@sme.up/ketchup2 2.2.0 → 2.4.0

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 (394) hide show
  1. package/dist/{arc-Klgb378K.js → arc-D80gVCcI.js} +2 -2
  2. package/dist/{arc-CqG9Hxdf.cjs → arc-MUYNnJxV.cjs} +1 -1
  3. package/dist/architecture-7EHR7CIX-Bnyu5zgG.js +3 -0
  4. package/dist/architecture-7EHR7CIX-CKF7-4kH.cjs +1 -0
  5. package/dist/architectureDiagram-3BPJPVTR-BrmPrClJ.cjs +36 -0
  6. package/dist/{architectureDiagram-Q4EWVU46-CnzjcVBn.js → architectureDiagram-3BPJPVTR-EFK4DMha.js} +167 -166
  7. package/dist/assets/svg/barcode.svg +1 -0
  8. package/dist/basic-components/autocomplete/autocomplete.d.ts.map +1 -1
  9. package/dist/basic-components/barcode/barcode-types.d.ts +16 -0
  10. package/dist/basic-components/barcode/barcode-types.d.ts.map +1 -0
  11. package/dist/basic-components/barcode/barcode.d.ts +3 -0
  12. package/dist/basic-components/barcode/barcode.d.ts.map +1 -0
  13. package/dist/basic-components/cell/cell-types.d.ts +7 -0
  14. package/dist/basic-components/cell/cell-types.d.ts.map +1 -1
  15. package/dist/basic-components/cell/cell-utils.d.ts +3 -2
  16. package/dist/basic-components/cell/cell-utils.d.ts.map +1 -1
  17. package/dist/basic-components/cell/cell.d.ts.map +1 -1
  18. package/dist/basic-components/cell/tests/utils.d.ts.map +1 -1
  19. package/dist/basic-components/icon/icon.d.ts.map +1 -1
  20. package/dist/basic-components/input-number/input-number.d.ts.map +1 -1
  21. package/dist/basic-components/qr-code/corners/qr-code-corner-utils.d.ts +4 -0
  22. package/dist/basic-components/qr-code/corners/qr-code-corner-utils.d.ts.map +1 -0
  23. package/dist/basic-components/qr-code/corners/qr-code-corner.d.ts +13 -0
  24. package/dist/basic-components/qr-code/corners/qr-code-corner.d.ts.map +1 -0
  25. package/dist/basic-components/qr-code/qr-code-encoding.d.ts +9 -0
  26. package/dist/basic-components/qr-code/qr-code-encoding.d.ts.map +1 -0
  27. package/dist/basic-components/qr-code/qr-code-error-correction.d.ts +10 -0
  28. package/dist/basic-components/qr-code/qr-code-error-correction.d.ts.map +1 -0
  29. package/dist/basic-components/qr-code/qr-code-helpers.d.ts +15 -0
  30. package/dist/basic-components/qr-code/qr-code-helpers.d.ts.map +1 -0
  31. package/dist/basic-components/qr-code/qr-code-mask.d.ts +9 -0
  32. package/dist/basic-components/qr-code/qr-code-mask.d.ts.map +1 -0
  33. package/dist/basic-components/qr-code/qr-code-matrix.d.ts +3 -0
  34. package/dist/basic-components/qr-code/qr-code-matrix.d.ts.map +1 -0
  35. package/dist/basic-components/qr-code/qr-code-renderer.d.ts +8 -0
  36. package/dist/basic-components/qr-code/qr-code-renderer.d.ts.map +1 -0
  37. package/dist/basic-components/qr-code/qr-code-types.d.ts +122 -0
  38. package/dist/basic-components/qr-code/qr-code-types.d.ts.map +1 -0
  39. package/dist/basic-components/qr-code/qr-code.d.ts +8 -0
  40. package/dist/basic-components/qr-code/qr-code.d.ts.map +1 -0
  41. package/dist/basic-components/text-editor/text-editor-utils.d.ts +11 -0
  42. package/dist/basic-components/text-editor/text-editor-utils.d.ts.map +1 -1
  43. package/dist/basic-components/text-editor/text-editor.d.ts.map +1 -1
  44. package/dist/basic-components/textarea/textarea-types.d.ts +2 -2
  45. package/dist/basic-components/textarea/textarea-types.d.ts.map +1 -1
  46. package/dist/basic-components/textarea/textarea.d.ts.map +1 -1
  47. package/dist/basic-components/textfield/textfield-types.d.ts +5 -0
  48. package/dist/basic-components/textfield/textfield-types.d.ts.map +1 -1
  49. package/dist/basic-components/textfield/textfield.d.ts.map +1 -1
  50. package/dist/basic-components/tree/tree.d.ts.map +1 -1
  51. package/dist/basic-components/tree/tree.types.d.ts +6 -0
  52. package/dist/basic-components/tree/tree.types.d.ts.map +1 -1
  53. package/dist/basic-components/typography/typography-types.d.ts +1 -1
  54. package/dist/basic-components/typography/typography-types.d.ts.map +1 -1
  55. package/dist/{blockDiagram-DXYQGD6D-B0NvV2Ph.js → blockDiagram-GPEHLZMM-C3UgY0Z5.js} +999 -877
  56. package/dist/blockDiagram-GPEHLZMM-CuzoKhJT.cjs +132 -0
  57. package/dist/{c4Diagram-AHTNJAMY-Dgwv-e5O.cjs → c4Diagram-AAUBKEIU-DU8uXbgK.cjs} +6 -6
  58. package/dist/{c4Diagram-AHTNJAMY-DPijI3_r.js → c4Diagram-AAUBKEIU-klnmEOUo.js} +279 -279
  59. package/dist/channel-BbRDdbmM.js +5 -0
  60. package/dist/channel-intTktDQ.cjs +1 -0
  61. package/dist/chunk-2J33WTMH-EmvF7iYC.js +25 -0
  62. package/dist/chunk-2J33WTMH-PlcpVW8G.cjs +1 -0
  63. package/dist/{chunk-5FUZZQ4R-D3C0F0Tr.js → chunk-3OPIFGDE-C7wE5oN7.js} +957 -929
  64. package/dist/chunk-3OPIFGDE-CT5oNC5X.cjs +62 -0
  65. package/dist/{chunk-4BX2VUAB-BW54-JWg.js → chunk-4BX2VUAB-BO1KRGb1.js} +1 -1
  66. package/dist/{chunk-4BX2VUAB-Qba52sxc.cjs → chunk-4BX2VUAB-CtDGlaPx.cjs} +1 -1
  67. package/dist/{chunk-7N4EOEYR-C-GuhRgW.js → chunk-4EGX6M5U-BMVrizoY.js} +12 -12
  68. package/dist/{chunk-7N4EOEYR-jNBQwvHx.cjs → chunk-4EGX6M5U-VENLmgBt.cjs} +1 -1
  69. package/dist/{chunk-55IACEB6-DPatBzu7.cjs → chunk-55IACEB6-VJP3Osm7.cjs} +1 -1
  70. package/dist/{chunk-55IACEB6-Bu3k0Yz5.js → chunk-55IACEB6-b_Ivgrk-.js} +1 -1
  71. package/dist/chunk-5DO6E6H7-Cx6Mfbjl.cjs +1 -0
  72. package/dist/chunk-5DO6E6H7-QuTLwcim.js +23 -0
  73. package/dist/chunk-5ZQYHXKU-BMnKD7Zq.cjs +2 -0
  74. package/dist/{chunk-5PVQY5BW-Dn8n6moB.js → chunk-5ZQYHXKU-C4uam08j.js} +527 -461
  75. package/dist/chunk-727SXJPM-DTmqhRKX.cjs +206 -0
  76. package/dist/{chunk-4TB4RGXK-D2LRzcEP.js → chunk-727SXJPM-Dof0vDVV.js} +650 -554
  77. package/dist/{chunk-OYMX7WX6-CrK-lehh.cjs → chunk-AQP2D5EJ-DdWeFQ4O.cjs} +5 -5
  78. package/dist/{chunk-OYMX7WX6-DJkGVCqi.js → chunk-AQP2D5EJ-N9ii4fwJ.js} +349 -339
  79. package/dist/{chunk-LIHQZDEY-59I4-LWb.js → chunk-BR22UD5L-CS6hURQQ.js} +15 -15
  80. package/dist/{chunk-LIHQZDEY-CrogR3nT.cjs → chunk-BR22UD5L-wI1vkyAT.cjs} +1 -1
  81. package/dist/{chunk-BSJP7CBP-oNTXVRA7.js → chunk-BSJP7CBP-Bx5APwBA.js} +1 -1
  82. package/dist/{chunk-BSJP7CBP-CFzYPvgr.cjs → chunk-BSJP7CBP-CaeBFqNU.cjs} +1 -1
  83. package/dist/{chunk-ICPOFSXX-fQJ5ufMR.js → chunk-CSCIHK7Q-9WKhcDqw.js} +132 -38
  84. package/dist/chunk-CSCIHK7Q-BPMuICCz.cjs +123 -0
  85. package/dist/chunk-FHYWG6QK-CfRqYwCI.js +23 -0
  86. package/dist/chunk-FHYWG6QK-DxmnARsZ.cjs +1 -0
  87. package/dist/{chunk-FMBD7UC4-RRSc9jqt.js → chunk-FMBD7UC4-BbggSGOg.js} +1 -1
  88. package/dist/{chunk-FMBD7UC4-CS9_r76V.cjs → chunk-FMBD7UC4-CiO_59ls.cjs} +1 -1
  89. package/dist/{chunk-ENJZ2VHE-CZ7BvL2h.js → chunk-KSCS5N6A-BY1s4eGg.js} +205 -205
  90. package/dist/chunk-KSCS5N6A-DO8jEi0y.cjs +10 -0
  91. package/dist/{chunk-ZZ45TVLE-BfSqZnT4.cjs → chunk-L5ZTLDWV-BE9udiOh.cjs} +1 -1
  92. package/dist/{chunk-ZZ45TVLE-X2jolXSO.js → chunk-L5ZTLDWV-D3UwMopa.js} +8 -8
  93. package/dist/{chunk-336JU56O-DQhIGd25.cjs → chunk-LZXEDZCA-Dpz_wx3M.cjs} +1 -1
  94. package/dist/{chunk-336JU56O-DkZvWJVe.js → chunk-LZXEDZCA-KzBFuWPU.js} +18 -18
  95. package/dist/chunk-MPE355IW-4bpROspE.js +23 -0
  96. package/dist/chunk-MPE355IW-CxPw_dPP.cjs +1 -0
  97. package/dist/chunk-MZUSXYTE-DA5mUG5B.js +30 -0
  98. package/dist/chunk-MZUSXYTE-DIg1BPts.cjs +1 -0
  99. package/dist/chunk-N66VUXT2-DSbygtq1.cjs +1 -0
  100. package/dist/chunk-N66VUXT2-pDZ1b-B3.js +54 -0
  101. package/dist/{chunk-YZCP3GAM-D6P3SWmL.js → chunk-ND2GUHAM-CHTke4K8.js} +17 -17
  102. package/dist/{chunk-YZCP3GAM-qxaNo0r8.cjs → chunk-ND2GUHAM-DdBSZTft.cjs} +1 -1
  103. package/dist/chunk-NNHCCRGN-D_orSz6n.js +20630 -0
  104. package/dist/chunk-NNHCCRGN-aKMHXBzL.cjs +159 -0
  105. package/dist/{chunk-X2U36JSP-VxRY65ea.js → chunk-NZK2D7GU-BVOINLmx.js} +13 -13
  106. package/dist/{chunk-X2U36JSP-CtXjVqek.cjs → chunk-NZK2D7GU-_twqedIe.cjs} +1 -1
  107. package/dist/{chunk-U2HBQHQK-CJ77uizk.cjs → chunk-O5CBEL6O-CDvi2oZo.cjs} +6 -6
  108. package/dist/{chunk-U2HBQHQK-Ceyeq0IV.js → chunk-O5CBEL6O-VsMF4aZB.js} +108 -108
  109. package/dist/chunk-PUPMXCY4-CKjhJQnN.js +23 -0
  110. package/dist/chunk-PUPMXCY4-DsS_t57r.cjs +1 -0
  111. package/dist/{chunk-QZHKN3VN-CSMKL2rB.cjs → chunk-QZHKN3VN-CHjRGMI2.cjs} +1 -1
  112. package/dist/{chunk-QZHKN3VN-Bx8I6l3c.js → chunk-QZHKN3VN-DCddt14Q.js} +1 -1
  113. package/dist/chunk-UIBZB4QT-BZf7vqd9.cjs +1 -0
  114. package/dist/chunk-UIBZB4QT-BvFllM0Q.js +23 -0
  115. package/dist/chunk-WCWK7LTN-D_C1as0Y.js +31 -0
  116. package/dist/chunk-WCWK7LTN-Dl2uC9ZD.cjs +1 -0
  117. package/dist/chunk-WU5MYG2G-DgyP9QDj.cjs +1 -0
  118. package/dist/chunk-WU5MYG2G-mQn7Wt-i.js +9 -0
  119. package/dist/{chunk-XPW4576I-BcWkx-AL.js → chunk-XPW4576I-BCowsgDU.js} +1 -1
  120. package/dist/{chunk-XPW4576I-D8Pp6a3j.cjs → chunk-XPW4576I-D_mwgMVU.cjs} +1 -1
  121. package/dist/classDiagram-4FO5ZUOK-5DyhpZRK.cjs +1 -0
  122. package/dist/classDiagram-4FO5ZUOK-BHGLQIkz.js +29 -0
  123. package/dist/classDiagram-v2-Q7XG4LA2-CCAbBo05.js +29 -0
  124. package/dist/classDiagram-v2-Q7XG4LA2-D4TX4CLT.cjs +1 -0
  125. package/dist/components/dash-list/assets/dash-list.data.d.ts +1 -0
  126. package/dist/components/dash-list/assets/dash-list.data.d.ts.map +1 -1
  127. package/dist/components/dash-list/dash-list-types.d.ts +1 -0
  128. package/dist/components/dash-list/dash-list-types.d.ts.map +1 -1
  129. package/dist/components/dash-list/dash-list.d.ts.map +1 -1
  130. package/dist/components/dash-list/dash-list.utils.d.ts +1 -3
  131. package/dist/components/dash-list/dash-list.utils.d.ts.map +1 -1
  132. package/dist/components/field/field-types.d.ts +6 -0
  133. package/dist/components/field/field-types.d.ts.map +1 -1
  134. package/dist/components/field/field.d.ts.map +1 -1
  135. package/dist/components/htm/htm-types.d.ts +4 -0
  136. package/dist/components/htm/htm-types.d.ts.map +1 -1
  137. package/dist/components/htm/htm.d.ts.map +1 -1
  138. package/dist/components/image-list/components/items/image-list-item.d.ts.map +1 -1
  139. package/dist/components/input-panel/input-panel-types.d.ts +6 -0
  140. package/dist/components/input-panel/input-panel-types.d.ts.map +1 -1
  141. package/dist/components/input-panel/input-panel-utils.d.ts.map +1 -1
  142. package/dist/components/input-panel/input-panel.d.ts.map +1 -1
  143. package/dist/components/pdf/pdf-types.d.ts +8 -0
  144. package/dist/components/pdf/pdf-types.d.ts.map +1 -1
  145. package/dist/components/pdf/pdf-utils.d.ts +1 -1
  146. package/dist/components/pdf/pdf-utils.d.ts.map +1 -1
  147. package/dist/components/pdf/pdf.d.ts.map +1 -1
  148. package/dist/components/planner/planner-assets.d.ts +2 -2
  149. package/dist/components/planner/planner-assets.d.ts.map +1 -1
  150. package/dist/components/planner/planner-utils.d.ts +1 -0
  151. package/dist/components/planner/planner-utils.d.ts.map +1 -1
  152. package/dist/components/planner/planner.d.ts.map +1 -1
  153. package/dist/components/tab-bar/tab-bar-types.d.ts +1 -1
  154. package/dist/components/tab-bar/tab-bar-types.d.ts.map +1 -1
  155. package/dist/components/timeline/timeline.d.ts.map +1 -1
  156. package/dist/components/tooltip/tooltip-assets.d.ts +1 -0
  157. package/dist/components/tooltip/tooltip-assets.d.ts.map +1 -1
  158. package/dist/components/tooltip/tooltip-types.d.ts +4 -16
  159. package/dist/components/tooltip/tooltip-types.d.ts.map +1 -1
  160. package/dist/components/tooltip/tooltip.d.ts.map +1 -1
  161. package/dist/context/obj-metadata-context.d.ts +8 -0
  162. package/dist/context/obj-metadata-context.d.ts.map +1 -0
  163. package/dist/{cose-bilkent-S5V4N54A-B30Rh9DR.js → cose-bilkent-S5V4N54A-Bfb7U01p.js} +26 -27
  164. package/dist/cose-bilkent-S5V4N54A-CE-7Sw0Y.cjs +1 -0
  165. package/dist/dagre-BM42HDAG-BhbA1R8l.cjs +4 -0
  166. package/dist/dagre-BM42HDAG-D87Rv2R4.js +297 -0
  167. package/dist/dagre-CC68z3y6.cjs +1 -0
  168. package/dist/dagre-Cg4CV48I.js +1936 -0
  169. package/dist/diagram-2AECGRRQ-C6vI3yau.cjs +43 -0
  170. package/dist/{diagram-MMDJMWI5-DUpEI5ug.js → diagram-2AECGRRQ-OSYCK0tv.js} +36 -36
  171. package/dist/diagram-5GNKFQAL-BS9rRMAe.cjs +10 -0
  172. package/dist/diagram-5GNKFQAL-DnquluB9.js +101 -0
  173. package/dist/diagram-KO2AKTUF-CFi6eQYd.js +431 -0
  174. package/dist/diagram-KO2AKTUF-CjA_KTJj.cjs +3 -0
  175. package/dist/{diagram-TYMM5635-DHHPZ5ZJ.js → diagram-LMA3HP47-Cwm5bzeM.js} +38 -38
  176. package/dist/diagram-LMA3HP47-DBwSTp2j.cjs +24 -0
  177. package/dist/diagram-OG6HWLK6-BdLnbUYy.cjs +24 -0
  178. package/dist/{diagram-G4DWMVQ6-iYV58Drq.js → diagram-OG6HWLK6-DvGk1j55.js} +93 -93
  179. package/dist/{dist-DL30VIBI.js → dist-9MKIBfY4.js} +1 -1
  180. package/dist/dist-DC1YYeHc.cjs +1 -0
  181. package/dist/{erDiagram-SMLLAGMA-C8FM7wbJ.js → erDiagram-TEJ5UH35-B17mqgD_.js} +164 -164
  182. package/dist/erDiagram-TEJ5UH35-NlRiP_bX.cjs +85 -0
  183. package/dist/eventmodeling-FCH6USID-BVaFiLQO.js +3 -0
  184. package/dist/eventmodeling-FCH6USID-leiC8dtX.cjs +1 -0
  185. package/dist/{flowDiagram-DWJPFMVM-BGtX2gw0.js → flowDiagram-I6XJVG4X-C2G6Tgw_.js} +444 -444
  186. package/dist/{flowDiagram-DWJPFMVM-DWuKiJeo.cjs → flowDiagram-I6XJVG4X-ChI_6giU.cjs} +9 -9
  187. package/dist/functional-components/row/row-types.d.ts +6 -0
  188. package/dist/functional-components/row/row-types.d.ts.map +1 -1
  189. package/dist/functional-components/row/row.d.ts.map +1 -1
  190. package/dist/functional-components/timeline-engine/components/gantt/bar/gantt-bar.d.ts.map +1 -1
  191. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.d.ts +106 -0
  192. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.d.ts.map +1 -0
  193. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.test.d.ts +2 -0
  194. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.test.d.ts.map +1 -0
  195. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow.d.ts +38 -0
  196. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow.d.ts.map +1 -0
  197. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts +23 -20
  198. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts.map +1 -1
  199. package/dist/functional-components/timeline-engine/components/gantt/gantt.d.ts.map +1 -1
  200. package/dist/functional-components/timeline-engine/components/gantt/types/gantt-types.d.ts +13 -2
  201. package/dist/functional-components/timeline-engine/components/gantt/types/gantt-types.d.ts.map +1 -1
  202. package/dist/functional-components/timeline-engine/timeline-engine-types.d.ts +4 -0
  203. package/dist/functional-components/timeline-engine/timeline-engine-types.d.ts.map +1 -1
  204. package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts +24 -0
  205. package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts.map +1 -1
  206. package/dist/functional-components/timeline-engine/timeline-engine.d.ts.map +1 -1
  207. package/dist/ganttDiagram-6RSMTGT7-B0DHqd7u.cjs +292 -0
  208. package/dist/{ganttDiagram-T4ZO3ILL-PY1BUp5b.js → ganttDiagram-6RSMTGT7-Bb6bqcaS.js} +278 -276
  209. package/dist/gitGraph-WXDBUCRP-BFFuTWG4.cjs +1 -0
  210. package/dist/gitGraph-WXDBUCRP-Fz2kRwJ-.js +3 -0
  211. package/dist/gitGraphDiagram-PVQCEYII-BzbgPrwe.cjs +106 -0
  212. package/dist/{gitGraphDiagram-UUTBAWPF-CDIW9-sX.js → gitGraphDiagram-PVQCEYII-DiJUr7lO.js} +255 -255
  213. package/dist/graphlib-B1zohIOM.js +1266 -0
  214. package/dist/graphlib-B5AXIZA4.cjs +1 -0
  215. package/dist/hooks/useFloating.d.ts.map +1 -1
  216. package/dist/index.d.ts +7 -1
  217. package/dist/index.d.ts.map +1 -1
  218. package/dist/info-J43DQDTF-CLRXRK49.js +3 -0
  219. package/dist/info-J43DQDTF-CmpcAuH-.cjs +1 -0
  220. package/dist/infoDiagram-5YYISTIA-C8P9DHlE.js +19 -0
  221. package/dist/infoDiagram-5YYISTIA-fhwEAAjF.cjs +2 -0
  222. package/dist/{ishikawaDiagram-UXIWVN3A-BfkF39Xv.cjs → ishikawaDiagram-YF4QCWOH-j6IZz59g.cjs} +6 -6
  223. package/dist/{ishikawaDiagram-UXIWVN3A-BblrAmns.js → ishikawaDiagram-YF4QCWOH-rqNbTKZp.js} +134 -134
  224. package/dist/{journeyDiagram-VCZTEJTY-UwcVOFtb.cjs → journeyDiagram-JHISSGLW-BhHdd4y3.cjs} +6 -6
  225. package/dist/{journeyDiagram-VCZTEJTY-CCOZ1XFK.js → journeyDiagram-JHISSGLW-peUJlm3L.js} +180 -180
  226. package/dist/{kanban-definition-6JOO6SKY-BWwfbdd6.js → kanban-definition-UN3LZRKU-DLxDqiQn.js} +151 -151
  227. package/dist/{kanban-definition-6JOO6SKY-Coxpi43B.cjs → kanban-definition-UN3LZRKU-TUg1x5yJ.cjs} +8 -8
  228. package/dist/{katex-SAH56fvc.cjs → katex-HkVgAsLB.cjs} +1 -1
  229. package/dist/ketchup2.cjs.js +107 -110
  230. package/dist/ketchup2.css +1 -1
  231. package/dist/ketchup2.es.js +90621 -90697
  232. package/dist/{line-CrxZdHmO.js → line-BhAnxCE8.js} +3 -3
  233. package/dist/line-CpcTW4h-.cjs +1 -0
  234. package/dist/{linear-CxHa1DsM.cjs → linear-D0eFmsG1.cjs} +1 -1
  235. package/dist/{linear-BsPvNLJv.js → linear-lSeWuvgy.js} +3 -3
  236. package/dist/locale/en/translation.json.d.ts +3 -0
  237. package/dist/locale/it/translation.json.d.ts +3 -0
  238. package/dist/{mermaid-parser.core-CERDf-UG.js → mermaid-parser.core-Dz33ts1l.js} +24 -19
  239. package/dist/mermaid-parser.core-HQxPJrkY.cjs +3 -0
  240. package/dist/{mindmap-definition-QFDTVHPH--xULjpFZ.cjs → mindmap-definition-RKZ34NQL-D9BOsg5W.cjs} +29 -29
  241. package/dist/{mindmap-definition-QFDTVHPH-dYQoMeA6.js → mindmap-definition-RKZ34NQL-DHkmUkxh.js} +148 -148
  242. package/dist/{ordinal-Civr0hZL.cjs → ordinal-BnUYNBtU.cjs} +1 -1
  243. package/dist/{ordinal-C-VoL0XF.js → ordinal-MD9_ORcM.js} +1 -1
  244. package/dist/packet-YPE3B663-BwjweAZY.cjs +1 -0
  245. package/dist/packet-YPE3B663-D1Hr9AQm.js +3 -0
  246. package/dist/pie-LRSECV5Y-CpDfN1P0.js +3 -0
  247. package/dist/pie-LRSECV5Y-I1-OkIXi.cjs +1 -0
  248. package/dist/{pieDiagram-DEJITSTG-Dj5pX4fC.js → pieDiagram-4H26LBE5-ByA7ytZx.js} +40 -40
  249. package/dist/pieDiagram-4H26LBE5-CrLJh4L9.cjs +30 -0
  250. package/dist/{quadrantDiagram-34T5L4WZ-BKNOJBiR.js → quadrantDiagram-W4KKPZXB-CHHpmu1l.js} +547 -520
  251. package/dist/quadrantDiagram-W4KKPZXB-CalC_db_.cjs +7 -0
  252. package/dist/radar-GUYGQ44K-BXt3oO8c.cjs +1 -0
  253. package/dist/radar-GUYGQ44K-ByzrmbOz.js +3 -0
  254. package/dist/{requirementDiagram-MS252O5E-r3eZu57d.js → requirementDiagram-4Y6WPE33-BVcDFSx8.js} +165 -165
  255. package/dist/requirementDiagram-4Y6WPE33-SsePLT8d.cjs +84 -0
  256. package/dist/sankeyDiagram-5OEKKPKP-BgvTZ7jd.cjs +40 -0
  257. package/dist/{sankeyDiagram-XADWPNL6-ErTVVewH.js → sankeyDiagram-5OEKKPKP-C-ODz9lV.js} +202 -153
  258. package/dist/{sequenceDiagram-FGHM5R23-BmqbzzHY.js → sequenceDiagram-3UESZ5HK-Cnc0aDO4.js} +786 -779
  259. package/dist/sequenceDiagram-3UESZ5HK-DEVLteqD.cjs +162 -0
  260. package/dist/src-BgvDIw01.cjs +1 -0
  261. package/dist/{src-BQiFKP24.js → src-v9RrE_4h.js} +578 -563
  262. package/dist/stateDiagram-AJRCARHV-CuHe6Iji.js +217 -0
  263. package/dist/stateDiagram-AJRCARHV-D_yPvIRw.cjs +1 -0
  264. package/dist/stateDiagram-v2-BHNVJYJU-CTnE6fOT.cjs +1 -0
  265. package/dist/stateDiagram-v2-BHNVJYJU-DqstYMSl.js +27 -0
  266. package/dist/{timeline-definition-GMOUNBTQ-DgcI7XnE.js → timeline-definition-PNZ67QCA-Bj1BItRB.js} +324 -324
  267. package/dist/{timeline-definition-GMOUNBTQ-BeTHmikc.cjs → timeline-definition-PNZ67QCA-Cynbc96w.cjs} +48 -48
  268. package/dist/treeView-BLDUP644-CxLhpd93.js +3 -0
  269. package/dist/treeView-BLDUP644-DMwVx0AR.cjs +1 -0
  270. package/dist/treemap-LRROVOQU-BqmiLdFI.js +3 -0
  271. package/dist/treemap-LRROVOQU-XhaFZdvI.cjs +1 -0
  272. package/dist/types/translation.d.ts +4 -1
  273. package/dist/types/translation.d.ts.map +1 -1
  274. package/dist/utils/translation.d.ts.map +1 -1
  275. package/dist/v4-BpDBEhLK.js +30 -0
  276. package/dist/v4-CA8ev9YY.cjs +1 -0
  277. package/dist/{vennDiagram-DHZGUBPP-7tx3VVDU.js → vennDiagram-CIIHVFJN-CdmcxixA.js} +192 -192
  278. package/dist/vennDiagram-CIIHVFJN-Dm4D6omA.cjs +34 -0
  279. package/dist/wardley-L42UT6IY-C7UjBmVh.js +3 -0
  280. package/dist/wardley-L42UT6IY-DFAYOpjD.cjs +1 -0
  281. package/dist/{wardleyDiagram-NUSXRM2D-DY51LHBa.cjs → wardleyDiagram-YWT4CUSO-C-DdutxP.cjs} +61 -3
  282. package/dist/{wardleyDiagram-NUSXRM2D-DGKU7A2U.js → wardleyDiagram-YWT4CUSO-D1o116Wi.js} +272 -206
  283. package/dist/{xychartDiagram-5P7HB3ND--7RYyckP.js → xychartDiagram-2RQKCTM6-Byw7djcg.js} +213 -213
  284. package/dist/{xychartDiagram-5P7HB3ND-Cj0HUNew.cjs → xychartDiagram-2RQKCTM6-D0D4PIQS.cjs} +6 -6
  285. package/package.json +6 -6
  286. package/dist/architecture-YZFGNWBL-BRqToLcm.js +0 -3
  287. package/dist/architecture-YZFGNWBL-BTOWQWD9.cjs +0 -1
  288. package/dist/architectureDiagram-Q4EWVU46-CX_6DnSJ.cjs +0 -36
  289. package/dist/blockDiagram-DXYQGD6D-D6DypQdM.cjs +0 -132
  290. package/dist/channel-CRWct3-i.js +0 -5
  291. package/dist/channel-DkTvdPpU.cjs +0 -1
  292. package/dist/chunk-2KRD3SAO-Ca3zDQyj.js +0 -23
  293. package/dist/chunk-2KRD3SAO-oZrIWZvV.cjs +0 -1
  294. package/dist/chunk-426QAEUC-CDXJVpQr.js +0 -9
  295. package/dist/chunk-426QAEUC-CqN26l3E.cjs +0 -1
  296. package/dist/chunk-4TB4RGXK-B0SIkKDf.cjs +0 -206
  297. package/dist/chunk-5FUZZQ4R-Cj5KbGC7.cjs +0 -62
  298. package/dist/chunk-5PVQY5BW-DEPZKGvb.cjs +0 -2
  299. package/dist/chunk-67CJDMHE-2Qg7i1xJ.cjs +0 -1
  300. package/dist/chunk-67CJDMHE-YMBkJcAO.js +0 -23
  301. package/dist/chunk-AA7GKIK3-B_ZB6dou.js +0 -30
  302. package/dist/chunk-AA7GKIK3-dqnTmnvO.cjs +0 -1
  303. package/dist/chunk-CIAEETIT-ClHUj0Su.cjs +0 -1
  304. package/dist/chunk-CIAEETIT-XlxsAz-4.js +0 -23
  305. package/dist/chunk-D-IZpNpi.cjs +0 -1
  306. package/dist/chunk-EDXVE4YY-1dwNWzc7.cjs +0 -1
  307. package/dist/chunk-EDXVE4YY-CGNVB686.js +0 -25
  308. package/dist/chunk-ENJZ2VHE-BAWfx0nA.cjs +0 -10
  309. package/dist/chunk-FOC6F5B3-DcZs851j.cjs +0 -1
  310. package/dist/chunk-FOC6F5B3-E9n6-juB.js +0 -23
  311. package/dist/chunk-ICPOFSXX-hY6BIZ4Y.cjs +0 -122
  312. package/dist/chunk-K5T4RW27-BzDQkjC7.cjs +0 -94
  313. package/dist/chunk-K5T4RW27-DY7TOEqa.js +0 -16070
  314. package/dist/chunk-KGLVRYIC-5OJpfQCj.js +0 -23
  315. package/dist/chunk-KGLVRYIC-DnbIkai8.cjs +0 -1
  316. package/dist/chunk-ORNJ4GCN-CcrEtiCn.cjs +0 -1
  317. package/dist/chunk-ORNJ4GCN-CwkOSFbS.js +0 -31
  318. package/dist/chunk-WQLz0Won.js +0 -20
  319. package/dist/classDiagram-6PBFFD2Q-BT4_JTnP.cjs +0 -1
  320. package/dist/classDiagram-6PBFFD2Q-Dgaxt4wI.js +0 -29
  321. package/dist/classDiagram-v2-HSJHXN6E-CWhiK6nm.js +0 -29
  322. package/dist/classDiagram-v2-HSJHXN6E-DkBLzgTv.cjs +0 -1
  323. package/dist/clone-CQQwPjME.cjs +0 -1
  324. package/dist/clone-Dwbh_blD.js +0 -8
  325. package/dist/cose-bilkent-S5V4N54A-Bhdp-wcb.cjs +0 -1
  326. package/dist/dagre-BcwvU6ZF.cjs +0 -1
  327. package/dist/dagre-D17h-Z-U.js +0 -1606
  328. package/dist/dagre-KV5264BT-BnEKAAAn.js +0 -293
  329. package/dist/dagre-KV5264BT-DRbiLA37.cjs +0 -4
  330. package/dist/diagram-5BDNPKRD-B_Fa4dpl.js +0 -101
  331. package/dist/diagram-5BDNPKRD-CPN8m2Hl.cjs +0 -10
  332. package/dist/diagram-G4DWMVQ6-VpXkNb67.cjs +0 -24
  333. package/dist/diagram-MMDJMWI5-DGk_PUo9.cjs +0 -43
  334. package/dist/diagram-TYMM5635-BH_-vSv9.cjs +0 -24
  335. package/dist/dist-BgvMZbfo.cjs +0 -1
  336. package/dist/erDiagram-SMLLAGMA-vuYEmfFA.cjs +0 -85
  337. package/dist/flatten-BE1bWL-7.js +0 -40
  338. package/dist/flatten-DxvYSoR8.cjs +0 -1
  339. package/dist/ganttDiagram-T4ZO3ILL-C25CnBTv.cjs +0 -292
  340. package/dist/gitGraph-7Q5UKJZL-DZea3ltD.cjs +0 -1
  341. package/dist/gitGraph-7Q5UKJZL-sjlqDwJ_.js +0 -3
  342. package/dist/gitGraphDiagram-UUTBAWPF-0lCBo9nK.cjs +0 -106
  343. package/dist/graphlib-CdgJ32J_.cjs +0 -1
  344. package/dist/graphlib-DbQkSsC8.js +0 -373
  345. package/dist/identity-KQSjemTb.cjs +0 -1
  346. package/dist/identity-g0dsMjx7.js +0 -393
  347. package/dist/info-OMHHGYJF-Bk0VWVNW.js +0 -3
  348. package/dist/info-OMHHGYJF-C8QtwF0k.cjs +0 -1
  349. package/dist/infoDiagram-42DDH7IO-CQLxpytS.js +0 -19
  350. package/dist/infoDiagram-42DDH7IO-Da__a_a_.cjs +0 -2
  351. package/dist/isEmpty-CA3kJuev.cjs +0 -1
  352. package/dist/isEmpty-RwX-oIQS.js +0 -35
  353. package/dist/line-C7oijaT4.cjs +0 -1
  354. package/dist/mermaid-parser.core-DHpvGOZR.cjs +0 -3
  355. package/dist/packet-4T2RLAQJ-X0BMsNFj.js +0 -3
  356. package/dist/packet-4T2RLAQJ-lvmQnXPI.cjs +0 -1
  357. package/dist/pie-ZZUOXDRM-CJ_fU5k1.js +0 -3
  358. package/dist/pie-ZZUOXDRM-Dp4APKqR.cjs +0 -1
  359. package/dist/pieDiagram-DEJITSTG-7we8s9eC.cjs +0 -30
  360. package/dist/quadrantDiagram-34T5L4WZ-B3BFuPYQ.cjs +0 -7
  361. package/dist/radar-PYXPWWZC-BHWJy_E1.cjs +0 -1
  362. package/dist/radar-PYXPWWZC-DgZIW9Ah.js +0 -3
  363. package/dist/reduce-B7WW9rkU.cjs +0 -1
  364. package/dist/reduce-DNnkcf3M.js +0 -532
  365. package/dist/requirementDiagram-MS252O5E-BemsEy3Y.cjs +0 -84
  366. package/dist/sankeyDiagram-XADWPNL6-B9YCkPHh.cjs +0 -10
  367. package/dist/sequenceDiagram-FGHM5R23-CBpQL6X2.cjs +0 -157
  368. package/dist/src-DFxq-N5I.cjs +0 -1
  369. package/dist/stateDiagram-FHFEXIEX-CL9LE-W1.js +0 -217
  370. package/dist/stateDiagram-FHFEXIEX-Cju5Z2VS.cjs +0 -1
  371. package/dist/stateDiagram-v2-QKLJ7IA2-BHoytfGp.js +0 -27
  372. package/dist/stateDiagram-v2-QKLJ7IA2-DO1H6Vqa.cjs +0 -1
  373. package/dist/treeView-SZITEDCU-CT5vX0q9.cjs +0 -1
  374. package/dist/treeView-SZITEDCU-Df3xzFtO.js +0 -3
  375. package/dist/treemap-W4RFUUIX-Bk_jVZ7D.cjs +0 -1
  376. package/dist/treemap-W4RFUUIX-ClUtdSdn.js +0 -3
  377. package/dist/v4-6yr83DbP.cjs +0 -1
  378. package/dist/v4-BR71w5_q.js +0 -33
  379. package/dist/vennDiagram-DHZGUBPP-C16dnMoe.cjs +0 -34
  380. package/dist/wardley-RL74JXVD-BtHQbnUy.js +0 -3
  381. package/dist/wardley-RL74JXVD-y8RO5Iqv.cjs +0 -1
  382. /package/dist/{array-D8NZ46Ht.js → array-CBdkHBGa.js} +0 -0
  383. /package/dist/{array-Dxz0O8Q3.cjs → array-Cx1JwiGD.cjs} +0 -0
  384. /package/dist/{cytoscape.esm-CrBwLFXE.cjs → cytoscape.esm-BzblyxzZ.cjs} +0 -0
  385. /package/dist/{cytoscape.esm-CPjF_mSK.js → cytoscape.esm-VShrX2U1.js} +0 -0
  386. /package/dist/{defaultLocale-DtzyZW63.cjs → defaultLocale-Bj_Ndo9V.cjs} +0 -0
  387. /package/dist/{defaultLocale-Dcyuaxxg.js → defaultLocale-dGy1YRID.js} +0 -0
  388. /package/dist/{init-BO60vQHJ.js → init-B7h4SEX5.js} +0 -0
  389. /package/dist/{init-B2MubQrj.cjs → init-CEL65JUo.cjs} +0 -0
  390. /package/dist/{katex-Du5WiYIy.js → katex-DWDh1q_h.js} +0 -0
  391. /package/dist/{path-CvfwEr8y.js → path-CAXMhBzK.js} +0 -0
  392. /package/dist/{path-Civic7PQ.cjs → path-CRahBUHI.cjs} +0 -0
  393. /package/dist/{rough.esm-BLKo1fIQ.cjs → rough.esm-BEA_SCZB.cjs} +0 -0
  394. /package/dist/{rough.esm-1mqTSjCt.js → rough.esm-TWNWL4Us.js} +0 -0
@@ -1,15 +1,15 @@
1
- import { b as e, w as t, y as n } from "./chunk-ICPOFSXX-fQJ5ufMR.js";
2
- import { g as r, h as i, p as a } from "./src-BQiFKP24.js";
3
- import { B as o, F as s, G as c, H as l, I as u, L as d, P as f, R as p, U as m, V as h, W as g, h as _, l as v, z as y } from "./chunk-5PVQY5BW-Dn8n6moB.js";
4
- import { t as b } from "./line-CrxZdHmO.js";
5
- import { i as x, n as S, r as C, t as w } from "./chunk-BSJP7CBP-oNTXVRA7.js";
6
- import { n as T } from "./chunk-ZZ45TVLE-X2jolXSO.js";
7
- import { i as E, n as ee } from "./chunk-X2U36JSP-VxRY65ea.js";
8
- import { n as D } from "./chunk-U2HBQHQK-Ceyeq0IV.js";
9
- import { t as te } from "./rough.esm-1mqTSjCt.js";
10
- import { r as O } from "./chunk-5FUZZQ4R-D3C0F0Tr.js";
11
- //#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-ENJZ2VHE.mjs
12
- var k = /* @__PURE__ */ i((e, t, n, r, i, a = !1, o) => {
1
+ import { g as e, h as t, p as n } from "./src-v9RrE_4h.js";
2
+ import { T as r, b as i, x as a } from "./chunk-CSCIHK7Q-9WKhcDqw.js";
3
+ import { $ as o, J as s, K as c, Q as l, X as u, Y as d, Z as f, et as p, g as m, nt as h, q as g, rt as _, tt as v, u as y } from "./chunk-5ZQYHXKU-C4uam08j.js";
4
+ import { t as b } from "./line-BhAnxCE8.js";
5
+ import { i as x, n as S, r as C, t as w } from "./chunk-BSJP7CBP-Bx5APwBA.js";
6
+ import { n as T } from "./chunk-L5ZTLDWV-D3UwMopa.js";
7
+ import { i as E, n as ee } from "./chunk-NZK2D7GU-BVOINLmx.js";
8
+ import { n as D } from "./chunk-O5CBEL6O-VsMF4aZB.js";
9
+ import { t as te } from "./rough.esm-TWNWL4Us.js";
10
+ import { r as O } from "./chunk-3OPIFGDE-C7wE5oN7.js";
11
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-KSCS5N6A.mjs
12
+ var k = /* @__PURE__ */ t((e, t, n, r, i, a = !1, o) => {
13
13
  t.arrowTypeStart && M(e, "start", t.arrowTypeStart, n, r, i, a, o), t.arrowTypeEnd && M(e, "end", t.arrowTypeEnd, n, r, i, a, o);
14
14
  }, "addEdgeMarkers"), A = {
15
15
  arrow_cross: {
@@ -86,32 +86,32 @@ var k = /* @__PURE__ */ i((e, t, n, r, i, a = !1, o) => {
86
86
  "composition",
87
87
  "dependency",
88
88
  "barb"
89
- ], M = /* @__PURE__ */ i((e, t, n, i, a, o, s = !1, c) => {
90
- let l = A[n], u = l && j.includes(l.type);
89
+ ], M = /* @__PURE__ */ t((t, n, r, i, a, o, s = !1, c) => {
90
+ let l = A[r], u = l && j.includes(l.type);
91
91
  if (!l) {
92
- r.warn(`Unknown arrow type: ${n}`);
92
+ e.warn(`Unknown arrow type: ${r}`);
93
93
  return;
94
94
  }
95
- let d = `${a}_${o}-${l.type}${t === "start" ? "Start" : "End"}${s && u ? "-margin" : ""}`;
95
+ let d = `${a}_${o}-${l.type}${n === "start" ? "Start" : "End"}${s && u ? "-margin" : ""}`;
96
96
  if (c && c.trim() !== "") {
97
- let n = `${d}_${c.replace(/[^\dA-Za-z]/g, "_")}`;
98
- if (!document.getElementById(n)) {
99
- let e = document.getElementById(d);
100
- if (e) {
101
- let t = e.cloneNode(!0);
102
- t.id = n, t.querySelectorAll("path, circle, line").forEach((e) => {
97
+ let e = `${d}_${c.replace(/[^\dA-Za-z]/g, "_")}`;
98
+ if (!document.getElementById(e)) {
99
+ let t = document.getElementById(d);
100
+ if (t) {
101
+ let n = t.cloneNode(!0);
102
+ n.id = e, n.querySelectorAll("path, circle, line").forEach((e) => {
103
103
  e.setAttribute("stroke", c), l.fill && e.setAttribute("fill", c);
104
- }), e.parentNode?.appendChild(t);
104
+ }), t.parentNode?.appendChild(n);
105
105
  }
106
106
  }
107
- e.attr(`marker-${t}`, `url(${i}#${n})`);
108
- } else e.attr(`marker-${t}`, `url(${i}#${d})`);
109
- }, "addEdgeMarker"), ne = /* @__PURE__ */ i((t) => typeof t == "string" ? t : e()?.flowchart?.curve, "resolveEdgeCurveType"), N = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), F = /* @__PURE__ */ i(() => {
107
+ t.attr(`marker-${n}`, `url(${i}#${e})`);
108
+ } else t.attr(`marker-${n}`, `url(${i}#${d})`);
109
+ }, "addEdgeMarker"), ne = /* @__PURE__ */ t((e) => typeof e == "string" ? e : a()?.flowchart?.curve, "resolveEdgeCurveType"), N = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), F = /* @__PURE__ */ t(() => {
110
110
  N.clear(), P.clear();
111
- }, "clear"), I = /* @__PURE__ */ i((e) => e ? typeof e == "string" ? e : e.reduce((e, t) => e + ";" + t, "") : "", "getLabelStyles"), L = /* @__PURE__ */ i(async (n, i) => {
112
- let o = e(), s = t(o), { labelStyles: c } = E(i);
111
+ }, "clear"), I = /* @__PURE__ */ t((e) => e ? typeof e == "string" ? e : e.reduce((e, t) => e + ";" + t, "") : "", "getLabelStyles"), L = /* @__PURE__ */ t(async (t, i) => {
112
+ let o = a(), s = r(o), { labelStyles: c } = E(i);
113
113
  i.labelStyle = c;
114
- let l = n.insert("g").attr("class", "edgeLabel"), u = l.insert("g").attr("class", "label").attr("data-id", i.id), d = i.labelType === "markdown", f = await D(n, i.label, {
114
+ let l = t.insert("g").attr("class", "edgeLabel"), u = l.insert("g").attr("class", "label").attr("data-id", i.id), d = i.labelType === "markdown", f = await D(t, i.label, {
115
115
  style: I(i.labelStyle),
116
116
  useHtmlLabels: s,
117
117
  addSvgBackground: !0,
@@ -119,147 +119,147 @@ var k = /* @__PURE__ */ i((e, t, n, r, i, a = !1, o) => {
119
119
  markdown: d,
120
120
  width: void 0
121
121
  }, o);
122
- u.node().appendChild(f), r.info("abc82", i, i.labelType);
122
+ u.node().appendChild(f), e.info("abc82", i, i.labelType);
123
123
  let p = f.getBBox(), m = p;
124
124
  if (s) {
125
- let e = f.children[0], t = a(f);
125
+ let e = f.children[0], t = n(f);
126
126
  p = e.getBoundingClientRect(), m = p, t.attr("width", p.width), t.attr("height", p.height);
127
127
  } else {
128
- let e = a(f).select("text").node();
128
+ let e = n(f).select("text").node();
129
129
  e && typeof e.getBBox == "function" && (m = e.getBBox());
130
130
  }
131
131
  u.attr("transform", w(m, s)), N.set(i.id, l), i.width = p.width, i.height = p.height;
132
132
  let h;
133
133
  if (i.startLabelLeft) {
134
- let e = n.insert("g").attr("class", "edgeTerminals"), t = e.insert("g").attr("class", "inner"), r = await O(t, i.startLabelLeft, I(i.labelStyle) || "", !1, !1);
135
- h = r;
136
- let o = r.getBBox();
134
+ let e = t.insert("g").attr("class", "edgeTerminals"), r = e.insert("g").attr("class", "inner"), a = await O(r, i.startLabelLeft, I(i.labelStyle) || "", !1, !1);
135
+ h = a;
136
+ let o = a.getBBox();
137
137
  if (s) {
138
- let e = r.children[0], t = a(r);
138
+ let e = a.children[0], t = n(a);
139
139
  o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
140
140
  }
141
- t.attr("transform", w(o, s)), P.get(i.id) || P.set(i.id, {}), P.get(i.id).startLeft = e, R(h, i.startLabelLeft);
141
+ r.attr("transform", w(o, s)), P.get(i.id) || P.set(i.id, {}), P.get(i.id).startLeft = e, R(h, i.startLabelLeft);
142
142
  }
143
143
  if (i.startLabelRight) {
144
- let e = n.insert("g").attr("class", "edgeTerminals"), t = e.insert("g").attr("class", "inner"), r = await O(t, i.startLabelRight, I(i.labelStyle) || "", !1, !1);
145
- h = r, t.node().appendChild(r);
146
- let o = r.getBBox();
144
+ let e = t.insert("g").attr("class", "edgeTerminals"), r = e.insert("g").attr("class", "inner"), a = await O(r, i.startLabelRight, I(i.labelStyle) || "", !1, !1);
145
+ h = a;
146
+ let o = a.getBBox();
147
147
  if (s) {
148
- let e = r.children[0], t = a(r);
148
+ let e = a.children[0], t = n(a);
149
149
  o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
150
150
  }
151
- t.attr("transform", w(o, s)), P.get(i.id) || P.set(i.id, {}), P.get(i.id).startRight = e, R(h, i.startLabelRight);
151
+ r.attr("transform", w(o, s)), P.get(i.id) || P.set(i.id, {}), P.get(i.id).startRight = e, R(h, i.startLabelRight);
152
152
  }
153
153
  if (i.endLabelLeft) {
154
- let e = n.insert("g").attr("class", "edgeTerminals"), t = e.insert("g").attr("class", "inner"), r = await O(t, i.endLabelLeft, I(i.labelStyle) || "", !1, !1);
155
- h = r;
156
- let o = r.getBBox();
154
+ let e = t.insert("g").attr("class", "edgeTerminals"), r = e.insert("g").attr("class", "inner"), a = await O(e, i.endLabelLeft, I(i.labelStyle) || "", !1, !1);
155
+ h = a;
156
+ let o = a.getBBox();
157
157
  if (s) {
158
- let e = r.children[0], t = a(r);
158
+ let e = a.children[0], t = n(a);
159
159
  o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
160
160
  }
161
- t.attr("transform", w(o, s)), e.node().appendChild(r), P.get(i.id) || P.set(i.id, {}), P.get(i.id).endLeft = e, R(h, i.endLabelLeft);
161
+ r.attr("transform", w(o, s)), P.get(i.id) || P.set(i.id, {}), P.get(i.id).endLeft = e, R(h, i.endLabelLeft);
162
162
  }
163
163
  if (i.endLabelRight) {
164
- let e = n.insert("g").attr("class", "edgeTerminals"), t = e.insert("g").attr("class", "inner"), r = await O(t, i.endLabelRight, I(i.labelStyle) || "", !1, !1);
165
- h = r;
166
- let o = r.getBBox();
164
+ let e = t.insert("g").attr("class", "edgeTerminals"), r = e.insert("g").attr("class", "inner"), a = await O(e, i.endLabelRight, I(i.labelStyle) || "", !1, !1);
165
+ h = a;
166
+ let o = a.getBBox();
167
167
  if (s) {
168
- let e = r.children[0], t = a(r);
168
+ let e = a.children[0], t = n(a);
169
169
  o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
170
170
  }
171
- t.attr("transform", w(o, s)), e.node().appendChild(r), P.get(i.id) || P.set(i.id, {}), P.get(i.id).endRight = e, R(h, i.endLabelRight);
171
+ r.attr("transform", w(o, s)), P.get(i.id) || P.set(i.id, {}), P.get(i.id).endRight = e, R(h, i.endLabelRight);
172
172
  }
173
173
  return f;
174
174
  }, "insertEdgeLabel");
175
- function R(n, r) {
176
- t(e()) && n && (n.style.width = r.length * 9 + "px", n.style.height = "12px");
175
+ function R(e, t) {
176
+ r(a()) && e && (e.style.width = t.length * 9 + "px", e.style.height = "12px");
177
177
  }
178
- i(R, "setTerminalWidth");
179
- var z = /* @__PURE__ */ i((t, n) => {
180
- r.debug("Moving label abc88 ", t.id, t.label, N.get(t.id), n);
181
- let i = n.updatedPath ? n.updatedPath : n.originalPath, { subGraphTitleTotalMargin: a } = T(e());
178
+ t(R, "setTerminalWidth");
179
+ var z = /* @__PURE__ */ t((t, n) => {
180
+ e.debug("Moving label abc88 ", t.id, t.label, N.get(t.id), n);
181
+ let r = n.updatedPath ? n.updatedPath : n.originalPath, { subGraphTitleTotalMargin: i } = T(a());
182
182
  if (t.label) {
183
- let e = N.get(t.id), o = t.x, s = t.y;
184
- if (i) {
185
- let e = _.calcLabelPosition(i);
186
- r.debug("Moving label " + t.label + " from (", o, ",", s, ") to (", e.x, ",", e.y, ") abc88"), n.updatedPath && (o = e.x, s = e.y);
183
+ let a = N.get(t.id), o = t.x, s = t.y;
184
+ if (r) {
185
+ let i = m.calcLabelPosition(r);
186
+ e.debug("Moving label " + t.label + " from (", o, ",", s, ") to (", i.x, ",", i.y, ") abc88"), n.updatedPath && (o = i.x, s = i.y);
187
187
  }
188
- e.attr("transform", `translate(${o}, ${s + a / 2})`);
188
+ a.attr("transform", `translate(${o}, ${s + i / 2})`);
189
189
  }
190
190
  if (t.startLabelLeft) {
191
- let e = P.get(t.id).startLeft, n = t.x, r = t.y;
192
- if (i) {
193
- let e = _.calcTerminalLabelPosition(t.arrowTypeStart ? 10 : 0, "start_left", i);
194
- n = e.x, r = e.y;
191
+ let e = P.get(t.id).startLeft, n = t.x, i = t.y;
192
+ if (r) {
193
+ let e = m.calcTerminalLabelPosition(t.arrowTypeStart ? 10 : 0, "start_left", r);
194
+ n = e.x, i = e.y;
195
195
  }
196
- e.attr("transform", `translate(${n}, ${r})`);
196
+ e.attr("transform", `translate(${n}, ${i})`);
197
197
  }
198
198
  if (t.startLabelRight) {
199
- let e = P.get(t.id).startRight, n = t.x, r = t.y;
200
- if (i) {
201
- let e = _.calcTerminalLabelPosition(t.arrowTypeStart ? 10 : 0, "start_right", i);
202
- n = e.x, r = e.y;
199
+ let e = P.get(t.id).startRight, n = t.x, i = t.y;
200
+ if (r) {
201
+ let e = m.calcTerminalLabelPosition(t.arrowTypeStart ? 10 : 0, "start_right", r);
202
+ n = e.x, i = e.y;
203
203
  }
204
- e.attr("transform", `translate(${n}, ${r})`);
204
+ e.attr("transform", `translate(${n}, ${i})`);
205
205
  }
206
206
  if (t.endLabelLeft) {
207
- let e = P.get(t.id).endLeft, n = t.x, r = t.y;
208
- if (i) {
209
- let e = _.calcTerminalLabelPosition(t.arrowTypeEnd ? 10 : 0, "end_left", i);
210
- n = e.x, r = e.y;
207
+ let e = P.get(t.id).endLeft, n = t.x, i = t.y;
208
+ if (r) {
209
+ let e = m.calcTerminalLabelPosition(t.arrowTypeEnd ? 10 : 0, "end_left", r);
210
+ n = e.x, i = e.y;
211
211
  }
212
- e.attr("transform", `translate(${n}, ${r})`);
212
+ e.attr("transform", `translate(${n}, ${i})`);
213
213
  }
214
214
  if (t.endLabelRight) {
215
- let e = P.get(t.id).endRight, n = t.x, r = t.y;
216
- if (i) {
217
- let e = _.calcTerminalLabelPosition(t.arrowTypeEnd ? 10 : 0, "end_right", i);
218
- n = e.x, r = e.y;
215
+ let e = P.get(t.id).endRight, n = t.x, i = t.y;
216
+ if (r) {
217
+ let e = m.calcTerminalLabelPosition(t.arrowTypeEnd ? 10 : 0, "end_right", r);
218
+ n = e.x, i = e.y;
219
219
  }
220
- e.attr("transform", `translate(${n}, ${r})`);
220
+ e.attr("transform", `translate(${n}, ${i})`);
221
221
  }
222
- }, "positionEdgeLabel"), B = /* @__PURE__ */ i((e, t) => {
222
+ }, "positionEdgeLabel"), B = /* @__PURE__ */ t((e, t) => {
223
223
  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;
224
224
  return i >= o || a >= s;
225
- }, "outsideNode"), V = /* @__PURE__ */ i((e, t, n) => {
226
- r.debug(`intersection calc abc89:
227
- outsidePoint: ${JSON.stringify(t)}
228
- insidePoint : ${JSON.stringify(n)}
229
- node : x:${e.x} y:${e.y} w:${e.width} h:${e.height}`);
230
- let i = e.x, a = e.y, o = Math.abs(i - n.x), s = e.width / 2, c = n.x < t.x ? s - o : s + o, l = e.height / 2, u = Math.abs(t.y - n.y), d = Math.abs(t.x - n.x);
231
- if (Math.abs(a - t.y) * s > Math.abs(i - t.x) * l) {
232
- let e = n.y < t.y ? t.y - l - a : a - l - t.y;
233
- c = d * e / u;
225
+ }, "outsideNode"), V = /* @__PURE__ */ t((t, n, r) => {
226
+ e.debug(`intersection calc abc89:
227
+ outsidePoint: ${JSON.stringify(n)}
228
+ insidePoint : ${JSON.stringify(r)}
229
+ node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);
230
+ let i = t.x, a = t.y, o = Math.abs(i - r.x), s = t.width / 2, c = r.x < n.x ? s - o : s + o, l = t.height / 2, u = Math.abs(n.y - r.y), d = Math.abs(n.x - r.x);
231
+ if (Math.abs(a - n.y) * s > Math.abs(i - n.x) * l) {
232
+ let t = r.y < n.y ? n.y - l - a : a - l - n.y;
233
+ c = d * t / u;
234
234
  let i = {
235
- x: n.x < t.x ? n.x + c : n.x - d + c,
236
- y: n.y < t.y ? n.y + u - e : n.y - u + e
235
+ x: r.x < n.x ? r.x + c : r.x - d + c,
236
+ y: r.y < n.y ? r.y + u - t : r.y - u + t
237
237
  };
238
- return c === 0 && (i.x = t.x, i.y = t.y), d === 0 && (i.x = t.x), u === 0 && (i.y = t.y), r.debug(`abc89 top/bottom calc, Q ${u}, q ${e}, R ${d}, r ${c}`, i), i;
238
+ return c === 0 && (i.x = n.x, i.y = n.y), d === 0 && (i.x = n.x), u === 0 && (i.y = n.y), e.debug(`abc89 top/bottom calc, Q ${u}, q ${t}, R ${d}, r ${c}`, i), i;
239
239
  } else {
240
- c = n.x < t.x ? t.x - s - i : i - s - t.x;
241
- let e = u * c / d, a = n.x < t.x ? n.x + d - c : n.x - d + c, o = n.y < t.y ? n.y + e : n.y - e;
242
- return r.debug(`sides calc abc89, Q ${u}, q ${e}, R ${d}, r ${c}`, {
240
+ c = r.x < n.x ? n.x - s - i : i - s - n.x;
241
+ let t = u * c / d, a = r.x < n.x ? r.x + d - c : r.x - d + c, o = r.y < n.y ? r.y + t : r.y - t;
242
+ return e.debug(`sides calc abc89, Q ${u}, q ${t}, R ${d}, r ${c}`, {
243
243
  _x: a,
244
244
  _y: o
245
- }), c === 0 && (a = t.x, o = t.y), d === 0 && (a = t.x), u === 0 && (o = t.y), {
245
+ }), c === 0 && (a = n.x, o = n.y), d === 0 && (a = n.x), u === 0 && (o = n.y), {
246
246
  x: a,
247
247
  y: o
248
248
  };
249
249
  }
250
- }, "intersection"), H = /* @__PURE__ */ i((e, t) => {
251
- r.warn("abc88 cutPathAtIntersect", e, t);
252
- let n = [], i = e[0], a = !1;
253
- return e.forEach((e) => {
254
- if (r.info("abc88 checking point", e, t), !B(t, e) && !a) {
255
- let o = V(t, i, e);
256
- r.debug("abc88 inside", e, i, o), r.debug("abc88 intersection", o, t);
250
+ }, "intersection"), H = /* @__PURE__ */ t((t, n) => {
251
+ e.warn("abc88 cutPathAtIntersect", t, n);
252
+ let r = [], i = t[0], a = !1;
253
+ return t.forEach((t) => {
254
+ if (e.info("abc88 checking point", t, n), !B(n, t) && !a) {
255
+ let o = V(n, i, t);
256
+ e.debug("abc88 inside", t, i, o), e.debug("abc88 intersection", o, n);
257
257
  let s = !1;
258
- n.forEach((e) => {
258
+ r.forEach((e) => {
259
259
  s ||= e.x === o.x && e.y === o.y;
260
- }), n.some((e) => e.x === o.x && e.y === o.y) ? r.warn("abc88 no intersect", o, n) : n.push(o), a = !0;
261
- } else r.warn("abc88 outside", e, i), i = e, a || n.push(e);
262
- }), r.debug("returning points", n), n;
260
+ }), r.some((e) => e.x === o.x && e.y === o.y) ? e.warn("abc88 no intersect", o, r) : r.push(o), a = !0;
261
+ } else e.warn("abc88 outside", t, i), i = t, a || r.push(t);
262
+ }), e.debug("returning points", r), r;
263
263
  }, "cutPathAtIntersect");
264
264
  function U(e) {
265
265
  let t = [], n = [];
@@ -272,90 +272,90 @@ function U(e) {
272
272
  cornerPointPositions: n
273
273
  };
274
274
  }
275
- i(U, "extractCornerPoints");
276
- var W = /* @__PURE__ */ i(function(e, t, n) {
275
+ t(U, "extractCornerPoints");
276
+ var W = /* @__PURE__ */ t(function(e, t, n) {
277
277
  let r = t.x - e.x, i = t.y - e.y, a = n / Math.sqrt(r * r + i * i);
278
278
  return {
279
279
  x: t.x - a * r,
280
280
  y: t.y - a * i
281
281
  };
282
- }, "findAdjacentPoint"), re = /* @__PURE__ */ i(function(e) {
283
- let { cornerPointPositions: t } = U(e), n = [];
284
- for (let i = 0; i < e.length; i++) if (t.includes(i)) {
285
- let t = e[i - 1], a = e[i + 1], o = e[i], s = W(t, o, 5), c = W(a, o, 5), l = c.x - s.x, u = c.y - s.y;
286
- n.push(s);
282
+ }, "findAdjacentPoint"), re = /* @__PURE__ */ t(function(t) {
283
+ let { cornerPointPositions: n } = U(t), r = [];
284
+ for (let i = 0; i < t.length; i++) if (n.includes(i)) {
285
+ let n = t[i - 1], a = t[i + 1], o = t[i], s = W(n, o, 5), c = W(a, o, 5), l = c.x - s.x, u = c.y - s.y;
286
+ r.push(s);
287
287
  let d = Math.sqrt(2) * 2, f = {
288
288
  x: o.x,
289
289
  y: o.y
290
290
  };
291
- Math.abs(a.x - t.x) > 10 && Math.abs(a.y - t.y) >= 10 ? (r.debug("Corner point fixing", Math.abs(a.x - t.x), Math.abs(a.y - t.y)), f = o.x === s.x ? {
291
+ Math.abs(a.x - n.x) > 10 && Math.abs(a.y - n.y) >= 10 ? (e.debug("Corner point fixing", Math.abs(a.x - n.x), Math.abs(a.y - n.y)), f = o.x === s.x ? {
292
292
  x: l < 0 ? s.x - 5 + d : s.x + 5 - d,
293
293
  y: u < 0 ? s.y - d : s.y + d
294
294
  } : {
295
295
  x: l < 0 ? s.x - d : s.x + d,
296
296
  y: u < 0 ? s.y - 5 + d : s.y + 5 - d
297
- }) : r.debug("Corner point skipping fixing", Math.abs(a.x - t.x), Math.abs(a.y - t.y)), n.push(f, c);
298
- } else n.push(e[i]);
299
- return n;
300
- }, "fixCorners"), ie = /* @__PURE__ */ i((e, t, n) => {
297
+ }) : e.debug("Corner point skipping fixing", Math.abs(a.x - n.x), Math.abs(a.y - n.y)), r.push(f, c);
298
+ } else r.push(t[i]);
299
+ return r;
300
+ }, "fixCorners"), ie = /* @__PURE__ */ t((e, t, n) => {
301
301
  let r = e - t - n, i = Math.floor(r / 4);
302
302
  return `0 ${t} ${Array(i).fill("2 2").join(" ")} ${n}`;
303
- }, "generateDashArray"), G = /* @__PURE__ */ i(function(t, n, i, C, w, T, E, D = !1) {
304
- if (!E) throw Error(`insertEdge: missing diagramId for edge "${n.id}" \u2014 edge IDs require a diagram prefix for uniqueness`);
305
- let { handDrawnSeed: O } = e(), A = n.points, j = !1, M = w;
303
+ }, "generateDashArray"), G = /* @__PURE__ */ t(function(t, r, i, C, w, T, E, D = !1) {
304
+ if (!E) throw Error(`insertEdge: missing diagramId for edge "${r.id}" \u2014 edge IDs require a diagram prefix for uniqueness`);
305
+ let { handDrawnSeed: O } = a(), A = r.points, j = !1, M = w;
306
306
  var N = T;
307
307
  let P = [];
308
- for (let e in n.cssCompiledStyles) ee(e) || P.push(n.cssCompiledStyles[e]);
309
- r.debug("UIO intersect check", n.points, N.x, M.x), N.intersect && M.intersect && !D && (A = A.slice(1, n.points.length - 1), A.unshift(M.intersect(A[0])), r.debug("Last point UIO", n.start, "-->", n.end, A[A.length - 1], N, N.intersect(A[A.length - 1])), A.push(N.intersect(A[A.length - 1])));
308
+ for (let e in r.cssCompiledStyles) ee(e) || P.push(r.cssCompiledStyles[e]);
309
+ e.debug("UIO intersect check", r.points, N.x, M.x), N.intersect && M.intersect && !D && (A = A.slice(1, r.points.length - 1), A.unshift(M.intersect(A[0])), e.debug("Last point UIO", r.start, "-->", r.end, A[A.length - 1], N, N.intersect(A[A.length - 1])), A.push(N.intersect(A[A.length - 1])));
310
310
  let F = btoa(JSON.stringify(A));
311
- n.toCluster && (r.info("to cluster abc88", i.get(n.toCluster)), A = H(n.points, i.get(n.toCluster).node), j = !0), n.fromCluster && (r.debug("from cluster abc88", i.get(n.fromCluster), JSON.stringify(A, null, 2)), A = H(A.reverse(), i.get(n.fromCluster).node).reverse(), j = !0);
312
- let I = A.filter((e) => !Number.isNaN(e.y)), L = ne(n.curve);
311
+ r.toCluster && (e.info("to cluster abc88", i.get(r.toCluster)), A = H(r.points, i.get(r.toCluster).node), j = !0), r.fromCluster && (e.debug("from cluster abc88", i.get(r.fromCluster), JSON.stringify(A, null, 2)), A = H(A.reverse(), i.get(r.fromCluster).node).reverse(), j = !0);
312
+ let I = A.filter((e) => !Number.isNaN(e.y)), L = ne(r.curve);
313
313
  L !== "rounded" && (I = re(I));
314
- let R = c;
314
+ let R = _;
315
315
  switch (L) {
316
316
  case "linear":
317
- R = c;
317
+ R = _;
318
318
  break;
319
319
  case "basis":
320
- R = l;
320
+ R = p;
321
321
  break;
322
322
  case "cardinal":
323
- R = h;
323
+ R = o;
324
324
  break;
325
325
  case "bumpX":
326
- R = m;
326
+ R = v;
327
327
  break;
328
328
  case "bumpY":
329
- R = g;
329
+ R = h;
330
330
  break;
331
331
  case "catmullRom":
332
- R = o;
332
+ R = l;
333
333
  break;
334
334
  case "monotoneX":
335
- R = p;
335
+ R = u;
336
336
  break;
337
337
  case "monotoneY":
338
- R = y;
338
+ R = f;
339
339
  break;
340
340
  case "natural":
341
341
  R = d;
342
342
  break;
343
343
  case "step":
344
- R = u;
344
+ R = s;
345
345
  break;
346
346
  case "stepAfter":
347
- R = f;
347
+ R = c;
348
348
  break;
349
349
  case "stepBefore":
350
- R = s;
350
+ R = g;
351
351
  break;
352
352
  case "rounded":
353
- R = c;
353
+ R = _;
354
354
  break;
355
- default: R = l;
355
+ default: R = p;
356
356
  }
357
- let { x: z, y: B } = S(n), V = b().x(z).y(B).curve(R), U;
358
- switch (n.thickness) {
357
+ let { x: z, y: B } = S(r), V = b().x(z).y(B).curve(R), U;
358
+ switch (r.thickness) {
359
359
  case "normal":
360
360
  U = "edge-thickness-normal";
361
361
  break;
@@ -367,7 +367,7 @@ var W = /* @__PURE__ */ i(function(e, t, n) {
367
367
  break;
368
368
  default: U = "edge-thickness-normal";
369
369
  }
370
- switch (n.pattern) {
370
+ switch (r.pattern) {
371
371
  case "solid":
372
372
  U += " edge-pattern-solid";
373
373
  break;
@@ -379,39 +379,39 @@ var W = /* @__PURE__ */ i(function(e, t, n) {
379
379
  break;
380
380
  default: U += " edge-pattern-solid";
381
381
  }
382
- let W, G = L === "rounded" ? K(J(I, n), 5) : V(I), q = Array.isArray(n.style) ? n.style : [n.style], Y = q.find((e) => e?.startsWith("stroke:")), X = "";
383
- n.animate && (X = "edge-animation-fast"), n.animation && (X = "edge-animation-" + n.animation);
382
+ let W, G = L === "rounded" ? K(J(I, r), 5) : V(I), q = Array.isArray(r.style) ? r.style : [r.style], Y = q.find((e) => e?.startsWith("stroke:")), X = "";
383
+ r.animate && (X = "edge-animation-fast"), r.animation && (X = "edge-animation-" + r.animation);
384
384
  let Z = !1;
385
- if (n.look === "handDrawn") {
385
+ if (r.look === "handDrawn") {
386
386
  let e = te.svg(t);
387
387
  Object.assign([], I);
388
- let r = e.path(G, {
388
+ let i = e.path(G, {
389
389
  roughness: .3,
390
390
  seed: O
391
391
  });
392
- U += " transition", W = a(r).select("path").attr("id", `${E}-${n.id}`).attr("class", " " + U + (n.classes ? " " + n.classes : "") + (X ? " " + X : "")).attr("style", q ? q.reduce((e, t) => e + ";" + t, "") : "");
393
- let i = W.attr("d");
394
- W.attr("d", i), t.node().appendChild(W.node());
392
+ U += " transition", W = n(i).select("path").attr("id", `${E}-${r.id}`).attr("class", " " + U + (r.classes ? " " + r.classes : "") + (X ? " " + X : "")).attr("style", q ? q.reduce((e, t) => e + ";" + t, "") : "");
393
+ let a = W.attr("d");
394
+ W.attr("d", a), t.node().appendChild(W.node());
395
395
  } else {
396
- let e = P.join(";"), r = q ? q.reduce((e, t) => e + t + ";", "") : "", i = (e ? e + ";" + r + ";" : r) + ";" + (q ? q.reduce((e, t) => e + ";" + t, "") : "");
397
- W = t.append("path").attr("d", G).attr("id", `${E}-${n.id}`).attr("class", " " + U + (n.classes ? " " + n.classes : "") + (X ? " " + X : "")).attr("style", i), Y = i.match(/stroke:([^;]+)/)?.[1], Z = n.animate === !0 || !!n.animation || e.includes("animation");
398
- let a = W.node(), o = typeof a.getTotalLength == "function" ? a.getTotalLength() : 0, s = x[n.arrowTypeStart] || 0, c = x[n.arrowTypeEnd] || 0;
399
- if (n.look === "neo" && !Z) {
400
- let e = `stroke-dasharray: ${n.pattern === "dotted" || n.pattern === "dashed" ? ie(o, s, c) : `0 ${s} ${o - s - c} ${c}`}; stroke-dashoffset: 0;`;
396
+ let e = P.join(";"), n = q ? q.reduce((e, t) => e + t + ";", "") : "", i = (e ? e + ";" + n + ";" : n) + ";" + (q ? q.reduce((e, t) => e + ";" + t, "") : "");
397
+ W = t.append("path").attr("d", G).attr("id", `${E}-${r.id}`).attr("class", " " + U + (r.classes ? " " + r.classes : "") + (X ? " " + X : "")).attr("style", i), Y = i.match(/stroke:([^;]+)/)?.[1], Z = r.animate === !0 || !!r.animation || e.includes("animation");
398
+ let a = W.node(), o = typeof a.getTotalLength == "function" ? a.getTotalLength() : 0, s = x[r.arrowTypeStart] || 0, c = x[r.arrowTypeEnd] || 0;
399
+ if (r.look === "neo" && !Z) {
400
+ let e = `stroke-dasharray: ${r.pattern === "dotted" || r.pattern === "dashed" ? ie(o, s, c) : `0 ${s} ${o - s - c} ${c}`}; stroke-dashoffset: 0;`;
401
401
  W.attr("style", e + W.attr("style"));
402
402
  }
403
403
  }
404
- W.attr("data-edge", !0), W.attr("data-et", "edge"), W.attr("data-id", n.id), W.attr("data-points", F), W.attr("data-look", v(n.look)), n.showPoints && I.forEach((e) => {
404
+ W.attr("data-edge", !0), W.attr("data-et", "edge"), W.attr("data-id", r.id), W.attr("data-points", F), W.attr("data-look", y(r.look)), r.showPoints && I.forEach((e) => {
405
405
  t.append("circle").style("stroke", "red").style("fill", "red").attr("r", 1).attr("cx", e.x).attr("cy", e.y);
406
406
  });
407
407
  let Q = "";
408
- (e().flowchart.arrowMarkerAbsolute || e().state.arrowMarkerAbsolute) && (Q = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, Q = Q.replace(/\(/g, "\\(").replace(/\)/g, "\\)")), r.info("arrowTypeStart", n.arrowTypeStart), r.info("arrowTypeEnd", n.arrowTypeEnd);
409
- let ae = !Z && n?.look === "neo";
410
- k(W, n, Q, E, C, ae, Y);
408
+ (a().flowchart.arrowMarkerAbsolute || a().state.arrowMarkerAbsolute) && (Q = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, Q = Q.replace(/\(/g, "\\(").replace(/\)/g, "\\)")), e.info("arrowTypeStart", r.arrowTypeStart), e.info("arrowTypeEnd", r.arrowTypeEnd);
409
+ let ae = !Z && r?.look === "neo";
410
+ k(W, r, Q, E, C, ae, Y);
411
411
  let oe = Math.floor(A.length / 2), se = A[oe];
412
- _.isLabelCoordinateInPath(se, W.attr("d")) || (j = !0);
412
+ m.isLabelCoordinateInPath(se, W.attr("d")) || (j = !0);
413
413
  let $ = {};
414
- return j && ($.updatedPath = A), $.originalPath = n.points, $;
414
+ return j && ($.updatedPath = A), $.originalPath = r.points, $;
415
415
  }, "insertEdge");
416
416
  function K(e, t) {
417
417
  if (e.length < 2) return "";
@@ -437,7 +437,7 @@ function K(e, t) {
437
437
  }
438
438
  return n;
439
439
  }
440
- i(K, "generateRoundedPath");
440
+ t(K, "generateRoundedPath");
441
441
  function q(e, t) {
442
442
  if (!e || !t) return {
443
443
  angle: 0,
@@ -451,7 +451,7 @@ function q(e, t) {
451
451
  deltaY: r
452
452
  };
453
453
  }
454
- i(q, "calculateDeltaAndAngle");
454
+ t(q, "calculateDeltaAndAngle");
455
455
  function J(e, t) {
456
456
  let n = e.map((e) => ({ ...e }));
457
457
  if (e.length >= 2 && C[t.arrowTypeStart]) {
@@ -465,94 +465,94 @@ function J(e, t) {
465
465
  }
466
466
  return n;
467
467
  }
468
- i(J, "applyMarkerOffsetsToPoints");
469
- var Y = /* @__PURE__ */ i((e, t, n, r) => {
468
+ t(J, "applyMarkerOffsetsToPoints");
469
+ var Y = /* @__PURE__ */ t((e, t, n, r) => {
470
470
  t.forEach((t) => {
471
471
  X[t](e, n, r);
472
472
  });
473
473
  }, "insertMarkers"), X = {
474
- extension: /* @__PURE__ */ i((e, t, n) => {
475
- r.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").attr("markerUnits", "userSpaceOnUse").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"), e.append("marker").attr("id", n + "_" + t + "-extensionStart-margin").attr("class", "marker extension " + t).attr("refX", 18).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").attr("viewBox", "0 0 20 14").append("polygon").attr("points", "10,7 18,13 18,1").style("stroke-width", 2).style("stroke-dasharray", "0"), e.append("defs").append("marker").attr("id", n + "_" + t + "-extensionEnd-margin").attr("class", "marker extension " + t).attr("refX", 9).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").attr("viewBox", "0 0 20 14").append("polygon").attr("points", "10,1 10,13 18,7").style("stroke-width", 2).style("stroke-dasharray", "0");
474
+ extension: /* @__PURE__ */ t((t, n, r) => {
475
+ e.trace("Making markers for ", r), t.append("defs").append("marker").attr("id", r + "_" + n + "-extensionStart").attr("class", "marker extension " + n).attr("refX", 18).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M 1,7 L18,13 V 1 Z"), t.append("defs").append("marker").attr("id", r + "_" + n + "-extensionEnd").attr("class", "marker extension " + n).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"), t.append("marker").attr("id", r + "_" + n + "-extensionStart-margin").attr("class", "marker extension " + n).attr("refX", 18).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").attr("viewBox", "0 0 20 14").append("polygon").attr("points", "10,7 18,13 18,1").style("stroke-width", 2).style("stroke-dasharray", "0"), t.append("defs").append("marker").attr("id", r + "_" + n + "-extensionEnd-margin").attr("class", "marker extension " + n).attr("refX", 9).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").attr("viewBox", "0 0 20 14").append("polygon").attr("points", "10,1 10,13 18,7").style("stroke-width", 2).style("stroke-dasharray", "0");
476
476
  }, "extension"),
477
- composition: /* @__PURE__ */ i((e, t, n) => {
477
+ composition: /* @__PURE__ */ t((e, t, n) => {
478
478
  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"), e.append("defs").append("marker").attr("id", n + "_" + t + "-compositionStart-margin").attr("class", "marker composition " + t).attr("refX", 15).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 0).attr("viewBox", "0 0 15 15").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-compositionEnd-margin").attr("class", "marker composition " + t).attr("refX", 3.5).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 0).attr("d", "M 18,7 L9,13 L1,7 L9,1 Z");
479
479
  }, "composition"),
480
- aggregation: /* @__PURE__ */ i((e, t, n) => {
480
+ aggregation: /* @__PURE__ */ t((e, t, n) => {
481
481
  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"), e.append("defs").append("marker").attr("id", n + "_" + t + "-aggregationStart-margin").attr("class", "marker aggregation " + t).attr("refX", 15).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 2).attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-aggregationEnd-margin").attr("class", "marker aggregation " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 2).attr("d", "M 18,7 L9,13 L1,7 L9,1 Z");
482
482
  }, "aggregation"),
483
- dependency: /* @__PURE__ */ i((e, t, n) => {
483
+ dependency: /* @__PURE__ */ t((e, t, n) => {
484
484
  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"), e.append("defs").append("marker").attr("id", n + "_" + t + "-dependencyStart-margin").attr("class", "marker dependency " + t).attr("refX", 4).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 0).attr("d", "M 5,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-dependencyEnd-margin").attr("class", "marker dependency " + t).attr("refX", 16).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 0).attr("d", "M 18,7 L9,13 L14,7 L9,1 Z");
485
485
  }, "dependency"),
486
- lollipop: /* @__PURE__ */ i((e, t, n) => {
486
+ lollipop: /* @__PURE__ */ t((e, t, n) => {
487
487
  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), e.append("defs").append("marker").attr("id", n + "_" + t + "-lollipopStart-margin").attr("class", "marker lollipop " + t).attr("refX", 13).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("circle").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6).attr("stroke-width", 2), e.append("defs").append("marker").attr("id", n + "_" + t + "-lollipopEnd-margin").attr("class", "marker lollipop " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("circle").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6).attr("stroke-width", 2);
488
488
  }, "lollipop"),
489
- point: /* @__PURE__ */ i((e, t, n) => {
489
+ point: /* @__PURE__ */ t((e, t, n) => {
490
490
  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"), e.append("marker").attr("id", n + "_" + t + "-pointEnd-margin").attr("class", "marker " + t).attr("viewBox", "0 0 11.5 14").attr("refX", 11.5).attr("refY", 7).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 10.5).attr("markerHeight", 14).attr("orient", "auto").append("path").attr("d", "M 0 0 L 11.5 7 L 0 14 z").attr("class", "arrowMarkerPath").style("stroke-width", 0).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-pointStart-margin").attr("class", "marker " + t).attr("viewBox", "0 0 11.5 14").attr("refX", 1).attr("refY", 7).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11.5).attr("markerHeight", 14).attr("orient", "auto").append("polygon").attr("points", "0,7 11.5,14 11.5,0").attr("class", "arrowMarkerPath").style("stroke-width", 0).style("stroke-dasharray", "1,0");
491
491
  }, "point"),
492
- circle: /* @__PURE__ */ i((e, t, n) => {
492
+ circle: /* @__PURE__ */ t((e, t, n) => {
493
493
  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"), e.append("marker").attr("id", n + "_" + t + "-circleEnd-margin").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refY", 5).attr("refX", 12.25).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 14).attr("markerHeight", 14).attr("orient", "auto").append("circle").attr("cx", "5").attr("cy", "5").attr("r", "5").attr("class", "arrowMarkerPath").style("stroke-width", 0).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-circleStart-margin").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", -2).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 14).attr("markerHeight", 14).attr("orient", "auto").append("circle").attr("cx", "5").attr("cy", "5").attr("r", "5").attr("class", "arrowMarkerPath").style("stroke-width", 0).style("stroke-dasharray", "1,0");
494
494
  }, "circle"),
495
- cross: /* @__PURE__ */ i((e, t, n) => {
495
+ cross: /* @__PURE__ */ t((e, t, n) => {
496
496
  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"), e.append("marker").attr("id", n + "_" + t + "-crossEnd-margin").attr("class", "marker cross " + t).attr("viewBox", "0 0 15 15").attr("refX", 17.7).attr("refY", 7.5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 1,1 L 14,14 M 1,14 L 14,1").attr("class", "arrowMarkerPath").style("stroke-width", 2.5), e.append("marker").attr("id", n + "_" + t + "-crossStart-margin").attr("class", "marker cross " + t).attr("viewBox", "0 0 15 15").attr("refX", -3.5).attr("refY", 7.5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 1,1 L 14,14 M 1,14 L 14,1").attr("class", "arrowMarkerPath").style("stroke-width", 2.5).style("stroke-dasharray", "1,0");
497
497
  }, "cross"),
498
- barb: /* @__PURE__ */ i((e, t, n) => {
498
+ barb: /* @__PURE__ */ t((e, t, n) => {
499
499
  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");
500
500
  }, "barb"),
501
- barbNeo: /* @__PURE__ */ i((e, t, r) => {
502
- let { themeVariables: i } = n(), { transitionColor: a } = i;
503
- e.append("defs").append("marker").attr("id", r + "_" + t + "-barbEnd").attr("refX", 19).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 14).attr("markerUnits", "strokeWidth").attr("orient", "auto").append("path").attr("d", "M 19,7 L11,14 L13,7 L11,0 Z"), e.append("defs").append("marker").attr("id", r + "_" + t + "-barbEnd-margin").attr("refX", 17).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 14).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto").append("path").attr("d", "M 19,7 L11,14 L13,7 L11,0 Z").attr("fill", `${a}`);
501
+ barbNeo: /* @__PURE__ */ t((e, t, n) => {
502
+ let { themeVariables: r } = i(), { transitionColor: a } = r;
503
+ e.append("defs").append("marker").attr("id", n + "_" + t + "-barbEnd").attr("refX", 19).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 14).attr("markerUnits", "strokeWidth").attr("orient", "auto").append("path").attr("d", "M 19,7 L11,14 L13,7 L11,0 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-barbEnd-margin").attr("refX", 17).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 14).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto").append("path").attr("d", "M 19,7 L11,14 L13,7 L11,0 Z").attr("fill", `${a}`);
504
504
  }, "barbNeo"),
505
- only_one: /* @__PURE__ */ i((e, t, n) => {
505
+ only_one: /* @__PURE__ */ t((e, t, n) => {
506
506
  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");
507
507
  }, "only_one"),
508
- zero_or_one: /* @__PURE__ */ i((e, t, n) => {
508
+ zero_or_one: /* @__PURE__ */ t((e, t, n) => {
509
509
  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");
510
510
  r.append("circle").attr("fill", "white").attr("cx", 21).attr("cy", 9).attr("r", 6), r.append("path").attr("d", "M9,0 L9,18");
511
511
  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");
512
512
  i.append("circle").attr("fill", "white").attr("cx", 9).attr("cy", 9).attr("r", 6), i.append("path").attr("d", "M21,0 L21,18");
513
513
  }, "zero_or_one"),
514
- one_or_more: /* @__PURE__ */ i((e, t, n) => {
514
+ one_or_more: /* @__PURE__ */ t((e, t, n) => {
515
515
  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");
516
516
  }, "one_or_more"),
517
- zero_or_more: /* @__PURE__ */ i((e, t, n) => {
517
+ zero_or_more: /* @__PURE__ */ t((e, t, n) => {
518
518
  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");
519
519
  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");
520
520
  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");
521
521
  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");
522
522
  }, "zero_or_more"),
523
- only_one_neo: /* @__PURE__ */ i((e, t, r) => {
524
- let { themeVariables: i } = n(), { strokeWidth: a } = i;
525
- e.append("defs").append("marker").attr("id", r + "_" + t + "-onlyOneStart").attr("class", "marker onlyOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M9,0 L9,18 M15,0 L15,18").attr("stroke-width", `${a}`), e.append("defs").append("marker").attr("id", r + "_" + t + "-onlyOneEnd").attr("class", "marker onlyOne " + t).attr("refX", 18).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M3,0 L3,18 M9,0 L9,18").attr("stroke-width", `${a}`);
523
+ only_one_neo: /* @__PURE__ */ t((e, t, n) => {
524
+ let { themeVariables: r } = i(), { strokeWidth: a } = r;
525
+ 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").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M9,0 L9,18 M15,0 L15,18").attr("stroke-width", `${a}`), 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").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M3,0 L3,18 M9,0 L9,18").attr("stroke-width", `${a}`);
526
526
  }, "only_one_neo"),
527
- zero_or_one_neo: /* @__PURE__ */ i((e, t, r) => {
528
- let { themeVariables: i } = n(), { strokeWidth: a, mainBkg: o } = i, s = e.append("defs").append("marker").attr("id", r + "_" + t + "-zeroOrOneStart").attr("class", "marker zeroOrOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 30).attr("markerHeight", 18).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse");
527
+ zero_or_one_neo: /* @__PURE__ */ t((e, t, n) => {
528
+ let { themeVariables: r } = i(), { strokeWidth: a, mainBkg: o } = r, s = 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").attr("markerUnits", "userSpaceOnUse");
529
529
  s.append("circle").attr("fill", o ?? "white").attr("cx", 21).attr("cy", 9).attr("stroke-width", `${a}`).attr("r", 6), s.append("path").attr("d", "M9,0 L9,18").attr("stroke-width", `${a}`);
530
- let c = e.append("defs").append("marker").attr("id", r + "_" + t + "-zeroOrOneEnd").attr("class", "marker zeroOrOne " + t).attr("refX", 30).attr("refY", 9).attr("markerWidth", 30).attr("markerHeight", 18).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto");
530
+ let c = 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("markerUnits", "userSpaceOnUse").attr("orient", "auto");
531
531
  c.append("circle").attr("fill", o ?? "white").attr("cx", 9).attr("cy", 9).attr("stroke-width", `${a}`).attr("r", 6), c.append("path").attr("d", "M21,0 L21,18").attr("stroke-width", `${a}`);
532
532
  }, "zero_or_one_neo"),
533
- one_or_more_neo: /* @__PURE__ */ i((e, t, r) => {
534
- let { themeVariables: i } = n(), { strokeWidth: a } = i;
535
- e.append("defs").append("marker").attr("id", r + "_" + t + "-oneOrMoreStart").attr("class", "marker oneOrMore " + t).attr("refX", 18).attr("refY", 18).attr("markerWidth", 45).attr("markerHeight", 36).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27").attr("stroke-width", `${a}`), e.append("defs").append("marker").attr("id", r + "_" + t + "-oneOrMoreEnd").attr("class", "marker oneOrMore " + t).attr("refX", 27).attr("refY", 18).attr("markerWidth", 45).attr("markerHeight", 36).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto").append("path").attr("d", "M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18").attr("stroke-width", `${a}`);
533
+ one_or_more_neo: /* @__PURE__ */ t((e, t, n) => {
534
+ let { themeVariables: r } = i(), { strokeWidth: a } = r;
535
+ 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").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27").attr("stroke-width", `${a}`), 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("markerUnits", "userSpaceOnUse").attr("orient", "auto").append("path").attr("d", "M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18").attr("stroke-width", `${a}`);
536
536
  }, "one_or_more_neo"),
537
- zero_or_more_neo: /* @__PURE__ */ i((e, t, r) => {
538
- let { themeVariables: i } = n(), { strokeWidth: a, mainBkg: o } = i, s = e.append("defs").append("marker").attr("id", r + "_" + t + "-zeroOrMoreStart").attr("class", "marker zeroOrMore " + t).attr("refX", 18).attr("refY", 18).attr("markerWidth", 57).attr("markerHeight", 36).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto");
537
+ zero_or_more_neo: /* @__PURE__ */ t((e, t, n) => {
538
+ let { themeVariables: r } = i(), { strokeWidth: a, mainBkg: o } = r, s = 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("markerUnits", "userSpaceOnUse").attr("orient", "auto");
539
539
  s.append("circle").attr("fill", o ?? "white").attr("cx", 45.5).attr("cy", 18).attr("r", 6).attr("stroke-width", `${a}`), s.append("path").attr("d", "M0,18 Q18,0 36,18 Q18,36 0,18").attr("stroke-width", `${a}`);
540
- let c = e.append("defs").append("marker").attr("id", r + "_" + t + "-zeroOrMoreEnd").attr("class", "marker zeroOrMore " + t).attr("refX", 39).attr("refY", 18).attr("markerWidth", 57).attr("markerHeight", 36).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse");
540
+ let c = 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").attr("markerUnits", "userSpaceOnUse");
541
541
  c.append("circle").attr("fill", o ?? "white").attr("cx", 11).attr("cy", 18).attr("r", 6).attr("stroke-width", `${a}`), c.append("path").attr("d", "M21,18 Q39,0 57,18 Q39,36 21,18").attr("stroke-width", `${a}`);
542
542
  }, "zero_or_more_neo"),
543
- requirement_arrow: /* @__PURE__ */ i((e, t, n) => {
543
+ requirement_arrow: /* @__PURE__ */ t((e, t, n) => {
544
544
  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");
545
545
  }, "requirement_arrow"),
546
- requirement_contains: /* @__PURE__ */ i((e, t, n) => {
546
+ requirement_contains: /* @__PURE__ */ t((e, t, n) => {
547
547
  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");
548
548
  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);
549
549
  }, "requirement_contains"),
550
- requirement_arrow_neo: /* @__PURE__ */ i((e, t, r) => {
551
- let { themeVariables: i } = n(), { strokeWidth: a } = i;
552
- e.append("defs").append("marker").attr("id", r + "_" + t + "-requirement_arrowEnd").attr("refX", 20).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").attr("stroke-width", `${a}`).attr("viewBox", "0 0 25 20").append("path").attr("d", "M0,0\n L20,10\n M20,10\n L0,20").attr("stroke-linejoin", "miter");
550
+ requirement_arrow_neo: /* @__PURE__ */ t((e, t, n) => {
551
+ let { themeVariables: r } = i(), { strokeWidth: a } = r;
552
+ 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").attr("markerUnits", "userSpaceOnUse").attr("stroke-width", `${a}`).attr("viewBox", "0 0 25 20").append("path").attr("d", "M0,0\n L20,10\n M20,10\n L0,20").attr("stroke-linejoin", "miter");
553
553
  }, "requirement_arrow_neo"),
554
- requirement_contains_neo: /* @__PURE__ */ i((e, t, r) => {
555
- let { themeVariables: i } = n(), { strokeWidth: a } = i, o = e.append("defs").append("marker").attr("id", r + "_" + t + "-requirement_containsStart").attr("refX", 0).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("g");
554
+ requirement_contains_neo: /* @__PURE__ */ t((e, t, n) => {
555
+ let { themeVariables: r } = i(), { strokeWidth: a } = r, o = 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").attr("markerUnits", "userSpaceOnUse").append("g");
556
556
  o.append("circle").attr("cx", 10).attr("cy", 10).attr("r", 9).attr("fill", "none"), o.append("line").attr("x1", 1).attr("x2", 19).attr("y1", 10).attr("y2", 10), o.append("line").attr("y1", 1).attr("y2", 19).attr("x1", 10).attr("x2", 10), o.selectAll("*").attr("stroke-width", `${a}`);
557
557
  }, "requirement_contains_neo")
558
558
  }, Z = Y;