django-cfg 1.4.87__py3-none-any.whl → 1.4.89__py3-none-any.whl

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.

Potentially problematic release.


This version of django-cfg might be problematic. Click here for more details.

Files changed (177) hide show
  1. django_cfg/__init__.py +1 -1
  2. django_cfg/apps/centrifugo/views/__init__.py +0 -2
  3. django_cfg/apps/dashboard/permissions.py +48 -0
  4. django_cfg/apps/dashboard/serializers/__init__.py +8 -1
  5. django_cfg/apps/dashboard/serializers/commands.py +29 -0
  6. django_cfg/apps/dashboard/services/__init__.py +2 -0
  7. django_cfg/{modules/django_unfold/callbacks/base.py → apps/dashboard/services/commands_security.py} +28 -90
  8. django_cfg/apps/dashboard/services/commands_service.py +208 -9
  9. django_cfg/apps/dashboard/services/overview_service.py +205 -0
  10. django_cfg/apps/dashboard/views/commands_views.py +92 -4
  11. django_cfg/apps/frontend/test_routing.py +134 -0
  12. django_cfg/apps/frontend/views.py +73 -28
  13. django_cfg/apps/urls.py +0 -1
  14. django_cfg/core/builders/apps_builder.py +0 -58
  15. django_cfg/modules/django_unfold/__init__.py +5 -24
  16. django_cfg/modules/django_unfold/models/__init__.py +0 -23
  17. django_cfg/modules/django_unfold/models/config.py +11 -65
  18. django_cfg/modules/django_unfold/{dashboard.py → navigation.py} +21 -152
  19. django_cfg/modules/django_unfold/tailwind.py +2 -4
  20. django_cfg/pyproject.toml +1 -1
  21. django_cfg/registry/third_party.py +0 -9
  22. django_cfg/routing/callbacks.py +1 -43
  23. django_cfg/static/frontend/admin/404/index.html +1 -1
  24. django_cfg/static/frontend/admin/404.html +1 -1
  25. django_cfg/static/frontend/admin/500/index.html +1 -1
  26. django_cfg/static/frontend/admin/_next/static/{ZJZBgOL9mO1koHrgaaLEV → 0sN9ktsgXH48ygtGSrhfu}/_buildManifest.js +1 -1
  27. django_cfg/static/frontend/admin/_next/static/chunks/{19430.fe7bff7372f8a256.js → 19430.c4c95603c23c17fe.js} +1 -1
  28. django_cfg/static/frontend/admin/_next/static/chunks/50314-9443faa6df24aebf.js +1 -0
  29. django_cfg/static/frontend/admin/_next/static/chunks/94141-bc6d47f419b26b21.js +1 -0
  30. django_cfg/static/frontend/admin/_next/static/chunks/pages/{_app-c336f254967dd101.js → _app-c7dcd3aa616fab68.js} +6 -6
  31. django_cfg/static/frontend/admin/_next/static/chunks/pages/legal/{cookies-b39c7f22c066e2c6.js → cookies-97d279800f12aab4.js} +1 -1
  32. django_cfg/static/frontend/admin/_next/static/chunks/pages/legal/{privacy-5aedad0cf3a4f80f.js → privacy-1d5e6cd94689247e.js} +1 -1
  33. django_cfg/static/frontend/admin/_next/static/chunks/pages/legal/{security-dbd854d0d5d483e2.js → security-55e49700e7a01f5a.js} +1 -1
  34. django_cfg/static/frontend/admin/_next/static/chunks/pages/legal/{terms-f3e1d2b9e5edf12f.js → terms-14c02bb2d3198352.js} +1 -1
  35. django_cfg/static/frontend/admin/_next/static/chunks/pages/private/{centrifugo-22532c65971225eb.js → centrifugo-f9ecbc3ae0052a03.js} +1 -1
  36. django_cfg/static/frontend/admin/_next/static/chunks/pages/private-d4ccbe1265cbd853.js +1 -0
  37. django_cfg/static/frontend/admin/_next/static/chunks/{webpack-da114020a6b940f5.js → webpack-5a92f81363b62aa7.js} +1 -1
  38. django_cfg/static/frontend/admin/_next/static/css/3063068f0d5a8a00.css +3 -0
  39. django_cfg/static/frontend/admin/_next/static/media/19cfc7226ec3afaa-s.woff2 +0 -0
  40. django_cfg/static/frontend/admin/_next/static/media/21350d82a1f187e9-s.p.woff2 +0 -0
  41. django_cfg/static/frontend/admin/_next/static/media/8e9860b6e62d6359-s.woff2 +0 -0
  42. django_cfg/static/frontend/admin/_next/static/media/ba9851c3c22cd980-s.woff2 +0 -0
  43. django_cfg/static/frontend/admin/_next/static/media/c5fe6dc8356a8c31-s.woff2 +0 -0
  44. django_cfg/static/frontend/admin/_next/static/media/df0a9ae256c0569c-s.woff2 +0 -0
  45. django_cfg/static/frontend/admin/_next/static/media/e4af272ccee01ff0-s.p.woff2 +0 -0
  46. django_cfg/static/frontend/admin/auth/index.html +1 -1
  47. django_cfg/static/frontend/admin/index.html +1 -1
  48. django_cfg/static/frontend/admin/legal/cookies/index.html +1 -1
  49. django_cfg/static/frontend/admin/legal/privacy/index.html +1 -1
  50. django_cfg/static/frontend/admin/legal/security/index.html +1 -1
  51. django_cfg/static/frontend/admin/legal/terms/index.html +1 -1
  52. django_cfg/static/frontend/admin/private/centrifugo/index.html +1 -1
  53. django_cfg/static/frontend/admin/private/index.html +1 -1
  54. django_cfg/static/frontend/admin/private/profile/index.html +1 -1
  55. django_cfg/static/frontend/admin/private/ui/index.html +2 -2
  56. django_cfg/templates/admin/index.html +1 -1
  57. {django_cfg-1.4.87.dist-info → django_cfg-1.4.89.dist-info}/METADATA +1 -1
  58. {django_cfg-1.4.87.dist-info → django_cfg-1.4.89.dist-info}/RECORD +62 -163
  59. django_cfg/apps/centrifugo/static/django_cfg_centrifugo/css/dashboard.css +0 -260
  60. django_cfg/apps/centrifugo/static/django_cfg_centrifugo/js/dashboard/live_channels.mjs +0 -313
  61. django_cfg/apps/centrifugo/static/django_cfg_centrifugo/js/dashboard/live_testing.mjs +0 -803
  62. django_cfg/apps/centrifugo/static/django_cfg_centrifugo/js/dashboard/main.mjs +0 -341
  63. django_cfg/apps/centrifugo/static/django_cfg_centrifugo/js/dashboard/overview.mjs +0 -432
  64. django_cfg/apps/centrifugo/static/django_cfg_centrifugo/js/dashboard/testing.mjs +0 -33
  65. django_cfg/apps/centrifugo/static/django_cfg_centrifugo/js/dashboard/websocket.mjs +0 -210
  66. django_cfg/apps/centrifugo/templates/django_cfg_centrifugo/components/channels_content.html +0 -46
  67. django_cfg/apps/centrifugo/templates/django_cfg_centrifugo/components/live_channels_content.html +0 -123
  68. django_cfg/apps/centrifugo/templates/django_cfg_centrifugo/components/overview_content.html +0 -45
  69. django_cfg/apps/centrifugo/templates/django_cfg_centrifugo/components/publishes_content.html +0 -84
  70. django_cfg/apps/centrifugo/templates/django_cfg_centrifugo/components/stat_cards.html +0 -53
  71. django_cfg/apps/centrifugo/templates/django_cfg_centrifugo/components/system_status.html +0 -91
  72. django_cfg/apps/centrifugo/templates/django_cfg_centrifugo/components/tab_navigation.html +0 -29
  73. django_cfg/apps/centrifugo/templates/django_cfg_centrifugo/components/testing_tools.html +0 -415
  74. django_cfg/apps/centrifugo/templates/django_cfg_centrifugo/layout/base.html +0 -61
  75. django_cfg/apps/centrifugo/templates/django_cfg_centrifugo/pages/dashboard.html +0 -58
  76. django_cfg/apps/centrifugo/templates/django_cfg_centrifugo/tags/connection_script.html +0 -48
  77. django_cfg/apps/centrifugo/templatetags/__init__.py +0 -1
  78. django_cfg/apps/centrifugo/templatetags/centrifugo_tags.py +0 -81
  79. django_cfg/apps/centrifugo/urls_admin.py +0 -20
  80. django_cfg/apps/centrifugo/views/dashboard.py +0 -28
  81. django_cfg/modules/django_dashboard/__init__.py +0 -23
  82. django_cfg/modules/django_dashboard/components.py +0 -312
  83. django_cfg/modules/django_dashboard/debug.py +0 -174
  84. django_cfg/modules/django_dashboard/management/__init__.py +0 -0
  85. django_cfg/modules/django_dashboard/management/commands/__init__.py +0 -0
  86. django_cfg/modules/django_dashboard/management/commands/debug_dashboard.py +0 -109
  87. django_cfg/modules/django_dashboard/sections/__init__.py +0 -1
  88. django_cfg/modules/django_dashboard/sections/base.py +0 -129
  89. django_cfg/modules/django_dashboard/sections/commands.py +0 -33
  90. django_cfg/modules/django_dashboard/sections/documentation.py +0 -393
  91. django_cfg/modules/django_dashboard/sections/overview.py +0 -398
  92. django_cfg/modules/django_dashboard/sections/stats.py +0 -48
  93. django_cfg/modules/django_dashboard/sections/system.py +0 -74
  94. django_cfg/modules/django_dashboard/sections/widgets.py +0 -222
  95. django_cfg/modules/django_unfold/callbacks/__init__.py +0 -9
  96. django_cfg/modules/django_unfold/callbacks/actions.py +0 -51
  97. django_cfg/modules/django_unfold/callbacks/apizones.py +0 -122
  98. django_cfg/modules/django_unfold/callbacks/charts.py +0 -223
  99. django_cfg/modules/django_unfold/callbacks/commands.py +0 -40
  100. django_cfg/modules/django_unfold/callbacks/main.py +0 -322
  101. django_cfg/modules/django_unfold/callbacks/statistics.py +0 -240
  102. django_cfg/modules/django_unfold/callbacks/system.py +0 -180
  103. django_cfg/modules/django_unfold/callbacks/users.py +0 -65
  104. django_cfg/modules/django_unfold/models/dashboard.py +0 -207
  105. django_cfg/modules/django_unfold/models/tabs.py +0 -26
  106. django_cfg/modules/django_unfold/models.py +0 -98
  107. django_cfg/modules/django_unfold/templates/unfold/helpers/app_list.html +0 -102
  108. django_cfg/static/frontend/admin/_next/static/chunks/23004-faae121bbfecc163.js +0 -1
  109. django_cfg/static/frontend/admin/_next/static/chunks/50314-48bd5701f62faf27.js +0 -1
  110. django_cfg/static/frontend/admin/_next/static/chunks/pages/private-fe9faa86ecdb0ce6.js +0 -1
  111. django_cfg/static/frontend/admin/_next/static/css/5f9a37b6e6a72303.css +0 -3
  112. django_cfg/static/frontend/admin/_next/static/media/438aa629764e75f3-s.woff2 +0 -0
  113. django_cfg/static/frontend/admin/_next/static/media/4c9affa5bc8f420e-s.p.woff2 +0 -0
  114. django_cfg/static/frontend/admin/_next/static/media/51251f8b9793cdb3-s.woff2 +0 -0
  115. django_cfg/static/frontend/admin/_next/static/media/875ae681bfde4580-s.p.woff2 +0 -0
  116. django_cfg/static/frontend/admin/_next/static/media/cc978ac5ee68c2b6-s.woff2 +0 -0
  117. django_cfg/static/frontend/admin/_next/static/media/e857b654a2caa584-s.woff2 +0 -0
  118. django_cfg/templates/admin/sections/commands_section.html +0 -5
  119. django_cfg/templates/admin/sections/documentation_section.html +0 -5
  120. django_cfg/templates/admin/sections/overview_section.html +0 -5
  121. django_cfg/templates/admin/sections/stats_section.html +0 -5
  122. django_cfg/templates/admin/sections/system_section.html +0 -5
  123. django_cfg/templates/admin/sections/widgets_section.html +0 -11
  124. django_cfg/templates/admin_old/components/action_grid.html +0 -49
  125. django_cfg/templates/admin_old/components/card.html +0 -50
  126. django_cfg/templates/admin_old/components/data_table.html +0 -67
  127. django_cfg/templates/admin_old/components/metric_card.html +0 -39
  128. django_cfg/templates/admin_old/components/modal.html +0 -58
  129. django_cfg/templates/admin_old/components/progress_bar.html +0 -20
  130. django_cfg/templates/admin_old/components/section_header.html +0 -26
  131. django_cfg/templates/admin_old/components/stat_item.html +0 -32
  132. django_cfg/templates/admin_old/components/stats_grid.html +0 -72
  133. django_cfg/templates/admin_old/components/status_badge.html +0 -28
  134. django_cfg/templates/admin_old/components/user_avatar.html +0 -27
  135. django_cfg/templates/admin_old/constance/change_list.html +0 -74
  136. django_cfg/templates/admin_old/constance/includes/default_value.html +0 -24
  137. django_cfg/templates/admin_old/constance/includes/fieldset_header.html +0 -15
  138. django_cfg/templates/admin_old/constance/includes/results_list.html +0 -16
  139. django_cfg/templates/admin_old/constance/includes/setting_row.html +0 -50
  140. django_cfg/templates/admin_old/constance/includes/table_headers.html +0 -10
  141. django_cfg/templates/admin_old/examples/component_class_example.html +0 -156
  142. django_cfg/templates/admin_old/import_export/change_list_export.html +0 -24
  143. django_cfg/templates/admin_old/import_export/change_list_import.html +0 -24
  144. django_cfg/templates/admin_old/import_export/change_list_import_export.html +0 -34
  145. django_cfg/templates/admin_old/index.html +0 -80
  146. django_cfg/templates/admin_old/index_new.html +0 -119
  147. django_cfg/templates/admin_old/layouts/base_dashboard.html +0 -62
  148. django_cfg/templates/admin_old/layouts/dashboard_with_tabs.html +0 -176
  149. django_cfg/templates/admin_old/sections/commands_section.html +0 -549
  150. django_cfg/templates/admin_old/sections/documentation_section.html +0 -152
  151. django_cfg/templates/admin_old/sections/overview_section.html +0 -112
  152. django_cfg/templates/admin_old/sections/stats_section.html +0 -35
  153. django_cfg/templates/admin_old/sections/system_section.html +0 -99
  154. django_cfg/templates/admin_old/sections/widgets_section.html +0 -129
  155. django_cfg/templates/admin_old/snippets/components/activity_tracker.html +0 -70
  156. django_cfg/templates/admin_old/snippets/components/charts_section.html +0 -113
  157. django_cfg/templates/admin_old/snippets/components/django_commands.html +0 -270
  158. django_cfg/templates/admin_old/snippets/components/quick_actions.html +0 -66
  159. django_cfg/templates/admin_old/snippets/components/recent_activity_improved.html +0 -25
  160. django_cfg/templates/admin_old/snippets/components/recent_users_table.html +0 -102
  161. django_cfg/templates/admin_old/snippets/components/stats_cards.html +0 -4
  162. django_cfg/templates/admin_old/snippets/components/stats_tiles.html +0 -92
  163. django_cfg/templates/admin_old/snippets/components/system_health.html +0 -22
  164. django_cfg/templates/admin_old/snippets/components/system_metrics.html +0 -199
  165. django_cfg/templates/admin_old/snippets/components/user_permissions.html +0 -57
  166. django_cfg/templates/admin_old/snippets/tabs/app_stats_tab.html +0 -201
  167. django_cfg/templates/admin_old/snippets/tabs/commands_tab.html +0 -114
  168. django_cfg/templates/admin_old/snippets/tabs/documentation_tab.html +0 -42
  169. django_cfg/templates/admin_old/snippets/tabs/overview_tab.html +0 -116
  170. django_cfg/templates/admin_old/snippets/tabs/stats_tab.html +0 -89
  171. django_cfg/templates/admin_old/snippets/tabs/users_tab.html +0 -51
  172. django_cfg/templates/admin_old/snippets/tabs/widgets_tab.html +0 -38
  173. django_cfg/templates/admin_old/snippets/zones/zones_table.html +0 -176
  174. /django_cfg/static/frontend/admin/_next/static/{ZJZBgOL9mO1koHrgaaLEV → 0sN9ktsgXH48ygtGSrhfu}/_ssgManifest.js +0 -0
  175. {django_cfg-1.4.87.dist-info → django_cfg-1.4.89.dist-info}/WHEEL +0 -0
  176. {django_cfg-1.4.87.dist-info → django_cfg-1.4.89.dist-info}/entry_points.txt +0 -0
  177. {django_cfg-1.4.87.dist-info → django_cfg-1.4.89.dist-info}/licenses/LICENSE +0 -0
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[23004],{6766:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(25365).A)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])},7737:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(25365).A)("activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]])},8745:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(25365).A)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},9376:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(25365).A)("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]])},13121:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(25365).A)("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]])},20024:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(25365).A)("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]])},20254:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(25365).A)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},23940:(t,e,r)=>{t.exports=r(89601)()},29027:(t,e,r)=>{"use strict";var n=r(34544);function i(){}function o(){}o.resetWarningCache=i,t.exports=function(){function t(t,e,r,i,o,a){if(a!==n){var c=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function e(){return t}t.isRequired=t;var r={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:o,resetWarningCache:i};return r.PropTypes=r,r}},31740:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(25365).A)("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]])},32781:(t,e,r)=>{var n=r(67223),i=1/0;t.exports=function(t){return t?(t=n(t))===i||t===-i?(t<0?-1:1)*17976931348623157e292:t==t?t:0:0===t?t:0}},34544:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},38280:(t,e,r)=>{var n=r(16182),i=r(85892),o=r(80544),a=Math.max;t.exports=function(t,e,r){var c=null==t?0:t.length;if(!c)return -1;var u=null==r?0:o(r);return u<0&&(u=a(c+u,0)),n(t,i(e,3),u)}},44217:(t,e,r)=>{var n=r(50117),i=r(77936),o=r(85892);t.exports=function(t,e){var r={};return e=o(e,3),i(t,function(t,i,o){n(r,i,e(t,i,o))}),r}},45228:(t,e,r)=>{var n=r(96546),i=r(85892),o=r(95557);t.exports=function(t,e){return t&&t.length?n(t,i(e,2),o):void 0}},47019:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(25365).A)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},47857:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(25365).A)("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]])},48388:(t,e,r)=>{t.exports=r(88511)(r(38280))},49201:(t,e,r)=>{var n=r(19773),i=r(22363);t.exports=function(t){return!0===t||!1===t||i(t)&&"[object Boolean]"==n(t)}},49829:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(25365).A)("chart-column",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]])},50117:(t,e,r)=>{var n=r(38230);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},50985:function(t,e,r){var n;!function(i){"use strict";var o,a={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},c=!0,u="[DecimalError] ",l=u+"Invalid argument: ",s=u+"Exponent out of range: ",f=Math.floor,p=Math.pow,y=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,d=f(1286742750677284.5),h={};function v(t,e){var r,n,i,o,a,u,l,s,f=t.constructor,p=f.precision;if(!t.s||!e.s)return e.s||(e=new f(t)),c?P(e,p):e;if(l=t.d,s=e.d,a=t.e,i=e.e,l=l.slice(),o=a-i){for(o<0?(n=l,o=-o,u=s.length):(n=s,i=a,u=l.length),o>(u=(a=Math.ceil(p/7))>u?a+1:u+1)&&(o=u,n.length=1),n.reverse();o--;)n.push(0);n.reverse()}for((u=l.length)-(o=s.length)<0&&(o=u,n=s,s=l,l=n),r=0;o;)r=(l[--o]=l[o]+s[o]+r)/1e7|0,l[o]%=1e7;for(r&&(l.unshift(r),++i),u=l.length;0==l[--u];)l.pop();return e.d=l,e.e=i,c?P(e,p):e}function b(t,e,r){if(t!==~~t||t<e||t>r)throw Error(l+t)}function m(t){var e,r,n,i=t.length-1,o="",a=t[0];if(i>0){for(o+=a,e=1;e<i;e++)(r=7-(n=t[e]+"").length)&&(o+=j(r)),o+=n;(r=7-(n=(a=t[e])+"").length)&&(o+=j(r))}else if(0===a)return"0";for(;a%10==0;)a/=10;return o+a}h.absoluteValue=h.abs=function(){var t=new this.constructor(this);return t.s&&(t.s=1),t},h.comparedTo=h.cmp=function(t){var e,r,n,i;if(t=new this.constructor(t),this.s!==t.s)return this.s||-t.s;if(this.e!==t.e)return this.e>t.e^this.s<0?1:-1;for(e=0,r=(n=this.d.length)<(i=t.d.length)?n:i;e<r;++e)if(this.d[e]!==t.d[e])return this.d[e]>t.d[e]^this.s<0?1:-1;return n===i?0:n>i^this.s<0?1:-1},h.decimalPlaces=h.dp=function(){var t=this.d.length-1,e=(t-this.e)*7;if(t=this.d[t])for(;t%10==0;t/=10)e--;return e<0?0:e},h.dividedBy=h.div=function(t){return g(this,new this.constructor(t))},h.dividedToIntegerBy=h.idiv=function(t){var e=this.constructor;return P(g(this,new e(t),0,1),e.precision)},h.equals=h.eq=function(t){return!this.cmp(t)},h.exponent=function(){return x(this)},h.greaterThan=h.gt=function(t){return this.cmp(t)>0},h.greaterThanOrEqualTo=h.gte=function(t){return this.cmp(t)>=0},h.isInteger=h.isint=function(){return this.e>this.d.length-2},h.isNegative=h.isneg=function(){return this.s<0},h.isPositive=h.ispos=function(){return this.s>0},h.isZero=function(){return 0===this.s},h.lessThan=h.lt=function(t){return 0>this.cmp(t)},h.lessThanOrEqualTo=h.lte=function(t){return 1>this.cmp(t)},h.logarithm=h.log=function(t){var e,r=this.constructor,n=r.precision,i=n+5;if(void 0===t)t=new r(10);else if((t=new r(t)).s<1||t.eq(o))throw Error(u+"NaN");if(this.s<1)throw Error(u+(this.s?"NaN":"-Infinity"));return this.eq(o)?new r(0):(c=!1,e=g(A(this,i),A(t,i),i),c=!0,P(e,n))},h.minus=h.sub=function(t){return t=new this.constructor(t),this.s==t.s?E(this,t):v(this,(t.s=-t.s,t))},h.modulo=h.mod=function(t){var e,r=this.constructor,n=r.precision;if(!(t=new r(t)).s)throw Error(u+"NaN");return this.s?(c=!1,e=g(this,t,0,1).times(t),c=!0,this.minus(e)):P(new r(this),n)},h.naturalExponential=h.exp=function(){return O(this)},h.naturalLogarithm=h.ln=function(){return A(this)},h.negated=h.neg=function(){var t=new this.constructor(this);return t.s=-t.s||0,t},h.plus=h.add=function(t){return t=new this.constructor(t),this.s==t.s?v(this,t):E(this,(t.s=-t.s,t))},h.precision=h.sd=function(t){var e,r,n;if(void 0!==t&&!!t!==t&&1!==t&&0!==t)throw Error(l+t);if(e=x(this)+1,r=7*(n=this.d.length-1)+1,n=this.d[n]){for(;n%10==0;n/=10)r--;for(n=this.d[0];n>=10;n/=10)r++}return t&&e>r?e:r},h.squareRoot=h.sqrt=function(){var t,e,r,n,i,o,a,l=this.constructor;if(this.s<1){if(!this.s)return new l(0);throw Error(u+"NaN")}for(t=x(this),c=!1,0==(i=Math.sqrt(+this))||i==1/0?(((e=m(this.d)).length+t)%2==0&&(e+="0"),i=Math.sqrt(e),t=f((t+1)/2)-(t<0||t%2),n=new l(e=i==1/0?"5e"+t:(e=i.toExponential()).slice(0,e.indexOf("e")+1)+t)):n=new l(i.toString()),i=a=(r=l.precision)+3;;)if(n=(o=n).plus(g(this,o,a+2)).times(.5),m(o.d).slice(0,a)===(e=m(n.d)).slice(0,a)){if(e=e.slice(a-3,a+1),i==a&&"4999"==e){if(P(o,r+1,0),o.times(o).eq(this)){n=o;break}}else if("9999"!=e)break;a+=4}return c=!0,P(n,r)},h.times=h.mul=function(t){var e,r,n,i,o,a,u,l,s,f=this.constructor,p=this.d,y=(t=new f(t)).d;if(!this.s||!t.s)return new f(0);for(t.s*=this.s,r=this.e+t.e,(l=p.length)<(s=y.length)&&(o=p,p=y,y=o,a=l,l=s,s=a),o=[],n=a=l+s;n--;)o.push(0);for(n=s;--n>=0;){for(e=0,i=l+n;i>n;)u=o[i]+y[n]*p[i-n-1]+e,o[i--]=u%1e7|0,e=u/1e7|0;o[i]=(o[i]+e)%1e7|0}for(;!o[--a];)o.pop();return e?++r:o.shift(),t.d=o,t.e=r,c?P(t,f.precision):t},h.toDecimalPlaces=h.todp=function(t,e){var r=this,n=r.constructor;return(r=new n(r),void 0===t)?r:(b(t,0,1e9),void 0===e?e=n.rounding:b(e,0,8),P(r,t+x(r)+1,e))},h.toExponential=function(t,e){var r,n=this,i=n.constructor;return void 0===t?r=k(n,!0):(b(t,0,1e9),void 0===e?e=i.rounding:b(e,0,8),r=k(n=P(new i(n),t+1,e),!0,t+1)),r},h.toFixed=function(t,e){var r,n,i=this.constructor;return void 0===t?k(this):(b(t,0,1e9),void 0===e?e=i.rounding:b(e,0,8),r=k((n=P(new i(this),t+x(this)+1,e)).abs(),!1,t+x(n)+1),this.isneg()&&!this.isZero()?"-"+r:r)},h.toInteger=h.toint=function(){var t=this.constructor;return P(new t(this),x(this)+1,t.rounding)},h.toNumber=function(){return+this},h.toPower=h.pow=function(t){var e,r,n,i,a,l,s=this,p=s.constructor,y=+(t=new p(t));if(!t.s)return new p(o);if(!(s=new p(s)).s){if(t.s<1)throw Error(u+"Infinity");return s}if(s.eq(o))return s;if(n=p.precision,t.eq(o))return P(s,n);if(l=(e=t.e)>=(r=t.d.length-1),a=s.s,l){if((r=y<0?-y:y)<=0x1fffffffffffff){for(i=new p(o),e=Math.ceil(n/7+4),c=!1;r%2&&M((i=i.times(s)).d,e),0!==(r=f(r/2));)M((s=s.times(s)).d,e);return c=!0,t.s<0?new p(o).div(i):P(i,n)}}else if(a<0)throw Error(u+"NaN");return a=a<0&&1&t.d[Math.max(e,r)]?-1:1,s.s=1,c=!1,i=t.times(A(s,n+12)),c=!0,(i=O(i)).s=a,i},h.toPrecision=function(t,e){var r,n,i=this,o=i.constructor;return void 0===t?(r=x(i),n=k(i,r<=o.toExpNeg||r>=o.toExpPos)):(b(t,1,1e9),void 0===e?e=o.rounding:b(e,0,8),r=x(i=P(new o(i),t,e)),n=k(i,t<=r||r<=o.toExpNeg,t)),n},h.toSignificantDigits=h.tosd=function(t,e){var r=this.constructor;return void 0===t?(t=r.precision,e=r.rounding):(b(t,1,1e9),void 0===e?e=r.rounding:b(e,0,8)),P(new r(this),t,e)},h.toString=h.valueOf=h.val=h.toJSON=function(){var t=x(this),e=this.constructor;return k(this,t<=e.toExpNeg||t>=e.toExpPos)};var g=function(){function t(t,e){var r,n=0,i=t.length;for(t=t.slice();i--;)r=t[i]*e+n,t[i]=r%1e7|0,n=r/1e7|0;return n&&t.unshift(n),t}function e(t,e,r,n){var i,o;if(r!=n)o=r>n?1:-1;else for(i=o=0;i<r;i++)if(t[i]!=e[i]){o=t[i]>e[i]?1:-1;break}return o}function r(t,e,r){for(var n=0;r--;)t[r]-=n,n=+(t[r]<e[r]),t[r]=1e7*n+t[r]-e[r];for(;!t[0]&&t.length>1;)t.shift()}return function(n,i,o,a){var c,l,s,f,p,y,d,h,v,b,m,g,O,w,j,A,S,E,k=n.constructor,M=n.s==i.s?1:-1,T=n.d,I=i.d;if(!n.s)return new k(n);if(!i.s)throw Error(u+"Division by zero");for(s=0,l=n.e-i.e,S=I.length,j=T.length,h=(d=new k(M)).d=[];I[s]==(T[s]||0);)++s;if(I[s]>(T[s]||0)&&--l,(g=null==o?o=k.precision:a?o+(x(n)-x(i))+1:o)<0)return new k(0);if(g=g/7+2|0,s=0,1==S)for(f=0,I=I[0],g++;(s<j||f)&&g--;s++)O=1e7*f+(T[s]||0),h[s]=O/I|0,f=O%I|0;else{for((f=1e7/(I[0]+1)|0)>1&&(I=t(I,f),T=t(T,f),S=I.length,j=T.length),w=S,b=(v=T.slice(0,S)).length;b<S;)v[b++]=0;(E=I.slice()).unshift(0),A=I[0],I[1]>=1e7/2&&++A;do f=0,(c=e(I,v,S,b))<0?(m=v[0],S!=b&&(m=1e7*m+(v[1]||0)),(f=m/A|0)>1?(f>=1e7&&(f=1e7-1),y=(p=t(I,f)).length,b=v.length,1==(c=e(p,v,y,b))&&(f--,r(p,S<y?E:I,y))):(0==f&&(c=f=1),p=I.slice()),(y=p.length)<b&&p.unshift(0),r(v,p,b),-1==c&&(b=v.length,(c=e(I,v,S,b))<1&&(f++,r(v,S<b?E:I,b))),b=v.length):0===c&&(f++,v=[0]),h[s++]=f,c&&v[0]?v[b++]=T[w]||0:(v=[T[w]],b=1);while((w++<j||void 0!==v[0])&&g--)}return h[0]||h.shift(),d.e=l,P(d,a?o+x(d)+1:o)}}();function O(t,e){var r,n,i,a,u,l=0,f=0,y=t.constructor,d=y.precision;if(x(t)>16)throw Error(s+x(t));if(!t.s)return new y(o);for(null==e?(c=!1,u=d):u=e,a=new y(.03125);t.abs().gte(.1);)t=t.times(a),f+=5;for(u+=Math.log(p(2,f))/Math.LN10*2+5|0,r=n=i=new y(o),y.precision=u;;){if(n=P(n.times(t),u),r=r.times(++l),m((a=i.plus(g(n,r,u))).d).slice(0,u)===m(i.d).slice(0,u)){for(;f--;)i=P(i.times(i),u);return y.precision=d,null==e?(c=!0,P(i,d)):i}i=a}}function x(t){for(var e=7*t.e,r=t.d[0];r>=10;r/=10)e++;return e}function w(t,e,r){if(e>t.LN10.sd())throw c=!0,r&&(t.precision=r),Error(u+"LN10 precision limit exceeded");return P(new t(t.LN10),e)}function j(t){for(var e="";t--;)e+="0";return e}function A(t,e){var r,n,i,a,l,s,f,p,y,d=1,h=t,v=h.d,b=h.constructor,O=b.precision;if(h.s<1)throw Error(u+(h.s?"NaN":"-Infinity"));if(h.eq(o))return new b(0);if(null==e?(c=!1,p=O):p=e,h.eq(10))return null==e&&(c=!0),w(b,p);if(b.precision=p+=10,n=(r=m(v)).charAt(0),!(15e14>Math.abs(a=x(h))))return f=w(b,p+2,O).times(a+""),h=A(new b(n+"."+r.slice(1)),p-10).plus(f),b.precision=O,null==e?(c=!0,P(h,O)):h;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=m((h=h.times(t)).d)).charAt(0),d++;for(a=x(h),n>1?(h=new b("0."+r),a++):h=new b(n+"."+r.slice(1)),s=l=h=g(h.minus(o),h.plus(o),p),y=P(h.times(h),p),i=3;;){if(l=P(l.times(y),p),m((f=s.plus(g(l,new b(i),p))).d).slice(0,p)===m(s.d).slice(0,p))return s=s.times(2),0!==a&&(s=s.plus(w(b,p+2,O).times(a+""))),s=g(s,new b(d),p),b.precision=O,null==e?(c=!0,P(s,O)):s;s=f,i+=2}}function S(t,e){var r,n,i;for((r=e.indexOf("."))>-1&&(e=e.replace(".","")),(n=e.search(/e/i))>0?(r<0&&(r=n),r+=+e.slice(n+1),e=e.substring(0,n)):r<0&&(r=e.length),n=0;48===e.charCodeAt(n);)++n;for(i=e.length;48===e.charCodeAt(i-1);)--i;if(e=e.slice(n,i)){if(i-=n,t.e=f((r=r-n-1)/7),t.d=[],n=(r+1)%7,r<0&&(n+=7),n<i){for(n&&t.d.push(+e.slice(0,n)),i-=7;n<i;)t.d.push(+e.slice(n,n+=7));n=7-(e=e.slice(n)).length}else n-=i;for(;n--;)e+="0";if(t.d.push(+e),c&&(t.e>d||t.e<-d))throw Error(s+r)}else t.s=0,t.e=0,t.d=[0];return t}function P(t,e,r){var n,i,o,a,u,l,y,h,v=t.d;for(a=1,o=v[0];o>=10;o/=10)a++;if((n=e-a)<0)n+=7,i=e,y=v[h=0];else{if((h=Math.ceil((n+1)/7))>=(o=v.length))return t;for(a=1,y=o=v[h];o>=10;o/=10)a++;n%=7,i=n-7+a}if(void 0!==r&&(u=y/(o=p(10,a-i-1))%10|0,l=e<0||void 0!==v[h+1]||y%o,l=r<4?(u||l)&&(0==r||r==(t.s<0?3:2)):u>5||5==u&&(4==r||l||6==r&&(n>0?i>0?y/p(10,a-i):0:v[h-1])%10&1||r==(t.s<0?8:7))),e<1||!v[0])return l?(o=x(t),v.length=1,e=e-o-1,v[0]=p(10,(7-e%7)%7),t.e=f(-e/7)||0):(v.length=1,v[0]=t.e=t.s=0),t;if(0==n?(v.length=h,o=1,h--):(v.length=h+1,o=p(10,7-n),v[h]=i>0?(y/p(10,a-i)%p(10,i)|0)*o:0),l)for(;;)if(0==h){1e7==(v[0]+=o)&&(v[0]=1,++t.e);break}else{if(v[h]+=o,1e7!=v[h])break;v[h--]=0,o=1}for(n=v.length;0===v[--n];)v.pop();if(c&&(t.e>d||t.e<-d))throw Error(s+x(t));return t}function E(t,e){var r,n,i,o,a,u,l,s,f,p,y=t.constructor,d=y.precision;if(!t.s||!e.s)return e.s?e.s=-e.s:e=new y(t),c?P(e,d):e;if(l=t.d,p=e.d,n=e.e,s=t.e,l=l.slice(),a=s-n){for((f=a<0)?(r=l,a=-a,u=p.length):(r=p,n=s,u=l.length),a>(i=Math.max(Math.ceil(d/7),u)+2)&&(a=i,r.length=1),r.reverse(),i=a;i--;)r.push(0);r.reverse()}else{for((f=(i=l.length)<(u=p.length))&&(u=i),i=0;i<u;i++)if(l[i]!=p[i]){f=l[i]<p[i];break}a=0}for(f&&(r=l,l=p,p=r,e.s=-e.s),u=l.length,i=p.length-u;i>0;--i)l[u++]=0;for(i=p.length;i>a;){if(l[--i]<p[i]){for(o=i;o&&0===l[--o];)l[o]=1e7-1;--l[o],l[i]+=1e7}l[i]-=p[i]}for(;0===l[--u];)l.pop();for(;0===l[0];l.shift())--n;return l[0]?(e.d=l,e.e=n,c?P(e,d):e):new y(0)}function k(t,e,r){var n,i=x(t),o=m(t.d),a=o.length;return e?(r&&(n=r-a)>0?o=o.charAt(0)+"."+o.slice(1)+j(n):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+j(-i-1)+o,r&&(n=r-a)>0&&(o+=j(n))):i>=a?(o+=j(i+1-a),r&&(n=r-i-1)>0&&(o=o+"."+j(n))):((n=i+1)<a&&(o=o.slice(0,n)+"."+o.slice(n)),r&&(n=r-a)>0&&(i+1===a&&(o+="."),o+=j(n))),t.s<0?"-"+o:o}function M(t,e){if(t.length>e)return t.length=e,!0}function T(t){if(!t||"object"!=typeof t)throw Error(u+"Object expected");var e,r,n,i=["precision",1,1e9,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(e=0;e<i.length;e+=3)if(void 0!==(n=t[r=i[e]]))if(f(n)===n&&n>=i[e+1]&&n<=i[e+2])this[r]=n;else throw Error(l+r+": "+n);if(void 0!==(n=t[r="LN10"]))if(n==Math.LN10)this[r]=new this(n);else throw Error(l+r+": "+n);return this}(a=function t(e){var r,n,i;function o(t){if(!(this instanceof o))return new o(t);if(this.constructor=o,t instanceof o){this.s=t.s,this.e=t.e,this.d=(t=t.d)?t.slice():t;return}if("number"==typeof t){if(0*t!=0)throw Error(l+t);if(t>0)this.s=1;else if(t<0)t=-t,this.s=-1;else{this.s=0,this.e=0,this.d=[0];return}if(t===~~t&&t<1e7){this.e=0,this.d=[t];return}return S(this,t.toString())}if("string"!=typeof t)throw Error(l+t);if(45===t.charCodeAt(0)?(t=t.slice(1),this.s=-1):this.s=1,y.test(t))S(this,t);else throw Error(l+t)}if(o.prototype=h,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.clone=t,o.config=o.set=T,void 0===e&&(e={}),e)for(r=0,i=["precision","rounding","toExpNeg","toExpPos","LN10"];r<i.length;)e.hasOwnProperty(n=i[r++])||(e[n]=this[n]);return o.config(e),o}(a)).default=a.Decimal=a,o=new a(1),void 0===(n=(function(){return a}).call(e,r,e,t))||(t.exports=n)}(0)},51352:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(25365).A)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},53761:(t,e,r)=>{var n=r(20564);t.exports=function(t,e){var r;return n(t,function(t,n,i){return!(r=e(t,n,i))}),!!r}},55244:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(25365).A)("funnel",[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]])},57147:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(25365).A)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},59777:(t,e,r)=>{var n=r(96546),i=r(95557),o=r(84837);t.exports=function(t){return t&&t.length?n(t,o,i):void 0}},60097:t=>{"use strict";var e=Object.prototype.hasOwnProperty,r="~";function n(){}function i(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function o(t,e,n,o,a){if("function"!=typeof n)throw TypeError("The listener must be a function");var c=new i(n,o||t,a),u=r?r+e:e;return t._events[u]?t._events[u].fn?t._events[u]=[t._events[u],c]:t._events[u].push(c):(t._events[u]=c,t._eventsCount++),t}function a(t,e){0==--t._eventsCount?t._events=new n:delete t._events[e]}function c(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1)),c.prototype.eventNames=function(){var t,n,i=[];if(0===this._eventsCount)return i;for(n in t=this._events)e.call(t,n)&&i.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(t)):i},c.prototype.listeners=function(t){var e=r?r+t:t,n=this._events[e];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,o=n.length,a=Array(o);i<o;i++)a[i]=n[i].fn;return a},c.prototype.listenerCount=function(t){var e=r?r+t:t,n=this._events[e];return n?n.fn?1:n.length:0},c.prototype.emit=function(t,e,n,i,o,a){var c=r?r+t:t;if(!this._events[c])return!1;var u,l,s=this._events[c],f=arguments.length;if(s.fn){switch(s.once&&this.removeListener(t,s.fn,void 0,!0),f){case 1:return s.fn.call(s.context),!0;case 2:return s.fn.call(s.context,e),!0;case 3:return s.fn.call(s.context,e,n),!0;case 4:return s.fn.call(s.context,e,n,i),!0;case 5:return s.fn.call(s.context,e,n,i,o),!0;case 6:return s.fn.call(s.context,e,n,i,o,a),!0}for(l=1,u=Array(f-1);l<f;l++)u[l-1]=arguments[l];s.fn.apply(s.context,u)}else{var p,y=s.length;for(l=0;l<y;l++)switch(s[l].once&&this.removeListener(t,s[l].fn,void 0,!0),f){case 1:s[l].fn.call(s[l].context);break;case 2:s[l].fn.call(s[l].context,e);break;case 3:s[l].fn.call(s[l].context,e,n);break;case 4:s[l].fn.call(s[l].context,e,n,i);break;default:if(!u)for(p=1,u=Array(f-1);p<f;p++)u[p-1]=arguments[p];s[l].fn.apply(s[l].context,u)}}return!0},c.prototype.on=function(t,e,r){return o(this,t,e,r,!1)},c.prototype.once=function(t,e,r){return o(this,t,e,r,!0)},c.prototype.removeListener=function(t,e,n,i){var o=r?r+t:t;if(!this._events[o])return this;if(!e)return a(this,o),this;var c=this._events[o];if(c.fn)c.fn!==e||i&&!c.once||n&&c.context!==n||a(this,o);else{for(var u=0,l=[],s=c.length;u<s;u++)(c[u].fn!==e||i&&!c[u].once||n&&c[u].context!==n)&&l.push(c[u]);l.length?this._events[o]=1===l.length?l[0]:l:a(this,o)}return this},c.prototype.removeAllListeners=function(t){var e;return t?(e=r?r+t:t,this._events[e]&&a(this,e)):(this._events=new n,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=r,c.EventEmitter=c,t.exports=c},64738:(t,e,r)=>{var n=r(96546),i=r(91978),o=r(85892);t.exports=function(t,e){return t&&t.length?n(t,o(e,2),i):void 0}},68182:(t,e,r)=>{var n=r(40293),i=r(76803);t.exports=function(t,e){return n(i(t,e),1)}},68618:t=>{var e=Math.ceil,r=Math.max;t.exports=function(t,n,i,o){for(var a=-1,c=r(e((n-t)/(i||1)),0),u=Array(c);c--;)u[o?c:++a]=t,t+=i;return u}},69620:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(25365).A)("dollar-sign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]])},69673:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(25365).A)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},69997:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(25365).A)("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]])},72916:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(25365).A)("terminal",[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]])},73548:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(25365).A)("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]])},75608:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(25365).A)("file-pen",[["path",{d:"M12.5 22H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v9.5",key:"1couwa"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M13.378 15.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1y4qbx"}]])},76334:(t,e,r)=>{var n=r(86740),i=r(88432),o=r(85892),a=r(33312),c=r(86821);t.exports=function(t,e,r){var u=a(t)?n:i;return r&&c(t,e,r)&&(e=void 0),u(t,o(e,3))}},76803:(t,e,r)=>{var n=r(71057),i=r(85892),o=r(53917),a=r(33312);t.exports=function(t,e){return(a(t)?n:o)(t,i(e,3))}},77117:(t,e,r)=>{t.exports=r(29027)()},78779:(t,e,r)=>{var n=r(60189),i=r(85892),o=r(53761),a=r(33312),c=r(86821);t.exports=function(t,e,r){var u=a(t)?n:o;return r&&c(t,e,r)&&(e=void 0),u(t,i(e,3))}},79145:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(25365).A)("trending-up",[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]])},80178:(t,e,r)=>{t.exports=r(74482)(Object.getPrototypeOf,Object)},80544:(t,e,r)=>{var n=r(32781);t.exports=function(t){var e=n(t),r=e%1;return e==e?r?e-r:e:0}},80574:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(25365).A)("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},80587:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(25365).A)("circle-question-mark",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},81129:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(25365).A)("file-plus",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M9 15h6",key:"cctwl0"}],["path",{d:"M12 18v-6",key:"17g6i2"}]])},84305:(t,e,r)=>{var n=r(34199);t.exports=function(t,e){return n(t,e)}},86240:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(25365).A)("hard-drive",[["line",{x1:"22",x2:"2",y1:"12",y2:"12",key:"1y58io"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}],["line",{x1:"6",x2:"6.01",y1:"16",y2:"16",key:"sgf278"}],["line",{x1:"10",x2:"10.01",y1:"16",y2:"16",key:"1l4acy"}]])},86740:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(!e(t[r],r,t))return!1;return!0}},88051:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(25365).A)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},88432:(t,e,r)=>{var n=r(20564);t.exports=function(t,e){var r=!0;return n(t,function(t,n,i){return r=!!e(t,n,i)}),r}},88491:t=>{t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},88511:(t,e,r)=>{var n=r(85892),i=r(89527),o=r(24967);t.exports=function(t){return function(e,r,a){var c=Object(e);if(!i(e)){var u=n(r,3);e=o(e),r=function(t){return u(c[t],t,c)}}var l=t(e,r,a);return l>-1?c[u?e[l]:l]:void 0}}},89460:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(25365).A)("file-code",[["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z",key:"1mlx9k"}]])},89601:(t,e,r)=>{var n=r(68618),i=r(86821),o=r(32781);t.exports=function(t){return function(e,r,a){return a&&"number"!=typeof a&&i(e,r,a)&&(r=a=void 0),e=o(e),void 0===r?(r=e,e=0):r=o(r),a=void 0===a?e<r?1:-1:o(a),n(e,r,a,t)}}},91553:(t,e,r)=>{"use strict";r.d(e,{Gk:()=>aZ,QF:()=>u3,yP:()=>os,Es:()=>u7,dC:()=>ad,rS:()=>rs,ZB:()=>iH,DP:()=>lv,WX:()=>a3,h8:()=>ca});var n={};r.r(n),r.d(n,{scaleBand:()=>ts.WH,scaleDiverging:()=>ts.Mb,scaleDivergingLog:()=>ts.Cr,scaleDivergingPow:()=>ts.yj,scaleDivergingSqrt:()=>ts.q9,scaleDivergingSymlog:()=>ts.xh,scaleIdentity:()=>ts.jo,scaleImplicit:()=>ts.U4,scaleLinear:()=>ts.m4,scaleLog:()=>ts.ZE,scaleOrdinal:()=>ts.UM,scalePoint:()=>ts.hq,scalePow:()=>ts.RW,scaleQuantile:()=>ts.QL,scaleQuantize:()=>ts.WT,scaleRadial:()=>ts.af,scaleSequential:()=>ts.ex,scaleSequentialLog:()=>ts.M3,scaleSequentialPow:()=>ts.ui,scaleSequentialQuantile:()=>ts.T,scaleSequentialSqrt:()=>ts.ye,scaleSequentialSymlog:()=>ts.nV,scaleSqrt:()=>ts.Bv,scaleSymlog:()=>ts.aX,scaleThreshold:()=>ts.c3,scaleTime:()=>ts.w7,scaleUtc:()=>ts.Pp,tickFormat:()=>ts.Vr});var i=r(94285),o=r(27979),a=r.n(o),c=r(3638),u=r(95446),l=["children","className"];function s(){return(s=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var f=i.forwardRef(function(t,e){var r=t.children,n=t.className,o=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,l),a=(0,c.A)("recharts-layer",n);return i.createElement("g",s({className:a},(0,u.J9)(o,!0),{ref:e}),r)}),p=r(68215);function y(){return(y=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var d=function(t){var e=t.cx,r=t.cy,n=t.r,o=t.className,a=(0,c.A)("recharts-dot",o);return e===+e&&r===+r&&n===+n?i.createElement("circle",y({},(0,u.J9)(t,!1),(0,p._U)(t),{className:a,cx:e,cy:r,r:n})):null},h=["points","className","baseLinePoints","connectNulls"];function v(){return(v=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function b(t){return function(t){if(Array.isArray(t))return m(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return m(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return m(t,e)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var g=function(t){return t&&t.x===+t.x&&t.y===+t.y},O=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=[[]];return t.forEach(function(t){g(t)?e[e.length-1].push(t):e[e.length-1].length>0&&e.push([])}),g(t[0])&&e[e.length-1].push(t[0]),e[e.length-1].length<=0&&(e=e.slice(0,-1)),e},x=function(t,e){var r=O(t);e&&(r=[r.reduce(function(t,e){return[].concat(b(t),b(e))},[])]);var n=r.map(function(t){return t.reduce(function(t,e,r){return"".concat(t).concat(0===r?"M":"L").concat(e.x,",").concat(e.y)},"")}).join("");return 1===r.length?"".concat(n,"Z"):n},w=function(t,e,r){var n=x(t,r);return"".concat("Z"===n.slice(-1)?n.slice(0,-1):n,"L").concat(x(e.reverse(),r).slice(1))},j=function(t){var e=t.points,r=t.className,n=t.baseLinePoints,o=t.connectNulls,a=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,h);if(!e||!e.length)return null;var l=(0,c.A)("recharts-polygon",r);if(n&&n.length){var s=a.stroke&&"none"!==a.stroke,f=w(e,n,o);return i.createElement("g",{className:l},i.createElement("path",v({},(0,u.J9)(a,!0),{fill:"Z"===f.slice(-1)?a.fill:"none",stroke:"none",d:f})),s?i.createElement("path",v({},(0,u.J9)(a,!0),{fill:"none",d:x(e,o)})):null,s?i.createElement("path",v({},(0,u.J9)(a,!0),{fill:"none",d:x(n,o)})):null)}var p=x(e,o);return i.createElement("path",v({},(0,u.J9)(a,!0),{fill:"Z"===p.slice(-1)?a.fill:"none",className:l,d:p}))},A=r(35662),S=r.n(A),P=r(44603),E=r(33821);function k(t){return(k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function M(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function T(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?M(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=k(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=k(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==k(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var I={widthCache:{},cacheCount:0},D={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},N="recharts_measurement_span",C=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==t||E.m.isSsr)return{width:0,height:0};var n=(Object.keys(e=T({},r)).forEach(function(t){e[t]||delete e[t]}),e),i=JSON.stringify({text:t,copyStyle:n});if(I.widthCache[i])return I.widthCache[i];try{var o=document.getElementById(N);o||((o=document.createElement("span")).setAttribute("id",N),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var a=T(T({},D),n);Object.assign(o.style,a),o.textContent="".concat(t);var c=o.getBoundingClientRect(),u={width:c.width,height:c.height};return I.widthCache[i]=u,++I.cacheCount>2e3&&(I.cacheCount=0,I.widthCache={}),u}catch(t){return{width:0,height:0}}};function R(t){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function B(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],u=!0,l=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,i=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return L(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return L(t,e)}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function L(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function _(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,function(t){var e=function(t,e){if("object"!=R(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=R(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==R(e)?e:e+""}(n.key),n)}}var z=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,q=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,F=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,X=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,W={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},U=Object.keys(W),V=function(){var t,e;function r(t,e){if(!(this instanceof r))throw TypeError("Cannot call a class as a function");this.num=t,this.unit=e,this.num=t,this.unit=e,Number.isNaN(t)&&(this.unit=""),""===e||F.test(e)||(this.num=NaN,this.unit=""),U.includes(e)&&(this.num=t*W[e],this.unit="px")}return t=[{key:"add",value:function(t){return this.unit!==t.unit?new r(NaN,""):new r(this.num+t.num,this.unit)}},{key:"subtract",value:function(t){return this.unit!==t.unit?new r(NaN,""):new r(this.num-t.num,this.unit)}},{key:"multiply",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new r(NaN,""):new r(this.num*t.num,this.unit||t.unit)}},{key:"divide",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new r(NaN,""):new r(this.num/t.num,this.unit||t.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}],e=[{key:"parse",value:function(t){var e,n=B(null!=(e=X.exec(t))?e:[],3),i=n[1],o=n[2];return new r(parseFloat(i),null!=o?o:"")}}],t&&_(r.prototype,t),e&&_(r,e),Object.defineProperty(r,"prototype",{writable:!1}),r}();function G(t){if(t.includes("NaN"))return"NaN";for(var e=t;e.includes("*")||e.includes("/");){var r,n=B(null!=(r=z.exec(e))?r:[],4),i=n[1],o=n[2],a=n[3],c=V.parse(null!=i?i:""),u=V.parse(null!=a?a:""),l="*"===o?c.multiply(u):c.divide(u);if(l.isNaN())return"NaN";e=e.replace(z,l.toString())}for(;e.includes("+")||/.-\d+(?:\.\d+)?/.test(e);){var s,f=B(null!=(s=q.exec(e))?s:[],4),p=f[1],y=f[2],d=f[3],h=V.parse(null!=p?p:""),v=V.parse(null!=d?d:""),b="+"===y?h.add(v):h.subtract(v);if(b.isNaN())return"NaN";e=e.replace(q,b.toString())}return e}var J=/\(([^()]*)\)/;function K(t){var e=function(t){try{var e;return e=t.replace(/\s+/g,""),e=function(t){for(var e=t;e.includes("(");){var r=B(J.exec(e),2)[1];e=e.replace(J,G(r))}return e}(e),e=G(e)}catch(t){return"NaN"}}(t.slice(5,-1));return"NaN"===e?"":e}var H=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],$=["dx","dy","angle","className","breakAll"];function Y(){return(Y=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function Z(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function Q(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],u=!0,l=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,i=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return tt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return tt(t,e)}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var te=/[ \f\n\r\t\v\u2028\u2029]+/,tr=function(t){var e=t.children,r=t.breakAll,n=t.style;try{var i=[];S()(e)||(i=r?e.toString().split(""):e.toString().split(te));var o=i.map(function(t){return{word:t,width:C(t,n).width}}),a=r?0:C("\xa0",n).width;return{wordsWithComputedWidth:o,spaceWidth:a}}catch(t){return null}},tn=function(t,e,r,n,i){var o,a=t.maxLines,c=t.children,u=t.style,l=t.breakAll,s=(0,P.Et)(a),f=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.reduce(function(t,e){var o=e.word,a=e.width,c=t[t.length-1];return c&&(null==n||i||c.width+a+r<Number(n))?(c.words.push(o),c.width+=a+r):t.push({words:[o],width:a}),t},[])},p=f(e);if(!s)return p;for(var y=function(t){var e=f(tr({breakAll:l,style:u,children:c.slice(0,t)+"…"}).wordsWithComputedWidth);return[e.length>a||e.reduce(function(t,e){return t.width>e.width?t:e}).width>Number(n),e]},d=0,h=c.length-1,v=0;d<=h&&v<=c.length-1;){var b=Math.floor((d+h)/2),m=Q(y(b-1),2),g=m[0],O=m[1],x=Q(y(b),1)[0];if(g||x||(d=b+1),g&&x&&(h=b-1),!g&&x){o=O;break}v++}return o||p},ti=function(t){return[{words:S()(t)?[]:t.toString().split(te)}]},to=function(t){var e=t.width,r=t.scaleToFit,n=t.children,i=t.style,o=t.breakAll,a=t.maxLines;if((e||r)&&!E.m.isSsr){var c=tr({breakAll:o,children:n,style:i});if(!c)return ti(n);var u=c.wordsWithComputedWidth,l=c.spaceWidth;return tn({breakAll:o,children:n,maxLines:a,style:i},u,l,e,r)}return ti(n)},ta="#808080",tc=function(t){var e,r=t.x,n=void 0===r?0:r,o=t.y,a=void 0===o?0:o,l=t.lineHeight,s=void 0===l?"1em":l,f=t.capHeight,p=void 0===f?"0.71em":f,y=t.scaleToFit,d=void 0!==y&&y,h=t.textAnchor,v=t.verticalAnchor,b=t.fill,m=void 0===b?ta:b,g=Z(t,H),O=(0,i.useMemo)(function(){return to({breakAll:g.breakAll,children:g.children,maxLines:g.maxLines,scaleToFit:d,style:g.style,width:g.width})},[g.breakAll,g.children,g.maxLines,d,g.style,g.width]),x=g.dx,w=g.dy,j=g.angle,A=g.className,S=g.breakAll,E=Z(g,$);if(!(0,P.vh)(n)||!(0,P.vh)(a))return null;var k=n+((0,P.Et)(x)?x:0),M=a+((0,P.Et)(w)?w:0);switch(void 0===v?"end":v){case"start":e=K("calc(".concat(p,")"));break;case"middle":e=K("calc(".concat((O.length-1)/2," * -").concat(s," + (").concat(p," / 2))"));break;default:e=K("calc(".concat(O.length-1," * -").concat(s,")"))}var T=[];if(d){var I=O[0].width,D=g.width;T.push("scale(".concat(((0,P.Et)(D)?D/I:1)/I,")"))}return j&&T.push("rotate(".concat(j,", ").concat(k,", ").concat(M,")")),T.length&&(E.transform=T.join(" ")),i.createElement("text",Y({},(0,u.J9)(E,!0),{x:k,y:M,className:(0,c.A)("recharts-text",A),textAnchor:void 0===h?"start":h,fill:m.includes("url")?ta:m}),O.map(function(t,r){var n=t.words.join(S?"":" ");return i.createElement("tspan",{x:k,dy:0===r?e:s,key:"".concat(n,"-").concat(r)},n)}))},tu=r(40223),tl=r(93306),ts=r(8662);function tf(t,e){if((i=t.length)>1)for(var r,n,i,o=1,a=t[e[0]],c=a.length;o<i;++o)for(n=a,a=t[e[o]],r=0;r<c;++r)a[r][1]+=a[r][0]=isNaN(n[r][1])?n[r][0]:n[r][1]}var tp=r(95737),ty=r(31896);function td(t){for(var e=t.length,r=Array(e);--e>=0;)r[e]=e;return r}function th(t,e){return t[e]}function tv(t){let e=[];return e.key=t,e}var tb=r(98491),tm=r.n(tb),tg=r(59777),tO=r.n(tg),tx=r(22442),tw=r.n(tx),tj=r(26089),tA=r.n(tj),tS=r(68182),tP=r.n(tS),tE=r(17556),tk=r.n(tE),tM=r(73589),tT=r.n(tM),tI=r(84305),tD=r.n(tI),tN=r(14506),tC=r.n(tN),tR=r(50985),tB=r.n(tR);function tL(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var t_=function(t){return t},tz={},tq=function(t){return t===tz},tF=function(t){return function e(){return 0==arguments.length||1==arguments.length&&tq(arguments.length<=0?void 0:arguments[0])?e:t.apply(void 0,arguments)}},tX=function(t){return function t(e,r){return 1===e?r:tF(function(){for(var n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];var a=i.filter(function(t){return t!==tz}).length;return a>=e?r.apply(void 0,i):t(e-a,tF(function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var o=i.map(function(t){return tq(t)?e.shift():t});return r.apply(void 0,((function(t){if(Array.isArray(t))return tL(t)})(o)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(o)||function(t,e){if(t){if("string"==typeof t)return tL(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return tL(t,e)}}(o)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat(e))}))})}(t.length,t)},tW=function(t,e){for(var r=[],n=t;n<e;++n)r[n-t]=n;return r},tU=tX(function(t,e){return Array.isArray(e)?e.map(t):Object.keys(e).map(function(t){return e[t]}).map(t)}),tV=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];if(!e.length)return t_;var n=e.reverse(),i=n[0],o=n.slice(1);return function(){return o.reduce(function(t,e){return e(t)},i.apply(void 0,arguments))}},tG=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},tJ=function(t){var e=null,r=null;return function(){for(var n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return e&&i.every(function(t,r){return t===e[r]})?r:(e=i,r=t.apply(void 0,i))}};tX(function(t,e,r){var n=+t;return n+r*(e-n)}),tX(function(t,e,r){var n=e-t;return(r-t)/(n=n||1/0)}),tX(function(t,e,r){var n=e-t;return Math.max(0,Math.min(1,(r-t)/(n=n||1/0)))});let tK={rangeStep:function(t,e,r){for(var n=new(tB())(t),i=0,o=[];n.lt(e)&&i<1e5;)o.push(n.toNumber()),n=n.add(r),i++;return o},getDigitCount:function(t){return 0===t?1:Math.floor(new(tB())(t).abs().log(10).toNumber())+1}};function tH(t){return function(t){if(Array.isArray(t))return tZ(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||tY(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t$(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){i=!0,o=t}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return r}}(t,e)||tY(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tY(t,e){if(t){if("string"==typeof t)return tZ(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return tZ(t,e)}}function tZ(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function tQ(t){var e=t$(t,2),r=e[0],n=e[1],i=r,o=n;return r>n&&(i=n,o=r),[i,o]}function t0(t,e,r){if(t.lte(0))return new(tB())(0);var n=tK.getDigitCount(t.toNumber()),i=new(tB())(10).pow(n),o=t.div(i),a=1!==n?.05:.1,c=new(tB())(Math.ceil(o.div(a).toNumber())).add(r).mul(a).mul(i);return e?c:new(tB())(Math.ceil(c))}function t1(t,e,r){var n=1,i=new(tB())(t);if(!i.isint()&&r){var o=Math.abs(t);o<1?(n=new(tB())(10).pow(tK.getDigitCount(t)-1),i=new(tB())(Math.floor(i.div(n).toNumber())).mul(n)):o>1&&(i=new(tB())(Math.floor(t)))}else 0===t?i=new(tB())(Math.floor((e-1)/2)):r||(i=new(tB())(Math.floor(t)));var a=Math.floor((e-1)/2);return tV(tU(function(t){return i.add(new(tB())(t-a).mul(n)).toNumber()}),tW)(0,e)}var t2=tJ(function(t){var e=t$(t,2),r=e[0],n=e[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=Math.max(i,2),c=t$(tQ([r,n]),2),u=c[0],l=c[1];if(u===-1/0||l===1/0){var s=l===1/0?[u].concat(tH(tW(0,i-1).map(function(){return 1/0}))):[].concat(tH(tW(0,i-1).map(function(){return-1/0})),[l]);return r>n?tG(s):s}if(u===l)return t1(u,i,o);var f=function t(e,r,n,i){var o,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((r-e)/(n-1)))return{step:new(tB())(0),tickMin:new(tB())(0),tickMax:new(tB())(0)};var c=t0(new(tB())(r).sub(e).div(n-1),i,a),u=Math.ceil((o=e<=0&&r>=0?new(tB())(0):(o=new(tB())(e).add(r).div(2)).sub(new(tB())(o).mod(c))).sub(e).div(c).toNumber()),l=Math.ceil(new(tB())(r).sub(o).div(c).toNumber()),s=u+l+1;return s>n?t(e,r,n,i,a+1):(s<n&&(l=r>0?l+(n-s):l,u=r>0?u:u+(n-s)),{step:c,tickMin:o.sub(new(tB())(u).mul(c)),tickMax:o.add(new(tB())(l).mul(c))})}(u,l,a,o),p=f.step,y=f.tickMin,d=f.tickMax,h=tK.rangeStep(y,d.add(new(tB())(.1).mul(p)),p);return r>n?tG(h):h});tJ(function(t){var e=t$(t,2),r=e[0],n=e[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=Math.max(i,2),c=t$(tQ([r,n]),2),u=c[0],l=c[1];if(u===-1/0||l===1/0)return[r,n];if(u===l)return t1(u,i,o);var s=t0(new(tB())(l).sub(u).div(a-1),o,0),f=tV(tU(function(t){return new(tB())(u).add(new(tB())(t).mul(s)).toNumber()}),tW)(0,a).filter(function(t){return t>=u&&t<=l});return r>n?tG(f):f});var t5=tJ(function(t,e){var r=t$(t,2),n=r[0],i=r[1],o=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=t$(tQ([n,i]),2),c=a[0],u=a[1];if(c===-1/0||u===1/0)return[n,i];if(c===u)return[c];var l=Math.max(e,2),s=t0(new(tB())(u).sub(c).div(l-1),o,0),f=[].concat(tH(tK.rangeStep(new(tB())(c),new(tB())(u).sub(new(tB())(.99).mul(s)),s)),[u]);return n>i?tG(f):f});function t8(t,e){if(!t)throw Error("Invariant failed")}var t6=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function t7(t){return(t7="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function t3(){return(t3=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function t9(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function t4(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(t4=function(){return!!t})()}function et(t){return(et=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ee(t,e){return(ee=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function er(t,e,r){return(e=en(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function en(t){var e=function(t,e){if("object"!=t7(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=t7(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==t7(e)?e:e+""}var ei=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=et(t),function(t,e){if(e&&("object"===t7(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,t4()?Reflect.construct(t,e||[],et(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&ee(r,t),e=[{key:"render",value:function(){var t=this.props,e=t.offset,r=t.layout,n=t.width,o=t.dataKey,a=t.data,c=t.dataPointFormatter,l=t.xAxis,s=t.yAxis,p=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,t6),y=(0,u.J9)(p,!1);"x"===this.props.direction&&"number"!==l.type&&t8(!1);var d=a.map(function(t){var a,u,p=c(t,o),d=p.x,h=p.y,v=p.value,b=p.errorVal;if(!b)return null;var m=[];if(Array.isArray(b)){var g=function(t){if(Array.isArray(t))return t}(b)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],u=!0,l=!1;try{o=(r=r.call(t)).next,!1;for(;!(u=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,i=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return c}}(b,2)||function(t,e){if(t){if("string"==typeof t)return t9(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t9(t,e)}}(b,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();a=g[0],u=g[1]}else a=u=b;if("vertical"===r){var O=l.scale,x=h+e,w=x+n,j=x-n,A=O(v-a),S=O(v+u);m.push({x1:S,y1:w,x2:S,y2:j}),m.push({x1:A,y1:x,x2:S,y2:x}),m.push({x1:A,y1:w,x2:A,y2:j})}else if("horizontal"===r){var P=s.scale,E=d+e,k=E-n,M=E+n,T=P(v-a),I=P(v+u);m.push({x1:k,y1:I,x2:M,y2:I}),m.push({x1:E,y1:T,x2:E,y2:I}),m.push({x1:k,y1:T,x2:M,y2:T})}return i.createElement(f,t3({className:"recharts-errorBar",key:"bar-".concat(m.map(function(t){return"".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)}))},y),m.map(function(t){return i.createElement("line",t3({},t,{key:"line-".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)}))}))});return i.createElement(f,{className:"recharts-errorBars"},d)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,en(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(i.Component);er(ei,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"}),er(ei,"displayName","ErrorBar");var eo=r(79938);function ea(t){return(ea="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ec(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function eu(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ec(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=ea(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ea(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ea(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ec(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var el=function(t){var e,r=t.children,n=t.formattedGraphicalItems,i=t.legendWidth,o=t.legendContent,a=(0,u.BU)(r,eo.s);if(!a)return null;var c=eo.s.defaultProps,l=void 0!==c?eu(eu({},c),a.props):{};return e=a.props&&a.props.payload?a.props&&a.props.payload:"children"===o?(n||[]).reduce(function(t,e){var r=e.item,n=e.props,i=n.sectors||n.data||[];return t.concat(i.map(function(t){return{type:a.props.iconType||r.props.legendType,value:t.name,color:t.fill,payload:t}}))},[]):(n||[]).map(function(t){var e=t.item,r=e.type.defaultProps,n=void 0!==r?eu(eu({},r),e.props):{},i=n.dataKey,o=n.name,a=n.legendType;return{inactive:n.hide,dataKey:i,type:l.iconType||a||"square",color:eg(e),value:o||i,payload:n}}),eu(eu(eu({},l),eo.s.getWithHeight(a,i)),{},{payload:e,item:a})};function es(t){return(es="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ef(t){return function(t){if(Array.isArray(t))return ep(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return ep(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ep(t,e)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ep(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function ey(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function ed(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ey(Object(r),!0).forEach(function(e){eh(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ey(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function eh(t,e,r){var n;return(n=function(t,e){if("object"!=es(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=es(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==es(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ev(t,e,r){return S()(t)||S()(e)?r:(0,P.vh)(e)?tA()(t,e,r):a()(e)?e(t):r}function eb(t,e,r,n){var i=tP()(t,function(t){return ev(t,e)});if("number"===r){var o=i.filter(function(t){return(0,P.Et)(t)||parseFloat(t)});return o.length?[tO()(o),tm()(o)]:[1/0,-1/0]}return(n?i.filter(function(t){return!S()(t)}):i).map(function(t){return(0,P.vh)(t)||t instanceof Date?t:""})}var em=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=-1,a=null!=(e=null==r?void 0:r.length)?e:0;if(a<=1)return 0;if(i&&"angleAxis"===i.axisType&&1e-6>=Math.abs(Math.abs(i.range[1]-i.range[0])-360))for(var c=i.range,u=0;u<a;u++){var l=u>0?n[u-1].coordinate:n[a-1].coordinate,s=n[u].coordinate,f=u>=a-1?n[0].coordinate:n[u+1].coordinate,p=void 0;if((0,P.sA)(s-l)!==(0,P.sA)(f-s)){var y=[];if((0,P.sA)(f-s)===(0,P.sA)(c[1]-c[0])){p=f;var d=s+c[1]-c[0];y[0]=Math.min(d,(d+l)/2),y[1]=Math.max(d,(d+l)/2)}else{p=l;var h=f+c[1]-c[0];y[0]=Math.min(s,(h+s)/2),y[1]=Math.max(s,(h+s)/2)}var v=[Math.min(s,(p+s)/2),Math.max(s,(p+s)/2)];if(t>v[0]&&t<=v[1]||t>=y[0]&&t<=y[1]){o=n[u].index;break}}else{var b=Math.min(l,f),m=Math.max(l,f);if(t>(b+s)/2&&t<=(m+s)/2){o=n[u].index;break}}}else for(var g=0;g<a;g++)if(0===g&&t<=(r[g].coordinate+r[g+1].coordinate)/2||g>0&&g<a-1&&t>(r[g].coordinate+r[g-1].coordinate)/2&&t<=(r[g].coordinate+r[g+1].coordinate)/2||g===a-1&&t>(r[g].coordinate+r[g-1].coordinate)/2){o=r[g].index;break}return o},eg=function(t){var e,r,n=t.type.displayName,i=null!=(e=t.type)&&e.defaultProps?ed(ed({},t.type.defaultProps),t.props):t.props,o=i.stroke,a=i.fill;switch(n){case"Line":r=o;break;case"Area":case"Radar":r=o&&"none"!==o?o:a;break;default:r=a}return r},eO=function(t){var e=t.barSize,r=t.totalSize,n=t.stackGroups,i=void 0===n?{}:n;if(!i)return{};for(var o={},a=Object.keys(i),c=0,l=a.length;c<l;c++)for(var s=i[a[c]].stackGroups,f=Object.keys(s),p=0,y=f.length;p<y;p++){var d=s[f[p]],h=d.items,v=d.cateAxisId,b=h.filter(function(t){return(0,u.Mn)(t.type).indexOf("Bar")>=0});if(b&&b.length){var m=b[0].type.defaultProps,g=void 0!==m?ed(ed({},m),b[0].props):b[0].props,O=g.barSize,x=g[v];o[x]||(o[x]=[]);var w=S()(O)?e:O;o[x].push({item:b[0],stackList:b.slice(1),barSize:S()(w)?void 0:(0,P.F4)(w,r,0)})}}return o},ex=function(t){var e,r=t.barGap,n=t.barCategoryGap,i=t.bandSize,o=t.sizeList,a=void 0===o?[]:o,c=t.maxBarSize,u=a.length;if(u<1)return null;var l=(0,P.F4)(r,i,0,!0),s=[];if(a[0].barSize===+a[0].barSize){var f=!1,p=i/u,y=a.reduce(function(t,e){return t+e.barSize||0},0);(y+=(u-1)*l)>=i&&(y-=(u-1)*l,l=0),y>=i&&p>0&&(f=!0,p*=.9,y=u*p);var d={offset:((i-y)/2|0)-l,size:0};e=a.reduce(function(t,e){var r={item:e.item,position:{offset:d.offset+d.size+l,size:f?p:e.barSize}},n=[].concat(ef(t),[r]);return d=n[n.length-1].position,e.stackList&&e.stackList.length&&e.stackList.forEach(function(t){n.push({item:t,position:d})}),n},s)}else{var h=(0,P.F4)(n,i,0,!0);i-2*h-(u-1)*l<=0&&(l=0);var v=(i-2*h-(u-1)*l)/u;v>1&&(v>>=0);var b=c===+c?Math.min(v,c):v;e=a.reduce(function(t,e,r){var n=[].concat(ef(t),[{item:e.item,position:{offset:h+(v+l)*r+(v-b)/2,size:b}}]);return e.stackList&&e.stackList.length&&e.stackList.forEach(function(t){n.push({item:t,position:n[n.length-1].position})}),n},s)}return e},ew=function(t,e,r,n){var i=r.children,o=r.width,a=r.margin,c=el({children:i,legendWidth:o-(a.left||0)-(a.right||0)});if(c){var u=n||{},l=u.width,s=u.height,f=c.align,p=c.verticalAlign,y=c.layout;if(("vertical"===y||"horizontal"===y&&"middle"===p)&&"center"!==f&&(0,P.Et)(t[f]))return ed(ed({},t),{},eh({},f,t[f]+(l||0)));if(("horizontal"===y||"vertical"===y&&"center"===f)&&"middle"!==p&&(0,P.Et)(t[p]))return ed(ed({},t),{},eh({},p,t[p]+(s||0)))}return t},ej=function(t,e,r,n,i){var o=e.props.children,a=(0,u.aS)(o,ei).filter(function(t){var e;return e=t.props.direction,!!S()(i)||("horizontal"===n?"yAxis"===i:"vertical"===n||"x"===e?"xAxis"===i:"y"!==e||"yAxis"===i)});if(a&&a.length){var c=a.map(function(t){return t.props.dataKey});return t.reduce(function(t,e){var n=ev(e,r);if(S()(n))return t;var i=Array.isArray(n)?[tO()(n),tm()(n)]:[n,n],o=c.reduce(function(t,r){var n=ev(e,r,0),o=i[0]-Math.abs(Array.isArray(n)?n[0]:n),a=i[1]+Math.abs(Array.isArray(n)?n[1]:n);return[Math.min(o,t[0]),Math.max(a,t[1])]},[1/0,-1/0]);return[Math.min(o[0],t[0]),Math.max(o[1],t[1])]},[1/0,-1/0])}return null},eA=function(t,e,r,n,i){var o=e.map(function(e){return ej(t,e,r,i,n)}).filter(function(t){return!S()(t)});return o&&o.length?o.reduce(function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]},[1/0,-1/0]):null},eS=function(t,e,r,n,i){var o=e.map(function(e){var o=e.props.dataKey;return"number"===r&&o&&ej(t,e,o,n)||eb(t,o,r,i)});if("number"===r)return o.reduce(function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]},[1/0,-1/0]);var a={};return o.reduce(function(t,e){for(var r=0,n=e.length;r<n;r++)a[e[r]]||(a[e[r]]=!0,t.push(e[r]));return t},[])},eP=function(t,e){return"horizontal"===t&&"xAxis"===e||"vertical"===t&&"yAxis"===e||"centric"===t&&"angleAxis"===e||"radial"===t&&"radiusAxis"===e},eE=function(t,e,r,n){if(n)return t.map(function(t){return t.coordinate});var i,o,a=t.map(function(t){return t.coordinate===e&&(i=!0),t.coordinate===r&&(o=!0),t.coordinate});return i||a.push(e),o||a.push(r),a},ek=function(t,e,r){if(!t)return null;var n=t.scale,i=t.duplicateDomain,o=t.type,a=t.range,c="scaleBand"===t.realScaleType?n.bandwidth()/2:2,u=(e||r)&&"category"===o&&n.bandwidth?n.bandwidth()/c:0;return(u="angleAxis"===t.axisType&&(null==a?void 0:a.length)>=2?2*(0,P.sA)(a[0]-a[1])*u:u,e&&(t.ticks||t.niceTicks))?(t.ticks||t.niceTicks).map(function(t){return{coordinate:n(i?i.indexOf(t):t)+u,value:t,offset:u}}).filter(function(t){return!tk()(t.coordinate)}):t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map(function(t,e){return{coordinate:n(t)+u,value:t,index:e,offset:u}}):n.ticks&&!r?n.ticks(t.tickCount).map(function(t){return{coordinate:n(t)+u,value:t,offset:u}}):n.domain().map(function(t,e){return{coordinate:n(t)+u,value:i?i[t]:t,index:e,offset:u}})},eM=new WeakMap,eT=function(t,e){if("function"!=typeof e)return t;eM.has(t)||eM.set(t,new WeakMap);var r=eM.get(t);if(r.has(e))return r.get(e);var n=function(){t.apply(void 0,arguments),e.apply(void 0,arguments)};return r.set(e,n),n},eI=function(t,e,r){var i=t.scale,o=t.type,c=t.layout,u=t.axisType;if("auto"===i)return"radial"===c&&"radiusAxis"===u?{scale:tu.A(),realScaleType:"band"}:"radial"===c&&"angleAxis"===u?{scale:tl.A(),realScaleType:"linear"}:"category"===o&&e&&(e.indexOf("LineChart")>=0||e.indexOf("AreaChart")>=0||e.indexOf("ComposedChart")>=0&&!r)?{scale:tu.z(),realScaleType:"point"}:"category"===o?{scale:tu.A(),realScaleType:"band"}:{scale:tl.A(),realScaleType:"linear"};if(tw()(i)){var l="scale".concat(tT()(i));return{scale:(n[l]||tu.z)(),realScaleType:n[l]?l:"point"}}return a()(i)?{scale:i}:{scale:tu.z(),realScaleType:"point"}},eD=function(t){var e=t.domain();if(e&&!(e.length<=2)){var r=e.length,n=t.range(),i=Math.min(n[0],n[1])-1e-4,o=Math.max(n[0],n[1])+1e-4,a=t(e[0]),c=t(e[r-1]);(a<i||a>o||c<i||c>o)&&t.domain([e[0],e[r-1]])}},eN=function(t,e){if(!t)return null;for(var r=0,n=t.length;r<n;r++)if(t[r].item===e)return t[r].position;return null},eC=function(t,e){if(!e||2!==e.length||!(0,P.Et)(e[0])||!(0,P.Et)(e[1]))return t;var r=Math.min(e[0],e[1]),n=Math.max(e[0],e[1]),i=[t[0],t[1]];return(!(0,P.Et)(t[0])||t[0]<r)&&(i[0]=r),(!(0,P.Et)(t[1])||t[1]>n)&&(i[1]=n),i[0]>n&&(i[0]=n),i[1]<r&&(i[1]=r),i},eR={sign:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var i=0,o=0,a=0;a<e;++a){var c=tk()(t[a][r][1])?t[a][r][0]:t[a][r][1];c>=0?(t[a][r][0]=i,t[a][r][1]=i+c,i=t[a][r][1]):(t[a][r][0]=o,t[a][r][1]=o+c,o=t[a][r][1])}},expand:function(t,e){if((n=t.length)>0){for(var r,n,i,o=0,a=t[0].length;o<a;++o){for(i=r=0;r<n;++r)i+=t[r][o][1]||0;if(i)for(r=0;r<n;++r)t[r][o][1]/=i}tf(t,e)}},none:tf,silhouette:function(t,e){if((r=t.length)>0){for(var r,n=0,i=t[e[0]],o=i.length;n<o;++n){for(var a=0,c=0;a<r;++a)c+=t[a][n][1]||0;i[n][1]+=i[n][0]=-c/2}tf(t,e)}},wiggle:function(t,e){if((i=t.length)>0&&(n=(r=t[e[0]]).length)>0){for(var r,n,i,o=0,a=1;a<n;++a){for(var c=0,u=0,l=0;c<i;++c){for(var s=t[e[c]],f=s[a][1]||0,p=(f-(s[a-1][1]||0))/2,y=0;y<c;++y){var d=t[e[y]];p+=(d[a][1]||0)-(d[a-1][1]||0)}u+=f,l+=p*f}r[a-1][1]+=r[a-1][0]=o,u&&(o-=l/u)}r[a-1][1]+=r[a-1][0]=o,tf(t,e)}},positive:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var i=0,o=0;o<e;++o){var a=tk()(t[o][r][1])?t[o][r][0]:t[o][r][1];a>=0?(t[o][r][0]=i,t[o][r][1]=i+a,i=t[o][r][1]):(t[o][r][0]=0,t[o][r][1]=0)}}},eB=function(t,e,r){var n=e.map(function(t){return t.props.dataKey}),i=eR[r];return(function(){var t=(0,ty.A)([]),e=td,r=tf,n=th;function i(i){var o,a,c=Array.from(t.apply(this,arguments),tv),u=c.length,l=-1;for(let t of i)for(o=0,++l;o<u;++o)(c[o][l]=[0,+n(t,c[o].key,l,i)]).data=t;for(o=0,a=(0,tp.A)(e(c));o<u;++o)c[a[o]].index=o;return r(c,a),c}return i.keys=function(e){return arguments.length?(t="function"==typeof e?e:(0,ty.A)(Array.from(e)),i):t},i.value=function(t){return arguments.length?(n="function"==typeof t?t:(0,ty.A)(+t),i):n},i.order=function(t){return arguments.length?(e=null==t?td:"function"==typeof t?t:(0,ty.A)(Array.from(t)),i):e},i.offset=function(t){return arguments.length?(r=null==t?tf:t,i):r},i})().keys(n).value(function(t,e){return+ev(t,e,0)}).order(td).offset(i)(t)},eL=function(t,e,r,n,i,o){if(!t)return null;var a=(o?e.reverse():e).reduce(function(t,e){var i,o=null!=(i=e.type)&&i.defaultProps?ed(ed({},e.type.defaultProps),e.props):e.props,a=o.stackId;if(o.hide)return t;var c=o[r],u=t[c]||{hasStack:!1,stackGroups:{}};if((0,P.vh)(a)){var l=u.stackGroups[a]||{numericAxisId:r,cateAxisId:n,items:[]};l.items.push(e),u.hasStack=!0,u.stackGroups[a]=l}else u.stackGroups[(0,P.NF)("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[e]};return ed(ed({},t),{},eh({},c,u))},{});return Object.keys(a).reduce(function(e,o){var c=a[o];return c.hasStack&&(c.stackGroups=Object.keys(c.stackGroups).reduce(function(e,o){var a=c.stackGroups[o];return ed(ed({},e),{},eh({},o,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:eB(t,a.items,i)}))},{})),ed(ed({},e),{},eh({},o,c))},{})},e_=function(t,e){var r=e.realScaleType,n=e.type,i=e.tickCount,o=e.originalDomain,a=e.allowDecimals,c=r||e.scale;if("auto"!==c&&"linear"!==c)return null;if(i&&"number"===n&&o&&("auto"===o[0]||"auto"===o[1])){var u=t.domain();if(!u.length)return null;var l=t2(u,i,a);return t.domain([tO()(l),tm()(l)]),{niceTicks:l}}return i&&"number"===n?{niceTicks:t5(t.domain(),i,a)}:null};function ez(t){var e=t.axis,r=t.ticks,n=t.bandSize,i=t.entry,o=t.index,a=t.dataKey;if("category"===e.type){if(!e.allowDuplicatedCategory&&e.dataKey&&!S()(i[e.dataKey])){var c=(0,P.eP)(r,"value",i[e.dataKey]);if(c)return c.coordinate+n/2}return r[o]?r[o].coordinate+n/2:null}var u=ev(i,S()(a)?e.dataKey:a);return S()(u)?null:e.scale(u)}var eq=function(t){var e=t.axis,r=t.ticks,n=t.offset,i=t.bandSize,o=t.entry,a=t.index;if("category"===e.type)return r[a]?r[a].coordinate+n:null;var c=ev(o,e.dataKey,e.domain[a]);return S()(c)?null:e.scale(c)-i/2+n},eF=function(t){var e=t.numericAxis,r=e.scale.domain();if("number"===e.type){var n=Math.min(r[0],r[1]),i=Math.max(r[0],r[1]);return n<=0&&i>=0?0:i<0?i:n}return r[0]},eX=function(t,e){var r,n=(null!=(r=t.type)&&r.defaultProps?ed(ed({},t.type.defaultProps),t.props):t.props).stackId;if((0,P.vh)(n)){var i=e[n];if(i){var o=i.items.indexOf(t);return o>=0?i.stackedData[o]:null}}return null},eW=function(t,e,r){return Object.keys(t).reduce(function(n,i){var o=t[i].stackedData.reduce(function(t,n){var i=n.slice(e,r+1).reduce(function(t,e){return[tO()(e.concat([t[0]]).filter(P.Et)),tm()(e.concat([t[1]]).filter(P.Et))]},[1/0,-1/0]);return[Math.min(t[0],i[0]),Math.max(t[1],i[1])]},[1/0,-1/0]);return[Math.min(o[0],n[0]),Math.max(o[1],n[1])]},[1/0,-1/0]).map(function(t){return t===1/0||t===-1/0?0:t})},eU=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,eV=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,eG=function(t,e,r){if(a()(t))return t(e,r);if(!Array.isArray(t))return e;var n=[];if((0,P.Et)(t[0]))n[0]=r?t[0]:Math.min(t[0],e[0]);else if(eU.test(t[0])){var i=+eU.exec(t[0])[1];n[0]=e[0]-i}else a()(t[0])?n[0]=t[0](e[0]):n[0]=e[0];if((0,P.Et)(t[1]))n[1]=r?t[1]:Math.max(t[1],e[1]);else if(eV.test(t[1])){var o=+eV.exec(t[1])[1];n[1]=e[1]+o}else a()(t[1])?n[1]=t[1](e[1]):n[1]=e[1];return n},eJ=function(t,e,r){if(t&&t.scale&&t.scale.bandwidth){var n=t.scale.bandwidth();if(!r||n>0)return n}if(t&&e&&e.length>=2){for(var i=tC()(e,function(t){return t.coordinate}),o=1/0,a=1,c=i.length;a<c;a++){var u=i[a],l=i[a-1];o=Math.min((u.coordinate||0)-(l.coordinate||0),o)}return o===1/0?0:o}return r?void 0:0},eK=function(t,e,r){return!t||!t.length||tD()(t,tA()(r,"type.defaultProps.domain"))?e:t},eH=function(t,e){var r=t.type.defaultProps?ed(ed({},t.type.defaultProps),t.props):t.props,n=r.dataKey,i=r.name,o=r.unit,a=r.formatter,c=r.tooltipType,l=r.chartType,s=r.hide;return ed(ed({},(0,u.J9)(t,!1)),{},{dataKey:n,unit:o,formatter:a,name:i||n,color:eg(t),value:ev(e,n),type:c,payload:e,chartType:l,hide:s})};function e$(t){return(e$="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eY(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function eZ(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?eY(Object(r),!0).forEach(function(e){eQ(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):eY(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function eQ(t,e,r){var n;return(n=function(t,e){if("object"!=e$(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=e$(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==e$(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function e0(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var e1=Math.PI/180,e2=function(t,e,r,n){return{x:t+Math.cos(-e1*n)*r,y:e+Math.sin(-e1*n)*r}},e5=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(t-(r.left||0)-(r.right||0)),Math.abs(e-(r.top||0)-(r.bottom||0)))/2},e8=function(t,e){var r=t.x,n=t.y;return Math.sqrt(Math.pow(r-e.x,2)+Math.pow(n-e.y,2))},e6=function(t,e){var r=t.x,n=t.y,i=e.cx,o=e.cy,a=e8({x:r,y:n},{x:i,y:o});if(a<=0)return{radius:a};var c=Math.acos((r-i)/a);return n>o&&(c=2*Math.PI-c),{radius:a,angle:180*c/Math.PI,angleInRadian:c}},e7=function(t){var e=t.startAngle,r=t.endAngle,n=Math.min(Math.floor(e/360),Math.floor(r/360));return{startAngle:e-360*n,endAngle:r-360*n}},e3=function(t,e){var r,n=e6({x:t.x,y:t.y},e),i=n.radius,o=n.angle,a=e.innerRadius,c=e.outerRadius;if(i<a||i>c)return!1;if(0===i)return!0;var u=e7(e),l=u.startAngle,s=u.endAngle,f=o;if(l<=s){for(;f>s;)f-=360;for(;f<l;)f+=360;r=f>=l&&f<=s}else{for(;f>l;)f-=360;for(;f<s;)f+=360;r=f>=s&&f<=l}return r?eZ(eZ({},e),{},{radius:i,angle:f+360*Math.min(Math.floor(e.startAngle/360),Math.floor(e.endAngle/360))}):null},e9=function(t){return(0,i.isValidElement)(t)||a()(t)||"boolean"==typeof t?"":t.className};function e4(t){return(e4="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function rt(){return(rt=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function re(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function rr(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?re(Object(r),!0).forEach(function(e){rc(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):re(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function rn(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ru(n.key),n)}}function ri(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ri=function(){return!!t})()}function ro(t){return(ro=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ra(t,e){return(ra=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function rc(t,e,r){return(e=ru(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ru(t){var e=function(t,e){if("object"!=e4(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=e4(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==e4(e)?e:e+""}var rl=Math.PI/180,rs=function(t){var e,r;function n(){var t,e;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return t=n,e=arguments,t=ro(t),function(t,e){if(e&&("object"===e4(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,ri()?Reflect.construct(t,e||[],ro(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&ra(n,t),e=[{key:"getTickLineCoord",value:function(t){var e=this.props,r=e.cx,n=e.cy,i=e.radius,o=e.orientation,a=e.tickSize,c=e2(r,n,i,t.coordinate),u=e2(r,n,i+("inner"===o?-1:1)*(a||8),t.coordinate);return{x1:c.x,y1:c.y,x2:u.x,y2:u.y}}},{key:"getTickTextAnchor",value:function(t){var e=this.props.orientation,r=Math.cos(-t.coordinate*rl);return r>1e-5?"outer"===e?"start":"end":r<-1e-5?"outer"===e?"end":"start":"middle"}},{key:"renderAxisLine",value:function(){var t=this.props,e=t.cx,r=t.cy,n=t.radius,o=t.axisLine,a=t.axisLineType,c=rr(rr({},(0,u.J9)(this.props,!1)),{},{fill:"none"},(0,u.J9)(o,!1));if("circle"===a)return i.createElement(d,rt({className:"recharts-polar-angle-axis-line"},c,{cx:e,cy:r,r:n}));var l=this.props.ticks.map(function(t){return e2(e,r,n,t.coordinate)});return i.createElement(j,rt({className:"recharts-polar-angle-axis-line"},c,{points:l}))}},{key:"renderTicks",value:function(){var t=this,e=this.props,r=e.ticks,o=e.tick,a=e.tickLine,l=e.tickFormatter,s=e.stroke,y=(0,u.J9)(this.props,!1),d=(0,u.J9)(o,!1),h=rr(rr({},y),{},{fill:"none"},(0,u.J9)(a,!1)),v=r.map(function(e,r){var u=t.getTickLineCoord(e),v=rr(rr(rr({textAnchor:t.getTickTextAnchor(e)},y),{},{stroke:"none",fill:s},d),{},{index:r,payload:e,x:u.x2,y:u.y2});return i.createElement(f,rt({className:(0,c.A)("recharts-polar-angle-axis-tick",e9(o)),key:"tick-".concat(e.coordinate)},(0,p.XC)(t.props,e,r)),a&&i.createElement("line",rt({className:"recharts-polar-angle-axis-tick-line"},h,u)),o&&n.renderTickItem(o,v,l?l(e.value,r):e.value))});return i.createElement(f,{className:"recharts-polar-angle-axis-ticks"},v)}},{key:"render",value:function(){var t=this.props,e=t.ticks,r=t.radius,n=t.axisLine;return!(r<=0)&&e&&e.length?i.createElement(f,{className:(0,c.A)("recharts-polar-angle-axis",this.props.className)},n&&this.renderAxisLine(),this.renderTicks()):null}}],r=[{key:"renderTickItem",value:function(t,e,r){return i.isValidElement(t)?i.cloneElement(t,e):a()(t)?t(e):i.createElement(tc,rt({},e,{className:"recharts-polar-angle-axis-tick-value"}),r)}}],e&&rn(n.prototype,e),r&&rn(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(i.PureComponent);rc(rs,"displayName","PolarAngleAxis"),rc(rs,"axisType","angleAxis"),rc(rs,"defaultProps",{type:"category",angleAxisId:0,scale:"auto",cx:0,cy:0,orientation:"outer",axisLine:!0,tickLine:!0,tickSize:8,tick:!0,hide:!1,allowDuplicatedCategory:!0});var rf=r(77117),rp=r.n(rf),ry=Object.getOwnPropertyNames,rd=Object.getOwnPropertySymbols,rh=Object.prototype.hasOwnProperty;function rv(t,e){return function(r,n,i){return t(r,n,i)&&e(r,n,i)}}function rb(t){return function(e,r,n){if(!e||!r||"object"!=typeof e||"object"!=typeof r)return t(e,r,n);var i=n.cache,o=i.get(e),a=i.get(r);if(o&&a)return o===r&&a===e;i.set(e,r),i.set(r,e);var c=t(e,r,n);return i.delete(e),i.delete(r),c}}function rm(t){return ry(t).concat(rd(t))}var rg=Object.hasOwn||function(t,e){return rh.call(t,e)};function rO(t,e){return t===e||!t&&!e&&t!=t&&e!=e}var rx=Object.getOwnPropertyDescriptor,rw=Object.keys;function rj(t,e,r){var n=t.length;if(e.length!==n)return!1;for(;n-- >0;)if(!r.equals(t[n],e[n],n,n,t,e,r))return!1;return!0}function rA(t,e){return rO(t.getTime(),e.getTime())}function rS(t,e){return t.name===e.name&&t.message===e.message&&t.cause===e.cause&&t.stack===e.stack}function rP(t,e){return t===e}function rE(t,e,r){var n,i,o=t.size;if(o!==e.size)return!1;if(!o)return!0;for(var a=Array(o),c=t.entries(),u=0;(n=c.next())&&!n.done;){for(var l=e.entries(),s=!1,f=0;(i=l.next())&&!i.done;){if(a[f]){f++;continue}var p=n.value,y=i.value;if(r.equals(p[0],y[0],u,f,t,e,r)&&r.equals(p[1],y[1],p[0],y[0],t,e,r)){s=a[f]=!0;break}f++}if(!s)return!1;u++}return!0}function rk(t,e,r){var n=rw(t),i=n.length;if(rw(e).length!==i)return!1;for(;i-- >0;)if(!rR(t,e,r,n[i]))return!1;return!0}function rM(t,e,r){var n,i,o,a=rm(t),c=a.length;if(rm(e).length!==c)return!1;for(;c-- >0;)if(!rR(t,e,r,n=a[c])||(i=rx(t,n),o=rx(e,n),(i||o)&&(!i||!o||i.configurable!==o.configurable||i.enumerable!==o.enumerable||i.writable!==o.writable)))return!1;return!0}function rT(t,e){return rO(t.valueOf(),e.valueOf())}function rI(t,e){return t.source===e.source&&t.flags===e.flags}function rD(t,e,r){var n,i,o=t.size;if(o!==e.size)return!1;if(!o)return!0;for(var a=Array(o),c=t.values();(n=c.next())&&!n.done;){for(var u=e.values(),l=!1,s=0;(i=u.next())&&!i.done;){if(!a[s]&&r.equals(n.value,i.value,n.value,i.value,t,e,r)){l=a[s]=!0;break}s++}if(!l)return!1}return!0}function rN(t,e){var r=t.length;if(e.length!==r)return!1;for(;r-- >0;)if(t[r]!==e[r])return!1;return!0}function rC(t,e){return t.hostname===e.hostname&&t.pathname===e.pathname&&t.protocol===e.protocol&&t.port===e.port&&t.hash===e.hash&&t.username===e.username&&t.password===e.password}function rR(t,e,r,n){return("_owner"===n||"__o"===n||"__v"===n)&&(!!t.$$typeof||!!e.$$typeof)||rg(e,n)&&r.equals(t[n],e[n],n,n,t,e,r)}var rB=Array.isArray,rL="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,r_=Object.assign,rz=Object.prototype.toString.call.bind(Object.prototype.toString),rq=rF();function rF(t){void 0===t&&(t={});var e,r,n,i,o,a,c,u,l,s,f,p,y,d,h=t.circular,v=t.createInternalComparator,b=t.createState,m=t.strict,g=(r=(e=function(t){var e=t.circular,r=t.createCustomConfig,n=t.strict,i={areArraysEqual:n?rM:rj,areDatesEqual:rA,areErrorsEqual:rS,areFunctionsEqual:rP,areMapsEqual:n?rv(rE,rM):rE,areNumbersEqual:rO,areObjectsEqual:n?rM:rk,arePrimitiveWrappersEqual:rT,areRegExpsEqual:rI,areSetsEqual:n?rv(rD,rM):rD,areTypedArraysEqual:n?rM:rN,areUrlsEqual:rC,unknownTagComparators:void 0};if(r&&(i=r_({},i,r(i))),e){var o=rb(i.areArraysEqual),a=rb(i.areMapsEqual),c=rb(i.areObjectsEqual),u=rb(i.areSetsEqual);i=r_({},i,{areArraysEqual:o,areMapsEqual:a,areObjectsEqual:c,areSetsEqual:u})}return i}(t)).areArraysEqual,n=e.areDatesEqual,i=e.areErrorsEqual,o=e.areFunctionsEqual,a=e.areMapsEqual,c=e.areNumbersEqual,u=e.areObjectsEqual,l=e.arePrimitiveWrappersEqual,s=e.areRegExpsEqual,f=e.areSetsEqual,p=e.areTypedArraysEqual,y=e.areUrlsEqual,d=e.unknownTagComparators,function(t,e,h){if(t===e)return!0;if(null==t||null==e)return!1;var v=typeof t;if(v!==typeof e)return!1;if("object"!==v)return"number"===v?c(t,e,h):"function"===v&&o(t,e,h);var b=t.constructor;if(b!==e.constructor)return!1;if(b===Object)return u(t,e,h);if(rB(t))return r(t,e,h);if(null!=rL&&rL(t))return p(t,e,h);if(b===Date)return n(t,e,h);if(b===RegExp)return s(t,e,h);if(b===Map)return a(t,e,h);if(b===Set)return f(t,e,h);var m=rz(t);if("[object Date]"===m)return n(t,e,h);if("[object RegExp]"===m)return s(t,e,h);if("[object Map]"===m)return a(t,e,h);if("[object Set]"===m)return f(t,e,h);if("[object Object]"===m)return"function"!=typeof t.then&&"function"!=typeof e.then&&u(t,e,h);if("[object URL]"===m)return y(t,e,h);if("[object Error]"===m)return i(t,e,h);if("[object Arguments]"===m)return u(t,e,h);if("[object Boolean]"===m||"[object Number]"===m||"[object String]"===m)return l(t,e,h);if(d){var g=d[m];if(!g){var O=null!=t?t[Symbol.toStringTag]:void 0;O&&(g=d[O])}if(g)return g(t,e,h)}return!1}),O=v?v(g):function(t,e,r,n,i,o,a){return g(t,e,a)};return function(t){var e=t.circular,r=t.comparator,n=t.createState,i=t.equals,o=t.strict;if(n)return function(t,a){var c=n(),u=c.cache;return r(t,a,{cache:void 0===u?e?new WeakMap:void 0:u,equals:i,meta:c.meta,strict:o})};if(e)return function(t,e){return r(t,e,{cache:new WeakMap,equals:i,meta:void 0,strict:o})};var a={cache:void 0,equals:i,meta:void 0,strict:o};return function(t,e){return r(t,e,a)}}({circular:void 0!==h&&h,comparator:g,createState:b,equals:O,strict:void 0!==m&&m})}function rX(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=-1;requestAnimationFrame(function n(i){if(r<0&&(r=i),i-r>e)t(i),r=-1;else{var o;o=n,"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(o)}})}function rW(t){return(rW="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function rU(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function rV(t){return(rV="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function rG(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function rJ(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?rG(Object(r),!0).forEach(function(e){rK(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):rG(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function rK(t,e,r){var n;return(n=function(t,e){if("object"!==rV(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==rV(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"===rV(n)?n:String(n))in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}rF({strict:!0}),rF({circular:!0}),rF({circular:!0,strict:!0}),rF({createInternalComparator:function(){return rO}}),rF({strict:!0,createInternalComparator:function(){return rO}}),rF({circular:!0,createInternalComparator:function(){return rO}}),rF({circular:!0,createInternalComparator:function(){return rO},strict:!0});var rH=function(t){return t},r$=function(t,e){return Object.keys(e).reduce(function(r,n){return rJ(rJ({},r),{},rK({},n,t(n,e[n])))},{})},rY=function(t,e,r){return t.map(function(t){return"".concat(t.replace(/([A-Z])/g,function(t){return"-".concat(t.toLowerCase())})," ").concat(e,"ms ").concat(r)}).join(",")},rZ=function(t,e,r,n,i,o,a,c){};function rQ(t,e){if(t){if("string"==typeof t)return r0(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return r0(t,e)}}function r0(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var r1=function(t,e){return[0,3*t,3*e-6*t,3*t-3*e+1]},r2=function(t,e){return t.map(function(t,r){return t*Math.pow(e,r)}).reduce(function(t,e){return t+e})},r5=function(t,e){return function(r){return r2(r1(t,e),r)}},r8=function(){for(var t,e,r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];var o=n[0],a=n[1],c=n[2],u=n[3];if(1===n.length)switch(n[0]){case"linear":o=0,a=0,c=1,u=1;break;case"ease":o=.25,a=.1,c=.25,u=1;break;case"ease-in":o=.42,a=0,c=1,u=1;break;case"ease-out":o=.42,a=0,c=.58,u=1;break;case"ease-in-out":o=0,a=0,c=.58,u=1;break;default:var l=n[0].split("(");if("cubic-bezier"===l[0]&&4===l[1].split(")")[0].split(",").length){var s,f=function(t){if(Array.isArray(t))return t}(s=l[1].split(")")[0].split(",").map(function(t){return parseFloat(t)}))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],u=!0,l=!1;try{o=(r=r.call(t)).next,!1;for(;!(u=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,i=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return c}}(s,4)||rQ(s,4)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();o=f[0],a=f[1],c=f[2],u=f[3]}else rZ(!1,"[configBezier]: arguments should be one of oneOf 'linear', 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', instead received %s",n)}rZ([o,c,a,u].every(function(t){return"number"==typeof t&&t>=0&&t<=1}),"[configBezier]: arguments should be x1, y1, x2, y2 of [0, 1] instead received %s",n);var p=r5(o,c),y=r5(a,u),d=(t=o,e=c,function(r){var n;return r2([].concat(function(t){if(Array.isArray(t))return r0(t)}(n=r1(t,e).map(function(t,e){return t*e}).slice(1))||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||rQ(n)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[0]),r)}),h=function(t){for(var e=t>1?1:t,r=e,n=0;n<8;++n){var i,o=p(r)-e,a=d(r);if(1e-4>Math.abs(o-e)||a<1e-4)break;r=(i=r-o/a)>1?1:i<0?0:i}return y(r)};return h.isStepper=!1,h},r6=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.stiff,r=void 0===e?100:e,n=t.damping,i=void 0===n?8:n,o=t.dt,a=void 0===o?17:o,c=function(t,e,n){var o=n+(-(t-e)*r-n*i)*a/1e3,c=n*a/1e3+t;return 1e-4>Math.abs(c-e)&&1e-4>Math.abs(o)?[e,0]:[c,o]};return c.isStepper=!0,c.dt=a,c},r7=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e[0];if("string"==typeof n)switch(n){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return r8(n);case"spring":return r6();default:if("cubic-bezier"===n.split("(")[0])return r8(n);rZ(!1,"[configEasing]: first argument should be one of 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', 'linear' and 'spring', instead received %s",e)}return"function"==typeof n?n:(rZ(!1,"[configEasing]: first argument type should be function or string, instead received %s",e),null)};function r3(t){return(r3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r9(t){return function(t){if(Array.isArray(t))return nn(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||nr(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r4(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function nt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?r4(Object(r),!0).forEach(function(e){ne(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):r4(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function ne(t,e,r){var n;return(n=function(t,e){if("object"!==r3(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==r3(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"===r3(n)?n:String(n))in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function nr(t,e){if(t){if("string"==typeof t)return nn(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return nn(t,e)}}function nn(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var ni=function(t,e,r){return t+(e-t)*r},no=function(t){return t.from!==t.to},na=function t(e,r,n){var i=r$(function(t,r){if(no(r)){var n,i=function(t){if(Array.isArray(t))return t}(n=e(r.from,r.to,r.velocity))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],u=!0,l=!1;try{o=(r=r.call(t)).next,!1;for(;!(u=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,i=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return c}}(n,2)||nr(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=i[0],a=i[1];return nt(nt({},r),{},{from:o,velocity:a})}return r},r);return n<1?r$(function(t,e){return no(e)?nt(nt({},e),{},{velocity:ni(e.velocity,i[t].velocity,n),from:ni(e.from,i[t].from,n)}):e},r):t(e,i,n-1)};let nc=function(t,e,r,n,i){var o,a,c=[Object.keys(t),Object.keys(e)].reduce(function(t,e){return t.filter(function(t){return e.includes(t)})}),u=c.reduce(function(r,n){return nt(nt({},r),{},ne({},n,[t[n],e[n]]))},{}),l=c.reduce(function(r,n){return nt(nt({},r),{},ne({},n,{from:t[n],velocity:0,to:e[n]}))},{}),s=-1,f=function(){return null};return f=r.isStepper?function(n){o||(o=n);var a=(n-o)/r.dt;l=na(r,l,a),i(nt(nt(nt({},t),e),r$(function(t,e){return e.from},l))),o=n,Object.values(l).filter(no).length&&(s=requestAnimationFrame(f))}:function(o){a||(a=o);var c=(o-a)/n,l=r$(function(t,e){return ni.apply(void 0,r9(e).concat([r(c)]))},u);if(i(nt(nt(nt({},t),e),l)),c<1)s=requestAnimationFrame(f);else{var p=r$(function(t,e){return ni.apply(void 0,r9(e).concat([r(1)]))},u);i(nt(nt(nt({},t),e),p))}},function(){return requestAnimationFrame(f),function(){cancelAnimationFrame(s)}}};function nu(t){return(nu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var nl=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function ns(t){return function(t){if(Array.isArray(t))return nf(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return nf(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return nf(t,e)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nf(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function np(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function ny(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?np(Object(r),!0).forEach(function(e){nd(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):np(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function nd(t,e,r){return(e=nh(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function nh(t){var e=function(t,e){if("object"!==nu(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==nu(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===nu(e)?e:String(e)}function nv(t,e){return(nv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function nb(t,e){if(e&&("object"===nu(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return nm(t)}function nm(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ng(t){return(ng=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var nO=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&nv(o,t);var e,r,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,r=ng(o);return t=e?Reflect.construct(r,arguments,ng(this).constructor):r.apply(this,arguments),nb(this,t)});function o(t,e){if(!(this instanceof o))throw TypeError("Cannot call a class as a function");var r=n.call(this,t,e),i=r.props,a=i.isActive,c=i.attributeName,u=i.from,l=i.to,s=i.steps,f=i.children,p=i.duration;if(r.handleStyleChange=r.handleStyleChange.bind(nm(r)),r.changeStyle=r.changeStyle.bind(nm(r)),!a||p<=0)return r.state={style:{}},"function"==typeof f&&(r.state={style:l}),nb(r);if(s&&s.length)r.state={style:s[0].style};else if(u){if("function"==typeof f)return r.state={style:u},nb(r);r.state={style:c?nd({},c,u):u}}else r.state={style:{}};return r}return r=[{key:"componentDidMount",value:function(){var t=this.props,e=t.isActive,r=t.canBegin;this.mounted=!0,e&&r&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(t){var e=this.props,r=e.isActive,n=e.canBegin,i=e.attributeName,o=e.shouldReAnimate,a=e.to,c=e.from,u=this.state.style;if(n){if(!r){var l={style:i?nd({},i,a):a};this.state&&u&&(i&&u[i]!==a||!i&&u!==a)&&this.setState(l);return}if(!rq(t.to,a)||!t.canBegin||!t.isActive){var s=!t.canBegin||!t.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var f=s||o?c:t.to;if(this.state&&u){var p={style:i?nd({},i,f):f};(i&&u[i]!==f||!i&&u!==f)&&this.setState(p)}this.runAnimation(ny(ny({},this.props),{},{from:f,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var t=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),t&&t()}},{key:"handleStyleChange",value:function(t){this.changeStyle(t)}},{key:"changeStyle",value:function(t){this.mounted&&this.setState({style:t})}},{key:"runJSAnimation",value:function(t){var e=this,r=t.from,n=t.to,i=t.duration,o=t.easing,a=t.begin,c=t.onAnimationEnd,u=t.onAnimationStart,l=nc(r,n,r7(o),i,this.changeStyle);this.manager.start([u,a,function(){e.stopJSAnimation=l()},i,c])}},{key:"runStepAnimation",value:function(t){var e=this,r=t.steps,n=t.begin,i=t.onAnimationStart,o=r[0],a=o.style,c=o.duration;return this.manager.start([i].concat(ns(r.reduce(function(t,n,i){if(0===i)return t;var o=n.duration,a=n.easing,c=void 0===a?"ease":a,u=n.style,l=n.properties,s=n.onAnimationEnd,f=i>0?r[i-1]:n,p=l||Object.keys(u);if("function"==typeof c||"spring"===c)return[].concat(ns(t),[e.runJSAnimation.bind(e,{from:f.style,to:u,duration:o,easing:c}),o]);var y=rY(p,o,c),d=ny(ny(ny({},f.style),u),{},{transition:y});return[].concat(ns(t),[d,o,s]).filter(rH)},[a,Math.max(void 0===c?0:c,n)])),[t.onAnimationEnd]))}},{key:"runAnimation",value:function(t){this.manager||(this.manager=(e=function(){return null},r=!1,n=function t(n){if(!r){if(Array.isArray(n)){if(!n.length)return;var i=function(t){if(Array.isArray(t))return t}(n)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||function(t,e){if(t){if("string"==typeof t)return rU(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return rU(t,e)}}(n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=i[0],a=i.slice(1);return"number"==typeof o?void rX(t.bind(null,a),o):(t(o),void rX(t.bind(null,a)))}"object"===rW(n)&&e(n),"function"==typeof n&&n()}},{stop:function(){r=!0},start:function(t){r=!1,n(t)},subscribe:function(t){return e=t,function(){e=function(){return null}}}}));var e,r,n,i=t.begin,o=t.duration,a=t.attributeName,c=t.to,u=t.easing,l=t.onAnimationStart,s=t.onAnimationEnd,f=t.steps,p=t.children,y=this.manager;if(this.unSubscribe=y.subscribe(this.handleStyleChange),"function"==typeof u||"function"==typeof p||"spring"===u)return void this.runJSAnimation(t);if(f.length>1)return void this.runStepAnimation(t);var d=a?nd({},a,c):c,h=rY(Object.keys(d),o,u);y.start([l,i,ny(ny({},d),{},{transition:h}),o,s])}},{key:"render",value:function(){var t=this.props,e=t.children,r=(t.begin,t.duration),n=(t.attributeName,t.easing,t.isActive),o=(t.steps,t.from,t.to,t.canBegin,t.onAnimationEnd,t.shouldReAnimate,t.onAnimationReStart,function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,nl)),a=i.Children.count(e),c=this.state.style;if("function"==typeof e)return e(c);if(!n||0===a||r<=0)return e;var u=function(t){var e=t.props,r=e.style,n=e.className;return(0,i.cloneElement)(t,ny(ny({},o),{},{style:ny(ny({},void 0===r?{}:r),c),className:n}))};return 1===a?u(i.Children.only(e)):i.createElement("div",null,i.Children.map(e,function(t){return u(t)}))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,nh(n.key),n)}}(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),o}(i.PureComponent);nO.displayName="Animate",nO.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},nO.propTypes={from:rp().oneOfType([rp().object,rp().string]),to:rp().oneOfType([rp().object,rp().string]),attributeName:rp().string,duration:rp().number,begin:rp().number,easing:rp().oneOfType([rp().string,rp().func]),steps:rp().arrayOf(rp().shape({duration:rp().number.isRequired,style:rp().object.isRequired,easing:rp().oneOfType([rp().oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),rp().func]),properties:rp().arrayOf("string"),onAnimationEnd:rp().func})),children:rp().oneOfType([rp().node,rp().func]),isActive:rp().bool,canBegin:rp().bool,onAnimationEnd:rp().func,shouldReAnimate:rp().bool,onAnimationStart:rp().func,onAnimationReStart:rp().func};var nx=r(93118),nw=r.n(nx),nj=r(49201),nA=r.n(nj);function nS(t){return(nS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function nP(){return(nP=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function nE(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function nk(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function nM(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?nk(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=nS(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=nS(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==nS(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):nk(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var nT=function(t,e,r,n,i){var o,a=Math.min(Math.abs(r)/2,Math.abs(n)/2),c=n>=0?1:-1,u=r>=0?1:-1,l=+(n>=0&&r>=0||n<0&&r<0);if(a>0&&i instanceof Array){for(var s=[0,0,0,0],f=0;f<4;f++)s[f]=i[f]>a?a:i[f];o="M".concat(t,",").concat(e+c*s[0]),s[0]>0&&(o+="A ".concat(s[0],",").concat(s[0],",0,0,").concat(l,",").concat(t+u*s[0],",").concat(e)),o+="L ".concat(t+r-u*s[1],",").concat(e),s[1]>0&&(o+="A ".concat(s[1],",").concat(s[1],",0,0,").concat(l,",\n ").concat(t+r,",").concat(e+c*s[1])),o+="L ".concat(t+r,",").concat(e+n-c*s[2]),s[2]>0&&(o+="A ".concat(s[2],",").concat(s[2],",0,0,").concat(l,",\n ").concat(t+r-u*s[2],",").concat(e+n)),o+="L ".concat(t+u*s[3],",").concat(e+n),s[3]>0&&(o+="A ".concat(s[3],",").concat(s[3],",0,0,").concat(l,",\n ").concat(t,",").concat(e+n-c*s[3])),o+="Z"}else if(a>0&&i===+i&&i>0){var p=Math.min(a,i);o="M ".concat(t,",").concat(e+c*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(t+u*p,",").concat(e,"\n L ").concat(t+r-u*p,",").concat(e,"\n A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(t+r,",").concat(e+c*p,"\n L ").concat(t+r,",").concat(e+n-c*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(t+r-u*p,",").concat(e+n,"\n L ").concat(t+u*p,",").concat(e+n,"\n A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(t,",").concat(e+n-c*p," Z")}else o="M ".concat(t,",").concat(e," h ").concat(r," v ").concat(n," h ").concat(-r," Z");return o},nI=function(t,e){if(!t||!e)return!1;var r=t.x,n=t.y,i=e.x,o=e.y,a=e.width,c=e.height;if(Math.abs(a)>0&&Math.abs(c)>0){var u=Math.min(i,i+a),l=Math.max(i,i+a),s=Math.min(o,o+c),f=Math.max(o,o+c);return r>=u&&r<=l&&n>=s&&n<=f}return!1},nD={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},nN=function(t){var e,r=nM(nM({},nD),t),n=(0,i.useRef)(),o=function(t){if(Array.isArray(t))return t}(e=(0,i.useState)(-1))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],u=!0,l=!1;try{o=(r=r.call(t)).next,!1;for(;!(u=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,i=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return c}}(e,2)||function(t,e){if(t){if("string"==typeof t)return nE(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return nE(t,e)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),a=o[0],l=o[1];(0,i.useEffect)(function(){if(n.current&&n.current.getTotalLength)try{var t=n.current.getTotalLength();t&&l(t)}catch(t){}},[]);var s=r.x,f=r.y,p=r.width,y=r.height,d=r.radius,h=r.className,v=r.animationEasing,b=r.animationDuration,m=r.animationBegin,g=r.isAnimationActive,O=r.isUpdateAnimationActive;if(s!==+s||f!==+f||p!==+p||y!==+y||0===p||0===y)return null;var x=(0,c.A)("recharts-rectangle",h);return O?i.createElement(nO,{canBegin:a>0,from:{width:p,height:y,x:s,y:f},to:{width:p,height:y,x:s,y:f},duration:b,animationEasing:v,isActive:O},function(t){var e=t.width,o=t.height,c=t.x,l=t.y;return i.createElement(nO,{canBegin:a>0,from:"0px ".concat(-1===a?1:a,"px"),to:"".concat(a,"px 0px"),attributeName:"strokeDasharray",begin:m,duration:b,isActive:g,easing:v},i.createElement("path",nP({},(0,u.J9)(r,!0),{className:x,d:nT(c,l,e,o,d),ref:n})))}):i.createElement("path",nP({},(0,u.J9)(r,!0),{className:x,d:nT(s,f,p,y,d)}))};function nC(t){return(nC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function nR(){return(nR=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function nB(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function nL(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function n_(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?nL(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=nC(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=nC(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==nC(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):nL(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var nz=function(t,e,r,n,i){var o=r-n;return"M ".concat(t,",").concat(e)+"L ".concat(t+r,",").concat(e)+"L ".concat(t+r-o/2,",").concat(e+i)+"L ".concat(t+r-o/2-n,",").concat(e+i)+"L ".concat(t,",").concat(e," Z")},nq={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},nF=function(t){var e,r=n_(n_({},nq),t),n=(0,i.useRef)(),o=function(t){if(Array.isArray(t))return t}(e=(0,i.useState)(-1))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],u=!0,l=!1;try{o=(r=r.call(t)).next,!1;for(;!(u=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,i=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return c}}(e,2)||function(t,e){if(t){if("string"==typeof t)return nB(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return nB(t,e)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),a=o[0],l=o[1];(0,i.useEffect)(function(){if(n.current&&n.current.getTotalLength)try{var t=n.current.getTotalLength();t&&l(t)}catch(t){}},[]);var s=r.x,f=r.y,p=r.upperWidth,y=r.lowerWidth,d=r.height,h=r.className,v=r.animationEasing,b=r.animationDuration,m=r.animationBegin,g=r.isUpdateAnimationActive;if(s!==+s||f!==+f||p!==+p||y!==+y||d!==+d||0===p&&0===y||0===d)return null;var O=(0,c.A)("recharts-trapezoid",h);return g?i.createElement(nO,{canBegin:a>0,from:{upperWidth:0,lowerWidth:0,height:d,x:s,y:f},to:{upperWidth:p,lowerWidth:y,height:d,x:s,y:f},duration:b,animationEasing:v,isActive:g},function(t){var e=t.upperWidth,o=t.lowerWidth,c=t.height,l=t.x,s=t.y;return i.createElement(nO,{canBegin:a>0,from:"0px ".concat(-1===a?1:a,"px"),to:"".concat(a,"px 0px"),attributeName:"strokeDasharray",begin:m,duration:b,easing:v},i.createElement("path",nR({},(0,u.J9)(r,!0),{className:O,d:nz(l,s,e,o,c),ref:n})))}):i.createElement("g",null,i.createElement("path",nR({},(0,u.J9)(r,!0),{className:O,d:nz(s,f,p,y,d)})))};function nX(t){return(nX="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function nW(){return(nW=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function nU(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function nV(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?nU(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=nX(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=nX(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==nX(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):nU(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var nG=function(t){var e=t.cx,r=t.cy,n=t.radius,i=t.angle,o=t.sign,a=t.isExternal,c=t.cornerRadius,u=t.cornerIsExternal,l=c*(a?1:-1)+n,s=Math.asin(c/l)/e1,f=u?i:i+o*s;return{center:e2(e,r,l,f),circleTangency:e2(e,r,n,f),lineTangency:e2(e,r,l*Math.cos(s*e1),u?i-o*s:i),theta:s}},nJ=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,i=t.outerRadius,o=t.startAngle,a=t.endAngle,c=(0,P.sA)(a-o)*Math.min(Math.abs(a-o),359.999),u=o+c,l=e2(e,r,i,o),s=e2(e,r,i,u),f="M ".concat(l.x,",").concat(l.y,"\n A ").concat(i,",").concat(i,",0,\n ").concat(+(Math.abs(c)>180),",").concat(+(o>u),",\n ").concat(s.x,",").concat(s.y,"\n ");if(n>0){var p=e2(e,r,n,o),y=e2(e,r,n,u);f+="L ".concat(y.x,",").concat(y.y,"\n A ").concat(n,",").concat(n,",0,\n ").concat(+(Math.abs(c)>180),",").concat(+(o<=u),",\n ").concat(p.x,",").concat(p.y," Z")}else f+="L ".concat(e,",").concat(r," Z");return f},nK=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,i=t.outerRadius,o=t.cornerRadius,a=t.forceCornerRadius,c=t.cornerIsExternal,u=t.startAngle,l=t.endAngle,s=(0,P.sA)(l-u),f=nG({cx:e,cy:r,radius:i,angle:u,sign:s,cornerRadius:o,cornerIsExternal:c}),p=f.circleTangency,y=f.lineTangency,d=f.theta,h=nG({cx:e,cy:r,radius:i,angle:l,sign:-s,cornerRadius:o,cornerIsExternal:c}),v=h.circleTangency,b=h.lineTangency,m=h.theta,g=c?Math.abs(u-l):Math.abs(u-l)-d-m;if(g<0)return a?"M ".concat(y.x,",").concat(y.y,"\n a").concat(o,",").concat(o,",0,0,1,").concat(2*o,",0\n a").concat(o,",").concat(o,",0,0,1,").concat(-(2*o),",0\n "):nJ({cx:e,cy:r,innerRadius:n,outerRadius:i,startAngle:u,endAngle:l});var O="M ".concat(y.x,",").concat(y.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(s<0),",").concat(p.x,",").concat(p.y,"\n A").concat(i,",").concat(i,",0,").concat(+(g>180),",").concat(+(s<0),",").concat(v.x,",").concat(v.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(s<0),",").concat(b.x,",").concat(b.y,"\n ");if(n>0){var x=nG({cx:e,cy:r,radius:n,angle:u,sign:s,isExternal:!0,cornerRadius:o,cornerIsExternal:c}),w=x.circleTangency,j=x.lineTangency,A=x.theta,S=nG({cx:e,cy:r,radius:n,angle:l,sign:-s,isExternal:!0,cornerRadius:o,cornerIsExternal:c}),E=S.circleTangency,k=S.lineTangency,M=S.theta,T=c?Math.abs(u-l):Math.abs(u-l)-A-M;if(T<0&&0===o)return"".concat(O,"L").concat(e,",").concat(r,"Z");O+="L".concat(k.x,",").concat(k.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(s<0),",").concat(E.x,",").concat(E.y,"\n A").concat(n,",").concat(n,",0,").concat(+(T>180),",").concat(+(s>0),",").concat(w.x,",").concat(w.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(s<0),",").concat(j.x,",").concat(j.y,"Z")}else O+="L".concat(e,",").concat(r,"Z");return O},nH={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},n$=function(t){var e,r=nV(nV({},nH),t),n=r.cx,o=r.cy,a=r.innerRadius,l=r.outerRadius,s=r.cornerRadius,f=r.forceCornerRadius,p=r.cornerIsExternal,y=r.startAngle,d=r.endAngle,h=r.className;if(l<a||y===d)return null;var v=(0,c.A)("recharts-sector",h),b=l-a,m=(0,P.F4)(s,b,0,!0);return e=m>0&&360>Math.abs(y-d)?nK({cx:n,cy:o,innerRadius:a,outerRadius:l,cornerRadius:Math.min(m,b/2),forceCornerRadius:f,cornerIsExternal:p,startAngle:y,endAngle:d}):nJ({cx:n,cy:o,innerRadius:a,outerRadius:l,startAngle:y,endAngle:d}),i.createElement("path",nW({},(0,u.J9)(r,!0),{className:v,d:e,role:"img"}))},nY=r(93279),nZ=["option","shapeType","propTransformer","activeClassName","isActive"];function nQ(t){return(nQ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n0(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function n1(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n0(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=nQ(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=nQ(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==nQ(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n0(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function n2(t){var e=t.shapeType,r=t.elementProps;switch(e){case"rectangle":return i.createElement(nN,r);case"trapezoid":return i.createElement(nF,r);case"sector":return i.createElement(n$,r);case"symbols":if("symbols"===e)return i.createElement(nY.i,r);break;default:return null}}function n5(t){var e,r=t.option,n=t.shapeType,o=t.propTransformer,c=t.activeClassName,u=t.isActive,l=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,nZ);if((0,i.isValidElement)(r))e=(0,i.cloneElement)(r,n1(n1({},l),(0,i.isValidElement)(r)?r.props:r));else if(a()(r))e=r(l);else if(nw()(r)&&!nA()(r)){var s=(void 0===o?function(t,e){return n1(n1({},e),t)}:o)(r,l);e=i.createElement(n2,{shapeType:n,elementProps:s})}else e=i.createElement(n2,{shapeType:n,elementProps:l});return u?i.createElement(f,{className:void 0===c?"recharts-active-shape":c},e):e}function n8(t,e){return null!=e&&"trapezoids"in t.props}function n6(t,e){return null!=e&&"sectors"in t.props}function n7(t,e){return null!=e&&"points"in t.props}function n3(t,e){var r,n,i=t.x===(null==e||null==(r=e.labelViewBox)?void 0:r.x)||t.x===e.x,o=t.y===(null==e||null==(n=e.labelViewBox)?void 0:n.y)||t.y===e.y;return i&&o}function n9(t,e){var r=t.endAngle===e.endAngle,n=t.startAngle===e.startAngle;return r&&n}function n4(t,e){var r=t.x===e.x,n=t.y===e.y,i=t.z===e.z;return r&&n&&i}function it(t){return(it="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ie(){return(ie=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function ir(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function ii(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ir(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=it(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=it(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==it(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ir(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function io(t){return"string"==typeof t?parseInt(t,10):t}function ia(t,e){var r=Number("".concat(e.cx||t.cx)),n=Number("".concat(e.cy||t.cy));return ii(ii(ii({},e),t),{},{cx:r,cy:n})}function ic(t){return i.createElement(n5,ie({shapeType:"sector",propTransformer:ia},t))}var iu=r(64676),il=r.n(iu),is=r(88491),ip=r.n(is);function iy(t){return(iy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var id=["offset"];function ih(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function iv(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function ib(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?iv(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=iy(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=iy(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==iy(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):iv(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function im(){return(im=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var ig=function(t){var e=t.value,r=t.formatter,n=S()(t.children)?e:t.children;return a()(r)?r(n):n},iO=function(t,e,r){var n,o,a=t.position,u=t.viewBox,l=t.offset,s=t.className,f=u.cx,p=u.cy,y=u.innerRadius,d=u.outerRadius,h=u.startAngle,v=u.endAngle,b=u.clockWise,m=(y+d)/2,g=(0,P.sA)(v-h)*Math.min(Math.abs(v-h),360),O=g>=0?1:-1;"insideStart"===a?(n=h+O*l,o=b):"insideEnd"===a?(n=v-O*l,o=!b):"end"===a&&(n=v+O*l,o=b),o=g<=0?o:!o;var x=e2(f,p,m,n),w=e2(f,p,m,n+(o?1:-1)*359),j="M".concat(x.x,",").concat(x.y,"\n A").concat(m,",").concat(m,",0,1,").concat(+!o,",\n ").concat(w.x,",").concat(w.y),A=S()(t.id)?(0,P.NF)("recharts-radial-line-"):t.id;return i.createElement("text",im({},r,{dominantBaseline:"central",className:(0,c.A)("recharts-radial-bar-label",s)}),i.createElement("defs",null,i.createElement("path",{id:A,d:j})),i.createElement("textPath",{xlinkHref:"#".concat(A)},e))},ix=function(t){var e=t.viewBox,r=t.offset,n=t.position,i=e.cx,o=e.cy,a=e.innerRadius,c=e.outerRadius,u=(e.startAngle+e.endAngle)/2;if("outside"===n){var l=e2(i,o,c+r,u),s=l.x;return{x:s,y:l.y,textAnchor:s>=i?"start":"end",verticalAnchor:"middle"}}if("center"===n)return{x:i,y:o,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===n)return{x:i,y:o,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===n)return{x:i,y:o,textAnchor:"middle",verticalAnchor:"end"};var f=e2(i,o,(a+c)/2,u);return{x:f.x,y:f.y,textAnchor:"middle",verticalAnchor:"middle"}},iw=function(t){var e=t.viewBox,r=t.parentViewBox,n=t.offset,i=t.position,o=e.x,a=e.y,c=e.width,u=e.height,l=u>=0?1:-1,s=l*n,f=l>0?"end":"start",p=l>0?"start":"end",y=c>=0?1:-1,d=y*n,h=y>0?"end":"start",v=y>0?"start":"end";if("top"===i)return ib(ib({},{x:o+c/2,y:a-l*n,textAnchor:"middle",verticalAnchor:f}),r?{height:Math.max(a-r.y,0),width:c}:{});if("bottom"===i)return ib(ib({},{x:o+c/2,y:a+u+s,textAnchor:"middle",verticalAnchor:p}),r?{height:Math.max(r.y+r.height-(a+u),0),width:c}:{});if("left"===i){var b={x:o-d,y:a+u/2,textAnchor:h,verticalAnchor:"middle"};return ib(ib({},b),r?{width:Math.max(b.x-r.x,0),height:u}:{})}if("right"===i){var m={x:o+c+d,y:a+u/2,textAnchor:v,verticalAnchor:"middle"};return ib(ib({},m),r?{width:Math.max(r.x+r.width-m.x,0),height:u}:{})}var g=r?{width:c,height:u}:{};return"insideLeft"===i?ib({x:o+d,y:a+u/2,textAnchor:v,verticalAnchor:"middle"},g):"insideRight"===i?ib({x:o+c-d,y:a+u/2,textAnchor:h,verticalAnchor:"middle"},g):"insideTop"===i?ib({x:o+c/2,y:a+s,textAnchor:"middle",verticalAnchor:p},g):"insideBottom"===i?ib({x:o+c/2,y:a+u-s,textAnchor:"middle",verticalAnchor:f},g):"insideTopLeft"===i?ib({x:o+d,y:a+s,textAnchor:v,verticalAnchor:p},g):"insideTopRight"===i?ib({x:o+c-d,y:a+s,textAnchor:h,verticalAnchor:p},g):"insideBottomLeft"===i?ib({x:o+d,y:a+u-s,textAnchor:v,verticalAnchor:f},g):"insideBottomRight"===i?ib({x:o+c-d,y:a+u-s,textAnchor:h,verticalAnchor:f},g):il()(i)&&((0,P.Et)(i.x)||(0,P._3)(i.x))&&((0,P.Et)(i.y)||(0,P._3)(i.y))?ib({x:o+(0,P.F4)(i.x,c),y:a+(0,P.F4)(i.y,u),textAnchor:"end",verticalAnchor:"end"},g):ib({x:o+c/2,y:a+u/2,textAnchor:"middle",verticalAnchor:"middle"},g)};function ij(t){var e,r=t.offset,n=ib({offset:void 0===r?5:r},function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,id)),o=n.viewBox,l=n.position,s=n.value,f=n.children,p=n.content,y=n.className,d=n.textBreakAll;if(!o||S()(s)&&S()(f)&&!(0,i.isValidElement)(p)&&!a()(p))return null;if((0,i.isValidElement)(p))return(0,i.cloneElement)(p,n);if(a()(p)){if(e=(0,i.createElement)(p,n),(0,i.isValidElement)(e))return e}else e=ig(n);var h="cx"in o&&(0,P.Et)(o.cx),v=(0,u.J9)(n,!0);if(h&&("insideStart"===l||"insideEnd"===l||"end"===l))return iO(n,e,v);var b=h?ix(n):iw(n);return i.createElement(tc,im({className:(0,c.A)("recharts-label",void 0===y?"":y)},v,b,{breakAll:d}),e)}ij.displayName="Label";var iA=function(t){var e=t.cx,r=t.cy,n=t.angle,i=t.startAngle,o=t.endAngle,a=t.r,c=t.radius,u=t.innerRadius,l=t.outerRadius,s=t.x,f=t.y,p=t.top,y=t.left,d=t.width,h=t.height,v=t.clockWise,b=t.labelViewBox;if(b)return b;if((0,P.Et)(d)&&(0,P.Et)(h)){if((0,P.Et)(s)&&(0,P.Et)(f))return{x:s,y:f,width:d,height:h};if((0,P.Et)(p)&&(0,P.Et)(y))return{x:p,y:y,width:d,height:h}}return(0,P.Et)(s)&&(0,P.Et)(f)?{x:s,y:f,width:0,height:0}:(0,P.Et)(e)&&(0,P.Et)(r)?{cx:e,cy:r,startAngle:i||n||0,endAngle:o||n||0,innerRadius:u||0,outerRadius:l||c||a||0,clockWise:v}:t.viewBox?t.viewBox:{}};function iS(t){return(iS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}ij.parseViewBox=iA,ij.renderCallByParent=function(t,e){var r,n,o=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!t||!t.children&&o&&!t.label)return null;var c=t.children,l=iA(t),s=(0,u.aS)(c,ij).map(function(t,r){return(0,i.cloneElement)(t,{viewBox:e||l,key:"label-".concat(r)})});if(!o)return s;return[(r=t.label,n=e||l,!r?null:!0===r?i.createElement(ij,{key:"label-implicit",viewBox:n}):(0,P.vh)(r)?i.createElement(ij,{key:"label-implicit",viewBox:n,value:r}):(0,i.isValidElement)(r)?r.type===ij?(0,i.cloneElement)(r,{key:"label-implicit",viewBox:n}):i.createElement(ij,{key:"label-implicit",content:r,viewBox:n}):a()(r)?i.createElement(ij,{key:"label-implicit",content:r,viewBox:n}):il()(r)?i.createElement(ij,im({viewBox:n},r,{key:"label-implicit"})):null)].concat(function(t){if(Array.isArray(t))return ih(t)}(s)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(s)||function(t,e){if(t){if("string"==typeof t)return ih(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ih(t,e)}}(s)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())};var iP=["valueAccessor"],iE=["data","dataKey","clockWise","id","textBreakAll"];function ik(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function iM(){return(iM=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function iT(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function iI(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?iT(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=iS(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=iS(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==iS(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):iT(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function iD(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}var iN=function(t){return Array.isArray(t.value)?ip()(t.value):t.value};function iC(t){var e=t.valueAccessor,r=void 0===e?iN:e,n=iD(t,iP),o=n.data,a=n.dataKey,c=n.clockWise,l=n.id,s=n.textBreakAll,p=iD(n,iE);return o&&o.length?i.createElement(f,{className:"recharts-label-list"},o.map(function(t,e){var n=S()(a)?r(t,e):ev(t&&t.payload,a),o=S()(l)?{}:{id:"".concat(l,"-").concat(e)};return i.createElement(ij,iM({},(0,u.J9)(t,!0),p,o,{parentViewBox:t.parentViewBox,value:n,textBreakAll:s,viewBox:ij.parseViewBox(S()(c)?t:iI(iI({},t),{},{clockWise:c})),key:"label-".concat(e),index:e}))})):null}iC.displayName="LabelList",iC.renderCallByParent=function(t,e){var r,n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!t||!t.children&&n&&!t.label)return null;var o=t.children,c=(0,u.aS)(o,iC).map(function(t,r){return(0,i.cloneElement)(t,{data:e,key:"labelList-".concat(r)})});return n?[(r=t.label,!r?null:!0===r?i.createElement(iC,{key:"labelList-implicit",data:e}):i.isValidElement(r)||a()(r)?i.createElement(iC,{key:"labelList-implicit",data:e,content:r}):il()(r)?i.createElement(iC,iM({data:e},r,{key:"labelList-implicit"})):null)].concat(function(t){if(Array.isArray(t))return ik(t)}(c)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(c)||function(t,e){if(t){if("string"==typeof t)return ik(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ik(t,e)}}(c)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):c};var iR=function(t){return null};iR.displayName="Cell";var iB=["shape","activeShape","activeIndex","cornerRadius"],iL=["value","background"];function i_(t){return(i_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function iz(){return(iz=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function iq(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function iF(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?iq(Object(r),!0).forEach(function(e){iJ(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):iq(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function iX(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function iW(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,iK(n.key),n)}}function iU(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(iU=function(){return!!t})()}function iV(t){return(iV=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function iG(t,e){return(iG=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function iJ(t,e,r){return(e=iK(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function iK(t){var e=function(t,e){if("object"!=i_(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=i_(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i_(e)?e:e+""}var iH=function(t){var e,r;function n(){var t,e,r;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");for(var i=arguments.length,o=Array(i),c=0;c<i;c++)o[c]=arguments[c];return e=n,r=[].concat(o),e=iV(e),iJ(t=function(t,e){if(e&&("object"===i_(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,iU()?Reflect.construct(e,r||[],iV(this).constructor):e.apply(this,r)),"state",{isAnimationFinished:!1}),iJ(t,"handleAnimationEnd",function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),a()(e)&&e()}),iJ(t,"handleAnimationStart",function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),a()(e)&&e()}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&iG(n,t),e=[{key:"getDeltaAngle",value:function(){var t=this.props,e=t.startAngle,r=t.endAngle;return(0,P.sA)(r-e)*Math.min(Math.abs(r-e),360)}},{key:"renderSectorsStatically",value:function(t){var e=this,r=this.props,n=r.shape,o=r.activeShape,a=r.activeIndex,c=r.cornerRadius,l=iX(r,iB),s=(0,u.J9)(l,!1);return t.map(function(t,r){var u=r===a,f=iF(iF(iF(iF({},s),{},{cornerRadius:io(c)},t),(0,p.XC)(e.props,t,r)),{},{className:"recharts-radial-bar-sector ".concat(t.className),forceCornerRadius:l.forceCornerRadius,cornerIsExternal:l.cornerIsExternal,isActive:u,option:u?o:n});return i.createElement(ic,iz({},f,{key:"sector-".concat(r)}))})}},{key:"renderSectorsWithAnimation",value:function(){var t=this,e=this.props,r=e.data,n=e.isAnimationActive,o=e.animationBegin,a=e.animationDuration,c=e.animationEasing,u=e.animationId,l=this.state.prevData;return i.createElement(nO,{begin:o,duration:a,isActive:n,easing:c,from:{t:0},to:{t:1},key:"radialBar-".concat(u),onAnimationStart:this.handleAnimationStart,onAnimationEnd:this.handleAnimationEnd},function(e){var n=e.t,o=r.map(function(t,e){var r=l&&l[e];if(r){var i=(0,P.Dj)(r.startAngle,t.startAngle),o=(0,P.Dj)(r.endAngle,t.endAngle);return iF(iF({},t),{},{startAngle:i(n),endAngle:o(n)})}var a=t.endAngle,c=t.startAngle,u=(0,P.Dj)(c,a);return iF(iF({},t),{},{endAngle:u(n)})});return i.createElement(f,null,t.renderSectorsStatically(o))})}},{key:"renderSectors",value:function(){var t=this.props,e=t.data,r=t.isAnimationActive,n=this.state.prevData;return r&&e&&e.length&&(!n||!tD()(n,e))?this.renderSectorsWithAnimation():this.renderSectorsStatically(e)}},{key:"renderBackground",value:function(t){var e=this,r=this.props.cornerRadius,n=(0,u.J9)(this.props.background,!1);return t.map(function(t,o){t.value;var a=t.background,u=iX(t,iL);if(!a)return null;var l=iF(iF(iF(iF(iF({cornerRadius:io(r)},u),{},{fill:"#eee"},a),n),(0,p.XC)(e.props,t,o)),{},{index:o,className:(0,c.A)("recharts-radial-bar-background-sector",null==n?void 0:n.className),option:a,isActive:!1});return i.createElement(ic,iz({},l,{key:"sector-".concat(o)}))})}},{key:"render",value:function(){var t=this.props,e=t.hide,r=t.data,n=t.className,o=t.background,a=t.isAnimationActive;if(e||!r||!r.length)return null;var u=this.state.isAnimationFinished,l=(0,c.A)("recharts-area",n);return i.createElement(f,{className:l},o&&i.createElement(f,{className:"recharts-radial-bar-background"},this.renderBackground(r)),i.createElement(f,{className:"recharts-radial-bar-sectors"},this.renderSectors()),(!a||u)&&iC.renderCallByParent(iF({},this.props),r))}}],r=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curData:t.data,prevData:e.curData}:t.data!==e.curData?{curData:t.data}:null}}],e&&iW(n.prototype,e),r&&iW(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(i.PureComponent);iJ(iH,"displayName","RadialBar"),iJ(iH,"defaultProps",{angleAxisId:0,radiusAxisId:0,minPointSize:0,hide:!1,legendType:"rect",data:[],isAnimationActive:!E.m.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease",forceCornerRadius:!1,cornerIsExternal:!1}),iJ(iH,"getComposedData",function(t){var e=t.item,r=t.props,n=t.radiusAxis,i=t.radiusAxisTicks,o=t.angleAxis,a=t.angleAxisTicks,c=t.displayedData,l=t.dataKey,s=t.stackedData,f=t.barPosition,p=t.bandSize,y=t.dataStartIndex,d=eN(f,e);if(!d)return null;var h=o.cx,v=o.cy,b=r.layout,m=e.props,g=m.children,O=m.minPointSize,x="radial"===b?o:n,w=s?x.scale.domain():null,j=eF({numericAxis:x}),A=(0,u.aS)(g,iR);return{data:c.map(function(t,c){var u,f,m,g,x,S;if(s?u=eC(s[y+c],w):Array.isArray(u=ev(t,l))||(u=[j,u]),"radial"===b){f=eq({axis:n,ticks:i,bandSize:p,offset:d.offset,entry:t,index:c}),x=o.scale(u[1]),g=o.scale(u[0]),m=f+d.size;var E=x-g;Math.abs(O)>0&&Math.abs(E)<Math.abs(O)&&(x+=(0,P.sA)(E||O)*(Math.abs(O)-Math.abs(E))),S={background:{cx:h,cy:v,innerRadius:f,outerRadius:m,startAngle:r.startAngle,endAngle:r.endAngle}}}else{f=n.scale(u[0]),m=n.scale(u[1]),x=(g=eq({axis:o,ticks:a,bandSize:p,offset:d.offset,entry:t,index:c}))+d.size;var k=m-f;Math.abs(O)>0&&Math.abs(k)<Math.abs(O)&&(m+=(0,P.sA)(k||O)*(Math.abs(O)-Math.abs(k)))}return iF(iF(iF(iF({},t),S),{},{payload:t,value:s?u:u[1],cx:h,cy:v,innerRadius:f,outerRadius:m,startAngle:g,endAngle:x},A&&A[c]&&A[c].props),{},{tooltipPayload:[eH(e,t)],tooltipPosition:e2(h,v,(f+m)/2,(g+x)/2)})}),layout:b}});var i$=r(26517),iY=r(44217),iZ=r.n(iY),iQ=r(76334),i0=r.n(iQ),i1=["x","y"];function i2(t){return(i2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i5(){return(i5=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function i8(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function i6(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i8(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=i2(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=i2(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i2(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i8(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function i7(t,e){var r=t.x,n=t.y,i=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,i1),o=parseInt("".concat(r),10),a=parseInt("".concat(n),10),c=parseInt("".concat(e.height||i.height),10),u=parseInt("".concat(e.width||i.width),10);return i6(i6(i6(i6(i6({},e),i),o?{x:o}:{}),a?{y:a}:{}),{},{height:c,width:u,name:e.name,radius:e.radius})}function i3(t){return i.createElement(n5,i5({shapeType:"rectangle",propTransformer:i7,activeClassName:"recharts-active-bar"},t))}var i9=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(r,n){if("number"==typeof t)return t;var i=(0,P.Et)(r)||(0,P.uy)(r);return i?t(r,n):(i||t8(!1),e)}},i4=["value","background"];function ot(t){return(ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function oe(){return(oe=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function or(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function on(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?or(Object(r),!0).forEach(function(e){ou(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):or(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function oi(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ol(n.key),n)}}function oo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(oo=function(){return!!t})()}function oa(t){return(oa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function oc(t,e){return(oc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function ou(t,e,r){return(e=ol(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ol(t){var e=function(t,e){if("object"!=ot(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ot(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ot(e)?e:e+""}var os=function(t){var e,r;function n(){var t,e,r;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return e=n,r=[].concat(o),e=oa(e),ou(t=function(t,e){if(e&&("object"===ot(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,oo()?Reflect.construct(e,r||[],oa(this).constructor):e.apply(this,r)),"state",{isAnimationFinished:!1}),ou(t,"id",(0,P.NF)("recharts-bar-")),ou(t,"handleAnimationEnd",function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),e&&e()}),ou(t,"handleAnimationStart",function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),e&&e()}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&oc(n,t),e=[{key:"renderRectanglesStatically",value:function(t){var e=this,r=this.props,n=r.shape,o=r.dataKey,a=r.activeIndex,c=r.activeBar,l=(0,u.J9)(this.props,!1);return t&&t.map(function(t,r){var u=r===a,s=on(on(on({},l),t),{},{isActive:u,option:u?c:n,index:r,dataKey:o,onAnimationStart:e.handleAnimationStart,onAnimationEnd:e.handleAnimationEnd});return i.createElement(f,oe({className:"recharts-bar-rectangle"},(0,p.XC)(e.props,t,r),{key:"rectangle-".concat(null==t?void 0:t.x,"-").concat(null==t?void 0:t.y,"-").concat(null==t?void 0:t.value,"-").concat(r)}),i.createElement(i3,s))})}},{key:"renderRectanglesWithAnimation",value:function(){var t=this,e=this.props,r=e.data,n=e.layout,o=e.isAnimationActive,a=e.animationBegin,c=e.animationDuration,u=e.animationEasing,l=e.animationId,s=this.state.prevData;return i.createElement(nO,{begin:a,duration:c,isActive:o,easing:u,from:{t:0},to:{t:1},key:"bar-".concat(l),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(e){var o=e.t,a=r.map(function(t,e){var r=s&&s[e];if(r){var i=(0,P.Dj)(r.x,t.x),a=(0,P.Dj)(r.y,t.y),c=(0,P.Dj)(r.width,t.width),u=(0,P.Dj)(r.height,t.height);return on(on({},t),{},{x:i(o),y:a(o),width:c(o),height:u(o)})}if("horizontal"===n){var l=(0,P.Dj)(0,t.height)(o);return on(on({},t),{},{y:t.y+t.height-l,height:l})}var f=(0,P.Dj)(0,t.width)(o);return on(on({},t),{},{width:f})});return i.createElement(f,null,t.renderRectanglesStatically(a))})}},{key:"renderRectangles",value:function(){var t=this.props,e=t.data,r=t.isAnimationActive,n=this.state.prevData;return r&&e&&e.length&&(!n||!tD()(n,e))?this.renderRectanglesWithAnimation():this.renderRectanglesStatically(e)}},{key:"renderBackground",value:function(){var t=this,e=this.props,r=e.data,n=e.dataKey,o=e.activeIndex,a=(0,u.J9)(this.props.background,!1);return r.map(function(e,r){e.value;var c=e.background,u=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(e,i4);if(!c)return null;var l=on(on(on(on(on({},u),{},{fill:"#eee"},c),a),(0,p.XC)(t.props,e,r)),{},{onAnimationStart:t.handleAnimationStart,onAnimationEnd:t.handleAnimationEnd,dataKey:n,index:r,className:"recharts-bar-background-rectangle"});return i.createElement(i3,oe({key:"background-bar-".concat(r),option:t.props.background,isActive:r===o},l))})}},{key:"renderErrorBar",value:function(t,e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,n=r.data,o=r.xAxis,a=r.yAxis,c=r.layout,l=r.children,s=(0,u.aS)(l,ei);if(!s)return null;var p="vertical"===c?n[0].height/2:n[0].width/2,y=function(t,e){var r=Array.isArray(t.value)?t.value[1]:t.value;return{x:t.x,y:t.y,value:r,errorVal:ev(t,e)}};return i.createElement(f,{clipPath:t?"url(#clipPath-".concat(e,")"):null},s.map(function(t){return i.cloneElement(t,{key:"error-bar-".concat(e,"-").concat(t.props.dataKey),data:n,xAxis:o,yAxis:a,layout:c,offset:p,dataPointFormatter:y})}))}},{key:"render",value:function(){var t=this.props,e=t.hide,r=t.data,n=t.className,o=t.xAxis,a=t.yAxis,u=t.left,l=t.top,s=t.width,p=t.height,y=t.isAnimationActive,d=t.background,h=t.id;if(e||!r||!r.length)return null;var v=this.state.isAnimationFinished,b=(0,c.A)("recharts-bar",n),m=o&&o.allowDataOverflow,g=a&&a.allowDataOverflow,O=m||g,x=S()(h)?this.id:h;return i.createElement(f,{className:b},m||g?i.createElement("defs",null,i.createElement("clipPath",{id:"clipPath-".concat(x)},i.createElement("rect",{x:m?u:u-s/2,y:g?l:l-p/2,width:m?s:2*s,height:g?p:2*p}))):null,i.createElement(f,{className:"recharts-bar-rectangles",clipPath:O?"url(#clipPath-".concat(x,")"):null},d?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(O,x),(!y||v)&&iC.renderCallByParent(this.props,r))}}],r=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curData:t.data,prevData:e.curData}:t.data!==e.curData?{curData:t.data}:null}}],e&&oi(n.prototype,e),r&&oi(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(i.PureComponent);function of(t){return(of="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function op(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ov(n.key),n)}}function oy(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function od(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?oy(Object(r),!0).forEach(function(e){oh(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):oy(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function oh(t,e,r){return(e=ov(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ov(t){var e=function(t,e){if("object"!=of(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=of(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==of(e)?e:e+""}ou(os,"displayName","Bar"),ou(os,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!E.m.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"}),ou(os,"getComposedData",function(t){var e=t.props,r=t.item,n=t.barPosition,i=t.bandSize,o=t.xAxis,a=t.yAxis,c=t.xAxisTicks,l=t.yAxisTicks,s=t.stackedData,f=t.dataStartIndex,p=t.displayedData,y=t.offset,d=eN(n,r);if(!d)return null;var h=e.layout,v=r.type.defaultProps,b=void 0!==v?on(on({},v),r.props):r.props,m=b.dataKey,g=b.children,O=b.minPointSize,x="horizontal"===h?a:o,w=s?x.scale.domain():null,j=eF({numericAxis:x}),A=(0,u.aS)(g,iR),S=p.map(function(t,e){s?u=eC(s[f+e],w):Array.isArray(u=ev(t,m))||(u=[j,u]);var n=i9(O,os.defaultProps.minPointSize)(u[1],e);if("horizontal"===h){var u,p,y,v,b,g,x,S=[a.scale(u[0]),a.scale(u[1])],E=S[0],k=S[1];p=eq({axis:o,ticks:c,bandSize:i,offset:d.offset,entry:t,index:e}),y=null!=(x=null!=k?k:E)?x:void 0,v=d.size;var M=E-k;if(b=Number.isNaN(M)?0:M,g={x:p,y:a.y,width:v,height:a.height},Math.abs(n)>0&&Math.abs(b)<Math.abs(n)){var T=(0,P.sA)(b||n)*(Math.abs(n)-Math.abs(b));y-=T,b+=T}}else{var I=[o.scale(u[0]),o.scale(u[1])],D=I[0],N=I[1];if(p=D,y=eq({axis:a,ticks:l,bandSize:i,offset:d.offset,entry:t,index:e}),v=N-D,b=d.size,g={x:o.x,y:y,width:o.width,height:b},Math.abs(n)>0&&Math.abs(v)<Math.abs(n)){var C=(0,P.sA)(v||n)*(Math.abs(n)-Math.abs(v));v+=C}}return on(on(on({},t),{},{x:p,y:y,width:v,height:b,value:s?u:u[1],payload:t,background:g},A&&A[e]&&A[e].props),{},{tooltipPayload:[eH(r,t)],tooltipPosition:{x:p+v/2,y:y+b/2}})});return on({data:S,layout:h},y)});var ob=function(t,e,r,n,i){var o=t.width,a=t.height,c=t.layout,l=t.children,s=Object.keys(e),f={left:r.left,leftMirror:r.left,right:o-r.right,rightMirror:o-r.right,top:r.top,topMirror:r.top,bottom:a-r.bottom,bottomMirror:a-r.bottom},p=!!(0,u.BU)(l,os);return s.reduce(function(o,a){var u,l,s,y,d,h=e[a],v=h.orientation,b=h.domain,m=h.padding,g=void 0===m?{}:m,O=h.mirror,x=h.reversed,w="".concat(v).concat(O?"Mirror":"");if("number"===h.type&&("gap"===h.padding||"no-gap"===h.padding)){var j=b[1]-b[0],A=1/0,S=h.categoricalDomain.sort(P.ck);if(S.forEach(function(t,e){e>0&&(A=Math.min((t||0)-(S[e-1]||0),A))}),Number.isFinite(A)){var E=A/j,k="vertical"===h.layout?r.height:r.width;if("gap"===h.padding&&(u=E*k/2),"no-gap"===h.padding){var M=(0,P.F4)(t.barCategoryGap,E*k),T=E*k/2;u=T-M-(T-M)/k*M}}}l="xAxis"===n?[r.left+(g.left||0)+(u||0),r.left+r.width-(g.right||0)-(u||0)]:"yAxis"===n?"horizontal"===c?[r.top+r.height-(g.bottom||0),r.top+(g.top||0)]:[r.top+(g.top||0)+(u||0),r.top+r.height-(g.bottom||0)-(u||0)]:h.range,x&&(l=[l[1],l[0]]);var I=eI(h,i,p),D=I.scale,N=I.realScaleType;D.domain(b).range(l),eD(D);var C=e_(D,od(od({},h),{},{realScaleType:N}));"xAxis"===n?(d="top"===v&&!O||"bottom"===v&&O,s=r.left,y=f[w]-d*h.height):"yAxis"===n&&(d="left"===v&&!O||"right"===v&&O,s=f[w]-d*h.width,y=r.top);var R=od(od(od({},h),C),{},{realScaleType:N,x:s,y:y,scale:D,width:"xAxis"===n?r.width:h.width,height:"yAxis"===n?r.height:h.height});return R.bandSize=eJ(R,C),h.hide||"xAxis"!==n?h.hide||(f[w]+=(d?-1:1)*R.width):f[w]+=(d?-1:1)*R.height,od(od({},o),{},oh({},a,R))},{})},om=function(t,e){var r=t.x,n=t.y,i=e.x,o=e.y;return{x:Math.min(r,i),y:Math.min(n,o),width:Math.abs(i-r),height:Math.abs(o-n)}},og=function(){var t,e;function r(t){if(!(this instanceof r))throw TypeError("Cannot call a class as a function");this.scale=t}return t=[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.bandAware,n=e.position;if(void 0!==t){if(n)switch(n){case"start":default:return this.scale(t);case"middle":var i=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+i;case"end":var o=this.bandwidth?this.bandwidth():0;return this.scale(t)+o}if(r){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+a}return this.scale(t)}}},{key:"isInRange",value:function(t){var e=this.range(),r=e[0],n=e[e.length-1];return r<=n?t>=r&&t<=n:t>=n&&t<=r}}],e=[{key:"create",value:function(t){return new r(t)}}],t&&op(r.prototype,t),e&&op(r,e),Object.defineProperty(r,"prototype",{writable:!1}),r}();oh(og,"EPS",1e-4);var oO=function(t){var e=Object.keys(t).reduce(function(e,r){return od(od({},e),{},oh({},r,og.create(t[r])))},{});return od(od({},e),{},{apply:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bandAware,i=r.position;return iZ()(t,function(t,r){return e[r].apply(t,{bandAware:n,position:i})})},isInRange:function(t){return i0()(t,function(t,r){return e[r].isInRange(t)})}})},ox=function(t){var e=t.width,r=t.height,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=(n%180+180)%180*Math.PI/180,o=Math.atan(r/e);return Math.abs(i>o&&i<Math.PI-o?r/Math.sin(i):e/Math.cos(i))};function ow(t,e,r){if(e<1)return[];if(1===e&&void 0===r)return t;for(var n=[],i=0;i<t.length;i+=e)if(void 0!==r&&!0!==r(t[i]))return;else n.push(t[i]);return n}function oj(t,e,r,n,i){if(t*e<t*n||t*e>t*i)return!1;var o=r();return t*(e-t*o/2-n)>=0&&t*(e+t*o/2-i)<=0}function oA(t){return(oA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function oS(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function oP(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?oS(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=oA(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=oA(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==oA(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):oS(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function oE(t,e,r){var n,i,o,c,u,l=t.tick,s=t.ticks,f=t.viewBox,p=t.minTickGap,y=t.orientation,d=t.interval,h=t.tickFormatter,v=t.unit,b=t.angle;if(!s||!s.length||!l)return[];if((0,P.Et)(d)||E.m.isSsr)return ow(s,("number"==typeof d&&(0,P.Et)(d)?d:0)+1);var m="top"===y||"bottom"===y?"width":"height",g=v&&"width"===m?C(v,{fontSize:e,letterSpacing:r}):{width:0,height:0},O=function(t,n){var i,o=a()(h)?h(t.value,n):t.value;return"width"===m?(i=C(o,{fontSize:e,letterSpacing:r}),ox({width:i.width+g.width,height:i.height+g.height},b)):C(o,{fontSize:e,letterSpacing:r})[m]},x=s.length>=2?(0,P.sA)(s[1].coordinate-s[0].coordinate):1,w=(n="width"===m,i=f.x,o=f.y,c=f.width,u=f.height,1===x?{start:n?i:o,end:n?i+c:o+u}:{start:n?i+c:o+u,end:n?i:o});return"equidistantPreserveStart"===d?function(t,e,r,n,i){for(var o,a=(n||[]).slice(),c=e.start,u=e.end,l=0,s=1,f=c;s<=a.length;)if(o=function(){var e,o=null==n?void 0:n[l];if(void 0===o)return{v:ow(n,s)};var a=l,p=function(){return void 0===e&&(e=r(o,a)),e},y=o.coordinate,d=0===l||oj(t,y,p,f,u);d||(l=0,f=c,s+=1),d&&(f=y+t*(p()/2+i),l+=s)}())return o.v;return[]}(x,w,O,s,p):("preserveStart"===d||"preserveStartEnd"===d?function(t,e,r,n,i,o){var a=(n||[]).slice(),c=a.length,u=e.start,l=e.end;if(o){var s=n[c-1],f=r(s,c-1),p=t*(s.coordinate+t*f/2-l);a[c-1]=s=oP(oP({},s),{},{tickCoord:p>0?s.coordinate-p*t:s.coordinate}),oj(t,s.tickCoord,function(){return f},u,l)&&(l=s.tickCoord-t*(f/2+i),a[c-1]=oP(oP({},s),{},{isShow:!0}))}for(var y=o?c-1:c,d=function(e){var n,o=a[e],c=function(){return void 0===n&&(n=r(o,e)),n};if(0===e){var s=t*(o.coordinate-t*c()/2-u);a[e]=o=oP(oP({},o),{},{tickCoord:s<0?o.coordinate-s*t:o.coordinate})}else a[e]=o=oP(oP({},o),{},{tickCoord:o.coordinate});oj(t,o.tickCoord,c,u,l)&&(u=o.tickCoord+t*(c()/2+i),a[e]=oP(oP({},o),{},{isShow:!0}))},h=0;h<y;h++)d(h);return a}(x,w,O,s,p,"preserveStartEnd"===d):function(t,e,r,n,i){for(var o=(n||[]).slice(),a=o.length,c=e.start,u=e.end,l=function(e){var n,l=o[e],s=function(){return void 0===n&&(n=r(l,e)),n};if(e===a-1){var f=t*(l.coordinate+t*s()/2-u);o[e]=l=oP(oP({},l),{},{tickCoord:f>0?l.coordinate-f*t:l.coordinate})}else o[e]=l=oP(oP({},l),{},{tickCoord:l.coordinate});oj(t,l.tickCoord,s,c,u)&&(u=l.tickCoord-t*(s()/2+i),o[e]=oP(oP({},l),{},{isShow:!0}))},s=a-1;s>=0;s--)l(s);return o}(x,w,O,s,p)).filter(function(t){return t.isShow})}var ok=r(45082),oM=["viewBox"],oT=["viewBox"],oI=["ticks"];function oD(t){return(oD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function oN(){return(oN=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function oC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function oR(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?oC(Object(r),!0).forEach(function(e){oF(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):oC(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function oB(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function oL(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,oX(n.key),n)}}function o_(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(o_=function(){return!!t})()}function oz(t){return(oz=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function oq(t,e){return(oq=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function oF(t,e,r){return(e=oX(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function oX(t){var e=function(t,e){if("object"!=oD(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=oD(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==oD(e)?e:e+""}var oW=function(t){var e,r;function n(t){var e,r,i;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return r=n,i=[t],r=oz(r),(e=function(t,e){if(e&&("object"===oD(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,o_()?Reflect.construct(r,i||[],oz(this).constructor):r.apply(this,i))).state={fontSize:"",letterSpacing:""},e}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&oq(n,t),e=[{key:"shouldComponentUpdate",value:function(t,e){var r=t.viewBox,n=oB(t,oM),i=this.props,o=i.viewBox,a=oB(i,oT);return!(0,ok.b)(r,o)||!(0,ok.b)(n,a)||!(0,ok.b)(e,this.state)}},{key:"componentDidMount",value:function(){var t=this.layerReference;if(t){var e=t.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];e&&this.setState({fontSize:window.getComputedStyle(e).fontSize,letterSpacing:window.getComputedStyle(e).letterSpacing})}}},{key:"getTickLineCoord",value:function(t){var e,r,n,i,o,a,c=this.props,u=c.x,l=c.y,s=c.width,f=c.height,p=c.orientation,y=c.tickSize,d=c.mirror,h=c.tickMargin,v=d?-1:1,b=t.tickSize||y,m=(0,P.Et)(t.tickCoord)?t.tickCoord:t.coordinate;switch(p){case"top":e=r=t.coordinate,a=(n=(i=l+!d*f)-v*b)-v*h,o=m;break;case"left":n=i=t.coordinate,o=(e=(r=u+!d*s)-v*b)-v*h,a=m;break;case"right":n=i=t.coordinate,o=(e=(r=u+d*s)+v*b)+v*h,a=m;break;default:e=r=t.coordinate,a=(n=(i=l+d*f)+v*b)+v*h,o=m}return{line:{x1:e,y1:n,x2:r,y2:i},tick:{x:o,y:a}}}},{key:"getTickTextAnchor",value:function(){var t,e=this.props,r=e.orientation,n=e.mirror;switch(r){case"left":t=n?"start":"end";break;case"right":t=n?"end":"start";break;default:t="middle"}return t}},{key:"getTickVerticalAnchor",value:function(){var t=this.props,e=t.orientation,r=t.mirror,n="end";switch(e){case"left":case"right":n="middle";break;case"top":n=r?"start":"end";break;default:n=r?"end":"start"}return n}},{key:"renderAxisLine",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,o=t.height,a=t.orientation,l=t.mirror,s=t.axisLine,f=oR(oR(oR({},(0,u.J9)(this.props,!1)),(0,u.J9)(s,!1)),{},{fill:"none"});if("top"===a||"bottom"===a){var p=+("top"===a&&!l||"bottom"===a&&l);f=oR(oR({},f),{},{x1:e,y1:r+p*o,x2:e+n,y2:r+p*o})}else{var y=+("left"===a&&!l||"right"===a&&l);f=oR(oR({},f),{},{x1:e+y*n,y1:r,x2:e+y*n,y2:r+o})}return i.createElement("line",oN({},f,{className:(0,c.A)("recharts-cartesian-axis-line",tA()(s,"className"))}))}},{key:"renderTicks",value:function(t,e,r){var o=this,l=this.props,s=l.tickLine,y=l.stroke,d=l.tick,h=l.tickFormatter,v=l.unit,b=oE(oR(oR({},this.props),{},{ticks:t}),e,r),m=this.getTickTextAnchor(),g=this.getTickVerticalAnchor(),O=(0,u.J9)(this.props,!1),x=(0,u.J9)(d,!1),w=oR(oR({},O),{},{fill:"none"},(0,u.J9)(s,!1)),j=b.map(function(t,e){var r=o.getTickLineCoord(t),u=r.line,l=r.tick,j=oR(oR(oR(oR({textAnchor:m,verticalAnchor:g},O),{},{stroke:"none",fill:y},x),l),{},{index:e,payload:t,visibleTicksCount:b.length,tickFormatter:h});return i.createElement(f,oN({className:"recharts-cartesian-axis-tick",key:"tick-".concat(t.value,"-").concat(t.coordinate,"-").concat(t.tickCoord)},(0,p.XC)(o.props,t,e)),s&&i.createElement("line",oN({},w,u,{className:(0,c.A)("recharts-cartesian-axis-tick-line",tA()(s,"className"))})),d&&n.renderTickItem(d,j,"".concat(a()(h)?h(t.value,e):t.value).concat(v||"")))});return i.createElement("g",{className:"recharts-cartesian-axis-ticks"},j)}},{key:"render",value:function(){var t=this,e=this.props,r=e.axisLine,n=e.width,o=e.height,u=e.ticksGenerator,l=e.className;if(e.hide)return null;var s=this.props,p=s.ticks,y=oB(s,oI),d=p;return(a()(u)&&(d=u(p&&p.length>0?this.props:y)),n<=0||o<=0||!d||!d.length)?null:i.createElement(f,{className:(0,c.A)("recharts-cartesian-axis",l),ref:function(e){t.layerReference=e}},r&&this.renderAxisLine(),this.renderTicks(d,this.state.fontSize,this.state.letterSpacing),ij.renderCallByParent(this.props))}}],r=[{key:"renderTickItem",value:function(t,e,r){var n=(0,c.A)(e.className,"recharts-cartesian-axis-tick-value");return i.isValidElement(t)?i.cloneElement(t,oR(oR({},e),{},{className:n})):a()(t)?t(oR(oR({},e),{},{className:n})):i.createElement(tc,oN({},e,{className:"recharts-cartesian-axis-tick-value"}),r)}}],e&&oL(n.prototype,e),r&&oL(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(i.Component);oF(oW,"displayName","CartesianAxis"),oF(oW,"defaultProps",{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"});var oU=r(48388),oV=r.n(oU),oG=r(60013),oJ=r.n(oG)()(function(t){return{x:t.left,y:t.top,width:t.width,height:t.height}},function(t){return"l"+t.left+"t"+t.top+"w"+t.width+"h"+t.height}),oK=(0,i.createContext)(void 0),oH=(0,i.createContext)(void 0),o$=(0,i.createContext)(void 0),oY=(0,i.createContext)({}),oZ=(0,i.createContext)(void 0),oQ=(0,i.createContext)(0),o0=(0,i.createContext)(0),o1=function(t){var e=t.state,r=e.xAxisMap,n=e.yAxisMap,o=e.offset,a=t.clipPathId,c=t.children,u=t.width,l=t.height,s=oJ(o);return i.createElement(oK.Provider,{value:r},i.createElement(oH.Provider,{value:n},i.createElement(oY.Provider,{value:o},i.createElement(o$.Provider,{value:s},i.createElement(oZ.Provider,{value:a},i.createElement(oQ.Provider,{value:l},i.createElement(o0.Provider,{value:u},c)))))))},o2=function(t){var e=(0,i.useContext)(oK);null==e&&t8(!1);var r=e[t];return null==r&&t8(!1),r},o5=function(){var t=(0,i.useContext)(oK);return(0,P.lX)(t)},o8=function(){var t=(0,i.useContext)(oH);return oV()(t,function(t){return i0()(t.domain,Number.isFinite)})||(0,P.lX)(t)},o6=function(t){var e=(0,i.useContext)(oH);null==e&&t8(!1);var r=e[t];return null==r&&t8(!1),r},o7=function(){return(0,i.useContext)(o0)},o3=function(){return(0,i.useContext)(oQ)},o9=["x1","y1","x2","y2","key"],o4=["offset"];function at(t){return(at="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ae(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function ar(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ae(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=at(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=at(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==at(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ae(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function an(){return(an=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function ai(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}var ao=function(t){var e=t.fill;if(!e||"none"===e)return null;var r=t.fillOpacity,n=t.x,o=t.y,a=t.width,c=t.height,u=t.ry;return i.createElement("rect",{x:n,y:o,ry:u,width:a,height:c,stroke:"none",fill:e,fillOpacity:r,className:"recharts-cartesian-grid-bg"})};function aa(t,e){var r;if(i.isValidElement(t))r=i.cloneElement(t,e);else if(a()(t))r=t(e);else{var n=e.x1,o=e.y1,c=e.x2,l=e.y2,s=e.key,f=ai(e,o9),p=(0,u.J9)(f,!1),y=(p.offset,ai(p,o4));r=i.createElement("line",an({},y,{x1:n,y1:o,x2:c,y2:l,fill:"none",key:s}))}return r}function ac(t){var e=t.x,r=t.width,n=t.horizontal,o=void 0===n||n,a=t.horizontalPoints;if(!o||!a||!a.length)return null;var c=a.map(function(n,i){return aa(o,ar(ar({},t),{},{x1:e,y1:n,x2:e+r,y2:n,key:"line-".concat(i),index:i}))});return i.createElement("g",{className:"recharts-cartesian-grid-horizontal"},c)}function au(t){var e=t.y,r=t.height,n=t.vertical,o=void 0===n||n,a=t.verticalPoints;if(!o||!a||!a.length)return null;var c=a.map(function(n,i){return aa(o,ar(ar({},t),{},{x1:n,y1:e,x2:n,y2:e+r,key:"line-".concat(i),index:i}))});return i.createElement("g",{className:"recharts-cartesian-grid-vertical"},c)}function al(t){var e=t.horizontalFill,r=t.fillOpacity,n=t.x,o=t.y,a=t.width,c=t.height,u=t.horizontalPoints,l=t.horizontal;if(!(void 0===l||l)||!e||!e.length)return null;var s=u.map(function(t){return Math.round(t+o-o)}).sort(function(t,e){return t-e});o!==s[0]&&s.unshift(0);var f=s.map(function(t,u){var l=s[u+1]?s[u+1]-t:o+c-t;if(l<=0)return null;var f=u%e.length;return i.createElement("rect",{key:"react-".concat(u),y:t,x:n,height:l,width:a,stroke:"none",fill:e[f],fillOpacity:r,className:"recharts-cartesian-grid-bg"})});return i.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},f)}function as(t){var e=t.vertical,r=t.verticalFill,n=t.fillOpacity,o=t.x,a=t.y,c=t.width,u=t.height,l=t.verticalPoints;if(!(void 0===e||e)||!r||!r.length)return null;var s=l.map(function(t){return Math.round(t+o-o)}).sort(function(t,e){return t-e});o!==s[0]&&s.unshift(0);var f=s.map(function(t,e){var l=s[e+1]?s[e+1]-t:o+c-t;if(l<=0)return null;var f=e%r.length;return i.createElement("rect",{key:"react-".concat(e),x:t,y:a,width:l,height:u,stroke:"none",fill:r[f],fillOpacity:n,className:"recharts-cartesian-grid-bg"})});return i.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},f)}var af=function(t,e){var r=t.xAxis,n=t.width,i=t.height,o=t.offset;return eE(oE(ar(ar(ar({},oW.defaultProps),r),{},{ticks:ek(r,!0),viewBox:{x:0,y:0,width:n,height:i}})),o.left,o.left+o.width,e)},ap=function(t,e){var r=t.yAxis,n=t.width,i=t.height,o=t.offset;return eE(oE(ar(ar(ar({},oW.defaultProps),r),{},{ticks:ek(r,!0),viewBox:{x:0,y:0,width:n,height:i}})),o.top,o.top+o.height,e)},ay={horizontal:!0,vertical:!0,stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function ad(t){var e,r,n,o,c,u,l=o7(),s=o3(),f=(0,i.useContext)(oY),p=ar(ar({},t),{},{stroke:null!=(e=t.stroke)?e:ay.stroke,fill:null!=(r=t.fill)?r:ay.fill,horizontal:null!=(n=t.horizontal)?n:ay.horizontal,horizontalFill:null!=(o=t.horizontalFill)?o:ay.horizontalFill,vertical:null!=(c=t.vertical)?c:ay.vertical,verticalFill:null!=(u=t.verticalFill)?u:ay.verticalFill,x:(0,P.Et)(t.x)?t.x:f.left,y:(0,P.Et)(t.y)?t.y:f.top,width:(0,P.Et)(t.width)?t.width:f.width,height:(0,P.Et)(t.height)?t.height:f.height}),y=p.x,d=p.y,h=p.width,v=p.height,b=p.syncWithTicks,m=p.horizontalValues,g=p.verticalValues,O=o5(),x=o8();if(!(0,P.Et)(h)||h<=0||!(0,P.Et)(v)||v<=0||!(0,P.Et)(y)||y!==+y||!(0,P.Et)(d)||d!==+d)return null;var w=p.verticalCoordinatesGenerator||af,j=p.horizontalCoordinatesGenerator||ap,A=p.horizontalPoints,S=p.verticalPoints;if((!A||!A.length)&&a()(j)){var E=m&&m.length,k=j({yAxis:x?ar(ar({},x),{},{ticks:E?m:x.ticks}):void 0,width:l,height:s,offset:f},!!E||b);(0,i$.R)(Array.isArray(k),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(at(k),"]")),Array.isArray(k)&&(A=k)}if((!S||!S.length)&&a()(w)){var M=g&&g.length,T=w({xAxis:O?ar(ar({},O),{},{ticks:M?g:O.ticks}):void 0,width:l,height:s,offset:f},!!M||b);(0,i$.R)(Array.isArray(T),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(at(T),"]")),Array.isArray(T)&&(S=T)}return i.createElement("g",{className:"recharts-cartesian-grid"},i.createElement(ao,{fill:p.fill,fillOpacity:p.fillOpacity,x:p.x,y:p.y,width:p.width,height:p.height,ry:p.ry}),i.createElement(ac,an({},p,{offset:f,horizontalPoints:A,xAxis:O,yAxis:x})),i.createElement(au,an({},p,{offset:f,verticalPoints:S,xAxis:O,yAxis:x})),i.createElement(al,an({},p,{horizontalPoints:A})),i.createElement(as,an({},p,{verticalPoints:S})))}ad.displayName="CartesianGrid";var ah=r(19786),av=r(60666),ab=r(78874),am=r(79508),ag=r(50561),aO=r(81421),ax=r(46851),aw=r(47905),aj=r(89226),aA=r(19998),aS=r(92389),aP=r(75714);function aE(t,e,r){var n=null,i=(0,ty.A)(!0),o=null,a=aO.A,c=null,u=(0,aS.i)(l);function l(l){var s,f,p,y,d,h=(l=(0,tp.A)(l)).length,v=!1,b=Array(h),m=Array(h);for(null==o&&(c=a(d=u())),s=0;s<=h;++s){if(!(s<h&&i(y=l[s],s,l))===v)if(v=!v)f=s,c.areaStart(),c.lineStart();else{for(c.lineEnd(),c.lineStart(),p=s-1;p>=f;--p)c.point(b[p],m[p]);c.lineEnd(),c.areaEnd()}v&&(b[s]=+t(y,s,l),m[s]=+e(y,s,l),c.point(n?+n(y,s,l):b[s],r?+r(y,s,l):m[s]))}if(d)return c=null,d+""||null}function s(){return(0,aA.A)().defined(i).curve(a).context(o)}return t="function"==typeof t?t:void 0===t?aP.x:(0,ty.A)(+t),e="function"==typeof e?e:void 0===e?(0,ty.A)(0):(0,ty.A)(+e),r="function"==typeof r?r:void 0===r?aP.y:(0,ty.A)(+r),l.x=function(e){return arguments.length?(t="function"==typeof e?e:(0,ty.A)(+e),n=null,l):t},l.x0=function(e){return arguments.length?(t="function"==typeof e?e:(0,ty.A)(+e),l):t},l.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:(0,ty.A)(+t),l):n},l.y=function(t){return arguments.length?(e="function"==typeof t?t:(0,ty.A)(+t),r=null,l):e},l.y0=function(t){return arguments.length?(e="function"==typeof t?t:(0,ty.A)(+t),l):e},l.y1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:(0,ty.A)(+t),l):r},l.lineX0=l.lineY0=function(){return s().x(t).y(e)},l.lineY1=function(){return s().x(t).y(r)},l.lineX1=function(){return s().x(n).y(e)},l.defined=function(t){return arguments.length?(i="function"==typeof t?t:(0,ty.A)(!!t),l):i},l.curve=function(t){return arguments.length?(a=t,null!=o&&(c=a(o)),l):a},l.context=function(t){return arguments.length?(null==t?o=c=null:c=a(o=t),l):o},l}function ak(t){return(ak="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function aM(){return(aM=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function aT(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function aI(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?aT(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=ak(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ak(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ak(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):aT(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var aD={curveBasisClosed:ah.A,curveBasisOpen:av.A,curveBasis:ab.Ay,curveBumpX:am.dJ,curveBumpY:am.kl,curveLinearClosed:ag.A,curveLinear:aO.A,curveMonotoneX:ax.G,curveMonotoneY:ax.N,curveNatural:aw.A,curveStep:aj.Ay,curveStepAfter:aj.Ps,curveStepBefore:aj.Ko},aN=function(t){return t.x===+t.x&&t.y===+t.y},aC=function(t){return t.x},aR=function(t){return t.y},aB=function(t,e){if(a()(t))return t;var r="curve".concat(tT()(t));return("curveMonotone"===r||"curveBump"===r)&&e?aD["".concat(r).concat("vertical"===e?"Y":"X")]:aD[r]||aO.A},aL=function(t){var e,r=t.type,n=t.points,i=void 0===n?[]:n,o=t.baseLine,a=t.layout,c=t.connectNulls,u=void 0!==c&&c,l=aB(void 0===r?"linear":r,a),s=u?i.filter(function(t){return aN(t)}):i;if(Array.isArray(o)){var f=u?o.filter(function(t){return aN(t)}):o,p=s.map(function(t,e){return aI(aI({},t),{},{base:f[e]})});return(e="vertical"===a?aE().y(aR).x1(aC).x0(function(t){return t.base.x}):aE().x(aC).y1(aR).y0(function(t){return t.base.y})).defined(aN).curve(l),e(p)}return(e="vertical"===a&&(0,P.Et)(o)?aE().y(aR).x1(aC).x0(o):(0,P.Et)(o)?aE().x(aC).y1(aR).y0(o):(0,aA.A)().x(aC).y(aR)).defined(aN).curve(l),e(s)},a_=function(t){var e=t.className,r=t.points,n=t.path,o=t.pathRef;if((!r||!r.length)&&!n)return null;var a=r&&r.length?aL(t):n;return i.createElement("path",aM({},(0,u.J9)(t,!1),(0,p._U)(t),{className:(0,c.A)("recharts-curve",e),d:a,ref:o}))},az=["layout","type","stroke","connectNulls","isRange","ref"],aq=["key"];function aF(t){return(aF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function aX(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function aW(){return(aW=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function aU(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function aV(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?aU(Object(r),!0).forEach(function(e){a$(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):aU(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function aG(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,aY(n.key),n)}}function aJ(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(aJ=function(){return!!t})()}function aK(t){return(aK=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function aH(t,e){return(aH=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function a$(t,e,r){return(e=aY(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function aY(t){var e=function(t,e){if("object"!=aF(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=aF(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==aF(e)?e:e+""}var aZ=function(t){var e,r;function n(){var t,e,r;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");for(var i=arguments.length,o=Array(i),c=0;c<i;c++)o[c]=arguments[c];return e=n,r=[].concat(o),e=aK(e),a$(t=function(t,e){if(e&&("object"===aF(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,aJ()?Reflect.construct(e,r||[],aK(this).constructor):e.apply(this,r)),"state",{isAnimationFinished:!0}),a$(t,"id",(0,P.NF)("recharts-area-")),a$(t,"handleAnimationEnd",function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),a()(e)&&e()}),a$(t,"handleAnimationStart",function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),a()(e)&&e()}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&aH(n,t),e=[{key:"renderDots",value:function(t,e,r){var o=this.props.isAnimationActive,a=this.state.isAnimationFinished;if(o&&!a)return null;var c=this.props,l=c.dot,s=c.points,p=c.dataKey,y=(0,u.J9)(this.props,!1),d=(0,u.J9)(l,!0),h=s.map(function(t,e){var r=aV(aV(aV({key:"dot-".concat(e),r:3},y),d),{},{index:e,cx:t.x,cy:t.y,dataKey:p,value:t.value,payload:t.payload,points:s});return n.renderDotItem(l,r)}),v={clipPath:t?"url(#clipPath-".concat(e?"":"dots-").concat(r,")"):null};return i.createElement(f,aW({className:"recharts-area-dots"},v),h)}},{key:"renderHorizontalRect",value:function(t){var e=this.props,r=e.baseLine,n=e.points,o=e.strokeWidth,a=n[0].x,c=n[n.length-1].x,u=t*Math.abs(a-c),l=tm()(n.map(function(t){return t.y||0}));return((0,P.Et)(r)&&"number"==typeof r?l=Math.max(r,l):r&&Array.isArray(r)&&r.length&&(l=Math.max(tm()(r.map(function(t){return t.y||0})),l)),(0,P.Et)(l))?i.createElement("rect",{x:a<c?a:a-u,y:0,width:u,height:Math.floor(l+(o?parseInt("".concat(o),10):1))}):null}},{key:"renderVerticalRect",value:function(t){var e=this.props,r=e.baseLine,n=e.points,o=e.strokeWidth,a=n[0].y,c=n[n.length-1].y,u=t*Math.abs(a-c),l=tm()(n.map(function(t){return t.x||0}));return((0,P.Et)(r)&&"number"==typeof r?l=Math.max(r,l):r&&Array.isArray(r)&&r.length&&(l=Math.max(tm()(r.map(function(t){return t.x||0})),l)),(0,P.Et)(l))?i.createElement("rect",{x:0,y:a<c?a:a-u,width:l+(o?parseInt("".concat(o),10):1),height:Math.floor(u)}):null}},{key:"renderClipRect",value:function(t){return"vertical"===this.props.layout?this.renderVerticalRect(t):this.renderHorizontalRect(t)}},{key:"renderAreaStatically",value:function(t,e,r,n){var o=this.props,a=o.layout,c=o.type,l=o.stroke,s=o.connectNulls,p=o.isRange,y=(o.ref,aX(o,az));return i.createElement(f,{clipPath:r?"url(#clipPath-".concat(n,")"):null},i.createElement(a_,aW({},(0,u.J9)(y,!0),{points:t,connectNulls:s,type:c,baseLine:e,layout:a,stroke:"none",className:"recharts-area-area"})),"none"!==l&&i.createElement(a_,aW({},(0,u.J9)(this.props,!1),{className:"recharts-area-curve",layout:a,type:c,connectNulls:s,fill:"none",points:t})),"none"!==l&&p&&i.createElement(a_,aW({},(0,u.J9)(this.props,!1),{className:"recharts-area-curve",layout:a,type:c,connectNulls:s,fill:"none",points:e})))}},{key:"renderAreaWithAnimation",value:function(t,e){var r=this,n=this.props,o=n.points,a=n.baseLine,c=n.isAnimationActive,u=n.animationBegin,l=n.animationDuration,s=n.animationEasing,p=n.animationId,y=this.state,d=y.prevPoints,h=y.prevBaseLine;return i.createElement(nO,{begin:u,duration:l,isActive:c,easing:s,from:{t:0},to:{t:1},key:"area-".concat(p),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(n){var c=n.t;if(d){var u,l=d.length/o.length,s=o.map(function(t,e){var r=Math.floor(e*l);if(d[r]){var n=d[r],i=(0,P.Dj)(n.x,t.x),o=(0,P.Dj)(n.y,t.y);return aV(aV({},t),{},{x:i(c),y:o(c)})}return t});return u=(0,P.Et)(a)&&"number"==typeof a?(0,P.Dj)(h,a)(c):S()(a)||tk()(a)?(0,P.Dj)(h,0)(c):a.map(function(t,e){var r=Math.floor(e*l);if(h[r]){var n=h[r],i=(0,P.Dj)(n.x,t.x),o=(0,P.Dj)(n.y,t.y);return aV(aV({},t),{},{x:i(c),y:o(c)})}return t}),r.renderAreaStatically(s,u,t,e)}return i.createElement(f,null,i.createElement("defs",null,i.createElement("clipPath",{id:"animationClipPath-".concat(e)},r.renderClipRect(c))),i.createElement(f,{clipPath:"url(#animationClipPath-".concat(e,")")},r.renderAreaStatically(o,a,t,e)))})}},{key:"renderArea",value:function(t,e){var r=this.props,n=r.points,i=r.baseLine,o=r.isAnimationActive,a=this.state,c=a.prevPoints,u=a.prevBaseLine,l=a.totalLength;return o&&n&&n.length&&(!c&&l>0||!tD()(c,n)||!tD()(u,i))?this.renderAreaWithAnimation(t,e):this.renderAreaStatically(n,i,t,e)}},{key:"render",value:function(){var t,e=this.props,r=e.hide,n=e.dot,o=e.points,a=e.className,l=e.top,s=e.left,p=e.xAxis,y=e.yAxis,d=e.width,h=e.height,v=e.isAnimationActive,b=e.id;if(r||!o||!o.length)return null;var m=this.state.isAnimationFinished,g=1===o.length,O=(0,c.A)("recharts-area",a),x=p&&p.allowDataOverflow,w=y&&y.allowDataOverflow,j=x||w,A=S()(b)?this.id:b,P=null!=(t=(0,u.J9)(n,!1))?t:{r:3,strokeWidth:2},E=P.r,k=P.strokeWidth,M=((0,u.sT)(n)?n:{}).clipDot,T=void 0===M||M,I=2*(void 0===E?3:E)+(void 0===k?2:k);return i.createElement(f,{className:O},x||w?i.createElement("defs",null,i.createElement("clipPath",{id:"clipPath-".concat(A)},i.createElement("rect",{x:x?s:s-d/2,y:w?l:l-h/2,width:x?d:2*d,height:w?h:2*h})),!T&&i.createElement("clipPath",{id:"clipPath-dots-".concat(A)},i.createElement("rect",{x:s-I/2,y:l-I/2,width:d+I,height:h+I}))):null,g?null:this.renderArea(j,A),(n||g)&&this.renderDots(j,T,A),(!v||m)&&iC.renderCallByParent(this.props,o))}}],r=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curPoints:t.points,curBaseLine:t.baseLine,prevPoints:e.curPoints,prevBaseLine:e.curBaseLine}:t.points!==e.curPoints||t.baseLine!==e.curBaseLine?{curPoints:t.points,curBaseLine:t.baseLine}:null}}],e&&aG(n.prototype,e),r&&aG(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(i.PureComponent);function aQ(t){return(aQ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}a$(aZ,"displayName","Area"),a$(aZ,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!E.m.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),a$(aZ,"getBaseValue",function(t,e,r,n){var i=t.layout,o=t.baseValue,a=e.props.baseValue,c=null!=a?a:o;if((0,P.Et)(c)&&"number"==typeof c)return c;var u="horizontal"===i?n:r,l=u.scale.domain();if("number"===u.type){var s=Math.max(l[0],l[1]),f=Math.min(l[0],l[1]);return"dataMin"===c?f:"dataMax"===c||s<0?s:Math.max(Math.min(l[0],l[1]),0)}return"dataMin"===c?l[0]:"dataMax"===c?l[1]:l[0]}),a$(aZ,"getComposedData",function(t){var e,r=t.props,n=t.item,i=t.xAxis,o=t.yAxis,a=t.xAxisTicks,c=t.yAxisTicks,u=t.bandSize,l=t.dataKey,s=t.stackedData,f=t.dataStartIndex,p=t.displayedData,y=t.offset,d=r.layout,h=s&&s.length,v=aZ.getBaseValue(r,n,i,o),b="horizontal"===d,m=!1,g=p.map(function(t,e){h?r=s[f+e]:Array.isArray(r=ev(t,l))?m=!0:r=[v,r];var r,n=null==r[1]||h&&null==ev(t,l);return b?{x:ez({axis:i,ticks:a,bandSize:u,entry:t,index:e}),y:n?null:o.scale(r[1]),value:r,payload:t}:{x:n?null:i.scale(r[1]),y:ez({axis:o,ticks:c,bandSize:u,entry:t,index:e}),value:r,payload:t}});return e=h||m?g.map(function(t){var e=Array.isArray(t.value)?t.value[0]:null;return b?{x:t.x,y:null!=e&&null!=t.y?o.scale(e):null}:{x:null!=e?i.scale(e):null,y:t.y}}):b?o.scale(v):i.scale(v),aV({points:g,baseLine:e,layout:d,isRange:m},y)}),a$(aZ,"renderDotItem",function(t,e){var r;if(i.isValidElement(t))r=i.cloneElement(t,e);else if(a()(t))r=t(e);else{var n=(0,c.A)("recharts-area-dot","boolean"!=typeof t?t.className:""),o=e.key,u=aX(e,aq);r=i.createElement(d,aW({},u,{key:o,className:n}))}return r});function a0(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(a0=function(){return!!t})()}function a1(t){return(a1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function a2(t,e){return(a2=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function a5(t,e,r){return(e=a8(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function a8(t){var e=function(t,e){if("object"!=aQ(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=aQ(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==aQ(e)?e:e+""}function a6(){return(a6=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function a7(t){var e=t.xAxisId,r=o7(),n=o3(),o=o2(e);return null==o?null:i.createElement(oW,a6({},o,{className:(0,c.A)("recharts-".concat(o.axisType," ").concat(o.axisType),o.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(t){return ek(t,!0)}}))}var a3=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=a1(t),function(t,e){if(e&&("object"===aQ(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,a0()?Reflect.construct(t,e||[],a1(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&a2(r,t),e=[{key:"render",value:function(){return i.createElement(a7,this.props)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,a8(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(i.Component);function a9(t){return(a9="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}a5(a3,"displayName","XAxis"),a5(a3,"defaultProps",{allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0});function a4(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(a4=function(){return!!t})()}function ct(t){return(ct=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ce(t,e){return(ce=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function cr(t,e,r){return(e=cn(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function cn(t){var e=function(t,e){if("object"!=a9(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=a9(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a9(e)?e:e+""}function ci(){return(ci=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var co=function(t){var e=t.yAxisId,r=o7(),n=o3(),o=o6(e);return null==o?null:i.createElement(oW,ci({},o,{className:(0,c.A)("recharts-".concat(o.axisType," ").concat(o.axisType),o.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(t){return ek(t,!0)}}))},ca=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=ct(t),function(t,e){if(e&&("object"===a9(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,a4()?Reflect.construct(t,e||[],ct(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&ce(r,t),e=[{key:"render",value:function(){return i.createElement(co,this.props)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,cn(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(i.Component);cr(ca,"displayName","YAxis"),cr(ca,"defaultProps",{allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1});var cc=r(23940),cu=r.n(cc),cl=r(57263),cs=r.n(cl),cf=r(54332),cp=r(46853);function cy(t){return(cy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function cd(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function ch(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?cd(Object(r),!0).forEach(function(e){cv(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):cd(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function cv(t,e,r){var n;return(n=function(t,e){if("object"!=cy(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=cy(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==cy(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var cb=["Webkit","Moz","O","ms"],cm=function(t,e){if(!t)return null;var r=t.replace(/(\w)/,function(t){return t.toUpperCase()}),n=cb.reduce(function(t,n){return ch(ch({},t),{},cv({},n+r,e))},{});return n[t]=e,n};function cg(t){return(cg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function cO(){return(cO=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function cx(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function cw(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?cx(Object(r),!0).forEach(function(e){cE(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):cx(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function cj(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ck(n.key),n)}}function cA(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cA=function(){return!!t})()}function cS(t){return(cS=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function cP(t,e){return(cP=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function cE(t,e,r){return(e=ck(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ck(t){var e=function(t,e){if("object"!=cg(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=cg(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==cg(e)?e:e+""}var cM=function(t){var e=t.data,r=t.startIndex,n=t.endIndex,i=t.x,o=t.width,a=t.travellerWidth;if(!e||!e.length)return{};var c=e.length,u=(0,tu.z)().domain(cu()(0,c)).range([i,i+o-a]),l=u.domain().map(function(t){return u(t)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:u(r),endX:u(n),scale:u,scaleValues:l}},cT=function(t){return t.changedTouches&&!!t.changedTouches.length},cI=function(t){var e,r;function n(t){var e,r,i;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return r=n,i=[t],r=cS(r),cE(e=function(t,e){if(e&&("object"===cg(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,cA()?Reflect.construct(r,i||[],cS(this).constructor):r.apply(this,i)),"handleDrag",function(t){e.leaveTimer&&(clearTimeout(e.leaveTimer),e.leaveTimer=null),e.state.isTravellerMoving?e.handleTravellerMove(t):e.state.isSlideMoving&&e.handleSlideDrag(t)}),cE(e,"handleTouchMove",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleDrag(t.changedTouches[0])}),cE(e,"handleDragEnd",function(){e.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var t=e.props,r=t.endIndex,n=t.onDragEnd,i=t.startIndex;null==n||n({endIndex:r,startIndex:i})}),e.detachDragEndListener()}),cE(e,"handleLeaveWrapper",function(){(e.state.isTravellerMoving||e.state.isSlideMoving)&&(e.leaveTimer=window.setTimeout(e.handleDragEnd,e.props.leaveTimeOut))}),cE(e,"handleEnterSlideOrTraveller",function(){e.setState({isTextActive:!0})}),cE(e,"handleLeaveSlideOrTraveller",function(){e.setState({isTextActive:!1})}),cE(e,"handleSlideDragStart",function(t){var r=cT(t)?t.changedTouches[0]:t;e.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:r.pageX}),e.attachDragEndListener()}),e.travellerDragStartHandlers={startX:e.handleTravellerDragStart.bind(e,"startX"),endX:e.handleTravellerDragStart.bind(e,"endX")},e.state={},e}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&cP(n,t),e=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(t){var e=t.startX,r=t.endX,i=this.state.scaleValues,o=this.props,a=o.gap,c=o.data.length-1,u=Math.min(e,r),l=Math.max(e,r),s=n.getIndexInRange(i,u),f=n.getIndexInRange(i,l);return{startIndex:s-s%a,endIndex:f===c?c:f-f%a}}},{key:"getTextOfTick",value:function(t){var e=this.props,r=e.data,n=e.tickFormatter,i=e.dataKey,o=ev(r[t],i,t);return a()(n)?n(o,t):o}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(t){var e=this.state,r=e.slideMoveStartX,n=e.startX,i=e.endX,o=this.props,a=o.x,c=o.width,u=o.travellerWidth,l=o.startIndex,s=o.endIndex,f=o.onChange,p=t.pageX-r;p>0?p=Math.min(p,a+c-u-i,a+c-u-n):p<0&&(p=Math.max(p,a-n,a-i));var y=this.getIndex({startX:n+p,endX:i+p});(y.startIndex!==l||y.endIndex!==s)&&f&&f(y),this.setState({startX:n+p,endX:i+p,slideMoveStartX:t.pageX})}},{key:"handleTravellerDragStart",value:function(t,e){var r=cT(e)?e.changedTouches[0]:e;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:t,brushMoveStartX:r.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(t){var e=this.state,r=e.brushMoveStartX,n=e.movingTravellerId,i=e.endX,o=e.startX,a=this.state[n],c=this.props,u=c.x,l=c.width,s=c.travellerWidth,f=c.onChange,p=c.gap,y=c.data,d={startX:this.state.startX,endX:this.state.endX},h=t.pageX-r;h>0?h=Math.min(h,u+l-s-a):h<0&&(h=Math.max(h,u-a)),d[n]=a+h;var v=this.getIndex(d),b=v.startIndex,m=v.endIndex,g=function(){var t=y.length-1;return"startX"===n&&(i>o?b%p==0:m%p==0)||!!(i<o)&&m===t||"endX"===n&&(i>o?m%p==0:b%p==0)||!!(i>o)&&m===t};this.setState(cE(cE({},n,a+h),"brushMoveStartX",t.pageX),function(){f&&g()&&f(v)})}},{key:"handleTravellerMoveKeyboard",value:function(t,e){var r=this,n=this.state,i=n.scaleValues,o=n.startX,a=n.endX,c=this.state[e],u=i.indexOf(c);if(-1!==u){var l=u+t;if(-1!==l&&!(l>=i.length)){var s=i[l];"startX"===e&&s>=a||"endX"===e&&s<=o||this.setState(cE({},e,s),function(){r.props.onChange(r.getIndex({startX:r.state.startX,endX:r.state.endX}))})}}}},{key:"renderBackground",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,o=t.height,a=t.fill,c=t.stroke;return i.createElement("rect",{stroke:c,fill:a,x:e,y:r,width:n,height:o})}},{key:"renderPanorama",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,o=t.height,a=t.data,c=t.children,u=t.padding,l=i.Children.only(c);return l?i.cloneElement(l,{x:e,y:r,width:n,height:o,margin:u,compact:!0,data:a}):null}},{key:"renderTravellerLayer",value:function(t,e){var r,o,a=this,c=this.props,l=c.y,s=c.travellerWidth,p=c.height,y=c.traveller,d=c.ariaLabel,h=c.data,v=c.startIndex,b=c.endIndex,m=Math.max(t,this.props.x),g=cw(cw({},(0,u.J9)(this.props,!1)),{},{x:m,y:l,width:s,height:p}),O=d||"Min value: ".concat(null==(r=h[v])?void 0:r.name,", Max value: ").concat(null==(o=h[b])?void 0:o.name);return i.createElement(f,{tabIndex:0,role:"slider","aria-label":O,"aria-valuenow":t,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[e],onTouchStart:this.travellerDragStartHandlers[e],onKeyDown:function(t){["ArrowLeft","ArrowRight"].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),a.handleTravellerMoveKeyboard("ArrowRight"===t.key?1:-1,e))},onFocus:function(){a.setState({isTravellerFocused:!0})},onBlur:function(){a.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},n.renderTraveller(y,g))}},{key:"renderSlide",value:function(t,e){var r=this.props,n=r.y,o=r.height,a=r.stroke,c=r.travellerWidth,u=Math.min(t,e)+c,l=Math.max(Math.abs(e-t)-c,0);return i.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:a,fillOpacity:.2,x:u,y:n,width:l,height:o})}},{key:"renderText",value:function(){var t=this.props,e=t.startIndex,r=t.endIndex,n=t.y,o=t.height,a=t.travellerWidth,c=t.stroke,u=this.state,l=u.startX,s=u.endX,p={pointerEvents:"none",fill:c};return i.createElement(f,{className:"recharts-brush-texts"},i.createElement(tc,cO({textAnchor:"end",verticalAnchor:"middle",x:Math.min(l,s)-5,y:n+o/2},p),this.getTextOfTick(e)),i.createElement(tc,cO({textAnchor:"start",verticalAnchor:"middle",x:Math.max(l,s)+a+5,y:n+o/2},p),this.getTextOfTick(r)))}},{key:"render",value:function(){var t=this.props,e=t.data,r=t.className,n=t.children,o=t.x,a=t.y,u=t.width,l=t.height,s=t.alwaysShowText,p=this.state,y=p.startX,d=p.endX,h=p.isTextActive,v=p.isSlideMoving,b=p.isTravellerMoving,m=p.isTravellerFocused;if(!e||!e.length||!(0,P.Et)(o)||!(0,P.Et)(a)||!(0,P.Et)(u)||!(0,P.Et)(l)||u<=0||l<=0)return null;var g=(0,c.A)("recharts-brush",r),O=1===i.Children.count(n),x=cm("userSelect","none");return i.createElement(f,{className:g,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:x},this.renderBackground(),O&&this.renderPanorama(),this.renderSlide(y,d),this.renderTravellerLayer(y,"startX"),this.renderTravellerLayer(d,"endX"),(h||v||b||m||s)&&this.renderText())}}],r=[{key:"renderDefaultTraveller",value:function(t){var e=t.x,r=t.y,n=t.width,o=t.height,a=t.stroke,c=Math.floor(r+o/2)-1;return i.createElement(i.Fragment,null,i.createElement("rect",{x:e,y:r,width:n,height:o,fill:a,stroke:"none"}),i.createElement("line",{x1:e+1,y1:c,x2:e+n-1,y2:c,fill:"none",stroke:"#fff"}),i.createElement("line",{x1:e+1,y1:c+2,x2:e+n-1,y2:c+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(t,e){return i.isValidElement(t)?i.cloneElement(t,e):a()(t)?t(e):n.renderDefaultTraveller(e)}},{key:"getDerivedStateFromProps",value:function(t,e){var r=t.data,n=t.width,i=t.x,o=t.travellerWidth,a=t.updateId,c=t.startIndex,u=t.endIndex;if(r!==e.prevData||a!==e.prevUpdateId)return cw({prevData:r,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:n},r&&r.length?cM({data:r,width:n,x:i,travellerWidth:o,startIndex:c,endIndex:u}):{scale:null,scaleValues:null});if(e.scale&&(n!==e.prevWidth||i!==e.prevX||o!==e.prevTravellerWidth)){e.scale.range([i,i+n-o]);var l=e.scale.domain().map(function(t){return e.scale(t)});return{prevData:r,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:n,startX:e.scale(t.startIndex),endX:e.scale(t.endIndex),scaleValues:l}}return null}},{key:"getIndexInRange",value:function(t,e){for(var r=t.length,n=0,i=r-1;i-n>1;){var o=Math.floor((n+i)/2);t[o]>e?i=o:n=o}return e>=t[i]?i:n}}],e&&cj(n.prototype,e),r&&cj(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(i.PureComponent);cE(cI,"displayName","Brush"),cE(cI,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1});var cD=function(t,e){var r=t.alwaysShow,n=t.ifOverflow;return r&&(n="extendDomain"),n===e};function cN(){return(cN=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function cC(t){return(cC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function cR(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function cB(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?cR(Object(r),!0).forEach(function(e){cq(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):cR(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function cL(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cL=function(){return!!t})()}function c_(t){return(c_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function cz(t,e){return(cz=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function cq(t,e,r){return(e=cF(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function cF(t){var e=function(t,e){if("object"!=cC(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=cC(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==cC(e)?e:e+""}var cX=function(t){var e=t.x,r=t.y,n=t.xAxis,i=t.yAxis,o=oO({x:n.scale,y:i.scale}),a=o.apply({x:e,y:r},{bandAware:!0});return cD(t,"discard")&&!o.isInRange(a)?null:a},cW=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=c_(t),function(t,e){if(e&&("object"===cC(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,cL()?Reflect.construct(t,e||[],c_(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&cz(r,t),e=[{key:"render",value:function(){var t=this.props,e=t.x,n=t.y,o=t.r,a=t.alwaysShow,l=t.clipPathId,s=(0,P.vh)(e),p=(0,P.vh)(n);if((0,i$.R)(void 0===a,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!s||!p)return null;var y=cX(this.props);if(!y)return null;var d=y.x,h=y.y,v=this.props,b=v.shape,m=v.className,g=cB(cB({clipPath:cD(this.props,"hidden")?"url(#".concat(l,")"):void 0},(0,u.J9)(this.props,!0)),{},{cx:d,cy:h});return i.createElement(f,{className:(0,c.A)("recharts-reference-dot",m)},r.renderDot(b,g),ij.renderCallByParent(this.props,{x:d-o,y:h-o,width:2*o,height:2*o}))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,cF(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(i.Component);cq(cW,"displayName","ReferenceDot"),cq(cW,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1}),cq(cW,"renderDot",function(t,e){return i.isValidElement(t)?i.cloneElement(t,e):a()(t)?t(e):i.createElement(d,cN({},e,{cx:e.cx,cy:e.cy,className:"recharts-reference-dot-dot"}))});var cU=r(78779),cV=r.n(cU);function cG(t){return(cG="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function cJ(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cJ=function(){return!!t})()}function cK(t){return(cK=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function cH(t,e){return(cH=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function c$(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function cY(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c$(Object(r),!0).forEach(function(e){cZ(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c$(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function cZ(t,e,r){return(e=cQ(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function cQ(t){var e=function(t,e){if("object"!=cG(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=cG(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==cG(e)?e:e+""}function c0(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function c1(){return(c1=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var c2=function(t,e){return i.isValidElement(t)?i.cloneElement(t,e):a()(t)?t(e):i.createElement("line",c1({},e,{className:"recharts-reference-line-line"}))},c5=function(t,e,r,n,i,o,a,c,u){var l=i.x,s=i.y,f=i.width,p=i.height;if(r){var y=u.y,d=t.y.apply(y,{position:o});if(cD(u,"discard")&&!t.y.isInRange(d))return null;var h=[{x:l+f,y:d},{x:l,y:d}];return"left"===c?h.reverse():h}if(e){var v=u.x,b=t.x.apply(v,{position:o});if(cD(u,"discard")&&!t.x.isInRange(b))return null;var m=[{x:b,y:s+p},{x:b,y:s}];return"top"===a?m.reverse():m}if(n){var g=u.segment.map(function(e){return t.apply(e,{position:o})});return cD(u,"discard")&&cV()(g,function(e){return!t.isInRange(e)})?null:g}return null};function c8(t){var e,r=t.x,n=t.y,o=t.segment,a=t.xAxisId,l=t.yAxisId,s=t.shape,p=t.className,y=t.alwaysShow,d=(0,i.useContext)(oZ),h=o2(a),v=o6(l),b=(0,i.useContext)(o$);if(!d||!b)return null;(0,i$.R)(void 0===y,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var m=c5(oO({x:h.scale,y:v.scale}),(0,P.vh)(r),(0,P.vh)(n),o&&2===o.length,b,t.position,h.orientation,v.orientation,t);if(!m)return null;var g=function(t){if(Array.isArray(t))return t}(m)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],u=!0,l=!1;try{o=(r=r.call(t)).next,!1;for(;!(u=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,i=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return c}}(m,2)||function(t,e){if(t){if("string"==typeof t)return c0(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c0(t,e)}}(m,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),O=g[0],x=O.x,w=O.y,j=g[1],A=j.x,S=j.y,E=cY(cY({clipPath:cD(t,"hidden")?"url(#".concat(d,")"):void 0},(0,u.J9)(t,!0)),{},{x1:x,y1:w,x2:A,y2:S});return i.createElement(f,{className:(0,c.A)("recharts-reference-line",p)},c2(s,E),ij.renderCallByParent(t,om({x:(e={x1:x,y1:w,x2:A,y2:S}).x1,y:e.y1},{x:e.x2,y:e.y2})))}var c6=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=cK(t),function(t,e){if(e&&("object"===cG(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,cJ()?Reflect.construct(t,e||[],cK(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&cH(r,t),e=[{key:"render",value:function(){return i.createElement(c8,this.props)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,cQ(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(i.Component);function c7(){return(c7=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function c3(t){return(c3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c9(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function c4(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c9(Object(r),!0).forEach(function(e){un(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c9(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}cZ(c6,"displayName","ReferenceLine"),cZ(c6,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});function ut(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ut=function(){return!!t})()}function ue(t){return(ue=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ur(t,e){return(ur=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function un(t,e,r){return(e=ui(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ui(t){var e=function(t,e){if("object"!=c3(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=c3(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==c3(e)?e:e+""}var uo=function(t,e,r,n,i){var o=i.x1,a=i.x2,c=i.y1,u=i.y2,l=i.xAxis,s=i.yAxis;if(!l||!s)return null;var f=oO({x:l.scale,y:s.scale}),p={x:t?f.x.apply(o,{position:"start"}):f.x.rangeMin,y:r?f.y.apply(c,{position:"start"}):f.y.rangeMin},y={x:e?f.x.apply(a,{position:"end"}):f.x.rangeMax,y:n?f.y.apply(u,{position:"end"}):f.y.rangeMax};return!cD(i,"discard")||f.isInRange(p)&&f.isInRange(y)?om(p,y):null},ua=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=ue(t),function(t,e){if(e&&("object"===c3(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,ut()?Reflect.construct(t,e||[],ue(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&ur(r,t),e=[{key:"render",value:function(){var t=this.props,e=t.x1,n=t.x2,o=t.y1,a=t.y2,l=t.className,s=t.alwaysShow,p=t.clipPathId;(0,i$.R)(void 0===s,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var y=(0,P.vh)(e),d=(0,P.vh)(n),h=(0,P.vh)(o),v=(0,P.vh)(a),b=this.props.shape;if(!y&&!d&&!h&&!v&&!b)return null;var m=uo(y,d,h,v,this.props);if(!m&&!b)return null;var g=cD(this.props,"hidden")?"url(#".concat(p,")"):void 0;return i.createElement(f,{className:(0,c.A)("recharts-reference-area",l)},r.renderRect(b,c4(c4({clipPath:g},(0,u.J9)(this.props,!0)),m)),ij.renderCallByParent(this.props,m))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ui(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(i.Component);function uc(t){return function(t){if(Array.isArray(t))return uu(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return uu(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return uu(t,e)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function uu(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}un(ua,"displayName","ReferenceArea"),un(ua,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1}),un(ua,"renderRect",function(t,e){return i.isValidElement(t)?i.cloneElement(t,e):a()(t)?t(e):i.createElement(nN,c7({},e,{className:"recharts-reference-area-rect"}))});var ul=function(t,e,r,n,i){var o=(0,u.aS)(t,c6),a=(0,u.aS)(t,cW),c=[].concat(uc(o),uc(a)),l=(0,u.aS)(t,ua),s="".concat(n,"Id"),f=n[0],p=e;if(c.length&&(p=c.reduce(function(t,e){if(e.props[s]===r&&cD(e.props,"extendDomain")&&(0,P.Et)(e.props[f])){var n=e.props[f];return[Math.min(t[0],n),Math.max(t[1],n)]}return t},p)),l.length){var y="".concat(f,"1"),d="".concat(f,"2");p=l.reduce(function(t,e){if(e.props[s]===r&&cD(e.props,"extendDomain")&&(0,P.Et)(e.props[y])&&(0,P.Et)(e.props[d])){var n=e.props[y],i=e.props[d];return[Math.min(t[0],n,i),Math.max(t[1],n,i)]}return t},p)}return i&&i.length&&(p=i.reduce(function(t,e){return(0,P.Et)(e)?[Math.min(t[0],e),Math.max(t[1],e)]:t},p)),p},us=r(60097),uf=new(r.n(us)()),up="recharts.syncMouseEvents";function uy(t){return(uy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ud(t,e,r){return(e=uh(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function uh(t){var e=function(t,e){if("object"!=uy(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=uy(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==uy(e)?e:e+""}var uv=function(){var t,e;return t=function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");ud(this,"activeIndex",0),ud(this,"coordinateList",[]),ud(this,"layout","horizontal")},e=[{key:"setDetails",value:function(t){var e,r=t.coordinateList,n=void 0===r?null:r,i=t.container,o=void 0===i?null:i,a=t.layout,c=void 0===a?null:a,u=t.offset,l=void 0===u?null:u,s=t.mouseHandlerCallback,f=void 0===s?null:s;this.coordinateList=null!=(e=null!=n?n:this.coordinateList)?e:[],this.container=null!=o?o:this.container,this.layout=null!=c?c:this.layout,this.offset=null!=l?l:this.offset,this.mouseHandlerCallback=null!=f?f:this.mouseHandlerCallback,this.activeIndex=Math.min(Math.max(this.activeIndex,0),this.coordinateList.length-1)}},{key:"focus",value:function(){this.spoofMouse()}},{key:"keyboardEvent",value:function(t){if(0!==this.coordinateList.length)switch(t.key){case"ArrowRight":if("horizontal"!==this.layout)return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break;case"ArrowLeft":if("horizontal"!==this.layout)return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse()}}},{key:"setIndex",value:function(t){this.activeIndex=t}},{key:"spoofMouse",value:function(){if("horizontal"===this.layout&&0!==this.coordinateList.length){var t,e,r=this.container.getBoundingClientRect(),n=r.x,i=r.y,o=r.height,a=this.coordinateList[this.activeIndex].coordinate,c=(null==(t=window)?void 0:t.scrollX)||0,u=(null==(e=window)?void 0:e.scrollY)||0,l=i+this.offset.top+o/2+u;this.mouseHandlerCallback({pageX:n+a+c,pageY:l})}}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,uh(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}();function ub(t){return(ub="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var um=["x","y","top","left","width","height","className"];function ug(){return(ug=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function uO(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}var ux=function(t){var e=t.x,r=void 0===e?0:e,n=t.y,o=void 0===n?0:n,a=t.top,l=void 0===a?0:a,s=t.left,f=void 0===s?0:s,p=t.width,y=void 0===p?0:p,d=t.height,h=void 0===d?0:d,v=t.className,b=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?uO(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=ub(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ub(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ub(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):uO(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}({x:r,y:o,top:l,left:f,width:y,height:h},function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,um));return(0,P.Et)(r)&&(0,P.Et)(o)&&(0,P.Et)(y)&&(0,P.Et)(h)&&(0,P.Et)(l)&&(0,P.Et)(f)?i.createElement("path",ug({},(0,u.J9)(b,!0),{className:(0,c.A)("recharts-cross",v),d:"M".concat(r,",").concat(l,"v").concat(h,"M").concat(f,",").concat(o,"h").concat(y)})):null};function uw(t){var e=t.cx,r=t.cy,n=t.radius,i=t.startAngle,o=t.endAngle;return{points:[e2(e,r,n,i),e2(e,r,n,o)],cx:e,cy:r,radius:n,startAngle:i,endAngle:o}}function uj(t){return(uj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function uA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function uS(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?uA(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=uj(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=uj(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==uj(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):uA(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function uP(t){var e,r,n,o,a=t.element,l=t.tooltipEventType,s=t.isActive,f=t.activeCoordinate,p=t.activePayload,y=t.offset,d=t.activeTooltipIndex,h=t.tooltipAxisBandSize,v=t.layout,b=t.chartName,m=null!=(r=a.props.cursor)?r:null==(n=a.type.defaultProps)?void 0:n.cursor;if(!a||!m||!s||!f||"ScatterChart"!==b&&"axis"!==l)return null;var g=a_;if("ScatterChart"===b)o=f,g=ux;else if("BarChart"===b)e=h/2,o={stroke:"none",fill:"#ccc",x:"horizontal"===v?f.x-e:y.left+.5,y:"horizontal"===v?y.top+.5:f.y-e,width:"horizontal"===v?h:y.width-1,height:"horizontal"===v?y.height-1:h},g=nN;else if("radial"===v){var O=uw(f),x=O.cx,w=O.cy,j=O.radius;o={cx:x,cy:w,startAngle:O.startAngle,endAngle:O.endAngle,innerRadius:j,outerRadius:j},g=n$}else o={points:function(t,e,r){var n,i,o,a;if("horizontal"===t)o=n=e.x,i=r.top,a=r.top+r.height;else if("vertical"===t)a=i=e.y,n=r.left,o=r.left+r.width;else if(null!=e.cx&&null!=e.cy)if("centric"!==t)return uw(e);else{var c=e.cx,u=e.cy,l=e.innerRadius,s=e.outerRadius,f=e.angle,p=e2(c,u,l,f),y=e2(c,u,s,f);n=p.x,i=p.y,o=y.x,a=y.y}return[{x:n,y:i},{x:o,y:a}]}(v,f,y)},g=a_;var A=uS(uS(uS(uS({stroke:"#ccc",pointerEvents:"none"},y),o),(0,u.J9)(m,!1)),{},{payload:p,payloadIndex:d,className:(0,c.A)("recharts-tooltip-cursor",m.className)});return(0,i.isValidElement)(m)?(0,i.cloneElement)(m,A):(0,i.createElement)(g,A)}var uE=["item"],uk=["children","className","width","height","style","compact","title","desc"];function uM(t){return(uM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function uT(){return(uT=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function uI(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],u=!0,l=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,i=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return c}}(t,e)||uL(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function uD(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function uN(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(uN=function(){return!!t})()}function uC(t){return(uC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function uR(t,e){return(uR=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function uB(t){return function(t){if(Array.isArray(t))return u_(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||uL(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function uL(t,e){if(t){if("string"==typeof t)return u_(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u_(t,e)}}function u_(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function uz(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function uq(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?uz(Object(r),!0).forEach(function(e){uF(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):uz(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function uF(t,e,r){return(e=uX(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function uX(t){var e=function(t,e){if("object"!=uM(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=uM(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==uM(e)?e:e+""}var uW={xAxis:["bottom","top"],yAxis:["left","right"]},uU={width:"100%",height:"100%"},uV={x:0,y:0};function uG(t){return t}var uJ=function(t,e,r,n){var i=e.find(function(t){return t&&t.index===r});if(i){if("horizontal"===t)return{x:i.coordinate,y:n.y};if("vertical"===t)return{x:n.x,y:i.coordinate};if("centric"===t){var o=i.coordinate,a=n.radius;return uq(uq(uq({},n),e2(n.cx,n.cy,a,o)),{},{angle:o,radius:a})}var c=i.coordinate,u=n.angle;return uq(uq(uq({},n),e2(n.cx,n.cy,c,u)),{},{angle:u,radius:c})}return uV},uK=function(t,e){var r=e.graphicalItems,n=e.dataStartIndex,i=e.dataEndIndex,o=(null!=r?r:[]).reduce(function(t,e){var r=e.props.data;return r&&r.length?[].concat(uB(t),uB(r)):t},[]);return o.length>0?o:t&&t.length&&(0,P.Et)(n)&&(0,P.Et)(i)?t.slice(n,i+1):[]};function uH(t){return"number"===t?[0,"auto"]:void 0}var u$=function(t,e,r,n){var i=t.graphicalItems,o=t.tooltipAxis,a=uK(e,t);return r<0||!i||!i.length||r>=a.length?null:i.reduce(function(i,c){var u,l,s=null!=(u=c.props.data)?u:e;if(s&&t.dataStartIndex+t.dataEndIndex!==0&&t.dataEndIndex-t.dataStartIndex>=r&&(s=s.slice(t.dataStartIndex,t.dataEndIndex+1)),o.dataKey&&!o.allowDuplicatedCategory){var f=void 0===s?a:s;l=(0,P.eP)(f,o.dataKey,n)}else l=s&&s[r]||a[r];return l?[].concat(uB(i),[eH(c,l)]):i},[])},uY=function(t,e,r,n){var i=n||{x:t.chartX,y:t.chartY},o="horizontal"===r?i.x:"vertical"===r?i.y:"centric"===r?i.angle:i.radius,a=t.orderedTooltipTicks,c=t.tooltipAxis,u=t.tooltipTicks,l=em(o,a,u,c);if(l>=0&&u){var s=u[l]&&u[l].value,f=u$(t,e,l,s),p=uJ(r,a,l,i);return{activeTooltipIndex:l,activeLabel:s,activePayload:f,activeCoordinate:p}}return null},uZ=function(t,e){var r=e.axes,n=e.graphicalItems,i=e.axisType,o=e.axisIdKey,a=e.stackGroups,c=e.dataStartIndex,u=e.dataEndIndex,l=t.layout,s=t.children,f=t.stackOffset,p=eP(l,i);return r.reduce(function(e,r){var y=void 0!==r.type.defaultProps?uq(uq({},r.type.defaultProps),r.props):r.props,d=y.type,h=y.dataKey,v=y.allowDataOverflow,b=y.allowDuplicatedCategory,m=y.scale,g=y.ticks,O=y.includeHidden,x=y[o];if(e[x])return e;var w=uK(t.data,{graphicalItems:n.filter(function(t){var e;return(o in t.props?t.props[o]:null==(e=t.type.defaultProps)?void 0:e[o])===x}),dataStartIndex:c,dataEndIndex:u}),j=w.length;(function(t,e,r){if("number"===r&&!0===e&&Array.isArray(t)){var n=null==t?void 0:t[0],i=null==t?void 0:t[1];if(n&&i&&(0,P.Et)(n)&&(0,P.Et)(i))return!0}return!1})(y.domain,v,d)&&(k=eG(y.domain,null,v),p&&("number"===d||"auto"!==m)&&(T=eb(w,h,"category")));var A=uH(d);if(!k||0===k.length){var E,k,M,T,I,D=null!=(I=y.domain)?I:A;if(h){if(k=eb(w,h,d),"category"===d&&p){var N=(0,P.CG)(k);b&&N?(M=k,k=cu()(0,j)):b||(k=eK(D,k,r).reduce(function(t,e){return t.indexOf(e)>=0?t:[].concat(uB(t),[e])},[]))}else if("category"===d)k=b?k.filter(function(t){return""!==t&&!S()(t)}):eK(D,k,r).reduce(function(t,e){return t.indexOf(e)>=0||""===e||S()(e)?t:[].concat(uB(t),[e])},[]);else if("number"===d){var C=eA(w,n.filter(function(t){var e,r,n=o in t.props?t.props[o]:null==(e=t.type.defaultProps)?void 0:e[o],i="hide"in t.props?t.props.hide:null==(r=t.type.defaultProps)?void 0:r.hide;return n===x&&(O||!i)}),h,i,l);C&&(k=C)}p&&("number"===d||"auto"!==m)&&(T=eb(w,h,"category"))}else k=p?cu()(0,j):a&&a[x]&&a[x].hasStack&&"number"===d?"expand"===f?[0,1]:eW(a[x].stackGroups,c,u):eS(w,n.filter(function(t){var e=o in t.props?t.props[o]:t.type.defaultProps[o],r="hide"in t.props?t.props.hide:t.type.defaultProps.hide;return e===x&&(O||!r)}),d,l,!0);"number"===d?(k=ul(s,k,x,i,g),D&&(k=eG(D,k,v))):"category"===d&&D&&k.every(function(t){return D.indexOf(t)>=0})&&(k=D)}return uq(uq({},e),{},uF({},x,uq(uq({},y),{},{axisType:i,domain:k,categoricalDomain:T,duplicateDomain:M,originalDomain:null!=(E=y.domain)?E:A,isCategorical:p,layout:l})))},{})},uQ=function(t,e){var r=e.graphicalItems,n=e.Axis,i=e.axisType,o=e.axisIdKey,a=e.stackGroups,c=e.dataStartIndex,u=e.dataEndIndex,l=t.layout,s=t.children,f=uK(t.data,{graphicalItems:r,dataStartIndex:c,dataEndIndex:u}),p=f.length,y=eP(l,i),d=-1;return r.reduce(function(t,e){var h,v=(void 0!==e.type.defaultProps?uq(uq({},e.type.defaultProps),e.props):e.props)[o],b=uH("number");return t[v]?t:(d++,h=y?cu()(0,p):a&&a[v]&&a[v].hasStack?ul(s,h=eW(a[v].stackGroups,c,u),v,i):ul(s,h=eG(b,eS(f,r.filter(function(t){var e,r,n=o in t.props?t.props[o]:null==(e=t.type.defaultProps)?void 0:e[o],i="hide"in t.props?t.props.hide:null==(r=t.type.defaultProps)?void 0:r.hide;return n===v&&!i}),"number",l),n.defaultProps.allowDataOverflow),v,i),uq(uq({},t),{},uF({},v,uq(uq({axisType:i},n.defaultProps),{},{hide:!0,orientation:tA()(uW,"".concat(i,".").concat(d%2),null),domain:h,originalDomain:b,isCategorical:y,layout:l}))))},{})},u0=function(t,e){var r=e.axisType,n=void 0===r?"xAxis":r,i=e.AxisComp,o=e.graphicalItems,a=e.stackGroups,c=e.dataStartIndex,l=e.dataEndIndex,s=t.children,f="".concat(n,"Id"),p=(0,u.aS)(s,i),y={};return p&&p.length?y=uZ(t,{axes:p,graphicalItems:o,axisType:n,axisIdKey:f,stackGroups:a,dataStartIndex:c,dataEndIndex:l}):o&&o.length&&(y=uQ(t,{Axis:i,graphicalItems:o,axisType:n,axisIdKey:f,stackGroups:a,dataStartIndex:c,dataEndIndex:l})),y},u1=function(t){var e=(0,P.lX)(t),r=ek(e,!1,!0);return{tooltipTicks:r,orderedTooltipTicks:tC()(r,function(t){return t.coordinate}),tooltipAxis:e,tooltipAxisBandSize:eJ(e,r)}},u2=function(t){var e=t.children,r=t.defaultShowTooltip,n=(0,u.BU)(e,cI),i=0,o=0;return t.data&&0!==t.data.length&&(o=t.data.length-1),n&&n.props&&(n.props.startIndex>=0&&(i=n.props.startIndex),n.props.endIndex>=0&&(o=n.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:i,dataEndIndex:o,activeTooltipIndex:-1,isTooltipActive:!!r}},u5=function(t){return"horizontal"===t?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===t?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===t?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},u8=function(t,e){var r=t.props,n=t.graphicalItems,i=t.xAxisMap,o=void 0===i?{}:i,a=t.yAxisMap,c=void 0===a?{}:a,l=r.width,s=r.height,f=r.children,p=r.margin||{},y=(0,u.BU)(f,cI),d=(0,u.BU)(f,eo.s),h=Object.keys(c).reduce(function(t,e){var r=c[e],n=r.orientation;return r.mirror||r.hide?t:uq(uq({},t),{},uF({},n,t[n]+r.width))},{left:p.left||0,right:p.right||0}),v=Object.keys(o).reduce(function(t,e){var r=o[e],n=r.orientation;return r.mirror||r.hide?t:uq(uq({},t),{},uF({},n,tA()(t,"".concat(n))+r.height))},{top:p.top||0,bottom:p.bottom||0}),b=uq(uq({},v),h),m=b.bottom;y&&(b.bottom+=y.props.height||cI.defaultProps.height),d&&e&&(b=ew(b,n,r,e));var g=l-b.left-b.right,O=s-b.top-b.bottom;return uq(uq({brushBottom:m},b),{},{width:Math.max(g,0),height:Math.max(O,0)})},u6=function(t){var e=t.chartName,r=t.GraphicalChild,n=t.defaultTooltipEventType,o=void 0===n?"axis":n,l=t.validateTooltipEventTypes,s=void 0===l?["axis"]:l,y=t.axisComponents,h=t.legendContent,v=t.formatAxisMap,b=t.defaultProps,m=function(t,e){var r=e.graphicalItems,n=e.stackGroups,i=e.offset,o=e.updateId,a=e.dataStartIndex,c=e.dataEndIndex,l=t.barSize,s=t.layout,f=t.barGap,p=t.barCategoryGap,d=t.maxBarSize,h=u5(s),v=h.numericAxisName,b=h.cateAxisName,m=!!r&&!!r.length&&r.some(function(t){var e=(0,u.Mn)(t&&t.type);return e&&e.indexOf("Bar")>=0}),g=[];return r.forEach(function(r,h){var O=uK(t.data,{graphicalItems:[r],dataStartIndex:a,dataEndIndex:c}),x=void 0!==r.type.defaultProps?uq(uq({},r.type.defaultProps),r.props):r.props,w=x.dataKey,j=x.maxBarSize,A=x["".concat(v,"Id")],P=x["".concat(b,"Id")],E=y.reduce(function(t,r){var n=e["".concat(r.axisType,"Map")],i=x["".concat(r.axisType,"Id")];n&&n[i]||"zAxis"===r.axisType||t8(!1);var o=n[i];return uq(uq({},t),{},uF(uF({},r.axisType,o),"".concat(r.axisType,"Ticks"),ek(o)))},{}),k=E[b],M=E["".concat(b,"Ticks")],T=n&&n[A]&&n[A].hasStack&&eX(r,n[A].stackGroups),I=(0,u.Mn)(r.type).indexOf("Bar")>=0,D=eJ(k,M),N=[],C=m&&eO({barSize:l,stackGroups:n,totalSize:"xAxis"===b?E[b].width:"yAxis"===b?E[b].height:void 0});if(I){var R,B,L=S()(j)?d:j,_=null!=(R=null!=(B=eJ(k,M,!0))?B:L)?R:0;N=ex({barGap:f,barCategoryGap:p,bandSize:_!==D?_:D,sizeList:C[P],maxBarSize:L}),_!==D&&(N=N.map(function(t){return uq(uq({},t),{},{position:uq(uq({},t.position),{},{offset:t.position.offset-_/2})})}))}var z=r&&r.type&&r.type.getComposedData;z&&g.push({props:uq(uq({},z(uq(uq({},E),{},{displayedData:O,props:t,dataKey:w,item:r,bandSize:D,barPosition:N,offset:i,stackedData:T,layout:s,dataStartIndex:a,dataEndIndex:c}))),{},uF(uF(uF({key:r.key||"item-".concat(h)},v,E[v]),b,E[b]),"animationId",o)),childIndex:(0,u.AW)(r,t.children),item:r})}),g},g=function(t,n){var i=t.props,o=t.dataStartIndex,a=t.dataEndIndex,c=t.updateId;if(!(0,u.Me)({props:i}))return null;var l=i.children,s=i.layout,f=i.stackOffset,p=i.data,d=i.reverseStackOrder,h=u5(s),b=h.numericAxisName,g=h.cateAxisName,O=(0,u.aS)(l,r),x=eL(p,O,"".concat(b,"Id"),"".concat(g,"Id"),f,d),w=y.reduce(function(t,e){var r="".concat(e.axisType,"Map");return uq(uq({},t),{},uF({},r,u0(i,uq(uq({},e),{},{graphicalItems:O,stackGroups:e.axisType===b&&x,dataStartIndex:o,dataEndIndex:a}))))},{}),j=u8(uq(uq({},w),{},{props:i,graphicalItems:O}),null==n?void 0:n.legendBBox);Object.keys(w).forEach(function(t){w[t]=v(i,w[t],j,t.replace("Map",""),e)});var A=u1(w["".concat(g,"Map")]),S=m(i,uq(uq({},w),{},{dataStartIndex:o,dataEndIndex:a,updateId:c,graphicalItems:O,stackGroups:x,offset:j}));return uq(uq({formattedGraphicalItems:S,graphicalItems:O,offset:j,stackGroups:x},A),w)},O=function(t){var r;function n(t){var r,o,l,s,f;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return s=n,f=[t],s=uC(s),uF(l=function(t,e){if(e&&("object"===uM(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,uN()?Reflect.construct(s,f||[],uC(this).constructor):s.apply(this,f)),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),uF(l,"accessibilityManager",new uv),uF(l,"handleLegendBBoxUpdate",function(t){if(t){var e=l.state,r=e.dataStartIndex,n=e.dataEndIndex,i=e.updateId;l.setState(uq({legendBBox:t},g({props:l.props,dataStartIndex:r,dataEndIndex:n,updateId:i},uq(uq({},l.state),{},{legendBBox:t}))))}}),uF(l,"handleReceiveSyncEvent",function(t,e,r){l.props.syncId===t&&(r!==l.eventEmitterSymbol||"function"==typeof l.props.syncMethod)&&l.applySyncEvent(e)}),uF(l,"handleBrushChange",function(t){var e=t.startIndex,r=t.endIndex;if(e!==l.state.dataStartIndex||r!==l.state.dataEndIndex){var n=l.state.updateId;l.setState(function(){return uq({dataStartIndex:e,dataEndIndex:r},g({props:l.props,dataStartIndex:e,dataEndIndex:r,updateId:n},l.state))}),l.triggerSyncEvent({dataStartIndex:e,dataEndIndex:r})}}),uF(l,"handleMouseEnter",function(t){var e=l.getMouseInfo(t);if(e){var r=uq(uq({},e),{},{isTooltipActive:!0});l.setState(r),l.triggerSyncEvent(r);var n=l.props.onMouseEnter;a()(n)&&n(r,t)}}),uF(l,"triggeredAfterMouseMove",function(t){var e=l.getMouseInfo(t),r=e?uq(uq({},e),{},{isTooltipActive:!0}):{isTooltipActive:!1};l.setState(r),l.triggerSyncEvent(r);var n=l.props.onMouseMove;a()(n)&&n(r,t)}),uF(l,"handleItemMouseEnter",function(t){l.setState(function(){return{isTooltipActive:!0,activeItem:t,activePayload:t.tooltipPayload,activeCoordinate:t.tooltipPosition||{x:t.cx,y:t.cy}}})}),uF(l,"handleItemMouseLeave",function(){l.setState(function(){return{isTooltipActive:!1}})}),uF(l,"handleMouseMove",function(t){t.persist(),l.throttleTriggeredAfterMouseMove(t)}),uF(l,"handleMouseLeave",function(t){l.throttleTriggeredAfterMouseMove.cancel();var e={isTooltipActive:!1};l.setState(e),l.triggerSyncEvent(e);var r=l.props.onMouseLeave;a()(r)&&r(e,t)}),uF(l,"handleOuterEvent",function(t){var e,r=(0,u.X_)(t),n=tA()(l.props,"".concat(r));r&&a()(n)&&n(null!=(e=/.*touch.*/i.test(r)?l.getMouseInfo(t.changedTouches[0]):l.getMouseInfo(t))?e:{},t)}),uF(l,"handleClick",function(t){var e=l.getMouseInfo(t);if(e){var r=uq(uq({},e),{},{isTooltipActive:!0});l.setState(r),l.triggerSyncEvent(r);var n=l.props.onClick;a()(n)&&n(r,t)}}),uF(l,"handleMouseDown",function(t){var e=l.props.onMouseDown;a()(e)&&e(l.getMouseInfo(t),t)}),uF(l,"handleMouseUp",function(t){var e=l.props.onMouseUp;a()(e)&&e(l.getMouseInfo(t),t)}),uF(l,"handleTouchMove",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&l.throttleTriggeredAfterMouseMove(t.changedTouches[0])}),uF(l,"handleTouchStart",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&l.handleMouseDown(t.changedTouches[0])}),uF(l,"handleTouchEnd",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&l.handleMouseUp(t.changedTouches[0])}),uF(l,"handleDoubleClick",function(t){var e=l.props.onDoubleClick;a()(e)&&e(l.getMouseInfo(t),t)}),uF(l,"handleContextMenu",function(t){var e=l.props.onContextMenu;a()(e)&&e(l.getMouseInfo(t),t)}),uF(l,"triggerSyncEvent",function(t){void 0!==l.props.syncId&&uf.emit(up,l.props.syncId,t,l.eventEmitterSymbol)}),uF(l,"applySyncEvent",function(t){var e=l.props,r=e.layout,n=e.syncMethod,i=l.state.updateId,o=t.dataStartIndex,a=t.dataEndIndex;if(void 0!==t.dataStartIndex||void 0!==t.dataEndIndex)l.setState(uq({dataStartIndex:o,dataEndIndex:a},g({props:l.props,dataStartIndex:o,dataEndIndex:a,updateId:i},l.state)));else if(void 0!==t.activeTooltipIndex){var c=t.chartX,u=t.chartY,s=t.activeTooltipIndex,f=l.state,p=f.offset,y=f.tooltipTicks;if(!p)return;if("function"==typeof n)s=n(y,t);else if("value"===n){s=-1;for(var d=0;d<y.length;d++)if(y[d].value===t.activeLabel){s=d;break}}var h=uq(uq({},p),{},{x:p.left,y:p.top}),v=Math.min(c,h.x+h.width),b=Math.min(u,h.y+h.height),m=y[s]&&y[s].value,O=u$(l.state,l.props.data,s),x=y[s]?{x:"horizontal"===r?y[s].coordinate:v,y:"horizontal"===r?b:y[s].coordinate}:uV;l.setState(uq(uq({},t),{},{activeLabel:m,activeCoordinate:x,activePayload:O,activeTooltipIndex:s}))}else l.setState(t)}),uF(l,"renderCursor",function(t){var r,n=l.state,o=n.isTooltipActive,a=n.activeCoordinate,c=n.activePayload,u=n.offset,s=n.activeTooltipIndex,f=n.tooltipAxisBandSize,p=l.getTooltipEventType(),y=null!=(r=t.props.active)?r:o,d=l.props.layout,h=t.key||"_recharts-cursor";return i.createElement(uP,{key:h,activeCoordinate:a,activePayload:c,activeTooltipIndex:s,chartName:e,element:t,isActive:y,layout:d,offset:u,tooltipAxisBandSize:f,tooltipEventType:p})}),uF(l,"renderPolarAxis",function(t,e,r){var n=tA()(t,"type.axisType"),o=tA()(l.state,"".concat(n,"Map")),a=t.type.defaultProps,u=void 0!==a?uq(uq({},a),t.props):t.props,s=o&&o[u["".concat(n,"Id")]];return(0,i.cloneElement)(t,uq(uq({},s),{},{className:(0,c.A)(n,s.className),key:t.key||"".concat(e,"-").concat(r),ticks:ek(s,!0)}))}),uF(l,"renderPolarGrid",function(t){var e=t.props,r=e.radialLines,n=e.polarAngles,o=e.polarRadius,a=l.state,c=a.radiusAxisMap,u=a.angleAxisMap,s=(0,P.lX)(c),f=(0,P.lX)(u),p=f.cx,y=f.cy,d=f.innerRadius,h=f.outerRadius;return(0,i.cloneElement)(t,{polarAngles:Array.isArray(n)?n:ek(f,!0).map(function(t){return t.coordinate}),polarRadius:Array.isArray(o)?o:ek(s,!0).map(function(t){return t.coordinate}),cx:p,cy:y,innerRadius:d,outerRadius:h,key:t.key||"polar-grid",radialLines:r})}),uF(l,"renderLegend",function(){var t=l.state.formattedGraphicalItems,e=l.props,r=e.children,n=e.width,o=e.height,a=l.props.margin||{},c=el({children:r,formattedGraphicalItems:t,legendWidth:n-(a.left||0)-(a.right||0),legendContent:h});if(!c)return null;var u=c.item,s=uD(c,uE);return(0,i.cloneElement)(u,uq(uq({},s),{},{chartWidth:n,chartHeight:o,margin:a,onBBoxUpdate:l.handleLegendBBoxUpdate}))}),uF(l,"renderTooltip",function(){var t,e=l.props,r=e.children,n=e.accessibilityLayer,o=(0,u.BU)(r,cp.m);if(!o)return null;var a=l.state,c=a.isTooltipActive,s=a.activeCoordinate,f=a.activePayload,p=a.activeLabel,y=a.offset,d=null!=(t=o.props.active)?t:c;return(0,i.cloneElement)(o,{viewBox:uq(uq({},y),{},{x:y.left,y:y.top}),active:d,label:p,payload:d?f:[],coordinate:s,accessibilityLayer:n})}),uF(l,"renderBrush",function(t){var e=l.props,r=e.margin,n=e.data,o=l.state,a=o.offset,c=o.dataStartIndex,u=o.dataEndIndex,s=o.updateId;return(0,i.cloneElement)(t,{key:t.key||"_recharts-brush",onChange:eT(l.handleBrushChange,t.props.onChange),data:n,x:(0,P.Et)(t.props.x)?t.props.x:a.left,y:(0,P.Et)(t.props.y)?t.props.y:a.top+a.height+a.brushBottom-(r.bottom||0),width:(0,P.Et)(t.props.width)?t.props.width:a.width,startIndex:c,endIndex:u,updateId:"brush-".concat(s)})}),uF(l,"renderReferenceElement",function(t,e,r){if(!t)return null;var n=l.clipPathId,o=l.state,a=o.xAxisMap,c=o.yAxisMap,u=o.offset,s=t.type.defaultProps||{},f=t.props,p=f.xAxisId,y=void 0===p?s.xAxisId:p,d=f.yAxisId,h=void 0===d?s.yAxisId:d;return(0,i.cloneElement)(t,{key:t.key||"".concat(e,"-").concat(r),xAxis:a[y],yAxis:c[h],viewBox:{x:u.left,y:u.top,width:u.width,height:u.height},clipPathId:n})}),uF(l,"renderActivePoints",function(t){var e=t.item,r=t.activePoint,i=t.basePoint,o=t.childIndex,a=t.isRange,c=[],l=e.props.key,s=void 0!==e.item.type.defaultProps?uq(uq({},e.item.type.defaultProps),e.item.props):e.item.props,f=s.activeDot,y=uq(uq({index:o,dataKey:s.dataKey,cx:r.x,cy:r.y,r:4,fill:eg(e.item),strokeWidth:2,stroke:"#fff",payload:r.payload,value:r.value},(0,u.J9)(f,!1)),(0,p._U)(f));return c.push(n.renderActiveDot(f,y,"".concat(l,"-activePoint-").concat(o))),i?c.push(n.renderActiveDot(f,uq(uq({},y),{},{cx:i.x,cy:i.y}),"".concat(l,"-basePoint-").concat(o))):a&&c.push(null),c}),uF(l,"renderGraphicChild",function(t,e,r){var n=l.filterFormatItem(t,e,r);if(!n)return null;var o=l.getTooltipEventType(),a=l.state,c=a.isTooltipActive,s=a.tooltipAxis,f=a.activeTooltipIndex,p=a.activeLabel,y=l.props.children,d=(0,u.BU)(y,cp.m),h=n.props,v=h.points,b=h.isRange,m=h.baseLine,g=void 0!==n.item.type.defaultProps?uq(uq({},n.item.type.defaultProps),n.item.props):n.item.props,O=g.activeDot,x=g.hide,w=g.activeBar,j=g.activeShape,A=!!(!x&&c&&d&&(O||w||j)),E={};"axis"!==o&&d&&"click"===d.props.trigger?E={onClick:eT(l.handleItemMouseEnter,t.props.onClick)}:"axis"!==o&&(E={onMouseLeave:eT(l.handleItemMouseLeave,t.props.onMouseLeave),onMouseEnter:eT(l.handleItemMouseEnter,t.props.onMouseEnter)});var k=(0,i.cloneElement)(t,uq(uq({},n.props),E));if(A)if(f>=0){if(s.dataKey&&!s.allowDuplicatedCategory){var M="function"==typeof s.dataKey?function(t){return"function"==typeof s.dataKey?s.dataKey(t.payload):null}:"payload.".concat(s.dataKey.toString());I=(0,P.eP)(v,M,p),D=b&&m&&(0,P.eP)(m,M,p)}else I=null==v?void 0:v[f],D=b&&m&&m[f];if(j||w){var T=void 0!==t.props.activeIndex?t.props.activeIndex:f;return[(0,i.cloneElement)(t,uq(uq(uq({},n.props),E),{},{activeIndex:T})),null,null]}if(!S()(I))return[k].concat(uB(l.renderActivePoints({item:n,activePoint:I,basePoint:D,childIndex:f,isRange:b})))}else{var I,D,N,C=(null!=(N=l.getItemByXY(l.state.activeCoordinate))?N:{graphicalItem:k}).graphicalItem,R=C.item,B=void 0===R?t:R,L=C.childIndex,_=uq(uq(uq({},n.props),E),{},{activeIndex:L});return[(0,i.cloneElement)(B,_),null,null]}return b?[k,null,null]:[k,null]}),uF(l,"renderCustomized",function(t,e,r){return(0,i.cloneElement)(t,uq(uq({key:"recharts-customized-".concat(r)},l.props),l.state))}),uF(l,"renderMap",{CartesianGrid:{handler:uG,once:!0},ReferenceArea:{handler:l.renderReferenceElement},ReferenceLine:{handler:uG},ReferenceDot:{handler:l.renderReferenceElement},XAxis:{handler:uG},YAxis:{handler:uG},Brush:{handler:l.renderBrush,once:!0},Bar:{handler:l.renderGraphicChild},Line:{handler:l.renderGraphicChild},Area:{handler:l.renderGraphicChild},Radar:{handler:l.renderGraphicChild},RadialBar:{handler:l.renderGraphicChild},Scatter:{handler:l.renderGraphicChild},Pie:{handler:l.renderGraphicChild},Funnel:{handler:l.renderGraphicChild},Tooltip:{handler:l.renderCursor,once:!0},PolarGrid:{handler:l.renderPolarGrid,once:!0},PolarAngleAxis:{handler:l.renderPolarAxis},PolarRadiusAxis:{handler:l.renderPolarAxis},Customized:{handler:l.renderCustomized}}),l.clipPathId="".concat(null!=(r=t.id)?r:(0,P.NF)("recharts"),"-clip"),l.throttleTriggeredAfterMouseMove=cs()(l.triggeredAfterMouseMove,null!=(o=t.throttleDelay)?o:1e3/60),l.state={},l}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&uR(n,t),r=[{key:"componentDidMount",value:function(){var t,e;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:null!=(t=this.props.margin.left)?t:0,top:null!=(e=this.props.margin.top)?e:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var t=this.props,e=t.children,r=t.data,n=t.height,i=t.layout,o=(0,u.BU)(e,cp.m);if(o){var a=o.props.defaultIndex;if("number"==typeof a&&!(a<0)&&!(a>this.state.tooltipTicks.length-1)){var c=this.state.tooltipTicks[a]&&this.state.tooltipTicks[a].value,l=u$(this.state,r,a,c),s=this.state.tooltipTicks[a].coordinate,f=(this.state.offset.top+n)/2,p="horizontal"===i?{x:s,y:f}:{y:s,x:f},y=this.state.formattedGraphicalItems.find(function(t){return"Scatter"===t.item.type.name});y&&(p=uq(uq({},p),y.props.points[a].tooltipPosition),l=y.props.points[a].tooltipPayload);var d={activeTooltipIndex:a,isTooltipActive:!0,activeLabel:c,activePayload:l,activeCoordinate:p};this.setState(d),this.renderCursor(o),this.accessibilityManager.setIndex(a)}}}},{key:"getSnapshotBeforeUpdate",value:function(t,e){if(!this.props.accessibilityLayer)return null;if(this.state.tooltipTicks!==e.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==t.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==t.margin){var r,n;this.accessibilityManager.setDetails({offset:{left:null!=(r=this.props.margin.left)?r:0,top:null!=(n=this.props.margin.top)?n:0}})}return null}},{key:"componentDidUpdate",value:function(t){(0,u.OV)([(0,u.BU)(t.children,cp.m)],[(0,u.BU)(this.props.children,cp.m)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var t=(0,u.BU)(this.props.children,cp.m);if(t&&"boolean"==typeof t.props.shared){var e=t.props.shared?"axis":"item";return s.indexOf(e)>=0?e:o}return o}},{key:"getMouseInfo",value:function(t){if(!this.container)return null;var e=this.container,r=e.getBoundingClientRect(),n={top:r.top+window.scrollY-document.documentElement.clientTop,left:r.left+window.scrollX-document.documentElement.clientLeft},i={chartX:Math.round(t.pageX-n.left),chartY:Math.round(t.pageY-n.top)},o=r.width/e.offsetWidth||1,a=this.inRange(i.chartX,i.chartY,o);if(!a)return null;var c=this.state,u=c.xAxisMap,l=c.yAxisMap,s=this.getTooltipEventType(),f=uY(this.state,this.props.data,this.props.layout,a);if("axis"!==s&&u&&l){var p=(0,P.lX)(u).scale,y=(0,P.lX)(l).scale,d=p&&p.invert?p.invert(i.chartX):null,h=y&&y.invert?y.invert(i.chartY):null;return uq(uq({},i),{},{xValue:d,yValue:h},f)}return f?uq(uq({},i),f):null}},{key:"inRange",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=this.props.layout,i=t/r,o=e/r;if("horizontal"===n||"vertical"===n){var a=this.state.offset;return i>=a.left&&i<=a.left+a.width&&o>=a.top&&o<=a.top+a.height?{x:i,y:o}:null}var c=this.state,u=c.angleAxisMap,l=c.radiusAxisMap;return u&&l?e3({x:i,y:o},(0,P.lX)(u)):null}},{key:"parseEventsOfWrapper",value:function(){var t=this.props.children,e=this.getTooltipEventType(),r=(0,u.BU)(t,cp.m),n={};return r&&"axis"===e&&(n="click"===r.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onDoubleClick:this.handleDoubleClick,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,onContextMenu:this.handleContextMenu}),uq(uq({},(0,p._U)(this.props,this.handleOuterEvent)),n)}},{key:"addListener",value:function(){uf.on(up,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){uf.removeListener(up,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(t,e,r){for(var n=this.state.formattedGraphicalItems,i=0,o=n.length;i<o;i++){var a=n[i];if(a.item===t||a.props.key===t.key||e===(0,u.Mn)(a.item.type)&&r===a.childIndex)return a}return null}},{key:"renderClipPath",value:function(){var t=this.clipPathId,e=this.state.offset,r=e.left,n=e.top,o=e.height,a=e.width;return i.createElement("defs",null,i.createElement("clipPath",{id:t},i.createElement("rect",{x:r,y:n,height:o,width:a})))}},{key:"getXScales",value:function(){var t=this.state.xAxisMap;return t?Object.entries(t).reduce(function(t,e){var r=uI(e,2),n=r[0],i=r[1];return uq(uq({},t),{},uF({},n,i.scale))},{}):null}},{key:"getYScales",value:function(){var t=this.state.yAxisMap;return t?Object.entries(t).reduce(function(t,e){var r=uI(e,2),n=r[0],i=r[1];return uq(uq({},t),{},uF({},n,i.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(t){var e;return null==(e=this.state.xAxisMap)||null==(e=e[t])?void 0:e.scale}},{key:"getYScaleByAxisId",value:function(t){var e;return null==(e=this.state.yAxisMap)||null==(e=e[t])?void 0:e.scale}},{key:"getItemByXY",value:function(t){var e=this.state,r=e.formattedGraphicalItems,n=e.activeItem;if(r&&r.length)for(var i=0,o=r.length;i<o;i++){var a=r[i],c=a.props,l=a.item,s=void 0!==l.type.defaultProps?uq(uq({},l.type.defaultProps),l.props):l.props,f=(0,u.Mn)(l.type);if("Bar"===f){var p=(c.data||[]).find(function(e){return nI(t,e)});if(p)return{graphicalItem:a,payload:p}}else if("RadialBar"===f){var y=(c.data||[]).find(function(e){return e3(t,e)});if(y)return{graphicalItem:a,payload:y}}else if(n8(a,n)||n6(a,n)||n7(a,n)){var d=function(t){var e,r,n,i=t.activeTooltipItem,o=t.graphicalItem,a=t.itemData,c=(n8(o,i)?e="trapezoids":n6(o,i)?e="sectors":n7(o,i)&&(e="points"),e),u=n8(o,i)?null==(r=i.tooltipPayload)||null==(r=r[0])||null==(r=r.payload)?void 0:r.payload:n6(o,i)?null==(n=i.tooltipPayload)||null==(n=n[0])||null==(n=n.payload)?void 0:n.payload:n7(o,i)?i.payload:{},l=a.filter(function(t,e){var r=tD()(u,t),n=o.props[c].filter(function(t){var e;return(n8(o,i)?e=n3:n6(o,i)?e=n9:n7(o,i)&&(e=n4),e)(t,i)}),a=o.props[c].indexOf(n[n.length-1]);return r&&e===a});return a.indexOf(l[l.length-1])}({graphicalItem:a,activeTooltipItem:n,itemData:s.data}),h=void 0===s.activeIndex?d:s.activeIndex;return{graphicalItem:uq(uq({},a),{},{childIndex:h}),payload:n7(a,n)?s.data[d]:a.props.data[d]}}}return null}},{key:"render",value:function(){var t,e,r=this;if(!(0,u.Me)(this))return null;var n=this.props,o=n.children,a=n.className,l=n.width,s=n.height,f=n.style,p=n.compact,y=n.title,d=n.desc,h=uD(n,uk),v=(0,u.J9)(h,!1);if(p)return i.createElement(o1,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},i.createElement(cf.u,uT({},v,{width:l,height:s,title:y,desc:d}),this.renderClipPath(),(0,u.ee)(o,this.renderMap)));this.props.accessibilityLayer&&(v.tabIndex=null!=(t=this.props.tabIndex)?t:0,v.role=null!=(e=this.props.role)?e:"application",v.onKeyDown=function(t){r.accessibilityManager.keyboardEvent(t)},v.onFocus=function(){r.accessibilityManager.focus()});var b=this.parseEventsOfWrapper();return i.createElement(o1,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},i.createElement("div",uT({className:(0,c.A)("recharts-wrapper",a),style:uq({position:"relative",cursor:"default",width:l,height:s},f)},b,{ref:function(t){r.container=t}}),i.createElement(cf.u,uT({},v,{width:l,height:s,title:y,desc:d,style:uU}),this.renderClipPath(),(0,u.ee)(o,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,uX(n.key),n)}}(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(i.Component);uF(O,"displayName",e),uF(O,"defaultProps",uq({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},b)),uF(O,"getDerivedStateFromProps",function(t,e){var r=t.dataKey,n=t.data,i=t.children,o=t.width,a=t.height,c=t.layout,l=t.stackOffset,s=t.margin,f=e.dataStartIndex,p=e.dataEndIndex;if(void 0===e.updateId){var y=u2(t);return uq(uq(uq({},y),{},{updateId:0},g(uq(uq({props:t},y),{},{updateId:0}),e)),{},{prevDataKey:r,prevData:n,prevWidth:o,prevHeight:a,prevLayout:c,prevStackOffset:l,prevMargin:s,prevChildren:i})}if(r!==e.prevDataKey||n!==e.prevData||o!==e.prevWidth||a!==e.prevHeight||c!==e.prevLayout||l!==e.prevStackOffset||!(0,ok.b)(s,e.prevMargin)){var d=u2(t),h={chartX:e.chartX,chartY:e.chartY,isTooltipActive:e.isTooltipActive},v=uq(uq({},uY(e,n,c)),{},{updateId:e.updateId+1}),b=uq(uq(uq({},d),h),v);return uq(uq(uq({},b),g(uq({props:t},b),e)),{},{prevDataKey:r,prevData:n,prevWidth:o,prevHeight:a,prevLayout:c,prevStackOffset:l,prevMargin:s,prevChildren:i})}if(!(0,u.OV)(i,e.prevChildren)){var m,O,x,w,j=(0,u.BU)(i,cI),A=j&&null!=(m=null==(O=j.props)?void 0:O.startIndex)?m:f,P=j&&null!=(x=null==(w=j.props)?void 0:w.endIndex)?x:p,E=S()(n)||A!==f||P!==p?e.updateId+1:e.updateId;return uq(uq({updateId:E},g(uq(uq({props:t},e),{},{updateId:E,dataStartIndex:A,dataEndIndex:P}),e)),{},{prevChildren:i,dataStartIndex:A,dataEndIndex:P})}return null}),uF(O,"renderActiveDot",function(t,e,r){var n;return n=(0,i.isValidElement)(t)?(0,i.cloneElement)(t,e):a()(t)?t(e):i.createElement(d,e),i.createElement(f,{className:"recharts-active-dot",key:r},n)});var x=(0,i.forwardRef)(function(t,e){return i.createElement(O,uT({},t,{ref:e}))});return x.displayName=O.displayName,x},u7=u6({chartName:"BarChart",GraphicalChild:os,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:a3},{axisType:"yAxis",AxisComp:ca}],formatAxisMap:ob}),u3=u6({chartName:"AreaChart",GraphicalChild:aZ,axisComponents:[{axisType:"xAxis",AxisComp:a3},{axisType:"yAxis",AxisComp:ca}],formatAxisMap:ob}),u9=r(64738),u4=r.n(u9),lt=r(45228),le=r.n(lt),lr=["cx","cy","angle","ticks","axisLine"],ln=["ticks","tick","angle","tickFormatter","stroke"];function li(t){return(li="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function lo(){return(lo=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function la(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function lc(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?la(Object(r),!0).forEach(function(e){ly(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):la(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function lu(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function ll(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ld(n.key),n)}}function ls(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ls=function(){return!!t})()}function lf(t){return(lf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function lp(t,e){return(lp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function ly(t,e,r){return(e=ld(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ld(t){var e=function(t,e){if("object"!=li(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=li(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==li(e)?e:e+""}var lh=function(t){var e,r;function n(){var t,e;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return t=n,e=arguments,t=lf(t),function(t,e){if(e&&("object"===li(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,ls()?Reflect.construct(t,e||[],lf(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&lp(n,t),e=[{key:"getTickValueCoord",value:function(t){var e=t.coordinate,r=this.props,n=r.angle;return e2(r.cx,r.cy,e,n)}},{key:"getTickTextAnchor",value:function(){var t;switch(this.props.orientation){case"left":t="end";break;case"right":t="start";break;default:t="middle"}return t}},{key:"getViewBox",value:function(){var t=this.props,e=t.cx,r=t.cy,n=t.angle,i=t.ticks,o=u4()(i,function(t){return t.coordinate||0});return{cx:e,cy:r,startAngle:n,endAngle:n,innerRadius:le()(i,function(t){return t.coordinate||0}).coordinate||0,outerRadius:o.coordinate||0}}},{key:"renderAxisLine",value:function(){var t=this.props,e=t.cx,r=t.cy,n=t.angle,o=t.ticks,a=t.axisLine,c=lu(t,lr),l=o.reduce(function(t,e){return[Math.min(t[0],e.coordinate),Math.max(t[1],e.coordinate)]},[1/0,-1/0]),s=e2(e,r,l[0],n),f=e2(e,r,l[1],n),p=lc(lc(lc({},(0,u.J9)(c,!1)),{},{fill:"none"},(0,u.J9)(a,!1)),{},{x1:s.x,y1:s.y,x2:f.x,y2:f.y});return i.createElement("line",lo({className:"recharts-polar-radius-axis-line"},p))}},{key:"renderTicks",value:function(){var t=this,e=this.props,r=e.ticks,o=e.tick,a=e.angle,l=e.tickFormatter,s=e.stroke,y=lu(e,ln),d=this.getTickTextAnchor(),h=(0,u.J9)(y,!1),v=(0,u.J9)(o,!1),b=r.map(function(e,r){var u=t.getTickValueCoord(e),y=lc(lc(lc(lc({textAnchor:d,transform:"rotate(".concat(90-a,", ").concat(u.x,", ").concat(u.y,")")},h),{},{stroke:"none",fill:s},v),{},{index:r},u),{},{payload:e});return i.createElement(f,lo({className:(0,c.A)("recharts-polar-radius-axis-tick",e9(o)),key:"tick-".concat(e.coordinate)},(0,p.XC)(t.props,e,r)),n.renderTickItem(o,y,l?l(e.value,r):e.value))});return i.createElement(f,{className:"recharts-polar-radius-axis-ticks"},b)}},{key:"render",value:function(){var t=this.props,e=t.ticks,r=t.axisLine,n=t.tick;return e&&e.length?i.createElement(f,{className:(0,c.A)("recharts-polar-radius-axis",this.props.className)},r&&this.renderAxisLine(),n&&this.renderTicks(),ij.renderCallByParent(this.props,this.getViewBox())):null}}],r=[{key:"renderTickItem",value:function(t,e,r){return i.isValidElement(t)?i.cloneElement(t,e):a()(t)?t(e):i.createElement(tc,lo({},e,{className:"recharts-polar-radius-axis-tick-value"}),r)}}],e&&ll(n.prototype,e),r&&ll(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(i.PureComponent);ly(lh,"displayName","PolarRadiusAxis"),ly(lh,"axisType","radiusAxis"),ly(lh,"defaultProps",{type:"number",radiusAxisId:0,cx:0,cy:0,angle:0,orientation:"right",stroke:"#ccc",axisLine:!0,tick:!0,tickCount:5,allowDataOverflow:!1,scale:"auto",allowDuplicatedCategory:!0});var lv=u6({chartName:"RadialBarChart",GraphicalChild:iH,legendContent:"children",defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"angleAxis",AxisComp:rs},{axisType:"radiusAxis",AxisComp:lh}],formatAxisMap:function(t,e,r,n,i){var o=t.width,a=t.height,c=t.startAngle,u=t.endAngle,l=(0,P.F4)(t.cx,o,o/2),s=(0,P.F4)(t.cy,a,a/2),f=e5(o,a,r),p=(0,P.F4)(t.innerRadius,f,0),y=(0,P.F4)(t.outerRadius,f,.8*f);return Object.keys(e).reduce(function(t,r){var o,a=e[r],f=a.domain,d=a.reversed;if(S()(a.range))"angleAxis"===n?o=[c,u]:"radiusAxis"===n&&(o=[p,y]),d&&(o=[o[1],o[0]]);else{var h,v=function(t){if(Array.isArray(t))return t}(h=o=a.range)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],u=!0,l=!1;try{o=(r=r.call(t)).next,!1;for(;!(u=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,i=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return c}}(h,2)||function(t,e){if(t){if("string"==typeof t)return e0(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return e0(t,e)}}(h,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();c=v[0],u=v[1]}var b=eI(a,i),m=b.realScaleType,g=b.scale;g.domain(f).range(o),eD(g);var O=e_(g,eZ(eZ({},a),{},{realScaleType:m})),x=eZ(eZ(eZ({},a),O),{},{range:o,radius:y,realScaleType:m,scale:g,cx:l,cy:s,innerRadius:p,outerRadius:y,startAngle:c,endAngle:u});return eZ(eZ({},t),{},eQ({},r,x))},{})},defaultProps:{layout:"radial",startAngle:0,endAngle:360,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"}})},91978:t=>{t.exports=function(t,e){return t>e}},93118:(t,e,r)=>{var n=r(19773),i=r(80178),o=r(22363),a=Object.prototype,c=Function.prototype.toString,u=a.hasOwnProperty,l=c.call(Object);t.exports=function(t){if(!o(t)||"[object Object]"!=n(t))return!1;var e=i(t);if(null===e)return!0;var r=u.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&c.call(r)==l}},95557:t=>{t.exports=function(t,e){return t<e}},96546:(t,e,r)=>{var n=r(89723);t.exports=function(t,e,r){for(var i=-1,o=t.length;++i<o;){var a=t[i],c=e(a);if(null!=c&&(void 0===u?c==c&&!n(c):r(c,u)))var u=c,l=a}return l}},97818:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(25365).A)("network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]])},98491:(t,e,r)=>{var n=r(96546),i=r(91978),o=r(84837);t.exports=function(t){return t&&t.length?n(t,o,i):void 0}},98958:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(25365).A)("cpu",[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]])}}]);