mio-previewer 0.2.73 → 0.2.76

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 (282) hide show
  1. package/README.md +1 -0
  2. package/README.zh-CN.md +2 -1
  3. package/dist/_basePickBy-CXmXW7jd.js +166 -0
  4. package/dist/_basePickBy-CtuVwROD.cjs +1 -0
  5. package/dist/_baseUniq-CGoiOkSa.js +682 -0
  6. package/dist/_baseUniq-CYtOXxfV.cjs +1 -0
  7. package/dist/_createAssigner-DqH64jc7.cjs +1 -0
  8. package/dist/_createAssigner-IEX8lwxm.js +573 -0
  9. package/dist/arc-C78br9Yj.cjs +1 -0
  10. package/dist/arc-vLgDTVZZ.js +80 -0
  11. package/dist/architecture-O4VJ6CD3-B9qzjtV8.cjs +1 -0
  12. package/dist/architecture-O4VJ6CD3-wqAP4onK.js +2 -0
  13. package/dist/architectureDiagram-VXUJARFQ-CYbuyVAs.js +4039 -0
  14. package/dist/architectureDiagram-VXUJARFQ-DEGYSl1f.cjs +36 -0
  15. package/dist/array-CApNbSU9.js +6 -0
  16. package/dist/array-DZSRzHA_.cjs +1 -0
  17. package/dist/assets/parser.worker-Bzb1GItl.js +14 -0
  18. package/dist/blockDiagram-VD42YOAC-DaH3L5Ng.js +3009 -0
  19. package/dist/blockDiagram-VD42YOAC-DeX0dq72.cjs +122 -0
  20. package/dist/c4Diagram-YG6GDRKO-CIThIYo6.js +2959 -0
  21. package/dist/c4Diagram-YG6GDRKO-Dz6dif_9.cjs +10 -0
  22. package/dist/channel-BWHkpgVD.cjs +1 -0
  23. package/dist/channel-JT7eWw2w.js +5 -0
  24. package/dist/chunk-4BX2VUAB-BZTgbbzC.js +8 -0
  25. package/dist/chunk-4BX2VUAB-HXFjpyQg.cjs +1 -0
  26. package/dist/chunk-55IACEB6-DWUqxxdp.js +8 -0
  27. package/dist/chunk-55IACEB6-Hy_THNUs.cjs +1 -0
  28. package/dist/chunk-ABZYJK2D-CbIYYZa_.cjs +80 -0
  29. package/dist/chunk-ABZYJK2D-DDrmE3Q7.js +2518 -0
  30. package/dist/chunk-ATLVNIR6-DHlCNWnJ.js +67 -0
  31. package/dist/chunk-ATLVNIR6-shAOudT0.cjs +1 -0
  32. package/dist/chunk-B4BG7PRW-C67vroOS.cjs +165 -0
  33. package/dist/chunk-B4BG7PRW-DSYuK8dI.js +3116 -0
  34. package/dist/chunk-BNMv73og.cjs +1 -0
  35. package/dist/chunk-CVBHYZKI-CLVcv_xh.cjs +1 -0
  36. package/dist/chunk-CVBHYZKI-CiCGetln.js +12 -0
  37. package/dist/chunk-DI55MBZ5-BCvBgHrp.cjs +220 -0
  38. package/dist/chunk-DI55MBZ5-Clru0TyG.js +2000 -0
  39. package/dist/chunk-Dbv0sNQl.js +20 -0
  40. package/dist/chunk-FMBD7UC4-D4kohRVY.js +5 -0
  41. package/dist/{chunk-FMBD7UC4-DxkUZTpt.cjs → chunk-FMBD7UC4-DWMVCXKq.cjs} +2 -2
  42. package/dist/chunk-HN2XXSSU-BwmRMa2r.cjs +1 -0
  43. package/dist/chunk-HN2XXSSU-CJL8wAZ2.js +76 -0
  44. package/dist/chunk-JA3XYJ7Z-BaAdjYEy.cjs +70 -0
  45. package/dist/chunk-JA3XYJ7Z-CpKHrbOX.js +1849 -0
  46. package/dist/chunk-JZLCHNYA-CYo7ykJf.js +4863 -0
  47. package/dist/chunk-JZLCHNYA-CvPIQFXP.cjs +54 -0
  48. package/dist/chunk-QN33PNHL-BFbXAWI4.js +25 -0
  49. package/dist/chunk-QN33PNHL-Cu0FHarG.cjs +1 -0
  50. package/dist/chunk-QXUST7PY-CnnfdJrM.cjs +7 -0
  51. package/dist/chunk-QXUST7PY-CxCAwQqP.js +488 -0
  52. package/dist/chunk-QZHKN3VN-2e6nJr8c.cjs +1 -0
  53. package/dist/chunk-QZHKN3VN-Dal4kx9B.js +15 -0
  54. package/dist/chunk-S3R3BYOJ-B2ozcJNg.cjs +2 -0
  55. package/dist/chunk-S3R3BYOJ-CG6GoSCd.js +1119 -0
  56. package/dist/chunk-TZMSLE5B-CooeLs4Q.js +57 -0
  57. package/dist/chunk-TZMSLE5B-D92K1Ja5.cjs +1 -0
  58. package/dist/classDiagram-2ON5EDUG-Bv1XCvDZ.js +28 -0
  59. package/dist/classDiagram-2ON5EDUG-BzMV1CJW.cjs +1 -0
  60. package/dist/classDiagram-v2-WZHVMYZB-Bqxv5U7u.js +28 -0
  61. package/dist/classDiagram-v2-WZHVMYZB-BzMV1CJW.cjs +1 -0
  62. package/dist/clone-B0KDIkSS.js +8 -0
  63. package/dist/clone-wvtBTB6v.cjs +1 -0
  64. package/dist/cose-bilkent-S5V4N54A-DMHTv1aW.cjs +1 -0
  65. package/dist/cose-bilkent-S5V4N54A-bGPAcpg6.js +2250 -0
  66. package/dist/custom-Bl_fVJZ0.cjs +84 -0
  67. package/dist/custom-D-TzPpWT.js +5281 -0
  68. package/dist/cytoscape.esm-CElDUMAx.cjs +321 -0
  69. package/dist/cytoscape.esm-xf9dtmBj.js +18100 -0
  70. package/dist/dagre-6UL2VRFP-3bgUxzqG.js +294 -0
  71. package/dist/dagre-6UL2VRFP-B3NqmIxs.cjs +4 -0
  72. package/dist/dagre-BfAHSwtP.js +1472 -0
  73. package/dist/dagre-Buvkww-e.cjs +1 -0
  74. package/dist/defaultLocale-B5dSAwiC.js +201 -0
  75. package/dist/defaultLocale-G0HsdRIB.cjs +1 -0
  76. package/dist/diagram-PSM6KHXK-C4FjxUHt.cjs +24 -0
  77. package/dist/diagram-PSM6KHXK-CF8TkgzX.js +527 -0
  78. package/dist/diagram-QEK2KX5R-Dl3IHeA5.js +213 -0
  79. package/dist/diagram-QEK2KX5R-Z9DYjr44.cjs +43 -0
  80. package/dist/diagram-S2PKOQOG-Bib-zL2S.cjs +24 -0
  81. package/dist/diagram-S2PKOQOG-ZKvn7IEe.js +133 -0
  82. package/dist/dist-DC-lM4uX.cjs +1 -0
  83. package/dist/dist-zNcLEPGR.js +51 -0
  84. package/dist/erDiagram-Q2GNP2WA-DFMV9OUT.cjs +60 -0
  85. package/dist/erDiagram-Q2GNP2WA-DJYJEzEB.js +1600 -0
  86. package/dist/flowDiagram-NV44I4VS-7TxeawHS.cjs +162 -0
  87. package/dist/flowDiagram-NV44I4VS-CXa6ycqs.js +4128 -0
  88. package/dist/ganttDiagram-LVOFAZNH-DqT7pu4m.js +2869 -0
  89. package/dist/ganttDiagram-LVOFAZNH-iiExGpwF.cjs +267 -0
  90. package/dist/gitGraph-ZV4HHKMB-BjaEVcYh.cjs +1 -0
  91. package/dist/gitGraph-ZV4HHKMB-Cl2I6-l3.js +2 -0
  92. package/dist/gitGraphDiagram-NY62KEGX-Tphu_MeC.js +621 -0
  93. package/dist/gitGraphDiagram-NY62KEGX-k5xzXg7C.cjs +65 -0
  94. package/dist/graphlib-C3tPLMbC.js +225 -0
  95. package/dist/graphlib-Cdg0u3TT.cjs +1 -0
  96. package/dist/info-63CPKGFF-D2A5GDFo.js +2 -0
  97. package/dist/info-63CPKGFF-MRaucWlf.cjs +1 -0
  98. package/dist/infoDiagram-F6ZHWCRC-3Jwo4J0f.cjs +2 -0
  99. package/dist/infoDiagram-F6ZHWCRC-BUoruN76.js +19 -0
  100. package/dist/init-07zIhv_j.cjs +1 -0
  101. package/dist/init-Bwwdo3M6.js +15 -0
  102. package/dist/journeyDiagram-XKPGCS4Q-C_3oD9RV.cjs +139 -0
  103. package/dist/journeyDiagram-XKPGCS4Q-DB7INfrf.js +883 -0
  104. package/dist/kanban-definition-3W4ZIXB7-AVLIBuMF.js +968 -0
  105. package/dist/kanban-definition-3W4ZIXB7-txUXjKzB.cjs +89 -0
  106. package/dist/katex-6UpFeIdV.cjs +261 -0
  107. package/dist/katex-BHcJffnM.js +22112 -0
  108. package/dist/line-DYhVGH2B.js +34 -0
  109. package/dist/line-DdNAPGaw.cjs +1 -0
  110. package/dist/linear-n4_iirEu.js +289 -0
  111. package/dist/linear-rQLpRrSH.cjs +1 -0
  112. package/dist/loadCss-D6257oR0.js +8 -0
  113. package/dist/loadCss-DhrQh6-A.cjs +1 -0
  114. package/dist/markdown-it-Cz3KGZjR.cjs +2 -0
  115. package/dist/markdown-it-D-hH4G7k.js +173 -0
  116. package/dist/math-G8rF7UWn.cjs +1 -0
  117. package/dist/math-H49DsxYR.js +10 -0
  118. package/dist/mermaid-parser.core-B84fnaGG.js +11904 -0
  119. package/dist/mermaid-parser.core-C9EbhVVg.cjs +82 -0
  120. package/dist/mindmap-definition-VGOIOE7T-CXlyYsc6.cjs +68 -0
  121. package/dist/mindmap-definition-VGOIOE7T-VIt9sDN3.js +963 -0
  122. package/dist/mio-previewer.cjs.js +11 -21
  123. package/dist/mio-previewer.css +2 -9
  124. package/dist/mio-previewer.esm.js +4939 -0
  125. package/dist/ordinal-C55HfHHp.js +65 -0
  126. package/dist/ordinal-CUPR-p0T.cjs +1 -0
  127. package/dist/packet-HUATNLJX-CGNko_oS.cjs +1 -0
  128. package/dist/packet-HUATNLJX-CVx40lqO.js +2 -0
  129. package/dist/path-DNvJyUE8.js +85 -0
  130. package/dist/path-Kklx0M1v.cjs +1 -0
  131. package/dist/pie-WTHONI2E-BdPx0Cfg.cjs +1 -0
  132. package/dist/pie-WTHONI2E-DX5V8x0L.js +2 -0
  133. package/dist/pieDiagram-ADFJNKIX-BysReYfx.js +165 -0
  134. package/dist/pieDiagram-ADFJNKIX-CTT1YMsk.cjs +30 -0
  135. package/dist/plugins/custom.cjs.js +1 -1
  136. package/dist/plugins/custom.esm.js +2 -0
  137. package/dist/plugins/markdown-it.cjs.js +1 -3
  138. package/dist/plugins/markdown-it.esm.js +2 -0
  139. package/dist/quadrantDiagram-AYHSOK5B-8-V3cwsC.cjs +7 -0
  140. package/dist/quadrantDiagram-AYHSOK5B-DRutDK03.js +1974 -0
  141. package/dist/radar-NJJJXTRR-CTD6M8nl.js +2 -0
  142. package/dist/radar-NJJJXTRR-wJoTnQbj.cjs +1 -0
  143. package/dist/requirementDiagram-UZGBJVZJ-DFRpWnfW.cjs +64 -0
  144. package/dist/requirementDiagram-UZGBJVZJ-DNYoJyhG.js +2191 -0
  145. package/dist/sankeyDiagram-TZEHDZUN-B9fxDP0Q.cjs +10 -0
  146. package/dist/sankeyDiagram-TZEHDZUN-DD6bkI4Z.js +920 -0
  147. package/dist/sequenceDiagram-WL72ISMW-Bmptok1c.js +3562 -0
  148. package/dist/sequenceDiagram-WL72ISMW-D9sXtgAn.cjs +145 -0
  149. package/dist/src-BMjps4Ui.cjs +1 -0
  150. package/dist/src-BuisGndr.js +2149 -0
  151. package/dist/stateDiagram-FKZM4ZOC-Bmiw8fnW.js +217 -0
  152. package/dist/stateDiagram-FKZM4ZOC-DiD1WJPM.cjs +1 -0
  153. package/dist/stateDiagram-v2-4FDKWEC3-5ADhn1IF.js +27 -0
  154. package/dist/stateDiagram-v2-4FDKWEC3-BjhmCPL1.cjs +1 -0
  155. package/dist/timeline-definition-IT6M3QCI-C9VMls3W.js +830 -0
  156. package/dist/timeline-definition-IT6M3QCI-ZzbHXhNl.cjs +61 -0
  157. package/dist/treemap-75Q7IDZK-9TPMYr3R.cjs +1 -0
  158. package/dist/treemap-75Q7IDZK-u3p-cHDL.js +2 -0
  159. package/dist/types/plugins/custom/codeBlockPlugin.d.ts +8 -0
  160. package/dist/types/plugins/custom/mermaidPlugin.d.ts +4 -0
  161. package/dist/xychartDiagram-PRI3JC2R-BI6KuGZ2.cjs +7 -0
  162. package/dist/xychartDiagram-PRI3JC2R-BWabDL1u.js +2041 -0
  163. package/package.json +2 -2
  164. package/dist/_basePickBy-Be3yyf2d.js +0 -151
  165. package/dist/_basePickBy-Z0DtrAKQ.cjs +0 -1
  166. package/dist/_baseUniq-BXkA0Pgx.js +0 -614
  167. package/dist/_baseUniq-Dq2eV1vY.cjs +0 -1
  168. package/dist/arc-B-QGG8RZ.cjs +0 -1
  169. package/dist/arc-djW14lrn.js +0 -83
  170. package/dist/architecture-O4VJ6CD3-Cws_zM2K.cjs +0 -1
  171. package/dist/architecture-O4VJ6CD3-pdMXTCaT.js +0 -5
  172. package/dist/architectureDiagram-VXUJARFQ-BwchhvqL.js +0 -4661
  173. package/dist/architectureDiagram-VXUJARFQ-DxDLWGpO.cjs +0 -36
  174. package/dist/assets/parser.worker-67NQKZt5.js +0 -16
  175. package/dist/blockDiagram-VD42YOAC-B4Xc8gfX.cjs +0 -122
  176. package/dist/blockDiagram-VD42YOAC-DpPneP6J.js +0 -2261
  177. package/dist/c4Diagram-YG6GDRKO-695lQbrZ.cjs +0 -10
  178. package/dist/c4Diagram-YG6GDRKO-Cnlax2Xq.js +0 -1580
  179. package/dist/channel-D_ITz6Jy.cjs +0 -1
  180. package/dist/channel-sXy9EduO.js +0 -5
  181. package/dist/chunk-4BX2VUAB-Bdx3_f83.cjs +0 -1
  182. package/dist/chunk-4BX2VUAB-DRkGmgAZ.js +0 -8
  183. package/dist/chunk-55IACEB6-BB03hpRC.cjs +0 -1
  184. package/dist/chunk-55IACEB6-Ord5OQlh.js +0 -8
  185. package/dist/chunk-B4BG7PRW-Ca0fOgzA.cjs +0 -165
  186. package/dist/chunk-B4BG7PRW-D-cs8bDX.js +0 -1375
  187. package/dist/chunk-DI55MBZ5-BsRe2B2M.cjs +0 -220
  188. package/dist/chunk-DI55MBZ5-DSmlLD1s.js +0 -1370
  189. package/dist/chunk-FMBD7UC4-IYQmAMTo.js +0 -19
  190. package/dist/chunk-QN33PNHL-B7G6Qlf3.cjs +0 -1
  191. package/dist/chunk-QN33PNHL-EYMc4JVr.js +0 -19
  192. package/dist/chunk-QZHKN3VN-B8NJ6Ahx.cjs +0 -1
  193. package/dist/chunk-QZHKN3VN-C4WIG5z8.js +0 -15
  194. package/dist/chunk-TZMSLE5B-BoM53RHv.js +0 -64
  195. package/dist/chunk-TZMSLE5B-CgLDb48A.cjs +0 -1
  196. package/dist/classDiagram-2ON5EDUG-CxmdZvqc.js +0 -16
  197. package/dist/classDiagram-2ON5EDUG-DIRim8qa.cjs +0 -1
  198. package/dist/classDiagram-v2-WZHVMYZB-CxmdZvqc.js +0 -16
  199. package/dist/classDiagram-v2-WZHVMYZB-DIRim8qa.cjs +0 -1
  200. package/dist/clone-DOYxaT_d.js +0 -8
  201. package/dist/clone-DSlm33NG.cjs +0 -1
  202. package/dist/cose-bilkent-S5V4N54A-BD3p1OC_.cjs +0 -1
  203. package/dist/cose-bilkent-S5V4N54A-yLoaqH3G.js +0 -2608
  204. package/dist/cytoscape.esm-DHF7mANN.cjs +0 -331
  205. package/dist/cytoscape.esm-DfdJODL8.js +0 -18735
  206. package/dist/dagre-6UL2VRFP-DG1oQ4B2.cjs +0 -4
  207. package/dist/dagre-6UL2VRFP-VjboDBbp.js +0 -444
  208. package/dist/defaultLocale-D7EN2tov.js +0 -171
  209. package/dist/defaultLocale-DIVzfLaQ.cjs +0 -1
  210. package/dist/diagram-PSM6KHXK-C1p0l5TY.js +0 -531
  211. package/dist/diagram-PSM6KHXK-a4rni6rJ.cjs +0 -24
  212. package/dist/diagram-QEK2KX5R-CErKOsX1.cjs +0 -43
  213. package/dist/diagram-QEK2KX5R-CKmmuumX.js +0 -217
  214. package/dist/diagram-S2PKOQOG-B1M7qCNl.cjs +0 -24
  215. package/dist/diagram-S2PKOQOG-BMLCJExF.js +0 -142
  216. package/dist/erDiagram-Q2GNP2WA-BfuCa_Za.cjs +0 -60
  217. package/dist/erDiagram-Q2GNP2WA-fOTsQA-d.js +0 -841
  218. package/dist/flowDiagram-NV44I4VS-BEqeUuqz.cjs +0 -162
  219. package/dist/flowDiagram-NV44I4VS-DDwRAjVG.js +0 -1620
  220. package/dist/ganttDiagram-LVOFAZNH-BbuRS8g3.js +0 -2505
  221. package/dist/ganttDiagram-LVOFAZNH-BlVeWKRf.cjs +0 -267
  222. package/dist/gitGraph-ZV4HHKMB-Bmu8r_Iq.cjs +0 -1
  223. package/dist/gitGraph-ZV4HHKMB-DcQ2E4dF.js +0 -5
  224. package/dist/gitGraphDiagram-NY62KEGX-DcMEeNh7.cjs +0 -65
  225. package/dist/gitGraphDiagram-NY62KEGX-_sWVSKbL.js +0 -699
  226. package/dist/graph-DEnt0OtZ.js +0 -247
  227. package/dist/graph-Dgcjs2XL.cjs +0 -1
  228. package/dist/info-63CPKGFF-DVDDcoHy.js +0 -5
  229. package/dist/info-63CPKGFF-Dc3cWL0G.cjs +0 -1
  230. package/dist/infoDiagram-F6ZHWCRC-DoUSS0kC.js +0 -24
  231. package/dist/infoDiagram-F6ZHWCRC-ZeTrjgaE.cjs +0 -2
  232. package/dist/init-CHZsXQcr.cjs +0 -1
  233. package/dist/init-DjUOC4st.js +0 -16
  234. package/dist/journeyDiagram-XKPGCS4Q-DGe13iBu.js +0 -834
  235. package/dist/journeyDiagram-XKPGCS4Q-Ihl9g4mY.cjs +0 -139
  236. package/dist/kanban-definition-3W4ZIXB7-2qkrkVLK.cjs +0 -89
  237. package/dist/kanban-definition-3W4ZIXB7-BhWe5nMU.js +0 -719
  238. package/dist/katex-CmGeg_OO.js +0 -11692
  239. package/dist/katex-DEiiRhcn.cjs +0 -261
  240. package/dist/layout-BDNzBIaA.cjs +0 -1
  241. package/dist/layout-DTBfbHzy.js +0 -1324
  242. package/dist/linear-BRl2UYUr.cjs +0 -1
  243. package/dist/linear-CwbXkgvF.js +0 -259
  244. package/dist/loadCss-BbD6mdv-.cjs +0 -1
  245. package/dist/loadCss-DS0Fuaxe.js +0 -8
  246. package/dist/mermaid-parser.core-CJ1yJm0s.js +0 -12966
  247. package/dist/mermaid-parser.core-CxTcWSA2.cjs +0 -128
  248. package/dist/mindmap-definition-VGOIOE7T-BPUEmP7g.cjs +0 -68
  249. package/dist/mindmap-definition-VGOIOE7T-DSqZBgzR.js +0 -784
  250. package/dist/mio-previewer.es.js +0 -6171
  251. package/dist/ordinal-CagbB1m8.cjs +0 -1
  252. package/dist/ordinal-DfAQgscy.js +0 -61
  253. package/dist/packet-HUATNLJX-B-qfkr5X.cjs +0 -1
  254. package/dist/packet-HUATNLJX-Dxob_meO.js +0 -5
  255. package/dist/pie-WTHONI2E-BRtdTGWt.js +0 -5
  256. package/dist/pie-WTHONI2E-DK7f6qJw.cjs +0 -1
  257. package/dist/pieDiagram-ADFJNKIX-Dhq_bEzm.js +0 -161
  258. package/dist/pieDiagram-ADFJNKIX-V04ms3gr.cjs +0 -30
  259. package/dist/plugins/custom.es.js +0 -85
  260. package/dist/plugins/markdown-it.es.js +0 -173
  261. package/dist/quadrantDiagram-AYHSOK5B-C97bOmUE.js +0 -1022
  262. package/dist/quadrantDiagram-AYHSOK5B-DlqFPVhi.cjs +0 -7
  263. package/dist/radar-NJJJXTRR-B9jT3LP3.cjs +0 -1
  264. package/dist/radar-NJJJXTRR-D8plmle3.js +0 -5
  265. package/dist/requirementDiagram-UZGBJVZJ-BxVMLKfQ.js +0 -850
  266. package/dist/requirementDiagram-UZGBJVZJ-DENJ74Ew.cjs +0 -64
  267. package/dist/sankeyDiagram-TZEHDZUN-DwgW7Suq.js +0 -810
  268. package/dist/sankeyDiagram-TZEHDZUN-lTBLhaSq.cjs +0 -10
  269. package/dist/sequenceDiagram-WL72ISMW-BAOeX1dA.js +0 -2511
  270. package/dist/sequenceDiagram-WL72ISMW-BRVvH1X4.cjs +0 -145
  271. package/dist/stateDiagram-FKZM4ZOC-BrFQE7Gl.js +0 -263
  272. package/dist/stateDiagram-FKZM4ZOC-D8GjooGL.cjs +0 -1
  273. package/dist/stateDiagram-v2-4FDKWEC3-4VRIY-eH.cjs +0 -1
  274. package/dist/stateDiagram-v2-4FDKWEC3-DnrWD6a3.js +0 -16
  275. package/dist/timeline-definition-IT6M3QCI-BJMIlueb.js +0 -795
  276. package/dist/timeline-definition-IT6M3QCI-BQFGUuGP.cjs +0 -61
  277. package/dist/treemap-75Q7IDZK-BX1vBFWf.cjs +0 -1
  278. package/dist/treemap-75Q7IDZK-CMTkunTV.js +0 -5
  279. package/dist/viewer-CZUSHxhf.js +0 -19131
  280. package/dist/viewer-Canph5Zx.cjs +0 -305
  281. package/dist/xychartDiagram-PRI3JC2R-Sl8WX8wc.cjs +0 -7
  282. package/dist/xychartDiagram-PRI3JC2R-WnFI7Ezu.js +0 -1340
@@ -0,0 +1,1119 @@
1
+ import { g as e, h as t, p as n } from "./src-BuisGndr.js";
2
+ import { F as r, f as i, m as a, r as o, s } from "./chunk-ABZYJK2D-DDrmE3Q7.js";
3
+ import "./math-H49DsxYR.js";
4
+ import { t as c } from "./dist-zNcLEPGR.js";
5
+ import { C as l, D as u, F as d, H as f, M as p, N as m, O as ee, P as h, R as g, S as _, T as te, U as ne, V as re, _ as ie, b as v, c as y, d as ae, g as oe, j as se, p as ce, t as le, x as ue } from "./_createAssigner-IEX8lwxm.js";
6
+ //#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linear.js
7
+ function de(e) {
8
+ this._context = e;
9
+ }
10
+ de.prototype = {
11
+ areaStart: function() {
12
+ this._line = 0;
13
+ },
14
+ areaEnd: function() {
15
+ this._line = NaN;
16
+ },
17
+ lineStart: function() {
18
+ this._point = 0;
19
+ },
20
+ lineEnd: function() {
21
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
22
+ },
23
+ point: function(e, t) {
24
+ switch (e = +e, t = +t, this._point) {
25
+ case 0:
26
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
27
+ break;
28
+ case 1: this._point = 2;
29
+ default:
30
+ this._context.lineTo(e, t);
31
+ break;
32
+ }
33
+ }
34
+ };
35
+ function fe(e) {
36
+ return new de(e);
37
+ }
38
+ //#endregion
39
+ //#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/bump.js
40
+ var pe = class {
41
+ constructor(e, t) {
42
+ this._context = e, this._x = t;
43
+ }
44
+ areaStart() {
45
+ this._line = 0;
46
+ }
47
+ areaEnd() {
48
+ this._line = NaN;
49
+ }
50
+ lineStart() {
51
+ this._point = 0;
52
+ }
53
+ lineEnd() {
54
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
55
+ }
56
+ point(e, t) {
57
+ switch (e = +e, t = +t, this._point) {
58
+ case 0:
59
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
60
+ break;
61
+ case 1: this._point = 2;
62
+ default:
63
+ this._x ? this._context.bezierCurveTo(this._x0 = (this._x0 + e) / 2, this._y0, this._x0, t, e, t) : this._context.bezierCurveTo(this._x0, this._y0 = (this._y0 + t) / 2, e, this._y0, e, t);
64
+ break;
65
+ }
66
+ this._x0 = e, this._y0 = t;
67
+ }
68
+ };
69
+ function me(e) {
70
+ return new pe(e, !0);
71
+ }
72
+ function he(e) {
73
+ return new pe(e, !1);
74
+ }
75
+ //#endregion
76
+ //#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/noop.js
77
+ function b() {}
78
+ //#endregion
79
+ //#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basis.js
80
+ function x(e, t, n) {
81
+ e._context.bezierCurveTo((2 * e._x0 + e._x1) / 3, (2 * e._y0 + e._y1) / 3, (e._x0 + 2 * e._x1) / 3, (e._y0 + 2 * e._y1) / 3, (e._x0 + 4 * e._x1 + t) / 6, (e._y0 + 4 * e._y1 + n) / 6);
82
+ }
83
+ function S(e) {
84
+ this._context = e;
85
+ }
86
+ S.prototype = {
87
+ areaStart: function() {
88
+ this._line = 0;
89
+ },
90
+ areaEnd: function() {
91
+ this._line = NaN;
92
+ },
93
+ lineStart: function() {
94
+ this._x0 = this._x1 = this._y0 = this._y1 = NaN, this._point = 0;
95
+ },
96
+ lineEnd: function() {
97
+ switch (this._point) {
98
+ case 3: x(this, this._x1, this._y1);
99
+ case 2:
100
+ this._context.lineTo(this._x1, this._y1);
101
+ break;
102
+ }
103
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
104
+ },
105
+ point: function(e, t) {
106
+ switch (e = +e, t = +t, this._point) {
107
+ case 0:
108
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
109
+ break;
110
+ case 1:
111
+ this._point = 2;
112
+ break;
113
+ case 2: this._point = 3, this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);
114
+ default:
115
+ x(this, e, t);
116
+ break;
117
+ }
118
+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
119
+ }
120
+ };
121
+ function ge(e) {
122
+ return new S(e);
123
+ }
124
+ //#endregion
125
+ //#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basisClosed.js
126
+ function _e(e) {
127
+ this._context = e;
128
+ }
129
+ _e.prototype = {
130
+ areaStart: b,
131
+ areaEnd: b,
132
+ lineStart: function() {
133
+ this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN, this._point = 0;
134
+ },
135
+ lineEnd: function() {
136
+ switch (this._point) {
137
+ case 1:
138
+ this._context.moveTo(this._x2, this._y2), this._context.closePath();
139
+ break;
140
+ case 2:
141
+ this._context.moveTo((this._x2 + 2 * this._x3) / 3, (this._y2 + 2 * this._y3) / 3), this._context.lineTo((this._x3 + 2 * this._x2) / 3, (this._y3 + 2 * this._y2) / 3), this._context.closePath();
142
+ break;
143
+ case 3:
144
+ this.point(this._x2, this._y2), this.point(this._x3, this._y3), this.point(this._x4, this._y4);
145
+ break;
146
+ }
147
+ },
148
+ point: function(e, t) {
149
+ switch (e = +e, t = +t, this._point) {
150
+ case 0:
151
+ this._point = 1, this._x2 = e, this._y2 = t;
152
+ break;
153
+ case 1:
154
+ this._point = 2, this._x3 = e, this._y3 = t;
155
+ break;
156
+ case 2:
157
+ this._point = 3, this._x4 = e, this._y4 = t, this._context.moveTo((this._x0 + 4 * this._x1 + e) / 6, (this._y0 + 4 * this._y1 + t) / 6);
158
+ break;
159
+ default:
160
+ x(this, e, t);
161
+ break;
162
+ }
163
+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
164
+ }
165
+ };
166
+ function ve(e) {
167
+ return new _e(e);
168
+ }
169
+ //#endregion
170
+ //#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basisOpen.js
171
+ function ye(e) {
172
+ this._context = e;
173
+ }
174
+ ye.prototype = {
175
+ areaStart: function() {
176
+ this._line = 0;
177
+ },
178
+ areaEnd: function() {
179
+ this._line = NaN;
180
+ },
181
+ lineStart: function() {
182
+ this._x0 = this._x1 = this._y0 = this._y1 = NaN, this._point = 0;
183
+ },
184
+ lineEnd: function() {
185
+ (this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;
186
+ },
187
+ point: function(e, t) {
188
+ switch (e = +e, t = +t, this._point) {
189
+ case 0:
190
+ this._point = 1;
191
+ break;
192
+ case 1:
193
+ this._point = 2;
194
+ break;
195
+ case 2:
196
+ this._point = 3;
197
+ var n = (this._x0 + 4 * this._x1 + e) / 6, r = (this._y0 + 4 * this._y1 + t) / 6;
198
+ this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);
199
+ break;
200
+ case 3: this._point = 4;
201
+ default:
202
+ x(this, e, t);
203
+ break;
204
+ }
205
+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
206
+ }
207
+ };
208
+ function be(e) {
209
+ return new ye(e);
210
+ }
211
+ //#endregion
212
+ //#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/bundle.js
213
+ function C(e, t) {
214
+ this._basis = new S(e), this._beta = t;
215
+ }
216
+ C.prototype = {
217
+ lineStart: function() {
218
+ this._x = [], this._y = [], this._basis.lineStart();
219
+ },
220
+ lineEnd: function() {
221
+ var e = this._x, t = this._y, n = e.length - 1;
222
+ if (n > 0) for (var r = e[0], i = t[0], a = e[n] - r, o = t[n] - i, s = -1, c; ++s <= n;) c = s / n, this._basis.point(this._beta * e[s] + (1 - this._beta) * (r + c * a), this._beta * t[s] + (1 - this._beta) * (i + c * o));
223
+ this._x = this._y = null, this._basis.lineEnd();
224
+ },
225
+ point: function(e, t) {
226
+ this._x.push(+e), this._y.push(+t);
227
+ }
228
+ };
229
+ var xe = (function e(t) {
230
+ function n(e) {
231
+ return t === 1 ? new S(e) : new C(e, t);
232
+ }
233
+ return n.beta = function(t) {
234
+ return e(+t);
235
+ }, n;
236
+ })(.85);
237
+ //#endregion
238
+ //#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinal.js
239
+ function w(e, t, n) {
240
+ e._context.bezierCurveTo(e._x1 + e._k * (e._x2 - e._x0), e._y1 + e._k * (e._y2 - e._y0), e._x2 + e._k * (e._x1 - t), e._y2 + e._k * (e._y1 - n), e._x2, e._y2);
241
+ }
242
+ function T(e, t) {
243
+ this._context = e, this._k = (1 - t) / 6;
244
+ }
245
+ T.prototype = {
246
+ areaStart: function() {
247
+ this._line = 0;
248
+ },
249
+ areaEnd: function() {
250
+ this._line = NaN;
251
+ },
252
+ lineStart: function() {
253
+ this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._point = 0;
254
+ },
255
+ lineEnd: function() {
256
+ switch (this._point) {
257
+ case 2:
258
+ this._context.lineTo(this._x2, this._y2);
259
+ break;
260
+ case 3:
261
+ w(this, this._x1, this._y1);
262
+ break;
263
+ }
264
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
265
+ },
266
+ point: function(e, t) {
267
+ switch (e = +e, t = +t, this._point) {
268
+ case 0:
269
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
270
+ break;
271
+ case 1:
272
+ this._point = 2, this._x1 = e, this._y1 = t;
273
+ break;
274
+ case 2: this._point = 3;
275
+ default:
276
+ w(this, e, t);
277
+ break;
278
+ }
279
+ this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
280
+ }
281
+ };
282
+ var E = (function e(t) {
283
+ function n(e) {
284
+ return new T(e, t);
285
+ }
286
+ return n.tension = function(t) {
287
+ return e(+t);
288
+ }, n;
289
+ })(0);
290
+ //#endregion
291
+ //#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinalClosed.js
292
+ function D(e, t) {
293
+ this._context = e, this._k = (1 - t) / 6;
294
+ }
295
+ D.prototype = {
296
+ areaStart: b,
297
+ areaEnd: b,
298
+ lineStart: function() {
299
+ this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN, this._point = 0;
300
+ },
301
+ lineEnd: function() {
302
+ switch (this._point) {
303
+ case 1:
304
+ this._context.moveTo(this._x3, this._y3), this._context.closePath();
305
+ break;
306
+ case 2:
307
+ this._context.lineTo(this._x3, this._y3), this._context.closePath();
308
+ break;
309
+ case 3:
310
+ this.point(this._x3, this._y3), this.point(this._x4, this._y4), this.point(this._x5, this._y5);
311
+ break;
312
+ }
313
+ },
314
+ point: function(e, t) {
315
+ switch (e = +e, t = +t, this._point) {
316
+ case 0:
317
+ this._point = 1, this._x3 = e, this._y3 = t;
318
+ break;
319
+ case 1:
320
+ this._point = 2, this._context.moveTo(this._x4 = e, this._y4 = t);
321
+ break;
322
+ case 2:
323
+ this._point = 3, this._x5 = e, this._y5 = t;
324
+ break;
325
+ default:
326
+ w(this, e, t);
327
+ break;
328
+ }
329
+ this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
330
+ }
331
+ };
332
+ var Se = (function e(t) {
333
+ function n(e) {
334
+ return new D(e, t);
335
+ }
336
+ return n.tension = function(t) {
337
+ return e(+t);
338
+ }, n;
339
+ })(0);
340
+ //#endregion
341
+ //#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinalOpen.js
342
+ function O(e, t) {
343
+ this._context = e, this._k = (1 - t) / 6;
344
+ }
345
+ O.prototype = {
346
+ areaStart: function() {
347
+ this._line = 0;
348
+ },
349
+ areaEnd: function() {
350
+ this._line = NaN;
351
+ },
352
+ lineStart: function() {
353
+ this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._point = 0;
354
+ },
355
+ lineEnd: function() {
356
+ (this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;
357
+ },
358
+ point: function(e, t) {
359
+ switch (e = +e, t = +t, this._point) {
360
+ case 0:
361
+ this._point = 1;
362
+ break;
363
+ case 1:
364
+ this._point = 2;
365
+ break;
366
+ case 2:
367
+ this._point = 3, this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);
368
+ break;
369
+ case 3: this._point = 4;
370
+ default:
371
+ w(this, e, t);
372
+ break;
373
+ }
374
+ this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
375
+ }
376
+ };
377
+ var Ce = (function e(t) {
378
+ function n(e) {
379
+ return new O(e, t);
380
+ }
381
+ return n.tension = function(t) {
382
+ return e(+t);
383
+ }, n;
384
+ })(0);
385
+ //#endregion
386
+ //#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRom.js
387
+ function k(e, t, n) {
388
+ var r = e._x1, i = e._y1, a = e._x2, o = e._y2;
389
+ if (e._l01_a > 1e-12) {
390
+ var s = 2 * e._l01_2a + 3 * e._l01_a * e._l12_a + e._l12_2a, c = 3 * e._l01_a * (e._l01_a + e._l12_a);
391
+ r = (r * s - e._x0 * e._l12_2a + e._x2 * e._l01_2a) / c, i = (i * s - e._y0 * e._l12_2a + e._y2 * e._l01_2a) / c;
392
+ }
393
+ if (e._l23_a > 1e-12) {
394
+ var l = 2 * e._l23_2a + 3 * e._l23_a * e._l12_a + e._l12_2a, u = 3 * e._l23_a * (e._l23_a + e._l12_a);
395
+ a = (a * l + e._x1 * e._l23_2a - t * e._l12_2a) / u, o = (o * l + e._y1 * e._l23_2a - n * e._l12_2a) / u;
396
+ }
397
+ e._context.bezierCurveTo(r, i, a, o, e._x2, e._y2);
398
+ }
399
+ function A(e, t) {
400
+ this._context = e, this._alpha = t;
401
+ }
402
+ A.prototype = {
403
+ areaStart: function() {
404
+ this._line = 0;
405
+ },
406
+ areaEnd: function() {
407
+ this._line = NaN;
408
+ },
409
+ lineStart: function() {
410
+ this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0;
411
+ },
412
+ lineEnd: function() {
413
+ switch (this._point) {
414
+ case 2:
415
+ this._context.lineTo(this._x2, this._y2);
416
+ break;
417
+ case 3:
418
+ this.point(this._x2, this._y2);
419
+ break;
420
+ }
421
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
422
+ },
423
+ point: function(e, t) {
424
+ if (e = +e, t = +t, this._point) {
425
+ var n = this._x2 - e, r = this._y2 - t;
426
+ this._l23_a = Math.sqrt(this._l23_2a = (n * n + r * r) ** +this._alpha);
427
+ }
428
+ switch (this._point) {
429
+ case 0:
430
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
431
+ break;
432
+ case 1:
433
+ this._point = 2;
434
+ break;
435
+ case 2: this._point = 3;
436
+ default:
437
+ k(this, e, t);
438
+ break;
439
+ }
440
+ this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
441
+ }
442
+ };
443
+ var j = (function e(t) {
444
+ function n(e) {
445
+ return t ? new A(e, t) : new T(e, 0);
446
+ }
447
+ return n.alpha = function(t) {
448
+ return e(+t);
449
+ }, n;
450
+ })(.5);
451
+ //#endregion
452
+ //#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRomClosed.js
453
+ function M(e, t) {
454
+ this._context = e, this._alpha = t;
455
+ }
456
+ M.prototype = {
457
+ areaStart: b,
458
+ areaEnd: b,
459
+ lineStart: function() {
460
+ this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN, this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0;
461
+ },
462
+ lineEnd: function() {
463
+ switch (this._point) {
464
+ case 1:
465
+ this._context.moveTo(this._x3, this._y3), this._context.closePath();
466
+ break;
467
+ case 2:
468
+ this._context.lineTo(this._x3, this._y3), this._context.closePath();
469
+ break;
470
+ case 3:
471
+ this.point(this._x3, this._y3), this.point(this._x4, this._y4), this.point(this._x5, this._y5);
472
+ break;
473
+ }
474
+ },
475
+ point: function(e, t) {
476
+ if (e = +e, t = +t, this._point) {
477
+ var n = this._x2 - e, r = this._y2 - t;
478
+ this._l23_a = Math.sqrt(this._l23_2a = (n * n + r * r) ** +this._alpha);
479
+ }
480
+ switch (this._point) {
481
+ case 0:
482
+ this._point = 1, this._x3 = e, this._y3 = t;
483
+ break;
484
+ case 1:
485
+ this._point = 2, this._context.moveTo(this._x4 = e, this._y4 = t);
486
+ break;
487
+ case 2:
488
+ this._point = 3, this._x5 = e, this._y5 = t;
489
+ break;
490
+ default:
491
+ k(this, e, t);
492
+ break;
493
+ }
494
+ this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
495
+ }
496
+ };
497
+ var we = (function e(t) {
498
+ function n(e) {
499
+ return t ? new M(e, t) : new D(e, 0);
500
+ }
501
+ return n.alpha = function(t) {
502
+ return e(+t);
503
+ }, n;
504
+ })(.5);
505
+ //#endregion
506
+ //#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRomOpen.js
507
+ function N(e, t) {
508
+ this._context = e, this._alpha = t;
509
+ }
510
+ N.prototype = {
511
+ areaStart: function() {
512
+ this._line = 0;
513
+ },
514
+ areaEnd: function() {
515
+ this._line = NaN;
516
+ },
517
+ lineStart: function() {
518
+ this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0;
519
+ },
520
+ lineEnd: function() {
521
+ (this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;
522
+ },
523
+ point: function(e, t) {
524
+ if (e = +e, t = +t, this._point) {
525
+ var n = this._x2 - e, r = this._y2 - t;
526
+ this._l23_a = Math.sqrt(this._l23_2a = (n * n + r * r) ** +this._alpha);
527
+ }
528
+ switch (this._point) {
529
+ case 0:
530
+ this._point = 1;
531
+ break;
532
+ case 1:
533
+ this._point = 2;
534
+ break;
535
+ case 2:
536
+ this._point = 3, this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);
537
+ break;
538
+ case 3: this._point = 4;
539
+ default:
540
+ k(this, e, t);
541
+ break;
542
+ }
543
+ this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
544
+ }
545
+ };
546
+ var Te = (function e(t) {
547
+ function n(e) {
548
+ return t ? new N(e, t) : new O(e, 0);
549
+ }
550
+ return n.alpha = function(t) {
551
+ return e(+t);
552
+ }, n;
553
+ })(.5);
554
+ //#endregion
555
+ //#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linearClosed.js
556
+ function P(e) {
557
+ this._context = e;
558
+ }
559
+ P.prototype = {
560
+ areaStart: b,
561
+ areaEnd: b,
562
+ lineStart: function() {
563
+ this._point = 0;
564
+ },
565
+ lineEnd: function() {
566
+ this._point && this._context.closePath();
567
+ },
568
+ point: function(e, t) {
569
+ e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
570
+ }
571
+ };
572
+ function Ee(e) {
573
+ return new P(e);
574
+ }
575
+ //#endregion
576
+ //#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/monotone.js
577
+ function F(e) {
578
+ return e < 0 ? -1 : 1;
579
+ }
580
+ function I(e, t, n) {
581
+ var r = e._x1 - e._x0, i = t - e._x1, a = (e._y1 - e._y0) / (r || i < 0 && -0), o = (n - e._y1) / (i || r < 0 && -0), s = (a * i + o * r) / (r + i);
582
+ return (F(a) + F(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
583
+ }
584
+ function L(e, t) {
585
+ var n = e._x1 - e._x0;
586
+ return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;
587
+ }
588
+ function R(e, t, n) {
589
+ var r = e._x0, i = e._y0, a = e._x1, o = e._y1, s = (a - r) / 3;
590
+ e._context.bezierCurveTo(r + s, i + s * t, a - s, o - s * n, a, o);
591
+ }
592
+ function z(e) {
593
+ this._context = e;
594
+ }
595
+ z.prototype = {
596
+ areaStart: function() {
597
+ this._line = 0;
598
+ },
599
+ areaEnd: function() {
600
+ this._line = NaN;
601
+ },
602
+ lineStart: function() {
603
+ this._x0 = this._x1 = this._y0 = this._y1 = this._t0 = NaN, this._point = 0;
604
+ },
605
+ lineEnd: function() {
606
+ switch (this._point) {
607
+ case 2:
608
+ this._context.lineTo(this._x1, this._y1);
609
+ break;
610
+ case 3:
611
+ R(this, this._t0, L(this, this._t0));
612
+ break;
613
+ }
614
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
615
+ },
616
+ point: function(e, t) {
617
+ var n = NaN;
618
+ if (e = +e, t = +t, !(e === this._x1 && t === this._y1)) {
619
+ switch (this._point) {
620
+ case 0:
621
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
622
+ break;
623
+ case 1:
624
+ this._point = 2;
625
+ break;
626
+ case 2:
627
+ this._point = 3, R(this, L(this, n = I(this, e, t)), n);
628
+ break;
629
+ default:
630
+ R(this, this._t0, n = I(this, e, t));
631
+ break;
632
+ }
633
+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
634
+ }
635
+ }
636
+ };
637
+ function De(e) {
638
+ this._context = new Oe(e);
639
+ }
640
+ (De.prototype = Object.create(z.prototype)).point = function(e, t) {
641
+ z.prototype.point.call(this, t, e);
642
+ };
643
+ function Oe(e) {
644
+ this._context = e;
645
+ }
646
+ Oe.prototype = {
647
+ moveTo: function(e, t) {
648
+ this._context.moveTo(t, e);
649
+ },
650
+ closePath: function() {
651
+ this._context.closePath();
652
+ },
653
+ lineTo: function(e, t) {
654
+ this._context.lineTo(t, e);
655
+ },
656
+ bezierCurveTo: function(e, t, n, r, i, a) {
657
+ this._context.bezierCurveTo(t, e, r, n, a, i);
658
+ }
659
+ };
660
+ function ke(e) {
661
+ return new z(e);
662
+ }
663
+ function Ae(e) {
664
+ return new De(e);
665
+ }
666
+ //#endregion
667
+ //#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/natural.js
668
+ function je(e) {
669
+ this._context = e;
670
+ }
671
+ je.prototype = {
672
+ areaStart: function() {
673
+ this._line = 0;
674
+ },
675
+ areaEnd: function() {
676
+ this._line = NaN;
677
+ },
678
+ lineStart: function() {
679
+ this._x = [], this._y = [];
680
+ },
681
+ lineEnd: function() {
682
+ var e = this._x, t = this._y, n = e.length;
683
+ if (n) if (this._line ? this._context.lineTo(e[0], t[0]) : this._context.moveTo(e[0], t[0]), n === 2) this._context.lineTo(e[1], t[1]);
684
+ else for (var r = Me(e), i = Me(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
685
+ (this._line || this._line !== 0 && n === 1) && this._context.closePath(), this._line = 1 - this._line, this._x = this._y = null;
686
+ },
687
+ point: function(e, t) {
688
+ this._x.push(+e), this._y.push(+t);
689
+ }
690
+ };
691
+ function Me(e) {
692
+ var t, n = e.length - 1, r, i = Array(n), a = Array(n), o = Array(n);
693
+ for (i[0] = 0, a[0] = 2, o[0] = e[0] + 2 * e[1], t = 1; t < n - 1; ++t) i[t] = 1, a[t] = 4, o[t] = 4 * e[t] + 2 * e[t + 1];
694
+ for (i[n - 1] = 2, a[n - 1] = 7, o[n - 1] = 8 * e[n - 1] + e[n], t = 1; t < n; ++t) r = i[t] / a[t - 1], a[t] -= r, o[t] -= r * o[t - 1];
695
+ for (i[n - 1] = o[n - 1] / a[n - 1], t = n - 2; t >= 0; --t) i[t] = (o[t] - i[t + 1]) / a[t];
696
+ for (a[n - 1] = (e[n] + i[n - 1]) / 2, t = 0; t < n - 1; ++t) a[t] = 2 * e[t + 1] - i[t + 1];
697
+ return [i, a];
698
+ }
699
+ function Ne(e) {
700
+ return new je(e);
701
+ }
702
+ //#endregion
703
+ //#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/step.js
704
+ function B(e, t) {
705
+ this._context = e, this._t = t;
706
+ }
707
+ B.prototype = {
708
+ areaStart: function() {
709
+ this._line = 0;
710
+ },
711
+ areaEnd: function() {
712
+ this._line = NaN;
713
+ },
714
+ lineStart: function() {
715
+ this._x = this._y = NaN, this._point = 0;
716
+ },
717
+ lineEnd: function() {
718
+ 0 < this._t && this._t < 1 && this._point === 2 && this._context.lineTo(this._x, this._y), (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line >= 0 && (this._t = 1 - this._t, this._line = 1 - this._line);
719
+ },
720
+ point: function(e, t) {
721
+ switch (e = +e, t = +t, this._point) {
722
+ case 0:
723
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
724
+ break;
725
+ case 1: this._point = 2;
726
+ default:
727
+ if (this._t <= 0) this._context.lineTo(this._x, t), this._context.lineTo(e, t);
728
+ else {
729
+ var n = this._x * (1 - this._t) + e * this._t;
730
+ this._context.lineTo(n, this._y), this._context.lineTo(n, t);
731
+ }
732
+ break;
733
+ }
734
+ this._x = e, this._y = t;
735
+ }
736
+ };
737
+ function Pe(e) {
738
+ return new B(e, .5);
739
+ }
740
+ function Fe(e) {
741
+ return new B(e, 0);
742
+ }
743
+ function Ie(e) {
744
+ return new B(e, 1);
745
+ }
746
+ //#endregion
747
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignMergeValue.js
748
+ var Le = c();
749
+ function V(e, t, n) {
750
+ (n !== void 0 && !g(e[t], n) || n === void 0 && !(t in e)) && m(e, t, n);
751
+ }
752
+ //#endregion
753
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isPlainObject.js
754
+ var Re = "[object Object]", ze = Function.prototype, Be = Object.prototype, Ve = ze.toString, He = Be.hasOwnProperty, Ue = Ve.call(Object);
755
+ function We(e) {
756
+ if (!_(e) || ne(e) != Re) return !1;
757
+ var t = te(e);
758
+ if (t === null) return !0;
759
+ var n = He.call(t, "constructor") && t.constructor;
760
+ return typeof n == "function" && n instanceof n && Ve.call(n) == Ue;
761
+ }
762
+ //#endregion
763
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_safeGet.js
764
+ function H(e, t) {
765
+ if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__") return e[t];
766
+ }
767
+ //#endregion
768
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toPlainObject.js
769
+ function Ge(e) {
770
+ return ae(e, y(e));
771
+ }
772
+ //#endregion
773
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMergeDeep.js
774
+ function Ke(e, t, n, r, i, a, o) {
775
+ var s = H(e, n), c = H(t, n), d = o.get(c);
776
+ if (d) {
777
+ V(e, n, d);
778
+ return;
779
+ }
780
+ var p = a ? a(s, c, n + "", e, t, o) : void 0, m = p === void 0;
781
+ if (m) {
782
+ var h = v(c), g = !h && oe(c), _ = !h && !g && ce(c);
783
+ p = c, h || g || _ ? v(s) ? p = s : ie(s) ? p = u(s) : g ? (m = !1, p = se(c, !0)) : _ ? (m = !1, p = ee(c, !0)) : p = [] : We(c) || ue(c) ? (p = s, ue(s) ? p = Ge(s) : (!f(s) || re(s)) && (p = l(c))) : m = !1;
784
+ }
785
+ m && (o.set(c, p), i(p, c, r, a, o), o.delete(c)), V(e, n, p);
786
+ }
787
+ //#endregion
788
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMerge.js
789
+ function qe(e, t, n, r, i) {
790
+ e !== t && p(t, function(a, o) {
791
+ if (i ||= new h(), f(a)) Ke(e, t, o, n, qe, r, i);
792
+ else {
793
+ var s = r ? r(H(e, o), a, o + "", e, t, i) : void 0;
794
+ s === void 0 && (s = a), V(e, o, s);
795
+ }
796
+ }, y);
797
+ }
798
+ //#endregion
799
+ //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge.js
800
+ var Je = le(function(e, t, n) {
801
+ qe(e, t, n);
802
+ }), Ye = {
803
+ curveBasis: ge,
804
+ curveBasisClosed: ve,
805
+ curveBasisOpen: be,
806
+ curveBumpX: me,
807
+ curveBumpY: he,
808
+ curveBundle: xe,
809
+ curveCardinalClosed: Se,
810
+ curveCardinalOpen: Ce,
811
+ curveCardinal: E,
812
+ curveCatmullRomClosed: we,
813
+ curveCatmullRomOpen: Te,
814
+ curveCatmullRom: j,
815
+ curveLinear: fe,
816
+ curveLinearClosed: Ee,
817
+ curveMonotoneX: ke,
818
+ curveMonotoneY: Ae,
819
+ curveNatural: Ne,
820
+ curveStep: Pe,
821
+ curveStepAfter: Ie,
822
+ curveStepBefore: Fe
823
+ }, Xe = /\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, Ze = /* @__PURE__ */ t(function(e, t) {
824
+ let n = Qe(e, /(?:init\b)|(?:initialize\b)/), a = {};
825
+ if (Array.isArray(n)) {
826
+ let e = n.map((e) => e.args);
827
+ r(e), a = o(a, [...e]);
828
+ } else a = n.args;
829
+ if (!a) return;
830
+ let s = i(e, t), c = "config";
831
+ return a[c] !== void 0 && (s === "flowchart-v2" && (s = "flowchart"), a[s] = a[c], delete a[c]), a;
832
+ }, "detectInit"), Qe = /* @__PURE__ */ t(function(t, n = null) {
833
+ try {
834
+ let r = RegExp(`[%]{2}(?![{]${Xe.source})(?=[}][%]{2}).*
835
+ `, "ig");
836
+ t = t.trim().replace(r, "").replace(/'/gm, "\""), e.debug(`Detecting diagram directive${n === null ? "" : " type:" + n} based on the text:${t}`);
837
+ let i, o = [];
838
+ for (; (i = a.exec(t)) !== null;) if (i.index === a.lastIndex && a.lastIndex++, i && !n || n && i[1]?.match(n) || n && i[2]?.match(n)) {
839
+ let e = i[1] ? i[1] : i[2], t = i[3] ? i[3].trim() : i[4] ? JSON.parse(i[4].trim()) : null;
840
+ o.push({
841
+ type: e,
842
+ args: t
843
+ });
844
+ }
845
+ return o.length === 0 ? {
846
+ type: t,
847
+ args: null
848
+ } : o.length === 1 ? o[0] : o;
849
+ } catch (r) {
850
+ return e.error(`ERROR: ${r.message} - Unable to parse directive type: '${n}' based on the text: '${t}'`), {
851
+ type: void 0,
852
+ args: null
853
+ };
854
+ }
855
+ }, "detectDirective"), $e = /* @__PURE__ */ t(function(e) {
856
+ return e.replace(a, "");
857
+ }, "removeDirectives"), et = /* @__PURE__ */ t(function(e, t) {
858
+ for (let [n, r] of t.entries()) if (r.match(e)) return n;
859
+ return -1;
860
+ }, "isSubstringInArray");
861
+ function U(e, t) {
862
+ return e ? Ye[`curve${e.charAt(0).toUpperCase() + e.slice(1)}`] ?? t : t;
863
+ }
864
+ t(U, "interpolateToCurve");
865
+ function tt(e, t) {
866
+ let n = e.trim();
867
+ if (n) return t.securityLevel === "loose" ? n : (0, Le.sanitizeUrl)(n);
868
+ }
869
+ t(tt, "formatUrl");
870
+ var nt = /* @__PURE__ */ t((t, ...n) => {
871
+ let r = t.split("."), i = r.length - 1, a = r[i], o = window;
872
+ for (let n = 0; n < i; n++) if (o = o[r[n]], !o) {
873
+ e.error(`Function name: ${t} not found in window`);
874
+ return;
875
+ }
876
+ o[a](...n);
877
+ }, "runFunc");
878
+ function W(e, t) {
879
+ return !e || !t ? 0 : Math.sqrt((t.x - e.x) ** 2 + (t.y - e.y) ** 2);
880
+ }
881
+ t(W, "distance");
882
+ function rt(e) {
883
+ let t, n = 0;
884
+ return e.forEach((e) => {
885
+ n += W(e, t), t = e;
886
+ }), G(e, n / 2);
887
+ }
888
+ t(rt, "traverseEdge");
889
+ function it(e) {
890
+ return e.length === 1 ? e[0] : rt(e);
891
+ }
892
+ t(it, "calcLabelPosition");
893
+ var at = /* @__PURE__ */ t((e, t = 2) => {
894
+ let n = 10 ** t;
895
+ return Math.round(e * n) / n;
896
+ }, "roundNumber"), G = /* @__PURE__ */ t((e, t) => {
897
+ let n, r = t;
898
+ for (let t of e) {
899
+ if (n) {
900
+ let e = W(t, n);
901
+ if (e === 0) return n;
902
+ if (e < r) r -= e;
903
+ else {
904
+ let i = r / e;
905
+ if (i <= 0) return n;
906
+ if (i >= 1) return {
907
+ x: t.x,
908
+ y: t.y
909
+ };
910
+ if (i > 0 && i < 1) return {
911
+ x: at((1 - i) * n.x + i * t.x, 5),
912
+ y: at((1 - i) * n.y + i * t.y, 5)
913
+ };
914
+ }
915
+ }
916
+ n = t;
917
+ }
918
+ throw Error("Could not find a suitable point for the given distance");
919
+ }, "calculatePoint"), ot = /* @__PURE__ */ t((t, n, r) => {
920
+ e.info(`our points ${JSON.stringify(n)}`), n[0] !== r && (n = n.reverse());
921
+ let i = G(n, 25), a = t ? 10 : 5, o = Math.atan2(n[0].y - i.y, n[0].x - i.x), s = {
922
+ x: 0,
923
+ y: 0
924
+ };
925
+ return s.x = Math.sin(o) * a + (n[0].x + i.x) / 2, s.y = -Math.cos(o) * a + (n[0].y + i.y) / 2, s;
926
+ }, "calcCardinalityPosition");
927
+ function st(t, n, r) {
928
+ let i = structuredClone(r);
929
+ e.info("our points", i), n !== "start_left" && n !== "start_right" && i.reverse();
930
+ let a = G(i, 25 + t), o = 10 + t * .5, s = Math.atan2(i[0].y - a.y, i[0].x - a.x), c = {
931
+ x: 0,
932
+ y: 0
933
+ };
934
+ return n === "start_left" ? (c.x = Math.sin(s + Math.PI) * o + (i[0].x + a.x) / 2, c.y = -Math.cos(s + Math.PI) * o + (i[0].y + a.y) / 2) : n === "end_right" ? (c.x = Math.sin(s - Math.PI) * o + (i[0].x + a.x) / 2 - 5, c.y = -Math.cos(s - Math.PI) * o + (i[0].y + a.y) / 2 - 5) : n === "end_left" ? (c.x = Math.sin(s) * o + (i[0].x + a.x) / 2 - 5, c.y = -Math.cos(s) * o + (i[0].y + a.y) / 2 - 5) : (c.x = Math.sin(s) * o + (i[0].x + a.x) / 2, c.y = -Math.cos(s) * o + (i[0].y + a.y) / 2), c;
935
+ }
936
+ t(st, "calcTerminalLabelPosition");
937
+ function K(e) {
938
+ let t = "", n = "";
939
+ for (let r of e) r !== void 0 && (r.startsWith("color:") || r.startsWith("text-align:") ? n = n + r + ";" : t = t + r + ";");
940
+ return {
941
+ style: t,
942
+ labelStyle: n
943
+ };
944
+ }
945
+ t(K, "getStylesFromArray");
946
+ var ct = 0, lt = /* @__PURE__ */ t(() => (ct++, "id-" + Math.random().toString(36).substr(2, 12) + "-" + ct), "generateId");
947
+ function ut(e) {
948
+ let t = "";
949
+ for (let n = 0; n < e; n++) t += "0123456789abcdef".charAt(Math.floor(Math.random() * 16));
950
+ return t;
951
+ }
952
+ t(ut, "makeRandomHex");
953
+ var q = /* @__PURE__ */ t((e) => ut(e.length), "random"), dt = /* @__PURE__ */ t(function() {
954
+ return {
955
+ x: 0,
956
+ y: 0,
957
+ fill: void 0,
958
+ anchor: "start",
959
+ style: "#666",
960
+ width: 100,
961
+ height: 100,
962
+ textMargin: 0,
963
+ rx: 0,
964
+ ry: 0,
965
+ valign: void 0,
966
+ text: ""
967
+ };
968
+ }, "getTextObj"), ft = /* @__PURE__ */ t(function(e, t) {
969
+ let n = t.text.replace(s.lineBreakRegex, " "), [, r] = Q(t.fontSize), i = e.append("text");
970
+ i.attr("x", t.x), i.attr("y", t.y), i.style("text-anchor", t.anchor), i.style("font-family", t.fontFamily), i.style("font-size", r), i.style("font-weight", t.fontWeight), i.attr("fill", t.fill), t.class !== void 0 && i.attr("class", t.class);
971
+ let a = i.append("tspan");
972
+ return a.attr("x", t.x + t.textMargin * 2), a.attr("fill", t.fill), a.text(n), i;
973
+ }, "drawSimpleText"), pt = d((e, t, n) => {
974
+ if (!e || (n = Object.assign({
975
+ fontSize: 12,
976
+ fontWeight: 400,
977
+ fontFamily: "Arial",
978
+ joinWith: "<br/>"
979
+ }, n), s.lineBreakRegex.test(e))) return e;
980
+ let r = e.split(" ").filter(Boolean), i = [], a = "";
981
+ return r.forEach((e, o) => {
982
+ let s = Y(`${e} `, n), c = Y(a, n);
983
+ if (s > t) {
984
+ let { hyphenatedStrings: r, remainingWord: o } = mt(e, t, "-", n);
985
+ i.push(a, ...r), a = o;
986
+ } else c + s >= t ? (i.push(a), a = e) : a = [a, e].filter(Boolean).join(" ");
987
+ o + 1 === r.length && i.push(a);
988
+ }), i.filter((e) => e !== "").join(n.joinWith);
989
+ }, (e, t, n) => `${e}${t}${n.fontSize}${n.fontWeight}${n.fontFamily}${n.joinWith}`), mt = d((e, t, n = "-", r) => {
990
+ r = Object.assign({
991
+ fontSize: 12,
992
+ fontWeight: 400,
993
+ fontFamily: "Arial",
994
+ margin: 0
995
+ }, r);
996
+ let i = [...e], a = [], o = "";
997
+ return i.forEach((e, s) => {
998
+ let c = `${o}${e}`;
999
+ if (Y(c, r) >= t) {
1000
+ let e = s + 1, t = i.length === e, r = `${c}${n}`;
1001
+ a.push(t ? c : r), o = "";
1002
+ } else o = c;
1003
+ }), {
1004
+ hyphenatedStrings: a,
1005
+ remainingWord: o
1006
+ };
1007
+ }, (e, t, n = "-", r) => `${e}${t}${n}${r.fontSize}${r.fontWeight}${r.fontFamily}`);
1008
+ function J(e, t) {
1009
+ return X(e, t).height;
1010
+ }
1011
+ t(J, "calculateTextHeight");
1012
+ function Y(e, t) {
1013
+ return X(e, t).width;
1014
+ }
1015
+ t(Y, "calculateTextWidth");
1016
+ var X = d((e, t) => {
1017
+ let { fontSize: r = 12, fontFamily: i = "Arial", fontWeight: a = 400 } = t;
1018
+ if (!e) return {
1019
+ width: 0,
1020
+ height: 0
1021
+ };
1022
+ let [, o] = Q(r), c = ["sans-serif", i], l = e.split(s.lineBreakRegex), u = [], d = n("body");
1023
+ if (!d.remove) return {
1024
+ width: 0,
1025
+ height: 0,
1026
+ lineHeight: 0
1027
+ };
1028
+ let f = d.append("svg");
1029
+ for (let e of c) {
1030
+ let t = 0, n = {
1031
+ width: 0,
1032
+ height: 0,
1033
+ lineHeight: 0
1034
+ };
1035
+ for (let r of l) {
1036
+ let i = dt();
1037
+ i.text = r || "​";
1038
+ let s = ft(f, i).style("font-size", o).style("font-weight", a).style("font-family", e), c = (s._groups || s)[0][0].getBBox();
1039
+ if (c.width === 0 && c.height === 0) throw Error("svg element not in render tree");
1040
+ n.width = Math.round(Math.max(n.width, c.width)), t = Math.round(c.height), n.height += t, n.lineHeight = Math.round(Math.max(n.lineHeight, t));
1041
+ }
1042
+ u.push(n);
1043
+ }
1044
+ return f.remove(), u[isNaN(u[1].height) || isNaN(u[1].width) || isNaN(u[1].lineHeight) || u[0].height > u[1].height && u[0].width > u[1].width && u[0].lineHeight > u[1].lineHeight ? 0 : 1];
1045
+ }, (e, t) => `${e}${t.fontSize}${t.fontWeight}${t.fontFamily}`), ht = class {
1046
+ constructor(e = !1, t) {
1047
+ this.count = 0, this.count = t ? t.length : 0, this.next = e ? () => this.count++ : () => Date.now();
1048
+ }
1049
+ static {
1050
+ t(this, "InitIDGenerator");
1051
+ }
1052
+ }, Z, gt = /* @__PURE__ */ t(function(e) {
1053
+ return Z ||= document.createElement("div"), e = escape(e).replace(/%26/g, "&").replace(/%23/g, "#").replace(/%3B/g, ";"), Z.innerHTML = e, unescape(Z.textContent);
1054
+ }, "entityDecode");
1055
+ function _t(e) {
1056
+ return "str" in e;
1057
+ }
1058
+ t(_t, "isDetailedError");
1059
+ var vt = /* @__PURE__ */ t((e, t, n, r) => {
1060
+ if (!r) return;
1061
+ let i = e.node()?.getBBox();
1062
+ i && e.append("text").text(r).attr("text-anchor", "middle").attr("x", i.x + i.width / 2).attr("y", -n).attr("class", t);
1063
+ }, "insertTitle"), Q = /* @__PURE__ */ t((e) => {
1064
+ if (typeof e == "number") return [e, e + "px"];
1065
+ let t = parseInt(e ?? "", 10);
1066
+ return Number.isNaN(t) ? [void 0, void 0] : e === String(t) ? [t, e + "px"] : [t, e];
1067
+ }, "parseFontSize");
1068
+ function $(e, t) {
1069
+ return Je({}, e, t);
1070
+ }
1071
+ t($, "cleanAndMerge");
1072
+ var yt = {
1073
+ assignWithDepth: o,
1074
+ wrapLabel: pt,
1075
+ calculateTextHeight: J,
1076
+ calculateTextWidth: Y,
1077
+ calculateTextDimensions: X,
1078
+ cleanAndMerge: $,
1079
+ detectInit: Ze,
1080
+ detectDirective: Qe,
1081
+ isSubstringInArray: et,
1082
+ interpolateToCurve: U,
1083
+ calcLabelPosition: it,
1084
+ calcCardinalityPosition: ot,
1085
+ calcTerminalLabelPosition: st,
1086
+ formatUrl: tt,
1087
+ getStylesFromArray: K,
1088
+ generateId: lt,
1089
+ random: q,
1090
+ runFunc: nt,
1091
+ entityDecode: gt,
1092
+ insertTitle: vt,
1093
+ isLabelCoordinateInPath: wt,
1094
+ parseFontSize: Q,
1095
+ InitIDGenerator: ht
1096
+ }, bt = /* @__PURE__ */ t(function(e) {
1097
+ let t = e;
1098
+ return t = t.replace(/style.*:\S*#.*;/g, function(e) {
1099
+ return e.substring(0, e.length - 1);
1100
+ }), t = t.replace(/classDef.*:\S*#.*;/g, function(e) {
1101
+ return e.substring(0, e.length - 1);
1102
+ }), t = t.replace(/#\w+;/g, function(e) {
1103
+ let t = e.substring(1, e.length - 1);
1104
+ return /^\+?\d+$/.test(t) ? "fl°°" + t + "¶ß" : "fl°" + t + "¶ß";
1105
+ }), t;
1106
+ }, "encodeEntities"), xt = /* @__PURE__ */ t(function(e) {
1107
+ return e.replace(/fl°°/g, "&#").replace(/fl°/g, "&").replace(/¶ß/g, ";");
1108
+ }, "decodeEntities"), St = /* @__PURE__ */ t((e, t, { counter: n = 0, prefix: r, suffix: i }, a) => a || `${r ? `${r}_` : ""}${e}_${t}_${n}${i ? `_${i}` : ""}`, "getEdgeId");
1109
+ function Ct(e) {
1110
+ return e ?? null;
1111
+ }
1112
+ t(Ct, "handleUndefinedAttr");
1113
+ function wt(e, t) {
1114
+ let n = Math.round(e.x), r = Math.round(e.y), i = t.replace(/(\d+\.\d+)/g, (e) => Math.round(parseFloat(e)).toString());
1115
+ return i.includes(n.toString()) || i.includes(r.toString());
1116
+ }
1117
+ t(wt, "isLabelCoordinateInPath");
1118
+ //#endregion
1119
+ export { Ae as C, me as D, ge as E, he as O, ke as S, E as T, Je as _, bt as a, Pe as b, K as c, _t as d, Q as f, pt as g, yt as h, xt as i, fe as k, Ct as l, $e as m, Y as n, lt as o, q as p, $ as r, St as s, J as t, U as u, Ie as v, j as w, Ne as x, Fe as y };