@kong-ui-public/documentation 1.1.2 → 1.1.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 (50) hide show
  1. package/dist/{_basePickBy-zlkqRmFy-CQP0PMRw.js → _basePickBy-zlkqRmFy-Dq-PK6tA.js} +27 -27
  2. package/dist/_baseUniq-SAfYgIkf-DhYxnvgt.js +614 -0
  3. package/dist/{arc-CK9P6CkJ-B3oiAYoG.js → arc-CK9P6CkJ-lihx_wEv.js} +31 -31
  4. package/dist/{architecture-I3QFYML2-DJzmbE4M-BYAx4I-4.js → architecture-I3QFYML2-DJzmbE4M-B5s0Q1wg.js} +1 -1
  5. package/dist/{architectureDiagram-UYN6MBPD-DkZdgpXi-BC7nb0IZ.js → architectureDiagram-UYN6MBPD-DkZdgpXi-CC-fAW7y.js} +850 -850
  6. package/dist/{blockDiagram-ZHA2E4KO-DnCMGCMN-CU7ARVHN.js → blockDiagram-ZHA2E4KO-DnCMGCMN-B9tod6Dk.js} +477 -477
  7. package/dist/{c4Diagram-6F5ED5ID-D5yqWyf0-DEuKG0sN.js → c4Diagram-6F5ED5ID-D5yqWyf0-B1iuFSQ1.js} +203 -203
  8. package/dist/{channel-bVcNKbrJ-C4S-4qV3.js → channel-bVcNKbrJ-DEGmvXXN.js} +1 -1
  9. package/dist/{chunk-5HRBRIJM-BjQ8go1b-733bxiZ-.js → chunk-5HRBRIJM-BjQ8go1b-BszOhLz8.js} +4 -4
  10. package/dist/{chunk-7U56Z5CX-awhAxjZ0-DpUJ4fo1.js → chunk-7U56Z5CX-awhAxjZ0-CHd4qyz3.js} +120 -120
  11. package/dist/{chunk-ASOPGD6M-B5bA_saK-C3yF9T7p.js → chunk-ASOPGD6M-B5bA_saK-RaS3hIfR.js} +1 -1
  12. package/dist/{chunk-KFBOBJHC-nixdujtH-B4639Jmi.js → chunk-KFBOBJHC-nixdujtH-DCajFn7e.js} +1 -1
  13. package/dist/{chunk-T2TOU4HS-DqOVhIzl-piSN2Cjl.js → chunk-T2TOU4HS-DqOVhIzl-1waDvYDY.js} +229 -229
  14. package/dist/{chunk-TMUBEWPD-BRIzn5gH-SlHeKBx9.js → chunk-TMUBEWPD-BRIzn5gH-Ch1SRQ7H.js} +1 -1
  15. package/dist/{classDiagram-LNE6IOMH-fQzyXfo--C9LjXboP.js → classDiagram-LNE6IOMH-fQzyXfo--BpuwdnmV.js} +4 -4
  16. package/dist/{classDiagram-v2-MQ7JQ4JX-fQzyXfo--C9LjXboP.js → classDiagram-v2-MQ7JQ4JX-fQzyXfo--BpuwdnmV.js} +4 -4
  17. package/dist/{clone-_5SW34SG-DtUOH1l1.js → clone-_5SW34SG-BWxdvZXA.js} +1 -1
  18. package/dist/{cytoscape.esm-DAyNQ0qu-B7WxGuVh.js → cytoscape.esm-DAyNQ0qu-i5PnoWfE.js} +976 -976
  19. package/dist/{dagre-4EVJKHTY-CcAruc30-DaOjmyb6.js → dagre-4EVJKHTY-CcAruc30-H9W22Yky.js} +85 -85
  20. package/dist/{diagram-QW4FP2JN-DZT_0aFO-YCKYx1k-.js → diagram-QW4FP2JN-DZT_0aFO-AmG94tp5.js} +21 -21
  21. package/dist/documentation.es.js +1 -1
  22. package/dist/{erDiagram-6RL3IURR-BfgUC5jv-CS9Q9iKF.js → erDiagram-6RL3IURR-BfgUC5jv-BNzxBFoY.js} +201 -201
  23. package/dist/{flowDiagram-7ASYPVHJ-Bo9CnsE7-CkM-DJdr.js → flowDiagram-7ASYPVHJ-Bo9CnsE7-CSLq7kw9.js} +222 -222
  24. package/dist/{ganttDiagram-NTVNEXSI-8E9hjd6N-iN-VNXrV.js → ganttDiagram-NTVNEXSI-8E9hjd6N-CjQQCbaM.js} +16 -16
  25. package/dist/{gitGraph-YCYPL57B-BnErPIwo-DWobPBzL.js → gitGraph-YCYPL57B-BnErPIwo-DxQPpoWq.js} +1 -1
  26. package/dist/{gitGraphDiagram-NRZ2UAAF-B-t90-9e-Co4q5oQK.js → gitGraphDiagram-NRZ2UAAF-B-t90-9e-B6JY8bWo.js} +17 -17
  27. package/dist/{graph-BYZMvqpu-BpeF1PUA.js → graph-BYZMvqpu-CWGqkYZM.js} +43 -43
  28. package/dist/{index-ZM4BlVwk.js → index-BXOX6oou.js} +3487 -3487
  29. package/dist/{info-46DW6VJ7-DPpbx_vA-CnDg11wg.js → info-46DW6VJ7-DPpbx_vA-BmAPar7H.js} +1 -1
  30. package/dist/{infoDiagram-A4XQUW5V-Bo9uoOcA-WvvF1295.js → infoDiagram-A4XQUW5V-Bo9uoOcA-CtFRRRot.js} +2 -2
  31. package/dist/{journeyDiagram-G5WM74LC-BE7U42Ad-BFF_wJwi.js → journeyDiagram-G5WM74LC-BE7U42Ad-of9fN5Vr.js} +173 -173
  32. package/dist/{kanban-definition-QRCXZQQD-C-5-UNRm-LjA3yK5r.js → kanban-definition-QRCXZQQD-C-5-UNRm-DecJsseT.js} +168 -168
  33. package/dist/{katex-Qk2jHgyB-CF_fuFJb.js → katex-Qk2jHgyB-_qyJ_37x.js} +1054 -1054
  34. package/dist/{layout-BHI4imdk-DgoNZaqw.js → layout-BHI4imdk-BlkmyDbe.js} +19 -19
  35. package/dist/{linear-C2PheBya-wGRbEA3e.js → linear-C2PheBya-DijeUNjP.js} +2 -2
  36. package/dist/{mermaid-parser.core-Ce96PX3Q-DPc-bPXG.js → mermaid-parser.core-Ce96PX3Q-DtNzRUJ7.js} +32 -32
  37. package/dist/{mindmap-definition-GWI6TPTV-C98Syvj2-DOvfo2r8.js → mindmap-definition-GWI6TPTV-C98Syvj2-Btvji3Oh.js} +421 -421
  38. package/dist/{packet-W2GHVCYJ-BLiQbm7T-DbS7CM6G.js → packet-W2GHVCYJ-BLiQbm7T-E8ztaW67.js} +1 -1
  39. package/dist/{pie-BEWT4RHE-D3Mbo3mT-DB-aeuYE.js → pie-BEWT4RHE-D3Mbo3mT-BGVGE8TE.js} +1 -1
  40. package/dist/{pieDiagram-YF2LJOPJ-BJV27s9B-DS-nBsbY.js → pieDiagram-YF2LJOPJ-BJV27s9B-DVrzAwZP.js} +20 -20
  41. package/dist/{quadrantDiagram-OS5C2QUG-M57vVPSx-DMjI1wdt.js → quadrantDiagram-OS5C2QUG-M57vVPSx-DrN-qVPg.js} +131 -131
  42. package/dist/{requirementDiagram-MIRIMTAZ-D0KDg7rf-DeEsJ26T.js → requirementDiagram-MIRIMTAZ-D0KDg7rf-FCJNuddX.js} +77 -77
  43. package/dist/{sankeyDiagram-Y46BX6SQ-D6EdYPdp-BA6cRE1h.js → sankeyDiagram-Y46BX6SQ-D6EdYPdp-ClC_w0Hg.js} +108 -108
  44. package/dist/{sequenceDiagram-G6AWOVSC-B171TAb1-DMtStdxJ.js → sequenceDiagram-G6AWOVSC-B171TAb1-B6jBix6L.js} +181 -181
  45. package/dist/{stateDiagram-MAYHULR4-D7FUnT9_-Du3mnoL2.js → stateDiagram-MAYHULR4-D7FUnT9_-B7dSTUAT.js} +81 -81
  46. package/dist/{stateDiagram-v2-4JROLMXI-Cyc74STT-DR1h52WB.js → stateDiagram-v2-4JROLMXI-Cyc74STT-BhUBvhmS.js} +4 -4
  47. package/dist/{timeline-definition-U7ZMHBDA-Bw-dp1yf-BO9wUMSJ.js → timeline-definition-U7ZMHBDA-Bw-dp1yf-DAx9hgzp.js} +126 -126
  48. package/dist/{xychartDiagram-6QU3TZC5-CqbTSF5W-CwiL6udJ.js → xychartDiagram-6QU3TZC5-CqbTSF5W-Dy5Ia8cd.js} +70 -70
  49. package/package.json +2 -2
  50. package/dist/_baseUniq-SAfYgIkf-BO_CV6Oz.js +0 -614
@@ -1,10 +1,10 @@
1
- import { x as ve, y as Re } from "./chunk-ASOPGD6M-B5bA_saK-C3yF9T7p.js";
2
- import { _ as g, a5 as De, a6 as Pe, a7 as Ne, a8 as Be, g as Rt, a9 as Me, aa as je, ab as Jt, ac as de, ad as Tt, ae as fe, af as jt, l as ue, ag as Le, ah as Ye } from "./index-ZM4BlVwk.js";
1
+ import { y as ve, x as Re } from "./chunk-ASOPGD6M-B5bA_saK-RaS3hIfR.js";
2
+ import { _ as g, a5 as De, a6 as Pe, a7 as Ne, a8 as Be, g as Rt, a9 as jt, l as de, aa as Me, ab as je, ac as Tt, ad as fe, ae as Le, af as Ye, ag as Jt, ah as ue } from "./index-BXOX6oou.js";
3
3
  var Yt = function() {
4
4
  var e = /* @__PURE__ */ g(function(z, _, x, b) {
5
5
  for (x = x || {}, b = z.length; b--; x[z[b]] = _) ;
6
6
  return x;
7
- }, "o"), t = [1, 24], s = [1, 25], h = [1, 26], l = [1, 27], a = [1, 28], i = [1, 63], r = [1, 64], n = [1, 65], d = [1, 66], p = [1, 67], u = [1, 68], f = [1, 69], E = [1, 29], w = [1, 30], v = [1, 31], B = [1, 32], X = [1, 33], I = [1, 34], q = [1, 35], V = [1, 36], G = [1, 37], K = [1, 38], J = [1, 39], Z = [1, 40], tt = [1, 41], et = [1, 42], at = [1, 43], nt = [1, 44], it = [1, 45], rt = [1, 46], st = [1, 47], lt = [1, 48], ot = [1, 50], ct = [1, 51], ht = [1, 52], dt = [1, 53], ut = [1, 54], pt = [1, 55], yt = [1, 56], ft = [1, 57], gt = [1, 58], bt = [1, 59], _t = [1, 60], Ot = [14, 42], zt = [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], wt = [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], S = [1, 82], A = [1, 83], C = [1, 84], O = [1, 85], k = [12, 14, 42], se = [12, 14, 33, 42], Pt = [12, 14, 33, 42, 76, 77, 79, 80], Et = [12, 33], Qt = [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], Wt = {
7
+ }, "o"), t = [1, 24], r = [1, 25], h = [1, 26], l = [1, 27], a = [1, 28], i = [1, 63], s = [1, 64], n = [1, 65], d = [1, 66], p = [1, 67], u = [1, 68], f = [1, 69], E = [1, 29], w = [1, 30], v = [1, 31], B = [1, 32], X = [1, 33], I = [1, 34], q = [1, 35], V = [1, 36], G = [1, 37], K = [1, 38], J = [1, 39], Z = [1, 40], tt = [1, 41], et = [1, 42], at = [1, 43], nt = [1, 44], it = [1, 45], st = [1, 46], rt = [1, 47], lt = [1, 48], ot = [1, 50], ct = [1, 51], ht = [1, 52], dt = [1, 53], ut = [1, 54], pt = [1, 55], yt = [1, 56], ft = [1, 57], gt = [1, 58], bt = [1, 59], _t = [1, 60], Ot = [14, 42], zt = [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], wt = [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], S = [1, 82], A = [1, 83], C = [1, 84], O = [1, 85], k = [12, 14, 42], re = [12, 14, 33, 42], Pt = [12, 14, 33, 42, 76, 77, 79, 80], Et = [12, 33], Qt = [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], Wt = {
8
8
  trace: /* @__PURE__ */ g(function() {
9
9
  }, "trace"),
10
10
  yy: {},
@@ -182,7 +182,7 @@ var Yt = function() {
182
182
  break;
183
183
  }
184
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: h, 26: l, 28: a, 29: 49, 30: 61, 32: 62, 34: i, 36: r, 37: n, 38: d, 39: p, 40: u, 41: f, 43: 23, 44: E, 45: w, 46: v, 47: B, 48: X, 49: I, 50: q, 51: V, 52: G, 53: K, 54: J, 55: Z, 56: tt, 57: et, 58: at, 59: nt, 60: it, 61: rt, 62: st, 63: lt, 64: ot, 65: ct, 66: ht, 67: dt, 68: ut, 69: pt, 70: yt, 71: ft, 72: gt, 73: bt, 74: _t }, { 13: 70, 19: 20, 20: 21, 21: 22, 22: t, 23: s, 24: h, 26: l, 28: a, 29: 49, 30: 61, 32: 62, 34: i, 36: r, 37: n, 38: d, 39: p, 40: u, 41: f, 43: 23, 44: E, 45: w, 46: v, 47: B, 48: X, 49: I, 50: q, 51: V, 52: G, 53: K, 54: J, 55: Z, 56: tt, 57: et, 58: at, 59: nt, 60: it, 61: rt, 62: st, 63: lt, 64: ot, 65: ct, 66: ht, 67: dt, 68: ut, 69: pt, 70: yt, 71: ft, 72: gt, 73: bt, 74: _t }, { 13: 71, 19: 20, 20: 21, 21: 22, 22: t, 23: s, 24: h, 26: l, 28: a, 29: 49, 30: 61, 32: 62, 34: i, 36: r, 37: n, 38: d, 39: p, 40: u, 41: f, 43: 23, 44: E, 45: w, 46: v, 47: B, 48: X, 49: I, 50: q, 51: V, 52: G, 53: K, 54: J, 55: Z, 56: tt, 57: et, 58: at, 59: nt, 60: it, 61: rt, 62: st, 63: lt, 64: ot, 65: ct, 66: ht, 67: dt, 68: ut, 69: pt, 70: yt, 71: ft, 72: gt, 73: bt, 74: _t }, { 13: 72, 19: 20, 20: 21, 21: 22, 22: t, 23: s, 24: h, 26: l, 28: a, 29: 49, 30: 61, 32: 62, 34: i, 36: r, 37: n, 38: d, 39: p, 40: u, 41: f, 43: 23, 44: E, 45: w, 46: v, 47: B, 48: X, 49: I, 50: q, 51: V, 52: G, 53: K, 54: J, 55: Z, 56: tt, 57: et, 58: at, 59: nt, 60: it, 61: rt, 62: st, 63: lt, 64: ot, 65: ct, 66: ht, 67: dt, 68: ut, 69: pt, 70: yt, 71: ft, 72: gt, 73: bt, 74: _t }, { 13: 73, 19: 20, 20: 21, 21: 22, 22: t, 23: s, 24: h, 26: l, 28: a, 29: 49, 30: 61, 32: 62, 34: i, 36: r, 37: n, 38: d, 39: p, 40: u, 41: f, 43: 23, 44: E, 45: w, 46: v, 47: B, 48: X, 49: I, 50: q, 51: V, 52: G, 53: K, 54: J, 55: Z, 56: tt, 57: et, 58: at, 59: nt, 60: it, 61: rt, 62: st, 63: lt, 64: ot, 65: ct, 66: ht, 67: dt, 68: ut, 69: pt, 70: yt, 71: ft, 72: gt, 73: bt, 74: _t }, { 14: [1, 74] }, e(Ot, [2, 13], { 43: 23, 29: 49, 30: 61, 32: 62, 20: 75, 34: i, 36: r, 37: n, 38: d, 39: p, 40: u, 41: f, 44: E, 45: w, 46: v, 47: B, 48: X, 49: I, 50: q, 51: V, 52: G, 53: K, 54: J, 55: Z, 56: tt, 57: et, 58: at, 59: nt, 60: it, 61: rt, 62: st, 63: lt, 64: ot, 65: ct, 66: ht, 67: dt, 68: ut, 69: pt, 70: yt, 71: ft, 72: gt, 73: bt, 74: _t }), e(Ot, [2, 14]), e(zt, [2, 16], { 12: [1, 76] }), e(Ot, [2, 36], { 12: [1, 77] }), e(wt, [2, 19]), e(wt, [2, 20]), { 25: [1, 78] }, { 27: [1, 79] }, e(wt, [2, 23]), { 35: 80, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 86, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 87, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 88, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 89, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 90, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 91, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 92, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 93, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 94, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 95, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 96, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 97, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 98, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 99, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 100, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 101, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 102, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 103, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 104, 75: 81, 76: S, 77: A, 79: C, 80: O }, e(k, [2, 59]), { 35: 105, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 106, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 107, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 108, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 109, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 110, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 111, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 112, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 113, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 114, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 115, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 20: 116, 29: 49, 30: 61, 32: 62, 34: i, 36: r, 37: n, 38: d, 39: p, 40: u, 41: f, 43: 23, 44: E, 45: w, 46: v, 47: B, 48: X, 49: I, 50: q, 51: V, 52: G, 53: K, 54: J, 55: Z, 56: tt, 57: et, 58: at, 59: nt, 60: it, 61: rt, 62: st, 63: lt, 64: ot, 65: ct, 66: ht, 67: dt, 68: ut, 69: pt, 70: yt, 71: ft, 72: gt, 73: bt, 74: _t }, { 12: [1, 118], 33: [1, 117] }, { 35: 119, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 120, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 121, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 122, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 123, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 124, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 125, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 14: [1, 126] }, { 14: [1, 127] }, { 14: [1, 128] }, { 14: [1, 129] }, { 1: [2, 8] }, e(Ot, [2, 15]), e(zt, [2, 17], { 21: 22, 19: 130, 22: t, 23: s, 24: h, 26: l, 28: a }), e(Ot, [2, 37], { 19: 20, 20: 21, 21: 22, 43: 23, 29: 49, 30: 61, 32: 62, 13: 131, 22: t, 23: s, 24: h, 26: l, 28: a, 34: i, 36: r, 37: n, 38: d, 39: p, 40: u, 41: f, 44: E, 45: w, 46: v, 47: B, 48: X, 49: I, 50: q, 51: V, 52: G, 53: K, 54: J, 55: Z, 56: tt, 57: et, 58: at, 59: nt, 60: it, 61: rt, 62: st, 63: lt, 64: ot, 65: ct, 66: ht, 67: dt, 68: ut, 69: pt, 70: yt, 71: ft, 72: gt, 73: bt, 74: _t }), e(wt, [2, 21]), e(wt, [2, 22]), e(k, [2, 39]), e(se, [2, 71], { 75: 81, 35: 132, 76: S, 77: A, 79: C, 80: O }), e(Pt, [2, 73]), { 78: [1, 133] }, e(Pt, [2, 75]), e(Pt, [2, 76]), e(k, [2, 40]), e(k, [2, 41]), e(k, [2, 42]), e(k, [2, 43]), e(k, [2, 44]), e(k, [2, 45]), e(k, [2, 46]), e(k, [2, 47]), e(k, [2, 48]), e(k, [2, 49]), e(k, [2, 50]), e(k, [2, 51]), e(k, [2, 52]), e(k, [2, 53]), e(k, [2, 54]), e(k, [2, 55]), e(k, [2, 56]), e(k, [2, 57]), e(k, [2, 58]), e(k, [2, 60]), e(k, [2, 61]), e(k, [2, 62]), e(k, [2, 63]), e(k, [2, 64]), e(k, [2, 65]), e(k, [2, 66]), e(k, [2, 67]), e(k, [2, 68]), e(k, [2, 69]), e(k, [2, 70]), { 31: 134, 42: [1, 135] }, { 12: [1, 136] }, { 33: [1, 137] }, e(Et, [2, 28]), e(Et, [2, 29]), e(Et, [2, 30]), e(Et, [2, 31]), e(Et, [2, 32]), e(Et, [2, 33]), e(Et, [2, 34]), { 1: [2, 9] }, { 1: [2, 10] }, { 1: [2, 11] }, { 1: [2, 12] }, e(zt, [2, 18]), e(Ot, [2, 38]), e(se, [2, 72]), e(Pt, [2, 74]), e(k, [2, 24]), e(k, [2, 35]), e(Qt, [2, 25]), e(Qt, [2, 26], { 12: [1, 138] }), e(Qt, [2, 27])],
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: r, 24: h, 26: l, 28: a, 29: 49, 30: 61, 32: 62, 34: i, 36: s, 37: n, 38: d, 39: p, 40: u, 41: f, 43: 23, 44: E, 45: w, 46: v, 47: B, 48: X, 49: I, 50: q, 51: V, 52: G, 53: K, 54: J, 55: Z, 56: tt, 57: et, 58: at, 59: nt, 60: it, 61: st, 62: rt, 63: lt, 64: ot, 65: ct, 66: ht, 67: dt, 68: ut, 69: pt, 70: yt, 71: ft, 72: gt, 73: bt, 74: _t }, { 13: 70, 19: 20, 20: 21, 21: 22, 22: t, 23: r, 24: h, 26: l, 28: a, 29: 49, 30: 61, 32: 62, 34: i, 36: s, 37: n, 38: d, 39: p, 40: u, 41: f, 43: 23, 44: E, 45: w, 46: v, 47: B, 48: X, 49: I, 50: q, 51: V, 52: G, 53: K, 54: J, 55: Z, 56: tt, 57: et, 58: at, 59: nt, 60: it, 61: st, 62: rt, 63: lt, 64: ot, 65: ct, 66: ht, 67: dt, 68: ut, 69: pt, 70: yt, 71: ft, 72: gt, 73: bt, 74: _t }, { 13: 71, 19: 20, 20: 21, 21: 22, 22: t, 23: r, 24: h, 26: l, 28: a, 29: 49, 30: 61, 32: 62, 34: i, 36: s, 37: n, 38: d, 39: p, 40: u, 41: f, 43: 23, 44: E, 45: w, 46: v, 47: B, 48: X, 49: I, 50: q, 51: V, 52: G, 53: K, 54: J, 55: Z, 56: tt, 57: et, 58: at, 59: nt, 60: it, 61: st, 62: rt, 63: lt, 64: ot, 65: ct, 66: ht, 67: dt, 68: ut, 69: pt, 70: yt, 71: ft, 72: gt, 73: bt, 74: _t }, { 13: 72, 19: 20, 20: 21, 21: 22, 22: t, 23: r, 24: h, 26: l, 28: a, 29: 49, 30: 61, 32: 62, 34: i, 36: s, 37: n, 38: d, 39: p, 40: u, 41: f, 43: 23, 44: E, 45: w, 46: v, 47: B, 48: X, 49: I, 50: q, 51: V, 52: G, 53: K, 54: J, 55: Z, 56: tt, 57: et, 58: at, 59: nt, 60: it, 61: st, 62: rt, 63: lt, 64: ot, 65: ct, 66: ht, 67: dt, 68: ut, 69: pt, 70: yt, 71: ft, 72: gt, 73: bt, 74: _t }, { 13: 73, 19: 20, 20: 21, 21: 22, 22: t, 23: r, 24: h, 26: l, 28: a, 29: 49, 30: 61, 32: 62, 34: i, 36: s, 37: n, 38: d, 39: p, 40: u, 41: f, 43: 23, 44: E, 45: w, 46: v, 47: B, 48: X, 49: I, 50: q, 51: V, 52: G, 53: K, 54: J, 55: Z, 56: tt, 57: et, 58: at, 59: nt, 60: it, 61: st, 62: rt, 63: lt, 64: ot, 65: ct, 66: ht, 67: dt, 68: ut, 69: pt, 70: yt, 71: ft, 72: gt, 73: bt, 74: _t }, { 14: [1, 74] }, e(Ot, [2, 13], { 43: 23, 29: 49, 30: 61, 32: 62, 20: 75, 34: i, 36: s, 37: n, 38: d, 39: p, 40: u, 41: f, 44: E, 45: w, 46: v, 47: B, 48: X, 49: I, 50: q, 51: V, 52: G, 53: K, 54: J, 55: Z, 56: tt, 57: et, 58: at, 59: nt, 60: it, 61: st, 62: rt, 63: lt, 64: ot, 65: ct, 66: ht, 67: dt, 68: ut, 69: pt, 70: yt, 71: ft, 72: gt, 73: bt, 74: _t }), e(Ot, [2, 14]), e(zt, [2, 16], { 12: [1, 76] }), e(Ot, [2, 36], { 12: [1, 77] }), e(wt, [2, 19]), e(wt, [2, 20]), { 25: [1, 78] }, { 27: [1, 79] }, e(wt, [2, 23]), { 35: 80, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 86, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 87, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 88, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 89, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 90, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 91, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 92, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 93, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 94, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 95, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 96, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 97, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 98, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 99, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 100, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 101, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 102, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 103, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 104, 75: 81, 76: S, 77: A, 79: C, 80: O }, e(k, [2, 59]), { 35: 105, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 106, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 107, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 108, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 109, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 110, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 111, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 112, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 113, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 114, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 115, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 20: 116, 29: 49, 30: 61, 32: 62, 34: i, 36: s, 37: n, 38: d, 39: p, 40: u, 41: f, 43: 23, 44: E, 45: w, 46: v, 47: B, 48: X, 49: I, 50: q, 51: V, 52: G, 53: K, 54: J, 55: Z, 56: tt, 57: et, 58: at, 59: nt, 60: it, 61: st, 62: rt, 63: lt, 64: ot, 65: ct, 66: ht, 67: dt, 68: ut, 69: pt, 70: yt, 71: ft, 72: gt, 73: bt, 74: _t }, { 12: [1, 118], 33: [1, 117] }, { 35: 119, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 120, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 121, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 122, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 123, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 124, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 35: 125, 75: 81, 76: S, 77: A, 79: C, 80: O }, { 14: [1, 126] }, { 14: [1, 127] }, { 14: [1, 128] }, { 14: [1, 129] }, { 1: [2, 8] }, e(Ot, [2, 15]), e(zt, [2, 17], { 21: 22, 19: 130, 22: t, 23: r, 24: h, 26: l, 28: a }), e(Ot, [2, 37], { 19: 20, 20: 21, 21: 22, 43: 23, 29: 49, 30: 61, 32: 62, 13: 131, 22: t, 23: r, 24: h, 26: l, 28: a, 34: i, 36: s, 37: n, 38: d, 39: p, 40: u, 41: f, 44: E, 45: w, 46: v, 47: B, 48: X, 49: I, 50: q, 51: V, 52: G, 53: K, 54: J, 55: Z, 56: tt, 57: et, 58: at, 59: nt, 60: it, 61: st, 62: rt, 63: lt, 64: ot, 65: ct, 66: ht, 67: dt, 68: ut, 69: pt, 70: yt, 71: ft, 72: gt, 73: bt, 74: _t }), e(wt, [2, 21]), e(wt, [2, 22]), e(k, [2, 39]), e(re, [2, 71], { 75: 81, 35: 132, 76: S, 77: A, 79: C, 80: O }), e(Pt, [2, 73]), { 78: [1, 133] }, e(Pt, [2, 75]), e(Pt, [2, 76]), e(k, [2, 40]), e(k, [2, 41]), e(k, [2, 42]), e(k, [2, 43]), e(k, [2, 44]), e(k, [2, 45]), e(k, [2, 46]), e(k, [2, 47]), e(k, [2, 48]), e(k, [2, 49]), e(k, [2, 50]), e(k, [2, 51]), e(k, [2, 52]), e(k, [2, 53]), e(k, [2, 54]), e(k, [2, 55]), e(k, [2, 56]), e(k, [2, 57]), e(k, [2, 58]), e(k, [2, 60]), e(k, [2, 61]), e(k, [2, 62]), e(k, [2, 63]), e(k, [2, 64]), e(k, [2, 65]), e(k, [2, 66]), e(k, [2, 67]), e(k, [2, 68]), e(k, [2, 69]), e(k, [2, 70]), { 31: 134, 42: [1, 135] }, { 12: [1, 136] }, { 33: [1, 137] }, e(Et, [2, 28]), e(Et, [2, 29]), e(Et, [2, 30]), e(Et, [2, 31]), e(Et, [2, 32]), e(Et, [2, 33]), e(Et, [2, 34]), { 1: [2, 9] }, { 1: [2, 10] }, { 1: [2, 11] }, { 1: [2, 12] }, e(zt, [2, 18]), e(Ot, [2, 38]), e(re, [2, 72]), e(Pt, [2, 74]), e(k, [2, 24]), e(k, [2, 35]), e(Qt, [2, 25]), e(Qt, [2, 26], { 12: [1, 138] }), e(Qt, [2, 27])],
186
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] },
187
187
  parseError: /* @__PURE__ */ g(function(z, _) {
188
188
  if (_.recoverable)
@@ -640,12 +640,12 @@ var Ie = Yt, F = [], mt = [""], D = "global", U = "", W = [
640
640
  return ge;
641
641
  }, "getC4Type"), Fe = /* @__PURE__ */ g(function(e) {
642
642
  ge = fe(e, Rt());
643
- }, "setC4Type"), Xe = /* @__PURE__ */ g(function(e, t, s, h, l, a, i, r, n) {
644
- if (e == null || t === void 0 || t === null || s === void 0 || s === null || h === void 0 || h === null)
643
+ }, "setC4Type"), Xe = /* @__PURE__ */ g(function(e, t, r, h, l, a, i, s, n) {
644
+ if (e == null || t === void 0 || t === null || r === void 0 || r === null || h === void 0 || h === null)
645
645
  return;
646
646
  let d = {};
647
- const p = Dt.find((u) => u.from === t && u.to === s);
648
- if (p ? d = p : Dt.push(d), d.type = e, d.from = t, d.to = s, d.label = { text: h }, l == null)
647
+ const p = Dt.find((u) => u.from === t && u.to === r);
648
+ if (p ? d = p : Dt.push(d), d.type = e, d.from = t, d.to = r, d.label = { text: h }, l == null)
649
649
  d.techn = { text: "" };
650
650
  else if (typeof l == "object") {
651
651
  let [u, f] = Object.entries(l)[0];
@@ -664,51 +664,51 @@ var Ie = Yt, F = [], mt = [""], D = "global", U = "", W = [
664
664
  d[u] = f;
665
665
  } else
666
666
  d.sprite = i;
667
- if (typeof r == "object") {
668
- let [u, f] = Object.entries(r)[0];
667
+ if (typeof s == "object") {
668
+ let [u, f] = Object.entries(s)[0];
669
669
  d[u] = f;
670
670
  } else
671
- d.tags = r;
671
+ d.tags = s;
672
672
  if (typeof n == "object") {
673
673
  let [u, f] = Object.entries(n)[0];
674
674
  d[u] = f;
675
675
  } else
676
676
  d.link = n;
677
677
  d.wrap = xt();
678
- }, "addRel"), ze = /* @__PURE__ */ g(function(e, t, s, h, l, a, i) {
679
- if (t === null || s === null)
678
+ }, "addRel"), ze = /* @__PURE__ */ g(function(e, t, r, h, l, a, i) {
679
+ if (t === null || r === null)
680
680
  return;
681
- let r = {};
681
+ let s = {};
682
682
  const n = F.find((d) => d.alias === t);
683
- if (n && t === n.alias ? r = n : (r.alias = t, F.push(r)), s == null ? r.label = { text: "" } : r.label = { text: s }, h == null)
684
- r.descr = { text: "" };
683
+ if (n && t === n.alias ? s = n : (s.alias = t, F.push(s)), r == null ? s.label = { text: "" } : s.label = { text: r }, h == null)
684
+ s.descr = { text: "" };
685
685
  else if (typeof h == "object") {
686
686
  let [d, p] = Object.entries(h)[0];
687
- r[d] = { text: p };
687
+ s[d] = { text: p };
688
688
  } else
689
- r.descr = { text: h };
689
+ s.descr = { text: h };
690
690
  if (typeof l == "object") {
691
691
  let [d, p] = Object.entries(l)[0];
692
- r[d] = p;
692
+ s[d] = p;
693
693
  } else
694
- r.sprite = l;
694
+ s.sprite = l;
695
695
  if (typeof a == "object") {
696
696
  let [d, p] = Object.entries(a)[0];
697
- r[d] = p;
697
+ s[d] = p;
698
698
  } else
699
- r.tags = a;
699
+ s.tags = a;
700
700
  if (typeof i == "object") {
701
701
  let [d, p] = Object.entries(i)[0];
702
- r[d] = p;
702
+ s[d] = p;
703
703
  } else
704
- r.link = i;
705
- r.typeC4Shape = { text: e }, r.parentBoundary = D, r.wrap = xt();
706
- }, "addPersonOrSystem"), Qe = /* @__PURE__ */ g(function(e, t, s, h, l, a, i, r) {
707
- if (t === null || s === null)
704
+ s.link = i;
705
+ s.typeC4Shape = { text: e }, s.parentBoundary = D, s.wrap = xt();
706
+ }, "addPersonOrSystem"), Qe = /* @__PURE__ */ g(function(e, t, r, h, l, a, i, s) {
707
+ if (t === null || r === null)
708
708
  return;
709
709
  let n = {};
710
710
  const d = F.find((p) => p.alias === t);
711
- if (d && t === d.alias ? n = d : (n.alias = t, F.push(n)), s == null ? n.label = { text: "" } : n.label = { text: s }, h == null)
711
+ if (d && t === d.alias ? n = d : (n.alias = t, F.push(n)), r == null ? n.label = { text: "" } : n.label = { text: r }, h == null)
712
712
  n.techn = { text: "" };
713
713
  else if (typeof h == "object") {
714
714
  let [p, u] = Object.entries(h)[0];
@@ -732,18 +732,18 @@ var Ie = Yt, F = [], mt = [""], D = "global", U = "", W = [
732
732
  n[p] = u;
733
733
  } else
734
734
  n.tags = i;
735
- if (typeof r == "object") {
736
- let [p, u] = Object.entries(r)[0];
735
+ if (typeof s == "object") {
736
+ let [p, u] = Object.entries(s)[0];
737
737
  n[p] = u;
738
738
  } else
739
- n.link = r;
739
+ n.link = s;
740
740
  n.wrap = xt(), n.typeC4Shape = { text: e }, n.parentBoundary = D;
741
- }, "addContainer"), We = /* @__PURE__ */ g(function(e, t, s, h, l, a, i, r) {
742
- if (t === null || s === null)
741
+ }, "addContainer"), We = /* @__PURE__ */ g(function(e, t, r, h, l, a, i, s) {
742
+ if (t === null || r === null)
743
743
  return;
744
744
  let n = {};
745
745
  const d = F.find((p) => p.alias === t);
746
- if (d && t === d.alias ? n = d : (n.alias = t, F.push(n)), s == null ? n.label = { text: "" } : n.label = { text: s }, h == null)
746
+ if (d && t === d.alias ? n = d : (n.alias = t, F.push(n)), r == null ? n.label = { text: "" } : n.label = { text: r }, h == null)
747
747
  n.techn = { text: "" };
748
748
  else if (typeof h == "object") {
749
749
  let [p, u] = Object.entries(h)[0];
@@ -767,64 +767,64 @@ var Ie = Yt, F = [], mt = [""], D = "global", U = "", W = [
767
767
  n[p] = u;
768
768
  } else
769
769
  n.tags = i;
770
- if (typeof r == "object") {
771
- let [p, u] = Object.entries(r)[0];
770
+ if (typeof s == "object") {
771
+ let [p, u] = Object.entries(s)[0];
772
772
  n[p] = u;
773
773
  } else
774
- n.link = r;
774
+ n.link = s;
775
775
  n.wrap = xt(), n.typeC4Shape = { text: e }, n.parentBoundary = D;
776
- }, "addComponent"), $e = /* @__PURE__ */ g(function(e, t, s, h, l) {
776
+ }, "addComponent"), $e = /* @__PURE__ */ g(function(e, t, r, h, l) {
777
777
  if (e === null || t === null)
778
778
  return;
779
779
  let a = {};
780
- const i = W.find((r) => r.alias === e);
781
- if (i && e === i.alias ? a = i : (a.alias = e, W.push(a)), t == null ? a.label = { text: "" } : a.label = { text: t }, s == null)
780
+ const i = W.find((s) => s.alias === e);
781
+ if (i && e === i.alias ? a = i : (a.alias = e, W.push(a)), t == null ? a.label = { text: "" } : a.label = { text: t }, r == null)
782
782
  a.type = { text: "system" };
783
- else if (typeof s == "object") {
784
- let [r, n] = Object.entries(s)[0];
785
- a[r] = { text: n };
783
+ else if (typeof r == "object") {
784
+ let [s, n] = Object.entries(r)[0];
785
+ a[s] = { text: n };
786
786
  } else
787
- a.type = { text: s };
787
+ a.type = { text: r };
788
788
  if (typeof h == "object") {
789
- let [r, n] = Object.entries(h)[0];
790
- a[r] = n;
789
+ let [s, n] = Object.entries(h)[0];
790
+ a[s] = n;
791
791
  } else
792
792
  a.tags = h;
793
793
  if (typeof l == "object") {
794
- let [r, n] = Object.entries(l)[0];
795
- a[r] = n;
794
+ let [s, n] = Object.entries(l)[0];
795
+ a[s] = n;
796
796
  } else
797
797
  a.link = l;
798
798
  a.parentBoundary = D, a.wrap = xt(), U = D, D = e, mt.push(U);
799
- }, "addPersonOrSystemBoundary"), He = /* @__PURE__ */ g(function(e, t, s, h, l) {
799
+ }, "addPersonOrSystemBoundary"), He = /* @__PURE__ */ g(function(e, t, r, h, l) {
800
800
  if (e === null || t === null)
801
801
  return;
802
802
  let a = {};
803
- const i = W.find((r) => r.alias === e);
804
- if (i && e === i.alias ? a = i : (a.alias = e, W.push(a)), t == null ? a.label = { text: "" } : a.label = { text: t }, s == null)
803
+ const i = W.find((s) => s.alias === e);
804
+ if (i && e === i.alias ? a = i : (a.alias = e, W.push(a)), t == null ? a.label = { text: "" } : a.label = { text: t }, r == null)
805
805
  a.type = { text: "container" };
806
- else if (typeof s == "object") {
807
- let [r, n] = Object.entries(s)[0];
808
- a[r] = { text: n };
806
+ else if (typeof r == "object") {
807
+ let [s, n] = Object.entries(r)[0];
808
+ a[s] = { text: n };
809
809
  } else
810
- a.type = { text: s };
810
+ a.type = { text: r };
811
811
  if (typeof h == "object") {
812
- let [r, n] = Object.entries(h)[0];
813
- a[r] = n;
812
+ let [s, n] = Object.entries(h)[0];
813
+ a[s] = n;
814
814
  } else
815
815
  a.tags = h;
816
816
  if (typeof l == "object") {
817
- let [r, n] = Object.entries(l)[0];
818
- a[r] = n;
817
+ let [s, n] = Object.entries(l)[0];
818
+ a[s] = n;
819
819
  } else
820
820
  a.link = l;
821
821
  a.parentBoundary = D, a.wrap = xt(), U = D, D = e, mt.push(U);
822
- }, "addContainerBoundary"), qe = /* @__PURE__ */ g(function(e, t, s, h, l, a, i, r) {
823
- if (t === null || s === null)
822
+ }, "addContainerBoundary"), qe = /* @__PURE__ */ g(function(e, t, r, h, l, a, i, s) {
823
+ if (t === null || r === null)
824
824
  return;
825
825
  let n = {};
826
826
  const d = W.find((p) => p.alias === t);
827
- if (d && t === d.alias ? n = d : (n.alias = t, W.push(n)), s == null ? n.label = { text: "" } : n.label = { text: s }, h == null)
827
+ if (d && t === d.alias ? n = d : (n.alias = t, W.push(n)), r == null ? n.label = { text: "" } : n.label = { text: r }, h == null)
828
828
  n.type = { text: "node" };
829
829
  else if (typeof h == "object") {
830
830
  let [p, u] = Object.entries(h)[0];
@@ -843,23 +843,23 @@ var Ie = Yt, F = [], mt = [""], D = "global", U = "", W = [
843
843
  n[p] = u;
844
844
  } else
845
845
  n.tags = i;
846
- if (typeof r == "object") {
847
- let [p, u] = Object.entries(r)[0];
846
+ if (typeof s == "object") {
847
+ let [p, u] = Object.entries(s)[0];
848
848
  n[p] = u;
849
849
  } else
850
- n.link = r;
850
+ n.link = s;
851
851
  n.nodeType = e, n.parentBoundary = D, n.wrap = xt(), U = D, D = t, mt.push(U);
852
852
  }, "addDeploymentNode"), Ve = /* @__PURE__ */ g(function() {
853
853
  D = U, mt.pop(), U = mt.pop(), mt.push(U);
854
- }, "popBoundaryParseStack"), Ge = /* @__PURE__ */ g(function(e, t, s, h, l, a, i, r, n, d, p) {
854
+ }, "popBoundaryParseStack"), Ge = /* @__PURE__ */ g(function(e, t, r, h, l, a, i, s, n, d, p) {
855
855
  let u = F.find((f) => f.alias === t);
856
856
  if (!(u === void 0 && (u = W.find((f) => f.alias === t), u === void 0))) {
857
- if (s != null)
858
- if (typeof s == "object") {
859
- let [f, E] = Object.entries(s)[0];
857
+ if (r != null)
858
+ if (typeof r == "object") {
859
+ let [f, E] = Object.entries(r)[0];
860
860
  u[f] = E;
861
861
  } else
862
- u.bgColor = s;
862
+ u.bgColor = r;
863
863
  if (h != null)
864
864
  if (typeof h == "object") {
865
865
  let [f, E] = Object.entries(h)[0];
@@ -884,12 +884,12 @@ var Ie = Yt, F = [], mt = [""], D = "global", U = "", W = [
884
884
  u[f] = E;
885
885
  } else
886
886
  u.shape = i;
887
- if (r != null)
888
- if (typeof r == "object") {
889
- let [f, E] = Object.entries(r)[0];
887
+ if (s != null)
888
+ if (typeof s == "object") {
889
+ let [f, E] = Object.entries(s)[0];
890
890
  u[f] = E;
891
891
  } else
892
- u.sprite = r;
892
+ u.sprite = s;
893
893
  if (n != null)
894
894
  if (typeof n == "object") {
895
895
  let [f, E] = Object.entries(n)[0];
@@ -909,46 +909,46 @@ var Ie = Yt, F = [], mt = [""], D = "global", U = "", W = [
909
909
  } else
910
910
  u.legendSprite = p;
911
911
  }
912
- }, "updateElStyle"), Ke = /* @__PURE__ */ g(function(e, t, s, h, l, a, i) {
913
- const r = Dt.find((n) => n.from === t && n.to === s);
914
- if (r !== void 0) {
912
+ }, "updateElStyle"), Ke = /* @__PURE__ */ g(function(e, t, r, h, l, a, i) {
913
+ const s = Dt.find((n) => n.from === t && n.to === r);
914
+ if (s !== void 0) {
915
915
  if (h != null)
916
916
  if (typeof h == "object") {
917
917
  let [n, d] = Object.entries(h)[0];
918
- r[n] = d;
918
+ s[n] = d;
919
919
  } else
920
- r.textColor = h;
920
+ s.textColor = h;
921
921
  if (l != null)
922
922
  if (typeof l == "object") {
923
923
  let [n, d] = Object.entries(l)[0];
924
- r[n] = d;
924
+ s[n] = d;
925
925
  } else
926
- r.lineColor = l;
926
+ s.lineColor = l;
927
927
  if (a != null)
928
928
  if (typeof a == "object") {
929
929
  let [n, d] = Object.entries(a)[0];
930
- r[n] = parseInt(d);
930
+ s[n] = parseInt(d);
931
931
  } else
932
- r.offsetX = parseInt(a);
932
+ s.offsetX = parseInt(a);
933
933
  if (i != null)
934
934
  if (typeof i == "object") {
935
935
  let [n, d] = Object.entries(i)[0];
936
- r[n] = parseInt(d);
936
+ s[n] = parseInt(d);
937
937
  } else
938
- r.offsetY = parseInt(i);
938
+ s.offsetY = parseInt(i);
939
939
  }
940
- }, "updateRelStyle"), Je = /* @__PURE__ */ g(function(e, t, s) {
940
+ }, "updateRelStyle"), Je = /* @__PURE__ */ g(function(e, t, r) {
941
941
  let h = It, l = Ut;
942
942
  if (typeof t == "object") {
943
943
  const a = Object.values(t)[0];
944
944
  h = parseInt(a);
945
945
  } else
946
946
  h = parseInt(t);
947
- if (typeof s == "object") {
948
- const a = Object.values(s)[0];
947
+ if (typeof r == "object") {
948
+ const a = Object.values(r)[0];
949
949
  l = parseInt(a);
950
950
  } else
951
- l = parseInt(s);
951
+ l = parseInt(r);
952
952
  h >= 1 && (It = h), l >= 1 && (Ut = l);
953
953
  }, "updateLayoutConfig"), Ze = /* @__PURE__ */ g(function() {
954
954
  return It;
@@ -966,7 +966,7 @@ var Ie = Yt, F = [], mt = [""], D = "global", U = "", W = [
966
966
  return Object.keys(be(e));
967
967
  }, "getC4ShapeKeys"), _e = /* @__PURE__ */ g(function(e) {
968
968
  return e == null ? W : W.filter((t) => t.parentBoundary === e);
969
- }, "getBoundaries"), r0 = _e, s0 = /* @__PURE__ */ g(function() {
969
+ }, "getBoundaries"), s0 = _e, r0 = /* @__PURE__ */ g(function() {
970
970
  return Dt;
971
971
  }, "getRels"), l0 = /* @__PURE__ */ g(function() {
972
972
  return ae;
@@ -1036,18 +1036,18 @@ var Ie = Yt, F = [], mt = [""], D = "global", U = "", W = [
1036
1036
  getC4Shape: n0,
1037
1037
  getC4ShapeKeys: i0,
1038
1038
  getBoundaries: _e,
1039
- getBoundarys: r0,
1039
+ getBoundarys: s0,
1040
1040
  getCurrentBoundaryParse: e0,
1041
1041
  getParentBoundaryParse: a0,
1042
- getRels: s0,
1042
+ getRels: r0,
1043
1043
  getTitle: l0,
1044
1044
  getC4Type: Ue,
1045
1045
  getC4ShapeInRow: Ze,
1046
1046
  getC4BoundaryInRow: t0,
1047
- setAccTitle: De,
1048
- getAccTitle: Pe,
1049
- getAccDescription: Ne,
1050
- setAccDescription: Be,
1047
+ setAccTitle: Be,
1048
+ getAccTitle: Ne,
1049
+ getAccDescription: Pe,
1050
+ setAccDescription: De,
1051
1051
  getConfig: /* @__PURE__ */ g(() => Rt().c4, "getConfig"),
1052
1052
  clear: c0,
1053
1053
  LINETYPE: h0,
@@ -1057,23 +1057,23 @@ var Ie = Yt, F = [], mt = [""], D = "global", U = "", W = [
1057
1057
  setC4Type: Fe
1058
1058
  // apply,
1059
1059
  }, ie = /* @__PURE__ */ g(function(e, t) {
1060
- return ve(e, t);
1061
- }, "drawRect"), me = /* @__PURE__ */ g(function(e, t, s, h, l, a) {
1060
+ return Re(e, t);
1061
+ }, "drawRect"), me = /* @__PURE__ */ g(function(e, t, r, h, l, a) {
1062
1062
  const i = e.append("image");
1063
- i.attr("width", t), i.attr("height", s), i.attr("x", h), i.attr("y", l);
1064
- let r = a.startsWith("data:image/png;base64") ? a : Ye.sanitizeUrl(a);
1065
- i.attr("xlink:href", r);
1066
- }, "drawImage"), y0 = /* @__PURE__ */ g((e, t, s) => {
1063
+ i.attr("width", t), i.attr("height", r), i.attr("x", h), i.attr("y", l);
1064
+ let s = a.startsWith("data:image/png;base64") ? a : Le.sanitizeUrl(a);
1065
+ i.attr("xlink:href", s);
1066
+ }, "drawImage"), y0 = /* @__PURE__ */ g((e, t, r) => {
1067
1067
  const h = e.append("g");
1068
1068
  let l = 0;
1069
1069
  for (let a of t) {
1070
- let i = a.textColor ? a.textColor : "#444444", r = a.lineColor ? a.lineColor : "#444444", n = a.offsetX ? parseInt(a.offsetX) : 0, d = a.offsetY ? parseInt(a.offsetY) : 0, p = "";
1070
+ let i = a.textColor ? a.textColor : "#444444", s = a.lineColor ? a.lineColor : "#444444", n = a.offsetX ? parseInt(a.offsetX) : 0, d = a.offsetY ? parseInt(a.offsetY) : 0, p = "";
1071
1071
  if (l === 0) {
1072
1072
  let f = h.append("line");
1073
- f.attr("x1", a.startPoint.x), f.attr("y1", a.startPoint.y), f.attr("x2", a.endPoint.x), f.attr("y2", a.endPoint.y), f.attr("stroke-width", "1"), f.attr("stroke", r), f.style("fill", "none"), a.type !== "rel_b" && f.attr("marker-end", "url(" + p + "#arrowhead)"), (a.type === "birel" || a.type === "rel_b") && f.attr("marker-start", "url(" + p + "#arrowend)"), l = -1;
1073
+ f.attr("x1", a.startPoint.x), f.attr("y1", a.startPoint.y), f.attr("x2", a.endPoint.x), f.attr("y2", a.endPoint.y), f.attr("stroke-width", "1"), f.attr("stroke", s), f.style("fill", "none"), a.type !== "rel_b" && f.attr("marker-end", "url(" + p + "#arrowhead)"), (a.type === "birel" || a.type === "rel_b") && f.attr("marker-start", "url(" + p + "#arrowend)"), l = -1;
1074
1074
  } else {
1075
1075
  let f = h.append("path");
1076
- f.attr("fill", "none").attr("stroke-width", "1").attr("stroke", r).attr(
1076
+ f.attr("fill", "none").attr("stroke-width", "1").attr("stroke", s).attr(
1077
1077
  "d",
1078
1078
  "Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx", a.startPoint.x).replaceAll("starty", a.startPoint.y).replaceAll(
1079
1079
  "controlx",
@@ -1081,8 +1081,8 @@ var Ie = Yt, F = [], mt = [""], D = "global", U = "", W = [
1081
1081
  ).replaceAll("controly", a.startPoint.y + (a.endPoint.y - a.startPoint.y) / 2).replaceAll("stopx", a.endPoint.x).replaceAll("stopy", a.endPoint.y)
1082
1082
  ), a.type !== "rel_b" && f.attr("marker-end", "url(" + p + "#arrowhead)"), (a.type === "birel" || a.type === "rel_b") && f.attr("marker-start", "url(" + p + "#arrowend)");
1083
1083
  }
1084
- let u = s.messageFont();
1085
- H(s)(
1084
+ let u = r.messageFont();
1085
+ H(r)(
1086
1086
  a.label.text,
1087
1087
  h,
1088
1088
  Math.min(a.startPoint.x, a.endPoint.x) + Math.abs(a.endPoint.x - a.startPoint.x) / 2 + n,
@@ -1091,21 +1091,21 @@ var Ie = Yt, F = [], mt = [""], D = "global", U = "", W = [
1091
1091
  a.label.height,
1092
1092
  { fill: i },
1093
1093
  u
1094
- ), a.techn && a.techn.text !== "" && (u = s.messageFont(), H(s)(
1094
+ ), a.techn && a.techn.text !== "" && (u = r.messageFont(), H(r)(
1095
1095
  "[" + a.techn.text + "]",
1096
1096
  h,
1097
1097
  Math.min(a.startPoint.x, a.endPoint.x) + Math.abs(a.endPoint.x - a.startPoint.x) / 2 + n,
1098
- Math.min(a.startPoint.y, a.endPoint.y) + Math.abs(a.endPoint.y - a.startPoint.y) / 2 + s.messageFontSize + 5 + d,
1098
+ Math.min(a.startPoint.y, a.endPoint.y) + Math.abs(a.endPoint.y - a.startPoint.y) / 2 + r.messageFontSize + 5 + d,
1099
1099
  Math.max(a.label.width, a.techn.width),
1100
1100
  a.techn.height,
1101
1101
  { fill: i, "font-style": "italic" },
1102
1102
  u
1103
1103
  ));
1104
1104
  }
1105
- }, "drawRels"), f0 = /* @__PURE__ */ g(function(e, t, s) {
1105
+ }, "drawRels"), f0 = /* @__PURE__ */ g(function(e, t, r) {
1106
1106
  const h = e.append("g");
1107
- let l = t.bgColor ? t.bgColor : "none", a = t.borderColor ? t.borderColor : "#444444", i = t.fontColor ? t.fontColor : "black", r = { "stroke-width": 1, "stroke-dasharray": "7.0,7.0" };
1108
- t.nodeType && (r = { "stroke-width": 1 });
1107
+ let l = t.bgColor ? t.bgColor : "none", a = t.borderColor ? t.borderColor : "#444444", i = t.fontColor ? t.fontColor : "black", s = { "stroke-width": 1, "stroke-dasharray": "7.0,7.0" };
1108
+ t.nodeType && (s = { "stroke-width": 1 });
1109
1109
  let n = {
1110
1110
  x: t.x,
1111
1111
  y: t.y,
@@ -1115,11 +1115,11 @@ var Ie = Yt, F = [], mt = [""], D = "global", U = "", W = [
1115
1115
  height: t.height,
1116
1116
  rx: 2.5,
1117
1117
  ry: 2.5,
1118
- attrs: r
1118
+ attrs: s
1119
1119
  };
1120
1120
  ie(h, n);
1121
- let d = s.boundaryFont();
1122
- d.fontWeight = "bold", d.fontSize = d.fontSize + 2, d.fontColor = i, H(s)(
1121
+ let d = r.boundaryFont();
1122
+ d.fontWeight = "bold", d.fontSize = d.fontSize + 2, d.fontColor = i, H(r)(
1123
1123
  t.label.text,
1124
1124
  h,
1125
1125
  t.x,
@@ -1128,7 +1128,7 @@ var Ie = Yt, F = [], mt = [""], D = "global", U = "", W = [
1128
1128
  t.height,
1129
1129
  { fill: "#444444" },
1130
1130
  d
1131
- ), t.type && t.type.text !== "" && (d = s.boundaryFont(), d.fontColor = i, H(s)(
1131
+ ), t.type && t.type.text !== "" && (d = r.boundaryFont(), d.fontColor = i, H(r)(
1132
1132
  t.type.text,
1133
1133
  h,
1134
1134
  t.x,
@@ -1137,7 +1137,7 @@ var Ie = Yt, F = [], mt = [""], D = "global", U = "", W = [
1137
1137
  t.height,
1138
1138
  { fill: "#444444" },
1139
1139
  d
1140
- )), t.descr && t.descr.text !== "" && (d = s.boundaryFont(), d.fontSize = d.fontSize - 2, d.fontColor = i, H(s)(
1140
+ )), t.descr && t.descr.text !== "" && (d = r.boundaryFont(), d.fontSize = d.fontSize - 2, d.fontColor = i, H(r)(
1141
1141
  t.descr.text,
1142
1142
  h,
1143
1143
  t.x,
@@ -1147,20 +1147,20 @@ var Ie = Yt, F = [], mt = [""], D = "global", U = "", W = [
1147
1147
  { fill: "#444444" },
1148
1148
  d
1149
1149
  ));
1150
- }, "drawBoundary"), g0 = /* @__PURE__ */ g(function(e, t, s) {
1150
+ }, "drawBoundary"), g0 = /* @__PURE__ */ g(function(e, t, r) {
1151
1151
  var h;
1152
- let l = t.bgColor ? t.bgColor : s[t.typeC4Shape.text + "_bg_color"], a = t.borderColor ? t.borderColor : s[t.typeC4Shape.text + "_border_color"], i = 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=";
1152
+ let l = t.bgColor ? t.bgColor : r[t.typeC4Shape.text + "_bg_color"], a = t.borderColor ? t.borderColor : r[t.typeC4Shape.text + "_border_color"], i = t.fontColor ? t.fontColor : "#FFFFFF", s = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";
1153
1153
  switch (t.typeC4Shape.text) {
1154
1154
  case "person":
1155
- r = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";
1155
+ s = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";
1156
1156
  break;
1157
1157
  case "external_person":
1158
- r = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAB6ElEQVR4Xu2YLY+EMBCG9+dWr0aj0Wg0Go1Go0+j8Xdv2uTCvv1gpt0ebHKPuhDaeW4605Z9mJvx4AdXUyTUdd08z+u6flmWZRnHsWkafk9DptAwDPu+f0eAYtu2PEaGWuj5fCIZrBAC2eLBAnRCsEkkxmeaJp7iDJ2QMDdHsLg8SxKFEJaAo8lAXnmuOFIhTMpxxKATebo4UiFknuNo4OniSIXQyRxEA3YsnjGCVEjVXD7yLUAqxBGUyPv/Y4W2beMgGuS7kVQIBycH0fD+oi5pezQETxdHKmQKGk1eQEYldK+jw5GxPfZ9z7Mk0Qnhf1W1m3w//EUn5BDmSZsbR44QQLBEqrBHqOrmSKaQAxdnLArCrxZcM7A7ZKs4ioRq8LFC+NpC3WCBJsvpVw5edm9iEXFuyNfxXAgSwfrFQ1c0iNda8AdejvUgnktOtJQQxmcfFzGglc5WVCj7oDgFqU18boeFSs52CUh8LE8BIVQDT1ABrB0HtgSEYlX5doJnCwv9TXocKCaKbnwhdDKPq4lf3SwU3HLq4V/+WYhHVMa/3b4IlfyikAduCkcBc7mQ3/z/Qq/cTuikhkzB12Ae/mcJC9U+Vo8Ej1gWAtgbeGgFsAMHr50BIWOLCbezvhpBFUdY6EJuJ/QDW0XoMX60zZ0AAAAASUVORK5CYII=";
1158
+ s = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAB6ElEQVR4Xu2YLY+EMBCG9+dWr0aj0Wg0Go1Go0+j8Xdv2uTCvv1gpt0ebHKPuhDaeW4605Z9mJvx4AdXUyTUdd08z+u6flmWZRnHsWkafk9DptAwDPu+f0eAYtu2PEaGWuj5fCIZrBAC2eLBAnRCsEkkxmeaJp7iDJ2QMDdHsLg8SxKFEJaAo8lAXnmuOFIhTMpxxKATebo4UiFknuNo4OniSIXQyRxEA3YsnjGCVEjVXD7yLUAqxBGUyPv/Y4W2beMgGuS7kVQIBycH0fD+oi5pezQETxdHKmQKGk1eQEYldK+jw5GxPfZ9z7Mk0Qnhf1W1m3w//EUn5BDmSZsbR44QQLBEqrBHqOrmSKaQAxdnLArCrxZcM7A7ZKs4ioRq8LFC+NpC3WCBJsvpVw5edm9iEXFuyNfxXAgSwfrFQ1c0iNda8AdejvUgnktOtJQQxmcfFzGglc5WVCj7oDgFqU18boeFSs52CUh8LE8BIVQDT1ABrB0HtgSEYlX5doJnCwv9TXocKCaKbnwhdDKPq4lf3SwU3HLq4V/+WYhHVMa/3b4IlfyikAduCkcBc7mQ3/z/Qq/cTuikhkzB12Ae/mcJC9U+Vo8Ej1gWAtgbeGgFsAMHr50BIWOLCbezvhpBFUdY6EJuJ/QDW0XoMX60zZ0AAAAASUVORK5CYII=";
1159
1159
  break;
1160
1160
  }
1161
1161
  const n = e.append("g");
1162
1162
  n.attr("class", "person-man");
1163
- const d = Re();
1163
+ const d = ve();
1164
1164
  switch (t.typeC4Shape.text) {
1165
1165
  case "person":
1166
1166
  case "external_person":
@@ -1201,7 +1201,7 @@ var Ie = Yt, F = [], mt = [""], D = "global", U = "", W = [
1201
1201
  );
1202
1202
  break;
1203
1203
  }
1204
- let p = O0(s, t.typeC4Shape.text);
1204
+ let p = O0(r, t.typeC4Shape.text);
1205
1205
  switch (n.append("text").attr("fill", i).attr("font-family", p.fontFamily).attr("font-size", p.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) {
1206
1206
  case "person":
1207
1207
  case "external_person":
@@ -1211,12 +1211,12 @@ var Ie = Yt, F = [], mt = [""], D = "global", U = "", W = [
1211
1211
  48,
1212
1212
  t.x + t.width / 2 - 24,
1213
1213
  t.y + t.image.Y,
1214
- r
1214
+ s
1215
1215
  );
1216
1216
  break;
1217
1217
  }
1218
- let u = s[t.typeC4Shape.text + "Font"]();
1219
- return u.fontWeight = "bold", u.fontSize = u.fontSize + 2, u.fontColor = i, H(s)(
1218
+ let u = r[t.typeC4Shape.text + "Font"]();
1219
+ return u.fontWeight = "bold", u.fontSize = u.fontSize + 2, u.fontColor = i, H(r)(
1220
1220
  t.label.text,
1221
1221
  n,
1222
1222
  t.x,
@@ -1225,7 +1225,7 @@ var Ie = Yt, F = [], mt = [""], D = "global", U = "", W = [
1225
1225
  t.height,
1226
1226
  { fill: i },
1227
1227
  u
1228
- ), u = s[t.typeC4Shape.text + "Font"](), u.fontColor = i, t.techn && ((h = t.techn) == null ? void 0 : h.text) !== "" ? H(s)(
1228
+ ), u = r[t.typeC4Shape.text + "Font"](), u.fontColor = i, t.techn && ((h = t.techn) == null ? void 0 : h.text) !== "" ? H(r)(
1229
1229
  t.techn.text,
1230
1230
  n,
1231
1231
  t.x,
@@ -1234,7 +1234,7 @@ var Ie = Yt, F = [], mt = [""], D = "global", U = "", W = [
1234
1234
  t.height,
1235
1235
  { fill: i, "font-style": "italic" },
1236
1236
  u
1237
- ) : t.type && t.type.text !== "" && H(s)(
1237
+ ) : t.type && t.type.text !== "" && H(r)(
1238
1238
  t.type.text,
1239
1239
  n,
1240
1240
  t.x,
@@ -1243,7 +1243,7 @@ var Ie = Yt, F = [], mt = [""], D = "global", U = "", W = [
1243
1243
  t.height,
1244
1244
  { fill: i, "font-style": "italic" },
1245
1245
  u
1246
- ), t.descr && t.descr.text !== "" && (u = s.personFont(), u.fontColor = i, H(s)(
1246
+ ), t.descr && t.descr.text !== "" && (u = r.personFont(), u.fontColor = i, H(r)(
1247
1247
  t.descr.text,
1248
1248
  n,
1249
1249
  t.x,
@@ -1284,30 +1284,30 @@ var Ie = Yt, F = [], mt = [""], D = "global", U = "", W = [
1284
1284
  fontSize: e[t + "FontSize"],
1285
1285
  fontWeight: e[t + "FontWeight"]
1286
1286
  }), "getC4ShapeFont"), H = /* @__PURE__ */ function() {
1287
- function e(l, a, i, r, n, d, p) {
1288
- const u = a.append("text").attr("x", i + n / 2).attr("y", r + d / 2 + 5).style("text-anchor", "middle").text(l);
1287
+ function e(l, a, i, s, n, d, p) {
1288
+ const u = a.append("text").attr("x", i + n / 2).attr("y", s + d / 2 + 5).style("text-anchor", "middle").text(l);
1289
1289
  h(u, p);
1290
1290
  }
1291
1291
  g(e, "byText");
1292
- function t(l, a, i, r, n, d, p, u) {
1292
+ function t(l, a, i, s, n, d, p, u) {
1293
1293
  const { fontSize: f, fontFamily: E, fontWeight: w } = u, v = l.split(Jt.lineBreakRegex);
1294
1294
  for (let B = 0; B < v.length; B++) {
1295
- const X = B * f - f * (v.length - 1) / 2, I = a.append("text").attr("x", i + n / 2).attr("y", r).style("text-anchor", "middle").attr("dominant-baseline", "middle").style("font-size", f).style("font-weight", w).style("font-family", E);
1295
+ const X = B * f - f * (v.length - 1) / 2, I = a.append("text").attr("x", i + n / 2).attr("y", s).style("text-anchor", "middle").attr("dominant-baseline", "middle").style("font-size", f).style("font-weight", w).style("font-family", E);
1296
1296
  I.append("tspan").attr("dy", X).text(v[B]).attr("alignment-baseline", "mathematical"), h(I, p);
1297
1297
  }
1298
1298
  }
1299
1299
  g(t, "byTspan");
1300
- function s(l, a, i, r, n, d, p, u) {
1301
- const f = a.append("switch"), E = f.append("foreignObject").attr("x", i).attr("y", r).attr("width", n).attr("height", d).append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
1302
- E.append("div").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(l), t(l, f, i, r, n, d, p, u), h(E, p);
1300
+ function r(l, a, i, s, n, d, p, u) {
1301
+ const f = a.append("switch"), E = f.append("foreignObject").attr("x", i).attr("y", s).attr("width", n).attr("height", d).append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
1302
+ E.append("div").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(l), t(l, f, i, s, n, d, p, u), h(E, p);
1303
1303
  }
1304
- g(s, "byFo");
1304
+ g(r, "byFo");
1305
1305
  function h(l, a) {
1306
1306
  for (const i in a)
1307
1307
  a.hasOwnProperty(i) && l.attr(i, a[i]);
1308
1308
  }
1309
1309
  return g(h, "_setTextAttrs"), function(l) {
1310
- return l.textPlacement === "fo" ? s : l.textPlacement === "old" ? e : t;
1310
+ return l.textPlacement === "fo" ? r : l.textPlacement === "old" ? e : t;
1311
1311
  };
1312
1312
  }(), Q = {
1313
1313
  drawRect: ie,
@@ -1329,16 +1329,16 @@ var m = {}, Gt, Ee = (Gt = class {
1329
1329
  constructor(e) {
1330
1330
  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, ee(e.db.getConfig());
1331
1331
  }
1332
- setData(e, t, s, h) {
1333
- this.nextData.startx = this.data.startx = e, this.nextData.stopx = this.data.stopx = t, this.nextData.starty = this.data.starty = s, this.nextData.stopy = this.data.stopy = h;
1332
+ setData(e, t, r, h) {
1333
+ this.nextData.startx = this.data.startx = e, this.nextData.stopx = this.data.stopx = t, this.nextData.starty = this.data.starty = r, this.nextData.stopy = this.data.stopy = h;
1334
1334
  }
1335
- updateVal(e, t, s, h) {
1336
- e[t] === void 0 ? e[t] = s : e[t] = h(s, e[t]);
1335
+ updateVal(e, t, r, h) {
1336
+ e[t] === void 0 ? e[t] = r : e[t] = h(r, e[t]);
1337
1337
  }
1338
1338
  insert(e) {
1339
1339
  this.nextData.cnt = this.nextData.cnt + 1;
1340
- let t = this.nextData.startx === this.nextData.stopx ? this.nextData.stopx + e.margin : this.nextData.stopx + e.margin * 2, s = t + e.width, h = this.nextData.starty + e.margin * 2, l = h + e.height;
1341
- (t >= this.data.widthLimit || s >= this.data.widthLimit || this.nextData.cnt > xe) && (t = this.nextData.startx + e.margin + m.nextLinePaddingX, h = this.nextData.stopy + e.margin * 2, this.nextData.stopx = s = t + e.width, this.nextData.starty = this.nextData.stopy, this.nextData.stopy = l = h + e.height, this.nextData.cnt = 1), e.x = t, e.y = h, this.updateVal(this.data, "startx", t, Math.min), this.updateVal(this.data, "starty", h, Math.min), this.updateVal(this.data, "stopx", s, Math.max), this.updateVal(this.data, "stopy", l, Math.max), this.updateVal(this.nextData, "startx", t, Math.min), this.updateVal(this.nextData, "starty", h, Math.min), this.updateVal(this.nextData, "stopx", s, Math.max), this.updateVal(this.nextData, "stopy", l, Math.max);
1340
+ let t = this.nextData.startx === this.nextData.stopx ? this.nextData.stopx + e.margin : this.nextData.stopx + e.margin * 2, r = t + e.width, h = this.nextData.starty + e.margin * 2, l = h + e.height;
1341
+ (t >= this.data.widthLimit || r >= this.data.widthLimit || this.nextData.cnt > xe) && (t = this.nextData.startx + e.margin + m.nextLinePaddingX, h = this.nextData.stopy + e.margin * 2, this.nextData.stopx = r = t + e.width, this.nextData.starty = this.nextData.stopy, this.nextData.stopy = l = h + e.height, this.nextData.cnt = 1), e.x = t, e.y = h, this.updateVal(this.data, "startx", t, Math.min), this.updateVal(this.data, "starty", h, Math.min), this.updateVal(this.data, "stopx", r, Math.max), this.updateVal(this.data, "stopy", l, Math.max), this.updateVal(this.nextData, "startx", t, Math.min), this.updateVal(this.nextData, "starty", h, Math.min), this.updateVal(this.nextData, "stopx", r, Math.max), this.updateVal(this.nextData, "stopy", l, Math.max);
1342
1342
  }
1343
1343
  init(e) {
1344
1344
  this.name = "", this.data = {
@@ -1359,7 +1359,7 @@ var m = {}, Gt, Ee = (Gt = class {
1359
1359
  this.data.stopx += e, this.data.stopy += e;
1360
1360
  }
1361
1361
  }, g(Gt, "Bounds"), Gt), ee = /* @__PURE__ */ g(function(e) {
1362
- Me(m, e), e.fontFamily && (m.personFontFamily = m.systemFontFamily = m.messageFontFamily = e.fontFamily), e.fontSize && (m.personFontSize = m.systemFontSize = m.messageFontSize = e.fontSize), e.fontWeight && (m.personFontWeight = m.systemFontWeight = m.messageFontWeight = e.fontWeight);
1362
+ je(m, e), e.fontFamily && (m.personFontFamily = m.systemFontFamily = m.messageFontFamily = e.fontFamily), e.fontSize && (m.personFontSize = m.systemFontSize = m.messageFontSize = e.fontSize), e.fontWeight && (m.personFontWeight = m.systemFontWeight = m.messageFontWeight = e.fontWeight);
1363
1363
  }, "setConf"), vt = /* @__PURE__ */ g((e, t) => ({
1364
1364
  fontFamily: e[t + "FontFamily"],
1365
1365
  fontSize: e[t + "FontSize"],
@@ -1373,39 +1373,39 @@ var m = {}, Gt, Ee = (Gt = class {
1373
1373
  fontSize: e.messageFontSize,
1374
1374
  fontWeight: e.messageFontWeight
1375
1375
  }), "messageFont");
1376
- function Y(e, t, s, h, l) {
1376
+ function Y(e, t, r, h, l) {
1377
1377
  if (!t[e].width)
1378
- if (s)
1379
- t[e].text = je(t[e].text, l, h), t[e].textLines = t[e].text.split(Jt.lineBreakRegex).length, t[e].width = l, t[e].height = de(t[e].text, h);
1378
+ if (r)
1379
+ t[e].text = Ye(t[e].text, l, h), t[e].textLines = t[e].text.split(Jt.lineBreakRegex).length, t[e].width = l, t[e].height = ue(t[e].text, h);
1380
1380
  else {
1381
1381
  let a = t[e].text.split(Jt.lineBreakRegex);
1382
1382
  t[e].textLines = a.length;
1383
1383
  let i = 0;
1384
1384
  t[e].height = 0, t[e].width = 0;
1385
- for (const r of a)
1385
+ for (const s of a)
1386
1386
  t[e].width = Math.max(
1387
- Tt(r, h),
1387
+ Tt(s, h),
1388
1388
  t[e].width
1389
- ), i = de(r, h), t[e].height = t[e].height + i;
1389
+ ), i = ue(s, h), t[e].height = t[e].height + i;
1390
1390
  }
1391
1391
  }
1392
1392
  g(Y, "calcC4ShapeTextWH");
1393
- var Se = /* @__PURE__ */ g(function(e, t, s) {
1394
- 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 = m.c4ShapeMargin - 35;
1393
+ var Se = /* @__PURE__ */ g(function(e, t, r) {
1394
+ t.x = r.data.startx, t.y = r.data.starty, t.width = r.data.stopx - r.data.startx, t.height = r.data.stopy - r.data.starty, t.label.y = m.c4ShapeMargin - 35;
1395
1395
  let h = t.wrap && m.wrap, l = Lt(m);
1396
1396
  l.fontSize = l.fontSize + 2, l.fontWeight = "bold";
1397
1397
  let a = Tt(t.label.text, l);
1398
1398
  Y("label", t, h, l, a), Q.drawBoundary(e, t, m);
1399
- }, "drawBoundary"), Ae = /* @__PURE__ */ g(function(e, t, s, h) {
1399
+ }, "drawBoundary"), Ae = /* @__PURE__ */ g(function(e, t, r, h) {
1400
1400
  let l = 0;
1401
1401
  for (const a of h) {
1402
1402
  l = 0;
1403
- const i = s[a];
1404
- let r = vt(m, i.typeC4Shape.text);
1405
- switch (r.fontSize = r.fontSize - 2, i.typeC4Shape.width = Tt(
1403
+ const i = r[a];
1404
+ let s = vt(m, i.typeC4Shape.text);
1405
+ switch (s.fontSize = s.fontSize - 2, i.typeC4Shape.width = Tt(
1406
1406
  "«" + i.typeC4Shape.text + "»",
1407
- r
1408
- ), i.typeC4Shape.height = r.fontSize + 2, i.typeC4Shape.Y = m.c4ShapePadding, l = i.typeC4Shape.Y + i.typeC4Shape.height - 4, i.image = { width: 0, height: 0, Y: 0 }, i.typeC4Shape.text) {
1407
+ s
1408
+ ), i.typeC4Shape.height = s.fontSize + 2, i.typeC4Shape.Y = m.c4ShapePadding, l = i.typeC4Shape.Y + i.typeC4Shape.height - 4, i.image = { width: 0, height: 0, Y: 0 }, i.typeC4Shape.text) {
1409
1409
  case "person":
1410
1410
  case "external_person":
1411
1411
  i.image.width = 48, i.image.height = 48, i.image.Y = l, l = i.image.Y + i.image.height;
@@ -1435,108 +1435,108 @@ var Se = /* @__PURE__ */ g(function(e, t, s) {
1435
1435
  this.x = e, this.y = t;
1436
1436
  }
1437
1437
  }, g(Kt, "Point"), Kt), pe = /* @__PURE__ */ g(function(e, t) {
1438
- let s = e.x, h = e.y, l = t.x, a = t.y, i = s + e.width / 2, r = h + e.height / 2, n = Math.abs(s - l), d = Math.abs(h - a), p = d / n, u = e.height / e.width, f = null;
1439
- return h == a && s < l ? f = new L(s + e.width, r) : h == a && s > l ? f = new L(s, r) : s == l && h < a ? f = new L(i, h + e.height) : s == l && h > a && (f = new L(i, h)), s > l && h < a ? u >= p ? f = new L(s, r + p * e.width / 2) : f = new L(
1438
+ let r = e.x, h = e.y, l = t.x, a = t.y, i = r + e.width / 2, s = h + e.height / 2, n = Math.abs(r - l), d = Math.abs(h - a), p = d / n, u = e.height / e.width, f = null;
1439
+ return h == a && r < l ? f = new L(r + e.width, s) : h == a && r > l ? f = new L(r, s) : r == l && h < a ? f = new L(i, h + e.height) : r == l && h > a && (f = new L(i, h)), r > l && h < a ? u >= p ? f = new L(r, s + p * e.width / 2) : f = new L(
1440
1440
  i - n / d * e.height / 2,
1441
1441
  h + e.height
1442
- ) : s < l && h < a ? u >= p ? f = new L(s + e.width, r + p * e.width / 2) : f = new L(
1442
+ ) : r < l && h < a ? u >= p ? f = new L(r + e.width, s + p * e.width / 2) : f = new L(
1443
1443
  i + n / d * e.height / 2,
1444
1444
  h + e.height
1445
- ) : s < l && h > a ? u >= p ? f = new L(s + e.width, r - p * e.width / 2) : f = new L(i + e.height / 2 * n / d, h) : s > l && h > a && (u >= p ? f = new L(s, r - e.width / 2 * p) : f = new L(i - e.height / 2 * n / d, h)), f;
1445
+ ) : r < l && h > a ? u >= p ? f = new L(r + e.width, s - p * e.width / 2) : f = new L(i + e.height / 2 * n / d, h) : r > l && h > a && (u >= p ? f = new L(r, s - e.width / 2 * p) : f = new L(i - e.height / 2 * n / d, h)), f;
1446
1446
  }, "getIntersectPoint"), T0 = /* @__PURE__ */ g(function(e, t) {
1447
- let s = { x: 0, y: 0 };
1448
- s.x = t.x + t.width / 2, s.y = t.y + t.height / 2;
1449
- let h = pe(e, s);
1450
- s.x = e.x + e.width / 2, s.y = e.y + e.height / 2;
1451
- let l = pe(t, s);
1447
+ let r = { x: 0, y: 0 };
1448
+ r.x = t.x + t.width / 2, r.y = t.y + t.height / 2;
1449
+ let h = pe(e, r);
1450
+ r.x = e.x + e.width / 2, r.y = e.y + e.height / 2;
1451
+ let l = pe(t, r);
1452
1452
  return { startPoint: h, endPoint: l };
1453
- }, "getIntersectPoints"), w0 = /* @__PURE__ */ g(function(e, t, s, h) {
1453
+ }, "getIntersectPoints"), w0 = /* @__PURE__ */ g(function(e, t, r, h) {
1454
1454
  let l = 0;
1455
1455
  for (let a of t) {
1456
1456
  l = l + 1;
1457
- let i = a.wrap && m.wrap, r = k0(m);
1457
+ let i = a.wrap && m.wrap, s = k0(m);
1458
1458
  h.db.getC4Type() === "C4Dynamic" && (a.label.text = l + ": " + a.label.text);
1459
- let n = Tt(a.label.text, r);
1460
- Y("label", a, i, r, n), a.techn && a.techn.text !== "" && (n = Tt(a.techn.text, r), Y("techn", a, i, r, n)), a.descr && a.descr.text !== "" && (n = Tt(a.descr.text, r), Y("descr", a, i, r, n));
1461
- let d = s(a.from), p = s(a.to), u = T0(d, p);
1459
+ let n = Tt(a.label.text, s);
1460
+ Y("label", a, i, s, n), a.techn && a.techn.text !== "" && (n = Tt(a.techn.text, s), Y("techn", a, i, s, n)), a.descr && a.descr.text !== "" && (n = Tt(a.descr.text, s), Y("descr", a, i, s, n));
1461
+ let d = r(a.from), p = r(a.to), u = T0(d, p);
1462
1462
  a.startPoint = u.startPoint, a.endPoint = u.endPoint;
1463
1463
  }
1464
1464
  Q.drawRels(e, t, m);
1465
1465
  }, "drawRels");
1466
- function re(e, t, s, h, l) {
1466
+ function se(e, t, r, h, l) {
1467
1467
  let a = new Ee(l);
1468
- a.data.widthLimit = s.data.widthLimit / Math.min(te, h.length);
1469
- for (let [i, r] of h.entries()) {
1468
+ a.data.widthLimit = r.data.widthLimit / Math.min(te, h.length);
1469
+ for (let [i, s] of h.entries()) {
1470
1470
  let n = 0;
1471
- 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);
1472
- let d = r.wrap && m.wrap, p = Lt(m);
1471
+ s.image = { width: 0, height: 0, Y: 0 }, s.sprite && (s.image.width = 48, s.image.height = 48, s.image.Y = n, n = s.image.Y + s.image.height);
1472
+ let d = s.wrap && m.wrap, p = Lt(m);
1473
1473
  if (p.fontSize = p.fontSize + 2, p.fontWeight = "bold", Y(
1474
1474
  "label",
1475
- r,
1475
+ s,
1476
1476
  d,
1477
1477
  p,
1478
1478
  a.data.widthLimit
1479
- ), r.label.Y = n + 8, n = r.label.Y + r.label.height, r.type && r.type.text !== "") {
1480
- r.type.text = "[" + r.type.text + "]";
1479
+ ), s.label.Y = n + 8, n = s.label.Y + s.label.height, s.type && s.type.text !== "") {
1480
+ s.type.text = "[" + s.type.text + "]";
1481
1481
  let w = Lt(m);
1482
1482
  Y(
1483
1483
  "type",
1484
- r,
1484
+ s,
1485
1485
  d,
1486
1486
  w,
1487
1487
  a.data.widthLimit
1488
- ), r.type.Y = n + 5, n = r.type.Y + r.type.height;
1488
+ ), s.type.Y = n + 5, n = s.type.Y + s.type.height;
1489
1489
  }
1490
- if (r.descr && r.descr.text !== "") {
1490
+ if (s.descr && s.descr.text !== "") {
1491
1491
  let w = Lt(m);
1492
1492
  w.fontSize = w.fontSize - 2, Y(
1493
1493
  "descr",
1494
- r,
1494
+ s,
1495
1495
  d,
1496
1496
  w,
1497
1497
  a.data.widthLimit
1498
- ), r.descr.Y = n + 20, n = r.descr.Y + r.descr.height;
1498
+ ), s.descr.Y = n + 20, n = s.descr.Y + s.descr.height;
1499
1499
  }
1500
1500
  if (i == 0 || i % te === 0) {
1501
- let w = s.data.startx + m.diagramMarginX, v = s.data.stopy + m.diagramMarginY + n;
1501
+ let w = r.data.startx + m.diagramMarginX, v = r.data.stopy + m.diagramMarginY + n;
1502
1502
  a.setData(w, w, v, v);
1503
1503
  } else {
1504
1504
  let w = a.data.stopx !== a.data.startx ? a.data.stopx + m.diagramMarginX : a.data.startx, v = a.data.starty;
1505
1505
  a.setData(w, w, v, v);
1506
1506
  }
1507
- a.name = r.alias;
1508
- let u = l.db.getC4ShapeArray(r.alias), f = l.db.getC4ShapeKeys(r.alias);
1507
+ a.name = s.alias;
1508
+ let u = l.db.getC4ShapeArray(s.alias), f = l.db.getC4ShapeKeys(s.alias);
1509
1509
  f.length > 0 && Ae(
1510
1510
  a,
1511
1511
  e,
1512
1512
  u,
1513
1513
  f
1514
- ), t = r.alias;
1514
+ ), t = s.alias;
1515
1515
  let E = l.db.getBoundarys(t);
1516
- E.length > 0 && re(
1516
+ E.length > 0 && se(
1517
1517
  e,
1518
1518
  t,
1519
1519
  a,
1520
1520
  E,
1521
1521
  l
1522
- ), r.alias !== "global" && Se(e, r, a), s.data.stopy = Math.max(
1522
+ ), s.alias !== "global" && Se(e, s, a), r.data.stopy = Math.max(
1523
1523
  a.data.stopy + m.c4ShapeMargin,
1524
- s.data.stopy
1525
- ), s.data.stopx = Math.max(
1524
+ r.data.stopy
1525
+ ), r.data.stopx = Math.max(
1526
1526
  a.data.stopx + m.c4ShapeMargin,
1527
- s.data.stopx
1528
- ), Ft = Math.max(Ft, s.data.stopx), Xt = Math.max(Xt, s.data.stopy);
1527
+ r.data.stopx
1528
+ ), Ft = Math.max(Ft, r.data.stopx), Xt = Math.max(Xt, r.data.stopy);
1529
1529
  }
1530
1530
  }
1531
- g(re, "drawInsideBoundary");
1532
- var v0 = /* @__PURE__ */ g(function(e, t, s, h) {
1531
+ g(se, "drawInsideBoundary");
1532
+ var v0 = /* @__PURE__ */ g(function(e, t, r, h) {
1533
1533
  m = Rt().c4;
1534
1534
  const l = Rt().securityLevel;
1535
1535
  let a;
1536
1536
  l === "sandbox" && (a = jt("#i" + t));
1537
1537
  const i = l === "sandbox" ? jt(a.nodes()[0].contentDocument.body) : jt("body");
1538
- let r = h.db;
1539
- h.db.setWrap(m.wrap), xe = r.getC4ShapeInRow(), te = r.getC4BoundaryInRow(), ue.debug(`C:${JSON.stringify(m, null, 2)}`);
1538
+ let s = h.db;
1539
+ h.db.setWrap(m.wrap), xe = s.getC4ShapeInRow(), te = s.getC4BoundaryInRow(), de.debug(`C:${JSON.stringify(m, null, 2)}`);
1540
1540
  const n = l === "sandbox" ? i.select(`[id="${t}"]`) : jt(`[id="${t}"]`);
1541
1541
  Q.insertComputerIcon(n), Q.insertDatabaseIcon(n), Q.insertClockIcon(n);
1542
1542
  let d = new Ee(h);
@@ -1548,16 +1548,16 @@ var v0 = /* @__PURE__ */ g(function(e, t, s, h) {
1548
1548
  ), d.data.widthLimit = screen.availWidth, Ft = m.diagramMarginX, Xt = m.diagramMarginY;
1549
1549
  const p = h.db.getTitle();
1550
1550
  let u = h.db.getBoundarys("");
1551
- re(n, "", d, u, h), Q.insertArrowHead(n), Q.insertArrowEnd(n), Q.insertArrowCrossHead(n), Q.insertArrowFilledHead(n), w0(n, h.db.getRels(), h.db.getC4Shape, h), d.data.stopx = Ft, d.data.stopy = Xt;
1551
+ se(n, "", d, u, h), Q.insertArrowHead(n), Q.insertArrowEnd(n), Q.insertArrowCrossHead(n), Q.insertArrowFilledHead(n), w0(n, h.db.getRels(), h.db.getC4Shape, h), d.data.stopx = Ft, d.data.stopy = Xt;
1552
1552
  const f = d.data;
1553
1553
  let E = f.stopy - f.starty + 2 * m.diagramMarginY;
1554
1554
  const w = f.stopx - f.startx + 2 * m.diagramMarginX;
1555
- p && n.append("text").text(p).attr("x", (f.stopx - f.startx) / 2 - 4 * m.diagramMarginX).attr("y", f.starty + m.diagramMarginY), Le(n, E, w, m.useMaxWidth);
1555
+ p && n.append("text").text(p).attr("x", (f.stopx - f.startx) / 2 - 4 * m.diagramMarginX).attr("y", f.starty + m.diagramMarginY), Me(n, E, w, m.useMaxWidth);
1556
1556
  const v = p ? 60 : 0;
1557
1557
  n.attr(
1558
1558
  "viewBox",
1559
1559
  f.startx - m.diagramMarginX + " -" + (m.diagramMarginY + v) + " " + w + " " + (E + v)
1560
- ), ue.debug("models:", f);
1560
+ ), de.debug("models:", f);
1561
1561
  }, "draw"), ye = {
1562
1562
  drawPersonOrSystemArray: Ae,
1563
1563
  drawBoundary: Se,