"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6929],{78030:function(t,e,r){r.d(e,{Z:function(){return h}});var n=r(2265);/**
 * @license lucide-react v0.556.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let i=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),a=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,e,r)=>r?r.toUpperCase():e.toLowerCase()),o=t=>{let e=a(t);return e.charAt(0).toUpperCase()+e.slice(1)},l=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.filter((t,e,r)=>!!t&&""!==t.trim()&&r.indexOf(t)===e).join(" ").trim()},c=t=>{for(let e in t)if(e.startsWith("aria-")||"role"===e||"title"===e)return!0};/**
 * @license lucide-react v0.556.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var s={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
 * @license lucide-react v0.556.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let u=(0,n.forwardRef)((t,e)=>{let{color:r="currentColor",size:i=24,strokeWidth:a=2,absoluteStrokeWidth:o,className:u="",children:h,iconNode:f,...p}=t;return(0,n.createElement)("svg",{ref:e,...s,width:i,height:i,stroke:r,strokeWidth:o?24*Number(a)/Number(i):a,className:l("lucide",u),...!h&&!c(p)&&{"aria-hidden":"true"},...p},[...f.map(t=>{let[e,r]=t;return(0,n.createElement)(e,r)}),...Array.isArray(h)?h:[h]])}),h=(t,e)=>{let r=(0,n.forwardRef)((r,a)=>{let{className:c,...s}=r;return(0,n.createElement)(u,{ref:a,iconNode:e,className:l("lucide-".concat(i(o(t))),"lucide-".concat(t),c),...s})});return r.displayName=o(t),r}},48281:function(t,e,r){r.d(e,{Z:function(){return n}});let n=(0,r(78030).Z)("award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]])},24241:function(t,e,r){r.d(e,{Z:function(){return n}});let n=(0,r(78030).Z)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])},93409:function(t,e,r){r.d(e,{Z:function(){return n}});let n=(0,r(78030).Z)("chart-column",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]])},40933:function(t,e,r){r.d(e,{Z:function(){return n}});let n=(0,r(78030).Z)("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},53225:function(t,e,r){r.d(e,{Z:function(){return n}});let n=(0,r(78030).Z)("trending-up",[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]])},36127:function(t,e,r){r.d(e,{Z:function(){return n}});let n=(0,r(78030).Z)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},86991:function(t,e,r){r.d(e,{u:function(){return B}});var n=r(2265),i=r(44839),a=r(52518),o=r(14380),l=r.n(o),c=r(47766),s=r.n(c),u=r(49972),h=r.n(u),f=r(50299),p=r.n(f),y=r(12916),d=r.n(y),m=r(7362),v=r(47887),b=r(64256),g=r(78703),x=r(47513),O=r(6779),k=r(17400),A=r(92705),w=["layout","type","stroke","connectNulls","isRange","ref"];function P(t){return(P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function j(){return(j=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}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){D(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function N(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Z(n.key),n)}}function z(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(z=function(){return!!t})()}function M(t){return(M=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function L(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function C(t,e){return(C=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function D(t,e,r){return(e=Z(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Z(t){var e=function(t,e){if("object"!=P(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=P(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==P(e)?e:String(e)}var B=function(t){var e,r;function o(){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,o);for(var t,e,r,n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=o,r=[].concat(i),e=M(e),t=function(t,e){if(e&&("object"===P(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return L(t)}(this,z()?Reflect.construct(e,r||[],M(this).constructor):e.apply(this,r)),D(L(t),"state",{isAnimationFinished:!0}),D(L(t),"id",(0,O.EL)("recharts-area-")),D(L(t),"handleAnimationEnd",function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),l()(e)&&e()}),D(L(t),"handleAnimationStart",function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),l()(e)&&e()}),t}return!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&C(t,e)}(o,t),e=[{key:"renderDots",value:function(t,e,r){var i=this.props.isAnimationActive,a=this.state.isAnimationFinished;if(i&&!a)return null;var l=this.props,c=l.dot,s=l.points,u=l.dataKey,h=(0,A.L6)(this.props,!1),f=(0,A.L6)(c,!0),p=s.map(function(t,e){var r=S(S(S({key:"dot-".concat(e),r:3},h),f),{},{index:e,cx:t.x,cy:t.y,dataKey:u,value:t.value,payload:t.payload,points:s});return o.renderDotItem(c,r)}),y={clipPath:t?"url(#clipPath-".concat(e?"":"dots-").concat(r,")"):null};return n.createElement(b.m,j({className:"recharts-area-dots"},y),p)}},{key:"renderHorizontalRect",value:function(t){var e=this.props,r=e.baseLine,i=e.points,a=e.strokeWidth,o=i[0].x,l=i[i.length-1].x,c=t*Math.abs(o-l),u=s()(i.map(function(t){return t.y||0}));return((0,O.hj)(r)&&"number"==typeof r?u=Math.max(r,u):r&&Array.isArray(r)&&r.length&&(u=Math.max(s()(r.map(function(t){return t.y||0})),u)),(0,O.hj)(u))?n.createElement("rect",{x:o<l?o:o-c,y:0,width:c,height:Math.floor(u+(a?parseInt("".concat(a),10):1))}):null}},{key:"renderVerticalRect",value:function(t){var e=this.props,r=e.baseLine,i=e.points,a=e.strokeWidth,o=i[0].y,l=i[i.length-1].y,c=t*Math.abs(o-l),u=s()(i.map(function(t){return t.x||0}));return((0,O.hj)(r)&&"number"==typeof r?u=Math.max(r,u):r&&Array.isArray(r)&&r.length&&(u=Math.max(s()(r.map(function(t){return t.x||0})),u)),(0,O.hj)(u))?n.createElement("rect",{x:0,y:o<l?o:o-c,width:u+(a?parseInt("".concat(a),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,i){var a=this.props,o=a.layout,l=a.type,c=a.stroke,s=a.connectNulls,u=a.isRange,h=(a.ref,function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},a=Object.keys(t);for(n=0;n<a.length;n++)r=a[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(n=0;n<a.length;n++)r=a[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(a,w));return n.createElement(b.m,{clipPath:r?"url(#clipPath-".concat(i,")"):null},n.createElement(m.H,j({},(0,A.L6)(h,!0),{points:t,connectNulls:s,type:l,baseLine:e,layout:o,stroke:"none",className:"recharts-area-area"})),"none"!==c&&n.createElement(m.H,j({},(0,A.L6)(this.props,!1),{className:"recharts-area-curve",layout:o,type:l,connectNulls:s,fill:"none",points:t})),"none"!==c&&u&&n.createElement(m.H,j({},(0,A.L6)(this.props,!1),{className:"recharts-area-curve",layout:o,type:l,connectNulls:s,fill:"none",points:e})))}},{key:"renderAreaWithAnimation",value:function(t,e){var r=this,i=this.props,o=i.points,l=i.baseLine,c=i.isAnimationActive,s=i.animationBegin,u=i.animationDuration,f=i.animationEasing,y=i.animationId,d=this.state,m=d.prevPoints,v=d.prevBaseLine;return n.createElement(a.ZP,{begin:s,duration:u,isActive:c,easing:f,from:{t:0},to:{t:1},key:"area-".concat(y),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(i){var a=i.t;if(m){var c,s=m.length/o.length,u=o.map(function(t,e){var r=Math.floor(e*s);if(m[r]){var n=m[r],i=(0,O.k4)(n.x,t.x),o=(0,O.k4)(n.y,t.y);return S(S({},t),{},{x:i(a),y:o(a)})}return t});return c=(0,O.hj)(l)&&"number"==typeof l?(0,O.k4)(v,l)(a):h()(l)||p()(l)?(0,O.k4)(v,0)(a):l.map(function(t,e){var r=Math.floor(e*s);if(v[r]){var n=v[r],i=(0,O.k4)(n.x,t.x),o=(0,O.k4)(n.y,t.y);return S(S({},t),{},{x:i(a),y:o(a)})}return t}),r.renderAreaStatically(u,c,t,e)}return n.createElement(b.m,null,n.createElement("defs",null,n.createElement("clipPath",{id:"animationClipPath-".concat(e)},r.renderClipRect(a))),n.createElement(b.m,{clipPath:"url(#animationClipPath-".concat(e,")")},r.renderAreaStatically(o,l,t,e)))})}},{key:"renderArea",value:function(t,e){var r=this.props,n=r.points,i=r.baseLine,a=r.isAnimationActive,o=this.state,l=o.prevPoints,c=o.prevBaseLine,s=o.totalLength;return a&&n&&n.length&&(!l&&s>0||!d()(l,n)||!d()(c,i))?this.renderAreaWithAnimation(t,e):this.renderAreaStatically(n,i,t,e)}},{key:"render",value:function(){var t,e=this.props,r=e.hide,a=e.dot,o=e.points,l=e.className,c=e.top,s=e.left,u=e.xAxis,f=e.yAxis,p=e.width,y=e.height,d=e.isAnimationActive,m=e.id;if(r||!o||!o.length)return null;var v=this.state.isAnimationFinished,x=1===o.length,O=(0,i.Z)("recharts-area",l),k=u&&u.allowDataOverflow,w=f&&f.allowDataOverflow,P=k||w,j=h()(m)?this.id:m,E=null!==(t=(0,A.L6)(a,!1))&&void 0!==t?t:{r:3,strokeWidth:2},S=E.r,N=E.strokeWidth,z=((0,A.$k)(a)?a:{}).clipDot,M=void 0===z||z,L=2*(void 0===S?3:S)+(void 0===N?2:N);return n.createElement(b.m,{className:O},k||w?n.createElement("defs",null,n.createElement("clipPath",{id:"clipPath-".concat(j)},n.createElement("rect",{x:k?s:s-p/2,y:w?c:c-y/2,width:k?p:2*p,height:w?y:2*y})),!M&&n.createElement("clipPath",{id:"clipPath-dots-".concat(j)},n.createElement("rect",{x:s-L/2,y:c-L/2,width:p+L,height:y+L}))):null,x?null:this.renderArea(P,j),(a||x)&&this.renderDots(P,M,j),(!d||v)&&g.e.renderCallByParent(this.props,o))}}],r=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curPoints:t.points,curBaseLine:t.baseLine,prevPoints:e.curPoints,prevBaseLine:e.curBaseLine}:t.points!==e.curPoints||t.baseLine!==e.curBaseLine?{curPoints:t.points,curBaseLine:t.baseLine}:null}}],e&&N(o.prototype,e),r&&N(o,r),Object.defineProperty(o,"prototype",{writable:!1}),o}(n.PureComponent);D(B,"displayName","Area"),D(B,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!x.x.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),D(B,"getBaseValue",function(t,e,r,n){var i=t.layout,a=t.baseValue,o=e.props.baseValue,l=null!=o?o:a;if((0,O.hj)(l)&&"number"==typeof l)return l;var c="horizontal"===i?n:r,s=c.scale.domain();if("number"===c.type){var u=Math.max(s[0],s[1]),h=Math.min(s[0],s[1]);return"dataMin"===l?h:"dataMax"===l?u:u<0?u:Math.max(Math.min(s[0],s[1]),0)}return"dataMin"===l?s[0]:"dataMax"===l?s[1]:s[0]}),D(B,"getComposedData",function(t){var e,r=t.props,n=t.item,i=t.xAxis,a=t.yAxis,o=t.xAxisTicks,l=t.yAxisTicks,c=t.bandSize,s=t.dataKey,u=t.stackedData,h=t.dataStartIndex,f=t.displayedData,p=t.offset,y=r.layout,d=u&&u.length,m=B.getBaseValue(r,n,i,a),v="horizontal"===y,b=!1,g=f.map(function(t,e){d?r=u[h+e]:Array.isArray(r=(0,k.F$)(t,s))?b=!0:r=[m,r];var r,n=null==r[1]||d&&null==(0,k.F$)(t,s);return v?{x:(0,k.Hv)({axis:i,ticks:o,bandSize:c,entry:t,index:e}),y:n?null:a.scale(r[1]),value:r,payload:t}:{x:n?null:i.scale(r[1]),y:(0,k.Hv)({axis:a,ticks:l,bandSize:c,entry:t,index:e}),value:r,payload:t}});return e=d||b?g.map(function(t){var e=Array.isArray(t.value)?t.value[0]:null;return v?{x:t.x,y:null!=e&&null!=t.y?a.scale(e):null}:{x:null!=e?i.scale(e):null,y:t.y}}):v?a.scale(m):i.scale(m),S({points:g,baseLine:e,layout:y,isRange:b},p)}),D(B,"renderDotItem",function(t,e){var r;if(n.isValidElement(t))r=n.cloneElement(t,e);else if(l()(t))r=t(e);else{var a=(0,i.Z)("recharts-area-dot","boolean"!=typeof t?t.className:"");r=n.createElement(v.o,j({},e,{className:a}))}return r})},54142:function(t,e,r){r.d(e,{q:function(){return N}});var n=r(2265),i=r(14380),a=r.n(i),o=r(83565),l=r(6779),c=r(92705),s=r(17400),u=r(68059),h=r(65818),f=r(26839),p=["x1","y1","x2","y2","key"],y=["offset"];function d(t){return(d="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 v(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?m(Object(r),!0).forEach(function(e){var n,i;n=e,i=r[e],(n=function(t){var e=function(t,e){if("object"!=d(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=d(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==d(e)?e:String(e)}(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i}):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 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 g(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},a=Object.keys(t);for(n=0;n<a.length;n++)r=a[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(n=0;n<a.length;n++)r=a[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}var x=function(t){var e=t.fill;if(!e||"none"===e)return null;var r=t.fillOpacity,i=t.x,a=t.y,o=t.width,l=t.height;return n.createElement("rect",{x:i,y:a,width:o,height:l,stroke:"none",fill:e,fillOpacity:r,className:"recharts-cartesian-grid-bg"})};function O(t,e){var r;if(n.isValidElement(t))r=n.cloneElement(t,e);else if(a()(t))r=t(e);else{var i=e.x1,o=e.y1,l=e.x2,s=e.y2,u=e.key,h=g(e,p),f=(0,c.L6)(h,!1),d=(f.offset,g(f,y));r=n.createElement("line",b({},d,{x1:i,y1:o,x2:l,y2:s,fill:"none",key:u}))}return r}function k(t){var e=t.x,r=t.width,i=t.horizontal,a=void 0===i||i,o=t.horizontalPoints;if(!a||!o||!o.length)return null;var l=o.map(function(n,i){return O(a,v(v({},t),{},{x1:e,y1:n,x2:e+r,y2:n,key:"line-".concat(i),index:i}))});return n.createElement("g",{className:"recharts-cartesian-grid-horizontal"},l)}function A(t){var e=t.y,r=t.height,i=t.vertical,a=void 0===i||i,o=t.verticalPoints;if(!a||!o||!o.length)return null;var l=o.map(function(n,i){return O(a,v(v({},t),{},{x1:n,y1:e,x2:n,y2:e+r,key:"line-".concat(i),index:i}))});return n.createElement("g",{className:"recharts-cartesian-grid-vertical"},l)}function w(t){var e=t.horizontalFill,r=t.fillOpacity,i=t.x,a=t.y,o=t.width,l=t.height,c=t.horizontalPoints,s=t.horizontal;if(!(void 0===s||s)||!e||!e.length)return null;var u=c.map(function(t){return Math.round(t+a-a)}).sort(function(t,e){return t-e});a!==u[0]&&u.unshift(0);var h=u.map(function(t,c){var s=u[c+1]?u[c+1]-t:a+l-t;if(s<=0)return null;var h=c%e.length;return n.createElement("rect",{key:"react-".concat(c),y:t,x:i,height:s,width:o,stroke:"none",fill:e[h],fillOpacity:r,className:"recharts-cartesian-grid-bg"})});return n.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},h)}function P(t){var e=t.vertical,r=t.verticalFill,i=t.fillOpacity,a=t.x,o=t.y,l=t.width,c=t.height,s=t.verticalPoints;if(!(void 0===e||e)||!r||!r.length)return null;var u=s.map(function(t){return Math.round(t+a-a)}).sort(function(t,e){return t-e});a!==u[0]&&u.unshift(0);var h=u.map(function(t,e){var s=u[e+1]?u[e+1]-t:a+l-t;if(s<=0)return null;var h=e%r.length;return n.createElement("rect",{key:"react-".concat(e),x:t,y:o,width:s,height:c,stroke:"none",fill:r[h],fillOpacity:i,className:"recharts-cartesian-grid-bg"})});return n.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},h)}var j=function(t,e){var r=t.xAxis,n=t.width,i=t.height,a=t.offset;return(0,s.Rf)((0,u.f)(v(v(v({},h.O.defaultProps),r),{},{ticks:(0,s.uY)(r,!0),viewBox:{x:0,y:0,width:n,height:i}})),a.left,a.left+a.width,e)},E=function(t,e){var r=t.yAxis,n=t.width,i=t.height,a=t.offset;return(0,s.Rf)((0,u.f)(v(v(v({},h.O.defaultProps),r),{},{ticks:(0,s.uY)(r,!0),viewBox:{x:0,y:0,width:n,height:i}})),a.top,a.top+a.height,e)},S={horizontal:!0,vertical:!0,stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function N(t){var e,r,i,c,s,u,h=(0,f.zn)(),p=(0,f.Mw)(),y=(0,f.qD)(),m=v(v({},t),{},{stroke:null!==(e=t.stroke)&&void 0!==e?e:S.stroke,fill:null!==(r=t.fill)&&void 0!==r?r:S.fill,horizontal:null!==(i=t.horizontal)&&void 0!==i?i:S.horizontal,horizontalFill:null!==(c=t.horizontalFill)&&void 0!==c?c:S.horizontalFill,vertical:null!==(s=t.vertical)&&void 0!==s?s:S.vertical,verticalFill:null!==(u=t.verticalFill)&&void 0!==u?u:S.verticalFill,x:(0,l.hj)(t.x)?t.x:y.left,y:(0,l.hj)(t.y)?t.y:y.top,width:(0,l.hj)(t.width)?t.width:y.width,height:(0,l.hj)(t.height)?t.height:y.height}),g=m.x,O=m.y,N=m.width,z=m.height,M=m.syncWithTicks,L=m.horizontalValues,C=m.verticalValues,D=(0,f.CW)(),Z=(0,f.Nf)();if(!(0,l.hj)(N)||N<=0||!(0,l.hj)(z)||z<=0||!(0,l.hj)(g)||g!==+g||!(0,l.hj)(O)||O!==+O)return null;var B=m.verticalCoordinatesGenerator||j,F=m.horizontalCoordinatesGenerator||E,R=m.horizontalPoints,I=m.verticalPoints;if((!R||!R.length)&&a()(F)){var _=L&&L.length,T=F({yAxis:Z?v(v({},Z),{},{ticks:_?L:Z.ticks}):void 0,width:h,height:p,offset:y},!!_||M);(0,o.Z)(Array.isArray(T),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(d(T),"]")),Array.isArray(T)&&(R=T)}if((!I||!I.length)&&a()(B)){var V=C&&C.length,W=B({xAxis:D?v(v({},D),{},{ticks:V?C:D.ticks}):void 0,width:h,height:p,offset:y},!!V||M);(0,o.Z)(Array.isArray(W),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(d(W),"]")),Array.isArray(W)&&(I=W)}return n.createElement("g",{className:"recharts-cartesian-grid"},n.createElement(x,{fill:m.fill,fillOpacity:m.fillOpacity,x:m.x,y:m.y,width:m.width,height:m.height}),n.createElement(k,b({},m,{offset:y,horizontalPoints:R,xAxis:D,yAxis:Z})),n.createElement(A,b({},m,{offset:y,verticalPoints:I,xAxis:D,yAxis:Z})),n.createElement(w,b({},m,{horizontalPoints:R})),n.createElement(P,b({},m,{verticalPoints:I})))}N.displayName="CartesianGrid"},27561:function(t,e,r){r.d(e,{T:function(){return c}});var n=r(84478),i=r(86991),a=r(2842),o=r(9542),l=r(3956),c=(0,n.z)({chartName:"AreaChart",GraphicalChild:i.u,axisComponents:[{axisType:"xAxis",AxisComp:a.K},{axisType:"yAxis",AxisComp:o.B}],formatAxisMap:l.t9})}}]);