ranui 0.2.0-alpha.7 → 0.2.1-alpha.3

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 (331) hide show
  1. package/README.md +1 -1
  2. package/README.zh-CN.md +1 -1
  3. package/dist/abnfDiagram-VRR7QNED-CH_pIv_l.cjs +1 -0
  4. package/dist/abnfDiagram-VRR7QNED-CTsqwzwi.js +95 -0
  5. package/dist/arc-D25LhgTs.cjs +1 -0
  6. package/dist/arc-DRPGof21.js +82 -0
  7. package/dist/architecture-TIHT7OUA-BbBd15_y.cjs +1 -0
  8. package/dist/architecture-TIHT7OUA-pbFO1xSx.js +5 -0
  9. package/dist/architectureDiagram-ZJ3FMSHR-8mjyXr-w.js +4279 -0
  10. package/dist/architectureDiagram-ZJ3FMSHR-D_jWFFZx.cjs +36 -0
  11. package/dist/array-By5736M5.js +7 -0
  12. package/dist/array-C3cbN3GY.cjs +1 -0
  13. package/dist/arrow-down-Bi5kqUrX.js +12 -0
  14. package/dist/blockDiagram-677ZJIJ3-3F79MOSt.js +3321 -0
  15. package/dist/blockDiagram-677ZJIJ3-Cx35khWe.cjs +132 -0
  16. package/dist/builder.d.ts +4 -4
  17. package/dist/builder.js +39 -30
  18. package/dist/builtin-BkM0LLof.js +416 -0
  19. package/dist/button-D0zcnKnG.js +117 -0
  20. package/dist/button.js +1 -1
  21. package/dist/c4Diagram-LMCZKHZV-Cxn_gqu_.js +3064 -0
  22. package/dist/c4Diagram-LMCZKHZV-TRNb3Gvl.cjs +10 -0
  23. package/dist/{card-BVvXX6KM.js → card-CygMndQS.js} +2 -2
  24. package/dist/card.js +1 -1
  25. package/dist/channel-C9WSNwcS.cjs +1 -0
  26. package/dist/channel-k5-UxdcV.js +5 -0
  27. package/dist/{checkbox-BtoX9X2Z.js → checkbox-D5om9aJO.js} +10 -10
  28. package/dist/checkbox.js +1 -1
  29. package/dist/chunk-2Q5K7J3B-CTMy5FII.cjs +1 -0
  30. package/dist/chunk-2Q5K7J3B-DlFVJRAn.js +15 -0
  31. package/dist/chunk-32BRIVSS-BXVdG_nV.cjs +1 -0
  32. package/dist/chunk-32BRIVSS-jAuAwMVV.js +68 -0
  33. package/dist/chunk-52WLFC77-BChUrU24.cjs +10 -0
  34. package/dist/chunk-52WLFC77-wpL7en7e.js +630 -0
  35. package/dist/chunk-5VM5RSS4-Cni2Ogq2.js +19 -0
  36. package/dist/chunk-5VM5RSS4-DudUFQ_Z.cjs +15 -0
  37. package/dist/chunk-7BUUIJ7U-9hiBbc7O.js +87 -0
  38. package/dist/chunk-7BUUIJ7U-DMv_UkjI.cjs +1 -0
  39. package/dist/chunk-C7G6YPKG-CA-DNpvI.js +71 -0
  40. package/dist/chunk-C7G6YPKG-CKEeW9TM.cjs +1 -0
  41. package/dist/chunk-EX3LRPZG-BCmf0iDq.js +2137 -0
  42. package/dist/chunk-EX3LRPZG-DbfbNdXo.cjs +231 -0
  43. package/dist/chunk-FWX5IMBZ-D11-gbhc.cjs +1 -0
  44. package/dist/chunk-FWX5IMBZ-DZ5VYvm5.js +60 -0
  45. package/dist/chunk-HOUHSVGY-BGB3dOvI.cjs +1 -0
  46. package/dist/chunk-HOUHSVGY-DRQcQeMT.js +268 -0
  47. package/dist/chunk-ICXQ74PX-BbT9JaEW.cjs +2 -0
  48. package/dist/chunk-ICXQ74PX-DR8rL-xF.js +1377 -0
  49. package/dist/chunk-JWPE2WC7-CGEmUMMZ.js +8 -0
  50. package/dist/chunk-JWPE2WC7-D8EnWK1B.cjs +1 -0
  51. package/dist/chunk-KEIR6QF5-B2Op7cFH.js +22155 -0
  52. package/dist/chunk-KEIR6QF5-C4fcHpY0.cjs +161 -0
  53. package/dist/chunk-MOJQB5TN-BC46HDyu.js +516 -0
  54. package/dist/chunk-MOJQB5TN-oOeq982_.cjs +88 -0
  55. package/dist/chunk-OGEWGWER-BV51ll2w.js +33 -0
  56. package/dist/chunk-OGEWGWER-DX8sW1dT.cjs +1 -0
  57. package/dist/chunk-PUDLZKDR-48YaqVoF.cjs +156 -0
  58. package/dist/chunk-PUDLZKDR-NdMR0Ft5.js +4282 -0
  59. package/dist/chunk-Q4XR5HBZ-3BHjjc9u.js +1709 -0
  60. package/dist/chunk-Q4XR5HBZ-aBnPq509.cjs +70 -0
  61. package/dist/chunk-RYQCIY6F-BER2T9t0.js +246 -0
  62. package/dist/chunk-RYQCIY6F-DVRzSnsI.cjs +1 -0
  63. package/dist/chunk-V7JOEXUC-Cr_hr02u.js +3467 -0
  64. package/dist/chunk-V7JOEXUC-DHizzTla.cjs +206 -0
  65. package/dist/chunk-VAUOI2AC-DfQf5L2_.cjs +1 -0
  66. package/dist/chunk-VAUOI2AC-izt0o4id.js +11 -0
  67. package/dist/chunk-VR4S4FIN-CJi5okl4.js +26 -0
  68. package/dist/chunk-VR4S4FIN-KiwnPF31.cjs +1 -0
  69. package/dist/chunk-WYO6CB5R-DDHkKowO.js +4535 -0
  70. package/dist/chunk-WYO6CB5R-u4mJNOcO.cjs +127 -0
  71. package/dist/chunk-XXDRQBXY-BB1i_53q.js +9 -0
  72. package/dist/chunk-XXDRQBXY-C8VGLZmt.cjs +1 -0
  73. package/dist/chunk-Y2CYZVJY-0JxdZxki.js +13 -0
  74. package/dist/chunk-Y2CYZVJY-DPaYLFFP.cjs +1 -0
  75. package/dist/chunk-ZGVPDNZ5-6uMbTJXy.js +3841 -0
  76. package/dist/chunk-ZGVPDNZ5-Cw5_HJba.cjs +62 -0
  77. package/dist/chunk-ZIRB5QZD-C7OH2FI2.js +1280 -0
  78. package/dist/chunk-ZIRB5QZD-aLu-4ITN.cjs +32 -0
  79. package/dist/classDiagram-OUVF2IWQ-D6rqYIh0.cjs +1 -0
  80. package/dist/classDiagram-OUVF2IWQ-Df0ghim9.js +30 -0
  81. package/dist/classDiagram-v2-EOCWNBFH-D6rqYIh0.cjs +1 -0
  82. package/dist/classDiagram-v2-EOCWNBFH-Df0ghim9.js +30 -0
  83. package/dist/{colorpicker-Dukms7ET.js → colorpicker-qWnaTlYX.js} +9 -10
  84. package/dist/colorpicker.js +1 -1
  85. package/dist/components/colorpicker/index.d.ts +3 -3
  86. package/dist/components/glass/index.d.ts +52 -0
  87. package/dist/components/icon/builtin.d.ts +9 -0
  88. package/dist/components/icon/core-icons.d.ts +13 -0
  89. package/dist/components/icon/index.d.ts +8 -0
  90. package/dist/components/mermaid/index.d.ts +52 -0
  91. package/dist/components/modal/index.d.ts +9 -0
  92. package/dist/components/route/index.d.ts +10 -4
  93. package/dist/components/router/index.d.ts +3 -0
  94. package/dist/content-Rry-U6ir.js +39 -0
  95. package/dist/content.js +5 -0
  96. package/dist/cose-bilkent-JH36ORCC-BUxFTdey.cjs +1 -0
  97. package/dist/cose-bilkent-JH36ORCC-DTwvJlGw.js +2353 -0
  98. package/dist/cynefin-VYW2F7L2-6c1GOGXW.cjs +1 -0
  99. package/dist/cynefin-VYW2F7L2-ALQKF7N6.js +5 -0
  100. package/dist/cynefinDiagram-TSTJHNR4-Bjt4QTVh.js +355 -0
  101. package/dist/cynefinDiagram-TSTJHNR4-ISDORSxO.cjs +62 -0
  102. package/dist/cytoscape.esm-CFq1_DTa.js +18906 -0
  103. package/dist/cytoscape.esm-pygMw4dR.cjs +321 -0
  104. package/dist/dagre-D1-W1tt6.cjs +1 -0
  105. package/dist/dagre-D8GLTwuf.js +1578 -0
  106. package/dist/dagre-VKFMJZFB-DXI69qAN.cjs +4 -0
  107. package/dist/dagre-VKFMJZFB-Dfku86Az.js +341 -0
  108. package/dist/defaultLocale-0M_kMcEH.js +184 -0
  109. package/dist/defaultLocale-DSqtvhxg.cjs +1 -0
  110. package/dist/diagram-FQU43EPY-BAiRt5eL.cjs +3 -0
  111. package/dist/diagram-FQU43EPY-BvQ5jmVn.js +452 -0
  112. package/dist/diagram-G47NLZAW-DGnmEa8u.cjs +24 -0
  113. package/dist/diagram-G47NLZAW-DT2BBA0T.js +498 -0
  114. package/dist/diagram-NH7WQ7WH-DxgkStA3.cjs +24 -0
  115. package/dist/diagram-NH7WQ7WH-W7jg4Vh8.js +135 -0
  116. package/dist/diagram-OA4YK3LP-DkvFII73.cjs +30 -0
  117. package/dist/diagram-OA4YK3LP-jU--aqQl.js +317 -0
  118. package/dist/diagram-WEI45ONY-C_Qhf4ny.js +215 -0
  119. package/dist/diagram-WEI45ONY-XvzRFmmY.cjs +41 -0
  120. package/dist/dist-C0Fwsvsq.js +70 -0
  121. package/dist/dist-C20XxSsP.cjs +1 -0
  122. package/dist/{dropdown-BYS1Trdu.js → dropdown-DzdAR1nI.js} +4 -4
  123. package/dist/dropdown.js +1 -1
  124. package/dist/ebnfDiagram-CCIWWBDH-Cu8bAlhC.cjs +1 -0
  125. package/dist/ebnfDiagram-CCIWWBDH-Gnr20Oc1.js +112 -0
  126. package/dist/erDiagram-Q63AITRT-CxLSa9Yv.cjs +85 -0
  127. package/dist/erDiagram-Q63AITRT-D0Hh9b-W.js +1822 -0
  128. package/dist/eventmodeling-45OFAUF4-C6VXxUn1.cjs +1 -0
  129. package/dist/eventmodeling-45OFAUF4-DMpGs2yI.js +5 -0
  130. package/dist/factory-BkvRcCOx.js +482 -0
  131. package/dist/flowDiagram-23GEKE2U-B6gASEYG.cjs +1 -0
  132. package/dist/flowDiagram-23GEKE2U-BY4wE2vw.js +19 -0
  133. package/dist/{form-BsB5JhS4.js → form-CUJpeQ7Q.js} +5 -5
  134. package/dist/form.js +1 -1
  135. package/dist/ganttDiagram-NO4QXBWP-B40Eabk0.js +3125 -0
  136. package/dist/ganttDiagram-NO4QXBWP-DZT79qJr.cjs +292 -0
  137. package/dist/gitGraph-TEB2WS4Q-BbtF3MDr.cjs +1 -0
  138. package/dist/gitGraph-TEB2WS4Q-D6Ru11Cs.js +5 -0
  139. package/dist/gitGraphDiagram-IHSO6WYX-BUJNSssA.js +754 -0
  140. package/dist/gitGraphDiagram-IHSO6WYX-DW06165m.cjs +106 -0
  141. package/dist/glass-Bj1Zf8Hy.js +115 -0
  142. package/dist/glass.js +5 -0
  143. package/dist/graphlib-CCKThIKP.js +1104 -0
  144. package/dist/graphlib-Du-578Js.cjs +1 -0
  145. package/dist/{icon-pfolda2m.js → icon-CtlZJISZ.js} +110 -21
  146. package/dist/icon.js +4 -3
  147. package/dist/icons.js +5 -0
  148. package/dist/iife/button.iife.js +1 -1
  149. package/dist/iife/card.iife.js +1 -1
  150. package/dist/iife/checkbox.iife.js +1 -1
  151. package/dist/iife/colorpicker.iife.js +2 -2
  152. package/dist/iife/content.iife.js +1 -0
  153. package/dist/iife/dropdown.iife.js +1 -1
  154. package/dist/iife/form.iife.js +1 -1
  155. package/dist/iife/glass.iife.js +1 -0
  156. package/dist/iife/icon.iife.js +1 -1
  157. package/dist/iife/image.iife.js +1 -1
  158. package/dist/iife/input.iife.js +1 -1
  159. package/dist/iife/loading.iife.js +1 -1
  160. package/dist/iife/math.iife.js +14 -14
  161. package/dist/iife/mermaid.iife.js +3535 -0
  162. package/dist/iife/message.iife.js +1 -1
  163. package/dist/iife/modal.iife.js +1 -1
  164. package/dist/iife/player.iife.js +8 -8
  165. package/dist/iife/popover.iife.js +1 -1
  166. package/dist/iife/progress.iife.js +1 -1
  167. package/dist/iife/radar.iife.js +1 -1
  168. package/dist/iife/route.iife.js +1 -1
  169. package/dist/iife/router.iife.js +1 -1
  170. package/dist/iife/scratch.iife.js +1 -1
  171. package/dist/iife/section.iife.js +1 -1
  172. package/dist/iife/select.iife.js +2 -2
  173. package/dist/iife/skeleton.iife.js +1 -1
  174. package/dist/iife/tab.iife.js +1 -1
  175. package/dist/iife/tabpane.iife.js +1 -1
  176. package/dist/{image-BXpKQ9sU.js → image-ILZNlaGc.js} +4 -4
  177. package/dist/image.js +1 -1
  178. package/dist/index.cjs +257 -23
  179. package/dist/index.d.ts +11 -1
  180. package/dist/index.iife.js +3842 -74
  181. package/dist/index.js +86 -78
  182. package/dist/info-DKCQHKI2-DNOtUIin.cjs +1 -0
  183. package/dist/info-DKCQHKI2-Df7h9MSE.js +5 -0
  184. package/dist/infoDiagram-FWYZ7A6U-C8dZc-Ki.cjs +2 -0
  185. package/dist/infoDiagram-FWYZ7A6U-Dc0m9qAx.js +21 -0
  186. package/dist/init-1VpIn1S3.js +16 -0
  187. package/dist/init-CbDwVtpO.cjs +1 -0
  188. package/dist/{input-BMMM60e6.js → input-CDH6zY9I.js} +6 -6
  189. package/dist/input.js +1 -1
  190. package/dist/ishikawaDiagram-FXEZZL3T-BugNyysB.cjs +70 -0
  191. package/dist/ishikawaDiagram-FXEZZL3T-DuFtHOmf.js +742 -0
  192. package/dist/journeyDiagram-5HDEW3XC-Bshelnhq.js +928 -0
  193. package/dist/journeyDiagram-5HDEW3XC-ItmURvA2.cjs +139 -0
  194. package/dist/kanban-definition-HUTT4EX6-BL512R2A.cjs +89 -0
  195. package/dist/kanban-definition-HUTT4EX6-Dogv2paU.js +1050 -0
  196. package/dist/katex-Cq3Y8cmK.cjs +257 -0
  197. package/dist/katex-Pg2EqTH0.js +23485 -0
  198. package/dist/line-BIPmUVxO.js +33 -0
  199. package/dist/line-CAB5QHC6.cjs +1 -0
  200. package/dist/linear-B2AM4ZBe.js +259 -0
  201. package/dist/linear-CSAfNEpl.cjs +1 -0
  202. package/dist/{link-DURZzd7u.js → link-BCrmHvXP.js} +3 -3
  203. package/dist/link.js +1 -1
  204. package/dist/{loading-BScjyeVm.js → loading-DJWGih1g.js} +4 -4
  205. package/dist/loading.js +1 -1
  206. package/dist/map-BC2bk_rV.cjs +1 -0
  207. package/dist/map-DMSWkcq6.js +208 -0
  208. package/dist/{math-IjzOAwnA.js → math-DRmkEDSQ.js} +4 -4
  209. package/dist/math.js +1 -1
  210. package/dist/mermaid-CMhm7npE.js +261 -0
  211. package/dist/mermaid-parser.core-DYumW1vq.cjs +6 -0
  212. package/dist/mermaid-parser.core-uIDZYuBu.js +654 -0
  213. package/dist/mermaid.core-B2d5lQW2.js +1085 -0
  214. package/dist/mermaid.core-a1hgpWfs.cjs +10 -0
  215. package/dist/mermaid.js +5 -0
  216. package/dist/{message-CLpuP8HY.js → message-BpYJBvYn.js} +36 -51
  217. package/dist/message.js +1 -1
  218. package/dist/mindmap-definition-LN4V7U3C-DYZgIZym.cjs +96 -0
  219. package/dist/mindmap-definition-LN4V7U3C-f7s5ZePP.js +1070 -0
  220. package/dist/{modal-DOTpABRe.js → modal-BeQlDYDP.js} +40 -24
  221. package/dist/modal.js +1 -1
  222. package/dist/ordinal-BMN81JG2.js +64 -0
  223. package/dist/ordinal-BplLHIij.cjs +1 -0
  224. package/dist/packet-7NZHBO7P-4PLslLZJ.js +5 -0
  225. package/dist/packet-7NZHBO7P-DeyLCrSn.cjs +1 -0
  226. package/dist/path-Bja5PoYn.js +82 -0
  227. package/dist/path-DmfWsuKi.cjs +1 -0
  228. package/dist/pegDiagram-2B236MQR-B-Xeh55J.js +107 -0
  229. package/dist/pegDiagram-2B236MQR-Bo5Nj40u.cjs +1 -0
  230. package/dist/pie-RZYD4A2V-DBE9a8Kz.js +5 -0
  231. package/dist/pie-RZYD4A2V-pDNZ2ZyB.cjs +1 -0
  232. package/dist/pieDiagram-ENE6RG2P-BkSiP4iu.cjs +39 -0
  233. package/dist/pieDiagram-ENE6RG2P-CVSE95zc.js +207 -0
  234. package/dist/{player-5olrw-qB.js → player-CQ4e3Yeo.js} +196 -195
  235. package/dist/player.js +1 -1
  236. package/dist/{popover-DRUQjdPs.js → popover-eZMnL1F3.js} +22 -54
  237. package/dist/popover.js +1 -1
  238. package/dist/{progress-BIEXYYd2.js → progress-DyHgW4Ep.js} +5 -5
  239. package/dist/progress.js +1 -1
  240. package/dist/quadrantDiagram-ABIIQ3AL-BDmdDGsh.cjs +7 -0
  241. package/dist/quadrantDiagram-ABIIQ3AL-TJ8FmqES.js +2058 -0
  242. package/dist/{radar-DAF95_Mj.js → radar-D21Rccap.js} +5 -5
  243. package/dist/radar-I7S5WNFK-CY5ycn2a.cjs +1 -0
  244. package/dist/radar-I7S5WNFK-DFTxtd_t.js +5 -0
  245. package/dist/radar.js +1 -1
  246. package/dist/railroad-3IZDKUUU-DALJwv16.js +5 -0
  247. package/dist/railroad-3IZDKUUU-DGzXHqt7.cjs +1 -0
  248. package/dist/railroad-abnf-AHOZXSZD-BCIHdSw6.cjs +1 -0
  249. package/dist/railroad-abnf-AHOZXSZD-CntW2udQ.js +5 -0
  250. package/dist/railroad-ebnf-EBAXGLYW-4vFZrfHF.cjs +1 -0
  251. package/dist/railroad-ebnf-EBAXGLYW-s_1ZOb_9.js +5 -0
  252. package/dist/railroad-peg-LSFZ7HO6-CaM5A0Ml.js +5 -0
  253. package/dist/railroad-peg-LSFZ7HO6-D_oFW1Bo.cjs +1 -0
  254. package/dist/railroadDiagram-RFXS5EU6-0lS5wYI7.js +83 -0
  255. package/dist/railroadDiagram-RFXS5EU6-DJKAtnQk.cjs +1 -0
  256. package/dist/ranui.css +1 -1
  257. package/dist/requirementDiagram-TGXJPOKE-Bg701bNl.cjs +84 -0
  258. package/dist/requirementDiagram-TGXJPOKE-viCQLyJd.js +2301 -0
  259. package/dist/rolldown-runtime-9ZSF5uba.js +16 -0
  260. package/dist/rolldown-runtime-CAnuVJ4g.cjs +1 -0
  261. package/dist/rough.esm-BWe9E0Nz.js +1387 -0
  262. package/dist/rough.esm-BfSi6CZE.cjs +1 -0
  263. package/dist/route-pR5P4ann.js +116 -0
  264. package/dist/route.js +1 -1
  265. package/dist/{router-B9rCrWXm.js → router-CewzSH7O.js} +23 -18
  266. package/dist/router.js +1 -1
  267. package/dist/sankeyDiagram-HTMAVEWB-CV6_AuMF.js +974 -0
  268. package/dist/sankeyDiagram-HTMAVEWB-K-nGMsuS.cjs +40 -0
  269. package/dist/{scratch-QlPyy1f4.js → scratch-BFVsgl-7.js} +2 -2
  270. package/dist/scratch.js +1 -1
  271. package/dist/{section-D0qMm9KM.js → section-DSPCsIxv.js} +2 -2
  272. package/dist/section.js +1 -1
  273. package/dist/{select-aAaWoveE.js → select-B58nMfB1.js} +16 -23
  274. package/dist/select.js +1 -1
  275. package/dist/sequenceDiagram-DBY2YBRQ-4GdkLnUr.cjs +162 -0
  276. package/dist/sequenceDiagram-DBY2YBRQ-B9WNesh2.js +4326 -0
  277. package/dist/sizeCapture-X5ZJPWSS-BUY3-n09.cjs +1 -0
  278. package/dist/sizeCapture-X5ZJPWSS-D7rGsqTl.js +48 -0
  279. package/dist/{skeleton-CFqQmKyt.js → skeleton-DoHYMsTn.js} +5 -5
  280. package/dist/skeleton.js +1 -1
  281. package/dist/src-C9EhKhbk.cjs +1 -0
  282. package/dist/src-DtRLxcYO.js +2104 -0
  283. package/dist/stateDiagram-2N3HPSRC-B7VpgjJu.cjs +1 -0
  284. package/dist/stateDiagram-2N3HPSRC-DxH4BMSh.js +237 -0
  285. package/dist/stateDiagram-v2-6OUMAXLB-CQv7GIaO.cjs +1 -0
  286. package/dist/stateDiagram-v2-6OUMAXLB-CWfn6e7n.js +30 -0
  287. package/dist/swimlanes-5IMT3BWC-DcADNGpg.js +5258 -0
  288. package/dist/swimlanes-5IMT3BWC-o-MjdPlw.cjs +1 -0
  289. package/dist/swimlanesDiagram-G3AALYLV-D-rmAGky.cjs +8 -0
  290. package/dist/swimlanesDiagram-G3AALYLV-DDtDtl1L.js +31 -0
  291. package/dist/{tab-CiF2YPck.js → tab-BRPdZ9Ws.js} +5 -5
  292. package/dist/tab.js +1 -1
  293. package/dist/{tabpane-B-m3xwqu.js → tabpane-Owf72hw_.js} +5 -5
  294. package/dist/tabpane.js +1 -1
  295. package/dist/test/unit/icon.builtin.test.d.ts +1 -0
  296. package/dist/test/unit/utils.colorpicker.reconnect.test.d.ts +1 -0
  297. package/dist/test/unit/utils.route.lazy.test.d.ts +1 -0
  298. package/dist/test/unit/utils.router.match.test.d.ts +1 -0
  299. package/dist/test/unit/utils.signal.owner.test.d.ts +1 -0
  300. package/dist/{theme-switch-B09egc6h.js → theme-switch-CZDIIonc.js} +4 -4
  301. package/dist/theme-switch.js +1 -1
  302. package/dist/timeline-definition-FHXFAJF6-C80VjPLh.js +1119 -0
  303. package/dist/timeline-definition-FHXFAJF6-DOwvOb3S.cjs +120 -0
  304. package/dist/treeView-QDETBFTQ-B1Ejxfpg.cjs +1 -0
  305. package/dist/treeView-QDETBFTQ-vTKOZls1.js +5 -0
  306. package/dist/treemap-6X3UGDF4-D0FeO_NX.cjs +1 -0
  307. package/dist/treemap-6X3UGDF4-Ddzv6Gqd.js +5 -0
  308. package/dist/utils/builder/core.d.ts +153 -16
  309. package/dist/utils/builder/factory.d.ts +1 -1
  310. package/dist/utils/builder/index.d.ts +3 -3
  311. package/dist/utils/builder/signal.d.ts +93 -64
  312. package/dist/utils/router/index.d.ts +13 -3
  313. package/dist/utils/router.js +95 -54
  314. package/dist/utils/theme.d.ts +1 -1
  315. package/dist/{utils-DBfrRFoE.js → utils-D1iZnChu.js} +38 -31
  316. package/dist/vennDiagram-L72KCM5P-BYHB7OW8.js +1955 -0
  317. package/dist/vennDiagram-L72KCM5P-CidVJK6y.cjs +34 -0
  318. package/dist/wardley-OPB4EBWU-C1hXbbD4.cjs +1 -0
  319. package/dist/wardley-OPB4EBWU-DBgFLc64.js +5 -0
  320. package/dist/wardleyDiagram-EHGQE667--ubmCaWM.js +652 -0
  321. package/dist/wardleyDiagram-EHGQE667-K6ckkRZS.cjs +78 -0
  322. package/dist/warning-circle-fill-Cz0qu7AH.js +23 -0
  323. package/dist/xychartDiagram-FW5EYKEG-CzdokxrM.cjs +7 -0
  324. package/dist/xychartDiagram-FW5EYKEG-DLqWcTPt.js +2154 -0
  325. package/docs/BUILDER.md +383 -0
  326. package/docs/COMPONENTS.md +21 -3
  327. package/package.json +31 -3
  328. package/dist/button-Be_uHDZG.js +0 -117
  329. package/dist/factory-BdsO0dEW.js +0 -165
  330. package/dist/route-MQZpn2BP.js +0 -88
  331. package/dist/signal-CSSZxlK5.js +0 -57
@@ -0,0 +1,630 @@
1
+ import { n as d } from "./chunk-Y2CYZVJY-0JxdZxki.js";
2
+ import { m as y, p as Y } from "./src-DtRLxcYO.js";
3
+ import { T as ot, b as X, x as H } from "./chunk-WYO6CB5R-DDHkKowO.js";
4
+ import { $ as kt, J as mt, K as ut, Q as yt, X as gt, Y as xt, Z as bt, et as rt, g as C, nt as wt, q as Mt, rt as G, tt as Lt, u as _t } from "./chunk-ICXQ74PX-DR8rL-xF.js";
5
+ import { t as St } from "./line-BIPmUVxO.js";
6
+ import { n as Ot } from "./chunk-Q4XR5HBZ-3BHjjc9u.js";
7
+ import { i as at, n as $t, r as I, t as A } from "./chunk-7BUUIJ7U-9hiBbc7O.js";
8
+ import { n as Et } from "./chunk-OGEWGWER-BV51ll2w.js";
9
+ import { i as Ut, n as vt } from "./chunk-C7G6YPKG-CA-DNpvI.js";
10
+ import { t as Wt } from "./rough.esm-BWe9E0Nz.js";
11
+ import { r as V } from "./chunk-ZGVPDNZ5-6uMbTJXy.js";
12
+ var Xt = /* @__PURE__ */ d((r, t, a, e, n, s = !1, o) => {
13
+ t.arrowTypeStart && et(r, "start", t.arrowTypeStart, a, e, n, s, o), t.arrowTypeEnd && et(r, "end", t.arrowTypeEnd, a, e, n, s, o);
14
+ }, "addEdgeMarkers"), Yt = {
15
+ arrow_cross: {
16
+ type: "cross",
17
+ fill: !1
18
+ },
19
+ arrow_point: {
20
+ type: "point",
21
+ fill: !0
22
+ },
23
+ arrow_barb: {
24
+ type: "barb",
25
+ fill: !0
26
+ },
27
+ arrow_barb_neo: {
28
+ type: "barb",
29
+ fill: !0
30
+ },
31
+ arrow_circle: {
32
+ type: "circle",
33
+ fill: !1
34
+ },
35
+ aggregation: {
36
+ type: "aggregation",
37
+ fill: !1
38
+ },
39
+ extension: {
40
+ type: "extension",
41
+ fill: !1
42
+ },
43
+ composition: {
44
+ type: "composition",
45
+ fill: !0
46
+ },
47
+ dependency: {
48
+ type: "dependency",
49
+ fill: !0
50
+ },
51
+ lollipop: {
52
+ type: "lollipop",
53
+ fill: !1
54
+ },
55
+ only_one: {
56
+ type: "onlyOne",
57
+ fill: !1
58
+ },
59
+ zero_or_one: {
60
+ type: "zeroOrOne",
61
+ fill: !1
62
+ },
63
+ one_or_more: {
64
+ type: "oneOrMore",
65
+ fill: !1
66
+ },
67
+ zero_or_more: {
68
+ type: "zeroOrMore",
69
+ fill: !1
70
+ },
71
+ requirement_arrow: {
72
+ type: "requirement_arrow",
73
+ fill: !1
74
+ },
75
+ requirement_contains: {
76
+ type: "requirement_contains",
77
+ fill: !1
78
+ }
79
+ }, Ht = [
80
+ "cross",
81
+ "point",
82
+ "circle",
83
+ "lollipop",
84
+ "aggregation",
85
+ "extension",
86
+ "composition",
87
+ "dependency",
88
+ "barb"
89
+ ], et = /* @__PURE__ */ d((r, t, a, e, n, s, o = !1, i) => {
90
+ const f = Yt[a], k = f && Ht.includes(f.type);
91
+ if (!f) {
92
+ y.warn(`Unknown arrow type: ${a}`);
93
+ return;
94
+ }
95
+ const l = `${n}_${s}-${f.type}${t === "start" ? "Start" : "End"}${o && k ? "-margin" : ""}`;
96
+ if (i && i.trim() !== "") {
97
+ const p = `${l}_${i.replace(/[^\dA-Za-z]/g, "_")}`;
98
+ if (!document.getElementById(p)) {
99
+ const c = document.getElementById(l);
100
+ if (c) {
101
+ const h = c.cloneNode(!0);
102
+ h.id = p, h.querySelectorAll("path, circle, line").forEach((m) => {
103
+ m.setAttribute("stroke", i), f.fill && m.setAttribute("fill", i);
104
+ }), c.parentNode?.appendChild(h);
105
+ }
106
+ }
107
+ r.attr(`marker-${t}`, `url(${e}#${p})`);
108
+ } else r.attr(`marker-${t}`, `url(${e}#${l})`);
109
+ }, "addEdgeMarker"), Tt = /* @__PURE__ */ d((r) => typeof r == "string" ? r : H()?.flowchart?.curve, "resolveEdgeCurveType"), j = /* @__PURE__ */ new Map(), L = /* @__PURE__ */ new Map(), tr = /* @__PURE__ */ d(() => {
110
+ j.clear(), L.clear();
111
+ }, "clear"), P = /* @__PURE__ */ d((r) => r ? typeof r == "string" ? r : r.reduce((t, a) => t + ";" + a, "") : "", "getLabelStyles"), rr = /* @__PURE__ */ d(async (r, t) => {
112
+ const a = H();
113
+ let e = ot(a);
114
+ const { labelStyles: n } = Ut(t);
115
+ t.labelStyle = n;
116
+ const s = r.insert("g").attr("class", "edgeLabel"), o = s.insert("g").attr("class", "label").attr("data-id", t.id), i = t.labelType === "markdown", f = await Ot(r, t.label, {
117
+ style: P(t.labelStyle),
118
+ useHtmlLabels: e,
119
+ addSvgBackground: !0,
120
+ isNode: !1,
121
+ markdown: i,
122
+ width: void 0
123
+ }, a);
124
+ o.node().appendChild(f), y.info("abc82", t, t.labelType);
125
+ let k = f.getBBox(), l = k;
126
+ if (e) {
127
+ const c = f.children[0], h = Y(f);
128
+ k = c.getBoundingClientRect(), l = k, h.attr("width", k.width), h.attr("height", k.height);
129
+ } else {
130
+ const c = Y(f).select("text").node();
131
+ c && typeof c.getBBox == "function" && (l = c.getBBox());
132
+ }
133
+ o.attr("transform", A(l, e)), j.set(t.id, s), t.width = k.width, t.height = k.height;
134
+ let p;
135
+ if (t.startLabelLeft) {
136
+ const c = r.insert("g").attr("class", "edgeTerminals"), h = c.insert("g").attr("class", "inner"), m = await V(h, t.startLabelLeft, P(t.labelStyle) || "", !1, !1);
137
+ p = m;
138
+ let u = m.getBBox();
139
+ if (e) {
140
+ const w = m.children[0], x = Y(m);
141
+ u = w.getBoundingClientRect(), x.attr("width", u.width), x.attr("height", u.height);
142
+ }
143
+ h.attr("transform", A(u, e)), L.get(t.id) || L.set(t.id, {}), L.get(t.id).startLeft = c, Q(p, t.startLabelLeft);
144
+ }
145
+ if (t.startLabelRight) {
146
+ const c = r.insert("g").attr("class", "edgeTerminals"), h = c.insert("g").attr("class", "inner"), m = await V(h, t.startLabelRight, P(t.labelStyle) || "", !1, !1);
147
+ p = m;
148
+ let u = m.getBBox();
149
+ if (e) {
150
+ const w = m.children[0], x = Y(m);
151
+ u = w.getBoundingClientRect(), x.attr("width", u.width), x.attr("height", u.height);
152
+ }
153
+ h.attr("transform", A(u, e)), L.get(t.id) || L.set(t.id, {}), L.get(t.id).startRight = c, Q(p, t.startLabelRight);
154
+ }
155
+ if (t.endLabelLeft) {
156
+ const c = r.insert("g").attr("class", "edgeTerminals"), h = c.insert("g").attr("class", "inner"), m = await V(c, t.endLabelLeft, P(t.labelStyle) || "", !1, !1);
157
+ p = m;
158
+ let u = m.getBBox();
159
+ if (e) {
160
+ const w = m.children[0], x = Y(m);
161
+ u = w.getBoundingClientRect(), x.attr("width", u.width), x.attr("height", u.height);
162
+ }
163
+ h.attr("transform", A(u, e)), L.get(t.id) || L.set(t.id, {}), L.get(t.id).endLeft = c, Q(p, t.endLabelLeft);
164
+ }
165
+ if (t.endLabelRight) {
166
+ const c = r.insert("g").attr("class", "edgeTerminals"), h = c.insert("g").attr("class", "inner"), m = await V(c, t.endLabelRight, P(t.labelStyle) || "", !1, !1);
167
+ p = m;
168
+ let u = m.getBBox();
169
+ if (e) {
170
+ const w = m.children[0], x = Y(m);
171
+ u = w.getBoundingClientRect(), x.attr("width", u.width), x.attr("height", u.height);
172
+ }
173
+ h.attr("transform", A(u, e)), L.get(t.id) || L.set(t.id, {}), L.get(t.id).endRight = c, Q(p, t.endLabelRight);
174
+ }
175
+ return f;
176
+ }, "insertEdgeLabel");
177
+ function Q(r, t) {
178
+ ot(H()) && r && (r.style.width = t.length * 9 + "px", r.style.height = "12px");
179
+ }
180
+ d(Q, "setTerminalWidth");
181
+ var ar = /* @__PURE__ */ d((r, t) => {
182
+ y.debug("Moving label abc88 ", r.id, r.label, j.get(r.id), t);
183
+ let a = t.updatedPath ? t.updatedPath : t.originalPath;
184
+ const { subGraphTitleTotalMargin: e } = Et(H());
185
+ if (r.label) {
186
+ const n = j.get(r.id);
187
+ let s = r.x, o = r.y;
188
+ if (a) {
189
+ const i = C.calcLabelPosition(a);
190
+ y.debug("Moving label " + r.label + " from (", s, ",", o, ") to (", i.x, ",", i.y, ") abc88"), t.updatedPath && (s = i.x, o = i.y);
191
+ }
192
+ n.attr("transform", `translate(${s}, ${o + e / 2})`);
193
+ }
194
+ if (r.startLabelLeft) {
195
+ const n = L.get(r.id).startLeft;
196
+ let s = r.x, o = r.y;
197
+ if (a) {
198
+ const i = C.calcTerminalLabelPosition(r.arrowTypeStart ? 10 : 0, "start_left", a);
199
+ s = i.x, o = i.y;
200
+ }
201
+ n.attr("transform", `translate(${s}, ${o})`);
202
+ }
203
+ if (r.startLabelRight) {
204
+ const n = L.get(r.id).startRight;
205
+ let s = r.x, o = r.y;
206
+ if (a) {
207
+ const i = C.calcTerminalLabelPosition(r.arrowTypeStart ? 10 : 0, "start_right", a);
208
+ s = i.x, o = i.y;
209
+ }
210
+ n.attr("transform", `translate(${s}, ${o})`);
211
+ }
212
+ if (r.endLabelLeft) {
213
+ const n = L.get(r.id).endLeft;
214
+ let s = r.x, o = r.y;
215
+ if (a) {
216
+ const i = C.calcTerminalLabelPosition(r.arrowTypeEnd ? 10 : 0, "end_left", a);
217
+ s = i.x, o = i.y;
218
+ }
219
+ n.attr("transform", `translate(${s}, ${o})`);
220
+ }
221
+ if (r.endLabelRight) {
222
+ const n = L.get(r.id).endRight;
223
+ let s = r.x, o = r.y;
224
+ if (a) {
225
+ const i = C.calcTerminalLabelPosition(r.arrowTypeEnd ? 10 : 0, "end_right", a);
226
+ s = i.x, o = i.y;
227
+ }
228
+ n.attr("transform", `translate(${s}, ${o})`);
229
+ }
230
+ }, "positionEdgeLabel"), Bt = /* @__PURE__ */ d((r, t) => {
231
+ if (!r?.isLabelEdge || !r?.id?.endsWith("-to-label") || !Array.isArray(t) || t.length !== 2) return t;
232
+ const [a, e] = t, n = Math.abs(e.x - a.x), s = Math.abs(e.y - a.y);
233
+ return n < 1e-3 || s < 1e-3 ? t : s >= n ? [
234
+ a,
235
+ {
236
+ x: a.x,
237
+ y: e.y
238
+ },
239
+ e
240
+ ] : [
241
+ a,
242
+ {
243
+ x: e.x,
244
+ y: a.y
245
+ },
246
+ e
247
+ ];
248
+ }, "orthogonalizeToLabelClippedPoints"), zt = /* @__PURE__ */ d((r, t) => {
249
+ const a = r.x, e = r.y, n = Math.abs(t.x - a), s = Math.abs(t.y - e), o = r.width / 2, i = r.height / 2;
250
+ return n >= o || s >= i;
251
+ }, "outsideNode"), Ct = /* @__PURE__ */ d((r, t, a) => {
252
+ y.debug(`intersection calc abc89:
253
+ outsidePoint: ${JSON.stringify(t)}
254
+ insidePoint : ${JSON.stringify(a)}
255
+ node : x:${r.x} y:${r.y} w:${r.width} h:${r.height}`);
256
+ const e = r.x, n = r.y, s = Math.abs(e - a.x), o = r.width / 2;
257
+ let i = a.x < t.x ? o - s : o + s;
258
+ const f = r.height / 2, k = Math.abs(t.y - a.y), l = Math.abs(t.x - a.x);
259
+ if (Math.abs(n - t.y) * o > Math.abs(e - t.x) * f) {
260
+ let p = a.y < t.y ? t.y - f - n : n - f - t.y;
261
+ i = l * p / k;
262
+ const c = {
263
+ x: a.x < t.x ? a.x + i : a.x - l + i,
264
+ y: a.y < t.y ? a.y + k - p : a.y - k + p
265
+ };
266
+ return i === 0 && (c.x = t.x, c.y = t.y), l === 0 && (c.x = t.x), k === 0 && (c.y = t.y), y.debug(`abc89 top/bottom calc, Q ${k}, q ${p}, R ${l}, r ${i}`, c), c;
267
+ } else {
268
+ a.x < t.x ? i = t.x - o - e : i = e - o - t.x;
269
+ let p = k * i / l, c = a.x < t.x ? a.x + l - i : a.x - l + i, h = a.y < t.y ? a.y + p : a.y - p;
270
+ return y.debug(`sides calc abc89, Q ${k}, q ${p}, R ${l}, r ${i}`, {
271
+ _x: c,
272
+ _y: h
273
+ }), i === 0 && (c = t.x, h = t.y), l === 0 && (c = t.x), k === 0 && (h = t.y), {
274
+ x: c,
275
+ y: h
276
+ };
277
+ }
278
+ }, "intersection"), nt = /* @__PURE__ */ d((r, t) => {
279
+ y.warn("abc88 cutPathAtIntersect", r, t);
280
+ let a = [], e = r[0], n = !1;
281
+ return r.forEach((s) => {
282
+ if (y.info("abc88 checking point", s, t), !zt(t, s) && !n) {
283
+ const o = Ct(t, e, s);
284
+ y.debug("abc88 inside", s, e, o), y.debug("abc88 intersection", o, t);
285
+ let i = !1;
286
+ a.forEach((f) => {
287
+ i = i || f.x === o.x && f.y === o.y;
288
+ }), a.some((f) => f.x === o.x && f.y === o.y) ? y.warn("abc88 no intersect", o, a) : a.push(o), n = !0;
289
+ } else
290
+ y.warn("abc88 outside", s, e), e = s, n || a.push(s);
291
+ }), y.debug("returning points", a), a;
292
+ }, "cutPathAtIntersect");
293
+ function it(r) {
294
+ const t = [], a = [];
295
+ for (let e = 1; e < r.length - 1; e++) {
296
+ const n = r[e - 1], s = r[e], o = r[e + 1];
297
+ (n.x === s.x && s.y === o.y && Math.abs(s.x - o.x) > 5 && Math.abs(s.y - n.y) > 5 || n.y === s.y && s.x === o.x && Math.abs(s.x - n.x) > 5 && Math.abs(s.y - o.y) > 5) && (t.push(s), a.push(e));
298
+ }
299
+ return {
300
+ cornerPoints: t,
301
+ cornerPointPositions: a
302
+ };
303
+ }
304
+ d(it, "extractCornerPoints");
305
+ var st = /* @__PURE__ */ d(function(r, t, a) {
306
+ const e = t.x - r.x, n = t.y - r.y, s = a / Math.sqrt(e * e + n * n);
307
+ return {
308
+ x: t.x - s * e,
309
+ y: t.y - s * n
310
+ };
311
+ }, "findAdjacentPoint"), Rt = /* @__PURE__ */ d(function(r) {
312
+ const { cornerPointPositions: t } = it(r), a = [];
313
+ for (let e = 0; e < r.length; e++) if (t.includes(e)) {
314
+ const n = r[e - 1], s = r[e + 1], o = r[e], i = st(n, o, 5), f = st(s, o, 5), k = f.x - i.x, l = f.y - i.y;
315
+ a.push(i);
316
+ const p = Math.sqrt(2) * 2;
317
+ let c = {
318
+ x: o.x,
319
+ y: o.y
320
+ };
321
+ if (Math.abs(s.x - n.x) > 10 && Math.abs(s.y - n.y) >= 10) {
322
+ y.debug("Corner point fixing", Math.abs(s.x - n.x), Math.abs(s.y - n.y));
323
+ const h = 5;
324
+ o.x === i.x ? c = {
325
+ x: k < 0 ? i.x - h + p : i.x + h - p,
326
+ y: l < 0 ? i.y - p : i.y + p
327
+ } : c = {
328
+ x: k < 0 ? i.x - p : i.x + p,
329
+ y: l < 0 ? i.y - h + p : i.y + h - p
330
+ };
331
+ } else y.debug("Corner point skipping fixing", Math.abs(s.x - n.x), Math.abs(s.y - n.y));
332
+ a.push(c, f);
333
+ } else a.push(r[e]);
334
+ return a;
335
+ }, "fixCorners"), qt = /* @__PURE__ */ d((r, t, a) => {
336
+ const e = r - t - a, n = 2, s = 2, o = Math.floor(e / 4);
337
+ return `0 ${t} ${Array(o).fill(`${n} ${s}`).join(" ")} ${a}`;
338
+ }, "generateDashArray"), er = /* @__PURE__ */ d(function(r, t, a, e, n, s, o, i = !1) {
339
+ if (!o) throw new Error(`insertEdge: missing diagramId for edge "${t.id}" — edge IDs require a diagram prefix for uniqueness`);
340
+ const { handDrawnSeed: f, layout: k } = H();
341
+ let l = t.points, p = !1;
342
+ const c = n;
343
+ var h = s;
344
+ const m = [];
345
+ for (const g in t.cssCompiledStyles)
346
+ vt(g) || m.push(t.cssCompiledStyles[g]);
347
+ if (k === "swimlane") {
348
+ if (h.intersect && c.intersect && Array.isArray(l) && l.length >= 2) if (l.length === 2) l = [c.intersect(l[0]), h.intersect(l[1])];
349
+ else {
350
+ const g = l.slice(1, -1), E = g[0], S = g[g.length - 1], O = 0.5, z = Math.abs(l[l.length - 1].x - S.x) < O && Math.abs(l[l.length - 1].y - S.y) < O, U = c.intersect(E), v = z ? S : h.intersect(S), W = Math.abs(v.x - S.x) < O && Math.abs(v.y - S.y) < O, q = Math.abs(U.x - E.x) < O && Math.abs(U.y - E.y) < O ? [] : [U], ft = W ? [] : [v];
351
+ l = [
352
+ ...q,
353
+ ...g,
354
+ ...ft
355
+ ];
356
+ }
357
+ l = Bt(t, l);
358
+ } else h.intersect && c.intersect && !i && (l = l.slice(1, t.points.length - 1), l.unshift(c.intersect(l[0])), l.push(h.intersect(l[l.length - 1])));
359
+ const u = btoa(JSON.stringify(l));
360
+ t.toCluster && (y.info("to cluster abc88", a.get(t.toCluster)), l = nt(t.points, a.get(t.toCluster).node), p = !0), t.fromCluster && (y.debug("from cluster abc88", a.get(t.fromCluster), JSON.stringify(l, null, 2)), l = nt(l.reverse(), a.get(t.fromCluster).node).reverse(), p = !0);
361
+ let w = l.filter((g) => !Number.isNaN(g.y));
362
+ const x = Tt(t.curve);
363
+ x !== "rounded" && (w = Rt(w));
364
+ let b = G;
365
+ switch (x) {
366
+ case "linear":
367
+ b = G;
368
+ break;
369
+ case "basis":
370
+ b = rt;
371
+ break;
372
+ case "cardinal":
373
+ b = kt;
374
+ break;
375
+ case "bumpX":
376
+ b = Lt;
377
+ break;
378
+ case "bumpY":
379
+ b = wt;
380
+ break;
381
+ case "catmullRom":
382
+ b = yt;
383
+ break;
384
+ case "monotoneX":
385
+ b = gt;
386
+ break;
387
+ case "monotoneY":
388
+ b = bt;
389
+ break;
390
+ case "natural":
391
+ b = xt;
392
+ break;
393
+ case "step":
394
+ b = mt;
395
+ break;
396
+ case "stepAfter":
397
+ b = ut;
398
+ break;
399
+ case "stepBefore":
400
+ b = Mt;
401
+ break;
402
+ case "rounded":
403
+ b = G;
404
+ break;
405
+ default:
406
+ b = rt;
407
+ }
408
+ const { x: D, y: R } = $t(t), T = St().x(D).y(R).curve(b);
409
+ let _;
410
+ switch (t.thickness) {
411
+ case "normal":
412
+ _ = "edge-thickness-normal";
413
+ break;
414
+ case "thick":
415
+ _ = "edge-thickness-thick";
416
+ break;
417
+ case "invisible":
418
+ _ = "edge-thickness-invisible";
419
+ break;
420
+ default:
421
+ _ = "edge-thickness-normal";
422
+ }
423
+ switch (t.pattern) {
424
+ case "solid":
425
+ _ += " edge-pattern-solid";
426
+ break;
427
+ case "dotted":
428
+ _ += " edge-pattern-dotted";
429
+ break;
430
+ case "dashed":
431
+ _ += " edge-pattern-dashed";
432
+ break;
433
+ default:
434
+ _ += " edge-pattern-solid";
435
+ }
436
+ let M, Z = x === "rounded" ? lt(ct(w, t), 5) : T(w);
437
+ const $ = Array.isArray(t.style) ? t.style : [t.style];
438
+ let tt = $.find((g) => g?.startsWith("stroke:")), B = "";
439
+ t.animate && (B = "edge-animation-fast"), t.animation && (B = "edge-animation-" + t.animation);
440
+ let J = !1;
441
+ if (t.look === "handDrawn") {
442
+ const g = Wt.svg(r);
443
+ Object.assign([], w);
444
+ const E = g.path(Z, {
445
+ roughness: 0.3,
446
+ seed: f
447
+ });
448
+ _ += " transition", M = Y(E).select("path").attr("id", `${o}-${t.id}`).attr("class", " " + _ + (t.classes ? " " + t.classes : "") + (B ? " " + B : "")).attr("style", $ ? $.reduce((O, z) => O + ";" + z, "") : "");
449
+ let S = M.attr("d");
450
+ M.attr("d", S), r.node().appendChild(M.node());
451
+ } else {
452
+ const g = m.join(";"), E = $ ? $.reduce((W, q) => W + q + ";", "") : "", S = (g ? g + ";" + E + ";" : E) + ";" + ($ ? $.reduce((W, q) => W + ";" + q, "") : "");
453
+ M = r.append("path").attr("d", Z).attr("id", `${o}-${t.id}`).attr("class", " " + _ + (t.classes ? " " + t.classes : "") + (B ? " " + B : "")).attr("style", S), tt = S.match(/stroke:([^;]+)/)?.[1], J = t.animate === !0 || !!t.animation || g.includes("animation");
454
+ const O = M.node(), z = typeof O.getTotalLength == "function" ? O.getTotalLength() : 0, U = at[t.arrowTypeStart] || 0, v = at[t.arrowTypeEnd] || 0;
455
+ if (t.look === "neo" && !J) {
456
+ const W = `stroke-dasharray: ${t.pattern === "dotted" || t.pattern === "dashed" ? qt(z, U, v) : `0 ${U} ${z - U - v} ${v}`}; stroke-dashoffset: 0;`;
457
+ M.attr("style", W + M.attr("style"));
458
+ }
459
+ }
460
+ M.attr("data-edge", !0), M.attr("data-et", "edge"), M.attr("data-id", t.id), M.attr("data-points", u), M.attr("data-look", _t(t.look)), t.showPoints && w.forEach((g) => {
461
+ r.append("circle").style("stroke", "red").style("fill", "red").attr("r", 1).attr("cx", g.x).attr("cy", g.y);
462
+ });
463
+ let N = "";
464
+ (H().flowchart.arrowMarkerAbsolute || H().state.arrowMarkerAbsolute) && (N = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, N = N.replace(/\(/g, "\\(").replace(/\)/g, "\\)")), y.info("arrowTypeStart", t.arrowTypeStart), y.info("arrowTypeEnd", t.arrowTypeEnd);
465
+ const dt = !J && t?.look === "neo";
466
+ Xt(M, t, N, o, e, dt, tt);
467
+ const pt = Math.floor(l.length / 2), ht = l[pt];
468
+ C.isLabelCoordinateInPath(ht, M.attr("d")) || (p = !0);
469
+ let F = {};
470
+ return p && (F.updatedPath = l), F.originalPath = t.points, F;
471
+ }, "insertEdge");
472
+ function lt(r, t) {
473
+ if (r.length < 2) return "";
474
+ let a = "";
475
+ const e = r.length, n = 1e-5;
476
+ for (let s = 0; s < e; s++) {
477
+ const o = r[s], i = r[s - 1], f = r[s + 1];
478
+ if (s === 0) a += `M${o.x},${o.y}`;
479
+ else if (s === e - 1) a += `L${o.x},${o.y}`;
480
+ else {
481
+ const k = o.x - i.x, l = o.y - i.y, p = f.x - o.x, c = f.y - o.y, h = Math.hypot(k, l), m = Math.hypot(p, c);
482
+ if (h < n || m < n) {
483
+ a += `L${o.x},${o.y}`;
484
+ continue;
485
+ }
486
+ const u = k / h, w = l / h, x = p / m, b = c / m, D = u * x + w * b, R = Math.acos(Math.max(-1, Math.min(1, D)));
487
+ if (R < n || Math.abs(Math.PI - R) < n) {
488
+ a += `L${o.x},${o.y}`;
489
+ continue;
490
+ }
491
+ const T = Math.min(t / Math.sin(R / 2), h / 2, m / 2), _ = o.x - u * T, M = o.y - w * T, Z = o.x + x * T, $ = o.y + b * T;
492
+ a += `L${_},${M}`, a += `Q${o.x},${o.y} ${Z},${$}`;
493
+ }
494
+ }
495
+ return a;
496
+ }
497
+ d(lt, "generateRoundedPath");
498
+ function K(r, t) {
499
+ if (!r || !t) return {
500
+ angle: 0,
501
+ deltaX: 0,
502
+ deltaY: 0
503
+ };
504
+ const a = t.x - r.x, e = t.y - r.y;
505
+ return {
506
+ angle: Math.atan2(e, a),
507
+ deltaX: a,
508
+ deltaY: e
509
+ };
510
+ }
511
+ d(K, "calculateDeltaAndAngle");
512
+ function ct(r, t) {
513
+ const a = r.map((n) => ({ ...n }));
514
+ if (r.length >= 2 && I[t.arrowTypeStart]) {
515
+ const n = I[t.arrowTypeStart], s = r[0], o = r[1], { angle: i } = K(s, o), f = n * Math.cos(i), k = n * Math.sin(i);
516
+ a[0].x = s.x + f, a[0].y = s.y + k;
517
+ }
518
+ const e = r.length;
519
+ if (e >= 2 && I[t.arrowTypeEnd]) {
520
+ const n = I[t.arrowTypeEnd], s = r[e - 1], o = r[e - 2], { angle: i } = K(o, s), f = n * Math.cos(i), k = n * Math.sin(i);
521
+ a[e - 1].x = s.x - f, a[e - 1].y = s.y - k;
522
+ }
523
+ return a;
524
+ }
525
+ d(ct, "applyMarkerOffsetsToPoints");
526
+ var At = /* @__PURE__ */ d((r, t, a, e) => {
527
+ t.forEach((n) => {
528
+ Pt[n](r, a, e);
529
+ });
530
+ }, "insertMarkers"), Pt = {
531
+ extension: /* @__PURE__ */ d((r, t, a) => {
532
+ y.trace("Making markers for ", a), r.append("defs").append("marker").attr("id", a + "_" + t + "-extensionStart").attr("class", "marker extension " + t).attr("refX", 18).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M 1,7 L18,13 V 1 Z"), r.append("defs").append("marker").attr("id", a + "_" + t + "-extensionEnd").attr("class", "marker extension " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 1,1 V 13 L18,7 Z"), r.append("marker").attr("id", a + "_" + t + "-extensionStart-margin").attr("class", "marker extension " + t).attr("refX", 18).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").attr("viewBox", "0 0 20 14").append("polygon").attr("points", "10,7 18,13 18,1").style("stroke-width", 2).style("stroke-dasharray", "0"), r.append("defs").append("marker").attr("id", a + "_" + t + "-extensionEnd-margin").attr("class", "marker extension " + t).attr("refX", 9).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").attr("viewBox", "0 0 20 14").append("polygon").attr("points", "10,1 10,13 18,7").style("stroke-width", 2).style("stroke-dasharray", "0");
533
+ }, "extension"),
534
+ composition: /* @__PURE__ */ d((r, t, a) => {
535
+ r.append("defs").append("marker").attr("id", a + "_" + t + "-compositionStart").attr("class", "marker composition " + t).attr("refX", 18).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), r.append("defs").append("marker").attr("id", a + "_" + t + "-compositionEnd").attr("class", "marker composition " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), r.append("defs").append("marker").attr("id", a + "_" + t + "-compositionStart-margin").attr("class", "marker composition " + t).attr("refX", 15).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 0).attr("viewBox", "0 0 15 15").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), r.append("defs").append("marker").attr("id", a + "_" + t + "-compositionEnd-margin").attr("class", "marker composition " + t).attr("refX", 3.5).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 0).attr("d", "M 18,7 L9,13 L1,7 L9,1 Z");
536
+ }, "composition"),
537
+ aggregation: /* @__PURE__ */ d((r, t, a) => {
538
+ r.append("defs").append("marker").attr("id", a + "_" + t + "-aggregationStart").attr("class", "marker aggregation " + t).attr("refX", 18).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), r.append("defs").append("marker").attr("id", a + "_" + t + "-aggregationEnd").attr("class", "marker aggregation " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), r.append("defs").append("marker").attr("id", a + "_" + t + "-aggregationStart-margin").attr("class", "marker aggregation " + t).attr("refX", 15).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 2).attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), r.append("defs").append("marker").attr("id", a + "_" + t + "-aggregationEnd-margin").attr("class", "marker aggregation " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 2).attr("d", "M 18,7 L9,13 L1,7 L9,1 Z");
539
+ }, "aggregation"),
540
+ dependency: /* @__PURE__ */ d((r, t, a) => {
541
+ r.append("defs").append("marker").attr("id", a + "_" + t + "-dependencyStart").attr("class", "marker dependency " + t).attr("refX", 6).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 5,7 L9,13 L1,7 L9,1 Z"), r.append("defs").append("marker").attr("id", a + "_" + t + "-dependencyEnd").attr("class", "marker dependency " + t).attr("refX", 13).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L14,7 L9,1 Z"), r.append("defs").append("marker").attr("id", a + "_" + t + "-dependencyStart-margin").attr("class", "marker dependency " + t).attr("refX", 4).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 0).attr("d", "M 5,7 L9,13 L1,7 L9,1 Z"), r.append("defs").append("marker").attr("id", a + "_" + t + "-dependencyEnd-margin").attr("class", "marker dependency " + t).attr("refX", 16).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 0).attr("d", "M 18,7 L9,13 L14,7 L9,1 Z");
542
+ }, "dependency"),
543
+ lollipop: /* @__PURE__ */ d((r, t, a) => {
544
+ r.append("defs").append("marker").attr("id", a + "_" + t + "-lollipopStart").attr("class", "marker lollipop " + t).attr("refX", 13).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("circle").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6), r.append("defs").append("marker").attr("id", a + "_" + t + "-lollipopEnd").attr("class", "marker lollipop " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("circle").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6), r.append("defs").append("marker").attr("id", a + "_" + t + "-lollipopStart-margin").attr("class", "marker lollipop " + t).attr("refX", 13).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("circle").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6).attr("stroke-width", 2), r.append("defs").append("marker").attr("id", a + "_" + t + "-lollipopEnd-margin").attr("class", "marker lollipop " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("circle").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6).attr("stroke-width", 2);
545
+ }, "lollipop"),
546
+ point: /* @__PURE__ */ d((r, t, a) => {
547
+ r.append("marker").attr("id", a + "_" + t + "-pointEnd").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", 5).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 8).attr("markerHeight", 8).attr("orient", "auto").append("path").attr("d", "M 0 0 L 10 5 L 0 10 z").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0"), r.append("marker").attr("id", a + "_" + t + "-pointStart").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", 4.5).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 8).attr("markerHeight", 8).attr("orient", "auto").append("path").attr("d", "M 0 5 L 10 10 L 10 0 z").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0"), r.append("marker").attr("id", a + "_" + t + "-pointEnd-margin").attr("class", "marker " + t).attr("viewBox", "0 0 11.5 14").attr("refX", 11.5).attr("refY", 7).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 10.5).attr("markerHeight", 14).attr("orient", "auto").append("path").attr("d", "M 0 0 L 11.5 7 L 0 14 z").attr("class", "arrowMarkerPath").style("stroke-width", 0).style("stroke-dasharray", "1,0"), r.append("marker").attr("id", a + "_" + t + "-pointStart-margin").attr("class", "marker " + t).attr("viewBox", "0 0 11.5 14").attr("refX", 1).attr("refY", 7).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11.5).attr("markerHeight", 14).attr("orient", "auto").append("polygon").attr("points", "0,7 11.5,14 11.5,0").attr("class", "arrowMarkerPath").style("stroke-width", 0).style("stroke-dasharray", "1,0");
548
+ }, "point"),
549
+ circle: /* @__PURE__ */ d((r, t, a) => {
550
+ r.append("marker").attr("id", a + "_" + t + "-circleEnd").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", 11).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("circle").attr("cx", "5").attr("cy", "5").attr("r", "5").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0"), r.append("marker").attr("id", a + "_" + t + "-circleStart").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", -1).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("circle").attr("cx", "5").attr("cy", "5").attr("r", "5").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0"), r.append("marker").attr("id", a + "_" + t + "-circleEnd-margin").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refY", 5).attr("refX", 12.25).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 14).attr("markerHeight", 14).attr("orient", "auto").append("circle").attr("cx", "5").attr("cy", "5").attr("r", "5").attr("class", "arrowMarkerPath").style("stroke-width", 0).style("stroke-dasharray", "1,0"), r.append("marker").attr("id", a + "_" + t + "-circleStart-margin").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", -2).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 14).attr("markerHeight", 14).attr("orient", "auto").append("circle").attr("cx", "5").attr("cy", "5").attr("r", "5").attr("class", "arrowMarkerPath").style("stroke-width", 0).style("stroke-dasharray", "1,0");
551
+ }, "circle"),
552
+ cross: /* @__PURE__ */ d((r, t, a) => {
553
+ r.append("marker").attr("id", a + "_" + t + "-crossEnd").attr("class", "marker cross " + t).attr("viewBox", "0 0 11 11").attr("refX", 12).attr("refY", 5.2).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("path").attr("d", "M 1,1 l 9,9 M 10,1 l -9,9").attr("class", "arrowMarkerPath").style("stroke-width", 2).style("stroke-dasharray", "1,0"), r.append("marker").attr("id", a + "_" + t + "-crossStart").attr("class", "marker cross " + t).attr("viewBox", "0 0 11 11").attr("refX", -1).attr("refY", 5.2).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("path").attr("d", "M 1,1 l 9,9 M 10,1 l -9,9").attr("class", "arrowMarkerPath").style("stroke-width", 2).style("stroke-dasharray", "1,0"), r.append("marker").attr("id", a + "_" + t + "-crossEnd-margin").attr("class", "marker cross " + t).attr("viewBox", "0 0 15 15").attr("refX", 17.7).attr("refY", 7.5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 1,1 L 14,14 M 1,14 L 14,1").attr("class", "arrowMarkerPath").style("stroke-width", 2.5), r.append("marker").attr("id", a + "_" + t + "-crossStart-margin").attr("class", "marker cross " + t).attr("viewBox", "0 0 15 15").attr("refX", -3.5).attr("refY", 7.5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 1,1 L 14,14 M 1,14 L 14,1").attr("class", "arrowMarkerPath").style("stroke-width", 2.5).style("stroke-dasharray", "1,0");
554
+ }, "cross"),
555
+ barb: /* @__PURE__ */ d((r, t, a) => {
556
+ r.append("defs").append("marker").attr("id", a + "_" + t + "-barbEnd").attr("refX", 19).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 14).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto").append("path").attr("d", "M 19,7 L9,13 L14,7 L9,1 Z");
557
+ }, "barb"),
558
+ barbNeo: /* @__PURE__ */ d((r, t, a) => {
559
+ const { themeVariables: e } = X(), { transitionColor: n } = e;
560
+ r.append("defs").append("marker").attr("id", a + "_" + t + "-barbEnd").attr("refX", 19).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 14).attr("markerUnits", "strokeWidth").attr("orient", "auto").append("path").attr("d", "M 19,7 L11,14 L13,7 L11,0 Z"), r.append("defs").append("marker").attr("id", a + "_" + t + "-barbEnd-margin").attr("refX", 17).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 14).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto").append("path").attr("d", "M 19,7 L11,14 L13,7 L11,0 Z").attr("fill", `${n}`);
561
+ }, "barbNeo"),
562
+ only_one: /* @__PURE__ */ d((r, t, a) => {
563
+ r.append("defs").append("marker").attr("id", a + "_" + t + "-onlyOneStart").attr("class", "marker onlyOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").append("path").attr("d", "M9,0 L9,18 M15,0 L15,18"), r.append("defs").append("marker").attr("id", a + "_" + t + "-onlyOneEnd").attr("class", "marker onlyOne " + t).attr("refX", 18).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").append("path").attr("d", "M3,0 L3,18 M9,0 L9,18");
564
+ }, "only_one"),
565
+ zero_or_one: /* @__PURE__ */ d((r, t, a) => {
566
+ const e = r.append("defs").append("marker").attr("id", a + "_" + t + "-zeroOrOneStart").attr("class", "marker zeroOrOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 30).attr("markerHeight", 18).attr("orient", "auto");
567
+ e.append("circle").attr("fill", "white").attr("cx", 21).attr("cy", 9).attr("r", 6), e.append("path").attr("d", "M9,0 L9,18");
568
+ const n = r.append("defs").append("marker").attr("id", a + "_" + t + "-zeroOrOneEnd").attr("class", "marker zeroOrOne " + t).attr("refX", 30).attr("refY", 9).attr("markerWidth", 30).attr("markerHeight", 18).attr("orient", "auto");
569
+ n.append("circle").attr("fill", "white").attr("cx", 9).attr("cy", 9).attr("r", 6), n.append("path").attr("d", "M21,0 L21,18");
570
+ }, "zero_or_one"),
571
+ one_or_more: /* @__PURE__ */ d((r, t, a) => {
572
+ r.append("defs").append("marker").attr("id", a + "_" + t + "-oneOrMoreStart").attr("class", "marker oneOrMore " + t).attr("refX", 18).attr("refY", 18).attr("markerWidth", 45).attr("markerHeight", 36).attr("orient", "auto").append("path").attr("d", "M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"), r.append("defs").append("marker").attr("id", a + "_" + t + "-oneOrMoreEnd").attr("class", "marker oneOrMore " + t).attr("refX", 27).attr("refY", 18).attr("markerWidth", 45).attr("markerHeight", 36).attr("orient", "auto").append("path").attr("d", "M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18");
573
+ }, "one_or_more"),
574
+ zero_or_more: /* @__PURE__ */ d((r, t, a) => {
575
+ const e = r.append("defs").append("marker").attr("id", a + "_" + t + "-zeroOrMoreStart").attr("class", "marker zeroOrMore " + t).attr("refX", 18).attr("refY", 18).attr("markerWidth", 57).attr("markerHeight", 36).attr("orient", "auto");
576
+ e.append("circle").attr("fill", "white").attr("cx", 48).attr("cy", 18).attr("r", 6), e.append("path").attr("d", "M0,18 Q18,0 36,18 Q18,36 0,18");
577
+ const n = r.append("defs").append("marker").attr("id", a + "_" + t + "-zeroOrMoreEnd").attr("class", "marker zeroOrMore " + t).attr("refX", 39).attr("refY", 18).attr("markerWidth", 57).attr("markerHeight", 36).attr("orient", "auto");
578
+ n.append("circle").attr("fill", "white").attr("cx", 9).attr("cy", 18).attr("r", 6), n.append("path").attr("d", "M21,18 Q39,0 57,18 Q39,36 21,18");
579
+ }, "zero_or_more"),
580
+ only_one_neo: /* @__PURE__ */ d((r, t, a) => {
581
+ const { themeVariables: e } = X(), { strokeWidth: n } = e;
582
+ r.append("defs").append("marker").attr("id", a + "_" + t + "-onlyOneStart").attr("class", "marker onlyOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M9,0 L9,18 M15,0 L15,18").attr("stroke-width", `${n}`), r.append("defs").append("marker").attr("id", a + "_" + t + "-onlyOneEnd").attr("class", "marker onlyOne " + t).attr("refX", 18).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M3,0 L3,18 M9,0 L9,18").attr("stroke-width", `${n}`);
583
+ }, "only_one_neo"),
584
+ zero_or_one_neo: /* @__PURE__ */ d((r, t, a) => {
585
+ const { themeVariables: e } = X(), { strokeWidth: n, mainBkg: s } = e, o = r.append("defs").append("marker").attr("id", a + "_" + t + "-zeroOrOneStart").attr("class", "marker zeroOrOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 30).attr("markerHeight", 18).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse");
586
+ o.append("circle").attr("fill", s ?? "white").attr("cx", 21).attr("cy", 9).attr("stroke-width", `${n}`).attr("r", 6), o.append("path").attr("d", "M9,0 L9,18").attr("stroke-width", `${n}`);
587
+ const i = r.append("defs").append("marker").attr("id", a + "_" + t + "-zeroOrOneEnd").attr("class", "marker zeroOrOne " + t).attr("refX", 30).attr("refY", 9).attr("markerWidth", 30).attr("markerHeight", 18).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto");
588
+ i.append("circle").attr("fill", s ?? "white").attr("cx", 9).attr("cy", 9).attr("stroke-width", `${n}`).attr("r", 6), i.append("path").attr("d", "M21,0 L21,18").attr("stroke-width", `${n}`);
589
+ }, "zero_or_one_neo"),
590
+ one_or_more_neo: /* @__PURE__ */ d((r, t, a) => {
591
+ const { themeVariables: e } = X(), { strokeWidth: n } = e;
592
+ r.append("defs").append("marker").attr("id", a + "_" + t + "-oneOrMoreStart").attr("class", "marker oneOrMore " + t).attr("refX", 18).attr("refY", 18).attr("markerWidth", 45).attr("markerHeight", 36).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27").attr("stroke-width", `${n}`), r.append("defs").append("marker").attr("id", a + "_" + t + "-oneOrMoreEnd").attr("class", "marker oneOrMore " + t).attr("refX", 27).attr("refY", 18).attr("markerWidth", 45).attr("markerHeight", 36).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto").append("path").attr("d", "M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18").attr("stroke-width", `${n}`);
593
+ }, "one_or_more_neo"),
594
+ zero_or_more_neo: /* @__PURE__ */ d((r, t, a) => {
595
+ const { themeVariables: e } = X(), { strokeWidth: n, mainBkg: s } = e, o = r.append("defs").append("marker").attr("id", a + "_" + t + "-zeroOrMoreStart").attr("class", "marker zeroOrMore " + t).attr("refX", 18).attr("refY", 18).attr("markerWidth", 57).attr("markerHeight", 36).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto");
596
+ o.append("circle").attr("fill", s ?? "white").attr("cx", 45.5).attr("cy", 18).attr("r", 6).attr("stroke-width", `${n}`), o.append("path").attr("d", "M0,18 Q18,0 36,18 Q18,36 0,18").attr("stroke-width", `${n}`);
597
+ const i = r.append("defs").append("marker").attr("id", a + "_" + t + "-zeroOrMoreEnd").attr("class", "marker zeroOrMore " + t).attr("refX", 39).attr("refY", 18).attr("markerWidth", 57).attr("markerHeight", 36).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse");
598
+ i.append("circle").attr("fill", s ?? "white").attr("cx", 11).attr("cy", 18).attr("r", 6).attr("stroke-width", `${n}`), i.append("path").attr("d", "M21,18 Q39,0 57,18 Q39,36 21,18").attr("stroke-width", `${n}`);
599
+ }, "zero_or_more_neo"),
600
+ requirement_arrow: /* @__PURE__ */ d((r, t, a) => {
601
+ r.append("defs").append("marker").attr("id", a + "_" + t + "-requirement_arrowEnd").attr("refX", 20).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").append("path").attr("d", `M0,0
602
+ L20,10
603
+ M20,10
604
+ L0,20`);
605
+ }, "requirement_arrow"),
606
+ requirement_contains: /* @__PURE__ */ d((r, t, a) => {
607
+ const e = r.append("defs").append("marker").attr("id", a + "_" + t + "-requirement_containsStart").attr("refX", 0).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").append("g");
608
+ e.append("circle").attr("cx", 10).attr("cy", 10).attr("r", 9).attr("fill", "none"), e.append("line").attr("x1", 1).attr("x2", 19).attr("y1", 10).attr("y2", 10), e.append("line").attr("y1", 1).attr("y2", 19).attr("x1", 10).attr("x2", 10);
609
+ }, "requirement_contains"),
610
+ requirement_arrow_neo: /* @__PURE__ */ d((r, t, a) => {
611
+ const { themeVariables: e } = X(), { strokeWidth: n } = e;
612
+ r.append("defs").append("marker").attr("id", a + "_" + t + "-requirement_arrowEnd").attr("refX", 20).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").attr("stroke-width", `${n}`).attr("viewBox", "0 0 25 20").append("path").attr("d", `M0,0
613
+ L20,10
614
+ M20,10
615
+ L0,20`).attr("stroke-linejoin", "miter");
616
+ }, "requirement_arrow_neo"),
617
+ requirement_contains_neo: /* @__PURE__ */ d((r, t, a) => {
618
+ const { themeVariables: e } = X(), { strokeWidth: n } = e, s = r.append("defs").append("marker").attr("id", a + "_" + t + "-requirement_containsStart").attr("refX", 0).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("g");
619
+ s.append("circle").attr("cx", 10).attr("cy", 10).attr("r", 9).attr("fill", "none"), s.append("line").attr("x1", 1).attr("x2", 19).attr("y1", 10).attr("y2", 10), s.append("line").attr("y1", 1).attr("y2", 19).attr("x1", 10).attr("x2", 10), s.selectAll("*").attr("stroke-width", `${n}`);
620
+ }, "requirement_contains_neo")
621
+ }, nr = At;
622
+ export {
623
+ nr as a,
624
+ rr as i,
625
+ j as n,
626
+ ar as o,
627
+ er as r,
628
+ L as s,
629
+ tr as t
630
+ };