PageSourceSearch

https://mos.meddicc.com/_next/static/chunks/3005-c2d80d88507a85d8.js

js meddicc.com collected 2026-10-03 23:45:06 UTC 378,435 bytes, 1 lines download raw bytes

1try{let t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="8d22dbb7-e915-4491-bc52-688ac141b443",t._sentryDebugIdIdentifier="sentry-dbid-8d22dbb7-e915-4491-bc52-688ac141b443")}catch(t){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3005],{2592:(t,e,r)=>{"use strict";function n(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function i(t,e){switch(arguments.length){case 0:break;case 1:"function"==typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"==typeof e?this.interpolator(e):this.range(e)}return this}r.d(e,{C:()=>n,K:()=>i})},3838:(t,e,r)=>{"use strict";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})(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 o(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 i,o,a;i=t,o=e,a=r[e],(o=function(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!==n(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===n(e)?e:String(e)}(o))in i?Object.defineProperty(i,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):i[o]=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}r.d(e,{IZ:()=>c,Kg:()=>a,yy:()=>f}),r(19809);var a=Math.PI/180,c=function(t,e,r,n){return{x:t+Math.cos(-a*n)*r,y:e+Math.sin(-a*n)*r}},u=function(t,e){var r=t.x,n=t.y;
1return Math.sqrt(Math.pow(r-e.x,2)+Math.pow(n-e.y,2))},s=function(t,e){var r=t.x,n=t.y,i=e.cx,o=e.cy,a=u({x:r,y:n},{x:i,y:o});if(a<=0)return{radius:a};var c=Math.acos((r-i)/a);return n>o&&(c=2*Math.PI-c),{radius:a,angle:180*c/Math.PI,angleInRadian:c}},l=function(t){var e=t.startAngle,r=t.endAngle,n=Math.min(Math.floor(e/360),Math.floor(r/360));return{startAngle:e-360*n,endAngle:r-360*n}},f=function(t,e){var r,n=s({x:t.x,y:t.y},e),i=n.radius,a=n.angle,c=e.innerRadius,u=e.outerRadius;if(i<c||i>u)return!1;if(0===i)return!0;var f=l(e),p=f.startAngle,h=f.endAngle,d=a;if(p<=h){for(;d>h;)d-=360;for(;d<p;)d+=360;r=d>=p&&d<=h}else{for(;d>p;)d-=360;for(;d<h;)d+=360;r=d>=h&&d<=p}return r?o(o({},e),{},{radius:i,angle:d+360*Math.min(Math.floor(e.startAngle/360),Math.floor(e.endAngle/360))}):null}},4153:(t,e,r)=>{"use strict";t.exports=r(6837)},4857:(t,e,r)=>{"use strict";r.d(e,{m:()=>U});var n=r(19809),i=r.n(n),o=r(19850),a=r.n(o),c=r(25702),u=r.n(c),s=r(14232),l=r(92987),f=r(58103),p=r.n(f),h=r(5323),d=r.n(h),y=r(93007),v=r.n(y),m=r(11540);function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function b(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function x(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?x(Object(r),!0).forEach(function(e){S(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function w(t,e){return(w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function S(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,e){if("object"!==g(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==g(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===g(e)?e:String(e)}function j(t){return v()(t)&&(0,m.vh)(t[0])&&(0,m.vh)(t[1])?t.join(" ~ "):t}var A=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&w(o,t);var e,r,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,r=E(o);return t=e?Reflect.construct(r,arguments,E(this).constructor):r.apply(this,arguments),function(t,e){if(e&&("object"===g(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,t)});function o(){if(!(this instanceof o))throw TypeError("Cannot call a class as a function");return n.apply(this,arguments)}return r=[{key:"renderContent",value:function(){var t=this.props,e=t.payload,r=t.separator,n=t.formatter,i=t.itemStyle,o=t.itemSorter;if(e&&e.length){var a=(o?d()(e,o):e).map(function(t,o){if("none"===t.type)return null;var a=O({display:"block",paddingTop:4,paddingBottom:4,color:t.color||"#000"},i),c=t.formatter||n||j,u=t.value,l=t.name;if(c&&null!=u&&null!=l){var f=c(u,l,t,o,e);if(Array.isArray(f)){var p=function(t){if(Array.isArray(t))return t}(f)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],u=!0,s=!1;try{o=(r=r.call(t)).next,!1;for(;
1!(u=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,i=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw i}}return c}}(f,2)||function(t,e){if(t){if("string"==typeof t)return b(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return b(t,e)}}(f,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();u=p[0],l=p[1]}else u=f}return s.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(o),style:a},(0,m.vh)(l)?s.createElement("span",{className:"recharts-tooltip-item-name"},l):null,(0,m.vh)(l)?s.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,s.createElement("span",{className:"recharts-tooltip-item-value"},u),s.createElement("span",{className:"recharts-tooltip-item-unit"},t.unit||""))});return s.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},a)}return null}},{key:"render",value:function(){var t=this.props,e=t.wrapperClassName,r=t.contentStyle,n=t.labelClassName,o=t.labelStyle,a=t.label,c=t.labelFormatter,u=t.payload,l=O({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},r),f=O({margin:0},o),h=!i()(a),d=h?a:"",y=p()("recharts-default-tooltip",e),v=p()("recharts-tooltip-label",n);return h&&c&&null!=u&&(d=c(a,u)),s.createElement("div",{className:y,style:l},s.createElement("p",{className:v,style:f},s.isValidElement(d)?d:"".concat(d)),this.renderContent())}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,_(n.key),n)}}(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),o}(s.PureComponent);S(A,"displayName","DefaultTooltipContent"),S(A,"defaultProps",{separator:" : ",contentStyle:{},itemStyle:{},labelStyle:{}});var P=r(69428);function k(t){return(k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function M(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function T(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?M(Object(r),!0).forEach(function(e){N(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 C(t,e){return(C=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function I(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function D(t){return(D=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function N(t,e,r){return(e=R(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function R(t){var e=function(t,e){if("object"!==k(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==k(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===k(e)?e:String(e)}var L="recharts-tooltip-wrapper";function B(t){return t.dataKey}var U=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&C(o,t);var e,r,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,r=D(o);return t=e?Reflect.construct(r,arguments,D(this).constructor):r.apply(this,arguments),function(t,e){if(e&&("object"===k(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return I(t)}(this,t)});function o(){var t;if(!(this instanceof o))throw TypeError("Cannot call a class as a function");for(var e=arguments.length,r=Array(e),i=0;i<e;i++)r[i]=arguments[i];return N(I(t=n.call.apply(n,[this].concat(r))),"state",{boxWidth:-1,boxHeight:-1,dismissed:!1,dismissedAtCoordinate:{x:0,y:0}}),N(I(t),"getTranslate",function(e){var r=e.key,n=e.tooltipDimension,i=e.viewBoxDimension,o=t.props,a=o.allowEscapeViewBox,c=o.reverseDirection,u=o.coordinate,
1s=o.offset,l=o.position,f=o.viewBox;if(l&&(0,m.Et)(l[r]))return l[r];var p=u[r]-n-s,h=u[r]+s;return a[r]?c[r]?p:h:c[r]?p<f[r]?Math.max(h,f[r]):Math.max(p,f[r]):h+n>f[r]+i?Math.max(p,f[r]):Math.max(h,f[r])}),t}return r=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"updateBBox",value:function(){var t=this.state,e=t.boxWidth,r=t.boxHeight;if(t.dismissed?(this.wrapperNode.blur(),(this.props.coordinate.x!==this.state.dismissedAtCoordinate.x||this.props.coordinate.y!==this.state.dismissedAtCoordinate.y)&&this.setState({dismissed:!1})):this.wrapperNode.focus({preventScroll:!0}),this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var n=this.wrapperNode.getBoundingClientRect();(Math.abs(n.width-e)>1||Math.abs(n.height-r)>1)&&this.setState({boxWidth:n.width,boxHeight:n.height})}else(-1!==e||-1!==r)&&this.setState({boxWidth:-1,boxHeight:-1})}},{key:"render",value:function(){var t,e,r,n,o,c,f=this,h=this.props,d=h.payload,y=h.isAnimationActive,v=h.animationDuration,g=h.animationEasing,b=h.filterNull,x=(t=h.payloadUniqBy,e=b&&d&&d.length?d.filter(function(t){return!i()(t.value)}):d,!0===t?u()(e,B):a()(t)?u()(e,t):e),O=x&&x.length,w=this.props,E=w.content,S=w.viewBox,_=w.coordinate,j=w.position,P=w.active,k=w.wrapperStyle,M=T({pointerEvents:"none",visibility:!this.state.dismissed&&P&&O?"visible":"hidden",position:"absolute",top:0,left:0},k);if(j&&(0,m.Et)(j.x)&&(0,m.Et)(j.y))n=j.x,o=j.y;else{var C=this.state,I=C.boxWidth,D=C.boxHeight;I>0&&D>0&&_?(n=this.getTranslate({key:"x",tooltipDimension:I,viewBoxDimension:S.width}),o=this.getTranslate({key:"y",tooltipDimension:D,viewBoxDimension:S.height})):M.visibility="hidden"}M=T(T({},(0,l.g6)({transform:this.props.useTranslate3d?"translate3d(".concat(n,"px, ").concat(o,"px, 0)"):"translate(".concat(n,"px, ").concat(o,"px)")})),M),y&&P&&(M=T(T({},(0,l.g6)({transition:"transform ".concat(v,"ms ").concat(g)})),M));var R=p()(L,(N(c={},"".concat(L,"-right"),(0,m.Et)(n)&&_&&(0,m.Et)(_.x)&&n>=_.x),N(c,"".concat(L,"-left"),(0,m.Et)(n)&&_&&(0,m.Et)(_.x)&&n<_.x),N(c,"".concat(L,"-bottom"),(0,m.Et)(o)&&_&&(0,m.Et)(_.y)&&o>=_.y),N(c,"".concat(L,"-top"),(0,m.Et)(o)&&_&&(0,m.Et)(_.y)&&o<_.y),c));return s.createElement("div",{tabIndex:-1,role:"dialog",onKeyDown:function(t){"Escape"===t.key&&f.setState({dismissed:!0,dismissedAtCoordinate:T(T({},f.state.dismissedAtCoordinate),{},{x:f.props.coordinate.x,y:f.props.coordinate.y})})},className:R,style:M,ref:function(t){f.wrapperNode=t}},(r=T(T({},this.props),{},{payload:x}),s.isValidElement(E)?s.cloneElement(E,r):a()(E)?s.createElement(E,r):s.createElement(A,r)))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,R(n.key),n)}}(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),o}(s.PureComponent);N(U,"displayName","Tooltip"),N(U,"defaultProps",{active:!1,allowEscapeViewBox:{x:!1,y:!1},reverseDirection:{x:!1,y:!1},offset:10,viewBox:{x1:0,x2:0,y1:0,y2:0},coordinate:{x:0,y:0},cursorStyle:{},separator:" : ",wrapperStyle:{},contentStyle:{},itemStyle:{},labelStyle:{},cursor:!0,trigger:"hover",isAnimationActive:!P.m.isSsr,animationEasing:"ease",animationDuration:400,filterNull:!0,useTranslate3d:!1})},4917:(t,e,r)=>{var n=r(98825),i=r(1602),o=r(52782),a=Math.max,c=Math.min;t.exports=function(t,e,r){var u,s,l,f,p,h,d=0,y=!1,v=!1,m=!0;if("function"!=typeof t)throw TypeError("Expected a function");function g(e){var r=u,n=s;return u=s=void 0,d=e,f=t.apply(n,r)}function b(t){var r=t-h,n=t-d;return void 0===h||r>=e||r<0||v&&n>=l}function x(){var t,r,n,o=i();if(b(o))return O(o);p=setTimeout(x,(t=o-h,r=o-d,n=e-t,v?c(n,l-r):n))}function O(t){return(p=void 0,m&&u)?g(t):(u=s=void 0,f)}function w(){var t,r=i(),n=b(r);if(u=arguments,s=this,h=r,n){if(void 0===p)return d=t=h,p=setTimeout(x,e),y?g(t):f;if(v)return clearTimeout(p),p=setTimeout(x,e),g(h)}return void 0===p&&(p=setTimeout(x,e)),f}return e=o(e)||0,n(r)&&(y=!!r.leading,l=(v="maxWait"in r)?a(o(r.maxWait)||0,e):l,m="trailing"in r?!!r.trailing:m),w.cancel=function(){void 0!==p&&clearTimeout(p),d=0,u=h=s=p=void 0},w.flush=function(){return void 0===p?f:O(i())},w}},5473:(t,e,r)=>{"use strict";r.d(e,{A:()=>
1o});var n=r(36739),i=r(89365);function o(t){(0,i.A)(1,arguments);var e=(0,n.A)(t),r=e.getFullYear();return e.setFullYear(r+1,0,0),e.setHours(23,59,59,999),e}},5896:(t,e)=>{"use strict";e.__esModule=!0,e.default=function(t,e){return t.classList?!!e&&t.classList.contains(e):-1!==(" "+(t.className.baseVal||t.className)+" ").indexOf(" "+e+" ")},t.exports=e.default},6178:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(89944),i=r(87252),o=r(89365);function a(t,e){(0,o.A)(2,arguments);var r=(0,n.A)(e);return(0,i.A)(t,3*r)}},6837:(t,e)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,s=r?Symbol.for("react.context"):60110,l=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,d=(r&&Symbol.for("react.suspense_list"),r?Symbol.for("react.memo"):60115),y=r?Symbol.for("react.lazy"):60116;function v(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case n:switch(t=t.type){case l:case f:case o:case c:case a:case h:return t;default:switch(t=t&&t.$$typeof){case s:case p:case y:case d:case u:return t;default:return e}}case i:return e}}}r&&Symbol.for("react.block"),r&&Symbol.for("react.fundamental"),r&&Symbol.for("react.responder"),r&&Symbol.for("react.scope");e.isFragment=function(t){return v(t)===o}},7222:(t,e,r)=>{"use strict";e.__esModule=!0,e.getChildMapping=i,e.mergeChildMappings=o,e.getInitialChildMapping=function(t,e){return i(t.children,function(r){return(0,n.cloneElement)(r,{onExited:e.bind(null,r),in:!0,appear:a(r,"appear",t),enter:a(r,"enter",t),exit:a(r,"exit",t)})})},e.getNextChildMapping=function(t,e,r){var c=i(t.children),u=o(e,c);return Object.keys(u).forEach(function(i){var o=u[i];if((0,n.isValidElement)(o)){var s=i in e,l=i in c,f=e[i],p=(0,n.isValidElement)(f)&&!f.props.in;l&&(!s||p)?u[i]=(0,n.cloneElement)(o,{onExited:r.bind(null,o),in:!0,exit:a(o,"exit",t),enter:a(o,"enter",t)}):l||!s||p?l&&s&&(0,n.isValidElement)(f)&&(u[i]=(0,n.cloneElement)(o,{onExited:r.bind(null,o),in:f.props.in,exit:a(o,"exit",t),enter:a(o,"enter",t)})):u[i]=(0,n.cloneElement)(o,{in:!1})}}),u};var n=r(14232);function i(t,e){var r=Object.create(null);return t&&n.Children.map(t,function(t){return t}).forEach(function(t){r[t.key]=e&&(0,n.isValidElement)(t)?e(t):t}),r}function o(t,e){function r(r){return r in e?e[r]:t[r]}t=t||{},e=e||{};var n,i=Object.create(null),o=[];for(var a in t)a in e?o.length&&(i[a]=o,o=[]):o.push(a);var c={};for(var u in e){if(i[u])for(n=0;n<i[u].length;n++){var s=i[u][n];c[i[u][n]]=r(s)}c[u]=r(u)}for(n=0;n<o.length;n++)c[o[n]]=r(o[n]);return c}function a(t,e,r){return null!=r[e]?r[e]:t.props[e]}},7235:(t,e,r)=>{"use strict";function n(){var t=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=t&&this.setState(t)}function i(t){this.setState((function(e){var r=this.constructor.getDerivedStateFromProps(t,e);return null!=r?r:null}).bind(this))}function o(t,e){try{var r=this.props,n=this.state;this.props=t,this.state=e,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(r,n)}finally{this.props=r,this.state=n}}function a(t){var e=t.prototype;if(!e||!e.isReactComponent)throw Error("Can only polyfill class components");if("function"!=typeof t.getDerivedStateFromProps&&"function"!=typeof e.getSnapshotBeforeUpdate)return t;var r=null,a=null,c=null;if("function"==typeof e.componentWillMount?r="componentWillMount":"function"==typeof e.UNSAFE_componentWillMount&&(r="UNSAFE_componentWillMount"),"function"==typeof e.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof e.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof e.componentWillUpdate?c="componentWillUpdate":"function"==typeof e.UNSAFE_componentWillUpdate&&(c="UNSAFE_componentWillUpdate"),null!==r||null!==a||null!==c)throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+(t.displayName||t.name)+" uses "+("function"==typeof t.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()")+" but also contains the following legacy lifecycles:"+(null!==r?"\n  "+r:"")+(null!==a?"\n  "+a:"")+(null!==c?"\n  "+c:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks");if("function"==typeof t.getDerivedStateFromProps&&(e.componentWillMount=n,e.componentWillReceiveProps=i),"function"==typeof e.getSnapshotBeforeUpdate){if("function"!=typeof e.componentDidUpdate)throw Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");e.componentWillUpdate=o;var u=e.componentDidUpdate;e.componentDidUpdate=function(t,e,r){var n=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:r;u.call(this,t,e,n)}}return t}r.r(e),r.d(e,{polyfill:()=>a}),n.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0},8150:(t,e,r)=>{"use strict";r.d(e,{u:()=>s});var n=r(14232),i=r(74524),o=r(62639),a=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function c(){return(c=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function s(t){var e=t.offset,r=t.layout,s=t.width,l=t.dataKey,f=t.data,p=t.dataPointFormatter,h=t.xAxis,d=t.yAxis,y=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,a),v=(0,o.J9)(y),m=f.map(function(t,o){var a,f,y=p(t,l),m=y.x,g=y.y,b=y.value,x=y.errorVal;if(!x)return null;var O=[];if(Array.isArray(x)){var w=function(t){if(Array.isArray(t))return t}(x)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],u=!0,s=!1;try{o=(r=r.call(t)).next,!1;for(;!(u=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,i=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw i}}return c}}(x,2)||function(t,e){if(t){if("string"==typeof t)return u(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(t,e)}}(x,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();a=w[0],f=w[1]}else a=f=x;if("vertical"===r){var E=h.scale,S=g+e,_=S+s,j=S-s,A=E(b-a),P=E(b+f);O.push({x1:P,y1:_,x2:P,y2:j}),O.push({x1:A,y1:S,x2:P,y2:S}),O.push({x1:A,y1:_,x2:A,y2:j})}else if("horizontal"===r){var k=d.scale,M=m+e,T=M-s,C=M+s,I=k(b-a),D=k(b+f);O.push({x1:T,y1:D,x2:C,y2:D}),O.push({x1:M,y1:I,x2:M,y2:D}),O.push({x1:T,y1:I,x2:C,y2:I})}return n.createElement(i.W,c({className:"recharts-errorBar",key:"bar-".concat(o)},v),O.map(function(t,e){return n.createElement("line",c({},t,{key:"line-".concat(e)}))}))});return n.createElement(i.W,{className:"recharts-errorBars"},m)}s.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"},s.displayName="ErrorBar"},11540:(t,e,r)=>{"use strict";r.d(e,{CG:()=>O,Dj:()=>w,Et:()=>y,F4:()=>b,NF:()=>g,_3:()=>d,eP:()=>E,lX:()=>x,sA:()=>h,vh:()=>v});var n=r(7766),i=r.n(n),o=r(93007),a=r.n(o),c=r(20527),u=r.n(c),s=r(89387),l=r.n(s),f=r(36827),p=r.n(f),h=function(t){return 0===t?0:t>0?1:-1},d=function(t){return p()(t)&&t.indexOf("%")===t.length-1},y=function(t){return l()(t)&&!u()(t)},v=function(t){return y(t)||p()(t)},m=0,g=function(t){var e=++m;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(!y(t)&&!p()(t))return n;if(d(t)){var o=t.indexOf("%");r=e*parseFloat(t.slice(0,o))/100}else r=+t;return u()(r)&&(r=n),i&&r>e&&(r=e),r},x=function(t){if(!t)return null;var e=Object.keys(t);return e&&e.length?t[e[0]]:null},O=function(t){if(!a()(t))return!1;for(var e=t.length,r={},n=0;n<e;n++)if(r[t[n]])return!0;else r[t[n]]=!0;return!1},w=function(t,e){return y(t)&&y(e)?function(r){return t+r*(e-t)}:function(){return e}};function E(t,e,r){return t&&t.length?t.find(function(t){return t&&("function"==typeof e?e(t):i()(t,e))===r}):null}},12656:(t,e,r)=>{"use strict";r.d(e,{QQ:()=>c,VU:()=>s,XC:()=>p,_U:()=>f,j2:()=>l});var n=r(98825),i=r.n(n),o=r(14232);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})(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","colorRen
1dering","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"],u=["points","pathLength"],s={svg:["viewBox","children"],polygon:u,polyline:u},l=["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","onDrag
1Capture","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,o.isValidElement)(t)&&(r=t.props),!i()(r))return null;var n={};return Object.keys(r).forEach(function(t){l.includes(t)&&(n[t]=e||function(e){return r[t](r,e)})}),n},p=function(t,e,r){if(!i()(t)||"object"!==a(t))return null;var n=null;return Object.keys(t).forEach(function(i){var o=t[i];l.includes(i)&&"function"==typeof o&&(n||(n={}),n[i]=function(t){return o(e,r,t),null})}),n}},14998:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(36739),i=r(89365);function o(t){(0,i.A)(1,arguments);var e=(0,n.A)(t),r=e.getMonth();return e.setMonth(r-r%3+3,0),e.setHours(23,59,59,999),e}},15105:(t,e,r)=>{"use strict";var n=r(71983);e.__esModule=!0,e.default=function(t,e){t.classList?t.classList.add(e):(0,i.default)(t,e)||("string"==typeof t.className?t.className=t.className+" "+e:t.setAttribute("class",(t.className&&t.className.baseVal||"")+" "+e))};var i=n(r(5896));t.exports=e.default},16876:(t,e,r)=>{"use strict";r.d(e,{i:()=>u});let n=Math.PI,i=2*n,o=i-1e-6;function a(t){this._+=t[0];for(let e=1,r=t.length;e<r;++e)this._+=arguments[e]+t[e]}class c{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?a:function(t){let e=Math.floor(t);if(!(e>=0))throw Error(`invalid digits: ${t}`);if(e>15)return a;let r=10**e;return function(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=Math.round(arguments[e]*r)/r+t[e]}}(t)}moveTo(t,e){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,e){this._append`L${this._x1=+t},${this._y1=+e}`}quadraticCurveTo(t,e,r,n){this._append`Q${+t},${+e},${this._x1=+r},${this._y1=+n}`}bezierCurveTo(t,e,r,n,i,o){this._append`C${+t},${+e},${+r},${+n},${this._x1=+i},${this._y1=+o}`}arcTo(t,e,r,i,o){if(t*=1,e*=1,r*=1,i*=1,(o*=1)<0)throw Error(`negative radius: ${o}`);let a=this._x1,c=this._y1,u=r-t,s=i-e,l=a-t,f=c-e,p=l*l+f*f;if(null===this._x1)this._append`M${this._x1=t},${this._y1=e}`;else if(p>1e-6)if(Math.abs(f*u-s*l)>1e-6&&o){let h=r-a,d=i-c,y=u*u+s*s,v=Math.sqrt(y),m=Math.sqrt(p),g=o*Math.tan((n-Math.acos((y+p-(h*h+d*d))/(2*v*m)))/2),b=g/m,x=g/v;Math.abs(b-1)>1e-6&&this._append`L${t+b*l},${e+b*f}`,this._append`A${o},${o},0,0,${+(f*h>l*d)},${this._x1=t+x*u},${this._y1=e+x*s}`}else this._append`L${this._x1=t},${this._y1=e}`}arc(t,e,r,a,c,u){if(t*=1,e*=1,r*=1,u=!!u,r<0)throw Error(`negative radius: ${r}`);let s=r*Math.cos(a),l=r*Math.sin(a),f=t+s,p=e+l,h=1^u,d=u?a-c:c-a;null===this._x1?this._append`M${f},${p}`:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-p)>1e-6)&&this._append`L${f},${p}`,r&&(d<0&&(d=d%i+i),d>o?this._append`A${r},${r},0,1,${h},${t-s},${e-l}A${r},${r},0,1,${h},${this._x1=f},${this._y1=p}`:d>1e-6&&this._append`A${r},${r},0,${+(d>=n)},${h},${this._x1=t+r*Math.cos(c)},${this._y1=e+r*Math.sin(c)}`)}rect(t,e,r,n){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${r*=1}v${+n}h${-r}Z`}toString(){return this._}}function u(t){let e=3;return t.digits=function(r){if(!arguments.length)return e;if(null==r)e=null;else{let t=Math.floor(r);if(!(t>=0))throw RangeError(`invalid digits: ${r}`);e=t}return t},()=>new c(e)}c.prototype},17518:(t,e,r)=>{var n=r(89950),i=r(28654);t.exports=function(t){return!0===t||!1===t||i(t)&&"[object Boolean]"==n(t)}},19498:(t,e,r)=>{"use strict";
1Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,r){var a=function t(e,r){switch(e.type){case"MathExpression":var a=e.left,c=e.right,u=e.operator,s="";return"MathExpression"===a.type&&i[u]<i[a.operator]?s+="("+t(a,r)+")":s+=t(a,r),s+=" "+e.operator+" ","MathExpression"===c.type&&i[u]<i[c.operator]?s+="("+t(c,r)+")":("MathExpression"===c.type&&"-"===u&&["+","-"].includes(c.operator)&&(c.operator=(0,n.flip)(c.operator)),s+=t(c,r)),s;case"Value":return o(e.value,r);case"CssVariable":if(e.fallback)return"var("+e.value+", "+t(e.fallback,r,!0)+")";return"var("+e.value+")";case"Calc":if(e.prefix)return"-"+e.prefix+"-calc("+t(e.value,r)+")";return"calc("+t(e.value,r)+")";default:return o(e.value,r)+e.unit}}(e,r);return"MathExpression"===e.type&&(a=t+"("+a+")"),a};var n=r(46368),i={"*":0,"/":0,"+":1,"-":1};function o(t,e){if(!1!==e){var r=Math.pow(10,e);return Math.round(t*r)/r}return t}t.exports=e.default},19809:t=>{t.exports=function(t){return null==t}},20426:(t,e,r)=>{"use strict";r.d(e,{Q:()=>eU});var n=r(34293),i=r.n(n),o=r(65013),a=r.n(o),c=r(19850),u=r.n(c),s=r(80782),l=r.n(s),f=r(5323),p=r.n(f),h=r(7766),d=r.n(h),y=r(63415),v=r.n(y),m=r(19809),g=r.n(m),b=r(17518),x=r.n(b),O=r(93007),w=r.n(O),E=r(14232),S=r(58103),_=r.n(S),j=r(11540),A=r(58626),P=r(69428);function k(t,e,r){if(e<1)return[];if(1===e&&void 0===r)return t;for(var n=[],i=0;i<t.length;i+=e)if(void 0!==r&&!0!==r(t[i]))return;else n.push(t[i]);return n}function 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})(t)}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 C(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,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!==M(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==M(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===M(e)?e:String(e)}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function I(t,e){var r,n,i=t.ticks,o=t.tickFormatter,a=t.viewBox,c=t.orientation,s=t.minTickGap,l=t.unit,f=t.fontSize,p=t.letterSpacing,h=a.x,d=a.y,y=a.width,v=a.height,m="top"===c||"bottom"===c?"width":"height",g=(i||[]).slice(),b=l&&"width"===m?(0,A.Pu)(l,{fontSize:f,letterSpacing:p})[m]:0,x=g.length,O=x>=2?(0,j.sA)(g[1].coordinate-g[0].coordinate):1;if(1===O?(r="width"===m?h:d,n="width"===m?h+y:d+v):(r="width"===m?h+y:d+v,n="width"===m?h:d),e){var w=i[x-1],E=u()(o)?o(w.value,x-1):w.value,S=(0,A.Pu)(E,{fontSize:f,letterSpacing:p})[m]+b,_=O*(w.coordinate+O*S/2-n);g[x-1]=w=C(C({},w),{},{tickCoord:_>0?w.coordinate-_*O:w.coordinate}),O*(w.tickCoord-O*S/2-r)>=0&&O*(w.tickCoord+O*S/2-n)<=0&&(n=w.tickCoord-O*(S/2+s),g[x-1]=C(C({},w),{},{isShow:!0}))}for(var P=e?x-1:x,k=0;k<P;k++){var M=g[k],T=u()(o)?o(M.value,k):M.value,I=(0,A.Pu)(T,{fontSize:f,letterSpacing:p})[m]+b;if(0===k){var D=O*(M.coordinate-O*I/2-r);g[k]=M=C(C({},M),{},{tickCoord:D<0?M.coordinate-D*O:M.coordinate})}else g[k]=M=C(C({},M),{},{tickCoord:M.coordinate});O*(M.tickCoord-O*I/2-r)>=0&&O*(M.tickCoord+O*I/2-n)<=0&&(r=M.tickCoord+O*(I/2+s),g[k]=C(C({},M),{},{isShow:!0}))}return g}function D(t,e,r){var n=t.tick,i=t.ticks,o=t.viewBox,a=t.minTickGap,c=t.orientation,s=t.interval,l=t.tickFormatter,f=t.unit;if(!i||!i.length||!n)return[];if((0,j.Et)(s)||P.m.isSsr)return k(i,("number"==typeof s&&(0,j.Et)(s)?s:0)+1);if("equidistantPreserveStart"===s){for(var p=I({ticks:i,tickFormatter:l,viewBox:o,orientation:c,minTickGap:a,unit:f,fontSize:e,letterSpacing:r}),h=1,d=k(p,1,function(t){return t.isShow});h<=p.length;){if(void 0!==d)return d;d=k(p,++h,function(t){return t.isShow})}return p.slice(0,1)}return("preserveStart"===s||"preserveStartEnd"===s?I({ticks:i,tickFormatter:l,viewBox:o,orientation:c,minTickGap:a,unit:f,fontSize:e,letterSpacing:r},"preserveStartEnd"===s):function(t){var e,r,n=t.ticks,i=t.tickFormatter,o=t.viewBox,a=t.orientation,c=t.minTickGap,s=t.unit,l=t.fontSize,f=t.letterSpacing,p=o.x,h=o.y,d=o.width,y=o.height,v="top"===a||"bottom"===a?"width":"height",m=s&&"width"===v?(0,A.Pu)(s,{fontSize:l,letterSpacing:f})[v]:0,g=(n||[]).slice(),b=g.length,x=b>=2?(0,j.sA)(g[1].coordinate-g[0].coordinate):1;1===x?(e="width"===v?p:h,r="width"===v?p+d:h+y):(e="width"===v?p+d:h+y,r="width"===v?p:h);for(var O=b-1;O>=0;O--){var w=g[O],E=u()(i)?i(w.value,b-O-1):w.value,S=(0,A.Pu)(E,{fontSize:l,letterSpacing:f})[v]+m;if(O===b-1){var _=x*(w.coordinate+x*S/2-r);g[O]=w=C(C({},w),{},{tickCoord:_>0?w.coordinate-_*x:w.coordinate})}else g[O]=w=C(C({},w),{},{tickCoord:w.coordinate});x*(w.tickCoord-x*S/2-e)>=0&&x*(w.tickCoord+x*S/2-r)<=0&&(r=w.tickCoord-x*(S/2+c),g[O]=C(C({},w),{},{isShow:!0}
1))}return g}({ticks:i,tickFormatter:l,viewBox:o,orientation:c,minTickGap:a,unit:f,fontSize:e,letterSpacing:r})).filter(function(t){return t.isShow})}var N=r(21581),R=r(74524),L=r(4857),B=r(34014),U=r(81939),F=r(62639);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})(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}).apply(this,arguments)}function V(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,q(n.key),n)}}function H(t,e){return(H=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function $(t){return($=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function q(t){var e=function(t,e){if("object"!==z(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==z(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===z(e)?e:String(e)}var G=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&H(o,t);var e,r,n,i=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,r=$(o);return t=e?Reflect.construct(r,arguments,$(this).constructor):r.apply(this,arguments),function(t,e){if(e&&("object"===z(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,t)});function o(){if(!(this instanceof o))throw TypeError("Cannot call a class as a function");return i.apply(this,arguments)}return r=[{key:"render",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,i=t.height,a=t.top,c=t.left,u=t.className;return(0,j.Et)(e)&&(0,j.Et)(r)&&(0,j.Et)(n)&&(0,j.Et)(i)&&(0,j.Et)(a)&&(0,j.Et)(c)?E.createElement("path",W({},(0,F.J9)(this.props,!0),{className:_()("recharts-cross",u),d:o.getPath(e,r,n,i,a,c)})):null}}],n=[{key:"getPath",value:function(t,e,r,n,i,o){return"M".concat(t,",").concat(i,"v").concat(n,"M").concat(o,",").concat(e,"h").concat(r)}}],r&&V(o.prototype,r),n&&V(o,n),Object.defineProperty(o,"prototype",{writable:!1}),o}(E.PureComponent);!function(t,e,r){(e=q(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r}(G,"defaultProps",{x:0,y:0,top:0,left:0,width:0,height:0});var X=r(3838);function J(t){return(J="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Y(){return(Y=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function K(t,e){return(K=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function Z(t){return(Z=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Q(t){var e=function(t,e){if("object"!==J(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==J(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"===J(e)?e:String(e)}var tt=function(t){var e=t.cx,r=t.cy,n=t.radius,i=t.angle,o=t.sign,a=t.isExternal,c=t.cornerRadius,u=t.cornerIsExternal,s=c*(a?1:-1)+n,l=Math.asin(c/s)/X.Kg,f=u?i:i+o*l;return{center:(0,X.IZ)(e,r,s,f),circleTangency:(0,X.IZ)(e,r,n,f),lineTangency:(0,X.IZ)(e,r,s*Math.cos(l*X.Kg),u?i-o*l:i),theta:l}},te=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,i=t.outerRadius,o=t.startAngle,a=t.endAngle,c=(0,j.sA)(a-o)*Math.min(Math.abs(a-o),359.999),u=o+c,s=(0,X.IZ)(e,r,i,o),l=(0,X.IZ)(e,r,i,u),f="M ".concat(s.x,",").concat(s.y,"\n    A ").concat(i,",").concat(i,",0,\n    ").concat(+(Math.abs(c)>180),",").concat(+(o>u),",\n    ").concat(l.x,",").concat(l.y,"\n  ");if(n>0){var p=(0,X.IZ)(e,r,n,o),h=(0,X.IZ)(e,r,n,u);f+="L ".concat(h.x,",").concat(h.y,"\n            A ").concat(n,",").concat(n,",0,\n            ").concat(+(Math.abs(c)>180),",").concat(+(o<=u),",\n            ").concat(p.x,",").concat(p.y," Z")}else f+="L ".concat(e,",").concat(r," Z");return f},tr=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,i=t.outerRadius,o=t.cornerRadius,a=t.forceCornerRadius,c=t.cornerIsExternal,u=t.startAngle,s=t.endAngle,l=(0,j.sA)(s-u),f=tt({cx:e,cy:r,radius:i,angle:u,sign:l,cornerRadius:o,cornerIsExternal:c}),p=f.circleTangency,h=f.lineTangency,d=f.theta,y=tt({cx:e,cy:r,radius:i,angle:s,sign:-l,cornerRadius:o,cornerIsExternal:c}),v=y.circleTangency,m=y.lineTangency,g=y.theta,b=c?Math.abs(u-s):Math.abs(u-s)-d-g;if(b<0)return a?"M ".concat(h.x,",").concat(h.y,"\n        a").concat(o,",").concat(o,",0,0,1,").concat(2*o,",0\n        a").concat(o,",").concat(o,",0,0,1,").concat(-(2*o),",0\n      "):te({cx:e,cy:r,innerRadius:n,outerRadius:i,startAngle:u,endAngle:s});var x="M ".concat(h.x,",").concat(h.y,"\n    A").concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(p.x,",").concat(p.y,"\n    A").concat(i,",").concat(i,",0,").concat(+(b>180),",").concat(+(l<0),",").concat(v.x,",").concat(v.y,"\n    A").concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(m.x,",").concat(m.y,"\n  ");if(n>0){var O=tt({cx:e,cy:r,radius:n,angle:u,sign:l,isExternal:!0,cornerRadius:o,cornerIsExternal:c}),w=O.circleTangency,E=O.lineTangency,S=O.theta,_=tt({cx:e,cy:r,radius:n,angle:s,sign:-l,isExternal:!0,cornerRadius:o,cornerIsExternal:c}),A=_.circleTangency,P=_.lineTangency,k=_.theta,M=c?Math.abs(u-s):Math.abs(u-s)-S-k;if(M<0&&0===o)return"".concat(x,"L").concat(e,",").concat(r,"Z");x+="L".concat(P.x,",").concat(P.y,"\n      A").concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(A.x,",").concat(A.y,"\n      A").concat(n,",").concat(n,",0,").concat(+(M>180),",").concat(+(l>0),",").concat(w.x,",").concat(w.y,"\n      A").concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(E.x,",").concat(E.y,"Z")}else x+="L".concat(e,",").concat(r,"Z");return x},tn=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),t&&K(i,t);var e,r,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,r=Z(i);return t=e?Reflect.construct(r,arguments,Z(this).constructor):r.apply(this,arguments),function(t,e){if(e&&("object"===J(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,t)});function i(){if(!(this instanceof i))throw TypeError("Cannot call a class as a function");return n.apply(this,arguments)}return r=[{key:"render",value:function(){var t,e=this.props,r=e.cx,n=e.cy,i=e.innerRadius,o=e.outerRadius,a=e.cornerRadius,c=e.forceCornerRadius,u=e.cornerIsExternal,s=e.startAngle,l=e.endAngle,f=e.className;if(o<i||s===l)return null;var p=_()("recharts-sector",f),h=o-i,d=(0,j.F4)(a,h,0,!0);return t=d>0&&360>Math.abs(s-l)?tr({cx:r,cy:n,innerRadius:i,outerRadius:o,cornerRadius:Math.min(d,h/2),forceCornerRadius:c,cornerIsExternal:u,startAngle:s,endAngle:l}):te({cx:r,cy:n,innerRadius:i,outerRadius:o,startAngle:s,endAngle:l}),E.createElement("path",Y({},(0,F.J9)(this.props,!0),{className:p,d:t,role:"img"}))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Q(n.key),n)}}(i.prototype,r),Object.defineProperty(i,"prototype",{writable:!1}),i}(E.PureComponent);!function(t,e,r){(e=Q(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r}(tn,"defaultProps",{cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1});var ti=r(55695),to=r(83337),ta=r(38255),tc=r(55993),tu=r(40040),ts=r(12656),tl=["viewBox"],tf=["viewBox"],tp=["ticks"];function th(t){return(th="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function td(){return(td=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function ty(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 tv(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ty(Object(r),!0).forEach(function(e){tO(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ty(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tm(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function tg(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,tw(n.key),n)}}function tb(t,e){return(tb=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tx(t){return(tx=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tO(t,e,r){return(e=tw(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tw(t){var e=function(t,e){if("object"!==th(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==th(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===th(e)?e:String(e)}var tE=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&tb(o,t);var e,r,n,i=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,r=tx(o);return t=e?Reflect.construct(r,arguments,tx(this).constructor):r.apply(this,arguments),function(t,e){if(e&&("object"===th(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,t)});function o(t){var e;if(!(this instanceof o))throw TypeError("Cannot call a class as a function");return(e=i.call(this,t)).state={fontSize:"",letterSpacing:""},e}return r=[{key:"shouldComponentUpdate",value:function(t,e){var r=t.viewBox,n=tm(t,tl),i=this.props,o=i.viewBox,a=tm(i,tf);return!(0,ta.b)(r,o)||!(0,ta.b)(n,a)||!(0,ta.b)(e,this.state)}},{key:"componentDidMount",value:function(){var t=this.layerReference;if(t){var e=t.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];e&&this.setState({fontSize:window.getComputedStyle(e).fontSize,letterSpacing:window.getComputedStyle(e).letterSpacing})}}},{key:"getTickLineCoord",value:function(t){var e,r,n,i,o,a,c=this.props,u=c.x,s=c.y,l=c.width,f=c.height,p=c.orientation,h=c.tickSize,d=c.mirror,y=c.tickMargin,v=d?-1:1,m=t.tickSize||h,g=(0,j.Et)(t.tickCoord)?t.tickCoord:t.coordinate;switch(p){case"top":e=r=t.coordinate,a=(n=(i=s+!d*f)-v*m)-v*y,o=g;break;case"left":n=i=t.coordinate,o=(e=(r=u+!d*l)-v*m)-v*y,a=g;break;case"right":n=i=t.coordinate,o=(e=(r=u+d*l)+v*m)+v*y,a=g;break;default:e=r=t.coordinate,a=(n=(i=s+d*f)+v*m)+v*y,o=g}return{line:{x1:e,y1:n,x2:r,y2:i},tick:{x:o,y:a}}}},{key:"getTickTextAnchor",value:function(){var t,e=this.props,r=e.orientation,n=e.mirror;switch(r){case"left":t=n?"start":"end";break;case"right":t=n?"end":"start";break;default:t="middle"}return t}},{key:"getTickVerticalAnchor",value:function(){var t=this.props,e=t.orientation,r=t.mirror,n="end";switch(e){case"left":case"right":n="middle";break;case"top":n=r?"start":"end";break;default:n=r?"end":"start"}return n}},{key:"renderAxisLine",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,i=t.height,o=t.orientation,a=t.mirror,c=t.axisLine,u=tv(tv(tv({},(0,F.J9)(this.props)),(0,F.J9)(c)),{},{fill:"none"});if("top"===o||"bottom"===o){var s=+("top"===o&&!a||"bottom"===o&&a);u=tv(tv({},u),{},{x1:e,y1:r+s*i,x2:e+n,y2:r+s*i})}else{var l=+("left"===o&&!a||"right"===o&&a);u=tv(tv({},u),{},{x1:e+l*n,y1:r,x2:e+l*n,y2:r+i})}return E.createElement("line",td({},u,{className:_()("recharts-cartesian-axis-line",d()(c,"className"))}))}},{key:"renderTicks",value:function(t,e,r){var n=this,i=this.props,a=i.tickLine,c=i.stroke,s=i.tick,l=i.tickFormatter,f=i.unit,p=D(tv(tv({},this.props),{},{ticks:t}),e,r),h=this.getTickTextAnchor(),y=this.getTickVerticalAnchor(),v=(0,F.J9)(this.props),m=(0,F.J9)(s),g=tv(tv({},v),{},{fill:"none"}
1,(0,F.J9)(a)),b=p.map(function(t,e){var r=n.getTickLineCoord(t),i=r.line,b=r.tick,x=tv(tv(tv(tv({textAnchor:h,verticalAnchor:y},v),{},{stroke:"none",fill:c},m),b),{},{index:e,payload:t,visibleTicksCount:p.length,tickFormatter:l});return E.createElement(R.W,td({className:"recharts-cartesian-axis-tick",key:"tick-".concat(e)},(0,ts.XC)(n.props,t,e)),a&&E.createElement("line",td({},g,i,{className:_()("recharts-cartesian-axis-tick-line",d()(a,"className"))})),s&&o.renderTickItem(s,x,"".concat(u()(l)?l(t.value,e):t.value).concat(f||"")))});return E.createElement("g",{className:"recharts-cartesian-axis-ticks"},b)}},{key:"render",value:function(){var t=this,e=this.props,r=e.axisLine,n=e.width,i=e.height,o=e.ticksGenerator,a=e.className;if(e.hide)return null;var c=this.props,s=c.ticks,l=tm(c,tp),f=s;return(u()(o)&&(f=o(s&&s.length>0?this.props:l)),n<=0||i<=0||!f||!f.length)?null:E.createElement(R.W,{className:_()("recharts-cartesian-axis",a),ref:function(e){t.layerReference=e}},r&&this.renderAxisLine(),this.renderTicks(f,this.state.fontSize,this.state.letterSpacing),tu.J.renderCallByParent(this.props))}}],n=[{key:"renderTickItem",value:function(t,e,r){return E.isValidElement(t)?E.cloneElement(t,e):u()(t)?t(e):E.createElement(tc.E,td({},e,{className:"recharts-cartesian-axis-tick-value"}),r)}}],r&&tg(o.prototype,r),n&&tg(o,n),Object.defineProperty(o,"prototype",{writable:!1}),o}(E.Component);tO(tE,"displayName","CartesianAxis"),tO(tE,"defaultProps",{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"});var tS=r(21641),t_=r(34563);function tj(t){return(tj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tA(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 tP(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tA(Object(r),!0).forEach(function(e){tk(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tA(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tk(t,e,r){var n;return(n=function(t,e){if("object"!==tj(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==tj(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"===tj(n)?n:String(n))in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var tM=["Webkit","Moz","O","ms"],tT=function(t,e){if(!t)return null;var r=t.replace(/(\w)/,function(t){return t.toUpperCase()}),n=tM.reduce(function(t,n){return tP(tP({},t),{},tk({},n+r,e))},{});return n[t]=e,n};function tC(t){return(tC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tI(){return(tI=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function tD(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 tN(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tD(Object(r),!0).forEach(function(e){tF(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tD(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tR(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,tz(n.key),n)}}
1function tL(t,e){return(tL=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tB(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tU(t){return(tU=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tF(t,e,r){return(e=tz(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tz(t){var e=function(t,e){if("object"!==tC(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==tC(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===tC(e)?e:String(e)}var tW=function(t){var e=t.data,r=t.startIndex,n=t.endIndex,i=t.x,o=t.width,a=t.travellerWidth;if(!e||!e.length)return{};var c=e.length,u=(0,tS.z)().domain(v()(0,c)).range([i,i+o-a]),s=u.domain().map(function(t){return u(t)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,startX:u(r),endX:u(n),scale:u,scaleValues:s}},tV=function(t){return t.changedTouches&&!!t.changedTouches.length},tH=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&tL(o,t);var e,r,n,i=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,r=tU(o);return t=e?Reflect.construct(r,arguments,tU(this).constructor):r.apply(this,arguments),function(t,e){if(e&&("object"===tC(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return tB(t)}(this,t)});function o(t){var e;if(!(this instanceof o))throw TypeError("Cannot call a class as a function");return tF(tB(e=i.call(this,t)),"handleDrag",function(t){e.leaveTimer&&(clearTimeout(e.leaveTimer),e.leaveTimer=null),e.state.isTravellerMoving?e.handleTravellerMove(t):e.state.isSlideMoving&&e.handleSlideDrag(t)}),tF(tB(e),"handleTouchMove",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleDrag(t.changedTouches[0])}),tF(tB(e),"handleDragEnd",function(){e.setState({isTravellerMoving:!1,isSlideMoving:!1}),e.detachDragEndListener()}),tF(tB(e),"handleLeaveWrapper",function(){(e.state.isTravellerMoving||e.state.isSlideMoving)&&(e.leaveTimer=window.setTimeout(e.handleDragEnd,e.props.leaveTimeOut))}),tF(tB(e),"handleEnterSlideOrTraveller",function(){e.setState({isTextActive:!0})}),tF(tB(e),"handleLeaveSlideOrTraveller",function(){e.setState({isTextActive:!1})}),tF(tB(e),"handleSlideDragStart",function(t){var r=tV(t)?t.changedTouches[0]:t;e.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:r.pageX}),e.attachDragEndListener()}),e.travellerDragStartHandlers={startX:e.handleTravellerDragStart.bind(tB(e),"startX"),endX:e.handleTravellerDragStart.bind(tB(e),"endX")},e.state={},e}return r=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(t){var e=t.startX,r=t.endX,n=this.state.scaleValues,i=this.props,a=i.gap,c=i.data.length-1,u=Math.min(e,r),s=Math.max(e,r),l=o.getIndexInRange(n,u),f=o.getIndexInRange(n,s);return{startIndex:l-l%a,endIndex:f===c?c:f-f%a}}},{key:"getTextOfTick",value:function(t){var e=this.props,r=e.data,n=e.tickFormatter,i=e.dataKey,o=(0,t_.kr)(r[t],i,t);return u()(n)?n(o,t):o}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(t){var e=this.state,r=e.slideMoveStartX,n=e.startX,i=e.endX,o=this.props,a=o.x,c=o.width,u=o.travellerWidth,s=o.startIndex,l=o.endIndex,f=o.onChange,p=t.pageX-r;p>0?p=Math.min(p,a+c-u-i,a+c-u-n):p<0&&(p=Math.max(p,a-n,a-i));var h=this.getIndex({startX:n+p,endX:i+p});(h.startIndex!==s||h.endIndex!==l)&&f&&f(h),this.setState({startX:n+p,endX:i+p,slideMoveStartX:t.pageX})}},{key:"handleTravellerDragStart",value:function(t,e){var r=tV(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,r=this.state,n=r.brushMoveStartX,i=r.movingTravellerId,o=r.endX,a=r.startX,c=this.state[i],u=this.props,s=u.x,l=u.width,f=u.travellerWidth,p=u.onCh
1ange,h=u.gap,d=u.data,y={startX:this.state.startX,endX:this.state.endX},v=t.pageX-n;v>0?v=Math.min(v,s+l-f-c):v<0&&(v=Math.max(v,s-c)),y[i]=c+v;var m=this.getIndex(y),g=m.startIndex,b=m.endIndex,x=function(){var t=d.length-1;return"startX"===i&&(o>a?g%h==0:b%h==0)||!!(o<a)&&b===t||"endX"===i&&(o>a?b%h==0:g%h==0)||!!(o>a)&&b===t};this.setState((tF(e={},i,c+v),tF(e,"brushMoveStartX",t.pageX),e),function(){p&&x()&&p(m)})}},{key:"renderBackground",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,i=t.height,o=t.fill,a=t.stroke;return E.createElement("rect",{stroke:a,fill:o,x:e,y:r,width:n,height:i})}},{key:"renderPanorama",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,i=t.height,o=t.data,a=t.children,c=t.padding,u=E.Children.only(a);return u?E.cloneElement(u,{x:e,y:r,width:n,height:i,margin:c,compact:!0,data:o}):null}},{key:"renderTravellerLayer",value:function(t,e){var r=this.props,n=r.y,i=r.travellerWidth,a=r.height,c=r.traveller,u=Math.max(t,this.props.x),s=tN(tN({},(0,F.J9)(this.props)),{},{x:u,y:n,width:i,height:a});return E.createElement(R.W,{className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[e],onTouchStart:this.travellerDragStartHandlers[e],style:{cursor:"col-resize"}},o.renderTraveller(c,s))}},{key:"renderSlide",value:function(t,e){var r=this.props,n=r.y,i=r.height,o=r.stroke,a=r.travellerWidth,c=Math.min(t,e)+a,u=Math.max(Math.abs(e-t)-a,0);return E.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:o,fillOpacity:.2,x:c,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,o=t.travellerWidth,a=t.stroke,c=this.state,u=c.startX,s=c.endX,l={pointerEvents:"none",fill:a};return E.createElement(R.W,{className:"recharts-brush-texts"},E.createElement(tc.E,tI({textAnchor:"end",verticalAnchor:"middle",x:Math.min(u,s)-5,y:n+i/2},l),this.getTextOfTick(e)),E.createElement(tc.E,tI({textAnchor:"start",verticalAnchor:"middle",x:Math.max(u,s)+o+5,y:n+i/2},l),this.getTextOfTick(r)))}},{key:"render",value:function(){var t=this.props,e=t.data,r=t.className,n=t.children,i=t.x,o=t.y,a=t.width,c=t.height,u=t.alwaysShowText,s=this.state,l=s.startX,f=s.endX,p=s.isTextActive,h=s.isSlideMoving,d=s.isTravellerMoving;if(!e||!e.length||!(0,j.Et)(i)||!(0,j.Et)(o)||!(0,j.Et)(a)||!(0,j.Et)(c)||a<=0||c<=0)return null;var y=_()("recharts-brush",r),v=1===E.Children.count(n),m=tT("userSelect","none");return E.createElement(R.W,{className:y,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:m},this.renderBackground(),v&&this.renderPanorama(),this.renderSlide(l,f),this.renderTravellerLayer(l,"startX"),this.renderTravellerLayer(f,"endX"),(p||h||d||u)&&this.renderText())}}],n=[{key:"renderDefaultTraveller",value:function(t){var e=t.x,r=t.y,n=t.width,i=t.height,o=t.stroke,a=Math.floor(r+i/2)-1;return E.createElement(E.Fragment,null,E.createElement("rect",{x:e,y:r,width:n,height:i,fill:o,stroke:"none"}),E.createElement("line",{x1:e+1,y1:a,x2:e+n-1,y2:a,fill:"none",stroke:"#fff"}),E.createElement("line",{x1:e+1,y1:a+2,x2:e+n-1,y2:a+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(t,e){return E.isValidElement(t)?E.cloneElement(t,e):u()(t)?t(e):o.renderDefaultTraveller(e)}},{key:"getDerivedStateFromProps",value:function(t,e){var r=t.data,n=t.width,i=t.x,o=t.travellerWidth,a=t.updateId,c=t.startIndex,u=t.endIndex;if(r!==e.prevData||a!==e.prevUpdateId)return tN({prevData:r,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:n},r&&r.length?tW({data:r,width:n,x:i,travellerWidth:o,startIndex:c,endIndex:u}):{scale:null,scaleValues:null});if(e.scale&&(n!==e.prevWidth||i!==e.prevX||o!==e.prevTravellerWidth)){e.scale.range([i,i+n-o]);var s=e.scale.domain().map(function(t){return e.scale(t)});return{prevData:r,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:n,startX:e.scale(t.startIndex),endX:e.scale(t.endIndex),scaleValues:s}}return null}},{key:"getIndexInRange",value:function(t,e){for(var r=t.length,n=0,i=r-1;i-n>1;){var o=Math.floor((n+i)/2);t[o]>e?i=o:n=o}return e>=t[i]?i:n}}],r&&tR(o.prototype,r),n&&tR(o,n),Object.defineProperty(o,"prototype",{writable:!1}),o}(E.PureComponent);tF(tH,"displayName","Brush"),tF(tH,"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 t$=r(33447),tq=r(65940),tG=r(42e3);function tX(t){return(tX="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tJ(){return(tJ=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function tY(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 tK(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tY(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!==tX(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==tX(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===tX(e)?e:String(e)}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tY(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var tZ=function(t){var e=t.x,r=t.y,n=t.xAxis,i=t.yAxis,o=(0,tq.P2)({x:n.scale,y:i.scale}),a=o.apply({x:e,y:r},{bandAware:!0});return(0,t$.R)(t,"discard")&&!o.isInRange(a)?null:a};function tQ(t){var e=t.x,r=t.y,n=t.r,i=t.alwaysShow,o=t.clipPathId,a=(0,j.vh)(e),c=(0,j.vh)(r);if((0,tG.R)(void 0===i,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!a||!c)return null;var u=tZ(t);if(!u)return null;var s=u.x,l=u.y,f=t.shape,p=t.className,h=tK(tK({clipPath:(0,t$.R)(t,"hidden")?"url(#".concat(o,")"):void 0},(0,F.J9)(t,!0)),{},{cx:s,cy:l});return E.createElement(R.W,{className:_()("recharts-reference-dot",p)},tQ.renderDot(f,h),tu.J.renderCallByParent(t,{x:s-n,y:l-n,width:2*n,height:2*n}))}tQ.displayName="ReferenceDot",tQ.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1},tQ.renderDot=function(t,e){return E.isValidElement(t)?E.cloneElement(t,e):u()(t)?t(e):E.createElement(ti.c,tJ({},e,{cx:e.cx,cy:e.cy,className:"recharts-reference-dot-dot"}))};var t0=r(49884);function t1(t){return(t1="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function t2(){return(t2=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function t3(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 t5(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?t3(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!==t1(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==t1(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===t1(e)?e:String(e)}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):t3(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var t4=function(t,e,r,n,i){var o=i.x1,a=i.x2,c=i.y1,u=i.y2,s=i.xAxis,l=i.yAxis;if(!s||!l)return null;var f=(0,tq.P2)({x:s.scale,y:l.scale}),p={x:t?f.x.apply(o,{position:"start"}):f.x.rangeMin,y:r?f.y.apply(c,{position:"start"}):f.y.rangeMin},h={x:e?f.x.apply(a,{position:"end"}):f.x.rangeMax,y:n?f.y.apply(u,{position:"end"}):f.y.rangeMax};return!(0,t$.R)(i,"discard")||f.isInRange(p)&&f.isInRange(h)?(0,tq.sl)(p,h):null};function t6(t){var e=t.x1,r=t.x2,n=t.y1,i=t.y2,o=t.className,a=t.alwaysShow,c=t.clipPathId;(0,tG.R)(void 0===a,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var u=(0,j.vh)(e),s=(0,j.vh)(r),l=(0,j.vh)(n),f=(0,j.vh)(i),p=t.shape;if(!u&&!s&&!l&&!f&&!p)return null;var h=t4(u,s,l,f,t);if(!h&&!p)return null;var d=(0,t$.R)(t,"hidden")?"url(#".concat(c,")"):void 0;return E.createElement(R.W,{className:_()("recharts-reference-area",o)},t6.renderRect(p,t5(t5({clipPath:d},(0,F.J9)(t,!0)),h)),tu.J.renderCallByParent(t,h))}function t9(t){return function(t){if(Array.isArray(t))return t8(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 t8(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t8(t,e)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t8(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}t6.displayName="ReferenceArea",t6.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1},t6.renderRect=function(t,e){return E.isValidElement(t)?E.cloneElement(t,e):u()(t)?t(e):E.createElement(to.M,t2({},e,{className:"recharts-reference-area-rect"}))};var t7=function(t,e,r,n,i){var o=(0,F.aS)(t,t0.e),a=(0,F.aS)(t,tQ),c=[].concat(t9(o),t9(a)),u=(0,F.aS)(t,t6),s="".concat(n,"Id"),l=n[0],f=e;if(c.length&&(f=c.reduce(function(t,e){if(e.props[s]===r&&(0,t$.R)(e.props,"extendDomain")&&(0,j.Et)(e.props[l])){var n=e.props[l];return[Math.min(t[0],n),Math.max(t[1],n)]}return t},f)),u.length){var p="".concat(l,"1"),h="".concat(l,"2");f=u.reduce(function(t,e){if(e.props[s]===r&&(0,t$.R)(e.props,"extendDomain")&&(0,j.Et)(e.props[p])&&(0,j.Et)(e.props[h])){var n=e.props[p],i=e.props[h];return[Math.min(t[0],n,i),Math.max(t[1],n,i)]}return t},f)}return i&&i.length&&(f=i.reduce(function(t,e){return(0,j.Et)(e)?[Math.min(t[0],e),Math.max(t[1],e)]:t},f)),f},et=r(35704),ee=new(r.n(et)());ee.setMaxListeners&&ee.setMaxListeners(10);var er="recharts.syncMouseEvents",en=["item"],ei=["children","className","width","height","style","compact","title","desc"];function eo(t){return(eo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ea(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],u=!0,s=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;
1!(u=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,i=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw i}}return c}}(t,e)||eh(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ec(){return(ec=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function eu(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function es(t,e){return(es=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function el(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ef(t){return(ef=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ep(t){return function(t){if(Array.isArray(t))return ed(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||eh(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function eh(t,e){if(t){if("string"==typeof t)return ed(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ed(t,e)}}function ed(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function ey(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function ev(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ey(Object(r),!0).forEach(function(e){em(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ey(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function em(t,e,r){return(e=eg(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function eg(t){var e=function(t,e){if("object"!==eo(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==eo(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===eo(e)?e:String(e)}var eb={xAxis:["bottom","top"],yAxis:["left","right"]},ex={x:0,y:0},eO=Number.isFinite?Number.isFinite:isFinite,ew="function"==typeof requestAnimationFrame?requestAnimationFrame:"function"==typeof setImmediate?setImmediate:setTimeout,eE="function"==typeof cancelAnimationFrame?cancelAnimationFrame:"function"==typeof clearImmediate?clearImmediate:clearTimeout,eS=function(t,e,r,n){var i=e.find(function(t){return t&&t.index===r});if(i){if("horizontal"===t)return{x:i.coordinate,y:n.y};if("vertical"===t)return{x:n.x,y:i.coordinate};if("centric"===t){var o=i.coordinate,a=n.radius;return ev(ev(ev({},n),(0,X.IZ)(n.cx,n.cy,a,o)),{},{angle:o,radius:a})}var c=i.coordinate,u=n.angle;return ev(ev(ev({},n),(0,X.IZ)(n.cx,n.cy,c,u)),{},{angle:u,radius:c})}return ex},e_=function(t,e,r){var n=e.graphicalItems,i=e.dataStartIndex,o=e.dataEndIndex,a=(n||[]).reduce(function(t,e){var r=e.props.data;return r&&r.length?[].concat(ep(t),ep(r)):t},[]);return a&&a.length>0?a:r&&r.props&&r.props.data&&r.props.data.length>0?r.props.data:t&&t.length&&(0,j.Et)(i)&&(0,j.Et)(o)?t.slice(i,o+1):[]};function ej(t){return"number"===t?[0,"auto"]:void 0}var eA=function(t,e,r,n){var i=t.graphicalItems,o=t.tooltipAxis,a=e_(e,t);return r<0||!i||!i.length||r>=a.length?null:i.reduce(function(t,e){if(e.props.hide)return t;var i,c=e.props.data;if(o.dataKey&&!o.allowDuplicatedCategory){var u=void 0===c?a:c;i=(0,j.eP)(u,o.dataKey,n)}else i=c&&c[r]||a[r];return i?[].concat(ep(t),[(0,t_.zb)(e,i)]):t},[])},eP=function(t,e,r,n){var i=n||{x:t.chartX,y:t.chartY},o="horizontal"===r?i.x:"vertical"===r?i.y:"centric"===r?i.angle:i.radius,a=t.orderedTooltipTicks,c=t.tooltipAxis,u=t.tooltipTicks,s=(0,t_.gH)(o,a,u,c);if(s>=0&&u){var l=u[s]&&u[s].value,f=eA(t,e,s,l),p=eS(r,a,s,i);return{activeTooltipIndex:s,activeLabel:l,activePayload:f,activeCoordinate:p}}return null},ek=function(t,e){var r=e.axes,n=e.graphicalItems,i=e.axisType,o=e.axisIdKey,a=e.stackGroups,c=e.dataStartIndex,u=e.dataEndIndex,s=t.layout,l=t.children,f=t.stackOffset,p=(0,t_._L)(s,i);return r.reduce(function(e,r){var h=r.props,d=h.type,y=h.dataKey,m=h.allowDataOverflow,b=h.allowDuplicatedCategory,x=h.scale,O=h.ticks,w=h.includeHidden,E=r.props[o];if(e[E])return e;var S=e_(t.data,{graphicalItems:n.filter(function(t){return t.props[o]===E}),dataStartIndex:c,dataEndIndex:u}),_=S.length;(function(t,e,r){if("number"===r&&!0===e&&Array.isArray(t)){var n=null==t?void 0:t[0],i=null==t?void 0:t[1];if(n&&i&&(0,j.Et)(n)&&(0,j.Et)(i))return!0}return!1})(r.props.domain,m,d)&&(k=(0,t_.AQ)(r.props.domain,null,m),p&&("number"===d||"auto"!==x)&&(T=(0,t_.Ay)(S,y,"category")));var A=ej(d);if(!k||0===k.length){var P,k,M,T,C,I=null!=(C=r.props.domain)?C:A;if(y){if(k=(0,t_.Ay)(S,y,d),"category"===d&&p){var D=(0,j.CG)(k);b&&D?(M=k,k=v()(0,_)):b||(k=(0,t_.KC)(I,k,r).reduce(function(t,e){return t.indexOf(e)>=0?t:[].concat(ep(t),[e])},[]))}else if("category"===d)k=b?k.filter(function(t){return""!==t&&!g()(t)}):(0,t_.KC)(I,k,r).reduce(function(t,e){return t.indexOf(e)>=0||""===e||g()(e)?t:[].concat(ep(t),[e])},[]);else if("number"===d){var N=(0,t_.A1)(S,n.filter(function(t){return t.props[o]===E&&(w||!t.props.hide)}),y,i,s);N&&(k=N)}p&&("number"===d||"auto"!==x)&&(T=(0,t_.Ay)(S,y,"category"))}else k=p?v()(0,_):a&&a[E]&&a[E].hasStack&&"number"===d?"expand"===f?[0,1]:(0,t_.Mk)(a[E].stackGroups,c,u):(0,t_.vf)(S,n.filter(function(t){return t.props[o]===E&&(w||!t.props.hide)}),d,s,!0);"number"===d?(k=t7(l,k,E,i,O),I&&(k=(0,t_.AQ)(I,k,m))):"category"===d&&I&&k.every(function(t){return I.indexOf(t)>=0})&&(k=I)}return ev(ev({},e),{},em({},E,ev(ev({},r.props),{},{axisType:i,domain:k,categoricalDomain:T,duplicateDomain:M,originalDomain:null!=(P=r.props.domain)?P:A,isCategorical:p,layout:s})))},{})},eM=function(t,e){var r=e.graphicalItems,n=e.Axis,i=e.axisType,o=e.axisIdKey,a=e.stackGroups,c=e.dataStartIndex,u=e.dataEndIndex,s=t.layout,l=t.children,f=e_(t.data,{graphicalItems:r,dataStartIndex:c,dataEndIndex:u}),p=f.length,h=(0,t_._L)(s,i),y=-1;return r.reduce(function(t,e){var m,g=e.props[o],b=ej("number");return t[g]?t:(y++,m=h?v()(0,p):a&&a[g]&&a[g].hasStack?t7(l,m=(0,t_.Mk)(a[g].stackGroups,c,u),g,i):t7(l,m=(0,t_.AQ)(b,(0,t_.vf)(f,r.filter(function(t){return t.props[o]===g&&!t.props.hide}
1),"number",s),n.defaultProps.allowDataOverflow),g,i),ev(ev({},t),{},em({},g,ev(ev({axisType:i},n.defaultProps),{},{hide:!0,orientation:d()(eb,"".concat(i,".").concat(y%2),null),domain:m,originalDomain:b,isCategorical:h,layout:s}))))},{})},eT=function(t,e){var r=e.axisType,n=void 0===r?"xAxis":r,i=e.AxisComp,o=e.graphicalItems,a=e.stackGroups,c=e.dataStartIndex,u=e.dataEndIndex,s=t.children,l="".concat(n,"Id"),f=(0,F.aS)(s,i),p={};return f&&f.length?p=ek(t,{axes:f,graphicalItems:o,axisType:n,axisIdKey:l,stackGroups:a,dataStartIndex:c,dataEndIndex:u}):o&&o.length&&(p=eM(t,{Axis:i,graphicalItems:o,axisType:n,axisIdKey:l,stackGroups:a,dataStartIndex:c,dataEndIndex:u})),p},eC=function(t){var e=(0,j.lX)(t),r=(0,t_.Rh)(e,!1,!0);return{tooltipTicks:r,orderedTooltipTicks:p()(r,function(t){return t.coordinate}),tooltipAxis:e,tooltipAxisBandSize:(0,t_.Hj)(e,r)}},eI=function(t){var e,r,n=t.children,i=t.defaultShowTooltip,o=(0,F.BU)(n,tH);return{chartX:0,chartY:0,dataStartIndex:o&&o.props&&o.props.startIndex||0,dataEndIndex:(null==o||null==(e=o.props)?void 0:e.endIndex)!==void 0?null==o||null==(r=o.props)?void 0:r.endIndex:t.data&&t.data.length-1||0,activeTooltipIndex:-1,isTooltipActive:!g()(i)&&i}},eD=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"}},eN=function(t,e){var r=t.props,n=t.graphicalItems,i=t.xAxisMap,o=void 0===i?{}:i,a=t.yAxisMap,c=void 0===a?{}:a,u=r.width,s=r.height,l=r.children,f=r.margin||{},p=(0,F.BU)(l,tH),h=(0,F.BU)(l,B.s),y=Object.keys(c).reduce(function(t,e){var r=c[e],n=r.orientation;return r.mirror||r.hide?t:ev(ev({},t),{},em({},n,t[n]+r.width))},{left:f.left||0,right:f.right||0}),v=Object.keys(o).reduce(function(t,e){var r=o[e],n=r.orientation;return r.mirror||r.hide?t:ev(ev({},t),{},em({},n,d()(t,"".concat(n))+r.height))},{top:f.top||0,bottom:f.bottom||0}),m=ev(ev({},v),y),g=m.bottom;return p&&(m.bottom+=p.props.height||tH.defaultProps.height),h&&e&&(m=(0,t_.s0)(m,n,r,e)),ev(ev({brushBottom:g},m),{},{width:u-m.left-m.right,height:s-m.top-m.bottom})},eR=r(27952),eL=r(38858),eB=r(60709),eU=function(t){var e,r=t.chartName,n=t.GraphicalChild,o=t.defaultTooltipEventType,c=void 0===o?"axis":o,s=t.validateTooltipEventTypes,f=void 0===s?["axis"]:s,p=t.axisComponents,h=t.legendContent,y=t.formatAxisMap,v=t.defaultProps,m=function(t,e){var r=e.graphicalItems,n=e.stackGroups,i=e.offset,o=e.updateId,a=e.dataStartIndex,c=e.dataEndIndex,u=t.barSize,s=t.layout,l=t.barGap,f=t.barCategoryGap,h=t.maxBarSize,d=eD(s),y=d.numericAxisName,v=d.cateAxisName,m=!!r&&!!r.length&&r.some(function(t){var e=(0,F.Mn)(t&&t.type);return e&&e.indexOf("Bar")>=0})&&(0,t_.tA)({barSize:u,stackGroups:n}),b=[];return r.forEach(function(r,u){var d,x=e_(t.data,{dataStartIndex:a,dataEndIndex:c},r),O=r.props,w=O.dataKey,E=O.maxBarSize,S=r.props["".concat(y,"Id")],_=r.props["".concat(v,"Id")],j=p.reduce(function(t,n){var i,o=e["".concat(n.axisType,"Map")],a=r.props["".concat(n.axisType,"Id")],c=o&&o[a];return ev(ev({},t),{},(em(i={},n.axisType,c),em(i,"".concat(n.axisType,"Ticks"),(0,t_.Rh)(c)),i))},{}),A=j[v],P=j["".concat(v,"Ticks")],k=n&&n[S]&&n[S].hasStack&&(0,t_.kA)(r,n[S].stackGroups),M=(0,F.Mn)(r.type).indexOf("Bar")>=0,T=(0,t_.Hj)(A,P),C=[];if(M){var I,D,N=g()(E)?h:E,R=null!=(I=null!=(D=(0,t_.Hj)(A,P,!0))?D:N)?I:0;C=(0,t_.BX)({barGap:l,barCategoryGap:f,bandSize:R!==T?R:T,sizeList:m[_],maxBarSize:N}),R!==T&&(C=C.map(function(t){return ev(ev({},t),{},{position:ev(ev({},t.position),{},{offset:t.position.offset-R/2})})}))}var L=r&&r.type&&r.type.getComposedData;L&&b.push({props:ev(ev({},L(ev(ev({},j),{},{displayedData:x,props:t,dataKey:w,item:r,bandSize:T,barPosition:C,offset:i,stackedData:k,layout:s,dataStartIndex:a,dataEndIndex:c}))),{},(em(d={key:r.key||"item-".concat(u)},y,j[y]),em(d,v,j[v]),em(d,"animationId",o),d)),childIndex:(0,F.AW)(r,t.children),item:r})}),b},b=function(t,e){var i=t.props,o=t.dataStartIndex,a=t.dataEndIndex,c=t.updateId;if(!(0,F.Me)({props:i}))return null;var u=i.children,s=i.layout,l=i.stackOffset,f=i.data,h=i.reverseStackOrder,d=eD(s),v=d.numericAxisName,g=d.cateAxisName,b=(0,F.aS)(u,n),x=(0,t_.Mn)(f,b,"".concat(v,"Id"),"".concat(g,"Id"),l,h),O=p.reduce(function(t,e){var r="".concat(e.axisType,"Map");return ev(ev({},t),{},em({},r,eT(i,ev(ev({},e),{},{graphicalItems:b,stackGroups:e.axisType===v&&x,dataStartIndex:o,dataEndIndex:a}))))},{}),w=eN(ev(ev({},O),{},{props:i,graphicalItems:b}),null==e?void 0:e.legendBBox);Object.keys(O).forEach(function(t){O[t]=y(i,O[t],w,t.replace("Map",""),r)});var E=eC(O["".concat(g,"Map")]),S=m(i,ev(ev({},O),{},{dataStartIndex:o,dataEndIndex:a,updateId:c,graphicalItems:b,stackGroups:x,offset:w}));return ev(ev({formattedGraphicalItems:S,graphicalItems:b,offset:w,stackGroups:x},E),O)};return e=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");s.prototype=Object.create(t&&t.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),Object.defineProperty(s,"prototype",{writable:!1}),t&&es(s,t);var e,n,o=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,r=ef(s);return t=e?Reflect.construct(r,arguments,ef(this).constructor):r.apply(this,arguments),function(t,e){if(e&&("object"===eo(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return el(t)}(this,t)});function s(t){var e;if(!(this instanceof s))throw TypeError("Cannot call a class as a function");return em(el(e=o.call(this,t)),"clearDeferId",function(){!g()(e.deferId)&&eE&&eE(e.deferId),e.deferId=null}),em(el(e),"handleLegendBBoxUpdate",function(t){if(t){var r=e.state,n=r.dataStartIndex,i=r.dataEndIndex,o=r.updateId;e.setState(ev({legendBBox:t},b({props:e.props,dataStartIndex:n,dataEndIndex:i,updateId:o},ev(ev({},e.state),{},{legendBBox:t}))))}}),em(el(e),"handleReceiveSyncEvent",function(t,r,n){e.props.syncId===t&&r!==e.uniqueChartId&&(e.clearDeferId(),e.deferId=ew&&ew(e.applySyncEvent.bind(el
1(e),n)))}),em(el(e),"handleBrushChange",function(t){var r=t.startIndex,n=t.endIndex;if(r!==e.state.dataStartIndex||n!==e.state.dataEndIndex){var i=e.state.updateId;e.setState(function(){return ev({dataStartIndex:r,dataEndIndex:n},b({props:e.props,dataStartIndex:r,dataEndIndex:n,updateId:i},e.state))}),e.triggerSyncEvent({dataStartIndex:r,dataEndIndex:n})}}),em(el(e),"handleMouseEnter",function(t){var r=e.props.onMouseEnter,n=e.getMouseInfo(t);if(n){var i=ev(ev({},n),{},{isTooltipActive:!0});e.setState(i),e.triggerSyncEvent(i),u()(r)&&r(i,t)}}),em(el(e),"triggeredAfterMouseMove",function(t){var r=e.props.onMouseMove,n=e.getMouseInfo(t),i=n?ev(ev({},n),{},{isTooltipActive:!0}):{isTooltipActive:!1};e.setState(i),e.triggerSyncEvent(i),u()(r)&&r(i,t)}),em(el(e),"handleItemMouseEnter",function(t){e.setState(function(){return{isTooltipActive:!0,activeItem:t,activePayload:t.tooltipPayload,activeCoordinate:t.tooltipPosition||{x:t.cx,y:t.cy}}})}),em(el(e),"handleItemMouseLeave",function(){e.setState(function(){return{isTooltipActive:!1}})}),em(el(e),"handleMouseMove",function(t){t&&u()(t.persist)&&t.persist(),e.triggeredAfterMouseMove(t)}),em(el(e),"handleMouseLeave",function(t){var r=e.props.onMouseLeave,n={isTooltipActive:!1};e.setState(n),e.triggerSyncEvent(n),u()(r)&&r(n,t),e.cancelThrottledTriggerAfterMouseMove()}),em(el(e),"handleOuterEvent",function(t){var r=(0,F.X_)(t),n=d()(e.props,"".concat(r));r&&u()(n)&&n(/.*touch.*/i.test(r)?e.getMouseInfo(t.changedTouches[0]):e.getMouseInfo(t),t)}),em(el(e),"handleClick",function(t){var r=e.props.onClick,n=e.getMouseInfo(t);if(n){var i=ev(ev({},n),{},{isTooltipActive:!0});e.setState(i),e.triggerSyncEvent(i),u()(r)&&r(i,t)}}),em(el(e),"handleMouseDown",function(t){var r=e.props.onMouseDown;u()(r)&&r(e.getMouseInfo(t),t)}),em(el(e),"handleMouseUp",function(t){var r=e.props.onMouseUp;u()(r)&&r(e.getMouseInfo(t),t)}),em(el(e),"handleTouchMove",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleMouseMove(t.changedTouches[0])}),em(el(e),"handleTouchStart",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleMouseDown(t.changedTouches[0])}),em(el(e),"handleTouchEnd",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleMouseUp(t.changedTouches[0])}),em(el(e),"verticalCoordinatesGenerator",function(t){var e=t.xAxis,r=t.width,n=t.height,i=t.offset;return(0,t_.PW)(D(ev(ev(ev({},tE.defaultProps),e),{},{ticks:(0,t_.Rh)(e,!0),viewBox:{x:0,y:0,width:r,height:n}})),i.left,i.left+i.width)}),em(el(e),"horizontalCoordinatesGenerator",function(t){var e=t.yAxis,r=t.width,n=t.height,i=t.offset;return(0,t_.PW)(D(ev(ev(ev({},tE.defaultProps),e),{},{ticks:(0,t_.Rh)(e,!0),viewBox:{x:0,y:0,width:r,height:n}})),i.top,i.top+i.height)}),em(el(e),"axesTicksGenerator",function(t){return(0,t_.Rh)(t,!0)}),em(el(e),"renderCursor",function(t){var n,i=e.state,o=i.isTooltipActive,a=i.activeCoordinate,c=i.activePayload,u=i.offset,s=i.activeTooltipIndex,l=e.getTooltipEventType();if(!t||!t.props.cursor||!o||!a||"ScatterChart"!==r&&"axis"!==l)return null;var f=e.props.layout,p=U.I;if("ScatterChart"===r)n=a,p=G;else if("BarChart"===r)n=e.getCursorRectangle(),p=to.M;else if("radial"===f){var h=e.getCursorPoints(),d=h.cx,y=h.cy,v=h.radius;n={cx:d,cy:y,startAngle:h.startAngle,endAngle:h.endAngle,innerRadius:v,outerRadius:v},p=tn}else n={points:e.getCursorPoints()},p=U.I;var m=t.key||"_recharts-cursor",g=ev(ev(ev(ev({stroke:"#ccc",pointerEvents:"none"},u),n),(0,F.J9)(t.props.cursor)),{},{payload:c,payloadIndex:s,key:m,className:"recharts-tooltip-cursor"});return(0,E.isValidElement)(t.props.cursor)?(0,E.cloneElement)(t.props.cursor,g):(0,E.createElement)(p,g)}),em(el(e),"renderPolarAxis",function(t,r,n){var i=d()(t,"type.axisType"),o=d()(e.state,"".concat(i,"Map")),a=o&&o[t.props["".concat(i,"Id")]];return(0,E.cloneElement)(t,ev(ev({},a),{},{className:i,key:t.key||"".concat(r,"-").concat(n),ticks:(0,t_.Rh)(a,!0)}))}),em(el(e),"renderXAxis",function(t,r,n){var i=e.state.xAxisMap[t.props.xAxisId];return e.renderAxis(i,t,r,n)}),em(el(e),"renderYAxis",function(t,r,n){var i=e.state.yAxisMap[t.props.yAxisId];return e.renderAxis(i,t,r,n)}),em(el(e),"renderGrid",function(t){var r=e.state,n=r.xAxisMap,o=r.yAxisMap,c=r.offset,u=e.props,s=u.width,l=u.height,f=(0,j.lX)(n),p=a()(o,function(t){return i()(t.domain,eO)})||(0,j.lX)(o),h=t.props||{};return(0,E.cloneElement)(t,{key:t.key||"grid",x:(0,j.Et)(h.x)?h.x:c.left,y:(0,j.Et)(h.y)?h.y:c.top,width:(0,j.Et)(h.width)?h.width:c.width,height:(0,j.Et)(h.height)?h.height:c.height,xAxis:f,yAxis:p,offset:c,chartWidth:s,chartHe
1ight:l,verticalCoordinatesGenerator:h.verticalCoordinatesGenerator||e.verticalCoordinatesGenerator,horizontalCoordinatesGenerator:h.horizontalCoordinatesGenerator||e.horizontalCoordinatesGenerator})}),em(el(e),"renderPolarGrid",function(t){var r=t.props,n=r.radialLines,i=r.polarAngles,o=r.polarRadius,a=e.state,c=a.radiusAxisMap,u=a.angleAxisMap,s=(0,j.lX)(c),l=(0,j.lX)(u),f=l.cx,p=l.cy,h=l.innerRadius,d=l.outerRadius;return(0,E.cloneElement)(t,{polarAngles:w()(i)?i:(0,t_.Rh)(l,!0).map(function(t){return t.coordinate}),polarRadius:w()(o)?o:(0,t_.Rh)(s,!0).map(function(t){return t.coordinate}),cx:f,cy:p,innerRadius:h,outerRadius:d,key:t.key||"polar-grid",radialLines:n})}),em(el(e),"renderLegend",function(){var t=e.state.formattedGraphicalItems,r=e.props,n=r.children,i=r.width,o=r.height,a=e.props.margin||{},c=i-(a.left||0)-(a.right||0),u=(0,t_.g1)({children:n,formattedGraphicalItems:t,legendWidth:c,legendContent:h});if(!u)return null;var s=u.item,l=eu(u,en);return(0,E.cloneElement)(s,ev(ev({},l),{},{chartWidth:i,chartHeight:o,margin:a,ref:function(t){e.legendInstance=t},onBBoxUpdate:e.handleLegendBBoxUpdate}))}),em(el(e),"renderTooltip",function(){var t=e.props.children,r=(0,F.BU)(t,L.m);if(!r)return null;var n=e.state,i=n.isTooltipActive,o=n.activeCoordinate,a=n.activePayload,c=n.activeLabel,u=n.offset;return(0,E.cloneElement)(r,{viewBox:ev(ev({},u),{},{x:u.left,y:u.top}),active:i,label:c,payload:i?a:[],coordinate:o})}),em(el(e),"renderBrush",function(t){var r=e.props,n=r.margin,i=r.data,o=e.state,a=o.offset,c=o.dataStartIndex,u=o.dataEndIndex,s=o.updateId;return(0,E.cloneElement)(t,{key:t.key||"_recharts-brush",onChange:(0,t_.HQ)(e.handleBrushChange,null,t.props.onChange),data:i,x:(0,j.Et)(t.props.x)?t.props.x:a.left,y:(0,j.Et)(t.props.y)?t.props.y:a.top+a.height+a.brushBottom-(n.bottom||0),width:(0,j.Et)(t.props.width)?t.props.width:a.width,startIndex:c,endIndex:u,updateId:"brush-".concat(s)})}),em(el(e),"renderReferenceElement",function(t,r,n){if(!t)return null;var i=el(e).clipPathId,o=e.state,a=o.xAxisMap,c=o.yAxisMap,u=o.offset,s=t.props,l=s.xAxisId,f=s.yAxisId;return(0,E.cloneElement)(t,{key:t.key||"".concat(r,"-").concat(n),xAxis:a[l],yAxis:c[f],viewBox:{x:u.left,y:u.top,width:u.width,height:u.height},clipPathId:i})}),em(el(e),"renderActivePoints",function(t){var e=t.item,r=t.activePoint,n=t.basePoint,i=t.childIndex,o=t.isRange,a=[],c=e.props.key,u=e.item.props,l=u.activeDot,f=ev(ev({index:i,dataKey:u.dataKey,cx:r.x,cy:r.y,r:4,fill:(0,t_.Ps)(e.item),strokeWidth:2,stroke:"#fff",payload:r.payload,value:r.value,key:"".concat(c,"-activePoint-").concat(i)},(0,F.J9)(l)),(0,ts._U)(l));return a.push(s.renderActiveDot(l,f)),n?a.push(s.renderActiveDot(l,ev(ev({},f),{},{cx:n.x,cy:n.y,key:"".concat(c,"-basePoint-").concat(i)}))):o&&a.push(null),a}),em(el(e),"renderGraphicChild",function(t,r,n){var i,o,a=e.filterFormatItem(t,r,n);if(!a)return null;var c=e.getTooltipEventType(),u=e.state,s=u.isTooltipActive,l=u.tooltipAxis,f=u.activeTooltipIndex,p=u.activeLabel,h=e.props.children,d=(0,F.BU)(h,L.m),y=a.props,v=y.points,m=y.isRange,b=y.baseLine,x=a.item.props,O=x.activeDot,w=!x.hide&&s&&d&&O&&f>=0,S={};"axis"!==c&&d&&"click"===d.props.trigger?S={onClick:(0,t_.HQ)(e.handleItemMouseEnter,null,t.props.onCLick)}:"axis"!==c&&(S={onMouseLeave:(0,t_.HQ)(e.handleItemMouseLeave,null,t.props.onMouseLeave),onMouseEnter:(0,t_.HQ)(e.handleItemMouseEnter,null,t.props.onMouseEnter)});var _=(0,E.cloneElement)(t,ev(ev({},a.props),S));if(w){if(l.dataKey&&!l.allowDuplicatedCategory){var A="function"==typeof l.dataKey?function(t){return"function"==typeof l.dataKey?l.dataKey(t.payload):null}:"payload.".concat(l.dataKey.toString());i=(0,j.eP)(v,A,p),o=m&&b&&(0,j.eP)(b,A,p)}else i=v[f],o=m&&b&&b[f];if(!g()(i))return[_].concat(ep(e.renderActivePoints({item:a,activePoint:i,basePoint:o,childIndex:f,isRange:m})))}return m?[_,null,null]:[_,null]}),em(el(e),"renderCustomized",function(t,r,n){return(0,E.cloneElement)(t,ev(ev({key:"recharts-customized-".concat(n)},e.props),e.state))}),e.uniqueChartId=g()(t.id)?(0,j.NF)("recharts"):t.id,e.clipPathId="".concat(e.uniqueChartId,"-clip"),t.throttleDelay&&(e.triggeredAfterMouseMove=l()(e.triggeredAfterMouseMove,t.throttleDelay)),e.state={},e}return n=[{key:"componentDidMount",value:function(){g()(this.props.syncId)||this.addListener()}},{key:"componentDidUpdate",value:function(t){g()(t.syncId)&&!g()(this.props.syncId)&&this.addListener(),!g()(t.syncId)&&g()(this.props.syncId)&&this.removeListener()}},{key:"componentWillUnmount",value:function(){this.clearDeferId(),g()(this.props.syncId)||this.removeListener(),this.cancelThrottledTriggerAfterMouseMove()}},{key:"cancelThrottledTriggerAfterMouseMove",value:function(){"function"==typeof this.triggeredAfterMouseMove.cancel&&this.triggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var t=(0,F.BU)(this.props.children,L.m);if(t&&x()(t.props.shared)){var e=t.props.shared?"axis":"item";return f.indexOf(e)>=0?e:c}return c}},{key:"getMouseInfo",value:function(t){if(!this.container)return null;var e=(0,A.A3)(this.container),r=(0,A.Xk)(t,e),n=this.inRange(r.chartX,r.chartY);if(!n)return null;var i=this.state,o=i.xAxisMap,a=i.yAxisMap;if("axis"!==this.getTooltipEventType()&&o&&a){var c=(0,j.lX)(o).scale,u=(0,j.lX)(a).scale,s=c&&c.invert?c.invert(r.chartX):null,l=u&&u.invert?u.
1invert(r.chartY):null;return ev(ev({},r),{},{xValue:s,yValue:l})}var f=eP(this.state,this.props.data,this.props.layout,n);return f?ev(ev({},r),f):null}},{key:"getCursorRectangle",value:function(){var t=this.props.layout,e=this.state,r=e.activeCoordinate,n=e.offset,i=e.tooltipAxisBandSize,o=i/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===t?r.x-o:n.left+.5,y:"horizontal"===t?n.top+.5:r.y-o,width:"horizontal"===t?i:n.width-1,height:"horizontal"===t?n.height-1:i}}},{key:"getCursorPoints",value:function(){var t,e,r,n,i=this.props.layout,o=this.state,a=o.activeCoordinate,c=o.offset;if("horizontal"===i)r=t=a.x,e=c.top,n=c.top+c.height;else if("vertical"===i)n=e=a.y,t=c.left,r=c.left+c.width;else if(!g()(a.cx)||!g()(a.cy))if("centric"===i){var u=a.cx,s=a.cy,l=a.innerRadius,f=a.outerRadius,p=a.angle,h=(0,X.IZ)(u,s,l,p),d=(0,X.IZ)(u,s,f,p);t=h.x,e=h.y,r=d.x,n=d.y}else{var y=a.cx,v=a.cy,m=a.radius,b=a.startAngle,x=a.endAngle;return{points:[(0,X.IZ)(y,v,m,b),(0,X.IZ)(y,v,m,x)],cx:y,cy:v,radius:m,startAngle:b,endAngle:x}}return[{x:t,y:e},{x:r,y:n}]}},{key:"inRange",value:function(t,e){var r=this.props.layout;if("horizontal"===r||"vertical"===r){var n=this.state.offset;return t>=n.left&&t<=n.left+n.width&&e>=n.top&&e<=n.top+n.height?{x:t,y:e}:null}var i=this.state,o=i.angleAxisMap,a=i.radiusAxisMap;if(o&&a){var c=(0,j.lX)(o);return(0,X.yy)({x:t,y:e},c)}return null}},{key:"parseEventsOfWrapper",value:function(){var t=this.props.children,e=this.getTooltipEventType(),r=(0,F.BU)(t,L.m),n={};return r&&"axis"===e&&(n="click"===r.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}),ev(ev({},(0,ts._U)(this.props,this.handleOuterEvent)),n)}},{key:"addListener",value:function(){ee.on(er,this.handleReceiveSyncEvent),ee.setMaxListeners&&ee._maxListeners&&ee.setMaxListeners(ee._maxListeners+1)}},{key:"removeListener",value:function(){ee.removeListener(er,this.handleReceiveSyncEvent),ee.setMaxListeners&&ee._maxListeners&&ee.setMaxListeners(ee._maxListeners-1)}},{key:"triggerSyncEvent",value:function(t){var e=this.props.syncId;g()(e)||ee.emit(er,e,this.uniqueChartId,t)}},{key:"applySyncEvent",value:function(t){var e=this.props,r=e.layout,n=e.syncMethod,i=this.state.updateId,o=t.dataStartIndex,a=t.dataEndIndex;if(g()(t.dataStartIndex)&&g()(t.dataEndIndex))if(g()(t.activeTooltipIndex))this.setState(t);else{var c=t.chartX,u=t.chartY,s=t.activeTooltipIndex,l=this.state,f=l.offset,p=l.tooltipTicks;if(!f)return;if("function"==typeof n)s=n(p,t);else if("value"===n){s=-1;for(var h=0;h<p.length;h++)if(p[h].value===t.activeLabel){s=h;break}}var d=ev(ev({},f),{},{x:f.left,y:f.top}),y=Math.min(c,d.x+d.width),v=Math.min(u,d.y+d.height),m=p[s]&&p[s].value,x=eA(this.state,this.props.data,s),O=p[s]?{x:"horizontal"===r?p[s].coordinate:y,y:"horizontal"===r?v:p[s].coordinate}:ex;this.setState(ev(ev({},t),{},{activeLabel:m,activeCoordinate:O,activePayload:x,activeTooltipIndex:s}))}else this.setState(ev({dataStartIndex:o,dataEndIndex:a},b({props:this.props,dataStartIndex:o,dataEndIndex:a,updateId:i},this.state)))}},{key:"filterFormatItem",value:function(t,e,r){for(var n=this.state.formattedGraphicalItems,i=0,o=n.length;i<o;i++){var a=n[i];if(a.item===t||a.props.key===t.key||e===(0,F.Mn)(a.item.type)&&r===a.childIndex)return a}return null}},{key:"renderAxis",value:function(t,e,r,n){var i=this.props,o=i.width,a=i.height;return E.createElement(tE,ec({},t,{className:"recharts-".concat(t.axisType," ").concat(t.axisType),key:e.key||"".concat(r,"-").concat(n),viewBox:{x:0,y:0,width:o,height:a},ticksGenerator:this.axesTicksGenerator}))}},{key:"renderClipPath",value:function(){var t=this.clipPathId,e=this.state.offset,r=e.left,n=e.top,i=e.height,o=e.width;return E.createElement("defs",null,E.createElement("clipPath",{id:t},E.createElement("rect",{x:r,y:n,height:i,width:o})))}},{key:"getXScales",value:function(){var t=this.state.xAxisMap;return t?Object.entries(t).reduce(function(t,e){var r=ea(e,2),n=r[0],i=r[1];return ev(ev({},t),{},em({},n,i.scale))},{}):null}},{key:"getYScales",value:function(){var t=this.state.yAxisMap;return t?Object.entries(t).reduce(function(t,e){var r=ea(e,2),n=r[0],i=r[1];return ev(ev({},t),{},em({},n,i.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(t){var e,r;return null==(e=this.state.xAxisMap)||null==(r=e[t])?void 0:r.scale}},{key:"getYScaleByAxisId",value:function(t){var e,r;return null==(e=this.state.yAxisMap)||null==(r=e[t])?void 0:r.scale}},{key:"getItemByXY",value:function(t){var e=this.state.formattedGraphicalItems;if(e&&e.length)for(var r=0,n=e.length;r<n;r++){var i=e[r],o=i.props,a=i.item,c=(0,F.Mn)(a.type);if("Bar"===c){var u=(o.data||[]).find(function(e){return(0,to.J)(t,e)});if(u)return{graphicalItem:i,payload:u}}else if("RadialBar"===c){var s=(o.data||[]).find(function(e){return(0,X.yy)(t,e)});if(s)return{graphicalItem:i,payload:s}}}return null}},{key:"render",value:function(){var t=this;if(!(0,F.Me)(this))return null;var e=this.props,r=e.children,n=e.className,i=e.width,o=e.height,a=e.style,c=e.compact,u=e.title,s=e.desc,l=eu(e,ei),f=(0,F.J9)(l),p={CartesianGrid:{handler:this.renderGrid,once:!0},ReferenceArea:{handler:this.renderReferenceElement},ReferenceLine:{handler:this.renderReferenceElement},ReferenceDot:{handler:this.renderReferenceElement},XAxis:{handler:this.renderXAxis},YAxis:{handler:this.renderYAxis},Brush:{handler:this.renderBrush,once:!0},Bar:{handler:this.renderGraphicChild},Line:{handler:this.renderGraphicChild},Area:{handler:this.renderGraphicChild},Radar:{handler:this.renderGraphicChild},RadialBar:{handler:this.renderGraphicChild},Scatter:{handler:this.renderGraphicChild},Pie:{handler:this.renderGraphicChild},Funnel:{handler:this.renderGraphicChild},Tooltip:{handler:this.renderCursor,once:!0},PolarGrid:{handler:this.renderPolarGrid,once:!0},PolarAngleAxis:{handler:this.renderPolarAxis},PolarRadiusAxis:{handler:this.renderPolarAxis},Customized:{handler:this.renderCustomized}};if(c)return E.createElement(N.u,ec({},f,{width:i,height:o,title:u,desc:s}),this.renderClipPath(),(0,F.ee)(r,p));var h=this.parseEventsOfWrapper();return E.createElement("div",ec({className:_()("recharts-wrapper",n),style:ev({position:"relative",curs
1or:"default",width:i,height:o},a)},h,{ref:function(e){t.container=e},role:"region"}),E.createElement(N.u,ec({},f,{width:i,height:o,title:u,desc:s}),this.renderClipPath(),(0,F.ee)(r,p)),this.renderLegend(),this.renderTooltip())}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,eg(n.key),n)}}(s.prototype,n),Object.defineProperty(s,"prototype",{writable:!1}),s}(E.Component),em(e,"displayName",r),em(e,"defaultProps",ev({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},v)),em(e,"getDerivedStateFromProps",function(t,e){var r=t.data,n=t.children,i=t.width,o=t.height,a=t.layout,c=t.stackOffset,u=t.margin;if(g()(e.updateId)){var s=eI(t);return ev(ev(ev({},s),{},{updateId:0},b(ev(ev({props:t},s),{},{updateId:0}),e)),{},{prevData:r,prevWidth:i,prevHeight:o,prevLayout:a,prevStackOffset:c,prevMargin:u,prevChildren:n})}if(r!==e.prevData||i!==e.prevWidth||o!==e.prevHeight||a!==e.prevLayout||c!==e.prevStackOffset||!(0,ta.b)(u,e.prevMargin)){var l=eI(t),f={chartX:e.chartX,chartY:e.chartY,isTooltipActive:e.isTooltipActive},p=ev(ev({},eP(e,r,a)),{},{updateId:e.updateId+1}),h=ev(ev(ev({},l),f),p);return ev(ev(ev({},h),b(ev({props:t},h),e)),{},{prevData:r,prevWidth:i,prevHeight:o,prevLayout:a,prevStackOffset:c,prevMargin:u,prevChildren:n})}if(!(0,F.OV)(n,e.prevChildren)){var d=g()(r)?e.updateId+1:e.updateId;return ev(ev({updateId:d},b(ev(ev({props:t},e),{},{updateId:d}),e)),{},{prevChildren:n})}return null}),em(e,"renderActiveDot",function(t,e){var r;return r=(0,E.isValidElement)(t)?(0,E.cloneElement)(t,e):u()(t)?t(e):E.createElement(ti.c,e),E.createElement(R.W,{className:"recharts-active-dot",key:e.key},r)}),e}({chartName:"AreaChart",GraphicalChild:eR.G,axisComponents:[{axisType:"xAxis",AxisComp:eL.W},{axisType:"yAxis",AxisComp:eB.h}],formatAxisMap:tq.pr})},20527:(t,e,r)=>{var n=r(89387);t.exports=function(t){return n(t)&&t!=+t}},20632:(t,e,r)=>{"use strict";r.d(e,{u:()=>O});var n=r(58103),i=r.n(n),o=r(14232),a=r(98477),c=r(4917),u=r.n(c),s=r(80782),l=r.n(s),f=function(t,e){return(f=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},p=function(t,e,r,n){switch(e){case"debounce":return u()(t,r,n);case"throttle":return l()(t,r,n);default:return t}},h=function(t){return"function"==typeof t},d=function(){return"undefined"==typeof window},y=function(t){return t instanceof Element||t instanceof HTMLDocument},v=function(t){function e(){this.constructor=r}function r(e){var r=t.call(this,e)||this;r.cancelHandler=function(){r.resizeHandler&&r.resizeHandler.cancel&&(r.resizeHandler.cancel(),r.resizeHandler=null)},r.attachObserver=function(){var t=r.props,e=t.targetRef,n=t.observerOptions;if(!d()){e&&e.current&&(r.targetRef.current=e.current);var i=r.getElement();i&&(r.observableElement&&r.observableElement===i||(r.observableElement=i,r.resizeObserver.observe(i,n)))}},r.getElement=function(){var t=r.props,e=t.querySelector,n=t.targetDomEl;if(d())return null;if(e)return document.querySelector(e);if(n&&y(n))return n;if(r.targetRef&&y(r.targetRef.current))return r.targetRef.current;var i=(0,a.findDOMNode)(r);if(!i)return null;switch(r.getRenderType()){case"renderProp":case"childFunction":case"child":case"childArray":return i;default:return i.parentElement}},r.createResizeHandler=function(t){var e=r.props,n=e.handleWidth,i=void 0===n||n,o=e.handleHeight,a=void 0===o||o,c=e.onResize;if(i||a){var u,s=(u=function(t){return r.setState(t,function(){return null==c?void 0:c(r.state.width,r.state.height)})},function(t){var e=t.width,r=t.height;u(function(t){return(t.width!==e||t.height!==r)&&(t.width!==e||a)&&(t.height!==r||i)?{width:e,height:r}:t})});t.forEach(function(t){var e=t&&t.contentRect||{},n=e.width,i=e.height;r.skipOnMount||d()||s({width:n,height:i}),r.skipOnMount=!1})}},r.getRenderType=function(){var t=r.props,e=t.render,n=t.children;return h(e)?"renderProp":h(n)?"childFunction":(0,o.isValidElement)(n)?"child":Array.isArray(n)?"childArray":"parent"};var n=e.skipOnMount,i=e.refreshMode,c=e.refreshRate,u=e.refreshOptions;return r.state={width:void 0,height:void 0},r.skipOnMount=n,r.targetRef=(0,o.createRef)(),r.observableElement=null,d()||(r.resizeHandler=p(r.createResizeHandler,i,void 0===c?1e3:c,u),r.resizeObserver=new window.ResizeObserver(r.resizeHandler)),r}return f(r,t),r.prototype=null===t?Object.create(t):(e.prototype=t.prototype,new e),r.prototype.componentDidMount=function(){this.attachObserver()},r.prototype.componentDidUpdate=function(){this.attachObserver()},r.prototype.componentWillUnmount=function(){d()||(this.observableElement=null,this.resizeObserver.disconnect(),this.cancelHandler())},r.prototype.render=function(){var t=this.props,e=t.render,r=t.children,n=t.nodeType,i=this.state,a={width:i.width,height:i.height,targetRef
1:this.targetRef};switch(this.getRenderType()){case"renderProp":return null==e?void 0:e(a);case"childFunction":return null==r?void 0:r(a);case"child":if(r.type&&"string"==typeof r.type){a.targetRef;var c=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)0>e.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}(a,["targetRef"]);return(0,o.cloneElement)(r,c)}return(0,o.cloneElement)(r,a);case"childArray":return r.map(function(t){return!!t&&(0,o.cloneElement)(t,a)});default:return o.createElement(void 0===n?"div":n,null)}},r}(o.PureComponent);d()?o.useEffect:o.useLayoutEffect;var m=r(11540),g=r(42e3);function b(){return(b=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function x(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var O=(0,o.forwardRef)(function(t,e){var r,n=t.aspect,a=t.width,c=void 0===a?"100%":a,u=t.height,s=void 0===u?"100%":u,l=t.minWidth,f=void 0===l?0:l,p=t.minHeight,h=t.maxHeight,d=t.children,y=t.debounce,O=void 0===y?0:y,w=t.id,E=t.className,S=t.onResize,_=function(t){if(Array.isArray(t))return t}(r=(0,o.useState)({containerWidth:-1,containerHeight:-1}))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],u=!0,s=!1;try{o=(r=r.call(t)).next,!1;for(;!(u=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,i=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw i}}return c}}(r,2)||function(t,e){if(t){if("string"==typeof t)return x(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return x(t,e)}}(r,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),j=_[0],A=_[1],P=(0,o.useRef)(null);(0,o.useImperativeHandle)(e,function(){return P},[P]);var k=(0,o.useCallback)(function(){return P.current?{containerWidth:P.current.clientWidth,containerHeight:P.current.clientHeight}:null},[]),M=(0,o.useCallback)(function(){var t=k();if(t){var e=t.containerWidth,r=t.containerHeight;S&&S(e,r),A(function(t){var n=t.containerWidth,i=t.containerHeight;return e!==n||r!==i?{containerWidth:e,containerHeight:r}:t})}},[k]),T=(0,o.useMemo)(function(){var t=j.containerWidth,e=j.containerHeight;if(t<0||e<0)return null;(0,g.R)((0,m._3)(c)||(0,m._3)(s),"The width(%s) and height(%s) are both fixed numbers,\n       maybe you don't need to use a ResponsiveContainer.",c,s),(0,g.R)(!n||n>0,"The aspect(%s) must be greater than zero.",n);var r=(0,m._3)(c)?t:c,i=(0,m._3)(s)?e:s;return n&&n>0&&(r?i=r/n:i&&(r=i*n),h&&i>h&&(i=h)),(0,g.R)(r>0||i>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.",r,i,c,s,f,p,n),(0,o.cloneElement)(d,{width:r,height:i})},[n,d,s,h,p,f,j,c]);return(0,o.useEffect)(function(){var t=k();t&&A(t)},[k]),o.createElement(v,{handleWidth:!0,handleHeight:!0,onResize:M,targetRef
1:P,refreshMode:O>0?"debounce":void 0,refreshRate:O},o.createElement("div",b({},null!=w?{id:"".concat(w)}:{},{className:i()("recharts-responsive-container",E),style:{width:c,height:s,minWidth:f,minHeight:p,maxHeight:h},ref:P}),T))})},20882:function(t,e){(function(t){"use strict";function e(t){return function(e,r,n,i,o,a,c){return t(e,r,c)}}function r(t){return function(e,r,n,i){if(!e||!r||"object"!=typeof e||"object"!=typeof r)return t(e,r,n,i);var o=i.get(e),a=i.get(r);if(o&&a)return o===r&&a===e;i.set(e,r),i.set(r,e);var c=t(e,r,n,i);return i.delete(e),i.delete(r),c}}function n(t,e){var r={};for(var n in t)r[n]=t[n];for(var n in e)r[n]=e[n];return r}function i(t){return t.constructor===Object||null==t.constructor}function o(t){return"function"==typeof t.then}function a(t,e){return t===e||t!=t&&e!=e}var c=Object.prototype.toString;function u(t){var e=t.areArraysEqual,r=t.areDatesEqual,n=t.areMapsEqual,u=t.areObjectsEqual,s=t.areRegExpsEqual,l=t.areSetsEqual,f=(0,t.createIsNestedEqual)(p);function p(t,p,h){if(t===p)return!0;if(!t||!p||"object"!=typeof t||"object"!=typeof p)return t!=t&&p!=p;if(i(t)&&i(p))return u(t,p,f,h);var d=Array.isArray(t),y=Array.isArray(p);if(d||y)return d===y&&e(t,p,f,h);var v=c.call(t);return v===c.call(p)&&("[object Date]"===v?r(t,p,f,h):"[object RegExp]"===v?s(t,p,f,h):"[object Map]"===v?n(t,p,f,h):"[object Set]"===v?l(t,p,f,h):"[object Object]"===v||"[object Arguments]"===v?!(o(t)||o(p))&&u(t,p,f,h):("[object Boolean]"===v||"[object Number]"===v||"[object String]"===v)&&a(t.valueOf(),p.valueOf()))}return p}function s(t,e,r,n){var i=t.length;if(e.length!==i)return!1;for(;i-- >0;)if(!r(t[i],e[i],i,i,t,e,n))return!1;return!0}var l=r(s);function f(t,e){return a(t.valueOf(),e.valueOf())}function p(t,e,r,n){var i=t.size===e.size;if(!i)return!1;if(!t.size)return!0;var o={},a=0;return t.forEach(function(c,u){if(i){var s=!1,l=0;e.forEach(function(i,f){!s&&!o[l]&&(s=r(u,f,a,l,t,e,n)&&r(c,i,u,f,t,e,n))&&(o[l]=!0),l++}),a++,i=s}}),i}var h=r(p),d=Object.prototype.hasOwnProperty;function y(t,e,r,n){var i,o=Object.keys(t),a=o.length;if(Object.keys(e).length!==a)return!1;for(;a-- >0;){if("_owner"===(i=o[a])){var c=!!t.$$typeof,u=!!e.$$typeof;if((c||u)&&c!==u)return!1}if(!d.call(e,i)||!r(t[i],e[i],i,i,t,e,n))return!1}return!0}var v=r(y);function m(t,e){return t.source===e.source&&t.flags===e.flags}function g(t,e,r,n){var i=t.size===e.size;if(!i)return!1;if(!t.size)return!0;var o={};return t.forEach(function(a,c){if(i){var u=!1,s=0;e.forEach(function(i,l){!u&&!o[s]&&(u=r(a,i,c,l,t,e,n))&&(o[s]=!0),s++}),i=u}}),i}var b=r(g),x=Object.freeze({areArraysEqual:s,areDatesEqual:f,areMapsEqual:p,areObjectsEqual:y,areRegExpsEqual:m,areSetsEqual:g,createIsNestedEqual:e}),O=Object.freeze({areArraysEqual:l,areDatesEqual:f,areMapsEqual:h,areObjectsEqual:v,areRegExpsEqual:m,areSetsEqual:b,createIsNestedEqual:e}),w=u(x),E=u(n(x,{createIsNestedEqual:function(){return a}})),S=u(O),_=u(n(O,{createIsNestedEqual:function(){return a}}));t.circularDeepEqual=function(t,e){return S(t,e,new WeakMap)},t.circularShallowEqual=function(t,e){return _(t,e,new WeakMap)},t.createCustomCircularEqual=function(t){var e=u(n(O,t(O)));return function(t,r,n){return void 0===n&&(n=new WeakMap),e(t,r,n)}},t.createCustomEqual=function(t){return u(n(x,t(x)))},t.deepEqual=function(t,e){return w(t,e,void 0)},t.sameValueZeroEqual=a,t.shallowEqual=function(t,e){return E(t,e,void 0)},Object.defineProperty(t,"__esModule",{value:!0})})(e)},21581:(t,e,r)=>{"use strict";r.d(e,{u:()=>s});var n=r(14232),i=r(58103),o=r.n(i),a=r(62639),c=["children","width","height","viewBox","className","style"];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}).apply(this,arguments)}function s(t){var e=t.children,r=t.width,i=t.height,s=t.viewBox,l=t.className,f=t.style,p=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,c),h=s||{width:r,height:i,x:0,y:0},d=o()("recharts-surface",l);return n.createElement("svg",u({},(0,a.J9)(p,!0,"svg"),{className:d,width:r,height:i,style:f,viewBox:"".concat(h.x," ").concat(h.y," ").concat(h.width," ").concat(h.height)}),n.createElement("title",null,t.title),n.createElement("desc",null,t.desc),e)}},21641:(t,e,r)=>{"use strict";r.d(e,{A:()=>
1o,z:()=>a});var n=r(2592),i=r(93478);function o(){var t,e,r=(0,i.A)().unknown(void 0),a=r.domain,c=r.range,u=0,s=1,l=!1,f=0,p=0,h=.5;function d(){var r=a().length,n=s<u,i=n?s:u,o=n?u:s;t=(o-i)/Math.max(1,r-f+2*p),l&&(t=Math.floor(t)),i+=(o-i-t*(r-f))*h,e=t*(1-f),l&&(i=Math.round(i),e=Math.round(e));var d=(function(t,e,r){t*=1,e*=1,r=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+r;for(var n=-1,i=0|Math.max(0,Math.ceil((e-t)/r)),o=Array(i);++n<i;)o[n]=t+n*r;return o})(r).map(function(e){return i+t*e});return c(n?d.reverse():d)}return delete r.unknown,r.domain=function(t){return arguments.length?(a(t),d()):a()},r.range=function(t){return arguments.length?([u,s]=t,u*=1,s*=1,d()):[u,s]},r.rangeRound=function(t){return[u,s]=t,u*=1,s*=1,l=!0,d()},r.bandwidth=function(){return e},r.step=function(){return t},r.round=function(t){return arguments.length?(l=!!t,d()):l},r.padding=function(t){return arguments.length?(f=Math.min(1,p=+t),d()):f},r.paddingInner=function(t){return arguments.length?(f=Math.min(1,t),d()):f},r.paddingOuter=function(t){return arguments.length?(p=+t,d()):p},r.align=function(t){return arguments.length?(h=Math.max(0,Math.min(1,t)),d()):h},r.copy=function(){return o(a(),[u,s]).round(l).paddingInner(f).paddingOuter(p).align(h)},n.C.apply(d(),arguments)}function a(){return function t(e){var r=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return t(r())},e}(o.apply(null,arguments).paddingInner(1))}},25302:(t,e,r)=>{"use strict";e.__esModule=!0,e.default=void 0;var n=c(r(95062)),i=c(r(14232)),o=r(7235),a=r(7222);function c(t){return t&&t.__esModule?t:{default:t}}function u(){return(u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function s(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var l=Object.values||function(t){return Object.keys(t).map(function(e){return t[e]})},f=function(t){function e(e,r){var n=t.call(this,e,r)||this,i=n.handleExited.bind(s(s(n)));return n.state={handleExited:i,firstRender:!0},n}e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t;var r=e.prototype;return r.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},r.componentDidMount=function(){this.appeared=!0,this.mounted=!0},r.componentWillUnmount=function(){this.mounted=!1},e.getDerivedStateFromProps=function(t,e){var r=e.children,n=e.handleExited;return{children:e.firstRender?(0,a.getInitialChildMapping)(t,n):(0,a.getNextChildMapping)(t,r,n),firstRender:!1}},r.handleExited=function(t,e){var r=(0,a.getChildMapping)(this.props.children);t.key in r||(t.props.onExited&&t.props.onExited(e),this.mounted&&this.setState(function(e){var r=u({},e.children);return delete r[t.key],{children:r}}))},r.render=function(){var t=this.props,e=t.component,r=t.childFactory,n=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)e.indexOf(r=o[n])>=0||(i[r]=t[r]);return i}(t,["component","childFactory"]),o=l(this.state.children).map(r);return(delete n.appear,delete n.enter,delete n.exit,null===e)?o:i.default.createElement(e,n,o)},e}(i.default.Component);f.childContextTypes={transitionGroup:n.default.object.isRequired},f.propTypes={},f.defaultProps={component:"div",childFactory:function(t){return t}},e.default=(0,o.polyfill)(f),t.exports=e.default},25702:(t,e,r)=>{var n=r(47871),i=r(68839);t.exports=function(t,e){return t&&t.length?i(t,n(e,2)):[]}},26539:(t,e,r)=>{"use strict";function n(t){return function(){return t}}r.d(e,{A:()=>n})},26914:()=>{},27757:(t,e,r)=>{var n=r(3979);t.exports=function(t,e){var r=!0;return n(t,function(t,n,i){return r=!!e(t,n,i)}),r}},27952:(t,e,r)=>{"use strict";r.d(e,{G:()=>F});var n=r(41946),i=r.n(n),o=r(20527),a=r.n(o),c=r(20624),u=r.n(c),s=r(19850),l=r.n(s),f=r(7766),p=r.n(f),h=r(19809),d=r.n(h),y=r(93007),v=r.n(y),m=r(14232),g=r(58103),b=r.n(g),x=r(92987),O=r(81939),w=r(55695),E=r(74524),S=r(74084),_=r(69428),j=r(11540),A=r(34563),P=r(62639),k=["layout","type","stroke","connectNulls","isRange","ref"];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})(t)}function T(){return(T=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).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 I(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){B(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 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,U(n.key),n)}}function N(t,e){return(N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function R(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function L(t){return(L=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function B(t,e,r){return(e=U(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function U(t){var e=function(t,e){if("object"!==M(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==M(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===M(e)?e:String(e)}var F=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");c.prototype=Object.create(t&&t.prototype,{constructor:{value:c,writable:!0,configurable:!0}}),Object.defineProperty(c,"prototype",{writable:!1}),t&&N(c,t);var e,r,n,o=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,r=L(c);return t=e?Reflect.construct(r,arguments,L(this).constructor):r.apply(this,arguments),function(t,e){if(e&&("object"===M(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return R(t)}(this,t)});function c(){var t;if(!(this instanceof c))throw TypeError("Cannot call a class as a function");for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];return B(R(t=o.call.apply(o,[this].concat(r))),"state",{isAnimationFinished:!0}),B(R(t),"id",(0,j.NF)("recharts-area-")),B(R(t),"handleAnimationEnd",function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),l()(e)&&e()}),B(R(t),"handleAnimationStart",function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),l()(e)&&e()}),t}return r=[{key:"renderDots",value:function(t,e){var r=this.props.isAnimationActive,n=this.state.isAnimationFinished;if(r&&!n)return null;var i=this.props,o=i.dot,a=i.points,u=i.dataKey,s=(0,P.J9)(this.props),l=(0,P.J9)(o,!0),f=a.map(function(t,e){var r=I(I(I({key:"dot-".concat(e),r:3},s),l),{},{dataKey:u,cx:t.x,cy:t.y,index:e,value:t.value,payload:t.payload});return c.renderDotItem(o,r)});return m.createElement(E.W,T({className:"recharts-area-dots"},{clipPath:t?"url(#clipPath-".concat(e,")"):null}),f)}},{key:"renderHorizontalRect",value:function(t){var e=this.props,r=e.baseLine,n=e.points,i=e.strokeWidth,o=n[0].x,a=n[n.length-1].x,c=t*Math.abs(o-a),s=u()(n.map(function(t){return t.y||0}
1));return((0,j.Et)(r)&&"number"==typeof r?s=Math.max(r,s):r&&v()(r)&&r.length&&(s=Math.max(u()(r.map(function(t){return t.y||0})),s)),(0,j.Et)(s))?m.createElement("rect",{x:o<a?o:o-c,y:0,width:c,height:Math.floor(s+(i?parseInt("".concat(i),10):1))}):null}},{key:"renderVerticalRect",value:function(t){var e=this.props,r=e.baseLine,n=e.points,i=e.strokeWidth,o=n[0].y,a=n[n.length-1].y,c=t*Math.abs(o-a),s=u()(n.map(function(t){return t.x||0}));return((0,j.Et)(r)&&"number"==typeof r?s=Math.max(r,s):r&&v()(r)&&r.length&&(s=Math.max(u()(r.map(function(t){return t.x||0})),s)),(0,j.Et)(s))?m.createElement("rect",{x:0,y:o<a?o:o-c,width:s+(i?parseInt("".concat(i),10):1),height:Math.floor(c)}):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 i=this.props,o=i.layout,a=i.type,c=i.stroke,u=i.connectNulls,s=i.isRange,l=(i.ref,function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(i,k));return m.createElement(E.W,{clipPath:r?"url(#clipPath-".concat(n,")"):null},m.createElement(O.I,T({},(0,P.J9)(l,!0),{points:t,connectNulls:u,type:a,baseLine:e,layout:o,stroke:"none",className:"recharts-area-area"})),"none"!==c&&m.createElement(O.I,T({},(0,P.J9)(this.props),{className:"recharts-area-curve",layout:o,type:a,connectNulls:u,fill:"none",points:t})),"none"!==c&&s&&m.createElement(O.I,T({},(0,P.J9)(this.props),{className:"recharts-area-curve",layout:o,type:a,connectNulls:u,fill:"none",points:e})))}},{key:"renderAreaWithAnimation",value:function(t,e){var r=this,n=this.props,i=n.points,o=n.baseLine,c=n.isAnimationActive,u=n.animationBegin,s=n.animationDuration,l=n.animationEasing,f=n.animationId,p=this.state,h=p.prevPoints,y=p.prevBaseLine;return m.createElement(x.Ay,{begin:u,duration:s,isActive:c,easing:l,from:{t:0},to:{t:1},key:"area-".concat(f),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(n){var c=n.t;if(h){var u,s=h.length/i.length,l=i.map(function(t,e){var r=Math.floor(e*s);if(h[r]){var n=h[r],i=(0,j.Dj)(n.x,t.x),o=(0,j.Dj)(n.y,t.y);return I(I({},t),{},{x:i(c),y:o(c)})}return t});return u=(0,j.Et)(o)&&"number"==typeof o?(0,j.Dj)(y,o)(c):d()(o)||a()(o)?(0,j.Dj)(y,0)(c):o.map(function(t,e){var r=Math.floor(e*s);if(y[r]){var n=y[r],i=(0,j.Dj)(n.x,t.x),o=(0,j.Dj)(n.y,t.y);return I(I({},t),{},{x:i(c),y:o(c)})}return t}),r.renderAreaStatically(l,u,t,e)}return m.createElement(E.W,null,m.createElement("defs",null,m.createElement("clipPath",{id:"animationClipPath-".concat(e)},r.renderClipRect(c))),m.createElement(E.W,{clipPath:"url(#animationClipPath-".concat(e,")")},r.renderAreaStatically(i,o,t,e)))})}},{key:"renderArea",value:function(t,e){var r=this.props,n=r.points,o=r.baseLine,a=r.isAnimationActive,c=this.state,u=c.prevPoints,s=c.prevBaseLine,l=c.totalLength;return a&&n&&n.length&&(!u&&l>0||!i()(u,n)||!i()(s,o))?this.renderAreaWithAnimation(t,e):this.renderAreaStatically(n,o,t,e)}},{key:"render",value:function(){var t=this.props,e=t.hide,r=t.dot,n=t.points,i=t.className,o=t.top,a=t.left,c=t.xAxis,u=t.yAxis,s=t.width,l=t.height,f=t.isAnimationActive,p=t.id;if(e||!n||!n.length)return null;var h=this.state.isAnimationFinished,y=1===n.length,v=b()("recharts-area",i),g=c&&c.allowDataOverflow||u&&u.allowDataOverflow,x=d()(p)?this.id:p;return m.createElement(E.W,{className:v},g?m.createElement("defs",null,m.createElement("clipPath",{id:"clipPath-".concat(x)},m.createElement("rect",{x:a,y:o,width:s,height:Math.floor(l)}))):null,y?null:this.renderArea(g,x),(r||y)&&this.renderDots(g,x),(!f||h)&&S.Z.renderCallByParent(this.props,n))}}],n=[{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}}],r&&D(c.prototype,r),n&&D(c,n),Object.defineProperty(c,"prototype",{writable:!1}),c}(m.PureComponent);B(F,"displayName","Area"),B(F,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendT
1ype:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!_.m.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),B(F,"getBaseValue",function(t,e,r,n){var i=t.layout,o=t.baseValue,a=e.props.baseValue,c=null!=a?a:o;if((0,j.Et)(c)&&"number"==typeof c)return c;var u="horizontal"===i?n:r,s=u.scale.domain();if("number"===u.type){var l=Math.max(s[0],s[1]),f=Math.min(s[0],s[1]);return"dataMin"===c?f:"dataMax"===c||l<0?l:Math.max(Math.min(s[0],s[1]),0)}return"dataMin"===c?s[0]:"dataMax"===c?s[1]:s[0]}),B(F,"getComposedData",function(t){var e,r=t.props,n=t.item,i=t.xAxis,o=t.yAxis,a=t.xAxisTicks,c=t.yAxisTicks,u=t.bandSize,s=t.dataKey,l=t.stackedData,f=t.dataStartIndex,h=t.displayedData,y=t.offset,m=r.layout,g=l&&l.length,b=F.getBaseValue(r,n,i,o),x=!1,O=h.map(function(t,e){var r,n=(0,A.kr)(t,s);g?r=l[f+e]:(r=n,v()(r)?x=!0:r=[b,r]);var p=d()(r[1])||g&&d()(n);return"horizontal"===m?{x:(0,A.nb)({axis:i,ticks:a,bandSize:u,entry:t,index:e}),y:p?null:o.scale(r[1]),value:r,payload:t}:{x:p?null:i.scale(r[1]),y:(0,A.nb)({axis:o,ticks:c,bandSize:u,entry:t,index:e}),value:r,payload:t}});return e=g||x?O.map(function(t){return"horizontal"===m?{x:t.x,y:d()(p()(t,"value[0]"))||d()(p()(t,"y"))?null:o.scale(p()(t,"value[0]"))}:{x:d()(p()(t,"value[0]"))?null:i.scale(p()(t,"value[0]")),y:t.y}}):"horizontal"===m?o.scale(b):i.scale(b),I({points:O,baseLine:e,layout:m,isRange:x},y)}),B(F,"renderDotItem",function(t,e){return m.isValidElement(t)?m.cloneElement(t,e):l()(t)?t(e):m.createElement(w.c,T({},e,{className:"recharts-area-dot"}))})},29220:t=>{"use strict";function e(t,e){return t.replace(RegExp("(^|\\s)"+e+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}t.exports=function(t,r){t.classList?t.classList.remove(r):"string"==typeof t.className?t.className=e(t.className,r):t.setAttribute("class",e(t.className&&t.className.baseVal||"",r))}},33447:(t,e,r)=>{"use strict";r.d(e,{R:()=>n});var n=function(t,e){var r=t.alwaysShow,n=t.ifOverflow;return r&&(n="extendDomain"),n===e}},33943:t=>{function e(t,e){var n,i,o=t.type,a=t.value;if(e&&void 0!==(i=e(t)))return i;if("word"===o||"space"===o);else if("string"===o)return(n=t.quote||"")+a+(t.unclosed?"":n);else if("comment"===o)return"/*"+a+(t.unclosed?"":"*/");else if("div"===o)return(t.before||"")+a+(t.after||"");else if(Array.isArray(t.nodes))return(n=r(t.nodes),"function"!==o)?n:a+"("+(t.before||"")+n+(t.after||"")+(t.unclosed?"":")");return a}function r(t,r){var n,i;if(Array.isArray(t)){for(n="",i=t.length-1;~i;i-=1)n=e(t[i],r)+n;return n}return e(t,r)}t.exports=r},34014:(t,e,r)=>{"use strict";r.d(e,{s:()=>tu});var n=r(19850),i=r.n(n),o=r(25702),a=r.n(o),c=r(14232),u=r(58103),s=r.n(u),l=r(21581),f=r(8532),p=r.n(f);let h=Math.cos,d=Math.sin,y=Math.sqrt,v=Math.PI,m=2*v,g={draw(t,e){let r=y(e/v);t.moveTo(r,0),t.arc(0,0,r,0,m)}},b=y(1/3),x=2*b,O=d(v/10)/d(7*v/10),w=d(m/10)*O,E=-h(m/10)*O,S=y(3),_=y(3)/2,j=1/y(12),A=(j/2+1)*3;var P=r(26539),k=r(16876);y(3),y(3);var M=r(62639);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)}function C(){return(C=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function I(t,e){return(I=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function D(t){return(D=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function N(t,e,r){return(e=R(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function R(t){var e=function(t,e){if("object"!==T(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==T(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"===T(e)?e:String(e)}var L={symbolCircle:g,symbolCross:{draw(t,e){let r=y(e/5)/2;t.moveTo(-3*r,-r),t.lineTo(-r,-r),t.lineTo(-r,-3*r),t.lineTo(r,-3*r),t.lineTo(r,-r),t.lineTo(3*r,-r),t.lineTo(3*r,r),t.lineTo(r,r),t.lineTo(r,3*r),t.lineTo(-r,3*r),t.lineTo(-r,r),t.lineTo(-3*r,r),t.closePath()}},symbolDiamond:{draw(t,e){let r=y(e/x),n=r*b;t.moveTo(0,-r),t.lineTo(n,0),t.lineTo(0,r),t.lineTo(-n,0),t.closePath()}},symbolSquare:{draw(t,e){let r=y(e),n=-r/2;t.rect(n,n,r,r)}},symbolStar:{draw(t,e){let r=y(.8908130915292852*e),n=w*r,i=E*r;t.moveTo(0,-r),t.lineTo(n,i);for(let e=1;e<5;++e){let o=m*e/5,a=h(o),c=d(o);t.lineTo(c*r,-a*r),t.lineTo(a*n-c*i,c*n+a*i)}t.closePath()}},symbolTriangle:{draw(t,e){let r=-y(e/(3*S));t.moveTo(0,2*r),t.lineTo(-S*r,-r),t.lineTo(S*r,-r),t.closePath()}},symbolWye:{draw(t,e){let r=y(e/A),n=r/2,i=r*j,o=r*j+r,a=-n;t.moveTo(n,i),t.lineTo(n,o),t.lineTo(a,o),t.lineTo(-.5*n-_*i,_*n+-.5*i),t.lineTo(-.5*n-_*o,_*n+-.5*o),t.lineTo(-.5*a-_*o,_*a+-.5*o),t.lineTo(-.5*n+_*i,-.5*i-_*n),t.lineTo(-.5*n+_*o,-.5*o-_*n),t.lineTo(-.5*a+_*o,-.5*o-_*a),t.closePath()}}},B=Math.PI/180,U=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*B;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}},F=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),t&&I(i,t);var e,r,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,r=D(i);return t=e?Reflect.construct(r,arguments,D(this).constructor):r.apply(this,arguments),function(t,e){if(e&&("object"===T(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,t)});function i(){if(!(this instanceof i))throw TypeError("Cannot call a class as a function");return n.apply(this,arguments)}return r=[{key:"getPath",value:function(){var t=this.props,e=t.size,r=t.sizeType,n=t.type,i=L["symbol".concat(p()(n))]||g;return(function(t,e){let r=null,n=(0,k.i)(i);function i(){let i;if(r||(r=i=n()),t.apply(this,arguments).draw(r,+e.apply(this,arguments)),i)return r=null,i+""||null}return t="function"==typeof t?t:(0,P.A)(t||g),e="function"==typeof e?e:(0,P.A)(void 0===e?64:+e),i.type=function(e){return arguments.length?(t="function"==typeof e?e:(0,P.A)(e),i):t},i.size=function(t){return arguments.length?(e="function"==typeof t?t:(0,P.A)(+t),i):e},i.context=function(t){return arguments.length?(r=null==t?null:t,i):r},i})().type(i).size(U(e,r,n))()}},{key:"render",value:function(){var t=this.props,e=t.className,r=t.cx,n=t.cy,i=t.size,o=(0,M.J9)(this.props,!0);return r===+r&&n===+n&&i===+i?c.createElement("path",C({}
1,o,{className:s()("recharts-symbols",e),transform:"translate(".concat(r,", ").concat(n,")"),d:this.getPath()})):null}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,R(n.key),n)}}(i.prototype,r),Object.defineProperty(i,"prototype",{writable:!1}),i}(c.PureComponent);N(F,"defaultProps",{type:"circle",size:64,sizeType:"area"}),N(F,"registerSymbol",function(t,e){L["symbol".concat(p()(t))]=e});var z=r(12656);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})(t)}function V(){return(V=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function 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 $(t,e){return($=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function q(t){return(q=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function G(t,e,r){return(e=X(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function X(t){var e=function(t,e){if("object"!==W(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==W(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===W(e)?e:String(e)}var J=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),t&&$(i,t);var e,r,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,r=q(i);return t=e?Reflect.construct(r,arguments,q(this).constructor):r.apply(this,arguments),function(t,e){if(e&&("object"===W(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,t)});function i(){if(!(this instanceof i))throw TypeError("Cannot call a class as a function");return n.apply(this,arguments)}return r=[{key:"renderIcon",value:function(t){var e=this.props.inactiveColor,r=32/6,n=32/3,i=t.inactive?e:t.color;if("plainline"===t.type)return c.createElement("line",{strokeWidth:4,fill:"none",stroke:i,strokeDasharray:t.payload.strokeDasharray,x1:0,y1:16,x2:32,y2:16,className:"recharts-legend-icon"});if("line"===t.type)return c.createElement("path",{strokeWidth:4,fill:"none",stroke:i,d:"M0,".concat(16,"h").concat(n,"\n            A").concat(r,",").concat(r,",0,1,1,").concat(2*n,",").concat(16,"\n            H").concat(32,"M").concat(2*n,",").concat(16,"\n            A").concat(r,",").concat(r,",0,1,1,").concat(n,",").concat(16),className:"recharts-legend-icon"});if("rect"===t.type)return c.createElement("path",{stroke:"none",fill:i,d:"M0,".concat(4,"h").concat(32,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(c.isValidElement(t.legendIcon)){var o=function(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){G(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}({},t);return delete o.legendIcon,c.cloneElement(t.legendIcon,o)}return c.createElement(F,{fill:i,cx:16,cy:16,size:32,sizeType:"diameter",type:t.type})}},{key:"renderItems",value:function(){var t=this,e=this.props,r=e.payload,n=e.iconSize,i=e.layout,o=e.formatter,a=e.inactiveColor,u={x:0,y:0,width:32,height:32},f={display:"horizontal"===i?"inline-block":"block",marginRight:10},p={display:"inline-block",verticalAlign:"middle",marginRight:4};return r.map(function(e,r){var i,h=e.formatter||o,d=s()((G(i={"recharts-legend-item":!0},"legend-item-".concat(r),!0),G(i,"inactive",e.inactive),i));if("none"===e.type)return null;var y=e.inactive?a:e.color;return c.createElement("li",V({className:d,style:f,key:"legend-item-".concat(r)},(0,z.XC)(t.props,e,r)),c.createElement(l.u,{width:n,height:n,viewBox:u,style:p},t.renderIcon(e)),c.createElement("span",{className:"recharts-legend-item-text",style:{color:y}},h?h(e.value,e,r):e.value))})}},{key:"render",value:function(){var t=this.props,e=t.payload,r=t.layout,n=t.align;return e&&e.length?c.createElement("ul",{className:"recharts-default-legend",style:{padding:0,margin:0,textAlign:"horizontal"===r?n:"left"}},this.renderItems()):null}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,X(n.key),n)}}(i.prototype,r),Object.defineProperty(i,"prototype",{writable:!1}),i}(c.PureComponent);G(J,"displayName","Legend"),G(J,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var Y=r(11540);function K(t){return(K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var Z=["ref"];function Q(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]:{};
1e%2?Q(Object(r),!0).forEach(function(e){to(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Q(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function te(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,ta(n.key),n)}}function tr(t,e){return(tr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tn(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ti(t){return(ti=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function to(t,e,r){return(e=ta(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ta(t){var e=function(t,e){if("object"!==K(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==K(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===K(e)?e:String(e)}function tc(t){return t.value}var tu=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");u.prototype=Object.create(t&&t.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),t&&tr(u,t);var e,r,n,o=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,r=ti(u);return t=e?Reflect.construct(r,arguments,ti(this).constructor):r.apply(this,arguments),function(t,e){if(e&&("object"===K(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return tn(t)}(this,t)});function u(){var t;if(!(this instanceof u))throw TypeError("Cannot call a class as a function");for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];return to(tn(t=o.call.apply(o,[this].concat(r))),"state",{boxWidth:-1,boxHeight:-1}),t}return r=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){return this.wrapperNode&&this.wrapperNode.getBoundingClientRect?this.wrapperNode.getBoundingClientRect():null}},{key:"getBBoxSnapshot",value:function(){var t=this.state,e=t.boxWidth,r=t.boxHeight;return e>=0&&r>=0?{width:e,height:r}:null}},{key:"getDefaultPosition",value:function(t){var e,r,n=this.props,i=n.layout,o=n.align,a=n.verticalAlign,c=n.margin,u=n.chartWidth,s=n.chartHeight;return t&&(void 0!==t.left&&null!==t.left||void 0!==t.right&&null!==t.right)||(e="center"===o&&"vertical"===i?{left:((u||0)-(this.getBBoxSnapshot()||{width:0}).width)/2}:"right"===o?{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:((s||0)-(this.getBBoxSnapshot()||{height:0}).height)/2}:"bottom"===a?{bottom:c&&c.bottom||0}:{top:c&&c.top||0}),tt(tt({},e),r)}},{key:"updateBBox",value:function(){var t=this.state,e=t.boxWidth,r=t.boxHeight,n=this.props.onBBoxUpdate;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var i=this.wrapperNode.getBoundingClientRect();(Math.abs(i.width-e)>1||Math.abs(i.height-r)>1)&&this.setState({boxWidth:i.width,boxHeight:i.height},function(){n&&n(i)})}else(-1!==e||-1!==r)&&this.setState({boxWidth:-1,boxHeight:-1},function(){n&&n(null)})}},{key:"render",value:function(){var t=this,e=this.props,r=e.content,n=e.width,o=e.height,u=e.wrapperStyle,s=e.payloadUniqBy,l=e.payload,f=tt(tt({position:"absolute",width:n||"auto",height:o||"auto"},this.getDefaultPosition(u)),u);return c.createElement("div",{className:"recharts-legend-wrapper",style:f,ref:function(e){t.wrapperNode=e}},function(t,e){if(c.isValidElement(t))return c.cloneElement(t,e);if(i()(t))return c.createElement(t,e);e.ref;var r=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(e,Z);return c.createElement(J,r)}(r,tt(tt({},this.props),{},{payload:!0===s?a()(l,tc):i()(s)?a()(l,s):l})))}}],n=[{key:"getWithHeight",value:function(t,e){var r=t.props.layout;return"vertical"===r&&(0,Y.Et)(t.props.height)?{height:t.props.height}:"horizontal"===r?{width:t.props.width||e}:null}}],r&&te(u.prototype,r),n&&te(u,n),Object.defineProperty(u,"prototype",{writable:!1}),u}(c.PureComponent);to(tu,"displayName","Legend"),to(tu,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"})},34293:(t,e,r)=>{var n=r(91575),i=r(27757),o=r(47871),a=r(93007),c=r(65930);t.exports=function(t,e,r){var u=a(t)?n:i;return r&&c(t,e,r)&&(e=void 0),u(t,o(e,3))}},34563:(t,e,r)=>{"use strict";r.d(e,{s0:()=>nw,gH:()=>nm,YB:()=>nT,HQ:()=>nk,xi:()=>nC,Hj:()=>nq,BX:()=>nO,tA:()=>nx,DW:()=>nF,y2:()=>nU,nb:()=>nB,PW:()=>nA,Ay:()=>nv,vf:()=>n_,Mk:()=>nW,g1:()=>nb,Ps:()=>ng,Mn:()=>nR,kA:()=>
1nz,Rh:()=>nP,w7:()=>nL,zb:()=>nX,kr:()=>ny,_L:()=>nj,KC:()=>nG,A1:()=>nS,W7:()=>nM,AQ:()=>n$,_f:()=>nI});var n,i,o,a,c,u,s,l={};r.r(l),r.d(l,{scaleBand:()=>N.A,scaleDiverging:()=>function t(){var e=tx(rL()(te));return e.copy=function(){return rD(e,t())},tu.K.apply(e,arguments)},scaleDivergingLog:()=>function t(){var e=tk(rL()).domain([.1,1,10]);return e.copy=function(){return rD(e,t()).base(e.base())},tu.K.apply(e,arguments)},scaleDivergingPow:()=>rB,scaleDivergingSqrt:()=>rU,scaleDivergingSymlog:()=>function t(){var e=tC(rL());return e.copy=function(){return rD(e,t()).constant(e.constant())},tu.K.apply(e,arguments)},scaleIdentity:()=>function t(e){var r;function n(t){return null==t||isNaN(t*=1)?r:t}return n.invert=n,n.domain=n.range=function(t){return arguments.length?(e=Array.from(t,Q),n):e.slice()},n.unknown=function(t){return arguments.length?(r=t,n):r},n.copy=function(){return t(e).unknown(r)},e=arguments.length?Array.from(e,Q):[0,1],tx(n)},scaleImplicit:()=>tI.h,scaleLinear:()=>tO,scaleLog:()=>function t(){let e=tk(ta()).domain([1,10]);return e.copy=()=>to(e,t()).base(e.base()),tu.C.apply(e,arguments),e},scaleOrdinal:()=>tI.A,scalePoint:()=>N.z,scalePow:()=>tB,scaleQuantile:()=>function t(){var e,r=[],n=[],i=[];function o(){var t=0,e=Math.max(1,n.length);for(i=Array(e-1);++t<e;)i[t-1]=function(t,e,r=G){if(!(!(n=t.length)||isNaN(e*=1))){if(e<=0||n<2)return+r(t[0],0,t);if(e>=1)return+r(t[n-1],n-1,t);var n,i=(n-1)*e,o=Math.floor(i),a=+r(t[o],o,t);return a+(r(t[o+1],o+1,t)-a)*(i-o)}}(r,t/e);return a}function a(t){return null==t||isNaN(t*=1)?e:n[J(i,t)]}return a.invertExtent=function(t){var e=n.indexOf(t);return e<0?[NaN,NaN]:[e>0?i[e-1]:r[0],e<i.length?i[e]:r[r.length-1]]},a.domain=function(t){if(!arguments.length)return r.slice();for(let e of(r=[],t))null==e||isNaN(e*=1)||r.push(e);return r.sort(V),o()},a.range=function(t){return arguments.length?(n=Array.from(t),o()):n.slice()},a.unknown=function(t){return arguments.length?(e=t,a):e},a.quantiles=function(){return i.slice()},a.copy=function(){return t().domain(r).range(n).unknown(e)},tu.C.apply(a,arguments)},scaleQuantize:()=>function t(){var e,r=0,n=1,i=1,o=[.5],a=[0,1];function c(t){return null!=t&&t<=t?a[J(o,t,0,i)]:e}function u(){var t=-1;for(o=Array(i);++t<i;)o[t]=((t+1)*n-(t-i)*r)/(i+1);return c}return c.domain=function(t){return arguments.length?([r,n]=t,r*=1,n*=1,u()):[r,n]},c.range=function(t){return arguments.length?(i=(a=Array.from(t)).length-1,u()):a.slice()},c.invertExtent=function(t){var e=a.indexOf(t);return e<0?[NaN,NaN]:e<1?[r,o[0]]:e>=i?[o[i-1],n]:[o[e-1],o[e]]},c.unknown=function(t){return arguments.length&&(e=t),c},c.thresholds=function(){return o.slice()},c.copy=function(){return t().domain([r,n]).range(a).unknown(e)},tu.C.apply(tx(c),arguments)},scaleRadial:()=>function t(){var e,r=tc(),n=[0,1],i=!1;function o(t){var n,o=Math.sign(n=r(t))*Math.sqrt(Math.abs(n));return isNaN(o)?e:i?Math.round(o):o}return o.invert=function(t){return r.invert(tF(t))},o.domain=function(t){return arguments.length?(r.domain(t),o):r.domain()},o.range=function(t){return arguments.length?(r.range((n=Array.from(t,Q)).map(tF)),o):n.slice()},o.rangeRound=function(t){return o.range(t).round(!0)},o.round=function(t){return arguments.length?(i=!!t,o):i},o.clamp=function(t){return arguments.length?(r.clamp(t),o):r.clamp()},o.unknown=function(t){return arguments.length?(e=t,o):e},o.copy=function(){return t(r.domain(),n).round(i).clamp(r.clamp()).unknown(e)},tu.C.apply(o,arguments),tx(o)},scaleSequential:()=>function t(){var e=tx(rI()(te));return e.copy=function(){return rD(e,t())},tu.K.apply(e,arguments)},scaleSequentialLog:()=>function t(){var e=tk(rI()).domain([1,10]);return e.copy=function(){return rD(e,t()).base(e.base())},tu.K.apply(e,arguments)},scaleSequentialPow:()=>rN,scaleSequentialQuantile:()=>function t(){var e=[],r=te;function n(t){if(null!=t&&!isNaN(t*=1))return r((J(e,t,1)-1)/(e.length-1))}return n.domain=function(t){if(!arguments.length)return e.slice();for(let r of(e=[],t))null==r||isNaN(r*=1)||e.push(r);return e.sort(V),n},n.interpolator=function(t){return arguments.length?(r=t,n):r},n.range=function(){return e.map((t,n)=>r(n/(e.length-1)))},n.quantiles=function(t){return Array.from({length:t+1},(r,n)=>(function(t,e,r){if(!(!(n=(t=Float64Array.from(function*(t,e){if(void 0===e)for(let e of t)null!=e&&(e*=1)>=e&&(yield e);else{let r=-1;for(let n of t)null!=(n=e(n,++r,t))&&(n*=1)>=n&&(yield n)}}(t,void 0))).length)||isNaN(e*=1))){if(e<=0||n<2)return tW(t);if(e>=1)return tz(t);var n,i=(n-1)*e,o=Math.floor(i),a=tz((function t(e,r,n=0,i=1/0,o){if(r=Math.floor(r),n=Math.floor(Math.max(0,n)),i=Math.floor(Math.min(e.length-1,i)),!(n<=r&&r<=i))return e;for(o=void 0===o?tV:function(t=V){if(t===V)return tV;if("function"!=typeof t)throw TypeError("compare is not a function");return(e,r)=>{let n=t(e,r);return n||0===n?n:(0===t(r,r))-(0===t(e,e))}}(o);i>n;){if(i-n>600){let a=i-n+1,c=r-n+1,u=Math.log(a),s=.5*Math.exp(2*u/3),l=.5*Math.sqrt(u*s*(a-s)/a)*(c-a/2<0?-1:1),f=Math.max(n,Math.floor(r-c*s/a+l)),p=Math.min(i,Math.floor(r+(a-c)*s/a+l));t(e,r,f,p,o)}let a=e[r],c=n,u=i;for(tH(e,n,r),o(e[i],a)>0&&tH(e,n,i);c<u;){for(tH(e,c,u),++c,--u;0>o(e[c],a);)++c;for(;o(e[u],a)>0;)--u}0===o(e[n],a)?tH(e,n,u):tH(e,++u,i),u<=r&&(n=u+1),r<=u&&(i=u-1)}return e})(t,o).subarray(0,o+1));return a+(tW(t.subarray(o+1))-a)*(i-o)}})(e,n/t))},n.copy=function(){return t(r).domain(e)},tu.K.apply(n,arguments)},scaleSequentialSqrt:()=>rR,scaleSequentialSymlog:()=>function t(){var e=tC(rI());return e.copy=function(){return rD(e,t()).constant(e.constant())},tu.K.apply(e,arguments)},scaleSqrt:()=>tU,scaleSymlog:()=>function t(){var e=tC(ta());return e.copy=function(){return to(e,t()).constant(e.constant())},tu.C.apply(e,arguments)},scaleThreshold:()=>function t(){var e,r=[.5],n=[0,1],i=1;function o(t){return null!=t&&t<=t?n[J(r,t,0,i)]:e}return o.domain=function(t){return arguments.length?(i=Math.min((r=Array.from(t)).length,n.length-1),o):r.slice()},o.range=function(t){return arguments.length?(n=Array.from(t),i=Math.min(r.length,n.length-1),o):n.slice()},o.invertExtent=function(t){var e=n.indexOf(t);return[r[e-1],r[e]]},o.unknown=function(t){return arguments.length?(e=t,o):e},o.copy=function(){return t().domain(r).range(n).unknown(e)},tu.C.apply(o,arguments)},scaleTime:()=>rT,scaleUtc:()=>
1rC,tickFormat:()=>tb});var f=r(41946),p=r.n(f),h=r(5323),d=r.n(h),y=r(8532),v=r.n(y),m=r(36827),g=r.n(m),b=r(20527),x=r.n(b),O=r(93007),w=r.n(O),E=r(20624),S=r.n(E),_=r(70670),j=r.n(_),A=r(80505),P=r.n(A),k=r(19850),M=r.n(k),T=r(7766),C=r.n(T),I=r(19809),D=r.n(I),N=r(21641);let R=Math.sqrt(50),L=Math.sqrt(10),B=Math.sqrt(2);function U(t,e,r){let n,i,o,a=(e-t)/Math.max(0,r),c=Math.floor(Math.log10(a)),u=a/Math.pow(10,c),s=u>=R?10:u>=L?5:u>=B?2:1;return(c<0?(n=Math.round(t*(o=Math.pow(10,-c)/s)),i=Math.round(e*o),n/o<t&&++n,i/o>e&&--i,o=-o):(n=Math.round(t/(o=Math.pow(10,c)*s)),i=Math.round(e/o),n*o<t&&++n,i*o>e&&--i),i<n&&.5<=r&&r<2)?U(t,e,2*r):[n,i,o]}function F(t,e,r){if(e*=1,t*=1,!((r*=1)>0))return[];if(t===e)return[t];let n=e<t,[i,o,a]=n?U(e,t,r):U(t,e,r);if(!(o>=i))return[];let c=o-i+1,u=Array(c);if(n)if(a<0)for(let t=0;t<c;++t)u[t]=-((o-t)/a);else for(let t=0;t<c;++t)u[t]=(o-t)*a;else if(a<0)for(let t=0;t<c;++t)u[t]=-((i+t)/a);else for(let t=0;t<c;++t)u[t]=(i+t)*a;return u}function z(t,e,r){return U(t*=1,e*=1,r*=1)[2]}function W(t,e,r){e*=1,t*=1,r*=1;let n=e<t,i=n?z(e,t,r):z(t,e,r);return(n?-1:1)*(i<0?-(1/i):i)}function V(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function H(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function $(t){let e,r,n;function i(t,n,o=0,a=t.length){if(o<a){if(0!==e(n,n))return a;do{let e=o+a>>>1;0>r(t[e],n)?o=e+1:a=e}while(o<a)}return o}return 2!==t.length?(e=V,r=(e,r)=>V(t(e),r),n=(e,r)=>t(e)-r):(e=t===V||t===H?t:q,r=t,n=t),{left:i,center:function(t,e,r=0,o=t.length){let a=i(t,e,r,o-1);return a>r&&n(t[a-1],e)>-n(t[a],e)?a-1:a},right:function(t,n,i=0,o=t.length){if(i<o){if(0!==e(n,n))return o;do{let e=i+o>>>1;0>=r(t[e],n)?i=e+1:o=e}while(i<o)}return i}}}function q(){return 0}function G(t){return null===t?NaN:+t}let X=$(V),J=X.right;X.left,$(G).center;var Y=r(62871),K=r(56740);function Z(t,e){return t*=1,e*=1,function(r){return Math.round(t*(1-r)+e*r)}}function Q(t){return+t}var tt=[0,1];function te(t){return t}function tr(t,e){var r;return(e-=t*=1)?function(r){return(r-t)/e}:(r=isNaN(e)?NaN:.5,function(){return r})}function tn(t,e,r){var n=t[0],i=t[1],o=e[0],a=e[1];return i<n?(n=tr(i,n),o=r(a,o)):(n=tr(n,i),o=r(o,a)),function(t){return o(n(t))}}function ti(t,e,r){var n=Math.min(t.length,e.length)-1,i=Array(n),o=Array(n),a=-1;for(t[n]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<n;)i[a]=tr(t[a],t[a+1]),o[a]=r(e[a],e[a+1]);return function(e){var r=J(t,e,1,n)-1;return o[r](i[r](e))}}function to(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function ta(){var t,e,r,n,i,o,a=tt,c=tt,u=Y.A,s=te;function l(){var t,e,r,u=Math.min(a.length,c.length);return s!==te&&(t=a[0],e=a[u-1],t>e&&(r=t,t=e,e=r),s=function(r){return Math.max(t,Math.min(e,r))}),n=u>2?ti:tn,i=o=null,f}function f(e){return null==e||isNaN(e*=1)?r:(i||(i=n(a.map(t),c,u)))(t(s(e)))}return f.invert=function(r){return s(e((o||(o=n(c,a.map(t),K.A)))(r)))},f.domain=function(t){return arguments.length?(a=Array.from(t,Q),l()):a.slice()},f.range=function(t){return arguments.length?(c=Array.from(t),l()):c.slice()},f.rangeRound=function(t){return c=Array.from(t),u=Z,l()},f.clamp=function(t){return arguments.length?(s=!!t||te,l()):s!==te},f.interpolate=function(t){return arguments.length?(u=t,l()):u},f.unknown=function(t){return arguments.length?(r=t,f):r},function(r,n){return t=r,e=n,l()}}function tc(){return ta()(te,te)}var tu=r(2592),ts=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function tl(t){var e;if(!(e=ts.exec(t)))throw Error("invalid format: "+t);return new tf({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function tf(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function tp(t,e){if((r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var r,n=t.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+t.slice(r+1)]}function th(t){return(t=tp(Math.abs(t)))?t[1]:NaN}function td(t,e){var r=tp(t,e);if(!r)return t+"";var n=r[0],i=r[1];return i<0?"0."+Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+Array(i-n.length+2).join("0")}tl.prototype=tf.prototype,tf.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?""
1:Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};let ty={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>td(100*t,e),r:td,s:function(t,e){var r=tp(t,e);if(!r)return t+"";var i=r[0],o=r[1],a=o-(n=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,c=i.length;return a===c?i:a>c?i+Array(a-c+1).join("0"):a>0?i.slice(0,a)+"."+i.slice(a):"0."+Array(1-a).join("0")+tp(t,Math.max(0,e+a-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function tv(t){return t}var tm=Array.prototype.map,tg=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function tb(t,e,r,n){var i,c,u=W(t,e,r);switch((n=tl(null==n?",f":n)).type){case"s":var s=Math.max(Math.abs(t),Math.abs(e));return null!=n.precision||isNaN(c=Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(th(s)/3)))-th(Math.abs(u))))||(n.precision=c),a(n,s);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(c=Math.max(0,th(Math.abs(Math.max(Math.abs(t),Math.abs(e)))-(i=Math.abs(i=u)))-th(i))+1)||(n.precision=c-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(c=Math.max(0,-th(Math.abs(u))))||(n.precision=c-("%"===n.type)*2)}return o(n)}function tx(t){var e=t.domain;return t.ticks=function(t){var r=e();return F(r[0],r[r.length-1],null==t?10:t)},t.tickFormat=function(t,r){var n=e();return tb(n[0],n[n.length-1],null==t?10:t,r)},t.nice=function(r){null==r&&(r=10);var n,i,o=e(),a=0,c=o.length-1,u=o[a],s=o[c],l=10;for(s<u&&(i=u,u=s,s=i,i=a,a=c,c=i);l-- >0;){if((i=z(u,s,r))===n)return o[a]=u,o[c]=s,e(o);if(i>0)u=Math.floor(u/i)*i,s=Math.ceil(s/i)*i;else if(i<0)u=Math.ceil(u*i)/i,s=Math.floor(s*i)/i;else break;n=i}return t},t}function tO(){var t=tc();return t.copy=function(){return to(t,tO())},tu.C.apply(t,arguments),tx(t)}function tw(t,e){t=t.slice();var r,n=0,i=t.length-1,o=t[n],a=t[i];return a<o&&(r=n,n=i,i=r,r=o,o=a,a=r),t[n]=e.floor(o),t[i]=e.ceil(a),t}function tE(t){return Math.log(t)}function tS(t){return Math.exp(t)}function t_(t){return-Math.log(-t)}function tj(t){return-Math.exp(-t)}function tA(t){return isFinite(t)?+("1e"+t):t<0?0:t}function tP(t){return(e,r)=>-t(-e,r)}function tk(t){let e,r,n=t(tE,tS),i=n.domain,a=10;function c(){var o,c;return e=(o=a)===Math.E?Math.log:10===o&&Math.log10||2===o&&Math.log2||(o=Math.log(o),t=>Math.log(t)/o),r=10===(c=a)?tA:c===Math.E?Math.exp:t=>Math.pow(c,t),i()[0]<0?(e=tP(e),r=tP(r),t(t_,tj)):t(tE,tS),n}return n.base=function(t){return arguments.length?(a=+t,c()):a},n.domain=function(t){return arguments.length?(i(t),c()):i()},n.ticks=t=>{let n,o,c=i(),u=c[0],s=c[c.length-1],l=s<u;l&&([u,s]=[s,u]);let f=e(u),p=e(s),h=null==t?10:+t,d=[];if(!(a%1)&&p-f<h){if(f=Math.floor(f),p=Math.ceil(p),u>0){for(;f<=p;++f)for(n=1;n<a;++n)if(!((o=f<0?n/r(-f):n*r(f))<u)){if(o>s)break;d.push(o)}}else for(;f<=p;++f)for(n=a-1;n>=1;--n)if(!((o=f>0?n/r(-f):n*r(f))<u)){if(o>s)break;d.push(o)}2*d.length<h&&(d=F(u,s,h))}else d=F(f,p,Math.min(p-f,h)).map(r);return l?d.reverse():d},n.tickFormat=(t,i)=>{if(null==t&&(t=10),null==i&&(i=10===a?"s":","),"function"!=typeof i&&(a%1||null!=(i=tl(i)).precision||(i.trim=!0),i=o(i)),t===1/0)return i;let c=Math.max(1,a*t/n.ticks().length);return t=>{let n=t/r(Math.round(e(t)));return n*a<a-.5&&(n*=a),n<=c?i(t):""}},n.nice=()=>i(tw(i(),{floor:t=>r(Math.floor(e(t))),ceil:t=>r(Math.ceil(e(t)))})),n}function tM(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function tT(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function tC(t){var e=1,r=t(tM(1),tT(e));return r.constant=function(r){return arguments.length?t(tM(e=+r),tT(e)):e},tx(r)}o=(i=function(t){var e,r,i,o=void 0===t.grouping||void 0===t.thousands?tv:(e=tm.call(t.grouping,Number),r=t.thousands+"",function(t,n){for(var i=t.length,o=[],a=0,c=e[0],u=0;i>0&&c>0&&(u+c+1>n&&(c=Math.max(1,n-u)),o.push(t.substring(i-=c,i+c)),!((u+=c+1)>n));)c=e[a=(a+1)%e.length];return o.reverse().join(r)}),a=void 0===t.currency?"":t.currency[0]+"",c=void 0===t.currency?"":t.currency[1]+"",u=void 0===t.decimal?".":t.decimal+"",s=void 0===t.numerals?tv:(i=tm.call(t.numerals,String),function(t){return t.replace(/[0-9]/g,function(t){return i[+t]})}),l=void 0===t.percent?"%":t.percent+"",f=void 0===t.minus?"−":t.minus+"",p=void 0===t.nan?"NaN":t.nan+"";function h(t){var e=(t=tl(t)).fill,r=t.align,i=t.sign,h=t.symbol,d=t.zero,y=t.
1width,v=t.comma,m=t.precision,g=t.trim,b=t.type;"n"===b?(v=!0,b="g"):ty[b]||(void 0===m&&(m=12),g=!0,b="g"),(d||"0"===e&&"="===r)&&(d=!0,e="0",r="=");var x="$"===h?a:"#"===h&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",O="$"===h?c:/[%p]/.test(b)?l:"",w=ty[b],E=/[defgprs%]/.test(b);function S(t){var a,c,l,h=x,S=O;if("c"===b)S=w(t)+S,t="";else{var _=(t*=1)<0||1/t<0;if(t=isNaN(t)?p:w(Math.abs(t),m),g&&(t=function(t){t:for(var e,r=t.length,n=1,i=-1;n<r;++n)switch(t[n]){case".":i=e=n;break;case"0":0===i&&(i=n),e=n;break;default:if(!+t[n])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),_&&0==+t&&"+"!==i&&(_=!1),h=(_?"("===i?i:f:"-"===i||"("===i?"":i)+h,S=("s"===b?tg[8+n/3]:"")+S+(_&&"("===i?")":""),E){for(a=-1,c=t.length;++a<c;)if(48>(l=t.charCodeAt(a))||l>57){S=(46===l?u+t.slice(a+1):t.slice(a))+S,t=t.slice(0,a);break}}}v&&!d&&(t=o(t,1/0));var j=h.length+t.length+S.length,A=j<y?Array(y-j+1).join(e):"";switch(v&&d&&(t=o(A+t,A.length?y-S.length:1/0),A=""),r){case"<":t=h+t+S+A;break;case"=":t=h+A+t+S;break;case"^":t=A.slice(0,j=A.length>>1)+h+t+S+A.slice(j);break;default:t=A+h+t+S}return s(t)}return m=void 0===m?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),S.toString=function(){return t+""},S}return{format:h,formatPrefix:function(t,e){var r=h(((t=tl(t)).type="f",t)),n=3*Math.max(-8,Math.min(8,Math.floor(th(e)/3))),i=Math.pow(10,-n),o=tg[8+n/3];return function(t){return r(i*t)+o}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,a=i.formatPrefix;var tI=r(93478);function tD(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function tN(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function tR(t){return t<0?-t*t:t*t}function tL(t){var e=t(te,te),r=1;return e.exponent=function(e){return arguments.length?1==(r=+e)?t(te,te):.5===r?t(tN,tR):t(tD(r),tD(1/r)):r},tx(e)}function tB(){var t=tL(ta());return t.copy=function(){return to(t,tB()).exponent(t.exponent())},tu.C.apply(t,arguments),t}function tU(){return tB.apply(null,arguments).exponent(.5)}function tF(t){return Math.sign(t)*t*t}function tz(t,e){let r;if(void 0===e)for(let e of t)null!=e&&(r<e||void 0===r&&e>=e)&&(r=e);else{let n=-1;for(let i of t)null!=(i=e(i,++n,t))&&(r<i||void 0===r&&i>=i)&&(r=i)}return r}function tW(t,e){let r;if(void 0===e)for(let e of t)null!=e&&(r>e||void 0===r&&e>=e)&&(r=e);else{let n=-1;for(let i of t)null!=(i=e(i,++n,t))&&(r>i||void 0===r&&i>=i)&&(r=i)}return r}function tV(t,e){return(null==t||!(t>=t))-(null==e||!(e>=e))||(t<e?-1:+(t>e))}function tH(t,e,r){let n=t[e];t[e]=t[r],t[r]=n}let t$=new Date,tq=new Date;function tG(t,e,r,n){function i(e){return t(e=0==arguments.length?new Date:new Date(+e)),e}return i.floor=e=>(t(e=new Date(+e)),e),i.ceil=r=>(t(r=new Date(r-1)),e(r,1),t(r),r),i.round=t=>{let e=i(t),r=i.ceil(t);return t-e<r-t?e:r},i.offset=(t,r)=>(e(t=new Date(+t),null==r?1:Math.floor(r)),t),i.range=(r,n,o)=>{let a,c=[];if(r=i.ceil(r),o=null==o?1:Math.floor(o),!(r<n)||!(o>0))return c;do c.push(a=new Date(+r)),e(r,o),t(r);while(a<r&&r<n);return c},i.filter=r=>tG(e=>{if(e>=e)for(;t(e),!r(e);)e.setTime(e-1)},(t,n)=>{if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!r(t););else for(;--n>=0;)for(;e(t,1),!r(t););}),r&&(i.count=(e,n)=>(t$.setTime(+e),tq.setTime(+n),t(t$),t(tq),Math.floor(r(t$,tq))),i.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?i.filter(n?e=>n(e)%t==0:e=>i.count(0,e)%t==0):i:null),i}let tX=tG(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);tX.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?tG(e=>{e.setTime(Math.floor(e/t)*t)},(e,r)=>{e.setTime(+e+r*t)},(e,r)=>(r-e)/t):tX:null,tX.range;let tJ=tG(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+1e3*e)},(t,e)=>(e-t)/1e3,t=>t.getUTCSeconds());tJ.range;let tY=tG(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getMinutes());tY.range;let tK=tG(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getUTCMinutes());tK.range;let tZ=tG(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())},(t,e)=>{t.setTime(+t+36e5*e)},(t,e)=>(e-t)/36e5,t=>t.getHours());tZ.range;let tQ=tG(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+36e5*e)},(t,e)=>(e-t)/36e5,t=>t.getUTCHours());tQ.range;let t0=tG(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/864e5,t=>t.getDate()-1);t0.range;let t1=tG(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>t.getUTCDate()-1);t1.range;let t2=tG(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>Math.floor(t/864e5));function t3(t){return tG(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(t,e)=>{t.setDate(t.getDate()+7*e)},(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/6048e5)}t2.range;let t5=t3(0),t4=t3(1),t6=t3(2),t9=t3(3),t8=t3(4),t7=t3(5),et=t3(6);function ee(t){return tG(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+7*e)},(t,e)=>(e-t)/6048e5)}t5.range,t4.range,t6.range,t9.range,t8.range,t7.range,et.range;let er=ee(0),en=ee(1),ei=ee(2),eo=ee(3),ea=ee(4),ec=ee(5),eu=ee(6);er.range,en.range,ei.range,eo.range,ea.range,ec.range,eu.range;let es=tG(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());es.range;let el=tG(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());el.range;let ef=tG(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());ef.every=t=>isFinite(t=Math.floor(t))&&t>0?tG(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,r)=>{e.setFullYear(e.getFullYear()+r*t)}):null,ef.range;let ep=tG(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());function eh(t,e,r,n,i,o){let a=[[tJ,1,1e3],[tJ,5,5e3],[tJ,15,15e3],[tJ,30,3e4],[o,1,6e4],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,36e5],[i,3,108e5],[i,6,216e5],[i,12,432e5],[n,1,864e5],[n,2,1728e5],[r,1,6048e5],[e,1,2592e6],[e,3,7776e6],[t,1,31536e6]];function c(e,r,n){let i=Math.abs(r-e)/n,o=$(([,,t])=>t).right(a,i);if(o===a.length)return t.every(W(e/31536e6,r/31536e6,n));if(0===o)return tX.every(Math.max(W(e,r,n),1));let[c,u]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return c.every(u)}return[function(t,e,r){let n=e<t;n&&([t,e]=[e,t]);let i=r&&"function"==typeof r.range?r:c(t,e,r),o=i?i.range(t,+e+1):[];return n?o.reverse():o},c]}ep.every=t=>isFinite(t=Math.floor(t))&&t>0?tG(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCFullYear(e.getUTCFullYear()+r*t)}):null,ep.range;let[ed,ey]=eh(ep,el,er,t2,tQ,tK),[ev,em]=eh(ef,es,t5,t0,tZ,tY);function eg(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function eb(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function ex(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}var eO={"-":"",_:" ",0:"0"},ew=/^\s*\d+/,eE=/^%/,eS=/[\\^$*+?|[\]().{}]/g;function e_(t,e,r){var n=t<0?"-":"",i=(n?-t:t)+"",o=i.length;return n+(o<r?Array(r-o+1).join(e)+i:i)}function ej(t){return t.replace(eS,"\\$&")}function eA(t){return RegExp("^(?:"+t.map(ej).join("|")+")","i")}function eP(t){return new Map(t.map((t,e)=>[t.toLowerCase(),e]))}function ek(t,e,r){var n=ew.exec(e.slice(r,r+1));return n?(t.w=+n[0],r+n[0].length):-1}function eM(t,e,r){var n=ew.exec(e.slice(r,r+1));return n?(t.u=+n[0],r+n[0].length):-1}function eT(t,e,r){var n=ew.exec(e.slice(r,r+2));return n?(t.U=+n[0],r+n[0].length):-1}function eC(t,e,r){var n=ew.exec(e.slice(r,r+2));return n?(t.V=+n[0],r+n[0].length):-1}function eI(t,e,r){var n=ew.exec(e.slice(r,r+2));return n?(t.W=+n[0],r+n[0].length):-1}function eD(t,e,r){var n=ew.exec(e.slice(r,r+4));return n?(t.y=+n[0],r+n[0].length):-1}function eN(t,e,r){var n=ew.exec(e.slice(r,r+2));return n?(t.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function eR(t,e,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return n?(t.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function eL(t,e,r){var n=ew.exec(e.slice(r,r+1));return n?(t.q=3*n[0]-3,r+n[0].length):-1}function eB(t,e,r){var n=ew.exec(e.slice(r,r+2));return n?(t.m=n[0]-1,r+n[0].length):-1}function eU(t,e,r){var n=ew.exec(e.slice(r,r+2));return n?(t.d=+n[0],r+n[0].length):-1}function eF(t,e,r){var n=ew.exec(e.slice(r,r+3));return n?(t.m=0,t.d=+n[0],r+n[0].length):-1}function ez(t,e,r){var n=ew.exec(e.slice(r,r+2));return n?(t.H=+n[0],r+n[0].length):-1}function eW(t,e,r){var n=ew.exec(e.slice(r,r+2));return n?(t.M=+n[0],r+n[0].length):-1}function eV(t,e,r){var n=ew.exec(e.slice(r,r+2));return n?(t.S=+n[0],r+n[0].length):-1}function eH(t,e,r){var n=ew.exec(e.slice(r,r+3));return n?(t.L=+n[0],r+n[0].length):-1}function e$(t,e,r){var n=ew.exec(e.slice(r,r+6));return n?(t.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function eq(t,e,r){var n=eE.exec(e.slice(r,r+1));return n?r+n[0].length:-1}function eG(t,e,r){var n=ew.exec(e.slice(r));return n?(t.Q=+n[0],r+n[0].length):-1}function eX(t,e,r){var n=ew.exec(e.slice(r));return n?(t.s=+n[0],r+n[0].length):-1}function eJ(t,e){return e_(t.getDate(),e,2)}function eY(t,e){return e_(t.getHours(),e,2)}function eK(t,e){return e_(t.getHours()%12||12,e,2)}function eZ(t,e){return e_(1+t0.count(ef(t),t),e,3)}function eQ(t,e){return e_(t.getMilliseconds(),e,3)}function e0(t,e){return eQ(t,e)+"000"}function e1(t,e){return e_(t.getMonth()+1,e,2)}function e2(t,e){return e_(t.getMinutes(),e,2)}function e3(t,e){return e_(t.getSeconds(),e,2)}function e5(t){var e=t.getDay();return 0===e?7:e}function e4(t,e){return e_(t5.count(ef(t)-1,t),e,2)}function e6(t){var e=t.getDay();return e>=4||0===e?t8(t):t8.ceil(t)}function e9(t,e){return t=e6(t),e_(t8.count(ef(t),t)+(4===ef(t).getDay()),e,2)}function e8(t){return t.getDay()}function e7(t,e){return e_(t4.count(ef(t)-1,t),e,2)}function rt(t,e){return e_(t.getFullYear()%100,e,2)}function re(t,e){return e_((t=e6(t)).getFullYear()%100,e,2)}function rr(t,e){return e_(t.getFullYear()%1e4,e,4)}function rn(t,e){var r=t.getDay();return e_((t=r>=4||0===r?t8(t):t8.ceil(t)).getFullYear()%1e4,e,4)}function ri(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+e_(e/60|0,"0",2)+e_(e%60,"0",2)}function ro(t,e){return e_(t.getUTCDate(),e,2)}function ra(t,e){return e_(t.getUTCHours(),e,2)}function rc(t,e){return e_(t.getUTCHours()%12||12,e,2)}function ru(t,e){return e_(1+t1.count(ep(t),t),e,3)}function rs(t,e){return e_(t.getUTCMilliseconds(),e,3)}function rl(t,e){return rs(t,e)+"000"}function rf(t,e){return e_(t.getUTCMonth()+1,e,2)}function rp(t,e){return e_(t.getUTCMinutes(),e,2)}function rh(t,e){return e_(t.getUTCSeconds(),e,2)}function rd(t){var e=t.getUTCDay();return 0===e?7:e}function ry(t,e){return e_(er.count(ep(t)-1,t),e,2)}function rv(t){var e=t.getUTCDay();return e>=4||0===e?ea(t):ea.ceil(t)}function rm(t,e){return t=rv(t),e_(ea.count(ep(t),t)+(4===ep(t).getUTCDay()),e,2)}function rg(t){return t.getUTCDay()}function rb(t,e){return e_(en.count(ep(t)-1,t),e,2)}function rx(t,e){return e_(t.getUTCFullYear()%100,e,2)}function rO(t,e){return e_((t=rv(t)).getUTCFullYear()%100,e,2)}function rw(t,e){return e_(t.getUTCFullYear()%1e4,e,4)}function rE(t,e){var r=t.getUTCDay();return e_((t=r>=4||0===r?ea(t):ea.ceil(t)).getUTCFullYear()%1e4,e,4)}function rS(){return"+0000"}function r_(){return"%"}function rj(t){return+t}function rA(t){return Math.floor(t/1e3)}function rP(t){return new Date(t)}function rk(t){return t instanceof Date?+t:+new Date(+t)}function rM(t,e,r,n,i,o,a,c,u,s){var l=tc(),f=l.invert,p=l.domain,h=s(".%L"),d=s(":%S"),y=s("%I:%M"),v=s("%I %p"),m=s("%a %d"),g=s("%b %
1d"),b=s("%B"),x=s("%Y");function O(t){return(u(t)<t?h:c(t)<t?d:a(t)<t?y:o(t)<t?v:n(t)<t?i(t)<t?m:g:r(t)<t?b:x)(t)}return l.invert=function(t){return new Date(f(t))},l.domain=function(t){return arguments.length?p(Array.from(t,rk)):p().map(rP)},l.ticks=function(e){var r=p();return t(r[0],r[r.length-1],null==e?10:e)},l.tickFormat=function(t,e){return null==e?O:s(e)},l.nice=function(t){var r=p();return t&&"function"==typeof t.range||(t=e(r[0],r[r.length-1],null==t?10:t)),t?p(tw(r,t)):l},l.copy=function(){return to(l,rM(t,e,r,n,i,o,a,c,u,s))},l}function rT(){return tu.C.apply(rM(ev,em,ef,es,t5,t0,tZ,tY,tJ,u).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function rC(){return tu.C.apply(rM(ed,ey,ep,el,er,t1,tQ,tK,tJ,s).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function rI(){var t,e,r,n,i,o=0,a=1,c=te,u=!1;function s(e){return null==e||isNaN(e*=1)?i:c(0===r?.5:(e=(n(e)-t)*r,u?Math.max(0,Math.min(1,e)):e))}function l(t){return function(e){var r,n;return arguments.length?([r,n]=e,c=t(r,n),s):[c(0),c(1)]}}return s.domain=function(i){return arguments.length?([o,a]=i,t=n(o*=1),e=n(a*=1),r=t===e?0:1/(e-t),s):[o,a]},s.clamp=function(t){return arguments.length?(u=!!t,s):u},s.interpolator=function(t){return arguments.length?(c=t,s):c},s.range=l(Y.A),s.rangeRound=l(Z),s.unknown=function(t){return arguments.length?(i=t,s):i},function(i){return n=i,t=i(o),e=i(a),r=t===e?0:1/(e-t),s}}function rD(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function rN(){var t=tL(rI());return t.copy=function(){return rD(t,rN()).exponent(t.exponent())},tu.K.apply(t,arguments)}function rR(){return rN.apply(null,arguments).exponent(.5)}function rL(){var t,e,r,n,i,o,a,c=0,u=.5,s=1,l=1,f=te,p=!1;function h(t){return isNaN(t*=1)?a:(t=.5+((t=+o(t))-e)*(l*t<l*e?n:i),f(p?Math.max(0,Math.min(1,t)):t))}function d(t){return function(e){var r,n,i;return arguments.length?([r,n,i]=e,f=function(t,e){void 0===e&&(e=t,t=Y.A);for(var r=0,n=e.length-1,i=e[0],o=Array(n<0?0:n);r<n;)o[r]=t(i,i=e[++r]);return function(t){var e=Math.max(0,Math.min(n-1,Math.floor(t*=n)));return o[e](t-e)}}(t,[r,n,i]),h):[f(0),f(.5),f(1)]}}return h.domain=function(a){return arguments.length?([c,u,s]=a,t=o(c*=1),e=o(u*=1),r=o(s*=1),n=t===e?0:.5/(e-t),i=e===r?0:.5/(r-e),l=e<t?-1:1,h):[c,u,s]},h.clamp=function(t){return arguments.length?(p=!!t,h):p},h.interpolator=function(t){return arguments.length?(f=t,h):f},h.range=d(Y.A),h.rangeRound=d(Z),h.unknown=function(t){return arguments.length?(a=t,h):a},function(a){return o=a,t=a(c),e=a(u),r=a(s),n=t===e?0:.5/(e-t),i=e===r?0:.5/(r-e),l=e<t?-1:1,h}}function rB(){var t=tL(rL());return t.copy=function(){return rD(t,rB()).exponent(t.exponent())},tu.K.apply(t,arguments)}function rU(){return rB.apply(null,arguments).exponent(.5)}function rF(t,e){if((i=t.length)>1)for(var r,n,i,o=1,a=t[e[0]],c=a.length;o<i;++o)for(n=a,a=t[e[o]],r=0;r<c;++r)a[r][1]+=a[r][0]=isNaN(n[r][1])?n[r][0]:n[r][1]}u=(c=function(t){var e=t.dateTime,r=t.date,n=t.time,i=t.periods,o=t.days,a=t.shortDays,c=t.months,u=t.shortMonths,s=eA(i),l=eP(i),f=eA(o),p=eP(o),h=eA(a),d=eP(a),y=eA(c),v=eP(c),m=eA(u),g=eP(u),b={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return u[t.getMonth()]},B:function(t){return c[t.getMonth()]},c:null,d:eJ,e:eJ,f:e0,g:re,G:rn,H:eY,I:eK,j:eZ,L:eQ,m:e1,M:e2,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:rj,s:rA,S:e3,u:e5,U:e4,V:e9,w:e8,W:e7,x:null,X:null,y:rt,Y:rr,Z:ri,"%":r_},x={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return u[t.getUTCMonth()]},B:function(t){return c[t.getUTCMonth()]},c:null,d:ro,e:ro,f:rl,g:rO,G:rE,H:ra,I:rc,j:ru,L:rs,m:rf,M:rp,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:rj,s:rA,S:rh,u:rd,U:ry,V:rm,w:rg,W:rb,x:null,X:null,y:rx,Y:rw,Z:rS,"%":r_},O={a:function(t,e,r){var n=h.exec(e.slice(r));return n?(t.w=d.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(t,e,r){var n=f.exec(e.slice(r));return n?(t.w=p.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(t,e,r){var n=m.exec(e.slice(r));return n?(t.m=g.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(t,e,r){var n=y.exec(e.slice(r));return n?(t.m=v.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(t,r,n){return S(t,e,r,n)},d:eU,e:eU,f:e$,g:eN,G:eD,H:ez,I:ez,j:eF,L:eH,m:eB,M:eW,p:function(t,e,r){var n=s.exec(e.slice(r));return n?(t.p=l.get(n[0].toLowerCase()),r+n[0].length):-1},q:eL,Q:eG,s:eX,S:eV,u:eM,U:eT,V:eC,w:ek,W:eI,x:function(t,e,n){return S(t,r,e,n)},X:function(t,e,r){return S(t,n,e,r)},y:eN,Y:eD,Z:eR,"%":eq};function w(t,e){return function(r){var n,i,o,a=[],c=-1,u=0,s=t.length;for(r instanceof Date||(r=new Date(+r));++c<s;)37===t.charCodeAt(c)&&(a.push(t.slice(u,c)),null!=(i=eO[n=t.charAt(++c)])?n=t.charAt(++c):i="e"===n?" ":"0",(o=e[n])&&(n=o(r,
1i)),a.push(n),u=c+1);return a.push(t.slice(u,c)),a.join("")}}function E(t,e){return function(r){var n,i,o=ex(1900,void 0,1);if(S(o,t,r+="",0)!=r.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(!e||"Z"in o||(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(n=(i=(n=eb(ex(o.y,0,1))).getUTCDay())>4||0===i?en.ceil(n):en(n),n=t1.offset(n,(o.V-1)*7),o.y=n.getUTCFullYear(),o.m=n.getUTCMonth(),o.d=n.getUTCDate()+(o.w+6)%7):(n=(i=(n=eg(ex(o.y,0,1))).getDay())>4||0===i?t4.ceil(n):t4(n),n=t0.offset(n,(o.V-1)*7),o.y=n.getFullYear(),o.m=n.getMonth(),o.d=n.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:+("W"in o)),i="Z"in o?eb(ex(o.y,0,1)).getUTCDay():eg(ex(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,eb(o)):eg(o)}}function S(t,e,r,n){for(var i,o,a=0,c=e.length,u=r.length;a<c;){if(n>=u)return -1;if(37===(i=e.charCodeAt(a++))){if(!(o=O[(i=e.charAt(a++))in eO?e.charAt(a++):i])||(n=o(t,r,n))<0)return -1}else if(i!=r.charCodeAt(n++))return -1}return n}return b.x=w(r,b),b.X=w(n,b),b.c=w(e,b),x.x=w(r,x),x.X=w(n,x),x.c=w(e,x),{format:function(t){var e=w(t+="",b);return e.toString=function(){return t},e},parse:function(t){var e=E(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=w(t+="",x);return e.toString=function(){return t},e},utcParse:function(t){var e=E(t+="",!0);return e.toString=function(){return t},e}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})).format,c.parse,s=c.utcFormat,c.utcParse;var rz=r(79036),rW=r(26539);function rV(t){for(var e=t.length,r=Array(e);--e>=0;)r[e]=e;return r}function rH(t,e){return t[e]}function r$(t){let e=[];return e.key=t,e}var rq=r(35493),rG=r.n(rq);function rX(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var rJ=function(t){return t},rY={},rK=function(t){return t===rY},rZ=function(t){return function e(){return 0==arguments.length||1==arguments.length&&rK(arguments.length<=0?void 0:arguments[0])?e:t.apply(void 0,arguments)}},rQ=function(t){return function t(e,r){return 1===e?r:rZ(function(){for(var n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];var a=i.filter(function(t){return t!==rY}).length;return a>=e?r.apply(void 0,i):t(e-a,rZ(function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var o=i.map(function(t){return rK(t)?e.shift():t});return r.apply(void 0,((function(t){if(Array.isArray(t))return rX(t)})(o)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(o)||function(t,e){if(t){if("string"==typeof t)return rX(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return rX(t,e)}}(o)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat(e))}))})}(t.length,t)},r0=function(t,e){for(var r=[],n=t;n<e;++n)r[n-t]=n;return r},r1=rQ(function(t,e){return Array.isArray(e)?e.map(t):Object.keys(e).map(function(t){return e[t]}).map(t)}),r2=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];if(!e.length)return rJ;var n=e.reverse(),i=n[0],o=n.slice(1);return function(){return o.reduce(function(t,e){return e(t)},i.apply(void 0,arguments))}},r3=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},r5=function(t){var e=null,r=null;return function(){for(var n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return e&&i.every(function(t,r){return t===e[r]})?r:(e=i,r=t.apply(void 0,i))}};rQ(function(t,e,r){var n=+t;return n+r*(e-n)}),rQ(function(t,e,r){var n=e-t;return(r-t)/(n=n||1/0)}),rQ(function(t,e,r){var n=e-t;return Math.max(0,Math.min(1,(r-t)/(n=n||1/0)))});let r4={rangeStep:function(t,e,r){for(var n=new(rG())(t),i=0,o=[];n.lt(e)&&i<1e5;)o.push(n.toNumber()),n=n.add(r),i++;return o},getDigitCount:function(t){return 0===t?1:Math.floor(new(rG())(t).abs().log(10).toNumber())+1}};function r6(t){return function(t){if(Array.isArray(t))return r7(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||r8(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r9(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){i=!0,o=t}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return r}}(t,e)||r8(t,e)||function(){throw TypeError("Invalid attempt to de
1structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r8(t,e){if(t){if("string"==typeof t)return r7(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return r7(t,e)}}function r7(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function nt(t){var e=r9(t,2),r=e[0],n=e[1],i=r,o=n;return r>n&&(i=n,o=r),[i,o]}function ne(t,e,r){if(t.lte(0))return new(rG())(0);var n=r4.getDigitCount(t.toNumber()),i=new(rG())(10).pow(n),o=t.div(i),a=1!==n?.05:.1,c=new(rG())(Math.ceil(o.div(a).toNumber())).add(r).mul(a).mul(i);return e?c:new(rG())(Math.ceil(c))}function nr(t,e,r){var n=1,i=new(rG())(t);if(!i.isint()&&r){var o=Math.abs(t);o<1?(n=new(rG())(10).pow(r4.getDigitCount(t)-1),i=new(rG())(Math.floor(i.div(n).toNumber())).mul(n)):o>1&&(i=new(rG())(Math.floor(t)))}else 0===t?i=new(rG())(Math.floor((e-1)/2)):r||(i=new(rG())(Math.floor(t)));var a=Math.floor((e-1)/2);return r2(r1(function(t){return i.add(new(rG())(t-a).mul(n)).toNumber()}),r0)(0,e)}var nn=r5(function(t){var e=r9(t,2),r=e[0],n=e[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=Math.max(i,2),c=r9(nt([r,n]),2),u=c[0],s=c[1];if(u===-1/0||s===1/0){var l=s===1/0?[u].concat(r6(r0(0,i-1).map(function(){return 1/0}))):[].concat(r6(r0(0,i-1).map(function(){return-1/0})),[s]);return r>n?r3(l):l}if(u===s)return nr(u,i,o);var f=function t(e,r,n,i){var o,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((r-e)/(n-1)))return{step:new(rG())(0),tickMin:new(rG())(0),tickMax:new(rG())(0)};var c=ne(new(rG())(r).sub(e).div(n-1),i,a),u=Math.ceil((o=e<=0&&r>=0?new(rG())(0):(o=new(rG())(e).add(r).div(2)).sub(new(rG())(o).mod(c))).sub(e).div(c).toNumber()),s=Math.ceil(new(rG())(r).sub(o).div(c).toNumber()),l=u+s+1;return l>n?t(e,r,n,i,a+1):(l<n&&(s=r>0?s+(n-l):s,u=r>0?u:u+(n-l)),{step:c,tickMin:o.sub(new(rG())(u).mul(c)),tickMax:o.add(new(rG())(s).mul(c))})}(u,s,a,o),p=f.step,h=f.tickMin,d=f.tickMax,y=r4.rangeStep(h,d.add(new(rG())(.1).mul(p)),p);return r>n?r3(y):y});r5(function(t){var e=r9(t,2),r=e[0],n=e[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=Math.max(i,2),c=r9(nt([r,n]),2),u=c[0],s=c[1];if(u===-1/0||s===1/0)return[r,n];if(u===s)return nr(u,i,o);var l=ne(new(rG())(s).sub(u).div(a-1),o,0),f=r2(r1(function(t){return new(rG())(u).add(new(rG())(t).mul(l)).toNumber()}),r0)(0,a).filter(function(t){return t>=u&&t<=s});return r>n?r3(f):f});var ni=r5(function(t,e){var r=r9(t,2),n=r[0],i=r[1],o=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=r9(nt([n,i]),2),c=a[0],u=a[1];if(c===-1/0||u===1/0)return[n,i];if(c===u)return[c];var s=Math.max(e,2),l=ne(new(rG())(u).sub(c).div(s-1),o,0),f=[].concat(r6(r4.rangeStep(new(rG())(c),new(rG())(u).sub(new(rG())(.99).mul(l)),l)),[u]);return n>i?r3(f):f}),no=r(8150),na=r(34014),nc=r(11540),nu=r(62639);function ns(t){return(ns="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function nl(t){return function(t){if(Array.isArray(t))return nf(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return nf(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return nf(t,e)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nf(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function np(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function nh(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?np(Object(r),!0).forEach(function(e){nd(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):np(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function nd(t,e,r){var n;return(n=function(t,e){if("object"!==ns(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==ns(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"===ns(n)?n:String(n))in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ny(t,e,r){return D()(t)||D()(e)?r:(0,nc.vh)(e)?C()(t,e,r):M()(e)?e(t):r}function nv(t,e,r,n){var i=P()(t,function(t){return ny(t,e)});if("number"===r){var o=i.filter(function(t){return(0,nc.Et)(t)||parseFloat(t)});return o.length?[j()(o),S()(o)]:[1/0,-1/0]}return(n?i.filter(function(t){return!D()(t)}):i).map(function(t){return(0,nc.vh)(t)||t instanceof Date?t:""})}var nm=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=-1,a=null!=(e=null==r?void 0:r.length)?e:0;if(a<=1)return 0;if(i&&"angleAxis"===i.axisType&&1e-6>=Math.abs(Math.abs(i.range[1]-i.range[0])-360))for(var c=i.range,u=0;u<a;u++){var s=u>0?n[u-1].coordinate:n[a-1].coordinate,l=n[u].coordinate,f=u>=a-1?n[0].coordinate:n[u+1].coordinate,p=void 0;if((0,nc.sA)(l-s)!==(0,nc.sA)(f-l)){var h=[];if((0,nc.sA)(f-l)===(0,nc.sA)(c[1]-c[0])){p=f;var d=l+c[1]-c[0];h[0]=Math.min(d,(d+s)/2),h[1]=Math.max(d,(d+s)/2)}else{p=s;var y=f+c[1]-c[0];h[0]=Math.min(l,(y+l)/2),h[1]=Math.max(l,(y+l)/2)}var v=[Math.min(l,(p+l)/2),Math.max(l,(p+l)/2)];if(t>v[0]&&t<=v[1]||t>=h[0]&&t<=h[1]){o=n[u].index;break}}else{var m=Math.min(s,f),g=Math.max(s,f);if(t>(m+l)/2&&t<=(g+l)/2){o=n[u].index;break}}}else for(var b=0;b<a;b++)if(0===b&&t<=(r[b].coordinate+r[b+1].coordinate)/2||b>0&&b<a-1&&t>(r[b].coordinate+r[b-1].coordinate)/2&&t<=(r[b].coordinate+r[b+1].coordinate)/2||b===a-1&&t>(r[b].coordinate+r[b-1].coordinate)/2){o=r[b].index;break}return o},ng=function(t){var e,r=t.type.displayName,n=t.props,i=n.stroke,o=n.fill;switch(r){case"Line":e=i;break;case"Area":case"Radar":e=i&&"none"!==i?i:o;break;default:e=o}return e},nb=function(t){var e,r=t.children,n=t.formattedGraphicalItems,i=t.legendWidth,o=t.legendContent,a=(0,nu.BU)(r,na.s);return a?(e=a.props&&a.props.payload?a.props&&a.props.payload:"children"===o?(n||[]).reduce(function(t,e){var r=e.item,n=e.props,i=n.sectors||n.data||[];return t.concat(i.map(function(t){return{type:a.props.iconType||r.props.legendType,value:t.name,color:t.fill,payload:t}}))},[]):(n||[]).map(function(t){var e=t.item,r=e.props,n=r.dataKey,i=r.name,o=r.legendType;return{inactive:r.hide,dataKey:n,type:a.props.iconType||o||"square",color:ng(e),value:i||n,payload:e.props}}),nh(nh(nh({},a.props),na.s.getWithHeight(a,i)),{},{payload:e,item:a})):null},nx=function(t){var e=t.barSize,r=t.stackGroups,n=void 0===r?{}:r;if(!n)return{};for(var i={},o=Object.keys(n),a=0,c=o.length;a<c;a++)for(var u=n[o[a]].stackGroups,s=Object.keys(u),l=0,f=s.length;l<f;l++){var p=u[s[l]],h=p.items,d=p.cateAxisId,y=h.filter(function(t){return(0,nu.Mn)(t.type).indexOf("Bar")>=0});if(y&&y.length){var v=y[0].props.barSize,m=y[0].props[d];i[m]||(i[m]=[]),i[m].push({item:y[0],stackList:y.slice(1),barSize:D()(v)?e:v})}}return i},nO=function(t){var e,r=t.barGap,n=t.barCategoryGap,i=t.bandSize,o=t.sizeList,a=void 0===o?[]:o,c=t.maxBarSize,u=a.length;if(u<1)return null;var s=(0,nc.F4)(r,i,0,!0);if(a[0].barSize===+a[0].barSize){var l=!1,f=i/u,p=a.reduce(function(t,e){return t+e.barSize||0},0);(p+=(u-1)*s)>=i&&(p-=(u-1)*s,s=0),p>=i&&f>0&&(l=!0,f*=.9,p=u*f);var h={offset:((i-p)/2|0)-s,size:0};e=a.reduce(function(t,e){var r=[].concat(nl(t),[{item:e.item,position:{offset:h.offset+h.size+s,size:l?f:e.barSize}}]);return h=r[r.length-1].position,e.stackList&&e.stackList.length&&e.stackList.forEach(function(t){r.push({item:t,position:h})}),r},[])}else{var d=(0,nc.F4)(n,i,0,!0);i-2*d-(u-1)*s<=0&&(s=0);var y=(i-2*d-(u-1)*s)/u;y>1&&(y>>=0);var v=c===+c?Math.min(y,c):y;e=a.reduce(function(t,e,r){var n=[].concat(nl(t),[{item:e.item,position:{offset:d+(y+s)*r+(y-v)/2,size:v}}]);return e.stackList&&e.stackList.length&&e.stackList.forEach(function(t){n.push({item:t,position:n[n.length-1].position})}),n},[])}return e},nw=function(t,e,r,n){var i=r.children,o=r.width,a=r.margin,c=nb({children:i,legendWidth:o-(a.left||0)-(a.right||0)}),u=t;if(c){var s=n||{},l=c.align,f=c.verticalAlign,p=c.layout;
1("vertical"===p||"horizontal"===p&&"middle"===f)&&(0,nc.Et)(t[l])&&(u=nh(nh({},t),{},nd({},l,u[l]+(s.width||0)))),("horizontal"===p||"vertical"===p&&"center"===l)&&(0,nc.Et)(t[f])&&(u=nh(nh({},t),{},nd({},f,u[f]+(s.height||0))))}return u},nE=function(t,e,r,n,i){var o=e.props.children,a=(0,nu.aS)(o,no.u).filter(function(t){var e;return e=t.props.direction,!!D()(i)||("horizontal"===n?"yAxis"===i:"vertical"===n||"x"===e?"xAxis"===i:"y"!==e||"yAxis"===i)});if(a&&a.length){var c=a.map(function(t){return t.props.dataKey});return t.reduce(function(t,e){var n=ny(e,r,0),i=w()(n)?[j()(n),S()(n)]:[n,n],o=c.reduce(function(t,r){var n=ny(e,r,0),o=i[0]-Math.abs(w()(n)?n[0]:n),a=i[1]+Math.abs(w()(n)?n[1]:n);return[Math.min(o,t[0]),Math.max(a,t[1])]},[1/0,-1/0]);return[Math.min(o[0],t[0]),Math.max(o[1],t[1])]},[1/0,-1/0])}return null},nS=function(t,e,r,n,i){var o=e.map(function(e){return nE(t,e,r,i,n)}).filter(function(t){return!D()(t)});return o&&o.length?o.reduce(function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]},[1/0,-1/0]):null},n_=function(t,e,r,n,i){var o=e.map(function(e){var o=e.props.dataKey;return"number"===r&&o&&nE(t,e,o,n)||nv(t,o,r,i)});if("number"===r)return o.reduce(function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]},[1/0,-1/0]);var a={};return o.reduce(function(t,e){for(var r=0,n=e.length;r<n;r++)a[e[r]]||(a[e[r]]=!0,t.push(e[r]));return t},[])},nj=function(t,e){return"horizontal"===t&&"xAxis"===e||"vertical"===t&&"yAxis"===e||"centric"===t&&"angleAxis"===e||"radial"===t&&"radiusAxis"===e},nA=function(t,e,r){var n,i,o=t.map(function(t){return t.coordinate===e&&(n=!0),t.coordinate===r&&(i=!0),t.coordinate});return n||o.push(e),i||o.push(r),o},nP=function(t,e,r){if(!t)return null;var n=t.scale,i=t.duplicateDomain,o=t.type,a=t.range,c="scaleBand"===t.realScaleType?n.bandwidth()/2:2,u=(e||r)&&"category"===o&&n.bandwidth?n.bandwidth()/c:0;return(u="angleAxis"===t.axisType&&(null==a?void 0:a.length)>=2?2*(0,nc.sA)(a[0]-a[1])*u:u,e&&(t.ticks||t.niceTicks))?(t.ticks||t.niceTicks).map(function(t){return{coordinate:n(i?i.indexOf(t):t)+u,value:t,offset:u}}).filter(function(t){return!x()(t.coordinate)}):t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map(function(t,e){return{coordinate:n(t)+u,value:t,index:e,offset:u}}):n.ticks&&!r?n.ticks(t.tickCount).map(function(t){return{coordinate:n(t)+u,value:t,offset:u}}):n.domain().map(function(t,e){return{coordinate:n(t)+u,value:i?i[t]:t,index:e,offset:u}})},nk=function(t,e,r){var n;return(M()(r)?n=r:M()(e)&&(n=e),M()(t)||n)?function(e,r,i,o){M()(t)&&t(e,r,i,o),M()(n)&&n(e,r,i,o)}:null},nM=function(t,e,r){var n=t.scale,i=t.type,o=t.layout,a=t.axisType;if("auto"===n)return"radial"===o&&"radiusAxis"===a?{scale:N.A(),realScaleType:"band"}:"radial"===o&&"angleAxis"===a?{scale:tO(),realScaleType:"linear"}:"category"===i&&e&&(e.indexOf("LineChart")>=0||e.indexOf("AreaChart")>
1=0||e.indexOf("ComposedChart")>=0&&!r)?{scale:N.z(),realScaleType:"point"}:"category"===i?{scale:N.A(),realScaleType:"band"}:{scale:tO(),realScaleType:"linear"};if(g()(n)){var c="scale".concat(v()(n));return{scale:(l[c]||N.z)(),realScaleType:l[c]?c:"point"}}return M()(n)?{scale:n}:{scale:N.z(),realScaleType:"point"}},nT=function(t){var e=t.domain();if(e&&!(e.length<=2)){var r=e.length,n=t.range(),i=Math.min(n[0],n[1])-1e-4,o=Math.max(n[0],n[1])+1e-4,a=t(e[0]),c=t(e[r-1]);(a<i||a>o||c<i||c>o)&&t.domain([e[0],e[r-1]])}},nC=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},nI=function(t,e){if(!e||2!==e.length||!(0,nc.Et)(e[0])||!(0,nc.Et)(e[1]))return t;var r=Math.min(e[0],e[1]),n=Math.max(e[0],e[1]),i=[t[0],t[1]];return(!(0,nc.Et)(t[0])||t[0]<r)&&(i[0]=r),(!(0,nc.Et)(t[1])||t[1]>n)&&(i[1]=n),i[0]>n&&(i[0]=n),i[1]<r&&(i[1]=r),i},nD={sign:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var i=0,o=0,a=0;a<e;++a){var c=x()(t[a][r][1])?t[a][r][0]:t[a][r][1];c>=0?(t[a][r][0]=i,t[a][r][1]=i+c,i=t[a][r][1]):(t[a][r][0]=o,t[a][r][1]=o+c,o=t[a][r][1])}},expand:function(t,e){if((n=t.length)>0){for(var r,n,i,o=0,a=t[0].length;o<a;++o){for(i=r=0;r<n;++r)i+=t[r][o][1]||0;if(i)for(r=0;r<n;++r)t[r][o][1]/=i}rF(t,e)}},none:rF,silhouette:function(t,e){if((r=t.length)>0){for(var r,n=0,i=t[e[0]],o=i.length;n<o;++n){for(var a=0,c=0;a<r;++a)c+=t[a][n][1]||0;i[n][1]+=i[n][0]=-c/2}rF(t,e)}},wiggle:function(t,e){if((i=t.length)>0&&(n=(r=t[e[0]]).length)>0){for(var r,n,i,o=0,a=1;a<n;++a){for(var c=0,u=0,s=0;c<i;++c){for(var l=t[e[c]],f=l[a][1]||0,p=(f-(l[a-1][1]||0))/2,h=0;h<c;++h){var d=t[e[h]];p+=(d[a][1]||0)-(d[a-1][1]||0)}u+=f,s+=p*f}r[a-1][1]+=r[a-1][0]=o,u&&(o-=s/u)}r[a-1][1]+=r[a-1][0]=o,rF(t,e)}},positive:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var i=0,o=0;o<e;++o){var a=x()(t[o][r][1])?t[o][r][0]:t[o][r][1];a>=0?(t[o][r][0]=i,t[o][r][1]=i+a,i=t[o][r][1]):(t[o][r][0]=0,t[o][r][1]=0)}}},nN=function(t,e,r){var n=e.map(function(t){return t.props.dataKey});return(function(){var t=(0,rW.A)([]),e=rV,r=rF,n=rH;function i(i){var o,a,c=Array.from(t.apply(this,arguments),r$),u=c.length,s=-1;for(let t of i)for(o=0,++s;o<u;++o)(c[o][s]=[0,+n(t,c[o].key,s,i)]).data=t;for(o=0,a=(0,rz.A)(e(c));o<u;++o)c[a[o]].index=o;return r(c,a),c}return i.keys=function(e){return arguments.length?(t="function"==typeof e?e:(0,rW.A)(Array.from(e)),i):t},i.value=function(t){return arguments.length?(n="function"==typeof t?t:(0,rW.A)(+t),i):n},i.order=function(t){return arguments.length?(e=null==t?rV:"function"==typeof t?t:(0,rW.A)(Array.from(t)),i):e},i.offset=function(t){return arguments.length?(r=null==t?rF:t,i):r},i})().keys(n).value(function(t,e){return+ny(t,e,0)}).order(rV).offset(nD[r])(t)},nR=function(t,e,r,n,i,o){if(!t)return null;var a=(o?e.reverse():e).reduce(function(t,e){var i=e.props,o=i.stackId;if(i.hide)return t;var a=e.props[r],c=t[a]||{hasStack:!1,stackGroups:{}};if((0,nc.vh)(o)){var u=c.stackGroups[o]||{numericAxisId:r,cateAxisId:n,items:[]};u.items.push(e),c.hasStack=!0,c.stackGroups[o]=u}else c.stackGroups[(0,nc.NF)("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[e]};return nh(nh({},t),{},nd({},a,c))},{});return Object.keys(a).reduce(function(e,o){var c=a[o];return c.hasStack&&(c.stackGroups=Object.keys(c.stackGroups).reduce(function(e,o){var a=c.stackGroups[o];return nh(nh({},e),{},nd({},o,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:nN(t,a.items,i)}))},{})),nh(nh({},e),{},nd({},o,c))},{})},nL=function(t,e){var r=e.realScaleType,n=e.type,i=e.tickCount,o=e.originalDomain,a=e.allowDecimals,c=r||e.scale;if("auto"!==c&&"linear"!==c)return null;if(i&&"number"===n&&o&&("auto"===o[0]||"auto"===o[1])){var u=t.domain();if(!u.length)return null;var s=nn(u,i,a);return t.domain([j()(s),S()(s)]),{niceTicks:s}}return i&&"number"===n?{niceTicks:ni(t.domain(),i,a)}:null},nB=function(t){var e=t.axis,r=t.ticks,n=t.bandSize,i=t.entry,o=t.index,a=t.dataKey;if("category"===e.type){if(!e.allowDuplicatedCategory&&e.dataKey&&!D()(i[e.dataKey])){var c=(0,nc.eP)(r,"value",i[e.dataKey]);if(c)return c.coordinate+n/2}return r[o]?r[o].coordinate+n/2:null}var u=ny(i,D()(a)?e.dataKey:a);return D()(u)?null:e.scale(u)},nU=function(t){var e=t.axis,r=t.ticks,n=t.offset,i=t.bandSize,o=t.entry,a=t.index;if("category"===e.type)return r[a]?r[a].coordinate+n:null;var c=ny(o,e.dataKey,e.domain[a]);return D()(c)?null:e.scale(c)-i/2+n},nF=function(t){var e=t.numericAxis,r=e.scale.domain();if("number"===e.type){var n=Math.min(r[0],r[1]),i=Math.max(r[0],r[1]);return n<=0&&i>=0?0:i<0?i:n}return r[0]},nz=function(t,e){var r=t.props.stackId;if((0,nc.vh)(r)){var n=e[r];if(n&&n.items.length){for(var i=-1,o=0,a=n.items.length;o<a;o++)if(n.items[o]===t){i=o;break}return i>=0?n.stackedData[i]:null}}return null},nW=function(t,e,r){return Object.keys(t).reduce(function(n,i){var o=t[i].stackedData.reduce(function(t,n){var i=n.slice(e,r+1).reduce(function(t,e){return[j()(e.concat([t[0]]).filter(nc.Et)),S()(e.concat([t[1]]).filter(nc.Et))]},[1/0,-1/0]);return[Math.min(t[0],i[0]),Math.max(t[1],i[1])]},[1/0,-1/0]);return[Math.min(o[0],n[0]),Math.max(o[1],n[1])]},[1/0,-1/0]).map(function(t){return t===1/0||t===-1/0?0:t})},nV=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,nH=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,n$=function(t,e,r){if(M()(t))return t(e,r);if(!w()(t))return e;var n=[];if((0,nc.Et)(t[0]))n[0]=r?t[0]:Math.min(t[0],e[0]);else if(nV.test(t[0])){var i=+nV.exec(t[0])[1];n[0]=e[0]-i}else M()(t[0])?n[0]=t[0](e[0]):n[0]=e[0];if((0,nc.Et)(t[1]))n[1]=r?t[1]:Math.max(t[1],e[1]);else if(nH.test(t[1])){var o=+nH.exec(t[1])[1];n[1]=e[1]+o}else M()(t[1])?n[1]=t[1](e[1]):n[1]=e[1];return n},nq=function(t,e,r){if(t&&t.scale&&t.scale.bandwidth){var n=t.scale.bandwidth();if(!r||n>0)return n}if(t&&e&&e.length>=2){for(var i=d()(e,function(t){return t.coordinate}),o=1/0,a=1,c=i.length;a<c;a++){var u=i[a],s=i[a-1];o=Math.min((u.coordinate||0)-(s.coordinate||0),o)}return o===1/0?0:o}return r?void 0:0},nG=function(t,e,r){return!t||!t.length||p()(t,C()(r,"type.defaultProps.domain"))?e:t},nX=function(t,e){var r=t.props,n=r.dataKey,i=r.name,o=r.unit,a=r.formatter,c=r.tooltipType,u=r.chartType;return nh(nh({},(0,nu.J9)(t)),{},{dataKey:n,unit:o,formatter:a,name:i||n,color:ng(t),value:ny(e,n),type:c,payload:e,chartType:u})}},35493:function(t,e,r){var n;!function(i){"use strict";
1var o,a={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},c=!0,u="[DecimalError] ",s=u+"Invalid argument: ",l=u+"Exponent out of range: ",f=Math.floor,p=Math.pow,h=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,d=f(1286742750677284.5),y={};function v(t,e){var r,n,i,o,a,u,s,l,f=t.constructor,p=f.precision;if(!t.s||!e.s)return e.s||(e=new f(t)),c?j(e,p):e;if(s=t.d,l=e.d,a=t.e,i=e.e,s=s.slice(),o=a-i){for(o<0?(n=s,o=-o,u=l.length):(n=l,i=a,u=s.length),o>(u=(a=Math.ceil(p/7))>u?a+1:u+1)&&(o=u,n.length=1),n.reverse();o--;)n.push(0);n.reverse()}for((u=s.length)-(o=l.length)<0&&(o=u,n=l,l=s,s=n),r=0;o;)r=(s[--o]=s[o]+l[o]+r)/1e7|0,s[o]%=1e7;for(r&&(s.unshift(r),++i),u=s.length;0==s[--u];)s.pop();return e.d=s,e.e=i,c?j(e,p):e}function m(t,e,r){if(t!==~~t||t<e||t>r)throw Error(s+t)}function g(t){var e,r,n,i=t.length-1,o="",a=t[0];if(i>0){for(o+=a,e=1;e<i;e++)(r=7-(n=t[e]+"").length)&&(o+=E(r)),o+=n;(r=7-(n=(a=t[e])+"").length)&&(o+=E(r))}else if(0===a)return"0";for(;a%10==0;)a/=10;return o+a}y.absoluteValue=y.abs=function(){var t=new this.constructor(this);return t.s&&(t.s=1),t},y.comparedTo=y.cmp=function(t){var e,r,n,i;if(t=new this.constructor(t),this.s!==t.s)return this.s||-t.s;if(this.e!==t.e)return this.e>t.e^this.s<0?1:-1;for(e=0,r=(n=this.d.length)<(i=t.d.length)?n:i;e<r;++e)if(this.d[e]!==t.d[e])return this.d[e]>t.d[e]^this.s<0?1:-1;return n===i?0:n>i^this.s<0?1:-1},y.decimalPlaces=y.dp=function(){var t=this.d.length-1,e=(t-this.e)*7;if(t=this.d[t])for(;t%10==0;t/=10)e--;return e<0?0:e},y.dividedBy=y.div=function(t){return b(this,new this.constructor(t))},y.dividedToIntegerBy=y.idiv=function(t){var e=this.constructor;return j(b(this,new e(t),0,1),e.precision)},y.equals=y.eq=function(t){return!this.cmp(t)},y.exponent=function(){return O(this)},y.greaterThan=y.gt=function(t){return this.cmp(t)>0},y.greaterThanOrEqualTo=y.gte=function(t){return this.cmp(t)>=0},y.isInteger=y.isint=function(){return this.e>this.d.length-2},y.isNegative=y.isneg=function(){return this.s<0},y.isPositive=y.ispos=function(){return this.s>0},y.isZero=function(){return 0===this.s},y.lessThan=y.lt=function(t){return 0>this.cmp(t)},y.lessThanOrEqualTo=y.lte=function(t){return 1>this.cmp(t)},y.logarithm=y.log=function(t){var e,r=this.constructor,n=r.precision,i=n+5;if(void 0===t)t=new r(10);else if((t=new r(t)).s<1||t.eq(o))throw Error(u+"NaN");if(this.s<1)throw Error(u+(this.s?"NaN":"-Infinity"));return this.eq(o)?new r(0):(c=!1,e=b(S(this,i),S(t,i),i),c=!0,j(e,n))},y.minus=y.sub=function(t){return t=new this.constructor(t),this.s==t.s?A(this,t):v(this,(t.s=-t.s,t))},y.modulo=y.mod=function(t){var e,r=this.constructor,n=r.precision;if(!(t=new r(t)).s)throw Error(u+"NaN");return this.s?(c=!1,e=b(this,t,0,1).times(t),c=!0,this.minus(e)):j(new r(this),n)},y.naturalExponential=y.exp=function(){return x(this)},y.naturalLogarithm=y.ln=function(){return S(this)},y.negated=y.neg=function(){var t=new this.constructor(this);return t.s=-t.s||0,t},y.plus=y.add=function(t){return t=new this.constructor(t),this.s==t.s?v(this,t):A(this,(t.s=-t.s,t))},y.precision=y.sd=function(t){var e,r,n;if(void 0!==t&&!!t!==t&&1!==t&&0!==t)throw Error(s+t);if(e=O(this)+1,r=7*(n=this.d.length-1)+1,n=this.d[n]){for(;n%10==0;n/=10)r--;for(n=this.d[0];n>=10;n/=10)r++}return t&&e>r?e:r},y.squareRoot=y.sqrt=function(){var t,e,r,n,i,o,a,s=this.constructor;if(this.s<1){if(!this.s)return new s(0);throw Error(u+"NaN")}for(t=O(this),c=!1,0==(i=Math.sqrt(+this))||i==1/0?(((e=g(this.d)).length+t)%2==0&&(e+="0"),i=Math.sqrt(e),t=f((t+1)/2)-(t<0||t%2),n=new s(e=i==1/0?"5e"+t:(e=i.toExponential()).slice(0,e.indexOf("e")+1)+t)):n=new s(i.toString()),i=a=(r=s.precision)+3;;)if(n=(o=n).plus(b(this,o,a+2)).times(.5),g(o.d).slice(0,a)===(e=g(n.d)).slice(0,a)){if(e=e.slice(a-3,a+1),i==a&&"4999"==e){if(j(o,r+1,0),o.times(o).eq(this)){n=o;break}}else if("9999"!=e)break;a+=4}return c=!0,j(n,r)},y.times=y.mul=function(t){var e,r,n,i,o,a,u,s,l,f=this.constructor,p=this.d,h=(t=new f(t)).d;if(!this.s||!t.s)return new f(0);for(t.s*=this.s,r=this.e+t.e,(s=p.length)<(l=h.length)&&(o=p,p=h,h=o,a=s,s=l,l=a),o=[],n=a=s+l;n--;)o.push(0);for(n=l;--n>=0;){for(e=0,i=s+n;i>n;)u=o[i]+h[n]*p[i-n-1]+e,o[i--]=u%1e7|0,e=u/1e7|0;o[i]=(o[i]+e)%1e7|0}for(;!o[--a];)o.pop();return e?++r:o.shift(),t.d=o,t.e=r,c?j(t,f.precision):t},y.toDecimalPlaces=y.todp=function(t,e){var r=this,n=r.constructor;
1return(r=new n(r),void 0===t)?r:(m(t,0,1e9),void 0===e?e=n.rounding:m(e,0,8),j(r,t+O(r)+1,e))},y.toExponential=function(t,e){var r,n=this,i=n.constructor;return void 0===t?r=P(n,!0):(m(t,0,1e9),void 0===e?e=i.rounding:m(e,0,8),r=P(n=j(new i(n),t+1,e),!0,t+1)),r},y.toFixed=function(t,e){var r,n,i=this.constructor;return void 0===t?P(this):(m(t,0,1e9),void 0===e?e=i.rounding:m(e,0,8),r=P((n=j(new i(this),t+O(this)+1,e)).abs(),!1,t+O(n)+1),this.isneg()&&!this.isZero()?"-"+r:r)},y.toInteger=y.toint=function(){var t=this.constructor;return j(new t(this),O(this)+1,t.rounding)},y.toNumber=function(){return+this},y.toPower=y.pow=function(t){var e,r,n,i,a,s,l=this,p=l.constructor,h=+(t=new p(t));if(!t.s)return new p(o);if(!(l=new p(l)).s){if(t.s<1)throw Error(u+"Infinity");return l}if(l.eq(o))return l;if(n=p.precision,t.eq(o))return j(l,n);if(s=(e=t.e)>=(r=t.d.length-1),a=l.s,s){if((r=h<0?-h:h)<=0x1fffffffffffff){for(i=new p(o),e=Math.ceil(n/7+4),c=!1;r%2&&k((i=i.times(l)).d,e),0!==(r=f(r/2));)k((l=l.times(l)).d,e);return c=!0,t.s<0?new p(o).div(i):j(i,n)}}else if(a<0)throw Error(u+"NaN");return a=a<0&&1&t.d[Math.max(e,r)]?-1:1,l.s=1,c=!1,i=t.times(S(l,n+12)),c=!0,(i=x(i)).s=a,i},y.toPrecision=function(t,e){var r,n,i=this,o=i.constructor;return void 0===t?(r=O(i),n=P(i,r<=o.toExpNeg||r>=o.toExpPos)):(m(t,1,1e9),void 0===e?e=o.rounding:m(e,0,8),r=O(i=j(new o(i),t,e)),n=P(i,t<=r||r<=o.toExpNeg,t)),n},y.toSignificantDigits=y.tosd=function(t,e){var r=this.constructor;return void 0===t?(t=r.precision,e=r.rounding):(m(t,1,1e9),void 0===e?e=r.rounding:m(e,0,8)),j(new r(this),t,e)},y.toString=y.valueOf=y.val=y.toJSON=function(){var t=O(this),e=this.constructor;return P(this,t<=e.toExpNeg||t>=e.toExpPos)};var b=function(){function t(t,e){var r,n=0,i=t.length;for(t=t.slice();i--;)r=t[i]*e+n,t[i]=r%1e7|0,n=r/1e7|0;return n&&t.unshift(n),t}function e(t,e,r,n){var i,o;if(r!=n)o=r>n?1:-1;else for(i=o=0;i<r;i++)if(t[i]!=e[i]){o=t[i]>e[i]?1:-1;break}return o}function r(t,e,r){for(var n=0;r--;)t[r]-=n,n=+(t[r]<e[r]),t[r]=1e7*n+t[r]-e[r];for(;!t[0]&&t.length>1;)t.shift()}return function(n,i,o,a){var c,s,l,f,p,h,d,y,v,m,g,b,x,w,E,S,_,A,P=n.constructor,k=n.s==i.s?1:-1,M=n.d,T=i.d;if(!n.s)return new P(n);if(!i.s)throw Error(u+"Division by zero");for(l=0,s=n.e-i.e,_=T.length,E=M.length,y=(d=new P(k)).d=[];T[l]==(M[l]||0);)++l;if(T[l]>(M[l]||0)&&--s,(b=null==o?o=P.precision:a?o+(O(n)-O(i))+1:o)<0)return new P(0);if(b=b/7+2|0,l=0,1==_)for(f=0,T=T[0],b++;(l<E||f)&&b--;l++)x=1e7*f+(M[l]||0),y[l]=x/T|0,f=x%T|0;else{for((f=1e7/(T[0]+1)|0)>1&&(T=t(T,f),M=t(M,f),_=T.length,E=M.length),w=_,m=(v=M.slice(0,_)).length;m<_;)v[m++]=0;(A=T.slice()).unshift(0),S=T[0],T[1]>=1e7/2&&++S;do f=0,(c=e(T,v,_,m))<0?(g=v[0],_!=m&&(g=1e7*g+(v[1]||0)),(f=g/S|0)>1?(f>=1e7&&(f=1e7-1),h=(p=t(T,f)).length,m=v.length,1==(c=e(p,v,h,m))&&(f--,r(p,_<h?A:T,h))):(0==f&&(c=f=1),p=T.slice()),(h=p.length)<m&&p.unshift(0),r(v,p,m),-1==c&&(m=v.length,(c=e(T,v,_,m))<1&&(f++,r(v,_<m?A:T,m))),m=v.length):0===c&&(f++,v=[0]),y[l++]=f,c&&v[0]?v[m++]=M[w]||0:(v=[M[w]],m=1);while((w++<E||void 0!==v[0])&&b--)}return y[0]||y.shift(),d.e=s,j(d,a?o+O(d)+1:o)}}();function x(t,e){var r,n,i,a,u,s=0,f=0,h=t.constructor,d=h.precision;if(O(t)>16)throw Error(l+O(t));if(!t.s)return new h(o);for(null==e?(c=!1,u=d):u=e,a=new h(.03125);t.abs().gte(.1);)t=t.times(a),f+=5;for(u+=Math.log(p(2,f))/Math.LN10*2+5|0,r=n=i=new h(o),h.precision=u;;){if(n=j(n.times(t),u),r=r.times(++s),g((a=i.plus(b(n,r,u))).d).slice(0,u)===g(i.d).slice(0,u)){for(;f--;)i=j(i.times(i),u);return h.precision=d,null==e?(c=!0,j(i,d)):i}i=a}}function O(t){for(var e=7*t.e,r=t.d[0];r>=10;r/=10)e++;return e}function w(t,e,r){if(e>t.LN10.sd())throw c=!0,r&&(t.precision=r),Error(u+"LN10 precision limit exceeded");return j(new t(t.LN10),e)}function E(t){for(var e="";t--;)e+="0";return e}function S(t,e){var r,n,i,a,s,l,f,p,h,d=1,y=t,v=y.d,m=y.constructor,x=m.precision;if(y.s<1)throw Error(u+(y.s?"NaN":"-Infinity"));if(y.eq(o))return new m(0);if(null==e?(c=!1,p=x):p=e,y.eq(10))return null==e&&(c=!0),w(m,p);if(m.precision=p+=10,n=(r=g(v)).charAt(0),!(15e14>Math.abs(a=O(y))))return f=w(m,p+2,x).times(a+""),y=S(new m(n+"."+r.slice(1)),p-10).plus(f),m.precision=x,null==e?(c=!0,j(y,x)):y;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=g((y=y.times(t)).d)).charAt(0),d++;for(a=O(y),n>1?(y=new m("0."+r),a++):y=new m(n+"."+r.slice(1)),l=s=y=b(y.minus(o),y.plus(o),p),h=j(y.times(y),p),i=3;;){if(s=j(s.times(h),p),g((f=l.plus(b(s,new m(i),p))).d).slice(0,p)===g(l.d).slice(0,p))return l=l.times(2),0!==a&&(l=l.plus(w(m,p+2,x).times(a+""))),l=b(l,new m(d),p),m.precision=x,null==e?(c=!0,j(l,x)):l;l=f,i+=2}}function _(t,e){var r,n,i;for((r=e.indexOf("."))>-1&&(e=e.replace(".","")),(n=e.search(/e/i))>0?(r<0&&(r=n),r+=+e.slice(n+1),e=e.substring(0,n)):r<0&&(r=e.length),n=0;48===e.charCodeAt(n);)++n;for(i=e.length;48===e.charCodeAt(i-1);)--i;if(e=e.slice(n,i)){if(i-=n,t.e=f((r=r-n-1)/7),t.d=[],n=(r+1)%7,r<0&&(n+=7),n<i){for(n&&t.d.push(+e.slice(0,n)),i-=7;n<i;)t.d.push(+e.slice(n,n+=7));n=7-(e=e.slice(n)).length}else n-=i;for(;n--;)e+="0";if(t.d.push(+e),c&&(t.e>d||t.e<-d))throw Error(l+r)}else t.s=0,t.e=0,t.d=[0];return t}function j(t,e,r){var n,i,o,a,u,s,h,y,v=t.d;for(a=1,o=v[0];o>=10;o/=10)a++;if((n=e-a)<0)n+=7,i=e,h=v[y=0];else{if((y=Math.ceil((n+1)/7))>=(o=v.length))return t;for(a=1,h=o=v[y];o>=10;o/=10)a++;n%=7,i=n-7+a}if(void 0!==r&&(u=h/(o=p(10,a-i-1))%10|0,s=e<0||void 0!==v[y+1]||h%o,s=r<4?(u||s)&&(0==r||r==(t.s<0?3:2)):u>5||5==u&&(4==r||s||6==r&&(n>0?i>0?h/p(10,a-i):0:v[y-1])%10&1||r==(t.s<0?8:7))),e<1||!v[0])return s?(o=O(t),v.length=1,e=e-o-1,v[0]=p(10,(7-e%7)%7),t.e=f(-e/7)||0):(v.length=1,v[0]=t.e=t.s=0),t;if(0==n?(v.length=y,o=1,y--):(v.length=y+1,o=p(10,7-n),v[y]=i>0?(h/p(10,a-i)%p(10,i)|0)*o:0),s)for(;;)if(0==y){1e7==(v[0]+=o)&&(v[0]=1,++t.e);break}else{if(v[y]+=o,1e7!=v[y])break;v[y--]=0,o=1}for(n=v.length;0===v[--n];)v.pop();if(c&&(t.e>d||t.e<-d))throw Error(l+O(t));return t}function A(t,e){var r,n,i,o,a,u,s,l,f,p,h=t.constructor,d=h.precision;if(!t.s||!e.s)return e.s?e.s=-e.s:e=new h(t),c?j(e,d):e;if(s=t.d,p=e.d,n=e.e,l=t.e,s=s.slice(),a=l-n){for((f=a<0)?(r=s,a=-a,u=p.length):(r=p,n=l,u=s.length),a>(i=Math.max(Math.ceil(d/7),u)+2)&&(a=i,r.length=1),r.reverse(),i=a;i--;)r.push(0);r.reverse()}
1else{for((f=(i=s.length)<(u=p.length))&&(u=i),i=0;i<u;i++)if(s[i]!=p[i]){f=s[i]<p[i];break}a=0}for(f&&(r=s,s=p,p=r,e.s=-e.s),u=s.length,i=p.length-u;i>0;--i)s[u++]=0;for(i=p.length;i>a;){if(s[--i]<p[i]){for(o=i;o&&0===s[--o];)s[o]=1e7-1;--s[o],s[i]+=1e7}s[i]-=p[i]}for(;0===s[--u];)s.pop();for(;0===s[0];s.shift())--n;return s[0]?(e.d=s,e.e=n,c?j(e,d):e):new h(0)}function P(t,e,r){var n,i=O(t),o=g(t.d),a=o.length;return e?(r&&(n=r-a)>0?o=o.charAt(0)+"."+o.slice(1)+E(n):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+E(-i-1)+o,r&&(n=r-a)>0&&(o+=E(n))):i>=a?(o+=E(i+1-a),r&&(n=r-i-1)>0&&(o=o+"."+E(n))):((n=i+1)<a&&(o=o.slice(0,n)+"."+o.slice(n)),r&&(n=r-a)>0&&(i+1===a&&(o+="."),o+=E(n))),t.s<0?"-"+o:o}function k(t,e){if(t.length>e)return t.length=e,!0}function M(t){if(!t||"object"!=typeof t)throw Error(u+"Object expected");var e,r,n,i=["precision",1,1e9,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(e=0;e<i.length;e+=3)if(void 0!==(n=t[r=i[e]]))if(f(n)===n&&n>=i[e+1]&&n<=i[e+2])this[r]=n;else throw Error(s+r+": "+n);if(void 0!==(n=t[r="LN10"]))if(n==Math.LN10)this[r]=new this(n);else throw Error(s+r+": "+n);return this}(a=function t(e){var r,n,i;function o(t){if(!(this instanceof o))return new o(t);if(this.constructor=o,t instanceof o){this.s=t.s,this.e=t.e,this.d=(t=t.d)?t.slice():t;return}if("number"==typeof t){if(0*t!=0)throw Error(s+t);if(t>0)this.s=1;else if(t<0)t=-t,this.s=-1;else{this.s=0,this.e=0,this.d=[0];return}if(t===~~t&&t<1e7){this.e=0,this.d=[t];return}return _(this,t.toString())}if("string"!=typeof t)throw Error(s+t);if(45===t.charCodeAt(0)?(t=t.slice(1),this.s=-1):this.s=1,h.test(t))_(this,t);else throw Error(s+t)}if(o.prototype=y,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.clone=t,o.config=o.set=M,void 0===e&&(e={}),e)for(r=0,i=["precision","rounding","toExpNeg","toExpPos","LN10"];r<i.length;)e.hasOwnProperty(n=i[r++])||(e[n]=this[n]);return o.config(e),o}(a)).default=a.Decimal=a,o=new a(1),void 0===(n=(function(){return a}).call(e,r,e,t))||(t.exports=n)}(0)},35704:t=>{"use strict";var e=Object.prototype.hasOwnProperty,r="~";function n(){}function i(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function o(t,e,n,o,a){if("function"!=typeof n)throw TypeError("The listener must be a function");var c=new i(n,o||t,a),u=r?r+e:e;return t._events[u]?t._events[u].fn?t._events[u]=[t._events[u],c]:t._events[u].push(c):(t._events[u]=c,t._eventsCount++),t}function a(t,e){0==--t._eventsCount?t._events=new n:delete t._events[e]}function c(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1)),c.prototype.eventNames=function(){var t,n,i=[];if(0===this._eventsCount)return i;for(n in t=this._events)e.call(t,n)&&i.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(t)):i},c.prototype.listeners=function(t){var e=r?r+t:t,n=this._events[e];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,o=n.length,a=Array(o);i<o;i++)a[i]=n[i].fn;return a},c.prototype.listenerCount=function(t){var e=r?r+t:t,n=this._events[e];return n?n.fn?1:n.length:0},c.prototype.emit=function(t,e,n,i,o,a){var c=r?r+t:t;if(!this._events[c])return!1;var u,s,l=this._events[c],f=arguments.length;if(l.fn){switch(l.once&&this.removeListener(t,l.fn,void 0,!0),f){case 1:return l.fn.call(l.context),!0;case 2:return l.fn.call(l.context,e),!0;case 3:return l.fn.call(l.context,e,n),!0;case 4:return l.fn.call(l.context,e,n,i),!0;case 5:return l.fn.call(l.context,e,n,i,o),!0;case 6:return l.fn.call(l.context,e,n,i,o,a),!0}for(s=1,u=Array(f-1);s<f;s++)u[s-1]=arguments[s];l.fn.apply(l.context,u)}else{var p,h=l.length;for(s=0;s<h;s++)switch(l[s].once&&this.removeListener(t,l[s].fn,void 0,!0),f){case 1:l[s].fn.call(l[s].context);break;case 2:l[s].fn.call(l[s].context,e);break;case 3:l[s].fn.call(l[s].context,e,n);break;case 4:l[s].fn.call(l[s].context,e,n,i);break;default:if(!u)for(p=1,u=Array(f-1);p<f;p++)u[p-1]=arguments[p];l[s].fn.apply(l[s].context,u)}}return!0},c.prototype.on=function(t,e,r){return o(this,t,e,r,!1)},c.prototype.once=function(t,e,r){return o(this,t,e,r,!0)},c.prototype.removeListener=function(t,e,n,i){var o=r?r+t:t;if(!this._events[o])return this;if(!e)return a(this,o),this;var c=this._events[o];
1if(c.fn)c.fn!==e||i&&!c.once||n&&c.context!==n||a(this,o);else{for(var u=0,s=[],l=c.length;u<l;u++)(c[u].fn!==e||i&&!c[u].once||n&&c[u].context!==n)&&s.push(c[u]);s.length?this._events[o]=1===s.length?s[0]:s:a(this,o)}return this},c.prototype.removeAllListeners=function(t){var e;return t?(e=r?r+t:t,this._events[e]&&a(this,e)):(this._events=new n,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=r,c.EventEmitter=c,t.exports=c},36135:(t,e,r)=>{"use strict";e.__esModule=!0,e.default=e.EXITING=e.ENTERED=e.ENTERING=e.EXITED=e.UNMOUNTED=void 0;var n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,r):{};n.get||n.set?Object.defineProperty(e,r,n):e[r]=t[r]}}return e.default=t,e}(r(95062)),i=c(r(14232)),o=c(r(98477)),a=r(7235);function c(t){return t&&t.__esModule?t:{default:t}}r(36308);var u="unmounted";e.UNMOUNTED=u;var s="exited";e.EXITED=s;var l="entering";e.ENTERING=l;var f="entered";e.ENTERED=f;var p="exiting";e.EXITING=p;var h=function(t){function e(e,r){var n,i=t.call(this,e,r)||this,o=r.transitionGroup,a=o&&!o.isMounting?e.enter:e.appear;return i.appearStatus=null,e.in?a?(n=s,i.appearStatus=l):n=f:n=e.unmountOnExit||e.mountOnEnter?u:s,i.state={status:n},i.nextCallback=null,i}e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t;var r=e.prototype;return r.getChildContext=function(){return{transitionGroup:null}},e.getDerivedStateFromProps=function(t,e){return t.in&&e.status===u?{status:s}:null},r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(t){var e=null;if(t!==this.props){var r=this.state.status;this.props.in?r!==l&&r!==f&&(e=l):(r===l||r===f)&&(e=p)}this.updateStatus(!1,e)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var t,e,r,n=this.props.timeout;return t=e=r=n,null!=n&&"number"!=typeof n&&(t=n.exit,e=n.enter,r=void 0!==n.appear?n.appear:e),{exit:t,enter:e,appear:r}},r.updateStatus=function(t,e){if(void 0===t&&(t=!1),null!==e){this.cancelNextCallback();var r=o.default.findDOMNode(this);e===l?this.performEnter(r,t):this.performExit(r)}else this.props.unmountOnExit&&this.state.status===s&&this.setState({status:u})},r.performEnter=function(t,e){var r=this,n=this.props.enter,i=this.context.transitionGroup?this.context.transitionGroup.isMounting:e,o=this.getTimeouts(),a=i?o.appear:o.enter;if(!e&&!n)return void this.safeSetState({status:f},function(){r.props.onEntered(t)});this.props.onEnter(t,i),this.safeSetState({status:l},function(){r.props.onEntering(t,i),r.onTransitionEnd(t,a,function(){r.safeSetState({status:f},function(){r.props.onEntered(t,i)})})})},r.performExit=function(t){var e=this,r=this.props.exit,n=this.getTimeouts();if(!r)return void this.safeSetState({status:s},function(){e.props.onExited(t)});this.props.onExit(t),this.safeSetState({status:p},function(){e.props.onExiting(t),e.onTransitionEnd(t,n.exit,function(){e.safeSetState({status:s},function(){e.props.onExited(t)})})})},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},r.setNextCallback=function(t){var e=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,e.nextCallback=null,t(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},r.onTransitionEnd=function(t,e,r){this.setNextCallback(r);var n=null==e&&!this.props.addEndListener;if(!t||n)return void setTimeout(this.nextCallback,0);this.props.addEndListener&&this.props.addEndListener(t,this.nextCallback),null!=e&&setTimeout(this.nextCallback,e)},r.render=function(){var t=this.state.status;if(t===u)return null;var e=this.props,r=e.children,n=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)e.indexOf(r=o[n])>=0||(i[r]=t[r]);return i}(e,["children"]);if(delete n.in,delete n.mountOnEnter,delete n.unmountOnExit,delete n.appear,delete n.enter,delete n.exit,delete n.timeout,delete n.addEndListener,delete n.onEnter,delete n.onEntering,delete n.onEntered,delete n.onExit,delete n.onExiting,delete n.onExited,"function"==typeof r)return r(t,n);var o=i.default.Children.only(r);return i.default.cloneElement(o,n)},e}(i.default.Component);function d(){}h.contextTypes={transitionGroup:n.object},h.childContextTypes={transitionGroup:function(){}},h.propTypes={},h.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter
1:!0,exit:!0,onEnter:d,onEntering:d,onEntered:d,onExit:d,onExiting:d,onExited:d},h.UNMOUNTED=0,h.EXITED=1,h.ENTERING=2,h.ENTERED=3,h.EXITING=4,e.default=(0,a.polyfill)(h)},36308:(t,e,r)=>{"use strict";e.__esModule=!0,e.classNamesShape=e.timeoutsShape=void 0,function(t){t&&t.__esModule}(r(95062)),e.timeoutsShape=null,e.classNamesShape=null},38255:(t,e,r)=>{"use strict";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})},38858:(t,e,r)=>{"use strict";r.d(e,{W:()=>n});var n=function(){return null};n.displayName="XAxis",n.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}},40040:(t,e,r)=>{"use strict";r.d(e,{J:()=>_});var n=r(98825),i=r.n(n),o=r(19850),a=r.n(o),c=r(19809),u=r.n(c),s=r(14232),l=r(58103),f=r.n(l),p=r(55993),h=r(62639),d=r(11540),y=r(3838);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})(t)}function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}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 b(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,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!==v(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==v(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===v(e)?e:String(e)}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):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}).apply(this,arguments)}var O=function(t){var e=t.value,r=t.formatter,n=u()(t.children)?e:t.children;return a()(r)?r(n):n},w=function(t,e,r){var n,i,o=t.position,a=t.viewBox,c=t.offset,l=t.className,p=a.cx,h=a.cy,v=a.innerRadius,m=a.outerRadius,g=a.startAngle,b=a.endAngle,O=a.clockWise,w=(v+m)/2,E=(0,d.sA)(b-g)*Math.min(Math.abs(b-g),360),S=E>=0?1:-1;"insideStart"===o?(n=g+S*c,i=O):"insideEnd"===o?(n=b-S*c,i=!O):"end"===o&&(n=b+S*c,i=O),i=E<=0?i:!i;var _=(0,y.IZ)(p,h,w,n),j=(0,y.IZ)(p,h,w,n+(i?1:-1)*359),A="M".concat(_.x,",").concat(_.y,"\n    A").concat(w,",").concat(w,",0,1,").concat(+!i,",\n    ").concat(j.x,",").concat(j.y),P=u()(t.id)?(0,d.NF)("recharts-radial-line-"):t.id;return s.createElement("text",x({},r,{dominantBaseline:"central",className:f()("recharts-radial-bar-label",l)}),s.createElement("defs",null,s.createElement("path",{id:P,d:A})),s.createElement("textPath",{xlinkHref:"#".concat(P)},e))},E=function(t){var e=t.viewBox,r=t.offset,n=t.position,i=e.cx,o=e.cy,a=e.innerRadius,c=e.outerRadius,u=(e.startAngle+e.endAngle)/2;if("outside"===n){var s=(0,y.IZ)(i,o,c+r,u),l=s.x;return{x:l,y:s.y,textAnchor:l>=i?"start":"end",verticalAnchor:"middle"}}if("center"===n)return{x:i,y:o,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===n)return{x:i,y:o,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===n)return{x:i,y:o,textAnchor:"middle",verticalAnchor:"end"};var f=(0,y.IZ)(i,o,(a+c)/2,u);return{x:f.x,y:f.y,textAnchor:"middle",verticalAnchor:"middle"}},S=function(t){var e=t.viewBox,r=t.parentViewBox,n=t.offset,o=t.position,a=e.x,c=e.y,u=e.width,s=e.he
1ight,l=s>=0?1:-1,f=l*n,p=l>0?"end":"start",h=l>0?"start":"end",y=u>=0?1:-1,v=y*n,m=y>0?"end":"start",g=y>0?"start":"end";if("top"===o)return b(b({},{x:a+u/2,y:c-l*n,textAnchor:"middle",verticalAnchor:p}),r?{height:Math.max(c-r.y,0),width:u}:{});if("bottom"===o)return b(b({},{x:a+u/2,y:c+s+f,textAnchor:"middle",verticalAnchor:h}),r?{height:Math.max(r.y+r.height-(c+s),0),width:u}:{});if("left"===o){var x={x:a-v,y:c+s/2,textAnchor:m,verticalAnchor:"middle"};return b(b({},x),r?{width:Math.max(x.x-r.x,0),height:s}:{})}if("right"===o){var O={x:a+u+v,y:c+s/2,textAnchor:g,verticalAnchor:"middle"};return b(b({},O),r?{width:Math.max(r.x+r.width-O.x,0),height:s}:{})}var w=r?{width:u,height:s}:{};return"insideLeft"===o?b({x:a+v,y:c+s/2,textAnchor:g,verticalAnchor:"middle"},w):"insideRight"===o?b({x:a+u-v,y:c+s/2,textAnchor:m,verticalAnchor:"middle"},w):"insideTop"===o?b({x:a+u/2,y:c+f,textAnchor:"middle",verticalAnchor:h},w):"insideBottom"===o?b({x:a+u/2,y:c+s-f,textAnchor:"middle",verticalAnchor:p},w):"insideTopLeft"===o?b({x:a+v,y:c+f,textAnchor:g,verticalAnchor:h},w):"insideTopRight"===o?b({x:a+u-v,y:c+f,textAnchor:m,verticalAnchor:h},w):"insideBottomLeft"===o?b({x:a+v,y:c+s-f,textAnchor:g,verticalAnchor:p},w):"insideBottomRight"===o?b({x:a+u-v,y:c+s-f,textAnchor:m,verticalAnchor:p},w):i()(o)&&((0,d.Et)(o.x)||(0,d._3)(o.x))&&((0,d.Et)(o.y)||(0,d._3)(o.y))?b({x:a+(0,d.F4)(o.x,u),y:c+(0,d.F4)(o.y,s),textAnchor:"end",verticalAnchor:"end"},w):b({x:a+u/2,y:c+s/2,textAnchor:"middle",verticalAnchor:"middle"},w)};function _(t){var e,r=t.viewBox,n=t.position,i=t.value,o=t.children,c=t.content,l=t.className,y=t.textBreakAll;if(!r||u()(i)&&u()(o)&&!(0,s.isValidElement)(c)&&!a()(c))return null;if((0,s.isValidElement)(c))return(0,s.cloneElement)(c,t);if(a()(c)){if(e=(0,s.createElement)(c,t),(0,s.isValidElement)(e))return e}else e=O(t);var v="cx"in r&&(0,d.Et)(r.cx),m=(0,h.J9)(t,!0);if(v&&("insideStart"===n||"insideEnd"===n||"end"===n))return w(t,e,m);var g=v?E(t):S(t);return s.createElement(p.E,x({className:f()("recharts-label",void 0===l?"":l)},m,g,{breakAll:y}),e)}_.displayName="Label",_.defaultProps={offset:5};var j=function(t){var e=t.cx,r=t.cy,n=t.angle,i=t.startAngle,o=t.endAngle,a=t.r,c=t.radius,u=t.innerRadius,s=t.outerRadius,l=t.x,f=t.y,p=t.top,h=t.left,y=t.width,v=t.height,m=t.clockWise,g=t.labelViewBox;if(g)return g;if((0,d.Et)(y)&&(0,d.Et)(v)){if((0,d.Et)(l)&&(0,d.Et)(f))return{x:l,y:f,width:y,height:v};if((0,d.Et)(p)&&(0,d.Et)(h))return{x:p,y:h,width:y,height:v}}return(0,d.Et)(l)&&(0,d.Et)(f)?{x:l,y:f,width:0,height:0}:(0,d.Et)(e)&&(0,d.Et)(r)?{cx:e,cy:r,startAngle:i||n||0,endAngle:o||n||0,innerRadius:u||0,outerRadius:s||c||a||0,clockWise:m}:t.viewBox?t.viewBox:{}};_.parseViewBox=j,_.renderCallByParent=function(t,e){var r,n,o=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!t||!t.children&&o&&!t.label)return null;var c=t.children,u=j(t),l=(0,h.aS)(c,_).map(function(t,r){return(0,s.cloneElement)(t,{viewBox:e||u,key:"label-".concat(r)})});if(!o)return l;return[(r=t.label,n=e||u,!r?null:!0===r?s.createElement(_,{key:"label-implicit",viewBox:n}):(0,d.vh)(r)?s.createElement(_,{key:"label-implicit",viewBox:n,value:r}):(0,s.isValidElement)(r)?r.type===_?(0,s.cloneElement)(r,{key:"label-implicit",viewBox:n}):s.createElement(_,{key:"label-implicit",content:r,viewBox:n}):a()(r)?s.createElement(_,{key:"label-implicit",content:r,viewBox:n}):i()(r)?s.createElement(_,x({viewBox:n},r,{key:"label-implicit"})):null)].concat(function(t){if(Array.isArray(t))return m(t)}(l)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(l)||function(t,e){if(t){if("string"==typeof t)return m(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return m(t,e)}}(l)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}},40421:t=>{t.exports=function(t){for(var e,r,n,i,o,a,c,u,s=[],l=t,f=0,p=l.charCodeAt(f),h=l.length,d=[{nodes:s}],y=0,v="",m="",g="";f<h;)if(p<=32){e=f;do e+=1,p=l.charCodeAt(e);while(p<=32);i=l.slice(f,e),n=s[s.length-1],41===p&&y?g=i:n&&"div"===n.type?n.after=i:44===p||58===p||47===p&&42!==l.charCodeAt(e+1)?m=i:s.push({type:"space",sourceIndex:f,value:i}),f=e}else if(39===p||34===p){e=f,i={type:"string",sourceIndex:f,quote:r=39===p?"'":'"'};do if(o=!1,~(e=l.indexOf(r,e+1)))for(a=e;92===l.charCodeAt(a-1);)a-=1,o=!o;else l+=r,e=l.length-1,i.unclosed=!0;while(o);i.value=l.slice(f+1,e),s.push(i),f=e+1,p=l.charCodeAt(f)}else if(47===p&&42===l.charCodeAt(f+1))i={type:"comment",sourceIndex:f},-1===(e=l.indexOf("*/",f))&&(i.unclosed=!0,e=l.length),i.value=l.slice(f+2,e),s.push(i),f=e+2,p=l.charCodeAt(f);else if(47===p||44===p||58===p)i=l[f],s.push({type:"div",sourceIndex:f-m.length,value:i,before:m,after:""}),m="",f+=1,p=l.charCodeAt(f);else if(40===p){e=f;do e+=1,p=l.charCodeAt(e);while(p<=32);if(i={type:"function",sourceIndex:f-v.length,value:v,before:l.slice(f+1,e)},f=e,"url"===v&&39!==p&&34!==p){e-=1;do if(o=!1,~(e=l.indexOf(")",e+1)))for(a=e;92===l.charCodeAt(a-1);)a-=1,o=!o;else l+=")",e=l.length-1,i.unclosed=!0;while(o);c=e;do c-=1,p=l.charCodeAt(c);while(p<=32);f!==c+1?i.nodes=[{type:"word",sourceIndex:f,value:l.slice(f,c+1)}]:i.nodes=[],i.unclosed&&c+1!==e?(i.after="",i.nodes.push({type:"space",sourceIndex:c+1,value:l.slice(c+1,e)})):i.after=l.slice(c+1,e),f=e+1,p=l.charCodeAt(f),s.push(i)}else y+=1,i.after="",s.push(i),d.push(i),s=i.nodes=[],u=i;v=""}else if(41===p&&y)f+=1,p=l.charCodeAt(f),u.after=g,g="",y-=1,d.pop(),s=(u=d[y]).nodes;else{e=f;do 92===p&&(e+=1),e+=1,p=l.charCodeAt(e);while(e<h&&!(p<=32||39===p||34===p||44===p||58===p||47===p||40===p||41===p&&y));i=l.slice(f,e),40===p?v=i:s.push({type:"word",sourceIndex:f,value:i}),f=e}for(f=d.length-1;f;f-=1)d[f].unclosed=!0;return d[0].nodes}},41237:(t,e,r)=>{"use strict";r.d(e,{jG:()=>u});
1var n=r(14232),i=function(t,e){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},o=function(){return(o=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function a(t){var e,r,i,o,a,c,u,s,l=t.className,f=t.counterClockwise,p=t.dashRatio,h=t.pathRadius,d=t.strokeWidth,y=t.style;return(0,n.createElement)("path",{className:l,style:Object.assign({},y,(r=(e={pathRadius:h,dashRatio:p,counterClockwise:f}).counterClockwise,i=e.dashRatio,a=(1-i)*(o=2*Math.PI*e.pathRadius),{strokeDasharray:o+"px "+o+"px",strokeDashoffset:(r?-a:a)+"px"})),d:(u=(c={pathRadius:h,counterClockwise:f}).pathRadius,"\n      M 50,50\n      m 0,-"+u+"\n      a "+u+","+u+" "+(s=+!!c.counterClockwise)+" 1 1 0,"+2*u+"\n      a "+u+","+u+" "+s+" 1 1 0,-"+2*u+"\n    "),strokeWidth:d,fillOpacity:0})}var c=function(t){function e(){this.constructor=r}function r(){return null!==t&&t.apply(this,arguments)||this}return i(r,t),r.prototype=null===t?Object.create(t):(e.prototype=t.prototype,new e),r.prototype.getBackgroundPadding=function(){return this.props.background?this.props.backgroundPadding:0},r.prototype.getPathRadius=function(){return 50-this.props.strokeWidth/2-this.getBackgroundPadding()},r.prototype.getPathRatio=function(){var t=this.props,e=t.value,r=t.minValue,n=t.maxValue;return(Math.min(Math.max(e,r),n)-r)/(n-r)},r.prototype.render=function(){var t=this.props,e=t.circleRatio,r=t.className,i=t.classes,o=t.counterClockwise,c=t.styles,u=t.strokeWidth,s=t.text,l=this.getPathRadius(),f=this.getPathRatio();return(0,n.createElement)("svg",{className:i.root+" "+r,style:c.root,viewBox:"0 0 100 100","data-test-id":"CircularProgressbar"},this.props.background?(0,n.createElement)("circle",{className:i.background,style:c.background,cx:50,cy:50,r:50}):null,(0,n.createElement)(a,{className:i.trail,counterClockwise:o,dashRatio:e,pathRadius:l,strokeWidth:u,style:c.trail}),(0,n.createElement)(a,{className:i.path,counterClockwise:o,dashRatio:f*e,pathRadius:l,strokeWidth:u,style:c.path}),s?(0,n.createElement)("text",{className:i.text,style:c.text,x:50,y:50},s):null)},r.defaultProps={background:!1,backgroundPadding:0,circleRatio:1,classes:{root:"CircularProgressbar",trail:"CircularProgressbar-trail",path:"CircularProgressbar-path",text:"CircularProgressbar-text",background:"CircularProgressbar-background"},counterClockwise:!1,className:"",maxValue:100,minValue:0,strokeWidth:8,styles:{root:{},trail:{},path:{},text:{},background:{}},text:""},r}(n.Component);function u(t){t.children;var e=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)0>e.indexOf(n[i])&&(r[n[i]]=t[n[i]]);return r}(t,["children"]);return(0,n.createElement)("div",{"data-test-id":"CircularProgressbarWithChildren"},(0,n.createElement)("div",{style:{position:"relative",width:"100%",height:"100%"}},(0,n.createElement)(c,o({},e)),t.children?(0,n.createElement)("div",{"data-test-id":"CircularProgressbarWithChildren__children",style:{position:"absolute",width:"100%",height:"100%",marginTop:"-100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"}},t.children):null))}},41946:(t,e,r)=>{var n=r(71266);t.exports=function(t,e){return n(t,e)}},42e3:(t,e,r)=>{"use strict";r.d(e,{R:()=>n});var n=function(t,e){for(var r=arguments.length,n=Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i]}},46368:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.flip=a;var n=function(t){return t&&t.__esModule?t:{default:t}}(r(98027));function i(t,e){return t.type===e.type&&t.value===e.value}function o(t){switch(t){case"LengthValue":case"AngleValue":case"TimeValue":case"FrequencyValue":case"ResolutionValue":case"EmValue":case"ExValue":case"ChValue":case"RemValue":case"VhValue":case"VwValue":case"VminValue":case"VmaxValue":case"PercentageValue":case"Value":return!0}return!1}function a(t){return"+"===t?"-":"+"}e.default=function t(e,r){return"MathExpression"===e.type?function(e,r){switch(c=e,s=t((u=(0,n.default)(c.left,c.right,r)).left,r),l=t(u.right,r),"MathExpression"===s.type&&"MathExpression"===l.type&&("/"===s.operator&&"*"===l.operator||"-"===s.operator&&"+"===l.operator||"*"===s.operator&&"/"===l.operator||"+"===s.operator&&"-"===l.operator)&&(i(s.right,l.right)?u=(0,n.default)(s.left,l.left,r):i(s.right,l.left)&&(u=(0,n.default)(s.left,l.right,r)),s=t(u.left,r),l=t(u.right,r)),c.left=s,c.right=l,(e=c).operator){case"+":case"-":var c,u,s,l,f
1=e,p=f,h=p.left,d=p.right,y=p.operator;if("CssVariable"===h.type||"CssVariable"===d.type)return f;if(0===d.value)return h;if(0===h.value&&"+"===y)return d;if(0===h.value&&"-"===y)return function t(e){return o(e.type)?e.value=-e.value:"MathExpression"==e.type&&(e.left=t(e.left),e.right=t(e.right)),e}(d);if(h.type===d.type&&o(h.type)&&(f=Object.assign({},h),"+"===y?f.value=h.value+d.value:f.value=h.value-d.value),o(h.type)&&("+"===d.operator||"-"===d.operator)&&"MathExpression"===d.type){if(h.type===d.left.type)return(f=Object.assign({},f)).left=t({type:"MathExpression",operator:y,left:h,right:d.left},r),f.right=d.right,f.operator="-"===y?a(d.operator):d.operator,t(f,r);else if(h.type===d.right.type)return(f=Object.assign({},f)).left=t({type:"MathExpression",operator:"-"===y?a(d.operator):d.operator,left:h,right:d.right},r),f.right=d.left,t(f,r)}if("MathExpression"===h.type&&("+"===h.operator||"-"===h.operator)&&o(d.type)){if(d.type===h.left.type)return(f=Object.assign({},h)).left=t({type:"MathExpression",operator:y,left:h.left,right:d},r),t(f,r);else if(d.type===h.right.type)return f=Object.assign({},h),"-"===h.operator?(f.right=t({type:"MathExpression",operator:"-"===y?"+":"-",left:d,right:h.right},r),f.operator="-"===y?"-":"+"):f.right=t({type:"MathExpression",operator:y,left:h.right,right:d},r),f.right.value<0&&(f.right.value*=-1,f.operator="-"===f.operator?"+":"-"),t(f,r)}return f;case"/":var v=e;if(!o(v.right.type))return v;if("Value"!==v.right.type)throw Error('Cannot divide by "'+v.right.unit+'", number expected');if(0===v.right.value)throw Error("Cannot divide by zero");if("MathExpression"===v.left.type){if(o(v.left.left.type)&&o(v.left.right.type))return v.left.left.value/=v.right.value,v.left.right.value/=v.right.value,t(v.left,r)}else if(o(v.left.type))return v.left.value/=v.right.value,v.left;return v;case"*":var m=e;if("MathExpression"===m.left.type&&"Value"===m.right.type){if(o(m.left.left.type)&&o(m.left.right.type))return m.left.left.value*=m.right.value,m.left.right.value*=m.right.value,m.left}else if(o(m.left.type)&&"Value"===m.right.type)return m.left.value*=m.right.value,m.left;else if("Value"===m.left.type&&"MathExpression"===m.right.type){if(o(m.right.left.type)&&o(m.right.right.type))return m.right.left.value*=m.left.value,m.right.right.value*=m.left.value,m.right}else if("Value"===m.left.type&&o(m.right.type))return m.right.value*=m.left.value,m.right;return m}return e}(e,r):"Calc"===e.type?t(e.value,r):e}},49484:(t,e)=>{var r=function(){function t(t,e){if(Object.defineProperty(this,"name",{enumerable:!1,writable:!1,value:"JisonParserError"}),null==t&&(t="???"),Object.defineProperty(this,"message",{enumerable:!1,writable:!0,value:t}),this.hash=e,e&&e.exception instanceof Error){var r,n=e.exception;this.message=n.message||t,r=n.stack}r||(Error.hasOwnProperty("captureStackTrace")?Error.captureStackTrace(this,this.constructor):r=Error(t).stack),r&&Object.defineProperty(this,"stack",{enumerable:!1,writable:!1,value:r})}function e(t,e,r){r=r||0;for(var n=0;n<e;n++)this.push(t),t+=r}function r(t,e){for(e+=t=this.length-t;t<e;t++)this.push(this[t])}function n(t){for(var e=[],r=0,n=t.length;r<n;r++){var i=t[r];"function"==typeof i?(r++,i.apply(e,t[r])):e.push(i)}return e}"function"==typeof Object.setPrototypeOf?Object.setPrototypeOf(t.prototype,Error.prototype):t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t.prototype.name="JisonParserError";var i={trace:function(){},JisonParserError:t,yy:{},options:{type:"lalr",hasPartialLrUpgradeOnConflict:!0,errorRecoveryTokenDiscardCount:3},symbols_:{$accept:0,$end:1,ADD:3,ANGLE:16,CHS:22,COMMA:14,CSS_CPROP:13,CSS_VAR:12,DIV:6,EMS:20,EOF:1,EXS:21,FREQ:18,LENGTH:15,LPAREN:7,MUL:5,NESTED_CALC:9,NUMBER:11,PERCENTAGE:28,PREFIX:10,REMS:23,RES:19,RPAREN:8,SUB:4,TIME:17,VHS:24,VMAXS:27,VMINS:26,VWS:25,css_value:33,css_variable:32,error:2,expression:29,math_expression:30,value:31},terminals_:{1:"EOF",2:"error",3:"ADD",4:"SUB",5:"MUL",6:"DIV",7:"LPAREN",8:"RPAREN",9:"NESTED_CALC",10:"PREFIX",11:"NUMBER",12:"CSS_VAR",13:"CSS_CPROP",14:"COMMA",15:"LENGTH",16:"ANGLE",17:"TIME",18:"FREQ",19:"RES",20:"EMS",21:"EXS",22:"CHS",23:"REMS",24:"VHS",25:"VWS",26:"VMINS",27:"VMAXS",28:"PERCENTAGE"},TERROR:2,EOF:1,originalQuoteName:null,originalParseError:null,cleanupAfterParse:null,constructParseErrorInfo:null,yyMergeLocationInfo:null,__reentrant_call_depth:0,__error_infos:[],__error_recovery_infos:[],quoteName:function(t){return'"'+t+'"'},getSymbolName:function(t){if(this.terminals_[t])return this.terminals_[t];var e=this.symbols_;for(var r in e)if(e[r]===t)return r;return null},describeSymbol:function(t){if(t!==this.EOF&&this.terminal_descriptions_&&this.terminal_descriptions_[t])return this.terminal_descriptions_[t];if(t===this.EOF)return"end of input";var e=this.getSymbolName(t);return e?this.quoteName(e):null},collect_expected_token_set:function(t,e){var r=this.TERROR,n=[],i={};if(!e&&this.state_descriptions_&&this.state_descriptions_[t])return[this.state_descriptions_[t]];for(var o in this.table[t])if((o*=1)!==r){var a=e?o:this.describeSymbol(o);a&&!i[a]&&(n.push(a),i[a]=!0)}return n},productions_:function(t){for(var e=[],r=t.pop,n=t.rule,i=0,o=r.length;i<o;i++)e.push([r[i],n[i]]);return e}({pop:n([29,e,[30,10],31,31,32,32,e,[33,15]]),rule:n([2,e,[3,5],4,7,e,[1,4],2,4,6,e,[1,14],2])}),performAction:function(t,e,r){var n=this.yy;switch(n.parser,n.lexer,t){case 0:case 6:this.$=r[e-1];break;case 1:return this.$=r[e-1],r[e-1];case 2:case 3:case 4:case 5:this.$={type:"MathExpression",operator:r[e-1],left
1:r[e-2],right:r[e]};break;case 7:this.$={type:"Calc",value:r[e-1]};break;case 8:this.$={type:"Calc",value:r[e-1],prefix:r[e-5]};break;case 9:case 10:case 11:this.$=r[e];break;case 12:this.$={type:"Value",value:parseFloat(r[e])};break;case 13:this.$={type:"Value",value:-1*parseFloat(r[e])};break;case 14:this.$={type:"CssVariable",value:r[e-1]};break;case 15:this.$={type:"CssVariable",value:r[e-3],fallback:r[e-1]};break;case 16:this.$={type:"LengthValue",value:parseFloat(r[e]),unit:/[a-z]+/.exec(r[e])[0]};break;case 17:this.$={type:"AngleValue",value:parseFloat(r[e]),unit:/[a-z]+/.exec(r[e])[0]};break;case 18:this.$={type:"TimeValue",value:parseFloat(r[e]),unit:/[a-z]+/.exec(r[e])[0]};break;case 19:this.$={type:"FrequencyValue",value:parseFloat(r[e]),unit:/[a-z]+/.exec(r[e])[0]};break;case 20:this.$={type:"ResolutionValue",value:parseFloat(r[e]),unit:/[a-z]+/.exec(r[e])[0]};break;case 21:this.$={type:"EmValue",value:parseFloat(r[e]),unit:"em"};break;case 22:this.$={type:"ExValue",value:parseFloat(r[e]),unit:"ex"};break;case 23:this.$={type:"ChValue",value:parseFloat(r[e]),unit:"ch"};break;case 24:this.$={type:"RemValue",value:parseFloat(r[e]),unit:"rem"};break;case 25:this.$={type:"VhValue",value:parseFloat(r[e]),unit:"vh"};break;case 26:this.$={type:"VwValue",value:parseFloat(r[e]),unit:"vw"};break;case 27:this.$={type:"VminValue",value:parseFloat(r[e]),unit:"vmin"};break;case 28:this.$={type:"VmaxValue",value:parseFloat(r[e]),unit:"vmax"};break;case 29:this.$={type:"PercentageValue",value:parseFloat(r[e]),unit:"%"};break;case 30:var i=r[e];i.value*=-1,this.$=i}},table:function(t){for(var e=[],r=t.len,n=t.symbol,i=t.type,o=t.state,a=t.mode,c=t.goto,u=0,s=r.length;u<s;u++){for(var l=r[u],f={},p=0;p<l;p++){var h=n.shift();switch(i.shift()){case 2:f[h]=[a.shift(),c.shift()];break;case 0:f[h]=o.shift();break;default:f[h]=[3]}}e.push(f)}return e}({len:n([24,1,5,23,1,18,e,[0,3],1,e,[0,16],e,[23,4],r,[28,3],0,0,16,1,6,6,e,[0,3],5,1,2,r,[37,3],r,[20,3],5,0,0]),symbol:n([4,7,9,11,12,e,[15,19,1],1,1,e,[3,4,1],r,[30,19],r,[29,4],7,4,10,11,r,[22,14],r,[19,3],r,[43,22],r,[23,69],r,[139,4],8,r,[51,24],4,r,[138,15],13,r,[186,5],8,r,[6,6],r,[5,5],9,8,14,r,[159,47],r,[60,10]]),type:n([e,[2,19],e,[0,5],1,e,[2,24],e,[0,4],r,[22,19],r,[43,42],r,[23,70],r,[28,25],r,[45,25],r,[113,54]]),state:n([1,2,8,6,7,30,r,[4,3],33,37,r,[5,3],38,r,[4,3],39,r,[4,3],40,r,[4,3],42,r,[21,4],50,r,[5,3],51,r,[4,3]]),mode:n([e,[1,179],e,[2,3],r,[5,5],r,[6,4],e,[1,57]]),goto:n([5,3,4,24,e,[9,15,1],e,[25,5,1],r,[24,19],31,35,32,34,r,[18,14],36,r,[38,19],r,[19,57],r,[118,4],41,r,[24,19],43,35,r,[16,14],44,e,[2,3],28,29,2,e,[3,3],28,29,3,r,[53,4],e,[45,5,1],r,[100,42],52,r,[5,4],53])}),defaultActions:function(t){for(var e={},r=t.idx,n=t.goto,i=0,o=r.length;i<o;i++)e[r[i]]=n[i];return e}({idx:n([6,7,8,e,[10,16,1],33,34,39,40,41,45,47,52,53]),goto:n([9,10,11,e,[16,14,1],12,1,30,13,e,[4,4,1],14,15,8])}),parseError:function(t,e,r){if(e.recoverable)"function"==typeof this.trace&&this.trace(t),e.destroy();else throw"function"==typeof this.trace&&this.trace(t),r||(r=this.JisonParserError),new r(t,e)},parse:function(t){var e=this,r=Array(128),n=Array(128),i=Array(128),o=this.table,a=0,c=0;this.TERROR;var u=this.EOF;this.options.errorRecoveryTokenDiscardCount;var s=[0,54];m=this.__lexer__?this.__lexer__:this.__lexer__=Object.create(this.lexer);var l={parseError:void 0,quoteName:void 0,lexer:void 0,parser:void 0,pre_parse:void 0,post_parse:void 0,pre_lex:void 0,post_lex:void 0};"function"!=typeof assert||assert,this.yyGetSharedState=function(){return l};var f=l,p=this.yy;for(var h in p)void 0===f[h]&&Object.prototype.hasOwnProperty.call(p,h)&&(f[h]=p[h]);l.lexer=m,l.parser=this,"function"==typeof l.parseError?this.parseError=function(t,e,r){return r||(r=this.JisonParserError),l.parseError.call(this,t,e,r)}:this.parseError=this.originalParseError,"function"==typeof l.quoteName?this.quoteName=function(t){return l.quoteName.call(this,t)}:this.quoteName=this.originalQuoteName,this.cleanupAfterParse=function(t,e,o){if(e&&((l.post_parse||this.post_parse)&&(u=this.constructParseErrorInfo(null,null,null,!1)),l.post_parse&&void 0!==(c=l.post_parse.call(this,l,t,u))&&(t=c),this.post_parse&&void 0!==(c=this.post_parse.call(this,l,t,u))&&(t=c),u&&u.destroy&&u.destroy()),this.__reentrant_call_depth>
11)return t;if(m.cleanupAfterLex&&m.cleanupAfterLex(o),l&&(l.lexer=void 0,l.parser=void 0,m.yy===l&&(m.yy=void 0)),l=void 0,this.parseError=this.originalParseError,this.quoteName=this.originalQuoteName,r.length=0,n.length=0,i.length=0,a=0,!o){for(var c,u,s=this.__error_infos.length-1;s>=0;s--){var f=this.__error_infos[s];f&&"function"==typeof f.destroy&&f.destroy()}this.__error_infos.length=0}return t},this.constructParseErrorInfo=function(t,e,o,u){var s={errStr:t,exception:e,text:m.match,value:m.yytext,token:this.describeSymbol(c)||c,token_id:c,line:m.yylineno,expected:o,recoverable:u,state:g,action:b,new_state:_,symbol_stack:r,state_stack:n,value_stack:i,stack_pointer:a,yy:l,lexer:m,parser:this,destroy:function(){var t=!!this.recoverable;for(var e in this)this.hasOwnProperty(e)&&"object"==typeof e&&(this[e]=void 0);this.recoverable=t}};return this.__error_infos.push(s),s};var d=function(){var t=m.lex();return"number"!=typeof t&&(t=e.symbols_[t]||t),t||u},y={$:!0,_$:void 0,yy:l},v=!1;try{for(this.__reentrant_call_depth++,m.setInput(t,l),"function"==typeof m.canIUse&&m.canIUse().fastLex&&(d=function(){var t=m.fastLex();return"number"!=typeof t&&(t=e.symbols_[t]||t),t||u}),i[a]=null,n[a]=0,r[a]=0,++a,this.pre_parse&&this.pre_parse.call(this,l),l.pre_parse&&l.pre_parse.call(this,l),_=n[a-1];;){if(g=_,this.defaultActions[g])b=2,_=this.defaultActions[g];else if(c||(c=d()),_=(O=o[g]&&o[g][c]||s)[1],!(b=O[0])){var m,g,b,x,O,w,E,S,_,j,A=this.describeSymbol(c)||c,P=this.collect_expected_token_set(g);j="number"==typeof m.yylineno?"Parse error on line "+(m.yylineno+1)+": ":"Parse error: ","function"==typeof m.showPosition&&(j+="\n"+m.showPosition(69,10)+"\n"),P.length?j+="Expecting "+P.join(", ")+", got unexpected "+A:j+="Unexpected "+A,w=this.constructParseErrorInfo(j,null,P,!1),x=this.parseError(w.errStr,w,this.JisonParserError),void 0!==x&&(v=x);break}switch(b){default:if(b instanceof Array){w=this.constructParseErrorInfo("Parse Error: multiple actions possible at state: "+g+", token: "+c,null,null,!1),x=this.parseError(w.errStr,w,this.JisonParserError),void 0!==x&&(v=x);break}w=this.constructParseErrorInfo("Parsing halted. No viable error recovery approach available due to internal system failure.",null,null,!1),x=this.parseError(w.errStr,w,this.JisonParserError),void 0!==x&&(v=x);break;case 1:r[a]=c,i[a]=m.yytext,n[a]=_,++a,c=0;continue;case 2:if(E=(S=this.productions_[_-1])[1],x=this.performAction.call(y,_,a-1,i),void 0!==x){v=x;break}a-=E;var k=S[0];r[a]=k,i[a]=y.$,_=o[n[a-1]][k],n[a]=_,++a;continue;case 3:-2!==a&&(v=!0,a--,void 0!==i[a]&&(v=i[a]))}break}}catch(t){if(t instanceof this.JisonParserError||m&&"function"==typeof m.JisonLexerError&&t instanceof m.JisonLexerError)throw t;w=this.constructParseErrorInfo("Parsing aborted due to exception.",t,null,!1),v=!1,void 0!==(x=this.parseError(w.errStr,w,this.JisonParserError))&&(v=x)}finally{v=this.cleanupAfterParse(v,!0,!0),this.__reentrant_call_depth--}return v}};function o(){this.yy={}}return i.originalParseError=i.parseError,i.originalQuoteName=i.quoteName,i.lexer=function(){function t(t,e){if(Object.defineProperty(this,"name",{enumerable:!1,writable:!1,value:"JisonLexerError"}),null==t&&(t="???"),Object.defineProperty(this,"message",{enumerable:!1,writable:!0,value:t}),this.hash=e,e&&e.exception instanceof Error){var r,n=e.exception;this.message=n.message||t,r=n.stack}r||(Error.hasOwnProperty("captureStackTrace")?Error.captureStackTrace(this,this.constructor):r=Error(t).stack),r&&Object.defineProperty(this,"stack",{enumerable:!1,writable:!1,value:r})}return"function"==typeof Object.setPrototypeOf?Object.setPrototypeOf(t.prototype,Error.prototype):t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t.prototype.name="JisonLexerError",{EOF:1,ERROR:2,__currentRuleSet__:null,__error_infos:[],__decompressed:!1,done:!1,_backtrack:!1,_input:"",_more:!1,_signaled_error_token:!1,conditionStack:[],match:"",matched:"",matches:!1,yytext:"",offset:0,yyleng:0,yylineno:0,yylloc:null,constructLexErrorInfo:function(t,e,r){if(t=""+t,void 0==r&&(r=!(t.indexOf("\n")>0&&t.indexOf("^")>0)),this.yylloc&&r){if("function"==typeof this.prettyPrintRange)this.prettyPrintRange(this.yylloc),/\n\s*$/.test(t)||(t+="\n"),t+="\n  Erroneous area:\n"+this.prettyPrintRange(this.yylloc);else if("function"==typeof this.showPosition){var n=this.showPosition();n&&(t.length&&"\n"!==t[t.length-1]&&"\n"!==n[0]?t+="\n"+n:t+=n)}}var i={errStr:t,recoverable:!!e,text:this.match,token:null,line:this.yylineno,loc:this.yylloc,yy:this.yy,lexer:this,destroy:function(){var t=!!this.recoverable;for(var e in this)this.hasOwnProperty(e)&&"object"==typeof e&&(this[e]=void 0);this.recoverable=t}};return this.__error_infos.push(i),i},parseError:function(t,e,r){if(r||(r=this.JisonLexerError),this.yy){if(this.yy.parser&&"function"==typeof this.yy.parser.parseError)return this.yy.parser.parseError.call(this,t,e,r)||this.ERROR;else if("function"==typeof this.yy.parseError)return this.yy.parseError.call(this,t,e,r)||this.ERROR}throw new r(t,e)},yyerror:function(t){var e="";this.yylloc&&(e=" on line "+(this.yylineno+1));var r=this.constructLexErrorInfo("Lexical error"+e+": "+t,this.options.lexerErrorsAreRecoverable),n=Array.prototype.slice.call(arguments,1
1);return n.length&&(r.extra_error_attributes=n),this.parseError(r.errStr,r,this.JisonLexerError)||this.ERROR},cleanupAfterLex:function(t){if(this.setInput("",{}),!t){for(var e=this.__error_infos.length-1;e>=0;e--){var r=this.__error_infos[e];r&&"function"==typeof r.destroy&&r.destroy()}this.__error_infos.length=0}return this},clear:function(){this.yytext="",this.yyleng=0,this.match="",this.matches=!1,this._more=!1,this._backtrack=!1;var t=this.yylloc?this.yylloc.last_column:0;this.yylloc={first_line:this.yylineno+1,first_column:t,last_line:this.yylineno+1,last_column:t,range:[this.offset,this.offset]}},setInput:function(t,e){if(this.yy=e||this.yy||{},!this.__decompressed){for(var r=this.rules,n=0,i=r.length;n<i;n++){var o=r[n];"number"==typeof o&&(r[n]=r[o])}var a=this.conditions;for(var c in a){for(var u=a[c],s=u.rules,i=s.length,l=Array(i+1),f=Array(i+1),n=0;n<i;n++){var p=s[n],o=r[p];l[n+1]=o,f[n+1]=p}u.rules=f,u.__rule_regexes=l,u.__rule_count=i}this.__decompressed=!0}return this._input=t||"",this.clear(),this._signaled_error_token=!1,this.done=!1,this.yylineno=0,this.matched="",this.conditionStack=["INITIAL"],this.__currentRuleSet__=null,this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0,range:[0,0]},this.offset=0,this},editRemainingInput:function(t,e){var r=t.call(this,this._input,e);return"string"!=typeof r?r&&(this._input=""+r):this._input=r,this},input:function(){if(!this._input)return null;var t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var e=1,r=!1;if("\n"===t)r=!0;else if("\r"===t){r=!0;var n=this._input[1];"\n"===n&&(e++,t+=n,this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n,this.yylloc.range[1]++)}return r?(this.yylineno++,this.yylloc.last_line++,this.yylloc.last_column=0):this.yylloc.last_column++,this.yylloc.range[1]++,this._input=this._input.slice(e),t},unput:function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g);if(this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.yyleng=this.yytext.length,this.offset-=e,this.match=this.match.substr(0,this.match.length-e),this.matched=this.matched.substr(0,this.matched.length-e),r.length>1){this.yylineno-=r.length-1,this.yylloc.last_line=this.yylineno+1;var n=this.match,i=n.split(/(?:\r\n?|\n)/g);1===i.length&&(i=(n=this.matched).split(/(?:\r\n?|\n)/g)),this.yylloc.last_column=i[i.length-1].length}else this.yylloc.last_column-=e;return this.yylloc.range[1]=this.yylloc.range[0]+this.yyleng,this.done=!1,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else{var t="";this.yylloc&&(t=" on line "+(this.yylineno+1));var e=this.constructLexErrorInfo("Lexical error"+t+": You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).",!1);this._signaled_error_token=this.parseError(e.errStr,e,this.JisonLexerError)||this.ERROR}return this},less:function(t){return this.unput(this.match.slice(t))},pastInput:function(t,e){var r=this.matched.substring(0,this.matched.length-this.match.length);t<0?t=r.length:t||(t=20),e<0?e=r.length:e||(e=1);var n=(r=r.substr(-(2*t)-2)).replace(/\r\n|\r/g,"\n").split("\n");return(r=(n=n.slice(-e)).join("\n")).length>t&&(r="..."+r.substr(-t)),r},upcomingInput:function(t,e){var r=this.match;t<0?t=r.length+this._input.length:t||(t=20),e<0?e=t:e||(e=1),r.length<2*t+2&&(r+=this._input.substring(0,2*t+2));var n=r.replace(/\r\n|\r/g,"\n").split("\n");return(r=(n=n.slice(0,e)).join("\n")).length>t&&(r=r.substring(0,t)+"..."),r},showPosition:function(t,e){var r=this.pastInput(t).replace(/\s/g," "),n=Array(r.length+1).join("-");return r+this.upcomingInput(e).replace(/\s/g," ")+"\n"+n+"^"},deriveLocationInfo:function(t,e,r,n){var i={first_line:1,first_column:0,last_line:1,last_column:0,range:[0,0]};return t&&(i.first_line=0|t.first_line,i.last_line=0|t.last_line,i.first_column=0|t.first_column,i.last_column=0|t.last_column,t.range&&(i.range[0]=0|t.range[0],i.range[1]=0|t.range[1])),(i.first_line<=0||i.last_line<i.first_line)&&(i.first_line<=0&&e&&(i.first_line=0|e.last_line,i.first_column=0|e.last_column,e.range&&(i.range[0]=0|t.range[1])),(i.last_line<=0||i.last_line<i.first_line)&&r&&(i.last_line=0|r.first_line,i.last_column=0|r.first_column,r.range&&(i.range[1]=0|t.range[0])),i.first_line<=0&&n&&(i.last_line<=0||n.last_line<=i.last_line)&&(i.first_line=0|n.first_line,i.first_column=0|n.first_column,n.range&&(i.range[0]=0|n.range[0])),i.last_line<=0&&n&&(i.first_line<=0||n.first_line>=i.first_line)&&(i.last_line=0|n.last_line,i.last_column=0|n.last_column,n.range&&(i.range[1]=0|n.range[1]))),i.last_line<=0&&(i.first_line<=0?(i.first_line=this.yylloc.first_line,i.last_line=this.yylloc.last_line,i.first_column=this.yylloc.first_column,i.last_column=this.yylloc.last_column,i.range[0]=this.yylloc.range[0]):(i.last_line=this.yylloc.last_line,i.last_column=this.yylloc.last_column),i.range[1]=this.yylloc.range[1]),i.first_line<=0&&(i.first_line=i.last_line,i.first_column=0,i.range[1]=i.range[0]),i.first_column<0&&(i.first_column=0),i.last_column<0&&(i.last_column=i.first_column>0?i.first_column:80),i},prettyPrintRange:function(t,e,r){t=this.deriveLocationInfo(t,e,r);var n=(this.matched+this._input).split("\n"),i=Math.max(1,e?e.first_line:t.first_line-3),o=Math.max(1,r?r.last_line:t.last_line+1),a=1+Math.log10(1|o)|0,c=Array(a).join(" "),u=[],s=n.slice(i-1,o+1).map(function(e,r){var n=r+i,o=(c+n).substr(-a)+": "+e,s=Array(a+1).join("^"),l=3,f=0;return n===t.first_line?(l+=t.first_column,f=Math.max(2,(n===t.last_line?t.last_column:e.length)-t.first_column+1)):n===t.last_line?f=Math.max(2,t.last_column+1):n>t.first_line&&n<t.last_line&&(f=Math.max(2,e.length+1)),f&&(o+="\n"+s+Array(l).join(".")+Array(f).join("^"),e.trim().length>0&&u.push(r)),o=o.replace(/\t/g," ")});if(u.length>4){var l=u[1]+1,f=u[u.length-2]-1,p=Array(a+1).join(" ")+"  (...continued...)";p+="\n"+Array(a+1).join("-")+"  (---------------)",s.splice(l,f-l+1,p)}return s.join("\n")},describeYYLLOC:function(t,e){var r,n=t.first_line,i=t.last_line,o=t.first_column,a=t.last_column;if(0==i-n?(r="line "+n+", ",a-o<=1?r+="column "+o:r+="columns "+o+" .. "+a):r="lines "+n+"(column "+o+") .. "+i+"(column "+a+")",t.range&&e){var c=t.range[0],u=t.range[1]-1;
1u<=c?r+=" {String Offset: "+c+"}":r+=" {String Offset range: "+c+" .. "+u+"}"}return r},test_match:function(t,e){var r,n,i,o,a;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.yylloc.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column,range:this.yylloc.range.slice(0)},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done}),a=(o=t[0]).length,(n=o.split(/(?:\r\n?|\n)/g)).length>1?(this.yylineno+=n.length-1,this.yylloc.last_line=this.yylineno+1,this.yylloc.last_column=n[n.length-1].length):this.yylloc.last_column+=a,this.yytext+=o,this.match+=o,this.matched+=o,this.matches=t,this.yyleng=this.yytext.length,this.yylloc.range[1]+=a,this.offset+=a,this._more=!1,this._backtrack=!1,this._input=this._input.slice(a),r=this.performAction.call(this,this.yy,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack){for(var c in i)this[c]=i[c];this.__currentRuleSet__=null}else if(this._signaled_error_token)return r=this._signaled_error_token,this._signaled_error_token=!1,r;return!1},next:function(){if(this.done)return this.clear(),this.EOF;this._input||(this.done=!0),this._more||this.clear();var t,e,r,n,i=this.__currentRuleSet__;if(!i&&(!(i=this.__currentRuleSet__=this._currentRules())||!i.rules)){var o="";this.options.trackPosition&&(o=" on line "+(this.yylineno+1));var a=this.constructLexErrorInfo("Internal lexer engine error"+o+': The lex grammar programmer pushed a non-existing condition name "'+this.topState()+'"; this is a fatal error and should be reported to the application programmer team!',!1);return this.parseError(a.errStr,a,this.JisonLexerError)||this.ERROR}for(var c=i.rules,u=i.__rule_regexes,s=i.__rule_count,l=1;l<=s;l++)if((r=this._input.match(u[l]))&&(!e||r[0].length>e[0].length)){if(e=r,n=l,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,c[l])))return t;if(!this._backtrack)return!1;e=void 0;continue}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,c[n]))&&t;if(!this._input)return this.done=!0,this.clear(),this.EOF;var o="";this.options.trackPosition&&(o=" on line "+(this.yylineno+1));var a=this.constructLexErrorInfo("Lexical error"+o+": Unrecognized text.",this.options.lexerErrorsAreRecoverable),f=this._input,p=this.topState(),h=this.conditionStack.length;return(t=this.parseError(a.errStr,a,this.JisonLexerError)||this.ERROR)!==this.ERROR||this.matches||f!==this._input||p!==this.topState()||h!==this.conditionStack.length||this.input(),t},lex:function(){var t;for("function"==typeof this.pre_lex&&(t=this.pre_lex.call(this,0)),"function"==typeof this.options.pre_lex&&(t=this.options.pre_lex.call(this,t)||t),this.yy&&"function"==typeof this.yy.pre_lex&&(t=this.yy.pre_lex.call(this,t)||t);!t;)t=this.next();return this.yy&&"function"==typeof this.yy.post_lex&&(t=this.yy.post_lex.call(this,t)||t),"function"==typeof this.options.post_lex&&(t=this.options.post_lex.call(this,t)||t),"function"==typeof this.post_lex&&(t=this.post_lex.call(this,t)||t),t},fastLex:function(){for(var t;!t;)t=this.next();return t},canIUse:function(){return{fastLex:!("function"==typeof this.pre_lex||"function"==typeof this.options.pre_lex||this.yy&&"function"==typeof this.yy.pre_lex||this.yy&&"function"==typeof this.yy.post_lex||"function"==typeof this.options.post_lex||"function"==typeof this.post_lex)&&"function"==typeof this.fastLex}},begin:function(t){return this.pushState(t)},pushState:function(t){return this.conditionStack.push(t),this.__currentRuleSet__=null,this},popState:function(){return this.conditionStack.length-1>0?(this.__currentRuleSet__=null,this.conditionStack.pop()):this.conditionStack[0]},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]]:this.conditions.INITIAL},stateStackSize:function(){return this.conditionStack.length},options:{trackPosition:!0},JisonLexerError:t,performAction:function(t,e,r){if(1!==e)return this.simpleCaseActionClusters[e]},simpleCaseActionClusters:{0:13,2:5,3:6,4:3,5:4,6:15,7:15,8:15,9:15,10:15,11:15,12:16,13:16,14:16,15:16,16:17,17:17,18:18,19:18,20:19,21:19,22:19,23:20,24:21,25:22,26:23,27:25,28:24,29:26,30:27,31:28,32:11,33:9,34:12,35:10,36:7,37:8,38:14,39:1},rules:[/^(?:(--[\d\-A-Za-z]*))/,/^(?:\s+)/,/^(?:\*)/,/^(?:\/)/,/^(?:\+)/,/^(?:-)/,/^(?:(\d+(\.\d*)?|\.\d+)px\b)/,/^(?:(\d+(\.\d*)?|\.\d+)cm\b)/,/^(?:(\d+(\.\d*)?|\.\d+)mm\b)/,/^(?:(\d+(\.\d*)?|\.\d+)in\b)/,/^(?:(\d+(\.\d*)?|\.\d+)pt\b)/,/^(?:(\d+(\.\d*)?|\.\d+)pc\b)/,/^(?:(\d+(\.\d*)?|\.\d+)deg\b)/,/^(?:(\d+(\.\d*)?|\.\d+)grad\b)/,/^(?:(\d+(\.\d*)?|\.\d+)rad\b)/,/^(?:(\d+(\.\d*)?|\.\d+)turn\b)/,/^(?:(\d+(\.\d*)?|\.\d+)s\b)/,/^(?:(\d+(\.\d*)?|\.\d+)ms\b)/,/^(?:(\d+(\.\d*)?|\.\d+)Hz\b)/,/^(?:(\d+(\.\d*)?|\.\d+)kHz\b)/,/^(?:(\d+(\.\d*)?|\.\d+)dpi\b)/,/^(?:(\d+(\.\d*)?|\.\d+)dpcm\b)/,/^(?:(\d+(\.\d*)?|\.\d+)dppx\b)/,/^(?:(\d+(\.\d*)?|\.\d+)em\b)/,/^(?:(\d+(\.\d*)?|\.\d+)ex\b)/,/^(?:(\d+(\.\d*)?|\.\d+)ch\b)/,/^(?:(\d+(\.\d*)?|\.\d+)rem\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vw\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vh\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vmin\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vmax\b)/,/^(?:(\d+(\.\d*)?|\.\d+)%)/,/^(?:(\d+(\.\d*)?|\.\d+)\b)/,/^(?:(calc))/,/^(?:(var))/,/^(?:([a-z]+))/,/^(?:\()/,/^(?:\))/,/^(?:,)/,/^(?:$)/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],inclusive:!0}}}}(),o.prototype=i,i.Parser=o,new o}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)}},49884:(t,e,r)=>{"use strict";r.d(e,{e:()=>S});var n=r(57242),i=r.n(n),o=r(19850),a=r.n(o),c=r(14232),u=r(58103),s=r.n(u),l=r(74524),f=r(40040),p=r(33447),h=r(11540),d=r(65940),y=r(42e3),v=r(62639);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})(t)}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 b(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?g(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!==m(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==m(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===m(e)?e:String(e)}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function x(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function O(){return(O=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var w=function(t,e){return c.isValidElement(t)?c.cloneElement(t,e):a()(t)?t(e):c.createElement("line",O({},e,{className:"recharts-reference-line-line"}))},E=function(t,e,r,n,o){var a=o.viewBox,c=a.x,u=a.y,s=a.width,l=a.height,f=o.position;if(r){var h=o.y,d=o.yAxis.orientation,y=t.y.apply(h,{position:f});if((0,p.R)(o,"discard")&&!t.y.isInRange(y))return null;var v=[{x:c+s,y:y},{x:c,y:y}];return"left"===d?v.reverse():v}if(e){var m=o.x,g=o.xAxis.orientation,b=t.x.apply(m,{position:f});if((0,p.R)(o,"discard")&&!t.x.isInRange(b))return null;var x=[{x:b,y:u+l},{x:b,y:u}];return"top"===g?x.reverse():x}if(n){var O=o.segment.map(function(e){return t.apply(e,{position:f})});return(0,p.R)(o,"discard")&&i()(O,function(e){return!t.isInRange(e)})?null:O}return null};function S(t){var e=t.x,r=t.y,n=t.segment,i=t.xAxis,o=t.yAxis,a=t.shape,u=t.className,m=t.alwaysShow,g=t.clipPathId;(0,y.R)(void 0===m,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var O=E((0,d.P2)({x:i.scale,y:o.scale}),(0,h.vh)(e),(0,h.vh)(r),n&&2===n.length,t);if(!O)return null;var S=function(t){if(Array.isArray(t))return t}(O)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],u=!0,s=!1;try{o=(r=r.call(t)).next,!1;for(;!(u=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,i=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw i}}return c}}(O,2)||function(t,e){if(t){if("string"==typeof t)return x(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return x(t,e)}}(O,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),_=S[0],j=_.x,A=_.y,P=S[1],k=P.x,M=P.y,T=b(b({clipPath:(0,p.R)(t,"hidden")?"url(#".concat(g,")"):void 0},(0,v.J9)(t,!0)),{},{x1:j,y1:A,x2:k,y2:M});return c.createElement(l.W,{className:s()("recharts-reference-line",u)},w(a,T),f.J.renderCallByParent(t,(0,d.vh)({x1:j,y1:A,x2:k,y2:M})))}S.displayName="ReferenceLine",S.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"}},50452:(t,e,r)=>{"use strict";e.__esModule=!0,e.default=void 0,function(t){if(!t||!t.__esModule){var e={};if(null!=t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,r):{};n.get||n.set?Object.defineProperty(e,r,n):e[r]=t[r]}}e.default=t}}(r(95062));var n=c(r(15105)),i=c(r(29220)),o=c(r(14232)),a=c(r(36135));function c(t){return t&&t.__esModule?t:{default:t}}function u(){return(u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}r(36308);var s=function(t,e){return t&&e&&e.split(" ").forEach(function(e){return(0,n.default)(t,e)})},l=function(t,e){return t&&e&&e.split(" ").forEach(function(e){return(0,i.default)(t,e)})},f=function(t){function e(){for(var e,r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];return(e=t.call.apply(t,[this].concat(n))||this).onEnter=function(t,r){var n=e.getClassNames(r?"appear":"enter").className;e.removeClasses(t,"exit"),s(t,n),e.props.onEnter&&e.props.onEnter(t,r)},e.onEntering=function(t,r){var n=e.getClassNames(r?"appear":"enter").activeClassName;e.reflowAndAddClass(t,n),e.props.onEntering&&e.props.onEntering(t,r)},e.onEntered=function(t,r){var n=e.getClassNames("appear").doneClassName,i=e.getClassNames("enter").doneClassName;e.removeClasses(t,r?"appear":"enter"),s(t,r?n+" "+i:i),e.props.onEntered&&e.props.onEntered(t,r)}
1,e.onExit=function(t){var r=e.getClassNames("exit").className;e.removeClasses(t,"appear"),e.removeClasses(t,"enter"),s(t,r),e.props.onExit&&e.props.onExit(t)},e.onExiting=function(t){var r=e.getClassNames("exit").activeClassName;e.reflowAndAddClass(t,r),e.props.onExiting&&e.props.onExiting(t)},e.onExited=function(t){var r=e.getClassNames("exit").doneClassName;e.removeClasses(t,"exit"),s(t,r),e.props.onExited&&e.props.onExited(t)},e.getClassNames=function(t){var r=e.props.classNames,n="string"==typeof r,i=n&&r?r+"-":"",o=n?i+t:r[t],a=n?o+"-active":r[t+"Active"],c=n?o+"-done":r[t+"Done"];return{className:o,activeClassName:a,doneClassName:c}},e}e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t;var r=e.prototype;return r.removeClasses=function(t,e){var r=this.getClassNames(e),n=r.className,i=r.activeClassName,o=r.doneClassName;n&&l(t,n),i&&l(t,i),o&&l(t,o)},r.reflowAndAddClass=function(t,e){e&&(t&&t.scrollTop,s(t,e))},r.render=function(){var t=u({},this.props);return delete t.classNames,o.default.createElement(a.default,u({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},e}(o.default.Component);f.defaultProps={classNames:""},f.propTypes={},e.default=f,t.exports=e.default},52998:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(36739),i=r(89365);function o(t){return(0,i.A)(1,arguments),1===(0,n.A)(t).getDay()}},54086:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(85529),i=r(89365);function o(t,e){(0,i.A)(2,arguments);var r=(0,n.A)(t),o=(0,n.A)(e);return r.getTime()===o.getTime()}},55695:(t,e,r)=>{"use strict";r.d(e,{c:()=>p});var n=r(14232),i=r(58103),o=r.n(i),a=r(12656),c=r(62639);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})(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}).apply(this,arguments)}function l(t,e){return(l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");p.prototype=Object.create(t&&t.prototype,{constructor:{value:p,writable:!0,configurable:!0}}),Object.defineProperty(p,"prototype",{writable:!1}),t&&l(p,t);var e,r,i=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,r=f(p);return t=e?Reflect.construct(r,arguments,f(this).constructor):r.apply(this,arguments),function(t,e){if(e&&("object"===u(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,t)});function p(){if(!(this instanceof p))throw TypeError("Cannot call a class as a function");return i.apply(this,arguments)}return r=[{key:"render",value:function(){var t=this.props,e=t.cx,r=t.cy,i=t.r,u=t.className,l=o()("recharts-dot",u);return e===+e&&r===+r&&i===+i?n.createElement("circle",s({},(0,c.J9)(this.props),(0,a._U)(this.props),{className:l,cx:e,cy:r,r:i})):null}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,function(t){var e=function(t,e){if("object"!==u(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==u(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"===u(e)?e:String(e)}(n.key),n)}}(p.prototype,r),Object.defineProperty(p,"prototype",{writable:!1}),p}(n.PureComponent)},55993:(t,e,r)=>{"use strict";r.d(e,{E:()=>C});var n=r(19809),i=r.n(n),o=r(14232),a=r(97688),c=r.n(a),u=r(58103),s=r.n(u),l=r(11540),f=r(69428),p=r(62639),h=r(58626),d=["dx","dy","textAnchor","verticalAnchor","scaleToFit","angle","lineHeight","capHeight","className","breakAll"];function y(t){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function v(){return(v=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function m(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,j(n.key),n)}}function g(t,e){return(g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function b(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function x(t){return(x=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function O(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],u=!0,s=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,i=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw i}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return w(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return w(t,e)}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function 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 S(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){_(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,e,r){return(e=j(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function j(t){var e=function(t,e){if("object"!==y(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==y(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===y(e)?e:String(e)}var A=/[ \f\n\r\t\v\u2028\u2029]+/,P=function(t){try{var e=[];i()(t.children)||(e=t.breakAll?t.children.toString().split(""):t.children.toString().split(A));var r=e.map(function(e){return{word:e,width:(0,h.Pu)(e,t.style).width}}),n=t.breakAll?0:(0,h.Pu)("\xa0",t.style).width;return{wordsWithComputedWidth:r,spaceWidth:n}}catch(t){return null}},k=function(t,e,r,n,i){var o,a=(0,l.Et)(t.maxLines),c=t.children,u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.reduce(function(t,e){var o=e.word,a=e.width,c=t[t.length-1];return c&&(null==n||i||c.width+a+r<n)?(c.words.push(o),c.width+=a+r):t.push({words:[o],width:a}),t},[])},s=u(e);if(!a)return s;for(var f=function(e){var r=c.slice(0,e),i=u(P(S(S({},t),{},{children:r+"…"})).wordsWithComputedWidth);return[i.length>t.maxLines||i.reduce(function(t,e){return t.width>e.width?t:e}).width>n,i]},p=0,h=c.length-1,d=0;p<=h&&d<=c.length-1;){var y=Math.floor((p+h)/2),v=O(f(y-1),2),m=v[0],g=v[1],b=O(f(y),1)[0];if(m||b||(p=y+1),m&&b&&(h=y-1),!m&&b){o=g;break}d++}return o||s},M=function(t){return[{words:i()(t)?[]:t.toString().split(A)}]},T=function(t,e){if((t.width||t.scaleToFit)&&!f.m.isSsr&&e){var r=P(t);if(!r)return M(t.children);
1var n=r.wordsWithComputedWidth,i=r.spaceWidth;return k(t,n,i,t.width,t.scaleToFit)}return M(t.children)},C=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");a.prototype=Object.create(t&&t.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),Object.defineProperty(a,"prototype",{writable:!1}),t&&g(a,t);var e,r,n,i=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,r=x(a);return t=e?Reflect.construct(r,arguments,x(this).constructor):r.apply(this,arguments),function(t,e){if(e&&("object"===y(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return b(t)}(this,t)});function a(){var t;if(!(this instanceof a))throw TypeError("Cannot call a class as a function");for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];return _(b(t=i.call.apply(i,[this].concat(r))),"state",{}),t}return r=[{key:"render",value:function(){var t,e=this.props,r=e.dx,n=e.dy,i=e.textAnchor,u=e.verticalAnchor,f=e.scaleToFit,h=e.angle,y=e.lineHeight,m=e.capHeight,g=e.className,b=e.breakAll,x=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(e,d),O=this.state.wordsByLines;if(!(0,l.vh)(x.x)||!(0,l.vh)(x.y))return null;var w=x.x+((0,l.Et)(r)?r:0),E=x.y+((0,l.Et)(n)?n:0);switch(u){case"start":t=c()("calc(".concat(m,")"));break;case"middle":t=c()("calc(".concat((O.length-1)/2," * -").concat(y," + (").concat(m," / 2))"));break;default:t=c()("calc(".concat(O.length-1," * -").concat(y,")"))}var S=[];if(f){var _=O[0].width,j=this.props.width;S.push("scale(".concat(((0,l.Et)(j)?j/_:1)/_,")"))}return h&&S.push("rotate(".concat(h,", ").concat(w,", ").concat(E,")")),S.length&&(x.transform=S.join(" ")),o.createElement("text",v({},(0,p.J9)(x,!0),{x:w,y:E,className:s()("recharts-text",g),textAnchor:i,fill:x.fill.includes("url")?a.defaultProps.fill:x.fill}),O.map(function(e,r){return o.createElement("tspan",{x:w,dy:0===r?t:y,key:r},e.words.join(b?"":" "))}))}}],n=[{key:"getDerivedStateFromProps",value:function(t,e){if(t.width!==e.prevWidth||t.scaleToFit!==e.prevScaleToFit||t.children!==e.prevChildren||t.style!==e.prevStyle||t.breakAll!==e.prevBreakAll){var r=t.children!==e.prevChildren||t.style!==e.prevStyle||t.breakAll!==e.prevBreakAll;return{prevWidth:t.width,prevScaleToFit:t.scaleToFit,prevChildren:t.children,prevStyle:t.style,wordsByLines:T(t,r)}}return null}}],r&&m(a.prototype,r),n&&m(a,n),Object.defineProperty(a,"prototype",{writable:!1}),a}(o.Component);_(C,"defaultProps",{x:0,y:0,lineHeight:"1em",capHeight:"0.71em",scaleToFit:!1,textAnchor:"start",verticalAnchor:"end",fill:"#808080"})},57205:(t,e,r)=>{"use strict";r.d(e,{d:()=>g});var n=r(19850),i=r.n(n),o=r(14232),a=r(11540),c=r(62639),u=["x1","y1","x2","y2","key"];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})(t)}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}).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]:{};
1e%2?f(Object(r),!0).forEach(function(e){v(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 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,m(n.key),n)}}function d(t,e){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function v(t,e,r){return(e=m(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function m(t){var e=function(t,e){if("object"!==s(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==s(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===s(e)?e:String(e)}var g=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");v.prototype=Object.create(t&&t.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),t&&d(v,t);var e,r,n,f=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,r=y(v);return t=e?Reflect.construct(r,arguments,y(this).constructor):r.apply(this,arguments),function(t,e){if(e&&("object"===s(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,t)});function v(){if(!(this instanceof v))throw TypeError("Cannot call a class as a function");return f.apply(this,arguments)}return r=[{key:"renderHorizontal",value:function(t){var e=this,r=this.props,n=r.x,i=r.width,a=r.horizontal;if(!t||!t.length)return null;var c=t.map(function(t,r){var o=p(p({},e.props),{},{x1:n,y1:t,x2:n+i,y2:t,key:"line-".concat(r),index:r});return v.renderLineItem(a,o)});return o.createElement("g",{className:"recharts-cartesian-grid-horizontal"},c)}},{key:"renderVertical",value:function(t){var e=this,r=this.props,n=r.y,i=r.height,a=r.vertical;if(!t||!t.length)return null;var c=t.map(function(t,r){var o=p(p({},e.props),{},{x1:t,y1:n,x2:t,y2:n+i,key:"line-".concat(r),index:r});return v.renderLineItem(a,o)});return o.createElement("g",{className:"recharts-cartesian-grid-vertical"},c)}},{key:"renderVerticalStripes",value:function(t){var e=this.props.verticalFill;if(!e||!e.length)return null;var r=this.props,n=r.fillOpacity,i=r.x,a=r.y,c=r.width,u=r.height,s=t.map(function(t){return Math.round(t+i-i)}).sort(function(t,e){return t-e});i!==s[0]&&s.unshift(0);var l=s.map(function(t,r){var l=s[r+1]?s[r+1]-t:i+c-t;if(l<=0)return null;var f=r%e.length;return o.createElement("rect",{key:"react-".concat(r),x:t,y:a,width:l,height:u,stroke:"none",fill:e[f],fillOpacity:n,className:"recharts-cartesian-grid-bg"})});return o.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},l)}},{key:"renderHorizontalStripes",value:function(t){var e=this.props.horizontalFill;if(!e||!e.length)return null;var r=this.props,n=r.fillOpacity,i=r.x,a=r.y,c=r.width,u=r.height,s=t.map(function(t){return Math.round(t+a-a)}).sort(function(t,e){return t-e});a!==s[0]&&s.unshift(0);var l=s.map(function(t,r){var l=s[r+1]?s[r+1]-t:a+u-t;if(l<=0)return null;var f=r%e.length;return o.createElement("rect",{key:"react-".concat(r),y:t,x:i,height:l,width:c,stroke:"none",fill:e[f],fillOpacity:n,className:"recharts-cartesian-grid-bg"})});return o.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},l)}}
1,{key:"renderBackground",value:function(){var t=this.props.fill;if(!t||"none"===t)return null;var e=this.props,r=e.fillOpacity,n=e.x,i=e.y,a=e.width,c=e.height;return o.createElement("rect",{x:n,y:i,width:a,height:c,stroke:"none",fill:t,fillOpacity:r,className:"recharts-cartesian-grid-bg"})}},{key:"render",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,c=t.height,u=t.horizontal,s=t.vertical,l=t.horizontalCoordinatesGenerator,f=t.verticalCoordinatesGenerator,p=t.xAxis,h=t.yAxis,d=t.offset,y=t.chartWidth,v=t.chartHeight;if(!(0,a.Et)(n)||n<=0||!(0,a.Et)(c)||c<=0||!(0,a.Et)(e)||e!==+e||!(0,a.Et)(r)||r!==+r)return null;var m=this.props,g=m.horizontalPoints,b=m.verticalPoints;return(!g||!g.length)&&i()(l)&&(g=l({yAxis:h,width:y,height:v,offset:d})),(!b||!b.length)&&i()(f)&&(b=f({xAxis:p,width:y,height:v,offset:d})),o.createElement("g",{className:"recharts-cartesian-grid"},this.renderBackground(),u&&this.renderHorizontal(g),s&&this.renderVertical(b),u&&this.renderHorizontalStripes(g),s&&this.renderVerticalStripes(b))}}],n=[{key:"renderLineItem",value:function(t,e){var r;if(o.isValidElement(t))r=o.cloneElement(t,e);else if(i()(t))r=t(e);else{var n=e.x1,a=e.y1,s=e.x2,f=e.y2,p=e.key,h=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(e,u);r=o.createElement("line",l({},(0,c.J9)(h),{x1:n,y1:a,x2:s,y2:f,fill:"none",key:p}))}return r}}],r&&h(v.prototype,r),n&&h(v,n),Object.defineProperty(v,"prototype",{writable:!1}),v}(o.PureComponent);v(g,"displayName","CartesianGrid"),v(g,"defaultProps",{horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]})},57242:(t,e,r)=>{var n=r(15744),i=r(47871),o=r(76754),a=r(93007),c=r(65930);t.exports=function(t,e,r){var u=a(t)?n:o;return r&&c(t,e,r)&&(e=void 0),u(t,i(e,3))}},58103:(t,e)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var o=typeof r;if("string"===o||"number"===o)t.push(r);else if(Array.isArray(r)){if(r.length){var a=i.apply(null,r);a&&t.push(a)}}else if("object"===o){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){t.push(r.toString());continue}for(var c in r)n.call(r,c)&&r[c]&&t.push(c)}}}return t.join(" ")}t.exports?(i.default=i,t.exports=i):void 0===(r=(function(){return i}).apply(e,[]))||(t.exports=r)}()},58626:(t,e,r)=>{"use strict";r.d(e,{A3:()=>d,Pu:()=>h,Xk:()=>y});var n=r(69428);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function 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 a(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,a;n=t,o=e,a=r[e],(o=function(t){var e=function(t,e){if("object"!==i(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===i(e)?e:String(e)}(o))in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function c(t){return function(t){if(Array.isArray(t))return u(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return u(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(t,e)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var s={widthCache:{}
1,cacheCount:0},l={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},f=["minWidth","maxWidth","width","minHeight","maxHeight","height","top","left","fontSize","lineHeight","padding","margin","paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom"],p="recharts_measurement_span",h=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="".concat(t),i=Object.keys(e).reduce(function(t,r){var n;return"".concat(t).concat(r.split("").reduce(function(t,e){return e===e.toUpperCase()?[].concat(c(t),["-",e.toLowerCase()]):[].concat(c(t),[e])},[]).join(""),":").concat((n=e[r],f.indexOf(r)>=0&&n===+n?"".concat(n,"px"):n),";")},""),o="".concat(r,"-").concat(i);if(s.widthCache[o])return s.widthCache[o];try{var u=document.getElementById(p);u||((u=document.createElement("span")).setAttribute("id",p),u.setAttribute("aria-hidden","true"),document.body.appendChild(u));var h=a(a({},l),e);Object.keys(h).map(function(t){return u.style[t]=h[t],t}),u.textContent=r;var d=u.getBoundingClientRect(),y={width:d.width,height:d.height};return s.widthCache[o]=y,++s.cacheCount>2e3&&(s.cacheCount=0,s.widthCache={}),y}catch(t){return{width:0,height:0}}},d=function(t){var e=t.ownerDocument.documentElement,r={top:0,left:0};return void 0!==t.getBoundingClientRect&&(r=t.getBoundingClientRect()),{top:r.top+window.pageYOffset-e.clientTop,left:r.left+window.pageXOffset-e.clientLeft}},y=function(t,e){return{chartX:Math.round(t.pageX-e.left),chartY:Math.round(t.pageY-e.top)}}},60709:(t,e,r)=>{"use strict";r.d(e,{h:()=>n});var n=function(){return null};n.displayName="YAxis",n.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}},62639:(t,e,r)=>{"use strict";r.d(e,{AW:()=>B,BU:()=>k,J9:()=>I,Me:()=>M,Mn:()=>S,OV:()=>D,X_:()=>L,aS:()=>P,ee:()=>R});var n=r(98825),i=r.n(n),o=r(19850),a=r.n(o),c=r(36827),u=r.n(c),s=r(7766),l=r.n(s),f=r(19809),p=r.n(f),h=r(93007),d=r.n(h),y=r(14232),v=r(4153),m=r(11540),g=r(38255),b=r(12656),x=["children"],O=["children"];function w(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}var E={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},S=function(t){return"string"==typeof t?t:t?t.displayName||t.name||"Component":""},_=null,j=null,A=function t(e){if(e===_&&d()(j))return j;var r=[];return y.Children.forEach(e,function(e){p()(e)||((0,v.isFragment)(e)?r=r.concat(t(e.props.children)):r.push(e))}),j=r,_=e,r};function P(t,e){var r=[],n=[];return n=d()(e)?e.map(function(t){return S(t)}):[S(e)],A(t).forEach(function(t){var e=l()(t,"type.displayName")||l()(t,"type.name");-1!==n.indexOf(e)&&r.push(t)}),r}function k(t,e){var r=P(t,e);return r&&r[0]}var M=function(t){if(!t||!t.props)return!1;var e=t.props,r=e.width,n=e.height;return!!(0,m.Et)(r)&&!(r<=0)&&!!(0,m.Et)(n)&&!(n<=0)},T=["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"],C=function(t,e,r,n){var i,o=null!=(i=null===b.VU||void 0===b.VU?void 0:b.VU[n])?i:[];return!a()(t)&&(n&&o.includes(e)||b.QQ.includes(e))||r&&b.j2.includes(e)},I=function(t,e,r){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var n=t;if((0,y.isValidElement)(t)&&(n=t.props),!i()(n))return null;var o={};
1return Object.keys(n).forEach(function(t){var i;C(null==(i=n)?void 0:i[t],t,e,r)&&(o[t]=n[t])}),o},D=function t(e,r){if(e===r)return!0;var n=y.Children.count(e);if(n!==y.Children.count(r))return!1;if(0===n)return!0;if(1===n)return N(d()(e)?e[0]:e,d()(r)?r[0]:r);for(var i=0;i<n;i++){var o=e[i],a=r[i];if(d()(o)||d()(a)){if(!t(o,a))return!1}else if(!N(o,a))return!1}return!0},N=function(t,e){if(p()(t)&&p()(e))return!0;if(!p()(t)&&!p()(e)){var r=t.props||{},n=r.children,i=w(r,x),o=e.props||{},a=o.children,c=w(o,O);if(n&&a)return(0,g.b)(i,c)&&D(n,a);if(!n&&!a)return(0,g.b)(i,c)}return!1},R=function(t,e){var r=[],n={};return A(t).forEach(function(t,i){if(t&&t.type&&u()(t.type)&&T.indexOf(t.type)>=0)r.push(t);else if(t){var o=S(t.type),a=e[o]||{},c=a.handler,s=a.once;if(c&&(!s||!n[o])){var l=c(t,o,i);r.push(l),n[o]=!0}}}),r},L=function(t){var e=t&&t.type;return e&&E[e]?E[e]:null},B=function(t,e){return A(e).indexOf(t)}},63290:(t,e,r)=>{var n=r(40421),i=r(85383),o=r(33943);function a(t){return this instanceof a?(this.nodes=n(t),this):new a(t)}a.prototype.toString=function(){return Array.isArray(this.nodes)?o(this.nodes):""},a.prototype.walk=function(t,e){return i(this.nodes,t,e),this},a.unit=r(95588),a.walk=i,a.stringify=o,t.exports=a},63888:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var n=r(36739),i=r(6140),o=r(45799),a=r(89365);function c(t,e){var r=t.getFullYear()-e.getFullYear()||t.getMonth()-e.getMonth()||t.getDate()-e.getDate()||t.getHours()-e.getHours()||t.getMinutes()-e.getMinutes()||t.getSeconds()-e.getSeconds()||t.getMilliseconds()-e.getMilliseconds();return r<0?-1:r>0?1:r}function u(t,e){(0,a.A)(2,arguments);var r=(0,n.A)(t),u=(0,n.A)(e),s=c(r,u),l=Math.abs(function(t,e){(0,a.A)(2,arguments);var r=(0,o.A)(t),n=(0,o.A)(e);return Math.round((r.getTime()-(0,i.A)(r)-(n.getTime()-(0,i.A)(n)))/864e5)}(r,u));r.setDate(r.getDate()-s*l);var f=Number(c(r,u)===-s),p=s*(l-f);return 0===p?0:p}},65940:(t,e,r)=>{"use strict";r.d(e,{P2:()=>K,pr:()=>G,vh:()=>J,sl:()=>X});var n=r(34293),i=r.n(n),o=r(15574),a=r.n(o),c=r(34563),u=r(62639),s=r(11540),l=r(19809),f=r.n(l),p=r(41946),h=r.n(p),d=r(19850),y=r.n(d),v=r(93007),m=r.n(v),g=r(14232),b=r(58103),x=r.n(b),O=r(92987),w=r(83337),E=r(74524),S=r(8150),_=function(t){return null};_.displayName="Cell";var j=r(74084),A=r(69428),P=r(12656),k=["value","background"];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})(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}).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 I(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){B(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 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,U(n.key),n)}}function N(t,e){return(N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function R(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function L(t){return(L=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function B(t,e,r){return(e=U(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function U(t){var e=function(t,e){if("object"!==M(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==M(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"===M(e)?e:String(e)}var F=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&N(o,t);var e,r,n,i=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,r=L(o);return t=e?Reflect.construct(r,arguments,L(this).constructor):r.apply(this,arguments),function(t,e){if(e&&("object"===M(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return R(t)}(this,t)});function o(){var t;if(!(this instanceof o))throw TypeError("Cannot call a class as a function");for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];return B(R(t=i.call.apply(i,[this].concat(r))),"state",{isAnimationFinished:!1}),B(R(t),"id",(0,s.NF)("recharts-bar-")),B(R(t),"handleAnimationEnd",function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),e&&e()}),B(R(t),"handleAnimationStart",function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),e&&e()}),t}return r=[{key:"renderRectanglesStatically",value:function(t){var e=this,r=this.props.shape,n=(0,u.J9)(this.props);return t&&t.map(function(t,i){var a=I(I(I({},n),t),{},{index:i});return g.createElement(E.W,T({className:"recharts-bar-rectangle"},(0,P.XC)(e.props,t,i),{key:"rectangle-".concat(i),role:"img"}),o.renderRectangle(r,a))})}},{key:"renderRectanglesWithAnimation",value:function(){var t=this,e=this.props,r=e.data,n=e.layout,i=e.isAnimationActive,o=e.animationBegin,a=e.animationDuration,c=e.animationEasing,u=e.animationId,l=this.state.prevData;return g.createElement(O.Ay,{begin:o,duration:a,isActive:i,easing:c,from:{t:0},to:{t:1},key:"bar-".concat(u),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(e){var i=e.t,o=r.map(function(t,e){var r=l&&l[e];if(r){var o=(0,s.Dj)(r.x,t.x),a=(0,s.Dj)(r.y,t.y),c=(0,s.Dj)(r.width,t.width),u=(0,s.Dj)(r.height,t.height);return I(I({},t),{},{x:o(i),y:a(i),width:c(i),height:u(i)})}if("horizontal"===n){var f=(0,s.Dj)(0,t.height)(i);return I(I({},t),{},{y:t.y+t.height-f,height:f})}var p=(0,s.Dj)(0,t.width)(i);return I(I({},t),{},{width:p})});return g.createElement(E.W,null,t.renderRectanglesStatically(o))})}},{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.renderRectanglesWithAnimation():this.renderRectanglesStatically(e)}},{key:"renderBackground",value:function(){var t=this,e=this.props.data,r=(0,u.J9)(this.props.background);return e.map(function(e,n){e.value;var i=e.background,a=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(e,k);if(!i)return null;var c=I(I(I(I(I({},a),{},{fill:"#eee"},i),r),(0,P.XC)(t.props,e,n)),{},{index:n,key:"background-bar-".concat(n),className:"recharts-bar-background-rectangle"});return o.renderRectangle(t.props.background,c)})}},{key:"renderErrorBar",value:function(t,e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,n=r.data,i=r.xAxis,o=r.yAxis,a=r.layout,s=r.children,l=(0,u.aS)(s,S.u);if(!l)return null;var f="vertical"===a?n[0].height/2:n[0].width/2;function p(t,e){return{x:t.x,y:t.y,value:t.value,errorVal:(0,c.kr)(t,e)}}return g.createElement(E.W,{clipPath:t?"url(#clipPath-".concat(e,")"):null},l.map(function(t,e){return g.cloneElement(t,{key:"error-bar-".concat(e),data:n,xAxis:i,yAxis:o,layout:a,offset:f,dataPointFormatter:p})}))}},{key:"render",value:function(){var t=this.props,e=t.hide,r=t.data,n=t.className,i=t.xAxis,o=t.yAxis,a=t.left,c=t.top,u=t.width,s=t.height,l=t.isAnimationActive,p=t.background,h=t.id;if(e||!r||!r.length)return null;var d=this.state.isAnimationFinished,y=x()("recharts-bar",n),v=i&&i.allowDataOverflow||o&&o.allowDataOverflow,m=f()(h)?this.id:h;return g.createElement(E.W,{className:y},v?g.createElement("defs",null,g.createElement("clipPath",{id:"clipPath-".concat(m)},g.createElement("rect",{x:a,y:c,width:u,height:s}))):null,g.createElement(E.W,{className:"recharts-bar-rectangles",clipPath:v?"url(#clipPath-".concat(m,")"):null}
1,p?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(v,m),(!l||d)&&j.Z.renderCallByParent(this.props,r))}}],n=[{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}},{key:"renderRectangle",value:function(t,e){return g.isValidElement(t)?g.cloneElement(t,e):y()(t)?t(e):g.createElement(w.M,e)}}],r&&D(o.prototype,r),n&&D(o,n),Object.defineProperty(o,"prototype",{writable:!1}),o}(g.PureComponent);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})(t)}function W(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,q(n.key),n)}}function V(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?V(Object(r),!0).forEach(function(e){$(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):V(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function $(t,e,r){return(e=q(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function q(t){var e=function(t,e){if("object"!==z(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==z(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===z(e)?e:String(e)}B(F,"displayName","Bar"),B(F,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",isAnimationActive:!A.m.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"}),B(F,"getComposedData",function(t){var e=t.props,r=t.item,n=t.barPosition,i=t.bandSize,o=t.xAxis,a=t.yAxis,l=t.xAxisTicks,f=t.yAxisTicks,p=t.stackedData,h=t.dataStartIndex,d=t.displayedData,y=t.offset,v=(0,c.xi)(n,r);if(!v)return null;var g=e.layout,b=r.props,x=b.dataKey,O=b.children,w=b.minPointSize,E="horizontal"===g?a:o,S=p?E.scale.domain():null,j=(0,c.DW)({numericAxis:E}),A=(0,u.aS)(O,_),P=d.map(function(t,e){var n,u,d,y,b,O;if(p?n=(0,c._f)(p[h+e],S):(n=(0,c.kr)(t,x),m()(n)||(n=[j,n])),"horizontal"===g){var E,_=[a.scale(n[0]),a.scale(n[1])],P=_[0],k=_[1];u=(0,c.y2)({axis:o,ticks:l,bandSize:i,offset:v.offset,entry:t,index:e}),d=null!=(E=null!=k?k:P)?E:void 0,y=v.size;var M=P-k;if(b=Number.isNaN(M)?0:M,O={x:u,y:a.y,width:y,height:a.height},Math.abs(w)>0&&Math.abs(b)<Math.abs(w)){var T=(0,s.sA)(b||w)*(Math.abs(w)-Math.abs(b));d-=T,b+=T}}else{var C=[o.scale(n[0]),o.scale(n[1])],D=C[0],N=C[1];if(u=D,d=(0,c.y2)({axis:a,ticks:f,bandSize:i,offset:v.offset,entry:t,index:e}),y=N-D,b=v.size,O={x:o.x,y:d,width:o.width,height:b},Math.abs(w)>0&&Math.abs(y)<Math.abs(w)){var R=(0,s.sA)(y||w)*(Math.abs(w)-Math.abs(y));y+=R}}return I(I(I({},t),{},{x:u,y:d,width:y,height:b,value:p?n:n[1],payload:t,background:O},A&&A[e]&&A[e].props),{},{tooltipPayload:[(0,c.zb)(r,t)],tooltipPosition:{x:u+y/2,y:d+b/2}})});return I({data:P,layout:g},y)});var G=function(t,e,r,n,i){var o=t.width,a=t.height,l=t.layout,f=t.children,p=Object.keys(e),h={left:r.left,leftMirror:r.left,right:o-r.right,rightMirror:o-r.right,top:r.top,topMirror:r.top,bottom:a-r.bottom,bottomMirror:a-r.bottom},d=!!(0,u.BU)(f,F);return p.reduce(function(o,a){var u,f,p,y,v,m=e[a],g=m.orientation,b=m.domain,x=m.padding,O=void 0===x?{}:x,w=m.mirror,E=m.reversed,S="".concat(g).concat(w?"Mirror":"");if("number"===m.type&&("gap"===m.padding||"no-gap"===m.padding)){var _=b[1]-b[0],j=1/0,A=m.categoricalDomain.sort();A.forEach(function(t,e){e>0&&(j=Math.min((t||0)-(A[e-1]||0),j))});var P=j/_,k="vertical"===m.layout?r.height:r.width;if("gap"===m.padding&&(u=P*k/2),"no-gap"===m.padding){var M=(0,s.F4)(t.barCategoryGap,P*k),T=P*k/2;u=T-M-(T-M)/k*M}}
1f="xAxis"===n?[r.left+(O.left||0)+(u||0),r.left+r.width-(O.right||0)-(u||0)]:"yAxis"===n?"horizontal"===l?[r.top+r.height-(O.bottom||0),r.top+(O.top||0)]:[r.top+(O.top||0)+(u||0),r.top+r.height-(O.bottom||0)-(u||0)]:m.range,E&&(f=[f[1],f[0]]);var C=(0,c.W7)(m,i,d),I=C.scale,D=C.realScaleType;I.domain(b).range(f),(0,c.YB)(I);var N=(0,c.w7)(I,H(H({},m),{},{realScaleType:D}));"xAxis"===n?(v="top"===g&&!w||"bottom"===g&&w,p=r.left,y=h[S]-v*m.height):"yAxis"===n&&(v="left"===g&&!w||"right"===g&&w,p=h[S]-v*m.width,y=r.top);var R=H(H(H({},m),N),{},{realScaleType:D,x:p,y:y,scale:I,width:"xAxis"===n?r.width:m.width,height:"yAxis"===n?r.height:m.height});return R.bandSize=(0,c.Hj)(R,N),m.hide||"xAxis"!==n?m.hide||(h[S]+=(v?-1:1)*R.width):h[S]+=(v?-1:1)*R.height,H(H({},o),{},$({},a,R))},{})},X=function(t,e){var r=t.x,n=t.y,i=e.x,o=e.y;return{x:Math.min(r,i),y:Math.min(n,o),width:Math.abs(i-r),height:Math.abs(o-n)}},J=function(t){return X({x:t.x1,y:t.y1},{x:t.x2,y:t.y2})},Y=function(){var t,e;function r(t){if(!(this instanceof r))throw TypeError("Cannot call a class as a function");this.scale=t}return t=[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.bandAware,n=e.position;if(void 0!==t){if(n)switch(n){case"start":default:return this.scale(t);case"middle":var i=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+i;case"end":var o=this.bandwidth?this.bandwidth():0;return this.scale(t)+o}if(r){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+a}return this.scale(t)}}},{key:"isInRange",value:function(t){var e=this.range(),r=e[0],n=e[e.length-1];return r<=n?t>=r&&t<=n:t>=n&&t<=r}}],e=[{key:"create",value:function(t){return new r(t)}}],t&&W(r.prototype,t),e&&W(r,e),Object.defineProperty(r,"prototype",{writable:!1}),r}();$(Y,"EPS",1e-4);var K=function(t){var e=Object.keys(t).reduce(function(e,r){return H(H({},e),{},$({},r,Y.create(t[r])))},{});return H(H({},e),{},{apply:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bandAware,i=r.position;return a()(t,function(t,r){return e[r].apply(t,{bandAware:n,position:i})})},isInRange:function(t){return i()(t,function(t,r){return e[r].isInRange(t)})}})}},68690:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(36739),i=r(89365);function o(t){return(0,i.A)(1,arguments),Math.floor((0,n.A)(t).getMonth()/3)+1}},69428:(t,e,r)=>{"use strict";r.d(e,{m:()=>n});var n={isSsr:!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]})}}}},71983:t=>{t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},74084:(t,e,r)=>{"use strict";r.d(e,{Z:()=>S});var n=r(98825),i=r.n(n),o=r(19850),a=r.n(o),c=r(19809),u=r.n(c),s=r(37114),l=r.n(s),f=r(93007),p=r.n(f),h=r(14232),d=r(40040),y=r(74524),v=r(62639),m=r(34563);function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var b=["data","valueAccessor","dataKey","clockWise","id","textBreakAll"];function x(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function O(){return(O=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function 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 E(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?w(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!==g(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==g(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===g(e)?e:String(e)}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function S(t){var e=t.data,r=t.valueAccessor,n=t.dataKey,i=t.clockWise,o=t.id,a=t.textBreakAll,c=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,b);return e&&e.length?h.createElement(y.W,{className:"recharts-label-list"},e.map(function(t,e){var s=u()(n)?r(t,e):(0,m.kr)(t&&t.payload,n),l=u()(o)?{}:{id:"".concat(o,"-").concat(e)};return h.createElement(d.J,O({},(0,v.J9)(t,!0),c,l,{parentViewBox:t.parentViewBox,index:e,value:s,textBreakAll:a,viewBox:d.J.parseViewBox(u()(i)?t:E(E({},t),{},{clockWise:i})),key:"label-".concat(e)}))})):null}S.displayName="LabelList",S.renderCallByParent=function(t,e){var r,n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!t||!t.children&&n&&!t.label)return null;var o=t.children,c=(0,v.aS)(o,S).map(function(t,r){return(0,h.cloneElement)(t,{data:e,key:"labelList-".concat(r)})});return n?[(r=t.label,!r?null:!0===r?h.createElement(S,{key:"labelList-implicit",data:e}):h.isValidElement(r)||a()(r)?h.createElement(S,{key:"labelList-implicit",data:e,content:r}):i()(r)?h.createElement(S,O({data:e},r,{key:"labelList-implicit"})):null)].concat(function(t){if(Array.isArray(t))return x(t)}(c)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(c)||function(t,e){if(t){if("string"==typeof t)return x(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return x(t,e)}}(c)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):c},S.defaultProps={valueAccessor:function(t){return p()(t.value)?l()(t.value):t.value}}},74524:(t,e,r)=>{"use strict";r.d(e,{W:()=>s});var n=r(14232),i=r(58103),o=r.n(i),a=r(62639),c=["children","className"];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}).apply(this,arguments)}var s=n.forwardRef(function(t,e){var r=t.children,i=t.className,s=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,c),l=o()("recharts-layer",i);return n.createElement("g",u({className:l},(0,a.J9)(s,!0),{ref:e}),r)})},74745:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(36739),i=r(89944),o=r(89365);function a(t,e){(0,o.A)(1,arguments);var r=e||{},a=r.locale,c=a&&a.options&&a.options.weekStartsOn,u=null==c?0:(0,i.A)(c),s=null==r.weekStartsOn?u:(0,i.A)(r.weekStartsOn);if(!(s>=0&&s<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var l=(0,n.A)(t),f=l.getDay();return l.setDate(l.getDate()-(7*(f<s)+f-s)),l.setHours(0,0,0,0),l}},76209:(t,e,r)=>{"use strict";r.d(e,{A:()=>
1o});var n=r(36739),i=r(89365);function o(t,e){(0,i.A)(2,arguments);var r=(0,n.A)(t),o=(0,n.A)(e);return r.getTime()<o.getTime()}},76754:(t,e,r)=>{var n=r(3979);t.exports=function(t,e){var r;return n(t,function(t,n,i){return!(r=e(t,n,i))}),!!r}},76811:(t,e,r)=>{"use strict";e.__esModule=!0,e.default=void 0,a(r(95062));var n=a(r(14232)),i=r(98477),o=a(r(25302));function a(t){return t&&t.__esModule?t:{default:t}}var c=function(t){function e(){for(var e,r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];return(e=t.call.apply(t,[this].concat(n))||this).handleEnter=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.handleLifecycle("onEnter",0,r)},e.handleEntering=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.handleLifecycle("onEntering",0,r)},e.handleEntered=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.handleLifecycle("onEntered",0,r)},e.handleExit=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.handleLifecycle("onExit",1,r)},e.handleExiting=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.handleLifecycle("onExiting",1,r)},e.handleExited=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.handleLifecycle("onExited",1,r)},e}e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t;var r=e.prototype;return r.handleLifecycle=function(t,e,r){var o,a=this.props.children,c=n.default.Children.toArray(a)[e];c.props[t]&&(o=c.props)[t].apply(o,r),this.props[t]&&this.props[t]((0,i.findDOMNode)(this))},r.render=function(){var t=this.props,e=t.children,r=t.in,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)e.indexOf(r=o[n])>=0||(i[r]=t[r]);return i}(t,["children","in"]),a=n.default.Children.toArray(e),c=a[0],u=a[1];return delete i.onEnter,delete i.onEntering,delete i.onEntered,delete i.onExit,delete i.onExiting,delete i.onExited,n.default.createElement(o.default,i,r?n.default.cloneElement(c,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):n.default.cloneElement(u,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},e}(n.default.Component);c.propTypes={},e.default=c,t.exports=e.default},79036:(t,e,r)=>{"use strict";function n(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}r.d(e,{A:()=>n}),Array.prototype.slice},80140:(t,e,r)=>{"use strict";var n=a(r(50452)),i=a(r(76811)),o=a(r(25302));function a(t){return t&&t.__esModule?t:{default:t}}t.exports={Transition:a(r(36135)).default,TransitionGroup:o.default,ReplaceTransition:i.default,CSSTransition:n.default}},80505:(t,e,r)=>{var n=r(75448),i=r(16968);t.exports=function(t,e){return n(i(t,e),1)}},80782:(t,e,r)=>{var n=r(4917),i=r(98825);t.exports=function(t,e,r){var o=!0,a=!0;if("function"!=typeof t)throw TypeError("Expected a function");return i(r)&&(o="leading"in r?!!r.leading:o,a="trailing"in r?!!r.trailing:a),n(t,e,{leading:o,maxWait:e,trailing:a})}},81939:(t,e,r)=>{"use strict";r.d(e,{I:()=>Z});var n=r(93007),i=r.n(n),o=r(8532),a=r.n(o),c=r(19850),u=r.n(c),s=r(14232);function l(){}function f(t,e,r){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+r)/6)}function p(t){this._context=t}function h(t){this._context=t}function d(t){this._context=t}function y(t){this._context=t}function v(t){this._context=t}function m(t){return new v(t)}p.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:f(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:f(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},h.prototype={areaStart:l,areaEnd:l,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:f(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},d.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+t)/6,n=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:f(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},y.prototype={areaStart:l,areaEnd:l,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t*=1,e*=1,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};function g(t,e,r){var n=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(n||i<0&&-0),a=(r-t._y1)/(i||n<0&&-0);return((o<0?-1:1)+(a<0?-1:1))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs((o*i+a*n)/(n+i)))||0}function b(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function x(t,e,r){var n=t._x0,i=t._y0,o=t._x1,a=t._y1,c=(o-n)/3;t._context.bezierCurveTo(n+c,i+c*e,o-c,a-c*r,o,a)}function O(t){this._context=t}function w(t){this._context=new E(t)}function E(t){this._context=t}function S(t){this._context=t}function _(t){var e,r,n=t.length-1,i=Array(n),o=Array(n),a=Array(n);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e<n-1;++e)i[e]=1,o[e]=4,a[e]=4*t[e]+2*t[e+1];for(i[n-1]=2,o[n-1]=7,a[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)r=i[e]/o[e-1],o[e]-=r,a[e]-=r*a[e-1];for(i[n-1]=a[n-1]/o[n-1],e=n-2;e>=0;--e)i[e]=(a[e]-i[e+1])/o[e];for(e=0,o[n-1]=(t[n]+i[n-1])/2;e<n-1;++e)o[e]=2*t[e+1]-i[e+1];return[i,o]}function j(t,e){this._context=t,this._t=e}v.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},O.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:x(this,this._t0,b(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var r=NaN;if(e*=1,(t*=1)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,x(this,b(this,r=g(this,t,e)),r);break;default:x(this,this._t0,r=g(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}}},(w.prototype=Object.create(O.prototype)).point=function(t,e){O.prototype.point.call(this,e,t)},E.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,r,n,i,o){this._context.bezierCurveTo(e,t,n,r,o,i)}},S.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,r=t.length;if(r)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===r)this._context.lineTo(t[1],e[1]);else for(var n=_(t),i=_(e),o=0,a=1;a<r;++o,++a)this._context.bezierCurveTo(n[0][o],i[0][o],n[1][o],i[1][o],t[a],e[a]);(this._line||0!==this._line&&1===r)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},j.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}}this._x=t,this._y=e}};var A=r(79036),P=r(26539),k=r(16876);function M(t){return t[0]}function T(t){return t[1]}function C(t,e){var r=(0,P.A)(!0),n=null,i=m,o=null,a=(0,k.i)(c);
1function c(c){var u,s,l,f=(c=(0,A.A)(c)).length,p=!1;for(null==n&&(o=i(l=a())),u=0;u<=f;++u)!(u<f&&r(s=c[u],u,c))===p&&((p=!p)?o.lineStart():o.lineEnd()),p&&o.point(+t(s,u,c),+e(s,u,c));if(l)return o=null,l+""||null}return t="function"==typeof t?t:void 0===t?M:(0,P.A)(t),e="function"==typeof e?e:void 0===e?T:(0,P.A)(e),c.x=function(e){return arguments.length?(t="function"==typeof e?e:(0,P.A)(+e),c):t},c.y=function(t){return arguments.length?(e="function"==typeof t?t:(0,P.A)(+t),c):e},c.defined=function(t){return arguments.length?(r="function"==typeof t?t:(0,P.A)(!!t),c):r},c.curve=function(t){return arguments.length?(i=t,null!=n&&(o=i(n)),c):i},c.context=function(t){return arguments.length?(null==t?n=o=null:o=i(n=t),c):n},c}function I(t,e,r){var n=null,i=(0,P.A)(!0),o=null,a=m,c=null,u=(0,k.i)(s);function s(s){var l,f,p,h,d,y=(s=(0,A.A)(s)).length,v=!1,m=Array(y),g=Array(y);for(null==o&&(c=a(d=u())),l=0;l<=y;++l){if(!(l<y&&i(h=s[l],l,s))===v)if(v=!v)f=l,c.areaStart(),c.lineStart();else{for(c.lineEnd(),c.lineStart(),p=l-1;p>=f;--p)c.point(m[p],g[p]);c.lineEnd(),c.areaEnd()}v&&(m[l]=+t(h,l,s),g[l]=+e(h,l,s),c.point(n?+n(h,l,s):m[l],r?+r(h,l,s):g[l]))}if(d)return c=null,d+""||null}function l(){return C().defined(i).curve(a).context(o)}return t="function"==typeof t?t:void 0===t?M:(0,P.A)(+t),e="function"==typeof e?e:void 0===e?(0,P.A)(0):(0,P.A)(+e),r="function"==typeof r?r:void 0===r?T:(0,P.A)(+r),s.x=function(e){return arguments.length?(t="function"==typeof e?e:(0,P.A)(+e),n=null,s):t},s.x0=function(e){return arguments.length?(t="function"==typeof e?e:(0,P.A)(+e),s):t},s.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:(0,P.A)(+t),s):n},s.y=function(t){return arguments.length?(e="function"==typeof t?t:(0,P.A)(+t),r=null,s):e},s.y0=function(t){return arguments.length?(e="function"==typeof t?t:(0,P.A)(+t),s):e},s.y1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:(0,P.A)(+t),s):r},s.lineX0=s.lineY0=function(){return l().x(t).y(e)},s.lineY1=function(){return l().x(t).y(r)},s.lineX1=function(){return l().x(n).y(e)},s.defined=function(t){return arguments.length?(i="function"==typeof t?t:(0,P.A)(!!t),s):i},s.curve=function(t){return arguments.length?(a=t,null!=o&&(c=a(o)),s):a},s.context=function(t){return arguments.length?(null==t?o=c=null:c=a(o=t),s):o},s}var D=r(58103),N=r.n(D),R=r(12656),L=r(62639),B=r(11540);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})(t)}function F(){return(F=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function z(t,e){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 W(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?z(Object(r),!0).forEach(function(e){$(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):z(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function V(t,e){return(V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function H(t){return(H=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function $(t,e,r){return(e=q(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function q(t){var e=function(t,e){if("object"!==U(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==U(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===U(e)?e:String(e)}var G={curveBasisClosed:function(t){return new h(t)},curveBasisOpen:function(t){return new d(t)},curveBasis:function(t){return new p(t)},curveLinearClosed:function(t){return new y(t)},curveLinear:m,curveMonotoneX:function(t){return new O(t)},curveMonotoneY:function(t){return new w(t)},curveNatural:function(t){return new S(t)},curveStep:function(t){return new j(t,.5)},curveStepAfter:function(t){return new j(t,1)},curveStepBefore:function(t){return new j(t,0)}},X=function(t){return t.x===+t.x&&t.y===+t.y},J=function(t){return t.x},Y=function(t){return t.y},K=function(t,e){if(u()(t))return t;var r="curve".concat(a()(t));return"curveMonotone"===r&&e?G["".concat(r).concat("vertical"===e?"Y":"X")]:G[r]||m},Z=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&V(o,t);var e,r,n=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,r=H(o);return t=e?Reflect.construct(r,arguments,H(this).constructor):r.apply(this,arguments),function(t,e){if(e&&("object"===U(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,t)});function o(){if(!(this instanceof o))throw TypeError("Cannot call a class as a function");return n.apply(this,arguments)}return r=[{key:"getPath",value:function(){var t,e=this.props,r=e.type,n=e.points,o=e.baseLine,a=e.layout,c=e.connectNulls,u=K(r,a),s=c?n.filter(function(t){return X(t)}):n;if(i()(o)){var l=c?o.filter(function(t){return X(t)}):o,f=s.map(function(t,e){return W(W({},t),{},{base:l[e]}
1)});return(t="vertical"===a?I().y(Y).x1(J).x0(function(t){return t.base.x}):I().x(J).y1(Y).y0(function(t){return t.base.y})).defined(X).curve(u),t(f)}return(t="vertical"===a&&(0,B.Et)(o)?I().y(Y).x1(J).x0(o):(0,B.Et)(o)?I().x(J).y1(Y).y0(o):C().x(J).y(Y)).defined(X).curve(u),t(s)}},{key:"render",value:function(){var t=this.props,e=t.className,r=t.points,n=t.path,i=t.pathRef;if((!r||!r.length)&&!n)return null;var o=r&&r.length?this.getPath():n;return s.createElement("path",F({},(0,L.J9)(this.props),(0,R._U)(this.props),{className:N()("recharts-curve",e),d:o,ref:i}))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,q(n.key),n)}}(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),o}(s.PureComponent);$(Z,"defaultProps",{type:"linear",points:[],connectNulls:!1})},82970:t=>{var e={px:{px:1,cm:96/2.54,mm:96/25.4,in:96,pt:96/72,pc:16},cm:{px:2.54/96,cm:1,mm:.1,in:2.54,pt:2.54/72,pc:2.54/6},mm:{px:25.4/96,cm:10,mm:1,in:25.4,pt:25.4/72,pc:25.4/6},in:{px:1/96,cm:1/2.54,mm:1/25.4,in:1,pt:1/72,pc:1/6},pt:{px:.75,cm:72/2.54,mm:72/25.4,in:72,pt:1,pc:12},pc:{px:.0625,cm:6/2.54,mm:6/25.4,in:6,pt:6/72,pc:1},deg:{deg:1,grad:.9,rad:180/Math.PI,turn:360},grad:{deg:400/360,grad:1,rad:200/Math.PI,turn:400},rad:{deg:Math.PI/180,grad:Math.PI/200,rad:1,turn:2*Math.PI},turn:{deg:1/360,grad:1/400,rad:.5/Math.PI,turn:1},s:{s:1,ms:.001},ms:{s:1e3,ms:1},Hz:{Hz:1,kHz:1e3},kHz:{Hz:.001,kHz:1},dpi:{dpi:1,dpcm:1/2.54,dppx:1/96},dpcm:{dpi:2.54,dpcm:1,dppx:2.54/96},dppx:{dpi:96,dpcm:96/2.54,dppx:1}};t.exports=function(t,r,n,i){if(!e.hasOwnProperty(n))throw Error("Cannot convert to "+n);if(!e[n].hasOwnProperty(r))throw Error("Cannot convert from "+r+" to "+n);var o=e[n][r]*t;return!1!==i?Math.round(o*(i=Math.pow(10,parseInt(i)||5)))/i:o}},83337:(t,e,r)=>{"use strict";r.d(e,{J:()=>v,M:()=>m});var n=r(14232),i=r(58103),o=r.n(i),a=r(92987),c=r(62639);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})(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}).apply(this,arguments)}function l(t,e){return(l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function f(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function h(t,e,r){return(e=d(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function d(t){var e=function(t,e){if("object"!==u(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==u(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===u(e)?e:String(e)}var y=function(t,e,r,n,i){var o,a=Math.min(Math.abs(r)/2,Math.abs(n)/2),c=n>=0?1:-1,u=r>=0?1:-1,s=+(n>=0&&r>=0||n<0&&r<0);if(a>0&&i instanceof Array){for(var l=[0,0,0,0],f=0;f<4;f++)l[f]=i[f]>a?a:i[f];o="M".concat(t,",").concat(e+c*l[0]),l[0]>0&&(o+="A ".concat(l[0],",").concat(l[0],",0,0,").concat(s,",").concat(t+u*l[0],",").concat(e)),o+="L ".concat(t+r-u*l[1],",").concat(e),l[1]>0&&(o+="A ".concat(l[1],",").concat(l[1],",0,0,").concat(s,",\n        ").concat(t+r,",").concat(e+c*l[1])),o+="L ".concat(t+r,",").concat(e+n-c*l[2]),l[2]>0&&(o+="A ".concat(l[2],",").concat(l[2],",0,0,").concat(s,",\n        ").concat(t+r-u*l[2],",").concat(e+n)),o+="L ".concat(t+u*l[3],",").concat(e+n),l[3]>0&&(o+="A ".concat(l[3],",").concat(l[3],",0,0,").concat(s,",\n        ").concat(t,",").concat(e+n-c*l[3])),o+="Z"}else if(a>0&&i===+i&&i>0){var p=Math.min(a,i);o="M ".concat(t,",").concat(e+c*p,"\n            A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(t+u*p,",").concat(e,"\n            L ").concat(t+r-u*p,",").concat(e,"\n            A ").concat(p,",").concat(p,",0,0,").concat(s,",").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(s,",").concat(t+r-u*p,",").concat(e+n,"\n            L ").concat(t+u*p,",").concat(e+n,"\n            A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(t,",").concat(e+n-c*p," Z")}else o="M ".concat(t,",").concat(e," h ").concat(r," v ").concat(n," h ").concat(-r," Z");return o},v=function(t,e){if(!t||!e)return!1;var r=t.x,n=t.y,i=e.x,o=e.y,a=e.width,c=e.height;if(Math.abs(a)>0&&Math.abs(c)>0){var u=Math.min(i,i+a),s=Math.max(i,i+a),l=Math.min(o,o+c),f=Math.max(o,o+c);return r>=u&&r<=s&&n>=l&&n<=f}return!1},m=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");v.prototype=Object.create(t&&t.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),t&&l(v,t);var e,r,i=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,r=p(v);return t=e?Reflect.construct(r,arguments,p(this).constructor):r.apply(this,arguments),function(t,e){if(e&&("object"===u(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return f(t)}(this,t)});function v(){var t;if(!(this instanceof v))throw TypeError("Cannot call a class as a function");for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];return h(f(t=i.call.apply(i,[this].concat(r))),"state",{totalLength:-1}),t}return r=[{key:"componentDidMount",value:function(){if(this.node&&this.node.getTotalLength)try{var t=this.node.getTotalLength();t&&this.setState({totalLength:t})}catch(t){}}},{key:"render",value:function(){var t=this,e=this.props,r=e.x,i=e.y,u=e.width,l=e.height,f=e.radiu
1s,p=e.className,h=this.state.totalLength,d=this.props,v=d.animationEasing,m=d.animationDuration,g=d.animationBegin,b=d.isAnimationActive,x=d.isUpdateAnimationActive;if(r!==+r||i!==+i||u!==+u||l!==+l||0===u||0===l)return null;var O=o()("recharts-rectangle",p);return x?n.createElement(a.Ay,{canBegin:h>0,from:{width:u,height:l,x:r,y:i},to:{width:u,height:l,x:r,y:i},duration:m,animationEasing:v,isActive:x},function(e){var r=e.width,i=e.height,o=e.x,u=e.y;return n.createElement(a.Ay,{canBegin:h>0,from:"0px ".concat(-1===h?1:h,"px"),to:"".concat(h,"px 0px"),attributeName:"strokeDasharray",begin:g,duration:m,isActive:b,easing:v},n.createElement("path",s({},(0,c.J9)(t.props,!0),{className:O,d:y(o,u,r,i,f),ref:function(e){t.node=e}})))}):n.createElement("path",s({},(0,c.J9)(this.props,!0),{className:O,d:y(r,i,u,l,f)}))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,d(n.key),n)}}(v.prototype,r),Object.defineProperty(v,"prototype",{writable:!1}),v}(n.PureComponent);h(m,"defaultProps",{x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"})},85383:t=>{t.exports=function t(e,r,n){var i,o,a,c;for(i=0,o=e.length;i<o;i+=1)a=e[i],n||(c=r(a,i,e)),!1!==c&&"function"===a.type&&Array.isArray(a.nodes)&&t(a.nodes,r,n),n&&r(a,i,e)}},85529:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(36739),i=r(89365);function o(t){(0,i.A)(1,arguments);var e=(0,n.A)(t),r=e.getMonth();return e.setMonth(r-r%3,1),e.setHours(0,0,0,0),e}},89387:(t,e,r)=>{var n=r(89950),i=r(28654);t.exports=function(t){return"number"==typeof t||i(t)&&"[object Number]"==n(t)}},91575:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(!e(t[r],r,t))return!1;return!0}},92069:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(36739),i=r(89365);function o(t){return(0,i.A)(1,arguments),(0,n.A)(t).getFullYear()}},92987:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>ty,g6:()=>x});var n=r(14232),i=r(95062),o=r.n(i),a=r(20882);function c(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=-1;requestAnimationFrame(function n(i){r<0&&(r=i),i-r>e?(t(i),r=-1):requestAnimationFrame(n)})}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})(t)}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function 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})(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){h(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 h(t,e,r){var n;return(n=function(t,e){if("object"!==l(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==l(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"===l(n)?n:String(n))in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var d=["Webkit","Moz","O","ms"],y=["-webkit-","-moz-","-o-","-ms-"],v=["transform","transformOrigin","transition"],m=function(t){return t},g=function(t,e){if(-1===v.indexOf(t))return h({},t,e);var r="transition"===t,n=t.replace(/(\w)/,function(t){return t.toUpperCase()}),i=e;return d.reduce(function(t,o,a){return r&&(i=e.replace(/(transform|transform-origin)/gim,"".concat(y[a],"$1"))),p(p({},t),{},h({},o+n,i))},{})},b=function(t,e){return Object.keys(e).reduce(function(r,n){return p(p({},r),{},h({},n,t(n,e[n])))},{})},x=function(t){return Object.keys(t).reduce(function(t,e){return p(p({},t),g(e,t[e]))},t)},O=function(t,e,r){return t.map(function(t){return"".concat(t.replace(/([A-Z])/g,function(t){return"-".concat(t.toLowerCase())})," ").concat(e,"ms ").concat(r)}).join(",")},w=function(t,e,r,n,i,o,a,c){};function E(t,e){if(t){if("string"==typeof t)return S(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return S(t,e)}}function S(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var _=function(t,e){return[0,3*t,3*e-6*t,3*t-3*e+1]},j=function(t,e){return t.map(function(t,r){return t*Math.pow(e,r)}).reduce(function(t,e){return t+e})},A=function(t,e){return function(r){return j(_(t,e),r)}},P=function(){for(var t,e,r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];var o=n[0],a=n[1],c=n[2],u=n[3];if(1===n.length)switch(n[0]){case"linear":o=0,a=0,c=1,u=1;break;case"ease":o=.25,a=.1,c=.25,u=1;break;case"ease-in":o=.42,a=0,c=1,u=1;break;case"ease-out":o=.42,a=0,c=.58,u=1;break;case"ease-in-out":o=0,a=0,c=.58,u=1;break;default:var s=n[0].split("(");if("cubic-bezier"===s[0]&&4===s[1].split(")")[0].split(",").length){var l,f=function(t){if(Array.isArray(t))return t}(l=s[1].split(")")[0].split(",").map(function(t){return parseFloat(t)}))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],u=!0,s=!1;try{o=(r=r.call(t)).next,!1;for(;
1!(u=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,i=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw i}}return c}}(l,4)||E(l,4)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();o=f[0],a=f[1],c=f[2],u=f[3]}else w(!1,"[configBezier]: arguments should be one of oneOf 'linear', 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', instead received %s",n)}w([o,c,a,u].every(function(t){return"number"==typeof t&&t>=0&&t<=1}),"[configBezier]: arguments should be x1, y1, x2, y2 of [0, 1] instead received %s",n);var p=A(o,c),h=A(a,u),d=(t=o,e=c,function(r){var n;return j([].concat(function(t){if(Array.isArray(t))return S(t)}(n=_(t,e).map(function(t,e){return t*e}).slice(1))||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||E(n)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[0]),r)}),y=function(t){for(var e=t>1?1:t,r=e,n=0;n<8;++n){var i,o=p(r)-e,a=d(r);if(1e-4>Math.abs(o-e)||a<1e-4)break;r=(i=r-o/a)>1?1:i<0?0:i}return h(r)};return y.isStepper=!1,y},k=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.stiff,r=void 0===e?100:e,n=t.damping,i=void 0===n?8:n,o=t.dt,a=void 0===o?17:o,c=function(t,e,n){var o=n+(-(t-e)*r-n*i)*a/1e3,c=n*a/1e3+t;return 1e-4>Math.abs(c-e)&&1e-4>Math.abs(o)?[e,0]:[c,o]};return c.isStepper=!0,c.dt=a,c},M=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e[0];if("string"==typeof n)switch(n){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return P(n);case"spring":return k();default:if("cubic-bezier"===n.split("(")[0])return P(n);w(!1,"[configEasing]: first argument should be one of 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', 'linear' and 'spring', instead  received %s",e)}return"function"==typeof n?n:(w(!1,"[configEasing]: first argument type should be function or string, instead received %s",e),null)};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)}function C(t){return function(t){if(Array.isArray(t))return L(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||R(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function 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 D(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){N(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 N(t,e,r){var n;return(n=function(t,e){if("object"!==T(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==T(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"===T(n)?n:String(n))in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function R(t,e){if(t){if("string"==typeof t)return L(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return L(t,e)}}function L(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var B=function(t,e,r){return t+(e-t)*r},U=function(t){return t.from!==t.to},F=function t(e,r,n){var i=b(function(t,r){if(U(r)){var n,i=function(t){if(Array.isArray(t))return t}(n=e(r.from,r.to,r.velocity))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],u=!0,s=!1;try{o=(r=r.call(t)).next,!1;for(;
1!(u=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,i=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw i}}return c}}(n,2)||R(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=i[0],a=i[1];return D(D({},r),{},{from:o,velocity:a})}return r},r);return n<1?b(function(t,e){return U(e)?D(D({},e),{},{velocity:B(e.velocity,i[t].velocity,n),from:B(e.from,i[t].from,n)}):e},r):t(e,i,n-1)};let z=function(t,e,r,n,i){var o,a,c=[Object.keys(t),Object.keys(e)].reduce(function(t,e){return t.filter(function(t){return e.includes(t)})}),u=c.reduce(function(r,n){return D(D({},r),{},N({},n,[t[n],e[n]]))},{}),s=c.reduce(function(r,n){return D(D({},r),{},N({},n,{from:t[n],velocity:0,to:e[n]}))},{}),l=-1,f=function(){return null};return f=r.isStepper?function(n){o||(o=n);var a=(n-o)/r.dt;s=F(r,s,a),i(D(D(D({},t),e),b(function(t,e){return e.from},s))),o=n,Object.values(s).filter(U).length&&(l=requestAnimationFrame(f))}:function(o){a||(a=o);var c=(o-a)/n,s=b(function(t,e){return B.apply(void 0,C(e).concat([r(c)]))},u);if(i(D(D(D({},t),e),s)),c<1)l=requestAnimationFrame(f);else{var p=b(function(t,e){return B.apply(void 0,C(e).concat([r(1)]))},u);i(D(D(D({},t),e),p))}},function(){return requestAnimationFrame(f),function(){cancelAnimationFrame(l)}}};var W=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];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})(t)}function H(t){return function(t){if(Array.isArray(t))return $(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,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return $(t,e)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function q(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 G(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?q(Object(r),!0).forEach(function(e){Z(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):q(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function X(t,e){return(X=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function J(t,e){if(e&&("object"===V(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return Y(t)}function Y(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function K(t){return(K=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Z(t,e,r){return(e=Q(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Q(t){var e=function(t,e){if("object"!==V(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==V(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"===V(e)?e:String(e)}var tt=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&X(o,t);var e,r,i=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,r=K(o);return t=e?Reflect.construct(r,arguments,K(this).constructor):r.apply(this,arguments),J(this,t)});function o(t,e){if(!(this instanceof o))throw TypeError("Cannot call a class as a function");var r=i.call(this,t,e),n=r.props,a=n.isActive,c=n.attributeName,u=n.from,s=n.to,l=n.steps,f=n.children;if(r.handleStyleChange=r.handleStyleChange.bind(Y(r)),r.changeStyle=r.changeStyle.bind(Y(r)),!a)return r.state={style:{}},"function"==typeof f&&(r.state={style:s}),J(r);if(l&&l.length)r.state={style:l[0].style};else if(u){if("function"==typeof f)return r.state={style:u},J(r);r.state={style:c?Z({},c,u):u}}else r.state={style:{}};return r}return r=[{key:"componentDidMount",value:function(){var t=this.props,e=t.isActive,r=t.canBegin;this.mounted=!0,e&&r&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(t){var e=this.props,r=e.isActive,n=e.canBegin,i=e.attributeName,o=e.shouldReAnimate;if(n){if(!r){var c={style:i?Z({},i,this.props.to):this.props.to};this.state&&this.state.style&&(i&&this.state.style[i]!==this.props.to||!i&&this.state.style!==this.props.to)&&this.setState(c);return}if(!(0,a.deepEqual)(t.to,this.props.to)||!t.canBegin||!t.isActive){var u=!t.canBegin||!t.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var s=u||o?this.props.from:t.to;if(this.state&&this.state.style){var l={style:i?Z({},i,s):s};(i&&this.state.style[i]!==s||!i&&this.state.style!==s)&&this.setState(l)}this.runAnimation(G(G({},this.props),{},{from:s,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1,this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation()}},{key:"runJSAnimation",value:function(t){var e=this,r=t.from,n=t.to,i=t.duration,o=t.easing,a=t.begin,c=t.onAnimationEnd,u=t.onAnimationStart,s=z(r,n,M(o),i,this.changeStyle);this.manager.start([u,a,function(){e.stopJSAnimation=s()},i,c])}},{key:"runStepAnimation",value:function(t){var e=this,r=t.steps,n=t.begin,i=t.onAnimationStart,o=r[0],a=o.style,c=o.duration;return this.manager.start([i].concat(H(r.reduce(function(t,n,i){if(0===i)return t;var o=n.duration,a=n.easing,c=void 0===a?"ease":a,u=n.style,s=n.properties,l=n.onAnimationEnd,f=i>0?r[i-1]:n,p=s||Object.keys(u);if("function"==typeof c||"spring"===c)return[].concat(H(t),[e.runJSAnimation.bind(e,{from:f.style,to:u,duration:o,easing:c}),o]);var h=O(p,o,c),d=G(G(G({},f.style),u),{},{transition:h});return[].concat(H(t),[d,o,l]).filter(m)},[a,Math.max(void 0===c?0:c,n)])),[t.onAnimationEnd]))}},{key:"runAnimation",value:function(t){this.manager||(this.manager=(e=function(){return null},r=!1,n=function t(n){if(!r){if(Array.isArray(n)){if(!n.length)return;var i=function(t){if(Array.isArray(t))return t}(n)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||function(t,e){if(t){if("string"==typeof t)return s(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(t,e)}}(n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=i[0],a=i.slice(1);return"number"==typeof o?void c(t.bind(null,a),o):(t(o),void c(t.bind(null,a)))}"object"===u(n)&&e(n),"function"==typeof n&&n()}},{stop:function(){r=!0},start:function(t){r=!1,n(t)},subscribe:function(t){return e=t,function(){e=function(){return null}}}}));var e,r,n,i=t.begin,o=t.duration,a=t.attributeName,l=t.to,f=t.easing,p=t.onAnimationStart,h=t.onAnimationEnd,d=t.steps,y=t.children,v=this.manager;if(this.unSubscribe=v.subscribe(this.handleStyleChange),"function"==typeof f||"function"==typeof y||"spring"===f)return void this.runJSAnimation(t);
1if(d.length>1)return void this.runStepAnimation(t);var m=a?Z({},a,l):l,g=O(Object.keys(m),o,f);v.start([p,i,G(G({},m),{},{transition:g}),o,h])}},{key:"handleStyleChange",value:function(t){this.changeStyle(t)}},{key:"changeStyle",value:function(t){this.mounted&&this.setState({style:t})}},{key:"render",value:function(){var t=this.props,e=t.children,r=(t.begin,t.duration,t.attributeName,t.easing,t.isActive),i=(t.steps,t.from,t.to,t.canBegin,t.onAnimationEnd,t.shouldReAnimate,t.onAnimationReStart,function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,W)),o=n.Children.count(e),a=x(this.state.style);if("function"==typeof e)return e(a);if(!r||0===o)return e;var c=function(t){var e=t.props,r=e.style,o=e.className;return(0,n.cloneElement)(t,G(G({},i),{},{style:G(G({},void 0===r?{}:r),a),className:o}))};return 1===o?c(n.Children.only(e)):n.createElement("div",null,n.Children.map(e,function(t){return c(t)}))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Q(n.key),n)}}(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),o}(n.PureComponent);Z(tt,"displayName","Animate"),Z(tt,"propTypes",{from:o().oneOfType([o().object,o().string]),to:o().oneOfType([o().object,o().string]),attributeName:o().string,duration:o().number,begin:o().number,easing:o().oneOfType([o().string,o().func]),steps:o().arrayOf(o().shape({duration:o().number.isRequired,style:o().object.isRequired,easing:o().oneOfType([o().oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),o().func]),properties:o().arrayOf("string"),onAnimationEnd:o().func})),children:o().oneOfType([o().node,o().func]),isActive:o().bool,canBegin:o().bool,onAnimationEnd:o().func,shouldReAnimate:o().bool,onAnimationStart:o().func,onAnimationReStart:o().func}),Z(tt,"defaultProps",{begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}});var te=r(80140),tr=["children","appearOptions","enterOptions","leaveOptions"];function tn(t){return(tn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ti(){return(ti=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function to(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 ta(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?to(Object(r),!0).forEach(function(e){tl(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):to(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tc(t,e){return(tc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tu(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ts(t){return(ts=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tl(t,e,r){return(e=tf(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tf(t){var e=function(t,e){if("object"!==tn(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==tn(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"===tn(e)?e:String(e)}void 0===Number.isFinite&&(Number.isFinite=function(t){return"number"==typeof t&&isFinite(t)});var tp=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.steps,r=t.duration;return e&&e.length?e.reduce(function(t,e){return t+(Number.isFinite(e.duration)&&e.duration>0?e.duration:0)},0):Number.isFinite(r)?r:0},th=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&tc(o,t);var e,r,i=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,r=ts(o);return t=e?Reflect.construct(r,arguments,ts(this).constructor):r.apply(this,arguments),function(t,e){if(e&&("object"===tn(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return tu(t)}(this,t)});function o(){var t;if(!(this instanceof o))throw TypeError("Cannot call a class as a function");for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];return tl(tu(t=i.call.apply(i,[this].concat(r))),"state",{isActive:!1}),tl(tu(t),"handleEnter",function(e,r){var n=t.props,i=n.appearOptions,o=n.enterOptions;t.handleStyleActive(r?i:o)}),tl(tu(t),"handleExit",function(){t.handleStyleActive(t.props.leaveOptions)}),t}return r=[{key:"handleStyleActive",value:function(t){if(t){var e=t.onAnimationEnd?function(){t.onAnimationEnd()}:null;this.setState(ta(ta({},t),{},{onAnimationEnd:e,isActive:!0}))}}},{key:"parseTimeout",value:function(){var t=this.props,e=t.appearOptions,r=t.enterOptions,n=t.leaveOptions;return tp(e)+tp(r)+tp(n)}},{key:"render",value:function(){var t=this,e=this.props,r=e.children,i=(e.appearOptions,e.enterOptions,e.leaveOptions,function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(e,tr));return n.createElement(te.Transition,ti({},i,{onEnter:this.handleEnter,onExit:this.handleExit,timeout:this.parseTimeout()}),function(){return n.createElement(tt,t.state,n.Children.only(r))})}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,tf(n.key),n)}}(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),o}(n.Component);function td(t){var e=t.component,r=t.children,i=t.appear,o=t.enter,a=t.leave;return n.createElement(te.TransitionGroup,{component:e},n.Children.map(r,function(t,e){return n.createElement(th,{appearOptions:i,enterOptions:o,leaveOptions:a,key:"child-".concat(e)},t)}))}tl(th,"propTypes",{appearOptions:o().object,enterOptions:o().object,leaveOptions:o().object,children:o().element}),td.propTypes={appear:o().object,enter:o().object,leave:o().object,children:o().oneOfType([o().array,o().element]),component:o().any},td.defaultProps={component:"span"};let ty=tt},93478:(t,e,r)=>{"use strict";r.d(e,{A:()=>function t(){var e=new n,r=[],i=[],o=c;function u(t){let n=e.get(t);if(void 0===n){if(o!==c)return o;e.set(t,n=r.push(t)-1)}return i[n%i.length]}return u.domain=function(t){if(!arguments.length)return r.slice();for(let i of(r=[],e=new n,t))e.has(i)||e.set(i,r.push(i)-1);return u},u.range=function(t){return arguments.length?(i=Array.from(t),u):i.slice()},u.unknown=function(t){return arguments.length?(o=t,u):o},u.copy=function(){return t(r,i).unknown(o)},a.C.apply(u,arguments),u},h:()=>c});class n extends Map{constructor(t,e=o){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(let[e,r]of t)this.set(e,r)}get(t){return super.get(i(this,t))}has(t){return super.has(i(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},r){let n=e(r);return t.has(n)?t.get(n):(t.set(n,r),r)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},r){let n=e(r);return t.has(n)&&(r=t.get(n),t.delete(n)),r}(this,t))}}function i({_intern:t,_key:e},r){let n=e(r);return t.has(n)?t.get(n):r}function o(t){return null!==t&&"object"==typeof t?t.valueOf():t}var a=r(2592);
1let c=Symbol("implicit")},95313:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(76468),i=r(89365);function o(t){return(0,i.A)(1,arguments),(0,n.A)(t,Date.now())}},95588:t=>{t.exports=function(t){for(var e,r=0,n=t.length,i=!1,o=-1,a=!1;r<n;){if((e=t.charCodeAt(r))>=48&&e<=57)a=!0;else if(101===e||69===e){if(o>-1)break;o=r}else if(46===e){if(i)break;i=!0}else if(43===e||45===e){if(0!==r)break}else break;r+=1}return o+1===r&&r--,!!a&&{number:t.slice(0,r),unit:t.slice(r)}}},97688:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=c(r(63290)),i=r(49484),o=c(r(46368)),a=c(r(19498));function c(t){return t&&t.__esModule?t:{default:t}}var u=/((?:\-[a-z]+\-)?calc)/;e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;return(0,n.default)(t).walk(function(t){if("function"===t.type&&u.test(t.value)){var r=n.default.stringify(t.nodes);if(!(r.indexOf("constant")>=0||r.indexOf("env")>=0)){var c=i.parser.parse(r),s=(0,o.default)(c,e);t.type="word",t.value=(0,a.default)(t.value,s,e)}}},!0).toString()},t.exports=e.default},97717:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(36739),i=r(89365);function o(t){return(0,i.A)(1,arguments),1===(0,n.A)(t).getDate()}},98027:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(r(82970));e.default=function(t,e,r){switch(t.type){case"LengthValue":case"AngleValue":case"TimeValue":case"FrequencyValue":case"ResolutionValue":var i,o,a;return i=t,o=e,a=r,o.type===i.type&&(o={type:i.type,value:(0,n.default)(o.value,o.unit,i.unit,a),unit:i.unit}),{left:i,right:o};default:return{left:t,right:e}}},t.exports=e.default}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.