@countermeasure-platform/web-components 1.2.1-dev.6.1 → 1.2.2-dev.7.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 (302) 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-Dye0I6sO.js +145 -0
  79. package/dist/component-Dye0I6sO.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/info-J43DQDTF-DDmtkMBG.js +3 -0
  121. package/dist/{infoDiagram-LFFYTUFH-DajJJRvc.js → infoDiagram-5YYISTIA-C0TqWTrr.js} +7 -7
  122. package/dist/{infoDiagram-LFFYTUFH-DajJJRvc.js.map → infoDiagram-5YYISTIA-C0TqWTrr.js.map} +1 -1
  123. package/dist/{init-DcLTaNW1.js → init-CGzIZb6J.js} +1 -1
  124. package/dist/{init-DcLTaNW1.js.map → init-CGzIZb6J.js.map} +1 -1
  125. package/dist/{ishikawaDiagram-PHBUUO56-qHBJm2LT.js → ishikawaDiagram-YF4QCWOH-Cyk_Antz.js} +98 -97
  126. package/dist/ishikawaDiagram-YF4QCWOH-Cyk_Antz.js.map +1 -0
  127. package/dist/{journeyDiagram-4ABVD52K-PgfYdoDM.js → journeyDiagram-JHISSGLW-CTl8eDDe.js} +78 -78
  128. package/dist/journeyDiagram-JHISSGLW-CTl8eDDe.js.map +1 -0
  129. package/dist/{kanban-definition-K7BYSVSG-DFRT8j7A.js → kanban-definition-UN3LZRKU-homeDoHF.js} +46 -44
  130. package/dist/{kanban-definition-K7BYSVSG-DFRT8j7A.js.map → kanban-definition-UN3LZRKU-homeDoHF.js.map} +1 -1
  131. package/dist/{katex-BZdHnXin.js → katex-CgkxVokH.js} +1 -1
  132. package/dist/{katex-BZdHnXin.js.map → katex-CgkxVokH.js.map} +1 -1
  133. package/dist/line-k_aZSToM.js +36 -0
  134. package/dist/{line-Cq1AZT4f.js.map → line-k_aZSToM.js.map} +1 -1
  135. package/dist/{linear-BnJD01Xn.js → linear-Dpcbf4VP.js} +5 -5
  136. package/dist/{linear-BnJD01Xn.js.map → linear-Dpcbf4VP.js.map} +1 -1
  137. package/dist/{mermaid-parser.core-Dz5qv4CI.js → mermaid-parser.core-B_q76LYz.js} +32 -17
  138. package/dist/mermaid-parser.core-B_q76LYz.js.map +1 -0
  139. package/dist/mermaid.core-DAh-gNcn.js +997 -0
  140. package/dist/mermaid.core-DAh-gNcn.js.map +1 -0
  141. package/dist/{mindmap-definition-YRQLILUH-D95OPRMh.js → mindmap-definition-RKZ34NQL-Cjglmmr7.js} +153 -108
  142. package/dist/mindmap-definition-RKZ34NQL-Cjglmmr7.js.map +1 -0
  143. package/dist/{ordinal-CC9tfh_g.js → ordinal-DHGdAr1Y.js} +2 -2
  144. package/dist/{ordinal-CC9tfh_g.js.map → ordinal-DHGdAr1Y.js.map} +1 -1
  145. package/dist/packet-YPE3B663-Bo9N32Mb.js +3 -0
  146. package/dist/{path-y0uQCOMW.js → path-D-DDb3Wo.js} +1 -1
  147. package/dist/{path-y0uQCOMW.js.map → path-D-DDb3Wo.js.map} +1 -1
  148. package/dist/pie-LRSECV5Y-DndCyILX.js +3 -0
  149. package/dist/pieDiagram-4H26LBE5-Swbny_uk.js +167 -0
  150. package/dist/pieDiagram-4H26LBE5-Swbny_uk.js.map +1 -0
  151. package/dist/{quadrantDiagram-337W2JSQ-CcKc-h2o.js → quadrantDiagram-W4KKPZXB-kyt1iJkC.js} +359 -332
  152. package/dist/quadrantDiagram-W4KKPZXB-kyt1iJkC.js.map +1 -0
  153. package/dist/radar-GUYGQ44K-DpLG1fRN.js +3 -0
  154. package/dist/react/brand/index.d.ts +13 -1
  155. package/dist/react/brand/index.d.ts.map +1 -1
  156. package/dist/react/brand.js +28 -3
  157. package/dist/react/brand.js.map +1 -1
  158. package/dist/react/sidebar.d.ts +22 -1
  159. package/dist/react/sidebar.d.ts.map +1 -1
  160. package/dist/react/sidebar.js +26 -2
  161. package/dist/react/sidebar.js.map +1 -1
  162. package/dist/react/topology.js +1 -1
  163. package/dist/react.js +100 -100
  164. package/dist/{requirementDiagram-Z7DCOOCP-aPcaPduF.js → requirementDiagram-4Y6WPE33-DWRks7dz.js} +153 -133
  165. package/dist/requirementDiagram-4Y6WPE33-DWRks7dz.js.map +1 -0
  166. package/dist/{rough.esm-C9rQ9YkE.js → rough.esm-C7tiDdBn.js} +1 -1
  167. package/dist/{rough.esm-C9rQ9YkE.js.map → rough.esm-C7tiDdBn.js.map} +1 -1
  168. package/dist/{sankeyDiagram-WA2Y5GQK-CO_lUqQX.js → sankeyDiagram-5OEKKPKP-J_SVMd-0.js} +125 -76
  169. package/dist/{sankeyDiagram-WA2Y5GQK-CO_lUqQX.js.map → sankeyDiagram-5OEKKPKP-J_SVMd-0.js.map} +1 -1
  170. package/dist/sequenceDiagram-3UESZ5HK-BMhjbe8U.js +4167 -0
  171. package/dist/sequenceDiagram-3UESZ5HK-BMhjbe8U.js.map +1 -0
  172. package/dist/sidebar/component.d.ts +4 -0
  173. package/dist/sidebar/component.d.ts.map +1 -1
  174. package/dist/sidebar/index.d.ts +1 -1
  175. package/dist/sidebar/index.d.ts.map +1 -1
  176. package/dist/sidebar/index.js +1 -1
  177. package/dist/sidebar/index.js.map +1 -1
  178. package/dist/sidebar/types.d.ts +39 -0
  179. package/dist/sidebar/types.d.ts.map +1 -1
  180. package/dist/{src-D1EMXotX.js → src-CWnvxuyh.js} +603 -591
  181. package/dist/{src-D1EMXotX.js.map → src-CWnvxuyh.js.map} +1 -1
  182. package/dist/{src-BhNgmpel.js → src-DngnQkx_.js} +4 -5
  183. package/dist/{src-BhNgmpel.js.map → src-DngnQkx_.js.map} +1 -1
  184. package/dist/stateDiagram-AJRCARHV-x4JHehDk.js +220 -0
  185. package/dist/stateDiagram-AJRCARHV-x4JHehDk.js.map +1 -0
  186. package/dist/stateDiagram-v2-BHNVJYJU-CO93vpHl.js +29 -0
  187. package/dist/{stateDiagram-v2-FVOUBMTO-CAWy0Pkh.js.map → stateDiagram-v2-BHNVJYJU-CO93vpHl.js.map} +1 -1
  188. package/dist/styles/components/brand.css +30 -0
  189. package/dist/styles/sidebar.css +495 -0
  190. package/dist/{timeline-definition-YZTLITO2-CjxxCuOg.js → timeline-definition-PNZ67QCA-rsiMN1-p.js} +517 -279
  191. package/dist/timeline-definition-PNZ67QCA-rsiMN1-p.js.map +1 -0
  192. package/dist/{topology-C8cyIHlB.js → topology-B9Lv-y1-.js} +181 -182
  193. package/dist/{topology-C8cyIHlB.js.map → topology-B9Lv-y1-.js.map} +1 -1
  194. package/dist/treeView-BLDUP644-mJdM3Q6x.js +3 -0
  195. package/dist/treemap-LRROVOQU-BbNMhR6z.js +3 -0
  196. package/dist/{value-gSPnIECy.js → value-CnwEagIg.js} +2 -2
  197. package/dist/{value-gSPnIECy.js.map → value-CnwEagIg.js.map} +1 -1
  198. package/dist/{vennDiagram-LZ73GAT5-FqpGoq2s.js → vennDiagram-CIIHVFJN-JUCgWboO.js} +98 -98
  199. package/dist/{vennDiagram-LZ73GAT5-FqpGoq2s.js.map → vennDiagram-CIIHVFJN-JUCgWboO.js.map} +1 -1
  200. package/dist/visualization/mermaid-diagram/index.js +1 -1
  201. package/dist/wardley-L42UT6IY-DB53GwcN.js +3 -0
  202. package/dist/wardleyDiagram-YWT4CUSO-D9ZPcSHL.js +646 -0
  203. package/dist/wardleyDiagram-YWT4CUSO-D9ZPcSHL.js.map +1 -0
  204. package/dist/{xychartDiagram-JWTSCODW-BNEAK79X.js → xychartDiagram-2RQKCTM6-D3ufsY0S.js} +146 -143
  205. package/dist/{xychartDiagram-JWTSCODW-BNEAK79X.js.map → xychartDiagram-2RQKCTM6-D3ufsY0S.js.map} +1 -1
  206. package/package.json +1 -1
  207. package/src/components/brand/index.ts +63 -0
  208. package/src/components/brand/types.ts +9 -0
  209. package/src/react/brand/index.test.tsx +28 -0
  210. package/src/react/brand/index.tsx +38 -0
  211. package/src/react/sidebar.test.tsx +30 -0
  212. package/src/react/sidebar.tsx +52 -1
  213. package/src/sidebar/component.test.ts +109 -0
  214. package/src/sidebar/component.ts +136 -4
  215. package/src/sidebar/index.ts +1 -0
  216. package/src/sidebar/types.ts +40 -0
  217. package/src/styles/components/brand.css +30 -0
  218. package/src/styles/sidebar.css +495 -0
  219. package/dist/_basePickBy-BQMPE4-n.js +0 -168
  220. package/dist/_basePickBy-BQMPE4-n.js.map +0 -1
  221. package/dist/_baseUniq-Bdp_vFUv.js +0 -684
  222. package/dist/_baseUniq-Bdp_vFUv.js.map +0 -1
  223. package/dist/architecture-PBZL5I3N-Zk3GmKE8.js +0 -3
  224. package/dist/blockDiagram-WCTKOSBZ-BH3jwWeU.js.map +0 -1
  225. package/dist/c4Diagram-IC4MRINW-OFLrunYI.js.map +0 -1
  226. package/dist/channel-LRbq43st.js +0 -7
  227. package/dist/chunk-7E7YKBS2-BsywoVTt.js +0 -25
  228. package/dist/chunk-7E7YKBS2-BsywoVTt.js.map +0 -1
  229. package/dist/chunk-7R4GIKGN-DJmroLCH.js +0 -2054
  230. package/dist/chunk-7R4GIKGN-DJmroLCH.js.map +0 -1
  231. package/dist/chunk-C72U2L5F-BwPwVDcP.js +0 -25
  232. package/dist/chunk-C72U2L5F-BwPwVDcP.js.map +0 -1
  233. package/dist/chunk-EGIJ26TM-DKd5cEgn.js +0 -25
  234. package/dist/chunk-EGIJ26TM-DKd5cEgn.js.map +0 -1
  235. package/dist/chunk-GEFDOKGD-DGJJEGSm.js.map +0 -1
  236. package/dist/chunk-GLR3WWYH-BDwmgwCA.js +0 -43
  237. package/dist/chunk-GLR3WWYH-BDwmgwCA.js.map +0 -1
  238. package/dist/chunk-HHEYEP7N-DJ1b-gA8.js +0 -12
  239. package/dist/chunk-KYZI473N-BXYCe83A.js +0 -3437
  240. package/dist/chunk-KYZI473N-BXYCe83A.js.map +0 -1
  241. package/dist/chunk-L3YUKLVL-Y5k8UNMf.js +0 -25
  242. package/dist/chunk-L3YUKLVL-Y5k8UNMf.js.map +0 -1
  243. package/dist/chunk-MX3YWQON-D43mcq1f.js.map +0 -1
  244. package/dist/chunk-NBPlniwU.js +0 -23
  245. package/dist/chunk-NQ4KR5QH-C0nWShNk.js.map +0 -1
  246. package/dist/chunk-O4XLMI2P-DtGEm9QX.js +0 -514
  247. package/dist/chunk-O4XLMI2P-DtGEm9QX.js.map +0 -1
  248. package/dist/chunk-OZEHJAEY-BsQ56PV-.js.map +0 -1
  249. package/dist/chunk-R5LLSJPH-c1IfaK5D.js.map +0 -1
  250. package/dist/chunk-WL4C6EOR-BV-op7zg.js.map +0 -1
  251. package/dist/chunk-XIRO2GV7-Bv1hlNLi.js +0 -32
  252. package/dist/chunk-XIRO2GV7-Bv1hlNLi.js.map +0 -1
  253. package/dist/chunk-XZSTWKYB-C7maKWEr.js +0 -15799
  254. package/dist/chunk-XZSTWKYB-C7maKWEr.js.map +0 -1
  255. package/dist/classDiagram-VBA2DB6C-DZfC0xPM.js +0 -31
  256. package/dist/classDiagram-v2-RAHNMMFH-CtWRD1ax.js +0 -31
  257. package/dist/clone-CliVdNc8.js +0 -10
  258. package/dist/clone-CliVdNc8.js.map +0 -1
  259. package/dist/component-C1Jiz1Ki.js +0 -103
  260. package/dist/component-C1Jiz1Ki.js.map +0 -1
  261. package/dist/dagre-BqC9mhMk.js +0 -1485
  262. package/dist/dagre-BqC9mhMk.js.map +0 -1
  263. package/dist/dagre-KLK3FWXG-DTKcsol6.js +0 -296
  264. package/dist/dagre-KLK3FWXG-DTKcsol6.js.map +0 -1
  265. package/dist/diagram-E7M64L7V-Co7O3gub.js.map +0 -1
  266. package/dist/dist-BrNloUiz.js.map +0 -1
  267. package/dist/erDiagram-INFDFZHY-C42JeR9I.js.map +0 -1
  268. package/dist/flowDiagram-PKNHOUZH-DInJjOz3.js.map +0 -1
  269. package/dist/ganttDiagram-A5KZAMGK-Dgp-4Yss.js.map +0 -1
  270. package/dist/gitGraph-HDMCJU4V-D_QsK6Rt.js +0 -3
  271. package/dist/gitGraphDiagram-K3NZZRJ6-Dr_X0dND.js +0 -628
  272. package/dist/gitGraphDiagram-K3NZZRJ6-Dr_X0dND.js.map +0 -1
  273. package/dist/graphlib-ecencZTG.js +0 -227
  274. package/dist/graphlib-ecencZTG.js.map +0 -1
  275. package/dist/info-3K5VOQVL-BbLiZXwn.js +0 -3
  276. package/dist/isArrayLikeObject-Bjsxaqj7.js +0 -580
  277. package/dist/isArrayLikeObject-Bjsxaqj7.js.map +0 -1
  278. package/dist/isEmpty-CeZZUVts.js +0 -37
  279. package/dist/isEmpty-CeZZUVts.js.map +0 -1
  280. package/dist/ishikawaDiagram-PHBUUO56-qHBJm2LT.js.map +0 -1
  281. package/dist/journeyDiagram-4ABVD52K-PgfYdoDM.js.map +0 -1
  282. package/dist/line-Cq1AZT4f.js +0 -36
  283. package/dist/math-D4gdAuwG.js +0 -12
  284. package/dist/math-D4gdAuwG.js.map +0 -1
  285. package/dist/mermaid-parser.core-Dz5qv4CI.js.map +0 -1
  286. package/dist/mermaid.core-DTiIXVKa.js +0 -923
  287. package/dist/mermaid.core-DTiIXVKa.js.map +0 -1
  288. package/dist/mindmap-definition-YRQLILUH-D95OPRMh.js.map +0 -1
  289. package/dist/packet-RMMSAZCW-D72DRs1N.js +0 -3
  290. package/dist/pie-UPGHQEXC-C8RDLrEi.js +0 -3
  291. package/dist/pieDiagram-SKSYHLDU-BREEn_Sk.js +0 -167
  292. package/dist/pieDiagram-SKSYHLDU-BREEn_Sk.js.map +0 -1
  293. package/dist/quadrantDiagram-337W2JSQ-CcKc-h2o.js.map +0 -1
  294. package/dist/radar-KQ55EAFF-DhmvjiyN.js +0 -3
  295. package/dist/requirementDiagram-Z7DCOOCP-aPcaPduF.js.map +0 -1
  296. package/dist/sequenceDiagram-2WXFIKYE-D7Vh1Zld.js +0 -4112
  297. package/dist/sequenceDiagram-2WXFIKYE-D7Vh1Zld.js.map +0 -1
  298. package/dist/stateDiagram-RAJIS63D-DdiY5cf3.js +0 -220
  299. package/dist/stateDiagram-RAJIS63D-DdiY5cf3.js.map +0 -1
  300. package/dist/stateDiagram-v2-FVOUBMTO-CAWy0Pkh.js +0 -29
  301. package/dist/timeline-definition-YZTLITO2-CjxxCuOg.js.map +0 -1
  302. package/dist/treemap-KZPCXAKY-BvLvHb2t.js +0 -3
@@ -1,514 +0,0 @@
1
- import { w as e } from "./src-D1EMXotX.js";
2
- import { C as t, D as n, E as r, O as i, S as a, T as o, _ as s, b as c, h as l, v as u, w as d, x as f, y as p } from "./chunk-GEFDOKGD-DGJJEGSm.js";
3
- import { n as m, r as h } from "./src-BhNgmpel.js";
4
- import { b as g, w as _ } from "./chunk-7R4GIKGN-DJmroLCH.js";
5
- import { t as v } from "./line-Cq1AZT4f.js";
6
- import { n as y } from "./chunk-PU5JKC2W-DNpn_Yik.js";
7
- import { i as b, n as x, r as S, t as C } from "./chunk-MX3YWQON-D43mcq1f.js";
8
- import { n as w } from "./chunk-YBOYWFTD-DkjEOcgZ.js";
9
- import { i as T, n as ee } from "./chunk-PQ6SQG4A-Cpfc5F4u.js";
10
- import { t as E } from "./rough.esm-C9rQ9YkE.js";
11
- import { r as D } from "./chunk-KYZI473N-BXYCe83A.js";
12
- //#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-O4XLMI2P.mjs
13
- var te = /* @__PURE__ */ m((e, t, n, r, i, a) => {
14
- t.arrowTypeStart && k(e, "start", t.arrowTypeStart, n, r, i, a), t.arrowTypeEnd && k(e, "end", t.arrowTypeEnd, n, r, i, a);
15
- }, "addEdgeMarkers"), O = {
16
- arrow_cross: {
17
- type: "cross",
18
- fill: !1
19
- },
20
- arrow_point: {
21
- type: "point",
22
- fill: !0
23
- },
24
- arrow_barb: {
25
- type: "barb",
26
- fill: !0
27
- },
28
- arrow_circle: {
29
- type: "circle",
30
- fill: !1
31
- },
32
- aggregation: {
33
- type: "aggregation",
34
- fill: !1
35
- },
36
- extension: {
37
- type: "extension",
38
- fill: !1
39
- },
40
- composition: {
41
- type: "composition",
42
- fill: !0
43
- },
44
- dependency: {
45
- type: "dependency",
46
- fill: !0
47
- },
48
- lollipop: {
49
- type: "lollipop",
50
- fill: !1
51
- },
52
- only_one: {
53
- type: "onlyOne",
54
- fill: !1
55
- },
56
- zero_or_one: {
57
- type: "zeroOrOne",
58
- fill: !1
59
- },
60
- one_or_more: {
61
- type: "oneOrMore",
62
- fill: !1
63
- },
64
- zero_or_more: {
65
- type: "zeroOrMore",
66
- fill: !1
67
- },
68
- requirement_arrow: {
69
- type: "requirement_arrow",
70
- fill: !1
71
- },
72
- requirement_contains: {
73
- type: "requirement_contains",
74
- fill: !1
75
- }
76
- }, k = /* @__PURE__ */ m((e, t, n, r, i, a, o) => {
77
- let s = O[n];
78
- if (!s) {
79
- h.warn(`Unknown arrow type: ${n}`);
80
- return;
81
- }
82
- let c = `${i}_${a}-${s.type}${t === "start" ? "Start" : "End"}`;
83
- if (o && o.trim() !== "") {
84
- let n = `${c}_${o.replace(/[^\dA-Za-z]/g, "_")}`;
85
- if (!document.getElementById(n)) {
86
- let e = document.getElementById(c);
87
- if (e) {
88
- let t = e.cloneNode(!0);
89
- t.id = n, t.querySelectorAll("path, circle, line").forEach((e) => {
90
- e.setAttribute("stroke", o), s.fill && e.setAttribute("fill", o);
91
- }), e.parentNode?.appendChild(t);
92
- }
93
- }
94
- e.attr(`marker-${t}`, `url(${r}#${n})`);
95
- } else e.attr(`marker-${t}`, `url(${r}#${c})`);
96
- }, "addEdgeMarker"), ne = /* @__PURE__ */ m((e) => typeof e == "string" ? e : g()?.flowchart?.curve, "resolveEdgeCurveType"), A = /* @__PURE__ */ new Map(), j = /* @__PURE__ */ new Map(), M = /* @__PURE__ */ m(() => {
97
- A.clear(), j.clear();
98
- }, "clear"), N = /* @__PURE__ */ m((e) => e ? typeof e == "string" ? e : e.reduce((e, t) => e + ";" + t, "") : "", "getLabelStyles"), P = /* @__PURE__ */ m(async (t, n) => {
99
- let r = g(), i = _(r), { labelStyles: a } = T(n);
100
- n.labelStyle = a;
101
- let o = t.insert("g").attr("class", "edgeLabel"), s = o.insert("g").attr("class", "label").attr("data-id", n.id), c = n.labelType === "markdown", l = await y(t, n.label, {
102
- style: N(n.labelStyle),
103
- useHtmlLabels: i,
104
- addSvgBackground: !0,
105
- isNode: !1,
106
- markdown: c,
107
- width: void 0
108
- }, r);
109
- s.node().appendChild(l), h.info("abc82", n, n.labelType);
110
- let u = l.getBBox(), d = u;
111
- if (i) {
112
- let t = l.children[0], n = e(l);
113
- u = t.getBoundingClientRect(), d = u, n.attr("width", u.width), n.attr("height", u.height);
114
- } else {
115
- let t = e(l).select("text").node();
116
- t && typeof t.getBBox == "function" && (d = t.getBBox());
117
- }
118
- s.attr("transform", C(d, i)), A.set(n.id, o), n.width = u.width, n.height = u.height;
119
- let f;
120
- if (n.startLabelLeft) {
121
- let r = t.insert("g").attr("class", "edgeTerminals"), a = r.insert("g").attr("class", "inner"), o = await D(a, n.startLabelLeft, N(n.labelStyle) || "", !1, !1);
122
- f = o;
123
- let s = o.getBBox();
124
- if (i) {
125
- let t = o.children[0], n = e(o);
126
- s = t.getBoundingClientRect(), n.attr("width", s.width), n.attr("height", s.height);
127
- }
128
- a.attr("transform", C(s, i)), j.get(n.id) || j.set(n.id, {}), j.get(n.id).startLeft = r, F(f, n.startLabelLeft);
129
- }
130
- if (n.startLabelRight) {
131
- let r = t.insert("g").attr("class", "edgeTerminals"), a = r.insert("g").attr("class", "inner"), o = await D(a, n.startLabelRight, N(n.labelStyle) || "", !1, !1);
132
- f = o, a.node().appendChild(o);
133
- let s = o.getBBox();
134
- if (i) {
135
- let t = o.children[0], n = e(o);
136
- s = t.getBoundingClientRect(), n.attr("width", s.width), n.attr("height", s.height);
137
- }
138
- a.attr("transform", C(s, i)), j.get(n.id) || j.set(n.id, {}), j.get(n.id).startRight = r, F(f, n.startLabelRight);
139
- }
140
- if (n.endLabelLeft) {
141
- let r = t.insert("g").attr("class", "edgeTerminals"), a = r.insert("g").attr("class", "inner"), o = await D(a, n.endLabelLeft, N(n.labelStyle) || "", !1, !1);
142
- f = o;
143
- let s = o.getBBox();
144
- if (i) {
145
- let t = o.children[0], n = e(o);
146
- s = t.getBoundingClientRect(), n.attr("width", s.width), n.attr("height", s.height);
147
- }
148
- a.attr("transform", C(s, i)), r.node().appendChild(o), j.get(n.id) || j.set(n.id, {}), j.get(n.id).endLeft = r, F(f, n.endLabelLeft);
149
- }
150
- if (n.endLabelRight) {
151
- let r = t.insert("g").attr("class", "edgeTerminals"), a = r.insert("g").attr("class", "inner"), o = await D(a, n.endLabelRight, N(n.labelStyle) || "", !1, !1);
152
- f = o;
153
- let s = o.getBBox();
154
- if (i) {
155
- let t = o.children[0], n = e(o);
156
- s = t.getBoundingClientRect(), n.attr("width", s.width), n.attr("height", s.height);
157
- }
158
- a.attr("transform", C(s, i)), r.node().appendChild(o), j.get(n.id) || j.set(n.id, {}), j.get(n.id).endRight = r, F(f, n.endLabelRight);
159
- }
160
- return l;
161
- }, "insertEdgeLabel");
162
- function F(e, t) {
163
- _(g()) && e && (e.style.width = t.length * 9 + "px", e.style.height = "12px");
164
- }
165
- m(F, "setTerminalWidth");
166
- var I = /* @__PURE__ */ m((e, t) => {
167
- h.debug("Moving label abc88 ", e.id, e.label, A.get(e.id), t);
168
- let n = t.updatedPath ? t.updatedPath : t.originalPath, { subGraphTitleTotalMargin: r } = w(g());
169
- if (e.label) {
170
- let i = A.get(e.id), a = e.x, o = e.y;
171
- if (n) {
172
- let r = l.calcLabelPosition(n);
173
- h.debug("Moving label " + e.label + " from (", a, ",", o, ") to (", r.x, ",", r.y, ") abc88"), t.updatedPath && (a = r.x, o = r.y);
174
- }
175
- i.attr("transform", `translate(${a}, ${o + r / 2})`);
176
- }
177
- if (e.startLabelLeft) {
178
- let t = j.get(e.id).startLeft, r = e.x, i = e.y;
179
- if (n) {
180
- let t = l.calcTerminalLabelPosition(e.arrowTypeStart ? 10 : 0, "start_left", n);
181
- r = t.x, i = t.y;
182
- }
183
- t.attr("transform", `translate(${r}, ${i})`);
184
- }
185
- if (e.startLabelRight) {
186
- let t = j.get(e.id).startRight, r = e.x, i = e.y;
187
- if (n) {
188
- let t = l.calcTerminalLabelPosition(e.arrowTypeStart ? 10 : 0, "start_right", n);
189
- r = t.x, i = t.y;
190
- }
191
- t.attr("transform", `translate(${r}, ${i})`);
192
- }
193
- if (e.endLabelLeft) {
194
- let t = j.get(e.id).endLeft, r = e.x, i = e.y;
195
- if (n) {
196
- let t = l.calcTerminalLabelPosition(e.arrowTypeEnd ? 10 : 0, "end_left", n);
197
- r = t.x, i = t.y;
198
- }
199
- t.attr("transform", `translate(${r}, ${i})`);
200
- }
201
- if (e.endLabelRight) {
202
- let t = j.get(e.id).endRight, r = e.x, i = e.y;
203
- if (n) {
204
- let t = l.calcTerminalLabelPosition(e.arrowTypeEnd ? 10 : 0, "end_right", n);
205
- r = t.x, i = t.y;
206
- }
207
- t.attr("transform", `translate(${r}, ${i})`);
208
- }
209
- }, "positionEdgeLabel"), L = /* @__PURE__ */ m((e, t) => {
210
- let n = e.x, r = e.y, i = Math.abs(t.x - n), a = Math.abs(t.y - r), o = e.width / 2, s = e.height / 2;
211
- return i >= o || a >= s;
212
- }, "outsideNode"), R = /* @__PURE__ */ m((e, t, n) => {
213
- h.debug(`intersection calc abc89:
214
- outsidePoint: ${JSON.stringify(t)}
215
- insidePoint : ${JSON.stringify(n)}
216
- node : x:${e.x} y:${e.y} w:${e.width} h:${e.height}`);
217
- let r = e.x, i = e.y, a = Math.abs(r - n.x), o = e.width / 2, s = n.x < t.x ? o - a : o + a, c = e.height / 2, l = Math.abs(t.y - n.y), u = Math.abs(t.x - n.x);
218
- if (Math.abs(i - t.y) * o > Math.abs(r - t.x) * c) {
219
- let e = n.y < t.y ? t.y - c - i : i - c - t.y;
220
- s = u * e / l;
221
- let r = {
222
- x: n.x < t.x ? n.x + s : n.x - u + s,
223
- y: n.y < t.y ? n.y + l - e : n.y - l + e
224
- };
225
- return s === 0 && (r.x = t.x, r.y = t.y), u === 0 && (r.x = t.x), l === 0 && (r.y = t.y), h.debug(`abc89 top/bottom calc, Q ${l}, q ${e}, R ${u}, r ${s}`, r), r;
226
- } else {
227
- s = n.x < t.x ? t.x - o - r : r - o - t.x;
228
- let e = l * s / u, i = n.x < t.x ? n.x + u - s : n.x - u + s, a = n.y < t.y ? n.y + e : n.y - e;
229
- return h.debug(`sides calc abc89, Q ${l}, q ${e}, R ${u}, r ${s}`, {
230
- _x: i,
231
- _y: a
232
- }), s === 0 && (i = t.x, a = t.y), u === 0 && (i = t.x), l === 0 && (a = t.y), {
233
- x: i,
234
- y: a
235
- };
236
- }
237
- }, "intersection"), z = /* @__PURE__ */ m((e, t) => {
238
- h.warn("abc88 cutPathAtIntersect", e, t);
239
- let n = [], r = e[0], i = !1;
240
- return e.forEach((e) => {
241
- if (h.info("abc88 checking point", e, t), !L(t, e) && !i) {
242
- let a = R(t, r, e);
243
- h.debug("abc88 inside", e, r, a), h.debug("abc88 intersection", a, t);
244
- let o = !1;
245
- n.forEach((e) => {
246
- o ||= e.x === a.x && e.y === a.y;
247
- }), n.some((e) => e.x === a.x && e.y === a.y) ? h.warn("abc88 no intersect", a, n) : n.push(a), i = !0;
248
- } else h.warn("abc88 outside", e, r), r = e, i || n.push(e);
249
- }), h.debug("returning points", n), n;
250
- }, "cutPathAtIntersect");
251
- function B(e) {
252
- let t = [], n = [];
253
- for (let r = 1; r < e.length - 1; r++) {
254
- let i = e[r - 1], a = e[r], o = e[r + 1];
255
- (i.x === a.x && a.y === o.y && Math.abs(a.x - o.x) > 5 && Math.abs(a.y - i.y) > 5 || i.y === a.y && a.x === o.x && Math.abs(a.x - i.x) > 5 && Math.abs(a.y - o.y) > 5) && (t.push(a), n.push(r));
256
- }
257
- return {
258
- cornerPoints: t,
259
- cornerPointPositions: n
260
- };
261
- }
262
- m(B, "extractCornerPoints");
263
- var V = /* @__PURE__ */ m(function(e, t, n) {
264
- let r = t.x - e.x, i = t.y - e.y, a = n / Math.sqrt(r * r + i * i);
265
- return {
266
- x: t.x - a * r,
267
- y: t.y - a * i
268
- };
269
- }, "findAdjacentPoint"), H = /* @__PURE__ */ m(function(e) {
270
- let { cornerPointPositions: t } = B(e), n = [];
271
- for (let r = 0; r < e.length; r++) if (t.includes(r)) {
272
- let t = e[r - 1], i = e[r + 1], a = e[r], o = V(t, a, 5), s = V(i, a, 5), c = s.x - o.x, l = s.y - o.y;
273
- n.push(o);
274
- let u = Math.sqrt(2) * 2, d = {
275
- x: a.x,
276
- y: a.y
277
- };
278
- Math.abs(i.x - t.x) > 10 && Math.abs(i.y - t.y) >= 10 ? (h.debug("Corner point fixing", Math.abs(i.x - t.x), Math.abs(i.y - t.y)), d = a.x === o.x ? {
279
- x: c < 0 ? o.x - 5 + u : o.x + 5 - u,
280
- y: l < 0 ? o.y - u : o.y + u
281
- } : {
282
- x: c < 0 ? o.x - u : o.x + u,
283
- y: l < 0 ? o.y - 5 + u : o.y + 5 - u
284
- }) : h.debug("Corner point skipping fixing", Math.abs(i.x - t.x), Math.abs(i.y - t.y)), n.push(d, s);
285
- } else n.push(e[r]);
286
- return n;
287
- }, "fixCorners"), re = /* @__PURE__ */ m((e, t, n) => {
288
- let r = e - t - n, i = Math.floor(r / 4);
289
- return `0 ${t} ${Array(i).fill("2 2").join(" ")} ${n}`;
290
- }, "generateDashArray"), U = /* @__PURE__ */ m(function(m, _, y, S, C, w, T, D = !1) {
291
- let { handDrawnSeed: O } = g(), k = _.points, A = !1, j = C;
292
- var M = w;
293
- let N = [];
294
- for (let e in _.cssCompiledStyles) ee(e) || N.push(_.cssCompiledStyles[e]);
295
- h.debug("UIO intersect check", _.points, M.x, j.x), M.intersect && j.intersect && !D && (k = k.slice(1, _.points.length - 1), k.unshift(j.intersect(k[0])), h.debug("Last point UIO", _.start, "-->", _.end, k[k.length - 1], M, M.intersect(k[k.length - 1])), k.push(M.intersect(k[k.length - 1])));
296
- let P = btoa(JSON.stringify(k));
297
- _.toCluster && (h.info("to cluster abc88", y.get(_.toCluster)), k = z(_.points, y.get(_.toCluster).node), A = !0), _.fromCluster && (h.debug("from cluster abc88", y.get(_.fromCluster), JSON.stringify(k, null, 2)), k = z(k.reverse(), y.get(_.fromCluster).node).reverse(), A = !0);
298
- let F = k.filter((e) => !Number.isNaN(e.y)), I = ne(_.curve);
299
- I !== "rounded" && (F = H(F));
300
- let L = i;
301
- switch (I) {
302
- case "linear":
303
- L = i;
304
- break;
305
- case "basis":
306
- L = o;
307
- break;
308
- case "cardinal":
309
- L = d;
310
- break;
311
- case "bumpX":
312
- L = r;
313
- break;
314
- case "bumpY":
315
- L = n;
316
- break;
317
- case "catmullRom":
318
- L = t;
319
- break;
320
- case "monotoneX":
321
- L = f;
322
- break;
323
- case "monotoneY":
324
- L = a;
325
- break;
326
- case "natural":
327
- L = c;
328
- break;
329
- case "step":
330
- L = p;
331
- break;
332
- case "stepAfter":
333
- L = s;
334
- break;
335
- case "stepBefore":
336
- L = u;
337
- break;
338
- case "rounded":
339
- L = i;
340
- break;
341
- default: L = o;
342
- }
343
- let { x: R, y: B } = x(_), V = v().x(R).y(B).curve(L), U;
344
- switch (_.thickness) {
345
- case "normal":
346
- U = "edge-thickness-normal";
347
- break;
348
- case "thick":
349
- U = "edge-thickness-thick";
350
- break;
351
- case "invisible":
352
- U = "edge-thickness-invisible";
353
- break;
354
- default: U = "edge-thickness-normal";
355
- }
356
- switch (_.pattern) {
357
- case "solid":
358
- U += " edge-pattern-solid";
359
- break;
360
- case "dotted":
361
- U += " edge-pattern-dotted";
362
- break;
363
- case "dashed":
364
- U += " edge-pattern-dashed";
365
- break;
366
- default: U += " edge-pattern-solid";
367
- }
368
- let G, q = I === "rounded" ? W(K(F, _), 5) : V(F), J = Array.isArray(_.style) ? _.style : [_.style], Y = J.find((e) => e?.startsWith("stroke:")), X = "";
369
- _.animate && (X = "edge-animation-fast"), _.animation && (X = "edge-animation-" + _.animation);
370
- let Z = !1;
371
- if (_.look === "handDrawn") {
372
- let t = E.svg(m);
373
- Object.assign([], F);
374
- let n = t.path(q, {
375
- roughness: .3,
376
- seed: O
377
- });
378
- U += " transition", G = e(n).select("path").attr("id", _.id).attr("class", " " + U + (_.classes ? " " + _.classes : "") + (X ? " " + X : "")).attr("style", J ? J.reduce((e, t) => e + ";" + t, "") : "");
379
- let r = G.attr("d");
380
- G.attr("d", r), m.node().appendChild(G.node());
381
- } else {
382
- let e = N.join(";"), t = J ? J.reduce((e, t) => e + t + ";", "") : "", n = (e ? e + ";" + t + ";" : t) + ";" + (J ? J.reduce((e, t) => e + ";" + t, "") : "");
383
- G = m.append("path").attr("d", q).attr("id", _.id).attr("class", " " + U + (_.classes ? " " + _.classes : "") + (X ? " " + X : "")).attr("style", n), Y = n.match(/stroke:([^;]+)/)?.[1], Z = _.animate === !0 || !!_.animation || e.includes("animation");
384
- let r = G.node(), i = typeof r.getTotalLength == "function" ? r.getTotalLength() : 0, a = b[_.arrowTypeStart] || 0, o = b[_.arrowTypeEnd] || 0;
385
- if (_.look === "neo" && !Z) {
386
- let e = `stroke-dasharray: ${_.pattern === "dotted" || _.pattern === "dashed" ? re(i, a, o) : `0 ${a} ${i - a - o} ${o}`}; stroke-dashoffset: 0;`;
387
- G.attr("style", e + G.attr("style"));
388
- }
389
- }
390
- G.attr("data-edge", !0), G.attr("data-et", "edge"), G.attr("data-id", _.id), G.attr("data-points", P), _.showPoints && F.forEach((e) => {
391
- m.append("circle").style("stroke", "red").style("fill", "red").attr("r", 1).attr("cx", e.x).attr("cy", e.y);
392
- });
393
- let Q = "";
394
- (g().flowchart.arrowMarkerAbsolute || g().state.arrowMarkerAbsolute) && (Q = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, Q = Q.replace(/\(/g, "\\(").replace(/\)/g, "\\)")), h.info("arrowTypeStart", _.arrowTypeStart), h.info("arrowTypeEnd", _.arrowTypeEnd), te(G, _, Q, T, S, Y);
395
- let ie = Math.floor(k.length / 2), ae = k[ie];
396
- l.isLabelCoordinateInPath(ae, G.attr("d")) || (A = !0);
397
- let $ = {};
398
- return A && ($.updatedPath = k), $.originalPath = _.points, $;
399
- }, "insertEdge");
400
- function W(e, t) {
401
- if (e.length < 2) return "";
402
- let n = "", r = e.length, i = 1e-5;
403
- for (let a = 0; a < r; a++) {
404
- let o = e[a], s = e[a - 1], c = e[a + 1];
405
- if (a === 0) n += `M${o.x},${o.y}`;
406
- else if (a === r - 1) n += `L${o.x},${o.y}`;
407
- else {
408
- let e = o.x - s.x, r = o.y - s.y, a = c.x - o.x, l = c.y - o.y, u = Math.hypot(e, r), d = Math.hypot(a, l);
409
- if (u < i || d < i) {
410
- n += `L${o.x},${o.y}`;
411
- continue;
412
- }
413
- let f = e / u, p = r / u, m = a / d, h = l / d, g = f * m + p * h, _ = Math.acos(Math.max(-1, Math.min(1, g)));
414
- if (_ < i || Math.abs(Math.PI - _) < i) {
415
- n += `L${o.x},${o.y}`;
416
- continue;
417
- }
418
- let v = Math.min(t / Math.sin(_ / 2), u / 2, d / 2), y = o.x - f * v, b = o.y - p * v, x = o.x + m * v, S = o.y + h * v;
419
- n += `L${y},${b}`, n += `Q${o.x},${o.y} ${x},${S}`;
420
- }
421
- }
422
- return n;
423
- }
424
- m(W, "generateRoundedPath");
425
- function G(e, t) {
426
- if (!e || !t) return {
427
- angle: 0,
428
- deltaX: 0,
429
- deltaY: 0
430
- };
431
- let n = t.x - e.x, r = t.y - e.y;
432
- return {
433
- angle: Math.atan2(r, n),
434
- deltaX: n,
435
- deltaY: r
436
- };
437
- }
438
- m(G, "calculateDeltaAndAngle");
439
- function K(e, t) {
440
- let n = e.map((e) => ({ ...e }));
441
- if (e.length >= 2 && S[t.arrowTypeStart]) {
442
- let r = S[t.arrowTypeStart], i = e[0], a = e[1], { angle: o } = G(i, a), s = r * Math.cos(o), c = r * Math.sin(o);
443
- n[0].x = i.x + s, n[0].y = i.y + c;
444
- }
445
- let r = e.length;
446
- if (r >= 2 && S[t.arrowTypeEnd]) {
447
- let i = S[t.arrowTypeEnd], a = e[r - 1], o = e[r - 2], { angle: s } = G(o, a), c = i * Math.cos(s), l = i * Math.sin(s);
448
- n[r - 1].x = a.x - c, n[r - 1].y = a.y - l;
449
- }
450
- return n;
451
- }
452
- m(K, "applyMarkerOffsetsToPoints");
453
- var q = /* @__PURE__ */ m((e, t, n, r) => {
454
- t.forEach((t) => {
455
- J[t](e, n, r);
456
- });
457
- }, "insertMarkers"), J = {
458
- extension: /* @__PURE__ */ m((e, t, n) => {
459
- h.trace("Making markers for ", n), e.append("defs").append("marker").attr("id", n + "_" + t + "-extensionStart").attr("class", "marker extension " + t).attr("refX", 18).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 1,7 L18,13 V 1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-extensionEnd").attr("class", "marker extension " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 1,1 V 13 L18,7 Z");
460
- }, "extension"),
461
- composition: /* @__PURE__ */ m((e, t, n) => {
462
- e.append("defs").append("marker").attr("id", n + "_" + t + "-compositionStart").attr("class", "marker composition " + t).attr("refX", 18).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-compositionEnd").attr("class", "marker composition " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z");
463
- }, "composition"),
464
- aggregation: /* @__PURE__ */ m((e, t, n) => {
465
- e.append("defs").append("marker").attr("id", n + "_" + t + "-aggregationStart").attr("class", "marker aggregation " + t).attr("refX", 18).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-aggregationEnd").attr("class", "marker aggregation " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z");
466
- }, "aggregation"),
467
- dependency: /* @__PURE__ */ m((e, t, n) => {
468
- e.append("defs").append("marker").attr("id", n + "_" + t + "-dependencyStart").attr("class", "marker dependency " + t).attr("refX", 6).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 5,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-dependencyEnd").attr("class", "marker dependency " + t).attr("refX", 13).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");
469
- }, "dependency"),
470
- lollipop: /* @__PURE__ */ m((e, t, n) => {
471
- e.append("defs").append("marker").attr("id", n + "_" + t + "-lollipopStart").attr("class", "marker lollipop " + t).attr("refX", 13).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("circle").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6), e.append("defs").append("marker").attr("id", n + "_" + t + "-lollipopEnd").attr("class", "marker lollipop " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("circle").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6);
472
- }, "lollipop"),
473
- point: /* @__PURE__ */ m((e, t, n) => {
474
- e.append("marker").attr("id", n + "_" + t + "-pointEnd").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", 5).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 8).attr("markerHeight", 8).attr("orient", "auto").append("path").attr("d", "M 0 0 L 10 5 L 0 10 z").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-pointStart").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", 4.5).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 8).attr("markerHeight", 8).attr("orient", "auto").append("path").attr("d", "M 0 5 L 10 10 L 10 0 z").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0");
475
- }, "point"),
476
- circle: /* @__PURE__ */ m((e, t, n) => {
477
- e.append("marker").attr("id", n + "_" + t + "-circleEnd").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", 11).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("circle").attr("cx", "5").attr("cy", "5").attr("r", "5").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-circleStart").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", -1).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("circle").attr("cx", "5").attr("cy", "5").attr("r", "5").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0");
478
- }, "circle"),
479
- cross: /* @__PURE__ */ m((e, t, n) => {
480
- e.append("marker").attr("id", n + "_" + t + "-crossEnd").attr("class", "marker cross " + t).attr("viewBox", "0 0 11 11").attr("refX", 12).attr("refY", 5.2).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("path").attr("d", "M 1,1 l 9,9 M 10,1 l -9,9").attr("class", "arrowMarkerPath").style("stroke-width", 2).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-crossStart").attr("class", "marker cross " + t).attr("viewBox", "0 0 11 11").attr("refX", -1).attr("refY", 5.2).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("path").attr("d", "M 1,1 l 9,9 M 10,1 l -9,9").attr("class", "arrowMarkerPath").style("stroke-width", 2).style("stroke-dasharray", "1,0");
481
- }, "cross"),
482
- barb: /* @__PURE__ */ m((e, t, n) => {
483
- e.append("defs").append("marker").attr("id", n + "_" + t + "-barbEnd").attr("refX", 19).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 14).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto").append("path").attr("d", "M 19,7 L9,13 L14,7 L9,1 Z");
484
- }, "barb"),
485
- only_one: /* @__PURE__ */ m((e, t, n) => {
486
- e.append("defs").append("marker").attr("id", n + "_" + t + "-onlyOneStart").attr("class", "marker onlyOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").append("path").attr("d", "M9,0 L9,18 M15,0 L15,18"), e.append("defs").append("marker").attr("id", n + "_" + t + "-onlyOneEnd").attr("class", "marker onlyOne " + t).attr("refX", 18).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").append("path").attr("d", "M3,0 L3,18 M9,0 L9,18");
487
- }, "only_one"),
488
- zero_or_one: /* @__PURE__ */ m((e, t, n) => {
489
- let r = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrOneStart").attr("class", "marker zeroOrOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 30).attr("markerHeight", 18).attr("orient", "auto");
490
- r.append("circle").attr("fill", "white").attr("cx", 21).attr("cy", 9).attr("r", 6), r.append("path").attr("d", "M9,0 L9,18");
491
- let i = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrOneEnd").attr("class", "marker zeroOrOne " + t).attr("refX", 30).attr("refY", 9).attr("markerWidth", 30).attr("markerHeight", 18).attr("orient", "auto");
492
- i.append("circle").attr("fill", "white").attr("cx", 9).attr("cy", 9).attr("r", 6), i.append("path").attr("d", "M21,0 L21,18");
493
- }, "zero_or_one"),
494
- one_or_more: /* @__PURE__ */ m((e, t, n) => {
495
- e.append("defs").append("marker").attr("id", n + "_" + t + "-oneOrMoreStart").attr("class", "marker oneOrMore " + t).attr("refX", 18).attr("refY", 18).attr("markerWidth", 45).attr("markerHeight", 36).attr("orient", "auto").append("path").attr("d", "M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"), e.append("defs").append("marker").attr("id", n + "_" + t + "-oneOrMoreEnd").attr("class", "marker oneOrMore " + t).attr("refX", 27).attr("refY", 18).attr("markerWidth", 45).attr("markerHeight", 36).attr("orient", "auto").append("path").attr("d", "M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18");
496
- }, "one_or_more"),
497
- zero_or_more: /* @__PURE__ */ m((e, t, n) => {
498
- let r = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrMoreStart").attr("class", "marker zeroOrMore " + t).attr("refX", 18).attr("refY", 18).attr("markerWidth", 57).attr("markerHeight", 36).attr("orient", "auto");
499
- r.append("circle").attr("fill", "white").attr("cx", 48).attr("cy", 18).attr("r", 6), r.append("path").attr("d", "M0,18 Q18,0 36,18 Q18,36 0,18");
500
- let i = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrMoreEnd").attr("class", "marker zeroOrMore " + t).attr("refX", 39).attr("refY", 18).attr("markerWidth", 57).attr("markerHeight", 36).attr("orient", "auto");
501
- i.append("circle").attr("fill", "white").attr("cx", 9).attr("cy", 18).attr("r", 6), i.append("path").attr("d", "M21,18 Q39,0 57,18 Q39,36 21,18");
502
- }, "zero_or_more"),
503
- requirement_arrow: /* @__PURE__ */ m((e, t, n) => {
504
- e.append("defs").append("marker").attr("id", n + "_" + t + "-requirement_arrowEnd").attr("refX", 20).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").append("path").attr("d", "M0,0\n L20,10\n M20,10\n L0,20");
505
- }, "requirement_arrow"),
506
- requirement_contains: /* @__PURE__ */ m((e, t, n) => {
507
- let r = e.append("defs").append("marker").attr("id", n + "_" + t + "-requirement_containsStart").attr("refX", 0).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").append("g");
508
- r.append("circle").attr("cx", 10).attr("cy", 10).attr("r", 9).attr("fill", "none"), r.append("line").attr("x1", 1).attr("x2", 19).attr("y1", 10).attr("y2", 10), r.append("line").attr("y1", 1).attr("y2", 19).attr("x1", 10).attr("x2", 10);
509
- }, "requirement_contains")
510
- }, Y = q;
511
- //#endregion
512
- export { I as a, Y as i, U as n, P as r, M as t };
513
-
514
- //# sourceMappingURL=chunk-O4XLMI2P-DtGEm9QX.js.map