PageSourceSearch

https://www.papercare.fr/_next/static/chunks/heavy-deps-66b14e9f-56388cda8916605d.js

js papercare.fr collected 2026-10-08 09:54:19 UTC 37,499 bytes, 1 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="641d08a9-ca28-461f-9dbc-463bbdd1a76c",e._sentryDebugIdIdentifier="sentry-dbid-641d08a9-ca28-461f-9dbc-463bbdd1a76c")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3083],{44779:(e,t,a)=>{a.d(t,{Q:()=>l});var r=a(67746),n=a(75415),i=a(94503),o=a(65236),s=a(48869),l=(0,r.gu)({chartName:"AreaChart",GraphicalChild:n.G,axisComponents:[{axisType:"xAxis",AxisComp:i.W},{axisType:"yAxis",AxisComp:o.h}],formatAxisMap:s.pr})},58782:(e,t,a)=>{a.d(t,{r:()=>l});var r=a(67746),n=a(32626),i=a(62279),o=a(91407),s=a(2994),l=(0,r.gu)({chartName:"PieChart",GraphicalChild:s.F,validateTooltipEventTypes:["item"],defaultTooltipEventType:"item",legendContent:"children",axisComponents:[{axisType:"angleAxis",AxisComp:n.r},{axisType:"radiusAxis",AxisComp:i.E}],formatAxisMap:o.pr,defaultProps:{layout:"centric",startAngle:0,endAngle:360,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"}})},65087:(e,t,a)=>{a.d(t,{E:()=>l});var r=a(67746),n=a(70363),i=a(94503),o=a(65236),s=a(48869),l=(0,r.gu)({chartName:"BarChart",GraphicalChild:n.y,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:i.W},{axisType:"yAxis",AxisComp:o.h}],formatAxisMap:s.pr})},67746:(e,t,a)=>{a.d(t,{gu:()=>eb});var r=a(7620),n=a(83484),i=a.n(n),o=a(49),s=a.n(o),l=a(90450),d=a.n(l),c=a(64843),u=a.n(c),p=a(79436),h=a.n(p),f=a(18861),v=a.n(f),y=a(72902),x=a(17313),m=a(41564),g=a(47102),I=a(7361),b=a(31233),A=a(32446),M=a(51560),E=a(94994),T=a(11466),k=a(89975),S=a(97963),P=a(25515),C=a(7815),w=a(7831),O=a(91407),D=a(26974),B=a(81591),j=a(70455);function L(e){return(L="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})(e)}function G(e,t,a){return(t=R(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function R(e){var t=function(e,t){if("object"!=L(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var r=a.call(e,t||"default");if("object"!=L(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==L(t)?t:t+""}var N=function(){var e,t;return e=function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");G(this,"activeIndex",0),G(this,"coordinateList",[]),G(this,"layout","horizontal")},t=[{key:"setDetails",value:function(e){var t,a=e.coordinateList,r=void 0===a?null:a,n=e.container,i=void 0===n?null:n,o=e.layout,s=void 0===o?null:o,l=e.offset,d=void 0===l?null:l,c=e.mouseHandlerCallback,u=void 0===c?null:c;this.coordinateList=null!=(t=null!=r?r:this.coordinateList)?t:[],this.container=null!=i?i:this.container,this.layout=null!=s?s:this.layout,this.offset=null!=d?d:this.offset,this.mouseHandlerCallback=null!=u?u: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(e){if(0!==this.coordinateList.length)switch(e.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(e){this.activeIndex=e}},{key:"spoofMouse",value:function(){if("horizontal"===this.layout&&0!==this.coordinateList.length){var e,t,a=this.container.getBoundingClientRect(),r=a.x,n=a.y,i=a.height,o=this.coordinateList[this.activeIndex].coordinate,s=(null==(e=window)?void 0:e.scrollX)||0,l=(null==(t=window)?void 0:t.scrollY)||0,d=n+this.offset.top+i/2+l;this.mouseHandlerCallback({pageX:r+o+s,pageY:d})}}}],function(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,R(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(),z=a(84414),X=a(44217),K=a(13119),U=a(10864),_=["item"],H=["children","className","width","height","style","compact","title","desc"];function Y(e){return(Y="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})(e)}function W(){return(W=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}function Q(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var r,n,i,o,s=[],l=!0,d=!1;try{if(i=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;l=!1}else for(;!(l=(r=i.call(a)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){d=!0,n=e}
1finally{try{if(!l&&null!=a.return&&(o=a.return(),Object(o)!==o))return}finally{if(d)throw n}}return s}}(e,t)||q(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function F(e,t){if(null==e)return{};var a,r,n=function(e,t){if(null==e)return{};var a={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;a[r]=e[r]}return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)a=i[r],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}function V(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(V=function(){return!!e})()}function J(e){return(J=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Z(e,t){return(Z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function $(e){return function(e){if(Array.isArray(e))return ee(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||q(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function q(e,t){if(e){if("string"==typeof e)return ee(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);if("Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a)return Array.from(e);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return ee(e,t)}}function ee(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,r=Array(t);a<t;a++)r[a]=e[a];return r}function et(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,r)}return a}function ea(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?et(Object(a),!0).forEach(function(t){er(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):et(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function er(e,t,a){return(t=en(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function en(e){var t=function(e,t){if("object"!=Y(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var r=a.call(e,t||"default");if("object"!=Y(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Y(t)?t:t+""}var ei={xAxis:["bottom","top"],yAxis:["left","right"]},eo={width:"100%",height:"100%"},es={x:0,y:0};function el(e){return e}var ed=function(e,t,a,r){var n=t.find(function(e){return e&&e.index===a});if(n){if("horizontal"===e)return{x:n.coordinate,y:r.y};if("vertical"===e)return{x:r.x,y:n.coordinate};if("centric"===e){var i=n.coordinate,o=r.radius;return ea(ea(ea({},r),(0,O.IZ)(r.cx,r.cy,o,i)),{},{angle:i,radius:o})}var s=n.coordinate,l=r.angle;return ea(ea(ea({},r),(0,O.IZ)(r.cx,r.cy,s,l)),{},{angle:l,radius:s})}return es},ec=function(e,t){var a=t.graphicalItems,r=t.dataStartIndex,n=t.dataEndIndex,i=(null!=a?a:[]).reduce(function(e,t){var a=t.props.data;return a&&a.length?[].concat($(e),$(a)):e},[]);return i.length>0?i:e&&e.length&&(0,S.Et)(r)&&(0,S.Et)(n)?e.slice(r,n+1):[]};function eu(e){return"number"===e?[0,"auto"]:void 0}var ep=function(e,t,a,r){var n=e.graphicalItems,i=e.tooltipAxis,o=ec(t,e);return a<0||!n||!n.length||a>=o.length?null:n.reduce(function(n,s){var l,d,c=null!=(l=s.props.data)?l:t;if(c&&e.dataStartIndex+e.dataEndIndex!==0&&e.dataEndIndex-e.dataStartIndex>=a&&(c=c.slice(e.dataStartIndex,e.dataEndIndex+1)),i.dataKey&&!i.allowDuplicatedCategory){var u=void 0===c?o:c;d=(0,S.eP)(u,i.dataKey,r)}else d=c&&c[a]||o[a];return d?[].concat($(n),[(0,P.zb)(s,d)]):n},[])},eh=function(e,t,a,r){var n=r||{x:e.chartX,y:e.chartY},i="horizontal"===a?n.x:"vertical"===a?n.y:"centric"===a?n.angle:n.radius,o=e.orderedTooltipTicks,s=e.tooltipAxis,l=e.tooltipTicks,d=(0,P.gH)(i,o,l,s);if(d>=0&&l){var c=l[d]&&l[d].value,u=ep(e,t,d,c),p=ed(a,o,d,n);return{activeTooltipIndex:d,activeLabel:c,activePayload:u,activeCoordinate:p}}return null},ef=function(e,t){var a=t.axes,r=t.graphicalItems,n=t.axisType,o=t.axisIdKey,s=t.stackGroups,l=t.dataStartIndex,c=t.dataEndIndex,u=e.layout,p=e.children,h=e.stackOffset,f=(0,P._L)(u,n);return a.reduce(function(t,a){var v=void 0!==a.type.defaultProps?ea(ea({},a.type.defaultProps),a.props):a.props,y=v.type,x=v.dataKey,m=v.allowDataOverflow,g=v.allowDuplicatedCategory,I=v.scale,b=v.ticks,A=v.includeHidden,M=v[o];if(t[M])return t;var E=ec(e.data,{graphicalItems:r.filter(function(e){var t;return(o in e.props?e.props[o]:null==(t=e.type.defaultProps)?void 0:t[o])===M}),dataStartIndex:l,dataEndIndex:c}),T=E.length;(0,z.B)(v.domain,m,y)&&(O=(0,P.AQ)(v.domain,null,m),f&&("number"===y||"auto"!==I)&&(B=(0,P.Ay)(E,x,"category")));var k=eu(y);if(!O||0===O.length){var C,O,D,B,j,L=null!=(j=v.domain)?j:k;if(x){if(O=(0,P.Ay)(E,x,y),"category"===y&&f){var G=(0,S.CG)(O);g&&G?(D=O,O=d()(0,T)):g||(O=(0,P.KC)(L,O,a).reduce(function(e,t){return e.indexOf(t)>=0?e:[].concat($(e),[t])},[]))}else if("category"===y)O=g?O.filter(function(e){return""!==e&&!i()(e)}):(0,P.KC)(L,O,a).reduce(function(e,t){return e.indexOf(t)>=0||""===t||i()(t)?e:[].concat($(e),[t])},[]);else if("number"===y){var R=(0,P.A1)(E,r.filter(function(e){var t,a,r=o in e.props?e.props[o]:null==(t=e.type.defaultProps)?void 0:t[o],n="hide"in e.props?e.props.hide:null==(a=e.type.defaultProps)?void 0:a.hide;return r===M&&(A||!n)}),x,n,u);R&&(O=R)}f&&("number"===y||"auto"!==I)&&(B=(0,P.Ay)(E,x,"category"))}else O=f?d()(0,T):s&&s[M]&&s[M].hasStack&&"number"===y?"expand"===h?[0,1]:(0,P.Mk)(s[M].stackGroups,l,c):(0,P.vf)(E,r.filter(function(e){var t=o in e.props?e.props[o]:e.type.defaultProps[o],a="hide"in e.props?e.props.hide:e.type.defaultProps.hide;return t===M&&(A||!a)}),y,u,!0);"number"===y?(O=(0,w.M)(p,O,M,n,b),L&&(O=(0,P.AQ)(L,O,m))):"category"===y&&L&&O.every(function(e){return L.indexOf(e)>=0})&&(O=L)}return ea(ea({},t),{},er({},M,ea(ea({},v),{},{axisType:n,domain:O,categoricalDomain:B,duplicateDomain:D,originalDomain:null!=(C=v.domain)?C:k,isCategorical:f,layout:u})))},{})},ev=function(e,t){var a=t.graphicalItems,r=t.Axis,n=t.axisType,i=t.axisIdKey,o=t.stackGroups,s=t.dataStartIndex,l=t.dataEndIndex,c=e.layout,p=e.children,h=ec(e.data,{graphicalItems:a,dataStartIndex:s,dataEndIndex:l}),f=h.length,v=(0,P._L)(c,n),y=-1;return a.reduce(function(e,t){var x,m=(void 0!==t.type.defaultProps?ea(ea({},t.type.defaultProps),t.props):t.props)[i],g=eu("number");return e[m]?e:(y++,v?x=d()(0,f):(x=o&&o[m]&&o[m].hasStack?(0,P.Mk)(o[m].stackGroups,s,l):(0,P.AQ)(g,(0,P.vf)(h,a.filter(function(e){var t,a,r=i in e.props?e.props[i]:null==(t=e.type.defaultProps)?void 0:t[i],n="hide"in e.props?e.props.hide:null==(a=e.type.defaultProps)?void 0:a.hide;return r===m&&!n}),"number",c),r.defaultProps.allowDataOverflow),x=(0,w.M)(p,x,m,n)),ea(ea({},e),{},er({},m,ea(ea({axisType:n},r.defaultProps),{},{hide:!0,orientation:u()(ei,"".concat(n,".").concat(y%2),null),domain:x,originalDomain:g,isCategorical:v,layout:c}))))},{})},ey=function(e,t){var a=t.axisType,r=void 0===a?"xAxis":a,n=t.AxisComp,i=t.graphicalItems,o=t.stackGroups,s=t.dataStartIndex,l=t.dataEndIndex,d=e.children,c="".concat(r,"Id"),u=(0,E.aS)(d,n),p={};return u&&u.length?p=ef(e,{axes:u,graphicalItems:i,axisType:r,axisIdKey:c,stackGroups:o,dataStartIndex:s,dataEndIndex:l}):i&&i.length&&(p=ev(e,{Axis:n,graphicalItems:i,axisType:r,axisIdKey:c,stackGroups:o,dataStartIndex:s,dataEndIndex:l})),p},ex=function(e){var t=(0,S.lX)(e),a=(0,P.Rh)(t,!1,!0);return{tooltipTicks:a,orderedTooltipTicks:h()(a,function(e){return e.coordinate}),tooltipAxis:t,tooltipAxisBandSize:(0,P.Hj)(t,a)}},em=function(e){var t=e.children,a=e.defaultShowTooltip,r=(0,E.BU)(t,T.v),n=0,i=0;return e.data&&0!==e.data.length&&(i=e.data.length-1),r&&r.props&&(r.props.startIndex>=0&&(n=r.props.startIndex),r.props.endIndex>=0&&(i=r.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:n,dataEndIndex:i,activeTooltipIndex:-1,isTooltipActive:!!a}},eg=function(e){return"horizontal"===e?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===e?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===e?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},eI=function(e,t){var a=e.props,r=e.graphicalItems,n=e.xAxisMap,i=void 0===n?{}:n,o=e.yAxisMap,s=void 0===o?{}:o,l=a.width,d=a.height,c=a.children,p=a.margin||{},h=(0,E.BU)(c,T.v),f=(0,E.BU)(c,b.s),v=Object.keys(s).reduce(function(e,t){var a=s[t],r=a.orientation;return a.mirror||a.hide?e:ea(ea({},e),{},er({},r,e[r]+a.width))},{left:p.left||0,right:p.right||0}),y=Object.keys(i).reduce(function(e,t){var a=i[t],r=a.orientation;return a.mirror||a.hide?e:ea(ea({},e),{},er({},r,u()(e,"".concat(r))+a.height))},{top:p.top||0,bottom:p.bottom||0}),x=ea(ea({},y),v),m=x.bottom;h&&(x.bottom+=h.props.height||T.v.defaultProps.height),f&&t&&(x=(0,P.s0)(x,r,a,t));var g=l-x.left-x.right,I=d-x.top-x.bottom;return ea(ea({brushBottom:m},x),{},{width:Math.max(g,0),height:Math.max(I,0)})},eb=function(e){var t=e.chartName,a=e.GraphicalChild,n=e.defaultTooltipEventType,o=void 0===n?"axis":n,l=e.validateTooltipEventTypes,d=void 0===l?["axis"]:l,c=e.axisComponents,p=e.legendContent,h=e.formatAxisMap,f=e.defaultProps,b=function(e,t){var a=t.graphicalItems,r=t.stackGroups,n=t.offset,o=t.updateId,s=t.dataStartIndex,l=t.dataEndIndex,d=e.barSize,u=e.layout,p=e.barGap,h=e.barCategoryGap,f=e.maxBarSize,v=eg(u),y=v.numericAxisName,m=v.cateAxisName,g=!!a&&!!a.length&&a.some(function(e){var t=(0,E.Mn)(e&&e.type);return t&&t.indexOf("Bar")>=0}),I=[];return a.forEach(function(a,v){var b=ec(e.data,{graphicalItems:[a],dataStartIndex:s,dataEndIndex:l}),A=void 0!==a.type.defaultProps?ea(ea({},a.type.defaultProps),a.props):a.props,M=A.dataKey,T=A.maxBarSize,k=A["".concat(y,"Id")],S=A["".concat(m,"Id")],C=c.reduce(function(e,a){var r=t["".concat(a.axisType,"Map")],n=A["".concat(a.axisType,"Id")];r&&r[n]||"zAxis"===a.axisType||(0,x.A)(!1);var i=r[n];return ea(ea({},e),{},er(er({},a.axisType,i),"".concat(a.axisType,"Ticks"),(0,P.Rh)(i)))},{}),w=C[m],O=C["".concat(m,"Ticks")],D=r&&r[k]&&r[k].hasStack&&(0,P.kA)(a,r[k].stackGroups),B=(0,E.Mn)(a.type).indexOf("Bar")>=0,j=(0,P.Hj)(w,O),L=[],G=g&&(0,P.tA)({barSize:d,stackGroups:r,totalSize:"xAxis"===m?C[m].width:"yAxis"===m?C[m].height:void 0});if(B){var R,N,z=i()(T)?f:T,X=null!=(R=null!=(N=(0,P.Hj)(w,O,!0))?
1N:z)?R:0;L=(0,P.BX)({barGap:p,barCategoryGap:h,bandSize:X!==j?X:j,sizeList:G[S],maxBarSize:z}),X!==j&&(L=L.map(function(e){return ea(ea({},e),{},{position:ea(ea({},e.position),{},{offset:e.position.offset-X/2})})}))}var K=a&&a.type&&a.type.getComposedData;K&&I.push({props:ea(ea({},K(ea(ea({},C),{},{displayedData:b,props:e,dataKey:M,item:a,bandSize:j,barPosition:L,offset:n,stackedData:D,layout:u,dataStartIndex:s,dataEndIndex:l}))),{},er(er(er({key:a.key||"item-".concat(v)},y,C[y]),m,C[m]),"animationId",o)),childIndex:(0,E.AW)(a,e.children),item:a})}),I},w=function(e,r){var n=e.props,i=e.dataStartIndex,o=e.dataEndIndex,s=e.updateId;if(!(0,E.Me)({props:n}))return null;var l=n.children,d=n.layout,u=n.stackOffset,p=n.data,f=n.reverseStackOrder,v=eg(d),y=v.numericAxisName,x=v.cateAxisName,m=(0,E.aS)(l,a),g=(0,P.Mn)(p,m,"".concat(y,"Id"),"".concat(x,"Id"),u,f),I=c.reduce(function(e,t){var a="".concat(t.axisType,"Map");return ea(ea({},e),{},er({},a,ey(n,ea(ea({},t),{},{graphicalItems:m,stackGroups:t.axisType===y&&g,dataStartIndex:i,dataEndIndex:o}))))},{}),A=eI(ea(ea({},I),{},{props:n,graphicalItems:m}),null==r?void 0:r.legendBBox);Object.keys(I).forEach(function(e){I[e]=h(n,I[e],A,e.replace("Map",""),t)});var M=ex(I["".concat(x,"Map")]),T=b(n,ea(ea({},I),{},{dataStartIndex:i,dataEndIndex:o,updateId:s,graphicalItems:m,stackGroups:g,offset:A}));return ea(ea({formattedGraphicalItems:T,graphicalItems:m,offset:A,stackGroups:g},M),I)},L=function(e){var a;function n(e){var a,o,l,d,c;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return d=n,c=[e],d=J(d),er(l=function(e,t){if(t&&("object"===Y(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var a=e;if(void 0===a)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return a}(this,V()?Reflect.construct(d,c||[],J(this).constructor):d.apply(this,c)),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),er(l,"accessibilityManager",new N),er(l,"handleLegendBBoxUpdate",function(e){if(e){var t=l.state,a=t.dataStartIndex,r=t.dataEndIndex,n=t.updateId;l.setState(ea({legendBBox:e},w({props:l.props,dataStartIndex:a,dataEndIndex:r,updateId:n},ea(ea({},l.state),{},{legendBBox:e}))))}}),er(l,"handleReceiveSyncEvent",function(e,t,a){l.props.syncId===e&&(a!==l.eventEmitterSymbol||"function"==typeof l.props.syncMethod)&&l.applySyncEvent(t)}),er(l,"handleBrushChange",function(e){var t=e.startIndex,a=e.endIndex;if(t!==l.state.dataStartIndex||a!==l.state.dataEndIndex){var r=l.state.updateId;l.setState(function(){return ea({dataStartIndex:t,dataEndIndex:a},w({props:l.props,dataStartIndex:t,dataEndIndex:a,updateId:r},l.state))}),l.triggerSyncEvent({dataStartIndex:t,dataEndIndex:a})}}),er(l,"handleMouseEnter",function(e){var t=l.getMouseInfo(e);if(t){var a=ea(ea({},t),{},{isTooltipActive:!0});l.setState(a),l.triggerSyncEvent(a);var r=l.props.onMouseEnter;s()(r)&&r(a,e)}}),er(l,"triggeredAfterMouseMove",function(e){var t=l.getMouseInfo(e),a=t?ea(ea({},t),{},{isTooltipActive:!0}):{isTooltipActive:!1};l.setState(a),l.triggerSyncEvent(a);var r=l.props.onMouseMove;s()(r)&&r(a,e)}),er(l,"handleItemMouseEnter",function(e){l.setState(function(){return{isTooltipActive:!0,activeItem:e,activePayload:e.tooltipPayload,activeCoordinate:e.tooltipPosition||{x:e.cx,y:e.cy}}})}),er(l,"handleItemMouseLeave",function(){l.setState(function(){return{isTooltipActive:!1}})}),er(l,"handleMouseMove",function(e){e.persist(),l.throttleTriggeredAfterMouseMove(e)}),er(l,"handleMouseLeave",function(e){l.throttleTriggeredAfterMouseMove.cancel();var t={isTooltipActive:!1};l.setState(t),l.triggerSyncEvent(t);var a=l.props.onMouseLeave;s()(a)&&a(t,e)}),er(l,"handleOuterEvent",function(e){var t,a=(0,E.X_)(e),r=u()(l.props,"".concat(a));a&&s()(r)&&r(null!=(t=/.*touch.*/i.test(a)?l.getMouseInfo(e.changedTouches[0]):l.getMouseInfo(e))?t:{},e)}),er(l,"handleClick",function(e){var t=l.getMouseInfo(e);if(t){var a=ea(ea({},t),{},{isTooltipActive:!0});l.setState(a),l.triggerSyncEvent(a);var r=l.props.onClick;s()(r)&&r(a,e)}}),er(l,"handleMouseDown",function(e){var t=l.props.onMouseDown;s()(t)&&t(l.getMouseInfo(e),e)}),er(l,"handleMouseUp",function(e){var t=l.props.onMouseUp;s()(t)&&t(l.getMouseInfo(e),e)}),er(l,"handleTouchMove",function(e){null!=e.changedTouches&&e.changedTouches.length>0&&l.throttleTriggeredAfterMouseMove(e.changedTouches[0])}),er(l,"handleTouchStart",function(e){null!=e.changedTouches&&e.changedTouches.length>0&&l.handleMouseDown(e.changedTouches[0])}),er(l,"handleTouchEnd",function(e){null!=e.changedTouches&&e.changedTouches.length>0&&l.handleMouseUp(e.changedTouches[0])}),er(l,"handleDoubleClick",function(e){var t=l.props.onDoubleClick;s()(t)&&t(l.getMouseInfo(e),e)}),er(l,"handleContextMenu",function(e){var t=l.props.onContextMenu;s()(t)&&t(l.getMouseInfo(e),e)}),er(l,"triggerSyncEvent",function(e){void 0!==l.props.syncId&&B.k.emit(B.D,l.props.syncId,e,l.eventEmitterSymbol)}),er(l,"applySyncEvent",function(e){var t=l.props,a=t.layout,r=t.syncMethod,n=l.state.updateId,i=e.dataStartIndex,o=e.dataEndIndex;if(void 0!==e.dataStartIndex||void 0!==e.dataEndIndex)l.setState(ea({dataStartIndex:i,dataEndIndex:o},w({props:l.props,dataStartIndex:i,dataEndIndex:o,updateId:n},l.state)));else if(void 0!==e.activeTooltipIndex){var s=e.chartX,d=e.chartY,c=e.activeTooltipIndex,u=l.state,p=u.offset,h=u.tooltipTicks;if(!p)return;if("function"==typeof r)c=r(h,e);else if("value"===r){c=-1;for(var f=0;f<h.length;f++)if(h[f].value===e.activeLabel){c=f;break}}var v=ea(ea({},p),{},{x:p.left,y:p.top}),y=Math.min(s,v.x+v.width),x=Math.min(d,v.y+v.height),m=h[c]&&h[c].value,g=ep(l.state,l.props.data,c),I=h[c]?{x:"horizontal"===a?h[c].coordinate:y,y:"horizontal"===a?x:h[c].c
1oordinate}:es;l.setState(ea(ea({},e),{},{activeLabel:m,activeCoordinate:I,activePayload:g,activeTooltipIndex:c}))}else l.setState(e)}),er(l,"renderCursor",function(e){var a,n=l.state,i=n.isTooltipActive,o=n.activeCoordinate,s=n.activePayload,d=n.offset,c=n.activeTooltipIndex,u=n.tooltipAxisBandSize,p=l.getTooltipEventType(),h=null!=(a=e.props.active)?a:i,f=l.props.layout,v=e.key||"_recharts-cursor";return r.createElement(K.b,{key:v,activeCoordinate:o,activePayload:s,activeTooltipIndex:c,chartName:t,element:e,isActive:h,layout:f,offset:d,tooltipAxisBandSize:u,tooltipEventType:p})}),er(l,"renderPolarAxis",function(e,t,a){var n=u()(e,"type.axisType"),i=u()(l.state,"".concat(n,"Map")),o=e.type.defaultProps,s=void 0!==o?ea(ea({},o),e.props):e.props,d=i&&i[s["".concat(n,"Id")]];return(0,r.cloneElement)(e,ea(ea({},d),{},{className:(0,y.A)(n,d.className),key:e.key||"".concat(t,"-").concat(a),ticks:(0,P.Rh)(d,!0)}))}),er(l,"renderPolarGrid",function(e){var t=e.props,a=t.radialLines,n=t.polarAngles,i=t.polarRadius,o=l.state,s=o.radiusAxisMap,d=o.angleAxisMap,c=(0,S.lX)(s),u=(0,S.lX)(d),p=u.cx,h=u.cy,f=u.innerRadius,v=u.outerRadius;return(0,r.cloneElement)(e,{polarAngles:Array.isArray(n)?n:(0,P.Rh)(u,!0).map(function(e){return e.coordinate}),polarRadius:Array.isArray(i)?i:(0,P.Rh)(c,!0).map(function(e){return e.coordinate}),cx:p,cy:h,innerRadius:f,outerRadius:v,key:e.key||"polar-grid",radialLines:a})}),er(l,"renderLegend",function(){var e=l.state.formattedGraphicalItems,t=l.props,a=t.children,n=t.width,i=t.height,o=l.props.margin||{},s=n-(o.left||0)-(o.right||0),d=(0,C.g)({children:a,formattedGraphicalItems:e,legendWidth:s,legendContent:p});if(!d)return null;var c=d.item,u=F(d,_);return(0,r.cloneElement)(c,ea(ea({},u),{},{chartWidth:n,chartHeight:i,margin:o,onBBoxUpdate:l.handleLegendBBoxUpdate}))}),er(l,"renderTooltip",function(){var e,t=l.props,a=t.children,n=t.accessibilityLayer,i=(0,E.BU)(a,I.m);if(!i)return null;var o=l.state,s=o.isTooltipActive,d=o.activeCoordinate,c=o.activePayload,u=o.activeLabel,p=o.offset,h=null!=(e=i.props.active)?e:s;return(0,r.cloneElement)(i,{viewBox:ea(ea({},p),{},{x:p.left,y:p.top}),active:h,label:u,payload:h?c:[],coordinate:d,accessibilityLayer:n})}),er(l,"renderBrush",function(e){var t=l.props,a=t.margin,n=t.data,i=l.state,o=i.offset,s=i.dataStartIndex,d=i.dataEndIndex,c=i.updateId;return(0,r.cloneElement)(e,{key:e.key||"_recharts-brush",onChange:(0,P.HQ)(l.handleBrushChange,e.props.onChange),data:n,x:(0,S.Et)(e.props.x)?e.props.x:o.left,y:(0,S.Et)(e.props.y)?e.props.y:o.top+o.height+o.brushBottom-(a.bottom||0),width:(0,S.Et)(e.props.width)?e.props.width:o.width,startIndex:s,endIndex:d,updateId:"brush-".concat(c)})}),er(l,"renderReferenceElement",function(e,t,a){if(!e)return null;var n=l.clipPathId,i=l.state,o=i.xAxisMap,s=i.yAxisMap,d=i.offset,c=e.type.defaultProps||{},u=e.props,p=u.xAxisId,h=void 0===p?c.xAxisId:p,f=u.yAxisId,v=void 0===f?c.yAxisId:f;return(0,r.cloneElement)(e,{key:e.key||"".concat(t,"-").concat(a),xAxis:o[h],yAxis:s[v],viewBox:{x:d.left,y:d.top,width:d.width,height:d.height},clipPathId:n})}),er(l,"renderActivePoints",function(e){var t=e.item,a=e.activePoint,r=e.basePoint,i=e.childIndex,o=e.isRange,s=[],l=t.props.key,d=void 0!==t.item.type.defaultProps?ea(ea({},t.item.type.defaultProps),t.item.props):t.item.props,c=d.activeDot,u=ea(ea({index:i,dataKey:d.dataKey,cx:a.x,cy:a.y,r:4,fill:(0,P.Ps)(t.item),strokeWidth:2,stroke:"#fff",payload:a.payload,value:a.value},(0,E.J9)(c,!1)),(0,j._U)(c));return s.push(n.renderActiveDot(c,u,"".concat(l,"-activePoint-").concat(i))),r?s.push(n.renderActiveDot(c,ea(ea({},u),{},{cx:r.x,cy:r.y}),"".concat(l,"-basePoint-").concat(i))):o&&s.push(null),s}),er(l,"renderGraphicChild",function(e,t,a){var n=l.filterFormatItem(e,t,a);if(!n)return null;var o=l.getTooltipEventType(),s=l.state,d=s.isTooltipActive,c=s.tooltipAxis,u=s.activeTooltipIndex,p=s.activeLabel,h=l.props.children,f=(0,E.BU)(h,I.m),v=n.props,y=v.points,x=v.isRange,m=v.baseLine,g=void 0!==n.item.type.defaultProps?ea(ea({},n.item.type.defaultProps),n.item.props):n.item.props,b=g.activeDot,A=g.hide,M=g.activeBar,T=g.activeShape,k=!!(!A&&d&&f&&(b||M||T)),C={};"axis"!==o&&f&&"click"===f.props.trigger?C={onClick:(0,P.HQ)(l.handleItemMouseEnter,e.props.onClick)}:"axis"!==o&&(C={onMouseLeave:(0,P.HQ)(l.handleItemMouseLeave,e.props.onMouseLeave),onMouseEnter:(0,P.HQ)(l.handleItemMouseEnter,e.props.onMouseEnter)});var w=(0,r.cloneElement)(e,ea(ea({},n.props),C));if(k)if(u>=0){if(c.dataKey&&!c.allowDuplicatedCategory){var O="function"==typeof c.dataKey?function(e){return"function"==typeof c.dataKey?c.dataKey(e.payload):null}:"payload.".concat(c.dataKey.toString());B=(0,S.eP)(y,O,p),j=x&&m&&(0,S.eP)(m,O,p)}else B=null==y?void 0:y[u],j=x&&m&&m[u];
1if(T||M){var D=void 0!==e.props.activeIndex?e.props.activeIndex:u;return[(0,r.cloneElement)(e,ea(ea(ea({},n.props),C),{},{activeIndex:D})),null,null]}if(!i()(B))return[w].concat($(l.renderActivePoints({item:n,activePoint:B,basePoint:j,childIndex:u,isRange:x})))}else{var B,j,L,G=(null!=(L=l.getItemByXY(l.state.activeCoordinate))?L:{graphicalItem:w}).graphicalItem,R=G.item,N=void 0===R?e:R,z=G.childIndex,X=ea(ea(ea({},n.props),C),{},{activeIndex:z});return[(0,r.cloneElement)(N,X),null,null]}return x?[w,null,null]:[w,null]}),er(l,"renderCustomized",function(e,t,a){return(0,r.cloneElement)(e,ea(ea({key:"recharts-customized-".concat(a)},l.props),l.state))}),er(l,"renderMap",{CartesianGrid:{handler:el,once:!0},ReferenceArea:{handler:l.renderReferenceElement},ReferenceLine:{handler:el},ReferenceDot:{handler:l.renderReferenceElement},XAxis:{handler:el},YAxis:{handler:el},Brush:{handler:l.renderBrush,once:!0},Bar:{handler:l.renderGraphicChild},Line:{handler:l.renderGraphicChild},Area:{handler:l.renderGraphicChild},Radar:{handler:l.renderGraphicChild},RadialBar:{handler:l.renderGraphicChild},Scatter:{handler:l.renderGraphicChild},Pie:{handler:l.renderGraphicChild},Funnel:{handler:l.renderGraphicChild},Tooltip:{handler:l.renderCursor,once:!0},PolarGrid:{handler:l.renderPolarGrid,once:!0},PolarAngleAxis:{handler:l.renderPolarAxis},PolarRadiusAxis:{handler:l.renderPolarAxis},Customized:{handler:l.renderCustomized}}),l.clipPathId="".concat(null!=(a=e.id)?a:(0,S.NF)("recharts"),"-clip"),l.throttleTriggeredAfterMouseMove=v()(l.triggeredAfterMouseMove,null!=(o=e.throttleDelay)?o:1e3/60),l.state={},l}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&Z(n,e),a=[{key:"componentDidMount",value:function(){var e,t;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:null!=(e=this.props.margin.left)?e:0,top:null!=(t=this.props.margin.top)?t:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var e=this.props,t=e.children,a=e.data,r=e.height,n=e.layout,i=(0,E.BU)(t,I.m);if(i){var o=i.props.defaultIndex;if("number"==typeof o&&!(o<0)&&!(o>this.state.tooltipTicks.length-1)){var s=this.state.tooltipTicks[o]&&this.state.tooltipTicks[o].value,l=ep(this.state,a,o,s),d=this.state.tooltipTicks[o].coordinate,c=(this.state.offset.top+r)/2,u="horizontal"===n?{x:d,y:c}:{y:d,x:c},p=this.state.formattedGraphicalItems.find(function(e){return"Scatter"===e.item.type.name});p&&(u=ea(ea({},u),p.props.points[o].tooltipPosition),l=p.props.points[o].tooltipPayload);var h={activeTooltipIndex:o,isTooltipActive:!0,activeLabel:s,activePayload:l,activeCoordinate:u};this.setState(h),this.renderCursor(i),this.accessibilityManager.setIndex(o)}}}},{key:"getSnapshotBeforeUpdate",value:function(e,t){if(!this.props.accessibilityLayer)return null;if(this.state.tooltipTicks!==t.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==e.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==e.margin){var a,r;this.accessibilityManager.setDetails({offset:{left:null!=(a=this.props.margin.left)?a:0,top:null!=(r=this.props.margin.top)?r:0}})}return null}},{key:"componentDidUpdate",value:function(e){(0,E.OV)([(0,E.BU)(e.children,I.m)],[(0,E.BU)(this.props.children,I.m)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var e=(0,E.BU)(this.props.children,I.m);if(e&&"boolean"==typeof e.props.shared){var t=e.props.shared?"axis":"item";return d.indexOf(t)>=0?t:o}return o}},{key:"getMouseInfo",value:function(e){if(!this.container)return null;var t=this.container,a=t.getBoundingClientRect(),r=(0,k.A3)(a),n={chartX:Math.round(e.pageX-r.left),chartY:Math.round(e.pageY-r.top)},i=a.width/t.offsetWidth||1,o=this.inRange(n.chartX,n.chartY,i);if(!o)return null;var s=this.state,l=s.xAxisMap,d=s.yAxisMap;if("axis"!==this.getTooltipEventType()&&l&&d){var c=(0,S.lX)(l).scale,u=(0,S.lX)(d).scale,p=c&&c.invert?c.invert(n.chartX):null,h=u&&u.invert?u.
1invert(n.chartY):null;return ea(ea({},n),{},{xValue:p,yValue:h})}var f=eh(this.state,this.props.data,this.props.layout,o);return f?ea(ea({},n),f):null}},{key:"inRange",value:function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=this.props.layout,n=e/a,i=t/a;if("horizontal"===r||"vertical"===r){var o=this.state.offset;return n>=o.left&&n<=o.left+o.width&&i>=o.top&&i<=o.top+o.height?{x:n,y:i}:null}var s=this.state,l=s.angleAxisMap,d=s.radiusAxisMap;if(l&&d){var c=(0,S.lX)(l);return(0,O.yy)({x:n,y:i},c)}return null}},{key:"parseEventsOfWrapper",value:function(){var e=this.props.children,t=this.getTooltipEventType(),a=(0,E.BU)(e,I.m),r={};return a&&"axis"===t&&(r="click"===a.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onDoubleClick:this.handleDoubleClick,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,onContextMenu:this.handleContextMenu}),ea(ea({},(0,j._U)(this.props,this.handleOuterEvent)),r)}},{key:"addListener",value:function(){B.k.on(B.D,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){B.k.removeListener(B.D,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(e,t,a){for(var r=this.state.formattedGraphicalItems,n=0,i=r.length;n<i;n++){var o=r[n];if(o.item===e||o.props.key===e.key||t===(0,E.Mn)(o.item.type)&&a===o.childIndex)return o}return null}},{key:"renderClipPath",value:function(){var e=this.clipPathId,t=this.state.offset,a=t.left,n=t.top,i=t.height,o=t.width;return r.createElement("defs",null,r.createElement("clipPath",{id:e},r.createElement("rect",{x:a,y:n,height:i,width:o})))}},{key:"getXScales",value:function(){var e=this.state.xAxisMap;return e?Object.entries(e).reduce(function(e,t){var a=Q(t,2),r=a[0],n=a[1];return ea(ea({},e),{},er({},r,n.scale))},{}):null}},{key:"getYScales",value:function(){var e=this.state.yAxisMap;return e?Object.entries(e).reduce(function(e,t){var a=Q(t,2),r=a[0],n=a[1];return ea(ea({},e),{},er({},r,n.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(e){var t;return null==(t=this.state.xAxisMap)||null==(t=t[e])?void 0:t.scale}},{key:"getYScaleByAxisId",value:function(e){var t;return null==(t=this.state.yAxisMap)||null==(t=t[e])?void 0:t.scale}},{key:"getItemByXY",value:function(e){var t=this.state,a=t.formattedGraphicalItems,r=t.activeItem;if(a&&a.length)for(var n=0,i=a.length;n<i;n++){var o=a[n],s=o.props,l=o.item,d=void 0!==l.type.defaultProps?ea(ea({},l.type.defaultProps),l.props):l.props,c=(0,E.Mn)(l.type);if("Bar"===c){var u=(s.data||[]).find(function(t){return(0,M.J)(e,t)});if(u)return{graphicalItem:o,payload:u}}else if("RadialBar"===c){var p=(s.data||[]).find(function(t){return(0,O.yy)(e,t)});if(p)return{graphicalItem:o,payload:p}}else if((0,X.NE)(o,r)||(0,X.nZ)(o,r)||(0,X.xQ)(o,r)){var h=(0,X.GG)({graphicalItem:o,activeTooltipItem:r,itemData:d.data}),f=void 0===d.activeIndex?h:d.activeIndex;return{graphicalItem:ea(ea({},o),{},{childIndex:f}),payload:(0,X.xQ)(o,r)?d.data[h]:o.props.data[h]}}}return null}},{key:"render",value:function(){var e,t,a=this;if(!(0,E.Me)(this))return null;var n=this.props,i=n.children,o=n.className,s=n.width,l=n.height,d=n.style,c=n.compact,u=n.title,p=n.desc,h=F(n,H),f=(0,E.J9)(h,!1);if(c)return r.createElement(U.DR,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},r.createElement(m.u,W({},f,{width:s,height:l,title:u,desc:p}),this.renderClipPath(),(0,E.ee)(i,this.renderMap)));this.props.accessibilityLayer&&(f.tabIndex=null!=(e=this.props.tabIndex)?e:0,f.role=null!=(t=this.props.role)?t:"application",f.onKeyDown=function(e){a.accessibilityManager.keyboardEvent(e)},f.onFocus=function(){a.accessibilityManager.focus()});var v=this.parseEventsOfWrapper();return r.createElement(U.DR,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},r.createElement("div",W({className:(0,y.A)("recharts-wrapper",o),style:ea({position:"relative",cursor:"default",width:s,height:l},d)},v,{ref:function(e){a.container=e}}),r.createElement(m.u,W({},f,{width:s,height:l,title:u,desc:p,style:eo}),this.renderClipPath(),(0,E.ee)(i,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}],function(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,en(r.key),r)}}(n.prototype,a),Object.defineProperty(n,"prototype",{writable:!1}),n}(r.Component);er(L,"displayName",t),er(L,"defaultProps",ea({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},f)),er(L,"getDerivedStateFromProps",function(e,t){var a=e.dataKey,r=e.data,n=e.children,o=e.width,s=e.he
1ight,l=e.layout,d=e.stackOffset,c=e.margin,u=t.dataStartIndex,p=t.dataEndIndex;if(void 0===t.updateId){var h=em(e);return ea(ea(ea({},h),{},{updateId:0},w(ea(ea({props:e},h),{},{updateId:0}),t)),{},{prevDataKey:a,prevData:r,prevWidth:o,prevHeight:s,prevLayout:l,prevStackOffset:d,prevMargin:c,prevChildren:n})}if(a!==t.prevDataKey||r!==t.prevData||o!==t.prevWidth||s!==t.prevHeight||l!==t.prevLayout||d!==t.prevStackOffset||!(0,D.b)(c,t.prevMargin)){var f=em(e),v={chartX:t.chartX,chartY:t.chartY,isTooltipActive:t.isTooltipActive},y=ea(ea({},eh(t,r,l)),{},{updateId:t.updateId+1}),x=ea(ea(ea({},f),v),y);return ea(ea(ea({},x),w(ea({props:e},x),t)),{},{prevDataKey:a,prevData:r,prevWidth:o,prevHeight:s,prevLayout:l,prevStackOffset:d,prevMargin:c,prevChildren:n})}if(!(0,E.OV)(n,t.prevChildren)){var m,g,I,b,A=(0,E.BU)(n,T.v),M=A&&null!=(m=null==(g=A.props)?void 0:g.startIndex)?m:u,k=A&&null!=(I=null==(b=A.props)?void 0:b.endIndex)?I:p,S=i()(r)||M!==u||k!==p?t.updateId+1:t.updateId;return ea(ea({updateId:S},w(ea(ea({props:e},t),{},{updateId:S,dataStartIndex:M,dataEndIndex:k}),t)),{},{prevChildren:n,dataStartIndex:M,dataEndIndex:k})}return null}),er(L,"renderActiveDot",function(e,t,a){var n;return n=(0,r.isValidElement)(e)?(0,r.cloneElement)(e,t):s()(e)?e(t):r.createElement(A.c,t),r.createElement(g.W,{className:"recharts-active-dot",key:a},n)});var G=(0,r.forwardRef)(function(e,t){return r.createElement(L,W({},e,{ref:t}))});return G.displayName=L.displayName,G}}}]);

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.