@jackuait/blok 0.10.0-beta.6 → 0.10.0-beta.7

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 (409) hide show
  1. package/codemod/migrate-editorjs-to-blok.js +0 -2
  2. package/codemod/test.js +0 -6
  3. package/dist/blok.mjs +2 -2
  4. package/dist/chunks/_basePickBy-BHRNO12X.mjs +410 -0
  5. package/dist/chunks/_baseUniq-DtFPDBML.mjs +1045 -0
  6. package/dist/chunks/_getTag-ozrhqxk_.mjs +26 -0
  7. package/dist/chunks/arc-BEqJP9HX.mjs +80 -0
  8. package/dist/chunks/architecture-YZFGNWBL-Bcu-90pi.mjs +3 -0
  9. package/dist/chunks/architectureDiagram-Q4EWVU46-BMno5LCn.mjs +4066 -0
  10. package/dist/chunks/array-Cyf-61SV.mjs +6 -0
  11. package/dist/chunks/blockDiagram-DXYQGD6D-DlP_cPth.mjs +3259 -0
  12. package/dist/chunks/{blok-BdlR_lX6.mjs → blok-CiLRmoHI.mjs} +850 -855
  13. package/dist/chunks/c4Diagram-AHTNJAMY-BbVV8EXj.mjs +2956 -0
  14. package/dist/chunks/channel-DPcniO2B.mjs +5 -0
  15. package/dist/chunks/chunk-2KRD3SAO-CazES4VS.mjs +20 -0
  16. package/dist/chunks/chunk-336JU56O-heO72r_k.mjs +49 -0
  17. package/dist/chunks/chunk-426QAEUC-CmCcml1z.mjs +13 -0
  18. package/dist/chunks/chunk-4BX2VUAB-B10DxOza.mjs +19 -0
  19. package/dist/chunks/chunk-4TB4RGXK-B0snhZOU.mjs +3250 -0
  20. package/dist/chunks/chunk-55IACEB6-CGkn5ABd.mjs +8 -0
  21. package/dist/chunks/chunk-5FUZZQ4R-USdumo_u.mjs +3786 -0
  22. package/dist/chunks/chunk-5PVQY5BW-CxUGVzQL.mjs +1692 -0
  23. package/dist/chunks/chunk-67CJDMHE-Bvw55oRa.mjs +20 -0
  24. package/dist/chunks/chunk-7N4EOEYR-Bs2qDy88.mjs +29 -0
  25. package/dist/chunks/chunk-AA7GKIK3-Bss0LgrN.mjs +24 -0
  26. package/dist/chunks/chunk-BSJP7CBP-CpUW7gi5.mjs +83 -0
  27. package/dist/chunks/chunk-CIAEETIT-DlRbLLf3.mjs +20 -0
  28. package/dist/chunks/{chunk-Byubey_H.mjs → chunk-D6kmoKXy.mjs} +5 -5
  29. package/dist/chunks/chunk-EDXVE4YY-DEcX4XWm.mjs +26 -0
  30. package/dist/chunks/chunk-ENJZ2VHE-B4THRZkR.mjs +566 -0
  31. package/dist/chunks/chunk-FMBD7UC4-CF6BKEiV.mjs +5 -0
  32. package/dist/chunks/chunk-FOC6F5B3--xuza7Yn.mjs +20 -0
  33. package/dist/chunks/chunk-ICPOFSXX-BMja8cuy.mjs +3290 -0
  34. package/dist/chunks/chunk-K5T4RW27-CHEqGHFS.mjs +16370 -0
  35. package/dist/chunks/chunk-KGLVRYIC-DHYYpR8v.mjs +20 -0
  36. package/dist/chunks/chunk-LIHQZDEY-AvbOvyLE.mjs +55 -0
  37. package/dist/chunks/chunk-ORNJ4GCN-38fbR5OS.mjs +25 -0
  38. package/dist/chunks/chunk-OYMX7WX6-BiqlATPA.mjs +2038 -0
  39. package/dist/chunks/chunk-QZHKN3VN-DitZIvj8.mjs +12 -0
  40. package/dist/chunks/chunk-U2HBQHQK-DJytnHmZ.mjs +1875 -0
  41. package/dist/chunks/chunk-X2U36JSP-DlOifw1K.mjs +68 -0
  42. package/dist/chunks/chunk-XPW4576I-s4fsi4XO.mjs +1146 -0
  43. package/dist/chunks/chunk-YZCP3GAM-Ch258bXC.mjs +60 -0
  44. package/dist/chunks/chunk-ZZ45TVLE-DWziaKxP.mjs +33 -0
  45. package/dist/chunks/classDiagram-6PBFFD2Q-BOkAe08u.mjs +30 -0
  46. package/dist/chunks/classDiagram-v2-HSJHXN6E-DeKatSvh.mjs +30 -0
  47. package/dist/chunks/clone-CJCz7VRp.mjs +8 -0
  48. package/dist/chunks/{constants-Cp8O0UfP.mjs → constants-DFS8l39Y.mjs} +49 -50
  49. package/dist/chunks/cose-bilkent-S5V4N54A-CzLGVqvr.mjs +2246 -0
  50. package/dist/chunks/cytoscape.esm-D0iglm-M.mjs +18108 -0
  51. package/dist/chunks/dagre-KV5264BT-XbHSjleO.mjs +298 -0
  52. package/dist/chunks/dagre-XY8CZ1sg.mjs +1536 -0
  53. package/dist/chunks/defaultLocale-DFhS1600.mjs +201 -0
  54. package/dist/chunks/diagram-5BDNPKRD-CM7c3UTI.mjs +112 -0
  55. package/dist/chunks/diagram-G4DWMVQ6-Bhg4ps6b.mjs +546 -0
  56. package/dist/chunks/diagram-MMDJMWI5-C-UCVaxB.mjs +234 -0
  57. package/dist/chunks/diagram-TYMM5635-BOHSujSD.mjs +144 -0
  58. package/dist/chunks/dist-DHsXIYdd.mjs +59 -0
  59. package/dist/chunks/erDiagram-SMLLAGMA-CwKxXFMB.mjs +1712 -0
  60. package/dist/chunks/flowDiagram-DWJPFMVM-rQJKfyuO.mjs +4175 -0
  61. package/dist/chunks/ganttDiagram-T4ZO3ILL-DfaZirLX.mjs +3083 -0
  62. package/dist/chunks/gitGraph-7Q5UKJZL-BKG8cHGz.mjs +3 -0
  63. package/dist/chunks/gitGraphDiagram-UUTBAWPF-CRa-ymsI.mjs +792 -0
  64. package/dist/chunks/graphlib-CuDElSdG.mjs +223 -0
  65. package/dist/chunks/{i18next-loader-oDO9ZKUV.mjs → i18next-loader-CasQQb5s.mjs} +2 -2
  66. package/dist/chunks/info-OMHHGYJF-FKqYyUn9.mjs +3 -0
  67. package/dist/chunks/infoDiagram-42DDH7IO-CvyJU2nE.mjs +29 -0
  68. package/dist/chunks/init-JlKGZtuT.mjs +15 -0
  69. package/dist/chunks/ishikawaDiagram-UXIWVN3A-CIpbw1BK.mjs +719 -0
  70. package/dist/chunks/journeyDiagram-VCZTEJTY-H96UcUK9.mjs +885 -0
  71. package/dist/chunks/kanban-definition-6JOO6SKY-BYZT3srA.mjs +980 -0
  72. package/dist/chunks/{katex-NjLaA6AJ.mjs → katex-JyOgX6MW.mjs} +1 -1
  73. package/dist/chunks/{lightweight-i18n-DTySD6f6.mjs → lightweight-i18n-Cvv8CWh4.mjs} +13 -0
  74. package/dist/chunks/line-B9xUUA7k.mjs +34 -0
  75. package/dist/chunks/linear-Dj-1yA_B.mjs +289 -0
  76. package/dist/chunks/mermaid-parser.core-D6OPAUtM.mjs +57 -0
  77. package/dist/chunks/mermaid.core-BPN9ZHKQ.mjs +989 -0
  78. package/dist/{messages-B4lhNMKm2.mjs → chunks/messages--YKhFEDE.mjs} +28 -3
  79. package/dist/chunks/{messages-CF_PfacZ.mjs → messages-0Uwu1AMJ2.mjs} +26 -1
  80. package/dist/{messages-Bug6Du35.mjs → chunks/messages-1__0Ph4Q.mjs} +26 -1
  81. package/dist/chunks/{messages-CnQydQJd2.mjs → messages-4sm9Pb0C.mjs} +26 -1
  82. package/dist/chunks/{messages-BDXl53cy2.mjs → messages-4uxjtzKW.mjs} +26 -1
  83. package/dist/{messages-DQN1y6E9.mjs → chunks/messages-B-SwLgkQ.mjs} +28 -3
  84. package/dist/chunks/{messages-BlcRm2I3.mjs → messages-B1ylBxXQ.mjs} +26 -1
  85. package/dist/{messages-12_eyAo-.mjs → chunks/messages-B5m3dhKc.mjs} +26 -1
  86. package/dist/chunks/{messages-D8-N0FmU.mjs → messages-B6n2zDtv.mjs} +27 -2
  87. package/dist/chunks/{messages-BMq9k_lI.mjs → messages-BC9w4zAT.mjs} +26 -1
  88. package/dist/{messages-CsiGzUSP2.mjs → chunks/messages-BOj-7N3p.mjs} +26 -1
  89. package/dist/chunks/{messages-CvlMT1e62.mjs → messages-BRYHTS18.mjs} +26 -1
  90. package/dist/{messages-hrSlVSHp.mjs → chunks/messages-BSBbVjor.mjs} +33 -8
  91. package/dist/{messages-uCsQjz7M.mjs → chunks/messages-BUUkmUGc.mjs} +26 -1
  92. package/dist/chunks/{messages-DopbvJlg.mjs → messages-Bb3YEV2P.mjs} +31 -6
  93. package/dist/{messages-KqWQKmIu2.mjs → chunks/messages-Be_6YLzJ.mjs} +27 -2
  94. package/dist/chunks/{messages-BXn9Vzbx2.mjs → messages-BevRhv5d.mjs} +26 -1
  95. package/dist/chunks/{messages-DQ5ng0_t2.mjs → messages-Bhqr7Im2.mjs} +26 -1
  96. package/dist/{messages-B3Yhiycb2.mjs → chunks/messages-BpJFjSKa.mjs} +27 -2
  97. package/dist/chunks/{messages-BaoJwsEZ.mjs → messages-BqYlq_Bn.mjs} +26 -1
  98. package/dist/chunks/{messages-vN4T4r67.mjs → messages-BtAwCUfD.mjs} +26 -1
  99. package/dist/{messages-Cb3wXGnc.mjs → chunks/messages-Bthbp65G.mjs} +27 -2
  100. package/dist/{messages-x353UCBI.mjs → chunks/messages-BvHMZ8Pi2.mjs} +26 -1
  101. package/dist/{messages-BOE2mzCj2.mjs → chunks/messages-Bw1BE9jW.mjs} +26 -1
  102. package/dist/chunks/{messages-C5aCWL7B.mjs → messages-Bx6Wt285.mjs} +26 -1
  103. package/dist/{messages-C8f1I5EQ2.mjs → chunks/messages-BzslJRYv.mjs} +27 -2
  104. package/dist/chunks/{messages-CZ5Sbf8U.mjs → messages-C02M0Tpw.mjs} +26 -1
  105. package/dist/chunks/{messages-DN-194c32.mjs → messages-C1u3E9qg.mjs} +26 -1
  106. package/dist/chunks/{messages-DdmWzF5M.mjs → messages-C68WgSKk.mjs} +27 -2
  107. package/dist/chunks/{messages-Dgng6KN8.mjs → messages-C8w8JCP0.mjs} +28 -3
  108. package/dist/chunks/{messages-B5fKJXd6.mjs → messages-CFOZdSk4.mjs} +26 -1
  109. package/dist/chunks/{messages-5ArOv8cj.mjs → messages-CGOY79lr.mjs} +26 -1
  110. package/dist/{messages-mipkPgwQ2.mjs → chunks/messages-CGaSMZPu.mjs} +26 -1
  111. package/dist/{messages-Dq_v7slw2.mjs → chunks/messages-CJJgQ0BH.mjs} +26 -1
  112. package/dist/chunks/{messages-DUGEqDEG.mjs → messages-CTD6rtQj2.mjs} +26 -1
  113. package/dist/{messages-DIKCwGog.mjs → chunks/messages-CZymJML9.mjs} +30 -5
  114. package/dist/chunks/{messages-CcyIKgGU.mjs → messages-CfeFJbiv.mjs} +30 -5
  115. package/dist/chunks/{messages-BXSXk3oS2.mjs → messages-Cgatzu_z.mjs} +28 -3
  116. package/dist/{messages-CBPiFbEf2.mjs → chunks/messages-Ch2zBI602.mjs} +26 -1
  117. package/dist/chunks/{messages-yszqJukE.mjs → messages-CiAHsUfO.mjs} +26 -1
  118. package/dist/chunks/{messages-bmwto4UV.mjs → messages-Cuzq-tNW.mjs} +26 -1
  119. package/dist/{messages-JK9Okzsy2.mjs → chunks/messages-Cw4qiMwb.mjs} +26 -1
  120. package/dist/chunks/{messages-DSO2U-ul.mjs → messages-Cyh-mz40.mjs} +26 -1
  121. package/dist/{messages-DbZsJAff.mjs → chunks/messages-D-I2QO8H.mjs} +26 -1
  122. package/dist/chunks/{messages-BhcYsC_M2.mjs → messages-D0D2gruy.mjs} +26 -1
  123. package/dist/{messages-X80Nh0ib.mjs → chunks/messages-D1BKxfLD.mjs} +27 -2
  124. package/dist/chunks/{messages-CjVPwkVy.mjs → messages-D4eDs6R_.mjs} +26 -1
  125. package/dist/{messages-C5Uufygq.mjs → chunks/messages-D9Xr-hES.mjs} +26 -1
  126. package/dist/{messages-DkvQ-6HC2.mjs → chunks/messages-D9eJPHia.mjs} +28 -3
  127. package/dist/chunks/{messages-DRv4g-IA.mjs → messages-DBFWSzKY2.mjs} +26 -1
  128. package/dist/chunks/{messages-SSDr5fGF2.mjs → messages-DC0wu2S7.mjs} +26 -1
  129. package/dist/{messages-Bdk4ocMI.mjs → chunks/messages-DF9o19rG.mjs} +26 -1
  130. package/dist/chunks/{messages-DVKifYlq.mjs → messages-DFS_n986.mjs} +49 -24
  131. package/dist/{messages-CvvbLyTy2.mjs → chunks/messages-DGS4H30T.mjs} +26 -1
  132. package/dist/{messages-PvMdmlxI.mjs → chunks/messages-DKjddpzJ.mjs} +28 -3
  133. package/dist/chunks/{messages-DGD6BiGd.mjs → messages-DMvTdUXC.mjs} +28 -3
  134. package/dist/{messages-CD8K1g_t2.mjs → chunks/messages-DQUX-QYI2.mjs} +26 -1
  135. package/dist/chunks/{messages-CqgEz7C5.mjs → messages-DUigq8FO2.mjs} +26 -1
  136. package/dist/chunks/{messages-ByAqzAhB.mjs → messages-DY0FJdpH.mjs} +26 -1
  137. package/dist/{messages-DACg1XAu.mjs → chunks/messages-DfVXiqt-2.mjs} +26 -1
  138. package/dist/{messages-BYQ769S5.mjs → chunks/messages-DgZc9TJw.mjs} +26 -1
  139. package/dist/{messages-Dj79y02X.mjs → chunks/messages-QD4BCUDP.mjs} +26 -1
  140. package/dist/{messages-BeI2HORe2.mjs → chunks/messages-USmweex9.mjs} +26 -1
  141. package/dist/{messages-CEEzfqMO2.mjs → chunks/messages-a1JTi0Qm.mjs} +29 -4
  142. package/dist/chunks/{messages-Dz3UhEco2.mjs → messages-jcgCHPRn.mjs} +26 -1
  143. package/dist/{messages--cUQf9JX.mjs → chunks/messages-tnnqHpbd.mjs} +27 -2
  144. package/dist/chunks/{messages-DZwCufSb.mjs → messages-vzWKPLJO.mjs} +26 -1
  145. package/dist/chunks/{micromark-extension-math-CCEGWpdz.mjs → micromark-extension-math-Cz_ZZ_0Y.mjs} +1 -1
  146. package/dist/chunks/mindmap-definition-QFDTVHPH-BswFuNN6.mjs +1013 -0
  147. package/dist/chunks/ordinal-D1_lEgAO.mjs +65 -0
  148. package/dist/chunks/packet-4T2RLAQJ-DTUW2U0C.mjs +3 -0
  149. package/dist/chunks/path-6nYPAvNb.mjs +85 -0
  150. package/dist/chunks/pie-ZZUOXDRM-D-umqvEM.mjs +3 -0
  151. package/dist/chunks/pieDiagram-DEJITSTG-1WJgvK1w.mjs +179 -0
  152. package/dist/chunks/quadrantDiagram-34T5L4WZ-B_YH8QGl.mjs +1960 -0
  153. package/dist/chunks/radar-PYXPWWZC-DkQelf08.mjs +3 -0
  154. package/dist/chunks/requirementDiagram-MS252O5E-DRl0YJRI.mjs +2224 -0
  155. package/dist/chunks/rough.esm-CSWJruu5.mjs +1353 -0
  156. package/dist/chunks/sankeyDiagram-XADWPNL6-B-8IrknH.mjs +909 -0
  157. package/dist/chunks/sequenceDiagram-FGHM5R23-DTLb8qmO.mjs +4181 -0
  158. package/dist/chunks/src-CRgEHLPW.mjs +2149 -0
  159. package/dist/chunks/stateDiagram-FHFEXIEX-B0JFjLFy.mjs +218 -0
  160. package/dist/chunks/stateDiagram-v2-QKLJ7IA2-Co9CUU_z.mjs +28 -0
  161. package/dist/chunks/timeline-definition-GMOUNBTQ-CS9KTh-Q.mjs +1084 -0
  162. package/dist/chunks/{tools-DGOsJbHH.mjs → tools-CSYsrnud.mjs} +2116 -1268
  163. package/dist/chunks/treeView-SZITEDCU-DOOoyNP9.mjs +3 -0
  164. package/dist/chunks/treemap-W4RFUUIX-CsOoUA-u.mjs +3 -0
  165. package/dist/chunks/vennDiagram-DHZGUBPP-0BNu5Wna.mjs +1876 -0
  166. package/dist/chunks/wardley-RL74JXVD-CCzZcmEk.mjs +3 -0
  167. package/dist/chunks/wardleyDiagram-NUSXRM2D-Ca9XByNH.mjs +594 -0
  168. package/dist/chunks/xychartDiagram-5P7HB3ND-C8AyKUAE.mjs +2017 -0
  169. package/dist/cli.mjs +1 -1
  170. package/dist/full.mjs +3 -3
  171. package/dist/locales.mjs +80 -67
  172. package/dist/markdown.mjs +2 -2
  173. package/dist/{chunks/messages-9l49jauY.mjs → messages-5jvKxQNu2.mjs} +26 -1
  174. package/dist/{messages-CkySRhtd2.mjs → messages-7QD-X6XT2.mjs} +26 -1
  175. package/dist/{chunks/messages-Btr121zI2.mjs → messages-96iaAUds2.mjs} +27 -2
  176. package/dist/{chunks/messages-BAP2OAQk.mjs → messages-B19o-Teb.mjs} +28 -3
  177. package/dist/{messages-DJU4YLij.mjs → messages-B1ZUQagA.mjs} +26 -1
  178. package/dist/{messages-Dg2CDXZi2.mjs → messages-B7ieAJBd2.mjs} +26 -1
  179. package/dist/{messages-CByBLxWk.mjs → messages-BECMxmfX.mjs} +26 -1
  180. package/dist/{messages-CwCEcbWG.mjs → messages-BIHc0KHY.mjs} +27 -2
  181. package/dist/{messages-D8WvwU42.mjs → messages-BIoeoik5.mjs} +26 -1
  182. package/dist/{messages-D38h5XlF.mjs → messages-BJeGJksD.mjs} +26 -1
  183. package/dist/{messages-Cd23UgLV2.mjs → messages-BRZX964b2.mjs} +27 -2
  184. package/dist/{chunks/messages-B9N__q552.mjs → messages-BTQPpoM42.mjs} +29 -4
  185. package/dist/{messages-CUzBNjnc.mjs → messages-BYNcD6uR.mjs} +26 -1
  186. package/dist/{messages-DjWfVYHS2.mjs → messages-BYmmMDrN2.mjs} +26 -1
  187. package/dist/{chunks/messages-DkTxBa1V.mjs → messages-BbYq1pk-.mjs} +26 -1
  188. package/dist/{chunks/messages-BHhbHLoq.mjs → messages-BiUGXvYr2.mjs} +26 -1
  189. package/dist/{messages-So3SHdIc2.mjs → messages-BiiongNz2.mjs} +26 -1
  190. package/dist/{chunks/messages-BxBID_0B.mjs → messages-Bm0Feca1.mjs} +30 -5
  191. package/dist/{messages-C2veeQpU.mjs → messages-BmAn22OX.mjs} +26 -1
  192. package/dist/{messages-KbYSpNrE.mjs → messages-Bq3F2Tp_.mjs} +26 -1
  193. package/dist/{chunks/messages-Dux1S0-D2.mjs → messages-BsycN_JI2.mjs} +26 -1
  194. package/dist/{messages-DRU_IgoW.mjs → messages-BwHs4cm1.mjs} +30 -5
  195. package/dist/{messages-Cv-DKlZd.mjs → messages-CJTy6JZt.mjs} +26 -1
  196. package/dist/{chunks/messages-D7n_wJK7.mjs → messages-CR_L_UtK.mjs} +26 -1
  197. package/dist/{messages-DnhEzmXJ2.mjs → messages-CSUHBs4c2.mjs} +26 -1
  198. package/dist/{messages-C_HmWyXc2.mjs → messages-CWIXvnDf2.mjs} +26 -1
  199. package/dist/{messages-KSxF8eib.mjs → messages-CcF4y-E4.mjs} +26 -1
  200. package/dist/{chunks/messages-CL3mCbi6.mjs → messages-Ce6KVEbT.mjs} +27 -2
  201. package/dist/{chunks/messages-C-jA6Rf7.mjs → messages-Ci0KqX-J.mjs} +33 -8
  202. package/dist/{chunks/messages-DMyRdafk2.mjs → messages-CjbnogEC.mjs} +26 -1
  203. package/dist/{chunks/messages-BlO_37l_.mjs → messages-CmB406HW.mjs} +28 -3
  204. package/dist/{messages-Cho2VTAX.mjs → messages-CqXtJTpU.mjs} +26 -1
  205. package/dist/{messages-CWEL1WDy2.mjs → messages-D0aw5_0k2.mjs} +28 -3
  206. package/dist/{messages-CgEDVri-2.mjs → messages-D8FQWulF2.mjs} +26 -1
  207. package/dist/{chunks/messages-B5aAzExz.mjs → messages-DBiVgUs2.mjs} +27 -2
  208. package/dist/{chunks/messages-DYizZHT2.mjs → messages-DIJlIqlQ2.mjs} +26 -1
  209. package/dist/{messages-BPL7riv-.mjs → messages-DLX_iBDJ.mjs} +26 -1
  210. package/dist/{messages-vptt-pVF.mjs → messages-DLlc9QPw.mjs} +26 -1
  211. package/dist/{chunks/messages-876bKyUj2.mjs → messages-DMr62KiO2.mjs} +26 -1
  212. package/dist/{chunks/messages-CgedvWCf.mjs → messages-DPA-mMWC2.mjs} +27 -2
  213. package/dist/{messages-vcoib5Ga.mjs → messages-DTh9a8mR.mjs} +26 -1
  214. package/dist/{chunks/messages-DgEGJECT.mjs → messages-DY4IqlhY.mjs} +26 -1
  215. package/dist/{chunks/messages-CdzF0Hvl.mjs → messages-DYTTu0O12.mjs} +26 -1
  216. package/dist/{messages-rbox5gSb2.mjs → messages-DbySKTKt2.mjs} +28 -3
  217. package/dist/{chunks/messages-BGCQCeWd.mjs → messages-Ddnj2iTG2.mjs} +26 -1
  218. package/dist/{chunks/messages-CNEJxD8q2.mjs → messages-DkLU_rWm.mjs} +26 -1
  219. package/dist/{chunks/messages-FYl9woii2.mjs → messages-Dl3Sv6Rq2.mjs} +27 -2
  220. package/dist/{messages-Clsh86WQ.mjs → messages-Dl5Y2-Ia.mjs} +49 -24
  221. package/dist/{chunks/messages-CKRJDX0K2.mjs → messages-DnG0ef8t2.mjs} +28 -3
  222. package/dist/{chunks/messages-CyxDkx8a.mjs → messages-DnGJD4TL.mjs} +26 -1
  223. package/dist/{chunks/messages-DnJHflSh.mjs → messages-Dnp9N6RU2.mjs} +26 -1
  224. package/dist/{chunks/messages-Jps5Tc77.mjs → messages-Dvn35ksS.mjs} +26 -1
  225. package/dist/{messages-ChTWmxS8.mjs → messages-Dw__BcTj.mjs} +26 -1
  226. package/dist/{messages-D7juvhHp.mjs → messages-Dy-Y_nEI.mjs} +26 -1
  227. package/dist/{messages-CNNcKuGH.mjs → messages-E_ZuzGDt.mjs} +26 -1
  228. package/dist/{chunks/messages-DJO0ERQT.mjs → messages-F2xRoY1w.mjs} +26 -1
  229. package/dist/{messages-DqJTZbwt.mjs → messages-Smt4GBbj.mjs} +31 -6
  230. package/dist/{chunks/messages-D8dKkyII2.mjs → messages-aMXpHt5X2.mjs} +26 -1
  231. package/dist/{chunks/messages-DWD0ry9x.mjs → messages-aWZH50vu2.mjs} +28 -3
  232. package/dist/{chunks/messages-BbfLRqLh2.mjs → messages-dv19AkyJ.mjs} +26 -1
  233. package/dist/{chunks/messages-Dw2rmKMi2.mjs → messages-hWwSRF-2.mjs} +26 -1
  234. package/dist/{messages-En8LDjUB.mjs → messages-j7o5rT9s.mjs} +26 -1
  235. package/dist/{chunks/messages-NJsvFwJj.mjs → messages-nUVjeh7K.mjs} +27 -2
  236. package/dist/{messages-Cg1CF4pw.mjs → messages-nlhESX9t.mjs} +26 -1
  237. package/dist/{messages-CSl0Wla62.mjs → messages-rk-A1Wa42.mjs} +28 -3
  238. package/dist/{messages-nOe1gJYu.mjs → messages-xh2eOLvs.mjs} +26 -1
  239. package/dist/{messages-B_sKqaeK.mjs → messages-ynAe7ewZ.mjs} +26 -1
  240. package/dist/react.mjs +2 -2
  241. package/dist/tools.mjs +2 -2
  242. package/dist/vendor.LICENSE.txt +3254 -297
  243. package/package.json +7 -2
  244. package/src/components/constants/data-attributes.ts +0 -2
  245. package/src/components/i18n/locales/am/messages.json +26 -1
  246. package/src/components/i18n/locales/ar/messages.json +26 -1
  247. package/src/components/i18n/locales/az/messages.json +26 -1
  248. package/src/components/i18n/locales/bg/messages.json +26 -1
  249. package/src/components/i18n/locales/bn/messages.json +26 -1
  250. package/src/components/i18n/locales/bs/messages.json +28 -3
  251. package/src/components/i18n/locales/cs/messages.json +30 -5
  252. package/src/components/i18n/locales/da/messages.json +33 -8
  253. package/src/components/i18n/locales/de/messages.json +31 -6
  254. package/src/components/i18n/locales/dv/messages.json +26 -1
  255. package/src/components/i18n/locales/el/messages.json +26 -1
  256. package/src/components/i18n/locales/en/messages.json +13 -0
  257. package/src/components/i18n/locales/es/messages.json +27 -2
  258. package/src/components/i18n/locales/et/messages.json +30 -5
  259. package/src/components/i18n/locales/fa/messages.json +26 -1
  260. package/src/components/i18n/locales/fi/messages.json +26 -1
  261. package/src/components/i18n/locales/fil/messages.json +49 -24
  262. package/src/components/i18n/locales/fr/messages.json +27 -2
  263. package/src/components/i18n/locales/gu/messages.json +26 -1
  264. package/src/components/i18n/locales/he/messages.json +26 -1
  265. package/src/components/i18n/locales/hi/messages.json +26 -1
  266. package/src/components/i18n/locales/hr/messages.json +28 -3
  267. package/src/components/i18n/locales/hu/messages.json +27 -2
  268. package/src/components/i18n/locales/hy/messages.json +26 -1
  269. package/src/components/i18n/locales/id/messages.json +26 -1
  270. package/src/components/i18n/locales/it/messages.json +27 -2
  271. package/src/components/i18n/locales/ja/messages.json +26 -1
  272. package/src/components/i18n/locales/ka/messages.json +26 -1
  273. package/src/components/i18n/locales/km/messages.json +26 -1
  274. package/src/components/i18n/locales/kn/messages.json +26 -1
  275. package/src/components/i18n/locales/ko/messages.json +26 -1
  276. package/src/components/i18n/locales/ku/messages.json +26 -1
  277. package/src/components/i18n/locales/lo/messages.json +26 -1
  278. package/src/components/i18n/locales/lt/messages.json +26 -1
  279. package/src/components/i18n/locales/lv/messages.json +26 -1
  280. package/src/components/i18n/locales/mk/messages.json +26 -1
  281. package/src/components/i18n/locales/ml/messages.json +26 -1
  282. package/src/components/i18n/locales/mn/messages.json +26 -1
  283. package/src/components/i18n/locales/mr/messages.json +26 -1
  284. package/src/components/i18n/locales/ms/messages.json +28 -3
  285. package/src/components/i18n/locales/my/messages.json +26 -1
  286. package/src/components/i18n/locales/ne/messages.json +26 -1
  287. package/src/components/i18n/locales/nl/messages.json +28 -3
  288. package/src/components/i18n/locales/no/messages.json +29 -4
  289. package/src/components/i18n/locales/pa/messages.json +26 -1
  290. package/src/components/i18n/locales/pl/messages.json +27 -2
  291. package/src/components/i18n/locales/ps/messages.json +26 -1
  292. package/src/components/i18n/locales/pt/messages.json +27 -2
  293. package/src/components/i18n/locales/ro/messages.json +27 -2
  294. package/src/components/i18n/locales/ru/messages.json +26 -1
  295. package/src/components/i18n/locales/sd/messages.json +26 -1
  296. package/src/components/i18n/locales/si/messages.json +26 -1
  297. package/src/components/i18n/locales/sk/messages.json +28 -3
  298. package/src/components/i18n/locales/sl/messages.json +28 -3
  299. package/src/components/i18n/locales/sq/messages.json +27 -2
  300. package/src/components/i18n/locales/sr/messages.json +26 -1
  301. package/src/components/i18n/locales/sv/messages.json +28 -3
  302. package/src/components/i18n/locales/sw/messages.json +26 -1
  303. package/src/components/i18n/locales/ta/messages.json +26 -1
  304. package/src/components/i18n/locales/te/messages.json +26 -1
  305. package/src/components/i18n/locales/th/messages.json +26 -1
  306. package/src/components/i18n/locales/tr/messages.json +26 -1
  307. package/src/components/i18n/locales/ug/messages.json +26 -1
  308. package/src/components/i18n/locales/uk/messages.json +26 -1
  309. package/src/components/i18n/locales/ur/messages.json +26 -1
  310. package/src/components/i18n/locales/vi/messages.json +26 -1
  311. package/src/components/i18n/locales/yi/messages.json +26 -1
  312. package/src/components/i18n/locales/zh/messages.json +26 -1
  313. package/src/components/icons/index.ts +38 -0
  314. package/src/components/modules/ui.ts +0 -13
  315. package/src/stories/EditorModes.stories.ts +0 -60
  316. package/src/styles/main.css +39 -1
  317. package/src/tools/callout/emoji-picker/index.ts +3 -2
  318. package/src/tools/code/code-keyboard.ts +16 -9
  319. package/src/tools/code/constants.ts +26 -3
  320. package/src/tools/code/dom-builder.ts +40 -5
  321. package/src/tools/code/highlight-applier.ts +229 -0
  322. package/src/tools/code/index.ts +141 -1
  323. package/src/tools/code/mermaid-loader.ts +45 -0
  324. package/src/tools/code/shiki-loader.ts +135 -0
  325. package/src/tools/table/core/table-commands.ts +16 -0
  326. package/src/tools/table/core/table-controller.ts +29 -0
  327. package/src/tools/table/core/table-events.ts +17 -0
  328. package/src/tools/table/index.ts +194 -11
  329. package/src/tools/table/table-cell-blocks.ts +9 -6
  330. package/src/tools/table/table-cell-clipboard.ts +6 -1
  331. package/src/tools/table/table-cell-placement-picker.ts +133 -0
  332. package/src/tools/table/table-cell-selection.ts +174 -19
  333. package/src/tools/table/table-core.ts +321 -113
  334. package/src/tools/table/table-map.ts +279 -0
  335. package/src/tools/table/table-model.ts +901 -1
  336. package/src/tools/table/table-operations.ts +78 -44
  337. package/src/tools/table/table-resize.ts +19 -17
  338. package/src/tools/table/table-row-col-drag.ts +24 -10
  339. package/src/tools/table/types.ts +24 -2
  340. package/types/data-attributes.d.ts +0 -1
  341. package/types/tools/code.d.ts +2 -0
  342. /package/dist/chunks/{am-CS-JjQ0N.mjs → am-rVzV1W41.mjs} +0 -0
  343. /package/dist/chunks/{ar-Dt4XzR5U.mjs → ar-C710lkoH.mjs} +0 -0
  344. /package/dist/chunks/{az-CaDTXby8.mjs → az-BOp1pgua.mjs} +0 -0
  345. /package/dist/chunks/{bg-D1pLog-R.mjs → bg-CL9p09ZD.mjs} +0 -0
  346. /package/dist/chunks/{bn-Db_ae60m.mjs → bn-CNmSeyAy.mjs} +0 -0
  347. /package/dist/chunks/{bs-DJTg1R9e.mjs → bs-BRzMGqzk.mjs} +0 -0
  348. /package/dist/chunks/{cs-_Gc21gSL.mjs → cs-BYPBLmnF.mjs} +0 -0
  349. /package/dist/chunks/{da-xDB8uhCd.mjs → da-CBC_LR1c.mjs} +0 -0
  350. /package/dist/chunks/{de-B6gVjh1Z.mjs → de-DxRFMoAj.mjs} +0 -0
  351. /package/dist/chunks/{el-ClbRSnOs.mjs → el-Bk6YbySf.mjs} +0 -0
  352. /package/dist/chunks/{es-CuY9rnLK.mjs → es-DpT3FCMR.mjs} +0 -0
  353. /package/dist/chunks/{et-BLu5lDVc.mjs → et-DE9Dr_g9.mjs} +0 -0
  354. /package/dist/chunks/{fa-P3gnrZH8.mjs → fa-Banj1QUE.mjs} +0 -0
  355. /package/dist/chunks/{fi-B8PVHLjq.mjs → fi-DfN3M5ER.mjs} +0 -0
  356. /package/dist/chunks/{fil-B9JII5iF.mjs → fil-DbCsRS1d.mjs} +0 -0
  357. /package/dist/chunks/{fr-BWLDZdcc.mjs → fr-D1clKhgt.mjs} +0 -0
  358. /package/dist/chunks/{gu-BH3R_s4c.mjs → gu-1CsZyRwT.mjs} +0 -0
  359. /package/dist/chunks/{he-CCmeCVR_.mjs → he-qQdnL6eK.mjs} +0 -0
  360. /package/dist/chunks/{hi-BBav00DN.mjs → hi-DxM0Nff1.mjs} +0 -0
  361. /package/dist/chunks/{hr-B5ZX0r9G.mjs → hr-Onldyi-u.mjs} +0 -0
  362. /package/dist/chunks/{hu-1jgDa3YU.mjs → hu-CAn3pBuY.mjs} +0 -0
  363. /package/dist/chunks/{hy-LX4Kp2PE.mjs → hy-D43q7NxE.mjs} +0 -0
  364. /package/dist/chunks/{i18next-KNC_XV5x.mjs → i18next-BBGW2sDE.mjs} +0 -0
  365. /package/dist/chunks/{id-CcG40D1H.mjs → id-Xrw5Dd0Y.mjs} +0 -0
  366. /package/dist/chunks/{it-Cb8_K72W.mjs → it-CA9ZDMSc.mjs} +0 -0
  367. /package/dist/chunks/{ja-ipCH91mv.mjs → ja-D0J6WRFh.mjs} +0 -0
  368. /package/dist/chunks/{ka-BRvREIgq.mjs → ka-BZL7xDuY.mjs} +0 -0
  369. /package/dist/chunks/{km-BJwVw7Fg.mjs → km-BimgQZVU.mjs} +0 -0
  370. /package/dist/chunks/{kn-BPgUazCC.mjs → kn-C2n2cPHK.mjs} +0 -0
  371. /package/dist/chunks/{ko-CQLzxe7k.mjs → ko-n4Cn93D3.mjs} +0 -0
  372. /package/dist/chunks/{ku-BHhHu8Iz.mjs → ku-BYZCgT44.mjs} +0 -0
  373. /package/dist/chunks/{lo-DsTgYblY.mjs → lo-DVXiAE4N.mjs} +0 -0
  374. /package/dist/chunks/{lt-CDzHJm71.mjs → lt-B9KlQFnY.mjs} +0 -0
  375. /package/dist/chunks/{lv-MLLIAnIX.mjs → lv-BINeOdyx.mjs} +0 -0
  376. /package/dist/chunks/{mdast-util-math-yS0EygZV.mjs → mdast-util-math-CHYUxOHk.mjs} +0 -0
  377. /package/dist/chunks/{mk-DQdmUquZ.mjs → mk-_-QrPrLN.mjs} +0 -0
  378. /package/dist/chunks/{ml-DqehZnra.mjs → ml-KvJSC1KT.mjs} +0 -0
  379. /package/dist/chunks/{mn-4cFkKFjW.mjs → mn-CjFjWnRG.mjs} +0 -0
  380. /package/dist/chunks/{mr-DWiztOP4.mjs → mr-DqAZ7FRX.mjs} +0 -0
  381. /package/dist/chunks/{ms-BSz-iSnc.mjs → ms-BZcV4UG_.mjs} +0 -0
  382. /package/dist/chunks/{my-DbtbM1MW.mjs → my-97SC9jYN.mjs} +0 -0
  383. /package/dist/chunks/{ne-CqALWw_f.mjs → ne-Bs-M2TyF.mjs} +0 -0
  384. /package/dist/chunks/{nl-D_ra6RvH.mjs → nl-2ZwQilo-.mjs} +0 -0
  385. /package/dist/chunks/{no-Cg_kz_jl.mjs → no-fOQTpFq1.mjs} +0 -0
  386. /package/dist/chunks/{notifier-BOwxj_Ok.mjs → notifier-B1zCi9G1.mjs} +0 -0
  387. /package/dist/chunks/{pa-NLAsNqwY.mjs → pa-DLOqkMi0.mjs} +0 -0
  388. /package/dist/chunks/{pl-NHKp4YDg.mjs → pl-FYs9QrXU.mjs} +0 -0
  389. /package/dist/chunks/{ps-D1zEqNeg.mjs → ps-CTXe6pSe.mjs} +0 -0
  390. /package/dist/chunks/{pt-DBtqbUEB.mjs → pt-B1X4x7d1.mjs} +0 -0
  391. /package/dist/chunks/{ro-lqr63ai5.mjs → ro-Bf7S2FaR.mjs} +0 -0
  392. /package/dist/chunks/{ru-BycNnDyN.mjs → ru-B8lqnu_j.mjs} +0 -0
  393. /package/dist/chunks/{sd-DpHpIN9Z.mjs → sd-CHRYJm2r.mjs} +0 -0
  394. /package/dist/chunks/{si-BwiwaC7N.mjs → si-CI0Hs6vH.mjs} +0 -0
  395. /package/dist/chunks/{sk-CqRHT2Gp.mjs → sk-Bdvq1Kb_.mjs} +0 -0
  396. /package/dist/chunks/{sl-DA348uQ_.mjs → sl-B_qiFTV5.mjs} +0 -0
  397. /package/dist/chunks/{sq-D7JNgve1.mjs → sq-E0j1hysP.mjs} +0 -0
  398. /package/dist/chunks/{sr-D8RK6Kwp.mjs → sr-VPpVNTZw.mjs} +0 -0
  399. /package/dist/chunks/{sv-dwgT67ZG.mjs → sv-gKmDSR3d.mjs} +0 -0
  400. /package/dist/chunks/{sw-ZRRJnkem.mjs → sw-zeFLiO23.mjs} +0 -0
  401. /package/dist/chunks/{ta-5x4L5Krl.mjs → ta-Ci-j89hR.mjs} +0 -0
  402. /package/dist/chunks/{te-BZpEimwA.mjs → te-qyMI0M7a.mjs} +0 -0
  403. /package/dist/chunks/{th-Bhr-33kv.mjs → th-DPxHtpdb.mjs} +0 -0
  404. /package/dist/chunks/{tr-6tSNKGNB.mjs → tr-CRV6GS-G.mjs} +0 -0
  405. /package/dist/chunks/{ug-_e-jvr2b.mjs → ug-DW0YFpo5.mjs} +0 -0
  406. /package/dist/chunks/{uk-DooSc2Ja.mjs → uk-ssteuphK.mjs} +0 -0
  407. /package/dist/chunks/{ur-rb-krkIO.mjs → ur-qhY3-jY7.mjs} +0 -0
  408. /package/dist/chunks/{vi-CQkLn2AQ.mjs → vi-CHriMMC8.mjs} +0 -0
  409. /package/dist/chunks/{zh-CXQ40Q2_.mjs → zh-BJktawVN.mjs} +0 -0
@@ -0,0 +1,1692 @@
1
+ import { g as e, h as t, p as n } from "./src-CRgEHLPW.mjs";
2
+ import { I as r, f as i, m as a, r as o, s } from "./chunk-ICPOFSXX-BMja8cuy.mjs";
3
+ import { t as c } from "./dist-DHsXIYdd.mjs";
4
+ //#region node_modules/d3/node_modules/d3-shape/src/curve/linear.js
5
+ function l(e) {
6
+ this._context = e;
7
+ }
8
+ l.prototype = {
9
+ areaStart: function() {
10
+ this._line = 0;
11
+ },
12
+ areaEnd: function() {
13
+ this._line = NaN;
14
+ },
15
+ lineStart: function() {
16
+ this._point = 0;
17
+ },
18
+ lineEnd: function() {
19
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
20
+ },
21
+ point: function(e, t) {
22
+ switch (e = +e, t = +t, this._point) {
23
+ case 0:
24
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
25
+ break;
26
+ case 1: this._point = 2;
27
+ default:
28
+ this._context.lineTo(e, t);
29
+ break;
30
+ }
31
+ }
32
+ };
33
+ function u(e) {
34
+ return new l(e);
35
+ }
36
+ //#endregion
37
+ //#region node_modules/d3/node_modules/d3-shape/src/curve/bump.js
38
+ var d = class {
39
+ constructor(e, t) {
40
+ this._context = e, this._x = t;
41
+ }
42
+ areaStart() {
43
+ this._line = 0;
44
+ }
45
+ areaEnd() {
46
+ this._line = NaN;
47
+ }
48
+ lineStart() {
49
+ this._point = 0;
50
+ }
51
+ lineEnd() {
52
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
53
+ }
54
+ point(e, t) {
55
+ switch (e = +e, t = +t, this._point) {
56
+ case 0:
57
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
58
+ break;
59
+ case 1: this._point = 2;
60
+ default:
61
+ 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);
62
+ break;
63
+ }
64
+ this._x0 = e, this._y0 = t;
65
+ }
66
+ };
67
+ function f(e) {
68
+ return new d(e, !0);
69
+ }
70
+ function p(e) {
71
+ return new d(e, !1);
72
+ }
73
+ //#endregion
74
+ //#region node_modules/d3/node_modules/d3-shape/src/noop.js
75
+ function m() {}
76
+ //#endregion
77
+ //#region node_modules/d3/node_modules/d3-shape/src/curve/basis.js
78
+ function h(e, t, n) {
79
+ 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);
80
+ }
81
+ function g(e) {
82
+ this._context = e;
83
+ }
84
+ g.prototype = {
85
+ areaStart: function() {
86
+ this._line = 0;
87
+ },
88
+ areaEnd: function() {
89
+ this._line = NaN;
90
+ },
91
+ lineStart: function() {
92
+ this._x0 = this._x1 = this._y0 = this._y1 = NaN, this._point = 0;
93
+ },
94
+ lineEnd: function() {
95
+ switch (this._point) {
96
+ case 3: h(this, this._x1, this._y1);
97
+ case 2:
98
+ this._context.lineTo(this._x1, this._y1);
99
+ break;
100
+ }
101
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
102
+ },
103
+ point: function(e, t) {
104
+ switch (e = +e, t = +t, this._point) {
105
+ case 0:
106
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
107
+ break;
108
+ case 1:
109
+ this._point = 2;
110
+ break;
111
+ case 2: this._point = 3, this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);
112
+ default:
113
+ h(this, e, t);
114
+ break;
115
+ }
116
+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
117
+ }
118
+ };
119
+ function ee(e) {
120
+ return new g(e);
121
+ }
122
+ //#endregion
123
+ //#region node_modules/d3/node_modules/d3-shape/src/curve/basisClosed.js
124
+ function te(e) {
125
+ this._context = e;
126
+ }
127
+ te.prototype = {
128
+ areaStart: m,
129
+ areaEnd: m,
130
+ lineStart: function() {
131
+ this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN, this._point = 0;
132
+ },
133
+ lineEnd: function() {
134
+ switch (this._point) {
135
+ case 1:
136
+ this._context.moveTo(this._x2, this._y2), this._context.closePath();
137
+ break;
138
+ case 2:
139
+ 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();
140
+ break;
141
+ case 3:
142
+ this.point(this._x2, this._y2), this.point(this._x3, this._y3), this.point(this._x4, this._y4);
143
+ break;
144
+ }
145
+ },
146
+ point: function(e, t) {
147
+ switch (e = +e, t = +t, this._point) {
148
+ case 0:
149
+ this._point = 1, this._x2 = e, this._y2 = t;
150
+ break;
151
+ case 1:
152
+ this._point = 2, this._x3 = e, this._y3 = t;
153
+ break;
154
+ case 2:
155
+ 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);
156
+ break;
157
+ default:
158
+ h(this, e, t);
159
+ break;
160
+ }
161
+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
162
+ }
163
+ };
164
+ function ne(e) {
165
+ return new te(e);
166
+ }
167
+ //#endregion
168
+ //#region node_modules/d3/node_modules/d3-shape/src/curve/basisOpen.js
169
+ function re(e) {
170
+ this._context = e;
171
+ }
172
+ re.prototype = {
173
+ areaStart: function() {
174
+ this._line = 0;
175
+ },
176
+ areaEnd: function() {
177
+ this._line = NaN;
178
+ },
179
+ lineStart: function() {
180
+ this._x0 = this._x1 = this._y0 = this._y1 = NaN, this._point = 0;
181
+ },
182
+ lineEnd: function() {
183
+ (this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;
184
+ },
185
+ point: function(e, t) {
186
+ switch (e = +e, t = +t, this._point) {
187
+ case 0:
188
+ this._point = 1;
189
+ break;
190
+ case 1:
191
+ this._point = 2;
192
+ break;
193
+ case 2:
194
+ this._point = 3;
195
+ var n = (this._x0 + 4 * this._x1 + e) / 6, r = (this._y0 + 4 * this._y1 + t) / 6;
196
+ this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);
197
+ break;
198
+ case 3: this._point = 4;
199
+ default:
200
+ h(this, e, t);
201
+ break;
202
+ }
203
+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
204
+ }
205
+ };
206
+ function ie(e) {
207
+ return new re(e);
208
+ }
209
+ //#endregion
210
+ //#region node_modules/d3/node_modules/d3-shape/src/curve/bundle.js
211
+ function ae(e, t) {
212
+ this._basis = new g(e), this._beta = t;
213
+ }
214
+ ae.prototype = {
215
+ lineStart: function() {
216
+ this._x = [], this._y = [], this._basis.lineStart();
217
+ },
218
+ lineEnd: function() {
219
+ var e = this._x, t = this._y, n = e.length - 1;
220
+ 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));
221
+ this._x = this._y = null, this._basis.lineEnd();
222
+ },
223
+ point: function(e, t) {
224
+ this._x.push(+e), this._y.push(+t);
225
+ }
226
+ };
227
+ var oe = (function e(t) {
228
+ function n(e) {
229
+ return t === 1 ? new g(e) : new ae(e, t);
230
+ }
231
+ return n.beta = function(t) {
232
+ return e(+t);
233
+ }, n;
234
+ })(.85);
235
+ //#endregion
236
+ //#region node_modules/d3/node_modules/d3-shape/src/curve/cardinal.js
237
+ function _(e, t, n) {
238
+ 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);
239
+ }
240
+ function v(e, t) {
241
+ this._context = e, this._k = (1 - t) / 6;
242
+ }
243
+ v.prototype = {
244
+ areaStart: function() {
245
+ this._line = 0;
246
+ },
247
+ areaEnd: function() {
248
+ this._line = NaN;
249
+ },
250
+ lineStart: function() {
251
+ this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._point = 0;
252
+ },
253
+ lineEnd: function() {
254
+ switch (this._point) {
255
+ case 2:
256
+ this._context.lineTo(this._x2, this._y2);
257
+ break;
258
+ case 3:
259
+ _(this, this._x1, this._y1);
260
+ break;
261
+ }
262
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
263
+ },
264
+ point: function(e, t) {
265
+ switch (e = +e, t = +t, this._point) {
266
+ case 0:
267
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
268
+ break;
269
+ case 1:
270
+ this._point = 2, this._x1 = e, this._y1 = t;
271
+ break;
272
+ case 2: this._point = 3;
273
+ default:
274
+ _(this, e, t);
275
+ break;
276
+ }
277
+ this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
278
+ }
279
+ };
280
+ var se = (function e(t) {
281
+ function n(e) {
282
+ return new v(e, t);
283
+ }
284
+ return n.tension = function(t) {
285
+ return e(+t);
286
+ }, n;
287
+ })(0);
288
+ //#endregion
289
+ //#region node_modules/d3/node_modules/d3-shape/src/curve/cardinalClosed.js
290
+ function y(e, t) {
291
+ this._context = e, this._k = (1 - t) / 6;
292
+ }
293
+ y.prototype = {
294
+ areaStart: m,
295
+ areaEnd: m,
296
+ lineStart: function() {
297
+ 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;
298
+ },
299
+ lineEnd: function() {
300
+ switch (this._point) {
301
+ case 1:
302
+ this._context.moveTo(this._x3, this._y3), this._context.closePath();
303
+ break;
304
+ case 2:
305
+ this._context.lineTo(this._x3, this._y3), this._context.closePath();
306
+ break;
307
+ case 3:
308
+ this.point(this._x3, this._y3), this.point(this._x4, this._y4), this.point(this._x5, this._y5);
309
+ break;
310
+ }
311
+ },
312
+ point: function(e, t) {
313
+ switch (e = +e, t = +t, this._point) {
314
+ case 0:
315
+ this._point = 1, this._x3 = e, this._y3 = t;
316
+ break;
317
+ case 1:
318
+ this._point = 2, this._context.moveTo(this._x4 = e, this._y4 = t);
319
+ break;
320
+ case 2:
321
+ this._point = 3, this._x5 = e, this._y5 = t;
322
+ break;
323
+ default:
324
+ _(this, e, t);
325
+ break;
326
+ }
327
+ this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
328
+ }
329
+ };
330
+ var ce = (function e(t) {
331
+ function n(e) {
332
+ return new y(e, t);
333
+ }
334
+ return n.tension = function(t) {
335
+ return e(+t);
336
+ }, n;
337
+ })(0);
338
+ //#endregion
339
+ //#region node_modules/d3/node_modules/d3-shape/src/curve/cardinalOpen.js
340
+ function b(e, t) {
341
+ this._context = e, this._k = (1 - t) / 6;
342
+ }
343
+ b.prototype = {
344
+ areaStart: function() {
345
+ this._line = 0;
346
+ },
347
+ areaEnd: function() {
348
+ this._line = NaN;
349
+ },
350
+ lineStart: function() {
351
+ this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._point = 0;
352
+ },
353
+ lineEnd: function() {
354
+ (this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;
355
+ },
356
+ point: function(e, t) {
357
+ switch (e = +e, t = +t, this._point) {
358
+ case 0:
359
+ this._point = 1;
360
+ break;
361
+ case 1:
362
+ this._point = 2;
363
+ break;
364
+ case 2:
365
+ this._point = 3, this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);
366
+ break;
367
+ case 3: this._point = 4;
368
+ default:
369
+ _(this, e, t);
370
+ break;
371
+ }
372
+ this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
373
+ }
374
+ };
375
+ var le = (function e(t) {
376
+ function n(e) {
377
+ return new b(e, t);
378
+ }
379
+ return n.tension = function(t) {
380
+ return e(+t);
381
+ }, n;
382
+ })(0);
383
+ //#endregion
384
+ //#region node_modules/d3/node_modules/d3-shape/src/curve/catmullRom.js
385
+ function x(e, t, n) {
386
+ var r = e._x1, i = e._y1, a = e._x2, o = e._y2;
387
+ if (e._l01_a > 1e-12) {
388
+ 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);
389
+ 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;
390
+ }
391
+ if (e._l23_a > 1e-12) {
392
+ 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);
393
+ 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;
394
+ }
395
+ e._context.bezierCurveTo(r, i, a, o, e._x2, e._y2);
396
+ }
397
+ function ue(e, t) {
398
+ this._context = e, this._alpha = t;
399
+ }
400
+ ue.prototype = {
401
+ areaStart: function() {
402
+ this._line = 0;
403
+ },
404
+ areaEnd: function() {
405
+ this._line = NaN;
406
+ },
407
+ lineStart: function() {
408
+ 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;
409
+ },
410
+ lineEnd: function() {
411
+ switch (this._point) {
412
+ case 2:
413
+ this._context.lineTo(this._x2, this._y2);
414
+ break;
415
+ case 3:
416
+ this.point(this._x2, this._y2);
417
+ break;
418
+ }
419
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
420
+ },
421
+ point: function(e, t) {
422
+ if (e = +e, t = +t, this._point) {
423
+ var n = this._x2 - e, r = this._y2 - t;
424
+ this._l23_a = Math.sqrt(this._l23_2a = (n * n + r * r) ** +this._alpha);
425
+ }
426
+ switch (this._point) {
427
+ case 0:
428
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
429
+ break;
430
+ case 1:
431
+ this._point = 2;
432
+ break;
433
+ case 2: this._point = 3;
434
+ default:
435
+ x(this, e, t);
436
+ break;
437
+ }
438
+ 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;
439
+ }
440
+ };
441
+ var de = (function e(t) {
442
+ function n(e) {
443
+ return t ? new ue(e, t) : new v(e, 0);
444
+ }
445
+ return n.alpha = function(t) {
446
+ return e(+t);
447
+ }, n;
448
+ })(.5);
449
+ //#endregion
450
+ //#region node_modules/d3/node_modules/d3-shape/src/curve/catmullRomClosed.js
451
+ function fe(e, t) {
452
+ this._context = e, this._alpha = t;
453
+ }
454
+ fe.prototype = {
455
+ areaStart: m,
456
+ areaEnd: m,
457
+ lineStart: function() {
458
+ 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;
459
+ },
460
+ lineEnd: function() {
461
+ switch (this._point) {
462
+ case 1:
463
+ this._context.moveTo(this._x3, this._y3), this._context.closePath();
464
+ break;
465
+ case 2:
466
+ this._context.lineTo(this._x3, this._y3), this._context.closePath();
467
+ break;
468
+ case 3:
469
+ this.point(this._x3, this._y3), this.point(this._x4, this._y4), this.point(this._x5, this._y5);
470
+ break;
471
+ }
472
+ },
473
+ point: function(e, t) {
474
+ if (e = +e, t = +t, this._point) {
475
+ var n = this._x2 - e, r = this._y2 - t;
476
+ this._l23_a = Math.sqrt(this._l23_2a = (n * n + r * r) ** +this._alpha);
477
+ }
478
+ switch (this._point) {
479
+ case 0:
480
+ this._point = 1, this._x3 = e, this._y3 = t;
481
+ break;
482
+ case 1:
483
+ this._point = 2, this._context.moveTo(this._x4 = e, this._y4 = t);
484
+ break;
485
+ case 2:
486
+ this._point = 3, this._x5 = e, this._y5 = t;
487
+ break;
488
+ default:
489
+ x(this, e, t);
490
+ break;
491
+ }
492
+ 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;
493
+ }
494
+ };
495
+ var pe = (function e(t) {
496
+ function n(e) {
497
+ return t ? new fe(e, t) : new y(e, 0);
498
+ }
499
+ return n.alpha = function(t) {
500
+ return e(+t);
501
+ }, n;
502
+ })(.5);
503
+ //#endregion
504
+ //#region node_modules/d3/node_modules/d3-shape/src/curve/catmullRomOpen.js
505
+ function me(e, t) {
506
+ this._context = e, this._alpha = t;
507
+ }
508
+ me.prototype = {
509
+ areaStart: function() {
510
+ this._line = 0;
511
+ },
512
+ areaEnd: function() {
513
+ this._line = NaN;
514
+ },
515
+ lineStart: function() {
516
+ 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;
517
+ },
518
+ lineEnd: function() {
519
+ (this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;
520
+ },
521
+ point: function(e, t) {
522
+ if (e = +e, t = +t, this._point) {
523
+ var n = this._x2 - e, r = this._y2 - t;
524
+ this._l23_a = Math.sqrt(this._l23_2a = (n * n + r * r) ** +this._alpha);
525
+ }
526
+ switch (this._point) {
527
+ case 0:
528
+ this._point = 1;
529
+ break;
530
+ case 1:
531
+ this._point = 2;
532
+ break;
533
+ case 2:
534
+ this._point = 3, this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);
535
+ break;
536
+ case 3: this._point = 4;
537
+ default:
538
+ x(this, e, t);
539
+ break;
540
+ }
541
+ 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;
542
+ }
543
+ };
544
+ var he = (function e(t) {
545
+ function n(e) {
546
+ return t ? new me(e, t) : new b(e, 0);
547
+ }
548
+ return n.alpha = function(t) {
549
+ return e(+t);
550
+ }, n;
551
+ })(.5);
552
+ //#endregion
553
+ //#region node_modules/d3/node_modules/d3-shape/src/curve/linearClosed.js
554
+ function ge(e) {
555
+ this._context = e;
556
+ }
557
+ ge.prototype = {
558
+ areaStart: m,
559
+ areaEnd: m,
560
+ lineStart: function() {
561
+ this._point = 0;
562
+ },
563
+ lineEnd: function() {
564
+ this._point && this._context.closePath();
565
+ },
566
+ point: function(e, t) {
567
+ e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
568
+ }
569
+ };
570
+ function _e(e) {
571
+ return new ge(e);
572
+ }
573
+ //#endregion
574
+ //#region node_modules/d3/node_modules/d3-shape/src/curve/monotone.js
575
+ function ve(e) {
576
+ return e < 0 ? -1 : 1;
577
+ }
578
+ function ye(e, t, n) {
579
+ 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);
580
+ return (ve(a) + ve(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
581
+ }
582
+ function be(e, t) {
583
+ var n = e._x1 - e._x0;
584
+ return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;
585
+ }
586
+ function S(e, t, n) {
587
+ var r = e._x0, i = e._y0, a = e._x1, o = e._y1, s = (a - r) / 3;
588
+ e._context.bezierCurveTo(r + s, i + s * t, a - s, o - s * n, a, o);
589
+ }
590
+ function C(e) {
591
+ this._context = e;
592
+ }
593
+ C.prototype = {
594
+ areaStart: function() {
595
+ this._line = 0;
596
+ },
597
+ areaEnd: function() {
598
+ this._line = NaN;
599
+ },
600
+ lineStart: function() {
601
+ this._x0 = this._x1 = this._y0 = this._y1 = this._t0 = NaN, this._point = 0;
602
+ },
603
+ lineEnd: function() {
604
+ switch (this._point) {
605
+ case 2:
606
+ this._context.lineTo(this._x1, this._y1);
607
+ break;
608
+ case 3:
609
+ S(this, this._t0, be(this, this._t0));
610
+ break;
611
+ }
612
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
613
+ },
614
+ point: function(e, t) {
615
+ var n = NaN;
616
+ if (e = +e, t = +t, !(e === this._x1 && t === this._y1)) {
617
+ switch (this._point) {
618
+ case 0:
619
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
620
+ break;
621
+ case 1:
622
+ this._point = 2;
623
+ break;
624
+ case 2:
625
+ this._point = 3, S(this, be(this, n = ye(this, e, t)), n);
626
+ break;
627
+ default:
628
+ S(this, this._t0, n = ye(this, e, t));
629
+ break;
630
+ }
631
+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
632
+ }
633
+ }
634
+ };
635
+ function xe(e) {
636
+ this._context = new Se(e);
637
+ }
638
+ (xe.prototype = Object.create(C.prototype)).point = function(e, t) {
639
+ C.prototype.point.call(this, t, e);
640
+ };
641
+ function Se(e) {
642
+ this._context = e;
643
+ }
644
+ Se.prototype = {
645
+ moveTo: function(e, t) {
646
+ this._context.moveTo(t, e);
647
+ },
648
+ closePath: function() {
649
+ this._context.closePath();
650
+ },
651
+ lineTo: function(e, t) {
652
+ this._context.lineTo(t, e);
653
+ },
654
+ bezierCurveTo: function(e, t, n, r, i, a) {
655
+ this._context.bezierCurveTo(t, e, r, n, a, i);
656
+ }
657
+ };
658
+ function Ce(e) {
659
+ return new C(e);
660
+ }
661
+ function we(e) {
662
+ return new xe(e);
663
+ }
664
+ //#endregion
665
+ //#region node_modules/d3/node_modules/d3-shape/src/curve/natural.js
666
+ function Te(e) {
667
+ this._context = e;
668
+ }
669
+ Te.prototype = {
670
+ areaStart: function() {
671
+ this._line = 0;
672
+ },
673
+ areaEnd: function() {
674
+ this._line = NaN;
675
+ },
676
+ lineStart: function() {
677
+ this._x = [], this._y = [];
678
+ },
679
+ lineEnd: function() {
680
+ var e = this._x, t = this._y, n = e.length;
681
+ 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]);
682
+ else for (var r = Ee(e), i = Ee(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]);
683
+ (this._line || this._line !== 0 && n === 1) && this._context.closePath(), this._line = 1 - this._line, this._x = this._y = null;
684
+ },
685
+ point: function(e, t) {
686
+ this._x.push(+e), this._y.push(+t);
687
+ }
688
+ };
689
+ function Ee(e) {
690
+ var t, n = e.length - 1, r, i = Array(n), a = Array(n), o = Array(n);
691
+ 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];
692
+ 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];
693
+ 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];
694
+ 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];
695
+ return [i, a];
696
+ }
697
+ function De(e) {
698
+ return new Te(e);
699
+ }
700
+ //#endregion
701
+ //#region node_modules/d3/node_modules/d3-shape/src/curve/step.js
702
+ function w(e, t) {
703
+ this._context = e, this._t = t;
704
+ }
705
+ w.prototype = {
706
+ areaStart: function() {
707
+ this._line = 0;
708
+ },
709
+ areaEnd: function() {
710
+ this._line = NaN;
711
+ },
712
+ lineStart: function() {
713
+ this._x = this._y = NaN, this._point = 0;
714
+ },
715
+ lineEnd: function() {
716
+ 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);
717
+ },
718
+ point: function(e, t) {
719
+ switch (e = +e, t = +t, this._point) {
720
+ case 0:
721
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
722
+ break;
723
+ case 1: this._point = 2;
724
+ default:
725
+ if (this._t <= 0) this._context.lineTo(this._x, t), this._context.lineTo(e, t);
726
+ else {
727
+ var n = this._x * (1 - this._t) + e * this._t;
728
+ this._context.lineTo(n, this._y), this._context.lineTo(n, t);
729
+ }
730
+ break;
731
+ }
732
+ this._x = e, this._y = t;
733
+ }
734
+ };
735
+ function Oe(e) {
736
+ return new w(e, .5);
737
+ }
738
+ function ke(e) {
739
+ return new w(e, 0);
740
+ }
741
+ function Ae(e) {
742
+ return new w(e, 1);
743
+ }
744
+ //#endregion
745
+ //#region node_modules/mermaid/node_modules/lodash-es/_freeGlobal.js
746
+ var je = typeof global == "object" && global && global.Object === Object && global, Me = typeof self == "object" && self && self.Object === Object && self, T = je || Me || Function("return this")(), E = T.Symbol, Ne = Object.prototype, Pe = Ne.hasOwnProperty, Fe = Ne.toString, D = E ? E.toStringTag : void 0;
747
+ function Ie(e) {
748
+ var t = Pe.call(e, D), n = e[D];
749
+ try {
750
+ e[D] = void 0;
751
+ var r = !0;
752
+ } catch (e) {}
753
+ var i = Fe.call(e);
754
+ return r && (t ? e[D] = n : delete e[D]), i;
755
+ }
756
+ //#endregion
757
+ //#region node_modules/mermaid/node_modules/lodash-es/_objectToString.js
758
+ var Le = Object.prototype.toString;
759
+ function Re(e) {
760
+ return Le.call(e);
761
+ }
762
+ //#endregion
763
+ //#region node_modules/mermaid/node_modules/lodash-es/_baseGetTag.js
764
+ var ze = "[object Null]", Be = "[object Undefined]", Ve = E ? E.toStringTag : void 0;
765
+ function O(e) {
766
+ return e == null ? e === void 0 ? Be : ze : Ve && Ve in Object(e) ? Ie(e) : Re(e);
767
+ }
768
+ //#endregion
769
+ //#region node_modules/mermaid/node_modules/lodash-es/isObject.js
770
+ function k(e) {
771
+ var t = typeof e;
772
+ return e != null && (t == "object" || t == "function");
773
+ }
774
+ //#endregion
775
+ //#region node_modules/mermaid/node_modules/lodash-es/isFunction.js
776
+ var He = "[object AsyncFunction]", Ue = "[object Function]", We = "[object GeneratorFunction]", Ge = "[object Proxy]";
777
+ function A(e) {
778
+ if (!k(e)) return !1;
779
+ var t = O(e);
780
+ return t == Ue || t == We || t == He || t == Ge;
781
+ }
782
+ //#endregion
783
+ //#region node_modules/mermaid/node_modules/lodash-es/_coreJsData.js
784
+ var j = T["__core-js_shared__"], Ke = function() {
785
+ var e = /[^.]+$/.exec(j && j.keys && j.keys.IE_PROTO || "");
786
+ return e ? "Symbol(src)_1." + e : "";
787
+ }();
788
+ function qe(e) {
789
+ return !!Ke && Ke in e;
790
+ }
791
+ //#endregion
792
+ //#region node_modules/mermaid/node_modules/lodash-es/_toSource.js
793
+ var Je = Function.prototype.toString;
794
+ function Ye(e) {
795
+ if (e != null) {
796
+ try {
797
+ return Je.call(e);
798
+ } catch (e) {}
799
+ try {
800
+ return e + "";
801
+ } catch (e) {}
802
+ }
803
+ return "";
804
+ }
805
+ //#endregion
806
+ //#region node_modules/mermaid/node_modules/lodash-es/_baseIsNative.js
807
+ var Xe = /[\\^$.*+?()[\]{}|]/g, Ze = /^\[object .+?Constructor\]$/, Qe = Function.prototype, $e = Object.prototype, et = Qe.toString, tt = $e.hasOwnProperty, nt = RegExp("^" + et.call(tt).replace(Xe, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
808
+ function rt(e) {
809
+ return !k(e) || qe(e) ? !1 : (A(e) ? nt : Ze).test(Ye(e));
810
+ }
811
+ //#endregion
812
+ //#region node_modules/mermaid/node_modules/lodash-es/_getValue.js
813
+ function it(e, t) {
814
+ return e == null ? void 0 : e[t];
815
+ }
816
+ //#endregion
817
+ //#region node_modules/mermaid/node_modules/lodash-es/_getNative.js
818
+ function M(e, t) {
819
+ var n = it(e, t);
820
+ return rt(n) ? n : void 0;
821
+ }
822
+ //#endregion
823
+ //#region node_modules/mermaid/node_modules/lodash-es/_nativeCreate.js
824
+ var N = M(Object, "create");
825
+ //#endregion
826
+ //#region node_modules/mermaid/node_modules/lodash-es/_hashClear.js
827
+ function at() {
828
+ this.__data__ = N ? N(null) : {}, this.size = 0;
829
+ }
830
+ //#endregion
831
+ //#region node_modules/mermaid/node_modules/lodash-es/_hashDelete.js
832
+ function ot(e) {
833
+ var t = this.has(e) && delete this.__data__[e];
834
+ return this.size -= t ? 1 : 0, t;
835
+ }
836
+ //#endregion
837
+ //#region node_modules/mermaid/node_modules/lodash-es/_hashGet.js
838
+ var st = "__lodash_hash_undefined__", ct = Object.prototype.hasOwnProperty;
839
+ function lt(e) {
840
+ var t = this.__data__;
841
+ if (N) {
842
+ var n = t[e];
843
+ return n === st ? void 0 : n;
844
+ }
845
+ return ct.call(t, e) ? t[e] : void 0;
846
+ }
847
+ //#endregion
848
+ //#region node_modules/mermaid/node_modules/lodash-es/_hashHas.js
849
+ var ut = Object.prototype.hasOwnProperty;
850
+ function dt(e) {
851
+ var t = this.__data__;
852
+ return N ? t[e] !== void 0 : ut.call(t, e);
853
+ }
854
+ //#endregion
855
+ //#region node_modules/mermaid/node_modules/lodash-es/_hashSet.js
856
+ var ft = "__lodash_hash_undefined__";
857
+ function pt(e, t) {
858
+ var n = this.__data__;
859
+ return this.size += this.has(e) ? 0 : 1, n[e] = N && t === void 0 ? ft : t, this;
860
+ }
861
+ //#endregion
862
+ //#region node_modules/mermaid/node_modules/lodash-es/_Hash.js
863
+ function P(e) {
864
+ var t = -1, n = e == null ? 0 : e.length;
865
+ for (this.clear(); ++t < n;) {
866
+ var r = e[t];
867
+ this.set(r[0], r[1]);
868
+ }
869
+ }
870
+ P.prototype.clear = at, P.prototype.delete = ot, P.prototype.get = lt, P.prototype.has = dt, P.prototype.set = pt;
871
+ //#endregion
872
+ //#region node_modules/mermaid/node_modules/lodash-es/_listCacheClear.js
873
+ function mt() {
874
+ this.__data__ = [], this.size = 0;
875
+ }
876
+ //#endregion
877
+ //#region node_modules/mermaid/node_modules/lodash-es/eq.js
878
+ function F(e, t) {
879
+ return e === t || e !== e && t !== t;
880
+ }
881
+ //#endregion
882
+ //#region node_modules/mermaid/node_modules/lodash-es/_assocIndexOf.js
883
+ function I(e, t) {
884
+ for (var n = e.length; n--;) if (F(e[n][0], t)) return n;
885
+ return -1;
886
+ }
887
+ //#endregion
888
+ //#region node_modules/mermaid/node_modules/lodash-es/_listCacheDelete.js
889
+ var ht = Array.prototype.splice;
890
+ function gt(e) {
891
+ var t = this.__data__, n = I(t, e);
892
+ return n < 0 ? !1 : (n == t.length - 1 ? t.pop() : ht.call(t, n, 1), --this.size, !0);
893
+ }
894
+ //#endregion
895
+ //#region node_modules/mermaid/node_modules/lodash-es/_listCacheGet.js
896
+ function _t(e) {
897
+ var t = this.__data__, n = I(t, e);
898
+ return n < 0 ? void 0 : t[n][1];
899
+ }
900
+ //#endregion
901
+ //#region node_modules/mermaid/node_modules/lodash-es/_listCacheHas.js
902
+ function vt(e) {
903
+ return I(this.__data__, e) > -1;
904
+ }
905
+ //#endregion
906
+ //#region node_modules/mermaid/node_modules/lodash-es/_listCacheSet.js
907
+ function yt(e, t) {
908
+ var n = this.__data__, r = I(n, e);
909
+ return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
910
+ }
911
+ //#endregion
912
+ //#region node_modules/mermaid/node_modules/lodash-es/_ListCache.js
913
+ function L(e) {
914
+ var t = -1, n = e == null ? 0 : e.length;
915
+ for (this.clear(); ++t < n;) {
916
+ var r = e[t];
917
+ this.set(r[0], r[1]);
918
+ }
919
+ }
920
+ L.prototype.clear = mt, L.prototype.delete = gt, L.prototype.get = _t, L.prototype.has = vt, L.prototype.set = yt;
921
+ //#endregion
922
+ //#region node_modules/mermaid/node_modules/lodash-es/_Map.js
923
+ var bt = M(T, "Map");
924
+ //#endregion
925
+ //#region node_modules/mermaid/node_modules/lodash-es/_mapCacheClear.js
926
+ function xt() {
927
+ this.size = 0, this.__data__ = {
928
+ hash: new P(),
929
+ map: new (bt || L)(),
930
+ string: new P()
931
+ };
932
+ }
933
+ //#endregion
934
+ //#region node_modules/mermaid/node_modules/lodash-es/_isKeyable.js
935
+ function St(e) {
936
+ var t = typeof e;
937
+ return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
938
+ }
939
+ //#endregion
940
+ //#region node_modules/mermaid/node_modules/lodash-es/_getMapData.js
941
+ function R(e, t) {
942
+ var n = e.__data__;
943
+ return St(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
944
+ }
945
+ //#endregion
946
+ //#region node_modules/mermaid/node_modules/lodash-es/_mapCacheDelete.js
947
+ function Ct(e) {
948
+ var t = R(this, e).delete(e);
949
+ return this.size -= t ? 1 : 0, t;
950
+ }
951
+ //#endregion
952
+ //#region node_modules/mermaid/node_modules/lodash-es/_mapCacheGet.js
953
+ function wt(e) {
954
+ return R(this, e).get(e);
955
+ }
956
+ //#endregion
957
+ //#region node_modules/mermaid/node_modules/lodash-es/_mapCacheHas.js
958
+ function Tt(e) {
959
+ return R(this, e).has(e);
960
+ }
961
+ //#endregion
962
+ //#region node_modules/mermaid/node_modules/lodash-es/_mapCacheSet.js
963
+ function Et(e, t) {
964
+ var n = R(this, e), r = n.size;
965
+ return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
966
+ }
967
+ //#endregion
968
+ //#region node_modules/mermaid/node_modules/lodash-es/_MapCache.js
969
+ function z(e) {
970
+ var t = -1, n = e == null ? 0 : e.length;
971
+ for (this.clear(); ++t < n;) {
972
+ var r = e[t];
973
+ this.set(r[0], r[1]);
974
+ }
975
+ }
976
+ z.prototype.clear = xt, z.prototype.delete = Ct, z.prototype.get = wt, z.prototype.has = Tt, z.prototype.set = Et;
977
+ //#endregion
978
+ //#region node_modules/mermaid/node_modules/lodash-es/memoize.js
979
+ var Dt = "Expected a function";
980
+ function B(e, t) {
981
+ if (typeof e != "function" || t != null && typeof t != "function") throw TypeError(Dt);
982
+ var n = function() {
983
+ var r = arguments, i = t ? t.apply(this, r) : r[0], a = n.cache;
984
+ if (a.has(i)) return a.get(i);
985
+ var o = e.apply(this, r);
986
+ return n.cache = a.set(i, o) || a, o;
987
+ };
988
+ return n.cache = new (B.Cache || z)(), n;
989
+ }
990
+ B.Cache = z;
991
+ //#endregion
992
+ //#region node_modules/mermaid/node_modules/lodash-es/_stackClear.js
993
+ function Ot() {
994
+ this.__data__ = new L(), this.size = 0;
995
+ }
996
+ //#endregion
997
+ //#region node_modules/mermaid/node_modules/lodash-es/_stackDelete.js
998
+ function kt(e) {
999
+ var t = this.__data__, n = t.delete(e);
1000
+ return this.size = t.size, n;
1001
+ }
1002
+ //#endregion
1003
+ //#region node_modules/mermaid/node_modules/lodash-es/_stackGet.js
1004
+ function At(e) {
1005
+ return this.__data__.get(e);
1006
+ }
1007
+ //#endregion
1008
+ //#region node_modules/mermaid/node_modules/lodash-es/_stackHas.js
1009
+ function jt(e) {
1010
+ return this.__data__.has(e);
1011
+ }
1012
+ //#endregion
1013
+ //#region node_modules/mermaid/node_modules/lodash-es/_stackSet.js
1014
+ var Mt = 200;
1015
+ function Nt(e, t) {
1016
+ var n = this.__data__;
1017
+ if (n instanceof L) {
1018
+ var r = n.__data__;
1019
+ if (!bt || r.length < Mt - 1) return r.push([e, t]), this.size = ++n.size, this;
1020
+ n = this.__data__ = new z(r);
1021
+ }
1022
+ return n.set(e, t), this.size = n.size, this;
1023
+ }
1024
+ //#endregion
1025
+ //#region node_modules/mermaid/node_modules/lodash-es/_Stack.js
1026
+ function V(e) {
1027
+ this.size = (this.__data__ = new L(e)).size;
1028
+ }
1029
+ V.prototype.clear = Ot, V.prototype.delete = kt, V.prototype.get = At, V.prototype.has = jt, V.prototype.set = Nt;
1030
+ //#endregion
1031
+ //#region node_modules/mermaid/node_modules/lodash-es/_defineProperty.js
1032
+ var H = function() {
1033
+ try {
1034
+ var e = M(Object, "defineProperty");
1035
+ return e({}, "", {}), e;
1036
+ } catch (e) {}
1037
+ }();
1038
+ //#endregion
1039
+ //#region node_modules/mermaid/node_modules/lodash-es/_baseAssignValue.js
1040
+ function Pt(e, t, n) {
1041
+ t == "__proto__" && H ? H(e, t, {
1042
+ configurable: !0,
1043
+ enumerable: !0,
1044
+ value: n,
1045
+ writable: !0
1046
+ }) : e[t] = n;
1047
+ }
1048
+ //#endregion
1049
+ //#region node_modules/mermaid/node_modules/lodash-es/_assignMergeValue.js
1050
+ function Ft(e, t, n) {
1051
+ (n !== void 0 && !F(e[t], n) || n === void 0 && !(t in e)) && Pt(e, t, n);
1052
+ }
1053
+ //#endregion
1054
+ //#region node_modules/mermaid/node_modules/lodash-es/_createBaseFor.js
1055
+ function It(e) {
1056
+ return function(t, n, r) {
1057
+ for (var i = -1, a = Object(t), o = r(t), s = o.length; s--;) {
1058
+ var c = o[e ? s : ++i];
1059
+ if (n(a[c], c, a) === !1) break;
1060
+ }
1061
+ return t;
1062
+ };
1063
+ }
1064
+ //#endregion
1065
+ //#region node_modules/mermaid/node_modules/lodash-es/_baseFor.js
1066
+ var Lt = It(), Rt = typeof exports == "object" && exports && !exports.nodeType && exports, zt = Rt && typeof module == "object" && module && !module.nodeType && module, Bt = zt && zt.exports === Rt ? T.Buffer : void 0, Vt = Bt ? Bt.allocUnsafe : void 0;
1067
+ function Ht(e, t) {
1068
+ if (t) return e.slice();
1069
+ var n = e.length, r = Vt ? Vt(n) : new e.constructor(n);
1070
+ return e.copy(r), r;
1071
+ }
1072
+ //#endregion
1073
+ //#region node_modules/mermaid/node_modules/lodash-es/_Uint8Array.js
1074
+ var Ut = T.Uint8Array;
1075
+ //#endregion
1076
+ //#region node_modules/mermaid/node_modules/lodash-es/_cloneArrayBuffer.js
1077
+ function Wt(e) {
1078
+ var t = new e.constructor(e.byteLength);
1079
+ return new Ut(t).set(new Ut(e)), t;
1080
+ }
1081
+ //#endregion
1082
+ //#region node_modules/mermaid/node_modules/lodash-es/_cloneTypedArray.js
1083
+ function Gt(e, t) {
1084
+ var n = t ? Wt(e.buffer) : e.buffer;
1085
+ return new e.constructor(n, e.byteOffset, e.length);
1086
+ }
1087
+ //#endregion
1088
+ //#region node_modules/mermaid/node_modules/lodash-es/_copyArray.js
1089
+ function Kt(e, t) {
1090
+ var n = -1, r = e.length;
1091
+ for (t || (t = Array(r)); ++n < r;) t[n] = e[n];
1092
+ return t;
1093
+ }
1094
+ //#endregion
1095
+ //#region node_modules/mermaid/node_modules/lodash-es/_baseCreate.js
1096
+ var qt = Object.create, Jt = function() {
1097
+ function e() {}
1098
+ return function(t) {
1099
+ if (!k(t)) return {};
1100
+ if (qt) return qt(t);
1101
+ e.prototype = t;
1102
+ var n = new e();
1103
+ return e.prototype = void 0, n;
1104
+ };
1105
+ }();
1106
+ //#endregion
1107
+ //#region node_modules/mermaid/node_modules/lodash-es/_overArg.js
1108
+ function Yt(e, t) {
1109
+ return function(n) {
1110
+ return e(t(n));
1111
+ };
1112
+ }
1113
+ //#endregion
1114
+ //#region node_modules/mermaid/node_modules/lodash-es/_getPrototype.js
1115
+ var Xt = Yt(Object.getPrototypeOf, Object), Zt = Object.prototype;
1116
+ function U(e) {
1117
+ var t = e && e.constructor;
1118
+ return e === (typeof t == "function" && t.prototype || Zt);
1119
+ }
1120
+ //#endregion
1121
+ //#region node_modules/mermaid/node_modules/lodash-es/_initCloneObject.js
1122
+ function Qt(e) {
1123
+ return typeof e.constructor == "function" && !U(e) ? Jt(Xt(e)) : {};
1124
+ }
1125
+ //#endregion
1126
+ //#region node_modules/mermaid/node_modules/lodash-es/isObjectLike.js
1127
+ function W(e) {
1128
+ return typeof e == "object" && !!e;
1129
+ }
1130
+ //#endregion
1131
+ //#region node_modules/mermaid/node_modules/lodash-es/_baseIsArguments.js
1132
+ var $t = "[object Arguments]";
1133
+ function en(e) {
1134
+ return W(e) && O(e) == $t;
1135
+ }
1136
+ //#endregion
1137
+ //#region node_modules/mermaid/node_modules/lodash-es/isArguments.js
1138
+ var tn = Object.prototype, nn = tn.hasOwnProperty, rn = tn.propertyIsEnumerable, G = en(function() {
1139
+ return arguments;
1140
+ }()) ? en : function(e) {
1141
+ return W(e) && nn.call(e, "callee") && !rn.call(e, "callee");
1142
+ }, K = Array.isArray, an = 9007199254740991;
1143
+ function on(e) {
1144
+ return typeof e == "number" && e > -1 && e % 1 == 0 && e <= an;
1145
+ }
1146
+ //#endregion
1147
+ //#region node_modules/mermaid/node_modules/lodash-es/isArrayLike.js
1148
+ function q(e) {
1149
+ return e != null && on(e.length) && !A(e);
1150
+ }
1151
+ //#endregion
1152
+ //#region node_modules/mermaid/node_modules/lodash-es/isArrayLikeObject.js
1153
+ function sn(e) {
1154
+ return W(e) && q(e);
1155
+ }
1156
+ //#endregion
1157
+ //#region node_modules/mermaid/node_modules/lodash-es/stubFalse.js
1158
+ function cn() {
1159
+ return !1;
1160
+ }
1161
+ //#endregion
1162
+ //#region node_modules/mermaid/node_modules/lodash-es/isBuffer.js
1163
+ var ln = typeof exports == "object" && exports && !exports.nodeType && exports, un = ln && typeof module == "object" && module && !module.nodeType && module, dn = un && un.exports === ln ? T.Buffer : void 0, J = (dn ? dn.isBuffer : void 0) || cn, fn = "[object Object]", pn = Function.prototype, mn = Object.prototype, hn = pn.toString, gn = mn.hasOwnProperty, _n = hn.call(Object);
1164
+ function vn(e) {
1165
+ if (!W(e) || O(e) != fn) return !1;
1166
+ var t = Xt(e);
1167
+ if (t === null) return !0;
1168
+ var n = gn.call(t, "constructor") && t.constructor;
1169
+ return typeof n == "function" && n instanceof n && hn.call(n) == _n;
1170
+ }
1171
+ //#endregion
1172
+ //#region node_modules/mermaid/node_modules/lodash-es/_baseIsTypedArray.js
1173
+ var yn = "[object Arguments]", bn = "[object Array]", xn = "[object Boolean]", Sn = "[object Date]", Cn = "[object Error]", wn = "[object Function]", Tn = "[object Map]", En = "[object Number]", Dn = "[object Object]", On = "[object RegExp]", kn = "[object Set]", An = "[object String]", jn = "[object WeakMap]", Mn = "[object ArrayBuffer]", Nn = "[object DataView]", Pn = "[object Float32Array]", Fn = "[object Float64Array]", In = "[object Int8Array]", Ln = "[object Int16Array]", Rn = "[object Int32Array]", zn = "[object Uint8Array]", Bn = "[object Uint8ClampedArray]", Vn = "[object Uint16Array]", Hn = "[object Uint32Array]", Y = {};
1174
+ Y[Pn] = Y[Fn] = Y[In] = Y[Ln] = Y[Rn] = Y[zn] = Y[Bn] = Y[Vn] = Y[Hn] = !0, Y[yn] = Y[bn] = Y[Mn] = Y[xn] = Y[Nn] = Y[Sn] = Y[Cn] = Y[wn] = Y[Tn] = Y[En] = Y[Dn] = Y[On] = Y[kn] = Y[An] = Y[jn] = !1;
1175
+ function Un(e) {
1176
+ return W(e) && on(e.length) && !!Y[O(e)];
1177
+ }
1178
+ //#endregion
1179
+ //#region node_modules/mermaid/node_modules/lodash-es/_baseUnary.js
1180
+ function Wn(e) {
1181
+ return function(t) {
1182
+ return e(t);
1183
+ };
1184
+ }
1185
+ //#endregion
1186
+ //#region node_modules/mermaid/node_modules/lodash-es/_nodeUtil.js
1187
+ var Gn = typeof exports == "object" && exports && !exports.nodeType && exports, X = Gn && typeof module == "object" && module && !module.nodeType && module, Kn = X && X.exports === Gn && je.process, qn = function() {
1188
+ try {
1189
+ return X && X.require && X.require("util").types || Kn && Kn.binding && Kn.binding("util");
1190
+ } catch (e) {}
1191
+ }(), Jn = qn && qn.isTypedArray, Yn = Jn ? Wn(Jn) : Un;
1192
+ //#endregion
1193
+ //#region node_modules/mermaid/node_modules/lodash-es/_safeGet.js
1194
+ function Xn(e, t) {
1195
+ if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__") return e[t];
1196
+ }
1197
+ //#endregion
1198
+ //#region node_modules/mermaid/node_modules/lodash-es/_assignValue.js
1199
+ var Zn = Object.prototype.hasOwnProperty;
1200
+ function Qn(e, t, n) {
1201
+ var r = e[t];
1202
+ (!(Zn.call(e, t) && F(r, n)) || n === void 0 && !(t in e)) && Pt(e, t, n);
1203
+ }
1204
+ //#endregion
1205
+ //#region node_modules/mermaid/node_modules/lodash-es/_copyObject.js
1206
+ function $n(e, t, n, r) {
1207
+ var i = !n;
1208
+ n || (n = {});
1209
+ for (var a = -1, o = t.length; ++a < o;) {
1210
+ var s = t[a], c = r ? r(n[s], e[s], s, n, e) : void 0;
1211
+ c === void 0 && (c = e[s]), i ? Pt(n, s, c) : Qn(n, s, c);
1212
+ }
1213
+ return n;
1214
+ }
1215
+ //#endregion
1216
+ //#region node_modules/mermaid/node_modules/lodash-es/_baseTimes.js
1217
+ function er(e, t) {
1218
+ for (var n = -1, r = Array(e); ++n < e;) r[n] = t(n);
1219
+ return r;
1220
+ }
1221
+ //#endregion
1222
+ //#region node_modules/mermaid/node_modules/lodash-es/_isIndex.js
1223
+ var tr = 9007199254740991, nr = /^(?:0|[1-9]\d*)$/;
1224
+ function rr(e, t) {
1225
+ var n = typeof e;
1226
+ return t = t == null ? tr : t, !!t && (n == "number" || n != "symbol" && nr.test(e)) && e > -1 && e % 1 == 0 && e < t;
1227
+ }
1228
+ //#endregion
1229
+ //#region node_modules/mermaid/node_modules/lodash-es/_arrayLikeKeys.js
1230
+ var ir = Object.prototype.hasOwnProperty;
1231
+ function ar(e, t) {
1232
+ var n = K(e), r = !n && G(e), i = !n && !r && J(e), a = !n && !r && !i && Yn(e), o = n || r || i || a, s = o ? er(e.length, String) : [], c = s.length;
1233
+ for (var l in e) (t || ir.call(e, l)) && !(o && (l == "length" || i && (l == "offset" || l == "parent") || a && (l == "buffer" || l == "byteLength" || l == "byteOffset") || rr(l, c))) && s.push(l);
1234
+ return s;
1235
+ }
1236
+ //#endregion
1237
+ //#region node_modules/mermaid/node_modules/lodash-es/_nativeKeysIn.js
1238
+ function or(e) {
1239
+ var t = [];
1240
+ if (e != null) for (var n in Object(e)) t.push(n);
1241
+ return t;
1242
+ }
1243
+ //#endregion
1244
+ //#region node_modules/mermaid/node_modules/lodash-es/_baseKeysIn.js
1245
+ var sr = Object.prototype.hasOwnProperty;
1246
+ function cr(e) {
1247
+ if (!k(e)) return or(e);
1248
+ var t = U(e), n = [];
1249
+ for (var r in e) r == "constructor" && (t || !sr.call(e, r)) || n.push(r);
1250
+ return n;
1251
+ }
1252
+ //#endregion
1253
+ //#region node_modules/mermaid/node_modules/lodash-es/keysIn.js
1254
+ function lr(e) {
1255
+ return q(e) ? ar(e, !0) : cr(e);
1256
+ }
1257
+ //#endregion
1258
+ //#region node_modules/mermaid/node_modules/lodash-es/toPlainObject.js
1259
+ function ur(e) {
1260
+ return $n(e, lr(e));
1261
+ }
1262
+ //#endregion
1263
+ //#region node_modules/mermaid/node_modules/lodash-es/_baseMergeDeep.js
1264
+ function dr(e, t, n, r, i, a, o) {
1265
+ var s = Xn(e, n), c = Xn(t, n), l = o.get(c);
1266
+ if (l) {
1267
+ Ft(e, n, l);
1268
+ return;
1269
+ }
1270
+ var u = a ? a(s, c, n + "", e, t, o) : void 0, d = u === void 0;
1271
+ if (d) {
1272
+ var f = K(c), p = !f && J(c), m = !f && !p && Yn(c);
1273
+ u = c, f || p || m ? K(s) ? u = s : sn(s) ? u = Kt(s) : p ? (d = !1, u = Ht(c, !0)) : m ? (d = !1, u = Gt(c, !0)) : u = [] : vn(c) || G(c) ? (u = s, G(s) ? u = ur(s) : (!k(s) || A(s)) && (u = Qt(c))) : d = !1;
1274
+ }
1275
+ d && (o.set(c, u), i(u, c, r, a, o), o.delete(c)), Ft(e, n, u);
1276
+ }
1277
+ //#endregion
1278
+ //#region node_modules/mermaid/node_modules/lodash-es/_baseMerge.js
1279
+ function fr(e, t, n, r, i) {
1280
+ e !== t && Lt(t, function(a, o) {
1281
+ if (i || (i = new V()), k(a)) dr(e, t, o, n, fr, r, i);
1282
+ else {
1283
+ var s = r ? r(Xn(e, o), a, o + "", e, t, i) : void 0;
1284
+ s === void 0 && (s = a), Ft(e, o, s);
1285
+ }
1286
+ }, lr);
1287
+ }
1288
+ //#endregion
1289
+ //#region node_modules/mermaid/node_modules/lodash-es/identity.js
1290
+ function pr(e) {
1291
+ return e;
1292
+ }
1293
+ //#endregion
1294
+ //#region node_modules/mermaid/node_modules/lodash-es/_apply.js
1295
+ function mr(e, t, n) {
1296
+ switch (n.length) {
1297
+ case 0: return e.call(t);
1298
+ case 1: return e.call(t, n[0]);
1299
+ case 2: return e.call(t, n[0], n[1]);
1300
+ case 3: return e.call(t, n[0], n[1], n[2]);
1301
+ }
1302
+ return e.apply(t, n);
1303
+ }
1304
+ //#endregion
1305
+ //#region node_modules/mermaid/node_modules/lodash-es/_overRest.js
1306
+ var hr = Math.max;
1307
+ function gr(e, t, n) {
1308
+ return t = hr(t === void 0 ? e.length - 1 : t, 0), function() {
1309
+ for (var r = arguments, i = -1, a = hr(r.length - t, 0), o = Array(a); ++i < a;) o[i] = r[t + i];
1310
+ i = -1;
1311
+ for (var s = Array(t + 1); ++i < t;) s[i] = r[i];
1312
+ return s[t] = n(o), mr(e, this, s);
1313
+ };
1314
+ }
1315
+ //#endregion
1316
+ //#region node_modules/mermaid/node_modules/lodash-es/constant.js
1317
+ function _r(e) {
1318
+ return function() {
1319
+ return e;
1320
+ };
1321
+ }
1322
+ //#endregion
1323
+ //#region node_modules/mermaid/node_modules/lodash-es/_baseSetToString.js
1324
+ var vr = H ? function(e, t) {
1325
+ return H(e, "toString", {
1326
+ configurable: !0,
1327
+ enumerable: !1,
1328
+ value: _r(t),
1329
+ writable: !0
1330
+ });
1331
+ } : pr, yr = 800, br = 16, xr = Date.now;
1332
+ function Sr(e) {
1333
+ var t = 0, n = 0;
1334
+ return function() {
1335
+ var r = xr(), i = br - (r - n);
1336
+ if (n = r, i > 0) {
1337
+ if (++t >= yr) return arguments[0];
1338
+ } else t = 0;
1339
+ return e.apply(void 0, arguments);
1340
+ };
1341
+ }
1342
+ //#endregion
1343
+ //#region node_modules/mermaid/node_modules/lodash-es/_setToString.js
1344
+ var Cr = Sr(vr);
1345
+ //#endregion
1346
+ //#region node_modules/mermaid/node_modules/lodash-es/_baseRest.js
1347
+ function wr(e, t) {
1348
+ return Cr(gr(e, t, pr), e + "");
1349
+ }
1350
+ //#endregion
1351
+ //#region node_modules/mermaid/node_modules/lodash-es/_isIterateeCall.js
1352
+ function Tr(e, t, n) {
1353
+ if (!k(n)) return !1;
1354
+ var r = typeof t;
1355
+ return (r == "number" ? q(n) && rr(t, n.length) : r == "string" && t in n) ? F(n[t], e) : !1;
1356
+ }
1357
+ //#endregion
1358
+ //#region node_modules/mermaid/node_modules/lodash-es/_createAssigner.js
1359
+ function Er(e) {
1360
+ return wr(function(t, n) {
1361
+ var r = -1, i = n.length, a = i > 1 ? n[i - 1] : void 0, o = i > 2 ? n[2] : void 0;
1362
+ for (a = e.length > 3 && typeof a == "function" ? (i--, a) : void 0, o && Tr(n[0], n[1], o) && (a = i < 3 ? void 0 : a, i = 1), t = Object(t); ++r < i;) {
1363
+ var s = n[r];
1364
+ s && e(t, s, r, a);
1365
+ }
1366
+ return t;
1367
+ });
1368
+ }
1369
+ //#endregion
1370
+ //#region node_modules/mermaid/node_modules/lodash-es/merge.js
1371
+ var Dr = Er(function(e, t, n) {
1372
+ fr(e, t, n);
1373
+ }), Or = c(), kr, Ar = {
1374
+ curveBasis: ee,
1375
+ curveBasisClosed: ne,
1376
+ curveBasisOpen: ie,
1377
+ curveBumpX: f,
1378
+ curveBumpY: p,
1379
+ curveBundle: oe,
1380
+ curveCardinalClosed: ce,
1381
+ curveCardinalOpen: le,
1382
+ curveCardinal: se,
1383
+ curveCatmullRomClosed: pe,
1384
+ curveCatmullRomOpen: he,
1385
+ curveCatmullRom: de,
1386
+ curveLinear: u,
1387
+ curveLinearClosed: _e,
1388
+ curveMonotoneX: Ce,
1389
+ curveMonotoneY: we,
1390
+ curveNatural: De,
1391
+ curveStep: Oe,
1392
+ curveStepAfter: Ae,
1393
+ curveStepBefore: ke
1394
+ }, jr = /\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, Mr = /* @__PURE__ */ t(function(e, t) {
1395
+ let n = Nr(e, /(?:init\b)|(?:initialize\b)/), a = {};
1396
+ if (Array.isArray(n)) {
1397
+ let e = n.map((e) => e.args);
1398
+ r(e), a = o(a, [...e]);
1399
+ } else a = n.args;
1400
+ if (!a) return;
1401
+ let s = i(e, t), c = "config";
1402
+ return a[c] !== void 0 && (s === "flowchart-v2" && (s = "flowchart"), a[s] = a[c], delete a[c]), a;
1403
+ }, "detectInit"), Nr = /* @__PURE__ */ t(function(t, n = null) {
1404
+ try {
1405
+ let o = RegExp(`[%]{2}(?![{]${jr.source})(?=[}][%]{2}).*
1406
+ `, "ig");
1407
+ t = t.trim().replace(o, "").replace(/'/gm, "\""), e.debug(`Detecting diagram directive${n === null ? "" : " type:" + n} based on the text:${t}`);
1408
+ let s, c = [];
1409
+ for (; (s = a.exec(t)) !== null;) {
1410
+ var r, i;
1411
+ if (s.index === a.lastIndex && a.lastIndex++, s && !n || n && (r = s[1]) != null && r.match(n) || n && (i = s[2]) != null && i.match(n)) {
1412
+ let e = s[1] ? s[1] : s[2], t = s[3] ? s[3].trim() : s[4] ? JSON.parse(s[4].trim()) : null;
1413
+ c.push({
1414
+ type: e,
1415
+ args: t
1416
+ });
1417
+ }
1418
+ }
1419
+ return c.length === 0 ? {
1420
+ type: t,
1421
+ args: null
1422
+ } : c.length === 1 ? c[0] : c;
1423
+ } catch (r) {
1424
+ return e.error(`ERROR: ${r.message} - Unable to parse directive type: '${n}' based on the text: '${t}'`), {
1425
+ type: void 0,
1426
+ args: null
1427
+ };
1428
+ }
1429
+ }, "detectDirective"), Pr = /* @__PURE__ */ t(function(e) {
1430
+ return e.replace(a, "");
1431
+ }, "removeDirectives"), Fr = /* @__PURE__ */ t(function(e, t) {
1432
+ for (let [n, r] of t.entries()) if (r.match(e)) return n;
1433
+ return -1;
1434
+ }, "isSubstringInArray");
1435
+ function Ir(e, t) {
1436
+ var n;
1437
+ return e ? (n = Ar[`curve${e.charAt(0).toUpperCase() + e.slice(1)}`]) == null ? t : n : t;
1438
+ }
1439
+ t(Ir, "interpolateToCurve");
1440
+ function Lr(e, t) {
1441
+ let n = e.trim();
1442
+ if (n) return t.securityLevel === "loose" ? n : (0, Or.sanitizeUrl)(n);
1443
+ }
1444
+ t(Lr, "formatUrl");
1445
+ var Rr = /* @__PURE__ */ t((t, ...n) => {
1446
+ let r = t.split("."), i = r.length - 1, a = r[i], o = window;
1447
+ for (let n = 0; n < i; n++) if (o = o[r[n]], !o) {
1448
+ e.error(`Function name: ${t} not found in window`);
1449
+ return;
1450
+ }
1451
+ o[a](...n);
1452
+ }, "runFunc");
1453
+ function zr(e, t) {
1454
+ return !e || !t ? 0 : Math.sqrt((t.x - e.x) ** 2 + (t.y - e.y) ** 2);
1455
+ }
1456
+ t(zr, "distance");
1457
+ function Br(e) {
1458
+ let t, n = 0;
1459
+ return e.forEach((e) => {
1460
+ n += zr(e, t), t = e;
1461
+ }), Ur(e, n / 2);
1462
+ }
1463
+ t(Br, "traverseEdge");
1464
+ function Vr(e) {
1465
+ return e.length === 1 ? e[0] : Br(e);
1466
+ }
1467
+ t(Vr, "calcLabelPosition");
1468
+ var Hr = /* @__PURE__ */ t((e, t = 2) => {
1469
+ let n = 10 ** t;
1470
+ return Math.round(e * n) / n;
1471
+ }, "roundNumber"), Ur = /* @__PURE__ */ t((e, t) => {
1472
+ let n, r = t;
1473
+ for (let t of e) {
1474
+ if (n) {
1475
+ let e = zr(t, n);
1476
+ if (e === 0) return n;
1477
+ if (e < r) r -= e;
1478
+ else {
1479
+ let i = r / e;
1480
+ if (i <= 0) return n;
1481
+ if (i >= 1) return {
1482
+ x: t.x,
1483
+ y: t.y
1484
+ };
1485
+ if (i > 0 && i < 1) return {
1486
+ x: Hr((1 - i) * n.x + i * t.x, 5),
1487
+ y: Hr((1 - i) * n.y + i * t.y, 5)
1488
+ };
1489
+ }
1490
+ }
1491
+ n = t;
1492
+ }
1493
+ throw Error("Could not find a suitable point for the given distance");
1494
+ }, "calculatePoint"), Wr = /* @__PURE__ */ t((t, n, r) => {
1495
+ e.info(`our points ${JSON.stringify(n)}`), n[0] !== r && (n = n.reverse());
1496
+ let i = Ur(n, 25), a = t ? 10 : 5, o = Math.atan2(n[0].y - i.y, n[0].x - i.x), s = {
1497
+ x: 0,
1498
+ y: 0
1499
+ };
1500
+ 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;
1501
+ }, "calcCardinalityPosition");
1502
+ function Gr(t, n, r) {
1503
+ let i = structuredClone(r);
1504
+ e.info("our points", i), n !== "start_left" && n !== "start_right" && i.reverse();
1505
+ let a = Ur(i, 25 + t), o = 10 + t * .5, s = Math.atan2(i[0].y - a.y, i[0].x - a.x), c = {
1506
+ x: 0,
1507
+ y: 0
1508
+ };
1509
+ 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;
1510
+ }
1511
+ t(Gr, "calcTerminalLabelPosition");
1512
+ function Kr(e) {
1513
+ let t = "", n = "";
1514
+ for (let r of e) r !== void 0 && (r.startsWith("color:") || r.startsWith("text-align:") ? n = n + r + ";" : t = t + r + ";");
1515
+ return {
1516
+ style: t,
1517
+ labelStyle: n
1518
+ };
1519
+ }
1520
+ t(Kr, "getStylesFromArray");
1521
+ var qr = 0, Jr = /* @__PURE__ */ t(() => (qr++, "id-" + Math.random().toString(36).substr(2, 12) + "-" + qr), "generateId");
1522
+ function Yr(e) {
1523
+ let t = "";
1524
+ for (let n = 0; n < e; n++) t += "0123456789abcdef".charAt(Math.floor(Math.random() * 16));
1525
+ return t;
1526
+ }
1527
+ t(Yr, "makeRandomHex");
1528
+ var Xr = /* @__PURE__ */ t((e) => Yr(e.length), "random"), Zr = /* @__PURE__ */ t(function() {
1529
+ return {
1530
+ x: 0,
1531
+ y: 0,
1532
+ fill: void 0,
1533
+ anchor: "start",
1534
+ style: "#666",
1535
+ width: 100,
1536
+ height: 100,
1537
+ textMargin: 0,
1538
+ rx: 0,
1539
+ ry: 0,
1540
+ valign: void 0,
1541
+ text: ""
1542
+ };
1543
+ }, "getTextObj"), Qr = /* @__PURE__ */ t(function(e, t) {
1544
+ let n = t.text.replace(s.lineBreakRegex, " "), [, r] = $(t.fontSize), i = e.append("text");
1545
+ 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);
1546
+ let a = i.append("tspan");
1547
+ return a.attr("x", t.x + t.textMargin * 2), a.attr("fill", t.fill), a.text(n), i;
1548
+ }, "drawSimpleText"), $r = B((e, t, n) => {
1549
+ if (!e || (n = Object.assign({
1550
+ fontSize: 12,
1551
+ fontWeight: 400,
1552
+ fontFamily: "Arial",
1553
+ joinWith: "<br/>"
1554
+ }, n), s.lineBreakRegex.test(e))) return e;
1555
+ let r = e.split(" ").filter(Boolean), i = [], a = "";
1556
+ return r.forEach((e, o) => {
1557
+ let s = Z(`${e} `, n), c = Z(a, n);
1558
+ if (s > t) {
1559
+ let { hyphenatedStrings: r, remainingWord: o } = ei(e, t, "-", n);
1560
+ i.push(a, ...r), a = o;
1561
+ } else c + s >= t ? (i.push(a), a = e) : a = [a, e].filter(Boolean).join(" ");
1562
+ o + 1 === r.length && i.push(a);
1563
+ }), i.filter((e) => e !== "").join(n.joinWith);
1564
+ }, (e, t, n) => `${e}${t}${n.fontSize}${n.fontWeight}${n.fontFamily}${n.joinWith}`), ei = B((e, t, n = "-", r) => {
1565
+ r = Object.assign({
1566
+ fontSize: 12,
1567
+ fontWeight: 400,
1568
+ fontFamily: "Arial",
1569
+ margin: 0
1570
+ }, r);
1571
+ let i = [...e], a = [], o = "";
1572
+ return i.forEach((e, s) => {
1573
+ let c = `${o}${e}`;
1574
+ if (Z(c, r) >= t) {
1575
+ let e = s + 1, t = i.length === e, r = `${c}${n}`;
1576
+ a.push(t ? c : r), o = "";
1577
+ } else o = c;
1578
+ }), {
1579
+ hyphenatedStrings: a,
1580
+ remainingWord: o
1581
+ };
1582
+ }, (e, t, n = "-", r) => `${e}${t}${n}${r.fontSize}${r.fontWeight}${r.fontFamily}`);
1583
+ function ti(e, t) {
1584
+ return ni(e, t).height;
1585
+ }
1586
+ t(ti, "calculateTextHeight");
1587
+ function Z(e, t) {
1588
+ return ni(e, t).width;
1589
+ }
1590
+ t(Z, "calculateTextWidth");
1591
+ var ni = B((e, t) => {
1592
+ let { fontSize: r = 12, fontFamily: i = "Arial", fontWeight: a = 400 } = t;
1593
+ if (!e) return {
1594
+ width: 0,
1595
+ height: 0
1596
+ };
1597
+ let [, o] = $(r), c = ["sans-serif", i], l = e.split(s.lineBreakRegex), u = [], d = n("body");
1598
+ if (!d.remove) return {
1599
+ width: 0,
1600
+ height: 0,
1601
+ lineHeight: 0
1602
+ };
1603
+ let f = d.append("svg");
1604
+ for (let e of c) {
1605
+ let t = 0, n = {
1606
+ width: 0,
1607
+ height: 0,
1608
+ lineHeight: 0
1609
+ };
1610
+ for (let r of l) {
1611
+ let i = Zr();
1612
+ i.text = r || "​";
1613
+ let s = Qr(f, i).style("font-size", o).style("font-weight", a).style("font-family", e), c = (s._groups || s)[0][0].getBBox();
1614
+ if (c.width === 0 && c.height === 0) throw Error("svg element not in render tree");
1615
+ 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));
1616
+ }
1617
+ u.push(n);
1618
+ }
1619
+ 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];
1620
+ }, (e, t) => `${e}${t.fontSize}${t.fontWeight}${t.fontFamily}`), ri = (kr = class {
1621
+ constructor(e = !1, t) {
1622
+ this.count = 0, this.count = t ? t.length : 0, this.next = e ? () => this.count++ : () => Date.now();
1623
+ }
1624
+ }, t(kr, "InitIDGenerator"), kr), Q, ii = /* @__PURE__ */ t(function(e) {
1625
+ return Q = Q || document.createElement("div"), e = escape(e).replace(/%26/g, "&").replace(/%23/g, "#").replace(/%3B/g, ";"), Q.innerHTML = e, unescape(Q.textContent);
1626
+ }, "entityDecode");
1627
+ function ai(e) {
1628
+ return "str" in e;
1629
+ }
1630
+ t(ai, "isDetailedError");
1631
+ var oi = /* @__PURE__ */ t((e, t, n, r) => {
1632
+ var i;
1633
+ if (!r) return;
1634
+ let a = (i = e.node()) == null ? void 0 : i.getBBox();
1635
+ a && e.append("text").text(r).attr("text-anchor", "middle").attr("x", a.x + a.width / 2).attr("y", -n).attr("class", t);
1636
+ }, "insertTitle"), $ = /* @__PURE__ */ t((e) => {
1637
+ if (typeof e == "number") return [e, e + "px"];
1638
+ let t = parseInt(e == null ? "" : e, 10);
1639
+ return Number.isNaN(t) ? [void 0, void 0] : e === String(t) ? [t, e + "px"] : [t, e];
1640
+ }, "parseFontSize");
1641
+ function si(e, t) {
1642
+ return Dr({}, e, t);
1643
+ }
1644
+ t(si, "cleanAndMerge");
1645
+ var ci = {
1646
+ assignWithDepth: o,
1647
+ wrapLabel: $r,
1648
+ calculateTextHeight: ti,
1649
+ calculateTextWidth: Z,
1650
+ calculateTextDimensions: ni,
1651
+ cleanAndMerge: si,
1652
+ detectInit: Mr,
1653
+ detectDirective: Nr,
1654
+ isSubstringInArray: Fr,
1655
+ interpolateToCurve: Ir,
1656
+ calcLabelPosition: Vr,
1657
+ calcCardinalityPosition: Wr,
1658
+ calcTerminalLabelPosition: Gr,
1659
+ formatUrl: Lr,
1660
+ getStylesFromArray: Kr,
1661
+ generateId: Jr,
1662
+ random: Xr,
1663
+ runFunc: Rr,
1664
+ entityDecode: ii,
1665
+ insertTitle: oi,
1666
+ isLabelCoordinateInPath: pi,
1667
+ parseFontSize: $,
1668
+ InitIDGenerator: ri
1669
+ }, li = /* @__PURE__ */ t(function(e) {
1670
+ let t = e;
1671
+ return t = t.replace(/style.*:\S*#.*;/g, function(e) {
1672
+ return e.substring(0, e.length - 1);
1673
+ }), t = t.replace(/classDef.*:\S*#.*;/g, function(e) {
1674
+ return e.substring(0, e.length - 1);
1675
+ }), t = t.replace(/#\w+;/g, function(e) {
1676
+ let t = e.substring(1, e.length - 1);
1677
+ return /^\+?\d+$/.test(t) ? "fl°°" + t + "¶ß" : "fl°" + t + "¶ß";
1678
+ }), t;
1679
+ }, "encodeEntities"), ui = /* @__PURE__ */ t(function(e) {
1680
+ return e.replace(/fl°°/g, "&#").replace(/fl°/g, "&").replace(/¶ß/g, ";");
1681
+ }, "decodeEntities"), di = /* @__PURE__ */ t((e, t, { counter: n = 0, prefix: r, suffix: i }, a) => a || `${r ? `${r}_` : ""}${e}_${t}_${n}${i ? `_${i}` : ""}`, "getEdgeId");
1682
+ function fi(e) {
1683
+ return e == null ? null : e;
1684
+ }
1685
+ t(fi, "handleUndefinedAttr");
1686
+ function pi(e, t) {
1687
+ let n = Math.round(e.x), r = Math.round(e.y), i = t.replace(/(\d+\.\d+)/g, (e) => Math.round(parseFloat(e)).toString());
1688
+ return i.includes(n.toString()) || i.includes(r.toString());
1689
+ }
1690
+ t(pi, "isLabelCoordinateInPath");
1691
+ //#endregion
1692
+ export { ee as $, U as A, Ye as B, Wn as C, G as D, K as E, Wt as F, Ae as G, O as H, Ht as I, De as J, ke as K, V as L, Yt as M, Kt as N, W as O, Gt as P, se as Q, bt as R, qn as S, q as T, E as U, k as V, T as W, we as X, Ce as Y, de as Z, lr as _, li as a, Qn as b, Kr as c, ai as d, f as et, $ as f, $r as g, ci as h, ui as i, Xt as j, Qt as k, fi as l, Pr as m, Z as n, u as nt, Jr as o, Xr as p, Oe as q, si as r, di as s, ti as t, p as tt, Ir as u, ar as v, J as w, Yn as x, $n as y, M as z };