@toimc/markdown 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (347) hide show
  1. package/dist/CodeBlock.test.d.ts +2 -0
  2. package/dist/CodeBlock.test.d.ts.map +1 -0
  3. package/dist/CodeBlock.vue.d.ts +12 -0
  4. package/dist/CodeBlock.vue.d.ts.map +1 -0
  5. package/dist/LatexBlock.test.d.ts +2 -0
  6. package/dist/LatexBlock.test.d.ts.map +1 -0
  7. package/dist/LatexBlock.vue.d.ts +8 -0
  8. package/dist/LatexBlock.vue.d.ts.map +1 -0
  9. package/dist/MarkdownRenderer.test.d.ts +2 -0
  10. package/dist/MarkdownRenderer.test.d.ts.map +1 -0
  11. package/dist/MarkdownRenderer.vue.d.ts +8 -0
  12. package/dist/MarkdownRenderer.vue.d.ts.map +1 -0
  13. package/dist/MermaidBlock.test.d.ts +2 -0
  14. package/dist/MermaidBlock.test.d.ts.map +1 -0
  15. package/dist/MermaidBlock.vue.d.ts +7 -0
  16. package/dist/MermaidBlock.vue.d.ts.map +1 -0
  17. package/dist/abnfDiagram-N423BO3Z-CpvDGmAd.cjs +1 -0
  18. package/dist/abnfDiagram-N423BO3Z-DuAPsGBR.js +89 -0
  19. package/dist/arc-CFxpoaLu.js +82 -0
  20. package/dist/arc-Dh2Zrypi.cjs +1 -0
  21. package/dist/architecture-TIHT7OUA-CUym9zMN.cjs +1 -0
  22. package/dist/architecture-TIHT7OUA-DDwCCw0y.js +3 -0
  23. package/dist/architectureDiagram-T3A2C74G-CS6-PQjR.cjs +36 -0
  24. package/dist/architectureDiagram-T3A2C74G-d7xzbLJQ.js +4155 -0
  25. package/dist/array-CApNbSU9.js +6 -0
  26. package/dist/array-DZSRzHA_.cjs +1 -0
  27. package/dist/bash-B3CVAkVJ.cjs +1 -0
  28. package/dist/bash-Cm4CVo6v.js +3 -0
  29. package/dist/blockDiagram-VBNYF7ZC-CnvNE8Hq.js +3157 -0
  30. package/dist/blockDiagram-VBNYF7ZC-DVl7vKmv.cjs +132 -0
  31. package/dist/c4Diagram-5PPSVZJV-B1RTcquO.js +2982 -0
  32. package/dist/c4Diagram-5PPSVZJV-Djkk0hzr.cjs +10 -0
  33. package/dist/channel-CNZiSge7.cjs +1 -0
  34. package/dist/channel-CqlbSsMQ.js +5 -0
  35. package/dist/chunk-2GRJ4B5K-BgeLbn06.cjs +1 -0
  36. package/dist/chunk-2GRJ4B5K-C5VToU5T.js +61 -0
  37. package/dist/chunk-2Q5K7J3B-B8v9mTdK.cjs +1 -0
  38. package/dist/chunk-2Q5K7J3B-C3WfnuyI.js +15 -0
  39. package/dist/chunk-4I5QYGJK-Bs8S-Wfu.js +275 -0
  40. package/dist/chunk-4I5QYGJK-CBqJO_mi.cjs +1 -0
  41. package/dist/chunk-5RXB4S5H-BnJ1P9K2.js +2042 -0
  42. package/dist/chunk-5RXB4S5H-BtEDiC1U.cjs +231 -0
  43. package/dist/chunk-5VM5RSS4-BsUXY5k9.js +5 -0
  44. package/dist/chunk-5VM5RSS4-CwDmQ9T_.cjs +15 -0
  45. package/dist/chunk-6Q2QTUOP-C0P-wtth.js +490 -0
  46. package/dist/chunk-6Q2QTUOP-UC-G8b3B.cjs +88 -0
  47. package/dist/chunk-7BUUIJ7U-CZdUK2qY.js +82 -0
  48. package/dist/chunk-7BUUIJ7U-MzS1pW_S.cjs +1 -0
  49. package/dist/chunk-7Z6QIM7H-CJdupq9f.js +593 -0
  50. package/dist/chunk-7Z6QIM7H-CUGcycR0.cjs +10 -0
  51. package/dist/chunk-GF5L2VYU-CDGpCl8Z.js +3357 -0
  52. package/dist/chunk-GF5L2VYU-DWhSvqYP.cjs +206 -0
  53. package/dist/chunk-I66GZJ75-D8wVRUgw.cjs +127 -0
  54. package/dist/chunk-I66GZJ75-xmbkwRyp.js +3754 -0
  55. package/dist/chunk-JQJVKLGR-B-jNEb9r.js +4135 -0
  56. package/dist/chunk-JQJVKLGR-CbhQdRxu.cjs +156 -0
  57. package/dist/chunk-JWPE2WC7-B8JIODrM.js +8 -0
  58. package/dist/chunk-JWPE2WC7-Cs1kjq8S.cjs +1 -0
  59. package/dist/chunk-KBJHAD2P-BMuT9eJO.cjs +1 -0
  60. package/dist/chunk-KBJHAD2P-CCpB6hWQ.js +26 -0
  61. package/dist/chunk-KEIR6QF5-RwFi50en.js +21456 -0
  62. package/dist/chunk-KEIR6QF5-rUKzMPy0.cjs +161 -0
  63. package/dist/chunk-NSK5VX7P-BO1SrWAL.js +1335 -0
  64. package/dist/chunk-NSK5VX7P-BiC_63US.cjs +2 -0
  65. package/dist/chunk-QR6OTTB3-BSxbyKp_.cjs +62 -0
  66. package/dist/chunk-QR6OTTB3-CGxJcV-X.js +3738 -0
  67. package/dist/chunk-RYQCIY6F-Lf2oVMMh.cjs +1 -0
  68. package/dist/chunk-RYQCIY6F-UBebC0ib.js +241 -0
  69. package/dist/chunk-UBXNYLIW-BURVNZm2.cjs +1 -0
  70. package/dist/chunk-UBXNYLIW-fOGkdEwd.js +32 -0
  71. package/dist/chunk-W5SLKNZC-BLFqePZ1.cjs +1 -0
  72. package/dist/chunk-W5SLKNZC-C2SYjJjL.js +67 -0
  73. package/dist/chunk-WRU74C26-Cr4HTCc1.cjs +70 -0
  74. package/dist/chunk-WRU74C26-UGtU6H2a.js +1636 -0
  75. package/dist/chunk-XXDRQBXY-GENMsCHk.js +9 -0
  76. package/dist/chunk-XXDRQBXY-yMT3rT5Y.cjs +1 -0
  77. package/dist/chunk-Y2CYZVJY-CnmLqFtv.cjs +1 -0
  78. package/dist/chunk-Y2CYZVJY-DO9UHHon.js +12 -0
  79. package/dist/classDiagram-JCYQIIEL-DUjWUDYG.cjs +1 -0
  80. package/dist/classDiagram-JCYQIIEL-Dm9anlJw.js +30 -0
  81. package/dist/classDiagram-v2-OCEON4UE-Bl-vyFyz.js +30 -0
  82. package/dist/classDiagram-v2-OCEON4UE-DUjWUDYG.cjs +1 -0
  83. package/dist/composables/useHighlighter.d.ts +20 -0
  84. package/dist/composables/useHighlighter.d.ts.map +1 -0
  85. package/dist/composables/useHighlighter.test.d.ts +2 -0
  86. package/dist/composables/useHighlighter.test.d.ts.map +1 -0
  87. package/dist/composables/useMarkdownIt.d.ts +4 -0
  88. package/dist/composables/useMarkdownIt.d.ts.map +1 -0
  89. package/dist/composables/useMarkdownIt.test.d.ts +2 -0
  90. package/dist/composables/useMarkdownIt.test.d.ts.map +1 -0
  91. package/dist/composables/useShikiTokenizer.d.ts +17 -0
  92. package/dist/composables/useShikiTokenizer.d.ts.map +1 -0
  93. package/dist/composables/useShikiTokenizer.test.d.ts +2 -0
  94. package/dist/composables/useShikiTokenizer.test.d.ts.map +1 -0
  95. package/dist/composables/useStreamingMarkdown.d.ts +6 -0
  96. package/dist/composables/useStreamingMarkdown.d.ts.map +1 -0
  97. package/dist/composables/useStreamingMarkdown.test.d.ts +2 -0
  98. package/dist/composables/useStreamingMarkdown.test.d.ts.map +1 -0
  99. package/dist/cose-bilkent-JH36ORCC-C1RCVzVZ.cjs +1 -0
  100. package/dist/cose-bilkent-JH36ORCC-C5FbROLY.js +2254 -0
  101. package/dist/css-BbwcBM_4.js +2 -0
  102. package/dist/css-CEHhC-OC.cjs +1 -0
  103. package/dist/css-Ca3W2DHx.cjs +1 -0
  104. package/dist/css-HuzvwXs-.js +3 -0
  105. package/dist/cynefin-VYW2F7L2-CMgnLl46.js +3 -0
  106. package/dist/cynefin-VYW2F7L2-DVi1CF5b.cjs +1 -0
  107. package/dist/cynefinDiagram-MW4NZA55-CkZY080C.cjs +62 -0
  108. package/dist/cynefinDiagram-MW4NZA55-DbAAx9CC.js +355 -0
  109. package/dist/cytoscape.esm-BKhIYxsH.cjs +321 -0
  110. package/dist/cytoscape.esm-DMXbtFI-.js +18145 -0
  111. package/dist/dagre-DarAkhy1.cjs +1 -0
  112. package/dist/dagre-VZM6K2ZE-CpL0s3GG.js +328 -0
  113. package/dist/dagre-VZM6K2ZE-D1_S1oSj.cjs +4 -0
  114. package/dist/dagre-x4cMb6gU.js +1699 -0
  115. package/dist/defaultLocale-ybN1Vtvg.cjs +1 -0
  116. package/dist/defaultLocale-yzzuPw6P.js +198 -0
  117. package/dist/diagram-7IWD3JNH-BXvOBw2z.js +300 -0
  118. package/dist/diagram-7IWD3JNH-W-Kjft6l.cjs +30 -0
  119. package/dist/diagram-B4RE2ZJO-C4lLgW4X.cjs +3 -0
  120. package/dist/diagram-B4RE2ZJO-DyAAD_bR.js +432 -0
  121. package/dist/diagram-LBJQPF4R-BTgCWP5o.cjs +24 -0
  122. package/dist/diagram-LBJQPF4R-BbMQOpt2.js +134 -0
  123. package/dist/diagram-Q27KOJAE-ink_R6qE.js +527 -0
  124. package/dist/diagram-Q27KOJAE-v-ZMzCxs.cjs +24 -0
  125. package/dist/diagram-UB23O5K3-BXTm2BG0.cjs +41 -0
  126. package/dist/diagram-UB23O5K3-C6rqCJBb.js +214 -0
  127. package/dist/dist-BP2me-br.js +59 -0
  128. package/dist/dist-Dwv2VYAL.cjs +1 -0
  129. package/dist/ebnfDiagram-BXEA7PRR-C80cjdjP.js +100 -0
  130. package/dist/ebnfDiagram-BXEA7PRR-lKO9XwUp.cjs +1 -0
  131. package/dist/erDiagram-JOGREHBK-Blwfr6w3.js +1727 -0
  132. package/dist/erDiagram-JOGREHBK-ChgcmULa.cjs +85 -0
  133. package/dist/eventmodeling-45OFAUF4-BDhzj03B.js +3 -0
  134. package/dist/eventmodeling-45OFAUF4-BtU19idK.cjs +1 -0
  135. package/dist/flowDiagram-UKHOOZJN-Co0JpKUU.js +16 -0
  136. package/dist/flowDiagram-UKHOOZJN-db1Ur2LI.cjs +1 -0
  137. package/dist/fonts/KaTeX_AMS-Regular.ttf +0 -0
  138. package/dist/fonts/KaTeX_AMS-Regular.woff +0 -0
  139. package/dist/fonts/KaTeX_AMS-Regular.woff2 +0 -0
  140. package/dist/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
  141. package/dist/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
  142. package/dist/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
  143. package/dist/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
  144. package/dist/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
  145. package/dist/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
  146. package/dist/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
  147. package/dist/fonts/KaTeX_Fraktur-Bold.woff +0 -0
  148. package/dist/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
  149. package/dist/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
  150. package/dist/fonts/KaTeX_Fraktur-Regular.woff +0 -0
  151. package/dist/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
  152. package/dist/fonts/KaTeX_Main-Bold.ttf +0 -0
  153. package/dist/fonts/KaTeX_Main-Bold.woff +0 -0
  154. package/dist/fonts/KaTeX_Main-Bold.woff2 +0 -0
  155. package/dist/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
  156. package/dist/fonts/KaTeX_Main-BoldItalic.woff +0 -0
  157. package/dist/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
  158. package/dist/fonts/KaTeX_Main-Italic.ttf +0 -0
  159. package/dist/fonts/KaTeX_Main-Italic.woff +0 -0
  160. package/dist/fonts/KaTeX_Main-Italic.woff2 +0 -0
  161. package/dist/fonts/KaTeX_Main-Regular.ttf +0 -0
  162. package/dist/fonts/KaTeX_Main-Regular.woff +0 -0
  163. package/dist/fonts/KaTeX_Main-Regular.woff2 +0 -0
  164. package/dist/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
  165. package/dist/fonts/KaTeX_Math-BoldItalic.woff +0 -0
  166. package/dist/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
  167. package/dist/fonts/KaTeX_Math-Italic.ttf +0 -0
  168. package/dist/fonts/KaTeX_Math-Italic.woff +0 -0
  169. package/dist/fonts/KaTeX_Math-Italic.woff2 +0 -0
  170. package/dist/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
  171. package/dist/fonts/KaTeX_SansSerif-Bold.woff +0 -0
  172. package/dist/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
  173. package/dist/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
  174. package/dist/fonts/KaTeX_SansSerif-Italic.woff +0 -0
  175. package/dist/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
  176. package/dist/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
  177. package/dist/fonts/KaTeX_SansSerif-Regular.woff +0 -0
  178. package/dist/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
  179. package/dist/fonts/KaTeX_Script-Regular.ttf +0 -0
  180. package/dist/fonts/KaTeX_Script-Regular.woff +0 -0
  181. package/dist/fonts/KaTeX_Script-Regular.woff2 +0 -0
  182. package/dist/fonts/KaTeX_Size1-Regular.ttf +0 -0
  183. package/dist/fonts/KaTeX_Size1-Regular.woff +0 -0
  184. package/dist/fonts/KaTeX_Size1-Regular.woff2 +0 -0
  185. package/dist/fonts/KaTeX_Size2-Regular.ttf +0 -0
  186. package/dist/fonts/KaTeX_Size2-Regular.woff +0 -0
  187. package/dist/fonts/KaTeX_Size2-Regular.woff2 +0 -0
  188. package/dist/fonts/KaTeX_Size3-Regular.ttf +0 -0
  189. package/dist/fonts/KaTeX_Size3-Regular.woff +0 -0
  190. package/dist/fonts/KaTeX_Size3-Regular.woff2 +0 -0
  191. package/dist/fonts/KaTeX_Size4-Regular.ttf +0 -0
  192. package/dist/fonts/KaTeX_Size4-Regular.woff +0 -0
  193. package/dist/fonts/KaTeX_Size4-Regular.woff2 +0 -0
  194. package/dist/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
  195. package/dist/fonts/KaTeX_Typewriter-Regular.woff +0 -0
  196. package/dist/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
  197. package/dist/ganttDiagram-PKOTCBZU-Byi4E8Ye.js +3073 -0
  198. package/dist/ganttDiagram-PKOTCBZU-C_Vwv1o8.cjs +292 -0
  199. package/dist/gitGraph-TEB2WS4Q-CAeGPNFR.cjs +1 -0
  200. package/dist/gitGraph-TEB2WS4Q-DJA_hE4G.js +3 -0
  201. package/dist/gitGraphDiagram-DS77QQ5N-BG8AQVtP.js +733 -0
  202. package/dist/gitGraphDiagram-DS77QQ5N-DK9VJTjf.cjs +106 -0
  203. package/dist/github-dark-C85MA6EW.js +4 -0
  204. package/dist/github-dark-lSLm2DGc.cjs +1 -0
  205. package/dist/github-light-5VJ9LmmZ.cjs +1 -0
  206. package/dist/github-light-Dzg0sEwI.js +4 -0
  207. package/dist/go-BEdBk4fh.js +3 -0
  208. package/dist/go-DZ-Uc_xo.cjs +1 -0
  209. package/dist/graphlib-BaETKKSa.cjs +1 -0
  210. package/dist/graphlib-DoD0LnUK.js +1267 -0
  211. package/dist/html-BH9giSUA.js +2 -0
  212. package/dist/html-CptZ4PZn.cjs +1 -0
  213. package/dist/html-Ctxsat8s.js +10 -0
  214. package/dist/html-DtqQp8LO.cjs +1 -0
  215. package/dist/index.cjs +683 -0
  216. package/dist/index.d.ts +7 -0
  217. package/dist/index.d.ts.map +1 -0
  218. package/dist/index.mjs +55235 -0
  219. package/dist/info-DKCQHKI2-BD_vOCz6.js +3 -0
  220. package/dist/info-DKCQHKI2-p0Lazone.cjs +1 -0
  221. package/dist/infoDiagram-6WML65LV-B6PBOy7T.js +20 -0
  222. package/dist/infoDiagram-6WML65LV-nBSrP53Z.cjs +2 -0
  223. package/dist/init-BJdqMO10.cjs +1 -0
  224. package/dist/init-sjaVZO3f.js +13 -0
  225. package/dist/ishikawaDiagram-WSZJBQD7-BxEkaF2A.js +719 -0
  226. package/dist/ishikawaDiagram-WSZJBQD7-CjyKQ_N6.cjs +70 -0
  227. package/dist/javascript--0qAxhnA.js +2 -0
  228. package/dist/javascript-Bk0bJ4nQ.js +3 -0
  229. package/dist/javascript-D7PTxwgo.cjs +1 -0
  230. package/dist/javascript-Dr3Aumve.cjs +1 -0
  231. package/dist/journeyDiagram-NVQOT4AX-BPCuqjbW.js +884 -0
  232. package/dist/journeyDiagram-NVQOT4AX-DKgEeNcy.cjs +139 -0
  233. package/dist/json-Ay3bKyOM.cjs +1 -0
  234. package/dist/json-DFt_0dbD.js +3 -0
  235. package/dist/json-DKYh8vgu.cjs +1 -0
  236. package/dist/json-DVwBUiza.js +2 -0
  237. package/dist/jsx-BHkwOr0x.js +3 -0
  238. package/dist/jsx-BxUD2I2g.cjs +1 -0
  239. package/dist/kanban-definition-27J2QSJJ-BeKnR9zB.cjs +89 -0
  240. package/dist/kanban-definition-27J2QSJJ-D1pVuCv2.js +974 -0
  241. package/dist/katex-BfeHGk4M.js +21977 -0
  242. package/dist/katex-CEF6MvLx.cjs +257 -0
  243. package/dist/katex.css +1 -0
  244. package/dist/line-8EHPtDZA.cjs +1 -0
  245. package/dist/line-BifI9Y7j.js +34 -0
  246. package/dist/linear-Nt9BuHfn.cjs +1 -0
  247. package/dist/linear-l8AD1ib_.js +288 -0
  248. package/dist/map-CCpPjiU9.cjs +1 -0
  249. package/dist/map-DUk1uXZC.js +241 -0
  250. package/dist/markdown-DJNo_Vtk.cjs +1 -0
  251. package/dist/markdown-nUtTZkU8.js +3 -0
  252. package/dist/markdown.css +2 -0
  253. package/dist/mermaid-parser.core-BupC9XGF.js +638 -0
  254. package/dist/mermaid-parser.core-aXxW1VLR.cjs +6 -0
  255. package/dist/mermaid.core-C05C5gh_.cjs +41 -0
  256. package/dist/mermaid.core-CxM-VhZd.js +2297 -0
  257. package/dist/mindmap-definition-FAOFIHXS-B_k8KOvw.js +1006 -0
  258. package/dist/mindmap-definition-FAOFIHXS-CKPAiVKf.cjs +96 -0
  259. package/dist/ordinal-Bm_chml2.cjs +1 -0
  260. package/dist/ordinal-CNQzPcrr.js +65 -0
  261. package/dist/packet-7NZHBO7P-CVdRavgo.cjs +1 -0
  262. package/dist/packet-7NZHBO7P-CgBlALV1.js +3 -0
  263. package/dist/path-DIS6ck99.cjs +1 -0
  264. package/dist/path-DVvH25eQ.js +84 -0
  265. package/dist/pegDiagram-VL7TDLO6-B5Jhedbv.cjs +1 -0
  266. package/dist/pegDiagram-VL7TDLO6-PP-A-3Lv.js +94 -0
  267. package/dist/pie-RZYD4A2V-CryPC-P_.js +3 -0
  268. package/dist/pie-RZYD4A2V-CwDJ0bEW.cjs +1 -0
  269. package/dist/pieDiagram-7S7Q4E2Y-CgDU9E10.cjs +39 -0
  270. package/dist/pieDiagram-7S7Q4E2Y-CxNt1xaN.js +203 -0
  271. package/dist/python-CoEq_Gwh.cjs +1 -0
  272. package/dist/python-D0AaDoWC.js +3 -0
  273. package/dist/quadrantDiagram-CIZ2JOQS-CMUanfcR.js +2001 -0
  274. package/dist/quadrantDiagram-CIZ2JOQS-vybEBK1o.cjs +7 -0
  275. package/dist/radar-I7S5WNFK-DaVgEjvC.cjs +1 -0
  276. package/dist/radar-I7S5WNFK-DgzJDRy3.js +3 -0
  277. package/dist/railroad-3IZDKUUU-BPsrMjqz.cjs +1 -0
  278. package/dist/railroad-3IZDKUUU-DFp3mbpB.js +3 -0
  279. package/dist/railroad-abnf-AHOZXSZD-BRjidKH0.js +3 -0
  280. package/dist/railroad-abnf-AHOZXSZD-ZpHq_KEy.cjs +1 -0
  281. package/dist/railroad-ebnf-EBAXGLYW-B45niwuq.cjs +1 -0
  282. package/dist/railroad-ebnf-EBAXGLYW-PgrDWact.js +3 -0
  283. package/dist/railroad-peg-LSFZ7HO6-CMKir81Y.js +3 -0
  284. package/dist/railroad-peg-LSFZ7HO6-DUsuEX2Z.cjs +1 -0
  285. package/dist/railroadDiagram-AXF67PYL-D7y_2yAa.cjs +1 -0
  286. package/dist/railroadDiagram-AXF67PYL-iLkvx2oU.js +76 -0
  287. package/dist/renderers/tokensToHtml.d.ts +11 -0
  288. package/dist/renderers/tokensToHtml.d.ts.map +1 -0
  289. package/dist/renderers/tokensToHtml.test.d.ts +2 -0
  290. package/dist/renderers/tokensToHtml.test.d.ts.map +1 -0
  291. package/dist/requirementDiagram-LRYGKXZP-Bs2mCDzB.js +2223 -0
  292. package/dist/requirementDiagram-LRYGKXZP-lA2nVr6h.cjs +84 -0
  293. package/dist/rolldown-runtime-B0aSnxlc.js +20 -0
  294. package/dist/rolldown-runtime-DF3sbh8G.cjs +1 -0
  295. package/dist/rough.esm-B2w_aYoc.js +1361 -0
  296. package/dist/rough.esm-ChRLLRha.cjs +1 -0
  297. package/dist/rust-BrRMzTsN.js +3 -0
  298. package/dist/rust-DWYDZl_E.cjs +1 -0
  299. package/dist/sankeyDiagram-W5VNT64P-BxYQllhE.js +972 -0
  300. package/dist/sankeyDiagram-W5VNT64P-vPci5pOT.cjs +40 -0
  301. package/dist/scss-BY5CCWQ_.cjs +1 -0
  302. package/dist/scss-CoGT9c_3.js +5 -0
  303. package/dist/sequenceDiagram-SI44F4Z6-BNu1-3EN.cjs +162 -0
  304. package/dist/sequenceDiagram-SI44F4Z6-E6AoYU_R.js +4156 -0
  305. package/dist/sizeCapture-X5ZJPWSS-8gbZlYqg.js +46 -0
  306. package/dist/sizeCapture-X5ZJPWSS-bJ2ZX4Du.cjs +1 -0
  307. package/dist/sql-CF-HzF4U.cjs +1 -0
  308. package/dist/sql-DvCCsF21.js +3 -0
  309. package/dist/src-C7bjHtAI.js +2139 -0
  310. package/dist/src-D9o9TOtH.cjs +1 -0
  311. package/dist/stateDiagram-OKZ733FA-B7ITlY91.cjs +1 -0
  312. package/dist/stateDiagram-OKZ733FA-BfcOAK65.js +220 -0
  313. package/dist/stateDiagram-v2-UEYNNEHI-BHO-uUPG.js +30 -0
  314. package/dist/stateDiagram-v2-UEYNNEHI-lgGjJyRM.cjs +1 -0
  315. package/dist/swimlanes-SLNWSIFB-BHIPInzG.js +5069 -0
  316. package/dist/swimlanes-SLNWSIFB-C-Z31wMl.cjs +1 -0
  317. package/dist/swimlanesDiagram-ULZ7WXOC-C8pvRoyc.cjs +8 -0
  318. package/dist/swimlanesDiagram-ULZ7WXOC-CK6AVyRM.js +30 -0
  319. package/dist/timeline-definition-Z64GVDOM-C31otJwb.cjs +120 -0
  320. package/dist/timeline-definition-Z64GVDOM-rUKJY7cp.js +1069 -0
  321. package/dist/treeView-QDETBFTQ-BkNUN560.cjs +1 -0
  322. package/dist/treeView-QDETBFTQ-DVp4aTZQ.js +3 -0
  323. package/dist/treemap-6X3UGDF4-BbBnHMHJ.js +3 -0
  324. package/dist/treemap-6X3UGDF4-BcO657a2.cjs +1 -0
  325. package/dist/tsx-C0_HfRFA.cjs +1 -0
  326. package/dist/tsx-Cb6KMAZH.js +3 -0
  327. package/dist/typescript-8c29HXpw.cjs +1 -0
  328. package/dist/typescript-C4BXhs_3.js +3 -0
  329. package/dist/typescript-DFf19o_s.js +2 -0
  330. package/dist/typescript-DqeHC96Z.cjs +1 -0
  331. package/dist/utils/extractCompleteMarkdown.d.ts +10 -0
  332. package/dist/utils/extractCompleteMarkdown.d.ts.map +1 -0
  333. package/dist/utils/extractCompleteMarkdown.test.d.ts +2 -0
  334. package/dist/utils/extractCompleteMarkdown.test.d.ts.map +1 -0
  335. package/dist/vennDiagram-T6HMQDX7-DjlTuTEH.cjs +34 -0
  336. package/dist/vennDiagram-T6HMQDX7-vxMe-3nF.js +1880 -0
  337. package/dist/vue-DG6ivzcc.cjs +1 -0
  338. package/dist/vue-DcTnNxpt.js +21 -0
  339. package/dist/wardley-OPB4EBWU-B-RXhnoN.js +3 -0
  340. package/dist/wardley-OPB4EBWU-CiILNYeL.cjs +1 -0
  341. package/dist/wardleyDiagram-T6FBY63Y-BMQLZV1W.cjs +78 -0
  342. package/dist/wardleyDiagram-T6FBY63Y-C_Q2NmJu.js +645 -0
  343. package/dist/xychartDiagram-ELKLHX3M-Bsa_zeyd.cjs +7 -0
  344. package/dist/xychartDiagram-ELKLHX3M-OcVmrPL6.js +2101 -0
  345. package/dist/yaml-CLS1q7Pp.cjs +1 -0
  346. package/dist/yaml-DXmkPuRD.js +3 -0
  347. package/package.json +51 -0
@@ -0,0 +1 @@
1
+ const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs");var t=e.n((e,t)=>{if(t)return`translate(`+-e.width/2+`, `+-e.height/2+`)`;let n=e.x??0,r=e.y??0;return`translate(`+-(n+e.width/2)+`, `+-(r+e.height/2)+`)`},`computeLabelTransform`),n={aggregation:17.25,extension:17.25,composition:17.25,dependency:6,lollipop:13.5,arrow_point:4,arrow_barb:0,arrow_barb_neo:5.5},r={arrow_point:4,arrow_cross:12.5,arrow_circle:12.5};function i(e,t){if(e===void 0||t===void 0)return{angle:0,deltaX:0,deltaY:0};e=a(e),t=a(t);let[n,r]=[e.x,e.y],[i,o]=[t.x,t.y],s=i-n,c=o-r;return{angle:Math.atan(c/s),deltaX:s,deltaY:c}}e.n(i,`calculateDeltaAndAngle`);var a=e.n(e=>Array.isArray(e)?{x:e[0],y:e[1]}:e,`pointTransformer`),o=e.n(t=>({x:e.n(function(e,r,o){let s=0,c=a(o[0]).x<a(o[o.length-1]).x?`left`:`right`;if(r===0&&Object.hasOwn(n,t.arrowTypeStart)){let{angle:e,deltaX:r}=i(o[0],o[1]);s=n[t.arrowTypeStart]*Math.cos(e)*(r>=0?1:-1)}else if(r===o.length-1&&Object.hasOwn(n,t.arrowTypeEnd)){let{angle:e,deltaX:r}=i(o[o.length-1],o[o.length-2]);s=n[t.arrowTypeEnd]*Math.cos(e)*(r>=0?1:-1)}let l=Math.abs(a(e).x-a(o[o.length-1]).x),u=Math.abs(a(e).y-a(o[o.length-1]).y),d=Math.abs(a(e).x-a(o[0]).x),f=Math.abs(a(e).y-a(o[0]).y),p=n[t.arrowTypeStart],m=n[t.arrowTypeEnd];if(l<m&&l>0&&u<m){let e=m+1-l;e*=c===`right`?-1:1,s-=e}if(d<p&&d>0&&f<p){let e=p+1-d;e*=c===`right`?-1:1,s+=e}return a(e).x+s},`x`),y:e.n(function(e,r,o){let s=0,c=a(o[0]).y<a(o[o.length-1]).y?`down`:`up`;if(r===0&&Object.hasOwn(n,t.arrowTypeStart)){let{angle:e,deltaY:r}=i(o[0],o[1]);s=n[t.arrowTypeStart]*Math.abs(Math.sin(e))*(r>=0?1:-1)}else if(r===o.length-1&&Object.hasOwn(n,t.arrowTypeEnd)){let{angle:e,deltaY:r}=i(o[o.length-1],o[o.length-2]);s=n[t.arrowTypeEnd]*Math.abs(Math.sin(e))*(r>=0?1:-1)}let l=Math.abs(a(e).y-a(o[o.length-1]).y),u=Math.abs(a(e).x-a(o[o.length-1]).x),d=Math.abs(a(e).y-a(o[0]).y),f=Math.abs(a(e).x-a(o[0]).x),p=n[t.arrowTypeStart],m=n[t.arrowTypeEnd];if(l<m&&l>0&&u<m){let e=m+1-l;e*=c===`up`?-1:1,s-=e}if(d<p&&d>0&&f<p){let e=p+1-d;e*=c===`up`?-1:1,s+=e}return a(e).y+s},`y`)}),`getLineFunctionsWithOffset`);Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return t}});
@@ -0,0 +1,593 @@
1
+ import { n as e } from "./chunk-Y2CYZVJY-DO9UHHon.js";
2
+ import { m as t, p as n } from "./src-C7bjHtAI.js";
3
+ import { T as r, b as i, x as a } from "./chunk-I66GZJ75-xmbkwRyp.js";
4
+ import { $ as o, J as s, K as c, Q as l, X as u, Y as d, Z as f, et as p, g as m, nt as h, q as g, rt as _, tt as v, u as y } from "./chunk-NSK5VX7P-BO1SrWAL.js";
5
+ import { t as b } from "./line-BifI9Y7j.js";
6
+ import { n as x } from "./chunk-WRU74C26-UGtU6H2a.js";
7
+ import { i as S, n as ee, r as C, t as w } from "./chunk-7BUUIJ7U-CZdUK2qY.js";
8
+ import { n as T } from "./chunk-UBXNYLIW-fOGkdEwd.js";
9
+ import { i as E, n as D } from "./chunk-W5SLKNZC-C2SYjJjL.js";
10
+ import { t as te } from "./rough.esm-B2w_aYoc.js";
11
+ import { r as O } from "./chunk-QR6OTTB3-CGxJcV-X.js";
12
+ //#region ../../node_modules/.pnpm/mermaid@11.16.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-7Z6QIM7H.mjs
13
+ var ne = /* @__PURE__ */ e((e, t, n, r, i, a = !1, o) => {
14
+ t.arrowTypeStart && j(e, "start", t.arrowTypeStart, n, r, i, a, o), t.arrowTypeEnd && j(e, "end", t.arrowTypeEnd, n, r, i, a, o);
15
+ }, "addEdgeMarkers"), k = {
16
+ arrow_cross: {
17
+ type: "cross",
18
+ fill: !1
19
+ },
20
+ arrow_point: {
21
+ type: "point",
22
+ fill: !0
23
+ },
24
+ arrow_barb: {
25
+ type: "barb",
26
+ fill: !0
27
+ },
28
+ arrow_barb_neo: {
29
+ type: "barb",
30
+ fill: !0
31
+ },
32
+ arrow_circle: {
33
+ type: "circle",
34
+ fill: !1
35
+ },
36
+ aggregation: {
37
+ type: "aggregation",
38
+ fill: !1
39
+ },
40
+ extension: {
41
+ type: "extension",
42
+ fill: !1
43
+ },
44
+ composition: {
45
+ type: "composition",
46
+ fill: !0
47
+ },
48
+ dependency: {
49
+ type: "dependency",
50
+ fill: !0
51
+ },
52
+ lollipop: {
53
+ type: "lollipop",
54
+ fill: !1
55
+ },
56
+ only_one: {
57
+ type: "onlyOne",
58
+ fill: !1
59
+ },
60
+ zero_or_one: {
61
+ type: "zeroOrOne",
62
+ fill: !1
63
+ },
64
+ one_or_more: {
65
+ type: "oneOrMore",
66
+ fill: !1
67
+ },
68
+ zero_or_more: {
69
+ type: "zeroOrMore",
70
+ fill: !1
71
+ },
72
+ requirement_arrow: {
73
+ type: "requirement_arrow",
74
+ fill: !1
75
+ },
76
+ requirement_contains: {
77
+ type: "requirement_contains",
78
+ fill: !1
79
+ }
80
+ }, A = [
81
+ "cross",
82
+ "point",
83
+ "circle",
84
+ "lollipop",
85
+ "aggregation",
86
+ "extension",
87
+ "composition",
88
+ "dependency",
89
+ "barb"
90
+ ], j = /* @__PURE__ */ e((e, n, r, i, a, o, s = !1, c) => {
91
+ let l = k[r], u = l && A.includes(l.type);
92
+ if (!l) {
93
+ t.warn(`Unknown arrow type: ${r}`);
94
+ return;
95
+ }
96
+ let d = `${a}_${o}-${l.type}${n === "start" ? "Start" : "End"}${s && u ? "-margin" : ""}`;
97
+ if (c && c.trim() !== "") {
98
+ let t = `${d}_${c.replace(/[^\dA-Za-z]/g, "_")}`;
99
+ if (!document.getElementById(t)) {
100
+ let e = document.getElementById(d);
101
+ if (e) {
102
+ let n = e.cloneNode(!0);
103
+ n.id = t, n.querySelectorAll("path, circle, line").forEach((e) => {
104
+ e.setAttribute("stroke", c), l.fill && e.setAttribute("fill", c);
105
+ }), e.parentNode?.appendChild(n);
106
+ }
107
+ }
108
+ e.attr(`marker-${n}`, `url(${i}#${t})`);
109
+ } else e.attr(`marker-${n}`, `url(${i}#${d})`);
110
+ }, "addEdgeMarker"), re = /* @__PURE__ */ e((e) => typeof e == "string" ? e : a()?.flowchart?.curve, "resolveEdgeCurveType"), M = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ e(() => {
111
+ M.clear(), N.clear();
112
+ }, "clear"), F = /* @__PURE__ */ e((e) => e ? typeof e == "string" ? e : e.reduce((e, t) => e + ";" + t, "") : "", "getLabelStyles"), I = /* @__PURE__ */ e(async (e, i) => {
113
+ let o = a(), s = r(o), { labelStyles: c } = E(i);
114
+ i.labelStyle = c;
115
+ let l = e.insert("g").attr("class", "edgeLabel"), u = l.insert("g").attr("class", "label").attr("data-id", i.id), d = i.labelType === "markdown", f = await x(e, i.label, {
116
+ style: F(i.labelStyle),
117
+ useHtmlLabels: s,
118
+ addSvgBackground: !0,
119
+ isNode: !1,
120
+ markdown: d,
121
+ width: void 0
122
+ }, o);
123
+ u.node().appendChild(f), t.info("abc82", i, i.labelType);
124
+ let p = f.getBBox(), m = p;
125
+ if (s) {
126
+ let e = f.children[0], t = n(f);
127
+ p = e.getBoundingClientRect(), m = p, t.attr("width", p.width), t.attr("height", p.height);
128
+ } else {
129
+ let e = n(f).select("text").node();
130
+ e && typeof e.getBBox == "function" && (m = e.getBBox());
131
+ }
132
+ u.attr("transform", w(m, s)), M.set(i.id, l), i.width = p.width, i.height = p.height;
133
+ let h;
134
+ if (i.startLabelLeft) {
135
+ let t = e.insert("g").attr("class", "edgeTerminals"), r = t.insert("g").attr("class", "inner"), a = await O(r, i.startLabelLeft, F(i.labelStyle) || "", !1, !1);
136
+ h = a;
137
+ let o = a.getBBox();
138
+ if (s) {
139
+ let e = a.children[0], t = n(a);
140
+ o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
141
+ }
142
+ r.attr("transform", w(o, s)), N.get(i.id) || N.set(i.id, {}), N.get(i.id).startLeft = t, L(h, i.startLabelLeft);
143
+ }
144
+ if (i.startLabelRight) {
145
+ let t = e.insert("g").attr("class", "edgeTerminals"), r = t.insert("g").attr("class", "inner"), a = await O(r, i.startLabelRight, F(i.labelStyle) || "", !1, !1);
146
+ h = a;
147
+ let o = a.getBBox();
148
+ if (s) {
149
+ let e = a.children[0], t = n(a);
150
+ o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
151
+ }
152
+ r.attr("transform", w(o, s)), N.get(i.id) || N.set(i.id, {}), N.get(i.id).startRight = t, L(h, i.startLabelRight);
153
+ }
154
+ if (i.endLabelLeft) {
155
+ let t = e.insert("g").attr("class", "edgeTerminals"), r = t.insert("g").attr("class", "inner"), a = await O(t, i.endLabelLeft, F(i.labelStyle) || "", !1, !1);
156
+ h = a;
157
+ let o = a.getBBox();
158
+ if (s) {
159
+ let e = a.children[0], t = n(a);
160
+ o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
161
+ }
162
+ r.attr("transform", w(o, s)), N.get(i.id) || N.set(i.id, {}), N.get(i.id).endLeft = t, L(h, i.endLabelLeft);
163
+ }
164
+ if (i.endLabelRight) {
165
+ let t = e.insert("g").attr("class", "edgeTerminals"), r = t.insert("g").attr("class", "inner"), a = await O(t, i.endLabelRight, F(i.labelStyle) || "", !1, !1);
166
+ h = a;
167
+ let o = a.getBBox();
168
+ if (s) {
169
+ let e = a.children[0], t = n(a);
170
+ o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
171
+ }
172
+ r.attr("transform", w(o, s)), N.get(i.id) || N.set(i.id, {}), N.get(i.id).endRight = t, L(h, i.endLabelRight);
173
+ }
174
+ return f;
175
+ }, "insertEdgeLabel");
176
+ function L(e, t) {
177
+ r(a()) && e && (e.style.width = t.length * 9 + "px", e.style.height = "12px");
178
+ }
179
+ e(L, "setTerminalWidth");
180
+ var R = /* @__PURE__ */ e((e, n) => {
181
+ t.debug("Moving label abc88 ", e.id, e.label, M.get(e.id), n);
182
+ let r = n.updatedPath ? n.updatedPath : n.originalPath, i = a(), { subGraphTitleTotalMargin: o } = T(i);
183
+ if (e.label) {
184
+ let i = M.get(e.id), a = e.x, s = e.y;
185
+ if (r) {
186
+ let i = m.calcLabelPosition(r);
187
+ t.debug("Moving label " + e.label + " from (", a, ",", s, ") to (", i.x, ",", i.y, ") abc88"), n.updatedPath && (a = i.x, s = i.y);
188
+ }
189
+ i.attr("transform", `translate(${a}, ${s + o / 2})`);
190
+ }
191
+ if (e.startLabelLeft) {
192
+ let t = N.get(e.id).startLeft, n = e.x, i = e.y;
193
+ if (r) {
194
+ let t = m.calcTerminalLabelPosition(e.arrowTypeStart ? 10 : 0, "start_left", r);
195
+ n = t.x, i = t.y;
196
+ }
197
+ t.attr("transform", `translate(${n}, ${i})`);
198
+ }
199
+ if (e.startLabelRight) {
200
+ let t = N.get(e.id).startRight, n = e.x, i = e.y;
201
+ if (r) {
202
+ let t = m.calcTerminalLabelPosition(e.arrowTypeStart ? 10 : 0, "start_right", r);
203
+ n = t.x, i = t.y;
204
+ }
205
+ t.attr("transform", `translate(${n}, ${i})`);
206
+ }
207
+ if (e.endLabelLeft) {
208
+ let t = N.get(e.id).endLeft, n = e.x, i = e.y;
209
+ if (r) {
210
+ let t = m.calcTerminalLabelPosition(e.arrowTypeEnd ? 10 : 0, "end_left", r);
211
+ n = t.x, i = t.y;
212
+ }
213
+ t.attr("transform", `translate(${n}, ${i})`);
214
+ }
215
+ if (e.endLabelRight) {
216
+ let t = N.get(e.id).endRight, n = e.x, i = e.y;
217
+ if (r) {
218
+ let t = m.calcTerminalLabelPosition(e.arrowTypeEnd ? 10 : 0, "end_right", r);
219
+ n = t.x, i = t.y;
220
+ }
221
+ t.attr("transform", `translate(${n}, ${i})`);
222
+ }
223
+ }, "positionEdgeLabel"), ie = /* @__PURE__ */ e((e, t) => {
224
+ if (!e?.isLabelEdge || !e?.id?.endsWith("-to-label") || !Array.isArray(t) || t.length !== 2) return t;
225
+ let [n, r] = t, i = Math.abs(r.x - n.x), a = Math.abs(r.y - n.y);
226
+ return i < .001 || a < .001 ? t : a >= i ? [
227
+ n,
228
+ {
229
+ x: n.x,
230
+ y: r.y
231
+ },
232
+ r
233
+ ] : [
234
+ n,
235
+ {
236
+ x: r.x,
237
+ y: n.y
238
+ },
239
+ r
240
+ ];
241
+ }, "orthogonalizeToLabelClippedPoints"), z = /* @__PURE__ */ e((e, t) => {
242
+ let n = e.x, r = e.y, i = Math.abs(t.x - n), a = Math.abs(t.y - r), o = e.width / 2, s = e.height / 2;
243
+ return i >= o || a >= s;
244
+ }, "outsideNode"), B = /* @__PURE__ */ e((e, n, r) => {
245
+ t.debug(`intersection calc abc89:
246
+ outsidePoint: ${JSON.stringify(n)}
247
+ insidePoint : ${JSON.stringify(r)}
248
+ node : x:${e.x} y:${e.y} w:${e.width} h:${e.height}`);
249
+ let i = e.x, a = e.y, o = Math.abs(i - r.x), s = e.width / 2, c = r.x < n.x ? s - o : s + o, l = e.height / 2, u = Math.abs(n.y - r.y), d = Math.abs(n.x - r.x);
250
+ if (Math.abs(a - n.y) * s > Math.abs(i - n.x) * l) {
251
+ let e = r.y < n.y ? n.y - l - a : a - l - n.y;
252
+ c = d * e / u;
253
+ let i = {
254
+ x: r.x < n.x ? r.x + c : r.x - d + c,
255
+ y: r.y < n.y ? r.y + u - e : r.y - u + e
256
+ };
257
+ return c === 0 && (i.x = n.x, i.y = n.y), d === 0 && (i.x = n.x), u === 0 && (i.y = n.y), t.debug(`abc89 top/bottom calc, Q ${u}, q ${e}, R ${d}, r ${c}`, i), i;
258
+ }
259
+ {
260
+ c = r.x < n.x ? n.x - s - i : i - s - n.x;
261
+ let e = u * c / d, a = r.x < n.x ? r.x + d - c : r.x - d + c, o = r.y < n.y ? r.y + e : r.y - e;
262
+ return t.debug(`sides calc abc89, Q ${u}, q ${e}, R ${d}, r ${c}`, {
263
+ _x: a,
264
+ _y: o
265
+ }), c === 0 && (a = n.x, o = n.y), d === 0 && (a = n.x), u === 0 && (o = n.y), {
266
+ x: a,
267
+ y: o
268
+ };
269
+ }
270
+ }, "intersection"), V = /* @__PURE__ */ e((e, n) => {
271
+ t.warn("abc88 cutPathAtIntersect", e, n);
272
+ let r = [], i = e[0], a = !1;
273
+ return e.forEach((e) => {
274
+ if (t.info("abc88 checking point", e, n), !z(n, e) && !a) {
275
+ let o = B(n, i, e);
276
+ t.debug("abc88 inside", e, i, o), t.debug("abc88 intersection", o, n);
277
+ let s = !1;
278
+ r.forEach((e) => {
279
+ s ||= e.x === o.x && e.y === o.y;
280
+ }), r.some((e) => e.x === o.x && e.y === o.y) ? t.warn("abc88 no intersect", o, r) : r.push(o), a = !0;
281
+ } else t.warn("abc88 outside", e, i), i = e, a || r.push(e);
282
+ }), t.debug("returning points", r), r;
283
+ }, "cutPathAtIntersect");
284
+ function H(e) {
285
+ let t = [], n = [];
286
+ for (let r = 1; r < e.length - 1; r++) {
287
+ let i = e[r - 1], a = e[r], o = e[r + 1];
288
+ (i.x === a.x && a.y === o.y && Math.abs(a.x - o.x) > 5 && Math.abs(a.y - i.y) > 5 || i.y === a.y && a.x === o.x && Math.abs(a.x - i.x) > 5 && Math.abs(a.y - o.y) > 5) && (t.push(a), n.push(r));
289
+ }
290
+ return {
291
+ cornerPoints: t,
292
+ cornerPointPositions: n
293
+ };
294
+ }
295
+ e(H, "extractCornerPoints");
296
+ var U = /* @__PURE__ */ e(function(e, t, n) {
297
+ let r = t.x - e.x, i = t.y - e.y, a = n / Math.sqrt(r * r + i * i);
298
+ return {
299
+ x: t.x - a * r,
300
+ y: t.y - a * i
301
+ };
302
+ }, "findAdjacentPoint"), ae = /* @__PURE__ */ e(function(e) {
303
+ let { cornerPointPositions: n } = H(e), r = [];
304
+ for (let i = 0; i < e.length; i++) if (n.includes(i)) {
305
+ let n = e[i - 1], a = e[i + 1], o = e[i], s = U(n, o, 5), c = U(a, o, 5), l = c.x - s.x, u = c.y - s.y;
306
+ r.push(s);
307
+ let d = Math.sqrt(2) * 2, f = {
308
+ x: o.x,
309
+ y: o.y
310
+ };
311
+ Math.abs(a.x - n.x) > 10 && Math.abs(a.y - n.y) >= 10 ? (t.debug("Corner point fixing", Math.abs(a.x - n.x), Math.abs(a.y - n.y)), f = o.x === s.x ? {
312
+ x: l < 0 ? s.x - 5 + d : s.x + 5 - d,
313
+ y: u < 0 ? s.y - d : s.y + d
314
+ } : {
315
+ x: l < 0 ? s.x - d : s.x + d,
316
+ y: u < 0 ? s.y - 5 + d : s.y + 5 - d
317
+ }) : t.debug("Corner point skipping fixing", Math.abs(a.x - n.x), Math.abs(a.y - n.y)), r.push(f, c);
318
+ } else r.push(e[i]);
319
+ return r;
320
+ }, "fixCorners"), oe = /* @__PURE__ */ e((e, t, n) => {
321
+ let r = e - t - n, i = Math.floor(r / 4);
322
+ return `0 ${t} ${Array(i).fill("2 2").join(" ")} ${n}`;
323
+ }, "generateDashArray"), W = /* @__PURE__ */ e(function(e, r, i, x, C, w, T, E = !1) {
324
+ if (!T) throw Error(`insertEdge: missing diagramId for edge "${r.id}" \u2014 edge IDs require a diagram prefix for uniqueness`);
325
+ let { handDrawnSeed: O, layout: k } = a(), A = r.points, j = !1, M = C;
326
+ var N = w;
327
+ let P = [];
328
+ for (let e in r.cssCompiledStyles) D(e) || P.push(r.cssCompiledStyles[e]);
329
+ if (k === "swimlane") {
330
+ if (N.intersect && M.intersect && Array.isArray(A) && A.length >= 2) {
331
+ if (A.length === 2) A = [M.intersect(A[0]), N.intersect(A[1])];
332
+ else {
333
+ let e = A.slice(1, -1), t = e[0], n = e[e.length - 1], r = .5, i = Math.abs(A[A.length - 1].x - n.x) < r && Math.abs(A[A.length - 1].y - n.y) < r, a = M.intersect(t), o = i ? n : N.intersect(n), s = Math.abs(o.x - n.x) < r && Math.abs(o.y - n.y) < r, c = Math.abs(a.x - t.x) < r && Math.abs(a.y - t.y) < r ? [] : [a], l = s ? [] : [o];
334
+ A = [
335
+ ...c,
336
+ ...e,
337
+ ...l
338
+ ];
339
+ }
340
+ }
341
+ A = ie(r, A);
342
+ } else N.intersect && M.intersect && !E && (A = A.slice(1, r.points.length - 1), A.unshift(M.intersect(A[0])), A.push(N.intersect(A[A.length - 1])));
343
+ let F = btoa(JSON.stringify(A));
344
+ r.toCluster && (t.info("to cluster abc88", i.get(r.toCluster)), A = V(r.points, i.get(r.toCluster).node), j = !0), r.fromCluster && (t.debug("from cluster abc88", i.get(r.fromCluster), JSON.stringify(A, null, 2)), A = V(A.reverse(), i.get(r.fromCluster).node).reverse(), j = !0);
345
+ let I = A.filter((e) => !Number.isNaN(e.y)), L = re(r.curve);
346
+ L !== "rounded" && (I = ae(I));
347
+ let R = _;
348
+ switch (L) {
349
+ case "linear":
350
+ R = _;
351
+ break;
352
+ case "basis":
353
+ R = p;
354
+ break;
355
+ case "cardinal":
356
+ R = o;
357
+ break;
358
+ case "bumpX":
359
+ R = v;
360
+ break;
361
+ case "bumpY":
362
+ R = h;
363
+ break;
364
+ case "catmullRom":
365
+ R = l;
366
+ break;
367
+ case "monotoneX":
368
+ R = u;
369
+ break;
370
+ case "monotoneY":
371
+ R = f;
372
+ break;
373
+ case "natural":
374
+ R = d;
375
+ break;
376
+ case "step":
377
+ R = s;
378
+ break;
379
+ case "stepAfter":
380
+ R = c;
381
+ break;
382
+ case "stepBefore":
383
+ R = g;
384
+ break;
385
+ case "rounded":
386
+ R = _;
387
+ break;
388
+ default: R = p;
389
+ }
390
+ let { x: z, y: B } = ee(r), H = b().x(z).y(B).curve(R), U;
391
+ switch (r.thickness) {
392
+ case "normal":
393
+ U = "edge-thickness-normal";
394
+ break;
395
+ case "thick":
396
+ U = "edge-thickness-thick";
397
+ break;
398
+ case "invisible":
399
+ U = "edge-thickness-invisible";
400
+ break;
401
+ default: U = "edge-thickness-normal";
402
+ }
403
+ switch (r.pattern) {
404
+ case "solid":
405
+ U += " edge-pattern-solid";
406
+ break;
407
+ case "dotted":
408
+ U += " edge-pattern-dotted";
409
+ break;
410
+ case "dashed":
411
+ U += " edge-pattern-dashed";
412
+ break;
413
+ default: U += " edge-pattern-solid";
414
+ }
415
+ let W, K = L === "rounded" ? G(q(I, r), 5) : H(I), J = Array.isArray(r.style) ? r.style : [r.style], Y = J.find((e) => e?.startsWith("stroke:")), X = "";
416
+ r.animate && (X = "edge-animation-fast"), r.animation && (X = "edge-animation-" + r.animation);
417
+ let Z = !1;
418
+ if (r.look === "handDrawn") {
419
+ let t = te.svg(e);
420
+ Object.assign([], I);
421
+ let i = t.path(K, {
422
+ roughness: .3,
423
+ seed: O
424
+ });
425
+ U += " transition", W = n(i).select("path").attr("id", `${T}-${r.id}`).attr("class", " " + U + (r.classes ? " " + r.classes : "") + (X ? " " + X : "")).attr("style", J ? J.reduce((e, t) => e + ";" + t, "") : "");
426
+ let a = W.attr("d");
427
+ W.attr("d", a), e.node().appendChild(W.node());
428
+ } else {
429
+ let t = P.join(";"), n = J ? J.reduce((e, t) => e + t + ";", "") : "", i = (t ? t + ";" + n + ";" : n) + ";" + (J ? J.reduce((e, t) => e + ";" + t, "") : "");
430
+ W = e.append("path").attr("d", K).attr("id", `${T}-${r.id}`).attr("class", " " + U + (r.classes ? " " + r.classes : "") + (X ? " " + X : "")).attr("style", i), Y = i.match(/stroke:([^;]+)/)?.[1], Z = r.animate === !0 || !!r.animation || t.includes("animation");
431
+ let a = W.node(), o = typeof a.getTotalLength == "function" ? a.getTotalLength() : 0, s = S[r.arrowTypeStart] || 0, c = S[r.arrowTypeEnd] || 0;
432
+ if (r.look === "neo" && !Z) {
433
+ let e = `stroke-dasharray: ${r.pattern === "dotted" || r.pattern === "dashed" ? oe(o, s, c) : `0 ${s} ${o - s - c} ${c}`}; stroke-dashoffset: 0;`;
434
+ W.attr("style", e + W.attr("style"));
435
+ }
436
+ }
437
+ W.attr("data-edge", !0), W.attr("data-et", "edge"), W.attr("data-id", r.id), W.attr("data-points", F), W.attr("data-look", y(r.look)), r.showPoints && I.forEach((t) => {
438
+ e.append("circle").style("stroke", "red").style("fill", "red").attr("r", 1).attr("cx", t.x).attr("cy", t.y);
439
+ });
440
+ let Q = "";
441
+ (a().flowchart.arrowMarkerAbsolute || a().state.arrowMarkerAbsolute) && (Q = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, Q = Q.replace(/\(/g, "\\(").replace(/\)/g, "\\)")), t.info("arrowTypeStart", r.arrowTypeStart), t.info("arrowTypeEnd", r.arrowTypeEnd);
442
+ let se = !Z && r?.look === "neo";
443
+ ne(W, r, Q, T, x, se, Y);
444
+ let ce = Math.floor(A.length / 2), le = A[ce];
445
+ m.isLabelCoordinateInPath(le, W.attr("d")) || (j = !0);
446
+ let $ = {};
447
+ return j && ($.updatedPath = A), $.originalPath = r.points, $;
448
+ }, "insertEdge");
449
+ function G(e, t) {
450
+ if (e.length < 2) return "";
451
+ let n = "", r = e.length, i = 1e-5;
452
+ for (let a = 0; a < r; a++) {
453
+ let o = e[a], s = e[a - 1], c = e[a + 1];
454
+ if (a === 0) n += `M${o.x},${o.y}`;
455
+ else if (a === r - 1) n += `L${o.x},${o.y}`;
456
+ else {
457
+ let e = o.x - s.x, r = o.y - s.y, a = c.x - o.x, l = c.y - o.y, u = Math.hypot(e, r), d = Math.hypot(a, l);
458
+ if (u < i || d < i) {
459
+ n += `L${o.x},${o.y}`;
460
+ continue;
461
+ }
462
+ let f = e / u, p = r / u, m = a / d, h = l / d, g = f * m + p * h, _ = Math.acos(Math.max(-1, Math.min(1, g)));
463
+ if (_ < i || Math.abs(Math.PI - _) < i) {
464
+ n += `L${o.x},${o.y}`;
465
+ continue;
466
+ }
467
+ let v = Math.min(t / Math.sin(_ / 2), u / 2, d / 2), y = o.x - f * v, b = o.y - p * v, x = o.x + m * v, S = o.y + h * v;
468
+ n += `L${y},${b}`, n += `Q${o.x},${o.y} ${x},${S}`;
469
+ }
470
+ }
471
+ return n;
472
+ }
473
+ e(G, "generateRoundedPath");
474
+ function K(e, t) {
475
+ if (!e || !t) return {
476
+ angle: 0,
477
+ deltaX: 0,
478
+ deltaY: 0
479
+ };
480
+ let n = t.x - e.x, r = t.y - e.y;
481
+ return {
482
+ angle: Math.atan2(r, n),
483
+ deltaX: n,
484
+ deltaY: r
485
+ };
486
+ }
487
+ e(K, "calculateDeltaAndAngle");
488
+ function q(e, t) {
489
+ let n = e.map((e) => ({ ...e }));
490
+ if (e.length >= 2 && C[t.arrowTypeStart]) {
491
+ let r = C[t.arrowTypeStart], i = e[0], a = e[1], { angle: o } = K(i, a), s = r * Math.cos(o), c = r * Math.sin(o);
492
+ n[0].x = i.x + s, n[0].y = i.y + c;
493
+ }
494
+ let r = e.length;
495
+ if (r >= 2 && C[t.arrowTypeEnd]) {
496
+ let i = C[t.arrowTypeEnd], a = e[r - 1], o = e[r - 2], { angle: s } = K(o, a), c = i * Math.cos(s), l = i * Math.sin(s);
497
+ n[r - 1].x = a.x - c, n[r - 1].y = a.y - l;
498
+ }
499
+ return n;
500
+ }
501
+ e(q, "applyMarkerOffsetsToPoints");
502
+ var J = /* @__PURE__ */ e((e, t, n, r) => {
503
+ t.forEach((t) => {
504
+ Y[t](e, n, r);
505
+ });
506
+ }, "insertMarkers"), Y = {
507
+ extension: /* @__PURE__ */ e((e, n, r) => {
508
+ t.trace("Making markers for ", r), e.append("defs").append("marker").attr("id", r + "_" + n + "-extensionStart").attr("class", "marker extension " + n).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"), e.append("defs").append("marker").attr("id", r + "_" + n + "-extensionEnd").attr("class", "marker extension " + n).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"), e.append("marker").attr("id", r + "_" + n + "-extensionStart-margin").attr("class", "marker extension " + n).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"), e.append("defs").append("marker").attr("id", r + "_" + n + "-extensionEnd-margin").attr("class", "marker extension " + n).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");
509
+ }, "extension"),
510
+ composition: /* @__PURE__ */ e((e, t, n) => {
511
+ e.append("defs").append("marker").attr("id", n + "_" + 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"), e.append("defs").append("marker").attr("id", n + "_" + 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"), e.append("defs").append("marker").attr("id", n + "_" + 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"), e.append("defs").append("marker").attr("id", n + "_" + 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");
512
+ }, "composition"),
513
+ aggregation: /* @__PURE__ */ e((e, t, n) => {
514
+ e.append("defs").append("marker").attr("id", n + "_" + 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"), e.append("defs").append("marker").attr("id", n + "_" + 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"), e.append("defs").append("marker").attr("id", n + "_" + 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"), e.append("defs").append("marker").attr("id", n + "_" + 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");
515
+ }, "aggregation"),
516
+ dependency: /* @__PURE__ */ e((e, t, n) => {
517
+ e.append("defs").append("marker").attr("id", n + "_" + 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"), e.append("defs").append("marker").attr("id", n + "_" + 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"), e.append("defs").append("marker").attr("id", n + "_" + 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"), e.append("defs").append("marker").attr("id", n + "_" + 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");
518
+ }, "dependency"),
519
+ lollipop: /* @__PURE__ */ e((e, t, n) => {
520
+ e.append("defs").append("marker").attr("id", n + "_" + 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), e.append("defs").append("marker").attr("id", n + "_" + 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), e.append("defs").append("marker").attr("id", n + "_" + 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), e.append("defs").append("marker").attr("id", n + "_" + 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);
521
+ }, "lollipop"),
522
+ point: /* @__PURE__ */ e((e, t, n) => {
523
+ e.append("marker").attr("id", n + "_" + 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"), e.append("marker").attr("id", n + "_" + 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"), e.append("marker").attr("id", n + "_" + 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"), e.append("marker").attr("id", n + "_" + 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");
524
+ }, "point"),
525
+ circle: /* @__PURE__ */ e((e, t, n) => {
526
+ e.append("marker").attr("id", n + "_" + 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"), e.append("marker").attr("id", n + "_" + 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"), e.append("marker").attr("id", n + "_" + 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"), e.append("marker").attr("id", n + "_" + 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");
527
+ }, "circle"),
528
+ cross: /* @__PURE__ */ e((e, t, n) => {
529
+ e.append("marker").attr("id", n + "_" + 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"), e.append("marker").attr("id", n + "_" + 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"), e.append("marker").attr("id", n + "_" + 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), e.append("marker").attr("id", n + "_" + 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");
530
+ }, "cross"),
531
+ barb: /* @__PURE__ */ e((e, t, n) => {
532
+ e.append("defs").append("marker").attr("id", n + "_" + 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");
533
+ }, "barb"),
534
+ barbNeo: /* @__PURE__ */ e((e, t, n) => {
535
+ let { themeVariables: r } = i(), { transitionColor: a } = r;
536
+ e.append("defs").append("marker").attr("id", n + "_" + 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"), e.append("defs").append("marker").attr("id", n + "_" + 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", `${a}`);
537
+ }, "barbNeo"),
538
+ only_one: /* @__PURE__ */ e((e, t, n) => {
539
+ e.append("defs").append("marker").attr("id", n + "_" + 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"), e.append("defs").append("marker").attr("id", n + "_" + 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");
540
+ }, "only_one"),
541
+ zero_or_one: /* @__PURE__ */ e((e, t, n) => {
542
+ let r = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrOneStart").attr("class", "marker zeroOrOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 30).attr("markerHeight", 18).attr("orient", "auto");
543
+ r.append("circle").attr("fill", "white").attr("cx", 21).attr("cy", 9).attr("r", 6), r.append("path").attr("d", "M9,0 L9,18");
544
+ let i = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrOneEnd").attr("class", "marker zeroOrOne " + t).attr("refX", 30).attr("refY", 9).attr("markerWidth", 30).attr("markerHeight", 18).attr("orient", "auto");
545
+ i.append("circle").attr("fill", "white").attr("cx", 9).attr("cy", 9).attr("r", 6), i.append("path").attr("d", "M21,0 L21,18");
546
+ }, "zero_or_one"),
547
+ one_or_more: /* @__PURE__ */ e((e, t, n) => {
548
+ e.append("defs").append("marker").attr("id", n + "_" + 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"), e.append("defs").append("marker").attr("id", n + "_" + 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");
549
+ }, "one_or_more"),
550
+ zero_or_more: /* @__PURE__ */ e((e, t, n) => {
551
+ let r = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrMoreStart").attr("class", "marker zeroOrMore " + t).attr("refX", 18).attr("refY", 18).attr("markerWidth", 57).attr("markerHeight", 36).attr("orient", "auto");
552
+ r.append("circle").attr("fill", "white").attr("cx", 48).attr("cy", 18).attr("r", 6), r.append("path").attr("d", "M0,18 Q18,0 36,18 Q18,36 0,18");
553
+ let i = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrMoreEnd").attr("class", "marker zeroOrMore " + t).attr("refX", 39).attr("refY", 18).attr("markerWidth", 57).attr("markerHeight", 36).attr("orient", "auto");
554
+ i.append("circle").attr("fill", "white").attr("cx", 9).attr("cy", 18).attr("r", 6), i.append("path").attr("d", "M21,18 Q39,0 57,18 Q39,36 21,18");
555
+ }, "zero_or_more"),
556
+ only_one_neo: /* @__PURE__ */ e((e, t, n) => {
557
+ let { themeVariables: r } = i(), { strokeWidth: a } = r;
558
+ e.append("defs").append("marker").attr("id", n + "_" + 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", `${a}`), e.append("defs").append("marker").attr("id", n + "_" + 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", `${a}`);
559
+ }, "only_one_neo"),
560
+ zero_or_one_neo: /* @__PURE__ */ e((e, t, n) => {
561
+ let { themeVariables: r } = i(), { strokeWidth: a, mainBkg: o } = r, s = e.append("defs").append("marker").attr("id", n + "_" + 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");
562
+ s.append("circle").attr("fill", o ?? "white").attr("cx", 21).attr("cy", 9).attr("stroke-width", `${a}`).attr("r", 6), s.append("path").attr("d", "M9,0 L9,18").attr("stroke-width", `${a}`);
563
+ let c = e.append("defs").append("marker").attr("id", n + "_" + 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");
564
+ c.append("circle").attr("fill", o ?? "white").attr("cx", 9).attr("cy", 9).attr("stroke-width", `${a}`).attr("r", 6), c.append("path").attr("d", "M21,0 L21,18").attr("stroke-width", `${a}`);
565
+ }, "zero_or_one_neo"),
566
+ one_or_more_neo: /* @__PURE__ */ e((e, t, n) => {
567
+ let { themeVariables: r } = i(), { strokeWidth: a } = r;
568
+ e.append("defs").append("marker").attr("id", n + "_" + 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", `${a}`), e.append("defs").append("marker").attr("id", n + "_" + 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", `${a}`);
569
+ }, "one_or_more_neo"),
570
+ zero_or_more_neo: /* @__PURE__ */ e((e, t, n) => {
571
+ let { themeVariables: r } = i(), { strokeWidth: a, mainBkg: o } = r, s = e.append("defs").append("marker").attr("id", n + "_" + 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");
572
+ s.append("circle").attr("fill", o ?? "white").attr("cx", 45.5).attr("cy", 18).attr("r", 6).attr("stroke-width", `${a}`), s.append("path").attr("d", "M0,18 Q18,0 36,18 Q18,36 0,18").attr("stroke-width", `${a}`);
573
+ let c = e.append("defs").append("marker").attr("id", n + "_" + 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");
574
+ c.append("circle").attr("fill", o ?? "white").attr("cx", 11).attr("cy", 18).attr("r", 6).attr("stroke-width", `${a}`), c.append("path").attr("d", "M21,18 Q39,0 57,18 Q39,36 21,18").attr("stroke-width", `${a}`);
575
+ }, "zero_or_more_neo"),
576
+ requirement_arrow: /* @__PURE__ */ e((e, t, n) => {
577
+ e.append("defs").append("marker").attr("id", n + "_" + t + "-requirement_arrowEnd").attr("refX", 20).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").append("path").attr("d", "M0,0\n L20,10\n M20,10\n L0,20");
578
+ }, "requirement_arrow"),
579
+ requirement_contains: /* @__PURE__ */ e((e, t, n) => {
580
+ let r = e.append("defs").append("marker").attr("id", n + "_" + t + "-requirement_containsStart").attr("refX", 0).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").append("g");
581
+ r.append("circle").attr("cx", 10).attr("cy", 10).attr("r", 9).attr("fill", "none"), r.append("line").attr("x1", 1).attr("x2", 19).attr("y1", 10).attr("y2", 10), r.append("line").attr("y1", 1).attr("y2", 19).attr("x1", 10).attr("x2", 10);
582
+ }, "requirement_contains"),
583
+ requirement_arrow_neo: /* @__PURE__ */ e((e, t, n) => {
584
+ let { themeVariables: r } = i(), { strokeWidth: a } = r;
585
+ e.append("defs").append("marker").attr("id", n + "_" + t + "-requirement_arrowEnd").attr("refX", 20).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").attr("stroke-width", `${a}`).attr("viewBox", "0 0 25 20").append("path").attr("d", "M0,0\n L20,10\n M20,10\n L0,20").attr("stroke-linejoin", "miter");
586
+ }, "requirement_arrow_neo"),
587
+ requirement_contains_neo: /* @__PURE__ */ e((e, t, n) => {
588
+ let { themeVariables: r } = i(), { strokeWidth: a } = r, o = e.append("defs").append("marker").attr("id", n + "_" + t + "-requirement_containsStart").attr("refX", 0).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("g");
589
+ o.append("circle").attr("cx", 10).attr("cy", 10).attr("r", 9).attr("fill", "none"), o.append("line").attr("x1", 1).attr("x2", 19).attr("y1", 10).attr("y2", 10), o.append("line").attr("y1", 1).attr("y2", 19).attr("x1", 10).attr("x2", 10), o.selectAll("*").attr("stroke-width", `${a}`);
590
+ }, "requirement_contains_neo")
591
+ }, X = J;
592
+ //#endregion
593
+ export { X as a, I as i, M as n, R as o, W as r, N as s, P as t };