ranui 0.2.1-alpha.1 → 0.2.1-alpha.4

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 (312) hide show
  1. package/dist/abnfDiagram-VRR7QNED-CH_pIv_l.cjs +1 -0
  2. package/dist/abnfDiagram-VRR7QNED-CTsqwzwi.js +95 -0
  3. package/dist/arc-D25LhgTs.cjs +1 -0
  4. package/dist/arc-DRPGof21.js +82 -0
  5. package/dist/architecture-TIHT7OUA-BbBd15_y.cjs +1 -0
  6. package/dist/architecture-TIHT7OUA-pbFO1xSx.js +5 -0
  7. package/dist/architectureDiagram-ZJ3FMSHR-8mjyXr-w.js +4279 -0
  8. package/dist/architectureDiagram-ZJ3FMSHR-D_jWFFZx.cjs +36 -0
  9. package/dist/array-By5736M5.js +7 -0
  10. package/dist/array-C3cbN3GY.cjs +1 -0
  11. package/dist/blockDiagram-677ZJIJ3-3F79MOSt.js +3321 -0
  12. package/dist/blockDiagram-677ZJIJ3-Cx35khWe.cjs +132 -0
  13. package/dist/builder.d.ts +2 -2
  14. package/dist/builder.js +39 -34
  15. package/dist/{builtin-D9djWkCE.js → builtin-1lUEp_ro.js} +83 -76
  16. package/dist/button-Cj-XSCsd.js +117 -0
  17. package/dist/button.js +1 -1
  18. package/dist/c4Diagram-LMCZKHZV-Cxn_gqu_.js +3064 -0
  19. package/dist/c4Diagram-LMCZKHZV-TRNb3Gvl.cjs +10 -0
  20. package/dist/{card-CqJa4Q_v.js → card-BHN9Xp4S.js} +2 -2
  21. package/dist/card.js +1 -1
  22. package/dist/channel-C9WSNwcS.cjs +1 -0
  23. package/dist/channel-k5-UxdcV.js +5 -0
  24. package/dist/{checkbox-CThC9-vy.js → checkbox-O_J_n1_W.js} +10 -10
  25. package/dist/checkbox.js +1 -1
  26. package/dist/chunk-2Q5K7J3B-CTMy5FII.cjs +1 -0
  27. package/dist/chunk-2Q5K7J3B-DlFVJRAn.js +15 -0
  28. package/dist/chunk-32BRIVSS-BXVdG_nV.cjs +1 -0
  29. package/dist/chunk-32BRIVSS-jAuAwMVV.js +68 -0
  30. package/dist/chunk-52WLFC77-BChUrU24.cjs +10 -0
  31. package/dist/chunk-52WLFC77-wpL7en7e.js +630 -0
  32. package/dist/chunk-5VM5RSS4-Cni2Ogq2.js +19 -0
  33. package/dist/chunk-5VM5RSS4-DudUFQ_Z.cjs +15 -0
  34. package/dist/chunk-7BUUIJ7U-9hiBbc7O.js +87 -0
  35. package/dist/chunk-7BUUIJ7U-DMv_UkjI.cjs +1 -0
  36. package/dist/chunk-C7G6YPKG-CA-DNpvI.js +71 -0
  37. package/dist/chunk-C7G6YPKG-CKEeW9TM.cjs +1 -0
  38. package/dist/chunk-EX3LRPZG-BCmf0iDq.js +2137 -0
  39. package/dist/chunk-EX3LRPZG-DbfbNdXo.cjs +231 -0
  40. package/dist/chunk-FWX5IMBZ-D11-gbhc.cjs +1 -0
  41. package/dist/chunk-FWX5IMBZ-DZ5VYvm5.js +60 -0
  42. package/dist/chunk-HOUHSVGY-BGB3dOvI.cjs +1 -0
  43. package/dist/chunk-HOUHSVGY-DRQcQeMT.js +268 -0
  44. package/dist/chunk-ICXQ74PX-BbT9JaEW.cjs +2 -0
  45. package/dist/chunk-ICXQ74PX-DR8rL-xF.js +1377 -0
  46. package/dist/chunk-JWPE2WC7-CGEmUMMZ.js +8 -0
  47. package/dist/chunk-JWPE2WC7-D8EnWK1B.cjs +1 -0
  48. package/dist/chunk-KEIR6QF5-B2Op7cFH.js +22155 -0
  49. package/dist/chunk-KEIR6QF5-C4fcHpY0.cjs +161 -0
  50. package/dist/chunk-MOJQB5TN-BC46HDyu.js +516 -0
  51. package/dist/chunk-MOJQB5TN-oOeq982_.cjs +88 -0
  52. package/dist/chunk-OGEWGWER-BV51ll2w.js +33 -0
  53. package/dist/chunk-OGEWGWER-DX8sW1dT.cjs +1 -0
  54. package/dist/chunk-PUDLZKDR-48YaqVoF.cjs +156 -0
  55. package/dist/chunk-PUDLZKDR-NdMR0Ft5.js +4282 -0
  56. package/dist/chunk-Q4XR5HBZ-3BHjjc9u.js +1709 -0
  57. package/dist/chunk-Q4XR5HBZ-aBnPq509.cjs +70 -0
  58. package/dist/chunk-RYQCIY6F-BER2T9t0.js +246 -0
  59. package/dist/chunk-RYQCIY6F-DVRzSnsI.cjs +1 -0
  60. package/dist/chunk-V7JOEXUC-Cr_hr02u.js +3467 -0
  61. package/dist/chunk-V7JOEXUC-DHizzTla.cjs +206 -0
  62. package/dist/chunk-VAUOI2AC-DfQf5L2_.cjs +1 -0
  63. package/dist/chunk-VAUOI2AC-izt0o4id.js +11 -0
  64. package/dist/chunk-VR4S4FIN-CJi5okl4.js +26 -0
  65. package/dist/chunk-VR4S4FIN-KiwnPF31.cjs +1 -0
  66. package/dist/chunk-WYO6CB5R-DDHkKowO.js +4535 -0
  67. package/dist/chunk-WYO6CB5R-u4mJNOcO.cjs +127 -0
  68. package/dist/chunk-XXDRQBXY-BB1i_53q.js +9 -0
  69. package/dist/chunk-XXDRQBXY-C8VGLZmt.cjs +1 -0
  70. package/dist/chunk-Y2CYZVJY-0JxdZxki.js +13 -0
  71. package/dist/chunk-Y2CYZVJY-DPaYLFFP.cjs +1 -0
  72. package/dist/chunk-ZGVPDNZ5-6uMbTJXy.js +3841 -0
  73. package/dist/chunk-ZGVPDNZ5-Cw5_HJba.cjs +62 -0
  74. package/dist/chunk-ZIRB5QZD-C7OH2FI2.js +1280 -0
  75. package/dist/chunk-ZIRB5QZD-aLu-4ITN.cjs +32 -0
  76. package/dist/classDiagram-OUVF2IWQ-D6rqYIh0.cjs +1 -0
  77. package/dist/classDiagram-OUVF2IWQ-Df0ghim9.js +30 -0
  78. package/dist/classDiagram-v2-EOCWNBFH-D6rqYIh0.cjs +1 -0
  79. package/dist/classDiagram-v2-EOCWNBFH-Df0ghim9.js +30 -0
  80. package/dist/{colorpicker-XNxDRcQ-.js → colorpicker-mebH0XLm.js} +8 -8
  81. package/dist/colorpicker.js +1 -1
  82. package/dist/components/glass/index.d.ts +52 -0
  83. package/dist/components/icon/core-icons.d.ts +13 -0
  84. package/dist/components/icon/index.d.ts +1 -1
  85. package/dist/components/mermaid/index.d.ts +52 -0
  86. package/dist/components/modal/index.d.ts +9 -0
  87. package/dist/content-YOKzMoc7.js +39 -0
  88. package/dist/content.js +5 -0
  89. package/dist/cose-bilkent-JH36ORCC-BUxFTdey.cjs +1 -0
  90. package/dist/cose-bilkent-JH36ORCC-DTwvJlGw.js +2353 -0
  91. package/dist/cynefin-VYW2F7L2-6c1GOGXW.cjs +1 -0
  92. package/dist/cynefin-VYW2F7L2-ALQKF7N6.js +5 -0
  93. package/dist/cynefinDiagram-TSTJHNR4-Bjt4QTVh.js +355 -0
  94. package/dist/cynefinDiagram-TSTJHNR4-ISDORSxO.cjs +62 -0
  95. package/dist/cytoscape.esm-CFq1_DTa.js +18906 -0
  96. package/dist/cytoscape.esm-pygMw4dR.cjs +321 -0
  97. package/dist/dagre-D1-W1tt6.cjs +1 -0
  98. package/dist/dagre-D8GLTwuf.js +1578 -0
  99. package/dist/dagre-VKFMJZFB-DXI69qAN.cjs +4 -0
  100. package/dist/dagre-VKFMJZFB-Dfku86Az.js +341 -0
  101. package/dist/defaultLocale-0M_kMcEH.js +184 -0
  102. package/dist/defaultLocale-DSqtvhxg.cjs +1 -0
  103. package/dist/diagram-FQU43EPY-BAiRt5eL.cjs +3 -0
  104. package/dist/diagram-FQU43EPY-BvQ5jmVn.js +452 -0
  105. package/dist/diagram-G47NLZAW-DGnmEa8u.cjs +24 -0
  106. package/dist/diagram-G47NLZAW-DT2BBA0T.js +498 -0
  107. package/dist/diagram-NH7WQ7WH-DxgkStA3.cjs +24 -0
  108. package/dist/diagram-NH7WQ7WH-W7jg4Vh8.js +135 -0
  109. package/dist/diagram-OA4YK3LP-DkvFII73.cjs +30 -0
  110. package/dist/diagram-OA4YK3LP-jU--aqQl.js +317 -0
  111. package/dist/diagram-WEI45ONY-C_Qhf4ny.js +215 -0
  112. package/dist/diagram-WEI45ONY-XvzRFmmY.cjs +41 -0
  113. package/dist/dist-C0Fwsvsq.js +70 -0
  114. package/dist/dist-C20XxSsP.cjs +1 -0
  115. package/dist/{dropdown-CCvsambb.js → dropdown-CzGAVWYC.js} +4 -4
  116. package/dist/dropdown.js +1 -1
  117. package/dist/ebnfDiagram-CCIWWBDH-Cu8bAlhC.cjs +1 -0
  118. package/dist/ebnfDiagram-CCIWWBDH-Gnr20Oc1.js +112 -0
  119. package/dist/erDiagram-Q63AITRT-CxLSa9Yv.cjs +85 -0
  120. package/dist/erDiagram-Q63AITRT-D0Hh9b-W.js +1822 -0
  121. package/dist/eventmodeling-45OFAUF4-C6VXxUn1.cjs +1 -0
  122. package/dist/eventmodeling-45OFAUF4-DMpGs2yI.js +5 -0
  123. package/dist/factory-ZNhcQ4tf.js +482 -0
  124. package/dist/flowDiagram-23GEKE2U-B6gASEYG.cjs +1 -0
  125. package/dist/flowDiagram-23GEKE2U-BY4wE2vw.js +19 -0
  126. package/dist/{form-Ceq3uJzz.js → form-B8afuJlF.js} +5 -5
  127. package/dist/form.js +1 -1
  128. package/dist/ganttDiagram-NO4QXBWP-B40Eabk0.js +3125 -0
  129. package/dist/ganttDiagram-NO4QXBWP-DZT79qJr.cjs +292 -0
  130. package/dist/gitGraph-TEB2WS4Q-BbtF3MDr.cjs +1 -0
  131. package/dist/gitGraph-TEB2WS4Q-D6Ru11Cs.js +5 -0
  132. package/dist/gitGraphDiagram-IHSO6WYX-BUJNSssA.js +754 -0
  133. package/dist/gitGraphDiagram-IHSO6WYX-DW06165m.cjs +106 -0
  134. package/dist/glass-BniIptBE.js +115 -0
  135. package/dist/glass.js +5 -0
  136. package/dist/graphlib-CCKThIKP.js +1104 -0
  137. package/dist/graphlib-Du-578Js.cjs +1 -0
  138. package/dist/{icon-C_ENrJ3F.js → icon-GZrfSeon.js} +77 -25
  139. package/dist/icon.js +1 -1
  140. package/dist/icons.js +1 -1
  141. package/dist/iife/button.iife.js +1 -1
  142. package/dist/iife/card.iife.js +1 -1
  143. package/dist/iife/checkbox.iife.js +1 -1
  144. package/dist/iife/colorpicker.iife.js +2 -2
  145. package/dist/iife/content.iife.js +1 -0
  146. package/dist/iife/dropdown.iife.js +1 -1
  147. package/dist/iife/form.iife.js +1 -1
  148. package/dist/iife/glass.iife.js +1 -0
  149. package/dist/iife/icon.iife.js +1 -1
  150. package/dist/iife/image.iife.js +1 -1
  151. package/dist/iife/input.iife.js +1 -1
  152. package/dist/iife/loading.iife.js +1 -1
  153. package/dist/iife/math.iife.js +14 -14
  154. package/dist/iife/mermaid.iife.js +3535 -0
  155. package/dist/iife/message.iife.js +1 -1
  156. package/dist/iife/modal.iife.js +1 -1
  157. package/dist/iife/player.iife.js +8 -8
  158. package/dist/iife/popover.iife.js +1 -1
  159. package/dist/iife/progress.iife.js +1 -1
  160. package/dist/iife/radar.iife.js +1 -1
  161. package/dist/iife/route.iife.js +1 -1
  162. package/dist/iife/router.iife.js +1 -1
  163. package/dist/iife/scratch.iife.js +1 -1
  164. package/dist/iife/section.iife.js +1 -1
  165. package/dist/iife/select.iife.js +2 -2
  166. package/dist/iife/skeleton.iife.js +1 -1
  167. package/dist/iife/tab.iife.js +1 -1
  168. package/dist/iife/tabpane.iife.js +1 -1
  169. package/dist/iife/theme-switch.iife.js +1 -1
  170. package/dist/{image-B7MBI5n_.js → image-CqoQfJoV.js} +4 -4
  171. package/dist/image.js +1 -1
  172. package/dist/index.cjs +38 -37
  173. package/dist/index.d.ts +8 -0
  174. package/dist/index.iife.js +3623 -88
  175. package/dist/index.js +88 -84
  176. package/dist/info-DKCQHKI2-DNOtUIin.cjs +1 -0
  177. package/dist/info-DKCQHKI2-Df7h9MSE.js +5 -0
  178. package/dist/infoDiagram-FWYZ7A6U-C8dZc-Ki.cjs +2 -0
  179. package/dist/infoDiagram-FWYZ7A6U-Dc0m9qAx.js +21 -0
  180. package/dist/init-1VpIn1S3.js +16 -0
  181. package/dist/init-CbDwVtpO.cjs +1 -0
  182. package/dist/{input-RNqdEHPf.js → input-BlwAXu7I.js} +6 -6
  183. package/dist/input.js +1 -1
  184. package/dist/ishikawaDiagram-FXEZZL3T-BugNyysB.cjs +70 -0
  185. package/dist/ishikawaDiagram-FXEZZL3T-DuFtHOmf.js +742 -0
  186. package/dist/journeyDiagram-5HDEW3XC-Bshelnhq.js +928 -0
  187. package/dist/journeyDiagram-5HDEW3XC-ItmURvA2.cjs +139 -0
  188. package/dist/kanban-definition-HUTT4EX6-BL512R2A.cjs +89 -0
  189. package/dist/kanban-definition-HUTT4EX6-Dogv2paU.js +1050 -0
  190. package/dist/katex-Cq3Y8cmK.cjs +257 -0
  191. package/dist/katex-Pg2EqTH0.js +23485 -0
  192. package/dist/line-BIPmUVxO.js +33 -0
  193. package/dist/line-CAB5QHC6.cjs +1 -0
  194. package/dist/linear-B2AM4ZBe.js +259 -0
  195. package/dist/linear-CSAfNEpl.cjs +1 -0
  196. package/dist/{link-DURZzd7u.js → link-BCrmHvXP.js} +3 -3
  197. package/dist/link.js +1 -1
  198. package/dist/{loading-B9MFI03l.js → loading-M6gWxLbm.js} +4 -4
  199. package/dist/loading.js +1 -1
  200. package/dist/map-BC2bk_rV.cjs +1 -0
  201. package/dist/map-DMSWkcq6.js +208 -0
  202. package/dist/{math-CudIwEXZ.js → math-8E-45Y8e.js} +4 -4
  203. package/dist/math.js +1 -1
  204. package/dist/mermaid-C1oQyPE3.js +261 -0
  205. package/dist/mermaid-parser.core-DYumW1vq.cjs +6 -0
  206. package/dist/mermaid-parser.core-uIDZYuBu.js +654 -0
  207. package/dist/mermaid.core-B2d5lQW2.js +1085 -0
  208. package/dist/mermaid.core-a1hgpWfs.cjs +10 -0
  209. package/dist/mermaid.js +5 -0
  210. package/dist/{message-DW7qWpEm.js → message-CNdmbeLf.js} +6 -6
  211. package/dist/message.js +1 -1
  212. package/dist/mindmap-definition-LN4V7U3C-DYZgIZym.cjs +96 -0
  213. package/dist/mindmap-definition-LN4V7U3C-f7s5ZePP.js +1070 -0
  214. package/dist/{modal-CrvGKL2B.js → modal-gRagDkTb.js} +40 -24
  215. package/dist/modal.js +1 -1
  216. package/dist/ordinal-BMN81JG2.js +64 -0
  217. package/dist/ordinal-BplLHIij.cjs +1 -0
  218. package/dist/packet-7NZHBO7P-4PLslLZJ.js +5 -0
  219. package/dist/packet-7NZHBO7P-DeyLCrSn.cjs +1 -0
  220. package/dist/path-Bja5PoYn.js +82 -0
  221. package/dist/path-DmfWsuKi.cjs +1 -0
  222. package/dist/pegDiagram-2B236MQR-B-Xeh55J.js +107 -0
  223. package/dist/pegDiagram-2B236MQR-Bo5Nj40u.cjs +1 -0
  224. package/dist/pie-RZYD4A2V-DBE9a8Kz.js +5 -0
  225. package/dist/pie-RZYD4A2V-pDNZ2ZyB.cjs +1 -0
  226. package/dist/pieDiagram-ENE6RG2P-BkSiP4iu.cjs +39 -0
  227. package/dist/pieDiagram-ENE6RG2P-CVSE95zc.js +207 -0
  228. package/dist/{player-BKQaaT7o.js → player-CAQ5Og2P.js} +196 -195
  229. package/dist/player.js +1 -1
  230. package/dist/{popover-CvYIVgUS.js → popover-BZKSLe3D.js} +22 -54
  231. package/dist/popover.js +1 -1
  232. package/dist/{progress-C6jctsFH.js → progress-vk40tuhm.js} +5 -5
  233. package/dist/progress.js +1 -1
  234. package/dist/quadrantDiagram-ABIIQ3AL-BDmdDGsh.cjs +7 -0
  235. package/dist/quadrantDiagram-ABIIQ3AL-TJ8FmqES.js +2058 -0
  236. package/dist/{radar-BUb4EzmG.js → radar-Bg0cexzU.js} +5 -5
  237. package/dist/radar-I7S5WNFK-CY5ycn2a.cjs +1 -0
  238. package/dist/radar-I7S5WNFK-DFTxtd_t.js +5 -0
  239. package/dist/radar.js +1 -1
  240. package/dist/railroad-3IZDKUUU-DALJwv16.js +5 -0
  241. package/dist/railroad-3IZDKUUU-DGzXHqt7.cjs +1 -0
  242. package/dist/railroad-abnf-AHOZXSZD-BCIHdSw6.cjs +1 -0
  243. package/dist/railroad-abnf-AHOZXSZD-CntW2udQ.js +5 -0
  244. package/dist/railroad-ebnf-EBAXGLYW-4vFZrfHF.cjs +1 -0
  245. package/dist/railroad-ebnf-EBAXGLYW-s_1ZOb_9.js +5 -0
  246. package/dist/railroad-peg-LSFZ7HO6-CaM5A0Ml.js +5 -0
  247. package/dist/railroad-peg-LSFZ7HO6-D_oFW1Bo.cjs +1 -0
  248. package/dist/railroadDiagram-RFXS5EU6-0lS5wYI7.js +83 -0
  249. package/dist/railroadDiagram-RFXS5EU6-DJKAtnQk.cjs +1 -0
  250. package/dist/ranui.css +1 -1
  251. package/dist/requirementDiagram-TGXJPOKE-Bg701bNl.cjs +84 -0
  252. package/dist/requirementDiagram-TGXJPOKE-viCQLyJd.js +2301 -0
  253. package/dist/rolldown-runtime-9ZSF5uba.js +16 -0
  254. package/dist/rolldown-runtime-CAnuVJ4g.cjs +1 -0
  255. package/dist/rough.esm-BWe9E0Nz.js +1387 -0
  256. package/dist/rough.esm-BfSi6CZE.cjs +1 -0
  257. package/dist/{route-Djrf9UR_.js → route-CGwS0cd_.js} +10 -10
  258. package/dist/route.js +1 -1
  259. package/dist/{router-BU2KhtxV.js → router-BK6DEkcN.js} +5 -5
  260. package/dist/router.js +1 -1
  261. package/dist/sankeyDiagram-HTMAVEWB-CV6_AuMF.js +974 -0
  262. package/dist/sankeyDiagram-HTMAVEWB-K-nGMsuS.cjs +40 -0
  263. package/dist/{scratch-CO4I2dIa.js → scratch-ClF1awGi.js} +2 -2
  264. package/dist/scratch.js +1 -1
  265. package/dist/{section-CsUkp8bv.js → section-BL0V7Kjf.js} +2 -2
  266. package/dist/section.js +1 -1
  267. package/dist/{select-Dn26ajJZ.js → select-BIFVbQIj.js} +13 -13
  268. package/dist/select.js +1 -1
  269. package/dist/sequenceDiagram-DBY2YBRQ-4GdkLnUr.cjs +162 -0
  270. package/dist/sequenceDiagram-DBY2YBRQ-B9WNesh2.js +4326 -0
  271. package/dist/sizeCapture-X5ZJPWSS-BUY3-n09.cjs +1 -0
  272. package/dist/sizeCapture-X5ZJPWSS-D7rGsqTl.js +48 -0
  273. package/dist/{skeleton-BuMLhvzQ.js → skeleton-D7JIbROq.js} +5 -5
  274. package/dist/skeleton.js +1 -1
  275. package/dist/src-C9EhKhbk.cjs +1 -0
  276. package/dist/src-DtRLxcYO.js +2104 -0
  277. package/dist/stateDiagram-2N3HPSRC-B7VpgjJu.cjs +1 -0
  278. package/dist/stateDiagram-2N3HPSRC-DxH4BMSh.js +237 -0
  279. package/dist/stateDiagram-v2-6OUMAXLB-CQv7GIaO.cjs +1 -0
  280. package/dist/stateDiagram-v2-6OUMAXLB-CWfn6e7n.js +30 -0
  281. package/dist/swimlanes-5IMT3BWC-DcADNGpg.js +5258 -0
  282. package/dist/swimlanes-5IMT3BWC-o-MjdPlw.cjs +1 -0
  283. package/dist/swimlanesDiagram-G3AALYLV-D-rmAGky.cjs +8 -0
  284. package/dist/swimlanesDiagram-G3AALYLV-DDtDtl1L.js +31 -0
  285. package/dist/{tab-40fDkuox.js → tab-DFVtDJb2.js} +5 -5
  286. package/dist/tab.js +1 -1
  287. package/dist/{tabpane-F4Pd7JtC.js → tabpane-C3qZGN-D.js} +5 -5
  288. package/dist/tabpane.js +1 -1
  289. package/dist/test/ssr/stream.test.d.ts +1 -0
  290. package/dist/{theme-switch-B09egc6h.js → theme-switch-BXNH5uPD.js} +45 -45
  291. package/dist/theme-switch.js +1 -1
  292. package/dist/timeline-definition-FHXFAJF6-C80VjPLh.js +1119 -0
  293. package/dist/timeline-definition-FHXFAJF6-DOwvOb3S.cjs +120 -0
  294. package/dist/treeView-QDETBFTQ-B1Ejxfpg.cjs +1 -0
  295. package/dist/treeView-QDETBFTQ-vTKOZls1.js +5 -0
  296. package/dist/treemap-6X3UGDF4-D0FeO_NX.cjs +1 -0
  297. package/dist/treemap-6X3UGDF4-Ddzv6Gqd.js +5 -0
  298. package/dist/utils/builder/core.d.ts +135 -3
  299. package/dist/utils/builder/index.d.ts +1 -1
  300. package/dist/{utils-DBfrRFoE.js → utils-D1iZnChu.js} +38 -31
  301. package/dist/vennDiagram-L72KCM5P-BYHB7OW8.js +1955 -0
  302. package/dist/vennDiagram-L72KCM5P-CidVJK6y.cjs +34 -0
  303. package/dist/wardley-OPB4EBWU-C1hXbbD4.cjs +1 -0
  304. package/dist/wardley-OPB4EBWU-DBgFLc64.js +5 -0
  305. package/dist/wardleyDiagram-EHGQE667--ubmCaWM.js +652 -0
  306. package/dist/wardleyDiagram-EHGQE667-K6ckkRZS.cjs +78 -0
  307. package/dist/xychartDiagram-FW5EYKEG-CzdokxrM.cjs +7 -0
  308. package/dist/xychartDiagram-FW5EYKEG-DLqWcTPt.js +2154 -0
  309. package/docs/BUILDER.md +170 -2
  310. package/package.json +7 -1
  311. package/dist/button-BfYw0fes.js +0 -117
  312. package/dist/factory-DCrO37si.js +0 -334
@@ -0,0 +1,2 @@
1
+ const _=require("./chunk-Y2CYZVJY-DPaYLFFP.cjs"),m=require("./src-C9EhKhbk.cjs"),p=require("./chunk-WYO6CB5R-u4mJNOcO.cjs"),pe=require("./dist-C20XxSsP.cjs");function ut(t){this._context=t}ut.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e);break}}};function ft(t){return new ut(t)}var lt=class{constructor(t,e){this._context=t,this._x=e}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,e,t,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,t,this._y0,t,e);break}this._x0=t,this._y0=e}};function pt(t){return new lt(t,!0)}function yt(t){return new lt(t,!1)}function g(){}function A(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function N(t){this._context=t}N.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:A(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:A(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function dt(t){return new N(t)}function gt(t){this._context=t}gt.prototype={areaStart:g,areaEnd:g,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:A(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function ye(t){return new gt(t)}function bt(t){this._context=t}bt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,i=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,i):this._context.moveTo(n,i);break;case 3:this._point=4;default:A(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function de(t){return new bt(t)}function mt(t,e){this._basis=new N(t),this._beta=e}mt.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var i=t[0],s=e[0],o=t[n]-i,r=e[n]-s,a=-1,c;++a<=n;)c=a/n,this._basis.point(this._beta*t[a]+(1-this._beta)*(i+c*o),this._beta*e[a]+(1-this._beta)*(s+c*r));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var ge=(function t(e){function n(i){return e===1?new N(i):new mt(i,e)}return n.beta=function(i){return t(+i)},n})(.85);function j(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function W(t,e){this._context=t,this._k=(1-e)/6}W.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:j(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:j(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var xt=(function t(e){function n(i){return new W(i,e)}return n.tension=function(i){return t(+i)},n})(0);function F(t,e){this._context=t,this._k=(1-e)/6}F.prototype={areaStart:g,areaEnd:g,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:j(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var be=(function t(e){function n(i){return new F(i,e)}return n.tension=function(i){return t(+i)},n})(0);function z(t,e){this._context=t,this._k=(1-e)/6}z.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:j(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var me=(function t(e){function n(i){return new z(i,e)}return n.tension=function(i){return t(+i)},n})(0);function H(t,e,n){var i=t._x1,s=t._y1,o=t._x2,r=t._y2;if(t._l01_a>1e-12){var a=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,s=(s*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>1e-12){var h=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,u=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*h+t._x1*t._l23_2a-e*t._l12_2a)/u,r=(r*h+t._y1*t._l23_2a-n*t._l12_2a)/u}t._context.bezierCurveTo(i,s,o,r,t._x2,t._y2)}function wt(t,e){this._context=t,this._alpha=e}wt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:H(this,t,e);break}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=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Ot=(function t(e){function n(i){return e?new wt(i,e):new W(i,0)}return n.alpha=function(i){return t(+i)},n})(.5);function Pt(t,e){this._context=t,this._alpha=e}Pt.prototype={areaStart:g,areaEnd:g,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:H(this,t,e);break}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=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var xe=(function t(e){function n(i){return e?new Pt(i,e):new F(i,0)}return n.alpha=function(i){return t(+i)},n})(.5);function vt(t,e){this._context=t,this._alpha=e}vt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:H(this,t,e);break}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=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var we=(function t(e){function n(i){return e?new vt(i,e):new z(i,0)}return n.alpha=function(i){return t(+i)},n})(.5);function St(t){this._context=t}St.prototype={areaStart:g,areaEnd:g,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};function Oe(t){return new St(t)}function nt(t){return t<0?-1:1}function rt(t,e,n){var i=t._x1-t._x0,s=e-t._x1,o=(t._y1-t._y0)/(i||s<0&&-0),r=(n-t._y1)/(s||i<0&&-0),a=(o*s+r*i)/(i+s);return(nt(o)+nt(r))*Math.min(Math.abs(o),Math.abs(r),.5*Math.abs(a))||0}function st(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function R(t,e,n){var i=t._x0,s=t._y0,o=t._x1,r=t._y1,a=(o-i)/3;t._context.bezierCurveTo(i+a,s+a*e,o-a,r-a*n,o,r)}function E(t){this._context=t}E.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:R(this,this._t0,st(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(t=+t,e=+e,!(t===this._x1&&e===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,R(this,st(this,n=rt(this,t,e)),n);break;default:R(this,this._t0,n=rt(this,t,e));break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}};function At(t){this._context=new jt(t)}(At.prototype=Object.create(E.prototype)).point=function(t,e){E.prototype.point.call(this,e,t)};function jt(t){this._context=t}jt.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,i,s,o){this._context.bezierCurveTo(e,t,i,n,o,s)}};function Et(t){return new E(t)}function Nt(t){return new At(t)}function Mt(t){this._context=t}Mt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),n===2)this._context.lineTo(t[1],e[1]);else for(var i=ot(t),s=ot(e),o=0,r=1;r<n;++o,++r)this._context.bezierCurveTo(i[0][o],s[0][o],i[1][o],s[1][o],t[r],e[r]);(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}};function ot(t){var e,n=t.length-1,i,s=new Array(n),o=new Array(n),r=new Array(n);for(s[0]=0,o[0]=2,r[0]=t[0]+2*t[1],e=1;e<n-1;++e)s[e]=1,o[e]=4,r[e]=4*t[e]+2*t[e+1];for(s[n-1]=2,o[n-1]=7,r[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)i=s[e]/o[e-1],o[e]-=i,r[e]-=i*r[e-1];for(s[n-1]=r[n-1]/o[n-1],e=n-2;e>=0;--e)s[e]=(r[e]-s[e+1])/o[e];for(o[n-1]=(t[n]+s[n-1])/2,e=0;e<n-1;++e)o[e]=2*t[e+1]-s[e+1];return[s,o]}function kt(t){return new Mt(t)}function M(t,e){this._context=t,this._t=e}M.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}break}this._x=t,this._y=e}};function Tt(t){return new M(t,.5)}function Bt(t){return new M(t,0)}function $t(t){return new M(t,1)}function I(t){if(typeof t!="object"||t==null)return!1;if(Object.getPrototypeOf(t)===null)return!0;if(Object.prototype.toString.call(t)!=="[object Object]"){const n=t[Symbol.toStringTag];return n==null||!Object.getOwnPropertyDescriptor(t,Symbol.toStringTag)?.writable?!1:t.toString()===`[object ${n}]`}let e=t;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Pe(){}function Rt(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function k(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}var It="[object RegExp]",U="[object String]",q="[object Number]",Y="[object Boolean]",X="[object Arguments]",Lt="[object Symbol]",Dt="[object Date]",Wt="[object Map]",Ft="[object Set]",zt="[object Array]",Ht="[object ArrayBuffer]",Ut="[object Object]",qt="[object DataView]",Yt="[object Uint8Array]",Xt="[object Uint8ClampedArray]",Kt="[object Uint16Array]",Jt="[object Uint32Array]",Gt="[object Int8Array]",Zt="[object Int16Array]",Qt="[object Int32Array]",Vt="[object Float32Array]",Ct="[object Float64Array]",at=typeof globalThis=="object"&&globalThis||typeof window=="object"&&window||typeof self=="object"&&self||typeof global=="object"&&global||(function(){return this})();function K(t){return typeof at.Buffer<"u"&&at.Buffer.isBuffer(t)}function ve(t){return Number.isSafeInteger(t)&&t>=0}function te(t){return t!=null&&typeof t!="function"&&ve(t.length)}function Se(t){return t==="__proto__"}function T(t){return t==null||typeof t!="object"&&typeof t!="function"}function J(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function Ae(t,e){return b(t,void 0,t,new Map,e)}function b(t,e,n,i=new Map,s=void 0){const o=s?.(t,e,n,i);if(o!==void 0)return o;if(T(t))return t;if(i.has(t))return i.get(t);if(Array.isArray(t)){const r=new Array(t.length);i.set(t,r);for(let a=0;a<t.length;a++)r[a]=b(t[a],a,n,i,s);return Object.hasOwn(t,"index")&&(r.index=t.index),Object.hasOwn(t,"input")&&(r.input=t.input),r}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const r=new RegExp(t.source,t.flags);return r.lastIndex=t.lastIndex,r}if(t instanceof Map){const r=new Map;i.set(t,r);for(const[a,c]of t)r.set(a,b(c,a,n,i,s));return r}if(t instanceof Set){const r=new Set;i.set(t,r);for(const a of t)r.add(b(a,void 0,n,i,s));return r}if(K(t))return t.subarray();if(J(t)){const r=new(Object.getPrototypeOf(t)).constructor(t.length);i.set(t,r);for(let a=0;a<t.length;a++)r[a]=b(t[a],a,n,i,s);return r}if(t instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const r=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return i.set(t,r),l(r,t,n,i,s),r}if(typeof File<"u"&&t instanceof File){const r=new File([t],t.name,{type:t.type});return i.set(t,r),l(r,t,n,i,s),r}if(typeof Blob<"u"&&t instanceof Blob){const r=new Blob([t],{type:t.type});return i.set(t,r),l(r,t,n,i,s),r}if(t instanceof Error){const r=structuredClone(t);return i.set(t,r),r.message=t.message,r.name=t.name,r.stack=t.stack,r.cause=t.cause,r.constructor=t.constructor,l(r,t,n,i,s),r}if(t instanceof Boolean){const r=new Boolean(t.valueOf());return i.set(t,r),l(r,t,n,i,s),r}if(t instanceof Number){const r=new Number(t.valueOf());return i.set(t,r),l(r,t,n,i,s),r}if(t instanceof String){const r=new String(t.valueOf());return i.set(t,r),l(r,t,n,i,s),r}if(typeof t=="object"&&je(t)){const r=Object.create(Object.getPrototypeOf(t));return i.set(t,r),l(r,t,n,i,s),r}return t}function l(t,e,n=t,i,s){const o=[...Object.keys(e),...Rt(e)];for(let r=0;r<o.length;r++){const a=o[r],c=Object.getOwnPropertyDescriptor(t,a);(c==null||c.writable)&&(t[a]=b(e[a],a,n,i,s))}}function je(t){switch(k(t)){case X:case zt:case Ht:case qt:case Y:case Dt:case Vt:case Ct:case Gt:case Zt:case Qt:case Wt:case q:case Ut:case It:case Ft:case U:case Lt:case Yt:case Xt:case Kt:case Jt:return!0;default:return!1}}function Ee(t,e){return Ae(t,(n,i,s,o)=>{const r=e?.(n,i,s,o);if(r!==void 0)return r;if(typeof t=="object"){if(k(t)==="[object Object]"&&typeof t.constructor!="function"){const a={};return o.set(t,a),l(a,t,s,o),a}switch(Object.prototype.toString.call(t)){case q:case U:case Y:{const a=new t.constructor(t?.valueOf());return l(a,t),a}case X:{const a={};return l(a,t),a.length=t.length,a[Symbol.iterator]=t[Symbol.iterator],a}default:return}}})}function ct(t){return Ee(t)}function L(t){return t!==null&&typeof t=="object"&&k(t)==="[object Arguments]"}function D(t){return typeof t=="object"&&t!==null}function Ne(t){return D(t)&&te(t)}function w(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError("Expected a function");const n=function(...i){const s=e?e.apply(this,i):i[0],o=n.cache;if(o.has(s))return o.get(s);const r=t.apply(this,i);return n.cache=o.set(s,r)||o,r};return n.cache=new(w.Cache||Map),n}w.Cache=Map;function v(t){return J(t)}function Me(t){if(T(t))return t;if(Array.isArray(t)||J(t)||t instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&t instanceof SharedArrayBuffer)return t.slice(0);const e=Object.getPrototypeOf(t);if(e==null)return Object.assign(Object.create(e),t);const n=e.constructor;if(t instanceof Date||t instanceof Map||t instanceof Set)return new n(t);if(t instanceof RegExp){const i=new n(t);return i.lastIndex=t.lastIndex,i}if(t instanceof DataView)return new n(t.buffer.slice(0));if(t instanceof Error){let i;return t instanceof AggregateError?i=new n(t.errors,t.message,{cause:t.cause}):i=new n(t.message,{cause:t.cause}),i.stack=t.stack,Object.assign(i,t),i}return typeof File<"u"&&t instanceof File?new n([t],t.name,{type:t.type,lastModified:t.lastModified}):typeof t=="object"?Object.assign(Object.create(e),t):t}function ke(t,...e){const n=e.slice(0,-1),i=e[e.length-1];let s=t;for(let o=0;o<n.length;o++){const r=n[o];s=S(s,r,i,new Map)}return s}function S(t,e,n,i){if(T(t)&&(t=Object(t)),e==null||typeof e!="object")return t;if(i.has(e))return Me(i.get(e));if(i.set(e,t),Array.isArray(e)){e=e.slice();for(let o=0;o<e.length;o++)e[o]=e[o]??void 0}const s=[...Object.keys(e),...Rt(e)];for(let o=0;o<s.length;o++){const r=s[o];if(Se(r))continue;let a=e[r],c=t[r];if(L(a)&&(a={...a}),L(c)&&(c={...c}),K(a)&&(a=ct(a)),Array.isArray(a))if(Array.isArray(c)){const u=[],f=Reflect.ownKeys(c);for(let y=0;y<f.length;y++){const d=f[y];u[d]=c[d]}c=u}else if(Ne(c)){const u=[];for(let f=0;f<c.length;f++)u[f]=c[f];c=u}else c=[];const h=n(c,a,r,t,e,i);h!==void 0?t[r]=h:Array.isArray(a)||D(c)&&D(a)&&(I(c)||I(a)||v(c)||v(a))?t[r]=S(c,a,n,i):c==null&&I(a)?t[r]=S({},a,n,i):c==null&&v(a)?t[r]=ct(a):(c===void 0||a!==void 0)&&(t[r]=a)}return t}function Te(t,...e){return ke(t,...e,Pe)}var Be=pe.require_dist();var $e={curveBasis:dt,curveBasisClosed:ye,curveBasisOpen:de,curveBumpX:pt,curveBumpY:yt,curveBundle:ge,curveCardinalClosed:be,curveCardinalOpen:me,curveCardinal:xt,curveCatmullRomClosed:xe,curveCatmullRomOpen:we,curveCatmullRom:Ot,curveLinear:ft,curveLinearClosed:Oe,curveMonotoneX:Et,curveMonotoneY:Nt,curveNatural:kt,curveStep:Tt,curveStepAfter:$t,curveStepBefore:Bt},Re=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,Ie=_.__name(function(t,e){const n=ee(t,/(?:init\b)|(?:initialize\b)/);let i={};if(Array.isArray(n)){const r=n.map(a=>a.args);p.sanitizeDirective(r),i=p.assignWithDepth_default(i,[...r])}else i=n.args;if(!i)return;let s=p.detectType(t,e);const o="config";return i[o]!==void 0&&(s==="flowchart-v2"&&(s="flowchart"),i[s]=i[o],delete i[o]),i},"detectInit"),ee=_.__name(function(t,e=null){try{const n=new RegExp(`[%]{2}(?![{]${Re.source})(?=[}][%]{2}).*
2
+ `,"ig");t=t.trim().replace(n,"").replace(/'/gm,'"'),m.log.debug(`Detecting diagram directive${e!==null?" type:"+e:""} based on the text:${t}`);let i;const s=[];for(;(i=p.directiveRegex.exec(t))!==null;)if(i.index===p.directiveRegex.lastIndex&&p.directiveRegex.lastIndex++,i&&!e||e&&i[1]?.match(e)||e&&i[2]?.match(e)){const o=i[1]?i[1]:i[2],r=i[3]?i[3].trim():i[4]?JSON.parse(i[4].trim()):null;s.push({type:o,args:r})}return s.length===0?{type:t,args:null}:s.length===1?s[0]:s}catch(n){return m.log.error(`ERROR: ${n.message} - Unable to parse directive type: '${e}' based on the text: '${t}'`),{type:void 0,args:null}}},"detectDirective"),Le=_.__name(function(t){return t.replace(p.directiveRegex,"")},"removeDirectives"),De=_.__name(function(t,e){for(const[n,i]of e.entries())if(i.match(t))return n;return-1},"isSubstringInArray");function G(t,e){return t?$e[`curve${t.charAt(0).toUpperCase()+t.slice(1)}`]??e:e}_.__name(G,"interpolateToCurve");function ie(t,e){const n=t.trim();if(n)return e.securityLevel!=="loose"?(0,Be.sanitizeUrl)(n):n}_.__name(ie,"formatUrl");var We=_.__name((t,...e)=>{const n=t.split("."),i=n.length-1,s=n[i];let o=window;for(let r=0;r<i;r++)if(o=o[n[r]],!o){m.log.error(`Function name: ${t} not found in window`);return}o[s](...e)},"runFunc");function Z(t,e){return!t||!e?0:Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}_.__name(Z,"distance");function ne(t){let e,n=0;return t.forEach(i=>{n+=Z(i,e),e=i}),Q(t,n/2)}_.__name(ne,"traverseEdge");function re(t){return t.length===1?t[0]:ne(t)}_.__name(re,"calcLabelPosition");var _t=_.__name((t,e=2)=>{const n=Math.pow(10,e);return Math.round(t*n)/n},"roundNumber"),Q=_.__name((t,e)=>{let n,i=e;for(const s of t){if(n){const o=Z(s,n);if(o===0)return n;if(o<i)i-=o;else{const r=i/o;if(r<=0)return n;if(r>=1)return{x:s.x,y:s.y};if(r>0&&r<1)return{x:_t((1-r)*n.x+r*s.x,5),y:_t((1-r)*n.y+r*s.y,5)}}}n=s}throw new Error("Could not find a suitable point for the given distance")},"calculatePoint"),Fe=_.__name((t,e,n)=>{m.log.info(`our points ${JSON.stringify(e)}`),e[0]!==n&&(e=e.reverse());const i=Q(e,25),s=t?10:5,o=Math.atan2(e[0].y-i.y,e[0].x-i.x),r={x:0,y:0};return r.x=Math.sin(o)*s+(e[0].x+i.x)/2,r.y=-Math.cos(o)*s+(e[0].y+i.y)/2,r},"calcCardinalityPosition");function se(t,e,n){const i=structuredClone(n);m.log.info("our points",i),e!=="start_left"&&e!=="start_right"&&i.reverse();const s=Q(i,25+t),o=10+t*.5,r=Math.atan2(i[0].y-s.y,i[0].x-s.x),a={x:0,y:0};return e==="start_left"?(a.x=Math.sin(r+Math.PI)*o+(i[0].x+s.x)/2,a.y=-Math.cos(r+Math.PI)*o+(i[0].y+s.y)/2):e==="end_right"?(a.x=Math.sin(r-Math.PI)*o+(i[0].x+s.x)/2-5,a.y=-Math.cos(r-Math.PI)*o+(i[0].y+s.y)/2-5):e==="end_left"?(a.x=Math.sin(r)*o+(i[0].x+s.x)/2-5,a.y=-Math.cos(r)*o+(i[0].y+s.y)/2-5):(a.x=Math.sin(r)*o+(i[0].x+s.x)/2,a.y=-Math.cos(r)*o+(i[0].y+s.y)/2),a}_.__name(se,"calcTerminalLabelPosition");function V(t){let e="",n="";for(const i of t)i!==void 0&&(i.startsWith("color:")||i.startsWith("text-align:")?n=n+i+";":e=e+i+";");return{style:e,labelStyle:n}}_.__name(V,"getStylesFromArray");var ht=0,oe=_.__name(()=>(ht++,"id-"+Math.random().toString(36).substr(2,12)+"-"+ht),"generateId");function ae(t){let e="";const n="0123456789abcdef";for(let s=0;s<t;s++)e+=n.charAt(Math.floor(Math.random()*16));return e}_.__name(ae,"makeRandomHex");var ce=_.__name(t=>ae(t.length),"random"),ze=_.__name(function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""}},"getTextObj"),He=_.__name(function(t,e){const n=e.text.replace(p.common_default.lineBreakRegex," "),[,i]=$(e.fontSize),s=t.append("text");s.attr("x",e.x),s.attr("y",e.y),s.style("text-anchor",e.anchor),s.style("font-family",e.fontFamily),s.style("font-size",i),s.style("font-weight",e.fontWeight),s.attr("fill",e.fill),e.class!==void 0&&s.attr("class",e.class);const o=s.append("tspan");return o.attr("x",e.x+e.textMargin*2),o.attr("fill",e.fill),o.text(n),s},"drawSimpleText"),_e=w((t,e,n)=>{if(!t||(n=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},n),p.common_default.lineBreakRegex.test(t)))return t;const i=t.split(" ").filter(Boolean),s=[];let o="";return i.forEach((r,a)=>{const c=x(`${r} `,n),h=x(o,n);if(c>e){const{hyphenatedStrings:u,remainingWord:f}=Ue(r,e,"-",n);s.push(o,...u),o=f}else h+c>=e?(s.push(o),o=r):o=[o,r].filter(Boolean).join(" ");a+1===i.length&&s.push(o)}),s.filter(r=>r!=="").join(n.joinWith)},(t,e,n)=>`${t}${e}${n.fontSize}${n.fontWeight}${n.fontFamily}${n.joinWith}`),Ue=w((t,e,n="-",i)=>{i=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},i);const s=[...t],o=[];let r="";return s.forEach((a,c)=>{const h=`${r}${a}`;if(x(h,i)>=e){const u=c+1,f=s.length===u,y=`${h}${n}`;o.push(f?h:y),r=""}else r=h}),{hyphenatedStrings:o,remainingWord:r}},(t,e,n="-",i)=>`${t}${e}${n}${i.fontSize}${i.fontWeight}${i.fontFamily}`);function C(t,e){return B(t,e).height}_.__name(C,"calculateTextHeight");function x(t,e){return B(t,e).width}_.__name(x,"calculateTextWidth");var B=w((t,e)=>{const{fontSize:n=12,fontFamily:i="Arial",fontWeight:s=400}=e;if(!t)return{width:0,height:0};const[,o]=$(n),r=["sans-serif",i],a=t.split(p.common_default.lineBreakRegex),c=[],h=m.select_default("body");if(!h.remove)return{width:0,height:0,lineHeight:0};const u=h.append("svg");for(const f of r){let y=0;const d={width:0,height:0,lineHeight:0};for(const le of a){const et=ze();et.text=le||"​";const it=He(u,et).style("font-size",o).style("font-weight",s).style("font-family",f),O=(it._groups||it)[0][0].getBBox();if(O.width===0&&O.height===0)throw new Error("svg element not in render tree");d.width=Math.round(Math.max(d.width,O.width)),y=Math.round(O.height),d.height+=y,d.lineHeight=Math.round(Math.max(d.lineHeight,y))}c.push(d)}return u.remove(),c[isNaN(c[1].height)||isNaN(c[1].width)||isNaN(c[1].lineHeight)||c[0].height>c[1].height&&c[0].width>c[1].width&&c[0].lineHeight>c[1].lineHeight?0:1]},(t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`),qe=class{constructor(t=!1,e){this.count=0,this.count=e?e.length:0,this.next=t?()=>this.count++:()=>Date.now()}static{_.__name(this,"InitIDGenerator")}},P,Ye=_.__name(function(t){return P=P||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),P.innerHTML=t,unescape(P.textContent)},"entityDecode");function he(t){return"str"in t}_.__name(he,"isDetailedError");var Xe=_.__name((t,e,n,i)=>{if(!i)return;const s=t.node()?.getBBox();s&&t.append("text").text(i).attr("text-anchor","middle").attr("x",s.x+s.width/2).attr("y",-n).attr("class",e)},"insertTitle"),$=_.__name(t=>{if(typeof t=="number")return[t,t+"px"];const e=parseInt(t??"",10);return Number.isNaN(e)?[void 0,void 0]:t===String(e)?[e,t+"px"]:[e,t]},"parseFontSize");function tt(t,e){return Te({},t,e)}_.__name(tt,"cleanAndMerge");var Ke={assignWithDepth:p.assignWithDepth_default,wrapLabel:_e,calculateTextHeight:C,calculateTextWidth:x,calculateTextDimensions:B,cleanAndMerge:tt,detectInit:Ie,detectDirective:ee,isSubstringInArray:De,interpolateToCurve:G,calcLabelPosition:re,calcCardinalityPosition:Fe,calcTerminalLabelPosition:se,formatUrl:ie,getStylesFromArray:V,generateId:oe,random:ce,runFunc:We,entityDecode:Ye,insertTitle:Xe,isLabelCoordinateInPath:fe,parseFontSize:$,InitIDGenerator:qe},Je=_.__name(function(t){let e=t;return e=e.replace(/style.*:\S*#.*;/g,function(n){return n.substring(0,n.length-1)}),e=e.replace(/classDef.*:\S*#.*;/g,function(n){return n.substring(0,n.length-1)}),e=e.replace(/#\w+;/g,function(n){const i=n.substring(1,n.length-1);return/^\+?\d+$/.test(i)?"fl°°"+i+"¶ß":"fl°"+i+"¶ß"}),e},"encodeEntities"),Ge=_.__name(function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},"decodeEntities"),Ze=_.__name((t,e,{counter:n=0,prefix:i,suffix:s},o)=>o||`${i?`${i}_`:""}${t}_${e}_${n}${s?`_${s}`:""}`,"getEdgeId");function ue(t){return t??null}_.__name(ue,"handleUndefinedAttr");function fe(t,e){const n=Math.round(t.x),i=Math.round(t.y),s=e.replace(/(\d+\.\d+)/g,o=>Math.round(parseFloat(o)).toString());return s.includes(n.toString())||s.includes(i.toString())}_.__name(fe,"isLabelCoordinateInPath");Object.defineProperty(exports,"argumentsTag",{enumerable:!0,get:function(){return X}});Object.defineProperty(exports,"arrayBufferTag",{enumerable:!0,get:function(){return Ht}});Object.defineProperty(exports,"arrayTag",{enumerable:!0,get:function(){return zt}});Object.defineProperty(exports,"basis_default",{enumerable:!0,get:function(){return dt}});Object.defineProperty(exports,"booleanTag",{enumerable:!0,get:function(){return Y}});Object.defineProperty(exports,"bumpX",{enumerable:!0,get:function(){return pt}});Object.defineProperty(exports,"bumpY",{enumerable:!0,get:function(){return yt}});Object.defineProperty(exports,"calculateTextDimensions",{enumerable:!0,get:function(){return B}});Object.defineProperty(exports,"calculateTextHeight",{enumerable:!0,get:function(){return C}});Object.defineProperty(exports,"calculateTextWidth",{enumerable:!0,get:function(){return x}});Object.defineProperty(exports,"cardinal_default",{enumerable:!0,get:function(){return xt}});Object.defineProperty(exports,"catmullRom_default",{enumerable:!0,get:function(){return Ot}});Object.defineProperty(exports,"cleanAndMerge",{enumerable:!0,get:function(){return tt}});Object.defineProperty(exports,"dataViewTag",{enumerable:!0,get:function(){return qt}});Object.defineProperty(exports,"dateTag",{enumerable:!0,get:function(){return Dt}});Object.defineProperty(exports,"decodeEntities",{enumerable:!0,get:function(){return Ge}});Object.defineProperty(exports,"encodeEntities",{enumerable:!0,get:function(){return Je}});Object.defineProperty(exports,"float32ArrayTag",{enumerable:!0,get:function(){return Vt}});Object.defineProperty(exports,"float64ArrayTag",{enumerable:!0,get:function(){return Ct}});Object.defineProperty(exports,"generateId",{enumerable:!0,get:function(){return oe}});Object.defineProperty(exports,"getEdgeId",{enumerable:!0,get:function(){return Ze}});Object.defineProperty(exports,"getStylesFromArray",{enumerable:!0,get:function(){return V}});Object.defineProperty(exports,"getTag",{enumerable:!0,get:function(){return k}});Object.defineProperty(exports,"handleUndefinedAttr",{enumerable:!0,get:function(){return ue}});Object.defineProperty(exports,"int16ArrayTag",{enumerable:!0,get:function(){return Zt}});Object.defineProperty(exports,"int32ArrayTag",{enumerable:!0,get:function(){return Qt}});Object.defineProperty(exports,"int8ArrayTag",{enumerable:!0,get:function(){return Gt}});Object.defineProperty(exports,"interpolateToCurve",{enumerable:!0,get:function(){return G}});Object.defineProperty(exports,"isArguments",{enumerable:!0,get:function(){return L}});Object.defineProperty(exports,"isArrayLike",{enumerable:!0,get:function(){return te}});Object.defineProperty(exports,"isBuffer",{enumerable:!0,get:function(){return K}});Object.defineProperty(exports,"isDetailedError",{enumerable:!0,get:function(){return he}});Object.defineProperty(exports,"isPrimitive",{enumerable:!0,get:function(){return T}});Object.defineProperty(exports,"isTypedArray",{enumerable:!0,get:function(){return v}});Object.defineProperty(exports,"linear_default",{enumerable:!0,get:function(){return ft}});Object.defineProperty(exports,"mapTag",{enumerable:!0,get:function(){return Wt}});Object.defineProperty(exports,"monotoneX",{enumerable:!0,get:function(){return Et}});Object.defineProperty(exports,"monotoneY",{enumerable:!0,get:function(){return Nt}});Object.defineProperty(exports,"natural_default",{enumerable:!0,get:function(){return kt}});Object.defineProperty(exports,"numberTag",{enumerable:!0,get:function(){return q}});Object.defineProperty(exports,"objectTag",{enumerable:!0,get:function(){return Ut}});Object.defineProperty(exports,"parseFontSize",{enumerable:!0,get:function(){return $}});Object.defineProperty(exports,"random",{enumerable:!0,get:function(){return ce}});Object.defineProperty(exports,"regexpTag",{enumerable:!0,get:function(){return It}});Object.defineProperty(exports,"removeDirectives",{enumerable:!0,get:function(){return Le}});Object.defineProperty(exports,"setTag",{enumerable:!0,get:function(){return Ft}});Object.defineProperty(exports,"stepAfter",{enumerable:!0,get:function(){return $t}});Object.defineProperty(exports,"stepBefore",{enumerable:!0,get:function(){return Bt}});Object.defineProperty(exports,"step_default",{enumerable:!0,get:function(){return Tt}});Object.defineProperty(exports,"stringTag",{enumerable:!0,get:function(){return U}});Object.defineProperty(exports,"symbolTag",{enumerable:!0,get:function(){return Lt}});Object.defineProperty(exports,"uint16ArrayTag",{enumerable:!0,get:function(){return Kt}});Object.defineProperty(exports,"uint32ArrayTag",{enumerable:!0,get:function(){return Jt}});Object.defineProperty(exports,"uint8ArrayTag",{enumerable:!0,get:function(){return Yt}});Object.defineProperty(exports,"uint8ClampedArrayTag",{enumerable:!0,get:function(){return Xt}});Object.defineProperty(exports,"utils_default",{enumerable:!0,get:function(){return Ke}});Object.defineProperty(exports,"wrapLabel",{enumerable:!0,get:function(){return _e}});