PageSourceSearch

https://rankia.ro/_next/static/chunks/npm.recharts-8d1240df.3782805117e824b5.js

js rankia.ro collected 2026-09-29 00:23:46 UTC 79,420 bytes, 1 lines download raw bytes

1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="e8d423cd-676b-4f9a-9f6b-4d6050524d35",t._sentryDebugIdIdentifier="sentry-dbid-e8d423cd-676b-4f9a-9f6b-4d6050524d35")}catch(t){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7090],{81073:function(t,e,r){r.d(e,{u:function(){return B}});var n=r(2784),i=r(40489),o=r(41877),a=r(61049),c=r.n(a),l=r(71644),u=r.n(l),s=r(1842),f=r.n(s),p=r(16951),y=r.n(p),d=r(18149),h=r.n(d),v=r(62827),b=r(47055),m=r(84618),g=r(96621),O=r(79499),x=r(15027),w=r(47247),j=r(79376),P=["layout","type","stroke","connectNulls","isRange","ref"],S=["key"];function k(t){return(k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function E(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function A(){return(A=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 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 D(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){C(t,e,r[e])}):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){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,L(n.key),n)}}function M(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(M=function(){return!!t})()}function N(t){return(N=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function _(t,e){return(_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function C(t,e,r){return(e=L(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function L(t){var e=function(t,e){if("object"!=k(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=k(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==k(e)?e:e+""}var B=function(t){var e,r;function a(){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,a);for(var t,e,r,n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return e=a,r=[].concat(i),e=N(e),C(t=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 function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,M()?Reflect.construct(e,r||[],N(this).constructor):e.apply(this,r)),"state",{isAnimationFinished:!0}),C(t,"id",(0,x.EL)("recharts-area-")),C(t,"handleAnimationEnd",function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),c()(e)&&e()}),C(t,"handleAnimationStart",function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),c()(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&&_(t,e)}(a,t),e=[{key:"renderDots",value:function(t,e,r){var i=this.props.isAnimationActive,o=this.state.isAnimationFinished;if(i&&!o)return null;var c=this.props,l=c.dot,u=c.points,s=c.dataKey,f=(0,j.L6)(this.props,!1),p=(0,j.L6)(l,!0),y=u.map(function(t,e){var r=D(D(D({key:"dot-".concat(e),r:3},f),p),{},{index:e,cx:t.x,cy:t.y,dataKey:s,value:t.value,payload:t.payload,points:u});return a.renderDotItem(l,r)}),d={clipPath:t?"url(#clipPath-".concat(e?"":"dots-").concat(r,")"):null};return n.createElement(m.m,A({className:"recharts-area-dots"},d),y)}},{key:"renderHorizontalRect",value:function(t){var e=this.props,r=e.baseLine,i=e.points,o=e.strokeWidth,a=i[0].x,c=i[i.length-1].x,l=t*Math.abs(a-c),s=u()(i.map(function(t){return t.y||0}
1));return((0,x.hj)(r)&&"number"==typeof r?s=Math.max(r,s):r&&Array.isArray(r)&&r.length&&(s=Math.max(u()(r.map(function(t){return t.y||0})),s)),(0,x.hj)(s))?n.createElement("rect",{x:a<c?a:a-l,y:0,width:l,height:Math.floor(s+(o?parseInt("".concat(o),10):1))}):null}},{key:"renderVerticalRect",value:function(t){var e=this.props,r=e.baseLine,i=e.points,o=e.strokeWidth,a=i[0].y,c=i[i.length-1].y,l=t*Math.abs(a-c),s=u()(i.map(function(t){return t.x||0}));return((0,x.hj)(r)&&"number"==typeof r?s=Math.max(r,s):r&&Array.isArray(r)&&r.length&&(s=Math.max(u()(r.map(function(t){return t.x||0})),s)),(0,x.hj)(s))?n.createElement("rect",{x:0,y:a<c?a:a-l,width:s+(o?parseInt("".concat(o),10):1),height:Math.floor(l)}):null}},{key:"renderClipRect",value:function(t){return"vertical"===this.props.layout?this.renderVerticalRect(t):this.renderHorizontalRect(t)}},{key:"renderAreaStatically",value:function(t,e,r,i){var o=this.props,a=o.layout,c=o.type,l=o.stroke,u=o.connectNulls,s=o.isRange,f=(o.ref,E(o,P));return n.createElement(m.m,{clipPath:r?"url(#clipPath-".concat(i,")"):null},n.createElement(v.H,A({},(0,j.L6)(f,!0),{points:t,connectNulls:u,type:c,baseLine:e,layout:a,stroke:"none",className:"recharts-area-area"})),"none"!==l&&n.createElement(v.H,A({},(0,j.L6)(this.props,!1),{className:"recharts-area-curve",layout:a,type:c,connectNulls:u,fill:"none",points:t})),"none"!==l&&s&&n.createElement(v.H,A({},(0,j.L6)(this.props,!1),{className:"recharts-area-curve",layout:a,type:c,connectNulls:u,fill:"none",points:e})))}},{key:"renderAreaWithAnimation",value:function(t,e){var r=this,i=this.props,a=i.points,c=i.baseLine,l=i.isAnimationActive,u=i.animationBegin,s=i.animationDuration,p=i.animationEasing,d=i.animationId,h=this.state,v=h.prevPoints,b=h.prevBaseLine;return n.createElement(o.ZP,{begin:u,duration:s,isActive:l,easing:p,from:{t:0},to:{t:1},key:"area-".concat(d),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(i){var o=i.t;if(v){var l,u=v.length/a.length,s=a.map(function(t,e){var r=Math.floor(e*u);if(v[r]){var n=v[r],i=(0,x.k4)(n.x,t.x),a=(0,x.k4)(n.y,t.y);return D(D({},t),{},{x:i(o),y:a(o)})}return t});return l=(0,x.hj)(c)&&"number"==typeof c?(0,x.k4)(b,c)(o):f()(c)||y()(c)?(0,x.k4)(b,0)(o):c.map(function(t,e){var r=Math.floor(e*u);if(b[r]){var n=b[r],i=(0,x.k4)(n.x,t.x),a=(0,x.k4)(n.y,t.y);return D(D({},t),{},{x:i(o),y:a(o)})}return t}),r.renderAreaStatically(s,l,t,e)}return n.createElement(m.m,null,n.createElement("defs",null,n.createElement("clipPath",{id:"animationClipPath-".concat(e)},r.renderClipRect(o))),n.createElement(m.m,{clipPath:"url(#animationClipPath-".concat(e,")")},r.renderAreaStatically(a,c,t,e)))})}},{key:"renderArea",value:function(t,e){var r=this.props,n=r.points,i=r.baseLine,o=r.isAnimationActive,a=this.state,c=a.prevPoints,l=a.prevBaseLine,u=a.totalLength;return o&&n&&n.length&&(!c&&u>0||!h()(c,n)||!h()(l,i))?this.renderAreaWithAnimation(t,e):this.renderAreaStatically(n,i,t,e)}},{key:"render",value:function(){var t,e=this.props,r=e.hide,o=e.dot,a=e.points,c=e.className,l=e.top,u=e.left,s=e.xAxis,p=e.yAxis,y=e.width,d=e.height,h=e.isAnimationActive,v=e.id;if(r||!a||!a.length)return null;var b=this.state.isAnimationFinished,O=1===a.length,x=(0,i.Z)("recharts-area",c),w=s&&s.allowDataOverflow,P=p&&p.allowDataOverflow,S=w||P,k=f()(v)?this.id:v,E=null!==(t=(0,j.L6)(o,!1))&&void 0!==t?t:{r:3,strokeWidth:2},A=E.r,T=E.strokeWidth,D=((0,j.jf)(o)?o:{}).clipDot,I=void 0===D||D,M=2*(void 0===A?3:A)+(void 0===T?2:T);return n.createElement(m.m,{className:x},w||P?n.createElement("defs",null,n.createElement("clipPath",{id:"clipPath-".concat(k)},n.createElement("rect",{x:w?u:u-y/2,y:P?l:l-d/2,width:w?y:2*y,height:P?d:2*d})),!I&&n.createElement("clipPath",{id:"clipPath-dots-".concat(k)},n.createElement("rect",{x:u-M/2,y:l-M/2,width:y+M,height:d+M}))):null,O?null:this.renderArea(S,k),(o||O)&&this.renderDots(S,I,k),(!h||b)&&g.e.renderCallByParent(this.props,a))}}],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&&I(a.prototype,e),r&&I(a,r),Object.defineProperty(a,"prototype",{writable:!1}),a}(n.PureComponent);C(B,"displayName","Area"),C(B,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendT
1ype:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!O.x.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),C(B,"getBaseValue",function(t,e,r,n){var i=t.layout,o=t.baseValue,a=e.props.baseValue,c=null!=a?a:o;if((0,x.hj)(c)&&"number"==typeof c)return c;var l="horizontal"===i?n:r,u=l.scale.domain();if("number"===l.type){var s=Math.max(u[0],u[1]),f=Math.min(u[0],u[1]);return"dataMin"===c?f:"dataMax"===c?s:s<0?s:Math.max(Math.min(u[0],u[1]),0)}return"dataMin"===c?u[0]:"dataMax"===c?u[1]:u[0]}),C(B,"getComposedData",function(t){var e,r=t.props,n=t.item,i=t.xAxis,o=t.yAxis,a=t.xAxisTicks,c=t.yAxisTicks,l=t.bandSize,u=t.dataKey,s=t.stackedData,f=t.dataStartIndex,p=t.displayedData,y=t.offset,d=r.layout,h=s&&s.length,v=B.getBaseValue(r,n,i,o),b="horizontal"===d,m=!1,g=p.map(function(t,e){h?r=s[f+e]:Array.isArray(r=(0,w.F$)(t,u))?m=!0:r=[v,r];var r,n=null==r[1]||h&&null==(0,w.F$)(t,u);return b?{x:(0,w.Hv)({axis:i,ticks:a,bandSize:l,entry:t,index:e}),y:n?null:o.scale(r[1]),value:r,payload:t}:{x:n?null:i.scale(r[1]),y:(0,w.Hv)({axis:o,ticks:c,bandSize:l,entry:t,index:e}),value:r,payload:t}});return e=h||m?g.map(function(t){var e=Array.isArray(t.value)?t.value[0]:null;return b?{x:t.x,y:null!=e&&null!=t.y?o.scale(e):null}:{x:null!=e?i.scale(e):null,y:t.y}}):b?o.scale(v):i.scale(v),D({points:g,baseLine:e,layout:d,isRange:m},y)}),C(B,"renderDotItem",function(t,e){var r;if(n.isValidElement(t))r=n.cloneElement(t,e);else if(c()(t))r=t(e);else{var o=(0,i.Z)("recharts-area-dot","boolean"!=typeof t?t.className:""),a=e.key,l=E(e,S);r=n.createElement(b.o,A({},l,{key:a,className:o}))}return r})},24908:function(t,e,r){r.d(e,{$:function(){return I}});var n=r(2784),i=r(40489),o=r(41877),a=r(18149),c=r.n(a),l=r(1842),u=r.n(l),s=r(84618),f=r(18694),p=r(11011),y=r(96621),d=r(15027),h=r(79376),v=r(79499),b=r(47247),m=r(21442),g=r(76830),O=["value","background"];function x(t){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(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 j(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function P(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?j(Object(r),!0).forEach(function(e){T(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function S(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,D(n.key),n)}}function k(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(k=function(){return!!t})()}function E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function A(t,e){return(A=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function T(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"!=x(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=x(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==x(e)?e:e+""}var I=function(t){var e,r;function a(){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,a);for(var t,e,r,n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];
1return e=a,r=[].concat(i),e=E(e),T(t=function(t,e){if(e&&("object"===x(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,k()?Reflect.construct(e,r||[],E(this).constructor):e.apply(this,r)),"state",{isAnimationFinished:!1}),T(t,"id",(0,d.EL)("recharts-bar-")),T(t,"handleAnimationEnd",function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),e&&e()}),T(t,"handleAnimationStart",function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),e&&e()}),t}return!function(t,e){if("function"!=typeof e&&null!==e)throw 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&&A(t,e)}(a,t),e=[{key:"renderRectanglesStatically",value:function(t){var e=this,r=this.props,i=r.shape,o=r.dataKey,a=r.activeIndex,c=r.activeBar,l=(0,h.L6)(this.props,!1);return t&&t.map(function(t,r){var u=r===a,f=P(P(P({},l),t),{},{isActive:u,option:u?c:i,index:r,dataKey:o,onAnimationStart:e.handleAnimationStart,onAnimationEnd:e.handleAnimationEnd});return n.createElement(s.m,w({className:"recharts-bar-rectangle"},(0,m.bw)(e.props,t,r),{key:"rectangle-".concat(null==t?void 0:t.x,"-").concat(null==t?void 0:t.y,"-").concat(null==t?void 0:t.value,"-").concat(r)}),n.createElement(g.O,f))})}},{key:"renderRectanglesWithAnimation",value:function(){var t=this,e=this.props,r=e.data,i=e.layout,a=e.isAnimationActive,c=e.animationBegin,l=e.animationDuration,u=e.animationEasing,f=e.animationId,p=this.state.prevData;return n.createElement(o.ZP,{begin:c,duration:l,isActive:a,easing:u,from:{t:0},to:{t:1},key:"bar-".concat(f),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(e){var o=e.t,a=r.map(function(t,e){var r=p&&p[e];if(r){var n=(0,d.k4)(r.x,t.x),a=(0,d.k4)(r.y,t.y),c=(0,d.k4)(r.width,t.width),l=(0,d.k4)(r.height,t.height);return P(P({},t),{},{x:n(o),y:a(o),width:c(o),height:l(o)})}if("horizontal"===i){var u=(0,d.k4)(0,t.height)(o);return P(P({},t),{},{y:t.y+t.height-u,height:u})}var s=(0,d.k4)(0,t.width)(o);return P(P({},t),{},{width:s})});return n.createElement(s.m,null,t.renderRectanglesStatically(a))})}},{key:"renderRectangles",value:function(){var t=this.props,e=t.data,r=t.isAnimationActive,n=this.state.prevData;return r&&e&&e.length&&(!n||!c()(n,e))?this.renderRectanglesWithAnimation():this.renderRectanglesStatically(e)}},{key:"renderBackground",value:function(){var t=this,e=this.props,r=e.data,i=e.dataKey,o=e.activeIndex,a=(0,h.L6)(this.props.background,!1);return r.map(function(e,r){e.value;var c=e.background,l=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(e,O);if(!c)return null;var u=P(P(P(P(P({},l),{},{fill:"#eee"},c),a),(0,m.bw)(t.props,e,r)),{},{onAnimationStart:t.handleAnimationStart,onAnimationEnd:t.handleAnimationEnd,dataKey:i,index:r,className:"recharts-bar-background-rectangle"});return n.createElement(g.O,w({key:"background-bar-".concat(r),option:t.props.background,isActive:r===o},u))})}},{key:"renderErrorBar",value:function(t,e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,i=r.data,o=r.xAxis,a=r.yAxis,c=r.layout,l=r.children,u=(0,h.NN)(l,f.W);if(!u)return null;var p="vertical"===c?i[0].height/2:i[0].width/2,y=function(t,e){var r=Array.isArray(t.value)?t.value[1]:t.value;return{x:t.x,y:t.y,value:r,errorVal:(0,b.F$)(t,e)}};return n.createElement(s.m,{clipPath:t?"url(#clipPath-".concat(e,")"):null},u.map(function(t){return n.cloneElement(t,{key:"error-bar-".concat(e,"-").concat(t.props.dataKey),data:i,xAxis:o,yAxis:a,layout:c,offset:p,dataPointFormatter:y})}))}},{key:"render",value:function(){var t=this.props,e=t.hide,r=t.data,o=t.className,a=t.xAxis,c=t.yAxis,l=t.left,f=t.top,p=t.width,d=t.height,h=t.isAnimationActive,v=t.background,b=t.id;if(e||!r||!r.length)return null;var m=this.state.isAnimationFinished,g=(0,i.Z)("recharts-bar",o),O=a&&a.allowDataOverflow,x=c&&c.allowDataOverflow,w=O||x,j=u()(b)?this.id:b;return n.createElement(s.m,{className:g},O||x?n.createElement("defs",null,n.createElement("clipPath",{id:"clipPath-".concat(j)},n.createElement("rect",{x:O?l:l-p/2,y:x?f:f-d/2,width:O?p:2*p,height:x?d:2*d}))):null,n.createElement(s.m,{className:"recharts-bar-rectangles",clipPath:w?"url(#clipPath-".concat(j,")"):null}
1,v?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(w,j),(!h||m)&&y.e.renderCallByParent(this.props,r))}}],r=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curData:t.data,prevData:e.curData}:t.data!==e.curData?{curData:t.data}:null}}],e&&S(a.prototype,e),r&&S(a,r),Object.defineProperty(a,"prototype",{writable:!1}),a}(n.PureComponent);T(I,"displayName","Bar"),T(I,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!v.x.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"}),T(I,"getComposedData",function(t){var e=t.props,r=t.item,n=t.barPosition,i=t.bandSize,o=t.xAxis,a=t.yAxis,c=t.xAxisTicks,l=t.yAxisTicks,u=t.stackedData,s=t.dataStartIndex,f=t.displayedData,y=t.offset,v=(0,b.Bu)(n,r);if(!v)return null;var m=e.layout,O=r.type.defaultProps,x=void 0!==O?P(P({},O),r.props):r.props,w=x.dataKey,j=x.children,S=x.minPointSize,k="horizontal"===m?a:o,E=u?k.scale.domain():null,A=(0,b.Yj)({numericAxis:k}),T=(0,h.NN)(j,p.b),D=f.map(function(t,e){u?f=(0,b.Vv)(u[s+e],E):Array.isArray(f=(0,b.F$)(t,w))||(f=[A,f]);var n=(0,g.A)(S,I.defaultProps.minPointSize)(f[1],e);if("horizontal"===m){var f,p,y,h,O,x,j,k=[a.scale(f[0]),a.scale(f[1])],D=k[0],M=k[1];p=(0,b.Fy)({axis:o,ticks:c,bandSize:i,offset:v.offset,entry:t,index:e}),y=null!==(j=null!=M?M:D)&&void 0!==j?j:void 0,h=v.size;var N=D-M;if(O=Number.isNaN(N)?0:N,x={x:p,y:a.y,width:h,height:a.height},Math.abs(n)>0&&Math.abs(O)<Math.abs(n)){var _=(0,d.uY)(O||n)*(Math.abs(n)-Math.abs(O));y-=_,O+=_}}else{var C=[o.scale(f[0]),o.scale(f[1])],L=C[0],B=C[1];if(p=L,y=(0,b.Fy)({axis:a,ticks:l,bandSize:i,offset:v.offset,entry:t,index:e}),h=B-L,O=v.size,x={x:o.x,y:y,width:o.width,height:O},Math.abs(n)>0&&Math.abs(h)<Math.abs(n)){var R=(0,d.uY)(h||n)*(Math.abs(n)-Math.abs(h));h+=R}}return P(P(P({},t),{},{x:p,y:y,width:h,height:O,value:u?f:f[1],payload:t,background:x},T&&T[e]&&T[e].props),{},{tooltipPayload:[(0,b.Qo)(r,t)],tooltipPosition:{x:p+h/2,y:y+O/2}})});return P({data:D,layout:m},y)})},19978:function(t,e,r){r.d(e,{B:function(){return A}});var n=r(2784),i=r(40489),o=r(99620),a=r(61049),c=r.n(a),l=r(2689),u=r.n(l),s=r(84618),f=r(7670),p=r(47247),y=r(15027),d=r(68532),h=r(79376);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 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 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 g(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){P(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 O(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,S(n.key),n)}}function x(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(x=function(){return!!t})()}function w(t){return(w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function j(t,e){return(j=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function P(t,e,r){return(e=S(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function S(t){var e=function(t,e){if("object"!=v(t)||!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:e+""}var k=function(t){var e=t.data,r=t.startIndex,n=t.endIndex,i=t.x,a=t.width,c=t.travellerWidth;if(!e||!e.length)return{};var l=e.length,s=(0,o.x)().domain(u()(0,l)).range([i,i+a-c]),f=s.domain().map(function(t){return s(t)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:s(r),endX:s(n),scale:s,scaleValues:f}},E=function(t){return t.changedTouches&&!!t.changedTouches.length},A=function(t){var e,r;function o(t){var e,r,n;return!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,o),r=o,n=[t],r=w(r),P(e=function(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 function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,x()?Reflect.construct(r,n||[],w(this).constructor):r.apply(this,n)),"handleDrag",function(t){e.leaveTimer&&(clearTimeout(e.leaveTimer),e.leaveTimer=null),e.state.isTravellerMoving?e.handleTravellerMove(t):e.state.isSlideMoving&&e.handleSlideDrag(t)}),P(e,"handleTouchMove",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleDrag(t.changedTouches[0])}),P(e,"handleDragEnd",function(){e.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var t=e.props,r=t.endIndex,n=t.onDragEnd,i=t.startIndex;null==n||n({endIndex:r,startIndex:i})}),e.detachDragEndListener()}),P(e,"handleLeaveWrapper",function(){(e.state.isTravellerMoving||e.state.isSlideMoving)&&(e.leaveTimer=window.setTimeout(e.handleDragEnd,e.props.leaveTimeOut))}),P(e,"handleEnterSlideOrTraveller",function(){e.setState({isTextActive:!0})}),P(e,"handleLeaveSlideOrTraveller",function(){e.setState({isTextActive:!1})}),P(e,"handleSlideDragStart",function(t){var r=E(t)?t.changedTouches[0]:t;e.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:r.pageX}),e.attachDragEndListener()}),e.travellerDragStartHandlers={startX:e.handleTravellerDragStart.bind(e,"startX"),endX:e.handleTravellerDragStart.bind(e,"endX")},e.state={},e}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&&j(t,e)}(o,t),e=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(t){var e=t.startX,r=t.endX,n=this.state.scaleValues,i=this.props,a=i.gap,c=i.data.length-1,l=o.getIndexInRange(n,Math.min(e,r)),u=o.getIndexInRange(n,Math.max(e,r));return{startIndex:l-l%a,endIndex:u===c?c:u-u%a}}},{key:"getTextOfTick",value:function(t){var e=this.props,r=e.data,n=e.tickFormatter,i=e.dataKey,o=(0,p.F$)(r[t],i,t);return c()(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,l=o.travellerWidth,u=o.startIndex,s=o.endIndex,f=o.onChange,p=t.pageX-r;p>0?p=Math.min(p,a+c-l-i,a+c-l-n):p<0&&(p=Math.max(p,a-n,a-i));var y=this.getIndex({startX:n+p,endX:i+p});(y.startIndex!==u||y.endIndex!==s)&&f&&f(y),this.setState({startX:n+p,endX:i+p,slideMoveStartX:t.pageX})}},{key:"handleTravellerDragStart",value:function(t,e){var r=E(e)?e.changedTouches[0]:e;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:t,brushMoveStartX:r.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(t){var e=this.state,r=e.brushMoveStartX,n=e.movingTravellerId,i=e.endX,o=e.startX,a=this.state[n],c=this.props,l=c.x,u=c.width,s=c.travellerWidth,f=c.onChange,p=c.gap,y=c.data,d={startX:this.state.startX,endX:this.state.endX},h=t.pageX-r;h>0?h=Math.min(h,l+u-s-a):h<0&&(h=Math.max(h,l-a)),d[n]=a+h;var v=this.getIndex(d),b=v.startIndex,m=v.endIndex,g=function(){var t=y.length-1;return"startX"===n&&(i>o?b%p==0:m%p==0)||i<o&&m===t||"endX"===n&&(i>o?m%p==0:b%p==0)||i>o&&m===t};this.setState(P(P({},n,a+h),"brushMoveStartX",t.pageX),function(){f&&g()&&f(v)})}},{key:"handleTravellerMoveKeyboard",value:function(t,e){var r=this,n=this.state,i=n.scaleValues,o=n.startX,a=n.endX,c=this.state[e],l=i.indexOf(c);if(-1!==l){var u=l+t;if(-1!==u&&!(u>=i.length)){var s=i[u];"startX"===e&&s>=a||"endX"===e&&s<=o||this.setState(P({},e,s),function(){r.props.onChange(r.getIndex({startX:r.state.startX,endX:r.
1state.endX}))})}}}},{key:"renderBackground",value:function(){var t=this.props,e=t.x,r=t.y,i=t.width,o=t.height,a=t.fill,c=t.stroke;return n.createElement("rect",{stroke:c,fill:a,x:e,y:r,width:i,height:o})}},{key:"renderPanorama",value:function(){var t=this.props,e=t.x,r=t.y,i=t.width,o=t.height,a=t.data,c=t.children,l=t.padding,u=n.Children.only(c);return u?n.cloneElement(u,{x:e,y:r,width:i,height:o,margin:l,compact:!0,data:a}):null}},{key:"renderTravellerLayer",value:function(t,e){var r,i,a=this,c=this.props,l=c.y,u=c.travellerWidth,f=c.height,p=c.traveller,y=c.ariaLabel,d=c.data,v=c.startIndex,b=c.endIndex,m=Math.max(t,this.props.x),O=g(g({},(0,h.L6)(this.props,!1)),{},{x:m,y:l,width:u,height:f}),x=y||"Min value: ".concat(null===(r=d[v])||void 0===r?void 0:r.name,", Max value: ").concat(null===(i=d[b])||void 0===i?void 0:i.name);return n.createElement(s.m,{tabIndex:0,role:"slider","aria-label":x,"aria-valuenow":t,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[e],onTouchStart:this.travellerDragStartHandlers[e],onKeyDown:function(t){["ArrowLeft","ArrowRight"].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),a.handleTravellerMoveKeyboard("ArrowRight"===t.key?1:-1,e))},onFocus:function(){a.setState({isTravellerFocused:!0})},onBlur:function(){a.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},o.renderTraveller(p,O))}},{key:"renderSlide",value:function(t,e){var r=this.props,i=r.y,o=r.height,a=r.stroke,c=r.travellerWidth;return n.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:a,fillOpacity:.2,x:Math.min(t,e)+c,y:i,width:Math.max(Math.abs(e-t)-c,0),height:o})}},{key:"renderText",value:function(){var t=this.props,e=t.startIndex,r=t.endIndex,i=t.y,o=t.height,a=t.travellerWidth,c=t.stroke,l=this.state,u=l.startX,p=l.endX,y={pointerEvents:"none",fill:c};return n.createElement(s.m,{className:"recharts-brush-texts"},n.createElement(f.x,b({textAnchor:"end",verticalAnchor:"middle",x:Math.min(u,p)-5,y:i+o/2},y),this.getTextOfTick(e)),n.createElement(f.x,b({textAnchor:"start",verticalAnchor:"middle",x:Math.max(u,p)+a+5,y:i+o/2},y),this.getTextOfTick(r)))}},{key:"render",value:function(){var t=this.props,e=t.data,r=t.className,o=t.children,a=t.x,c=t.y,l=t.width,u=t.height,f=t.alwaysShowText,p=this.state,h=p.startX,v=p.endX,b=p.isTextActive,m=p.isSlideMoving,g=p.isTravellerMoving,O=p.isTravellerFocused;if(!e||!e.length||!(0,y.hj)(a)||!(0,y.hj)(c)||!(0,y.hj)(l)||!(0,y.hj)(u)||l<=0||u<=0)return null;var x=(0,i.Z)("recharts-brush",r),w=1===n.Children.count(o),j=(0,d.g)("userSelect","none");return n.createElement(s.m,{className:x,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:j},this.renderBackground(),w&&this.renderPanorama(),this.renderSlide(h,v),this.renderTravellerLayer(h,"startX"),this.renderTravellerLayer(v,"endX"),(b||m||g||O||f)&&this.renderText())}}],r=[{key:"renderDefaultTraveller",value:function(t){var e=t.x,r=t.y,i=t.width,o=t.height,a=t.stroke,c=Math.floor(r+o/2)-1;return n.createElement(n.Fragment,null,n.createElement("rect",{x:e,y:r,width:i,height:o,fill:a,stroke:"none"}),n.createElement("line",{x1:e+1,y1:c,x2:e+i-1,y2:c,fill:"none",stroke:"#fff"}),n.createElement("line",{x1:e+1,y1:c+2,x2:e+i-1,y2:c+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(t,e){return n.isValidElement(t)?n.cloneElement(t,e):c()(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,l=t.endIndex;if(r!==e.prevData||a!==e.prevUpdateId)return g({prevData:r,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:n},r&&r.length?k({data:r,width:n,x:i,travellerWidth:o,startIndex:c,endIndex:l}):{scale:null,scaleValues:null});if(e.scale&&(n!==e.prevWidth||i!==e.prevX||o!==e.prevTravellerWidth)){e.scale.range([i,i+n-o]);var u=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:u}}return null}},{key:"getIndexInRange",value:function(t,e){for(var r=t.length,n=0,i=r-1;i-n>1;){var o=Math.floor((n+i)/2);t[o]>e?i=o:n=o}return e>=t[i]?i:n}}],e&&O(o.prototype,e),r&&O(o,r),Object.defineProperty(o,"prototype",{writable:!1}),o}(n.PureComponent);P(A,"displayName","Brush"),P(A,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1})},83365:function(t,e,r){r.d(e,{O:function(){return I}});var n=r(2784),i=r(61049),o=r.n(i),a=r(72579),c=r.n(a),l=r(40489),u=r(47022),s=r(84618),f=r(7670),p=r(31542),y=r(15027),d=r(21442),h=r(79376),v=r(4485),b=["viewBox"],m=["viewBox"],g=["ticks"];function O(t){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function x(){return(x=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 w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function j(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?w(Object(r),!0).forEach(function(e){T(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function P(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function S(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,D(n.key),n)}}function k(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(k=function(){return!!t})()}function E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function A(t,e){return(A=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function T(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"!=O(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=O(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==O(e)?e:e+""}var I=function(t){var e,r;function i(t){var e,r,n;return!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i),r=i,n=[t],r=E(r),(e=function(t,e){if(e&&("object"===O(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,k()?Reflect.construct(r,n||[],E(this).constructor):r.apply(this,n))).state={fontSize:"",letterSpacing:""},e}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&&A(t,e)}(i,t),e=[{key:"shouldComponentUpdate",value:function(t,e){var r=t.viewBox,n=P(t,b),i=this.props,o=i.viewBox,a=P(i,m);return!(0,u.w)(r,o)||!(0,u.w)(n,a)||!(0,u.w)(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,l=c.x,u=c.y,s=c.width,f=c.height,p=c.orientation,d=c.tickSize,h=c.mirror,v=c.tickMargin,b=h?-1:1,m=t.tickSize||d,g=(0,y.hj)(t.tickCoord)?t.tickCoord:t.coordinate;switch(p){case"top":e=r=t.coordinate,a=(n=(i=u+ +!h*f)-b*m)-b*v,o=g;break;case"left":n=i=t.coordinate,o=(e=(r=l+ +!h*s)-b*m)-b*v,a=g;break;case"right":n=i=t.coordinate,o=(e=(r=l+ +h*s)+b*m)+b*v,a=g;break;default:e=r=t.coordinate,a=(n=(i=u+ +h*f)+b*m)+b*v,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,i=t.width,o=t.height,a=t.orientation,u=t.mirror,s=t.axisLine,f=j(j(j({},(0,h.L6)(this.props,!1)),(0,h.L6)(s,!1)),{},{fill:"none"});if("top"===a||"bottom"===a){var p=+("top"===a&&!u||"bottom"===a&&u);f=j(j({},f),{},{x1:e,y1:r+p*o,x2:e+i,y2:r+p*o})}else{var y=+("left"===a&&!u||"right"===a&&u);f=j(j({},f),{},{x1:e+y*i,y1:r,x2:e+y*i,y2:r+o})}return n.createElement("line",x({},f,{className:(0,l.Z)("recharts-cartesian-axis-line",c()(s,"className"))}))}},{key:"renderTicks",value:function(t,e,r){var a=this,u=this.props,f=u.tickLine,p=u.stroke,y=u.tick,b=u.tickFormatter,m=u.unit,g=(0,v.f)(j(j({},this.props),{},{ticks:t}),e,r),O=this.getTickTextAnchor(),w=this.getTickVerticalAnchor(),P=(0,h.L6)(this.props,!1),S=(0,h.L6)(y,!1),k=j(j({},P),{},{fill:"none"}
1,(0,h.L6)(f,!1)),E=g.map(function(t,e){var r=a.getTickLineCoord(t),u=r.line,h=r.tick,v=j(j(j(j({textAnchor:O,verticalAnchor:w},P),{},{stroke:"none",fill:p},S),h),{},{index:e,payload:t,visibleTicksCount:g.length,tickFormatter:b});return n.createElement(s.m,x({className:"recharts-cartesian-axis-tick",key:"tick-".concat(t.value,"-").concat(t.coordinate,"-").concat(t.tickCoord)},(0,d.bw)(a.props,t,e)),f&&n.createElement("line",x({},k,u,{className:(0,l.Z)("recharts-cartesian-axis-tick-line",c()(f,"className"))})),y&&i.renderTickItem(y,v,"".concat(o()(b)?b(t.value,e):t.value).concat(m||"")))});return n.createElement("g",{className:"recharts-cartesian-axis-ticks"},E)}},{key:"render",value:function(){var t=this,e=this.props,r=e.axisLine,i=e.width,a=e.height,c=e.ticksGenerator,u=e.className;if(e.hide)return null;var f=this.props,y=f.ticks,d=P(f,g),h=y;return(o()(c)&&(h=c(y&&y.length>0?this.props:d)),i<=0||a<=0||!h||!h.length)?null:n.createElement(s.m,{className:(0,l.Z)("recharts-cartesian-axis",u),ref:function(e){t.layerReference=e}},r&&this.renderAxisLine(),this.renderTicks(h,this.state.fontSize,this.state.letterSpacing),p._.renderCallByParent(this.props))}}],r=[{key:"renderTickItem",value:function(t,e,r){var i=(0,l.Z)(e.className,"recharts-cartesian-axis-tick-value");return n.isValidElement(t)?n.cloneElement(t,j(j({},e),{},{className:i})):o()(t)?t(j(j({},e),{},{className:i})):n.createElement(f.x,x({},e,{className:"recharts-cartesian-axis-tick-value"}),r)}}],e&&S(i.prototype,e),r&&S(i,r),Object.defineProperty(i,"prototype",{writable:!1}),i}(n.Component);T(I,"displayName","CartesianAxis"),T(I,"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"})},55484:function(t,e,r){r.d(e,{q:function(){return T}});var n=r(2784),i=r(61049),o=r.n(i),a=r(91745),c=r(15027),l=r(79376),u=r(47247),s=r(4485),f=r(83365),p=r(19164),y=["x1","y1","x2","y2","key"],d=["offset"];function h(t){return(h="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(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?v(Object(r),!0).forEach(function(e){var n,i;n=e,i=r[e],(n=function(t){var e=function(t,e){if("object"!=h(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=h(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==h(e)?e: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)):v(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function m(){return(m=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function g(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}var O=function(t){var e=t.fill;if(!e||"none"===e)return null;var r=t.fillOpacity,i=t.x,o=t.y,a=t.width,c=t.height,l=t.ry;return n.createElement("rect",{x:i,y:o,ry:l,width:a,height:c,stroke:"none",fill:e,fillOpacity:r,className:"recharts-cartesian-grid-bg"})};function x(t,e){var r;if(n.isValidElement(t))r=n.cloneElement(t,e);else if(o()(t))r=t(e);else{var i=e.x1,a=e.y1,c=e.x2,u=e.y2,s=e.key,f=g(e,y),p=(0,l.L6)(f,!1),h=(p.offset,g(p,d));
1r=n.createElement("line",m({},h,{x1:i,y1:a,x2:c,y2:u,fill:"none",key:s}))}return r}function w(t){var e=t.x,r=t.width,i=t.horizontal,o=void 0===i||i,a=t.horizontalPoints;if(!o||!a||!a.length)return null;var c=a.map(function(n,i){return x(o,b(b({},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"},c)}function j(t){var e=t.y,r=t.height,i=t.vertical,o=void 0===i||i,a=t.verticalPoints;if(!o||!a||!a.length)return null;var c=a.map(function(n,i){return x(o,b(b({},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"},c)}function P(t){var e=t.horizontalFill,r=t.fillOpacity,i=t.x,o=t.y,a=t.width,c=t.height,l=t.horizontalPoints,u=t.horizontal;if(!(void 0===u||u)||!e||!e.length)return null;var s=l.map(function(t){return Math.round(t+o-o)}).sort(function(t,e){return t-e});o!==s[0]&&s.unshift(0);var f=s.map(function(t,l){var u=s[l+1]?s[l+1]-t:o+c-t;if(u<=0)return null;var f=l%e.length;return n.createElement("rect",{key:"react-".concat(l),y:t,x:i,height:u,width:a,stroke:"none",fill:e[f],fillOpacity:r,className:"recharts-cartesian-grid-bg"})});return n.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},f)}function S(t){var e=t.vertical,r=t.verticalFill,i=t.fillOpacity,o=t.x,a=t.y,c=t.width,l=t.height,u=t.verticalPoints;if(!(void 0===e||e)||!r||!r.length)return null;var s=u.map(function(t){return Math.round(t+o-o)}).sort(function(t,e){return t-e});o!==s[0]&&s.unshift(0);var f=s.map(function(t,e){var u=s[e+1]?s[e+1]-t:o+c-t;if(u<=0)return null;var f=e%r.length;return n.createElement("rect",{key:"react-".concat(e),x:t,y:a,width:u,height:l,stroke:"none",fill:r[f],fillOpacity:i,className:"recharts-cartesian-grid-bg"})});return n.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},f)}var k=function(t,e){var r=t.xAxis,n=t.width,i=t.height,o=t.offset;return(0,u.Rf)((0,s.f)(b(b(b({},f.O.defaultProps),r),{},{ticks:(0,u.uY)(r,!0),viewBox:{x:0,y:0,width:n,height:i}})),o.left,o.left+o.width,e)},E=function(t,e){var r=t.yAxis,n=t.width,i=t.height,o=t.offset;return(0,u.Rf)((0,s.f)(b(b(b({},f.O.defaultProps),r),{},{ticks:(0,u.uY)(r,!0),viewBox:{x:0,y:0,width:n,height:i}})),o.top,o.top+o.height,e)},A={horizontal:!0,vertical:!0,stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function T(t){var e,r,i,l,u,s,f=(0,p.zn)(),y=(0,p.Mw)(),d=(0,p.qD)(),v=b(b({},t),{},{stroke:null!==(e=t.stroke)&&void 0!==e?e:A.stroke,fill:null!==(r=t.fill)&&void 0!==r?r:A.fill,horizontal:null!==(i=t.horizontal)&&void 0!==i?i:A.horizontal,horizontalFill:null!==(l=t.horizontalFill)&&void 0!==l?l:A.horizontalFill,vertical:null!==(u=t.vertical)&&void 0!==u?u:A.vertical,verticalFill:null!==(s=t.verticalFill)&&void 0!==s?s:A.verticalFill,x:(0,c.hj)(t.x)?t.x:d.left,y:(0,c.hj)(t.y)?t.y:d.top,width:(0,c.hj)(t.width)?t.width:d.width,height:(0,c.hj)(t.height)?t.height:d.height}),g=v.x,x=v.y,T=v.width,D=v.height,I=v.syncWithTicks,M=v.horizontalValues,N=v.verticalValues,_=(0,p.CW)(),C=(0,p.Nf)();if(!(0,c.hj)(T)||T<=0||!(0,c.hj)(D)||D<=0||!(0,c.hj)(g)||g!==+g||!(0,c.hj)(x)||x!==+x)return null;var L=v.verticalCoordinatesGenerator||k,B=v.horizontalCoordinatesGenerator||E,R=v.horizontalPoints,z=v.verticalPoints;if((!R||!R.length)&&o()(B)){var X=M&&M.length,F=B({yAxis:C?b(b({},C),{},{ticks:X?M:C.ticks}):void 0,width:f,height:y,offset:d},!!X||I);(0,a.Z)(Array.isArray(F),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(h(F),"]")),Array.isArray(F)&&(R=F)}if((!z||!z.length)&&o()(L)){var W=N&&N.length,V=L({xAxis:_?b(b({},_),{},{ticks:W?N:_.ticks}):void 0,width:f,height:y,offset:d},!!W||I);(0,a.Z)(Array.isArray(V),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(h(V),"]")),Array.isArray(V)&&(z=V)}return n.createElement("g",{className:"recharts-cartesian-grid"},n.createElement(O,{fill:v.fill,fillOpacity:v.fillOpacity,x:v.x,y:v.y,width:v.width,height:v.height,ry:v.ry}),n.createElement(w,m({},v,{offset:d,horizontalPoints:R,xAxis:_,yAxis:C})),n.createElement(j,m({},v,{offset:d,verticalPoints:z,xAxis:_,yAxis:C})),n.createElement(P,m({},v,{horizontalPoints:R})),n.createElement(S,m({},v,{verticalPoints:z})))}
1T.displayName="CartesianGrid"},18694:function(t,e,r){r.d(e,{W:function(){return v}});var n=r(2784),i=r(10362),o=r(84618),a=r(79376),c=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];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 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,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 f(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(f=function(){return!!t})()}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function y(t,e){return(y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function d(t,e,r){return(e=h(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function h(t){var e=function(t,e){if("object"!=l(t)||!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)}(t,"string");return"symbol"==l(e)?e:e+""}var v=function(t){var e;function r(){var t,e;return!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r),t=r,e=arguments,t=p(t),function(t,e){if(e&&("object"===l(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,f()?Reflect.construct(t,e||[],p(this).constructor):t.apply(this,e))}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&&y(t,e)}(r,t),e=[{key:"render",value:function(){var t=this.props,e=t.offset,r=t.layout,l=t.width,f=t.dataKey,p=t.data,y=t.dataPointFormatter,d=t.xAxis,h=t.yAxis,v=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,c),b=(0,a.L6)(v,!1);"x"===this.props.direction&&"number"!==d.type&&(0,i.Z)(!1);var m=p.map(function(t){var i,a,c=y(t,f),p=c.x,v=c.y,m=c.value,g=c.errorVal;if(!g)return null;var O=[];if(Array.isArray(g)){var x=function(t){if(Array.isArray(t))return t}(g)||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=[],l=!0,u=!1;try{for(o=(r=r.call(t)).next;!(l=(n=o.call(r)).done)&&(c.push(n.value),2!==c.length);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(g,2)||function(t,e){if(t){if("string"==typeof t)return s(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 s(t,2)}}(g,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.")}();i=x[0],a=x[1]}else i=a=g;if("vertical"===r){var w=d.scale,j=v+e,P=j+l,S=j-l,k=w(m-i),E=w(m+a);
1O.push({x1:E,y1:P,x2:E,y2:S}),O.push({x1:k,y1:j,x2:E,y2:j}),O.push({x1:k,y1:P,x2:k,y2:S})}else if("horizontal"===r){var A=h.scale,T=p+e,D=T-l,I=T+l,M=A(m-i),N=A(m+a);O.push({x1:D,y1:N,x2:I,y2:N}),O.push({x1:T,y1:M,x2:T,y2:N}),O.push({x1:D,y1:M,x2:I,y2:M})}return n.createElement(o.m,u({className:"recharts-errorBar",key:"bar-".concat(O.map(function(t){return"".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)}))},b),O.map(function(t){return n.createElement("line",u({},t,{key:"line-".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)}))}))});return n.createElement(o.m,{className:"recharts-errorBars"},m)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,h(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.Component);d(v,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"}),d(v,"displayName","ErrorBar")},33618:function(t,e,r){r.d(e,{z:function(){return S}});var n=r(2784),i=r(61049),o=r.n(i),a=r(40489),c=r(84618),l=r(31542),u=r(69524),s=r(29816),f=r(15027),p=r(91745),y=r(43624),d=r(79376);function h(){return(h=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){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 b(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function m(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?b(Object(r),!0).forEach(function(e){w(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function g(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(g=function(){return!!t})()}function O(t){return(O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function x(t,e){return(x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function w(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"!=v(t)||!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:e+""}var P=function(t,e,r,n,i){var o=i.x1,a=i.x2,c=i.y1,l=i.y2,f=i.xAxis,p=i.yAxis;if(!f||!p)return null;var y=(0,u.Ky)({x:f.scale,y:p.scale}),d={x:t?y.x.apply(o,{position:"start"}):y.x.rangeMin,y:r?y.y.apply(c,{position:"start"}):y.y.rangeMin},h={x:e?y.x.apply(a,{position:"end"}):y.x.rangeMax,y:n?y.y.apply(l,{position:"end"}):y.y.rangeMax};return!(0,s.B)(i,"discard")||y.isInRange(d)&&y.isInRange(h)?(0,u.O1)(d,h):null},S=function(t){var e;function r(){var t,e;return!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r),t=r,e=arguments,t=O(t),function(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 function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,g()?Reflect.construct(t,e||[],O(this).constructor):t.apply(this,e))}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&&x(t,e)}(r,t),e=[{key:"render",value:function(){var t=this.props,e=t.x1,i=t.x2,o=t.y1,u=t.y2,y=t.className,h=t.alwaysShow,v=t.clipPathId;(0,p.Z)(void 0===h,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var b=(0,f.P2)(e),g=(0,f.P2)(i),O=(0,f.P2)(o),x=(0,f.P2)(u),w=this.props.shape;if(!b&&!g&&!O&&!x&&!w)return null;var j=P(b,g,O,x,this.props);if(!j&&!w)return null;var S=(0,s.B)(this.props,"hidden")?"url(#".concat(v,")"):void 0;return n.createElement(c.m,{className:(0,a.Z)("recharts-reference-area",y)},r.renderRect(w,m(m({clipPath:S},(0,d.L6)(this.props,!0)),j)),l._.renderCallByParent(this.props,j))}}],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,j(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.Component);
1w(S,"displayName","ReferenceArea"),w(S,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1}),w(S,"renderRect",function(t,e){return n.isValidElement(t)?n.cloneElement(t,e):o()(t)?t(e):n.createElement(y.A,h({},e,{className:"recharts-reference-area-rect"}))})},15045:function(t,e,r){r.d(e,{q:function(){return S}});var n=r(2784),i=r(61049),o=r.n(i),a=r(40489),c=r(84618),l=r(47055),u=r(31542),s=r(15027),f=r(29816),p=r(69524),y=r(91745),d=r(79376);function h(){return(h=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){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 b(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function m(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?b(Object(r),!0).forEach(function(e){w(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function g(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(g=function(){return!!t})()}function O(t){return(O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function x(t,e){return(x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function w(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"!=v(t)||!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:e+""}var P=function(t){var e=t.x,r=t.y,n=t.xAxis,i=t.yAxis,o=(0,p.Ky)({x:n.scale,y:i.scale}),a=o.apply({x:e,y:r},{bandAware:!0});return(0,f.B)(t,"discard")&&!o.isInRange(a)?null:a},S=function(t){var e;function r(){var t,e;return!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r),t=r,e=arguments,t=O(t),function(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 function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,g()?Reflect.construct(t,e||[],O(this).constructor):t.apply(this,e))}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&&x(t,e)}(r,t),e=[{key:"render",value:function(){var t=this.props,e=t.x,i=t.y,o=t.r,l=t.alwaysShow,p=t.clipPathId,h=(0,s.P2)(e),v=(0,s.P2)(i);if((0,y.Z)(void 0===l,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!h||!v)return null;var b=P(this.props);if(!b)return null;var g=b.x,O=b.y,x=this.props,w=x.shape,j=x.className,S=m(m({clipPath:(0,f.B)(this.props,"hidden")?"url(#".concat(p,")"):void 0},(0,d.L6)(this.props,!0)),{},{cx:g,cy:O});return n.createElement(c.m,{className:(0,a.Z)("recharts-reference-dot",j)},r.renderDot(w,S),u._.renderCallByParent(this.props,{x:g-o,y:O-o,width:2*o,height:2*o}))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,j(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.Component);
1w(S,"displayName","ReferenceDot"),w(S,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1}),w(S,"renderDot",function(t,e){return n.isValidElement(t)?n.cloneElement(t,e):o()(t)?t(e):n.createElement(l.o,h({},e,{cx:e.cx,cy:e.cy,className:"recharts-reference-dot-dot"}))})},30840:function(t,e,r){r.d(e,{d:function(){return T}});var n=r(2784),i=r(61049),o=r.n(i),a=r(51525),c=r.n(a),l=r(40489),u=r(84618),s=r(31542),f=r(29816),p=r(15027),y=r(69524),d=r(91745),h=r(79376),v=r(19164);function b(t){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function m(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(m=function(){return!!t})()}function g(t){return(g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function O(t,e){return(O=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}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 w(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){j(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 j(t,e,r){return(e=P(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function P(t){var e=function(t,e){if("object"!=b(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=b(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==b(e)?e: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}function k(){return(k=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var E=function(t,e,r,n,i,o,a,l,u){var s=i.x,p=i.y,y=i.width,d=i.height;if(r){var h=u.y,v=t.y.apply(h,{position:o});if((0,f.B)(u,"discard")&&!t.y.isInRange(v))return null;var b=[{x:s+y,y:v},{x:s,y:v}];return"left"===l?b.reverse():b}if(e){var m=u.x,g=t.x.apply(m,{position:o});if((0,f.B)(u,"discard")&&!t.x.isInRange(g))return null;var O=[{x:g,y:p+d},{x:g,y:p}];return"top"===a?O.reverse():O}if(n){var x=u.segment.map(function(e){return t.apply(e,{position:o})});return(0,f.B)(u,"discard")&&c()(x,function(e){return!t.isInRange(e)})?null:x}return null};function A(t){var e,r,i=t.x,a=t.y,c=t.segment,b=t.xAxisId,m=t.yAxisId,g=t.shape,O=t.className,x=t.alwaysShow,j=(0,v.sp)(),P=(0,v.bH)(b),A=(0,v.Ud)(m),T=(0,v.d2)();if(!j||!T)return null;(0,d.Z)(void 0===x,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var D=E((0,y.Ky)({x:P.scale,y:A.scale}),(0,p.P2)(i),(0,p.P2)(a),c&&2===c.length,T,t.position,P.orientation,A.orientation,t);if(!D)return null;var I=function(t){if(Array.isArray(t))return t}(D)||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=[],l=!0,u=!1;try{for(o=(r=r.call(t)).next;!(l=(n=o.call(r)).done)&&(c.push(n.value),2!==c.length);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(D,2)||function(t,e){if(t){if("string"==typeof t)return S(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 S(t,2)}}
1(D,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.")}(),M=I[0],N=M.x,_=M.y,C=I[1],L=C.x,B=C.y,R=w(w({clipPath:(0,f.B)(t,"hidden")?"url(#".concat(j,")"):void 0},(0,h.L6)(t,!0)),{},{x1:N,y1:_,x2:L,y2:B});return n.createElement(u.m,{className:(0,l.Z)("recharts-reference-line",O)},(e=g,r=R,n.isValidElement(e)?n.cloneElement(e,r):o()(e)?e(r):n.createElement("line",k({},r,{className:"recharts-reference-line-line"}))),s._.renderCallByParent(t,(0,y._b)({x1:N,y1:_,x2:L,y2:B})))}var T=function(t){var e;function r(){var t,e;return!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r),t=r,e=arguments,t=g(t),function(t,e){if(e&&("object"===b(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,m()?Reflect.construct(t,e||[],g(this).constructor):t.apply(this,e))}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&&O(t,e)}(r,t),e=[{key:"render",value:function(){return n.createElement(A,this.props)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,P(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.Component);j(T,"displayName","ReferenceLine"),j(T,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"})},25556:function(t,e,r){r.d(e,{K:function(){return v}});var n=r(2784),i=r(40489),o=r(19164),a=r(83365),c=r(47247);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 u(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(u=function(){return!!t})()}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function p(t,e,r){return(e=y(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function y(t){var e=function(t,e){if("object"!=l(t)||!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)}(t,"string");return"symbol"==l(e)?e:e+""}function d(){return(d=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function h(t){var e=t.xAxisId,r=(0,o.zn)(),l=(0,o.Mw)(),u=(0,o.bH)(e);return null==u?null:n.createElement(a.O,d({},u,{className:(0,i.Z)("recharts-".concat(u.axisType," ").concat(u.axisType),u.className),viewBox:{x:0,y:0,width:r,height:l},ticksGenerator:function(t){return(0,c.uY)(t,!0)}}))}var v=function(t){var e;function r(){var t,e;return!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r),t=r,e=arguments,t=s(t),function(t,e){if(e&&("object"===l(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,u()?Reflect.construct(t,e||[],s(this).constructor):t.apply(this,e))}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&&f(t,e)}(r,t),e=[{key:"render",value:function(){return n.createElement(h,this.props)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,y(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.Component);p(v,"displayName","XAxis"),p(v,"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})},3131:function(t,e,r){r.d(e,{B:function(){return v}});
1var n=r(2784),i=r(40489),o=r(19164),a=r(83365),c=r(47247);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 u(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(u=function(){return!!t})()}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function p(t,e,r){return(e=y(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function y(t){var e=function(t,e){if("object"!=l(t)||!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)}(t,"string");return"symbol"==l(e)?e:e+""}function d(){return(d=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var h=function(t){var e=t.yAxisId,r=(0,o.zn)(),l=(0,o.Mw)(),u=(0,o.Ud)(e);return null==u?null:n.createElement(a.O,d({},u,{className:(0,i.Z)("recharts-".concat(u.axisType," ").concat(u.axisType),u.className),viewBox:{x:0,y:0,width:r,height:l},ticksGenerator:function(t){return(0,c.uY)(t,!0)}}))},v=function(t){var e;function r(){var t,e;return!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r),t=r,e=arguments,t=s(t),function(t,e){if(e&&("object"===l(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,u()?Reflect.construct(t,e||[],s(this).constructor):t.apply(this,e))}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&&f(t,e)}(r,t),e=[{key:"render",value:function(){return n.createElement(h,this.props)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,y(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.Component);p(v,"displayName","YAxis"),p(v,"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})},4485:function(t,e,r){r.d(e,{f:function(){return y}});var n=r(61049),i=r.n(n),o=r(15027),a=r(88089),c=r(79499),l=r(32012),u=r(12835);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 f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function p(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach(function(e){var n,i;n=e,i=r[e],(n=function(t){var e=function(t,e){if("object"!=s(t)||!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: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)):f(Object(r)).forEac
1h(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function y(t,e,r){var n=t.tick,s=t.ticks,f=t.viewBox,y=t.minTickGap,d=t.orientation,h=t.interval,v=t.tickFormatter,b=t.unit,m=t.angle;if(!s||!s.length||!n)return[];if((0,o.hj)(h)||c.x.isSsr)return(0,l.tR)(s,"number"==typeof h&&(0,o.hj)(h)?h:0);var g="top"===d||"bottom"===d?"width":"height",O=b&&"width"===g?(0,a.xE)(b,{fontSize:e,letterSpacing:r}):{width:0,height:0},x=function(t,n){var o=i()(v)?v(t.value,n):t.value;return"width"===g?(0,l.t3)((0,a.xE)(o,{fontSize:e,letterSpacing:r}),O,m):(0,a.xE)(o,{fontSize:e,letterSpacing:r})[g]},w=s.length>=2?(0,o.uY)(s[1].coordinate-s[0].coordinate):1,j=(0,l.fW)(f,w,g);return"equidistantPreserveStart"===h?function(t,e,r,n,i){for(var o,a=(n||[]).slice(),c=e.start,s=e.end,f=0,p=1,y=c;p<=a.length;)if(o=function(){var e,o=null==n?void 0:n[f];if(void 0===o)return{v:(0,u.t)(n,p)};var a=f,d=function(){return void 0===e&&(e=r(o,a)),e},h=o.coordinate,v=0===f||(0,l.pn)(t,h,d,y,s);v||(f=0,y=c,p+=1),v&&(y=h+t*(d()/2+i),f+=p)}())return o.v;return[]}(w,j,x,s,y):("preserveStart"===h||"preserveStartEnd"===h?function(t,e,r,n,i,o){var a=(n||[]).slice(),c=a.length,u=e.start,s=e.end;if(o){var f=n[c-1],y=r(f,c-1),d=t*(f.coordinate+t*y/2-s);a[c-1]=f=p(p({},f),{},{tickCoord:d>0?f.coordinate-d*t:f.coordinate}),(0,l.pn)(t,f.tickCoord,function(){return y},u,s)&&(s=f.tickCoord-t*(y/2+i),a[c-1]=p(p({},f),{},{isShow:!0}))}for(var h=o?c-1:c,v=function(e){var n,o=a[e],c=function(){return void 0===n&&(n=r(o,e)),n};if(0===e){var f=t*(o.coordinate-t*c()/2-u);a[e]=o=p(p({},o),{},{tickCoord:f<0?o.coordinate-f*t:o.coordinate})}else a[e]=o=p(p({},o),{},{tickCoord:o.coordinate});(0,l.pn)(t,o.tickCoord,c,u,s)&&(u=o.tickCoord+t*(c()/2+i),a[e]=p(p({},o),{},{isShow:!0}))},b=0;b<h;b++)v(b);return a}(w,j,x,s,y,"preserveStartEnd"===h):function(t,e,r,n,i){for(var o=(n||[]).slice(),a=o.length,c=e.start,u=e.end,s=function(e){var n,s=o[e],f=function(){return void 0===n&&(n=r(s,e)),n};if(e===a-1){var y=t*(s.coordinate+t*f()/2-u);o[e]=s=p(p({},s),{},{tickCoord:y>0?s.coordinate-y*t:s.coordinate})}else o[e]=s=p(p({},s),{},{tickCoord:s.coordinate});(0,l.pn)(t,s.tickCoord,f,c,u)&&(u=s.tickCoord-t*(f()/2+i),o[e]=p(p({},s),{},{isShow:!0}))},f=a-1;f>=0;f--)s(f);return o}(w,j,x,s,y)).filter(function(t){return t.isShow})}},78254:function(t,e,r){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,r){return(e=o(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function o(t){var e=function(t,e){if("object"!=n(t)||!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:e+""}r.d(e,{L:function(){return l}});var a,c,l=(a=function t(){(function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")})(this,t),i(this,"activeIndex",0),i(this,"coordinateList",[]),i(this,"layout","horizontal")},c=[{key:"setDetails",value:function(t){var e,r=t.coordinateList,n=void 0===r?null:r,i=t.container,o=void 0===i?null:i,a=t.layout,c=void 0===a?null:a,l=t.offset,u=void 0===l?null:l,s=t.mouseHandlerCallback,f=void 0===s?null:s;this.coordinateList=null!==(e=null!=n?n:this.coordinateList)&&void 0!==e?e:[],this.container=null!=o?o:this.container,this.layout=null!=c?c:this.layout,this.offset=null!=u?u:this.offset,this.mouseHandlerCallback=null!=f?f:this.mouseHandlerCallback,this.activeIndex=Math.min(Math.max(this.activeIndex,0),this.coordinateList.length-1)}},{key:"focus",value:function(){this.spoofMouse()}},{key:"keyboardEvent",value:function(t){if(0!==this.coordinateList.length)switch(t.key){case"ArrowRight":if("horizontal"!==this.layout)return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break;case"ArrowLeft":if("horizontal"!==this.layout)return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse()}}},{key:"setIndex",value:function(t){this.activeIndex=t}},{key:"spoofMouse",value:function(){if("horizontal"===this.layout&&0!==this.coordinateList.length){var t,e,r=this.container.getBoundingClientRect(),n=r.x,i=r.y,o=r.height,a=this.coordinateList[this.activeIndex].coordinate,c=(null===(t=window)||void 0===t?void 0:t.scrollX)||0,l=(null===(e=window)||void 0===e?void 0:e.scrollY)||0,u=i+this.offset.top+o/2+l;this.mouseHandlerCallback({pageX:n+a+c,pageY:u})}}}],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,o(n.key),n)}}(a.prototype,c),Object.defineProperty(a,"prototype",{writable:!1}),a)},50603:function(t,e,r){r.d(e,{T:function(){return l}});var n=r(91251),i=r(81073),o=r(25556),a=r(3131),c=r(69524),l=(0,n.z)({chartName:"AreaChart",GraphicalChild:i.u,axisComponents:[{axisType:"xAxis",AxisComp:o.K},{axisType:"yAxis",AxisComp:a.B}],formatAxisMap:c.t9})}}]);

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.