@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,2149 @@
1
+ import { o as e, t } from "./chunk-D6kmoKXy.mjs";
2
+ //#region node_modules/dayjs/dayjs.min.js
3
+ var n = /* @__PURE__ */ t(((e, t) => {
4
+ (function(n, r) {
5
+ typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs = r();
6
+ })(e, (function() {
7
+ var e = 1e3, t = 6e4, n = 36e5, r = "millisecond", i = "second", a = "minute", o = "hour", s = "day", c = "week", l = "month", u = "quarter", d = "year", f = "date", p = "Invalid Date", m = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, h = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, g = {
8
+ name: "en",
9
+ weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
10
+ months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
11
+ ordinal: function(e) {
12
+ var t = [
13
+ "th",
14
+ "st",
15
+ "nd",
16
+ "rd"
17
+ ], n = e % 100;
18
+ return "[" + e + (t[(n - 20) % 10] || t[n] || t[0]) + "]";
19
+ }
20
+ }, _ = function(e, t, n) {
21
+ var r = String(e);
22
+ return !r || r.length >= t ? e : "" + Array(t + 1 - r.length).join(n) + e;
23
+ }, v = {
24
+ s: _,
25
+ z: function(e) {
26
+ var t = -e.utcOffset(), n = Math.abs(t), r = Math.floor(n / 60), i = n % 60;
27
+ return (t <= 0 ? "+" : "-") + _(r, 2, "0") + ":" + _(i, 2, "0");
28
+ },
29
+ m: function e(t, n) {
30
+ if (t.date() < n.date()) return -e(n, t);
31
+ var r = 12 * (n.year() - t.year()) + (n.month() - t.month()), i = t.clone().add(r, l), a = n - i < 0, o = t.clone().add(r + (a ? -1 : 1), l);
32
+ return +(-(r + (n - i) / (a ? i - o : o - i)) || 0);
33
+ },
34
+ a: function(e) {
35
+ return e < 0 ? Math.ceil(e) || 0 : Math.floor(e);
36
+ },
37
+ p: function(e) {
38
+ return {
39
+ M: l,
40
+ y: d,
41
+ w: c,
42
+ d: s,
43
+ D: f,
44
+ h: o,
45
+ m: a,
46
+ s: i,
47
+ ms: r,
48
+ Q: u
49
+ }[e] || String(e || "").toLowerCase().replace(/s$/, "");
50
+ },
51
+ u: function(e) {
52
+ return e === void 0;
53
+ }
54
+ }, y = "en", b = {};
55
+ b[y] = g;
56
+ var ee = "$isDayjsObject", te = function(e) {
57
+ return e instanceof w || !(!e || !e[ee]);
58
+ }, x = function e(t, n, r) {
59
+ var i;
60
+ if (!t) return y;
61
+ if (typeof t == "string") {
62
+ var a = t.toLowerCase();
63
+ b[a] && (i = a), n && (b[a] = n, i = a);
64
+ var o = t.split("-");
65
+ if (!i && o.length > 1) return e(o[0]);
66
+ } else {
67
+ var s = t.name;
68
+ b[s] = t, i = s;
69
+ }
70
+ return !r && i && (y = i), i || !r && y;
71
+ }, S = function(e, t) {
72
+ if (te(e)) return e.clone();
73
+ var n = typeof t == "object" ? t : {};
74
+ return n.date = e, n.args = arguments, new w(n);
75
+ }, C = v;
76
+ C.l = x, C.i = te, C.w = function(e, t) {
77
+ return S(e, {
78
+ locale: t.$L,
79
+ utc: t.$u,
80
+ x: t.$x,
81
+ $offset: t.$offset
82
+ });
83
+ };
84
+ var w = function() {
85
+ function g(e) {
86
+ this.$L = x(e.locale, null, !0), this.parse(e), this.$x = this.$x || e.x || {}, this[ee] = !0;
87
+ }
88
+ var _ = g.prototype;
89
+ return _.parse = function(e) {
90
+ this.$d = function(e) {
91
+ var t = e.date, n = e.utc;
92
+ if (t === null) return /* @__PURE__ */ new Date(NaN);
93
+ if (C.u(t)) return /* @__PURE__ */ new Date();
94
+ if (t instanceof Date) return new Date(t);
95
+ if (typeof t == "string" && !/Z$/i.test(t)) {
96
+ var r = t.match(m);
97
+ if (r) {
98
+ var i = r[2] - 1 || 0, a = (r[7] || "0").substring(0, 3);
99
+ return n ? new Date(Date.UTC(r[1], i, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, a)) : new Date(r[1], i, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, a);
100
+ }
101
+ }
102
+ return new Date(t);
103
+ }(e), this.init();
104
+ }, _.init = function() {
105
+ var e = this.$d;
106
+ this.$y = e.getFullYear(), this.$M = e.getMonth(), this.$D = e.getDate(), this.$W = e.getDay(), this.$H = e.getHours(), this.$m = e.getMinutes(), this.$s = e.getSeconds(), this.$ms = e.getMilliseconds();
107
+ }, _.$utils = function() {
108
+ return C;
109
+ }, _.isValid = function() {
110
+ return this.$d.toString() !== p;
111
+ }, _.isSame = function(e, t) {
112
+ var n = S(e);
113
+ return this.startOf(t) <= n && n <= this.endOf(t);
114
+ }, _.isAfter = function(e, t) {
115
+ return S(e) < this.startOf(t);
116
+ }, _.isBefore = function(e, t) {
117
+ return this.endOf(t) < S(e);
118
+ }, _.$g = function(e, t, n) {
119
+ return C.u(e) ? this[t] : this.set(n, e);
120
+ }, _.unix = function() {
121
+ return Math.floor(this.valueOf() / 1e3);
122
+ }, _.valueOf = function() {
123
+ return this.$d.getTime();
124
+ }, _.startOf = function(e, t) {
125
+ var n = this, r = !!C.u(t) || t, u = C.p(e), p = function(e, t) {
126
+ var i = C.w(n.$u ? Date.UTC(n.$y, t, e) : new Date(n.$y, t, e), n);
127
+ return r ? i : i.endOf(s);
128
+ }, m = function(e, t) {
129
+ return C.w(n.toDate()[e].apply(n.toDate("s"), (r ? [
130
+ 0,
131
+ 0,
132
+ 0,
133
+ 0
134
+ ] : [
135
+ 23,
136
+ 59,
137
+ 59,
138
+ 999
139
+ ]).slice(t)), n);
140
+ }, h = this.$W, g = this.$M, _ = this.$D, v = "set" + (this.$u ? "UTC" : "");
141
+ switch (u) {
142
+ case d: return r ? p(1, 0) : p(31, 11);
143
+ case l: return r ? p(1, g) : p(0, g + 1);
144
+ case c:
145
+ var y = this.$locale().weekStart || 0, b = (h < y ? h + 7 : h) - y;
146
+ return p(r ? _ - b : _ + (6 - b), g);
147
+ case s:
148
+ case f: return m(v + "Hours", 0);
149
+ case o: return m(v + "Minutes", 1);
150
+ case a: return m(v + "Seconds", 2);
151
+ case i: return m(v + "Milliseconds", 3);
152
+ default: return this.clone();
153
+ }
154
+ }, _.endOf = function(e) {
155
+ return this.startOf(e, !1);
156
+ }, _.$set = function(e, t) {
157
+ var n, c = C.p(e), u = "set" + (this.$u ? "UTC" : ""), p = (n = {}, n[s] = u + "Date", n[f] = u + "Date", n[l] = u + "Month", n[d] = u + "FullYear", n[o] = u + "Hours", n[a] = u + "Minutes", n[i] = u + "Seconds", n[r] = u + "Milliseconds", n)[c], m = c === s ? this.$D + (t - this.$W) : t;
158
+ if (c === l || c === d) {
159
+ var h = this.clone().set(f, 1);
160
+ h.$d[p](m), h.init(), this.$d = h.set(f, Math.min(this.$D, h.daysInMonth())).$d;
161
+ } else p && this.$d[p](m);
162
+ return this.init(), this;
163
+ }, _.set = function(e, t) {
164
+ return this.clone().$set(e, t);
165
+ }, _.get = function(e) {
166
+ return this[C.p(e)]();
167
+ }, _.add = function(r, u) {
168
+ var f, p = this;
169
+ r = Number(r);
170
+ var m = C.p(u), h = function(e) {
171
+ var t = S(p);
172
+ return C.w(t.date(t.date() + Math.round(e * r)), p);
173
+ };
174
+ if (m === l) return this.set(l, this.$M + r);
175
+ if (m === d) return this.set(d, this.$y + r);
176
+ if (m === s) return h(1);
177
+ if (m === c) return h(7);
178
+ var g = (f = {}, f[a] = t, f[o] = n, f[i] = e, f)[m] || 1, _ = this.$d.getTime() + r * g;
179
+ return C.w(_, this);
180
+ }, _.subtract = function(e, t) {
181
+ return this.add(-1 * e, t);
182
+ }, _.format = function(e) {
183
+ var t = this, n = this.$locale();
184
+ if (!this.isValid()) return n.invalidDate || p;
185
+ var r = e || "YYYY-MM-DDTHH:mm:ssZ", i = C.z(this), a = this.$H, o = this.$m, s = this.$M, c = n.weekdays, l = n.months, u = n.meridiem, d = function(e, n, i, a) {
186
+ return e && (e[n] || e(t, r)) || i[n].slice(0, a);
187
+ }, f = function(e) {
188
+ return C.s(a % 12 || 12, e, "0");
189
+ }, m = u || function(e, t, n) {
190
+ var r = e < 12 ? "AM" : "PM";
191
+ return n ? r.toLowerCase() : r;
192
+ };
193
+ return r.replace(h, (function(e, r) {
194
+ return r || function(e) {
195
+ switch (e) {
196
+ case "YY": return String(t.$y).slice(-2);
197
+ case "YYYY": return C.s(t.$y, 4, "0");
198
+ case "M": return s + 1;
199
+ case "MM": return C.s(s + 1, 2, "0");
200
+ case "MMM": return d(n.monthsShort, s, l, 3);
201
+ case "MMMM": return d(l, s);
202
+ case "D": return t.$D;
203
+ case "DD": return C.s(t.$D, 2, "0");
204
+ case "d": return String(t.$W);
205
+ case "dd": return d(n.weekdaysMin, t.$W, c, 2);
206
+ case "ddd": return d(n.weekdaysShort, t.$W, c, 3);
207
+ case "dddd": return c[t.$W];
208
+ case "H": return String(a);
209
+ case "HH": return C.s(a, 2, "0");
210
+ case "h": return f(1);
211
+ case "hh": return f(2);
212
+ case "a": return m(a, o, !0);
213
+ case "A": return m(a, o, !1);
214
+ case "m": return String(o);
215
+ case "mm": return C.s(o, 2, "0");
216
+ case "s": return String(t.$s);
217
+ case "ss": return C.s(t.$s, 2, "0");
218
+ case "SSS": return C.s(t.$ms, 3, "0");
219
+ case "Z": return i;
220
+ }
221
+ return null;
222
+ }(e) || i.replace(":", "");
223
+ }));
224
+ }, _.utcOffset = function() {
225
+ return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
226
+ }, _.diff = function(r, f, p) {
227
+ var m, h = this, g = C.p(f), _ = S(r), v = (_.utcOffset() - this.utcOffset()) * t, y = this - _, b = function() {
228
+ return C.m(h, _);
229
+ };
230
+ switch (g) {
231
+ case d:
232
+ m = b() / 12;
233
+ break;
234
+ case l:
235
+ m = b();
236
+ break;
237
+ case u:
238
+ m = b() / 3;
239
+ break;
240
+ case c:
241
+ m = (y - v) / 6048e5;
242
+ break;
243
+ case s:
244
+ m = (y - v) / 864e5;
245
+ break;
246
+ case o:
247
+ m = y / n;
248
+ break;
249
+ case a:
250
+ m = y / t;
251
+ break;
252
+ case i:
253
+ m = y / e;
254
+ break;
255
+ default: m = y;
256
+ }
257
+ return p ? m : C.a(m);
258
+ }, _.daysInMonth = function() {
259
+ return this.endOf(l).$D;
260
+ }, _.$locale = function() {
261
+ return b[this.$L];
262
+ }, _.locale = function(e, t) {
263
+ if (!e) return this.$L;
264
+ var n = this.clone(), r = x(e, t, !0);
265
+ return r && (n.$L = r), n;
266
+ }, _.clone = function() {
267
+ return C.w(this.$d, this);
268
+ }, _.toDate = function() {
269
+ return new Date(this.valueOf());
270
+ }, _.toJSON = function() {
271
+ return this.isValid() ? this.toISOString() : null;
272
+ }, _.toISOString = function() {
273
+ return this.$d.toISOString();
274
+ }, _.toString = function() {
275
+ return this.$d.toUTCString();
276
+ }, g;
277
+ }(), T = w.prototype;
278
+ return S.prototype = T, [
279
+ ["$ms", r],
280
+ ["$s", i],
281
+ ["$m", a],
282
+ ["$H", o],
283
+ ["$W", s],
284
+ ["$M", l],
285
+ ["$y", d],
286
+ ["$D", f]
287
+ ].forEach((function(e) {
288
+ T[e[1]] = function(t) {
289
+ return this.$g(t, e[0], e[1]);
290
+ };
291
+ })), S.extend = function(e, t) {
292
+ return e.$i || (e(t, w, S), e.$i = !0), S;
293
+ }, S.locale = x, S.isDayjs = te, S.unix = function(e) {
294
+ return S(1e3 * e);
295
+ }, S.en = b[y], S.Ls = b, S.p = {}, S;
296
+ }));
297
+ })), r = /* @__PURE__ */ e(n(), 1), i = Object.defineProperty, a = (e, t) => i(e, "name", {
298
+ value: t,
299
+ configurable: !0
300
+ }), o = (e, t) => {
301
+ for (var n in t) i(e, n, {
302
+ get: t[n],
303
+ enumerable: !0
304
+ });
305
+ }, s = {
306
+ trace: 0,
307
+ debug: 1,
308
+ info: 2,
309
+ warn: 3,
310
+ error: 4,
311
+ fatal: 5
312
+ }, c = {
313
+ trace: /* @__PURE__ */ a((...e) => {}, "trace"),
314
+ debug: /* @__PURE__ */ a((...e) => {}, "debug"),
315
+ info: /* @__PURE__ */ a((...e) => {}, "info"),
316
+ warn: /* @__PURE__ */ a((...e) => {}, "warn"),
317
+ error: /* @__PURE__ */ a((...e) => {}, "error"),
318
+ fatal: /* @__PURE__ */ a((...e) => {}, "fatal")
319
+ }, l = /* @__PURE__ */ a(function(e = "fatal") {
320
+ let t = s.fatal;
321
+ typeof e == "string" ? e.toLowerCase() in s && (t = s[e]) : typeof e == "number" && (t = e), c.trace = () => {}, c.debug = () => {}, c.info = () => {}, c.warn = () => {}, c.error = () => {}, c.fatal = () => {}, t <= s.fatal && (c.fatal = console.error ? console.error.bind(console, u("FATAL"), "color: orange") : console.log.bind(console, "\x1B[35m", u("FATAL"))), t <= s.error && (c.error = console.error ? console.error.bind(console, u("ERROR"), "color: orange") : console.log.bind(console, "\x1B[31m", u("ERROR"))), t <= s.warn && (c.warn = console.warn ? console.warn.bind(console, u("WARN"), "color: orange") : console.log.bind(console, "\x1B[33m", u("WARN"))), t <= s.info && (c.info = console.info ? console.info.bind(console, u("INFO"), "color: lightblue") : console.log.bind(console, "\x1B[34m", u("INFO"))), t <= s.debug && (c.debug = console.debug ? console.debug.bind(console, u("DEBUG"), "color: lightgreen") : console.log.bind(console, "\x1B[32m", u("DEBUG"))), t <= s.trace && (c.trace = console.debug ? console.debug.bind(console, u("TRACE"), "color: lightgreen") : console.log.bind(console, "\x1B[32m", u("TRACE")));
322
+ }, "setLogLevel"), u = /* @__PURE__ */ a((e) => `%c${(0, r.default)().format("ss.SSS")} : ${e} : `, "format"), d = { value: () => {} };
323
+ function f() {
324
+ for (var e = 0, t = arguments.length, n = {}, r; e < t; ++e) {
325
+ if (!(r = arguments[e] + "") || r in n || /[\s.]/.test(r)) throw Error("illegal type: " + r);
326
+ n[r] = [];
327
+ }
328
+ return new p(n);
329
+ }
330
+ function p(e) {
331
+ this._ = e;
332
+ }
333
+ function m(e, t) {
334
+ return e.trim().split(/^|\s+/).map(function(e) {
335
+ var n = "", r = e.indexOf(".");
336
+ if (r >= 0 && (n = e.slice(r + 1), e = e.slice(0, r)), e && !t.hasOwnProperty(e)) throw Error("unknown type: " + e);
337
+ return {
338
+ type: e,
339
+ name: n
340
+ };
341
+ });
342
+ }
343
+ p.prototype = f.prototype = {
344
+ constructor: p,
345
+ on: function(e, t) {
346
+ var n = this._, r = m(e + "", n), i, a = -1, o = r.length;
347
+ if (arguments.length < 2) {
348
+ for (; ++a < o;) if ((i = (e = r[a]).type) && (i = h(n[i], e.name))) return i;
349
+ return;
350
+ }
351
+ if (t != null && typeof t != "function") throw Error("invalid callback: " + t);
352
+ for (; ++a < o;) if (i = (e = r[a]).type) n[i] = g(n[i], e.name, t);
353
+ else if (t == null) for (i in n) n[i] = g(n[i], e.name, null);
354
+ return this;
355
+ },
356
+ copy: function() {
357
+ var e = {}, t = this._;
358
+ for (var n in t) e[n] = t[n].slice();
359
+ return new p(e);
360
+ },
361
+ call: function(e, t) {
362
+ if ((i = arguments.length - 2) > 0) for (var n = Array(i), r = 0, i, a; r < i; ++r) n[r] = arguments[r + 2];
363
+ if (!this._.hasOwnProperty(e)) throw Error("unknown type: " + e);
364
+ for (a = this._[e], r = 0, i = a.length; r < i; ++r) a[r].value.apply(t, n);
365
+ },
366
+ apply: function(e, t, n) {
367
+ if (!this._.hasOwnProperty(e)) throw Error("unknown type: " + e);
368
+ for (var r = this._[e], i = 0, a = r.length; i < a; ++i) r[i].value.apply(t, n);
369
+ }
370
+ };
371
+ function h(e, t) {
372
+ for (var n = 0, r = e.length, i; n < r; ++n) if ((i = e[n]).name === t) return i.value;
373
+ }
374
+ function g(e, t, n) {
375
+ for (var r = 0, i = e.length; r < i; ++r) if (e[r].name === t) {
376
+ e[r] = d, e = e.slice(0, r).concat(e.slice(r + 1));
377
+ break;
378
+ }
379
+ return n != null && e.push({
380
+ name: t,
381
+ value: n
382
+ }), e;
383
+ }
384
+ var _ = {
385
+ svg: "http://www.w3.org/2000/svg",
386
+ xhtml: "http://www.w3.org/1999/xhtml",
387
+ xlink: "http://www.w3.org/1999/xlink",
388
+ xml: "http://www.w3.org/XML/1998/namespace",
389
+ xmlns: "http://www.w3.org/2000/xmlns/"
390
+ };
391
+ //#endregion
392
+ //#region node_modules/d3-selection/src/namespace.js
393
+ function v(e) {
394
+ var t = e += "", n = t.indexOf(":");
395
+ return n >= 0 && (t = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)), _.hasOwnProperty(t) ? {
396
+ space: _[t],
397
+ local: e
398
+ } : e;
399
+ }
400
+ //#endregion
401
+ //#region node_modules/d3-selection/src/creator.js
402
+ function y(e) {
403
+ return function() {
404
+ var t = this.ownerDocument, n = this.namespaceURI;
405
+ return n === "http://www.w3.org/1999/xhtml" && t.documentElement.namespaceURI === "http://www.w3.org/1999/xhtml" ? t.createElement(e) : t.createElementNS(n, e);
406
+ };
407
+ }
408
+ function b(e) {
409
+ return function() {
410
+ return this.ownerDocument.createElementNS(e.space, e.local);
411
+ };
412
+ }
413
+ function ee(e) {
414
+ var t = v(e);
415
+ return (t.local ? b : y)(t);
416
+ }
417
+ //#endregion
418
+ //#region node_modules/d3-selection/src/selector.js
419
+ function te() {}
420
+ function x(e) {
421
+ return e == null ? te : function() {
422
+ return this.querySelector(e);
423
+ };
424
+ }
425
+ //#endregion
426
+ //#region node_modules/d3-selection/src/selection/select.js
427
+ function S(e) {
428
+ typeof e != "function" && (e = x(e));
429
+ for (var t = this._groups, n = t.length, r = Array(n), i = 0; i < n; ++i) for (var a = t[i], o = a.length, s = r[i] = Array(o), c, l, u = 0; u < o; ++u) (c = a[u]) && (l = e.call(c, c.__data__, u, a)) && ("__data__" in c && (l.__data__ = c.__data__), s[u] = l);
430
+ return new D(r, this._parents);
431
+ }
432
+ //#endregion
433
+ //#region node_modules/d3-selection/src/array.js
434
+ function C(e) {
435
+ return e == null ? [] : Array.isArray(e) ? e : Array.from(e);
436
+ }
437
+ //#endregion
438
+ //#region node_modules/d3-selection/src/selectorAll.js
439
+ function w() {
440
+ return [];
441
+ }
442
+ function T(e) {
443
+ return e == null ? w : function() {
444
+ return this.querySelectorAll(e);
445
+ };
446
+ }
447
+ //#endregion
448
+ //#region node_modules/d3-selection/src/selection/selectAll.js
449
+ function ne(e) {
450
+ return function() {
451
+ return C(e.apply(this, arguments));
452
+ };
453
+ }
454
+ function re(e) {
455
+ e = typeof e == "function" ? ne(e) : T(e);
456
+ for (var t = this._groups, n = t.length, r = [], i = [], a = 0; a < n; ++a) for (var o = t[a], s = o.length, c, l = 0; l < s; ++l) (c = o[l]) && (r.push(e.call(c, c.__data__, l, o)), i.push(c));
457
+ return new D(r, i);
458
+ }
459
+ //#endregion
460
+ //#region node_modules/d3-selection/src/matcher.js
461
+ function ie(e) {
462
+ return function() {
463
+ return this.matches(e);
464
+ };
465
+ }
466
+ function ae(e) {
467
+ return function(t) {
468
+ return t.matches(e);
469
+ };
470
+ }
471
+ //#endregion
472
+ //#region node_modules/d3-selection/src/selection/selectChild.js
473
+ var oe = Array.prototype.find;
474
+ function se(e) {
475
+ return function() {
476
+ return oe.call(this.children, e);
477
+ };
478
+ }
479
+ function ce() {
480
+ return this.firstElementChild;
481
+ }
482
+ function le(e) {
483
+ return this.select(e == null ? ce : se(typeof e == "function" ? e : ae(e)));
484
+ }
485
+ //#endregion
486
+ //#region node_modules/d3-selection/src/selection/selectChildren.js
487
+ var ue = Array.prototype.filter;
488
+ function de() {
489
+ return Array.from(this.children);
490
+ }
491
+ function fe(e) {
492
+ return function() {
493
+ return ue.call(this.children, e);
494
+ };
495
+ }
496
+ function pe(e) {
497
+ return this.selectAll(e == null ? de : fe(typeof e == "function" ? e : ae(e)));
498
+ }
499
+ //#endregion
500
+ //#region node_modules/d3-selection/src/selection/filter.js
501
+ function me(e) {
502
+ typeof e != "function" && (e = ie(e));
503
+ for (var t = this._groups, n = t.length, r = Array(n), i = 0; i < n; ++i) for (var a = t[i], o = a.length, s = r[i] = [], c, l = 0; l < o; ++l) (c = a[l]) && e.call(c, c.__data__, l, a) && s.push(c);
504
+ return new D(r, this._parents);
505
+ }
506
+ //#endregion
507
+ //#region node_modules/d3-selection/src/selection/sparse.js
508
+ function he(e) {
509
+ return Array(e.length);
510
+ }
511
+ //#endregion
512
+ //#region node_modules/d3-selection/src/selection/enter.js
513
+ function ge() {
514
+ return new D(this._enter || this._groups.map(he), this._parents);
515
+ }
516
+ function _e(e, t) {
517
+ this.ownerDocument = e.ownerDocument, this.namespaceURI = e.namespaceURI, this._next = null, this._parent = e, this.__data__ = t;
518
+ }
519
+ _e.prototype = {
520
+ constructor: _e,
521
+ appendChild: function(e) {
522
+ return this._parent.insertBefore(e, this._next);
523
+ },
524
+ insertBefore: function(e, t) {
525
+ return this._parent.insertBefore(e, t);
526
+ },
527
+ querySelector: function(e) {
528
+ return this._parent.querySelector(e);
529
+ },
530
+ querySelectorAll: function(e) {
531
+ return this._parent.querySelectorAll(e);
532
+ }
533
+ };
534
+ //#endregion
535
+ //#region node_modules/d3-selection/src/constant.js
536
+ function ve(e) {
537
+ return function() {
538
+ return e;
539
+ };
540
+ }
541
+ //#endregion
542
+ //#region node_modules/d3-selection/src/selection/data.js
543
+ function ye(e, t, n, r, i, a) {
544
+ for (var o = 0, s, c = t.length, l = a.length; o < l; ++o) (s = t[o]) ? (s.__data__ = a[o], r[o] = s) : n[o] = new _e(e, a[o]);
545
+ for (; o < c; ++o) (s = t[o]) && (i[o] = s);
546
+ }
547
+ function be(e, t, n, r, i, a, o) {
548
+ var s, c, l = /* @__PURE__ */ new Map(), u = t.length, d = a.length, f = Array(u), p;
549
+ for (s = 0; s < u; ++s) (c = t[s]) && (f[s] = p = o.call(c, c.__data__, s, t) + "", l.has(p) ? i[s] = c : l.set(p, c));
550
+ for (s = 0; s < d; ++s) p = o.call(e, a[s], s, a) + "", (c = l.get(p)) ? (r[s] = c, c.__data__ = a[s], l.delete(p)) : n[s] = new _e(e, a[s]);
551
+ for (s = 0; s < u; ++s) (c = t[s]) && l.get(f[s]) === c && (i[s] = c);
552
+ }
553
+ function xe(e) {
554
+ return e.__data__;
555
+ }
556
+ function Se(e, t) {
557
+ if (!arguments.length) return Array.from(this, xe);
558
+ var n = t ? be : ye, r = this._parents, i = this._groups;
559
+ typeof e != "function" && (e = ve(e));
560
+ for (var a = i.length, o = Array(a), s = Array(a), c = Array(a), l = 0; l < a; ++l) {
561
+ var u = r[l], d = i[l], f = d.length, p = Ce(e.call(u, u && u.__data__, l, r)), m = p.length, h = s[l] = Array(m), g = o[l] = Array(m);
562
+ n(u, d, h, g, c[l] = Array(f), p, t);
563
+ for (var _ = 0, v = 0, y, b; _ < m; ++_) if (y = h[_]) {
564
+ for (_ >= v && (v = _ + 1); !(b = g[v]) && ++v < m;);
565
+ y._next = b || null;
566
+ }
567
+ }
568
+ return o = new D(o, r), o._enter = s, o._exit = c, o;
569
+ }
570
+ function Ce(e) {
571
+ return typeof e == "object" && "length" in e ? e : Array.from(e);
572
+ }
573
+ //#endregion
574
+ //#region node_modules/d3-selection/src/selection/exit.js
575
+ function we() {
576
+ return new D(this._exit || this._groups.map(he), this._parents);
577
+ }
578
+ //#endregion
579
+ //#region node_modules/d3-selection/src/selection/join.js
580
+ function Te(e, t, n) {
581
+ var r = this.enter(), i = this, a = this.exit();
582
+ return typeof e == "function" ? (r = e(r), r && (r = r.selection())) : r = r.append(e + ""), t != null && (i = t(i), i && (i = i.selection())), n == null ? a.remove() : n(a), r && i ? r.merge(i).order() : i;
583
+ }
584
+ //#endregion
585
+ //#region node_modules/d3-selection/src/selection/merge.js
586
+ function Ee(e) {
587
+ for (var t = e.selection ? e.selection() : e, n = this._groups, r = t._groups, i = n.length, a = r.length, o = Math.min(i, a), s = Array(i), c = 0; c < o; ++c) for (var l = n[c], u = r[c], d = l.length, f = s[c] = Array(d), p, m = 0; m < d; ++m) (p = l[m] || u[m]) && (f[m] = p);
588
+ for (; c < i; ++c) s[c] = n[c];
589
+ return new D(s, this._parents);
590
+ }
591
+ //#endregion
592
+ //#region node_modules/d3-selection/src/selection/order.js
593
+ function De() {
594
+ for (var e = this._groups, t = -1, n = e.length; ++t < n;) for (var r = e[t], i = r.length - 1, a = r[i], o; --i >= 0;) (o = r[i]) && (a && o.compareDocumentPosition(a) ^ 4 && a.parentNode.insertBefore(o, a), a = o);
595
+ return this;
596
+ }
597
+ //#endregion
598
+ //#region node_modules/d3-selection/src/selection/sort.js
599
+ function Oe(e) {
600
+ e || (e = ke);
601
+ function t(t, n) {
602
+ return t && n ? e(t.__data__, n.__data__) : !t - !n;
603
+ }
604
+ for (var n = this._groups, r = n.length, i = Array(r), a = 0; a < r; ++a) {
605
+ for (var o = n[a], s = o.length, c = i[a] = Array(s), l, u = 0; u < s; ++u) (l = o[u]) && (c[u] = l);
606
+ c.sort(t);
607
+ }
608
+ return new D(i, this._parents).order();
609
+ }
610
+ function ke(e, t) {
611
+ return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
612
+ }
613
+ //#endregion
614
+ //#region node_modules/d3-selection/src/selection/call.js
615
+ function Ae() {
616
+ var e = arguments[0];
617
+ return arguments[0] = this, e.apply(null, arguments), this;
618
+ }
619
+ //#endregion
620
+ //#region node_modules/d3-selection/src/selection/nodes.js
621
+ function je() {
622
+ return Array.from(this);
623
+ }
624
+ //#endregion
625
+ //#region node_modules/d3-selection/src/selection/node.js
626
+ function Me() {
627
+ for (var e = this._groups, t = 0, n = e.length; t < n; ++t) for (var r = e[t], i = 0, a = r.length; i < a; ++i) {
628
+ var o = r[i];
629
+ if (o) return o;
630
+ }
631
+ return null;
632
+ }
633
+ //#endregion
634
+ //#region node_modules/d3-selection/src/selection/size.js
635
+ function Ne() {
636
+ let e = 0;
637
+ for (let t of this) ++e;
638
+ return e;
639
+ }
640
+ //#endregion
641
+ //#region node_modules/d3-selection/src/selection/empty.js
642
+ function Pe() {
643
+ return !this.node();
644
+ }
645
+ //#endregion
646
+ //#region node_modules/d3-selection/src/selection/each.js
647
+ function Fe(e) {
648
+ for (var t = this._groups, n = 0, r = t.length; n < r; ++n) for (var i = t[n], a = 0, o = i.length, s; a < o; ++a) (s = i[a]) && e.call(s, s.__data__, a, i);
649
+ return this;
650
+ }
651
+ //#endregion
652
+ //#region node_modules/d3-selection/src/selection/attr.js
653
+ function Ie(e) {
654
+ return function() {
655
+ this.removeAttribute(e);
656
+ };
657
+ }
658
+ function Le(e) {
659
+ return function() {
660
+ this.removeAttributeNS(e.space, e.local);
661
+ };
662
+ }
663
+ function Re(e, t) {
664
+ return function() {
665
+ this.setAttribute(e, t);
666
+ };
667
+ }
668
+ function ze(e, t) {
669
+ return function() {
670
+ this.setAttributeNS(e.space, e.local, t);
671
+ };
672
+ }
673
+ function Be(e, t) {
674
+ return function() {
675
+ var n = t.apply(this, arguments);
676
+ n == null ? this.removeAttribute(e) : this.setAttribute(e, n);
677
+ };
678
+ }
679
+ function Ve(e, t) {
680
+ return function() {
681
+ var n = t.apply(this, arguments);
682
+ n == null ? this.removeAttributeNS(e.space, e.local) : this.setAttributeNS(e.space, e.local, n);
683
+ };
684
+ }
685
+ function He(e, t) {
686
+ var n = v(e);
687
+ if (arguments.length < 2) {
688
+ var r = this.node();
689
+ return n.local ? r.getAttributeNS(n.space, n.local) : r.getAttribute(n);
690
+ }
691
+ return this.each((t == null ? n.local ? Le : Ie : typeof t == "function" ? n.local ? Ve : Be : n.local ? ze : Re)(n, t));
692
+ }
693
+ //#endregion
694
+ //#region node_modules/d3-selection/src/window.js
695
+ function Ue(e) {
696
+ return e.ownerDocument && e.ownerDocument.defaultView || e.document && e || e.defaultView;
697
+ }
698
+ //#endregion
699
+ //#region node_modules/d3-selection/src/selection/style.js
700
+ function We(e) {
701
+ return function() {
702
+ this.style.removeProperty(e);
703
+ };
704
+ }
705
+ function Ge(e, t, n) {
706
+ return function() {
707
+ this.style.setProperty(e, t, n);
708
+ };
709
+ }
710
+ function Ke(e, t, n) {
711
+ return function() {
712
+ var r = t.apply(this, arguments);
713
+ r == null ? this.style.removeProperty(e) : this.style.setProperty(e, r, n);
714
+ };
715
+ }
716
+ function qe(e, t, n) {
717
+ return arguments.length > 1 ? this.each((t == null ? We : typeof t == "function" ? Ke : Ge)(e, t, n == null ? "" : n)) : E(this.node(), e);
718
+ }
719
+ function E(e, t) {
720
+ return e.style.getPropertyValue(t) || Ue(e).getComputedStyle(e, null).getPropertyValue(t);
721
+ }
722
+ //#endregion
723
+ //#region node_modules/d3-selection/src/selection/property.js
724
+ function Je(e) {
725
+ return function() {
726
+ delete this[e];
727
+ };
728
+ }
729
+ function Ye(e, t) {
730
+ return function() {
731
+ this[e] = t;
732
+ };
733
+ }
734
+ function Xe(e, t) {
735
+ return function() {
736
+ var n = t.apply(this, arguments);
737
+ n == null ? delete this[e] : this[e] = n;
738
+ };
739
+ }
740
+ function Ze(e, t) {
741
+ return arguments.length > 1 ? this.each((t == null ? Je : typeof t == "function" ? Xe : Ye)(e, t)) : this.node()[e];
742
+ }
743
+ //#endregion
744
+ //#region node_modules/d3-selection/src/selection/classed.js
745
+ function Qe(e) {
746
+ return e.trim().split(/^|\s+/);
747
+ }
748
+ function $e(e) {
749
+ return e.classList || new et(e);
750
+ }
751
+ function et(e) {
752
+ this._node = e, this._names = Qe(e.getAttribute("class") || "");
753
+ }
754
+ et.prototype = {
755
+ add: function(e) {
756
+ this._names.indexOf(e) < 0 && (this._names.push(e), this._node.setAttribute("class", this._names.join(" ")));
757
+ },
758
+ remove: function(e) {
759
+ var t = this._names.indexOf(e);
760
+ t >= 0 && (this._names.splice(t, 1), this._node.setAttribute("class", this._names.join(" ")));
761
+ },
762
+ contains: function(e) {
763
+ return this._names.indexOf(e) >= 0;
764
+ }
765
+ };
766
+ function tt(e, t) {
767
+ for (var n = $e(e), r = -1, i = t.length; ++r < i;) n.add(t[r]);
768
+ }
769
+ function nt(e, t) {
770
+ for (var n = $e(e), r = -1, i = t.length; ++r < i;) n.remove(t[r]);
771
+ }
772
+ function rt(e) {
773
+ return function() {
774
+ tt(this, e);
775
+ };
776
+ }
777
+ function it(e) {
778
+ return function() {
779
+ nt(this, e);
780
+ };
781
+ }
782
+ function at(e, t) {
783
+ return function() {
784
+ (t.apply(this, arguments) ? tt : nt)(this, e);
785
+ };
786
+ }
787
+ function ot(e, t) {
788
+ var n = Qe(e + "");
789
+ if (arguments.length < 2) {
790
+ for (var r = $e(this.node()), i = -1, a = n.length; ++i < a;) if (!r.contains(n[i])) return !1;
791
+ return !0;
792
+ }
793
+ return this.each((typeof t == "function" ? at : t ? rt : it)(n, t));
794
+ }
795
+ //#endregion
796
+ //#region node_modules/d3-selection/src/selection/text.js
797
+ function st() {
798
+ this.textContent = "";
799
+ }
800
+ function ct(e) {
801
+ return function() {
802
+ this.textContent = e;
803
+ };
804
+ }
805
+ function lt(e) {
806
+ return function() {
807
+ var t = e.apply(this, arguments);
808
+ this.textContent = t == null ? "" : t;
809
+ };
810
+ }
811
+ function ut(e) {
812
+ return arguments.length ? this.each(e == null ? st : (typeof e == "function" ? lt : ct)(e)) : this.node().textContent;
813
+ }
814
+ //#endregion
815
+ //#region node_modules/d3-selection/src/selection/html.js
816
+ function dt() {
817
+ this.innerHTML = "";
818
+ }
819
+ function ft(e) {
820
+ return function() {
821
+ this.innerHTML = e;
822
+ };
823
+ }
824
+ function pt(e) {
825
+ return function() {
826
+ var t = e.apply(this, arguments);
827
+ this.innerHTML = t == null ? "" : t;
828
+ };
829
+ }
830
+ function mt(e) {
831
+ return arguments.length ? this.each(e == null ? dt : (typeof e == "function" ? pt : ft)(e)) : this.node().innerHTML;
832
+ }
833
+ //#endregion
834
+ //#region node_modules/d3-selection/src/selection/raise.js
835
+ function ht() {
836
+ this.nextSibling && this.parentNode.appendChild(this);
837
+ }
838
+ function gt() {
839
+ return this.each(ht);
840
+ }
841
+ //#endregion
842
+ //#region node_modules/d3-selection/src/selection/lower.js
843
+ function _t() {
844
+ this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild);
845
+ }
846
+ function vt() {
847
+ return this.each(_t);
848
+ }
849
+ //#endregion
850
+ //#region node_modules/d3-selection/src/selection/append.js
851
+ function yt(e) {
852
+ var t = typeof e == "function" ? e : ee(e);
853
+ return this.select(function() {
854
+ return this.appendChild(t.apply(this, arguments));
855
+ });
856
+ }
857
+ //#endregion
858
+ //#region node_modules/d3-selection/src/selection/insert.js
859
+ function bt() {
860
+ return null;
861
+ }
862
+ function xt(e, t) {
863
+ var n = typeof e == "function" ? e : ee(e), r = t == null ? bt : typeof t == "function" ? t : x(t);
864
+ return this.select(function() {
865
+ return this.insertBefore(n.apply(this, arguments), r.apply(this, arguments) || null);
866
+ });
867
+ }
868
+ //#endregion
869
+ //#region node_modules/d3-selection/src/selection/remove.js
870
+ function St() {
871
+ var e = this.parentNode;
872
+ e && e.removeChild(this);
873
+ }
874
+ function Ct() {
875
+ return this.each(St);
876
+ }
877
+ //#endregion
878
+ //#region node_modules/d3-selection/src/selection/clone.js
879
+ function wt() {
880
+ var e = this.cloneNode(!1), t = this.parentNode;
881
+ return t ? t.insertBefore(e, this.nextSibling) : e;
882
+ }
883
+ function Tt() {
884
+ var e = this.cloneNode(!0), t = this.parentNode;
885
+ return t ? t.insertBefore(e, this.nextSibling) : e;
886
+ }
887
+ function Et(e) {
888
+ return this.select(e ? Tt : wt);
889
+ }
890
+ //#endregion
891
+ //#region node_modules/d3-selection/src/selection/datum.js
892
+ function Dt(e) {
893
+ return arguments.length ? this.property("__data__", e) : this.node().__data__;
894
+ }
895
+ //#endregion
896
+ //#region node_modules/d3-selection/src/selection/on.js
897
+ function Ot(e) {
898
+ return function(t) {
899
+ e.call(this, t, this.__data__);
900
+ };
901
+ }
902
+ function kt(e) {
903
+ return e.trim().split(/^|\s+/).map(function(e) {
904
+ var t = "", n = e.indexOf(".");
905
+ return n >= 0 && (t = e.slice(n + 1), e = e.slice(0, n)), {
906
+ type: e,
907
+ name: t
908
+ };
909
+ });
910
+ }
911
+ function At(e) {
912
+ return function() {
913
+ var t = this.__on;
914
+ if (t) {
915
+ for (var n = 0, r = -1, i = t.length, a; n < i; ++n) a = t[n], (!e.type || a.type === e.type) && a.name === e.name ? this.removeEventListener(a.type, a.listener, a.options) : t[++r] = a;
916
+ ++r ? t.length = r : delete this.__on;
917
+ }
918
+ };
919
+ }
920
+ function jt(e, t, n) {
921
+ return function() {
922
+ var r = this.__on, i, a = Ot(t);
923
+ if (r) {
924
+ for (var o = 0, s = r.length; o < s; ++o) if ((i = r[o]).type === e.type && i.name === e.name) {
925
+ this.removeEventListener(i.type, i.listener, i.options), this.addEventListener(i.type, i.listener = a, i.options = n), i.value = t;
926
+ return;
927
+ }
928
+ }
929
+ this.addEventListener(e.type, a, n), i = {
930
+ type: e.type,
931
+ name: e.name,
932
+ value: t,
933
+ listener: a,
934
+ options: n
935
+ }, r ? r.push(i) : this.__on = [i];
936
+ };
937
+ }
938
+ function Mt(e, t, n) {
939
+ var r = kt(e + ""), i, a = r.length, o;
940
+ if (arguments.length < 2) {
941
+ var s = this.node().__on;
942
+ if (s) {
943
+ for (var c = 0, l = s.length, u; c < l; ++c) for (i = 0, u = s[c]; i < a; ++i) if ((o = r[i]).type === u.type && o.name === u.name) return u.value;
944
+ }
945
+ return;
946
+ }
947
+ for (s = t ? jt : At, i = 0; i < a; ++i) this.each(s(r[i], t, n));
948
+ return this;
949
+ }
950
+ //#endregion
951
+ //#region node_modules/d3-selection/src/selection/dispatch.js
952
+ function Nt(e, t, n) {
953
+ var r = Ue(e), i = r.CustomEvent;
954
+ typeof i == "function" ? i = new i(t, n) : (i = r.document.createEvent("Event"), n ? (i.initEvent(t, n.bubbles, n.cancelable), i.detail = n.detail) : i.initEvent(t, !1, !1)), e.dispatchEvent(i);
955
+ }
956
+ function Pt(e, t) {
957
+ return function() {
958
+ return Nt(this, e, t);
959
+ };
960
+ }
961
+ function Ft(e, t) {
962
+ return function() {
963
+ return Nt(this, e, t.apply(this, arguments));
964
+ };
965
+ }
966
+ function It(e, t) {
967
+ return this.each((typeof t == "function" ? Ft : Pt)(e, t));
968
+ }
969
+ //#endregion
970
+ //#region node_modules/d3-selection/src/selection/iterator.js
971
+ function* Lt() {
972
+ for (var e = this._groups, t = 0, n = e.length; t < n; ++t) for (var r = e[t], i = 0, a = r.length, o; i < a; ++i) (o = r[i]) && (yield o);
973
+ }
974
+ //#endregion
975
+ //#region node_modules/d3-selection/src/selection/index.js
976
+ var Rt = [null];
977
+ function D(e, t) {
978
+ this._groups = e, this._parents = t;
979
+ }
980
+ function O() {
981
+ return new D([[document.documentElement]], Rt);
982
+ }
983
+ function zt() {
984
+ return this;
985
+ }
986
+ D.prototype = O.prototype = {
987
+ constructor: D,
988
+ select: S,
989
+ selectAll: re,
990
+ selectChild: le,
991
+ selectChildren: pe,
992
+ filter: me,
993
+ data: Se,
994
+ enter: ge,
995
+ exit: we,
996
+ join: Te,
997
+ merge: Ee,
998
+ selection: zt,
999
+ order: De,
1000
+ sort: Oe,
1001
+ call: Ae,
1002
+ nodes: je,
1003
+ node: Me,
1004
+ size: Ne,
1005
+ empty: Pe,
1006
+ each: Fe,
1007
+ attr: He,
1008
+ style: qe,
1009
+ property: Ze,
1010
+ classed: ot,
1011
+ text: ut,
1012
+ html: mt,
1013
+ raise: gt,
1014
+ lower: vt,
1015
+ append: yt,
1016
+ insert: xt,
1017
+ remove: Ct,
1018
+ clone: Et,
1019
+ datum: Dt,
1020
+ on: Mt,
1021
+ dispatch: It,
1022
+ [Symbol.iterator]: Lt
1023
+ };
1024
+ //#endregion
1025
+ //#region node_modules/d3-selection/src/select.js
1026
+ function Bt(e) {
1027
+ return typeof e == "string" ? new D([[document.querySelector(e)]], [document.documentElement]) : new D([[e]], Rt);
1028
+ }
1029
+ //#endregion
1030
+ //#region node_modules/d3-color/src/define.js
1031
+ function Vt(e, t, n) {
1032
+ e.prototype = t.prototype = n, n.constructor = e;
1033
+ }
1034
+ function Ht(e, t) {
1035
+ var n = Object.create(e.prototype);
1036
+ for (var r in t) n[r] = t[r];
1037
+ return n;
1038
+ }
1039
+ //#endregion
1040
+ //#region node_modules/d3-color/src/color.js
1041
+ function k() {}
1042
+ var A = .7, Ut = 1 / A, j = "\\s*([+-]?\\d+)\\s*", M = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", N = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Wt = /^#([0-9a-f]{3,8})$/, Gt = RegExp(`^rgb\\(${j},${j},${j}\\)$`), Kt = RegExp(`^rgb\\(${N},${N},${N}\\)$`), qt = RegExp(`^rgba\\(${j},${j},${j},${M}\\)$`), Jt = RegExp(`^rgba\\(${N},${N},${N},${M}\\)$`), Yt = RegExp(`^hsl\\(${M},${N},${N}\\)$`), Xt = RegExp(`^hsla\\(${M},${N},${N},${M}\\)$`), Zt = {
1043
+ aliceblue: 15792383,
1044
+ antiquewhite: 16444375,
1045
+ aqua: 65535,
1046
+ aquamarine: 8388564,
1047
+ azure: 15794175,
1048
+ beige: 16119260,
1049
+ bisque: 16770244,
1050
+ black: 0,
1051
+ blanchedalmond: 16772045,
1052
+ blue: 255,
1053
+ blueviolet: 9055202,
1054
+ brown: 10824234,
1055
+ burlywood: 14596231,
1056
+ cadetblue: 6266528,
1057
+ chartreuse: 8388352,
1058
+ chocolate: 13789470,
1059
+ coral: 16744272,
1060
+ cornflowerblue: 6591981,
1061
+ cornsilk: 16775388,
1062
+ crimson: 14423100,
1063
+ cyan: 65535,
1064
+ darkblue: 139,
1065
+ darkcyan: 35723,
1066
+ darkgoldenrod: 12092939,
1067
+ darkgray: 11119017,
1068
+ darkgreen: 25600,
1069
+ darkgrey: 11119017,
1070
+ darkkhaki: 12433259,
1071
+ darkmagenta: 9109643,
1072
+ darkolivegreen: 5597999,
1073
+ darkorange: 16747520,
1074
+ darkorchid: 10040012,
1075
+ darkred: 9109504,
1076
+ darksalmon: 15308410,
1077
+ darkseagreen: 9419919,
1078
+ darkslateblue: 4734347,
1079
+ darkslategray: 3100495,
1080
+ darkslategrey: 3100495,
1081
+ darkturquoise: 52945,
1082
+ darkviolet: 9699539,
1083
+ deeppink: 16716947,
1084
+ deepskyblue: 49151,
1085
+ dimgray: 6908265,
1086
+ dimgrey: 6908265,
1087
+ dodgerblue: 2003199,
1088
+ firebrick: 11674146,
1089
+ floralwhite: 16775920,
1090
+ forestgreen: 2263842,
1091
+ fuchsia: 16711935,
1092
+ gainsboro: 14474460,
1093
+ ghostwhite: 16316671,
1094
+ gold: 16766720,
1095
+ goldenrod: 14329120,
1096
+ gray: 8421504,
1097
+ green: 32768,
1098
+ greenyellow: 11403055,
1099
+ grey: 8421504,
1100
+ honeydew: 15794160,
1101
+ hotpink: 16738740,
1102
+ indianred: 13458524,
1103
+ indigo: 4915330,
1104
+ ivory: 16777200,
1105
+ khaki: 15787660,
1106
+ lavender: 15132410,
1107
+ lavenderblush: 16773365,
1108
+ lawngreen: 8190976,
1109
+ lemonchiffon: 16775885,
1110
+ lightblue: 11393254,
1111
+ lightcoral: 15761536,
1112
+ lightcyan: 14745599,
1113
+ lightgoldenrodyellow: 16448210,
1114
+ lightgray: 13882323,
1115
+ lightgreen: 9498256,
1116
+ lightgrey: 13882323,
1117
+ lightpink: 16758465,
1118
+ lightsalmon: 16752762,
1119
+ lightseagreen: 2142890,
1120
+ lightskyblue: 8900346,
1121
+ lightslategray: 7833753,
1122
+ lightslategrey: 7833753,
1123
+ lightsteelblue: 11584734,
1124
+ lightyellow: 16777184,
1125
+ lime: 65280,
1126
+ limegreen: 3329330,
1127
+ linen: 16445670,
1128
+ magenta: 16711935,
1129
+ maroon: 8388608,
1130
+ mediumaquamarine: 6737322,
1131
+ mediumblue: 205,
1132
+ mediumorchid: 12211667,
1133
+ mediumpurple: 9662683,
1134
+ mediumseagreen: 3978097,
1135
+ mediumslateblue: 8087790,
1136
+ mediumspringgreen: 64154,
1137
+ mediumturquoise: 4772300,
1138
+ mediumvioletred: 13047173,
1139
+ midnightblue: 1644912,
1140
+ mintcream: 16121850,
1141
+ mistyrose: 16770273,
1142
+ moccasin: 16770229,
1143
+ navajowhite: 16768685,
1144
+ navy: 128,
1145
+ oldlace: 16643558,
1146
+ olive: 8421376,
1147
+ olivedrab: 7048739,
1148
+ orange: 16753920,
1149
+ orangered: 16729344,
1150
+ orchid: 14315734,
1151
+ palegoldenrod: 15657130,
1152
+ palegreen: 10025880,
1153
+ paleturquoise: 11529966,
1154
+ palevioletred: 14381203,
1155
+ papayawhip: 16773077,
1156
+ peachpuff: 16767673,
1157
+ peru: 13468991,
1158
+ pink: 16761035,
1159
+ plum: 14524637,
1160
+ powderblue: 11591910,
1161
+ purple: 8388736,
1162
+ rebeccapurple: 6697881,
1163
+ red: 16711680,
1164
+ rosybrown: 12357519,
1165
+ royalblue: 4286945,
1166
+ saddlebrown: 9127187,
1167
+ salmon: 16416882,
1168
+ sandybrown: 16032864,
1169
+ seagreen: 3050327,
1170
+ seashell: 16774638,
1171
+ sienna: 10506797,
1172
+ silver: 12632256,
1173
+ skyblue: 8900331,
1174
+ slateblue: 6970061,
1175
+ slategray: 7372944,
1176
+ slategrey: 7372944,
1177
+ snow: 16775930,
1178
+ springgreen: 65407,
1179
+ steelblue: 4620980,
1180
+ tan: 13808780,
1181
+ teal: 32896,
1182
+ thistle: 14204888,
1183
+ tomato: 16737095,
1184
+ turquoise: 4251856,
1185
+ violet: 15631086,
1186
+ wheat: 16113331,
1187
+ white: 16777215,
1188
+ whitesmoke: 16119285,
1189
+ yellow: 16776960,
1190
+ yellowgreen: 10145074
1191
+ };
1192
+ Vt(k, P, {
1193
+ copy(e) {
1194
+ return Object.assign(new this.constructor(), this, e);
1195
+ },
1196
+ displayable() {
1197
+ return this.rgb().displayable();
1198
+ },
1199
+ hex: Qt,
1200
+ formatHex: Qt,
1201
+ formatHex8: $t,
1202
+ formatHsl: en,
1203
+ formatRgb: tn,
1204
+ toString: tn
1205
+ });
1206
+ function Qt() {
1207
+ return this.rgb().formatHex();
1208
+ }
1209
+ function $t() {
1210
+ return this.rgb().formatHex8();
1211
+ }
1212
+ function en() {
1213
+ return dn(this).formatHsl();
1214
+ }
1215
+ function tn() {
1216
+ return this.rgb().formatRgb();
1217
+ }
1218
+ function P(e) {
1219
+ var t, n;
1220
+ return e = (e + "").trim().toLowerCase(), (t = Wt.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? nn(t) : n === 3 ? new I(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? F(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? F(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = Gt.exec(e)) ? new I(t[1], t[2], t[3], 1) : (t = Kt.exec(e)) ? new I(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = qt.exec(e)) ? F(t[1], t[2], t[3], t[4]) : (t = Jt.exec(e)) ? F(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = Yt.exec(e)) ? un(t[1], t[2] / 100, t[3] / 100, 1) : (t = Xt.exec(e)) ? un(t[1], t[2] / 100, t[3] / 100, t[4]) : Zt.hasOwnProperty(e) ? nn(Zt[e]) : e === "transparent" ? new I(NaN, NaN, NaN, 0) : null;
1221
+ }
1222
+ function nn(e) {
1223
+ return new I(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
1224
+ }
1225
+ function F(e, t, n, r) {
1226
+ return r <= 0 && (e = t = n = NaN), new I(e, t, n, r);
1227
+ }
1228
+ function rn(e) {
1229
+ return e instanceof k || (e = P(e)), e ? (e = e.rgb(), new I(e.r, e.g, e.b, e.opacity)) : new I();
1230
+ }
1231
+ function an(e, t, n, r) {
1232
+ return arguments.length === 1 ? rn(e) : new I(e, t, n, r == null ? 1 : r);
1233
+ }
1234
+ function I(e, t, n, r) {
1235
+ this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
1236
+ }
1237
+ Vt(I, an, Ht(k, {
1238
+ brighter(e) {
1239
+ return e = e == null ? Ut : Ut ** +e, new I(this.r * e, this.g * e, this.b * e, this.opacity);
1240
+ },
1241
+ darker(e) {
1242
+ return e = e == null ? A : A ** +e, new I(this.r * e, this.g * e, this.b * e, this.opacity);
1243
+ },
1244
+ rgb() {
1245
+ return this;
1246
+ },
1247
+ clamp() {
1248
+ return new I(L(this.r), L(this.g), L(this.b), ln(this.opacity));
1249
+ },
1250
+ displayable() {
1251
+ return -.5 <= this.r && this.r < 255.5 && -.5 <= this.g && this.g < 255.5 && -.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
1252
+ },
1253
+ hex: on,
1254
+ formatHex: on,
1255
+ formatHex8: sn,
1256
+ formatRgb: cn,
1257
+ toString: cn
1258
+ }));
1259
+ function on() {
1260
+ return `#${R(this.r)}${R(this.g)}${R(this.b)}`;
1261
+ }
1262
+ function sn() {
1263
+ return `#${R(this.r)}${R(this.g)}${R(this.b)}${R((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
1264
+ }
1265
+ function cn() {
1266
+ let e = ln(this.opacity);
1267
+ return `${e === 1 ? "rgb(" : "rgba("}${L(this.r)}, ${L(this.g)}, ${L(this.b)}${e === 1 ? ")" : `, ${e})`}`;
1268
+ }
1269
+ function ln(e) {
1270
+ return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));
1271
+ }
1272
+ function L(e) {
1273
+ return Math.max(0, Math.min(255, Math.round(e) || 0));
1274
+ }
1275
+ function R(e) {
1276
+ return e = L(e), (e < 16 ? "0" : "") + e.toString(16);
1277
+ }
1278
+ function un(e, t, n, r) {
1279
+ return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new z(e, t, n, r);
1280
+ }
1281
+ function dn(e) {
1282
+ if (e instanceof z) return new z(e.h, e.s, e.l, e.opacity);
1283
+ if (e instanceof k || (e = P(e)), !e) return new z();
1284
+ if (e instanceof z) return e;
1285
+ e = e.rgb();
1286
+ var t = e.r / 255, n = e.g / 255, r = e.b / 255, i = Math.min(t, n, r), a = Math.max(t, n, r), o = NaN, s = a - i, c = (a + i) / 2;
1287
+ return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new z(o, s, c, e.opacity);
1288
+ }
1289
+ function fn(e, t, n, r) {
1290
+ return arguments.length === 1 ? dn(e) : new z(e, t, n, r == null ? 1 : r);
1291
+ }
1292
+ function z(e, t, n, r) {
1293
+ this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
1294
+ }
1295
+ Vt(z, fn, Ht(k, {
1296
+ brighter(e) {
1297
+ return e = e == null ? Ut : Ut ** +e, new z(this.h, this.s, this.l * e, this.opacity);
1298
+ },
1299
+ darker(e) {
1300
+ return e = e == null ? A : A ** +e, new z(this.h, this.s, this.l * e, this.opacity);
1301
+ },
1302
+ rgb() {
1303
+ var e = this.h % 360 + (this.h < 0) * 360, t = isNaN(e) || isNaN(this.s) ? 0 : this.s, n = this.l, r = n + (n < .5 ? n : 1 - n) * t, i = 2 * n - r;
1304
+ return new I(hn(e >= 240 ? e - 240 : e + 120, i, r), hn(e, i, r), hn(e < 120 ? e + 240 : e - 120, i, r), this.opacity);
1305
+ },
1306
+ clamp() {
1307
+ return new z(pn(this.h), mn(this.s), mn(this.l), ln(this.opacity));
1308
+ },
1309
+ displayable() {
1310
+ return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
1311
+ },
1312
+ formatHsl() {
1313
+ let e = ln(this.opacity);
1314
+ return `${e === 1 ? "hsl(" : "hsla("}${pn(this.h)}, ${mn(this.s) * 100}%, ${mn(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
1315
+ }
1316
+ }));
1317
+ function pn(e) {
1318
+ return e = (e || 0) % 360, e < 0 ? e + 360 : e;
1319
+ }
1320
+ function mn(e) {
1321
+ return Math.max(0, Math.min(1, e || 0));
1322
+ }
1323
+ function hn(e, t, n) {
1324
+ return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255;
1325
+ }
1326
+ //#endregion
1327
+ //#region node_modules/d3-interpolate/src/constant.js
1328
+ var B = (e) => () => e;
1329
+ //#endregion
1330
+ //#region node_modules/d3-interpolate/src/color.js
1331
+ function gn(e, t) {
1332
+ return function(n) {
1333
+ return e + n * t;
1334
+ };
1335
+ }
1336
+ function _n(e, t, n) {
1337
+ return e **= +n, t = t ** +n - e, n = 1 / n, function(r) {
1338
+ return (e + r * t) ** +n;
1339
+ };
1340
+ }
1341
+ function vn(e, t) {
1342
+ var n = t - e;
1343
+ return n ? gn(e, n > 180 || n < -180 ? n - 360 * Math.round(n / 360) : n) : B(isNaN(e) ? t : e);
1344
+ }
1345
+ function yn(e) {
1346
+ return (e = +e) == 1 ? bn : function(t, n) {
1347
+ return n - t ? _n(t, n, e) : B(isNaN(t) ? n : t);
1348
+ };
1349
+ }
1350
+ function bn(e, t) {
1351
+ var n = t - e;
1352
+ return n ? gn(e, n) : B(isNaN(e) ? t : e);
1353
+ }
1354
+ //#endregion
1355
+ //#region node_modules/d3-interpolate/src/rgb.js
1356
+ var xn = (function e(t) {
1357
+ var n = yn(t);
1358
+ function r(e, t) {
1359
+ var r = n((e = an(e)).r, (t = an(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = bn(e.opacity, t.opacity);
1360
+ return function(t) {
1361
+ return e.r = r(t), e.g = i(t), e.b = a(t), e.opacity = o(t), e + "";
1362
+ };
1363
+ }
1364
+ return r.gamma = e, r;
1365
+ })(1);
1366
+ //#endregion
1367
+ //#region node_modules/d3-interpolate/src/number.js
1368
+ function V(e, t) {
1369
+ return e = +e, t = +t, function(n) {
1370
+ return e * (1 - n) + t * n;
1371
+ };
1372
+ }
1373
+ //#endregion
1374
+ //#region node_modules/d3-interpolate/src/string.js
1375
+ var Sn = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, Cn = new RegExp(Sn.source, "g");
1376
+ function wn(e) {
1377
+ return function() {
1378
+ return e;
1379
+ };
1380
+ }
1381
+ function Tn(e) {
1382
+ return function(t) {
1383
+ return e(t) + "";
1384
+ };
1385
+ }
1386
+ function En(e, t) {
1387
+ var n = Sn.lastIndex = Cn.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
1388
+ for (e += "", t += ""; (r = Sn.exec(e)) && (i = Cn.exec(t));) (a = i.index) > n && (a = t.slice(n, a), s[o] ? s[o] += a : s[++o] = a), (r = r[0]) === (i = i[0]) ? s[o] ? s[o] += i : s[++o] = i : (s[++o] = null, c.push({
1389
+ i: o,
1390
+ x: V(r, i)
1391
+ })), n = Cn.lastIndex;
1392
+ return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? Tn(c[0].x) : wn(t) : (t = c.length, function(e) {
1393
+ for (var n = 0, r; n < t; ++n) s[(r = c[n]).i] = r.x(e);
1394
+ return s.join("");
1395
+ });
1396
+ }
1397
+ //#endregion
1398
+ //#region node_modules/d3-interpolate/src/transform/decompose.js
1399
+ var Dn = 180 / Math.PI, On = {
1400
+ translateX: 0,
1401
+ translateY: 0,
1402
+ rotate: 0,
1403
+ skewX: 0,
1404
+ scaleX: 1,
1405
+ scaleY: 1
1406
+ };
1407
+ function kn(e, t, n, r, i, a) {
1408
+ var o, s, c;
1409
+ return (o = Math.sqrt(e * e + t * t)) && (e /= o, t /= o), (c = e * n + t * r) && (n -= e * c, r -= t * c), (s = Math.sqrt(n * n + r * r)) && (n /= s, r /= s, c /= s), e * r < t * n && (e = -e, t = -t, c = -c, o = -o), {
1410
+ translateX: i,
1411
+ translateY: a,
1412
+ rotate: Math.atan2(t, e) * Dn,
1413
+ skewX: Math.atan(c) * Dn,
1414
+ scaleX: o,
1415
+ scaleY: s
1416
+ };
1417
+ }
1418
+ //#endregion
1419
+ //#region node_modules/d3-interpolate/src/transform/parse.js
1420
+ var H;
1421
+ function An(e) {
1422
+ let t = new (typeof DOMMatrix == "function" ? DOMMatrix : WebKitCSSMatrix)(e + "");
1423
+ return t.isIdentity ? On : kn(t.a, t.b, t.c, t.d, t.e, t.f);
1424
+ }
1425
+ function jn(e) {
1426
+ return e == null || (H || (H = document.createElementNS("http://www.w3.org/2000/svg", "g")), H.setAttribute("transform", e), !(e = H.transform.baseVal.consolidate())) ? On : (e = e.matrix, kn(e.a, e.b, e.c, e.d, e.e, e.f));
1427
+ }
1428
+ //#endregion
1429
+ //#region node_modules/d3-interpolate/src/transform/index.js
1430
+ function Mn(e, t, n, r) {
1431
+ function i(e) {
1432
+ return e.length ? e.pop() + " " : "";
1433
+ }
1434
+ function a(e, r, i, a, o, s) {
1435
+ if (e !== i || r !== a) {
1436
+ var c = o.push("translate(", null, t, null, n);
1437
+ s.push({
1438
+ i: c - 4,
1439
+ x: V(e, i)
1440
+ }, {
1441
+ i: c - 2,
1442
+ x: V(r, a)
1443
+ });
1444
+ } else (i || a) && o.push("translate(" + i + t + a + n);
1445
+ }
1446
+ function o(e, t, n, a) {
1447
+ e === t ? t && n.push(i(n) + "rotate(" + t + r) : (e - t > 180 ? t += 360 : t - e > 180 && (e += 360), a.push({
1448
+ i: n.push(i(n) + "rotate(", null, r) - 2,
1449
+ x: V(e, t)
1450
+ }));
1451
+ }
1452
+ function s(e, t, n, a) {
1453
+ e === t ? t && n.push(i(n) + "skewX(" + t + r) : a.push({
1454
+ i: n.push(i(n) + "skewX(", null, r) - 2,
1455
+ x: V(e, t)
1456
+ });
1457
+ }
1458
+ function c(e, t, n, r, a, o) {
1459
+ if (e !== n || t !== r) {
1460
+ var s = a.push(i(a) + "scale(", null, ",", null, ")");
1461
+ o.push({
1462
+ i: s - 4,
1463
+ x: V(e, n)
1464
+ }, {
1465
+ i: s - 2,
1466
+ x: V(t, r)
1467
+ });
1468
+ } else (n !== 1 || r !== 1) && a.push(i(a) + "scale(" + n + "," + r + ")");
1469
+ }
1470
+ return function(t, n) {
1471
+ var r = [], i = [];
1472
+ return t = e(t), n = e(n), a(t.translateX, t.translateY, n.translateX, n.translateY, r, i), o(t.rotate, n.rotate, r, i), s(t.skewX, n.skewX, r, i), c(t.scaleX, t.scaleY, n.scaleX, n.scaleY, r, i), t = n = null, function(e) {
1473
+ for (var t = -1, n = i.length, a; ++t < n;) r[(a = i[t]).i] = a.x(e);
1474
+ return r.join("");
1475
+ };
1476
+ };
1477
+ }
1478
+ var Nn = Mn(An, "px, ", "px)", "deg)"), Pn = Mn(jn, ", ", ")", ")"), U = 0, W = 0, G = 0, Fn = 1e3, In, K, Ln = 0, q = 0, Rn = 0, J = typeof performance == "object" && performance.now ? performance : Date, zn = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(e) {
1479
+ setTimeout(e, 17);
1480
+ };
1481
+ function Bn() {
1482
+ return q || (zn(Vn), q = J.now() + Rn);
1483
+ }
1484
+ function Vn() {
1485
+ q = 0;
1486
+ }
1487
+ function Hn() {
1488
+ this._call = this._time = this._next = null;
1489
+ }
1490
+ Hn.prototype = Un.prototype = {
1491
+ constructor: Hn,
1492
+ restart: function(e, t, n) {
1493
+ if (typeof e != "function") throw TypeError("callback is not a function");
1494
+ n = (n == null ? Bn() : +n) + (t == null ? 0 : +t), !this._next && K !== this && (K ? K._next = this : In = this, K = this), this._call = e, this._time = n, Jn();
1495
+ },
1496
+ stop: function() {
1497
+ this._call && (this._call = null, this._time = Infinity, Jn());
1498
+ }
1499
+ };
1500
+ function Un(e, t, n) {
1501
+ var r = new Hn();
1502
+ return r.restart(e, t, n), r;
1503
+ }
1504
+ function Wn() {
1505
+ Bn(), ++U;
1506
+ for (var e = In, t; e;) (t = q - e._time) >= 0 && e._call.call(void 0, t), e = e._next;
1507
+ --U;
1508
+ }
1509
+ function Gn() {
1510
+ q = (Ln = J.now()) + Rn, U = W = 0;
1511
+ try {
1512
+ Wn();
1513
+ } finally {
1514
+ U = 0, qn(), q = 0;
1515
+ }
1516
+ }
1517
+ function Kn() {
1518
+ var e = J.now(), t = e - Ln;
1519
+ t > Fn && (Rn -= t, Ln = e);
1520
+ }
1521
+ function qn() {
1522
+ for (var e, t = In, n, r = Infinity; t;) t._call ? (r > t._time && (r = t._time), e = t, t = t._next) : (n = t._next, t._next = null, t = e ? e._next = n : In = n);
1523
+ K = e, Jn(r);
1524
+ }
1525
+ function Jn(e) {
1526
+ U || (W && (W = clearTimeout(W)), e - q > 24 ? (e < Infinity && (W = setTimeout(Gn, e - J.now() - Rn)), G && (G = clearInterval(G))) : (G || (Ln = J.now(), G = setInterval(Kn, Fn)), U = 1, zn(Gn)));
1527
+ }
1528
+ //#endregion
1529
+ //#region node_modules/d3-timer/src/timeout.js
1530
+ function Yn(e, t, n) {
1531
+ var r = new Hn();
1532
+ return t = t == null ? 0 : +t, r.restart((n) => {
1533
+ r.stop(), e(n + t);
1534
+ }, t, n), r;
1535
+ }
1536
+ //#endregion
1537
+ //#region node_modules/d3-transition/src/transition/schedule.js
1538
+ var Xn = f("start", "end", "cancel", "interrupt"), Zn = [];
1539
+ function Qn(e, t, n, r, i, a) {
1540
+ var o = e.__transition;
1541
+ if (!o) e.__transition = {};
1542
+ else if (n in o) return;
1543
+ er(e, n, {
1544
+ name: t,
1545
+ index: r,
1546
+ group: i,
1547
+ on: Xn,
1548
+ tween: Zn,
1549
+ time: a.time,
1550
+ delay: a.delay,
1551
+ duration: a.duration,
1552
+ ease: a.ease,
1553
+ timer: null,
1554
+ state: 0
1555
+ });
1556
+ }
1557
+ function $n(e, t) {
1558
+ var n = X(e, t);
1559
+ if (n.state > 0) throw Error("too late; already scheduled");
1560
+ return n;
1561
+ }
1562
+ function Y(e, t) {
1563
+ var n = X(e, t);
1564
+ if (n.state > 3) throw Error("too late; already running");
1565
+ return n;
1566
+ }
1567
+ function X(e, t) {
1568
+ var n = e.__transition;
1569
+ if (!n || !(n = n[t])) throw Error("transition not found");
1570
+ return n;
1571
+ }
1572
+ function er(e, t, n) {
1573
+ var r = e.__transition, i;
1574
+ r[t] = n, n.timer = Un(a, 0, n.time);
1575
+ function a(e) {
1576
+ n.state = 1, n.timer.restart(o, n.delay, n.time), n.delay <= e && o(e - n.delay);
1577
+ }
1578
+ function o(a) {
1579
+ var l, u, d, f;
1580
+ if (n.state !== 1) return c();
1581
+ for (l in r) if (f = r[l], f.name === n.name) {
1582
+ if (f.state === 3) return Yn(o);
1583
+ f.state === 4 ? (f.state = 6, f.timer.stop(), f.on.call("interrupt", e, e.__data__, f.index, f.group), delete r[l]) : +l < t && (f.state = 6, f.timer.stop(), f.on.call("cancel", e, e.__data__, f.index, f.group), delete r[l]);
1584
+ }
1585
+ if (Yn(function() {
1586
+ n.state === 3 && (n.state = 4, n.timer.restart(s, n.delay, n.time), s(a));
1587
+ }), n.state = 2, n.on.call("start", e, e.__data__, n.index, n.group), n.state === 2) {
1588
+ for (n.state = 3, i = Array(d = n.tween.length), l = 0, u = -1; l < d; ++l) (f = n.tween[l].value.call(e, e.__data__, n.index, n.group)) && (i[++u] = f);
1589
+ i.length = u + 1;
1590
+ }
1591
+ }
1592
+ function s(t) {
1593
+ for (var r = t < n.duration ? n.ease.call(null, t / n.duration) : (n.timer.restart(c), n.state = 5, 1), a = -1, o = i.length; ++a < o;) i[a].call(e, r);
1594
+ n.state === 5 && (n.on.call("end", e, e.__data__, n.index, n.group), c());
1595
+ }
1596
+ function c() {
1597
+ for (var i in n.state = 6, n.timer.stop(), delete r[t], r) return;
1598
+ delete e.__transition;
1599
+ }
1600
+ }
1601
+ //#endregion
1602
+ //#region node_modules/d3-transition/src/interrupt.js
1603
+ function tr(e, t) {
1604
+ var n = e.__transition, r, i, a = !0, o;
1605
+ if (n) {
1606
+ for (o in t = t == null ? null : t + "", n) {
1607
+ if ((r = n[o]).name !== t) {
1608
+ a = !1;
1609
+ continue;
1610
+ }
1611
+ i = r.state > 2 && r.state < 5, r.state = 6, r.timer.stop(), r.on.call(i ? "interrupt" : "cancel", e, e.__data__, r.index, r.group), delete n[o];
1612
+ }
1613
+ a && delete e.__transition;
1614
+ }
1615
+ }
1616
+ //#endregion
1617
+ //#region node_modules/d3-transition/src/selection/interrupt.js
1618
+ function nr(e) {
1619
+ return this.each(function() {
1620
+ tr(this, e);
1621
+ });
1622
+ }
1623
+ //#endregion
1624
+ //#region node_modules/d3-transition/src/transition/tween.js
1625
+ function rr(e, t) {
1626
+ var n, r;
1627
+ return function() {
1628
+ var i = Y(this, e), a = i.tween;
1629
+ if (a !== n) {
1630
+ r = n = a;
1631
+ for (var o = 0, s = r.length; o < s; ++o) if (r[o].name === t) {
1632
+ r = r.slice(), r.splice(o, 1);
1633
+ break;
1634
+ }
1635
+ }
1636
+ i.tween = r;
1637
+ };
1638
+ }
1639
+ function ir(e, t, n) {
1640
+ var r, i;
1641
+ if (typeof n != "function") throw Error();
1642
+ return function() {
1643
+ var a = Y(this, e), o = a.tween;
1644
+ if (o !== r) {
1645
+ i = (r = o).slice();
1646
+ for (var s = {
1647
+ name: t,
1648
+ value: n
1649
+ }, c = 0, l = i.length; c < l; ++c) if (i[c].name === t) {
1650
+ i[c] = s;
1651
+ break;
1652
+ }
1653
+ c === l && i.push(s);
1654
+ }
1655
+ a.tween = i;
1656
+ };
1657
+ }
1658
+ function ar(e, t) {
1659
+ var n = this._id;
1660
+ if (e += "", arguments.length < 2) {
1661
+ for (var r = X(this.node(), n).tween, i = 0, a = r.length, o; i < a; ++i) if ((o = r[i]).name === e) return o.value;
1662
+ return null;
1663
+ }
1664
+ return this.each((t == null ? rr : ir)(n, e, t));
1665
+ }
1666
+ function or(e, t, n) {
1667
+ var r = e._id;
1668
+ return e.each(function() {
1669
+ var e = Y(this, r);
1670
+ (e.value || (e.value = {}))[t] = n.apply(this, arguments);
1671
+ }), function(e) {
1672
+ return X(e, r).value[t];
1673
+ };
1674
+ }
1675
+ //#endregion
1676
+ //#region node_modules/d3-transition/src/transition/interpolate.js
1677
+ function sr(e, t) {
1678
+ var n;
1679
+ return (typeof t == "number" ? V : t instanceof P ? xn : (n = P(t)) ? (t = n, xn) : En)(e, t);
1680
+ }
1681
+ //#endregion
1682
+ //#region node_modules/d3-transition/src/transition/attr.js
1683
+ function cr(e) {
1684
+ return function() {
1685
+ this.removeAttribute(e);
1686
+ };
1687
+ }
1688
+ function lr(e) {
1689
+ return function() {
1690
+ this.removeAttributeNS(e.space, e.local);
1691
+ };
1692
+ }
1693
+ function ur(e, t, n) {
1694
+ var r, i = n + "", a;
1695
+ return function() {
1696
+ var o = this.getAttribute(e);
1697
+ return o === i ? null : o === r ? a : a = t(r = o, n);
1698
+ };
1699
+ }
1700
+ function dr(e, t, n) {
1701
+ var r, i = n + "", a;
1702
+ return function() {
1703
+ var o = this.getAttributeNS(e.space, e.local);
1704
+ return o === i ? null : o === r ? a : a = t(r = o, n);
1705
+ };
1706
+ }
1707
+ function fr(e, t, n) {
1708
+ var r, i, a;
1709
+ return function() {
1710
+ var o, s = n(this), c;
1711
+ return s == null ? void this.removeAttribute(e) : (o = this.getAttribute(e), c = s + "", o === c ? null : o === r && c === i ? a : (i = c, a = t(r = o, s)));
1712
+ };
1713
+ }
1714
+ function pr(e, t, n) {
1715
+ var r, i, a;
1716
+ return function() {
1717
+ var o, s = n(this), c;
1718
+ return s == null ? void this.removeAttributeNS(e.space, e.local) : (o = this.getAttributeNS(e.space, e.local), c = s + "", o === c ? null : o === r && c === i ? a : (i = c, a = t(r = o, s)));
1719
+ };
1720
+ }
1721
+ function mr(e, t) {
1722
+ var n = v(e), r = n === "transform" ? Pn : sr;
1723
+ return this.attrTween(e, typeof t == "function" ? (n.local ? pr : fr)(n, r, or(this, "attr." + e, t)) : t == null ? (n.local ? lr : cr)(n) : (n.local ? dr : ur)(n, r, t));
1724
+ }
1725
+ //#endregion
1726
+ //#region node_modules/d3-transition/src/transition/attrTween.js
1727
+ function hr(e, t) {
1728
+ return function(n) {
1729
+ this.setAttribute(e, t.call(this, n));
1730
+ };
1731
+ }
1732
+ function gr(e, t) {
1733
+ return function(n) {
1734
+ this.setAttributeNS(e.space, e.local, t.call(this, n));
1735
+ };
1736
+ }
1737
+ function _r(e, t) {
1738
+ var n, r;
1739
+ function i() {
1740
+ var i = t.apply(this, arguments);
1741
+ return i !== r && (n = (r = i) && gr(e, i)), n;
1742
+ }
1743
+ return i._value = t, i;
1744
+ }
1745
+ function vr(e, t) {
1746
+ var n, r;
1747
+ function i() {
1748
+ var i = t.apply(this, arguments);
1749
+ return i !== r && (n = (r = i) && hr(e, i)), n;
1750
+ }
1751
+ return i._value = t, i;
1752
+ }
1753
+ function yr(e, t) {
1754
+ var n = "attr." + e;
1755
+ if (arguments.length < 2) return (n = this.tween(n)) && n._value;
1756
+ if (t == null) return this.tween(n, null);
1757
+ if (typeof t != "function") throw Error();
1758
+ var r = v(e);
1759
+ return this.tween(n, (r.local ? _r : vr)(r, t));
1760
+ }
1761
+ //#endregion
1762
+ //#region node_modules/d3-transition/src/transition/delay.js
1763
+ function br(e, t) {
1764
+ return function() {
1765
+ $n(this, e).delay = +t.apply(this, arguments);
1766
+ };
1767
+ }
1768
+ function xr(e, t) {
1769
+ return t = +t, function() {
1770
+ $n(this, e).delay = t;
1771
+ };
1772
+ }
1773
+ function Sr(e) {
1774
+ var t = this._id;
1775
+ return arguments.length ? this.each((typeof e == "function" ? br : xr)(t, e)) : X(this.node(), t).delay;
1776
+ }
1777
+ //#endregion
1778
+ //#region node_modules/d3-transition/src/transition/duration.js
1779
+ function Cr(e, t) {
1780
+ return function() {
1781
+ Y(this, e).duration = +t.apply(this, arguments);
1782
+ };
1783
+ }
1784
+ function wr(e, t) {
1785
+ return t = +t, function() {
1786
+ Y(this, e).duration = t;
1787
+ };
1788
+ }
1789
+ function Tr(e) {
1790
+ var t = this._id;
1791
+ return arguments.length ? this.each((typeof e == "function" ? Cr : wr)(t, e)) : X(this.node(), t).duration;
1792
+ }
1793
+ //#endregion
1794
+ //#region node_modules/d3-transition/src/transition/ease.js
1795
+ function Er(e, t) {
1796
+ if (typeof t != "function") throw Error();
1797
+ return function() {
1798
+ Y(this, e).ease = t;
1799
+ };
1800
+ }
1801
+ function Dr(e) {
1802
+ var t = this._id;
1803
+ return arguments.length ? this.each(Er(t, e)) : X(this.node(), t).ease;
1804
+ }
1805
+ //#endregion
1806
+ //#region node_modules/d3-transition/src/transition/easeVarying.js
1807
+ function Or(e, t) {
1808
+ return function() {
1809
+ var n = t.apply(this, arguments);
1810
+ if (typeof n != "function") throw Error();
1811
+ Y(this, e).ease = n;
1812
+ };
1813
+ }
1814
+ function kr(e) {
1815
+ if (typeof e != "function") throw Error();
1816
+ return this.each(Or(this._id, e));
1817
+ }
1818
+ //#endregion
1819
+ //#region node_modules/d3-transition/src/transition/filter.js
1820
+ function Ar(e) {
1821
+ typeof e != "function" && (e = ie(e));
1822
+ for (var t = this._groups, n = t.length, r = Array(n), i = 0; i < n; ++i) for (var a = t[i], o = a.length, s = r[i] = [], c, l = 0; l < o; ++l) (c = a[l]) && e.call(c, c.__data__, l, a) && s.push(c);
1823
+ return new Z(r, this._parents, this._name, this._id);
1824
+ }
1825
+ //#endregion
1826
+ //#region node_modules/d3-transition/src/transition/merge.js
1827
+ function jr(e) {
1828
+ if (e._id !== this._id) throw Error();
1829
+ for (var t = this._groups, n = e._groups, r = t.length, i = n.length, a = Math.min(r, i), o = Array(r), s = 0; s < a; ++s) for (var c = t[s], l = n[s], u = c.length, d = o[s] = Array(u), f, p = 0; p < u; ++p) (f = c[p] || l[p]) && (d[p] = f);
1830
+ for (; s < r; ++s) o[s] = t[s];
1831
+ return new Z(o, this._parents, this._name, this._id);
1832
+ }
1833
+ //#endregion
1834
+ //#region node_modules/d3-transition/src/transition/on.js
1835
+ function Mr(e) {
1836
+ return (e + "").trim().split(/^|\s+/).every(function(e) {
1837
+ var t = e.indexOf(".");
1838
+ return t >= 0 && (e = e.slice(0, t)), !e || e === "start";
1839
+ });
1840
+ }
1841
+ function Nr(e, t, n) {
1842
+ var r, i, a = Mr(t) ? $n : Y;
1843
+ return function() {
1844
+ var o = a(this, e), s = o.on;
1845
+ s !== r && (i = (r = s).copy()).on(t, n), o.on = i;
1846
+ };
1847
+ }
1848
+ function Pr(e, t) {
1849
+ var n = this._id;
1850
+ return arguments.length < 2 ? X(this.node(), n).on.on(e) : this.each(Nr(n, e, t));
1851
+ }
1852
+ //#endregion
1853
+ //#region node_modules/d3-transition/src/transition/remove.js
1854
+ function Fr(e) {
1855
+ return function() {
1856
+ var t = this.parentNode;
1857
+ for (var n in this.__transition) if (+n !== e) return;
1858
+ t && t.removeChild(this);
1859
+ };
1860
+ }
1861
+ function Ir() {
1862
+ return this.on("end.remove", Fr(this._id));
1863
+ }
1864
+ //#endregion
1865
+ //#region node_modules/d3-transition/src/transition/select.js
1866
+ function Lr(e) {
1867
+ var t = this._name, n = this._id;
1868
+ typeof e != "function" && (e = x(e));
1869
+ for (var r = this._groups, i = r.length, a = Array(i), o = 0; o < i; ++o) for (var s = r[o], c = s.length, l = a[o] = Array(c), u, d, f = 0; f < c; ++f) (u = s[f]) && (d = e.call(u, u.__data__, f, s)) && ("__data__" in u && (d.__data__ = u.__data__), l[f] = d, Qn(l[f], t, n, f, l, X(u, n)));
1870
+ return new Z(a, this._parents, t, n);
1871
+ }
1872
+ //#endregion
1873
+ //#region node_modules/d3-transition/src/transition/selectAll.js
1874
+ function Rr(e) {
1875
+ var t = this._name, n = this._id;
1876
+ typeof e != "function" && (e = T(e));
1877
+ for (var r = this._groups, i = r.length, a = [], o = [], s = 0; s < i; ++s) for (var c = r[s], l = c.length, u, d = 0; d < l; ++d) if (u = c[d]) {
1878
+ for (var f = e.call(u, u.__data__, d, c), p, m = X(u, n), h = 0, g = f.length; h < g; ++h) (p = f[h]) && Qn(p, t, n, h, f, m);
1879
+ a.push(f), o.push(u);
1880
+ }
1881
+ return new Z(a, o, t, n);
1882
+ }
1883
+ //#endregion
1884
+ //#region node_modules/d3-transition/src/transition/selection.js
1885
+ var zr = O.prototype.constructor;
1886
+ function Br() {
1887
+ return new zr(this._groups, this._parents);
1888
+ }
1889
+ //#endregion
1890
+ //#region node_modules/d3-transition/src/transition/style.js
1891
+ function Vr(e, t) {
1892
+ var n, r, i;
1893
+ return function() {
1894
+ var a = E(this, e), o = (this.style.removeProperty(e), E(this, e));
1895
+ return a === o ? null : a === n && o === r ? i : i = t(n = a, r = o);
1896
+ };
1897
+ }
1898
+ function Hr(e) {
1899
+ return function() {
1900
+ this.style.removeProperty(e);
1901
+ };
1902
+ }
1903
+ function Ur(e, t, n) {
1904
+ var r, i = n + "", a;
1905
+ return function() {
1906
+ var o = E(this, e);
1907
+ return o === i ? null : o === r ? a : a = t(r = o, n);
1908
+ };
1909
+ }
1910
+ function Wr(e, t, n) {
1911
+ var r, i, a;
1912
+ return function() {
1913
+ var o = E(this, e), s = n(this), c = s + "";
1914
+ return s == null && (c = s = (this.style.removeProperty(e), E(this, e))), o === c ? null : o === r && c === i ? a : (i = c, a = t(r = o, s));
1915
+ };
1916
+ }
1917
+ function Gr(e, t) {
1918
+ var n, r, i, a = "style." + t, o = "end." + a, s;
1919
+ return function() {
1920
+ var c = Y(this, e), l = c.on, u = c.value[a] == null ? s || (s = Hr(t)) : void 0;
1921
+ (l !== n || i !== u) && (r = (n = l).copy()).on(o, i = u), c.on = r;
1922
+ };
1923
+ }
1924
+ function Kr(e, t, n) {
1925
+ var r = (e += "") == "transform" ? Nn : sr;
1926
+ return t == null ? this.styleTween(e, Vr(e, r)).on("end.style." + e, Hr(e)) : typeof t == "function" ? this.styleTween(e, Wr(e, r, or(this, "style." + e, t))).each(Gr(this._id, e)) : this.styleTween(e, Ur(e, r, t), n).on("end.style." + e, null);
1927
+ }
1928
+ //#endregion
1929
+ //#region node_modules/d3-transition/src/transition/styleTween.js
1930
+ function qr(e, t, n) {
1931
+ return function(r) {
1932
+ this.style.setProperty(e, t.call(this, r), n);
1933
+ };
1934
+ }
1935
+ function Jr(e, t, n) {
1936
+ var r, i;
1937
+ function a() {
1938
+ var a = t.apply(this, arguments);
1939
+ return a !== i && (r = (i = a) && qr(e, a, n)), r;
1940
+ }
1941
+ return a._value = t, a;
1942
+ }
1943
+ function Yr(e, t, n) {
1944
+ var r = "style." + (e += "");
1945
+ if (arguments.length < 2) return (r = this.tween(r)) && r._value;
1946
+ if (t == null) return this.tween(r, null);
1947
+ if (typeof t != "function") throw Error();
1948
+ return this.tween(r, Jr(e, t, n == null ? "" : n));
1949
+ }
1950
+ //#endregion
1951
+ //#region node_modules/d3-transition/src/transition/text.js
1952
+ function Xr(e) {
1953
+ return function() {
1954
+ this.textContent = e;
1955
+ };
1956
+ }
1957
+ function Zr(e) {
1958
+ return function() {
1959
+ var t = e(this);
1960
+ this.textContent = t == null ? "" : t;
1961
+ };
1962
+ }
1963
+ function Qr(e) {
1964
+ return this.tween("text", typeof e == "function" ? Zr(or(this, "text", e)) : Xr(e == null ? "" : e + ""));
1965
+ }
1966
+ //#endregion
1967
+ //#region node_modules/d3-transition/src/transition/textTween.js
1968
+ function $r(e) {
1969
+ return function(t) {
1970
+ this.textContent = e.call(this, t);
1971
+ };
1972
+ }
1973
+ function ei(e) {
1974
+ var t, n;
1975
+ function r() {
1976
+ var r = e.apply(this, arguments);
1977
+ return r !== n && (t = (n = r) && $r(r)), t;
1978
+ }
1979
+ return r._value = e, r;
1980
+ }
1981
+ function ti(e) {
1982
+ var t = "text";
1983
+ if (arguments.length < 1) return (t = this.tween(t)) && t._value;
1984
+ if (e == null) return this.tween(t, null);
1985
+ if (typeof e != "function") throw Error();
1986
+ return this.tween(t, ei(e));
1987
+ }
1988
+ //#endregion
1989
+ //#region node_modules/d3-transition/src/transition/transition.js
1990
+ function ni() {
1991
+ for (var e = this._name, t = this._id, n = oi(), r = this._groups, i = r.length, a = 0; a < i; ++a) for (var o = r[a], s = o.length, c, l = 0; l < s; ++l) if (c = o[l]) {
1992
+ var u = X(c, t);
1993
+ Qn(c, e, n, l, o, {
1994
+ time: u.time + u.delay + u.duration,
1995
+ delay: 0,
1996
+ duration: u.duration,
1997
+ ease: u.ease
1998
+ });
1999
+ }
2000
+ return new Z(r, this._parents, e, n);
2001
+ }
2002
+ //#endregion
2003
+ //#region node_modules/d3-transition/src/transition/end.js
2004
+ function ri() {
2005
+ var e, t, n = this, r = n._id, i = n.size();
2006
+ return new Promise(function(a, o) {
2007
+ var s = { value: o }, c = { value: function() {
2008
+ --i === 0 && a();
2009
+ } };
2010
+ n.each(function() {
2011
+ var n = Y(this, r), i = n.on;
2012
+ i !== e && (t = (e = i).copy(), t._.cancel.push(s), t._.interrupt.push(s), t._.end.push(c)), n.on = t;
2013
+ }), i === 0 && a();
2014
+ });
2015
+ }
2016
+ //#endregion
2017
+ //#region node_modules/d3-transition/src/transition/index.js
2018
+ var ii = 0;
2019
+ function Z(e, t, n, r) {
2020
+ this._groups = e, this._parents = t, this._name = n, this._id = r;
2021
+ }
2022
+ function ai(e) {
2023
+ return O().transition(e);
2024
+ }
2025
+ function oi() {
2026
+ return ++ii;
2027
+ }
2028
+ var Q = O.prototype;
2029
+ Z.prototype = ai.prototype = {
2030
+ constructor: Z,
2031
+ select: Lr,
2032
+ selectAll: Rr,
2033
+ selectChild: Q.selectChild,
2034
+ selectChildren: Q.selectChildren,
2035
+ filter: Ar,
2036
+ merge: jr,
2037
+ selection: Br,
2038
+ transition: ni,
2039
+ call: Q.call,
2040
+ nodes: Q.nodes,
2041
+ node: Q.node,
2042
+ size: Q.size,
2043
+ empty: Q.empty,
2044
+ each: Q.each,
2045
+ on: Pr,
2046
+ attr: mr,
2047
+ attrTween: yr,
2048
+ style: Kr,
2049
+ styleTween: Yr,
2050
+ text: Qr,
2051
+ textTween: ti,
2052
+ remove: Ir,
2053
+ tween: ar,
2054
+ delay: Sr,
2055
+ duration: Tr,
2056
+ ease: Dr,
2057
+ easeVarying: kr,
2058
+ end: ri,
2059
+ [Symbol.iterator]: Q[Symbol.iterator]
2060
+ };
2061
+ //#endregion
2062
+ //#region node_modules/d3-ease/src/cubic.js
2063
+ function si(e) {
2064
+ return ((e *= 2) <= 1 ? e * e * e : (e -= 2) * e * e + 2) / 2;
2065
+ }
2066
+ //#endregion
2067
+ //#region node_modules/d3-transition/src/selection/transition.js
2068
+ var ci = {
2069
+ time: null,
2070
+ delay: 0,
2071
+ duration: 250,
2072
+ ease: si
2073
+ };
2074
+ function li(e, t) {
2075
+ for (var n; !(n = e.__transition) || !(n = n[t]);) if (!(e = e.parentNode)) throw Error(`transition ${t} not found`);
2076
+ return n;
2077
+ }
2078
+ function ui(e) {
2079
+ var t, n;
2080
+ e instanceof Z ? (t = e._id, e = e._name) : (t = oi(), (n = ci).time = Bn(), e = e == null ? null : e + "");
2081
+ for (var r = this._groups, i = r.length, a = 0; a < i; ++a) for (var o = r[a], s = o.length, c, l = 0; l < s; ++l) (c = o[l]) && Qn(c, e, t, l, o, n || li(c, t));
2082
+ return new Z(r, this._parents, e, t);
2083
+ }
2084
+ O.prototype.interrupt = nr, O.prototype.transition = ui;
2085
+ //#endregion
2086
+ //#region node_modules/d3-brush/src/brush.js
2087
+ var { abs: di, max: fi, min: pi } = Math;
2088
+ ["w", "e"].map(mi), ["n", "s"].map(mi), [
2089
+ "n",
2090
+ "w",
2091
+ "e",
2092
+ "s",
2093
+ "nw",
2094
+ "ne",
2095
+ "sw",
2096
+ "se"
2097
+ ].map(mi);
2098
+ function mi(e) {
2099
+ return { type: e };
2100
+ }
2101
+ //#endregion
2102
+ //#region node_modules/d3-zoom/src/transform.js
2103
+ function $(e, t, n) {
2104
+ this.k = e, this.x = t, this.y = n;
2105
+ }
2106
+ $.prototype = {
2107
+ constructor: $,
2108
+ scale: function(e) {
2109
+ return e === 1 ? this : new $(this.k * e, this.x, this.y);
2110
+ },
2111
+ translate: function(e, t) {
2112
+ return e === 0 & t === 0 ? this : new $(this.k, this.x + this.k * e, this.y + this.k * t);
2113
+ },
2114
+ apply: function(e) {
2115
+ return [e[0] * this.k + this.x, e[1] * this.k + this.y];
2116
+ },
2117
+ applyX: function(e) {
2118
+ return e * this.k + this.x;
2119
+ },
2120
+ applyY: function(e) {
2121
+ return e * this.k + this.y;
2122
+ },
2123
+ invert: function(e) {
2124
+ return [(e[0] - this.x) / this.k, (e[1] - this.y) / this.k];
2125
+ },
2126
+ invertX: function(e) {
2127
+ return (e - this.x) / this.k;
2128
+ },
2129
+ invertY: function(e) {
2130
+ return (e - this.y) / this.k;
2131
+ },
2132
+ rescaleX: function(e) {
2133
+ return e.copy().domain(e.range().map(this.invertX, this).map(e.invert, e));
2134
+ },
2135
+ rescaleY: function(e) {
2136
+ return e.copy().domain(e.range().map(this.invertY, this).map(e.invert, e));
2137
+ },
2138
+ toString: function() {
2139
+ return "translate(" + this.x + "," + this.y + ") scale(" + this.k + ")";
2140
+ }
2141
+ };
2142
+ var hi = new $(1, 0, 0);
2143
+ gi.prototype = $.prototype;
2144
+ function gi(e) {
2145
+ for (; !e.__zoom;) if (!(e = e.parentNode)) return hi;
2146
+ return e.__zoom;
2147
+ }
2148
+ //#endregion
2149
+ export { l as _, bn as a, I as c, Vt as d, Ht as f, c as g, a as h, vn as i, P as l, o as m, V as n, B as o, Bt as p, xn as r, k as s, En as t, rn as u, n as v };