HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux wordpress-ubuntu-s-2vcpu-4gb-fra1-01 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64
User: root (0)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/delta/wp-content/plugins/better-wp-security/dist/vendors/recharts.js
/*! For license information please see recharts.js.LICENSE.txt */
"use strict";(globalThis.itsecWebpackJsonP=globalThis.itsecWebpackJsonP||[]).push([[9787],{1248:(t,e)=>{var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),y=Symbol.for("react.lazy");Symbol.for("react.offscreen");Symbol.for("react.module.reference"),e.isFragment=function(t){return function(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case r:switch(t=t.type){case o:case a:case i:case f:case p:return t;default:switch(t=t&&t.$$typeof){case u:case l:case s:case y:case d:case c:return t;default:return e}}case n:return e}}}(t)===o}},5614:(t,e,r)=>{r.d(e,{Z:()=>A});var n=r(51609),o=r.n(n),i=r(69843),a=r.n(i),c=r(23805),l=r.n(c),u=r(1882),s=r.n(u),f=r(68090),p=r.n(f),d=r(91706),y=r(86069),h=r(94501),v=r(33964);function b(t){return b="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},b(t)}var m=["valueAccessor"],g=["data","dataKey","clockWise","id","textBreakAll"];function O(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function x(){return x=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},x.apply(this,arguments)}function w(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 j(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?w(Object(r),!0).forEach((function(e){var n,o,i,a;n=t,o=e,i=r[e],a=function(t){if("object"!=b(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=b(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(o),(o="symbol"==b(a)?a:a+"")in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function P(t,e){if(null==t)return{};var r,n,o=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 i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var S=function(t){return Array.isArray(t.value)?p()(t.value):t.value};function A(t){var e=t.valueAccessor,r=void 0===e?S:e,n=P(t,m),i=n.data,c=n.dataKey,l=n.clockWise,u=n.id,s=n.textBreakAll,f=P(n,g);return i&&i.length?o().createElement(y.W,{className:"recharts-label-list"},i.map((function(t,e){var n=a()(c)?r(t,e):(0,v.kr)(t&&t.payload,c),i=a()(u)?{}:{id:"".concat(u,"-").concat(e)};return o().createElement(d.J,x({},(0,h.J9)(t,!0),f,i,{parentViewBox:t.parentViewBox,value:n,textBreakAll:s,viewBox:d.J.parseViewBox(a()(l)?t:j(j({},t),{},{clockWise:l})),key:"label-".concat(e),index:e}))}))):null}A.displayName="LabelList",A.renderCallByParent=function(t,e){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||!t.children&&r&&!t.label)return null;var i,a=t.children,c=(0,h.aS)(a,A).map((function(t,r){return(0,n.cloneElement)(t,{data:e,key:"labelList-".concat(r)})}));return r?[function(t,e){return t?!0===t?o().createElement(A,{key:"labelList-implicit",data:e}):o().isValidElement(t)||s()(t)?o().createElement(A,{key:"labelList-implicit",data:e,content:t}):l()(t)?o().createElement(A,x({data:e},t,{key:"labelList-implicit"})):null:null}(t.label,e)].concat(function(t){if(Array.isArray(t))return O(t)}(i=c)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(i)||function(t,e){if(t){if("string"==typeof t)return O(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?O(t,e):void 0}}(i)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):c}},6634:(t,e,r)=>{r.d(e,{R:()=>n});var n=function(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o]}},12532:(t,e,r)=>{r.d(e,{g:()=>u});var n=r(97018),o=r(33964),i=r(94501);function a(t){return a="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},a(t)}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 l(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){var n,o,i,c;n=t,o=e,i=r[e],c=function(t){if("object"!=a(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(o),(o="symbol"==a(c)?c:c+"")in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var u=function(t){var e=t.children,r=t.formattedGraphicalItems,a=t.legendWidth,c=t.legendContent,u=(0,i.BU)(e,n.s);if(!u)return null;var s,f=n.s.defaultProps,p=void 0!==f?l(l({},f),u.props):{};return s=u.props&&u.props.payload?u.props&&u.props.payload:"children"===c?(r||[]).reduce((function(t,e){var r=e.item,n=e.props,o=n.sectors||n.data||[];return t.concat(o.map((function(t){return{type:u.props.iconType||r.props.legendType,value:t.name,color:t.fill,payload:t}})))}),[]):(r||[]).map((function(t){var e=t.item,r=e.type.defaultProps,n=void 0!==r?l(l({},r),e.props):{},i=n.dataKey,a=n.name,c=n.legendType;return{inactive:n.hide,dataKey:i,type:p.iconType||c||"square",color:(0,o.Ps)(e),value:a||i,payload:n}})),l(l(l({},p),n.s.getWithHeight(u,a)),{},{payload:s,item:u})}},14040:(t,e,r)=>{r.d(e,{IZ:()=>b,Kg:()=>h,Zk:()=>x,pr:()=>m,yy:()=>O});var n=r(69843),o=r.n(n),i=r(51609),a=r(1882),c=r.n(a),l=r(59744),u=r(33964);function s(t){return s="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},s(t)}function f(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 p(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach((function(e){d(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function d(t,e,r){var n;return n=function(t){if("object"!=s(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(e),(e="symbol"==s(n)?n:n+"")in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var h=Math.PI/180,v=function(t){return 180*t/Math.PI},b=function(t,e,r,n){return{x:t+Math.cos(-h*n)*r,y:e+Math.sin(-h*n)*r}},m=function(t,e,r,n,i){var a=t.width,c=t.height,s=t.startAngle,f=t.endAngle,h=(0,l.F4)(t.cx,a,a/2),v=(0,l.F4)(t.cy,c,c/2),b=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}(a,c,r),m=(0,l.F4)(t.innerRadius,b,0),g=(0,l.F4)(t.outerRadius,b,.8*b);return Object.keys(e).reduce((function(t,r){var a,c,l,b=e[r],O=b.domain,x=b.reversed;if(o()(b.range))"angleAxis"===n?a=[s,f]:"radiusAxis"===n&&(a=[m,g]),x&&(a=[a[1],a[0]]);else{var w=(c=a=b.range,l=2,function(t){if(Array.isArray(t))return t}(c)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],l=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(c,l)||function(t,e){if(t){if("string"==typeof t)return y(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?y(t,e):void 0}}(c,l)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());s=w[0],f=w[1]}var j=(0,u.W7)(b,i),P=j.realScaleType,S=j.scale;S.domain(O).range(a),(0,u.YB)(S);var A=(0,u.w7)(S,p(p({},b),{},{realScaleType:P})),E=p(p(p({},b),A),{},{range:a,radius:g,realScaleType:P,scale:S,cx:h,cy:v,innerRadius:m,outerRadius:g,startAngle:s,endAngle:f});return p(p({},t),{},d({},r,E))}),{})},g=function(t,e){var r=e.startAngle,n=e.endAngle,o=Math.floor(r/360),i=Math.floor(n/360);return t+360*Math.min(o,i)},O=function(t,e){var r=function(t,e){var r,n,o,i,a,c,l=t.x,u=t.y,s=e.cx,f=e.cy,p=(o=(r={x:l,y:u}).x,i=r.y,a=(n={x:s,y:f}).x,c=n.y,Math.sqrt(Math.pow(o-a,2)+Math.pow(i-c,2)));if(p<=0)return{radius:p};var d=(l-s)/p,y=Math.acos(d);return u>f&&(y=2*Math.PI-y),{radius:p,angle:v(y),angleInRadian:y}}({x:t.x,y:t.y},e),n=r.radius,o=r.angle,i=e.innerRadius,a=e.outerRadius;if(n<i||n>a)return!1;if(0===n)return!0;var c,l=function(t){var e=t.startAngle,r=t.endAngle,n=Math.floor(e/360),o=Math.floor(r/360),i=Math.min(n,o);return{startAngle:e-360*i,endAngle:r-360*i}}(e),u=l.startAngle,s=l.endAngle,f=o;if(u<=s){for(;f>s;)f-=360;for(;f<u;)f+=360;c=f>=u&&f<=s}else{for(;f>u;)f-=360;for(;f<s;)f+=360;c=f>=s&&f<=u}return c?p(p({},e),{},{radius:n,angle:g(f,e)}):null},x=function(t){return(0,i.isValidElement)(t)||c()(t)||"boolean"==typeof t?"":t.className}},15079:(t,e,r)=>{r.d(e,{yp:()=>B,GG:()=>X,NE:()=>N,nZ:()=>R,xQ:()=>L});var n=r(51609),o=r.n(n),i=r(1882),a=r.n(i),c=r(11331),l=r.n(c),u=r(53812),s=r.n(u),f=r(2404),p=r.n(f),d=r(34723),y=r(34164),h=r(16473),v=r(94501);function b(t){return b="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},b(t)}function m(){return m=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},m.apply(this,arguments)}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function O(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 x(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?O(Object(r),!0).forEach((function(e){var n,o,i,a;n=t,o=e,i=r[e],a=function(t){if("object"!=b(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=b(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(o),(o="symbol"==b(a)?a:a+"")in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var w=function(t,e,r,n,o){var i,a=r-n;return i="M ".concat(t,",").concat(e),i+="L ".concat(t+r,",").concat(e),i+="L ".concat(t+r-a/2,",").concat(e+o),(i+="L ".concat(t+r-a/2-n,",").concat(e+o))+"L ".concat(t,",").concat(e," Z")},j={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},P=function(t){var e,r,i=x(x({},j),t),a=(0,n.useRef)(),c=(e=(0,n.useState)(-1),r=2,function(t){if(Array.isArray(t))return t}(e)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],l=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(e,r)||function(t,e){if(t){if("string"==typeof t)return g(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?g(t,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),l=c[0],u=c[1];(0,n.useEffect)((function(){if(a.current&&a.current.getTotalLength)try{var t=a.current.getTotalLength();t&&u(t)}catch(t){}}),[]);var s=i.x,f=i.y,p=i.upperWidth,d=i.lowerWidth,b=i.height,O=i.className,P=i.animationEasing,S=i.animationDuration,A=i.animationBegin,E=i.isUpdateAnimationActive;if(s!==+s||f!==+f||p!==+p||d!==+d||b!==+b||0===p&&0===d||0===b)return null;var k=(0,y.A)("recharts-trapezoid",O);return E?o().createElement(h.Ay,{canBegin:l>0,from:{upperWidth:0,lowerWidth:0,height:b,x:s,y:f},to:{upperWidth:p,lowerWidth:d,height:b,x:s,y:f},duration:S,animationEasing:P,isActive:E},(function(t){var e=t.upperWidth,r=t.lowerWidth,n=t.height,c=t.x,u=t.y;return o().createElement(h.Ay,{canBegin:l>0,from:"0px ".concat(-1===l?1:l,"px"),to:"".concat(l,"px 0px"),attributeName:"strokeDasharray",begin:A,duration:S,easing:P},o().createElement("path",m({},(0,v.J9)(i,!0),{className:k,d:w(c,u,e,r,n),ref:a})))})):o().createElement("g",null,o().createElement("path",m({},(0,v.J9)(i,!0),{className:k,d:w(s,f,p,d,b)})))},S=r(58522),A=r(86069),E=r(65787),k=["option","shapeType","propTransformer","activeClassName","isActive"];function T(t){return T="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(t)}function I(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 M(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?I(Object(r),!0).forEach((function(e){var n,o,i,a;n=t,o=e,i=r[e],a=function(t){if("object"!=T(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=T(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(o),(o="symbol"==T(a)?a:a+"")in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):I(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function C(t,e){return M(M({},e),t)}function D(t){var e=t.shapeType,r=t.elementProps;switch(e){case"rectangle":return o().createElement(d.M,r);case"trapezoid":return o().createElement(P,r);case"sector":return o().createElement(S.h,r);case"symbols":if(function(t){return"symbols"===t}(e))return o().createElement(E.i,r);break;default:return null}}function B(t){var e,r=t.option,i=t.shapeType,c=t.propTransformer,u=void 0===c?C:c,f=t.activeClassName,p=void 0===f?"recharts-active-shape":f,d=t.isActive,y=function(t,e){if(null==t)return{};var r,n,o=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 i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,k);if((0,n.isValidElement)(r))e=(0,n.cloneElement)(r,M(M({},y),function(t){return(0,n.isValidElement)(t)?t.props:t}(r)));else if(a()(r))e=r(y);else if(l()(r)&&!s()(r)){var h=u(r,y);e=o().createElement(D,{shapeType:i,elementProps:h})}else{var v=y;e=o().createElement(D,{shapeType:i,elementProps:v})}return d?o().createElement(A.W,{className:p},e):e}function N(t,e){return null!=e&&"trapezoids"in t.props}function R(t,e){return null!=e&&"sectors"in t.props}function L(t,e){return null!=e&&"points"in t.props}function _(t,e){var r,n,o=t.x===(null==e||null===(r=e.labelViewBox)||void 0===r?void 0:r.x)||t.x===e.x,i=t.y===(null==e||null===(n=e.labelViewBox)||void 0===n?void 0:n.y)||t.y===e.y;return o&&i}function z(t,e){var r=t.endAngle===e.endAngle,n=t.startAngle===e.startAngle;return r&&n}function W(t,e){var r=t.x===e.x,n=t.y===e.y,o=t.z===e.z;return r&&n&&o}function X(t){var e=t.activeTooltipItem,r=t.graphicalItem,n=t.itemData,o=function(t,e){var r;return N(t,e)?r="trapezoids":R(t,e)?r="sectors":L(t,e)&&(r="points"),r}(r,e),i=function(t,e){var r,n;return N(t,e)?null===(r=e.tooltipPayload)||void 0===r||null===(r=r[0])||void 0===r||null===(r=r.payload)||void 0===r?void 0:r.payload:R(t,e)?null===(n=e.tooltipPayload)||void 0===n||null===(n=n[0])||void 0===n||null===(n=n.payload)||void 0===n?void 0:n.payload:L(t,e)?e.payload:{}}(r,e),a=n.filter((function(t,n){var a=p()(i,t),c=r.props[o].filter((function(t){var n=function(t,e){var r;return N(t,e)?r=_:R(t,e)?r=z:L(t,e)&&(r=W),r}(r,e);return n(t,e)})),l=r.props[o].indexOf(c[c.length-1]);return a&&n===l}));return n.indexOf(a[a.length-1])}},17228:(t,e,r)=>{r.d(e,{D:()=>N});var n=r(54498),o=r(98416),i=r(51609),a=r.n(i),c=r(97551),l=r.n(c),u=r(36533),s=r.n(u),f=r(1882),p=r.n(f),d=r(34164),y=r(81174),h=r(91706),v=r(86069),b=r(14040),m=r(98940),g=r(94501),O=["cx","cy","angle","ticks","axisLine"],x=["ticks","tick","angle","tickFormatter","stroke"];function w(t){return w="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},w(t)}function j(){return j=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},j.apply(this,arguments)}function P(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 S(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?P(Object(r),!0).forEach((function(e){M(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function A(t,e){if(null==t)return{};var r,n,o=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 i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function E(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,C(n.key),n)}}function k(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(k=function(){return!!t})()}function T(t){return T=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},T(t)}function I(t,e){return I=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},I(t,e)}function M(t,e,r){return(e=C(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function C(t){var e=function(t){if("object"!=w(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=w(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==w(e)?e:e+""}var D=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,n=arguments,r=T(r=e),function(t,e){if(e&&("object"===w(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,k()?Reflect.construct(r,n||[],T(t).constructor):r.apply(t,n));var t,r,n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&I(t,e)}(e,t),r=e,o=[{key:"renderTickItem",value:function(t,e,r){return a().isValidElement(t)?a().cloneElement(t,e):p()(t)?t(e):a().createElement(y.E,j({},e,{className:"recharts-polar-radius-axis-tick-value"}),r)}}],(n=[{key:"getTickValueCoord",value:function(t){var e=t.coordinate,r=this.props,n=r.angle,o=r.cx,i=r.cy;return(0,b.IZ)(o,i,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,o=t.ticks,i=l()(o,(function(t){return t.coordinate||0}));return{cx:e,cy:r,startAngle:n,endAngle:n,innerRadius:s()(o,(function(t){return t.coordinate||0})).coordinate||0,outerRadius:i.coordinate||0}}},{key:"renderAxisLine",value:function(){var t=this.props,e=t.cx,r=t.cy,n=t.angle,o=t.ticks,i=t.axisLine,c=A(t,O),l=o.reduce((function(t,e){return[Math.min(t[0],e.coordinate),Math.max(t[1],e.coordinate)]}),[1/0,-1/0]),u=(0,b.IZ)(e,r,l[0],n),s=(0,b.IZ)(e,r,l[1],n),f=S(S(S({},(0,g.J9)(c,!1)),{},{fill:"none"},(0,g.J9)(i,!1)),{},{x1:u.x,y1:u.y,x2:s.x,y2:s.y});return a().createElement("line",j({className:"recharts-polar-radius-axis-line"},f))}},{key:"renderTicks",value:function(){var t=this,r=this.props,n=r.ticks,o=r.tick,i=r.angle,c=r.tickFormatter,l=r.stroke,u=A(r,x),s=this.getTickTextAnchor(),f=(0,g.J9)(u,!1),p=(0,g.J9)(o,!1),y=n.map((function(r,n){var u=t.getTickValueCoord(r),y=S(S(S(S({textAnchor:s,transform:"rotate(".concat(90-i,", ").concat(u.x,", ").concat(u.y,")")},f),{},{stroke:"none",fill:l},p),{},{index:n},u),{},{payload:r});return a().createElement(v.W,j({className:(0,d.A)("recharts-polar-radius-axis-tick",(0,b.Zk)(o)),key:"tick-".concat(r.coordinate)},(0,m.XC)(t.props,r,n)),e.renderTickItem(o,y,c?c(r.value,n):r.value))}));return a().createElement(v.W,{className:"recharts-polar-radius-axis-ticks"},y)}},{key:"render",value:function(){var t=this.props,e=t.ticks,r=t.axisLine,n=t.tick;return e&&e.length?a().createElement(v.W,{className:(0,d.A)("recharts-polar-radius-axis",this.props.className)},r&&this.renderAxisLine(),n&&this.renderTicks(),h.J.renderCallByParent(this.props,this.getViewBox())):null}}])&&E(r.prototype,n),o&&E(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(i.PureComponent);M(D,"displayName","PolarRadiusAxis"),M(D,"axisType","radiusAxis"),M(D,"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 B=r(56122),N=(0,n.gu)({chartName:"RadialBarChart",GraphicalChild:B.Z,legendContent:"children",defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"angleAxis",AxisComp:o.r},{axisType:"radiusAxis",AxisComp:D}],formatAxisMap:b.pr,defaultProps:{layout:"radial",startAngle:0,endAngle:360,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"}})},23495:(t,e,r)=>{r.d(e,{h:()=>m});var n=r(51609),o=r.n(n),i=r(34164),a=r(47429),c=r(86880),l=r(33964);function u(t){return u="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},u(t)}function s(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,h(n.key),n)}}function f(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(f=function(){return!!t})()}function p(t){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},p(t)}function d(t,e){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},d(t,e)}function y(t,e,r){return(e=h(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function h(t){var e=function(t){if("object"!=u(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==u(e)?e:e+""}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},v.apply(this,arguments)}var b=function(t){var e=t.yAxisId,r=(0,a.yi)(),n=(0,a.rY)(),u=(0,a.Nk)(e);return null==u?null:o().createElement(c.u,v({},u,{className:(0,i.A)("recharts-".concat(u.axisType," ").concat(u.axisType),u.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(t){return(0,l.Rh)(t,!0)}}))},m=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,n=arguments,r=p(r=e),function(t,e){if(e&&("object"===u(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,f()?Reflect.construct(r,n||[],p(t).constructor):r.apply(t,n));var t,r,n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&d(t,e)}(e,t),r=e,(n=[{key:"render",value:function(){return o().createElement(b,this.props)}}])&&s(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n}(o().Component);y(m,"displayName","YAxis"),y(m,"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})},23521:(t,e,r)=>{function n(t,e){for(var r in t)if({}.hasOwnProperty.call(t,r)&&(!{}.hasOwnProperty.call(e,r)||t[r]!==e[r]))return!1;for(var n in e)if({}.hasOwnProperty.call(e,n)&&!{}.hasOwnProperty.call(t,n))return!1;return!0}r.d(e,{b:()=>n})},33964:(t,e,r)=>{r.d(e,{A1:()=>q,AQ:()=>xt,Ay:()=>K,BX:()=>Y,DW:()=>vt,HQ:()=>ot,Hj:()=>wt,KC:()=>jt,Mk:()=>mt,Mn:()=>pt,Ps:()=>H,Rh:()=>rt,W7:()=>it,YB:()=>ct,_L:()=>et,_f:()=>ut,gH:()=>J,kA:()=>bt,kr:()=>V,nb:()=>yt,s0:()=>$,tA:()=>Z,vf:()=>tt,w7:()=>dt,xi:()=>lt,y2:()=>ht,zb:()=>Pt});var n=r(39072),o=r(76502),i=r(30335),a=r(96488),c=r(93414),l=r(61530),u=r(93629),s=r(8872),f=r(34873),p=r(94506),d=r.n(p),y=r(31684),h=r.n(y),v=r(69843),b=r.n(v),m=r(1882),g=r.n(m),O=r(85015),x=r.n(O),w=r(58156),j=r.n(w),P=r(47307),S=r.n(P),A=r(11741),E=r.n(A),k=r(55808),T=r.n(k),I=r(2404),M=r.n(I),C=r(33031),D=r.n(C),B=r(46830),N=r(51738),R=r(59744),L=r(94501),_=r(12532);function z(t){return z="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},z(t)}function W(t){return function(t){if(Array.isArray(t))return X(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 X(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?X(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function X(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function F(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 U(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?F(Object(r),!0).forEach((function(e){G(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):F(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function G(t,e,r){var n;return n=function(t){if("object"!=z(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=z(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(e),(e="symbol"==z(n)?n:n+"")in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function V(t,e,r){return b()(t)||b()(e)?r:(0,R.vh)(e)?j()(t,e,r):g()(e)?e(t):r}function K(t,e,r,n){var o=S()(t,(function(t){return V(t,e)}));if("number"===r){var i=o.filter((function(t){return(0,R.Et)(t)||parseFloat(t)}));return i.length?[h()(i),d()(i)]:[1/0,-1/0]}return(n?o.filter((function(t){return!b()(t)})):o).map((function(t){return(0,R.vh)(t)||t instanceof Date?t:""}))}var J=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=-1,a=null!==(e=null==r?void 0:r.length)&&void 0!==e?e:0;if(a<=1)return 0;if(o&&"angleAxis"===o.axisType&&Math.abs(Math.abs(o.range[1]-o.range[0])-360)<=1e-6)for(var c=o.range,l=0;l<a;l++){var u=l>0?n[l-1].coordinate:n[a-1].coordinate,s=n[l].coordinate,f=l>=a-1?n[0].coordinate:n[l+1].coordinate,p=void 0;if((0,R.sA)(s-u)!==(0,R.sA)(f-s)){var d=[];if((0,R.sA)(f-s)===(0,R.sA)(c[1]-c[0])){p=f;var y=s+c[1]-c[0];d[0]=Math.min(y,(y+u)/2),d[1]=Math.max(y,(y+u)/2)}else{p=u;var h=f+c[1]-c[0];d[0]=Math.min(s,(h+s)/2),d[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>=d[0]&&t<=d[1]){i=n[l].index;break}}else{var b=Math.min(u,f),m=Math.max(u,f);if(t>(b+s)/2&&t<=(m+s)/2){i=n[l].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){i=r[g].index;break}return i},H=function(t){var e,r,n=t.type.displayName,o=null!==(e=t.type)&&void 0!==e&&e.defaultProps?U(U({},t.type.defaultProps),t.props):t.props,i=o.stroke,a=o.fill;switch(n){case"Line":r=i;break;case"Area":case"Radar":r=i&&"none"!==i?i:a;break;default:r=a}return r},Z=function(t){var e=t.barSize,r=t.totalSize,n=t.stackGroups,o=void 0===n?{}:n;if(!o)return{};for(var i={},a=Object.keys(o),c=0,l=a.length;c<l;c++)for(var u=o[a[c]].stackGroups,s=Object.keys(u),f=0,p=s.length;f<p;f++){var d=u[s[f]],y=d.items,h=d.cateAxisId,v=y.filter((function(t){return(0,L.Mn)(t.type).indexOf("Bar")>=0}));if(v&&v.length){var m=v[0].type.defaultProps,g=void 0!==m?U(U({},m),v[0].props):v[0].props,O=g.barSize,x=g[h];i[x]||(i[x]=[]);var w=b()(O)?e:O;i[x].push({item:v[0],stackList:v.slice(1),barSize:b()(w)?void 0:(0,R.F4)(w,r,0)})}}return i},Y=function(t){var e=t.barGap,r=t.barCategoryGap,n=t.bandSize,o=t.sizeList,i=void 0===o?[]:o,a=t.maxBarSize,c=i.length;if(c<1)return null;var l,u=(0,R.F4)(e,n,0,!0),s=[];if(i[0].barSize===+i[0].barSize){var f=!1,p=n/c,d=i.reduce((function(t,e){return t+e.barSize||0}),0);(d+=(c-1)*u)>=n&&(d-=(c-1)*u,u=0),d>=n&&p>0&&(f=!0,d=c*(p*=.9));var y={offset:((n-d)/2|0)-u,size:0};l=i.reduce((function(t,e){var r={item:e.item,position:{offset:y.offset+y.size+u,size:f?p:e.barSize}},n=[].concat(W(t),[r]);return y=n[n.length-1].position,e.stackList&&e.stackList.length&&e.stackList.forEach((function(t){n.push({item:t,position:y})})),n}),s)}else{var h=(0,R.F4)(r,n,0,!0);n-2*h-(c-1)*u<=0&&(u=0);var v=(n-2*h-(c-1)*u)/c;v>1&&(v>>=0);var b=a===+a?Math.min(v,a):v;l=i.reduce((function(t,e,r){var n=[].concat(W(t),[{item:e.item,position:{offset:h+(v+u)*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 l},$=function(t,e,r,n){var o=r.children,i=r.width,a=r.margin,c=i-(a.left||0)-(a.right||0),l=(0,_.g)({children:o,legendWidth:c});if(l){var u=n||{},s=u.width,f=u.height,p=l.align,d=l.verticalAlign,y=l.layout;if(("vertical"===y||"horizontal"===y&&"middle"===d)&&"center"!==p&&(0,R.Et)(t[p]))return U(U({},t),{},G({},p,t[p]+(s||0)));if(("horizontal"===y||"vertical"===y&&"center"===p)&&"middle"!==d&&(0,R.Et)(t[d]))return U(U({},t),{},G({},d,t[d]+(f||0)))}return t},Q=function(t,e,r,n,o){var i=e.props.children,a=(0,L.aS)(i,N.u).filter((function(t){return function(t,e,r){return!!b()(e)||("horizontal"===t?"yAxis"===e:"vertical"===t||"x"===r?"xAxis"===e:"y"!==r||"yAxis"===e)}(n,o,t.props.direction)}));if(a&&a.length){var c=a.map((function(t){return t.props.dataKey}));return t.reduce((function(t,e){var n=V(e,r);if(b()(n))return t;var o=Array.isArray(n)?[h()(n),d()(n)]:[n,n],i=c.reduce((function(t,r){var n=V(e,r,0),i=o[0]-Math.abs(Array.isArray(n)?n[0]:n),a=o[1]+Math.abs(Array.isArray(n)?n[1]:n);return[Math.min(i,t[0]),Math.max(a,t[1])]}),[1/0,-1/0]);return[Math.min(i[0],t[0]),Math.max(i[1],t[1])]}),[1/0,-1/0])}return null},q=function(t,e,r,n,o){var i=e.map((function(e){return Q(t,e,r,o,n)})).filter((function(t){return!b()(t)}));return i&&i.length?i.reduce((function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]}),[1/0,-1/0]):null},tt=function(t,e,r,n,o){var i=e.map((function(e){var i=e.props.dataKey;return"number"===r&&i&&Q(t,e,i,n)||K(t,i,r,o)}));if("number"===r)return i.reduce((function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]}),[1/0,-1/0]);var a={};return i.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}),[])},et=function(t,e){return"horizontal"===t&&"xAxis"===e||"vertical"===t&&"yAxis"===e||"centric"===t&&"angleAxis"===e||"radial"===t&&"radiusAxis"===e},rt=function(t,e,r){if(!t)return null;var n=t.scale,o=t.duplicateDomain,i=t.type,a=t.range,c="scaleBand"===t.realScaleType?n.bandwidth()/2:2,l=(e||r)&&"category"===i&&n.bandwidth?n.bandwidth()/c:0;return l="angleAxis"===t.axisType&&(null==a?void 0:a.length)>=2?2*(0,R.sA)(a[0]-a[1])*l:l,e&&(t.ticks||t.niceTicks)?(t.ticks||t.niceTicks).map((function(t){var e=o?o.indexOf(t):t;return{coordinate:n(e)+l,value:t,offset:l}})).filter((function(t){return!E()(t.coordinate)})):t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map((function(t,e){return{coordinate:n(t)+l,value:t,index:e,offset:l}})):n.ticks&&!r?n.ticks(t.tickCount).map((function(t){return{coordinate:n(t)+l,value:t,offset:l}})):n.domain().map((function(t,e){return{coordinate:n(t)+l,value:o?o[t]:t,index:e,offset:l}}))},nt=new WeakMap,ot=function(t,e){if("function"!=typeof e)return t;nt.has(t)||nt.set(t,new WeakMap);var r=nt.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},it=function(t,e,r){var a=t.scale,c=t.type,l=t.layout,u=t.axisType;if("auto"===a)return"radial"===l&&"radiusAxis"===u?{scale:n.A(),realScaleType:"band"}:"radial"===l&&"angleAxis"===u?{scale:o.A(),realScaleType:"linear"}:"category"===c&&e&&(e.indexOf("LineChart")>=0||e.indexOf("AreaChart")>=0||e.indexOf("ComposedChart")>=0&&!r)?{scale:n.z(),realScaleType:"point"}:"category"===c?{scale:n.A(),realScaleType:"band"}:{scale:o.A(),realScaleType:"linear"};if(x()(a)){var s="scale".concat(T()(a));return{scale:(i[s]||n.z)(),realScaleType:i[s]?s:"point"}}return g()(a)?{scale:a}:{scale:n.z(),realScaleType:"point"}},at=1e-4,ct=function(t){var e=t.domain();if(e&&!(e.length<=2)){var r=e.length,n=t.range(),o=Math.min(n[0],n[1])-at,i=Math.max(n[0],n[1])+at,a=t(e[0]),c=t(e[r-1]);(a<o||a>i||c<o||c>i)&&t.domain([e[0],e[r-1]])}},lt=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},ut=function(t,e){if(!e||2!==e.length||!(0,R.Et)(e[0])||!(0,R.Et)(e[1]))return t;var r=Math.min(e[0],e[1]),n=Math.max(e[0],e[1]),o=[t[0],t[1]];return(!(0,R.Et)(t[0])||t[0]<r)&&(o[0]=r),(!(0,R.Et)(t[1])||t[1]>n)&&(o[1]=n),o[0]>n&&(o[0]=n),o[1]<r&&(o[1]=r),o},st={sign:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var o=0,i=0,a=0;a<e;++a){var c=E()(t[a][r][1])?t[a][r][0]:t[a][r][1];c>=0?(t[a][r][0]=o,t[a][r][1]=o+c,o=t[a][r][1]):(t[a][r][0]=i,t[a][r][1]=i+c,i=t[a][r][1])}},expand:a.A,none:c.A,silhouette:l.A,wiggle:u.A,positive:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var o=0,i=0;i<e;++i){var a=E()(t[i][r][1])?t[i][r][0]:t[i][r][1];a>=0?(t[i][r][0]=o,t[i][r][1]=o+a,o=t[i][r][1]):(t[i][r][0]=0,t[i][r][1]=0)}}},ft=function(t,e,r){var n=e.map((function(t){return t.props.dataKey})),o=st[r];return(0,s.A)().keys(n).value((function(t,e){return+V(t,e,0)})).order(f.A).offset(o)(t)},pt=function(t,e,r,n,o,i){if(!t)return null;var a=(i?e.reverse():e).reduce((function(t,e){var o,i=null!==(o=e.type)&&void 0!==o&&o.defaultProps?U(U({},e.type.defaultProps),e.props):e.props,a=i.stackId;if(i.hide)return t;var c=i[r],l=t[c]||{hasStack:!1,stackGroups:{}};if((0,R.vh)(a)){var u=l.stackGroups[a]||{numericAxisId:r,cateAxisId:n,items:[]};u.items.push(e),l.hasStack=!0,l.stackGroups[a]=u}else l.stackGroups[(0,R.NF)("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[e]};return U(U({},t),{},G({},c,l))}),{});return Object.keys(a).reduce((function(e,i){var c=a[i];return c.hasStack&&(c.stackGroups=Object.keys(c.stackGroups).reduce((function(e,i){var a=c.stackGroups[i];return U(U({},e),{},G({},i,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:ft(t,a.items,o)}))}),{})),U(U({},e),{},G({},i,c))}),{})},dt=function(t,e){var r=e.realScaleType,n=e.type,o=e.tickCount,i=e.originalDomain,a=e.allowDecimals,c=r||e.scale;if("auto"!==c&&"linear"!==c)return null;if(o&&"number"===n&&i&&("auto"===i[0]||"auto"===i[1])){var l=t.domain();if(!l.length)return null;var u=(0,B.dG)(l,o,a);return t.domain([h()(u),d()(u)]),{niceTicks:u}}if(o&&"number"===n){var s=t.domain();return{niceTicks:(0,B.M8)(s,o,a)}}return null};function yt(t){var e=t.axis,r=t.ticks,n=t.bandSize,o=t.entry,i=t.index,a=t.dataKey;if("category"===e.type){if(!e.allowDuplicatedCategory&&e.dataKey&&!b()(o[e.dataKey])){var c=(0,R.eP)(r,"value",o[e.dataKey]);if(c)return c.coordinate+n/2}return r[i]?r[i].coordinate+n/2:null}var l=V(o,b()(a)?e.dataKey:a);return b()(l)?null:e.scale(l)}var ht=function(t){var e=t.axis,r=t.ticks,n=t.offset,o=t.bandSize,i=t.entry,a=t.index;if("category"===e.type)return r[a]?r[a].coordinate+n:null;var c=V(i,e.dataKey,e.domain[a]);return b()(c)?null:e.scale(c)-o/2+n},vt=function(t){var e=t.numericAxis,r=e.scale.domain();if("number"===e.type){var n=Math.min(r[0],r[1]),o=Math.max(r[0],r[1]);return n<=0&&o>=0?0:o<0?o:n}return r[0]},bt=function(t,e){var r,n=(null!==(r=t.type)&&void 0!==r&&r.defaultProps?U(U({},t.type.defaultProps),t.props):t.props).stackId;if((0,R.vh)(n)){var o=e[n];if(o){var i=o.items.indexOf(t);return i>=0?o.stackedData[i]:null}}return null},mt=function(t,e,r){return Object.keys(t).reduce((function(n,o){var i=t[o].stackedData.reduce((function(t,n){var o=n.slice(e,r+1).reduce((function(t,e){return[h()(e.concat([t[0]]).filter(R.Et)),d()(e.concat([t[1]]).filter(R.Et))]}),[1/0,-1/0]);return[Math.min(t[0],o[0]),Math.max(t[1],o[1])]}),[1/0,-1/0]);return[Math.min(i[0],n[0]),Math.max(i[1],n[1])]}),[1/0,-1/0]).map((function(t){return t===1/0||t===-1/0?0:t}))},gt=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,Ot=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,xt=function(t,e,r){if(g()(t))return t(e,r);if(!Array.isArray(t))return e;var n=[];if((0,R.Et)(t[0]))n[0]=r?t[0]:Math.min(t[0],e[0]);else if(gt.test(t[0])){var o=+gt.exec(t[0])[1];n[0]=e[0]-o}else g()(t[0])?n[0]=t[0](e[0]):n[0]=e[0];if((0,R.Et)(t[1]))n[1]=r?t[1]:Math.max(t[1],e[1]);else if(Ot.test(t[1])){var i=+Ot.exec(t[1])[1];n[1]=e[1]+i}else g()(t[1])?n[1]=t[1](e[1]):n[1]=e[1];return n},wt=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 o=D()(e,(function(t){return t.coordinate})),i=1/0,a=1,c=o.length;a<c;a++){var l=o[a],u=o[a-1];i=Math.min((l.coordinate||0)-(u.coordinate||0),i)}return i===1/0?0:i}return r?void 0:0},jt=function(t,e,r){return t&&t.length?M()(t,j()(r,"type.defaultProps.domain"))?e:t:e},Pt=function(t,e){var r=t.type.defaultProps?U(U({},t.type.defaultProps),t.props):t.props,n=r.dataKey,o=r.name,i=r.unit,a=r.formatter,c=r.tooltipType,l=r.chartType,u=r.hide;return U(U({},(0,L.J9)(t,!1)),{},{dataKey:n,unit:i,formatter:a,name:o||n,color:H(t),value:V(e,n),type:c,payload:e,chartType:l,hide:u})}},34723:(t,e,r)=>{r.d(e,{J:()=>y,M:()=>v});var n=r(51609),o=r.n(n),i=r(34164),a=r(16473),c=r(94501);function l(t){return l="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},l(t)}function u(){return u=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},u.apply(this,arguments)}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function f(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 p(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach((function(e){var n,o,i,a;n=t,o=e,i=r[e],a=function(t){if("object"!=l(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(o),(o="symbol"==l(a)?a:a+"")in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var d=function(t,e,r,n,o){var i,a=Math.min(Math.abs(r)/2,Math.abs(n)/2),c=n>=0?1:-1,l=r>=0?1:-1,u=n>=0&&r>=0||n<0&&r<0?1:0;if(a>0&&o instanceof Array){for(var s=[0,0,0,0],f=0;f<4;f++)s[f]=o[f]>a?a:o[f];i="M".concat(t,",").concat(e+c*s[0]),s[0]>0&&(i+="A ".concat(s[0],",").concat(s[0],",0,0,").concat(u,",").concat(t+l*s[0],",").concat(e)),i+="L ".concat(t+r-l*s[1],",").concat(e),s[1]>0&&(i+="A ".concat(s[1],",").concat(s[1],",0,0,").concat(u,",\n        ").concat(t+r,",").concat(e+c*s[1])),i+="L ".concat(t+r,",").concat(e+n-c*s[2]),s[2]>0&&(i+="A ".concat(s[2],",").concat(s[2],",0,0,").concat(u,",\n        ").concat(t+r-l*s[2],",").concat(e+n)),i+="L ".concat(t+l*s[3],",").concat(e+n),s[3]>0&&(i+="A ".concat(s[3],",").concat(s[3],",0,0,").concat(u,",\n        ").concat(t,",").concat(e+n-c*s[3])),i+="Z"}else if(a>0&&o===+o&&o>0){var p=Math.min(a,o);i="M ".concat(t,",").concat(e+c*p,"\n            A ").concat(p,",").concat(p,",0,0,").concat(u,",").concat(t+l*p,",").concat(e,"\n            L ").concat(t+r-l*p,",").concat(e,"\n            A ").concat(p,",").concat(p,",0,0,").concat(u,",").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(u,",").concat(t+r-l*p,",").concat(e+n,"\n            L ").concat(t+l*p,",").concat(e+n,"\n            A ").concat(p,",").concat(p,",0,0,").concat(u,",").concat(t,",").concat(e+n-c*p," Z")}else i="M ".concat(t,",").concat(e," h ").concat(r," v ").concat(n," h ").concat(-r," Z");return i},y=function(t,e){if(!t||!e)return!1;var r=t.x,n=t.y,o=e.x,i=e.y,a=e.width,c=e.height;if(Math.abs(a)>0&&Math.abs(c)>0){var l=Math.min(o,o+a),u=Math.max(o,o+a),s=Math.min(i,i+c),f=Math.max(i,i+c);return r>=l&&r<=u&&n>=s&&n<=f}return!1},h={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},v=function(t){var e,r,l=p(p({},h),t),f=(0,n.useRef)(),y=(e=(0,n.useState)(-1),r=2,function(t){if(Array.isArray(t))return t}(e)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],l=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(e,r)||function(t,e){if(t){if("string"==typeof t)return s(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(t,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),v=y[0],b=y[1];(0,n.useEffect)((function(){if(f.current&&f.current.getTotalLength)try{var t=f.current.getTotalLength();t&&b(t)}catch(t){}}),[]);var m=l.x,g=l.y,O=l.width,x=l.height,w=l.radius,j=l.className,P=l.animationEasing,S=l.animationDuration,A=l.animationBegin,E=l.isAnimationActive,k=l.isUpdateAnimationActive;if(m!==+m||g!==+g||O!==+O||x!==+x||0===O||0===x)return null;var T=(0,i.A)("recharts-rectangle",j);return k?o().createElement(a.Ay,{canBegin:v>0,from:{width:O,height:x,x:m,y:g},to:{width:O,height:x,x:m,y:g},duration:S,animationEasing:P,isActive:k},(function(t){var e=t.width,r=t.height,n=t.x,i=t.y;return o().createElement(a.Ay,{canBegin:v>0,from:"0px ".concat(-1===v?1:v,"px"),to:"".concat(v,"px 0px"),attributeName:"strokeDasharray",begin:A,duration:S,isActive:E,easing:P},o().createElement("path",u({},(0,c.J9)(l,!0),{className:T,d:d(n,i,e,r,w),ref:f})))})):o().createElement("path",u({},(0,c.J9)(l,!0),{className:T,d:d(m,g,O,x,w)}))}},44653:(t,e,r)=>{r.d(e,{u:()=>h});var n=r(34164),o=r(51609),i=r.n(o),a=r(7350),c=r.n(a),l=r(59744),u=r(6634),s=r(94501);function f(t){return f="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},f(t)}function p(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 d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p(Object(r),!0).forEach((function(e){var n,o,i,a;n=t,o=e,i=r[e],a=function(t){if("object"!=f(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=f(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(o),(o="symbol"==f(a)?a:a+"")in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var h=(0,o.forwardRef)((function(t,e){var r=t.aspect,a=t.initialDimension,f=void 0===a?{width:-1,height:-1}:a,p=t.width,h=void 0===p?"100%":p,v=t.height,b=void 0===v?"100%":v,m=t.minWidth,g=void 0===m?0:m,O=t.minHeight,x=t.maxHeight,w=t.children,j=t.debounce,P=void 0===j?0:j,S=t.id,A=t.className,E=t.onResize,k=t.style,T=void 0===k?{}:k,I=(0,o.useRef)(null),M=(0,o.useRef)();M.current=E,(0,o.useImperativeHandle)(e,(function(){return Object.defineProperty(I.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),I.current},configurable:!0})}));var C,D,B=(C=(0,o.useState)({containerWidth:f.width,containerHeight:f.height}),D=2,function(t){if(Array.isArray(t))return t}(C)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],l=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(C,D)||function(t,e){if(t){if("string"==typeof t)return y(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?y(t,e):void 0}}(C,D)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),N=B[0],R=B[1],L=(0,o.useCallback)((function(t,e){R((function(r){var n=Math.round(t),o=Math.round(e);return r.containerWidth===n&&r.containerHeight===o?r:{containerWidth:n,containerHeight:o}}))}),[]);(0,o.useEffect)((function(){var t=function(t){var e,r=t[0].contentRect,n=r.width,o=r.height;L(n,o),null===(e=M.current)||void 0===e||e.call(M,n,o)};P>0&&(t=c()(t,P,{trailing:!0,leading:!1}));var e=new ResizeObserver(t),r=I.current.getBoundingClientRect(),n=r.width,o=r.height;return L(n,o),e.observe(I.current),function(){e.disconnect()}}),[L,P]);var _=(0,o.useMemo)((function(){var t=N.containerWidth,e=N.containerHeight;if(t<0||e<0)return null;(0,u.R)((0,l._3)(h)||(0,l._3)(b),"The width(%s) and height(%s) are both fixed numbers,\n       maybe you don't need to use a ResponsiveContainer.",h,b),(0,u.R)(!r||r>0,"The aspect(%s) must be greater than zero.",r);var n=(0,l._3)(h)?t:h,a=(0,l._3)(b)?e:b;r&&r>0&&(n?a=n/r:a&&(n=a*r),x&&a>x&&(a=x)),(0,u.R)(n>0||a>0,"The width(%s) and height(%s) of chart should be greater than 0,\n       please check the style of container, or the props width(%s) and height(%s),\n       or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n       height and width.",n,a,h,b,g,O,r);var c=!Array.isArray(w)&&(0,s.Mn)(w.type).endsWith("Chart");return i().Children.map(w,(function(t){return i().isValidElement(t)?(0,o.cloneElement)(t,d({width:n,height:a},c?{style:d({height:"100%",width:"100%",maxHeight:a,maxWidth:n},t.props.style)}:{})):t}))}),[r,w,b,x,O,g,N,h]);return i().createElement("div",{id:S?"".concat(S):void 0,className:(0,n.A)("recharts-responsive-container",A),style:d(d({},T),{},{width:h,height:b,minWidth:g,minHeight:O,maxHeight:x}),ref:I},_)}))},45249:(t,e,r)=>{r.d(e,{I:()=>C});var n=r(51609),o=r.n(n),i=r(76806),a=r(37002),c=r(58134),l=r(76422),u=r(43895),s=r(26343),f=r(31253),p=r(74537),d=r(45836),y=r(64439),h=r(18640),v=r(55808),b=r.n(v),m=r(1882),g=r.n(m),O=r(34164),x=r(98940),w=r(94501),j=r(59744);function P(t){return P="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},P(t)}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},S.apply(this,arguments)}function A(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 E(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?A(Object(r),!0).forEach((function(e){var n,o,i,a;n=t,o=e,i=r[e],a=function(t){if("object"!=P(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=P(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(o),(o="symbol"==P(a)?a:a+"")in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var k={curveBasisClosed:i.A,curveBasisOpen:a.A,curveBasis:c.Ay,curveBumpX:l.dJ,curveBumpY:l.kl,curveLinearClosed:u.A,curveLinear:s.A,curveMonotoneX:f.G,curveMonotoneY:f.N,curveNatural:p.A,curveStep:d.Ay,curveStepAfter:d.Ps,curveStepBefore:d.Ko},T=function(t){return t.x===+t.x&&t.y===+t.y},I=function(t){return t.x},M=function(t){return t.y},C=function(t){var e=t.className,r=t.points,n=t.path,i=t.pathRef;if(!(r&&r.length||n))return null;var a=r&&r.length?function(t){var e,r=t.type,n=void 0===r?"linear":r,o=t.points,i=void 0===o?[]:o,a=t.baseLine,c=t.layout,l=t.connectNulls,u=void 0!==l&&l,f=function(t,e){if(g()(t))return t;var r="curve".concat(b()(t));return"curveMonotone"!==r&&"curveBump"!==r||!e?k[r]||s.A:k["".concat(r).concat("vertical"===e?"Y":"X")]}(n,c),p=u?i.filter((function(t){return T(t)})):i;if(Array.isArray(a)){var d=u?a.filter((function(t){return T(t)})):a,v=p.map((function(t,e){return E(E({},t),{},{base:d[e]})}));return(e="vertical"===c?(0,y.A)().y(M).x1(I).x0((function(t){return t.base.x})):(0,y.A)().x(I).y1(M).y0((function(t){return t.base.y}))).defined(T).curve(f),e(v)}return(e="vertical"===c&&(0,j.Et)(a)?(0,y.A)().y(M).x1(I).x0(a):(0,j.Et)(a)?(0,y.A)().x(I).y1(M).y0(a):(0,h.A)().x(I).y(M)).defined(T).curve(f),e(p)}(t):n;return o().createElement("path",S({},(0,w.J9)(t,!1),(0,x._U)(t),{className:(0,O.A)("recharts-curve",e),d:a,ref:i}))}},47429:(t,e,r)=>{r.d(e,{DR:()=>h,rY:()=>x,yi:()=>O,Yp:()=>v,sk:()=>g,AF:()=>b,Nk:()=>m});var n=r(51609),o=r.n(n),i=r(11561),a=(r(7309),r(19747),r(50104)),c=r.n(a)()((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].join("")})),l=(0,n.createContext)(void 0),u=(0,n.createContext)(void 0),s=(0,n.createContext)(void 0),f=(0,n.createContext)({}),p=(0,n.createContext)(void 0),d=(0,n.createContext)(0),y=(0,n.createContext)(0),h=function(t){var e=t.state,r=e.xAxisMap,n=e.yAxisMap,i=e.offset,a=t.clipPathId,h=t.children,v=t.width,b=t.height,m=c(i);return o().createElement(l.Provider,{value:r},o().createElement(u.Provider,{value:n},o().createElement(f.Provider,{value:i},o().createElement(s.Provider,{value:m},o().createElement(p.Provider,{value:a},o().createElement(d.Provider,{value:b},o().createElement(y.Provider,{value:v},h)))))))},v=function(){return(0,n.useContext)(p)},b=function(t){var e=(0,n.useContext)(l);null==e&&(0,i.A)(!1);var r=e[t];return null==r&&(0,i.A)(!1),r},m=function(t){var e=(0,n.useContext)(u);null==e&&(0,i.A)(!1);var r=e[t];return null==r&&(0,i.A)(!1),r},g=function(){return(0,n.useContext)(s)},O=function(){return(0,n.useContext)(y)},x=function(){return(0,n.useContext)(d)}},47430:(t,e,r)=>{r.d(e,{P2:()=>rt,pr:()=>Q,bx:()=>nt,vh:()=>tt,sl:()=>q});var n=r(73916),o=r.n(n),i=r(19747),a=r.n(i),c=r(33964),l=r(94501),u=r(59744),s=r(51609),f=r.n(s),p=r(34164),d=r(16473),y=r(2404),h=r.n(y),v=r(69843),b=r.n(v),m=r(86069),g=r(51738),O=r(72050),x=r(5614),w=r(59938),j=r(98940),P=r(11561),S=r(15079),A=["x","y"];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},E(t)}function k(){return k=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},k.apply(this,arguments)}function T(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 I(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?T(Object(r),!0).forEach((function(e){var n,o,i,a;n=t,o=e,i=r[e],a=function(t){if("object"!=E(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=E(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(o),(o="symbol"==E(a)?a:a+"")in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function M(t,e){var r=t.x,n=t.y,o=function(t,e){if(null==t)return{};var r,n,o=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 i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,A),i="".concat(r),a=parseInt(i,10),c="".concat(n),l=parseInt(c,10),u="".concat(e.height||o.height),s=parseInt(u,10),f="".concat(e.width||o.width),p=parseInt(f,10);return I(I(I(I(I({},e),o),a?{x:a}:{}),l?{y:l}:{}),{},{height:s,width:p,name:e.name,radius:e.radius})}function C(t){return f().createElement(S.yp,k({shapeType:"rectangle",propTransformer:M,activeClassName:"recharts-active-bar"},t))}var D,B=["value","background"];function N(t){return N="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},N(t)}function R(){return R=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},R.apply(this,arguments)}function L(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){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?L(Object(r),!0).forEach((function(e){U(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):L(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function z(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,G(n.key),n)}}function W(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(W=function(){return!!t})()}function X(t){return X=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},X(t)}function F(t,e){return F=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},F(t,e)}function U(t,e,r){return(e=G(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function G(t){var e=function(t){if("object"!=N(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=N(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==N(e)?e:e+""}var V=function(t){function e(){var t,r,n,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var i=arguments.length,a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];return U((r=this,n=e,o=[].concat(a),n=X(n),t=function(t,e){if(e&&("object"===N(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(r,W()?Reflect.construct(n,o||[],X(r).constructor):n.apply(r,o))),"state",{isAnimationFinished:!1}),U(t,"id",(0,u.NF)("recharts-bar-")),U(t,"handleAnimationEnd",(function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),e&&e()})),U(t,"handleAnimationStart",(function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),e&&e()})),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&F(t,e)}(e,t),r=e,o=[{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}}],(n=[{key:"renderRectanglesStatically",value:function(t){var e=this,r=this.props,n=r.shape,o=r.dataKey,i=r.activeIndex,a=r.activeBar,c=(0,l.J9)(this.props,!1);return t&&t.map((function(t,r){var l=r===i,u=l?a:n,s=_(_(_({},c),t),{},{isActive:l,option:u,index:r,dataKey:o,onAnimationStart:e.handleAnimationStart,onAnimationEnd:e.handleAnimationEnd});return f().createElement(m.W,R({className:"recharts-bar-rectangle"},(0,j.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)}),f().createElement(C,s))}))}},{key:"renderRectanglesWithAnimation",value:function(){var t=this,e=this.props,r=e.data,n=e.layout,o=e.isAnimationActive,i=e.animationBegin,a=e.animationDuration,c=e.animationEasing,l=e.animationId,s=this.state.prevData;return f().createElement(d.Ay,{begin:i,duration:a,isActive:o,easing:c,from:{t:0},to:{t:1},key:"bar-".concat(l),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(e){var o=e.t,i=r.map((function(t,e){var r=s&&s[e];if(r){var i=(0,u.Dj)(r.x,t.x),a=(0,u.Dj)(r.y,t.y),c=(0,u.Dj)(r.width,t.width),l=(0,u.Dj)(r.height,t.height);return _(_({},t),{},{x:i(o),y:a(o),width:c(o),height:l(o)})}if("horizontal"===n){var f=(0,u.Dj)(0,t.height)(o);return _(_({},t),{},{y:t.y+t.height-f,height:f})}var p=(0,u.Dj)(0,t.width)(o);return _(_({},t),{},{width:p})}));return f().createElement(m.W,null,t.renderRectanglesStatically(i))}))}},{key:"renderRectangles",value:function(){var t=this.props,e=t.data,r=t.isAnimationActive,n=this.state.prevData;return!(r&&e&&e.length)||n&&h()(n,e)?this.renderRectanglesStatically(e):this.renderRectanglesWithAnimation()}},{key:"renderBackground",value:function(){var t=this,e=this.props,r=e.data,n=e.dataKey,o=e.activeIndex,i=(0,l.J9)(this.props.background,!1);return r.map((function(e,r){e.value;var a=e.background,c=function(t,e){if(null==t)return{};var r,n,o=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 i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(e,B);if(!a)return null;var l=_(_(_(_(_({},c),{},{fill:"#eee"},a),i),(0,j.XC)(t.props,e,r)),{},{onAnimationStart:t.handleAnimationStart,onAnimationEnd:t.handleAnimationEnd,dataKey:n,index:r,className:"recharts-bar-background-rectangle"});return f().createElement(C,R({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,i=r.yAxis,a=r.layout,u=r.children,s=(0,l.aS)(u,g.u);if(!s)return null;var p="vertical"===a?n[0].height/2:n[0].width/2,d=function(t,e){var r=Array.isArray(t.value)?t.value[1]:t.value;return{x:t.x,y:t.y,value:r,errorVal:(0,c.kr)(t,e)}},y={clipPath:t?"url(#clipPath-".concat(e,")"):null};return f().createElement(m.W,y,s.map((function(t){return f().cloneElement(t,{key:"error-bar-".concat(e,"-").concat(t.props.dataKey),data:n,xAxis:o,yAxis:i,layout:a,offset:p,dataPointFormatter:d})})))}},{key:"render",value:function(){var t=this.props,e=t.hide,r=t.data,n=t.className,o=t.xAxis,i=t.yAxis,a=t.left,c=t.top,l=t.width,u=t.height,s=t.isAnimationActive,d=t.background,y=t.id;if(e||!r||!r.length)return null;var h=this.state.isAnimationFinished,v=(0,p.A)("recharts-bar",n),g=o&&o.allowDataOverflow,O=i&&i.allowDataOverflow,w=g||O,j=b()(y)?this.id:y;return f().createElement(m.W,{className:v},g||O?f().createElement("defs",null,f().createElement("clipPath",{id:"clipPath-".concat(j)},f().createElement("rect",{x:g?a:a-l/2,y:O?c:c-u/2,width:g?l:2*l,height:O?u:2*u}))):null,f().createElement(m.W,{className:"recharts-bar-rectangles",clipPath:w?"url(#clipPath-".concat(j,")"):null},d?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(w,j),(!s||h)&&x.Z.renderCallByParent(this.props,r))}}])&&z(r.prototype,n),o&&z(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(s.PureComponent);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},K(t)}function J(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,$(n.key),n)}}function H(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 Z(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?H(Object(r),!0).forEach((function(e){Y(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):H(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Y(t,e,r){return(e=$(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function $(t){var e=function(t){if("object"!=K(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=K(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==K(e)?e:e+""}D=V,U(V,"displayName","Bar"),U(V,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!w.m.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"}),U(V,"getComposedData",(function(t){var e=t.props,r=t.item,n=t.barPosition,o=t.bandSize,i=t.xAxis,a=t.yAxis,s=t.xAxisTicks,f=t.yAxisTicks,p=t.stackedData,d=t.dataStartIndex,y=t.displayedData,h=t.offset,v=(0,c.xi)(n,r);if(!v)return null;var b=e.layout,m=r.type.defaultProps,g=void 0!==m?_(_({},m),r.props):r.props,x=g.dataKey,w=g.children,j=g.minPointSize,S="horizontal"===b?a:i,A=p?S.scale.domain():null,E=(0,c.DW)({numericAxis:S}),k=(0,l.aS)(w,O.f),T=y.map((function(t,e){var n,l,y,h,m,g;p?n=(0,c._f)(p[d+e],A):(n=(0,c.kr)(t,x),Array.isArray(n)||(n=[E,n]));var O=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 o="number"==typeof r;return o?t(r,n):(o||(0,P.A)(!1),e)}}(j,D.defaultProps.minPointSize)(n[1],e);if("horizontal"===b){var w,S=[a.scale(n[0]),a.scale(n[1])],T=S[0],I=S[1];l=(0,c.y2)({axis:i,ticks:s,bandSize:o,offset:v.offset,entry:t,index:e}),y=null!==(w=null!=I?I:T)&&void 0!==w?w:void 0,h=v.size;var M=T-I;if(m=Number.isNaN(M)?0:M,g={x:l,y:a.y,width:h,height:a.height},Math.abs(O)>0&&Math.abs(m)<Math.abs(O)){var C=(0,u.sA)(m||O)*(Math.abs(O)-Math.abs(m));y-=C,m+=C}}else{var B=[i.scale(n[0]),i.scale(n[1])],N=B[0],R=B[1];l=N,y=(0,c.y2)({axis:a,ticks:f,bandSize:o,offset:v.offset,entry:t,index:e}),h=R-N,m=v.size,g={x:i.x,y,width:i.width,height:m},Math.abs(O)>0&&Math.abs(h)<Math.abs(O)&&(h+=(0,u.sA)(h||O)*(Math.abs(O)-Math.abs(h)))}return _(_(_({},t),{},{x:l,y,width:h,height:m,value:p?n:n[1],payload:t,background:g},k&&k[e]&&k[e].props),{},{tooltipPayload:[(0,c.zb)(r,t)],tooltipPosition:{x:l+h/2,y:y+m/2}})}));return _({data:T,layout:b},h)}));var Q=function(t,e,r,n,o){var i=t.width,a=t.height,s=t.layout,f=t.children,p=Object.keys(e),d={left:r.left,leftMirror:r.left,right:i-r.right,rightMirror:i-r.right,top:r.top,topMirror:r.top,bottom:a-r.bottom,bottomMirror:a-r.bottom},y=!!(0,l.BU)(f,V);return p.reduce((function(i,a){var l,f,p,h,v,b=e[a],m=b.orientation,g=b.domain,O=b.padding,x=void 0===O?{}:O,w=b.mirror,j=b.reversed,P="".concat(m).concat(w?"Mirror":"");if("number"===b.type&&("gap"===b.padding||"no-gap"===b.padding)){var S=g[1]-g[0],A=1/0,E=b.categoricalDomain.sort(u.ck);if(E.forEach((function(t,e){e>0&&(A=Math.min((t||0)-(E[e-1]||0),A))})),Number.isFinite(A)){var k=A/S,T="vertical"===b.layout?r.height:r.width;if("gap"===b.padding&&(l=k*T/2),"no-gap"===b.padding){var I=(0,u.F4)(t.barCategoryGap,k*T),M=k*T/2;l=M-I-(M-I)/T*I}}}f="xAxis"===n?[r.left+(x.left||0)+(l||0),r.left+r.width-(x.right||0)-(l||0)]:"yAxis"===n?"horizontal"===s?[r.top+r.height-(x.bottom||0),r.top+(x.top||0)]:[r.top+(x.top||0)+(l||0),r.top+r.height-(x.bottom||0)-(l||0)]:b.range,j&&(f=[f[1],f[0]]);var C=(0,c.W7)(b,o,y),D=C.scale,B=C.realScaleType;D.domain(g).range(f),(0,c.YB)(D);var N=(0,c.w7)(D,Z(Z({},b),{},{realScaleType:B}));"xAxis"===n?(v="top"===m&&!w||"bottom"===m&&w,p=r.left,h=d[P]-v*b.height):"yAxis"===n&&(v="left"===m&&!w||"right"===m&&w,p=d[P]-v*b.width,h=r.top);var R=Z(Z(Z({},b),N),{},{realScaleType:B,x:p,y:h,scale:D,width:"xAxis"===n?r.width:b.width,height:"yAxis"===n?r.height:b.height});return R.bandSize=(0,c.Hj)(R,N),b.hide||"xAxis"!==n?b.hide||(d[P]+=(v?-1:1)*R.width):d[P]+=(v?-1:1)*R.height,Z(Z({},i),{},Y({},a,R))}),{})},q=function(t,e){var r=t.x,n=t.y,o=e.x,i=e.y;return{x:Math.min(r,o),y:Math.min(n,i),width:Math.abs(o-r),height:Math.abs(i-n)}},tt=function(t){var e=t.x1,r=t.y1,n=t.x2,o=t.y2;return q({x:e,y:r},{x:n,y:o})},et=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.scale=e}return e=t,r=[{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 o=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+o;case"end":var i=this.bandwidth?this.bandwidth():0;return this.scale(t)+i}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}}],n=[{key:"create",value:function(e){return new t(e)}}],r&&J(e.prototype,r),n&&J(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,n}();Y(et,"EPS",1e-4);var rt=function(t){var e=Object.keys(t).reduce((function(e,r){return Z(Z({},e),{},Y({},r,et.create(t[r])))}),{});return Z(Z({},e),{},{apply:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bandAware,i=r.position;return o()(t,(function(t,r){return e[r].apply(t,{bandAware:n,position:i})}))},isInRange:function(t){return a()(t,(function(t,r){return e[r].isInRange(t)}))}})},nt=function(t){var e=t.width,r=t.height,n=((arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)%180+180)%180*Math.PI/180,o=Math.atan(r/e),i=n>o&&n<Math.PI-o?r/Math.sin(n):e/Math.cos(n);return Math.abs(i)}},49303:(t,e,r)=>{r.d(e,{u:()=>u});var n=r(51609),o=r.n(n),i=r(34164),a=r(94501),c=["children","width","height","viewBox","className","style","title","desc"];function l(){return l=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},l.apply(this,arguments)}function u(t){var e=t.children,r=t.width,n=t.height,u=t.viewBox,s=t.className,f=t.style,p=t.title,d=t.desc,y=function(t,e){if(null==t)return{};var r,n,o=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 i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,c),h=u||{width:r,height:n,x:0,y:0},v=(0,i.A)("recharts-surface",s);return o().createElement("svg",l({},(0,a.J9)(y,!0,"svg"),{className:v,width:r,height:n,style:f,viewBox:"".concat(h.x," ").concat(h.y," ").concat(h.width," ").concat(h.height)}),o().createElement("title",null,p),o().createElement("desc",null,d),e)}},50300:(t,e,r)=>{r.d(e,{Q:()=>l});var n=r(54498),o=r(84124),i=r(77984),a=r(23495),c=r(47430),l=(0,n.gu)({chartName:"AreaChart",GraphicalChild:o.G,axisComponents:[{axisType:"xAxis",AxisComp:i.W},{axisType:"yAxis",AxisComp:a.h}],formatAxisMap:c.pr})},51738:(t,e,r)=>{r.d(e,{u:()=>m});var n=r(51609),o=r.n(n),i=r(11561),a=r(86069),c=r(94501),l=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function u(t){return u="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},u(t)}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},s.apply(this,arguments)}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function p(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,b(n.key),n)}}function d(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(d=function(){return!!t})()}function y(t){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},y(t)}function h(t,e){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},h(t,e)}function v(t,e,r){return(e=b(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function b(t){var e=function(t){if("object"!=u(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==u(e)?e:e+""}var m=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,n=arguments,r=y(r=e),function(t,e){if(e&&("object"===u(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,d()?Reflect.construct(r,n||[],y(t).constructor):r.apply(t,n));var t,r,n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&h(t,e)}(e,t),r=e,(n=[{key:"render",value:function(){var t=this.props,e=t.offset,r=t.layout,n=t.width,u=t.dataKey,p=t.data,d=t.dataPointFormatter,y=t.xAxis,h=t.yAxis,v=function(t,e){if(null==t)return{};var r,n,o=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 i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,l),b=(0,c.J9)(v,!1);"x"===this.props.direction&&"number"!==y.type&&(0,i.A)(!1);var m=p.map((function(t){var i=d(t,u),c=i.x,l=i.y,p=i.value,v=i.errorVal;if(!v)return null;var m,g,O,x,w=[];if(Array.isArray(v)){var j=(x=2,function(t){if(Array.isArray(t))return t}(O=v)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],l=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(O,x)||function(t,e){if(t){if("string"==typeof t)return f(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(t,e):void 0}}(O,x)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());m=j[0],g=j[1]}else m=g=v;if("vertical"===r){var P=y.scale,S=l+e,A=S+n,E=S-n,k=P(p-m),T=P(p+g);w.push({x1:T,y1:A,x2:T,y2:E}),w.push({x1:k,y1:S,x2:T,y2:S}),w.push({x1:k,y1:A,x2:k,y2:E})}else if("horizontal"===r){var I=h.scale,M=c+e,C=M-n,D=M+n,B=I(p-m),N=I(p+g);w.push({x1:C,y1:N,x2:D,y2:N}),w.push({x1:M,y1:B,x2:M,y2:N}),w.push({x1:C,y1:B,x2:D,y2:B})}return o().createElement(a.W,s({className:"recharts-errorBar",key:"bar-".concat(w.map((function(t){return"".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)})))},b),w.map((function(t){return o().createElement("line",s({},t,{key:"line-".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)}))})))}));return o().createElement(a.W,{className:"recharts-errorBars"},m)}}])&&p(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n}(o().Component);v(m,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"}),v(m,"displayName","ErrorBar")},52199:(t,e,r)=>{t.exports=r(1248)},54498:(t,e,r)=>{r.d(e,{gu:()=>Xe});var n=r(51609),o=r.n(n),i=r(69843),a=r.n(i),c=r(1882),l=r.n(c),u=r(23181),s=r.n(u),f=r(58156),p=r.n(f),d=r(33031),y=r.n(d),h=r(7350),v=r.n(h),b=r(34164),m=r(11561),g=r(49303),O=r(86069),x=r(78687),w=r(97018),j=r(66613),P=r(34723),S=r(94501),A=r(39072),E=r(81174),k=r(33964),T=r(59744);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},I(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 C(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){D(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function D(t,e,r){var n;return n=function(t){if("object"!=I(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=I(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(e),(e="symbol"==I(n)?n:n+"")in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var B=["Webkit","Moz","O","ms"];function N(t){return N="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},N(t)}function R(){return R=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},R.apply(this,arguments)}function L(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){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?L(Object(r),!0).forEach((function(e){U(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):L(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function z(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,G(n.key),n)}}function W(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(W=function(){return!!t})()}function X(t){return X=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},X(t)}function F(t,e){return F=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},F(t,e)}function U(t,e,r){return(e=G(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function G(t){var e=function(t){if("object"!=N(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=N(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==N(e)?e:e+""}var V=function(t){return t.changedTouches&&!!t.changedTouches.length},K=function(t){function e(t){var r,n,o,i;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),U((n=this,i=[t],o=X(o=e),r=function(t,e){if(e&&("object"===N(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(n,W()?Reflect.construct(o,i||[],X(n).constructor):o.apply(n,i))),"handleDrag",(function(t){r.leaveTimer&&(clearTimeout(r.leaveTimer),r.leaveTimer=null),r.state.isTravellerMoving?r.handleTravellerMove(t):r.state.isSlideMoving&&r.handleSlideDrag(t)})),U(r,"handleTouchMove",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&r.handleDrag(t.changedTouches[0])})),U(r,"handleDragEnd",(function(){r.setState({isTravellerMoving:!1,isSlideMoving:!1},(function(){var t=r.props,e=t.endIndex,n=t.onDragEnd,o=t.startIndex;null==n||n({endIndex:e,startIndex:o})})),r.detachDragEndListener()})),U(r,"handleLeaveWrapper",(function(){(r.state.isTravellerMoving||r.state.isSlideMoving)&&(r.leaveTimer=window.setTimeout(r.handleDragEnd,r.props.leaveTimeOut))})),U(r,"handleEnterSlideOrTraveller",(function(){r.setState({isTextActive:!0})})),U(r,"handleLeaveSlideOrTraveller",(function(){r.setState({isTextActive:!1})})),U(r,"handleSlideDragStart",(function(t){var e=V(t)?t.changedTouches[0]:t;r.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:e.pageX}),r.attachDragEndListener()})),r.travellerDragStartHandlers={startX:r.handleTravellerDragStart.bind(r,"startX"),endX:r.handleTravellerDragStart.bind(r,"endX")},r.state={},r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&F(t,e)}(e,t),r=e,a=[{key:"renderDefaultTraveller",value:function(t){var e=t.x,r=t.y,n=t.width,i=t.height,a=t.stroke,c=Math.floor(r+i/2)-1;return o().createElement(o().Fragment,null,o().createElement("rect",{x:e,y:r,width:n,height:i,fill:a,stroke:"none"}),o().createElement("line",{x1:e+1,y1:c,x2:e+n-1,y2:c,fill:"none",stroke:"#fff"}),o().createElement("line",{x1:e+1,y1:c+2,x2:e+n-1,y2:c+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(t,r){return o().isValidElement(t)?o().cloneElement(t,r):l()(t)?t(r):e.renderDefaultTraveller(r)}},{key:"getDerivedStateFromProps",value:function(t,e){var r=t.data,n=t.width,o=t.x,i=t.travellerWidth,a=t.updateId,c=t.startIndex,l=t.endIndex;if(r!==e.prevData||a!==e.prevUpdateId)return _({prevData:r,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:n},r&&r.length?function(t){var e=t.data,r=t.startIndex,n=t.endIndex,o=t.x,i=t.width,a=t.travellerWidth;if(!e||!e.length)return{};var c=e.length,l=(0,A.z)().domain(s()(0,c)).range([o,o+i-a]),u=l.domain().map((function(t){return l(t)}));return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:l(r),endX:l(n),scale:l,scaleValues:u}}({data:r,width:n,x:o,travellerWidth:i,startIndex:c,endIndex:l}):{scale:null,scaleValues:null});if(e.scale&&(n!==e.prevWidth||o!==e.prevX||i!==e.prevTravellerWidth)){e.scale.range([o,o+n-i]);var u=e.scale.domain().map((function(t){return e.scale(t)}));return{prevData:r,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:n,startX:e.scale(t.startIndex),endX:e.scale(t.endIndex),scaleValues:u}}return null}},{key:"getIndexInRange",value:function(t,e){for(var r=0,n=t.length-1;n-r>1;){var o=Math.floor((r+n)/2);t[o]>e?n=o:r=o}return e>=t[n]?n:r}}],(i=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(t){var r=t.startX,n=t.endX,o=this.state.scaleValues,i=this.props,a=i.gap,c=i.data.length-1,l=Math.min(r,n),u=Math.max(r,n),s=e.getIndexInRange(o,l),f=e.getIndexInRange(o,u);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,o=e.dataKey,i=(0,k.kr)(r[t],o,t);return l()(n)?n(i,t):i}},{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,o=e.endX,i=this.props,a=i.x,c=i.width,l=i.travellerWidth,u=i.startIndex,s=i.endIndex,f=i.onChange,p=t.pageX-r;p>0?p=Math.min(p,a+c-l-o,a+c-l-n):p<0&&(p=Math.max(p,a-n,a-o));var d=this.getIndex({startX:n+p,endX:o+p});d.startIndex===u&&d.endIndex===s||!f||f(d),this.setState({startX:n+p,endX:o+p,slideMoveStartX:t.pageX})}},{key:"handleTravellerDragStart",value:function(t,e){var r=V(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,o=e.endX,i=e.startX,a=this.state[n],c=this.props,l=c.x,u=c.width,s=c.travellerWidth,f=c.onChange,p=c.gap,d=c.data,y={startX:this.state.startX,endX:this.state.endX},h=t.pageX-r;h>0?h=Math.min(h,l+u-s-a):h<0&&(h=Math.max(h,l-a)),y[n]=a+h;var v=this.getIndex(y),b=v.startIndex,m=v.endIndex;this.setState(U(U({},n,a+h),"brushMoveStartX",t.pageX),(function(){var t;f&&(t=d.length-1,("startX"===n&&(o>i?b%p==0:m%p==0)||o<i&&m===t||"endX"===n&&(o>i?m%p==0:b%p==0)||o>i&&m===t)&&f(v))}))}},{key:"handleTravellerMoveKeyboard",value:function(t,e){var r=this,n=this.state,o=n.scaleValues,i=n.startX,a=n.endX,c=this.state[e],l=o.indexOf(c);if(-1!==l){var u=l+t;if(!(-1===u||u>=o.length)){var s=o[u];"startX"===e&&s>=a||"endX"===e&&s<=i||this.setState(U({},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,i=t.height,a=t.fill,c=t.stroke;return o().createElement("rect",{stroke:c,fill:a,x:e,y:r,width:n,height:i})}},{key:"renderPanorama",value:function(){var t=this.props,e=t.x,r=t.y,i=t.width,a=t.height,c=t.data,l=t.children,u=t.padding,s=n.Children.only(l);return s?o().cloneElement(s,{x:e,y:r,width:i,height:a,margin:u,compact:!0,data:c}):null}},{key:"renderTravellerLayer",value:function(t,r){var n,i,a=this,c=this.props,l=c.y,u=c.travellerWidth,s=c.height,f=c.traveller,p=c.ariaLabel,d=c.data,y=c.startIndex,h=c.endIndex,v=Math.max(t,this.props.x),b=_(_({},(0,S.J9)(this.props,!1)),{},{x:v,y:l,width:u,height:s}),m=p||"Min value: ".concat(null===(n=d[y])||void 0===n?void 0:n.name,", Max value: ").concat(null===(i=d[h])||void 0===i?void 0:i.name);return o().createElement(O.W,{tabIndex:0,role:"slider","aria-label":m,"aria-valuenow":t,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[r],onTouchStart:this.travellerDragStartHandlers[r],onKeyDown:function(t){["ArrowLeft","ArrowRight"].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),a.handleTravellerMoveKeyboard("ArrowRight"===t.key?1:-1,r))},onFocus:function(){a.setState({isTravellerFocused:!0})},onBlur:function(){a.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},e.renderTraveller(f,b))}},{key:"renderSlide",value:function(t,e){var r=this.props,n=r.y,i=r.height,a=r.stroke,c=r.travellerWidth,l=Math.min(t,e)+c,u=Math.max(Math.abs(e-t)-c,0);return o().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:l,y:n,width:u,height:i})}},{key:"renderText",value:function(){var t=this.props,e=t.startIndex,r=t.endIndex,n=t.y,i=t.height,a=t.travellerWidth,c=t.stroke,l=this.state,u=l.startX,s=l.endX,f={pointerEvents:"none",fill:c};return o().createElement(O.W,{className:"recharts-brush-texts"},o().createElement(E.E,R({textAnchor:"end",verticalAnchor:"middle",x:Math.min(u,s)-5,y:n+i/2},f),this.getTextOfTick(e)),o().createElement(E.E,R({textAnchor:"start",verticalAnchor:"middle",x:Math.max(u,s)+a+5,y:n+i/2},f),this.getTextOfTick(r)))}},{key:"render",value:function(){var t=this.props,e=t.data,r=t.className,n=t.children,i=t.x,a=t.y,c=t.width,l=t.height,u=t.alwaysShowText,s=this.state,f=s.startX,p=s.endX,d=s.isTextActive,y=s.isSlideMoving,h=s.isTravellerMoving,v=s.isTravellerFocused;if(!e||!e.length||!(0,T.Et)(i)||!(0,T.Et)(a)||!(0,T.Et)(c)||!(0,T.Et)(l)||c<=0||l<=0)return null;var m,g,x,w,j=(0,b.A)("recharts-brush",r),P=1===o().Children.count(n),S=(g="none",x=(m="userSelect").replace(/(\w)/,(function(t){return t.toUpperCase()})),(w=B.reduce((function(t,e){return C(C({},t),{},D({},e+x,g))}),{}))[m]=g,w);return o().createElement(O.W,{className:j,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:S},this.renderBackground(),P&&this.renderPanorama(),this.renderSlide(f,p),this.renderTravellerLayer(f,"startX"),this.renderTravellerLayer(p,"endX"),(d||y||h||v||u)&&this.renderText())}}])&&z(r.prototype,i),a&&z(r,a),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,i,a}(n.PureComponent);U(K,"displayName","Brush"),U(K,"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 J=r(81636),H=r(12532),Z=r(91706),Y=function(t,e){var r=t.alwaysShow,n=t.ifOverflow;return r&&(n="extendDomain"),n===e},$=r(47430),Q=r(6634);function q(){return q=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},q.apply(this,arguments)}function tt(t){return tt="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},tt(t)}function et(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 rt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?et(Object(r),!0).forEach((function(e){ct(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):et(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function nt(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,lt(n.key),n)}}function ot(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(ot=function(){return!!t})()}function it(t){return it=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},it(t)}function at(t,e){return at=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},at(t,e)}function ct(t,e,r){return(e=lt(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function lt(t){var e=function(t){if("object"!=tt(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=tt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==tt(e)?e:e+""}var ut=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,n=arguments,r=it(r=e),function(t,e){if(e&&("object"===tt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,ot()?Reflect.construct(r,n||[],it(t).constructor):r.apply(t,n));var t,r,n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&at(t,e)}(e,t),r=e,(n=[{key:"render",value:function(){var t=this.props,r=t.x,n=t.y,i=t.r,a=t.alwaysShow,c=t.clipPathId,l=(0,T.vh)(r),u=(0,T.vh)(n);if((0,Q.R)(void 0===a,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!l||!u)return null;var s=function(t){var e=t.x,r=t.y,n=t.xAxis,o=t.yAxis,i=(0,$.P2)({x:n.scale,y:o.scale}),a=i.apply({x:e,y:r},{bandAware:!0});return Y(t,"discard")&&!i.isInRange(a)?null:a}(this.props);if(!s)return null;var f=s.x,p=s.y,d=this.props,y=d.shape,h=d.className,v=rt(rt({clipPath:Y(this.props,"hidden")?"url(#".concat(c,")"):void 0},(0,S.J9)(this.props,!0)),{},{cx:f,cy:p});return o().createElement(O.W,{className:(0,b.A)("recharts-reference-dot",h)},e.renderDot(y,v),Z.J.renderCallByParent(this.props,{x:f-i,y:p-i,width:2*i,height:2*i}))}}])&&nt(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n}(o().Component);ct(ut,"displayName","ReferenceDot"),ct(ut,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1}),ct(ut,"renderDot",(function(t,e){return o().isValidElement(t)?o().cloneElement(t,e):l()(t)?t(e):o().createElement(j.c,q({},e,{cx:e.cx,cy:e.cy,className:"recharts-reference-dot-dot"}))}));var st=r(42426),ft=r.n(st),pt=r(47429);function dt(t){return dt="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},dt(t)}function yt(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,xt(n.key),n)}}function ht(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(ht=function(){return!!t})()}function vt(t){return vt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},vt(t)}function bt(t,e){return bt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},bt(t,e)}function mt(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 gt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?mt(Object(r),!0).forEach((function(e){Ot(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):mt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ot(t,e,r){return(e=xt(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function xt(t){var e=function(t){if("object"!=dt(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=dt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==dt(e)?e:e+""}function wt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function jt(){return jt=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},jt.apply(this,arguments)}function Pt(t){var e=t.x,r=t.y,n=t.segment,i=t.xAxisId,a=t.yAxisId,c=t.shape,u=t.className,s=t.alwaysShow,f=(0,pt.Yp)(),p=(0,pt.AF)(i),d=(0,pt.Nk)(a),y=(0,pt.sk)();if(!f||!y)return null;(0,Q.R)(void 0===s,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var h=function(t,e,r,n,o,i,a,c,l){var u=o.x,s=o.y,f=o.width,p=o.height;if(r){var d=l.y,y=t.y.apply(d,{position:i});if(Y(l,"discard")&&!t.y.isInRange(y))return null;var h=[{x:u+f,y},{x:u,y}];return"left"===c?h.reverse():h}if(e){var v=l.x,b=t.x.apply(v,{position:i});if(Y(l,"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=l.segment.map((function(e){return t.apply(e,{position:i})}));return Y(l,"discard")&&ft()(g,(function(e){return!t.isInRange(e)}))?null:g}return null}((0,$.P2)({x:p.scale,y:d.scale}),(0,T.vh)(e),(0,T.vh)(r),n&&2===n.length,y,t.position,p.orientation,d.orientation,t);if(!h)return null;var v,m,g=(m=2,function(t){if(Array.isArray(t))return t}(v=h)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],l=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(v,m)||function(t,e){if(t){if("string"==typeof t)return wt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?wt(t,e):void 0}}(v,m)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),x=g[0],w=x.x,j=x.y,P=g[1],A=P.x,E=P.y,k=gt(gt({clipPath:Y(t,"hidden")?"url(#".concat(f,")"):void 0},(0,S.J9)(t,!0)),{},{x1:w,y1:j,x2:A,y2:E});return o().createElement(O.W,{className:(0,b.A)("recharts-reference-line",u)},function(t,e){return o().isValidElement(t)?o().cloneElement(t,e):l()(t)?t(e):o().createElement("line",jt({},e,{className:"recharts-reference-line-line"}))}(c,k),Z.J.renderCallByParent(t,(0,$.vh)({x1:w,y1:j,x2:A,y2:E})))}var St=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,n=arguments,r=vt(r=e),function(t,e){if(e&&("object"===dt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,ht()?Reflect.construct(r,n||[],vt(t).constructor):r.apply(t,n));var t,r,n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&bt(t,e)}(e,t),r=e,(n=[{key:"render",value:function(){return o().createElement(Pt,this.props)}}])&&yt(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n}(o().Component);function At(){return At=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},At.apply(this,arguments)}function Et(t){return Et="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},Et(t)}function kt(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 Tt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?kt(Object(r),!0).forEach((function(e){Bt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):kt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function It(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,Nt(n.key),n)}}function Mt(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Mt=function(){return!!t})()}function Ct(t){return Ct=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ct(t)}function Dt(t,e){return Dt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Dt(t,e)}function Bt(t,e,r){return(e=Nt(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Nt(t){var e=function(t){if("object"!=Et(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=Et(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Et(e)?e:e+""}Ot(St,"displayName","ReferenceLine"),Ot(St,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});var Rt=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,n=arguments,r=Ct(r=e),function(t,e){if(e&&("object"===Et(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Mt()?Reflect.construct(r,n||[],Ct(t).constructor):r.apply(t,n));var t,r,n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Dt(t,e)}(e,t),r=e,(n=[{key:"render",value:function(){var t=this.props,r=t.x1,n=t.x2,i=t.y1,a=t.y2,c=t.className,l=t.alwaysShow,u=t.clipPathId;(0,Q.R)(void 0===l,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var s=(0,T.vh)(r),f=(0,T.vh)(n),p=(0,T.vh)(i),d=(0,T.vh)(a),y=this.props.shape;if(!(s||f||p||d||y))return null;var h=function(t,e,r,n,o){var i=o.x1,a=o.x2,c=o.y1,l=o.y2,u=o.xAxis,s=o.yAxis;if(!u||!s)return null;var f=(0,$.P2)({x:u.scale,y:s.scale}),p={x:t?f.x.apply(i,{position:"start"}):f.x.rangeMin,y:r?f.y.apply(c,{position:"start"}):f.y.rangeMin},d={x:e?f.x.apply(a,{position:"end"}):f.x.rangeMax,y:n?f.y.apply(l,{position:"end"}):f.y.rangeMax};return!Y(o,"discard")||f.isInRange(p)&&f.isInRange(d)?(0,$.sl)(p,d):null}(s,f,p,d,this.props);if(!h&&!y)return null;var v=Y(this.props,"hidden")?"url(#".concat(u,")"):void 0;return o().createElement(O.W,{className:(0,b.A)("recharts-reference-area",c)},e.renderRect(y,Tt(Tt({clipPath:v},(0,S.J9)(this.props,!0)),h)),Z.J.renderCallByParent(this.props,h))}}])&&It(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n}(o().Component);function Lt(t){return function(t){if(Array.isArray(t))return _t(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 _t(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_t(t,e):void 0}}(t)||function(){throw new 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){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}Bt(Rt,"displayName","ReferenceArea"),Bt(Rt,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1}),Bt(Rt,"renderRect",(function(t,e){return o().isValidElement(t)?o().cloneElement(t,e):l()(t)?t(e):o().createElement(P.M,At({},e,{className:"recharts-reference-area-rect"}))}));var zt=function(t,e,r,n,o){var i=(0,S.aS)(t,St),a=(0,S.aS)(t,ut),c=[].concat(Lt(i),Lt(a)),l=(0,S.aS)(t,Rt),u="".concat(n,"Id"),s=n[0],f=e;if(c.length&&(f=c.reduce((function(t,e){if(e.props[u]===r&&Y(e.props,"extendDomain")&&(0,T.Et)(e.props[s])){var n=e.props[s];return[Math.min(t[0],n),Math.max(t[1],n)]}return t}),f)),l.length){var p="".concat(s,"1"),d="".concat(s,"2");f=l.reduce((function(t,e){if(e.props[u]===r&&Y(e.props,"extendDomain")&&(0,T.Et)(e.props[p])&&(0,T.Et)(e.props[d])){var n=e.props[p],o=e.props[d];return[Math.min(t[0],n,o),Math.max(t[1],n,o)]}return t}),f)}return o&&o.length&&(f=o.reduce((function(t,e){return(0,T.Et)(e)?[Math.min(t[0],e),Math.max(t[1],e)]:t}),f)),f},Wt=r(14040),Xt=r(23521),Ft=r(30228),Ut=new(r.n(Ft)()),Gt="recharts.syncMouseEvents",Vt=r(98940);function Kt(t){return Kt="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},Kt(t)}function Jt(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,Zt(n.key),n)}}function Ht(t,e,r){return(e=Zt(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Zt(t){var e=function(t){if("object"!=Kt(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=Kt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Kt(e)?e:e+""}var Yt=function(){return t=function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),Ht(this,"activeIndex",0),Ht(this,"coordinateList",[]),Ht(this,"layout","horizontal")},(e=[{key:"setDetails",value:function(t){var e,r=t.coordinateList,n=void 0===r?null:r,o=t.container,i=void 0===o?null:o,a=t.layout,c=void 0===a?null:a,l=t.offset,u=void 0===l?null:l,s=t.mouseHandlerCallback,f=void 0===s?null:s;this.coordinateList=null!==(e=null!=n?n:this.coordinateList)&&void 0!==e?e:[],this.container=null!=i?i:this.container,this.layout=null!=c?c:this.layout,this.offset=null!=u?u: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(){var t,e;if("horizontal"===this.layout&&0!==this.coordinateList.length){var r=this.container.getBoundingClientRect(),n=r.x,o=r.y,i=r.height,a=this.coordinateList[this.activeIndex].coordinate,c=(null===(t=window)||void 0===t?void 0:t.scrollX)||0,l=(null===(e=window)||void 0===e?void 0:e.scrollY)||0,u=n+a+c,s=o+this.offset.top+i/2+l;this.mouseHandlerCallback({pageX:u,pageY:s})}}}])&&Jt(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e}(),$t=r(15079),Qt=r(45249);function qt(t){return qt="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},qt(t)}var te=["x","y","top","left","width","height","className"];function ee(){return ee=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},ee.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}var ne=function(t,e,r,n,o,i){return"M".concat(t,",").concat(o,"v").concat(n,"M").concat(i,",").concat(e,"h").concat(r)},oe=function(t){var e=t.x,r=void 0===e?0:e,n=t.y,i=void 0===n?0:n,a=t.top,c=void 0===a?0:a,l=t.left,u=void 0===l?0:l,s=t.width,f=void 0===s?0:s,p=t.height,d=void 0===p?0:p,y=t.className,h=function(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){var n,o,i,a;n=t,o=e,i=r[e],a=function(t){if("object"!=qt(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=qt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(o),(o="symbol"==qt(a)?a:a+"")in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):re(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({x:r,y:i,top:c,left:u,width:f,height:d},function(t,e){if(null==t)return{};var r,n,o=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 i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,te));return(0,T.Et)(r)&&(0,T.Et)(i)&&(0,T.Et)(f)&&(0,T.Et)(d)&&(0,T.Et)(c)&&(0,T.Et)(u)?o().createElement("path",ee({},(0,S.J9)(h,!0),{className:(0,b.A)("recharts-cross",y),d:ne(r,i,f,d,c,u)})):null};function ie(t){var e=t.cx,r=t.cy,n=t.radius,o=t.startAngle,i=t.endAngle;return{points:[(0,Wt.IZ)(e,r,n,o),(0,Wt.IZ)(e,r,n,i)],cx:e,cy:r,radius:n,startAngle:o,endAngle:i}}var ae=r(58522);function ce(t,e,r){var n,o,i,a;if("horizontal"===t)i=n=e.x,o=r.top,a=r.top+r.height;else if("vertical"===t)a=o=e.y,n=r.left,i=r.left+r.width;else if(null!=e.cx&&null!=e.cy){if("centric"!==t)return ie(e);var c=e.cx,l=e.cy,u=e.innerRadius,s=e.outerRadius,f=e.angle,p=(0,Wt.IZ)(c,l,u,f),d=(0,Wt.IZ)(c,l,s,f);n=p.x,o=p.y,i=d.x,a=d.y}return[{x:n,y:o},{x:i,y:a}]}function le(t){return le="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},le(t)}function ue(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 se(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ue(Object(r),!0).forEach((function(e){var n,o,i,a;n=t,o=e,i=r[e],a=function(t){if("object"!=le(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=le(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(o),(o="symbol"==le(a)?a:a+"")in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ue(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function fe(t){var e,r,o,i=t.element,a=t.tooltipEventType,c=t.isActive,l=t.activeCoordinate,u=t.activePayload,s=t.offset,f=t.activeTooltipIndex,p=t.tooltipAxisBandSize,d=t.layout,y=t.chartName,h=null!==(e=i.props.cursor)&&void 0!==e?e:null===(r=i.type.defaultProps)||void 0===r?void 0:r.cursor;if(!i||!h||!c||!l||"ScatterChart"!==y&&"axis"!==a)return null;var v=Qt.I;if("ScatterChart"===y)o=l,v=oe;else if("BarChart"===y)o=function(t,e,r,n){var o=n/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===t?e.x-o:r.left+.5,y:"horizontal"===t?r.top+.5:e.y-o,width:"horizontal"===t?n:r.width-1,height:"horizontal"===t?r.height-1:n}}(d,l,s,p),v=P.M;else if("radial"===d){var m=ie(l),g=m.cx,O=m.cy,x=m.radius;o={cx:g,cy:O,startAngle:m.startAngle,endAngle:m.endAngle,innerRadius:x,outerRadius:x},v=ae.h}else o={points:ce(d,l,s)},v=Qt.I;var w=se(se(se(se({stroke:"#ccc",pointerEvents:"none"},s),o),(0,S.J9)(h,!1)),{},{payload:u,payloadIndex:f,className:(0,b.A)("recharts-tooltip-cursor",h.className)});return(0,n.isValidElement)(h)?(0,n.cloneElement)(h,w):(0,n.createElement)(v,w)}var pe=["item"],de=["children","className","width","height","style","compact","title","desc"];function ye(t){return ye="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},ye(t)}function he(){return he=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},he.apply(this,arguments)}function ve(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,o,i,a,c=[],l=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(t,e)||je(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function be(t,e){if(null==t)return{};var r,n,o=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 i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function me(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,ke(n.key),n)}}function ge(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(ge=function(){return!!t})()}function Oe(t){return Oe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Oe(t)}function xe(t,e){return xe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},xe(t,e)}function we(t){return function(t){if(Array.isArray(t))return Pe(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||je(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function je(t,e){if(t){if("string"==typeof t)return Pe(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Pe(t,e):void 0}}function Pe(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Se(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 Ae(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Se(Object(r),!0).forEach((function(e){Ee(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Se(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ee(t,e,r){return(e=ke(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ke(t){var e=function(t){if("object"!=ye(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=ye(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==ye(e)?e:e+""}var Te={xAxis:["bottom","top"],yAxis:["left","right"]},Ie={width:"100%",height:"100%"},Me={x:0,y:0};function Ce(t){return t}var De=function(t,e){var r=e.graphicalItems,n=e.dataStartIndex,o=e.dataEndIndex,i=(null!=r?r:[]).reduce((function(t,e){var r=e.props.data;return r&&r.length?[].concat(we(t),we(r)):t}),[]);return i.length>0?i:t&&t.length&&(0,T.Et)(n)&&(0,T.Et)(o)?t.slice(n,o+1):[]};function Be(t){return"number"===t?[0,"auto"]:void 0}var Ne=function(t,e,r,n){var o=t.graphicalItems,i=t.tooltipAxis,a=De(e,t);return r<0||!o||!o.length||r>=a.length?null:o.reduce((function(o,c){var l,u,s=null!==(l=c.props.data)&&void 0!==l?l:e;if(s&&t.dataStartIndex+t.dataEndIndex!==0&&t.dataEndIndex-t.dataStartIndex>=r&&(s=s.slice(t.dataStartIndex,t.dataEndIndex+1)),i.dataKey&&!i.allowDuplicatedCategory){var f=void 0===s?a:s;u=(0,T.eP)(f,i.dataKey,n)}else u=s&&s[r]||a[r];return u?[].concat(we(o),[(0,k.zb)(c,u)]):o}),[])},Re=function(t,e,r,n){var o=n||{x:t.chartX,y:t.chartY},i=function(t,e){return"horizontal"===e?t.x:"vertical"===e?t.y:"centric"===e?t.angle:t.radius}(o,r),a=t.orderedTooltipTicks,c=t.tooltipAxis,l=t.tooltipTicks,u=(0,k.gH)(i,a,l,c);if(u>=0&&l){var s=l[u]&&l[u].value,f=Ne(t,e,u,s),p=function(t,e,r,n){var o=e.find((function(t){return t&&t.index===r}));if(o){if("horizontal"===t)return{x:o.coordinate,y:n.y};if("vertical"===t)return{x:n.x,y:o.coordinate};if("centric"===t){var i=o.coordinate,a=n.radius;return Ae(Ae(Ae({},n),(0,Wt.IZ)(n.cx,n.cy,a,i)),{},{angle:i,radius:a})}var c=o.coordinate,l=n.angle;return Ae(Ae(Ae({},n),(0,Wt.IZ)(n.cx,n.cy,c,l)),{},{angle:l,radius:c})}return Me}(r,a,u,o);return{activeTooltipIndex:u,activeLabel:s,activePayload:f,activeCoordinate:p}}return null},Le=function(t,e){var r=e.axisType,n=void 0===r?"xAxis":r,o=e.AxisComp,i=e.graphicalItems,c=e.stackGroups,l=e.dataStartIndex,u=e.dataEndIndex,f=t.children,d="".concat(n,"Id"),y=(0,S.aS)(f,o),h={};return y&&y.length?h=function(t,e){var r=e.axes,n=e.graphicalItems,o=e.axisType,i=e.axisIdKey,c=e.stackGroups,l=e.dataStartIndex,u=e.dataEndIndex,f=t.layout,p=t.children,d=t.stackOffset,y=(0,k._L)(f,o);return r.reduce((function(e,r){var h,v=void 0!==r.type.defaultProps?Ae(Ae({},r.type.defaultProps),r.props):r.props,b=v.type,m=v.dataKey,g=v.allowDataOverflow,O=v.allowDuplicatedCategory,x=v.scale,w=v.ticks,j=v.includeHidden,P=v[i];if(e[P])return e;var S,A,E,I=De(t.data,{graphicalItems:n.filter((function(t){var e;return(i in t.props?t.props[i]:null===(e=t.type.defaultProps)||void 0===e?void 0:e[i])===P})),dataStartIndex:l,dataEndIndex:u}),M=I.length;(function(t,e,r){if("number"===r&&!0===e&&Array.isArray(t)){var n=null==t?void 0:t[0],o=null==t?void 0:t[1];if(n&&o&&(0,T.Et)(n)&&(0,T.Et)(o))return!0}return!1})(v.domain,g,b)&&(S=(0,k.AQ)(v.domain,null,g),!y||"number"!==b&&"auto"===x||(E=(0,k.Ay)(I,m,"category")));var C=Be(b);if(!S||0===S.length){var D,B=null!==(D=v.domain)&&void 0!==D?D:C;if(m){if(S=(0,k.Ay)(I,m,b),"category"===b&&y){var N=(0,T.CG)(S);O&&N?(A=S,S=s()(0,M)):O||(S=(0,k.KC)(B,S,r).reduce((function(t,e){return t.indexOf(e)>=0?t:[].concat(we(t),[e])}),[]))}else if("category"===b)S=O?S.filter((function(t){return""!==t&&!a()(t)})):(0,k.KC)(B,S,r).reduce((function(t,e){return t.indexOf(e)>=0||""===e||a()(e)?t:[].concat(we(t),[e])}),[]);else if("number"===b){var R=(0,k.A1)(I,n.filter((function(t){var e,r,n=i in t.props?t.props[i]:null===(e=t.type.defaultProps)||void 0===e?void 0:e[i],o="hide"in t.props?t.props.hide:null===(r=t.type.defaultProps)||void 0===r?void 0:r.hide;return n===P&&(j||!o)})),m,o,f);R&&(S=R)}!y||"number"!==b&&"auto"===x||(E=(0,k.Ay)(I,m,"category"))}else S=y?s()(0,M):c&&c[P]&&c[P].hasStack&&"number"===b?"expand"===d?[0,1]:(0,k.Mk)(c[P].stackGroups,l,u):(0,k.vf)(I,n.filter((function(t){var e=i in t.props?t.props[i]:t.type.defaultProps[i],r="hide"in t.props?t.props.hide:t.type.defaultProps.hide;return e===P&&(j||!r)})),b,f,!0);if("number"===b)S=zt(p,S,P,o,w),B&&(S=(0,k.AQ)(B,S,g));else if("category"===b&&B){var L=B;S.every((function(t){return L.indexOf(t)>=0}))&&(S=L)}}return Ae(Ae({},e),{},Ee({},P,Ae(Ae({},v),{},{axisType:o,domain:S,categoricalDomain:E,duplicateDomain:A,originalDomain:null!==(h=v.domain)&&void 0!==h?h:C,isCategorical:y,layout:f})))}),{})}(t,{axes:y,graphicalItems:i,axisType:n,axisIdKey:d,stackGroups:c,dataStartIndex:l,dataEndIndex:u}):i&&i.length&&(h=function(t,e){var r=e.graphicalItems,n=e.Axis,o=e.axisType,i=e.axisIdKey,a=e.stackGroups,c=e.dataStartIndex,l=e.dataEndIndex,u=t.layout,f=t.children,d=De(t.data,{graphicalItems:r,dataStartIndex:c,dataEndIndex:l}),y=d.length,h=(0,k._L)(u,o),v=-1;return r.reduce((function(t,e){var b,m=(void 0!==e.type.defaultProps?Ae(Ae({},e.type.defaultProps),e.props):e.props)[i],g=Be("number");return t[m]?t:(v++,h?b=s()(0,y):a&&a[m]&&a[m].hasStack?(b=(0,k.Mk)(a[m].stackGroups,c,l),b=zt(f,b,m,o)):(b=(0,k.AQ)(g,(0,k.vf)(d,r.filter((function(t){var e,r,n=i in t.props?t.props[i]:null===(e=t.type.defaultProps)||void 0===e?void 0:e[i],o="hide"in t.props?t.props.hide:null===(r=t.type.defaultProps)||void 0===r?void 0:r.hide;return n===m&&!o})),"number",u),n.defaultProps.allowDataOverflow),b=zt(f,b,m,o)),Ae(Ae({},t),{},Ee({},m,Ae(Ae({axisType:o},n.defaultProps),{},{hide:!0,orientation:p()(Te,"".concat(o,".").concat(v%2),null),domain:b,originalDomain:g,isCategorical:h,layout:u}))))}),{})}(t,{Axis:o,graphicalItems:i,axisType:n,axisIdKey:d,stackGroups:c,dataStartIndex:l,dataEndIndex:u})),h},_e=function(t){var e=t.children,r=t.defaultShowTooltip,n=(0,S.BU)(e,K),o=0,i=0;return t.data&&0!==t.data.length&&(i=t.data.length-1),n&&n.props&&(n.props.startIndex>=0&&(o=n.props.startIndex),n.props.endIndex>=0&&(i=n.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:o,dataEndIndex:i,activeTooltipIndex:-1,isTooltipActive:Boolean(r)}},ze=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"}},We=function(t,e){return"xAxis"===e?t[e].width:"yAxis"===e?t[e].height:void 0},Xe=function(t){var e=t.chartName,r=t.GraphicalChild,i=t.defaultTooltipEventType,c=void 0===i?"axis":i,u=t.validateTooltipEventTypes,s=void 0===u?["axis"]:u,f=t.axisComponents,d=t.legendContent,h=t.formatAxisMap,A=t.defaultProps,E=function(t,n){var o=t.props,i=t.dataStartIndex,c=t.dataEndIndex,l=t.updateId;if(!(0,S.Me)({props:o}))return null;var u=o.children,s=o.layout,d=o.stackOffset,v=o.data,b=o.reverseStackOrder,g=ze(s),O=g.numericAxisName,x=g.cateAxisName,j=(0,S.aS)(u,r),P=(0,k.Mn)(v,j,"".concat(O,"Id"),"".concat(x,"Id"),d,b),A=f.reduce((function(t,e){var r="".concat(e.axisType,"Map");return Ae(Ae({},t),{},Ee({},r,Le(o,Ae(Ae({},e),{},{graphicalItems:j,stackGroups:e.axisType===O&&P,dataStartIndex:i,dataEndIndex:c}))))}),{}),E=function(t,e){var r=t.props,n=t.graphicalItems,o=t.xAxisMap,i=void 0===o?{}:o,a=t.yAxisMap,c=void 0===a?{}:a,l=r.width,u=r.height,s=r.children,f=r.margin||{},d=(0,S.BU)(s,K),y=(0,S.BU)(s,w.s),h=Object.keys(c).reduce((function(t,e){var r=c[e],n=r.orientation;return r.mirror||r.hide?t:Ae(Ae({},t),{},Ee({},n,t[n]+r.width))}),{left:f.left||0,right:f.right||0}),v=Object.keys(i).reduce((function(t,e){var r=i[e],n=r.orientation;return r.mirror||r.hide?t:Ae(Ae({},t),{},Ee({},n,p()(t,"".concat(n))+r.height))}),{top:f.top||0,bottom:f.bottom||0}),b=Ae(Ae({},v),h),m=b.bottom;d&&(b.bottom+=d.props.height||K.defaultProps.height),y&&e&&(b=(0,k.s0)(b,n,r,e));var g=l-b.left-b.right,O=u-b.top-b.bottom;return Ae(Ae({brushBottom:m},b),{},{width:Math.max(g,0),height:Math.max(O,0)})}(Ae(Ae({},A),{},{props:o,graphicalItems:j}),null==n?void 0:n.legendBBox);Object.keys(A).forEach((function(t){A[t]=h(o,A[t],E,t.replace("Map",""),e)}));var I,M,C,D=(I=A["".concat(x,"Map")],M=(0,T.lX)(I),{tooltipTicks:C=(0,k.Rh)(M,!1,!0),orderedTooltipTicks:y()(C,(function(t){return t.coordinate})),tooltipAxis:M,tooltipAxisBandSize:(0,k.Hj)(M,C)}),B=function(t,e){var r=e.graphicalItems,n=e.stackGroups,o=e.offset,i=e.updateId,c=e.dataStartIndex,l=e.dataEndIndex,u=t.barSize,s=t.layout,p=t.barGap,d=t.barCategoryGap,y=t.maxBarSize,h=ze(s),v=h.numericAxisName,b=h.cateAxisName,g=function(t){return!(!t||!t.length)&&t.some((function(t){var e=(0,S.Mn)(t&&t.type);return e&&e.indexOf("Bar")>=0}))}(r),O=[];return r.forEach((function(r,h){var x=De(t.data,{graphicalItems:[r],dataStartIndex:c,dataEndIndex:l}),w=void 0!==r.type.defaultProps?Ae(Ae({},r.type.defaultProps),r.props):r.props,j=w.dataKey,P=w.maxBarSize,A=w["".concat(v,"Id")],E=w["".concat(b,"Id")],T=f.reduce((function(t,r){var n=e["".concat(r.axisType,"Map")],o=w["".concat(r.axisType,"Id")];n&&n[o]||"zAxis"===r.axisType||(0,m.A)(!1);var i=n[o];return Ae(Ae({},t),{},Ee(Ee({},r.axisType,i),"".concat(r.axisType,"Ticks"),(0,k.Rh)(i)))}),{}),I=T[b],M=T["".concat(b,"Ticks")],C=n&&n[A]&&n[A].hasStack&&(0,k.kA)(r,n[A].stackGroups),D=(0,S.Mn)(r.type).indexOf("Bar")>=0,B=(0,k.Hj)(I,M),N=[],R=g&&(0,k.tA)({barSize:u,stackGroups:n,totalSize:We(T,b)});if(D){var L,_,z=a()(P)?y:P,W=null!==(L=null!==(_=(0,k.Hj)(I,M,!0))&&void 0!==_?_:z)&&void 0!==L?L:0;N=(0,k.BX)({barGap:p,barCategoryGap:d,bandSize:W!==B?W:B,sizeList:R[E],maxBarSize:z}),W!==B&&(N=N.map((function(t){return Ae(Ae({},t),{},{position:Ae(Ae({},t.position),{},{offset:t.position.offset-W/2})})})))}var X=r&&r.type&&r.type.getComposedData;X&&O.push({props:Ae(Ae({},X(Ae(Ae({},T),{},{displayedData:x,props:t,dataKey:j,item:r,bandSize:B,barPosition:N,offset:o,stackedData:C,layout:s,dataStartIndex:c,dataEndIndex:l}))),{},Ee(Ee(Ee({key:r.key||"item-".concat(h)},v,T[v]),b,T[b]),"animationId",i)),childIndex:(0,S.AW)(r,t.children),item:r})})),O}(o,Ae(Ae({},A),{},{dataStartIndex:i,dataEndIndex:c,updateId:l,graphicalItems:j,stackGroups:P,offset:E}));return Ae(Ae({formattedGraphicalItems:B,graphicalItems:j,offset:E,stackGroups:P},D),A)},I=function(t){function r(t){var i,c,u,s,f,y;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),Ee((s=this,y=[t],f=Oe(f=r),u=function(t,e){if(e&&("object"===ye(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(s,ge()?Reflect.construct(f,y||[],Oe(s).constructor):f.apply(s,y))),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),Ee(u,"accessibilityManager",new Yt),Ee(u,"handleLegendBBoxUpdate",(function(t){if(t){var e=u.state,r=e.dataStartIndex,n=e.dataEndIndex,o=e.updateId;u.setState(Ae({legendBBox:t},E({props:u.props,dataStartIndex:r,dataEndIndex:n,updateId:o},Ae(Ae({},u.state),{},{legendBBox:t}))))}})),Ee(u,"handleReceiveSyncEvent",(function(t,e,r){if(u.props.syncId===t){if(r===u.eventEmitterSymbol&&"function"!=typeof u.props.syncMethod)return;u.applySyncEvent(e)}})),Ee(u,"handleBrushChange",(function(t){var e=t.startIndex,r=t.endIndex;if(e!==u.state.dataStartIndex||r!==u.state.dataEndIndex){var n=u.state.updateId;u.setState((function(){return Ae({dataStartIndex:e,dataEndIndex:r},E({props:u.props,dataStartIndex:e,dataEndIndex:r,updateId:n},u.state))})),u.triggerSyncEvent({dataStartIndex:e,dataEndIndex:r})}})),Ee(u,"handleMouseEnter",(function(t){var e=u.getMouseInfo(t);if(e){var r=Ae(Ae({},e),{},{isTooltipActive:!0});u.setState(r),u.triggerSyncEvent(r);var n=u.props.onMouseEnter;l()(n)&&n(r,t)}})),Ee(u,"triggeredAfterMouseMove",(function(t){var e=u.getMouseInfo(t),r=e?Ae(Ae({},e),{},{isTooltipActive:!0}):{isTooltipActive:!1};u.setState(r),u.triggerSyncEvent(r);var n=u.props.onMouseMove;l()(n)&&n(r,t)})),Ee(u,"handleItemMouseEnter",(function(t){u.setState((function(){return{isTooltipActive:!0,activeItem:t,activePayload:t.tooltipPayload,activeCoordinate:t.tooltipPosition||{x:t.cx,y:t.cy}}}))})),Ee(u,"handleItemMouseLeave",(function(){u.setState((function(){return{isTooltipActive:!1}}))})),Ee(u,"handleMouseMove",(function(t){t.persist(),u.throttleTriggeredAfterMouseMove(t)})),Ee(u,"handleMouseLeave",(function(t){u.throttleTriggeredAfterMouseMove.cancel();var e={isTooltipActive:!1};u.setState(e),u.triggerSyncEvent(e);var r=u.props.onMouseLeave;l()(r)&&r(e,t)})),Ee(u,"handleOuterEvent",(function(t){var e,r=(0,S.X_)(t),n=p()(u.props,"".concat(r));r&&l()(n)&&n(null!==(e=/.*touch.*/i.test(r)?u.getMouseInfo(t.changedTouches[0]):u.getMouseInfo(t))&&void 0!==e?e:{},t)})),Ee(u,"handleClick",(function(t){var e=u.getMouseInfo(t);if(e){var r=Ae(Ae({},e),{},{isTooltipActive:!0});u.setState(r),u.triggerSyncEvent(r);var n=u.props.onClick;l()(n)&&n(r,t)}})),Ee(u,"handleMouseDown",(function(t){var e=u.props.onMouseDown;l()(e)&&e(u.getMouseInfo(t),t)})),Ee(u,"handleMouseUp",(function(t){var e=u.props.onMouseUp;l()(e)&&e(u.getMouseInfo(t),t)})),Ee(u,"handleTouchMove",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&u.throttleTriggeredAfterMouseMove(t.changedTouches[0])})),Ee(u,"handleTouchStart",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&u.handleMouseDown(t.changedTouches[0])})),Ee(u,"handleTouchEnd",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&u.handleMouseUp(t.changedTouches[0])})),Ee(u,"handleDoubleClick",(function(t){var e=u.props.onDoubleClick;l()(e)&&e(u.getMouseInfo(t),t)})),Ee(u,"handleContextMenu",(function(t){var e=u.props.onContextMenu;l()(e)&&e(u.getMouseInfo(t),t)})),Ee(u,"triggerSyncEvent",(function(t){void 0!==u.props.syncId&&Ut.emit(Gt,u.props.syncId,t,u.eventEmitterSymbol)})),Ee(u,"applySyncEvent",(function(t){var e=u.props,r=e.layout,n=e.syncMethod,o=u.state.updateId,i=t.dataStartIndex,a=t.dataEndIndex;if(void 0!==t.dataStartIndex||void 0!==t.dataEndIndex)u.setState(Ae({dataStartIndex:i,dataEndIndex:a},E({props:u.props,dataStartIndex:i,dataEndIndex:a,updateId:o},u.state)));else if(void 0!==t.activeTooltipIndex){var c=t.chartX,l=t.chartY,s=t.activeTooltipIndex,f=u.state,p=f.offset,d=f.tooltipTicks;if(!p)return;if("function"==typeof n)s=n(d,t);else if("value"===n){s=-1;for(var y=0;y<d.length;y++)if(d[y].value===t.activeLabel){s=y;break}}var h=Ae(Ae({},p),{},{x:p.left,y:p.top}),v=Math.min(c,h.x+h.width),b=Math.min(l,h.y+h.height),m=d[s]&&d[s].value,g=Ne(u.state,u.props.data,s),O=d[s]?{x:"horizontal"===r?d[s].coordinate:v,y:"horizontal"===r?b:d[s].coordinate}:Me;u.setState(Ae(Ae({},t),{},{activeLabel:m,activeCoordinate:O,activePayload:g,activeTooltipIndex:s}))}else u.setState(t)})),Ee(u,"renderCursor",(function(t){var r,n=u.state,i=n.isTooltipActive,a=n.activeCoordinate,c=n.activePayload,l=n.offset,s=n.activeTooltipIndex,f=n.tooltipAxisBandSize,p=u.getTooltipEventType(),d=null!==(r=t.props.active)&&void 0!==r?r:i,y=u.props.layout,h=t.key||"_recharts-cursor";return o().createElement(fe,{key:h,activeCoordinate:a,activePayload:c,activeTooltipIndex:s,chartName:e,element:t,isActive:d,layout:y,offset:l,tooltipAxisBandSize:f,tooltipEventType:p})})),Ee(u,"renderPolarAxis",(function(t,e,r){var o=p()(t,"type.axisType"),i=p()(u.state,"".concat(o,"Map")),a=t.type.defaultProps,c=void 0!==a?Ae(Ae({},a),t.props):t.props,l=i&&i[c["".concat(o,"Id")]];return(0,n.cloneElement)(t,Ae(Ae({},l),{},{className:(0,b.A)(o,l.className),key:t.key||"".concat(e,"-").concat(r),ticks:(0,k.Rh)(l,!0)}))})),Ee(u,"renderPolarGrid",(function(t){var e=t.props,r=e.radialLines,o=e.polarAngles,i=e.polarRadius,a=u.state,c=a.radiusAxisMap,l=a.angleAxisMap,s=(0,T.lX)(c),f=(0,T.lX)(l),p=f.cx,d=f.cy,y=f.innerRadius,h=f.outerRadius;return(0,n.cloneElement)(t,{polarAngles:Array.isArray(o)?o:(0,k.Rh)(f,!0).map((function(t){return t.coordinate})),polarRadius:Array.isArray(i)?i:(0,k.Rh)(s,!0).map((function(t){return t.coordinate})),cx:p,cy:d,innerRadius:y,outerRadius:h,key:t.key||"polar-grid",radialLines:r})})),Ee(u,"renderLegend",(function(){var t=u.state.formattedGraphicalItems,e=u.props,r=e.children,o=e.width,i=e.height,a=u.props.margin||{},c=o-(a.left||0)-(a.right||0),l=(0,H.g)({children:r,formattedGraphicalItems:t,legendWidth:c,legendContent:d});if(!l)return null;var s=l.item,f=be(l,pe);return(0,n.cloneElement)(s,Ae(Ae({},f),{},{chartWidth:o,chartHeight:i,margin:a,onBBoxUpdate:u.handleLegendBBoxUpdate}))})),Ee(u,"renderTooltip",(function(){var t,e=u.props,r=e.children,o=e.accessibilityLayer,i=(0,S.BU)(r,x.m);if(!i)return null;var a=u.state,c=a.isTooltipActive,l=a.activeCoordinate,s=a.activePayload,f=a.activeLabel,p=a.offset,d=null!==(t=i.props.active)&&void 0!==t?t:c;return(0,n.cloneElement)(i,{viewBox:Ae(Ae({},p),{},{x:p.left,y:p.top}),active:d,label:f,payload:d?s:[],coordinate:l,accessibilityLayer:o})})),Ee(u,"renderBrush",(function(t){var e=u.props,r=e.margin,o=e.data,i=u.state,a=i.offset,c=i.dataStartIndex,l=i.dataEndIndex,s=i.updateId;return(0,n.cloneElement)(t,{key:t.key||"_recharts-brush",onChange:(0,k.HQ)(u.handleBrushChange,t.props.onChange),data:o,x:(0,T.Et)(t.props.x)?t.props.x:a.left,y:(0,T.Et)(t.props.y)?t.props.y:a.top+a.height+a.brushBottom-(r.bottom||0),width:(0,T.Et)(t.props.width)?t.props.width:a.width,startIndex:c,endIndex:l,updateId:"brush-".concat(s)})})),Ee(u,"renderReferenceElement",(function(t,e,r){if(!t)return null;var o=u.clipPathId,i=u.state,a=i.xAxisMap,c=i.yAxisMap,l=i.offset,s=t.type.defaultProps||{},f=t.props,p=f.xAxisId,d=void 0===p?s.xAxisId:p,y=f.yAxisId,h=void 0===y?s.yAxisId:y;return(0,n.cloneElement)(t,{key:t.key||"".concat(e,"-").concat(r),xAxis:a[d],yAxis:c[h],viewBox:{x:l.left,y:l.top,width:l.width,height:l.height},clipPathId:o})})),Ee(u,"renderActivePoints",(function(t){var e=t.item,n=t.activePoint,o=t.basePoint,i=t.childIndex,a=t.isRange,c=[],l=e.props.key,u=void 0!==e.item.type.defaultProps?Ae(Ae({},e.item.type.defaultProps),e.item.props):e.item.props,s=u.activeDot,f=Ae(Ae({index:i,dataKey:u.dataKey,cx:n.x,cy:n.y,r:4,fill:(0,k.Ps)(e.item),strokeWidth:2,stroke:"#fff",payload:n.payload,value:n.value},(0,S.J9)(s,!1)),(0,Vt._U)(s));return c.push(r.renderActiveDot(s,f,"".concat(l,"-activePoint-").concat(i))),o?c.push(r.renderActiveDot(s,Ae(Ae({},f),{},{cx:o.x,cy:o.y}),"".concat(l,"-basePoint-").concat(i))):a&&c.push(null),c})),Ee(u,"renderGraphicChild",(function(t,e,r){var o=u.filterFormatItem(t,e,r);if(!o)return null;var i=u.getTooltipEventType(),c=u.state,l=c.isTooltipActive,s=c.tooltipAxis,f=c.activeTooltipIndex,p=c.activeLabel,d=u.props.children,y=(0,S.BU)(d,x.m),h=o.props,v=h.points,b=h.isRange,m=h.baseLine,g=void 0!==o.item.type.defaultProps?Ae(Ae({},o.item.type.defaultProps),o.item.props):o.item.props,O=g.activeDot,w=g.hide,j=g.activeBar,P=g.activeShape,A=Boolean(!w&&l&&y&&(O||j||P)),E={};"axis"!==i&&y&&"click"===y.props.trigger?E={onClick:(0,k.HQ)(u.handleItemMouseEnter,t.props.onClick)}:"axis"!==i&&(E={onMouseLeave:(0,k.HQ)(u.handleItemMouseLeave,t.props.onMouseLeave),onMouseEnter:(0,k.HQ)(u.handleItemMouseEnter,t.props.onMouseEnter)});var I=(0,n.cloneElement)(t,Ae(Ae({},o.props),E));if(A){if(!(f>=0)){var M,C=(null!==(M=u.getItemByXY(u.state.activeCoordinate))&&void 0!==M?M:{graphicalItem:I}).graphicalItem,D=C.item,B=void 0===D?t:D,N=C.childIndex,R=Ae(Ae(Ae({},o.props),E),{},{activeIndex:N});return[(0,n.cloneElement)(B,R),null,null]}var L,_;if(s.dataKey&&!s.allowDuplicatedCategory){var z="function"==typeof s.dataKey?function(t){return"function"==typeof s.dataKey?s.dataKey(t.payload):null}:"payload.".concat(s.dataKey.toString());L=(0,T.eP)(v,z,p),_=b&&m&&(0,T.eP)(m,z,p)}else L=null==v?void 0:v[f],_=b&&m&&m[f];if(P||j){var W=void 0!==t.props.activeIndex?t.props.activeIndex:f;return[(0,n.cloneElement)(t,Ae(Ae(Ae({},o.props),E),{},{activeIndex:W})),null,null]}if(!a()(L))return[I].concat(we(u.renderActivePoints({item:o,activePoint:L,basePoint:_,childIndex:f,isRange:b})))}return b?[I,null,null]:[I,null]})),Ee(u,"renderCustomized",(function(t,e,r){return(0,n.cloneElement)(t,Ae(Ae({key:"recharts-customized-".concat(r)},u.props),u.state))})),Ee(u,"renderMap",{CartesianGrid:{handler:Ce,once:!0},ReferenceArea:{handler:u.renderReferenceElement},ReferenceLine:{handler:Ce},ReferenceDot:{handler:u.renderReferenceElement},XAxis:{handler:Ce},YAxis:{handler:Ce},Brush:{handler:u.renderBrush,once:!0},Bar:{handler:u.renderGraphicChild},Line:{handler:u.renderGraphicChild},Area:{handler:u.renderGraphicChild},Radar:{handler:u.renderGraphicChild},RadialBar:{handler:u.renderGraphicChild},Scatter:{handler:u.renderGraphicChild},Pie:{handler:u.renderGraphicChild},Funnel:{handler:u.renderGraphicChild},Tooltip:{handler:u.renderCursor,once:!0},PolarGrid:{handler:u.renderPolarGrid,once:!0},PolarAngleAxis:{handler:u.renderPolarAxis},PolarRadiusAxis:{handler:u.renderPolarAxis},Customized:{handler:u.renderCustomized}}),u.clipPathId="".concat(null!==(i=t.id)&&void 0!==i?i:(0,T.NF)("recharts"),"-clip"),u.throttleTriggeredAfterMouseMove=v()(u.triggeredAfterMouseMove,null!==(c=t.throttleDelay)&&void 0!==c?c:1e3/60),u.state={},u}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&xe(t,e)}(r,t),i=r,u=[{key:"componentDidMount",value:function(){var t,e;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:null!==(t=this.props.margin.left)&&void 0!==t?t:0,top:null!==(e=this.props.margin.top)&&void 0!==e?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,o=t.layout,i=(0,S.BU)(e,x.m);if(i){var a=i.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=Ne(this.state,r,a,c),u=this.state.tooltipTicks[a].coordinate,s=(this.state.offset.top+n)/2,f="horizontal"===o?{x:u,y:s}:{y:u,x:s},p=this.state.formattedGraphicalItems.find((function(t){return"Scatter"===t.item.type.name}));p&&(f=Ae(Ae({},f),p.props.points[a].tooltipPosition),l=p.props.points[a].tooltipPayload);var d={activeTooltipIndex:a,isTooltipActive:!0,activeLabel:c,activePayload:l,activeCoordinate:f};this.setState(d),this.renderCursor(i),this.accessibilityManager.setIndex(a)}}}},{key:"getSnapshotBeforeUpdate",value:function(t,e){return this.props.accessibilityLayer?(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&&this.accessibilityManager.setDetails({offset:{left:null!==(r=this.props.margin.left)&&void 0!==r?r:0,top:null!==(n=this.props.margin.top)&&void 0!==n?n:0}}),null):null;var r,n}},{key:"componentDidUpdate",value:function(t){(0,S.OV)([(0,S.BU)(t.children,x.m)],[(0,S.BU)(this.props.children,x.m)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var t=(0,S.BU)(this.props.children,x.m);if(t&&"boolean"==typeof t.props.shared){var e=t.props.shared?"axis":"item";return s.indexOf(e)>=0?e:c}return c}},{key:"getMouseInfo",value:function(t){if(!this.container)return null;var e=this.container,r=e.getBoundingClientRect(),n=(0,J.A3)(r),o={chartX:Math.round(t.pageX-n.left),chartY:Math.round(t.pageY-n.top)},i=r.width/e.offsetWidth||1,a=this.inRange(o.chartX,o.chartY,i);if(!a)return null;var c=this.state,l=c.xAxisMap,u=c.yAxisMap,s=this.getTooltipEventType(),f=Re(this.state,this.props.data,this.props.layout,a);if("axis"!==s&&l&&u){var p=(0,T.lX)(l).scale,d=(0,T.lX)(u).scale,y=p&&p.invert?p.invert(o.chartX):null,h=d&&d.invert?d.invert(o.chartY):null;return Ae(Ae({},o),{},{xValue:y,yValue:h},f)}return f?Ae(Ae({},o),f):null}},{key:"inRange",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=this.props.layout,o=t/r,i=e/r;if("horizontal"===n||"vertical"===n){var a=this.state.offset;return o>=a.left&&o<=a.left+a.width&&i>=a.top&&i<=a.top+a.height?{x:o,y:i}:null}var c=this.state,l=c.angleAxisMap,u=c.radiusAxisMap;if(l&&u){var s=(0,T.lX)(l);return(0,Wt.yy)({x:o,y:i},s)}return null}},{key:"parseEventsOfWrapper",value:function(){var t=this.props.children,e=this.getTooltipEventType(),r=(0,S.BU)(t,x.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}),Ae(Ae({},(0,Vt._U)(this.props,this.handleOuterEvent)),n)}},{key:"addListener",value:function(){Ut.on(Gt,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){Ut.removeListener(Gt,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(t,e,r){for(var n=this.state.formattedGraphicalItems,o=0,i=n.length;o<i;o++){var a=n[o];if(a.item===t||a.props.key===t.key||e===(0,S.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,i=e.height,a=e.width;return o().createElement("defs",null,o().createElement("clipPath",{id:t},o().createElement("rect",{x:r,y:n,height:i,width:a})))}},{key:"getXScales",value:function(){var t=this.state.xAxisMap;return t?Object.entries(t).reduce((function(t,e){var r=ve(e,2),n=r[0],o=r[1];return Ae(Ae({},t),{},Ee({},n,o.scale))}),{}):null}},{key:"getYScales",value:function(){var t=this.state.yAxisMap;return t?Object.entries(t).reduce((function(t,e){var r=ve(e,2),n=r[0],o=r[1];return Ae(Ae({},t),{},Ee({},n,o.scale))}),{}):null}},{key:"getXScaleByAxisId",value:function(t){var e;return null===(e=this.state.xAxisMap)||void 0===e||null===(e=e[t])||void 0===e?void 0:e.scale}},{key:"getYScaleByAxisId",value:function(t){var e;return null===(e=this.state.yAxisMap)||void 0===e||null===(e=e[t])||void 0===e?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 o=0,i=r.length;o<i;o++){var a=r[o],c=a.props,l=a.item,u=void 0!==l.type.defaultProps?Ae(Ae({},l.type.defaultProps),l.props):l.props,s=(0,S.Mn)(l.type);if("Bar"===s){var f=(c.data||[]).find((function(e){return(0,P.J)(t,e)}));if(f)return{graphicalItem:a,payload:f}}else if("RadialBar"===s){var p=(c.data||[]).find((function(e){return(0,Wt.yy)(t,e)}));if(p)return{graphicalItem:a,payload:p}}else if((0,$t.NE)(a,n)||(0,$t.nZ)(a,n)||(0,$t.xQ)(a,n)){var d=(0,$t.GG)({graphicalItem:a,activeTooltipItem:n,itemData:u.data}),y=void 0===u.activeIndex?d:u.activeIndex;return{graphicalItem:Ae(Ae({},a),{},{childIndex:y}),payload:(0,$t.xQ)(a,n)?u.data[d]:a.props.data[d]}}}return null}},{key:"render",value:function(){var t=this;if(!(0,S.Me)(this))return null;var e,r,n=this.props,i=n.children,a=n.className,c=n.width,l=n.height,u=n.style,s=n.compact,f=n.title,p=n.desc,d=be(n,de),y=(0,S.J9)(d,!1);if(s)return o().createElement(pt.DR,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},o().createElement(g.u,he({},y,{width:c,height:l,title:f,desc:p}),this.renderClipPath(),(0,S.ee)(i,this.renderMap)));this.props.accessibilityLayer&&(y.tabIndex=null!==(e=this.props.tabIndex)&&void 0!==e?e:0,y.role=null!==(r=this.props.role)&&void 0!==r?r:"application",y.onKeyDown=function(e){t.accessibilityManager.keyboardEvent(e)},y.onFocus=function(){t.accessibilityManager.focus()});var h=this.parseEventsOfWrapper();return o().createElement(pt.DR,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},o().createElement("div",he({className:(0,b.A)("recharts-wrapper",a),style:Ae({position:"relative",cursor:"default",width:c,height:l},u)},h,{ref:function(e){t.container=e}}),o().createElement(g.u,he({},y,{width:c,height:l,title:f,desc:p,style:Ie}),this.renderClipPath(),(0,S.ee)(i,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}],u&&me(i.prototype,u),Object.defineProperty(i,"prototype",{writable:!1}),i;var i,u}(n.Component);Ee(I,"displayName",e),Ee(I,"defaultProps",Ae({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},A)),Ee(I,"getDerivedStateFromProps",(function(t,e){var r=t.dataKey,n=t.data,o=t.children,i=t.width,c=t.height,l=t.layout,u=t.stackOffset,s=t.margin,f=e.dataStartIndex,p=e.dataEndIndex;if(void 0===e.updateId){var d=_e(t);return Ae(Ae(Ae({},d),{},{updateId:0},E(Ae(Ae({props:t},d),{},{updateId:0}),e)),{},{prevDataKey:r,prevData:n,prevWidth:i,prevHeight:c,prevLayout:l,prevStackOffset:u,prevMargin:s,prevChildren:o})}if(r!==e.prevDataKey||n!==e.prevData||i!==e.prevWidth||c!==e.prevHeight||l!==e.prevLayout||u!==e.prevStackOffset||!(0,Xt.b)(s,e.prevMargin)){var y=_e(t),h={chartX:e.chartX,chartY:e.chartY,isTooltipActive:e.isTooltipActive},v=Ae(Ae({},Re(e,n,l)),{},{updateId:e.updateId+1}),b=Ae(Ae(Ae({},y),h),v);return Ae(Ae(Ae({},b),E(Ae({props:t},b),e)),{},{prevDataKey:r,prevData:n,prevWidth:i,prevHeight:c,prevLayout:l,prevStackOffset:u,prevMargin:s,prevChildren:o})}if(!(0,S.OV)(o,e.prevChildren)){var m,g,O,x,w=(0,S.BU)(o,K),j=w&&null!==(m=null===(g=w.props)||void 0===g?void 0:g.startIndex)&&void 0!==m?m:f,P=w&&null!==(O=null===(x=w.props)||void 0===x?void 0:x.endIndex)&&void 0!==O?O:p,A=j!==f||P!==p,k=a()(n)||A?e.updateId+1:e.updateId;return Ae(Ae({updateId:k},E(Ae(Ae({props:t},e),{},{updateId:k,dataStartIndex:j,dataEndIndex:P}),e)),{},{prevChildren:o,dataStartIndex:j,dataEndIndex:P})}return null})),Ee(I,"renderActiveDot",(function(t,e,r){var i;return i=(0,n.isValidElement)(t)?(0,n.cloneElement)(t,e):l()(t)?t(e):o().createElement(j.c,e),o().createElement(O.W,{className:"recharts-active-dot",key:r},i)}));var M=(0,n.forwardRef)((function(t,e){return o().createElement(I,he({},t,{ref:e}))}));return M.displayName=I.displayName,M}},56122:(t,e,r)=>{r.d(e,{Z:()=>X});var n=r(51609),o=r.n(n),i=r(34164),a=r(16473),c=r(2404),l=r.n(c),u=r(1882),s=r.n(u),f=r(15079);function p(t){return p="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},p(t)}function d(){return d=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},d.apply(this,arguments)}function y(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 h(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?y(Object(r),!0).forEach((function(e){var n,o,i,a;n=t,o=e,i=r[e],a=function(t){if("object"!=p(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=p(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(o),(o="symbol"==p(a)?a:a+"")in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function v(t){return"string"==typeof t?parseInt(t,10):t}function b(t,e){var r="".concat(e.cx||t.cx),n=Number(r),o="".concat(e.cy||t.cy),i=Number(o);return h(h(h({},e),t),{},{cx:n,cy:i})}function m(t){return o().createElement(f.yp,d({shapeType:"sector",propTransformer:b},t))}var g=r(86069),O=r(94501),x=r(59938),w=r(5614),j=r(72050),P=r(59744),S=r(33964),A=r(98940),E=r(14040),k=["shape","activeShape","activeIndex","cornerRadius"],T=["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},I(t)}function M(){return M=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},M.apply(this,arguments)}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 D(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){z(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 B(t,e){if(null==t)return{};var r,n,o=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 i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function N(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,W(n.key),n)}}function R(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(R=function(){return!!t})()}function L(t){return L=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},L(t)}function _(t,e){return _=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_(t,e)}function z(t,e,r){return(e=W(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function W(t){var e=function(t){if("object"!=I(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=I(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==I(e)?e:e+""}var X=function(t){function e(){var t,r,n,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var i=arguments.length,a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];return z((r=this,n=e,o=[].concat(a),n=L(n),t=function(t,e){if(e&&("object"===I(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(r,R()?Reflect.construct(n,o||[],L(r).constructor):n.apply(r,o))),"state",{isAnimationFinished:!1}),z(t,"handleAnimationEnd",(function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),s()(e)&&e()})),z(t,"handleAnimationStart",(function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),s()(e)&&e()})),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_(t,e)}(e,t),r=e,c=[{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}}],(n=[{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,i=r.activeShape,a=r.activeIndex,c=r.cornerRadius,l=B(r,k),u=(0,O.J9)(l,!1);return t.map((function(t,r){var s=r===a,f=D(D(D(D({},u),{},{cornerRadius:v(c)},t),(0,A.XC)(e.props,t,r)),{},{className:"recharts-radial-bar-sector ".concat(t.className),forceCornerRadius:l.forceCornerRadius,cornerIsExternal:l.cornerIsExternal,isActive:s,option:s?i:n});return o().createElement(m,M({},f,{key:"sector-".concat(r)}))}))}},{key:"renderSectorsWithAnimation",value:function(){var t=this,e=this.props,r=e.data,n=e.isAnimationActive,i=e.animationBegin,c=e.animationDuration,l=e.animationEasing,u=e.animationId,s=this.state.prevData;return o().createElement(a.Ay,{begin:i,duration:c,isActive:n,easing:l,from:{t:0},to:{t:1},key:"radialBar-".concat(u),onAnimationStart:this.handleAnimationStart,onAnimationEnd:this.handleAnimationEnd},(function(e){var n=e.t,i=r.map((function(t,e){var r=s&&s[e];if(r){var o=(0,P.Dj)(r.startAngle,t.startAngle),i=(0,P.Dj)(r.endAngle,t.endAngle);return D(D({},t),{},{startAngle:o(n),endAngle:i(n)})}var a=t.endAngle,c=t.startAngle,l=(0,P.Dj)(c,a);return D(D({},t),{},{endAngle:l(n)})}));return o().createElement(g.W,null,t.renderSectorsStatically(i))}))}},{key:"renderSectors",value:function(){var t=this.props,e=t.data,r=t.isAnimationActive,n=this.state.prevData;return!(r&&e&&e.length)||n&&l()(n,e)?this.renderSectorsStatically(e):this.renderSectorsWithAnimation()}},{key:"renderBackground",value:function(t){var e=this,r=this.props.cornerRadius,n=(0,O.J9)(this.props.background,!1);return t.map((function(t,a){t.value;var c=t.background,l=B(t,T);if(!c)return null;var u=D(D(D(D(D({cornerRadius:v(r)},l),{},{fill:"#eee"},c),n),(0,A.XC)(e.props,t,a)),{},{index:a,className:(0,i.A)("recharts-radial-bar-background-sector",null==n?void 0:n.className),option:c,isActive:!1});return o().createElement(m,M({},u,{key:"sector-".concat(a)}))}))}},{key:"render",value:function(){var t=this.props,e=t.hide,r=t.data,n=t.className,a=t.background,c=t.isAnimationActive;if(e||!r||!r.length)return null;var l=this.state.isAnimationFinished,u=(0,i.A)("recharts-area",n);return o().createElement(g.W,{className:u},a&&o().createElement(g.W,{className:"recharts-radial-bar-background"},this.renderBackground(r)),o().createElement(g.W,{className:"recharts-radial-bar-sectors"},this.renderSectors()),(!c||l)&&w.Z.renderCallByParent(D({},this.props),r))}}])&&N(r.prototype,n),c&&N(r,c),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,c}(n.PureComponent);z(X,"displayName","RadialBar"),z(X,"defaultProps",{angleAxisId:0,radiusAxisId:0,minPointSize:0,hide:!1,legendType:"rect",data:[],isAnimationActive:!x.m.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease",forceCornerRadius:!1,cornerIsExternal:!1}),z(X,"getComposedData",(function(t){var e=t.item,r=t.props,n=t.radiusAxis,o=t.radiusAxisTicks,i=t.angleAxis,a=t.angleAxisTicks,c=t.displayedData,l=t.dataKey,u=t.stackedData,s=t.barPosition,f=t.bandSize,p=t.dataStartIndex,d=(0,S.xi)(s,e);if(!d)return null;var y=i.cx,h=i.cy,v=r.layout,b=e.props,m=b.children,g=b.minPointSize,x="radial"===v?i:n,w=u?x.scale.domain():null,A=(0,S.DW)({numericAxis:x}),k=(0,O.aS)(m,j.f);return{data:c.map((function(t,c){var s,b,m,O,x,j;if(u?s=(0,S._f)(u[p+c],w):(s=(0,S.kr)(t,l),Array.isArray(s)||(s=[A,s])),"radial"===v){b=(0,S.y2)({axis:n,ticks:o,bandSize:f,offset:d.offset,entry:t,index:c}),x=i.scale(s[1]),O=i.scale(s[0]),m=b+d.size;var T=x-O;Math.abs(g)>0&&Math.abs(T)<Math.abs(g)&&(x+=(0,P.sA)(T||g)*(Math.abs(g)-Math.abs(T))),j={background:{cx:y,cy:h,innerRadius:b,outerRadius:m,startAngle:r.startAngle,endAngle:r.endAngle}}}else{b=n.scale(s[0]),m=n.scale(s[1]),x=(O=(0,S.y2)({axis:i,ticks:a,bandSize:f,offset:d.offset,entry:t,index:c}))+d.size;var I=m-b;Math.abs(g)>0&&Math.abs(I)<Math.abs(g)&&(m+=(0,P.sA)(I||g)*(Math.abs(g)-Math.abs(I)))}return D(D(D(D({},t),j),{},{payload:t,value:u?s:s[1],cx:y,cy:h,innerRadius:b,outerRadius:m,startAngle:O,endAngle:x},k&&k[c]&&k[c].props),{},{tooltipPayload:[(0,S.zb)(e,t)],tooltipPosition:(0,E.IZ)(y,h,(b+m)/2,(O+x)/2)})})),layout:v}}))},58522:(t,e,r)=>{r.d(e,{h:()=>v});var n=r(51609),o=r.n(n),i=r(34164),a=r(94501),c=r(14040),l=r(59744);function u(t){return u="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},u(t)}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},s.apply(this,arguments)}function f(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 p(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach((function(e){var n,o,i,a;n=t,o=e,i=r[e],a=function(t){if("object"!=u(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(o),(o="symbol"==u(a)?a:a+"")in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var d=function(t){var e=t.cx,r=t.cy,n=t.radius,o=t.angle,i=t.sign,a=t.isExternal,l=t.cornerRadius,u=t.cornerIsExternal,s=l*(a?1:-1)+n,f=Math.asin(l/s)/c.Kg,p=u?o:o+i*f,d=u?o-i*f:o;return{center:(0,c.IZ)(e,r,s,p),circleTangency:(0,c.IZ)(e,r,n,p),lineTangency:(0,c.IZ)(e,r,s*Math.cos(f*c.Kg),d),theta:f}},y=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,o=t.outerRadius,i=t.startAngle,a=function(t,e){return(0,l.sA)(e-t)*Math.min(Math.abs(e-t),359.999)}(i,t.endAngle),u=i+a,s=(0,c.IZ)(e,r,o,i),f=(0,c.IZ)(e,r,o,u),p="M ".concat(s.x,",").concat(s.y,"\n    A ").concat(o,",").concat(o,",0,\n    ").concat(+(Math.abs(a)>180),",").concat(+(i>u),",\n    ").concat(f.x,",").concat(f.y,"\n  ");if(n>0){var d=(0,c.IZ)(e,r,n,i),y=(0,c.IZ)(e,r,n,u);p+="L ".concat(y.x,",").concat(y.y,"\n            A ").concat(n,",").concat(n,",0,\n            ").concat(+(Math.abs(a)>180),",").concat(+(i<=u),",\n            ").concat(d.x,",").concat(d.y," Z")}else p+="L ".concat(e,",").concat(r," Z");return p},h={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},v=function(t){var e=p(p({},h),t),r=e.cx,n=e.cy,c=e.innerRadius,u=e.outerRadius,f=e.cornerRadius,v=e.forceCornerRadius,b=e.cornerIsExternal,m=e.startAngle,g=e.endAngle,O=e.className;if(u<c||m===g)return null;var x,w=(0,i.A)("recharts-sector",O),j=u-c,P=(0,l.F4)(f,j,0,!0);return x=P>0&&Math.abs(m-g)<360?function(t){var e=t.cx,r=t.cy,n=t.innerRadius,o=t.outerRadius,i=t.cornerRadius,a=t.forceCornerRadius,c=t.cornerIsExternal,u=t.startAngle,s=t.endAngle,f=(0,l.sA)(s-u),p=d({cx:e,cy:r,radius:o,angle:u,sign:f,cornerRadius:i,cornerIsExternal:c}),h=p.circleTangency,v=p.lineTangency,b=p.theta,m=d({cx:e,cy:r,radius:o,angle:s,sign:-f,cornerRadius:i,cornerIsExternal:c}),g=m.circleTangency,O=m.lineTangency,x=m.theta,w=c?Math.abs(u-s):Math.abs(u-s)-b-x;if(w<0)return a?"M ".concat(v.x,",").concat(v.y,"\n        a").concat(i,",").concat(i,",0,0,1,").concat(2*i,",0\n        a").concat(i,",").concat(i,",0,0,1,").concat(2*-i,",0\n      "):y({cx:e,cy:r,innerRadius:n,outerRadius:o,startAngle:u,endAngle:s});var j="M ".concat(v.x,",").concat(v.y,"\n    A").concat(i,",").concat(i,",0,0,").concat(+(f<0),",").concat(h.x,",").concat(h.y,"\n    A").concat(o,",").concat(o,",0,").concat(+(w>180),",").concat(+(f<0),",").concat(g.x,",").concat(g.y,"\n    A").concat(i,",").concat(i,",0,0,").concat(+(f<0),",").concat(O.x,",").concat(O.y,"\n  ");if(n>0){var P=d({cx:e,cy:r,radius:n,angle:u,sign:f,isExternal:!0,cornerRadius:i,cornerIsExternal:c}),S=P.circleTangency,A=P.lineTangency,E=P.theta,k=d({cx:e,cy:r,radius:n,angle:s,sign:-f,isExternal:!0,cornerRadius:i,cornerIsExternal:c}),T=k.circleTangency,I=k.lineTangency,M=k.theta,C=c?Math.abs(u-s):Math.abs(u-s)-E-M;if(C<0&&0===i)return"".concat(j,"L").concat(e,",").concat(r,"Z");j+="L".concat(I.x,",").concat(I.y,"\n      A").concat(i,",").concat(i,",0,0,").concat(+(f<0),",").concat(T.x,",").concat(T.y,"\n      A").concat(n,",").concat(n,",0,").concat(+(C>180),",").concat(+(f>0),",").concat(S.x,",").concat(S.y,"\n      A").concat(i,",").concat(i,",0,0,").concat(+(f<0),",").concat(A.x,",").concat(A.y,"Z")}else j+="L".concat(e,",").concat(r,"Z");return j}({cx:r,cy:n,innerRadius:c,outerRadius:u,cornerRadius:Math.min(P,j/2),forceCornerRadius:v,cornerIsExternal:b,startAngle:m,endAngle:g}):y({cx:r,cy:n,innerRadius:c,outerRadius:u,startAngle:m,endAngle:g}),o().createElement("path",s({},(0,a.J9)(e,!0),{className:w,d:x,role:"img"}))}},59744:(t,e,r)=>{r.d(e,{CG:()=>g,Dj:()=>O,Et:()=>d,F4:()=>b,NF:()=>v,_3:()=>p,ck:()=>w,eP:()=>x,lX:()=>m,sA:()=>f,vh:()=>y});var n=r(85015),o=r.n(n),i=r(11741),a=r.n(i),c=r(58156),l=r.n(c),u=r(98023),s=r.n(u),f=function(t){return 0===t?0:t>0?1:-1},p=function(t){return o()(t)&&t.indexOf("%")===t.length-1},d=function(t){return s()(t)&&!a()(t)},y=function(t){return d(t)||o()(t)},h=0,v=function(t){var e=++h;return"".concat(t||"").concat(e)},b=function(t,e){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!d(t)&&!o()(t))return n;if(p(t)){var c=t.indexOf("%");r=e*parseFloat(t.slice(0,c))/100}else r=+t;return a()(r)&&(r=n),i&&r>e&&(r=e),r},m=function(t){if(!t)return null;var e=Object.keys(t);return e&&e.length?t[e[0]]:null},g=function(t){if(!Array.isArray(t))return!1;for(var e=t.length,r={},n=0;n<e;n++){if(r[t[n]])return!0;r[t[n]]=!0}return!1},O=function(t,e){return d(t)&&d(e)?function(r){return t+r*(e-t)}:function(){return e}};function x(t,e,r){return t&&t.length?t.find((function(t){return t&&("function"==typeof e?e(t):l()(t,e))===r})):null}var w=function(t,e){return d(t)&&d(e)?t-e:o()(t)&&o()(e)?t.localeCompare(e):t instanceof Date&&e instanceof Date?t.getTime()-e.getTime():String(t).localeCompare(String(e))}},59938:(t,e,r)=>{r.d(e,{m:()=>n});var n={isSsr:!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(t){return n[t]},set:function(t,e){if("string"==typeof t)n[t]=e;else{var r=Object.keys(t);r&&r.length&&r.forEach((function(e){n[e]=t[e]}))}}}},65787:(t,e,r)=>{r.d(e,{i:()=>P});var n=r(51609),o=r.n(n),i=r(55808),a=r.n(i),c=r(9185),l=r(48233),u=r(18361),s=r(1838),f=r(56657),p=r(47233),d=r(57002),y=r(25545),h=r(34164),v=r(94501);function b(t){return b="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},b(t)}var m=["type","size","sizeType"];function g(){return g=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},g.apply(this,arguments)}function O(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 x(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?O(Object(r),!0).forEach((function(e){var n,o,i,a;n=t,o=e,i=r[e],a=function(t){if("object"!=b(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=b(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(o),(o="symbol"==b(a)?a:a+"")in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var w={symbolCircle:c.A,symbolCross:l.A,symbolDiamond:u.A,symbolSquare:s.A,symbolStar:f.A,symbolTriangle:p.A,symbolWye:d.A},j=Math.PI/180,P=function(t){var e,r,n=t.type,i=void 0===n?"circle":n,l=t.size,u=void 0===l?64:l,s=t.sizeType,f=void 0===s?"area":s,p=x(x({},function(t,e){if(null==t)return{};var r,n,o=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 i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,m)),{},{type:i,size:u,sizeType:f}),d=p.className,b=p.cx,O=p.cy,P=(0,v.J9)(p,!0);return b===+b&&O===+O&&u===+u?o().createElement("path",g({},P,{className:(0,h.A)("recharts-symbols",d),transform:"translate(".concat(b,", ").concat(O,")"),d:(e=function(t){var e="symbol".concat(a()(t));return w[e]||c.A}(i),r=(0,y.Ay)().type(e).size(function(t,e,r){if("area"===e)return t;switch(r){case"cross":return 5*t*t/9;case"diamond":return.5*t*t/Math.sqrt(3);case"square":return t*t;case"star":var n=18*j;return 1.25*t*t*(Math.tan(n)-Math.tan(2*n)*Math.pow(Math.tan(n),2));case"triangle":return Math.sqrt(3)*t*t/4;case"wye":return(21-10*Math.sqrt(3))*t*t/8;default:return Math.PI*t*t/4}}(u,f,i)),r())})):null};P.registerSymbol=function(t,e){w["symbol".concat(a()(t))]=e}},66613:(t,e,r)=>{r.d(e,{c:()=>u});var n=r(51609),o=r.n(n),i=r(34164),a=r(98940),c=r(94501);function l(){return l=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},l.apply(this,arguments)}var u=function(t){var e=t.cx,r=t.cy,n=t.r,u=t.className,s=(0,i.A)("recharts-dot",u);return e===+e&&r===+r&&n===+n?o().createElement("circle",l({},(0,c.J9)(t,!1),(0,a._U)(t),{className:s,cx:e,cy:r,r:n})):null}},72050:(t,e,r)=>{r.d(e,{f:()=>n});var n=function(t){return null};n.displayName="Cell"},77984:(t,e,r)=>{r.d(e,{W:()=>m});var n=r(51609),o=r.n(n),i=r(34164),a=r(47429),c=r(86880),l=r(33964);function u(t){return u="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},u(t)}function s(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,h(n.key),n)}}function f(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(f=function(){return!!t})()}function p(t){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},p(t)}function d(t,e){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},d(t,e)}function y(t,e,r){return(e=h(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function h(t){var e=function(t){if("object"!=u(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==u(e)?e:e+""}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},v.apply(this,arguments)}function b(t){var e=t.xAxisId,r=(0,a.yi)(),n=(0,a.rY)(),u=(0,a.AF)(e);return null==u?null:o().createElement(c.u,v({},u,{className:(0,i.A)("recharts-".concat(u.axisType," ").concat(u.axisType),u.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(t){return(0,l.Rh)(t,!0)}}))}var m=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,n=arguments,r=p(r=e),function(t,e){if(e&&("object"===u(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,f()?Reflect.construct(r,n||[],p(t).constructor):r.apply(t,n));var t,r,n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&d(t,e)}(e,t),r=e,(n=[{key:"render",value:function(){return o().createElement(b,this.props)}}])&&s(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n}(o().Component);y(m,"displayName","XAxis"),y(m,"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})},78687:(t,e,r)=>{r.d(e,{m:()=>K});var n=r(51609),o=r.n(n),i=r(33031),a=r.n(i),c=r(69843),l=r.n(c),u=r(34164),s=r(59744);function f(t){return f="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},f(t)}function p(){return p=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},p.apply(this,arguments)}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function y(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 h(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?y(Object(r),!0).forEach((function(e){var n,o,i,a;n=t,o=e,i=r[e],a=function(t){if("object"!=f(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=f(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(o),(o="symbol"==f(a)?a:a+"")in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function v(t){return Array.isArray(t)&&(0,s.vh)(t[0])&&(0,s.vh)(t[1])?t.join(" ~ "):t}var b=function(t){var e=t.separator,r=void 0===e?" : ":e,n=t.contentStyle,i=void 0===n?{}:n,c=t.itemStyle,f=void 0===c?{}:c,y=t.labelStyle,b=void 0===y?{}:y,m=t.payload,g=t.formatter,O=t.itemSorter,x=t.wrapperClassName,w=t.labelClassName,j=t.label,P=t.labelFormatter,S=t.accessibilityLayer,A=void 0!==S&&S,E=h({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},i),k=h({margin:0},b),T=!l()(j),I=T?j:"",M=(0,u.A)("recharts-default-tooltip",x),C=(0,u.A)("recharts-tooltip-label",w);T&&P&&null!=m&&(I=P(j,m));var D=A?{role:"status","aria-live":"assertive"}:{};return o().createElement("div",p({className:M,style:E},D),o().createElement("p",{className:C,style:k},o().isValidElement(I)?I:"".concat(I)),function(){if(m&&m.length){var t=(O?a()(m,O):m).map((function(t,e){if("none"===t.type)return null;var n=h({display:"block",paddingTop:4,paddingBottom:4,color:t.color||"#000"},f),i=t.formatter||g||v,a=t.value,c=t.name,l=a,u=c;if(i&&null!=l&&null!=u){var p=i(a,c,t,e,m);if(Array.isArray(p)){var y=function(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,o,i,a,c=[],l=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return d(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(p,2);l=y[0],u=y[1]}else l=p}return o().createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(e),style:n},(0,s.vh)(u)?o().createElement("span",{className:"recharts-tooltip-item-name"},u):null,(0,s.vh)(u)?o().createElement("span",{className:"recharts-tooltip-item-separator"},r):null,o().createElement("span",{className:"recharts-tooltip-item-value"},l),o().createElement("span",{className:"recharts-tooltip-item-unit"},t.unit||""))}));return o().createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},t)}return null}())};function m(t){return m="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},m(t)}function g(t,e,r){var n;return n=function(t){if("object"!=m(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=m(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(e),(e="symbol"==m(n)?n:n+"")in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var O="recharts-tooltip-wrapper",x={visibility:"hidden"};function w(t){var e=t.coordinate,r=t.translateX,n=t.translateY;return(0,u.A)(O,g(g(g(g({},"".concat(O,"-right"),(0,s.Et)(r)&&e&&(0,s.Et)(e.x)&&r>=e.x),"".concat(O,"-left"),(0,s.Et)(r)&&e&&(0,s.Et)(e.x)&&r<e.x),"".concat(O,"-bottom"),(0,s.Et)(n)&&e&&(0,s.Et)(e.y)&&n>=e.y),"".concat(O,"-top"),(0,s.Et)(n)&&e&&(0,s.Et)(e.y)&&n<e.y))}function j(t){var e=t.allowEscapeViewBox,r=t.coordinate,n=t.key,o=t.offsetTopLeft,i=t.position,a=t.reverseDirection,c=t.tooltipDimension,l=t.viewBox,u=t.viewBoxDimension;if(i&&(0,s.Et)(i[n]))return i[n];var f=r[n]-c-o,p=r[n]+o;return e[n]?a[n]?f:p:a[n]?f<l[n]?Math.max(p,l[n]):Math.max(f,l[n]):p+c>l[n]+u?Math.max(f,l[n]):Math.max(p,l[n])}function P(t){return P="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},P(t)}function S(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 A(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?S(Object(r),!0).forEach((function(e){M(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function E(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,C(n.key),n)}}function k(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(k=function(){return!!t})()}function T(t){return T=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},T(t)}function I(t,e){return I=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},I(t,e)}function M(t,e,r){return(e=C(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function C(t){var e=function(t){if("object"!=P(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=P(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==P(e)?e:e+""}var D=function(t){function e(){var t,r,n,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var i=arguments.length,a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];return M((r=this,n=e,o=[].concat(a),n=T(n),t=function(t,e){if(e&&("object"===P(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(r,k()?Reflect.construct(n,o||[],T(r).constructor):n.apply(r,o))),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),M(t,"handleKeyDown",(function(e){var r,n,o,i;"Escape"===e.key&&t.setState({dismissed:!0,dismissedAtCoordinate:{x:null!==(r=null===(n=t.props.coordinate)||void 0===n?void 0:n.x)&&void 0!==r?r:0,y:null!==(o=null===(i=t.props.coordinate)||void 0===i?void 0:i.y)&&void 0!==o?o:0}})})),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&I(t,e)}(e,t),r=e,(n=[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var t=this.wrapperNode.getBoundingClientRect();(Math.abs(t.width-this.state.lastBoundingBox.width)>1||Math.abs(t.height-this.state.lastBoundingBox.height)>1)&&this.setState({lastBoundingBox:{width:t.width,height:t.height}})}else-1===this.state.lastBoundingBox.width&&-1===this.state.lastBoundingBox.height||this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var t,e;this.props.active&&this.updateBBox(),this.state.dismissed&&((null===(t=this.props.coordinate)||void 0===t?void 0:t.x)===this.state.dismissedAtCoordinate.x&&(null===(e=this.props.coordinate)||void 0===e?void 0:e.y)===this.state.dismissedAtCoordinate.y||(this.state.dismissed=!1))}},{key:"render",value:function(){var t=this,e=this.props,r=e.active,n=e.allowEscapeViewBox,i=e.animationDuration,a=e.animationEasing,c=e.children,l=e.coordinate,u=e.hasPayload,s=e.isAnimationActive,f=e.offset,p=e.position,d=e.reverseDirection,y=e.useTranslate3d,h=e.viewBox,v=e.wrapperStyle,b=function(t){var e,r,n=t.allowEscapeViewBox,o=t.coordinate,i=t.offsetTopLeft,a=t.position,c=t.reverseDirection,l=t.tooltipBox,u=t.useTranslate3d,s=t.viewBox;return{cssProperties:l.height>0&&l.width>0&&o?function(t){var e=t.translateX,r=t.translateY;return{transform:t.useTranslate3d?"translate3d(".concat(e,"px, ").concat(r,"px, 0)"):"translate(".concat(e,"px, ").concat(r,"px)")}}({translateX:e=j({allowEscapeViewBox:n,coordinate:o,key:"x",offsetTopLeft:i,position:a,reverseDirection:c,tooltipDimension:l.width,viewBox:s,viewBoxDimension:s.width}),translateY:r=j({allowEscapeViewBox:n,coordinate:o,key:"y",offsetTopLeft:i,position:a,reverseDirection:c,tooltipDimension:l.height,viewBox:s,viewBoxDimension:s.height}),useTranslate3d:u}):x,cssClasses:w({translateX:e,translateY:r,coordinate:o})}}({allowEscapeViewBox:n,coordinate:l,offsetTopLeft:f,position:p,reverseDirection:d,tooltipBox:this.state.lastBoundingBox,useTranslate3d:y,viewBox:h}),m=b.cssClasses,g=b.cssProperties,O=A(A({transition:s&&r?"transform ".concat(i,"ms ").concat(a):void 0},g),{},{pointerEvents:"none",visibility:!this.state.dismissed&&r&&u?"visible":"hidden",position:"absolute",top:0,left:0},v);return o().createElement("div",{tabIndex:-1,className:m,style:O,ref:function(e){t.wrapperNode=e}},c)}}])&&E(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n}(n.PureComponent),B=r(59938),N=r(79799);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},R(t)}function L(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){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?L(Object(r),!0).forEach((function(e){U(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):L(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function z(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,G(n.key),n)}}function W(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(W=function(){return!!t})()}function X(t){return X=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},X(t)}function F(t,e){return F=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},F(t,e)}function U(t,e,r){return(e=G(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function G(t){var e=function(t){if("object"!=R(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=R(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==R(e)?e:e+""}function V(t){return t.dataKey}var K=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,n=arguments,r=X(r=e),function(t,e){if(e&&("object"===R(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,W()?Reflect.construct(r,n||[],X(t).constructor):r.apply(t,n));var t,r,n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&F(t,e)}(e,t),r=e,(n=[{key:"render",value:function(){var t=this,e=this.props,r=e.active,n=e.allowEscapeViewBox,i=e.animationDuration,a=e.animationEasing,c=e.content,l=e.coordinate,u=e.filterNull,s=e.isAnimationActive,f=e.offset,p=e.payload,d=e.payloadUniqBy,y=e.position,h=e.reverseDirection,v=e.useTranslate3d,m=e.viewBox,g=e.wrapperStyle,O=null!=p?p:[];u&&O.length&&(O=(0,N.s)(p.filter((function(e){return null!=e.value&&(!0!==e.hide||t.props.includeHidden)})),d,V));var x=O.length>0;return o().createElement(D,{allowEscapeViewBox:n,animationDuration:i,animationEasing:a,isAnimationActive:s,active:r,coordinate:l,hasPayload:x,offset:f,position:y,reverseDirection:h,useTranslate3d:v,viewBox:m,wrapperStyle:g},function(t,e){return o().isValidElement(t)?o().cloneElement(t,e):"function"==typeof t?o().createElement(t,e):o().createElement(b,e)}(c,_(_({},this.props),{},{payload:O})))}}])&&z(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n}(n.PureComponent);U(K,"displayName","Tooltip"),U(K,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!B.m.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}})},79799:(t,e,r)=>{r.d(e,{s:()=>c});var n=r(50014),o=r.n(n),i=r(1882),a=r.n(i);function c(t,e,r){return!0===e?o()(t,r):a()(e)?o()(t,e):t}},81174:(t,e,r)=>{r.d(e,{E:()=>_});var n=r(51609),o=r.n(n),i=r(69843),a=r.n(i),c=r(34164),l=r(59744),u=r(59938),s=r(94501),f=r(81636);function p(t){return p="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},p(t)}function d(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,o,i,a,c=[],l=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return y(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?y(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function h(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,v(n.key),n)}}function v(t){var e=function(t){if("object"!=p(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=p(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==p(e)?e:e+""}var b=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,m=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,g=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,O=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,x={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},w=Object.keys(x),j="NaN",P=function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.num=e,this.unit=r,this.num=e,this.unit=r,Number.isNaN(e)&&(this.unit=""),""===r||g.test(r)||(this.num=NaN,this.unit=""),w.includes(r)&&(this.num=function(t,e){return t*x[e]}(e,r),this.unit="px")}return e=t,n=[{key:"parse",value:function(e){var r,n=d(null!==(r=O.exec(e))&&void 0!==r?r:[],3),o=n[1],i=n[2];return new t(parseFloat(o),null!=i?i:"")}}],(r=[{key:"add",value:function(e){return this.unit!==e.unit?new t(NaN,""):new t(this.num+e.num,this.unit)}},{key:"subtract",value:function(e){return this.unit!==e.unit?new t(NaN,""):new t(this.num-e.num,this.unit)}},{key:"multiply",value:function(e){return""!==this.unit&&""!==e.unit&&this.unit!==e.unit?new t(NaN,""):new t(this.num*e.num,this.unit||e.unit)}},{key:"divide",value:function(e){return""!==this.unit&&""!==e.unit&&this.unit!==e.unit?new t(NaN,""):new t(this.num/e.num,this.unit||e.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}])&&h(e.prototype,r),n&&h(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,n}();function S(t){if(t.includes(j))return j;for(var e=t;e.includes("*")||e.includes("/");){var r,n=d(null!==(r=b.exec(e))&&void 0!==r?r:[],4),o=n[1],i=n[2],a=n[3],c=P.parse(null!=o?o:""),l=P.parse(null!=a?a:""),u="*"===i?c.multiply(l):c.divide(l);if(u.isNaN())return j;e=e.replace(b,u.toString())}for(;e.includes("+")||/.-\d+(?:\.\d+)?/.test(e);){var s,f=d(null!==(s=m.exec(e))&&void 0!==s?s:[],4),p=f[1],y=f[2],h=f[3],v=P.parse(null!=p?p:""),g=P.parse(null!=h?h:""),O="+"===y?v.add(g):v.subtract(g);if(O.isNaN())return j;e=e.replace(m,O.toString())}return e}var A=/\(([^()]*)\)/;function E(t){var e=function(t){try{return function(t){var e=t.replace(/\s+/g,"");return e=function(t){for(var e=t;e.includes("(");){var r=d(A.exec(e),2)[1];e=e.replace(A,S(r))}return e}(e),S(e)}(t)}catch(t){return j}}(t.slice(5,-1));return e===j?"":e}var k=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],T=["dx","dy","angle","className","breakAll"];function I(){return I=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},I.apply(this,arguments)}function M(t,e){if(null==t)return{};var r,n,o=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 i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function C(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,o,i,a,c=[],l=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return D(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?D(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function D(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var B=/[ \f\n\r\t\v\u2028\u2029]+/,N=function(t){var e=t.children,r=t.breakAll,n=t.style;try{var o=[];return a()(e)||(o=r?e.toString().split(""):e.toString().split(B)),{wordsWithComputedWidth:o.map((function(t){return{word:t,width:(0,f.Pu)(t,n).width}})),spaceWidth:r?0:(0,f.Pu)(" ",n).width}}catch(t){return null}},R=function(t){return[{words:a()(t)?[]:t.toString().split(B)}]},L="#808080",_=function(t){var e=t.x,r=void 0===e?0:e,i=t.y,a=void 0===i?0:i,f=t.lineHeight,p=void 0===f?"1em":f,d=t.capHeight,y=void 0===d?"0.71em":d,h=t.scaleToFit,v=void 0!==h&&h,b=t.textAnchor,m=void 0===b?"start":b,g=t.verticalAnchor,O=void 0===g?"end":g,x=t.fill,w=void 0===x?L:x,j=M(t,k),P=(0,n.useMemo)((function(){return function(t){var e=t.width,r=t.scaleToFit,n=t.children,o=t.style,i=t.breakAll,a=t.maxLines;if((e||r)&&!u.m.isSsr){var c=N({breakAll:i,children:n,style:o});return c?function(t,e,r,n,o){var i=t.maxLines,a=t.children,c=t.style,u=t.breakAll,s=(0,l.Et)(i),f=a,p=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce((function(t,e){var i=e.word,a=e.width,c=t[t.length-1];if(c&&(null==n||o||c.width+a+r<Number(n)))c.words.push(i),c.width+=a+r;else{var l={words:[i],width:a};t.push(l)}return t}),[])},d=p(e);if(!s)return d;for(var y,h=function(t){var e=f.slice(0,t),r=N({breakAll:u,style:c,children:e+"…"}).wordsWithComputedWidth,o=p(r),a=o.length>i||function(t){return t.reduce((function(t,e){return t.width>e.width?t:e}))}(o).width>Number(n);return[a,o]},v=0,b=f.length-1,m=0;v<=b&&m<=f.length-1;){var g=Math.floor((v+b)/2),O=C(h(g-1),2),x=O[0],w=O[1],j=C(h(g),1)[0];if(x||j||(v=g+1),x&&j&&(b=g-1),!x&&j){y=w;break}m++}return y||d}({breakAll:i,children:n,maxLines:a,style:o},c.wordsWithComputedWidth,c.spaceWidth,e,r):R(n)}return R(n)}({breakAll:j.breakAll,children:j.children,maxLines:j.maxLines,scaleToFit:v,style:j.style,width:j.width})}),[j.breakAll,j.children,j.maxLines,v,j.style,j.width]),S=j.dx,A=j.dy,D=j.angle,B=j.className,_=j.breakAll,z=M(j,T);if(!(0,l.vh)(r)||!(0,l.vh)(a))return null;var W,X=r+((0,l.Et)(S)?S:0),F=a+((0,l.Et)(A)?A:0);switch(O){case"start":W=E("calc(".concat(y,")"));break;case"middle":W=E("calc(".concat((P.length-1)/2," * -").concat(p," + (").concat(y," / 2))"));break;default:W=E("calc(".concat(P.length-1," * -").concat(p,")"))}var U=[];if(v){var G=P[0].width,V=j.width;U.push("scale(".concat(((0,l.Et)(V)?V/G:1)/G,")"))}return D&&U.push("rotate(".concat(D,", ").concat(X,", ").concat(F,")")),U.length&&(z.transform=U.join(" ")),o().createElement("text",I({},(0,s.J9)(z,!0),{x:X,y:F,className:(0,c.A)("recharts-text",B),textAnchor:m,fill:w.includes("url")?L:w}),P.map((function(t,e){var r=t.words.join(_?"":" ");return o().createElement("tspan",{x:X,dy:0===e?W:p,key:"".concat(r,"-").concat(e)},r)})))}},81636:(t,e,r)=>{r.d(e,{A3:()=>f,Pu:()=>s});var n=r(59938);function o(t){return o="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},o(t)}function i(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 a(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach((function(e){var n,i,a,c;n=t,i=e,a=r[e],c=function(t){if("object"!=o(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(i),(i="symbol"==o(c)?c:c+"")in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var c={widthCache:{},cacheCount:0},l={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},u="recharts_measurement_span",s=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==t||n.m.isSsr)return{width:0,height:0};var r,o=(r=a({},e),Object.keys(r).forEach((function(t){r[t]||delete r[t]})),r),i=JSON.stringify({text:t,copyStyle:o});if(c.widthCache[i])return c.widthCache[i];try{var s=document.getElementById(u);s||((s=document.createElement("span")).setAttribute("id",u),s.setAttribute("aria-hidden","true"),document.body.appendChild(s));var f=a(a({},l),o);Object.assign(s.style,f),s.textContent="".concat(t);var p=s.getBoundingClientRect(),d={width:p.width,height:p.height};return c.widthCache[i]=d,++c.cacheCount>2e3&&(c.cacheCount=0,c.widthCache={}),d}catch(t){return{width:0,height:0}}},f=function(t){return{top:t.top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft}}},84124:(t,e,r)=>{r.d(e,{G:()=>z});var n,o=r(51609),i=r.n(o),a=r(34164),c=r(16473),l=r(1882),u=r.n(l),s=r(94506),f=r.n(s),p=r(69843),d=r.n(p),y=r(11741),h=r.n(y),v=r(2404),b=r.n(v),m=r(45249),g=r(66613),O=r(86069),x=r(5614),w=r(59938),j=r(59744),P=r(33964),S=r(94501),A=["layout","type","stroke","connectNulls","isRange","ref"],E=["key"];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},k(t)}function T(t,e){if(null==t)return{};var r,n,o=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 i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function I(){return I=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},I.apply(this,arguments)}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 C(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){L(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function D(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,_(n.key),n)}}function B(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(B=function(){return!!t})()}function N(t){return N=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},N(t)}function R(t,e){return R=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},R(t,e)}function L(t,e,r){return(e=_(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function _(t){var e=function(t){if("object"!=k(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=k(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==k(e)?e:e+""}var z=function(t){function e(){var t,r,n,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var i=arguments.length,a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];return L((r=this,n=e,o=[].concat(a),n=N(n),t=function(t,e){if(e&&("object"===k(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(r,B()?Reflect.construct(n,o||[],N(r).constructor):n.apply(r,o))),"state",{isAnimationFinished:!0}),L(t,"id",(0,j.NF)("recharts-area-")),L(t,"handleAnimationEnd",(function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),u()(e)&&e()})),L(t,"handleAnimationStart",(function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),u()(e)&&e()})),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&R(t,e)}(e,t),r=e,o=[{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}}],(n=[{key:"renderDots",value:function(t,r,n){var o=this.props.isAnimationActive,a=this.state.isAnimationFinished;if(o&&!a)return null;var c=this.props,l=c.dot,u=c.points,s=c.dataKey,f=(0,S.J9)(this.props,!1),p=(0,S.J9)(l,!0),d=u.map((function(t,r){var n=C(C(C({key:"dot-".concat(r),r:3},f),p),{},{index:r,cx:t.x,cy:t.y,dataKey:s,value:t.value,payload:t.payload,points:u});return e.renderDotItem(l,n)})),y={clipPath:t?"url(#clipPath-".concat(r?"":"dots-").concat(n,")"):null};return i().createElement(O.W,I({className:"recharts-area-dots"},y),d)}},{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,l=t*Math.abs(a-c),u=f()(n.map((function(t){return t.y||0})));return(0,j.Et)(r)&&"number"==typeof r?u=Math.max(r,u):r&&Array.isArray(r)&&r.length&&(u=Math.max(f()(r.map((function(t){return t.y||0}))),u)),(0,j.Et)(u)?i().createElement("rect",{x:a<c?a:a-l,y:0,width:l,height:Math.floor(u+(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,l=t*Math.abs(a-c),u=f()(n.map((function(t){return t.x||0})));return(0,j.Et)(r)&&"number"==typeof r?u=Math.max(r,u):r&&Array.isArray(r)&&r.length&&(u=Math.max(f()(r.map((function(t){return t.x||0}))),u)),(0,j.Et)(u)?i().createElement("rect",{x:0,y:a<c?a:a-l,width:u+(o?parseInt("".concat(o),10):1),height:Math.floor(l)}):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,u=o.connectNulls,s=o.isRange,f=(o.ref,T(o,A));return i().createElement(O.W,{clipPath:r?"url(#clipPath-".concat(n,")"):null},i().createElement(m.I,I({},(0,S.J9)(f,!0),{points:t,connectNulls:u,type:c,baseLine:e,layout:a,stroke:"none",className:"recharts-area-area"})),"none"!==l&&i().createElement(m.I,I({},(0,S.J9)(this.props,!1),{className:"recharts-area-curve",layout:a,type:c,connectNulls:u,fill:"none",points:t})),"none"!==l&&s&&i().createElement(m.I,I({},(0,S.J9)(this.props,!1),{className:"recharts-area-curve",layout:a,type:c,connectNulls:u,fill:"none",points:e})))}},{key:"renderAreaWithAnimation",value:function(t,e){var r=this,n=this.props,o=n.points,a=n.baseLine,l=n.isAnimationActive,u=n.animationBegin,s=n.animationDuration,f=n.animationEasing,p=n.animationId,y=this.state,v=y.prevPoints,b=y.prevBaseLine;return i().createElement(c.Ay,{begin:u,duration:s,isActive:l,easing:f,from:{t:0},to:{t:1},key:"area-".concat(p),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(n){var c=n.t;if(v){var l,u=v.length/o.length,s=o.map((function(t,e){var r=Math.floor(e*u);if(v[r]){var n=v[r],o=(0,j.Dj)(n.x,t.x),i=(0,j.Dj)(n.y,t.y);return C(C({},t),{},{x:o(c),y:i(c)})}return t}));return l=(0,j.Et)(a)&&"number"==typeof a?(0,j.Dj)(b,a)(c):d()(a)||h()(a)?(0,j.Dj)(b,0)(c):a.map((function(t,e){var r=Math.floor(e*u);if(b[r]){var n=b[r],o=(0,j.Dj)(n.x,t.x),i=(0,j.Dj)(n.y,t.y);return C(C({},t),{},{x:o(c),y:i(c)})}return t})),r.renderAreaStatically(s,l,t,e)}return i().createElement(O.W,null,i().createElement("defs",null,i().createElement("clipPath",{id:"animationClipPath-".concat(e)},r.renderClipRect(c))),i().createElement(O.W,{clipPath:"url(#animationClipPath-".concat(e,")")},r.renderAreaStatically(o,a,t,e)))}))}},{key:"renderArea",value:function(t,e){var r=this.props,n=r.points,o=r.baseLine,i=r.isAnimationActive,a=this.state,c=a.prevPoints,l=a.prevBaseLine,u=a.totalLength;return i&&n&&n.length&&(!c&&u>0||!b()(c,n)||!b()(l,o))?this.renderAreaWithAnimation(t,e):this.renderAreaStatically(n,o,t,e)}},{key:"render",value:function(){var t,e=this.props,r=e.hide,n=e.dot,o=e.points,c=e.className,l=e.top,u=e.left,s=e.xAxis,f=e.yAxis,p=e.width,y=e.height,h=e.isAnimationActive,v=e.id;if(r||!o||!o.length)return null;var b=this.state.isAnimationFinished,m=1===o.length,g=(0,a.A)("recharts-area",c),w=s&&s.allowDataOverflow,j=f&&f.allowDataOverflow,P=w||j,A=d()(v)?this.id:v,E=null!==(t=(0,S.J9)(n,!1))&&void 0!==t?t:{r:3,strokeWidth:2},k=E.r,T=void 0===k?3:k,I=E.strokeWidth,M=void 0===I?2:I,C=((0,S.sT)(n)?n:{}).clipDot,D=void 0===C||C,B=2*T+M;return i().createElement(O.W,{className:g},w||j?i().createElement("defs",null,i().createElement("clipPath",{id:"clipPath-".concat(A)},i().createElement("rect",{x:w?u:u-p/2,y:j?l:l-y/2,width:w?p:2*p,height:j?y:2*y})),!D&&i().createElement("clipPath",{id:"clipPath-dots-".concat(A)},i().createElement("rect",{x:u-B/2,y:l-B/2,width:p+B,height:y+B}))):null,m?null:this.renderArea(P,A),(n||m)&&this.renderDots(P,D,A),(!h||b)&&x.Z.renderCallByParent(this.props,o))}}])&&D(r.prototype,n),o&&D(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(o.PureComponent);n=z,L(z,"displayName","Area"),L(z,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!w.m.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),L(z,"getBaseValue",(function(t,e,r,n){var o=t.layout,i=t.baseValue,a=e.props.baseValue,c=null!=a?a:i;if((0,j.Et)(c)&&"number"==typeof c)return c;var l="horizontal"===o?n:r,u=l.scale.domain();if("number"===l.type){var s=Math.max(u[0],u[1]),f=Math.min(u[0],u[1]);return"dataMin"===c?f:"dataMax"===c||s<0?s:Math.max(Math.min(u[0],u[1]),0)}return"dataMin"===c?u[0]:"dataMax"===c?u[1]:u[0]})),L(z,"getComposedData",(function(t){var e,r=t.props,o=t.item,i=t.xAxis,a=t.yAxis,c=t.xAxisTicks,l=t.yAxisTicks,u=t.bandSize,s=t.dataKey,f=t.stackedData,p=t.dataStartIndex,d=t.displayedData,y=t.offset,h=r.layout,v=f&&f.length,b=n.getBaseValue(r,o,i,a),m="horizontal"===h,g=!1,O=d.map((function(t,e){var r;v?r=f[p+e]:(r=(0,P.kr)(t,s),Array.isArray(r)?g=!0:r=[b,r]);var n=null==r[1]||v&&null==(0,P.kr)(t,s);return m?{x:(0,P.nb)({axis:i,ticks:c,bandSize:u,entry:t,index:e}),y:n?null:a.scale(r[1]),value:r,payload:t}:{x:n?null:i.scale(r[1]),y:(0,P.nb)({axis:a,ticks:l,bandSize:u,entry:t,index:e}),value:r,payload:t}}));return e=v||g?O.map((function(t){var e=Array.isArray(t.value)?t.value[0]:null;return m?{x:t.x,y:null!=e&&null!=t.y?a.scale(e):null}:{x:null!=e?i.scale(e):null,y:t.y}})):m?a.scale(b):i.scale(b),C({points:O,baseLine:e,layout:h,isRange:g},y)})),L(z,"renderDotItem",(function(t,e){var r;if(i().isValidElement(t))r=i().cloneElement(t,e);else if(u()(t))r=t(e);else{var n=(0,a.A)("recharts-area-dot","boolean"!=typeof t?t.className:""),o=e.key,c=T(e,E);r=i().createElement(g.c,I({},c,{key:o,className:n}))}return r}))},86069:(t,e,r)=>{r.d(e,{W:()=>u});var n=r(51609),o=r.n(n),i=r(34164),a=r(94501),c=["children","className"];function l(){return l=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},l.apply(this,arguments)}var u=o().forwardRef((function(t,e){var r=t.children,n=t.className,u=function(t,e){if(null==t)return{};var r,n,o=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 i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,c),s=(0,i.A)("recharts-layer",n);return o().createElement("g",l({className:s},(0,a.J9)(u,!0),{ref:e}),r)}))},86880:(t,e,r)=>{r.d(e,{u:()=>z});var n=r(51609),o=r.n(n),i=r(1882),a=r.n(i),c=r(58156),l=r.n(c),u=r(34164),s=r(23521),f=r(86069),p=r(81174),d=r(91706),y=r(59744),h=r(98940),v=r(94501),b=r(81636),m=r(59938),g=r(47430);function O(t,e,r){if(e<1)return[];if(1===e&&void 0===r)return t;for(var n=[],o=0;o<t.length;o+=e){if(void 0!==r&&!0!==r(t[o]))return;n.push(t[o])}return n}function x(t,e,r,n,o){if(t*e<t*n||t*e>t*o)return!1;var i=r();return t*(e-t*i/2-n)>=0&&t*(e+t*i/2-o)<=0}function w(t){return w="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},w(t)}function j(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 P(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?j(Object(r),!0).forEach((function(e){var n,o,i,a;n=t,o=e,i=r[e],a=function(t){if("object"!=w(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=w(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(o),(o="symbol"==w(a)?a:a+"")in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var S=["viewBox"],A=["viewBox"],E=["ticks"];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},k(t)}function T(){return T=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},T.apply(this,arguments)}function I(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 M(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?I(Object(r),!0).forEach((function(e){L(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):I(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function C(t,e){if(null==t)return{};var r,n,o=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 i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function D(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,_(n.key),n)}}function B(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(B=function(){return!!t})()}function N(t){return N=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},N(t)}function R(t,e){return R=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},R(t,e)}function L(t,e,r){return(e=_(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function _(t){var e=function(t){if("object"!=k(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=k(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==k(e)?e:e+""}var z=function(t){function e(t){var r,n,o,i;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(n=this,o=e,i=[t],o=N(o),r=function(t,e){if(e&&("object"===k(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(n,B()?Reflect.construct(o,i||[],N(n).constructor):o.apply(n,i))).state={fontSize:"",letterSpacing:""},r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&R(t,e)}(e,t),r=e,i=[{key:"renderTickItem",value:function(t,e,r){return o().isValidElement(t)?o().cloneElement(t,e):a()(t)?t(e):o().createElement(p.E,T({},e,{className:"recharts-cartesian-axis-tick-value"}),r)}}],(n=[{key:"shouldComponentUpdate",value:function(t,e){var r=t.viewBox,n=C(t,S),o=this.props,i=o.viewBox,a=C(o,A);return!(0,s.b)(r,i)||!(0,s.b)(n,a)||!(0,s.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,o,i,a,c=this.props,l=c.x,u=c.y,s=c.width,f=c.height,p=c.orientation,d=c.tickSize,h=c.mirror,v=c.tickMargin,b=h?-1:1,m=t.tickSize||d,g=(0,y.Et)(t.tickCoord)?t.tickCoord:t.coordinate;switch(p){case"top":e=r=t.coordinate,a=(n=(o=u+ +!h*f)-b*m)-b*v,i=g;break;case"left":n=o=t.coordinate,i=(e=(r=l+ +!h*s)-b*m)-b*v,a=g;break;case"right":n=o=t.coordinate,i=(e=(r=l+ +h*s)+b*m)+b*v,a=g;break;default:e=r=t.coordinate,a=(n=(o=u+ +h*f)+b*m)+b*v,i=g}return{line:{x1:e,y1:n,x2:r,y2:o},tick:{x:i,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,i=t.height,a=t.orientation,c=t.mirror,s=t.axisLine,f=M(M(M({},(0,v.J9)(this.props,!1)),(0,v.J9)(s,!1)),{},{fill:"none"});if("top"===a||"bottom"===a){var p=+("top"===a&&!c||"bottom"===a&&c);f=M(M({},f),{},{x1:e,y1:r+p*i,x2:e+n,y2:r+p*i})}else{var d=+("left"===a&&!c||"right"===a&&c);f=M(M({},f),{},{x1:e+d*n,y1:r,x2:e+d*n,y2:r+i})}return o().createElement("line",T({},f,{className:(0,u.A)("recharts-cartesian-axis-line",l()(s,"className"))}))}},{key:"renderTicks",value:function(t,r,n){var i=this,c=this.props,s=c.tickLine,p=c.stroke,d=c.tick,w=c.tickFormatter,j=c.unit,S=function(t,e,r){var n=t.tick,o=t.ticks,i=t.viewBox,c=t.minTickGap,l=t.orientation,u=t.interval,s=t.tickFormatter,f=t.unit,p=t.angle;if(!o||!o.length||!n)return[];if((0,y.Et)(u)||m.m.isSsr)return function(t,e){return O(t,e+1)}(o,"number"==typeof u&&(0,y.Et)(u)?u:0);var d=[],h="top"===l||"bottom"===l?"width":"height",v=f&&"width"===h?(0,b.Pu)(f,{fontSize:e,letterSpacing:r}):{width:0,height:0},w=function(t,n){var o=a()(s)?s(t.value,n):t.value;return"width"===h?function(t,e,r){var n={width:t.width+e.width,height:t.height+e.height};return(0,g.bx)(n,r)}((0,b.Pu)(o,{fontSize:e,letterSpacing:r}),v,p):(0,b.Pu)(o,{fontSize:e,letterSpacing:r})[h]},j=o.length>=2?(0,y.sA)(o[1].coordinate-o[0].coordinate):1,S=function(t,e,r){var n="width"===r,o=t.x,i=t.y,a=t.width,c=t.height;return 1===e?{start:n?o:i,end:n?o+a:i+c}:{start:n?o+a:i+c,end:n?o:i}}(i,j,h);return"equidistantPreserveStart"===u?function(t,e,r,n,o){for(var i,a=(n||[]).slice(),c=e.start,l=e.end,u=0,s=1,f=c,p=function(){var e=null==n?void 0:n[u];if(void 0===e)return{v:O(n,s)};var i,a=u,p=function(){return void 0===i&&(i=r(e,a)),i},d=e.coordinate,y=0===u||x(t,d,p,f,l);y||(u=0,f=c,s+=1),y&&(f=d+t*(p()/2+o),u+=s)};s<=a.length;)if(i=p())return i.v;return[]}(j,S,w,o,c):(d="preserveStart"===u||"preserveStartEnd"===u?function(t,e,r,n,o,i){var a=(n||[]).slice(),c=a.length,l=e.start,u=e.end;if(i){var s=n[c-1],f=r(s,c-1),p=t*(s.coordinate+t*f/2-u);a[c-1]=s=P(P({},s),{},{tickCoord:p>0?s.coordinate-p*t:s.coordinate}),x(t,s.tickCoord,(function(){return f}),l,u)&&(u=s.tickCoord-t*(f/2+o),a[c-1]=P(P({},s),{},{isShow:!0}))}for(var d=i?c-1:c,y=function(e){var n,i=a[e],c=function(){return void 0===n&&(n=r(i,e)),n};if(0===e){var s=t*(i.coordinate-t*c()/2-l);a[e]=i=P(P({},i),{},{tickCoord:s<0?i.coordinate-s*t:i.coordinate})}else a[e]=i=P(P({},i),{},{tickCoord:i.coordinate});x(t,i.tickCoord,c,l,u)&&(l=i.tickCoord+t*(c()/2+o),a[e]=P(P({},i),{},{isShow:!0}))},h=0;h<d;h++)y(h);return a}(j,S,w,o,c,"preserveStartEnd"===u):function(t,e,r,n,o){for(var i=(n||[]).slice(),a=i.length,c=e.start,l=e.end,u=function(e){var n,u=i[e],s=function(){return void 0===n&&(n=r(u,e)),n};if(e===a-1){var f=t*(u.coordinate+t*s()/2-l);i[e]=u=P(P({},u),{},{tickCoord:f>0?u.coordinate-f*t:u.coordinate})}else i[e]=u=P(P({},u),{},{tickCoord:u.coordinate});x(t,u.tickCoord,s,c,l)&&(l=u.tickCoord-t*(s()/2+o),i[e]=P(P({},u),{},{isShow:!0}))},s=a-1;s>=0;s--)u(s);return i}(j,S,w,o,c),d.filter((function(t){return t.isShow})))}(M(M({},this.props),{},{ticks:t}),r,n),A=this.getTickTextAnchor(),E=this.getTickVerticalAnchor(),k=(0,v.J9)(this.props,!1),I=(0,v.J9)(d,!1),C=M(M({},k),{},{fill:"none"},(0,v.J9)(s,!1)),D=S.map((function(t,r){var n=i.getTickLineCoord(t),c=n.line,y=n.tick,v=M(M(M(M({textAnchor:A,verticalAnchor:E},k),{},{stroke:"none",fill:p},I),y),{},{index:r,payload:t,visibleTicksCount:S.length,tickFormatter:w});return o().createElement(f.W,T({className:"recharts-cartesian-axis-tick",key:"tick-".concat(t.value,"-").concat(t.coordinate,"-").concat(t.tickCoord)},(0,h.XC)(i.props,t,r)),s&&o().createElement("line",T({},C,c,{className:(0,u.A)("recharts-cartesian-axis-tick-line",l()(s,"className"))})),d&&e.renderTickItem(d,v,"".concat(a()(w)?w(t.value,r):t.value).concat(j||"")))}));return o().createElement("g",{className:"recharts-cartesian-axis-ticks"},D)}},{key:"render",value:function(){var t=this,e=this.props,r=e.axisLine,n=e.width,i=e.height,c=e.ticksGenerator,l=e.className;if(e.hide)return null;var s=this.props,p=s.ticks,y=C(s,E),h=p;return a()(c)&&(h=p&&p.length>0?c(this.props):c(y)),n<=0||i<=0||!h||!h.length?null:o().createElement(f.W,{className:(0,u.A)("recharts-cartesian-axis",l),ref:function(e){t.layerReference=e}},r&&this.renderAxisLine(),this.renderTicks(h,this.state.fontSize,this.state.letterSpacing),d.J.renderCallByParent(this.props))}}])&&D(r.prototype,n),i&&D(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(n.Component);L(z,"displayName","CartesianAxis"),L(z,"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"})},91706:(t,e,r)=>{r.d(e,{J:()=>E});var n=r(51609),o=r.n(n),i=r(69843),a=r.n(i),c=r(1882),l=r.n(c),u=r(23805),s=r.n(u),f=r(34164),p=r(81174),d=r(94501),y=r(59744),h=r(14040);function v(t){return v="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},v(t)}var b=["offset"];function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function g(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 O(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?g(Object(r),!0).forEach((function(e){var n,o,i,a;n=t,o=e,i=r[e],a=function(t){if("object"!=v(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=v(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(o),(o="symbol"==v(a)?a:a+"")in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function x(){return x=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},x.apply(this,arguments)}var w=function(t){var e=t.value,r=t.formatter,n=a()(t.children)?e:t.children;return l()(r)?r(n):n},j=function(t,e,r){var n,i,c=t.position,l=t.viewBox,u=t.offset,s=t.className,p=l,d=p.cx,v=p.cy,b=p.innerRadius,m=p.outerRadius,g=p.startAngle,O=p.endAngle,w=p.clockWise,j=(b+m)/2,P=function(t,e){return(0,y.sA)(e-t)*Math.min(Math.abs(e-t),360)}(g,O),S=P>=0?1:-1;"insideStart"===c?(n=g+S*u,i=w):"insideEnd"===c?(n=O-S*u,i=!w):"end"===c&&(n=O+S*u,i=w),i=P<=0?i:!i;var A=(0,h.IZ)(d,v,j,n),E=(0,h.IZ)(d,v,j,n+359*(i?1:-1)),k="M".concat(A.x,",").concat(A.y,"\n    A").concat(j,",").concat(j,",0,1,").concat(i?0:1,",\n    ").concat(E.x,",").concat(E.y),T=a()(t.id)?(0,y.NF)("recharts-radial-line-"):t.id;return o().createElement("text",x({},r,{dominantBaseline:"central",className:(0,f.A)("recharts-radial-bar-label",s)}),o().createElement("defs",null,o().createElement("path",{id:T,d:k})),o().createElement("textPath",{xlinkHref:"#".concat(T)},e))},P=function(t){var e=t.viewBox,r=t.offset,n=t.position,o=e,i=o.cx,a=o.cy,c=o.innerRadius,l=o.outerRadius,u=(o.startAngle+o.endAngle)/2;if("outside"===n){var s=(0,h.IZ)(i,a,l+r,u),f=s.x;return{x:f,y:s.y,textAnchor:f>=i?"start":"end",verticalAnchor:"middle"}}if("center"===n)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===n)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===n)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"end"};var p=(c+l)/2,d=(0,h.IZ)(i,a,p,u);return{x:d.x,y:d.y,textAnchor:"middle",verticalAnchor:"middle"}},S=function(t){var e=t.viewBox,r=t.parentViewBox,n=t.offset,o=t.position,i=e,a=i.x,c=i.y,l=i.width,u=i.height,f=u>=0?1:-1,p=f*n,d=f>0?"end":"start",h=f>0?"start":"end",v=l>=0?1:-1,b=v*n,m=v>0?"end":"start",g=v>0?"start":"end";if("top"===o)return O(O({},{x:a+l/2,y:c-f*n,textAnchor:"middle",verticalAnchor:d}),r?{height:Math.max(c-r.y,0),width:l}:{});if("bottom"===o)return O(O({},{x:a+l/2,y:c+u+p,textAnchor:"middle",verticalAnchor:h}),r?{height:Math.max(r.y+r.height-(c+u),0),width:l}:{});if("left"===o){var x={x:a-b,y:c+u/2,textAnchor:m,verticalAnchor:"middle"};return O(O({},x),r?{width:Math.max(x.x-r.x,0),height:u}:{})}if("right"===o){var w={x:a+l+b,y:c+u/2,textAnchor:g,verticalAnchor:"middle"};return O(O({},w),r?{width:Math.max(r.x+r.width-w.x,0),height:u}:{})}var j=r?{width:l,height:u}:{};return"insideLeft"===o?O({x:a+b,y:c+u/2,textAnchor:g,verticalAnchor:"middle"},j):"insideRight"===o?O({x:a+l-b,y:c+u/2,textAnchor:m,verticalAnchor:"middle"},j):"insideTop"===o?O({x:a+l/2,y:c+p,textAnchor:"middle",verticalAnchor:h},j):"insideBottom"===o?O({x:a+l/2,y:c+u-p,textAnchor:"middle",verticalAnchor:d},j):"insideTopLeft"===o?O({x:a+b,y:c+p,textAnchor:g,verticalAnchor:h},j):"insideTopRight"===o?O({x:a+l-b,y:c+p,textAnchor:m,verticalAnchor:h},j):"insideBottomLeft"===o?O({x:a+b,y:c+u-p,textAnchor:g,verticalAnchor:d},j):"insideBottomRight"===o?O({x:a+l-b,y:c+u-p,textAnchor:m,verticalAnchor:d},j):s()(o)&&((0,y.Et)(o.x)||(0,y._3)(o.x))&&((0,y.Et)(o.y)||(0,y._3)(o.y))?O({x:a+(0,y.F4)(o.x,l),y:c+(0,y.F4)(o.y,u),textAnchor:"end",verticalAnchor:"end"},j):O({x:a+l/2,y:c+u/2,textAnchor:"middle",verticalAnchor:"middle"},j)},A=function(t){return"cx"in t&&(0,y.Et)(t.cx)};function E(t){var e,r=t.offset,i=O({offset:void 0===r?5:r},function(t,e){if(null==t)return{};var r,n,o=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 i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,b)),c=i.viewBox,u=i.position,s=i.value,y=i.children,h=i.content,v=i.className,m=void 0===v?"":v,g=i.textBreakAll;if(!c||a()(s)&&a()(y)&&!(0,n.isValidElement)(h)&&!l()(h))return null;if((0,n.isValidElement)(h))return(0,n.cloneElement)(h,i);if(l()(h)){if(e=(0,n.createElement)(h,i),(0,n.isValidElement)(e))return e}else e=w(i);var E=A(c),k=(0,d.J9)(i,!0);if(E&&("insideStart"===u||"insideEnd"===u||"end"===u))return j(i,e,k);var T=E?P(i):S(i);return o().createElement(p.E,x({className:(0,f.A)("recharts-label",m)},k,T,{breakAll:g}),e)}E.displayName="Label";var k=function(t){var e=t.cx,r=t.cy,n=t.angle,o=t.startAngle,i=t.endAngle,a=t.r,c=t.radius,l=t.innerRadius,u=t.outerRadius,s=t.x,f=t.y,p=t.top,d=t.left,h=t.width,v=t.height,b=t.clockWise,m=t.labelViewBox;if(m)return m;if((0,y.Et)(h)&&(0,y.Et)(v)){if((0,y.Et)(s)&&(0,y.Et)(f))return{x:s,y:f,width:h,height:v};if((0,y.Et)(p)&&(0,y.Et)(d))return{x:p,y:d,width:h,height:v}}return(0,y.Et)(s)&&(0,y.Et)(f)?{x:s,y:f,width:0,height:0}:(0,y.Et)(e)&&(0,y.Et)(r)?{cx:e,cy:r,startAngle:o||n||0,endAngle:i||n||0,innerRadius:l||0,outerRadius:u||c||a||0,clockWise:b}:t.viewBox?t.viewBox:{}};E.parseViewBox=k,E.renderCallByParent=function(t,e){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||!t.children&&r&&!t.label)return null;var i=t.children,a=k(t),c=(0,d.aS)(i,E).map((function(t,r){return(0,n.cloneElement)(t,{viewBox:e||a,key:"label-".concat(r)})}));if(!r)return c;var u,f=function(t,e){return t?!0===t?o().createElement(E,{key:"label-implicit",viewBox:e}):(0,y.vh)(t)?o().createElement(E,{key:"label-implicit",viewBox:e,value:t}):(0,n.isValidElement)(t)?t.type===E?(0,n.cloneElement)(t,{key:"label-implicit",viewBox:e}):o().createElement(E,{key:"label-implicit",content:t,viewBox:e}):l()(t)?o().createElement(E,{key:"label-implicit",content:t,viewBox:e}):s()(t)?o().createElement(E,x({viewBox:e},t,{key:"label-implicit"})):null:null}(t.label,e||a);return[f].concat(function(t){if(Array.isArray(t))return m(t)}(u=c)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(u)||function(t,e){if(t){if("string"==typeof t)return m(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(t,e):void 0}}(u)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}},94501:(t,e,r)=>{r.d(e,{AW:()=>L,BU:()=>k,J9:()=>C,Me:()=>T,Mn:()=>j,OV:()=>D,X_:()=>R,aS:()=>E,ee:()=>N,sT:()=>M});var n=r(58156),o=r.n(n),i=r(69843),a=r.n(i),c=r(85015),l=r.n(c),u=r(1882),s=r.n(u),f=r(23805),p=r.n(f),d=r(51609),y=r(52199),h=r(59744),v=r(23521),b=r(98940),m=["children"],g=["children"];function O(t,e){if(null==t)return{};var r,n,o=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 i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function x(t){return x="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},x(t)}var w={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart",contextmenu:"onContextMenu",dblclick:"onDoubleClick"},j=function(t){return"string"==typeof t?t:t?t.displayName||t.name||"Component":""},P=null,S=null,A=function t(e){if(e===P&&Array.isArray(S))return S;var r=[];return d.Children.forEach(e,(function(e){a()(e)||((0,y.isFragment)(e)?r=r.concat(t(e.props.children)):r.push(e))})),S=r,P=e,r};function E(t,e){var r=[],n=[];return n=Array.isArray(e)?e.map((function(t){return j(t)})):[j(e)],A(t).forEach((function(t){var e=o()(t,"type.displayName")||o()(t,"type.name");-1!==n.indexOf(e)&&r.push(t)})),r}function k(t,e){var r=E(t,e);return r&&r[0]}var T=function(t){if(!t||!t.props)return!1;var e=t.props,r=e.width,n=e.height;return!(!(0,h.Et)(r)||r<=0||!(0,h.Et)(n)||n<=0)},I=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],M=function(t){return t&&"object"===x(t)&&"clipDot"in t},C=function(t,e,r){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var n=t;if((0,d.isValidElement)(t)&&(n=t.props),!p()(n))return null;var o={};return Object.keys(n).forEach((function(t){var i;(function(t,e,r,n){var o,i=null!==(o=null===b.VU||void 0===b.VU?void 0:b.VU[n])&&void 0!==o?o:[];return e.startsWith("data-")||!s()(t)&&(n&&i.includes(e)||b.QQ.includes(e))||r&&b.j2.includes(e)})(null===(i=n)||void 0===i?void 0:i[t],t,e,r)&&(o[t]=n[t])})),o},D=function t(e,r){if(e===r)return!0;var n=d.Children.count(e);if(n!==d.Children.count(r))return!1;if(0===n)return!0;if(1===n)return B(Array.isArray(e)?e[0]:e,Array.isArray(r)?r[0]:r);for(var o=0;o<n;o++){var i=e[o],a=r[o];if(Array.isArray(i)||Array.isArray(a)){if(!t(i,a))return!1}else if(!B(i,a))return!1}return!0},B=function(t,e){if(a()(t)&&a()(e))return!0;if(!a()(t)&&!a()(e)){var r=t.props||{},n=r.children,o=O(r,m),i=e.props||{},c=i.children,l=O(i,g);return n&&c?(0,v.b)(o,l)&&D(n,c):!n&&!c&&(0,v.b)(o,l)}return!1},N=function(t,e){var r=[],n={};return A(t).forEach((function(t,o){if(function(t){return t&&t.type&&l()(t.type)&&I.indexOf(t.type)>=0}(t))r.push(t);else if(t){var i=j(t.type),a=e[i]||{},c=a.handler,u=a.once;if(c&&(!u||!n[i])){var s=c(t,i,o);r.push(s),n[i]=!0}}})),r},R=function(t){var e=t&&t.type;return e&&w[e]?w[e]:null},L=function(t,e){return A(e).indexOf(t)}},97018:(t,e,r)=>{r.d(e,{s:()=>R});var n=r(51609),o=r.n(n),i=r(1882),a=r.n(i),c=r(34164),l=r(6634),u=r(49303),s=r(65787),f=r(98940);function p(t){return p="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},p(t)}function d(){return d=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},d.apply(this,arguments)}function y(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 h(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,O(n.key),n)}}function v(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(v=function(){return!!t})()}function b(t){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},b(t)}function m(t,e){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},m(t,e)}function g(t,e,r){return(e=O(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function O(t){var e=function(t){if("object"!=p(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=p(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==p(e)?e:e+""}var x=32,w=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,n=arguments,r=b(r=e),function(t,e){if(e&&("object"===p(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,v()?Reflect.construct(r,n||[],b(t).constructor):r.apply(t,n));var t,r,n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&m(t,e)}(e,t),r=e,n=[{key:"renderIcon",value:function(t){var e=this.props.inactiveColor,r=16,n=x/6,i=x/3,a=t.inactive?e:t.color;if("plainline"===t.type)return o().createElement("line",{strokeWidth:4,fill:"none",stroke:a,strokeDasharray:t.payload.strokeDasharray,x1:0,y1:r,x2:x,y2:r,className:"recharts-legend-icon"});if("line"===t.type)return o().createElement("path",{strokeWidth:4,fill:"none",stroke:a,d:"M0,".concat(r,"h").concat(i,"\n            A").concat(n,",").concat(n,",0,1,1,").concat(2*i,",").concat(r,"\n            H").concat(x,"M").concat(2*i,",").concat(r,"\n            A").concat(n,",").concat(n,",0,1,1,").concat(i,",").concat(r),className:"recharts-legend-icon"});if("rect"===t.type)return o().createElement("path",{stroke:"none",fill:a,d:"M0,".concat(4,"h").concat(x,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(o().isValidElement(t.legendIcon)){var c=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?y(Object(r),!0).forEach((function(e){g(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},t);return delete c.legendIcon,o().cloneElement(t.legendIcon,c)}return o().createElement(s.i,{fill:a,cx:r,cy:r,size:x,sizeType:"diameter",type:t.type})}},{key:"renderItems",value:function(){var t=this,e=this.props,r=e.payload,n=e.iconSize,i=e.layout,s=e.formatter,p=e.inactiveColor,y={x:0,y:0,width:x,height:x},h={display:"horizontal"===i?"inline-block":"block",marginRight:10},v={display:"inline-block",verticalAlign:"middle",marginRight:4};return r.map((function(e,r){var i=e.formatter||s,b=(0,c.A)(g(g({"recharts-legend-item":!0},"legend-item-".concat(r),!0),"inactive",e.inactive));if("none"===e.type)return null;var m=a()(e.value)?null:e.value;(0,l.R)(!a()(e.value),'The name property is also required when using a function for the dataKey of a chart\'s cartesian components. Ex: <Bar name="Name of my Data"/>');var O=e.inactive?p:e.color;return o().createElement("li",d({className:b,style:h,key:"legend-item-".concat(r)},(0,f.XC)(t.props,e,r)),o().createElement(u.u,{width:n,height:n,viewBox:y,style:v},t.renderIcon(e)),o().createElement("span",{className:"recharts-legend-item-text",style:{color:O}},i?i(m,e,r):m))}))}},{key:"render",value:function(){var t=this.props,e=t.payload,r=t.layout,n=t.align;if(!e||!e.length)return null;var i={padding:0,margin:0,textAlign:"horizontal"===r?n:"left"};return o().createElement("ul",{className:"recharts-default-legend",style:i},this.renderItems())}}],n&&h(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n}(n.PureComponent);g(w,"displayName","Legend"),g(w,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var j=r(59744),P=r(79799);function S(t){return S="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},S(t)}var A=["ref"];function E(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 k(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?E(Object(r),!0).forEach((function(e){D(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function T(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,B(n.key),n)}}function I(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(I=function(){return!!t})()}function M(t){return M=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},M(t)}function C(t,e){return C=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},C(t,e)}function D(t,e,r){return(e=B(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function B(t){var e=function(t){if("object"!=S(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=S(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==S(e)?e:e+""}function N(t){return t.value}var R=function(t){function e(){var t,r,n,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var i=arguments.length,a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];return D((r=this,n=e,o=[].concat(a),n=M(n),t=function(t,e){if(e&&("object"===S(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(r,I()?Reflect.construct(n,o||[],M(r).constructor):n.apply(r,o))),"lastBoundingBox",{width:-1,height:-1}),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&C(t,e)}(e,t),r=e,i=[{key:"getWithHeight",value:function(t,e){var r=k(k({},this.defaultProps),t.props).layout;return"vertical"===r&&(0,j.Et)(t.props.height)?{height:t.props.height}:"horizontal"===r?{width:t.props.width||e}:null}}],(n=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var t=this.wrapperNode.getBoundingClientRect();return t.height=this.wrapperNode.offsetHeight,t.width=this.wrapperNode.offsetWidth,t}return null}},{key:"updateBBox",value:function(){var t=this.props.onBBoxUpdate,e=this.getBBox();e?(Math.abs(e.width-this.lastBoundingBox.width)>1||Math.abs(e.height-this.lastBoundingBox.height)>1)&&(this.lastBoundingBox.width=e.width,this.lastBoundingBox.height=e.height,t&&t(e)):-1===this.lastBoundingBox.width&&-1===this.lastBoundingBox.height||(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,t&&t(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?k({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(t){var e,r,n=this.props,o=n.layout,i=n.align,a=n.verticalAlign,c=n.margin,l=n.chartWidth,u=n.chartHeight;return t&&(void 0!==t.left&&null!==t.left||void 0!==t.right&&null!==t.right)||(e="center"===i&&"vertical"===o?{left:((l||0)-this.getBBoxSnapshot().width)/2}:"right"===i?{right:c&&c.right||0}:{left:c&&c.left||0}),t&&(void 0!==t.top&&null!==t.top||void 0!==t.bottom&&null!==t.bottom)||(r="middle"===a?{top:((u||0)-this.getBBoxSnapshot().height)/2}:"bottom"===a?{bottom:c&&c.bottom||0}:{top:c&&c.top||0}),k(k({},e),r)}},{key:"render",value:function(){var t=this,e=this.props,r=e.content,n=e.width,i=e.height,a=e.wrapperStyle,c=e.payloadUniqBy,l=e.payload,u=k(k({position:"absolute",width:n||"auto",height:i||"auto"},this.getDefaultPosition(a)),a);return o().createElement("div",{className:"recharts-legend-wrapper",style:u,ref:function(e){t.wrapperNode=e}},function(t,e){if(o().isValidElement(t))return o().cloneElement(t,e);if("function"==typeof t)return o().createElement(t,e);e.ref;var r=function(t,e){if(null==t)return{};var r,n,o=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 i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(e,A);return o().createElement(w,r)}(r,k(k({},this.props),{},{payload:(0,P.s)(l,c,N)})))}}])&&T(r.prototype,n),i&&T(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(n.PureComponent);D(R,"displayName","Legend"),D(R,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"})},98416:(t,e,r)=>{r.d(e,{r:()=>D});var n=r(51609),o=r.n(n),i=r(1882),a=r.n(i),c=r(34164),l=r(86069),u=r(66613),s=r(94501),f=["points","className","baseLinePoints","connectNulls"];function p(){return p=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},p.apply(this,arguments)}function d(t){return function(t){if(Array.isArray(t))return y(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 y(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?y(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var h=function(t){return t&&t.x===+t.x&&t.y===+t.y},v=function(t,e){var r=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=[[]];return t.forEach((function(t){h(t)?e[e.length-1].push(t):e[e.length-1].length>0&&e.push([])})),h(t[0])&&e[e.length-1].push(t[0]),e[e.length-1].length<=0&&(e=e.slice(0,-1)),e}(t);e&&(r=[r.reduce((function(t,e){return[].concat(d(t),d(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},b=function(t){var e=t.points,r=t.className,n=t.baseLinePoints,i=t.connectNulls,a=function(t,e){if(null==t)return{};var r,n,o=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 i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,f);if(!e||!e.length)return null;var l=(0,c.A)("recharts-polygon",r);if(n&&n.length){var u=a.stroke&&"none"!==a.stroke,d=function(t,e,r){var n=v(t,r);return"".concat("Z"===n.slice(-1)?n.slice(0,-1):n,"L").concat(v(e.reverse(),r).slice(1))}(e,n,i);return o().createElement("g",{className:l},o().createElement("path",p({},(0,s.J9)(a,!0),{fill:"Z"===d.slice(-1)?a.fill:"none",stroke:"none",d})),u?o().createElement("path",p({},(0,s.J9)(a,!0),{fill:"none",d:v(e,i)})):null,u?o().createElement("path",p({},(0,s.J9)(a,!0),{fill:"none",d:v(n,i)})):null)}var y=v(e,i);return o().createElement("path",p({},(0,s.J9)(a,!0),{fill:"Z"===y.slice(-1)?a.fill:"none",className:l,d:y}))},m=r(81174),g=r(98940),O=r(14040);function x(t){return x="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},x(t)}function w(){return w=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},w.apply(this,arguments)}function j(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 P(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?j(Object(r),!0).forEach((function(e){T(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function S(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,I(n.key),n)}}function A(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(A=function(){return!!t})()}function E(t){return E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},E(t)}function k(t,e){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},k(t,e)}function T(t,e,r){return(e=I(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function I(t){var e=function(t){if("object"!=x(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=x(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==x(e)?e:e+""}var M=Math.PI/180,C=1e-5,D=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,n=arguments,r=E(r=e),function(t,e){if(e&&("object"===x(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,A()?Reflect.construct(r,n||[],E(t).constructor):r.apply(t,n));var t,r,n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&k(t,e)}(e,t),r=e,i=[{key:"renderTickItem",value:function(t,e,r){return o().isValidElement(t)?o().cloneElement(t,e):a()(t)?t(e):o().createElement(m.E,w({},e,{className:"recharts-polar-angle-axis-tick-value"}),r)}}],(n=[{key:"getTickLineCoord",value:function(t){var e=this.props,r=e.cx,n=e.cy,o=e.radius,i=e.orientation,a=e.tickSize||8,c=(0,O.IZ)(r,n,o,t.coordinate),l=(0,O.IZ)(r,n,o+("inner"===i?-1:1)*a,t.coordinate);return{x1:c.x,y1:c.y,x2:l.x,y2:l.y}}},{key:"getTickTextAnchor",value:function(t){var e=this.props.orientation,r=Math.cos(-t.coordinate*M);return r>C?"outer"===e?"start":"end":r<-C?"outer"===e?"end":"start":"middle"}},{key:"renderAxisLine",value:function(){var t=this.props,e=t.cx,r=t.cy,n=t.radius,i=t.axisLine,a=t.axisLineType,c=P(P({},(0,s.J9)(this.props,!1)),{},{fill:"none"},(0,s.J9)(i,!1));if("circle"===a)return o().createElement(u.c,w({className:"recharts-polar-angle-axis-line"},c,{cx:e,cy:r,r:n}));var l=this.props.ticks.map((function(t){return(0,O.IZ)(e,r,n,t.coordinate)}));return o().createElement(b,w({className:"recharts-polar-angle-axis-line"},c,{points:l}))}},{key:"renderTicks",value:function(){var t=this,r=this.props,n=r.ticks,i=r.tick,a=r.tickLine,u=r.tickFormatter,f=r.stroke,p=(0,s.J9)(this.props,!1),d=(0,s.J9)(i,!1),y=P(P({},p),{},{fill:"none"},(0,s.J9)(a,!1)),h=n.map((function(r,n){var s=t.getTickLineCoord(r),h=P(P(P({textAnchor:t.getTickTextAnchor(r)},p),{},{stroke:"none",fill:f},d),{},{index:n,payload:r,x:s.x2,y:s.y2});return o().createElement(l.W,w({className:(0,c.A)("recharts-polar-angle-axis-tick",(0,O.Zk)(i)),key:"tick-".concat(r.coordinate)},(0,g.XC)(t.props,r,n)),a&&o().createElement("line",w({className:"recharts-polar-angle-axis-tick-line"},y,s)),i&&e.renderTickItem(i,h,u?u(r.value,n):r.value))}));return o().createElement(l.W,{className:"recharts-polar-angle-axis-ticks"},h)}},{key:"render",value:function(){var t=this.props,e=t.ticks,r=t.radius,n=t.axisLine;return r<=0||!e||!e.length?null:o().createElement(l.W,{className:(0,c.A)("recharts-polar-angle-axis",this.props.className)},n&&this.renderAxisLine(),this.renderTicks())}}])&&S(r.prototype,n),i&&S(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(n.PureComponent);T(D,"displayName","PolarAngleAxis"),T(D,"axisType","angleAxis"),T(D,"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})},98940:(t,e,r)=>{r.d(e,{QQ:()=>c,VU:()=>u,XC:()=>p,_U:()=>f,j2:()=>s});var n=r(51609),o=r(23805),i=r.n(o);function a(t){return a="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},a(t)}var c=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],l=["points","pathLength"],u={svg:["viewBox","children"],polygon:l,polyline:l},s=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],f=function(t,e){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var r=t;if((0,n.isValidElement)(t)&&(r=t.props),!i()(r))return null;var o={};return Object.keys(r).forEach((function(t){s.includes(t)&&(o[t]=e||function(e){return r[t](r,e)})})),o},p=function(t,e,r){if(!i()(t)||"object"!==a(t))return null;var n=null;return Object.keys(t).forEach((function(o){var i=t[o];s.includes(o)&&"function"==typeof i&&(n||(n={}),n[o]=function(t,e,r){return function(n){return t(e,r,n),null}}(i,e,r))})),n}}}]);