1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[6108],{86108:function(e,t,n){n.d(t,{u:function(){return V}});var r=n(18446),a=n.n(r),i=n(7654),o=n.n(i),l=n(6162),c=n.n(l),s=n(23560),u=n.n(s),p=n(27361),f=n.n(p),y=n(14293),h=n.n(y),m=n(1469),d=n.n(m),v=n(67294),b=n(94184),g=n.n(b),x=n(33120),O=n(49413),A=n(93061),P=n(48710),j=n(2763),k=n(47523),w=n(69055),E=n(73634),S=n(52017),L=["layout","type","stroke","connectNulls","isRange","ref"];function M(e){return M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},M(e)}function D(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function N(){return N=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},N.apply(this,arguments)}function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function B(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?R(Object(n),!0).forEach((function(t){H(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function I(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,T(r.key),r)}}function C(e,t){return C=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},C(e,t)}function z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=F(e);if(t){var a=F(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===M(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _(e)}(this,n)}}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F(e){return F=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},F(e)}function H(e,t,n){return(t=T(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function T(e){var t=function(e,t){if("object"!==M(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==M(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===M(t)?t:String(t)}var V=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&C(e,t)}(l,e);var t,n,r,i=z(l);function l(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return H(_(e=i.call.apply(i,[this].concat(n))),"state",{isAnimationFinished:!0}),H(_(e),"id",(0,w.EL)("recharts-area-")),H(_(e),"handleAnimationEnd",(function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),u()(t)&&t()})),H(_(e),"handleAnimationStart",(function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),u()(t)&&t()})),e}return t=l,r=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,curBaseLine:e.baseLine,prevPoints:t.curPoints,prevBaseLine:t.curBaseLine}:e.points!==t.curPoints||e.baseLine!==t.curBaseLine?{curPoints:e.points,curBaseLine:e.baseLine}:null}}],(n=[{key:"renderDots",value:function(e,t){var n=this.props.isAnimationActive,r=this.state.isAnimationFinished;if(n&&!r)return null;var a=this.props,i=a.dot,o=a.points,c=a.dataKey,s=(0,S.L6)(this.props),u=(0,S.L6)(i,!0),p=o.map((function(e,t){var n=B(B(B({key:"dot-".concat(t),r:3},s),u),{},{dataKey:c,cx:e.x,cy:e.y,index:t,value:e.value,payload:e.payload});return l.renderDotItem(i,n)})),f={clipPath:e?"url(#clipPath-".concat(t,")"):null};return v.createElement(P.m,N({className:"recharts-area-dots"},f),p)}},{key:"renderHorizontalRect",value:function(e){var t=this.props,n=t.baseLine,r=t.points,a=t.strokeWidth,i=r[0].x,o=r[r.length-1].x,l=e*Math.abs(i-o),s=c()(r.map((function(e){return e.y||0})));return(0,w.hj)(n)&&"number"==typeof n?s=Math.max(n,s):n&&d()(n)&&n.length&&(s=Math.max(c()(n.map((function(e){return e.y||0}))),s)),(0,w.hj)(s)?v.createElement("rect",{x:i<o?i:i-l,y:0,width:l,height:Math.floor(s+(a?parseInt("".concat(a),10):1))}):null}},{key:"renderVerticalRect",value:function(e){var t=this.props,n=t.baseLine,r=t.points,a=t.strokeWidth,i=r[0].y,o=r[r.length-1].y,l=e*Math.abs(i-o),s=c()(r.map((function(e){return e.x||0})));return(0,w.hj)(n)&&"number"==typeof n?s=Math.max(n,s):n&&d()(n)&&n.length&&(s=Math.max(c()(n.map((function(e){return e.x||0}))),s)),(0,w.hj)(s)?v.createElement("rect",{x:0,y:i<o?i:i-l,width:s+(a?parseInt("".concat(a),10):1),height:Math.floor(l)}):null}},{key:"renderClipRect",value:function(e){return"vertical"===this.props.layout?this.renderVerticalRect(e):this.renderHorizontalRect(e)}},{key:"renderAreaStatically",value:function(e,t,n,r){var a=this.props,i=a.layout,o=a.type,l=a.stroke,c=a.connectNulls,s=a.isRange,u=(a.ref,D(a,L));return v.createElement(P.m,{clipPath:n?"url(#clipPath-".concat(r,")"):null},v.createElement(O.H,N({},(0,S.L6)(u,!0),{points:e,connectNulls:c,type:o,baseLine:t,layout:i,stroke:"none",className:"recharts-area-area"})),"none"!==l&&v.createElement(O.H,N({},(0,S.L6)(this.props),{className:"recharts-area-curve",layout:i,type:o,connectNulls:c,fill:"none",points:e})),"none"!==l&&s&&v.createElement(O.H,N({},(0,S.L6)(this.props),{className:"recharts-area-curve",layout:i,type:o,connectNulls:c,fill:"none",points:t})))}},{key:"renderAreaWithAnimation",value:function(e,t){var n=this,r=this.props,a=r.points,i=r.baseLine,l=r.isAnimationActive,c=r.animationBegin,s=r.animationDuration,u=r.animationEasing,p=r.animationId,f=this.state,y=f.prevPoints,m=f.prevBaseLine;return v.createElement(x.ZP,{begin:c,duration:s,isActive:l,easing:u,from:{t:0},to:{t:1},key:"area-".concat(p),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(r){var l=r.t;if(y){var c,s=y.length/a.length,u=a.map((function(e,t){var n=Math.floor(t*s);if(y[n]){var r=y[n],a=(0,w.k4)(r.x,e.x),i=(0,w.k4)(r.y,e.y);return B(B({},e),{},{x:a(l),y:i(l)})}return e}));return c=(0,w.hj)(i)&&"number"==typeof i?(0,w.k4)(m,i)(l):h()(i)||o()(i)?(0,w.k4)(m,0)(l):i.map((function(e,t){var n=Math.floor(t*s);if(m[n]){var r=m[n],a=(0,w.k4)(r.x,e.x),i=(0,w.k4)(r.y,e.y);return B(B({},e),{},{x:a(l),y:i(l)})}return e})),n.renderAreaStatically(u,c,e,t)}return v.createElement(P.m,null,v.createElement("defs",null,v.createElement("clipPath",{id:"animationClipPath-".concat(t)},n.renderClipRect(l))),v.createElement(P.m,{clipPath:"url(#animationClipPath-".concat(t,")")},n.renderAreaStatically(a,i,e,t)))}))}},{key:"renderArea",value:function(e,t){var n=this.props,r=n.points,i=n.baseLine,o=n.isAnimationActive,l=this.state,c=l.prevPoints,s=l.prevBaseLine,u=l.totalLength;return o&&r&&r.length&&(!c&&u>0||!a()(c,r)||!a()(s,i))?this.renderAreaWithAnimation(e,t):this.renderAreaStatically(r,i,e,t)}},{key:"render",value:function(){var e=this.props,t=e.hide,n=e.dot,r=e.points,a=e.className,i=e.top,o=e.left,l=e.xAxis,c=e.yAxis,s=e.width,u=e.height,p=e.isAnimationActive,f=e.id;if(t||!r||!r.length)return null;var y=this.state.isAnimationFinished,m=1===r.length,d=g()("recharts-area",a),b=l&&l.allowDataOverflow||c&&c.allowDataOverflow,x=h()(f)?this.id:f;return v.createElement(P.m,{className:d},b?v.createElement("defs",null,v.createElement("clipPath",{id:"clipPath-".concat(x)},v.createElement("rect",{x:o,y:i,width:s,height:Math.floor(u)}))):null,m?null:this.renderArea(b,x),(n||m)&&this.renderDots(b,x),(!p||y)&&j.e.renderCallByParent(this.props,r))}}])&&I(t.prototype,n),r&&I(t,r),Object.defineProperty(t,"prototype",{writable:!1}),l}(v.PureComponent);H(V,"displayName","Area"),H(V,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendT
1ype:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!k.x.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),H(V,"getBaseValue",(function(e,t,n,r){var a=e.layout,i=e.baseValue,o=t.props.baseValue,l=null!=o?o:i;if((0,w.hj)(l)&&"number"==typeof l)return l;var c="horizontal"===a?r:n,s=c.scale.domain();if("number"===c.type){var u=Math.max(s[0],s[1]),p=Math.min(s[0],s[1]);return"dataMin"===l?p:"dataMax"===l||u<0?u:Math.max(Math.min(s[0],s[1]),0)}return"dataMin"===l?s[0]:"dataMax"===l?s[1]:s[0]})),H(V,"getComposedData",(function(e){var t,n=e.props,r=e.item,a=e.xAxis,i=e.yAxis,o=e.xAxisTicks,l=e.yAxisTicks,c=e.bandSize,s=e.dataKey,u=e.stackedData,p=e.dataStartIndex,y=e.displayedData,m=e.offset,v=n.layout,b=u&&u.length,g=V.getBaseValue(n,r,a,i),x=!1,O=y.map((function(e,t){var n,r=(0,E.F$)(e,s);b?n=u[p+t]:(n=r,d()(n)?x=!0:n=[g,n]);var f=h()(n[1])||b&&h()(r);return"horizontal"===v?{x:(0,E.Hv)({axis:a,ticks:o,bandSize:c,entry:e,index:t}),y:f?null:i.scale(n[1]),value:n,payload:e}:{x:f?null:a.scale(n[1]),y:(0,E.Hv)({axis:i,ticks:l,bandSize:c,entry:e,index:t}),value:n,payload:e}}));return t=b||x?O.map((function(e){return"horizontal"===v?{x:e.x,y:h()(f()(e,"value[0]"))||h()(f()(e,"y"))?null:i.scale(f()(e,"value[0]"))}:{x:h()(f()(e,"value[0]"))?null:a.scale(f()(e,"value[0]")),y:e.y}})):"horizontal"===v?i.scale(g):a.scale(g),B({points:O,baseLine:t,layout:v,isRange:x},m)})),H(V,"renderDotItem",(function(e,t){return v.isValidElement(e)?v.cloneElement(e,t):u()(e)?e(t):v.createElement(A.o,N({},t,{className:"recharts-area-dot"}))}))}}]);
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.