@sme.up/ketchup2 2.10.0 → 2.11.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 (323) hide show
  1. package/dist/{abnfDiagram-VCTEODGH-jIDWUpNo.js → abnfDiagram-WEYOIA3C-BGzUWx_N.js} +18 -18
  2. package/dist/{arc-DXfwi1YX.js → arc-Cde31fHX.js} +1 -1
  3. package/dist/architecture-WOLXFQ4H-CjGAyYHf.js +2 -0
  4. package/dist/{architectureDiagram-5GKGNRK7-C1xA1c3c.js → architectureDiagram-ZHVYKT53-DH-D4G0y.js} +138 -153
  5. package/dist/assets/svg/magnify-minus.svg +1 -0
  6. package/dist/assets/svg/magnify-plus.svg +1 -0
  7. package/dist/basic-components/button-group/button-group.d.ts.map +1 -1
  8. package/dist/basic-components/cell/cell-types.d.ts +8 -0
  9. package/dist/basic-components/cell/cell-types.d.ts.map +1 -1
  10. package/dist/basic-components/cell/cell.d.ts.map +1 -1
  11. package/dist/basic-components/checkbox/checkbox.d.ts.map +1 -1
  12. package/dist/basic-components/chips/chips-types.d.ts +13 -0
  13. package/dist/basic-components/chips/chips-types.d.ts.map +1 -1
  14. package/dist/basic-components/chips/chips.d.ts.map +1 -1
  15. package/dist/basic-components/date-picker/date-picker-types.d.ts +4 -0
  16. package/dist/basic-components/date-picker/date-picker-types.d.ts.map +1 -1
  17. package/dist/basic-components/image-cell/image-cell.d.ts.map +1 -1
  18. package/dist/basic-components/input-number/input-number.d.ts.map +1 -1
  19. package/dist/basic-components/radio/radio.d.ts.map +1 -1
  20. package/dist/basic-components/slider/slider.d.ts.map +1 -1
  21. package/dist/basic-components/text/text.d.ts.map +1 -1
  22. package/dist/basic-components/textarea/textarea-types.d.ts +2 -2
  23. package/dist/basic-components/textarea/textarea.d.ts.map +1 -1
  24. package/dist/basic-components/textfield/textfield-types.d.ts +7 -2
  25. package/dist/basic-components/textfield/textfield-types.d.ts.map +1 -1
  26. package/dist/basic-components/textfield/textfield.d.ts.map +1 -1
  27. package/dist/basic-components/typography/typography.d.ts.map +1 -1
  28. package/dist/{blockDiagram-I7D4REHJ-C0hlmHW8.js → blockDiagram-RJAE7QA3-hRpbCaPL.js} +329 -316
  29. package/dist/{c4Diagram-7LVT6UL2-DwTMAxzR.js → c4Diagram-XDPPPE54-Bkqvkv8O.js} +350 -340
  30. package/dist/channel-CcHUzwZl.js +5 -0
  31. package/dist/{chunk-SVP7TREG-f53BROgh.js → chunk-2E7WHVMD-DSYBrngB.js} +77 -77
  32. package/dist/chunk-4EMNKR2T-CndbTVTA.js +236 -0
  33. package/dist/{chunk-F27PBJKO-DPhiW07t.js → chunk-55XCU76K-B1HtPImz.js} +16 -16
  34. package/dist/{chunk-75Z2AOVW-CLjRECiG.js → chunk-7S6XSTFO-CN6S2H1-.js} +304 -305
  35. package/dist/{chunk-GMAD6QVW-Cnp61Cie.js → chunk-AQDTSKZB-DuUha9al.js} +386 -433
  36. package/dist/{chunk-DU6HZSFF-D9v_2L4Z.js → chunk-DSNLSHJZ-B1A8wsiA.js} +1078 -984
  37. package/dist/chunk-DUW6YSOI-BdOla2G8.js +10 -0
  38. package/dist/chunk-EJLWFMJV-Cu6XnLfk.js +75 -0
  39. package/dist/chunk-HAGFOTED-IzyIoLzD.js +4487 -0
  40. package/dist/chunk-HNE4Q36P-7zVKLE_b.js +363 -0
  41. package/dist/chunk-J5ZVWO5B-CYzz6Pq8.js +12 -0
  42. package/dist/{chunk-LNGE3PJU-CtYcu9x8.js → chunk-LNGE3PJU-ByFTjlja.js} +15 -19
  43. package/dist/chunk-NGNAAXSQ-Tr--SG_c.js +19832 -0
  44. package/dist/{chunk-SHT3W25Y-aBBFlrSX.js → chunk-NQOKRVIF-CEJ-prlJ.js} +483 -414
  45. package/dist/chunk-OYAV6JZA-Cypx4hYu.js +14 -0
  46. package/dist/{chunk-P2QGCYS3-667SFjNY.js → chunk-UHW7PFBP-CoHGQVjo.js} +6 -6
  47. package/dist/chunk-VQ5W62QI-BSDHmyws.js +26 -0
  48. package/dist/{chunk-OSK3NFVY-qg1q5TTI.js → chunk-WQQL4CDK-BJE6isq-.js} +312 -288
  49. package/dist/chunk-XXDRQBXY-CU-dbs05.js +9 -0
  50. package/dist/{chunk-PWAF6VOD-z0rQy52m.js → chunk-YZO67HFG-Bcmpw0dX.js} +28 -28
  51. package/dist/{chunk-GVQU2GXP-BJ9OHC7T.js → chunk-ZAUX2LTX-Bu7BRVL6.js} +14 -14
  52. package/dist/chunk-ZCHMQSOR-BA1QQ4D6.js +354 -0
  53. package/dist/{chunk-TICWLB2K-DzrOz9kL.js → classDiagram-v2-4MYWR3UA-Bnh650R8.js} +333 -293
  54. package/dist/components/app-bar/app-bar-utils.d.ts.map +1 -1
  55. package/dist/components/calendar/calendar-available-height.d.ts +14 -0
  56. package/dist/components/calendar/calendar-available-height.d.ts.map +1 -0
  57. package/dist/components/calendar/calendar-types.d.ts +20 -8
  58. package/dist/components/calendar/calendar-types.d.ts.map +1 -1
  59. package/dist/components/calendar/calendar-utils.d.ts +94 -37
  60. package/dist/components/calendar/calendar-utils.d.ts.map +1 -1
  61. package/dist/components/calendar/calendar.d.ts.map +1 -1
  62. package/dist/components/calendar/views/calendar-event-text.d.ts +14 -3
  63. package/dist/components/calendar/views/calendar-event-text.d.ts.map +1 -1
  64. package/dist/components/calendar/views/calendar-month-grid.d.ts +4 -4
  65. package/dist/components/calendar/views/calendar-month-grid.d.ts.map +1 -1
  66. package/dist/components/calendar/views/calendar-more-events.d.ts +1 -1
  67. package/dist/components/calendar/views/calendar-more-events.d.ts.map +1 -1
  68. package/dist/components/calendar/views/calendar-time-grid.d.ts +4 -0
  69. package/dist/components/calendar/views/calendar-time-grid.d.ts.map +1 -1
  70. package/dist/components/data-table/assets/data-table-row-actions.d.ts +1 -1
  71. package/dist/components/data-table/cell-actions/cell-actions-types.d.ts +12 -0
  72. package/dist/components/data-table/cell-actions/cell-actions-types.d.ts.map +1 -0
  73. package/dist/components/data-table/cell-actions/cell-actions-utils.d.ts +29 -0
  74. package/dist/components/data-table/cell-actions/cell-actions-utils.d.ts.map +1 -0
  75. package/dist/components/data-table/cell-actions/cell-actions-utils.test.d.ts +2 -0
  76. package/dist/components/data-table/cell-actions/cell-actions-utils.test.d.ts.map +1 -0
  77. package/dist/components/data-table/cell-actions/cell-actions.d.ts +6 -0
  78. package/dist/components/data-table/cell-actions/cell-actions.d.ts.map +1 -0
  79. package/dist/components/data-table/column-menu/column-menu-types.d.ts +32 -0
  80. package/dist/components/data-table/column-menu/column-menu-types.d.ts.map +1 -0
  81. package/dist/components/data-table/column-menu/column-menu.d.ts +11 -0
  82. package/dist/components/data-table/column-menu/column-menu.d.ts.map +1 -0
  83. package/dist/components/data-table/columns/columns-utils.d.ts +11 -2
  84. package/dist/components/data-table/columns/columns-utils.d.ts.map +1 -1
  85. package/dist/components/data-table/columns/useColumnWidths.d.ts +24 -1
  86. package/dist/components/data-table/columns/useColumnWidths.d.ts.map +1 -1
  87. package/dist/components/data-table/data-table-types.d.ts +191 -38
  88. package/dist/components/data-table/data-table-types.d.ts.map +1 -1
  89. package/dist/components/data-table/data-table.d.ts.map +1 -1
  90. package/dist/components/data-table/filtering/data-table-filter-utils.d.ts +19 -2
  91. package/dist/components/data-table/filtering/data-table-filter-utils.d.ts.map +1 -1
  92. package/dist/components/data-table/fixed/fixed-utils.d.ts +6 -0
  93. package/dist/components/data-table/fixed/fixed-utils.d.ts.map +1 -1
  94. package/dist/components/data-table/footer/footer-types.d.ts +22 -8
  95. package/dist/components/data-table/footer/footer-types.d.ts.map +1 -1
  96. package/dist/components/data-table/footer/footer.d.ts.map +1 -1
  97. package/dist/components/data-table/group-row/group-row-types.d.ts +29 -1
  98. package/dist/components/data-table/group-row/group-row-types.d.ts.map +1 -1
  99. package/dist/components/data-table/group-row/group-row.d.ts.map +1 -1
  100. package/dist/components/data-table/grouping/buildFlatGroupedRows.d.ts +11 -5
  101. package/dist/components/data-table/grouping/buildFlatGroupedRows.d.ts.map +1 -1
  102. package/dist/components/data-table/grouping/datatable-groups-utils.d.ts +11 -1
  103. package/dist/components/data-table/grouping/datatable-groups-utils.d.ts.map +1 -1
  104. package/dist/components/data-table/grouping/group-expansion.d.ts +16 -0
  105. package/dist/components/data-table/grouping/group-expansion.d.ts.map +1 -0
  106. package/dist/components/data-table/grouping/grouping-types.d.ts +9 -0
  107. package/dist/components/data-table/grouping/grouping-types.d.ts.map +1 -1
  108. package/dist/components/data-table/header/Header.d.ts.map +1 -1
  109. package/dist/components/data-table/header/header-toolbar/header-toolbar-types.d.ts +44 -0
  110. package/dist/components/data-table/header/header-toolbar/header-toolbar-types.d.ts.map +1 -0
  111. package/dist/components/data-table/header/header-toolbar/header-toolbar.d.ts +8 -0
  112. package/dist/components/data-table/header/header-toolbar/header-toolbar.d.ts.map +1 -0
  113. package/dist/components/data-table/header/header-types.d.ts +32 -21
  114. package/dist/components/data-table/header/header-types.d.ts.map +1 -1
  115. package/dist/components/data-table/load-more-row/load-more-row.d.ts +8 -0
  116. package/dist/components/data-table/load-more-row/load-more-row.d.ts.map +1 -0
  117. package/dist/components/data-table/load-more-row/load-more-types.d.ts +11 -0
  118. package/dist/components/data-table/load-more-row/load-more-types.d.ts.map +1 -0
  119. package/dist/components/data-table/sorting/buildDftSort.d.ts +16 -0
  120. package/dist/components/data-table/sorting/buildDftSort.d.ts.map +1 -0
  121. package/dist/components/data-table/sorting/buildDftSort.test.d.ts +2 -0
  122. package/dist/components/data-table/sorting/buildDftSort.test.d.ts.map +1 -0
  123. package/dist/components/data-table/sorting/parseDftSort.d.ts +4 -4
  124. package/dist/components/data-table/sorting/parseDftSort.d.ts.map +1 -1
  125. package/dist/components/data-table/sorting/sortTable-utils.d.ts +10 -0
  126. package/dist/components/data-table/sorting/sortTable-utils.d.ts.map +1 -1
  127. package/dist/components/data-table/sorting/useSortableTable.d.ts +10 -4
  128. package/dist/components/data-table/sorting/useSortableTable.d.ts.map +1 -1
  129. package/dist/components/data-table/state/datatable-state.d.ts +14 -7
  130. package/dist/components/data-table/state/datatable-state.d.ts.map +1 -1
  131. package/dist/components/data-table/stories/data-table-story-meta.d.ts +7 -0
  132. package/dist/components/data-table/stories/data-table-story-meta.d.ts.map +1 -0
  133. package/dist/components/data-table/useDataTableImperativeHandle.d.ts +23 -0
  134. package/dist/components/data-table/useDataTableImperativeHandle.d.ts.map +1 -0
  135. package/dist/components/data-table/useDataTableShortcuts.d.ts +19 -0
  136. package/dist/components/data-table/useDataTableShortcuts.d.ts.map +1 -0
  137. package/dist/components/echarts-graph/builders/echarts-graph-builders.d.ts.map +1 -1
  138. package/dist/components/echarts-graph/data/echarts-graph-data.d.ts +1 -1
  139. package/dist/components/echarts-graph/data/echarts-graph-data.d.ts.map +1 -1
  140. package/dist/components/echarts-graph/data/echarts-graph-tree.d.ts +12 -0
  141. package/dist/components/echarts-graph/data/echarts-graph-tree.d.ts.map +1 -0
  142. package/dist/components/echarts-graph/data/echarts-graph-tree.test.d.ts +2 -0
  143. package/dist/components/echarts-graph/data/echarts-graph-tree.test.d.ts.map +1 -0
  144. package/dist/components/echarts-graph/echarts-graph-canvas.d.ts +34 -0
  145. package/dist/components/echarts-graph/echarts-graph-canvas.d.ts.map +1 -0
  146. package/dist/components/echarts-graph/echarts-graph-from-table.d.ts +13 -0
  147. package/dist/components/echarts-graph/echarts-graph-from-table.d.ts.map +1 -0
  148. package/dist/components/echarts-graph/echarts-graph-from-tree.d.ts +12 -0
  149. package/dist/components/echarts-graph/echarts-graph-from-tree.d.ts.map +1 -0
  150. package/dist/components/echarts-graph/echarts-graph-hooks.d.ts +16 -0
  151. package/dist/components/echarts-graph/echarts-graph-hooks.d.ts.map +1 -0
  152. package/dist/components/echarts-graph/echarts-graph-types.d.ts +24 -5
  153. package/dist/components/echarts-graph/echarts-graph-types.d.ts.map +1 -1
  154. package/dist/components/echarts-graph/echarts-graph.d.ts +10 -7
  155. package/dist/components/echarts-graph/echarts-graph.d.ts.map +1 -1
  156. package/dist/components/input-panel/input-panel-types.d.ts +7 -1
  157. package/dist/components/input-panel/input-panel-types.d.ts.map +1 -1
  158. package/dist/components/input-panel/input-panel.d.ts.map +1 -1
  159. package/dist/components/json-form/document-adapter.test.d.ts +2 -0
  160. package/dist/components/json-form/document-adapter.test.d.ts.map +1 -0
  161. package/dist/components/json-form/expression-evaluator.test.d.ts +2 -0
  162. package/dist/components/json-form/expression-evaluator.test.d.ts.map +1 -0
  163. package/dist/components/json-form/model/document-adapter.d.ts +54 -0
  164. package/dist/components/json-form/model/document-adapter.d.ts.map +1 -0
  165. package/dist/components/json-form/model/json-form-ajv.d.ts +12 -0
  166. package/dist/components/json-form/model/json-form-ajv.d.ts.map +1 -0
  167. package/dist/components/json-form/model/json-pointer.d.ts +20 -0
  168. package/dist/components/json-form/model/json-pointer.d.ts.map +1 -0
  169. package/dist/components/json-form/model/native-json-types.d.ts +5 -0
  170. package/dist/components/json-form/model/native-json-types.d.ts.map +1 -0
  171. package/dist/components/json-form/model/shape-event-support.d.ts +10 -0
  172. package/dist/components/json-form/model/shape-event-support.d.ts.map +1 -0
  173. package/dist/components/json-form/rule-controller.test.d.ts +2 -0
  174. package/dist/components/json-form/rule-controller.test.d.ts.map +1 -0
  175. package/dist/components/json-form/rules/expression-evaluator.d.ts +58 -0
  176. package/dist/components/json-form/rules/expression-evaluator.d.ts.map +1 -0
  177. package/dist/components/json-form/rules/rule-controller.d.ts +50 -0
  178. package/dist/components/json-form/rules/rule-controller.d.ts.map +1 -0
  179. package/dist/components/pdf/assets/pdf-fixtures.d.ts +6 -0
  180. package/dist/components/pdf/assets/pdf-fixtures.d.ts.map +1 -0
  181. package/dist/components/pdf/pdf-types.d.ts +17 -2
  182. package/dist/components/pdf/pdf-types.d.ts.map +1 -1
  183. package/dist/components/pdf/pdf-utils.d.ts +30 -1
  184. package/dist/components/pdf/pdf-utils.d.ts.map +1 -1
  185. package/dist/components/pdf/pdf.d.ts.map +1 -1
  186. package/dist/components/tab-bar/tab-bar.d.ts.map +1 -1
  187. package/dist/components/toolbar/toolbar-nodes/toolbar-plain-node.d.ts.map +1 -1
  188. package/dist/context/test-utils.d.ts.map +1 -1
  189. package/dist/{cose-bilkent-JH36ORCC-Qs_Z6zBZ.js → cose-bilkent-JH36ORCC-DYLyHByQ.js} +77 -89
  190. package/dist/cynefin-EF2NZ3EQ-DZ1CSrfW.js +2 -0
  191. package/dist/{cynefinDiagram-5FMLGOSQ-3SByb22K.js → cynefinDiagram-WF24UDRP-bU_4r-FZ.js} +64 -64
  192. package/dist/{cytoscape.esm-C5TvPYYm.js → cytoscape.esm-BvXLQ91B.js} +412 -513
  193. package/dist/dagre-NK4GIZVX-B72HOuil.js +2352 -0
  194. package/dist/{diagram-VX7I27RA-DX39g4aO.js → diagram-CBK3MWTC-B-q-tUxd.js} +80 -80
  195. package/dist/diagram-I5XIIV2D-CMzniFEf.js +134 -0
  196. package/dist/{diagram-S7CK7UJ4-IhyDbKSO.js → diagram-ODIL2UCW-CrlDp0MP.js} +46 -54
  197. package/dist/{diagram-VSXAHHWV-CdX3XaQX.js → diagram-PFBEJUXE-hnrdzEe4.js} +136 -121
  198. package/dist/{diagram-UQ7AKVKN-CPDZJAkA.js → diagram-RJA3I4VV-DZW7CxE5.js} +43 -43
  199. package/dist/diagram-TYUNFSNR-cRJNHRy2.js +5069 -0
  200. package/dist/{dist-CsrMlyO_.js → dist-Bj7IMbKd.js} +1 -1
  201. package/dist/{ebnfDiagram-PWID7BFC-D0cmYo-k.js → ebnfDiagram-V4P3TTPT-Bm7KtfLA.js} +17 -17
  202. package/dist/echarts-C7ehbnCk.js +15485 -0
  203. package/dist/elk-QONTBCTQ-gWOTRRj4.js +47505 -0
  204. package/dist/{erDiagram-RLTQ6QDP-C-nlwQZa.js → erDiagram-KYQIGQAA-WZEbQwWz.js} +150 -146
  205. package/dist/eventmodeling-K75KTNOO-CEn7YBG4.js +2 -0
  206. package/dist/flowDiagram-IUGLLWBU-CRV2Bl2C.js +16 -0
  207. package/dist/functional-components/filter-group/filter-builder-operators.d.ts +15 -0
  208. package/dist/functional-components/filter-group/filter-builder-operators.d.ts.map +1 -0
  209. package/dist/functional-components/filter-group/filter-builder.d.ts +15 -1
  210. package/dist/functional-components/filter-group/filter-builder.d.ts.map +1 -1
  211. package/dist/functional-components/group-bar/group-bar-types.d.ts +16 -0
  212. package/dist/functional-components/group-bar/group-bar-types.d.ts.map +1 -1
  213. package/dist/functional-components/group-bar/group-bar.d.ts.map +1 -1
  214. package/dist/functional-components/helper-text/helper-text-types.d.ts +1 -1
  215. package/dist/functional-components/row/row-types.d.ts +27 -1
  216. package/dist/functional-components/row/row-types.d.ts.map +1 -1
  217. package/dist/functional-components/row/row.d.ts.map +1 -1
  218. package/dist/functional-components/tree-picker/tree-picker-types.d.ts +5 -0
  219. package/dist/functional-components/tree-picker/tree-picker-types.d.ts.map +1 -1
  220. package/dist/{ganttDiagram-EL5Y4UJY-qQkBgEV6.js → ganttDiagram-R7GPNTJY-DFRGfQMr.js} +314 -310
  221. package/dist/gitGraph-VSP46ZUC-BSTikFaE.js +2 -0
  222. package/dist/{gitGraphDiagram-WWUBYQGX-D8cZBZXB.js → gitGraphDiagram-PDYL7XHY-nvoob8Ca.js} +250 -250
  223. package/dist/hooks/useVirtualListScroll.d.ts +7 -2
  224. package/dist/hooks/useVirtualListScroll.d.ts.map +1 -1
  225. package/dist/index.d.ts +2 -5
  226. package/dist/index.d.ts.map +1 -1
  227. package/dist/info-OHQRW6UA-BGb3N889.js +2 -0
  228. package/dist/infoDiagram-MVDRKAX5-BqO_morw.js +20 -0
  229. package/dist/installCanvasRenderer-CgRxxRBg.js +29799 -0
  230. package/dist/{ishikawaDiagram-5VMMS53U-B0RvuZyG.js → ishikawaDiagram-HPEHV2GE-BE3amLYE.js} +27 -29
  231. package/dist/{journeyDiagram-3NMN7TZE-Dh8_Vc4e.js → journeyDiagram-BOSHW7O7-DE8ndsCi.js} +111 -111
  232. package/dist/{kanban-definition-UXKFOSKX-C99A4PsR.js → kanban-definition-FNSA4HC5-D72kc4EN.js} +135 -135
  233. package/dist/{katex-CT2p8LXT.js → katex-CDhNh-ZQ.js} +919 -1040
  234. package/dist/ketchup2.css +1 -1
  235. package/dist/ketchup2.es.js +25049 -70453
  236. package/dist/{line-CkNoVxEr.js → line-ltPB6XbC.js} +1 -1
  237. package/dist/{linear-CXc5xaa6.js → linear-i6_MPSGL.js} +2 -3
  238. package/dist/locale/en/translation.json.d.ts +36 -5
  239. package/dist/locale/it/translation.json.d.ts +36 -5
  240. package/dist/{mermaid-parser.core-BwVmI_Rq.js → mermaid-parser.core-zUi7tSl-.js} +166 -172
  241. package/dist/{mindmap-definition-YA3MSWOX-D0ULN6M8.js → mindmap-definition-6OY57UG3-hH6Avsg4.js} +148 -145
  242. package/dist/packet-JDAUHWVQ-CKZoNg5j.js +2 -0
  243. package/dist/{pegDiagram-XKGWAZYB-BThnA3Uk.js → pegDiagram-ECIUJNBX-D3xLhrRh.js} +19 -19
  244. package/dist/pie-XZMESJXO-BnbWY8rE.js +2 -0
  245. package/dist/{pieDiagram-E7YTZNPT-CJ4LPitY.js → pieDiagram-GNMPY74T-Bd_UXypi.js} +39 -39
  246. package/dist/{quadrantDiagram-AXDQQJYC-nEwzg95_.js → quadrantDiagram-D57K4MC3-BAwweqT8.js} +149 -149
  247. package/dist/radar-ABXABTNO-D5CEmFBx.js +2 -0
  248. package/dist/railroad-I3PHUGI6-CxMiYaMH.js +2 -0
  249. package/dist/railroad-abnf-LNEFI6M7-C69KxGa-.js +2 -0
  250. package/dist/railroad-ebnf-DWYD2UWJ-D5Xd566k.js +2 -0
  251. package/dist/railroad-peg-JR7BVNR7-CD0OiqcS.js +2 -0
  252. package/dist/{railroadDiagram-O6MQD6OU-D_9gvx5m.js → railroadDiagram-Y72NRBL7-CPUbPgYX.js} +14 -14
  253. package/dist/{requirementDiagram-BXWQKSXE-BU3gTMjQ.js → requirementDiagram-EQYSW5RA-BXstYS3w.js} +97 -93
  254. package/dist/rolldown-runtime-5HNE8Q1r.js +23 -0
  255. package/dist/{sankeyDiagram-P5KCCOFB-BmNN-6y3.js → sankeyDiagram-SY24JHO5-Du-toJmg.js} +64 -64
  256. package/dist/{sequenceDiagram-WJ2MYXX4-QYJxbuz_.js → sequenceDiagram-BLEHNHQU-BNNnerZ-.js} +953 -868
  257. package/dist/{sizeCapture-INFHLROL-CHXIsPO_.js → sizeCapture-INFHLROL-DujrpAYz.js} +1 -1
  258. package/dist/{src-DQoflmwT.js → src-CY9Rz0Sf.js} +545 -566
  259. package/dist/{chunk-IMKFNOWR-yyUcHorm.js → stateDiagram-v2-A6IESKWZ-CfjPf8h7.js} +364 -267
  260. package/dist/{swimlanes-42K2YHIH-DkMzBkx7.js → swimlanes-B3ENRKFQ-Dumwq89C.js} +1356 -1590
  261. package/dist/swimlanesDiagram-AYQRV4AK-Boz_Azx7.js +28 -0
  262. package/dist/{timeline-definition-24CTP7MA-AvgVPsM_.js → timeline-definition-JXYKGLGB-ClzmRQCu.js} +354 -350
  263. package/dist/treeView-D4JQ5SDB-C3ue8DID.js +2 -0
  264. package/dist/treemap-SAJKECNS-BWis-Wpv.js +2 -0
  265. package/dist/types/data-structures.d.ts +11 -0
  266. package/dist/types/data-structures.d.ts.map +1 -1
  267. package/dist/types/global.d.ts +7 -2
  268. package/dist/types/global.d.ts.map +1 -1
  269. package/dist/types/translation.d.ts +35 -5
  270. package/dist/types/translation.d.ts.map +1 -1
  271. package/dist/usecaseDiagram-WPOLBNNX-ruZhXlYQ.js +7175 -0
  272. package/dist/utils/object-styles.d.ts +12 -0
  273. package/dist/utils/object-styles.d.ts.map +1 -0
  274. package/dist/utils/object-styles.test.d.ts +2 -0
  275. package/dist/utils/object-styles.test.d.ts.map +1 -0
  276. package/dist/utils/totals/totals-registry.d.ts +17 -0
  277. package/dist/utils/totals/totals-registry.d.ts.map +1 -0
  278. package/dist/utils/totals/totals-utils.d.ts +70 -7
  279. package/dist/utils/totals/totals-utils.d.ts.map +1 -1
  280. package/dist/utils/wrapper-types/list.d.ts.map +1 -1
  281. package/dist/{vennDiagram-4TSXK5OY-DBz_EnfL.js → vennDiagram-Q3Y3IDCW-L9GmqfCz.js} +118 -118
  282. package/dist/wardley-7MLQ67FV-DC0ayJCO.js +2 -0
  283. package/dist/{wardleyDiagram-VM6X3IG4-D4U_E7xl.js → wardleyDiagram-IVAIDKWA-Dz5K-UqN.js} +126 -126
  284. package/dist/{xychartDiagram-S5SC5T6Z-aHqeFP13.js → xychartDiagram-4URNHDU4-C2xwRx5F.js} +141 -137
  285. package/package.json +5 -3
  286. package/dist/architecture-7GRP2DOG-BsytjMto.js +0 -3
  287. package/dist/channel-BD0NTdCR.js +0 -5
  288. package/dist/chunk-2E4U76K2-CMCSmJ5_.js +0 -348
  289. package/dist/chunk-4HAMMTFA-DBtV-sHy.js +0 -4188
  290. package/dist/chunk-CLGD4ZFX-DdntjE3C.js +0 -14
  291. package/dist/chunk-FOHPRMQF-LRqOLsSw.js +0 -21456
  292. package/dist/chunk-L3NEJ4N5-Dd1FmxFn.js +0 -245
  293. package/dist/chunk-POPQ4Y6H-YFNrkrJW.js +0 -26
  294. package/dist/chunk-TLUHSLCS-Drk6ApJR.js +0 -59
  295. package/dist/chunk-XXDRQBXY-C1ZEFXGu.js +0 -9
  296. package/dist/classDiagram-ZZMXUADV-CaI6YU6r.js +0 -30
  297. package/dist/classDiagram-v2-VYDZK3BY-ClCVTcLo.js +0 -30
  298. package/dist/components/echart-graph-from-tree/echart-graph-from-tree-types.d.ts +0 -14
  299. package/dist/components/echart-graph-from-tree/echart-graph-from-tree-types.d.ts.map +0 -1
  300. package/dist/components/echart-graph-from-tree/echart-graph-from-tree.d.ts +0 -11
  301. package/dist/components/echart-graph-from-tree/echart-graph-from-tree.d.ts.map +0 -1
  302. package/dist/cynefin-OW5HDTMX-BJXlKro0.js +0 -3
  303. package/dist/dagre-D5csT9sx.js +0 -1934
  304. package/dist/dagre-GXQ25YYZ--Qf92cTs.js +0 -425
  305. package/dist/diagram-Z3DM3KII-DECfAI1l.js +0 -134
  306. package/dist/eventmodeling-NTZA5JFV-Cj-VH7yh.js +0 -3
  307. package/dist/flowDiagram-HODETNUW-LRjksS-j.js +0 -17
  308. package/dist/gitGraph-4MIJSDKK-C9JGDovl.js +0 -3
  309. package/dist/info-A6RAGUB7-CmZJKEaW.js +0 -3
  310. package/dist/infoDiagram-27XIBGKW-DXO97_PJ.js +0 -20
  311. package/dist/packet-AYTQ26CC-B3tgRshR.js +0 -3
  312. package/dist/pie-WAS4IAKB-BRiI8kbI.js +0 -3
  313. package/dist/radar-RG4KPBEZ-ASOMQXFw.js +0 -3
  314. package/dist/railroad-74A4TZTK-oS840SLr.js +0 -3
  315. package/dist/railroad-abnf-HS5TGJTU-nnQAkZY2.js +0 -3
  316. package/dist/railroad-ebnf-LZEXJU2U-DBQIOba3.js +0 -3
  317. package/dist/railroad-peg-WCYAUIDC-fBPN2TVb.js +0 -3
  318. package/dist/stateDiagram-D77RDMKH-0Jasv70t.js +0 -220
  319. package/dist/stateDiagram-v2-MP3YSRHH-JMSv8IGL.js +0 -30
  320. package/dist/swimlanesDiagram-VR7AAH4N-DtnUyaK5.js +0 -31
  321. package/dist/treeView-Q6P3EWNA-BmvB2b-_.js +0 -3
  322. package/dist/treemap-WGGIJYW6-Cjjk75wA.js +0 -3
  323. package/dist/wardley-WFR3VGLG-BamDiE0x.js +0 -3
@@ -1,7 +1,7 @@
1
- import { m as e, p as t } from "./src-DQoflmwT.js";
2
- import { R as n, h as r, p as i, r as a, s as o } from "./chunk-DU6HZSFF-D9v_2L4Z.js";
3
- import { n as s } from "./chunk-Y2CYZVJY-i11wjrBe.js";
4
- import { t as c } from "./dist-CsrMlyO_.js";
1
+ import { R as e, h as t, p as n, r, s as i } from "./chunk-DSNLSHJZ-B1A8wsiA.js";
2
+ import { n as a } from "./chunk-Y2CYZVJY-i11wjrBe.js";
3
+ import { m as o, p as s } from "./src-CY9Rz0Sf.js";
4
+ import { t as c } from "./dist-Bj7IMbKd.js";
5
5
  //#region node_modules/d3-shape/src/curve/linear.js
6
6
  function l(e) {
7
7
  this._context = e;
@@ -471,10 +471,10 @@ var me = (function e(t) {
471
471
  })(.5);
472
472
  //#endregion
473
473
  //#region node_modules/d3-shape/src/curve/catmullRomOpen.js
474
- function he(e, t) {
474
+ function x(e, t) {
475
475
  this._context = e, this._alpha = t;
476
476
  }
477
- he.prototype = {
477
+ x.prototype = {
478
478
  areaStart: function() {
479
479
  this._line = 0;
480
480
  },
@@ -508,9 +508,9 @@ he.prototype = {
508
508
  this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
509
509
  }
510
510
  };
511
- var ge = (function e(t) {
511
+ var he = (function e(t) {
512
512
  function n(e) {
513
- return t ? new he(e, t) : new y(e, 0);
513
+ return t ? new x(e, t) : new y(e, 0);
514
514
  }
515
515
  return n.alpha = function(t) {
516
516
  return e(+t);
@@ -518,10 +518,10 @@ var ge = (function e(t) {
518
518
  })(.5);
519
519
  //#endregion
520
520
  //#region node_modules/d3-shape/src/curve/linearClosed.js
521
- function _e(e) {
521
+ function ge(e) {
522
522
  this._context = e;
523
523
  }
524
- _e.prototype = {
524
+ ge.prototype = {
525
525
  areaStart: p,
526
526
  areaEnd: p,
527
527
  lineStart: function() {
@@ -534,30 +534,30 @@ _e.prototype = {
534
534
  e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
535
535
  }
536
536
  };
537
- function ve(e) {
538
- return new _e(e);
537
+ function _e(e) {
538
+ return new ge(e);
539
539
  }
540
540
  //#endregion
541
541
  //#region node_modules/d3-shape/src/curve/monotone.js
542
- function ye(e) {
542
+ function ve(e) {
543
543
  return e < 0 ? -1 : 1;
544
544
  }
545
- function be(e, t, n) {
545
+ function ye(e, t, n) {
546
546
  var r = e._x1 - e._x0, i = t - e._x1, a = (e._y1 - e._y0) / (r || i < 0 && -0), o = (n - e._y1) / (i || r < 0 && -0), s = (a * i + o * r) / (r + i);
547
- return (ye(a) + ye(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
547
+ return (ve(a) + ve(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
548
548
  }
549
- function xe(e, t) {
549
+ function be(e, t) {
550
550
  var n = e._x1 - e._x0;
551
551
  return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;
552
552
  }
553
- function x(e, t, n) {
553
+ function S(e, t, n) {
554
554
  var r = e._x0, i = e._y0, a = e._x1, o = e._y1, s = (a - r) / 3;
555
555
  e._context.bezierCurveTo(r + s, i + s * t, a - s, o - s * n, a, o);
556
556
  }
557
- function S(e) {
557
+ function C(e) {
558
558
  this._context = e;
559
559
  }
560
- S.prototype = {
560
+ C.prototype = {
561
561
  areaStart: function() {
562
562
  this._line = 0;
563
563
  },
@@ -572,7 +572,7 @@ S.prototype = {
572
572
  case 2:
573
573
  this._context.lineTo(this._x1, this._y1);
574
574
  break;
575
- case 3: x(this, this._t0, xe(this, this._t0));
575
+ case 3: S(this, this._t0, be(this, this._t0));
576
576
  }
577
577
  (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
578
578
  },
@@ -587,24 +587,24 @@ S.prototype = {
587
587
  this._point = 2;
588
588
  break;
589
589
  case 2:
590
- this._point = 3, x(this, xe(this, n = be(this, e, t)), n);
590
+ this._point = 3, S(this, be(this, n = ye(this, e, t)), n);
591
591
  break;
592
- default: x(this, this._t0, n = be(this, e, t));
592
+ default: S(this, this._t0, n = ye(this, e, t));
593
593
  }
594
594
  this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
595
595
  }
596
596
  }
597
597
  };
598
- function Se(e) {
599
- this._context = new Ce(e);
598
+ function xe(e) {
599
+ this._context = new Se(e);
600
600
  }
601
- (Se.prototype = Object.create(S.prototype)).point = function(e, t) {
602
- S.prototype.point.call(this, t, e);
601
+ (xe.prototype = Object.create(C.prototype)).point = function(e, t) {
602
+ C.prototype.point.call(this, t, e);
603
603
  };
604
- function Ce(e) {
604
+ function Se(e) {
605
605
  this._context = e;
606
606
  }
607
- Ce.prototype = {
607
+ Se.prototype = {
608
608
  moveTo: function(e, t) {
609
609
  this._context.moveTo(t, e);
610
610
  },
@@ -618,18 +618,18 @@ Ce.prototype = {
618
618
  this._context.bezierCurveTo(t, e, r, n, a, i);
619
619
  }
620
620
  };
621
- function we(e) {
622
- return new S(e);
621
+ function Ce(e) {
622
+ return new C(e);
623
623
  }
624
- function Te(e) {
625
- return new Se(e);
624
+ function we(e) {
625
+ return new xe(e);
626
626
  }
627
627
  //#endregion
628
628
  //#region node_modules/d3-shape/src/curve/natural.js
629
- function Ee(e) {
629
+ function Te(e) {
630
630
  this._context = e;
631
631
  }
632
- Ee.prototype = {
632
+ Te.prototype = {
633
633
  areaStart: function() {
634
634
  this._line = 0;
635
635
  },
@@ -643,7 +643,7 @@ Ee.prototype = {
643
643
  var e = this._x, t = this._y, n = e.length;
644
644
  if (n) {
645
645
  if (this._line ? this._context.lineTo(e[0], t[0]) : this._context.moveTo(e[0], t[0]), n === 2) this._context.lineTo(e[1], t[1]);
646
- else for (var r = De(e), i = De(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
646
+ else for (var r = Ee(e), i = Ee(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
647
647
  }
648
648
  (this._line || this._line !== 0 && n === 1) && this._context.closePath(), this._line = 1 - this._line, this._x = this._y = null;
649
649
  },
@@ -651,7 +651,7 @@ Ee.prototype = {
651
651
  this._x.push(+e), this._y.push(+t);
652
652
  }
653
653
  };
654
- function De(e) {
654
+ function Ee(e) {
655
655
  var t, n = e.length - 1, r, i = Array(n), a = Array(n), o = Array(n);
656
656
  for (i[0] = 0, a[0] = 2, o[0] = e[0] + 2 * e[1], t = 1; t < n - 1; ++t) i[t] = 1, a[t] = 4, o[t] = 4 * e[t] + 2 * e[t + 1];
657
657
  for (i[n - 1] = 2, a[n - 1] = 7, o[n - 1] = 8 * e[n - 1] + e[n], t = 1; t < n; ++t) r = i[t] / a[t - 1], a[t] -= r, o[t] -= r * o[t - 1];
@@ -659,15 +659,15 @@ function De(e) {
659
659
  for (a[n - 1] = (e[n] + i[n - 1]) / 2, t = 0; t < n - 1; ++t) a[t] = 2 * e[t + 1] - i[t + 1];
660
660
  return [i, a];
661
661
  }
662
- function Oe(e) {
663
- return new Ee(e);
662
+ function De(e) {
663
+ return new Te(e);
664
664
  }
665
665
  //#endregion
666
666
  //#region node_modules/d3-shape/src/curve/step.js
667
- function C(e, t) {
667
+ function w(e, t) {
668
668
  this._context = e, this._t = t;
669
669
  }
670
- C.prototype = {
670
+ w.prototype = {
671
671
  areaStart: function() {
672
672
  this._line = 0;
673
673
  },
@@ -695,74 +695,90 @@ C.prototype = {
695
695
  this._x = e, this._y = t;
696
696
  }
697
697
  };
698
- function w(e) {
699
- return new C(e, .5);
700
- }
701
698
  function T(e) {
702
- return new C(e, 0);
703
- }
704
- function ke(e) {
705
- return new C(e, 1);
699
+ return new w(e, .5);
706
700
  }
707
- //#endregion
708
- //#region node_modules/es-toolkit/dist/predicate/isLength.mjs
709
- function Ae(e) {
710
- return Number.isSafeInteger(e) && e >= 0;
701
+ function E(e) {
702
+ return new w(e, 0);
711
703
  }
712
- //#endregion
713
- //#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs
714
- function je(e) {
715
- return e != null && typeof e != "function" && Ae(e.length);
704
+ function D(e) {
705
+ return new w(e, 1);
716
706
  }
717
707
  //#endregion
718
- //#region node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
719
- function Me(e) {
720
- return e === "__proto__";
708
+ //#region node_modules/es-toolkit/dist/compat/predicate/isPlainObject.mjs
709
+ function O(e) {
710
+ if (typeof e != "object" || !e) return !1;
711
+ if (Object.getPrototypeOf(e) === null) return !0;
712
+ if (Object.prototype.toString.call(e) !== "[object Object]") {
713
+ let t = e[Symbol.toStringTag];
714
+ return t == null || !Object.getOwnPropertyDescriptor(e, Symbol.toStringTag)?.writable ? !1 : e.toString() === `[object ${t}]`;
715
+ }
716
+ let t = e;
717
+ for (; Object.getPrototypeOf(t) !== null;) t = Object.getPrototypeOf(t);
718
+ return Object.getPrototypeOf(e) === t;
721
719
  }
722
720
  //#endregion
723
- //#region node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
724
- function E(e) {
725
- return e == null || typeof e != "object" && typeof e != "function";
726
- }
721
+ //#region node_modules/es-toolkit/dist/function/noop.mjs
722
+ function Oe() {}
727
723
  //#endregion
728
724
  //#region node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
729
- function Ne(e) {
725
+ function ke(e) {
730
726
  return Object.getOwnPropertySymbols(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
731
727
  }
732
728
  //#endregion
733
729
  //#region node_modules/es-toolkit/dist/compat/_internal/getTag.mjs
734
- function D(e) {
730
+ function k(e) {
735
731
  return e == null ? e === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(e);
736
732
  }
737
733
  //#endregion
738
734
  //#region node_modules/es-toolkit/dist/compat/_internal/tags.mjs
739
- var Pe = "[object RegExp]", O = "[object String]", k = "[object Number]", A = "[object Boolean]", j = "[object Arguments]", Fe = "[object Symbol]", Ie = "[object Date]", Le = "[object Map]", Re = "[object Set]", ze = "[object Array]", Be = "[object ArrayBuffer]", Ve = "[object Object]", He = "[object DataView]", Ue = "[object Uint8Array]", We = "[object Uint8ClampedArray]", Ge = "[object Uint16Array]", Ke = "[object Uint32Array]", qe = "[object Int8Array]", M = "[object Int16Array]", Je = "[object Int32Array]", Ye = "[object Float32Array]", Xe = "[object Float64Array]", Ze = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
735
+ var Ae = "[object RegExp]", A = "[object String]", j = "[object Number]", M = "[object Boolean]", N = "[object Arguments]", je = "[object Symbol]", Me = "[object Date]", Ne = "[object Map]", Pe = "[object Set]", Fe = "[object Array]", Ie = "[object ArrayBuffer]", Le = "[object Object]", Re = "[object DataView]", ze = "[object Uint8Array]", Be = "[object Uint8ClampedArray]", Ve = "[object Uint16Array]", He = "[object Uint32Array]", Ue = "[object Int8Array]", We = "[object Int16Array]", Ge = "[object Int32Array]", Ke = "[object Float32Array]", qe = "[object Float64Array]", Je = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
740
736
  return this;
741
- })() || Function("return this")();
737
+ })();
742
738
  //#endregion
743
739
  //#region node_modules/es-toolkit/dist/predicate/isBuffer.mjs
744
- function N(e) {
745
- return Ze.Buffer !== void 0 && Ze.Buffer.isBuffer(e);
740
+ function P(e) {
741
+ return Je.Buffer !== void 0 && Je.Buffer.isBuffer(e);
742
+ }
743
+ //#endregion
744
+ //#region node_modules/es-toolkit/dist/predicate/isLength.mjs
745
+ function Ye(e) {
746
+ return Number.isSafeInteger(e) && e >= 0;
747
+ }
748
+ //#endregion
749
+ //#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs
750
+ function Xe(e) {
751
+ return e != null && typeof e != "function" && Ye(e.length);
752
+ }
753
+ //#endregion
754
+ //#region node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
755
+ function Ze(e) {
756
+ return e === "__proto__";
757
+ }
758
+ //#endregion
759
+ //#region node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
760
+ function F(e) {
761
+ return e == null || typeof e != "object" && typeof e != "function";
746
762
  }
747
763
  //#endregion
748
764
  //#region node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
749
- function P(e) {
765
+ function I(e) {
750
766
  return ArrayBuffer.isView(e) && !(e instanceof DataView);
751
767
  }
752
768
  //#endregion
753
769
  //#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
754
770
  function Qe(e, t) {
755
- return F(e, void 0, e, /* @__PURE__ */ new Map(), t);
771
+ return L(e, void 0, e, /* @__PURE__ */ new Map(), t);
756
772
  }
757
- function F(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
773
+ function L(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
758
774
  let a = i?.(e, t, n, r);
759
775
  if (a !== void 0) return a;
760
- if (E(e)) return e;
776
+ if (F(e)) return e;
761
777
  if (r.has(e)) return r.get(e);
762
778
  if (Array.isArray(e)) {
763
779
  let t = Array(e.length);
764
780
  r.set(e, t);
765
- for (let a = 0; a < e.length; a++) t[a] = F(e[a], a, n, r, i);
781
+ for (let a = 0; a < e.length; a++) t[a] = L(e[a], a, n, r, i);
766
782
  return Object.hasOwn(e, "index") && (t.index = e.index), Object.hasOwn(e, "input") && (t.input = e.input), t;
767
783
  }
768
784
  if (e instanceof Date) return new Date(e.getTime());
@@ -773,88 +789,88 @@ function F(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
773
789
  if (e instanceof Map) {
774
790
  let t = /* @__PURE__ */ new Map();
775
791
  r.set(e, t);
776
- for (let [a, o] of e) t.set(a, F(o, a, n, r, i));
792
+ for (let [a, o] of e) t.set(a, L(o, a, n, r, i));
777
793
  return t;
778
794
  }
779
795
  if (e instanceof Set) {
780
796
  let t = /* @__PURE__ */ new Set();
781
797
  r.set(e, t);
782
- for (let a of e) t.add(F(a, void 0, n, r, i));
798
+ for (let a of e) t.add(L(a, void 0, n, r, i));
783
799
  return t;
784
800
  }
785
- if (N(e)) return e.subarray();
786
- if (P(e)) {
801
+ if (P(e)) return e.subarray();
802
+ if (I(e)) {
787
803
  let t = new (Object.getPrototypeOf(e)).constructor(e.length);
788
804
  r.set(e, t);
789
- for (let a = 0; a < e.length; a++) t[a] = F(e[a], a, n, r, i);
805
+ for (let a = 0; a < e.length; a++) t[a] = L(e[a], a, n, r, i);
790
806
  return t;
791
807
  }
792
808
  if (e instanceof ArrayBuffer || typeof SharedArrayBuffer < "u" && e instanceof SharedArrayBuffer) return e.slice(0);
793
809
  if (e instanceof DataView) {
794
810
  let t = new DataView(e.buffer.slice(0), e.byteOffset, e.byteLength);
795
- return r.set(e, t), I(t, e, n, r, i), t;
811
+ return r.set(e, t), R(t, e, n, r, i), t;
796
812
  }
797
813
  if (typeof File < "u" && e instanceof File) {
798
814
  let t = new File([e], e.name, { type: e.type });
799
- return r.set(e, t), I(t, e, n, r, i), t;
815
+ return r.set(e, t), R(t, e, n, r, i), t;
800
816
  }
801
817
  if (typeof Blob < "u" && e instanceof Blob) {
802
818
  let t = new Blob([e], { type: e.type });
803
- return r.set(e, t), I(t, e, n, r, i), t;
819
+ return r.set(e, t), R(t, e, n, r, i), t;
804
820
  }
805
821
  if (e instanceof Error) {
806
822
  let t = structuredClone(e);
807
- return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, I(t, e, n, r, i), t;
823
+ return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, R(t, e, n, r, i), t;
808
824
  }
809
825
  if (e instanceof Boolean) {
810
826
  let t = new Boolean(e.valueOf());
811
- return r.set(e, t), I(t, e, n, r, i), t;
827
+ return r.set(e, t), R(t, e, n, r, i), t;
812
828
  }
813
829
  if (e instanceof Number) {
814
830
  let t = new Number(e.valueOf());
815
- return r.set(e, t), I(t, e, n, r, i), t;
831
+ return r.set(e, t), R(t, e, n, r, i), t;
816
832
  }
817
833
  if (e instanceof String) {
818
834
  let t = new String(e.valueOf());
819
- return r.set(e, t), I(t, e, n, r, i), t;
835
+ return r.set(e, t), R(t, e, n, r, i), t;
820
836
  }
821
837
  if (typeof e == "object" && $e(e)) {
822
838
  let t = Object.create(Object.getPrototypeOf(e));
823
- return r.set(e, t), I(t, e, n, r, i), t;
839
+ return r.set(e, t), R(t, e, n, r, i), t;
824
840
  }
825
841
  return e;
826
842
  }
827
- function I(e, t, n = e, r, i) {
828
- let a = [...Object.keys(t), ...Ne(t)];
843
+ function R(e, t, n = e, r, i) {
844
+ let a = [...Object.keys(t), ...ke(t)];
829
845
  for (let o = 0; o < a.length; o++) {
830
846
  let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);
831
- (c == null || c.writable) && (e[s] = F(t[s], s, n, r, i));
847
+ (c == null || c.writable) && (e[s] = L(t[s], s, n, r, i));
832
848
  }
833
849
  }
834
850
  function $e(e) {
835
- switch (D(e)) {
836
- case j:
837
- case ze:
838
- case Be:
839
- case He:
840
- case A:
851
+ switch (k(e)) {
852
+ case N:
853
+ case Fe:
841
854
  case Ie:
842
- case Ye:
843
- case Xe:
844
- case qe:
845
- case M:
846
- case Je:
847
- case Le:
848
- case k:
849
- case Ve:
850
- case Pe:
851
855
  case Re:
852
- case O:
853
- case Fe:
856
+ case M:
857
+ case Me:
858
+ case Ke:
859
+ case qe:
854
860
  case Ue:
855
861
  case We:
856
862
  case Ge:
857
- case Ke: return !0;
863
+ case Ne:
864
+ case j:
865
+ case Le:
866
+ case Ae:
867
+ case Pe:
868
+ case A:
869
+ case je:
870
+ case ze:
871
+ case Be:
872
+ case Ve:
873
+ case He: return !0;
858
874
  default: return !1;
859
875
  }
860
876
  }
@@ -865,20 +881,20 @@ function et(e, t) {
865
881
  let o = t?.(n, r, i, a);
866
882
  if (o !== void 0) return o;
867
883
  if (typeof e == "object") {
868
- if (D(e) === "[object Object]" && typeof e.constructor != "function") {
884
+ if (k(e) === "[object Object]" && typeof e.constructor != "function") {
869
885
  let t = {};
870
- return a.set(e, t), I(t, e, i, a), t;
886
+ return a.set(e, t), R(t, e, i, a), t;
871
887
  }
872
888
  switch (Object.prototype.toString.call(e)) {
873
- case k:
874
- case O:
875
- case A: {
889
+ case j:
890
+ case A:
891
+ case M: {
876
892
  let t = new e.constructor(e?.valueOf());
877
- return I(t, e), t;
893
+ return R(t, e), t;
878
894
  }
879
- case j: {
895
+ case N: {
880
896
  let t = {};
881
- return I(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
897
+ return R(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
882
898
  }
883
899
  default: return;
884
900
  }
@@ -892,22 +908,27 @@ function tt(e) {
892
908
  }
893
909
  //#endregion
894
910
  //#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs
895
- function L(e) {
896
- return typeof e == "object" && !!e && D(e) === "[object Arguments]";
911
+ function z(e) {
912
+ return typeof e == "object" && !!e && k(e) === "[object Arguments]";
897
913
  }
898
914
  //#endregion
899
915
  //#region node_modules/es-toolkit/dist/compat/predicate/isObjectLike.mjs
900
- function R(e) {
916
+ function B(e) {
901
917
  return typeof e == "object" && !!e;
902
918
  }
903
919
  //#endregion
904
920
  //#region node_modules/es-toolkit/dist/compat/predicate/isArrayLikeObject.mjs
905
921
  function nt(e) {
906
- return R(e) && je(e);
922
+ return B(e) && Xe(e);
923
+ }
924
+ //#endregion
925
+ //#region node_modules/es-toolkit/dist/compat/predicate/isTypedArray.mjs
926
+ function V(e) {
927
+ return I(e);
907
928
  }
908
929
  //#endregion
909
930
  //#region node_modules/es-toolkit/dist/compat/function/memoize.mjs
910
- function z(e, t) {
931
+ function H(e, t) {
911
932
  if (typeof e != "function" || t != null && typeof t != "function") throw TypeError("Expected a function");
912
933
  let n = function(...r) {
913
934
  let i = t ? t.apply(this, r) : r[0], a = n.cache;
@@ -915,35 +936,14 @@ function z(e, t) {
915
936
  let o = e.apply(this, r);
916
937
  return n.cache = a.set(i, o) || a, o;
917
938
  };
918
- return n.cache = new (z.Cache || Map)(), n;
919
- }
920
- z.Cache = Map;
921
- //#endregion
922
- //#region node_modules/es-toolkit/dist/function/noop.mjs
923
- function rt() {}
924
- //#endregion
925
- //#region node_modules/es-toolkit/dist/compat/predicate/isTypedArray.mjs
926
- function B(e) {
927
- return P(e);
928
- }
929
- //#endregion
930
- //#region node_modules/es-toolkit/dist/compat/predicate/isPlainObject.mjs
931
- function V(e) {
932
- if (typeof e != "object" || !e) return !1;
933
- if (Object.getPrototypeOf(e) === null) return !0;
934
- if (Object.prototype.toString.call(e) !== "[object Object]") {
935
- let t = e[Symbol.toStringTag];
936
- return t == null || !Object.getOwnPropertyDescriptor(e, Symbol.toStringTag)?.writable ? !1 : e.toString() === `[object ${t}]`;
937
- }
938
- let t = e;
939
- for (; Object.getPrototypeOf(t) !== null;) t = Object.getPrototypeOf(t);
940
- return Object.getPrototypeOf(e) === t;
939
+ return n.cache = new (H.Cache || Map)(), n;
941
940
  }
941
+ H.Cache = Map;
942
942
  //#endregion
943
943
  //#region node_modules/es-toolkit/dist/object/clone.mjs
944
- function it(e) {
945
- if (E(e)) return e;
946
- if (Array.isArray(e) || P(e) || e instanceof ArrayBuffer || typeof SharedArrayBuffer < "u" && e instanceof SharedArrayBuffer) return e.slice(0);
944
+ function rt(e) {
945
+ if (F(e)) return e;
946
+ if (Array.isArray(e) || I(e) || e instanceof ArrayBuffer || typeof SharedArrayBuffer < "u" && e instanceof SharedArrayBuffer) return e.slice(0);
947
947
  let t = Object.getPrototypeOf(e);
948
948
  if (t == null) return Object.assign(Object.create(t), e);
949
949
  let n = t.constructor;
@@ -957,39 +957,34 @@ function it(e) {
957
957
  let t;
958
958
  return t = e instanceof AggregateError ? new n(e.errors, e.message, { cause: e.cause }) : new n(e.message, { cause: e.cause }), t.stack = e.stack, Object.assign(t, e), t;
959
959
  }
960
- if (typeof File < "u" && e instanceof File) return new n([e], e.name, {
960
+ return typeof File < "u" && e instanceof File ? new n([e], e.name, {
961
961
  type: e.type,
962
962
  lastModified: e.lastModified
963
- });
964
- if (typeof e == "object") {
965
- let n = Object.create(t);
966
- return Object.assign(n, e);
967
- }
968
- return e;
963
+ }) : typeof e == "object" ? Object.assign(Object.create(t), e) : e;
969
964
  }
970
965
  //#endregion
971
966
  //#region node_modules/es-toolkit/dist/compat/object/mergeWith.mjs
972
- function at(e, ...t) {
967
+ function it(e, ...t) {
973
968
  let n = t.slice(0, -1), r = t[t.length - 1], i = e;
974
969
  for (let e = 0; e < n.length; e++) {
975
970
  let t = n[e];
976
- i = H(i, t, r, /* @__PURE__ */ new Map());
971
+ i = U(i, t, r, /* @__PURE__ */ new Map());
977
972
  }
978
973
  return i;
979
974
  }
980
- function H(e, t, n, r) {
981
- if (E(e) && (e = Object(e)), typeof t != "object" || !t) return e;
982
- if (r.has(t)) return it(r.get(t));
975
+ function U(e, t, n, r) {
976
+ if (F(e) && (e = Object(e)), typeof t != "object" || !t) return e;
977
+ if (r.has(t)) return rt(r.get(t));
983
978
  if (r.set(t, e), Array.isArray(t)) {
984
979
  t = t.slice();
985
980
  for (let e = 0; e < t.length; e++) t[e] = t[e] ?? void 0;
986
981
  }
987
- let i = [...Object.keys(t), ...Ne(t)];
982
+ let i = [...Object.keys(t), ...ke(t)];
988
983
  for (let a = 0; a < i.length; a++) {
989
984
  let o = i[a];
990
- if (Me(o)) continue;
985
+ if (Ze(o)) continue;
991
986
  let s = t[o], c = e[o];
992
- if (L(s) && (s = { ...s }), L(c) && (c = { ...c }), N(s) && (s = tt(s)), Array.isArray(s)) {
987
+ if (z(s) && (s = { ...s }), z(c) && (c = { ...c }), P(s) && (s = tt(s)), Array.isArray(s)) {
993
988
  if (Array.isArray(c)) {
994
989
  let e = [], t = Reflect.ownKeys(c);
995
990
  for (let n = 0; n < t.length; n++) {
@@ -1004,18 +999,18 @@ function H(e, t, n, r) {
1004
999
  } else c = [];
1005
1000
  }
1006
1001
  let l = n(c, s, o, e, t, r);
1007
- l === void 0 ? Array.isArray(s) || R(c) && R(s) && (V(c) || V(s) || B(c) || B(s)) ? e[o] = H(c, s, n, r) : c == null && V(s) ? e[o] = H({}, s, n, r) : c == null && B(s) ? e[o] = tt(s) : (c === void 0 || s !== void 0) && (e[o] = s) : e[o] = l;
1002
+ l === void 0 ? Array.isArray(s) || B(c) && B(s) && (O(c) || O(s) || V(c) || V(s)) ? e[o] = U(c, s, n, r) : c == null && O(s) ? e[o] = U({}, s, n, r) : c == null && V(s) ? e[o] = tt(s) : (c === void 0 || s !== void 0) && (e[o] = s) : e[o] = l;
1008
1003
  }
1009
1004
  return e;
1010
1005
  }
1011
1006
  //#endregion
1012
1007
  //#region node_modules/es-toolkit/dist/compat/object/merge.mjs
1013
- function ot(e, ...t) {
1014
- return at(e, ...t, rt);
1008
+ function at(e, ...t) {
1009
+ return it(e, ...t, Oe);
1015
1010
  }
1016
1011
  //#endregion
1017
- //#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-75Z2AOVW.mjs
1018
- var st = c(), ct = {
1012
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-7S6XSTFO.mjs
1013
+ var ot = c(), st = {
1019
1014
  curveBasis: te,
1020
1015
  curveBasisClosed: re,
1021
1016
  curveBasisOpen: ae,
@@ -1026,94 +1021,94 @@ var st = c(), ct = {
1026
1021
  curveCardinalOpen: ue,
1027
1022
  curveCardinal: ce,
1028
1023
  curveCatmullRomClosed: me,
1029
- curveCatmullRomOpen: ge,
1024
+ curveCatmullRomOpen: he,
1030
1025
  curveCatmullRom: fe,
1031
1026
  curveLinear: u,
1032
- curveLinearClosed: ve,
1033
- curveMonotoneX: we,
1034
- curveMonotoneY: Te,
1035
- curveNatural: Oe,
1036
- curveStep: w,
1037
- curveStepAfter: ke,
1038
- curveStepBefore: T
1039
- }, lt = /\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, ut = /* @__PURE__ */ s(function(e, t) {
1040
- let r = dt(e, /(?:init\b)|(?:initialize\b)/), o = {};
1041
- if (Array.isArray(r)) {
1042
- let e = r.map((e) => e.args);
1043
- n(e), o = a(o, [...e]);
1044
- } else o = r.args;
1027
+ curveLinearClosed: _e,
1028
+ curveMonotoneX: Ce,
1029
+ curveMonotoneY: we,
1030
+ curveNatural: De,
1031
+ curveStep: T,
1032
+ curveStepAfter: D,
1033
+ curveStepBefore: E
1034
+ }, ct = /\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, lt = /* @__PURE__ */ a(function(t, i) {
1035
+ let a = ut(t, /(?:init\b)|(?:initialize\b)/), o = {};
1036
+ if (Array.isArray(a)) {
1037
+ let t = a.map((e) => e.args);
1038
+ e(t), o = r(o, [...t]);
1039
+ } else o = a.args;
1045
1040
  if (!o) return;
1046
- let s = i(e, t), c = "config";
1041
+ let s = n(t, i), c = "config";
1047
1042
  return o[c] !== void 0 && (s === "flowchart-v2" && (s = "flowchart"), o[s] = o[c], delete o[c]), o;
1048
- }, "detectInit"), dt = /* @__PURE__ */ s(function(t, n = null) {
1043
+ }, "detectInit"), ut = /* @__PURE__ */ a(function(e, n = null) {
1049
1044
  try {
1050
- let i = RegExp(`[%]{2}(?![{]${lt.source})(?=[}][%]{2}).*
1045
+ let r = RegExp(`[%]{2}(?![{]${ct.source})(?=[}][%]{2}).*
1051
1046
  `, "ig");
1052
- t = t.trim().replace(i, "").replace(/'/gm, "\""), e.debug(`Detecting diagram directive${n === null ? "" : " type:" + n} based on the text:${t}`);
1053
- let a, o = [];
1054
- for (; (a = r.exec(t)) !== null;) if (a.index === r.lastIndex && r.lastIndex++, a && !n || n && a[1]?.match(n) || n && a[2]?.match(n)) {
1055
- let e = a[1] ? a[1] : a[2], t = a[3] ? a[3].trim() : a[4] ? JSON.parse(a[4].trim()) : null;
1056
- o.push({
1047
+ e = e.trim().replace(r, "").replace(/'/gm, "\""), o.debug(`Detecting diagram directive${n === null ? "" : " type:" + n} based on the text:${e}`);
1048
+ let i, a = [];
1049
+ for (; (i = t.exec(e)) !== null;) if (i.index === t.lastIndex && t.lastIndex++, i && !n || n && i[1]?.match(n) || n && i[2]?.match(n)) {
1050
+ let e = i[1] ? i[1] : i[2], t = i[3] ? i[3].trim() : i[4] ? JSON.parse(i[4].trim()) : null;
1051
+ a.push({
1057
1052
  type: e,
1058
1053
  args: t
1059
1054
  });
1060
1055
  }
1061
- return o.length === 0 ? {
1062
- type: t,
1056
+ return a.length === 0 ? {
1057
+ type: e,
1063
1058
  args: null
1064
- } : o.length === 1 ? o[0] : o;
1065
- } catch (r) {
1066
- return e.error(`ERROR: ${r.message} - Unable to parse directive type: '${n}' based on the text: '${t}'`), {
1059
+ } : a.length === 1 ? a[0] : a;
1060
+ } catch (t) {
1061
+ return o.error(`ERROR: ${t.message} - Unable to parse directive type: '${n}' based on the text: '${e}'`), {
1067
1062
  type: void 0,
1068
1063
  args: null
1069
1064
  };
1070
1065
  }
1071
- }, "detectDirective"), ft = /* @__PURE__ */ s(function(e) {
1072
- return e.replace(r, "");
1073
- }, "removeDirectives"), pt = /* @__PURE__ */ s(function(e, t) {
1066
+ }, "detectDirective"), dt = /* @__PURE__ */ a(function(e) {
1067
+ return e.replace(t, "");
1068
+ }, "removeDirectives"), ft = /* @__PURE__ */ a(function(e, t) {
1074
1069
  for (let [n, r] of t.entries()) if (r.match(e)) return n;
1075
1070
  return -1;
1076
1071
  }, "isSubstringInArray");
1077
- function U(e, t) {
1078
- return e ? ct[`curve${e.charAt(0).toUpperCase() + e.slice(1)}`] ?? t : t;
1072
+ function W(e, t) {
1073
+ return e ? st[`curve${e.charAt(0).toUpperCase() + e.slice(1)}`] ?? t : t;
1079
1074
  }
1080
- s(U, "interpolateToCurve");
1081
- function mt(e, t) {
1075
+ a(W, "interpolateToCurve");
1076
+ function pt(e, t) {
1082
1077
  let n = e.trim();
1083
- if (n) return t.securityLevel === "loose" ? n : (0, st.sanitizeUrl)(n);
1078
+ if (n) return t.securityLevel === "loose" ? n : (0, ot.sanitizeUrl)(n);
1084
1079
  }
1085
- s(mt, "formatUrl");
1086
- var ht = /* @__PURE__ */ s((t, ...n) => {
1087
- let r = t.split("."), i = r.length - 1, a = r[i], o = window;
1088
- for (let n = 0; n < i; n++) if (o = o[r[n]], !o) {
1089
- e.error(`Function name: ${t} not found in window`);
1080
+ a(pt, "formatUrl");
1081
+ var mt = /* @__PURE__ */ a((e, ...t) => {
1082
+ let n = e.split("."), r = n.length - 1, i = n[r], a = window;
1083
+ for (let t = 0; t < r; t++) if (a = a[n[t]], !a) {
1084
+ o.error(`Function name: ${e} not found in window`);
1090
1085
  return;
1091
1086
  }
1092
- o[a](...n);
1087
+ a[i](...t);
1093
1088
  }, "runFunc");
1094
- function W(e, t) {
1089
+ function G(e, t) {
1095
1090
  return !e || !t ? 0 : Math.sqrt((t.x - e.x) ** 2 + (t.y - e.y) ** 2);
1096
1091
  }
1097
- s(W, "distance");
1098
- function gt(e) {
1092
+ a(G, "distance");
1093
+ function ht(e) {
1099
1094
  let t, n = 0;
1100
1095
  return e.forEach((e) => {
1101
- n += W(e, t), t = e;
1102
- }), G(e, n / 2);
1096
+ n += G(e, t), t = e;
1097
+ }), K(e, n / 2);
1103
1098
  }
1104
- s(gt, "traverseEdge");
1105
- function _t(e) {
1106
- return e.length === 1 ? e[0] : gt(e);
1099
+ a(ht, "traverseEdge");
1100
+ function gt(e) {
1101
+ return e.length === 1 ? e[0] : ht(e);
1107
1102
  }
1108
- s(_t, "calcLabelPosition");
1109
- var vt = /* @__PURE__ */ s((e, t = 2) => {
1103
+ a(gt, "calcLabelPosition");
1104
+ var _t = /* @__PURE__ */ a((e, t = 2) => {
1110
1105
  let n = 10 ** t;
1111
1106
  return Math.round(e * n) / n;
1112
- }, "roundNumber"), G = /* @__PURE__ */ s((e, t) => {
1107
+ }, "roundNumber"), K = /* @__PURE__ */ a((e, t) => {
1113
1108
  let n, r = t;
1114
1109
  for (let t of e) {
1115
1110
  if (n) {
1116
- let e = W(t, n);
1111
+ let e = G(t, n);
1117
1112
  if (e === 0) return n;
1118
1113
  if (e < r) r -= e;
1119
1114
  else {
@@ -1124,33 +1119,33 @@ var vt = /* @__PURE__ */ s((e, t = 2) => {
1124
1119
  y: t.y
1125
1120
  };
1126
1121
  if (i > 0 && i < 1) return {
1127
- x: vt((1 - i) * n.x + i * t.x, 5),
1128
- y: vt((1 - i) * n.y + i * t.y, 5)
1122
+ x: _t((1 - i) * n.x + i * t.x, 5),
1123
+ y: _t((1 - i) * n.y + i * t.y, 5)
1129
1124
  };
1130
1125
  }
1131
1126
  }
1132
1127
  n = t;
1133
1128
  }
1134
1129
  throw Error("Could not find a suitable point for the given distance");
1135
- }, "calculatePoint"), yt = /* @__PURE__ */ s((t, n, r) => {
1136
- e.info(`our points ${JSON.stringify(n)}`), n[0] !== r && (n = n.reverse());
1137
- let i = G(n, 25), a = t ? 10 : 5, o = Math.atan2(n[0].y - i.y, n[0].x - i.x), s = {
1130
+ }, "calculatePoint"), vt = /* @__PURE__ */ a((e, t, n) => {
1131
+ o.info(`our points ${JSON.stringify(t)}`), t[0] !== n && (t = t.reverse());
1132
+ let r = K(t, 25), i = e ? 10 : 5, a = Math.atan2(t[0].y - r.y, t[0].x - r.x), s = {
1138
1133
  x: 0,
1139
1134
  y: 0
1140
1135
  };
1141
- return s.x = Math.sin(o) * a + (n[0].x + i.x) / 2, s.y = -Math.cos(o) * a + (n[0].y + i.y) / 2, s;
1136
+ return s.x = Math.sin(a) * i + (t[0].x + r.x) / 2, s.y = -Math.cos(a) * i + (t[0].y + r.y) / 2, s;
1142
1137
  }, "calcCardinalityPosition");
1143
- function bt(t, n, r) {
1144
- let i = structuredClone(r);
1145
- e.info("our points", i), n !== "start_left" && n !== "start_right" && i.reverse();
1146
- let a = G(i, 25 + t), o = 10 + t * .5, s = Math.atan2(i[0].y - a.y, i[0].x - a.x), c = {
1138
+ function yt(e, t, n) {
1139
+ let r = structuredClone(n);
1140
+ o.info("our points", r), t !== "start_left" && t !== "start_right" && r.reverse();
1141
+ let i = K(r, 25 + e), a = 10 + e * .5, s = Math.atan2(r[0].y - i.y, r[0].x - i.x), c = {
1147
1142
  x: 0,
1148
1143
  y: 0
1149
1144
  };
1150
- return n === "start_left" ? (c.x = Math.sin(s + Math.PI) * o + (i[0].x + a.x) / 2, c.y = -Math.cos(s + Math.PI) * o + (i[0].y + a.y) / 2) : n === "end_right" ? (c.x = Math.sin(s - Math.PI) * o + (i[0].x + a.x) / 2 - 5, c.y = -Math.cos(s - Math.PI) * o + (i[0].y + a.y) / 2 - 5) : n === "end_left" ? (c.x = Math.sin(s) * o + (i[0].x + a.x) / 2 - 5, c.y = -Math.cos(s) * o + (i[0].y + a.y) / 2 - 5) : (c.x = Math.sin(s) * o + (i[0].x + a.x) / 2, c.y = -Math.cos(s) * o + (i[0].y + a.y) / 2), c;
1145
+ return t === "start_left" ? (c.x = Math.sin(s + Math.PI) * a + (r[0].x + i.x) / 2, c.y = -Math.cos(s + Math.PI) * a + (r[0].y + i.y) / 2) : t === "end_right" ? (c.x = Math.sin(s - Math.PI) * a + (r[0].x + i.x) / 2, c.y = -Math.cos(s - Math.PI) * a + (r[0].y + i.y) / 2) : (c.x = Math.sin(s) * a + (r[0].x + i.x) / 2, c.y = -Math.cos(s) * a + (r[0].y + i.y) / 2), c;
1151
1146
  }
1152
- s(bt, "calcTerminalLabelPosition");
1153
- function K(e) {
1147
+ a(yt, "calcTerminalLabelPosition");
1148
+ function q(e) {
1154
1149
  let t = "", n = "";
1155
1150
  for (let r of e) r !== void 0 && (r.startsWith("color:") || r.startsWith("text-align:") ? n = n + r + ";" : t = t + r + ";");
1156
1151
  return {
@@ -1158,15 +1153,15 @@ function K(e) {
1158
1153
  labelStyle: n
1159
1154
  };
1160
1155
  }
1161
- s(K, "getStylesFromArray");
1162
- var xt = 0, St = /* @__PURE__ */ s(() => (xt++, "id-" + Math.random().toString(36).substr(2, 12) + "-" + xt), "generateId");
1163
- function Ct(e) {
1156
+ a(q, "getStylesFromArray");
1157
+ var bt = 0, xt = /* @__PURE__ */ a(() => (bt++, "id-" + Math.random().toString(36).substr(2, 12) + "-" + bt), "generateId");
1158
+ function St(e) {
1164
1159
  let t = "";
1165
1160
  for (let n = 0; n < e; n++) t += "0123456789abcdef".charAt(Math.floor(Math.random() * 16));
1166
1161
  return t;
1167
1162
  }
1168
- s(Ct, "makeRandomHex");
1169
- var wt = /* @__PURE__ */ s((e) => Ct(e.length), "random"), Tt = /* @__PURE__ */ s(function() {
1163
+ a(St, "makeRandomHex");
1164
+ var Ct = /* @__PURE__ */ a((e) => St(e.length), "random"), wt = /* @__PURE__ */ a(function() {
1170
1165
  return {
1171
1166
  x: 0,
1172
1167
  y: 0,
@@ -1181,28 +1176,28 @@ var wt = /* @__PURE__ */ s((e) => Ct(e.length), "random"), Tt = /* @__PURE__ */
1181
1176
  valign: void 0,
1182
1177
  text: ""
1183
1178
  };
1184
- }, "getTextObj"), Et = /* @__PURE__ */ s(function(e, t) {
1185
- let n = t.text.replace(o.lineBreakRegex, " "), [, r] = Z(t.fontSize), i = e.append("text");
1186
- i.attr("x", t.x), i.attr("y", t.y), i.style("text-anchor", t.anchor), i.style("font-family", t.fontFamily), i.style("font-size", r), i.style("font-weight", t.fontWeight), i.attr("fill", t.fill), t.class !== void 0 && i.attr("class", t.class);
1187
- let a = i.append("tspan");
1188
- return a.attr("x", t.x + t.textMargin * 2), a.attr("fill", t.fill), a.text(n), i;
1189
- }, "drawSimpleText"), Dt = z((e, t, n) => {
1179
+ }, "getTextObj"), Tt = /* @__PURE__ */ a(function(e, t) {
1180
+ let n = t.text.replace(i.lineBreakRegex, " "), [, r] = Q(t.fontSize), a = e.append("text");
1181
+ a.attr("x", t.x), a.attr("y", t.y), a.style("text-anchor", t.anchor), a.style("font-family", t.fontFamily), a.style("font-size", r), a.style("font-weight", t.fontWeight), a.attr("fill", t.fill), t.class !== void 0 && a.attr("class", t.class);
1182
+ let o = a.append("tspan");
1183
+ return o.attr("x", t.x + t.textMargin * 2), o.attr("fill", t.fill), o.text(n), a;
1184
+ }, "drawSimpleText"), Et = H((e, t, n) => {
1190
1185
  if (!e || (n = Object.assign({
1191
1186
  fontSize: 12,
1192
1187
  fontWeight: 400,
1193
1188
  fontFamily: "Arial",
1194
1189
  joinWith: "<br/>"
1195
- }, n), o.lineBreakRegex.test(e))) return e;
1196
- let r = e.split(" ").filter(Boolean), i = [], a = "";
1197
- return r.forEach((e, o) => {
1198
- let s = J(`${e} `, n), c = J(a, n);
1190
+ }, n), i.hasBreaks(e))) return e;
1191
+ let r = e.split(" ").filter(Boolean), a = [], o = "";
1192
+ return r.forEach((e, i) => {
1193
+ let s = Y(`${e} `, n), c = Y(o, n);
1199
1194
  if (s > t) {
1200
- let { hyphenatedStrings: r, remainingWord: o } = Ot(e, t, "-", n);
1201
- i.push(a, ...r), a = o;
1202
- } else c + s >= t ? (i.push(a), a = e) : a = [a, e].filter(Boolean).join(" ");
1203
- o + 1 === r.length && i.push(a);
1204
- }), i.filter((e) => e !== "").join(n.joinWith);
1205
- }, (e, t, n) => `${e}${t}${n.fontSize}${n.fontWeight}${n.fontFamily}${n.joinWith}`), Ot = z((e, t, n = "-", r) => {
1195
+ let { hyphenatedStrings: r, remainingWord: i } = Dt(e, t, "-", n);
1196
+ a.push(o, ...r), o = i;
1197
+ } else c + s >= t ? (a.push(o), o = e) : o = [o, e].filter(Boolean).join(" ");
1198
+ i + 1 === r.length && a.push(o);
1199
+ }), a.filter((e) => e !== "").join(n.joinWith);
1200
+ }, (e, t, n) => `${e}${t}${n.fontSize}${n.fontWeight}${n.fontFamily}${n.joinWith}`), Dt = H((e, t, n = "-", r) => {
1206
1201
  r = Object.assign({
1207
1202
  fontSize: 12,
1208
1203
  fontWeight: 400,
@@ -1212,7 +1207,7 @@ var wt = /* @__PURE__ */ s((e) => Ct(e.length), "random"), Tt = /* @__PURE__ */
1212
1207
  let i = [...e], a = [], o = "";
1213
1208
  return i.forEach((e, s) => {
1214
1209
  let c = `${o}${e}`;
1215
- if (J(c, r) >= t) {
1210
+ if (Y(c, r) >= t) {
1216
1211
  let e = s + 1, t = i.length === e, r = `${c}${n}`;
1217
1212
  a.push(t ? c : r), o = "";
1218
1213
  } else o = c;
@@ -1221,21 +1216,21 @@ var wt = /* @__PURE__ */ s((e) => Ct(e.length), "random"), Tt = /* @__PURE__ */
1221
1216
  remainingWord: o
1222
1217
  };
1223
1218
  }, (e, t, n = "-", r) => `${e}${t}${n}${r.fontSize}${r.fontWeight}${r.fontFamily}`);
1224
- function q(e, t) {
1225
- return Y(e, t).height;
1226
- }
1227
- s(q, "calculateTextHeight");
1228
1219
  function J(e, t) {
1229
- return Y(e, t).width;
1220
+ return X(e, t).height;
1221
+ }
1222
+ a(J, "calculateTextHeight");
1223
+ function Y(e, t) {
1224
+ return X(e, t).width;
1230
1225
  }
1231
- s(J, "calculateTextWidth");
1232
- var Y = z((e, n) => {
1233
- let { fontSize: r = 12, fontFamily: i = "Arial", fontWeight: a = 400 } = n;
1226
+ a(Y, "calculateTextWidth");
1227
+ var X = H((e, t) => {
1228
+ let { fontSize: n = 12, fontFamily: r = "Arial", fontWeight: a = 400 } = t;
1234
1229
  if (!e) return {
1235
1230
  width: 0,
1236
1231
  height: 0
1237
1232
  };
1238
- let [, s] = Z(r), c = ["sans-serif", i], l = e.split(o.lineBreakRegex), u = [], d = t("body");
1233
+ let [, o] = Q(n), c = ["sans-serif", r], l = e.split(i.lineBreakRegex), u = [], d = s("body");
1239
1234
  if (!d.remove) return {
1240
1235
  width: 0,
1241
1236
  height: 0,
@@ -1249,67 +1244,71 @@ var Y = z((e, n) => {
1249
1244
  lineHeight: 0
1250
1245
  };
1251
1246
  for (let r of l) {
1252
- let i = Tt();
1247
+ let i = wt();
1253
1248
  i.text = r || "​";
1254
- let o = Et(f, i).style("font-size", s).style("font-weight", a).style("font-family", e), c = (o._groups || o)[0][0].getBBox();
1249
+ let s = Tt(f, i).style("font-size", o).style("font-weight", a).style("font-family", e), c = (s._groups || s)[0][0].getBBox();
1255
1250
  if (c.width === 0 && c.height === 0) throw Error("svg element not in render tree");
1256
1251
  n.width = Math.round(Math.max(n.width, c.width)), t = Math.round(c.height), n.height += t, n.lineHeight = Math.round(Math.max(n.lineHeight, t));
1257
1252
  }
1258
1253
  u.push(n);
1259
1254
  }
1260
1255
  return f.remove(), u[isNaN(u[1].height) || isNaN(u[1].width) || isNaN(u[1].lineHeight) || u[0].height > u[1].height && u[0].width > u[1].width && u[0].lineHeight > u[1].lineHeight ? 0 : 1];
1261
- }, (e, t) => `${e}${t.fontSize}${t.fontWeight}${t.fontFamily}`), kt = class {
1256
+ }, (e, t) => `${e}${t.fontSize}${t.fontWeight}${t.fontFamily}`), Ot = class {
1262
1257
  constructor(e = !1, t) {
1263
1258
  this.count = 0, this.count = t ? t.length : 0, this.next = e ? () => this.count++ : () => Date.now();
1264
1259
  }
1265
1260
  static {
1266
- s(this, "InitIDGenerator");
1261
+ a(this, "InitIDGenerator");
1267
1262
  }
1268
- }, X, At = /* @__PURE__ */ s(function(e) {
1269
- return X ||= document.createElement("div"), e = escape(e).replace(/%26/g, "&").replace(/%23/g, "#").replace(/%3B/g, ";"), X.innerHTML = e, unescape(X.textContent);
1263
+ }, Z, kt = /* @__PURE__ */ a(function(e) {
1264
+ return Z ||= document.createElement("div"), e = escape(e).replace(/%26/g, "&").replace(/%23/g, "#").replace(/%3B/g, ";"), Z.innerHTML = e, unescape(Z.textContent);
1270
1265
  }, "entityDecode");
1271
- function jt(e) {
1266
+ function At(e) {
1272
1267
  return "str" in e;
1273
1268
  }
1274
- s(jt, "isDetailedError");
1275
- var Mt = /* @__PURE__ */ s((e, t, n, r) => {
1269
+ a(At, "isDetailedError");
1270
+ function jt(e) {
1271
+ return e instanceof Error ? e.message : String(e);
1272
+ }
1273
+ a(jt, "getErrorMessage");
1274
+ var Mt = /* @__PURE__ */ a((e, t, n, r) => {
1276
1275
  if (!r) return;
1277
1276
  let i = e.node()?.getBBox();
1278
1277
  i && e.append("text").text(r).attr("text-anchor", "middle").attr("x", i.x + i.width / 2).attr("y", -n).attr("class", t);
1279
- }, "insertTitle"), Z = /* @__PURE__ */ s((e) => {
1278
+ }, "insertTitle"), Q = /* @__PURE__ */ a((e) => {
1280
1279
  if (typeof e == "number") return [e, e + "px"];
1281
1280
  let t = parseInt(e ?? "", 10);
1282
1281
  return Number.isNaN(t) ? [void 0, void 0] : e === String(t) ? [t, e + "px"] : [t, e];
1283
1282
  }, "parseFontSize");
1284
- function Q(e, t) {
1285
- return ot({}, e, t);
1283
+ function $(e, t) {
1284
+ return at({}, e, t);
1286
1285
  }
1287
- s(Q, "cleanAndMerge");
1286
+ a($, "cleanAndMerge");
1288
1287
  var Nt = {
1289
- assignWithDepth: a,
1290
- wrapLabel: Dt,
1291
- calculateTextHeight: q,
1292
- calculateTextWidth: J,
1293
- calculateTextDimensions: Y,
1294
- cleanAndMerge: Q,
1295
- detectInit: ut,
1296
- detectDirective: dt,
1297
- isSubstringInArray: pt,
1298
- interpolateToCurve: U,
1299
- calcLabelPosition: _t,
1300
- calcCardinalityPosition: yt,
1301
- calcTerminalLabelPosition: bt,
1302
- formatUrl: mt,
1303
- getStylesFromArray: K,
1304
- generateId: St,
1305
- random: wt,
1306
- runFunc: ht,
1307
- entityDecode: At,
1288
+ assignWithDepth: r,
1289
+ wrapLabel: Et,
1290
+ calculateTextHeight: J,
1291
+ calculateTextWidth: Y,
1292
+ calculateTextDimensions: X,
1293
+ cleanAndMerge: $,
1294
+ detectInit: lt,
1295
+ detectDirective: ut,
1296
+ isSubstringInArray: ft,
1297
+ interpolateToCurve: W,
1298
+ calcLabelPosition: gt,
1299
+ calcCardinalityPosition: vt,
1300
+ calcTerminalLabelPosition: yt,
1301
+ formatUrl: pt,
1302
+ getStylesFromArray: q,
1303
+ generateId: xt,
1304
+ random: Ct,
1305
+ runFunc: mt,
1306
+ entityDecode: kt,
1308
1307
  insertTitle: Mt,
1309
- isLabelCoordinateInPath: $,
1310
- parseFontSize: Z,
1311
- InitIDGenerator: kt
1312
- }, Pt = /* @__PURE__ */ s(function(e) {
1308
+ isLabelCoordinateInPath: Rt,
1309
+ parseFontSize: Q,
1310
+ InitIDGenerator: Ot
1311
+ }, Pt = /* @__PURE__ */ a(function(e) {
1313
1312
  let t = e;
1314
1313
  return t = t.replace(/style.*:\S*#.*;/g, function(e) {
1315
1314
  return e.substring(0, e.length - 1);
@@ -1319,17 +1318,17 @@ var Nt = {
1319
1318
  let t = e.substring(1, e.length - 1);
1320
1319
  return /^\+?\d+$/.test(t) ? "fl°°" + t + "¶ß" : "fl°" + t + "¶ß";
1321
1320
  }), t;
1322
- }, "encodeEntities"), Ft = /* @__PURE__ */ s(function(e) {
1321
+ }, "encodeEntities"), Ft = /* @__PURE__ */ a(function(e) {
1323
1322
  return e.replace(/fl°°/g, "&#").replace(/fl°/g, "&").replace(/¶ß/g, ";");
1324
- }, "decodeEntities"), It = /* @__PURE__ */ s((e, t, { counter: n = 0, prefix: r, suffix: i }, a) => a || `${r ? `${r}_` : ""}${e}_${t}_${n}${i ? `_${i}` : ""}`, "getEdgeId");
1323
+ }, "decodeEntities"), It = /* @__PURE__ */ a((e, t, { counter: n = 0, prefix: r, suffix: i }, a) => a || `${r ? `${r}_` : ""}${e}_${t}_${n}${i ? `_${i}` : ""}`, "getEdgeId");
1325
1324
  function Lt(e) {
1326
1325
  return e ?? null;
1327
1326
  }
1328
- s(Lt, "handleUndefinedAttr");
1329
- function $(e, t) {
1327
+ a(Lt, "handleUndefinedAttr");
1328
+ function Rt(e, t) {
1330
1329
  let n = Math.round(e.x), r = Math.round(e.y), i = t.replace(/(\d+\.\d+)/g, (e) => Math.round(parseFloat(e)).toString());
1331
1330
  return i.includes(n.toString()) || i.includes(r.toString());
1332
1331
  }
1333
- s($, "isLabelCoordinateInPath");
1332
+ a(Rt, "isLabelCoordinateInPath");
1334
1333
  //#endregion
1335
- export { ce as $, Je as A, Ke as B, ze as C, Ye as D, Ie as E, Pe as F, je as G, We as H, Re as I, w as J, ke as K, O as L, Le as M, k as N, Xe as O, Ve as P, fe as Q, Fe as R, Be as S, He as T, D as U, Ue as V, E as W, we as X, Oe as Y, Te as Z, Dt as _, Ft as a, N as b, It as c, U as d, te as et, jt as f, Nt as g, ft as h, Q as i, qe as j, M as k, K as l, wt as m, q as n, ee as nt, Pt as o, Z as p, T as q, J as r, u as rt, St as s, Y as t, f as tt, Lt as u, B as v, A as w, j as x, L as y, Ge as z };
1334
+ export { fe as $, Ke as A, A as B, P as C, M as D, Fe as E, Ne as F, Be as G, Ve as H, j as I, E as J, k as K, Le as L, We as M, Ge as N, Re as O, Ue as P, we as Q, Ae as R, Xe as S, Ie as T, He as U, je as V, ze as W, De as X, T as Y, Ce as Z, Nt as _, Ft as a, z as b, It as c, Lt as d, ce as et, W as f, dt as g, Ct as h, $ as i, u as it, qe as j, Me as k, jt as l, Q as m, J as n, f as nt, Pt as o, At as p, D as q, Y as r, ee as rt, xt as s, X as t, te as tt, q as u, Et as v, N as w, F as x, V as y, Pe as z };