@zjlab-frontier/markdown 1.2.5 → 1.2.7

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 (94) hide show
  1. package/dist/_basePickBy-CWu8v0ko.mjs +151 -0
  2. package/dist/_baseUniq-BYBDg8So.mjs +614 -0
  3. package/dist/arc-2_S8ohSf.mjs +83 -0
  4. package/dist/architecture-U656AL7Q-DGKLYZ_K.mjs +5 -0
  5. package/dist/architectureDiagram-VXUJARFQ-CiE3U1mu.mjs +4661 -0
  6. package/dist/blockDiagram-VD42YOAC-CsZjZOPb.mjs +2261 -0
  7. package/dist/{c4Diagram-c83219d4-C9K6bQ9I.mjs → c4Diagram-YG6GDRKO-1xvcuQft.mjs} +795 -794
  8. package/dist/{channel-D78LrwNC.mjs → channel-DcbfLn-q.mjs} +1 -1
  9. package/dist/chunk-4BX2VUAB-BDp4Xs60.mjs +8 -0
  10. package/dist/chunk-55IACEB6-CTW8J150.mjs +8 -0
  11. package/dist/chunk-B4BG7PRW-B_heTEEq.mjs +1375 -0
  12. package/dist/chunk-DI55MBZ5-DhjTVH-t.mjs +1370 -0
  13. package/dist/chunk-FMBD7UC4-ClbSERVz.mjs +19 -0
  14. package/dist/chunk-QN33PNHL-BKK9fOrS.mjs +19 -0
  15. package/dist/chunk-QZHKN3VN-BJGNV1ga.mjs +15 -0
  16. package/dist/chunk-TZMSLE5B-CGED95dA.mjs +64 -0
  17. package/dist/classDiagram-2ON5EDUG-B940_szE.mjs +16 -0
  18. package/dist/classDiagram-v2-WZHVMYZB-B940_szE.mjs +16 -0
  19. package/dist/{clone-DTaSrs1K.mjs → clone-DCtolUVn.mjs} +1 -1
  20. package/dist/cose-bilkent-S5V4N54A-BYen7Ep1.mjs +2608 -0
  21. package/dist/cytoscape.esm-MSgpKP8s.mjs +18721 -0
  22. package/dist/dagre-6UL2VRFP-iIFq-NoW.mjs +444 -0
  23. package/dist/defaultLocale-D7EN2tov.mjs +171 -0
  24. package/dist/diagram-PSM6KHXK-Dy7h44b4.mjs +531 -0
  25. package/dist/diagram-QEK2KX5R-C94F1gFy.mjs +217 -0
  26. package/dist/diagram-S2PKOQOG-yhlmdZS2.mjs +142 -0
  27. package/dist/erDiagram-Q2GNP2WA-BpLUZP7_.mjs +841 -0
  28. package/dist/flowDiagram-NV44I4VS-SLzktk7G.mjs +1620 -0
  29. package/dist/ganttDiagram-JELNMOA3-DeGgQKGo.mjs +2670 -0
  30. package/dist/gitGraph-F6HP7TQM-BMUVRqib.mjs +5 -0
  31. package/dist/gitGraphDiagram-NY62KEGX-CAg0nU-l.mjs +699 -0
  32. package/dist/graph-D3huRaLs.mjs +247 -0
  33. package/dist/{index-BqMI8xYQ.mjs → index-BrxkOr3k.mjs} +35919 -28721
  34. package/dist/index.es.js +4 -4
  35. package/dist/index.umd.js +1884 -1442
  36. package/dist/info-NVLQJR56-B7-uUvSf.mjs +5 -0
  37. package/dist/infoDiagram-WHAUD3N6-CvBpxqLi.mjs +24 -0
  38. package/dist/journeyDiagram-XKPGCS4Q-DuCbTsAr.mjs +834 -0
  39. package/dist/kanban-definition-3W4ZIXB7-DvIE5yxA.mjs +719 -0
  40. package/dist/layout-DxYqTZ5R.mjs +1335 -0
  41. package/dist/linear-Ft07C63i.mjs +259 -0
  42. package/dist/markdown.d.ts +3 -6
  43. package/dist/mermaid-parser.core-D4YfUPNI.mjs +12966 -0
  44. package/dist/mindmap-definition-VGOIOE7T-urZ0HI-X.mjs +784 -0
  45. package/dist/packet-BFZMPI3H-ByWPr9-O.mjs +5 -0
  46. package/dist/pie-7BOR55EZ-B4RcaSOO.mjs +5 -0
  47. package/dist/pieDiagram-ADFJNKIX-ieTD_ZLt.mjs +161 -0
  48. package/dist/quadrantDiagram-AYHSOK5B-CA5Lp1fr.mjs +1022 -0
  49. package/dist/radar-NHE76QYJ-xjkuc7ne.mjs +5 -0
  50. package/dist/requirementDiagram-UZGBJVZJ-dsQFkWyE.mjs +850 -0
  51. package/dist/sankeyDiagram-TZEHDZUN-BbxCMN2Y.mjs +810 -0
  52. package/dist/sequenceDiagram-WL72ISMW-DXuguRyg.mjs +2511 -0
  53. package/dist/stateDiagram-FKZM4ZOC-Df7YOK3T.mjs +263 -0
  54. package/dist/stateDiagram-v2-4FDKWEC3-D8vtVcSe.mjs +16 -0
  55. package/dist/timeline-definition-IT6M3QCI-BECtudMW.mjs +795 -0
  56. package/dist/treemap-KMMF4GRG-Whla94QX.mjs +5 -0
  57. package/dist/{xychartDiagram-f5964ef8-CW6jA0Nt.mjs → xychartDiagram-PRI3JC2R-Vnmd1h04.mjs} +503 -445
  58. package/package.json +3 -3
  59. package/dist/Tableau10-D7jGxypv.mjs +0 -8
  60. package/dist/arc-CP3svFB8.mjs +0 -84
  61. package/dist/array-CqVTtuYm.mjs +0 -6
  62. package/dist/blockDiagram-c4efeb88-4NVD4LaE.mjs +0 -1221
  63. package/dist/classDiagram-beda092f-Dsj9YDh9.mjs +0 -218
  64. package/dist/classDiagram-v2-2358418a-B6I0OSmI.mjs +0 -200
  65. package/dist/createText-1719965b-CoaKkLy-.mjs +0 -2955
  66. package/dist/edges-96097737-Dd8HYq0D.mjs +0 -1088
  67. package/dist/erDiagram-0228fc6a-pAkxmK4a.mjs +0 -929
  68. package/dist/flowDb-c6c81e3f-BjKRlxie.mjs +0 -1126
  69. package/dist/flowDiagram-50d868cf-CKxGU02W.mjs +0 -788
  70. package/dist/flowDiagram-v2-4f6560a1-CnoMWeXO.mjs +0 -17
  71. package/dist/flowchart-elk-definition-6af322e1-BZD0dDGP.mjs +0 -48146
  72. package/dist/ganttDiagram-a2739b55-CRorchsD.mjs +0 -2477
  73. package/dist/gitGraphDiagram-82fe8481-Cymt6QVM.mjs +0 -1264
  74. package/dist/graph-PkwPfVNG.mjs +0 -847
  75. package/dist/index-5325376f-DZkWeHco.mjs +0 -373
  76. package/dist/infoDiagram-8eee0895-CvC19e9K.mjs +0 -319
  77. package/dist/journeyDiagram-c64418c1-CkqlDqM2.mjs +0 -801
  78. package/dist/layout-DJG11mrF.mjs +0 -1472
  79. package/dist/line-CO-DhGRr.mjs +0 -33
  80. package/dist/linear-JFQBUd8q.mjs +0 -423
  81. package/dist/mindmap-definition-8da855dc-B-QmBciE.mjs +0 -21922
  82. package/dist/path-DLwuMfdd.mjs +0 -84
  83. package/dist/pieDiagram-a8764435-BBzodiLy.mjs +0 -500
  84. package/dist/quadrantDiagram-1e28029f-8h3jdyxV.mjs +0 -903
  85. package/dist/requirementDiagram-08caed73-Dqh4s_7c.mjs +0 -767
  86. package/dist/sankeyDiagram-a04cb91d--jfrAKSY.mjs +0 -802
  87. package/dist/sequenceDiagram-c5b8d532-DHJT6ITm.mjs +0 -2234
  88. package/dist/stateDiagram-1ecb1508-BWLFQq_E.mjs +0 -266
  89. package/dist/stateDiagram-v2-c2b004d7-CnHxd5ys.mjs +0 -184
  90. package/dist/styles-b4e223ce-BMvSm8Xc.mjs +0 -1089
  91. package/dist/styles-ca3715f6-CZd-uM_s.mjs +0 -960
  92. package/dist/styles-d45a18b0-Djl4Hn18.mjs +0 -436
  93. package/dist/svgDrawCommon-b86b1483-CGt4V7sp.mjs +0 -64
  94. package/dist/timeline-definition-faaaa080-CzynWXY8.mjs +0 -792
@@ -1,303 +1,309 @@
1
- import { g as Dt, s as we, a as Oe, b as Te, c as Re, d as Nt, l as le, e as De, f as Se, h as wt, i as ue, j as Pe, w as Me, k as Kt, m as oe } from "./index-BqMI8xYQ.mjs";
2
- import { d as Le, g as Ne } from "./svgDrawCommon-b86b1483-CGt4V7sp.mjs";
3
- var Yt = (function() {
4
- var e = function(bt, _, x, m) {
5
- for (x = x || {}, m = bt.length; m--; x[bt[m]] = _)
6
- ;
7
- return x;
8
- }, t = [1, 24], a = [1, 25], o = [1, 26], l = [1, 27], i = [1, 28], s = [1, 63], r = [1, 64], n = [1, 65], h = [1, 66], f = [1, 67], d = [1, 68], p = [1, 69], E = [1, 29], O = [1, 30], R = [1, 31], S = [1, 32], L = [1, 33], Y = [1, 34], Q = [1, 35], H = [1, 36], q = [1, 37], G = [1, 38], K = [1, 39], J = [1, 40], Z = [1, 41], $ = [1, 42], tt = [1, 43], et = [1, 44], it = [1, 45], nt = [1, 46], st = [1, 47], at = [1, 48], rt = [1, 50], lt = [1, 51], ot = [1, 52], ct = [1, 53], ht = [1, 54], ut = [1, 55], dt = [1, 56], ft = [1, 57], pt = [1, 58], yt = [1, 59], gt = [1, 60], At = [14, 42], Vt = [14, 34, 36, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74], Ot = [12, 14, 34, 36, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74], v = [1, 82], k = [1, 83], A = [1, 84], C = [1, 85], w = [12, 14, 42], ne = [12, 14, 33, 42], Pt = [12, 14, 33, 42, 76, 77, 79, 80], mt = [12, 33], zt = [34, 36, 37, 38, 39, 40, 41, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74], Xt = {
9
- trace: function() {
10
- },
1
+ import { g as Se, d as De } from "./chunk-TZMSLE5B-CGED95dA.mjs";
2
+ import { _ as g, s as Pe, g as Be, a as Ie, b as Me, c as Bt, d as jt, l as de, e as Le, f as Ne, h as Tt, i as ge, j as Ye, w as je, k as $t, m as fe } from "./index-BrxkOr3k.mjs";
3
+ var Ft = (function() {
4
+ var e = /* @__PURE__ */ g(function(_t, x, m, v) {
5
+ for (m = m || {}, v = _t.length; v--; m[_t[v]] = x) ;
6
+ return m;
7
+ }, "o"), t = [1, 24], s = [1, 25], o = [1, 26], l = [1, 27], a = [1, 28], r = [1, 63], n = [1, 64], i = [1, 65], u = [1, 66], d = [1, 67], y = [1, 68], p = [1, 69], E = [1, 29], O = [1, 30], S = [1, 31], P = [1, 32], M = [1, 33], U = [1, 34], H = [1, 35], q = [1, 36], G = [1, 37], K = [1, 38], J = [1, 39], Z = [1, 40], $ = [1, 41], tt = [1, 42], et = [1, 43], at = [1, 44], it = [1, 45], nt = [1, 46], rt = [1, 47], st = [1, 48], lt = [1, 50], ot = [1, 51], ct = [1, 52], ht = [1, 53], ut = [1, 54], dt = [1, 55], ft = [1, 56], pt = [1, 57], yt = [1, 58], gt = [1, 59], bt = [1, 60], Ct = [14, 42], Qt = [14, 34, 36, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74], St = [12, 14, 34, 36, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74], k = [1, 82], A = [1, 83], C = [1, 84], w = [1, 85], T = [12, 14, 42], le = [12, 14, 33, 42], Mt = [12, 14, 33, 42, 76, 77, 79, 80], vt = [12, 33], Ht = [34, 36, 37, 38, 39, 40, 41, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74], qt = {
8
+ trace: /* @__PURE__ */ g(function() {
9
+ }, "trace"),
11
10
  yy: {},
12
11
  symbols_: { error: 2, start: 3, mermaidDoc: 4, direction: 5, direction_tb: 6, direction_bt: 7, direction_rl: 8, direction_lr: 9, graphConfig: 10, C4_CONTEXT: 11, NEWLINE: 12, statements: 13, EOF: 14, C4_CONTAINER: 15, C4_COMPONENT: 16, C4_DYNAMIC: 17, C4_DEPLOYMENT: 18, otherStatements: 19, diagramStatements: 20, otherStatement: 21, title: 22, accDescription: 23, acc_title: 24, acc_title_value: 25, acc_descr: 26, acc_descr_value: 27, acc_descr_multiline_value: 28, boundaryStatement: 29, boundaryStartStatement: 30, boundaryStopStatement: 31, boundaryStart: 32, LBRACE: 33, ENTERPRISE_BOUNDARY: 34, attributes: 35, SYSTEM_BOUNDARY: 36, BOUNDARY: 37, CONTAINER_BOUNDARY: 38, NODE: 39, NODE_L: 40, NODE_R: 41, RBRACE: 42, diagramStatement: 43, PERSON: 44, PERSON_EXT: 45, SYSTEM: 46, SYSTEM_DB: 47, SYSTEM_QUEUE: 48, SYSTEM_EXT: 49, SYSTEM_EXT_DB: 50, SYSTEM_EXT_QUEUE: 51, CONTAINER: 52, CONTAINER_DB: 53, CONTAINER_QUEUE: 54, CONTAINER_EXT: 55, CONTAINER_EXT_DB: 56, CONTAINER_EXT_QUEUE: 57, COMPONENT: 58, COMPONENT_DB: 59, COMPONENT_QUEUE: 60, COMPONENT_EXT: 61, COMPONENT_EXT_DB: 62, COMPONENT_EXT_QUEUE: 63, REL: 64, BIREL: 65, REL_U: 66, REL_D: 67, REL_L: 68, REL_R: 69, REL_B: 70, REL_INDEX: 71, UPDATE_EL_STYLE: 72, UPDATE_REL_STYLE: 73, UPDATE_LAYOUT_CONFIG: 74, attribute: 75, STR: 76, STR_KEY: 77, STR_VALUE: 78, ATTRIBUTE: 79, ATTRIBUTE_EMPTY: 80, $accept: 0, $end: 1 },
13
12
  terminals_: { 2: "error", 6: "direction_tb", 7: "direction_bt", 8: "direction_rl", 9: "direction_lr", 11: "C4_CONTEXT", 12: "NEWLINE", 14: "EOF", 15: "C4_CONTAINER", 16: "C4_COMPONENT", 17: "C4_DYNAMIC", 18: "C4_DEPLOYMENT", 22: "title", 23: "accDescription", 24: "acc_title", 25: "acc_title_value", 26: "acc_descr", 27: "acc_descr_value", 28: "acc_descr_multiline_value", 33: "LBRACE", 34: "ENTERPRISE_BOUNDARY", 36: "SYSTEM_BOUNDARY", 37: "BOUNDARY", 38: "CONTAINER_BOUNDARY", 39: "NODE", 40: "NODE_L", 41: "NODE_R", 42: "RBRACE", 44: "PERSON", 45: "PERSON_EXT", 46: "SYSTEM", 47: "SYSTEM_DB", 48: "SYSTEM_QUEUE", 49: "SYSTEM_EXT", 50: "SYSTEM_EXT_DB", 51: "SYSTEM_EXT_QUEUE", 52: "CONTAINER", 53: "CONTAINER_DB", 54: "CONTAINER_QUEUE", 55: "CONTAINER_EXT", 56: "CONTAINER_EXT_DB", 57: "CONTAINER_EXT_QUEUE", 58: "COMPONENT", 59: "COMPONENT_DB", 60: "COMPONENT_QUEUE", 61: "COMPONENT_EXT", 62: "COMPONENT_EXT_DB", 63: "COMPONENT_EXT_QUEUE", 64: "REL", 65: "BIREL", 66: "REL_U", 67: "REL_D", 68: "REL_L", 69: "REL_R", 70: "REL_B", 71: "REL_INDEX", 72: "UPDATE_EL_STYLE", 73: "UPDATE_REL_STYLE", 74: "UPDATE_LAYOUT_CONFIG", 76: "STR", 77: "STR_KEY", 78: "STR_VALUE", 79: "ATTRIBUTE", 80: "ATTRIBUTE_EMPTY" },
14
13
  productions_: [0, [3, 1], [3, 1], [5, 1], [5, 1], [5, 1], [5, 1], [4, 1], [10, 4], [10, 4], [10, 4], [10, 4], [10, 4], [13, 1], [13, 1], [13, 2], [19, 1], [19, 2], [19, 3], [21, 1], [21, 1], [21, 2], [21, 2], [21, 1], [29, 3], [30, 3], [30, 3], [30, 4], [32, 2], [32, 2], [32, 2], [32, 2], [32, 2], [32, 2], [32, 2], [31, 1], [20, 1], [20, 2], [20, 3], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 1], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [35, 1], [35, 2], [75, 1], [75, 2], [75, 1], [75, 1]],
15
- performAction: function(_, x, m, g, T, u, Tt) {
16
- var y = u.length - 1;
17
- switch (T) {
14
+ performAction: /* @__PURE__ */ g(function(x, m, v, b, R, h, Dt) {
15
+ var f = h.length - 1;
16
+ switch (R) {
18
17
  case 3:
19
- g.setDirection("TB");
18
+ b.setDirection("TB");
20
19
  break;
21
20
  case 4:
22
- g.setDirection("BT");
21
+ b.setDirection("BT");
23
22
  break;
24
23
  case 5:
25
- g.setDirection("RL");
24
+ b.setDirection("RL");
26
25
  break;
27
26
  case 6:
28
- g.setDirection("LR");
27
+ b.setDirection("LR");
29
28
  break;
30
29
  case 8:
31
30
  case 9:
32
31
  case 10:
33
32
  case 11:
34
33
  case 12:
35
- g.setC4Type(u[y - 3]);
34
+ b.setC4Type(h[f - 3]);
36
35
  break;
37
36
  case 19:
38
- g.setTitle(u[y].substring(6)), this.$ = u[y].substring(6);
37
+ b.setTitle(h[f].substring(6)), this.$ = h[f].substring(6);
39
38
  break;
40
39
  case 20:
41
- g.setAccDescription(u[y].substring(15)), this.$ = u[y].substring(15);
40
+ b.setAccDescription(h[f].substring(15)), this.$ = h[f].substring(15);
42
41
  break;
43
42
  case 21:
44
- this.$ = u[y].trim(), g.setTitle(this.$);
43
+ this.$ = h[f].trim(), b.setTitle(this.$);
45
44
  break;
46
45
  case 22:
47
46
  case 23:
48
- this.$ = u[y].trim(), g.setAccDescription(this.$);
47
+ this.$ = h[f].trim(), b.setAccDescription(this.$);
49
48
  break;
50
49
  case 28:
50
+ h[f].splice(2, 0, "ENTERPRISE"), b.addPersonOrSystemBoundary(...h[f]), this.$ = h[f];
51
+ break;
51
52
  case 29:
52
- u[y].splice(2, 0, "ENTERPRISE"), g.addPersonOrSystemBoundary(...u[y]), this.$ = u[y];
53
+ h[f].splice(2, 0, "SYSTEM"), b.addPersonOrSystemBoundary(...h[f]), this.$ = h[f];
53
54
  break;
54
55
  case 30:
55
- g.addPersonOrSystemBoundary(...u[y]), this.$ = u[y];
56
+ b.addPersonOrSystemBoundary(...h[f]), this.$ = h[f];
56
57
  break;
57
58
  case 31:
58
- u[y].splice(2, 0, "CONTAINER"), g.addContainerBoundary(...u[y]), this.$ = u[y];
59
+ h[f].splice(2, 0, "CONTAINER"), b.addContainerBoundary(...h[f]), this.$ = h[f];
59
60
  break;
60
61
  case 32:
61
- g.addDeploymentNode("node", ...u[y]), this.$ = u[y];
62
+ b.addDeploymentNode("node", ...h[f]), this.$ = h[f];
62
63
  break;
63
64
  case 33:
64
- g.addDeploymentNode("nodeL", ...u[y]), this.$ = u[y];
65
+ b.addDeploymentNode("nodeL", ...h[f]), this.$ = h[f];
65
66
  break;
66
67
  case 34:
67
- g.addDeploymentNode("nodeR", ...u[y]), this.$ = u[y];
68
+ b.addDeploymentNode("nodeR", ...h[f]), this.$ = h[f];
68
69
  break;
69
70
  case 35:
70
- g.popBoundaryParseStack();
71
+ b.popBoundaryParseStack();
71
72
  break;
72
73
  case 39:
73
- g.addPersonOrSystem("person", ...u[y]), this.$ = u[y];
74
+ b.addPersonOrSystem("person", ...h[f]), this.$ = h[f];
74
75
  break;
75
76
  case 40:
76
- g.addPersonOrSystem("external_person", ...u[y]), this.$ = u[y];
77
+ b.addPersonOrSystem("external_person", ...h[f]), this.$ = h[f];
77
78
  break;
78
79
  case 41:
79
- g.addPersonOrSystem("system", ...u[y]), this.$ = u[y];
80
+ b.addPersonOrSystem("system", ...h[f]), this.$ = h[f];
80
81
  break;
81
82
  case 42:
82
- g.addPersonOrSystem("system_db", ...u[y]), this.$ = u[y];
83
+ b.addPersonOrSystem("system_db", ...h[f]), this.$ = h[f];
83
84
  break;
84
85
  case 43:
85
- g.addPersonOrSystem("system_queue", ...u[y]), this.$ = u[y];
86
+ b.addPersonOrSystem("system_queue", ...h[f]), this.$ = h[f];
86
87
  break;
87
88
  case 44:
88
- g.addPersonOrSystem("external_system", ...u[y]), this.$ = u[y];
89
+ b.addPersonOrSystem("external_system", ...h[f]), this.$ = h[f];
89
90
  break;
90
91
  case 45:
91
- g.addPersonOrSystem("external_system_db", ...u[y]), this.$ = u[y];
92
+ b.addPersonOrSystem("external_system_db", ...h[f]), this.$ = h[f];
92
93
  break;
93
94
  case 46:
94
- g.addPersonOrSystem("external_system_queue", ...u[y]), this.$ = u[y];
95
+ b.addPersonOrSystem("external_system_queue", ...h[f]), this.$ = h[f];
95
96
  break;
96
97
  case 47:
97
- g.addContainer("container", ...u[y]), this.$ = u[y];
98
+ b.addContainer("container", ...h[f]), this.$ = h[f];
98
99
  break;
99
100
  case 48:
100
- g.addContainer("container_db", ...u[y]), this.$ = u[y];
101
+ b.addContainer("container_db", ...h[f]), this.$ = h[f];
101
102
  break;
102
103
  case 49:
103
- g.addContainer("container_queue", ...u[y]), this.$ = u[y];
104
+ b.addContainer("container_queue", ...h[f]), this.$ = h[f];
104
105
  break;
105
106
  case 50:
106
- g.addContainer("external_container", ...u[y]), this.$ = u[y];
107
+ b.addContainer("external_container", ...h[f]), this.$ = h[f];
107
108
  break;
108
109
  case 51:
109
- g.addContainer("external_container_db", ...u[y]), this.$ = u[y];
110
+ b.addContainer("external_container_db", ...h[f]), this.$ = h[f];
110
111
  break;
111
112
  case 52:
112
- g.addContainer("external_container_queue", ...u[y]), this.$ = u[y];
113
+ b.addContainer("external_container_queue", ...h[f]), this.$ = h[f];
113
114
  break;
114
115
  case 53:
115
- g.addComponent("component", ...u[y]), this.$ = u[y];
116
+ b.addComponent("component", ...h[f]), this.$ = h[f];
116
117
  break;
117
118
  case 54:
118
- g.addComponent("component_db", ...u[y]), this.$ = u[y];
119
+ b.addComponent("component_db", ...h[f]), this.$ = h[f];
119
120
  break;
120
121
  case 55:
121
- g.addComponent("component_queue", ...u[y]), this.$ = u[y];
122
+ b.addComponent("component_queue", ...h[f]), this.$ = h[f];
122
123
  break;
123
124
  case 56:
124
- g.addComponent("external_component", ...u[y]), this.$ = u[y];
125
+ b.addComponent("external_component", ...h[f]), this.$ = h[f];
125
126
  break;
126
127
  case 57:
127
- g.addComponent("external_component_db", ...u[y]), this.$ = u[y];
128
+ b.addComponent("external_component_db", ...h[f]), this.$ = h[f];
128
129
  break;
129
130
  case 58:
130
- g.addComponent("external_component_queue", ...u[y]), this.$ = u[y];
131
+ b.addComponent("external_component_queue", ...h[f]), this.$ = h[f];
131
132
  break;
132
133
  case 60:
133
- g.addRel("rel", ...u[y]), this.$ = u[y];
134
+ b.addRel("rel", ...h[f]), this.$ = h[f];
134
135
  break;
135
136
  case 61:
136
- g.addRel("birel", ...u[y]), this.$ = u[y];
137
+ b.addRel("birel", ...h[f]), this.$ = h[f];
137
138
  break;
138
139
  case 62:
139
- g.addRel("rel_u", ...u[y]), this.$ = u[y];
140
+ b.addRel("rel_u", ...h[f]), this.$ = h[f];
140
141
  break;
141
142
  case 63:
142
- g.addRel("rel_d", ...u[y]), this.$ = u[y];
143
+ b.addRel("rel_d", ...h[f]), this.$ = h[f];
143
144
  break;
144
145
  case 64:
145
- g.addRel("rel_l", ...u[y]), this.$ = u[y];
146
+ b.addRel("rel_l", ...h[f]), this.$ = h[f];
146
147
  break;
147
148
  case 65:
148
- g.addRel("rel_r", ...u[y]), this.$ = u[y];
149
+ b.addRel("rel_r", ...h[f]), this.$ = h[f];
149
150
  break;
150
151
  case 66:
151
- g.addRel("rel_b", ...u[y]), this.$ = u[y];
152
+ b.addRel("rel_b", ...h[f]), this.$ = h[f];
152
153
  break;
153
154
  case 67:
154
- u[y].splice(0, 1), g.addRel("rel", ...u[y]), this.$ = u[y];
155
+ h[f].splice(0, 1), b.addRel("rel", ...h[f]), this.$ = h[f];
155
156
  break;
156
157
  case 68:
157
- g.updateElStyle("update_el_style", ...u[y]), this.$ = u[y];
158
+ b.updateElStyle("update_el_style", ...h[f]), this.$ = h[f];
158
159
  break;
159
160
  case 69:
160
- g.updateRelStyle("update_rel_style", ...u[y]), this.$ = u[y];
161
+ b.updateRelStyle("update_rel_style", ...h[f]), this.$ = h[f];
161
162
  break;
162
163
  case 70:
163
- g.updateLayoutConfig("update_layout_config", ...u[y]), this.$ = u[y];
164
+ b.updateLayoutConfig("update_layout_config", ...h[f]), this.$ = h[f];
164
165
  break;
165
166
  case 71:
166
- this.$ = [u[y]];
167
+ this.$ = [h[f]];
167
168
  break;
168
169
  case 72:
169
- u[y].unshift(u[y - 1]), this.$ = u[y];
170
+ h[f].unshift(h[f - 1]), this.$ = h[f];
170
171
  break;
171
172
  case 73:
172
173
  case 75:
173
- this.$ = u[y].trim();
174
+ this.$ = h[f].trim();
174
175
  break;
175
176
  case 74:
176
177
  let Et = {};
177
- Et[u[y - 1].trim()] = u[y].trim(), this.$ = Et;
178
+ Et[h[f - 1].trim()] = h[f].trim(), this.$ = Et;
178
179
  break;
179
180
  case 76:
180
181
  this.$ = "";
181
182
  break;
182
183
  }
183
- },
184
- table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 7: [1, 6], 8: [1, 7], 9: [1, 8], 10: 4, 11: [1, 9], 15: [1, 10], 16: [1, 11], 17: [1, 12], 18: [1, 13] }, { 1: [3] }, { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 7] }, { 1: [2, 3] }, { 1: [2, 4] }, { 1: [2, 5] }, { 1: [2, 6] }, { 12: [1, 14] }, { 12: [1, 15] }, { 12: [1, 16] }, { 12: [1, 17] }, { 12: [1, 18] }, { 13: 19, 19: 20, 20: 21, 21: 22, 22: t, 23: a, 24: o, 26: l, 28: i, 29: 49, 30: 61, 32: 62, 34: s, 36: r, 37: n, 38: h, 39: f, 40: d, 41: p, 43: 23, 44: E, 45: O, 46: R, 47: S, 48: L, 49: Y, 50: Q, 51: H, 52: q, 53: G, 54: K, 55: J, 56: Z, 57: $, 58: tt, 59: et, 60: it, 61: nt, 62: st, 63: at, 64: rt, 65: lt, 66: ot, 67: ct, 68: ht, 69: ut, 70: dt, 71: ft, 72: pt, 73: yt, 74: gt }, { 13: 70, 19: 20, 20: 21, 21: 22, 22: t, 23: a, 24: o, 26: l, 28: i, 29: 49, 30: 61, 32: 62, 34: s, 36: r, 37: n, 38: h, 39: f, 40: d, 41: p, 43: 23, 44: E, 45: O, 46: R, 47: S, 48: L, 49: Y, 50: Q, 51: H, 52: q, 53: G, 54: K, 55: J, 56: Z, 57: $, 58: tt, 59: et, 60: it, 61: nt, 62: st, 63: at, 64: rt, 65: lt, 66: ot, 67: ct, 68: ht, 69: ut, 70: dt, 71: ft, 72: pt, 73: yt, 74: gt }, { 13: 71, 19: 20, 20: 21, 21: 22, 22: t, 23: a, 24: o, 26: l, 28: i, 29: 49, 30: 61, 32: 62, 34: s, 36: r, 37: n, 38: h, 39: f, 40: d, 41: p, 43: 23, 44: E, 45: O, 46: R, 47: S, 48: L, 49: Y, 50: Q, 51: H, 52: q, 53: G, 54: K, 55: J, 56: Z, 57: $, 58: tt, 59: et, 60: it, 61: nt, 62: st, 63: at, 64: rt, 65: lt, 66: ot, 67: ct, 68: ht, 69: ut, 70: dt, 71: ft, 72: pt, 73: yt, 74: gt }, { 13: 72, 19: 20, 20: 21, 21: 22, 22: t, 23: a, 24: o, 26: l, 28: i, 29: 49, 30: 61, 32: 62, 34: s, 36: r, 37: n, 38: h, 39: f, 40: d, 41: p, 43: 23, 44: E, 45: O, 46: R, 47: S, 48: L, 49: Y, 50: Q, 51: H, 52: q, 53: G, 54: K, 55: J, 56: Z, 57: $, 58: tt, 59: et, 60: it, 61: nt, 62: st, 63: at, 64: rt, 65: lt, 66: ot, 67: ct, 68: ht, 69: ut, 70: dt, 71: ft, 72: pt, 73: yt, 74: gt }, { 13: 73, 19: 20, 20: 21, 21: 22, 22: t, 23: a, 24: o, 26: l, 28: i, 29: 49, 30: 61, 32: 62, 34: s, 36: r, 37: n, 38: h, 39: f, 40: d, 41: p, 43: 23, 44: E, 45: O, 46: R, 47: S, 48: L, 49: Y, 50: Q, 51: H, 52: q, 53: G, 54: K, 55: J, 56: Z, 57: $, 58: tt, 59: et, 60: it, 61: nt, 62: st, 63: at, 64: rt, 65: lt, 66: ot, 67: ct, 68: ht, 69: ut, 70: dt, 71: ft, 72: pt, 73: yt, 74: gt }, { 14: [1, 74] }, e(At, [2, 13], { 43: 23, 29: 49, 30: 61, 32: 62, 20: 75, 34: s, 36: r, 37: n, 38: h, 39: f, 40: d, 41: p, 44: E, 45: O, 46: R, 47: S, 48: L, 49: Y, 50: Q, 51: H, 52: q, 53: G, 54: K, 55: J, 56: Z, 57: $, 58: tt, 59: et, 60: it, 61: nt, 62: st, 63: at, 64: rt, 65: lt, 66: ot, 67: ct, 68: ht, 69: ut, 70: dt, 71: ft, 72: pt, 73: yt, 74: gt }), e(At, [2, 14]), e(Vt, [2, 16], { 12: [1, 76] }), e(At, [2, 36], { 12: [1, 77] }), e(Ot, [2, 19]), e(Ot, [2, 20]), { 25: [1, 78] }, { 27: [1, 79] }, e(Ot, [2, 23]), { 35: 80, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 86, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 87, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 88, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 89, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 90, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 91, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 92, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 93, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 94, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 95, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 96, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 97, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 98, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 99, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 100, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 101, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 102, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 103, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 104, 75: 81, 76: v, 77: k, 79: A, 80: C }, e(w, [2, 59]), { 35: 105, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 106, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 107, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 108, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 109, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 110, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 111, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 112, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 113, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 114, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 115, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 20: 116, 29: 49, 30: 61, 32: 62, 34: s, 36: r, 37: n, 38: h, 39: f, 40: d, 41: p, 43: 23, 44: E, 45: O, 46: R, 47: S, 48: L, 49: Y, 50: Q, 51: H, 52: q, 53: G, 54: K, 55: J, 56: Z, 57: $, 58: tt, 59: et, 60: it, 61: nt, 62: st, 63: at, 64: rt, 65: lt, 66: ot, 67: ct, 68: ht, 69: ut, 70: dt, 71: ft, 72: pt, 73: yt, 74: gt }, { 12: [1, 118], 33: [1, 117] }, { 35: 119, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 120, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 121, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 122, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 123, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 124, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 35: 125, 75: 81, 76: v, 77: k, 79: A, 80: C }, { 14: [1, 126] }, { 14: [1, 127] }, { 14: [1, 128] }, { 14: [1, 129] }, { 1: [2, 8] }, e(At, [2, 15]), e(Vt, [2, 17], { 21: 22, 19: 130, 22: t, 23: a, 24: o, 26: l, 28: i }), e(At, [2, 37], { 19: 20, 20: 21, 21: 22, 43: 23, 29: 49, 30: 61, 32: 62, 13: 131, 22: t, 23: a, 24: o, 26: l, 28: i, 34: s, 36: r, 37: n, 38: h, 39: f, 40: d, 41: p, 44: E, 45: O, 46: R, 47: S, 48: L, 49: Y, 50: Q, 51: H, 52: q, 53: G, 54: K, 55: J, 56: Z, 57: $, 58: tt, 59: et, 60: it, 61: nt, 62: st, 63: at, 64: rt, 65: lt, 66: ot, 67: ct, 68: ht, 69: ut, 70: dt, 71: ft, 72: pt, 73: yt, 74: gt }), e(Ot, [2, 21]), e(Ot, [2, 22]), e(w, [2, 39]), e(ne, [2, 71], { 75: 81, 35: 132, 76: v, 77: k, 79: A, 80: C }), e(Pt, [2, 73]), { 78: [1, 133] }, e(Pt, [2, 75]), e(Pt, [2, 76]), e(w, [2, 40]), e(w, [2, 41]), e(w, [2, 42]), e(w, [2, 43]), e(w, [2, 44]), e(w, [2, 45]), e(w, [2, 46]), e(w, [2, 47]), e(w, [2, 48]), e(w, [2, 49]), e(w, [2, 50]), e(w, [2, 51]), e(w, [2, 52]), e(w, [2, 53]), e(w, [2, 54]), e(w, [2, 55]), e(w, [2, 56]), e(w, [2, 57]), e(w, [2, 58]), e(w, [2, 60]), e(w, [2, 61]), e(w, [2, 62]), e(w, [2, 63]), e(w, [2, 64]), e(w, [2, 65]), e(w, [2, 66]), e(w, [2, 67]), e(w, [2, 68]), e(w, [2, 69]), e(w, [2, 70]), { 31: 134, 42: [1, 135] }, { 12: [1, 136] }, { 33: [1, 137] }, e(mt, [2, 28]), e(mt, [2, 29]), e(mt, [2, 30]), e(mt, [2, 31]), e(mt, [2, 32]), e(mt, [2, 33]), e(mt, [2, 34]), { 1: [2, 9] }, { 1: [2, 10] }, { 1: [2, 11] }, { 1: [2, 12] }, e(Vt, [2, 18]), e(At, [2, 38]), e(ne, [2, 72]), e(Pt, [2, 74]), e(w, [2, 24]), e(w, [2, 35]), e(zt, [2, 25]), e(zt, [2, 26], { 12: [1, 138] }), e(zt, [2, 27])],
184
+ }, "anonymous"),
185
+ table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 7: [1, 6], 8: [1, 7], 9: [1, 8], 10: 4, 11: [1, 9], 15: [1, 10], 16: [1, 11], 17: [1, 12], 18: [1, 13] }, { 1: [3] }, { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 7] }, { 1: [2, 3] }, { 1: [2, 4] }, { 1: [2, 5] }, { 1: [2, 6] }, { 12: [1, 14] }, { 12: [1, 15] }, { 12: [1, 16] }, { 12: [1, 17] }, { 12: [1, 18] }, { 13: 19, 19: 20, 20: 21, 21: 22, 22: t, 23: s, 24: o, 26: l, 28: a, 29: 49, 30: 61, 32: 62, 34: r, 36: n, 37: i, 38: u, 39: d, 40: y, 41: p, 43: 23, 44: E, 45: O, 46: S, 47: P, 48: M, 49: U, 50: H, 51: q, 52: G, 53: K, 54: J, 55: Z, 56: $, 57: tt, 58: et, 59: at, 60: it, 61: nt, 62: rt, 63: st, 64: lt, 65: ot, 66: ct, 67: ht, 68: ut, 69: dt, 70: ft, 71: pt, 72: yt, 73: gt, 74: bt }, { 13: 70, 19: 20, 20: 21, 21: 22, 22: t, 23: s, 24: o, 26: l, 28: a, 29: 49, 30: 61, 32: 62, 34: r, 36: n, 37: i, 38: u, 39: d, 40: y, 41: p, 43: 23, 44: E, 45: O, 46: S, 47: P, 48: M, 49: U, 50: H, 51: q, 52: G, 53: K, 54: J, 55: Z, 56: $, 57: tt, 58: et, 59: at, 60: it, 61: nt, 62: rt, 63: st, 64: lt, 65: ot, 66: ct, 67: ht, 68: ut, 69: dt, 70: ft, 71: pt, 72: yt, 73: gt, 74: bt }, { 13: 71, 19: 20, 20: 21, 21: 22, 22: t, 23: s, 24: o, 26: l, 28: a, 29: 49, 30: 61, 32: 62, 34: r, 36: n, 37: i, 38: u, 39: d, 40: y, 41: p, 43: 23, 44: E, 45: O, 46: S, 47: P, 48: M, 49: U, 50: H, 51: q, 52: G, 53: K, 54: J, 55: Z, 56: $, 57: tt, 58: et, 59: at, 60: it, 61: nt, 62: rt, 63: st, 64: lt, 65: ot, 66: ct, 67: ht, 68: ut, 69: dt, 70: ft, 71: pt, 72: yt, 73: gt, 74: bt }, { 13: 72, 19: 20, 20: 21, 21: 22, 22: t, 23: s, 24: o, 26: l, 28: a, 29: 49, 30: 61, 32: 62, 34: r, 36: n, 37: i, 38: u, 39: d, 40: y, 41: p, 43: 23, 44: E, 45: O, 46: S, 47: P, 48: M, 49: U, 50: H, 51: q, 52: G, 53: K, 54: J, 55: Z, 56: $, 57: tt, 58: et, 59: at, 60: it, 61: nt, 62: rt, 63: st, 64: lt, 65: ot, 66: ct, 67: ht, 68: ut, 69: dt, 70: ft, 71: pt, 72: yt, 73: gt, 74: bt }, { 13: 73, 19: 20, 20: 21, 21: 22, 22: t, 23: s, 24: o, 26: l, 28: a, 29: 49, 30: 61, 32: 62, 34: r, 36: n, 37: i, 38: u, 39: d, 40: y, 41: p, 43: 23, 44: E, 45: O, 46: S, 47: P, 48: M, 49: U, 50: H, 51: q, 52: G, 53: K, 54: J, 55: Z, 56: $, 57: tt, 58: et, 59: at, 60: it, 61: nt, 62: rt, 63: st, 64: lt, 65: ot, 66: ct, 67: ht, 68: ut, 69: dt, 70: ft, 71: pt, 72: yt, 73: gt, 74: bt }, { 14: [1, 74] }, e(Ct, [2, 13], { 43: 23, 29: 49, 30: 61, 32: 62, 20: 75, 34: r, 36: n, 37: i, 38: u, 39: d, 40: y, 41: p, 44: E, 45: O, 46: S, 47: P, 48: M, 49: U, 50: H, 51: q, 52: G, 53: K, 54: J, 55: Z, 56: $, 57: tt, 58: et, 59: at, 60: it, 61: nt, 62: rt, 63: st, 64: lt, 65: ot, 66: ct, 67: ht, 68: ut, 69: dt, 70: ft, 71: pt, 72: yt, 73: gt, 74: bt }), e(Ct, [2, 14]), e(Qt, [2, 16], { 12: [1, 76] }), e(Ct, [2, 36], { 12: [1, 77] }), e(St, [2, 19]), e(St, [2, 20]), { 25: [1, 78] }, { 27: [1, 79] }, e(St, [2, 23]), { 35: 80, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 86, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 87, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 88, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 89, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 90, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 91, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 92, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 93, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 94, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 95, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 96, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 97, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 98, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 99, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 100, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 101, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 102, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 103, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 104, 75: 81, 76: k, 77: A, 79: C, 80: w }, e(T, [2, 59]), { 35: 105, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 106, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 107, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 108, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 109, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 110, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 111, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 112, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 113, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 114, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 115, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 20: 116, 29: 49, 30: 61, 32: 62, 34: r, 36: n, 37: i, 38: u, 39: d, 40: y, 41: p, 43: 23, 44: E, 45: O, 46: S, 47: P, 48: M, 49: U, 50: H, 51: q, 52: G, 53: K, 54: J, 55: Z, 56: $, 57: tt, 58: et, 59: at, 60: it, 61: nt, 62: rt, 63: st, 64: lt, 65: ot, 66: ct, 67: ht, 68: ut, 69: dt, 70: ft, 71: pt, 72: yt, 73: gt, 74: bt }, { 12: [1, 118], 33: [1, 117] }, { 35: 119, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 120, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 121, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 122, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 123, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 124, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 35: 125, 75: 81, 76: k, 77: A, 79: C, 80: w }, { 14: [1, 126] }, { 14: [1, 127] }, { 14: [1, 128] }, { 14: [1, 129] }, { 1: [2, 8] }, e(Ct, [2, 15]), e(Qt, [2, 17], { 21: 22, 19: 130, 22: t, 23: s, 24: o, 26: l, 28: a }), e(Ct, [2, 37], { 19: 20, 20: 21, 21: 22, 43: 23, 29: 49, 30: 61, 32: 62, 13: 131, 22: t, 23: s, 24: o, 26: l, 28: a, 34: r, 36: n, 37: i, 38: u, 39: d, 40: y, 41: p, 44: E, 45: O, 46: S, 47: P, 48: M, 49: U, 50: H, 51: q, 52: G, 53: K, 54: J, 55: Z, 56: $, 57: tt, 58: et, 59: at, 60: it, 61: nt, 62: rt, 63: st, 64: lt, 65: ot, 66: ct, 67: ht, 68: ut, 69: dt, 70: ft, 71: pt, 72: yt, 73: gt, 74: bt }), e(St, [2, 21]), e(St, [2, 22]), e(T, [2, 39]), e(le, [2, 71], { 75: 81, 35: 132, 76: k, 77: A, 79: C, 80: w }), e(Mt, [2, 73]), { 78: [1, 133] }, e(Mt, [2, 75]), e(Mt, [2, 76]), e(T, [2, 40]), e(T, [2, 41]), e(T, [2, 42]), e(T, [2, 43]), e(T, [2, 44]), e(T, [2, 45]), e(T, [2, 46]), e(T, [2, 47]), e(T, [2, 48]), e(T, [2, 49]), e(T, [2, 50]), e(T, [2, 51]), e(T, [2, 52]), e(T, [2, 53]), e(T, [2, 54]), e(T, [2, 55]), e(T, [2, 56]), e(T, [2, 57]), e(T, [2, 58]), e(T, [2, 60]), e(T, [2, 61]), e(T, [2, 62]), e(T, [2, 63]), e(T, [2, 64]), e(T, [2, 65]), e(T, [2, 66]), e(T, [2, 67]), e(T, [2, 68]), e(T, [2, 69]), e(T, [2, 70]), { 31: 134, 42: [1, 135] }, { 12: [1, 136] }, { 33: [1, 137] }, e(vt, [2, 28]), e(vt, [2, 29]), e(vt, [2, 30]), e(vt, [2, 31]), e(vt, [2, 32]), e(vt, [2, 33]), e(vt, [2, 34]), { 1: [2, 9] }, { 1: [2, 10] }, { 1: [2, 11] }, { 1: [2, 12] }, e(Qt, [2, 18]), e(Ct, [2, 38]), e(le, [2, 72]), e(Mt, [2, 74]), e(T, [2, 24]), e(T, [2, 35]), e(Ht, [2, 25]), e(Ht, [2, 26], { 12: [1, 138] }), e(Ht, [2, 27])],
185
186
  defaultActions: { 2: [2, 1], 3: [2, 2], 4: [2, 7], 5: [2, 3], 6: [2, 4], 7: [2, 5], 8: [2, 6], 74: [2, 8], 126: [2, 9], 127: [2, 10], 128: [2, 11], 129: [2, 12] },
186
- parseError: function(_, x) {
187
- if (x.recoverable)
188
- this.trace(_);
187
+ parseError: /* @__PURE__ */ g(function(x, m) {
188
+ if (m.recoverable)
189
+ this.trace(x);
189
190
  else {
190
- var m = new Error(_);
191
- throw m.hash = x, m;
191
+ var v = new Error(x);
192
+ throw v.hash = m, v;
193
+ }
194
+ }, "parseError"),
195
+ parse: /* @__PURE__ */ g(function(x) {
196
+ var m = this, v = [0], b = [], R = [null], h = [], Dt = this.table, f = "", Et = 0, oe = 0, we = 2, ce = 1, Te = h.slice.call(arguments, 1), D = Object.create(this.lexer), kt = { yy: {} };
197
+ for (var Gt in this.yy)
198
+ Object.prototype.hasOwnProperty.call(this.yy, Gt) && (kt.yy[Gt] = this.yy[Gt]);
199
+ D.setInput(x, kt.yy), kt.yy.lexer = D, kt.yy.parser = this, typeof D.yylloc > "u" && (D.yylloc = {});
200
+ var Kt = D.yylloc;
201
+ h.push(Kt);
202
+ var Oe = D.options && D.options.ranges;
203
+ typeof kt.yy.parseError == "function" ? this.parseError = kt.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
204
+ function Re(L) {
205
+ v.length = v.length - 2 * L, R.length = R.length - L, h.length = h.length - L;
192
206
  }
193
- },
194
- parse: function(_) {
195
- var x = this, m = [0], g = [], T = [null], u = [], Tt = this.table, y = "", Et = 0, se = 0, ve = 2, ae = 1, ke = u.slice.call(arguments, 1), D = Object.create(this.lexer), vt = { yy: {} };
196
- for (var Qt in this.yy)
197
- Object.prototype.hasOwnProperty.call(this.yy, Qt) && (vt.yy[Qt] = this.yy[Qt]);
198
- D.setInput(_, vt.yy), vt.yy.lexer = D, vt.yy.parser = this, typeof D.yylloc > "u" && (D.yylloc = {});
199
- var Ht = D.yylloc;
200
- u.push(Ht);
201
- var Ae = D.options && D.options.ranges;
202
- typeof vt.yy.parseError == "function" ? this.parseError = vt.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
203
- function Ce() {
204
- var X;
205
- return X = g.pop() || D.lex() || ae, typeof X != "number" && (X instanceof Array && (g = X, X = g.pop()), X = x.symbols_[X] || X), X;
207
+ g(Re, "popStack");
208
+ function he() {
209
+ var L;
210
+ return L = b.pop() || D.lex() || ce, typeof L != "number" && (L instanceof Array && (b = L, L = b.pop()), L = m.symbols_[L] || L), L;
206
211
  }
207
- for (var M, kt, N, qt, Ct = {}, Mt, z, re, Lt; ; ) {
208
- if (kt = m[m.length - 1], this.defaultActions[kt] ? N = this.defaultActions[kt] : ((M === null || typeof M > "u") && (M = Ce()), N = Tt[kt] && Tt[kt][M]), typeof N > "u" || !N.length || !N[0]) {
209
- var Gt = "";
210
- Lt = [];
211
- for (Mt in Tt[kt])
212
- this.terminals_[Mt] && Mt > ve && Lt.push("'" + this.terminals_[Mt] + "'");
213
- D.showPosition ? Gt = "Parse error on line " + (Et + 1) + `:
212
+ g(he, "lex");
213
+ for (var I, At, N, Jt, wt = {}, Nt, W, ue, Yt; ; ) {
214
+ if (At = v[v.length - 1], this.defaultActions[At] ? N = this.defaultActions[At] : ((I === null || typeof I > "u") && (I = he()), N = Dt[At] && Dt[At][I]), typeof N > "u" || !N.length || !N[0]) {
215
+ var Zt = "";
216
+ Yt = [];
217
+ for (Nt in Dt[At])
218
+ this.terminals_[Nt] && Nt > we && Yt.push("'" + this.terminals_[Nt] + "'");
219
+ D.showPosition ? Zt = "Parse error on line " + (Et + 1) + `:
214
220
  ` + D.showPosition() + `
215
- Expecting ` + Lt.join(", ") + ", got '" + (this.terminals_[M] || M) + "'" : Gt = "Parse error on line " + (Et + 1) + ": Unexpected " + (M == ae ? "end of input" : "'" + (this.terminals_[M] || M) + "'"), this.parseError(Gt, {
221
+ Expecting ` + Yt.join(", ") + ", got '" + (this.terminals_[I] || I) + "'" : Zt = "Parse error on line " + (Et + 1) + ": Unexpected " + (I == ce ? "end of input" : "'" + (this.terminals_[I] || I) + "'"), this.parseError(Zt, {
216
222
  text: D.match,
217
- token: this.terminals_[M] || M,
223
+ token: this.terminals_[I] || I,
218
224
  line: D.yylineno,
219
- loc: Ht,
220
- expected: Lt
225
+ loc: Kt,
226
+ expected: Yt
221
227
  });
222
228
  }
223
229
  if (N[0] instanceof Array && N.length > 1)
224
- throw new Error("Parse Error: multiple actions possible at state: " + kt + ", token: " + M);
230
+ throw new Error("Parse Error: multiple actions possible at state: " + At + ", token: " + I);
225
231
  switch (N[0]) {
226
232
  case 1:
227
- m.push(M), T.push(D.yytext), u.push(D.yylloc), m.push(N[1]), M = null, se = D.yyleng, y = D.yytext, Et = D.yylineno, Ht = D.yylloc;
233
+ v.push(I), R.push(D.yytext), h.push(D.yylloc), v.push(N[1]), I = null, oe = D.yyleng, f = D.yytext, Et = D.yylineno, Kt = D.yylloc;
228
234
  break;
229
235
  case 2:
230
- if (z = this.productions_[N[1]][1], Ct.$ = T[T.length - z], Ct._$ = {
231
- first_line: u[u.length - (z || 1)].first_line,
232
- last_line: u[u.length - 1].last_line,
233
- first_column: u[u.length - (z || 1)].first_column,
234
- last_column: u[u.length - 1].last_column
235
- }, Ae && (Ct._$.range = [
236
- u[u.length - (z || 1)].range[0],
237
- u[u.length - 1].range[1]
238
- ]), qt = this.performAction.apply(Ct, [
239
- y,
240
- se,
236
+ if (W = this.productions_[N[1]][1], wt.$ = R[R.length - W], wt._$ = {
237
+ first_line: h[h.length - (W || 1)].first_line,
238
+ last_line: h[h.length - 1].last_line,
239
+ first_column: h[h.length - (W || 1)].first_column,
240
+ last_column: h[h.length - 1].last_column
241
+ }, Oe && (wt._$.range = [
242
+ h[h.length - (W || 1)].range[0],
243
+ h[h.length - 1].range[1]
244
+ ]), Jt = this.performAction.apply(wt, [
245
+ f,
246
+ oe,
241
247
  Et,
242
- vt.yy,
248
+ kt.yy,
243
249
  N[1],
244
- T,
245
- u
246
- ].concat(ke)), typeof qt < "u")
247
- return qt;
248
- z && (m = m.slice(0, -1 * z * 2), T = T.slice(0, -1 * z), u = u.slice(0, -1 * z)), m.push(this.productions_[N[1]][0]), T.push(Ct.$), u.push(Ct._$), re = Tt[m[m.length - 2]][m[m.length - 1]], m.push(re);
250
+ R,
251
+ h
252
+ ].concat(Te)), typeof Jt < "u")
253
+ return Jt;
254
+ W && (v = v.slice(0, -1 * W * 2), R = R.slice(0, -1 * W), h = h.slice(0, -1 * W)), v.push(this.productions_[N[1]][0]), R.push(wt.$), h.push(wt._$), ue = Dt[v[v.length - 2]][v[v.length - 1]], v.push(ue);
249
255
  break;
250
256
  case 3:
251
257
  return !0;
252
258
  }
253
259
  }
254
260
  return !0;
255
- }
256
- }, Ee = /* @__PURE__ */ (function() {
257
- var bt = {
261
+ }, "parse")
262
+ }, Ce = /* @__PURE__ */ (function() {
263
+ var _t = {
258
264
  EOF: 1,
259
- parseError: function(x, m) {
265
+ parseError: /* @__PURE__ */ g(function(m, v) {
260
266
  if (this.yy.parser)
261
- this.yy.parser.parseError(x, m);
267
+ this.yy.parser.parseError(m, v);
262
268
  else
263
- throw new Error(x);
264
- },
269
+ throw new Error(m);
270
+ }, "parseError"),
265
271
  // resets the lexer, sets new input
266
- setInput: function(_, x) {
267
- return this.yy = x || this.yy || {}, this._input = _, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
272
+ setInput: /* @__PURE__ */ g(function(x, m) {
273
+ return this.yy = m || this.yy || {}, this._input = x, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
268
274
  first_line: 1,
269
275
  first_column: 0,
270
276
  last_line: 1,
271
277
  last_column: 0
272
278
  }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
273
- },
279
+ }, "setInput"),
274
280
  // consumes and returns one char from the input
275
- input: function() {
276
- var _ = this._input[0];
277
- this.yytext += _, this.yyleng++, this.offset++, this.match += _, this.matched += _;
278
- var x = _.match(/(?:\r\n?|\n).*/g);
279
- return x ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), _;
280
- },
281
+ input: /* @__PURE__ */ g(function() {
282
+ var x = this._input[0];
283
+ this.yytext += x, this.yyleng++, this.offset++, this.match += x, this.matched += x;
284
+ var m = x.match(/(?:\r\n?|\n).*/g);
285
+ return m ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), x;
286
+ }, "input"),
281
287
  // unshifts one char (or a string) into the input
282
- unput: function(_) {
283
- var x = _.length, m = _.split(/(?:\r\n?|\n)/g);
284
- this._input = _ + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - x), this.offset -= x;
285
- var g = this.match.split(/(?:\r\n?|\n)/g);
286
- this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), m.length - 1 && (this.yylineno -= m.length - 1);
287
- var T = this.yylloc.range;
288
+ unput: /* @__PURE__ */ g(function(x) {
289
+ var m = x.length, v = x.split(/(?:\r\n?|\n)/g);
290
+ this._input = x + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - m), this.offset -= m;
291
+ var b = this.match.split(/(?:\r\n?|\n)/g);
292
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), v.length - 1 && (this.yylineno -= v.length - 1);
293
+ var R = this.yylloc.range;
288
294
  return this.yylloc = {
289
295
  first_line: this.yylloc.first_line,
290
296
  last_line: this.yylineno + 1,
291
297
  first_column: this.yylloc.first_column,
292
- last_column: m ? (m.length === g.length ? this.yylloc.first_column : 0) + g[g.length - m.length].length - m[0].length : this.yylloc.first_column - x
293
- }, this.options.ranges && (this.yylloc.range = [T[0], T[0] + this.yyleng - x]), this.yyleng = this.yytext.length, this;
294
- },
298
+ last_column: v ? (v.length === b.length ? this.yylloc.first_column : 0) + b[b.length - v.length].length - v[0].length : this.yylloc.first_column - m
299
+ }, this.options.ranges && (this.yylloc.range = [R[0], R[0] + this.yyleng - m]), this.yyleng = this.yytext.length, this;
300
+ }, "unput"),
295
301
  // When called from action, caches matched text and appends it on next action
296
- more: function() {
302
+ more: /* @__PURE__ */ g(function() {
297
303
  return this._more = !0, this;
298
- },
304
+ }, "more"),
299
305
  // 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.
300
- reject: function() {
306
+ reject: /* @__PURE__ */ g(function() {
301
307
  if (this.options.backtrack_lexer)
302
308
  this._backtrack = !0;
303
309
  else
@@ -308,31 +314,31 @@ Expecting ` + Lt.join(", ") + ", got '" + (this.terminals_[M] || M) + "'" : Gt =
308
314
  line: this.yylineno
309
315
  });
310
316
  return this;
311
- },
317
+ }, "reject"),
312
318
  // retain first n characters of the match
313
- less: function(_) {
314
- this.unput(this.match.slice(_));
315
- },
319
+ less: /* @__PURE__ */ g(function(x) {
320
+ this.unput(this.match.slice(x));
321
+ }, "less"),
316
322
  // displays already matched input, i.e. for error messages
317
- pastInput: function() {
318
- var _ = this.matched.substr(0, this.matched.length - this.match.length);
319
- return (_.length > 20 ? "..." : "") + _.substr(-20).replace(/\n/g, "");
320
- },
323
+ pastInput: /* @__PURE__ */ g(function() {
324
+ var x = this.matched.substr(0, this.matched.length - this.match.length);
325
+ return (x.length > 20 ? "..." : "") + x.substr(-20).replace(/\n/g, "");
326
+ }, "pastInput"),
321
327
  // displays upcoming input, i.e. for error messages
322
- upcomingInput: function() {
323
- var _ = this.match;
324
- return _.length < 20 && (_ += this._input.substr(0, 20 - _.length)), (_.substr(0, 20) + (_.length > 20 ? "..." : "")).replace(/\n/g, "");
325
- },
328
+ upcomingInput: /* @__PURE__ */ g(function() {
329
+ var x = this.match;
330
+ return x.length < 20 && (x += this._input.substr(0, 20 - x.length)), (x.substr(0, 20) + (x.length > 20 ? "..." : "")).replace(/\n/g, "");
331
+ }, "upcomingInput"),
326
332
  // displays the character position where the lexing error occurred, i.e. for error messages
327
- showPosition: function() {
328
- var _ = this.pastInput(), x = new Array(_.length + 1).join("-");
329
- return _ + this.upcomingInput() + `
330
- ` + x + "^";
331
- },
333
+ showPosition: /* @__PURE__ */ g(function() {
334
+ var x = this.pastInput(), m = new Array(x.length + 1).join("-");
335
+ return x + this.upcomingInput() + `
336
+ ` + m + "^";
337
+ }, "showPosition"),
332
338
  // test the lexed token: return FALSE when not a match, otherwise return token
333
- test_match: function(_, x) {
334
- var m, g, T;
335
- if (this.options.backtrack_lexer && (T = {
339
+ test_match: /* @__PURE__ */ g(function(x, m) {
340
+ var v, b, R;
341
+ if (this.options.backtrack_lexer && (R = {
336
342
  yylineno: this.yylineno,
337
343
  yylloc: {
338
344
  first_line: this.yylloc.first_line,
@@ -351,80 +357,80 @@ Expecting ` + Lt.join(", ") + ", got '" + (this.terminals_[M] || M) + "'" : Gt =
351
357
  yy: this.yy,
352
358
  conditionStack: this.conditionStack.slice(0),
353
359
  done: this.done
354
- }, this.options.ranges && (T.yylloc.range = this.yylloc.range.slice(0))), g = _[0].match(/(?:\r\n?|\n).*/g), g && (this.yylineno += g.length), this.yylloc = {
360
+ }, this.options.ranges && (R.yylloc.range = this.yylloc.range.slice(0))), b = x[0].match(/(?:\r\n?|\n).*/g), b && (this.yylineno += b.length), this.yylloc = {
355
361
  first_line: this.yylloc.last_line,
356
362
  last_line: this.yylineno + 1,
357
363
  first_column: this.yylloc.last_column,
358
- last_column: g ? g[g.length - 1].length - g[g.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + _[0].length
359
- }, this.yytext += _[0], this.match += _[0], this.matches = _, 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(_[0].length), this.matched += _[0], m = this.performAction.call(this, this.yy, this, x, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), m)
360
- return m;
364
+ last_column: b ? b[b.length - 1].length - b[b.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + x[0].length
365
+ }, this.yytext += x[0], this.match += x[0], this.matches = x, 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(x[0].length), this.matched += x[0], v = this.performAction.call(this, this.yy, this, m, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), v)
366
+ return v;
361
367
  if (this._backtrack) {
362
- for (var u in T)
363
- this[u] = T[u];
368
+ for (var h in R)
369
+ this[h] = R[h];
364
370
  return !1;
365
371
  }
366
372
  return !1;
367
- },
373
+ }, "test_match"),
368
374
  // return next match in input
369
- next: function() {
375
+ next: /* @__PURE__ */ g(function() {
370
376
  if (this.done)
371
377
  return this.EOF;
372
378
  this._input || (this.done = !0);
373
- var _, x, m, g;
379
+ var x, m, v, b;
374
380
  this._more || (this.yytext = "", this.match = "");
375
- for (var T = this._currentRules(), u = 0; u < T.length; u++)
376
- if (m = this._input.match(this.rules[T[u]]), m && (!x || m[0].length > x[0].length)) {
377
- if (x = m, g = u, this.options.backtrack_lexer) {
378
- if (_ = this.test_match(m, T[u]), _ !== !1)
379
- return _;
381
+ for (var R = this._currentRules(), h = 0; h < R.length; h++)
382
+ if (v = this._input.match(this.rules[R[h]]), v && (!m || v[0].length > m[0].length)) {
383
+ if (m = v, b = h, this.options.backtrack_lexer) {
384
+ if (x = this.test_match(v, R[h]), x !== !1)
385
+ return x;
380
386
  if (this._backtrack) {
381
- x = !1;
387
+ m = !1;
382
388
  continue;
383
389
  } else
384
390
  return !1;
385
391
  } else if (!this.options.flex)
386
392
  break;
387
393
  }
388
- return x ? (_ = this.test_match(x, T[g]), _ !== !1 ? _ : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
394
+ return m ? (x = this.test_match(m, R[b]), x !== !1 ? x : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
389
395
  ` + this.showPosition(), {
390
396
  text: "",
391
397
  token: null,
392
398
  line: this.yylineno
393
399
  });
394
- },
400
+ }, "next"),
395
401
  // return next match that has a token
396
- lex: function() {
397
- var x = this.next();
398
- return x || this.lex();
399
- },
402
+ lex: /* @__PURE__ */ g(function() {
403
+ var m = this.next();
404
+ return m || this.lex();
405
+ }, "lex"),
400
406
  // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
401
- begin: function(x) {
402
- this.conditionStack.push(x);
403
- },
407
+ begin: /* @__PURE__ */ g(function(m) {
408
+ this.conditionStack.push(m);
409
+ }, "begin"),
404
410
  // pop the previously active lexer condition state off the condition stack
405
- popState: function() {
406
- var x = this.conditionStack.length - 1;
407
- return x > 0 ? this.conditionStack.pop() : this.conditionStack[0];
408
- },
411
+ popState: /* @__PURE__ */ g(function() {
412
+ var m = this.conditionStack.length - 1;
413
+ return m > 0 ? this.conditionStack.pop() : this.conditionStack[0];
414
+ }, "popState"),
409
415
  // produce the lexer rule set which is active for the currently active lexer condition state
410
- _currentRules: function() {
416
+ _currentRules: /* @__PURE__ */ g(function() {
411
417
  return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
412
- },
418
+ }, "_currentRules"),
413
419
  // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
414
- topState: function(x) {
415
- return x = this.conditionStack.length - 1 - Math.abs(x || 0), x >= 0 ? this.conditionStack[x] : "INITIAL";
416
- },
420
+ topState: /* @__PURE__ */ g(function(m) {
421
+ return m = this.conditionStack.length - 1 - Math.abs(m || 0), m >= 0 ? this.conditionStack[m] : "INITIAL";
422
+ }, "topState"),
417
423
  // alias for begin(condition)
418
- pushState: function(x) {
419
- this.begin(x);
420
- },
424
+ pushState: /* @__PURE__ */ g(function(m) {
425
+ this.begin(m);
426
+ }, "pushState"),
421
427
  // return the number of states currently on the stack
422
- stateStackSize: function() {
428
+ stateStackSize: /* @__PURE__ */ g(function() {
423
429
  return this.conditionStack.length;
424
- },
430
+ }, "stateStackSize"),
425
431
  options: {},
426
- performAction: function(x, m, g, T) {
427
- switch (g) {
432
+ performAction: /* @__PURE__ */ g(function(m, v, b, R) {
433
+ switch (b) {
428
434
  case 0:
429
435
  return 6;
430
436
  case 1:
@@ -608,21 +614,20 @@ Expecting ` + Lt.join(", ") + ", got '" + (this.terminals_[M] || M) + "'" : Gt =
608
614
  case 85:
609
615
  return 14;
610
616
  }
611
- },
617
+ }, "anonymous"),
612
618
  rules: [/^(?:.*direction\s+TB[^\n]*)/, /^(?:.*direction\s+BT[^\n]*)/, /^(?:.*direction\s+RL[^\n]*)/, /^(?:.*direction\s+LR[^\n]*)/, /^(?:title\s[^#\n;]+)/, /^(?:accDescription\s[^#\n;]+)/, /^(?:accTitle\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*\{\s*)/, /^(?:[\}])/, /^(?:[^\}]*)/, /^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/, /^(?:%%[^\n]*(\r?\n)*)/, /^(?:\s*(\r?\n)+)/, /^(?:\s+)/, /^(?:C4Context\b)/, /^(?:C4Container\b)/, /^(?:C4Component\b)/, /^(?:C4Dynamic\b)/, /^(?:C4Deployment\b)/, /^(?:Person_Ext\b)/, /^(?:Person\b)/, /^(?:SystemQueue_Ext\b)/, /^(?:SystemDb_Ext\b)/, /^(?:System_Ext\b)/, /^(?:SystemQueue\b)/, /^(?:SystemDb\b)/, /^(?:System\b)/, /^(?:Boundary\b)/, /^(?:Enterprise_Boundary\b)/, /^(?:System_Boundary\b)/, /^(?:ContainerQueue_Ext\b)/, /^(?:ContainerDb_Ext\b)/, /^(?:Container_Ext\b)/, /^(?:ContainerQueue\b)/, /^(?:ContainerDb\b)/, /^(?:Container\b)/, /^(?:Container_Boundary\b)/, /^(?:ComponentQueue_Ext\b)/, /^(?:ComponentDb_Ext\b)/, /^(?:Component_Ext\b)/, /^(?:ComponentQueue\b)/, /^(?:ComponentDb\b)/, /^(?:Component\b)/, /^(?:Deployment_Node\b)/, /^(?:Node\b)/, /^(?:Node_L\b)/, /^(?:Node_R\b)/, /^(?:Rel\b)/, /^(?:BiRel\b)/, /^(?:Rel_Up\b)/, /^(?:Rel_U\b)/, /^(?:Rel_Down\b)/, /^(?:Rel_D\b)/, /^(?:Rel_Left\b)/, /^(?:Rel_L\b)/, /^(?:Rel_Right\b)/, /^(?:Rel_R\b)/, /^(?:Rel_Back\b)/, /^(?:RelIndex\b)/, /^(?:UpdateElementStyle\b)/, /^(?:UpdateRelStyle\b)/, /^(?:UpdateLayoutConfig\b)/, /^(?:$)/, /^(?:[(][ ]*[,])/, /^(?:[(])/, /^(?:[)])/, /^(?:,,)/, /^(?:,)/, /^(?:[ ]*["]["])/, /^(?:[ ]*["])/, /^(?:["])/, /^(?:[^"]*)/, /^(?:[ ]*[\$])/, /^(?:[^=]*)/, /^(?:[=][ ]*["])/, /^(?:[^"]+)/, /^(?:["])/, /^(?:[^,]+)/, /^(?:\{)/, /^(?:\})/, /^(?:[\s]+)/, /^(?:[\n\r]+)/, /^(?:$)/],
613
619
  conditions: { acc_descr_multiline: { rules: [11, 12], inclusive: !1 }, acc_descr: { rules: [9], inclusive: !1 }, acc_title: { rules: [7], inclusive: !1 }, string_kv_value: { rules: [78, 79], inclusive: !1 }, string_kv_key: { rules: [77], inclusive: !1 }, string_kv: { rules: [76], inclusive: !1 }, string: { rules: [73, 74], inclusive: !1 }, attribute: { rules: [68, 69, 70, 71, 72, 75, 80], inclusive: !1 }, update_layout_config: { rules: [65, 66, 67, 68], inclusive: !1 }, update_rel_style: { rules: [65, 66, 67, 68], inclusive: !1 }, update_el_style: { rules: [65, 66, 67, 68], inclusive: !1 }, rel_b: { rules: [65, 66, 67, 68], inclusive: !1 }, rel_r: { rules: [65, 66, 67, 68], inclusive: !1 }, rel_l: { rules: [65, 66, 67, 68], inclusive: !1 }, rel_d: { rules: [65, 66, 67, 68], inclusive: !1 }, rel_u: { rules: [65, 66, 67, 68], inclusive: !1 }, rel_bi: { rules: [], inclusive: !1 }, rel: { rules: [65, 66, 67, 68], inclusive: !1 }, node_r: { rules: [65, 66, 67, 68], inclusive: !1 }, node_l: { rules: [65, 66, 67, 68], inclusive: !1 }, node: { rules: [65, 66, 67, 68], inclusive: !1 }, index: { rules: [], inclusive: !1 }, rel_index: { rules: [65, 66, 67, 68], inclusive: !1 }, component_ext_queue: { rules: [], inclusive: !1 }, component_ext_db: { rules: [65, 66, 67, 68], inclusive: !1 }, component_ext: { rules: [65, 66, 67, 68], inclusive: !1 }, component_queue: { rules: [65, 66, 67, 68], inclusive: !1 }, component_db: { rules: [65, 66, 67, 68], inclusive: !1 }, component: { rules: [65, 66, 67, 68], inclusive: !1 }, container_boundary: { rules: [65, 66, 67, 68], inclusive: !1 }, container_ext_queue: { rules: [65, 66, 67, 68], inclusive: !1 }, container_ext_db: { rules: [65, 66, 67, 68], inclusive: !1 }, container_ext: { rules: [65, 66, 67, 68], inclusive: !1 }, container_queue: { rules: [65, 66, 67, 68], inclusive: !1 }, container_db: { rules: [65, 66, 67, 68], inclusive: !1 }, container: { rules: [65, 66, 67, 68], inclusive: !1 }, birel: { rules: [65, 66, 67, 68], inclusive: !1 }, system_boundary: { rules: [65, 66, 67, 68], inclusive: !1 }, enterprise_boundary: { rules: [65, 66, 67, 68], inclusive: !1 }, boundary: { rules: [65, 66, 67, 68], inclusive: !1 }, system_ext_queue: { rules: [65, 66, 67, 68], inclusive: !1 }, system_ext_db: { rules: [65, 66, 67, 68], inclusive: !1 }, system_ext: { rules: [65, 66, 67, 68], inclusive: !1 }, system_queue: { rules: [65, 66, 67, 68], inclusive: !1 }, system_db: { rules: [65, 66, 67, 68], inclusive: !1 }, system: { rules: [65, 66, 67, 68], inclusive: !1 }, person_ext: { rules: [65, 66, 67, 68], inclusive: !1 }, person: { rules: [65, 66, 67, 68], inclusive: !1 }, INITIAL: { rules: [0, 1, 2, 3, 4, 5, 6, 8, 10, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 81, 82, 83, 84, 85], inclusive: !0 } }
614
620
  };
615
- return bt;
621
+ return _t;
616
622
  })();
617
- Xt.lexer = Ee;
618
- function Wt() {
623
+ qt.lexer = Ce;
624
+ function Lt() {
619
625
  this.yy = {};
620
626
  }
621
- return Wt.prototype = Xt, Xt.Parser = Wt, new Wt();
627
+ return g(Lt, "Parser"), Lt.prototype = qt, qt.Parser = Lt, new Lt();
622
628
  })();
623
- Yt.parser = Yt;
624
- const Be = Yt;
625
- let U = [], _t = [""], P = "global", j = "", V = [
629
+ Ft.parser = Ft;
630
+ var Ue = Ft, V = [], xt = [""], B = "global", F = "", X = [
626
631
  {
627
632
  alias: "global",
628
633
  label: { text: "global" },
@@ -631,348 +636,346 @@ let U = [], _t = [""], P = "global", j = "", V = [
631
636
  link: null,
632
637
  parentBoundary: ""
633
638
  }
634
- ], St = [], te = "", ee = !1, It = 4, jt = 2;
635
- var de;
636
- const Ye = function() {
637
- return de;
638
- }, Ie = function(e) {
639
- de = ue(e, Dt());
640
- }, je = function(e, t, a, o, l, i, s, r, n) {
641
- if (e == null || t === void 0 || t === null || a === void 0 || a === null || o === void 0 || o === null)
639
+ ], It = [], ie = "", ne = !1, Vt = 4, zt = 2, be, Fe = /* @__PURE__ */ g(function() {
640
+ return be;
641
+ }, "getC4Type"), Ve = /* @__PURE__ */ g(function(e) {
642
+ be = ge(e, Bt());
643
+ }, "setC4Type"), ze = /* @__PURE__ */ g(function(e, t, s, o, l, a, r, n, i) {
644
+ if (e == null || t === void 0 || t === null || s === void 0 || s === null || o === void 0 || o === null)
642
645
  return;
643
- let h = {};
644
- const f = St.find((d) => d.from === t && d.to === a);
645
- if (f ? h = f : St.push(h), h.type = e, h.from = t, h.to = a, h.label = { text: o }, l == null)
646
- h.techn = { text: "" };
646
+ let u = {};
647
+ const d = It.find((y) => y.from === t && y.to === s);
648
+ if (d ? u = d : It.push(u), u.type = e, u.from = t, u.to = s, u.label = { text: o }, l == null)
649
+ u.techn = { text: "" };
647
650
  else if (typeof l == "object") {
648
- let [d, p] = Object.entries(l)[0];
649
- h[d] = { text: p };
651
+ let [y, p] = Object.entries(l)[0];
652
+ u[y] = { text: p };
650
653
  } else
651
- h.techn = { text: l };
652
- if (i == null)
653
- h.descr = { text: "" };
654
- else if (typeof i == "object") {
655
- let [d, p] = Object.entries(i)[0];
656
- h[d] = { text: p };
657
- } else
658
- h.descr = { text: i };
659
- if (typeof s == "object") {
660
- let [d, p] = Object.entries(s)[0];
661
- h[d] = p;
654
+ u.techn = { text: l };
655
+ if (a == null)
656
+ u.descr = { text: "" };
657
+ else if (typeof a == "object") {
658
+ let [y, p] = Object.entries(a)[0];
659
+ u[y] = { text: p };
662
660
  } else
663
- h.sprite = s;
661
+ u.descr = { text: a };
664
662
  if (typeof r == "object") {
665
- let [d, p] = Object.entries(r)[0];
666
- h[d] = p;
663
+ let [y, p] = Object.entries(r)[0];
664
+ u[y] = p;
667
665
  } else
668
- h.tags = r;
666
+ u.sprite = r;
669
667
  if (typeof n == "object") {
670
- let [d, p] = Object.entries(n)[0];
671
- h[d] = p;
668
+ let [y, p] = Object.entries(n)[0];
669
+ u[y] = p;
672
670
  } else
673
- h.link = n;
674
- h.wrap = xt();
675
- }, Ue = function(e, t, a, o, l, i, s) {
676
- if (t === null || a === null)
671
+ u.tags = n;
672
+ if (typeof i == "object") {
673
+ let [y, p] = Object.entries(i)[0];
674
+ u[y] = p;
675
+ } else
676
+ u.link = i;
677
+ u.wrap = mt();
678
+ }, "addRel"), Xe = /* @__PURE__ */ g(function(e, t, s, o, l, a, r) {
679
+ if (t === null || s === null)
677
680
  return;
678
- let r = {};
679
- const n = U.find((h) => h.alias === t);
680
- if (n && t === n.alias ? r = n : (r.alias = t, U.push(r)), a == null ? r.label = { text: "" } : r.label = { text: a }, o == null)
681
- r.descr = { text: "" };
681
+ let n = {};
682
+ const i = V.find((u) => u.alias === t);
683
+ if (i && t === i.alias ? n = i : (n.alias = t, V.push(n)), s == null ? n.label = { text: "" } : n.label = { text: s }, o == null)
684
+ n.descr = { text: "" };
682
685
  else if (typeof o == "object") {
683
- let [h, f] = Object.entries(o)[0];
684
- r[h] = { text: f };
686
+ let [u, d] = Object.entries(o)[0];
687
+ n[u] = { text: d };
685
688
  } else
686
- r.descr = { text: o };
689
+ n.descr = { text: o };
687
690
  if (typeof l == "object") {
688
- let [h, f] = Object.entries(l)[0];
689
- r[h] = f;
691
+ let [u, d] = Object.entries(l)[0];
692
+ n[u] = d;
690
693
  } else
691
- r.sprite = l;
692
- if (typeof i == "object") {
693
- let [h, f] = Object.entries(i)[0];
694
- r[h] = f;
694
+ n.sprite = l;
695
+ if (typeof a == "object") {
696
+ let [u, d] = Object.entries(a)[0];
697
+ n[u] = d;
695
698
  } else
696
- r.tags = i;
697
- if (typeof s == "object") {
698
- let [h, f] = Object.entries(s)[0];
699
- r[h] = f;
699
+ n.tags = a;
700
+ if (typeof r == "object") {
701
+ let [u, d] = Object.entries(r)[0];
702
+ n[u] = d;
700
703
  } else
701
- r.link = s;
702
- r.typeC4Shape = { text: e }, r.parentBoundary = P, r.wrap = xt();
703
- }, Fe = function(e, t, a, o, l, i, s, r) {
704
- if (t === null || a === null)
704
+ n.link = r;
705
+ n.typeC4Shape = { text: e }, n.parentBoundary = B, n.wrap = mt();
706
+ }, "addPersonOrSystem"), We = /* @__PURE__ */ g(function(e, t, s, o, l, a, r, n) {
707
+ if (t === null || s === null)
705
708
  return;
706
- let n = {};
707
- const h = U.find((f) => f.alias === t);
708
- if (h && t === h.alias ? n = h : (n.alias = t, U.push(n)), a == null ? n.label = { text: "" } : n.label = { text: a }, o == null)
709
- n.techn = { text: "" };
709
+ let i = {};
710
+ const u = V.find((d) => d.alias === t);
711
+ if (u && t === u.alias ? i = u : (i.alias = t, V.push(i)), s == null ? i.label = { text: "" } : i.label = { text: s }, o == null)
712
+ i.techn = { text: "" };
710
713
  else if (typeof o == "object") {
711
- let [f, d] = Object.entries(o)[0];
712
- n[f] = { text: d };
714
+ let [d, y] = Object.entries(o)[0];
715
+ i[d] = { text: y };
713
716
  } else
714
- n.techn = { text: o };
717
+ i.techn = { text: o };
715
718
  if (l == null)
716
- n.descr = { text: "" };
719
+ i.descr = { text: "" };
717
720
  else if (typeof l == "object") {
718
- let [f, d] = Object.entries(l)[0];
719
- n[f] = { text: d };
721
+ let [d, y] = Object.entries(l)[0];
722
+ i[d] = { text: y };
720
723
  } else
721
- n.descr = { text: l };
722
- if (typeof i == "object") {
723
- let [f, d] = Object.entries(i)[0];
724
- n[f] = d;
725
- } else
726
- n.sprite = i;
727
- if (typeof s == "object") {
728
- let [f, d] = Object.entries(s)[0];
729
- n[f] = d;
724
+ i.descr = { text: l };
725
+ if (typeof a == "object") {
726
+ let [d, y] = Object.entries(a)[0];
727
+ i[d] = y;
730
728
  } else
731
- n.tags = s;
729
+ i.sprite = a;
732
730
  if (typeof r == "object") {
733
- let [f, d] = Object.entries(r)[0];
734
- n[f] = d;
731
+ let [d, y] = Object.entries(r)[0];
732
+ i[d] = y;
735
733
  } else
736
- n.link = r;
737
- n.wrap = xt(), n.typeC4Shape = { text: e }, n.parentBoundary = P;
738
- }, Ve = function(e, t, a, o, l, i, s, r) {
739
- if (t === null || a === null)
734
+ i.tags = r;
735
+ if (typeof n == "object") {
736
+ let [d, y] = Object.entries(n)[0];
737
+ i[d] = y;
738
+ } else
739
+ i.link = n;
740
+ i.wrap = mt(), i.typeC4Shape = { text: e }, i.parentBoundary = B;
741
+ }, "addContainer"), Qe = /* @__PURE__ */ g(function(e, t, s, o, l, a, r, n) {
742
+ if (t === null || s === null)
740
743
  return;
741
- let n = {};
742
- const h = U.find((f) => f.alias === t);
743
- if (h && t === h.alias ? n = h : (n.alias = t, U.push(n)), a == null ? n.label = { text: "" } : n.label = { text: a }, o == null)
744
- n.techn = { text: "" };
744
+ let i = {};
745
+ const u = V.find((d) => d.alias === t);
746
+ if (u && t === u.alias ? i = u : (i.alias = t, V.push(i)), s == null ? i.label = { text: "" } : i.label = { text: s }, o == null)
747
+ i.techn = { text: "" };
745
748
  else if (typeof o == "object") {
746
- let [f, d] = Object.entries(o)[0];
747
- n[f] = { text: d };
749
+ let [d, y] = Object.entries(o)[0];
750
+ i[d] = { text: y };
748
751
  } else
749
- n.techn = { text: o };
752
+ i.techn = { text: o };
750
753
  if (l == null)
751
- n.descr = { text: "" };
754
+ i.descr = { text: "" };
752
755
  else if (typeof l == "object") {
753
- let [f, d] = Object.entries(l)[0];
754
- n[f] = { text: d };
755
- } else
756
- n.descr = { text: l };
757
- if (typeof i == "object") {
758
- let [f, d] = Object.entries(i)[0];
759
- n[f] = d;
756
+ let [d, y] = Object.entries(l)[0];
757
+ i[d] = { text: y };
760
758
  } else
761
- n.sprite = i;
762
- if (typeof s == "object") {
763
- let [f, d] = Object.entries(s)[0];
764
- n[f] = d;
759
+ i.descr = { text: l };
760
+ if (typeof a == "object") {
761
+ let [d, y] = Object.entries(a)[0];
762
+ i[d] = y;
765
763
  } else
766
- n.tags = s;
764
+ i.sprite = a;
767
765
  if (typeof r == "object") {
768
- let [f, d] = Object.entries(r)[0];
769
- n[f] = d;
766
+ let [d, y] = Object.entries(r)[0];
767
+ i[d] = y;
770
768
  } else
771
- n.link = r;
772
- n.wrap = xt(), n.typeC4Shape = { text: e }, n.parentBoundary = P;
773
- }, ze = function(e, t, a, o, l) {
769
+ i.tags = r;
770
+ if (typeof n == "object") {
771
+ let [d, y] = Object.entries(n)[0];
772
+ i[d] = y;
773
+ } else
774
+ i.link = n;
775
+ i.wrap = mt(), i.typeC4Shape = { text: e }, i.parentBoundary = B;
776
+ }, "addComponent"), He = /* @__PURE__ */ g(function(e, t, s, o, l) {
774
777
  if (e === null || t === null)
775
778
  return;
776
- let i = {};
777
- const s = V.find((r) => r.alias === e);
778
- if (s && e === s.alias ? i = s : (i.alias = e, V.push(i)), t == null ? i.label = { text: "" } : i.label = { text: t }, a == null)
779
- i.type = { text: "system" };
780
- else if (typeof a == "object") {
781
- let [r, n] = Object.entries(a)[0];
782
- i[r] = { text: n };
779
+ let a = {};
780
+ const r = X.find((n) => n.alias === e);
781
+ if (r && e === r.alias ? a = r : (a.alias = e, X.push(a)), t == null ? a.label = { text: "" } : a.label = { text: t }, s == null)
782
+ a.type = { text: "system" };
783
+ else if (typeof s == "object") {
784
+ let [n, i] = Object.entries(s)[0];
785
+ a[n] = { text: i };
783
786
  } else
784
- i.type = { text: a };
787
+ a.type = { text: s };
785
788
  if (typeof o == "object") {
786
- let [r, n] = Object.entries(o)[0];
787
- i[r] = n;
789
+ let [n, i] = Object.entries(o)[0];
790
+ a[n] = i;
788
791
  } else
789
- i.tags = o;
792
+ a.tags = o;
790
793
  if (typeof l == "object") {
791
- let [r, n] = Object.entries(l)[0];
792
- i[r] = n;
794
+ let [n, i] = Object.entries(l)[0];
795
+ a[n] = i;
793
796
  } else
794
- i.link = l;
795
- i.parentBoundary = P, i.wrap = xt(), j = P, P = e, _t.push(j);
796
- }, Xe = function(e, t, a, o, l) {
797
+ a.link = l;
798
+ a.parentBoundary = B, a.wrap = mt(), F = B, B = e, xt.push(F);
799
+ }, "addPersonOrSystemBoundary"), qe = /* @__PURE__ */ g(function(e, t, s, o, l) {
797
800
  if (e === null || t === null)
798
801
  return;
799
- let i = {};
800
- const s = V.find((r) => r.alias === e);
801
- if (s && e === s.alias ? i = s : (i.alias = e, V.push(i)), t == null ? i.label = { text: "" } : i.label = { text: t }, a == null)
802
- i.type = { text: "container" };
803
- else if (typeof a == "object") {
804
- let [r, n] = Object.entries(a)[0];
805
- i[r] = { text: n };
802
+ let a = {};
803
+ const r = X.find((n) => n.alias === e);
804
+ if (r && e === r.alias ? a = r : (a.alias = e, X.push(a)), t == null ? a.label = { text: "" } : a.label = { text: t }, s == null)
805
+ a.type = { text: "container" };
806
+ else if (typeof s == "object") {
807
+ let [n, i] = Object.entries(s)[0];
808
+ a[n] = { text: i };
806
809
  } else
807
- i.type = { text: a };
810
+ a.type = { text: s };
808
811
  if (typeof o == "object") {
809
- let [r, n] = Object.entries(o)[0];
810
- i[r] = n;
812
+ let [n, i] = Object.entries(o)[0];
813
+ a[n] = i;
811
814
  } else
812
- i.tags = o;
815
+ a.tags = o;
813
816
  if (typeof l == "object") {
814
- let [r, n] = Object.entries(l)[0];
815
- i[r] = n;
817
+ let [n, i] = Object.entries(l)[0];
818
+ a[n] = i;
816
819
  } else
817
- i.link = l;
818
- i.parentBoundary = P, i.wrap = xt(), j = P, P = e, _t.push(j);
819
- }, We = function(e, t, a, o, l, i, s, r) {
820
- if (t === null || a === null)
820
+ a.link = l;
821
+ a.parentBoundary = B, a.wrap = mt(), F = B, B = e, xt.push(F);
822
+ }, "addContainerBoundary"), Ge = /* @__PURE__ */ g(function(e, t, s, o, l, a, r, n) {
823
+ if (t === null || s === null)
821
824
  return;
822
- let n = {};
823
- const h = V.find((f) => f.alias === t);
824
- if (h && t === h.alias ? n = h : (n.alias = t, V.push(n)), a == null ? n.label = { text: "" } : n.label = { text: a }, o == null)
825
- n.type = { text: "node" };
825
+ let i = {};
826
+ const u = X.find((d) => d.alias === t);
827
+ if (u && t === u.alias ? i = u : (i.alias = t, X.push(i)), s == null ? i.label = { text: "" } : i.label = { text: s }, o == null)
828
+ i.type = { text: "node" };
826
829
  else if (typeof o == "object") {
827
- let [f, d] = Object.entries(o)[0];
828
- n[f] = { text: d };
830
+ let [d, y] = Object.entries(o)[0];
831
+ i[d] = { text: y };
829
832
  } else
830
- n.type = { text: o };
833
+ i.type = { text: o };
831
834
  if (l == null)
832
- n.descr = { text: "" };
835
+ i.descr = { text: "" };
833
836
  else if (typeof l == "object") {
834
- let [f, d] = Object.entries(l)[0];
835
- n[f] = { text: d };
837
+ let [d, y] = Object.entries(l)[0];
838
+ i[d] = { text: y };
836
839
  } else
837
- n.descr = { text: l };
838
- if (typeof s == "object") {
839
- let [f, d] = Object.entries(s)[0];
840
- n[f] = d;
841
- } else
842
- n.tags = s;
840
+ i.descr = { text: l };
843
841
  if (typeof r == "object") {
844
- let [f, d] = Object.entries(r)[0];
845
- n[f] = d;
842
+ let [d, y] = Object.entries(r)[0];
843
+ i[d] = y;
846
844
  } else
847
- n.link = r;
848
- n.nodeType = e, n.parentBoundary = P, n.wrap = xt(), j = P, P = t, _t.push(j);
849
- }, Qe = function() {
850
- P = j, _t.pop(), j = _t.pop(), _t.push(j);
851
- }, He = function(e, t, a, o, l, i, s, r, n, h, f) {
852
- let d = U.find((p) => p.alias === t);
853
- if (!(d === void 0 && (d = V.find((p) => p.alias === t), d === void 0))) {
854
- if (a != null)
855
- if (typeof a == "object") {
856
- let [p, E] = Object.entries(a)[0];
857
- d[p] = E;
845
+ i.tags = r;
846
+ if (typeof n == "object") {
847
+ let [d, y] = Object.entries(n)[0];
848
+ i[d] = y;
849
+ } else
850
+ i.link = n;
851
+ i.nodeType = e, i.parentBoundary = B, i.wrap = mt(), F = B, B = t, xt.push(F);
852
+ }, "addDeploymentNode"), Ke = /* @__PURE__ */ g(function() {
853
+ B = F, xt.pop(), F = xt.pop(), xt.push(F);
854
+ }, "popBoundaryParseStack"), Je = /* @__PURE__ */ g(function(e, t, s, o, l, a, r, n, i, u, d) {
855
+ let y = V.find((p) => p.alias === t);
856
+ if (!(y === void 0 && (y = X.find((p) => p.alias === t), y === void 0))) {
857
+ if (s != null)
858
+ if (typeof s == "object") {
859
+ let [p, E] = Object.entries(s)[0];
860
+ y[p] = E;
858
861
  } else
859
- d.bgColor = a;
862
+ y.bgColor = s;
860
863
  if (o != null)
861
864
  if (typeof o == "object") {
862
865
  let [p, E] = Object.entries(o)[0];
863
- d[p] = E;
866
+ y[p] = E;
864
867
  } else
865
- d.fontColor = o;
868
+ y.fontColor = o;
866
869
  if (l != null)
867
870
  if (typeof l == "object") {
868
871
  let [p, E] = Object.entries(l)[0];
869
- d[p] = E;
870
- } else
871
- d.borderColor = l;
872
- if (i != null)
873
- if (typeof i == "object") {
874
- let [p, E] = Object.entries(i)[0];
875
- d[p] = E;
872
+ y[p] = E;
876
873
  } else
877
- d.shadowing = i;
878
- if (s != null)
879
- if (typeof s == "object") {
880
- let [p, E] = Object.entries(s)[0];
881
- d[p] = E;
874
+ y.borderColor = l;
875
+ if (a != null)
876
+ if (typeof a == "object") {
877
+ let [p, E] = Object.entries(a)[0];
878
+ y[p] = E;
882
879
  } else
883
- d.shape = s;
880
+ y.shadowing = a;
884
881
  if (r != null)
885
882
  if (typeof r == "object") {
886
883
  let [p, E] = Object.entries(r)[0];
887
- d[p] = E;
884
+ y[p] = E;
888
885
  } else
889
- d.sprite = r;
886
+ y.shape = r;
890
887
  if (n != null)
891
888
  if (typeof n == "object") {
892
889
  let [p, E] = Object.entries(n)[0];
893
- d[p] = E;
890
+ y[p] = E;
891
+ } else
892
+ y.sprite = n;
893
+ if (i != null)
894
+ if (typeof i == "object") {
895
+ let [p, E] = Object.entries(i)[0];
896
+ y[p] = E;
894
897
  } else
895
- d.techn = n;
896
- if (h != null)
897
- if (typeof h == "object") {
898
- let [p, E] = Object.entries(h)[0];
899
- d[p] = E;
898
+ y.techn = i;
899
+ if (u != null)
900
+ if (typeof u == "object") {
901
+ let [p, E] = Object.entries(u)[0];
902
+ y[p] = E;
900
903
  } else
901
- d.legendText = h;
902
- if (f != null)
903
- if (typeof f == "object") {
904
- let [p, E] = Object.entries(f)[0];
905
- d[p] = E;
904
+ y.legendText = u;
905
+ if (d != null)
906
+ if (typeof d == "object") {
907
+ let [p, E] = Object.entries(d)[0];
908
+ y[p] = E;
906
909
  } else
907
- d.legendSprite = f;
910
+ y.legendSprite = d;
908
911
  }
909
- }, qe = function(e, t, a, o, l, i, s) {
910
- const r = St.find((n) => n.from === t && n.to === a);
911
- if (r !== void 0) {
912
+ }, "updateElStyle"), Ze = /* @__PURE__ */ g(function(e, t, s, o, l, a, r) {
913
+ const n = It.find((i) => i.from === t && i.to === s);
914
+ if (n !== void 0) {
912
915
  if (o != null)
913
916
  if (typeof o == "object") {
914
- let [n, h] = Object.entries(o)[0];
915
- r[n] = h;
917
+ let [i, u] = Object.entries(o)[0];
918
+ n[i] = u;
916
919
  } else
917
- r.textColor = o;
920
+ n.textColor = o;
918
921
  if (l != null)
919
922
  if (typeof l == "object") {
920
- let [n, h] = Object.entries(l)[0];
921
- r[n] = h;
923
+ let [i, u] = Object.entries(l)[0];
924
+ n[i] = u;
922
925
  } else
923
- r.lineColor = l;
924
- if (i != null)
925
- if (typeof i == "object") {
926
- let [n, h] = Object.entries(i)[0];
927
- r[n] = parseInt(h);
926
+ n.lineColor = l;
927
+ if (a != null)
928
+ if (typeof a == "object") {
929
+ let [i, u] = Object.entries(a)[0];
930
+ n[i] = parseInt(u);
928
931
  } else
929
- r.offsetX = parseInt(i);
930
- if (s != null)
931
- if (typeof s == "object") {
932
- let [n, h] = Object.entries(s)[0];
933
- r[n] = parseInt(h);
932
+ n.offsetX = parseInt(a);
933
+ if (r != null)
934
+ if (typeof r == "object") {
935
+ let [i, u] = Object.entries(r)[0];
936
+ n[i] = parseInt(u);
934
937
  } else
935
- r.offsetY = parseInt(s);
938
+ n.offsetY = parseInt(r);
936
939
  }
937
- }, Ge = function(e, t, a) {
938
- let o = It, l = jt;
940
+ }, "updateRelStyle"), $e = /* @__PURE__ */ g(function(e, t, s) {
941
+ let o = Vt, l = zt;
939
942
  if (typeof t == "object") {
940
- const i = Object.values(t)[0];
941
- o = parseInt(i);
943
+ const a = Object.values(t)[0];
944
+ o = parseInt(a);
942
945
  } else
943
946
  o = parseInt(t);
944
- if (typeof a == "object") {
945
- const i = Object.values(a)[0];
946
- l = parseInt(i);
947
- } else
947
+ if (typeof s == "object") {
948
+ const a = Object.values(s)[0];
948
949
  l = parseInt(a);
949
- o >= 1 && (It = o), l >= 1 && (jt = l);
950
- }, Ke = function() {
951
- return It;
952
- }, Je = function() {
953
- return jt;
954
- }, Ze = function() {
955
- return P;
956
- }, $e = function() {
957
- return j;
958
- }, fe = function(e) {
959
- return e == null ? U : U.filter((t) => t.parentBoundary === e);
960
- }, t0 = function(e) {
961
- return U.find((t) => t.alias === e);
962
- }, e0 = function(e) {
963
- return Object.keys(fe(e));
964
- }, pe = function(e) {
950
+ } else
951
+ l = parseInt(s);
952
+ o >= 1 && (Vt = o), l >= 1 && (zt = l);
953
+ }, "updateLayoutConfig"), t0 = /* @__PURE__ */ g(function() {
954
+ return Vt;
955
+ }, "getC4ShapeInRow"), e0 = /* @__PURE__ */ g(function() {
956
+ return zt;
957
+ }, "getC4BoundaryInRow"), a0 = /* @__PURE__ */ g(function() {
958
+ return B;
959
+ }, "getCurrentBoundaryParse"), i0 = /* @__PURE__ */ g(function() {
960
+ return F;
961
+ }, "getParentBoundaryParse"), _e = /* @__PURE__ */ g(function(e) {
965
962
  return e == null ? V : V.filter((t) => t.parentBoundary === e);
966
- }, i0 = pe, n0 = function() {
967
- return St;
968
- }, s0 = function() {
969
- return te;
970
- }, a0 = function(e) {
971
- ee = e;
972
- }, xt = function() {
973
- return ee;
974
- }, r0 = function() {
975
- U = [], V = [
963
+ }, "getC4ShapeArray"), n0 = /* @__PURE__ */ g(function(e) {
964
+ return V.find((t) => t.alias === e);
965
+ }, "getC4Shape"), r0 = /* @__PURE__ */ g(function(e) {
966
+ return Object.keys(_e(e));
967
+ }, "getC4ShapeKeys"), xe = /* @__PURE__ */ g(function(e) {
968
+ return e == null ? X : X.filter((t) => t.parentBoundary === e);
969
+ }, "getBoundaries"), s0 = xe, l0 = /* @__PURE__ */ g(function() {
970
+ return It;
971
+ }, "getRels"), o0 = /* @__PURE__ */ g(function() {
972
+ return ie;
973
+ }, "getTitle"), c0 = /* @__PURE__ */ g(function(e) {
974
+ ne = e;
975
+ }, "setWrap"), mt = /* @__PURE__ */ g(function() {
976
+ return ne;
977
+ }, "autoWrap"), h0 = /* @__PURE__ */ g(function() {
978
+ V = [], X = [
976
979
  {
977
980
  alias: "global",
978
981
  label: { text: "global" },
@@ -981,8 +984,8 @@ const Ye = function() {
981
984
  link: null,
982
985
  parentBoundary: ""
983
986
  }
984
- ], j = "", P = "global", _t = [""], St = [], _t = [""], te = "", ee = !1, It = 4, jt = 2;
985
- }, l0 = {
987
+ ], F = "", B = "global", xt = [""], It = [], xt = [""], ie = "", ne = !1, Vt = 4, zt = 2;
988
+ }, "clear"), u0 = {
986
989
  SOLID: 0,
987
990
  DOTTED: 1,
988
991
  NOTE: 2,
@@ -1006,117 +1009,117 @@ const Ye = function() {
1006
1009
  RECT_END: 23,
1007
1010
  SOLID_POINT: 24,
1008
1011
  DOTTED_POINT: 25
1009
- }, o0 = {
1012
+ }, d0 = {
1010
1013
  FILLED: 0,
1011
1014
  OPEN: 1
1012
- }, c0 = {
1015
+ }, f0 = {
1013
1016
  LEFTOF: 0,
1014
1017
  RIGHTOF: 1,
1015
1018
  OVER: 2
1016
- }, h0 = function(e) {
1017
- te = ue(e, Dt());
1018
- }, Jt = {
1019
- addPersonOrSystem: Ue,
1020
- addPersonOrSystemBoundary: ze,
1021
- addContainer: Fe,
1022
- addContainerBoundary: Xe,
1023
- addComponent: Ve,
1024
- addDeploymentNode: We,
1025
- popBoundaryParseStack: Qe,
1026
- addRel: je,
1027
- updateElStyle: He,
1028
- updateRelStyle: qe,
1029
- updateLayoutConfig: Ge,
1030
- autoWrap: xt,
1031
- setWrap: a0,
1032
- getC4ShapeArray: fe,
1033
- getC4Shape: t0,
1034
- getC4ShapeKeys: e0,
1035
- getBoundaries: pe,
1036
- getBoundarys: i0,
1037
- getCurrentBoundaryParse: Ze,
1038
- getParentBoundaryParse: $e,
1039
- getRels: n0,
1040
- getTitle: s0,
1041
- getC4Type: Ye,
1042
- getC4ShapeInRow: Ke,
1043
- getC4BoundaryInRow: Je,
1044
- setAccTitle: Re,
1045
- getAccTitle: Te,
1046
- getAccDescription: Oe,
1047
- setAccDescription: we,
1048
- getConfig: () => Dt().c4,
1049
- clear: r0,
1050
- LINETYPE: l0,
1051
- ARROWTYPE: o0,
1052
- PLACEMENT: c0,
1053
- setTitle: h0,
1054
- setC4Type: Ie
1019
+ }, p0 = /* @__PURE__ */ g(function(e) {
1020
+ ie = ge(e, Bt());
1021
+ }, "setTitle"), te = {
1022
+ addPersonOrSystem: Xe,
1023
+ addPersonOrSystemBoundary: He,
1024
+ addContainer: We,
1025
+ addContainerBoundary: qe,
1026
+ addComponent: Qe,
1027
+ addDeploymentNode: Ge,
1028
+ popBoundaryParseStack: Ke,
1029
+ addRel: ze,
1030
+ updateElStyle: Je,
1031
+ updateRelStyle: Ze,
1032
+ updateLayoutConfig: $e,
1033
+ autoWrap: mt,
1034
+ setWrap: c0,
1035
+ getC4ShapeArray: _e,
1036
+ getC4Shape: n0,
1037
+ getC4ShapeKeys: r0,
1038
+ getBoundaries: xe,
1039
+ getBoundarys: s0,
1040
+ getCurrentBoundaryParse: a0,
1041
+ getParentBoundaryParse: i0,
1042
+ getRels: l0,
1043
+ getTitle: o0,
1044
+ getC4Type: Fe,
1045
+ getC4ShapeInRow: t0,
1046
+ getC4BoundaryInRow: e0,
1047
+ setAccTitle: Me,
1048
+ getAccTitle: Ie,
1049
+ getAccDescription: Be,
1050
+ setAccDescription: Pe,
1051
+ getConfig: /* @__PURE__ */ g(() => Bt().c4, "getConfig"),
1052
+ clear: h0,
1053
+ LINETYPE: u0,
1054
+ ARROWTYPE: d0,
1055
+ PLACEMENT: f0,
1056
+ setTitle: p0,
1057
+ setC4Type: Ve
1055
1058
  // apply,
1056
- }, ie = function(e, t) {
1057
- return Le(e, t);
1058
- }, ye = function(e, t, a, o, l, i) {
1059
- const s = e.append("image");
1060
- s.attr("width", t), s.attr("height", a), s.attr("x", o), s.attr("y", l);
1061
- let r = i.startsWith("data:image/png;base64") ? i : Pe.sanitizeUrl(i);
1062
- s.attr("xlink:href", r);
1063
- }, u0 = (e, t, a) => {
1059
+ }, re = /* @__PURE__ */ g(function(e, t) {
1060
+ return De(e, t);
1061
+ }, "drawRect"), me = /* @__PURE__ */ g(function(e, t, s, o, l, a) {
1062
+ const r = e.append("image");
1063
+ r.attr("width", t), r.attr("height", s), r.attr("x", o), r.attr("y", l);
1064
+ let n = a.startsWith("data:image/png;base64") ? a : Ye.sanitizeUrl(a);
1065
+ r.attr("xlink:href", n);
1066
+ }, "drawImage"), y0 = /* @__PURE__ */ g((e, t, s) => {
1064
1067
  const o = e.append("g");
1065
1068
  let l = 0;
1066
- for (let i of t) {
1067
- let s = i.textColor ? i.textColor : "#444444", r = i.lineColor ? i.lineColor : "#444444", n = i.offsetX ? parseInt(i.offsetX) : 0, h = i.offsetY ? parseInt(i.offsetY) : 0, f = "";
1069
+ for (let a of t) {
1070
+ let r = a.textColor ? a.textColor : "#444444", n = a.lineColor ? a.lineColor : "#444444", i = a.offsetX ? parseInt(a.offsetX) : 0, u = a.offsetY ? parseInt(a.offsetY) : 0, d = "";
1068
1071
  if (l === 0) {
1069
1072
  let p = o.append("line");
1070
- p.attr("x1", i.startPoint.x), p.attr("y1", i.startPoint.y), p.attr("x2", i.endPoint.x), p.attr("y2", i.endPoint.y), p.attr("stroke-width", "1"), p.attr("stroke", r), p.style("fill", "none"), i.type !== "rel_b" && p.attr("marker-end", "url(" + f + "#arrowhead)"), (i.type === "birel" || i.type === "rel_b") && p.attr("marker-start", "url(" + f + "#arrowend)"), l = -1;
1073
+ p.attr("x1", a.startPoint.x), p.attr("y1", a.startPoint.y), p.attr("x2", a.endPoint.x), p.attr("y2", a.endPoint.y), p.attr("stroke-width", "1"), p.attr("stroke", n), p.style("fill", "none"), a.type !== "rel_b" && p.attr("marker-end", "url(" + d + "#arrowhead)"), (a.type === "birel" || a.type === "rel_b") && p.attr("marker-start", "url(" + d + "#arrowend)"), l = -1;
1071
1074
  } else {
1072
1075
  let p = o.append("path");
1073
- p.attr("fill", "none").attr("stroke-width", "1").attr("stroke", r).attr(
1076
+ p.attr("fill", "none").attr("stroke-width", "1").attr("stroke", n).attr(
1074
1077
  "d",
1075
- "Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx", i.startPoint.x).replaceAll("starty", i.startPoint.y).replaceAll(
1078
+ "Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx", a.startPoint.x).replaceAll("starty", a.startPoint.y).replaceAll(
1076
1079
  "controlx",
1077
- i.startPoint.x + (i.endPoint.x - i.startPoint.x) / 2 - (i.endPoint.x - i.startPoint.x) / 4
1078
- ).replaceAll("controly", i.startPoint.y + (i.endPoint.y - i.startPoint.y) / 2).replaceAll("stopx", i.endPoint.x).replaceAll("stopy", i.endPoint.y)
1079
- ), i.type !== "rel_b" && p.attr("marker-end", "url(" + f + "#arrowhead)"), (i.type === "birel" || i.type === "rel_b") && p.attr("marker-start", "url(" + f + "#arrowend)");
1080
+ a.startPoint.x + (a.endPoint.x - a.startPoint.x) / 2 - (a.endPoint.x - a.startPoint.x) / 4
1081
+ ).replaceAll("controly", a.startPoint.y + (a.endPoint.y - a.startPoint.y) / 2).replaceAll("stopx", a.endPoint.x).replaceAll("stopy", a.endPoint.y)
1082
+ ), a.type !== "rel_b" && p.attr("marker-end", "url(" + d + "#arrowhead)"), (a.type === "birel" || a.type === "rel_b") && p.attr("marker-start", "url(" + d + "#arrowend)");
1080
1083
  }
1081
- let d = a.messageFont();
1082
- W(a)(
1083
- i.label.text,
1084
+ let y = s.messageFont();
1085
+ Q(s)(
1086
+ a.label.text,
1084
1087
  o,
1085
- Math.min(i.startPoint.x, i.endPoint.x) + Math.abs(i.endPoint.x - i.startPoint.x) / 2 + n,
1086
- Math.min(i.startPoint.y, i.endPoint.y) + Math.abs(i.endPoint.y - i.startPoint.y) / 2 + h,
1087
- i.label.width,
1088
- i.label.height,
1089
- { fill: s },
1090
- d
1091
- ), i.techn && i.techn.text !== "" && (d = a.messageFont(), W(a)(
1092
- "[" + i.techn.text + "]",
1088
+ Math.min(a.startPoint.x, a.endPoint.x) + Math.abs(a.endPoint.x - a.startPoint.x) / 2 + i,
1089
+ Math.min(a.startPoint.y, a.endPoint.y) + Math.abs(a.endPoint.y - a.startPoint.y) / 2 + u,
1090
+ a.label.width,
1091
+ a.label.height,
1092
+ { fill: r },
1093
+ y
1094
+ ), a.techn && a.techn.text !== "" && (y = s.messageFont(), Q(s)(
1095
+ "[" + a.techn.text + "]",
1093
1096
  o,
1094
- Math.min(i.startPoint.x, i.endPoint.x) + Math.abs(i.endPoint.x - i.startPoint.x) / 2 + n,
1095
- Math.min(i.startPoint.y, i.endPoint.y) + Math.abs(i.endPoint.y - i.startPoint.y) / 2 + a.messageFontSize + 5 + h,
1096
- Math.max(i.label.width, i.techn.width),
1097
- i.techn.height,
1098
- { fill: s, "font-style": "italic" },
1099
- d
1097
+ Math.min(a.startPoint.x, a.endPoint.x) + Math.abs(a.endPoint.x - a.startPoint.x) / 2 + i,
1098
+ Math.min(a.startPoint.y, a.endPoint.y) + Math.abs(a.endPoint.y - a.startPoint.y) / 2 + s.messageFontSize + 5 + u,
1099
+ Math.max(a.label.width, a.techn.width),
1100
+ a.techn.height,
1101
+ { fill: r, "font-style": "italic" },
1102
+ y
1100
1103
  ));
1101
1104
  }
1102
- }, d0 = function(e, t, a) {
1105
+ }, "drawRels"), g0 = /* @__PURE__ */ g(function(e, t, s) {
1103
1106
  const o = e.append("g");
1104
- let l = t.bgColor ? t.bgColor : "none", i = t.borderColor ? t.borderColor : "#444444", s = t.fontColor ? t.fontColor : "black", r = { "stroke-width": 1, "stroke-dasharray": "7.0,7.0" };
1105
- t.nodeType && (r = { "stroke-width": 1 });
1106
- let n = {
1107
+ let l = t.bgColor ? t.bgColor : "none", a = t.borderColor ? t.borderColor : "#444444", r = t.fontColor ? t.fontColor : "black", n = { "stroke-width": 1, "stroke-dasharray": "7.0,7.0" };
1108
+ t.nodeType && (n = { "stroke-width": 1 });
1109
+ let i = {
1107
1110
  x: t.x,
1108
1111
  y: t.y,
1109
1112
  fill: l,
1110
- stroke: i,
1113
+ stroke: a,
1111
1114
  width: t.width,
1112
1115
  height: t.height,
1113
1116
  rx: 2.5,
1114
1117
  ry: 2.5,
1115
- attrs: r
1118
+ attrs: n
1116
1119
  };
1117
- ie(o, n);
1118
- let h = a.boundaryFont();
1119
- h.fontWeight = "bold", h.fontSize = h.fontSize + 2, h.fontColor = s, W(a)(
1120
+ re(o, i);
1121
+ let u = s.boundaryFont();
1122
+ u.fontWeight = "bold", u.fontSize = u.fontSize + 2, u.fontColor = r, Q(s)(
1120
1123
  t.label.text,
1121
1124
  o,
1122
1125
  t.x,
@@ -1124,8 +1127,8 @@ const Ye = function() {
1124
1127
  t.width,
1125
1128
  t.height,
1126
1129
  { fill: "#444444" },
1127
- h
1128
- ), t.type && t.type.text !== "" && (h = a.boundaryFont(), h.fontColor = s, W(a)(
1130
+ u
1131
+ ), t.type && t.type.text !== "" && (u = s.boundaryFont(), u.fontColor = r, Q(s)(
1129
1132
  t.type.text,
1130
1133
  o,
1131
1134
  t.x,
@@ -1133,8 +1136,8 @@ const Ye = function() {
1133
1136
  t.width,
1134
1137
  t.height,
1135
1138
  { fill: "#444444" },
1136
- h
1137
- )), t.descr && t.descr.text !== "" && (h = a.boundaryFont(), h.fontSize = h.fontSize - 2, h.fontColor = s, W(a)(
1139
+ u
1140
+ )), t.descr && t.descr.text !== "" && (u = s.boundaryFont(), u.fontSize = u.fontSize - 2, u.fontColor = r, Q(s)(
1138
1141
  t.descr.text,
1139
1142
  o,
1140
1143
  t.x,
@@ -1142,11 +1145,10 @@ const Ye = function() {
1142
1145
  t.width,
1143
1146
  t.height,
1144
1147
  { fill: "#444444" },
1145
- h
1148
+ u
1146
1149
  ));
1147
- }, f0 = function(e, t, a) {
1148
- var o;
1149
- let l = t.bgColor ? t.bgColor : a[t.typeC4Shape.text + "_bg_color"], i = t.borderColor ? t.borderColor : a[t.typeC4Shape.text + "_border_color"], s = t.fontColor ? t.fontColor : "#FFFFFF", r = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";
1150
+ }, "drawBoundary"), b0 = /* @__PURE__ */ g(function(e, t, s) {
1151
+ let o = t.bgColor ? t.bgColor : s[t.typeC4Shape.text + "_bg_color"], l = t.borderColor ? t.borderColor : s[t.typeC4Shape.text + "_border_color"], a = t.fontColor ? t.fontColor : "#FFFFFF", r = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";
1150
1152
  switch (t.typeC4Shape.text) {
1151
1153
  case "person":
1152
1154
  r = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";
@@ -1157,7 +1159,7 @@ const Ye = function() {
1157
1159
  }
1158
1160
  const n = e.append("g");
1159
1161
  n.attr("class", "person-man");
1160
- const h = Ne();
1162
+ const i = Se();
1161
1163
  switch (t.typeC4Shape.text) {
1162
1164
  case "person":
1163
1165
  case "external_person":
@@ -1167,7 +1169,7 @@ const Ye = function() {
1167
1169
  case "external_container":
1168
1170
  case "component":
1169
1171
  case "external_component":
1170
- h.x = t.x, h.y = t.y, h.fill = l, h.width = t.width, h.height = t.height, h.stroke = i, h.rx = 2.5, h.ry = 2.5, h.attrs = { "stroke-width": 0.5 }, ie(n, h);
1172
+ i.x = t.x, i.y = t.y, i.fill = o, i.width = t.width, i.height = t.height, i.stroke = l, i.rx = 2.5, i.ry = 2.5, i.attrs = { "stroke-width": 0.5 }, re(n, i);
1171
1173
  break;
1172
1174
  case "system_db":
1173
1175
  case "external_system_db":
@@ -1175,10 +1177,10 @@ const Ye = function() {
1175
1177
  case "external_container_db":
1176
1178
  case "component_db":
1177
1179
  case "external_component_db":
1178
- n.append("path").attr("fill", l).attr("stroke-width", "0.5").attr("stroke", i).attr(
1180
+ n.append("path").attr("fill", o).attr("stroke-width", "0.5").attr("stroke", l).attr(
1179
1181
  "d",
1180
1182
  "Mstartx,startyc0,-10 half,-10 half,-10c0,0 half,0 half,10l0,heightc0,10 -half,10 -half,10c0,0 -half,0 -half,-10l0,-height".replaceAll("startx", t.x).replaceAll("starty", t.y).replaceAll("half", t.width / 2).replaceAll("height", t.height)
1181
- ), n.append("path").attr("fill", "none").attr("stroke-width", "0.5").attr("stroke", i).attr(
1183
+ ), n.append("path").attr("fill", "none").attr("stroke-width", "0.5").attr("stroke", l).attr(
1182
1184
  "d",
1183
1185
  "Mstartx,startyc0,10 half,10 half,10c0,0 half,0 half,-10".replaceAll("startx", t.x).replaceAll("starty", t.y).replaceAll("half", t.width / 2)
1184
1186
  );
@@ -1189,20 +1191,20 @@ const Ye = function() {
1189
1191
  case "external_container_queue":
1190
1192
  case "component_queue":
1191
1193
  case "external_component_queue":
1192
- n.append("path").attr("fill", l).attr("stroke-width", "0.5").attr("stroke", i).attr(
1194
+ n.append("path").attr("fill", o).attr("stroke-width", "0.5").attr("stroke", l).attr(
1193
1195
  "d",
1194
1196
  "Mstartx,startylwidth,0c5,0 5,half 5,halfc0,0 0,half -5,halfl-width,0c-5,0 -5,-half -5,-halfc0,0 0,-half 5,-half".replaceAll("startx", t.x).replaceAll("starty", t.y).replaceAll("width", t.width).replaceAll("half", t.height / 2)
1195
- ), n.append("path").attr("fill", "none").attr("stroke-width", "0.5").attr("stroke", i).attr(
1197
+ ), n.append("path").attr("fill", "none").attr("stroke-width", "0.5").attr("stroke", l).attr(
1196
1198
  "d",
1197
1199
  "Mstartx,startyc-5,0 -5,half -5,halfc0,half 5,half 5,half".replaceAll("startx", t.x + t.width).replaceAll("starty", t.y).replaceAll("half", t.height / 2)
1198
1200
  );
1199
1201
  break;
1200
1202
  }
1201
- let f = v0(a, t.typeC4Shape.text);
1202
- switch (n.append("text").attr("fill", s).attr("font-family", f.fontFamily).attr("font-size", f.fontSize - 2).attr("font-style", "italic").attr("lengthAdjust", "spacing").attr("textLength", t.typeC4Shape.width).attr("x", t.x + t.width / 2 - t.typeC4Shape.width / 2).attr("y", t.y + t.typeC4Shape.Y).text("<<" + t.typeC4Shape.text + ">>"), t.typeC4Shape.text) {
1203
+ let u = w0(s, t.typeC4Shape.text);
1204
+ switch (n.append("text").attr("fill", a).attr("font-family", u.fontFamily).attr("font-size", u.fontSize - 2).attr("font-style", "italic").attr("lengthAdjust", "spacing").attr("textLength", t.typeC4Shape.width).attr("x", t.x + t.width / 2 - t.typeC4Shape.width / 2).attr("y", t.y + t.typeC4Shape.Y).text("<<" + t.typeC4Shape.text + ">>"), t.typeC4Shape.text) {
1203
1205
  case "person":
1204
1206
  case "external_person":
1205
- ye(
1207
+ me(
1206
1208
  n,
1207
1209
  48,
1208
1210
  48,
@@ -1212,129 +1214,130 @@ const Ye = function() {
1212
1214
  );
1213
1215
  break;
1214
1216
  }
1215
- let d = a[t.typeC4Shape.text + "Font"]();
1216
- return d.fontWeight = "bold", d.fontSize = d.fontSize + 2, d.fontColor = s, W(a)(
1217
+ let d = s[t.typeC4Shape.text + "Font"]();
1218
+ return d.fontWeight = "bold", d.fontSize = d.fontSize + 2, d.fontColor = a, Q(s)(
1217
1219
  t.label.text,
1218
1220
  n,
1219
1221
  t.x,
1220
1222
  t.y + t.label.Y,
1221
1223
  t.width,
1222
1224
  t.height,
1223
- { fill: s },
1225
+ { fill: a },
1224
1226
  d
1225
- ), d = a[t.typeC4Shape.text + "Font"](), d.fontColor = s, t.techn && ((o = t.techn) == null ? void 0 : o.text) !== "" ? W(a)(
1227
+ ), d = s[t.typeC4Shape.text + "Font"](), d.fontColor = a, t.techn && t.techn?.text !== "" ? Q(s)(
1226
1228
  t.techn.text,
1227
1229
  n,
1228
1230
  t.x,
1229
1231
  t.y + t.techn.Y,
1230
1232
  t.width,
1231
1233
  t.height,
1232
- { fill: s, "font-style": "italic" },
1234
+ { fill: a, "font-style": "italic" },
1233
1235
  d
1234
- ) : t.type && t.type.text !== "" && W(a)(
1236
+ ) : t.type && t.type.text !== "" && Q(s)(
1235
1237
  t.type.text,
1236
1238
  n,
1237
1239
  t.x,
1238
1240
  t.y + t.type.Y,
1239
1241
  t.width,
1240
1242
  t.height,
1241
- { fill: s, "font-style": "italic" },
1243
+ { fill: a, "font-style": "italic" },
1242
1244
  d
1243
- ), t.descr && t.descr.text !== "" && (d = a.personFont(), d.fontColor = s, W(a)(
1245
+ ), t.descr && t.descr.text !== "" && (d = s.personFont(), d.fontColor = a, Q(s)(
1244
1246
  t.descr.text,
1245
1247
  n,
1246
1248
  t.x,
1247
1249
  t.y + t.descr.Y,
1248
1250
  t.width,
1249
1251
  t.height,
1250
- { fill: s },
1252
+ { fill: a },
1251
1253
  d
1252
1254
  )), t.height;
1253
- }, p0 = function(e) {
1255
+ }, "drawC4Shape"), _0 = /* @__PURE__ */ g(function(e) {
1254
1256
  e.append("defs").append("symbol").attr("id", "database").attr("fill-rule", "evenodd").attr("clip-rule", "evenodd").append("path").attr("transform", "scale(.5)").attr(
1255
1257
  "d",
1256
1258
  "M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z"
1257
1259
  );
1258
- }, y0 = function(e) {
1260
+ }, "insertDatabaseIcon"), x0 = /* @__PURE__ */ g(function(e) {
1259
1261
  e.append("defs").append("symbol").attr("id", "computer").attr("width", "24").attr("height", "24").append("path").attr("transform", "scale(.5)").attr(
1260
1262
  "d",
1261
1263
  "M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z"
1262
1264
  );
1263
- }, g0 = function(e) {
1265
+ }, "insertComputerIcon"), m0 = /* @__PURE__ */ g(function(e) {
1264
1266
  e.append("defs").append("symbol").attr("id", "clock").attr("width", "24").attr("height", "24").append("path").attr("transform", "scale(.5)").attr(
1265
1267
  "d",
1266
1268
  "M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z"
1267
1269
  );
1268
- }, b0 = function(e) {
1270
+ }, "insertClockIcon"), v0 = /* @__PURE__ */ g(function(e) {
1269
1271
  e.append("defs").append("marker").attr("id", "arrowhead").attr("refX", 9).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 0 0 L 10 5 L 0 10 z");
1270
- }, _0 = function(e) {
1272
+ }, "insertArrowHead"), E0 = /* @__PURE__ */ g(function(e) {
1271
1273
  e.append("defs").append("marker").attr("id", "arrowend").attr("refX", 1).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 10 0 L 0 5 L 10 10 z");
1272
- }, x0 = function(e) {
1274
+ }, "insertArrowEnd"), k0 = /* @__PURE__ */ g(function(e) {
1273
1275
  e.append("defs").append("marker").attr("id", "filled-head").attr("refX", 18).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L14,7 L9,1 Z");
1274
- }, m0 = function(e) {
1276
+ }, "insertArrowFilledHead"), A0 = /* @__PURE__ */ g(function(e) {
1275
1277
  e.append("defs").append("marker").attr("id", "sequencenumber").attr("refX", 15).attr("refY", 15).attr("markerWidth", 60).attr("markerHeight", 40).attr("orient", "auto").append("circle").attr("cx", 15).attr("cy", 15).attr("r", 6);
1276
- }, E0 = function(e) {
1277
- const a = e.append("defs").append("marker").attr("id", "crosshead").attr("markerWidth", 15).attr("markerHeight", 8).attr("orient", "auto").attr("refX", 16).attr("refY", 4);
1278
- a.append("path").attr("fill", "black").attr("stroke", "#000000").style("stroke-dasharray", "0, 0").attr("stroke-width", "1px").attr("d", "M 9,2 V 6 L16,4 Z"), a.append("path").attr("fill", "none").attr("stroke", "#000000").style("stroke-dasharray", "0, 0").attr("stroke-width", "1px").attr("d", "M 0,1 L 6,7 M 6,1 L 0,7");
1279
- }, v0 = (e, t) => ({
1278
+ }, "insertDynamicNumber"), C0 = /* @__PURE__ */ g(function(e) {
1279
+ const s = e.append("defs").append("marker").attr("id", "crosshead").attr("markerWidth", 15).attr("markerHeight", 8).attr("orient", "auto").attr("refX", 16).attr("refY", 4);
1280
+ s.append("path").attr("fill", "black").attr("stroke", "#000000").style("stroke-dasharray", "0, 0").attr("stroke-width", "1px").attr("d", "M 9,2 V 6 L16,4 Z"), s.append("path").attr("fill", "none").attr("stroke", "#000000").style("stroke-dasharray", "0, 0").attr("stroke-width", "1px").attr("d", "M 0,1 L 6,7 M 6,1 L 0,7");
1281
+ }, "insertArrowCrossHead"), w0 = /* @__PURE__ */ g((e, t) => ({
1280
1282
  fontFamily: e[t + "FontFamily"],
1281
1283
  fontSize: e[t + "FontSize"],
1282
1284
  fontWeight: e[t + "FontWeight"]
1283
- }), W = /* @__PURE__ */ (function() {
1284
- function e(l, i, s, r, n, h, f) {
1285
- const d = i.append("text").attr("x", s + n / 2).attr("y", r + h / 2 + 5).style("text-anchor", "middle").text(l);
1286
- o(d, f);
1285
+ }), "getC4ShapeFont"), Q = /* @__PURE__ */ (function() {
1286
+ function e(l, a, r, n, i, u, d) {
1287
+ const y = a.append("text").attr("x", r + i / 2).attr("y", n + u / 2 + 5).style("text-anchor", "middle").text(l);
1288
+ o(y, d);
1287
1289
  }
1288
- function t(l, i, s, r, n, h, f, d) {
1289
- const { fontSize: p, fontFamily: E, fontWeight: O } = d, R = l.split(Kt.lineBreakRegex);
1290
- for (let S = 0; S < R.length; S++) {
1291
- const L = S * p - p * (R.length - 1) / 2, Y = i.append("text").attr("x", s + n / 2).attr("y", r).style("text-anchor", "middle").attr("dominant-baseline", "middle").style("font-size", p).style("font-weight", O).style("font-family", E);
1292
- Y.append("tspan").attr("dy", L).text(R[S]).attr("alignment-baseline", "mathematical"), o(Y, f);
1290
+ g(e, "byText");
1291
+ function t(l, a, r, n, i, u, d, y) {
1292
+ const { fontSize: p, fontFamily: E, fontWeight: O } = y, S = l.split($t.lineBreakRegex);
1293
+ for (let P = 0; P < S.length; P++) {
1294
+ const M = P * p - p * (S.length - 1) / 2, U = a.append("text").attr("x", r + i / 2).attr("y", n).style("text-anchor", "middle").attr("dominant-baseline", "middle").style("font-size", p).style("font-weight", O).style("font-family", E);
1295
+ U.append("tspan").attr("dy", M).text(S[P]).attr("alignment-baseline", "mathematical"), o(U, d);
1293
1296
  }
1294
1297
  }
1295
- function a(l, i, s, r, n, h, f, d) {
1296
- const p = i.append("switch"), O = p.append("foreignObject").attr("x", s).attr("y", r).attr("width", n).attr("height", h).append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
1297
- O.append("div").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(l), t(l, p, s, r, n, h, f, d), o(O, f);
1298
+ g(t, "byTspan");
1299
+ function s(l, a, r, n, i, u, d, y) {
1300
+ const p = a.append("switch"), O = p.append("foreignObject").attr("x", r).attr("y", n).attr("width", i).attr("height", u).append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
1301
+ O.append("div").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(l), t(l, p, r, n, i, u, d, y), o(O, d);
1298
1302
  }
1299
- function o(l, i) {
1300
- for (const s in i)
1301
- i.hasOwnProperty(s) && l.attr(s, i[s]);
1303
+ g(s, "byFo");
1304
+ function o(l, a) {
1305
+ for (const r in a)
1306
+ a.hasOwnProperty(r) && l.attr(r, a[r]);
1302
1307
  }
1303
- return function(l) {
1304
- return l.textPlacement === "fo" ? a : l.textPlacement === "old" ? e : t;
1308
+ return g(o, "_setTextAttrs"), function(l) {
1309
+ return l.textPlacement === "fo" ? s : l.textPlacement === "old" ? e : t;
1305
1310
  };
1306
- })(), F = {
1307
- drawRect: ie,
1308
- drawBoundary: d0,
1309
- drawC4Shape: f0,
1310
- drawRels: u0,
1311
- drawImage: ye,
1312
- insertArrowHead: b0,
1313
- insertArrowEnd: _0,
1314
- insertArrowFilledHead: x0,
1315
- insertDynamicNumber: m0,
1316
- insertArrowCrossHead: E0,
1317
- insertDatabaseIcon: p0,
1318
- insertComputerIcon: y0,
1319
- insertClockIcon: g0
1320
- };
1321
- let Ut = 0, Ft = 0, ge = 4, Zt = 2;
1322
- Yt.yy = Jt;
1323
- let b = {};
1324
- class be {
1311
+ })(), z = {
1312
+ drawRect: re,
1313
+ drawBoundary: g0,
1314
+ drawC4Shape: b0,
1315
+ drawRels: y0,
1316
+ drawImage: me,
1317
+ insertArrowHead: v0,
1318
+ insertArrowEnd: E0,
1319
+ insertArrowFilledHead: k0,
1320
+ insertDynamicNumber: A0,
1321
+ insertArrowCrossHead: C0,
1322
+ insertDatabaseIcon: _0,
1323
+ insertComputerIcon: x0,
1324
+ insertClockIcon: m0
1325
+ }, Xt = 0, Wt = 0, ve = 4, ee = 2;
1326
+ Ft.yy = te;
1327
+ var _ = {}, Ot, Ee = (Ot = class {
1325
1328
  constructor(t) {
1326
- this.name = "", this.data = {}, this.data.startx = void 0, this.data.stopx = void 0, this.data.starty = void 0, this.data.stopy = void 0, this.data.widthLimit = void 0, this.nextData = {}, this.nextData.startx = void 0, this.nextData.stopx = void 0, this.nextData.starty = void 0, this.nextData.stopy = void 0, this.nextData.cnt = 0, $t(t.db.getConfig());
1329
+ this.name = "", this.data = {}, this.data.startx = void 0, this.data.stopx = void 0, this.data.starty = void 0, this.data.stopy = void 0, this.data.widthLimit = void 0, this.nextData = {}, this.nextData.startx = void 0, this.nextData.stopx = void 0, this.nextData.starty = void 0, this.nextData.stopy = void 0, this.nextData.cnt = 0, ae(t.db.getConfig());
1327
1330
  }
1328
- setData(t, a, o, l) {
1329
- this.nextData.startx = this.data.startx = t, this.nextData.stopx = this.data.stopx = a, this.nextData.starty = this.data.starty = o, this.nextData.stopy = this.data.stopy = l;
1331
+ setData(t, s, o, l) {
1332
+ this.nextData.startx = this.data.startx = t, this.nextData.stopx = this.data.stopx = s, this.nextData.starty = this.data.starty = o, this.nextData.stopy = this.data.stopy = l;
1330
1333
  }
1331
- updateVal(t, a, o, l) {
1332
- t[a] === void 0 ? t[a] = o : t[a] = l(o, t[a]);
1334
+ updateVal(t, s, o, l) {
1335
+ t[s] === void 0 ? t[s] = o : t[s] = l(o, t[s]);
1333
1336
  }
1334
1337
  insert(t) {
1335
1338
  this.nextData.cnt = this.nextData.cnt + 1;
1336
- let a = this.nextData.startx === this.nextData.stopx ? this.nextData.stopx + t.margin : this.nextData.stopx + t.margin * 2, o = a + t.width, l = this.nextData.starty + t.margin * 2, i = l + t.height;
1337
- (a >= this.data.widthLimit || o >= this.data.widthLimit || this.nextData.cnt > ge) && (a = this.nextData.startx + t.margin + b.nextLinePaddingX, l = this.nextData.stopy + t.margin * 2, this.nextData.stopx = o = a + t.width, this.nextData.starty = this.nextData.stopy, this.nextData.stopy = i = l + t.height, this.nextData.cnt = 1), t.x = a, t.y = l, this.updateVal(this.data, "startx", a, Math.min), this.updateVal(this.data, "starty", l, Math.min), this.updateVal(this.data, "stopx", o, Math.max), this.updateVal(this.data, "stopy", i, Math.max), this.updateVal(this.nextData, "startx", a, Math.min), this.updateVal(this.nextData, "starty", l, Math.min), this.updateVal(this.nextData, "stopx", o, Math.max), this.updateVal(this.nextData, "stopy", i, Math.max);
1339
+ let s = this.nextData.startx === this.nextData.stopx ? this.nextData.stopx + t.margin : this.nextData.stopx + t.margin * 2, o = s + t.width, l = this.nextData.starty + t.margin * 2, a = l + t.height;
1340
+ (s >= this.data.widthLimit || o >= this.data.widthLimit || this.nextData.cnt > ve) && (s = this.nextData.startx + t.margin + _.nextLinePaddingX, l = this.nextData.stopy + t.margin * 2, this.nextData.stopx = o = s + t.width, this.nextData.starty = this.nextData.stopy, this.nextData.stopy = a = l + t.height, this.nextData.cnt = 1), t.x = s, t.y = l, this.updateVal(this.data, "startx", s, Math.min), this.updateVal(this.data, "starty", l, Math.min), this.updateVal(this.data, "stopx", o, Math.max), this.updateVal(this.data, "stopy", a, Math.max), this.updateVal(this.nextData, "startx", s, Math.min), this.updateVal(this.nextData, "starty", l, Math.min), this.updateVal(this.nextData, "stopx", o, Math.max), this.updateVal(this.nextData, "stopy", a, Math.max);
1338
1341
  }
1339
1342
  init(t) {
1340
1343
  this.name = "", this.data = {
@@ -1349,231 +1352,229 @@ class be {
1349
1352
  starty: void 0,
1350
1353
  stopy: void 0,
1351
1354
  cnt: 0
1352
- }, $t(t.db.getConfig());
1355
+ }, ae(t.db.getConfig());
1353
1356
  }
1354
1357
  bumpLastMargin(t) {
1355
1358
  this.data.stopx += t, this.data.stopy += t;
1356
1359
  }
1357
- }
1358
- const $t = function(e) {
1359
- Se(b, e), e.fontFamily && (b.personFontFamily = b.systemFontFamily = b.messageFontFamily = e.fontFamily), e.fontSize && (b.personFontSize = b.systemFontSize = b.messageFontSize = e.fontSize), e.fontWeight && (b.personFontWeight = b.systemFontWeight = b.messageFontWeight = e.fontWeight);
1360
- }, Rt = (e, t) => ({
1360
+ }, g(Ot, "Bounds"), Ot), ae = /* @__PURE__ */ g(function(e) {
1361
+ Ne(_, e), e.fontFamily && (_.personFontFamily = _.systemFontFamily = _.messageFontFamily = e.fontFamily), e.fontSize && (_.personFontSize = _.systemFontSize = _.messageFontSize = e.fontSize), e.fontWeight && (_.personFontWeight = _.systemFontWeight = _.messageFontWeight = e.fontWeight);
1362
+ }, "setConf"), Pt = /* @__PURE__ */ g((e, t) => ({
1361
1363
  fontFamily: e[t + "FontFamily"],
1362
1364
  fontSize: e[t + "FontSize"],
1363
1365
  fontWeight: e[t + "FontWeight"]
1364
- }), Bt = (e) => ({
1366
+ }), "c4ShapeFont"), Ut = /* @__PURE__ */ g((e) => ({
1365
1367
  fontFamily: e.boundaryFontFamily,
1366
1368
  fontSize: e.boundaryFontSize,
1367
1369
  fontWeight: e.boundaryFontWeight
1368
- }), k0 = (e) => ({
1370
+ }), "boundaryFont"), T0 = /* @__PURE__ */ g((e) => ({
1369
1371
  fontFamily: e.messageFontFamily,
1370
1372
  fontSize: e.messageFontSize,
1371
1373
  fontWeight: e.messageFontWeight
1372
- });
1373
- function I(e, t, a, o, l) {
1374
+ }), "messageFont");
1375
+ function j(e, t, s, o, l) {
1374
1376
  if (!t[e].width)
1375
- if (a)
1376
- t[e].text = Me(t[e].text, l, o), t[e].textLines = t[e].text.split(Kt.lineBreakRegex).length, t[e].width = l, t[e].height = oe(t[e].text, o);
1377
+ if (s)
1378
+ t[e].text = je(t[e].text, l, o), t[e].textLines = t[e].text.split($t.lineBreakRegex).length, t[e].width = l, t[e].height = fe(t[e].text, o);
1377
1379
  else {
1378
- let i = t[e].text.split(Kt.lineBreakRegex);
1379
- t[e].textLines = i.length;
1380
- let s = 0;
1380
+ let a = t[e].text.split($t.lineBreakRegex);
1381
+ t[e].textLines = a.length;
1382
+ let r = 0;
1381
1383
  t[e].height = 0, t[e].width = 0;
1382
- for (const r of i)
1384
+ for (const n of a)
1383
1385
  t[e].width = Math.max(
1384
- wt(r, o),
1386
+ Tt(n, o),
1385
1387
  t[e].width
1386
- ), s = oe(r, o), t[e].height = t[e].height + s;
1388
+ ), r = fe(n, o), t[e].height = t[e].height + r;
1387
1389
  }
1388
1390
  }
1389
- const _e = function(e, t, a) {
1390
- t.x = a.data.startx, t.y = a.data.starty, t.width = a.data.stopx - a.data.startx, t.height = a.data.stopy - a.data.starty, t.label.y = b.c4ShapeMargin - 35;
1391
- let o = t.wrap && b.wrap, l = Bt(b);
1391
+ g(j, "calcC4ShapeTextWH");
1392
+ var ke = /* @__PURE__ */ g(function(e, t, s) {
1393
+ t.x = s.data.startx, t.y = s.data.starty, t.width = s.data.stopx - s.data.startx, t.height = s.data.stopy - s.data.starty, t.label.y = _.c4ShapeMargin - 35;
1394
+ let o = t.wrap && _.wrap, l = Ut(_);
1392
1395
  l.fontSize = l.fontSize + 2, l.fontWeight = "bold";
1393
- let i = wt(t.label.text, l);
1394
- I("label", t, o, l, i), F.drawBoundary(e, t, b);
1395
- }, xe = function(e, t, a, o) {
1396
+ let a = Tt(t.label.text, l);
1397
+ j("label", t, o, l, a), z.drawBoundary(e, t, _);
1398
+ }, "drawBoundary"), Ae = /* @__PURE__ */ g(function(e, t, s, o) {
1396
1399
  let l = 0;
1397
- for (const i of o) {
1400
+ for (const a of o) {
1398
1401
  l = 0;
1399
- const s = a[i];
1400
- let r = Rt(b, s.typeC4Shape.text);
1401
- switch (r.fontSize = r.fontSize - 2, s.typeC4Shape.width = wt(
1402
- "«" + s.typeC4Shape.text + "»",
1403
- r
1404
- ), s.typeC4Shape.height = r.fontSize + 2, s.typeC4Shape.Y = b.c4ShapePadding, l = s.typeC4Shape.Y + s.typeC4Shape.height - 4, s.image = { width: 0, height: 0, Y: 0 }, s.typeC4Shape.text) {
1402
+ const r = s[a];
1403
+ let n = Pt(_, r.typeC4Shape.text);
1404
+ switch (n.fontSize = n.fontSize - 2, r.typeC4Shape.width = Tt(
1405
+ "«" + r.typeC4Shape.text + "»",
1406
+ n
1407
+ ), r.typeC4Shape.height = n.fontSize + 2, r.typeC4Shape.Y = _.c4ShapePadding, l = r.typeC4Shape.Y + r.typeC4Shape.height - 4, r.image = { width: 0, height: 0, Y: 0 }, r.typeC4Shape.text) {
1405
1408
  case "person":
1406
1409
  case "external_person":
1407
- s.image.width = 48, s.image.height = 48, s.image.Y = l, l = s.image.Y + s.image.height;
1410
+ r.image.width = 48, r.image.height = 48, r.image.Y = l, l = r.image.Y + r.image.height;
1408
1411
  break;
1409
1412
  }
1410
- s.sprite && (s.image.width = 48, s.image.height = 48, s.image.Y = l, l = s.image.Y + s.image.height);
1411
- let n = s.wrap && b.wrap, h = b.width - b.c4ShapePadding * 2, f = Rt(b, s.typeC4Shape.text);
1412
- if (f.fontSize = f.fontSize + 2, f.fontWeight = "bold", I("label", s, n, f, h), s.label.Y = l + 8, l = s.label.Y + s.label.height, s.type && s.type.text !== "") {
1413
- s.type.text = "[" + s.type.text + "]";
1414
- let E = Rt(b, s.typeC4Shape.text);
1415
- I("type", s, n, E, h), s.type.Y = l + 5, l = s.type.Y + s.type.height;
1416
- } else if (s.techn && s.techn.text !== "") {
1417
- s.techn.text = "[" + s.techn.text + "]";
1418
- let E = Rt(b, s.techn.text);
1419
- I("techn", s, n, E, h), s.techn.Y = l + 5, l = s.techn.Y + s.techn.height;
1413
+ r.sprite && (r.image.width = 48, r.image.height = 48, r.image.Y = l, l = r.image.Y + r.image.height);
1414
+ let i = r.wrap && _.wrap, u = _.width - _.c4ShapePadding * 2, d = Pt(_, r.typeC4Shape.text);
1415
+ if (d.fontSize = d.fontSize + 2, d.fontWeight = "bold", j("label", r, i, d, u), r.label.Y = l + 8, l = r.label.Y + r.label.height, r.type && r.type.text !== "") {
1416
+ r.type.text = "[" + r.type.text + "]";
1417
+ let E = Pt(_, r.typeC4Shape.text);
1418
+ j("type", r, i, E, u), r.type.Y = l + 5, l = r.type.Y + r.type.height;
1419
+ } else if (r.techn && r.techn.text !== "") {
1420
+ r.techn.text = "[" + r.techn.text + "]";
1421
+ let E = Pt(_, r.techn.text);
1422
+ j("techn", r, i, E, u), r.techn.Y = l + 5, l = r.techn.Y + r.techn.height;
1420
1423
  }
1421
- let d = l, p = s.label.width;
1422
- if (s.descr && s.descr.text !== "") {
1423
- let E = Rt(b, s.typeC4Shape.text);
1424
- I("descr", s, n, E, h), s.descr.Y = l + 20, l = s.descr.Y + s.descr.height, p = Math.max(s.label.width, s.descr.width), d = l - s.descr.textLines * 5;
1424
+ let y = l, p = r.label.width;
1425
+ if (r.descr && r.descr.text !== "") {
1426
+ let E = Pt(_, r.typeC4Shape.text);
1427
+ j("descr", r, i, E, u), r.descr.Y = l + 20, l = r.descr.Y + r.descr.height, p = Math.max(r.label.width, r.descr.width), y = l - r.descr.textLines * 5;
1425
1428
  }
1426
- p = p + b.c4ShapePadding, s.width = Math.max(s.width || b.width, p, b.width), s.height = Math.max(s.height || b.height, d, b.height), s.margin = s.margin || b.c4ShapeMargin, e.insert(s), F.drawC4Shape(t, s, b);
1429
+ p = p + _.c4ShapePadding, r.width = Math.max(r.width || _.width, p, _.width), r.height = Math.max(r.height || _.height, y, _.height), r.margin = r.margin || _.c4ShapeMargin, e.insert(r), z.drawC4Shape(t, r, _);
1427
1430
  }
1428
- e.bumpLastMargin(b.c4ShapeMargin);
1429
- };
1430
- class B {
1431
- constructor(t, a) {
1432
- this.x = t, this.y = a;
1431
+ e.bumpLastMargin(_.c4ShapeMargin);
1432
+ }, "drawC4ShapeArray"), Rt, Y = (Rt = class {
1433
+ constructor(t, s) {
1434
+ this.x = t, this.y = s;
1433
1435
  }
1434
- }
1435
- let ce = function(e, t) {
1436
- let a = e.x, o = e.y, l = t.x, i = t.y, s = a + e.width / 2, r = o + e.height / 2, n = Math.abs(a - l), h = Math.abs(o - i), f = h / n, d = e.height / e.width, p = null;
1437
- return o == i && a < l ? p = new B(a + e.width, r) : o == i && a > l ? p = new B(a, r) : a == l && o < i ? p = new B(s, o + e.height) : a == l && o > i && (p = new B(s, o)), a > l && o < i ? d >= f ? p = new B(a, r + f * e.width / 2) : p = new B(
1438
- s - n / h * e.height / 2,
1436
+ }, g(Rt, "Point"), Rt), pe = /* @__PURE__ */ g(function(e, t) {
1437
+ let s = e.x, o = e.y, l = t.x, a = t.y, r = s + e.width / 2, n = o + e.height / 2, i = Math.abs(s - l), u = Math.abs(o - a), d = u / i, y = e.height / e.width, p = null;
1438
+ return o == a && s < l ? p = new Y(s + e.width, n) : o == a && s > l ? p = new Y(s, n) : s == l && o < a ? p = new Y(r, o + e.height) : s == l && o > a && (p = new Y(r, o)), s > l && o < a ? y >= d ? p = new Y(s, n + d * e.width / 2) : p = new Y(
1439
+ r - i / u * e.height / 2,
1439
1440
  o + e.height
1440
- ) : a < l && o < i ? d >= f ? p = new B(a + e.width, r + f * e.width / 2) : p = new B(
1441
- s + n / h * e.height / 2,
1441
+ ) : s < l && o < a ? y >= d ? p = new Y(s + e.width, n + d * e.width / 2) : p = new Y(
1442
+ r + i / u * e.height / 2,
1442
1443
  o + e.height
1443
- ) : a < l && o > i ? d >= f ? p = new B(a + e.width, r - f * e.width / 2) : p = new B(s + e.height / 2 * n / h, o) : a > l && o > i && (d >= f ? p = new B(a, r - e.width / 2 * f) : p = new B(s - e.height / 2 * n / h, o)), p;
1444
- }, A0 = function(e, t) {
1445
- let a = { x: 0, y: 0 };
1446
- a.x = t.x + t.width / 2, a.y = t.y + t.height / 2;
1447
- let o = ce(e, a);
1448
- a.x = e.x + e.width / 2, a.y = e.y + e.height / 2;
1449
- let l = ce(t, a);
1444
+ ) : s < l && o > a ? y >= d ? p = new Y(s + e.width, n - d * e.width / 2) : p = new Y(r + e.height / 2 * i / u, o) : s > l && o > a && (y >= d ? p = new Y(s, n - e.width / 2 * d) : p = new Y(r - e.height / 2 * i / u, o)), p;
1445
+ }, "getIntersectPoint"), O0 = /* @__PURE__ */ g(function(e, t) {
1446
+ let s = { x: 0, y: 0 };
1447
+ s.x = t.x + t.width / 2, s.y = t.y + t.height / 2;
1448
+ let o = pe(e, s);
1449
+ s.x = e.x + e.width / 2, s.y = e.y + e.height / 2;
1450
+ let l = pe(t, s);
1450
1451
  return { startPoint: o, endPoint: l };
1451
- };
1452
- const C0 = function(e, t, a, o) {
1452
+ }, "getIntersectPoints"), R0 = /* @__PURE__ */ g(function(e, t, s, o) {
1453
1453
  let l = 0;
1454
- for (let i of t) {
1454
+ for (let a of t) {
1455
1455
  l = l + 1;
1456
- let s = i.wrap && b.wrap, r = k0(b);
1457
- o.db.getC4Type() === "C4Dynamic" && (i.label.text = l + ": " + i.label.text);
1458
- let h = wt(i.label.text, r);
1459
- I("label", i, s, r, h), i.techn && i.techn.text !== "" && (h = wt(i.techn.text, r), I("techn", i, s, r, h)), i.descr && i.descr.text !== "" && (h = wt(i.descr.text, r), I("descr", i, s, r, h));
1460
- let f = a(i.from), d = a(i.to), p = A0(f, d);
1461
- i.startPoint = p.startPoint, i.endPoint = p.endPoint;
1456
+ let r = a.wrap && _.wrap, n = T0(_);
1457
+ o.db.getC4Type() === "C4Dynamic" && (a.label.text = l + ": " + a.label.text);
1458
+ let u = Tt(a.label.text, n);
1459
+ j("label", a, r, n, u), a.techn && a.techn.text !== "" && (u = Tt(a.techn.text, n), j("techn", a, r, n, u)), a.descr && a.descr.text !== "" && (u = Tt(a.descr.text, n), j("descr", a, r, n, u));
1460
+ let d = s(a.from), y = s(a.to), p = O0(d, y);
1461
+ a.startPoint = p.startPoint, a.endPoint = p.endPoint;
1462
1462
  }
1463
- F.drawRels(e, t, b);
1464
- };
1465
- function me(e, t, a, o, l) {
1466
- let i = new be(l);
1467
- i.data.widthLimit = a.data.widthLimit / Math.min(Zt, o.length);
1468
- for (let [s, r] of o.entries()) {
1469
- let n = 0;
1470
- r.image = { width: 0, height: 0, Y: 0 }, r.sprite && (r.image.width = 48, r.image.height = 48, r.image.Y = n, n = r.image.Y + r.image.height);
1471
- let h = r.wrap && b.wrap, f = Bt(b);
1472
- if (f.fontSize = f.fontSize + 2, f.fontWeight = "bold", I(
1463
+ z.drawRels(e, t, _);
1464
+ }, "drawRels");
1465
+ function se(e, t, s, o, l) {
1466
+ let a = new Ee(l);
1467
+ a.data.widthLimit = s.data.widthLimit / Math.min(ee, o.length);
1468
+ for (let [r, n] of o.entries()) {
1469
+ let i = 0;
1470
+ n.image = { width: 0, height: 0, Y: 0 }, n.sprite && (n.image.width = 48, n.image.height = 48, n.image.Y = i, i = n.image.Y + n.image.height);
1471
+ let u = n.wrap && _.wrap, d = Ut(_);
1472
+ if (d.fontSize = d.fontSize + 2, d.fontWeight = "bold", j(
1473
1473
  "label",
1474
- r,
1475
- h,
1476
- f,
1477
- i.data.widthLimit
1478
- ), r.label.Y = n + 8, n = r.label.Y + r.label.height, r.type && r.type.text !== "") {
1479
- r.type.text = "[" + r.type.text + "]";
1480
- let O = Bt(b);
1481
- I(
1474
+ n,
1475
+ u,
1476
+ d,
1477
+ a.data.widthLimit
1478
+ ), n.label.Y = i + 8, i = n.label.Y + n.label.height, n.type && n.type.text !== "") {
1479
+ n.type.text = "[" + n.type.text + "]";
1480
+ let O = Ut(_);
1481
+ j(
1482
1482
  "type",
1483
- r,
1484
- h,
1483
+ n,
1484
+ u,
1485
1485
  O,
1486
- i.data.widthLimit
1487
- ), r.type.Y = n + 5, n = r.type.Y + r.type.height;
1486
+ a.data.widthLimit
1487
+ ), n.type.Y = i + 5, i = n.type.Y + n.type.height;
1488
1488
  }
1489
- if (r.descr && r.descr.text !== "") {
1490
- let O = Bt(b);
1491
- O.fontSize = O.fontSize - 2, I(
1489
+ if (n.descr && n.descr.text !== "") {
1490
+ let O = Ut(_);
1491
+ O.fontSize = O.fontSize - 2, j(
1492
1492
  "descr",
1493
- r,
1494
- h,
1493
+ n,
1494
+ u,
1495
1495
  O,
1496
- i.data.widthLimit
1497
- ), r.descr.Y = n + 20, n = r.descr.Y + r.descr.height;
1496
+ a.data.widthLimit
1497
+ ), n.descr.Y = i + 20, i = n.descr.Y + n.descr.height;
1498
1498
  }
1499
- if (s == 0 || s % Zt === 0) {
1500
- let O = a.data.startx + b.diagramMarginX, R = a.data.stopy + b.diagramMarginY + n;
1501
- i.setData(O, O, R, R);
1499
+ if (r == 0 || r % ee === 0) {
1500
+ let O = s.data.startx + _.diagramMarginX, S = s.data.stopy + _.diagramMarginY + i;
1501
+ a.setData(O, O, S, S);
1502
1502
  } else {
1503
- let O = i.data.stopx !== i.data.startx ? i.data.stopx + b.diagramMarginX : i.data.startx, R = i.data.starty;
1504
- i.setData(O, O, R, R);
1503
+ let O = a.data.stopx !== a.data.startx ? a.data.stopx + _.diagramMarginX : a.data.startx, S = a.data.starty;
1504
+ a.setData(O, O, S, S);
1505
1505
  }
1506
- i.name = r.alias;
1507
- let d = l.db.getC4ShapeArray(r.alias), p = l.db.getC4ShapeKeys(r.alias);
1508
- p.length > 0 && xe(
1509
- i,
1506
+ a.name = n.alias;
1507
+ let y = l.db.getC4ShapeArray(n.alias), p = l.db.getC4ShapeKeys(n.alias);
1508
+ p.length > 0 && Ae(
1509
+ a,
1510
1510
  e,
1511
- d,
1511
+ y,
1512
1512
  p
1513
- ), t = r.alias;
1514
- let E = l.db.getBoundarys(t);
1515
- E.length > 0 && me(
1513
+ ), t = n.alias;
1514
+ let E = l.db.getBoundaries(t);
1515
+ E.length > 0 && se(
1516
1516
  e,
1517
1517
  t,
1518
- i,
1518
+ a,
1519
1519
  E,
1520
1520
  l
1521
- ), r.alias !== "global" && _e(e, r, i), a.data.stopy = Math.max(
1522
- i.data.stopy + b.c4ShapeMargin,
1523
- a.data.stopy
1524
- ), a.data.stopx = Math.max(
1525
- i.data.stopx + b.c4ShapeMargin,
1526
- a.data.stopx
1527
- ), Ut = Math.max(Ut, a.data.stopx), Ft = Math.max(Ft, a.data.stopy);
1521
+ ), n.alias !== "global" && ke(e, n, a), s.data.stopy = Math.max(
1522
+ a.data.stopy + _.c4ShapeMargin,
1523
+ s.data.stopy
1524
+ ), s.data.stopx = Math.max(
1525
+ a.data.stopx + _.c4ShapeMargin,
1526
+ s.data.stopx
1527
+ ), Xt = Math.max(Xt, s.data.stopx), Wt = Math.max(Wt, s.data.stopy);
1528
1528
  }
1529
1529
  }
1530
- const w0 = function(e, t, a, o) {
1531
- b = Dt().c4;
1532
- const l = Dt().securityLevel;
1533
- let i;
1534
- l === "sandbox" && (i = Nt("#i" + t));
1535
- const s = l === "sandbox" ? Nt(i.nodes()[0].contentDocument.body) : Nt("body");
1536
- let r = o.db;
1537
- o.db.setWrap(b.wrap), ge = r.getC4ShapeInRow(), Zt = r.getC4BoundaryInRow(), le.debug(`C:${JSON.stringify(b, null, 2)}`);
1538
- const n = l === "sandbox" ? s.select(`[id="${t}"]`) : Nt(`[id="${t}"]`);
1539
- F.insertComputerIcon(n), F.insertDatabaseIcon(n), F.insertClockIcon(n);
1540
- let h = new be(o);
1541
- h.setData(
1542
- b.diagramMarginX,
1543
- b.diagramMarginX,
1544
- b.diagramMarginY,
1545
- b.diagramMarginY
1546
- ), h.data.widthLimit = screen.availWidth, Ut = b.diagramMarginX, Ft = b.diagramMarginY;
1547
- const f = o.db.getTitle();
1548
- let d = o.db.getBoundarys("");
1549
- me(n, "", h, d, o), F.insertArrowHead(n), F.insertArrowEnd(n), F.insertArrowCrossHead(n), F.insertArrowFilledHead(n), C0(n, o.db.getRels(), o.db.getC4Shape, o), h.data.stopx = Ut, h.data.stopy = Ft;
1550
- const p = h.data;
1551
- let O = p.stopy - p.starty + 2 * b.diagramMarginY;
1552
- const S = p.stopx - p.startx + 2 * b.diagramMarginX;
1553
- f && n.append("text").text(f).attr("x", (p.stopx - p.startx) / 2 - 4 * b.diagramMarginX).attr("y", p.starty + b.diagramMarginY), De(n, O, S, b.useMaxWidth);
1554
- const L = f ? 60 : 0;
1555
- n.attr(
1530
+ g(se, "drawInsideBoundary");
1531
+ var S0 = /* @__PURE__ */ g(function(e, t, s, o) {
1532
+ _ = Bt().c4;
1533
+ const l = Bt().securityLevel;
1534
+ let a;
1535
+ l === "sandbox" && (a = jt("#i" + t));
1536
+ const r = l === "sandbox" ? jt(a.nodes()[0].contentDocument.body) : jt("body");
1537
+ let n = o.db;
1538
+ o.db.setWrap(_.wrap), ve = n.getC4ShapeInRow(), ee = n.getC4BoundaryInRow(), de.debug(`C:${JSON.stringify(_, null, 2)}`);
1539
+ const i = l === "sandbox" ? r.select(`[id="${t}"]`) : jt(`[id="${t}"]`);
1540
+ z.insertComputerIcon(i), z.insertDatabaseIcon(i), z.insertClockIcon(i);
1541
+ let u = new Ee(o);
1542
+ u.setData(
1543
+ _.diagramMarginX,
1544
+ _.diagramMarginX,
1545
+ _.diagramMarginY,
1546
+ _.diagramMarginY
1547
+ ), u.data.widthLimit = screen.availWidth, Xt = _.diagramMarginX, Wt = _.diagramMarginY;
1548
+ const d = o.db.getTitle();
1549
+ let y = o.db.getBoundaries("");
1550
+ se(i, "", u, y, o), z.insertArrowHead(i), z.insertArrowEnd(i), z.insertArrowCrossHead(i), z.insertArrowFilledHead(i), R0(i, o.db.getRels(), o.db.getC4Shape, o), u.data.stopx = Xt, u.data.stopy = Wt;
1551
+ const p = u.data;
1552
+ let O = p.stopy - p.starty + 2 * _.diagramMarginY;
1553
+ const P = p.stopx - p.startx + 2 * _.diagramMarginX;
1554
+ d && i.append("text").text(d).attr("x", (p.stopx - p.startx) / 2 - 4 * _.diagramMarginX).attr("y", p.starty + _.diagramMarginY), Le(i, O, P, _.useMaxWidth);
1555
+ const M = d ? 60 : 0;
1556
+ i.attr(
1556
1557
  "viewBox",
1557
- p.startx - b.diagramMarginX + " -" + (b.diagramMarginY + L) + " " + S + " " + (O + L)
1558
- ), le.debug("models:", p);
1559
- }, he = {
1560
- drawPersonOrSystemArray: xe,
1561
- drawBoundary: _e,
1562
- setConf: $t,
1563
- draw: w0
1564
- }, O0 = (e) => `.person {
1558
+ p.startx - _.diagramMarginX + " -" + (_.diagramMarginY + M) + " " + P + " " + (O + M)
1559
+ ), de.debug("models:", p);
1560
+ }, "draw"), ye = {
1561
+ drawPersonOrSystemArray: Ae,
1562
+ drawBoundary: ke,
1563
+ setConf: ae,
1564
+ draw: S0
1565
+ }, D0 = /* @__PURE__ */ g((e) => `.person {
1565
1566
  stroke: ${e.personBorder};
1566
1567
  fill: ${e.personBkg};
1567
1568
  }
1568
- `, T0 = O0, S0 = {
1569
- parser: Be,
1570
- db: Jt,
1571
- renderer: he,
1572
- styles: T0,
1573
- init: ({ c4: e, wrap: t }) => {
1574
- he.setConf(e), Jt.setWrap(t);
1575
- }
1569
+ `, "getStyles"), P0 = D0, M0 = {
1570
+ parser: Ue,
1571
+ db: te,
1572
+ renderer: ye,
1573
+ styles: P0,
1574
+ init: /* @__PURE__ */ g(({ c4: e, wrap: t }) => {
1575
+ ye.setConf(e), te.setWrap(t);
1576
+ }, "init")
1576
1577
  };
1577
1578
  export {
1578
- S0 as diagram
1579
+ M0 as diagram
1579
1580
  };