@sme.up/ketchup2 2.7.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 (288) hide show
  1. package/dist/abnfDiagram-VCTEODGH-DwAVRNNu.js +89 -0
  2. package/dist/{arc-CVbkjF8U.js → arc-DXfwi1YX.js} +8 -6
  3. package/dist/architecture-7GRP2DOG-BsytjMto.js +3 -0
  4. package/dist/{architectureDiagram-3BPJPVTR-B6VZAtZU.js → architectureDiagram-5GKGNRK7-N1aPr2hw.js} +636 -540
  5. package/dist/assets/svg/functions.svg +1 -0
  6. package/dist/basic-components/autocomplete/autocomplete.d.ts.map +1 -1
  7. package/dist/basic-components/button-list/button-list-types.d.ts +2 -1
  8. package/dist/basic-components/button-list/button-list-types.d.ts.map +1 -1
  9. package/dist/basic-components/button-list/button-list.d.ts.map +1 -1
  10. package/dist/basic-components/cell/cell-types.d.ts +5 -0
  11. package/dist/basic-components/cell/cell-types.d.ts.map +1 -1
  12. package/dist/basic-components/cell/cell.d.ts.map +1 -1
  13. package/dist/basic-components/checkbox/checkbox-types.d.ts +5 -0
  14. package/dist/basic-components/checkbox/checkbox-types.d.ts.map +1 -1
  15. package/dist/basic-components/chips/chips-types.d.ts +15 -1
  16. package/dist/basic-components/chips/chips-types.d.ts.map +1 -1
  17. package/dist/basic-components/chips/chips.d.ts.map +1 -1
  18. package/dist/basic-components/chips-input/chips-input-types.d.ts +5 -0
  19. package/dist/basic-components/chips-input/chips-input-types.d.ts.map +1 -1
  20. package/dist/basic-components/chips-input/chips-input.d.ts.map +1 -1
  21. package/dist/basic-components/file-upload/file-upload-hook.d.ts.map +1 -1
  22. package/dist/basic-components/list/list.d.ts.map +1 -1
  23. package/dist/basic-components/multiple-autocomplete/multiple-autocomplete-types.d.ts +5 -0
  24. package/dist/basic-components/multiple-autocomplete/multiple-autocomplete-types.d.ts.map +1 -1
  25. package/dist/basic-components/multiple-autocomplete/multiple-autocomplete.d.ts.map +1 -1
  26. package/dist/basic-components/multiple-select/multiple-select-types.d.ts +5 -0
  27. package/dist/basic-components/multiple-select/multiple-select-types.d.ts.map +1 -1
  28. package/dist/basic-components/multiple-select/multiple-select.d.ts.map +1 -1
  29. package/dist/basic-components/select/select.d.ts.map +1 -1
  30. package/dist/blockDiagram-I7D4REHJ-Cu18ws5-.js +1922 -0
  31. package/dist/{c4Diagram-AAUBKEIU-CdT8VCbo.js → c4Diagram-7LVT6UL2-B-uBy_NE.js} +899 -850
  32. package/dist/{channel-C-LAmObA.js → channel-CuEby436.js} +1 -1
  33. package/dist/chunk-2E4U76K2-ComA5SPA.js +348 -0
  34. package/dist/{chunk-QZHKN3VN-lYfzaOt9.js → chunk-2Q5K7J3B-kzxEEeTu.js} +2 -2
  35. package/dist/{chunk-3OPIFGDE-Bs2mXISw.js → chunk-4HAMMTFA-CZgIgrp_.js} +1667 -1145
  36. package/dist/{chunk-FMBD7UC4-BURT0llY.js → chunk-5VM5RSS4-Cr17nBXp.js} +2 -2
  37. package/dist/{chunk-5ZQYHXKU-B_nOC8-n.js → chunk-75Z2AOVW-Drsj7a97.js} +106 -136
  38. package/dist/chunk-CLGD4ZFX-CLGio9rD.js +14 -0
  39. package/dist/{chunk-CSCIHK7Q-BEk3YcEH.js → chunk-DU6HZSFF-waeanndy.js} +1005 -768
  40. package/dist/{chunk-ND2GUHAM-Ca12h-m9.js → chunk-F27PBJKO-jIrOJO87.js} +18 -17
  41. package/dist/{chunk-NNHCCRGN-BB1q5NkR.js → chunk-FOHPRMQF-LRqOLsSw.js} +5518 -4708
  42. package/dist/{chunk-O5CBEL6O-DbWeP4Au.js → chunk-GMAD6QVW-D80II4AD.js} +486 -520
  43. package/dist/chunk-GVQU2GXP-DP3t_9Rl.js +37 -0
  44. package/dist/{chunk-AQP2D5EJ-vJ_pitKp.js → chunk-IMKFNOWR-8ItzAAcf.js} +336 -318
  45. package/dist/{chunk-4BX2VUAB-zglw1T4d.js → chunk-JWPE2WC7-Ccb0QaC8.js} +2 -2
  46. package/dist/chunk-L3NEJ4N5-qPot4t6M.js +245 -0
  47. package/dist/chunk-LNGE3PJU-CtYcu9x8.js +1521 -0
  48. package/dist/{chunk-KSCS5N6A-BemQomLE.js → chunk-OSK3NFVY-CQhPF3Mc.js} +310 -198
  49. package/dist/chunk-P2QGCYS3-BUeNZ170.js +67 -0
  50. package/dist/chunk-POPQ4Y6H-CU9oz17Z.js +26 -0
  51. package/dist/chunk-PWAF6VOD-D37VoZ8H.js +275 -0
  52. package/dist/{flowDiagram-I6XJVG4X-DnsxKD0w.js → chunk-SHT3W25Y-Cri27Jke.js} +581 -543
  53. package/dist/chunk-SVP7TREG-CyJlOPau.js +490 -0
  54. package/dist/{chunk-727SXJPM-CDeV7mmg.js → chunk-TICWLB2K-Cw2iT_VD.js} +191 -185
  55. package/dist/{chunk-LZXEDZCA-J9irjuVP.js → chunk-TLUHSLCS-BdsLNXjt.js} +35 -25
  56. package/dist/chunk-XXDRQBXY-C1ZEFXGu.js +9 -0
  57. package/dist/chunk-Y2CYZVJY-i11wjrBe.js +12 -0
  58. package/dist/classDiagram-ZZMXUADV-L32jCfMj.js +30 -0
  59. package/dist/classDiagram-v2-VYDZK3BY-BsnrDCgX.js +30 -0
  60. package/dist/components/activity-timeline/activity-timeline-types.d.ts +46 -0
  61. package/dist/components/activity-timeline/activity-timeline-types.d.ts.map +1 -0
  62. package/dist/components/activity-timeline/activity-timeline.d.ts +4 -0
  63. package/dist/components/activity-timeline/activity-timeline.d.ts.map +1 -0
  64. package/dist/components/app-bar/app-bar.d.ts.map +1 -1
  65. package/dist/components/breadcrumbs/breadcrumbs.d.ts.map +1 -1
  66. package/dist/components/chat/chat.d.ts.map +1 -1
  67. package/dist/components/data-table/assets/data-table-row-actions-collapsed.d.ts +12 -0
  68. package/dist/components/data-table/assets/data-table-row-actions-collapsed.d.ts.map +1 -0
  69. package/dist/components/data-table/assets/data-table-row-actions.d.ts +11 -0
  70. package/dist/components/data-table/assets/data-table-row-actions.d.ts.map +1 -0
  71. package/dist/components/data-table/data-table-types.d.ts +52 -1
  72. package/dist/components/data-table/data-table-types.d.ts.map +1 -1
  73. package/dist/components/data-table/data-table.d.ts.map +1 -1
  74. package/dist/components/data-table/header/Header.d.ts.map +1 -1
  75. package/dist/components/data-table/header/header-types.d.ts +7 -1
  76. package/dist/components/data-table/header/header-types.d.ts.map +1 -1
  77. package/dist/components/echarts/echarts-graph.d.ts.map +1 -1
  78. package/dist/components/scaffold/context/scaffold-provider.d.ts.map +1 -1
  79. package/dist/components/tab-bar/tab-bar-assets.d.ts +1 -0
  80. package/dist/components/tab-bar/tab-bar-assets.d.ts.map +1 -1
  81. package/dist/components/tab-bar/tab-bar.d.ts.map +1 -1
  82. package/dist/components/tooltip/tooltip.d.ts.map +1 -1
  83. package/dist/components/workflow-designer/workflow-designer-metadata-panel.d.ts +14 -0
  84. package/dist/components/workflow-designer/workflow-designer-metadata-panel.d.ts.map +1 -0
  85. package/dist/components/workflow-designer/workflow-designer-types.d.ts +40 -7
  86. package/dist/components/workflow-designer/workflow-designer-types.d.ts.map +1 -1
  87. package/dist/components/workflow-designer/workflow-designer-utils.d.ts +80 -1
  88. package/dist/components/workflow-designer/workflow-designer-utils.d.ts.map +1 -1
  89. package/dist/components/workflow-designer/workflow-designer-utils.test.d.ts +2 -0
  90. package/dist/components/workflow-designer/workflow-designer-utils.test.d.ts.map +1 -0
  91. package/dist/components/workflow-designer/workflow-designer.d.ts +4 -3
  92. package/dist/components/workflow-designer/workflow-designer.d.ts.map +1 -1
  93. package/dist/{cose-bilkent-S5V4N54A-BhA3VnPW.js → cose-bilkent-JH36ORCC-Qs_Z6zBZ.js} +87 -83
  94. package/dist/cynefin-OW5HDTMX-BJXlKro0.js +3 -0
  95. package/dist/cynefinDiagram-5FMLGOSQ-3Ha1hdlV.js +355 -0
  96. package/dist/{cytoscape.esm-BU21wl3m.js → cytoscape.esm-C5TvPYYm.js} +2749 -2701
  97. package/dist/{dagre-3-RnF0EK.js → dagre-D5csT9sx.js} +144 -146
  98. package/dist/dagre-GXQ25YYZ-Bg7xf6xn.js +425 -0
  99. package/dist/{defaultLocale-DnzPsei5.js → defaultLocale-N-0uLSyg.js} +1 -4
  100. package/dist/diagram-S7CK7UJ4-BuDHTdHA.js +301 -0
  101. package/dist/{diagram-2AECGRRQ-23vM90dy.js → diagram-UQ7AKVKN-uvzJGj43.js} +82 -81
  102. package/dist/{diagram-KO2AKTUF-BEnEQF6b.js → diagram-VSXAHHWV-CrQQCs-B.js} +66 -65
  103. package/dist/{diagram-OG6HWLK6-Cfbv6mIH.js → diagram-VX7I27RA-BNmG1sig.js} +92 -89
  104. package/dist/{diagram-LMA3HP47-OWxAHrmz.js → diagram-Z3DM3KII-B6BrLhP0.js} +21 -20
  105. package/dist/{dist-Btd8EZyy.js → dist-CsrMlyO_.js} +2 -3
  106. package/dist/ebnfDiagram-PWID7BFC-DMx8xAFO.js +100 -0
  107. package/dist/erDiagram-RLTQ6QDP-bkJ9nzVK.js +1966 -0
  108. package/dist/eventmodeling-NTZA5JFV-Cj-VH7yh.js +3 -0
  109. package/dist/flowDiagram-HODETNUW-BIvD7-ts.js +17 -0
  110. package/dist/functional-components/multiple-field/multiple-field-types.d.ts +2 -0
  111. package/dist/functional-components/multiple-field/multiple-field-types.d.ts.map +1 -1
  112. package/dist/functional-components/multiple-field/multiple-field.d.ts.map +1 -1
  113. package/dist/functional-components/row/row-types.d.ts +5 -0
  114. package/dist/functional-components/row/row-types.d.ts.map +1 -1
  115. package/dist/functional-components/row/row.d.ts.map +1 -1
  116. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts +3 -1
  117. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts.map +1 -1
  118. package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts.map +1 -1
  119. package/dist/functional-components/tree-picker/tree-picker-types.d.ts +42 -0
  120. package/dist/functional-components/tree-picker/tree-picker-types.d.ts.map +1 -0
  121. package/dist/functional-components/tree-picker/tree-picker.d.ts +3 -0
  122. package/dist/functional-components/tree-picker/tree-picker.d.ts.map +1 -0
  123. package/dist/{ganttDiagram-6RSMTGT7-CwbJqdwB.js → ganttDiagram-EL5Y4UJY-CL-ywzz_.js} +703 -710
  124. package/dist/gitGraph-4MIJSDKK-C9JGDovl.js +3 -0
  125. package/dist/{gitGraphDiagram-PVQCEYII-mL2WiT98.js → gitGraphDiagram-WWUBYQGX-aXhNDG6P.js} +156 -151
  126. package/dist/{graphlib-VMWSbyYi.js → graphlib-XW-Jr8pF.js} +5 -5
  127. package/dist/index.d.ts +4 -1
  128. package/dist/index.d.ts.map +1 -1
  129. package/dist/info-A6RAGUB7-CmZJKEaW.js +3 -0
  130. package/dist/infoDiagram-27XIBGKW-Je4heBlk.js +20 -0
  131. package/dist/{init-MwSGRDIl.js → init-CsQUQz36.js} +1 -3
  132. package/dist/{ishikawaDiagram-YF4QCWOH-DGOgWzve.js → ishikawaDiagram-5VMMS53U-DK7HlH95.js} +142 -141
  133. package/dist/{journeyDiagram-JHISSGLW-CHVTMdrq.js → journeyDiagram-3NMN7TZE-CpuYEKcB.js} +192 -191
  134. package/dist/{kanban-definition-UN3LZRKU-upKA3b5x.js → kanban-definition-UXKFOSKX-aK8uKmyY.js} +149 -146
  135. package/dist/{katex-D-2KeLwt.js → katex-CT2p8LXT.js} +1627 -1650
  136. package/dist/ketchup2.css +1 -1
  137. package/dist/ketchup2.es.js +34744 -32755
  138. package/dist/{line-DIhSUgmA.js → line-DTqYMLoX.js} +2 -2
  139. package/dist/{linear-DUAteVwl.js → linear-CXc5xaa6.js} +8 -9
  140. package/dist/locale/en/translation.json.d.ts +16 -0
  141. package/dist/locale/it/translation.json.d.ts +16 -0
  142. package/dist/mermaid-parser.core-BwVmI_Rq.js +638 -0
  143. package/dist/{mindmap-definition-RKZ34NQL-C3YkCJDi.js → mindmap-definition-YA3MSWOX-ZMYcmi9J.js} +170 -170
  144. package/dist/{ordinal-D_ZgubzR.js → ordinal-BubEveRk.js} +1 -1
  145. package/dist/packet-AYTQ26CC-B3tgRshR.js +3 -0
  146. package/dist/{path-DGNPZRdx.js → path-CnWkkRiY.js} +10 -11
  147. package/dist/pegDiagram-XKGWAZYB-DsfILwZN.js +94 -0
  148. package/dist/pie-WAS4IAKB-BRiI8kbI.js +3 -0
  149. package/dist/pieDiagram-E7YTZNPT-DcSLcLdd.js +203 -0
  150. package/dist/{quadrantDiagram-W4KKPZXB-C2oA-eGZ.js → quadrantDiagram-AXDQQJYC-DSx3teop.js} +300 -300
  151. package/dist/radar-RG4KPBEZ-ASOMQXFw.js +3 -0
  152. package/dist/railroad-74A4TZTK-oS840SLr.js +3 -0
  153. package/dist/railroad-abnf-HS5TGJTU-nnQAkZY2.js +3 -0
  154. package/dist/railroad-ebnf-LZEXJU2U-DBQIOba3.js +3 -0
  155. package/dist/railroad-peg-WCYAUIDC-fBPN2TVb.js +3 -0
  156. package/dist/railroadDiagram-O6MQD6OU-jOZRtNDi.js +76 -0
  157. package/dist/{requirementDiagram-4Y6WPE33-BEGryahw.js → requirementDiagram-BXWQKSXE-D14hkkez.js} +176 -173
  158. package/dist/{rough.esm-rcMoXTJj.js → rough.esm-DXYGHN3m.js} +60 -51
  159. package/dist/{sankeyDiagram-5OEKKPKP-VPzKV4zM.js → sankeyDiagram-P5KCCOFB-C0jmknYo.js} +123 -120
  160. package/dist/{sequenceDiagram-3UESZ5HK-Bc30_Cm2.js → sequenceDiagram-WJ2MYXX4-C00egnMz.js} +714 -722
  161. package/dist/sizeCapture-INFHLROL-CHXIsPO_.js +46 -0
  162. package/dist/{src-DjDATEq3.js → src-DQoflmwT.js} +499 -509
  163. package/dist/stateDiagram-D77RDMKH-YfzmviNY.js +220 -0
  164. package/dist/stateDiagram-v2-MP3YSRHH-B6Hzx8T0.js +30 -0
  165. package/dist/swimlanes-42K2YHIH-CJcMmxXf.js +4979 -0
  166. package/dist/swimlanesDiagram-VR7AAH4N-DirvhGBA.js +31 -0
  167. package/dist/{timeline-definition-PNZ67QCA-1z911Ume.js → timeline-definition-24CTP7MA-D2xfYuSV.js} +220 -219
  168. package/dist/treeView-Q6P3EWNA-BmvB2b-_.js +3 -0
  169. package/dist/treemap-WGGIJYW6-Cjjk75wA.js +3 -0
  170. package/dist/types/translation.d.ts +17 -1
  171. package/dist/types/translation.d.ts.map +1 -1
  172. package/dist/utils/data-structures.d.ts +2 -1
  173. package/dist/utils/data-structures.d.ts.map +1 -1
  174. package/dist/{v4-BK7K-jy_.js → v4-DIjJgmR0.js} +1 -1
  175. package/dist/{vennDiagram-CIIHVFJN-BiLcQ0SR.js → vennDiagram-4TSXK5OY-C4XLgus_.js} +332 -310
  176. package/dist/wardley-WFR3VGLG-BamDiE0x.js +3 -0
  177. package/dist/{wardleyDiagram-YWT4CUSO-Bq-BejOl.js → wardleyDiagram-VM6X3IG4-DFoKuS9s.js} +156 -155
  178. package/dist/{xychartDiagram-2RQKCTM6-B13zquXC.js → xychartDiagram-S5SC5T6Z-BzKKgVBe.js} +740 -574
  179. package/package.json +41 -38
  180. package/dist/arc-w3BipdfE.cjs +0 -1
  181. package/dist/architecture-7EHR7CIX-Bzeobe9Y.cjs +0 -1
  182. package/dist/architecture-7EHR7CIX-C8NPmR2w.js +0 -3
  183. package/dist/architectureDiagram-3BPJPVTR-DlnXl9d5.cjs +0 -36
  184. package/dist/array-DZSRzHA_.cjs +0 -1
  185. package/dist/blockDiagram-GPEHLZMM-BohmRoCC.js +0 -3157
  186. package/dist/blockDiagram-GPEHLZMM-rfyR2Ffl.cjs +0 -132
  187. package/dist/c4Diagram-AAUBKEIU-Du1vqJYZ.cjs +0 -10
  188. package/dist/channel-DJpMBAs-.cjs +0 -1
  189. package/dist/chunk-2J33WTMH-BMqA-riF.js +0 -25
  190. package/dist/chunk-2J33WTMH-BQs9SXq8.cjs +0 -1
  191. package/dist/chunk-3OPIFGDE-Bk_ByTBh.cjs +0 -62
  192. package/dist/chunk-4BX2VUAB-C8VW0QW0.cjs +0 -1
  193. package/dist/chunk-55IACEB6-CNxnI3nm.cjs +0 -1
  194. package/dist/chunk-55IACEB6-CmKDx-YO.js +0 -8
  195. package/dist/chunk-5ZQYHXKU-DMrStm4M.cjs +0 -2
  196. package/dist/chunk-727SXJPM-Dj8nsm0O.cjs +0 -206
  197. package/dist/chunk-AQP2D5EJ-CYuEYK6i.cjs +0 -231
  198. package/dist/chunk-BSJP7CBP-CSCICPww.cjs +0 -1
  199. package/dist/chunk-BSJP7CBP-YsQACkyC.js +0 -82
  200. package/dist/chunk-CSCIHK7Q-BAdl6GW-.cjs +0 -124
  201. package/dist/chunk-FMBD7UC4-BIKI8zae.cjs +0 -15
  202. package/dist/chunk-KSCS5N6A-DsN7gJEf.cjs +0 -10
  203. package/dist/chunk-L5ZTLDWV-BQCNoMVG.js +0 -32
  204. package/dist/chunk-L5ZTLDWV-BbLRyKcx.cjs +0 -1
  205. package/dist/chunk-LZXEDZCA-rjLYyX5U.cjs +0 -1
  206. package/dist/chunk-ND2GUHAM-1o9Sjy2_.cjs +0 -1
  207. package/dist/chunk-NNHCCRGN-qV8bfiMQ.cjs +0 -159
  208. package/dist/chunk-NZK2D7GU-CPxdSJTy.js +0 -67
  209. package/dist/chunk-NZK2D7GU-CRneGIrP.cjs +0 -1
  210. package/dist/chunk-O5CBEL6O-Cd4Z5Dy9.cjs +0 -70
  211. package/dist/chunk-QZHKN3VN-ZJ4hLUIw.cjs +0 -1
  212. package/dist/chunk-WU5MYG2G-DuCEb9G-.js +0 -9
  213. package/dist/chunk-WU5MYG2G-ExiaHFbF.cjs +0 -1
  214. package/dist/chunk-XPW4576I-BybfDrup.cjs +0 -32
  215. package/dist/chunk-XPW4576I-D3DQ47oC.js +0 -1146
  216. package/dist/classDiagram-4FO5ZUOK-CRX1QumH.js +0 -29
  217. package/dist/classDiagram-4FO5ZUOK-yTAlLFG2.cjs +0 -1
  218. package/dist/classDiagram-v2-Q7XG4LA2-oM01mYfB.js +0 -29
  219. package/dist/classDiagram-v2-Q7XG4LA2-yTAlLFG2.cjs +0 -1
  220. package/dist/cose-bilkent-S5V4N54A-D7fhWOP4.cjs +0 -1
  221. package/dist/cytoscape.esm-CElDUMAx.cjs +0 -321
  222. package/dist/dagre-B2BBwKNb.cjs +0 -1
  223. package/dist/dagre-BM42HDAG-DfpR5Mml.js +0 -297
  224. package/dist/dagre-BM42HDAG-kORxgFz_.cjs +0 -4
  225. package/dist/defaultLocale-u9yUoUmE.cjs +0 -1
  226. package/dist/diagram-2AECGRRQ-B0IEGKjr.cjs +0 -43
  227. package/dist/diagram-5GNKFQAL-BEY9x4us.js +0 -101
  228. package/dist/diagram-5GNKFQAL-vb6e35PR.cjs +0 -10
  229. package/dist/diagram-KO2AKTUF-9V_zu-2x.cjs +0 -3
  230. package/dist/diagram-LMA3HP47-BN_geiB9.cjs +0 -24
  231. package/dist/diagram-OG6HWLK6-6OnEK9-6.cjs +0 -24
  232. package/dist/dist-D8RD2QWc.cjs +0 -1
  233. package/dist/erDiagram-TEJ5UH35-6OEXIM6m.js +0 -1700
  234. package/dist/erDiagram-TEJ5UH35-CzsOt0l4.cjs +0 -85
  235. package/dist/eventmodeling-FCH6USID-Cued7Lz2.cjs +0 -1
  236. package/dist/eventmodeling-FCH6USID-mCB8hc7X.js +0 -3
  237. package/dist/flowDiagram-I6XJVG4X-DR1CMtZZ.cjs +0 -162
  238. package/dist/ganttDiagram-6RSMTGT7-C5t5_mjf.cjs +0 -292
  239. package/dist/gitGraph-WXDBUCRP-B23gOjfP.js +0 -3
  240. package/dist/gitGraph-WXDBUCRP-Bi-Y5dA7.cjs +0 -1
  241. package/dist/gitGraphDiagram-PVQCEYII-CLdgm7yJ.cjs +0 -106
  242. package/dist/graphlib-CkkG5MuS.cjs +0 -1
  243. package/dist/info-J43DQDTF-DC3N8SoX.js +0 -3
  244. package/dist/info-J43DQDTF-jRjlWVKj.cjs +0 -1
  245. package/dist/infoDiagram-5YYISTIA-BIM8xaiE.js +0 -19
  246. package/dist/infoDiagram-5YYISTIA-CbnHgs-I.cjs +0 -2
  247. package/dist/init-07zIhv_j.cjs +0 -1
  248. package/dist/ishikawaDiagram-YF4QCWOH-DAWMXD1l.cjs +0 -70
  249. package/dist/journeyDiagram-JHISSGLW-DfnmJPLn.cjs +0 -139
  250. package/dist/kanban-definition-UN3LZRKU-CbeoJJE7.cjs +0 -89
  251. package/dist/katex-CkiTumqg.cjs +0 -257
  252. package/dist/ketchup2.cjs.js +0 -485
  253. package/dist/line-CzwncDY3.cjs +0 -1
  254. package/dist/linear-1lpO_WlJ.cjs +0 -1
  255. package/dist/mermaid-parser.core-ADyJ_PY4.cjs +0 -3
  256. package/dist/mermaid-parser.core-D6xVjl2t.js +0 -373
  257. package/dist/mindmap-definition-RKZ34NQL-C8cZ7xN-.cjs +0 -96
  258. package/dist/ordinal-CUPR-p0T.cjs +0 -1
  259. package/dist/packet-YPE3B663-CGZxZ1Z0.cjs +0 -1
  260. package/dist/packet-YPE3B663-D2JW2EUF.js +0 -3
  261. package/dist/path-Kklx0M1v.cjs +0 -1
  262. package/dist/pie-LRSECV5Y-BHyd33ZA.js +0 -3
  263. package/dist/pie-LRSECV5Y-Ca_qbHEv.cjs +0 -1
  264. package/dist/pieDiagram-4H26LBE5-BvhguaHn.js +0 -165
  265. package/dist/pieDiagram-4H26LBE5-DpDrJBQK.cjs +0 -30
  266. package/dist/quadrantDiagram-W4KKPZXB-hWSN7YfD.cjs +0 -7
  267. package/dist/radar-GUYGQ44K-BpJWFTCm.js +0 -3
  268. package/dist/radar-GUYGQ44K-CYqWSxO_.cjs +0 -1
  269. package/dist/requirementDiagram-4Y6WPE33-GmjmsbiY.cjs +0 -84
  270. package/dist/rough.esm-r0QOSzHM.cjs +0 -1
  271. package/dist/sankeyDiagram-5OEKKPKP-DbGAx-Bm.cjs +0 -40
  272. package/dist/sequenceDiagram-3UESZ5HK-D85rpewi.cjs +0 -162
  273. package/dist/src-DEmZ9bFr.cjs +0 -1
  274. package/dist/stateDiagram-AJRCARHV-Bg4Y3HPa.cjs +0 -1
  275. package/dist/stateDiagram-AJRCARHV-wqjltbKb.js +0 -217
  276. package/dist/stateDiagram-v2-BHNVJYJU-Cgrf5tQC.js +0 -27
  277. package/dist/stateDiagram-v2-BHNVJYJU-D_Tzn4WM.cjs +0 -1
  278. package/dist/timeline-definition-PNZ67QCA-Dpu3hfhP.cjs +0 -120
  279. package/dist/treeView-BLDUP644-C9tQMbiq.js +0 -3
  280. package/dist/treeView-BLDUP644-DKh9BcaT.cjs +0 -1
  281. package/dist/treemap-LRROVOQU-2aferAph.cjs +0 -1
  282. package/dist/treemap-LRROVOQU-CBv3oGC3.js +0 -3
  283. package/dist/v4-Dyp-SQ1c.cjs +0 -1
  284. package/dist/vennDiagram-CIIHVFJN-BLBDqWTG.cjs +0 -34
  285. package/dist/wardley-L42UT6IY-CIM0_V5T.js +0 -3
  286. package/dist/wardley-L42UT6IY-DjjjOB8T.cjs +0 -1
  287. package/dist/wardleyDiagram-YWT4CUSO-dzyAWKiV.cjs +0 -78
  288. package/dist/xychartDiagram-2RQKCTM6-DA3O42Dk.cjs +0 -7
@@ -1,10 +1,11 @@
1
- import { h as e, p as t } from "./src-DjDATEq3.js";
2
- import { $ as n, H as r, K as i, U as a, a as o, b as s, c, et as l, f as u, nt as d, tt as f, v as p, w as m, y as h } from "./chunk-CSCIHK7Q-BEk3YcEH.js";
3
- import { i as g } from "./chunk-5ZQYHXKU-B_nOC8-n.js";
4
- import { t as _ } from "./chunk-WU5MYG2G-DuCEb9G-.js";
5
- import { t as v } from "./rough.esm-rcMoXTJj.js";
1
+ import { p as e } from "./src-DQoflmwT.js";
2
+ import { $ as t, H as n, K as r, U as i, a, b as o, c as s, et as c, f as l, nt as u, tt as d, v as f, w as p, y as m } from "./chunk-DU6HZSFF-waeanndy.js";
3
+ import { n as h } from "./chunk-Y2CYZVJY-i11wjrBe.js";
4
+ import { i as g } from "./chunk-75Z2AOVW-Drsj7a97.js";
5
+ import { t as _ } from "./chunk-CLGD4ZFX-CLGio9rD.js";
6
+ import { t as v } from "./rough.esm-DXYGHN3m.js";
6
7
  //#region node_modules/khroma/dist/methods/transparentize.js
7
- var y = (e, t) => f(e, "a", -t), b = 1e-10;
8
+ var y = (e, t) => d(e, "a", -t), b = 1e-10;
8
9
  function x(e, t) {
9
10
  let n = C(e), r = n.filter((t) => S(t, e)), i = 0, a = 0, o = [];
10
11
  if (r.length > 1) {
@@ -210,7 +211,7 @@ function L(e, t, n, r, i, a, o) {
210
211
  }
211
212
  return i;
212
213
  }
213
- function ee(e, t, n) {
214
+ function R(e, t, n) {
214
215
  let r = {
215
216
  x: t.slice(),
216
217
  fx: 0,
@@ -242,9 +243,9 @@ function ee(e, t, n) {
242
243
  alpha: c
243
244
  }), r;
244
245
  }
245
- function te(e, t = {}) {
246
+ function ee(e, t = {}) {
246
247
  t.maxIterations = t.maxIterations || 500;
247
- let n = t.initialLayout || oe, r = t.lossFunction || z, i = re(e, t), a = n(i, t), o = Object.keys(a), s = [];
248
+ let n = t.initialLayout || ae, r = t.lossFunction || B, i = ne(e, t), a = n(i, t), o = Object.keys(a), s = [];
248
249
  for (let e of o) s.push(a[e].x), s.push(a[e].y);
249
250
  let c = I((e) => {
250
251
  let t = {};
@@ -264,11 +265,11 @@ function te(e, t = {}) {
264
265
  }
265
266
  return a;
266
267
  }
267
- var ne = 1e-10;
268
- function R(e, t, n) {
269
- return Math.min(e, t) * Math.min(e, t) * Math.PI <= n + ne ? Math.abs(e - t) : k((r) => E(e, t, r) - n, 0, e + t);
268
+ var te = 1e-10;
269
+ function z(e, t, n) {
270
+ return Math.min(e, t) * Math.min(e, t) * Math.PI <= n + te ? Math.abs(e - t) : k((r) => E(e, t, r) - n, 0, e + t);
270
271
  }
271
- function re(e, t = {}) {
272
+ function ne(e, t = {}) {
272
273
  let n = t.distinct, r = e.map((e) => Object.assign({}, e));
273
274
  function i(e) {
274
275
  return e.join(";");
@@ -304,10 +305,10 @@ function re(e, t = {}) {
304
305
  }
305
306
  return r;
306
307
  }
307
- function ie(e, t, n) {
308
+ function re(e, t, n) {
308
309
  let r = j(t.length, t.length), i = j(t.length, t.length);
309
310
  return e.filter((e) => e.sets.length === 2).forEach((e) => {
310
- let a = n[e.sets[0]], o = n[e.sets[1]], s = R(Math.sqrt(t[a].size / Math.PI), Math.sqrt(t[o].size / Math.PI), e.size);
311
+ let a = n[e.sets[0]], o = n[e.sets[1]], s = z(Math.sqrt(t[a].size / Math.PI), Math.sqrt(t[o].size / Math.PI), e.size);
311
312
  r[a][o] = r[o][a] = s;
312
313
  let c = 0;
313
314
  e.size + 1e-10 >= Math.min(t[a].size, t[o].size) ? c = 1 : e.size <= 1e-10 && (c = -1), i[a][o] = i[o][a] = c;
@@ -316,7 +317,7 @@ function ie(e, t, n) {
316
317
  constraints: i
317
318
  };
318
319
  }
319
- function ae(e, t, n, r) {
320
+ function ie(e, t, n, r) {
320
321
  for (let e = 0; e < t.length; ++e) t[e] = 0;
321
322
  let i = 0;
322
323
  for (let a = 0; a < n.length; ++a) {
@@ -328,22 +329,22 @@ function ae(e, t, n, r) {
328
329
  }
329
330
  return i;
330
331
  }
331
- function oe(e, t = {}) {
332
- let n = ce(e, t), r = t.lossFunction || z;
332
+ function ae(e, t = {}) {
333
+ let n = se(e, t), r = t.lossFunction || B;
333
334
  if (e.length >= 8) {
334
- let i = se(e, t), a = r(i, e), o = r(n, e);
335
+ let i = oe(e, t), a = r(i, e), o = r(n, e);
335
336
  a + 1e-8 < o && (n = i);
336
337
  }
337
338
  return n;
338
339
  }
339
- function se(e, t = {}) {
340
+ function oe(e, t = {}) {
340
341
  let n = t.restarts || 10, r = [], i = {};
341
342
  for (let t of e) t.sets.length === 1 && (i[t.sets[0]] = r.length, r.push(t));
342
- let { distances: a, constraints: o } = ie(e, r, i), s = N(a.map(N)) / a.length;
343
+ let { distances: a, constraints: o } = re(e, r, i), s = N(a.map(N)) / a.length;
343
344
  a = a.map((e) => e.map((e) => e / s));
344
- let c = (e, t) => ae(e, t, a, o), l = null;
345
+ let c = (e, t) => ie(e, t, a, o), l = null;
345
346
  for (let e = 0; e < n; ++e) {
346
- let e = ee(c, A(a.length * 2).map(Math.random), t);
347
+ let e = R(c, A(a.length * 2).map(Math.random), t);
347
348
  (!l || e.fx < l.fx) && (l = e);
348
349
  }
349
350
  let u = l.x, d = {};
@@ -358,8 +359,8 @@ function se(e, t = {}) {
358
359
  if (t.history) for (let e of t.history) P(e.x, s);
359
360
  return d;
360
361
  }
361
- function ce(e, t) {
362
- let n = t && t.lossFunction ? t.lossFunction : z, r = {}, i = {};
362
+ function se(e, t) {
363
+ let n = t && t.lossFunction ? t.lossFunction : B, r = {}, i = {};
363
364
  for (let t of e) if (t.sets.length === 1) {
364
365
  let e = t.sets[0];
365
366
  r[e] = {
@@ -373,7 +374,7 @@ function ce(e, t) {
373
374
  e = e.filter((e) => e.sets.length === 2);
374
375
  for (let t of e) {
375
376
  let e = t.weight == null ? 1 : t.weight, n = t.sets[0], a = t.sets[1];
376
- t.size + ne >= Math.min(r[n].size, r[a].size) && (e = 0), i[n].push({
377
+ t.size + te >= Math.min(r[n].size, r[a].size) && (e = 0), i[n].push({
377
378
  set: a,
378
379
  size: t.size,
379
380
  weight: e
@@ -412,7 +413,7 @@ function ce(e, t) {
412
413
  if (d.sort(o), d.length === 0) throw "ERROR: missing pairwise overlap information";
413
414
  let p = [];
414
415
  for (var u = 0; u < d.length; ++u) {
415
- let e = r[d[u].set], t = R(f.radius, e.radius, d[u].size);
416
+ let e = r[d[u].set], t = z(f.radius, e.radius, d[u].size);
416
417
  p.push({
417
418
  x: e.x + t,
418
419
  y: e.y
@@ -427,7 +428,7 @@ function ce(e, t) {
427
428
  x: e.x
428
429
  });
429
430
  for (let n = u + 1; n < d.length; ++n) {
430
- let i = r[d[n].set], a = R(f.radius, i.radius, d[n].size), o = D({
431
+ let i = r[d[n].set], a = z(f.radius, i.radius, d[n].size), o = D({
431
432
  x: e.x,
432
433
  y: e.y,
433
434
  radius: t
@@ -449,7 +450,7 @@ function ce(e, t) {
449
450
  }
450
451
  return r;
451
452
  }
452
- function z(e, t) {
453
+ function B(e, t) {
453
454
  let n = 0;
454
455
  for (let r of t) {
455
456
  if (r.sets.length === 1) continue;
@@ -463,7 +464,7 @@ function z(e, t) {
463
464
  }
464
465
  return n;
465
466
  }
466
- function le(e, t) {
467
+ function ce(e, t) {
467
468
  let n = 0;
468
469
  for (let r of t) {
469
470
  if (r.sets.length === 1) continue;
@@ -477,7 +478,7 @@ function le(e, t) {
477
478
  }
478
479
  return n;
479
480
  }
480
- function ue(e, t, n) {
481
+ function le(e, t, n) {
481
482
  if (n == null ? e.sort((e, t) => t.radius - e.radius) : e.sort(n), e.length > 0) {
482
483
  let t = e[0].x, n = e[0].y;
483
484
  for (let r of e) r.x -= t, r.y -= n;
@@ -502,7 +503,7 @@ function ue(e, t, n) {
502
503
  }
503
504
  }
504
505
  }
505
- function de(e) {
506
+ function ue(e) {
506
507
  e.forEach((e) => {
507
508
  e.parent = e;
508
509
  });
@@ -526,7 +527,7 @@ function de(e) {
526
527
  delete e.parent;
527
528
  }), Array.from(r.values());
528
529
  }
529
- function B(e) {
530
+ function V(e) {
530
531
  let t = (t) => ({
531
532
  max: e.reduce((e, n) => Math.max(e, n[t] + n.radius), -Infinity),
532
533
  min: e.reduce((e, n) => Math.min(e, n[t] - n.radius), Infinity)
@@ -536,12 +537,12 @@ function B(e) {
536
537
  yRange: t("y")
537
538
  };
538
539
  }
539
- function fe(e, t, n) {
540
+ function de(e, t, n) {
540
541
  t ??= Math.PI / 2;
541
- let r = he(e).map((e) => Object.assign({}, e)), i = de(r);
542
+ let r = me(e).map((e) => Object.assign({}, e)), i = ue(r);
542
543
  for (let e of i) {
543
- ue(e, t, n);
544
- let r = B(e);
544
+ le(e, t, n);
545
+ let r = V(e);
545
546
  e.size = (r.xRange.max - r.xRange.min) * (r.yRange.max - r.yRange.min), e.bounds = r;
546
547
  }
547
548
  i.sort((e, t) => t.size - e.size), r = i[0];
@@ -564,13 +565,13 @@ function fe(e, t, n) {
564
565
  for (let t of e) t.x += s, t.y += c, r.push(t);
565
566
  }
566
567
  let c = 1;
567
- for (; c < i.length;) s(i[c], !0, !1), s(i[c + 1], !1, !0), s(i[c + 2], !0, !0), c += 3, a = B(r);
568
- return me(r);
568
+ for (; c < i.length;) s(i[c], !0, !1), s(i[c + 1], !1, !0), s(i[c + 2], !0, !0), c += 3, a = V(r);
569
+ return pe(r);
569
570
  }
570
- function pe(e, t, n, r, i) {
571
- let a = he(e);
571
+ function fe(e, t, n, r, i) {
572
+ let a = me(e);
572
573
  t -= 2 * r, n -= 2 * r;
573
- let { xRange: o, yRange: s } = B(a);
574
+ let { xRange: o, yRange: s } = V(a);
574
575
  if (o.max === o.min || s.max === s.min) return console.log("not scaling solution: zero size detected"), e;
575
576
  let c, l;
576
577
  if (i) {
@@ -578,22 +579,22 @@ function pe(e, t, n, r, i) {
578
579
  c = t / e, l = n / e;
579
580
  } else c = t / (o.max - o.min), l = n / (s.max - s.min);
580
581
  let u = Math.min(l, c), d = (t - (o.max - o.min) * u) / 2, f = (n - (s.max - s.min) * u) / 2;
581
- return me(a.map((e) => ({
582
+ return pe(a.map((e) => ({
582
583
  radius: u * e.radius,
583
584
  x: r + d + (e.x - o.min) * u,
584
585
  y: r + f + (e.y - s.min) * u,
585
586
  setid: e.setid
586
587
  })));
587
588
  }
588
- function me(e) {
589
+ function pe(e) {
589
590
  let t = {};
590
591
  for (let n of e) t[n.setid] = n;
591
592
  return t;
592
593
  }
593
- function he(e) {
594
+ function me(e) {
594
595
  return Object.keys(e).map((t) => Object.assign(e[t], { setid: t }));
595
596
  }
596
- function ge(e = {}) {
597
+ function he(e = {}) {
597
598
  let t = !1, n = 600, r = 350, i = 15, a = 1e3, o = Math.PI / 2, s = !0, c = null, l = !0, u = !0, d = null, f = null, p = !1, m = null, h = e && e.symmetricalTextCentre ? e.symmetricalTextCentre : !1, g = {}, _ = e && e.colourScheme ? e.colourScheme : e && e.colorScheme ? e.colorScheme : [
598
599
  "#1f77b4",
599
600
  "#ff7f0e",
@@ -609,7 +610,7 @@ function ge(e = {}) {
609
610
  if (e in g) return g[e];
610
611
  var t = g[e] = _[v];
611
612
  return v += 1, v >= _.length && (v = 0), t;
612
- }, b = te, x = z;
613
+ }, b = ee, x = B;
613
614
  function S(g) {
614
615
  let _ = g.datum(), v = /* @__PURE__ */ new Set();
615
616
  _.forEach((e) => {
@@ -621,7 +622,7 @@ function ge(e = {}) {
621
622
  lossFunction: x,
622
623
  distinct: p
623
624
  });
624
- s && (e = fe(e, o, f)), S = pe(e, n, r, i, c), C = ye(S, _, h);
625
+ s && (e = de(e, o, f)), S = fe(e, n, r, i, c), C = ve(S, _, h);
625
626
  }
626
627
  let w = {};
627
628
  _.forEach((e) => {
@@ -637,10 +638,10 @@ function ge(e = {}) {
637
638
  let D = {}, O = !1;
638
639
  E.selectAll(".venn-area path").each(function(e) {
639
640
  let t = this.getAttribute("d");
640
- e.sets.length == 1 && t && !p && (O = !0, D[e.sets[0]] = xe(t));
641
+ e.sets.length == 1 && t && !p && (O = !0, D[e.sets[0]] = be(t));
641
642
  });
642
643
  function k(e) {
643
- return (t) => we(e.sets.map((e) => {
644
+ return (t) => Ce(e.sets.map((e) => {
644
645
  let i = D[e], a = S[e];
645
646
  return i ||= {
646
647
  x: n / 2,
@@ -663,13 +664,13 @@ function ge(e = {}) {
663
664
  return typeof e.transition == "function" ? e.transition("venn").duration(a) : e;
664
665
  }
665
666
  let F = g;
666
- O && typeof F.transition == "function" ? (F = P(g), F.selectAll("path").attrTween("d", k)) : F.selectAll("path").attr("d", (e) => we(e.sets.map((e) => S[e])), m);
667
+ O && typeof F.transition == "function" ? (F = P(g), F.selectAll("path").attrTween("d", k)) : F.selectAll("path").attr("d", (e) => Ce(e.sets.map((e) => S[e])), m);
667
668
  let I = F.selectAll("text").filter((e) => e.sets in C).text((e) => T(e)).attr("x", (e) => Math.floor(C[e.sets].x)).attr("y", (e) => Math.floor(C[e.sets].y));
668
- l && (O ? "on" in I ? I.on("end", V(S, T)) : I.each("end", V(S, T)) : I.each(V(S, T)));
669
+ l && (O ? "on" in I ? I.on("end", H(S, T)) : I.each("end", H(S, T)) : I.each(H(S, T)));
669
670
  let L = P(A.exit()).remove();
670
671
  typeof A.transition == "function" && L.selectAll("path").attrTween("d", k);
671
- let ee = L.selectAll("text").attr("x", n / 2).attr("y", r / 2);
672
- return d !== null && (N.style("font-size", "0px"), I.style("font-size", d), ee.style("font-size", "0px")), {
672
+ let R = L.selectAll("text").attr("x", n / 2).attr("y", r / 2);
673
+ return d !== null && (N.style("font-size", "0px"), I.style("font-size", d), R.style("font-size", "0px")), {
673
674
  circles: S,
674
675
  textCentres: C,
675
676
  nodes: A,
@@ -713,10 +714,10 @@ function ge(e = {}) {
713
714
  }, S.orientationOrder = function(e) {
714
715
  return arguments.length ? (f = e, S) : f;
715
716
  }, S.lossFunction = function(e) {
716
- return arguments.length ? (x = e === "default" ? z : e === "logRatio" ? le : e, S) : x;
717
+ return arguments.length ? (x = e === "default" ? B : e === "logRatio" ? ce : e, S) : x;
717
718
  }, S;
718
719
  }
719
- function V(e, t) {
720
+ function H(e, t) {
720
721
  return function(n) {
721
722
  let r = this, i = e[n.sets[0]].radius || 50, a = t(n) || "", o = a.split(/\s+/).reverse(), s = (a.length + o.length) / 3, c = o.pop(), l = [c], u = 0, d = 1.1;
722
723
  r.textContent = null;
@@ -737,7 +738,7 @@ function V(e, t) {
737
738
  });
738
739
  };
739
740
  }
740
- function H(e, t, n) {
741
+ function U(e, t, n) {
741
742
  let r = t[0].radius - T(t[0], e);
742
743
  for (let n = 1; n < t.length; ++n) {
743
744
  let i = t[n].radius - T(t[n], e);
@@ -749,7 +750,7 @@ function H(e, t, n) {
749
750
  }
750
751
  return r;
751
752
  }
752
- function _e(e, t, n) {
753
+ function ge(e, t, n) {
753
754
  let r = [];
754
755
  for (let t of e) r.push({
755
756
  x: t.x,
@@ -767,12 +768,12 @@ function _e(e, t, n) {
767
768
  x: t.x,
768
769
  y: t.y - t.radius / 2
769
770
  });
770
- let i = r[0], a = H(r[0], e, t);
771
+ let i = r[0], a = U(r[0], e, t);
771
772
  for (let n = 1; n < r.length; ++n) {
772
- let o = H(r[n], e, t);
773
+ let o = U(r[n], e, t);
773
774
  o >= a && (i = r[n], a = o);
774
775
  }
775
- let o = I((n) => -1 * H({
776
+ let o = I((n) => -1 * U({
776
777
  x: n[0],
777
778
  y: n[1]
778
779
  }, e, t), [i.x, i.y], {
@@ -803,9 +804,9 @@ function _e(e, t, n) {
803
804
  } : l.arcs.length == 1 ? {
804
805
  x: l.arcs[0].circle.x,
805
806
  y: l.arcs[0].circle.y
806
- } : t.length ? _e(e, []) : O(l.arcs.map((e) => e.p1));
807
+ } : t.length ? ge(e, []) : O(l.arcs.map((e) => e.p1));
807
808
  }
808
- function ve(e) {
809
+ function _e(e) {
809
810
  let t = {}, n = Object.keys(e);
810
811
  for (let e of n) t[e] = [];
811
812
  for (let r = 0; r < n.length; r++) {
@@ -817,8 +818,8 @@ function ve(e) {
817
818
  }
818
819
  return t;
819
820
  }
820
- function ye(e, t, n) {
821
- let r = {}, i = ve(e);
821
+ function ve(e, t, n) {
822
+ let r = {}, i = _e(e);
822
823
  for (let a = 0; a < t.length; ++a) {
823
824
  let o = t[a].sets, s = {}, c = {};
824
825
  for (let e = 0; e < o.length; ++e) {
@@ -828,16 +829,16 @@ function ye(e, t, n) {
828
829
  }
829
830
  let l = [], u = [];
830
831
  for (let t in e) t in s ? l.push(e[t]) : t in c || u.push(e[t]);
831
- let d = _e(l, u, n);
832
+ let d = ge(l, u, n);
832
833
  r[o] = d, d.disjoint && t[a].size > 0 && console.log("WARNING: area " + o + " not represented on screen");
833
834
  }
834
835
  return r;
835
836
  }
836
- function be(e, t, n) {
837
+ function ye(e, t, n) {
837
838
  let r = [];
838
839
  return r.push("\nM", e, t), r.push("\nm", -n, 0), r.push("\na", n, n, 0, 1, 0, n * 2, 0), r.push("\na", n, n, 0, 1, 0, -n * 2, 0), r.join(" ");
839
840
  }
840
- function xe(e) {
841
+ function be(e) {
841
842
  let t = e.split(" ");
842
843
  return {
843
844
  x: Number.parseFloat(t[1]),
@@ -845,17 +846,17 @@ function xe(e) {
845
846
  radius: -Number.parseFloat(t[4])
846
847
  };
847
848
  }
848
- function Se(e) {
849
+ function xe(e) {
849
850
  if (e.length === 0) return [];
850
851
  let t = {};
851
852
  return x(e, t), t.arcs;
852
853
  }
853
- function Ce(e, t) {
854
+ function Se(e, t) {
854
855
  if (e.length === 0) return "M 0 0";
855
856
  let n = 10 ** (t || 0), r = t == null ? (e) => e : (e) => Math.round(e * n) / n;
856
857
  if (e.length == 1) {
857
858
  let t = e[0].circle;
858
- return be(r(t.x), r(t.y), r(t.radius));
859
+ return ye(r(t.x), r(t.y), r(t.radius));
859
860
  }
860
861
  let i = [
861
862
  "\nM",
@@ -868,26 +869,26 @@ function Ce(e, t) {
868
869
  }
869
870
  return i.join(" ");
870
871
  }
871
- function we(e, t) {
872
- return Ce(Se(e), t);
872
+ function Ce(e, t) {
873
+ return Se(xe(e), t);
873
874
  }
874
- function Te(e, t = {}) {
875
- let { lossFunction: n, layoutFunction: r = te, normalize: i = !0, orientation: a = Math.PI / 2, orientationOrder: o, width: s = 600, height: c = 350, padding: l = 15, scaleToFit: u = !1, symmetricalTextCentre: d = !1, distinct: f, round: p = 2 } = t, m = r(e, {
876
- lossFunction: n === "default" || !n ? z : n === "logRatio" ? le : n,
875
+ function we(e, t = {}) {
876
+ let { lossFunction: n, layoutFunction: r = ee, normalize: i = !0, orientation: a = Math.PI / 2, orientationOrder: o, width: s = 600, height: c = 350, padding: l = 15, scaleToFit: u = !1, symmetricalTextCentre: d = !1, distinct: f, round: p = 2 } = t, m = r(e, {
877
+ lossFunction: n === "default" || !n ? B : n === "logRatio" ? ce : n,
877
878
  distinct: f
878
879
  });
879
- i && (m = fe(m, a, o));
880
- let h = pe(m, s, c, l, u), g = ye(h, e, d), _ = new Map(Object.keys(h).map((e) => [e, {
880
+ i && (m = de(m, a, o));
881
+ let h = fe(m, s, c, l, u), g = ve(h, e, d), _ = new Map(Object.keys(h).map((e) => [e, {
881
882
  set: e,
882
883
  x: h[e].x,
883
884
  y: h[e].y,
884
885
  radius: h[e].radius
885
886
  }])), v = e.map((e) => {
886
- let t = e.sets.map((e) => _.get(e)), n = Se(t);
887
+ let t = e.sets.map((e) => _.get(e)), n = xe(t);
887
888
  return {
888
889
  circles: t,
889
890
  arcs: n,
890
- path: Ce(n, p),
891
+ path: Se(n, p),
891
892
  area: e,
892
893
  has: new Set(e.sets)
893
894
  };
@@ -907,12 +908,12 @@ function Te(e, t = {}) {
907
908
  }));
908
909
  }
909
910
  //#endregion
910
- //#region node_modules/mermaid/dist/chunks/mermaid.core/vennDiagram-CIIHVFJN.mjs
911
- var U = (function() {
912
- var t = /* @__PURE__ */ e(function(e, t, n, r) {
911
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/vennDiagram-4TSXK5OY.mjs
912
+ var W = (function() {
913
+ var e = /* @__PURE__ */ h(function(e, t, n, r) {
913
914
  for (n ||= {}, r = e.length; r--; n[e[r]] = t);
914
915
  return n;
915
- }, "o"), n = [5, 8], r = [
916
+ }, "o"), t = [5, 8], n = [
916
917
  7,
917
918
  8,
918
919
  11,
@@ -921,7 +922,7 @@ var U = (function() {
921
922
  19,
922
923
  22,
923
924
  24
924
- ], i = [1, 17], a = [1, 18], o = [
925
+ ], r = [1, 17], i = [1, 18], a = [
925
926
  7,
926
927
  8,
927
928
  11,
@@ -936,7 +937,7 @@ var U = (function() {
936
937
  22,
937
938
  24,
938
939
  27
939
- ], s = [1, 31], c = [1, 39], l = [
940
+ ], o = [1, 31], s = [1, 39], c = [
940
941
  7,
941
942
  8,
942
943
  11,
@@ -946,7 +947,7 @@ var U = (function() {
946
947
  22,
947
948
  24,
948
949
  27
949
- ], u = [1, 57], d = [1, 56], f = [1, 58], p = [1, 59], m = [1, 60], h = [
950
+ ], l = [1, 57], u = [1, 56], d = [1, 58], f = [1, 59], p = [1, 60], m = [
950
951
  7,
951
952
  8,
952
953
  11,
@@ -962,7 +963,7 @@ var U = (function() {
962
963
  32,
963
964
  33
964
965
  ], g = {
965
- trace: /* @__PURE__ */ e(function() {}, "trace"),
966
+ trace: /* @__PURE__ */ h(function() {}, "trace"),
966
967
  yy: {},
967
968
  symbols_: {
968
969
  error: 2,
@@ -1068,7 +1069,7 @@ var U = (function() {
1068
1069
  [13, 1],
1069
1070
  [13, 1]
1070
1071
  ],
1071
- performAction: /* @__PURE__ */ e(function(e, t, n, r, i, a, o) {
1072
+ performAction: /* @__PURE__ */ h(function(e, t, n, r, i, a, o) {
1072
1073
  var s = a.length - 1;
1073
1074
  switch (i) {
1074
1075
  case 1: return a[s - 1];
@@ -1170,13 +1171,11 @@ var U = (function() {
1170
1171
  a[s - 1].push(a[s]), this.$ = a[s - 1];
1171
1172
  break;
1172
1173
  case 43:
1173
- case 44:
1174
- this.$ = a[s];
1175
- break;
1174
+ case 44: this.$ = a[s];
1176
1175
  }
1177
1176
  }, "anonymous"),
1178
1177
  table: [
1179
- t(n, [2, 2], {
1178
+ e(t, [2, 2], {
1180
1179
  3: 1,
1181
1180
  4: 2
1182
1181
  }),
@@ -1185,8 +1184,8 @@ var U = (function() {
1185
1184
  5: [1, 3],
1186
1185
  8: [1, 4]
1187
1186
  },
1188
- t(r, [2, 4], { 6: 5 }),
1189
- t(n, [2, 3]),
1187
+ e(n, [2, 4], { 6: 5 }),
1188
+ e(t, [2, 3]),
1190
1189
  {
1191
1190
  7: [1, 6],
1192
1191
  8: [1, 8],
@@ -1200,26 +1199,26 @@ var U = (function() {
1200
1199
  24: [1, 15]
1201
1200
  },
1202
1201
  { 1: [2, 1] },
1203
- t(r, [2, 5]),
1204
- t(r, [2, 6]),
1205
- t(r, [2, 7]),
1206
- t(r, [2, 8]),
1202
+ e(n, [2, 5]),
1203
+ e(n, [2, 6]),
1204
+ e(n, [2, 7]),
1205
+ e(n, [2, 8]),
1207
1206
  {
1208
1207
  13: 16,
1209
- 20: i,
1210
- 21: a
1208
+ 20: r,
1209
+ 21: i
1211
1210
  },
1212
1211
  {
1213
1212
  13: 20,
1214
1213
  18: 19,
1215
- 20: i,
1216
- 21: a
1214
+ 20: r,
1215
+ 21: i
1217
1216
  },
1218
1217
  {
1219
1218
  13: 20,
1220
1219
  18: 21,
1221
- 20: i,
1222
- 21: a
1220
+ 20: r,
1221
+ 21: i
1223
1222
  },
1224
1223
  {
1225
1224
  16: [1, 25],
@@ -1230,130 +1229,130 @@ var U = (function() {
1230
1229
  {
1231
1230
  13: 20,
1232
1231
  18: 26,
1233
- 20: i,
1234
- 21: a
1232
+ 20: r,
1233
+ 21: i
1235
1234
  },
1236
- t(r, [2, 9], {
1235
+ e(n, [2, 9], {
1237
1236
  14: [1, 27],
1238
1237
  15: [1, 28]
1239
1238
  }),
1240
- t(o, [2, 43]),
1241
- t(o, [2, 44]),
1242
- t(r, [2, 13], {
1239
+ e(a, [2, 43]),
1240
+ e(a, [2, 44]),
1241
+ e(n, [2, 13], {
1243
1242
  14: [1, 29],
1244
1243
  15: [1, 30],
1245
- 27: s
1244
+ 27: o
1246
1245
  }),
1247
- t(o, [2, 41]),
1246
+ e(a, [2, 41]),
1248
1247
  {
1249
1248
  16: [1, 34],
1250
1249
  20: [1, 32],
1251
1250
  21: [1, 33],
1252
- 27: s
1251
+ 27: o
1253
1252
  },
1254
- t(r, [2, 22]),
1255
- t(r, [2, 24], { 14: [1, 35] }),
1256
- t(r, [2, 25], { 14: [1, 36] }),
1257
- t(r, [2, 26]),
1253
+ e(n, [2, 22]),
1254
+ e(n, [2, 24], { 14: [1, 35] }),
1255
+ e(n, [2, 25], { 14: [1, 36] }),
1256
+ e(n, [2, 26]),
1258
1257
  {
1259
- 20: c,
1258
+ 20: s,
1260
1259
  25: 37,
1261
1260
  26: 38,
1262
- 27: s
1261
+ 27: o
1263
1262
  },
1264
- t(r, [2, 10], { 15: [1, 40] }),
1263
+ e(n, [2, 10], { 15: [1, 40] }),
1265
1264
  { 16: [1, 41] },
1266
- t(r, [2, 14], { 15: [1, 42] }),
1265
+ e(n, [2, 14], { 15: [1, 42] }),
1267
1266
  { 16: [1, 43] },
1268
1267
  {
1269
1268
  13: 44,
1270
- 20: i,
1271
- 21: a
1269
+ 20: r,
1270
+ 21: i
1272
1271
  },
1273
- t(r, [2, 17], { 14: [1, 45] }),
1274
- t(r, [2, 18], { 14: [1, 46] }),
1275
- t(r, [2, 19]),
1276
- t(r, [2, 27]),
1277
- t(r, [2, 28]),
1278
- t(r, [2, 23], { 27: [1, 47] }),
1279
- t(l, [2, 29]),
1272
+ e(n, [2, 17], { 14: [1, 45] }),
1273
+ e(n, [2, 18], { 14: [1, 46] }),
1274
+ e(n, [2, 19]),
1275
+ e(n, [2, 27]),
1276
+ e(n, [2, 28]),
1277
+ e(n, [2, 23], { 27: [1, 47] }),
1278
+ e(c, [2, 29]),
1280
1279
  { 15: [1, 48] },
1281
1280
  { 16: [1, 49] },
1282
- t(r, [2, 11]),
1281
+ e(n, [2, 11]),
1283
1282
  { 16: [1, 50] },
1284
- t(r, [2, 15]),
1285
- t(o, [2, 42]),
1286
- t(r, [2, 20]),
1287
- t(r, [2, 21]),
1283
+ e(n, [2, 15]),
1284
+ e(a, [2, 42]),
1285
+ e(n, [2, 20]),
1286
+ e(n, [2, 21]),
1288
1287
  {
1289
- 20: c,
1288
+ 20: s,
1290
1289
  26: 51
1291
1290
  },
1292
1291
  {
1293
- 16: u,
1294
- 20: d,
1292
+ 16: l,
1293
+ 20: u,
1295
1294
  21: [1, 53],
1296
1295
  28: 52,
1297
1296
  29: 54,
1298
1297
  30: 55,
1299
- 31: f,
1300
- 32: p,
1301
- 33: m
1298
+ 31: d,
1299
+ 32: f,
1300
+ 33: p
1302
1301
  },
1303
- t(r, [2, 12]),
1304
- t(r, [2, 16]),
1305
- t(l, [2, 30]),
1306
- t(l, [2, 31]),
1307
- t(l, [2, 32]),
1308
- t(l, [2, 33], {
1302
+ e(n, [2, 12]),
1303
+ e(n, [2, 16]),
1304
+ e(c, [2, 30]),
1305
+ e(c, [2, 31]),
1306
+ e(c, [2, 32]),
1307
+ e(c, [2, 33], {
1309
1308
  30: 61,
1310
- 16: u,
1311
- 20: d,
1312
- 31: f,
1313
- 32: p,
1314
- 33: m
1309
+ 16: l,
1310
+ 20: u,
1311
+ 31: d,
1312
+ 32: f,
1313
+ 33: p
1315
1314
  }),
1316
- t(h, [2, 34]),
1317
- t(h, [2, 36]),
1318
- t(h, [2, 37]),
1319
- t(h, [2, 38]),
1320
- t(h, [2, 39]),
1321
- t(h, [2, 40]),
1322
- t(h, [2, 35])
1315
+ e(m, [2, 34]),
1316
+ e(m, [2, 36]),
1317
+ e(m, [2, 37]),
1318
+ e(m, [2, 38]),
1319
+ e(m, [2, 39]),
1320
+ e(m, [2, 40]),
1321
+ e(m, [2, 35])
1323
1322
  ],
1324
1323
  defaultActions: { 6: [2, 1] },
1325
- parseError: /* @__PURE__ */ e(function(e, t) {
1324
+ parseError: /* @__PURE__ */ h(function(e, t) {
1326
1325
  if (t.recoverable) this.trace(e);
1327
1326
  else {
1328
1327
  var n = Error(e);
1329
1328
  throw n.hash = t, n;
1330
1329
  }
1331
1330
  }, "parseError"),
1332
- parse: /* @__PURE__ */ e(function(t) {
1333
- var n = this, r = [0], i = [], a = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, p = 1, m = o.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
1331
+ parse: /* @__PURE__ */ h(function(e) {
1332
+ var t = this, n = [0], r = [], i = [null], a = [], o = this.table, s = "", c = 0, l = 0, u = 0, d = 2, f = 1, p = a.slice.call(arguments, 1), m = Object.create(this.lexer), g = { yy: {} };
1334
1333
  for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
1335
- h.setInput(t, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
1336
- var v = h.yylloc;
1337
- o.push(v);
1338
- var y = h.options && h.options.ranges;
1339
- typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
1334
+ m.setInput(e, g.yy), g.yy.lexer = m, g.yy.parser = this, m.yylloc === void 0 && (m.yylloc = {});
1335
+ var v = m.yylloc;
1336
+ a.push(v);
1337
+ var y = m.options && m.options.ranges;
1338
+ this.parseError = typeof g.yy.parseError == "function" ? g.yy.parseError : Object.getPrototypeOf(this).parseError;
1340
1339
  function b(e) {
1341
- r.length -= 2 * e, a.length -= e, o.length -= e;
1340
+ n.length -= 2 * e, i.length -= e, a.length -= e;
1342
1341
  }
1343
- e(b, "popStack");
1342
+ h(b, "popStack");
1344
1343
  function x() {
1345
- var e = i.pop() || h.lex() || p;
1346
- return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = n.symbols_[e] || e), e;
1344
+ var e = r.pop() || m.lex() || f;
1345
+ return typeof e != "number" && (e instanceof Array && (r = e, e = r.pop()), e = t.symbols_[e] || e), e;
1347
1346
  }
1348
- e(x, "lex");
1347
+ h(x, "lex");
1349
1348
  for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
1350
- if (w = r[r.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = s[w] && s[w][S]), T === void 0 || !T.length || !T[0]) {
1349
+ if (w = n[n.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = o[w] && o[w][S]), T === void 0 || !T.length || !T[0]) {
1351
1350
  var M = "";
1352
- for (O in j = [], s[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
1353
- M = h.showPosition ? "Parse error on line " + (l + 1) + ":\n" + h.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (l + 1) + ": Unexpected " + (S == p ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
1354
- text: h.match,
1351
+ for (O in j = [], o[w]) this.terminals_[O] && O > d && j.push("'" + this.terminals_[O] + "'");
1352
+ M = m.showPosition ? "Parse error on line " + (c + 1) + ":\n" + m.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (c + 1) + ": Unexpected " + (S == f ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
1353
+ text: m.match,
1355
1354
  token: this.terminals_[S] || S,
1356
- line: h.yylineno,
1355
+ line: m.yylineno,
1357
1356
  loc: v,
1358
1357
  expected: j
1359
1358
  });
@@ -1361,24 +1360,24 @@ var U = (function() {
1361
1360
  if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
1362
1361
  switch (T[0]) {
1363
1362
  case 1:
1364
- r.push(S), a.push(h.yytext), o.push(h.yylloc), r.push(T[1]), S = null, C ? (S = C, C = null) : (u = h.yyleng, c = h.yytext, l = h.yylineno, v = h.yylloc, d > 0 && d--);
1363
+ n.push(S), i.push(m.yytext), a.push(m.yylloc), n.push(T[1]), S = null, C ? (S = C, C = null) : (l = m.yyleng, s = m.yytext, c = m.yylineno, v = m.yylloc, u > 0 && u--);
1365
1364
  break;
1366
1365
  case 2:
1367
- if (k = this.productions_[T[1]][1], D.$ = a[a.length - k], D._$ = {
1368
- first_line: o[o.length - (k || 1)].first_line,
1369
- last_line: o[o.length - 1].last_line,
1370
- first_column: o[o.length - (k || 1)].first_column,
1371
- last_column: o[o.length - 1].last_column
1372
- }, y && (D._$.range = [o[o.length - (k || 1)].range[0], o[o.length - 1].range[1]]), E = this.performAction.apply(D, [
1373
- c,
1374
- u,
1366
+ if (k = this.productions_[T[1]][1], D.$ = i[i.length - k], D._$ = {
1367
+ first_line: a[a.length - (k || 1)].first_line,
1368
+ last_line: a[a.length - 1].last_line,
1369
+ first_column: a[a.length - (k || 1)].first_column,
1370
+ last_column: a[a.length - 1].last_column
1371
+ }, y && (D._$.range = [a[a.length - (k || 1)].range[0], a[a.length - 1].range[1]]), E = this.performAction.apply(D, [
1372
+ s,
1375
1373
  l,
1374
+ c,
1376
1375
  g.yy,
1377
1376
  T[1],
1378
- a,
1379
- o
1380
- ].concat(m)), E !== void 0) return E;
1381
- k && (r = r.slice(0, -1 * k * 2), a = a.slice(0, -1 * k), o = o.slice(0, -1 * k)), r.push(this.productions_[T[1]][0]), a.push(D.$), o.push(D._$), A = s[r[r.length - 2]][r[r.length - 1]], r.push(A);
1377
+ i,
1378
+ a
1379
+ ].concat(p)), E !== void 0) return E;
1380
+ k && (n = n.slice(0, -1 * k * 2), i = i.slice(0, -1 * k), a = a.slice(0, -1 * k)), n.push(this.productions_[T[1]][0]), i.push(D.$), a.push(D._$), A = o[n[n.length - 2]][n[n.length - 1]], n.push(A);
1382
1381
  break;
1383
1382
  case 3: return !0;
1384
1383
  }
@@ -1389,11 +1388,11 @@ var U = (function() {
1389
1388
  g.lexer = /* @__PURE__ */ (function() {
1390
1389
  return {
1391
1390
  EOF: 1,
1392
- parseError: /* @__PURE__ */ e(function(e, t) {
1391
+ parseError: /* @__PURE__ */ h(function(e, t) {
1393
1392
  if (this.yy.parser) this.yy.parser.parseError(e, t);
1394
1393
  else throw Error(e);
1395
1394
  }, "parseError"),
1396
- setInput: /* @__PURE__ */ e(function(e, t) {
1395
+ setInput: /* @__PURE__ */ h(function(e, t) {
1397
1396
  return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
1398
1397
  first_line: 1,
1399
1398
  first_column: 0,
@@ -1401,11 +1400,11 @@ var U = (function() {
1401
1400
  last_column: 0
1402
1401
  }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
1403
1402
  }, "setInput"),
1404
- input: /* @__PURE__ */ e(function() {
1403
+ input: /* @__PURE__ */ h(function() {
1405
1404
  var e = this._input[0];
1406
1405
  return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
1407
1406
  }, "input"),
1408
- unput: /* @__PURE__ */ e(function(e) {
1407
+ unput: /* @__PURE__ */ h(function(e) {
1409
1408
  var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
1410
1409
  this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
1411
1410
  var r = this.match.split(/(?:\r\n?|\n)/g);
@@ -1418,10 +1417,10 @@ var U = (function() {
1418
1417
  last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
1419
1418
  }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
1420
1419
  }, "unput"),
1421
- more: /* @__PURE__ */ e(function() {
1420
+ more: /* @__PURE__ */ h(function() {
1422
1421
  return this._more = !0, this;
1423
1422
  }, "more"),
1424
- reject: /* @__PURE__ */ e(function() {
1423
+ reject: /* @__PURE__ */ h(function() {
1425
1424
  if (this.options.backtrack_lexer) this._backtrack = !0;
1426
1425
  else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
1427
1426
  text: "",
@@ -1430,22 +1429,22 @@ var U = (function() {
1430
1429
  });
1431
1430
  return this;
1432
1431
  }, "reject"),
1433
- less: /* @__PURE__ */ e(function(e) {
1432
+ less: /* @__PURE__ */ h(function(e) {
1434
1433
  this.unput(this.match.slice(e));
1435
1434
  }, "less"),
1436
- pastInput: /* @__PURE__ */ e(function() {
1435
+ pastInput: /* @__PURE__ */ h(function() {
1437
1436
  var e = this.matched.substr(0, this.matched.length - this.match.length);
1438
1437
  return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
1439
1438
  }, "pastInput"),
1440
- upcomingInput: /* @__PURE__ */ e(function() {
1439
+ upcomingInput: /* @__PURE__ */ h(function() {
1441
1440
  var e = this.match;
1442
1441
  return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
1443
1442
  }, "upcomingInput"),
1444
- showPosition: /* @__PURE__ */ e(function() {
1443
+ showPosition: /* @__PURE__ */ h(function() {
1445
1444
  var e = this.pastInput(), t = Array(e.length + 1).join("-");
1446
1445
  return e + this.upcomingInput() + "\n" + t + "^";
1447
1446
  }, "showPosition"),
1448
- test_match: /* @__PURE__ */ e(function(e, t) {
1447
+ test_match: /* @__PURE__ */ h(function(e, t) {
1449
1448
  var n, r, i;
1450
1449
  if (this.options.backtrack_lexer && (i = {
1451
1450
  yylineno: this.yylineno,
@@ -1478,7 +1477,7 @@ var U = (function() {
1478
1477
  }
1479
1478
  return !1;
1480
1479
  }, "test_match"),
1481
- next: /* @__PURE__ */ e(function() {
1480
+ next: /* @__PURE__ */ h(function() {
1482
1481
  if (this.done) return this.EOF;
1483
1482
  this._input || (this.done = !0);
1484
1483
  var e, t, n, r;
@@ -1489,38 +1488,40 @@ var U = (function() {
1489
1488
  if (this._backtrack) {
1490
1489
  t = !1;
1491
1490
  continue;
1492
- } else return !1;
1493
- } else if (!this.options.flex) break;
1491
+ }
1492
+ return !1;
1493
+ }
1494
+ if (!this.options.flex) break;
1494
1495
  }
1495
- 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(), {
1496
+ 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(), {
1496
1497
  text: "",
1497
1498
  token: null,
1498
1499
  line: this.yylineno
1499
1500
  });
1500
1501
  }, "next"),
1501
- lex: /* @__PURE__ */ e(function() {
1502
+ lex: /* @__PURE__ */ h(function() {
1502
1503
  return this.next() || this.lex();
1503
1504
  }, "lex"),
1504
- begin: /* @__PURE__ */ e(function(e) {
1505
+ begin: /* @__PURE__ */ h(function(e) {
1505
1506
  this.conditionStack.push(e);
1506
1507
  }, "begin"),
1507
- popState: /* @__PURE__ */ e(function() {
1508
+ popState: /* @__PURE__ */ h(function() {
1508
1509
  return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1509
1510
  }, "popState"),
1510
- _currentRules: /* @__PURE__ */ e(function() {
1511
+ _currentRules: /* @__PURE__ */ h(function() {
1511
1512
  return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
1512
1513
  }, "_currentRules"),
1513
- topState: /* @__PURE__ */ e(function(e) {
1514
+ topState: /* @__PURE__ */ h(function(e) {
1514
1515
  return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
1515
1516
  }, "topState"),
1516
- pushState: /* @__PURE__ */ e(function(e) {
1517
+ pushState: /* @__PURE__ */ h(function(e) {
1517
1518
  this.begin(e);
1518
1519
  }, "pushState"),
1519
- stateStackSize: /* @__PURE__ */ e(function() {
1520
+ stateStackSize: /* @__PURE__ */ h(function() {
1520
1521
  return this.conditionStack.length;
1521
1522
  }, "stateStackSize"),
1522
1523
  options: { "case-insensitive": !0 },
1523
- performAction: /* @__PURE__ */ e(function(e, t, n, r) {
1524
+ performAction: /* @__PURE__ */ h(function(e, t, n, r) {
1524
1525
  switch (n) {
1525
1526
  case 0: break;
1526
1527
  case 1: break;
@@ -1650,65 +1651,65 @@ var U = (function() {
1650
1651
  function _() {
1651
1652
  this.yy = {};
1652
1653
  }
1653
- return e(_, "Parser"), _.prototype = g, g.Parser = _, new _();
1654
+ return h(_, "Parser"), _.prototype = g, g.Parser = _, new _();
1654
1655
  })();
1655
- U.parser = U;
1656
- var Ee = U, W = [], G = [], K = [], q = /* @__PURE__ */ new Set(), J, Y = !1, De = /* @__PURE__ */ e((e, t, n) => {
1657
- let r = Z(e).sort(), i = n ?? 10 / e.length ** 2;
1658
- J = r, r.length === 1 && q.add(r[0]), W.push({
1656
+ W.parser = W;
1657
+ var Te = W, G = [], K = [], q = [], J = /* @__PURE__ */ new Set(), Y, X = !1, Ee = /* @__PURE__ */ h((e, t, n) => {
1658
+ let r = Q(e).sort(), i = n ?? 10 / e.length ** 2;
1659
+ Y = r, r.length === 1 && J.add(r[0]), G.push({
1659
1660
  sets: r,
1660
1661
  size: i,
1661
- label: t ? X(t) : void 0
1662
+ label: t ? Z(t) : void 0
1662
1663
  });
1663
- }, "addSubsetData"), Oe = /* @__PURE__ */ e(() => W, "getSubsetData"), X = /* @__PURE__ */ e((e) => {
1664
+ }, "addSubsetData"), De = /* @__PURE__ */ h(() => G, "getSubsetData"), Z = /* @__PURE__ */ h((e) => {
1664
1665
  let t = e.trim();
1665
1666
  return t.length >= 2 && t.startsWith("\"") && t.endsWith("\"") ? t.slice(1, -1) : t;
1666
- }, "normalizeText"), ke = /* @__PURE__ */ e((e) => e && X(e), "normalizeStyleValue"), Ae = /* @__PURE__ */ e((e, t, n) => {
1667
- let r = X(t);
1668
- G.push({
1669
- sets: Z(e).sort(),
1667
+ }, "normalizeText"), Oe = /* @__PURE__ */ h((e) => e && Z(e), "normalizeStyleValue"), ke = /* @__PURE__ */ h((e, t, n) => {
1668
+ let r = Z(t);
1669
+ K.push({
1670
+ sets: Q(e).sort(),
1670
1671
  id: r,
1671
- label: n ? X(n) : void 0
1672
+ label: n ? Z(n) : void 0
1672
1673
  });
1673
- }, "addTextData"), je = /* @__PURE__ */ e((e, t) => {
1674
- let n = Z(e).sort(), r = {};
1675
- for (let [e, n] of t) r[e] = ke(n) ?? n;
1676
- K.push({
1674
+ }, "addTextData"), Ae = /* @__PURE__ */ h((e, t) => {
1675
+ let n = Q(e).sort(), r = {};
1676
+ for (let [e, n] of t) r[e] = Oe(n) ?? n;
1677
+ q.push({
1677
1678
  targets: n,
1678
1679
  styles: r
1679
1680
  });
1680
- }, "addStyleData"), Me = /* @__PURE__ */ e(() => K, "getStyleData"), Z = /* @__PURE__ */ e((e) => e.map((e) => X(e)), "normalizeIdentifierList"), Ne = /* @__PURE__ */ e((e) => {
1681
- let t = Z(e).filter((e) => !q.has(e));
1681
+ }, "addStyleData"), je = /* @__PURE__ */ h(() => q, "getStyleData"), Q = /* @__PURE__ */ h((e) => e.map((e) => Z(e)), "normalizeIdentifierList"), Me = /* @__PURE__ */ h((e) => {
1682
+ let t = Q(e).filter((e) => !J.has(e));
1682
1683
  if (t.length > 0) throw Error(`unknown set identifier: ${t.join(", ")}`);
1683
- }, "validateUnionIdentifiers"), Pe = /* @__PURE__ */ e(() => G, "getTextData"), Fe = /* @__PURE__ */ e(() => J, "getCurrentSets"), Ie = /* @__PURE__ */ e(() => Y, "getIndentMode"), Le = /* @__PURE__ */ e((e) => {
1684
- Y = e;
1685
- }, "setIndentMode"), Re = u.venn;
1686
- function ze() {
1687
- return g(Re, s().venn);
1684
+ }, "validateUnionIdentifiers"), Ne = /* @__PURE__ */ h(() => K, "getTextData"), Pe = /* @__PURE__ */ h(() => Y, "getCurrentSets"), Fe = /* @__PURE__ */ h(() => X, "getIndentMode"), Ie = /* @__PURE__ */ h((e) => {
1685
+ X = e;
1686
+ }, "setIndentMode"), Le = l.venn;
1687
+ function Re() {
1688
+ return g(Le, o().venn);
1688
1689
  }
1689
- e(ze, "getConfig");
1690
- var Be = {
1691
- getConfig: ze,
1692
- clear: /* @__PURE__ */ e(() => {
1693
- o(), W.length = 0, G.length = 0, K.length = 0, q.clear(), J = void 0, Y = !1;
1690
+ h(Re, "getConfig");
1691
+ var ze = {
1692
+ getConfig: Re,
1693
+ clear: /* @__PURE__ */ h(() => {
1694
+ a(), G.length = 0, K.length = 0, q.length = 0, J.clear(), Y = void 0, X = !1;
1694
1695
  }, "customClear"),
1695
- setAccTitle: a,
1696
- getAccTitle: h,
1697
- setDiagramTitle: i,
1698
- getDiagramTitle: m,
1699
- getAccDescription: p,
1700
- setAccDescription: r,
1701
- addSubsetData: De,
1702
- getSubsetData: Oe,
1703
- addTextData: Ae,
1704
- addStyleData: je,
1705
- validateUnionIdentifiers: Ne,
1706
- getTextData: Pe,
1707
- getStyleData: Me,
1708
- getCurrentSets: Fe,
1709
- getIndentMode: Ie,
1710
- setIndentMode: Le
1711
- }, Ve = /* @__PURE__ */ e((e) => `
1696
+ setAccTitle: i,
1697
+ getAccTitle: m,
1698
+ setDiagramTitle: r,
1699
+ getDiagramTitle: p,
1700
+ getAccDescription: f,
1701
+ setAccDescription: n,
1702
+ addSubsetData: Ee,
1703
+ getSubsetData: De,
1704
+ addTextData: ke,
1705
+ addStyleData: Ae,
1706
+ validateUnionIdentifiers: Me,
1707
+ getTextData: Ne,
1708
+ getStyleData: je,
1709
+ getCurrentSets: Pe,
1710
+ getIndentMode: Fe,
1711
+ setIndentMode: Ie
1712
+ }, Be = /* @__PURE__ */ h((e) => `
1712
1713
  .venn-title {
1713
1714
  font-size: 32px;
1714
1715
  fill: ${e.vennTitleTextColor};
@@ -1731,7 +1732,7 @@ var Be = {
1731
1732
  color: ${e.vennSetTextColor};
1732
1733
  }
1733
1734
  `, "getStyles");
1734
- function He(e) {
1735
+ function Ve(e) {
1735
1736
  let t = /* @__PURE__ */ new Map();
1736
1737
  for (let n of e) {
1737
1738
  let e = n.targets.join("|"), r = t.get(e);
@@ -1739,9 +1740,9 @@ function He(e) {
1739
1740
  }
1740
1741
  return t;
1741
1742
  }
1742
- e(He, "buildStyleByKey");
1743
- var Ue = /* @__PURE__ */ e((e, r, i, a) => {
1744
- let o = a.db, u = o.getConfig?.(), { themeVariables: f, look: p, handDrawnSeed: m } = s(), h = p === "handDrawn", g = [
1743
+ h(Ve, "buildStyleByKey");
1744
+ var He = /* @__PURE__ */ h((n, r, i, a) => {
1745
+ let l = a.db, d = l.getConfig?.(), { themeVariables: f, look: p, handDrawnSeed: m } = o(), h = p === "handDrawn", g = [
1745
1746
  f.venn1,
1746
1747
  f.venn2,
1747
1748
  f.venn3,
@@ -1750,29 +1751,29 @@ var Ue = /* @__PURE__ */ e((e, r, i, a) => {
1750
1751
  f.venn6,
1751
1752
  f.venn7,
1752
1753
  f.venn8
1753
- ].filter(Boolean), b = o.getDiagramTitle?.(), x = o.getSubsetData(), S = o.getTextData(), C = He(o.getStyleData()), w = u?.width ?? 800, T = u?.height ?? 450, E = w / 1600, D = b ? 48 * E : 0, O = f.primaryTextColor ?? f.textColor, k = _(r);
1754
- k.attr("viewBox", `0 0 ${w} ${T}`), b && k.append("text").text(b).attr("class", "venn-title").attr("font-size", `${32 * E}px`).attr("text-anchor", "middle").attr("dominant-baseline", "middle").attr("x", "50%").attr("y", 32 * E).style("fill", f.vennTitleTextColor || f.titleColor);
1755
- let A = t(document.createElement("div")), j = ge().width(w).height(T - D);
1756
- A.datum(x).call(j);
1757
- let M = h ? v.svg(A.select("svg").node()) : void 0, N = Te(x, {
1758
- width: w,
1759
- height: T - D,
1760
- padding: u?.padding ?? 15
1761
- }), P = /* @__PURE__ */ new Map();
1762
- for (let e of N) {
1763
- let t = Q([...e.data.sets].sort());
1764
- P.set(t, e);
1754
+ ].filter(Boolean), b = l.getDiagramTitle?.(), x = l.getSubsetData(), S = l.getTextData(), C = Ve(l.getStyleData()), w = We(x), T = d?.width ?? 800, E = d?.height ?? 450, D = T / 1600, O = b ? 48 * D : 0, k = f.primaryTextColor ?? f.textColor, A = _(r);
1755
+ A.attr("viewBox", `0 0 ${T} ${E}`), b && A.append("text").text(b).attr("class", "venn-title").attr("font-size", `${32 * D}px`).attr("text-anchor", "middle").attr("dominant-baseline", "middle").attr("x", "50%").attr("y", 32 * D).style("fill", f.vennTitleTextColor || f.titleColor);
1756
+ let j = e(document.createElement("div")), M = he().width(T).height(E - O);
1757
+ j.datum(w).call(M);
1758
+ let N = h ? v.svg(j.select("svg").node()) : void 0, P = we(w, {
1759
+ width: T,
1760
+ height: E - O,
1761
+ padding: d?.padding ?? 15
1762
+ }), F = /* @__PURE__ */ new Map();
1763
+ for (let e of P) {
1764
+ let t = $([...e.data.sets].sort());
1765
+ F.set(t, e);
1765
1766
  }
1766
- S.length > 0 && $(u, P, A, S, E, C);
1767
- let F = d(f.background || "#f4f4f4");
1768
- A.selectAll(".venn-circle").each(function(e, r) {
1769
- let i = t(this), a = Q([...e.sets].sort()), o = C.get(a), s = o?.fill || g[r % g.length] || f.primaryColor;
1767
+ S.length > 0 && Ue(d, F, j, S, D, C);
1768
+ let I = u(f.background || "#f4f4f4");
1769
+ j.selectAll(".venn-circle").each(function(n, r) {
1770
+ let i = e(this), a = $([...n.sets].sort()), o = C.get(a), s = o?.fill || g[r % g.length] || f.primaryColor;
1770
1771
  i.classed(`venn-set-${r % 8}`, !0);
1771
- let c = o?.["fill-opacity"] ?? .1, u = o?.stroke || s, d = o?.["stroke-width"] || `${5 * E}`;
1772
- if (h && M) {
1773
- let e = P.get(a);
1772
+ let l = o?.["fill-opacity"] ?? .1, u = o?.stroke || s, d = o?.["stroke-width"] || `${5 * D}`;
1773
+ if (h && N) {
1774
+ let e = F.get(a);
1774
1775
  if (e && e.circles.length > 0) {
1775
- let t = e.circles[0], n = M.circle(t.x, t.y, t.radius * 2, {
1776
+ let t = e.circles[0], n = N.circle(t.x, t.y, t.radius * 2, {
1776
1777
  roughness: .7,
1777
1778
  seed: m,
1778
1779
  fill: y(s, .7),
@@ -1785,15 +1786,15 @@ var Ue = /* @__PURE__ */ e((e, r, i, a) => {
1785
1786
  });
1786
1787
  i.select("path").remove(), i.node()?.insertBefore(n, i.select("text").node());
1787
1788
  }
1788
- } else i.select("path").style("fill", s).style("fill-opacity", c).style("stroke", u).style("stroke-width", d).style("stroke-opacity", .95);
1789
- let p = o?.color || (F ? l(s, 30) : n(s, 30));
1790
- i.select("text").style("font-size", `${48 * E}px`).style("fill", p);
1791
- }), h && M ? A.selectAll(".venn-intersection").each(function(e) {
1792
- let n = t(this), r = Q([...e.sets].sort()), i = C.get(r), a = i?.fill;
1789
+ } else i.select("path").style("fill", s).style("fill-opacity", l).style("stroke", u).style("stroke-width", d).style("stroke-opacity", .95);
1790
+ let p = o?.color || (I ? c(s, 30) : t(s, 30));
1791
+ i.select("text").style("font-size", `${48 * D}px`).style("fill", p);
1792
+ }), h && N ? j.selectAll(".venn-intersection").each(function(t) {
1793
+ let n = e(this), r = $([...t.sets].sort()), i = C.get(r), a = i?.fill;
1793
1794
  if (a) {
1794
1795
  let e = n.select("path"), t = e.attr("d");
1795
1796
  if (t) {
1796
- let n = M.path(t, {
1797
+ let n = N.path(t, {
1797
1798
  roughness: .7,
1798
1799
  seed: m,
1799
1800
  fill: y(a, .3),
@@ -1806,29 +1807,29 @@ var Ue = /* @__PURE__ */ e((e, r, i, a) => {
1806
1807
  r?.parentNode?.insertBefore(n, r), e.remove();
1807
1808
  }
1808
1809
  } else n.select("path").style("fill-opacity", 0);
1809
- n.select("text").style("font-size", `${48 * E}px`).style("fill", i?.color ?? f.vennSetTextColor ?? O);
1810
- }) : (A.selectAll(".venn-intersection text").style("font-size", `${48 * E}px`).style("fill", (e) => {
1811
- let t = Q([...e.sets].sort());
1812
- return C.get(t)?.color ?? f.vennSetTextColor ?? O;
1813
- }), A.selectAll(".venn-intersection path").style("fill-opacity", (e) => {
1814
- let t = Q([...e.sets].sort());
1810
+ n.select("text").style("font-size", `${48 * D}px`).style("fill", i?.color ?? f.vennSetTextColor ?? k);
1811
+ }) : (j.selectAll(".venn-intersection text").style("font-size", `${48 * D}px`).style("fill", (e) => {
1812
+ let t = $([...e.sets].sort());
1813
+ return C.get(t)?.color ?? f.vennSetTextColor ?? k;
1814
+ }), j.selectAll(".venn-intersection path").style("fill-opacity", (e) => {
1815
+ let t = $([...e.sets].sort());
1815
1816
  return +!!C.get(t)?.fill;
1816
1817
  }).style("fill", (e) => {
1817
- let t = Q([...e.sets].sort());
1818
+ let t = $([...e.sets].sort());
1818
1819
  return C.get(t)?.fill ?? "transparent";
1819
1820
  }));
1820
- let I = k.append("g").attr("transform", `translate(0, ${D})`), L = A.select("svg").node();
1821
- if (L && "childNodes" in L) for (let e of [...L.childNodes]) I.node()?.appendChild(e);
1822
- c(k, T, w, u?.useMaxWidth ?? !0);
1821
+ let L = A.append("g").attr("transform", `translate(0, ${O})`), R = j.select("svg").node();
1822
+ if (R && "childNodes" in R) for (let e of [...R.childNodes]) L.node()?.appendChild(e);
1823
+ s(A, E, T, d?.useMaxWidth ?? !0);
1823
1824
  }, "draw");
1824
- function Q(e) {
1825
+ function $(e) {
1825
1826
  return e.join("|");
1826
1827
  }
1827
- e(Q, "stableSetsKey");
1828
- function $(e, t, n, r, i, a) {
1828
+ h($, "stableSetsKey");
1829
+ function Ue(e, t, n, r, i, a) {
1829
1830
  let o = e?.useDebugLayout ?? !1, s = n.select("svg").append("g").attr("class", "venn-text-nodes"), c = /* @__PURE__ */ new Map();
1830
1831
  for (let e of r) {
1831
- let t = Q(e.sets), n = c.get(t);
1832
+ let t = $(e.sets), n = c.get(t);
1832
1833
  n ? n.push(e) : c.set(t, [e]);
1833
1834
  }
1834
1835
  for (let [e, n] of c.entries()) {
@@ -1847,12 +1848,33 @@ function $(e, t, n, r, i, a) {
1847
1848
  }
1848
1849
  }
1849
1850
  }
1850
- e($, "renderTextNodes");
1851
- var We = {
1852
- parser: Ee,
1853
- db: Be,
1854
- renderer: { draw: Ue },
1855
- styles: Ve
1851
+ h(Ue, "renderTextNodes");
1852
+ function We(e) {
1853
+ let t = new Set(e.map((e) => [...e.sets].sort().join("|"))), n = new Map(e.filter((e) => e.sets.length === 1 && e.size !== void 0).map((e) => [e.sets[0], e.size])), r = [];
1854
+ for (let i of e) {
1855
+ if (i.sets.length < 3) continue;
1856
+ let e = [...i.sets].sort();
1857
+ for (let i = 0; i < e.length - 1; i++) for (let a = i + 1; a < e.length; a++) {
1858
+ let o = [e[i], e[a]], s = o.join("|");
1859
+ if (!t.has(s)) {
1860
+ t.add(s);
1861
+ let e = n.get(o[0]), i = n.get(o[1]), a = e !== void 0 && i !== void 0 ? Math.min(e, i) / 4 : 2.5;
1862
+ r.push({
1863
+ sets: o,
1864
+ size: a,
1865
+ label: ""
1866
+ });
1867
+ }
1868
+ }
1869
+ }
1870
+ return r.length > 0 ? [...e, ...r] : e;
1871
+ }
1872
+ h(We, "ensurePairwiseSubsets");
1873
+ var Ge = {
1874
+ parser: Te,
1875
+ db: ze,
1876
+ renderer: { draw: He },
1877
+ styles: Be
1856
1878
  };
1857
1879
  //#endregion
1858
- export { We as diagram };
1880
+ export { Ge as diagram };