@kong-ui-public/documentation 1.5.78 → 1.7.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.
- package/dist/{arc-DZdQjcG8-C_2Dx6GQ.js → arc-DZdQjcG8-CduayE88.js} +2 -2
- package/dist/{architectureDiagram-3BPJPVTR-By_DXDyu-DTj86bUZ.js → architectureDiagram-3BPJPVTR-By_DXDyu-U3MSLbOU.js} +1506 -1513
- package/dist/blockDiagram-GPEHLZMM-9Cp9Hbl7-CKP-SiVG.js +3268 -0
- package/dist/{c4Diagram-AAUBKEIU-ftdwlfdB-CYiERTWJ.js → c4Diagram-AAUBKEIU-ftdwlfdB-D3A61SdV.js} +11 -12
- package/dist/{channel-DM9j7IFL-CjNPz4Hd.js → channel-DM9j7IFL-DxqBUxfY.js} +1 -1
- package/dist/{chunk-2J33WTMH-CBbjVzWb-BAAd-TK5.js → chunk-2J33WTMH-CBbjVzWb-0og4LHQ-.js} +7 -8
- package/dist/chunk-4BX2VUAB-C_NnimAy--QQ0Db2V.js +8 -0
- package/dist/{chunk-55IACEB6-DZn1aNO0-_bs5ibIB.js → chunk-55IACEB6-DZn1aNO0-A3zOZ7dT.js} +1 -1
- package/dist/{chunk-727SXJPM-B2_6_WLv-CzbzsbtK.js → chunk-727SXJPM-B2_6_WLv-Bs3CxHaX.js} +548 -549
- package/dist/{chunk-AQP2D5EJ-DEAEiJjW-BPr5JvkB.js → chunk-AQP2D5EJ-DEAEiJjW-DTbwZT8N.js} +446 -458
- package/dist/{chunk-FMBD7UC4-D_tZ4Dxg-BUygZnCT.js → chunk-FMBD7UC4-D_tZ4Dxg-DwjoPGUH.js} +1 -1
- package/dist/{chunk-ND2GUHAM-Duw3k8MU-Dr8SD23L.js → chunk-ND2GUHAM-Duw3k8MU-HmrdHLJ9.js} +1 -1
- package/dist/{chunk-QZHKN3VN-DN6nBdn0-DxWE5zsM.js → chunk-QZHKN3VN-DN6nBdn0-BvQOETVz.js} +1 -1
- package/dist/classDiagram-4FO5ZUOK-Du5qFrfN-BqXc0etQ.js +17 -0
- package/dist/classDiagram-v2-Q7XG4LA2-DM6zutfc-BqXc0etQ.js +17 -0
- package/dist/{cose-bilkent-S5V4N54A-0ZumbVgj-BKcFQWbE.js → cose-bilkent-S5V4N54A-0ZumbVgj-0z7CQbIH.js} +465 -465
- package/dist/{cytoscape.esm-BDIiOYYO-BbddfVIJ.js → cytoscape.esm-BDIiOYYO-C1jMBhD8.js} +356 -371
- package/dist/dagre-BM42HDAG-qMWMsyLb-DGMrq3i3.js +288 -0
- package/dist/{dagre-DJxg_nfI-BzVw7cNP.js → dagre-DJxg_nfI-hVOVexz-.js} +9 -9
- package/dist/{diagram-2AECGRRQ-B2gF_dHe-DCRSlKG-.js → diagram-2AECGRRQ-B2gF_dHe-Bv_EpxRz.js} +10 -14
- package/dist/{diagram-5GNKFQAL-DJ9WwRrD-DtSWJY6-.js → diagram-5GNKFQAL-DJ9WwRrD-WVvm0Icu.js} +4 -4
- package/dist/{diagram-KO2AKTUF-RfkqD-VW-ZR9mxccc.js → diagram-KO2AKTUF-RfkqD-VW-yyAds1Qq.js} +153 -156
- package/dist/{diagram-LMA3HP47-Ct7s9hIt-DXtPBRn4.js → diagram-LMA3HP47-Ct7s9hIt-Dy6f9BAO.js} +21 -22
- package/dist/{diagram-OG6HWLK6-BSYJ2CoI-DX1BfXw6.js → diagram-OG6HWLK6-BSYJ2CoI-ckmfat-L.js} +79 -81
- package/dist/documentation.es.js +1 -1
- package/dist/documentation.umd.js +374 -374
- package/dist/{erDiagram-TEJ5UH35-BudwiSYX-BPA5-1u6.js → erDiagram-TEJ5UH35-BudwiSYX-bVzp1Kjr.js} +134 -135
- package/dist/{flowDiagram-I6XJVG4X-B23Smlxp-Cb24VZnb.js → flowDiagram-I6XJVG4X-B23Smlxp-ClHvdCdJ.js} +842 -849
- package/dist/{ganttDiagram-6RSMTGT7-C-i89z_P-DEdTFlTH.js → ganttDiagram-6RSMTGT7-C-i89z_P-t5UAyRM5.js} +46 -46
- package/dist/gitGraphDiagram-PVQCEYII-DpVfXnUD-Cg3smOdz.js +734 -0
- package/dist/{graphlib-D2YdGpuK-CM8PX5pf.js → graphlib-D2YdGpuK-CnQPmzkS.js} +17 -17
- package/dist/{index-Dpyqhws4.js → index-DfVKdDwj.js} +16258 -16515
- package/dist/{infoDiagram-5YYISTIA-CDUwzFql-BsbTK2Me.js → infoDiagram-5YYISTIA-CDUwzFql-Bmthmcp4.js} +2 -2
- package/dist/{ishikawaDiagram-YF4QCWOH-MfYdx0rK-DsWP0O6d.js → ishikawaDiagram-YF4QCWOH-MfYdx0rK-cbltssua.js} +137 -138
- package/dist/{journeyDiagram-JHISSGLW-C_udOPtJ-BkIf9B4Q.js → journeyDiagram-JHISSGLW-C_udOPtJ-BjAvgSAR.js} +13 -13
- package/dist/{kanban-definition-UN3LZRKU-C1Su-UOY-6sw-wDwK.js → kanban-definition-UN3LZRKU-C1Su-UOY-DZ93dsWZ.js} +334 -336
- package/dist/{katex-D7tFlpqA-B7yKriH4.js → katex-D7tFlpqA-BOSQxXe1.js} +254 -256
- package/dist/{linear-1MXhYum8-CfR5ywK4.js → linear-1MXhYum8-9C1jno9G.js} +5 -5
- package/dist/{mindmap-definition-RKZ34NQL-MuSV765K-Cv2rDIFS.js → mindmap-definition-RKZ34NQL-MuSV765K-Kub1iXFv.js} +94 -97
- package/dist/{ordinal-D9ksOc8y-CrGveXkB.js → ordinal-D9ksOc8y-2hZwLyEk.js} +1 -1
- package/dist/{pieDiagram-4H26LBE5-TgFp7J6_-C8m2xJbj.js → pieDiagram-4H26LBE5-TgFp7J6_-i6NxP3Xz.js} +43 -44
- package/dist/{quadrantDiagram-W4KKPZXB-DKPne3o_-D0Tfl8NQ.js → quadrantDiagram-W4KKPZXB-DKPne3o_-DXLHqRuR.js} +351 -353
- package/dist/{requirementDiagram-4Y6WPE33-vh8uUAp_-C5zLx-_o.js → requirementDiagram-4Y6WPE33-vh8uUAp_-CHtsISxP.js} +384 -386
- package/dist/{sankeyDiagram-5OEKKPKP-Cgs6W_El-DBrv4QL_.js → sankeyDiagram-5OEKKPKP-Cgs6W_El-D7GZyd8n.js} +178 -178
- package/dist/{sequenceDiagram-3UESZ5HK-C5F57Dkt-D6DqZiJP.js → sequenceDiagram-3UESZ5HK-C5F57Dkt-BW1Hb7UW.js} +643 -653
- package/dist/{stateDiagram-AJRCARHV-09dUKG6Y-9QhAIhCk.js → stateDiagram-AJRCARHV-09dUKG6Y-Dm2a1vNu.js} +5 -5
- package/dist/stateDiagram-v2-BHNVJYJU-CWqmRt12-DbWzZ-j-.js +16 -0
- package/dist/style.css +1 -1
- package/dist/timeline-definition-PNZ67QCA-CCndyx0V-B5CT96H-.js +1095 -0
- package/dist/{vennDiagram-CIIHVFJN-DQfKxM3L-086u82L3.js → vennDiagram-CIIHVFJN-DQfKxM3L-qUaKEl7l.js} +596 -603
- package/dist/{wardley-L42UT6IY-BjAkE_cs-li1xYed9.js → wardley-L42UT6IY-BjAkE_cs-C-giFqos.js} +5760 -5809
- package/dist/wardleyDiagram-YWT4CUSO-Bf9L2NsL-DXPF2Ee9.js +639 -0
- package/dist/{xychartDiagram-2RQKCTM6-ChNH3q1U--vbcTXH5.js → xychartDiagram-2RQKCTM6-ChNH3q1U-a59DsJDA.js} +10 -10
- package/package.json +7 -7
- package/dist/blockDiagram-GPEHLZMM-9Cp9Hbl7-CSQRWfog.js +0 -3278
- package/dist/chunk-4BX2VUAB-C_NnimAy-B-8x_g6K.js +0 -9
- package/dist/classDiagram-4FO5ZUOK-Du5qFrfN-DLmqgbj1.js +0 -17
- package/dist/classDiagram-v2-Q7XG4LA2-DM6zutfc-DLmqgbj1.js +0 -17
- package/dist/dagre-BM42HDAG-qMWMsyLb-BzK2-5zM.js +0 -291
- package/dist/gitGraphDiagram-PVQCEYII-DpVfXnUD-BtfdBLxW.js +0 -747
- package/dist/stateDiagram-v2-BHNVJYJU-CWqmRt12-Br5eF-5b.js +0 -16
- package/dist/timeline-definition-PNZ67QCA-CCndyx0V-CkhwKYjQ.js +0 -1106
- package/dist/wardleyDiagram-YWT4CUSO-Bf9L2NsL-CCMCDU5F.js +0 -647
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { p as
|
|
2
|
-
import { n as he } from "./chunk-55IACEB6-DZn1aNO0-
|
|
3
|
-
import { r as de } from "./chunk-2J33WTMH-CBbjVzWb-
|
|
4
|
-
var Dt = function() {
|
|
5
|
-
var t = /* @__PURE__ */
|
|
6
|
-
for (
|
|
7
|
-
return
|
|
8
|
-
}, "o"), e = [1, 2], s = [1, 3],
|
|
1
|
+
import { p as h, g as b, Z as N, e as te, N as ee, W as se, U as ie, K as re, G as ae, f as oe, i as ne, aq as le, a as z, H as ce } from "./index-DfVKdDwj.js";
|
|
2
|
+
import { n as he } from "./chunk-55IACEB6-DZn1aNO0-A3zOZ7dT.js";
|
|
3
|
+
import { r as de } from "./chunk-2J33WTMH-CBbjVzWb-0og4LHQ-.js";
|
|
4
|
+
var Dt = (function() {
|
|
5
|
+
var t = /* @__PURE__ */ h(function(a, l, y, m) {
|
|
6
|
+
for (y ||= {}, m = a.length; m--; y[a[m]] = l) ;
|
|
7
|
+
return y;
|
|
8
|
+
}, "o"), e = [1, 2], s = [1, 3], o = [1, 4], r = [2, 4], d = [1, 9], c = [1, 11], f = [1, 16], p = [1, 17], S = [1, 18], _ = [1, 19], D = [1, 33], O = [1, 20], x = [1, 21], u = [1, 22], E = [1, 23], A = [1, 24], v = [1, 26], F = [1, 27], R = [1, 28], B = [1, 29], tt = [1, 30], et = [1, 31], st = [1, 32], it = [1, 35], rt = [1, 36], at = [1, 37], ot = [1, 38], M = [1, 34], g = [
|
|
9
9
|
1,
|
|
10
10
|
4,
|
|
11
11
|
5,
|
|
@@ -90,7 +90,7 @@ var Dt = function() {
|
|
|
90
90
|
54,
|
|
91
91
|
57
|
|
92
92
|
], mt = {
|
|
93
|
-
trace: /* @__PURE__ */
|
|
93
|
+
trace: /* @__PURE__ */ h(function() {
|
|
94
94
|
}, "trace"),
|
|
95
95
|
yy: {},
|
|
96
96
|
symbols_: {
|
|
@@ -258,136 +258,136 @@ var Dt = function() {
|
|
|
258
258
|
[30, 1],
|
|
259
259
|
[30, 1]
|
|
260
260
|
],
|
|
261
|
-
performAction: /* @__PURE__ */
|
|
262
|
-
var
|
|
261
|
+
performAction: /* @__PURE__ */ h(function(a, l, y, m, k, i, P) {
|
|
262
|
+
var n = i.length - 1;
|
|
263
263
|
switch (k) {
|
|
264
264
|
case 3:
|
|
265
|
-
return
|
|
265
|
+
return m.setRootDoc(i[n]), i[n];
|
|
266
266
|
case 4:
|
|
267
267
|
this.$ = [];
|
|
268
268
|
break;
|
|
269
269
|
case 5:
|
|
270
|
-
i[
|
|
270
|
+
i[n] != "nl" && (i[n - 1].push(i[n]), this.$ = i[n - 1]);
|
|
271
271
|
break;
|
|
272
272
|
case 6:
|
|
273
273
|
case 7:
|
|
274
|
-
this.$ = i[
|
|
274
|
+
this.$ = i[n];
|
|
275
275
|
break;
|
|
276
276
|
case 8:
|
|
277
277
|
this.$ = "nl";
|
|
278
278
|
break;
|
|
279
279
|
case 12:
|
|
280
|
-
this.$ = i[
|
|
280
|
+
this.$ = i[n];
|
|
281
281
|
break;
|
|
282
282
|
case 13:
|
|
283
|
-
let ht = i[
|
|
284
|
-
ht.description =
|
|
283
|
+
let ht = i[n - 1];
|
|
284
|
+
ht.description = m.trimColon(i[n]), this.$ = ht;
|
|
285
285
|
break;
|
|
286
286
|
case 14:
|
|
287
287
|
this.$ = {
|
|
288
288
|
stmt: "relation",
|
|
289
|
-
state1: i[
|
|
290
|
-
state2: i[
|
|
289
|
+
state1: i[n - 2],
|
|
290
|
+
state2: i[n]
|
|
291
291
|
};
|
|
292
292
|
break;
|
|
293
293
|
case 15:
|
|
294
|
-
let dt =
|
|
294
|
+
let dt = m.trimColon(i[n]);
|
|
295
295
|
this.$ = {
|
|
296
296
|
stmt: "relation",
|
|
297
|
-
state1: i[
|
|
298
|
-
state2: i[
|
|
297
|
+
state1: i[n - 3],
|
|
298
|
+
state2: i[n - 1],
|
|
299
299
|
description: dt
|
|
300
300
|
};
|
|
301
301
|
break;
|
|
302
302
|
case 19:
|
|
303
303
|
this.$ = {
|
|
304
304
|
stmt: "state",
|
|
305
|
-
id: i[
|
|
305
|
+
id: i[n - 3],
|
|
306
306
|
type: "default",
|
|
307
307
|
description: "",
|
|
308
|
-
doc: i[
|
|
308
|
+
doc: i[n - 1]
|
|
309
309
|
};
|
|
310
310
|
break;
|
|
311
311
|
case 20:
|
|
312
|
-
var
|
|
313
|
-
if (i[
|
|
314
|
-
var ct = i[
|
|
315
|
-
|
|
312
|
+
var G = i[n], K = i[n - 2].trim();
|
|
313
|
+
if (i[n].match(":")) {
|
|
314
|
+
var ct = i[n].split(":");
|
|
315
|
+
G = ct[0], K = [K, ct[1]];
|
|
316
316
|
}
|
|
317
317
|
this.$ = {
|
|
318
318
|
stmt: "state",
|
|
319
|
-
id:
|
|
319
|
+
id: G,
|
|
320
320
|
type: "default",
|
|
321
|
-
description:
|
|
321
|
+
description: K
|
|
322
322
|
};
|
|
323
323
|
break;
|
|
324
324
|
case 21:
|
|
325
325
|
this.$ = {
|
|
326
326
|
stmt: "state",
|
|
327
|
-
id: i[
|
|
327
|
+
id: i[n - 3],
|
|
328
328
|
type: "default",
|
|
329
|
-
description: i[
|
|
330
|
-
doc: i[
|
|
329
|
+
description: i[n - 5],
|
|
330
|
+
doc: i[n - 1]
|
|
331
331
|
};
|
|
332
332
|
break;
|
|
333
333
|
case 22:
|
|
334
334
|
this.$ = {
|
|
335
335
|
stmt: "state",
|
|
336
|
-
id: i[
|
|
336
|
+
id: i[n],
|
|
337
337
|
type: "fork"
|
|
338
338
|
};
|
|
339
339
|
break;
|
|
340
340
|
case 23:
|
|
341
341
|
this.$ = {
|
|
342
342
|
stmt: "state",
|
|
343
|
-
id: i[
|
|
343
|
+
id: i[n],
|
|
344
344
|
type: "join"
|
|
345
345
|
};
|
|
346
346
|
break;
|
|
347
347
|
case 24:
|
|
348
348
|
this.$ = {
|
|
349
349
|
stmt: "state",
|
|
350
|
-
id: i[
|
|
350
|
+
id: i[n],
|
|
351
351
|
type: "choice"
|
|
352
352
|
};
|
|
353
353
|
break;
|
|
354
354
|
case 25:
|
|
355
355
|
this.$ = {
|
|
356
356
|
stmt: "state",
|
|
357
|
-
id:
|
|
357
|
+
id: m.getDividerId(),
|
|
358
358
|
type: "divider"
|
|
359
359
|
};
|
|
360
360
|
break;
|
|
361
361
|
case 26:
|
|
362
362
|
this.$ = {
|
|
363
363
|
stmt: "state",
|
|
364
|
-
id: i[
|
|
364
|
+
id: i[n - 1].trim(),
|
|
365
365
|
note: {
|
|
366
|
-
position: i[
|
|
367
|
-
text: i[
|
|
366
|
+
position: i[n - 2].trim(),
|
|
367
|
+
text: i[n].trim()
|
|
368
368
|
}
|
|
369
369
|
};
|
|
370
370
|
break;
|
|
371
371
|
case 29:
|
|
372
|
-
this.$ = i[
|
|
372
|
+
this.$ = i[n].trim(), m.setAccTitle(this.$);
|
|
373
373
|
break;
|
|
374
374
|
case 30:
|
|
375
375
|
case 31:
|
|
376
|
-
this.$ = i[
|
|
376
|
+
this.$ = i[n].trim(), m.setAccDescription(this.$);
|
|
377
377
|
break;
|
|
378
378
|
case 32:
|
|
379
379
|
this.$ = {
|
|
380
380
|
stmt: "click",
|
|
381
|
-
id: i[
|
|
382
|
-
url: i[
|
|
383
|
-
tooltip: i[
|
|
381
|
+
id: i[n - 3],
|
|
382
|
+
url: i[n - 2],
|
|
383
|
+
tooltip: i[n - 1]
|
|
384
384
|
};
|
|
385
385
|
break;
|
|
386
386
|
case 33:
|
|
387
387
|
this.$ = {
|
|
388
388
|
stmt: "click",
|
|
389
|
-
id: i[
|
|
390
|
-
url: i[
|
|
389
|
+
id: i[n - 3],
|
|
390
|
+
url: i[n - 1],
|
|
391
391
|
tooltip: ""
|
|
392
392
|
};
|
|
393
393
|
break;
|
|
@@ -395,44 +395,44 @@ var Dt = function() {
|
|
|
395
395
|
case 35:
|
|
396
396
|
this.$ = {
|
|
397
397
|
stmt: "classDef",
|
|
398
|
-
id: i[
|
|
399
|
-
classes: i[
|
|
398
|
+
id: i[n - 1].trim(),
|
|
399
|
+
classes: i[n].trim()
|
|
400
400
|
};
|
|
401
401
|
break;
|
|
402
402
|
case 36:
|
|
403
403
|
this.$ = {
|
|
404
404
|
stmt: "style",
|
|
405
|
-
id: i[
|
|
406
|
-
styleClass: i[
|
|
405
|
+
id: i[n - 1].trim(),
|
|
406
|
+
styleClass: i[n].trim()
|
|
407
407
|
};
|
|
408
408
|
break;
|
|
409
409
|
case 37:
|
|
410
410
|
this.$ = {
|
|
411
411
|
stmt: "applyClass",
|
|
412
|
-
id: i[
|
|
413
|
-
styleClass: i[
|
|
412
|
+
id: i[n - 1].trim(),
|
|
413
|
+
styleClass: i[n].trim()
|
|
414
414
|
};
|
|
415
415
|
break;
|
|
416
416
|
case 38:
|
|
417
|
-
|
|
417
|
+
m.setDirection("TB"), this.$ = {
|
|
418
418
|
stmt: "dir",
|
|
419
419
|
value: "TB"
|
|
420
420
|
};
|
|
421
421
|
break;
|
|
422
422
|
case 39:
|
|
423
|
-
|
|
423
|
+
m.setDirection("BT"), this.$ = {
|
|
424
424
|
stmt: "dir",
|
|
425
425
|
value: "BT"
|
|
426
426
|
};
|
|
427
427
|
break;
|
|
428
428
|
case 40:
|
|
429
|
-
|
|
429
|
+
m.setDirection("RL"), this.$ = {
|
|
430
430
|
stmt: "dir",
|
|
431
431
|
value: "RL"
|
|
432
432
|
};
|
|
433
433
|
break;
|
|
434
434
|
case 41:
|
|
435
|
-
|
|
435
|
+
m.setDirection("LR"), this.$ = {
|
|
436
436
|
stmt: "dir",
|
|
437
437
|
value: "LR"
|
|
438
438
|
};
|
|
@@ -441,7 +441,7 @@ var Dt = function() {
|
|
|
441
441
|
case 45:
|
|
442
442
|
this.$ = {
|
|
443
443
|
stmt: "state",
|
|
444
|
-
id: i[
|
|
444
|
+
id: i[n].trim(),
|
|
445
445
|
type: "default",
|
|
446
446
|
description: ""
|
|
447
447
|
};
|
|
@@ -449,8 +449,8 @@ var Dt = function() {
|
|
|
449
449
|
case 46:
|
|
450
450
|
this.$ = {
|
|
451
451
|
stmt: "state",
|
|
452
|
-
id: i[
|
|
453
|
-
classes: [i[
|
|
452
|
+
id: i[n - 2].trim(),
|
|
453
|
+
classes: [i[n].trim()],
|
|
454
454
|
type: "default",
|
|
455
455
|
description: ""
|
|
456
456
|
};
|
|
@@ -458,8 +458,8 @@ var Dt = function() {
|
|
|
458
458
|
case 47:
|
|
459
459
|
this.$ = {
|
|
460
460
|
stmt: "state",
|
|
461
|
-
id: i[
|
|
462
|
-
classes: [i[
|
|
461
|
+
id: i[n - 2].trim(),
|
|
462
|
+
classes: [i[n].trim()],
|
|
463
463
|
type: "default",
|
|
464
464
|
description: ""
|
|
465
465
|
};
|
|
@@ -471,20 +471,20 @@ var Dt = function() {
|
|
|
471
471
|
3: 1,
|
|
472
472
|
4: e,
|
|
473
473
|
5: s,
|
|
474
|
-
6:
|
|
474
|
+
6: o
|
|
475
475
|
},
|
|
476
476
|
{ 1: [3] },
|
|
477
477
|
{
|
|
478
478
|
3: 5,
|
|
479
479
|
4: e,
|
|
480
480
|
5: s,
|
|
481
|
-
6:
|
|
481
|
+
6: o
|
|
482
482
|
},
|
|
483
483
|
{
|
|
484
484
|
3: 6,
|
|
485
485
|
4: e,
|
|
486
486
|
5: s,
|
|
487
|
-
6:
|
|
487
|
+
6: o
|
|
488
488
|
},
|
|
489
489
|
t([
|
|
490
490
|
1,
|
|
@@ -517,100 +517,100 @@ var Dt = function() {
|
|
|
517
517
|
{ 1: [2, 2] },
|
|
518
518
|
{
|
|
519
519
|
1: [2, 3],
|
|
520
|
-
4:
|
|
521
|
-
5:
|
|
520
|
+
4: d,
|
|
521
|
+
5: c,
|
|
522
522
|
8: 8,
|
|
523
523
|
9: 10,
|
|
524
524
|
10: 12,
|
|
525
525
|
11: 13,
|
|
526
526
|
12: 14,
|
|
527
527
|
13: 15,
|
|
528
|
-
16:
|
|
528
|
+
16: f,
|
|
529
529
|
17: p,
|
|
530
|
-
19:
|
|
531
|
-
22:
|
|
530
|
+
19: S,
|
|
531
|
+
22: _,
|
|
532
532
|
24: D,
|
|
533
|
-
25:
|
|
534
|
-
26:
|
|
535
|
-
27:
|
|
536
|
-
28:
|
|
537
|
-
29:
|
|
533
|
+
25: O,
|
|
534
|
+
26: x,
|
|
535
|
+
27: u,
|
|
536
|
+
28: E,
|
|
537
|
+
29: A,
|
|
538
538
|
32: 25,
|
|
539
|
-
33:
|
|
540
|
-
35:
|
|
541
|
-
37:
|
|
542
|
-
38:
|
|
543
|
-
41:
|
|
544
|
-
45:
|
|
545
|
-
48:
|
|
539
|
+
33: v,
|
|
540
|
+
35: F,
|
|
541
|
+
37: R,
|
|
542
|
+
38: B,
|
|
543
|
+
41: tt,
|
|
544
|
+
45: et,
|
|
545
|
+
48: st,
|
|
546
546
|
51: it,
|
|
547
547
|
52: rt,
|
|
548
548
|
53: at,
|
|
549
549
|
54: ot,
|
|
550
|
-
57:
|
|
550
|
+
57: M
|
|
551
551
|
},
|
|
552
|
-
t(
|
|
552
|
+
t(g, [2, 5]),
|
|
553
553
|
{
|
|
554
554
|
9: 39,
|
|
555
555
|
10: 12,
|
|
556
556
|
11: 13,
|
|
557
557
|
12: 14,
|
|
558
558
|
13: 15,
|
|
559
|
-
16:
|
|
559
|
+
16: f,
|
|
560
560
|
17: p,
|
|
561
|
-
19:
|
|
562
|
-
22:
|
|
561
|
+
19: S,
|
|
562
|
+
22: _,
|
|
563
563
|
24: D,
|
|
564
|
-
25:
|
|
565
|
-
26:
|
|
566
|
-
27:
|
|
567
|
-
28:
|
|
568
|
-
29:
|
|
564
|
+
25: O,
|
|
565
|
+
26: x,
|
|
566
|
+
27: u,
|
|
567
|
+
28: E,
|
|
568
|
+
29: A,
|
|
569
569
|
32: 25,
|
|
570
|
-
33:
|
|
571
|
-
35:
|
|
572
|
-
37:
|
|
573
|
-
38:
|
|
574
|
-
41:
|
|
575
|
-
45:
|
|
576
|
-
48:
|
|
570
|
+
33: v,
|
|
571
|
+
35: F,
|
|
572
|
+
37: R,
|
|
573
|
+
38: B,
|
|
574
|
+
41: tt,
|
|
575
|
+
45: et,
|
|
576
|
+
48: st,
|
|
577
577
|
51: it,
|
|
578
578
|
52: rt,
|
|
579
579
|
53: at,
|
|
580
580
|
54: ot,
|
|
581
|
-
57:
|
|
581
|
+
57: M
|
|
582
582
|
},
|
|
583
|
-
t(
|
|
584
|
-
t(
|
|
585
|
-
t(
|
|
586
|
-
t(
|
|
587
|
-
t(
|
|
588
|
-
t(
|
|
583
|
+
t(g, [2, 7]),
|
|
584
|
+
t(g, [2, 8]),
|
|
585
|
+
t(g, [2, 9]),
|
|
586
|
+
t(g, [2, 10]),
|
|
587
|
+
t(g, [2, 11]),
|
|
588
|
+
t(g, [2, 12], {
|
|
589
589
|
14: [1, 40],
|
|
590
590
|
15: [1, 41]
|
|
591
591
|
}),
|
|
592
|
-
t(
|
|
592
|
+
t(g, [2, 16]),
|
|
593
593
|
{ 18: [1, 42] },
|
|
594
|
-
t(
|
|
594
|
+
t(g, [2, 18], { 20: [1, 43] }),
|
|
595
595
|
{ 23: [1, 44] },
|
|
596
|
-
t(
|
|
597
|
-
t(
|
|
598
|
-
t(
|
|
599
|
-
t(
|
|
596
|
+
t(g, [2, 22]),
|
|
597
|
+
t(g, [2, 23]),
|
|
598
|
+
t(g, [2, 24]),
|
|
599
|
+
t(g, [2, 25]),
|
|
600
600
|
{
|
|
601
601
|
30: 45,
|
|
602
602
|
31: [1, 46],
|
|
603
603
|
59: [1, 47],
|
|
604
604
|
60: [1, 48]
|
|
605
605
|
},
|
|
606
|
-
t(
|
|
606
|
+
t(g, [2, 28]),
|
|
607
607
|
{ 34: [1, 49] },
|
|
608
608
|
{ 36: [1, 50] },
|
|
609
|
-
t(
|
|
609
|
+
t(g, [2, 31]),
|
|
610
610
|
{
|
|
611
611
|
13: 51,
|
|
612
612
|
24: D,
|
|
613
|
-
57:
|
|
613
|
+
57: M
|
|
614
614
|
},
|
|
615
615
|
{
|
|
616
616
|
42: [1, 52],
|
|
@@ -620,26 +620,26 @@ var Dt = function() {
|
|
|
620
620
|
{ 49: [1, 55] },
|
|
621
621
|
t(nt, [2, 44], { 58: [1, 56] }),
|
|
622
622
|
t(nt, [2, 45], { 58: [1, 57] }),
|
|
623
|
-
t(
|
|
624
|
-
t(
|
|
625
|
-
t(
|
|
626
|
-
t(
|
|
627
|
-
t(
|
|
628
|
-
t(
|
|
623
|
+
t(g, [2, 38]),
|
|
624
|
+
t(g, [2, 39]),
|
|
625
|
+
t(g, [2, 40]),
|
|
626
|
+
t(g, [2, 41]),
|
|
627
|
+
t(g, [2, 6]),
|
|
628
|
+
t(g, [2, 13]),
|
|
629
629
|
{
|
|
630
630
|
13: 58,
|
|
631
631
|
24: D,
|
|
632
|
-
57:
|
|
632
|
+
57: M
|
|
633
633
|
},
|
|
634
|
-
t(
|
|
634
|
+
t(g, [2, 17]),
|
|
635
635
|
t(Ct, r, { 7: 59 }),
|
|
636
636
|
{ 24: [1, 60] },
|
|
637
637
|
{ 24: [1, 61] },
|
|
638
638
|
{ 23: [1, 62] },
|
|
639
639
|
{ 24: [2, 48] },
|
|
640
640
|
{ 24: [2, 49] },
|
|
641
|
-
t(
|
|
642
|
-
t(
|
|
641
|
+
t(g, [2, 29]),
|
|
642
|
+
t(g, [2, 30]),
|
|
643
643
|
{
|
|
644
644
|
39: [1, 63],
|
|
645
645
|
40: [1, 64]
|
|
@@ -650,96 +650,96 @@ var Dt = function() {
|
|
|
650
650
|
{ 50: [1, 68] },
|
|
651
651
|
{ 24: [1, 69] },
|
|
652
652
|
{ 24: [1, 70] },
|
|
653
|
-
t(
|
|
653
|
+
t(g, [2, 14], { 14: [1, 71] }),
|
|
654
654
|
{
|
|
655
|
-
4:
|
|
656
|
-
5:
|
|
655
|
+
4: d,
|
|
656
|
+
5: c,
|
|
657
657
|
8: 8,
|
|
658
658
|
9: 10,
|
|
659
659
|
10: 12,
|
|
660
660
|
11: 13,
|
|
661
661
|
12: 14,
|
|
662
662
|
13: 15,
|
|
663
|
-
16:
|
|
663
|
+
16: f,
|
|
664
664
|
17: p,
|
|
665
|
-
19:
|
|
665
|
+
19: S,
|
|
666
666
|
21: [1, 72],
|
|
667
|
-
22:
|
|
667
|
+
22: _,
|
|
668
668
|
24: D,
|
|
669
|
-
25:
|
|
670
|
-
26:
|
|
671
|
-
27:
|
|
672
|
-
28:
|
|
673
|
-
29:
|
|
669
|
+
25: O,
|
|
670
|
+
26: x,
|
|
671
|
+
27: u,
|
|
672
|
+
28: E,
|
|
673
|
+
29: A,
|
|
674
674
|
32: 25,
|
|
675
|
-
33:
|
|
676
|
-
35:
|
|
677
|
-
37:
|
|
678
|
-
38:
|
|
679
|
-
41:
|
|
680
|
-
45:
|
|
681
|
-
48:
|
|
675
|
+
33: v,
|
|
676
|
+
35: F,
|
|
677
|
+
37: R,
|
|
678
|
+
38: B,
|
|
679
|
+
41: tt,
|
|
680
|
+
45: et,
|
|
681
|
+
48: st,
|
|
682
682
|
51: it,
|
|
683
683
|
52: rt,
|
|
684
684
|
53: at,
|
|
685
685
|
54: ot,
|
|
686
|
-
57:
|
|
686
|
+
57: M
|
|
687
687
|
},
|
|
688
|
-
t(
|
|
688
|
+
t(g, [2, 20], { 20: [1, 73] }),
|
|
689
689
|
{ 31: [1, 74] },
|
|
690
690
|
{ 24: [1, 75] },
|
|
691
691
|
{ 39: [1, 76] },
|
|
692
692
|
{ 39: [1, 77] },
|
|
693
|
-
t(
|
|
694
|
-
t(
|
|
695
|
-
t(
|
|
696
|
-
t(
|
|
693
|
+
t(g, [2, 34]),
|
|
694
|
+
t(g, [2, 35]),
|
|
695
|
+
t(g, [2, 36]),
|
|
696
|
+
t(g, [2, 37]),
|
|
697
697
|
t(nt, [2, 46]),
|
|
698
698
|
t(nt, [2, 47]),
|
|
699
|
-
t(
|
|
700
|
-
t(
|
|
699
|
+
t(g, [2, 15]),
|
|
700
|
+
t(g, [2, 19]),
|
|
701
701
|
t(Ct, r, { 7: 78 }),
|
|
702
|
-
t(
|
|
703
|
-
t(
|
|
702
|
+
t(g, [2, 26]),
|
|
703
|
+
t(g, [2, 27]),
|
|
704
704
|
{ 5: [1, 79] },
|
|
705
705
|
{ 5: [1, 80] },
|
|
706
706
|
{
|
|
707
|
-
4:
|
|
708
|
-
5:
|
|
707
|
+
4: d,
|
|
708
|
+
5: c,
|
|
709
709
|
8: 8,
|
|
710
710
|
9: 10,
|
|
711
711
|
10: 12,
|
|
712
712
|
11: 13,
|
|
713
713
|
12: 14,
|
|
714
714
|
13: 15,
|
|
715
|
-
16:
|
|
715
|
+
16: f,
|
|
716
716
|
17: p,
|
|
717
|
-
19:
|
|
717
|
+
19: S,
|
|
718
718
|
21: [1, 81],
|
|
719
|
-
22:
|
|
719
|
+
22: _,
|
|
720
720
|
24: D,
|
|
721
|
-
25:
|
|
722
|
-
26:
|
|
723
|
-
27:
|
|
724
|
-
28:
|
|
725
|
-
29:
|
|
721
|
+
25: O,
|
|
722
|
+
26: x,
|
|
723
|
+
27: u,
|
|
724
|
+
28: E,
|
|
725
|
+
29: A,
|
|
726
726
|
32: 25,
|
|
727
|
-
33:
|
|
728
|
-
35:
|
|
729
|
-
37:
|
|
730
|
-
38:
|
|
731
|
-
41:
|
|
732
|
-
45:
|
|
733
|
-
48:
|
|
727
|
+
33: v,
|
|
728
|
+
35: F,
|
|
729
|
+
37: R,
|
|
730
|
+
38: B,
|
|
731
|
+
41: tt,
|
|
732
|
+
45: et,
|
|
733
|
+
48: st,
|
|
734
734
|
51: it,
|
|
735
735
|
52: rt,
|
|
736
736
|
53: at,
|
|
737
737
|
54: ot,
|
|
738
|
-
57:
|
|
738
|
+
57: M
|
|
739
739
|
},
|
|
740
|
-
t(
|
|
741
|
-
t(
|
|
742
|
-
t(
|
|
740
|
+
t(g, [2, 32]),
|
|
741
|
+
t(g, [2, 33]),
|
|
742
|
+
t(g, [2, 21])
|
|
743
743
|
],
|
|
744
744
|
defaultActions: {
|
|
745
745
|
5: [2, 1],
|
|
@@ -747,65 +747,65 @@ var Dt = function() {
|
|
|
747
747
|
47: [2, 48],
|
|
748
748
|
48: [2, 49]
|
|
749
749
|
},
|
|
750
|
-
parseError: /* @__PURE__ */
|
|
751
|
-
if (
|
|
750
|
+
parseError: /* @__PURE__ */ h(function(a, l) {
|
|
751
|
+
if (l.recoverable) this.trace(a);
|
|
752
752
|
else {
|
|
753
|
-
var
|
|
754
|
-
throw
|
|
753
|
+
var y = Error(a);
|
|
754
|
+
throw y.hash = l, y;
|
|
755
755
|
}
|
|
756
756
|
}, "parseError"),
|
|
757
|
-
parse: /* @__PURE__ */
|
|
758
|
-
var
|
|
759
|
-
for (var St in this.yy) Object.prototype.hasOwnProperty.call(this.yy, St) && (
|
|
760
|
-
T.setInput(
|
|
757
|
+
parse: /* @__PURE__ */ h(function(a) {
|
|
758
|
+
var l = this, y = [0], m = [], k = [null], i = [], P = this.table, n = "", G = 0, K = 0, ct = 0, ht = 2, dt = 1, qt = i.slice.call(arguments, 1), T = Object.create(this.lexer), W = { yy: {} };
|
|
759
|
+
for (var St in this.yy) Object.prototype.hasOwnProperty.call(this.yy, St) && (W.yy[St] = this.yy[St]);
|
|
760
|
+
T.setInput(a, W.yy), W.yy.lexer = T, W.yy.parser = this, T.yylloc === void 0 && (T.yylloc = {});
|
|
761
761
|
var _t = T.yylloc;
|
|
762
762
|
i.push(_t);
|
|
763
763
|
var Zt = T.options && T.options.ranges;
|
|
764
|
-
typeof
|
|
765
|
-
function Qt(
|
|
766
|
-
|
|
764
|
+
typeof W.yy.parseError == "function" ? this.parseError = W.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
765
|
+
function Qt(I) {
|
|
766
|
+
y.length -= 2 * I, k.length -= I, i.length -= I;
|
|
767
767
|
}
|
|
768
|
-
|
|
768
|
+
h(Qt, "popStack");
|
|
769
769
|
function vt() {
|
|
770
|
-
var
|
|
771
|
-
return typeof
|
|
770
|
+
var I = m.pop() || T.lex() || dt;
|
|
771
|
+
return typeof I != "number" && (I instanceof Array && (m = I, I = m.pop()), I = l.symbols_[I] || I), I;
|
|
772
772
|
}
|
|
773
|
-
|
|
774
|
-
for (var
|
|
775
|
-
if (
|
|
773
|
+
h(vt, "lex");
|
|
774
|
+
for (var C, kt, j, L, bt, H = {}, ut, w, Lt, pt; ; ) {
|
|
775
|
+
if (j = y[y.length - 1], this.defaultActions[j] ? L = this.defaultActions[j] : (C ??= vt(), L = P[j] && P[j][C]), L === void 0 || !L.length || !L[0]) {
|
|
776
776
|
var It = "";
|
|
777
|
-
for (ut in pt = [], j
|
|
778
|
-
It = T.showPosition ? "Parse error on line " + (
|
|
777
|
+
for (ut in pt = [], P[j]) this.terminals_[ut] && ut > ht && pt.push("'" + this.terminals_[ut] + "'");
|
|
778
|
+
It = T.showPosition ? "Parse error on line " + (G + 1) + `:
|
|
779
779
|
` + T.showPosition() + `
|
|
780
|
-
Expecting ` + pt.join(", ") + ", got '" + (this.terminals_[
|
|
780
|
+
Expecting ` + pt.join(", ") + ", got '" + (this.terminals_[C] || C) + "'" : "Parse error on line " + (G + 1) + ": Unexpected " + (C == dt ? "end of input" : "'" + (this.terminals_[C] || C) + "'"), this.parseError(It, {
|
|
781
781
|
text: T.match,
|
|
782
|
-
token: this.terminals_[
|
|
782
|
+
token: this.terminals_[C] || C,
|
|
783
783
|
line: T.yylineno,
|
|
784
784
|
loc: _t,
|
|
785
785
|
expected: pt
|
|
786
786
|
});
|
|
787
787
|
}
|
|
788
|
-
if (
|
|
789
|
-
switch (
|
|
788
|
+
if (L[0] instanceof Array && L.length > 1) throw Error("Parse Error: multiple actions possible at state: " + j + ", token: " + C);
|
|
789
|
+
switch (L[0]) {
|
|
790
790
|
case 1:
|
|
791
|
-
|
|
791
|
+
y.push(C), k.push(T.yytext), i.push(T.yylloc), y.push(L[1]), C = null, kt ? (C = kt, kt = null) : (K = T.yyleng, n = T.yytext, G = T.yylineno, _t = T.yylloc, ct > 0);
|
|
792
792
|
break;
|
|
793
793
|
case 2:
|
|
794
|
-
if (
|
|
795
|
-
first_line: i[i.length - (
|
|
794
|
+
if (w = this.productions_[L[1]][1], H.$ = k[k.length - w], H._$ = {
|
|
795
|
+
first_line: i[i.length - (w || 1)].first_line,
|
|
796
796
|
last_line: i[i.length - 1].last_line,
|
|
797
|
-
first_column: i[i.length - (
|
|
797
|
+
first_column: i[i.length - (w || 1)].first_column,
|
|
798
798
|
last_column: i[i.length - 1].last_column
|
|
799
|
-
}, Zt && (
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
799
|
+
}, Zt && (H._$.range = [i[i.length - (w || 1)].range[0], i[i.length - 1].range[1]]), bt = this.performAction.apply(H, [
|
|
800
|
+
n,
|
|
801
|
+
K,
|
|
802
|
+
G,
|
|
803
|
+
W.yy,
|
|
804
|
+
L[1],
|
|
805
805
|
k,
|
|
806
806
|
i
|
|
807
807
|
].concat(qt)), bt !== void 0) return bt;
|
|
808
|
-
|
|
808
|
+
w && (y = y.slice(0, -1 * w * 2), k = k.slice(0, -1 * w), i = i.slice(0, -1 * w)), y.push(this.productions_[L[1]][0]), k.push(H.$), i.push(H._$), Lt = P[y[y.length - 2]][y[y.length - 1]], y.push(Lt);
|
|
809
809
|
break;
|
|
810
810
|
case 3:
|
|
811
811
|
return !0;
|
|
@@ -814,42 +814,42 @@ Expecting ` + pt.join(", ") + ", got '" + (this.terminals_[v] || v) + "'" : "Par
|
|
|
814
814
|
return !0;
|
|
815
815
|
}, "parse")
|
|
816
816
|
};
|
|
817
|
-
mt.lexer = /* @__PURE__ */ function() {
|
|
817
|
+
mt.lexer = /* @__PURE__ */ (function() {
|
|
818
818
|
return {
|
|
819
819
|
EOF: 1,
|
|
820
|
-
parseError: /* @__PURE__ */
|
|
821
|
-
if (this.yy.parser) this.yy.parser.parseError(
|
|
822
|
-
else throw Error(
|
|
820
|
+
parseError: /* @__PURE__ */ h(function(a, l) {
|
|
821
|
+
if (this.yy.parser) this.yy.parser.parseError(a, l);
|
|
822
|
+
else throw Error(a);
|
|
823
823
|
}, "parseError"),
|
|
824
|
-
setInput: /* @__PURE__ */
|
|
825
|
-
return this.yy =
|
|
824
|
+
setInput: /* @__PURE__ */ h(function(a, l) {
|
|
825
|
+
return this.yy = l || this.yy || {}, this._input = a, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
|
|
826
826
|
first_line: 1,
|
|
827
827
|
first_column: 0,
|
|
828
828
|
last_line: 1,
|
|
829
829
|
last_column: 0
|
|
830
830
|
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
831
831
|
}, "setInput"),
|
|
832
|
-
input: /* @__PURE__ */
|
|
833
|
-
var
|
|
834
|
-
return this.yytext +=
|
|
832
|
+
input: /* @__PURE__ */ h(function() {
|
|
833
|
+
var a = this._input[0];
|
|
834
|
+
return this.yytext += a, this.yyleng++, this.offset++, this.match += a, this.matched += a, a.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), a;
|
|
835
835
|
}, "input"),
|
|
836
|
-
unput: /* @__PURE__ */
|
|
837
|
-
var
|
|
838
|
-
this._input =
|
|
839
|
-
var
|
|
840
|
-
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1),
|
|
836
|
+
unput: /* @__PURE__ */ h(function(a) {
|
|
837
|
+
var l = a.length, y = a.split(/(?:\r\n?|\n)/g);
|
|
838
|
+
this._input = a + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - l), this.offset -= l;
|
|
839
|
+
var m = this.match.split(/(?:\r\n?|\n)/g);
|
|
840
|
+
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), y.length - 1 && (this.yylineno -= y.length - 1);
|
|
841
841
|
var k = this.yylloc.range;
|
|
842
842
|
return this.yylloc = {
|
|
843
843
|
first_line: this.yylloc.first_line,
|
|
844
844
|
last_line: this.yylineno + 1,
|
|
845
845
|
first_column: this.yylloc.first_column,
|
|
846
|
-
last_column:
|
|
847
|
-
}, this.options.ranges && (this.yylloc.range = [k[0], k[0] + this.yyleng -
|
|
846
|
+
last_column: y ? (y.length === m.length ? this.yylloc.first_column : 0) + m[m.length - y.length].length - y[0].length : this.yylloc.first_column - l
|
|
847
|
+
}, this.options.ranges && (this.yylloc.range = [k[0], k[0] + this.yyleng - l]), this.yyleng = this.yytext.length, this;
|
|
848
848
|
}, "unput"),
|
|
849
|
-
more: /* @__PURE__ */
|
|
849
|
+
more: /* @__PURE__ */ h(function() {
|
|
850
850
|
return this._more = !0, this;
|
|
851
851
|
}, "more"),
|
|
852
|
-
reject: /* @__PURE__ */
|
|
852
|
+
reject: /* @__PURE__ */ h(function() {
|
|
853
853
|
if (this.options.backtrack_lexer) this._backtrack = !0;
|
|
854
854
|
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).
|
|
855
855
|
` + this.showPosition(), {
|
|
@@ -859,24 +859,24 @@ Expecting ` + pt.join(", ") + ", got '" + (this.terminals_[v] || v) + "'" : "Par
|
|
|
859
859
|
});
|
|
860
860
|
return this;
|
|
861
861
|
}, "reject"),
|
|
862
|
-
less: /* @__PURE__ */
|
|
863
|
-
this.unput(this.match.slice(
|
|
862
|
+
less: /* @__PURE__ */ h(function(a) {
|
|
863
|
+
this.unput(this.match.slice(a));
|
|
864
864
|
}, "less"),
|
|
865
|
-
pastInput: /* @__PURE__ */
|
|
866
|
-
var
|
|
867
|
-
return (
|
|
865
|
+
pastInput: /* @__PURE__ */ h(function() {
|
|
866
|
+
var a = this.matched.substr(0, this.matched.length - this.match.length);
|
|
867
|
+
return (a.length > 20 ? "..." : "") + a.substr(-20).replace(/\n/g, "");
|
|
868
868
|
}, "pastInput"),
|
|
869
|
-
upcomingInput: /* @__PURE__ */
|
|
870
|
-
var
|
|
871
|
-
return
|
|
869
|
+
upcomingInput: /* @__PURE__ */ h(function() {
|
|
870
|
+
var a = this.match;
|
|
871
|
+
return a.length < 20 && (a += this._input.substr(0, 20 - a.length)), (a.substr(0, 20) + (a.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
872
872
|
}, "upcomingInput"),
|
|
873
|
-
showPosition: /* @__PURE__ */
|
|
874
|
-
var
|
|
875
|
-
return
|
|
876
|
-
` +
|
|
873
|
+
showPosition: /* @__PURE__ */ h(function() {
|
|
874
|
+
var a = this.pastInput(), l = Array(a.length + 1).join("-");
|
|
875
|
+
return a + this.upcomingInput() + `
|
|
876
|
+
` + l + "^";
|
|
877
877
|
}, "showPosition"),
|
|
878
|
-
test_match: /* @__PURE__ */
|
|
879
|
-
var
|
|
878
|
+
test_match: /* @__PURE__ */ h(function(a, l) {
|
|
879
|
+
var y, m, k;
|
|
880
880
|
if (this.options.backtrack_lexer && (k = {
|
|
881
881
|
yylineno: this.yylineno,
|
|
882
882
|
yylloc: {
|
|
@@ -896,72 +896,72 @@ Expecting ` + pt.join(", ") + ", got '" + (this.terminals_[v] || v) + "'" : "Par
|
|
|
896
896
|
yy: this.yy,
|
|
897
897
|
conditionStack: this.conditionStack.slice(0),
|
|
898
898
|
done: this.done
|
|
899
|
-
}, this.options.ranges && (k.yylloc.range = this.yylloc.range.slice(0))),
|
|
899
|
+
}, this.options.ranges && (k.yylloc.range = this.yylloc.range.slice(0))), m = a[0].match(/(?:\r\n?|\n).*/g), m && (this.yylineno += m.length), this.yylloc = {
|
|
900
900
|
first_line: this.yylloc.last_line,
|
|
901
901
|
last_line: this.yylineno + 1,
|
|
902
902
|
first_column: this.yylloc.last_column,
|
|
903
|
-
last_column:
|
|
904
|
-
}, this.yytext +=
|
|
903
|
+
last_column: m ? m[m.length - 1].length - m[m.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + a[0].length
|
|
904
|
+
}, this.yytext += a[0], this.match += a[0], this.matches = a, 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(a[0].length), this.matched += a[0], y = this.performAction.call(this, this.yy, this, l, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), y) return y;
|
|
905
905
|
if (this._backtrack) {
|
|
906
906
|
for (var i in k) this[i] = k[i];
|
|
907
907
|
return !1;
|
|
908
908
|
}
|
|
909
909
|
return !1;
|
|
910
910
|
}, "test_match"),
|
|
911
|
-
next: /* @__PURE__ */
|
|
911
|
+
next: /* @__PURE__ */ h(function() {
|
|
912
912
|
if (this.done) return this.EOF;
|
|
913
913
|
this._input || (this.done = !0);
|
|
914
|
-
var
|
|
914
|
+
var a, l, y, m;
|
|
915
915
|
this._more || (this.yytext = "", this.match = "");
|
|
916
|
-
for (var k = this._currentRules(), i = 0; i < k.length; i++) if (
|
|
917
|
-
if (
|
|
918
|
-
if (
|
|
916
|
+
for (var k = this._currentRules(), i = 0; i < k.length; i++) if (y = this._input.match(this.rules[k[i]]), y && (!l || y[0].length > l[0].length)) {
|
|
917
|
+
if (l = y, m = i, this.options.backtrack_lexer) {
|
|
918
|
+
if (a = this.test_match(y, k[i]), a !== !1) return a;
|
|
919
919
|
if (this._backtrack) {
|
|
920
|
-
|
|
920
|
+
l = !1;
|
|
921
921
|
continue;
|
|
922
922
|
} else return !1;
|
|
923
923
|
} else if (!this.options.flex) break;
|
|
924
924
|
}
|
|
925
|
-
return
|
|
925
|
+
return l ? (a = this.test_match(l, k[m]), a === !1 ? !1 : a) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
|
|
926
926
|
` + this.showPosition(), {
|
|
927
927
|
text: "",
|
|
928
928
|
token: null,
|
|
929
929
|
line: this.yylineno
|
|
930
930
|
});
|
|
931
931
|
}, "next"),
|
|
932
|
-
lex: /* @__PURE__ */
|
|
932
|
+
lex: /* @__PURE__ */ h(function() {
|
|
933
933
|
return this.next() || this.lex();
|
|
934
934
|
}, "lex"),
|
|
935
|
-
begin: /* @__PURE__ */
|
|
936
|
-
this.conditionStack.push(
|
|
935
|
+
begin: /* @__PURE__ */ h(function(a) {
|
|
936
|
+
this.conditionStack.push(a);
|
|
937
937
|
}, "begin"),
|
|
938
|
-
popState: /* @__PURE__ */
|
|
938
|
+
popState: /* @__PURE__ */ h(function() {
|
|
939
939
|
return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
940
940
|
}, "popState"),
|
|
941
|
-
_currentRules: /* @__PURE__ */
|
|
941
|
+
_currentRules: /* @__PURE__ */ h(function() {
|
|
942
942
|
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
943
943
|
}, "_currentRules"),
|
|
944
|
-
topState: /* @__PURE__ */
|
|
945
|
-
return
|
|
944
|
+
topState: /* @__PURE__ */ h(function(a) {
|
|
945
|
+
return a = this.conditionStack.length - 1 - Math.abs(a || 0), a >= 0 ? this.conditionStack[a] : "INITIAL";
|
|
946
946
|
}, "topState"),
|
|
947
|
-
pushState: /* @__PURE__ */
|
|
948
|
-
this.begin(
|
|
947
|
+
pushState: /* @__PURE__ */ h(function(a) {
|
|
948
|
+
this.begin(a);
|
|
949
949
|
}, "pushState"),
|
|
950
|
-
stateStackSize: /* @__PURE__ */
|
|
950
|
+
stateStackSize: /* @__PURE__ */ h(function() {
|
|
951
951
|
return this.conditionStack.length;
|
|
952
952
|
}, "stateStackSize"),
|
|
953
953
|
options: { "case-insensitive": !0 },
|
|
954
|
-
performAction: /* @__PURE__ */
|
|
954
|
+
performAction: /* @__PURE__ */ h(function(a, l, y, m) {
|
|
955
955
|
function k() {
|
|
956
|
-
let i =
|
|
956
|
+
let i = l.yytext.indexOf("%%");
|
|
957
957
|
if (i === 0) return !1;
|
|
958
958
|
if (i > 0) {
|
|
959
|
-
let
|
|
960
|
-
|
|
959
|
+
let P = l.yytext.slice(0, i), n = l.yytext.slice(i);
|
|
960
|
+
n && a.lexer.unput(n), l.yytext = P;
|
|
961
961
|
}
|
|
962
962
|
return !0;
|
|
963
963
|
}
|
|
964
|
-
switch (
|
|
964
|
+
switch (h(k, "processId"), y) {
|
|
965
965
|
case 0:
|
|
966
966
|
return 38;
|
|
967
967
|
case 1:
|
|
@@ -1042,17 +1042,17 @@ Expecting ` + pt.join(", ") + ", got '" + (this.terminals_[v] || v) + "'" : "Par
|
|
|
1042
1042
|
this.pushState("STATE");
|
|
1043
1043
|
break;
|
|
1044
1044
|
case 37:
|
|
1045
|
-
return this.popState(),
|
|
1045
|
+
return this.popState(), l.yytext = l.yytext.slice(0, -8).trim(), 25;
|
|
1046
1046
|
case 38:
|
|
1047
|
-
return this.popState(),
|
|
1047
|
+
return this.popState(), l.yytext = l.yytext.slice(0, -8).trim(), 26;
|
|
1048
1048
|
case 39:
|
|
1049
|
-
return this.popState(),
|
|
1049
|
+
return this.popState(), l.yytext = l.yytext.slice(0, -10).trim(), 27;
|
|
1050
1050
|
case 40:
|
|
1051
|
-
return this.popState(),
|
|
1051
|
+
return this.popState(), l.yytext = l.yytext.slice(0, -8).trim(), 25;
|
|
1052
1052
|
case 41:
|
|
1053
|
-
return this.popState(),
|
|
1053
|
+
return this.popState(), l.yytext = l.yytext.slice(0, -8).trim(), 26;
|
|
1054
1054
|
case 42:
|
|
1055
|
-
return this.popState(),
|
|
1055
|
+
return this.popState(), l.yytext = l.yytext.slice(0, -10).trim(), 27;
|
|
1056
1056
|
case 43:
|
|
1057
1057
|
return 51;
|
|
1058
1058
|
case 44:
|
|
@@ -1104,9 +1104,9 @@ Expecting ` + pt.join(", ") + ", got '" + (this.terminals_[v] || v) + "'" : "Par
|
|
|
1104
1104
|
case 65:
|
|
1105
1105
|
return k() ? (this.popState(), this.pushState("NOTE_TEXT"), 24) : void 0;
|
|
1106
1106
|
case 66:
|
|
1107
|
-
return this.popState(),
|
|
1107
|
+
return this.popState(), l.yytext = l.yytext.substr(2).trim(), 31;
|
|
1108
1108
|
case 67:
|
|
1109
|
-
return this.popState(),
|
|
1109
|
+
return this.popState(), l.yytext = l.yytext.slice(0, -8).trim(), 31;
|
|
1110
1110
|
case 68:
|
|
1111
1111
|
return 6;
|
|
1112
1112
|
case 69:
|
|
@@ -1118,7 +1118,7 @@ Expecting ` + pt.join(", ") + ", got '" + (this.terminals_[v] || v) + "'" : "Par
|
|
|
1118
1118
|
case 72:
|
|
1119
1119
|
return k() ? 24 : void 0;
|
|
1120
1120
|
case 73:
|
|
1121
|
-
return
|
|
1121
|
+
return l.yytext = l.yytext.trim(), 14;
|
|
1122
1122
|
case 74:
|
|
1123
1123
|
return 15;
|
|
1124
1124
|
case 75:
|
|
@@ -1410,138 +1410,134 @@ Expecting ` + pt.join(", ") + ", got '" + (this.terminals_[v] || v) + "'" : "Par
|
|
|
1410
1410
|
}
|
|
1411
1411
|
}
|
|
1412
1412
|
};
|
|
1413
|
-
}();
|
|
1413
|
+
})();
|
|
1414
1414
|
function lt() {
|
|
1415
1415
|
this.yy = {};
|
|
1416
1416
|
}
|
|
1417
|
-
return
|
|
1418
|
-
}();
|
|
1417
|
+
return h(lt, "Parser"), lt.prototype = mt, mt.Parser = lt, new lt();
|
|
1418
|
+
})();
|
|
1419
1419
|
Dt.parser = Dt;
|
|
1420
|
-
var Oe = Dt, ue = "TB", Ft = "TB", At = "dir",
|
|
1420
|
+
var Oe = Dt, ue = "TB", Ft = "TB", At = "dir", J = "state", X = "root", xt = "relation", pe = "classDef", ye = "style", fe = "applyClass", Z = "default", Pt = "divider", Gt = "fill:none", Wt = "fill: #333", jt = "c", zt = "markdown", Ut = "normal", Tt = "rect", Et = "rectWithTitle", ge = "stateStart", me = "stateEnd", Nt = "divider", Ot = "roundedWithTitle", Se = "note", _e = "noteGroup", Q = "statediagram", ke = `${Q}-state`, Mt = "transition", be = "note", Te = `${Mt} note-edge`, Ee = `${Q}-${be}`, De = `${Q}-cluster`, xe = `${Q}-cluster-alt`, Kt = "parent", Ht = "note", $e = "state", $t = "----", Ce = `${$t}${Ht}`, wt = `${$t}${Kt}`, Xt = /* @__PURE__ */ h((t, e = Ft) => {
|
|
1421
1421
|
if (!t.doc) return e;
|
|
1422
1422
|
let s = e;
|
|
1423
|
-
for (let
|
|
1423
|
+
for (let o of t.doc) o.stmt === "dir" && (s = o.value);
|
|
1424
1424
|
return s;
|
|
1425
1425
|
}, "getDir"), we = {
|
|
1426
|
-
getClasses: /* @__PURE__ */
|
|
1426
|
+
getClasses: /* @__PURE__ */ h(function(t, e) {
|
|
1427
1427
|
return e.db.getClasses();
|
|
1428
1428
|
}, "getClasses"),
|
|
1429
|
-
draw: /* @__PURE__ */
|
|
1429
|
+
draw: /* @__PURE__ */ h(async function(t, e, s, o) {
|
|
1430
1430
|
b.info("REF0:"), b.info("Drawing state diagram (v2)", e);
|
|
1431
|
-
let { securityLevel: r, state:
|
|
1432
|
-
|
|
1433
|
-
let
|
|
1434
|
-
|
|
1431
|
+
let { securityLevel: r, state: d, layout: c } = N();
|
|
1432
|
+
o.db.extract(o.db.getRootDocV2());
|
|
1433
|
+
let f = o.db.getData(), p = he(e, r);
|
|
1434
|
+
f.type = o.type, f.layoutAlgorithm = c, f.nodeSpacing = d?.nodeSpacing || 50, f.rankSpacing = d?.rankSpacing || 50, N().look === "neo" ? f.markers = ["barbNeo"] : f.markers = ["barb"], f.diagramId = e, await te(f, p);
|
|
1435
1435
|
try {
|
|
1436
|
-
(typeof
|
|
1437
|
-
|
|
1438
|
-
let D = typeof g == "string" ? g : typeof (g == null ? void 0 : g.id) == "string" ? g.id : "";
|
|
1436
|
+
(typeof o.db.getLinks == "function" ? o.db.getLinks() : /* @__PURE__ */ new Map()).forEach((S, _) => {
|
|
1437
|
+
let D = typeof _ == "string" ? _ : typeof _?.id == "string" ? _.id : "";
|
|
1439
1438
|
if (!D) {
|
|
1440
|
-
b.warn("⚠️ Invalid or missing stateId from key:", JSON.stringify(
|
|
1439
|
+
b.warn("⚠️ Invalid or missing stateId from key:", JSON.stringify(_));
|
|
1441
1440
|
return;
|
|
1442
1441
|
}
|
|
1443
|
-
let
|
|
1444
|
-
if (
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
}), !$) {
|
|
1442
|
+
let O = p.node()?.querySelectorAll("g"), x;
|
|
1443
|
+
if (O?.forEach((v) => {
|
|
1444
|
+
v.textContent?.trim() === D && (x = v);
|
|
1445
|
+
}), !x) {
|
|
1448
1446
|
b.warn("⚠️ Could not find node matching text:", D);
|
|
1449
1447
|
return;
|
|
1450
1448
|
}
|
|
1451
|
-
let
|
|
1452
|
-
if (!
|
|
1449
|
+
let u = x.parentNode;
|
|
1450
|
+
if (!u) {
|
|
1453
1451
|
b.warn("⚠️ Node has no parent, cannot wrap:", D);
|
|
1454
1452
|
return;
|
|
1455
1453
|
}
|
|
1456
|
-
let
|
|
1457
|
-
if (
|
|
1458
|
-
let
|
|
1459
|
-
|
|
1454
|
+
let E = document.createElementNS("http://www.w3.org/2000/svg", "a"), A = S.url.replace(/^"+|"+$/g, "");
|
|
1455
|
+
if (E.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", A), E.setAttribute("target", "_blank"), S.tooltip) {
|
|
1456
|
+
let v = S.tooltip.replace(/^"+|"+$/g, "");
|
|
1457
|
+
E.setAttribute("title", v);
|
|
1460
1458
|
}
|
|
1461
|
-
|
|
1459
|
+
u.replaceChild(E, x), E.appendChild(x), b.info("🔗 Wrapped node in <a> tag for:", D, S.url);
|
|
1462
1460
|
});
|
|
1463
|
-
} catch (
|
|
1464
|
-
b.error("❌ Error injecting clickable links:",
|
|
1461
|
+
} catch (S) {
|
|
1462
|
+
b.error("❌ Error injecting clickable links:", S);
|
|
1465
1463
|
}
|
|
1466
|
-
ee.insertTitle(p, "statediagramTitleText",
|
|
1464
|
+
ee.insertTitle(p, "statediagramTitleText", d?.titleTopMargin ?? 25, o.db.getDiagramTitle()), de(p, 8, Q, d?.useMaxWidth ?? !0);
|
|
1467
1465
|
}, "draw"),
|
|
1468
1466
|
getDir: Xt
|
|
1469
|
-
}, ft = /* @__PURE__ */ new Map(),
|
|
1470
|
-
function gt(t = "", e = 0, s = "",
|
|
1471
|
-
return `${$e}-${t}${s !== null && s.length > 0 ? `${
|
|
1467
|
+
}, ft = /* @__PURE__ */ new Map(), Y = 0;
|
|
1468
|
+
function gt(t = "", e = 0, s = "", o = $t) {
|
|
1469
|
+
return `${$e}-${t}${s !== null && s.length > 0 ? `${o}${s}` : ""}-${e}`;
|
|
1472
1470
|
}
|
|
1473
|
-
|
|
1474
|
-
var ve = /* @__PURE__ */
|
|
1471
|
+
h(gt, "stateDomId");
|
|
1472
|
+
var ve = /* @__PURE__ */ h((t, e, s, o, r, d, c, f) => {
|
|
1475
1473
|
b.trace("items", e), e.forEach((p) => {
|
|
1476
1474
|
switch (p.stmt) {
|
|
1477
|
-
case
|
|
1478
|
-
|
|
1475
|
+
case J:
|
|
1476
|
+
q(t, p, s, o, r, d, c, f);
|
|
1479
1477
|
break;
|
|
1480
|
-
case
|
|
1481
|
-
|
|
1478
|
+
case Z:
|
|
1479
|
+
q(t, p, s, o, r, d, c, f);
|
|
1482
1480
|
break;
|
|
1483
1481
|
case xt:
|
|
1484
1482
|
{
|
|
1485
|
-
|
|
1486
|
-
let
|
|
1487
|
-
id: "edge" +
|
|
1483
|
+
q(t, p.state1, s, o, r, d, c, f), q(t, p.state2, s, o, r, d, c, f);
|
|
1484
|
+
let S = c === "neo", _ = {
|
|
1485
|
+
id: "edge" + Y,
|
|
1488
1486
|
start: p.state1.id,
|
|
1489
1487
|
end: p.state2.id,
|
|
1490
1488
|
arrowhead: "normal",
|
|
1491
|
-
arrowTypeEnd:
|
|
1489
|
+
arrowTypeEnd: S ? "arrow_barb_neo" : "arrow_barb",
|
|
1492
1490
|
style: Gt,
|
|
1493
1491
|
labelStyle: "",
|
|
1494
|
-
label:
|
|
1492
|
+
label: z.sanitizeText(p.description ?? "", N()),
|
|
1495
1493
|
arrowheadStyle: Wt,
|
|
1496
1494
|
labelpos: jt,
|
|
1497
1495
|
labelType: zt,
|
|
1498
1496
|
thickness: Ut,
|
|
1499
1497
|
classes: Mt,
|
|
1500
|
-
look:
|
|
1498
|
+
look: c
|
|
1501
1499
|
};
|
|
1502
|
-
r.push(
|
|
1500
|
+
r.push(_), Y++;
|
|
1503
1501
|
}
|
|
1504
1502
|
break;
|
|
1505
1503
|
}
|
|
1506
1504
|
});
|
|
1507
|
-
}, "setupDoc"), Rt = /* @__PURE__ */
|
|
1505
|
+
}, "setupDoc"), Rt = /* @__PURE__ */ h((t, e = Ft) => {
|
|
1508
1506
|
let s = e;
|
|
1509
|
-
if (t.doc) for (let
|
|
1507
|
+
if (t.doc) for (let o of t.doc) o.stmt === "dir" && (s = o.value);
|
|
1510
1508
|
return s;
|
|
1511
1509
|
}, "getDir");
|
|
1512
|
-
function
|
|
1510
|
+
function V(t, e, s) {
|
|
1513
1511
|
if (!e.id || e.id === "</join></fork>" || e.id === "</choice>") return;
|
|
1514
1512
|
e.cssClasses && (Array.isArray(e.cssCompiledStyles) || (e.cssCompiledStyles = []), e.cssClasses.split(" ").forEach((r) => {
|
|
1515
|
-
let
|
|
1516
|
-
|
|
1513
|
+
let d = s.get(r);
|
|
1514
|
+
d && (e.cssCompiledStyles = [...e.cssCompiledStyles ?? [], ...d.styles]);
|
|
1517
1515
|
}));
|
|
1518
|
-
let
|
|
1519
|
-
|
|
1516
|
+
let o = t.find((r) => r.id === e.id);
|
|
1517
|
+
o ? Object.assign(o, e) : t.push(e);
|
|
1520
1518
|
}
|
|
1521
|
-
|
|
1519
|
+
h(V, "insertOrUpdateNode");
|
|
1522
1520
|
function Jt(t) {
|
|
1523
|
-
|
|
1524
|
-
return ((e = t == null ? void 0 : t.classes) == null ? void 0 : e.join(" ")) ?? "";
|
|
1521
|
+
return t?.classes?.join(" ") ?? "";
|
|
1525
1522
|
}
|
|
1526
|
-
|
|
1523
|
+
h(Jt, "getClassesFromDbInfo");
|
|
1527
1524
|
function Vt(t) {
|
|
1528
|
-
return
|
|
1525
|
+
return t?.styles ?? [];
|
|
1529
1526
|
}
|
|
1530
|
-
|
|
1531
|
-
var
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
e.start === !0 ? O = ge : e.start === !1 && (O = me), e.type !== et && (O = e.type), ft.get(p) || ft.set(p, {
|
|
1527
|
+
h(Vt, "getStylesFromDbInfo");
|
|
1528
|
+
var q = /* @__PURE__ */ h((t, e, s, o, r, d, c, f) => {
|
|
1529
|
+
let p = e.id, S = s.get(p), _ = Jt(S), D = Vt(S), O = N();
|
|
1530
|
+
if (b.info("dataFetcher parsedItem", e, S, D), p !== "root") {
|
|
1531
|
+
let x = Tt;
|
|
1532
|
+
e.start === !0 ? x = ge : e.start === !1 && (x = me), e.type !== Z && (x = e.type), ft.get(p) || ft.set(p, {
|
|
1537
1533
|
id: p,
|
|
1538
|
-
shape:
|
|
1539
|
-
description:
|
|
1540
|
-
cssClasses: `${
|
|
1534
|
+
shape: x,
|
|
1535
|
+
description: z.sanitizeText(p, O),
|
|
1536
|
+
cssClasses: `${_} ${ke}`,
|
|
1541
1537
|
cssStyles: D
|
|
1542
1538
|
});
|
|
1543
1539
|
let u = ft.get(p);
|
|
1544
|
-
e.description && (Array.isArray(u.description) ? (u.shape = Et, u.description.push(e.description)) :
|
|
1540
|
+
e.description && (Array.isArray(u.description) ? (u.shape = Et, u.description.push(e.description)) : u.description?.length && u.description.length > 0 ? (u.shape = Et, u.description === p ? u.description = [e.description] : u.description = [u.description, e.description]) : (u.shape = Tt, u.description = e.description), u.description = z.sanitizeTextOrArray(u.description, O)), u.description?.length === 1 && u.shape === Et && (u.type === "group" ? u.shape = Ot : u.shape = Tt), !u.type && e.doc && (b.info("Setting cluster for XCX", p, Rt(e)), u.type = "group", u.isGroup = !0, u.dir = Rt(e), u.shape = e.type === Pt ? Nt : Ot, u.cssClasses = `${u.cssClasses} ${De} ${d ? xe : ""}`);
|
|
1545
1541
|
let E = {
|
|
1546
1542
|
labelStyle: "",
|
|
1547
1543
|
shape: u.shape,
|
|
@@ -1551,17 +1547,17 @@ var tt = /* @__PURE__ */ d((t, e, s, a, r, n, h, y) => {
|
|
|
1551
1547
|
cssStyles: u.cssStyles,
|
|
1552
1548
|
id: p,
|
|
1553
1549
|
dir: u.dir,
|
|
1554
|
-
domId: gt(p,
|
|
1550
|
+
domId: gt(p, Y),
|
|
1555
1551
|
type: u.type,
|
|
1556
1552
|
isGroup: u.type === "group",
|
|
1557
1553
|
padding: 8,
|
|
1558
1554
|
rx: 10,
|
|
1559
1555
|
ry: 10,
|
|
1560
|
-
look:
|
|
1556
|
+
look: c,
|
|
1561
1557
|
labelType: "markdown"
|
|
1562
1558
|
};
|
|
1563
1559
|
if (E.shape === Nt && (E.label = ""), t && t.id !== "root" && (b.trace("Setting node ", p, " to be child of its parent ", t.id), E.parentId = t.id), E.centerLabel = !0, e.note) {
|
|
1564
|
-
let
|
|
1560
|
+
let A = {
|
|
1565
1561
|
labelStyle: "",
|
|
1566
1562
|
shape: Se,
|
|
1567
1563
|
label: e.note.text,
|
|
@@ -1569,33 +1565,33 @@ var tt = /* @__PURE__ */ d((t, e, s, a, r, n, h, y) => {
|
|
|
1569
1565
|
cssClasses: Ee,
|
|
1570
1566
|
cssStyles: [],
|
|
1571
1567
|
cssCompiledStyles: [],
|
|
1572
|
-
id: p + Ce + "-" +
|
|
1573
|
-
domId: gt(p,
|
|
1568
|
+
id: p + Ce + "-" + Y,
|
|
1569
|
+
domId: gt(p, Y, Ht),
|
|
1574
1570
|
type: u.type,
|
|
1575
1571
|
isGroup: u.type === "group",
|
|
1576
|
-
padding:
|
|
1577
|
-
look:
|
|
1572
|
+
padding: O.flowchart?.padding,
|
|
1573
|
+
look: c,
|
|
1578
1574
|
position: e.note.position
|
|
1579
|
-
},
|
|
1575
|
+
}, v = p + wt, F = {
|
|
1580
1576
|
labelStyle: "",
|
|
1581
1577
|
shape: _e,
|
|
1582
1578
|
label: e.note.text,
|
|
1583
1579
|
cssClasses: u.cssClasses,
|
|
1584
1580
|
cssStyles: [],
|
|
1585
1581
|
id: p + wt,
|
|
1586
|
-
domId: gt(p,
|
|
1582
|
+
domId: gt(p, Y, Kt),
|
|
1587
1583
|
type: "group",
|
|
1588
1584
|
isGroup: !0,
|
|
1589
1585
|
padding: 16,
|
|
1590
|
-
look:
|
|
1586
|
+
look: c,
|
|
1591
1587
|
position: e.note.position
|
|
1592
1588
|
};
|
|
1593
|
-
|
|
1594
|
-
let
|
|
1595
|
-
e.note.position === "left of" && (
|
|
1596
|
-
id:
|
|
1597
|
-
start:
|
|
1598
|
-
end:
|
|
1589
|
+
Y++, F.id = v, A.parentId = v, V(o, F, f), V(o, A, f), V(o, E, f);
|
|
1590
|
+
let R = p, B = A.id;
|
|
1591
|
+
e.note.position === "left of" && (R = A.id, B = p), r.push({
|
|
1592
|
+
id: R + "-" + B,
|
|
1593
|
+
start: R,
|
|
1594
|
+
end: B,
|
|
1599
1595
|
arrowhead: "none",
|
|
1600
1596
|
arrowTypeEnd: "",
|
|
1601
1597
|
style: Gt,
|
|
@@ -1605,14 +1601,14 @@ var tt = /* @__PURE__ */ d((t, e, s, a, r, n, h, y) => {
|
|
|
1605
1601
|
labelpos: jt,
|
|
1606
1602
|
labelType: zt,
|
|
1607
1603
|
thickness: Ut,
|
|
1608
|
-
look:
|
|
1604
|
+
look: c
|
|
1609
1605
|
});
|
|
1610
|
-
} else
|
|
1606
|
+
} else V(o, E, f);
|
|
1611
1607
|
}
|
|
1612
|
-
e.doc && (b.trace("Adding nodes children "), ve(e, e.doc, s,
|
|
1613
|
-
}, "dataFetcher"), Le = /* @__PURE__ */
|
|
1614
|
-
ft.clear(),
|
|
1615
|
-
}, "reset"),
|
|
1608
|
+
e.doc && (b.trace("Adding nodes children "), ve(e, e.doc, s, o, r, !d, c, f));
|
|
1609
|
+
}, "dataFetcher"), Le = /* @__PURE__ */ h(() => {
|
|
1610
|
+
ft.clear(), Y = 0;
|
|
1611
|
+
}, "reset"), $ = {
|
|
1616
1612
|
START_NODE: "[*]",
|
|
1617
1613
|
START_TYPE: "start",
|
|
1618
1614
|
END_NODE: "[*]",
|
|
@@ -1621,18 +1617,18 @@ var tt = /* @__PURE__ */ d((t, e, s, a, r, n, h, y) => {
|
|
|
1621
1617
|
FILL_KEYWORD: "fill",
|
|
1622
1618
|
BG_FILL: "bgFill",
|
|
1623
1619
|
STYLECLASS_SEP: ","
|
|
1624
|
-
}, Bt = /* @__PURE__ */
|
|
1620
|
+
}, Bt = /* @__PURE__ */ h(() => /* @__PURE__ */ new Map(), "newClassesList"), Yt = /* @__PURE__ */ h(() => ({
|
|
1625
1621
|
relations: [],
|
|
1626
1622
|
states: /* @__PURE__ */ new Map(),
|
|
1627
1623
|
documents: {}
|
|
1628
|
-
}), "newDoc"), yt = /* @__PURE__ */
|
|
1624
|
+
}), "newDoc"), yt = /* @__PURE__ */ h((t) => JSON.parse(JSON.stringify(t)), "clone"), U, Re = (U = class {
|
|
1629
1625
|
constructor(e) {
|
|
1630
1626
|
this.version = e, this.nodes = [], this.edges = [], this.rootDoc = [], this.classes = Bt(), this.documents = { root: Yt() }, this.currentDocument = this.documents.root, this.startEndCount = 0, this.dividerCnt = 0, this.links = /* @__PURE__ */ new Map(), this.getAccTitle = se, this.setAccTitle = ie, this.getAccDescription = re, this.setAccDescription = ae, this.setDiagramTitle = oe, this.getDiagramTitle = ne, this.clear(), this.setRootDoc = this.setRootDoc.bind(this), this.getDividerId = this.getDividerId.bind(this), this.setDirection = this.setDirection.bind(this), this.trimColon = this.trimColon.bind(this);
|
|
1631
1627
|
}
|
|
1632
1628
|
extract(e) {
|
|
1633
1629
|
this.clear(!0);
|
|
1634
1630
|
for (let r of Array.isArray(e) ? e : e.doc) switch (r.stmt) {
|
|
1635
|
-
case
|
|
1631
|
+
case J:
|
|
1636
1632
|
this.addState(r.id.trim(), r.type, r.doc, r.description, r.note);
|
|
1637
1633
|
break;
|
|
1638
1634
|
case xt:
|
|
@@ -1651,89 +1647,86 @@ var tt = /* @__PURE__ */ d((t, e, s, a, r, n, h, y) => {
|
|
|
1651
1647
|
this.addLink(r.id, r.url, r.tooltip);
|
|
1652
1648
|
break;
|
|
1653
1649
|
}
|
|
1654
|
-
let s = this.getStates(),
|
|
1655
|
-
Le(),
|
|
1650
|
+
let s = this.getStates(), o = N();
|
|
1651
|
+
Le(), q(void 0, this.getRootDocV2(), s, this.nodes, this.edges, !0, o.look, this.classes);
|
|
1656
1652
|
for (let r of this.nodes) if (Array.isArray(r.label)) {
|
|
1657
1653
|
if (r.description = r.label.slice(1), r.isGroup && r.description.length > 0) throw Error(`Group nodes can only have label. Remove the additional description for node [${r.id}]`);
|
|
1658
1654
|
r.label = r.label[0];
|
|
1659
1655
|
}
|
|
1660
1656
|
}
|
|
1661
1657
|
handleStyleDef(e) {
|
|
1662
|
-
let s = e.id.trim().split(","),
|
|
1658
|
+
let s = e.id.trim().split(","), o = e.styleClass.split(",");
|
|
1663
1659
|
for (let r of s) {
|
|
1664
|
-
let
|
|
1665
|
-
if (!
|
|
1666
|
-
let
|
|
1667
|
-
this.addState(
|
|
1660
|
+
let d = this.getState(r);
|
|
1661
|
+
if (!d) {
|
|
1662
|
+
let c = r.trim();
|
|
1663
|
+
this.addState(c), d = this.getState(c);
|
|
1668
1664
|
}
|
|
1669
|
-
|
|
1670
|
-
var y;
|
|
1671
|
-
return (y = h.replace(/;/g, "")) == null ? void 0 : y.trim();
|
|
1672
|
-
}));
|
|
1665
|
+
d && (d.styles = o.map((c) => c.replace(/;/g, "")?.trim()));
|
|
1673
1666
|
}
|
|
1674
1667
|
}
|
|
1675
1668
|
setRootDoc(e) {
|
|
1676
1669
|
b.info("Setting root doc", e), this.rootDoc = e, this.version === 1 ? this.extract(e) : this.extract(this.getRootDocV2());
|
|
1677
1670
|
}
|
|
1678
|
-
docTranslator(e, s,
|
|
1671
|
+
docTranslator(e, s, o) {
|
|
1679
1672
|
if (s.stmt === xt) {
|
|
1680
1673
|
this.docTranslator(e, s.state1, !0), this.docTranslator(e, s.state2, !1);
|
|
1681
1674
|
return;
|
|
1682
1675
|
}
|
|
1683
|
-
if (s.stmt ===
|
|
1684
|
-
let r = [],
|
|
1685
|
-
for (let
|
|
1686
|
-
let
|
|
1687
|
-
|
|
1688
|
-
} else
|
|
1689
|
-
if (r.length > 0 &&
|
|
1690
|
-
let
|
|
1691
|
-
stmt:
|
|
1676
|
+
if (s.stmt === J && (s.id === $.START_NODE ? (s.id = e.id + (o ? "_start" : "_end"), s.start = o) : s.id = s.id.trim()), s.stmt !== X && s.stmt !== J || !s.doc) return;
|
|
1677
|
+
let r = [], d = [];
|
|
1678
|
+
for (let c of s.doc) if (c.type === Pt) {
|
|
1679
|
+
let f = yt(c);
|
|
1680
|
+
f.doc = yt(d), r.push(f), d = [];
|
|
1681
|
+
} else d.push(c);
|
|
1682
|
+
if (r.length > 0 && d.length > 0) {
|
|
1683
|
+
let c = {
|
|
1684
|
+
stmt: J,
|
|
1692
1685
|
id: le(),
|
|
1693
1686
|
type: "divider",
|
|
1694
|
-
doc: yt(
|
|
1687
|
+
doc: yt(d)
|
|
1695
1688
|
};
|
|
1696
|
-
r.push(yt(
|
|
1689
|
+
r.push(yt(c)), s.doc = r;
|
|
1697
1690
|
}
|
|
1698
|
-
s.doc.forEach((
|
|
1691
|
+
s.doc.forEach((c) => this.docTranslator(s, c, !0));
|
|
1699
1692
|
}
|
|
1700
1693
|
getRootDocV2() {
|
|
1701
1694
|
return this.docTranslator({
|
|
1702
|
-
id:
|
|
1703
|
-
stmt:
|
|
1695
|
+
id: X,
|
|
1696
|
+
stmt: X
|
|
1704
1697
|
}, {
|
|
1705
|
-
id:
|
|
1706
|
-
stmt:
|
|
1698
|
+
id: X,
|
|
1699
|
+
stmt: X,
|
|
1707
1700
|
doc: this.rootDoc
|
|
1708
1701
|
}, !0), {
|
|
1709
|
-
id:
|
|
1702
|
+
id: X,
|
|
1710
1703
|
doc: this.rootDoc
|
|
1711
1704
|
};
|
|
1712
1705
|
}
|
|
1713
|
-
addState(e, s =
|
|
1714
|
-
let
|
|
1715
|
-
if (!this.currentDocument.states.has(
|
|
1716
|
-
stmt:
|
|
1717
|
-
id:
|
|
1706
|
+
addState(e, s = Z, o = void 0, r = void 0, d = void 0, c = void 0, f = void 0, p = void 0) {
|
|
1707
|
+
let S = e?.trim();
|
|
1708
|
+
if (!this.currentDocument.states.has(S)) b.info("Adding state ", S, r), this.currentDocument.states.set(S, {
|
|
1709
|
+
stmt: J,
|
|
1710
|
+
id: S,
|
|
1718
1711
|
descriptions: [],
|
|
1719
1712
|
type: s,
|
|
1720
|
-
doc:
|
|
1721
|
-
note:
|
|
1713
|
+
doc: o,
|
|
1714
|
+
note: d,
|
|
1722
1715
|
classes: [],
|
|
1723
1716
|
styles: [],
|
|
1724
1717
|
textStyles: []
|
|
1725
1718
|
});
|
|
1726
1719
|
else {
|
|
1727
|
-
let
|
|
1728
|
-
if (!
|
|
1729
|
-
|
|
1720
|
+
let _ = this.currentDocument.states.get(S);
|
|
1721
|
+
if (!_) throw Error(`State not found: ${S}`);
|
|
1722
|
+
_.doc ||= o, _.type ||= s;
|
|
1730
1723
|
}
|
|
1731
|
-
if (r && (b.info("Setting state description",
|
|
1732
|
-
let
|
|
1733
|
-
if (!
|
|
1734
|
-
|
|
1724
|
+
if (r && (b.info("Setting state description", S, r), (Array.isArray(r) ? r : [r]).forEach((_) => this.addDescription(S, _.trim()))), d) {
|
|
1725
|
+
let _ = this.currentDocument.states.get(S);
|
|
1726
|
+
if (!_) throw Error(`State not found: ${S}`);
|
|
1727
|
+
_.note = d, _.note.text = z.sanitizeText(_.note.text, N());
|
|
1735
1728
|
}
|
|
1736
|
-
|
|
1729
|
+
c && (b.info("Setting state classes", S, c), (Array.isArray(c) ? c : [c]).forEach((_) => this.setCssClass(S, _.trim()))), f && (b.info("Setting state styles", S, f), (Array.isArray(f) ? f : [f]).forEach((_) => this.setStyle(S, _.trim()))), p && (b.info("Setting state styles", S, f), (Array.isArray(p) ? p : [p]).forEach((_) => this.setTextStyle(S, _.trim())));
|
|
1737
1730
|
}
|
|
1738
1731
|
clear(e) {
|
|
1739
1732
|
this.nodes = [], this.edges = [], this.documents = { root: Yt() }, this.currentDocument = this.documents.root, this.startEndCount = 0, this.classes = Bt(), e || (this.links = /* @__PURE__ */ new Map(), ce());
|
|
@@ -1750,50 +1743,49 @@ var tt = /* @__PURE__ */ d((t, e, s, a, r, n, h, y) => {
|
|
|
1750
1743
|
getRelations() {
|
|
1751
1744
|
return this.currentDocument.relations;
|
|
1752
1745
|
}
|
|
1753
|
-
addLink(e, s,
|
|
1746
|
+
addLink(e, s, o) {
|
|
1754
1747
|
this.links.set(e, {
|
|
1755
1748
|
url: s,
|
|
1756
|
-
tooltip:
|
|
1757
|
-
}), b.warn("Adding link", e, s,
|
|
1749
|
+
tooltip: o
|
|
1750
|
+
}), b.warn("Adding link", e, s, o);
|
|
1758
1751
|
}
|
|
1759
1752
|
getLinks() {
|
|
1760
1753
|
return this.links;
|
|
1761
1754
|
}
|
|
1762
1755
|
startIdIfNeeded(e = "") {
|
|
1763
|
-
return e ===
|
|
1756
|
+
return e === $.START_NODE ? (this.startEndCount++, `${$.START_TYPE}${this.startEndCount}`) : e;
|
|
1764
1757
|
}
|
|
1765
|
-
startTypeIfNeeded(e = "", s =
|
|
1766
|
-
return e ===
|
|
1758
|
+
startTypeIfNeeded(e = "", s = Z) {
|
|
1759
|
+
return e === $.START_NODE ? $.START_TYPE : s;
|
|
1767
1760
|
}
|
|
1768
1761
|
endIdIfNeeded(e = "") {
|
|
1769
|
-
return e ===
|
|
1762
|
+
return e === $.END_NODE ? (this.startEndCount++, `${$.END_TYPE}${this.startEndCount}`) : e;
|
|
1770
1763
|
}
|
|
1771
|
-
endTypeIfNeeded(e = "", s =
|
|
1772
|
-
return e ===
|
|
1764
|
+
endTypeIfNeeded(e = "", s = Z) {
|
|
1765
|
+
return e === $.END_NODE ? $.END_TYPE : s;
|
|
1773
1766
|
}
|
|
1774
|
-
addRelationObjs(e, s,
|
|
1775
|
-
let r = this.startIdIfNeeded(e.id.trim()),
|
|
1776
|
-
this.addState(r,
|
|
1767
|
+
addRelationObjs(e, s, o = "") {
|
|
1768
|
+
let r = this.startIdIfNeeded(e.id.trim()), d = this.startTypeIfNeeded(e.id.trim(), e.type), c = this.startIdIfNeeded(s.id.trim()), f = this.startTypeIfNeeded(s.id.trim(), s.type);
|
|
1769
|
+
this.addState(r, d, e.doc, e.description, e.note, e.classes, e.styles, e.textStyles), this.addState(c, f, s.doc, s.description, s.note, s.classes, s.styles, s.textStyles), this.currentDocument.relations.push({
|
|
1777
1770
|
id1: r,
|
|
1778
|
-
id2:
|
|
1779
|
-
relationTitle:
|
|
1771
|
+
id2: c,
|
|
1772
|
+
relationTitle: z.sanitizeText(o, N())
|
|
1780
1773
|
});
|
|
1781
1774
|
}
|
|
1782
|
-
addRelation(e, s,
|
|
1783
|
-
if (typeof e == "object" && typeof s == "object") this.addRelationObjs(e, s,
|
|
1775
|
+
addRelation(e, s, o) {
|
|
1776
|
+
if (typeof e == "object" && typeof s == "object") this.addRelationObjs(e, s, o);
|
|
1784
1777
|
else if (typeof e == "string" && typeof s == "string") {
|
|
1785
|
-
let r = this.startIdIfNeeded(e.trim()),
|
|
1786
|
-
this.addState(r,
|
|
1778
|
+
let r = this.startIdIfNeeded(e.trim()), d = this.startTypeIfNeeded(e), c = this.endIdIfNeeded(s.trim()), f = this.endTypeIfNeeded(s);
|
|
1779
|
+
this.addState(r, d), this.addState(c, f), this.currentDocument.relations.push({
|
|
1787
1780
|
id1: r,
|
|
1788
|
-
id2:
|
|
1789
|
-
relationTitle:
|
|
1781
|
+
id2: c,
|
|
1782
|
+
relationTitle: o ? z.sanitizeText(o, N()) : void 0
|
|
1790
1783
|
});
|
|
1791
1784
|
}
|
|
1792
1785
|
}
|
|
1793
1786
|
addDescription(e, s) {
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
(n = a == null ? void 0 : a.descriptions) == null || n.push(K.sanitizeText(r, w()));
|
|
1787
|
+
let o = this.currentDocument.states.get(e), r = s.startsWith(":") ? s.replace(":", "").trim() : s;
|
|
1788
|
+
o?.descriptions?.push(z.sanitizeText(r, N()));
|
|
1797
1789
|
}
|
|
1798
1790
|
cleanupLabel(e) {
|
|
1799
1791
|
return e.startsWith(":") ? e.slice(2).trim() : e.trim();
|
|
@@ -1807,44 +1799,40 @@ var tt = /* @__PURE__ */ d((t, e, s, a, r, n, h, y) => {
|
|
|
1807
1799
|
styles: [],
|
|
1808
1800
|
textStyles: []
|
|
1809
1801
|
});
|
|
1810
|
-
let
|
|
1811
|
-
s &&
|
|
1812
|
-
let
|
|
1813
|
-
if (RegExp(
|
|
1814
|
-
let
|
|
1815
|
-
|
|
1802
|
+
let o = this.classes.get(e);
|
|
1803
|
+
s && o && s.split($.STYLECLASS_SEP).forEach((r) => {
|
|
1804
|
+
let d = r.replace(/([^;]*);/, "$1").trim();
|
|
1805
|
+
if (RegExp($.COLOR_KEYWORD).exec(r)) {
|
|
1806
|
+
let c = d.replace($.FILL_KEYWORD, $.BG_FILL).replace($.COLOR_KEYWORD, $.FILL_KEYWORD);
|
|
1807
|
+
o.textStyles.push(c);
|
|
1816
1808
|
}
|
|
1817
|
-
|
|
1809
|
+
o.styles.push(d);
|
|
1818
1810
|
});
|
|
1819
1811
|
}
|
|
1820
1812
|
getClasses() {
|
|
1821
1813
|
return this.classes;
|
|
1822
1814
|
}
|
|
1823
1815
|
setCssClass(e, s) {
|
|
1824
|
-
e.split(",").forEach((
|
|
1825
|
-
|
|
1826
|
-
let r = this.getState(a);
|
|
1816
|
+
e.split(",").forEach((o) => {
|
|
1817
|
+
let r = this.getState(o);
|
|
1827
1818
|
if (!r) {
|
|
1828
|
-
let
|
|
1829
|
-
this.addState(
|
|
1819
|
+
let d = o.trim();
|
|
1820
|
+
this.addState(d), r = this.getState(d);
|
|
1830
1821
|
}
|
|
1831
|
-
|
|
1822
|
+
r?.classes?.push(s);
|
|
1832
1823
|
});
|
|
1833
1824
|
}
|
|
1834
1825
|
setStyle(e, s) {
|
|
1835
|
-
|
|
1836
|
-
(r = (a = this.getState(e)) == null ? void 0 : a.styles) == null || r.push(s);
|
|
1826
|
+
this.getState(e)?.styles?.push(s);
|
|
1837
1827
|
}
|
|
1838
1828
|
setTextStyle(e, s) {
|
|
1839
|
-
|
|
1840
|
-
(r = (a = this.getState(e)) == null ? void 0 : a.textStyles) == null || r.push(s);
|
|
1829
|
+
this.getState(e)?.textStyles?.push(s);
|
|
1841
1830
|
}
|
|
1842
1831
|
getDirectionStatement() {
|
|
1843
1832
|
return this.rootDoc.find((e) => e.stmt === At);
|
|
1844
1833
|
}
|
|
1845
1834
|
getDirection() {
|
|
1846
|
-
|
|
1847
|
-
return ((e = this.getDirectionStatement()) == null ? void 0 : e.value) ?? ue;
|
|
1835
|
+
return this.getDirectionStatement()?.value ?? ue;
|
|
1848
1836
|
}
|
|
1849
1837
|
setDirection(e) {
|
|
1850
1838
|
let s = this.getDirectionStatement();
|
|
@@ -1857,7 +1845,7 @@ var tt = /* @__PURE__ */ d((t, e, s, a, r, n, h, y) => {
|
|
|
1857
1845
|
return e.startsWith(":") ? e.slice(1).trim() : e.trim();
|
|
1858
1846
|
}
|
|
1859
1847
|
getData() {
|
|
1860
|
-
let e =
|
|
1848
|
+
let e = N();
|
|
1861
1849
|
return {
|
|
1862
1850
|
nodes: this.nodes,
|
|
1863
1851
|
edges: this.edges,
|
|
@@ -1867,14 +1855,14 @@ var tt = /* @__PURE__ */ d((t, e, s, a, r, n, h, y) => {
|
|
|
1867
1855
|
};
|
|
1868
1856
|
}
|
|
1869
1857
|
getConfig() {
|
|
1870
|
-
return
|
|
1858
|
+
return N().state;
|
|
1871
1859
|
}
|
|
1872
|
-
},
|
|
1860
|
+
}, h(U, "StateDB"), U.relationType = {
|
|
1873
1861
|
AGGREGATION: 0,
|
|
1874
1862
|
EXTENSION: 1,
|
|
1875
1863
|
COMPOSITION: 2,
|
|
1876
1864
|
DEPENDENCY: 3
|
|
1877
|
-
},
|
|
1865
|
+
}, U), Be = /* @__PURE__ */ h((t) => `
|
|
1878
1866
|
defs [id$="-barbEnd"] {
|
|
1879
1867
|
fill: ${t.transitionColor};
|
|
1880
1868
|
stroke: ${t.transitionColor};
|