@countermeasure-platform/web-components 1.2.1 → 1.2.2-dev.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (313) hide show
  1. package/dist/{arc-jVbrWVYZ.js → arc-DOJ9myHo.js} +21 -21
  2. package/dist/{arc-jVbrWVYZ.js.map → arc-DOJ9myHo.js.map} +1 -1
  3. package/dist/architecture-7EHR7CIX-RjIwnEbG.js +3 -0
  4. package/dist/{architectureDiagram-2XIMDMQ5-D5q0ma9h.js → architectureDiagram-3BPJPVTR-cYFnhp15.js} +165 -152
  5. package/dist/{architectureDiagram-2XIMDMQ5-D5q0ma9h.js.map → architectureDiagram-3BPJPVTR-cYFnhp15.js.map} +1 -1
  6. package/dist/{array-DXadUs1s.js → array-BLp0zq5K.js} +1 -1
  7. package/dist/{array-DXadUs1s.js.map → array-BLp0zq5K.js.map} +1 -1
  8. package/dist/{blockDiagram-WCTKOSBZ-BH3jwWeU.js → blockDiagram-GPEHLZMM-DNLPMFXL.js} +994 -864
  9. package/dist/blockDiagram-GPEHLZMM-DNLPMFXL.js.map +1 -0
  10. package/dist/{c4Diagram-IC4MRINW-OFLrunYI.js → c4Diagram-AAUBKEIU-G8g3OBBg.js} +232 -235
  11. package/dist/c4Diagram-AAUBKEIU-G8g3OBBg.js.map +1 -0
  12. package/dist/channel-MTYqUJFm.js +7 -0
  13. package/dist/{channel-LRbq43st.js.map → channel-MTYqUJFm.js.map} +1 -1
  14. package/dist/{chunk-KX2RTZJC-d9jFqUAY.js → chunk-2J33WTMH-BKsVIUnb.js} +4 -4
  15. package/dist/{chunk-KX2RTZJC-d9jFqUAY.js.map → chunk-2J33WTMH-BKsVIUnb.js.map} +1 -1
  16. package/dist/chunk-3OPIFGDE-CcNRL44h.js +3669 -0
  17. package/dist/chunk-3OPIFGDE-CcNRL44h.js.map +1 -0
  18. package/dist/{chunk-4BX2VUAB-BS9gpN-y.js → chunk-4BX2VUAB-BeLKo9Pn.js} +2 -2
  19. package/dist/{chunk-4BX2VUAB-BS9gpN-y.js.map → chunk-4BX2VUAB-BeLKo9Pn.js.map} +1 -1
  20. package/dist/{chunk-R5LLSJPH-c1IfaK5D.js → chunk-4EGX6M5U-Bh9as06l.js} +13 -13
  21. package/dist/chunk-4EGX6M5U-Bh9as06l.js.map +1 -0
  22. package/dist/{chunk-55IACEB6-DZ-UBhHX.js → chunk-55IACEB6-CuKbiO89.js} +3 -3
  23. package/dist/{chunk-55IACEB6-DZ-UBhHX.js.map → chunk-55IACEB6-CuKbiO89.js.map} +1 -1
  24. package/dist/chunk-5DO6E6H7-CAB8pWf5.js +25 -0
  25. package/dist/chunk-5DO6E6H7-CAB8pWf5.js.map +1 -0
  26. package/dist/{chunk-GEFDOKGD-DGJJEGSm.js → chunk-5ZQYHXKU-CjOcwRY6.js} +570 -326
  27. package/dist/chunk-5ZQYHXKU-CjOcwRY6.js.map +1 -0
  28. package/dist/{chunk-WL4C6EOR-BV-op7zg.js → chunk-727SXJPM-kowsFLrz.js} +724 -569
  29. package/dist/chunk-727SXJPM-kowsFLrz.js.map +1 -0
  30. package/dist/{chunk-NQ4KR5QH-C0nWShNk.js → chunk-AQP2D5EJ-Bc1gUIeA.js} +384 -362
  31. package/dist/chunk-AQP2D5EJ-Bc1gUIeA.js.map +1 -0
  32. package/dist/{chunk-OZEHJAEY-BsQ56PV-.js → chunk-BR22UD5L-BCFxmd5-.js} +16 -16
  33. package/dist/chunk-BR22UD5L-BCFxmd5-.js.map +1 -0
  34. package/dist/{chunk-MX3YWQON-D43mcq1f.js → chunk-BSJP7CBP-Bl94i3-1.js} +7 -5
  35. package/dist/chunk-BSJP7CBP-Bl94i3-1.js.map +1 -0
  36. package/dist/chunk-CSCIHK7Q-DyRIc27i.js +2868 -0
  37. package/dist/chunk-CSCIHK7Q-DyRIc27i.js.map +1 -0
  38. package/dist/chunk-FHYWG6QK-kLWdRarG.js +25 -0
  39. package/dist/chunk-FHYWG6QK-kLWdRarG.js.map +1 -0
  40. package/dist/{chunk-FMBD7UC4-1IxrpdPX.js → chunk-FMBD7UC4-IdpWVRCU.js} +2 -2
  41. package/dist/{chunk-FMBD7UC4-1IxrpdPX.js.map → chunk-FMBD7UC4-IdpWVRCU.js.map} +1 -1
  42. package/dist/chunk-KSCS5N6A-CVcDS9QV.js +563 -0
  43. package/dist/chunk-KSCS5N6A-CVcDS9QV.js.map +1 -0
  44. package/dist/{chunk-YBOYWFTD-DkjEOcgZ.js → chunk-L5ZTLDWV-Day0EgsR.js} +9 -9
  45. package/dist/{chunk-YBOYWFTD-DkjEOcgZ.js.map → chunk-L5ZTLDWV-Day0EgsR.js.map} +1 -1
  46. package/dist/chunk-LZXEDZCA-BO_GpQSR.js +51 -0
  47. package/dist/chunk-LZXEDZCA-BO_GpQSR.js.map +1 -0
  48. package/dist/chunk-MPE355IW-BkN6MrMO.js +25 -0
  49. package/dist/chunk-MPE355IW-BkN6MrMO.js.map +1 -0
  50. package/dist/chunk-MZUSXYTE-94iWO-dh.js +32 -0
  51. package/dist/chunk-MZUSXYTE-94iWO-dh.js.map +1 -0
  52. package/dist/chunk-N66VUXT2-QbIUkiJZ.js +56 -0
  53. package/dist/chunk-N66VUXT2-QbIUkiJZ.js.map +1 -0
  54. package/dist/{chunk-JSJVCQXG-Do17yYig.js → chunk-ND2GUHAM-Boh7GenS.js} +6 -6
  55. package/dist/{chunk-JSJVCQXG-Do17yYig.js.map → chunk-ND2GUHAM-Boh7GenS.js.map} +1 -1
  56. package/dist/chunk-NNHCCRGN-CNU0zvRn.js +20603 -0
  57. package/dist/chunk-NNHCCRGN-CNU0zvRn.js.map +1 -0
  58. package/dist/{chunk-PQ6SQG4A-Cpfc5F4u.js → chunk-NZK2D7GU-D4Ird7wv.js} +4 -4
  59. package/dist/{chunk-PQ6SQG4A-Cpfc5F4u.js.map → chunk-NZK2D7GU-D4Ird7wv.js.map} +1 -1
  60. package/dist/{chunk-PU5JKC2W-DNpn_Yik.js → chunk-O5CBEL6O-DThtyjPO.js} +85 -74
  61. package/dist/{chunk-PU5JKC2W-DNpn_Yik.js.map → chunk-O5CBEL6O-DThtyjPO.js.map} +1 -1
  62. package/dist/chunk-PUPMXCY4-DsO2K8st.js +25 -0
  63. package/dist/chunk-PUPMXCY4-DsO2K8st.js.map +1 -0
  64. package/dist/{chunk-QZHKN3VN-kDNdTVLo.js → chunk-QZHKN3VN-DC5aJQQT.js} +2 -2
  65. package/dist/{chunk-QZHKN3VN-kDNdTVLo.js.map → chunk-QZHKN3VN-DC5aJQQT.js.map} +1 -1
  66. package/dist/chunk-UIBZB4QT-Cu3IcTk1.js +25 -0
  67. package/dist/chunk-UIBZB4QT-Cu3IcTk1.js.map +1 -0
  68. package/dist/chunk-WCWK7LTN-DpMt57Ty.js +33 -0
  69. package/dist/chunk-WCWK7LTN-DpMt57Ty.js.map +1 -0
  70. package/dist/chunk-WU5MYG2G-mzocEmS2.js +12 -0
  71. package/dist/{chunk-HHEYEP7N-DJ1b-gA8.js.map → chunk-WU5MYG2G-mzocEmS2.js.map} +1 -1
  72. package/dist/{chunk-XPW4576I-BqiPnb3d.js → chunk-XPW4576I-BwxN5U1_.js} +2 -2
  73. package/dist/{chunk-XPW4576I-BqiPnb3d.js.map → chunk-XPW4576I-BwxN5U1_.js.map} +1 -1
  74. package/dist/classDiagram-4FO5ZUOK-CZv04EX-.js +31 -0
  75. package/dist/{classDiagram-VBA2DB6C-DZfC0xPM.js.map → classDiagram-4FO5ZUOK-CZv04EX-.js.map} +1 -1
  76. package/dist/classDiagram-v2-Q7XG4LA2-aOPSPoxt.js +31 -0
  77. package/dist/{classDiagram-v2-RAHNMMFH-CtWRD1ax.js.map → classDiagram-v2-Q7XG4LA2-aOPSPoxt.js.map} +1 -1
  78. package/dist/component-CBXhVCNE.js +163 -0
  79. package/dist/component-CBXhVCNE.js.map +1 -0
  80. package/dist/components/brand/index.d.ts +8 -2
  81. package/dist/components/brand/index.d.ts.map +1 -1
  82. package/dist/components/brand/index.js +58 -31
  83. package/dist/components/brand/index.js.map +1 -1
  84. package/dist/components/brand/types.d.ts +8 -0
  85. package/dist/components/brand/types.d.ts.map +1 -1
  86. package/dist/{cose-bilkent-S5V4N54A-DxM02fly.js → cose-bilkent-S5V4N54A-D_hwzCJc.js} +7 -8
  87. package/dist/{cose-bilkent-S5V4N54A-DxM02fly.js.map → cose-bilkent-S5V4N54A-D_hwzCJc.js.map} +1 -1
  88. package/dist/{cytoscape.esm-2vKMh7AJ.js → cytoscape.esm-C85eXBIz.js} +1 -1
  89. package/dist/{cytoscape.esm-2vKMh7AJ.js.map → cytoscape.esm-C85eXBIz.js.map} +1 -1
  90. package/dist/dagre-BM42HDAG-DBqY2dVf.js +299 -0
  91. package/dist/dagre-BM42HDAG-DBqY2dVf.js.map +1 -0
  92. package/dist/dagre-IxFkiJHF.js +1938 -0
  93. package/dist/dagre-IxFkiJHF.js.map +1 -0
  94. package/dist/{defaultLocale-PLHpRrsr.js → defaultLocale-DSDxELFN.js} +1 -1
  95. package/dist/{defaultLocale-PLHpRrsr.js.map → defaultLocale-DSDxELFN.js.map} +1 -1
  96. package/dist/{diagram-IFDJBPK2-D-Enf1mK.js → diagram-2AECGRRQ-BwC5Qbme.js} +39 -39
  97. package/dist/{diagram-IFDJBPK2-D-Enf1mK.js.map → diagram-2AECGRRQ-BwC5Qbme.js.map} +1 -1
  98. package/dist/diagram-5GNKFQAL-BpJ9oZ4s.js +103 -0
  99. package/dist/diagram-5GNKFQAL-BpJ9oZ4s.js.map +1 -0
  100. package/dist/diagram-KO2AKTUF-kSLn21uw.js +434 -0
  101. package/dist/diagram-KO2AKTUF-kSLn21uw.js.map +1 -0
  102. package/dist/{diagram-P4PSJMXO-O8g_RIkM.js → diagram-LMA3HP47-BRqyGMLP.js} +43 -43
  103. package/dist/{diagram-P4PSJMXO-O8g_RIkM.js.map → diagram-LMA3HP47-BRqyGMLP.js.map} +1 -1
  104. package/dist/{diagram-E7M64L7V-Co7O3gub.js → diagram-OG6HWLK6-BsskLXHm.js} +171 -174
  105. package/dist/diagram-OG6HWLK6-BsskLXHm.js.map +1 -0
  106. package/dist/{dist-BrNloUiz.js → dist-BScrlPBC.js} +32 -23
  107. package/dist/dist-BScrlPBC.js.map +1 -0
  108. package/dist/{erDiagram-INFDFZHY-C42JeR9I.js → erDiagram-TEJ5UH35-DzB7hnCi.js} +198 -164
  109. package/dist/erDiagram-TEJ5UH35-DzB7hnCi.js.map +1 -0
  110. package/dist/eventmodeling-FCH6USID-HcA67HMu.js +3 -0
  111. package/dist/{flowDiagram-PKNHOUZH-DInJjOz3.js → flowDiagram-I6XJVG4X-RYkPtPRG.js} +453 -469
  112. package/dist/flowDiagram-I6XJVG4X-RYkPtPRG.js.map +1 -0
  113. package/dist/{ganttDiagram-A5KZAMGK-Dgp-4Yss.js → ganttDiagram-6RSMTGT7-BfjlFVNd.js} +340 -333
  114. package/dist/ganttDiagram-6RSMTGT7-BfjlFVNd.js.map +1 -0
  115. package/dist/gitGraph-WXDBUCRP-D60yP8mT.js +3 -0
  116. package/dist/gitGraphDiagram-PVQCEYII-DbUp_ElG.js +731 -0
  117. package/dist/gitGraphDiagram-PVQCEYII-DbUp_ElG.js.map +1 -0
  118. package/dist/graphlib-k-wJtbbK.js +1268 -0
  119. package/dist/graphlib-k-wJtbbK.js.map +1 -0
  120. package/dist/icons/lucide.d.ts +1 -2
  121. package/dist/icons/lucide.d.ts.map +1 -1
  122. package/dist/icons/lucide.js.map +1 -1
  123. package/dist/info-J43DQDTF-DDmtkMBG.js +3 -0
  124. package/dist/{infoDiagram-LFFYTUFH-DajJJRvc.js → infoDiagram-5YYISTIA-C0TqWTrr.js} +7 -7
  125. package/dist/{infoDiagram-LFFYTUFH-DajJJRvc.js.map → infoDiagram-5YYISTIA-C0TqWTrr.js.map} +1 -1
  126. package/dist/{init-DcLTaNW1.js → init-CGzIZb6J.js} +1 -1
  127. package/dist/{init-DcLTaNW1.js.map → init-CGzIZb6J.js.map} +1 -1
  128. package/dist/{ishikawaDiagram-PHBUUO56-qHBJm2LT.js → ishikawaDiagram-YF4QCWOH-Cyk_Antz.js} +98 -97
  129. package/dist/ishikawaDiagram-YF4QCWOH-Cyk_Antz.js.map +1 -0
  130. package/dist/{journeyDiagram-4ABVD52K-PgfYdoDM.js → journeyDiagram-JHISSGLW-CTl8eDDe.js} +78 -78
  131. package/dist/journeyDiagram-JHISSGLW-CTl8eDDe.js.map +1 -0
  132. package/dist/{kanban-definition-K7BYSVSG-DFRT8j7A.js → kanban-definition-UN3LZRKU-homeDoHF.js} +46 -44
  133. package/dist/{kanban-definition-K7BYSVSG-DFRT8j7A.js.map → kanban-definition-UN3LZRKU-homeDoHF.js.map} +1 -1
  134. package/dist/{katex-BZdHnXin.js → katex-CgkxVokH.js} +1 -1
  135. package/dist/{katex-BZdHnXin.js.map → katex-CgkxVokH.js.map} +1 -1
  136. package/dist/line-k_aZSToM.js +36 -0
  137. package/dist/{line-Cq1AZT4f.js.map → line-k_aZSToM.js.map} +1 -1
  138. package/dist/{linear-BnJD01Xn.js → linear-Dpcbf4VP.js} +5 -5
  139. package/dist/{linear-BnJD01Xn.js.map → linear-Dpcbf4VP.js.map} +1 -1
  140. package/dist/{mermaid-parser.core-Dz5qv4CI.js → mermaid-parser.core-B_q76LYz.js} +32 -17
  141. package/dist/mermaid-parser.core-B_q76LYz.js.map +1 -0
  142. package/dist/mermaid.core-DAh-gNcn.js +997 -0
  143. package/dist/mermaid.core-DAh-gNcn.js.map +1 -0
  144. package/dist/{mindmap-definition-YRQLILUH-D95OPRMh.js → mindmap-definition-RKZ34NQL-Cjglmmr7.js} +153 -108
  145. package/dist/mindmap-definition-RKZ34NQL-Cjglmmr7.js.map +1 -0
  146. package/dist/{ordinal-CC9tfh_g.js → ordinal-DHGdAr1Y.js} +2 -2
  147. package/dist/{ordinal-CC9tfh_g.js.map → ordinal-DHGdAr1Y.js.map} +1 -1
  148. package/dist/packet-YPE3B663-Bo9N32Mb.js +3 -0
  149. package/dist/{path-y0uQCOMW.js → path-D-DDb3Wo.js} +1 -1
  150. package/dist/{path-y0uQCOMW.js.map → path-D-DDb3Wo.js.map} +1 -1
  151. package/dist/pie-LRSECV5Y-DndCyILX.js +3 -0
  152. package/dist/pieDiagram-4H26LBE5-Swbny_uk.js +167 -0
  153. package/dist/pieDiagram-4H26LBE5-Swbny_uk.js.map +1 -0
  154. package/dist/{quadrantDiagram-337W2JSQ-CcKc-h2o.js → quadrantDiagram-W4KKPZXB-kyt1iJkC.js} +359 -332
  155. package/dist/quadrantDiagram-W4KKPZXB-kyt1iJkC.js.map +1 -0
  156. package/dist/radar-GUYGQ44K-DpLG1fRN.js +3 -0
  157. package/dist/react/brand/index.d.ts +13 -1
  158. package/dist/react/brand/index.d.ts.map +1 -1
  159. package/dist/react/brand.js +28 -3
  160. package/dist/react/brand.js.map +1 -1
  161. package/dist/react/sidebar.d.ts +22 -1
  162. package/dist/react/sidebar.d.ts.map +1 -1
  163. package/dist/react/sidebar.js +26 -2
  164. package/dist/react/sidebar.js.map +1 -1
  165. package/dist/react/topology.js +1 -1
  166. package/dist/react.js +100 -100
  167. package/dist/{requirementDiagram-Z7DCOOCP-aPcaPduF.js → requirementDiagram-4Y6WPE33-DWRks7dz.js} +153 -133
  168. package/dist/requirementDiagram-4Y6WPE33-DWRks7dz.js.map +1 -0
  169. package/dist/{rough.esm-C9rQ9YkE.js → rough.esm-C7tiDdBn.js} +1 -1
  170. package/dist/{rough.esm-C9rQ9YkE.js.map → rough.esm-C7tiDdBn.js.map} +1 -1
  171. package/dist/{sankeyDiagram-WA2Y5GQK-CO_lUqQX.js → sankeyDiagram-5OEKKPKP-J_SVMd-0.js} +125 -76
  172. package/dist/{sankeyDiagram-WA2Y5GQK-CO_lUqQX.js.map → sankeyDiagram-5OEKKPKP-J_SVMd-0.js.map} +1 -1
  173. package/dist/sequenceDiagram-3UESZ5HK-BMhjbe8U.js +4167 -0
  174. package/dist/sequenceDiagram-3UESZ5HK-BMhjbe8U.js.map +1 -0
  175. package/dist/sidebar/component.d.ts +5 -0
  176. package/dist/sidebar/component.d.ts.map +1 -1
  177. package/dist/sidebar/index.d.ts +1 -1
  178. package/dist/sidebar/index.d.ts.map +1 -1
  179. package/dist/sidebar/index.js +1 -1
  180. package/dist/sidebar/index.js.map +1 -1
  181. package/dist/sidebar/types.d.ts +59 -0
  182. package/dist/sidebar/types.d.ts.map +1 -1
  183. package/dist/{src-D1EMXotX.js → src-CWnvxuyh.js} +603 -591
  184. package/dist/{src-D1EMXotX.js.map → src-CWnvxuyh.js.map} +1 -1
  185. package/dist/{src-BhNgmpel.js → src-DngnQkx_.js} +4 -5
  186. package/dist/{src-BhNgmpel.js.map → src-DngnQkx_.js.map} +1 -1
  187. package/dist/stateDiagram-AJRCARHV-x4JHehDk.js +220 -0
  188. package/dist/stateDiagram-AJRCARHV-x4JHehDk.js.map +1 -0
  189. package/dist/stateDiagram-v2-BHNVJYJU-CO93vpHl.js +29 -0
  190. package/dist/{stateDiagram-v2-FVOUBMTO-CAWy0Pkh.js.map → stateDiagram-v2-BHNVJYJU-CO93vpHl.js.map} +1 -1
  191. package/dist/styles/components/brand.css +30 -0
  192. package/dist/styles/sidebar.css +568 -0
  193. package/dist/styles/tenant-ui.css +3 -4
  194. package/dist/styles/threat-library.css +0 -1
  195. package/dist/styles/tokens.css +0 -1
  196. package/dist/{timeline-definition-YZTLITO2-CjxxCuOg.js → timeline-definition-PNZ67QCA-rsiMN1-p.js} +517 -279
  197. package/dist/timeline-definition-PNZ67QCA-rsiMN1-p.js.map +1 -0
  198. package/dist/{topology-C8cyIHlB.js → topology-B9Lv-y1-.js} +181 -182
  199. package/dist/{topology-C8cyIHlB.js.map → topology-B9Lv-y1-.js.map} +1 -1
  200. package/dist/treeView-BLDUP644-mJdM3Q6x.js +3 -0
  201. package/dist/treemap-LRROVOQU-BbNMhR6z.js +3 -0
  202. package/dist/{value-gSPnIECy.js → value-CnwEagIg.js} +2 -2
  203. package/dist/{value-gSPnIECy.js.map → value-CnwEagIg.js.map} +1 -1
  204. package/dist/{vennDiagram-LZ73GAT5-FqpGoq2s.js → vennDiagram-CIIHVFJN-JUCgWboO.js} +98 -98
  205. package/dist/{vennDiagram-LZ73GAT5-FqpGoq2s.js.map → vennDiagram-CIIHVFJN-JUCgWboO.js.map} +1 -1
  206. package/dist/visualization/mermaid-diagram/index.js +1 -1
  207. package/dist/wardley-L42UT6IY-DB53GwcN.js +3 -0
  208. package/dist/wardleyDiagram-YWT4CUSO-D9ZPcSHL.js +646 -0
  209. package/dist/wardleyDiagram-YWT4CUSO-D9ZPcSHL.js.map +1 -0
  210. package/dist/{xychartDiagram-JWTSCODW-BNEAK79X.js → xychartDiagram-2RQKCTM6-D3ufsY0S.js} +146 -143
  211. package/dist/{xychartDiagram-JWTSCODW-BNEAK79X.js.map → xychartDiagram-2RQKCTM6-D3ufsY0S.js.map} +1 -1
  212. package/package.json +1 -1
  213. package/src/components/brand/index.ts +63 -0
  214. package/src/components/brand/types.ts +9 -0
  215. package/src/components/theme/theme-studio-review.test.ts +34 -0
  216. package/src/icons/lucide.ts +1 -2
  217. package/src/react/brand/index.test.tsx +28 -0
  218. package/src/react/brand/index.tsx +38 -0
  219. package/src/react/sidebar.test.tsx +30 -0
  220. package/src/react/sidebar.tsx +52 -1
  221. package/src/sidebar/component.test.ts +109 -0
  222. package/src/sidebar/component.ts +231 -42
  223. package/src/sidebar/index.ts +1 -0
  224. package/src/sidebar/types.ts +60 -0
  225. package/src/styles/components/brand.css +30 -0
  226. package/src/styles/sidebar.css +568 -0
  227. package/src/styles/tenant-ui.css +3 -4
  228. package/src/styles/threat-library.css +0 -1
  229. package/src/styles/tokens.css +0 -1
  230. package/dist/_basePickBy-BQMPE4-n.js +0 -168
  231. package/dist/_basePickBy-BQMPE4-n.js.map +0 -1
  232. package/dist/_baseUniq-Bdp_vFUv.js +0 -684
  233. package/dist/_baseUniq-Bdp_vFUv.js.map +0 -1
  234. package/dist/architecture-PBZL5I3N-Zk3GmKE8.js +0 -3
  235. package/dist/blockDiagram-WCTKOSBZ-BH3jwWeU.js.map +0 -1
  236. package/dist/c4Diagram-IC4MRINW-OFLrunYI.js.map +0 -1
  237. package/dist/channel-LRbq43st.js +0 -7
  238. package/dist/chunk-7E7YKBS2-BsywoVTt.js +0 -25
  239. package/dist/chunk-7E7YKBS2-BsywoVTt.js.map +0 -1
  240. package/dist/chunk-7R4GIKGN-DJmroLCH.js +0 -2054
  241. package/dist/chunk-7R4GIKGN-DJmroLCH.js.map +0 -1
  242. package/dist/chunk-C72U2L5F-BwPwVDcP.js +0 -25
  243. package/dist/chunk-C72U2L5F-BwPwVDcP.js.map +0 -1
  244. package/dist/chunk-EGIJ26TM-DKd5cEgn.js +0 -25
  245. package/dist/chunk-EGIJ26TM-DKd5cEgn.js.map +0 -1
  246. package/dist/chunk-GEFDOKGD-DGJJEGSm.js.map +0 -1
  247. package/dist/chunk-GLR3WWYH-BDwmgwCA.js +0 -43
  248. package/dist/chunk-GLR3WWYH-BDwmgwCA.js.map +0 -1
  249. package/dist/chunk-HHEYEP7N-DJ1b-gA8.js +0 -12
  250. package/dist/chunk-KYZI473N-BXYCe83A.js +0 -3437
  251. package/dist/chunk-KYZI473N-BXYCe83A.js.map +0 -1
  252. package/dist/chunk-L3YUKLVL-Y5k8UNMf.js +0 -25
  253. package/dist/chunk-L3YUKLVL-Y5k8UNMf.js.map +0 -1
  254. package/dist/chunk-MX3YWQON-D43mcq1f.js.map +0 -1
  255. package/dist/chunk-NBPlniwU.js +0 -23
  256. package/dist/chunk-NQ4KR5QH-C0nWShNk.js.map +0 -1
  257. package/dist/chunk-O4XLMI2P-DtGEm9QX.js +0 -514
  258. package/dist/chunk-O4XLMI2P-DtGEm9QX.js.map +0 -1
  259. package/dist/chunk-OZEHJAEY-BsQ56PV-.js.map +0 -1
  260. package/dist/chunk-R5LLSJPH-c1IfaK5D.js.map +0 -1
  261. package/dist/chunk-WL4C6EOR-BV-op7zg.js.map +0 -1
  262. package/dist/chunk-XIRO2GV7-Bv1hlNLi.js +0 -32
  263. package/dist/chunk-XIRO2GV7-Bv1hlNLi.js.map +0 -1
  264. package/dist/chunk-XZSTWKYB-C7maKWEr.js +0 -15799
  265. package/dist/chunk-XZSTWKYB-C7maKWEr.js.map +0 -1
  266. package/dist/classDiagram-VBA2DB6C-DZfC0xPM.js +0 -31
  267. package/dist/classDiagram-v2-RAHNMMFH-CtWRD1ax.js +0 -31
  268. package/dist/clone-CliVdNc8.js +0 -10
  269. package/dist/clone-CliVdNc8.js.map +0 -1
  270. package/dist/component-C1Jiz1Ki.js +0 -103
  271. package/dist/component-C1Jiz1Ki.js.map +0 -1
  272. package/dist/dagre-BqC9mhMk.js +0 -1485
  273. package/dist/dagre-BqC9mhMk.js.map +0 -1
  274. package/dist/dagre-KLK3FWXG-DTKcsol6.js +0 -296
  275. package/dist/dagre-KLK3FWXG-DTKcsol6.js.map +0 -1
  276. package/dist/diagram-E7M64L7V-Co7O3gub.js.map +0 -1
  277. package/dist/dist-BrNloUiz.js.map +0 -1
  278. package/dist/erDiagram-INFDFZHY-C42JeR9I.js.map +0 -1
  279. package/dist/flowDiagram-PKNHOUZH-DInJjOz3.js.map +0 -1
  280. package/dist/ganttDiagram-A5KZAMGK-Dgp-4Yss.js.map +0 -1
  281. package/dist/gitGraph-HDMCJU4V-D_QsK6Rt.js +0 -3
  282. package/dist/gitGraphDiagram-K3NZZRJ6-Dr_X0dND.js +0 -628
  283. package/dist/gitGraphDiagram-K3NZZRJ6-Dr_X0dND.js.map +0 -1
  284. package/dist/graphlib-ecencZTG.js +0 -227
  285. package/dist/graphlib-ecencZTG.js.map +0 -1
  286. package/dist/info-3K5VOQVL-BbLiZXwn.js +0 -3
  287. package/dist/isArrayLikeObject-Bjsxaqj7.js +0 -580
  288. package/dist/isArrayLikeObject-Bjsxaqj7.js.map +0 -1
  289. package/dist/isEmpty-CeZZUVts.js +0 -37
  290. package/dist/isEmpty-CeZZUVts.js.map +0 -1
  291. package/dist/ishikawaDiagram-PHBUUO56-qHBJm2LT.js.map +0 -1
  292. package/dist/journeyDiagram-4ABVD52K-PgfYdoDM.js.map +0 -1
  293. package/dist/line-Cq1AZT4f.js +0 -36
  294. package/dist/math-D4gdAuwG.js +0 -12
  295. package/dist/math-D4gdAuwG.js.map +0 -1
  296. package/dist/mermaid-parser.core-Dz5qv4CI.js.map +0 -1
  297. package/dist/mermaid.core-DTiIXVKa.js +0 -923
  298. package/dist/mermaid.core-DTiIXVKa.js.map +0 -1
  299. package/dist/mindmap-definition-YRQLILUH-D95OPRMh.js.map +0 -1
  300. package/dist/packet-RMMSAZCW-D72DRs1N.js +0 -3
  301. package/dist/pie-UPGHQEXC-C8RDLrEi.js +0 -3
  302. package/dist/pieDiagram-SKSYHLDU-BREEn_Sk.js +0 -167
  303. package/dist/pieDiagram-SKSYHLDU-BREEn_Sk.js.map +0 -1
  304. package/dist/quadrantDiagram-337W2JSQ-CcKc-h2o.js.map +0 -1
  305. package/dist/radar-KQ55EAFF-DhmvjiyN.js +0 -3
  306. package/dist/requirementDiagram-Z7DCOOCP-aPcaPduF.js.map +0 -1
  307. package/dist/sequenceDiagram-2WXFIKYE-D7Vh1Zld.js +0 -4112
  308. package/dist/sequenceDiagram-2WXFIKYE-D7Vh1Zld.js.map +0 -1
  309. package/dist/stateDiagram-RAJIS63D-DdiY5cf3.js +0 -220
  310. package/dist/stateDiagram-RAJIS63D-DdiY5cf3.js.map +0 -1
  311. package/dist/stateDiagram-v2-FVOUBMTO-CAWy0Pkh.js +0 -29
  312. package/dist/timeline-definition-YZTLITO2-CjxxCuOg.js.map +0 -1
  313. package/dist/treemap-KZPCXAKY-BvLvHb2t.js +0 -3
@@ -1,15 +1,15 @@
1
- import { w as e } from "./src-D1EMXotX.js";
2
- import { g as t, n, t as r } from "./chunk-GEFDOKGD-DGJJEGSm.js";
3
- import { n as i, r as a } from "./src-BhNgmpel.js";
4
- 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-DJmroLCH.js";
5
- import { t as g } from "./dist-BrNloUiz.js";
6
- import { a as _, s as v } from "./chunk-JSJVCQXG-Do17yYig.js";
7
- //#region node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-IC4MRINW.mjs
8
- var y = g(), b = (function() {
9
- var e = /* @__PURE__ */ i(function(e, t, n, r) {
1
+ import { w as e } from "./src-CWnvxuyh.js";
2
+ import { n as t, r as n } from "./src-DngnQkx_.js";
3
+ import { H as r, U as i, c as a, r as o, s, v as l, x as u, y as d, z as f } from "./chunk-CSCIHK7Q-DyRIc27i.js";
4
+ import { t as p } from "./dist-BScrlPBC.js";
5
+ import { _ as m, n as h, r as g } from "./chunk-5ZQYHXKU-CjOcwRY6.js";
6
+ import { a as _, s as v } from "./chunk-ND2GUHAM-Boh7GenS.js";
7
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-AAUBKEIU.mjs
8
+ var y = p(), b = (function() {
9
+ var e = /* @__PURE__ */ t(function(e, t, n, r) {
10
10
  for (n ||= {}, r = e.length; r--; n[e[r]] = t);
11
11
  return n;
12
- }, "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 = [
12
+ }, "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 = [
13
13
  14,
14
14
  34,
15
15
  36,
@@ -150,7 +150,7 @@ var y = g(), b = (function() {
150
150
  73,
151
151
  74
152
152
  ], J = {
153
- trace: /* @__PURE__ */ i(function() {}, "trace"),
153
+ trace: /* @__PURE__ */ t(function() {}, "trace"),
154
154
  yy: {},
155
155
  symbols_: {
156
156
  error: 2,
@@ -380,7 +380,7 @@ var y = g(), b = (function() {
380
380
  [75, 1],
381
381
  [75, 1]
382
382
  ],
383
- performAction: /* @__PURE__ */ i(function(e, t, n, r, i, a, o) {
383
+ performAction: /* @__PURE__ */ t(function(e, t, n, r, i, a, o) {
384
384
  var s = a.length - 1;
385
385
  switch (i) {
386
386
  case 3:
@@ -585,9 +585,9 @@ var y = g(), b = (function() {
585
585
  19: 20,
586
586
  20: 21,
587
587
  21: 22,
588
- 22: t,
589
- 23: n,
590
- 24: r,
588
+ 22: n,
589
+ 23: r,
590
+ 24: i,
591
591
  26: a,
592
592
  28: o,
593
593
  29: 49,
@@ -638,9 +638,9 @@ var y = g(), b = (function() {
638
638
  19: 20,
639
639
  20: 21,
640
640
  21: 22,
641
- 22: t,
642
- 23: n,
643
- 24: r,
641
+ 22: n,
642
+ 23: r,
643
+ 24: i,
644
644
  26: a,
645
645
  28: o,
646
646
  29: 49,
@@ -691,9 +691,9 @@ var y = g(), b = (function() {
691
691
  19: 20,
692
692
  20: 21,
693
693
  21: 22,
694
- 22: t,
695
- 23: n,
696
- 24: r,
694
+ 22: n,
695
+ 23: r,
696
+ 24: i,
697
697
  26: a,
698
698
  28: o,
699
699
  29: 49,
@@ -744,9 +744,9 @@ var y = g(), b = (function() {
744
744
  19: 20,
745
745
  20: 21,
746
746
  21: 22,
747
- 22: t,
748
- 23: n,
749
- 24: r,
747
+ 22: n,
748
+ 23: r,
749
+ 24: i,
750
750
  26: a,
751
751
  28: o,
752
752
  29: 49,
@@ -797,9 +797,9 @@ var y = g(), b = (function() {
797
797
  19: 20,
798
798
  20: 21,
799
799
  21: 22,
800
- 22: t,
801
- 23: n,
802
- 24: r,
800
+ 22: n,
801
+ 23: r,
802
+ 24: i,
803
803
  26: a,
804
804
  28: o,
805
805
  29: 49,
@@ -1262,9 +1262,9 @@ var y = g(), b = (function() {
1262
1262
  e(ie, [2, 17], {
1263
1263
  21: 22,
1264
1264
  19: 130,
1265
- 22: t,
1266
- 23: n,
1267
- 24: r,
1265
+ 22: n,
1266
+ 23: r,
1267
+ 24: i,
1268
1268
  26: a,
1269
1269
  28: o
1270
1270
  }),
@@ -1277,9 +1277,9 @@ var y = g(), b = (function() {
1277
1277
  30: 61,
1278
1278
  32: 62,
1279
1279
  13: 131,
1280
- 22: t,
1281
- 23: n,
1282
- 24: r,
1280
+ 22: n,
1281
+ 23: r,
1282
+ 24: i,
1283
1283
  26: a,
1284
1284
  28: o,
1285
1285
  34: s,
@@ -1407,15 +1407,15 @@ var y = g(), b = (function() {
1407
1407
  128: [2, 11],
1408
1408
  129: [2, 12]
1409
1409
  },
1410
- parseError: /* @__PURE__ */ i(function(e, t) {
1410
+ parseError: /* @__PURE__ */ t(function(e, t) {
1411
1411
  if (t.recoverable) this.trace(e);
1412
1412
  else {
1413
1413
  var n = Error(e);
1414
1414
  throw n.hash = t, n;
1415
1415
  }
1416
1416
  }, "parseError"),
1417
- parse: /* @__PURE__ */ i(function(e) {
1418
- 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: {} };
1417
+ parse: /* @__PURE__ */ t(function(e) {
1418
+ 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: {} };
1419
1419
  for (var v in this.yy) Object.prototype.hasOwnProperty.call(this.yy, v) && (_.yy[v] = this.yy[v]);
1420
1420
  g.setInput(e, _.yy), _.yy.lexer = g, _.yy.parser = this, g.yylloc === void 0 && (g.yylloc = {});
1421
1421
  var y = g.yylloc;
@@ -1423,16 +1423,16 @@ var y = g(), b = (function() {
1423
1423
  var b = g.options && g.options.ranges;
1424
1424
  typeof _.yy.parseError == "function" ? this.parseError = _.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
1425
1425
  function x(e) {
1426
- n.length -= 2 * e, a.length -= e, o.length -= e;
1426
+ r.length -= 2 * e, a.length -= e, o.length -= e;
1427
1427
  }
1428
- i(x, "popStack");
1428
+ t(x, "popStack");
1429
1429
  function S() {
1430
- var e = r.pop() || g.lex() || m;
1431
- return typeof e != "number" && (e instanceof Array && (r = e, e = r.pop()), e = t.symbols_[e] || e), e;
1430
+ var e = i.pop() || g.lex() || m;
1431
+ return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = n.symbols_[e] || e), e;
1432
1432
  }
1433
- i(S, "lex");
1433
+ t(S, "lex");
1434
1434
  for (var C, w, T, E, D, O = {}, k, A, j, M;;) {
1435
- 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]) {
1435
+ 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]) {
1436
1436
  var N = "";
1437
1437
  for (k in M = [], s[T]) this.terminals_[k] && k > p && M.push("'" + this.terminals_[k] + "'");
1438
1438
  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, {
@@ -1446,7 +1446,7 @@ var y = g(), b = (function() {
1446
1446
  if (E[0] instanceof Array && E.length > 1) throw Error("Parse Error: multiple actions possible at state: " + T + ", token: " + C);
1447
1447
  switch (E[0]) {
1448
1448
  case 1:
1449
- 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--);
1449
+ 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--);
1450
1450
  break;
1451
1451
  case 2:
1452
1452
  if (A = this.productions_[E[1]][1], O.$ = a[a.length - A], O._$ = {
@@ -1463,7 +1463,7 @@ var y = g(), b = (function() {
1463
1463
  a,
1464
1464
  o
1465
1465
  ].concat(h)), D !== void 0) return D;
1466
- 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);
1466
+ 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);
1467
1467
  break;
1468
1468
  case 3: return !0;
1469
1469
  }
@@ -1474,11 +1474,11 @@ var y = g(), b = (function() {
1474
1474
  J.lexer = /* @__PURE__ */ (function() {
1475
1475
  return {
1476
1476
  EOF: 1,
1477
- parseError: /* @__PURE__ */ i(function(e, t) {
1477
+ parseError: /* @__PURE__ */ t(function(e, t) {
1478
1478
  if (this.yy.parser) this.yy.parser.parseError(e, t);
1479
1479
  else throw Error(e);
1480
1480
  }, "parseError"),
1481
- setInput: /* @__PURE__ */ i(function(e, t) {
1481
+ setInput: /* @__PURE__ */ t(function(e, t) {
1482
1482
  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 = {
1483
1483
  first_line: 1,
1484
1484
  first_column: 0,
@@ -1486,11 +1486,11 @@ var y = g(), b = (function() {
1486
1486
  last_column: 0
1487
1487
  }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
1488
1488
  }, "setInput"),
1489
- input: /* @__PURE__ */ i(function() {
1489
+ input: /* @__PURE__ */ t(function() {
1490
1490
  var e = this._input[0];
1491
1491
  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;
1492
1492
  }, "input"),
1493
- unput: /* @__PURE__ */ i(function(e) {
1493
+ unput: /* @__PURE__ */ t(function(e) {
1494
1494
  var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
1495
1495
  this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
1496
1496
  var r = this.match.split(/(?:\r\n?|\n)/g);
@@ -1503,10 +1503,10 @@ var y = g(), b = (function() {
1503
1503
  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
1504
1504
  }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
1505
1505
  }, "unput"),
1506
- more: /* @__PURE__ */ i(function() {
1506
+ more: /* @__PURE__ */ t(function() {
1507
1507
  return this._more = !0, this;
1508
1508
  }, "more"),
1509
- reject: /* @__PURE__ */ i(function() {
1509
+ reject: /* @__PURE__ */ t(function() {
1510
1510
  if (this.options.backtrack_lexer) this._backtrack = !0;
1511
1511
  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(), {
1512
1512
  text: "",
@@ -1515,22 +1515,22 @@ var y = g(), b = (function() {
1515
1515
  });
1516
1516
  return this;
1517
1517
  }, "reject"),
1518
- less: /* @__PURE__ */ i(function(e) {
1518
+ less: /* @__PURE__ */ t(function(e) {
1519
1519
  this.unput(this.match.slice(e));
1520
1520
  }, "less"),
1521
- pastInput: /* @__PURE__ */ i(function() {
1521
+ pastInput: /* @__PURE__ */ t(function() {
1522
1522
  var e = this.matched.substr(0, this.matched.length - this.match.length);
1523
1523
  return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
1524
1524
  }, "pastInput"),
1525
- upcomingInput: /* @__PURE__ */ i(function() {
1525
+ upcomingInput: /* @__PURE__ */ t(function() {
1526
1526
  var e = this.match;
1527
1527
  return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
1528
1528
  }, "upcomingInput"),
1529
- showPosition: /* @__PURE__ */ i(function() {
1529
+ showPosition: /* @__PURE__ */ t(function() {
1530
1530
  var e = this.pastInput(), t = Array(e.length + 1).join("-");
1531
1531
  return e + this.upcomingInput() + "\n" + t + "^";
1532
1532
  }, "showPosition"),
1533
- test_match: /* @__PURE__ */ i(function(e, t) {
1533
+ test_match: /* @__PURE__ */ t(function(e, t) {
1534
1534
  var n, r, i;
1535
1535
  if (this.options.backtrack_lexer && (i = {
1536
1536
  yylineno: this.yylineno,
@@ -1563,7 +1563,7 @@ var y = g(), b = (function() {
1563
1563
  }
1564
1564
  return !1;
1565
1565
  }, "test_match"),
1566
- next: /* @__PURE__ */ i(function() {
1566
+ next: /* @__PURE__ */ t(function() {
1567
1567
  if (this.done) return this.EOF;
1568
1568
  this._input || (this.done = !0);
1569
1569
  var e, t, n, r;
@@ -1583,29 +1583,29 @@ var y = g(), b = (function() {
1583
1583
  line: this.yylineno
1584
1584
  });
1585
1585
  }, "next"),
1586
- lex: /* @__PURE__ */ i(function() {
1586
+ lex: /* @__PURE__ */ t(function() {
1587
1587
  return this.next() || this.lex();
1588
1588
  }, "lex"),
1589
- begin: /* @__PURE__ */ i(function(e) {
1589
+ begin: /* @__PURE__ */ t(function(e) {
1590
1590
  this.conditionStack.push(e);
1591
1591
  }, "begin"),
1592
- popState: /* @__PURE__ */ i(function() {
1592
+ popState: /* @__PURE__ */ t(function() {
1593
1593
  return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1594
1594
  }, "popState"),
1595
- _currentRules: /* @__PURE__ */ i(function() {
1595
+ _currentRules: /* @__PURE__ */ t(function() {
1596
1596
  return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
1597
1597
  }, "_currentRules"),
1598
- topState: /* @__PURE__ */ i(function(e) {
1598
+ topState: /* @__PURE__ */ t(function(e) {
1599
1599
  return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
1600
1600
  }, "topState"),
1601
- pushState: /* @__PURE__ */ i(function(e) {
1601
+ pushState: /* @__PURE__ */ t(function(e) {
1602
1602
  this.begin(e);
1603
1603
  }, "pushState"),
1604
- stateStackSize: /* @__PURE__ */ i(function() {
1604
+ stateStackSize: /* @__PURE__ */ t(function() {
1605
1605
  return this.conditionStack.length;
1606
1606
  }, "stateStackSize"),
1607
1607
  options: {},
1608
- performAction: /* @__PURE__ */ i(function(e, t, n, r) {
1608
+ performAction: /* @__PURE__ */ t(function(e, t, n, r) {
1609
1609
  switch (n) {
1610
1610
  case 0: return 6;
1611
1611
  case 1: return 7;
@@ -2271,7 +2271,7 @@ var y = g(), b = (function() {
2271
2271
  function ue() {
2272
2272
  this.yy = {};
2273
2273
  }
2274
- return i(ue, "Parser"), ue.prototype = J, J.Parser = ue, new ue();
2274
+ return t(ue, "Parser"), ue.prototype = J, J.Parser = ue, new ue();
2275
2275
  })();
2276
2276
  b.parser = b;
2277
2277
  var x = b, S = [], C = [""], w = "global", T = "", E = [{
@@ -2281,11 +2281,11 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2281
2281
  tags: null,
2282
2282
  link: null,
2283
2283
  parentBoundary: ""
2284
- }], D = [], O = "", k = !1, A = 4, j = 2, M, N = /* @__PURE__ */ i(function() {
2284
+ }], D = [], O = "", k = !1, A = 4, j = 2, M, N = /* @__PURE__ */ t(function() {
2285
2285
  return M;
2286
- }, "getC4Type"), P = /* @__PURE__ */ i(function(e) {
2287
- M = s(e, d());
2288
- }, "setC4Type"), F = /* @__PURE__ */ i(function(e, t, n, r, i, a, o, s, l) {
2286
+ }, "getC4Type"), P = /* @__PURE__ */ t(function(e) {
2287
+ M = f(e, u());
2288
+ }, "setC4Type"), F = /* @__PURE__ */ t(function(e, t, n, r, i, a, o, s, l) {
2289
2289
  if (e == null || t == null || n == null || r == null) return;
2290
2290
  let u = {}, d = D.find((e) => e.from === t && e.to === n);
2291
2291
  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: "" };
@@ -2311,7 +2311,7 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2311
2311
  u[e] = t;
2312
2312
  } else u.link = l;
2313
2313
  u.wrap = J();
2314
- }, "addRel"), I = /* @__PURE__ */ i(function(e, t, n, r, i, a, o) {
2314
+ }, "addRel"), I = /* @__PURE__ */ t(function(e, t, n, r, i, a, o) {
2315
2315
  if (t === null || n === null) return;
2316
2316
  let s = {}, l = S.find((e) => e.alias === t);
2317
2317
  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: "" };
@@ -2332,7 +2332,7 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2332
2332
  s[e] = t;
2333
2333
  } else s.link = o;
2334
2334
  s.typeC4Shape = { text: e }, s.parentBoundary = w, s.wrap = J();
2335
- }, "addPersonOrSystem"), L = /* @__PURE__ */ i(function(e, t, n, r, i, a, o, s) {
2335
+ }, "addPersonOrSystem"), L = /* @__PURE__ */ t(function(e, t, n, r, i, a, o, s) {
2336
2336
  if (t === null || n === null) return;
2337
2337
  let l = {}, u = S.find((e) => e.alias === t);
2338
2338
  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: "" };
@@ -2358,7 +2358,7 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2358
2358
  l[e] = t;
2359
2359
  } else l.link = s;
2360
2360
  l.wrap = J(), l.typeC4Shape = { text: e }, l.parentBoundary = w;
2361
- }, "addContainer"), R = /* @__PURE__ */ i(function(e, t, n, r, i, a, o, s) {
2361
+ }, "addContainer"), R = /* @__PURE__ */ t(function(e, t, n, r, i, a, o, s) {
2362
2362
  if (t === null || n === null) return;
2363
2363
  let l = {}, u = S.find((e) => e.alias === t);
2364
2364
  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: "" };
@@ -2384,7 +2384,7 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2384
2384
  l[e] = t;
2385
2385
  } else l.link = s;
2386
2386
  l.wrap = J(), l.typeC4Shape = { text: e }, l.parentBoundary = w;
2387
- }, "addComponent"), z = /* @__PURE__ */ i(function(e, t, n, r, i) {
2387
+ }, "addComponent"), z = /* @__PURE__ */ t(function(e, t, n, r, i) {
2388
2388
  if (e === null || t === null) return;
2389
2389
  let a = {}, o = E.find((t) => t.alias === e);
2390
2390
  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" };
@@ -2401,7 +2401,7 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2401
2401
  a[e] = t;
2402
2402
  } else a.link = i;
2403
2403
  a.parentBoundary = w, a.wrap = J(), T = w, w = e, C.push(T);
2404
- }, "addPersonOrSystemBoundary"), B = /* @__PURE__ */ i(function(e, t, n, r, i) {
2404
+ }, "addPersonOrSystemBoundary"), B = /* @__PURE__ */ t(function(e, t, n, r, i) {
2405
2405
  if (e === null || t === null) return;
2406
2406
  let a = {}, o = E.find((t) => t.alias === e);
2407
2407
  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" };
@@ -2418,7 +2418,7 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2418
2418
  a[e] = t;
2419
2419
  } else a.link = i;
2420
2420
  a.parentBoundary = w, a.wrap = J(), T = w, w = e, C.push(T);
2421
- }, "addContainerBoundary"), V = /* @__PURE__ */ i(function(e, t, n, r, i, a, o, s) {
2421
+ }, "addContainerBoundary"), V = /* @__PURE__ */ t(function(e, t, n, r, i, a, o, s) {
2422
2422
  if (t === null || n === null) return;
2423
2423
  let l = {}, u = E.find((e) => e.alias === t);
2424
2424
  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" };
@@ -2440,9 +2440,9 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2440
2440
  l[e] = t;
2441
2441
  } else l.link = s;
2442
2442
  l.nodeType = e, l.parentBoundary = w, l.wrap = J(), T = w, w = t, C.push(T);
2443
- }, "addDeploymentNode"), H = /* @__PURE__ */ i(function() {
2443
+ }, "addDeploymentNode"), H = /* @__PURE__ */ t(function() {
2444
2444
  w = T, C.pop(), T = C.pop(), C.push(T);
2445
- }, "popBoundaryParseStack"), ee = /* @__PURE__ */ i(function(e, t, n, r, i, a, o, s, l, u, d) {
2445
+ }, "popBoundaryParseStack"), ee = /* @__PURE__ */ t(function(e, t, n, r, i, a, o, s, l, u, d) {
2446
2446
  let f = S.find((e) => e.alias === t);
2447
2447
  if (!(f === void 0 && (f = E.find((e) => e.alias === t), f === void 0))) {
2448
2448
  if (n != null) if (typeof n == "object") {
@@ -2482,7 +2482,7 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2482
2482
  f[e] = t;
2483
2483
  } else f.legendSprite = d;
2484
2484
  }
2485
- }, "updateElStyle"), te = /* @__PURE__ */ i(function(e, t, n, r, i, a, o) {
2485
+ }, "updateElStyle"), te = /* @__PURE__ */ t(function(e, t, n, r, i, a, o) {
2486
2486
  let s = D.find((e) => e.from === t && e.to === n);
2487
2487
  if (s !== void 0) {
2488
2488
  if (r != null) if (typeof r == "object") {
@@ -2502,7 +2502,7 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2502
2502
  s[e] = parseInt(t);
2503
2503
  } else s.offsetY = parseInt(o);
2504
2504
  }
2505
- }, "updateRelStyle"), ne = /* @__PURE__ */ i(function(e, t, n) {
2505
+ }, "updateRelStyle"), ne = /* @__PURE__ */ t(function(e, t, n) {
2506
2506
  let r = A, i = j;
2507
2507
  if (typeof t == "object") {
2508
2508
  let e = Object.values(t)[0];
@@ -2513,29 +2513,29 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2513
2513
  i = parseInt(e);
2514
2514
  } else i = parseInt(n);
2515
2515
  r >= 1 && (A = r), i >= 1 && (j = i);
2516
- }, "updateLayoutConfig"), re = /* @__PURE__ */ i(function() {
2516
+ }, "updateLayoutConfig"), re = /* @__PURE__ */ t(function() {
2517
2517
  return A;
2518
- }, "getC4ShapeInRow"), ie = /* @__PURE__ */ i(function() {
2518
+ }, "getC4ShapeInRow"), ie = /* @__PURE__ */ t(function() {
2519
2519
  return j;
2520
- }, "getC4BoundaryInRow"), ae = /* @__PURE__ */ i(function() {
2520
+ }, "getC4BoundaryInRow"), ae = /* @__PURE__ */ t(function() {
2521
2521
  return w;
2522
- }, "getCurrentBoundaryParse"), U = /* @__PURE__ */ i(function() {
2522
+ }, "getCurrentBoundaryParse"), U = /* @__PURE__ */ t(function() {
2523
2523
  return T;
2524
- }, "getParentBoundaryParse"), W = /* @__PURE__ */ i(function(e) {
2524
+ }, "getParentBoundaryParse"), W = /* @__PURE__ */ t(function(e) {
2525
2525
  return e == null ? S : S.filter((t) => t.parentBoundary === e);
2526
- }, "getC4ShapeArray"), G = /* @__PURE__ */ i(function(e) {
2526
+ }, "getC4ShapeArray"), G = /* @__PURE__ */ t(function(e) {
2527
2527
  return S.find((t) => t.alias === e);
2528
- }, "getC4Shape"), K = /* @__PURE__ */ i(function(e) {
2528
+ }, "getC4Shape"), K = /* @__PURE__ */ t(function(e) {
2529
2529
  return Object.keys(W(e));
2530
- }, "getC4ShapeKeys"), q = /* @__PURE__ */ i(function(e) {
2530
+ }, "getC4ShapeKeys"), q = /* @__PURE__ */ t(function(e) {
2531
2531
  return e == null ? E : E.filter((t) => t.parentBoundary === e);
2532
- }, "getBoundaries"), oe = q, se = /* @__PURE__ */ i(function() {
2532
+ }, "getBoundaries"), oe = q, se = /* @__PURE__ */ t(function() {
2533
2533
  return D;
2534
- }, "getRels"), ce = /* @__PURE__ */ i(function() {
2534
+ }, "getRels"), ce = /* @__PURE__ */ t(function() {
2535
2535
  return O;
2536
- }, "getTitle"), le = /* @__PURE__ */ i(function(e) {
2536
+ }, "getTitle"), le = /* @__PURE__ */ t(function(e) {
2537
2537
  k = e;
2538
- }, "setWrap"), J = /* @__PURE__ */ i(function() {
2538
+ }, "setWrap"), J = /* @__PURE__ */ t(function() {
2539
2539
  return k;
2540
2540
  }, "autoWrap"), ue = {
2541
2541
  addPersonOrSystem: I,
@@ -2563,12 +2563,12 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2563
2563
  getC4Type: N,
2564
2564
  getC4ShapeInRow: re,
2565
2565
  getC4BoundaryInRow: ie,
2566
- setAccTitle: l,
2567
- getAccTitle: h,
2568
- getAccDescription: u,
2569
- setAccDescription: o,
2570
- getConfig: /* @__PURE__ */ i(() => d().c4, "getConfig"),
2571
- clear: /* @__PURE__ */ i(function() {
2566
+ setAccTitle: i,
2567
+ getAccTitle: d,
2568
+ getAccDescription: l,
2569
+ setAccDescription: r,
2570
+ getConfig: /* @__PURE__ */ t(() => u().c4, "getConfig"),
2571
+ clear: /* @__PURE__ */ t(function() {
2572
2572
  S = [], E = [{
2573
2573
  alias: "global",
2574
2574
  label: { text: "global" },
@@ -2612,35 +2612,35 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2612
2612
  RIGHTOF: 1,
2613
2613
  OVER: 2
2614
2614
  },
2615
- setTitle: /* @__PURE__ */ i(function(e) {
2616
- O = s(e, d());
2615
+ setTitle: /* @__PURE__ */ t(function(e) {
2616
+ O = f(e, u());
2617
2617
  }, "setTitle"),
2618
2618
  setC4Type: P
2619
- }, de = /* @__PURE__ */ i(function(e, t) {
2619
+ }, de = /* @__PURE__ */ t(function(e, t) {
2620
2620
  return _(e, t);
2621
- }, "drawRect"), fe = /* @__PURE__ */ i(function(e, t, n, r, i, a) {
2621
+ }, "drawRect"), fe = /* @__PURE__ */ t(function(e, t, n, r, i, a) {
2622
2622
  let o = e.append("image");
2623
2623
  o.attr("width", t), o.attr("height", n), o.attr("x", r), o.attr("y", i);
2624
2624
  let s = a.startsWith("data:image/png;base64") ? a : (0, y.sanitizeUrl)(a);
2625
2625
  o.attr("xlink:href", s);
2626
- }, "drawImage"), pe = /* @__PURE__ */ i((e, t, n) => {
2627
- let r = e.append("g"), i = 0;
2626
+ }, "drawImage"), pe = /* @__PURE__ */ t((e, t, n, r) => {
2627
+ let i = e.append("g"), a = 0;
2628
2628
  for (let e of t) {
2629
- 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;
2630
- if (i === 0) {
2631
- let t = r.append("line");
2632
- t.attr("x1", e.startPoint.x), t.attr("y1", e.startPoint.y), t.attr("x2", e.endPoint.x), t.attr("y2", e.endPoint.y), t.attr("stroke-width", "1"), t.attr("stroke", a), t.style("fill", "none"), e.type !== "rel_b" && t.attr("marker-end", "url(#arrowhead)"), (e.type === "birel" || e.type === "rel_b") && t.attr("marker-start", "url(#arrowend)"), i = -1;
2629
+ let t = e.textColor ? e.textColor : "#444444", o = e.lineColor ? e.lineColor : "#444444", s = e.offsetX ? parseInt(e.offsetX) : 0, l = e.offsetY ? parseInt(e.offsetY) : 0;
2630
+ if (a === 0) {
2631
+ let t = i.append("line");
2632
+ t.attr("x1", e.startPoint.x), t.attr("y1", e.startPoint.y), t.attr("x2", e.endPoint.x), t.attr("y2", e.endPoint.y), t.attr("stroke-width", "1"), t.attr("stroke", o), t.style("fill", "none"), e.type !== "rel_b" && t.attr("marker-end", "url(#" + r + "-arrowhead)"), (e.type === "birel" || e.type === "rel_b") && t.attr("marker-start", "url(#" + r + "-arrowend)"), a = -1;
2633
2633
  } else {
2634
- let t = r.append("path");
2635
- t.attr("fill", "none").attr("stroke-width", "1").attr("stroke", a).attr("d", "Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx", e.startPoint.x).replaceAll("starty", e.startPoint.y).replaceAll("controlx", e.startPoint.x + (e.endPoint.x - e.startPoint.x) / 2 - (e.endPoint.x - e.startPoint.x) / 4).replaceAll("controly", e.startPoint.y + (e.endPoint.y - e.startPoint.y) / 2).replaceAll("stopx", e.endPoint.x).replaceAll("stopy", e.endPoint.y)), e.type !== "rel_b" && t.attr("marker-end", "url(#arrowhead)"), (e.type === "birel" || e.type === "rel_b") && t.attr("marker-start", "url(#arrowend)");
2634
+ let t = i.append("path");
2635
+ t.attr("fill", "none").attr("stroke-width", "1").attr("stroke", o).attr("d", "Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx", e.startPoint.x).replaceAll("starty", e.startPoint.y).replaceAll("controlx", e.startPoint.x + (e.endPoint.x - e.startPoint.x) / 2 - (e.endPoint.x - e.startPoint.x) / 4).replaceAll("controly", e.startPoint.y + (e.endPoint.y - e.startPoint.y) / 2).replaceAll("stopx", e.endPoint.x).replaceAll("stopy", e.endPoint.y)), e.type !== "rel_b" && t.attr("marker-end", "url(#" + r + "-arrowhead)"), (e.type === "birel" || e.type === "rel_b") && t.attr("marker-start", "url(#" + r + "-arrowend)");
2636
2636
  }
2637
- let l = n.messageFont();
2638
- Y(n)(e.label.text, r, Math.min(e.startPoint.x, e.endPoint.x) + Math.abs(e.endPoint.x - e.startPoint.x) / 2 + o, Math.min(e.startPoint.y, e.endPoint.y) + Math.abs(e.endPoint.y - e.startPoint.y) / 2 + s, e.label.width, e.label.height, { fill: t }, l), e.techn && e.techn.text !== "" && (l = n.messageFont(), Y(n)("[" + e.techn.text + "]", r, Math.min(e.startPoint.x, e.endPoint.x) + Math.abs(e.endPoint.x - e.startPoint.x) / 2 + o, Math.min(e.startPoint.y, e.endPoint.y) + Math.abs(e.endPoint.y - e.startPoint.y) / 2 + n.messageFontSize + 5 + s, Math.max(e.label.width, e.techn.width), e.techn.height, {
2637
+ let u = n.messageFont();
2638
+ Y(n)(e.label.text, i, Math.min(e.startPoint.x, e.endPoint.x) + Math.abs(e.endPoint.x - e.startPoint.x) / 2 + s, Math.min(e.startPoint.y, e.endPoint.y) + Math.abs(e.endPoint.y - e.startPoint.y) / 2 + l, e.label.width, e.label.height, { fill: t }, u), e.techn && e.techn.text !== "" && (u = n.messageFont(), Y(n)("[" + e.techn.text + "]", i, Math.min(e.startPoint.x, e.endPoint.x) + Math.abs(e.endPoint.x - e.startPoint.x) / 2 + s, Math.min(e.startPoint.y, e.endPoint.y) + Math.abs(e.endPoint.y - e.startPoint.y) / 2 + n.messageFontSize + 5 + l, Math.max(e.label.width, e.techn.width), e.techn.height, {
2639
2639
  fill: t,
2640
2640
  "font-style": "italic"
2641
- }, l));
2641
+ }, u));
2642
2642
  }
2643
- }, "drawRels"), me = /* @__PURE__ */ i(function(e, t, n) {
2643
+ }, "drawRels"), me = /* @__PURE__ */ t(function(e, t, n) {
2644
2644
  let r = e.append("g"), i = t.bgColor ? t.bgColor : "none", a = t.borderColor ? t.borderColor : "#444444", o = t.fontColor ? t.fontColor : "black", s = {
2645
2645
  "stroke-width": 1,
2646
2646
  "stroke-dasharray": "7.0,7.0"
@@ -2658,7 +2658,7 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2658
2658
  });
2659
2659
  let l = n.boundaryFont();
2660
2660
  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));
2661
- }, "drawBoundary"), he = /* @__PURE__ */ i(function(e, t, n) {
2661
+ }, "drawBoundary"), he = /* @__PURE__ */ t(function(e, t, n) {
2662
2662
  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=";
2663
2663
  switch (t.typeC4Shape.text) {
2664
2664
  case "person":
@@ -2699,7 +2699,7 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2699
2699
  s.append("path").attr("fill", r).attr("stroke-width", "0.5").attr("stroke", i).attr("d", "Mstartx,startylwidth,0c5,0 5,half 5,halfc0,0 0,half -5,halfl-width,0c-5,0 -5,-half -5,-halfc0,0 0,-half 5,-half".replaceAll("startx", t.x).replaceAll("starty", t.y).replaceAll("width", t.width).replaceAll("half", t.height / 2)), s.append("path").attr("fill", "none").attr("stroke-width", "0.5").attr("stroke", i).attr("d", "Mstartx,startyc-5,0 -5,half -5,halfc0,half 5,half 5,half".replaceAll("startx", t.x + t.width).replaceAll("starty", t.y).replaceAll("half", t.height / 2));
2700
2700
  break;
2701
2701
  }
2702
- let u = we(n, t.typeC4Shape.text);
2702
+ let u = Ce(n, t.typeC4Shape.text);
2703
2703
  switch (s.append("text").attr("fill", a).attr("font-family", u.fontFamily).attr("font-size", u.fontSize - 2).attr("font-style", "italic").attr("lengthAdjust", "spacing").attr("textLength", t.typeC4Shape.width).attr("x", t.x + t.width / 2 - t.typeC4Shape.width / 2).attr("y", t.y + t.typeC4Shape.Y).text("<<" + t.typeC4Shape.text + ">>"), t.typeC4Shape.text) {
2704
2704
  case "person":
2705
2705
  case "external_person":
@@ -2714,50 +2714,48 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2714
2714
  fill: a,
2715
2715
  "font-style": "italic"
2716
2716
  }, 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;
2717
- }, "drawC4Shape"), ge = /* @__PURE__ */ i(function(e) {
2718
- 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");
2719
- }, "insertDatabaseIcon"), _e = /* @__PURE__ */ i(function(e) {
2720
- 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");
2721
- }, "insertComputerIcon"), ve = /* @__PURE__ */ i(function(e) {
2722
- 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");
2723
- }, "insertClockIcon"), ye = /* @__PURE__ */ i(function(e) {
2724
- 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");
2725
- }, "insertArrowHead"), be = /* @__PURE__ */ i(function(e) {
2726
- 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");
2727
- }, "insertArrowEnd"), xe = /* @__PURE__ */ i(function(e) {
2728
- 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");
2729
- }, "insertArrowFilledHead"), Se = /* @__PURE__ */ i(function(e) {
2730
- 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);
2731
- }, "insertDynamicNumber"), Ce = /* @__PURE__ */ i(function(e) {
2732
- 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);
2733
- 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");
2734
- }, "insertArrowCrossHead"), we = /* @__PURE__ */ i((e, t) => ({
2717
+ }, "drawC4Shape"), ge = /* @__PURE__ */ t(function(e, t) {
2718
+ e.append("defs").append("symbol").attr("id", t + "-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");
2719
+ }, "insertDatabaseIcon"), _e = /* @__PURE__ */ t(function(e, t) {
2720
+ e.append("defs").append("symbol").attr("id", t + "-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");
2721
+ }, "insertComputerIcon"), ve = /* @__PURE__ */ t(function(e, t) {
2722
+ e.append("defs").append("symbol").attr("id", t + "-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");
2723
+ }, "insertClockIcon"), ye = /* @__PURE__ */ t(function(e, t) {
2724
+ e.append("defs").append("marker").attr("id", t + "-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");
2725
+ }, "insertArrowHead"), be = /* @__PURE__ */ t(function(e, t) {
2726
+ e.append("defs").append("marker").attr("id", t + "-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");
2727
+ }, "insertArrowEnd"), xe = /* @__PURE__ */ t(function(e, t) {
2728
+ e.append("defs").append("marker").attr("id", t + "-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");
2729
+ }, "insertArrowFilledHead"), Se = /* @__PURE__ */ t(function(e, t) {
2730
+ let n = e.append("defs").append("marker").attr("id", t + "-crosshead").attr("markerWidth", 15).attr("markerHeight", 8).attr("orient", "auto").attr("refX", 16).attr("refY", 4);
2731
+ n.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"), n.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");
2732
+ }, "insertArrowCrossHead"), Ce = /* @__PURE__ */ t((e, t) => ({
2735
2733
  fontFamily: e[t + "FontFamily"],
2736
2734
  fontSize: e[t + "FontSize"],
2737
2735
  fontWeight: e[t + "FontWeight"]
2738
2736
  }), "getC4ShapeFont"), Y = /* @__PURE__ */ (function() {
2739
- function e(e, t, n, i, a, o, s) {
2740
- r(t.append("text").attr("x", n + a / 2).attr("y", i + o / 2 + 5).style("text-anchor", "middle").text(e), s);
2737
+ function e(e, t, n, r, a, o, s) {
2738
+ i(t.append("text").attr("x", n + a / 2).attr("y", r + o / 2 + 5).style("text-anchor", "middle").text(e), s);
2741
2739
  }
2742
- i(e, "byText");
2743
- function t(e, t, n, i, a, o, s, l) {
2744
- let { fontSize: u, fontFamily: d, fontWeight: f } = l, p = e.split(m.lineBreakRegex);
2745
- for (let e = 0; e < p.length; e++) {
2746
- 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);
2747
- l.append("tspan").attr("dy", o).text(p[e]).attr("alignment-baseline", "mathematical"), r(l, s);
2740
+ t(e, "byText");
2741
+ function n(e, t, n, r, a, o, l, u) {
2742
+ let { fontSize: d, fontFamily: f, fontWeight: p } = u, m = e.split(s.lineBreakRegex);
2743
+ for (let e = 0; e < m.length; e++) {
2744
+ let o = e * d - d * (m.length - 1) / 2, s = t.append("text").attr("x", n + a / 2).attr("y", r).style("text-anchor", "middle").attr("dominant-baseline", "middle").style("font-size", d).style("font-weight", p).style("font-family", f);
2745
+ s.append("tspan").attr("dy", o).text(m[e]).attr("alignment-baseline", "mathematical"), i(s, l);
2748
2746
  }
2749
2747
  }
2750
- i(t, "byTspan");
2751
- function n(e, n, i, a, o, s, l, u) {
2752
- 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%");
2753
- 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);
2748
+ t(n, "byTspan");
2749
+ function r(e, t, r, a, o, s, l, u) {
2750
+ 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%");
2751
+ 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);
2754
2752
  }
2755
- i(n, "byFo");
2756
- function r(e, t) {
2753
+ t(r, "byFo");
2754
+ function i(e, t) {
2757
2755
  for (let n in t) t.hasOwnProperty(n) && e.attr(n, t[n]);
2758
2756
  }
2759
- return i(r, "_setTextAttrs"), function(r) {
2760
- return r.textPlacement === "fo" ? n : r.textPlacement === "old" ? e : t;
2757
+ return t(i, "_setTextAttrs"), function(t) {
2758
+ return t.textPlacement === "fo" ? r : t.textPlacement === "old" ? e : n;
2761
2759
  };
2762
2760
  })(), X = {
2763
2761
  drawRect: de,
@@ -2768,19 +2766,18 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
2768
2766
  insertArrowHead: ye,
2769
2767
  insertArrowEnd: be,
2770
2768
  insertArrowFilledHead: xe,
2771
- insertDynamicNumber: Se,
2772
- insertArrowCrossHead: Ce,
2769
+ insertArrowCrossHead: Se,
2773
2770
  insertDatabaseIcon: ge,
2774
2771
  insertComputerIcon: _e,
2775
2772
  insertClockIcon: ve
2776
- }, Te = 0, Ee = 0, De = 4, Oe = 2;
2773
+ }, we = 0, Te = 0, Ee = 4, De = 2;
2777
2774
  b.yy = ue;
2778
- var Z = {}, ke = class {
2775
+ var Z = {}, Oe = class {
2779
2776
  static {
2780
- i(this, "Bounds");
2777
+ t(this, "Bounds");
2781
2778
  }
2782
2779
  constructor(e) {
2783
- 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());
2780
+ 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, ke(e.db.getConfig());
2784
2781
  }
2785
2782
  setData(e, t, n, r) {
2786
2783
  this.nextData.startx = this.data.startx = e, this.nextData.stopx = this.data.stopx = t, this.nextData.starty = this.data.starty = n, this.nextData.stopy = this.data.stopy = r;
@@ -2791,7 +2788,7 @@ var Z = {}, ke = class {
2791
2788
  insert(e) {
2792
2789
  this.nextData.cnt = this.nextData.cnt + 1;
2793
2790
  let t = this.nextData.startx === this.nextData.stopx ? this.nextData.stopx + e.margin : this.nextData.stopx + e.margin * 2, n = t + e.width, r = this.nextData.starty + e.margin * 2, i = r + e.height;
2794
- (t >= this.data.widthLimit || n >= this.data.widthLimit || this.nextData.cnt > De) && (t = this.nextData.startx + e.margin + Z.nextLinePaddingX, r = this.nextData.stopy + e.margin * 2, this.nextData.stopx = n = t + e.width, this.nextData.starty = this.nextData.stopy, this.nextData.stopy = i = r + e.height, this.nextData.cnt = 1), e.x = t, e.y = r, this.updateVal(this.data, "startx", t, Math.min), this.updateVal(this.data, "starty", r, Math.min), this.updateVal(this.data, "stopx", n, Math.max), this.updateVal(this.data, "stopy", i, Math.max), this.updateVal(this.nextData, "startx", t, Math.min), this.updateVal(this.nextData, "starty", r, Math.min), this.updateVal(this.nextData, "stopx", n, Math.max), this.updateVal(this.nextData, "stopy", i, Math.max);
2791
+ (t >= this.data.widthLimit || n >= this.data.widthLimit || this.nextData.cnt > Ee) && (t = this.nextData.startx + e.margin + Z.nextLinePaddingX, r = this.nextData.stopy + e.margin * 2, this.nextData.stopx = n = t + e.width, this.nextData.starty = this.nextData.stopy, this.nextData.stopy = i = r + e.height, this.nextData.cnt = 1), e.x = t, e.y = r, this.updateVal(this.data, "startx", t, Math.min), this.updateVal(this.data, "starty", r, Math.min), this.updateVal(this.data, "stopx", n, Math.max), this.updateVal(this.data, "stopy", i, Math.max), this.updateVal(this.nextData, "startx", t, Math.min), this.updateVal(this.nextData, "starty", r, Math.min), this.updateVal(this.nextData, "stopx", n, Math.max), this.updateVal(this.nextData, "stopy", i, Math.max);
2795
2792
  }
2796
2793
  init(e) {
2797
2794
  this.name = "", this.data = {
@@ -2806,100 +2803,100 @@ var Z = {}, ke = class {
2806
2803
  starty: void 0,
2807
2804
  stopy: void 0,
2808
2805
  cnt: 0
2809
- }, Ae(e.db.getConfig());
2806
+ }, ke(e.db.getConfig());
2810
2807
  }
2811
2808
  bumpLastMargin(e) {
2812
2809
  this.data.stopx += e, this.data.stopy += e;
2813
2810
  }
2814
- }, Ae = /* @__PURE__ */ i(function(e) {
2815
- 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);
2816
- }, "setConf"), je = /* @__PURE__ */ i((e, t) => ({
2811
+ }, ke = /* @__PURE__ */ t(function(e) {
2812
+ o(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);
2813
+ }, "setConf"), Ae = /* @__PURE__ */ t((e, t) => ({
2817
2814
  fontFamily: e[t + "FontFamily"],
2818
2815
  fontSize: e[t + "FontSize"],
2819
2816
  fontWeight: e[t + "FontWeight"]
2820
- }), "c4ShapeFont"), Me = /* @__PURE__ */ i((e) => ({
2817
+ }), "c4ShapeFont"), je = /* @__PURE__ */ t((e) => ({
2821
2818
  fontFamily: e.boundaryFontFamily,
2822
2819
  fontSize: e.boundaryFontSize,
2823
2820
  fontWeight: e.boundaryFontWeight
2824
- }), "boundaryFont"), Ne = /* @__PURE__ */ i((e) => ({
2821
+ }), "boundaryFont"), Me = /* @__PURE__ */ t((e) => ({
2825
2822
  fontFamily: e.messageFontFamily,
2826
2823
  fontSize: e.messageFontSize,
2827
2824
  fontWeight: e.messageFontWeight
2828
2825
  }), "messageFont");
2829
- function Q(e, i, a, o, s) {
2830
- if (!i[e].width) if (a) i[e].text = t(i[e].text, s, o), i[e].textLines = i[e].text.split(m.lineBreakRegex).length, i[e].width = s, i[e].height = r(i[e].text, o);
2826
+ function Q(e, t, n, r, i) {
2827
+ if (!t[e].width) if (n) t[e].text = m(t[e].text, i, r), t[e].textLines = t[e].text.split(s.lineBreakRegex).length, t[e].width = i, t[e].height = h(t[e].text, r);
2831
2828
  else {
2832
- let t = i[e].text.split(m.lineBreakRegex);
2833
- i[e].textLines = t.length;
2834
- let a = 0;
2835
- i[e].height = 0, i[e].width = 0;
2836
- for (let s of t) i[e].width = Math.max(n(s, o), i[e].width), a = r(s, o), i[e].height = i[e].height + a;
2829
+ let n = t[e].text.split(s.lineBreakRegex);
2830
+ t[e].textLines = n.length;
2831
+ let i = 0;
2832
+ t[e].height = 0, t[e].width = 0;
2833
+ for (let a of n) t[e].width = Math.max(g(a, r), t[e].width), i = h(a, r), t[e].height = t[e].height + i;
2837
2834
  }
2838
2835
  }
2839
- i(Q, "calcC4ShapeTextWH");
2840
- var Pe = /* @__PURE__ */ i(function(e, t, r) {
2841
- 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 = Z.c4ShapeMargin - 35;
2842
- let i = t.wrap && Z.wrap, a = Me(Z);
2843
- a.fontSize += 2, a.fontWeight = "bold", Q("label", t, i, a, n(t.label.text, a)), X.drawBoundary(e, t, Z);
2844
- }, "drawBoundary"), Fe = /* @__PURE__ */ i(function(e, t, r, i) {
2845
- let a = 0;
2846
- for (let o of i) {
2847
- a = 0;
2848
- let i = r[o], s = je(Z, i.typeC4Shape.text);
2849
- switch (s.fontSize -= 2, i.typeC4Shape.width = n("«" + 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 = {
2836
+ t(Q, "calcC4ShapeTextWH");
2837
+ var Ne = /* @__PURE__ */ t(function(e, t, n) {
2838
+ 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;
2839
+ let r = t.wrap && Z.wrap, i = je(Z);
2840
+ i.fontSize += 2, i.fontWeight = "bold", Q("label", t, r, i, g(t.label.text, i)), X.drawBoundary(e, t, Z);
2841
+ }, "drawBoundary"), Pe = /* @__PURE__ */ t(function(e, t, n, r) {
2842
+ let i = 0;
2843
+ for (let a of r) {
2844
+ i = 0;
2845
+ let r = n[a], o = Ae(Z, r.typeC4Shape.text);
2846
+ switch (o.fontSize -= 2, r.typeC4Shape.width = g("«" + r.typeC4Shape.text + "»", o), r.typeC4Shape.height = o.fontSize + 2, r.typeC4Shape.Y = Z.c4ShapePadding, i = r.typeC4Shape.Y + r.typeC4Shape.height - 4, r.image = {
2850
2847
  width: 0,
2851
2848
  height: 0,
2852
2849
  Y: 0
2853
- }, i.typeC4Shape.text) {
2850
+ }, r.typeC4Shape.text) {
2854
2851
  case "person":
2855
2852
  case "external_person":
2856
- i.image.width = 48, i.image.height = 48, i.image.Y = a, a = i.image.Y + i.image.height;
2853
+ r.image.width = 48, r.image.height = 48, r.image.Y = i, i = r.image.Y + r.image.height;
2857
2854
  break;
2858
2855
  }
2859
- i.sprite && (i.image.width = 48, i.image.height = 48, i.image.Y = a, a = i.image.Y + i.image.height);
2860
- let l = i.wrap && Z.wrap, u = Z.width - Z.c4ShapePadding * 2, d = je(Z, i.typeC4Shape.text);
2861
- 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);
2862
- let f = a, p = i.label.width;
2863
- 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(t, i, Z);
2856
+ r.sprite && (r.image.width = 48, r.image.height = 48, r.image.Y = i, i = r.image.Y + r.image.height);
2857
+ let s = r.wrap && Z.wrap, l = Z.width - Z.c4ShapePadding * 2, u = Ae(Z, r.typeC4Shape.text);
2858
+ u.fontSize += 2, u.fontWeight = "bold", Q("label", r, s, u, l), r.label.Y = i + 8, i = r.label.Y + r.label.height, r.type && r.type.text !== "" ? (r.type.text = "[" + r.type.text + "]", Q("type", r, s, Ae(Z, r.typeC4Shape.text), l), r.type.Y = i + 5, i = r.type.Y + r.type.height) : r.techn && r.techn.text !== "" && (r.techn.text = "[" + r.techn.text + "]", Q("techn", r, s, Ae(Z, r.techn.text), l), r.techn.Y = i + 5, i = r.techn.Y + r.techn.height);
2859
+ let d = i, f = r.label.width;
2860
+ r.descr && r.descr.text !== "" && (Q("descr", r, s, Ae(Z, r.typeC4Shape.text), l), r.descr.Y = i + 20, i = r.descr.Y + r.descr.height, f = Math.max(r.label.width, r.descr.width), d = i - r.descr.textLines * 5), f += Z.c4ShapePadding, r.width = Math.max(r.width || Z.width, f, Z.width), r.height = Math.max(r.height || Z.height, d, Z.height), r.margin = r.margin || Z.c4ShapeMargin, e.insert(r), X.drawC4Shape(t, r, Z);
2864
2861
  }
2865
2862
  e.bumpLastMargin(Z.c4ShapeMargin);
2866
2863
  }, "drawC4ShapeArray"), $ = class {
2867
2864
  static {
2868
- i(this, "Point");
2865
+ t(this, "Point");
2869
2866
  }
2870
2867
  constructor(e, t) {
2871
2868
  this.x = e, this.y = t;
2872
2869
  }
2873
- }, Ie = /* @__PURE__ */ i(function(e, t) {
2870
+ }, Fe = /* @__PURE__ */ t(function(e, t) {
2874
2871
  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;
2875
2872
  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;
2876
- }, "getIntersectPoint"), Le = /* @__PURE__ */ i(function(e, t) {
2873
+ }, "getIntersectPoint"), Ie = /* @__PURE__ */ t(function(e, t) {
2877
2874
  let n = {
2878
2875
  x: 0,
2879
2876
  y: 0
2880
2877
  };
2881
2878
  n.x = t.x + t.width / 2, n.y = t.y + t.height / 2;
2882
- let r = Ie(e, n);
2879
+ let r = Fe(e, n);
2883
2880
  return n.x = e.x + e.width / 2, n.y = e.y + e.height / 2, {
2884
2881
  startPoint: r,
2885
- endPoint: Ie(t, n)
2882
+ endPoint: Fe(t, n)
2886
2883
  };
2887
- }, "getIntersectPoints"), Re = /* @__PURE__ */ i(function(e, t, r, i) {
2884
+ }, "getIntersectPoints"), Le = /* @__PURE__ */ t(function(e, t, n, r, i) {
2888
2885
  let a = 0;
2889
2886
  for (let e of t) {
2890
2887
  a += 1;
2891
- let t = e.wrap && Z.wrap, o = Ne(Z);
2892
- i.db.getC4Type() === "C4Dynamic" && (e.label.text = a + ": " + e.label.text);
2893
- let s = n(e.label.text, o);
2894
- Q("label", e, t, o, s), e.techn && e.techn.text !== "" && (s = n(e.techn.text, o), Q("techn", e, t, o, s)), e.descr && e.descr.text !== "" && (s = n(e.descr.text, o), Q("descr", e, t, o, s));
2895
- let l = Le(r(e.from), r(e.to));
2896
- e.startPoint = l.startPoint, e.endPoint = l.endPoint;
2888
+ let t = e.wrap && Z.wrap, i = Me(Z);
2889
+ r.db.getC4Type() === "C4Dynamic" && (e.label.text = a + ": " + e.label.text);
2890
+ let o = g(e.label.text, i);
2891
+ Q("label", e, t, i, o), e.techn && e.techn.text !== "" && (o = g(e.techn.text, i), Q("techn", e, t, i, o)), e.descr && e.descr.text !== "" && (o = g(e.descr.text, i), Q("descr", e, t, i, o));
2892
+ let s = Ie(n(e.from), n(e.to));
2893
+ e.startPoint = s.startPoint, e.endPoint = s.endPoint;
2897
2894
  }
2898
- X.drawRels(e, t, Z);
2895
+ X.drawRels(e, t, Z, i);
2899
2896
  }, "drawRels");
2900
- function ze(e, t, n, r, i) {
2901
- let a = new ke(i);
2902
- a.data.widthLimit = n.data.widthLimit / Math.min(Oe, r.length);
2897
+ function Re(e, t, n, r, i) {
2898
+ let a = new Oe(i);
2899
+ a.data.widthLimit = n.data.widthLimit / Math.min(De, r.length);
2903
2900
  for (let [o, s] of r.entries()) {
2904
2901
  let r = 0;
2905
2902
  s.image = {
@@ -2907,12 +2904,12 @@ function ze(e, t, n, r, i) {
2907
2904
  height: 0,
2908
2905
  Y: 0
2909
2906
  }, s.sprite && (s.image.width = 48, s.image.height = 48, s.image.Y = r, r = s.image.Y + s.image.height);
2910
- let l = s.wrap && Z.wrap, u = Me(Z);
2911
- if (u.fontSize += 2, u.fontWeight = "bold", Q("label", s, l, u, a.data.widthLimit), s.label.Y = r + 8, r = s.label.Y + s.label.height, s.type && s.type.text !== "" && (s.type.text = "[" + s.type.text + "]", Q("type", s, l, Me(Z), a.data.widthLimit), s.type.Y = r + 5, r = s.type.Y + s.type.height), s.descr && s.descr.text !== "") {
2912
- let e = Me(Z);
2907
+ let l = s.wrap && Z.wrap, u = je(Z);
2908
+ if (u.fontSize += 2, u.fontWeight = "bold", Q("label", s, l, u, a.data.widthLimit), s.label.Y = r + 8, r = s.label.Y + s.label.height, s.type && s.type.text !== "" && (s.type.text = "[" + s.type.text + "]", Q("type", s, l, je(Z), a.data.widthLimit), s.type.Y = r + 5, r = s.type.Y + s.type.height), s.descr && s.descr.text !== "") {
2909
+ let e = je(Z);
2913
2910
  e.fontSize -= 2, Q("descr", s, l, e, a.data.widthLimit), s.descr.Y = r + 20, r = s.descr.Y + s.descr.height;
2914
2911
  }
2915
- if (o == 0 || o % Oe === 0) {
2912
+ if (o == 0 || o % De === 0) {
2916
2913
  let e = n.data.startx + Z.diagramMarginX, t = n.data.stopy + Z.diagramMarginY + r;
2917
2914
  a.setData(e, e, t, t);
2918
2915
  } else {
@@ -2921,47 +2918,47 @@ function ze(e, t, n, r, i) {
2921
2918
  }
2922
2919
  a.name = s.alias;
2923
2920
  let d = i.db.getC4ShapeArray(s.alias), f = i.db.getC4ShapeKeys(s.alias);
2924
- f.length > 0 && Fe(a, e, d, f), t = s.alias;
2921
+ f.length > 0 && Pe(a, e, d, f), t = s.alias;
2925
2922
  let p = i.db.getBoundaries(t);
2926
- 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);
2923
+ p.length > 0 && Re(e, t, a, p, i), s.alias !== "global" && Ne(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), we = Math.max(we, n.data.stopx), Te = Math.max(Te, n.data.stopy);
2927
2924
  }
2928
2925
  }
2929
- i(ze, "drawInsideBoundary");
2930
- var Be = {
2931
- drawPersonOrSystemArray: Fe,
2932
- drawBoundary: Pe,
2933
- setConf: Ae,
2934
- draw: /* @__PURE__ */ i(function(t, n, r, i) {
2935
- Z = d().c4;
2936
- let o = d().securityLevel, s;
2937
- o === "sandbox" && (s = e("#i" + n));
2938
- let l = e(o === "sandbox" ? s.nodes()[0].contentDocument.body : "body"), u = i.db;
2939
- i.db.setWrap(Z.wrap), De = u.getC4ShapeInRow(), Oe = u.getC4BoundaryInRow(), a.debug(`C:${JSON.stringify(Z, null, 2)}`);
2940
- let p = o === "sandbox" ? l.select(`[id="${n}"]`) : e(`[id="${n}"]`);
2941
- X.insertComputerIcon(p), X.insertDatabaseIcon(p), X.insertClockIcon(p);
2942
- let m = new ke(i);
2943
- m.setData(Z.diagramMarginX, Z.diagramMarginX, Z.diagramMarginY, Z.diagramMarginY), m.data.widthLimit = screen.availWidth, Te = Z.diagramMarginX, Ee = Z.diagramMarginY;
2944
- let h = i.db.getTitle();
2945
- 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;
2926
+ t(Re, "drawInsideBoundary");
2927
+ var ze = {
2928
+ drawPersonOrSystemArray: Pe,
2929
+ drawBoundary: Ne,
2930
+ setConf: ke,
2931
+ draw: /* @__PURE__ */ t(function(t, r, i, o) {
2932
+ Z = u().c4;
2933
+ let s = u().securityLevel, l;
2934
+ s === "sandbox" && (l = e("#i" + r));
2935
+ let d = e(s === "sandbox" ? l.nodes()[0].contentDocument.body : "body"), f = o.db;
2936
+ o.db.setWrap(Z.wrap), Ee = f.getC4ShapeInRow(), De = f.getC4BoundaryInRow(), n.debug(`C:${JSON.stringify(Z, null, 2)}`);
2937
+ let p = s === "sandbox" ? d.select(`[id="${r}"]`) : e(`[id="${r}"]`);
2938
+ X.insertComputerIcon(p, r), X.insertDatabaseIcon(p, r), X.insertClockIcon(p, r);
2939
+ let m = new Oe(o);
2940
+ m.setData(Z.diagramMarginX, Z.diagramMarginX, Z.diagramMarginY, Z.diagramMarginY), m.data.widthLimit = screen.availWidth, we = Z.diagramMarginX, Te = Z.diagramMarginY;
2941
+ let h = o.db.getTitle();
2942
+ Re(p, "", m, o.db.getBoundaries(""), o), X.insertArrowHead(p, r), X.insertArrowEnd(p, r), X.insertArrowCrossHead(p, r), X.insertArrowFilledHead(p, r), Le(p, o.db.getRels(), o.db.getC4Shape, o, r), m.data.stopx = we, m.data.stopy = Te;
2946
2943
  let g = m.data, _ = g.stopy - g.starty + 2 * Z.diagramMarginY, v = g.stopx - g.startx + 2 * Z.diagramMarginX;
2947
- 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);
2944
+ h && p.append("text").text(h).attr("x", (g.stopx - g.startx) / 2 - 4 * Z.diagramMarginX).attr("y", g.starty + Z.diagramMarginY), a(p, _, v, Z.useMaxWidth);
2948
2945
  let y = h ? 60 : 0;
2949
- p.attr("viewBox", g.startx - Z.diagramMarginX + " -" + (Z.diagramMarginY + y) + " " + v + " " + (_ + y)), a.debug("models:", g);
2946
+ p.attr("viewBox", g.startx - Z.diagramMarginX + " -" + (Z.diagramMarginY + y) + " " + v + " " + (_ + y)), n.debug("models:", g);
2950
2947
  }, "draw")
2951
- }, Ve = {
2948
+ }, Be = {
2952
2949
  parser: x,
2953
2950
  db: ue,
2954
- renderer: Be,
2955
- styles: /* @__PURE__ */ i((e) => `.person {
2951
+ renderer: ze,
2952
+ styles: /* @__PURE__ */ t((e) => `.person {
2956
2953
  stroke: ${e.personBorder};
2957
2954
  fill: ${e.personBkg};
2958
2955
  }
2959
2956
  `, "getStyles"),
2960
- init: /* @__PURE__ */ i(({ c4: e, wrap: t }) => {
2961
- Be.setConf(e), ue.setWrap(t);
2957
+ init: /* @__PURE__ */ t(({ c4: e, wrap: t }) => {
2958
+ ze.setConf(e), ue.setWrap(t);
2962
2959
  }, "init")
2963
2960
  };
2964
2961
  //#endregion
2965
- export { Ve as diagram };
2962
+ export { Be as diagram };
2966
2963
 
2967
- //# sourceMappingURL=c4Diagram-IC4MRINW-OFLrunYI.js.map
2964
+ //# sourceMappingURL=c4Diagram-AAUBKEIU-G8g3OBBg.js.map