@antdv-next/x 1.0.2-beta.3 → 1.0.2-beta.4

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 (92) hide show
  1. package/dist/index.umd.js +1 -1
  2. package/dist/package.js +1 -1
  3. package/es/{_basePickBy-DZiMKfOQ.js → _basePickBy-DFHEGO2M.js} +2 -2
  4. package/es/{_baseUniq-DY3uHjSO.js → _baseUniq-BlS7rXTs.js} +2 -2
  5. package/es/antdv-next-x.esm.js +45472 -6767
  6. package/es/architecture-PBZL5I3N-D7tS55xM.js +3 -0
  7. package/es/{architectureDiagram-2XIMDMQ5-C8x7stcr.js → architectureDiagram-2XIMDMQ5-CmfsCwJk.js} +83 -83
  8. package/es/{blockDiagram-WCTKOSBZ-DA-s3zoq.js → blockDiagram-WCTKOSBZ-lJAan65A.js} +529 -529
  9. package/es/{c4Diagram-IC4MRINW-DD81dyS8.js → c4Diagram-IC4MRINW-B1c2x_1Q.js} +168 -168
  10. package/es/{channel-DZcPzDuw.js → channel-DFgF_2F7.js} +1 -1
  11. package/es/{chunk-4BX2VUAB-B3zzxglQ.js → chunk-4BX2VUAB-J2N81Fpp.js} +1 -1
  12. package/es/{chunk-55IACEB6-CA9CRLkM.js → chunk-55IACEB6-DGtfGRgi.js} +1 -1
  13. package/es/{chunk-7E7YKBS2-C_F-WOLQ.js → chunk-7E7YKBS2-CL2d4WAf.js} +1 -1
  14. package/es/{chunk-7R4GIKGN-CaI-1szl.js → chunk-7R4GIKGN-QT6IorJ_.js} +2 -2
  15. package/es/{chunk-C72U2L5F-l6RZhGri.js → chunk-C72U2L5F-OHTVpS-m.js} +1 -1
  16. package/es/{chunk-EGIJ26TM-Be42NeHw.js → chunk-EGIJ26TM-DyMPGYrB.js} +1 -1
  17. package/es/{chunk-FMBD7UC4-DJh0L322.js → chunk-FMBD7UC4-DCcRjunY.js} +1 -1
  18. package/es/{chunk-GEFDOKGD-BWt_f4io.js → chunk-GEFDOKGD-BWpC-zoH.js} +251 -251
  19. package/es/{chunk-GLR3WWYH-B30PgFZZ.js → chunk-GLR3WWYH-DiXcKb5Y.js} +16 -16
  20. package/es/{chunk-HHEYEP7N-DkMnkoQX.js → chunk-HHEYEP7N-Cxc7E4dX.js} +2 -2
  21. package/es/{chunk-JSJVCQXG-ddNKdfu8.js → chunk-JSJVCQXG-D8_heHOp.js} +2 -2
  22. package/es/{chunk-KX2RTZJC-BbnGQVgL.js → chunk-KX2RTZJC-D5cc4rj6.js} +2 -2
  23. package/es/{chunk-KYZI473N-B2rmiORt.js → chunk-KYZI473N-BHJ3T5Zv.js} +571 -571
  24. package/es/{chunk-L3YUKLVL-CmAZrf2E.js → chunk-L3YUKLVL-7oGaUOdc.js} +1 -1
  25. package/es/{chunk-MX3YWQON-B3_AxMM1.js → chunk-MX3YWQON-BxE-Aq9c.js} +1 -1
  26. package/es/{chunk-NQ4KR5QH-CmCG9ow3.js → chunk-NQ4KR5QH-EYQBXkqP.js} +119 -119
  27. package/es/{chunk-O4XLMI2P-CTLwv925.js → chunk-O4XLMI2P-qjOoGpnx.js} +237 -237
  28. package/es/{chunk-OZEHJAEY-CtONdvqY.js → chunk-OZEHJAEY-D82nx27s.js} +1 -1
  29. package/es/{chunk-PQ6SQG4A-Dx7no2mb.js → chunk-PQ6SQG4A-D3jtNCWN.js} +2 -2
  30. package/es/{chunk-PU5JKC2W-O9_8B7zU.js → chunk-PU5JKC2W-DdP8BS-S.js} +63 -63
  31. package/es/{chunk-QZHKN3VN-BbuqVxkO.js → chunk-QZHKN3VN-CW3cFN-h.js} +1 -1
  32. package/es/{chunk-R5LLSJPH-CpwKqyBY.js → chunk-R5LLSJPH-CreI2kO9.js} +1 -1
  33. package/es/{chunk-WL4C6EOR-BXrjoxmr.js → chunk-WL4C6EOR-BDbxJyGk.js} +119 -119
  34. package/es/{chunk-XIRO2GV7-4kMze38t.js → chunk-XIRO2GV7-S5KkbVnN.js} +1 -1
  35. package/es/{chunk-XPW4576I-DG6JendS.js → chunk-XPW4576I-B0KVSHwE.js} +1 -1
  36. package/es/{chunk-XZSTWKYB-DjOnj3KP.js → chunk-XZSTWKYB-CucN1XvM.js} +5 -5
  37. package/es/{chunk-YBOYWFTD-DVAsFYJ-.js → chunk-YBOYWFTD-CvaddD9G.js} +7 -7
  38. package/es/classDiagram-VBA2DB6C-Co3LMmg8.js +29 -0
  39. package/es/classDiagram-v2-RAHNMMFH-BZscgdF2.js +29 -0
  40. package/es/{clone-CtpnpaZq.js → clone-r3YukIBB.js} +1 -1
  41. package/es/{cose-bilkent-S5V4N54A-IRlkXPnk.js → cose-bilkent-S5V4N54A-B5OQuIhl.js} +1 -1
  42. package/es/{dagre-Dm2PNtRY.js → dagre-5aGJFKmT.js} +6 -6
  43. package/es/dagre-KLK3FWXG-BI5QQMXo.js +294 -0
  44. package/es/{diagram-E7M64L7V-Cdek_47s.js → diagram-E7M64L7V-Dz62Vz_a.js} +59 -59
  45. package/es/{diagram-IFDJBPK2-DzCaWPW3.js → diagram-IFDJBPK2-9fjvFkSc.js} +30 -30
  46. package/es/{diagram-P4PSJMXO-B7pPaer-.js → diagram-P4PSJMXO-BlX6jFjZ.js} +31 -31
  47. package/es/{erDiagram-INFDFZHY-BZHMCNB3.js → erDiagram-INFDFZHY-BcRXu8Cp.js} +127 -127
  48. package/es/{flowDiagram-PKNHOUZH-BBJx8-jP.js → flowDiagram-PKNHOUZH-UeyfgU8z.js} +155 -155
  49. package/es/{ganttDiagram-A5KZAMGK-4TJAHJUF.js → ganttDiagram-A5KZAMGK-txCzqgQ5.js} +602 -599
  50. package/es/gitGraph-HDMCJU4V-CxsS0Qr1.js +3 -0
  51. package/es/{gitGraphDiagram-K3NZZRJ6-CSATib_y.js → gitGraphDiagram-K3NZZRJ6-DghWYaFU.js} +175 -175
  52. package/es/{graphlib-WtNUGuyd.js → graphlib-dRkI1OCL.js} +3 -3
  53. package/es/info-3K5VOQVL-COqdvM99.js +3 -0
  54. package/es/{infoDiagram-LFFYTUFH-ahqynRAA.js → infoDiagram-LFFYTUFH-CA-vlAvP.js} +4 -4
  55. package/es/{isEmpty-BgdRybYg.js → isEmpty-CmA-HYrg.js} +1 -1
  56. package/es/{ishikawaDiagram-PHBUUO56-B9NWp429.js → ishikawaDiagram-PHBUUO56-DjdpS9Lb.js} +65 -65
  57. package/es/{journeyDiagram-4ABVD52K-CXmYa8OF.js → journeyDiagram-4ABVD52K-CIJfC1fp.js} +4 -4
  58. package/es/{kanban-definition-K7BYSVSG-g9tToeab.js → kanban-definition-K7BYSVSG-CC2vwGck.js} +10 -10
  59. package/es/{line-DETnb8Mr.js → line-Cu9NTacD.js} +1 -1
  60. package/es/{linear-DGQDIL28.js → linear-C0rAYYmp.js} +1 -1
  61. package/es/{mermaid-parser.core-DXn-0ev4.js → mermaid-parser.core-7Wn2L29P.js} +15 -15
  62. package/es/{mermaid.core-W4vXivv8.js → mermaid.core-Bvy_Q6Hu.js} +206 -206
  63. package/es/{mindmap-definition-YRQLILUH-x9QfilEP.js → mindmap-definition-YRQLILUH-BzTYDYmK.js} +12 -12
  64. package/es/packet-RMMSAZCW-2PTjWKLd.js +3 -0
  65. package/es/pie-UPGHQEXC-Du8-k-EA.js +3 -0
  66. package/es/{pieDiagram-SKSYHLDU-CG2GOW6Z.js → pieDiagram-SKSYHLDU-COvqE_C6.js} +24 -24
  67. package/es/{quadrantDiagram-337W2JSQ-C81pfz0c.js → quadrantDiagram-337W2JSQ-Dgv8ccjt.js} +3 -3
  68. package/es/radar-KQ55EAFF-jJOhyjxC.js +3 -0
  69. package/es/{requirementDiagram-Z7DCOOCP-J-tc0fnw.js → requirementDiagram-Z7DCOOCP-B2NyhxO-.js} +58 -58
  70. package/es/{sankeyDiagram-WA2Y5GQK-BfGyH2f1.js → sankeyDiagram-WA2Y5GQK-BfnH_gpl.js} +2 -2
  71. package/es/{sequenceDiagram-2WXFIKYE-m6aSnjku.js → sequenceDiagram-2WXFIKYE-DXssVQOF.js} +388 -388
  72. package/es/{stateDiagram-RAJIS63D-CPJuOh-s.js → stateDiagram-RAJIS63D-DvDLfupV.js} +67 -67
  73. package/es/stateDiagram-v2-FVOUBMTO-DIXyaX9W.js +27 -0
  74. package/es/{timeline-definition-YZTLITO2-C7Vz32PK.js → timeline-definition-YZTLITO2-ErcRjbZf.js} +2 -2
  75. package/es/treemap-KZPCXAKY-CvZAIYVa.js +3 -0
  76. package/es/{vennDiagram-LZ73GAT5-BWloH3fI.js → vennDiagram-LZ73GAT5-CDTZUtc8.js} +104 -104
  77. package/es/{xychartDiagram-JWTSCODW-l-SVBlqB.js → xychartDiagram-JWTSCODW-Y21jBOTg.js} +98 -98
  78. package/package.json +1 -1
  79. package/es/architecture-PBZL5I3N-BdQzc3t9.js +0 -3
  80. package/es/classDiagram-VBA2DB6C-wt_pcvEN.js +0 -29
  81. package/es/classDiagram-v2-RAHNMMFH-B8Bw4b3n.js +0 -29
  82. package/es/dagre-KLK3FWXG-DLgOeqbz.js +0 -294
  83. package/es/gitGraph-HDMCJU4V-CGPcRI5K.js +0 -3
  84. package/es/info-3K5VOQVL-D6bOjfim.js +0 -3
  85. package/es/packet-RMMSAZCW-CW6reTze.js +0 -3
  86. package/es/pie-UPGHQEXC-ByJXXnsc.js +0 -3
  87. package/es/radar-KQ55EAFF-DLq-eYVH.js +0 -3
  88. package/es/stateDiagram-v2-FVOUBMTO-uxSkj8dH.js +0 -27
  89. package/es/treemap-KZPCXAKY-BhLuAwPA.js +0 -3
  90. /package/es/{isArrayLikeObject-D4gDJaEW.js → isArrayLikeObject-jl2bjkAJ.js} +0 -0
  91. /package/es/{katex-Bvh2oRWI.js → katex-DCMiIo1z.js} +0 -0
  92. /package/es/{src-CFVe5TPD.js → src-CUQ6oOYk.js} +0 -0
@@ -1,14 +1,14 @@
1
- import { g as e, n as t, t as n } from "./chunk-GEFDOKGD-BWt_f4io.js";
2
- import { g as r, h as i, p as a } from "./src-CFVe5TPD.js";
3
- import { B as o, L as s, V as l, _ as u, b as d, c as f, r as p, s as m, v as h } from "./chunk-7R4GIKGN-CaI-1szl.js";
1
+ import { g as e, h as t, p as n } from "./src-CUQ6oOYk.js";
2
+ import { g as r, n as i, t as a } from "./chunk-GEFDOKGD-BWpC-zoH.js";
3
+ import { B as o, L as s, V as l, _ as u, b as d, c as f, r as p, s as m, v as h } from "./chunk-7R4GIKGN-QT6IorJ_.js";
4
4
  import { t as g } from "./dist-BX_roQzC.js";
5
- import { a as _, s as v } from "./chunk-JSJVCQXG-ddNKdfu8.js";
5
+ import { a as _, s as v } from "./chunk-JSJVCQXG-D8_heHOp.js";
6
6
  //#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-IC4MRINW.mjs
7
7
  var y = g(), b = (function() {
8
- var e = /* @__PURE__ */ i(function(e, t, n, r) {
8
+ var e = /* @__PURE__ */ t(function(e, t, n, r) {
9
9
  for (n ||= {}, r = e.length; r--; n[e[r]] = t);
10
10
  return n;
11
- }, "o"), t = [1, 24], n = [1, 25], r = [1, 26], a = [1, 27], o = [1, 28], s = [1, 63], l = [1, 64], u = [1, 65], d = [1, 66], f = [1, 67], p = [1, 68], m = [1, 69], h = [1, 29], g = [1, 30], _ = [1, 31], v = [1, 32], y = [1, 33], b = [1, 34], x = [1, 35], S = [1, 36], C = [1, 37], w = [1, 38], T = [1, 39], E = [1, 40], D = [1, 41], O = [1, 42], k = [1, 43], A = [1, 44], j = [1, 45], M = [1, 46], N = [1, 47], P = [1, 48], F = [1, 50], I = [1, 51], L = [1, 52], R = [1, 53], z = [1, 54], B = [1, 55], V = [1, 56], H = [1, 57], ee = [1, 58], te = [1, 59], ne = [1, 60], re = [14, 42], ie = [
11
+ }, "o"), n = [1, 24], r = [1, 25], i = [1, 26], a = [1, 27], o = [1, 28], s = [1, 63], l = [1, 64], u = [1, 65], d = [1, 66], f = [1, 67], p = [1, 68], m = [1, 69], h = [1, 29], g = [1, 30], _ = [1, 31], v = [1, 32], y = [1, 33], b = [1, 34], x = [1, 35], S = [1, 36], C = [1, 37], w = [1, 38], T = [1, 39], E = [1, 40], D = [1, 41], O = [1, 42], k = [1, 43], A = [1, 44], j = [1, 45], M = [1, 46], N = [1, 47], P = [1, 48], F = [1, 50], I = [1, 51], L = [1, 52], R = [1, 53], z = [1, 54], B = [1, 55], V = [1, 56], H = [1, 57], ee = [1, 58], te = [1, 59], ne = [1, 60], re = [14, 42], ie = [
12
12
  14,
13
13
  34,
14
14
  36,
@@ -149,7 +149,7 @@ var y = g(), b = (function() {
149
149
  73,
150
150
  74
151
151
  ], J = {
152
- trace: /* @__PURE__ */ i(function() {}, "trace"),
152
+ trace: /* @__PURE__ */ t(function() {}, "trace"),
153
153
  yy: {},
154
154
  symbols_: {
155
155
  error: 2,
@@ -379,7 +379,7 @@ var y = g(), b = (function() {
379
379
  [75, 1],
380
380
  [75, 1]
381
381
  ],
382
- performAction: /* @__PURE__ */ i(function(e, t, n, r, i, a, o) {
382
+ performAction: /* @__PURE__ */ t(function(e, t, n, r, i, a, o) {
383
383
  var s = a.length - 1;
384
384
  switch (i) {
385
385
  case 3:
@@ -584,9 +584,9 @@ var y = g(), b = (function() {
584
584
  19: 20,
585
585
  20: 21,
586
586
  21: 22,
587
- 22: t,
588
- 23: n,
589
- 24: r,
587
+ 22: n,
588
+ 23: r,
589
+ 24: i,
590
590
  26: a,
591
591
  28: o,
592
592
  29: 49,
@@ -637,9 +637,9 @@ var y = g(), b = (function() {
637
637
  19: 20,
638
638
  20: 21,
639
639
  21: 22,
640
- 22: t,
641
- 23: n,
642
- 24: r,
640
+ 22: n,
641
+ 23: r,
642
+ 24: i,
643
643
  26: a,
644
644
  28: o,
645
645
  29: 49,
@@ -690,9 +690,9 @@ var y = g(), b = (function() {
690
690
  19: 20,
691
691
  20: 21,
692
692
  21: 22,
693
- 22: t,
694
- 23: n,
695
- 24: r,
693
+ 22: n,
694
+ 23: r,
695
+ 24: i,
696
696
  26: a,
697
697
  28: o,
698
698
  29: 49,
@@ -743,9 +743,9 @@ var y = g(), b = (function() {
743
743
  19: 20,
744
744
  20: 21,
745
745
  21: 22,
746
- 22: t,
747
- 23: n,
748
- 24: r,
746
+ 22: n,
747
+ 23: r,
748
+ 24: i,
749
749
  26: a,
750
750
  28: o,
751
751
  29: 49,
@@ -796,9 +796,9 @@ var y = g(), b = (function() {
796
796
  19: 20,
797
797
  20: 21,
798
798
  21: 22,
799
- 22: t,
800
- 23: n,
801
- 24: r,
799
+ 22: n,
800
+ 23: r,
801
+ 24: i,
802
802
  26: a,
803
803
  28: o,
804
804
  29: 49,
@@ -1261,9 +1261,9 @@ var y = g(), b = (function() {
1261
1261
  e(ie, [2, 17], {
1262
1262
  21: 22,
1263
1263
  19: 130,
1264
- 22: t,
1265
- 23: n,
1266
- 24: r,
1264
+ 22: n,
1265
+ 23: r,
1266
+ 24: i,
1267
1267
  26: a,
1268
1268
  28: o
1269
1269
  }),
@@ -1276,9 +1276,9 @@ var y = g(), b = (function() {
1276
1276
  30: 61,
1277
1277
  32: 62,
1278
1278
  13: 131,
1279
- 22: t,
1280
- 23: n,
1281
- 24: r,
1279
+ 22: n,
1280
+ 23: r,
1281
+ 24: i,
1282
1282
  26: a,
1283
1283
  28: o,
1284
1284
  34: s,
@@ -1406,15 +1406,15 @@ var y = g(), b = (function() {
1406
1406
  128: [2, 11],
1407
1407
  129: [2, 12]
1408
1408
  },
1409
- parseError: /* @__PURE__ */ i(function(e, t) {
1409
+ parseError: /* @__PURE__ */ t(function(e, t) {
1410
1410
  if (t.recoverable) this.trace(e);
1411
1411
  else {
1412
1412
  var n = Error(e);
1413
1413
  throw n.hash = t, n;
1414
1414
  }
1415
1415
  }, "parseError"),
1416
- parse: /* @__PURE__ */ i(function(e) {
1417
- var t = this, n = [0], r = [], a = [null], o = [], s = this.table, l = "", u = 0, d = 0, f = 0, p = 2, m = 1, h = o.slice.call(arguments, 1), g = Object.create(this.lexer), _ = { yy: {} };
1416
+ parse: /* @__PURE__ */ t(function(e) {
1417
+ var n = this, r = [0], i = [], a = [null], o = [], s = this.table, l = "", u = 0, d = 0, f = 0, p = 2, m = 1, h = o.slice.call(arguments, 1), g = Object.create(this.lexer), _ = { yy: {} };
1418
1418
  for (var v in this.yy) Object.prototype.hasOwnProperty.call(this.yy, v) && (_.yy[v] = this.yy[v]);
1419
1419
  g.setInput(e, _.yy), _.yy.lexer = g, _.yy.parser = this, g.yylloc === void 0 && (g.yylloc = {});
1420
1420
  var y = g.yylloc;
@@ -1422,16 +1422,16 @@ var y = g(), b = (function() {
1422
1422
  var b = g.options && g.options.ranges;
1423
1423
  typeof _.yy.parseError == "function" ? this.parseError = _.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
1424
1424
  function x(e) {
1425
- n.length -= 2 * e, a.length -= e, o.length -= e;
1425
+ r.length -= 2 * e, a.length -= e, o.length -= e;
1426
1426
  }
1427
- i(x, "popStack");
1427
+ t(x, "popStack");
1428
1428
  function S() {
1429
- var e = r.pop() || g.lex() || m;
1430
- return typeof e != "number" && (e instanceof Array && (r = e, e = r.pop()), e = t.symbols_[e] || e), e;
1429
+ var e = i.pop() || g.lex() || m;
1430
+ return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = n.symbols_[e] || e), e;
1431
1431
  }
1432
- i(S, "lex");
1432
+ t(S, "lex");
1433
1433
  for (var C, w, T, E, D, O = {}, k, A, j, M;;) {
1434
- if (T = n[n.length - 1], this.defaultActions[T] ? E = this.defaultActions[T] : (C ??= S(), E = s[T] && s[T][C]), E === void 0 || !E.length || !E[0]) {
1434
+ if (T = r[r.length - 1], this.defaultActions[T] ? E = this.defaultActions[T] : (C ??= S(), E = s[T] && s[T][C]), E === void 0 || !E.length || !E[0]) {
1435
1435
  var N = "";
1436
1436
  for (k in M = [], s[T]) this.terminals_[k] && k > p && M.push("'" + this.terminals_[k] + "'");
1437
1437
  N = g.showPosition ? "Parse error on line " + (u + 1) + ":\n" + g.showPosition() + "\nExpecting " + M.join(", ") + ", got '" + (this.terminals_[C] || C) + "'" : "Parse error on line " + (u + 1) + ": Unexpected " + (C == m ? "end of input" : "'" + (this.terminals_[C] || C) + "'"), this.parseError(N, {
@@ -1445,7 +1445,7 @@ var y = g(), b = (function() {
1445
1445
  if (E[0] instanceof Array && E.length > 1) throw Error("Parse Error: multiple actions possible at state: " + T + ", token: " + C);
1446
1446
  switch (E[0]) {
1447
1447
  case 1:
1448
- n.push(C), a.push(g.yytext), o.push(g.yylloc), n.push(E[1]), C = null, w ? (C = w, w = null) : (d = g.yyleng, l = g.yytext, u = g.yylineno, y = g.yylloc, f > 0 && f--);
1448
+ r.push(C), a.push(g.yytext), o.push(g.yylloc), r.push(E[1]), C = null, w ? (C = w, w = null) : (d = g.yyleng, l = g.yytext, u = g.yylineno, y = g.yylloc, f > 0 && f--);
1449
1449
  break;
1450
1450
  case 2:
1451
1451
  if (A = this.productions_[E[1]][1], O.$ = a[a.length - A], O._$ = {
@@ -1462,7 +1462,7 @@ var y = g(), b = (function() {
1462
1462
  a,
1463
1463
  o
1464
1464
  ].concat(h)), D !== void 0) return D;
1465
- A && (n = n.slice(0, -1 * A * 2), a = a.slice(0, -1 * A), o = o.slice(0, -1 * A)), n.push(this.productions_[E[1]][0]), a.push(O.$), o.push(O._$), j = s[n[n.length - 2]][n[n.length - 1]], n.push(j);
1465
+ A && (r = r.slice(0, -1 * A * 2), a = a.slice(0, -1 * A), o = o.slice(0, -1 * A)), r.push(this.productions_[E[1]][0]), a.push(O.$), o.push(O._$), j = s[r[r.length - 2]][r[r.length - 1]], r.push(j);
1466
1466
  break;
1467
1467
  case 3: return !0;
1468
1468
  }
@@ -1473,11 +1473,11 @@ var y = g(), b = (function() {
1473
1473
  J.lexer = /* @__PURE__ */ (function() {
1474
1474
  return {
1475
1475
  EOF: 1,
1476
- parseError: /* @__PURE__ */ i(function(e, t) {
1476
+ parseError: /* @__PURE__ */ t(function(e, t) {
1477
1477
  if (this.yy.parser) this.yy.parser.parseError(e, t);
1478
1478
  else throw Error(e);
1479
1479
  }, "parseError"),
1480
- setInput: /* @__PURE__ */ i(function(e, t) {
1480
+ setInput: /* @__PURE__ */ t(function(e, t) {
1481
1481
  return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
1482
1482
  first_line: 1,
1483
1483
  first_column: 0,
@@ -1485,11 +1485,11 @@ var y = g(), b = (function() {
1485
1485
  last_column: 0
1486
1486
  }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
1487
1487
  }, "setInput"),
1488
- input: /* @__PURE__ */ i(function() {
1488
+ input: /* @__PURE__ */ t(function() {
1489
1489
  var e = this._input[0];
1490
1490
  return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
1491
1491
  }, "input"),
1492
- unput: /* @__PURE__ */ i(function(e) {
1492
+ unput: /* @__PURE__ */ t(function(e) {
1493
1493
  var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
1494
1494
  this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
1495
1495
  var r = this.match.split(/(?:\r\n?|\n)/g);
@@ -1502,10 +1502,10 @@ var y = g(), b = (function() {
1502
1502
  last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
1503
1503
  }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
1504
1504
  }, "unput"),
1505
- more: /* @__PURE__ */ i(function() {
1505
+ more: /* @__PURE__ */ t(function() {
1506
1506
  return this._more = !0, this;
1507
1507
  }, "more"),
1508
- reject: /* @__PURE__ */ i(function() {
1508
+ reject: /* @__PURE__ */ t(function() {
1509
1509
  if (this.options.backtrack_lexer) this._backtrack = !0;
1510
1510
  else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
1511
1511
  text: "",
@@ -1514,22 +1514,22 @@ var y = g(), b = (function() {
1514
1514
  });
1515
1515
  return this;
1516
1516
  }, "reject"),
1517
- less: /* @__PURE__ */ i(function(e) {
1517
+ less: /* @__PURE__ */ t(function(e) {
1518
1518
  this.unput(this.match.slice(e));
1519
1519
  }, "less"),
1520
- pastInput: /* @__PURE__ */ i(function() {
1520
+ pastInput: /* @__PURE__ */ t(function() {
1521
1521
  var e = this.matched.substr(0, this.matched.length - this.match.length);
1522
1522
  return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
1523
1523
  }, "pastInput"),
1524
- upcomingInput: /* @__PURE__ */ i(function() {
1524
+ upcomingInput: /* @__PURE__ */ t(function() {
1525
1525
  var e = this.match;
1526
1526
  return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
1527
1527
  }, "upcomingInput"),
1528
- showPosition: /* @__PURE__ */ i(function() {
1528
+ showPosition: /* @__PURE__ */ t(function() {
1529
1529
  var e = this.pastInput(), t = Array(e.length + 1).join("-");
1530
1530
  return e + this.upcomingInput() + "\n" + t + "^";
1531
1531
  }, "showPosition"),
1532
- test_match: /* @__PURE__ */ i(function(e, t) {
1532
+ test_match: /* @__PURE__ */ t(function(e, t) {
1533
1533
  var n, r, i;
1534
1534
  if (this.options.backtrack_lexer && (i = {
1535
1535
  yylineno: this.yylineno,
@@ -1562,7 +1562,7 @@ var y = g(), b = (function() {
1562
1562
  }
1563
1563
  return !1;
1564
1564
  }, "test_match"),
1565
- next: /* @__PURE__ */ i(function() {
1565
+ next: /* @__PURE__ */ t(function() {
1566
1566
  if (this.done) return this.EOF;
1567
1567
  this._input || (this.done = !0);
1568
1568
  var e, t, n, r;
@@ -1582,29 +1582,29 @@ var y = g(), b = (function() {
1582
1582
  line: this.yylineno
1583
1583
  });
1584
1584
  }, "next"),
1585
- lex: /* @__PURE__ */ i(function() {
1585
+ lex: /* @__PURE__ */ t(function() {
1586
1586
  return this.next() || this.lex();
1587
1587
  }, "lex"),
1588
- begin: /* @__PURE__ */ i(function(e) {
1588
+ begin: /* @__PURE__ */ t(function(e) {
1589
1589
  this.conditionStack.push(e);
1590
1590
  }, "begin"),
1591
- popState: /* @__PURE__ */ i(function() {
1591
+ popState: /* @__PURE__ */ t(function() {
1592
1592
  return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1593
1593
  }, "popState"),
1594
- _currentRules: /* @__PURE__ */ i(function() {
1594
+ _currentRules: /* @__PURE__ */ t(function() {
1595
1595
  return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
1596
1596
  }, "_currentRules"),
1597
- topState: /* @__PURE__ */ i(function(e) {
1597
+ topState: /* @__PURE__ */ t(function(e) {
1598
1598
  return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
1599
1599
  }, "topState"),
1600
- pushState: /* @__PURE__ */ i(function(e) {
1600
+ pushState: /* @__PURE__ */ t(function(e) {
1601
1601
  this.begin(e);
1602
1602
  }, "pushState"),
1603
- stateStackSize: /* @__PURE__ */ i(function() {
1603
+ stateStackSize: /* @__PURE__ */ t(function() {
1604
1604
  return this.conditionStack.length;
1605
1605
  }, "stateStackSize"),
1606
1606
  options: {},
1607
- performAction: /* @__PURE__ */ i(function(e, t, n, r) {
1607
+ performAction: /* @__PURE__ */ t(function(e, t, n, r) {
1608
1608
  switch (n) {
1609
1609
  case 0: return 6;
1610
1610
  case 1: return 7;
@@ -2270,7 +2270,7 @@ var y = g(), b = (function() {
2270
2270
  function ue() {
2271
2271
  this.yy = {};
2272
2272
  }
2273
- return i(ue, "Parser"), ue.prototype = J, J.Parser = ue, new ue();
2273
+ return t(ue, "Parser"), ue.prototype = J, J.Parser = ue, new ue();
2274
2274
  })();
2275
2275
  b.parser = b;
2276
2276
  var x = b, S = [], C = [""], w = "global", T = "", E = [{
@@ -2280,11 +2280,11 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2280
2280
  tags: null,
2281
2281
  link: null,
2282
2282
  parentBoundary: ""
2283
- }], D = [], O = "", k = !1, A = 4, j = 2, M, N = /* @__PURE__ */ i(function() {
2283
+ }], D = [], O = "", k = !1, A = 4, j = 2, M, N = /* @__PURE__ */ t(function() {
2284
2284
  return M;
2285
- }, "getC4Type"), P = /* @__PURE__ */ i(function(e) {
2285
+ }, "getC4Type"), P = /* @__PURE__ */ t(function(e) {
2286
2286
  M = s(e, d());
2287
- }, "setC4Type"), F = /* @__PURE__ */ i(function(e, t, n, r, i, a, o, s, l) {
2287
+ }, "setC4Type"), F = /* @__PURE__ */ t(function(e, t, n, r, i, a, o, s, l) {
2288
2288
  if (e == null || t == null || n == null || r == null) return;
2289
2289
  let u = {}, d = D.find((e) => e.from === t && e.to === n);
2290
2290
  if (d ? u = d : D.push(u), u.type = e, u.from = t, u.to = n, u.label = { text: r }, i == null) u.techn = { text: "" };
@@ -2310,7 +2310,7 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2310
2310
  u[e] = t;
2311
2311
  } else u.link = l;
2312
2312
  u.wrap = J();
2313
- }, "addRel"), I = /* @__PURE__ */ i(function(e, t, n, r, i, a, o) {
2313
+ }, "addRel"), I = /* @__PURE__ */ t(function(e, t, n, r, i, a, o) {
2314
2314
  if (t === null || n === null) return;
2315
2315
  let s = {}, l = S.find((e) => e.alias === t);
2316
2316
  if (l && t === l.alias ? s = l : (s.alias = t, S.push(s)), n == null ? s.label = { text: "" } : s.label = { text: n }, r == null) s.descr = { text: "" };
@@ -2331,7 +2331,7 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2331
2331
  s[e] = t;
2332
2332
  } else s.link = o;
2333
2333
  s.typeC4Shape = { text: e }, s.parentBoundary = w, s.wrap = J();
2334
- }, "addPersonOrSystem"), L = /* @__PURE__ */ i(function(e, t, n, r, i, a, o, s) {
2334
+ }, "addPersonOrSystem"), L = /* @__PURE__ */ t(function(e, t, n, r, i, a, o, s) {
2335
2335
  if (t === null || n === null) return;
2336
2336
  let l = {}, u = S.find((e) => e.alias === t);
2337
2337
  if (u && t === u.alias ? l = u : (l.alias = t, S.push(l)), n == null ? l.label = { text: "" } : l.label = { text: n }, r == null) l.techn = { text: "" };
@@ -2357,7 +2357,7 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2357
2357
  l[e] = t;
2358
2358
  } else l.link = s;
2359
2359
  l.wrap = J(), l.typeC4Shape = { text: e }, l.parentBoundary = w;
2360
- }, "addContainer"), R = /* @__PURE__ */ i(function(e, t, n, r, i, a, o, s) {
2360
+ }, "addContainer"), R = /* @__PURE__ */ t(function(e, t, n, r, i, a, o, s) {
2361
2361
  if (t === null || n === null) return;
2362
2362
  let l = {}, u = S.find((e) => e.alias === t);
2363
2363
  if (u && t === u.alias ? l = u : (l.alias = t, S.push(l)), n == null ? l.label = { text: "" } : l.label = { text: n }, r == null) l.techn = { text: "" };
@@ -2383,7 +2383,7 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2383
2383
  l[e] = t;
2384
2384
  } else l.link = s;
2385
2385
  l.wrap = J(), l.typeC4Shape = { text: e }, l.parentBoundary = w;
2386
- }, "addComponent"), z = /* @__PURE__ */ i(function(e, t, n, r, i) {
2386
+ }, "addComponent"), z = /* @__PURE__ */ t(function(e, t, n, r, i) {
2387
2387
  if (e === null || t === null) return;
2388
2388
  let a = {}, o = E.find((t) => t.alias === e);
2389
2389
  if (o && e === o.alias ? a = o : (a.alias = e, E.push(a)), t == null ? a.label = { text: "" } : a.label = { text: t }, n == null) a.type = { text: "system" };
@@ -2400,7 +2400,7 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2400
2400
  a[e] = t;
2401
2401
  } else a.link = i;
2402
2402
  a.parentBoundary = w, a.wrap = J(), T = w, w = e, C.push(T);
2403
- }, "addPersonOrSystemBoundary"), B = /* @__PURE__ */ i(function(e, t, n, r, i) {
2403
+ }, "addPersonOrSystemBoundary"), B = /* @__PURE__ */ t(function(e, t, n, r, i) {
2404
2404
  if (e === null || t === null) return;
2405
2405
  let a = {}, o = E.find((t) => t.alias === e);
2406
2406
  if (o && e === o.alias ? a = o : (a.alias = e, E.push(a)), t == null ? a.label = { text: "" } : a.label = { text: t }, n == null) a.type = { text: "container" };
@@ -2417,7 +2417,7 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2417
2417
  a[e] = t;
2418
2418
  } else a.link = i;
2419
2419
  a.parentBoundary = w, a.wrap = J(), T = w, w = e, C.push(T);
2420
- }, "addContainerBoundary"), V = /* @__PURE__ */ i(function(e, t, n, r, i, a, o, s) {
2420
+ }, "addContainerBoundary"), V = /* @__PURE__ */ t(function(e, t, n, r, i, a, o, s) {
2421
2421
  if (t === null || n === null) return;
2422
2422
  let l = {}, u = E.find((e) => e.alias === t);
2423
2423
  if (u && t === u.alias ? l = u : (l.alias = t, E.push(l)), n == null ? l.label = { text: "" } : l.label = { text: n }, r == null) l.type = { text: "node" };
@@ -2439,9 +2439,9 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2439
2439
  l[e] = t;
2440
2440
  } else l.link = s;
2441
2441
  l.nodeType = e, l.parentBoundary = w, l.wrap = J(), T = w, w = t, C.push(T);
2442
- }, "addDeploymentNode"), H = /* @__PURE__ */ i(function() {
2442
+ }, "addDeploymentNode"), H = /* @__PURE__ */ t(function() {
2443
2443
  w = T, C.pop(), T = C.pop(), C.push(T);
2444
- }, "popBoundaryParseStack"), ee = /* @__PURE__ */ i(function(e, t, n, r, i, a, o, s, l, u, d) {
2444
+ }, "popBoundaryParseStack"), ee = /* @__PURE__ */ t(function(e, t, n, r, i, a, o, s, l, u, d) {
2445
2445
  let f = S.find((e) => e.alias === t);
2446
2446
  if (!(f === void 0 && (f = E.find((e) => e.alias === t), f === void 0))) {
2447
2447
  if (n != null) if (typeof n == "object") {
@@ -2481,7 +2481,7 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2481
2481
  f[e] = t;
2482
2482
  } else f.legendSprite = d;
2483
2483
  }
2484
- }, "updateElStyle"), te = /* @__PURE__ */ i(function(e, t, n, r, i, a, o) {
2484
+ }, "updateElStyle"), te = /* @__PURE__ */ t(function(e, t, n, r, i, a, o) {
2485
2485
  let s = D.find((e) => e.from === t && e.to === n);
2486
2486
  if (s !== void 0) {
2487
2487
  if (r != null) if (typeof r == "object") {
@@ -2501,7 +2501,7 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2501
2501
  s[e] = parseInt(t);
2502
2502
  } else s.offsetY = parseInt(o);
2503
2503
  }
2504
- }, "updateRelStyle"), ne = /* @__PURE__ */ i(function(e, t, n) {
2504
+ }, "updateRelStyle"), ne = /* @__PURE__ */ t(function(e, t, n) {
2505
2505
  let r = A, i = j;
2506
2506
  if (typeof t == "object") {
2507
2507
  let e = Object.values(t)[0];
@@ -2512,29 +2512,29 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2512
2512
  i = parseInt(e);
2513
2513
  } else i = parseInt(n);
2514
2514
  r >= 1 && (A = r), i >= 1 && (j = i);
2515
- }, "updateLayoutConfig"), re = /* @__PURE__ */ i(function() {
2515
+ }, "updateLayoutConfig"), re = /* @__PURE__ */ t(function() {
2516
2516
  return A;
2517
- }, "getC4ShapeInRow"), ie = /* @__PURE__ */ i(function() {
2517
+ }, "getC4ShapeInRow"), ie = /* @__PURE__ */ t(function() {
2518
2518
  return j;
2519
- }, "getC4BoundaryInRow"), ae = /* @__PURE__ */ i(function() {
2519
+ }, "getC4BoundaryInRow"), ae = /* @__PURE__ */ t(function() {
2520
2520
  return w;
2521
- }, "getCurrentBoundaryParse"), U = /* @__PURE__ */ i(function() {
2521
+ }, "getCurrentBoundaryParse"), U = /* @__PURE__ */ t(function() {
2522
2522
  return T;
2523
- }, "getParentBoundaryParse"), W = /* @__PURE__ */ i(function(e) {
2523
+ }, "getParentBoundaryParse"), W = /* @__PURE__ */ t(function(e) {
2524
2524
  return e == null ? S : S.filter((t) => t.parentBoundary === e);
2525
- }, "getC4ShapeArray"), G = /* @__PURE__ */ i(function(e) {
2525
+ }, "getC4ShapeArray"), G = /* @__PURE__ */ t(function(e) {
2526
2526
  return S.find((t) => t.alias === e);
2527
- }, "getC4Shape"), K = /* @__PURE__ */ i(function(e) {
2527
+ }, "getC4Shape"), K = /* @__PURE__ */ t(function(e) {
2528
2528
  return Object.keys(W(e));
2529
- }, "getC4ShapeKeys"), q = /* @__PURE__ */ i(function(e) {
2529
+ }, "getC4ShapeKeys"), q = /* @__PURE__ */ t(function(e) {
2530
2530
  return e == null ? E : E.filter((t) => t.parentBoundary === e);
2531
- }, "getBoundaries"), oe = q, se = /* @__PURE__ */ i(function() {
2531
+ }, "getBoundaries"), oe = q, se = /* @__PURE__ */ t(function() {
2532
2532
  return D;
2533
- }, "getRels"), ce = /* @__PURE__ */ i(function() {
2533
+ }, "getRels"), ce = /* @__PURE__ */ t(function() {
2534
2534
  return O;
2535
- }, "getTitle"), le = /* @__PURE__ */ i(function(e) {
2535
+ }, "getTitle"), le = /* @__PURE__ */ t(function(e) {
2536
2536
  k = e;
2537
- }, "setWrap"), J = /* @__PURE__ */ i(function() {
2537
+ }, "setWrap"), J = /* @__PURE__ */ t(function() {
2538
2538
  return k;
2539
2539
  }, "autoWrap"), ue = {
2540
2540
  addPersonOrSystem: I,
@@ -2566,8 +2566,8 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2566
2566
  getAccTitle: h,
2567
2567
  getAccDescription: u,
2568
2568
  setAccDescription: o,
2569
- getConfig: /* @__PURE__ */ i(() => d().c4, "getConfig"),
2570
- clear: /* @__PURE__ */ i(function() {
2569
+ getConfig: /* @__PURE__ */ t(() => d().c4, "getConfig"),
2570
+ clear: /* @__PURE__ */ t(function() {
2571
2571
  S = [], E = [{
2572
2572
  alias: "global",
2573
2573
  label: { text: "global" },
@@ -2611,18 +2611,18 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2611
2611
  RIGHTOF: 1,
2612
2612
  OVER: 2
2613
2613
  },
2614
- setTitle: /* @__PURE__ */ i(function(e) {
2614
+ setTitle: /* @__PURE__ */ t(function(e) {
2615
2615
  O = s(e, d());
2616
2616
  }, "setTitle"),
2617
2617
  setC4Type: P
2618
- }, de = /* @__PURE__ */ i(function(e, t) {
2618
+ }, de = /* @__PURE__ */ t(function(e, t) {
2619
2619
  return _(e, t);
2620
- }, "drawRect"), fe = /* @__PURE__ */ i(function(e, t, n, r, i, a) {
2620
+ }, "drawRect"), fe = /* @__PURE__ */ t(function(e, t, n, r, i, a) {
2621
2621
  let o = e.append("image");
2622
2622
  o.attr("width", t), o.attr("height", n), o.attr("x", r), o.attr("y", i);
2623
2623
  let s = a.startsWith("data:image/png;base64") ? a : (0, y.sanitizeUrl)(a);
2624
2624
  o.attr("xlink:href", s);
2625
- }, "drawImage"), pe = /* @__PURE__ */ i((e, t, n) => {
2625
+ }, "drawImage"), pe = /* @__PURE__ */ t((e, t, n) => {
2626
2626
  let r = e.append("g"), i = 0;
2627
2627
  for (let e of t) {
2628
2628
  let t = e.textColor ? e.textColor : "#444444", a = e.lineColor ? e.lineColor : "#444444", o = e.offsetX ? parseInt(e.offsetX) : 0, s = e.offsetY ? parseInt(e.offsetY) : 0;
@@ -2639,7 +2639,7 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2639
2639
  "font-style": "italic"
2640
2640
  }, l));
2641
2641
  }
2642
- }, "drawRels"), me = /* @__PURE__ */ i(function(e, t, n) {
2642
+ }, "drawRels"), me = /* @__PURE__ */ t(function(e, t, n) {
2643
2643
  let r = e.append("g"), i = t.bgColor ? t.bgColor : "none", a = t.borderColor ? t.borderColor : "#444444", o = t.fontColor ? t.fontColor : "black", s = {
2644
2644
  "stroke-width": 1,
2645
2645
  "stroke-dasharray": "7.0,7.0"
@@ -2657,7 +2657,7 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2657
2657
  });
2658
2658
  let l = n.boundaryFont();
2659
2659
  l.fontWeight = "bold", l.fontSize += 2, l.fontColor = o, Y(n)(t.label.text, r, t.x, t.y + t.label.Y, t.width, t.height, { fill: "#444444" }, l), t.type && t.type.text !== "" && (l = n.boundaryFont(), l.fontColor = o, Y(n)(t.type.text, r, t.x, t.y + t.type.Y, t.width, t.height, { fill: "#444444" }, l)), t.descr && t.descr.text !== "" && (l = n.boundaryFont(), l.fontSize -= 2, l.fontColor = o, Y(n)(t.descr.text, r, t.x, t.y + t.descr.Y, t.width, t.height, { fill: "#444444" }, l));
2660
- }, "drawBoundary"), he = /* @__PURE__ */ i(function(e, t, n) {
2660
+ }, "drawBoundary"), he = /* @__PURE__ */ t(function(e, t, n) {
2661
2661
  let r = t.bgColor ? t.bgColor : n[t.typeC4Shape.text + "_bg_color"], i = t.borderColor ? t.borderColor : n[t.typeC4Shape.text + "_border_color"], a = t.fontColor ? t.fontColor : "#FFFFFF", o = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";
2662
2662
  switch (t.typeC4Shape.text) {
2663
2663
  case "person":
@@ -2713,50 +2713,50 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2713
2713
  fill: a,
2714
2714
  "font-style": "italic"
2715
2715
  }, d), t.descr && t.descr.text !== "" && (d = n.personFont(), d.fontColor = a, Y(n)(t.descr.text, s, t.x, t.y + t.descr.Y, t.width, t.height, { fill: a }, d)), t.height;
2716
- }, "drawC4Shape"), ge = /* @__PURE__ */ i(function(e) {
2716
+ }, "drawC4Shape"), ge = /* @__PURE__ */ t(function(e) {
2717
2717
  e.append("defs").append("symbol").attr("id", "database").attr("fill-rule", "evenodd").attr("clip-rule", "evenodd").append("path").attr("transform", "scale(.5)").attr("d", "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");
2718
- }, "insertDatabaseIcon"), _e = /* @__PURE__ */ i(function(e) {
2718
+ }, "insertDatabaseIcon"), _e = /* @__PURE__ */ t(function(e) {
2719
2719
  e.append("defs").append("symbol").attr("id", "computer").attr("width", "24").attr("height", "24").append("path").attr("transform", "scale(.5)").attr("d", "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");
2720
- }, "insertComputerIcon"), ve = /* @__PURE__ */ i(function(e) {
2720
+ }, "insertComputerIcon"), ve = /* @__PURE__ */ t(function(e) {
2721
2721
  e.append("defs").append("symbol").attr("id", "clock").attr("width", "24").attr("height", "24").append("path").attr("transform", "scale(.5)").attr("d", "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");
2722
- }, "insertClockIcon"), ye = /* @__PURE__ */ i(function(e) {
2722
+ }, "insertClockIcon"), ye = /* @__PURE__ */ t(function(e) {
2723
2723
  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");
2724
- }, "insertArrowHead"), be = /* @__PURE__ */ i(function(e) {
2724
+ }, "insertArrowHead"), be = /* @__PURE__ */ t(function(e) {
2725
2725
  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");
2726
- }, "insertArrowEnd"), xe = /* @__PURE__ */ i(function(e) {
2726
+ }, "insertArrowEnd"), xe = /* @__PURE__ */ t(function(e) {
2727
2727
  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");
2728
- }, "insertArrowFilledHead"), Se = /* @__PURE__ */ i(function(e) {
2728
+ }, "insertArrowFilledHead"), Se = /* @__PURE__ */ t(function(e) {
2729
2729
  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);
2730
- }, "insertDynamicNumber"), Ce = /* @__PURE__ */ i(function(e) {
2730
+ }, "insertDynamicNumber"), Ce = /* @__PURE__ */ t(function(e) {
2731
2731
  let t = e.append("defs").append("marker").attr("id", "crosshead").attr("markerWidth", 15).attr("markerHeight", 8).attr("orient", "auto").attr("refX", 16).attr("refY", 4);
2732
2732
  t.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"), t.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");
2733
- }, "insertArrowCrossHead"), we = /* @__PURE__ */ i((e, t) => ({
2733
+ }, "insertArrowCrossHead"), we = /* @__PURE__ */ t((e, t) => ({
2734
2734
  fontFamily: e[t + "FontFamily"],
2735
2735
  fontSize: e[t + "FontSize"],
2736
2736
  fontWeight: e[t + "FontWeight"]
2737
2737
  }), "getC4ShapeFont"), Y = /* @__PURE__ */ (function() {
2738
- function e(e, t, n, i, a, o, s) {
2739
- r(t.append("text").attr("x", n + a / 2).attr("y", i + o / 2 + 5).style("text-anchor", "middle").text(e), s);
2738
+ function e(e, t, n, r, a, o, s) {
2739
+ i(t.append("text").attr("x", n + a / 2).attr("y", r + o / 2 + 5).style("text-anchor", "middle").text(e), s);
2740
2740
  }
2741
- i(e, "byText");
2742
- function t(e, t, n, i, a, o, s, l) {
2741
+ t(e, "byText");
2742
+ function n(e, t, n, r, a, o, s, l) {
2743
2743
  let { fontSize: u, fontFamily: d, fontWeight: f } = l, p = e.split(m.lineBreakRegex);
2744
2744
  for (let e = 0; e < p.length; e++) {
2745
- let o = e * u - u * (p.length - 1) / 2, l = t.append("text").attr("x", n + a / 2).attr("y", i).style("text-anchor", "middle").attr("dominant-baseline", "middle").style("font-size", u).style("font-weight", f).style("font-family", d);
2746
- l.append("tspan").attr("dy", o).text(p[e]).attr("alignment-baseline", "mathematical"), r(l, s);
2745
+ let o = e * u - u * (p.length - 1) / 2, l = t.append("text").attr("x", n + a / 2).attr("y", r).style("text-anchor", "middle").attr("dominant-baseline", "middle").style("font-size", u).style("font-weight", f).style("font-family", d);
2746
+ l.append("tspan").attr("dy", o).text(p[e]).attr("alignment-baseline", "mathematical"), i(l, s);
2747
2747
  }
2748
2748
  }
2749
- i(t, "byTspan");
2750
- function n(e, n, i, a, o, s, l, u) {
2751
- let d = n.append("switch"), f = d.append("foreignObject").attr("x", i).attr("y", a).attr("width", o).attr("height", s).append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
2752
- f.append("div").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(e), t(e, d, i, a, o, s, l, u), r(f, l);
2749
+ t(n, "byTspan");
2750
+ function r(e, t, r, a, o, s, l, u) {
2751
+ let d = t.append("switch"), f = d.append("foreignObject").attr("x", r).attr("y", a).attr("width", o).attr("height", s).append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
2752
+ f.append("div").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(e), n(e, d, r, a, o, s, l, u), i(f, l);
2753
2753
  }
2754
- i(n, "byFo");
2755
- function r(e, t) {
2754
+ t(r, "byFo");
2755
+ function i(e, t) {
2756
2756
  for (let n in t) t.hasOwnProperty(n) && e.attr(n, t[n]);
2757
2757
  }
2758
- return i(r, "_setTextAttrs"), function(r) {
2759
- return r.textPlacement === "fo" ? n : r.textPlacement === "old" ? e : t;
2758
+ return t(i, "_setTextAttrs"), function(t) {
2759
+ return t.textPlacement === "fo" ? r : t.textPlacement === "old" ? e : n;
2760
2760
  };
2761
2761
  })(), X = {
2762
2762
  drawRect: de,
@@ -2776,7 +2776,7 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2776
2776
  b.yy = ue;
2777
2777
  var Z = {}, ke = class {
2778
2778
  static {
2779
- i(this, "Bounds");
2779
+ t(this, "Bounds");
2780
2780
  }
2781
2781
  constructor(e) {
2782
2782
  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(e.db.getConfig());
@@ -2810,69 +2810,69 @@ var Z = {}, ke = class {
2810
2810
  bumpLastMargin(e) {
2811
2811
  this.data.stopx += e, this.data.stopy += e;
2812
2812
  }
2813
- }, Ae = /* @__PURE__ */ i(function(e) {
2813
+ }, Ae = /* @__PURE__ */ t(function(e) {
2814
2814
  p(Z, e), e.fontFamily && (Z.personFontFamily = Z.systemFontFamily = Z.messageFontFamily = e.fontFamily), e.fontSize && (Z.personFontSize = Z.systemFontSize = Z.messageFontSize = e.fontSize), e.fontWeight && (Z.personFontWeight = Z.systemFontWeight = Z.messageFontWeight = e.fontWeight);
2815
- }, "setConf"), je = /* @__PURE__ */ i((e, t) => ({
2815
+ }, "setConf"), je = /* @__PURE__ */ t((e, t) => ({
2816
2816
  fontFamily: e[t + "FontFamily"],
2817
2817
  fontSize: e[t + "FontSize"],
2818
2818
  fontWeight: e[t + "FontWeight"]
2819
- }), "c4ShapeFont"), Me = /* @__PURE__ */ i((e) => ({
2819
+ }), "c4ShapeFont"), Me = /* @__PURE__ */ t((e) => ({
2820
2820
  fontFamily: e.boundaryFontFamily,
2821
2821
  fontSize: e.boundaryFontSize,
2822
2822
  fontWeight: e.boundaryFontWeight
2823
- }), "boundaryFont"), Ne = /* @__PURE__ */ i((e) => ({
2823
+ }), "boundaryFont"), Ne = /* @__PURE__ */ t((e) => ({
2824
2824
  fontFamily: e.messageFontFamily,
2825
2825
  fontSize: e.messageFontSize,
2826
2826
  fontWeight: e.messageFontWeight
2827
2827
  }), "messageFont");
2828
- function Q(r, i, a, o, s) {
2829
- if (!i[r].width) if (a) i[r].text = e(i[r].text, s, o), i[r].textLines = i[r].text.split(m.lineBreakRegex).length, i[r].width = s, i[r].height = n(i[r].text, o);
2828
+ function Q(e, t, n, o, s) {
2829
+ if (!t[e].width) if (n) t[e].text = r(t[e].text, s, o), t[e].textLines = t[e].text.split(m.lineBreakRegex).length, t[e].width = s, t[e].height = a(t[e].text, o);
2830
2830
  else {
2831
- let e = i[r].text.split(m.lineBreakRegex);
2832
- i[r].textLines = e.length;
2833
- let a = 0;
2834
- i[r].height = 0, i[r].width = 0;
2835
- for (let s of e) i[r].width = Math.max(t(s, o), i[r].width), a = n(s, o), i[r].height = i[r].height + a;
2831
+ let n = t[e].text.split(m.lineBreakRegex);
2832
+ t[e].textLines = n.length;
2833
+ let r = 0;
2834
+ t[e].height = 0, t[e].width = 0;
2835
+ for (let s of n) t[e].width = Math.max(i(s, o), t[e].width), r = a(s, o), t[e].height = t[e].height + r;
2836
2836
  }
2837
2837
  }
2838
- i(Q, "calcC4ShapeTextWH");
2839
- var Pe = /* @__PURE__ */ i(function(e, n, r) {
2840
- n.x = r.data.startx, n.y = r.data.starty, n.width = r.data.stopx - r.data.startx, n.height = r.data.stopy - r.data.starty, n.label.y = Z.c4ShapeMargin - 35;
2841
- let i = n.wrap && Z.wrap, a = Me(Z);
2842
- a.fontSize += 2, a.fontWeight = "bold", Q("label", n, i, a, t(n.label.text, a)), X.drawBoundary(e, n, Z);
2843
- }, "drawBoundary"), Fe = /* @__PURE__ */ i(function(e, n, r, i) {
2838
+ t(Q, "calcC4ShapeTextWH");
2839
+ var Pe = /* @__PURE__ */ t(function(e, t, n) {
2840
+ t.x = n.data.startx, t.y = n.data.starty, t.width = n.data.stopx - n.data.startx, t.height = n.data.stopy - n.data.starty, t.label.y = Z.c4ShapeMargin - 35;
2841
+ let r = t.wrap && Z.wrap, a = Me(Z);
2842
+ a.fontSize += 2, a.fontWeight = "bold", Q("label", t, r, a, i(t.label.text, a)), X.drawBoundary(e, t, Z);
2843
+ }, "drawBoundary"), Fe = /* @__PURE__ */ t(function(e, t, n, r) {
2844
2844
  let a = 0;
2845
- for (let o of i) {
2845
+ for (let o of r) {
2846
2846
  a = 0;
2847
- let i = r[o], s = je(Z, i.typeC4Shape.text);
2848
- switch (s.fontSize -= 2, i.typeC4Shape.width = t("«" + i.typeC4Shape.text + "»", s), i.typeC4Shape.height = s.fontSize + 2, i.typeC4Shape.Y = Z.c4ShapePadding, a = i.typeC4Shape.Y + i.typeC4Shape.height - 4, i.image = {
2847
+ let r = n[o], s = je(Z, r.typeC4Shape.text);
2848
+ switch (s.fontSize -= 2, r.typeC4Shape.width = i("«" + r.typeC4Shape.text + "»", s), r.typeC4Shape.height = s.fontSize + 2, r.typeC4Shape.Y = Z.c4ShapePadding, a = r.typeC4Shape.Y + r.typeC4Shape.height - 4, r.image = {
2849
2849
  width: 0,
2850
2850
  height: 0,
2851
2851
  Y: 0
2852
- }, i.typeC4Shape.text) {
2852
+ }, r.typeC4Shape.text) {
2853
2853
  case "person":
2854
2854
  case "external_person":
2855
- i.image.width = 48, i.image.height = 48, i.image.Y = a, a = i.image.Y + i.image.height;
2855
+ r.image.width = 48, r.image.height = 48, r.image.Y = a, a = r.image.Y + r.image.height;
2856
2856
  break;
2857
2857
  }
2858
- i.sprite && (i.image.width = 48, i.image.height = 48, i.image.Y = a, a = i.image.Y + i.image.height);
2859
- let l = i.wrap && Z.wrap, u = Z.width - Z.c4ShapePadding * 2, d = je(Z, i.typeC4Shape.text);
2860
- d.fontSize += 2, d.fontWeight = "bold", Q("label", i, l, d, u), i.label.Y = a + 8, a = i.label.Y + i.label.height, i.type && i.type.text !== "" ? (i.type.text = "[" + i.type.text + "]", Q("type", i, l, je(Z, i.typeC4Shape.text), u), i.type.Y = a + 5, a = i.type.Y + i.type.height) : i.techn && i.techn.text !== "" && (i.techn.text = "[" + i.techn.text + "]", Q("techn", i, l, je(Z, i.techn.text), u), i.techn.Y = a + 5, a = i.techn.Y + i.techn.height);
2861
- let f = a, p = i.label.width;
2862
- i.descr && i.descr.text !== "" && (Q("descr", i, l, je(Z, i.typeC4Shape.text), u), i.descr.Y = a + 20, a = i.descr.Y + i.descr.height, p = Math.max(i.label.width, i.descr.width), f = a - i.descr.textLines * 5), p += Z.c4ShapePadding, i.width = Math.max(i.width || Z.width, p, Z.width), i.height = Math.max(i.height || Z.height, f, Z.height), i.margin = i.margin || Z.c4ShapeMargin, e.insert(i), X.drawC4Shape(n, i, Z);
2858
+ r.sprite && (r.image.width = 48, r.image.height = 48, r.image.Y = a, a = r.image.Y + r.image.height);
2859
+ let l = r.wrap && Z.wrap, u = Z.width - Z.c4ShapePadding * 2, d = je(Z, r.typeC4Shape.text);
2860
+ d.fontSize += 2, d.fontWeight = "bold", Q("label", r, l, d, u), r.label.Y = a + 8, a = r.label.Y + r.label.height, r.type && r.type.text !== "" ? (r.type.text = "[" + r.type.text + "]", Q("type", r, l, je(Z, r.typeC4Shape.text), u), r.type.Y = a + 5, a = r.type.Y + r.type.height) : r.techn && r.techn.text !== "" && (r.techn.text = "[" + r.techn.text + "]", Q("techn", r, l, je(Z, r.techn.text), u), r.techn.Y = a + 5, a = r.techn.Y + r.techn.height);
2861
+ let f = a, p = r.label.width;
2862
+ r.descr && r.descr.text !== "" && (Q("descr", r, l, je(Z, r.typeC4Shape.text), u), r.descr.Y = a + 20, a = r.descr.Y + r.descr.height, p = Math.max(r.label.width, r.descr.width), f = a - r.descr.textLines * 5), p += Z.c4ShapePadding, r.width = Math.max(r.width || Z.width, p, Z.width), r.height = Math.max(r.height || Z.height, f, Z.height), r.margin = r.margin || Z.c4ShapeMargin, e.insert(r), X.drawC4Shape(t, r, Z);
2863
2863
  }
2864
2864
  e.bumpLastMargin(Z.c4ShapeMargin);
2865
2865
  }, "drawC4ShapeArray"), $ = class {
2866
2866
  static {
2867
- i(this, "Point");
2867
+ t(this, "Point");
2868
2868
  }
2869
2869
  constructor(e, t) {
2870
2870
  this.x = e, this.y = t;
2871
2871
  }
2872
- }, Ie = /* @__PURE__ */ i(function(e, t) {
2872
+ }, Ie = /* @__PURE__ */ t(function(e, t) {
2873
2873
  let n = e.x, r = e.y, i = t.x, a = t.y, o = n + e.width / 2, s = r + e.height / 2, l = Math.abs(n - i), u = Math.abs(r - a), d = u / l, f = e.height / e.width, p = null;
2874
2874
  return r == a && n < i ? p = new $(n + e.width, s) : r == a && n > i ? p = new $(n, s) : n == i && r < a ? p = new $(o, r + e.height) : n == i && r > a && (p = new $(o, r)), n > i && r < a ? p = f >= d ? new $(n, s + d * e.width / 2) : new $(o - l / u * e.height / 2, r + e.height) : n < i && r < a ? p = f >= d ? new $(n + e.width, s + d * e.width / 2) : new $(o + l / u * e.height / 2, r + e.height) : n < i && r > a ? p = f >= d ? new $(n + e.width, s - d * e.width / 2) : new $(o + e.height / 2 * l / u, r) : n > i && r > a && (p = f >= d ? new $(n, s - e.width / 2 * d) : new $(o - e.height / 2 * l / u, r)), p;
2875
- }, "getIntersectPoint"), Le = /* @__PURE__ */ i(function(e, t) {
2875
+ }, "getIntersectPoint"), Le = /* @__PURE__ */ t(function(e, t) {
2876
2876
  let n = {
2877
2877
  x: 0,
2878
2878
  y: 0
@@ -2883,18 +2883,18 @@ var Pe = /* @__PURE__ */ i(function(e, n, r) {
2883
2883
  startPoint: r,
2884
2884
  endPoint: Ie(t, n)
2885
2885
  };
2886
- }, "getIntersectPoints"), Re = /* @__PURE__ */ i(function(e, n, r, i) {
2886
+ }, "getIntersectPoints"), Re = /* @__PURE__ */ t(function(e, t, n, r) {
2887
2887
  let a = 0;
2888
- for (let e of n) {
2888
+ for (let e of t) {
2889
2889
  a += 1;
2890
- let n = e.wrap && Z.wrap, o = Ne(Z);
2891
- i.db.getC4Type() === "C4Dynamic" && (e.label.text = a + ": " + e.label.text);
2892
- let s = t(e.label.text, o);
2893
- Q("label", e, n, o, s), e.techn && e.techn.text !== "" && (s = t(e.techn.text, o), Q("techn", e, n, o, s)), e.descr && e.descr.text !== "" && (s = t(e.descr.text, o), Q("descr", e, n, o, s));
2894
- let l = Le(r(e.from), r(e.to));
2890
+ let t = e.wrap && Z.wrap, o = Ne(Z);
2891
+ r.db.getC4Type() === "C4Dynamic" && (e.label.text = a + ": " + e.label.text);
2892
+ let s = i(e.label.text, o);
2893
+ Q("label", e, t, o, s), e.techn && e.techn.text !== "" && (s = i(e.techn.text, o), Q("techn", e, t, o, s)), e.descr && e.descr.text !== "" && (s = i(e.descr.text, o), Q("descr", e, t, o, s));
2894
+ let l = Le(n(e.from), n(e.to));
2895
2895
  e.startPoint = l.startPoint, e.endPoint = l.endPoint;
2896
2896
  }
2897
- X.drawRels(e, n, Z);
2897
+ X.drawRels(e, t, Z);
2898
2898
  }, "drawRels");
2899
2899
  function ze(e, t, n, r, i) {
2900
2900
  let a = new ke(i);
@@ -2925,38 +2925,38 @@ function ze(e, t, n, r, i) {
2925
2925
  p.length > 0 && ze(e, t, a, p, i), s.alias !== "global" && Pe(e, s, a), n.data.stopy = Math.max(a.data.stopy + Z.c4ShapeMargin, n.data.stopy), n.data.stopx = Math.max(a.data.stopx + Z.c4ShapeMargin, n.data.stopx), Te = Math.max(Te, n.data.stopx), Ee = Math.max(Ee, n.data.stopy);
2926
2926
  }
2927
2927
  }
2928
- i(ze, "drawInsideBoundary");
2928
+ t(ze, "drawInsideBoundary");
2929
2929
  var Be = {
2930
2930
  drawPersonOrSystemArray: Fe,
2931
2931
  drawBoundary: Pe,
2932
2932
  setConf: Ae,
2933
- draw: /* @__PURE__ */ i(function(e, t, n, i) {
2933
+ draw: /* @__PURE__ */ t(function(t, r, i, a) {
2934
2934
  Z = d().c4;
2935
2935
  let o = d().securityLevel, s;
2936
- o === "sandbox" && (s = a("#i" + t));
2937
- let l = a(o === "sandbox" ? s.nodes()[0].contentDocument.body : "body"), u = i.db;
2938
- i.db.setWrap(Z.wrap), De = u.getC4ShapeInRow(), Oe = u.getC4BoundaryInRow(), r.debug(`C:${JSON.stringify(Z, null, 2)}`);
2939
- let p = o === "sandbox" ? l.select(`[id="${t}"]`) : a(`[id="${t}"]`);
2936
+ o === "sandbox" && (s = n("#i" + r));
2937
+ let l = n(o === "sandbox" ? s.nodes()[0].contentDocument.body : "body"), u = a.db;
2938
+ a.db.setWrap(Z.wrap), De = u.getC4ShapeInRow(), Oe = u.getC4BoundaryInRow(), e.debug(`C:${JSON.stringify(Z, null, 2)}`);
2939
+ let p = o === "sandbox" ? l.select(`[id="${r}"]`) : n(`[id="${r}"]`);
2940
2940
  X.insertComputerIcon(p), X.insertDatabaseIcon(p), X.insertClockIcon(p);
2941
- let m = new ke(i);
2941
+ let m = new ke(a);
2942
2942
  m.setData(Z.diagramMarginX, Z.diagramMarginX, Z.diagramMarginY, Z.diagramMarginY), m.data.widthLimit = screen.availWidth, Te = Z.diagramMarginX, Ee = Z.diagramMarginY;
2943
- let h = i.db.getTitle();
2944
- ze(p, "", m, i.db.getBoundaries(""), i), X.insertArrowHead(p), X.insertArrowEnd(p), X.insertArrowCrossHead(p), X.insertArrowFilledHead(p), Re(p, i.db.getRels(), i.db.getC4Shape, i), m.data.stopx = Te, m.data.stopy = Ee;
2943
+ let h = a.db.getTitle();
2944
+ ze(p, "", m, a.db.getBoundaries(""), a), X.insertArrowHead(p), X.insertArrowEnd(p), X.insertArrowCrossHead(p), X.insertArrowFilledHead(p), Re(p, a.db.getRels(), a.db.getC4Shape, a), m.data.stopx = Te, m.data.stopy = Ee;
2945
2945
  let g = m.data, _ = g.stopy - g.starty + 2 * Z.diagramMarginY, v = g.stopx - g.startx + 2 * Z.diagramMarginX;
2946
2946
  h && p.append("text").text(h).attr("x", (g.stopx - g.startx) / 2 - 4 * Z.diagramMarginX).attr("y", g.starty + Z.diagramMarginY), f(p, _, v, Z.useMaxWidth);
2947
2947
  let y = h ? 60 : 0;
2948
- p.attr("viewBox", g.startx - Z.diagramMarginX + " -" + (Z.diagramMarginY + y) + " " + v + " " + (_ + y)), r.debug("models:", g);
2948
+ p.attr("viewBox", g.startx - Z.diagramMarginX + " -" + (Z.diagramMarginY + y) + " " + v + " " + (_ + y)), e.debug("models:", g);
2949
2949
  }, "draw")
2950
2950
  }, Ve = {
2951
2951
  parser: x,
2952
2952
  db: ue,
2953
2953
  renderer: Be,
2954
- styles: /* @__PURE__ */ i((e) => `.person {
2954
+ styles: /* @__PURE__ */ t((e) => `.person {
2955
2955
  stroke: ${e.personBorder};
2956
2956
  fill: ${e.personBkg};
2957
2957
  }
2958
2958
  `, "getStyles"),
2959
- init: /* @__PURE__ */ i(({ c4: e, wrap: t }) => {
2959
+ init: /* @__PURE__ */ t(({ c4: e, wrap: t }) => {
2960
2960
  Be.setConf(e), ue.setWrap(t);
2961
2961
  }, "init")
2962
2962
  };