vendor: 4,257 bytes, line 1
1import{ba as hi,bb as ue,r as R,bc as Q,d as S,h as eO,bd as tO,o as rO,j as H,L as Wh}from"./index-BQCKPO3K.js";var ho,Hh;function Le(){if(Hh)return ho;Hh=1;var e=Array.isArray;return ho=e,ho}var po,Gh;function Db(){if(Gh)return po;Gh=1;var e=typeof hi=="object"&&hi&&hi.Object===Object&&hi;return po=e,po}var vo,Kh;function st(){if(Kh)return vo;Kh=1;var e=Db(),t=typeof self=="object"&&self&&self.Object===Object&&self,r=e||t||Function("return this")();return vo=r,vo}var yo,Vh;function ni(){if(Vh)return yo;Vh=1;var e=st(),t=e.Symbol;return yo=t,yo}var mo,Xh;function nO(){if(Xh)return mo;Xh=1;var e=ni(),t=Object.prototype,r=t.hasOwnProperty,n=t.toString,i=e?e.toStringTag:void 0;function a(o){var u=r.call(o,i),c=o[i];try{o[i]=void 0;var s=!0}catch{}var f=n.call(o);return s&&(u?o[i]=c:delete o[i]),f}return mo=a,mo}var go,Yh;function iO(){if(Yh)return go;Yh=1;var e=Object.prototype,t=e.toString;function r(n){return t.call(n)}return go=r,go}var bo,Zh;function _t(){if(Zh)return bo;Zh=1;var e=ni(),t=nO(),r=iO(),n="[object Null]",i="[object Undefined]",a=e?e.toStringTag:void 0;function o(u){return u==null?u===void 0?i:n:a&&a in Object(u)?t(u):r(u)}return bo=o,bo}var xo,Jh;function At(){if(Jh)return xo;Jh=1;function e(t){return t!=null&&typeof t=="object"}return xo=e,xo}var wo,Qh;function Xr(){if(Qh)return wo;Qh=1;var e=_t(),t=At(),r="[object Symbol]";function n(i){return typeof i=="symbol"||t(i)&&e(i)==r}return wo=n,wo}var Oo,ed;function qf(){if(ed)return Oo;ed=1;var e=Le(),t=Xr(),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function i(a,o){if(e(a))return!1;var u=typeof a;return u=="number"||u=="symbol"||u=="boolean"||a==null||t(a)?!0:n.test(a)||!r.test(a)||o!=null&&a in Object(o)}return Oo=i,Oo}var _o,td;function Rt(){if(td)return _o;td=1;function e(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}return _o=e,_o}var Ao,rd;function Lf(){if(rd)return Ao;rd=1;var e=_t(),t=Rt(),r="[object AsyncFunction]",n="[object Function]",i="[object GeneratorFunction]",a="[object Proxy]";function o(u){if(!t(u))return!1;var c=e(u);return c==n||c==i||c==r||c==a}return Ao=o,Ao}var So,nd;function aO(){if(nd)return So;nd=1;var e=st(),t=e["__core-js_shared__"];return So=t,So}var Po,id;function oO(){if(id)return Po;id=1;var e=aO(),t=(function(){var n=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""})();function r(n){return!!t&&t in n}return Po=r,Po}var To,ad;function qb(){if(ad)return To;ad=1;var e=Function.prototype,t=e.toString;function r(n){if(n!=null){try{return t.call(n)}catch{}try{return n+""}catch{}}return""}return To=r,To}var Eo,od;function uO(){if(od)return Eo;od=1;var e=Lf(),t=oO(),r=Rt(),n=qb(),i=/[\\^$.*+?()[\]{}|]/g,a=/^\[object .+?Constructor\]$/,o=Function.prototype,u=Object.prototype,c=o.toString,s=u.hasOwnProperty,f=RegExp("^"+c.call(s).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function l(h){if(!r(h)||t(h))return!1;var p=e(h)?f:a;return p.test(n(h))}return Eo=l,Eo}var jo,ud;function cO(){if(ud)return jo;ud=1;function e(t,r){return t?.[r]}return jo=e,jo}var Mo,cd;function or(){if(cd)return Mo;cd=1;var e=uO(),t=cO();function r(n,i){var a=t(n,i);return e(a)?a:void 0}return Mo=r,Mo}var $o,sd;function Ta(){if(sd)return $o;sd=1;var e=or(),t=e(Object,"create");return $o=t,$o}var Co,ld;function sO(){if(ld)return Co;ld=1;var e=Ta();function t(){this.__data__=e?e(null):{},this.size=0}return Co=t,Co}var Io,fd;function lO(){if(fd)return Io;fd=1;function e(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}return Io=e,Io}var ko,hd;function fO(){if(hd)return ko;hd=1;var e=Ta(),t="__lodash_hash_undefined__",r=Object.prototype,n=r.hasOwnProperty;function i(a){var o=this.__data__;if(e){var u=o[a];return u===t?void 0:u}return n.call(o,a)?o[a]:void 0}return ko=i,ko}var Ro,dd;function hO(){if(dd)return Ro;dd=1;var e=Ta(),t=Object.prototype,r=t.hasOwnProperty;function n(i){var a=this.__data__;return e?a[i]!==void 0:r.call(a,i)}return Ro=n,Ro}var No,pd;function dO(){if(pd)return No;pd=1;var e=Ta(),t="__lodash_hash_undefined__";function r(n,i){var a=this.__data__;return this.size+=this.has(n)?0:1,a[n]=e&&i===void 0?t:i,this}return No=r,No}var Do,vd;function pO(){if(vd)return Do;vd=1;
vendor: 2,952 bytes, line 1
1var e=sO(),t=lO(),r=fO(),n=hO(),i=dO();function a(o){var u=-1,c=o==null?0:o.length;for(this.clear();++u<c;){var s=o[u];this.set(s[0],s[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,Do=a,Do}var qo,yd;function vO(){if(yd)return qo;yd=1;function e(){this.__data__=[],this.size=0}return qo=e,qo}var Lo,md;function Bf(){if(md)return Lo;md=1;function e(t,r){return t===r||t!==t&&r!==r}return Lo=e,Lo}var Bo,gd;function Ea(){if(gd)return Bo;gd=1;var e=Bf();function t(r,n){for(var i=r.length;i--;)if(e(r[i][0],n))return i;return-1}return Bo=t,Bo}var Fo,bd;function yO(){if(bd)return Fo;bd=1;var e=Ea(),t=Array.prototype,r=t.splice;function n(i){var a=this.__data__,o=e(a,i);if(o<0)return!1;var u=a.length-1;return o==u?a.pop():r.call(a,o,1),--this.size,!0}return Fo=n,Fo}var zo,xd;function mO(){if(xd)return zo;xd=1;var e=Ea();function t(r){var n=this.__data__,i=e(n,r);return i<0?void 0:n[i][1]}return zo=t,zo}var Uo,wd;function gO(){if(wd)return Uo;wd=1;var e=Ea();function t(r){return e(this.__data__,r)>-1}return Uo=t,Uo}var Wo,Od;function bO(){if(Od)return Wo;Od=1;var e=Ea();function t(r,n){var i=this.__data__,a=e(i,r);return a<0?(++this.size,i.push([r,n])):i[a][1]=n,this}return Wo=t,Wo}var Ho,_d;function ja(){if(_d)return Ho;_d=1;var e=vO(),t=yO(),r=mO(),n=gO(),i=bO();function a(o){var u=-1,c=o==null?0:o.length;for(this.clear();++u<c;){var s=o[u];this.set(s[0],s[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,Ho=a,Ho}var Go,Ad;function Ff(){if(Ad)return Go;Ad=1;var e=or(),t=st(),r=e(t,"Map");return Go=r,Go}var Ko,Sd;function xO(){if(Sd)return Ko;Sd=1;var e=pO(),t=ja(),r=Ff();function n(){this.size=0,this.__data__={hash:new e,map:new(r||t),string:new e}}return Ko=n,Ko}var Vo,Pd;function wO(){if(Pd)return Vo;Pd=1;function e(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}return Vo=e,Vo}var Xo,Td;function Ma(){if(Td)return Xo;Td=1;var e=wO();function t(r,n){var i=r.__data__;return e(n)?i[typeof n=="string"?"string":"hash"]:i.map}return Xo=t,Xo}var Yo,Ed;function OO(){if(Ed)return Yo;Ed=1;var e=Ma();function t(r){var n=e(this,r).delete(r);return this.size-=n?1:0,n}return Yo=t,Yo}var Zo,jd;function _O(){if(jd)return Zo;jd=1;var e=Ma();function t(r){return e(this,r).get(r)}return Zo=t,Zo}var Jo,Md;function AO(){if(Md)return Jo;Md=1;var e=Ma();function t(r){return e(this,r).has(r)}return Jo=t,Jo}var Qo,$d;function SO(){if($d)return Qo;$d=1;var e=Ma();function t(r,n){var i=e(this,r),a=i.size;return i.set(r,n),this.size+=i.size==a?0:1,this}return Qo=t,Qo}var eu,Cd;function zf(){if(Cd)return eu;Cd=1;var e=xO(),t=OO(),r=_O(),n=AO(),i=SO();function a(o){var u=-1,c=o==null?0:o.length;for(this.clear();++u<c;){var s=o[u];this.set(s[0],s[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,eu=a,eu}var tu,Id;
vendor: 10,538 bytes, line 1
1function Lb(){if(Id)return tu;Id=1;var e=zf(),t="Expected a function";function r(n,i){if(typeof n!="function"||i!=null&&typeof i!="function")throw new TypeError(t);var a=function(){var o=arguments,u=i?i.apply(this,o):o[0],c=a.cache;if(c.has(u))return c.get(u);var s=n.apply(this,o);return a.cache=c.set(u,s)||c,s};return a.cache=new(r.Cache||e),a}return r.Cache=e,tu=r,tu}var ru,kd;function PO(){if(kd)return ru;kd=1;var e=Lb(),t=500;function r(n){var i=e(n,function(o){return a.size===t&&a.clear(),o}),a=i.cache;return i}return ru=r,ru}var nu,Rd;function TO(){if(Rd)return nu;Rd=1;var e=PO(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,n=e(function(i){var a=[];return i.charCodeAt(0)===46&&a.push(""),i.replace(t,function(o,u,c,s){a.push(c?s.replace(r,"$1"):u||o)}),a});return nu=n,nu}var iu,Nd;function Uf(){if(Nd)return iu;Nd=1;function e(t,r){for(var n=-1,i=t==null?0:t.length,a=Array(i);++n<i;)a[n]=r(t[n],n,t);return a}return iu=e,iu}var au,Dd;function EO(){if(Dd)return au;Dd=1;var e=ni(),t=Uf(),r=Le(),n=Xr(),i=e?e.prototype:void 0,a=i?i.toString:void 0;function o(u){if(typeof u=="string")return u;if(r(u))return t(u,o)+"";if(n(u))return a?a.call(u):"";var c=u+"";return c=="0"&&1/u==-1/0?"-0":c}return au=o,au}var ou,qd;function Bb(){if(qd)return ou;qd=1;var e=EO();function t(r){return r==null?"":e(r)}return ou=t,ou}var uu,Ld;function Fb(){if(Ld)return uu;Ld=1;var e=Le(),t=qf(),r=TO(),n=Bb();function i(a,o){return e(a)?a:t(a,o)?[a]:r(n(a))}return uu=i,uu}var cu,Bd;function $a(){if(Bd)return cu;Bd=1;var e=Xr();function t(r){if(typeof r=="string"||e(r))return r;var n=r+"";return n=="0"&&1/r==-1/0?"-0":n}return cu=t,cu}var su,Fd;function Wf(){if(Fd)return su;Fd=1;var e=Fb(),t=$a();function r(n,i){i=e(i,n);for(var a=0,o=i.length;n!=null&&a<o;)n=n[t(i[a++])];return a&&a==o?n:void 0}return su=r,su}var lu,zd;function zb(){if(zd)return lu;zd=1;var e=Wf();function t(r,n,i){var a=r==null?void 0:e(r,n);return a===void 0?i:a}return lu=t,lu}var jO=zb();const He=ue(jO);var fu,Ud;function MO(){if(Ud)return fu;Ud=1;function e(t){return t==null}return fu=e,fu}var $O=MO();const ee=ue($O);var hu,Wd;function CO(){if(Wd)return hu;Wd=1;var e=_t(),t=Le(),r=At(),n="[object String]";function i(a){return typeof a=="string"||!t(a)&&r(a)&&e(a)==n}return hu=i,hu}var IO=CO();const er=ue(IO);var kO=Lf();const Y=ue(kO);var RO=Rt();const Yr=ue(RO);var du={exports:{}},ne={};var Hd;function NO(){if(Hd)return ne;Hd=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),o=Symbol.for("react.context"),u=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),l=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),y;y=Symbol.for("react.module.reference");function v(d){if(typeof d=="object"&&d!==null){var g=d.$$typeof;switch(g){case e:switch(d=d.type,d){case r:case i:case n:case s:case f:return d;default:switch(d=d&&d.$$typeof,d){case u:case o:case c:case h:case l:case a:return d;default:return g}}case t:return g}}}return ne.ContextConsumer=o,ne.ContextProvider=a,ne.Element=e,ne.ForwardRef=c,ne.Fragment=r,ne.Lazy=h,ne.Memo=l,ne.Portal=t,ne.Profiler=i,ne.StrictMode=n,ne.Suspense=s,ne.SuspenseList=f,ne.isAsyncMode=function(){return!1},ne.isConcurrentMode=function(){return!1},ne.isContextConsumer=function(d){return v(d)===o},ne.isContextProvider=function(d){return v(d)===a},ne.isElement=function(d){return typeof d=="object"&&d!==null&&d.$$typeof===e},ne.isForwardRef=function(d){return v(d)===c},ne.isFragment=function(d){return v(d)===r},ne.isLazy=function(d){return v(d)===h},ne.isMemo=function(d){return v(d)===l},ne.isPortal=function(d){return v(d)===t},ne.isProfiler=function(d){return v(d)===i},ne.isStrictMode=function(d){return v(d)===n},ne.isSuspense=function(d){return v(d)===s},ne.isSuspenseList=function(d){return v(d)===f},ne.isValidElementType=function(d){return typeof d=="string"||typeof d=="function"||d===r||d===i||d===n||d===s||d===f||d===p||typeof d=="object"&&d!==null&&(d.$$typeof===h||d.$$typeof===l||d.$$typeof===a||d.$$typeof===o||d.$$typeof===c||d.$$typeof===y||d.getModuleId!==void 0)},ne.typeOf=v,ne}var Gd;function DO(){return Gd||(Gd=1,du.exports=NO()),du.exports}var qO=DO(),pu,Kd;function Ub(){if(Kd)return pu;Kd=1;var e=_t(),t=At(),r="[object Number]";function n(i){return typeof i=="number"||t(i)&&e(i)==r}return pu=n,pu}var vu,Vd;function LO(){if(Vd)return vu;Vd=1;var e=Ub();function t(r){return e(r)&&r!=+r}return vu=t,vu}var BO=LO();const ii=ue(BO);var FO=Ub();const zO=ue(FO);var Ie=function(t){return t===0?0:t>0?1:-1},Vt=function(t){return er(t)&&t.indexOf("%")===t.length-1},q=function(t){return zO(t)&&!ii(t)},UO=function(t){return ee(t)},Ae=function(t){return q(t)||er(t)},WO=0,ai=function(t){var r=++WO;return"".concat(t||"").concat(r)},ke=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!q(t)&&!er(t))return n;var a;if(Vt(t)){var o=t.indexOf("%");a=r*parseFloat(t.slice(0,o))/100}else a=+t;return ii(a)&&(a=n),i&&a>r&&(a=r),a},$t=function(t){if(!t)return null;var r=Object.keys(t);return r&&r.length?t[r[0]]:null},HO=function(t){if(!Array.isArray(t))return!1;for(var r=t.length,n={},i=0;i<r;i++)if(!n[t[i]])n[t[i]]=!0;else return!0;return!1},jt=function(t,r){return q(t)&&q(r)?function(n){return t+n*(r-t)}:function(){return r}};function ml(e,t,r){return!e||!e.length?null:e.find(function(n){return n&&(typeof t=="function"?t(n):He(n,t))===r})}var GO=function(t,r){return q(t)&&q(r)?t-r:er(t)&&er(r)?t.localeCompare(r):t instanceof Date&&r instanceof Date?t.getTime()-r.getTime():String(t).localeCompare(String(r))};function br(e,t){for(var r in e)if({}.hasOwnProperty.call(e,r)&&(!{}.hasOwnProperty.call(t,r)||e[r]!==t[r]))return!1;for(var n in t)if({}.hasOwnProperty.call(t,n)&&!{}.hasOwnProperty.call(e,n))return!1;return!0}function gl(e){"@babel/helpers - typeof";return gl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gl(e)}var KO=["viewBox","children"],VO=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],Xd=["points","pathLength"],yu={svg:KO,polygon:Xd,polyline:Xd},Hf=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onF
1ocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],Mi=function(t,r){if(!t||typeof t=="function"||typeof t=="boolean")return null;var n=t;if(R.isValidElement(t)&&(n=t.props),!Yr(n))return null;var i={};return Object.keys(n).forEach(function(a){Hf.includes(a)&&(i[a]=r||function(o){return n[a](n,o)})}),i},XO=function(t,r,n){return function(i){return t(r,n,i),null}},tr=function(t,r,n){if(!Yr(t)||gl(t)!=="object")return null;var i=null;return Object.keys(t).forEach(function(a){var o=t[a];Hf.includes(a)&&typeof o=="function"&&(i||(i={}),i[a]=XO(o,r,n))}),i},YO=["children"],ZO=["children"];function Yd(e,t){if(e==null)return{};var r=JO(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function JO(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var Zd={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart",contextmenu:"onContextMenu",dblclick:"onDoubleClick"},yt=function(t){return typeof t=="string"?t:t?t.displayName||t.name||"Component":""},Jd=null,mu=null,Gf=function e(t){if(t===Jd&&Array.isArray(mu))return mu;var r=[];return R.Children.forEach(t,function(n){ee(n)||(qO.isFragment(n)?r=r.concat(e(n.props.children)):r.push(n))}),mu=r,Jd=t,r};function Ze(e,t){var r=[],n=[];return Array.isArray(t)?n=t.map(function(i){return yt(i)}):n=[yt(t)],Gf(e).forEach(function(i){var a=He(i,"type.displayName")||He(i,"type.n
1ame");n.indexOf(a)!==-1&&r.push(i)}),r}function ze(e,t){var r=Ze(e,t);return r&&r[0]}var Qd=function(t){if(!t||!t.props)return!1;var r=t.props,n=r.width,i=r.height;return!(!q(n)||n<=0||!q(i)||i<=0)},QO=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],e_=function(t){return t&&t.type&&er(t.type)&&QO.indexOf(t.type)>=0},t_=function(t,r,n,i){var a,o=(a=yu?.[i])!==null&&a!==void 0?a:[];return r.startsWith("data-")||!Y(t)&&(i&&o.includes(r)||VO.includes(r))||n&&Hf.includes(r)},X=function(t,r,n){if(!t||typeof t=="function"||typeof t=="boolean")return null;var i=t;if(R.isValidElement(t)&&(i=t.props),!Yr(i))return null;var a={};
1return Object.keys(i).forEach(function(o){var u;t_((u=i)===null||u===void 0?void 0:u[o],o,r,n)&&(a[o]=i[o])}),a},bl=function e(t,r){if(t===r)return!0;var n=R.Children.count(t);if(n!==R.Children.count(r))return!1;if(n===0)return!0;if(n===1)return ep(Array.isArray(t)?t[0]:t,Array.isArray(r)?r[0]:r);for(var i=0;i<n;i++){var a=t[i],o=r[i];if(Array.isArray(a)||Array.isArray(o)){if(!e(a,o))return!1}else if(!ep(a,o))return!1}return!0},ep=function(t,r){if(ee(t)&&ee(r))return!0;if(!ee(t)&&!ee(r)){var n=t.props||{},i=n.children,a=Yd(n,YO),o=r.props||{},u=o.children,c=Yd(o,ZO);return i&&u?br(a,c)&&bl(i,u):!i&&!u?br(a,c):!1}return!1},tp=function(t,r){var n=[],i={};return Gf(t).forEach(function(a,o){if(e_(a))n.push(a);else if(a){var u=yt(a.type),c=r[u]||{},s=c.handler,f=c.once;if(s&&(!f||!i[u])){var l=s(a,u,o);n.push(l),i[u]=!0}}}),n},r_=function(t){var r=t&&t.type;return r&&Zd[r]?Zd[r]:null},n_=function(t,r){return Gf(r).indexOf(t)},i_=["children","width","height","viewBox","className","style","title","desc"];function xl(){return xl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},xl.apply(this,arguments)}function a_(e,t){if(e==null)return{};var r=o_(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function o_(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function wl(e){var t=e.children,r=e.width,n=e.height,i=e.viewBox,a=e.className,o=e.style,u=e.title,c=e.desc,s=a_(e,i_),f=i||{width:r,height:n,x:0,y:0},l=Q("recharts-surface",a);return S.createElement("svg",xl({},X(s,!0,"svg"),{className:l,width:r,height:n,style:o,viewBox:"".concat(f.x," ").concat(f.y," ").concat(f.width," ").concat(f.height)}),S.createElement("title",null,u),S.createElement("desc",null,c),t)}var u_=["children","className"];function Ol(){return Ol=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ol.apply(this,arguments)}function c_(e,t){if(e==null)return{};var r=s_(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function s_(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var ae=S.forwardRef(function(e,t){var r=e.children,n=e.className,i=c_(e,u_),a=Q("recharts-layer",n);return S.createElement("g",Ol({className:a},X(i,!0),{ref:t}),r)}),nt=function(t,r){for(var n=arguments.length,i=new Array(n>2?n-2:0),a=2;a<n;a++)i[a-2]=arguments[a]},gu,rp;function l_(){if(rp)return gu;rp=1;function e(t,r,n){var i=-1,a=t.length;r<0&&(r=-r>a?0:a+r),n=n>a?a:n,n<0&&(n+=a),a=r>n?0:n-r>>>0,r>>>=0;for(var o=Array(a);++i<a;)o[i]=t[i+r];return o}return gu=e,gu}var bu,np;function f_(){if(np)return bu;np=1;var e=l_();function t(r,n,i){var a=r.length;return i=i===void 0?a:i,!n&&i>=a?r:e(r,n,i)}return bu=t,bu}var xu,ip;function Wb(){if(ip)return xu;ip=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",i=t+r+n,a="\\ufe0e\\ufe0f",o="\\u200d",u=RegExp("["+o+e+i+a+"]");function c(s){return u.test(s)}return xu=c,xu}var wu,ap;function h_(){if(ap)return wu;ap=1;function e(t){return t.split("")}return wu=e,wu}var Ou,op;function d_(){if(op)return Ou;op=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",i=t+r+n,a="\\ufe0e\\ufe0f",o="["+e+"]",u="["+i+"]",c="\\ud83c[\\udffb-\\udfff]",s="(?:"+u+"|"+c+")",f="[^"+e+"]",l="(?:\\ud83c[\\udde6-\\uddff]){2}",h="[\\ud800-\\udbff][\\udc00-\\udfff]",p="\\u200d",y=s+"?",v="["+a+"]?",d="(?:"+p+"(?:"+[f,l,h].join("|")+")"+v+y+")*",g=v+y+d,x="(?:"+[f+u+"?",u,l,h,o].join("|")+")",w=RegExp(c+"(?="+c+")|"+x+g,"g");function O(m){return m.match(w)||[]}return Ou=O,Ou}var _u,up;function p_(){if(up)return _u;up=1;var e=h_(),t=Wb(),r=d_();function n(i){return t(i)?r(i):e(i)}return _u=n,_u}var Au,cp;function v_(){if(cp)return Au;cp=1;var e=f_(),t=Wb(),r=p_(),n=Bb();function i(a){return function(o){o=n(o);var u=t(o)?r(o):void 0,c=u?u[0]:o.charAt(0),s=u?e(u,1).join(""):o.slice(1);return c[a]()+s}}return Au=i,Au}var Su,sp;function y_(){if(sp)return Su;sp=1;var e=v_(),t=e("toUpperCase");return Su=t,Su}var m_=y_();const Ca=ue(m_);function le(e){return function(){return e}}const Hb=Math.cos,$i=Math.sin,it=Math.sqrt,Ci=Math.PI,Ia=2*Ci,_l=Math.PI,Al=2*_l,Ht=1e-6,g_=Al-Ht;function Gb(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=arguments[t]+e[t]}function b_(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return Gb;const r=10**t;return function(n){this._+=n[0];for(let i=1,a=n.length;i<a;++i)this._+=Math.round(arguments[i]*r)/r+n[i]}}class x_{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?Gb:b_(t)}moveTo(t,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,r){this._append`L${this._x1=+t},${this._y1=+r}`}quadraticCurveTo(t,r,n,i){this._append`Q${+t},${+r},${this._x1=+n},${this._y1=+i}`}bezierCurveTo(t,r,n,i,a,o){this._append`C${+t},${+r},${+n}
1,${+i},${this._x1=+a},${this._y1=+o}`}arcTo(t,r,n,i,a){if(t=+t,r=+r,n=+n,i=+i,a=+a,a<0)throw new Error(`negative radius: ${a}`);let o=this._x1,u=this._y1,c=n-t,s=i-r,f=o-t,l=u-r,h=f*f+l*l;if(this._x1===null)this._append`M${this._x1=t},${this._y1=r}`;else if(h>Ht)if(!(Math.abs(l*c-s*f)>Ht)||!a)this._append`L${this._x1=t},${this._y1=r}`;else{let p=n-o,y=i-u,v=c*c+s*s,d=p*p+y*y,g=Math.sqrt(v),x=Math.sqrt(h),w=a*Math.tan((_l-Math.acos((v+h-d)/(2*g*x)))/2),O=w/x,m=w/g;Math.abs(O-1)>Ht&&this._append`L${t+O*f},${r+O*l}`,this._append`A${a},${a},0,0,${+(l*p>f*y)},${this._x1=t+m*c},${this._y1=r+m*s}`}}arc(t,r,n,i,a,o){if(t=+t,r=+r,n=+n,o=!!o,n<0)throw new Error(`negative radius: ${n}`);let u=n*Math.cos(i),c=n*Math.sin(i),s=t+u,f=r+c,l=1^o,h=o?i-a:a-i;this._x1===null?this._append`M${s},${f}`:(Math.abs(this._x1-s)>Ht||Math.abs(this._y1-f)>Ht)&&this._append`L${s},${f}`,n&&(h<0&&(h=h%Al+Al),h>g_?this._append`A${n},${n},0,1,${l},${t-u},${r-c}A${n},${n},0,1,${l},${this._x1=s},${this._y1=f}`:h>Ht&&this._append`A${n},${n},0,${+(h>=_l)},${l},${this._x1=t+n*Math.cos(a)},${this._y1=r+n*Math.sin(a)}`)}rect(t,r,n,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}h${n=+n}v${+i}h${-n}Z`}toString(){return this._}}function Kf(e){let t=3;return e.digits=function(r){if(!arguments.length)return t;if(r==null)t=null;else{const n=Math.floor(r);if(!(n>=0))throw new RangeError(`invalid digits: ${r}`);t=n}return e},()=>new x_(t)}function Vf(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function Kb(e){this._context=e}Kb.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function ka(e){return new Kb(e)}function Vb(e){return e[0]}function Xb(e){return e[1]}function Yb(e,t){var r=le(!0),n=null,i=ka,a=null,o=Kf(u);e=typeof e=="function"?e:e===void 0?Vb:le(e),t=typeof t=="function"?t:t===void 0?Xb:le(t);function u(c){var s,f=(c=Vf(c)).length,l,h=!1,p;for(n==null&&(a=i(p=o())),s=0;s<=f;++s)!(s<f&&r(l=c[s],s,c))===h&&((h=!h)?a.lineStart():a.lineEnd()),h&&a.point(+e(l,s,c),+t(l,s,c));if(p)return a=null,p+""||null}return u.x=function(c){return arguments.length?(e=typeof c=="function"?c:le(+c),u):e},u.y=function(c){return arguments.length?(t=typeof c=="function"?c:le(+c),u):t},u.defined=function(c){return arguments.length?(r=typeof c=="function"?c:le(!!c),u):r},u.curve=function(c){return arguments.length?(i=c,n!=null&&(a=i(n)),u):i},u.context=function(c){return arguments.length?(c==null?n=a=null:a=i(n=c),u):n},u}function di(e,t,r){var n=null,i=le(!0),a=null,o=ka,u=null,c=Kf(s);e=typeof e=="function"?e:e===void 0?Vb:le(+e),t=typeof t=="function"?t:le(t===void 0?0:+t),r=typeof r=="function"?r:r===void 0?Xb:le(+r);function s(l){var h,p,y,v=(l=Vf(l)).length,d,g=!1,x,w=new Array(v),O=new Array(v);for(a==null&&(u=o(x=c())),h=0;h<=v;++h){if(!(h<v&&i(d=l[h],h,l))===g)if(g=!g)p=h,u.areaStart(),u.lineStart();else{for(u.lineEnd(),u.lineStart(),y=h-1;y>=p;--y)u.point(w[y],O[y]);u.lineEnd(),u.areaEnd()}g&&(w[h]=+e(d,h,l),O[h]=+t(d,h,l),u.point(n?+n(d,h,l):w[h],r?+r(d,h,l):O[h]))}if(x)return u=null,x+""||null}function f(){return Yb().defined(i).curve(o).context(a)}return s.x=function(l){return arguments.length?(e=typeof l=="function"?l:le(+l),n=null,s):e},s.x0=function(l){return arguments.length?(e=typeof l=="function"?l:le(+l),s):e},s.x1=function(l){return arguments.length?(n=l==null?null:typeof l=="function"?l:le(+l),s):n},s.y=function(l){return arguments.length?(t=typeof l=="function"?l:le(+l),r=null,s):t},s.y0=function(l){return arguments.length?(t=typeof l=="function"?l:le(+l),s):t},s.y1=function(l){return arguments.length?(r=l==null?null:typeof l=="function"?l:le(+l),s):r},s.lineX0=s.lineY0=function(){return f().x(e).y(t)},s.lineY1=function(){return f().x(e).y(r)},s.lineX1=function(){return f().x(n).y(t)},s.defined=function(l){return arguments.length?(i=typeof l=="function"?l:le(!!l),s):i},s.curve=function(l){return arguments.length?(o=l,a!=null&&(u=o(a)),s):o},s.context=function(l){return arguments.length?(l==null?a=u=null:u=o(a=l),s):a},s}class Zb{constructor(t,r){this._context=t,this._x=r}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(t,r){switch(t=+t,r=+r,this._point){case 0:{this._point=1,this._line?this._context.lineTo(t,r):this._context.moveTo(t,r);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,r,t,r):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+r)/2,t,this._y0,t,r);break}}this._x0=t,this._y0=r}}function w_(e){return new Zb(e,!0)}function O_(e){return new Zb(e,!1)}const Xf={draw(e,t){const r=it(t/Ci);e.moveTo(r,0),e.arc(0,0,r,0,Ia)}},__={draw(e,t){const r=it(t/5)/2;e.moveTo(-3*r,-r),e.lineTo(-r,-r),e.lineTo(-r,-3*r),e.lineTo(r,-3*r),e.lineTo(r,-r),e.lineTo(3*r,-r),e.lineTo(3*r,r),e.lineTo(r,r),e.lineTo(r,3*r),e.lineTo(-r,3*r),e.lineTo(-r,r),e.lineTo(-3*r,r),e.closePath()}},Jb=it(1/3),A_=Jb*2,S_={draw(e,t){const r=it(t/A_),n=r*Jb;e.moveTo(0,-r),e.lineTo(n,0),e.lineTo(0,r),e.lineTo(-n,0),e.closePath()}},P_={draw(e,t){const r=it(t),n=-r/2;e.rect(n,n,r,r)}},T_=.8908130915292852,Qb=$i(Ci/10)/$i(7*Ci/10),E_=$i(Ia/10)*Qb,j_=-Hb(Ia/10)*Qb,M_={draw(e,t){const r=it(t*T_),n=E_*r,
1i=j_*r;e.moveTo(0,-r),e.lineTo(n,i);for(let a=1;a<5;++a){const o=Ia*a/5,u=Hb(o),c=$i(o);e.lineTo(c*r,-u*r),e.lineTo(u*n-c*i,c*n+u*i)}e.closePath()}},Pu=it(3),$_={draw(e,t){const r=-it(t/(Pu*3));e.moveTo(0,r*2),e.lineTo(-Pu*r,-r),e.lineTo(Pu*r,-r),e.closePath()}},Ge=-.5,Ke=it(3)/2,Sl=1/it(12),C_=(Sl/2+1)*3,I_={draw(e,t){const r=it(t/C_),n=r/2,i=r*Sl,a=n,o=r*Sl+r,u=-a,c=o;e.moveTo(n,i),e.lineTo(a,o),e.lineTo(u,c),e.lineTo(Ge*n-Ke*i,Ke*n+Ge*i),e.lineTo(Ge*a-Ke*o,Ke*a+Ge*o),e.lineTo(Ge*u-Ke*c,Ke*u+Ge*c),e.lineTo(Ge*n+Ke*i,Ge*i-Ke*n),e.lineTo(Ge*a+Ke*o,Ge*o-Ke*a),e.lineTo(Ge*u+Ke*c,Ge*c-Ke*u),e.closePath()}};function k_(e,t){let r=null,n=Kf(i);e=typeof e=="function"?e:le(e||Xf),t=typeof t=="function"?t:le(t===void 0?64:+t);function i(){let a;if(r||(r=a=n()),e.apply(this,arguments).draw(r,+t.apply(this,arguments)),a)return r=null,a+""||null}return i.type=function(a){return arguments.length?(e=typeof a=="function"?a:le(a),i):e},i.size=function(a){return arguments.length?(t=typeof a=="function"?a:le(+a),i):t},i.context=function(a){return arguments.length?(r=a??null,i):r},i}function Ii(){}function ki(e,t,r){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+r)/6)}function e0(e){this._context=e}e0.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:ki(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:ki(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function R_(e){return new e0(e)}function t0(e){this._context=e}t0.prototype={areaStart:Ii,areaEnd:Ii,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:ki(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function N_(e){return new t0(e)}function r0(e){this._context=e}r0.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+e)/6,n=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:ki(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function D_(e){return new r0(e)}function n0(e){this._context=e}n0.prototype={areaStart:Ii,areaEnd:Ii,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function q_(e){return new n0(e)}function lp(e){return e<0?-1:1}function fp(e,t,r){var n=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(n||i<0&&-0),o=(r-e._y1)/(i||n<0&&-0),u=(a*i+o*n)/(n+i);return(lp(a)+lp(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(u))||0}function hp(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function Tu(e,t,r){var n=e._x0,i=e._y0,a=e._x1,o=e._y1,u=(a-n)/3;e._context.bezierCurveTo(n+u,i+u*t,a-u,o-u*r,a,o)}function Ri(e){this._context=e}Ri.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Tu(this,this._t0,hp(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var r=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,Tu(this,hp(this,r=fp(this,e,t)),r);break;default:Tu(this,this._t0,r=fp(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}};function i0(e){this._context=new a0(e)}(i0.prototype=Object.create(Ri.prototype)).point=function(e,t){Ri.prototype.point.call(this,t,e)};function a0(e){this._context=e}a0.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,r,n,i,a){this._context.bezierCurveTo(t,e,n,r,a,i)}};function L_(e){return new Ri(e)}function B_(e){return new i0(e)}function o0(e){this._context=e}o0.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,r=e.length;if(r)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),r===2)this._context.lineTo(e[1],t[1]);else for(var n=dp(e),i=dp(t),a=0,o=1;o<r;++a,++o)this._context.bezierCurveTo(n[0][a],i[0][a],n[1][a],i[1][a],e[o],t[o]);(this._line||this._line!==0&&r===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function dp(e){var t,r=e.length-1,n,i=new Array(r),a=new Array(r),o=new Array(r);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t<r-1;++t)i[t]=1,a[t]=4,o[t]=4*e[t]+2*e[t+1];for(i[r-1]=2,a[r-1]=7,o[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=i[t]/a[t-1],a[t]-=n,o[t]-=n*o[t-1];for(i[r-1]=o[r-1]/a[r-1],t=r-2;t>=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[r-1]=(e[r]+i[r-1])/2,t=0;t<r-1;++t)a[t]=2*e[t+1]-i[t+1];return[i,a]}function F_(e){return new o0(e)}function Ra(e,t){this._context=e,this._t=t}Ra.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;
vendor: 15,465 bytes, lines 1-4
1default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var r=this._x*(1-this._t)+e*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,t)}break}}this._x=e,this._y=t}};function z_(e){return new Ra(e,.5)}function U_(e){return new Ra(e,0)}function W_(e){return new Ra(e,1)}function Sr(e,t){if((o=e.length)>1)for(var r=1,n,i,a=e[t[0]],o,u=a.length;r<o;++r)for(i=a,a=e[t[r]],n=0;n<u;++n)a[n][1]+=a[n][0]=isNaN(i[n][1])?i[n][0]:i[n][1]}function Pl(e){for(var t=e.length,r=new Array(t);--t>=0;)r[t]=t;return r}function H_(e,t){return e[t]}function G_(e){const t=[];return t.key=e,t}function K_(){var e=le([]),t=Pl,r=Sr,n=H_;function i(a){var o=Array.from(e.apply(this,arguments),G_),u,c=o.length,s=-1,f;for(const l of a)for(u=0,++s;u<c;++u)(o[u][s]=[0,+n(l,o[u].key,s,a)]).data=l;for(u=0,f=Vf(t(o));u<c;++u)o[f[u]].index=u;return r(o,f),o}return i.keys=function(a){return arguments.length?(e=typeof a=="function"?a:le(Array.from(a)),i):e},i.value=function(a){return arguments.length?(n=typeof a=="function"?a:le(+a),i):n},i.order=function(a){return arguments.length?(t=a==null?Pl:typeof a=="function"?a:le(Array.from(a)),i):t},i.offset=function(a){return arguments.length?(r=a??Sr,i):r},i}function V_(e,t){if((n=e.length)>0){for(var r,n,i=0,a=e[0].length,o;i<a;++i){for(o=r=0;r<n;++r)o+=e[r][i][1]||0;if(o)for(r=0;r<n;++r)e[r][i][1]/=o}Sr(e,t)}}function X_(e,t){if((i=e.length)>0){for(var r=0,n=e[t[0]],i,a=n.length;r<a;++r){for(var o=0,u=0;o<i;++o)u+=e[o][r][1]||0;n[r][1]+=n[r][0]=-u/2}Sr(e,t)}}function Y_(e,t){if(!(!((o=e.length)>0)||!((a=(i=e[t[0]]).length)>0))){for(var r=0,n=1,i,a,o;n<a;++n){for(var u=0,c=0,s=0;u<o;++u){for(var f=e[t[u]],l=f[n][1]||0,h=f[n-1][1]||0,p=(l-h)/2,y=0;y<u;++y){var v=e[t[y]],d=v[n][1]||0,g=v[n-1][1]||0;p+=d-g}c+=l,s+=p*l}i[n-1][1]+=i[n-1][0]=r,c&&(r-=s/c)}i[n-1][1]+=i[n-1][0]=r,Sr(e,t)}}function On(e){"@babel/helpers - typeof";return On=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},On(e)}var Z_=["type","size","sizeType"];function Tl(){return Tl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Tl.apply(this,arguments)}function pp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function vp(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?pp(Object(r),!0).forEach(function(n){J_(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function J_(e,t,r){return t=Q_(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Q_(e){var t=e1(e,"string");return On(t)=="symbol"?t:t+""}function e1(e,t){if(On(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(On(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function t1(e,t){if(e==null)return{};var r=r1(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function r1(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var u0={symbolCircle:Xf,symbolCross:__,symbolDiamond:S_,symbolSquare:P_,symbolStar:M_,symbolTriangle:$_,symbolWye:I_},n1=Math.PI/180,i1=function(t){var r="symbol".concat(Ca(t));return u0[r]||Xf},a1=function(t,r,n){if(r==="area")return t;switch(n){case"cross":return 5*t*t/9;case"diamond":return .5*t*t/Math.sqrt(3);case"square":return t*t;case"star":{var i=18*n1;return 1.25*t*t*(Math.tan(i)-Math.tan(i*2)*Math.pow(Math.tan(i),2))}case"triangle":return Math.sqrt(3)*t*t/4;case"wye":return(21-10*Math.sqrt(3))*t*t/8;default:return Math.PI*t*t/4}},o1=function(t,r){u0["symbol".concat(Ca(t))]=r},Yf=function(t){var r=t.type,n=r===void 0?"circle":r,i=t.size,a=i===void 0?64:i,o=t.sizeType,u=o===void 0?"area":o,c=t1(t,Z_),s=vp(vp({},c),{},{type:n,size:a,sizeType:u}),f=function(){var d=i1(n),g=k_().type(d).size(a1(a,u,n));return g()},l=s.className,h=s.cx,p=s.cy,y=X(s,!0);return h===+h&&p===+p&&a===+a?S.createElement("path",Tl({},y,{className:Q("recharts-symbols",l),transform:"translate(".concat(h,", ").concat(p,")"),d:f()})):null};Yf.registerSymbol=o1;function Pr(e){"@babel/helpers - typeof";return Pr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pr(e)}function El(){return El=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},El.apply(this,arguments)}function yp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function u1(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?yp(Object(r),!0).forEach(function(n){_n(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):yp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function c1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s0(n.key),n)}}function l1(e,t,r){return t&&s1(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function f1(e,t,r){return t=Ni(t),h1(e,c0()?Reflect.construct(t,r||[],Ni(e).constructor):t.apply(e,r))}function h1(e,t){if(t&&(Pr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d1(e)}function d1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(c0=function(){return!!e})()}function Ni(e){return Ni=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ni(e)}function p1(e,t){if(typeof t!="function"&&t!==null)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&&jl(e,t)}function jl(e,t){return jl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},jl(e,t)}function _n(e,t,r){return t=s0(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s0(e){var t=v1(e,"string");return Pr(t)=="symbol"?t:t+""}function v1(e,t){if(Pr(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Pr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Ve=32,Zf=(function(e){function t(){return c1(this,t),f1(this,t,arguments)}return p1(t,e),l1(t,[{key:"renderIcon",value:function(n){var i=this.props.inactiveColor,a=Ve/2,o=Ve/6,u=Ve/3,c=n.inactive?i:n.color;if(n.type==="plainline")return S.createElement("line",{strokeWidth:4,fill:"none",stroke:c,strokeDasharray:n.payload.strokeDasharray,x1:0,y1:a,x2:Ve,y2:a,className:"recharts-legend-icon"});if(n.type==="line")return S.createElement("path",{strokeWidth:4,fill:"none",stroke:c,d:"M0,".concat(a,"h").concat(u,` 2 A`).concat(o,",").concat(o,",0,1,1,").concat(2*u,",").concat(a,` 3 H`).concat(Ve,"M").concat(2*u,",").concat(a,` 4 A`).concat(o,",").concat(o,",0,1,1,").concat(u,",").concat(a),className:"recharts-legend-icon"});if(n.type==="rect")return S.createElement("path",{stroke:"none",fill:c,d:"M0,".concat(Ve/8,"h").concat(Ve,"v").concat(Ve*3/4,"h").concat(-Ve,"z"),className:"recharts-legend-icon"});if(S.isValidElement(n.legendIcon)){var s=u1({},n);return delete s.legendIcon,S.cloneElement(n.legendIcon,s)}return S.createElement(Yf,{fill:c,cx:a,cy:a,size:Ve,sizeType:"diameter",type:n.type})}},{key:"renderItems",value:function(){var n=this,i=this.props,a=i.payload,o=i.iconSize,u=i.layout,c=i.formatter,s=i.inactiveColor,f={x:0,y:0,width:Ve,height:Ve},l={display:u==="horizontal"?"inline-block":"block",marginRight:10},h={display:"inline-block",verticalAlign:"middle",marginRight:4};return a.map(function(p,y){var v=p.formatter||c,d=Q(_n(_n({"recharts-legend-item":!0},"legend-item-".concat(y),!0),"inactive",p.inactive));if(p.type==="none")return null;var g=Y(p.value)?null:p.value;nt(!Y(p.value),`The name property is also required when using a function for the dataKey of a chart's cartesian components. Ex: <Bar name="Name of my Data"/>`);var x=p.inactive?s:p.color;return S.createElement("li",El({className:d,style:l,key:"legend-item-".concat(y)},tr(n.props,p,y)),S.createElement(wl,{width:o,height:o,viewBox:f,style:h},n.renderIcon(p)),S.createElement("span",{className:"recharts-legend-item-text",style:{color:x}},v?v(g,p,y):g))})}},{key:"render",value:function(){var n=this.props,i=n.payload,a=n.layout,o=n.align;if(!i||!i.length)return null;var u={padding:0,margin:0,textAlign:a==="horizontal"?o:"left"};return S.createElement("ul",{className:"recharts-default-legend",style:u},this.renderItems())}}])})(R.PureComponent);_n(Zf,"displayName","Legend");_n(Zf,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var Eu,mp;function y1(){if(mp)return Eu;mp=1;var e=ja();function t(){this.__data__=new e,this.size=0}return Eu=t,Eu}var ju,gp;function m1(){if(gp)return ju;gp=1;function e(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n}return ju=e,ju}var Mu,bp;function g1(){if(bp)return Mu;bp=1;function e(t){return this.__data__.get(t)}return Mu=e,Mu}var $u,xp;function b1(){if(xp)return $u;xp=1;function e(t){return this.__data__.has(t)}return $u=e,$u}var Cu,wp;function x1(){if(wp)return Cu;wp=1;var e=ja(),t=Ff(),r=zf(),n=200;function i(a,o){var u=this.__data__;if(u instanceof e){var c=u.__data__;if(!t||c.length<n-1)return c.push([a,o]),this.size=++u.size,this;u=this.__data__=new r(c)}return u.set(a,o),this.size=u.size,this}return Cu=i,Cu}var Iu,Op;function l0(){if(Op)return Iu;Op=1;var e=ja(),t=y1(),r=m1(),n=g1(),i=b1(),a=x1();function o(u){var c=this.__data__=new e(u);this.size=c.size}return o.prototype.clear=t,o.prototype.delete=r,o.prototype.get=n,o.prototype.has=i,o.prototype.set=a,Iu=o,Iu}var ku,_p;function w1(){if(_p)return ku;_p=1;var e="__lodash_hash_undefined__";function t(r){return this.__data__.set(r,e),this}return ku=t,ku}var Ru,Ap;function O1(){if(Ap)return Ru;Ap=1;function e(t){return this.__data__.has(t)}return Ru=e,Ru}var Nu,Sp;function f0(){if(Sp)return Nu;Sp=1;var e=zf(),t=w1(),r=O1();function n(i){var a=-1,o=i==null?0:i.length;for(this.__data__=new e;++a<o;)this.add(i[a])}return n.prototype.add=n.prototype.push=t,n.prototype.has=r,Nu=n,Nu}var Du,Pp;function h0(){if(Pp)return Du;Pp=1;function e(t,r){for(var n=-1,i=t==null?0:t.length;++n<i;)if(r(t[n],n,t))return!0;return!1}return Du=e,Du}var qu,Tp;function d0(){if(Tp)return qu;Tp=1;function e(t,r){return t.has(r)}return qu=e,qu}var Lu,Ep;function p0(){if(Ep)return Lu;Ep=1;var e=f0(),t=h0(),r=d0(),n=1,i=2;function a(o,u,c,s,f,l){var h=c&n,p=o.length,y=u.length;if(p!=y&&!(h&&y>p))return!1;var v=l.get(o),d=l.get(u);if(v&&d)return v==u&&d==o;var g=-1,x=!0,w=c&i?new e:void 0;for(l.set(o,u),l.set(u,o);++g<p;){var O=o[g],m=u[g];if(s)var b=h?s(m,O,g,u,o,l):s(O,m,g,o,u,l);if(b!==void 0){if(b)continue;x=!1;break}if(w){if(!t(u,function(_,A){if(!r(w,A)&&(O===_||f(O,_,c,s,l)))return w.push(A)})){x=!1;break}}else if(!(O===m||f(O,m,c,s,l))){x=!1;break}}return l.delete(o),l.delete(u),x}return Lu=a,Lu}var Bu,jp;function _1(){if(jp)return Bu;jp=1;var e=st(),t=e.Uint8Array;return Bu=t,Bu}var Fu,Mp;function A1(){if(Mp)return Fu;Mp=1;function e(t){var r=-1,n=Array(t.size);return t.forEach(function(i,a){n[++r]=[a,i]}),n}return Fu=e,Fu}var zu,$p;function Jf(){if($p)return zu;$p=1;function e(t){var r=-1,n=Array(t.size);return t.forEach(function(i){n[++r]=i}),n}return zu=e,zu}var Uu,Cp;function S1(){if(Cp)return Uu;Cp=1;var e=ni(),t=_1(),r=Bf(),n=p0(),i=A1(),a=Jf(),o=1,u=2,c="[object Boolean]",s="[object Date]",f="[object Error]",l="[object Map]",h="[object Number]",p="[object RegExp]",y="[object Set]",v="[object String]",d="[object Symbol]",g="[object ArrayBuffer]",x="[object DataView]",w=e?e.prototype:void 0,O=w?w.valueOf:void 0;function m(b,_,A,P,M,E,T){switch(A){case x:if(b.byteLength!=_.byteLength||b.byteOffset!=_.byteOffset)return!1;b=b.buffer,_=_.buffer;case g:return!(b.byteLength!=_.byteLength||!E(new t(b),new t(_)));case c:case s:case h:return r(+b,+_);case f:return b.name==_.name&&b.message==_.message;case p:case v:return b==_+"";case l:var j=i;case y:var C=P&o;if(j||(j=a),b.size!=_.size&&!C)return!1;var $=T.get(b);if($)return $==_;P|=u,T.set(b,_);var k=n(j(b),j(_),P,M,E,T);return T.delete(b),k;case d:if(O)return O.call(b)==O.call(_)}return!1}return Uu=m,Uu}var Wu,Ip;function v0(){if(Ip)return Wu;Ip=1;function e(t,r){for(var n=-1,i=r.length,a=t.length;++n<i;)t[a+n]=r[n];return t}return Wu=e,Wu}var Hu,kp;function P1(){if(kp)return Hu;kp=1;var e=v0(),t=Le();function r(n,i,a){var o=i(n);return t(n)?o:e(o,a(n))}return Hu=r,Hu}var Gu,Rp;function T1(){if(Rp)return Gu;Rp=1;function e(t,r){for(var n=-1,i=t==null?0:t.length,a=0,o=[];++n<i;){var u=t[n];r(u,n,t)&&(o[a++]=u)}return o}return Gu=e,Gu}var Ku,Np;function E1(){if(Np)return Ku;Np=1;function e(){return[]}return Ku=e,Ku}var Vu,Dp;function j1(){if(Dp)return Vu;Dp=1;var e=T1(),t=E1(),r=Object.prototype,n=r.propertyIsEnumerable,i=Object.getOwnPropertySymbols,a=i?function(o){return o==null?[]:(o=Object(o),e(i(o),function(u){return n.call(o,u)}))}:t;return Vu=a,Vu}var Xu,qp;function M1(){if(qp)return Xu;qp=1;function e(t,r){for(var n=-1,i=Array(t);++n<t;)i[n]=r(n);return i}return Xu=e,Xu}var Yu,Lp;function $1(){if(Lp)return Yu;Lp=1;var e=_t(),t=At(),r="[object Arguments]";function n(i){return t(i)&&e(i)==r}return Yu=n,Yu}var Zu,Bp;function Qf(){if(Bp)return Zu;Bp=1;var e=$1(),t=At(),r=Object.prototype,n=r.hasOwnProperty,i=r.propertyIsEnumerable,a=e((function(){return arguments})())?e:function(o){return t(o)&&n.call(o,"callee")&&!i.call(o,"callee")};return Zu=a,Zu}var dn={exports:{}},Ju,Fp;function C1(){if(Fp)return Ju;Fp=1;function e(){return!1}return Ju=e,Ju}dn.exports;var zp;function y0(){return zp||(zp=1,(function(e,t){var r=st(),n=C1(),i=t&&!t.nodeType&&t,a=i&&!0&&e&&!e.nodeType&&e,o=a&&a.exports===i,u=o?r.Buffer:void 0,c=u?u.isBuffer:void 0,s=c||n;e.exports=s}
vendor: 5,110 bytes, line 4
4)(dn,dn.exports)),dn.exports}var Qu,Up;function eh(){if(Up)return Qu;Up=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function r(n,i){var a=typeof n;return i=i??e,!!i&&(a=="number"||a!="symbol"&&t.test(n))&&n>-1&&n%1==0&&n<i}return Qu=r,Qu}var ec,Wp;function th(){if(Wp)return ec;Wp=1;var e=9007199254740991;function t(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=e}return ec=t,ec}var tc,Hp;function I1(){if(Hp)return tc;Hp=1;var e=_t(),t=th(),r=At(),n="[object Arguments]",i="[object Array]",a="[object Boolean]",o="[object Date]",u="[object Error]",c="[object Function]",s="[object Map]",f="[object Number]",l="[object Object]",h="[object RegExp]",p="[object Set]",y="[object String]",v="[object WeakMap]",d="[object ArrayBuffer]",g="[object DataView]",x="[object Float32Array]",w="[object Float64Array]",O="[object Int8Array]",m="[object Int16Array]",b="[object Int32Array]",_="[object Uint8Array]",A="[object Uint8ClampedArray]",P="[object Uint16Array]",M="[object Uint32Array]",E={};E[x]=E[w]=E[O]=E[m]=E[b]=E[_]=E[A]=E[P]=E[M]=!0,E[n]=E[i]=E[d]=E[a]=E[g]=E[o]=E[u]=E[c]=E[s]=E[f]=E[l]=E[h]=E[p]=E[y]=E[v]=!1;function T(j){return r(j)&&t(j.length)&&!!E[e(j)]}return tc=T,tc}var rc,Gp;function m0(){if(Gp)return rc;Gp=1;function e(t){return function(r){return t(r)}}return rc=e,rc}var pn={exports:{}};pn.exports;var Kp;function k1(){return Kp||(Kp=1,(function(e,t){var r=Db(),n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===n,o=a&&r.process,u=(function(){try{var c=i&&i.require&&i.require("util").types;return c||o&&o.binding&&o.binding("util")}catch{}})();e.exports=u})(pn,pn.exports)),pn.exports}var nc,Vp;function g0(){if(Vp)return nc;Vp=1;var e=I1(),t=m0(),r=k1(),n=r&&r.isTypedArray,i=n?t(n):e;return nc=i,nc}var ic,Xp;function R1(){if(Xp)return ic;Xp=1;var e=M1(),t=Qf(),r=Le(),n=y0(),i=eh(),a=g0(),o=Object.prototype,u=o.hasOwnProperty;function c(s,f){var l=r(s),h=!l&&t(s),p=!l&&!h&&n(s),y=!l&&!h&&!p&&a(s),v=l||h||p||y,d=v?e(s.length,String):[],g=d.length;for(var x in s)(f||u.call(s,x))&&!(v&&(x=="length"||p&&(x=="offset"||x=="parent")||y&&(x=="buffer"||x=="byteLength"||x=="byteOffset")||i(x,g)))&&d.push(x);return d}return ic=c,ic}var ac,Yp;function N1(){if(Yp)return ac;Yp=1;var e=Object.prototype;function t(r){var n=r&&r.constructor,i=typeof n=="function"&&n.prototype||e;return r===i}return ac=t,ac}var oc,Zp;function b0(){if(Zp)return oc;Zp=1;function e(t,r){return function(n){return t(r(n))}}return oc=e,oc}var uc,Jp;function D1(){if(Jp)return uc;Jp=1;var e=b0(),t=e(Object.keys,Object);return uc=t,uc}var cc,Qp;function q1(){if(Qp)return cc;Qp=1;var e=N1(),t=D1(),r=Object.prototype,n=r.hasOwnProperty;function i(a){if(!e(a))return t(a);var o=[];for(var u in Object(a))n.call(a,u)&&u!="constructor"&&o.push(u);return o}return cc=i,cc}var sc,ev;function oi(){if(ev)return sc;ev=1;var e=Lf(),t=th();function r(n){return n!=null&&t(n.length)&&!e(n)}return sc=r,sc}var lc,tv;function Na(){if(tv)return lc;tv=1;var e=R1(),t=q1(),r=oi();function n(i){return r(i)?e(i):t(i)}return lc=n,lc}var fc,rv;function L1(){if(rv)return fc;rv=1;var e=P1(),t=j1(),r=Na();function n(i){return e(i,r,t)}return fc=n,fc}var hc,nv;function B1(){if(nv)return hc;nv=1;var e=L1(),t=1,r=Object.prototype,n=r.hasOwnProperty;function i(a,o,u,c,s,f){var l=u&t,h=e(a),p=h.length,y=e(o),v=y.length;if(p!=v&&!l)return!1;for(var d=p;d--;){var g=h[d];if(!(l?g in o:n.call(o,g)))return!1}var x=f.get(a),w=f.get(o);if(x&&w)return x==o&&w==a;var O=!0;f.set(a,o),f.set(o,a);for(var m=l;++d<p;){g=h[d];var b=a[g],_=o[g];if(c)var A=l?c(_,b,g,o,a,f):c(b,_,g,a,o,f);if(!(A===void 0?b===_||s(b,_,u,c,f):A)){O=!1;break}m||(m=g=="constructor")}if(O&&!m){var P=a.constructor,M=o.constructor;P!=M&&"constructor"in a&&"constructor"in o&&!(typeof P=="function"&&P instanceof P&&typeof M=="function"&&M instanceof M)&&(O=!1)}return f.delete(a),f.delete(o),O}return hc=i,hc}var dc,iv;function F1(){if(iv)return dc;iv=1;var e=or(),t=st(),r=e(t,"DataView");return dc=r,dc}var pc,av;function z1(){if(av)return pc;av=1;var e=or(),t=st(),r=e(t,"Promise");return pc=r,pc}var vc,ov;function x0(){if(ov)return vc;ov=1;var e=or(),t=st(),r=e(t,"Set");return vc=r,vc}var yc,uv;function U1(){if(uv)return yc;uv=1;var e=or(),t=st(),r=e(t,"WeakMap");return yc=r,yc}var mc,cv;function W1(){if(cv)return mc;cv=1;var e=F1(),t=Ff(),r=z1(),n=x0(),i=U1(),a=_t(),o=qb(),u="[object Map]",c="[object Object]",s="[object Promise]",f="[object Set]",l="[object WeakMap]",h="[object DataView]",p=o(e),y=o(t),v=o(r),d=o(n),g=o(i),x=a;return(e&&x(new e(new ArrayBuffer(1)))!=h||t&&x(new t)!=u||r&&x(r.resolve())!=s||n&&x(new n)!=f||i&&x(new i)!=l)&&(x=function(w){var O=a(w),m=O==c?w.constructor:void 0,b=m?o(m):"";if(b)switch(b){case p:return h;case y:return u;case v:return s;case d:return f;case g:return l}return O}),mc=x,mc}var gc,sv;function H1(){if(sv)return gc;sv=1;var e=l0(),t=p0(),r=S1(),n=B1(),i=W1(),a=Le(),o=y0(),u=g0(),c=1,s="[object Arguments]",f="[object Array]",l="[object Object]",h=Object.prototype,p=h.hasOwnProperty;function y(v,d,g,x,w,O){var m=a(v),b=a(d),_=m?f:i(v),A=b?f:i(d);_=_==s?l:_,A=A==s?l:A;var P=_==l,M=A==l,E=_==A;
vendor: 48,440 bytes, lines 4-12
4if(E&&o(v)){if(!o(d))return!1;m=!0,P=!1}if(E&&!P)return O||(O=new e),m||u(v)?t(v,d,g,x,w,O):r(v,d,_,g,x,w,O);if(!(g&c)){var T=P&&p.call(v,"__wrapped__"),j=M&&p.call(d,"__wrapped__");if(T||j){var C=T?v.value():v,$=j?d.value():d;return O||(O=new e),w(C,$,g,x,O)}}return E?(O||(O=new e),n(v,d,g,x,w,O)):!1}return gc=y,gc}var bc,lv;function rh(){if(lv)return bc;lv=1;var e=H1(),t=At();function r(n,i,a,o,u){return n===i?!0:n==null||i==null||!t(n)&&!t(i)?n!==n&&i!==i:e(n,i,a,o,r,u)}return bc=r,bc}var xc,fv;function G1(){if(fv)return xc;fv=1;var e=l0(),t=rh(),r=1,n=2;function i(a,o,u,c){var s=u.length,f=s,l=!c;if(a==null)return!f;for(a=Object(a);s--;){var h=u[s];if(l&&h[2]?h[1]!==a[h[0]]:!(h[0]in a))return!1}for(;++s<f;){h=u[s];var p=h[0],y=a[p],v=h[1];if(l&&h[2]){if(y===void 0&&!(p in a))return!1}else{var d=new e;if(c)var g=c(y,v,p,a,o,d);if(!(g===void 0?t(v,y,r|n,c,d):g))return!1}}return!0}return xc=i,xc}var wc,hv;function w0(){if(hv)return wc;hv=1;var e=Rt();function t(r){return r===r&&!e(r)}return wc=t,wc}var Oc,dv;function K1(){if(dv)return Oc;dv=1;var e=w0(),t=Na();function r(n){for(var i=t(n),a=i.length;a--;){var o=i[a],u=n[o];i[a]=[o,u,e(u)]}return i}return Oc=r,Oc}var _c,pv;function O0(){if(pv)return _c;pv=1;function e(t,r){return function(n){return n==null?!1:n[t]===r&&(r!==void 0||t in Object(n))}}return _c=e,_c}var Ac,vv;function V1(){if(vv)return Ac;vv=1;var e=G1(),t=K1(),r=O0();function n(i){var a=t(i);return a.length==1&&a[0][2]?r(a[0][0],a[0][1]):function(o){return o===i||e(o,i,a)}}return Ac=n,Ac}var Sc,yv;function X1(){if(yv)return Sc;yv=1;function e(t,r){return t!=null&&r in Object(t)}return Sc=e,Sc}var Pc,mv;function Y1(){if(mv)return Pc;mv=1;var e=Fb(),t=Qf(),r=Le(),n=eh(),i=th(),a=$a();function o(u,c,s){c=e(c,u);for(var f=-1,l=c.length,h=!1;++f<l;){var p=a(c[f]);if(!(h=u!=null&&s(u,p)))break;u=u[p]}return h||++f!=l?h:(l=u==null?0:u.length,!!l&&i(l)&&n(p,l)&&(r(u)||t(u)))}return Pc=o,Pc}var Tc,gv;function Z1(){if(gv)return Tc;gv=1;var e=X1(),t=Y1();function r(n,i){return n!=null&&t(n,i,e)}return Tc=r,Tc}var Ec,bv;function J1(){if(bv)return Ec;bv=1;var e=rh(),t=zb(),r=Z1(),n=qf(),i=w0(),a=O0(),o=$a(),u=1,c=2;function s(f,l){return n(f)&&i(l)?a(o(f),l):function(h){var p=t(h,f);return p===void 0&&p===l?r(h,f):e(l,p,u|c)}}return Ec=s,Ec}var jc,xv;function Zr(){if(xv)return jc;xv=1;function e(t){return t}return jc=e,jc}var Mc,wv;function Q1(){if(wv)return Mc;wv=1;function e(t){return function(r){return r?.[t]}}return Mc=e,Mc}var $c,Ov;function eA(){if(Ov)return $c;Ov=1;var e=Wf();function t(r){return function(n){return e(n,r)}}return $c=t,$c}var Cc,_v;function tA(){if(_v)return Cc;_v=1;var e=Q1(),t=eA(),r=qf(),n=$a();function i(a){return r(a)?e(n(a)):t(a)}return Cc=i,Cc}var Ic,Av;function lt(){if(Av)return Ic;Av=1;var e=V1(),t=J1(),r=Zr(),n=Le(),i=tA();function a(o){return typeof o=="function"?o:o==null?r:typeof o=="object"?n(o)?t(o[0],o[1]):e(o):i(o)}return Ic=a,Ic}var kc,Sv;function _0(){if(Sv)return kc;Sv=1;function e(t,r,n,i){for(var a=t.length,o=n+(i?1:-1);i?o--:++o<a;)if(r(t[o],o,t))return o;return-1}return kc=e,kc}var Rc,Pv;function rA(){if(Pv)return Rc;Pv=1;function e(t){return t!==t}return Rc=e,Rc}var Nc,Tv;function nA(){if(Tv)return Nc;Tv=1;function e(t,r,n){for(var i=n-1,a=t.length;++i<a;)if(t[i]===r)return i;return-1}return Nc=e,Nc}var Dc,Ev;function iA(){if(Ev)return Dc;Ev=1;var e=_0(),t=rA(),r=nA();function n(i,a,o){return a===a?r(i,a,o):e(i,t,o)}return Dc=n,Dc}var qc,jv;function aA(){if(jv)return qc;jv=1;var e=iA();function t(r,n){var i=r==null?0:r.length;return!!i&&e(r,n,0)>-1}return qc=t,qc}var Lc,Mv;function oA(){if(Mv)return Lc;Mv=1;function e(t,r,n){for(var i=-1,a=t==null?0:t.length;++i<a;)if(n(r,t[i]))return!0;return!1}return Lc=e,Lc}var Bc,$v;function uA(){if($v)return Bc;$v=1;function e(){}return Bc=e,Bc}var Fc,Cv;function cA(){if(Cv)return Fc;Cv=1;var e=x0(),t=uA(),r=Jf(),n=1/0,i=e&&1/r(new e([,-0]))[1]==n?function(a){return new e(a)}:t;return Fc=i,Fc}var zc,Iv;function sA(){if(Iv)return zc;Iv=1;var e=f0(),t=aA(),r=oA(),n=d0(),i=cA(),a=Jf(),o=200;function u(c,s,f){var l=-1,h=t,p=c.length,y=!0,v=[],d=v;if(f)y=!1,h=r;else if(p>=o){var g=s?null:i(c);if(g)return a(g);y=!1,h=n,d=new e}else d=s?[]:v;e:for(;++l<p;){var x=c[l],w=s?s(x):x;if(x=f||x!==0?x:0,y&&w===w){for(var O=d.length;O--;)if(d[O]===w)continue e;s&&d.push(w),v.push(x)}else h(d,w,f)||(d!==v&&d.push(w),v.push(x))}return v}return zc=u,zc}var Uc,kv;function lA(){if(kv)return Uc;kv=1;var e=lt(),t=sA();function r(n,i){return n&&n.length?t(n,e(i,2)):[]}return Uc=r,Uc}var fA=lA();const Rv=ue(fA);function A0(e,t,r){return t===!0?Rv(e,r):Y(t)?Rv(e,t):e}function Tr(e){"@babel/helpers - typeof";return Tr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Tr(e)}var hA=["ref"];function Nv(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function ft(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Nv(Object(r),!0).forEach(function(n){Da(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Nv(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function dA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dv(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,P0(n.key),n)}}function pA(e,t,r){return t&&Dv(e.prototype,t),r&&Dv(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function vA(e,t,r){return t=Di(t),yA(e,S0()?Reflect.construct(t,r||[],Di(e).constructor):t.apply(e,r))}function yA(e,t){if(t&&(Tr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return mA(e)}function mA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(S0=function(){return!!e})()}function Di(e){return Di=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Di(e)}function gA(e,t){if(typeof t!="function"&&t!==null)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&&Ml(e,t)}function Ml(e,t){return Ml=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Ml(e,t)}function Da(e,t,r){return t=P0(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function P0(e){var t=bA(e,"string");return Tr(t)=="symbol"?t:t+""}function bA(e,t){if(Tr(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Tr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function xA(e,t){if(e==null)return{};var r=wA(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function wA(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function OA(e){return e.value}function _A(e,t){if(S.isValidElement(e))return S.cloneElement(e,t);if(typeof e=="function")return S.createElement(e,t);t.ref;var r=xA(t,hA);return S.createElement(Zf,r)}var qv=1,xr=(function(e){function t(){var r;dA(this,t);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return r=vA(this,t,[].concat(i)),Da(r,"lastBoundingBox",{width:-1,height:-1}),r}return gA(t,e),pA(t,[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var n=this.wrapperNode.getBoundingClientRect();return n.height=this.wrapperNode.offsetHeight,n.width=this.wrapperNode.offsetWidth,n}return null}},{key:"updateBBox",value:function(){var n=this.props.onBBoxUpdate,i=this.getBBox();i?(Math.abs(i.width-this.lastBoundingBox.width)>qv||Math.abs(i.height-this.lastBoundingBox.height)>qv)&&(this.lastBoundingBox.width=i.width,this.lastBoundingBox.height=i.height,n&&n(i)):(this.lastBoundingBox.width!==-1||this.lastBoundingBox.height!==-1)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,n&&n(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?ft({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(n){var i=this.props,a=i.layout,o=i.align,u=i.verticalAlign,c=i.margin,s=i.chartWidth,f=i.chartHeight,l,h;if(!n||(n.left===void 0||n.left===null)&&(n.right===void 0||n.right===null))if(o==="center"&&a==="vertical"){var p=this.getBBoxSnapshot();l={left:((s||0)-p.width)/2}}else l=o==="right"?{right:c&&c.right||0}:{left:c&&c.left||0};if(!n||(n.top===void 0||n.top===null)&&(n.bottom===void 0||n.bottom===null))if(u==="middle"){var y=this.getBBoxSnapshot();h={top:((f||0)-y.height)/2}}else h=u==="bottom"?{bottom:c&&c.bottom||0}:{top:c&&c.top||0};return ft(ft({},l),h)}},{key:"render",value:function(){var n=this,i=this.props,a=i.content,o=i.width,u=i.height,c=i.wrapperStyle,s=i.payloadUniqBy,f=i.payload,l=ft(ft({position:"absolute",width:o||"auto",height:u||"auto"},this.getDefaultPosition(c)),c);return S.createElement("div",{className:"recharts-legend-wrapper",style:l,ref:function(p){n.wrapperNode=p}},_A(a,ft(ft({},this.props),{},{payload:A0(f,s,OA)})))}}],[{key:"getWithHeight",value:function(n,i){var a=ft(ft({},this.defaultProps),n.props),o=a.layout;return o==="vertical"&&q(n.props.height)?{height:n.props.height}:o==="horizontal"?{width:n.props.width||i}:null}}])})(R.PureComponent);Da(xr,"displayName","Legend");Da(xr,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var Wc,Lv;function AA(){if(Lv)return Wc;Lv=1;var e=ni(),t=Qf(),r=Le(),n=e?e.isConcatSpreadable:void 0;function i(a){return r(a)||t(a)||!!(n&&a&&a[n])}return Wc=i,Wc}var Hc,Bv;function T0(){if(Bv)return Hc;Bv=1;var e=v0(),t=AA();function r(n,i,a,o,u){var c=-1,s=n.length;for(a||(a=t),u||(u=[]);++c<s;){var f=n[c];i>0&&a(f)?i>1?r(f,i-1,a,o,u):e(u,f):o||(u[u.length]=f)}return u}return Hc=r,Hc}var Gc,Fv;function SA(){if(Fv)return Gc;Fv=1;function e(t){return function(r,n,i){for(var a=-1,o=Object(r),u=i(r),c=u.length;c--;){var s=u[t?c:++a];if(n(o[s],s,o)===!1)break}return r}}return Gc=e,Gc}var Kc,zv;function PA(){if(zv)return Kc;zv=1;var e=SA(),t=e();return Kc=t,Kc}var Vc,Uv;function E0(){if(Uv)return Vc;Uv=1;var e=PA(),t=Na();function r(n,i){return n&&e(n,i,t)}return Vc=r,Vc}var Xc,Wv;function TA(){if(Wv)return Xc;Wv=1;var e=oi();function t(r,n){return function(i,a){if(i==null)return i;if(!e(i))return r(i,a);for(var o=i.length,u=n?o:-1,c=Object(i);(n?u--:++u<o)&&a(c[u],u,c)!==!1;);return i}}return Xc=t,Xc}var Yc,Hv;function nh(){if(Hv)return Yc;Hv=1;var e=E0(),t=TA(),r=t(e);return Yc=r,Yc}var Zc,Gv;function j0(){if(Gv)return Zc;Gv=1;var e=nh(),t=oi();function r(n,i){var a=-1,o=t(n)?Array(n.length):[];return e(n,function(u,c,s){o[++a]=i(u,c,s)}),o}return Zc=r,Zc}var Jc,Kv;function EA(){if(Kv)return Jc;Kv=1;function e(t,r){var n=t.length;for(t.sort(r);n--;)t[n]=t[n].value;return t}return Jc=e,Jc}var Qc,Vv;function jA(){if(Vv)return Qc;Vv=1;var e=Xr();function t(r,n){if(r!==n){var i=r!==void 0,a=r===null,o=r===r,u=e(r),c=n!==void 0,s=n===null,f=n===n,l=e(n);if(!s&&!l&&!u&&r>n||u&&c&&f&&!s&&!l||a&&c&&f||!i&&f||!o)return 1;if(!a&&!u&&!l&&r<n||l&&i&&o&&!a&&!u||s&&i&&o||!c&&o||!f)return-1}return 0}return Qc=t,Qc}var es,Xv;function MA(){if(Xv)return es;Xv=1;var e=jA();function t(r,n,i){for(var a=-1,o=r.criteria,u=n.criteria,c=o.length,s=i.length;++a<c;){var f=e(o[a],u[a]);if(f){if(a>=s)return f;var l=i[a];return f*(l=="desc"?-1:1)}}return r.index-n.index}return es=t,es}var ts,Yv;function $A(){if(Yv)return ts;Yv=1;var e=Uf(),t=Wf(),r=lt(),n=j0(),i=EA(),a=m0(),o=MA(),u=Zr(),c=Le();function s(f,l,h){l.length?l=e(l,function(v){return c(v)?function(d){return t(d,v.length===1?v[0]:v)}:v}):l=[u];var p=-1;l=e(l,a(r));var y=n(f,function(v,d,g){var x=e(l,function(w){return w(v)});return{criteria:x,index:++p,value:v}});return i(y,function(v,d){return o(v,d,h)})}return ts=s,ts}var rs,Zv;function CA(){if(Zv)return rs;Zv=1;function e(t,r,n){switch(n.length){case 0:return t.call(r);case 1:return t.call(r,n[0]);case 2:return t.call(r,n[0],n[1]);case 3:return t.call(r,n[0],n[1],n[2])}return t.apply(r,n)}return rs=e,rs}var ns,Jv;function IA(){if(Jv)return ns;Jv=1;var e=CA(),t=Math.max;function r(n,i,a){return i=t(i===void 0?n.length-1:i,0),function(){for(var o=arguments,u=-1,c=t(o.length-i,0),s=Array(c);++u<c;)s[u]=o[i+u];u=-1;for(var f=Array(i+1);++u<i;)f[u]=o[u];return f[i]=a(s),e(n,this,f)}}return ns=r,ns}var is,Qv;function kA(){if(Qv)return is;Qv=1;function e(t){return function(){return t}}return is=e,is}var as,ey;function M0(){if(ey)return as;ey=1;var e=or(),t=(function(){try{var r=e(Object,"defineProperty");return r({},"",{}),r}catch{}})();return as=t,as}var os,ty;function RA(){if(ty)return os;ty=1;var e=kA(),t=M0(),r=Zr(),n=t?function(i,a){return t(i,"toString",{configurable:!0,enumerable:!1,value:e(a),writable:!0})}:r;return os=n,os}var us,ry;function NA(){if(ry)return us;ry=1;var e=800,t=16,r=Date.now;function n(i){var a=0,o=0;return function(){var u=r(),c=t-(u-o);if(o=u,c>0){if(++a>=e)return arguments[0]}else a=0;return i.apply(void 0,arguments)}}return us=n,us}var cs,ny;function DA(){if(ny)return cs;ny=1;var e=RA(),t=NA(),r=t(e);return cs=r,cs}var ss,iy;function qA(){if(iy)return ss;iy=1;var e=Zr(),t=IA(),r=DA();function n(i,a){return r(t(i,a,e),i+"")}return ss=n,ss}var ls,ay;function qa(){if(ay)return ls;ay=1;var e=Bf(),t=oi(),r=eh(),n=Rt();function i(a,o,u){if(!n(u))return!1;var c=typeof o;return(c=="number"?t(u)&&r(o,u.length):c=="string"&&o in u)?e(u[o],a):!1}return ls=i,ls}var fs,oy;function LA(){if(oy)return fs;oy=1;var e=T0(),t=$A(),r=qA(),n=qa(),i=r(function(a,o){if(a==null)return[];var u=o.length;return u>1&&n(a,o[0],o[1])?o=[]:u>2&&n(o[0],o[1],o[2])&&(o=[o[0]]),t(a,e(o,1),[])});return fs=i,fs}var BA=LA();const ih=ue(BA);function An(e){"@babel/helpers - typeof";return An=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},An(e)}function $l(){return $l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},$l.apply(this,arguments)}function FA(e,t){return HA(e)||WA(e,t)||UA(e,t)||zA()}function zA(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 5In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function UA(e,t){if(e){if(typeof e=="string")return uy(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return uy(e,t)}}function uy(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function WA(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,a,o,u=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,t!==0)for(;!(c=(n=a.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(f){s=!0,i=f}finally{try{if(!c&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(s)throw i}}return u}}function HA(e){if(Array.isArray(e))return e}function cy(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function hs(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?cy(Object(r),!0).forEach(function(n){GA(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):cy(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function GA(e,t,r){return t=KA(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function KA(e){var t=VA(e,"string");return An(t)=="symbol"?t:t+""}function VA(e,t){if(An(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(An(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function XA(e){return Array.isArray(e)&&Ae(e[0])&&Ae(e[1])?e.join(" ~ "):e}var YA=function(t){var r=t.separator,n=r===void 0?" : ":r,i=t.contentStyle,a=i===void 0?{}:i,o=t.itemStyle,u=o===void 0?{}:o,c=t.labelStyle,s=c===void 0?{}:c,f=t.payload,l=t.formatter,h=t.itemSorter,p=t.wrapperClassName,y=t.labelClassName,v=t.label,d=t.labelFormatter,g=t.accessibilityLayer,x=g===void 0?!1:g,w=function(){if(f&&f.length){var T={padding:0,margin:0},j=(h?ih(f,h):f).map(function(C,$){if(C.type==="none")return null;var k=hs({display:"block",paddingTop:4,paddingBottom:4,color:C.color||"#000"},u),N=C.formatter||l||XA,L=C.value,B=C.name,W=L,K=B;if(N&&W!=null&&K!=null){var z=N(L,B,C,$,f);if(Array.isArray(z)){var V=FA(z,2);W=V[0],K=V[1]}else W=z}return S.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat($),style:k},Ae(K)?S.createElement("span",{className:"recharts-tooltip-item-name"},K):null,Ae(K)?S.createElement("span",{className:"recharts-tooltip-item-separator"},n):null,S.createElement("span",{className:"recharts-tooltip-item-value"},W),S.createElement("span",{className:"recharts-tooltip-item-unit"},C.unit||""))});return S.createElement("ul",{className:"recharts-tooltip-item-list",style:T},j)}return null},O=hs({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},a),m=hs({margin:0},s),b=!ee(v),_=b?v:"",A=Q("recharts-default-tooltip",p),P=Q("recharts-tooltip-label",y);b&&d&&f!==void 0&&f!==null&&(_=d(v,f));var M=x?{role:"status","aria-live":"assertive"}:{};return S.createElement("div",$l({className:A,style:O},M),S.createElement("p",{className:P,style:m},S.isValidElement(_)?_:"".concat(_)),w())};function Sn(e){"@babel/helpers - typeof";return Sn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Sn(e)}function pi(e,t,r){return t=ZA(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ZA(e){var t=JA(e,"string");return Sn(t)=="symbol"?t:t+""}function JA(e,t){if(Sn(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Sn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var nn="recharts-tooltip-wrapper",QA={visibility:"hidden"};function eS(e){var t=e.coordinate,r=e.translateX,n=e.translateY;return Q(nn,pi(pi(pi(pi({},"".concat(nn,"-right"),q(r)&&t&&q(t.x)&&r>=t.x),"".concat(nn,"-left"),q(r)&&t&&q(t.x)&&r<t.x),"".concat(nn,"-bottom"),q(n)&&t&&q(t.y)&&n>=t.y),"".concat(nn,"-top"),q(n)&&t&&q(t.y)&&n<t.y))}function sy(e){var t=e.allowEscapeViewBox,r=e.coordinate,n=e.key,i=e.offsetTopLeft,a=e.position,o=e.reverseDirection,u=e.tooltipDimension,c=e.viewBox,s=e.viewBoxDimension;if(a&&q(a[n]))return a[n];var f=r[n]-u-i,l=r[n]+i;if(t[n])return o[n]?f:l;if(o[n]){var h=f,p=c[n];return h<p?Math.max(l,c[n]):Math.max(f,c[n])}var y=l+u,v=c[n]+s;return y>v?Math.max(f,c[n]):Math.max(l,c[n])}function tS(e){var t=e.translateX,r=e.translateY,n=e.useTranslate3d;return{transform:n?"translate3d(".concat(t,"px, ").concat(r,"px, 0)"):"translate(".concat(t,"px, ").concat(r,"px)")}}function rS(e){var t=e.allowEscapeViewBox,r=e.coordinate,n=e.offsetTopLeft,i=e.position,a=e.reverseDirection,o=e.tooltipBox,u=e.useTranslate3d,c=e.viewBox,s,f,l;return o.height>0&&o.width>0&&r?(f=sy({allowEscapeViewBox:t,coordinate:r,key:"x",offsetTopLeft:n,position:i,reverseDirection:a,tooltipDimension:o.width,viewBox:c,viewBoxDimension:c.width}),l=sy({allowEscapeViewBox:t,coordinate:r,key:"y",offsetTopLeft:n,position:i,reverseDirection:a,tooltipDimension:o.height,viewBox:c,viewBoxDimension:c.height}),s=tS({translateX:f,translateY:l,useTranslate3d:u})):s=QA,{cssProperties:s,cssClasses:eS({translateX:f,translateY:l,coordinate:r})}}function Er(e){"@babel/helpers - typeof";return Er=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Er(e)}function ly(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function fy(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ly(Object(r),!0).forEach(function(n){Il(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ly(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function nS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,C0(n.key),n)}}function aS(e,t,r){return t&&iS(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function oS(e,t,r){return t=qi(t),uS(e,$0()?Reflect.construct(t,r||[],qi(e).constructor):t.apply(e,r))}function uS(e,t){if(t&&(Er(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return cS(e)}function cS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return($0=function(){return!!e})()}function qi(e){return qi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},qi(e)}function sS(e,t){if(typeof t!="function"&&t!==null)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&&Cl(e,t)}function Cl(e,t){return Cl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Cl(e,t)}function Il(e,t,r){return t=C0(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function C0(e){var t=lS(e,"string");return Er(t)=="symbol"?t:t+""}function lS(e,t){if(Er(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Er(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var hy=1,fS=(function(e){function t(){var r;nS(this,t);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return r=oS(this,t,[].concat(i)),Il(r,"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),Il(r,"handleKeyDown",function(o){if(o.key==="Escape"){var u,c,s,f;r.setState({dismissed:!0,dismissedAtCoordinate:{x:(u=(c=r.props.coordinate)===null||c===void 0?void 0:c.x)!==null&&u!==void 0?u:0,y:(s=(f=r.props.coordinate)===null||f===void 0?void 0:f.y)!==null&&s!==void 0?s:0}})}}),r}return sS(t,e),aS(t,[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var n=this.wrapperNode.getBoundingClientRect();(Math.abs(n.width-this.state.lastBoundingBox.width)>hy||Math.abs(n.height-this.state.lastBoundingBox.height)>hy)&&this.setState({lastBoundingBox:{width:n.width,height:n.height}})}else(this.state.lastBoundingBox.width!==-1||this.state.lastBoundingBox.height!==-1)&&this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var n,i;this.props.active&&this.updateBBox(),this.state.dismissed&&(((n=this.props.coordinate)===null||n===void 0?void 0:n.x)!==this.state.dismissedAtCoordinate.x||((i=this.props.coordinate)===null||i===void 0?void 0:i.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var n=this,i=this.props,a=i.active,o=i.allowEscapeViewBox,u=i.animationDuration,c=i.animationEasing,s=i.children,f=i.coordinate,l=i.hasPayload,h=i.isAnimationActive,p=i.offset,y=i.position,v=i.reverseDirection,d=i.useTranslate3d,g=i.viewBox,x=i.wrapperStyle,w=rS({allowEscapeViewBox:o,coordinate:f,offsetTopLeft:p,position:y,reverseDirection:v,tooltipBox:this.state.lastBoundingBox,useTranslate3d:d,viewBox:g}),O=w.cssClasses,m=w.cssProperties,b=fy(fy({transition:h&&a?"transform ".concat(u,"ms ").concat(c):void 0},m),{},{pointerEvents:"none",visibility:!this.state.dismissed&&a&&l?"visible":"hidden",position:"absolute",top:0,left:0},x);return S.createElement("div",{tabIndex:-1,className:O,style:b,ref:function(A){n.wrapperNode=A}},s)}}])})(R.PureComponent),hS=function(){return!(typeof window<"u"&&window.document&&window.document.createElement&&window.setTimeout)},Jr={isSsr:hS()};function jr(e){"@babel/helpers - typeof";return jr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},jr(e)}function dy(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function py(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?dy(Object(r),!0).forEach(function(n){ah(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dy(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function dS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,k0(n.key),n)}}function vS(e,t,r){return t&&pS(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function yS(e,t,r){return t=Li(t),mS(e,I0()?Reflect.construct(t,r||[],Li(e).constructor):t.apply(e,r))}function mS(e,t){if(t&&(jr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return gS(e)}function gS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(I0=function(){return!!e})()}function Li(e){return Li=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Li(e)}function bS(e,t){if(typeof t!="function"&&t!==null)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&&kl(e,t)}function kl(e,t){return kl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},kl(e,t)}function ah(e,t,r){return t=k0(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function k0(e){var t=xS(e,"string");return jr(t)=="symbol"?t:t+""}function xS(e,t){if(jr(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(jr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function wS(e){return e.dataKey}function OS(e,t){return S.isValidElement(e)?S.cloneElement(e,t):typeof e=="function"?S.createElement(e,t):S.createElement(YA,t)}var Ue=(function(e){function t(){return dS(this,t),yS(this,t,arguments)}return bS(t,e),vS(t,[{key:"render",value:function(){var n=this,i=this.props,a=i.active,o=i.allowEscapeViewBox,u=i.animationDuration,c=i.animationEasing,s=i.content,f=i.coordinate,l=i.filterNull,h=i.isAnimationActive,p=i.offset,y=i.payload,v=i.payloadUniqBy,d=i.position,g=i.reverseDirection,x=i.useTranslate3d,w=i.viewBox,O=i.wrapperStyle,m=y??[];l&&m.length&&(m=A0(y.filter(function(_){return _.value!=null&&(_.hide!==!0||n.props.includeHidden)}),v,wS));var b=m.length>0;return S.createElement(fS,{allowEscapeViewBox:o,animationDuration:u,animationEasing:c,isAnimationActive:h,active:a,coordinate:f,hasPayload:b,offset:p,position:d,reverseDirection:g,useTranslate3d:x,viewBox:w,wrapperStyle:O},OS(s,py(py({},this.props),{},{payload:m})))}}])})(R.PureComponent);ah(Ue,"displayName","Tooltip");ah(Ue,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!Jr.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}});var ds,vy;function _S(){if(vy)return ds;vy=1;var e=st(),t=function(){return e.Date.now()};return ds=t,ds}var ps,yy;function AS(){if(yy)return ps;yy=1;var e=/\s/;function t(r){for(var n=r.length;n--&&e.test(r.charAt(n)););return n}return ps=t,ps}var vs,my;function SS(){if(my)return vs;my=1;var e=AS(),t=/^\s+/;function r(n){return n&&n.slice(0,e(n)+1).replace(t,"")}return vs=r,vs}var ys,gy;function R0(){if(gy)return ys;gy=1;var e=SS(),t=Rt(),r=Xr(),n=NaN,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,o=/^0o[0-7]+$/i,u=parseInt;function c(s){if(typeof s=="number")return s;if(r(s))return n;if(t(s)){var f=typeof s.valueOf=="function"?s.valueOf():s;s=t(f)?f+"":f}if(typeof s!="string")return s===0?s:+s;s=e(s);var l=a.test(s);return l||o.test(s)?u(s.slice(2),l?2:8):i.test(s)?n:+s}return ys=c,ys}var ms,by;function PS(){if(by)return ms;by=1;var e=Rt(),t=_S(),r=R0(),n="Expected a function",i=Math.max,a=Math.min;function o(u,c,s){var f,l,h,p,y,v,d=0,g=!1,x=!1,w=!0;if(typeof u!="function")throw new TypeError(n);c=r(c)||0,e(s)&&(g=!!s.leading,x="maxWait"in s,h=x?i(r(s.maxWait)||0,c):h,w="trailing"in s?!!s.trailing:w);function O(j){var C=f,$=l;return f=l=void 0,d=j,p=u.apply($,C),p}function m(j){return d=j,y=setTimeout(A,c),g?O(j):p}function b(j){var C=j-v,$=j-d,k=c-C;return x?a(k,h-$):k}function _(j){var C=j-v,$=j-d;return v===void 0||C>=c||C<0||x&&$>=h}function A(){var j=t();if(_(j))return P(j);y=setTimeout(A,b(j))}function P(j){return y=void 0,w&&f?O(j):(f=l=void 0,p)}function M(){y!==void 0&&clearTimeout(y),d=0,f=v=l=y=void 0}function E(){return y===void 0?p:P(t())}function T(){var j=t(),C=_(j);if(f=arguments,l=this,v=j,C){if(y===void 0)return m(v);if(x)return clearTimeout(y),y=setTimeout(A,c),O(v)}return y===void 0&&(y=setTimeout(A,c)),p}return T.cancel=M,T.flush=E,T}return ms=o,ms}var gs,xy;function TS(){if(xy)return gs;xy=1;var e=PS(),t=Rt(),r="Expected a function";function n(i,a,o){var u=!0,c=!0;if(typeof i!="function")throw new TypeError(r);return t(o)&&(u="leading"in o?!!o.leading:u,c="trailing"in o?!!o.trailing:c),e(i,a,{leading:u,maxWait:a,trailing:c})}return gs=n,gs}var ES=TS();const N0=ue(ES);function Pn(e){"@babel/helpers - typeof";return Pn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pn(e)}function wy(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function vi(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?wy(Object(r),!0).forEach(function(n){jS(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wy(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function jS(e,t,r){return t=MS(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function MS(e){var t=$S(e,"string");return Pn(t)=="symbol"?t:t+""}function $S(e,t){if(Pn(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Pn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function CS(e,t){return NS(e)||RS(e,t)||kS(e,t)||IS()}function IS(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 6In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kS(e,t){if(e){if(typeof e=="string")return Oy(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Oy(e,t)}}function Oy(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function RS(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,a,o,u=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,t!==0)for(;!(c=(n=a.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(f){s=!0,i=f}finally{try{if(!c&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(s)throw i}}return u}}function NS(e){if(Array.isArray(e))return e}var yi=R.forwardRef(function(e,t){var r=e.aspect,n=e.initialDimension,i=n===void 0?{width:-1,height:-1}:n,a=e.width,o=a===void 0?"100%":a,u=e.height,c=u===void 0?"100%":u,s=e.minWidth,f=s===void 0?0:s,l=e.minHeight,h=e.maxHeight,p=e.children,y=e.debounce,v=y===void 0?0:y,d=e.id,g=e.className,x=e.onResize,w=e.style,O=w===void 0?{}:w,m=R.useRef(null),b=R.useRef();b.current=x,R.useImperativeHandle(t,function(){return Object.defineProperty(m.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),m.current},configurable:!0})});var _=R.useState({containerWidth:i.width,containerHeight:i.height}),A=CS(_,2),P=A[0],M=A[1],E=R.useCallback(function(j,C){M(function($){var k=Math.round(j),N=Math.round(C);return $.containerWidth===k&&$.containerHeight===N?$:{containerWidth:k,containerHeight:N}})},[]);R.useEffect(function(){var j=function(B){var W,K=B[0].contentRect,z=K.width,V=K.height;E(z,V),(W=b.current)===null||W===void 0||W.call(b,z,V)};v>0&&(j=N0(j,v,{trailing:!0,leading:!1}));var C=new ResizeObserver(j),$=m.current.getBoundingClientRect(),k=$.width,N=$.height;return E(k,N),C.observe(m.current),function(){C.disconnect()}},[E,v]);var T=R.useMemo(function(){var j=P.containerWidth,C=P.containerHeight;if(j<0||C<0)return null;nt(Vt(o)||Vt(c),`The width(%s) and height(%s) are both fixed numbers, 7 maybe you don't need to use a ResponsiveContainer.`,o,c),nt(!r||r>0,"The aspect(%s) must be greater than zero.",r);var $=Vt(o)?j:o,k=Vt(c)?C:c;r&&r>0&&($?k=$/r:k&&($=k*r),h&&k>h&&(k=h)),nt($>0||k>0,`The width(%s) and height(%s) of chart should be greater than 0, 8 please check the style of container, or the props width(%s) and height(%s), 9 or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the 10 height and width.`,$,k,o,c,f,l,r);var N=!Array.isArray(p)&&yt(p.type).endsWith("Chart");return S.Children.map(p,function(L){return S.isValidElement(L)?R.cloneElement(L,vi({width:$,height:k},N?{style:vi({height:"100%",width:"100%",maxHeight:k,maxWidth:$},L.props.style)}:{})):L})},[r,p,c,h,l,f,P,o]);return S.createElement("div",{id:d?"".concat(d):void 0,className:Q("recharts-responsive-container",g),style:vi(vi({},O),{},{width:o,height:c,minWidth:f,minHeight:l,maxHeight:h}),ref:m},T)}),La=function(t){return null};La.displayName="Cell";function Tn(e){"@babel/helpers - typeof";return Tn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Tn(e)}function _y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Rl(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?_y(Object(r),!0).forEach(function(n){DS(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_y(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function DS(e,t,r){return t=qS(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qS(e){var t=LS(e,"string");return Tn(t)=="symbol"?t:t+""}function LS(e,t){if(Tn(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Tn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var fr={widthCache:{},cacheCount:0},BS=2e3,FS={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},Ay="recharts_measurement_span";function zS(e){var t=Rl({},e);return Object.keys(t).forEach(function(r){t[r]||delete t[r]}),t}var yn=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t==null||Jr.isSsr)return{width:0,height:0};var n=zS(r),i=JSON.stringify({text:t,copyStyle:n});if(fr.widthCache[i])return fr.widthCache[i];try{var a=document.getElementById(Ay);a||(a=document.createElement("span"),a.setAttribute("id",Ay),a.setAttribute("aria-hidden","true"),document.body.appendChild(a));var o=Rl(Rl({},FS),n);Object.assign(a.style,o),a.textContent="".concat(t);var u=a.getBoundingClientRect(),c={width:u.width,height:u.height};return fr.widthCache[i]=c,++fr.cacheCount>BS&&(fr.cacheCount=0,fr.widthCache={}),c}catch{return{width:0,height:0}}},US=function(t){return{top:t.top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft}};function En(e){"@babel/helpers - typeof";return En=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},En(e)}function Bi(e,t){return KS(e)||GS(e,t)||HS(e,t)||WS()}function WS(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 11In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function HS(e,t){if(e){if(typeof e=="string")return Sy(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Sy(e,t)}}function Sy(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function GS(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,a,o,u=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(f){s=!0,i=f}finally{try{if(!c&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(s)throw i}}return u}}function KS(e){if(Array.isArray(e))return e}function VS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Py(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,YS(n.key),n)}}function XS(e,t,r){return t&&Py(e.prototype,t),r&&Py(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function YS(e){var t=ZS(e,"string");return En(t)=="symbol"?t:t+""}function ZS(e,t){if(En(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(En(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Ty=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,Ey=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,JS=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,QS=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,D0={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},eP=Object.keys(D0),pr="NaN";function tP(e,t){return e*D0[t]}var mi=(function(){function e(t,r){VS(this,e),this.num=t,this.unit=r,this.num=t,this.unit=r,Number.isNaN(t)&&(this.unit=""),r!==""&&!JS.test(r)&&(this.num=NaN,this.unit=""),eP.includes(r)&&(this.num=tP(t,r),this.unit="px")}return XS(e,[{key:"add",value:function(r){return this.unit!==r.unit?new e(NaN,""):new e(this.num+r.num,this.unit)}},{key:"subtract",value:function(r){return this.unit!==r.unit?new e(NaN,""):new e(this.num-r.num,this.unit)}},{key:"multiply",value:function(r){return this.unit!==""&&r.unit!==""&&this.unit!==r.unit?new e(NaN,""):new e(this.num*r.num,this.unit||r.unit)}},{key:"divide",value:function(r){return this.unit!==""&&r.unit!==""&&this.unit!==r.unit?new e(NaN,""):new e(this.num/r.num,this.unit||r.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}],[{key:"parse",value:function(r){var n,i=(n=QS.exec(r))!==null&&n!==void 0?n:[],a=Bi(i,3),o=a[1],u=a[2];return new e(parseFloat(o),u??"")}}])})();function q0(e){if(e.includes(pr))return pr;for(var t=e;t.includes("*")||t.includes("/");){var r,n=(r=Ty.exec(t))!==null&&r!==void 0?r:[],i=Bi(n,4),a=i[1],o=i[2],u=i[3],c=mi.parse(a??""),s=mi.parse(u??""),f=o==="*"?c.multiply(s):c.divide(s);if(f.isNaN())return pr;t=t.replace(Ty,f.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var l,h=(l=Ey.exec(t))!==null&&l!==void 0?l:[],p=Bi(h,4),y=p[1],v=p[2],d=p[3],g=mi.parse(y??""),x=mi.parse(d??""),w=v==="+"?g.add(x):g.subtract(x);if(w.isNaN())return pr;t=t.replace(Ey,w.toString())}return t}var jy=/\(([^()]*)\)/;function rP(e){for(var t=e;t.includes("(");){var r=jy.exec(t),n=Bi(r,2),i=n[1];t=t.replace(jy,q0(i))}return t}function nP(e){var t=e.replace(/\s+/g,"");return t=rP(t),t=q0(t),t}function iP(e){try{return nP(e)}catch{return pr}}function bs(e){var t=iP(e.slice(5,-1));return t===pr?"":t}var aP=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],oP=["dx","dy","angle","className","breakAll"];function Nl(){return Nl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Nl.apply(this,arguments)}function My(e,t){if(e==null)return{};var r=uP(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function uP(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function $y(e,t){return fP(e)||lP(e,t)||sP(e,t)||cP()}function cP(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 12In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sP(e,t){if(e){if(typeof e=="string")return Cy(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Cy(e,t)}}function Cy(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function lP(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,a,o,u=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(f){s=!0,i=f}finally{try{if(!c&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(s)throw i}}return u}}function fP(e){if(Array.isArray(e))return e}var L0=/[ \f\n\r\t\v\u2028\u2029]+/,B0=function(t){var r=t.children,n=t.breakAll,i=t.style;try{var a=[];ee(r)||(n?a=r.toString().split(""):a=r.toString().split(L0));var o=a.map(function(c){return{word:c,width:yn(c,i).width}}),u=n?0:yn(" ",i).width;return{wordsWithComputedWidth:o,spaceWidth:u}}catch{return null}},hP=function(t,r,n,i,a){var o=t.maxLines,u=t.children,c=t.style,s=t.breakAll,f=q(o),l=u,h=function(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return $.reduce(function(k,N){var L=N.word,B=N.width,W=k[k.length-1];if(W&&(i==null||a||W.width+B+n<Number(i)))W.words.push(L),W.width+=B+n;else{var K={words:[L],width:B};k.push(K)}return k},[])},p=h(r),y=function($){return $.reduce(function(k,N){return k.width>N.width?k:N})};if(!f)return p;for(var v="â¦",d=function($){var k=l.slice(0,$),N=B0({breakAll:s,style:c,children:k+v}).wordsWithComputedWidth,L=h(N),B=L.length>o||y(L).width>Number(i);return[B,L]},g=0,x=l.length-1,w=0,O;g<=x&&w<=l.length-1;){var m=Math.floor((g+x)/2),b=m-1,_=d(b),A=$y(_,2),P=A[0],M=A[1],E=d(m),T=$y(E,1),j=T[0];if(!P&&!j&&(g=m+1),P&&j&&(x=m-1),!P&&j){O=M;break}w++}return O||p},Iy=function(t){var r=ee(t)?[]:t.toString().split(L0);return[{words:r}]},dP=function(t){var r=t.width,n=t.scaleToFit,i=t.children,a=t.style,o=t.breakAll,u=t.maxLines;if((r||n)&&!Jr.isSsr){var c,s,f=B0({breakAll:o,children:i,style:a});if(f){var l=f.wordsWithComputedWidth,h=f.spaceWidth;c=l,s=h}else return Iy(i);return hP({breakAll:o,children:i,maxLines:u,style:a},c,s,r,n)}return Iy(i)},ky="#808080",rr=function(t){var r=t.x,n=r===void 0?0:r,i=t.y,a=i===void 0?0:i,o=t.lineHeight,u=o===void 0?"1em":o,c=t.capHeight,s=c===void 0?"0.71em":c,f=t.scaleToFit,l=f===void 0?!1:f,h=t.textAnchor,p=h===void 0?"start":h,y=t.verticalAnchor,v=y===void 0?"end":y,d=t.fill,g=d===void 0?ky:d,x=My(t,aP),w=R.useMemo(function(){return dP({breakAll:x.breakAll,children:x.children,maxLines:x.maxLines,scaleToFit:l,style:x.style,width:x.width})},[x.breakAll,x.children,x.maxLines,l,x.style,x.width]),O=x.dx,m=x.dy,b=x.angle,_=x.className,A=x.breakAll,P=My(x,oP);if(!Ae(n)||!Ae(a))return null;var M=n+(q(O)?O:0),E=a+(q(m)?m:0),T;switch(v){case"start":T=bs("calc(".concat(s,")"));break;case"middle":T=bs("calc(".concat((w.length-1)/2," * -").concat(u," + (").concat(s," / 2))"));break;default:T=bs("calc(".concat(w.length-1," * -").concat(u,")"));break}var j=[];if(l){var C=w[0].width,$=x.width;j.push("scale(".concat((q($)?$/C:1)/C,")"))}return b&&j.push("rotate(".concat(b,", ").concat(M,", ").concat(E,")")),j.length&&(P.transform=j.join(" ")),S.createElement("text",Nl({},X(P,!0),{x:M,y:E,className:Q("recharts-text",_),textAnchor:p,fill:g.includes("url")?ky:g}),w.map(function(k,N){var L=k.words.join(A?"":" ");
12return S.createElement("tspan",{x:M,dy:N===0?T:u,key:"".concat(L,"-").concat(N)},L)}))};function It(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function pP(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function oh(e){let t,r,n;e.length!==2?(t=It,r=(u,c)=>It(e(u),c),n=(u,c)=>e(u)-c):(t=e===It||e===pP?e:vP,r=e,n=e);function i(u,c,s=0,f=u.length){if(s<f){if(t(c,c)!==0)return f;do{const l=s+f>>>1;r(u[l],c)<0?s=l+1:f=l}while(s<f)}return s}function a(u,c,s=0,f=u.length){if(s<f){if(t(c,c)!==0)return f;do{const l=s+f>>>1;r(u[l],c)<=0?s=l+1:f=l}while(s<f)}return s}function o(u,c,s=0,f=u.length){const l=i(u,c,s,f-1);return l>s&&n(u[l-1],c)>-n(u[l],c)?l-1:l}return{left:i,center:o,right:a}}function vP(){return 0}function F0(e){return e===null?NaN:+e}function*yP(e,t){for(let r of e)r!=null&&(r=+r)>=r&&(yield r)}const mP=oh(It),ui=mP.right;oh(F0).center;class Ry extends Map{constructor(t,r=xP){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:r}}),t!=null)for(const[n,i]of t)this.set(n,i)}get(t){return super.get(Ny(this,t))}has(t){return super.has(Ny(this,t))}set(t,r){return super.set(gP(this,t),r)}delete(t){return super.delete(bP(this,t))}}function Ny({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):r}function gP({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):(e.set(n,r),r)}function bP({_intern:e,_key:t},r){const n=t(r);return e.has(n)&&(r=e.get(n),e.delete(n)),r}function xP(e){return e!==null&&typeof e=="object"?e.valueOf():e}function wP(e=It){if(e===It)return z0;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,r)=>{const n=e(t,r);return n||n===0?n:(e(r,r)===0)-(e(t,t)===0)}}function z0(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:e>t?1:0)}const OP=Math.sqrt(50),_P=Math.sqrt(10),AP=Math.sqrt(2);function Fi(e,t,r){const n=(t-e)/Math.max(0,r),i=Math.floor(Math.log10(n)),a=n/Math.pow(10,i),o=a>=OP?10:a>=_P?5:a>=AP?2:1;let u,c,s;return i<0?(s=Math.pow(10,-i)/o,u=Math.round(e*s),c=Math.round(t*s),u/s<e&&++u,c/s>t&&--c,s=-s):(s=Math.pow(10,i)*o,u=Math.round(e/s),c=Math.round(t/s),u*s<e&&++u,c*s>t&&--c),c<u&&.5<=r&&r<2?Fi(e,t,r*2):[u,c,s]}function Dl(e,t,r){if(t=+t,e=+e,r=+r,!(r>0))return[];if(e===t)return[e];const n=t<e,[i,a,o]=n?Fi(t,e,r):Fi(e,t,r);if(!(a>=i))return[];const u=a-i+1,c=new Array(u);if(n)if(o<0)for(let s=0;s<u;++s)c[s]=(a-s)/-o;else for(let s=0;s<u;++s)c[s]=(a-s)*o;else if(o<0)for(let s=0;s<u;++s)c[s]=(i+s)/-o;else for(let s=0;s<u;++s)c[s]=(i+s)*o;return c}function ql(e,t,r){return t=+t,e=+e,r=+r,Fi(e,t,r)[2]}function Ll(e,t,r){t=+t,e=+e,r=+r;const n=t<e,i=n?ql(t,e,r):ql(e,t,r);return(n?-1:1)*(i<0?1/-i:i)}function Dy(e,t){let r;for(const n of e)n!=null&&(r<n||r===void 0&&n>=n)&&(r=n);return r}function qy(e,t){let r;for(const n of e)n!=null&&(r>n||r===void 0&&n>=n)&&(r=n);return r}function U0(e,t,r=0,n=1/0,i){if(t=Math.floor(t),r=Math.floor(Math.max(0,r)),n=Math.floor(Math.min(e.length-1,n)),!(r<=t&&t<=n))return e;for(i=i===void 0?z0:wP(i);n>r;){if(n-r>600){const c=n-r+1,s=t-r+1,f=Math.log(c),l=.5*Math.exp(2*f/3),h=.5*Math.sqrt(f*l*(c-l)/c)*(s-c/2<0?-1:1),p=Math.max(r,Math.floor(t-s*l/c+h)),y=Math.min(n,Math.floor(t+(c-s)*l/c+h));U0(e,t,p,y,i)}const a=e[t];let o=r,u=n;for(an(e,r,t),i(e[n],a)>0&&an(e,r,n);o<u;){for(an(e,o,u),++o,--u;i(e[o],a)<0;)++o;for(;i(e[u],a)>0;)--u}i(e[r],a)===0?an(e,r,u):(++u,an(e,u,n)),u<=t&&(r=u+1),t<=u&&(n=u-1)}return e}function an(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function SP(e,t,r){if(e=Float64Array.from(yP(e)),!(!(n=e.length)||isNaN(t=+t))){if(t<=0||n<2)return qy(e);if(t>=1)return Dy(e);var n,i=(n-1)*t,a=Math.floor(i),o=Dy(U0(e,a).subarray(0,a+1)),u=qy(e.subarray(a+1));return o+(u-o)*(i-a)}}function PP(e,t,r=F0){if(!(!(n=e.length)||isNaN(t=+t))){if(t<=0||n<2)return+r(e[0],0,e);if(t>=1)return+r(e[n-1],n-1,e);var n,i=(n-1)*t,a=Math.floor(i),o=+r(e[a],a,e),u=+r(e[a+1],a+1,e);return o+(u-o)*(i-a)}}function TP(e,t,r){e=+e,t=+t,r=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+r;for(var n=-1,i=Math.max(0,Math.ceil((t-e)/r))|0,a=new Array(i);++n<i;)a[n]=e+n*r;return a}function Qe(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function St(e,t){switch(arguments.length){case 0:break;case 1:{typeof e=="function"?this.interpolator(e):this.range(e);break}default:{this.domain(e),typeof t=="function"?this.interpolator(t):this.range(t);break}}return this}
vendor: 9,947 bytes, line 12
12const Bl=Symbol("implicit");function uh(){var e=new Ry,t=[],r=[],n=Bl;function i(a){let o=e.get(a);if(o===void 0){if(n!==Bl)return n;e.set(a,o=t.push(a)-1)}return r[o%r.length]}return i.domain=function(a){if(!arguments.length)return t.slice();t=[],e=new Ry;for(const o of a)e.has(o)||e.set(o,t.push(o)-1);return i},i.range=function(a){return arguments.length?(r=Array.from(a),i):r.slice()},i.unknown=function(a){return arguments.length?(n=a,i):n},i.copy=function(){return uh(t,r).unknown(n)},Qe.apply(i,arguments),i}function jn(){var e=uh().unknown(void 0),t=e.domain,r=e.range,n=0,i=1,a,o,u=!1,c=0,s=0,f=.5;delete e.unknown;function l(){var h=t().length,p=i<n,y=p?i:n,v=p?n:i;a=(v-y)/Math.max(1,h-c+s*2),u&&(a=Math.floor(a)),y+=(v-y-a*(h-c))*f,o=a*(1-c),u&&(y=Math.round(y),o=Math.round(o));var d=TP(h).map(function(g){return y+a*g});return r(p?d.reverse():d)}return e.domain=function(h){return arguments.length?(t(h),l()):t()},e.range=function(h){return arguments.length?([n,i]=h,n=+n,i=+i,l()):[n,i]},e.rangeRound=function(h){return[n,i]=h,n=+n,i=+i,u=!0,l()},e.bandwidth=function(){return o},e.step=function(){return a},e.round=function(h){return arguments.length?(u=!!h,l()):u},e.padding=function(h){return arguments.length?(c=Math.min(1,s=+h),l()):c},e.paddingInner=function(h){return arguments.length?(c=Math.min(1,h),l()):c},e.paddingOuter=function(h){return arguments.length?(s=+h,l()):s},e.align=function(h){return arguments.length?(f=Math.max(0,Math.min(1,h)),l()):f},e.copy=function(){return jn(t(),[n,i]).round(u).paddingInner(c).paddingOuter(s).align(f)},Qe.apply(l(),arguments)}function W0(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return W0(t())},e}function mn(){return W0(jn.apply(null,arguments).paddingInner(1))}function ch(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function H0(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function ci(){}var Mn=.7,zi=1/Mn,wr="\\s*([+-]?\\d+)\\s*",$n="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",ot="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",EP=/^#([0-9a-f]{3,8})$/,jP=new RegExp(`^rgb\\(${wr},${wr},${wr}\\)$`),MP=new RegExp(`^rgb\\(${ot},${ot},${ot}\\)$`),$P=new RegExp(`^rgba\\(${wr},${wr},${wr},${$n}\\)$`),CP=new RegExp(`^rgba\\(${ot},${ot},${ot},${$n}\\)$`),IP=new RegExp(`^hsl\\(${$n},${ot},${ot}\\)$`),kP=new RegExp(`^hsla\\(${$n},${ot},${ot},${$n}\\)$`),Ly={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};ch(ci,Cn,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:By,formatHex:By,formatHex8:RP,formatHsl:NP,formatRgb:Fy,toString:Fy});function By(){return this.rgb().formatHex()}function RP(){return this.rgb().formatHex8()}function NP(){return G0(this).formatHsl()}function Fy(){return this.rgb().formatRgb()}function Cn(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=EP.exec(e))?(r=t[1].length,t=parseInt(t[1],16),r===6?zy(t):r===3?new qe(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):r===8?gi(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):r===4?gi(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=jP.exec(e))?new qe(t[1],t[2],t[3],1):(t=MP.exec(e))?new qe(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=$P.exec(e))?gi(t[1],t[2],t[3],t[4]):(t=CP.exec(e))?gi(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=IP.exec(e))?Hy(t[1],t[2]/100,t[3]/100,1):(t=kP.exec(e))?Hy(t[1],t[2]/100,t[3]/100,t[4]):Ly.hasOwnProperty(e)?zy(Ly[e]):e==="transparent"?new qe(NaN,NaN,NaN,0):null}function zy(e){return new qe(e>>16&255,e>>8&255,e&255,1)}function gi(e,t,r,n){return n<=0&&(e=t=r=NaN),new qe(e,t,r,n)}function DP(e){return e instanceof ci||(e=Cn(e)),e?(e=e.rgb(),new qe(e.r,e.g,e.b,e.opacity)):new qe}function Fl(e,t,r,n){return arguments.length===1?DP(e):new qe(e,t,r,n??1)}function qe(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}ch(qe,Fl,H0(ci,{brighter(e){return e=e==null?zi:Math.pow(zi,e),new qe(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?Mn:Math.pow(Mn,e),new qe(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new qe(Jt(this.r),Jt(this.g),Jt(this.b),Ui(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Uy,formatHex:Uy,formatHex8:qP,formatRgb:Wy,toString:Wy}));function Uy(){return`#${Xt(this.r)}${Xt(this.g)}${Xt(this.b)}`}function qP(){return`#${Xt(this.r)}${Xt(this.g)}${Xt(this.b)}${Xt((isNaN(this.opacity)?1:this.opacity)*255)}`}function Wy(){const e=Ui(this.opacity);return`${e===1?"rgb(":"rgba("}${Jt(this.r)}, ${Jt(this.g)}, ${Jt(this.b)}${e===1?")":`, ${e})`}`}function Ui(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Jt(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Xt(e){return e=Jt(e),(e<16?"0":"")+e.toString(16)}function Hy(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new rt(e,t,r,n)}function G0(e){if(e instanceof rt)return new rt(e.h,e.s,e.l,e.opacity);if(e instanceof ci||(e=Cn(e)),!e)return new rt;if(e instanceof rt)return e;e=e.rgb();var t=e.r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),a=Math.max(t,r,n),o=NaN,u=a-i,c=(a+i)/2;return u?(t===a?o=(r-n)/u+(r<n)*6:r===a?o=(n-t)/u+2:o=(t-r)/u+4,u/=c<.5?a+i:2-a-i,o*=60):u=c>0&&c<1?0:o,new rt(o,u,c,e.opacity)}function LP(e,t,r,n){return arguments.length===1?G0(e):new rt(e,t,r,n??1)}function rt(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}ch(rt,LP,H0(ci,{brighter(e){return e=e==null?zi:Math.pow(zi,e),new rt(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Mn:Math.pow(Mn,e),new rt(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,i=2*r-n;return new qe(xs(e>=240?e-240:e+120,i,n),xs(e,i,n),xs(e<120?e+240:e-120,i,n),this.opacity)},clamp(){return new rt(Gy(this.h),bi(this.s),bi(this.l),Ui(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Ui(this.opacity);return`${e===1?"hsl(":"hsla("}${Gy(this.h)}, ${bi(this.s)*100}%, ${bi(this.l)*100}%${e===1?")":`, ${e})`}`}}));function Gy(e){return e=(e||0)%360,e<0?e+360:e}function bi(e){return Math.max(0,Math.min(1,e||0))}function xs(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}const sh=e=>()=>e;function BP(e,t){return function(r){return e+r*t}}function FP(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}function zP(e){return(e=+e)==1?K0:function(t,r){return r-t?FP(t,r,e):sh(isNaN(t)?r:t)}}function K0(e,t){var r=t-e;return r?BP(e,r):sh(isNaN(e)?t:e)}const Ky=(function e(t){var r=zP(t);function n(i,a){var o=r((i=Fl(i)).r,(a=Fl(a)).r),u=r(i.g,a.g),c=r(i.b,a.b),s=K0(i.opacity,a.opacity);return function(f){return i.r=o(f),i.g=u(f),i.b=c(f),i.opacity=s(f),i+""}}return n.gamma=e,n})(1);function UP(e,t){t||(t=[]);var r=e?Math.min(t.length,e.length):0,n=t.slice(),i;return function(a){for(i=0;i<r;++i)n[i]=e[i]*(1-a)+t[i]*a;return n}}function WP(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function HP(e,t){var r=t?t.length:0,n=e?Math.min(r,e.length):0,i=new Array(n),a=new Array(r),o;for(o=0;o<n;
vendor: 5,553 bytes, line 12
12++o)i[o]=Qr(e[o],t[o]);for(;o<r;++o)a[o]=t[o];return function(u){for(o=0;o<n;++o)a[o]=i[o](u);return a}}function GP(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}function Wi(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}function KP(e,t){var r={},n={},i;(e===null||typeof e!="object")&&(e={}),(t===null||typeof t!="object")&&(t={});for(i in t)i in e?r[i]=Qr(e[i],t[i]):n[i]=t[i];return function(a){for(i in r)n[i]=r[i](a);return n}}var zl=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,ws=new RegExp(zl.source,"g");function VP(e){return function(){return e}}function XP(e){return function(t){return e(t)+""}}function YP(e,t){var r=zl.lastIndex=ws.lastIndex=0,n,i,a,o=-1,u=[],c=[];for(e=e+"",t=t+"";(n=zl.exec(e))&&(i=ws.exec(t));)(a=i.index)>r&&(a=t.slice(r,a),u[o]?u[o]+=a:u[++o]=a),(n=n[0])===(i=i[0])?u[o]?u[o]+=i:u[++o]=i:(u[++o]=null,c.push({i:o,x:Wi(n,i)})),r=ws.lastIndex;return r<t.length&&(a=t.slice(r),u[o]?u[o]+=a:u[++o]=a),u.length<2?c[0]?XP(c[0].x):VP(t):(t=c.length,function(s){for(var f=0,l;f<t;++f)u[(l=c[f]).i]=l.x(s);return u.join("")})}function Qr(e,t){var r=typeof t,n;return t==null||r==="boolean"?sh(t):(r==="number"?Wi:r==="string"?(n=Cn(t))?(t=n,Ky):YP:t instanceof Cn?Ky:t instanceof Date?GP:WP(t)?UP:Array.isArray(t)?HP:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?KP:Wi)(e,t)}function lh(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}function ZP(e,t){t===void 0&&(t=e,e=Qr);for(var r=0,n=t.length-1,i=t[0],a=new Array(n<0?0:n);r<n;)a[r]=e(i,i=t[++r]);return function(o){var u=Math.max(0,Math.min(n-1,Math.floor(o*=n)));return a[u](o-u)}}function JP(e){return function(){return e}}function Hi(e){return+e}var Vy=[0,1];function Re(e){return e}function Ul(e,t){return(t-=e=+e)?function(r){return(r-e)/t}:JP(isNaN(t)?NaN:.5)}function QP(e,t){var r;return e>t&&(r=e,e=t,t=r),function(n){return Math.max(e,Math.min(t,n))}}function eT(e,t,r){var n=e[0],i=e[1],a=t[0],o=t[1];return i<n?(n=Ul(i,n),a=r(o,a)):(n=Ul(n,i),a=r(a,o)),function(u){return a(n(u))}}function tT(e,t,r){var n=Math.min(e.length,t.length)-1,i=new Array(n),a=new Array(n),o=-1;for(e[n]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<n;)i[o]=Ul(e[o],e[o+1]),a[o]=r(t[o],t[o+1]);return function(u){var c=ui(e,u,1,n)-1;return a[c](i[c](u))}}function si(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Ba(){var e=Vy,t=Vy,r=Qr,n,i,a,o=Re,u,c,s;function f(){var h=Math.min(e.length,t.length);return o!==Re&&(o=QP(e[0],e[h-1])),u=h>2?tT:eT,c=s=null,l}function l(h){return h==null||isNaN(h=+h)?a:(c||(c=u(e.map(n),t,r)))(n(o(h)))}return l.invert=function(h){return o(i((s||(s=u(t,e.map(n),Wi)))(h)))},l.domain=function(h){return arguments.length?(e=Array.from(h,Hi),f()):e.slice()},l.range=function(h){return arguments.length?(t=Array.from(h),f()):t.slice()},l.rangeRound=function(h){return t=Array.from(h),r=lh,f()},l.clamp=function(h){return arguments.length?(o=h?!0:Re,f()):o!==Re},l.interpolate=function(h){return arguments.length?(r=h,f()):r},l.unknown=function(h){return arguments.length?(a=h,l):a},function(h,p){return n=h,i=p,f()}}function fh(){return Ba()(Re,Re)}function rT(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function Gi(e,t){if(!isFinite(e)||e===0)return null;var r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"),n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}function Mr(e){return e=Gi(Math.abs(e)),e?e[1]:NaN}function nT(e,t){return function(r,n){for(var i=r.length,a=[],o=0,u=e[0],c=0;i>0&&u>0&&(c+u+1>n&&(u=Math.max(1,n-c)),a.push(r.substring(i-=u,i+u)),!((c+=u+1)>n));)u=e[o=(o+1)%e.length];return a.reverse().join(t)}}function iT(e){return function(t){return t.replace(/[0-9]/g,function(r){return e[+r]})}}var aT=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function In(e){if(!(t=aT.exec(e)))throw new Error("invalid format: "+e);var t;return new hh({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}In.prototype=hh.prototype;function hh(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}hh.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function oT(e){e:for(var t=e.length,r=1,n=-1,i;r<t;++r)switch(e[r]){case".":n=i=r;break;case"0":n===0&&(n=r),i=r;break;default:if(!+e[r])break e;n>0&&(n=0);break}return n>0?e.slice(0,n)+e.slice(i+1):e}var Ki;function uT(e,t){var r=Gi(e,t);if(!r)return Ki=void 0,e.toPrecision(t);var n=r[0],i=r[1],a=i-(Ki=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,o=n.length;return a===o?n:a>o?n+new Array(a-o+1).join("0"):a>0?n.slice(0,a)+"."+n.slice(a):"0."+new Array(1-a).join("0")+Gi(e,Math.max(0,t+a-1))[0]}function Xy(e,t){var r=Gi(e,t);if(!r)return e+"";var n=r[0],i=r[1];return i<0?"0."+new Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+new Array(i-n.length+2).join("0")}const Yy={"%":(e,t)=>
vendor: 4,950 bytes, line 12
12(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:rT,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>Xy(e*100,t),r:Xy,s:uT,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Zy(e){return e}var Jy=Array.prototype.map,Qy=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function cT(e){var t=e.grouping===void 0||e.thousands===void 0?Zy:nT(Jy.call(e.grouping,Number),e.thousands+""),r=e.currency===void 0?"":e.currency[0]+"",n=e.currency===void 0?"":e.currency[1]+"",i=e.decimal===void 0?".":e.decimal+"",a=e.numerals===void 0?Zy:iT(Jy.call(e.numerals,String)),o=e.percent===void 0?"%":e.percent+"",u=e.minus===void 0?"â":e.minus+"",c=e.nan===void 0?"NaN":e.nan+"";function s(l,h){l=In(l);var p=l.fill,y=l.align,v=l.sign,d=l.symbol,g=l.zero,x=l.width,w=l.comma,O=l.precision,m=l.trim,b=l.type;b==="n"?(w=!0,b="g"):Yy[b]||(O===void 0&&(O=12),m=!0,b="g"),(g||p==="0"&&y==="=")&&(g=!0,p="0",y="=");var _=(h&&h.prefix!==void 0?h.prefix:"")+(d==="$"?r:d==="#"&&/[boxX]/.test(b)?"0"+b.toLowerCase():""),A=(d==="$"?n:/[%p]/.test(b)?o:"")+(h&&h.suffix!==void 0?h.suffix:""),P=Yy[b],M=/[defgprs%]/.test(b);O=O===void 0?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,O)):Math.max(0,Math.min(20,O));function E(T){var j=_,C=A,$,k,N;if(b==="c")C=P(T)+C,T="";else{T=+T;var L=T<0||1/T<0;if(T=isNaN(T)?c:P(Math.abs(T),O),m&&(T=oT(T)),L&&+T==0&&v!=="+"&&(L=!1),j=(L?v==="("?v:u:v==="-"||v==="("?"":v)+j,C=(b==="s"&&!isNaN(T)&&Ki!==void 0?Qy[8+Ki/3]:"")+C+(L&&v==="("?")":""),M){for($=-1,k=T.length;++$<k;)if(N=T.charCodeAt($),48>N||N>57){C=(N===46?i+T.slice($+1):T.slice($))+C,T=T.slice(0,$);break}}}w&&!g&&(T=t(T,1/0));var B=j.length+T.length+C.length,W=B<x?new Array(x-B+1).join(p):"";switch(w&&g&&(T=t(W+T,W.length?x-C.length:1/0),W=""),y){case"<":T=j+T+C+W;break;case"=":T=j+W+T+C;break;case"^":T=W.slice(0,B=W.length>>1)+j+T+C+W.slice(B);break;default:T=W+j+T+C;break}return a(T)}return E.toString=function(){return l+""},E}function f(l,h){var p=Math.max(-8,Math.min(8,Math.floor(Mr(h)/3)))*3,y=Math.pow(10,-p),v=s((l=In(l),l.type="f",l),{suffix:Qy[8+p/3]});return function(d){return v(y*d)}}return{format:s,formatPrefix:f}}var xi,dh,V0;sT({thousands:",",grouping:[3],currency:["$",""]});function sT(e){return xi=cT(e),dh=xi.format,V0=xi.formatPrefix,xi}function lT(e){return Math.max(0,-Mr(Math.abs(e)))}function fT(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Mr(t)/3)))*3-Mr(Math.abs(e)))}function hT(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Mr(t)-Mr(e))+1}function X0(e,t,r,n){var i=Ll(e,t,r),a;switch(n=In(n??",f"),n.type){case"s":{var o=Math.max(Math.abs(e),Math.abs(t));return n.precision==null&&!isNaN(a=fT(i,o))&&(n.precision=a),V0(n,o)}case"":case"e":case"g":case"p":case"r":{n.precision==null&&!isNaN(a=hT(i,Math.max(Math.abs(e),Math.abs(t))))&&(n.precision=a-(n.type==="e"));break}case"f":case"%":{n.precision==null&&!isNaN(a=lT(i))&&(n.precision=a-(n.type==="%")*2);break}}return dh(n)}function Nt(e){var t=e.domain;return e.ticks=function(r){var n=t();return Dl(n[0],n[n.length-1],r??10)},e.tickFormat=function(r,n){var i=t();return X0(i[0],i[i.length-1],r??10,n)},e.nice=function(r){r==null&&(r=10);var n=t(),i=0,a=n.length-1,o=n[i],u=n[a],c,s,f=10;for(u<o&&(s=o,o=u,u=s,s=i,i=a,a=s);f-- >0;){if(s=ql(o,u,r),s===c)return n[i]=o,n[a]=u,t(n);if(s>0)o=Math.floor(o/s)*s,u=Math.ceil(u/s)*s;else if(s<0)o=Math.ceil(o*s)/s,u=Math.floor(u*s)/s;else break;c=s}return e},e}function Vi(){var e=fh();return e.copy=function(){return si(e,Vi())},Qe.apply(e,arguments),Nt(e)}function Y0(e){var t;function r(n){return n==null||isNaN(n=+n)?t:n}return r.invert=r,r.domain=r.range=function(n){return arguments.length?(e=Array.from(n,Hi),r):e.slice()},r.unknown=function(n){return arguments.length?(t=n,r):t},r.copy=function(){return Y0(e).unknown(t)},e=arguments.length?Array.from(e,Hi):[0,1],Nt(r)}function Z0(e,t){e=e.slice();var r=0,n=e.length-1,i=e[r],a=e[n],o;return a<i&&(o=r,r=n,n=o,o=i,i=a,a=o),e[r]=t.floor(i),e[n]=t.ceil(a),e}function em(e){return Math.log(e)}function tm(e){return Math.exp(e)}function dT(e){return-Math.log(-e)}function pT(e){return-Math.exp(-e)}function vT(e){return isFinite(e)?+("1e"+e):e<0?0:e}function yT(e){return e===10?vT:e===Math.E?Math.exp:t=>Math.pow(e,t)}function mT(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function rm(e){return(t,r)=>-e(-t,r)}function ph(e){const t=e(em,tm),r=t.domain;let n=10,i,a;function o(){return i=mT(n),a=yT(n),r()[0]<0?(i=rm(i),a=rm(a),e(dT,pT)):e(em,tm),t}return t.base=function(u){return arguments.length?(n=+u,o()):n},t.domain=function(u){return arguments.length?(r(u),o()):r()},t.ticks=u=>{const c=r();let s=c[0],f=c[c.length-1];const l=f<s;l&&([s,f]=[f,s]);let h=i(s),p=i(f),y,v;const d=u==null?10:+u;let g=[];if(!(n%1)&&p-h<d){if(h=Math.floor(h),p=Math.ceil(p),s>0){for(;h<=p;
vendor: 4,451 bytes, line 12
12++h)for(y=1;y<n;++y)if(v=h<0?y/a(-h):y*a(h),!(v<s)){if(v>f)break;g.push(v)}}else for(;h<=p;++h)for(y=n-1;y>=1;--y)if(v=h>0?y/a(-h):y*a(h),!(v<s)){if(v>f)break;g.push(v)}g.length*2<d&&(g=Dl(s,f,d))}else g=Dl(h,p,Math.min(p-h,d)).map(a);return l?g.reverse():g},t.tickFormat=(u,c)=>{if(u==null&&(u=10),c==null&&(c=n===10?"s":","),typeof c!="function"&&(!(n%1)&&(c=In(c)).precision==null&&(c.trim=!0),c=dh(c)),u===1/0)return c;const s=Math.max(1,n*u/t.ticks().length);return f=>{let l=f/a(Math.round(i(f)));return l*n<n-.5&&(l*=n),l<=s?c(f):""}},t.nice=()=>r(Z0(r(),{floor:u=>a(Math.floor(i(u))),ceil:u=>a(Math.ceil(i(u)))})),t}function J0(){const e=ph(Ba()).domain([1,10]);return e.copy=()=>si(e,J0()).base(e.base()),Qe.apply(e,arguments),e}function nm(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function im(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function vh(e){var t=1,r=e(nm(t),im(t));return r.constant=function(n){return arguments.length?e(nm(t=+n),im(t)):t},Nt(r)}function Q0(){var e=vh(Ba());return e.copy=function(){return si(e,Q0()).constant(e.constant())},Qe.apply(e,arguments)}function am(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function gT(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function bT(e){return e<0?-e*e:e*e}function yh(e){var t=e(Re,Re),r=1;function n(){return r===1?e(Re,Re):r===.5?e(gT,bT):e(am(r),am(1/r))}return t.exponent=function(i){return arguments.length?(r=+i,n()):r},Nt(t)}function mh(){var e=yh(Ba());return e.copy=function(){return si(e,mh()).exponent(e.exponent())},Qe.apply(e,arguments),e}function xT(){return mh.apply(null,arguments).exponent(.5)}function om(e){return Math.sign(e)*e*e}function wT(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function ex(){var e=fh(),t=[0,1],r=!1,n;function i(a){var o=wT(e(a));return isNaN(o)?n:r?Math.round(o):o}return i.invert=function(a){return e.invert(om(a))},i.domain=function(a){return arguments.length?(e.domain(a),i):e.domain()},i.range=function(a){return arguments.length?(e.range((t=Array.from(a,Hi)).map(om)),i):t.slice()},i.rangeRound=function(a){return i.range(a).round(!0)},i.round=function(a){return arguments.length?(r=!!a,i):r},i.clamp=function(a){return arguments.length?(e.clamp(a),i):e.clamp()},i.unknown=function(a){return arguments.length?(n=a,i):n},i.copy=function(){return ex(e.domain(),t).round(r).clamp(e.clamp()).unknown(n)},Qe.apply(i,arguments),Nt(i)}function tx(){var e=[],t=[],r=[],n;function i(){var o=0,u=Math.max(1,t.length);for(r=new Array(u-1);++o<u;)r[o-1]=PP(e,o/u);return a}function a(o){return o==null||isNaN(o=+o)?n:t[ui(r,o)]}return a.invertExtent=function(o){var u=t.indexOf(o);return u<0?[NaN,NaN]:[u>0?r[u-1]:e[0],u<r.length?r[u]:e[e.length-1]]},a.domain=function(o){if(!arguments.length)return e.slice();e=[];for(let u of o)u!=null&&!isNaN(u=+u)&&e.push(u);return e.sort(It),i()},a.range=function(o){return arguments.length?(t=Array.from(o),i()):t.slice()},a.unknown=function(o){return arguments.length?(n=o,a):n},a.quantiles=function(){return r.slice()},a.copy=function(){return tx().domain(e).range(t).unknown(n)},Qe.apply(a,arguments)}function rx(){var e=0,t=1,r=1,n=[.5],i=[0,1],a;function o(c){return c!=null&&c<=c?i[ui(n,c,0,r)]:a}function u(){var c=-1;for(n=new Array(r);++c<r;)n[c]=((c+1)*t-(c-r)*e)/(r+1);return o}return o.domain=function(c){return arguments.length?([e,t]=c,e=+e,t=+t,u()):[e,t]},o.range=function(c){return arguments.length?(r=(i=Array.from(c)).length-1,u()):i.slice()},o.invertExtent=function(c){var s=i.indexOf(c);return s<0?[NaN,NaN]:s<1?[e,n[0]]:s>=r?[n[r-1],t]:[n[s-1],n[s]]},o.unknown=function(c){return arguments.length&&(a=c),o},o.thresholds=function(){return n.slice()},o.copy=function(){return rx().domain([e,t]).range(i).unknown(a)},Qe.apply(Nt(o),arguments)}function nx(){var e=[.5],t=[0,1],r,n=1;function i(a){return a!=null&&a<=a?t[ui(e,a,0,n)]:r}return i.domain=function(a){return arguments.length?(e=Array.from(a),n=Math.min(e.length,t.length-1),i):e.slice()},i.range=function(a){return arguments.length?(t=Array.from(a),n=Math.min(e.length,t.length-1),i):t.slice()},i.invertExtent=function(a){var o=t.indexOf(a);return[e[o-1],e[o]]},i.unknown=function(a){return arguments.length?(r=a,i):r},i.copy=function(){return nx().domain(e).range(t).unknown(r)},Qe.apply(i,arguments)}const Os=new Date,_s=new Date;function Se(e,t,r,n){function i(a){return e(a=arguments.length===0?new Date:new Date(+a)),a}return i.floor=a=>
vendor: 5,434 bytes, line 12
12(e(a=new Date(+a)),a),i.ceil=a=>(e(a=new Date(a-1)),t(a,1),e(a),a),i.round=a=>{const o=i(a),u=i.ceil(a);return a-o<u-a?o:u},i.offset=(a,o)=>(t(a=new Date(+a),o==null?1:Math.floor(o)),a),i.range=(a,o,u)=>{const c=[];if(a=i.ceil(a),u=u==null?1:Math.floor(u),!(a<o)||!(u>0))return c;let s;do c.push(s=new Date(+a)),t(a,u),e(a);while(s<a&&a<o);return c},i.filter=a=>Se(o=>{if(o>=o)for(;e(o),!a(o);)o.setTime(o-1)},(o,u)=>{if(o>=o)if(u<0)for(;++u<=0;)for(;t(o,-1),!a(o););else for(;--u>=0;)for(;t(o,1),!a(o););}),r&&(i.count=(a,o)=>(Os.setTime(+a),_s.setTime(+o),e(Os),e(_s),Math.floor(r(Os,_s))),i.every=a=>(a=Math.floor(a),!isFinite(a)||!(a>0)?null:a>1?i.filter(n?o=>n(o)%a===0:o=>i.count(0,o)%a===0):i)),i}const Xi=Se(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);Xi.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?Se(t=>{t.setTime(Math.floor(t/e)*e)},(t,r)=>{t.setTime(+t+r*e)},(t,r)=>(r-t)/e):Xi);Xi.range;const dt=1e3,Ye=dt*60,pt=Ye*60,bt=pt*24,gh=bt*7,um=bt*30,As=bt*365,Yt=Se(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*dt)},(e,t)=>(t-e)/dt,e=>e.getUTCSeconds());Yt.range;const bh=Se(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*dt)},(e,t)=>{e.setTime(+e+t*Ye)},(e,t)=>(t-e)/Ye,e=>e.getMinutes());bh.range;const xh=Se(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*Ye)},(e,t)=>(t-e)/Ye,e=>e.getUTCMinutes());xh.range;const wh=Se(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*dt-e.getMinutes()*Ye)},(e,t)=>{e.setTime(+e+t*pt)},(e,t)=>(t-e)/pt,e=>e.getHours());wh.range;const Oh=Se(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*pt)},(e,t)=>(t-e)/pt,e=>e.getUTCHours());Oh.range;const li=Se(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Ye)/bt,e=>e.getDate()-1);li.range;const Fa=Se(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/bt,e=>e.getUTCDate()-1);Fa.range;const ix=Se(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/bt,e=>Math.floor(e/bt));ix.range;function ur(e){return Se(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,r)=>{t.setDate(t.getDate()+r*7)},(t,r)=>(r-t-(r.getTimezoneOffset()-t.getTimezoneOffset())*Ye)/gh)}const za=ur(0),Yi=ur(1),OT=ur(2),_T=ur(3),$r=ur(4),AT=ur(5),ST=ur(6);za.range;Yi.range;OT.range;_T.range;$r.range;AT.range;ST.range;function cr(e){return Se(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCDate(t.getUTCDate()+r*7)},(t,r)=>(r-t)/gh)}const Ua=cr(0),Zi=cr(1),PT=cr(2),TT=cr(3),Cr=cr(4),ET=cr(5),jT=cr(6);Ua.range;Zi.range;PT.range;TT.range;Cr.range;ET.range;jT.range;const _h=Se(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());_h.range;const Ah=Se(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());Ah.range;const xt=Se(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());xt.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Se(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,r)=>{t.setFullYear(t.getFullYear()+r*e)});xt.range;const wt=Se(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());wt.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Se(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCFullYear(t.getUTCFullYear()+r*e)});wt.range;function ax(e,t,r,n,i,a){const o=[[Yt,1,dt],[Yt,5,5*dt],[Yt,15,15*dt],[Yt,30,30*dt],[a,1,Ye],[a,5,5*Ye],[a,15,15*Ye],[a,30,30*Ye],[i,1,pt],[i,3,3*pt],[i,6,6*pt],[i,12,12*pt],[n,1,bt],[n,2,2*bt],[r,1,gh],[t,1,um],[t,3,3*um],[e,1,As]];function u(s,f,l){const h=f<s;h&&([s,f]=[f,s]);const p=l&&typeof l.range=="function"?l:c(s,f,l),y=p?p.range(s,+f+1):[];return h?y.reverse():y}function c(s,f,l){const h=Math.abs(f-s)/l,p=oh(([,,d])=>d).right(o,h);if(p===o.length)return e.every(Ll(s/As,f/As,l));if(p===0)return Xi.every(Math.max(Ll(s,f,l),1));const[y,v]=o[h/o[p-1][2]<o[p][2]/h?p-1:p];return y.every(v)}return[u,c]}const[MT,$T]=ax(wt,Ah,Ua,ix,Oh,xh),[CT,IT]=ax(xt,_h,za,li,wh,bh);function Ss(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function Ps(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function on(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}function kT(e){var t=e.dateTime,r=e.date,n=e.time,i=e.periods,a=e.days,o=e.shortDays,u=e.months,c=e.shortMonths,s=un(i),f=cn(i),l=un(a),h=cn(a),p=un(o),y=cn(o),v=un(u),d=cn(u),g=un(c),x=cn(c),w={a:N,A:L,b:B,B:W,c:null,d:dm,e:dm,f:nE,g:dE,G:vE,H:eE,I:tE,j:rE,L:ox,m:iE,M:aE,p:K,q:z,Q:ym,s:mm,S:oE,u:uE,U:cE,V:sE,w:lE,W:fE,x:null,X:null,y:hE,Y:pE,Z:yE,"%":vm},O={a:V,A:he,b:me,B:Be,c:null,d:pm,e:pm,f:xE,g:ME,G:CE,H:mE,I:gE,j:bE,L:cx,m:wE,M:OE,p:Lt,q:Ne,Q:ym,s:mm,S:_E,u:AE,U:SE,V:PE,w:TE,W:EE,x:null,X:null,y:jE,Y:$E,Z:IE,"%":vm},m={a:M,A:E,b:T,B:j,c:C,d:fm,e:fm,f:YT,g:lm,G:sm,H:hm,I:hm,j:GT,
vendor: 7,742 bytes, line 12
12L:XT,m:HT,M:KT,p:P,q:WT,Q:JT,s:QT,S:VT,u:LT,U:BT,V:FT,w:qT,W:zT,x:$,X:k,y:lm,Y:sm,Z:UT,"%":ZT};w.x=b(r,w),w.X=b(n,w),w.c=b(t,w),O.x=b(r,O),O.X=b(n,O),O.c=b(t,O);function b(F,Z){return function(J){var D=[],ve=-1,te=0,xe=F.length,we,De,Tt;for(J instanceof Date||(J=new Date(+J));++ve<xe;)F.charCodeAt(ve)===37&&(D.push(F.slice(te,ve)),(De=cm[we=F.charAt(++ve)])!=null?we=F.charAt(++ve):De=we==="e"?" ":"0",(Tt=Z[we])&&(we=Tt(J,De)),D.push(we),te=ve+1);return D.push(F.slice(te,ve)),D.join("")}}function _(F,Z){return function(J){var D=on(1900,void 0,1),ve=A(D,F,J+="",0),te,xe;if(ve!=J.length)return null;if("Q"in D)return new Date(D.Q);if("s"in D)return new Date(D.s*1e3+("L"in D?D.L:0));if(Z&&!("Z"in D)&&(D.Z=0),"p"in D&&(D.H=D.H%12+D.p*12),D.m===void 0&&(D.m="q"in D?D.q:0),"V"in D){if(D.V<1||D.V>53)return null;"w"in D||(D.w=1),"Z"in D?(te=Ps(on(D.y,0,1)),xe=te.getUTCDay(),te=xe>4||xe===0?Zi.ceil(te):Zi(te),te=Fa.offset(te,(D.V-1)*7),D.y=te.getUTCFullYear(),D.m=te.getUTCMonth(),D.d=te.getUTCDate()+(D.w+6)%7):(te=Ss(on(D.y,0,1)),xe=te.getDay(),te=xe>4||xe===0?Yi.ceil(te):Yi(te),te=li.offset(te,(D.V-1)*7),D.y=te.getFullYear(),D.m=te.getMonth(),D.d=te.getDate()+(D.w+6)%7)}else("W"in D||"U"in D)&&("w"in D||(D.w="u"in D?D.u%7:"W"in D?1:0),xe="Z"in D?Ps(on(D.y,0,1)).getUTCDay():Ss(on(D.y,0,1)).getDay(),D.m=0,D.d="W"in D?(D.w+6)%7+D.W*7-(xe+5)%7:D.w+D.U*7-(xe+6)%7);return"Z"in D?(D.H+=D.Z/100|0,D.M+=D.Z%100,Ps(D)):Ss(D)}}function A(F,Z,J,D){for(var ve=0,te=Z.length,xe=J.length,we,De;ve<te;){if(D>=xe)return-1;if(we=Z.charCodeAt(ve++),we===37){if(we=Z.charAt(ve++),De=m[we in cm?Z.charAt(ve++):we],!De||(D=De(F,J,D))<0)return-1}else if(we!=J.charCodeAt(D++))return-1}return D}function P(F,Z,J){var D=s.exec(Z.slice(J));return D?(F.p=f.get(D[0].toLowerCase()),J+D[0].length):-1}function M(F,Z,J){var D=p.exec(Z.slice(J));return D?(F.w=y.get(D[0].toLowerCase()),J+D[0].length):-1}function E(F,Z,J){var D=l.exec(Z.slice(J));return D?(F.w=h.get(D[0].toLowerCase()),J+D[0].length):-1}function T(F,Z,J){var D=g.exec(Z.slice(J));return D?(F.m=x.get(D[0].toLowerCase()),J+D[0].length):-1}function j(F,Z,J){var D=v.exec(Z.slice(J));return D?(F.m=d.get(D[0].toLowerCase()),J+D[0].length):-1}function C(F,Z,J){return A(F,t,Z,J)}function $(F,Z,J){return A(F,r,Z,J)}function k(F,Z,J){return A(F,n,Z,J)}function N(F){return o[F.getDay()]}function L(F){return a[F.getDay()]}function B(F){return c[F.getMonth()]}function W(F){return u[F.getMonth()]}function K(F){return i[+(F.getHours()>=12)]}function z(F){return 1+~~(F.getMonth()/3)}function V(F){return o[F.getUTCDay()]}function he(F){return a[F.getUTCDay()]}function me(F){return c[F.getUTCMonth()]}function Be(F){return u[F.getUTCMonth()]}function Lt(F){return i[+(F.getUTCHours()>=12)]}function Ne(F){return 1+~~(F.getUTCMonth()/3)}return{format:function(F){var Z=b(F+="",w);return Z.toString=function(){return F},Z},parse:function(F){var Z=_(F+="",!1);return Z.toString=function(){return F},Z},utcFormat:function(F){var Z=b(F+="",O);return Z.toString=function(){return F},Z},utcParse:function(F){var Z=_(F+="",!0);return Z.toString=function(){return F},Z}}}var cm={"-":"",_:" ",0:"0"},Ee=/^\s*\d+/,RT=/^%/,NT=/[\\^$*+?|[\]().{}]/g;function re(e,t,r){var n=e<0?"-":"",i=(n?-e:e)+"",a=i.length;return n+(a<r?new Array(r-a+1).join(t)+i:i)}function DT(e){return e.replace(NT,"\\$&")}function un(e){return new RegExp("^(?:"+e.map(DT).join("|")+")","i")}function cn(e){return new Map(e.map((t,r)=>[t.toLowerCase(),r]))}function qT(e,t,r){var n=Ee.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function LT(e,t,r){var n=Ee.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function BT(e,t,r){var n=Ee.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function FT(e,t,r){var n=Ee.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function zT(e,t,r){var n=Ee.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function sm(e,t,r){var n=Ee.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function lm(e,t,r){var n=Ee.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function UT(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function WT(e,t,r){var n=Ee.exec(t.slice(r,r+1));return n?(e.q=n[0]*3-3,r+n[0].length):-1}function HT(e,t,r){var n=Ee.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function fm(e,t,r){var n=Ee.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function GT(e,t,r){var n=Ee.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function hm(e,t,r){var n=Ee.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function KT(e,t,r){var n=Ee.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function VT(e,t,r){var n=Ee.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function XT(e,t,r){var n=Ee.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function YT(e,t,r){var n=Ee.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function ZT(e,t,r){var n=RT.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function JT(e,t,r){var n=Ee.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function QT(e,t,r){var n=Ee.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function dm(e,t){return re(e.getDate(),t,2)}function eE(e,t){return re(e.getHours(),t,2)}function tE(e,t){return re(e.getHours()%12||12,t,2)}function rE(e,t){return re(1+li.count(xt(e),e),t,3)}function ox(e,t){return re(e.getMilliseconds(),t,3)}function nE(e,t){return ox(e,t)+"000"}function iE(e,t){return re(e.getMonth()+1,t,2)}function aE(e,t){return re(e.getMinutes(),t,2)}function oE(e,t){return re(e.getSeconds(),t,2)}function uE(e){var t=e.getDay();return t===0?7:t}function cE(e,t){return re(za.count(xt(e)-1,e),t,2)}function ux(e){var t=e.getDay();return t>=4||t===0?$r(e):$r.ceil(e)}function sE(e,t){return e=ux(e),re($r.count(xt(e),e)+(xt(e).getDay()===4),t,2)}function lE(e){return e.getDay()}function fE(e,t){return re(Yi.count(xt(e)-1,e),t,2)}function hE(e,t){return re(e.getFullYear()%100,t,2)}function dE(e,t){return e=ux(e),re(e.getFullYear()%100,t,2)}function pE(e,t){return re(e.getFullYear()%1e4,t,4)}function vE(e,t){var r=e.getDay();return e=r>=4||r===0?$r(e):$r.ceil(e),re(e.getFullYear()%1e4,t,4)}function yE(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+re(t/60|0,"0",2)+re(t%60,"0",2)}function pm(e,t){return re(e.getUTCDate(),t,2)}function mE(e,t){return re(e.getUTCHours(),t,2)}function gE(e,t){return re(e.getUTCHours()%12||12,t,2)}function bE(e,t){return re(1+Fa.count(wt(e),e),t,3)}function cx(e,t){return re(e.getUTCMilliseconds(),t,3)}function xE(e,t){return cx(e,t)+"000"}function wE(e,t){return re(e.getUTCMonth()+1,t,2)}function OE(e,t){return re(e.getUTCMinutes(),t,2)}function _E(e,t){return re(e.getUTCSeconds(),t,2)}function AE(e){var t=e.getUTCDay();return t===0?7:t}function SE(e,t){return re(Ua.count(wt(e)-1,e),t,2)}function sx(e){var t=e.getUTCDay();return t>=4||t===0?Cr(e):Cr.ceil(e)}function PE(e,t){return e=sx(e),re(Cr.count(wt(e),e)+(wt(e).getUTCDay()===4),t,2)}function TE(e){return e.getUTCDay()}function EE(e,t){return re(Zi.count(wt(e)-1,e),t,2)}function jE(e,t){return re(e.getUTCFullYear()%100,t,2)}function ME(e,t){return e=sx(e),re(e.getUTCFullYear()%100,t,2)}function $E(e,t){return re(e.getUTCFullYear()%1e4,t,4)}function CE(e,t){var r=e.getUTCDay();return e=r>=4||r===0?Cr(e):Cr.ceil(e),re(e.getUTCFullYear()%1e4,t,4)}function IE(){return"+0000"}function vm(){return"%"}function ym(e){return+e}function mm(e){return Math.floor(+e/1e3)}var hr,lx,fx;kE({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
12ay","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function kE(e){return hr=kT(e),lx=hr.format,hr.parse,fx=hr.utcFormat,hr.utcParse,hr}function RE(e){return new Date(e)}function NE(e){return e instanceof Date?+e:+new Date(+e)}function Sh(e,t,r,n,i,a,o,u,c,s){var f=fh(),l=f.invert,h=f.domain,p=s(".%L"),y=s(":%S"),v=s("%I:%M"),d=s("%I %p"),g=s("%a %d"),x=s("%b %d"),w=s("%B"),O=s("%Y");function m(b){return(c(b)<b?p:u(b)<b?y:o(b)<b?v:a(b)<b?d:n(b)<b?i(b)<b?g:x:r(b)<b?w:O)(b)}return f.invert=function(b){return new Date(l(b))},f.domain=function(b){return arguments.length?h(Array.from(b,NE)):h().map(RE)},f.ticks=function(b){var _=h();return e(_[0],_[_.length-1],b??10)},f.tickFormat=function(b,_){return _==null?m:s(_)},f.nice=function(b){var _=h();return(!b||typeof b.range!="function")&&(b=t(_[0],_[_.length-1],b??10)),b?h(Z0(_,b)):f},f.copy=function(){return si(f,Sh(e,t,r,n,i,a,o,u,c,s))},f}function DE(){return Qe.apply(Sh(CT,IT,xt,_h,za,li,wh,bh,Yt,lx).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function qE(){return Qe.apply(Sh(MT,$T,wt,Ah,Ua,Fa,Oh,xh,Yt,fx).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function Wa(){var e=0,t=1,r,n,i,a,o=Re,u=!1,c;function s(l){return l==null||isNaN(l=+l)?c:o(i===0?.5:(l=(a(l)-r)*i,u?Math.max(0,Math.min(1,l)):l))}s.domain=function(l){return arguments.length?([e,t]=l,r=a(e=+e),n=a(t=+t),i=r===n?0:1/(n-r),s):[e,t]},s.clamp=function(l){return arguments.length?(u=!!l,s):u},s.interpolator=function(l){return arguments.length?(o=l,s):o};function f(l){return function(h){var p,y;return arguments.length?([p,y]=h,o=l(p,y),s):[o(0),o(1)]}}return s.range=f(Qr),s.rangeRound=f(lh),s.unknown=function(l){return arguments.length?(c=l,s):c},function(l){return a=l,r=l(e),n=l(t),i=r===n?0:1/(n-r),s}}function Dt(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function hx(){var e=Nt(Wa()(Re));return e.copy=function(){return Dt(e,hx())},St.apply(e,arguments)}function dx(){var e=ph(Wa()).domain([1,10]);return e.copy=function(){return Dt(e,dx()).base(e.base())},St.apply(e,arguments)}function px(){var e=vh(Wa());return e.copy=function(){return Dt(e,px()).constant(e.constant())},St.apply(e,arguments)}function Ph(){var e=yh(Wa());return e.copy=function(){return Dt(e,Ph()).exponent(e.exponent())},St.apply(e,arguments)}function LE(){return Ph.apply(null,arguments).exponent(.5)}function vx(){var e=[],t=Re;function r(n){if(n!=null&&!isNaN(n=+n))return t((ui(e,n,1)-1)/(e.length-1))}return r.domain=function(n){if(!arguments.length)return e.slice();e=[];for(let i of n)i!=null&&!isNaN(i=+i)&&e.push(i);return e.sort(It),r},r.interpolator=function(n){return arguments.length?(t=n,r):t},r.range=function(){return e.map((n,i)=>t(i/(e.length-1)))},r.quantiles=function(n){return Array.from({length:n+1},(i,a)=>SP(e,a/n))},r.copy=function(){return vx(t).domain(e)},St.apply(r,arguments)}function Ha(){var e=0,t=.5,r=1,n=1,i,a,o,u,c,s=Re,f,l=!1,h;function p(v){return isNaN(v=+v)?h:(v=.5+((v=+f(v))-a)*(n*v<n*a?u:c),s(l?Math.max(0,Math.min(1,v)):v))}p.domain=function(v){return arguments.length?([e,t,r]=v,i=f(e=+e),a=f(t=+t),o=f(r=+r),u=i===a?0:.5/(a-i),c=a===o?0:.5/(o-a),n=a<i?-1:1,p):[e,t,r]},p.clamp=function(v){return arguments.length?(l=!!v,p):l},p.interpolator=function(v){return arguments.length?(s=v,p):s};function y(v){return function(d){var g,x,w;return arguments.length?([g,x,w]=d,s=ZP(v,[g,x,w]),p):[s(0),s(.5),s(1)]}}return p.range=y(Qr),p.rangeRound=y(lh),p.unknown=function(v){return arguments.length?(h=v,p):h},function(v){return f=v,i=v(e),a=v(t),o=v(r),u=i===a?0:.5/(a-i),c=a===o?0:.5/(o-a),n=a<i?-1:1,p}}function yx(){var e=Nt(Ha()(Re));return e.copy=function(){return Dt(e,yx())},St.apply(e,arguments)}function mx(){var e=ph(Ha()).domain([.1,1,10]);return e.copy=function(){return Dt(e,mx()).base(e.base())},St.apply(e,arguments)}function gx(){var e=vh(Ha());return e.copy=function(){return Dt(e,gx()).constant(e.constant())},St.apply(e,arguments)}function Th(){var e=yh(Ha());return e.copy=function(){return Dt(e,Th()).exponent(e.exponent())},St.apply(e,arguments)}function BE(){return Th.apply(null,arguments).exponent(.5)}const gm=Object.freeze(Object.defineProperty({__proto__:null,scaleBand:jn,scaleDiverging:yx,scaleDivergingLog:mx,scaleDivergingPow:Th,scaleDivergingSqrt:BE,scaleDivergingSymlog:gx,scaleIdentity:Y0,scaleImplicit:Bl,scaleLinear:Vi,scaleLog:J0,scaleOrdinal:uh,scalePoint:mn,scalePow:mh,scaleQuantile:tx,scaleQuantize:rx,scaleRadial:ex,scaleSequential:hx,scaleSequentialLog:dx,scaleSequentialPow:Ph,scaleSequentialQuantile:vx,scaleSequentialSqrt:LE,scaleSequentialSymlog:px,scaleSqrt:xT,scaleSymlog:Q0,scaleThreshold:nx,scaleTime:DE,scaleUtc:qE,tickFormat:X0},Symbol.toStringTag,{value:"Module"}));var Ts,bm;function Ga(){if(bm)return Ts;bm=1;var e=Xr();function t(r,n,i){for(var a=-1,o=r.length;++a<o;){var u=r[a],c=n(u);if(c!=null&&(s===void 0?c===c&&!e(c):i(c,s)))var s=c,f=u}return f}return Ts=t,Ts}var Es,xm;function bx(){if(xm)return Es;xm=1;function e(t,r){return t>r}return Es=e,Es}var js,wm;function FE(){if(wm)return js;wm=1;var e=Ga(),t=bx(),r=Zr();function n(i){return i&&i.length?e(i,r,t):void 0}return js=n,js}var zE=FE();const Ka=ue(zE);var Ms,Om;function xx(){if(Om)return Ms;Om=1;function e(t,r){return t<r}return Ms=e,Ms}var $s,_m;function UE(){if(_m)return $s;_m=1;var e=Ga(),t=xx(),r=Zr();function n(i){return i&&i.length?e(i,r,t):void 0}return $s=n,$s}var WE=UE();const Va=ue(WE);var Cs,Am;function HE(){if(Am)return Cs;Am=1;var e=Uf(),t=lt(),r=j0(),n=Le();function i(a,o){var u=n(a)?e:r;return u(a,t(o,3))}return Cs=i,Cs}var Is,Sm;function GE(){if(Sm)return Is;Sm=1;var e=T0(),t=HE();function r(n,i){return e(t(n,i),1)}return Is=r,Is}var KE=GE();const VE=ue(KE);var ks,Pm;function XE(){if(Pm)return ks;Pm=1;var e=rh();function t(r,n){return e(r,n)}return ks=t,ks}var YE=XE();const Xa=ue(YE);
vendor: 68,260 bytes, lines 12-39
12var en=1e9,ZE={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},jh,pe=!0,Je="[DecimalError] ",Qt=Je+"Invalid argument: ",Eh=Je+"Exponent out of range: ",tn=Math.floor,Gt=Math.pow,JE=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,We,Pe=1e7,de=7,wx=9007199254740991,Ji=tn(wx/de),U={};U.absoluteValue=U.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e};U.comparedTo=U.cmp=function(e){var t,r,n,i,a=this;if(e=new a.constructor(e),a.s!==e.s)return a.s||-e.s;if(a.e!==e.e)return a.e>e.e^a.s<0?1:-1;for(n=a.d.length,i=e.d.length,t=0,r=n<i?n:i;t<r;++t)if(a.d[t]!==e.d[t])return a.d[t]>e.d[t]^a.s<0?1:-1;return n===i?0:n>i^a.s<0?1:-1};U.decimalPlaces=U.dp=function(){var e=this,t=e.d.length-1,r=(t-e.e)*de;if(t=e.d[t],t)for(;t%10==0;t/=10)r--;return r<0?0:r};U.dividedBy=U.div=function(e){return mt(this,new this.constructor(e))};U.dividedToIntegerBy=U.idiv=function(e){var t=this,r=t.constructor;return ce(mt(t,new r(e),0,1),r.precision)};U.equals=U.eq=function(e){return!this.cmp(e)};U.exponent=function(){return be(this)};U.greaterThan=U.gt=function(e){return this.cmp(e)>0};U.greaterThanOrEqualTo=U.gte=function(e){return this.cmp(e)>=0};U.isInteger=U.isint=function(){return this.e>this.d.length-2};U.isNegative=U.isneg=function(){return this.s<0};U.isPositive=U.ispos=function(){return this.s>0};U.isZero=function(){return this.s===0};U.lessThan=U.lt=function(e){return this.cmp(e)<0};U.lessThanOrEqualTo=U.lte=function(e){return this.cmp(e)<1};U.logarithm=U.log=function(e){var t,r=this,n=r.constructor,i=n.precision,a=i+5;if(e===void 0)e=new n(10);else if(e=new n(e),e.s<1||e.eq(We))throw Error(Je+"NaN");if(r.s<1)throw Error(Je+(r.s?"NaN":"-Infinity"));return r.eq(We)?new n(0):(pe=!1,t=mt(kn(r,a),kn(e,a),a),pe=!0,ce(t,i))};U.minus=U.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?Ax(t,e):Ox(t,(e.s=-e.s,e))};U.modulo=U.mod=function(e){var t,r=this,n=r.constructor,i=n.precision;if(e=new n(e),!e.s)throw Error(Je+"NaN");return r.s?(pe=!1,t=mt(r,e,0,1).times(e),pe=!0,r.minus(t)):ce(new n(r),i)};U.naturalExponential=U.exp=function(){return _x(this)};U.naturalLogarithm=U.ln=function(){return kn(this)};U.negated=U.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e};U.plus=U.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?Ox(t,e):Ax(t,(e.s=-e.s,e))};U.precision=U.sd=function(e){var t,r,n,i=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(Qt+e);if(t=be(i)+1,n=i.d.length-1,r=n*de+1,n=i.d[n],n){for(;n%10==0;n/=10)r--;for(n=i.d[0];n>=10;n/=10)r++}return e&&t>r?t:r};U.squareRoot=U.sqrt=function(){var e,t,r,n,i,a,o,u=this,c=u.constructor;if(u.s<1){if(!u.s)return new c(0);throw Error(Je+"NaN")}for(e=be(u),pe=!1,i=Math.sqrt(+u),i==0||i==1/0?(t=at(u.d),(t.length+e)%2==0&&(t+="0"),i=Math.sqrt(t),e=tn((e+1)/2)-(e<0||e%2),i==1/0?t="5e"+e:(t=i.toExponential(),t=t.slice(0,t.indexOf("e")+1)+e),n=new c(t)):n=new c(i.toString()),r=c.precision,i=o=r+3;;)if(a=n,n=a.plus(mt(u,a,o+2)).times(.5),at(a.d).slice(0,o)===(t=at(n.d)).slice(0,o)){if(t=t.slice(o-3,o+1),i==o&&t=="4999"){if(ce(a,r+1,0),a.times(a).eq(u)){n=a;break}}else if(t!="9999")break;o+=4}return pe=!0,ce(n,r)};U.times=U.mul=function(e){var t,r,n,i,a,o,u,c,s,f=this,l=f.constructor,h=f.d,p=(e=new l(e)).d;if(!f.s||!e.s)return new l(0);for(e.s*=f.s,r=f.e+e.e,c=h.length,s=p.length,c<s&&(a=h,h=p,p=a,o=c,c=s,s=o),a=[],o=c+s,n=o;n--;)a.push(0);for(n=s;--n>=0;){for(t=0,i=c+n;i>n;)u=a[i]+p[n]*h[i-n-1]+t,a[i--]=u%Pe|0,t=u/Pe|0;a[i]=(a[i]+t)%Pe|0}for(;!a[--o];)a.pop();return t?++r:a.shift(),e.d=a,e.e=r,pe?ce(e,l.precision):e};U.toDecimalPlaces=U.todp=function(e,t){var r=this,n=r.constructor;return r=new n(r),e===void 0?r:(ct(e,0,en),t===void 0?t=n.rounding:ct(t,0,8),ce(r,e+be(r)+1,t))};U.toExponential=function(e,t){var r,n=this,i=n.constructor;return e===void 0?r=nr(n,!0):(ct(e,0,en),t===void 0?t=i.rounding:ct(t,0,8),n=ce(new i(n),e+1,t),r=nr(n,!0,e+1)),r};U.toFixed=function(e,t){var r,n,i=this,a=i.constructor;return e===void 0?nr(i):(ct(e,0,en),t===void 0?t=a.rounding:ct(t,0,8),n=ce(new a(i),e+be(i)+1,t),r=nr(n.abs(),!1,e+be(n)+1),i.isneg()&&!i.isZero()?"-"+r:r)};U.toInteger=U.toint=function(){var e=this,t=e.constructor;return ce(new t(e),be(e)+1,t.rounding)};U.toNumber=function(){return+this};U.toPower=U.pow=function(e){var t,r,n,i,a,o,u=this,c=u.constructor,s=12,f=+(e=new c(e));if(!e.s)return new c(We);if(u=new c(u),!u.s){if(e.s<1)throw Error(Je+"Infinity");return u}if(u.eq(We))return u;if(n=c.precision,e.eq(We))return ce(u,n);if(t=e.e,r=e.d.length-1,o=t>=r,a=u.s,o){if((r=f<0?-f:f)<=wx){for(i=new c(We),t=Math.ceil(n/de+4),pe=!1;r%2&&(i=i.times(u),Em(i.d,t)),r=tn(r/2),r!==0;)u=u.times(u),Em(u.d,t);return pe=!0,e.s<0?new c(We).div(i):ce(i,n)}}else if(a<0)throw Error(Je+"NaN");return a=a<0&&e.d[Math.max(t,r)]&1?-1:1,u.s=1,pe=!1,i=e.times(kn(u,n+s)),pe=!0,i=_x(i),i.s=a,i};U.toPrecision=function(e,t){var r,n,i=this,a=i.constructor;return e===void 0?(r=be(i),n=nr(i,r<=a.toExpNeg||r>=a.toExpPos)):(ct(e,1,en),t===void 0?t=a.rounding:ct(t,0,8),i=ce(new a(i),e,t),r=be(i),n=nr(i,e<=r||r<=a.toExpNeg,e)),n};U.toSignificantDigits=U.tosd=function(e,t){var r=this,n=r.constructor;return e===void 0?(e=n.precision,t=n.rounding):(ct(e,1,en),t===void 0?t=n.rounding:ct(t,0,8)),ce(new n(r),e,t)};U.toString=U.valueOf=U.val=U.toJSON=U[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=be(e),r=e.constructor;return nr(e,t<=r.toExpNeg||t>=r.toExpPos)};function Ox(e,t){var r,n,i,a,o,u,c,s,f=e.constructor,l=f.precision;if(!e.s||!t.s)return t.s||(t=new f(e)),pe?ce(t,l):t;if(c=e.d,s=t.d,o=e.e,i=t.e,c=c.slice(),a=o-i,a){for(a<0?(n=c,a=-a,u=s.length):(n=s,i=o,u=c.length),o=Math.ceil(l/de),u=o>u?o+1:u+1,a>u&&(a=u,n.length=1),n.reverse();a--;)n.push(0);n.reverse()}for(u=c.length,a=s.length,u-a<0&&(a=u,n=s,s=c,c=n),r=0;a;)r=(c[--a]=c[a]+s[a]+r)/Pe|0,c[a]%=Pe;for(r&&(c.unshift(r),++i),u=c.length;c[--u]==0;)c.pop();return t.d=c,t.e=i,pe?ce(t,l):t}function ct(e,t,r){if(e!==~~e||e<t||e>r)throw Error(Qt+e)}function at(e){var t,r,n,i=e.length-1,a="",o=e[0];if(i>0){for(a+=o,t=1;t<i;t++)n=e[t]+"",r=de-n.length,r&&(a+=Mt(r)),a+=n;o=e[t],n=o+"",r=de-n.length,r&&(a+=Mt(r))}else if(o===0)return"0";for(;o%10===0;)o/=10;return a+o}var mt=(function(){function e(n,i){var a,o=0,u=n.length;for(n=n.slice();u--;)a=n[u]*i+o,n[u]=a%Pe|0,o=a/Pe|0;return o&&n.unshift(o),n}function t(n,i,a,o){var u,c;if(a!=o)c=a>o?1:-1;else for(u=c=0;u<a;u++)if(n[u]!=i[u]){c=n[u]>i[u]?1:-1;break}return c}function r(n,i,a){for(var o=0;a--;)n[a]-=o,o=n[a]<i[a]?1:0,n[a]=o*Pe+n[a]-i[a];for(;!n[0]&&n.length>1;)n.shift()}return function(n,i,a,o){var u,c,s,f,l,h,p,y,v,d,g,x,w,O,m,b,_,A,P=n.constructor,M=n.s==i.s?1:-1,E=n.d,T=i.d;if(!n.s)return new P(n);if(!i.s)throw Error(Je+"Division by zero");for(c=n.e-i.e,_=T.length,m=E.length,p=new P(M),y=p.d=[],s=0;T[s]==(E[s]||0);)++s;if(T[s]>(E[s]||0)&&--c,a==null?x=a=P.precision:o?x=a+(be(n)-be(i))+1:x=a,x<0)return new P(0);if(x=x/de+2|0,s=0,_==1)for(f=0,T=T[0],x++;(s<m||f)&&x--;s++)w=f*Pe+(E[s]||0),y[s]=w/T|0,f=w%T|0;else{for(f=Pe/(T[0]+1)|0,f>1&&(T=e(T,f),E=e(E,f),_=T.length,m=E.length),O=_,v=E.slice(0,_),d=v.length;d<_;)v[d++]=0;A=T.slice(),A.unshift(0),b=T[0],T[1]>=Pe/2&&++b;do f=0,u=t(T,v,_,d),u<0?(g=v[0],_!=d&&(g=g*Pe+(v[1]||0)),f=g/b|0,f>1?(f>=Pe&&(f=Pe-1),l=e(T,f),h=l.length,d=v.length,u=t(l,v,h,d),u==1&&(f--,r(l,_<h?A:T,h))):(f==0&&(u=f=1),l=T.slice()),h=l.length,h<d&&l.unshift(0),r(v,l,d),u==-1&&(d=v.length,u=t(T,v,_,d),u<1&&(f++,r(v,_<d?A:T,d))),d=v.length):u===0&&(f++,v=[0]),y[s++]=f,u&&v[0]?v[d++]=E[O]||0:(v=[E[O]],d=1);while((O++<m||v[0]!==void 0)&&x--)}return y[0]||y.shift(),p.e=c,ce(p,o?a+be(p)+1:a)}})();function _x(e,t){var r,n,i,a,o,u,c=0,s=0,f=e.constructor,l=f.precision;if(be(e)>16)throw Error(Eh+be(e));if(!e.s)return new f(We);for(pe=!1,u=l,o=new f(.03125);e.abs().gte(.1);)e=e.times(o),s+=5;for(n=Math.log(Gt(2,s))/Math.LN10*2+5|0,u+=n,r=i=a=new f(We),f.precision=u;;){if(i=ce(i.times(e),u),r=r.times(++c),o=a.plus(mt(i,r,u)),at(o.d).slice(0,u)===at(a.d).slice(0,u)){for(;s--;)a=ce(a.times(a),u);return f.precision=l,t==null?(pe=!0,ce(a,l)):a}a=o}}function be(e){for(var t=e.e*de,r=e.d[0];r>=10;r/=10)t++;return t}function Rs(e,t,r){if(t>e.LN10.sd())throw pe=!0,r&&(e.precision=r),Error(Je+"LN10 precision limit exceeded");return ce(new e(e.LN10),t)}function Mt(e){for(var t="";e--;)t+="0";return t}function kn(e,t){var r,n,i,a,o,u,c,s,f,l=1,h=10,p=e,y=p.d,v=p.constructor,d=v.precision;if(p.s<1)throw Error(Je+(p.s?"NaN":"-Infinity"));if(p.eq(We))return new v(0);if(t==null?(pe=!1,s=d):s=t,p.eq(10))return t==null&&(pe=!0),Rs(v,s);if(s+=h,v.precision=s,r=at(y),n=r.charAt(0),a=be(p),Math.abs(a)<15e14){for(;n<7&&n!=1||n==1&&r.charAt(1)>3;)p=p.times(e),r=at(p.d),n=r.charAt(0),l++;a=be(p),n>1?(p=new v("0."+r),a++):p=new v(n+"."+r.slice(1))}else return c=Rs(v,s+2,d).times(a+""),p=kn(new v(n+"."+r.slice(1)),s-h).plus(c),v.precision=d,t==null?(pe=!0,ce(p,d)):p;for(u=o=p=mt(p.minus(We),p.plus(We),s),f=ce(p.times(p),s),i=3;;){if(o=ce(o.times(f),s),c=u.plus(mt(o,new v(i),s)),at(c.d).slice(0,s)===at(u.d).slice(0,s))return u=u.times(2),a!==0&&(u=u.plus(Rs(v,s+2,d).times(a+""))),u=mt(u,new v(l),s),v.precision=d,t==null?(pe=!0,ce(u,d)):u;u=c,i+=2}}function Tm(e,t){var r,n,i;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;t.charCodeAt(n)===48;)++n;for(i=t.length;t.charCodeAt(i-1)===48;)--i;if(t=t.slice(n,i),t){if(i-=n,r=r-n-1,e.e=tn(r/de),e.d=[],n=(r+1)%de,r<0&&(n+=de),n<i){for(n&&e.d.push(+t.slice(0,n)),i-=de;n<i;)e.d.push(+t.slice(n,n+=de));t=t.slice(n),n=de-t.length}else n-=i;for(;n--;)t+="0";if(e.d.push(+t),pe&&(e.e>Ji||e.e<-Ji))throw Error(Eh+r)}else e.s=0,e.e=0,e.d=[0];return e}function ce(e,t,r){var n,i,a,o,u,c,s,f,l=e.d;for(o=1,a=l[0];a>=10;a/=10)o++;if(n=t-o,n<0)n+=de,i=t,s=l[f=0];else{if(f=Math.ceil((n+1)/de),a=l.length,f>=a)return e;for(s=a=l[f],o=1;a>=10;a/=10)o++;n%=de,i=n-de+o}if(r!==void 0&&(a=Gt(10,o-i-1),u=s/a%10|0,c=t<0||l[f+1]!==void 0||s%a,c=r<4?(u||c)&&(r==0||r==(e.s<0?3:2)):u>5||u==5&&(r==4||c||r==6&&(n>0?i>0?s/Gt(10,o-i):0:l[f-1])%10&1||r==(e.s<0?8:7))),t<1||!l[0])return c?(a=be(e),l.length=1,t=t-a-1,l[0]=Gt(10,(de-t%de)%de),e.e=tn(-t/de)||0):(l.length=1,l[0]=e.e=e.s=0),e;if(n==0?(l.length=f,a=1,f--):(l.length=f+1,a=Gt(10,de-n),l[f]=i>0?(s/Gt(10,o-i)%Gt(10,i)|0)*a:0),c)for(;;)if(f==0){(l[0]+=a)==Pe&&(l[0]=1,++e.e);break}else{if(l[f]+=a,l[f]!=Pe)break;l[f--]=0,a=1}for(n=l.length;l[--n]===0;)l.pop();if(pe&&(e.e>Ji||e.e<-Ji))throw Error(Eh+be(e));return e}function Ax(e,t){var r,n,i,a,o,u,c,s,f,l,h=e.constructor,p=h.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new h(e),pe?ce(t,p):t;if(c=e.d,l=t.d,n=t.e,s=e.e,c=c.slice(),o=s-n,o){for(f=o<0,f?(r=c,o=-o,u=l.length):(r=l,n=s,u=c.length),i=Math.max(Math.ceil(p/de),u)+2,o>i&&(o=i,r.length=1),r.reverse(),i=o;i--;)r.push(0);r.reverse()}else{for(i=c.length,u=l.length,f=i<u,f&&(u=i),i=0;i<u;i++)if(c[i]!=l[i]){f=c[i]<l[i];break}o=0}for(f&&(r=c,c=l,l=r,t.s=-t.s),u=c.length,i=l.length-u;i>0;--i)c[u++]=0;for(i=l.length;i>o;){if(c[--i]<l[i]){for(a=i;a&&c[--a]===0;)c[a]=Pe-1;--c[a],c[i]+=Pe}c[i]-=l[i]}for(;c[--u]===0;)c.pop();for(;c[0]===0;c.shift())--n;return c[0]?(t.d=c,t.e=n,pe?ce(t,p):t):new h(0)}function nr(e,t,r){var n,i=be(e),a=at(e.d),o=a.length;return t?(r&&(n=r-o)>0?a=a.charAt(0)+"."+a.slice(1)+Mt(n):o>1&&(a=a.charAt(0)+"."+a.slice(1)),a=a+(i<0?"e":"e+")+i):i<0?(a="0."+Mt(-i-1)+a,r&&(n=r-o)>0&&(a+=Mt(n))):i>=o?(a+=Mt(i+1-o),r&&(n=r-i-1)>0&&(a=a+"."+Mt(n))):((n=i+1)<o&&(a=a.slice(0,n)+"."+a.slice(n)),r&&(n=r-o)>0&&(i+1===o&&(a+="."),a+=Mt(n))),e.s<0?"-"+a:a}function Em(e,t){if(e.length>t)return e.length=t,!0}function Sx(e){var t,r,n;function i(a){var o=this;if(!(o instanceof i))return new i(a);if(o.constructor=i,a instanceof i){o.s=a.s,o.e=a.e,o.d=(a=a.d)?a.slice():a;return}if(typeof a=="number"){if(a*0!==0)throw Error(Qt+a);if(a>0)o.s=1;else if(a<0)a=-a,o.s=-1;else{o.s=0,o.e=0,o.d=[0];return}if(a===~~a&&a<1e7){o.e=0,o.d=[a];return}return Tm(o,a.toString())}else if(typeof a!="string")throw Error(Qt+a);if(a.charCodeAt(0)===45?(a=a.slice(1),o.s=-1):o.s=1,JE.test(a))Tm(o,a);else throw Error(Qt+a)}if(i.prototype=U,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=Sx,i.config=i.set=QE,e===void 0&&(e={}),e)for(n=["precision","rounding","toExpNeg","toExpPos","LN10"],t=0;t<n.length;)e.hasOwnProperty(r=n[t++])||(e[r]=this[r]);return i.config(e),i}function QE(e){if(!e||typeof e!="object")throw Error(Je+"Object expected");var t,r,n,i=["precision",1,en,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<i.length;t+=3)if((n=e[r=i[t]])!==void 0)if(tn(n)===n&&n>=i[t+1]&&n<=i[t+2])this[r]=n;else throw Error(Qt+r+": "+n);if((n=e[r="LN10"])!==void 0)if(n==Math.LN10)this[r]=new this(n);else throw Error(Qt+r+": "+n);return this}var jh=Sx(ZE);We=new jh(1);const oe=jh;function ej(e){return ij(e)||nj(e)||rj(e)||tj()}function tj(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 13In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rj(e,t){if(e){if(typeof e=="string")return Wl(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Wl(e,t)}}function nj(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function ij(e){if(Array.isArray(e))return Wl(e)}function Wl(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var aj=function(t){return t},Px={},Tx=function(t){return t===Px},jm=function(t){return function r(){return arguments.length===0||arguments.length===1&&Tx(arguments.length<=0?void 0:arguments[0])?r:t.apply(void 0,arguments)}},oj=function e(t,r){return t===1?r:jm(function(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];var o=i.filter(function(u){return u!==Px}).length;return o>=t?r.apply(void 0,i):e(t-o,jm(function(){for(var u=arguments.length,c=new Array(u),s=0;s<u;s++)c[s]=arguments[s];var f=i.map(function(l){return Tx(l)?c.shift():l});return r.apply(void 0,ej(f).concat(c))}))})},Ya=function(t){return oj(t.length,t)},Hl=function(t,r){for(var n=[],i=t;i<r;++i)n[i-t]=i;return n},uj=Ya(function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map(function(r){return t[r]}).map(e)}),cj=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];if(!r.length)return aj;var i=r.reverse(),a=i[0],o=i.slice(1);return function(){return o.reduce(function(u,c){return c(u)},a.apply(void 0,arguments))}},Gl=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},Ex=function(t){var r=null,n=null;return function(){for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r&&a.every(function(u,c){return u===r[c]})||(r=a,n=t.apply(void 0,a)),n}};function sj(e){var t;return e===0?t=1:t=Math.floor(new oe(e).abs().log(10).toNumber())+1,t}function lj(e,t,r){for(var n=new oe(e),i=0,a=[];n.lt(t)&&i<1e5;)a.push(n.toNumber()),n=n.add(r),i++;return a}var fj=Ya(function(e,t,r){var n=+e,i=+t;return n+r*(i-n)}),hj=Ya(function(e,t,r){var n=t-+e;return n=n||1/0,(r-e)/n}),dj=Ya(function(e,t,r){var n=t-+e;return n=n||1/0,Math.max(0,Math.min(1,(r-e)/n))});const Za={rangeStep:lj,getDigitCount:sj,interpolateNumber:fj,uninterpolateNumber:hj,uninterpolateTruncation:dj};function Kl(e){return yj(e)||vj(e)||jx(e)||pj()}function pj(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 14In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function vj(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function yj(e){if(Array.isArray(e))return Vl(e)}function Rn(e,t){return bj(e)||gj(e,t)||jx(e,t)||mj()}function mj(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 15In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function jx(e,t){if(e){if(typeof e=="string")return Vl(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Vl(e,t)}}function Vl(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function gj(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var r=[],n=!0,i=!1,a=void 0;try{for(var o=e[Symbol.iterator](),u;!(n=(u=o.next()).done)&&(r.push(u.value),!(t&&r.length===t));n=!0);}catch(c){i=!0,a=c}finally{try{!n&&o.return!=null&&o.return()}finally{if(i)throw a}}return r}}function bj(e){if(Array.isArray(e))return e}function Mx(e){var t=Rn(e,2),r=t[0],n=t[1],i=r,a=n;return r>n&&(i=n,a=r),[i,a]}function $x(e,t,r){if(e.lte(0))return new oe(0);var n=Za.getDigitCount(e.toNumber()),i=new oe(10).pow(n),a=e.div(i),o=n!==1?.05:.1,u=new oe(Math.ceil(a.div(o).toNumber())).add(r).mul(o),c=u.mul(i);return t?c:new oe(Math.ceil(c))}function xj(e,t,r){var n=1,i=new oe(e);if(!i.isint()&&r){var a=Math.abs(e);a<1?(n=new oe(10).pow(Za.getDigitCount(e)-1),i=new oe(Math.floor(i.div(n).toNumber())).mul(n)):a>1&&(i=new oe(Math.floor(e)))}else e===0?i=new oe(Math.floor((t-1)/2)):r||(i=new oe(Math.floor(e)));var o=Math.floor((t-1)/2),u=cj(uj(function(c){return i.add(new oe(c-o).mul(n)).toNumber()}),Hl);return u(0,t)}function Cx(e,t,r,n){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;if(!Number.isFinite((t-e)/(r-1)))return{step:new oe(0),tickMin:new oe(0),tickMax:new oe(0)};var a=$x(new oe(t).sub(e).div(r-1),n,i),o;e<=0&&t>=0?o=new oe(0):(o=new oe(e).add(t).div(2),o=o.sub(new oe(o).mod(a)));var u=Math.ceil(o.sub(e).div(a).toNumber()),c=Math.ceil(new oe(t).sub(o).div(a).toNumber()),s=u+c+1;return s>r?Cx(e,t,r,n,i+1):(s<r&&(c=t>0?c+(r-s):c,u=t>0?u:u+(r-s)),{step:a,tickMin:o.sub(new oe(u).mul(a)),tickMax:o.add(new oe(c).mul(a))})}function wj(e){var t=Rn(e,2),r=t[0],n=t[1],i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,o=Math.max(i,2),u=Mx([r,n]),c=Rn(u,2),s=c[0],f=c[1];if(s===-1/0||f===1/0){var l=f===1/0?[s].concat(Kl(Hl(0,i-1).map(function(){return 1/0}))):[].concat(Kl(Hl(0,i-1).map(function(){return-1/0})),[f]);return r>n?Gl(l):l}if(s===f)return xj(s,i,a);var h=Cx(s,f,o,a),p=h.step,y=h.tickMin,v=h.tickMax,d=Za.rangeStep(y,v.add(new oe(.1).mul(p)),p);return r>n?Gl(d):d}function Oj(e,t){var r=Rn(e,2),n=r[0],i=r[1],a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,o=Mx([n,i]),u=Rn(o,2),c=u[0],s=u[1];if(c===-1/0||s===1/0)return[n,i];if(c===s)return[c];var f=Math.max(t,2),l=$x(new oe(s).sub(c).div(f-1),a,0),h=[].concat(Kl(Za.rangeStep(new oe(c),new oe(s).sub(new oe(.99).mul(l)),l)),[s]);return n>i?Gl(h):h}var _j=Ex(wj),Aj=Ex(Oj),Sj="Invariant failed";function ir(e,t){throw new Error(Sj)}var Pj=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function Ir(e){"@babel/helpers - typeof";return Ir=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ir(e)}function Qi(){return Qi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Qi.apply(this,arguments)}function Tj(e,t){return $j(e)||Mj(e,t)||jj(e,t)||Ej()}function Ej(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 16In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function jj(e,t){if(e){if(typeof e=="string")return Mm(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Mm(e,t)}}function Mm(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Mj(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,a,o,u=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,t!==0)for(;!(c=(n=a.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(f){s=!0,i=f}finally{try{if(!c&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(s)throw i}}return u}}function $j(e){if(Array.isArray(e))return e}function Cj(e,t){if(e==null)return{};var r=Ij(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Ij(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function kj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rj(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Rx(n.key),n)}}function Nj(e,t,r){return t&&Rj(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Dj(e,t,r){return t=ea(t),qj(e,Ix()?Reflect.construct(t,r||[],ea(e).constructor):t.apply(e,r))}function qj(e,t){if(t&&(Ir(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Lj(e)}function Lj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ix(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Ix=function(){return!!e})()}function ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ea(e)}function Bj(e,t){if(typeof t!="function"&&t!==null)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&&Xl(e,t)}function Xl(e,t){return Xl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Xl(e,t)}function kx(e,t,r){return t=Rx(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rx(e){var t=Fj(e,"string");return Ir(t)=="symbol"?t:t+""}function Fj(e,t){if(Ir(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Ir(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Ja=(function(e){function t(){return kj(this,t),Dj(this,t,arguments)}return Bj(t,e),Nj(t,[{key:"render",value:function(){var n=this.props,i=n.offset,a=n.layout,o=n.width,u=n.dataKey,c=n.data,s=n.dataPointFormatter,f=n.xAxis,l=n.yAxis,h=Cj(n,Pj),p=X(h,!1);this.props.direction==="x"&&f.type!=="number"&&ir();var y=c.map(function(v){var d=s(v,u),g=d.x,x=d.y,w=d.value,O=d.errorVal;if(!O)return null;var m=[],b,_;if(Array.isArray(O)){var A=Tj(O,2);b=A[0],_=A[1]}else b=_=O;if(a==="vertical"){var P=f.scale,M=x+i,E=M+o,T=M-o,j=P(w-b),C=P(w+_);m.push({x1:C,y1:E,x2:C,y2:T}),m.push({x1:j,y1:M,x2:C,y2:M}),m.push({x1:j,y1:E,x2:j,y2:T})}else if(a==="horizontal"){var $=l.scale,k=g+i,N=k-o,L=k+o,B=$(w-b),W=$(w+_);m.push({x1:N,y1:W,x2:L,y2:W}),m.push({x1:k,y1:B,x2:k,y2:W}),m.push({x1:N,y1:B,x2:L,y2:B})}return S.createElement(ae,Qi({className:"recharts-errorBar",key:"bar-".concat(m.map(function(K){return"".concat(K.x1,"-").concat(K.x2,"-").concat(K.y1,"-").concat(K.y2)}))},p),m.map(function(K){return S.createElement("line",Qi({},K,{key:"line-".concat(K.x1,"-").concat(K.x2,"-").concat(K.y1,"-").concat(K.y2)}))}))});return S.createElement(ae,{className:"recharts-errorBars"},y)}}])})(S.Component);kx(Ja,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"});kx(Ja,"displayName","ErrorBar");function Nn(e){"@babel/helpers - typeof";return Nn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Nn(e)}function $m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function zt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?$m(Object(r),!0).forEach(function(n){zj(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$m(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function zj(e,t,r){return t=Uj(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uj(e){var t=Wj(e,"string");return Nn(t)=="symbol"?t:t+""}function Wj(e,t){if(Nn(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Nn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Nx=function(t){var r=t.children,n=t.formattedGraphicalItems,i=t.legendWidth,a=t.legendContent,o=ze(r,xr);if(!o)return null;var u=xr.defaultProps,c=u!==void 0?zt(zt({},u),o.props):{},s;return o.props&&o.props.payload?s=o.props&&o.props.payload:a==="children"?s=(n||[]).reduce(function(f,l){var h=l.item,p=l.props,y=p.sectors||p.data||[];return f.concat(y.map(function(v){return{type:o.props.iconType||h.props.legendType,value:v.name,color:v.fill,payload:v}}))},[]):s=(n||[]).map(function(f){var l=f.item,h=l.type.defaultProps,p=h!==void 0?zt(zt({},h),l.props):{},y=p.dataKey,v=p.name,d=p.legendType,g=p.hide;return{inactive:g,dataKey:y,type:c.iconType||d||"square",color:Mh(l),value:v||y,payload:p}}),zt(zt(zt({},c),xr.getWithHeight(o,i)),{},{payload:s,item:o})};function Dn(e){"@babel/helpers - typeof";return Dn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Dn(e)}function Cm(e){return Vj(e)||Kj(e)||Gj(e)||Hj()}function Hj(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 17In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Gj(e,t){if(e){if(typeof e=="string")return Yl(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Yl(e,t)}}function Kj(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Vj(e){if(Array.isArray(e))return Yl(e)}function Yl(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Im(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function ye(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Im(Object(r),!0).forEach(function(n){Or(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Im(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Or(e,t,r){return t=Xj(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xj(e){var t=Yj(e,"string");return Dn(t)=="symbol"?t:t+""}function Yj(e,t){if(Dn(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Dn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ce(e,t,r){return ee(e)||ee(t)?r:Ae(t)?He(e,t,r):Y(t)?t(e):r}function gn(e,t,r,n){var i=VE(e,function(u){return Ce(u,t)});if(r==="number"){var a=i.filter(function(u){return q(u)||parseFloat(u)});return a.length?[Va(a),Ka(a)]:[1/0,-1/0]}var o=n?i.filter(function(u){return!ee(u)}):i;return o.map(function(u){return Ae(u)||u instanceof Date?u:""})}var Zj=function(t){var r,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],i=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0,o=-1,u=(r=n?.length)!==null&&r!==void 0?r:0;if(u<=1)return 0;if(a&&a.axisType==="angleAxis"&&Math.abs(Math.abs(a.range[1]-a.range[0])-360)<=1e-6)for(var c=a.range,s=0;s<u;s++){var f=s>0?i[s-1].coordinate:i[u-1].coordinate,l=i[s].coordinate,h=s>=u-1?i[0].coordinate:i[s+1].coordinate,p=void 0;if(Ie(l-f)!==Ie(h-l)){var y=[];if(Ie(h-l)===Ie(c[1]-c[0])){p=h;var v=l+c[1]-c[0];y[0]=Math.min(v,(v+f)/2),y[1]=Math.max(v,(v+f)/2)}else{p=f;var d=h+c[1]-c[0];y[0]=Math.min(l,(d+l)/2),y[1]=Math.max(l,(d+l)/2)}var g=[Math.min(l,(p+l)/2),Math.max(l,(p+l)/2)];if(t>g[0]&&t<=g[1]||t>=y[0]&&t<=y[1]){o=i[s].index;break}}else{var x=Math.min(f,h),w=Math.max(f,h);if(t>(x+l)/2&&t<=(w+l)/2){o=i[s].index;break}}}else for(var O=0;O<u;O++)if(O===0&&t<=(n[O].coordinate+n[O+1].coordinate)/2||O>0&&O<u-1&&t>(n[O].coordinate+n[O-1].coordinate)/2&&t<=(n[O].coordinate+n[O+1].coordinate)/2||O===u-1&&t>(n[O].coordinate+n[O-1].coordinate)/2){o=n[O].index;break}return o},Mh=function(t){var r,n=t,i=n.type.displayName,a=(r=t.type)!==null&&r!==void 0&&r.defaultProps?ye(ye({},t.type.defaultProps),t.props):t.props,o=a.stroke,u=a.fill,c;switch(i){case"Line":c=o;break;case"Area":case"Radar":c=o&&o!=="none"?o:u;break;default:c=u;break}return c},Jj=function(t){var r=t.barSize,n=t.totalSize,i=t.stackGroups,a=i===void 0?{}:i;if(!a)return{};for(var o={},u=Object.keys(a),c=0,s=u.length;c<s;c++)for(var f=a[u[c]].stackGroups,l=Object.keys(f),h=0,p=l.length;h<p;h++){var y=f[l[h]],v=y.items,d=y.cateAxisId,g=v.filter(function(_){return yt(_.type).indexOf("Bar")>=0});if(g&&g.length){var x=g[0].type.defaultProps,w=x!==void 0?ye(ye({},x),g[0].props):g[0].props,O=w.barSize,m=w[d];o[m]||(o[m]=[]);var b=ee(O)?r:O;o[m].push({item:g[0],stackList:g.slice(1),barSize:ee(b)?void 0:ke(b,n,0)})}}return o},Qj=function(t){var r=t.barGap,n=t.barCategoryGap,i=t.bandSize,a=t.sizeList,o=a===void 0?[]:a,u=t.maxBarSize,c=o.length;if(c<1)return null;var s=ke(r,i,0,!0),f,l=[];if(o[0].barSize===+o[0].barSize){var h=!1,p=i/c,y=o.reduce(function(O,m){return O+m.barSize||0},0);y+=(c-1)*s,y>=i&&(y-=(c-1)*s,s=0),y>=i&&p>0&&(h=!0,p*=.9,y=c*p);var v=(i-y)/2>>0,d={offset:v-s,size:0};f=o.reduce(function(O,m){var b={item:m.item,position:{offset:d.offset+d.size+s,size:h?p:m.barSize}},_=[].concat(Cm(O),[b]);return d=_[_.length-1].position,m.stackList&&m.stackList.length&&m.stackList.forEach(function(A){_.push({item:A,position:d})}),_},l)}else{var g=ke(n,i,0,!0);i-2*g-(c-1)*s<=0&&(s=0);var x=(i-2*g-(c-1)*s)/c;x>1&&(x>>=0);var w=u===+u?Math.min(x,u):x;f=o.reduce(function(O,m,b){var _=[].concat(Cm(O),[{item:m.item,position:{offset:g+(x+s)*b+(x-w)/2,size:w}}]);return m.stackList&&m.stackList.length&&m.stackList.forEach(function(A){_.push({item:A,position:_[_.length-1].position})}),_},l)}return f},eM=function(t,r,n,i){var a=n.children,o=n.width,u=n.margin,c=o-(u.left||0)-(u.right||0),s=Nx({children:a,legendWidth:c});if(s){var f=i||{},l=f.width,h=f.height,p=s.align,y=s.verticalAlign,v=s.layout;if((v==="vertical"||v==="horizontal"&&y==="middle")&&p!=="center"&&q(t[p]))return ye(ye({},t),{},Or({},p,t[p]+(l||0)));if((v==="horizontal"||v==="vertical"&&p==="center")&&y!=="middle"&&q(t[y]))return ye(ye({},t),{},Or({},y,t[y]+(h||0)))}return t},tM=function(t,r,n){return ee(r)?!0:t==="horizontal"?r==="yAxis":t==="vertical"||n==="x"?r==="xAxis":n==="y"?r==="yAxis":!0},Dx=function(t,r,n,i,a){var o=r.props.children,u=Ze(o,Ja).filter(function(s){return tM(i,a,s.props.direction)});if(u&&u.length){var c=u.map(function(s){return s.props.dataKey});return t.reduce(function(s,f){var l=Ce(f,n);if(ee(l))return s;var h=Array.isArray(l)?[Va(l),Ka(l)]:[l,l],p=c.reduce(function(y,v){var d=Ce(f,v,0),g=h[0]-Math.abs(Array.isArray(d)?d[0]:d),x=h[1]+Math.abs(Array.isArray(d)?d[1]:d);return[Math.min(g,y[0]),Math.max(x,y[1])]},[1/0,-1/0]);return[Math.min(p[0],s[0]),Math.max(p[1],s[1])]},[1/0,-1/0])}return null},rM=function(t,r,n,i,a){var o=r.map(function(u){return Dx(t,u,n,a,i)}).filter(function(u){return!ee(u)});return o&&o.length?o.reduce(function(u,c){return[Math.min(u[0],c[0]),Math.max(u[1],c[1])]},[1/0,-1/0]):null},qx=function(t,r,n,i,a){var o=r.map(function(c){var s=c.props.dataKey;return n==="number"&&s&&Dx(t,c,s,i)||gn(t,s,n,a)});if(n==="number")return o.reduce(function(c,s){return[Math.min(c[0],s[0]),Math.max(c[1],s[1])]},[1/0,-1/0]);var u={};return o.reduce(function(c,s){for(var f=0,l=s.length;f<l;f++)u[s[f]]||(u[s[f]]=!0,c.push(s[f]));return c},[])},Lx=function(t,r){return t==="horizontal"&&r==="xAxis"||t==="vertical"&&r==="yAxis"||t==="centric"&&r==="angleAxis"||t==="radial"&&r==="radiusAxis"},Bx=function(t,r,n,i){if(i)return t.map(function(c){return c.coordinate});var a,o,u=t.map(function(c){return c.coordinate===r&&(a=!0),c.coordinate===n&&(o=!0),c.coordinate});return a||u.push(r),o||u.push(n),u},vt=function(t,r,n){if(!t)return null;var i=t.scale,a=t.duplicateDomain,o=t.type,u=t.range,c=t.realScaleType==="scaleBand"?i.bandwidth()/2:2,s=(r||n)&&o==="category"&&i.bandwidth?i.bandwidth()/c:0;if(s=t.axisType==="angleAxis"&&u?.length>=2?Ie(u[0]-u[1])*2*s:s,r&&(t.ticks||t.niceTicks)){var f=(t.ticks||t.niceTicks).map(function(l){var h=a?a.indexOf(l):l;return{coordinate:i(h)+s,value:l,offset:s}});return f.filter(function(l){return!ii(l.coordinate)})}return t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map(function(l,h){return{coordinate:i(l)+s,value:l,index:h,offset:s}}):i.ticks&&!n?i.ticks(t.tickCount).map(function(l){return{coordinate:i(l)+s,value:l,offset:s}}):i.domain().map(function(l,h){return{coordinate:i(l)+s,value:a?a[l]:l,index:h,offset:s}})},Ns=new WeakMap,wi=function(t,r){if(typeof r!="function")return t;Ns.has(t)||Ns.set(t,new WeakMap);var n=Ns.get(t);if(n.has(r))return n.get(r);var i=function(){t.apply(void 0,arguments),r.apply(void 0,arguments)};return n.set(r,i),i},Fx=function(t,r,n){var i=t.scale,a=t.type,o=t.layout,u=t.axisType;if(i==="auto")return o==="radial"&&u==="radiusAxis"?{scale:jn(),realScaleType:"band"}:o==="radial"&&u==="angleAxis"?{scale:Vi(),realScaleType:"linear"}:a==="category"&&r&&(r.indexOf("LineChart")>=0||r.indexOf("AreaChart")>=0||r.indexOf("ComposedChart")>=0&&!n)?{scale:mn(),realScaleType:"point"}:a==="category"?{scale:jn(),realScaleType:"band"}:{scale:Vi(),realScaleType:"linear"};if(er(i)){var c="scale".concat(Ca(i));return{scale:(gm[c]||mn)(),realScaleType:gm[c]?c:"point"}}return Y(i)?{scale:i}:{scale:mn(),realScaleType:"point"}},km=1e-4,zx=function(t){var r=t.domain();if(!(!r||r.length<=2)){var n=r.length,i=t.range(),a=Math.min(i[0],i[1])-km,o=Math.max(i[0],i[1])+km,u=t(r[0]),c=t(r[n-1]);(u<a||u>o||c<a||c>o)&&t.domain([r[0],r[n-1]])}},nM=function(t,r){if(!t)return null;for(var n=0,i=t.length;n<i;n++)if(t[n].item===r)return t[n].position;return null},iM=function(t,r){if(!r||r.length!==2||!q(r[0])||!q(r[1]))return t;var n=Math.min(r[0],r[1]),i=Math.max(r[0],r[1]),a=[t[0],t[1]];return(!q(t[0])||t[0]<n)&&(a[0]=n),(!q(t[1])||t[1]>i)&&(a[1]=i),a[0]>i&&(a[0]=i),a[1]<n&&(a[1]=n),a},aM=function(t){var r=t.length;if(!(r<=0))for(var n=0,i=t[0].length;n<i;++n)for(var a=0,o=0,u=0;u<r;++u){var c=ii(t[u][n][1])?t[u][n][0]:t[u][n][1];c>=0?(t[u][n][0]=a,t[u][n][1]=a+c,a=t[u][n][1]):(t[u][n][0]=o,t[u][n][1]=o+c,o=t[u][n][1])}},oM=function(t){var r=t.length;if(!(r<=0))for(var n=0,i=t[0].length;n<i;++n)for(var a=0,o=0;o<r;++o){var u=ii(t[o][n][1])?t[o][n][0]:t[o][n][1];u>=0?(t[o][n][0]=a,t[o][n][1]=a+u,a=t[o][n][1]):(t[o][n][0]=0,t[o][n][1]=0)}},uM={sign:aM,expand:V_,none:Sr,silhouette:X_,wiggle:Y_,positive:oM},cM=function(t,r,n){var i=r.map(function(u){return u.props.dataKey}),a=uM[n],o=K_().keys(i).value(function(u,c){return+Ce(u,c,0)}).order(Pl).offset(a);return o(t)},sM=function(t,r,n,i,a,o){if(!t)return null;var u=o?r.reverse():r,c={},s=u.reduce(function(l,h){var p,y=(p=h.type)!==null&&p!==void 0&&p.defaultProps?ye(ye({},h.type.defaultProps),h.props):h.props,v=y.stackId,d=y.hide;if(d)return l;var g=y[n],x=l[g]||{hasStack:!1,stackGroups:{}};if(Ae(v)){var w=x.stackGroups[v]||{numericAxisId:n,cateAxisId:i,items:[]};w.items.push(h),x.hasStack=!0,x.stackGroups[v]=w}else x.stackGroups[ai("_stackId_")]={numericAxisId:n,cateAxisId:i,items:[h]};return ye(ye({},l),{},Or({},g,x))},c),f={};return Object.keys(s).reduce(function(l,h){var p=s[h];if(p.hasStack){var y={};p.stackGroups=Object.keys(p.stackGroups).reduce(function(v,d){var g=p.stackGroups[d];return ye(ye({},v),{},Or({},d,{numericAxisId:n,cateAxisId:i,items:g.items,stackedData:cM(t,g.items,a)}))},y)}return ye(ye({},l),{},Or({},h,p))},f)},Ux=function(t,r){var n=r.realScaleType,i=r.type,a=r.tickCount,o=r.originalDomain,u=r.allowDecimals,c=n||r.scale;if(c!=="auto"&&c!=="linear")return null;if(a&&i==="number"&&o&&(o[0]==="auto"||o[1]==="auto")){var s=t.domain();if(!s.length)return null;var f=_j(s,a,u);return t.domain([Va(f),Ka(f)]),{niceTicks:f}}if(a&&i==="number"){var l=t.domain(),h=Aj(l,a,u);return{niceTicks:h}}return null},Rm=function(t){var r=t.axis,n=t.ticks,i=t.offset,a=t.bandSize,o=t.entry,u=t.index;if(r.type==="category")return n[u]?n[u].coordinate+i:null;var c=Ce(o,r.dataKey,r.domain[u]);return ee(c)?null:r.scale(c)-a/2+i},lM=function(t){var r=t.numericAxis,n=r.scale.domain();if(r.type==="number"){var i=Math.min(n[0],n[1]),a=Math.max(n[0],n[1]);return i<=0&&a>=0?0:a<0?a:i}return n[0]},fM=function(t,r){var n,i=(n=t.type)!==null&&n!==void 0&&n.defaultProps?ye(ye({},t.type.defaultProps),t.props):t.props,a=i.stackId;if(Ae(a)){var o=r[a];if(o){var u=o.items.indexOf(t);return u>=0?o.stackedData[u]:null}}return null},hM=function(t){return t.reduce(function(r,n){return[Va(n.concat([r[0]]).filter(q)),Ka(n.concat([r[1]]).filter(q))]},[1/0,-1/0])},Wx=function(t,r,n){return Object.keys(t).reduce(function(i,a){var o=t[a],u=o.stackedData,c=u.reduce(function(s,f){var l=hM(f.slice(r,n+1));return[Math.min(s[0],l[0]),Math.max(s[1],l[1])]},[1/0,-1/0]);return[Math.min(c[0],i[0]),Math.max(c[1],i[1])]},[1/0,-1/0]).map(function(i){return i===1/0||i===-1/0?0:i})},Nm=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,Dm=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,Zl=function(t,r,n){if(Y(t))return t(r,n);if(!Array.isArray(t))return r;var i=[];if(q(t[0]))i[0]=n?t[0]:Math.min(t[0],r[0]);else if(Nm.test(t[0])){var a=+Nm.exec(t[0])[1];i[0]=r[0]-a}else Y(t[0])?i[0]=t[0](r[0]):i[0]=r[0];if(q(t[1]))i[1]=n?t[1]:Math.max(t[1],r[1]);else if(Dm.test(t[1])){var o=+Dm.exec(t[1])[1];i[1]=r[1]+o}else Y(t[1])?i[1]=t[1](r[1]):i[1]=r[1];return i},ta=function(t,r,n){if(t&&t.scale&&t.scale.bandwidth){var i=t.scale.bandwidth();if(!n||i>0)return i}if(t&&r&&r.length>=2){for(var a=ih(r,function(l){return l.coordinate}),o=1/0,u=1,c=a.length;u<c;u++){var s=a[u],f=a[u-1];o=Math.min((s.coordinate||0)-(f.coordinate||0),o)}return o===1/0?0:o}return n?void 0:0},qm=function(t,r,n){return!t||!t.length||Xa(t,He(n,"type.defaultProps.domain"))?r:t},Hx=function(t,r){var n=t.type.defaultProps?ye(ye({},t.type.defaultProps),t.props):t.props,i=n.dataKey,a=n.name,o=n.unit,u=n.formatter,c=n.tooltipType,s=n.chartType,f=n.hide;return ye(ye({},X(t,!1)),{},{dataKey:i,unit:o,formatter:u,name:a||i,color:Mh(t),value:Ce(r,i),type:c,payload:r,chartType:s,hide:f})};function qn(e){"@babel/helpers - typeof";return qn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qn(e)}function Lm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function ht(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Lm(Object(r),!0).forEach(function(n){Gx(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Lm(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Gx(e,t,r){return t=dM(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dM(e){var t=pM(e,"string");return qn(t)=="symbol"?t:t+""}function pM(e,t){if(qn(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(qn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function vM(e,t){return bM(e)||gM(e,t)||mM(e,t)||yM()}function yM(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 18In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mM(e,t){if(e){if(typeof e=="string")return Bm(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Bm(e,t)}}function Bm(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function gM(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,a,o,u=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,t!==0)for(;!(c=(n=a.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(f){s=!0,i=f}finally{try{if(!c&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(s)throw i}}return u}}function bM(e){if(Array.isArray(e))return e}var ra=Math.PI/180,xM=function(t){return t*180/Math.PI},fe=function(t,r,n,i){return{x:t+Math.cos(-ra*i)*n,y:r+Math.sin(-ra*i)*n}},Kx=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(t-(n.left||0)-(n.right||0)),Math.abs(r-(n.top||0)-(n.bottom||0)))/2},wM=function(t,r,n,i,a){var o=t.width,u=t.height,c=t.startAngle,s=t.endAngle,f=ke(t.cx,o,o/2),l=ke(t.cy,u,u/2),h=Kx(o,u,n),p=ke(t.innerRadius,h,0),y=ke(t.outerRadius,h,h*.8),v=Object.keys(r);return v.reduce(function(d,g){var x=r[g],w=x.domain,O=x.reversed,m;if(ee(x.range))i==="angleAxis"?m=[c,s]:i==="radiusAxis"&&(m=[p,y]),O&&(m=[m[1],m[0]]);else{m=x.range;var b=m,_=vM(b,2);c=_[0],s=_[1]}var A=Fx(x,a),P=A.realScaleType,M=A.scale;M.domain(w).range(m),zx(M);var E=Ux(M,ht(ht({},x),{},{realScaleType:P})),T=ht(ht(ht({},x),E),{},{range:m,radius:y,realScaleType:P,scale:M,cx:f,cy:l,innerRadius:p,outerRadius:y,startAngle:c,endAngle:s});return ht(ht({},d),{},Gx({},g,T))},{})},OM=function(t,r){var n=t.x,i=t.y,a=r.x,o=r.y;return Math.sqrt(Math.pow(n-a,2)+Math.pow(i-o,2))},_M=function(t,r){var n=t.x,i=t.y,a=r.cx,o=r.cy,u=OM({x:n,y:i},{x:a,y:o});if(u<=0)return{radius:u};var c=(n-a)/u,s=Math.acos(c);return i>o&&(s=2*Math.PI-s),{radius:u,angle:xM(s),angleInRadian:s}},AM=function(t){var r=t.startAngle,n=t.endAngle,i=Math.floor(r/360),a=Math.floor(n/360),o=Math.min(i,a);return{startAngle:r-o*360,endAngle:n-o*360}},SM=function(t,r){var n=r.startAngle,i=r.endAngle,a=Math.floor(n/360),o=Math.floor(i/360),u=Math.min(a,o);return t+u*360},Fm=function(t,r){var n=t.x,i=t.y,a=_M({x:n,y:i},r),o=a.radius,u=a.angle,c=r.innerRadius,s=r.outerRadius;if(o<c||o>s)return!1;if(o===0)return!0;var f=AM(r),l=f.startAngle,h=f.endAngle,p=u,y;if(l<=h){for(;p>h;)p-=360;for(;p<l;)p+=360;y=p>=l&&p<=h}else{for(;p>l;)p-=360;for(;p<h;)p+=360;y=p>=h&&p<=l}return y?ht(ht({},r),{},{radius:o,angle:SM(p,r)}):null},Vx=function(t){return!R.isValidElement(t)&&!Y(t)&&typeof t!="boolean"?t.className:""};function Ln(e){"@babel/helpers - typeof";return Ln=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ln(e)}var PM=["offset"];function TM(e){return $M(e)||MM(e)||jM(e)||EM()}function EM(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 19In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function jM(e,t){if(e){if(typeof e=="string")return Jl(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Jl(e,t)}}function MM(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function $M(e){if(Array.isArray(e))return Jl(e)}function Jl(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function CM(e,t){if(e==null)return{};var r=IM(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function IM(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function zm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function _e(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?zm(Object(r),!0).forEach(function(n){kM(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zm(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function kM(e,t,r){return t=RM(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function RM(e){var t=NM(e,"string");return Ln(t)=="symbol"?t:t+""}function NM(e,t){if(Ln(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Ln(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Bn(){return Bn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Bn.apply(this,arguments)}var DM=function(t){var r=t.value,n=t.formatter,i=ee(t.children)?r:t.children;return Y(n)?n(i):i},qM=function(t,r){var n=Ie(r-t),i=Math.min(Math.abs(r-t),360);return n*i},LM=function(t,r,n){var i=t.position,a=t.viewBox,o=t.offset,u=t.className,c=a,s=c.cx,f=c.cy,l=c.innerRadius,h=c.outerRadius,p=c.startAngle,y=c.endAngle,v=c.clockWise,d=(l+h)/2,g=qM(p,y),x=g>=0?1:-1,w,O;i==="insideStart"?(w=p+x*o,O=v):i==="insideEnd"?(w=y-x*o,O=!v):i==="end"&&(w=y+x*o,O=v),O=g<=0?O:!O;var m=fe(s,f,d,w),b=fe(s,f,d,w+(O?1:-1)*359),_="M".concat(m.x,",").concat(m.y,` 20 A`).concat(d,",").concat(d,",0,1,").concat(O?0:1,`, 21 `).concat(b.x,",").concat(b.y),A=ee(t.id)?ai("recharts-radial-line-"):t.id;return S.createElement("text",Bn({},n,{dominantBaseline:"central",className:Q("recharts-radial-bar-label",u)}),S.createElement("defs",null,S.createElement("path",{id:A,d:_})),S.createElement("textPath",{xlinkHref:"#".concat(A)},r))},BM=function(t){var r=t.viewBox,n=t.offset,i=t.position,a=r,o=a.cx,u=a.cy,c=a.innerRadius,s=a.outerRadius,f=a.startAngle,l=a.endAngle,h=(f+l)/2;if(i==="outside"){var p=fe(o,u,s+n,h),y=p.x,v=p.y;return{x:y,y:v,textAnchor:y>=o?"start":"end",verticalAnchor:"middle"}}if(i==="center")return{x:o,y:u,textAnchor:"middle",verticalAnchor:"middle"};if(i==="centerTop")return{x:o,y:u,textAnchor:"middle",verticalAnchor:"start"};if(i==="centerBottom")return{x:o,y:u,textAnchor:"middle",verticalAnchor:"end"};var d=(c+s)/2,g=fe(o,u,d,h),x=g.x,w=g.y;return{x,y:w,textAnchor:"middle",verticalAnchor:"middle"}},FM=function(t){var r=t.viewBox,n=t.parentViewBox,i=t.offset,a=t.position,o=r,u=o.x,c=o.y,s=o.width,f=o.height,l=f>=0?1:-1,h=l*i,p=l>0?"end":"start",y=l>0?"start":"end",v=s>=0?1:-1,d=v*i,g=v>0?"end":"start",x=v>0?"start":"end";if(a==="top"){var w={x:u+s/2,y:c-l*i,textAnchor:"middle",verticalAnchor:p};return _e(_e({},w),n?{height:Math.max(c-n.y,0),width:s}:{})}if(a==="bottom"){var O={x:u+s/2,y:c+f+h,textAnchor:"middle",verticalAnchor:y};return _e(_e({},O),n?{height:Math.max(n.y+n.height-(c+f),0),width:s}:{})}if(a==="left"){var m={x:u-d,y:c+f/2,textAnchor:g,verticalAnchor:"middle"};return _e(_e({},m),n?{width:Math.max(m.x-n.x,0),height:f}:{})}if(a==="right"){var b={x:u+s+d,y:c+f/2,textAnchor:x,verticalAnchor:"middle"};return _e(_e({},b),n?{width:Math.max(n.x+n.width-b.x,0),height:f}:{})}var _=n?{width:s,height:f}:{};return a==="insideLeft"?_e({x:u+d,y:c+f/2,textAnchor:x,verticalAnchor:"middle"},_):a==="insideRight"?_e({x:u+s-d,y:c+f/2,textAnchor:g,verticalAnchor:"middle"},_):a==="insideTop"?_e({x:u+s/2,y:c+h,textAnchor:"middle",verticalAnchor:y},_):a==="insideBottom"?_e({x:u+s/2,y:c+f-h,textAnchor:"middle",verticalAnchor:p},_):a==="insideTopLeft"?_e({x:u+d,y:c+h,textAnchor:x,verticalAnchor:y},_):a==="insideTopRight"?_e({x:u+s-d,y:c+h,textAnchor:g,verticalAnchor:y},_):a==="insideBottomLeft"?_e({x:u+d,y:c+f-h,textAnchor:x,verticalAnchor:p},_):a==="insideBottomRight"?_e({x:u+s-d,y:c+f-h,textAnchor:g,verticalAnchor:p},_):Yr(a)&&(q(a.x)||Vt(a.x))&&(q(a.y)||Vt(a.y))?_e({x:u+ke(a.x,s),y:c+ke(a.y,f),textAnchor:"end",verticalAnchor:"end"},_):_e({x:u+s/2,y:c+f/2,textAnchor:"middle",verticalAnchor:"middle"},_)},zM=function(t){return"cx"in t&&q(t.cx)};function Te(e){var t=e.offset,r=t===void 0?5:t,n=CM(e,PM),i=_e({offset:r},n),a=i.viewBox,o=i.position,u=i.value,c=i.children,s=i.content,f=i.className,l=f===void 0?"":f,h=i.textBreakAll;if(!a||ee(u)&&ee(c)&&!R.isValidElement(s)&&!Y(s))return null;if(R.isValidElement(s))return R.cloneElement(s,i);var p;if(Y(s)){if(p=R.createElement(s,i),R.isValidElement(p))return p}else p=DM(i);var y=zM(a),v=X(i,!0);if(y&&(o==="insideStart"||o==="insideEnd"||o==="end"))return LM(i,p,v);var d=y?BM(i):FM(i);return S.createElement(rr,Bn({className:Q("recharts-label",l)},v,d,{breakAll:h}),p)}Te.displayName="Label";var Xx=function(t){var r=t.cx,n=t.cy,i=t.angle,a=t.startAngle,o=t.endAngle,u=t.r,c=t.radius,s=t.innerRadius,f=t.outerRadius,l=t.x,h=t.y,p=t.top,y=t.left,v=t.width,d=t.height,g=t.clockWise,x=t.labelViewBox;if(x)return x;if(q(v)&&q(d)){if(q(l)&&q(h))return{x:l,y:h,width:v,height:d};if(q(p)&&q(y))return{x:p,y,width:v,height:d}}return q(l)&&q(h)?{x:l,y:h,width:0,height:0}:q(r)&&q(n)?{cx:r,cy:n,startAngle:a||i||0,endAngle:o||i||0,innerRadius:s||0,outerRadius:f||c||u||0,clockWise:g}:t.viewBox?t.viewBox:{}},UM=function(t,r){return t?t===!0?S.createElement(Te,{key:"label-implicit",viewBox:r}):Ae(t)?S.createElement(Te,{key:"label-implicit",viewBox:r,value:t}):R.isValidElement(t)?t.type===Te?R.cloneElement(t,{key:"label-implicit",viewBox:r}):S.createElement(Te,{key:"label-implicit",content:t,viewBox:r}):Y(t)?S.createElement(Te,{key:"label-implicit",content:t,viewBox:r}):Yr(t)?S.createElement(Te,Bn({viewBox:r},t,{key:"label-implicit"})):null:null},WM=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!t||!t.children&&n&&!t.label)return null;var i=t.children,a=Xx(t),o=Ze(i,Te).map(function(c,s){return R.cloneElement(c,{viewBox:r||a,key:"label-".concat(s)})});if(!n)return o;var u=UM(t.label,r||a);return[u].concat(TM(o))};Te.parseViewBox=Xx;Te.renderCallByParent=WM;var Ds,Um;function HM(){if(Um)return Ds;Um=1;function e(t){var r=t==null?0:t.length;return r?t[r-1]:void 0}return Ds=e,Ds}var GM=HM();const KM=ue(GM);function Fn(e){"@babel/helpers - typeof";return Fn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fn(e)}var VM=["valueAccessor"],XM=["data","dataKey","clockWise","id","textBreakAll"];function YM(e){return e$(e)||QM(e)||JM(e)||ZM()}function ZM(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 22In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function JM(e,t){if(e){if(typeof e=="string")return Ql(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ql(e,t)}}function QM(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function e$(e){if(Array.isArray(e))return Ql(e)}function Ql(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function na(){return na=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},na.apply(this,arguments)}function Wm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Hm(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Wm(Object(r),!0).forEach(function(n){t$(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Wm(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function t$(e,t,r){return t=r$(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function r$(e){var t=n$(e,"string");return Fn(t)=="symbol"?t:t+""}function n$(e,t){if(Fn(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Fn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Gm(e,t){if(e==null)return{};var r=i$(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function i$(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var a$=function(t){return Array.isArray(t.value)?KM(t.value):t.value};function kt(e){var t=e.valueAccessor,r=t===void 0?a$:t,n=Gm(e,VM),i=n.data,a=n.dataKey,o=n.clockWise,u=n.id,c=n.textBreakAll,s=Gm(n,XM);return!i||!i.length?null:S.createElement(ae,{className:"recharts-label-list"},i.map(function(f,l){var h=ee(a)?r(f,l):Ce(f&&f.payload,a),p=ee(u)?{}:{id:"".concat(u,"-").concat(l)};return S.createElement(Te,na({},X(f,!0),s,p,{parentViewBox:f.parentViewBox,value:h,textBreakAll:c,viewBox:Te.parseViewBox(ee(o)?f:Hm(Hm({},f),{},{clockWise:o})),key:"label-".concat(l),index:l}))}))}kt.displayName="LabelList";function o$(e,t){return e?e===!0?S.createElement(kt,{key:"labelList-implicit",data:t}):S.isValidElement(e)||Y(e)?S.createElement(kt,{key:"labelList-implicit",data:t,content:e}):Yr(e)?S.createElement(kt,na({data:t},e,{key:"labelList-implicit"})):null:null}function u$(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!e||!e.children&&r&&!e.label)return null;var n=e.children,i=Ze(n,kt).map(function(o,u){return R.cloneElement(o,{data:t,key:"labelList-".concat(u)})});if(!r)return i;var a=o$(e.label,t);return[a].concat(YM(i))}kt.renderCallByParent=u$;function zn(e){"@babel/helpers - typeof";return zn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zn(e)}function ef(){return ef=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ef.apply(this,arguments)}function Km(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Vm(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Km(Object(r),!0).forEach(function(n){c$(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Km(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function c$(e,t,r){return t=s$(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s$(e){var t=l$(e,"string");return zn(t)=="symbol"?t:t+""}function l$(e,t){if(zn(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(zn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var f$=function(t,r){var n=Ie(r-t),i=Math.min(Math.abs(r-t),359.999);return n*i},Oi=function(t){var r=t.cx,n=t.cy,i=t.radius,a=t.angle,o=t.sign,u=t.isExternal,c=t.cornerRadius,s=t.cornerIsExternal,f=c*(u?1:-1)+i,l=Math.asin(c/f)/ra,h=s?a:a+o*l,p=fe(r,n,f,h),y=fe(r,n,i,h),v=s?a-o*l:a,d=fe(r,n,f*Math.cos(l*ra),v);return{center:p,circleTangency:y,lineTangency:d,theta:l}},Yx=function(t){var r=t.cx,n=t.cy,i=t.innerRadius,a=t.outerRadius,o=t.startAngle,u=t.endAngle,c=f$(o,u),s=o+c,f=fe(r,n,a,o),l=fe(r,n,a,s),h="M ".concat(f.x,",").concat(f.y,` 23 A `).concat(a,",").concat(a,`,0, 24 `).concat(+(Math.abs(c)>180),",").concat(+(o>s),`, 25 `).concat(l.x,",").concat(l.y,` 26 `);if(i>0){var p=fe(r,n,i,o),y=fe(r,n,i,s);h+="L ".concat(y.x,",").concat(y.y,` 27 A `).concat(i,",").concat(i,`,0, 28 `).concat(+(Math.abs(c)>180),",").concat(+(o<=s),`, 29 `).concat(p.x,",").concat(p.y," Z")}else h+="L ".concat(r,",").concat(n," Z");return h},h$=function(t){var r=t.cx,n=t.cy,i=t.innerRadius,a=t.outerRadius,o=t.cornerRadius,u=t.forceCornerRadius,c=t.cornerIsExternal,s=t.startAngle,f=t.endAngle,l=Ie(f-s),h=Oi({cx:r,cy:n,radius:a,angle:s,sign:l,cornerRadius:o,cornerIsExternal:c}),p=h.circleTangency,y=h.lineTangency,v=h.theta,d=Oi({cx:r,cy:n,radius:a,angle:f,sign:-l,cornerRadius:o,cornerIsExternal:c}),g=d.circleTangency,x=d.lineTangency,w=d.theta,O=c?Math.abs(s-f):Math.abs(s-f)-v-w;if(O<0)return u?"M ".concat(y.x,",").concat(y.y,` 30 a`).concat(o,",").concat(o,",0,0,1,").concat(o*2,`,0 31 a`).concat(o,",").concat(o,",0,0,1,").concat(-o*2,`,0 32 `):Yx({cx:r,cy:n,innerRadius:i,outerRadius:a,startAngle:s,endAngle:f});var m="M ".concat(y.x,",").concat(y.y,` 33 A`).concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(p.x,",").concat(p.y,` 34 A`).concat(a,",").concat(a,",0,").concat(+(O>180),",").concat(+(l<0),",").concat(g.x,",").concat(g.y,` 35 A`).concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(x.x,",").concat(x.y,` 36 `);if(i>0){var b=Oi({cx:r,cy:n,radius:i,angle:s,sign:l,isExternal:!0,cornerRadius:o,cornerIsExternal:c}),_=b.circleTangency,A=b.lineTangency,P=b.theta,M=Oi({cx:r,cy:n,radius:i,angle:f,sign:-l,isExternal:!0,cornerRadius:o,cornerIsExternal:c}),E=M.circleTangency,T=M.lineTangency,j=M.theta,C=c?Math.abs(s-f):Math.abs(s-f)-P-j;if(C<0&&o===0)return"".concat(m,"L").concat(r,",").concat(n,"Z");m+="L".concat(T.x,",").concat(T.y,` 37 A`).concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(E.x,",").concat(E.y,` 38 A`).concat(i,",").concat(i,",0,").concat(+(C>180),",").concat(+(l>0),",").concat(_.x,",").concat(_.y,` 39 A`).concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(A.x,",").concat(A.y,"Z")}else m+="L".concat(r,",").concat(n,"Z");return m},d$={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},Zx=function(t){var r=Vm(Vm({},d$),t),n=r.cx,i=r.cy,a=r.innerRadius,o=r.outerRadius,u=r.cornerRadius,c=r.forceCornerRadius,s=r.cornerIsExternal,f=r.startAngle,l=r.endAngle,h=r.className;if(o<a||f===l)return null;var p=Q("recharts-sector",h),y=o-a,v=ke(u,y,0,!0),d;return v>0&&Math.abs(f-l)<360?d=h$({cx:n,cy:i,innerRadius:a,outerRadius:o,cornerRadius:Math.min(v,y/2),forceCornerRadius:c,cornerIsExternal:s,startAngle:f,endAngle:l}):d=Yx({cx:n,cy:i,innerRadius:a,outerRadius:o,startAngle:f,endAngle:l}),S.createElement("path",ef({},X(r,!0),{className:p,d,role:"img"}))};function Un(e){"@babel/helpers - typeof";return Un=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Un(e)}function tf(){return tf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},tf.apply(this,arguments)}function Xm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Ym(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Xm(Object(r),!0).forEach(function(n){p$(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xm(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function p$(e,t,r){return t=v$(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v$(e){var t=y$(e,"string");return Un(t)=="symbol"?t:t+""}function y$(e,t){if(Un(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Un(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Zm={curveBasisClosed:N_,curveBasisOpen:D_,curveBasis:R_,curveBumpX:w_,curveBumpY:O_,curveLinearClosed:q_,curveLinear:ka,curveMonotoneX:L_,curveMonotoneY:B_,curveNatural:F_,curveStep:z_,curveStepAfter:W_,curveStepBefore:U_},_i=function(t){return t.x===+t.x&&t.y===+t.y},sn=function(t){return t.x},ln=function(t){return t.y},m$=function(t,r){if(Y(t))return t;var n="curve".concat(Ca(t));return(n==="curveMonotone"||n==="curveBump")&&r?Zm["".concat(n).concat(r==="vertical"?"Y":"X")]:Zm[n]||ka},g$=function(t){var r=t.type,n=r===void 0?"linear":r,i=t.points,a=i===void 0?[]:i,o=t.baseLine,u=t.layout,c=t.connectNulls,s=c===void 0?!1:c,f=m$(n,u),l=s?a.filter(function(v){return _i(v)}):a,h;if(Array.isArray(o)){var p=s?o.filter(function(v){return _i(v)}):o,y=l.map(function(v,d){return Ym(Ym({},v),{},{base:p[d]})});return u==="vertical"?h=di().y(ln).x1(sn).x0(function(v){return v.base.x}):h=di().x(sn).y1(ln).y0(function(v){return v.base.y}),h.defined(_i).curve(f),h(y)}return u==="vertical"&&q(o)?h=di().y(ln).x1(sn).x0(o):q(o)?h=di().x(sn).y1(ln).y0(o):h=Yb().x(sn).y(ln),h.defined(_i).curve(f),h(l)},rf=function(t){var r=t.className,n=t.points,i=t.path,a=t.pathRef;if((!n||!n.length)&&!i)return null;var o=n&&n.length?g$(t):i;return R.createElement("path",tf({},X(t,!1),Mi(t),{className:Q("recharts-curve",r),d:o,ref:a}))},qs={exports:{}},Ls,Jm;function b$(){if(Jm)return Ls;Jm=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Ls=e,Ls}var Bs,Qm;function x$(){if(Qm)return Bs;Qm=1;var e=b$();function t(){}function r(){}return r.resetWarningCache=t,Bs=function(){function n(o,u,c,s,f,l){if(l!==e){var h=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}}n.isRequired=n;function i(){return n}var a={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:i,element:n,elementType:n,instanceOf:i,node:n,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:r,resetWarningCache:t};return a.PropTypes=a,a},Bs}var eg;function w$(){return eg||(eg=1,qs.exports=x$()()),qs.exports}var O$=w$();const ie=ue(O$),{getOwnPropertyNames:_$,getOwnPropertySymbols:A$}=Object,{hasOwnProperty:S$}=Object.prototype;function Fs(e,t){return function(n,i,a){return e(n,i,a)&&t(n,i,a)}}function Ai(e){return function(r,n,i){if(!r||!n||typeof r!="object"||typeof n!="object")return e(r,n,i);const{cache:a}=i,o=a.get(r),u=a.get(n);if(o&&u)return o===n&&u===r;a.set(r,n),a.set(n,r);const c=e(r,n,i);return a.delete(r),a.delete(n),c}}function P$(e){return e?.[Symbol.toStringTag]}function tg(e){return _$(e).concat(A$(e))}const T$=Object.hasOwn||((e,t)=>S$.call(e,t));function sr(e,t){return e===t||!e&&!t&&e!==e&&t!==t}const E$="__v",j$="__o",M$="_owner",{getOwnPropertyDescriptor:rg,keys:ng}=Object;function $$(e,t){return e.byteLength===t.byteLength&&ia(new Uint8Array(e),new Uint8Array(t))}function C$(e,t,r){let n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(!r.equals(e[n],t[n],n,n,e,t,r))return!1;return!0}function I$(e,t){return e.byteLength===t.byteLength&&ia(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}function k$(e,t){return sr(e.getTime(),t.getTime())}function R$(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function N$(e,t){return e===t}function ig(e,t,r){const n=e.size;if(n!==t.size)return!1;if(!n)return!0;const i=new Array(n),a=e.entries();let o,u,c=0;for(;(o=a.next())&&!o.done;){const s=t.entries();let f=!1,l=0;for(;(u=s.next())&&!u.done;){if(i[l]){l++;continue}const h=o.value,p=u.value;if(r.equals(h[0],p[0],c,l,e,t,r)&&r.equals(h[1],p[1],h[0],p[0],e,t,r)){f=i[l]=!0;break}l++}if(!f)return!1;c++}return!0}const D$=sr;function q$(e,t,r){const n=ng(e);let i=n.length;if(ng(t).length!==i)return!1;for(;i-- >0;)if(!Jx(e,t,r,n[i]))return!1;return!0}function fn(e,t,r){const n=tg(e);let i=n.length;if(tg(t).length!==i)return!1;let a,o,u;for(;i-- >0;)if(a=n[i],!Jx(e,t,r,a)||(o=rg(e,a),u=rg(t,a),(o||u)&&(!o||!u||o.configurable!==u.configurable||o.enumerable!==u.enumerable||o.writable!==u.writable)))return!1;return!0}function L$(e,t){return sr(e.valueOf(),t.valueOf())}function B$(e,t){return e.source===t.source&&e.flags===t.flags}function ag(e,t,r){const n=e.size;if(n!==t.size)return!1;if(!n)return!0;const i=new Array(n),a=e.values();let o,u;for(;(o=a.next())&&!o.done;){const c=t.values();let s=!1,f=0;for(;(u=c.next())&&!u.done;){if(!i[f]&&r.equals(o.value,u.value,o.value,u.value,e,t,r)){s=i[f]=!0;break}f++}if(!s)return!1}return!0}function ia(e,t){let r=e.byteLength;if(t.byteLength!==r||e.byteOffset!==t.byteOffset)return!1;for(;r-- >0;)if(e[r]!==t[r])return!1;return!0}function F$(e,t){return e.hostname===t.hostname&&e.pathname===t.pathname&&e.protocol===t.protocol&&e.port===t.port&&e.hash===t.hash&&e.username===t.username&&e.password===t.password}function Jx(e,t,r,n){return(n===M$||n===j$||n===E$)&&(e.$$typeof||t.$$typeof)?!0:T$(t,n)&&r.equals(e[n],t[n],n,n,e,t,r)}const z$="[object ArrayBuffer]",U$="[object Arguments]",W$="[object Boolean]",H$="[object DataView]",G$="[object Date]",K$="[object Error]",V$="[object Map]",X$="[object Number]",Y$="[object Object]",Z$="[object RegExp]",J$="[object Set]",Q$="[object String]",eC={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array
39]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},tC="[object URL]",rC=Object.prototype.toString;function nC({areArrayBuffersEqual:e,areArraysEqual:t,areDataViewsEqual:r,areDatesEqual:n,areErrorsEqual:i,areFunctionsEqual:a,areMapsEqual:o,areNumbersEqual:u,areObjectsEqual:c,arePrimitiveWrappersEqual:s,areRegExpsEqual:f,areSetsEqual:l,areTypedArraysEqual:h,areUrlsEqual:p,unknownTagComparators:y}){return function(d,g,x){if(d===g)return!0;if(d==null||g==null)return!1;const w=typeof d;if(w!==typeof g)return!1;if(w!=="object")return w==="number"?u(d,g,x):w==="function"?a(d,g,x):!1;const O=d.constructor;if(O!==g.constructor)return!1;if(O===Object)return c(d,g,x);if(Array.isArray(d))return t(d,g,x);if(O===Date)return n(d,g,x);if(O===RegExp)return f(d,g,x);if(O===Map)return o(d,g,x);if(O===Set)return l(d,g,x);const m=rC.call(d);if(m===G$)return n(d,g,x);if(m===Z$)return f(d,g,x);if(m===V$)return o(d,g,x);if(m===J$)return l(d,g,x);if(m===Y$)return typeof d.then!="function"&&typeof g.then!="function"&&c(d,g,x);if(m===tC)return p(d,g,x);if(m===K$)return i(d,g,x);if(m===U$)return c(d,g,x);if(eC[m])return h(d,g,x);if(m===z$)return e(d,g,x);if(m===H$)return r(d,g,x);if(m===W$||m===X$||m===Q$)return s(d,g,x);if(y){let b=y[m];if(!b){const _=P$(d);_&&(b=y[_])}if(b)return b(d,g,x)}return!1}}function iC({circular:e,createCustomConfig:t,strict:r}){let n={areArrayBuffersEqual:$$,areArraysEqual:r?fn:C$,areDataViewsEqual:I$,areDatesEqual:k$,areErrorsEqual:R$,areFunctionsEqual:N$,areMapsEqual:r?Fs(ig,fn):ig,areNumbersEqual:D$,areObjectsEqual:r?fn:q$,arePrimitiveWrappersEqual:L$,areRegExpsEqual:B$,areSetsEqual:r?Fs(ag,fn):ag,areTypedArraysEqual:r?Fs(ia,fn):ia,areUrlsEqual:F$,unknownTagComparators:void 0};if(t&&(n=Object.assign({},n,t(n))),e){const i=Ai(n.areArraysEqual),a=Ai(n.areMapsEqual),o=Ai(n.areObjectsEqual),u=Ai(n.areSetsEqual);n=Object.assign({},n,{areArraysEqual:i,areMapsEqual:a,areObjectsEqual:o,areSetsEqual:u})}return n}function aC(e){return function(t,r,n,i,a,o,u){return e(t,r,u)}}function oC({circular:e,comparator:t,createState:r,equals:n,strict:i}){if(r)return function(u,c){const{cache:s=e?new WeakMap:void 0,meta:f}=r();return t(u,c,{cache:s,equals:n,meta:f,strict:i})};if(e)return function(u,c){return t(u,c,{cache:new WeakMap,equals:n,meta:void 0,strict:i})};const a={cache:void 0,equals:n,meta:void 0,strict:i};return function(u,c){return t(u,c,a)}}const uC=qt();qt({strict:!0});qt({circular:!0});qt({circular:!0,strict:!0});qt({createInternalComparator:()=>sr});qt({strict:!0,createInternalComparator:()=>sr});qt({circular:!0,createInternalComparator:()=>sr});qt({circular:!0,createInternalComparator:()=>sr,strict:!0});function qt(e={}){const{circular:t=!1,createInternalComparator:r,createState:n,strict:i=!1}=e,a=iC(e),o=nC(a),u=r?r(o):aC(o);return oC({circular:t,comparator:o,createState:n,equals:u,strict:i})}function cC(e){typeof requestAnimationFrame<"u"&&requestAnimationFrame(e)}function og(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=-1,n=function i(a){r<0&&(r=a),a-r>t?(e(a),r=-1):cC(i)};requestAnimationFrame(n)}function nf(e){"@babel/helpers - typeof";return nf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nf(e)}function sC(e){return dC(e)||hC(e)||fC(e)||lC()}function lC(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 40In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function fC(e,t){if(e){if(typeof e=="string")return ug(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ug(e,t)}}function ug(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function hC(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function dC(e){if(Array.isArray(e))return e}function pC(){var e={},t=function(){return null},r=!1,n=function i(a){if(!r){if(Array.isArray(a)){if(!a.length)return;var o=a,u=sC(o),c=u[0],s=u.slice(1);if(typeof c=="number"){og(i.bind(null,s),c);return}i(c),og(i.bind(null,s));return}nf(a)==="object"&&(e=a,t(e)),typeof a=="function"&&a()}};return{stop:function(){r=!0},start:function(a){r=!1,n(a)},subscribe:function(a){return t=a,function(){t=function(){return null}}}}}function Wn(e){"@babel/helpers - typeof";return Wn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Wn(e)}function cg(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function sg(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};
vendor: 58,455 bytes, lines 40-58
40t%2?cg(Object(r),!0).forEach(function(n){Qx(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):cg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Qx(e,t,r){return t=vC(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vC(e){var t=yC(e,"string");return Wn(t)==="symbol"?t:String(t)}function yC(e,t){if(Wn(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Wn(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var mC=function(t,r){return[Object.keys(t),Object.keys(r)].reduce(function(n,i){return n.filter(function(a){return i.includes(a)})})},gC=function(t){return t},bC=function(t){return t.replace(/([A-Z])/g,function(r){return"-".concat(r.toLowerCase())})},bn=function(t,r){return Object.keys(r).reduce(function(n,i){return sg(sg({},n),{},Qx({},i,t(i,r[i])))},{})},lg=function(t,r,n){return t.map(function(i){return"".concat(bC(i)," ").concat(r,"ms ").concat(n)}).join(",")};function xC(e,t){return _C(e)||OC(e,t)||ew(e,t)||wC()}function wC(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 41In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function OC(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,a,o,u=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,t!==0)for(;!(c=(n=a.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(f){s=!0,i=f}finally{try{if(!c&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(s)throw i}}return u}}function _C(e){if(Array.isArray(e))return e}function AC(e){return TC(e)||PC(e)||ew(e)||SC()}function SC(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 42In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ew(e,t){if(e){if(typeof e=="string")return af(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return af(e,t)}}function PC(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function TC(e){if(Array.isArray(e))return af(e)}function af(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var aa=1e-4,tw=function(t,r){return[0,3*t,3*r-6*t,3*t-3*r+1]},rw=function(t,r){return t.map(function(n,i){return n*Math.pow(r,i)}).reduce(function(n,i){return n+i})},fg=function(t,r){return function(n){var i=tw(t,r);return rw(i,n)}},EC=function(t,r){return function(n){var i=tw(t,r),a=[].concat(AC(i.map(function(o,u){return o*u}).slice(1)),[0]);return rw(a,n)}},hg=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=r[0],a=r[1],o=r[2],u=r[3];if(r.length===1)switch(r[0]){case"linear":i=0,a=0,o=1,u=1;break;case"ease":i=.25,a=.1,o=.25,u=1;break;case"ease-in":i=.42,a=0,o=1,u=1;break;case"ease-out":i=.42,a=0,o=.58,u=1;break;case"ease-in-out":i=0,a=0,o=.58,u=1;break;default:{var c=r[0].split("(");if(c[0]==="cubic-bezier"&&c[1].split(")")[0].split(",").length===4){var s=c[1].split(")")[0].split(",").map(function(d){return parseFloat(d)}),f=xC(s,4);i=f[0],a=f[1],o=f[2],u=f[3]}}}var l=fg(i,o),h=fg(a,u),p=EC(i,o),y=function(g){return g>1?1:g<0?0:g},v=function(g){for(var x=g>1?1:g,w=x,O=0;O<8;++O){var m=l(w)-x,b=p(w);if(Math.abs(m-x)<aa||b<aa)return h(w);w=y(w-m/b)}return h(w)};return v.isStepper=!1,v},jC=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.stiff,n=r===void 0?100:r,i=t.damping,a=i===void 0?8:i,o=t.dt,u=o===void 0?17:o,c=function(f,l,h){var p=-(f-l)*n,y=h*a,v=h+(p-y)*u/1e3,d=h*u/1e3+f;return Math.abs(d-l)<aa&&Math.abs(v)<aa?[l,0]:[d,v]};return c.isStepper=!0,c.dt=u,c},MC=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=r[0];if(typeof i=="string")switch(i){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return hg(i);case"spring":return jC();default:if(i.split("(")[0]==="cubic-bezier")return hg(i)}return typeof i=="function"?i:null};function Hn(e){"@babel/helpers - typeof";return Hn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Hn(e)}function dg(e){return IC(e)||CC(e)||nw(e)||$C()}function $C(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 43In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function CC(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function IC(e){if(Array.isArray(e))return uf(e)}function pg(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function je(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?pg(Object(r),!0).forEach(function(n){of(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function of(e,t,r){return t=kC(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kC(e){var t=RC(e,"string");return Hn(t)==="symbol"?t:String(t)}function RC(e,t){if(Hn(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Hn(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function NC(e,t){return LC(e)||qC(e,t)||nw(e,t)||DC()}function DC(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 44In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function nw(e,t){if(e){if(typeof e=="string")return uf(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return uf(e,t)}}function uf(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function qC(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,a,o,u=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,t!==0)for(;!(c=(n=a.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(f){s=!0,i=f}finally{try{if(!c&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(s)throw i}}return u}}function LC(e){if(Array.isArray(e))return e}var oa=function(t,r,n){return t+(r-t)*n},cf=function(t){var r=t.from,n=t.to;return r!==n},BC=function e(t,r,n){var i=bn(function(a,o){if(cf(o)){var u=t(o.from,o.to,o.velocity),c=NC(u,2),s=c[0],f=c[1];return je(je({},o),{},{from:s,velocity:f})}return o},r);return n<1?bn(function(a,o){return cf(o)?je(je({},o),{},{velocity:oa(o.velocity,i[a].velocity,n),from:oa(o.from,i[a].from,n)}):o},r):e(t,i,n-1)};const FC=(function(e,t,r,n,i){var a=mC(e,t),o=a.reduce(function(d,g){return je(je({},d),{},of({},g,[e[g],t[g]]))},{}),u=a.reduce(function(d,g){return je(je({},d),{},of({},g,{from:e[g],velocity:0,to:t[g]}))},{}),c=-1,s,f,l=function(){return null},h=function(){return bn(function(g,x){return x.from},u)},p=function(){return!Object.values(u).filter(cf).length},y=function(g){s||(s=g);var x=g-s,w=x/r.dt;u=BC(r,u,w),i(je(je(je({},e),t),h())),s=g,p()||(c=requestAnimationFrame(l))},v=function(g){f||(f=g);var x=(g-f)/n,w=bn(function(m,b){return oa.apply(void 0,dg(b).concat([r(x)]))},o);if(i(je(je(je({},e),t),w)),x<1)c=requestAnimationFrame(l);else{var O=bn(function(m,b){return oa.apply(void 0,dg(b).concat([r(1)]))},o);i(je(je(je({},e),t),O))}};return l=r.isStepper?y:v,function(){return requestAnimationFrame(l),function(){cancelAnimationFrame(c)}}});function kr(e){"@babel/helpers - typeof";return kr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},kr(e)}var zC=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function UC(e,t){if(e==null)return{};var r=WC(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function WC(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function zs(e){return VC(e)||KC(e)||GC(e)||HC()}function HC(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 45In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function GC(e,t){if(e){if(typeof e=="string")return sf(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return sf(e,t)}}function KC(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function VC(e){if(Array.isArray(e))return sf(e)}function sf(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function vg(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function et(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?vg(Object(r),!0).forEach(function(n){vn(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function vn(e,t,r){return t=iw(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function XC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,iw(n.key),n)}}function ZC(e,t,r){return t&&YC(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function iw(e){var t=JC(e,"string");return kr(t)==="symbol"?t:String(t)}function JC(e,t){if(kr(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(kr(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function QC(e,t){if(typeof t!="function"&&t!==null)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&&lf(e,t)}function lf(e,t){return lf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},lf(e,t)}function eI(e){var t=tI();return function(){var n=ua(e),i;if(t){var a=ua(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return ff(this,i)}}function ff(e,t){if(t&&(kr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return hf(e)}function hf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tI(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ua(e){return ua=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ua(e)}var Ot=(function(e){QC(r,e);var t=eI(r);function r(n,i){var a;XC(this,r),a=t.call(this,n,i);var o=a.props,u=o.isActive,c=o.attributeName,s=o.from,f=o.to,l=o.steps,h=o.children,p=o.duration;if(a.handleStyleChange=a.handleStyleChange.bind(hf(a)),a.changeStyle=a.changeStyle.bind(hf(a)),!u||p<=0)return a.state={style:{}},typeof h=="function"&&(a.state={style:f}),ff(a);if(l&&l.length)a.state={style:l[0].style};else if(s){if(typeof h=="function")return a.state={style:s},ff(a);a.state={style:c?vn({},c,s):s}}else a.state={style:{}};return a}return ZC(r,[{key:"componentDidMount",value:function(){var i=this.props,a=i.isActive,o=i.canBegin;this.mounted=!0,!(!a||!o)&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(i){var a=this.props,o=a.isActive,u=a.canBegin,c=a.attributeName,s=a.shouldReAnimate,f=a.to,l=a.from,h=this.state.style;if(u){if(!o){var p={style:c?vn({},c,f):f};this.state&&h&&(c&&h[c]!==f||!c&&h!==f)&&this.setState(p);return}if(!(uC(i.to,f)&&i.canBegin&&i.isActive)){var y=!i.canBegin||!i.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var v=y||s?l:i.to;if(this.state&&h){var d={style:c?vn({},c,v):v};(c&&h[c]!==v||!c&&h!==v)&&this.setState(d)}this.runAnimation(et(et({},this.props),{},{from:v,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var i=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),i&&i()}},{key:"handleStyleChange",value:function(i){this.changeStyle(i)}},{key:"changeStyle",value:function(i){this.mounted&&this.setState({style:i})}},{key:"runJSAnimation",value:function(i){var a=this,o=i.from,u=i.to,c=i.duration,s=i.easing,f=i.begin,l=i.onAnimationEnd,h=i.onAnimationStart,p=FC(o,u,MC(s),c,this.changeStyle),y=function(){a.stopJSAnimation=p()};this.manager.start([h,f,y,c,l])}},{key:"runStepAnimation",value:function(i){var a=this,o=i.steps,u=i.begin,c=i.onAnimationStart,s=o[0],f=s.style,l=s.duration,h=l===void 0?0:l,p=function(v,d,g){if(g===0)return v;var x=d.duration,w=d.easing,O=w===void 0?"ease":w,m=d.style,b=d.properties,_=d.onAnimationEnd,A=g>0?o[g-1]:d,P=b||Object.keys(m);if(typeof O=="function"||O==="spring")return[].concat(zs(v),[a.runJSAnimation.bind(a,{from:A.style,to:m,duration:x,easing:O}),x]);var M=lg(P,x,O),E=et(et(et({},A.style),m),{},{transition:M});return[].concat(zs(v),[E,x,_]).filter(gC)};return this.manager.start([c].concat(zs(o.reduce(p,[f,Math.max(h,u)])),[i.onAnimationEnd]))}},{key:"runAnimation",value:function(i){this.manager||(this.manager=pC());var a=i.begin,o=i.duration,u=i.attributeName,c=i.to,s=i.easing,f=i.onAnimationStart,l=i.onAnimationEnd,h=i.steps,p=i.children,y=this.manager;if(this.unSubscribe=y.subscribe(this.handleStyleChange),typeof s=="function"||typeof p=="function"||s==="spring"){this.runJSAnimation(i);return}if(h.length>1){this.runStepAnimation(i);return}var v=u?vn({},u,c):c,d=lg(Object.keys(v),o,s);y.start([f,a,et(et({},v),{},{transition:d}),o,l])}},{key:"render",value:function(){var i=this.props,a=i.children;i.begin;var o=i.duration;i.attributeName,i.easing;var u=i.isActive;i.steps,i.from,i.to,i.canBegin,i.onAnimationEnd,i.shouldReAnimate,i.onAnimationReStart;var c=UC(i,zC),s=R.Children.count(a),f=this.state.style;if(typeof a=="function")return a(f);if(!u||s===0||o<=0)return a;var l=function(p){var y=p.props,v=y.style,d=v===void 0?{}:v,g=y.className,x=R.cloneElement(p,et(et({},c),{},{style:et(et({},d),f),className:g}));return x};return s===1?l(R.Children.only(a)):S.createElement("div",null,R.Children.map(a,function(h){return l(h)}))}}]),r})(R.PureComponent);Ot.displayName="Animate";Ot.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};Ot.propTypes={from:ie.oneOfType([ie.object,ie.string]),to:ie.oneOfType([ie.object,ie.string]),attributeName:ie.string,duration:ie.number,begin:ie.number,easing:ie.oneOfType([ie.string,ie.func]),steps:ie.arrayOf(ie.shape({duration:ie.number.isRequired,style:ie.object.isRequired,easing:ie.oneOfType([ie.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),ie.func]),properties:ie.arrayOf("string"),onAnimationEnd:ie.func})),children:ie.oneOfType([ie.node,ie.func]),isActive:ie.bool,canBegin:ie.bool,onAnimationEnd:ie.func,shouldReAnimate:ie.bool,onAnimationStart:ie.func,onAnimationReStart:ie.func};function Gn(e){"@babel/helpers - typeof";return Gn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Gn(e)}function ca(){return ca=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ca.apply(this,arguments)}function rI(e,t){return oI(e)||aI(e,t)||iI(e,t)||nI()}function nI(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 46In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function iI(e,t){if(e){if(typeof e=="string")return yg(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return yg(e,t)}}function yg(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function aI(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,a,o,u=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,t!==0)for(;!(c=(n=a.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(f){s=!0,i=f}finally{try{if(!c&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(s)throw i}}return u}}function oI(e){if(Array.isArray(e))return e}function mg(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function gg(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?mg(Object(r),!0).forEach(function(n){uI(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):mg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function uI(e,t,r){return t=cI(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cI(e){var t=sI(e,"string");return Gn(t)=="symbol"?t:t+""}function sI(e,t){if(Gn(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Gn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var bg=function(t,r,n,i,a){var o=Math.min(Math.abs(n)/2,Math.abs(i)/2),u=i>=0?1:-1,c=n>=0?1:-1,s=i>=0&&n>=0||i<0&&n<0?1:0,f;if(o>0&&a instanceof Array){for(var l=[0,0,0,0],h=0,p=4;h<p;h++)l[h]=a[h]>o?o:a[h];f="M".concat(t,",").concat(r+u*l[0]),l[0]>0&&(f+="A ".concat(l[0],",").concat(l[0],",0,0,").concat(s,",").concat(t+c*l[0],",").concat(r)),f+="L ".concat(t+n-c*l[1],",").concat(r),l[1]>0&&(f+="A ".concat(l[1],",").concat(l[1],",0,0,").concat(s,`, 47 `).concat(t+n,",").concat(r+u*l[1])),f+="L ".concat(t+n,",").concat(r+i-u*l[2]),l[2]>0&&(f+="A ".concat(l[2],",").concat(l[2],",0,0,").concat(s,`, 48 `).concat(t+n-c*l[2],",").concat(r+i)),f+="L ".concat(t+c*l[3],",").concat(r+i),l[3]>0&&(f+="A ".concat(l[3],",").concat(l[3],",0,0,").concat(s,`, 49 `).concat(t,",").concat(r+i-u*l[3])),f+="Z"}else if(o>0&&a===+a&&a>0){var y=Math.min(o,a);f="M ".concat(t,",").concat(r+u*y,` 50 A `).concat(y,",").concat(y,",0,0,").concat(s,",").concat(t+c*y,",").concat(r,` 51 L `).concat(t+n-c*y,",").concat(r,` 52 A `).concat(y,",").concat(y,",0,0,").concat(s,",").concat(t+n,",").concat(r+u*y,` 53 L `).concat(t+n,",").concat(r+i-u*y,` 54 A `).concat(y,",").concat(y,",0,0,").concat(s,",").concat(t+n-c*y,",").concat(r+i,` 55 L `).concat(t+c*y,",").concat(r+i,` 56 A `).concat(y,",").concat(y,",0,0,").concat(s,",").concat(t,",").concat(r+i-u*y," Z")}else f="M ".concat(t,",").concat(r," h ").concat(n," v ").concat(i," h ").concat(-n," Z");return f},lI=function(t,r){if(!t||!r)return!1;var n=t.x,i=t.y,a=r.x,o=r.y,u=r.width,c=r.height;if(Math.abs(u)>0&&Math.abs(c)>0){var s=Math.min(a,a+u),f=Math.max(a,a+u),l=Math.min(o,o+c),h=Math.max(o,o+c);return n>=s&&n<=f&&i>=l&&i<=h}return!1},fI={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},$h=function(t){var r=gg(gg({},fI),t),n=R.useRef(),i=R.useState(-1),a=rI(i,2),o=a[0],u=a[1];R.useEffect(function(){if(n.current&&n.current.getTotalLength)try{var O=n.current.getTotalLength();O&&u(O)}catch{}},[]);var c=r.x,s=r.y,f=r.width,l=r.height,h=r.radius,p=r.className,y=r.animationEasing,v=r.animationDuration,d=r.animationBegin,g=r.isAnimationActive,x=r.isUpdateAnimationActive;if(c!==+c||s!==+s||f!==+f||l!==+l||f===0||l===0)return null;var w=Q("recharts-rectangle",p);return x?S.createElement(Ot,{canBegin:o>0,from:{width:f,height:l,x:c,y:s},to:{width:f,height:l,x:c,y:s},duration:v,animationEasing:y,isActive:x},function(O){var m=O.width,b=O.height,_=O.x,A=O.y;return S.createElement(Ot,{canBegin:o>0,from:"0px ".concat(o===-1?1:o,"px"),to:"".concat(o,"px 0px"),attributeName:"strokeDasharray",begin:d,duration:v,isActive:g,easing:y},S.createElement("path",ca({},X(r,!0),{className:w,d:bg(_,A,m,b,h),ref:n})))}):S.createElement("path",ca({},X(r,!0),{className:w,d:bg(c,s,f,l,h)}))},hI=["points","className","baseLinePoints","connectNulls"];function vr(){return vr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},vr.apply(this,arguments)}function dI(e,t){if(e==null)return{};var r=pI(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function pI(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function xg(e){return gI(e)||mI(e)||yI(e)||vI()}function vI(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 57In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yI(e,t){if(e){if(typeof e=="string")return df(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return df(e,t)}}function mI(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function gI(e){if(Array.isArray(e))return df(e)}function df(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var wg=function(t){return t&&t.x===+t.x&&t.y===+t.y},bI=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=[[]];return t.forEach(function(n){wg(n)?r[r.length-1].push(n):r[r.length-1].length>0&&r.push([])}),wg(t[0])&&r[r.length-1].push(t[0]),r[r.length-1].length<=0&&(r=r.slice(0,-1)),r},xn=function(t,r){var n=bI(t);r&&(n=[n.reduce(function(a,o){return[].concat(xg(a),xg(o))},[])]);var i=n.map(function(a){return a.reduce(function(o,u,c){return"".concat(o).concat(c===0?"M":"L").concat(u.x,",").concat(u.y)},"")}).join("");return n.length===1?"".concat(i,"Z"):i},xI=function(t,r,n){var i=xn(t,n);return"".concat(i.slice(-1)==="Z"?i.slice(0,-1):i,"L").concat(xn(r.reverse(),n).slice(1))},wI=function(t){var r=t.points,n=t.className,i=t.baseLinePoints,a=t.connectNulls,o=dI(t,hI);if(!r||!r.length)return null;var u=Q("recharts-polygon",n);if(i&&i.length){var c=o.stroke&&o.stroke!=="none",s=xI(r,i,a);return S.createElement("g",{className:u},S.createElement("path",vr({},X(o,!0),{fill:s.slice(-1)==="Z"?o.fill:"none",stroke:"none",d:s})),c?S.createElement("path",vr({},X(o,!0),{fill:"none",d:xn(r,a)})):null,c?S.createElement("path",vr({},X(o,!0),{fill:"none",d:xn(i,a)})):null)}var f=xn(r,a);return S.createElement("path",vr({},X(o,!0),{fill:f.slice(-1)==="Z"?o.fill:"none",className:u,d:f}))};function pf(){return pf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},pf.apply(this,arguments)}var Ch=function(t){var r=t.cx,n=t.cy,i=t.r,a=t.className,o=Q("recharts-dot",a);return r===+r&&n===+n&&i===+i?R.createElement("circle",pf({},X(t,!1),Mi(t),{className:o,cx:r,cy:n,r:i})):null};function Kn(e){"@babel/helpers - typeof";return Kn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Kn(e)}var OI=["x","y","top","left","width","height","className"];function vf(){return vf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},vf.apply(this,arguments)}function Og(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function _I(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Og(Object(r),!0).forEach(function(n){AI(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Og(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function AI(e,t,r){return t=SI(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function SI(e){var t=PI(e,"string");return Kn(t)=="symbol"?t:t+""}function PI(e,t){if(Kn(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Kn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function TI(e,t){if(e==null)return{};var r=EI(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function EI(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var jI=function(t,r,n,i,a,o){return"M".concat(t,",").concat(a,"v").concat(i,"M").concat(o,",").concat(r,"h").concat(n)},MI=function(t){var r=t.x,n=r===void 0?0:r,i=t.y,a=i===void 0?0:i,o=t.top,u=o===void 0?0:o,c=t.left,s=c===void 0?0:c,f=t.width,l=f===void 0?0:f,h=t.height,p=h===void 0?0:h,y=t.className,v=TI(t,OI),d=_I({x:n,y:a,top:u,left:s,width:l,height:p},v);return!q(n)||!q(a)||!q(l)||!q(p)||!q(u)||!q(s)?null:S.createElement("path",vf({},X(d,!0),{className:Q("recharts-cross",y),d:jI(n,a,l,p,u,s)}))},Us,_g;function $I(){if(_g)return Us;_g=1;var e=Ga(),t=bx(),r=lt();function n(i,a){return i&&i.length?e(i,r(a,2),t):void 0}return Us=n,Us}var CI=$I();const II=ue(CI);var Ws,Ag;function kI(){if(Ag)return Ws;Ag=1;var e=Ga(),t=lt(),r=xx();function n(i,a){return i&&i.length?e(i,t(a,2),r):void 0}return Ws=n,Ws}var RI=kI();const NI=ue(RI);var DI=["cx","cy","angle","ticks","axisLine"],qI=["ticks","tick","angle","tickFormatter","stroke"];function Rr(e){"@babel/helpers - typeof";return Rr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Rr(e)}function wn(){return wn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},wn.apply(this,arguments)}function Sg(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Ut(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Sg(Object(r),!0).forEach(function(n){Qa(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Sg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Pg(e,t){if(e==null)return{};var r=LI(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function LI(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function BI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,ow(n.key),n)}}function FI(e,t,r){return t&&Tg(e.prototype,t),r&&Tg(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function zI(e,t,r){return t=sa(t),UI(e,aw()?Reflect.construct(t,r||[],sa(e).constructor):t.apply(e,r))}function UI(e,t){if(t&&(Rr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return WI(e)}function WI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(aw=function(){return!!e})()}function sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},sa(e)}function HI(e,t){if(typeof t!="function"&&t!==null)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&&yf(e,t)}function yf(e,t){return yf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},yf(e,t)}function Qa(e,t,r){return t=ow(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ow(e){var t=GI(e,"string");return Rr(t)=="symbol"?t:t+""}function GI(e,t){if(Rr(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Rr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var eo=(function(e){function t(){return BI(this,t),zI(this,t,arguments)}return HI(t,e),FI(t,[{key:"getTickValueCoord",value:function(n){var i=n.coordinate,a=this.props,o=a.angle,u=a.cx,c=a.cy;return fe(u,c,i,o)}},{key:"getTickTextAnchor",value:function(){var n=this.props.orientation,i;switch(n){case"left":i="end";break;case"right":i="start";break;default:i="middle";break}return i}},{key:"getViewBox",value:function(){var n=this.props,i=n.cx,a=n.cy,o=n.angle,u=n.ticks,c=II(u,function(f){return f.coordinate||0}),s=NI(u,function(f){return f.coordinate||0});return{cx:i,cy:a,startAngle:o,endAngle:o,innerRadius:s.coordinate||0,outerRadius:c.coordinate||0}}},{key:"renderAxisLine",value:function(){var n=this.props,i=n.cx,a=n.cy,o=n.angle,u=n.ticks,c=n.axisLine,s=Pg(n,DI),f=u.reduce(function(y,v){return[Math.min(y[0],v.coordinate),Math.max(y[1],v.coordinate)]},[1/0,-1/0]),l=fe(i,a,f[0],o),h=fe(i,a,f[1],o),p=Ut(Ut(Ut({},X(s,!1)),{},{fill:"none"},X(c,!1)),{},{x1:l.x,y1:l.y,x2:h.x,y2:h.y});return S.createElement("line",wn({className:"recharts-polar-radius-axis-line"},p))}},{key:"renderTicks",value:function(){var n=this,i=this.props,a=i.ticks,o=i.tick,u=i.angle,c=i.tickFormatter,s=i.stroke,f=Pg(i,qI),l=this.getTickTextAnchor(),h=X(f,!1),p=X(o,!1),y=a.map(function(v,d){var g=n.getTickValueCoord(v),x=Ut(Ut(Ut(Ut({textAnchor:l,transform:"rotate(".concat(90-u,", ").concat(g.x,", ").concat(g.y,")")},h),{},{stroke:"none",fill:s},p),{},{index:d},g),{},{payload:v});return S.createElement(ae,wn({className:Q("recharts-polar-radius-axis-tick",Vx(o)),key:"tick-".concat(v.coordinate)},tr(n.props,v,d)),t.renderTickItem(o,x,c?c(v.value,d):v.value))});return S.createElement(ae,{className:"recharts-polar-radius-axis-ticks"},y)}},{key:"render",value:function(){var n=this.props,i=n.ticks,a=n.axisLine,o=n.tick;return!i||!i.length?null:S.createElement(ae,{className:Q("recharts-polar-radius-axis",this.props.className)},a&&this.renderAxisLine(),o&&this.renderTicks(),Te.renderCallByParent(this.props,this.getViewBox()))}}],[{key:"renderTickItem",value:function(n,i,a){var o;return S.isValidElement(n)?o=S.cloneElement(n,i):Y(n)?o=n(i):o=S.createElement(rr,wn({},i,{className:"recharts-polar-radius-axis-tick-value"}),a),o}}])})(R.PureComponent);Qa(eo,"displayName","PolarRadiusAxis");Qa(eo,"axisType","radiusAxis");Qa(eo,"defaultProps",{type:"number",radiusAxisId:0,cx:0,cy:0,angle:0,orientation:"right",stroke:"#ccc",axisLine:!0,tick:!0,tickCount:5,allowDataOverflow:!1,scale:"auto",allowDuplicatedCategory:!0});function Nr(e){"@babel/helpers - typeof";return Nr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Nr(e)}function Kt(){return Kt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Kt.apply(this,arguments)}function Eg(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Wt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Eg(Object(r),!0).forEach(function(n){to(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Eg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function KI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,cw(n.key),n)}}function VI(e,t,r){return t&&jg(e.prototype,t),r&&jg(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function XI(e,t,r){return t=la(t),YI(e,uw()?Reflect.construct(t,r||[],la(e).constructor):t.apply(e,r))}function YI(e,t){if(t&&(Nr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ZI(e)}function ZI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(uw=function(){return!!e})()}function la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},la(e)}function JI(e,t){if(typeof t!="function"&&t!==null)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&&mf(e,t)}function mf(e,t){return mf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},mf(e,t)}function to(e,t,r){return t=cw(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cw(e){var t=QI(e,"string");return Nr(t)=="symbol"?t:t+""}function QI(e,t){if(Nr(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Nr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var ek=Math.PI/180,Mg=1e-5,ro=(function(e){function t(){return KI(this,t),XI(this,t,arguments)}return JI(t,e),VI(t,[{key:"getTickLineCoord",value:function(n){var i=this.props,a=i.cx,o=i.cy,u=i.radius,c=i.orientation,s=i.tickSize,f=s||8,l=fe(a,o,u,n.coordinate),h=fe(a,o,u+(c==="inner"?-1:1)*f,n.coordinate);return{x1:l.x,y1:l.y,x2:h.x,y2:h.y}}},{key:"getTickTextAnchor",value:function(n){var i=this.props.orientation,a=Math.cos(-n.coordinate*ek),o;return a>Mg?o=i==="outer"?"start":"end":a<-Mg?o=i==="outer"?"end":"start":o="middle",o}},{key:"renderAxisLine",value:function(){var n=this.props,i=n.cx,a=n.cy,o=n.radius,u=n.axisLine,c=n.axisLineType,s=Wt(Wt({},X(this.props,!1)),{},{fill:"none"},X(u,!1));if(c==="circle")return S.createElement(Ch,Kt({className:"recharts-polar-angle-axis-line"},s,{cx:i,cy:a,r:o}));var f=this.props.ticks,l=f.map(function(h){return fe(i,a,o,h.coordinate)});return S.createElement(wI,Kt({className:"recharts-polar-angle-axis-line"},s,{points:l}))}},{key:"renderTicks",value:function(){var n=this,i=this.props,a=i.ticks,o=i.tick,u=i.tickLine,c=i.tickFormatter,s=i.stroke,f=X(this.props,!1),l=X(o,!1),h=Wt(Wt({},f),{},{fill:"none"},X(u,!1)),p=a.map(function(y,v){var d=n.getTickLineCoord(y),g=n.getTickTextAnchor(y),x=Wt(Wt(Wt({textAnchor:g},f),{},{stroke:"none",fill:s},l),{},{index:v,payload:y,x:d.x2,y:d.y2});return S.createElement(ae,Kt({className:Q("recharts-polar-angle-axis-tick",Vx(o)),key:"tick-".concat(y.coordinate)},tr(n.props,y,v)),u&&S.createElement("line",Kt({className:"recharts-polar-angle-axis-tick-line"},h,d)),o&&t.renderTickItem(o,x,c?c(y.value,v):y.value))});return S.createElement(ae,{className:"recharts-polar-angle-axis-ticks"},p)}},{key:"render",value:function(){var n=this.props,i=n.ticks,a=n.radius,o=n.axisLine;return a<=0||!i||!i.length?null:S.createElement(ae,{className:Q("recharts-polar-angle-axis",this.props.className)},o&&this.renderAxisLine(),this.renderTicks())}}],[{key:"renderTickItem",value:function(n,i,a){var o;return S.isValidElement(n)?o=S.cloneElement(n,i):Y(n)?o=n(i):o=S.createElement(rr,Kt({},i,{className:"recharts-polar-angle-axis-tick-value"}),a),o}}])})(R.PureComponent);to(ro,"displayName","PolarAngleAxis");to(ro,"axisType","angleAxis");to(ro,"defaultProps",{type:"category",angleAxisId:0,scale:"auto",cx:0,cy:0,orientation:"outer",axisLine:!0,tickLine:!0,tickSize:8,tick:!0,hide:!1,allowDuplicatedCategory:!0});var Hs,$g;function tk(){if($g)return Hs;$g=1;var e=b0(),t=e(Object.getPrototypeOf,Object);return Hs=t,Hs}var Gs,Cg;function rk(){if(Cg)return Gs;Cg=1;var e=_t(),t=tk(),r=At(),n="[object Object]",i=Function.prototype,a=Object.prototype,o=i.toString,u=a.hasOwnProperty,c=o.call(Object);function s(f){if(!r(f)||e(f)!=n)return!1;var l=t(f);if(l===null)return!0;var h=u.call(l,"constructor")&&l.constructor;return typeof h=="function"&&h instanceof h&&o.call(h)==c}return Gs=s,Gs}var nk=rk();const ik=ue(nk);var Ks,Ig;function ak(){if(Ig)return Ks;Ig=1;var e=_t(),t=At(),r="[object Boolean]";function n(i){return i===!0||i===!1||t(i)&&e(i)==r}return Ks=n,Ks}var ok=ak();const uk=ue(ok);function Vn(e){"@babel/helpers - typeof";return Vn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Vn(e)}function fa(){return fa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},fa.apply(this,arguments)}function ck(e,t){return hk(e)||fk(e,t)||lk(e,t)||sk()}function sk(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 58In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function lk(e,t){if(e){if(typeof e=="string")return kg(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return kg(e,t)}}function kg(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function fk(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,a,o,u=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,t!==0)for(;!(c=(n=a.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(f){s=!0,i=f}finally{try{if(!c&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(s)throw i}}return u}}function hk(e){if(Array.isArray(e))return e}function Rg(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Ng(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Rg(Object(r),!0).forEach(function(n){dk(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Rg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function dk(e,t,r){return t=pk(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pk(e){var t=vk(e,"string");return Vn(t)=="symbol"?t:t+""}function vk(e,t){if(Vn(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Vn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Dg=function(t,r,n,i,a){var o=n-i,u;return u="M ".concat(t,",").concat(r),u+="L ".concat(t+n,",").concat(r),u+="L ".concat(t+n-o/2,",").concat(r+a),u+="L ".concat(t+n-o/2-i,",").concat(r+a),u+="L ".concat(t,",").concat(r," Z"),u},yk={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},mk=function(t){var r=Ng(Ng({},yk),t),n=R.useRef(),i=R.useState(-1),a=ck(i,2),o=a[0],u=a[1];R.useEffect(function(){if(n.current&&n.current.getTotalLength)try{var w=n.current.getTotalLength();w&&u(w)}catch{}},[]);var c=r.x,s=r.y,f=r.upperWidth,l=r.lowerWidth,h=r.height,p=r.className,y=r.animationEasing,v=r.animationDuration,d=r.animationBegin,g=r.isUpdateAnimationActive;if(c!==+c||s!==+s||f!==+f||l!==+l||h!==+h||f===0&&l===0||h===0)return null;var x=Q("recharts-trapezoid",p);return g?S.createElement(Ot,{canBegin:o>0,from:{upperWidth:0,lowerWidth:0,height:h,x:c,y:s},to:{upperWidth:f,lowerWidth:l,height:h,x:c,y:s},duration:v,animationEasing:y,isActive:g},function(w){var O=w.upperWidth,m=w.lowerWidth,b=w.height,_=w.x,A=w.y;return S.createElement(Ot,{canBegin:o>0,from:"0px ".concat(o===-1?1:o,"px"),to:"".concat(o,"px 0px"),attributeName:"strokeDasharray",begin:d,duration:v,easing:y},S.createElement("path",fa({},X(r,!0),{className:x,d:Dg(_,A,O,m,b),ref:n})))}):S.createElement("g",null,S.createElement("path",fa({},X(r,!0),{className:x,d:Dg(c,s,f,l,h)})))},gk=["option","shapeType","propTransformer","activeClassName","isActive"];function Xn(e){"@babel/helpers - typeof";return Xn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xn(e)}function bk(e,t){if(e==null)return{};var r=xk(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function xk(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function qg(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function ha(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?qg(Object(r),!0).forEach(function(n){wk(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function wk(e,t,r){return t=Ok(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ok(e){var t=_k(e,"string");return Xn(t)=="symbol"?t:t+""}function _k(e,t){if(Xn(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Xn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ak(e,t){return ha(ha({},t),e)}function Sk(e,t){return e==="symbols"}function Lg(e){var t=e.shapeType,r=e.elementProps;switch(t){case"rectangle":return S.createElement($h,r);case"trapezoid":return S.createElement(mk,r);case"sector":return S.createElement(Zx,r);case"symbols":if(Sk(t))return S.createElement(Yf,r);break;default:return null}}function Pk(e){return R.isValidElement(e)?e.props:e}function sw(e){var t=e.option,r=e.shapeType,n=e.propTransformer,i=n===void 0?Ak:n,a=e.activeClassName,o=a===void 0?"recharts-active-shape":a,u=e.isActive,c=bk(e,gk),s;if(R.isValidElement(t))s=R.cloneElement(t,ha(ha({},c),Pk(t)));else if(Y(t))s=t(c);else if(ik(t)&&!uk(t)){var f=i(t,c);s=S.createElement(Lg,{shapeType:r,elementProps:f})}else{var l=c;s=S.createElement(Lg,{shapeType:r,elementProps:l})}return u?S.createElement(ae,{className:o},s):s}function no(e,t){return t!=null&&"trapezoids"in e.props}function io(e,t){return t!=null&&"sectors"in e.props}function Yn(e,t){return t!=null&&"points"in e.props}function Tk(e,t){var r,n,i=e.x===(t==null||(r=t.labelViewBox)===null||r===void 0?void 0:r.x)||e.x===t.x,a=e.y===(t==null||(n=t.labelViewBox)===null||n===void 0?void 0:n.y)||e.y===t.y;return i&&a}function Ek(e,t){var r=e.endAngle===t.endAngle,n=e.startAngle===t.startAngle;return r&&n}function jk(e,t){var r=e.x===t.x,n=e.y===t.y,i=e.z===t.z;return r&&n&&i}function Mk(e,t){var r;return no(e,t)?r=Tk:io(e,t)?r=Ek:Yn(e,t)&&(r=jk),r}function $k(e,t){var r;return no(e,t)?r="trapezoids":io(e,t)?r="sectors":Yn(e,t)&&(r="points"),r}function Ck(e,t){if(no(e,t)){var r;return(r=t.tooltipPayload)===null||r===void 0||(r=r[0])===null||r===void 0||(r=r.payload)===null||r===void 0?void 0:r.payload}if(io(e,t)){var n;return(n=t.tooltipPayload)===null||n===void 0||(n=n[0])===null||n===void 0||(n=n.payload)===null||n===void 0?void 0:n.payload}return Yn(e,t)?t.payload:{}}function Ik(e){var t=e.activeTooltipItem,r=e.graphicalItem,n=e.itemData,i=$k(r,t),a=Ck(r,t),o=n.filter(function(c,s){var f=Xa(a,c),l=r.props[i].filter(function(y){var v=Mk(r,t);return v(y,t)}),h=r.props[i].indexOf(l[l.length-1]),p=s===h;return f&&p}),u=n.indexOf(o[o.length-1]);return u}var Ei;function Dr(e){"@babel/helpers - typeof";return Dr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Dr(e)}function yr(){return yr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},yr.apply(this,arguments)}function Bg(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function se(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Bg(Object(r),!0).forEach(function(n){Xe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Bg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function kk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,fw(n.key),n)}}function Rk(e,t,r){return t&&Fg(e.prototype,t),r&&Fg(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Nk(e,t,r){return t=da(t),Dk(e,lw()?Reflect.construct(t,r||[],da(e).constructor):t.apply(e,r))}function Dk(e,t){if(t&&(Dr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return qk(e)}function qk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(lw=function(){return!!e})()}function da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},da(e)}function Lk(e,t){if(typeof t!="function"&&t!==null)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&&gf(e,t)}function gf(e,t){return gf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},gf(e,t)}function Xe(e,t,r){return t=fw(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fw(e){var t=Bk(e,"string");return Dr(t)=="symbol"?t:t+""}function Bk(e,t){if(Dr(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Dr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Pt=(function(e){function t(r){var n;return kk(this,t),n=Nk(this,t,[r]),Xe(n,"pieRef",null),Xe(n,"sectorRefs",[]),Xe(n,"id",ai("recharts-pie-")),Xe(n,"handleAnimationEnd",function(){var i=n.props.onAnimationEnd;n.setState({isAnimationFinished:!0}),Y(i)&&i()}),Xe(n,"handleAnimationStart",function(){var i=n.props.onAnimationStart;n.setState({isAnimationFinished:!1}),Y(i)&&i()}),n.state={isAnimationFinished:!r.isAnimationActive,prevIsAnimationActive:r.isAnimationActive,prevAnimationId:r.animationId,sectorToFocus:0},n}return Lk(t,e),Rk(t,[{key:"isActiveIndex",value:function(n){var i=this.props.activeIndex;return Array.isArray(i)?i.indexOf(n)!==-1:n===i}},{key:"hasActiveIndex",value:function(){var n=this.props.activeIndex;return Array.isArray(n)?n.length!==0:n||n===0}},{key:"renderLabels",value:function(n){var i=this.props.isAnimationActive;if(i&&!this.state.isAnimationFinished)return null;var a=this.props,o=a.label,u=a.labelLine,c=a.dataKey,s=a.valueKey,f=X(this.props,!1),l=X(o,!1),h=X(u,!1),p=o&&o.offsetRadius||20,y=n.map(function(v,d){var g=(v.startAngle+v.endAngle)/2,x=fe(v.cx,v.cy,v.outerRadius+p,g),w=se(se(se(se({},f),v),{},{stroke:"none"},l),{},{index:d,textAnchor:t.getTextAnchor(x.x,v.cx)},x),O=se(se(se(se({},f),v),{},{fill:"none",stroke:v.fill},h),{},{index:d,points:[fe(v.cx,v.cy,v.outerRadius,g),x]}),m=c;return ee(c)&&ee(s)?m="value":ee(c)&&(m=s),S.createElement(ae,{key:"label-".concat(v.startAngle,"-").concat(v.endAngle,"-").concat(v.midAngle,"-").concat(d)},u&&t.renderLabelLineItem(u,O,"line"),t.renderLabelItem(o,w,Ce(v,m)))});return S.createElement(ae,{className:"recharts-pie-labels"},y)}},{key:"renderSectorsStatically",value:function(n){var i=this,a=this.props,o=a.activeShape,u=a.blendStroke,c=a.inactiveShape;return n.map(function(s,f){if(s?.startAngle===0&&s?.endAngle===0&&n.length!==1)return null;var l=i.isActiveIndex(f),h=c&&i.hasActiveIndex()?c:null,p=l?o:h,y=se(se({},s),{},{stroke:u?s.fill:s.stroke,tabIndex:-1});return S.createElement(ae,yr({ref:function(d){d&&!i.sectorRefs.includes(d)&&i.sectorRefs.push(d)},tabIndex:-1,className:"recharts-pie-sector"},tr(i.props,s,f),{key:"sector-".concat(s?.startAngle,"-").concat(s?.endAngle,"-").concat(s.midAngle,"-").concat(f)}),S.createElement(sw,yr({option:p,isActive:l,shapeType:"sector"},y)))})}},{key:"renderSectorsWithAnimation",value:function(){var n=this,i=this.props,a=i.sectors,o=i.isAnimationActive,u=i.animationBegin,c=i.animationDuration,s=i.animationEasing,f=i.animationId,l=this.state,h=l.prevSectors,p=l.prevIsAnimationActive;return S.createElement(Ot,{begin:u,duration:c,isActive:o,easing:s,from:{t:0},to:{t:1},key:"pie-".concat(f,"-").concat(p),onAnimationStart:this.handleAnimationStart,onAnimationEnd:this.handleAnimationEnd},function(y){var v=y.t,d=[],g=a&&a[0],x=g.startAngle;return a.forEach(function(w,O){var m=h&&h[O],b=O>0?He(w,"paddingAngle",0):0;if(m){var _=jt(m.endAngle-m.startAngle,w.endAngle-w.startAngle),A=se(se({},w),{},{startAngle:x+b,endAngle:x+_(v)+b});d.push(A),x=A.endAngle}else{var P=w.endAngle,M=w.startAngle,E=jt(0,P-M),T=E(v),j=se(se({},w),{},{startAngle:x+b,endAngle:x+T+b});d.push(j),x=j.endAngle}}),S.createElement(ae,null,n.renderSectorsStatically(d))})}},{key:"attachKeyboardHandlers",value:function(n){var i=this;n.onkeydown=function(a){if(!a.altKey)switch(a.key){case"ArrowLeft":{var o=++i.state.sectorToFocus%i.sectorRefs.length;i.sectorRefs[o].focus(),i.setState({sectorToFocus:o});break}case"ArrowRight":{var u=--i.state.sectorToFocus<0?i.sectorRefs.length-1:i.state.sectorToFocus%i.sectorRefs.length;i.sectorRefs[u].focus(),i.setState({sectorToFocus:u});break}case"Escape":{i.sectorRefs[i.state.sectorToFocus].blur(),i.setState({sectorToFocus:0});break}}}}},{key:"renderSectors",value:function(){var n=this.props,i=n.sectors,a=n.isAnimationActive,o=this.state.prevSectors;return a&&i&&i.length&&(!o||!Xa(o,i))?this.renderSectorsWithAnimation():this.renderSectorsStatically(i)}},{key:"componentDidMount",value:function(){this.pieRef&&this.attachKeyboardHandlers(this.pieRef)}},{key:"render",value:function(){var n=this,i=this.props,a=i.hide,o=i.sectors,u=i.className,c=i.label,s=i.cx,f=i.cy,l=i.innerRadius,h=i.outerRadius,p=i.isAnimationActive,y=this.state.isAnimationFinished;if(a||!o||!o.length||!q(s)||!q(f)||!q(l)||!q(h))return null;var v=Q("recharts-pie",u);return S.createElement(ae,{tabIndex:this.props.rootTabIndex,className:v,ref:function(g){n.pieRef=g}},this.renderSectors(),c&&this.renderLabels(o),Te.renderCallByParent(this.props,null,!1),(!p||y)&&kt.renderCallByParent(this.props,o,!1))}}],[{key:"getDerivedStateFromProps",value:function(n,i){return i.prevIsAnimationActive!==n.isAnimationActive?{prevIsAnimationActive:n.isAnimationActive,prevAnimationId:n.animationId,curSectors:n.sectors,prevSectors:[],isAnimationFinished:!0}:n.isAnimationActive&&n.animationId!==i.prevAnimationId?{prevAnimationId:n.animationId,curSectors:n.sectors,prevSectors:i.curSectors,isAnimationFinished:!0}:n.sectors!==i.curSectors?{curSectors:n.sectors,isAnimationFinished:!0}:null}},{key:"getTextAnchor",value:function(n,i){return n>i?"start":n<i?"end":"middle"}},{key:"renderLabelLineItem",value:function(n,i,a){if(S.isValidElement(n))return S.cloneElement(n,i);if(Y(n))return n(i);var o=Q("recharts-pie-label-line",typeof n!="boolean"?n.className:"");return S.createElement(rf,yr({},i,{key:a,type:"linear",className:o}))}},{key:"renderLabelItem",value:function(n,i,a){if(S.isValidElement(n))return S.cloneElement(n,i);var o=a;if(Y(n)&&(o=n(i),S.isValidElement(o)))return o;var u=Q("recharts-pie-label-text",typeof n!="boolean"&&!Y(n)?n.className:"");return S.createElement(rr,yr({},i,{alignmentBaseline:"middle",className:u}),o)}}])})(R.PureComponent);Ei=Pt;Xe(Pt,"displayName","Pie");Xe(Pt,"defaultProps",{stroke:"#fff",fill:"#808080",legendType:"rect",cx:"50%",cy:"50%",startAngle:0,endAngle:360,innerRadius:0,outerRadius:"80%",paddingAngle:0,labelLine:!0,hide:!1,minAngle:0,isAnimationActive:!Jr.isSsr,animationBegin:400,animationDuration:1500,animationEasing:"ease",nameKey:"name",blendStroke:!1,rootTabIndex:0});Xe(Pt,"parseDeltaAngle",function(e,t){var r=Ie(t-e),n=Math.min(Math.abs(t-e),360);return r*n});Xe(Pt,"getRealPieData",function(e){var t=e.data,r=e.children,n=X(e,!1),i=Ze(r,La);return t&&t.length?t.map(function(a,o){return se(se(se({payload:a},n),a),i&&i[o]&&i[o].props)}):i&&i.length?i.map(function(a){return se(se({},n),a.props)}):[]});Xe(Pt,"parseCoordinateOfPie",function(e,t){var r=t.top,n=t.left,i=t.width,a=t.height,o=Kx(i,a),u=n+ke(e.cx,i,i/2),c=r+ke(e.cy,a,a/2),s=ke(e.innerRadius,o,0),f=ke(e.outerRadius,o,o*.8),l=e.maxRadius||Math.sqrt(i*i+a*a)/2;return{cx:u,cy:c,innerRadius:s,outerRadius:f,maxRadius:l}});Xe(Pt,"getComposedData",function(e){var t=e.item,r=e.offset,n=t.type.defaultProps!==void 0?se(se({},t.type.defaultProps),t.props):t.props,i=Ei.getRealPieData(n);if(!i||!i.length)return null;var a=n.cornerRadius,o=n.startAngle,u=n.endAngle,c=n.paddingAngle,s=n.dataKey,f=n.nameKey,l=n.valueKey,h=n.tooltipType,p=Math.abs(n.minAngle),y=Ei.parseCoordinateOfPie(n,r),v=Ei.parseDeltaAngle(o,u),d=Math.abs(v),g=s;ee(s)&&ee(l)?(nt(!1,`Use "dataKey" to specify the value of pie,
59 the props "valueKey" will be deprecated in 1.1.0`),g="value"):ee(s)&&(nt(!1,`Use "dataKey" to specify the value of pie, 60 the props "valueKey" will be deprecated in 1.1.0`),g=l);var x=i.filter(function(A){return Ce(A,g,0)!==0}).length,w=(d>=360?x:x-1)*c,O=d-x*p-w,m=i.reduce(function(A,P){var M=Ce(P,g,0);return A+(q(M)?M:0)},0),b;if(m>0){var _;b=i.map(function(A,P){var M=Ce(A,g,0),E=Ce(A,f,P),T=(q(M)?M:0)/m,j;P?j=_.endAngle+Ie(v)*c*(M!==0?1:0):j=o;var C=j+Ie(v)*((M!==0?p:0)+T*O),$=(j+C)/2,k=(y.innerRadius+y.outerRadius)/2,N=[{name:E,value:M,payload:A,dataKey:g,type:h}],L=fe(y.cx,y.cy,k,$);return _=se(se(se({percent:T,cornerRadius:a,name:E,tooltipPayload:N,midAngle:$,middleRadius:k,tooltipPosition:L},A),y),{},{value:Ce(A,g),startAngle:j,endAngle:C,payload:A,paddingAngle:Ie(v)*c}),_})}return se(se({},y),{},{sectors:b,data:i})});var Vs,zg;function Fk(){if(zg)return Vs;zg=1;var e=Math.ceil,t=Math.max;function r(n,i,a,o){for(var u=-1,c=t(e((i-n)/(a||1)),0),s=Array(c);c--;)s[o?c:++u]=n,n+=a;return s}return Vs=r,Vs}var Xs,Ug;function hw(){if(Ug)return Xs;Ug=1;var e=R0(),t=1/0,r=17976931348623157e292;function n(i){if(!i)return i===0?i:0;if(i=e(i),i===t||i===-t){var a=i<0?-1:1;return a*r}return i===i?i:0}return Xs=n,Xs}var Ys,Wg;function zk(){if(Wg)return Ys;Wg=1;var e=Fk(),t=qa(),r=hw();function n(i){return function(a,o,u){return u&&typeof u!="number"&&t(a,o,u)&&(o=u=void 0),a=r(a),o===void 0?(o=a,a=0):o=r(o),u=u===void 0?a<o?1:-1:r(u),e(a,o,u,i)}}return Ys=n,Ys}var Zs,Hg;function Uk(){if(Hg)return Zs;Hg=1;var e=zk(),t=e();return Zs=t,Zs}var Wk=Uk();const pa=ue(Wk);function Zn(e){"@babel/helpers - typeof";return Zn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Zn(e)}function Gg(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Kg(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Gg(Object(r),!0).forEach(function(n){dw(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Gg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function dw(e,t,r){return t=Hk(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hk(e){var t=Gk(e,"string");return Zn(t)=="symbol"?t:t+""}function Gk(e,t){if(Zn(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Zn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Kk=["Webkit","Moz","O","ms"],Vk=function(t,r){var n=t.replace(/(\w)/,function(a){return a.toUpperCase()}),i=Kk.reduce(function(a,o){return Kg(Kg({},a),{},dw({},o+n,r))},{});return i[t]=r,i};function qr(e){"@babel/helpers - typeof";return qr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qr(e)}function va(){return va=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},va.apply(this,arguments)}function Vg(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Js(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Vg(Object(r),!0).forEach(function(n){Fe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Xk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,vw(n.key),n)}}function Yk(e,t,r){return t&&Xg(e.prototype,t),r&&Xg(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Zk(e,t,r){return t=ya(t),Jk(e,pw()?Reflect.construct(t,r||[],ya(e).constructor):t.apply(e,r))}function Jk(e,t){if(t&&(qr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Qk(e)}function Qk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(pw=function(){return!!e})()}
vendor: 111,629 bytes, lines 60-64
60function ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ya(e)}function eR(e,t){if(typeof t!="function"&&t!==null)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&&bf(e,t)}function bf(e,t){return bf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},bf(e,t)}function Fe(e,t,r){return t=vw(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vw(e){var t=tR(e,"string");return qr(t)=="symbol"?t:t+""}function tR(e,t){if(qr(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(qr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var rR=function(t){var r=t.data,n=t.startIndex,i=t.endIndex,a=t.x,o=t.width,u=t.travellerWidth;if(!r||!r.length)return{};var c=r.length,s=mn().domain(pa(0,c)).range([a,a+o-u]),f=s.domain().map(function(l){return s(l)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:s(n),endX:s(i),scale:s,scaleValues:f}},Yg=function(t){return t.changedTouches&&!!t.changedTouches.length},Lr=(function(e){function t(r){var n;return Xk(this,t),n=Zk(this,t,[r]),Fe(n,"handleDrag",function(i){n.leaveTimer&&(clearTimeout(n.leaveTimer),n.leaveTimer=null),n.state.isTravellerMoving?n.handleTravellerMove(i):n.state.isSlideMoving&&n.handleSlideDrag(i)}),Fe(n,"handleTouchMove",function(i){i.changedTouches!=null&&i.changedTouches.length>0&&n.handleDrag(i.changedTouches[0])}),Fe(n,"handleDragEnd",function(){n.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var i=n.props,a=i.endIndex,o=i.onDragEnd,u=i.startIndex;o?.({endIndex:a,startIndex:u})}),n.detachDragEndListener()}),Fe(n,"handleLeaveWrapper",function(){(n.state.isTravellerMoving||n.state.isSlideMoving)&&(n.leaveTimer=window.setTimeout(n.handleDragEnd,n.props.leaveTimeOut))}),Fe(n,"handleEnterSlideOrTraveller",function(){n.setState({isTextActive:!0})}),Fe(n,"handleLeaveSlideOrTraveller",function(){n.setState({isTextActive:!1})}),Fe(n,"handleSlideDragStart",function(i){var a=Yg(i)?i.changedTouches[0]:i;n.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:a.pageX}),n.attachDragEndListener()}),n.travellerDragStartHandlers={startX:n.handleTravellerDragStart.bind(n,"startX"),endX:n.handleTravellerDragStart.bind(n,"endX")},n.state={},n}return eR(t,e),Yk(t,[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(n){var i=n.startX,a=n.endX,o=this.state.scaleValues,u=this.props,c=u.gap,s=u.data,f=s.length-1,l=Math.min(i,a),h=Math.max(i,a),p=t.getIndexInRange(o,l),y=t.getIndexInRange(o,h);return{startIndex:p-p%c,endIndex:y===f?f:y-y%c}}},{key:"getTextOfTick",value:function(n){var i=this.props,a=i.data,o=i.tickFormatter,u=i.dataKey,c=Ce(a[n],u,n);return Y(o)?o(c,n):c}},{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(n){var i=this.state,a=i.slideMoveStartX,o=i.startX,u=i.endX,c=this.props,s=c.x,f=c.width,l=c.travellerWidth,h=c.startIndex,p=c.endIndex,y=c.onChange,v=n.pageX-a;v>0?v=Math.min(v,s+f-l-u,s+f-l-o):v<0&&(v=Math.max(v,s-o,s-u));var d=this.getIndex({startX:o+v,endX:u+v});(d.startIndex!==h||d.endIndex!==p)&&y&&y(d),this.setState({startX:o+v,endX:u+v,slideMoveStartX:n.pageX})}},{key:"handleTravellerDragStart",value:function(n,i){var a=Yg(i)?i.changedTouches[0]:i;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:n,brushMoveStartX:a.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(n){var i=this.state,a=i.brushMoveStartX,o=i.movingTravellerId,u=i.endX,c=i.startX,s=this.state[o],f=this.props,l=f.x,h=f.width,p=f.travellerWidth,y=f.onChange,v=f.gap,d=f.data,g={startX:this.state.startX,endX:this.state.endX},x=n.pageX-a;x>0?x=Math.min(x,l+h-p-s):x<0&&(x=Math.max(x,l-s)),g[o]=s+x;var w=this.getIndex(g),O=w.startIndex,m=w.endIndex,b=function(){var A=d.length-1;return o==="startX"&&(u>c?O%v===0:m%v===0)||u<c&&m===A||o==="endX"&&(u>c?m%v===0:O%v===0)||u>c&&m===A};this.setState(Fe(Fe({},o,s+x),"brushMoveStartX",n.pageX),function(){y&&b()&&y(w)})}},{key:"handleTravellerMoveKeyboard",value:function(n,i){var a=this,o=this.state,u=o.scaleValues,c=o.startX,s=o.endX,f=this.state[i],l=u.indexOf(f);if(l!==-1){var h=l+n;if(!(h===-1||h>=u.length)){var p=u[h];i==="startX"&&p>=s||i==="endX"&&p<=c||this.setState(Fe({},i,p),function(){a.props.onChange(a.getIndex({startX:a.state.startX,endX:a.state.endX}))})}}}},{key:"renderBackground",value:function(){var n=this.props,i=n.x,a=n.y,o=n.width,u=n.height,c=n.fill,s=n.stroke;return S.createElement("rect",{stroke:s,fill:c,x:i,y:a,width:o,height:u})}},{key:"renderPanorama",value:function(){var n=this.props,i=n.x,a=n.y,o=n.width,u=n.height,c=n.data,s=n.children,f=n.padding,l=R.Children.only(s);return l?S.cloneElement(l,{x:i,y:a,width:o,height:u,margin:f,compact:!0,data:c}):null}},{key:"renderTravellerLayer",value:function(n,i){var a,o,u=this,c=this.props,s=c.y,f=c.travellerWidth,l=c.height,h=c.traveller,p=c.ariaLabel,y=c.data,v=c.startIndex,d=c.endIndex,g=Math.max(n,this.props.x),x=Js(Js({},X(this.props,!1)),{},{x:g,y:s,width:f,height:l}),w=p||"Min value: ".concat((a=y[v])===null||a===void 0?void 0:a.name,", Max value: ").concat((o=y[d])===null||o===void 0?void 0:o.name);return S.createElement(ae,{tabIndex:0,role:"slider","aria-label":w,"aria-valuenow":n,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[i],onTouchStart:this.travellerDragStartHandlers[i],onKeyDown:function(m){["ArrowLeft","ArrowRight"].includes(m.key)&&(m.preventDefault(),m.stopPropagation(),u.handleTravellerMoveKeyboard(m.key==="ArrowRight"?1:-1,i))},onFocus:function(){u.setState({isTravellerFocused:!0})},onBlur:function(){u.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},t.renderTraveller(h,x))}},{key:"renderSlide",value:function(n,i){var a=this.props,o=a.y,u=a.height,c=a.stroke,s=a.travellerWidth,f=Math.min(n,i)+s,l=Math.max(Math.abs(i-n)-s,0);return S.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:c,fillOpacity:.2,x:f,y:o,width:l,height:u})}},{key:"renderText",value:function(){var n=this.props,i=n.startIndex,a=n.endIndex,o=n.y,u=n.height,c=n.travellerWidth,s=n.stroke,f=this.state,l=f.startX,h=f.endX,p=5,y={pointerEvents:"none",fill:s};return S.createElement(ae,{className:"recharts-brush-texts"},S.createElement(rr,va({textAnchor:"end",verticalAnchor:"middle",x:Math.min(l,h)-p,y:o+u/2},y),this.getTextOfTick(i)),S.createElement(rr,va({textAnchor:"start",verticalAnchor:"middle",x:Math.max(l,h)+c+p,y:o+u/2},y),this.getTextOfTick(a)))}},{key:"render",value:function(){var n=this.props,i=n.data,a=n.className,o=n.children,u=n.x,c=n.y,s=n.width,f=n.height,l=n.alwaysShowText,h=this.state,p=h.startX,y=h.endX,v=h.isTextActive,d=h.isSlideMoving,g=h.isTravellerMoving,x=h.isTravellerFocused;if(!i||!i.length||!q(u)||!q(c)||!q(s)||!q(f)||s<=0||f<=0)return null;var w=Q("recharts-brush",a),O=S.Children.count(o)===1,m=Vk("userSelect","none");return S.createElement(ae,{className:w,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:m},this.renderBackground(),O&&this.renderPanorama(),this.renderSlide(p,y),this.renderTravellerLayer(p,"startX"),this.renderTravellerLayer(y,"endX"),(v||d||g||x||l)&&this.renderText())}}],[{key:"renderDefaultTraveller",value:function(n){var i=n.x,a=n.y,o=n.width,u=n.height,c=n.stroke,s=Math.floor(a+u/2)-1;return S.createElement(S.Fragment,null,S.createElement("rect",{x:i,y:a,width:o,height:u,fill:c,stroke:"none"}),S.createElement("line",{x1:i+1,y1:s,x2:i+o-1,y2:s,fill:"none",stroke:"#fff"}),S.createElement("line",{x1:i+1,y1:s+2,x2:i+o-1,y2:s+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(n,i){var a;return S.isValidElement(n)?a=S.cloneElement(n,i):Y(n)?a=n(i):a=t.renderDefaultTraveller(i),a}},{key:"getDerivedStateFromProps",value:function(n,i){var a=n.data,o=n.width,u=n.x,c=n.travellerWidth,s=n.updateId,f=n.startIndex,l=n.endIndex;if(a!==i.prevData||s!==i.prevUpdateId)return Js({prevData:a,prevTravellerWidth:c,prevUpdateId:s,prevX:u,prevWidth:o},a&&a.length?rR({data:a,width:o,x:u,travellerWidth:c,startIndex:f,endIndex:l}):{scale:null,scaleValues:null});if(i.scale&&(o!==i.prevWidth||u!==i.prevX||c!==i.prevTravellerWidth)){i.scale.range([u,u+o-c]);var h=i.scale.domain().map(function(p){return i.scale(p)});return{prevData:a,prevTravellerWidth:c,prevUpdateId:s,prevX:u,prevWidth:o,startX:i.scale(n.startIndex),endX:i.scale(n.endIndex),scaleValues:h}}return null}},{key:"getIndexInRange",value:function(n,i){for(var a=n.length,o=0,u=a-1;u-o>1;){var c=Math.floor((o+u)/2);n[c]>i?u=c:o=c}return i>=n[u]?u:o}}])})(R.PureComponent);Fe(Lr,"displayName","Brush");Fe(Lr,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1});var Qs,Zg;function nR(){if(Zg)return Qs;Zg=1;var e=nh();function t(r,n){var i;return e(r,function(a,o,u){return i=n(a,o,u),!i}),!!i}return Qs=t,Qs}var el,Jg;function iR(){if(Jg)return el;Jg=1;var e=h0(),t=lt(),r=nR(),n=Le(),i=qa();function a(o,u,c){var s=n(o)?e:r;return c&&i(o,u,c)&&(u=void 0),s(o,t(u,3))}return el=a,el}var aR=iR();const oR=ue(aR);var ut=function(t,r){var n=t.alwaysShow,i=t.ifOverflow;return n&&(i="extendDomain"),i===r},tl,Qg;function uR(){if(Qg)return tl;Qg=1;var e=M0();function t(r,n,i){n=="__proto__"&&e?e(r,n,{configurable:!0,enumerable:!0,value:i,writable:!0}):r[n]=i}return tl=t,tl}var rl,eb;function cR(){if(eb)return rl;eb=1;var e=uR(),t=E0(),r=lt();function n(i,a){var o={};return a=r(a,3),t(i,function(u,c,s){e(o,c,a(u,c,s))}),o}return rl=n,rl}var sR=cR();const lR=ue(sR);var nl,tb;function fR(){if(tb)return nl;tb=1;function e(t,r){for(var n=-1,i=t==null?0:t.length;++n<i;)if(!r(t[n],n,t))return!1;return!0}return nl=e,nl}var il,rb;function hR(){if(rb)return il;rb=1;var e=nh();function t(r,n){var i=!0;return e(r,function(a,o,u){return i=!!n(a,o,u),i}),i}return il=t,il}var al,nb;function dR(){if(nb)return al;nb=1;var e=fR(),t=hR(),r=lt(),n=Le(),i=qa();function a(o,u,c){var s=n(o)?e:t;return c&&i(o,u,c)&&(u=void 0),s(o,r(u,3))}return al=a,al}var pR=dR();const yw=ue(pR);var vR=["x","y"];function Jn(e){"@babel/helpers - typeof";return Jn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jn(e)}function xf(){return xf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},xf.apply(this,arguments)}function ib(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function hn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ib(Object(r),!0).forEach(function(n){yR(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ib(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function yR(e,t,r){return t=mR(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mR(e){var t=gR(e,"string");return Jn(t)=="symbol"?t:t+""}function gR(e,t){if(Jn(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Jn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function bR(e,t){if(e==null)return{};var r=xR(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function xR(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function wR(e,t){var r=e.x,n=e.y,i=bR(e,vR),a="".concat(r),o=parseInt(a,10),u="".concat(n),c=parseInt(u,10),s="".concat(t.height||i.height),f=parseInt(s,10),l="".concat(t.width||i.width),h=parseInt(l,10);return hn(hn(hn(hn(hn({},t),i),o?{x:o}:{}),c?{y:c}:{}),{},{height:f,width:h,name:t.name,radius:t.radius})}function ab(e){return S.createElement(sw,xf({shapeType:"rectangle",propTransformer:wR,activeClassName:"recharts-active-bar"},e))}var OR=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return function(n,i){if(typeof t=="number")return t;var a=q(n)||UO(n);return a?t(n,i):(a||ir(),r)}},_R=["value","background"],mw;function Br(e){"@babel/helpers - typeof";return Br=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Br(e)}function AR(e,t){if(e==null)return{};var r=SR(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function SR(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function ma(){return ma=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ma.apply(this,arguments)}function ob(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function ge(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ob(Object(r),!0).forEach(function(n){Ct(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ob(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function PR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ub(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,bw(n.key),n)}}function TR(e,t,r){return t&&ub(e.prototype,t),r&&ub(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function ER(e,t,r){return t=ga(t),jR(e,gw()?Reflect.construct(t,r||[],ga(e).constructor):t.apply(e,r))}function jR(e,t){if(t&&(Br(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return MR(e)}function MR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(gw=function(){return!!e})()}function ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ga(e)}function $R(e,t){if(typeof t!="function"&&t!==null)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&&wf(e,t)}function wf(e,t){return wf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},wf(e,t)}function Ct(e,t,r){return t=bw(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bw(e){var t=CR(e,"string");return Br(t)=="symbol"?t:t+""}function CR(e,t){if(Br(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Br(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var gt=(function(e){function t(){var r;PR(this,t);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return r=ER(this,t,[].concat(i)),Ct(r,"state",{isAnimationFinished:!1}),Ct(r,"id",ai("recharts-bar-")),Ct(r,"handleAnimationEnd",function(){var o=r.props.onAnimationEnd;r.setState({isAnimationFinished:!0}),o&&o()}),Ct(r,"handleAnimationStart",function(){var o=r.props.onAnimationStart;r.setState({isAnimationFinished:!1}),o&&o()}),r}return $R(t,e),TR(t,[{key:"renderRectanglesStatically",value:function(n){var i=this,a=this.props,o=a.shape,u=a.dataKey,c=a.activeIndex,s=a.activeBar,f=X(this.props,!1);return n&&n.map(function(l,h){var p=h===c,y=p?s:o,v=ge(ge(ge({},f),l),{},{isActive:p,option:y,index:h,dataKey:u,onAnimationStart:i.handleAnimationStart,onAnimationEnd:i.handleAnimationEnd});return S.createElement(ae,ma({className:"recharts-bar-rectangle"},tr(i.props,l,h),{key:"rectangle-".concat(l?.x,"-").concat(l?.y,"-").concat(l?.value,"-").concat(h)}),S.createElement(ab,v))})}},{key:"renderRectanglesWithAnimation",value:function(){var n=this,i=this.props,a=i.data,o=i.layout,u=i.isAnimationActive,c=i.animationBegin,s=i.animationDuration,f=i.animationEasing,l=i.animationId,h=this.state.prevData;return S.createElement(Ot,{begin:c,duration:s,isActive:u,easing:f,from:{t:0},to:{t:1},key:"bar-".concat(l),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(p){var y=p.t,v=a.map(function(d,g){var x=h&&h[g];if(x){var w=jt(x.x,d.x),O=jt(x.y,d.y),m=jt(x.width,d.width),b=jt(x.height,d.height);return ge(ge({},d),{},{x:w(y),y:O(y),width:m(y),height:b(y)})}if(o==="horizontal"){var _=jt(0,d.height),A=_(y);return ge(ge({},d),{},{y:d.y+d.height-A,height:A})}var P=jt(0,d.width),M=P(y);return ge(ge({},d),{},{width:M})});return S.createElement(ae,null,n.renderRectanglesStatically(v))})}},{key:"renderRectangles",value:function(){var n=this.props,i=n.data,a=n.isAnimationActive,o=this.state.prevData;return a&&i&&i.length&&(!o||!Xa(o,i))?this.renderRectanglesWithAnimation():this.renderRectanglesStatically(i)}},{key:"renderBackground",value:function(){var n=this,i=this.props,a=i.data,o=i.dataKey,u=i.activeIndex,c=X(this.props.background,!1);return a.map(function(s,f){s.value;var l=s.background,h=AR(s,_R);if(!l)return null;var p=ge(ge(ge(ge(ge({},h),{},{fill:"#eee"},l),c),tr(n.props,s,f)),{},{onAnimationStart:n.handleAnimationStart,onAnimationEnd:n.handleAnimationEnd,dataKey:o,index:f,className:"recharts-bar-background-rectangle"});return S.createElement(ab,ma({key:"background-bar-".concat(f),option:n.props.background,isActive:f===u},p))})}},{key:"renderErrorBar",value:function(n,i){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var a=this.props,o=a.data,u=a.xAxis,c=a.yAxis,s=a.layout,f=a.children,l=Ze(f,Ja);if(!l)return null;var h=s==="vertical"?o[0].height/2:o[0].width/2,p=function(d,g){var x=Array.isArray(d.value)?d.value[1]:d.value;return{x:d.x,y:d.y,value:x,errorVal:Ce(d,g)}},y={clipPath:n?"url(#clipPath-".concat(i,")"):null};return S.createElement(ae,y,l.map(function(v){return S.cloneElement(v,{key:"error-bar-".concat(i,"-").concat(v.props.dataKey),data:o,xAxis:u,yAxis:c,layout:s,offset:h,dataPointFormatter:p})}))}},{key:"render",value:function(){var n=this.props,i=n.hide,a=n.data,o=n.className,u=n.xAxis,c=n.yAxis,s=n.left,f=n.top,l=n.width,h=n.height,p=n.isAnimationActive,y=n.background,v=n.id;if(i||!a||!a.length)return null;var d=this.state.isAnimationFinished,g=Q("recharts-bar",o),x=u&&u.allowDataOverflow,w=c&&c.allowDataOverflow,O=x||w,m=ee(v)?this.id:v;return S.createElement(ae,{className:g},x||w?S.createElement("defs",null,S.createElement("clipPath",{id:"clipPath-".concat(m)},S.createElement("rect",{x:x?s:s-l/2,y:w?f:f-h/2,width:x?l:l*2,height:w?h:h*2}))):null,S.createElement(ae,{className:"recharts-bar-rectangles",clipPath:O?"url(#clipPath-".concat(m,")"):null},y?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(O,m),(!p||d)&&kt.renderCallByParent(this.props,a))}}],[{key:"getDerivedStateFromProps",value:function(n,i){return n.animationId!==i.prevAnimationId?{prevAnimationId:n.animationId,curData:n.data,prevData:i.curData}:n.data!==i.curData?{curData:n.data}:null}}])})(R.PureComponent);mw=gt;Ct(gt,"displayName","Bar");Ct(gt,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!Jr.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"});Ct(gt,"getComposedData",function(e){var t=e.props,r=e.item,n=e.barPosition,i=e.bandSize,a=e.xAxis,o=e.yAxis,u=e.xAxisTicks,c=e.yAxisTicks,s=e.stackedData,f=e.dataStartIndex,l=e.displayedData,h=e.offset,p=nM(n,r);if(!p)return null;var y=t.layout,v=r.type.defaultProps,d=v!==void 0?ge(ge({},v),r.props):r.props,g=d.dataKey,x=d.children,w=d.minPointSize,O=y==="horizontal"?o:a,m=s?O.scale.domain():null,b=lM({numericAxis:O}),_=Ze(x,La),A=l.map(function(P,M){var E,T,j,C,$,k;s?E=iM(s[f+M],m):(E=Ce(P,g),Array.isArray(E)||(E=[b,E]));var N=OR(w,mw.defaultProps.minPointSize)(E[1],M);if(y==="horizontal"){var L,B=[o.scale(E[0]),o.scale(E[1])],W=B[0],K=B[1];T=Rm({axis:a,ticks:u,bandSize:i,offset:p.offset,entry:P,index:M}),j=(L=K??W)!==null&&L!==void 0?L:void 0,C=p.size;var z=W-K;if($=Number.isNaN(z)?0:z,k={x:T,y:o.y,width:C,height:o.height},Math.abs(N)>0&&Math.abs($)<Math.abs(N)){var V=Ie($||N)*(Math.abs(N)-Math.abs($));j-=V,$+=V}}else{var he=[a.scale(E[0]),a.scale(E[1])],me=he[0],Be=he[1];if(T=me,j=Rm({axis:o,ticks:c,bandSize:i,offset:p.offset,entry:P,index:M}),C=Be-me,$=p.size,k={x:a.x,y:j,width:a.width,height:$},Math.abs(N)>0&&Math.abs(C)<Math.abs(N)){var Lt=Ie(C||N)*(Math.abs(N)-Math.abs(C));C+=Lt}}return ge(ge(ge({},P),{},{x:T,y:j,width:C,height:$,value:s?E:E[1],payload:P,background:k},_&&_[M]&&_[M].props),{},{tooltipPayload:[Hx(r,P)],tooltipPosition:{x:T+C/2,y:j+$/2}})});return ge({data:A,layout:y},h)});function Qn(e){"@babel/helpers - typeof";return Qn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qn(e)}function IR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,xw(n.key),n)}}function kR(e,t,r){return t&&cb(e.prototype,t),r&&cb(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function sb(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function tt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?sb(Object(r),!0).forEach(function(n){ao(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):sb(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function ao(e,t,r){return t=xw(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xw(e){var t=RR(e,"string");return Qn(t)=="symbol"?t:t+""}function RR(e,t){if(Qn(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Qn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var NR=function(t,r,n,i,a){var o=t.width,u=t.height,c=t.layout,s=t.children,f=Object.keys(r),l={left:n.left,leftMirror:n.left,right:o-n.right,rightMirror:o-n.right,top:n.top,topMirror:n.top,bottom:u-n.bottom,bottomMirror:u-n.bottom},h=!!ze(s,gt);return f.reduce(function(p,y){var v=r[y],d=v.orientation,g=v.domain,x=v.padding,w=x===void 0?{}:x,O=v.mirror,m=v.reversed,b="".concat(d).concat(O?"Mirror":""),_,A,P,M,E;if(v.type==="number"&&(v.padding==="gap"||v.padding==="no-gap")){var T=g[1]-g[0],j=1/0,C=v.categoricalDomain.sort(GO);if(C.forEach(function(he,me){me>0&&(j=Math.min((he||0)-(C[me-1]||0),j))}),Number.isFinite(j)){var $=j/T,k=v.layout==="vertical"?n.height:n.width;if(v.padding==="gap"&&(_=$*k/2),v.padding==="no-gap"){var N=ke(t.barCategoryGap,$*k),L=$*k/2;_=L-N-(L-N)/k*N}}}i==="xAxis"?A=[n.left+(w.left||0)+(_||0),n.left+n.width-(w.right||0)-(_||0)]:i==="yAxis"?A=c==="horizontal"?[n.top+n.height-(w.bottom||0),n.top+(w.top||0)]:[n.top+(w.top||0)+(_||0),n.top+n.height-(w.bottom||0)-(_||0)]:A=v.range,m&&(A=[A[1],A[0]]);var B=Fx(v,a,h),W=B.scale,K=B.realScaleType;W.domain(g).range(A),zx(W);var z=Ux(W,tt(tt({},v),{},{realScaleType:K}));i==="xAxis"?(E=d==="top"&&!O||d==="bottom"&&O,P=n.left,M=l[b]-E*v.height):i==="yAxis"&&(E=d==="left"&&!O||d==="right"&&O,P=l[b]-E*v.width,M=n.top);var V=tt(tt(tt({},v),z),{},{realScaleType:K,x:P,y:M,scale:W,width:i==="xAxis"?n.width:v.width,height:i==="yAxis"?n.height:v.height});return V.bandSize=ta(V,z),!v.hide&&i==="xAxis"?l[b]+=(E?-1:1)*V.height:v.hide||(l[b]+=(E?-1:1)*V.width),tt(tt({},p),{},ao({},y,V))},{})},ww=function(t,r){var n=t.x,i=t.y,a=r.x,o=r.y;return{x:Math.min(n,a),y:Math.min(i,o),width:Math.abs(a-n),height:Math.abs(o-i)}},DR=function(t){var r=t.x1,n=t.y1,i=t.x2,a=t.y2;return ww({x:r,y:n},{x:i,y:a})},Ow=(function(){function e(t){IR(this,e),this.scale=t}return kR(e,[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.bandAware,a=n.position;if(r!==void 0){if(a)switch(a){case"start":return this.scale(r);case"middle":{var o=this.bandwidth?this.bandwidth()/2:0;return this.scale(r)+o}case"end":{var u=this.bandwidth?this.bandwidth():0;return this.scale(r)+u}default:return this.scale(r)}if(i){var c=this.bandwidth?this.bandwidth()/2:0;return this.scale(r)+c}return this.scale(r)}}},{key:"isInRange",value:function(r){var n=this.range(),i=n[0],a=n[n.length-1];return i<=a?r>=i&&r<=a:r>=a&&r<=i}}],[{key:"create",value:function(r){return new e(r)}}])})();ao(Ow,"EPS",1e-4);var Ih=function(t){var r=Object.keys(t).reduce(function(n,i){return tt(tt({},n),{},ao({},i,Ow.create(t[i])))},{});return tt(tt({},r),{},{apply:function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.bandAware,u=a.position;return lR(i,function(c,s){return r[s].apply(c,{bandAware:o,position:u})})},isInRange:function(i){return yw(i,function(a,o){return r[o].isInRange(a)})}})};function qR(e){return(e%180+180)%180}var LR=function(t){var r=t.width,n=t.height,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=qR(i),o=a*Math.PI/180,u=Math.atan(n/r),c=o>u&&o<Math.PI-u?n/Math.sin(o):r/Math.cos(o);return Math.abs(c)},ol,lb;function BR(){if(lb)return ol;lb=1;var e=lt(),t=oi(),r=Na();function n(i){return function(a,o,u){var c=Object(a);if(!t(a)){var s=e(o,3);a=r(a),o=function(l){return s(c[l],l,c)}}var f=i(a,o,u);return f>-1?c[s?a[f]:f]:void 0}}return ol=n,ol}var ul,fb;function FR(){if(fb)return ul;fb=1;var e=hw();function t(r){var n=e(r),i=n%1;return n===n?i?n-i:n:0}return ul=t,ul}var cl,hb;function zR(){if(hb)return cl;hb=1;var e=_0(),t=lt(),r=FR(),n=Math.max;function i(a,o,u){var c=a==null?0:a.length;if(!c)return-1;var s=u==null?0:r(u);return s<0&&(s=n(c+s,0)),e(a,t(o,3),s)}return cl=i,cl}var sl,db;function UR(){if(db)return sl;db=1;var e=BR(),t=zR(),r=e(t);return sl=r,sl}var WR=UR();const HR=ue(WR);var GR=Lb();const KR=ue(GR);var VR=KR(function(e){return{x:e.left,y:e.top,width:e.width,height:e.height}},function(e){return["l",e.left,"t",e.top,"w",e.width,"h",e.height].join("")}),kh=R.createContext(void 0),Rh=R.createContext(void 0),_w=R.createContext(void 0),Aw=R.createContext({}),Sw=R.createContext(void 0),Pw=R.createContext(0),Tw=R.createContext(0),pb=function(t){var r=t.state,n=r.xAxisMap,i=r.yAxisMap,a=r.offset,o=t.clipPathId,u=t.children,c=t.width,s=t.height,f=VR(a);return S.createElement(kh.Provider,{value:n},S.createElement(Rh.Provider,{value:i},S.createElement(Aw.Provider,{value:a},S.createElement(_w.Provider,{value:f},S.createElement(Sw.Provider,{value:o},S.createElement(Pw.Provider,{value:s},S.createElement(Tw.Provider,{value:c},u)))))))},XR=function(){return R.useContext(Sw)},Ew=function(t){var r=R.useContext(kh);r==null&&ir();var n=r[t];return n==null&&ir(),n},YR=function(){var t=R.useContext(kh);return $t(t)},ZR=function(){var t=R.useContext(Rh),r=HR(t,function(n){return yw(n.domain,Number.isFinite)});return r||$t(t)},jw=function(t){var r=R.useContext(Rh);r==null&&ir();var n=r[t];return n==null&&ir(),n},JR=function(){var t=R.useContext(_w);return t},QR=function(){return R.useContext(Aw)},Nh=function(){return R.useContext(Tw)},Dh=function(){return R.useContext(Pw)};function Fr(e){"@babel/helpers - typeof";return Fr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fr(e)}function eN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,$w(n.key),n)}}function rN(e,t,r){return t&&tN(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function nN(e,t,r){return t=ba(t),iN(e,Mw()?Reflect.construct(t,r||[],ba(e).constructor):t.apply(e,r))}function iN(e,t){if(t&&(Fr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return aN(e)}function aN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Mw=function(){return!!e})()}function ba(e){return ba=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ba(e)}function oN(e,t){if(typeof t!="function"&&t!==null)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&&Of(e,t)}function Of(e,t){return Of=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Of(e,t)}function vb(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function yb(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?vb(Object(r),!0).forEach(function(n){qh(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vb(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function qh(e,t,r){return t=$w(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $w(e){var t=uN(e,"string");return Fr(t)=="symbol"?t:t+""}function uN(e,t){if(Fr(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Fr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function cN(e,t){return hN(e)||fN(e,t)||lN(e,t)||sN()}function sN(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 61In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function lN(e,t){if(e){if(typeof e=="string")return mb(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return mb(e,t)}}function mb(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function fN(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,a,o,u=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,t!==0)for(;!(c=(n=a.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(f){s=!0,i=f}finally{try{if(!c&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(s)throw i}}return u}}function hN(e){if(Array.isArray(e))return e}function _f(){return _f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_f.apply(this,arguments)}var dN=function(t,r){var n;return S.isValidElement(t)?n=S.cloneElement(t,r):Y(t)?n=t(r):n=S.createElement("line",_f({},r,{className:"recharts-reference-line-line"})),n},pN=function(t,r,n,i,a,o,u,c,s){var f=a.x,l=a.y,h=a.width,p=a.height;if(n){var y=s.y,v=t.y.apply(y,{position:o});if(ut(s,"discard")&&!t.y.isInRange(v))return null;var d=[{x:f+h,y:v},{x:f,y:v}];return c==="left"?d.reverse():d}if(r){var g=s.x,x=t.x.apply(g,{position:o});if(ut(s,"discard")&&!t.x.isInRange(x))return null;var w=[{x,y:l+p},{x,y:l}];return u==="top"?w.reverse():w}if(i){var O=s.segment,m=O.map(function(b){return t.apply(b,{position:o})});return ut(s,"discard")&&oR(m,function(b){return!t.isInRange(b)})?null:m}return null};function vN(e){var t=e.x,r=e.y,n=e.segment,i=e.xAxisId,a=e.yAxisId,o=e.shape,u=e.className,c=e.alwaysShow,s=XR(),f=Ew(i),l=jw(a),h=JR();if(!s||!h)return null;nt(c===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var p=Ih({x:f.scale,y:l.scale}),y=Ae(t),v=Ae(r),d=n&&n.length===2,g=pN(p,y,v,d,h,e.position,f.orientation,l.orientation,e);if(!g)return null;var x=cN(g,2),w=x[0],O=w.x,m=w.y,b=x[1],_=b.x,A=b.y,P=ut(e,"hidden")?"url(#".concat(s,")"):void 0,M=yb(yb({clipPath:P},X(e,!0)),{},{x1:O,y1:m,x2:_,y2:A});return S.createElement(ae,{className:Q("recharts-reference-line",u)},dN(o,M),Te.renderCallByParent(e,DR({x1:O,y1:m,x2:_,y2:A})))}var Lh=(function(e){function t(){return eN(this,t),nN(this,t,arguments)}return oN(t,e),rN(t,[{key:"render",value:function(){return S.createElement(vN,this.props)}}])})(S.Component);qh(Lh,"displayName","ReferenceLine");qh(Lh,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});function Af(){return Af=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Af.apply(this,arguments)}function zr(e){"@babel/helpers - typeof";return zr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zr(e)}function gb(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function bb(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?gb(Object(r),!0).forEach(function(n){oo(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):gb(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function yN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Iw(n.key),n)}}function gN(e,t,r){return t&&mN(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function bN(e,t,r){return t=xa(t),xN(e,Cw()?Reflect.construct(t,r||[],xa(e).constructor):t.apply(e,r))}function xN(e,t){if(t&&(zr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return wN(e)}function wN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Cw=function(){return!!e})()}function xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},xa(e)}function ON(e,t){if(typeof t!="function"&&t!==null)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&&Sf(e,t)}function Sf(e,t){return Sf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Sf(e,t)}function oo(e,t,r){return t=Iw(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Iw(e){var t=_N(e,"string");return zr(t)=="symbol"?t:t+""}function _N(e,t){if(zr(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(zr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var AN=function(t){var r=t.x,n=t.y,i=t.xAxis,a=t.yAxis,o=Ih({x:i.scale,y:a.scale}),u=o.apply({x:r,y:n},{bandAware:!0});return ut(t,"discard")&&!o.isInRange(u)?null:u},uo=(function(e){function t(){return yN(this,t),bN(this,t,arguments)}return ON(t,e),gN(t,[{key:"render",value:function(){var n=this.props,i=n.x,a=n.y,o=n.r,u=n.alwaysShow,c=n.clipPathId,s=Ae(i),f=Ae(a);if(nt(u===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!s||!f)return null;var l=AN(this.props);if(!l)return null;var h=l.x,p=l.y,y=this.props,v=y.shape,d=y.className,g=ut(this.props,"hidden")?"url(#".concat(c,")"):void 0,x=bb(bb({clipPath:g},X(this.props,!0)),{},{cx:h,cy:p});return S.createElement(ae,{className:Q("recharts-reference-dot",d)},t.renderDot(v,x),Te.renderCallByParent(this.props,{x:h-o,y:p-o,width:2*o,height:2*o}))}}])})(S.Component);oo(uo,"displayName","ReferenceDot");oo(uo,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1});oo(uo,"renderDot",function(e,t){var r;return S.isValidElement(e)?r=S.cloneElement(e,t):Y(e)?r=e(t):r=S.createElement(Ch,Af({},t,{cx:t.cx,cy:t.cy,className:"recharts-reference-dot-dot"})),r});function Pf(){return Pf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Pf.apply(this,arguments)}function Ur(e){"@babel/helpers - typeof";return Ur=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ur(e)}function xb(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function wb(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?xb(Object(r),!0).forEach(function(n){co(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xb(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function SN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Rw(n.key),n)}}function TN(e,t,r){return t&&PN(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function EN(e,t,r){return t=wa(t),jN(e,kw()?Reflect.construct(t,r||[],wa(e).constructor):t.apply(e,r))}function jN(e,t){if(t&&(Ur(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return MN(e)}function MN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(kw=function(){return!!e})()}function wa(e){return wa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},wa(e)}function $N(e,t){if(typeof t!="function"&&t!==null)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&&Tf(e,t)}function Tf(e,t){return Tf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Tf(e,t)}function co(e,t,r){return t=Rw(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rw(e){var t=CN(e,"string");return Ur(t)=="symbol"?t:t+""}function CN(e,t){if(Ur(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Ur(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var IN=function(t,r,n,i,a){var o=a.x1,u=a.x2,c=a.y1,s=a.y2,f=a.xAxis,l=a.yAxis;if(!f||!l)return null;var h=Ih({x:f.scale,y:l.scale}),p={x:t?h.x.apply(o,{position:"start"}):h.x.rangeMin,y:n?h.y.apply(c,{position:"start"}):h.y.rangeMin},y={x:r?h.x.apply(u,{position:"end"}):h.x.rangeMax,y:i?h.y.apply(s,{position:"end"}):h.y.rangeMax};return ut(a,"discard")&&(!h.isInRange(p)||!h.isInRange(y))?null:ww(p,y)},so=(function(e){function t(){return SN(this,t),EN(this,t,arguments)}return $N(t,e),TN(t,[{key:"render",value:function(){var n=this.props,i=n.x1,a=n.x2,o=n.y1,u=n.y2,c=n.className,s=n.alwaysShow,f=n.clipPathId;nt(s===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var l=Ae(i),h=Ae(a),p=Ae(o),y=Ae(u),v=this.props.shape;if(!l&&!h&&!p&&!y&&!v)return null;var d=IN(l,h,p,y,this.props);if(!d&&!v)return null;var g=ut(this.props,"hidden")?"url(#".concat(f,")"):void 0;return S.createElement(ae,{className:Q("recharts-reference-area",c)},t.renderRect(v,wb(wb({clipPath:g},X(this.props,!0)),d)),Te.renderCallByParent(this.props,d))}}])})(S.Component);co(so,"displayName","ReferenceArea");co(so,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1});co(so,"renderRect",function(e,t){var r;return S.isValidElement(e)?r=S.cloneElement(e,t):Y(e)?r=e(t):r=S.createElement($h,Pf({},t,{className:"recharts-reference-area-rect"})),r});function Nw(e,t,r){if(t<1)return[];if(t===1&&r===void 0)return e;for(var n=[],i=0;i<e.length;i+=t)n.push(e[i]);return n}function kN(e,t,r){var n={width:e.width+t.width,height:e.height+t.height};return LR(n,r)}function RN(e,t,r){var n=r==="width",i=e.x,a=e.y,o=e.width,u=e.height;return t===1?{start:n?i:a,end:n?i+o:a+u}:{start:n?i+o:a+u,end:n?i:a}}function Oa(e,t,r,n,i){if(e*t<e*n||e*t>e*i)return!1;var a=r();return e*(t-e*a/2-n)>=0&&e*(t+e*a/2-i)<=0}function NN(e,t){return Nw(e,t+1)}function DN(e,t,r,n,i){for(var a=(n||[]).slice(),o=t.start,u=t.end,c=0,s=1,f=o,l=function(){var y=n?.[c];if(y===void 0)return{v:Nw(n,s)};var v=c,d,g=function(){return d===void 0&&(d=r(y,v)),d},x=y.coordinate,w=c===0||Oa(e,x,g,f,u);w||(c=0,f=o,s+=1),w&&(f=x+e*(g()/2+i),c+=s)},h;s<=a.length;)if(h=l(),h)return h.v;return[]}function ei(e){"@babel/helpers - typeof";return ei=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ei(e)}function Ob(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Me(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ob(Object(r),!0).forEach(function(n){qN(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ob(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function qN(e,t,r){return t=LN(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function LN(e){var t=BN(e,"string");return ei(t)=="symbol"?t:t+""}function BN(e,t){if(ei(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(ei(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function FN(e,t,r,n,i){for(var a=(n||[]).slice(),o=a.length,u=t.start,c=t.end,s=function(h){var p=a[h],y,v=function(){return y===void 0&&(y=r(p,h)),y};if(h===o-1){var d=e*(p.coordinate+e*v()/2-c);a[h]=p=Me(Me({},p),{},{tickCoord:d>0?p.coordinate-d*e:p.coordinate})}else a[h]=p=Me(Me({},p),{},{tickCoord:p.coordinate});var g=Oa(e,p.tickCoord,v,u,c);g&&(c=p.tickCoord-e*(v()/2+i),a[h]=Me(Me({},p),{},{isShow:!0}))},f=o-1;f>=0;f--)s(f);return a}function zN(e,t,r,n,i,a){var o=(n||[]).slice(),u=o.length,c=t.start,s=t.end;if(a){var f=n[u-1],l=r(f,u-1),h=e*(f.coordinate+e*l/2-s);o[u-1]=f=Me(Me({},f),{},{tickCoord:h>0?f.coordinate-h*e:f.coordinate});var p=Oa(e,f.tickCoord,function(){return l},c,s);p&&(s=f.tickCoord-e*(l/2+i),o[u-1]=Me(Me({},f),{},{isShow:!0}))}for(var y=a?u-1:u,v=function(x){var w=o[x],O,m=function(){return O===void 0&&(O=r(w,x)),O};if(x===0){var b=e*(w.coordinate-e*m()/2-c);o[x]=w=Me(Me({},w),{},{tickCoord:b<0?w.coordinate-b*e:w.coordinate})}else o[x]=w=Me(Me({},w),{},{tickCoord:w.coordinate});var _=Oa(e,w.tickCoord,m,c,s);_&&(c=w.tickCoord+e*(m()/2+i),o[x]=Me(Me({},w),{},{isShow:!0}))},d=0;d<y;d++)v(d);return o}function Bh(e,t,r){var n=e.tick,i=e.ticks,a=e.viewBox,o=e.minTickGap,u=e.orientation,c=e.interval,s=e.tickFormatter,f=e.unit,l=e.angle;if(!i||!i.length||!n)return[];if(q(c)||Jr.isSsr)return NN(i,typeof c=="number"&&q(c)?c:0);var h=[],p=u==="top"||u==="bottom"?"width":"height",y=f&&p==="width"?yn(f,{fontSize:t,letterSpacing:r}):{width:0,height:0},v=function(w,O){var m=Y(s)?s(w.value,O):w.value;return p==="width"?kN(yn(m,{fontSize:t,letterSpacing:r}),y,l):yn(m,{fontSize:t,letterSpacing:r})[p]},d=i.length>=2?Ie(i[1].coordinate-i[0].coordinate):1,g=RN(a,d,p);return c==="equidistantPreserveStart"?DN(d,g,v,i,o):(c==="preserveStart"||c==="preserveStartEnd"?h=zN(d,g,v,i,o,c==="preserveStartEnd"):h=FN(d,g,v,i,o),h.filter(function(x){return x.isShow}))}var UN=["viewBox"],WN=["viewBox"],HN=["ticks"];function Wr(e){"@babel/helpers - typeof";return Wr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Wr(e)}function mr(){return mr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},mr.apply(this,arguments)}function _b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Oe(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?_b(Object(r),!0).forEach(function(n){Fh(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_b(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function ll(e,t){if(e==null)return{};var r=GN(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function GN(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function KN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ab(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,qw(n.key),n)}}function VN(e,t,r){return t&&Ab(e.prototype,t),r&&Ab(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function XN(e,t,r){return t=_a(t),YN(e,Dw()?Reflect.construct(t,r||[],_a(e).constructor):t.apply(e,r))}function YN(e,t){if(t&&(Wr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ZN(e)}function ZN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Dw=function(){return!!e})()}function _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},_a(e)}function JN(e,t){if(typeof t!="function"&&t!==null)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&&Ef(e,t)}function Ef(e,t){return Ef=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Ef(e,t)}function Fh(e,t,r){return t=qw(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qw(e){var t=QN(e,"string");return Wr(t)=="symbol"?t:t+""}function QN(e,t){if(Wr(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Wr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var rn=(function(e){function t(r){var n;return KN(this,t),n=XN(this,t,[r]),n.state={fontSize:"",letterSpacing:""},n}return JN(t,e),VN(t,[{key:"shouldComponentUpdate",value:function(n,i){var a=n.viewBox,o=ll(n,UN),u=this.props,c=u.viewBox,s=ll(u,WN);return!br(a,c)||!br(o,s)||!br(i,this.state)}},{key:"componentDidMount",value:function(){var n=this.layerReference;if(n){var i=n.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];i&&this.setState({fontSize:window.getComputedStyle(i).fontSize,letterSpacing:window.getComputedStyle(i).letterSpacing})}}},{key:"getTickLineCoord",value:function(n){var i=this.props,a=i.x,o=i.y,u=i.width,c=i.height,s=i.orientation,f=i.tickSize,l=i.mirror,h=i.tickMargin,p,y,v,d,g,x,w=l?-1:1,O=n.tickSize||f,m=q(n.tickCoord)?n.tickCoord:n.coordinate;switch(s){case"top":p=y=n.coordinate,d=o+ +!l*c,v=d-w*O,x=v-w*h,g=m;break;case"left":v=d=n.coordinate,y=a+ +!l*u,p=y-w*O,g=p-w*h,x=m;break;case"right":v=d=n.coordinate,y=a+ +l*u,p=y+w*O,g=p+w*h,x=m;break;default:p=y=n.coordinate,d=o+ +l*c,v=d+w*O,x=v+w*h,g=m;break}return{line:{x1:p,y1:v,x2:y,y2:d},tick:{x:g,y:x}}}},{key:"getTickTextAnchor",value:function(){var n=this.props,i=n.orientation,a=n.mirror,o;switch(i){case"left":o=a?"start":"end";break;case"right":o=a?"end":"start";break;default:o="middle";break}return o}},{key:"getTickVerticalAnchor",value:function(){var n=this.props,i=n.orientation,a=n.mirror,o="end";switch(i){case"left":case"right":o="middle";break;case"top":o=a?"start":"end";break;default:o=a?"end":"start";break}return o}},{key:"renderAxisLine",value:function(){var n=this.props,i=n.x,a=n.y,o=n.width,u=n.height,c=n.orientation,s=n.mirror,f=n.axisLine,l=Oe(Oe(Oe({},X(this.props,!1)),X(f,!1)),{},{fill:"none"});if(c==="top"||c==="bottom"){var h=+(c==="top"&&!s||c==="bottom"&&s);l=Oe(Oe({},l),{},{x1:i,y1:a+h*u,x2:i+o,y2:a+h*u})}else{var p=+(c==="left"&&!s||c==="right"&&s);l=Oe(Oe({},l),{},{x1:i+p*o,y1:a,x2:i+p*o,y2:a+u})}return S.createElement("line",mr({},l,{className:Q("recharts-cartesian-axis-line",He(f,"className"))}))}},{key:"renderTicks",value:function(n,i,a){var o=this,u=this.props,c=u.tickLine,s=u.stroke,f=u.tick,l=u.tickFormatter,h=u.unit,p=Bh(Oe(Oe({},this.props),{},{ticks:n}),i,a),y=this.getTickTextAnchor(),v=this.getTickVerticalAnchor(),d=X(this.props,!1),g=X(f,!1),x=Oe(Oe({},d),{},{fill:"none"},X(c,!1)),w=p.map(function(O,m){var b=o.getTickLineCoord(O),_=b.line,A=b.tick,P=Oe(Oe(Oe(Oe({textAnchor:y,verticalAnchor:v},d),{},{stroke:"none",fill:s},g),A),{},{index:m,payload:O,visibleTicksCount:p.length,tickFormatter:l});return S.createElement(ae,mr({className:"recharts-cartesian-axis-tick",key:"tick-".concat(O.value,"-").concat(O.coordinate,"-").concat(O.tickCoord)},tr(o.props,O,m)),c&&S.createElement("line",mr({},x,_,{className:Q("recharts-cartesian-axis-tick-line",He(c,"className"))})),f&&t.renderTickItem(f,P,"".concat(Y(l)?l(O.value,m):O.value).concat(h||"")))});return S.createElement("g",{className:"recharts-cartesian-axis-ticks"},w)}},{key:"render",value:function(){var n=this,i=this.props,a=i.axisLine,o=i.width,u=i.height,c=i.ticksGenerator,s=i.className,f=i.hide;if(f)return null;var l=this.props,h=l.ticks,p=ll(l,HN),y=h;return Y(c)&&(y=h&&h.length>0?c(this.props):c(p)),o<=0||u<=0||!y||!y.length?null:S.createElement(ae,{className:Q("recharts-cartesian-axis",s),ref:function(d){n.layerReference=d}},a&&this.renderAxisLine(),this.renderTicks(y,this.state.fontSize,this.state.letterSpacing),Te.renderCallByParent(this.props))}}],[{key:"renderTickItem",value:function(n,i,a){var o,u=Q(i.className,"recharts-cartesian-axis-tick-value");return S.isValidElement(n)?o=S.cloneElement(n,Oe(Oe({},i),{},{className:u})):Y(n)?o=n(Oe(Oe({},i),{},{className:u})):o=S.createElement(rr,mr({},i,{className:"recharts-cartesian-axis-tick-value"}),a),o}}])})(R.Component);Fh(rn,"displayName","CartesianAxis");Fh(rn,"defaultProps",{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"});var eD=["x1","y1","x2","y2","key"],tD=["offset"];function ar(e){"@babel/helpers - typeof";return ar=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ar(e)}function Sb(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function $e(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Sb(Object(r),!0).forEach(function(n){rD(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Sb(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function rD(e,t,r){return t=nD(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nD(e){var t=iD(e,"string");return ar(t)=="symbol"?t:t+""}function iD(e,t){if(ar(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(ar(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Zt(){return Zt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Zt.apply(this,arguments)}function Pb(e,t){if(e==null)return{};var r=aD(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function aD(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var oD=function(t){var r=t.fill;if(!r||r==="none")return null;var n=t.fillOpacity,i=t.x,a=t.y,o=t.width,u=t.height,c=t.ry;return S.createElement("rect",{x:i,y:a,ry:c,width:o,height:u,stroke:"none",fill:r,fillOpacity:n,className:"recharts-cartesian-grid-bg"})};function Lw(e,t){var r;if(S.isValidElement(e))r=S.cloneElement(e,t);else if(Y(e))r=e(t);else{var n=t.x1,i=t.y1,a=t.x2,o=t.y2,u=t.key,c=Pb(t,eD),s=X(c,!1);s.offset;var f=Pb(s,tD);r=S.createElement("line",Zt({},f,{x1:n,y1:i,x2:a,y2:o,fill:"none",key:u}))}return r}function uD(e){var t=e.x,r=e.width,n=e.horizontal,i=n===void 0?!0:n,a=e.horizontalPoints;if(!i||!a||!a.length)return null;var o=a.map(function(u,c){var s=$e($e({},e),{},{x1:t,y1:u,x2:t+r,y2:u,key:"line-".concat(c),index:c});return Lw(i,s)});return S.createElement("g",{className:"recharts-cartesian-grid-horizontal"},o)}function cD(e){var t=e.y,r=e.height,n=e.vertical,i=n===void 0?!0:n,a=e.verticalPoints;if(!i||!a||!a.length)return null;var o=a.map(function(u,c){var s=$e($e({},e),{},{x1:u,y1:t,x2:u,y2:t+r,key:"line-".concat(c),index:c});return Lw(i,s)});return S.createElement("g",{className:"recharts-cartesian-grid-vertical"},o)}function sD(e){var t=e.horizontalFill,r=e.fillOpacity,n=e.x,i=e.y,a=e.width,o=e.height,u=e.horizontalPoints,c=e.horizontal,s=c===void 0?!0:c;if(!s||!t||!t.length)return null;var f=u.map(function(h){return Math.round(h+i-i)}).sort(function(h,p){return h-p});i!==f[0]&&f.unshift(0);var l=f.map(function(h,p){var y=!f[p+1],v=y?i+o-h:f[p+1]-h;if(v<=0)return null;var d=p%t.length;return S.createElement("rect",{key:"react-".concat(p),y:h,x:n,height:v,width:a,stroke:"none",fill:t[d],fillOpacity:r,className:"recharts-cartesian-grid-bg"})});return S.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},l)}function lD(e){var t=e.vertical,r=t===void 0?!0:t,n=e.verticalFill,i=e.fillOpacity,a=e.x,o=e.y,u=e.width,c=e.height,s=e.verticalPoints;if(!r||!n||!n.length)return null;var f=s.map(function(h){return Math.round(h+a-a)}).sort(function(h,p){return h-p});a!==f[0]&&f.unshift(0);var l=f.map(function(h,p){var y=!f[p+1],v=y?a+u-h:f[p+1]-h;if(v<=0)return null;var d=p%n.length;return S.createElement("rect",{key:"react-".concat(p),x:h,y:o,width:v,height:c,stroke:"none",fill:n[d],fillOpacity:i,className:"recharts-cartesian-grid-bg"})});return S.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},l)}var fD=function(t,r){var n=t.xAxis,i=t.width,a=t.height,o=t.offset;return Bx(Bh($e($e($e({},rn.defaultProps),n),{},{ticks:vt(n,!0),viewBox:{x:0,y:0,width:i,height:a}})),o.left,o.left+o.width,r)},hD=function(t,r){var n=t.yAxis,i=t.width,a=t.height,o=t.offset;return Bx(Bh($e($e($e({},rn.defaultProps),n),{},{ticks:vt(n,!0),viewBox:{x:0,y:0,width:i,height:a}})),o.top,o.top+o.height,r)},dr={horizontal:!0,vertical:!0,stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function ji(e){var t,r,n,i,a,o,u=Nh(),c=Dh(),s=QR(),f=$e($e({},e),{},{stroke:(t=e.stroke)!==null&&t!==void 0?t:dr.stroke,fill:(r=e.fill)!==null&&r!==void 0?r:dr.fill,horizontal:(n=e.horizontal)!==null&&n!==void 0?n:dr.horizontal,horizontalFill:(i=e.horizontalFill)!==null&&i!==void 0?i:dr.horizontalFill,vertical:(a=e.vertical)!==null&&a!==void 0?a:dr.vertical,verticalFill:(o=e.verticalFill)!==null&&o!==void 0?o:dr.verticalFill,x:q(e.x)?e.x:s.left,y:q(e.y)?e.y:s.top,width:q(e.width)?e.width:s.width,height:q(e.height)?e.height:s.height}),l=f.x,h=f.y,p=f.width,y=f.height,v=f.syncWithTicks,d=f.horizontalValues,g=f.verticalValues,x=YR(),w=ZR();if(!q(p)||p<=0||!q(y)||y<=0||!q(l)||l!==+l||!q(h)||h!==+h)return null;var O=f.verticalCoordinatesGenerator||fD,m=f.horizontalCoordinatesGenerator||hD,b=f.horizontalPoints,_=f.verticalPoints;if((!b||!b.length)&&Y(m)){var A=d&&d.length,P=m({yAxis:w?$e($e({},w),{},{ticks:A?d:w.ticks}):void 0,width:u,height:c,offset:s},A?!0:v);nt(Array.isArray(P),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(ar(P),"]")),Array.isArray(P)&&(b=P)}if((!_||!_.length)&&Y(O)){var M=g&&g.length,E=O({xAxis:x?$e($e({},x),{},{ticks:M?g:x.ticks}):void 0,width:u,height:c,offset:s},M?!0:v);nt(Array.isArray(E),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(ar(E),"]")),Array.isArray(E)&&(_=E)}return S.createElement("g",{className:"recharts-cartesian-grid"},S.createElement(oD,{fill:f.fill,fillOpacity:f.fillOpacity,x:f.x,y:f.y,width:f.width,height:f.height,ry:f.ry}),S.createElement(uD,Zt({},f,{offset:s,horizontalPoints:b,xAxis:x,yAxis:w})),S.createElement(cD,Zt({},f,{offset:s,verticalPoints:_,xAxis:x,yAxis:w})),S.createElement(sD,Zt({},f,{horizontalPoints:b})),S.createElement(lD,Zt({},f,{verticalPoints:_})))}ji.displayName="CartesianGrid";function Hr(e){"@babel/helpers - typeof";return Hr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Hr(e)}function dD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,zw(n.key),n)}}function vD(e,t,r){return t&&pD(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function yD(e,t,r){return t=Aa(t),mD(e,Bw()?Reflect.construct(t,r||[],Aa(e).constructor):t.apply(e,r))}function mD(e,t){if(t&&(Hr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return gD(e)}function gD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Bw=function(){return!!e})()}function Aa(e){return Aa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Aa(e)}function bD(e,t){if(typeof t!="function"&&t!==null)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&&jf(e,t)}function jf(e,t){return jf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},jf(e,t)}function Fw(e,t,r){return t=zw(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zw(e){var t=xD(e,"string");return Hr(t)=="symbol"?t:t+""}function xD(e,t){if(Hr(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Hr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function Mf(){return Mf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Mf.apply(this,arguments)}function wD(e){var t=e.xAxisId,r=Nh(),n=Dh(),i=Ew(t);return i==null?null:R.createElement(rn,Mf({},i,{className:Q("recharts-".concat(i.axisType," ").concat(i.axisType),i.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(o){return vt(o,!0)}}))}var _r=(function(e){function t(){return dD(this,t),yD(this,t,arguments)}return bD(t,e),vD(t,[{key:"render",value:function(){return R.createElement(wD,this.props)}}])})(R.Component);Fw(_r,"displayName","XAxis");Fw(_r,"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});function Gr(e){"@babel/helpers - typeof";return Gr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Gr(e)}function OD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _D(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Hw(n.key),n)}}function AD(e,t,r){return t&&_D(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function SD(e,t,r){return t=Sa(t),PD(e,Uw()?Reflect.construct(t,r||[],Sa(e).constructor):t.apply(e,r))}function PD(e,t){if(t&&(Gr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return TD(e)}function TD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Uw=function(){return!!e})()}function Sa(e){return Sa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Sa(e)}function ED(e,t){if(typeof t!="function"&&t!==null)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&&$f(e,t)}function $f(e,t){return $f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},$f(e,t)}function Ww(e,t,r){return t=Hw(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hw(e){var t=jD(e,"string");return Gr(t)=="symbol"?t:t+""}function jD(e,t){if(Gr(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Gr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function Cf(){return Cf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Cf.apply(this,arguments)}var MD=function(t){var r=t.yAxisId,n=Nh(),i=Dh(),a=jw(r);return a==null?null:R.createElement(rn,Cf({},a,{className:Q("recharts-".concat(a.axisType," ").concat(a.axisType),a.className),viewBox:{x:0,y:0,width:n,height:i},ticksGenerator:function(u){return vt(u,!0)}}))},Ar=(function(e){function t(){return OD(this,t),SD(this,t,arguments)}return ED(t,e),AD(t,[{key:"render",value:function(){return R.createElement(MD,this.props)}}])})(R.Component);Ww(Ar,"displayName","YAxis");Ww(Ar,"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});function Tb(e){return kD(e)||ID(e)||CD(e)||$D()}function $D(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 62In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function CD(e,t){if(e){if(typeof e=="string")return If(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return If(e,t)}}function ID(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function kD(e){if(Array.isArray(e))return If(e)}function If(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var kf=function(t,r,n,i,a){var o=Ze(t,Lh),u=Ze(t,uo),c=[].concat(Tb(o),Tb(u)),s=Ze(t,so),f="".concat(i,"Id"),l=i[0],h=r;if(c.length&&(h=c.reduce(function(v,d){if(d.props[f]===n&&ut(d.props,"extendDomain")&&q(d.props[l])){var g=d.props[l];return[Math.min(v[0],g),Math.max(v[1],g)]}return v},h)),s.length){var p="".concat(l,"1"),y="".concat(l,"2");h=s.reduce(function(v,d){if(d.props[f]===n&&ut(d.props,"extendDomain")&&q(d.props[p])&&q(d.props[y])){var g=d.props[p],x=d.props[y];return[Math.min(v[0],g,x),Math.max(v[1],g,x)]}return v},h)}return a&&a.length&&(h=a.reduce(function(v,d){return q(d)?[Math.min(v[0],d),Math.max(v[1],d)]:v},h)),h},fl={exports:{}},Eb;function RD(){return Eb||(Eb=1,(function(e){var t=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function i(c,s,f){this.fn=c,this.context=s,this.once=f||!1}function a(c,s,f,l,h){if(typeof f!="function")throw new TypeError("The listener must be a function");var p=new i(f,l||c,h),y=r?r+s:s;return c._events[y]?c._events[y].fn?c._events[y]=[c._events[y],p]:c._events[y].push(p):(c._events[y]=p,c._eventsCount++),c}function o(c,s){--c._eventsCount===0?c._events=new n:delete c._events[s]}function u(){this._events=new n,this._eventsCount=0}u.prototype.eventNames=function(){var s=[],f,l;if(this._eventsCount===0)return s;for(l in f=this._events)t.call(f,l)&&s.push(r?l.slice(1):l);return Object.getOwnPropertySymbols?s.concat(Object.getOwnPropertySymbols(f)):s},u.prototype.listeners=function(s){var f=r?r+s:s,l=this._events[f];if(!l)return[];if(l.fn)return[l.fn];for(var h=0,p=l.length,y=new Array(p);h<p;h++)y[h]=l[h].fn;return y},u.prototype.listenerCount=function(s){var f=r?r+s:s,l=this._events[f];return l?l.fn?1:l.length:0},u.prototype.emit=function(s,f,l,h,p,y){var v=r?r+s:s;if(!this._events[v])return!1;var d=this._events[v],g=arguments.length,x,w;if(d.fn){switch(d.once&&this.removeListener(s,d.fn,void 0,!0),g){case 1:return d.fn.call(d.context),!0;case 2:return d.fn.call(d.context,f),!0;case 3:return d.fn.call(d.context,f,l),!0;case 4:return d.fn.call(d.context,f,l,h),!0;case 5:return d.fn.call(d.context,f,l,h,p),!0;case 6:return d.fn.call(d.context,f,l,h,p,y),!0}for(w=1,x=new Array(g-1);w<g;w++)x[w-1]=arguments[w];d.fn.apply(d.context,x)}else{var O=d.length,m;for(w=0;w<O;w++)switch(d[w].once&&this.removeListener(s,d[w].fn,void 0,!0),g){case 1:d[w].fn.call(d[w].context);break;case 2:d[w].fn.call(d[w].context,f);break;case 3:d[w].fn.call(d[w].context,f,l);break;case 4:d[w].fn.call(d[w].context,f,l,h);break;default:if(!x)for(m=1,x=new Array(g-1);m<g;m++)x[m-1]=arguments[m];d[w].fn.apply(d[w].context,x)}}return!0},u.prototype.on=function(s,f,l){return a(this,s,f,l,!1)},u.prototype.once=function(s,f,l){return a(this,s,f,l,!0)},u.prototype.removeListener=function(s,f,l,h){var p=r?r+s:s;if(!this._events[p])return this;if(!f)return o(this,p),this;var y=this._events[p];if(y.fn)y.fn===f&&(!h||y.once)&&(!l||y.context===l)&&o(this,p);else{for(var v=0,d=[],g=y.length;v<g;v++)(y[v].fn!==f||h&&!y[v].once||l&&y[v].context!==l)&&d.push(y[v]);d.length?this._events[p]=d.length===1?d[0]:d:o(this,p)}return this},u.prototype.removeAllListeners=function(s){var f;return s?(f=r?r+s:s,this._events[f]&&o(this,f)):(this._events=new n,this._eventsCount=0),this},u.prototype.off=u.prototype.removeListener,u.prototype.addListener=u.prototype.on,u.prefixed=r,u.EventEmitter=u,e.exports=u})(fl)),fl.exports}var ND=RD();const DD=ue(ND);var hl=new DD,dl="recharts.syncMouseEvents";function ti(e){"@babel/helpers - typeof";return ti=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ti(e)}function qD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Gw(n.key),n)}}function BD(e,t,r){return t&&LD(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function pl(e,t,r){return t=Gw(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gw(e){var t=FD(e,"string");return ti(t)=="symbol"?t:t+""}function FD(e,t){if(ti(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(ti(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var zD=(function(){function e(){qD(this,e),pl(this,"activeIndex",0),pl(this,"coordinateList",[]),pl(this,"layout","horizontal")}return BD(e,[{key:"setDetails",value:function(r){var n,i=r.coordinateList,a=i===void 0?null:i,o=r.container,u=o===void 0?null:o,c=r.layout,s=c===void 0?null:c,f=r.offset,l=f===void 0?null:f,h=r.mouseHandlerCallback,p=h===void 0?null:h;this.coordinateList=(n=a??this.coordinateList)!==null&&n!==void 0?n:[],this.container=u??this.container,this.layout=s??this.layout,this.offset=l??this.offset,this.mouseHandlerCallback=p??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(r){if(this.coordinateList.length!==0)switch(r.key){case"ArrowRight":{if(this.layout!=="horizontal")return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break}case"ArrowLeft":{if(this.layout!=="horizontal")return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse();break}}}},{key:"setIndex",value:function(r){this.activeIndex=r}},{key:"spoofMouse",value:function(){var r,n;if(this.layout==="horizontal"&&this.coordinateList.length!==0){var i=this.container.getBoundingClientRect(),a=i.x,o=i.y,u=i.height,c=this.coordinateList[this.activeIndex].coordinate,s=((r=window)===null||r===void 0?void 0:r.scrollX)||0,f=((n=window)===null||n===void 0?void 0:n.scrollY)||0,l=a+c+s,h=o+this.offset.top+u/2+f;this.mouseHandlerCallback({pageX:l,pageY:h})}}}])})();function UD(e,t,r){if(r==="number"&&t===!0&&Array.isArray(e)){var n=e?.[0],i=e?.[1];if(n&&i&&q(n)&&q(i))return!0}return!1}function WD(e,t,r,n){var i=n/2;return{stroke:"none",fill:"#ccc",x:e==="horizontal"?t.x-i:r.left+.5,y:e==="horizontal"?r.top+.5:t.y-i,width:e==="horizontal"?n:r.width-1,height:e==="horizontal"?r.height-1:n}}function Kw(e){var t=e.cx,r=e.cy,n=e.radius,i=e.startAngle,a=e.endAngle,o=fe(t,r,n,i),u=fe(t,r,n,a);return{points:[o,u],cx:t,cy:r,radius:n,startAngle:i,endAngle:a}}function HD(e,t,r){var n,i,a,o;if(e==="horizontal")n=t.x,a=n,i=r.top,o=r.top+r.height;else if(e==="vertical")i=t.y,o=i,n=r.left,a=r.left+r.width;else if(t.cx!=null&&t.cy!=null)if(e==="centric"){var u=t.cx,c=t.cy,s=t.innerRadius,f=t.outerRadius,l=t.angle,h=fe(u,c,s,l),p=fe(u,c,f,l);n=h.x,i=h.y,a=p.x,o=p.y}else return Kw(t);return[{x:n,y:i},{x:a,y:o}]}function ri(e){"@babel/helpers - typeof";return ri=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ri(e)}function jb(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Si(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?jb(Object(r),!0).forEach(function(n){GD(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jb(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function GD(e,t,r){return t=KD(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function KD(e){var t=VD(e,"string");return ri(t)=="symbol"?t:t+""}function VD(e,t){if(ri(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(ri(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function XD(e){var t,r,n=e.element,i=e.tooltipEventType,a=e.isActive,o=e.activeCoordinate,u=e.activePayload,c=e.offset,s=e.activeTooltipIndex,f=e.tooltipAxisBandSize,l=e.layout,h=e.chartName,p=(t=n.props.cursor)!==null&&t!==void 0?t:(r=n.type.defaultProps)===null||r===void 0?void 0:r.cursor;if(!n||!p||!a||!o||h!=="ScatterChart"&&i!=="axis")return null;var y,v=rf;if(h==="ScatterChart")y=o,v=MI;else if(h==="BarChart")y=WD(l,o,c,f),v=$h;else if(l==="radial"){var d=Kw(o),g=d.cx,x=d.cy,w=d.radius,O=d.startAngle,m=d.endAngle;y={cx:g,cy:x,startAngle:O,endAngle:m,innerRadius:w,outerRadius:w},v=Zx}else y={points:HD(l,o,c)},v=rf;var b=Si(Si(Si(Si({stroke:"#ccc",pointerEvents:"none"},c),y),X(p,!1)),{},{payload:u,payloadIndex:s,className:Q("recharts-tooltip-cursor",p.className)});return R.isValidElement(p)?R.cloneElement(p,b):R.createElement(v,b)}var YD=["item"],ZD=["children","className","width","height","style","compact","title","desc"];function Kr(e){"@babel/helpers - typeof";return Kr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Kr(e)}function gr(){return gr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},gr.apply(this,arguments)}function Mb(e,t){return e2(e)||QD(e,t)||Xw(e,t)||JD()}function JD(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 63In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function QD(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,a,o,u=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,t!==0)for(;!(c=(n=a.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(f){s=!0,i=f}finally{try{if(!c&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(s)throw i}}return u}}function e2(e){if(Array.isArray(e))return e}function $b(e,t){if(e==null)return{};var r=t2(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function t2(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function r2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n2(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Yw(n.key),n)}}function i2(e,t,r){return t&&n2(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function a2(e,t,r){return t=Pa(t),o2(e,Vw()?Reflect.construct(t,r||[],Pa(e).constructor):t.apply(e,r))}function o2(e,t){if(t&&(Kr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return u2(e)}function u2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Vw=function(){return!!e})()}function Pa(e){return Pa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Pa(e)}function c2(e,t){if(typeof t!="function"&&t!==null)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&&Rf(e,t)}function Rf(e,t){return Rf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Rf(e,t)}function Vr(e){return f2(e)||l2(e)||Xw(e)||s2()}function s2(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 64In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Xw(e,t){if(e){if(typeof e=="string")return Nf(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Nf(e,t)}}function l2(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function f2(e){if(Array.isArray(e))return Nf(e)}function Nf(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Cb(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function I(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Cb(Object(r),!0).forEach(function(n){G(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Cb(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function G(e,t,r){return t=Yw(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yw(e){var t=h2(e,"string");return Kr(t)=="symbol"?t:t+""}function h2(e,t){if(Kr(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Kr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var d2={xAxis:["bottom","top"],yAxis:["left","right"]},p2={width:"100%",height:"100%"},Zw={x:0,y:0};function Pi(e){return e}var v2=function(t,r){return r==="horizontal"?t.x:r==="vertical"?t.y:r==="centric"?t.angle:t.radius},y2=function(t,r,n,i){var a=r.find(function(f){return f&&f.index===n});if(a){if(t==="horizontal")return{x:a.coordinate,y:i.y};if(t==="vertical")return{x:i.x,y:a.coordinate};if(t==="centric"){var o=a.coordinate,u=i.radius;return I(I(I({},i),fe(i.cx,i.cy,u,o)),{},{angle:o,radius:u})}var c=a.coordinate,s=i.angle;return I(I(I({},i),fe(i.cx,i.cy,c,s)),{},{angle:s,radius:c})}return Zw},lo=function(t,r){var n=r.graphicalItems,i=r.dataStartIndex,a=r.dataEndIndex,o=(n??[]).reduce(function(u,c){var s=c.props.data;return s&&s.length?[].concat(Vr(u),Vr(s)):u},[]);return o.length>0?o:t&&t.length&&q(i)&&q(a)?t.slice(i,a+1):[]};function Jw(e){return e==="number"?[0,"auto"]:void 0}var Df=function(t,r,n,i){var a=t.graphicalItems,o=t.tooltipAxis,u=lo(r,t);return n<0||!a||!a.length||n>=u.length?null:a.reduce(function(c,s){var f,l=(f=s.props.data)!==null&&f!==void 0?f:r;l&&t.dataStartIndex+t.dataEndIndex!==0&&t.dataEndIndex-t.dataStartIndex>=n&&(l=l.slice(t.dataStartIndex,t.dataEndIndex+1));var h;if(o.dataKey&&!o.allowDuplicatedCategory){var p=l===void 0?u:l;h=ml(p,o.dataKey,i)}else h=l&&l[n]||u[n];return h?[].concat(Vr(c),[Hx(s,h)]):c},[])},Ib=function(t,r,n,i){var a=i||{x:t.chartX,y:t.chartY},o=v2(a,n),u=t.orderedTooltipTicks,c=t.tooltipAxis,s=t.tooltipTicks,f=Zj(o,u,s,c);if(f>=0&&s){var l=s[f]&&s[f].value,h=Df(t,r,f,l),p=y2(n,u,f,a);return{activeTooltipIndex:f,activeLabel:l,activePayload:h,activeCoordinate:p}}return null},m2=function(t,r){var n=r.axes,i=r.graphicalItems,a=r.axisType,o=r.axisIdKey,u=r.stackGroups,c=r.dataStartIndex,s=r.dataEndIndex,f=t.layout,l=t.children,h=t.stackOffset,p=Lx(f,a);return n.reduce(function(y,v){var d,g=v.type.defaultProps!==void 0?I(I({},v.type.defaultProps),v.props):v.props,x=g.type,w=g.dataKey,O=g.allowDataOverflow,m=g.allowDuplicatedCategory,b=g.scale,_=g.ticks,A=g.includeHidden,P=g[o];if(y[P])return y;var M=lo(t.data,{graphicalItems:i.filter(function(z){var V,he=o in z.props?z.props[o]:(V=z.type.defaultProps)===null||V===void 0?void 0:V[o];return he===P}),dataStartIndex:c,dataEndIndex:s}),E=M.length,T,j,C;UD(g.domain,O,x)&&(T=Zl(g.domain,null,O),p&&(x==="number"||b!=="auto")&&(C=gn(M,w,"category")));var $=Jw(x);if(!T||T.length===0){var k,N=(k=g.domain)!==null&&k!==void 0?k:$;if(w){if(T=gn(M,w,x),x==="category"&&p){var L=HO(T);m&&L?(j=T,T=pa(0,E)):m||(T=qm(N,T,v).reduce(function(z,V){return z.indexOf(V)>=0?z:[].concat(Vr(z),[V])},[]))}else if(x==="category")m?T=T.filter(function(z){return z!==""&&!ee(z)}):T=qm(N,T,v).reduce(function(z,V){return z.indexOf(V)>=0||V===""||ee(V)?z:[].concat(Vr(z),[V])},[]);else if(x==="number"){var B=rM(M,i.filter(function(z){var V,he,me=o in z.props?z.props[o]:(V=z.type.defaultProps)===null||V===void 0?void 0:V[o],Be="hide"in z.props?z.props.hide:(he=z.type.defaultProps)===null||he===void 0?void 0:he.hide;return me===P&&(A||!Be)}),w,a,f);B&&(T=B)}p&&(x==="number"||b!=="auto")&&(C=gn(M,w,"category"))}else p?T=pa(0,E):u&&u[P]&&u[P].hasStack&&x==="number"?T=h==="expand"?[0,1]:Wx(u[P].stackGroups,c,s):T=qx(M,i.filter(function(z){var V=o in z.props?z.props[o]:z.type.defaultProps[o],he="hide"in z.props?z.props.hide:z.type.defaultProps.hide;return V===P&&(A||!he)}),x,f,!0);if(x==="number")T=kf(l,T,P,a,_),N&&(T=Zl(N,T,O));else if(x==="category"&&N){var W=N,K=T.every(function(z){return W.indexOf(z)>=0});K&&(T=W)}}return I(I({},y),{},G({},P,I(I({},g),{},{axisType:a,domain:T,categoricalDomain:C,duplicateDomain:j,originalDomain:(d=g.domain)!==null&&d!==void 0?d:$,isCategorical:p,layout:f})))},{})},g2=function(t,r){var n=r.graphicalItems,i=r.Axis,a=r.axisType,o=r.axisIdKey,u=r.stackGroups,c=r.dataStartIndex,s=r.dataEndIndex,f=t.layout,l=t.children,h=lo(t.data,{graphicalItems:n,dataStartIndex:c,dataEndIndex:s}),p=h.length,y=Lx(f,a),v=-1;return n.reduce(function(d,g){var x=g.type.defaultProps!==void 0?I(I({},g.type.defaultProps),g.props):g.props,w=x[o],O=Jw("number");if(!d[w]){v++;var m;return y?m=pa(0,p):u&&u[w]&&u[w].hasStack?(m=Wx(u[w].stackGroups,c,s),m=kf(l,m,w,a)):(m=Zl(O,qx(h,n.filter(function(b){var _,A,P=o in b.props?b.props[o]:(_=b.type.defaultProps)===null||_===void 0?void 0:_[o],M="hide"in b.props?b.props.hide:(A=b.type.defaultProps)===null||A===void 0?void 0:A.hide;return P===w&&!M}),"number",f),i.defaultProps.allowDataOverflow),m=kf(l,m,w,a)),I(I({},d),{},G({},w,I(I({axisType:a},i.defaultProps),{},{hide:!0,orientation:He(d2,"".concat(a,".").concat(v%2),null),domain:m,originalDomain:O,isCategorical:y,layout:f})))}return d},{})},b2=function(t,r){var n=r.axisType,i=n===void 0?"xAxis":n,a=r.AxisComp,o=r.graphicalItems,u=r.stackGroups,c=r.dataStartIndex,s=r.dataEndIndex,f=t.children,l="".concat(i,"Id"),h=Ze(f,a),p={};return h&&h.length?p=m2(t,{axes:h,graphicalItems:o,axisType:i,axisIdKey:l,stackGroups:u,dataStartIndex:c,dataEndIndex:s}):o&&o.length&&(p=g2(t,{Axis:a,graphicalItems:o,axisType:i,axisIdKey:l,stackGroups:u,dataStartIndex:c,dataEndIndex:s})),p},x2=function(t){var r=$t(t),n=vt(r,!1,!0);return{tooltipTicks:n,orderedTooltipTicks:ih(n,function(i){return i.coordinate}),tooltipAxis:r,tooltipAxisBandSize:ta(r,n)}},kb=function(t){var r=t.children,n=t.defaultShowTooltip,i=ze(r,Lr),a=0,o=0;return t.data&&t.data.length!==0&&(o=t.data.length-1),i&&i.props&&(i.props.startIndex>=0&&(a=i.props.startIndex),i.props.endIndex>=0&&(o=i.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:a,dataEndIndex:o,activeTooltipIndex:-1,isTooltipActive:!!n}},w2=function(t){return!t||!t.length?!1:t.some(function(r){var n=yt(r&&r.type);return n&&n.indexOf("Bar")>=0})},Rb=function(t){return t==="horizontal"?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:t==="vertical"?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:t==="centric"?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},O2=function(t,r){var n=t.props,i=t.graphicalItems,a=t.xAxisMap,o=a===void 0?{}:a,u=t.yAxisMap,c=u===void 0?{}:u,s=n.width,f=n.height,l=n.children,h=n.margin||{},p=ze(l,Lr),y=ze(l,xr),v=Object.keys(c).reduce(function(m,b){var _=c[b],A=_.orientation;return!_.mirror&&!_.hide?I(I({},m),{},G({},A,m[A]+_.width)):m},{left:h.left||0,right:h.right||0}),d=Object.keys(o).reduce(function(m,b){var _=o[b],A=_.orientation;return!_.mirror&&!_.hide?I(I({},m),{},G({},A,He(m,"".concat(A))+_.height)):m},{top:h.top||0,bottom:h.bottom||0}),g=I(I({},d),v),x=g.bottom;p&&(g.bottom+=p.props.height||Lr.defaultProps.height),y&&r&&(g=eM(g,i,n,r));var w=s-g.left-g.right,O=f-g.top-g.bottom;return I(I({brushBottom:x},g),{},{width:Math.max(w,0),height:Math.max(O,0)})},_2=function(t,r){if(r==="xAxis")return t[r].width;if(r==="yAxis")return t[r].height},Qw=function(t){var r=t.chartName,n=t.GraphicalChild,i=t.defaultTooltipEventType,a=i===void 0?"axis":i,o=t.validateTooltipEventTypes,u=o===void 0?["axis"]:o,c=t.axisComponents,s=t.legendContent,f=t.formatAxisMap,l=t.defaultProps,h=function(g,x){var w=x.graphicalItems,O=x.stackGroups,m=x.offset,b=x.updateId,_=x.dataStartIndex,A=x.dataEndIndex,P=g.barSize,M=g.layout,E=g.barGap,T=g.barCategoryGap,j=g.maxBarSize,C=Rb(M),$=C.numericAxisName,k=C.cateAxisName,N=w2(w),L=[];return w.forEach(function(B,W){var K=lo(g.data,{graphicalItems:[B],dataStartIndex:_,dataEndIndex:A}),z=B.type.defaultProps!==void 0?I(I({},B.type.defaultProps),B.props):B.props,V=z.dataKey,he=z.maxBarSize,me=z["".concat($,"Id")],Be=z["".concat(k,"Id")],Lt={},Ne=c.reduce(function(Bt,Ft){var fo=x["".concat(Ft.axisType,"Map")],zh=z["".concat(Ft.axisType,"Id")];fo&&fo[zh]||Ft.axisType==="zAxis"||ir();var Uh=fo[zh];return I(I({},Bt),{},G(G({},Ft.axisType,Uh),"".concat(Ft.axisType,"Ticks"),vt(Uh)))},Lt),F=Ne[k],Z=Ne["".concat(k,"Ticks")],J=O&&O[me]&&O[me].hasStack&&fM(B,O[me].stackGroups),D=yt(B.type).indexOf("Bar")>=0,ve=ta(F,Z),te=[],xe=N&&Jj({barSize:P,stackGroups:O,totalSize:_2(Ne,k)});if(D){var we,De,Tt=ee(he)?j:he,lr=(we=(De=ta(F,Z,!0))!==null&&De!==void 0?De:Tt)!==null&&we!==void 0?we:0;te=Qj({barGap:E,barCategoryGap:T,bandSize:lr!==ve?lr:ve,sizeList:xe[Be],maxBarSize:Tt}),lr!==ve&&(te=te.map(function(Bt){return I(I({},Bt),{},{position:I(I({},Bt.position),{},{offset:Bt.position.offset-lr/2})})}))}var fi=B&&B.type&&B.type.getComposedData;fi&&L.push({props:I(I({},fi(I(I({},Ne),{},{displayedData:K,props:g,dataKey:V,item:B,bandSize:ve,barPosition:te,offset:m,stackedData:J,layout:M,dataStartIndex:_,dataEndIndex:A}))),{},G(G(G({key:B.key||"item-".concat(W)},$,Ne[$]),k,Ne[k]),"animationId",b)),childIndex:n_(B,g.children),item:B})}),L},p=function(g,x){var w=g.props,O=g.dataStartIndex,m=g.dataEndIndex,b=g.updateId;if(!Qd({props:w}))return null;var _=w.children,A=w.layout,P=w.stackOffset,M=w.data,E=w.reverseStackOrder,T=Rb(A),j=T.numericAxisName,C=T.cateAxisName,$=Ze(_,n),k=sM(M,$,"".concat(j,"Id"),"".concat(C,"Id"),P,E),N=c.reduce(function(z,V){var he="".concat(V.axisType,"Map");return I(I({},z),{},G({},he,b2(w,I(I({},V),{},{graphicalItems:$,stackGroups:V.axisType===j&&k,dataStartIndex:O,dataEndIndex:m}))))},{}),L=O2(I(I({},N),{},{props:w,graphicalItems:$}),x?.legendBBox);Object.keys(N).forEach(function(z){N[z]=f(w,N[z],L,z.replace("Map",""),r)});var B=N["".concat(C,"Map")],W=x2(B),K=h(w,I(I({},N),{},{dataStartIndex:O,dataEndIndex:m,updateId:b,graphicalItems:$,stackGroups:k,offset:L}));return I(I({formattedGraphicalItems:K,graphicalItems:$,offset:L,stackGroups:k},W),N)},y=(function(d){function g(x){var w,O,m;return r2(this,g),m=a2(this,g,[x]),G(m,"eventEmitterSymbol",Symbol("rechartsEventEmitter")),G(m,"accessibilityManager",new zD),G(m,"handleLegendBBoxUpdate",function(b){if(b){var _=m.state,A=_.dataStartIndex,P=_.dataEndIndex,M=_.updateId;m.setState(I({legendBBox:b},p({props:m.props,dataStartIndex:A,dataEndIndex:P,updateId:M},I(I({},m.state),{},{legendBBox:b}))))}}),G(m,"handleReceiveSyncEvent",function(b,_,A){if(m.props.syncId===b){if(A===m.eventEmitterSymbol&&typeof m.props.syncMethod!="function")return;m.applySyncEvent(_)}}),G(m,"handleBrushChange",function(b){var _=b.startIndex,A=b.endIndex;if(_!==m.state.dataStartIndex||A!==m.state.dataEndIndex){var P=m.state.updateId;m.setState(function(){return I({dataStartIndex:_,dataEndIndex:A},p({props:m.props,dataStartIndex:_,dataEndIndex:A,updateId:P},m.state))}),m.triggerSyncEvent({dataStartIndex:_,dataEndIndex:A})}}),G(m,"handleMouseEnter",function(b){var _=m.getMouseInfo(b);if(_){var A=I(I({},_),{},{isTooltipActive:!0});m.setState(A),m.triggerSyncEvent(A);var P=m.props.onMouseEnter;Y(P)&&P(A,b)}}),G(m,"triggeredAfterMouseMove",function(b){var _=m.getMouseInfo(b),A=_?I(I({},_),{},{isTooltipActive:!0}):{isTooltipActive:!1};m.setState(A),m.triggerSyncEvent(A);var P=m.props.onMouseMove;Y(P)&&P(A,b)}),G(m,"handleItemMouseEnter",function(b){m.setState(function(){return{isTooltipActive:!0,activeItem:b,activePayload:b.tooltipPayload,activeCoordinate:b.tooltipPosition||{x:b.cx,y:b.cy}}})}),G(m,"handleItemMouseLeave",function(){m.setState(function(){return{isTooltipActive:!1}})}),G(m,"handleMouseMove",function(b){b.persist(),m.throttleTriggeredAfterMouseMove(b)}),G(m,"handleMouseLeave",function(b){m.throttleTriggeredAfterMouseMove.cancel();var _={isTooltipActive:!1};m.setState(_),m.triggerSyncEvent(_);var A=m.props.onMouseLeave;Y(A)&&A(_,b)}),G(m,"handleOuterEvent",function(b){var _=r_(b),A=He(m.props,"".concat(_));if(_&&Y(A)){var P,M;/.*touch.*/i.test(_)?M=m.getMouseInfo(b.changedTouches[0]):M=m.getMouseInfo(b),A((P=M)!==null&&P!==void 0?P:{},b)}}),G(m,"handleClick",function(b){var _=m.getMouseInfo(b);if(_){var A=I(I({},_),{},{isTooltipActive:!0});m.setState(A),m.triggerSyncEvent(A);var P=m.props.onClick;Y(P)&&P(A,b)}}),G(m,"handleMouseDown",function(b){var _=m.props.onMouseDown;if(Y(_)){var A=m.getMouseInfo(b);_(A,b)}}),G(m,"handleMouseUp",function(b){var _=m.props.onMouseUp;if(Y(_)){var A=m.getMouseInfo(b);_(A,b)}}),G(m,"handleTouchMove",function(b){b.changedTouches!=null&&b.changedTouches.length>0&&m.throttleTriggeredAfterMouseMove(b.changedTouches[0])}),G(m,"handleTouchStart",function(b){b.changedTouches!=null&&b.changedTouches.length>0&&m.handleMouseDown(b.changedTouches[0])}),G(m,"handleTouchEnd",function(b){b.changedTouches!=null&&b.changedTouches.length>0&&m.handleMouseUp(b.changedTouches[0])}),G(m,"handleDoubleClick",function(b){var _=m.props.onDoubleClick;if(Y(_)){var A=m.getMouseInfo(b);_(A,b)}}),G(m,"handleContextMenu",function(b){var _=m.props.onContextMenu;if(Y(_)){var A=m.getMouseInfo(b);_(A,b)}}),G(m,"triggerSyncEvent",function(b){m.props.syncId!==void 0&&hl.emit(dl,m.props.syncId,b,m.eventEmitterSymbol)}),G(m,"applySyncEvent",function(b){var _=m.props,A=_.layout,P=_.syncMethod,M=m.state.updateId,E=b.dataStartIndex,T=b.dataEndIndex;if(b.dataStartIndex!==void 0||b.dataEndIndex!==void 0)m.setState(I({dataStartIndex:E,dataEndIndex:T},p({props:m.props,dataStartIndex:E,dataEndIndex:T,updateId:M},m.state)));else if(b.activeTooltipIndex!==void 0){var j=b.chartX,C=b.chartY,$=b.activeTooltipIndex,k=m.state,N=k.offset,L=k.tooltipTicks;if(!N)return;if(typeof P=="function")$=P(L,b);else if(P==="value"){$=-1;for(var B=0;B<L.length;B++)if(L[B].value===b.activeLabel){$=B;break}}var W=I(I({},N),{},{x:N.left,y:N.top}),K=Math.min(j,W.x+W.width),z=Math.min(C,W.y+W.height),V=L[$]&&L[$].value,he=Df(m.state,m.props.data,$),me=L[$]?{x:A==="horizontal"?L[$].coordinate:K,y:A==="horizontal"?z:L[$].coordinate}:Zw;m.setState(I(I({},b),{},{activeLabel:V,activeCoordinate:me,activePayload:he,activeTooltipIndex:$}))}else m.setState(b)}),G(m,"renderCursor",function(b){var _,A=m.state,P=A.isTooltipActive,M=A.activeCoordinate,E=A.activePayload,T=A.offset,j=A.activeTooltipIndex,C=A.tooltipAxisBandSize,$=m.getTooltipEventType(),k=(_=b.props.active)!==null&&_!==void 0?_:P,N=m.props.layout,L=b.key||"_recharts-cursor";return S.createElement(XD,{key:L,activeCoordinate:M,activePayload:E,activeTooltipIndex:j,chartName:r,element:b,isActive:k,layout:N,offset:T,tooltipAxisBandSize:C,tooltipEventType:$})}),G(m,"renderPolarAxis",function(b,_,A){var P=He(b,"type.axisType"),M=He(m.state,"".concat(P,"Map")),E=b.type.defaultProps,T=E!==void 0?I(I({},E),b.props):b.props,j=M&&M[T["".concat(P,"Id")]];return R.cloneElement(b,I(I({},j),{},{className:Q(P,j.className),key:b.key||"".concat(_,"-").concat(A),ticks:vt(j,!0)}))}),G(m,"renderPolarGrid",function(b){var _=b.props,A=_.radialLines,P=_.polarAngles,M=_.polarRadius,E=m.state,T=E.radiusAxisMap,j=E.angleAxisMap,C=$t(T),$=$t(j),k=$.cx,N=$.cy,L=$.innerRadius,B=$.outerRadius;return R.cloneElement(b,{polarAngles:Array.isArray(P)?P:vt($,!0).map(function(W){return W.coordinate}),polarRadius:Array.isArray(M)?M:vt(C,!0).map(function(W){return W.coordinate}),cx:k,cy:N,innerRadius:L,outerRadius:B,key:b.key||"polar-grid",radialLines:A})}),G(m,"renderLegend",function(){var b=m.state.formattedGraphicalItems,_=m.props,A=_.children,P=_.width,M=_.height,E=m.props.margin||{},T=P-(E.left||0)-(E.right||0),j=Nx({children:A,formattedGraphicalItems:b,legendWidth:T,legendContent:s});if(!j)return null;var C=j.item,$=$b(j,YD);return R.cloneElement(C,I(I({},$),{},{chartWidth:P,chartHeight:M,margin:E,onBBoxUpdate:m.handleLegendBBoxUpdate}))}),G(m,"renderTooltip",function(){var b,_=m.props,A=_.children,P=_.accessibilityLayer,M=ze(A,Ue);if(!M)return null;var E=m.state,T=E.isTooltipActive,j=E.activeCoordinate,C=E.activePayload,$=E.activeLabel,k=E.offset,N=(b=M.props.active)!==null&&b!==void 0?b:T;return R.cloneElement(M,{viewBox:I(I({},k),{},{x:k.left,y:k.top}),active:N,label:$,payload:N?C:[],coordinate:j,accessibilityLayer:P})}),G(m,"renderBrush",function(b){var _=m.props,A=_.margin,P=_.data,M=m.state,E=M.offset,T=M.dataStartIndex,j=M.dataEndIndex,C=M.updateId;return R.cloneElement(b,{key:b.key||"_recharts-brush",onChange:wi(m.handleBrushChange,b.props.onChange),data:P,x:q(b.props.x)?b.props.x:E.left,y:q(b.props.y)?b.props.y:E.top+E.height+E.brushBottom-(A.bottom||0),width:q(b.props.width)?b.props.width:E.width,startIndex:T,endIndex:j,updateId:"brush-".concat(C)})}),G(m,"renderReferenceElement",function(b,_,A){if(!b)return null;var P=m,M=P.clipPathId,E=m.state,T=E.xAxisMap,j=E.yAxisMap,C=E.offset,$=b.type.defaultProps||{},k=b.props,N=k.xAxisId,L=N===void 0?$.xAxisId:N,B=k.yAxisId,W=B===void 0?$.yAxisId:B;return R.cloneElement(b,{key:b.key||"".concat(_,"-").concat(A),xAxis:T[L],yAxis:j[W],viewBox:{x:C.left,y:C.top,width:C.width,height:C.height},clipPathId:M})}),G(m,"renderActivePoints",function(b){var _=b.item,A=b.activePoint,P=b.basePoint,M=b.childIndex,E=b.isRange,T=[],j=_.props.key,C=_.item.type.defaultProps!==void 0?I(I({},_.item.type.defaultProps),_.item.props):_.item.props,$=C.activeDot,k=C.dataKey,N=I(I({index:M,dataKey:k,cx:A.x,cy:A.y,r:4,fill:Mh(_.item),strokeWidth:2,stroke:"#fff",payload:A.payload,value:A.value},X($,!1)),Mi($));return T.push(g.renderActiveDot($,N,"".concat(j,"-activePoint-").concat(M))),P?T.push(g.renderActiveDot($,I(I({},N),{},{cx:P.x,cy:P.y}),"".concat(j,"-basePoint-").concat(M))):E&&T.push(null),T}),G(m,"renderGraphicChild",function(b,_,A){var P=m.filterFormatItem(b,_,A);if(!P)return null;var M=m.getTooltipEventType(),E=m.state,T=E.isTooltipActive,j=E.tooltipAxis,C=E.activeTooltipIndex,$=E.activeLabel,k=m.props.children,N=ze(k,Ue),L=P.props,B=L.points,W=L.isRange,K=L.baseLine,z=P.item.type.defaultProps!==void 0?I(I({},P.item.type.defaultProps),P.item.props):P.item.props,V=z.activeDot,he=z.hide,me=z.activeBar,Be=z.activeShape,Lt=!!(!he&&T&&N&&(V||me||Be)),Ne={};M!=="axis"&&N&&N.props.trigger==="click"?Ne={onClick:wi(m.handleItemMouseEnter,b.props.onClick)}:M!=="axis"&&(Ne={onMouseLeave:wi(m.handleItemMouseLeave,b.props.onMouseLeave),onMouseEnter:wi(m.handleItemMouseEnter,b.props.onMouseEnter)});var F=R.cloneElement(b,I(I({},P.props),Ne));function Z(Ft){return typeof j.dataKey=="function"?j.dataKey(Ft.payload):null}if(Lt)if(C>=0){var J,D;if(j.dataKey&&!j.allowDuplicatedCategory){var ve=typeof j.dataKey=="function"?Z:"payload.".concat(j.dataKey.toString());J=ml(B,ve,$),D=W&&K&&ml(K,ve,$)}else J=B?.[C],D=W&&K&&K[C];if(Be||me){var te=b.props.activeIndex!==void 0?b.props.activeIndex:C;return[R.cloneElement(b,I(I(I({},P.props),Ne),{},{activeIndex:te})),null,null]}if(!ee(J))return[F].concat(Vr(m.renderActivePoints({item:P,activePoint:J,basePoint:D,childIndex:C,isRange:W})))}else{var xe,we=(xe=m.getItemByXY(m.state.activeCoordinate))!==null&&xe!==void 0?xe:{graphicalItem:F},De=we.graphicalItem,Tt=De.item,lr=Tt===void 0?b:Tt,fi=De.childIndex,Bt=I(I(I({},P.props),Ne),{},{activeIndex:fi});return[R.cloneElement(lr,Bt),null,null]}return W?[F,null,null]:[F,null]}),G(m,"renderCustomized",function(b,_,A){return R.cloneElement(b,I(I({key:"recharts-customized-".concat(A)},m.props),m.state))}),G(m,"renderMap",{CartesianGrid:{handler:Pi,once:!0},ReferenceArea:{handler:m.renderReferenceElement},ReferenceLine:{handler:Pi},ReferenceDot:{handler:m.renderReferenceElement},XAxis:{handler:Pi},YAxis:{handler:Pi},Brush:{handler:m.renderBrush,once:!0},Bar:{handler:m.renderGraphicChild},Line:{handler:m.renderGraphicChild},Area:{handler:m.renderGraphicChild},Radar:{handler:m.renderGraphicChild},RadialBar:{handler:m.renderGraphicChild},Scatter:{handler:m.renderGraphicChild},Pie:{handler:m.renderGraphicChild},Funnel:{handler:m.renderGraphicChild},Tooltip:{handler:m.renderCursor,once:!0},PolarGrid:{handler:m.renderPolarGrid,once:!0},PolarAngleAxis:{handler:m.renderPolarAxis},PolarRadiusAxis:{handler:m.renderPolarAxis},Customized:{handler:m.renderCustomized}}),m.clipPathId="".concat((w=x.id)!==null&&w!==void 0?w:ai("recharts"),"-clip"),m.throttleTriggeredAfterMouseMove=N0(m.triggeredAfterMouseMove,(O=x.throttleDelay)!==null&&O!==void 0?O:1e3/60),m.state={},m}return c2(g,d),i2(g,[{key:"componentDidMount",value:function(){var w,O;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:(w=this.props.margin.left)!==null&&w!==void 0?w:0,top:(O=this.props.margin.top)!==null&&O!==void 0?O:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var w=this.props,O=w.children,m=w.data,b=w.height,_=w.layout,A=ze(O,Ue);if(A){var P=A.props.defaultIndex;if(!(typeof P!="number"||P<0||P>this.state.tooltipTicks.length-1)){var M=this.state.tooltipTicks[P]&&this.state.tooltipTicks[P].value,E=Df(this.state,m,P,M),T=this.state.tooltipTicks[P].coordinate,j=(this.state.offset.top+b)/2,C=_==="horizontal",$=C?{x:T,y:j}:{y:T,x:j},k=this.state.formattedGraphicalItems.find(function(L){var B=L.item;return B.type.name==="Scatter"});k&&($=I(I({},$),k.props.points[P].tooltipPosition),E=k.props.points[P].tooltipPayload);var N={activeTooltipIndex:P,isTooltipActive:!0,activeLabel:M,activePayload:E,activeCoordinate:$};this.setState(N),this.renderCursor(A),this.accessibilityManager.setIndex(P)}}}},{key:"getSnapshotBeforeUpdate",value:function(w,O){if(!this.props.accessibilityLayer)return null;if(this.state.tooltipTicks!==O.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==w.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==w.margin){var m,b;this.accessibilityManager.setDetails({offset:{left:(m=this.props.margin.left)!==null&&m!==void 0?m:0,top:(b=this.props.margin.top)!==null&&b!==void 0?b:0}})}return null}},{key:"componentDidUpdate",value:function(w){bl([ze(w.children,Ue)],[ze(this.props.children,Ue)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var w=ze(this.props.children,Ue);if(w&&typeof w.props.shared=="boolean"){var O=w.props.shared?"axis":"item";return u.indexOf(O)>=0?O:a}return a}},{key:"getMouseInfo",value:function(w){if(!this.container)return null;var O=this.container,m=O.getBoundingClientRect(),b=US(m),_={chartX:Math.round(w.pageX-b.left),chartY:Math.round(w.pageY-b.top)},A=m.width/O.offsetWidth||1,P=this.inRange(_.chartX,_.chartY,A);if(!P)return null;var M=this.state,E=M.xAxisMap,T=M.yAxisMap,j=this.getTooltipEventType(),C=Ib(this.state,this.props.data,this.props.layout,P);if(j!=="axis"&&E&&T){var $=$t(E).scale,k=$t(T).scale,N=$&&$.invert?$.invert(_.chartX):null,L=k&&k.invert?k.invert(_.chartY):null;return I(I({},_),{},{xValue:N,yValue:L},C)}return C?I(I({},_),C):null}},{key:"inRange",value:function(w,O){var m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,b=this.props.layout,_=w/m,A=O/m;if(b==="horizontal"||b==="vertical"){var P=this.state.offset,M=_>=P.left&&_<=P.left+P.width&&A>=P.top&&A<=P.top+P.height;return M?{x:_,y:A}:null}var E=this.state,T=E.angleAxisMap,j=E.radiusAxisMap;if(T&&j){var C=$t(T);return Fm({x:_,y:A},C)}return null}},{key:"parseEventsOfWrapper",value:function(){var w=this.props.children,O=this.getTooltipEventType(),m=ze(w,Ue),b={};m&&O==="axis"&&(m.props.trigger==="click"?b={onClick:this.handleClick}:b={onMouseEnter:this.handleMouseEnter,onDoubleClick:this.handleDoubleClick,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,onContextMenu:this.handleContextMenu});var _=Mi(this.props,this.handleOuterEvent);return I(I({},_),b)}},{key:"addListener",value:function(){hl.on(dl,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){hl.removeListener(dl,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(w,O,m){for(var b=this.state.formattedGraphicalItems,_=0,A=b.length;_<A;_++){var P=b[_];if(P.item===w||P.props.key===w.key||O===yt(P.item.type)&&m===P.childIndex)return P}return null}},{key:"renderClipPath",value:function(){var w=this.clipPathId,O=this.state.offset,m=O.left,b=O.top,_=O.height,A=O.width;return S.createElement("defs",null,S.createElement("clipPath",{id:w},S.createElement("rect",{x:m,y:b,height:_,width:A})))}},{key:"getXScales",value:function(){var w=this.state.xAxisMap;return w?Object.entries(w).reduce(function(O,m){var b=Mb(m,2),_=b[0],A=b[1];return I(I({},O),{},G({},_,A.scale))},{}):null}},{key:"getYScales",value:function(){var w=this.state.yAxisMap;return w?Object.entries(w).reduce(function(O,m){var b=Mb(m,2),_=b[0],A=b[1];return I(I({},O),{},G({},_,A.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(w){var O;return(O=this.state.xAxisMap)===null||O===void 0||(O=O[w])===null||O===void 0?void 0:O.scale}},{key:"getYScaleByAxisId",value:function(w){var O;return(O=this.state.yAxisMap)===null||O===void 0||(O=O[w])===null||O===void 0?void 0:O.scale}},{key:"getItemByXY",value:function(w){var O=this.state,m=O.formattedGraphicalItems,b=O.activeItem;if(m&&m.length)for(var _=0,A=m.length;_<A;_++){var P=m[_],M=P.props,E=P.item,T=E.type.defaultProps!==void 0?I(I({},E.type.defaultProps),E.props):E.props,j=yt(E.type);if(j==="Bar"){var C=(M.data||[]).find(function(L){return lI(w,L)});if(C)return{graphicalItem:P,payload:C}}else if(j==="RadialBar"){var $=(M.data||[]).find(function(L){return Fm(w,L)});if($)return{graphicalItem:P,payload:$}}else if(no(P,b)||io(P,b)||Yn(P,b)){var k=Ik({graphicalItem:P,activeTooltipItem:b,itemData:T.data}),N=T.activeIndex===void 0?k:T.activeIndex;return{graphicalItem:I(I({},P),{},{childIndex:N}),payload:Yn(P,b)?T.data[k]:P.props.data[k]}}}return null}},{key:"render",value:function(){var w=this;if(!Qd(this))return null;var O=this.props,m=O.children,b=O.className,_=O.width,A=O.height,P=O.style,M=O.compact,E=O.title,T=O.desc,j=$b(O,ZD),C=X(j,!1);if(M)return S.createElement(pb,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},S.createElement(wl,gr({},C,{width:_,height:A,title:E,desc:T}),this.renderClipPath(),tp(m,this.renderMap)));if(this.props.accessibilityLayer){var $,k;C.tabIndex=($=this.props.tabIndex)!==null&&$!==void 0?$:0,C.role=(k=this.props.role)!==null&&k!==void 0?k:"application",C.onKeyDown=function(L){w.accessibilityManager.keyboardEvent(L)},C.onFocus=function(){w.accessibilityManager.focus()}}var N=this.parseEventsOfWrapper();return S.createElement(pb,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},S.createElement("div",gr({className:Q("recharts-wrapper",b),style:I({position:"relative",cursor:"default",width:_,height:A},P)},N,{ref:function(B){w.container=B}}),S.createElement(wl,gr({},C,{width:_,height:A,title:E,desc:T,style:p2}),this.renderClipPath(),tp(m,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}])})(R.Component);G(y,"displayName",r),G(y,"defaultProps",I({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},l)),G(y,"getDerivedStateFromProps",function(d,g){var x=d.dataKey,w=d.data,O=d.children,m=d.width,b=d.height,_=d.layout,A=d.stackOffset,P=d.margin,M=g.dataStartIndex,E=g.dataEndIndex;if(g.updateId===void 0){var T=kb(d);return I(I(I({},T),{},{updateId:0},p(I(I({props:d},T),{},{updateId:0}),g)),{},{prevDataKey:x,prevData:w,prevWidth:m,prevHeight:b,prevLayout:_,prevStackOffset:A,prevMargin:P,prevChildren:O})}if(x!==g.prevDataKey||w!==g.prevData||m!==g.prevWidth||b!==g.prevHeight||_!==g.prevLayout||A!==g.prevStackOffset||!br(P,g.prevMargin)){var j=kb(d),C={chartX:g.chartX,chartY:g.chartY,isTooltipActive:g.isTooltipActive},$=I(I({},Ib(g,w,_)),{},{updateId:g.updateId+1}),k=I(I(I({},j),C),$);return I(I(I({},k),p(I({props:d},k),g)),{},{prevDataKey:x,prevData:w,prevWidth:m,prevHeight:b,prevLayout:_,prevStackOffset:A,prevMargin:P,prevChildren:O})}if(!bl(O,g.prevChildren)){var N,L,B,W,K=ze(O,Lr),z=K&&(N=(L=K.props)===null||L===void 0?void 0:L.startIndex)!==null&&N!==void 0?N:M,V=K&&(B=(W=K.props)===null||W===void 0?void 0:W.endIndex)!==null&&B!==void 0?B:E,he=z!==M||V!==E,me=!ee(w),Be=me&&!he?g.updateId:g.updateId+1;return I(I({updateId:Be},p(I(I({props:d},g),{},{updateId:Be,dataStartIndex:z,dataEndIndex:V}),g)),{},{prevChildren:O,dataStartIndex:z,dataEndIndex:V})}return null}),G(y,"renderActiveDot",function(d,g,x){var w;return R.isValidElement(d)?w=R.cloneElement(d,g):Y(d)?w=d(g):w=S.createElement(Ch,g),S.createElement(ae,{className:"recharts-active-dot",ke
64y:x},w)});var v=R.forwardRef(function(g,x){return S.createElement(y,gr({},g,{ref:x}))});return v.displayName=y.displayName,v},vl=Qw({chartName:"BarChart",GraphicalChild:gt,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:_r},{axisType:"yAxis",AxisComp:Ar}],formatAxisMap:NR}),A2=Qw({chartName:"PieChart",GraphicalChild:Pt,validateTooltipEventTypes:["item"],defaultTooltipEventType:"item",legendContent:"children",axisComponents:[{axisType:"angleAxis",AxisComp:ro},{axisType:"radiusAxis",AxisComp:eo}],formatAxisMap:wM,defaultProps:{layout:"centric",startAngle:0,endAngle:360,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"}});const yl=1440*60*1e3;function S2(e){return e.toLocaleDateString("de-CH",{day:"2-digit",month:"2-digit"})}function T2(){const e=eO(tO),{data:t,isLoading:r}=rO({queryKey:["admin","tournaments"],queryFn:()=>e(),staleTime:1e3*30}),n=R.useMemo(()=>t??[],[t]),i=R.useMemo(()=>{const f=n.length,l=n.filter(w=>w.status==="published").length,h=n.filter(w=>w.status==="pending").length,p=n.filter(w=>w.next_date).length,y=n.filter(w=>!w.next_date&&w.status==="published").length,v=n.filter(w=>w.featured).length,d=n.filter(w=>w.locale==="fr").length,g=Date.now(),x=w=>{const O=g-w*yl,m=n.filter(b=>b.created_at&&new Date(b.created_at).getTime()>=O);return{count:m.length,dates:m.reduce((b,_)=>b+(_.date_count??0),0)}};return{total:f,published:l,pending:h,upcoming:p,withoutDate:y,featured:v,fr:d,de:f-d,last7:x(7),last14:x(14)}},[n]),a=R.useMemo(()=>{const f=new Date;f.setHours(23,59,59,999);const l=[];for(let h=11;h>=0;h--){const p=new Date(f.getTime()-h*7*yl),y=new Date(p.getTime()-7*yl),v=n.filter(d=>{if(!d.created_at)return!1;const g=new Date(d.created_at).getTime();return g>y.getTime()&&g<=p.getTime()}).length;l.push({label:S2(y),Turniere:v})}return l},[n]),o=R.useMemo(()=>{const f=new Map;for(const l of n){if(!l.next_date||l.status!=="published")continue;const h=l.next_date.slice(0,7);f.set(h,(f.get(h)??0)+1)}return Array.from(f.entries()).sort((l,h)=>l[0]<h[0]?-1:1).slice(0,6).map(([l,h])=>{const[p,y]=l.split("-");return{label:new Date(Number(p),Number(y)-1,1).toLocaleDateString("de-CH",{month:"short",year:"2-digit"}),Turniere:h}})},[n]),u=R.useMemo(()=>{const f=new Map;for(const l of n){if(l.status!=="published"||!l.next_date)continue;const h=l.canton?.trim()||l.country?.trim()||"Unbekannt";f.set(h,(f.get(h)??0)+1)}return Array.from(f.entries()).sort((l,h)=>h[1]-l[1]).slice(0,8).map(([l,h])=>({label:l,Turniere:h}))},[n]),c=R.useMemo(()=>{const f=new Map;for(const h of n)f.set(h.status,(f.get(h.status)??0)+1);const l={published:"Publiziert",pending:"Zu prüfen",draft:"Entwurf",rejected:"Abgelehnt",archived:"Archiviert"};return Array.from(f.entries()).map(([h,p])=>({name:l[h]??h,value:p}))},[n]),s=["var(--primary)","oklch(0.65 0.15 60)","oklch(0.60 0.05 260)","oklch(0.45 0.02 60)","oklch(0.75 0.02 60)"];return r?H.jsxs("div",{children:[H.jsx("h2",{className:"text-xl font-bold",children:"Ãbersicht"}),H.jsx("p",{className:"mt-4 text-lg",children:"Lade Daten â¦"})]}):H.jsxs("div",{children:[H.jsx("h2",{className:"text-xl font-bold",children:"Ãbersicht"}),H.jsxs("div",{className:"mt-4 grid grid-cols-2 gap-4 sm:grid-cols-4",children:[H.jsx(Et,{label:"Turniere total",value:i.total,hint:`${i.de} DE · ${i.fr} FR`}),H.jsx(Et,{label:"Publiziert",value:i.published,hint:`${i.upcoming} mit kommendem Termin`}),H.jsx(Et,{label:"Zu prüfen",value:i.pending,highlight:i.pending>0,hint:i.pending>0?"Warten auf Freigabe":"Nichts offen"}),H.jsx(Et,{label:"Ohne kommenden Termin",value:i.withoutDate,hint:"Publiziert, aber abgelaufen"})]}),H.jsx("h3",{className:"mt-8 text-lg font-bold",children:"Neu erfasst"}),H.jsxs("div",{className:"mt-3 grid grid-cols-2 gap-4 sm:grid-cols-4",children:[H.jsx(Et,{label:"Turniere (7 Tage)",value:i.last7.count}),H.jsx(Et,{label:"Termine davon (7 Tage)",value:i.last7.dates}),H.jsx(Et,{label:"Turniere (14 Tage)",value:i.last14.count}),H.jsx(Et,{label:"Termine davon (14 Tage)",value:i.last14.dates})]}),H.jsxs("div",{className:"mt-8 grid gap-6 lg:grid-cols-2",children:[H.jsx(Ti,{title:"Neueintragungen pro Woche",subtitle:"Letzte 12 Wochen, nach Eingangsdatum",children:H.jsx(yi,{width:"100%",height:240,children:H.jsxs(vl,{data:a,margin:{top:8,right:8,left:-20,bottom:0},children:[H.jsx(ji,{strokeDasharray:"3 3",stroke:"var(--border)",vertical:!1}),H.jsx(_r,{dataKey:"label",tick:{fontSize:12},interval:1}),H.jsx(Ar,{allowDecimals:!1,tick:{fontSize:12}}),H.jsx(Ue,{contentStyle:{background:"var(--card)",border:"1px solid var(--border)",borderRadius:8},labelFormatter:f=>`Woche ab ${f}`}
64),H.jsx(gt,{dataKey:"Turniere",fill:"var(--primary)",radius:[4,4,0,0]})]})})}),H.jsx(Ti,{title:"Kommende Turniere pro Monat",subtitle:"Publizierte Turniere nach nächstem Termin",children:o.length===0?H.jsx(Nb,{}):H.jsx(yi,{width:"100%",height:240,children:H.jsxs(vl,{data:o,margin:{top:8,right:8,left:-20,bottom:0},children:[H.jsx(ji,{strokeDasharray:"3 3",stroke:"var(--border)",vertical:!1}),H.jsx(_r,{dataKey:"label",tick:{fontSize:12}}),H.jsx(Ar,{allowDecimals:!1,tick:{fontSize:12}}),H.jsx(Ue,{contentStyle:{background:"var(--card)",border:"1px solid var(--border)",borderRadius:8}}),H.jsx(gt,{dataKey:"Turniere",fill:"var(--primary-dark)",radius:[4,4,0,0]})]})})}),H.jsx(Ti,{title:"Top-Regionen",subtitle:"Kantone mit kommenden Turnieren",children:u.length===0?H.jsx(Nb,{}):H.jsx(yi,{width:"100%",height:260,children:H.jsxs(vl,{data:u,layout:"vertical",margin:{top:4,right:16,left:8,bottom:0},children:[H.jsx(ji,{strokeDasharray:"3 3",stroke:"var(--border)",horizontal:!1}),H.jsx(_r,{type:"number",allowDecimals:!1,tick:{fontSize:12}}),H.jsx(Ar,{type:"category",dataKey:"label",width:60,tick:{fontSize:12}}),H.jsx(Ue,{contentStyle:{background:"var(--card)",border:"1px solid var(--border)",borderRadius:8}}),H.jsx(gt,{dataKey:"Turniere",fill:"var(--primary)",radius:[0,4,4,0]})]})})}),H.jsx(Ti,{title:"Status-Verteilung",subtitle:"Alle erfassten Turniere",children:H.jsx(yi,{width:"100%",height:260,children:H.jsxs(A2,{children:[H.jsx(Pt,{data:c,dataKey:"value",nameKey:"name",innerRadius:55,outerRadius:90,paddingAngle:2,label:f=>`${f.name}: ${f.value}`,children:c.map((f,l)=>H.jsx(La,{fill:s[l%s.length]},f.name))}),H.jsx(Ue,{contentStyle:{background:"var(--card)",border:"1px solid var(--border)",borderRadius:8}})]})})})]}),H.jsxs("div",{className:"mt-8 flex flex-wrap gap-3",children:[H.jsx(Wh,{to:"/admin/turniere",className:"rounded-lg bg-primary px-5 py-3 font-semibold text-primary-foreground hover:bg-primary/90",children:"Jassturniere verwalten"}),i.pending>0&&H.jsxs(Wh,{to:"/admin/turniere",className:"rounded-lg border border-primary px-5 py-3 font-semibold text-primary hover:bg-primary/5",children:[i.pending," Turnier",i.pending===1?"":"e"," prüfen"]})]})]})}function Ti({title:e,subtitle:t,children:r}){return H.jsxs("div",{className:"rounded-xl border bg-card p-4",children:[H.jsx("h3",{className:"text-base font-bold",children:e}),t&&H.jsx("p",{className:"mt-0.5 text-sm text-muted-foreground",children:t}),H.jsx("div",{className:"mt-3",children:r})]})}function Nb(){return H.jsx("div",{className:"flex h-[240px] items-center justify-center text-muted-foreground",children:"Keine Daten vorhanden"})}function Et({label:e,value:t,highlight:r,hint:n}){return H.jsxs("div",{className:`rounded-xl border p-4 ${r?"border-primary bg-primary/5":"bg-card"}`,children:[H.jsx("div",{className:"text-3xl font-bold",children:t}),H.jsx("div",{className:"mt-1 text-sm text-muted-foreground",children:e}),n&&H.jsx("div",{className:"mt-1 text-xs text-muted-foreground/80",children:n})]})}export{T2 as component};
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.