@sme.up/ketchup2 2.8.0 → 2.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (227) hide show
  1. package/dist/{abnfDiagram-VCTEODGH-DZIaCwNE.js → abnfDiagram-VCTEODGH-DwAVRNNu.js} +5 -5
  2. package/dist/{arc-7ZXqzxve.js → arc-DXfwi1YX.js} +8 -6
  3. package/dist/architecture-7GRP2DOG-BsytjMto.js +3 -0
  4. package/dist/{architectureDiagram-5GKGNRK7-BJvIxhbL.js → architectureDiagram-5GKGNRK7-N1aPr2hw.js} +309 -300
  5. package/dist/basic-components/autocomplete/autocomplete.d.ts.map +1 -1
  6. package/dist/basic-components/button-list/button-list.d.ts.map +1 -1
  7. package/dist/basic-components/file-upload/file-upload-hook.d.ts.map +1 -1
  8. package/dist/basic-components/list/list.d.ts.map +1 -1
  9. package/dist/basic-components/select/select.d.ts.map +1 -1
  10. package/dist/{blockDiagram-I7D4REHJ-C5aW9ypR.js → blockDiagram-I7D4REHJ-Cu18ws5-.js} +38 -35
  11. package/dist/{c4Diagram-7LVT6UL2-JxFfT5VH.js → c4Diagram-7LVT6UL2-B-uBy_NE.js} +109 -79
  12. package/dist/{channel-D6agWknC.js → channel-CuEby436.js} +1 -1
  13. package/dist/{chunk-2E4U76K2-C8vehurw.js → chunk-2E4U76K2-ComA5SPA.js} +18 -16
  14. package/dist/{chunk-4HAMMTFA-MZIwowe1.js → chunk-4HAMMTFA-CZgIgrp_.js} +18 -18
  15. package/dist/{chunk-75Z2AOVW-BwUD389x.js → chunk-75Z2AOVW-Drsj7a97.js} +53 -84
  16. package/dist/{chunk-CLGD4ZFX-DKRy6g5T.js → chunk-CLGD4ZFX-CLGio9rD.js} +7 -3
  17. package/dist/{chunk-DU6HZSFF-CNSdkWoH.js → chunk-DU6HZSFF-waeanndy.js} +18 -14
  18. package/dist/{chunk-F27PBJKO-DKsmevT5.js → chunk-F27PBJKO-jIrOJO87.js} +3 -3
  19. package/dist/{chunk-FOHPRMQF-C49KxWOg.js → chunk-FOHPRMQF-LRqOLsSw.js} +435 -362
  20. package/dist/{chunk-GMAD6QVW-DKxKOKLF.js → chunk-GMAD6QVW-D80II4AD.js} +38 -28
  21. package/dist/{chunk-GVQU2GXP-w4KY-she.js → chunk-GVQU2GXP-DP3t_9Rl.js} +4 -4
  22. package/dist/{chunk-IMKFNOWR-DHxMOe_C.js → chunk-IMKFNOWR-8ItzAAcf.js} +43 -47
  23. package/dist/{chunk-L3NEJ4N5-CvNbHpcd.js → chunk-L3NEJ4N5-qPot4t6M.js} +11 -11
  24. package/dist/{chunk-LNGE3PJU-CiGrDO_F.js → chunk-LNGE3PJU-CtYcu9x8.js} +27 -19
  25. package/dist/{chunk-OSK3NFVY-BmtDbEvT.js → chunk-OSK3NFVY-CQhPF3Mc.js} +25 -22
  26. package/dist/{chunk-P2QGCYS3-DRvvOWJ2.js → chunk-P2QGCYS3-BUeNZ170.js} +1 -1
  27. package/dist/{chunk-POPQ4Y6H-CaEkosGL.js → chunk-POPQ4Y6H-CU9oz17Z.js} +2 -2
  28. package/dist/{chunk-PWAF6VOD-CbmhQpgH.js → chunk-PWAF6VOD-D37VoZ8H.js} +6 -8
  29. package/dist/{chunk-SHT3W25Y-DJgD-hyF.js → chunk-SHT3W25Y-Cri27Jke.js} +28 -34
  30. package/dist/{chunk-SVP7TREG-BNwvtyzm.js → chunk-SVP7TREG-CyJlOPau.js} +3 -3
  31. package/dist/{chunk-TICWLB2K-DqSHwYf9.js → chunk-TICWLB2K-Cw2iT_VD.js} +15 -15
  32. package/dist/{chunk-TLUHSLCS-opHh7fd-.js → chunk-TLUHSLCS-BdsLNXjt.js} +10 -10
  33. package/dist/{chunk-XXDRQBXY-BZK6GgVm.js → chunk-XXDRQBXY-C1ZEFXGu.js} +1 -1
  34. package/dist/classDiagram-ZZMXUADV-L32jCfMj.js +30 -0
  35. package/dist/classDiagram-v2-VYDZK3BY-BsnrDCgX.js +30 -0
  36. package/dist/components/app-bar/app-bar.d.ts.map +1 -1
  37. package/dist/components/breadcrumbs/breadcrumbs.d.ts.map +1 -1
  38. package/dist/components/chat/chat.d.ts.map +1 -1
  39. package/dist/components/data-table/data-table.d.ts.map +1 -1
  40. package/dist/components/echarts/echarts-graph.d.ts.map +1 -1
  41. package/dist/components/scaffold/context/scaffold-provider.d.ts.map +1 -1
  42. package/dist/components/tooltip/tooltip.d.ts.map +1 -1
  43. package/dist/{cose-bilkent-JH36ORCC-CE0T5PqO.js → cose-bilkent-JH36ORCC-Qs_Z6zBZ.js} +64 -61
  44. package/dist/cynefin-OW5HDTMX-BJXlKro0.js +3 -0
  45. package/dist/{cynefinDiagram-5FMLGOSQ-D5vkxB9p.js → cynefinDiagram-5FMLGOSQ-3Ha1hdlV.js} +18 -12
  46. package/dist/{cytoscape.esm-BQqfb1oS.js → cytoscape.esm-C5TvPYYm.js} +532 -538
  47. package/dist/{dagre-qXSFUdzO.js → dagre-D5csT9sx.js} +16 -18
  48. package/dist/{dagre-GXQ25YYZ-CFXgAmuL.js → dagre-GXQ25YYZ-Bg7xf6xn.js} +16 -14
  49. package/dist/{defaultLocale-DnzPsei5.js → defaultLocale-N-0uLSyg.js} +1 -4
  50. package/dist/{diagram-S7CK7UJ4-DrGNegqs.js → diagram-S7CK7UJ4-BuDHTdHA.js} +6 -6
  51. package/dist/{diagram-UQ7AKVKN-LU56O9S9.js → diagram-UQ7AKVKN-uvzJGj43.js} +8 -8
  52. package/dist/{diagram-VSXAHHWV-CaQnupEx.js → diagram-VSXAHHWV-CrQQCs-B.js} +5 -5
  53. package/dist/{diagram-VX7I27RA-DH-s9daK.js → diagram-VX7I27RA-BNmG1sig.js} +52 -50
  54. package/dist/{diagram-Z3DM3KII-DWhRX2l9.js → diagram-Z3DM3KII-B6BrLhP0.js} +5 -5
  55. package/dist/{dist-C7OpkiTz.js → dist-CsrMlyO_.js} +1 -1
  56. package/dist/{ebnfDiagram-PWID7BFC-CtT2erlt.js → ebnfDiagram-PWID7BFC-DMx8xAFO.js} +5 -5
  57. package/dist/{erDiagram-RLTQ6QDP-CxxAoCSs.js → erDiagram-RLTQ6QDP-bkJ9nzVK.js} +25 -25
  58. package/dist/eventmodeling-NTZA5JFV-Cj-VH7yh.js +3 -0
  59. package/dist/flowDiagram-HODETNUW-BIvD7-ts.js +17 -0
  60. package/dist/functional-components/tree-picker/tree-picker.d.ts.map +1 -1
  61. package/dist/{ganttDiagram-EL5Y4UJY-C04RZW4s.js → ganttDiagram-EL5Y4UJY-CL-ywzz_.js} +39 -50
  62. package/dist/gitGraph-4MIJSDKK-C9JGDovl.js +3 -0
  63. package/dist/{gitGraphDiagram-WWUBYQGX-BTcuEGsY.js → gitGraphDiagram-WWUBYQGX-aXhNDG6P.js} +17 -13
  64. package/dist/{graphlib-VMWSbyYi.js → graphlib-XW-Jr8pF.js} +5 -5
  65. package/dist/info-A6RAGUB7-CmZJKEaW.js +3 -0
  66. package/dist/{infoDiagram-27XIBGKW-BoUOV42E.js → infoDiagram-27XIBGKW-Je4heBlk.js} +4 -4
  67. package/dist/{init-MwSGRDIl.js → init-CsQUQz36.js} +1 -3
  68. package/dist/{ishikawaDiagram-5VMMS53U-D15Hi9wp.js → ishikawaDiagram-5VMMS53U-DK7HlH95.js} +12 -12
  69. package/dist/{journeyDiagram-3NMN7TZE-BUb4frTN.js → journeyDiagram-3NMN7TZE-CpuYEKcB.js} +16 -16
  70. package/dist/{kanban-definition-UXKFOSKX-DkgBC20j.js → kanban-definition-UXKFOSKX-aK8uKmyY.js} +20 -20
  71. package/dist/{katex-Dyoqg6Cv.js → katex-CT2p8LXT.js} +111 -96
  72. package/dist/ketchup2.css +1 -1
  73. package/dist/ketchup2.es.js +31937 -32051
  74. package/dist/{line-BEo8vh4N.js → line-DTqYMLoX.js} +2 -2
  75. package/dist/{linear-BNesvT28.js → linear-CXc5xaa6.js} +8 -9
  76. package/dist/{mermaid-parser.core-oFB-qEU8.js → mermaid-parser.core-BwVmI_Rq.js} +16 -16
  77. package/dist/{mindmap-definition-YA3MSWOX-Cjs12XgD.js → mindmap-definition-YA3MSWOX-ZMYcmi9J.js} +27 -29
  78. package/dist/{ordinal-D_ZgubzR.js → ordinal-BubEveRk.js} +1 -1
  79. package/dist/packet-AYTQ26CC-B3tgRshR.js +3 -0
  80. package/dist/{path-DGNPZRdx.js → path-CnWkkRiY.js} +10 -11
  81. package/dist/{pegDiagram-XKGWAZYB-BuyVzOiH.js → pegDiagram-XKGWAZYB-DsfILwZN.js} +5 -5
  82. package/dist/pie-WAS4IAKB-BRiI8kbI.js +3 -0
  83. package/dist/{pieDiagram-E7YTZNPT-D4bB4TDP.js → pieDiagram-E7YTZNPT-DcSLcLdd.js} +15 -17
  84. package/dist/{quadrantDiagram-AXDQQJYC-B6Q9biU9.js → quadrantDiagram-AXDQQJYC-DSx3teop.js} +10 -10
  85. package/dist/radar-RG4KPBEZ-ASOMQXFw.js +3 -0
  86. package/dist/railroad-74A4TZTK-oS840SLr.js +3 -0
  87. package/dist/railroad-abnf-HS5TGJTU-nnQAkZY2.js +3 -0
  88. package/dist/railroad-ebnf-LZEXJU2U-DBQIOba3.js +3 -0
  89. package/dist/railroad-peg-WCYAUIDC-fBPN2TVb.js +3 -0
  90. package/dist/{railroadDiagram-O6MQD6OU-DFR4_PxB.js → railroadDiagram-O6MQD6OU-jOZRtNDi.js} +5 -5
  91. package/dist/{requirementDiagram-BXWQKSXE-BfWCCTu8.js → requirementDiagram-BXWQKSXE-D14hkkez.js} +20 -20
  92. package/dist/{rough.esm-rcMoXTJj.js → rough.esm-DXYGHN3m.js} +60 -51
  93. package/dist/{sankeyDiagram-P5KCCOFB-B_3NESVW.js → sankeyDiagram-P5KCCOFB-C0jmknYo.js} +16 -14
  94. package/dist/{sequenceDiagram-WJ2MYXX4-B8W9PUBb.js → sequenceDiagram-WJ2MYXX4-C00egnMz.js} +34 -46
  95. package/dist/{src-D-6ZfKf9.js → src-DQoflmwT.js} +20 -23
  96. package/dist/{stateDiagram-D77RDMKH-IwptGFzp.js → stateDiagram-D77RDMKH-YfzmviNY.js} +20 -20
  97. package/dist/stateDiagram-v2-MP3YSRHH-B6Hzx8T0.js +30 -0
  98. package/dist/{swimlanes-42K2YHIH-jhIjSCsq.js → swimlanes-42K2YHIH-CJcMmxXf.js} +44 -41
  99. package/dist/swimlanesDiagram-VR7AAH4N-DirvhGBA.js +31 -0
  100. package/dist/{timeline-definition-24CTP7MA-C6u6A92C.js → timeline-definition-24CTP7MA-D2xfYuSV.js} +18 -18
  101. package/dist/treeView-Q6P3EWNA-BmvB2b-_.js +3 -0
  102. package/dist/treemap-WGGIJYW6-Cjjk75wA.js +3 -0
  103. package/dist/{v4-BK7K-jy_.js → v4-DIjJgmR0.js} +1 -1
  104. package/dist/{vennDiagram-4TSXK5OY-Bt9cyeRX.js → vennDiagram-4TSXK5OY-C4XLgus_.js} +12 -12
  105. package/dist/wardley-WFR3VGLG-BamDiE0x.js +3 -0
  106. package/dist/{wardleyDiagram-VM6X3IG4-QkNx10Ny.js → wardleyDiagram-VM6X3IG4-DFoKuS9s.js} +40 -40
  107. package/dist/{xychartDiagram-S5SC5T6Z-BSwoR01A.js → xychartDiagram-S5SC5T6Z-BzKKgVBe.js} +22 -26
  108. package/package.json +38 -38
  109. package/dist/abnfDiagram-VCTEODGH-C9blQ78p.cjs +0 -1
  110. package/dist/arc-DBilzVYt.cjs +0 -1
  111. package/dist/architecture-7GRP2DOG-DYFsLst2.js +0 -3
  112. package/dist/architecture-7GRP2DOG-DdhuGtEz.cjs +0 -1
  113. package/dist/architectureDiagram-5GKGNRK7-B080D0D_.cjs +0 -36
  114. package/dist/array-DZSRzHA_.cjs +0 -1
  115. package/dist/blockDiagram-I7D4REHJ-fT7Of27R.cjs +0 -129
  116. package/dist/c4Diagram-7LVT6UL2-B1n5PnN5.cjs +0 -38
  117. package/dist/channel-BvUly9jN.cjs +0 -1
  118. package/dist/chunk-2E4U76K2-BiZwNOhf.cjs +0 -1
  119. package/dist/chunk-2Q5K7J3B-B8v9mTdK.cjs +0 -1
  120. package/dist/chunk-4HAMMTFA-Db_fcZEn.cjs +0 -62
  121. package/dist/chunk-5VM5RSS4-CwDmQ9T_.cjs +0 -15
  122. package/dist/chunk-75Z2AOVW-RbCLc-XL.cjs +0 -2
  123. package/dist/chunk-CLGD4ZFX-Dvn-kRD7.cjs +0 -1
  124. package/dist/chunk-DU6HZSFF-mznJTFyO.cjs +0 -127
  125. package/dist/chunk-F27PBJKO-C5NrgqMI.cjs +0 -1
  126. package/dist/chunk-FOHPRMQF-BYsnEQU5.cjs +0 -161
  127. package/dist/chunk-GMAD6QVW-BVSRANO9.cjs +0 -72
  128. package/dist/chunk-GVQU2GXP-BiuaO1L5.cjs +0 -1
  129. package/dist/chunk-IMKFNOWR-CusIwu2H.cjs +0 -231
  130. package/dist/chunk-JWPE2WC7-Cs1kjq8S.cjs +0 -1
  131. package/dist/chunk-L3NEJ4N5-B8UQMgqc.cjs +0 -1
  132. package/dist/chunk-LNGE3PJU-TgsSSByc.cjs +0 -34
  133. package/dist/chunk-OSK3NFVY-DE9_ERt9.cjs +0 -10
  134. package/dist/chunk-P2QGCYS3-DqT85Q-S.cjs +0 -1
  135. package/dist/chunk-POPQ4Y6H-QqO5seyb.cjs +0 -1
  136. package/dist/chunk-PWAF6VOD-CjrO-QHU.cjs +0 -1
  137. package/dist/chunk-SHT3W25Y-DuMn9iH6.cjs +0 -168
  138. package/dist/chunk-SVP7TREG-CiwWyOxx.cjs +0 -88
  139. package/dist/chunk-TICWLB2K-1u0p_luB.cjs +0 -206
  140. package/dist/chunk-TLUHSLCS-ZDzqyqeY.cjs +0 -1
  141. package/dist/chunk-XXDRQBXY-BF71LTT1.cjs +0 -1
  142. package/dist/chunk-Y2CYZVJY-CnmLqFtv.cjs +0 -1
  143. package/dist/classDiagram-ZZMXUADV-BTRkvFx4.js +0 -30
  144. package/dist/classDiagram-ZZMXUADV-CwAl_N60.cjs +0 -1
  145. package/dist/classDiagram-v2-VYDZK3BY-CFutvfy-.js +0 -30
  146. package/dist/classDiagram-v2-VYDZK3BY-CwAl_N60.cjs +0 -1
  147. package/dist/cose-bilkent-JH36ORCC-D6t9R42P.cjs +0 -1
  148. package/dist/cynefin-OW5HDTMX-CsZ3W32G.cjs +0 -1
  149. package/dist/cynefin-OW5HDTMX-DlKRHClQ.js +0 -3
  150. package/dist/cynefinDiagram-5FMLGOSQ-D95Uad6U.cjs +0 -62
  151. package/dist/cytoscape.esm-TdwWzXkE.cjs +0 -321
  152. package/dist/dagre-GXQ25YYZ-NS5a_ezX.cjs +0 -4
  153. package/dist/dagre-nX1Mh32P.cjs +0 -1
  154. package/dist/defaultLocale-u9yUoUmE.cjs +0 -1
  155. package/dist/diagram-S7CK7UJ4-CTj-4VAh.cjs +0 -30
  156. package/dist/diagram-UQ7AKVKN-eskbTWOc.cjs +0 -41
  157. package/dist/diagram-VSXAHHWV-DzHhzg5V.cjs +0 -3
  158. package/dist/diagram-VX7I27RA-D7Ibz__z.cjs +0 -24
  159. package/dist/diagram-Z3DM3KII-BpFP72Tr.cjs +0 -24
  160. package/dist/dist-DrOEvFlx.cjs +0 -1
  161. package/dist/ebnfDiagram-PWID7BFC-DXCy8fra.cjs +0 -1
  162. package/dist/erDiagram-RLTQ6QDP-B-cUtqmN.cjs +0 -99
  163. package/dist/eventmodeling-NTZA5JFV-5J5w1INt.js +0 -3
  164. package/dist/eventmodeling-NTZA5JFV-DcUTtbEf.cjs +0 -1
  165. package/dist/flowDiagram-HODETNUW-B6sXxv0S.cjs +0 -1
  166. package/dist/flowDiagram-HODETNUW-BUvMJJnE.js +0 -17
  167. package/dist/ganttDiagram-EL5Y4UJY-Bee0Pd-N.cjs +0 -292
  168. package/dist/gitGraph-4MIJSDKK-BCt5iiZ5.js +0 -3
  169. package/dist/gitGraph-4MIJSDKK-BeFVwcRC.cjs +0 -1
  170. package/dist/gitGraphDiagram-WWUBYQGX-DA026nbS.cjs +0 -106
  171. package/dist/graphlib-CkkG5MuS.cjs +0 -1
  172. package/dist/info-A6RAGUB7-C0KA0jej.cjs +0 -1
  173. package/dist/info-A6RAGUB7-DYBvudiC.js +0 -3
  174. package/dist/infoDiagram-27XIBGKW-B5nTXQEj.cjs +0 -2
  175. package/dist/init-07zIhv_j.cjs +0 -1
  176. package/dist/ishikawaDiagram-5VMMS53U-ptk0d5z2.cjs +0 -70
  177. package/dist/journeyDiagram-3NMN7TZE-CxVpPKa-.cjs +0 -139
  178. package/dist/kanban-definition-UXKFOSKX-Cd_nphr7.cjs +0 -89
  179. package/dist/katex-DUe6VLjC.cjs +0 -257
  180. package/dist/ketchup2.cjs.js +0 -487
  181. package/dist/line-wiGgVVGi.cjs +0 -1
  182. package/dist/linear-YA14Lx5Z.cjs +0 -1
  183. package/dist/mermaid-parser.core-CqChDTj1.cjs +0 -6
  184. package/dist/mindmap-definition-YA3MSWOX-0PG4raFG.cjs +0 -96
  185. package/dist/ordinal-CUPR-p0T.cjs +0 -1
  186. package/dist/packet-AYTQ26CC-BEwXWBE0.js +0 -3
  187. package/dist/packet-AYTQ26CC-DfXUrk97.cjs +0 -1
  188. package/dist/path-Kklx0M1v.cjs +0 -1
  189. package/dist/pegDiagram-XKGWAZYB-J7VwZsJf.cjs +0 -1
  190. package/dist/pie-WAS4IAKB-4NfHFfJd.cjs +0 -1
  191. package/dist/pie-WAS4IAKB-BOR5Wwai.js +0 -3
  192. package/dist/pieDiagram-E7YTZNPT-B-rPB0ZO.cjs +0 -39
  193. package/dist/quadrantDiagram-AXDQQJYC-C5sdY1DW.cjs +0 -7
  194. package/dist/radar-RG4KPBEZ-BwLQFFzF.js +0 -3
  195. package/dist/radar-RG4KPBEZ-_epvvHKu.cjs +0 -1
  196. package/dist/railroad-74A4TZTK-CaWzRQE0.js +0 -3
  197. package/dist/railroad-74A4TZTK-D2qbdjOh.cjs +0 -1
  198. package/dist/railroad-abnf-HS5TGJTU-D2tm1mra.js +0 -3
  199. package/dist/railroad-abnf-HS5TGJTU-_ThxftPt.cjs +0 -1
  200. package/dist/railroad-ebnf-LZEXJU2U-CKpMMgXK.cjs +0 -1
  201. package/dist/railroad-ebnf-LZEXJU2U-KAuGgmQe.js +0 -3
  202. package/dist/railroad-peg-WCYAUIDC-B8bfIIor.cjs +0 -1
  203. package/dist/railroad-peg-WCYAUIDC-XB38GivH.js +0 -3
  204. package/dist/railroadDiagram-O6MQD6OU-C7LfgSGm.cjs +0 -1
  205. package/dist/requirementDiagram-BXWQKSXE-y2O3wvFe.cjs +0 -84
  206. package/dist/rough.esm-r0QOSzHM.cjs +0 -1
  207. package/dist/sankeyDiagram-P5KCCOFB-z8VLw23o.cjs +0 -40
  208. package/dist/sequenceDiagram-WJ2MYXX4-3cWo24Xv.cjs +0 -162
  209. package/dist/sizeCapture-INFHLROL-bJ2ZX4Du.cjs +0 -1
  210. package/dist/src-B16ML7oM.cjs +0 -1
  211. package/dist/stateDiagram-D77RDMKH-DghYG1f5.cjs +0 -1
  212. package/dist/stateDiagram-v2-MP3YSRHH-0rNAzd4v.cjs +0 -1
  213. package/dist/stateDiagram-v2-MP3YSRHH-NATCGJSV.js +0 -30
  214. package/dist/swimlanes-42K2YHIH-svHo0tVy.cjs +0 -1
  215. package/dist/swimlanesDiagram-VR7AAH4N-DKxpX9Hj.js +0 -31
  216. package/dist/swimlanesDiagram-VR7AAH4N-DcDLe-u-.cjs +0 -8
  217. package/dist/timeline-definition-24CTP7MA-CA62jwSB.cjs +0 -120
  218. package/dist/treeView-Q6P3EWNA-CkgGYPwy.js +0 -3
  219. package/dist/treeView-Q6P3EWNA-zIJfTe51.cjs +0 -1
  220. package/dist/treemap-WGGIJYW6-CooEnQQp.cjs +0 -1
  221. package/dist/treemap-WGGIJYW6-D4tTzsvR.js +0 -3
  222. package/dist/v4-Dyp-SQ1c.cjs +0 -1
  223. package/dist/vennDiagram-4TSXK5OY-YKU1Lb_h.cjs +0 -34
  224. package/dist/wardley-WFR3VGLG-Cp2KFpcw.cjs +0 -1
  225. package/dist/wardley-WFR3VGLG-D1o3hFSK.js +0 -3
  226. package/dist/wardleyDiagram-VM6X3IG4-BvyabMK8.cjs +0 -78
  227. package/dist/xychartDiagram-S5SC5T6Z-BtNTzcXw.cjs +0 -7
@@ -1,8 +1,8 @@
1
- import { _ as e, m as t, p as n, y as r } from "./src-D-6ZfKf9.js";
2
- import { A as i, F as a, b as o, s, z as c } from "./chunk-DU6HZSFF-CNSdkWoH.js";
1
+ import { _ as e, m as t, p as n, y as r } from "./src-DQoflmwT.js";
2
+ import { A as i, F as a, b as o, s, z as c } from "./chunk-DU6HZSFF-waeanndy.js";
3
3
  import { n as l } from "./chunk-Y2CYZVJY-i11wjrBe.js";
4
- import { a as u } from "./chunk-75Z2AOVW-BwUD389x.js";
5
- import { n as d, t as f } from "./chunk-PWAF6VOD-CbmhQpgH.js";
4
+ import { a as u } from "./chunk-75Z2AOVW-Drsj7a97.js";
5
+ import { n as d, t as f } from "./chunk-PWAF6VOD-D37VoZ8H.js";
6
6
  //#region node_modules/fastdom/fastdom.js
7
7
  var p = /* @__PURE__ */ e(((e, t) => {
8
8
  (function(e) {
@@ -46,8 +46,10 @@ var p = /* @__PURE__ */ e(((e, t) => {
46
46
  } catch (e) {
47
47
  r = e;
48
48
  }
49
- if (e.scheduled = !1, (n.length || t.length) && i(e), r) if (r.message, e.catch) e.catch(r);
50
- else throw r;
49
+ if (e.scheduled = !1, (n.length || t.length) && i(e), r) {
50
+ if (r.message, e.catch) e.catch(r);
51
+ else throw r;
52
+ }
51
53
  }
52
54
  function o(e, t) {
53
55
  var n = e.indexOf(t);
@@ -281,8 +283,10 @@ function Ke(e, t) {
281
283
  for (; --i >= 0 && n[i] === "\\";) r = !r;
282
284
  return r ? "|" : " |";
283
285
  }).split(b.splitPipe), r = 0;
284
- if (n[0].trim() || n.shift(), n.length > 0 && !n.at(-1)?.trim() && n.pop(), t) if (n.length > t) n.splice(t);
285
- else for (; n.length < t;) n.push("");
286
+ if (n[0].trim() || n.shift(), n.length > 0 && !n.at(-1)?.trim() && n.pop(), t) {
287
+ if (n.length > t) n.splice(t);
288
+ else for (; n.length < t;) n.push("");
289
+ }
286
290
  for (; r < n.length; r++) n[r] = n[r].trim().replace(b.slashPipe, "|");
287
291
  return n;
288
292
  }
@@ -414,7 +418,8 @@ ${c}` : c;
414
418
  let t = u, a = t.raw + "\n" + e.join("\n"), o = this.blockquote(a);
415
419
  i[i.length - 1] = o, n = n.substring(0, n.length - t.raw.length) + o.raw, r = r.substring(0, r.length - t.text.length) + o.text;
416
420
  break;
417
- } else if (u?.type === "list") {
421
+ }
422
+ if (u?.type === "list") {
418
423
  let t = u, a = t.raw + "\n" + e.join("\n"), o = this.list(a);
419
424
  i[i.length - 1] = o, n = n.substring(0, n.length - u.raw.length) + o.raw, r = r.substring(0, r.length - t.raw.length) + o.raw, e = a.substring(i.at(-1).raw.length).split("\n");
420
425
  continue;
@@ -634,7 +639,8 @@ ${c}` : c;
634
639
  if (a = [...i].length, r[3] || r[4]) {
635
640
  o += a;
636
641
  continue;
637
- } else if ((r[5] || r[6]) && n % 3 && !((n + a) % 3)) {
642
+ }
643
+ if ((r[5] || r[6]) && n % 3 && !((n + a) % 3)) {
638
644
  s += a;
639
645
  continue;
640
646
  }
@@ -758,7 +764,7 @@ ${c}` : c;
758
764
  block: N.normal,
759
765
  inline: P.normal
760
766
  };
761
- this.options.pedantic ? (t.block = N.pedantic, t.inline = P.pedantic) : this.options.gfm && (t.block = N.gfm, this.options.breaks ? t.inline = P.breaks : t.inline = P.gfm), this.tokenizer.rules = t;
767
+ this.options.pedantic ? (t.block = N.pedantic, t.inline = P.pedantic) : this.options.gfm && (t.block = N.gfm, t.inline = this.options.breaks ? P.breaks : P.gfm), this.tokenizer.rules = t;
762
768
  }
763
769
  static get rules() {
764
770
  return {
@@ -839,10 +845,10 @@ ${c}` : c;
839
845
  }
840
846
  let i = e;
841
847
  if (this.options.extensions?.startBlock) {
842
- let t = Infinity, n = e.slice(1), r;
848
+ let t = 1 / 0, n = e.slice(1), r;
843
849
  this.options.extensions.startBlock.forEach((e) => {
844
850
  r = e.call({ lexer: this }, n), typeof r == "number" && r >= 0 && (t = Math.min(t, r));
845
- }), t < Infinity && t >= 0 && (i = e.substring(0, t + 1));
851
+ }), t < 1 / 0 && t >= 0 && (i = e.substring(0, t + 1));
846
852
  }
847
853
  if (this.state.top && (r = this.tokenizer.paragraph(i))) {
848
854
  let a = t.at(-1);
@@ -860,7 +866,8 @@ ${c}` : c;
860
866
  if (this.options.silent) {
861
867
  console.error(t);
862
868
  break;
863
- } else throw Error(t);
869
+ }
870
+ throw Error(t);
864
871
  }
865
872
  }
866
873
  return this.state.top = !0, t;
@@ -929,10 +936,10 @@ ${c}` : c;
929
936
  }
930
937
  let o = e;
931
938
  if (this.options.extensions?.startInline) {
932
- let t = Infinity, n = e.slice(1), r;
939
+ let t = 1 / 0, n = e.slice(1), r;
933
940
  this.options.extensions.startInline.forEach((e) => {
934
941
  r = e.call({ lexer: this }, n), typeof r == "number" && r >= 0 && (t = Math.min(t, r));
935
- }), t < Infinity && t >= 0 && (o = e.substring(0, t + 1));
942
+ }), t < 1 / 0 && t >= 0 && (o = e.substring(0, t + 1));
936
943
  }
937
944
  if (r = this.tokenizer.inlineText(o)) {
938
945
  e = e.substring(r.raw.length), r.raw.slice(-1) !== "_" && (a = r.raw.slice(-1)), i = !0;
@@ -945,7 +952,8 @@ ${c}` : c;
945
952
  if (this.options.silent) {
946
953
  console.error(t);
947
954
  break;
948
- } else throw Error(t);
955
+ }
956
+ throw Error(t);
949
957
  }
950
958
  }
951
959
  return t;
@@ -1166,7 +1174,7 @@ ${e}</tr>
1166
1174
  case "text": {
1167
1175
  let i = a, o = this.renderer.text(i);
1168
1176
  for (; r + 1 < e.length && e[r + 1].type === "text";) i = e[++r], o += "\n" + this.renderer.text(i);
1169
- t ? n += this.renderer.paragraph({
1177
+ n += t ? this.renderer.paragraph({
1170
1178
  type: "paragraph",
1171
1179
  raw: o,
1172
1180
  text: o,
@@ -1176,7 +1184,7 @@ ${e}</tr>
1176
1184
  text: o,
1177
1185
  escaped: !0
1178
1186
  }]
1179
- }) : n += o;
1187
+ }) : o;
1180
1188
  continue;
1181
1189
  }
1182
1190
  default: {
@@ -1257,13 +1265,13 @@ ${e}</tr>
1257
1265
  constructor(e) {
1258
1266
  this.options = e || _;
1259
1267
  }
1260
- static passThroughHooks = new Set([
1268
+ static passThroughHooks = /* @__PURE__ */ new Set([
1261
1269
  "preprocess",
1262
1270
  "postprocess",
1263
1271
  "processAllTokens",
1264
1272
  "emStrongMask"
1265
1273
  ]);
1266
- static passThroughHooksRespectAsync = new Set([
1274
+ static passThroughHooksRespectAsync = /* @__PURE__ */ new Set([
1267
1275
  "preprocess",
1268
1276
  "postprocess",
1269
1277
  "processAllTokens"
@@ -1317,7 +1325,7 @@ ${e}</tr>
1317
1325
  default: {
1318
1326
  let e = r;
1319
1327
  this.defaults.extensions?.childTokens?.[e.type] ? this.defaults.extensions.childTokens[e.type].forEach((r) => {
1320
- let i = e[r].flat(Infinity);
1328
+ let i = e[r].flat(1 / 0);
1321
1329
  n = n.concat(this.walkTokens(i, t));
1322
1330
  }) : e.tokens && (n = n.concat(this.walkTokens(e.tokens, t)));
1323
1331
  }
@@ -1382,11 +1390,11 @@ ${e}</tr>
1382
1390
  if (!(n in t)) throw Error(`hook '${n}' does not exist`);
1383
1391
  if (["options", "block"].includes(n)) continue;
1384
1392
  let r = n, i = e.hooks[r], a = t[r];
1385
- H.passThroughHooks.has(n) ? t[r] = (e) => {
1393
+ t[r] = H.passThroughHooks.has(n) ? (e) => {
1386
1394
  if (this.defaults.async && H.passThroughHooksRespectAsync.has(n)) return Promise.resolve(i.call(t, e)).then((e) => a.call(t, e));
1387
1395
  let r = i.call(t, e);
1388
1396
  return a.call(t, r);
1389
- } : t[r] = (...e) => {
1397
+ } : (...e) => {
1390
1398
  let n = i.apply(t, e);
1391
1399
  return n === !1 && (n = a.apply(t, e)), n;
1392
1400
  };
@@ -1777,7 +1785,8 @@ function pt(e, t, n, r = !1, i = !1) {
1777
1785
  if (r) {
1778
1786
  let e = c.node().getBBox();
1779
1787
  return s.attr("x", e.x - 2).attr("y", e.y - 2).attr("width", e.width + 4).attr("height", e.height + 4), o.node();
1780
- } else return c.node();
1788
+ }
1789
+ return c.node();
1781
1790
  }
1782
1791
  l(pt, "createFormattedText");
1783
1792
  function Q(e) {
@@ -1810,13 +1819,14 @@ async function mt(e, t = {}) {
1810
1819
  l(mt, "replaceIconSubstring");
1811
1820
  var ht = /* @__PURE__ */ l(async (e, r = "", { style: a = "", isTitle: o = !1, classes: s = "", useHtmlLabels: c = !0, markdown: l = !0, isNode: d = !0, width: f = 200, addSvgBackground: p = !1 } = {}, m) => {
1812
1821
  if (t.debug("XYZ createText", r, a, o, s, c, d, "addSvgBackground: ", p), c) {
1813
- let t = await mt(u(l ? at(r, m) : it(r)), m), n = r.replace(/\\\\/g, "\\");
1822
+ let t = l ? at(r, m) : it(r), n = await mt(u(t), m), o = r.replace(/\\\\/g, "\\");
1814
1823
  return await ut(e, {
1815
1824
  isNode: d,
1816
- label: i(r) ? n : t,
1825
+ label: i(r) ? o : n,
1817
1826
  labelStyle: a.replace("fill:", "color:")
1818
1827
  }, f, s, p, m);
1819
- } else {
1828
+ }
1829
+ {
1820
1830
  let t = u(r.replace(/<br\s*\/?>/g, "<br/>")), i = pt(f, e, l ? rt(t.replace("<br>", "<br/>"), m) : nt(t), r ? p : !1, !d);
1821
1831
  if (d) {
1822
1832
  /stroke:/.exec(a) && (a = a.replace("stroke:", "lineColor:"));
@@ -1,7 +1,7 @@
1
- import { m as e } from "./src-D-6ZfKf9.js";
1
+ import { m as e } from "./src-DQoflmwT.js";
2
2
  import { n as t } from "./chunk-Y2CYZVJY-i11wjrBe.js";
3
- import { u as n } from "./chunk-75Z2AOVW-BwUD389x.js";
4
- import { o as r } from "./chunk-4HAMMTFA-MZIwowe1.js";
3
+ import { u as n } from "./chunk-75Z2AOVW-Drsj7a97.js";
4
+ import { o as r } from "./chunk-4HAMMTFA-CZgIgrp_.js";
5
5
  //#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-GVQU2GXP.mjs
6
6
  var i = /* @__PURE__ */ t(({ flowchart: e }) => {
7
7
  let t = e?.subGraphTitleMargin?.top ?? 0, n = e?.subGraphTitleMargin?.bottom ?? 0;
@@ -13,7 +13,7 @@ var i = /* @__PURE__ */ t(({ flowchart: e }) => {
13
13
  }, "getSubGraphTitleMargins"), a = /* @__PURE__ */ new Map();
14
14
  async function o(e, t, i) {
15
15
  let o, s;
16
- t.shape === "rect" && (t.rx && t.ry ? t.shape = "roundedRect" : t.shape = "squareRect");
16
+ t.shape === "rect" && (t.shape = t.rx && t.ry ? "roundedRect" : "squareRect");
17
17
  let c = t.shape ? r[t.shape] : void 0;
18
18
  if (!c) throw Error(`No such shape: ${t.shape}. Please check your syntax.`);
19
19
  if (t.link) {
@@ -1,11 +1,11 @@
1
- import { m as e, p as t } from "./src-D-6ZfKf9.js";
2
- import { H as n, K as r, U as i, a, ot as o, s, v as c, w as l, x as u, y as d } from "./chunk-DU6HZSFF-CNSdkWoH.js";
1
+ import { m as e, p as t } from "./src-DQoflmwT.js";
2
+ import { H as n, K as r, U as i, a, ot as o, s, v as c, w as l, x as u, y as d } from "./chunk-DU6HZSFF-waeanndy.js";
3
3
  import { n as f } from "./chunk-Y2CYZVJY-i11wjrBe.js";
4
- import { g as p, s as m } from "./chunk-75Z2AOVW-BwUD389x.js";
5
- import { r as h } from "./chunk-TLUHSLCS-opHh7fd-.js";
6
- import { t as g } from "./chunk-F27PBJKO-DKsmevT5.js";
7
- import { t as _ } from "./chunk-XXDRQBXY-BZK6GgVm.js";
8
- import { t as v } from "./chunk-POPQ4Y6H-CaEkosGL.js";
4
+ import { g as p, s as m } from "./chunk-75Z2AOVW-Drsj7a97.js";
5
+ import { r as h } from "./chunk-TLUHSLCS-BdsLNXjt.js";
6
+ import { t as g } from "./chunk-F27PBJKO-jIrOJO87.js";
7
+ import { t as _ } from "./chunk-XXDRQBXY-C1ZEFXGu.js";
8
+ import { t as v } from "./chunk-POPQ4Y6H-CU9oz17Z.js";
9
9
  //#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-IMKFNOWR.mjs
10
10
  var y = (function() {
11
11
  var e = /* @__PURE__ */ f(function(e, t, n, r) {
@@ -459,15 +459,13 @@ var y = (function() {
459
459
  description: ""
460
460
  };
461
461
  break;
462
- case 47:
463
- this.$ = {
464
- stmt: "state",
465
- id: a[s - 2].trim(),
466
- classes: [a[s].trim()],
467
- type: "default",
468
- description: ""
469
- };
470
- break;
462
+ case 47: this.$ = {
463
+ stmt: "state",
464
+ id: a[s - 2].trim(),
465
+ classes: [a[s].trim()],
466
+ type: "default",
467
+ description: ""
468
+ };
471
469
  }
472
470
  }, "anonymous"),
473
471
  table: [
@@ -765,7 +763,7 @@ var y = (function() {
765
763
  var v = h.yylloc;
766
764
  a.push(v);
767
765
  var y = h.options && h.options.ranges;
768
- typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
766
+ this.parseError = typeof g.yy.parseError == "function" ? g.yy.parseError : Object.getPrototypeOf(this).parseError;
769
767
  function b(e) {
770
768
  n.length -= 2 * e, i.length -= e, a.length -= e;
771
769
  }
@@ -918,10 +916,12 @@ var y = (function() {
918
916
  if (this._backtrack) {
919
917
  t = !1;
920
918
  continue;
921
- } else return !1;
922
- } else if (!this.options.flex) break;
919
+ }
920
+ return !1;
921
+ }
922
+ if (!this.options.flex) break;
923
923
  }
924
- return t ? (e = this.test_match(t, i[r]), e === !1 ? !1 : e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
924
+ return t ? (e = this.test_match(t, i[r]), e !== !1 && e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
925
925
  text: "",
926
926
  token: null,
927
927
  line: this.yylineno
@@ -1362,7 +1362,7 @@ var b = y, x = "TB", S = "TB", C = "dir", w = "state", T = "root", E = "relation
1362
1362
  let { securityLevel: a, state: o, layout: s } = u();
1363
1363
  i.db.extract(i.db.getRootDocV2());
1364
1364
  let c = i.db.getData(), l = _(n, a);
1365
- c.type = i.type, c.layoutAlgorithm = s, c.nodeSpacing = o?.nodeSpacing || 50, c.rankSpacing = o?.rankSpacing || 50, u().look === "neo" ? c.markers = ["barbNeo"] : c.markers = ["barb"], c.diagramId = n, await h(c, l);
1365
+ c.type = i.type, c.layoutAlgorithm = s, c.nodeSpacing = o?.nodeSpacing || 50, c.rankSpacing = o?.rankSpacing || 50, c.markers = u().look === "neo" ? ["barbNeo"] : ["barb"], c.diagramId = n, await h(c, l);
1366
1366
  try {
1367
1367
  (typeof i.db.getLinks == "function" ? i.db.getLinks() : /* @__PURE__ */ new Map()).forEach((t, n) => {
1368
1368
  let r = typeof n == "string" ? n : typeof n?.id == "string" ? n.id : "", i = c.nodes.find((e) => e.id === r);
@@ -1410,28 +1410,26 @@ var he = /* @__PURE__ */ f((t, n, r, i, a, o, c, l) => {
1410
1410
  case A:
1411
1411
  Z(t, e, r, i, a, o, c, l);
1412
1412
  break;
1413
- case E:
1414
- {
1415
- Z(t, e.state1, r, i, a, o, c, l), Z(t, e.state2, r, i, a, o, c, l);
1416
- let n = c === "neo", d = {
1417
- id: "edge" + q,
1418
- start: e.state1.id,
1419
- end: e.state2.id,
1420
- arrowhead: "normal",
1421
- arrowTypeEnd: n ? "arrow_barb_neo" : "arrow_barb",
1422
- style: M,
1423
- labelStyle: "",
1424
- label: s.sanitizeText(e.description ?? "", u()),
1425
- arrowheadStyle: N,
1426
- labelpos: P,
1427
- labelType: ee,
1428
- thickness: F,
1429
- classes: B,
1430
- look: c
1431
- };
1432
- a.push(d), q++;
1433
- }
1434
- break;
1413
+ case E: {
1414
+ Z(t, e.state1, r, i, a, o, c, l), Z(t, e.state2, r, i, a, o, c, l);
1415
+ let n = c === "neo", d = {
1416
+ id: "edge" + q,
1417
+ start: e.state1.id,
1418
+ end: e.state2.id,
1419
+ arrowhead: "normal",
1420
+ arrowTypeEnd: n ? "arrow_barb_neo" : "arrow_barb",
1421
+ style: M,
1422
+ labelStyle: "",
1423
+ label: s.sanitizeText(e.description ?? "", u()),
1424
+ arrowheadStyle: N,
1425
+ labelpos: P,
1426
+ labelType: ee,
1427
+ thickness: F,
1428
+ classes: B,
1429
+ look: c
1430
+ };
1431
+ a.push(d), q++;
1432
+ }
1435
1433
  }
1436
1434
  });
1437
1435
  }, "setupDoc"), ge = /* @__PURE__ */ f((e, t = S) => {
@@ -1469,7 +1467,7 @@ var Z = /* @__PURE__ */ f((t, n, r, i, a, o, c, l) => {
1469
1467
  cssStyles: m
1470
1468
  });
1471
1469
  let u = K.get(d);
1472
- n.description && (Array.isArray(u.description) ? (u.shape = L, u.description.push(n.description)) : u.description?.length && u.description.length > 0 ? (u.shape = L, u.description === d ? u.description = [n.description] : u.description = [u.description, n.description]) : (u.shape = I, u.description = n.description), u.description = s.sanitizeTextOrArray(u.description, h)), u.description?.length === 1 && u.shape === L && (u.type === "group" ? u.shape = re : u.shape = I), !u.type && n.doc && (e.info("Setting cluster for XCX", d, ge(n)), u.type = "group", u.isGroup = !0, u.dir = ge(n), u.shape = n.type === j ? R : re, u.cssClasses = `${u.cssClasses} ${ue} ${o ? de : ""}`);
1470
+ n.description && (Array.isArray(u.description) ? (u.shape = L, u.description.push(n.description)) : u.description?.length && u.description.length > 0 ? (u.shape = L, u.description = u.description === d ? [n.description] : [u.description, n.description]) : (u.shape = I, u.description = n.description), u.description = s.sanitizeTextOrArray(u.description, h)), u.description?.length === 1 && u.shape === L && (u.shape = u.type === "group" ? re : I), !u.type && n.doc && (e.info("Setting cluster for XCX", d, ge(n)), u.type = "group", u.isGroup = !0, u.dir = ge(n), u.shape = n.type === j ? R : re, u.cssClasses = `${u.cssClasses} ${ue} ${o ? de : ""}`);
1473
1471
  let f = {
1474
1472
  labelStyle: "",
1475
1473
  shape: u.shape,
@@ -1586,9 +1584,7 @@ var Z = /* @__PURE__ */ f((t, n, r, i, a, o, c, l) => {
1586
1584
  case k:
1587
1585
  this.setCssClass(t.id.trim(), t.styleClass);
1588
1586
  break;
1589
- case "click":
1590
- this.addLink(t.id, t.url, t.tooltip);
1591
- break;
1587
+ case "click": this.addLink(t.id, t.url, t.tooltip);
1592
1588
  }
1593
1589
  let t = this.getStates(), n = u();
1594
1590
  ve(), Z(void 0, this.getRootDocV2(), t, this.nodes, this.edges, !0, n.look, this.classes);
@@ -1,11 +1,11 @@
1
- import { m as e, p as t } from "./src-D-6ZfKf9.js";
2
- import { T as n, g as r, x as i } from "./chunk-DU6HZSFF-CNSdkWoH.js";
1
+ import { m as e, p as t } from "./src-DQoflmwT.js";
2
+ import { T as n, g as r, x as i } from "./chunk-DU6HZSFF-waeanndy.js";
3
3
  import { n as a } from "./chunk-Y2CYZVJY-i11wjrBe.js";
4
- import { a as o, i as s } from "./chunk-P2QGCYS3-DRvvOWJ2.js";
5
- import { n as c } from "./chunk-GMAD6QVW-DKxKOKLF.js";
6
- import { t as l } from "./rough.esm-rcMoXTJj.js";
7
- import { n as u, r as d, t as f } from "./chunk-4HAMMTFA-MZIwowe1.js";
8
- import { n as p } from "./chunk-GVQU2GXP-w4KY-she.js";
4
+ import { a as o, i as s } from "./chunk-P2QGCYS3-BUeNZ170.js";
5
+ import { n as c } from "./chunk-GMAD6QVW-D80II4AD.js";
6
+ import { t as l } from "./rough.esm-DXYGHN3m.js";
7
+ import { n as u, r as d, t as f } from "./chunk-4HAMMTFA-CZgIgrp_.js";
8
+ import { n as p } from "./chunk-GVQU2GXP-DP3t_9Rl.js";
9
9
  //#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-L3NEJ4N5.mjs
10
10
  var m = /* @__PURE__ */ a(async (n, a) => {
11
11
  let u = i(), { themeVariables: f, handDrawnSeed: p } = u, { clusterBkg: m, clusterBorder: h } = f, g = h, { labelStyles: _, nodeStyles: v, borderStyles: y, backgroundStyles: b } = s(a), x = n.insert("g").attr("class", "cluster swimlane " + (a.cssClasses || "")).attr("id", a.id).attr("data-id", a.id).attr("data-et", "cluster").attr("data-look", a.look), S = r(u.flowchart.htmlLabels), C = a.direction === "LR", w = x.insert("g").attr("class", "cluster-label swimlane-label"), T = await c(w, a.label, {
@@ -19,7 +19,7 @@ var m = /* @__PURE__ */ a(async (n, a) => {
19
19
  E = e.getBoundingClientRect(), n.attr("width", E.width), n.attr("height", E.height);
20
20
  }
21
21
  let D = a.padding ?? 0, O = a.width <= E.width + D ? E.width + D : a.width;
22
- a.width <= E.width + D ? a.diff = (O - a.width) / 2 - D : a.diff = -D;
22
+ a.diff = a.width <= E.width + D ? (O - a.width) / 2 - D : -D;
23
23
  let k = a.height, A = a.y - k / 2, j = a.y + k / 2, M = a.x - O / 2, N = a.swimlaneContentTop === void 0 ? A + k / 3 : a.swimlaneContentTop, P = C ? 4 : 0, F = E.height + 2 * P, I, L;
24
24
  if (C) {
25
25
  let e = Math.max(F, E.height + 2 * P), t = M + e, n = Math.max(0, O - e);
@@ -89,7 +89,7 @@ var m = /* @__PURE__ */ a(async (n, a) => {
89
89
  D = e.getBoundingClientRect(), n.attr("width", D.width), n.attr("height", D.height);
90
90
  }
91
91
  let O = a.width <= D.width + a.padding ? D.width + a.padding : a.width;
92
- a.width <= D.width + a.padding ? a.diff = (O - a.width) / 2 - a.padding : a.diff = -a.padding;
92
+ a.diff = a.width <= D.width + a.padding ? (O - a.width) / 2 - a.padding : -a.padding;
93
93
  let k = a.height, A = a.x - O / 2, j = a.y - k / 2;
94
94
  e.trace("Data ", a, JSON.stringify(a));
95
95
  let M;
@@ -125,7 +125,7 @@ var m = /* @__PURE__ */ a(async (n, a) => {
125
125
  x = e.getBoundingClientRect(), n.attr("width", x.width), n.attr("height", x.height);
126
126
  }
127
127
  let S = 0 * r.padding, C = S / 2, w = (r.width <= x.width + r.padding ? x.width + r.padding : r.width) + S;
128
- r.width <= x.width + r.padding ? r.diff = (w - r.width) / 2 - r.padding : r.diff = -r.padding;
128
+ r.diff = r.width <= x.width + r.padding ? (w - r.width) / 2 - r.padding : -r.padding;
129
129
  let T = r.height + S, E = r.height + S - x.height - 6, D = r.x - w / 2, O = r.y - T / 2;
130
130
  r.width = w;
131
131
  let k = r.y - r.height / 2 - C + x.height + 2, A;
@@ -207,7 +207,7 @@ var m = /* @__PURE__ */ a(async (n, a) => {
207
207
  E = e.getBoundingClientRect(), n.attr("width", E.width), n.attr("height", E.height);
208
208
  }
209
209
  let D = a.width <= E.width + a.padding ? E.width + a.padding : a.width;
210
- a.width <= E.width + a.padding ? a.diff = (D - a.width) / 2 - a.padding : a.diff = -a.padding;
210
+ a.diff = a.width <= E.width + a.padding ? (D - a.width) / 2 - a.padding : -a.padding;
211
211
  let O = a.height, k = a.x - D / 2, A = a.y - O / 2;
212
212
  e.trace("Data ", a, JSON.stringify(a));
213
213
  let j;
@@ -79,7 +79,7 @@ function f() {
79
79
  e(r, "padStart");
80
80
  function i(e, i) {
81
81
  if (i = Object.create(i || null), !e.buffer) return null;
82
- i.maxLength ||= 79, typeof i.indent != "number" && (i.indent = 1), typeof i.linesBefore != "number" && (i.linesBefore = 3), typeof i.linesAfter != "number" && (i.linesAfter = 2);
82
+ i.maxLength || (i.maxLength = 79), typeof i.indent != "number" && (i.indent = 1), typeof i.linesBefore != "number" && (i.linesBefore = 3), typeof i.linesAfter != "number" && (i.linesAfter = 2);
83
83
  let a = /\r?\n|\r|\0/g, o = [0], s = [], c, l = -1;
84
84
  for (; c = a.exec(e.buffer);) s.push(c.index), o.push(c.index + c[0].length), e.position <= c.index && l < 0 && (l = o.length - 2);
85
85
  l < 0 && (l = o.length - 1);
@@ -591,8 +591,10 @@ function oe() {
591
591
  let a = i[e], o = !1;
592
592
  if (r.call(a) !== "[object Object]") return !1;
593
593
  let s;
594
- for (s in a) if (n.call(a, s)) if (!o) o = !0;
595
- else return !1;
594
+ for (s in a) if (n.call(a, s)) {
595
+ if (!o) o = !0;
596
+ else return !1;
597
+ }
596
598
  if (!o) return !1;
597
599
  if (t.indexOf(s) === -1) t.push(s);
598
600
  else return !1;
@@ -879,9 +881,10 @@ function _e() {
879
881
  i = Array.prototype.slice.call(i);
880
882
  for (let t = 0, n = i.length; t < n; t += 1) Array.isArray(i[t]) && A(e, "nested arrays are not supported inside keys"), typeof i == "object" && h(i[t]) === "[object Object]" && (i[t] = "[object Object]");
881
883
  }
882
- if (typeof i == "object" && h(i) === "[object Object]" && (i = "[object Object]"), i = String(i), t === null && (t = {}), r === "tag:yaml.org,2002:merge") if (Array.isArray(a)) for (let r = 0, i = a.length; r < i; r += 1) B(e, t, a[r], n);
883
- else B(e, t, a, n);
884
- else !e.json && !s.call(n, i) && s.call(t, i) && (e.line = o || e.line, e.lineStart = c || e.lineStart, e.position = l || e.position, A(e, "duplicated mapping key")), T(t, i, a), delete n[i];
884
+ if (typeof i == "object" && h(i) === "[object Object]" && (i = "[object Object]"), i = String(i), t === null && (t = {}), r === "tag:yaml.org,2002:merge") {
885
+ if (Array.isArray(a)) for (let r = 0, i = a.length; r < i; r += 1) B(e, t, a[r], n);
886
+ else B(e, t, a, n);
887
+ } else !e.json && !s.call(n, i) && s.call(t, i) && (e.line = o || e.line, e.lineStart = c || e.lineStart, e.position = l || e.position, A(e, "duplicated mapping key")), T(t, i, a), delete n[i];
885
888
  return t;
886
889
  }
887
890
  e(V, "storeMappingPair");
@@ -926,10 +929,11 @@ function _e() {
926
929
  } else if (d === 35) {
927
930
  if (v(e.input.charCodeAt(e.position - 1))) break;
928
931
  } else if (e.position === e.lineStart && W(e) || n && y(d)) break;
929
- else if (g(d)) if (o = e.line, s = e.lineStart, c = e.lineIndent, U(e, !1, -1), e.lineIndent >= t) {
930
- a = !0, d = e.input.charCodeAt(e.position);
931
- continue;
932
- } else {
932
+ else if (g(d)) {
933
+ if (o = e.line, s = e.lineStart, c = e.lineIndent, U(e, !1, -1), e.lineIndent >= t) {
934
+ a = !0, d = e.input.charCodeAt(e.position);
935
+ continue;
936
+ }
933
937
  e.position = i, e.line = o, e.lineStart = s, e.lineIndent = c;
934
938
  break;
935
939
  }
@@ -941,9 +945,10 @@ function _e() {
941
945
  function te(e, t) {
942
946
  let n, r, i = e.input.charCodeAt(e.position);
943
947
  if (i !== 39) return !1;
944
- for (e.kind = "scalar", e.result = "", e.position++, n = r = e.position; (i = e.input.charCodeAt(e.position)) !== 0;) if (i === 39) if (z(e, n, e.position, !0), i = e.input.charCodeAt(++e.position), i === 39) n = e.position, e.position++, r = e.position;
945
- else return !0;
946
- else g(i) ? (z(e, n, r, !0), G(e, U(e, !1, t)), n = r = e.position) : e.position === e.lineStart && W(e) ? A(e, "unexpected end of the document within a single quoted scalar") : (e.position++, _(i) || (r = e.position));
948
+ for (e.kind = "scalar", e.result = "", e.position++, n = r = e.position; (i = e.input.charCodeAt(e.position)) !== 0;) if (i === 39) {
949
+ if (z(e, n, e.position, !0), i = e.input.charCodeAt(++e.position), i === 39) n = e.position, e.position++, r = e.position;
950
+ else return !0;
951
+ } else g(i) ? (z(e, n, r, !0), G(e, U(e, !1, t)), n = r = e.position) : e.position === e.lineStart && W(e) ? A(e, "unexpected end of the document within a single quoted scalar") : (e.position++, _(i) || (r = e.position));
947
952
  A(e, "unexpected end of the stream within a single quoted scalar");
948
953
  }
949
954
  e(te, "readSingleQuotedScalar");
@@ -1109,12 +1114,15 @@ function _e() {
1109
1114
  if (l && (n === 33 && e.tag !== null || n === 38 && e.anchor !== null) || !re(e) && !X(e)) break;
1110
1115
  d === null && (d = r), U(e, !0, -1) ? (l = !0, o = h, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)) : o = !1;
1111
1116
  }
1112
- if (o &&= l || i, c === 1 || n === 4) if (p = n === 1 || n === 2 ? t : t + 1, m = e.position - e.lineStart, c === 1) if (o && (J(e, m) || Y(e, m, p)) || q(e, p)) u = !0;
1113
- else {
1114
- let t = e.input.charCodeAt(e.position);
1115
- d !== null && h && !o && t !== 124 && t !== 62 && ie(e, d, d.position - d.lineStart, p) || a && ne(e, p) || te(e, p) || K(e, p) ? u = !0 : Z(e) ? (u = !0, (e.tag !== null || e.anchor !== null) && A(e, "alias node should not have any properties")) : ee(e, p, n === 1) && (u = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && M(e, e.anchor, e.result);
1117
+ if (o &&= l || i, c === 1 || n === 4) {
1118
+ if (p = n === 1 || n === 2 ? t : t + 1, m = e.position - e.lineStart, c === 1) {
1119
+ if (o && (J(e, m) || Y(e, m, p)) || q(e, p)) u = !0;
1120
+ else {
1121
+ let t = e.input.charCodeAt(e.position);
1122
+ d !== null && h && !o && t !== 124 && t !== 62 && ie(e, d, d.position - d.lineStart, p) || a && ne(e, p) || te(e, p) || K(e, p) ? u = !0 : Z(e) ? (u = !0, (e.tag !== null || e.anchor !== null) && A(e, "alias node should not have any properties")) : ee(e, p, n === 1) && (u = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && M(e, e.anchor, e.result);
1123
+ }
1124
+ } else c === 0 && (u = o && J(e, m));
1116
1125
  }
1117
- else c === 0 && (u = o && J(e, m));
1118
1126
  if (e.tag === null) e.anchor !== null && M(e, e.anchor, e.result);
1119
1127
  else if (e.tag === "?") {
1120
1128
  e.result !== null && e.kind !== "scalar" && A(e, "unacceptable node kind for !<?> tag; it should be \"scalar\", not \"" + e.kind + "\"");
@@ -1415,7 +1423,7 @@ function be() {
1415
1423
  for (let s = 0, c = o.length; s < c; s += 1) {
1416
1424
  let c = o[s];
1417
1425
  if ((c.instanceOf || c.predicate) && (!c.instanceOf || typeof t == "object" && t instanceof c.instanceOf) && (!c.predicate || c.predicate(t))) {
1418
- if (r ? c.multi && c.representName ? e.tag = c.representName(t) : e.tag = c.tag : e.tag = "?", c.represent) {
1426
+ if (e.tag = r ? c.multi && c.representName ? c.representName(t) : c.tag : "?", c.represent) {
1419
1427
  let r = e.styleMap[c.tag] || c.defaultStyle, o;
1420
1428
  if (i.call(c.represent) === "[object Function]") o = c.represent(t, r);
1421
1429
  else if (a.call(c.represent, r)) o = c.represent[r](t, r);
@@ -1,13 +1,13 @@
1
- import { m as e, p as t } from "./src-D-6ZfKf9.js";
2
- import { T as n, b as r, x as i } from "./chunk-DU6HZSFF-CNSdkWoH.js";
1
+ import { m as e, p as t } from "./src-DQoflmwT.js";
2
+ import { T as n, b as r, x as i } from "./chunk-DU6HZSFF-waeanndy.js";
3
3
  import { n as a } from "./chunk-Y2CYZVJY-i11wjrBe.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 ee } from "./chunk-75Z2AOVW-BwUD389x.js";
5
- import { t as y } from "./line-BEo8vh4N.js";
6
- import { i as b, n as x } from "./chunk-P2QGCYS3-DRvvOWJ2.js";
7
- import { n as S, r as C } from "./chunk-GMAD6QVW-DKxKOKLF.js";
8
- import { t as te } from "./rough.esm-rcMoXTJj.js";
9
- import { t as w } from "./chunk-4HAMMTFA-MZIwowe1.js";
10
- import { n as T } from "./chunk-GVQU2GXP-w4KY-she.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 ee } from "./chunk-75Z2AOVW-Drsj7a97.js";
5
+ import { t as y } from "./line-DTqYMLoX.js";
6
+ import { i as b, n as x } from "./chunk-P2QGCYS3-BUeNZ170.js";
7
+ import { n as S, r as C } from "./chunk-GMAD6QVW-D80II4AD.js";
8
+ import { t as te } from "./rough.esm-DXYGHN3m.js";
9
+ import { t as w } from "./chunk-4HAMMTFA-CZgIgrp_.js";
10
+ import { n as T } from "./chunk-GVQU2GXP-DP3t_9Rl.js";
11
11
  //#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-OSK3NFVY.mjs
12
12
  var E = /* @__PURE__ */ a((e, t) => {
13
13
  if (t) return "translate(" + -e.width / 2 + ", " + -e.height / 2 + ")";
@@ -258,14 +258,14 @@ function B(e, t) {
258
258
  a(B, "setTerminalWidth");
259
259
  var V = /* @__PURE__ */ a((t, n) => {
260
260
  e.debug("Moving label abc88 ", t.id, t.label, P.get(t.id), n);
261
- let r = n.updatedPath ? n.updatedPath : n.originalPath, { subGraphTitleTotalMargin: a } = T(i());
261
+ let r = n.updatedPath ? n.updatedPath : n.originalPath, a = i(), { subGraphTitleTotalMargin: o } = T(a);
262
262
  if (t.label) {
263
- let i = P.get(t.id), o = t.x, s = t.y;
263
+ let i = P.get(t.id), a = t.x, s = t.y;
264
264
  if (r) {
265
265
  let i = m.calcLabelPosition(r);
266
- e.debug("Moving label " + t.label + " from (", o, ",", s, ") to (", i.x, ",", i.y, ") abc88"), n.updatedPath && (o = i.x, s = i.y);
266
+ e.debug("Moving label " + t.label + " from (", a, ",", s, ") to (", i.x, ",", i.y, ") abc88"), n.updatedPath && (a = i.x, s = i.y);
267
267
  }
268
- i.attr("transform", `translate(${o}, ${s + a / 2})`);
268
+ i.attr("transform", `translate(${a}, ${s + o / 2})`);
269
269
  }
270
270
  if (t.startLabelLeft) {
271
271
  let e = F.get(t.id).startLeft, n = t.x, i = t.y;
@@ -334,7 +334,8 @@ var V = /* @__PURE__ */ a((t, n) => {
334
334
  y: r.y < n.y ? r.y + u - t : r.y - u + t
335
335
  };
336
336
  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;
337
- } else {
337
+ }
338
+ {
338
339
  c = r.x < n.x ? n.x - s - i : i - s - n.x;
339
340
  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;
340
341
  return e.debug(`sides calc abc89, Q ${u}, q ${t}, R ${d}, r ${c}`, {
@@ -405,14 +406,16 @@ var K = /* @__PURE__ */ a(function(e, t, n) {
405
406
  let N = [];
406
407
  for (let e in r.cssCompiledStyles) x(e) || N.push(r.cssCompiledStyles[e]);
407
408
  if (D === "swimlane") {
408
- if (M.intersect && j.intersect && Array.isArray(k) && k.length >= 2) if (k.length === 2) k = [j.intersect(k[0]), M.intersect(k[1])];
409
- else {
410
- 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];
411
- k = [
412
- ...c,
413
- ...e,
414
- ...l
415
- ];
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
+ }
416
419
  }
417
420
  k = ae(r, k);
418
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])));
@@ -1,4 +1,4 @@
1
- import { x as e } from "./chunk-DU6HZSFF-CNSdkWoH.js";
1
+ import { x as e } from "./chunk-DU6HZSFF-waeanndy.js";
2
2
  import { n as t } from "./chunk-Y2CYZVJY-i11wjrBe.js";
3
3
  //#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-P2QGCYS3.mjs
4
4
  var n = /* @__PURE__ */ t((t) => {
@@ -1,5 +1,5 @@
1
- import { m as e } from "./src-D-6ZfKf9.js";
2
- import { c as t } from "./chunk-DU6HZSFF-CNSdkWoH.js";
1
+ import { m as e } from "./src-DQoflmwT.js";
2
+ import { c as t } from "./chunk-DU6HZSFF-waeanndy.js";
3
3
  import { n } from "./chunk-Y2CYZVJY-i11wjrBe.js";
4
4
  //#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-POPQ4Y6H.mjs
5
5
  var r = /* @__PURE__ */ n((n, r, o, s) => {
@@ -1,5 +1,5 @@
1
- import { m as e } from "./src-D-6ZfKf9.js";
2
- import { b as t, z as n } from "./chunk-DU6HZSFF-CNSdkWoH.js";
1
+ import { m as e } from "./src-DQoflmwT.js";
2
+ import { b as t, z as n } from "./chunk-DU6HZSFF-waeanndy.js";
3
3
  import { n as r } from "./chunk-Y2CYZVJY-i11wjrBe.js";
4
4
  //#region node_modules/@iconify/utils/lib/icon/defaults.js
5
5
  var i = Object.freeze({
@@ -171,9 +171,7 @@ function w(e, t) {
171
171
  case 2:
172
172
  t.unshift("rotate(180 " + (i.width / 2 + i.left).toString() + " " + (i.height / 2 + i.top).toString() + ")");
173
173
  break;
174
- case 3:
175
- s = i.width / 2 + i.left, t.unshift("rotate(-90 " + s.toString() + " " + s.toString() + ")");
176
- break;
174
+ case 3: s = i.width / 2 + i.left, t.unshift("rotate(-90 " + s.toString() + " " + s.toString() + ")");
177
175
  }
178
176
  o % 2 == 1 && (i.left !== i.top && (s = i.left, i.left = i.top, i.top = s), i.width !== i.height && (s = i.width, i.width = i.height, i.height = s)), t.length && (a = S(a, "<g transform=\"" + t.join(" ") + "\">", "</g>"));
179
177
  });
@@ -267,11 +265,11 @@ var A = {
267
265
  } catch (t) {
268
266
  e.error(t), o = A;
269
267
  }
270
- let s = w(o, i);
271
- return n(k(O(s.body), {
268
+ let s = w(o, i), c = k(O(s.body), {
272
269
  ...s.attributes,
273
270
  ...a
274
- }), t());
271
+ });
272
+ return n(c, t());
275
273
  }, "getIconSVG");
276
274
  //#endregion
277
275
  export { A as i, F as n, N as r, I as t };