@pi-outpost/embed 0.14.0 → 0.16.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 (344) hide show
  1. package/dist/PdfViewer-BEdoeHbS.cjs +1 -0
  2. package/dist/{PdfViewer-BHP5lV-o.js → PdfViewer-DvoTT6jM.js} +5 -5
  3. package/dist/{abnfDiagram-N423BO3Z-WMOVzCba.js → abnfDiagram-VCTEODGH-CYuCmqs8.js} +6 -6
  4. package/dist/abnfDiagram-VCTEODGH-SjZtzoAs.cjs +1 -0
  5. package/dist/{arc-BBnpgwVQ.js → arc-CtDF59mU.js} +8 -6
  6. package/dist/arc-Dh2Zrypi.cjs +1 -0
  7. package/dist/architecture-7GRP2DOG-BtgYGXkq.cjs +1 -0
  8. package/dist/architecture-7GRP2DOG-DBQ9eYgM.js +3 -0
  9. package/dist/{architectureDiagram-T3A2C74G-BH-F8FzB.js → architectureDiagram-5GKGNRK7-D2-hmLgN.js} +327 -318
  10. package/dist/architectureDiagram-5GKGNRK7-wrDPdf3y.cjs +36 -0
  11. package/dist/blockDiagram-OSKFZWR5-Boo8WJyt.cjs +129 -0
  12. package/dist/blockDiagram-OSKFZWR5-Bvi4xQOy.js +1922 -0
  13. package/dist/{browser-CynjNfkw.js → browser-BmmG9yeb.js} +40 -34
  14. package/dist/{browser-CAyUayTx.cjs → browser-CUQnQIhV.cjs} +5 -5
  15. package/dist/c-AHDGPWiJ.cjs +1 -0
  16. package/dist/{c-Cw4FsAeJ.js → c-BCMbpktW.js} +42 -31
  17. package/dist/c4Diagram-7LVT6UL2-BCrC0RQo.cjs +38 -0
  18. package/dist/{c4Diagram-5PPSVZJV-Cfnl6tZM.js → c4Diagram-7LVT6UL2-CU4tNaf1.js} +751 -703
  19. package/dist/{channel-Bq-0ENlK.js → channel-Cuipqk56.js} +1 -1
  20. package/dist/channel-DcrLLvcO.cjs +1 -0
  21. package/dist/{chunk-JQJVKLGR-CZorbEP3.js → chunk-3NF5O7KM-B-2znsHr.js} +155 -115
  22. package/dist/chunk-3NF5O7KM-B-DpUW2r.cjs +168 -0
  23. package/dist/chunk-4HAMMTFA-CtkrBT7X.cjs +62 -0
  24. package/dist/chunk-4HAMMTFA-dRm_HqMI.js +4188 -0
  25. package/dist/chunk-75Z2AOVW-DOXS9ORa.cjs +2 -0
  26. package/dist/{chunk-NSK5VX7P-DPxIxDdV.js → chunk-75Z2AOVW-Eg_bFxBJ.js} +60 -96
  27. package/dist/chunk-DU6HZSFF-3Hhp3Fo5.cjs +127 -0
  28. package/dist/{chunk-I66GZJ75-DexfhZwA.js → chunk-DU6HZSFF-CaHy-FdL.js} +527 -478
  29. package/dist/{chunk-2GRJ4B5K-DzaxUd3W.cjs → chunk-F27PBJKO-3UPgzIlN.cjs} +1 -1
  30. package/dist/{chunk-2GRJ4B5K-DXwE-yr5.js → chunk-F27PBJKO-BriqLvNp.js} +4 -4
  31. package/dist/{chunk-KEIR6QF5-BVnxrdHo.js → chunk-FOHPRMQF-BNNbqxGX.js} +424 -356
  32. package/dist/chunk-FOHPRMQF-tmTlwTeH.cjs +161 -0
  33. package/dist/chunk-GMAD6QVW-B6uvB_wz.cjs +72 -0
  34. package/dist/{chunk-WRU74C26-D4huAZcy.js → chunk-GMAD6QVW-DCCx2Rg1.js} +503 -267
  35. package/dist/chunk-GVQU2GXP-BRMv2gX3.js +37 -0
  36. package/dist/chunk-GVQU2GXP-iZT_vNLp.cjs +1 -0
  37. package/dist/{chunk-GF5L2VYU-BPBMCCz5.js → chunk-HLEWEB6X-DlG0X171.js} +16 -16
  38. package/dist/{chunk-GF5L2VYU-DgG-wovM.cjs → chunk-HLEWEB6X-aqFoPl02.cjs} +4 -4
  39. package/dist/chunk-L3NEJ4N5-DkoFQHrz.js +245 -0
  40. package/dist/chunk-L3NEJ4N5-vW3qRjIb.cjs +1 -0
  41. package/dist/{chunk-7Z6QIM7H-CIoK8R3m.js → chunk-OSK3NFVY-CxjvZYNR.js} +232 -150
  42. package/dist/chunk-OSK3NFVY-DU2FGOlI.cjs +10 -0
  43. package/dist/chunk-P2QGCYS3-DWeL9spl.cjs +1 -0
  44. package/dist/{chunk-W5SLKNZC-Djmw_p6f.js → chunk-P2QGCYS3-uCJfSNHC.js} +19 -19
  45. package/dist/{chunk-KBJHAD2P-CthZVYG5.cjs → chunk-POPQ4Y6H-BRQPB1-9.cjs} +1 -1
  46. package/dist/{chunk-KBJHAD2P-BlQyFndF.js → chunk-POPQ4Y6H-D2Z11lA3.js} +3 -3
  47. package/dist/{chunk-4I5QYGJK-LCSWSJfh.cjs → chunk-PWAF6VOD-CZZKCekP.cjs} +1 -1
  48. package/dist/{chunk-4I5QYGJK-JZmvuONC.js → chunk-PWAF6VOD-j4sFqhOF.js} +7 -9
  49. package/dist/{chunk-6Q2QTUOP-C5n08EA-.cjs → chunk-SVP7TREG-CTKSOFlx.cjs} +2 -2
  50. package/dist/{chunk-6Q2QTUOP-DvJxCxMM.js → chunk-SVP7TREG-CtJsmAIb.js} +4 -4
  51. package/dist/{chunk-XXDRQBXY-DsVp5qjg.js → chunk-XXDRQBXY-fOrVUHLI.js} +1 -1
  52. package/dist/{chunk-XXDRQBXY-gWcN0uCZ.cjs → chunk-XXDRQBXY-yMT3rT5Y.cjs} +1 -1
  53. package/dist/chunk-ZLD2IHE6-BZxKwfuv.cjs +231 -0
  54. package/dist/{chunk-5RXB4S5H-JthGygoA.js → chunk-ZLD2IHE6-tqumZV0E.js} +44 -48
  55. package/dist/classDiagram-CYGNFDIV-CQLOfBmz.cjs +1 -0
  56. package/dist/classDiagram-CYGNFDIV-DIu4rTyR.js +30 -0
  57. package/dist/classDiagram-v2-TLXNO2FR-BsYK4QnI.js +30 -0
  58. package/dist/classDiagram-v2-TLXNO2FR-CQLOfBmz.cjs +1 -0
  59. package/dist/{core-BO2hTFeF.js → core-B9pe29T7.js} +8 -7
  60. package/dist/core-BrupIPpc.cjs +3 -0
  61. package/dist/{cose-bilkent-JH36ORCC-BFo5zomD.js → cose-bilkent-JH36ORCC-1Ad4jvll.js} +65 -62
  62. package/dist/cose-bilkent-JH36ORCC-Cc2qvpLA.cjs +1 -0
  63. package/dist/{cpp-CeyO6lBG.js → cpp-CL2nTisp.js} +25 -14
  64. package/dist/cpp-DpAsh4uT.cjs +1 -0
  65. package/dist/{csharp-Ck6Fet_o.js → csharp-CK75iOSn.js} +37 -37
  66. package/dist/csharp-TOr_W-v9.cjs +1 -0
  67. package/dist/css-4wogsuks.cjs +1 -0
  68. package/dist/{css-ClSGJRju.js → css-DJr8nnnu.js} +6 -1
  69. package/dist/cynefin-OW5HDTMX-BmLJra-4.cjs +1 -0
  70. package/dist/cynefin-OW5HDTMX-CfYr_cVN.js +3 -0
  71. package/dist/{cynefinDiagram-MW4NZA55-CB4ZzMEN.js → cynefinDiagram-5FMLGOSQ-BSRTnQvp.js} +29 -23
  72. package/dist/cynefinDiagram-5FMLGOSQ-GvGZco52.cjs +62 -0
  73. package/dist/{cytoscape.esm-asYnbYTy.js → cytoscape.esm-Cq7KPj0t.js} +2480 -2480
  74. package/dist/cytoscape.esm-uHsEX1XI.cjs +321 -0
  75. package/dist/{dagre-BpqwxFKp.js → dagre-BMKbPnPh.js} +689 -456
  76. package/dist/dagre-EEW2OxRU.cjs +1 -0
  77. package/dist/dagre-OS7QT2EB-DFi6nnZc.cjs +4 -0
  78. package/dist/dagre-OS7QT2EB-DcpSzxsR.js +425 -0
  79. package/dist/{defaultLocale-up9-vqhM.js → defaultLocale-B4ncmkvI.js} +1 -4
  80. package/dist/defaultLocale-ybN1Vtvg.cjs +1 -0
  81. package/dist/diagram-S7CK7UJ4-BA67ZpiO.cjs +30 -0
  82. package/dist/{diagram-7IWD3JNH-Cschro8T.js → diagram-S7CK7UJ4-Cx2fQdp6.js} +39 -38
  83. package/dist/{diagram-UB23O5K3-D-yL2fvd.js → diagram-UQ7AKVKN-CvQH-Box.js} +12 -12
  84. package/dist/diagram-UQ7AKVKN-OteiyKD9.cjs +41 -0
  85. package/dist/{diagram-B4RE2ZJO-DKbKOwkP.cjs → diagram-VSXAHHWV-BjsZz1JJ.cjs} +1 -1
  86. package/dist/{diagram-B4RE2ZJO-B94mhDmV.js → diagram-VSXAHHWV-CCpCVOIq.js} +6 -6
  87. package/dist/diagram-VX7I27RA-Bx9fEhR0.cjs +24 -0
  88. package/dist/{diagram-Q27KOJAE-Cqn3IliP.js → diagram-VX7I27RA-HE5nQAXN.js} +64 -62
  89. package/dist/{diagram-LBJQPF4R-D0MEwBt6.js → diagram-Z3DM3KII-BEu4c4pP.js} +11 -11
  90. package/dist/diagram-Z3DM3KII-jy895UiZ.cjs +24 -0
  91. package/dist/{dist-D6LMt8nW.js → dist-Dtt9eY41.js} +1 -1
  92. package/dist/{dist-DNGlMOWd.cjs → dist-Dwv2VYAL.cjs} +1 -1
  93. package/dist/{ebnfDiagram-BXEA7PRR-B2HDWFYF.js → ebnfDiagram-PWID7BFC-B06rGL3A.js} +6 -6
  94. package/dist/ebnfDiagram-PWID7BFC-BQZKHpUr.cjs +1 -0
  95. package/dist/erDiagram-2YWLMYGG-CuEEIv1I.cjs +99 -0
  96. package/dist/{erDiagram-JOGREHBK-Badv_hu8.js → erDiagram-2YWLMYGG-IL4IhNXb.js} +1046 -807
  97. package/dist/eventmodeling-NTZA5JFV-D57pc07U.cjs +1 -0
  98. package/dist/eventmodeling-NTZA5JFV-DUbGOrrF.js +3 -0
  99. package/dist/flowDiagram-T62WH6J4-DdJo3Te1.js +16 -0
  100. package/dist/flowDiagram-T62WH6J4-YyzE7N5Z.cjs +1 -0
  101. package/dist/{ganttDiagram-PKOTCBZU-By0w7TmO.js → ganttDiagram-EL5Y4UJY-CIBhrOW6.js} +26 -36
  102. package/dist/ganttDiagram-EL5Y4UJY-PTWIufq8.cjs +292 -0
  103. package/dist/gitGraph-4MIJSDKK-CY4IuhXZ.js +3 -0
  104. package/dist/gitGraph-4MIJSDKK-D97vaDci.cjs +1 -0
  105. package/dist/{gitGraphDiagram-DS77QQ5N-B1uJYchG.js → gitGraphDiagram-WWUBYQGX-CjeedV4i.js} +16 -12
  106. package/dist/{gitGraphDiagram-DS77QQ5N-Fw8a66di.cjs → gitGraphDiagram-WWUBYQGX-D5yozoaq.cjs} +3 -3
  107. package/dist/{go-rg7jg1mu.js → go-B2E3I9E3.js} +4 -0
  108. package/dist/{go-D-pz-dmd.cjs → go-BDkypVKn.cjs} +1 -1
  109. package/dist/{graphlib-CkkG5MuS.cjs → graphlib-BaETKKSa.cjs} +1 -1
  110. package/dist/{graphlib-B0GbLif1.js → graphlib-CQa_B3rm.js} +5 -5
  111. package/dist/info-A6RAGUB7-Cx39sHYM.js +3 -0
  112. package/dist/info-A6RAGUB7-DT06-FB3.cjs +1 -0
  113. package/dist/{infoDiagram-6WML65LV-CkWm_KTB.js → infoDiagram-FKFFQAWI-BalzsRT4.js} +6 -6
  114. package/dist/infoDiagram-FKFFQAWI-NPtQF4vB.cjs +2 -0
  115. package/dist/init-BJdqMO10.cjs +1 -0
  116. package/dist/{init-CirqLVcp.js → init-CuXVI8k2.js} +1 -3
  117. package/dist/{ishikawaDiagram-WSZJBQD7-DTeFqC8L.js → ishikawaDiagram-5VMMS53U-BC2vrJSo.js} +14 -14
  118. package/dist/{ishikawaDiagram-WSZJBQD7-CQWHhozU.cjs → ishikawaDiagram-5VMMS53U-DN23jmFw.cjs} +3 -3
  119. package/dist/java-DFBMvIUR.cjs +1 -0
  120. package/dist/{java-HguKEfA2.js → java-T8Nr25pJ.js} +27 -22
  121. package/dist/{javascript-C8NCH8DE.js → javascript-CIP6I0eT.js} +6 -4
  122. package/dist/javascript-Gn0piXHk.cjs +1 -0
  123. package/dist/{journeyDiagram-NVQOT4AX-Cg6C3dFy.js → journeyDiagram-EYS64GPL-CLMBONXO.js} +14 -14
  124. package/dist/{journeyDiagram-NVQOT4AX-DLomv_vN.cjs → journeyDiagram-EYS64GPL-Co9rp-Q1.cjs} +3 -3
  125. package/dist/json-DOqjN5nI.js +42 -0
  126. package/dist/json-LMrXTXZM.cjs +1 -0
  127. package/dist/{kanban-definition-27J2QSJJ-B9Fog3W7.cjs → kanban-definition-UXKFOSKX-DzKPVjAq.cjs} +5 -5
  128. package/dist/{kanban-definition-27J2QSJJ-Bb7nb0gX.js → kanban-definition-UXKFOSKX-SNTHZo65.js} +31 -31
  129. package/dist/katex-CEF6MvLx.cjs +257 -0
  130. package/dist/katex-ohtLbxXc.js +21977 -0
  131. package/dist/{line-yqcJYv29.js → line-4_dF7rOW.js} +2 -2
  132. package/dist/{line-pOZ7Sdj7.cjs → line-D6gR53Af.cjs} +1 -1
  133. package/dist/{linear-CVhyaVzf.js → linear-C1gZJMVz.js} +8 -9
  134. package/dist/linear-Nt9BuHfn.cjs +1 -0
  135. package/dist/{markdown-CzgRofaE.js → markdown-BW-hB0s4.js} +2 -5
  136. package/dist/markdown-CTkHoGys.cjs +1 -0
  137. package/dist/{mermaid-parser.core-Cgsz0CdK.cjs → mermaid-parser.core-CBiDgMLi.cjs} +2 -2
  138. package/dist/{mermaid-parser.core-B8DQcCaz.js → mermaid-parser.core-DLNlSmfj.js} +31 -31
  139. package/dist/mermaid.core-B3QcBB1O.cjs +43 -0
  140. package/dist/mermaid.core-BIqYA7q2.js +3012 -0
  141. package/dist/{mindmap-definition-FAOFIHXS-9wa1P9NT.cjs → mindmap-definition-THT77NOG-Bo3D8RRT.cjs} +4 -4
  142. package/dist/{mindmap-definition-FAOFIHXS-DFG0Zs_1.js → mindmap-definition-THT77NOG-BtDuvAQ_.js} +27 -29
  143. package/dist/{ordinal-D0iNZ43g.cjs → ordinal-Bm_chml2.cjs} +1 -1
  144. package/dist/{ordinal-C1oQzsBn.js → ordinal-D3SPD7Kk.js} +2 -2
  145. package/dist/packet-AYTQ26CC-BGX2McoE.cjs +1 -0
  146. package/dist/packet-AYTQ26CC-IgkU2VYK.js +3 -0
  147. package/dist/path-DIS6ck99.cjs +1 -0
  148. package/dist/{path-mKa7UESy.js → path-PGqhG0Rz.js} +10 -11
  149. package/dist/{pdf-DyDm1M1B.js → pdf-B6zVkETi.js} +182 -220
  150. package/dist/pdf-cYqATYeW.cjs +54 -0
  151. package/dist/pegDiagram-XKGWAZYB-Cx-wZf4B.cjs +1 -0
  152. package/dist/{pegDiagram-VL7TDLO6-XOjprD-j.js → pegDiagram-XKGWAZYB-Ucd8o52_.js} +6 -6
  153. package/dist/{php-C9FOMGEA.js → php-Cn7gPoxt.js} +6 -0
  154. package/dist/{php-j6EhDZDE.cjs → php-DQmdBizx.cjs} +1 -1
  155. package/dist/pi-outpost-embed.cjs +47 -47
  156. package/dist/pi-outpost-embed.js +3750 -3717
  157. package/dist/pie-WAS4IAKB-CEyPj3UJ.cjs +1 -0
  158. package/dist/pie-WAS4IAKB-odE0A7fM.js +3 -0
  159. package/dist/pieDiagram-E7YTZNPT-BC-pW4cK.cjs +39 -0
  160. package/dist/{pieDiagram-7S7Q4E2Y-Cwe7fXgJ.js → pieDiagram-E7YTZNPT-DSx5wFMY.js} +20 -22
  161. package/dist/{python-DKAazMIE.js → python-BUfdXZqP.js} +6 -6
  162. package/dist/python-CrsffQw-.cjs +1 -0
  163. package/dist/{quadrantDiagram-CIZ2JOQS-CbaMHmYB.js → quadrantDiagram-AXDQQJYC-D8Y50xmh.js} +11 -11
  164. package/dist/{quadrantDiagram-CIZ2JOQS-CDfrU0dm.cjs → quadrantDiagram-AXDQQJYC-zPfqM9Q4.cjs} +2 -2
  165. package/dist/radar-RG4KPBEZ-ClYJNseM.cjs +1 -0
  166. package/dist/radar-RG4KPBEZ-DqbNqlJH.js +3 -0
  167. package/dist/railroad-74A4TZTK-Dzt4afqg.js +3 -0
  168. package/dist/railroad-74A4TZTK-hSKcr2y6.cjs +1 -0
  169. package/dist/railroad-abnf-HS5TGJTU-gq2RybTO.js +3 -0
  170. package/dist/railroad-abnf-HS5TGJTU-irEXz0eI.cjs +1 -0
  171. package/dist/railroad-ebnf-LZEXJU2U-CG19A1Xj.cjs +1 -0
  172. package/dist/railroad-ebnf-LZEXJU2U-D-pNpFrj.js +3 -0
  173. package/dist/railroad-peg-WCYAUIDC-BLdK3QCV.cjs +1 -0
  174. package/dist/railroad-peg-WCYAUIDC-Bo7wfe--.js +3 -0
  175. package/dist/railroadDiagram-O6MQD6OU-3JsgWyLe.cjs +1 -0
  176. package/dist/{railroadDiagram-AXF67PYL-CVXAv-Uu.js → railroadDiagram-O6MQD6OU-BTg2KtZO.js} +6 -6
  177. package/dist/{requirementDiagram-LRYGKXZP-Bzik4kgS.js → requirementDiagram-IS5BZ75X-C1OrS7DV.js} +25 -24
  178. package/dist/{requirementDiagram-LRYGKXZP-BGlGCftH.cjs → requirementDiagram-IS5BZ75X-D1BMLxZg.cjs} +4 -4
  179. package/dist/{rolldown-runtime-Dqa2HsxW.js → rolldown-runtime-B0aSnxlc.js} +2 -2
  180. package/dist/{rolldown-runtime-mLOUI7ql.cjs → rolldown-runtime-DF3sbh8G.cjs} +1 -1
  181. package/dist/{rough.esm-r0QOSzHM.cjs → rough.esm-ChRLLRha.cjs} +1 -1
  182. package/dist/{rough.esm-C5XyeDCN.js → rough.esm-D2JJJ0Ot.js} +60 -51
  183. package/dist/{ruby-ClR4zp-1.cjs → ruby-B1inj-Q8.cjs} +1 -1
  184. package/dist/{ruby-BAUeZQKZ.js → ruby-DYVKXPXk.js} +1 -1
  185. package/dist/{rust-DiTjMjP5.js → rust-BihXqTNi.js} +38 -25
  186. package/dist/rust-D39kF6re.cjs +1 -0
  187. package/dist/{sankeyDiagram-W5VNT64P-OeLUMuT6.cjs → sankeyDiagram-P5KCCOFB-D5BHxcxB.cjs} +2 -2
  188. package/dist/{sankeyDiagram-W5VNT64P-_8xZpo45.js → sankeyDiagram-P5KCCOFB-DTnkE4oO.js} +17 -15
  189. package/dist/{scss-CckAvQOx.js → scss-CzfrZ5cc.js} +6 -1
  190. package/dist/scss-t-vKjRr4.cjs +1 -0
  191. package/dist/{sequenceDiagram-SI44F4Z6-X4mzY21C.js → sequenceDiagram-WJ2MYXX4-Ba-z2rSx.js} +36 -48
  192. package/dist/sequenceDiagram-WJ2MYXX4-DlVJIIIl.cjs +162 -0
  193. package/dist/{sizeCapture-X5ZJPWSS-DKbHZNyz.js → sizeCapture-INFHLROL-B5Lg3qGn.js} +1 -1
  194. package/dist/{src-DJ4x3y2O.js → src-BMMAFeC3.js} +288 -291
  195. package/dist/src-D9o9TOtH.cjs +1 -0
  196. package/dist/{stateDiagram-OKZ733FA-CMM1orC_.js → stateDiagram-XQSTLZYL-BtcUS_dg.js} +21 -21
  197. package/dist/stateDiagram-XQSTLZYL-mSOJx_Wv.cjs +1 -0
  198. package/dist/stateDiagram-v2-IH3M54BS-DAa6SuH4.cjs +1 -0
  199. package/dist/stateDiagram-v2-IH3M54BS-E_Rhduzm.js +30 -0
  200. package/dist/swimlanes-V6O3JKXN-BooYLGtP.cjs +1 -0
  201. package/dist/{swimlanes-SLNWSIFB-C7LLK1V2.js → swimlanes-V6O3JKXN-xxlpXv1f.js} +1022 -1109
  202. package/dist/swimlanesDiagram-JKAHXJPX-BaMCBEUQ.cjs +8 -0
  203. package/dist/swimlanesDiagram-JKAHXJPX-DyQwD-QO.js +30 -0
  204. package/dist/timeline-definition-24CTP7MA-D6sSmprF.cjs +120 -0
  205. package/dist/{timeline-definition-Z64GVDOM-Cgc-2OmU.js → timeline-definition-24CTP7MA-Dr8ouzBO.js} +19 -19
  206. package/dist/treeView-Q6P3EWNA-BmkQxkVU.cjs +1 -0
  207. package/dist/treeView-Q6P3EWNA-CPEEGmNv.js +3 -0
  208. package/dist/treemap-WGGIJYW6-CGULpntJ.js +3 -0
  209. package/dist/treemap-WGGIJYW6-Dmi9HAR8.cjs +1 -0
  210. package/dist/typescript-BarIi8q9.cjs +1 -0
  211. package/dist/{typescript-mdYq8uqf.js → typescript-C93MG6Zk.js} +26 -24
  212. package/dist/vennDiagram-4TSXK5OY-D5MMYyff.cjs +34 -0
  213. package/dist/{vennDiagram-T6HMQDX7-BWj1BhMh.js → vennDiagram-4TSXK5OY-i6B1rhUA.js} +15 -15
  214. package/dist/wardley-WFR3VGLG-9zHZLKh9.js +3 -0
  215. package/dist/wardley-WFR3VGLG-B6YvLPJA.cjs +1 -0
  216. package/dist/{wardleyDiagram-T6FBY63Y-d_t4oVLE.js → wardleyDiagram-VM6X3IG4-1SFyFcXg.js} +46 -46
  217. package/dist/{wardleyDiagram-T6FBY63Y-OomvVIFj.cjs → wardleyDiagram-VM6X3IG4-DzZNzmB8.cjs} +36 -36
  218. package/dist/{workspacePath-BScUv3M_.js → workspacePath-CfDl0V4n.js} +1 -1
  219. package/dist/{workspacePath-kqTwbSP1.cjs → workspacePath-EgAFT36l.cjs} +1 -1
  220. package/dist/{xml-BamqaQOf.cjs → xml-B0vjUBag.cjs} +1 -1
  221. package/dist/{xml-DVYfB8uY.js → xml-GxASmsT7.js} +2 -6
  222. package/dist/{xychartDiagram-ELKLHX3M-BOSOdubI.cjs → xychartDiagram-S5SC5T6Z-BOsjfYJh.cjs} +4 -4
  223. package/dist/{xychartDiagram-ELKLHX3M-Ce-ai3a8.js → xychartDiagram-S5SC5T6Z-D6QDBBGJ.js} +263 -158
  224. package/dist/{yaml-_1BORZTQ.js → yaml-CHhF1kKQ.js} +25 -25
  225. package/dist/yaml-DZS9gzaB.cjs +1 -0
  226. package/package.json +2 -2
  227. package/dist/PdfViewer-BBmVq73v.cjs +0 -1
  228. package/dist/abnfDiagram-N423BO3Z-DOZfbvMH.cjs +0 -1
  229. package/dist/arc-DcUn9_NX.cjs +0 -1
  230. package/dist/architecture-TIHT7OUA-D-35jO9Y.cjs +0 -1
  231. package/dist/architecture-TIHT7OUA-DDyMqjR1.js +0 -3
  232. package/dist/architectureDiagram-T3A2C74G-RJUsi-Sx.cjs +0 -36
  233. package/dist/blockDiagram-VBNYF7ZC-Bz8oqXJQ.cjs +0 -132
  234. package/dist/blockDiagram-VBNYF7ZC-DYMmF9bV.js +0 -3160
  235. package/dist/c-4QgYfi8K.cjs +0 -1
  236. package/dist/c4Diagram-5PPSVZJV-DM6x-BYG.cjs +0 -10
  237. package/dist/channel-DoxF0tZj.cjs +0 -1
  238. package/dist/chunk-3NCLNEKW-CO28EZBG.cjs +0 -1
  239. package/dist/chunk-3NCLNEKW-dTH67Ne_.js +0 -10
  240. package/dist/chunk-5RXB4S5H-B5b3tdRl.cjs +0 -231
  241. package/dist/chunk-7BUUIJ7U-BFUeQBoS.js +0 -82
  242. package/dist/chunk-7BUUIJ7U-MzS1pW_S.cjs +0 -1
  243. package/dist/chunk-7Z6QIM7H-Ctljl7Vq.cjs +0 -10
  244. package/dist/chunk-I66GZJ75-CrpH-Rmq.cjs +0 -127
  245. package/dist/chunk-J7OUQ5F2-DhMpZbAr.js +0 -57
  246. package/dist/chunk-J7OUQ5F2-b-MfW4O9.cjs +0 -1
  247. package/dist/chunk-JQJVKLGR-2AQwaWbm.cjs +0 -156
  248. package/dist/chunk-KEIR6QF5-Cy_QBNG6.cjs +0 -161
  249. package/dist/chunk-NSK5VX7P-D5CepZHI.cjs +0 -2
  250. package/dist/chunk-QR6OTTB3-CQ_jjYb-.js +0 -3736
  251. package/dist/chunk-QR6OTTB3-DSg3ZWNW.cjs +0 -62
  252. package/dist/chunk-RYQCIY6F-27FDzaaE.cjs +0 -1
  253. package/dist/chunk-RYQCIY6F-C-YC3QS_.js +0 -239
  254. package/dist/chunk-UBXNYLIW-BBncokef.js +0 -32
  255. package/dist/chunk-UBXNYLIW-DlNyCWjj.cjs +0 -1
  256. package/dist/chunk-W5SLKNZC-bHBkM2CL.cjs +0 -1
  257. package/dist/chunk-WRU74C26-9KZxhHnn.cjs +0 -70
  258. package/dist/chunk-ZIRB5QZD-BU6XQUGC.cjs +0 -32
  259. package/dist/chunk-ZIRB5QZD-Cj-y77rH.js +0 -1146
  260. package/dist/classDiagram-JCYQIIEL-DeHc-x8i.cjs +0 -1
  261. package/dist/classDiagram-JCYQIIEL-DlHKjVPc.js +0 -30
  262. package/dist/classDiagram-v2-OCEON4UE-DeHc-x8i.cjs +0 -1
  263. package/dist/classDiagram-v2-OCEON4UE-DlhHN57j.js +0 -30
  264. package/dist/core-2nR1zkKb.cjs +0 -3
  265. package/dist/cose-bilkent-JH36ORCC-AyWV1dUo.cjs +0 -1
  266. package/dist/cpp-BUtp-HE2.cjs +0 -1
  267. package/dist/csharp-BJu4kEpt.cjs +0 -1
  268. package/dist/css-DeFr0lev.cjs +0 -1
  269. package/dist/cynefin-VYW2F7L2-DHhUPDgc.cjs +0 -1
  270. package/dist/cynefin-VYW2F7L2-DwiVqvhg.js +0 -3
  271. package/dist/cynefinDiagram-MW4NZA55-By102s5I.cjs +0 -62
  272. package/dist/cytoscape.esm-ByjvpCPI.cjs +0 -321
  273. package/dist/dagre-BBlCxSvR.cjs +0 -1
  274. package/dist/dagre-VZM6K2ZE-5zrH2LqV.js +0 -328
  275. package/dist/dagre-VZM6K2ZE-CNe7-jhy.cjs +0 -4
  276. package/dist/defaultLocale-u9yUoUmE.cjs +0 -1
  277. package/dist/diagram-7IWD3JNH-CSzLXhRw.cjs +0 -30
  278. package/dist/diagram-LBJQPF4R-DgD0a56I.cjs +0 -24
  279. package/dist/diagram-Q27KOJAE-DNWfiaD5.cjs +0 -24
  280. package/dist/diagram-UB23O5K3-DguyM6v_.cjs +0 -41
  281. package/dist/ebnfDiagram-BXEA7PRR-DuJrkFn-.cjs +0 -1
  282. package/dist/erDiagram-JOGREHBK-DtyaQROs.cjs +0 -85
  283. package/dist/eventmodeling-45OFAUF4-COTtdYDJ.js +0 -3
  284. package/dist/eventmodeling-45OFAUF4-CPEyr9kU.cjs +0 -1
  285. package/dist/flowDiagram-UKHOOZJN-C7t5VpYH.js +0 -17
  286. package/dist/flowDiagram-UKHOOZJN-CdkElxh8.cjs +0 -1
  287. package/dist/ganttDiagram-PKOTCBZU-CFgz4r57.cjs +0 -292
  288. package/dist/gitGraph-TEB2WS4Q-C3qBT0GM.js +0 -3
  289. package/dist/gitGraph-TEB2WS4Q-a8KsoPmR.cjs +0 -1
  290. package/dist/info-DKCQHKI2-BEYhR6ip.cjs +0 -1
  291. package/dist/info-DKCQHKI2-BPF6-pOb.js +0 -3
  292. package/dist/infoDiagram-6WML65LV-CB6z_iKE.cjs +0 -2
  293. package/dist/init-07zIhv_j.cjs +0 -1
  294. package/dist/java-CUN_usaq.cjs +0 -1
  295. package/dist/javascript-UZXSyUuu.cjs +0 -1
  296. package/dist/json-Cp01TR_B.js +0 -36
  297. package/dist/json-usH_MUzR.cjs +0 -1
  298. package/dist/linear-Cl2-QuPP.cjs +0 -1
  299. package/dist/map-CwPlMWPw.cjs +0 -1
  300. package/dist/map-DU12fF3s.js +0 -241
  301. package/dist/markdown-qeo95R0i.cjs +0 -1
  302. package/dist/mermaid.core-BIq27e0A.js +0 -1068
  303. package/dist/mermaid.core-DpsSj3iy.cjs +0 -10
  304. package/dist/packet-7NZHBO7P-DqvBYJTR.js +0 -3
  305. package/dist/packet-7NZHBO7P-Dz0O2bgq.cjs +0 -1
  306. package/dist/path-Kklx0M1v.cjs +0 -1
  307. package/dist/pdf-aU0TN69t.cjs +0 -54
  308. package/dist/pegDiagram-VL7TDLO6-B4FslsmM.cjs +0 -1
  309. package/dist/pie-RZYD4A2V-Hi9UdoE3.cjs +0 -1
  310. package/dist/pie-RZYD4A2V-qnruo9sH.js +0 -3
  311. package/dist/pieDiagram-7S7Q4E2Y-CNzUVS2d.cjs +0 -39
  312. package/dist/python-BYJzTRkK.cjs +0 -1
  313. package/dist/radar-I7S5WNFK-Dqdssa34.cjs +0 -1
  314. package/dist/radar-I7S5WNFK-np_pJCO-.js +0 -3
  315. package/dist/railroad-3IZDKUUU-NILjDQft.cjs +0 -1
  316. package/dist/railroad-3IZDKUUU-sjKBeXxB.js +0 -3
  317. package/dist/railroad-abnf-AHOZXSZD-BojH9sxV.cjs +0 -1
  318. package/dist/railroad-abnf-AHOZXSZD-x5cC_e_R.js +0 -3
  319. package/dist/railroad-ebnf-EBAXGLYW-2mlWpz38.js +0 -3
  320. package/dist/railroad-ebnf-EBAXGLYW-BKCSut1M.cjs +0 -1
  321. package/dist/railroad-peg-LSFZ7HO6-CsH-gnsp.cjs +0 -1
  322. package/dist/railroad-peg-LSFZ7HO6-D5vguo03.js +0 -3
  323. package/dist/railroadDiagram-AXF67PYL-EO1cBHEj.cjs +0 -1
  324. package/dist/rust-ghVvEWhm.cjs +0 -1
  325. package/dist/scss-CKxh5HRg.cjs +0 -1
  326. package/dist/sequenceDiagram-SI44F4Z6-CuaCFBtR.cjs +0 -162
  327. package/dist/src-CR--T_NF.cjs +0 -1
  328. package/dist/stateDiagram-OKZ733FA-Dq6hI_pq.cjs +0 -1
  329. package/dist/stateDiagram-v2-UEYNNEHI-BmWUstzl.js +0 -30
  330. package/dist/stateDiagram-v2-UEYNNEHI-DZULVhS9.cjs +0 -1
  331. package/dist/swimlanes-SLNWSIFB-BMS6R0BK.cjs +0 -1
  332. package/dist/swimlanesDiagram-ULZ7WXOC-DxHKX_pj.cjs +0 -8
  333. package/dist/swimlanesDiagram-ULZ7WXOC-uXMuqsao.js +0 -31
  334. package/dist/timeline-definition-Z64GVDOM-PPJqDdOy.cjs +0 -120
  335. package/dist/treeView-QDETBFTQ-Cpg_YeQ4.cjs +0 -1
  336. package/dist/treeView-QDETBFTQ-DdpEhzZX.js +0 -3
  337. package/dist/treemap-6X3UGDF4-BeCuRpkA.js +0 -3
  338. package/dist/treemap-6X3UGDF4-CFAmnKaf.cjs +0 -1
  339. package/dist/typescript-clWeqIBY.cjs +0 -1
  340. package/dist/vennDiagram-T6HMQDX7-DqY7YgNx.cjs +0 -34
  341. package/dist/wardley-OPB4EBWU-B0jnKd8x.cjs +0 -1
  342. package/dist/wardley-OPB4EBWU-DlIk2K0J.js +0 -3
  343. package/dist/yaml-bAgWofBg.cjs +0 -1
  344. /package/dist/{sizeCapture-X5ZJPWSS-bJ2ZX4Du.cjs → sizeCapture-INFHLROL-bJ2ZX4Du.cjs} +0 -0
@@ -1,18 +1,94 @@
1
1
  import { n as e } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
2
- import { m as t, p as n } from "./src-DJ4x3y2O.js";
3
- import { T as r, b as i, x as a } from "./chunk-I66GZJ75-DexfhZwA.js";
4
- 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-NSK5VX7P-DPxIxDdV.js";
5
- import { t as b } from "./line-yqcJYv29.js";
6
- import { n as x } from "./chunk-WRU74C26-D4huAZcy.js";
7
- import { i as S, n as ee, r as C, t as w } from "./chunk-7BUUIJ7U-BFUeQBoS.js";
8
- import { n as T } from "./chunk-UBXNYLIW-BBncokef.js";
9
- import { i as E, n as D } from "./chunk-W5SLKNZC-Djmw_p6f.js";
10
- import { t as te } from "./rough.esm-C5XyeDCN.js";
11
- import { r as O } from "./chunk-QR6OTTB3-CQ_jjYb-.js";
12
- //#region ../node_modules/mermaid/dist/chunks/mermaid.core/chunk-7Z6QIM7H.mjs
13
- var ne = /* @__PURE__ */ e((e, t, n, r, i, a = !1, o) => {
14
- t.arrowTypeStart && j(e, "start", t.arrowTypeStart, n, r, i, a, o), t.arrowTypeEnd && j(e, "end", t.arrowTypeEnd, n, r, i, a, o);
15
- }, "addEdgeMarkers"), k = {
2
+ import { m as t, p as n } from "./src-BMMAFeC3.js";
3
+ import { T as r, b as i, x as a } from "./chunk-DU6HZSFF-CaHy-FdL.js";
4
+ 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-75Z2AOVW-Eg_bFxBJ.js";
5
+ import { t as b } from "./line-4_dF7rOW.js";
6
+ import { n as x, r as S } from "./chunk-GMAD6QVW-DCCx2Rg1.js";
7
+ import { i as C, n as ee } from "./chunk-P2QGCYS3-uCJfSNHC.js";
8
+ import { t as te } from "./rough.esm-D2JJJ0Ot.js";
9
+ import { t as w } from "./chunk-4HAMMTFA-dRm_HqMI.js";
10
+ import { n as T } from "./chunk-GVQU2GXP-BRMv2gX3.js";
11
+ //#region ../node_modules/mermaid/dist/chunks/mermaid.core/chunk-OSK3NFVY.mjs
12
+ var E = /* @__PURE__ */ e((e, t) => {
13
+ if (t) return "translate(" + -e.width / 2 + ", " + -e.height / 2 + ")";
14
+ let n = e.x ?? 0, r = e.y ?? 0;
15
+ return "translate(" + -(n + e.width / 2) + ", " + -(r + e.height / 2) + ")";
16
+ }, "computeLabelTransform"), D = {
17
+ aggregation: 17.25,
18
+ extension: 17.25,
19
+ composition: 17.25,
20
+ dependency: 6,
21
+ lollipop: 13.5,
22
+ arrow_point: 4,
23
+ arrow_barb: 0,
24
+ arrow_barb_neo: 5.5
25
+ }, O = {
26
+ arrow_point: 4,
27
+ arrow_cross: 12.5,
28
+ arrow_circle: 12.5
29
+ };
30
+ function k(e, t) {
31
+ if (e === void 0 || t === void 0) return {
32
+ angle: 0,
33
+ deltaX: 0,
34
+ deltaY: 0
35
+ };
36
+ e = A(e), t = A(t);
37
+ let [n, r] = [e.x, e.y], [i, a] = [t.x, t.y], o = i - n, s = a - r;
38
+ return {
39
+ angle: Math.atan(s / o),
40
+ deltaX: o,
41
+ deltaY: s
42
+ };
43
+ }
44
+ e(k, "calculateDeltaAndAngle");
45
+ var A = /* @__PURE__ */ e((e) => Array.isArray(e) ? {
46
+ x: e[0],
47
+ y: e[1]
48
+ } : e, "pointTransformer"), ne = /* @__PURE__ */ e((t) => ({
49
+ x: /* @__PURE__ */ e(function(e, n, r) {
50
+ let i = 0, a = A(r[0]).x < A(r[r.length - 1]).x ? "left" : "right";
51
+ if (n === 0 && Object.hasOwn(D, t.arrowTypeStart)) {
52
+ let { angle: e, deltaX: n } = k(r[0], r[1]);
53
+ i = D[t.arrowTypeStart] * Math.cos(e) * (n >= 0 ? 1 : -1);
54
+ } else if (n === r.length - 1 && Object.hasOwn(D, t.arrowTypeEnd)) {
55
+ let { angle: e, deltaX: n } = k(r[r.length - 1], r[r.length - 2]);
56
+ i = D[t.arrowTypeEnd] * Math.cos(e) * (n >= 0 ? 1 : -1);
57
+ }
58
+ let o = Math.abs(A(e).x - A(r[r.length - 1]).x), s = Math.abs(A(e).y - A(r[r.length - 1]).y), c = Math.abs(A(e).x - A(r[0]).x), l = Math.abs(A(e).y - A(r[0]).y), u = D[t.arrowTypeStart], d = D[t.arrowTypeEnd];
59
+ if (o < d && o > 0 && s < d) {
60
+ let e = d + 1 - o;
61
+ e *= a === "right" ? -1 : 1, i -= e;
62
+ }
63
+ if (c < u && c > 0 && l < u) {
64
+ let e = u + 1 - c;
65
+ e *= a === "right" ? -1 : 1, i += e;
66
+ }
67
+ return A(e).x + i;
68
+ }, "x"),
69
+ y: /* @__PURE__ */ e(function(e, n, r) {
70
+ let i = 0, a = A(r[0]).y < A(r[r.length - 1]).y ? "down" : "up";
71
+ if (n === 0 && Object.hasOwn(D, t.arrowTypeStart)) {
72
+ let { angle: e, deltaY: n } = k(r[0], r[1]);
73
+ i = D[t.arrowTypeStart] * Math.abs(Math.sin(e)) * (n >= 0 ? 1 : -1);
74
+ } else if (n === r.length - 1 && Object.hasOwn(D, t.arrowTypeEnd)) {
75
+ let { angle: e, deltaY: n } = k(r[r.length - 1], r[r.length - 2]);
76
+ i = D[t.arrowTypeEnd] * Math.abs(Math.sin(e)) * (n >= 0 ? 1 : -1);
77
+ }
78
+ let o = Math.abs(A(e).y - A(r[r.length - 1]).y), s = Math.abs(A(e).x - A(r[r.length - 1]).x), c = Math.abs(A(e).y - A(r[0]).y), l = Math.abs(A(e).x - A(r[0]).x), u = D[t.arrowTypeStart], d = D[t.arrowTypeEnd];
79
+ if (o < d && o > 0 && s < d) {
80
+ let e = d + 1 - o;
81
+ e *= a === "up" ? -1 : 1, i -= e;
82
+ }
83
+ if (c < u && c > 0 && l < u) {
84
+ let e = u + 1 - c;
85
+ e *= a === "up" ? -1 : 1, i += e;
86
+ }
87
+ return A(e).y + i;
88
+ }, "y")
89
+ }), "getLineFunctionsWithOffset"), re = /* @__PURE__ */ e((e, t, n, r, i, a = !1, o) => {
90
+ t.arrowTypeStart && N(e, "start", t.arrowTypeStart, n, r, i, a, o), t.arrowTypeEnd && N(e, "end", t.arrowTypeEnd, n, r, i, a, o);
91
+ }, "addEdgeMarkers"), j = {
16
92
  arrow_cross: {
17
93
  type: "cross",
18
94
  fill: !1
@@ -77,7 +153,7 @@ var ne = /* @__PURE__ */ e((e, t, n, r, i, a = !1, o) => {
77
153
  type: "requirement_contains",
78
154
  fill: !1
79
155
  }
80
- }, A = [
156
+ }, M = [
81
157
  "cross",
82
158
  "point",
83
159
  "circle",
@@ -87,8 +163,9 @@ var ne = /* @__PURE__ */ e((e, t, n, r, i, a = !1, o) => {
87
163
  "composition",
88
164
  "dependency",
89
165
  "barb"
90
- ], j = /* @__PURE__ */ e((e, n, r, i, a, o, s = !1, c) => {
91
- let l = k[r], u = l && A.includes(l.type);
166
+ ], N = /* @__PURE__ */ e((e, n, r, i, a, o, s = !1, c) => {
167
+ if (!r || r === "none") return;
168
+ let l = j[r], u = l && M.includes(l.type);
92
169
  if (!l) {
93
170
  t.warn(`Unknown arrow type: ${r}`);
94
171
  return;
@@ -107,13 +184,13 @@ var ne = /* @__PURE__ */ e((e, t, n, r, i, a = !1, o) => {
107
184
  }
108
185
  e.attr(`marker-${n}`, `url(${i}#${t})`);
109
186
  } else e.attr(`marker-${n}`, `url(${i}#${d})`);
110
- }, "addEdgeMarker"), re = /* @__PURE__ */ e((e) => typeof e == "string" ? e : a()?.flowchart?.curve, "resolveEdgeCurveType"), M = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ e(() => {
111
- M.clear(), N.clear();
112
- }, "clear"), F = /* @__PURE__ */ e((e) => e ? typeof e == "string" ? e : e.reduce((e, t) => e + ";" + t, "") : "", "getLabelStyles"), I = /* @__PURE__ */ e(async (e, i) => {
113
- let o = a(), s = r(o), { labelStyles: c } = E(i);
187
+ }, "addEdgeMarker"), ie = /* @__PURE__ */ e((e) => typeof e == "string" ? e : a()?.flowchart?.curve, "resolveEdgeCurveType"), P = /* @__PURE__ */ new Map(), F = /* @__PURE__ */ new Map(), I = /* @__PURE__ */ e(() => {
188
+ P.clear(), F.clear();
189
+ }, "clear"), L = /* @__PURE__ */ e((e) => !!(e.label || e.startLabelLeft || e.startLabelRight || e.endLabelLeft || e.endLabelRight), "hasEdgeLabel"), R = /* @__PURE__ */ e((e) => e ? typeof e == "string" ? e : e.reduce((e, t) => e + ";" + t, "") : "", "getLabelStyles"), z = /* @__PURE__ */ e(async (e, i) => {
190
+ let o = a(), s = r(o), { labelStyles: c } = C(i);
114
191
  i.labelStyle = c;
115
192
  let l = e.insert("g").attr("class", "edgeLabel"), u = l.insert("g").attr("class", "label").attr("data-id", i.id), d = i.labelType === "markdown", f = await x(e, i.label, {
116
- style: F(i.labelStyle),
193
+ style: R(i.labelStyle),
117
194
  useHtmlLabels: s,
118
195
  addSvgBackground: !0,
119
196
  isNode: !1,
@@ -121,75 +198,77 @@ var ne = /* @__PURE__ */ e((e, t, n, r, i, a = !1, o) => {
121
198
  width: void 0
122
199
  }, o);
123
200
  u.node().appendChild(f), t.info("abc82", i, i.labelType);
124
- let p = f.getBBox(), m = p;
201
+ let p, m;
125
202
  if (s) {
126
203
  let e = f.children[0], t = n(f);
127
- p = e.getBoundingClientRect(), m = p, t.attr("width", p.width), t.attr("height", p.height);
204
+ p = await S.measure(() => e.getBoundingClientRect()), m = p, t.attr("width", p.width), t.attr("height", p.height);
128
205
  } else {
129
206
  let e = n(f).select("text").node();
130
- e && typeof e.getBBox == "function" && (m = e.getBBox());
207
+ await S.measure(() => {
208
+ p = f.getBBox(), m = e && typeof e.getBBox == "function" ? e.getBBox() : p;
209
+ });
131
210
  }
132
- u.attr("transform", w(m, s)), M.set(i.id, l), i.width = p.width, i.height = p.height;
211
+ u.attr("transform", E(m, s)), P.set(i.id, l), i.width = p.width, i.height = p.height;
133
212
  let h;
134
213
  if (i.startLabelLeft) {
135
- let t = e.insert("g").attr("class", "edgeTerminals"), r = t.insert("g").attr("class", "inner"), a = await O(r, i.startLabelLeft, F(i.labelStyle) || "", !1, !1);
214
+ let t = e.insert("g").attr("class", "edgeTerminals"), r = t.insert("g").attr("class", "inner"), a = await w(r, i.startLabelLeft, R(i.labelStyle) || "", !1, !1);
136
215
  h = a;
137
216
  let o = a.getBBox();
138
217
  if (s) {
139
218
  let e = a.children[0], t = n(a);
140
219
  o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
141
220
  }
142
- r.attr("transform", w(o, s)), N.get(i.id) || N.set(i.id, {}), N.get(i.id).startLeft = t, L(h, i.startLabelLeft);
221
+ r.attr("transform", E(o, s)), F.get(i.id) || F.set(i.id, {}), F.get(i.id).startLeft = t, B(h, i.startLabelLeft);
143
222
  }
144
223
  if (i.startLabelRight) {
145
- let t = e.insert("g").attr("class", "edgeTerminals"), r = t.insert("g").attr("class", "inner"), a = await O(r, i.startLabelRight, F(i.labelStyle) || "", !1, !1);
224
+ let t = e.insert("g").attr("class", "edgeTerminals"), r = t.insert("g").attr("class", "inner"), a = await w(r, i.startLabelRight, R(i.labelStyle) || "", !1, !1);
146
225
  h = a;
147
226
  let o = a.getBBox();
148
227
  if (s) {
149
228
  let e = a.children[0], t = n(a);
150
229
  o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
151
230
  }
152
- r.attr("transform", w(o, s)), N.get(i.id) || N.set(i.id, {}), N.get(i.id).startRight = t, L(h, i.startLabelRight);
231
+ r.attr("transform", E(o, s)), F.get(i.id) || F.set(i.id, {}), F.get(i.id).startRight = t, B(h, i.startLabelRight);
153
232
  }
154
233
  if (i.endLabelLeft) {
155
- let t = e.insert("g").attr("class", "edgeTerminals"), r = t.insert("g").attr("class", "inner"), a = await O(t, i.endLabelLeft, F(i.labelStyle) || "", !1, !1);
234
+ let t = e.insert("g").attr("class", "edgeTerminals"), r = t.insert("g").attr("class", "inner"), a = await w(t, i.endLabelLeft, R(i.labelStyle) || "", !1, !1);
156
235
  h = a;
157
236
  let o = a.getBBox();
158
237
  if (s) {
159
238
  let e = a.children[0], t = n(a);
160
239
  o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
161
240
  }
162
- r.attr("transform", w(o, s)), N.get(i.id) || N.set(i.id, {}), N.get(i.id).endLeft = t, L(h, i.endLabelLeft);
241
+ r.attr("transform", E(o, s)), F.get(i.id) || F.set(i.id, {}), F.get(i.id).endLeft = t, B(h, i.endLabelLeft);
163
242
  }
164
243
  if (i.endLabelRight) {
165
- let t = e.insert("g").attr("class", "edgeTerminals"), r = t.insert("g").attr("class", "inner"), a = await O(t, i.endLabelRight, F(i.labelStyle) || "", !1, !1);
244
+ let t = e.insert("g").attr("class", "edgeTerminals"), r = t.insert("g").attr("class", "inner"), a = await w(t, i.endLabelRight, R(i.labelStyle) || "", !1, !1);
166
245
  h = a;
167
246
  let o = a.getBBox();
168
247
  if (s) {
169
248
  let e = a.children[0], t = n(a);
170
249
  o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
171
250
  }
172
- r.attr("transform", w(o, s)), N.get(i.id) || N.set(i.id, {}), N.get(i.id).endRight = t, L(h, i.endLabelRight);
251
+ r.attr("transform", E(o, s)), F.get(i.id) || F.set(i.id, {}), F.get(i.id).endRight = t, B(h, i.endLabelRight);
173
252
  }
174
253
  return f;
175
254
  }, "insertEdgeLabel");
176
- function L(e, t) {
255
+ function B(e, t) {
177
256
  r(a()) && e && (e.style.width = t.length * 9 + "px", e.style.height = "12px");
178
257
  }
179
- e(L, "setTerminalWidth");
180
- var R = /* @__PURE__ */ e((e, n) => {
181
- t.debug("Moving label abc88 ", e.id, e.label, M.get(e.id), n);
182
- let r = n.updatedPath ? n.updatedPath : n.originalPath, { subGraphTitleTotalMargin: i } = T(a());
258
+ e(B, "setTerminalWidth");
259
+ var V = /* @__PURE__ */ e((e, n) => {
260
+ t.debug("Moving label abc88 ", e.id, e.label, P.get(e.id), n);
261
+ let r = n.updatedPath ? n.updatedPath : n.originalPath, i = a(), { subGraphTitleTotalMargin: o } = T(i);
183
262
  if (e.label) {
184
- let a = M.get(e.id), o = e.x, s = e.y;
263
+ let i = P.get(e.id), a = e.x, s = e.y;
185
264
  if (r) {
186
265
  let i = m.calcLabelPosition(r);
187
- t.debug("Moving label " + e.label + " from (", o, ",", s, ") to (", i.x, ",", i.y, ") abc88"), n.updatedPath && (o = i.x, s = i.y);
266
+ t.debug("Moving label " + e.label + " from (", a, ",", s, ") to (", i.x, ",", i.y, ") abc88"), n.updatedPath && (a = i.x, s = i.y);
188
267
  }
189
- a.attr("transform", `translate(${o}, ${s + i / 2})`);
268
+ i.attr("transform", `translate(${a}, ${s + o / 2})`);
190
269
  }
191
270
  if (e.startLabelLeft) {
192
- let t = N.get(e.id).startLeft, n = e.x, i = e.y;
271
+ let t = F.get(e.id).startLeft, n = e.x, i = e.y;
193
272
  if (r) {
194
273
  let t = m.calcTerminalLabelPosition(e.arrowTypeStart ? 10 : 0, "start_left", r);
195
274
  n = t.x, i = t.y;
@@ -197,7 +276,7 @@ var R = /* @__PURE__ */ e((e, n) => {
197
276
  t.attr("transform", `translate(${n}, ${i})`);
198
277
  }
199
278
  if (e.startLabelRight) {
200
- let t = N.get(e.id).startRight, n = e.x, i = e.y;
279
+ let t = F.get(e.id).startRight, n = e.x, i = e.y;
201
280
  if (r) {
202
281
  let t = m.calcTerminalLabelPosition(e.arrowTypeStart ? 10 : 0, "start_right", r);
203
282
  n = t.x, i = t.y;
@@ -205,7 +284,7 @@ var R = /* @__PURE__ */ e((e, n) => {
205
284
  t.attr("transform", `translate(${n}, ${i})`);
206
285
  }
207
286
  if (e.endLabelLeft) {
208
- let t = N.get(e.id).endLeft, n = e.x, i = e.y;
287
+ let t = F.get(e.id).endLeft, n = e.x, i = e.y;
209
288
  if (r) {
210
289
  let t = m.calcTerminalLabelPosition(e.arrowTypeEnd ? 10 : 0, "end_left", r);
211
290
  n = t.x, i = t.y;
@@ -213,14 +292,14 @@ var R = /* @__PURE__ */ e((e, n) => {
213
292
  t.attr("transform", `translate(${n}, ${i})`);
214
293
  }
215
294
  if (e.endLabelRight) {
216
- let t = N.get(e.id).endRight, n = e.x, i = e.y;
295
+ let t = F.get(e.id).endRight, n = e.x, i = e.y;
217
296
  if (r) {
218
297
  let t = m.calcTerminalLabelPosition(e.arrowTypeEnd ? 10 : 0, "end_right", r);
219
298
  n = t.x, i = t.y;
220
299
  }
221
300
  t.attr("transform", `translate(${n}, ${i})`);
222
301
  }
223
- }, "positionEdgeLabel"), ie = /* @__PURE__ */ e((e, t) => {
302
+ }, "positionEdgeLabel"), ae = /* @__PURE__ */ e((e, t) => {
224
303
  if (!e?.isLabelEdge || !e?.id?.endsWith("-to-label") || !Array.isArray(t) || t.length !== 2) return t;
225
304
  let [n, r] = t, i = Math.abs(r.x - n.x), a = Math.abs(r.y - n.y);
226
305
  return i < .001 || a < .001 ? t : a >= i ? [
@@ -238,10 +317,10 @@ var R = /* @__PURE__ */ e((e, n) => {
238
317
  },
239
318
  r
240
319
  ];
241
- }, "orthogonalizeToLabelClippedPoints"), z = /* @__PURE__ */ e((e, t) => {
320
+ }, "orthogonalizeToLabelClippedPoints"), H = /* @__PURE__ */ e((e, t) => {
242
321
  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;
243
322
  return i >= o || a >= s;
244
- }, "outsideNode"), B = /* @__PURE__ */ e((e, n, r) => {
323
+ }, "outsideNode"), U = /* @__PURE__ */ e((e, n, r) => {
245
324
  t.debug(`intersection calc abc89:
246
325
  outsidePoint: ${JSON.stringify(n)}
247
326
  insidePoint : ${JSON.stringify(r)}
@@ -255,7 +334,8 @@ var R = /* @__PURE__ */ e((e, n) => {
255
334
  y: r.y < n.y ? r.y + u - e : r.y - u + e
256
335
  };
257
336
  return c === 0 && (i.x = n.x, i.y = n.y), d === 0 && (i.x = n.x), u === 0 && (i.y = n.y), t.debug(`abc89 top/bottom calc, Q ${u}, q ${e}, R ${d}, r ${c}`, i), i;
258
- } else {
337
+ }
338
+ {
259
339
  c = r.x < n.x ? n.x - s - i : i - s - n.x;
260
340
  let e = u * c / d, a = r.x < n.x ? r.x + d - c : r.x - d + c, o = r.y < n.y ? r.y + e : r.y - e;
261
341
  return t.debug(`sides calc abc89, Q ${u}, q ${e}, R ${d}, r ${c}`, {
@@ -266,12 +346,12 @@ var R = /* @__PURE__ */ e((e, n) => {
266
346
  y: o
267
347
  };
268
348
  }
269
- }, "intersection"), V = /* @__PURE__ */ e((e, n) => {
349
+ }, "intersection"), W = /* @__PURE__ */ e((e, n) => {
270
350
  t.warn("abc88 cutPathAtIntersect", e, n);
271
351
  let r = [], i = e[0], a = !1;
272
352
  return e.forEach((e) => {
273
- if (t.info("abc88 checking point", e, n), !z(n, e) && !a) {
274
- let o = B(n, i, e);
353
+ if (t.info("abc88 checking point", e, n), !H(n, e) && !a) {
354
+ let o = U(n, i, e);
275
355
  t.debug("abc88 inside", e, i, o), t.debug("abc88 intersection", o, n);
276
356
  let s = !1;
277
357
  r.forEach((e) => {
@@ -280,7 +360,7 @@ var R = /* @__PURE__ */ e((e, n) => {
280
360
  } else t.warn("abc88 outside", e, i), i = e, a || r.push(e);
281
361
  }), t.debug("returning points", r), r;
282
362
  }, "cutPathAtIntersect");
283
- function H(e) {
363
+ function G(e) {
284
364
  let t = [], n = [];
285
365
  for (let r = 1; r < e.length - 1; r++) {
286
366
  let i = e[r - 1], a = e[r], o = e[r + 1];
@@ -291,17 +371,17 @@ function H(e) {
291
371
  cornerPointPositions: n
292
372
  };
293
373
  }
294
- e(H, "extractCornerPoints");
295
- var U = /* @__PURE__ */ e(function(e, t, n) {
374
+ e(G, "extractCornerPoints");
375
+ var K = /* @__PURE__ */ e(function(e, t, n) {
296
376
  let r = t.x - e.x, i = t.y - e.y, a = n / Math.sqrt(r * r + i * i);
297
377
  return {
298
378
  x: t.x - a * r,
299
379
  y: t.y - a * i
300
380
  };
301
- }, "findAdjacentPoint"), ae = /* @__PURE__ */ e(function(e) {
302
- let { cornerPointPositions: n } = H(e), r = [];
381
+ }, "findAdjacentPoint"), oe = /* @__PURE__ */ e(function(e) {
382
+ let { cornerPointPositions: n } = G(e), r = [];
303
383
  for (let i = 0; i < e.length; i++) if (n.includes(i)) {
304
- let n = e[i - 1], a = e[i + 1], o = e[i], s = U(n, o, 5), c = U(a, o, 5), l = c.x - s.x, u = c.y - s.y;
384
+ let n = e[i - 1], a = e[i + 1], o = e[i], s = K(n, o, 5), c = K(a, o, 5), l = c.x - s.x, u = c.y - s.y;
305
385
  r.push(s);
306
386
  let d = Math.sqrt(2) * 2, f = {
307
387
  x: o.x,
@@ -316,134 +396,136 @@ var U = /* @__PURE__ */ e(function(e, t, n) {
316
396
  }) : t.debug("Corner point skipping fixing", Math.abs(a.x - n.x), Math.abs(a.y - n.y)), r.push(f, c);
317
397
  } else r.push(e[i]);
318
398
  return r;
319
- }, "fixCorners"), oe = /* @__PURE__ */ e((e, t, n) => {
399
+ }, "fixCorners"), se = /* @__PURE__ */ e((e, t, n) => {
320
400
  let r = e - t - n, i = Math.floor(r / 4);
321
- return `0 ${t} ${Array(i).fill("2 2").join(" ")} ${n}`;
322
- }, "generateDashArray"), W = /* @__PURE__ */ e(function(e, r, i, x, C, w, T, E = !1) {
323
- if (!T) throw Error(`insertEdge: missing diagramId for edge "${r.id}" \u2014 edge IDs require a diagram prefix for uniqueness`);
324
- let { handDrawnSeed: O, layout: k } = a(), A = r.points, j = !1, M = C;
325
- var N = w;
326
- let P = [];
327
- for (let e in r.cssCompiledStyles) D(e) || P.push(r.cssCompiledStyles[e]);
328
- if (k === "swimlane") {
329
- if (N.intersect && M.intersect && Array.isArray(A) && A.length >= 2) if (A.length === 2) A = [M.intersect(A[0]), N.intersect(A[1])];
330
- else {
331
- let e = A.slice(1, -1), t = e[0], n = e[e.length - 1], r = .5, i = Math.abs(A[A.length - 1].x - n.x) < r && Math.abs(A[A.length - 1].y - n.y) < r, a = M.intersect(t), o = i ? n : N.intersect(n), s = Math.abs(o.x - n.x) < r && Math.abs(o.y - n.y) < r, c = Math.abs(a.x - t.x) < r && Math.abs(a.y - t.y) < r ? [] : [a], l = s ? [] : [o];
332
- A = [
333
- ...c,
334
- ...e,
335
- ...l
336
- ];
401
+ return `0 ${t} ${Array(Number.isFinite(i) ? Math.max(0, i) : 0).fill("2 2").join(" ")} ${n}`;
402
+ }, "generateDashArray"), q = /* @__PURE__ */ e(function(e, r, i, x, S, C, w, T = !1) {
403
+ if (!w) throw Error(`insertEdge: missing diagramId for edge "${r.id}" \u2014 edge IDs require a diagram prefix for uniqueness`);
404
+ let { handDrawnSeed: E, layout: D } = a(), k = r.points, A = !1, j = S;
405
+ var M = C;
406
+ let N = [];
407
+ for (let e in r.cssCompiledStyles) ee(e) || N.push(r.cssCompiledStyles[e]);
408
+ if (D === "swimlane") {
409
+ if (M.intersect && j.intersect && Array.isArray(k) && k.length >= 2) {
410
+ if (k.length === 2) k = [j.intersect(k[0]), M.intersect(k[1])];
411
+ else {
412
+ let e = k.slice(1, -1), t = e[0], n = e[e.length - 1], r = .5, i = Math.abs(k[k.length - 1].x - n.x) < r && Math.abs(k[k.length - 1].y - n.y) < r, a = j.intersect(t), o = i ? n : M.intersect(n), s = Math.abs(o.x - n.x) < r && Math.abs(o.y - n.y) < r, c = Math.abs(a.x - t.x) < r && Math.abs(a.y - t.y) < r ? [] : [a], l = s ? [] : [o];
413
+ k = [
414
+ ...c,
415
+ ...e,
416
+ ...l
417
+ ];
418
+ }
337
419
  }
338
- A = ie(r, A);
339
- } else N.intersect && M.intersect && !E && (A = A.slice(1, r.points.length - 1), A.unshift(M.intersect(A[0])), A.push(N.intersect(A[A.length - 1])));
340
- let F = btoa(JSON.stringify(A));
341
- r.toCluster && (t.info("to cluster abc88", i.get(r.toCluster)), A = V(r.points, i.get(r.toCluster).node), j = !0), r.fromCluster && (t.debug("from cluster abc88", i.get(r.fromCluster), JSON.stringify(A, null, 2)), A = V(A.reverse(), i.get(r.fromCluster).node).reverse(), j = !0);
342
- let I = A.filter((e) => !Number.isNaN(e.y)), L = re(r.curve);
343
- L !== "rounded" && (I = ae(I));
344
- let R = _;
345
- switch (L) {
420
+ k = ae(r, k);
421
+ } else M.intersect && j.intersect && !T && (k = k.slice(1, r.points.length - 1), k.unshift(j.intersect(k[0])), k.push(M.intersect(k[k.length - 1])));
422
+ let P = btoa(JSON.stringify(k));
423
+ r.toCluster && (t.info("to cluster abc88", i.get(r.toCluster)), k = W(r.points, i.get(r.toCluster).node), A = !0), r.fromCluster && (t.debug("from cluster abc88", i.get(r.fromCluster), JSON.stringify(k, null, 2)), k = W(k.reverse(), i.get(r.fromCluster).node).reverse(), A = !0);
424
+ let F = k.filter((e) => !Number.isNaN(e.y)), I = ie(r.curve);
425
+ I !== "rounded" && (F = oe(F));
426
+ let L = _;
427
+ switch (I) {
346
428
  case "linear":
347
- R = _;
429
+ L = _;
348
430
  break;
349
431
  case "basis":
350
- R = p;
432
+ L = p;
351
433
  break;
352
434
  case "cardinal":
353
- R = o;
435
+ L = o;
354
436
  break;
355
437
  case "bumpX":
356
- R = v;
438
+ L = v;
357
439
  break;
358
440
  case "bumpY":
359
- R = h;
441
+ L = h;
360
442
  break;
361
443
  case "catmullRom":
362
- R = l;
444
+ L = l;
363
445
  break;
364
446
  case "monotoneX":
365
- R = u;
447
+ L = u;
366
448
  break;
367
449
  case "monotoneY":
368
- R = f;
450
+ L = f;
369
451
  break;
370
452
  case "natural":
371
- R = d;
453
+ L = d;
372
454
  break;
373
455
  case "step":
374
- R = s;
456
+ L = s;
375
457
  break;
376
458
  case "stepAfter":
377
- R = c;
459
+ L = c;
378
460
  break;
379
461
  case "stepBefore":
380
- R = g;
462
+ L = g;
381
463
  break;
382
464
  case "rounded":
383
- R = _;
465
+ L = _;
384
466
  break;
385
- default: R = p;
467
+ default: L = p;
386
468
  }
387
- let { x: z, y: B } = ee(r), H = b().x(z).y(B).curve(R), U;
469
+ let { x: R, y: z } = ne(r), B = b().x(R).y(z).curve(L), V;
388
470
  switch (r.thickness) {
389
471
  case "normal":
390
- U = "edge-thickness-normal";
472
+ V = "edge-thickness-normal";
391
473
  break;
392
474
  case "thick":
393
- U = "edge-thickness-thick";
475
+ V = "edge-thickness-thick";
394
476
  break;
395
477
  case "invisible":
396
- U = "edge-thickness-invisible";
478
+ V = "edge-thickness-invisible";
397
479
  break;
398
- default: U = "edge-thickness-normal";
480
+ default: V = "edge-thickness-normal";
399
481
  }
400
482
  switch (r.pattern) {
401
483
  case "solid":
402
- U += " edge-pattern-solid";
484
+ V += " edge-pattern-solid";
403
485
  break;
404
486
  case "dotted":
405
- U += " edge-pattern-dotted";
487
+ V += " edge-pattern-dotted";
406
488
  break;
407
489
  case "dashed":
408
- U += " edge-pattern-dashed";
490
+ V += " edge-pattern-dashed";
409
491
  break;
410
- default: U += " edge-pattern-solid";
492
+ default: V += " edge-pattern-solid";
411
493
  }
412
- let W, K = L === "rounded" ? G(q(I, r), 5) : H(I), J = Array.isArray(r.style) ? r.style : [r.style], Y = J.find((e) => e?.startsWith("stroke:")), X = "";
413
- r.animate && (X = "edge-animation-fast"), r.animation && (X = "edge-animation-" + r.animation);
414
- let Z = !1;
494
+ let H, U = I === "rounded" ? J(X(F, r), 5) : B(F), G = Array.isArray(r.style) ? r.style : [r.style], K = G.find((e) => e?.startsWith("stroke:")), q = "";
495
+ r.animate && (q = "edge-animation-fast"), r.animation && (q = "edge-animation-" + r.animation);
496
+ let Y = !1;
415
497
  if (r.look === "handDrawn") {
416
498
  let t = te.svg(e);
417
- Object.assign([], I);
418
- let i = t.path(K, {
499
+ Object.assign([], F);
500
+ let i = t.path(U, {
419
501
  roughness: .3,
420
- seed: O
502
+ seed: E
421
503
  });
422
- U += " transition", W = n(i).select("path").attr("id", `${T}-${r.id}`).attr("class", " " + U + (r.classes ? " " + r.classes : "") + (X ? " " + X : "")).attr("style", J ? J.reduce((e, t) => e + ";" + t, "") : "");
423
- let a = W.attr("d");
424
- W.attr("d", a), e.node().appendChild(W.node());
504
+ V += " transition", H = n(i).select("path").attr("id", `${w}-${r.id}`).attr("class", " " + V + (r.classes ? " " + r.classes : "") + (q ? " " + q : "")).attr("style", G ? G.reduce((e, t) => e + ";" + t, "") : "");
505
+ let a = H.attr("d");
506
+ H.attr("d", a), e.node().appendChild(H.node());
425
507
  } else {
426
- let t = P.join(";"), n = J ? J.reduce((e, t) => e + t + ";", "") : "", i = (t ? t + ";" + n + ";" : n) + ";" + (J ? J.reduce((e, t) => e + ";" + t, "") : "");
427
- W = e.append("path").attr("d", K).attr("id", `${T}-${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 || t.includes("animation");
428
- let a = W.node(), o = typeof a.getTotalLength == "function" ? a.getTotalLength() : 0, s = S[r.arrowTypeStart] || 0, c = S[r.arrowTypeEnd] || 0;
429
- if (r.look === "neo" && !Z) {
430
- let e = `stroke-dasharray: ${r.pattern === "dotted" || r.pattern === "dashed" ? oe(o, s, c) : `0 ${s} ${o - s - c} ${c}`}; stroke-dashoffset: 0;`;
431
- W.attr("style", e + W.attr("style"));
508
+ let t = N.join(";"), n = G ? G.reduce((e, t) => e + t + ";", "") : "", i = (t ? t + ";" + n + ";" : n) + ";" + (G ? G.reduce((e, t) => e + ";" + t, "") : "");
509
+ H = e.append("path").attr("d", U).attr("id", `${w}-${r.id}`).attr("class", " " + V + (r.classes ? " " + r.classes : "") + (q ? " " + q : "")).attr("style", i), K = i.match(/stroke:([^;]+)/)?.[1], Y = r.animate === !0 || !!r.animation || t.includes("animation");
510
+ let a = H.node(), o = typeof a.getTotalLength == "function" ? a.getTotalLength() : 0, s = O[r.arrowTypeStart] || 0, c = O[r.arrowTypeEnd] || 0;
511
+ if (r.look === "neo" && !Y) {
512
+ let e = `stroke-dasharray: ${r.pattern === "dotted" || r.pattern === "dashed" ? se(o, s, c) : `0 ${s} ${o - s - c} ${c}`}; stroke-dashoffset: 0;`;
513
+ H.attr("style", e + H.attr("style"));
432
514
  }
433
515
  }
434
- 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((t) => {
516
+ H.attr("data-edge", !0), H.attr("data-et", "edge"), H.attr("data-id", r.id), H.attr("data-points", P), H.attr("data-look", y(r.look)), r.showPoints && F.forEach((t) => {
435
517
  e.append("circle").style("stroke", "red").style("fill", "red").attr("r", 1).attr("cx", t.x).attr("cy", t.y);
436
518
  });
437
- let Q = "";
438
- (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, "\\)")), t.info("arrowTypeStart", r.arrowTypeStart), t.info("arrowTypeEnd", r.arrowTypeEnd);
439
- let se = !Z && r?.look === "neo";
440
- ne(W, r, Q, T, x, se, Y);
441
- let ce = Math.floor(A.length / 2), le = A[ce];
442
- m.isLabelCoordinateInPath(le, W.attr("d")) || (j = !0);
519
+ let Z = "";
520
+ (a().flowchart.arrowMarkerAbsolute || a().state.arrowMarkerAbsolute) && (Z = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, Z = Z.replace(/\(/g, "\\(").replace(/\)/g, "\\)")), t.info("arrowTypeStart", r.arrowTypeStart), t.info("arrowTypeEnd", r.arrowTypeEnd);
521
+ let Q = !Y && r?.look === "neo";
522
+ re(H, r, Z, w, x, Q, K);
523
+ let ce = Math.floor(k.length / 2), le = k[ce];
524
+ m.isLabelCoordinateInPath(le, H.attr("d")) || (A = !0);
443
525
  let $ = {};
444
- return j && ($.updatedPath = A), $.originalPath = r.points, $;
526
+ return A && ($.updatedPath = k), $.originalPath = r.points, $;
445
527
  }, "insertEdge");
446
- function G(e, t) {
528
+ function J(e, t) {
447
529
  if (e.length < 2) return "";
448
530
  let n = "", r = e.length, i = 1e-5;
449
531
  for (let a = 0; a < r; a++) {
@@ -467,8 +549,8 @@ function G(e, t) {
467
549
  }
468
550
  return n;
469
551
  }
470
- e(G, "generateRoundedPath");
471
- function K(e, t) {
552
+ e(J, "generateRoundedPath");
553
+ function Y(e, t) {
472
554
  if (!e || !t) return {
473
555
  angle: 0,
474
556
  deltaX: 0,
@@ -481,40 +563,40 @@ function K(e, t) {
481
563
  deltaY: r
482
564
  };
483
565
  }
484
- e(K, "calculateDeltaAndAngle");
485
- function q(e, t) {
566
+ e(Y, "calculateDeltaAndAngle");
567
+ function X(e, t) {
486
568
  let n = e.map((e) => ({ ...e }));
487
- if (e.length >= 2 && C[t.arrowTypeStart]) {
488
- let r = C[t.arrowTypeStart], i = e[0], a = e[1], { angle: o } = K(i, a), s = r * Math.cos(o), c = r * Math.sin(o);
569
+ if (e.length >= 2 && D[t.arrowTypeStart]) {
570
+ let r = D[t.arrowTypeStart], i = e[0], a = e[1], { angle: o } = Y(i, a), s = r * Math.cos(o), c = r * Math.sin(o);
489
571
  n[0].x = i.x + s, n[0].y = i.y + c;
490
572
  }
491
573
  let r = e.length;
492
- if (r >= 2 && C[t.arrowTypeEnd]) {
493
- let i = C[t.arrowTypeEnd], a = e[r - 1], o = e[r - 2], { angle: s } = K(o, a), c = i * Math.cos(s), l = i * Math.sin(s);
574
+ if (r >= 2 && D[t.arrowTypeEnd]) {
575
+ let i = D[t.arrowTypeEnd], a = e[r - 1], o = e[r - 2], { angle: s } = Y(o, a), c = i * Math.cos(s), l = i * Math.sin(s);
494
576
  n[r - 1].x = a.x - c, n[r - 1].y = a.y - l;
495
577
  }
496
578
  return n;
497
579
  }
498
- e(q, "applyMarkerOffsetsToPoints");
499
- var J = /* @__PURE__ */ e((e, t, n, r) => {
580
+ e(X, "applyMarkerOffsetsToPoints");
581
+ var Z = /* @__PURE__ */ e((e, t, n, r) => {
500
582
  t.forEach((t) => {
501
- Y[t](e, n, r);
583
+ Q[t](e, n, r);
502
584
  });
503
- }, "insertMarkers"), Y = {
585
+ }, "insertMarkers"), Q = {
504
586
  extension: /* @__PURE__ */ e((e, n, r) => {
505
- t.trace("Making markers for ", r), e.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"), e.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"), e.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"), e.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");
587
+ t.trace("Making markers for ", r), e.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"), e.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").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M 1,1 V 13 L18,7 Z"), e.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"), e.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");
506
588
  }, "extension"),
507
589
  composition: /* @__PURE__ */ e((e, t, n) => {
508
- 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");
590
+ 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").attr("markerUnits", "userSpaceOnUse").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").attr("markerUnits", "userSpaceOnUse").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");
509
591
  }, "composition"),
510
592
  aggregation: /* @__PURE__ */ e((e, t, n) => {
511
- 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");
593
+ 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").attr("markerUnits", "userSpaceOnUse").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").attr("markerUnits", "userSpaceOnUse").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");
512
594
  }, "aggregation"),
513
595
  dependency: /* @__PURE__ */ e((e, t, n) => {
514
- 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");
596
+ 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").attr("markerUnits", "userSpaceOnUse").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").attr("markerUnits", "userSpaceOnUse").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");
515
597
  }, "dependency"),
516
598
  lollipop: /* @__PURE__ */ e((e, t, n) => {
517
- 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);
599
+ 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").attr("markerUnits", "userSpaceOnUse").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").attr("markerUnits", "userSpaceOnUse").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);
518
600
  }, "lollipop"),
519
601
  point: /* @__PURE__ */ e((e, t, n) => {
520
602
  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");
@@ -585,6 +667,6 @@ var J = /* @__PURE__ */ e((e, t, n, r) => {
585
667
  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");
586
668
  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}`);
587
669
  }, "requirement_contains_neo")
588
- }, X = J;
670
+ }, ce = Z;
589
671
  //#endregion
590
- export { X as a, I as i, M as n, R as o, W as r, N as s, P as t };
672
+ export { z as a, V as c, q as i, F as l, P as n, D as o, L as r, ce as s, I as t };