ryco-cli 0.1.24 → 0.1.25

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 (200) hide show
  1. package/dist/{AcpNativeLogging-COepku4a.cjs → AcpNativeLogging-CA6XYzIS.cjs} +1 -1
  2. package/dist/{AcpNativeLogging-D7e1dn7s.mjs → AcpNativeLogging-D4-VoHrq.mjs} +1 -1
  3. package/dist/{AzureDevOpsSourceControlProvider-BNGEg1R8.mjs → AzureDevOpsSourceControlProvider-B_E0XXfD.mjs} +2 -2
  4. package/dist/{AzureDevOpsSourceControlProvider-CrvgKNf2.cjs → AzureDevOpsSourceControlProvider-COmd21c-.cjs} +2 -2
  5. package/dist/{BitbucketSourceControlProvider-BzhsQwH-.cjs → BitbucketSourceControlProvider-CD8IvXQK.cjs} +2 -2
  6. package/dist/{BitbucketSourceControlProvider-Bt21jw68.mjs → BitbucketSourceControlProvider-pUKsNXcg.mjs} +2 -2
  7. package/dist/{ClaudeDriver-C4yu7Jit.mjs → ClaudeDriver-CGifBixr.mjs} +2 -2
  8. package/dist/{ClaudeDriver-B7mbf51W.cjs → ClaudeDriver-Dry5uJfX.cjs} +2 -2
  9. package/dist/{CodexDriver-CR0S17Lb.cjs → CodexDriver-BzR8gA8w.cjs} +3 -3
  10. package/dist/{CodexDriver-DnnqkGoY.mjs → CodexDriver-V4CL9APE.mjs} +3 -3
  11. package/dist/{CodexTextGeneration-tlfe1S5W.cjs → CodexTextGeneration-DTrSzY-I.cjs} +1 -1
  12. package/dist/{CodexTextGeneration-Cw-FZbSS.mjs → CodexTextGeneration-DoCidwvI.mjs} +1 -1
  13. package/dist/{CopilotDriver-GxKLX5pL.mjs → CopilotDriver-Dt13X60f.mjs} +3 -3
  14. package/dist/{CopilotDriver-IBd27Ji2.cjs → CopilotDriver-rLcA8PSN.cjs} +3 -3
  15. package/dist/{CursorDriver-C4Enoe9N.cjs → CursorDriver-C3s-8s9F.cjs} +3 -3
  16. package/dist/{CursorDriver-CNo9Uzo8.mjs → CursorDriver-HIPUs7cz.mjs} +3 -3
  17. package/dist/{ForgejoSourceControlProvider-BGXysSX6.mjs → ForgejoSourceControlProvider-CmvOAzEG.mjs} +2 -2
  18. package/dist/{ForgejoSourceControlProvider-Dh6DOoc8.cjs → ForgejoSourceControlProvider-JgiyrMqp.cjs} +2 -2
  19. package/dist/{GitHubSourceControlProvider-CPCYV8Xo.mjs → GitHubSourceControlProvider-BYuvbcBf.mjs} +2 -2
  20. package/dist/{GitHubSourceControlProvider-8hsv_kCE.cjs → GitHubSourceControlProvider-CItCpOcC.cjs} +2 -2
  21. package/dist/{GitLabSourceControlProvider-B0ZbF9Zx.cjs → GitLabSourceControlProvider-CMce22nU.cjs} +2 -2
  22. package/dist/{GitLabSourceControlProvider-Bvknpaon.mjs → GitLabSourceControlProvider-DZzEaVSi.mjs} +2 -2
  23. package/dist/{GrokDriver-DSPEmiwq.mjs → GrokDriver-CduUwiOH.mjs} +3 -3
  24. package/dist/{GrokDriver-RyyFeh_q.cjs → GrokDriver-D0jraOC_.cjs} +3 -3
  25. package/dist/{OpenCodeDriver-0q44rSQX.mjs → OpenCodeDriver-Bz_uJdMA.mjs} +2 -2
  26. package/dist/{OpenCodeDriver-CDcvPT9v.cjs → OpenCodeDriver-DxGpgtDS.cjs} +2 -2
  27. package/dist/{SourceControlProviderDiscoveryCatalog-DreaAH1H.cjs → SourceControlProviderDiscoveryCatalog-Dm_lhrhv.cjs} +1 -1
  28. package/dist/{SourceControlProviderDiscoveryCatalog-B37RHe2u.mjs → SourceControlProviderDiscoveryCatalog-ZtwPWoxE.mjs} +1 -1
  29. package/dist/bin.cjs +291 -176
  30. package/dist/bin.mjs +291 -176
  31. package/dist/client/assets/AccountSettings-Bv57-JYy.js +1 -0
  32. package/dist/client/assets/{AiFocusSettings-CNmGHEcA.js → AiFocusSettings-DCPHmJpA.js} +1 -1
  33. package/dist/client/assets/{AnimatedHeight-i0YhvlGD.js → AnimatedHeight-DPqb09B0.js} +1 -1
  34. package/dist/client/assets/{AppearanceSettings-BG8W4DP0.js → AppearanceSettings-EmTrtb_U.js} +1 -1
  35. package/dist/client/assets/{BranchToolbar.logic-AgPy06Mx.js → BranchToolbar.logic-CHRK3hDt.js} +1 -1
  36. package/dist/client/assets/{BrowserPanel-BWztlNuL.js → BrowserPanel-2Xu08il5.js} +1 -1
  37. package/dist/client/assets/ChatRightPanel-C1VD6GCV.js +194 -0
  38. package/dist/client/assets/{ChatThreadRouteView-CWoBLzR_.js → ChatThreadRouteView-CNww3i2J.js} +1 -1
  39. package/dist/client/assets/CommandPaletteDialog-B_f3fKp7.js +1 -0
  40. package/dist/client/assets/{CompositeRoot-C1G-Ejus.js → CompositeRoot-B40iitmH.js} +1 -1
  41. package/dist/client/assets/ComputerUseSettings-BJs7jqR0.js +1 -0
  42. package/dist/client/assets/ConnectionsSettings-B9nfvgLG.js +7 -0
  43. package/dist/client/assets/ContextHandoffEndpointLabel-BSQOArMR.js +4 -0
  44. package/dist/client/assets/{DiagnosticsSettings-DvnNz2AZ.js → DiagnosticsSettings-BmrqOKMe.js} +1 -1
  45. package/dist/client/assets/{DialogHandle-8o3kfoiI.js → DialogHandle-pelzaaiH.js} +1 -1
  46. package/dist/client/assets/{DialogPopup-CLw6NCkW.js → DialogPopup-BLM0vN4N.js} +1 -1
  47. package/dist/client/assets/DialogRoot-CY6ZzEUS.js +1 -0
  48. package/dist/client/assets/{DialogTitle-DCHX74Tz.js → DialogTitle-BvIjMtMm.js} +1 -1
  49. package/dist/client/assets/{DialogTrigger-Bl_fcIV2.js → DialogTrigger-CIeVAA-a.js} +1 -1
  50. package/dist/client/assets/{DialogViewport-DVDl03yd.js → DialogViewport-Cz0OadGI.js} +1 -1
  51. package/dist/client/assets/{DraftChatThreadRouteView-CEDYjbKq.js → DraftChatThreadRouteView-DMIGMESb.js} +1 -1
  52. package/dist/client/assets/{ExternalIdentityWeb.logic-arHvT6AX.js → ExternalIdentityWeb.logic-3rlDV7lT.js} +1 -1
  53. package/dist/client/assets/{GlassSurface-GY6owikG.js → GlassSurface-CEVIdyfP.js} +1 -1
  54. package/dist/client/assets/{HostedConnectionControls-COUhSe9x.js → HostedConnectionControls-r9cyZPyF.js} +1 -1
  55. package/dist/client/assets/HostedHubRoot-BkfafJ5x.js +2 -0
  56. package/dist/client/assets/{HostedNativeAuthorizationRoute-DZhYxv--.js → HostedNativeAuthorizationRoute-CqHuW853.js} +2 -2
  57. package/dist/client/assets/HostedNodeRenameDialog-C7m-nvTj.js +1 -0
  58. package/dist/client/assets/{HostedRelayTrustNotice-Bl6On0Yi.js → HostedRelayTrustNotice-DNZQyAX0.js} +1 -1
  59. package/dist/client/assets/IntegrationsSettingsPanel-hul3ysgL.js +2 -0
  60. package/dist/client/assets/{KeybindingsSettings-CPtXx-W2.js → KeybindingsSettings-Cme6omBM.js} +1 -1
  61. package/dist/client/assets/{LazyBrowserPanel-SUIBB7B4.js → LazyBrowserPanel-COJFwNK7.js} +2 -2
  62. package/dist/client/assets/{McpServersSettings-BWIUud0Z.js → McpServersSettings-CPeNF8_u.js} +4 -4
  63. package/dist/client/assets/{MobileSheet-NTayGHF6.js → MobileSheet-BZo-RAfm.js} +1 -1
  64. package/dist/client/assets/{NodeSecuritySettings-BFifrshE.js → NodeSecuritySettings-CwT5nEW9.js} +1 -1
  65. package/dist/client/assets/{OpinionatedPluginsSettings-D7WuuNWZ.js → OpinionatedPluginsSettings-D8A1CbMG.js} +1 -1
  66. package/dist/client/assets/{PhoneGetAppInterstitial-R0cqI17q.js → PhoneGetAppInterstitial-BBnGXVkR.js} +1 -1
  67. package/dist/client/assets/PhoneHome-BTKOPVjw.js +1 -0
  68. package/dist/client/assets/PhoneSettingsSurface-DdVCndyt.js +2 -0
  69. package/dist/client/assets/{ProviderModelPicker-dwWhl7Uf.js → ProviderModelPicker-DoYEUZrn.js} +1 -1
  70. package/dist/client/assets/ProvidersSettingsPanel-ldDCPVIY.js +1 -0
  71. package/dist/client/assets/{QuitShortcutFeedback-CklL3jMd.js → QuitShortcutFeedback-mF7X0WMD.js} +1 -1
  72. package/dist/client/assets/{RedactedSensitiveText-CLPBtvH1.js → RedactedSensitiveText-DovqFcmM.js} +1 -1
  73. package/dist/client/assets/RootAppShell-CzmEWO9w.js +7 -0
  74. package/dist/client/assets/{Separator-CpYBhf-I.js → Separator-BhAVTIOc.js} +1 -1
  75. package/dist/client/assets/SettingsDialog-ByXgBN0U.js +2 -0
  76. package/dist/client/assets/SettingsPanels-Bgf4vkrJ.js +3 -0
  77. package/dist/client/assets/{SettingsPanels.editor-9pSZP875.js → SettingsPanels.editor-d-rVlbeN.js} +1 -1
  78. package/dist/client/assets/SourceControlSettings-dKw0FaN1.js +1 -0
  79. package/dist/client/assets/{StatisticsPage-C7v-6CTr.js → StatisticsPage-C2RuqDIK.js} +1 -1
  80. package/dist/client/assets/{StatisticsPanel-CeIjiBm8.js → StatisticsPanel-DqoXnrhQ.js} +1 -1
  81. package/dist/client/assets/{StatisticsSettingsLink-5s_violW.js → StatisticsSettingsLink-C_f31sb4.js} +1 -1
  82. package/dist/client/assets/{ThreadTerminalDrawer-CHZ60lPI.js → ThreadTerminalDrawer-DaLrSTn9.js} +11 -11
  83. package/dist/client/assets/{ThreadWorkspacePanel-Ct5kMcuY.js → ThreadWorkspacePanel-BvRZIxZQ.js} +17 -17
  84. package/dist/client/assets/{activity-BMBx2Fu0.js → activity-bn_fBQGf.js} +1 -1
  85. package/dist/client/assets/{alert-CXnC_RJc.js → alert-BmLJh6DH.js} +1 -1
  86. package/dist/client/assets/{appChrome-BzM66lXM.js → appChrome-Dy57Ve9N.js} +1 -1
  87. package/dist/client/assets/{arrow-left-CymyVbCi.js → arrow-left-pzj1cbX3.js} +1 -1
  88. package/dist/client/assets/{arrow-right-9wyq4YVq.js → arrow-right-BW5jU-vo.js} +1 -1
  89. package/dist/client/assets/{arrow-up-right-mfU38K6p.js → arrow-up-right-AfC5AaSO.js} +1 -1
  90. package/dist/client/assets/authorization-7xVVtCBu.js +1 -0
  91. package/dist/client/assets/{badge-Dg7mXiOh.js → badge-DnBuGHGL.js} +1 -1
  92. package/dist/client/assets/{bot-BR3RyOWP.js → bot-CsKkSRlb.js} +1 -1
  93. package/dist/client/assets/{capabilities-C8sxDbKT.js → capabilities-DskyVNd2.js} +1 -1
  94. package/dist/client/assets/{chart-column-CcRi3pAd.js → chart-column-DhvWXIiH.js} +1 -1
  95. package/dist/client/assets/chevron-right-CITtTwME.js +1 -0
  96. package/dist/client/assets/{clipboard-copy-ezz8rnaT.js → clipboard-copy-fJnfdl4H.js} +1 -1
  97. package/dist/client/assets/{data-list-ZLhzdlED.js → data-list-_E-Al1sf.js} +1 -1
  98. package/dist/client/assets/{desktopWorkspace-P28r2lN2.js → desktopWorkspace-DycXKuMm.js} +1 -1
  99. package/dist/client/assets/{download-BA9L9tK9.js → download-CLQzE1di.js} +1 -1
  100. package/dist/client/assets/{editorPreferences-DeKdSV3s.js → editorPreferences-Bg624RVT.js} +1 -1
  101. package/dist/client/assets/{empty-3NpXLnAM.js → empty-YXFtCUDN.js} +1 -1
  102. package/dist/client/assets/{group-D5qBdsaB.js → group-DOCkUmuY.js} +1 -1
  103. package/dist/client/assets/{hostedConnectionCoordinator-CLV-JD1S.js → hostedConnectionCoordinator-JZ1dLx4v.js} +1 -1
  104. package/dist/client/assets/{hubRoutes-EWJ3Gdod.js → hubRoutes-C2S5of9_.js} +1 -1
  105. package/dist/client/assets/{index-DxCd1PgA.js → index-CvRFRkBK.js} +2 -2
  106. package/dist/client/assets/{input-DrOL1KPS.js → input-C2xv8mMt.js} +1 -1
  107. package/dist/client/assets/{kbd-rWDjJnWX.js → kbd-4-4mGdIa.js} +1 -1
  108. package/dist/client/assets/{key-round-D2DtQ7aS.js → key-round-CYcb9lAa.js} +1 -1
  109. package/dist/client/assets/{layers-DtSJWmwy.js → layers-CGlOWYxu.js} +1 -1
  110. package/dist/client/assets/{log-out-YAp9fsOg.js → log-out-CZW2EpNJ.js} +1 -1
  111. package/dist/client/assets/{logging-BuUPX1SP.js → logging-BpmZOfmu.js} +1 -1
  112. package/dist/client/assets/main-CC-U8LrA.css +2 -0
  113. package/dist/client/assets/main-CzDOnLFw.js +9 -0
  114. package/dist/client/assets/{palette-D18VboLH.js → palette-CQOuNfSO.js} +1 -1
  115. package/dist/client/assets/{play-d3KUi4G6.js → play-CPVy9wwV.js} +1 -1
  116. package/dist/client/assets/primary-CjhRI8fe.js +2 -0
  117. package/dist/client/assets/providerDriverMeta-BVHpFupf.js +1 -0
  118. package/dist/client/assets/providerModels-BsybzP4P.js +1 -0
  119. package/dist/client/assets/{qr-code-Bk1kdf_k.js → qr-code-BPqDlVMn.js} +1 -1
  120. package/dist/client/assets/{qr-code-MAZkoKtL.js → qr-code-C6BVTc4V.js} +1 -1
  121. package/dist/client/assets/{radio-group-D-VCGinX.js → radio-group-C8qudOQH.js} +2 -2
  122. package/dist/client/assets/{refresh-cw-DY3_Ph-S.js → refresh-cw-B5Cz1z3e.js} +1 -1
  123. package/dist/client/assets/runtime-Bxg7k81u.js +17 -0
  124. package/dist/client/assets/{save-ugJXuJRM.js → save-C7zM6ey6.js} +1 -1
  125. package/dist/client/assets/{scroll-area-BMnGzd2a.js → scroll-area-5OU_pvTW.js} +1 -1
  126. package/dist/client/assets/{scrollEdges-QLSFwGSQ.js → scrollEdges-qnEXfIOg.js} +1 -1
  127. package/dist/client/assets/{separator-BwUYkCkX.js → separator-B5HfRiaO.js} +1 -1
  128. package/dist/client/assets/{settingsLayout-C6SUmJVB.js → settingsLayout-CfKq88KD.js} +1 -1
  129. package/dist/client/assets/{sheet-DLy4aeVa.js → sheet-B9gQDy_I.js} +1 -1
  130. package/dist/client/assets/{shield-alert-DfUhTI4-.js → shield-alert-7yBlEyOs.js} +1 -1
  131. package/dist/client/assets/{shield-check-CO4SMhAs.js → shield-check-CnKgVJ0F.js} +1 -1
  132. package/dist/client/assets/{shield-Zq_ygsnJ.js → shield-rdjnBE2Q.js} +1 -1
  133. package/dist/client/assets/{sidebar-DNnW-a2V.js → sidebar-BdvL1Pbj.js} +1 -1
  134. package/dist/client/assets/sidebarProjectFolders-BH8XBqNe.js +4 -0
  135. package/dist/client/assets/{sidebarStatusText-CawrXnx0.js → sidebarStatusText-CZKsUFBD.js} +1 -1
  136. package/dist/client/assets/{skeleton-DRm4_OvB.js → skeleton-CoyLqyaB.js} +1 -1
  137. package/dist/client/assets/{smartphone-O2VACDhU.js → smartphone-CBgpMHXR.js} +1 -1
  138. package/dist/client/assets/{sparkles-isHutYWU.js → sparkles-w-UZXQx1.js} +1 -1
  139. package/dist/client/assets/src-Bi-5Nw9C.js +14 -0
  140. package/dist/client/assets/{star-7UHEnC3x.js → star-BZ-RtSFD.js} +1 -1
  141. package/dist/client/assets/switch-CEJEmLe7.js +48 -0
  142. package/dist/client/assets/{toggle-CaKBNe6W.js → toggle-DVGrNHjq.js} +1 -1
  143. package/dist/client/assets/{toggle-group-UeFeTI3u.js → toggle-group-CNDOfNhH.js} +1 -1
  144. package/dist/client/assets/{tokenModePresentation-DV56ekA4.js → tokenModePresentation-CQNdC9CW.js} +1 -1
  145. package/dist/client/assets/{tooltip-DXvXxL37.js → tooltip-B7Z4qomY.js} +1 -1
  146. package/dist/client/assets/{unplug-DisTpujT.js → unplug-CRUwFNFw.js} +1 -1
  147. package/dist/client/assets/useAppSidebarCollapsed-wq6czkNJ.js +1 -0
  148. package/dist/client/assets/useBaseUiId-OYaGjnkh.js +1 -0
  149. package/dist/client/assets/{useLabelableId-BsDFG9Oj.js → useLabelableId-VMc-yITe.js} +1 -1
  150. package/dist/client/assets/{useNavigate-cLfxn_9L.js → useNavigate-DVi0rBlf.js} +1 -1
  151. package/dist/client/assets/{usePhoneThreadActions-rekHL1Mi.js → usePhoneThreadActions-CwwHikjB.js} +1 -1
  152. package/dist/client/assets/{usePopupViewport-kXU31P6l.js → usePopupViewport-BcSIK_ph.js} +1 -1
  153. package/dist/client/assets/{useScrollLock-DjMxrUJe.js → useScrollLock-BQf9VYJT.js} +1 -1
  154. package/dist/client/assets/{useStatistics-BYP-9CmW.js → useStatistics-DczKdEfy.js} +1 -1
  155. package/dist/client/assets/{useTriggerFocusGuards-DuAm2B8C.js → useTriggerFocusGuards-DjP-D0_a.js} +1 -1
  156. package/dist/client/assets/{useValueChanged-DreFjrMK.js → useValueChanged-CRwCkFdy.js} +1 -1
  157. package/dist/client/assets/{user-round-DctamWV6.js → user-round-DStbWN3z.js} +1 -1
  158. package/dist/client/assets/{vscode-icons-Dw-LGJAv.js → vscode-icons-BihBo3tb.js} +1 -1
  159. package/dist/client/assets/{workspaceMetadataProjection-BL4sEIL2.js → workspaceMetadataProjection-j3BGlVOB.js} +1 -1
  160. package/dist/client/assets/{wrench-Ds8eZerZ.js → wrench-BBIgGxy9.js} +1 -1
  161. package/dist/client/index.html +1 -1
  162. package/dist/{collectUint8StreamText-C_VNyArd.mjs → collectUint8StreamText-CE1Re5Ij.mjs} +41 -3
  163. package/dist/{collectUint8StreamText-DStwNTTK.cjs → collectUint8StreamText-whblCEfg.cjs} +52 -2
  164. package/dist/{makeManagedServerProvider-GZcpSLrW.mjs → makeManagedServerProvider-CwYhl_P-.mjs} +1 -1
  165. package/dist/{makeManagedServerProvider-VzxWN-04.cjs → makeManagedServerProvider-Dy2Ny9tk.cjs} +1 -1
  166. package/dist/resource-monitor/ryco-resource-monitor +0 -0
  167. package/dist/resource-monitor/ryco-resource-monitor.exe +0 -0
  168. package/dist/resource-monitor/win32-arm64/ryco-resource-monitor.exe +0 -0
  169. package/dist/resource-monitor/win32-x64/ryco-resource-monitor.exe +0 -0
  170. package/package.json +1 -1
  171. package/dist/client/assets/AccountSettings-ApnDA1f-.js +0 -1
  172. package/dist/client/assets/ChatRightPanel-a6UOHNMm.js +0 -194
  173. package/dist/client/assets/CommandPaletteDialog-B2iKWCUi.js +0 -1
  174. package/dist/client/assets/ComputerUseSettings-CPwWoHWj.js +0 -1
  175. package/dist/client/assets/ConnectionsSettings-CPMkuxza.js +0 -7
  176. package/dist/client/assets/ContextHandoffEndpointLabel-BildLLDY.js +0 -4
  177. package/dist/client/assets/DialogRoot-SKkIuQHA.js +0 -1
  178. package/dist/client/assets/HostedHubRoot-BTWc0XoQ.js +0 -2
  179. package/dist/client/assets/IntegrationsSettingsPanel-n9owMZf-.js +0 -2
  180. package/dist/client/assets/PhoneHome-FqWvnJP_.js +0 -1
  181. package/dist/client/assets/PhoneSettingsSurface-w5PJnoBc.js +0 -2
  182. package/dist/client/assets/ProvidersSettingsPanel-Ww1ch3xA.js +0 -1
  183. package/dist/client/assets/RootAppShell-BdQCs2XJ.js +0 -7
  184. package/dist/client/assets/SettingsDialog-DeMzEeCP.js +0 -2
  185. package/dist/client/assets/SettingsPanels-ZxNz9ZfL.js +0 -3
  186. package/dist/client/assets/SourceControlSettings-C1F3Brcn.js +0 -1
  187. package/dist/client/assets/authorization-CjOFkg7b.js +0 -1
  188. package/dist/client/assets/chevron-right-CuUjBsQV.js +0 -1
  189. package/dist/client/assets/main-BbtLAX7M.js +0 -9
  190. package/dist/client/assets/main-D4CtFNPY.css +0 -2
  191. package/dist/client/assets/monitor-OyD484tI.js +0 -1
  192. package/dist/client/assets/primary-D_D7eLwT.js +0 -2
  193. package/dist/client/assets/providerDriverMeta-DNTocCcU.js +0 -1
  194. package/dist/client/assets/providerModels-bFbEIfL9.js +0 -1
  195. package/dist/client/assets/runtime-Djy96GJd.js +0 -17
  196. package/dist/client/assets/sidebarProjectFolders-ygpaKZM6.js +0 -4
  197. package/dist/client/assets/src-BSuAGqhK.js +0 -14
  198. package/dist/client/assets/switch-DD1qVLgN.js +0 -48
  199. package/dist/client/assets/useAppSidebarCollapsed-CaAsLi1q.js +0 -1
  200. package/dist/client/assets/useBaseUiId-CJN4MvrU.js +0 -1
@@ -1,4 +1,4 @@
1
- import{i as e,n as t,r as n,t as r}from"./react-SIfiwpqq.js";import{it as i,rt as a}from"./src-BSuAGqhK.js";import{Na as o,Sa as s,Vr as c,Wc as l,Yc as u,_l as d,or as f}from"./runtime-Djy96GJd.js";import{t as p}from"./compiler-runtime-qmuS0Svy.js";import{a as m,c as h,n as g,o as _,s as v}from"./badge-Dg7mXiOh.js";import{t as y}from"./arrow-up-right-mfU38K6p.js";var b={name:`arrow-down-right`,size:24,node:[[`path`,{d:`m7 7 10 10`,key:`1fmybs`}],[`path`,{d:`M17 7v10H7`,key:`6fjiku`}]]};b.node;var x=o(b),S=e(r()),C=u(),w=e(l()),T=`dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdateCapture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture`.split(`.`);function E(e){return typeof e==`string`&&T.includes(e)}var D=new Set(`aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle`.split(`.`));function O(e){return typeof e==`string`&&D.has(e)}function k(e){return typeof e==`string`&&e.startsWith(`data-`)}function A(e){if(typeof e!=`object`||!e)return{};var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(O(n)||k(n))&&(t[n]=e[n]);return t}function j(e){if(e==null)return null;if((0,S.isValidElement)(e)&&typeof e.props==`object`&&e.props!==null){var t=e.props;return A(t)}return typeof e==`object`&&!Array.isArray(e)?A(e):null}function M(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(O(n)||k(n)||E(n))&&(t[n]=e[n]);return t}function N(e){return e==null?null:(0,S.isValidElement)(e)?M(e.props):typeof e==`object`&&!Array.isArray(e)?M(e):null}var ee=[`children`,`width`,`height`,`viewBox`,`className`,`style`,`title`,`desc`];function te(){return te=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},te.apply(null,arguments)}function ne(e,t){if(e==null)return{};var n,r,i=re(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function re(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var ie=(0,S.forwardRef)((e,t)=>{var n=e.children,r=e.width,i=e.height,a=e.viewBox,o=e.className,c=e.style,l=e.title,u=e.desc,d=ne(e,ee),f=a||{width:r,height:i,x:0,y:0},p=s(`recharts-surface`,o);return S.createElement(`svg`,te({},M(d),{className:p,width:r,height:i,style:c,viewBox:`${f.x} ${f.y} ${f.width} ${f.height}`,ref:t}),S.createElement(`title`,null,l),S.createElement(`desc`,null,u),n)}),ae=[`children`,`className`];function oe(){return oe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oe.apply(null,arguments)}function se(e,t){if(e==null)return{};var n,r,i=ce(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function ce(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var P=S.forwardRef((e,t)=>{var n=e.children,r=e.className,i=se(e,ae),a=s(`recharts-layer`,r);return S.createElement(`g`,oe({className:a},M(i),{ref:t}),n)});function le(e){return e===`__proto__`}var ue=/\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;function de(e){switch(typeof e){case`number`:case`symbol`:return!1;case`string`:return e===``||e.startsWith(`.`)||e.endsWith(`.`)?!1:ue.test(e);default:return!1}}function fe(e){return typeof e==`string`||typeof e==`symbol`?e:Object.is(e?.valueOf?.(),-0)?`-0`:String(e)}function pe(e){return typeof e==`symbol`||e instanceof Symbol}function me(e){return e==null?``:he(e)}function he(e){if(typeof e==`string`)return e;if(Array.isArray(e))return e.map(he).join(`,`);if(pe(e))return e.toString();let t=e+``;return t===`0`&&Object.is(Number(e),-0)?`-0`:t}function ge(e){if(Array.isArray(e))return e.map(fe);if(typeof e==`symbol`)return[e];e=me(e);let t=[],n=e.length;if(n===0)return t;let r=0,i=``,a=``,o=!1,s=!1,c=/^-?\d+(?:\.\d+)?$/;for(e.charCodeAt(0)===46&&t.push(``);r<n;){let l=e[r];if(a)l===`\\`&&r+1<n?(r++,i+=e[r]):l===a?a=``:i+=l;else if(o){if(l===`"`||l===`'`)a=l,s=!0;else if(l===`]`){if(o=!1,!s&&i.includes(`.`)&&!c.test(i)){let e=i.split(`.`);for(let n=0;n<e.length;n++)e[n]!==``&&t.push(e[n])}else t.push(i);i=``}else i+=l}else if(l===`[`)o=!0,s=!1,i&&=(t.push(i),``);else if(l===`.`){i&&=(t.push(i),``);let n=e[r+1];(n===void 0||n===`.`)&&t.push(``)}else i+=l;r++}return i&&t.push(i),t}function _e(e,t,n){if(e==null)return n;switch(typeof t){case`string`:{if(le(t))return n;let r=e[t];return r===void 0?de(t)&&!Object.hasOwn(e,t)?_e(e,ge(t),n):n:r}case`number`:case`symbol`:{typeof t==`number`&&(t=fe(t));let r=e[t];return r===void 0?n:r}default:{if(Array.isArray(t))return ve(e,t,n);if(t=Object.is(t?.valueOf(),-0)?`-0`:String(t),le(t))return n;let r=e[t];return r===void 0?n:r}}}function ve(e,t,n){if(t.length===0)return n;let r=e;for(let e=0;e<t.length;e++){if(r==null||le(t[e]))return n;r=r[t[e]]}return r===void 0?n:r}var ye=4;function be(e){var t=10**(arguments.length>1&&arguments[1]!==void 0?arguments[1]:ye),n=Math.round(e*t)/t;return Object.is(n,-0)?0:n}function xe(e){var t=[...arguments].slice(1);return e.reduce((e,n,r)=>{var i=t[r-1];return typeof i==`string`?e+i+n:i===void 0?e+n:e+be(i)+n},``)}var Se=e=>e===0?0:e>0?1:-1,Ce=e=>typeof e==`number`&&e!=+e,we=e=>typeof e==`string`&&e.length>1&&e.indexOf(`%`)===e.length-1,F=e=>(typeof e==`number`||e instanceof Number)&&!Ce(e),Te=e=>F(e)||typeof e==`string`,Ee=0,De=e=>{var t=++Ee;return`${e||``}${t}`},Oe=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,r=arguments.length>3&&arguments[3]!==void 0&&arguments[3];if(!F(e)&&typeof e!=`string`)return n;var i;if(we(e)){if(t==null)return n;var a=e.indexOf(`%`);i=t*parseFloat(e.slice(0,a))/100}else i=+e;return Ce(i)&&(i=n),r&&t!=null&&i>t&&(i=t),i},ke=e=>{if(!Array.isArray(e))return!1;for(var t=e.length,n={},r=0;r<t;r++)if(!n[String(e[r])])n[String(e[r])]=!0;else return!0;return!1};function I(e,t,n){return F(e)&&F(t)?be(e+n*(t-e)):t}function Ae(e,t,n){if(e&&e.length)return e.find(e=>e&&(typeof t==`function`?t(e):_e(e,t))===n)}var L=e=>e==null,je=e=>L(e)?e:`${e.charAt(0).toUpperCase()}${e.slice(1)}`;function Me(e){return e!=null}function Ne(){}function Pe(e){if(e)return{x:e.x,y:e.y,upperWidth:`upperWidth`in e?e.upperWidth:e.width,lowerWidth:`lowerWidth`in e?e.lowerWidth:e.width,width:e.width,height:e.height}}function Fe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ie(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Fe(Object(n),!0).forEach(function(t){Le(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fe(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Le(e,t,n){return(t=Re(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Re(e){var t=ze(e,`string`);return typeof t==`symbol`?t:t+``}function ze(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Be=e=>{var t=e.viewBox,n=e.position,r=e.offset,i=r===void 0?0:r,a=e.parentViewBox,o=e.clamp,s=Pe(t),c=s.x,l=s.y,u=s.height,d=s.upperWidth,f=s.lowerWidth,p=c,m=c+(d-f)/2,h=(p+m)/2,g=(d+f)/2,_=p+d/2,v=u>=0?1:-1,y=v*i,b=v>0?`end`:`start`,x=v>0?`start`:`end`,S=d>=0?1:-1,C=S*i,w=S>0?`end`:`start`,T=S>0?`start`:`end`,E=a;if(n===`top`){var D={x:p+d/2,y:l-y,horizontalAnchor:`middle`,verticalAnchor:b};return o&&E&&(D.height=Math.max(l-E.y,0),D.width=d),D}if(n===`bottom`){var O={x:m+f/2,y:l+u+y,horizontalAnchor:`middle`,verticalAnchor:x};return o&&E&&(O.height=Math.max(E.y+E.height-(l+u),0),O.width=f),O}if(n===`left`){var k={x:h-C,y:l+u/2,horizontalAnchor:w,verticalAnchor:`middle`};return o&&E&&(k.width=Math.max(k.x-E.x,0),k.height=u),k}if(n===`right`){var A={x:h+g+C,y:l+u/2,horizontalAnchor:T,verticalAnchor:`middle`};return o&&E&&(A.width=Math.max(E.x+E.width-A.x,0),A.height=u),A}var j=o&&E?{width:g,height:u}:{};return n===`insideLeft`?Ie({x:h+C,y:l+u/2,horizontalAnchor:T,verticalAnchor:`middle`},j):n===`insideRight`?Ie({x:h+g-C,y:l+u/2,horizontalAnchor:w,verticalAnchor:`middle`},j):n===`insideTop`?Ie({x:p+d/2,y:l+y,horizontalAnchor:`middle`,verticalAnchor:x},j):n===`insideBottom`?Ie({x:m+f/2,y:l+u-y,horizontalAnchor:`middle`,verticalAnchor:b},j):n===`insideTopLeft`?Ie({x:p+C,y:l+y,horizontalAnchor:T,verticalAnchor:x},j):n===`insideTopRight`?Ie({x:p+d-C,y:l+y,horizontalAnchor:w,verticalAnchor:x},j):n===`insideBottomLeft`?Ie({x:m+C,y:l+u-y,horizontalAnchor:T,verticalAnchor:b},j):n===`insideBottomRight`?Ie({x:m+f-C,y:l+u-y,horizontalAnchor:w,verticalAnchor:b},j):n&&typeof n==`object`&&(F(n.x)||we(n.x))&&(F(n.y)||we(n.y))?Ie({x:c+Oe(n.x,g),y:l+Oe(n.y,u),horizontalAnchor:`end`,verticalAnchor:`end`},j):Ie({x:_,y:l+u/2,horizontalAnchor:`middle`,verticalAnchor:`middle`},j)},Ve=[`top`,`left`,`right`,`bottom`];function He(e){return e==null?!1:typeof e==`object`||Ve.includes(e)}var Ue=(0,S.createContext)(null);function We(e){return function(){return e}}var Ge=Math.PI,Ke=2*Ge,qe=1e-6,Je=Ke-qe;function Ye(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}function Xe(e){let t=Math.floor(e);if(!(t>=0))throw Error(`invalid digits: ${e}`);if(t>15)return Ye;let n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}var Ze=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._=``,this._append=e==null?Ye:Xe(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,i,a){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+a}`}arcTo(e,t,n,r,i){if(e=+e,t=+t,n=+n,r=+r,i=+i,i<0)throw Error(`negative radius: ${i}`);let a=this._x1,o=this._y1,s=n-e,c=r-t,l=a-e,u=o-t,d=l*l+u*u;if(this._x1===null)this._append`M${this._x1=e},${this._y1=t}`;else if(d>qe){if(!(Math.abs(u*s-c*l)>qe)||!i)this._append`L${this._x1=e},${this._y1=t}`;else{let f=n-a,p=r-o,m=s*s+c*c,h=f*f+p*p,g=Math.sqrt(m),_=Math.sqrt(d),v=i*Math.tan((Ge-Math.acos((m+d-h)/(2*g*_)))/2),y=v/_,b=v/g;Math.abs(y-1)>qe&&this._append`L${e+y*l},${t+y*u}`,this._append`A${i},${i},0,0,${+(u*f>l*p)},${this._x1=e+b*s},${this._y1=t+b*c}`}}}arc(e,t,n,r,i,a){if(e=+e,t=+t,n=+n,a=!!a,n<0)throw Error(`negative radius: ${n}`);let o=n*Math.cos(r),s=n*Math.sin(r),c=e+o,l=t+s,u=1^a,d=a?r-i:i-r;this._x1===null?this._append`M${c},${l}`:(Math.abs(this._x1-c)>qe||Math.abs(this._y1-l)>qe)&&this._append`L${c},${l}`,n&&(d<0&&(d=d%Ke+Ke),d>Je?this._append`A${n},${n},0,1,${u},${e-o},${t-s}A${n},${n},0,1,${u},${this._x1=c},${this._y1=l}`:d>qe&&this._append`A${n},${n},0,${+(d>=Ge)},${u},${this._x1=e+n*Math.cos(i)},${this._y1=t+n*Math.sin(i)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}};Ze.prototype;function Qe(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{let e=Math.floor(n);if(!(e>=0))throw RangeError(`invalid digits: ${n}`);t=e}return e},()=>new Ze(t)}Array.prototype.slice;function $e(e){return typeof e==`object`&&`length`in e?e:Array.from(e)}function et(e){this._context=e}et.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};function tt(e){return new et(e)}function nt(e){return e[0]}function rt(e){return e[1]}function it(e,t){var n=We(!0),r=null,i=tt,a=null,o=Qe(s);e=typeof e==`function`?e:e===void 0?nt:We(e),t=typeof t==`function`?t:t===void 0?rt:We(t);function s(s){var c,l=(s=$e(s)).length,u,d=!1,f;for(r??(a=i(f=o())),c=0;c<=l;++c)!(c<l&&n(u=s[c],c,s))===d&&((d=!d)?a.lineStart():a.lineEnd()),d&&a.point(+e(u,c,s),+t(u,c,s));if(f)return a=null,f+``||null}return s.x=function(t){return arguments.length?(e=typeof t==`function`?t:We(+t),s):e},s.y=function(e){return arguments.length?(t=typeof e==`function`?e:We(+e),s):t},s.defined=function(e){return arguments.length?(n=typeof e==`function`?e:We(!!e),s):n},s.curve=function(e){return arguments.length?(i=e,r!=null&&(a=i(r)),s):i},s.context=function(e){return arguments.length?(e==null?r=a=null:a=i(r=e),s):r},s}function at(e,t,n){var r=null,i=We(!0),a=null,o=tt,s=null,c=Qe(l);e=typeof e==`function`?e:e===void 0?nt:We(+e),t=typeof t==`function`?t:We(t===void 0?0:+t),n=typeof n==`function`?n:n===void 0?rt:We(+n);function l(l){var u,d,f,p=(l=$e(l)).length,m,h=!1,g,_=Array(p),v=Array(p);for(a??(s=o(g=c())),u=0;u<=p;++u){if(!(u<p&&i(m=l[u],u,l))===h){if(h=!h)d=u,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),f=u-1;f>=d;--f)s.point(_[f],v[f]);s.lineEnd(),s.areaEnd()}}h&&(_[u]=+e(m,u,l),v[u]=+t(m,u,l),s.point(r?+r(m,u,l):_[u],n?+n(m,u,l):v[u]))}if(g)return s=null,g+``||null}function u(){return it().defined(i).curve(o).context(a)}return l.x=function(t){return arguments.length?(e=typeof t==`function`?t:We(+t),r=null,l):e},l.x0=function(t){return arguments.length?(e=typeof t==`function`?t:We(+t),l):e},l.x1=function(e){return arguments.length?(r=e==null?null:typeof e==`function`?e:We(+e),l):r},l.y=function(e){return arguments.length?(t=typeof e==`function`?e:We(+e),n=null,l):t},l.y0=function(e){return arguments.length?(t=typeof e==`function`?e:We(+e),l):t},l.y1=function(e){return arguments.length?(n=e==null?null:typeof e==`function`?e:We(+e),l):n},l.lineX0=l.lineY0=function(){return u().x(e).y(t)},l.lineY1=function(){return u().x(e).y(n)},l.lineX1=function(){return u().x(r).y(t)},l.defined=function(e){return arguments.length?(i=typeof e==`function`?e:We(!!e),l):i},l.curve=function(e){return arguments.length?(o=e,a!=null&&(s=o(a)),l):o},l.context=function(e){return arguments.length?(e==null?a=s=null:s=o(a=e),l):a},l}var ot=class{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t)}this._x0=e,this._y0=t}};function st(e){return new ot(e,!0)}function ct(e){return new ot(e,!1)}function lt(){}function ut(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function dt(e){this._context=e}dt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:ut(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:ut(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function ft(e){return new dt(e)}function pt(e){this._context=e}pt.prototype={areaStart:lt,areaEnd:lt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:ut(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function mt(e){return new pt(e)}function ht(e){this._context=e}ht.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:ut(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function gt(e){return new ht(e)}function _t(e){this._context=e}_t.prototype={areaStart:lt,areaEnd:lt,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function vt(e){return new _t(e)}function yt(e){return e<0?-1:1}function bt(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(yt(a)+yt(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function xt(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function St(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function Ct(e){this._context=e}Ct.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:St(this,this._t0,xt(this,this._t0))}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,e!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,St(this,xt(this,n=bt(this,e,t)),n);break;default:St(this,this._t0,n=bt(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function wt(e){this._context=new Tt(e)}(wt.prototype=Object.create(Ct.prototype)).point=function(e,t){Ct.prototype.point.call(this,t,e)};function Tt(e){this._context=e}Tt.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,a){this._context.bezierCurveTo(t,e,r,n,a,i)}};function Et(e){return new Ct(e)}function Dt(e){return new wt(e)}function Ot(e){this._context=e}Ot.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n){if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),n===2)this._context.lineTo(e[1],t[1]);else for(var r=kt(e),i=kt(t),a=0,o=1;o<n;++a,++o)this._context.bezierCurveTo(r[0][a],i[0][a],r[1][a],i[1][a],e[o],t[o])}(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function kt(e){var t,n=e.length-1,r,i=Array(n),a=Array(n),o=Array(n);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t<n-1;++t)i[t]=1,a[t]=4,o[t]=4*e[t]+2*e[t+1];for(i[n-1]=2,a[n-1]=7,o[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=i[t]/a[t-1],a[t]-=r,o[t]-=r*o[t-1];for(i[n-1]=o[n-1]/a[n-1],t=n-2;t>=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[n-1]=(e[n]+i[n-1])/2,t=0;t<n-1;++t)a[t]=2*e[t+1]-i[t+1];return[i,a]}function At(e){return new Ot(e)}function jt(e,t){this._context=e,this._t=t}jt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};function Mt(e){return new jt(e,.5)}function Nt(e){return new jt(e,0)}function Pt(e){return new jt(e,1)}function Ft(e,t){if((o=e.length)>1)for(var n=1,r,i,a=e[t[0]],o,s=a.length;n<o;++n)for(i=a,a=e[t[n]],r=0;r<s;++r)a[r][1]+=a[r][0]=isNaN(i[r][1])?i[r][0]:i[r][1]}function It(e){for(var t=e.length,n=Array(t);--t>=0;)n[t]=t;return n}function Lt(e,t){return e[t]}function Rt(e){let t=[];return t.key=e,t}function zt(){var e=We([]),t=It,n=Ft,r=Lt;function i(i){var a=Array.from(e.apply(this,arguments),Rt),o,s=a.length,c=-1,l;for(let e of i)for(o=0,++c;o<s;++o)(a[o][c]=[0,+r(e,a[o].key,c,i)]).data=e;for(o=0,l=$e(t(a));o<s;++o)a[l[o]].index=o;return n(a,l),a}return i.keys=function(t){return arguments.length?(e=typeof t==`function`?t:We(Array.from(t)),i):e},i.value=function(e){return arguments.length?(r=typeof e==`function`?e:We(+e),i):r},i.order=function(e){return arguments.length?(t=e==null?It:typeof e==`function`?e:We(Array.from(e)),i):t},i.offset=function(e){return arguments.length?(n=e??Ft,i):n},i}function Bt(e,t){if((r=e.length)>0){for(var n,r,i=0,a=e[0].length,o;i<a;++i){for(o=n=0;n<r;++n)o+=e[n][i][1]||0;if(o)for(n=0;n<r;++n)e[n][i][1]/=o}Ft(e,t)}}function Vt(e,t){if((i=e.length)>0){for(var n=0,r=e[t[0]],i,a=r.length;n<a;++n){for(var o=0,s=0;o<i;++o)s+=e[o][n][1]||0;r[n][1]+=r[n][0]=-s/2}Ft(e,t)}}function Ht(e,t){if((o=e.length)>0&&(a=(i=e[t[0]]).length)>0){for(var n=0,r=1,i,a,o;r<a;++r){for(var s=0,c=0,l=0;s<o;++s){for(var u=e[t[s]],d=u[r][1]||0,f=(d-(u[r-1][1]||0))/2,p=0;p<s;++p){var m=e[t[p]],h=m[r][1]||0,g=m[r-1][1]||0;f+=h-g}c+=d,l+=f*d}i[r-1][1]+=i[r-1][0]=n,c&&(n-=l/c)}i[r-1][1]+=i[r-1][0]=n,Ft(e,t)}}var Ut=e=>`radius`in e&&`startAngle`in e&&`endAngle`in e,Wt=(e,t)=>{if(!e||typeof e==`function`||typeof e==`boolean`)return null;var n=e;if((0,S.isValidElement)(e)&&(n=e.props),typeof n!=`object`&&typeof n!=`function`)return null;var r={};return Object.keys(n).forEach(e=>{E(e)&&typeof n[e]==`function`&&(r[e]=t||(t=>n[e](n,t)))}),r},Gt=(e,t,n)=>r=>(e(t,n,r),null),Kt=(e,t,n)=>{if(e===null||typeof e!=`object`&&typeof e!=`function`)return null;var r=null;return Object.keys(e).forEach(i=>{var a=e[i];E(i)&&typeof a==`function`&&(r||={},r[i]=Gt(a,t,n))}),r};function qt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Jt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?qt(Object(n),!0).forEach(function(t){Yt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Yt(e,t,n){return(t=Xt(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xt(e){var t=Zt(e,`string`);return typeof t==`symbol`?t:t+``}function Zt(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Qt(e,t){var n=Jt({},e),r=t;return Object.keys(t).reduce((e,t)=>(e[t]===void 0&&r[t]!==void 0&&(e[t]=r[t]),e),n)}function $t(e,t){let n=new Map;for(let r=0;r<e.length;r++){let i=e[r],a=t(i,r,e);n.has(a)||n.set(a,i)}return Array.from(n.values())}function en(e,t){return function(...n){return e.apply(this,n.slice(0,t))}}function tn(e){return e}function nn(e){return Number.isSafeInteger(e)&&e>=0}function rn(e){return e!=null&&typeof e!=`function`&&nn(e.length)}function an(e){return function(t){return _e(t,e)}}function on(e){return e==null||typeof e!=`object`&&typeof e!=`function`}function sn(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function cn(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function ln(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e)}var un=`[object RegExp]`,dn=`[object String]`,fn=`[object Number]`,pn=`[object Boolean]`,mn=`[object Arguments]`,hn=`[object Symbol]`,gn=`[object Date]`,_n=`[object Map]`,vn=`[object Set]`,yn=`[object Array]`,bn=`[object Function]`,xn=`[object ArrayBuffer]`,Sn=`[object Object]`,Cn=`[object Error]`,wn=`[object DataView]`,Tn=`[object Uint8Array]`,En=`[object Uint8ClampedArray]`,Dn=`[object Uint16Array]`,On=`[object Uint32Array]`,kn=`[object BigUint64Array]`,An=`[object Int8Array]`,jn=`[object Int16Array]`,Mn=`[object Int32Array]`,Nn=`[object BigInt64Array]`,Pn=`[object Float32Array]`,Fn=`[object Float64Array]`,In=typeof globalThis==`object`&&globalThis||typeof window==`object`&&window||typeof self==`object`&&self||typeof global==`object`&&global||(function(){return this})();function Ln(e){return In.Buffer!==void 0&&In.Buffer.isBuffer(e)}function Rn(e,t){return zn(e,void 0,e,new Map,t)}function zn(e,t,n,r=new Map,i=void 0){let a=i?.(e,t,n,r);if(a!==void 0)return a;if(on(e))return e;if(r.has(e))return r.get(e);if(Array.isArray(e)){let t=Array(e.length);r.set(e,t);for(let a=0;a<e.length;a++)t[a]=zn(e[a],a,n,r,i);return Object.hasOwn(e,`index`)&&(t.index=e.index),Object.hasOwn(e,`input`)&&(t.input=e.input),t}if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){let t=new RegExp(e.source,e.flags);return t.lastIndex=e.lastIndex,t}if(e instanceof Map){let t=new Map;r.set(e,t);for(let[a,o]of e)t.set(a,zn(o,a,n,r,i));return t}if(e instanceof Set){let t=new Set;r.set(e,t);for(let a of e)t.add(zn(a,void 0,n,r,i));return t}if(Ln(e))return e.subarray();if(sn(e)){let t=new(Object.getPrototypeOf(e)).constructor(e.length);r.set(e,t);for(let a=0;a<e.length;a++)t[a]=zn(e[a],a,n,r,i);return t}if(e instanceof ArrayBuffer||typeof SharedArrayBuffer<`u`&&e instanceof SharedArrayBuffer)return e.slice(0);if(e instanceof DataView){let t=new DataView(e.buffer.slice(0),e.byteOffset,e.byteLength);return r.set(e,t),Bn(t,e,n,r,i),t}if(typeof File<`u`&&e instanceof File){let t=new File([e],e.name,{type:e.type});return r.set(e,t),Bn(t,e,n,r,i),t}if(typeof Blob<`u`&&e instanceof Blob){let t=new Blob([e],{type:e.type});return r.set(e,t),Bn(t,e,n,r,i),t}if(e instanceof Error){let t=structuredClone(e);return r.set(e,t),t.message=e.message,t.name=e.name,t.stack=e.stack,t.cause=e.cause,t.constructor=e.constructor,Bn(t,e,n,r,i),t}if(e instanceof Boolean){let t=new Boolean(e.valueOf());return r.set(e,t),Bn(t,e,n,r,i),t}if(e instanceof Number){let t=new Number(e.valueOf());return r.set(e,t),Bn(t,e,n,r,i),t}if(e instanceof String){let t=new String(e.valueOf());return r.set(e,t),Bn(t,e,n,r,i),t}if(typeof e==`object`&&Vn(e)){let t=Object.create(Object.getPrototypeOf(e));return r.set(e,t),Bn(t,e,n,r,i),t}return e}function Bn(e,t,n=e,r,i){let a=[...Object.keys(t),...cn(t)];for(let o=0;o<a.length;o++){let s=a[o],c=Object.getOwnPropertyDescriptor(e,s);(c==null||c.writable)&&(e[s]=zn(t[s],s,n,r,i))}}function Vn(e){switch(ln(e)){case mn:case yn:case xn:case wn:case pn:case gn:case Pn:case Fn:case An:case jn:case Mn:case _n:case fn:case Sn:case un:case vn:case dn:case hn:case Tn:case En:case Dn:case On:return!0;default:return!1}}function Hn(e){return zn(e,void 0,e,new Map,void 0)}function Un(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function Wn(e){return e!==null&&(typeof e==`object`||typeof e==`function`)}function Gn(e,t,n){return typeof n==`function`?Kn(e,t,function e(t,r,i,a,o,s){let c=n(t,r,i,a,o,s);return c===void 0?Kn(t,r,e,s,!1):!!c},new Map,!0):Gn(e,t,()=>void 0)}function Kn(e,t,n,r,i=!1){if(t===e)return!0;switch(typeof t){case`object`:return qn(e,t,n,r,i);case`function`:return Object.keys(t).length>0?Kn(e,{...t},n,r,i):Un(e,t);default:return Wn(e)&&i?typeof t!=`string`||t===``:Un(e,t)}}function qn(e,t,n,r,i=!1){if(t==null)return!0;if(Array.isArray(t))return Yn(e,t,n,r);if(t instanceof Map)return Jn(e,t,n,r);if(t instanceof Set)return Xn(e,t,n,r);let a=Object.keys(t);if(e==null)return i&&a.length===0;if(i)on(e)&&(e=Object(e));else{let t=ln(e);if(t!==`[object Object]`&&t!==`[object Arguments]`)return!1}if(a.length===0)return!0;if(r?.has(t))return r.get(t)===e;r?.set(t,e);try{for(let i=0;i<a.length;i++){let o=a[i];if(!(o in e)||t[o]===void 0&&e[o]!==void 0||t[o]===null&&e[o]!==null||!n(e[o],t[o],o,e,t,r))return!1}return!0}finally{r?.delete(t)}}function Jn(e,t,n,r){if(t.size===0)return!0;if(!(e instanceof Map))return!1;for(let[i,a]of t.entries())if(n(e.get(i),a,i,e,t,r)===!1)return!1;return!0}function Yn(e,t,n,r){if(t.length===0)return!0;if(!Array.isArray(e))return!1;let i=new Set;for(let a=0;a<t.length;a++){let o=t[a],s=!1;for(let c=0;c<e.length;c++){if(i.has(c))continue;let l=e[c],u=!1;if(n(l,o,a,e,t,r)&&(u=!0),u){i.add(c),s=!0;break}}if(!s)return!1}return!0}function Xn(e,t,n,r){return t.size===0||e instanceof Set&&Yn([...e],[...t],n,r)}function Zn(e,t){return Gn(e,t,()=>void 0)}function Qn(e){return e=Hn(e),t=>Zn(t,e)}function $n(e,t){return Rn(e,(n,r,i,a)=>{let o=t?.(n,r,i,a);if(o!==void 0)return o;if(typeof e==`object`){if(ln(e)===`[object Object]`&&typeof e.constructor!=`function`){let t={};return a.set(e,t),Bn(t,e,i,a),t}switch(Object.prototype.toString.call(e)){case fn:case dn:case pn:{let t=new e.constructor(e?.valueOf());return Bn(t,e),t}case mn:{let t={};return Bn(t,e),t.length=e.length,t[Symbol.iterator]=e[Symbol.iterator],t}default:return}}})}function er(e){return $n(e)}var tr=/^(?:0|[1-9]\d*)$/;function nr(e,t=2**53-1){switch(typeof e){case`number`:return Number.isInteger(e)&&e>=0&&e<t;case`symbol`:return!1;case`string`:return tr.test(e)}}function rr(e){return typeof e==`object`&&!!e&&ln(e)===`[object Arguments]`}function ir(e,t){let n;if(n=Array.isArray(t)?t:typeof t==`string`&&de(t)&&!(t in Object(e))?ge(t):[t],n.length===0)return!1;let r=e;for(let e=0;e<n.length;e++){let t=fe(n[e]);if((r==null||!Object.hasOwn(r,t))&&!((Array.isArray(r)||rr(r))&&nr(t)&&Number(t)<r.length))return!1;r=r[t]}return!0}function ar(e,t){switch(typeof e){case`object`:Object.is(e?.valueOf(),-0)&&(e=`-0`);break;case`number`:e=fe(e)}return t=er(t),function(n){let r=_e(n,e);return r===void 0?ir(n,e):t===void 0?r===void 0:Zn(r,t)}}function or(e){if(e==null)return tn;switch(typeof e){case`function`:return e;case`object`:return Array.isArray(e)&&e.length===2?ar(e[0],e[1]):Qn(e);default:return an(e)}}function sr(e){return e===0?0:e}function cr(e,t=tn){return rn(e)?$t(Array.from(e),en(or(t),1)).map(sr):[]}function lr(e,t,n){return t===!0?cr(e,n):typeof t==`function`?cr(e,t):e}var ur=(0,S.createContext)(null),dr=e=>e,R=()=>{var e=(0,S.useContext)(ur);return e?e.store.dispatch:dr},fr=()=>{},pr=()=>fr,mr=(e,t)=>e===t;function z(e){var t=(0,S.useContext)(ur),n=(0,S.useMemo)(()=>t?t=>{if(t!=null)return e(t)}:fr,[t,e]);return(0,C.useSyncExternalStoreWithSelector)(t?t.subscription.addNestedSub:pr,t?t.store.getState:fr,t?t.store.getState:fr,n,mr)}function hr(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!=`function`)throw TypeError(t)}function gr(e,t=`expected all items to be functions, instead received the following types: `){if(!e.every(e=>typeof e==`function`)){let n=e.map(e=>typeof e==`function`?`function ${e.name||`unnamed`}()`:typeof e).join(`, `);throw TypeError(`${t}[${n}]`)}}var _r=e=>Array.isArray(e)?e:[e];function vr(e){let t=Array.isArray(e[0])?e[0]:e;return gr(t,`createSelector expects all input-selectors to be functions, but received the following types: `),t}function yr(e,t){let n=[],{length:r}=e;for(let i=0;i<r;i++)n.push(e[i].apply(null,t));return n}var br=class{constructor(e){this.value=e}deref(){return this.value}},xr=typeof WeakRef>`u`?br:WeakRef,Sr=0,Cr=1;function wr(){return{s:Sr,v:void 0,o:null,p:null}}function Tr(e){return e instanceof xr?e.deref():e}function Er(e,t={}){let n=wr(),{resultEqualityCheck:r}=t,i,a=0;function o(){let t=n,{length:o}=arguments;for(let e=0,n=o;e<n;e++){let n=arguments[e];if(typeof n==`function`||typeof n==`object`&&n){let e=t.o;e===null&&(t.o=e=new WeakMap);let r=e.get(n);r===void 0?(t=wr(),e.set(n,t)):t=r}else{let e=t.p;e===null&&(t.p=e=new Map);let r=e.get(n);r===void 0?(t=wr(),e.set(n,t)):t=r}}let s=t,c;if(t.s===Cr)c=t.v;else if(c=e.apply(null,arguments),a++,r){let e=Tr(i);e!=null&&r(e,c)&&(c=e,a!==0&&a--),i=typeof c==`object`&&c||typeof c==`function`?new xr(c):c}return s.s=Cr,s.v=c,c}return o.clearCache=()=>{n=wr(),o.resetResultsCount()},o.resultsCount=()=>a,o.resetResultsCount=()=>{a=0},o}function Dr(e,...t){let n=typeof e==`function`?{memoize:e,memoizeOptions:t}:e,r=(...e)=>{let t=0,r=0,i,a={},o=e.pop();typeof o==`object`&&(a=o,o=e.pop()),hr(o,`createSelector expects an output function after the inputs, but received: [${typeof o}]`);let{memoize:s,memoizeOptions:c=[],argsMemoize:l=Er,argsMemoizeOptions:u=[]}={...n,...a},d=_r(c),f=_r(u),p=vr(e),m=s(function(){return t++,o.apply(null,arguments)},...d),h=l(function(){r++;let e=yr(p,arguments);return i=m.apply(null,e),i},...f);return Object.assign(h,{resultFunc:o,memoizedResultFunc:m,dependencies:p,dependencyRecomputations:()=>r,resetDependencyRecomputations:()=>{r=0},lastResult:()=>i,recomputations:()=>t,resetRecomputations:()=>{t=0},memoize:s,argsMemoize:l})};return Object.assign(r,{withTypes:()=>r}),r}var B=Dr(Er);function Or(e,t=1){let n=[],r=Math.floor(t),i=(e,t)=>{for(let a=0;a<e.length;a++){let o=e[a];Array.isArray(o)&&t<r?i(o,t+1):n.push(o)}};return i(e,0),n}function kr(e,t,n){return Wn(n)&&(typeof t==`number`&&rn(n)&&nr(t)&&t<n.length||typeof t==`string`&&t in n)?Un(n[t],e):!1}function Ar(e){return typeof e==`symbol`?1:e===null?2:e===void 0?3:e===e?0:4}var jr=(e,t,n)=>{if(e!==t){let r=Ar(e),i=Ar(t);if(r===i&&r===0){if(e<t)return n===`desc`?1:-1;if(e>t)return n===`desc`?-1:1}return n===`desc`?i-r:r-i}return 0},Mr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Nr=/^\w*$/;function Pr(e,t){return Array.isArray(e)?!1:typeof e==`number`||typeof e==`boolean`||e==null||pe(e)?!0:typeof e==`string`&&(Nr.test(e)||!Mr.test(e))||t!=null&&Object.hasOwn(t,e)}function Fr(e,t,n,r){if(e==null)return[];n=r?void 0:n,Array.isArray(e)||(e=rn(e)?Array.from(e):Object.values(e)),Array.isArray(t)||(t=t==null?[null]:[t]),t.length===0&&(t=[null]),Array.isArray(n)||(n=n==null?[]:[n]),n=n.map(e=>String(e));let i=(e,t)=>{let n=e,r=0;for(;r<t.length&&n!=null;++r)n=n[t[r]];return r>0&&r===t.length?n:void 0},a=(e,t)=>{if(e==null)return t;if(t!=null)return typeof e==`object`&&`key`in e?Object.hasOwn(t,e.key)?t[e.key]:i(t,e.path):typeof e==`function`?e(t):Array.isArray(e)?i(t,e):t[e]},o=t.map(e=>(Array.isArray(e)&&e.length===1&&(e=e[0]),e==null||typeof e==`function`||Array.isArray(e)||Pr(e)?e:{key:e,path:ge(e)}));return e.map(e=>({original:e,criteria:o.map(t=>a(t,e))})).slice().sort((e,t)=>{for(let r=0;r<o.length;r++){let i=jr(e.criteria[r],t.criteria[r],n[r]);if(i!==0)return i}return 0}).map(e=>e.original)}function Ir(e,...t){let n=t.length;return n>1&&kr(e,t[0],t[1])?t=[]:n>2&&kr(t[0],t[1],t[2])&&(t=[t[0]]),Fr(e,Or(t),[`asc`])}var Lr=e=>e.legend.settings,Rr=e=>e.legend.size;B([e=>e.legend.payload,Lr],(e,t)=>{var n=t.itemSorter,r=e.flat(1);return n?Ir(r,n):r});function zr(e,t){return Wr(e)||Ur(e,t)||Vr(e,t)||Br()}function Br(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
1
+ import{i as e,n as t,r as n,t as r}from"./react-SIfiwpqq.js";import{it as i,rt as a}from"./src-Bi-5Nw9C.js";import{Na as o,Sa as s,Vr as c,Wc as l,Yc as u,_l as d,or as f}from"./runtime-Bxg7k81u.js";import{t as p}from"./compiler-runtime-qmuS0Svy.js";import{a as m,c as h,n as g,o as _,s as v}from"./badge-DnBuGHGL.js";import{t as y}from"./arrow-up-right-AfC5AaSO.js";var b={name:`arrow-down-right`,size:24,node:[[`path`,{d:`m7 7 10 10`,key:`1fmybs`}],[`path`,{d:`M17 7v10H7`,key:`6fjiku`}]]};b.node;var x=o(b),S=e(r()),C=u(),w=e(l()),T=`dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdateCapture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture`.split(`.`);function E(e){return typeof e==`string`&&T.includes(e)}var D=new Set(`aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle`.split(`.`));function O(e){return typeof e==`string`&&D.has(e)}function k(e){return typeof e==`string`&&e.startsWith(`data-`)}function A(e){if(typeof e!=`object`||!e)return{};var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(O(n)||k(n))&&(t[n]=e[n]);return t}function j(e){if(e==null)return null;if((0,S.isValidElement)(e)&&typeof e.props==`object`&&e.props!==null){var t=e.props;return A(t)}return typeof e==`object`&&!Array.isArray(e)?A(e):null}function M(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(O(n)||k(n)||E(n))&&(t[n]=e[n]);return t}function N(e){return e==null?null:(0,S.isValidElement)(e)?M(e.props):typeof e==`object`&&!Array.isArray(e)?M(e):null}var ee=[`children`,`width`,`height`,`viewBox`,`className`,`style`,`title`,`desc`];function te(){return te=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},te.apply(null,arguments)}function ne(e,t){if(e==null)return{};var n,r,i=re(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function re(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var ie=(0,S.forwardRef)((e,t)=>{var n=e.children,r=e.width,i=e.height,a=e.viewBox,o=e.className,c=e.style,l=e.title,u=e.desc,d=ne(e,ee),f=a||{width:r,height:i,x:0,y:0},p=s(`recharts-surface`,o);return S.createElement(`svg`,te({},M(d),{className:p,width:r,height:i,style:c,viewBox:`${f.x} ${f.y} ${f.width} ${f.height}`,ref:t}),S.createElement(`title`,null,l),S.createElement(`desc`,null,u),n)}),ae=[`children`,`className`];function oe(){return oe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oe.apply(null,arguments)}function se(e,t){if(e==null)return{};var n,r,i=ce(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function ce(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var P=S.forwardRef((e,t)=>{var n=e.children,r=e.className,i=se(e,ae),a=s(`recharts-layer`,r);return S.createElement(`g`,oe({className:a},M(i),{ref:t}),n)});function le(e){return e===`__proto__`}var ue=/\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;function de(e){switch(typeof e){case`number`:case`symbol`:return!1;case`string`:return e===``||e.startsWith(`.`)||e.endsWith(`.`)?!1:ue.test(e);default:return!1}}function fe(e){return typeof e==`string`||typeof e==`symbol`?e:Object.is(e?.valueOf?.(),-0)?`-0`:String(e)}function pe(e){return typeof e==`symbol`||e instanceof Symbol}function me(e){return e==null?``:he(e)}function he(e){if(typeof e==`string`)return e;if(Array.isArray(e))return e.map(he).join(`,`);if(pe(e))return e.toString();let t=e+``;return t===`0`&&Object.is(Number(e),-0)?`-0`:t}function ge(e){if(Array.isArray(e))return e.map(fe);if(typeof e==`symbol`)return[e];e=me(e);let t=[],n=e.length;if(n===0)return t;let r=0,i=``,a=``,o=!1,s=!1,c=/^-?\d+(?:\.\d+)?$/;for(e.charCodeAt(0)===46&&t.push(``);r<n;){let l=e[r];if(a)l===`\\`&&r+1<n?(r++,i+=e[r]):l===a?a=``:i+=l;else if(o){if(l===`"`||l===`'`)a=l,s=!0;else if(l===`]`){if(o=!1,!s&&i.includes(`.`)&&!c.test(i)){let e=i.split(`.`);for(let n=0;n<e.length;n++)e[n]!==``&&t.push(e[n])}else t.push(i);i=``}else i+=l}else if(l===`[`)o=!0,s=!1,i&&=(t.push(i),``);else if(l===`.`){i&&=(t.push(i),``);let n=e[r+1];(n===void 0||n===`.`)&&t.push(``)}else i+=l;r++}return i&&t.push(i),t}function _e(e,t,n){if(e==null)return n;switch(typeof t){case`string`:{if(le(t))return n;let r=e[t];return r===void 0?de(t)&&!Object.hasOwn(e,t)?_e(e,ge(t),n):n:r}case`number`:case`symbol`:{typeof t==`number`&&(t=fe(t));let r=e[t];return r===void 0?n:r}default:{if(Array.isArray(t))return ve(e,t,n);if(t=Object.is(t?.valueOf(),-0)?`-0`:String(t),le(t))return n;let r=e[t];return r===void 0?n:r}}}function ve(e,t,n){if(t.length===0)return n;let r=e;for(let e=0;e<t.length;e++){if(r==null||le(t[e]))return n;r=r[t[e]]}return r===void 0?n:r}var ye=4;function be(e){var t=10**(arguments.length>1&&arguments[1]!==void 0?arguments[1]:ye),n=Math.round(e*t)/t;return Object.is(n,-0)?0:n}function xe(e){var t=[...arguments].slice(1);return e.reduce((e,n,r)=>{var i=t[r-1];return typeof i==`string`?e+i+n:i===void 0?e+n:e+be(i)+n},``)}var Se=e=>e===0?0:e>0?1:-1,Ce=e=>typeof e==`number`&&e!=+e,we=e=>typeof e==`string`&&e.length>1&&e.indexOf(`%`)===e.length-1,F=e=>(typeof e==`number`||e instanceof Number)&&!Ce(e),Te=e=>F(e)||typeof e==`string`,Ee=0,De=e=>{var t=++Ee;return`${e||``}${t}`},Oe=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,r=arguments.length>3&&arguments[3]!==void 0&&arguments[3];if(!F(e)&&typeof e!=`string`)return n;var i;if(we(e)){if(t==null)return n;var a=e.indexOf(`%`);i=t*parseFloat(e.slice(0,a))/100}else i=+e;return Ce(i)&&(i=n),r&&t!=null&&i>t&&(i=t),i},ke=e=>{if(!Array.isArray(e))return!1;for(var t=e.length,n={},r=0;r<t;r++)if(!n[String(e[r])])n[String(e[r])]=!0;else return!0;return!1};function I(e,t,n){return F(e)&&F(t)?be(e+n*(t-e)):t}function Ae(e,t,n){if(e&&e.length)return e.find(e=>e&&(typeof t==`function`?t(e):_e(e,t))===n)}var L=e=>e==null,je=e=>L(e)?e:`${e.charAt(0).toUpperCase()}${e.slice(1)}`;function Me(e){return e!=null}function Ne(){}function Pe(e){if(e)return{x:e.x,y:e.y,upperWidth:`upperWidth`in e?e.upperWidth:e.width,lowerWidth:`lowerWidth`in e?e.lowerWidth:e.width,width:e.width,height:e.height}}function Fe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ie(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Fe(Object(n),!0).forEach(function(t){Le(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fe(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Le(e,t,n){return(t=Re(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Re(e){var t=ze(e,`string`);return typeof t==`symbol`?t:t+``}function ze(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Be=e=>{var t=e.viewBox,n=e.position,r=e.offset,i=r===void 0?0:r,a=e.parentViewBox,o=e.clamp,s=Pe(t),c=s.x,l=s.y,u=s.height,d=s.upperWidth,f=s.lowerWidth,p=c,m=c+(d-f)/2,h=(p+m)/2,g=(d+f)/2,_=p+d/2,v=u>=0?1:-1,y=v*i,b=v>0?`end`:`start`,x=v>0?`start`:`end`,S=d>=0?1:-1,C=S*i,w=S>0?`end`:`start`,T=S>0?`start`:`end`,E=a;if(n===`top`){var D={x:p+d/2,y:l-y,horizontalAnchor:`middle`,verticalAnchor:b};return o&&E&&(D.height=Math.max(l-E.y,0),D.width=d),D}if(n===`bottom`){var O={x:m+f/2,y:l+u+y,horizontalAnchor:`middle`,verticalAnchor:x};return o&&E&&(O.height=Math.max(E.y+E.height-(l+u),0),O.width=f),O}if(n===`left`){var k={x:h-C,y:l+u/2,horizontalAnchor:w,verticalAnchor:`middle`};return o&&E&&(k.width=Math.max(k.x-E.x,0),k.height=u),k}if(n===`right`){var A={x:h+g+C,y:l+u/2,horizontalAnchor:T,verticalAnchor:`middle`};return o&&E&&(A.width=Math.max(E.x+E.width-A.x,0),A.height=u),A}var j=o&&E?{width:g,height:u}:{};return n===`insideLeft`?Ie({x:h+C,y:l+u/2,horizontalAnchor:T,verticalAnchor:`middle`},j):n===`insideRight`?Ie({x:h+g-C,y:l+u/2,horizontalAnchor:w,verticalAnchor:`middle`},j):n===`insideTop`?Ie({x:p+d/2,y:l+y,horizontalAnchor:`middle`,verticalAnchor:x},j):n===`insideBottom`?Ie({x:m+f/2,y:l+u-y,horizontalAnchor:`middle`,verticalAnchor:b},j):n===`insideTopLeft`?Ie({x:p+C,y:l+y,horizontalAnchor:T,verticalAnchor:x},j):n===`insideTopRight`?Ie({x:p+d-C,y:l+y,horizontalAnchor:w,verticalAnchor:x},j):n===`insideBottomLeft`?Ie({x:m+C,y:l+u-y,horizontalAnchor:T,verticalAnchor:b},j):n===`insideBottomRight`?Ie({x:m+f-C,y:l+u-y,horizontalAnchor:w,verticalAnchor:b},j):n&&typeof n==`object`&&(F(n.x)||we(n.x))&&(F(n.y)||we(n.y))?Ie({x:c+Oe(n.x,g),y:l+Oe(n.y,u),horizontalAnchor:`end`,verticalAnchor:`end`},j):Ie({x:_,y:l+u/2,horizontalAnchor:`middle`,verticalAnchor:`middle`},j)},Ve=[`top`,`left`,`right`,`bottom`];function He(e){return e==null?!1:typeof e==`object`||Ve.includes(e)}var Ue=(0,S.createContext)(null);function We(e){return function(){return e}}var Ge=Math.PI,Ke=2*Ge,qe=1e-6,Je=Ke-qe;function Ye(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}function Xe(e){let t=Math.floor(e);if(!(t>=0))throw Error(`invalid digits: ${e}`);if(t>15)return Ye;let n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}var Ze=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._=``,this._append=e==null?Ye:Xe(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,i,a){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+a}`}arcTo(e,t,n,r,i){if(e=+e,t=+t,n=+n,r=+r,i=+i,i<0)throw Error(`negative radius: ${i}`);let a=this._x1,o=this._y1,s=n-e,c=r-t,l=a-e,u=o-t,d=l*l+u*u;if(this._x1===null)this._append`M${this._x1=e},${this._y1=t}`;else if(d>qe){if(!(Math.abs(u*s-c*l)>qe)||!i)this._append`L${this._x1=e},${this._y1=t}`;else{let f=n-a,p=r-o,m=s*s+c*c,h=f*f+p*p,g=Math.sqrt(m),_=Math.sqrt(d),v=i*Math.tan((Ge-Math.acos((m+d-h)/(2*g*_)))/2),y=v/_,b=v/g;Math.abs(y-1)>qe&&this._append`L${e+y*l},${t+y*u}`,this._append`A${i},${i},0,0,${+(u*f>l*p)},${this._x1=e+b*s},${this._y1=t+b*c}`}}}arc(e,t,n,r,i,a){if(e=+e,t=+t,n=+n,a=!!a,n<0)throw Error(`negative radius: ${n}`);let o=n*Math.cos(r),s=n*Math.sin(r),c=e+o,l=t+s,u=1^a,d=a?r-i:i-r;this._x1===null?this._append`M${c},${l}`:(Math.abs(this._x1-c)>qe||Math.abs(this._y1-l)>qe)&&this._append`L${c},${l}`,n&&(d<0&&(d=d%Ke+Ke),d>Je?this._append`A${n},${n},0,1,${u},${e-o},${t-s}A${n},${n},0,1,${u},${this._x1=c},${this._y1=l}`:d>qe&&this._append`A${n},${n},0,${+(d>=Ge)},${u},${this._x1=e+n*Math.cos(i)},${this._y1=t+n*Math.sin(i)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}};Ze.prototype;function Qe(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{let e=Math.floor(n);if(!(e>=0))throw RangeError(`invalid digits: ${n}`);t=e}return e},()=>new Ze(t)}Array.prototype.slice;function $e(e){return typeof e==`object`&&`length`in e?e:Array.from(e)}function et(e){this._context=e}et.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};function tt(e){return new et(e)}function nt(e){return e[0]}function rt(e){return e[1]}function it(e,t){var n=We(!0),r=null,i=tt,a=null,o=Qe(s);e=typeof e==`function`?e:e===void 0?nt:We(e),t=typeof t==`function`?t:t===void 0?rt:We(t);function s(s){var c,l=(s=$e(s)).length,u,d=!1,f;for(r??(a=i(f=o())),c=0;c<=l;++c)!(c<l&&n(u=s[c],c,s))===d&&((d=!d)?a.lineStart():a.lineEnd()),d&&a.point(+e(u,c,s),+t(u,c,s));if(f)return a=null,f+``||null}return s.x=function(t){return arguments.length?(e=typeof t==`function`?t:We(+t),s):e},s.y=function(e){return arguments.length?(t=typeof e==`function`?e:We(+e),s):t},s.defined=function(e){return arguments.length?(n=typeof e==`function`?e:We(!!e),s):n},s.curve=function(e){return arguments.length?(i=e,r!=null&&(a=i(r)),s):i},s.context=function(e){return arguments.length?(e==null?r=a=null:a=i(r=e),s):r},s}function at(e,t,n){var r=null,i=We(!0),a=null,o=tt,s=null,c=Qe(l);e=typeof e==`function`?e:e===void 0?nt:We(+e),t=typeof t==`function`?t:We(t===void 0?0:+t),n=typeof n==`function`?n:n===void 0?rt:We(+n);function l(l){var u,d,f,p=(l=$e(l)).length,m,h=!1,g,_=Array(p),v=Array(p);for(a??(s=o(g=c())),u=0;u<=p;++u){if(!(u<p&&i(m=l[u],u,l))===h){if(h=!h)d=u,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),f=u-1;f>=d;--f)s.point(_[f],v[f]);s.lineEnd(),s.areaEnd()}}h&&(_[u]=+e(m,u,l),v[u]=+t(m,u,l),s.point(r?+r(m,u,l):_[u],n?+n(m,u,l):v[u]))}if(g)return s=null,g+``||null}function u(){return it().defined(i).curve(o).context(a)}return l.x=function(t){return arguments.length?(e=typeof t==`function`?t:We(+t),r=null,l):e},l.x0=function(t){return arguments.length?(e=typeof t==`function`?t:We(+t),l):e},l.x1=function(e){return arguments.length?(r=e==null?null:typeof e==`function`?e:We(+e),l):r},l.y=function(e){return arguments.length?(t=typeof e==`function`?e:We(+e),n=null,l):t},l.y0=function(e){return arguments.length?(t=typeof e==`function`?e:We(+e),l):t},l.y1=function(e){return arguments.length?(n=e==null?null:typeof e==`function`?e:We(+e),l):n},l.lineX0=l.lineY0=function(){return u().x(e).y(t)},l.lineY1=function(){return u().x(e).y(n)},l.lineX1=function(){return u().x(r).y(t)},l.defined=function(e){return arguments.length?(i=typeof e==`function`?e:We(!!e),l):i},l.curve=function(e){return arguments.length?(o=e,a!=null&&(s=o(a)),l):o},l.context=function(e){return arguments.length?(e==null?a=s=null:s=o(a=e),l):a},l}var ot=class{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t)}this._x0=e,this._y0=t}};function st(e){return new ot(e,!0)}function ct(e){return new ot(e,!1)}function lt(){}function ut(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function dt(e){this._context=e}dt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:ut(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:ut(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function ft(e){return new dt(e)}function pt(e){this._context=e}pt.prototype={areaStart:lt,areaEnd:lt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:ut(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function mt(e){return new pt(e)}function ht(e){this._context=e}ht.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:ut(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function gt(e){return new ht(e)}function _t(e){this._context=e}_t.prototype={areaStart:lt,areaEnd:lt,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function vt(e){return new _t(e)}function yt(e){return e<0?-1:1}function bt(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(yt(a)+yt(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function xt(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function St(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function Ct(e){this._context=e}Ct.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:St(this,this._t0,xt(this,this._t0))}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,e!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,St(this,xt(this,n=bt(this,e,t)),n);break;default:St(this,this._t0,n=bt(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function wt(e){this._context=new Tt(e)}(wt.prototype=Object.create(Ct.prototype)).point=function(e,t){Ct.prototype.point.call(this,t,e)};function Tt(e){this._context=e}Tt.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,a){this._context.bezierCurveTo(t,e,r,n,a,i)}};function Et(e){return new Ct(e)}function Dt(e){return new wt(e)}function Ot(e){this._context=e}Ot.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n){if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),n===2)this._context.lineTo(e[1],t[1]);else for(var r=kt(e),i=kt(t),a=0,o=1;o<n;++a,++o)this._context.bezierCurveTo(r[0][a],i[0][a],r[1][a],i[1][a],e[o],t[o])}(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function kt(e){var t,n=e.length-1,r,i=Array(n),a=Array(n),o=Array(n);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t<n-1;++t)i[t]=1,a[t]=4,o[t]=4*e[t]+2*e[t+1];for(i[n-1]=2,a[n-1]=7,o[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=i[t]/a[t-1],a[t]-=r,o[t]-=r*o[t-1];for(i[n-1]=o[n-1]/a[n-1],t=n-2;t>=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[n-1]=(e[n]+i[n-1])/2,t=0;t<n-1;++t)a[t]=2*e[t+1]-i[t+1];return[i,a]}function At(e){return new Ot(e)}function jt(e,t){this._context=e,this._t=t}jt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};function Mt(e){return new jt(e,.5)}function Nt(e){return new jt(e,0)}function Pt(e){return new jt(e,1)}function Ft(e,t){if((o=e.length)>1)for(var n=1,r,i,a=e[t[0]],o,s=a.length;n<o;++n)for(i=a,a=e[t[n]],r=0;r<s;++r)a[r][1]+=a[r][0]=isNaN(i[r][1])?i[r][0]:i[r][1]}function It(e){for(var t=e.length,n=Array(t);--t>=0;)n[t]=t;return n}function Lt(e,t){return e[t]}function Rt(e){let t=[];return t.key=e,t}function zt(){var e=We([]),t=It,n=Ft,r=Lt;function i(i){var a=Array.from(e.apply(this,arguments),Rt),o,s=a.length,c=-1,l;for(let e of i)for(o=0,++c;o<s;++o)(a[o][c]=[0,+r(e,a[o].key,c,i)]).data=e;for(o=0,l=$e(t(a));o<s;++o)a[l[o]].index=o;return n(a,l),a}return i.keys=function(t){return arguments.length?(e=typeof t==`function`?t:We(Array.from(t)),i):e},i.value=function(e){return arguments.length?(r=typeof e==`function`?e:We(+e),i):r},i.order=function(e){return arguments.length?(t=e==null?It:typeof e==`function`?e:We(Array.from(e)),i):t},i.offset=function(e){return arguments.length?(n=e??Ft,i):n},i}function Bt(e,t){if((r=e.length)>0){for(var n,r,i=0,a=e[0].length,o;i<a;++i){for(o=n=0;n<r;++n)o+=e[n][i][1]||0;if(o)for(n=0;n<r;++n)e[n][i][1]/=o}Ft(e,t)}}function Vt(e,t){if((i=e.length)>0){for(var n=0,r=e[t[0]],i,a=r.length;n<a;++n){for(var o=0,s=0;o<i;++o)s+=e[o][n][1]||0;r[n][1]+=r[n][0]=-s/2}Ft(e,t)}}function Ht(e,t){if((o=e.length)>0&&(a=(i=e[t[0]]).length)>0){for(var n=0,r=1,i,a,o;r<a;++r){for(var s=0,c=0,l=0;s<o;++s){for(var u=e[t[s]],d=u[r][1]||0,f=(d-(u[r-1][1]||0))/2,p=0;p<s;++p){var m=e[t[p]],h=m[r][1]||0,g=m[r-1][1]||0;f+=h-g}c+=d,l+=f*d}i[r-1][1]+=i[r-1][0]=n,c&&(n-=l/c)}i[r-1][1]+=i[r-1][0]=n,Ft(e,t)}}var Ut=e=>`radius`in e&&`startAngle`in e&&`endAngle`in e,Wt=(e,t)=>{if(!e||typeof e==`function`||typeof e==`boolean`)return null;var n=e;if((0,S.isValidElement)(e)&&(n=e.props),typeof n!=`object`&&typeof n!=`function`)return null;var r={};return Object.keys(n).forEach(e=>{E(e)&&typeof n[e]==`function`&&(r[e]=t||(t=>n[e](n,t)))}),r},Gt=(e,t,n)=>r=>(e(t,n,r),null),Kt=(e,t,n)=>{if(e===null||typeof e!=`object`&&typeof e!=`function`)return null;var r=null;return Object.keys(e).forEach(i=>{var a=e[i];E(i)&&typeof a==`function`&&(r||={},r[i]=Gt(a,t,n))}),r};function qt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Jt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?qt(Object(n),!0).forEach(function(t){Yt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Yt(e,t,n){return(t=Xt(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xt(e){var t=Zt(e,`string`);return typeof t==`symbol`?t:t+``}function Zt(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Qt(e,t){var n=Jt({},e),r=t;return Object.keys(t).reduce((e,t)=>(e[t]===void 0&&r[t]!==void 0&&(e[t]=r[t]),e),n)}function $t(e,t){let n=new Map;for(let r=0;r<e.length;r++){let i=e[r],a=t(i,r,e);n.has(a)||n.set(a,i)}return Array.from(n.values())}function en(e,t){return function(...n){return e.apply(this,n.slice(0,t))}}function tn(e){return e}function nn(e){return Number.isSafeInteger(e)&&e>=0}function rn(e){return e!=null&&typeof e!=`function`&&nn(e.length)}function an(e){return function(t){return _e(t,e)}}function on(e){return e==null||typeof e!=`object`&&typeof e!=`function`}function sn(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function cn(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function ln(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e)}var un=`[object RegExp]`,dn=`[object String]`,fn=`[object Number]`,pn=`[object Boolean]`,mn=`[object Arguments]`,hn=`[object Symbol]`,gn=`[object Date]`,_n=`[object Map]`,vn=`[object Set]`,yn=`[object Array]`,bn=`[object Function]`,xn=`[object ArrayBuffer]`,Sn=`[object Object]`,Cn=`[object Error]`,wn=`[object DataView]`,Tn=`[object Uint8Array]`,En=`[object Uint8ClampedArray]`,Dn=`[object Uint16Array]`,On=`[object Uint32Array]`,kn=`[object BigUint64Array]`,An=`[object Int8Array]`,jn=`[object Int16Array]`,Mn=`[object Int32Array]`,Nn=`[object BigInt64Array]`,Pn=`[object Float32Array]`,Fn=`[object Float64Array]`,In=typeof globalThis==`object`&&globalThis||typeof window==`object`&&window||typeof self==`object`&&self||typeof global==`object`&&global||(function(){return this})();function Ln(e){return In.Buffer!==void 0&&In.Buffer.isBuffer(e)}function Rn(e,t){return zn(e,void 0,e,new Map,t)}function zn(e,t,n,r=new Map,i=void 0){let a=i?.(e,t,n,r);if(a!==void 0)return a;if(on(e))return e;if(r.has(e))return r.get(e);if(Array.isArray(e)){let t=Array(e.length);r.set(e,t);for(let a=0;a<e.length;a++)t[a]=zn(e[a],a,n,r,i);return Object.hasOwn(e,`index`)&&(t.index=e.index),Object.hasOwn(e,`input`)&&(t.input=e.input),t}if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){let t=new RegExp(e.source,e.flags);return t.lastIndex=e.lastIndex,t}if(e instanceof Map){let t=new Map;r.set(e,t);for(let[a,o]of e)t.set(a,zn(o,a,n,r,i));return t}if(e instanceof Set){let t=new Set;r.set(e,t);for(let a of e)t.add(zn(a,void 0,n,r,i));return t}if(Ln(e))return e.subarray();if(sn(e)){let t=new(Object.getPrototypeOf(e)).constructor(e.length);r.set(e,t);for(let a=0;a<e.length;a++)t[a]=zn(e[a],a,n,r,i);return t}if(e instanceof ArrayBuffer||typeof SharedArrayBuffer<`u`&&e instanceof SharedArrayBuffer)return e.slice(0);if(e instanceof DataView){let t=new DataView(e.buffer.slice(0),e.byteOffset,e.byteLength);return r.set(e,t),Bn(t,e,n,r,i),t}if(typeof File<`u`&&e instanceof File){let t=new File([e],e.name,{type:e.type});return r.set(e,t),Bn(t,e,n,r,i),t}if(typeof Blob<`u`&&e instanceof Blob){let t=new Blob([e],{type:e.type});return r.set(e,t),Bn(t,e,n,r,i),t}if(e instanceof Error){let t=structuredClone(e);return r.set(e,t),t.message=e.message,t.name=e.name,t.stack=e.stack,t.cause=e.cause,t.constructor=e.constructor,Bn(t,e,n,r,i),t}if(e instanceof Boolean){let t=new Boolean(e.valueOf());return r.set(e,t),Bn(t,e,n,r,i),t}if(e instanceof Number){let t=new Number(e.valueOf());return r.set(e,t),Bn(t,e,n,r,i),t}if(e instanceof String){let t=new String(e.valueOf());return r.set(e,t),Bn(t,e,n,r,i),t}if(typeof e==`object`&&Vn(e)){let t=Object.create(Object.getPrototypeOf(e));return r.set(e,t),Bn(t,e,n,r,i),t}return e}function Bn(e,t,n=e,r,i){let a=[...Object.keys(t),...cn(t)];for(let o=0;o<a.length;o++){let s=a[o],c=Object.getOwnPropertyDescriptor(e,s);(c==null||c.writable)&&(e[s]=zn(t[s],s,n,r,i))}}function Vn(e){switch(ln(e)){case mn:case yn:case xn:case wn:case pn:case gn:case Pn:case Fn:case An:case jn:case Mn:case _n:case fn:case Sn:case un:case vn:case dn:case hn:case Tn:case En:case Dn:case On:return!0;default:return!1}}function Hn(e){return zn(e,void 0,e,new Map,void 0)}function Un(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function Wn(e){return e!==null&&(typeof e==`object`||typeof e==`function`)}function Gn(e,t,n){return typeof n==`function`?Kn(e,t,function e(t,r,i,a,o,s){let c=n(t,r,i,a,o,s);return c===void 0?Kn(t,r,e,s,!1):!!c},new Map,!0):Gn(e,t,()=>void 0)}function Kn(e,t,n,r,i=!1){if(t===e)return!0;switch(typeof t){case`object`:return qn(e,t,n,r,i);case`function`:return Object.keys(t).length>0?Kn(e,{...t},n,r,i):Un(e,t);default:return Wn(e)&&i?typeof t!=`string`||t===``:Un(e,t)}}function qn(e,t,n,r,i=!1){if(t==null)return!0;if(Array.isArray(t))return Yn(e,t,n,r);if(t instanceof Map)return Jn(e,t,n,r);if(t instanceof Set)return Xn(e,t,n,r);let a=Object.keys(t);if(e==null)return i&&a.length===0;if(i)on(e)&&(e=Object(e));else{let t=ln(e);if(t!==`[object Object]`&&t!==`[object Arguments]`)return!1}if(a.length===0)return!0;if(r?.has(t))return r.get(t)===e;r?.set(t,e);try{for(let i=0;i<a.length;i++){let o=a[i];if(!(o in e)||t[o]===void 0&&e[o]!==void 0||t[o]===null&&e[o]!==null||!n(e[o],t[o],o,e,t,r))return!1}return!0}finally{r?.delete(t)}}function Jn(e,t,n,r){if(t.size===0)return!0;if(!(e instanceof Map))return!1;for(let[i,a]of t.entries())if(n(e.get(i),a,i,e,t,r)===!1)return!1;return!0}function Yn(e,t,n,r){if(t.length===0)return!0;if(!Array.isArray(e))return!1;let i=new Set;for(let a=0;a<t.length;a++){let o=t[a],s=!1;for(let c=0;c<e.length;c++){if(i.has(c))continue;let l=e[c],u=!1;if(n(l,o,a,e,t,r)&&(u=!0),u){i.add(c),s=!0;break}}if(!s)return!1}return!0}function Xn(e,t,n,r){return t.size===0||e instanceof Set&&Yn([...e],[...t],n,r)}function Zn(e,t){return Gn(e,t,()=>void 0)}function Qn(e){return e=Hn(e),t=>Zn(t,e)}function $n(e,t){return Rn(e,(n,r,i,a)=>{let o=t?.(n,r,i,a);if(o!==void 0)return o;if(typeof e==`object`){if(ln(e)===`[object Object]`&&typeof e.constructor!=`function`){let t={};return a.set(e,t),Bn(t,e,i,a),t}switch(Object.prototype.toString.call(e)){case fn:case dn:case pn:{let t=new e.constructor(e?.valueOf());return Bn(t,e),t}case mn:{let t={};return Bn(t,e),t.length=e.length,t[Symbol.iterator]=e[Symbol.iterator],t}default:return}}})}function er(e){return $n(e)}var tr=/^(?:0|[1-9]\d*)$/;function nr(e,t=2**53-1){switch(typeof e){case`number`:return Number.isInteger(e)&&e>=0&&e<t;case`symbol`:return!1;case`string`:return tr.test(e)}}function rr(e){return typeof e==`object`&&!!e&&ln(e)===`[object Arguments]`}function ir(e,t){let n;if(n=Array.isArray(t)?t:typeof t==`string`&&de(t)&&!(t in Object(e))?ge(t):[t],n.length===0)return!1;let r=e;for(let e=0;e<n.length;e++){let t=fe(n[e]);if((r==null||!Object.hasOwn(r,t))&&!((Array.isArray(r)||rr(r))&&nr(t)&&Number(t)<r.length))return!1;r=r[t]}return!0}function ar(e,t){switch(typeof e){case`object`:Object.is(e?.valueOf(),-0)&&(e=`-0`);break;case`number`:e=fe(e)}return t=er(t),function(n){let r=_e(n,e);return r===void 0?ir(n,e):t===void 0?r===void 0:Zn(r,t)}}function or(e){if(e==null)return tn;switch(typeof e){case`function`:return e;case`object`:return Array.isArray(e)&&e.length===2?ar(e[0],e[1]):Qn(e);default:return an(e)}}function sr(e){return e===0?0:e}function cr(e,t=tn){return rn(e)?$t(Array.from(e),en(or(t),1)).map(sr):[]}function lr(e,t,n){return t===!0?cr(e,n):typeof t==`function`?cr(e,t):e}var ur=(0,S.createContext)(null),dr=e=>e,R=()=>{var e=(0,S.useContext)(ur);return e?e.store.dispatch:dr},fr=()=>{},pr=()=>fr,mr=(e,t)=>e===t;function z(e){var t=(0,S.useContext)(ur),n=(0,S.useMemo)(()=>t?t=>{if(t!=null)return e(t)}:fr,[t,e]);return(0,C.useSyncExternalStoreWithSelector)(t?t.subscription.addNestedSub:pr,t?t.store.getState:fr,t?t.store.getState:fr,n,mr)}function hr(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!=`function`)throw TypeError(t)}function gr(e,t=`expected all items to be functions, instead received the following types: `){if(!e.every(e=>typeof e==`function`)){let n=e.map(e=>typeof e==`function`?`function ${e.name||`unnamed`}()`:typeof e).join(`, `);throw TypeError(`${t}[${n}]`)}}var _r=e=>Array.isArray(e)?e:[e];function vr(e){let t=Array.isArray(e[0])?e[0]:e;return gr(t,`createSelector expects all input-selectors to be functions, but received the following types: `),t}function yr(e,t){let n=[],{length:r}=e;for(let i=0;i<r;i++)n.push(e[i].apply(null,t));return n}var br=class{constructor(e){this.value=e}deref(){return this.value}},xr=typeof WeakRef>`u`?br:WeakRef,Sr=0,Cr=1;function wr(){return{s:Sr,v:void 0,o:null,p:null}}function Tr(e){return e instanceof xr?e.deref():e}function Er(e,t={}){let n=wr(),{resultEqualityCheck:r}=t,i,a=0;function o(){let t=n,{length:o}=arguments;for(let e=0,n=o;e<n;e++){let n=arguments[e];if(typeof n==`function`||typeof n==`object`&&n){let e=t.o;e===null&&(t.o=e=new WeakMap);let r=e.get(n);r===void 0?(t=wr(),e.set(n,t)):t=r}else{let e=t.p;e===null&&(t.p=e=new Map);let r=e.get(n);r===void 0?(t=wr(),e.set(n,t)):t=r}}let s=t,c;if(t.s===Cr)c=t.v;else if(c=e.apply(null,arguments),a++,r){let e=Tr(i);e!=null&&r(e,c)&&(c=e,a!==0&&a--),i=typeof c==`object`&&c||typeof c==`function`?new xr(c):c}return s.s=Cr,s.v=c,c}return o.clearCache=()=>{n=wr(),o.resetResultsCount()},o.resultsCount=()=>a,o.resetResultsCount=()=>{a=0},o}function Dr(e,...t){let n=typeof e==`function`?{memoize:e,memoizeOptions:t}:e,r=(...e)=>{let t=0,r=0,i,a={},o=e.pop();typeof o==`object`&&(a=o,o=e.pop()),hr(o,`createSelector expects an output function after the inputs, but received: [${typeof o}]`);let{memoize:s,memoizeOptions:c=[],argsMemoize:l=Er,argsMemoizeOptions:u=[]}={...n,...a},d=_r(c),f=_r(u),p=vr(e),m=s(function(){return t++,o.apply(null,arguments)},...d),h=l(function(){r++;let e=yr(p,arguments);return i=m.apply(null,e),i},...f);return Object.assign(h,{resultFunc:o,memoizedResultFunc:m,dependencies:p,dependencyRecomputations:()=>r,resetDependencyRecomputations:()=>{r=0},lastResult:()=>i,recomputations:()=>t,resetRecomputations:()=>{t=0},memoize:s,argsMemoize:l})};return Object.assign(r,{withTypes:()=>r}),r}var B=Dr(Er);function Or(e,t=1){let n=[],r=Math.floor(t),i=(e,t)=>{for(let a=0;a<e.length;a++){let o=e[a];Array.isArray(o)&&t<r?i(o,t+1):n.push(o)}};return i(e,0),n}function kr(e,t,n){return Wn(n)&&(typeof t==`number`&&rn(n)&&nr(t)&&t<n.length||typeof t==`string`&&t in n)?Un(n[t],e):!1}function Ar(e){return typeof e==`symbol`?1:e===null?2:e===void 0?3:e===e?0:4}var jr=(e,t,n)=>{if(e!==t){let r=Ar(e),i=Ar(t);if(r===i&&r===0){if(e<t)return n===`desc`?1:-1;if(e>t)return n===`desc`?-1:1}return n===`desc`?i-r:r-i}return 0},Mr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Nr=/^\w*$/;function Pr(e,t){return Array.isArray(e)?!1:typeof e==`number`||typeof e==`boolean`||e==null||pe(e)?!0:typeof e==`string`&&(Nr.test(e)||!Mr.test(e))||t!=null&&Object.hasOwn(t,e)}function Fr(e,t,n,r){if(e==null)return[];n=r?void 0:n,Array.isArray(e)||(e=rn(e)?Array.from(e):Object.values(e)),Array.isArray(t)||(t=t==null?[null]:[t]),t.length===0&&(t=[null]),Array.isArray(n)||(n=n==null?[]:[n]),n=n.map(e=>String(e));let i=(e,t)=>{let n=e,r=0;for(;r<t.length&&n!=null;++r)n=n[t[r]];return r>0&&r===t.length?n:void 0},a=(e,t)=>{if(e==null)return t;if(t!=null)return typeof e==`object`&&`key`in e?Object.hasOwn(t,e.key)?t[e.key]:i(t,e.path):typeof e==`function`?e(t):Array.isArray(e)?i(t,e):t[e]},o=t.map(e=>(Array.isArray(e)&&e.length===1&&(e=e[0]),e==null||typeof e==`function`||Array.isArray(e)||Pr(e)?e:{key:e,path:ge(e)}));return e.map(e=>({original:e,criteria:o.map(t=>a(t,e))})).slice().sort((e,t)=>{for(let r=0;r<o.length;r++){let i=jr(e.criteria[r],t.criteria[r],n[r]);if(i!==0)return i}return 0}).map(e=>e.original)}function Ir(e,...t){let n=t.length;return n>1&&kr(e,t[0],t[1])?t=[]:n>2&&kr(t[0],t[1],t[2])&&(t=[t[0]]),Fr(e,Or(t),[`asc`])}var Lr=e=>e.legend.settings,Rr=e=>e.legend.size;B([e=>e.legend.payload,Lr],(e,t)=>{var n=t.itemSorter,r=e.flat(1);return n?Ir(r,n):r});function zr(e,t){return Wr(e)||Ur(e,t)||Vr(e,t)||Br()}function Br(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Vr(e,t){if(e){if(typeof e==`string`)return Hr(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Hr(e,t):void 0}}function Hr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Ur(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function Wr(e){if(Array.isArray(e))return e}var Gr=1;function Kr(e,t){return Math.abs(e.height-t.height)>Gr||Math.abs(e.left-t.left)>Gr||Math.abs(e.top-t.top)>Gr||Math.abs(e.width-t.width)>Gr}function qr(e){var t=e.getBoundingClientRect();return{height:t.height,left:t.left,top:t.top,width:t.width}}function Jr(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=zr((0,S.useState)({height:0,left:0,top:0,width:0}),2),n=t[0],r=t[1],i=(0,S.useRef)(null),a=(0,S.useRef)(n);a.current=n;var o=(0,S.useCallback)(e=>{if(i.current!=null&&(i.current.disconnect(),i.current=null),e!=null){var t=qr(e);if(Kr(t,a.current)&&r(t),typeof ResizeObserver<`u`){var n=new ResizeObserver(()=>{var t=qr(e);Kr(t,a.current)&&r(t)});n.observe(e),i.current=n}}},[...e]);return(0,S.useEffect)(()=>()=>{var e;(e=i.current)==null||e.disconnect()},[]),[n,o]}function Yr(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Xr=typeof Symbol==`function`&&Symbol.observable||`@@observable`,Zr=()=>Math.random().toString(36).substring(7).split(``).join(`.`),Qr={INIT:`@@redux/INIT${Zr()}`,REPLACE:`@@redux/REPLACE${Zr()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Zr()}`};function $r(e){if(typeof e!=`object`||!e)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function ei(e,t,n){if(typeof e!=`function`)throw Error(Yr(2));if(typeof t==`function`&&typeof n==`function`||typeof n==`function`&&typeof arguments[3]==`function`)throw Error(Yr(0));if(typeof t==`function`&&n===void 0&&(n=t,t=void 0),n!==void 0){if(typeof n!=`function`)throw Error(Yr(1));return n(ei)(e,t)}let r=e,i=t,a=new Map,o=a,s=0,c=!1;function l(){o===a&&(o=new Map,a.forEach((e,t)=>{o.set(t,e)}))}function u(){if(c)throw Error(Yr(3));return i}function d(e){if(typeof e!=`function`)throw Error(Yr(4));if(c)throw Error(Yr(5));let t=!0;l();let n=s++;return o.set(n,e),function(){if(t){if(c)throw Error(Yr(6));t=!1,l(),o.delete(n),a=null}}}function f(e){if(!$r(e))throw Error(Yr(7));if(e.type===void 0)throw Error(Yr(8));if(typeof e.type!=`string`)throw Error(Yr(17));if(c)throw Error(Yr(9));try{c=!0,i=r(i,e)}finally{c=!1}return(a=o).forEach(e=>{e()}),e}function p(e){if(typeof e!=`function`)throw Error(Yr(10));r=e,f({type:Qr.REPLACE})}function m(){let e=d;return{subscribe(t){if(typeof t!=`object`||!t)throw Error(Yr(11));function n(){let e=t;e.next&&e.next(u())}return n(),{unsubscribe:e(n)}},[Xr](){return this}}}return f({type:Qr.INIT}),{dispatch:f,subscribe:d,getState:u,replaceReducer:p,[Xr]:m}}function ti(e){Object.keys(e).forEach(t=>{let n=e[t];if(n(void 0,{type:Qr.INIT})===void 0)throw Error(Yr(12));if(n(void 0,{type:Qr.PROBE_UNKNOWN_ACTION()})===void 0)throw Error(Yr(13))})}function ni(e){let t=Object.keys(e),n={};for(let r=0;r<t.length;r++){let i=t[r];typeof e[i]==`function`&&(n[i]=e[i])}let r=Object.keys(n),i;try{ti(n)}catch(e){i=e}return function(e={},t){if(i)throw i;let a=!1,o={};for(let i=0;i<r.length;i++){let s=r[i],c=n[s],l=e[s],u=c(l,t);if(u===void 0)throw t&&t.type,Error(Yr(14));o[s]=u,a||=u!==l}return a||=r.length!==Object.keys(e).length,a?o:e}}function ri(...e){return e.length===0?e=>e:e.length===1?e[0]:e.reduce((e,t)=>(...n)=>e(t(...n)))}function ii(...e){return t=>(n,r)=>{let i=t(n,r),a=()=>{throw Error(Yr(15))},o={getState:i.getState,dispatch:(e,...t)=>a(e,...t)};return a=ri(...e.map(e=>e(o)))(i.dispatch),{...i,dispatch:a}}}function ai(e){return $r(e)&&`type`in e&&typeof e.type==`string`}var oi=Symbol.for(`immer-nothing`),si=Symbol.for(`immer-draftable`),ci=Symbol.for(`immer-state`);function li(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var ui=Object,di=ui.getPrototypeOf,fi=`constructor`,pi=`prototype`,mi=`configurable`,hi=`enumerable`,gi=`writable`,_i=`value`,vi=e=>!!e&&!!e[ci];function yi(e){return e?Si(e)||ki(e)||!!e[si]||!!e[fi]?.[si]||Ai(e)||ji(e):!1}var bi=ui[pi][fi].toString(),xi=new WeakMap;function Si(e){if(!e||!Mi(e))return!1;let t=di(e);if(t===null||t===ui[pi])return!0;let n=ui.hasOwnProperty.call(t,fi)&&t[fi];if(n===Object)return!0;if(!Ni(n))return!1;let r=xi.get(n);return r===void 0&&(r=Function.toString.call(n),xi.set(n,r)),r===bi}function Ci(e,t,n=!0){wi(e)===0?(n?Reflect.ownKeys(e):ui.keys(e)).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function wi(e){let t=e[ci];return t?t.type_:ki(e)?1:Ai(e)?2:ji(e)?3:0}var Ti=(e,t,n=wi(e))=>n===2?e.has(t):ui[pi].hasOwnProperty.call(e,t),Ei=(e,t,n=wi(e))=>n===2?e.get(t):e[t],Di=(e,t,n,r=wi(e))=>{r===2?e.set(t,n):r===3?e.add(n):e[t]=n};function Oi(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}var ki=Array.isArray,Ai=e=>e instanceof Map,ji=e=>e instanceof Set,Mi=e=>typeof e==`object`,Ni=e=>typeof e==`function`,Pi=e=>typeof e==`boolean`;function Fi(e){let t=+e;return Number.isInteger(t)&&String(t)===e}var Ii=e=>e.copy_||e.base_,Li=e=>e.modified_?e.copy_:e.base_;function Ri(e,t){if(Ai(e))return new Map(e);if(ji(e))return new Set(e);if(ki(e))return Array[pi].slice.call(e);let n=Si(e);if(t===!0||t===`class_only`&&!n){let t=ui.getOwnPropertyDescriptors(e);delete t[ci];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){let i=n[r],a=t[i];a[gi]===!1&&(a[gi]=!0,a[mi]=!0),(a.get||a.set)&&(t[i]={[mi]:!0,[gi]:!0,[hi]:a[hi],[_i]:e[i]})}return ui.create(di(e),t)}{let t=di(e);if(t!==null&&n)return{...e};let r=ui.create(t);return ui.assign(r,e)}}function zi(e,t=!1){return Hi(e)||vi(e)||!yi(e)?e:(wi(e)>1&&ui.defineProperties(e,{set:Vi,add:Vi,clear:Vi,delete:Vi}),ui.freeze(e),t&&Ci(e,(e,t)=>{zi(t,!0)},!1),e)}function Bi(){li(2)}var Vi={[_i]:Bi};function Hi(e){return e===null||!Mi(e)||ui.isFrozen(e)}var Ui=`MapSet`,Wi=`Patches`,Gi=`ArrayMethods`,Ki={};function qi(e){let t=Ki[e];return t||li(0,e),t}var Ji=e=>!!Ki[e],Yi,Xi=()=>Yi,Zi=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:Ji(Ui)?qi(Ui):void 0,arrayMethodsPlugin_:Ji(Gi)?qi(Gi):void 0});function Qi(e,t){t&&(e.patchPlugin_=qi(Wi),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function $i(e){ea(e),e.drafts_.forEach(na),e.drafts_=null}function ea(e){e===Yi&&(Yi=e.parent_)}var ta=e=>Yi=Zi(Yi,e);function na(e){let t=e[ci];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function ra(e,t){t.unfinalizedDrafts_=t.drafts_.length;let n=t.drafts_[0];if(e!==void 0&&e!==n){n[ci].modified_&&($i(t),li(4)),yi(e)&&(e=ia(t,e));let{patchPlugin_:r}=t;r&&r.generateReplacementPatches_(n[ci].base_,e,t)}else e=ia(t,n);return aa(t,e,!0),$i(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e===oi?void 0:e}function ia(e,t){if(Hi(t))return t;let n=t[ci];if(!n)return pa(t,e.handledSet_,e);if(!sa(n,e))return t;if(!n.modified_)return n.base_;if(!n.finalized_){let{callbacks_:t}=n;if(t)for(;t.length>0;)t.pop()(e);da(n,e)}return n.copy_}function aa(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&zi(t,n)}function oa(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var sa=(e,t)=>e.scope_===t,ca=[];function la(e,t,n,r){let i=Ii(e),a=e.type_;if(r!==void 0&&Ei(i,r,a)===t){Di(i,r,n,a);return}if(!e.draftLocations_){let t=e.draftLocations_=new Map;Ci(i,(e,n)=>{if(vi(n)){let r=t.get(n)||[];r.push(e),t.set(n,r)}})}let o=e.draftLocations_.get(t)??ca;for(let e of o)Di(i,e,n,a)}function ua(e,t,n){e.callbacks_.push(function(r){let i=t;if(!i||!sa(i,r))return;r.mapSetPlugin_?.fixSetContents(i);let a=Li(i);la(e,i.draft_??i,a,n),da(i,r)})}function da(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:n}=t;if(n){let r=n.getPath(e);r&&n.generatePatches_(e,r,t)}oa(e)}}function fa(e,t,n){let{scope_:r}=e;if(vi(n)){let i=n[ci];sa(i,r)&&i.callbacks_.push(function(){Sa(e),la(e,n,Li(i),t)})}else yi(n)&&e.callbacks_.push(function(){let i=Ii(e);e.type_===3?i.has(n)&&pa(n,r.handledSet_,r):Ei(i,t,e.type_)===n&&r.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&pa(Ei(e.copy_,t,e.type_),r.handledSet_,r)})}function pa(e,t,n){return!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1||vi(e)||t.has(e)||!yi(e)||Hi(e)?e:(t.add(e),Ci(e,(r,i)=>{if(vi(i)){let t=i[ci];sa(t,n)&&(Di(e,r,Li(t),e.type_),oa(t))}else yi(i)&&pa(i,t,n)}),e)}function ma(e,t){let n=ki(e),r={type_:+!!n,scope_:t?t.scope_:Xi(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=r,a=ha;n&&(i=[r],a=ga);let{revoke:o,proxy:s}=Proxy.revocable(i,a);return r.draft_=s,r.revoke_=o,[s,r]}var ha={get(e,t){if(t===ci)return e;let n=e.scope_.arrayMethodsPlugin_,r=e.type_===1&&typeof t==`string`;if(r&&n?.isArrayOperationMethod(t))return n.createMethodInterceptor(e,t);let i=Ii(e);if(!Ti(i,t,e.type_))return ya(e,i,t);let a=i[t];if(e.finalized_||!yi(a)||r&&e.operationMethod&&n?.isMutatingArrayMethod(e.operationMethod)&&Fi(t))return a;if(a===_a(e.base_,t)||va(e,t,a)){Sa(e);let n=e.type_===1?+t:t,r=wa(e.scope_,a,e,n);return e.copy_[n]=r}return a},has(e,t){return t in Ii(e)},ownKeys(e){return Reflect.ownKeys(Ii(e))},set(e,t,n){let r=ba(Ii(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){let r=_a(Ii(e),t),i=r?.[ci];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_.set(t,!1),!0;if(Oi(n,r)&&(n!==void 0||Ti(e.base_,t,e.type_)))return!0;Sa(e),xa(e)}return e.copy_[t]===n&&(n!==void 0||Ti(e.copy_,t,e.type_))||Number.isNaN(n)&&Number.isNaN(e.copy_[t])?!0:(e.copy_[t]=n,e.assigned_.set(t,!0),fa(e,t,n),!0)},deleteProperty(e,t){return Sa(e),_a(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),xa(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let n=Ii(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{[gi]:!0,[mi]:e.type_!==1||t!==`length`,[hi]:r[hi],[_i]:n[t]}},defineProperty(){li(11)},getPrototypeOf(e){return di(e.base_)},setPrototypeOf(){li(12)}},ga={};for(let e in ha){let t=ha[e];ga[e]=function(){let e=arguments;return e[0]=e[0][0],t.apply(this,e)}}ga.deleteProperty=function(e,t){return ga.set.call(this,e,t,void 0)},ga.set=function(e,t,n){return ha.set.call(this,e[0],t,n,e[0])};function _a(e,t){let n=e[ci];return(n?Ii(n):e)[t]}function va(e,t,n){return e.type_!==1||!e.allIndicesReassigned_||e.assigned_?.get(t)||!yi(n)||n[ci]?!1:e.baseRefs_.has(n)}function ya(e,t,n){let r=ba(t,n);return r?_i in r?r[_i]:r.get?.call(e.draft_):void 0}function ba(e,t){if(!(t in e))return;let n=di(e);for(;n;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=di(n)}}function xa(e){e.modified_||(e.modified_=!0,e.parent_&&xa(e.parent_))}function Sa(e){e.copy_||=(e.assigned_=new Map,Ri(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Ca=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,t,n)=>{if(Ni(e)&&!Ni(t)){let n=t;t=e;let r=this;return function(e=n,...i){return r.produce(e,e=>t.call(this,e,...i))}}Ni(t)||li(6),n!==void 0&&!Ni(n)&&li(7);let r;if(yi(e)){let i=ta(this),a=wa(i,e,void 0),o=!0;try{r=t(a),o=!1}finally{o?$i(i):ea(i)}return Qi(i,n),ra(r,i)}if(!e||!Mi(e)){if(r=t(e),r===void 0&&(r=e),r===oi&&(r=void 0),this.autoFreeze_&&zi(r,!0),n){let t=[],i=[];qi(Wi).generateReplacementPatches_(e,r,{patches_:t,inversePatches_:i}),n(t,i)}return r}li(1,e)},this.produceWithPatches=(e,t)=>{if(Ni(e))return(t,...n)=>this.produceWithPatches(t,t=>e(t,...n));let n,r;return[this.produce(e,t,(e,t)=>{n=e,r=t}),n,r]},Pi(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),Pi(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),Pi(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){yi(e)||li(8),vi(e)&&(e=Ta(e));let t=ta(this),n=wa(t,e,void 0);return n[ci].isManual_=!0,ea(t),n}finishDraft(e,t){let n=e&&e[ci];(!n||!n.isManual_)&&li(9);let{scope_:r}=n;return Qi(r,t),ra(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){let r=t[n];if(r.path.length===0&&r.op===`replace`){e=r.value;break}}n>-1&&(t=t.slice(n+1));let r=qi(Wi).applyPatches_;return vi(e)?r(e,t):this.produce(e,e=>r(e,t))}};function wa(e,t,n,r){let[i,a]=Ai(t)?qi(Ui).proxyMap_(t,n):ji(t)?qi(Ui).proxySet_(t,n):ma(t,n);return(n?.scope_??Xi()).drafts_.push(i),a.callbacks_=n?.callbacks_??[],a.key_=r,n&&r!==void 0?ua(n,a,r):a.callbacks_.push(function(e){e.mapSetPlugin_?.fixSetContents(a);let{patchPlugin_:t}=e;a.modified_&&t&&t.generatePatches_(a,[],e)}),i}function Ta(e){return vi(e)||li(10,e),Ea(e)}function Ea(e){if(!yi(e)||Hi(e))return e;let t=e[ci],n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Ri(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=Ri(e,!0);return Ci(n,(e,t)=>{Di(n,e,Ea(t))},r),t&&(t.finalized_=!1),n}globalThis.Iterator?.from;var Da=new Ca().produce,V=e=>e;function Oa(e){return({dispatch:t,getState:n})=>r=>i=>typeof i==`function`?i(t,n,e):r(i)}var ka=Oa(),Aa=Oa,ja=typeof window<`u`&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]==`object`?ri:ri.apply(null,arguments)};typeof window<`u`&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function Ma(e,t){function n(...n){if(t){let r=t(...n);if(!r)throw Error(Vo(0));return{type:e,payload:r.payload,...`meta`in r&&{meta:r.meta},...`error`in r&&{error:r.error}}}return{type:e,payload:n[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=t=>ai(t)&&t.type===e,n}var Na=class e extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}static get[Symbol.species](){return e}concat(...e){return super.concat.apply(this,e)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new e(...t[0].concat(this)):new e(...t.concat(this))}};function Pa(e){return yi(e)?Da(e,()=>{}):e}function Fa(e,t,n){return e.has(t)?e.get(t):e.set(t,n(t)).get(t)}function Ia(e){return typeof e==`boolean`}var La=()=>function(e){let{thunk:t=!0,immutableCheck:n=!0,serializableCheck:r=!0,actionCreatorCheck:i=!0}=e??{},a=new Na;return t&&(Ia(t)?a.push(ka):a.push(Aa(t.extraArgument))),a},Ra=`RTK_autoBatch`,H=()=>e=>({payload:e,meta:{[Ra]:!0}}),za=e=>t=>{setTimeout(t,e)},Ba=(e,t)=>n=>{let r=!1,i=()=>{r||(r=!0,cancelAnimationFrame(a),clearTimeout(o),n())},a=e(i),o=setTimeout(i,t)},Va=(e={type:`raf`})=>t=>(...n)=>{let r=t(...n),i=!0,a=!1,o=!1,s=new Set,c=e.type===`tick`?queueMicrotask:e.type===`raf`?typeof window<`u`&&window.requestAnimationFrame?Ba(window.requestAnimationFrame,100):za(10):e.type===`callback`?e.queueNotification:za(e.timeout),l=()=>{o=!1,a&&(a=!1,s.forEach(e=>e()))};return Object.assign({},r,{subscribe(e){let t=r.subscribe(()=>i&&e());return s.add(e),()=>{t(),s.delete(e)}},dispatch(e){try{return i=!e?.meta?.[Ra],a=!i,a&&(o||(o=!0,c(l))),r.dispatch(e)}finally{i=!0}}})},Ha=e=>function(t){let{autoBatch:n=!0}=t??{},r=new Na(e);return n&&r.push(Va(typeof n==`object`?n:void 0)),r};function Ua(e){let t=La(),{reducer:n=void 0,middleware:r,devTools:i=!0,duplicateMiddlewareCheck:a=!0,preloadedState:o=void 0,enhancers:s=void 0}=e||{},c;if(typeof n==`function`)c=n;else if($r(n))c=ni(n);else throw Error(Vo(1));let l;l=typeof r==`function`?r(t):t();let u=ri;i&&(u=ja({trace:!1,...typeof i==`object`&&i}));let d=Ha(ii(...l)),f=typeof s==`function`?s(d):d(),p=u(...f);return ei(c,o,p)}function Wa(e){let t={},n=[],r,i={addCase(e,n){let r=typeof e==`string`?e:e.type;if(!r)throw Error(Vo(28));if(r in t)throw Error(Vo(29));return t[r]=n,i},addAsyncThunk(e,r){return r.pending&&(t[e.pending.type]=r.pending),r.rejected&&(t[e.rejected.type]=r.rejected),r.fulfilled&&(t[e.fulfilled.type]=r.fulfilled),r.settled&&n.push({matcher:e.settled,reducer:r.settled}),i},addMatcher(e,t){return n.push({matcher:e,reducer:t}),i},addDefaultCase(e){return r=e,i}};return e(i),[t,n,r]}function Ga(e){return typeof e==`function`}function Ka(e,t){let[n,r,i]=Wa(t),a;if(Ga(e))a=()=>Pa(e());else{let t=Pa(e);a=()=>t}function o(e=a(),t){let o=[n[t.type],...r.filter(({matcher:e})=>e(t)).map(({reducer:e})=>e)];return o.filter(e=>!!e).length===0&&(o=[i]),o.reduce((e,n)=>{if(n){if(vi(e)){let r=n(e,t);return r===void 0?e:r}if(yi(e))return Da(e,e=>n(e,t));{let r=n(e,t);if(r===void 0){if(e===null)return e;throw Error(`A case reducer on a non-draftable value must not return undefined`)}return r}}return e},e)}return o.getInitialState=a,o}var qa=`ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW`,Ja=(e=21)=>{let t=``,n=e;for(;n--;)t+=qa[Math.random()*64|0];return t},Ya=Symbol.for(`rtk-slice-createasyncthunk`);function Xa(e,t){return`${e}/${t}`}function Za({creators:e}={}){let t=e?.asyncThunk?.[Ya];return function(e){let{name:n,reducerPath:r=n}=e;if(!n)throw Error(Vo(11));let i=(typeof e.reducers==`function`?e.reducers(eo()):e.reducers)||{},a=Object.keys(i),o={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},s={addCase(e,t){let n=typeof e==`string`?e:e.type;if(!n)throw Error(Vo(12));if(n in o.sliceCaseReducersByType)throw Error(Vo(13));return o.sliceCaseReducersByType[n]=t,s},addMatcher(e,t){return o.sliceMatchers.push({matcher:e,reducer:t}),s},exposeAction(e,t){return o.actionCreators[e]=t,s},exposeCaseReducer(e,t){return o.sliceCaseReducersByName[e]=t,s}};a.forEach(r=>{let a=i[r],o={reducerName:r,type:Xa(n,r),createNotation:typeof e.reducers==`function`};no(a)?io(o,a,s,t):to(o,a,s)});function c(){let[t={},n=[],r=void 0]=typeof e.extraReducers==`function`?Wa(e.extraReducers):[e.extraReducers],i={...t,...o.sliceCaseReducersByType};return Ka(e.initialState,e=>{for(let t in i)e.addCase(t,i[t]);for(let t of o.sliceMatchers)e.addMatcher(t.matcher,t.reducer);for(let t of n)e.addMatcher(t.matcher,t.reducer);r&&e.addDefaultCase(r)})}let l=e=>e,u=new Map,d=new WeakMap,f;function p(e,t){return f||=c(),f(e,t)}function m(){return f||=c(),f.getInitialState()}function h(t,n=!1){function r(e){let i=e[t];return i===void 0&&n&&(i=Fa(d,r,m)),i}function i(t=l){return Fa(Fa(u,n,()=>new WeakMap),t,()=>{let r={};for(let[i,a]of Object.entries(e.selectors??{}))r[i]=Qa(a,t,()=>Fa(d,t,m),n);return r})}return{reducerPath:t,getSelectors:i,get selectors(){return i(r)},selectSlice:r}}let g={name:n,reducer:p,actions:o.actionCreators,caseReducers:o.sliceCaseReducersByName,getInitialState:m,...h(r),injectInto(e,{reducerPath:t,...n}={}){let i=t??r;return e.inject({reducerPath:i,reducer:p},n),{...g,...h(i,!0)}}};return g}}function Qa(e,t,n,r){function i(i,...a){let o=t(i);return o===void 0&&r&&(o=n()),e(o,...a)}return i.unwrapped=e,i}var $a=Za();function eo(){function e(e,t){return{_reducerDefinitionType:`asyncThunk`,payloadCreator:e,...t}}return e.withTypes=()=>e,{reducer(e){return Object.assign({[e.name](...t){return e(...t)}}[e.name],{_reducerDefinitionType:`reducer`})},preparedReducer(e,t){return{_reducerDefinitionType:`reducerWithPrepare`,prepare:e,reducer:t}},asyncThunk:e}}function to({type:e,reducerName:t,createNotation:n},r,i){let a,o;if(`reducer`in r){if(n&&!ro(r))throw Error(Vo(17));a=r.reducer,o=r.prepare}else a=r;i.addCase(e,a).exposeCaseReducer(t,a).exposeAction(t,o?Ma(e,o):Ma(e))}function no(e){return e._reducerDefinitionType===`asyncThunk`}function ro(e){return e._reducerDefinitionType===`reducerWithPrepare`}function io({type:e,reducerName:t},n,r,i){if(!i)throw Error(Vo(18));let{payloadCreator:a,fulfilled:o,pending:s,rejected:c,settled:l,options:u}=n,d=i(e,a,u);r.exposeAction(t,d),o&&r.addCase(d.fulfilled,o),s&&r.addCase(d.pending,s),c&&r.addCase(d.rejected,c),l&&r.addMatcher(d.settled,l),r.exposeCaseReducer(t,{fulfilled:o||ao,pending:s||ao,rejected:c||ao,settled:l||ao})}function ao(){}var oo=`task`,so=`listener`,co=`completed`,lo=`cancelled`,uo=`task-${lo}`,fo=`task-${co}`,po=`${so}-${lo}`,mo=`${so}-${co}`,ho=class{constructor(e){this.code=e,this.message=`${oo} ${lo} (reason: ${e})`}code;name=`TaskAbortError`;message},go=(e,t)=>{if(typeof e!=`function`)throw TypeError(Vo(32))},_o=()=>{},vo=(e,t=_o)=>(e.catch(t),e),yo=(e,t)=>(e.addEventListener(`abort`,t,{once:!0}),()=>e.removeEventListener(`abort`,t)),bo=e=>{if(e.aborted)throw new ho(e.reason)};function xo(e,t){let n=_o;return new Promise((r,i)=>{let a=()=>i(new ho(e.reason));if(e.aborted){a();return}n=yo(e,a),t.finally(()=>n()).then(r,i)}).finally(()=>{n=_o})}var So=async(e,t)=>{try{return await Promise.resolve(),{status:`ok`,value:await e()}}catch(e){return{status:e instanceof ho?`cancelled`:`rejected`,error:e}}finally{t?.()}},Co=e=>t=>vo(xo(e,t).then(t=>(bo(e),t))),wo=e=>{let t=Co(e);return e=>t(new Promise(t=>setTimeout(t,e)))},{assign:To}=Object,Eo={},Do=`listenerMiddleware`,Oo=(e,t)=>{let n=t=>yo(e,()=>t.abort(e.reason));return(r,i)=>{go(r,`taskExecutor`);let a=new AbortController;n(a);let o=So(async()=>{bo(e),bo(a.signal);let t=await r({pause:Co(a.signal),delay:wo(a.signal),signal:a.signal});return bo(a.signal),t},()=>a.abort(fo));return i?.autoJoin&&t.push(o.catch(_o)),{result:Co(e)(o),cancel(){a.abort(uo)}}}},ko=(e,t)=>{let n=async(n,r)=>{bo(t);let i=()=>{},a=[new Promise((t,r)=>{let a=e({predicate:n,effect:(e,n)=>{n.unsubscribe(),t([e,n.getState(),n.getOriginalState()])}});i=()=>{a(),r()}})];r!=null&&a.push(new Promise(e=>setTimeout(e,r,null)));try{let e=await xo(t,Promise.race(a));return bo(t),e}finally{i()}};return((e,t)=>vo(n(e,t)))},Ao=e=>{let{type:t,actionCreator:n,matcher:r,predicate:i,effect:a}=e;if(t)i=Ma(t).match;else if(n)t=n.type,i=n.match;else if(r)i=r;else if(!i)throw Error(Vo(21));return go(a,`options.listener`),{predicate:i,type:t,effect:a}},jo=To(e=>{let{type:t,predicate:n,effect:r}=Ao(e);return{id:Ja(),effect:r,type:t,predicate:n,pending:new Set,unsubscribe:()=>{throw Error(Vo(22))}}},{withTypes:()=>jo}),Mo=(e,t)=>{let{type:n,effect:r,predicate:i}=Ao(t);return Array.from(e.values()).find(e=>(typeof n==`string`?e.type===n:e.predicate===i)&&e.effect===r)},No=e=>{e.pending.forEach(e=>{e.abort(po)})},Po=(e,t)=>()=>{for(let e of t.keys())No(e);e.clear()},Fo=(e,t,n)=>{try{e(t,n)}catch(e){setTimeout(()=>{throw e},0)}},Io=To(Ma(`${Do}/add`),{withTypes:()=>Io}),Lo=Ma(`${Do}/removeAll`),Ro=To(Ma(`${Do}/remove`),{withTypes:()=>Ro}),zo=(...e)=>{console.error(`${Do}/error`,...e)},Bo=(e={})=>{let t=new Map,n=new Map,r=e=>{let t=n.get(e)??0;n.set(e,t+1)},i=e=>{let t=n.get(e)??1;t===1?n.delete(e):n.set(e,t-1)},{extra:a,onError:o=zo}=e;go(o,`onError`);let s=e=>(e.unsubscribe=()=>t.delete(e.id),t.set(e.id,e),t=>{e.unsubscribe(),t?.cancelActive&&No(e)}),c=(e=>{let n=Mo(t,e)??jo(e);return s(n)});To(c,{withTypes:()=>c});let l=e=>{let n=Mo(t,e);return n&&(n.unsubscribe(),e.cancelActive&&No(n)),!!n};To(l,{withTypes:()=>l});let u=async(e,n,s,l)=>{let u=new AbortController,d=ko(c,u.signal),f=[];try{e.pending.add(u),r(e),await Promise.resolve(e.effect(n,To({},s,{getOriginalState:l,condition:(e,t)=>d(e,t).then(Boolean),take:d,delay:wo(u.signal),pause:Co(u.signal),extra:a,signal:u.signal,fork:Oo(u.signal,f),unsubscribe:e.unsubscribe,subscribe:()=>{t.set(e.id,e)},cancelActiveListeners:()=>{e.pending.forEach((e,t,n)=>{e!==u&&(e.abort(po),n.delete(e))})},cancel:()=>{u.abort(po),e.pending.delete(u)},throwIfCancelled:()=>{bo(u.signal)}})))}catch(e){e instanceof ho||Fo(o,e,{raisedBy:`effect`})}finally{await Promise.all(f),u.abort(mo),i(e),e.pending.delete(u)}},d=Po(t,n);return{middleware:e=>n=>r=>{if(!ai(r))return n(r);if(Io.match(r))return c(r.payload);if(Lo.match(r)){d();return}if(Ro.match(r))return l(r.payload);let i=e.getState(),a=()=>{if(i===Eo)throw Error(Vo(23));return i},s;try{if(s=n(r),t.size>0){let n=e.getState(),s=Array.from(t.values());for(let t of s){let s=!1;try{s=t.predicate(r,n,i)}catch(e){s=!1,Fo(o,e,{raisedBy:`predicate`})}s&&u(t,r,e,a)}}}finally{i=Eo}return s},startListening:c,stopListening:l,clearListeners:d}};function Vo(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Ho=$a({name:`chartLayout`,initialState:{layoutType:`horizontal`,width:0,height:0,margin:{top:5,right:5,bottom:5,left:5},scale:1},reducers:{setLayout(e,t){e.layoutType=t.payload},setChartSize(e,t){e.width=t.payload.width,e.height=t.payload.height},setMargin(e,t){e.margin.top=t.payload.top??0,e.margin.right=t.payload.right??0,e.margin.bottom=t.payload.bottom??0,e.margin.left=t.payload.left??0},setScale(e,t){e.scale=t.payload}}}),Uo=Ho.actions,Wo=Uo.setMargin,Go=Uo.setLayout,Ko=Uo.setChartSize,qo=Uo.setScale,Jo=Ho.reducer;function Yo(e,t,n){return Array.isArray(e)&&e&&t+n!==0?e.slice(t,n+1):e}function U(e){return Number.isFinite(e)}function Xo(e){return typeof e==`number`&&e>0&&Number.isFinite(e)}function Zo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Qo(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Zo(Object(n),!0).forEach(function(t){$o(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zo(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function $o(e,t,n){return(t=es(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function es(e){var t=ts(e,`string`);return typeof t==`symbol`?t:t+``}function ts(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function W(e,t,n){return L(e)||L(t)?n:Te(t)?_e(e,t,n):typeof t==`function`?t(e):n}var ns=(e,t,n)=>{if(t&&n){var r=n.width,i=n.height,a=t.align,o=t.verticalAlign,s=t.layout,c=t.position,l=t.offset,u=l===void 0?0:l;if(c!=null){if(He(c)){if(c===`top`&&F(e.top))return Qo(Qo({},e),{},{top:e.top+(i||0)+u});if(c===`bottom`&&F(e.bottom))return Qo(Qo({},e),{},{bottom:e.bottom+(i||0)+u});if(c===`left`&&F(e.left))return Qo(Qo({},e),{},{left:e.left+(r||0)+u});if(c===`right`&&F(e.right))return Qo(Qo({},e),{},{right:e.right+(r||0)+u})}return e}if((s===`vertical`||s===`horizontal`&&o===`middle`)&&a!==`center`&&F(e[a]))return Qo(Qo({},e),{},{[a]:e[a]+(r||0)});if((s===`horizontal`||s===`vertical`&&a===`center`)&&o!==`middle`&&F(e[o]))return Qo(Qo({},e),{},{[o]:e[o]+(i||0)})}return e},rs=(e,t)=>e===`horizontal`&&t===`xAxis`||e===`vertical`&&t===`yAxis`||e===`centric`&&t===`angleAxis`||e===`radial`&&t===`radiusAxis`,is=(e,t,n,r)=>{if(r)return e.map(e=>e.coordinate);var i,a,o=e.map(e=>(e.coordinate===t&&(i=!0),e.coordinate===n&&(a=!0),e.coordinate));return i||o.push(t),a||o.push(n),o},as=(e,t,n)=>{if(!e)return null;var r=e.duplicateDomain,i=e.type,a=e.range,o=e.scale,s=e.realScaleType,c=e.isCategorical,l=e.categoricalDomain,u=e.tickCount,d=e.ticks,f=e.niceTicks,p=e.axisType;if(!o)return null;var m=s===`scaleBand`&&o.bandwidth?o.bandwidth()/2:2,h=(t||n)&&i===`category`&&o.bandwidth?o.bandwidth()/m:0;return h=p===`angleAxis`&&a&&a.length>=2?Se(a[0]-a[1])*2*h:h,t&&(d||f)?(d||f||[]).map((e,t)=>{var n=r?r.indexOf(e):e,i=o.map(n);return U(i)?{coordinate:i+h,value:e,offset:h,index:t}:null}).filter(Me):c&&l?l.map((e,t)=>{var n=o.map(e);return U(n)?{coordinate:n+h,value:e,index:t,offset:h}:null}).filter(Me):o.ticks&&!n&&u!=null?o.ticks(u).map((e,t)=>{var n=o.map(e);return U(n)?{coordinate:n+h,value:e,index:t,offset:h}:null}).filter(Me):o.domain().map((e,t)=>{var n=o.map(e);return U(n)?{coordinate:n+h,value:r?r[e]:e,index:t,offset:h}:null}).filter(Me)},os=(e,t)=>{if(!t||t.length!==2||!F(t[0])||!F(t[1]))return e;var n=Math.min(t[0],t[1]),r=Math.max(t[0],t[1]),i=[e[0],e[1]];return(!F(e[0])||e[0]<n)&&(i[0]=n),(!F(e[1])||e[1]>r)&&(i[1]=r),i[0]>r&&(i[0]=r),i[1]<n&&(i[1]=n),i},ss={sign:e=>{var t=e.length;if(!(t<=0)){var n=e[0]?.length;if(!(n==null||n<=0))for(var r=0;r<n;++r)for(var i=0,a=0,o=0;o<t;++o){var s=e[o]?.[r];if(s!=null){var c=s[1],l=s[0],u=Ce(c)?l:c;u>=0?(s[0]=i,i+=u,s[1]=i):(s[0]=a,a+=u,s[1]=a)}}}},expand:Bt,none:Ft,silhouette:Vt,wiggle:Ht,positive:e=>{var t=e.length;if(!(t<=0)){var n=e[0]?.length;if(!(n==null||n<=0))for(var r=0;r<n;++r)for(var i=0,a=0;a<t;++a){var o=e[a]?.[r];if(o!=null){var s=Ce(o[1])?o[0]:o[1];s>=0?(o[0]=i,i+=s,o[1]=i):(o[0]=0,o[1]=0)}}}}},cs=(e,t,n)=>{var r=ss[n]??Ft,i=zt().keys(t).value((e,t)=>Number(W(e,t,0))).order(It).offset(r)(e);return i.forEach((n,r)=>{n.forEach((n,i)=>{var a=W(e[i],t[r],0);Array.isArray(a)&&a.length===2&&F(a[0])&&F(a[1])&&(n[0]=a[0],n[1]=a[1])})}),i};function ls(e){return e==null?void 0:String(e)}function us(e){var t=e.axis,n=e.ticks,r=e.bandSize,i=e.entry,a=e.index,o=e.dataKey;if(t.type===`category`){if(!t.allowDuplicatedCategory&&t.dataKey&&!L(i[t.dataKey])){var s=Ae(n,`value`,i[t.dataKey]);if(s)return s.coordinate+r/2}return n!=null&&n[a]?n[a].coordinate+r/2:null}var c=W(i,L(o)?t.dataKey:o),l=t.scale.map(c);return F(l)?l:null}var ds=e=>{var t=e.axis,n=e.ticks,r=e.offset,i=e.bandSize,a=e.entry,o=e.index;if(t.type===`category`)return n[o]?n[o].coordinate+r:null;var s=W(a,t.dataKey,t.scale.domain()[o]);if(L(s))return null;var c=t.scale.map(s);return F(c)?c-i/2+r:null},fs=e=>{var t=e.numericAxis,n=t.scale.domain();if(t.type===`number`){var r=Math.min(n[0],n[1]),i=Math.max(n[0],n[1]);return r<=0&&i>=0?0:i<0?i:r}return n[0]},ps=e=>{var t=e.flat(2).filter(F);return[Math.min(...t),Math.max(...t)]},ms=e=>[e[0]===1/0?0:e[0],e[1]===-1/0?0:e[1]],hs=(e,t,n)=>{if(e!=null&&Object.keys(e).length!==0)return ms(Object.keys(e).reduce((r,i)=>{var a=e[i];if(!a)return r;var o=a.stackedData.reduce((e,r)=>{var i=ps(Yo(r,t,n));return!U(i[0])||!U(i[1])?e:[Math.min(e[0],i[0]),Math.max(e[1],i[1])]},[1/0,-1/0]);return[Math.min(o[0],r[0]),Math.max(o[1],r[1])]},[1/0,-1/0]))},gs=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,_s=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,vs=(e,t,n)=>{if(e&&e.scale&&e.scale.bandwidth){var r=e.scale.bandwidth();if(!n||r>0)return r}if(e&&t&&t.length>=2){for(var i=Ir(t,e=>e.coordinate),a=[],o=0,s=1,c=i.length;s<c;s++){var l=(i[s]?.coordinate||0)-(i[s-1]?.coordinate||0);a.push(l),o=Math.max(l,o)}var u=o*1e-4,d=1/0;for(var f of a)f>u&&(d=Math.min(f,d));return d===1/0?0:d}return n?void 0:0};function ys(e){var t=e.tooltipEntrySettings,n=e.dataKey,r=e.payload,i=e.value,a=e.name;return Qo(Qo({},t),{},{dataKey:n,payload:r,value:i,name:a})}function bs(e,t){if(e!=null)return String(e);if(typeof t==`string`)return t}var xs=(e,t)=>{if(t===`horizontal`)return e.relativeX;if(t===`vertical`)return e.relativeY},Ss=(e,t)=>t===`centric`?e.angle:e.radius,Cs=e=>e.layout.width,ws=e=>e.layout.height,Ts=e=>e.layout.scale,Es=e=>e.layout.margin,Ds=B(e=>e.cartesianAxis.xAxis,e=>Object.values(e)),Os=B(e=>e.cartesianAxis.yAxis,e=>Object.values(e)),ks=`data-recharts-item-index`,As=`data-recharts-item-id`;function js(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ms(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?js(Object(n),!0).forEach(function(t){Ns(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):js(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ns(e,t,n){return(t=Ps(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ps(e){var t=Fs(e,`string`);return typeof t==`symbol`?t:t+``}function Fs(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Is=e=>e.brush.height;function Ls(e){return Os(e).reduce((e,t)=>t.orientation===`left`&&!t.mirror&&!t.hide?e+(typeof t.width==`number`?t.width:60):e,0)}function Rs(e){return Os(e).reduce((e,t)=>t.orientation===`right`&&!t.mirror&&!t.hide?e+(typeof t.width==`number`?t.width:60):e,0)}function zs(e){return Ds(e).reduce((e,t)=>t.orientation===`top`&&!t.mirror&&!t.hide?e+(typeof t.height==`number`?t.height:30):e,0)}function Bs(e){return Ds(e).reduce((e,t)=>t.orientation===`bottom`&&!t.mirror&&!t.hide?e+(typeof t.height==`number`?t.height:30):e,0)}var Vs=B([Cs,ws,Es,Is,Ls,Rs,zs,Bs,Lr,Rr],(e,t,n,r,i,a,o,s,c,l)=>{var u={left:(n.left||0)+i,right:(n.right||0)+a},d=Ms(Ms({},{top:(n.top||0)+o,bottom:(n.bottom||0)+s}),u),f=d.bottom;d.bottom+=r,d=ns(d,c,l);var p=e-d.left-d.right,m=t-d.top-d.bottom;return Ms(Ms({brushBottom:f},d),{},{width:Math.max(p,0),height:Math.max(m,0)})}),Hs=B(Vs,e=>({x:e.left,y:e.top,width:e.width,height:e.height})),Us=B(Cs,ws,(e,t)=>({x:0,y:0,width:e,height:t})),Ws=(0,S.createContext)(null),Gs=()=>(0,S.useContext)(Ws)!=null,Ks=e=>e.brush,qs=B([Ks,Vs,Es],(e,t,n)=>({height:e.height,x:F(e.x)?e.x:t.left,y:F(e.y)?e.y:t.top+t.height+t.brushBottom-(n?.bottom||0),width:F(e.width)?e.width:t.width}));function Js(e,t,{signal:n,edges:r}={}){let i,a=null,o=r!=null&&r.includes(`leading`),s=r==null||r.includes(`trailing`),c=()=>{a!==null&&(e.apply(i,a),i=void 0,a=null)},l=()=>{s&&c(),p()},u=null,d=()=>{u!=null&&clearTimeout(u),u=setTimeout(()=>{u=null,l()},t)},f=()=>{u!==null&&(clearTimeout(u),u=null)},p=()=>{f(),i=void 0,a=null},m=()=>{c()},h=function(...e){if(n?.aborted)return;i=this,a=e;let t=u==null;d(),o&&t&&c()};return h.schedule=d,h.cancel=p,h.flush=m,n?.addEventListener(`abort`,p,{once:!0}),h}function Ys(e,t=0,n={}){typeof n!=`object`&&(n={});let{leading:r=!1,trailing:i=!0,maxWait:a}=n,o=[,,];r&&(o[0]=`leading`),i&&(o[1]=`trailing`);let s,c=null,l=Js(function(...t){s=e.apply(this,t),c=null},t,{edges:o}),u=function(...t){return a!=null&&(c===null&&(c=Date.now()),Date.now()-c>=a)?((r||i)&&(s=e.apply(this,t)),c=Date.now(),l.cancel(),l.schedule(),s):(l.apply(this,t),s)};return u.cancel=l.cancel,u.flush=()=>(l.flush(),s),u}function Xs(e,t=0,n={}){let{leading:r=!0,trailing:i=!0}=n;return Ys(e,t,{leading:r,maxWait:t,trailing:i})}var Zs=function(e,t){var n=[...arguments].slice(2);if(typeof console<`u`&&console.warn&&(t===void 0&&console.warn(`LogUtils requires an error message argument`),!e)){if(t===void 0)console.warn(`Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.`);else{var r=0;console.warn(t.replace(/%s/g,()=>n[r++]))}}},Qs={width:`100%`,height:`100%`,debounce:0,minWidth:0,initialDimension:{width:-1,height:-1}},$s=(e,t,n)=>{var r=n.width,i=r===void 0?Qs.width:r,a=n.height,o=a===void 0?Qs.height:a,s=n.aspect,c=n.maxHeight,l=we(i)?e:Number(i),u=we(o)?t:Number(o);return s&&s>0&&(l?u=l/s:u&&(l=u*s),c&&u!=null&&u>c&&(u=c)),{calculatedWidth:l,calculatedHeight:u}},ec={width:0,height:0,overflow:`visible`},tc={width:0,overflowX:`visible`},nc={height:0,overflowY:`visible`},rc={},ic=e=>{var t=e.width,n=e.height,r=we(t),i=we(n);return r&&i?ec:r?tc:i?nc:rc};function ac(e){var t=e.width,n=e.height,r=e.aspect,i=t,a=n;return i===void 0&&a===void 0?(i=Qs.width,a=Qs.height):i===void 0?i=r&&r>0?void 0:Qs.width:a===void 0&&(a=r&&r>0?void 0:Qs.height),{width:i,height:a}}var oc=[`aspect`,`initialDimension`,`width`,`height`,`minWidth`,`minHeight`,`maxHeight`,`children`,`debounce`,`id`,`className`,`onResize`,`style`];function sc(){return sc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sc.apply(null,arguments)}function cc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function lc(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?cc(Object(n),!0).forEach(function(t){uc(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cc(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function uc(e,t,n){return(t=dc(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dc(e){var t=fc(e,`string`);return typeof t==`symbol`?t:t+``}function fc(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function pc(e,t){return vc(e)||_c(e,t)||hc(e,t)||mc()}function mc(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
3
3
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function hc(e,t){if(e){if(typeof e==`string`)return gc(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?gc(e,t):void 0}}function gc(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function _c(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function vc(e){if(Array.isArray(e))return e}function yc(e,t){if(e==null)return{};var n,r,i=bc(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function bc(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var xc=(0,S.createContext)(Qs.initialDimension);function Sc(e){return Xo(e.width)&&Xo(e.height)}function Cc(e){var t=e.children,n=e.width,r=e.height,i=(0,S.useMemo)(()=>({width:n,height:r}),[n,r]);return Sc(i)?S.createElement(xc.Provider,{value:i},t):null}var wc=()=>(0,S.useContext)(xc),Tc=(0,S.forwardRef)((e,t)=>{var n=e.aspect,r=e.initialDimension,i=r===void 0?Qs.initialDimension:r,a=e.width,o=e.height,c=e.minWidth,l=c===void 0?Qs.minWidth:c,u=e.minHeight,d=e.maxHeight,f=e.children,p=e.debounce,m=p===void 0?Qs.debounce:p,h=e.id,g=e.className,_=e.onResize,v=e.style,y=v===void 0?{}:v,b=yc(e,oc),x=(0,S.useRef)(null),C=(0,S.useRef)();C.current=_,(0,S.useImperativeHandle)(t,()=>x.current);var w=pc((0,S.useState)({containerWidth:i.width,containerHeight:i.height}),2),T=w[0],E=w[1],D=(0,S.useCallback)((e,t)=>{E(n=>{var r=Math.round(e),i=Math.round(t);return n.containerWidth===r&&n.containerHeight===i?n:{containerWidth:r,containerHeight:i}})},[]);(0,S.useEffect)(()=>{if(x.current==null||typeof ResizeObserver>`u`)return Ne;var e=e=>{var t,n=e[0];if(n!=null){var r=n.contentRect,i=r.width,a=r.height;D(i,a),(t=C.current)==null||t.call(C,i,a)}};m>0&&(e=Xs(e,m,{trailing:!0,leading:!1}));var t=new ResizeObserver(e),n=x.current.getBoundingClientRect(),r=n.width,i=n.height;return D(r,i),t.observe(x.current),()=>{t.disconnect()}},[D,m]);var O=T.containerWidth,k=T.containerHeight;Zs(!n||n>0,`The aspect(%s) must be greater than zero.`,n);var A=$s(O,k,{width:a,height:o,aspect:n,maxHeight:d}),j=A.calculatedWidth,M=A.calculatedHeight;return Zs(O<0||k<0||j!=null&&j>0||M!=null&&M>0,`The width(%s) and height(%s) of chart should be greater than 0,
4
4
  please check the style of container, or the props width(%s) and height(%s),
@@ -1 +1 @@
1
- import{i as e,t}from"./react-SIfiwpqq.js";import{Es as n,Mo as r,Ss as i,Ts as a,Wc as o,vc as s,wo as c,ws as l}from"./runtime-Djy96GJd.js";var u=e(t(),1),d=e(o(),1);function f(e,t){let o=u.useRef(null);function f(t){d.flushSync(()=>{e.setOpen(!1,c(r,t.nativeEvent,t.currentTarget))}),a(o.current)?.focus()}function p(a){let o=e.select(`positionerElement`);if(o&&n(a,o))e.context.beforeContentFocusGuardRef.current?.focus();else{d.flushSync(()=>{e.setOpen(!1,c(r,a.nativeEvent,a.currentTarget))});let n=l(e.context.triggerFocusTargetRef.current||t.current);for(;n!==null&&s(o,n);){let e=n;if(n=i(n),n===e)break}n?.focus()}}return{preFocusGuardRef:o,handlePreFocusGuardFocus:f,handleFocusTargetFocus:p}}export{f as t};
1
+ import{i as e,t}from"./react-SIfiwpqq.js";import{Es as n,Mo as r,Ss as i,Ts as a,Wc as o,vc as s,wo as c,ws as l}from"./runtime-Bxg7k81u.js";var u=e(t(),1),d=e(o(),1);function f(e,t){let o=u.useRef(null);function f(t){d.flushSync(()=>{e.setOpen(!1,c(r,t.nativeEvent,t.currentTarget))}),a(o.current)?.focus()}function p(a){let o=e.select(`positionerElement`);if(o&&n(a,o))e.context.beforeContentFocusGuardRef.current?.focus();else{d.flushSync(()=>{e.setOpen(!1,c(r,a.nativeEvent,a.currentTarget))});let n=l(e.context.triggerFocusTargetRef.current||t.current);for(;n!==null&&s(o,n);){let e=n;if(n=i(n),n===e)break}n?.focus()}}return{preFocusGuardRef:o,handlePreFocusGuardFocus:f,handleFocusTargetFocus:p}}export{f as t};
@@ -1 +1 @@
1
- import{i as e,t}from"./react-SIfiwpqq.js";import{Kc as n,Qc as r}from"./runtime-Djy96GJd.js";var i=e(t(),1);function a(e,t){let a=i.useRef(e),o=n(t);r(()=>{a.current!==e&&o(a.current),a.current=e},[e,o])}export{a as t};
1
+ import{i as e,t}from"./react-SIfiwpqq.js";import{Kc as n,Qc as r}from"./runtime-Bxg7k81u.js";var i=e(t(),1);function a(e,t){let a=i.useRef(e),o=n(t);r(()=>{a.current!==e&&o(a.current),a.current=e},[e,o])}export{a as t};
@@ -1 +1 @@
1
- import{Na as e}from"./runtime-Djy96GJd.js";var t={name:`user-round`,size:24,node:[[`circle`,{cx:`12`,cy:`8`,r:`5`,key:`1hypcn`}],[`path`,{d:`M20 21a8 8 0 0 0-16 0`,key:`rfgkzh`}]],aliases:[`user-2`]};t.node;var n=e(t);export{n as t};
1
+ import{Na as e}from"./runtime-Bxg7k81u.js";var t={name:`user-round`,size:24,node:[[`circle`,{cx:`12`,cy:`8`,r:`5`,key:`1hypcn`}],[`path`,{d:`M20 21a8 8 0 0 0-16 0`,key:`rfgkzh`}]],aliases:[`user-2`]};t.node;var n=e(t);export{n as t};