PageSourceSearch

https://farcaster.xyz/assets/vendor-charts-BcRAxB9K.js

js farcaster.xyz collected 2026-09-24 08:32:42 UTC 406,238 bytes, 69 lines download raw bytes

vendor: 27,150 bytes, line 1
1import{c as Q,P as re}from"./vendor-draftjs-CyxKTt2q.js";import{c as ui,g as le,r as N,R as S}from"./vendor-wagmi-CRHMQcRy.js";var ro,Bh;function kb(){if(Bh)return ro;Bh=1;var e=typeof ui=="object"&&ui&&ui.Object===Object&&ui;return ro=e,ro}var no,Fh;function tt(){if(Fh)return no;Fh=1;var e=kb(),t=typeof self=="object"&&self&&self.Object===Object&&self,r=e||t||Function("return this")();return no=r,no}var io,zh;function Qn(){if(zh)return io;zh=1;var e=tt(),t=e.Symbol;return io=t,io}var ao,Wh;function Jw(){if(Wh)return ao;Wh=1;var e=Qn(),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 ao=a,ao}var oo,Uh;function Qw(){if(Uh)return oo;Uh=1;var e=Object.prototype,t=e.toString;function r(n){return t.call(n)}return oo=r,oo}var uo,Hh;function Ot(){if(Hh)return uo;Hh=1;var e=Qn(),t=Jw(),r=Qw(),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 uo=o,uo}var co,Gh;function st(){if(Gh)return co;Gh=1;function e(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}return co=e,co}var so,Kh;function If(){if(Kh)return so;Kh=1;var e=Ot(),t=st(),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 so=o,so}var lo,Vh;function eO(){if(Vh)return lo;Vh=1;var e=tt(),t=e["__core-js_shared__"];return lo=t,lo}var fo,Xh;function tO(){if(Xh)return fo;Xh=1;var e=eO(),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 fo=r,fo}var ho,Yh;function Nb(){if(Yh)return ho;Yh=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 ho=r,ho}var po,Zh;function rO(){if(Zh)return po;Zh=1;var e=If(),t=tO(),r=st(),n=Nb(),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 d=e(h)?f:a;return d.test(n(h))}return po=l,po}var vo,Jh;function nO(){if(Jh)return vo;Jh=1;function e(t,r){return t?.[r]}return vo=e,vo}var yo,Qh;function er(){if(Qh)return yo;Qh=1;var e=rO(),t=nO();function r(n,i){var a=t(n,i);return e(a)?a:void 0}return yo=r,yo}var mo,ep;function qb(){if(ep)return mo;ep=1;var e=er(),t=(function(){try{var r=e(Object,"defineProperty");return r({},"",{}),r}catch{}})();return mo=t,mo}var go,tp;function Df(){if(tp)return go;tp=1;var e=qb();function t(r,n,i){n=="__proto__"&&e?e(r,n,{configurable:!0,enumerable:!0,value:i,writable:!0}):r[n]=i}return go=t,go}var bo,rp;function wa(){if(rp)return bo;rp=1;function e(t,r){return t===r||t!==t&&r!==r}return bo=e,bo}var xo,np;function iO(){if(np)return xo;np=1;var e=Df(),t=wa(),r=Object.prototype,n=r.hasOwnProperty;function i(a,o,u){var c=a[o];(!(n.call(a,o)&&t(c,u))||u===void 0&&!(o in a))&&e(a,o,u)}return xo=i,xo}var wo,ip;function e2(){if(ip)return wo;ip=1;var e=iO(),t=Df();function r(n,i,a,o){var u=!a;a||(a={});for(var c=-1,s=i.length;++c<s;){var f=i[c],l=o?o(a[f],n[f],f,a,n):void 0;l===void 0&&(l=n[f]),u?t(a,f,l):e(a,f,l)}return a}return wo=r,wo}var Oo,ap;function Wr(){if(ap)return Oo;ap=1;function e(t){return t}return Oo=e,Oo}var _o,op;function aO(){if(op)return _o;op=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 _o=e,_o}var Ao,up;function Lb(){if(up)return Ao;up=1;var e=aO(),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 Ao=r,Ao}var So,cp;function oO(){if(cp)return So;cp=1;function e(t){return function(){return t}}return So=e,So}var Po,sp;function uO(){if(sp)return Po;sp=1;var e=oO(),t=qb(),r=Wr(),n=t?function(i,a){return t(i,"toString",{configurable:!0,enumerable:!1,value:e(a),writable:!0})}:r;return Po=n,Po}var To,lp;function cO(){if(lp)return To;lp=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 To=n,To}var Eo,fp;function Bb(){if(fp)return Eo;fp=1;var e=uO(),t=cO(),r=t(e);return Eo=r,Eo}var jo,hp;function sO(){if(hp)return jo;hp=1;var e=Wr(),t=Lb(),r=Bb();function n(i,a){return r(t(i,a,e),i+"")}return jo=n,jo}var Mo,pp;function Rf(){if(pp)return Mo;pp=1;var e=9007199254740991;function t(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=e}return Mo=t,Mo}var $o,dp;function Ur(){if(dp)return $o;dp=1;var e=If(),t=Rf();function r(n){return n!=null&&t(n.length)&&!e(n)}return $o=r,$o}var Co,vp;function kf(){if(vp)return Co;vp=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 Co=r,Co}var Io,yp;function Oa(){if(yp)return Io;yp=1;var e=wa(),t=Ur(),r=kf(),n=st();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 Io=i,Io}var Do,mp;function Nf(){if(mp)return Do;mp=1;var e=Object.prototype;function t(r){var n=r&&r.constructor,i=typeof n=="function"&&n.prototype||e;return r===i}return Do=t,Do}var Ro,gp;function lO(){if(gp)return Ro;gp=1;function e(t,r){for(var n=-1,i=Array(t);++n<t;)i[n]=r(n);return i}return Ro=e,Ro}var ko,bp;function _t(){if(bp)return ko;bp=1;function e(t){return t!=null&&typeof t=="object"}return ko=e,ko}var No,xp;function fO(){if(xp)return No;xp=1;var e=Ot(),t=_t(),r="[object Arguments]";function n(i){return t(i)&&e(i)==r}return No=n,No}var qo,wp;function qf(){if(wp)return qo;wp=1;var e=fO(),t=_t(),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 qo=a,qo}var Lo,Op;function ke(){if(Op)return Lo;Op=1;var e=Array.isArray;return Lo=e,Lo}var sn={exports:{}},Bo,_p;function hO(){if(_p)return Bo;_p=1;function e(){return!1}return Bo=e,Bo}sn.exports;var Ap;function Fb(){return Ap||(Ap=1,(function(e,t){var r=tt(),n=hO(),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})(sn,sn.exports)),sn.exports}var Fo,Sp;function pO(){if(Sp)return Fo;Sp=1;var e=Ot(),t=Rf(),r=_t(),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]",d="[object Set]",y="[object String]",v="[object WeakMap]",p="[object ArrayBuffer]",b="[object DataView]",x="[object Float32Array]",w="[object Float64Array]",O="[object Int8Array]",m="[object Int16Array]",g="[object Int32Array]",_="[object Uint8Array]",A="[object Uint8ClampedArray]",P="[object Uint16Array]",M="[object Uint32Array]",E={};E[x]=E[w]=E[O]=E[m]=E[g]=E[_]=E[A]=E[P]=E[M]=!0,E[n]=E[i]=E[p]=E[a]=E[b]=E[o]=E[u]=E[c]=E[s]=E[f]=E[l]=E[h]=E[d]=E[y]=E[v]=!1;function T(j){return r(j)&&t(j.length)&&!!E[e(j)]}return Fo=T,Fo}var zo,Pp;function zb(){if(Pp)return zo;Pp=1;function e(t){return function(r){return t(r)}}return zo=e,zo}var ln={exports:{}};ln.exports;var Tp;function dO(){return Tp||(Tp=1,(function(e,t){var r=kb(),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})(ln,ln.exports)),ln.exports}var Wo,Ep;function Wb(){if(Ep)return Wo;Ep=1;var e=pO(),t=zb(),r=dO(),n=r&&r.isTypedArray,i=n?t(n):e;return Wo=i,Wo}var Uo,jp;function Ub(){if(jp)return Uo;jp=1;var e=lO(),t=qf(),r=ke(),n=Fb(),i=kf(),a=Wb(),o=Object.prototype,u=o.hasOwnProperty;function c(s,f){var l=r(s),h=!l&&t(s),d=!l&&!h&&n(s),y=!l&&!h&&!d&&a(s),v=l||h||d||y,p=v?e(s.length,String):[],b=p.length;for(var x in s)(f||u.call(s,x))&&!(v&&(x=="length"||d&&(x=="offset"||x=="parent")||y&&(x=="buffer"||x=="byteLength"||x=="byteOffset")||i(x,b)))&&p.push(x);return p}return Uo=c,Uo}var Ho,Mp;function Hb(){if(Mp)return Ho;Mp=1;function e(t,r){return function(n){return t(r(n))}}return Ho=e,Ho}var Go,$p;function vO(){if($p)return Go;$p=1;var e=Hb(),t=e(Object.keys,Object);return Go=t,Go}var Ko,Cp;function yO(){if(Cp)return Ko;Cp=1;var e=Nf(),t=vO(),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 Ko=i,Ko}var Vo,Ip;function _a(){if(Ip)return Vo;Ip=1;var e=Ub(),t=yO(),r=Ur();function n(i){return r(i)?e(i):t(i)}return Vo=n,Vo}var Xo,Dp;function Gb(){if(Dp)return Xo;Dp=1;var e=Hb(),t=e(Object.getPrototypeOf,Object);return Xo=t,Xo}var Yo,Rp;function mO(){if(Rp)return Yo;Rp=1;var e=Ot(),t=Gb(),r=_t(),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 Yo=s,Yo}var Zo,kp;function gO(){if(kp)return Zo;kp=1;function e(){this.__data__=[],this.size=0}return Zo=e,Zo}var Jo,Np;function Aa(){if(Np)return Jo;Np=1;var e=wa();function t(r,n){for(var i=r.length;i--;)if(e(r[i][0],n))return i;return-1}return Jo=t,Jo}var Qo,qp;function bO(){if(qp)return Qo;qp=1;var e=Aa(),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 Qo=n,Qo}var eu,Lp;function xO(){if(Lp)return eu;Lp=1;var e=Aa();function t(r){var n=this.__data__,i=e(n,r);return i<0?void 0:n[i][1]}return eu=t,eu}var tu,Bp;function wO(){if(Bp)return tu;Bp=1;var e=Aa();function t(r){return e(this.__data__,r)>-1}return tu=t,tu}var ru,Fp;function OO(){if(Fp)return ru;Fp=1;var e=Aa();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 ru=t,ru}var nu,zp;function Sa(){if(zp)return nu;zp=1;var e=gO(),t=bO(),r=xO(),n=wO(),i=OO();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,nu=a,nu}var iu,Wp;function _O(){if(Wp)return iu;Wp=1;var e=Sa();function t(){this.__data__=new e,this.size=0}return iu=t,iu}var au,Up;function AO(){if(Up)return au;Up=1;function e(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n}return au=e,au}var ou,Hp;function SO(){if(Hp)return ou;Hp=1;function e(t){return this.__data__.get(t)}return ou=e,ou}var uu,Gp;function PO(){if(Gp)return uu;Gp=1;function e(t){return this.__data__.has(t)}return uu=e,uu}var cu,Kp;function Lf(){if(Kp)return cu;Kp=1;var e=er(),t=tt(),r=e(t,"Map");return cu=r,cu}var su,Vp;function Pa(){if(Vp)return su;Vp=1;var e=er(),t=e(Object,"create");return su=t,su}var lu,Xp;function TO(){if(Xp)return lu;Xp=1;var e=Pa();function t(){this.__data__=e?e(null):{},this.size=0}return lu=t,lu}var fu,Yp;function EO(){if(Yp)return fu;Yp=1;function e(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}return fu=e,fu}var hu,Zp;function jO(){if(Zp)return hu;Zp=1;var e=Pa(),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 hu=i,hu}var pu,Jp;function MO(){if(Jp)return pu;Jp=1;var e=Pa(),t=Object.prototype,r=t.hasOwnProperty;function n(i){var a=this.__data__;return e?a[i]!==void 0:r.call(a,i)}return pu=n,pu}var du,Qp;function $O(){if(Qp)return du;Qp=1;var e=Pa(),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 du=r,du}var vu,ed;function CO(){if(ed)return vu;ed=1;var e=TO(),t=EO(),r=jO(),n=MO(),i=$O();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,vu=a,vu}var yu,td;function IO(){if(td)return yu;td=1;var e=CO(),t=Sa(),r=Lf();function n(){this.size=0,this.__data__={hash:new e,map:new(r||t),string:new e}}return yu=n,yu}var mu,rd;function DO(){if(rd)return mu;rd=1;function e(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}return mu=e,mu}var gu,nd;function Ta(){if(nd)return gu;nd=1;var e=DO();function t(r,n){var i=r.__data__;return e(n)?i[typeof n=="string"?"string":"hash"]:i.map}return gu=t,gu}var bu,id;function RO(){if(id)return bu;id=1;var e=Ta();function t(r){var n=e(this,r).delete(r);return this.size-=n?1:0,n}return bu=t,bu}var xu,ad;function kO(){if(ad)return xu;ad=1;var e=Ta();function t(r){return e(this,r).get(r)}return xu=t,xu}var wu,od;function NO(){if(od)return wu;od=1;var e=Ta();function t(r){return e(this,r).has(r)}return wu=t,wu}var Ou,ud;function qO(){if(ud)return Ou;ud=1;var e=Ta();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 Ou=t,Ou}var _u,cd;function Bf(){if(cd)return _u;cd=1;var e=IO(),t=RO(),r=kO(),n=NO(),i=qO();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,_u=a,_u}var Au,sd;function LO(){if(sd)return Au;sd=1;var e=Sa(),t=Lf(),r=Bf(),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 Au=i,Au}var Su,ld;function Kb(){if(ld)return Su;ld=1;var e=Sa(),t=_O(),r=AO(),n=SO(),i=PO(),a=LO();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,Su=o,Su}var Pu,fd;function BO(){if(fd)return Pu;fd=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 Pu=e,Pu}var Tu,hd;function FO(){if(hd)return Tu;hd=1;var e=BO(),t=e();return Tu=t,Tu}var fn={exports:{}};fn.exports;var pd;function t2(){return pd||(pd=1,(function(e,t){var r=tt(),n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===n,o=a?r.Buffer:void 0,u=o?o.allocUnsafe:void 0;function c(s,f){if(f)return s.slice();var l=s.length,h=u?u(l):new s.constructor(l);return s.copy(h),h}e.exports=c})(fn,fn.exports)),fn.exports}var Eu,dd;function Vb(){if(dd)return Eu;dd=1;var e=tt(),t=e.Uint8Array;return Eu=t,Eu}var ju,vd;function zO(){if(vd)return ju;vd=1;var e=Vb();function t(r){var n=new r.constructor(r.byteLength);return new e(n).set(new e(r)),n}return ju=t,ju}var Mu,yd;function r2(){if(yd)return Mu;yd=1;var e=zO();function t(r,n){var i=n?e(r.buffer):r.buffer;return new r.constructor(i,r.byteOffset,r.length)}return Mu=t,Mu}var $u,md;function n2(){if(md)return $u;md=1;function e(t,r){var n=-1,i=t.length;for(r||(r=Array(i));++n<i;)r[n]=t[n];return r}return $u=e,$u}var Cu,gd;function WO(){if(gd)return Cu;gd=1;var e=st(),t=Object.create,r=(function(){function n(){}return function(i){if(!e(i))return{};if(t)return t(i);n.prototype=i;var a=new n;return n.prototype=void 0,a}})();return Cu=r,Cu}var Iu,bd;function i2(){if(bd)return Iu;bd=1;var e=WO(),t=Gb(),r=Nf();function n(i){return typeof i.constructor=="function"&&!r(i)?e(t(i)):{}}return Iu=n,Iu}var Du,xd;function UO(){if(xd)return Du;xd=1;function e(t){var r=[];if(t!=null)for(var n in Object(t))r.push(n);return r}return Du=e,Du}var Ru,wd;function HO(){if(wd)return Ru;wd=1;var e=st(),t=Nf(),r=UO(),n=Object.prototype,i=n.hasOwnProperty;function a(o){if(!e(o))return r(o);var u=t(o),c=[];for(var s in o)s=="constructor"&&(u||!i.call(o,s))||c.push(s);return c}return Ru=a,Ru}var ku,Od;function a2(){if(Od)return ku;Od=1;var e=Ub(),t=HO(),r=Ur();function n(i){return r(i)?e(i,!0):t(i)}return ku=n,ku}var Nu,_d;function GO(){if(_d)return Nu;_d=1;var e="__lodash_hash_undefined__";function t(r){return this.__data__.set(r,e),this}return Nu=t,Nu}var qu,Ad;function KO(){if(Ad)return qu;Ad=1;function e(t){return this.__data__.has(t)}return qu=e,qu}var Lu,Sd;function Xb(){if(Sd)return Lu;Sd=1;var e=Bf(),t=GO(),r=KO();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,Lu=n,Lu}var Bu,Pd;function Yb(){if(Pd)return Bu;Pd=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 Bu=e,Bu}var Fu,Td;function Zb(){if(Td)return Fu;Td=1;function e(t,r){return t.has(r)}return Fu=e,Fu}var zu,Ed;function Jb(){if(Ed)return zu;Ed=1;var e=Xb(),t=Yb(),r=Zb(),n=1,i=2;function a(o,u,c,s,f,l){var h=c&n,d=o.length,y=u.length;if(d!=y&&!(h&&y>d))return!1;var v=l.get(o),p=l.get(u);if(v&&p)return v==u&&p==o;var b=-1,x=!0,w=c&i?new e:void 0;for(l.set(o,u),l.set(u,o);++b<d;){var O=o[b],m=u[b];if(s)var g=h?s(m,O,b,u,o,l):s(O,m,b,o,u,l);if(g!==void 0){if(g)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 zu=a,zu}var Wu,jd;function VO(){if(jd)return Wu;jd=1;function e(t){var r=-1,n=Array(t.size);return t.forEach(function(i,a){n[++r]=[a,i]}),n}return Wu=e,Wu}var Uu,Md;function Ff(){if(Md)return Uu;Md=1;function e(t){var r=-1,n=Array(t.size);return t.forEach(function(i){n[++r]=i}),n}return Uu=e,Uu}var Hu,$d;function XO(){if($d)return Hu;$d=1;var e=Qn(),t=Vb(),r=wa(),n=Jb(),i=VO(),a=Ff(),o=1,u=2,c="[object Boolean]",s="[object Date]",f="[object Error]",l="[object Map]",h="[object Number]",d="[object RegExp]",y="[object Set]",v="[object String]",p="[object Symbol]",b="[object ArrayBuffer]",x="[object DataView]",w=e?e.prototype:void 0,O=w?w.valueOf:void 0;function m(g,_,A,P,M,E,T){switch(A){case x:if(g.byteLength!=_.byteLength||g.byteOffset!=_.byteOffset)return!1;g=g.buffer,_=_.buffer;case b:return!(g.byteLength!=_.byteLength||!E(new t(g),new t(_)));case c:case s:case h:return r(+g,+_);case f:return g.name==_.name&&g.message==_.message;case d:case v:return g==_+"";case l:var j=i;case y:var C=P&o;if(j||(j=a),g.size!=_.size&&!C)return!1;var $=T.get(g);if($)return $==_;P|=u,T.set(g,_);var D=n(j(g),j(_),P,M,E,T);return T.delete(g),D;case p:if(O)return O.call(g)==O.call(_)}return!1}return Hu=m,Hu}var Gu,Cd;function Qb(){if(Cd)return Gu;Cd=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 Gu=e,Gu}var Ku,Id;function YO(){if(Id)return Ku;Id=1;var e=Qb(),t=ke();function r(n,i,a){var o=i(n);return t(n)?o:e(o,a(n))}return Ku=r,Ku}var Vu,Dd;function ZO(){if(Dd)return Vu;Dd=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 Vu=e,Vu}var Xu,Rd;function JO(){if(Rd)return Xu;Rd=1;function e(){return[]}return Xu=e,Xu}var Yu,kd;function QO(){if(kd)return Yu;kd=1;var e=ZO(),t=JO(),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 Yu=a,Yu}var Zu,Nd;function e_(){if(Nd)return Zu;Nd=1;var e=YO(),t=QO(),r=_a();function n(i){return e(i,r,t)}return Zu=n,Zu}var Ju,qd;function t_(){if(qd)return Ju;qd=1;var e=e_(),t=1,r=Object.prototype,n=r.hasOwnProperty;function i(a,o,u,c,s,f){var l=u&t,h=e(a),d=h.length,y=e(o),v=y.length;if(d!=v&&!l)return!1;for(var p=d;p--;){var b=h[p];if(!(l?b in o:n.call(o,b)))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;++p<d;){b=h[p];var g=a[b],_=o[b];if(c)var A=l?c(_,g,b,o,a,f):c(g,_,b,a,o,f);if(!(A===void 0?g===_||s(g,_,u,c,f):A)){O=!1;break}m||(m=b=="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 Ju=i,Ju}var Qu,Ld;function r_(){if(Ld)return Qu;Ld=1;var e=er(),t=tt(),r=e(t,"DataView");return Qu=r,Qu}var ec,Bd;function n_(){if(Bd)return ec;Bd=1;var e=er(),t=tt(),r=e(t,"Promise");return ec=r,ec}var tc,Fd;function e0(){if(Fd)return tc;Fd=1;var e=er(),t=tt(),r=e(t,"Set");return tc=r,tc}var rc,zd;function i_(){if(zd)return rc;zd=1;var e=er(),t=tt(),r=e(t,"WeakMap");return rc=r,rc}var nc,Wd;function a_(){if(Wd)return nc;Wd=1;var e=r_(),t=Lf(),r=n_(),n=e0(),i=i_(),a=Ot(),o=Nb(),u="[object Map]",c="[object Object]",s="[object Promise]",f="[object Set]",l="[object WeakMap]",h="[object DataView]",d=o(e),y=o(t),v=o(r),p=o(n),b=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,g=m?o(m):"";if(g)switch(g){case d:return h;case y:return u;case v:return s;case p:return f;case b:return l}return O}),nc=x,nc}var ic,Ud;function o_(){if(Ud)return ic;Ud=1;var e=Kb(),t=Jb(),r=XO(),n=t_(),i=a_(),a=ke(),o=Fb(),u=Wb(),c=1,s="[object Arguments]",f="[object Array]",l="[object Object]",h=Object.prototype,d=h.hasOwnProperty;function y(v,p,b,x,w,O){var m=a(v),g=a(p),_=m?f:i(v),A=g?f:i(p);_=_==s?l:_,A=A==s?l:A;var P=_==l,M=A==l,E=_==A;if(E&&o(v)){if(!o(p))return!1;m=!0,P=!1}if(E&&!P)return O||(O=new e),m||u(v)?t(v,p,b,x,w,O):r(v,p,_,b,x,w,O);if(!(b&c)){var T=P&&d.call(v,"__wrapped__"),j=M&&d.call(p,"__wrapped__");if(T||j){var C=T?v.value():v,$=j?p.value():p;return O||(O=new e),w(C,$,b,x,O)}}return E?(O||(O=new e),n(v,p,b,x,w,O)):!1}return ic=y,ic}var ac,Hd;function zf(){if(Hd)return ac;Hd=1;var e=o_(),t=_t();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 ac=r,ac}var oc,Gd;function u_(){if(Gd)return oc;Gd=1;var e=Kb(),t=zf(),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 d=h[0],y=a[d],v=h[1];if(l&&h[2]){if(y===void 0&&!(d in a))return!1}else{var p=new e;if(c)var b=c(y,v,d,a,o,p);if(!(b===void 0?t(v,y,r|n,c,p):b))return!1}}return!0}return oc=i,oc}var uc,Kd;function t0(){if(Kd)return uc;Kd=1;var e=st();function t(r){return r===r&&!e(r)}return uc=t,uc}var cc,Vd;function c_(){if(Vd)return cc;Vd=1;var e=t0(),t=_a();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 cc=r,cc}var sc,Xd;function r0(){if(Xd)return sc;Xd=1;function e(t,r){return function(n){return n==null?!1:n[t]===r&&(r!==void 0||t in Object(n))}}return sc=e,sc}var lc,Yd;function s_(){if(Yd)return lc;Yd=1;var e=u_(),t=c_(),r=r0();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 lc=n,lc}var fc,Zd;function Hr(){if(Zd)return fc;Zd=1;var e=Ot(),t=_t(),r="[object Symbol]";function n(i){return typeof i=="symbol"||t(i)&&e(i)==r}return fc=n,fc}var hc,Jd;function Wf(){if(Jd)return hc;Jd=1;var e=ke(),t=Hr(),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 hc=i,hc}var pc,Qd;function n0(){if(Qd)return pc;Qd=1;var e=Bf(),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,pc=r,pc}var dc,ev;function l_(){if(ev)return dc;ev=1;var e=n0(),t=500;function r(n){var i=e(n,function(o){return a.size===t&&a.clear(),o}),a=i.cache;return i}return dc=r,dc}var vc,tv;function f_(){if(tv)return vc;tv=1;var e=l_(),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 vc=n,vc}var yc,rv;function Uf(){if(rv)return yc;rv=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 yc=e,yc}var mc,nv;function h_(){if(nv)return mc;nv=1;var e=Qn(),t=Uf(),r=ke(),n=Hr(),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 mc=o,mc}var gc,iv;function i0(){if(iv)return gc;iv=1;var e=h_();function t(r){return r==null?"":e(r)}return gc=t,gc}var bc,av;function a0(){if(av)return bc;av=1;var e=ke(),t=Wf(),r=f_(),n=i0();function i(a,o){return e(a)?a:t(a,o)?[a]:r(n(a))}return bc=i,bc}var xc,ov;function Ea(){if(ov)return xc;ov=1;var e=Hr();function t(r){if(typeof r=="string"||e(r))return r;var n=r+"";return n=="0"&&1/r==-1/0?"-0":n}return xc=t,xc}var wc,uv;function Hf(){if(uv)return wc;uv=1;var e=a0(),t=Ea();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 wc=r,wc}var Oc,cv;function o0(){if(cv)return Oc;cv=1;var e=Hf();function t(r,n,i){var a=r==null?void 0:e(r,n);return a===void 0?i:a}return Oc=t,Oc}var _c,sv;function p_(){if(sv)return _c;sv=1;function e(t,r){return t!=null&&r in Object(t)}return _c=e,_c}var Ac,lv;function d_(){if(lv)return Ac;lv=1;var e=a0(),t=qf(),r=ke(),n=kf(),i=Rf(),a=Ea();function o(u,c,s){c=e(c,u);for(var f=-1,l=c.length,h=!1;++f<l;){var d=a(c[f]);if(!(h=u!=null&&s(u,d)))break;u=u[d]}return h||++f!=l?h:(l=u==null?0:u.length,!!l&&i(l)&&n(d,l)&&(r(u)||t(u)))}return Ac=o,Ac}var Sc,fv;function v_(){if(fv)return Sc;fv=1;var e=p_(),t=d_();function r(n,i){return n!=null&&t(n,i,e)}return Sc=r,Sc}var Pc,hv;function y_(){if(hv)return Pc;hv=1;var e=zf(),t=o0(),r=v_(),n=Wf(),i=t0(),a=r0(),o=Ea(),u=1,c=2;function s(f,l){return n(f)&&i(l)?a(o(f),l):function(h){var d=t(h,f);return d===void 0&&d===l?r(h,f):e(l,d,u|c)}}return Pc=s,Pc}var Tc,pv;function m_(){if(pv)return Tc;pv=1;function e(t){return function(r){return r?.[t]}}return Tc=e,Tc}var Ec,dv;function g_(){if(dv)return Ec;dv=1;var e=Hf();function t(r){return function(n){return e(n,r)}}return Ec=t,Ec}var jc,vv;function b_(){if(vv)return jc;vv=1;var e=m_(),t=g_(),r=Wf(),n=Ea();function i(a){return r(a)?e(n(a)):t(a)}return jc=i,jc}var Mc,yv;function Ct(){if(yv)return Mc;yv=1;var e=s_(),t=y_(),r=Wr(),n=ke(),i=b_();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 Mc=a,Mc}var $c,mv;
vendor: 4,839 bytes, line 1
1function u0(){if(mv)return $c;mv=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 $c=e,$c}var Cc,gv;function x_(){if(gv)return Cc;gv=1;function e(t){return t!==t}return Cc=e,Cc}var Ic,bv;function w_(){if(bv)return Ic;bv=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 Ic=e,Ic}var Dc,xv;function O_(){if(xv)return Dc;xv=1;var e=u0(),t=x_(),r=w_();function n(i,a,o){return a===a?r(i,a,o):e(i,t,o)}return Dc=n,Dc}var Rc,wv;function __(){if(wv)return Rc;wv=1;var e=O_();function t(r,n){var i=r==null?0:r.length;return!!i&&e(r,n,0)>-1}return Rc=t,Rc}var kc,Ov;function A_(){if(Ov)return kc;Ov=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 kc=e,kc}var Nc,_v;function S_(){if(_v)return Nc;_v=1;function e(){}return Nc=e,Nc}var qc,Av;function P_(){if(Av)return qc;Av=1;var e=e0(),t=S_(),r=Ff(),n=1/0,i=e&&1/r(new e([,-0]))[1]==n?function(a){return new e(a)}:t;return qc=i,qc}var Lc,Sv;function T_(){if(Sv)return Lc;Sv=1;var e=Xb(),t=__(),r=A_(),n=Zb(),i=P_(),a=Ff(),o=200;function u(c,s,f){var l=-1,h=t,d=c.length,y=!0,v=[],p=v;if(f)y=!1,h=r;else if(d>=o){var b=s?null:i(c);if(b)return a(b);y=!1,h=n,p=new e}else p=s?[]:v;e:for(;++l<d;){var x=c[l],w=s?s(x):x;if(x=f||x!==0?x:0,y&&w===w){for(var O=p.length;O--;)if(p[O]===w)continue e;s&&p.push(w),v.push(x)}else h(p,w,f)||(p!==v&&p.push(w),v.push(x))}return v}return Lc=u,Lc}var Bc,Pv;function E_(){if(Pv)return Bc;Pv=1;var e=Ct(),t=T_();function r(n,i){return n&&n.length?t(n,e(i,2)):[]}return Bc=r,Bc}var j_=E_();const Tv=le(j_);var Fc,Ev;function M_(){if(Ev)return Fc;Ev=1;var e=Qn(),t=qf(),r=ke(),n=e?e.isConcatSpreadable:void 0;function i(a){return r(a)||t(a)||!!(n&&a&&a[n])}return Fc=i,Fc}var zc,jv;function Gf(){if(jv)return zc;jv=1;var e=Qb(),t=M_();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 zc=r,zc}var Wc,Mv;function $_(){if(Mv)return Wc;Mv=1;var e=Gf();function t(r){var n=r==null?0:r.length;return n?e(r,1):[]}return Wc=t,Wc}var Uc,$v;function o2(){if($v)return Uc;$v=1;var e=$_(),t=Lb(),r=Bb();function n(i){return r(t(i,void 0,e),i+"")}return Uc=n,Uc}var Hc,Cv;function c0(){if(Cv)return Hc;Cv=1;var e=FO(),t=_a();function r(n,i){return n&&e(n,i,t)}return Hc=r,Hc}var Gc,Iv;function C_(){if(Iv)return Gc;Iv=1;var e=Ur();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 Gc=t,Gc}var Kc,Dv;function Kf(){if(Dv)return Kc;Dv=1;var e=c0(),t=C_(),r=t(e);return Kc=r,Kc}var Vc,Rv;function u2(){if(Rv)return Vc;Rv=1;function e(t,r){for(var n=-1,i=t==null?0:t.length;++n<i&&r(t[n],n,t)!==!1;);return t}return Vc=e,Vc}var Xc,kv;function I_(){if(kv)return Xc;kv=1;var e=/\s/;function t(r){for(var n=r.length;n--&&e.test(r.charAt(n)););return n}return Xc=t,Xc}var Yc,Nv;function D_(){if(Nv)return Yc;Nv=1;var e=I_(),t=/^\s+/;function r(n){return n&&n.slice(0,e(n)+1).replace(t,"")}return Yc=r,Yc}var Zc,qv;function s0(){if(qv)return Zc;qv=1;var e=D_(),t=st(),r=Hr(),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 Zc=c,Zc}var Jc,Lv;function l0(){if(Lv)return Jc;Lv=1;var e=s0(),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 Jc=n,Jc}var Qc,Bv;function R_(){if(Bv)return Qc;Bv=1;var e=l0();function t(r){var n=e(r),i=n%1;return n===n?i?n-i:n:0}return Qc=t,Qc}var es,Fv;function k_(){if(Fv)return es;Fv=1;var e=tt(),t=function(){return e.Date.now()};return es=t,es}var ts,zv;function N_(){if(zv)return ts;zv=1;var e=st(),t=k_(),r=s0(),n="Expected a function",i=Math.max,a=Math.min;function o(u,c,s){var f,l,h,d,y,v,p=0,b=!1,x=!1,w=!0;if(typeof u!="function")throw new TypeError(n);c=r(c)||0,e(s)&&(b=!!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,p=j,d=u.apply($,C),d}function m(j){return p=j,y=setTimeout(A,c),b?O(j):d}function g(j){var C=j-v,$=j-p,D=c-C;return x?a(D,h-$):D}function _(j){var C=j-v,$=j-p;return v===void 0||C>=c||C<0||x&&$>=h}function A(){var j=t();if(_(j))return P(j);y=setTimeout(A,g(j))}function P(j){return y=void 0,w&&f?O(j):(f=l=void 0,d)}function M(){y!==void 0&&clearTimeout(y),p=0,f=v=l=y=void 0}function E(){return y===void 0?d:P(t())}function T(){var j=t(),C=_(j);if(f=arguments,l=this,v=j,C){if(y===void 0)return m(v);
1if(x)return clearTimeout(y),y=setTimeout(A,c),O(v)}return y===void 0&&(y=setTimeout(A,c)),d}return T.cancel=M,T.flush=E,T}return ts=o,ts}var rs,Wv;function q_(){if(Wv)return rs;Wv=1;var e=zf();function t(r,n){return e(r,n)}return rs=t,rs}var L_=q_();const br=le(L_);function pl(e,t){return pl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},pl(e,t)}function c2(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,pl(e,t)}function Uv(){return Uv=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Uv.apply(null,arguments)}function s2(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var ns={exports:{}},ne={};/**
2 * @license React
3 * react-is.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var Hv;function B_(){if(Hv)return ne;Hv=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"),d=Symbol.for("react.offscreen"),y;y=Symbol.for("react.module.reference");function v(p){if(typeof p=="object"&&p!==null){var b=p.$$typeof;switch(b){case e:switch(p=p.type,p){case r:case i:case n:case s:case f:return p;default:switch(p=p&&p.$$typeof,p){case u:case o:case c:case h:case l:case a:return p;default:return b}}case t:return b}}}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(p){return v(p)===o},ne.isContextProvider=function(p){return v(p)===a},ne.isElement=function(p){return typeof p=="object"&&p!==null&&p.$$typeof===e},ne.isForwardRef=function(p){return v(p)===c},ne.isFragment=function(p){return v(p)===r},ne.isLazy=function(p){return v(p)===h},ne.isMemo=function(p){return v(p)===l},ne.isPortal=function(p){return v(p)===t},ne.isProfiler=function(p){return v(p)===i},ne.isStrictMode=function(p){return v(p)===n},ne.isSuspense=function(p){return v(p)===s},ne.isSuspenseList=function(p){return v(p)===f},ne.isValidElementType=function(p){return typeof p=="string"||typeof p=="function"||p===r||p===i||p===n||p===s||p===f||p===d||typeof p=="object"&&p!==null&&(p.$$typeof===h||p.$$typeof===l||p.$$typeof===a||p.$$typeof===o||p.$$typeof===c||p.$$typeof===y||p.getModuleId!==void 0)},ne.typeOf=v,ne}var Gv;function F_(){return Gv||(Gv=1,ns.exports=B_()),ns.exports}var z_=F_(),W_="Invariant failed";function Xt(e,t){throw new Error(W_)}var is,Kv;function U_(){if(Kv)return is;Kv=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 is=e,is}var as,Vv;function H_(){if(Vv)return as;Vv=1;var e=U_();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 as=t,as}var os,Xv;function f0(){if(Xv)return os;Xv=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 os=c,os}var us,Yv;function G_(){if(Yv)return us;Yv=1;function e(t){return t.split("")}return us=e,us}var cs,Zv;function K_(){if(Zv)return cs;Zv=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]",d="\\u200d",y=s+"?",v="["+a+"]?",p="(?:"+d+"(?:"+[f,l,h].join("|")+")"+v+y+")*",b=v+y+p,x="(?:"+[f+u+"?",u,l,h,o].join("|")+")",w=RegExp(c+"(?="+c+")|"+x+b,"g");function O(m){return m.match(w)||[]}return cs=O,cs}var ss,Jv;
9function V_(){if(Jv)return ss;Jv=1;var e=G_(),t=f0(),r=K_();function n(i){return t(i)?r(i):e(i)}return ss=n,ss}var ls,Qv;function X_(){if(Qv)return ls;Qv=1;var e=H_(),t=f0(),r=V_(),n=i0();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 ls=i,ls}var fs,ey;function Y_(){if(ey)return fs;ey=1;var e=X_(),t=e("toUpperCase");return fs=t,fs}var hs,ty;function Z_(){if(ty)return hs;ty=1;var e=Ot(),t=ke(),r=_t(),n="[object String]";function i(a){return typeof a=="string"||!t(a)&&r(a)&&e(a)==n}return hs=i,hs}var J_=Z_();const Yt=le(J_);var Q_=o0();const Ge=le(Q_);var ps,ry;function e1(){if(ry)return ps;ry=1;function e(t){return t==null}return ps=e,ps}var t1=e1();const J=le(t1);var r1=If();const V=le(r1);var n1=st();const Gr=le(n1);var ds,ny;function h0(){if(ny)return ds;ny=1;var e=Ot(),t=_t(),r="[object Number]";function n(i){return typeof i=="number"||t(i)&&e(i)==r}return ds=n,ds}var vs,iy;function i1(){if(iy)return vs;iy=1;var e=h0();function t(r){return e(r)&&r!=+r}return vs=t,vs}var a1=i1();const Kr=le(a1);var o1=h0();const u1=le(o1);var et=function(t){return t===0?0:t>0?1:-1},zt=function(t){return Yt(t)&&t.indexOf("%")===t.length-1},q=function(t){return u1(t)&&!Kr(t)},c1=function(t){return J(t)},we=function(t){return q(t)||Yt(t)},s1=0,Vr=function(t){var r=++s1;return"".concat(t||"").concat(r)},Zt=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)&&!Yt(t))return n;var a;if(zt(t)){var o=t.indexOf("%");a=r*parseFloat(t.slice(0,o))/100}else a=+t;return Kr(a)&&(a=n),i&&a>r&&(a=r),a},Et=function(t){if(!t)return null;var r=Object.keys(t);return r&&r.length?t[r[0]]:null},l1=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},Pe=function(t,r){return q(t)&&q(r)?function(n){return t+n*(r-t)}:function(){return r}};function wi(e,t,r){return!e||!e.length?null:e.find(function(n){return n&&(typeof t=="function"?t(n):Ge(n,t))===r})}var f1=function(t,r){return q(t)&&q(r)?t-r:Yt(t)&&Yt(r)?t.localeCompare(r):t instanceof Date&&r instanceof Date?t.getTime()-r.getTime():String(t).localeCompare(String(r))};function dr(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 dl(e){"@babel/helpers - typeof";return dl=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},dl(e)}var h1=["viewBox","children"],p1=["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","enableBackgroun
9d","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"],ay=["points","pathLength"],ys={svg:h1,polygon:ay,polyline:ay},Vf=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","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"],Oi=function(t,r){if(!t||typeof t=="function"||typeof t=="boolean")return null;var n=t;if(N.isValidElement(t)&&(n=t.props),!Gr(n))return null;var i={};
9return Object.keys(n).forEach(function(a){Vf.includes(a)&&(i[a]=r||function(o){return n[a](n,o)})}),i},d1=function(t,r,n){return function(i){return t(r,n,i),null}},_i=function(t,r,n){if(!Gr(t)||dl(t)!=="object")return null;var i=null;return Object.keys(t).forEach(function(a){var o=t[a];Vf.includes(a)&&typeof o=="function"&&(i||(i={}),i[a]=d1(o,r,n))}),i},v1=["children"],y1=["children"];function oy(e,t){if(e==null)return{};var r=m1(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 m1(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 vl(e){"@babel/helpers - typeof";return vl=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},vl(e)}var uy={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"},vt=function(t){return typeof t=="string"?t:t?t.displayName||t.name||"Component":""},cy=null,ms=null,Xf=function e(t){if(t===cy&&Array.isArray(ms))return ms;var r=[];return N.Children.forEach(t,function(n){J(n)||(z_.isFragment(n)?r=r.concat(e(n.props.children)):r.push(n))}),ms=r,cy=t,r};function Ke(e,t){var r=[],n=[];return Array.isArray(t)?n=t.map(function(i){return vt(i)}):n=[vt(t)],Xf(e).forEach(function(i){var a=Ge(i,"type.displayName")||Ge(i,"type.name");n.indexOf(a)!==-1&&r.push(i)}),r}function Be(e,t){var r=Ke(e,t);return r&&r[0]}var sy=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)},g1=["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"],b1=function(t){return t&&t.type&&Yt(t.type)&&g1.indexOf(t.type)>=0},p0=function(t){return t&&vl(t)==="object"&&"clipDot"in t},x1=function(t,r,n,i){var a,o=(a=ys?.[i])!==null&&a!==void 0?a:[];return r.startsWith("data-")||!V(t)&&(i&&o.includes(r)||p1.includes(r))||n&&Vf.includes(r)},Y=function(t,r,n){if(!t||typeof t=="function"||typeof t=="boolean")return null;var i=t;if(N.isValidElement(t)&&(i=t.props),!Gr(i))return null;var a={};
9return Object.keys(i).forEach(function(o){var u;x1((u=i)===null||u===void 0?void 0:u[o],o,r,n)&&(a[o]=i[o])}),a},yl=function e(t,r){if(t===r)return!0;var n=N.Children.count(t);if(n!==N.Children.count(r))return!1;if(n===0)return!0;if(n===1)return ly(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(!ly(a,o))return!1}return!0},ly=function(t,r){if(J(t)&&J(r))return!0;if(!J(t)&&!J(r)){var n=t.props||{},i=n.children,a=oy(n,v1),o=r.props||{},u=o.children,c=oy(o,y1);return i&&u?dr(a,c)&&yl(i,u):!i&&!u?dr(a,c):!1}return!1},fy=function(t,r){var n=[],i={};return Xf(t).forEach(function(a,o){if(b1(a))n.push(a);else if(a){var u=vt(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},w1=function(t){var r=t&&t.type;return r&&uy[r]?uy[r]:null},O1=function(t,r){return Xf(r).indexOf(t)},_1=["children","width","height","viewBox","className","style","title","desc"];function ml(){return ml=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},ml.apply(this,arguments)}function A1(e,t){if(e==null)return{};var r=S1(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 S1(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 gl(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=A1(e,_1),f=i||{width:r,height:n,x:0,y:0},l=Q("recharts-surface",a);return S.createElement("svg",ml({},Y(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 P1=["children","className"];function bl(){return bl=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},bl.apply(this,arguments)}function T1(e,t){if(e==null)return{};var r=E1(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 E1(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 ue=S.forwardRef(function(e,t){var r=e.children,n=e.className,i=T1(e,P1),a=Q("recharts-layer",n);return S.createElement("g",bl({className:a},Y(i,!0),{ref:t}),r)}),yt=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]},j1=Y_();const ja=le(j1);function oe(e){return function(){return e}}const d0=Math.cos,Ai=Math.sin,rt=Math.sqrt,Si=Math.PI,Ma=2*Si,xl=Math.PI,wl=2*xl,Bt=1e-6,M1=wl-Bt;function v0(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=arguments[t]+e[t]}function $1(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return v0;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 C1{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?v0:$1(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},${+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>Bt)if(!(Math.abs(l*c-s*f)>Bt)||!a)this._append`L${this._x1=t},${this._y1=r}`;else{let d=n-o,y=i-u,v=c*c+s*s,p=d*d+y*y,b=Math.sqrt(v),x=Math.sqrt(h),w=a*M
9ath.tan((xl-Math.acos((v+h-p)/(2*b*x)))/2),O=w/x,m=w/b;Math.abs(O-1)>Bt&&this._append`L${t+O*f},${r+O*l}`,this._append`A${a},${a},0,0,${+(l*d>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)>Bt||Math.abs(this._y1-f)>Bt)&&this._append`L${s},${f}`,n&&(h<0&&(h=h%wl+wl),h>M1?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>Bt&&this._append`A${n},${n},0,${+(h>=xl)},${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 Yf(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 C1(t)}function Zf(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function y0(e){this._context=e}y0.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 $a(e){return new y0(e)}function m0(e){return e[0]}function g0(e){return e[1]}function b0(e,t){var r=oe(!0),n=null,i=$a,a=null,o=Yf(u);e=typeof e=="function"?e:e===void 0?m0:oe(e),t=typeof t=="function"?t:t===void 0?g0:oe(t);function u(c){var s,f=(c=Zf(c)).length,l,h=!1,d;for(n==null&&(a=i(d=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(d)return a=null,d+""||null}return u.x=function(c){return arguments.length?(e=typeof c=="function"?c:oe(+c),u):e},u.y=function(c){return arguments.length?(t=typeof c=="function"?c:oe(+c),u):t},u.defined=function(c){return arguments.length?(r=typeof c=="function"?c:oe(!!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 ci(e,t,r){var n=null,i=oe(!0),a=null,o=$a,u=null,c=Yf(s);e=typeof e=="function"?e:e===void 0?m0:oe(+e),t=typeof t=="function"?t:oe(t===void 0?0:+t),r=typeof r=="function"?r:r===void 0?g0:oe(+r);function s(l){var h,d,y,v=(l=Zf(l)).length,p,b=!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(p=l[h],h,l))===b)if(b=!b)d=h,u.areaStart(),u.lineStart();else{for(u.lineEnd(),u.lineStart(),y=h-1;y>=d;--y)u.point(w[y],O[y]);u.lineEnd(),u.areaEnd()}b&&(w[h]=+e(p,h,l),O[h]=+t(p,h,l),u.point(n?+n(p,h,l):w[h],r?+r(p,h,l):O[h]))}if(x)return u=null,x+""||null}function f(){return b0().defined(i).curve(o).context(a)}return s.x=function(l){return arguments.length?(e=typeof l=="function"?l:oe(+l),n=null,s):e},s.x0=function(l){return arguments.length?(e=typeof l=="function"?l:oe(+l),s):e},s.x1=function(l){return arguments.length?(n=l==null?null:typeof l=="function"?l:oe(+l),s):n},s.y=function(l){return arguments.length?(t=typeof l=="function"?l:oe(+l),r=null,s):t},s.y0=function(l){return arguments.length?(t=typeof l=="function"?l:oe(+l),s):t},s.y1=function(l){return arguments.length?(r=l==null?null:typeof l=="function"?l:oe(+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:oe(!!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 x0{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 I1(e){return new x0(e,!0)}function D1(e){return new x0(e,!1)}const Jf={draw(e,t){const r=rt(t/Si);e.moveTo(r,0),e.arc(0,0,r,0,Ma)}},R1={draw(e,t){const r=rt(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()}},w0=rt(1/3),k1=w0*2,N1={draw(e,t){const r=rt(t/k1),n=r*w0;e.moveTo(0,-r),e.lineTo(n,0),e.lineTo(0,r),e.lineTo(-n,0),e.closePath()}},q1={draw(e,t){const r=rt(t),n=-r/2;e.rect(n,n,r,r)}},L1=.8908130915292852,O0=Ai(Si/10)/Ai(7*Si/10),B1=Ai(Ma/10)*O0,F1=-d0(Ma/10)*O0,z1={draw(e,t){const r=rt(t*L1),n=B1*r,i=F1*r;e.moveTo(0,-r),e.lineTo(n,i);for(let a=1;a<5;++a){const o=Ma*a/5,u=d0(o),c=Ai(o);e.lineTo(c*r,-u*r),e.lineTo(u*n-c*i,c*n+u*i)}e.closePath()}},gs=rt(3),W1={draw(e,t){const r=-rt(t/(gs*3));e.moveTo(0,r*2),e.lineTo(-gs*r,-r),e.lineTo(gs*r,-r),e.closePath()}},ze=-.5,We=rt(3)/2,Ol=1/rt(12),U1=(Ol/2+1)*3,H1={draw(e,t){const r=rt(t/U1),n=r/2,i=r*Ol,a=n,o=r*Ol+r,u=-a,c=o;e.moveTo(n,i),e.lineTo(a,o),e.lineTo(u,c),e.lineTo(ze*n-We*i,We*n+ze*i),e.lineTo(ze*a-We*o,We*a+ze*o),e.lineTo(ze*u-We*c,We*u+ze*c),e.lineTo(ze*n+We*i,ze*i-We*n),e.lineTo(ze*a+We*o,ze*o-We*a),e.lineTo(ze*u+We*c,ze*c-We*u),e.closePath()}};function G1(e,t){let r=null,n=Yf(i);e=typeof e=="function"?e:oe(e||Jf),t=typeof t=="function"?t:oe(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:oe(a),i):e},i.size=function(a){return arguments.length?(t=typeof a=="function"?a:oe(+a),i):t}
vendor: 6,361 bytes, line 9
9,i.context=function(a){return arguments.length?(r=a??null,i):r},i}function Pi(){}function Ti(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 _0(e){this._context=e}_0.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:Ti(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:Ti(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function K1(e){return new _0(e)}function A0(e){this._context=e}A0.prototype={areaStart:Pi,areaEnd:Pi,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:Ti(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function V1(e){return new A0(e)}function S0(e){this._context=e}S0.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:Ti(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function X1(e){return new S0(e)}function P0(e){this._context=e}P0.prototype={areaStart:Pi,areaEnd:Pi,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 Y1(e){return new P0(e)}function hy(e){return e<0?-1:1}function py(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(hy(a)+hy(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(u))||0}function dy(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function bs(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 Ei(e){this._context=e}Ei.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:bs(this,this._t0,dy(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,bs(this,dy(this,r=py(this,e,t)),r);break;default:bs(this,this._t0,r=py(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}};function T0(e){this._context=new E0(e)}(T0.prototype=Object.create(Ei.prototype)).point=function(e,t){Ei.prototype.point.call(this,t,e)};function E0(e){this._context=e}E0.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 Z1(e){return new Ei(e)}function J1(e){return new T0(e)}function j0(e){this._context=e}j0.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=vy(e),i=vy(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 vy(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 Q1(e){return new j0(e)}function Ca(e,t){this._context=e,this._t=t}Ca.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;
9default:{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 eA(e){return new Ca(e,.5)}function tA(e){return new Ca(e,0)}function rA(e){return new Ca(e,1)}function xr(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 _l(e){for(var t=e.length,r=new Array(t);--t>=0;)r[t]=t;return r}function nA(e,t){return e[t]}function iA(e){const t=[];return t.key=e,t}function aA(){var e=oe([]),t=_l,r=xr,n=nA;function i(a){var o=Array.from(e.apply(this,arguments),iA),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=Zf(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:oe(Array.from(a)),i):e},i.value=function(a){return arguments.length?(n=typeof a=="function"?a:oe(+a),i):n},i.order=function(a){return arguments.length?(t=a==null?_l:typeof a=="function"?a:oe(Array.from(a)),i):t},i.offset=function(a){return arguments.length?(r=a??xr,i):r},i}function oA(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}xr(e,t)}}function uA(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}xr(e,t)}}function cA(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,d=(l-h)/2,y=0;y<u;++y){var v=e[t[y]],p=v[n][1]||0,b=v[n-1][1]||0;d+=p-b}c+=l,s+=d*l}i[n-1][1]+=i[n-1][0]=r,c&&(r-=s/c)}i[n-1][1]+=i[n-1][0]=r,xr(e,t)}}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)}var sA=["type","size","sizeType"];function Al(){return Al=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},Al.apply(this,arguments)}function yy(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 my(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?yy(Object(r),!0).forEach(function(n){lA(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):yy(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function lA(e,t,r){return t=fA(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fA(e){var t=hA(e,"string");return gn(t)=="symbol"?t:t+""}function hA(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)}function pA(e,t){if(e==null)return{};var r=dA(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 dA(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 M0={symbolCircle:Jf,symbolCross:R1,symbolDiamond:N1,symbolSquare:q1,symbolStar:z1,symbolTriangle:W1,symbolWye:H1},vA=Math.PI/180,yA=function(t){var r="symbol".concat(ja(t));return M0[r]||Jf},mA=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*vA;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}},gA=function(t,r){M0["symbol".concat(ja(t))]=r},Qf=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=pA(t,sA),s=my(my({},c),{},{type:n,size:a,sizeType:u}
9),f=function(){var p=yA(n),b=G1().type(p).size(mA(a,u,n));return b()},l=s.className,h=s.cx,d=s.cy,y=Y(s,!0);return h===+h&&d===+d&&a===+a?S.createElement("path",Al({},y,{className:Q("recharts-symbols",l),transform:"translate(".concat(h,", ").concat(d,")"),d:f()})):null};Qf.registerSymbol=gA;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 Sl(){return Sl=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},Sl.apply(this,arguments)}function gy(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 bA(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?gy(Object(r),!0).forEach(function(n){bn(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):gy(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function xA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wA(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 OA(e,t,r){return t&&wA(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function _A(e,t,r){return t=ji(t),AA(e,$0()?Reflect.construct(t,r||[],ji(e).constructor):t.apply(e,r))}function AA(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 SA(e)}function SA(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 ji(e){return ji=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ji(e)}function PA(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&&Pl(e,t)}function Pl(e,t){return Pl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Pl(e,t)}function bn(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=TA(e,"string");return wr(t)=="symbol"?t:t+""}function TA(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 Ue=32,eh=(function(e){function t(){return xA(this,t),_A(this,t,arguments)}return PA(t,e),OA(t,[{key:"renderIcon",value:function(n){var i=this.props.inactiveColor,a=Ue/2,o=Ue/6,u=Ue/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:Ue,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,`
10            A`).concat(o,",").concat(o,",0,1,1,").concat(2*u,",").concat(a,`
11            H`).concat(Ue,"M").concat(2*u,",").concat(a,`
12            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(Ue/8,"h").concat(Ue,"v").concat(Ue*3/4,"h").concat(-Ue,"z"),className:"recharts-legend-icon"});if(S.isValidElement(n.legendIcon)){var s=bA({},n);return delete s.legendIcon,S.cloneElement(n.legendIcon,s)}return S.createElement(Qf,{fill:c,cx:a,cy:a,size:Ue,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:Ue,height:Ue},l={display:u==="horizontal"?"inline-block":"block",marginRight:10},h={display:"inline-block",verticalAlign:"middle",marginRight:4};return a.map(function(d,y){var v=d.formatter||c,p=Q(bn(bn({"recharts-legend-item":!0},"legend-item-".concat(y),!0),"inactive",d.inactive));if(d.type==="none")return null;var b=V(d.value)?null:d.value;yt(!V(d.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=d.inactive?s:d.color;return S.createElement("li",Sl({className:p,style:l,key:"legend-item-".concat(y)},_i(n.props,d,y)),S.createElement(gl,{width:o,height:o,viewBox:f,style:h},n.renderIcon(d)),S.createElement("span",{className:"recharts-legend-item-text",style:{color:x}},v?v(b,d,y):b))})}},{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())}}])})(N.PureComponent);bn(eh,"displayName","Legend");bn(eh,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});function I0(e,t,r){return t===!0?Tv(e,r):V(t)?Tv(e,t):e}function Or(e){"@babel/helpers - typeof";return Or=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},Or(e)}var EA=["ref"];function by(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 lt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};
12t%2?by(Object(r),!0).forEach(function(n){Ia(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):by(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function jA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xy(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,R0(n.key),n)}}function MA(e,t,r){return t&&xy(e.prototype,t),r&&xy(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function $A(e,t,r){return t=Mi(t),CA(e,D0()?Reflect.construct(t,r||[],Mi(e).constructor):t.apply(e,r))}function CA(e,t){if(t&&(Or(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return IA(e)}function IA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(D0=function(){return!!e})()}function Mi(e){return Mi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Mi(e)}function DA(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&&Tl(e,t)}function Tl(e,t){return Tl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Tl(e,t)}function Ia(e,t,r){return t=R0(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function R0(e){var t=RA(e,"string");return Or(t)=="symbol"?t:t+""}function RA(e,t){if(Or(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Or(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function kA(e,t){if(e==null)return{};var r=NA(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 NA(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 qA(e){return e.value}function LA(e,t){if(S.isValidElement(e))return S.cloneElement(e,t);if(typeof e=="function")return S.createElement(e,t);t.ref;var r=kA(t,EA);return S.createElement(eh,r)}var wy=1,vr=(function(e){function t(){var r;jA(this,t);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return r=$A(this,t,[].concat(i)),Ia(r,"lastBoundingBox",{width:-1,height:-1}),r}return DA(t,e),MA(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)>wy||Math.abs(i.height-this.lastBoundingBox.height)>wy)&&(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?lt({},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 d=this.getBBoxSnapsh
12ot();l={left:((s||0)-d.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 lt(lt({},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=lt(lt({position:"absolute",width:o||"auto",height:u||"auto"},this.getDefaultPosition(c)),c);return S.createElement("div",{className:"recharts-legend-wrapper",style:l,ref:function(d){n.wrapperNode=d}},LA(a,lt(lt({},this.props),{},{payload:I0(f,s,qA)})))}}],[{key:"getWithHeight",value:function(n,i){var a=lt(lt({},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}}])})(N.PureComponent);Ia(vr,"displayName","Legend");Ia(vr,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var xs,Oy;function k0(){if(Oy)return xs;Oy=1;var e=Kf(),t=Ur();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 xs=r,xs}var ws,_y;function BA(){if(_y)return ws;_y=1;function e(t,r){var n=t.length;for(t.sort(r);n--;)t[n]=t[n].value;return t}return ws=e,ws}var Os,Ay;function FA(){if(Ay)return Os;Ay=1;var e=Hr();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 Os=t,Os}var _s,Sy;function zA(){if(Sy)return _s;Sy=1;var e=FA();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 _s=t,_s}var As,Py;function WA(){if(Py)return As;Py=1;var e=Uf(),t=Hf(),r=Ct(),n=k0(),i=BA(),a=zb(),o=zA(),u=Wr(),c=ke();function s(f,l,h){l.length?l=e(l,function(v){return c(v)?function(p){return t(p,v.length===1?v[0]:v)}:v}):l=[u];var d=-1;l=e(l,a(r));var y=n(f,function(v,p,b){var x=e(l,function(w){return w(v)});return{criteria:x,index:++d,value:v}});return i(y,function(v,p){return o(v,p,h)})}return As=s,As}var Ss,Ty;function UA(){if(Ty)return Ss;Ty=1;var e=Gf(),t=WA(),r=sO(),n=Oa(),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 Ss=i,Ss}var HA=UA();const th=le(HA);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 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 GA(e,t){return YA(e)||XA(e,t)||VA(e,t)||KA()}function KA(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
13In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function VA(e,t){if(e){if(typeof e=="string")return Ey(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 Ey(e,t)}}function Ey(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 XA(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 YA(e){if(Array.isArray(e))return e}function jy(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 Ps(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};
13t%2?jy(Object(r),!0).forEach(function(n){ZA(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jy(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function ZA(e,t,r){return t=JA(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function JA(e){var t=QA(e,"string");return xn(t)=="symbol"?t:t+""}function QA(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 eS(e){return Array.isArray(e)&&we(e[0])&&we(e[1])?e.join(" ~ "):e}var tS=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,d=t.wrapperClassName,y=t.labelClassName,v=t.label,p=t.labelFormatter,b=t.accessibilityLayer,x=b===void 0?!1:b,w=function(){if(f&&f.length){var T={padding:0,margin:0},j=(h?th(f,h):f).map(function(C,$){if(C.type==="none")return null;var D=Ps({display:"block",paddingTop:4,paddingBottom:4,color:C.color||"#000"},u),R=C.formatter||l||eS,L=C.value,B=C.name,U=L,G=B;if(R&&U!=null&&G!=null){var z=R(L,B,C,$,f);if(Array.isArray(z)){var K=GA(z,2);U=K[0],G=K[1]}else U=z}return S.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat($),style:D},we(G)?S.createElement("span",{className:"recharts-tooltip-item-name"},G):null,we(G)?S.createElement("span",{className:"recharts-tooltip-item-separator"},n):null,S.createElement("span",{className:"recharts-tooltip-item-value"},U),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=Ps({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},a),m=Ps({margin:0},s),g=!J(v),_=g?v:"",A=Q("recharts-default-tooltip",d),P=Q("recharts-tooltip-label",y);g&&p&&f!==void 0&&f!==null&&(_=p(v,f));var M=x?{role:"status","aria-live":"assertive"}:{};return S.createElement("div",El({className:A,style:O},M),S.createElement("p",{className:P,style:m},S.isValidElement(_)?_:"".concat(_)),w())};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 si(e,t,r){return t=rS(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rS(e){var t=nS(e,"string");return wn(t)=="symbol"?t:t+""}function nS(e,t){if(wn(e)!="object"||!e)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 Qr="recharts-tooltip-wrapper",iS={visibility:"hidden"};function aS(e){var t=e.coordinate,r=e.translateX,n=e.translateY;return Q(Qr,si(si(si(si({},"".concat(Qr,"-right"),q(r)&&t&&q(t.x)&&r>=t.x),"".concat(Qr,"-left"),q(r)&&t&&q(t.x)&&r<t.x),"".concat(Qr,"-bottom"),q(n)&&t&&q(t.y)&&n>=t.y),"".concat(Qr,"-top"),q(n)&&t&&q(t.y)&&n<t.y))}function My(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,d=c[n];return h<d?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 oS(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 uS(e){var t=e.allowEscapeViewBox,r=e.coordinate,n=e.offsetTopLeft,i=e.position,a=e.reverseDirection,o=e.tooltipBox,u=e.useTranslate3d,
13c=e.viewBox,s,f,l;return o.height>0&&o.width>0&&r?(f=My({allowEscapeViewBox:t,coordinate:r,key:"x",offsetTopLeft:n,position:i,reverseDirection:a,tooltipDimension:o.width,viewBox:c,viewBoxDimension:c.width}),l=My({allowEscapeViewBox:t,coordinate:r,key:"y",offsetTopLeft:n,position:i,reverseDirection:a,tooltipDimension:o.height,viewBox:c,viewBoxDimension:c.height}),s=oS({translateX:f,translateY:l,useTranslate3d:u})):s=iS,{cssProperties:s,cssClasses:aS({translateX:f,translateY:l,coordinate:r})}}function _r(e){"@babel/helpers - typeof";return _r=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},_r(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 Cy(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){Ml(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 cS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sS(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,q0(n.key),n)}}function lS(e,t,r){return t&&sS(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function fS(e,t,r){return t=$i(t),hS(e,N0()?Reflect.construct(t,r||[],$i(e).constructor):t.apply(e,r))}function hS(e,t){if(t&&(_r(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return pS(e)}function pS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(N0=function(){return!!e})()}function $i(e){return $i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},$i(e)}function dS(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 Ml(e,t,r){return t=q0(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function q0(e){var t=vS(e,"string");return _r(t)=="symbol"?t:t+""}function vS(e,t){if(_r(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(_r(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Iy=1,yS=(function(e){function t(){var r;cS(this,t);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return r=fS(this,t,[].concat(i)),Ml(r,"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),Ml(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 dS(t,e),lS(t,[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var n=this.wrapperNode.getBoundingClientRect();(Math.abs(n.width-this.state.lastBoundingBox.width)>Iy||Math.abs(n.height-this.state.lastBoundingBox.height)>Iy)&&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,d=i.offset,y=i.position,v=i.reverseDirection,p=i.useTranslate3d,b=i.viewBox,x=i.wrapperStyle,w=uS({allowEscapeViewBox:o,coordinate:f,offsetTopLeft:d,position:y,reverseDirection:v,tooltipBox:this.state.lastBoundingBox,useTranslate3d:p,viewBox:b}
13),O=w.cssClasses,m=w.cssProperties,g=Cy(Cy({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:g,ref:function(A){n.wrapperNode=A}},s)}}])})(N.PureComponent),mS=function(){return!(typeof window<"u"&&window.document&&window.document.createElement&&window.setTimeout)},tr={isSsr:mS()};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 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 Ry(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){rh(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 gS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bS(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,B0(n.key),n)}}function xS(e,t,r){return t&&bS(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function wS(e,t,r){return t=Ci(t),OS(e,L0()?Reflect.construct(t,r||[],Ci(e).constructor):t.apply(e,r))}function OS(e,t){if(t&&(Ar(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _S(e)}function _S(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(L0=function(){return!!e})()}function Ci(e){return Ci=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ci(e)}function AS(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&&$l(e,t)}function $l(e,t){return $l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},$l(e,t)}function rh(e,t,r){return t=B0(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function B0(e){var t=SS(e,"string");return Ar(t)=="symbol"?t:t+""}function SS(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 String(e)}function PS(e){return e.dataKey}function TS(e,t){return S.isValidElement(e)?S.cloneElement(e,t):typeof e=="function"?S.createElement(e,t):S.createElement(tS,t)}var ft=(function(e){function t(){return gS(this,t),wS(this,t,arguments)}return AS(t,e),xS(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,d=i.offset,y=i.payload,v=i.payloadUniqBy,p=i.position,b=i.reverseDirection,x=i.useTranslate3d,w=i.viewBox,O=i.wrapperStyle,m=y??[];l&&m.length&&(m=I0(y.filter(function(_){return _.value!=null&&(_.hide!==!0||n.props.includeHidden)}),v,PS));var g=m.length>0;return S.createElement(yS,{allowEscapeViewBox:o,animationDuration:u,animationEasing:c,isAnimationActive:h,active:a,coordinate:f,hasPayload:g,offset:d,position:p,reverseDirection:b,useTranslate3d:x,viewB
13ox:w,wrapperStyle:O},TS(s,Ry(Ry({},this.props),{},{payload:m})))}}])})(N.PureComponent);rh(ft,"displayName","Tooltip");rh(ft,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!tr.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 Ts,ky;function ES(){if(ky)return Ts;ky=1;var e=N_(),t=st(),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 Ts=n,Ts}var jS=ES();const F0=le(jS);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)}function Ny(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 li(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ny(Object(r),!0).forEach(function(n){MS(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ny(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function MS(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=CS(e,"string");return On(t)=="symbol"?t:t+""}function CS(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 IS(e,t){return NS(e)||kS(e,t)||RS(e,t)||DS()}function DS(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
14In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function RS(e,t){if(e){if(typeof e=="string")return qy(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 qy(e,t)}}function qy(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 kS(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 l2=N.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,d=e.children,y=e.debounce,v=y===void 0?0:y,p=e.id,b=e.className,x=e.onResize,w=e.style,O=w===void 0?{}:w,m=N.useRef(null),g=N.useRef();g.current=x,N.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 _=N.useState({containerWidth:i.width,containerHeight:i.height}),A=IS(_,2),P=A[0],M=A[1],E=N.useCallback(function(j,C){M(function($){var D=Math.round(j),R=Math.round(C);return $.containerWidth===D&&$.containerHeight===R?$:{containerWidth:D,containerHeight:R}})},[]);N.useEffect(function(){var j=function(B){var U,G=B[0].contentRect,z=G.width,K=G.height;E(z,K),(U=g.current)===null||U===void 0||U.call(g,z,K)};v>0&&(j=F0(j,v,{trailing:!0,leading:!1}));var C=new ResizeObserver(j),$=m.current.getBoundingClientRect(),D=$.width,R=$.height;return E(D,R),C.observe(m.current),function(){C.disconnect()}},[E,v]);var T=N.useMemo(function(){var j=P.containerWidth,C=P.containerHeight;if(j<0||C<0)return null;yt(zt(o)||zt(c),`The width(%s) and height(%s) are both fixed numbers,
15       maybe you don't need to use a ResponsiveContainer.`,o,c),yt(!r||r>0,"The aspect(%s) must be greater than zero.",r);var $=zt(o)?j:o,D=zt(c)?C:c;r&&r>0&&($?D=$/r:D&&($=D*r),h&&D>h&&(D=h)),yt($>0||D>0,`The width(%s) and height(%s) of chart should be greater than 0,
16       please check the style of container, or the props width(%s) and height(%s),
17       or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the
18       height and width.`,$,D,o,c,f,l,r);var R=!Array.isArray(d)&&vt(d.type).endsWith("Chart");return S.Children.map(d,function(L){return S.isValidElement(L)?N.cloneElement(L,li({width:$,height:D},R?{style:li({height:"100%",width:"100%",maxHeight:D,maxWidth:$},L.props.style)}:{})):L})},[r,d,c,h,l,f,P,o]);return S.createElement("div",{id:p?"".concat(p):void 0,className:Q("recharts-responsive-container",b),style:li(li({},O),{},{width:o,height:c,minWidth:f,minHeight:l,maxHeight:h}),ref:m},T)}),z0=function(t){return null};z0.displayName="Cell";function _n(e){"@babel/helpers - typeof";return _n=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},_n(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 Cl(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};
18t%2?Ly(Object(r),!0).forEach(function(n){qS(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 qS(e,t,r){return t=LS(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function LS(e){var t=BS(e,"string");return _n(t)=="symbol"?t:t+""}function BS(e,t){if(_n(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(_n(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var ur={widthCache:{},cacheCount:0},FS=2e3,zS={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},By="recharts_measurement_span";function WS(e){var t=Cl({},e);return Object.keys(t).forEach(function(r){t[r]||delete t[r]}),t}var pn=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t==null||tr.isSsr)return{width:0,height:0};var n=WS(r),i=JSON.stringify({text:t,copyStyle:n});if(ur.widthCache[i])return ur.widthCache[i];try{var a=document.getElementById(By);a||(a=document.createElement("span"),a.setAttribute("id",By),a.setAttribute("aria-hidden","true"),document.body.appendChild(a));var o=Cl(Cl({},zS),n);Object.assign(a.style,o),a.textContent="".concat(t);var u=a.getBoundingClientRect(),c={width:u.width,height:u.height};return ur.widthCache[i]=c,++ur.cacheCount>FS&&(ur.cacheCount=0,ur.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 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 Ii(e,t){return VS(e)||KS(e,t)||GS(e,t)||HS()}function HS(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
19In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function GS(e,t){if(e){if(typeof e=="string")return Fy(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 Fy(e,t)}}function Fy(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 KS(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 VS(e){if(Array.isArray(e))return e}function XS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zy(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,ZS(n.key),n)}}function YS(e,t,r){return t&&zy(e.prototype,t),r&&zy(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function ZS(e){var t=JS(e,"string");return An(t)=="symbol"?t:t+""}function JS(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 String(e)}var Wy=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,Uy=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,QS=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,eP=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,W0={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},tP=Object.keys(W0),fr="NaN";function rP(e,t){return e*W0[t]}var fi=(function(){function e(t,r){XS(this,e),this.num=t,this.unit=r,this.num=t,this.unit=r,Number.isNaN(t)&&(this.unit=""),r!==""&&!QS.test(r)&&(this.num=NaN,this.unit=""),tP.includes(r)&&(this.num=rP(t,r),this.unit="px")}return YS(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=eP.exec(r))!==null&&n!==void 0?n:[],a=Ii(i,3),o=a[1],u=a[2];return new e(parseFloat(o),u??"")}}])})();function U0(e){if(e.includes(fr))return fr;for(var t=e;t.includes("*")||t.includes("/");){var r,n=(r=Wy.exec(t))!==null&&r!==void 0?r:[],i=Ii(n,4),a=i[1],o=i[2],u=i[3],c=fi.parse(a??""),s=fi.parse(u??""),f=o==="*"?c.multiply(s):c.divide(s);if(f.isNaN())return fr;t=t.replace(Wy,f.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var l,h=(l=Uy.exec(t))!==null&&l!==void 0?l:[],d=Ii(h,4),y=d[1],v=d[2],p=d[3],b=fi.parse(y??""),x=fi.parse(p??""),w=v==="+"?b.add(x):b.subtract(x);if(w.isNaN())return fr;t=t.replace(Uy,w.toString())}return t}var Hy=/\(([^()]*)\)/;function nP(e){for(var t=e;t.includes("(");){var r=Hy.exec(t),n=Ii(r,2),i=n[1];t=t.replace(Hy,U0(i))}return t}function iP(e){var t=e.replace(/\s+/g,"");return t=nP(t),t=U0(t),t}function aP(e){try{return iP(e)}catch{return fr}}function Es(e){var t=aP(e.slice(5,-1));return t===fr?"":t}var oP=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],uP=["dx","dy","angle","className","breakAll"];function Il(){return Il=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
19for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Il.apply(this,arguments)}function Gy(e,t){if(e==null)return{};var r=cP(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 cP(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 Ky(e,t){return hP(e)||fP(e,t)||lP(e,t)||sP()}function sP(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
20In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function lP(e,t){if(e){if(typeof e=="string")return Vy(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 Vy(e,t)}}function Vy(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 fP(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 hP(e){if(Array.isArray(e))return e}var H0=/[ \f\n\r\t\v\u2028\u2029]+/,G0=function(t){var r=t.children,n=t.breakAll,i=t.style;try{var a=[];J(r)||(n?a=r.toString().split(""):a=r.toString().split(H0));var o=a.map(function(c){return{word:c,width:pn(c,i).width}}),u=n?0:pn(" ",i).width;return{wordsWithComputedWidth:o,spaceWidth:u}}catch{return null}},pP=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(D,R){var L=R.word,B=R.width,U=D[D.length-1];if(U&&(i==null||a||U.width+B+n<Number(i)))U.words.push(L),U.width+=B+n;else{var G={words:[L],width:B};D.push(G)}return D},[])},d=h(r),y=function($){return $.reduce(function(D,R){return D.width>R.width?D:R})};if(!f)return d;for(var v="…",p=function($){var D=l.slice(0,$),R=G0({breakAll:s,style:c,children:D+v}).wordsWithComputedWidth,L=h(R),B=L.length>o||y(L).width>Number(i);return[B,L]},b=0,x=l.length-1,w=0,O;b<=x&&w<=l.length-1;){var m=Math.floor((b+x)/2),g=m-1,_=p(g),A=Ky(_,2),P=A[0],M=A[1],E=p(m),T=Ky(E,1),j=T[0];if(!P&&!j&&(b=m+1),P&&j&&(x=m-1),!P&&j){O=M;break}w++}return O||d},Xy=function(t){var r=J(t)?[]:t.toString().split(H0);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)&&!tr.isSsr){var c,s,f=G0({breakAll:o,children:i,style:a});if(f){var l=f.wordsWithComputedWidth,h=f.spaceWidth;c=l,s=h}else return Xy(i);return pP({breakAll:o,children:i,maxLines:u,style:a},c,s,r,n)}return Xy(i)},Yy="#808080",Di=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,d=h===void 0?"start":h,y=t.verticalAnchor,v=y===void 0?"end":y,p=t.fill,b=p===void 0?Yy:p,x=Gy(t,oP),w=N.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,g=x.angle,_=x.className,A=x.breakAll,P=Gy(x,uP);if(!we(n)||!we(a))return null;var M=n+(q(O)?O:0),E=a+(q(m)?m:0),T;switch(v){case"start":T=Es("calc(".concat(s,")"));break;case"middle":T=Es("calc(".concat((w.length-1)/2," * -").concat(u," + (").concat(s," / 2))"));break;default:T=Es("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 g&&j.push("rotate(".concat(g,", ").concat(M,", ").concat(E,")")),j.length&&(P.transform=j.join(" ")),S.createElement("text",Il({},Y(P,!0),{x:M,y:E,className:Q("recharts-text",_),textAnchor:d,fill:b.includes("url")?Yy:b}),w.map(function(D,R){var L=D.words.join(A?"":" ");
20return S.createElement("tspan",{x:M,dy:R===0?T:u,key:"".concat(L,"-").concat(R)},L)}))};function $t(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function vP(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function nh(e){let t,r,n;e.length!==2?(t=$t,r=(u,c)=>$t(e(u),c),n=(u,c)=>e(u)-c):(t=e===$t||e===vP?e:yP,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 yP(){return 0}function K0(e){return e===null?NaN:+e}function*mP(e,t){for(let r of e)r!=null&&(r=+r)>=r&&(yield r)}const gP=nh($t),ei=gP.right;nh(K0).center;class Zy extends Map{constructor(t,r=wP){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(Jy(this,t))}has(t){return super.has(Jy(this,t))}set(t,r){return super.set(bP(this,t),r)}delete(t){return super.delete(xP(this,t))}}function Jy({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):r}function bP({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):(e.set(n,r),r)}function xP({_intern:e,_key:t},r){const n=t(r);return e.has(n)&&(r=e.get(n),e.delete(n)),r}function wP(e){return e!==null&&typeof e=="object"?e.valueOf():e}function OP(e=$t){if(e===$t)return V0;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 V0(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:e>t?1:0)}const _P=Math.sqrt(50),AP=Math.sqrt(10),SP=Math.sqrt(2);function Ri(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>=_P?10:a>=AP?5:a>=SP?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?Ri(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?Ri(t,e,r):Ri(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 Rl(e,t,r){return t=+t,e=+e,r=+r,Ri(e,t,r)[2]}function kl(e,t,r){t=+t,e=+e,r=+r;const n=t<e,i=n?Rl(t,e,r):Rl(e,t,r);return(n?-1:1)*(i<0?1/-i:i)}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 em(e,t){let r;for(const n of e)n!=null&&(r>n||r===void 0&&n>=n)&&(r=n);return r}function X0(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?V0:OP(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),d=Math.max(r,Math.floor(t-s*l/c+h)),y=Math.min(n,Math.floor(t+(c-s)*l/c+h));X0(e,t,d,y,i)}const a=e[t];let o=r,u=n;for(en(e,r,t),i(e[n],a)>0&&en(e,r,n);o<u;){for(en(e,o,u),++o,--u;i(e[o],a)<0;)++o;for(;i(e[u],a)>0;)--u}i(e[r],a)===0?en(e,r,u):(++u,en(e,u,n)),u<=t&&(r=u+1),t<=u&&(n=u-1)}return e}function en(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function PP(e,t,r){if(e=Float64Array.from(mP(e)),!(!(n=e.length)||isNaN(t=+t))){if(t<=0||n<2)return em(e);if(t>=1)return Qy(e);var n,i=(n-1)*t,a=Math.floor(i),o=Qy(X0(e,a).subarray(0,a+1)),u=em(e.subarray(a+1));return o+(u-o)*(i-a)}}function TP(e,t,r=K0){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 EP(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 Xe(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function At(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: 20,383 bytes, line 20
20const Nl=Symbol("implicit");function ih(){var e=new Zy,t=[],r=[],n=Nl;function i(a){let o=e.get(a);if(o===void 0){if(n!==Nl)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 Zy;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 ih(t,r).unknown(n)},Xe.apply(i,arguments),i}function Sn(){var e=ih().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,d=i<n,y=d?i:n,v=d?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 p=EP(h).map(function(b){return y+a*b});return r(d?p.reverse():p)}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 Sn(t(),[n,i]).round(u).paddingInner(c).paddingOuter(s).align(f)},Xe.apply(l(),arguments)}function Y0(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return Y0(t())},e}function dn(){return Y0(Sn.apply(null,arguments).paddingInner(1))}function ah(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function Z0(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function ti(){}var Pn=.7,ki=1/Pn,yr="\\s*([+-]?\\d+)\\s*",Tn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",at="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",jP=/^#([0-9a-f]{3,8})$/,MP=new RegExp(`^rgb\\(${yr},${yr},${yr}\\)$`),$P=new RegExp(`^rgb\\(${at},${at},${at}\\)$`),CP=new RegExp(`^rgba\\(${yr},${yr},${yr},${Tn}\\)$`),IP=new RegExp(`^rgba\\(${at},${at},${at},${Tn}\\)$`),DP=new RegExp(`^hsl\\(${Tn},${at},${at}\\)$`),RP=new RegExp(`^hsla\\(${Tn},${at},${at},${Tn}\\)$`),tm={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};ah(ti,En,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:rm,formatHex:rm,formatHex8:kP,formatHsl:NP,formatRgb:nm,toString:nm});function rm(){return this.rgb().formatHex()}function kP(){return this.rgb().formatHex8()}function NP(){return J0(this).formatHsl()}function nm(){return this.rgb().formatRgb()}function En(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=jP.exec(e))?(r=t[1].length,t=parseInt(t[1],16),r===6?im(t):r===3?new Re(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):r===8?hi(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):r===4?hi(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=MP.exec(e))?new Re(t[1],t[2],t[3],1):(t=$P.exec(e))?new Re(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=CP.exec(e))?hi(t[1],t[2],t[3],t[4]):(t=IP.exec(e))?hi(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=DP.exec(e))?um(t[1],t[2]/100,t[3]/100,1):(t=RP.exec(e))?um(t[1],t[2]/100,t[3]/100,t[4]):tm.hasOwnProperty(e)?im(tm[e]):e==="transparent"?new Re(NaN,NaN,NaN,0):null}function im(e){return new Re(e>>16&255,e>>8&255,e&255,1)}function hi(e,t,r,n){return n<=0&&(e=t=r=NaN),new Re(e,t,r,n)}function qP(e){return e instanceof ti||(e=En(e)),e?(e=e.rgb(),new Re(e.r,e.g,e.b,e.opacity)):new Re}function ql(e,t,r,n){return arguments.length===1?qP(e):new Re(e,t,r,n??1)}function Re(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}ah(Re,ql,Z0(ti,{brighter(e){return e=e==null?ki:Math.pow(ki,e),new Re(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?Pn:Math.pow(Pn,e),new Re(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Re(Kt(this.r),Kt(this.g),Kt(this.b),Ni(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:am,formatHex:am,formatHex8:LP,formatRgb:om,toString:om}));function am(){return`#${Wt(this.r)}${Wt(this.g)}${Wt(this.b)}`}function LP(){return`#${Wt(this.r)}${Wt(this.g)}${Wt(this.b)}${Wt((isNaN(this.opacity)?1:this.opacity)*255)}`}function om(){const e=Ni(this.opacity);return`${e===1?"rgb(":"rgba("}${Kt(this.r)}, ${Kt(this.g)}, ${Kt(this.b)}${e===1?")":`, ${e})`}`}function Ni(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Kt(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Wt(e){return e=Kt(e),(e<16?"0":"")+e.toString(16)}function um(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new Qe(e,t,r,n)}function J0(e){if(e instanceof Qe)return new Qe(e.h,e.s,e.l,e.opacity);if(e instanceof ti||(e=En(e)),!e)return new Qe;if(e instanceof Qe)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 Qe(o,u,c,e.opacity)}function BP(e,t,r,n){return arguments.length===1?J0(e):new Qe(e,t,r,n??1)}function Qe(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}ah(Qe,BP,Z0(ti,{brighter(e){return e=e==null?ki:Math.pow(ki,e),new Qe(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Pn:Math.pow(Pn,e),new Qe(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 Re(js(e>=240?e-240:e+120,i,n),js(e,i,n),js(e<120?e+240:e-120,i,n),this.opacity)},clamp(){return new Qe(cm(this.h),pi(this.s),pi(this.l),Ni(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=Ni(this.opacity);return`${e===1?"hsl(":"hsla("}${cm(this.h)}, ${pi(this.s)*100}%, ${pi(this.l)*100}%${e===1?")":`, ${e})`}`}}));function cm(e){return e=(e||0)%360,e<0?e+360:e}function pi(e){return Math.max(0,Math.min(1,e||0))}function js(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 oh=e=>()=>e;function FP(e,t){return function(r){return e+r*t}}function zP(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 WP(e){return(e=+e)==1?Q0:function(t,r){return r-t?zP(t,r,e):oh(isNaN(t)?r:t)}}function Q0(e,t){var r=t-e;return r?FP(e,r):oh(isNaN(e)?t:e)}const sm=(function e(t){var r=WP(t);function n(i,a){var o=r((i=ql(i)).r,(a=ql(a)).r),u=r(i.g,a.g),c=r(i.b,a.b),s=Q0(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 HP(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function GP(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;++o)i[o]=Xr(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 KP(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}function qi(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}function VP(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]=Xr(e[i],t[i]):n[i]=t[i];return function(a){for(i in r)n[i]=r[i](a);return n}}var Ll=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Ms=new RegExp(Ll.source,"g");function XP(e){return function(){return e}}function YP(e){return function(t){return e(t)+""}}function ZP(e,t){var r=Ll.lastIndex=Ms.lastIndex=0,n,i,a,o=-1,u=[],c=[];for(e=e+"",t=t+"";(n=Ll.exec(e))&&(i=Ms.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:qi(n,i)})),r=Ms.lastIndex;return r<t.length&&(a=t.slice(r),u[o]?u[o]+=a:u[++o]=a),u.length<2?c[0]?YP(c[0].x):XP(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 Xr(e,t){var r=typeof t,n;return t==null||r==="boolean"?oh(t):(r==="number"?qi:r==="string"?(n=En(t))?(t=n,sm):ZP:t instanceof En?sm:t instanceof Date?KP:HP(t)?UP:Array.isArray(t)?GP:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?VP:qi)(e,t)}function uh(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}function JP(e,t){t===void 0&&(t=e,e=Xr);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 QP(e){return function(){return e}}function Li(e){return+e}var lm=[0,1];function $e(e){return e}function Bl(e,t){return(t-=e=+e)?function(r){return(r-e)/t}:QP(isNaN(t)?NaN:.5)}function eT(e,t){var r;return e>t&&(r=e,e=t,t=r),function(n){return Math.max(e,Math.min(t,n))}}function tT(e,t,r){var n=e[0],i=e[1],a=t[0],o=t[1];return i<n?(n=Bl(i,n),a=r(o,a)):(n=Bl(n,i),a=r(a,o)),function(u){return a(n(u))}}function rT(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]=Bl(e[o],e[o+1]),a[o]=r(t[o],t[o+1]);return function(u){var c=ei(e,u,1,n)-1;return a[c](i[c](u))}}function ri(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Da(){var e=lm,t=lm,r=Xr,n,i,a,o=$e,u,c,s;function f(){var h=Math.min(e.length,t.length);return o!==$e&&(o=eT(e[0],e[h-1])),u=h>2?rT:tT,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),qi)))(h)))},l.domain=function(h){return arguments.length?(e=Array.from(h,Li),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=uh,f()},l.clamp=function(h){return arguments.length?(o=h?!0:$e,f()):o!==$e},l.interpolate=function(h){return arguments.length?(r=h,f()):r},l.unknown=function(h){return arguments.length?(a=h,l):a},function(h,d){return n=h,i=d,f()}}function ch(){return Da()($e,$e)}function nT(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function Bi(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 Sr(e){return e=Bi(Math.abs(e)),e?e[1]:NaN}function iT(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 aT(e){return function(t){return t.replace(/[0-9]/g,function(r){return e[+r]})}}var oT=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function jn(e){if(!(t=oT.exec(e)))throw new Error("invalid format: "+e);var t;return new sh({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]})}jn.prototype=sh.prototype;function sh(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+""}sh.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 uT(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 Fi;function cT(e,t){var r=Bi(e,t);if(!r)return Fi=void 0,e.toPrecision(t);var n=r[0],i=r[1],a=i-(Fi=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")+Bi(e,Math.max(0,t+a-1))[0]}function fm(e,t){var r=Bi(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 hm={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:nT,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)=>fm(e*100,t),r:fm,s:cT,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function pm(e){return e}var dm=Array.prototype.map,vm=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function sT(e){var t=e.grouping===void 0||e.thousands===void 0?pm:iT(dm.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?pm:aT(dm.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=jn(l);var d=l.fill,y=l.align,v=l.sign,p=l.symbol,b=l.zero,x=l.width,w=l.comma,O=l.precision,m=l.trim,g=l.type;g==="n"?(w=!0,g="g"):hm[g]||(O===void 0&&(O=12),m=!0,g="g"),(b||d==="0"&&y==="=")&&(b=!0,d="0",y="=");var _=(h&&h.prefix!==void 0?h.prefix:"")+(p==="$"?r:p==="#"&&/[boxX]/.test(g)?"0"+g.toLowerCase():""),A=(p==="$"?n:/[%p]/.test(g)?o:"")+(h&&h.suffix!==void 0?h.suffix:""),P=hm[g],M=/[defgprs%]/.test(g);O=O===void 0?6:/[gprs]/.test(g)?Math.max(1,Math.min(21,O)):Math.max(0,Math.min(20,O));function E(T){var j=_,C=A,$,D,R;if(g==="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=uT(T)),L&&+T==0&&v!=="+"&&(L=!1),j=(L?v==="("?v:u:v==="-"||v==="("?"":v)+j,C=(g==="s"&&!isNaN(T)&&Fi!==void 0?vm[8+Fi/3]:"")+C+(L&&v==="("?")":""),M){for($=-1,D=T.length;++$<D;)if(R=T.charCodeAt($),48>R||R>57){C=(R===46?i+T.slice($+1):T.slice($))+C,T=T.slice(0,$);break}}}w&&!b&&(T=t(T,1/0));var B=j.length+T.length+C.length,U=B<x?new Array(x-B+1).join(d):"";switch(w&&b&&(T=t(U+T,U.length?x-C.length:1/0),U=""),y){case"<":T=j+T+C+U;break;case"=":T=j+U+T+C;break;case"^":T=U.slice(0,B=U.length>>1)+j+T+C+U.slice(B);break;default:T=U+j+T+C;break}return a(T)}return E.toString=function(){return l+""},E}function f(l,h){var d=Math.max(-8,Math.min(8,Math.floor(Sr(h)/3)))*3,y=Math.pow(10,-d),v=s((l=jn(l),l.type="f",l),{suffix:vm[8+d/3]});return function(p){return v(y*p)}}return{format:s,formatPrefix:f}}var di,lh,ex;lT({thousands:",",grouping:[3],currency:["$",""]});function lT(e){return di=sT(e),lh=di.format,ex=di.formatPrefix,di}function fT(e){return Math.max(0,-Sr(Math.abs(e)))}function hT(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Sr(t)/3)))*3-Sr(Math.abs(e)))}function pT(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Sr(t)-Sr(e))+1}function tx(e,t,r,n){var i=kl(e,t,r),a;switch(n=jn(n??",f"),n.type){case"s":{var o=Math.max(Math.abs(e),Math.abs(t));return n.precision==null&&!isNaN(a=hT(i,o))&&(n.precision=a),ex(n,o)}case"":case"e":case"g":case"p":case"r":{n.precision==null&&!isNaN(a=pT(i,Math.max(Math.abs(e),Math.abs(t))))&&(n.precision=a-(n.type==="e"));break}case"f":case"%":{n.precision==null&&!isNaN(a=fT(i))&&(n.precision=a-(n.type==="%")*2);break}}return lh(n)}function It(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 tx(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=Rl(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 zi(){var e=ch();return e.copy=function(){return ri(e,zi())},Xe.apply(e,arguments),It(e)}function rx(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,Li),r):e.slice()},r.unknown=function(n){return arguments.length?(t=n,r):t},r.copy=function(){return rx(e).unknown(t)},e=arguments.length?Array.from(e,Li):[0,1],It(r)}function nx(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 ym(e){return Math.log(e)}function mm(e){return Math.exp(e)}function dT(e){return-Math.log(-e)}function vT(e){return-Math.exp(-e)}function yT(e){return isFinite(e)?+("1e"+e):e<0?0:e}function mT(e){return e===10?yT:e===Math.E?Math.exp:t=>Math.pow(e,t)}function gT(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 gm(e){return(t,r)=>-e(-t,r)}function fh(e){const t=e(ym,mm),r=t.domain;let n=10,i,a;function o(){return i=gT(n),a=mT(n),r()[0]<0?(i=gm(i),a=gm(a),e(dT,vT)):e(ym,mm),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),d=i(f),y,v;const p=u==null?10:+u;let b=[];
vendor: 4,518 bytes, line 20
20if(!(n%1)&&d-h<p){if(h=Math.floor(h),d=Math.ceil(d),s>0){for(;h<=d;++h)for(y=1;y<n;++y)if(v=h<0?y/a(-h):y*a(h),!(v<s)){if(v>f)break;b.push(v)}}else for(;h<=d;++h)for(y=n-1;y>=1;--y)if(v=h>0?y/a(-h):y*a(h),!(v<s)){if(v>f)break;b.push(v)}b.length*2<p&&(b=Dl(s,f,p))}else b=Dl(h,d,Math.min(d-h,p)).map(a);return l?b.reverse():b},t.tickFormat=(u,c)=>{if(u==null&&(u=10),c==null&&(c=n===10?"s":","),typeof c!="function"&&(!(n%1)&&(c=jn(c)).precision==null&&(c.trim=!0),c=lh(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(nx(r(),{floor:u=>a(Math.floor(i(u))),ceil:u=>a(Math.ceil(i(u)))})),t}function ix(){const e=fh(Da()).domain([1,10]);return e.copy=()=>ri(e,ix()).base(e.base()),Xe.apply(e,arguments),e}function bm(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function xm(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function hh(e){var t=1,r=e(bm(t),xm(t));return r.constant=function(n){return arguments.length?e(bm(t=+n),xm(t)):t},It(r)}function ax(){var e=hh(Da());return e.copy=function(){return ri(e,ax()).constant(e.constant())},Xe.apply(e,arguments)}function wm(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function bT(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function xT(e){return e<0?-e*e:e*e}function ph(e){var t=e($e,$e),r=1;function n(){return r===1?e($e,$e):r===.5?e(bT,xT):e(wm(r),wm(1/r))}return t.exponent=function(i){return arguments.length?(r=+i,n()):r},It(t)}function dh(){var e=ph(Da());return e.copy=function(){return ri(e,dh()).exponent(e.exponent())},Xe.apply(e,arguments),e}function wT(){return dh.apply(null,arguments).exponent(.5)}function Om(e){return Math.sign(e)*e*e}function OT(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function ox(){var e=ch(),t=[0,1],r=!1,n;function i(a){var o=OT(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,Li)).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 ox(e.domain(),t).round(r).clamp(e.clamp()).unknown(n)},Xe.apply(i,arguments),It(i)}function ux(){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]=TP(e,o/u);return a}function a(o){return o==null||isNaN(o=+o)?n:t[ei(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($t),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 ux().domain(e).range(t).unknown(n)},Xe.apply(a,arguments)}function cx(){var e=0,t=1,r=1,n=[.5],i=[0,1],a;function o(c){return c!=null&&c<=c?i[ei(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 cx().domain([e,t]).range(i).unknown(a)},Xe.apply(It(o),arguments)}function sx(){var e=[.5],t=[0,1],r,n=1;function i(a){return a!=null&&a<=a?t[ei(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 sx().domain(e).range(t).unknown(r)},Xe.apply(i,arguments)}const $s=new Date,Cs=new Date;function Oe(e,t,r,n){function i(a){return e(a=arguments.length===0?new Date:new Date(+a)),a}return i.floor=a=>
20(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=>Oe(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)=>($s.setTime(+a),Cs.setTime(+o),e($s),e(Cs),Math.floor(r($s,Cs))),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 Wi=Oe(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);Wi.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?Oe(t=>{t.setTime(Math.floor(t/e)*e)},(t,r)=>{t.setTime(+t+r*e)},(t,r)=>(r-t)/e):Wi);Wi.range;const ht=1e3,He=ht*60,pt=He*60,bt=pt*24,vh=bt*7,_m=bt*30,Is=bt*365,Ut=Oe(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*ht)},(e,t)=>(t-e)/ht,e=>e.getUTCSeconds());Ut.range;const yh=Oe(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*ht)},(e,t)=>{e.setTime(+e+t*He)},(e,t)=>(t-e)/He,e=>e.getMinutes());yh.range;const mh=Oe(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*He)},(e,t)=>(t-e)/He,e=>e.getUTCMinutes());mh.range;const gh=Oe(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*ht-e.getMinutes()*He)},(e,t)=>{e.setTime(+e+t*pt)},(e,t)=>(t-e)/pt,e=>e.getHours());gh.range;const bh=Oe(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*pt)},(e,t)=>(t-e)/pt,e=>e.getUTCHours());bh.range;const ni=Oe(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*He)/bt,e=>e.getDate()-1);ni.range;const Ra=Oe(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/bt,e=>e.getUTCDate()-1);Ra.range;const lx=Oe(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/bt,e=>Math.floor(e/bt));lx.range;function rr(e){return Oe(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())*He)/vh)}const ka=rr(0),Ui=rr(1),_T=rr(2),AT=rr(3),Pr=rr(4),ST=rr(5),PT=rr(6);ka.range;Ui.range;_T.range;AT.range;Pr.range;ST.range;PT.range;function nr(e){return Oe(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)/vh)}const Na=nr(0),Hi=nr(1),TT=nr(2),ET=nr(3),Tr=nr(4),jT=nr(5),MT=nr(6);Na.range;Hi.range;TT.range;ET.range;Tr.range;jT.range;MT.range;const xh=Oe(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());xh.range;const wh=Oe(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());wh.range;const xt=Oe(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:Oe(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=Oe(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:Oe(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 fx(e,t,r,n,i,a){const o=[[Ut,1,ht],[Ut,5,5*ht],[Ut,15,15*ht],[Ut,30,30*ht],[a,1,He],[a,5,5*He],[a,15,15*He],[a,30,30*He],[i,1,pt],[i,3,3*pt],[i,6,6*pt],[i,12,12*pt],[n,1,bt],[n,2,2*bt],[r,1,vh],[t,1,_m],[t,3,3*_m],[e,1,Is]];function u(s,f,l){const h=f<s;h&&([s,f]=[f,s]);const d=l&&typeof l.range=="function"?l:c(s,f,l),y=d?d.range(s,+f+1):[];return h?y.reverse():y}
vendor: 7,257 bytes, line 20
20function c(s,f,l){const h=Math.abs(f-s)/l,d=nh(([,,p])=>p).right(o,h);if(d===o.length)return e.every(kl(s/Is,f/Is,l));if(d===0)return Wi.every(Math.max(kl(s,f,l),1));const[y,v]=o[h/o[d-1][2]<o[d][2]/h?d-1:d];return y.every(v)}return[u,c]}const[$T,CT]=fx(wt,wh,Na,lx,bh,mh),[IT,DT]=fx(xt,xh,ka,ni,gh,yh);function Ds(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 Rs(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 tn(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}function RT(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=rn(i),f=nn(i),l=rn(a),h=nn(a),d=rn(o),y=nn(o),v=rn(u),p=nn(u),b=rn(c),x=nn(c),w={a:R,A:L,b:B,B:U,c:null,d:jm,e:jm,f:iE,g:dE,G:yE,H:tE,I:rE,j:nE,L:hx,m:aE,M:oE,p:G,q:z,Q:Cm,s:Im,S:uE,u:cE,U:sE,V:lE,w:fE,W:hE,x:null,X:null,y:pE,Y:vE,Z:mE,"%":$m},O={a:K,A:ce,b:de,B:Ne,c:null,d:Mm,e:Mm,f:wE,g:$E,G:IE,H:gE,I:bE,j:xE,L:dx,m:OE,M:_E,p:kt,q:Ie,Q:Cm,s:Im,S:AE,u:SE,U:PE,V:TE,w:EE,W:jE,x:null,X:null,y:ME,Y:CE,Z:DE,"%":$m},m={a:M,A:E,b:T,B:j,c:C,d:Tm,e:Tm,f:ZT,g:Pm,G:Sm,H:Em,I:Em,j:KT,L:YT,m:GT,M:VT,p:P,q:HT,Q:QT,s:eE,S:XT,u:BT,U:FT,V:zT,w:LT,W:WT,x:$,X:D,y:Pm,Y:Sm,Z:UT,"%":JT};w.x=g(r,w),w.X=g(n,w),w.c=g(t,w),O.x=g(r,O),O.X=g(n,O),O.c=g(t,O);function g(F,X){return function(Z){var k=[],he=-1,ee=0,me=F.length,ge,De,St;for(Z instanceof Date||(Z=new Date(+Z));++he<me;)F.charCodeAt(he)===37&&(k.push(F.slice(ee,he)),(De=Am[ge=F.charAt(++he)])!=null?ge=F.charAt(++he):De=ge==="e"?" ":"0",(St=X[ge])&&(ge=St(Z,De)),k.push(ge),ee=he+1);return k.push(F.slice(ee,he)),k.join("")}}function _(F,X){return function(Z){var k=tn(1900,void 0,1),he=A(k,F,Z+="",0),ee,me;if(he!=Z.length)return null;if("Q"in k)return new Date(k.Q);if("s"in k)return new Date(k.s*1e3+("L"in k?k.L:0));if(X&&!("Z"in k)&&(k.Z=0),"p"in k&&(k.H=k.H%12+k.p*12),k.m===void 0&&(k.m="q"in k?k.q:0),"V"in k){if(k.V<1||k.V>53)return null;"w"in k||(k.w=1),"Z"in k?(ee=Rs(tn(k.y,0,1)),me=ee.getUTCDay(),ee=me>4||me===0?Hi.ceil(ee):Hi(ee),ee=Ra.offset(ee,(k.V-1)*7),k.y=ee.getUTCFullYear(),k.m=ee.getUTCMonth(),k.d=ee.getUTCDate()+(k.w+6)%7):(ee=Ds(tn(k.y,0,1)),me=ee.getDay(),ee=me>4||me===0?Ui.ceil(ee):Ui(ee),ee=ni.offset(ee,(k.V-1)*7),k.y=ee.getFullYear(),k.m=ee.getMonth(),k.d=ee.getDate()+(k.w+6)%7)}else("W"in k||"U"in k)&&("w"in k||(k.w="u"in k?k.u%7:"W"in k?1:0),me="Z"in k?Rs(tn(k.y,0,1)).getUTCDay():Ds(tn(k.y,0,1)).getDay(),k.m=0,k.d="W"in k?(k.w+6)%7+k.W*7-(me+5)%7:k.w+k.U*7-(me+6)%7);return"Z"in k?(k.H+=k.Z/100|0,k.M+=k.Z%100,Rs(k)):Ds(k)}}function A(F,X,Z,k){for(var he=0,ee=X.length,me=Z.length,ge,De;he<ee;){if(k>=me)return-1;if(ge=X.charCodeAt(he++),ge===37){if(ge=X.charAt(he++),De=m[ge in Am?X.charAt(he++):ge],!De||(k=De(F,Z,k))<0)return-1}else if(ge!=Z.charCodeAt(k++))return-1}return k}function P(F,X,Z){var k=s.exec(X.slice(Z));return k?(F.p=f.get(k[0].toLowerCase()),Z+k[0].length):-1}function M(F,X,Z){var k=d.exec(X.slice(Z));return k?(F.w=y.get(k[0].toLowerCase()),Z+k[0].length):-1}function E(F,X,Z){var k=l.exec(X.slice(Z));return k?(F.w=h.get(k[0].toLowerCase()),Z+k[0].length):-1}function T(F,X,Z){var k=b.exec(X.slice(Z));return k?(F.m=x.get(k[0].toLowerCase()),Z+k[0].length):-1}function j(F,X,Z){var k=v.exec(X.slice(Z));return k?(F.m=p.get(k[0].toLowerCase()),Z+k[0].length):-1}function C(F,X,Z){return A(F,t,X,Z)}function $(F,X,Z){return A(F,r,X,Z)}function D(F,X,Z){return A(F,n,X,Z)}function R(F){return o[F.getDay()]}function L(F){return a[F.getDay()]}function B(F){return c[F.getMonth()]}function U(F){return u[F.getMonth()]}function G(F){return i[+(F.getHours()>=12)]}function z(F){return 1+~~(F.getMonth()/3)}function K(F){return o[F.getUTCDay()]}function ce(F){return a[F.getUTCDay()]}function de(F){return c[F.getUTCMonth()]}function Ne(F){return u[F.getUTCMonth()]}function kt(F){return i[+(F.getUTCHours()>=12)]}function Ie(F){return 1+~~(F.getUTCMonth()/3)}return{format:function(F){var X=g(F+="",w);return X.toString=function(){return F},X},parse:function(F){var X=_(F+="",!1);return X.toString=function(){return F},X},utcFormat:function(F){var X=g(F+="",O);return X.toString=function(){return F},X},utcParse:function(F){var X=_(F+="",!0);return X.toString=function(){return F},X}}}var Am={"-":"",_:" ",0:"0"},Ae=/^\s*\d+/,kT=/^%/,NT=/[\\^$*+?|[\]().{}]/g;function te(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 qT(e){return e.replace(NT,"\\$&")}function rn(e){return new RegExp("^(?:"+e.map(qT).join("|")+")","i")}function nn(e){return new Map(e.map((t,r)=>[t.toLowerCase(),r]))}function LT(e,t,r){var n=Ae.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function BT(e,t,r){var n=Ae.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function FT(e,t,r){var n=Ae.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function zT(e,t,r){var n=Ae.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function WT(e,t,r){var n=Ae.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function Sm(e,t,r){var n=Ae.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function Pm(e,t,r){var n=Ae.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 HT(e,t,r){var n=Ae.exec(t.slice(r,r+1));return n?(e.q=n[0]*3-3,r+n[0].length):-1}function GT(e,t,r){var n=Ae.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function Tm(e,t,r){var n=Ae.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function KT(e,t,r){var n=Ae.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function Em(e,t,r){var n=Ae.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function VT(e,t,r){var n=Ae.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function XT(e,t,r){var n=Ae.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function YT(e,t,r){var n=Ae.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function ZT(e,t,r){var n=Ae.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function JT(e,t,r){var n=kT.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function QT(e,t,r){var n=Ae.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function eE(e,t,r){var n=Ae.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function jm(e,t){return te(e.getDate(),t,2)}function tE(e,t){return te(e.getHours(),t,2)}function rE(e,t){return te(e.getHours()%12||12,t,2)}function nE(e,t){return te(1+ni.count(xt(e),e),t,3)}function hx(e,t){return te(e.getMilliseconds(),t,3)}function iE(e,t){return hx(e,t)+"000"}function aE(e,t){return te(e.getMonth()+1,t,2)}function oE(e,t){return te(e.getMinutes(),t,2)}function uE(e,t){return te(e.getSeconds(),t,2)}function cE(e){var t=e.getDay();return t===0?7:t}function sE(e,t){return te(ka.count(xt(e)-1,e),t,2)}function px(e){var t=e.getDay();return t>=4||t===0?Pr(e):Pr.ceil(e)}function lE(e,t){return e=px(e),te(Pr.count(xt(e),e)+(xt(e).getDay()===4),t,2)}function fE(e){return e.getDay()}
20function hE(e,t){return te(Ui.count(xt(e)-1,e),t,2)}function pE(e,t){return te(e.getFullYear()%100,t,2)}function dE(e,t){return e=px(e),te(e.getFullYear()%100,t,2)}function vE(e,t){return te(e.getFullYear()%1e4,t,4)}function yE(e,t){var r=e.getDay();return e=r>=4||r===0?Pr(e):Pr.ceil(e),te(e.getFullYear()%1e4,t,4)}function mE(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+te(t/60|0,"0",2)+te(t%60,"0",2)}function Mm(e,t){return te(e.getUTCDate(),t,2)}function gE(e,t){return te(e.getUTCHours(),t,2)}function bE(e,t){return te(e.getUTCHours()%12||12,t,2)}function xE(e,t){return te(1+Ra.count(wt(e),e),t,3)}function dx(e,t){return te(e.getUTCMilliseconds(),t,3)}function wE(e,t){return dx(e,t)+"000"}function OE(e,t){return te(e.getUTCMonth()+1,t,2)}function _E(e,t){return te(e.getUTCMinutes(),t,2)}function AE(e,t){return te(e.getUTCSeconds(),t,2)}function SE(e){var t=e.getUTCDay();return t===0?7:t}function PE(e,t){return te(Na.count(wt(e)-1,e),t,2)}function vx(e){var t=e.getUTCDay();return t>=4||t===0?Tr(e):Tr.ceil(e)}function TE(e,t){return e=vx(e),te(Tr.count(wt(e),e)+(wt(e).getUTCDay()===4),t,2)}function EE(e){return e.getUTCDay()}function jE(e,t){return te(Hi.count(wt(e)-1,e),t,2)}function ME(e,t){return te(e.getUTCFullYear()%100,t,2)}function $E(e,t){return e=vx(e),te(e.getUTCFullYear()%100,t,2)}function CE(e,t){return te(e.getUTCFullYear()%1e4,t,4)}function IE(e,t){var r=e.getUTCDay();return e=r>=4||r===0?Tr(e):Tr.ceil(e),te(e.getUTCFullYear()%1e4,t,4)}function DE(){return"+0000"}function $m(){return"%"}function Cm(e){return+e}function Im(e){return Math.floor(+e/1e3)}var cr,yx,mx;RE({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","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 RE(e){return cr=RT(e),yx=cr.format,cr.parse,mx=cr.utcFormat,cr.utcParse,cr}function kE(e){return new Date(e)}function NE(e){return e instanceof Date?+e:+new Date(+e)}function Oh(e,t,r,n,i,a,o,u,c,s){var f=ch(),l=f.invert,h=f.domain,d=s(".%L"),y=s(":%S"),v=s("%I:%M"),p=s("%I %p"),b=s("%a %d"),x=s("%b %d"),w=s("%B"),O=s("%Y");function m(g){return(c(g)<g?d:u(g)<g?y:o(g)<g?v:a(g)<g?p:n(g)<g?i(g)<g?b:x:r(g)<g?w:O)(g)}return f.invert=function(g){return new Date(l(g))},f.domain=function(g){return arguments.length?h(Array.from(g,NE)):h().map(kE)},f.ticks=function(g){var _=h();return e(_[0],_[_.length-1],g??10)},f.tickFormat=function(g,_){return _==null?m:s(_)},f.nice=function(g){var _=h();return(!g||typeof g.range!="function")&&(g=t(_[0],_[_.length-1],g??10)),g?h(nx(_,g)):f},f.copy=function(){return ri(f,Oh(e,t,r,n,i,a,o,u,c,s))},f}function qE(){return Xe.apply(Oh(IT,DT,xt,xh,ka,ni,gh,yh,Ut,yx).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function LE(){return Xe.apply(Oh($T,CT,wt,wh,Na,Ra,bh,mh,Ut,mx).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function qa(){var e=0,t=1,r,n,i,a,o=$e,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 d,y;return arguments.length?([d,y]=h,o=l(d,y),s):[o(0),o(1)]}}return s.range=f(Xr),s.rangeRound=f(uh),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 gx(){var e=It(qa()($e));return e.copy=function(){return Dt(e,gx())},At.apply(e,arguments)}function bx(){var e=fh(qa()).domain([1,10]);return e.copy=function(){return Dt(e,bx()).base(e.base())},At.apply(e,arguments)}function xx(){var e=hh(qa());return e.copy=function(){return Dt(e,xx()).constant(e.constant())},At.apply(e,arguments)}function _h(){var e=ph(qa());return e.copy=function(){return Dt(e,_h()).exponent(e.exponent())},At.apply(e,arguments)}function BE(){return _h.apply(null,arguments).exponent(.5)}function wx(){var e=[],t=$e;function r(n){if(n!=null&&!isNaN(n=+n))return t((ei(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($t),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)=>PP(e,a/n))},r.copy=function(){return wx(t).domain(e)},At.apply(r,arguments)}function La(){var e=0,t=.5,r=1,n=1,i,a,o,u,c,s=$e,f,l=!1,h;function d(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))}d.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,d):[e,t,r]},d.clamp=function(v){return arguments.length?(l=!!v,d):l},d.interpolator=function(v){return arguments.length?(s=v,d):s};function y(v){return function(p){var b,x,w;return arguments.length?([b,x,w]=p,s=JP(v,[b,x,w]),d):[s(0),s(.5),s(1)]}}return d.range=y(Xr),d.rangeRound=y(uh),d.unknown=function(v){return arguments.length?(h=v,d):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,d}}function Ox(){var e=It(La()($e));return e.copy=function(){return Dt(e,Ox())},At.apply(e,arguments)}function _x(){var e=fh(La()).domain([.1,1,10]);return e.copy=function(){return Dt(e,_x()).base(e.base())},At.apply(e,arguments)}function Ax(){var e=hh(La());return e.copy=function(){return Dt(e,Ax()).constant(e.constant())},At.apply(e,arguments)}function Ah(){var e=ph(La());return e.copy=function(){return Dt(e,Ah()).exponent(e.exponent())},At.apply(e,arguments)}function FE(){return Ah.apply(null,arguments).exponent(.5)}const Dm=Object.freeze(Object.defineProperty({__proto__:null,scaleBand:Sn,scaleDiverging:Ox,scaleDivergingLog:_x,scaleDivergingPow:Ah,scaleDivergingSqrt:FE,scaleDivergingSymlog:Ax,scaleIdentity:rx,scaleImplicit:Nl,scaleLinear:zi,scaleLog:ix,scaleOrdinal:ih,scalePoint:dn,scalePow:dh,scaleQuantile:ux,scaleQuantize:cx,scaleRadial:ox,scaleSequential:gx,scaleSequentialLog:bx,scaleSequentialPow:_h,scaleSequentialQuantile:wx,scaleSequentialSqrt:BE,scaleSequentialSymlog:xx,scaleSqrt:wT,scaleSymlog:ax,scaleThreshold:sx,scaleTime:qE,scaleUtc:LE,tickFormat:tx},Symbol.toStringTag,{value:"Module"}));var ks,Rm;function Sx(){if(Rm)return ks;Rm=1;var e=Hr();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 ks=t,ks}var Ns,km;function zE(){if(km)return Ns;km=1;function e(t,r){return t>r}return Ns=e,Ns}var qs,Nm;function WE(){if(Nm)return qs;Nm=1;var e=Sx(),t=zE(),r=Wr();function n(i){return i&&i.length?e(i,r,t):void 0}return qs=n,qs}var UE=WE();const jt=le(UE);var Ls,qm;function HE(){if(qm)return Ls;qm=1;function e(t,r){return t<r}return Ls=e,Ls}var Bs,Lm;function GE(){if(Lm)return Bs;Lm=1;var e=Sx(),t=HE(),r=Wr();function n(i){return i&&i.length?e(i,r,t):void 0}return Bs=n,Bs}var KE=GE();const Ba=le(KE);var Fs,Bm;function VE(){if(Bm)return Fs;Bm=1;var e=Uf(),t=Ct(),r=k0(),n=ke();function i(a,o){var u=n(a)?e:r;return u(a,t(o,3))}return Fs=i,Fs}var zs,Fm;function XE(){if(Fm)return zs;Fm=1;var e=Gf(),t=VE();function r(n,i){return e(t(n,i),1)}return zs=r,zs}var YE=XE();const ZE=le(YE);
20var Yr=1e9,JE={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},Ph,fe=!0,Ve="[DecimalError] ",Vt=Ve+"Invalid argument: ",Sh=Ve+"Exponent out of range: ",Zr=Math.floor,Ft=Math.pow,QE=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Fe,_e=1e7,se=7,Px=9007199254740991,Gi=Zr(Px/se),W={};W.absoluteValue=W.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e};W.comparedTo=W.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};W.decimalPlaces=W.dp=function(){var e=this,t=e.d.length-1,r=(t-e.e)*se;if(t=e.d[t],t)for(;t%10==0;t/=10)r--;return r<0?0:r};W.dividedBy=W.div=function(e){return mt(this,new this.constructor(e))};W.dividedToIntegerBy=W.idiv=function(e){var t=this,r=t.constructor;return ae(mt(t,new r(e),0,1),r.precision)};W.equals=W.eq=function(e){return!this.cmp(e)};W.exponent=function(){return ye(this)};W.greaterThan=W.gt=function(e){return this.cmp(e)>0};W.greaterThanOrEqualTo=W.gte=function(e){return this.cmp(e)>=0};W.isInteger=W.isint=function(){return this.e>this.d.length-2};W.isNegative=W.isneg=function(){return this.s<0};W.isPositive=W.ispos=function(){return this.s>0};W.isZero=function(){return this.s===0};W.lessThan=W.lt=function(e){return this.cmp(e)<0};W.lessThanOrEqualTo=W.lte=function(e){return this.cmp(e)<1};W.logarithm=W.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(Fe))throw Error(Ve+"NaN");if(r.s<1)throw Error(Ve+(r.s?"NaN":"-Infinity"));return r.eq(Fe)?new n(0):(fe=!1,t=mt(Mn(r,a),Mn(e,a),a),fe=!0,ae(t,i))};W.minus=W.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?jx(t,e):Tx(t,(e.s=-e.s,e))};W.modulo=W.mod=function(e){var t,r=this,n=r.constructor,i=n.precision;if(e=new n(e),!e.s)throw Error(Ve+"NaN");return r.s?(fe=!1,t=mt(r,e,0,1).times(e),fe=!0,r.minus(t)):ae(new n(r),i)};W.naturalExponential=W.exp=function(){return Ex(this)};W.naturalLogarithm=W.ln=function(){return Mn(this)};W.negated=W.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e};W.plus=W.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?Tx(t,e):jx(t,(e.s=-e.s,e))};W.precision=W.sd=function(e){var t,r,n,i=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(Vt+e);if(t=ye(i)+1,n=i.d.length-1,r=n*se+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};W.squareRoot=W.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(Ve+"NaN")}for(e=ye(u),fe=!1,i=Math.sqrt(+u),i==0||i==1/0?(t=nt(u.d),(t.length+e)%2==0&&(t+="0"),i=Math.sqrt(t),e=Zr((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),nt(a.d).slice(0,o)===(t=nt(n.d)).slice(0,o)){if(t=t.slice(o-3,o+1),i==o&&t=="4999"){if(ae(a,r+1,0),a.times(a).eq(u)){n=a;break}}else if(t!="9999")break;o+=4}return fe=!0,ae(n,r)};W.times=W.mul=function(e){var t,r,n,i,a,o,u,c,s,f=this,l=f.constructor,h=f.d,d=(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=d.length,c<s&&(a=h,h=d,d=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]+d[n]*h[i-n-1]+t,a[i--]=u%_e|0,t=u/_e|0;a[i]=(a[i]+t)%_e|0}for(;!a[--o];)a.pop();return t?++r:a.shift(),e.d=a,e.e=r,fe?ae(e,l.precision):e};W.toDecimalPlaces=W.todp=function(e,t){var r=this,n=r.constructor;return r=new n(r),e===void 0?r:(ut(e,0,Yr),t===void 0?t=n.rounding:ut(t,0,8),ae(r,e+ye(r)+1,t))};W.toExponential=function(e,t){var r,n=this,i=n.constructor;return e===void 0?r=Jt(n,!0):(ut(e,0,Yr),t===void 0?t=i.rounding:ut(t,0,8),n=ae(new i(n),e+1,t),r=Jt(n,!0,e+1)),r};W.toFixed=function(e,t){var r,n,i=this,a=i.constructor;return e===void 0?Jt(i):(ut(e,0,Yr),t===void 0?t=a.rounding:ut(t,0,8),n=ae(new a(i),e+ye(i)+1,t),r=Jt(n.abs(),!1,e+ye(n)+1),i.isneg()&&!i.isZero()?"-"+r:r)};W.toInteger=W.toint=function(){var e=this,t=e.constructor;return ae(new t(e),ye(e)+1,t.rounding)};W.toNumber=function(){return+this};W.toPower=W.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(Fe);
20if(u=new c(u),!u.s){if(e.s<1)throw Error(Ve+"Infinity");return u}if(u.eq(Fe))return u;if(n=c.precision,e.eq(Fe))return ae(u,n);if(t=e.e,r=e.d.length-1,o=t>=r,a=u.s,o){if((r=f<0?-f:f)<=Px){for(i=new c(Fe),t=Math.ceil(n/se+4),fe=!1;r%2&&(i=i.times(u),Wm(i.d,t)),r=Zr(r/2),r!==0;)u=u.times(u),Wm(u.d,t);return fe=!0,e.s<0?new c(Fe).div(i):ae(i,n)}}else if(a<0)throw Error(Ve+"NaN");return a=a<0&&e.d[Math.max(t,r)]&1?-1:1,u.s=1,fe=!1,i=e.times(Mn(u,n+s)),fe=!0,i=Ex(i),i.s=a,i};W.toPrecision=function(e,t){var r,n,i=this,a=i.constructor;return e===void 0?(r=ye(i),n=Jt(i,r<=a.toExpNeg||r>=a.toExpPos)):(ut(e,1,Yr),t===void 0?t=a.rounding:ut(t,0,8),i=ae(new a(i),e,t),r=ye(i),n=Jt(i,e<=r||r<=a.toExpNeg,e)),n};W.toSignificantDigits=W.tosd=function(e,t){var r=this,n=r.constructor;return e===void 0?(e=n.precision,t=n.rounding):(ut(e,1,Yr),t===void 0?t=n.rounding:ut(t,0,8)),ae(new n(r),e,t)};W.toString=W.valueOf=W.val=W.toJSON=W[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=ye(e),r=e.constructor;return Jt(e,t<=r.toExpNeg||t>=r.toExpPos)};function Tx(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)),fe?ae(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/se),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)/_e|0,c[a]%=_e;for(r&&(c.unshift(r),++i),u=c.length;c[--u]==0;)c.pop();return t.d=c,t.e=i,fe?ae(t,l):t}function ut(e,t,r){if(e!==~~e||e<t||e>r)throw Error(Vt+e)}function nt(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=se-n.length,r&&(a+=Tt(r)),a+=n;o=e[t],n=o+"",r=se-n.length,r&&(a+=Tt(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%_e|0,o=a/_e|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*_e+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,d,y,v,p,b,x,w,O,m,g,_,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(Ve+"Division by zero");for(c=n.e-i.e,_=T.length,m=E.length,d=new P(M),y=d.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+(ye(n)-ye(i))+1:x=a,x<0)return new P(0);if(x=x/se+2|0,s=0,_==1)for(f=0,T=T[0],x++;(s<m||f)&&x--;s++)w=f*_e+(E[s]||0),y[s]=w/T|0,f=w%T|0;else{for(f=_e/(T[0]+1)|0,f>1&&(T=e(T,f),E=e(E,f),_=T.length,m=E.length),O=_,v=E.slice(0,_),p=v.length;p<_;)v[p++]=0;A=T.slice(),A.unshift(0),g=T[0],T[1]>=_e/2&&++g;do f=0,u=t(T,v,_,p),u<0?(b=v[0],_!=p&&(b=b*_e+(v[1]||0)),f=b/g|0,f>1?(f>=_e&&(f=_e-1),l=e(T,f),h=l.length,p=v.length,u=t(l,v,h,p),u==1&&(f--,r(l,_<h?A:T,h))):(f==0&&(u=f=1),l=T.slice()),h=l.length,h<p&&l.unshift(0),r(v,l,p),u==-1&&(p=v.length,u=t(T,v,_,p),u<1&&(f++,r(v,_<p?A:T,p))),p=v.length):u===0&&(f++,v=[0]),y[s++]=f,u&&v[0]?v[p++]=E[O]||0:(v=[E[O]],p=1);while((O++<m||v[0]!==void 0)&&x--)}return y[0]||y.shift(),d.e=c,ae(d,o?a+ye(d)+1:a)}})();function Ex(e,t){var r,n,i,a,o,u,c=0,s=0,f=e.constructor,l=f.precision;if(ye(e)>16)throw Error(Sh+ye(e));if(!e.s)return new f(Fe);for(fe=!1,u=l,o=new f(.03125);e.abs().gte(.1);)e=e.times(o),s+=5;for(n=Math.log(Ft(2,s))/Math.LN10*2+5|0,u+=n,r=i=a=new f(Fe),f.precision=u;;){if(i=ae(i.times(e),u),r=r.times(++c),o=a.plus(mt(i,r,u)),nt(o.d).slice(0,u)===nt(a.d).slice(0,u)){for(;s--;)a=ae(a.times(a),u);return f.precision=l,t==null?(fe=!0,ae(a,l)):a}a=o}}function ye(e){for(var t=e.e*se,r=e.d[0];r>=10;r/=10)t++;return t}function Ws(e,t,r){if(t>e.LN10.sd())throw fe=!0,r&&(e.precision=r),Error(Ve+"LN10 precision limit exceeded");return ae(new e(e.LN10),t)}function Tt(e){for(var t="";e--;)t+="0";return t}function Mn(e,t){var r,n,i,a,o,u,c,s,f,l=1,h=10,d=e,y=d.d,v=d.constructor,p=v.precision;if(d.s<1)throw Error(Ve+(d.s?"NaN":"-Infinity"));if(d.eq(Fe))return new v(0);if(t==null?(fe=!1,s=p):s=t,d.eq(10))return t==null&&(fe=!0),Ws(v,s);if(s+=h,v.precision=s,r=nt(y),n=r.charAt(0),a=ye(d),Math.abs(a)<15e14){for(;n<7&&n!=1||n==1&&r.charAt(1)>3;)d=d.times(e),r=nt(d.d),n=r.charAt(0),l++;a=ye(d),n>1?(d=new v("0."+r),a++):d=new v(n+"."+r.slice(1))}else return c=Ws(v,s+2,p).times(a+""),d=Mn(new v(n+"."+r.slice(1)),s-h).plus(c),v.precision=p,t==null?(fe=!0,ae(d,p)):d;for(u=o=d=mt(d.minus(Fe),d.plus(Fe),s),f=ae(d.times(d),s),i=3;;){if(o=ae(o.times(f),s),c=u.plus(mt(o,new v(i),s)),nt(c.d).slice(0,s)===nt(u.d).slice(0,s))return u=u.times(2),a!==0&&(u=u.plus(Ws(v,s+2,p).times(a+""))),u=mt(u,new v(l),s),v.precision=p,t==null?(fe=!0,ae(u,p)):u;u=c,i+=2}}function zm(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=Zr(r/se),e.d=[],n=(r+1)%se,r<0&&(n+=se),n<i){for(n&&e.d.push(+t.slice(0,n)),i-=se;n<i;)e.d.push(+t.slice(n,n+=se));t=t.slice(n),n=se-t.length}else n-=i;for(;n--;)t+="0";if(e.d.push(+t),fe&&(e.e>Gi||e.e<-Gi))throw Error(Sh+r)}else e.s=0,e.e=0,e.d=[0];return e}function ae(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+=se,i=t,s=l[f=0];else{if(f=Math.ceil((n+1)/se),a=l.length,f>=a)return e;for(s=a=l[f],o=1;a>=10;a/=10)o++;n%=se,i=n-se+o}if(r!==void 0&&(a=Ft(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/Ft(10,o-i):0:l[f-1])%10&1||r==(e.s<0?8:7))),t<1||!l[0])return c?(a=ye(e),l.length=1,t=t-a-1,l[0]=Ft(10,(se-t%se)%se),e.e=Zr(-t/se)||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=Ft(10,se-n),l[f]=i>
200?(s/Ft(10,o-i)%Ft(10,i)|0)*a:0),c)for(;;)if(f==0){(l[0]+=a)==_e&&(l[0]=1,++e.e);break}else{if(l[f]+=a,l[f]!=_e)break;l[f--]=0,a=1}for(n=l.length;l[--n]===0;)l.pop();if(fe&&(e.e>Gi||e.e<-Gi))throw Error(Sh+ye(e));return e}function jx(e,t){var r,n,i,a,o,u,c,s,f,l,h=e.constructor,d=h.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new h(e),fe?ae(t,d):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(d/se),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]=_e-1;--c[a],c[i]+=_e}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,fe?ae(t,d):t):new h(0)}function Jt(e,t,r){var n,i=ye(e),a=nt(e.d),o=a.length;return t?(r&&(n=r-o)>0?a=a.charAt(0)+"."+a.slice(1)+Tt(n):o>1&&(a=a.charAt(0)+"."+a.slice(1)),a=a+(i<0?"e":"e+")+i):i<0?(a="0."+Tt(-i-1)+a,r&&(n=r-o)>0&&(a+=Tt(n))):i>=o?(a+=Tt(i+1-o),r&&(n=r-i-1)>0&&(a=a+"."+Tt(n))):((n=i+1)<o&&(a=a.slice(0,n)+"."+a.slice(n)),r&&(n=r-o)>0&&(i+1===o&&(a+="."),a+=Tt(n))),e.s<0?"-"+a:a}function Wm(e,t){if(e.length>t)return e.length=t,!0}function Mx(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(Vt+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 zm(o,a.toString())}else if(typeof a!="string")throw Error(Vt+a);if(a.charCodeAt(0)===45?(a=a.slice(1),o.s=-1):o.s=1,QE.test(a))zm(o,a);else throw Error(Vt+a)}if(i.prototype=W,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=Mx,i.config=i.set=ej,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 ej(e){if(!e||typeof e!="object")throw Error(Ve+"Object expected");var t,r,n,i=["precision",1,Yr,"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(Zr(n)===n&&n>=i[t+1]&&n<=i[t+2])this[r]=n;else throw Error(Vt+r+": "+n);if((n=e[r="LN10"])!==void 0)if(n==Math.LN10)this[r]=new this(n);else throw Error(Vt+r+": "+n);return this}var Ph=Mx(JE);Fe=new Ph(1);const ie=Ph;function tj(e){return aj(e)||ij(e)||nj(e)||rj()}function rj(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
21In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function nj(e,t){if(e){if(typeof e=="string")return Fl(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 Fl(e,t)}}function ij(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function aj(e){if(Array.isArray(e))return Fl(e)}function Fl(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 oj=function(t){return t},$x={},Cx=function(t){return t===$x},Um=function(t){return function r(){return arguments.length===0||arguments.length===1&&Cx(arguments.length<=0?void 0:arguments[0])?r:t.apply(void 0,arguments)}},uj=function e(t,r){return t===1?r:Um(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!==$x}).length;return o>=t?r.apply(void 0,i):e(t-o,Um(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 Cx(l)?c.shift():l});return r.apply(void 0,tj(f).concat(c))}))})},Fa=function(t){return uj(t.length,t)},zl=function(t,r){for(var n=[],i=t;i<r;++i)n[i-t]=i;return n},cj=Fa(function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map(function(r){return t[r]}).map(e)}),sj=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];if(!r.length)return oj;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))}},Wl=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},Ix=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]}
21)||(r=a,n=t.apply(void 0,a)),n}};function lj(e){var t;return e===0?t=1:t=Math.floor(new ie(e).abs().log(10).toNumber())+1,t}function fj(e,t,r){for(var n=new ie(e),i=0,a=[];n.lt(t)&&i<1e5;)a.push(n.toNumber()),n=n.add(r),i++;return a}var hj=Fa(function(e,t,r){var n=+e,i=+t;return n+r*(i-n)}),pj=Fa(function(e,t,r){var n=t-+e;return n=n||1/0,(r-e)/n}),dj=Fa(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:fj,getDigitCount:lj,interpolateNumber:hj,uninterpolateNumber:pj,uninterpolateTruncation:dj};function Ul(e){return mj(e)||yj(e)||Dx(e)||vj()}function vj(){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 yj(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function mj(e){if(Array.isArray(e))return Hl(e)}function $n(e,t){return xj(e)||bj(e,t)||Dx(e,t)||gj()}function gj(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
23In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Dx(e,t){if(e){if(typeof e=="string")return Hl(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 Hl(e,t)}}function Hl(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 bj(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 xj(e){if(Array.isArray(e))return e}function Rx(e){var t=$n(e,2),r=t[0],n=t[1],i=r,a=n;return r>n&&(i=n,a=r),[i,a]}function kx(e,t,r){if(e.lte(0))return new ie(0);var n=za.getDigitCount(e.toNumber()),i=new ie(10).pow(n),a=e.div(i),o=n!==1?.05:.1,u=new ie(Math.ceil(a.div(o).toNumber())).add(r).mul(o),c=u.mul(i);return t?c:new ie(Math.ceil(c))}function wj(e,t,r){var n=1,i=new ie(e);if(!i.isint()&&r){var a=Math.abs(e);a<1?(n=new ie(10).pow(za.getDigitCount(e)-1),i=new ie(Math.floor(i.div(n).toNumber())).mul(n)):a>1&&(i=new ie(Math.floor(e)))}else e===0?i=new ie(Math.floor((t-1)/2)):r||(i=new ie(Math.floor(e)));var o=Math.floor((t-1)/2),u=sj(cj(function(c){return i.add(new ie(c-o).mul(n)).toNumber()}),zl);return u(0,t)}function Nx(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 ie(0),tickMin:new ie(0),tickMax:new ie(0)};var a=kx(new ie(t).sub(e).div(r-1),n,i),o;e<=0&&t>=0?o=new ie(0):(o=new ie(e).add(t).div(2),o=o.sub(new ie(o).mod(a)));var u=Math.ceil(o.sub(e).div(a).toNumber()),c=Math.ceil(new ie(t).sub(o).div(a).toNumber()),s=u+c+1;return s>r?Nx(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 ie(u).mul(a)),tickMax:o.add(new ie(c).mul(a))})}function Oj(e){var t=$n(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=Rx([r,n]),c=$n(u,2),s=c[0],f=c[1];if(s===-1/0||f===1/0){var l=f===1/0?[s].concat(Ul(zl(0,i-1).map(function(){return 1/0}))):[].concat(Ul(zl(0,i-1).map(function(){return-1/0})),[f]);return r>n?Wl(l):l}if(s===f)return wj(s,i,a);var h=Nx(s,f,o,a),d=h.step,y=h.tickMin,v=h.tickMax,p=za.rangeStep(y,v.add(new ie(.1).mul(d)),d);return r>n?Wl(p):p}function _j(e,t){var r=$n(e,2),n=r[0],i=r[1],a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,o=Rx([n,i]),u=$n(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=kx(new ie(s).sub(c).div(f-1),a,0),h=[].concat(Ul(za.rangeStep(new ie(c),new ie(s).sub(new ie(.99).mul(l)),l)),[s]);return n>i?Wl(h):h}var Aj=Ix(Oj),Sj=Ix(_j),Pj=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];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 Ki(){return Ki=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
23for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ki.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.
24In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function jj(e,t){if(e){if(typeof e=="string")return Hm(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 Hm(e,t)}}function Hm(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 Dj(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,Bx(n.key),n)}}function kj(e,t,r){return t&&Rj(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Nj(e,t,r){return t=Vi(t),qj(e,qx()?Reflect.construct(t,r||[],Vi(e).constructor):t.apply(e,r))}function qj(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 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 qx(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(qx=function(){return!!e})()}function Vi(e){return Vi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Vi(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&&Gl(e,t)}function Gl(e,t){return Gl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Gl(e,t)}function Lx(e,t,r){return t=Bx(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bx(e){var t=Fj(e,"string");return Er(t)=="symbol"?t:t+""}function Fj(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 ii=(function(e){function t(){return Dj(this,t),Nj(this,t,arguments)}return Bj(t,e),kj(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),d=Y(h,!1);this.props.direction==="x"&&f.type!=="number"&&Xt();var y=c.map(function(v){var p=s(v,u),b=p.x,x=p.y,w=p.value,O=p.errorVal;if(!O)return null;var m=[],g,_;if(Array.isArray(O)){var A=Tj(O,2);g=A[0],_=A[1]}else g=_=O;if(a==="vertical"){var P=f.scale,M=x+i,E=M+o,T=M-o,j=P(w-g),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,D=b+i,R=D-o,L=D+o,B=$(w-g),U=$(w+_);m.push({x1:R,y1:U,x2:L,y2:U}),m.push({x1:D,y1:B,x2:D,y2:U}),m.push({x1:R,y1:B,x2:L,y2:B})}return S.createElement(ue,Ki({className:"recharts-errorBar",key:"bar-".concat(m.map(function(G){return"".concat(G.x1,"-").concat(G.x2,"-").concat(G.y1,"-").concat(G.y2)}))},d),m.map(function(G){return S.createElement("line",Ki({},G,{key:"line-".concat(G.x1,"-").concat(G.x2,"-").concat(G.y1,"-").concat(G.y2)}))}
24))});return S.createElement(ue,{className:"recharts-errorBars"},y)}}])})(S.Component);Lx(ii,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"});Lx(ii,"displayName","ErrorBar");function Cn(e){"@babel/helpers - typeof";return Cn=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},Cn(e)}function Gm(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 Lt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Gm(Object(r),!0).forEach(function(n){zj(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Gm(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function zj(e,t,r){return t=Wj(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wj(e){var t=Uj(e,"string");return Cn(t)=="symbol"?t:t+""}function Uj(e,t){if(Cn(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Cn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Fx=function(t){var r=t.children,n=t.formattedGraphicalItems,i=t.legendWidth,a=t.legendContent,o=Be(r,vr);if(!o)return null;var u=vr.defaultProps,c=u!==void 0?Lt(Lt({},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,d=l.props,y=d.sectors||d.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,d=h!==void 0?Lt(Lt({},h),l.props):{}
24,y=d.dataKey,v=d.name,p=d.legendType,b=d.hide;return{inactive:b,dataKey:y,type:c.iconType||p||"square",color:Th(l),value:v||y,payload:d}}),Lt(Lt(Lt({},c),vr.getWithHeight(o,i)),{},{payload:s,item:o})};function In(e){"@babel/helpers - typeof";return In=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},In(e)}function Km(e){return Vj(e)||Kj(e)||Gj(e)||Hj()}function Hj(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
25In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Gj(e,t){if(e){if(typeof e=="string")return Kl(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 Kl(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 Kl(e)}function Kl(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 Vm(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 pe(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Vm(Object(r),!0).forEach(function(n){mr(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vm(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function mr(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 In(t)=="symbol"?t:t+""}function Yj(e,t){if(In(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(In(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 J(e)||J(t)?r:we(t)?Ge(e,t,r):V(t)?t(e):r}function vn(e,t,r,n){var i=ZE(e,function(u){return Ce(u,t)});if(r==="number"){var a=i.filter(function(u){return q(u)||parseFloat(u)});return a.length?[Ba(a),jt(a)]:[1/0,-1/0]}var o=n?i.filter(function(u){return!J(u)}):i;return o.map(function(u){return we(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,d=void 0;if(et(l-f)!==et(h-l)){var y=[];if(et(h-l)===et(c[1]-c[0])){d=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{d=f;var p=h+c[1]-c[0];y[0]=Math.min(l,(p+l)/2),y[1]=Math.max(l,(p+l)/2)}var b=[Math.min(l,(d+l)/2),Math.max(l,(d+l)/2)];if(t>b[0]&&t<=b[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},Th=function(t){var r,n=t,i=n.type.displayName,a=(r=t.type)!==null&&r!==void 0&&r.defaultProps?pe(pe({},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,d=l.length;h<d;
25h++){var y=f[l[h]],v=y.items,p=y.cateAxisId,b=v.filter(function(_){return vt(_.type).indexOf("Bar")>=0});if(b&&b.length){var x=b[0].type.defaultProps,w=x!==void 0?pe(pe({},x),b[0].props):b[0].props,O=w.barSize,m=w[p];o[m]||(o[m]=[]);var g=J(O)?r:O;o[m].push({item:b[0],stackList:b.slice(1),barSize:J(g)?void 0:Zt(g,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=Zt(r,i,0,!0),f,l=[];if(o[0].barSize===+o[0].barSize){var h=!1,d=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&&d>0&&(h=!0,d*=.9,y=c*d);var v=(i-y)/2>>0,p={offset:v-s,size:0};f=o.reduce(function(O,m){var g={item:m.item,position:{offset:p.offset+p.size+s,size:h?d:m.barSize}},_=[].concat(Km(O),[g]);return p=_[_.length-1].position,m.stackList&&m.stackList.length&&m.stackList.forEach(function(A){_.push({item:A,position:p})}),_},l)}else{var b=Zt(n,i,0,!0);i-2*b-(c-1)*s<=0&&(s=0);var x=(i-2*b-(c-1)*s)/c;x>1&&(x>>=0);var w=u===+u?Math.min(x,u):x;f=o.reduce(function(O,m,g){var _=[].concat(Km(O),[{item:m.item,position:{offset:b+(x+s)*g+(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=Fx({children:a,legendWidth:c});if(s){var f=i||{},l=f.width,h=f.height,d=s.align,y=s.verticalAlign,v=s.layout;if((v==="vertical"||v==="horizontal"&&y==="middle")&&d!=="center"&&q(t[d]))return pe(pe({},t),{},mr({},d,t[d]+(l||0)));if((v==="horizontal"||v==="vertical"&&d==="center")&&y!=="middle"&&q(t[y]))return pe(pe({},t),{},mr({},y,t[y]+(h||0)))}return t},tM=function(t,r,n){return J(r)?!0:t==="horizontal"?r==="yAxis":t==="vertical"||n==="x"?r==="xAxis":n==="y"?r==="yAxis":!0},zx=function(t,r,n,i,a){var o=r.props.children,u=Ke(o,ii).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(J(l))return s;var h=Array.isArray(l)?[Ba(l),jt(l)]:[l,l],d=c.reduce(function(y,v){var p=Ce(f,v,0),b=h[0]-Math.abs(Array.isArray(p)?p[0]:p),x=h[1]+Math.abs(Array.isArray(p)?p[1]:p);return[Math.min(b,y[0]),Math.max(x,y[1])]},[1/0,-1/0]);return[Math.min(d[0],s[0]),Math.max(d[1],s[1])]},[1/0,-1/0])}return null},rM=function(t,r,n,i,a){var o=r.map(function(u){return zx(t,u,n,a,i)}).filter(function(u){return!J(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},Wx=function(t,r,n,i,a){var o=r.map(function(c){var s=c.props.dataKey;return n==="number"&&s&&zx(t,c,s,i)||vn(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},[])},Ux=function(t,r){return t==="horizontal"&&r==="xAxis"||t==="vertical"&&r==="yAxis"||t==="centric"&&r==="angleAxis"||t==="radial"&&r==="radiusAxis"},Hx=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},dt=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?et(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;
25return{coordinate:i(h)+s,value:l,offset:s}});return f.filter(function(l){return!Kr(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}})},Us=new WeakMap,vi=function(t,r){if(typeof r!="function")return t;Us.has(t)||Us.set(t,new WeakMap);var n=Us.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},nM=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:Sn(),realScaleType:"band"}:o==="radial"&&u==="angleAxis"?{scale:zi(),realScaleType:"linear"}:a==="category"&&r&&(r.indexOf("LineChart")>=0||r.indexOf("AreaChart")>=0||r.indexOf("ComposedChart")>=0&&!n)?{scale:dn(),realScaleType:"point"}:a==="category"?{scale:Sn(),realScaleType:"band"}:{scale:zi(),realScaleType:"linear"};if(Yt(i)){var c="scale".concat(ja(i));return{scale:(Dm[c]||dn)(),realScaleType:Dm[c]?c:"point"}}return V(i)?{scale:i}:{scale:dn(),realScaleType:"point"}},Xm=1e-4,iM=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])-Xm,o=Math.max(i[0],i[1])+Xm,u=t(r[0]),c=t(r[n-1]);(u<a||u>o||c<a||c>o)&&t.domain([r[0],r[n-1]])}},aM=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},oM=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},uM=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=Kr(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])}},cM=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=Kr(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)}},sM={sign:uM,expand:oA,none:xr,silhouette:uA,wiggle:cA,positive:cM},lM=function(t,r,n){var i=r.map(function(u){return u.props.dataKey}),a=sM[n],o=aA().keys(i).value(function(u,c){return+Ce(u,c,0)}).order(_l).offset(a);return o(t)},fM=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 d,y=(d=h.type)!==null&&d!==void 0&&d.defaultProps?pe(pe({},h.type.defaultProps),h.props):h.props,v=y.stackId,p=y.hide;if(p)return l;var b=y[n],x=l[b]||{hasStack:!1,stackGroups:{}};if(we(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[Vr("_stackId_")]={numericAxisId:n,cateAxisId:i,items:[h]};return pe(pe({},l),{},mr({},b,x))},c),f={};return Object.keys(s).reduce(function(l,h){var d=s[h];if(d.hasStack){var y={};d.stackGroups=Object.keys(d.stackGroups).reduce(function(v,p){var b=d.stackGroups[p];return pe(pe({},v),{},mr({},p,{numericAxisId:n,cateAxisId:i,items:b.items,stackedData:lM(t,b.items,a)}))},y)}return pe(pe({},l),{},mr({},h,d))},f)},hM=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=Aj(s,a,u);return t.domain([Ba(f),jt(f)]),{niceTicks:f}}if(a&&i==="number"){var l=t.domain(),h=Sj(l,a,u);return{niceTicks:h}}return null};function Xi(e){var t=e.axis,r=e.ticks,n=e.bandSize,i=e.entry,a=e.index,o=e.dataKey;if(t.type==="category"){if(!t.allowDuplicatedCategory&&t.dataKey&&!J(i[t.dataKey])){var u=wi(r,"value",i[t.dataKey]);if(u)return u.coordinate+n/2}return r[a]?r[a].coordinate+n/2:null}var c=Ce(i,J(o)?t.dataKey:o);return J(c)?null:t.scale(c)}
25var Ym=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 J(c)?null:r.scale(c)-a/2+i},pM=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]},dM=function(t,r){var n,i=(n=t.type)!==null&&n!==void 0&&n.defaultProps?pe(pe({},t.type.defaultProps),t.props):t.props,a=i.stackId;if(we(a)){var o=r[a];if(o){var u=o.items.indexOf(t);return u>=0?o.stackedData[u]:null}}return null},vM=function(t){return t.reduce(function(r,n){return[Ba(n.concat([r[0]]).filter(q)),jt(n.concat([r[1]]).filter(q))]},[1/0,-1/0])},Gx=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=vM(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})},Zm=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,Jm=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,Vl=function(t,r,n){if(V(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(Zm.test(t[0])){var a=+Zm.exec(t[0])[1];i[0]=r[0]-a}else V(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(Jm.test(t[1])){var o=+Jm.exec(t[1])[1];i[1]=r[1]+o}else V(t[1])?i[1]=t[1](r[1]):i[1]=r[1];return i},Yi=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=th(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||br(t,Ge(n,"type.defaultProps.domain"))?r:t},Kx=function(t,r){var n=t.type.defaultProps?pe(pe({},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 pe(pe({},Y(t,!1)),{},{dataKey:i,unit:o,formatter:u,name:a||i,color:Th(t),value:Ce(r,i),type:c,payload:r,chartType:s,hide:f})};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 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 tg(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){yM(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 yM(e,t,r){return t=mM(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mM(e){var t=gM(e,"string");return Dn(t)=="symbol"?t:t+""}function gM(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)}var Zi=Math.PI/180,bM=function(t){return t*180/Math.PI},Te=function(t,r,n,i){return{x:t+Math.cos(-Zi*i)*n,y:r+Math.sin(-Zi*i)*n}},xM=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))},wM=function(t,r){var n=t.x,i=t.y,a=r.cx,o=r.cy,u=xM({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:bM(s),angleInRadian:s}},OM=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}},_M=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},rg=function(t,r){var n=t.x,i=t.y,a=wM({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=OM(r),l=f.startAngle,h=f.endAngle,d=u,y;if(l<=h){for(;d>h;)d-=360;for(;d<l;)d+=360;y=d>=l&&d<=h}else{for(;d>l;)d-=360;for(;d<h;)d+=360;y=d>=h&&d<=l}return y?tg(tg({},r),{},{radius:o,angle:_M(d,r)}):null};function Rn(e){"@babel/helpers - typeof";return Rn=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},Rn(e)}var AM=["offset"];function SM(e){return jM(e)||EM(e)||TM(e)||PM()}function PM(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
26In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function TM(e,t){if(e){if(typeof e=="string")return Xl(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 Xl(e,t)}}function EM(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function jM(e){if(Array.isArray(e))return Xl(e)}function Xl(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 MM(e,t){if(e==null)return{};var r=$M(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 $M(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 ng(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 xe(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};
26t%2?ng(Object(r),!0).forEach(function(n){CM(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ng(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function CM(e,t,r){return t=IM(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function IM(e){var t=DM(e,"string");return Rn(t)=="symbol"?t:t+""}function DM(e,t){if(Rn(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Rn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function kn(){return kn=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},kn.apply(this,arguments)}var RM=function(t){var r=t.value,n=t.formatter,i=J(t.children)?r:t.children;return V(n)?n(i):i},kM=function(t,r){var n=et(r-t),i=Math.min(Math.abs(r-t),360);return n*i},NM=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,d=c.startAngle,y=c.endAngle,v=c.clockWise,p=(l+h)/2,b=kM(d,y),x=b>=0?1:-1,w,O;i==="insideStart"?(w=d+x*o,O=v):i==="insideEnd"?(w=y-x*o,O=!v):i==="end"&&(w=y+x*o,O=v),O=b<=0?O:!O;var m=Te(s,f,p,w),g=Te(s,f,p,w+(O?1:-1)*359),_="M".concat(m.x,",").concat(m.y,`
27    A`).concat(p,",").concat(p,",0,1,").concat(O?0:1,`,
28    `).concat(g.x,",").concat(g.y),A=J(t.id)?Vr("recharts-radial-line-"):t.id;return S.createElement("text",kn({},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))},qM=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 d=Te(o,u,s+n,h),y=d.x,v=d.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 p=(c+s)/2,b=Te(o,u,p,h),x=b.x,w=b.y;return{x,y:w,textAnchor:"middle",verticalAnchor:"middle"}},LM=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,d=l>0?"end":"start",y=l>0?"start":"end",v=s>=0?1:-1,p=v*i,b=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:d};return xe(xe({},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 xe(xe({},O),n?{height:Math.max(n.y+n.height-(c+f),0),width:s}:{})}if(a==="left"){var m={x:u-p,y:c+f/2,textAnchor:b,verticalAnchor:"middle"};return xe(xe({},m),n?{width:Math.max(m.x-n.x,0),height:f}:{})}if(a==="right"){var g={x:u+s+p,y:c+f/2,textAnchor:x,verticalAnchor:"middle"};return xe(xe({},g),n?{width:Math.max(n.x+n.width-g.x,0),height:f}:{})}var _=n?{width:s,height:f}:{};return a==="insideLeft"?xe({x:u+p,y:c+f/2,textAnchor:x,verticalAnchor:"middle"},_):a==="insideRight"?xe({x:u+s-p,y:c+f/2,textAnchor:b,verticalAnchor:"middle"},_):a==="insideTop"?xe({x:u+s/2,y:c+h,textAnchor:"middle",verticalAnchor:y},_):a==="insideBottom"?xe({x:u+s/2,y:c+f-h,textAnchor:"middle",verticalAnchor:d},_):a==="insideTopLeft"?xe({x:u+p,y:c+h,textAnchor:x,verticalAnchor:y},_):a==="insideTopRight"?xe({x:u+s-p,y:c+h,textAnchor:b,verticalAnchor:y},_):a==="insideBottomLeft"?xe({x:u+p,y:c+f-h,textAnchor:x,verticalAnchor:d},_):a==="insideBottomRight"?xe({x:u+s-p,y:c+f-h,textAnchor:b,verticalAnchor:d},_):Gr(a)&&(q(a.x)||zt(a.x))&&(q(a.y)||zt(a.y))?xe({x:u+Zt(a.x,s),y:c+Zt(a.y,f),textAnchor:"end",verticalAnchor:"end"},_):xe({x:u+s/2,y:c+f/2,textAnchor:"middle",verticalAnchor:"middle"},_)},BM=function(t){return"cx"in t&&q(t.cx)};function je(e){var t=e.offset,r=t===void 0?5:t,n=MM(e,AM),i=xe({offset:r}
28,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||J(u)&&J(c)&&!N.isValidElement(s)&&!V(s))return null;if(N.isValidElement(s))return N.cloneElement(s,i);var d;if(V(s)){if(d=N.createElement(s,i),N.isValidElement(d))return d}else d=RM(i);var y=BM(a),v=Y(i,!0);if(y&&(o==="insideStart"||o==="insideEnd"||o==="end"))return NM(i,d,v);var p=y?qM(i):LM(i);return S.createElement(Di,kn({className:Q("recharts-label",l)},v,p,{breakAll:h}),d)}je.displayName="Label";var Vx=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,d=t.top,y=t.left,v=t.width,p=t.height,b=t.clockWise,x=t.labelViewBox;if(x)return x;if(q(v)&&q(p)){if(q(l)&&q(h))return{x:l,y:h,width:v,height:p};if(q(d)&&q(y))return{x:d,y,width:v,height:p}}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:b}:t.viewBox?t.viewBox:{}},FM=function(t,r){return t?t===!0?S.createElement(je,{key:"label-implicit",viewBox:r}):we(t)?S.createElement(je,{key:"label-implicit",viewBox:r,value:t}):N.isValidElement(t)?t.type===je?N.cloneElement(t,{key:"label-implicit",viewBox:r}):S.createElement(je,{key:"label-implicit",content:t,viewBox:r}):V(t)?S.createElement(je,{key:"label-implicit",content:t,viewBox:r}):Gr(t)?S.createElement(je,kn({viewBox:r},t,{key:"label-implicit"})):null:null},zM=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=Vx(t),o=Ke(i,je).map(function(c,s){return N.cloneElement(c,{viewBox:r||a,key:"label-".concat(s)})});if(!n)return o;var u=FM(t.label,r||a);return[u].concat(SM(o))};je.parseViewBox=Vx;je.renderCallByParent=zM;var Hs,ig;function WM(){if(ig)return Hs;ig=1;function e(t){var r=t==null?0:t.length;return r?t[r-1]:void 0}return Hs=e,Hs}var UM=WM();const HM=le(UM);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)}var GM=["valueAccessor"],KM=["data","dataKey","clockWise","id","textBreakAll"];function VM(e){return JM(e)||ZM(e)||YM(e)||XM()}function XM(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
29In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function YM(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 ZM(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function JM(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 Ji(){return Ji=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},Ji.apply(this,arguments)}function ag(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 og(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ag(Object(r),!0).forEach(function(n){QM(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ag(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function QM(e,t,r){return t=e$(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function e$(e){var t=t$(e,"string");return Nn(t)=="symbol"?t:t+""}function t$(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)}function ug(e,t){if(e==null)return{};var r=r$(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 r$(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 n$=function(t){return Array.isArray(t.value)?HM(t.value):t.value};function gt(e){var t=e.valueAccessor,r=t===void 0?n$:t,n=ug(e,GM),i=n.data,a=n.dataKey,o=n.clockWise,u=n.id,c=n.textBreakAll,s=ug(n,KM);return!i||!i.length?null:S.createElement(ue,{className:"recharts-label-list"},i.map(function(f,l){var h=J(a)?r(f,l):Ce(f&&f.payload,a),d=J(u)?{}:{id:"".concat(u,"-").concat(l)};return S.createElement(je,Ji({},Y(f,!0),s,d,{parentViewBox:f.parentViewBox,value:h,textBreakAll:c,viewBox:je.parseViewBox(J(o)?f:og(og({},f),{},{clockWise:o})),key:"label-".concat(l),index:l}))}))}gt.displayName="LabelList";function i$(e,t){return e?e===!0?S.createElement(gt,{key:"labelList-implicit",data:t}):S.isValidElement(e)||V(e)?S.createElement(gt,{key:"labelList-implicit",data:t,content:e}):Gr(e)?S.createElement(gt,Ji({data:t},e,{key:"labelList-implicit"})):null:null}function a$(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=Ke(n,gt).map(function(o,u){return N.cloneElement(o,{data:t,key:"labelList-".concat(u)})});if(!r)return i;var a=i$(e.label,t);return[a].concat(VM(i))}gt.renderCallByParent=a$;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 Zl(){return Zl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
29for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Zl.apply(this,arguments)}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]:{};t%2?cg(Object(r),!0).forEach(function(n){o$(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 o$(e,t,r){return t=u$(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u$(e){var t=c$(e,"string");return qn(t)=="symbol"?t:t+""}function c$(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 s$=function(t,r){var n=et(r-t),i=Math.min(Math.abs(r-t),359.999);return n*i},yi=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)/Zi,h=s?a:a+o*l,d=Te(r,n,f,h),y=Te(r,n,i,h),v=s?a-o*l:a,p=Te(r,n,f*Math.cos(l*Zi),v);return{center:d,circleTangency:y,lineTangency:p,theta:l}},Xx=function(t){var r=t.cx,n=t.cy,i=t.innerRadius,a=t.outerRadius,o=t.startAngle,u=t.endAngle,c=s$(o,u),s=o+c,f=Te(r,n,a,o),l=Te(r,n,a,s),h="M ".concat(f.x,",").concat(f.y,`
30    A `).concat(a,",").concat(a,`,0,
31    `).concat(+(Math.abs(c)>180),",").concat(+(o>s),`,
32    `).concat(l.x,",").concat(l.y,`
33  `);if(i>0){var d=Te(r,n,i,o),y=Te(r,n,i,s);h+="L ".concat(y.x,",").concat(y.y,`
34            A `).concat(i,",").concat(i,`,0,
35            `).concat(+(Math.abs(c)>180),",").concat(+(o<=s),`,
36            `).concat(d.x,",").concat(d.y," Z")}else h+="L ".concat(r,",").concat(n," Z");return h},l$=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=et(f-s),h=yi({cx:r,cy:n,radius:a,angle:s,sign:l,cornerRadius:o,cornerIsExternal:c}),d=h.circleTangency,y=h.lineTangency,v=h.theta,p=yi({cx:r,cy:n,radius:a,angle:f,sign:-l,cornerRadius:o,cornerIsExternal:c}),b=p.circleTangency,x=p.lineTangency,w=p.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,`
37        a`).concat(o,",").concat(o,",0,0,1,").concat(o*2,`,0
38        a`).concat(o,",").concat(o,",0,0,1,").concat(-o*2,`,0
39      `):Xx({cx:r,cy:n,innerRadius:i,outerRadius:a,startAngle:s,endAngle:f});var m="M ".concat(y.x,",").concat(y.y,`
40    A`).concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(d.x,",").concat(d.y,`
41    A`).concat(a,",").concat(a,",0,").concat(+(O>180),",").concat(+(l<0),",").concat(b.x,",").concat(b.y,`
42    A`).concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(x.x,",").concat(x.y,`
43  `);if(i>0){var g=yi({cx:r,cy:n,radius:i,angle:s,sign:l,isExternal:!0,cornerRadius:o,cornerIsExternal:c}),_=g.circleTangency,A=g.lineTangency,P=g.theta,M=yi({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,`
44      A`).concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(E.x,",").concat(E.y,`
45      A`).concat(i,",").concat(i,",0,").concat(+(C>180),",").concat(+(l>0),",").concat(_.x,",").concat(_.y,`
46      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},f$={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},Yx=function(t){var r=sg(sg({},f$),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 d=Q("recharts-sector",h),y=o-a,v=Zt(u,y,0,!0),p;return v>0&&Math.abs(f-l)<360?p=l$({cx:n,cy:i,innerRadius:a,outerRadius:o,cornerRadius:Math.min(v,y/2),forceCornerRadius:c,cornerIsExternal:s,startAngle:f,endAngle:l}):p=Xx({cx:n,cy:i,innerRadius:a,outerRadius:o,startAngle:f,endAngle:l}),S.createElement("path",Zl({},Y(r,!0),{className:d,d:p,role:"img"}))};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)}function Jl(){return Jl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
46for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Jl.apply(this,arguments)}function lg(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 fg(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?lg(Object(r),!0).forEach(function(n){h$(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):lg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function h$(e,t,r){return t=p$(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p$(e){var t=d$(e,"string");return Ln(t)=="symbol"?t:t+""}function d$(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)}var hg={curveBasisClosed:V1,curveBasisOpen:X1,curveBasis:K1,curveBumpX:I1,curveBumpY:D1,curveLinearClosed:Y1,curveLinear:$a,curveMonotoneX:Z1,curveMonotoneY:J1,curveNatural:Q1,curveStep:eA,curveStepAfter:rA,curveStepBefore:tA},mi=function(t){return t.x===+t.x&&t.y===+t.y},an=function(t){return t.x},on=function(t){return t.y},v$=function(t,r){if(V(t))return t;var n="curve".concat(ja(t));return(n==="curveMonotone"||n==="curveBump")&&r?hg["".concat(n).concat(r==="vertical"?"Y":"X")]:hg[n]||$a},y$=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=v$(n,u),l=s?a.filter(function(v){return mi(v)}):a,h;if(Array.isArray(o)){var d=s?o.filter(function(v){return mi(v)}):o,y=l.map(function(v,p){return fg(fg({},v),{},{base:d[p]})});return u==="vertical"?h=ci().y(on).x1(an).x0(function(v){return v.base.x}):h=ci().x(an).y1(on).y0(function(v){return v.base.y}),h.defined(mi).curve(f),h(y)}return u==="vertical"&&q(o)?h=ci().y(on).x1(an).x0(o):q(o)?h=ci().x(an).y1(on).y0(o):h=b0().x(an).y(on),h.defined(mi).curve(f),h(l)},gr=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?y$(t):i;return N.createElement("path",Jl({},Y(t,!1),Oi(t),{className:Q("recharts-curve",r),d:o,ref:a}))};const{getOwnPropertyNames:m$,getOwnPropertySymbols:g$}=Object,{hasOwnProperty:b$}=Object.prototype;function Gs(e,t){return function(n,i,a){return e(n,i,a)&&t(n,i,a)}}function gi(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 x$(e){return e?.[Symbol.toStringTag]}function pg(e){return m$(e).concat(g$(e))}const w$=Object.hasOwn||((e,t)=>b$.call(e,t));function ir(e,t){return e===t||!e&&!t&&e!==e&&t!==t}const O$="__v",_$="__o",A$="_owner",{getOwnPropertyDescriptor:dg,keys:vg}=Object;function S$(e,t){return e.byteLength===t.byteLength&&Qi(new Uint8Array(e),new Uint8Array(t))}function P$(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 T$(e,t){return e.byteLength===t.byteLength&&Qi(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}function E$(e,t){return ir(e.getTime(),t.getTime())}function j$(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function M$(e,t){return e===t}function yg(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,d=u.value;if(r.equals(h[0],d[0],c,l,e,t,r)&&r.equals(h[1],d[1],h[0],d[0],e,t,r)){f=i[l]=!0;break}l++}if(!f)return!1;c++}return!0}const $$=ir;function C$(e,t,r){const n=vg(e);let i=n.length;if(vg(t).length!==i)return!1;for(;i-- >0;)if(!Zx(e,t,r,n[i]))return!1;return!0}function un(e,t,r){const n=pg(e);let i=n.length;if(pg(t).length!==i)return!1;let a,o,u;for(;i-- >0;)if(a=n[i],!Zx(e,t,r,a)||(o=dg(e,a),u=dg(t,a),(o||u)&&(!o||!u||o.configurable!==u.configurable||o.enumerable!==u.enumerable||o.writable!==u.writable)))return!1;return!0}function I$(e,t){return ir(e.valueOf(),t.valueOf())}function D$(e,t){return e.source===t.source&&e.flags===t.flags}function mg(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 Qi(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 R$(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 Zx(e,t,r,n){return(n===A$||n===_$||n===O$)&&(e.$$typeof||t.$$typeof)?!0:w$(t,n)&&r.equals(e[n],t[n],n,n,e,t,r)}const k$="[object ArrayBuffer]",N$="[object Arguments]",q$="[object Boolean]",L$="[object DataView]",B$="[object Date]",F$="[object Error]",z$="[object Map]",W$="[object Number]",U$="[object Object]",H$="[object RegExp]",G$="[object Set]",K$="[object String]",V$={"[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
46]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},X$="[object URL]",Y$=Object.prototype.toString;function Z$({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:d,unknownTagComparators:y}){return function(p,b,x){if(p===b)return!0;if(p==null||b==null)return!1;const w=typeof p;if(w!==typeof b)return!1;if(w!=="object")return w==="number"?u(p,b,x):w==="function"?a(p,b,x):!1;const O=p.constructor;if(O!==b.constructor)return!1;if(O===Object)return c(p,b,x);if(Array.isArray(p))return t(p,b,x);if(O===Date)return n(p,b,x);if(O===RegExp)return f(p,b,x);if(O===Map)return o(p,b,x);if(O===Set)return l(p,b,x);const m=Y$.call(p);if(m===B$)return n(p,b,x);if(m===H$)return f(p,b,x);if(m===z$)return o(p,b,x);if(m===G$)return l(p,b,x);if(m===U$)return typeof p.then!="function"&&typeof b.then!="function"&&c(p,b,x);if(m===X$)return d(p,b,x);if(m===F$)return i(p,b,x);if(m===N$)return c(p,b,x);if(V$[m])return h(p,b,x);if(m===k$)return e(p,b,x);if(m===L$)return r(p,b,x);if(m===q$||m===W$||m===K$)return s(p,b,x);if(y){let g=y[m];if(!g){const _=x$(p);_&&(g=y[_])}if(g)return g(p,b,x)}return!1}}function J$({circular:e,createCustomConfig:t,strict:r}){let n={areArrayBuffersEqual:S$,areArraysEqual:r?un:P$,areDataViewsEqual:T$,areDatesEqual:E$,areErrorsEqual:j$,areFunctionsEqual:M$,areMapsEqual:r?Gs(yg,un):yg,areNumbersEqual:$$,areObjectsEqual:r?un:C$,arePrimitiveWrappersEqual:I$,areRegExpsEqual:D$,areSetsEqual:r?Gs(mg,un):mg,areTypedArraysEqual:r?Gs(Qi,un):Qi,areUrlsEqual:R$,unknownTagComparators:void 0};if(t&&(n=Object.assign({},n,t(n))),e){const i=gi(n.areArraysEqual),a=gi(n.areMapsEqual),o=gi(n.areObjectsEqual),u=gi(n.areSetsEqual);n=Object.assign({},n,{areArraysEqual:i,areMapsEqual:a,areObjectsEqual:o,areSetsEqual:u})}return n}function Q$(e){return function(t,r,n,i,a,o,u){return e(t,r,u)}}function eC({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 tC=Rt();Rt({strict:!0});Rt({circular:!0});Rt({circular:!0,strict:!0});Rt({createInternalComparator:()=>ir});Rt({strict:!0,createInternalComparator:()=>ir});Rt({circular:!0,createInternalComparator:()=>ir});Rt({circular:!0,createInternalComparator:()=>ir,strict:!0});function Rt(e={}){const{circular:t=!1,createInternalComparator:r,createState:n,strict:i=!1}=e,a=J$(e),o=Z$(a),u=r?r(o):Q$(o);return eC({circular:t,comparator:o,createState:n,equals:u,strict:i})}function rC(e){typeof requestAnimationFrame<"u"&&requestAnimationFrame(e)}function gg(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):rC(i)};requestAnimationFrame(n)}function Ql(e){"@babel/helpers - typeof";return Ql=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},Ql(e)}function nC(e){return uC(e)||oC(e)||aC(e)||iC()}function iC(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
47In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function aC(e,t){if(e){if(typeof e=="string")return bg(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 bg(e,t)}}function bg(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 oC(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function uC(e){if(Array.isArray(e))return e}function cC(){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=nC(o),c=u[0],s=u.slice(1);if(typeof c=="number"){gg(i.bind(null,s),c);return}i(c),gg(i.bind(null,s));return}Ql(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 Bn(e){"@babel/helpers - typeof";return Bn=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},Bn(e)}function xg(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 wg(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};
47t%2?xg(Object(r),!0).forEach(function(n){Jx(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Jx(e,t,r){return t=sC(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sC(e){var t=lC(e,"string");return Bn(t)==="symbol"?t:String(t)}function lC(e,t){if(Bn(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Bn(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var fC=function(t,r){return[Object.keys(t),Object.keys(r)].reduce(function(n,i){return n.filter(function(a){return i.includes(a)})})},hC=function(t){return t},pC=function(t){return t.replace(/([A-Z])/g,function(r){return"-".concat(r.toLowerCase())})},yn=function(t,r){return Object.keys(r).reduce(function(n,i){return wg(wg({},n),{},Jx({},i,t(i,r[i])))},{})},Og=function(t,r,n){return t.map(function(i){return"".concat(pC(i)," ").concat(r,"ms ").concat(n)}).join(",")};function dC(e,t){return mC(e)||yC(e,t)||Qx(e,t)||vC()}function vC(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
48In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yC(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 mC(e){if(Array.isArray(e))return e}function gC(e){return wC(e)||xC(e)||Qx(e)||bC()}function bC(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
49In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Qx(e,t){if(e){if(typeof e=="string")return ef(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 ef(e,t)}}function xC(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function wC(e){if(Array.isArray(e))return ef(e)}function ef(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 ea=1e-4,ew=function(t,r){return[0,3*t,3*r-6*t,3*t-3*r+1]},tw=function(t,r){return t.map(function(n,i){return n*Math.pow(r,i)}).reduce(function(n,i){return n+i})},_g=function(t,r){return function(n){var i=ew(t,r);return tw(i,n)}},OC=function(t,r){return function(n){var i=ew(t,r),a=[].concat(gC(i.map(function(o,u){return o*u}).slice(1)),[0]);return tw(a,n)}},Ag=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(p){return parseFloat(p)}),f=dC(s,4);i=f[0],a=f[1],o=f[2],u=f[3]}}}var l=_g(i,o),h=_g(a,u),d=OC(i,o),y=function(b){return b>1?1:b<0?0:b},v=function(b){for(var x=b>1?1:b,w=x,O=0;O<8;++O){var m=l(w)-x,g=d(w);if(Math.abs(m-x)<ea||g<ea)return h(w);w=y(w-m/g)}return h(w)};return v.isStepper=!1,v},_C=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 d=-(f-l)*n,y=h*a,v=h+(d-y)*u/1e3,p=h*u/1e3+f;return Math.abs(p-l)<ea&&Math.abs(v)<ea?[l,0]:[p,v]};return c.isStepper=!0,c.dt=u,c},AC=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 Ag(i);case"spring":return _C();default:if(i.split("(")[0]==="cubic-bezier")return Ag(i)}return typeof i=="function"?i:null};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)}function Sg(e){return TC(e)||PC(e)||rw(e)||SC()}function SC(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
50In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}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 rf(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 Se(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};
50t%2?Pg(Object(r),!0).forEach(function(n){tf(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 tf(e,t,r){return t=EC(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function EC(e){var t=jC(e,"string");return Fn(t)==="symbol"?t:String(t)}function jC(e,t){if(Fn(e)!=="object"||e===null)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 MC(e,t){return IC(e)||CC(e,t)||rw(e,t)||$C()}function $C(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
51In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rw(e,t){if(e){if(typeof e=="string")return rf(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 rf(e,t)}}function rf(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 CC(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 IC(e){if(Array.isArray(e))return e}var ta=function(t,r,n){return t+(r-t)*n},nf=function(t){var r=t.from,n=t.to;return r!==n},DC=function e(t,r,n){var i=yn(function(a,o){if(nf(o)){var u=t(o.from,o.to,o.velocity),c=MC(u,2),s=c[0],f=c[1];return Se(Se({},o),{},{from:s,velocity:f})}return o},r);return n<1?yn(function(a,o){return nf(o)?Se(Se({},o),{},{velocity:ta(o.velocity,i[a].velocity,n),from:ta(o.from,i[a].from,n)}):o},r):e(t,i,n-1)};const RC=(function(e,t,r,n,i){var a=fC(e,t),o=a.reduce(function(p,b){return Se(Se({},p),{},tf({},b,[e[b],t[b]]))},{}),u=a.reduce(function(p,b){return Se(Se({},p),{},tf({},b,{from:e[b],velocity:0,to:t[b]}))},{}),c=-1,s,f,l=function(){return null},h=function(){return yn(function(b,x){return x.from},u)},d=function(){return!Object.values(u).filter(nf).length},y=function(b){s||(s=b);var x=b-s,w=x/r.dt;u=DC(r,u,w),i(Se(Se(Se({},e),t),h())),s=b,d()||(c=requestAnimationFrame(l))},v=function(b){f||(f=b);var x=(b-f)/n,w=yn(function(m,g){return ta.apply(void 0,Sg(g).concat([r(x)]))},o);if(i(Se(Se(Se({},e),t),w)),x<1)c=requestAnimationFrame(l);else{var O=yn(function(m,g){return ta.apply(void 0,Sg(g).concat([r(1)]))},o);i(Se(Se(Se({},e),t),O))}};return l=r.isStepper?y:v,function(){return requestAnimationFrame(l),function(){cancelAnimationFrame(c)}}});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)}var kC=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function NC(e,t){if(e==null)return{};var r=qC(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 qC(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 Ks(e){return zC(e)||FC(e)||BC(e)||LC()}function LC(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
52In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function BC(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 FC(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function zC(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}function Tg(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]:{};
52t%2?Tg(Object(r),!0).forEach(function(n){hn(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Tg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function hn(e,t,r){return t=nw(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function WC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UC(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,nw(n.key),n)}}function HC(e,t,r){return t&&UC(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function nw(e){var t=GC(e,"string");return jr(t)==="symbol"?t:String(t)}function GC(e,t){if(jr(e)!=="object"||e===null)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(t==="string"?String:Number)(e)}function KC(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 VC(e){var t=XC();return function(){var n=ra(e),i;if(t){var a=ra(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return uf(this,i)}}function uf(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 cf(e)}function cf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XC(){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 ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ra(e)}var ct=(function(e){KC(r,e);var t=VC(r);function r(n,i){var a;WC(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,d=o.duration;if(a.handleStyleChange=a.handleStyleChange.bind(cf(a)),a.changeStyle=a.changeStyle.bind(cf(a)),!u||d<=0)return a.state={style:{}},typeof h=="function"&&(a.state={style:f}),uf(a);if(l&&l.length)a.state={style:l[0].style};else if(s){if(typeof h=="function")return a.state={style:s},uf(a);a.state={style:c?hn({},c,s):s}}else a.state={style:{}};return a}return HC(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 d={style:c?hn({},c,f):f};this.state&&h&&(c&&h[c]!==f||!c&&h!==f)&&this.setState(d);return}if(!(tC(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 p={style:c?hn({},c,v):v};(c&&h[c]!==v||!c&&h!==v)&&this.setState(p)}this.runAnimation(Ye(Ye({},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,d=RC(o,u,AC(s),c,this.changeStyle),y=function(){a.stopJSAnimation=d()};
52this.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,d=function(v,p,b){if(b===0)return v;var x=p.duration,w=p.easing,O=w===void 0?"ease":w,m=p.style,g=p.properties,_=p.onAnimationEnd,A=b>0?o[b-1]:p,P=g||Object.keys(m);if(typeof O=="function"||O==="spring")return[].concat(Ks(v),[a.runJSAnimation.bind(a,{from:A.style,to:m,duration:x,easing:O}),x]);var M=Og(P,x,O),E=Ye(Ye(Ye({},A.style),m),{},{transition:M});return[].concat(Ks(v),[E,x,_]).filter(hC)};return this.manager.start([c].concat(Ks(o.reduce(d,[f,Math.max(h,u)])),[i.onAnimationEnd]))}},{key:"runAnimation",value:function(i){this.manager||(this.manager=cC());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,d=i.children,y=this.manager;if(this.unSubscribe=y.subscribe(this.handleStyleChange),typeof s=="function"||typeof d=="function"||s==="spring"){this.runJSAnimation(i);return}if(h.length>1){this.runStepAnimation(i);return}var v=u?hn({},u,c):c,p=Og(Object.keys(v),o,s);y.start([f,a,Ye(Ye({},v),{},{transition:p}),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=NC(i,kC),s=N.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(d){var y=d.props,v=y.style,p=v===void 0?{}:v,b=y.className,x=N.cloneElement(d,Ye(Ye({},c),{},{style:Ye(Ye({},p),f),className:b}));return x};return s===1?l(N.Children.only(a)):S.createElement("div",null,N.Children.map(a,function(h){return l(h)}))}}]),r})(N.PureComponent);ct.displayName="Animate";ct.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};ct.propTypes={from:re.oneOfType([re.object,re.string]),to:re.oneOfType([re.object,re.string]),attributeName:re.string,duration:re.number,begin:re.number,easing:re.oneOfType([re.string,re.func]),steps:re.arrayOf(re.shape({duration:re.number.isRequired,style:re.object.isRequired,easing:re.oneOfType([re.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),re.func]),properties:re.arrayOf("string"),onAnimationEnd:re.func})),children:re.oneOfType([re.node,re.func]),isActive:re.bool,canBegin:re.bool,onAnimationEnd:re.func,shouldReAnimate:re.bool,onAnimationStart:re.func,onAnimationReStart:re.func};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 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 YC(e,t){return eI(e)||QC(e,t)||JC(e,t)||ZC()}function ZC(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
53In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function JC(e,t){if(e){if(typeof e=="string")return Eg(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 Eg(e,t)}}function Eg(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 eI(e){if(Array.isArray(e))return e}function jg(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 Mg(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};
53t%2?jg(Object(r),!0).forEach(function(n){tI(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function tI(e,t,r){return t=rI(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rI(e){var t=nI(e,"string");return zn(t)=="symbol"?t:t+""}function nI(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 $g=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,d=4;h<d;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,`,
54        `).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,`,
55        `).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,`,
56        `).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,`
57            A `).concat(y,",").concat(y,",0,0,").concat(s,",").concat(t+c*y,",").concat(r,`
58            L `).concat(t+n-c*y,",").concat(r,`
59            A `).concat(y,",").concat(y,",0,0,").concat(s,",").concat(t+n,",").concat(r+u*y,`
60            L `).concat(t+n,",").concat(r+i-u*y,`
61            A `).concat(y,",").concat(y,",0,0,").concat(s,",").concat(t+n-c*y,",").concat(r+i,`
62            L `).concat(t+c*y,",").concat(r+i,`
63            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},iI=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},aI={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},Eh=function(t){var r=Mg(Mg({},aI),t),n=N.useRef(),i=N.useState(-1),a=YC(i,2),o=a[0],u=a[1];N.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,d=r.className,y=r.animationEasing,v=r.animationDuration,p=r.animationBegin,b=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",d);return x?S.createElement(ct,{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,g=O.height,_=O.x,A=O.y;return S.createElement(ct,{canBegin:o>0,from:"0px ".concat(o===-1?1:o,"px"),to:"".concat(o,"px 0px"),attributeName:"strokeDasharray",begin:p,duration:v,isActive:b,easing:y},S.createElement("path",na({},Y(r,!0),{className:w,d:$g(_,A,m,g,h),ref:n})))}):S.createElement("path",na({},Y(r,!0),{className:w,d:$g(c,s,f,l,h)}))};function sf(){return sf=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},sf.apply(this,arguments)}var Wa=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?N.createElement("circle",sf({},Y(t,!1),Oi(t),{className:o,cx:r,cy:n,r:i})):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)}var oI=["x","y","top","left","width","height","className"];function lf(){return lf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
63for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},lf.apply(this,arguments)}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 uI(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Cg(Object(r),!0).forEach(function(n){cI(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 cI(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=lI(e,"string");return Wn(t)=="symbol"?t:t+""}function lI(e,t){if(Wn(e)!="object"||!e)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)}function fI(e,t){if(e==null)return{};var r=hI(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 hI(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 pI=function(t,r,n,i,a,o){return"M".concat(t,",").concat(a,"v").concat(i,"M").concat(o,",").concat(r,"h").concat(n)},dI=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,d=h===void 0?0:h,y=t.className,v=fI(t,oI),p=uI({x:n,y:a,top:u,left:s,width:l,height:d},v);return!q(n)||!q(a)||!q(l)||!q(d)||!q(u)||!q(s)?null:S.createElement("path",lf({},Y(p,!0),{className:Q("recharts-cross",y),d:pI(n,a,l,d,u,s)}))},vI=mO();const yI=le(vI);var Vs,Ig;function mI(){if(Ig)return Vs;Ig=1;var e=Ot(),t=_t(),r="[object Boolean]";function n(i){return i===!0||i===!1||t(i)&&e(i)==r}return Vs=n,Vs}var gI=mI();const bI=le(gI);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 ia(){return ia=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},ia.apply(this,arguments)}function xI(e,t){return AI(e)||_I(e,t)||OI(e,t)||wI()}function wI(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
64In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function OI(e,t){if(e){if(typeof e=="string")return Dg(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 Dg(e,t)}}function Dg(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 _I(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 AI(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 kg(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){SI(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Rg(Object(r)).forEac
64h(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function SI(e,t,r){return t=PI(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function PI(e){var t=TI(e,"string");return Un(t)=="symbol"?t:t+""}function TI(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 Ng=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},EI={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},jI=function(t){var r=kg(kg({},EI),t),n=N.useRef(),i=N.useState(-1),a=xI(i,2),o=a[0],u=a[1];N.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,d=r.className,y=r.animationEasing,v=r.animationDuration,p=r.animationBegin,b=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",d);return b?S.createElement(ct,{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:b},function(w){var O=w.upperWidth,m=w.lowerWidth,g=w.height,_=w.x,A=w.y;return S.createElement(ct,{canBegin:o>0,from:"0px ".concat(o===-1?1:o,"px"),to:"".concat(o,"px 0px"),attributeName:"strokeDasharray",begin:p,duration:v,easing:y},S.createElement("path",ia({},Y(r,!0),{className:x,d:Ng(_,A,O,m,g),ref:n})))}):S.createElement("g",null,S.createElement("path",ia({},Y(r,!0),{className:x,d:Ng(c,s,f,l,h)})))},MI=["option","shapeType","propTransformer","activeClassName","isActive"];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 $I(e,t){if(e==null)return{};var r=CI(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 CI(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 aa(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){II(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 II(e,t,r){return t=DI(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function DI(e){var t=RI(e,"string");return Hn(t)=="symbol"?t:t+""}function RI(e,t){if(Hn(e)!="object"||!e)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 kI(e,t){return aa(aa({},t),e)}function NI(e,t){return e==="symbols"}function Lg(e){var t=e.shapeType,r=e.elementProps;switch(t){case"rectangle":return S.createElement(Eh,r);case"trapezoid":return S.createElement(jI,r);case"sector":return S.createElement(Yx,r);case"symbols":if(NI(t))return S.createElement(Qf,r);break;default:return null}}function qI(e){return N.isValidElement(e)?e.props:e}function LI(e){var t=e.option,r=e.shapeType,n=e.propTransformer,i=n===void 0?kI:n,a=e.activeClassName,o=a===void 0?"recharts-active-shape":a,u=e.isActive,c=$I(e,MI),s;if(N.isValidElement(t))s=N.cloneElement(t,aa(aa({},c),qI(t)));else if(V(t))s=t(c);else if(yI(t)&&!bI(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(ue,{className:o},s):s}function Ua(e,t){return t!=null&&"trapezoids"in e.props}function Ha(e,t){return t!=null&&"sectors"in e.props}function Gn(e,t){return t!=null&&"points"in e.props}function BI(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 FI(e,t){var r=e.endAngle===t.endAngle,n=e.startAngle===t.startAngle;return r&&n}function zI(e,t){var r=e.x===t.x,n=e.y===t.y,i=e.z===t.z;return r&&n&&i}function WI(e,t){var r;return Ua(e,t)?r=BI:Ha(e,t)?r=FI:Gn(e,t)&&(r=zI),r}function UI(e,t){var r;return Ua(e,t)?r="trapezoids":Ha(e,t)?r="sectors":Gn(e,t)&&(r="points"),r}function HI(e,t){if(Ua(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(Ha(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 Gn(e,t)?t.payload:{}}
64function GI(e){var t=e.activeTooltipItem,r=e.graphicalItem,n=e.itemData,i=UI(r,t),a=HI(r,t),o=n.filter(function(c,s){var f=br(a,c),l=r.props[i].filter(function(y){var v=WI(r,t);return v(y,t)}),h=r.props[i].indexOf(l[l.length-1]),d=s===h;return f&&d}),u=n.indexOf(o[o.length-1]);return u}var Xs,Bg;function KI(){if(Bg)return Xs;Bg=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 Xs=r,Xs}var Ys,Fg;function VI(){if(Fg)return Ys;Fg=1;var e=KI(),t=Oa(),r=l0();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,zg;function XI(){if(zg)return Zs;zg=1;var e=VI(),t=e();return Zs=t,Zs}var YI=XI();const oa=le(YI);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)}function Wg(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 Ug(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Wg(Object(r),!0).forEach(function(n){iw(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Wg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function iw(e,t,r){return t=ZI(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ZI(e){var t=JI(e,"string");return Kn(t)=="symbol"?t:t+""}function JI(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)}var QI=["Webkit","Moz","O","ms"],eD=function(t,r){var n=t.replace(/(\w)/,function(a){return a.toUpperCase()}),i=QI.reduce(function(a,o){return Ug(Ug({},a),{},iw({},o+n,r))},{});return i[t]=r,i};function Mr(e){"@babel/helpers - typeof";return Mr=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},Mr(e)}function ua(){return ua=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},ua.apply(this,arguments)}function Hg(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?Hg(Object(r),!0).forEach(function(n){Le(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Hg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function tD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gg(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 rD(e,t,r){return t&&Gg(e.prototype,t),r&&Gg(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function nD(e,t,r){return t=ca(t),iD(e,aw()?Reflect.construct(t,r||[],ca(e).constructor):t.apply(e,r))}function iD(e,t){if(t&&(Mr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return aD(e)}function aD(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})()}
64function ca(e){return ca=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ca(e)}function oD(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&&ff(e,t)}function ff(e,t){return ff=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},ff(e,t)}function Le(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=uD(e,"string");return Mr(t)=="symbol"?t:t+""}function uD(e,t){if(Mr(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Mr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var cD=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=dn().domain(oa(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}},Kg=function(t){return t.changedTouches&&!!t.changedTouches.length},$r=(function(e){function t(r){var n;return tD(this,t),n=nD(this,t,[r]),Le(n,"handleDrag",function(i){n.leaveTimer&&(clearTimeout(n.leaveTimer),n.leaveTimer=null),n.state.isTravellerMoving?n.handleTravellerMove(i):n.state.isSlideMoving&&n.handleSlideDrag(i)}),Le(n,"handleTouchMove",function(i){i.changedTouches!=null&&i.changedTouches.length>0&&n.handleDrag(i.changedTouches[0])}),Le(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()}),Le(n,"handleLeaveWrapper",function(){(n.state.isTravellerMoving||n.state.isSlideMoving)&&(n.leaveTimer=window.setTimeout(n.handleDragEnd,n.props.leaveTimeOut))}),Le(n,"handleEnterSlideOrTraveller",function(){n.setState({isTextActive:!0})}),Le(n,"handleLeaveSlideOrTraveller",function(){n.setState({isTextActive:!1})}),Le(n,"handleSlideDragStart",function(i){var a=Kg(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}
64return oD(t,e),rD(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),d=t.getIndexInRange(o,l),y=t.getIndexInRange(o,h);return{startIndex:d-d%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 V(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,d=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 p=this.getIndex({startX:o+v,endX:u+v});(p.startIndex!==h||p.endIndex!==d)&&y&&y(p),this.setState({startX:o+v,endX:u+v,slideMoveStartX:n.pageX})}},{key:"handleTravellerDragStart",value:function(n,i){var a=Kg(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,d=f.travellerWidth,y=f.onChange,v=f.gap,p=f.data,b={startX:this.state.startX,endX:this.state.endX},x=n.pageX-a;x>0?x=Math.min(x,l+h-d-s):x<0&&(x=Math.max(x,l-s)),b[o]=s+x;var w=this.getIndex(b),O=w.startIndex,m=w.endIndex,g=function(){var A=p.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(Le(Le({},o,s+x),"brushMoveStartX",n.pageX),function(){y&&g()&&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 d=u[h];i==="startX"&&d>=s||i==="endX"&&d<=c||this.setState(Le({},i,d),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=N.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,d=c.ariaLabel,y=c.data,v=c.startIndex,p=c.endIndex,b=Math.max(n,this.props.x),x=Js(Js({},Y(this.props,!1)),{},{x:b,y:s,width:f,height:l}),w=d||"Min value: ".concat((a=y[v])===null||a===void 0?void 0:a.name,", Max value: ").concat((o=y[p])===null||o===void 0?void 0:o.name);return S.createElement(ue,{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,d=5,y={pointerEvents:"none",fill:s};return S.createElement(ue,{className:"recharts-brush-texts"},S.createElement(Di,ua({textAnchor:"end",verticalAnchor:"middle",x:Math.min(l,h)-d,y:o+u/2},y),this.getTextOfTick(i)),S.createElement(Di,ua({textAnchor:"start",verticalAnchor:"middle",x:Math.max(l,h)+c+d,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,d=h.startX,y=h.endX,v=h.isTextActive,p=h.isSli
64deMoving,b=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=eD("userSelect","none");return S.createElement(ue,{className:w,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:m},this.renderBackground(),O&&this.renderPanorama(),this.renderSlide(d,y),this.renderTravellerLayer(d,"startX"),this.renderTravellerLayer(y,"endX"),(v||p||b||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):V(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?cD({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(d){return i.scale(d)});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}}])})(N.PureComponent);Le($r,"displayName","Brush");Le($r,"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,Vg;function sD(){if(Vg)return Qs;Vg=1;var e=Kf();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,Xg;function lD(){if(Xg)return el;Xg=1;var e=Yb(),t=Ct(),r=sD(),n=ke(),i=Oa();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 fD=lD();const hD=le(fD);var ot=function(t,r){var n=t.alwaysShow,i=t.ifOverflow;return n&&(i="extendDomain"),i===r},tl,Yg;function pD(){if(Yg)return tl;Yg=1;var e=Df(),t=c0(),r=Ct();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 tl=n,tl}var dD=pD();const vD=le(dD);var rl,Zg;function yD(){if(Zg)return rl;Zg=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 rl=e,rl}var nl,Jg;function mD(){if(Jg)return nl;Jg=1;var e=Kf();function t(r,n){var i=!0;return e(r,function(a,o,u){return i=!!n(a,o,u),i}),i}return nl=t,nl}var il,Qg;function gD(){if(Qg)return il;Qg=1;var e=yD(),t=mD(),r=Ct(),n=ke(),i=Oa();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 il=a,il}var bD=gD();const uw=le(bD);var xD=["x","y"];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 hf(){return hf=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},hf.apply(this,arguments)}function eb(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 cn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?eb(Object(r),!0).forEach(function(n){wD(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eb(Object(r)).forEac
64h(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function wD(e,t,r){return t=OD(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function OD(e){var t=_D(e,"string");return Vn(t)=="symbol"?t:t+""}function _D(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)}function AD(e,t){if(e==null)return{};var r=SD(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 SD(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 PD(e,t){var r=e.x,n=e.y,i=AD(e,xD),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 cn(cn(cn(cn(cn({},t),i),o?{x:o}:{}),c?{y:c}:{}),{},{height:f,width:h,name:t.name,radius:t.radius})}function tb(e){return S.createElement(LI,hf({shapeType:"rectangle",propTransformer:PD,activeClassName:"recharts-active-bar"},e))}var TD=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)||c1(n);return a?t(n,i):(a||Xt(),r)}},ED=["value","background"],cw;function Cr(e){"@babel/helpers - typeof";return Cr=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},Cr(e)}function jD(e,t){if(e==null)return{};var r=MD(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 MD(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 sa(){return sa=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},sa.apply(this,arguments)}function rb(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 ve(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?rb(Object(r),!0).forEach(function(n){Mt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rb(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function $D(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nb(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,lw(n.key),n)}}function CD(e,t,r){return t&&nb(e.prototype,t),r&&nb(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function ID(e,t,r){return t=la(t),DD(e,sw()?Reflect.construct(t,r||[],la(e).constructor):t.apply(e,r))}function DD(e,t){if(t&&(Cr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return RD(e)}function RD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(sw=function(){return!!e})()}function la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},la(e)}function kD(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&&pf(e,t)}function pf(e,t){return pf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},pf(e,t)}function Mt(e,t,r){return t=lw(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lw(e){var t=ND(e,"string");return Cr(t)=="symbol"?t:t+""}function ND(e,t){if(Cr(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Cr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var ai=(function(e){function t(){var r;$D(this,t);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return r=ID(this,t,[].concat(i)),Mt(r,"state",{isAnimationFinished:!1}),Mt(r,"id",Vr("recharts-bar-")),Mt(r,"handleAnimationEnd",function(){var o=r.props.onAnimationEnd;r.setState({isAnimationFinished:!0}),o&&o()}),Mt(r,"handleAnimationStart",function(){var o=r.props.onAnimationStart;r.setState({isAnimationFinished:!1}),o&&o()}),r}return kD(t,e),CD(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=Y(this.props,!1);return n&&n.map(function(l,h){var d=h===c,y=d?s:o,v=ve(ve(ve({},f),l),{},{isActive:d,option:y,index:h,dataKey:u,onAnimationStart:i.handleAnimationStart,onAnimationEnd:i.handleAnimationEnd});return S.createElement(ue,sa({className:"recharts-bar-rectangle"},_i(i.props,l,h),{key:"rectangle-".concat(l?.x,"-").concat(l?.y,"-").concat(l?.value,"-").concat(h)}),S.createElement(tb,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(ct,{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(d){var y=d.t,v=a.map(function(p,b){var x=h&&h[b];if(x){var w=Pe(x.x,p.x),O=Pe(x.y,p.y),m=Pe(x.width,p.width),g=Pe(x.height,p.height);return ve(ve({},p),{},{x:w(y),y:O(y),width:m(y),height:g(y)})}if(o==="horizontal"){var _=Pe(0,p.height),A=_(y);return ve(ve({},p),{},{y:p.y+p.height-A,height:A})}var P=Pe(0,p.width),M=P(y);return ve(ve({},p),{},{width:M})});return S.createElement(ue,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||!br(o,i))?this.renderRectanglesWithAnimation():this.renderRectanglesStatically(i)}}
64,{key:"renderBackground",value:function(){var n=this,i=this.props,a=i.data,o=i.dataKey,u=i.activeIndex,c=Y(this.props.background,!1);return a.map(function(s,f){s.value;var l=s.background,h=jD(s,ED);if(!l)return null;var d=ve(ve(ve(ve(ve({},h),{},{fill:"#eee"},l),c),_i(n.props,s,f)),{},{onAnimationStart:n.handleAnimationStart,onAnimationEnd:n.handleAnimationEnd,dataKey:o,index:f,className:"recharts-bar-background-rectangle"});return S.createElement(tb,sa({key:"background-bar-".concat(f),option:n.props.background,isActive:f===u},d))})}},{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=Ke(f,ii);if(!l)return null;var h=s==="vertical"?o[0].height/2:o[0].width/2,d=function(p,b){var x=Array.isArray(p.value)?p.value[1]:p.value;return{x:p.x,y:p.y,value:x,errorVal:Ce(p,b)}},y={clipPath:n?"url(#clipPath-".concat(i,")"):null};return S.createElement(ue,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:d})}))}},{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,d=n.isAnimationActive,y=n.background,v=n.id;if(i||!a||!a.length)return null;var p=this.state.isAnimationFinished,b=Q("recharts-bar",o),x=u&&u.allowDataOverflow,w=c&&c.allowDataOverflow,O=x||w,m=J(v)?this.id:v;return S.createElement(ue,{className:b},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(ue,{className:"recharts-bar-rectangles",clipPath:O?"url(#clipPath-".concat(m,")"):null},y?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(O,m),(!d||p)&&gt.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}}])})(N.PureComponent);cw=ai;Mt(ai,"displayName","Bar");Mt(ai,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!tr.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"});Mt(ai,"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,d=aM(n,r);if(!d)return null;var y=t.layout,v=r.type.defaultProps,p=v!==void 0?ve(ve({},v),r.props):r.props,b=p.dataKey,x=p.children,w=p.minPointSize,O=y==="horizontal"?o:a,m=s?O.scale.domain():null,g=pM({numericAxis:O}),_=Ke(x,z0),A=l.map(function(P,M){var E,T,j,C,$,D;s?E=oM(s[f+M],m):(E=Ce(P,b),Array.isArray(E)||(E=[g,E]));var R=TD(w,cw.defaultProps.minPointSize)(E[1],M);if(y==="horizontal"){var L,B=[o.scale(E[0]),o.scale(E[1])],U=B[0],G=B[1];T=Ym({axis:a,ticks:u,bandSize:i,offset:d.offset,entry:P,index:M}),j=(L=G??U)!==null&&L!==void 0?L:void 0,C=d.size;var z=U-G;if($=Number.isNaN(z)?0:z,D={x:T,y:o.y,width:C,height:o.height},Math.abs(R)>0&&Math.abs($)<Math.abs(R)){var K=et($||R)*(Math.abs(R)-Math.abs($));j-=K,$+=K}}else{var ce=[a.scale(E[0]),a.scale(E[1])],de=ce[0],Ne=ce[1];if(T=de,j=Ym({axis:o,ticks:c,bandSize:i,offset:d.offset,entry:P,index:M}),C=Ne-de,$=d.size,D={x:a.x,y:j,width:a.width,height:$},Math.abs(R)>0&&Math.abs(C)<Math.abs(R)){var kt=et(C||R)*(Math.abs(R)-Math.abs(C));C+=kt}}return ve(ve(ve({},P),{},{x:T,y:j,width:C,height:$,value:s?E:E[1],payload:P,background:D},_&&_[M]&&_[M].props),{},{tooltipPayload:[Kx(r,P)],tooltipPosition:{x:T+C/2,y:j+$/2}})});return ve({data:A,layout:y},h)});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 qD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ib(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 LD(e,t,r){return t&&ib(e.prototype,t),r&&ib(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function ab(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 Ze(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};
64t%2?ab(Object(r),!0).forEach(function(n){Ga(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ab(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Ga(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=BD(e,"string");return Xn(t)=="symbol"?t:t+""}function BD(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)}var hw=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=!!Be(s,ai);return f.reduce(function(d,y){var v=r[y],p=v.orientation,b=v.domain,x=v.padding,w=x===void 0?{}:x,O=v.mirror,m=v.reversed,g="".concat(p).concat(O?"Mirror":""),_,A,P,M,E;if(v.type==="number"&&(v.padding==="gap"||v.padding==="no-gap")){var T=b[1]-b[0],j=1/0,C=v.categoricalDomain.sort(f1);if(C.forEach(function(ce,de){de>0&&(j=Math.min((ce||0)-(C[de-1]||0),j))}),Number.isFinite(j)){var $=j/T,D=v.layout==="vertical"?n.height:n.width;if(v.padding==="gap"&&(_=$*D/2),v.padding==="no-gap"){var R=Zt(t.barCategoryGap,$*D),L=$*D/2;_=L-R-(L-R)/D*R}}}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=nM(v,a,h),U=B.scale,G=B.realScaleType;U.domain(b).range(A),iM(U);var z=hM(U,Ze(Ze({},v),{},{realScaleType:G}));i==="xAxis"?(E=p==="top"&&!O||p==="bottom"&&O,P=n.left,M=l[g]-E*v.height):i==="yAxis"&&(E=p==="left"&&!O||p==="right"&&O,P=l[g]-E*v.width,M=n.top);var K=Ze(Ze(Ze({},v),z),{},{realScaleType:G,x:P,y:M,scale:U,width:i==="xAxis"?n.width:v.width,height:i==="yAxis"?n.height:v.height});return K.bandSize=Yi(K,z),!v.hide&&i==="xAxis"?l[g]+=(E?-1:1)*K.height:v.hide||(l[g]+=(E?-1:1)*K.width),Ze(Ze({},d),{},Ga({},y,K))},{})},pw=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)}},FD=function(t){var r=t.x1,n=t.y1,i=t.x2,a=t.y2;return pw({x:r,y:n},{x:i,y:a})},dw=(function(){function e(t){qD(this,e),this.scale=t}return LD(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)}}])})();Ga(dw,"EPS",1e-4);var jh=function(t){var r=Object.keys(t).reduce(function(n,i){return Ze(Ze({},n),{},Ga({},i,dw.create(t[i])))},{});return Ze(Ze({},r),{},{apply:function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.bandAware,u=a.position;return vD(i,function(c,s){return r[s].apply(c,{bandAware:o,position:u})})},isInRange:function(i){return uw(i,function(a,o){return r[o].isInRange(a)})}})};function zD(e){return(e%180+180)%180}var WD=function(t){var r=t.width,n=t.height,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=zD(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)},al,ob;function UD(){if(ob)return al;ob=1;var e=Ct(),t=Ur(),r=_a();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 al=n,al}var ol,ub;function HD(){if(ub)return ol;ub=1;var e=u0(),t=Ct(),r=R_(),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 ol=i,ol}var ul,cb;function GD(){if(cb)return ul;cb=1;var e=UD(),t=HD(),r=e(t);return ul=r,ul}var KD=GD();const VD=le(KD);var XD=n0();const YD=le(XD);var ZD=YD(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("")}),Mh=N.createContext(void 0),$h=N.createContext(void 0),vw=N.createContext(void 0),yw=N.createContext({}),mw=N.createContext(void 0),gw=N.createContext(0),bw=N.createContext(0),sb=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=ZD(a);return S.createElement(Mh.Provider,{value:n},S.createElement($h.Provider,{value:i},S.createElement(yw.Provider,{value:a},S.createElement(vw.Provider,{value:f},S.createElement(mw.Provider,{value:o},S.createElement(gw.Provider,{value:s},S.createElement(bw.Provider,{value:c},u)))))))},JD=function(){return N.useContext(mw)},xw=function(t){var r=N.useContext(Mh);r==null&&Xt();var n=r[t];return n==null&&Xt(),n},QD=function(){var t=N.useContext(Mh);return Et(t)},eR=function(){var t=N.useContext($h),r=VD(t,function(n){return uw(n.domain,Number.isFinite)});return r||Et(t)},ww=function(t){var r=N.useContext($h);r==null&&Xt();var n=r[t];return n==null&&Xt(),n},tR=function(){var t=N.useContext(vw);return t},rR=function(){return N.useContext(yw)},Ch=function(){return N.useContext(bw)},Ih=function(){return N.useContext(gw)};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 nR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iR(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 aR(e,t,r){return t&&iR(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function oR(e,t,r){return t=fa(t),uR(e,Ow()?Reflect.construct(t,r||[],fa(e).constructor):t.apply(e,r))}function uR(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 cR(e)}function cR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ow(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Ow=function(){return!!e})()}
64function fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},fa(e)}function sR(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&&df(e,t)}function df(e,t){return df=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},df(e,t)}function lb(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 fb(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?lb(Object(r),!0).forEach(function(n){Dh(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):lb(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Dh(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=lR(e,"string");return Ir(t)=="symbol"?t:t+""}function lR(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)}function fR(e,t){return vR(e)||dR(e,t)||pR(e,t)||hR()}function hR(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
65In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pR(e,t){if(e){if(typeof e=="string")return hb(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 hb(e,t)}}function hb(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 dR(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 vR(e){if(Array.isArray(e))return e}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)}var yR=function(t,r){var n;return S.isValidElement(t)?n=S.cloneElement(t,r):V(t)?n=t(r):n=S.createElement("line",vf({},r,{className:"recharts-reference-line-line"})),n},mR=function(t,r,n,i,a,o,u,c,s){var f=a.x,l=a.y,h=a.width,d=a.height;if(n){var y=s.y,v=t.y.apply(y,{position:o});if(ot(s,"discard")&&!t.y.isInRange(v))return null;var p=[{x:f+h,y:v},{x:f,y:v}];return c==="left"?p.reverse():p}if(r){var b=s.x,x=t.x.apply(b,{position:o});if(ot(s,"discard")&&!t.x.isInRange(x))return null;var w=[{x,y:l+d},{x,y:l}];return u==="top"?w.reverse():w}if(i){var O=s.segment,m=O.map(function(g){return t.apply(g,{position:o})});return ot(s,"discard")&&hD(m,function(g){return!t.isInRange(g)})?null:m}return null};function gR(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=JD(),f=xw(i),l=ww(a),h=tR();if(!s||!h)return null;yt(c===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var d=jh({x:f.scale,y:l.scale}),y=we(t),v=we(r),p=n&&n.length===2,b=mR(d,y,v,p,h,e.position,f.orientation,l.orientation,e);if(!b)return null;var x=fR(b,2),w=x[0],O=w.x,m=w.y,g=x[1],_=g.x,A=g.y,P=ot(e,"hidden")?"url(#".concat(s,")"):void 0,M=fb(fb({clipPath:P},Y(e,!0)),{},{x1:O,y1:m,x2:_,y2:A});return S.createElement(ue,{className:Q("recharts-reference-line",u)},yR(o,M),je.renderCallByParent(e,FD({x1:O,y1:m,x2:_,y2:A})))}var Rh=(function(e){function t(){return nR(this,t),oR(this,t,arguments)}return sR(t,e),aR(t,[{key:"render",value:function(){return S.createElement(gR,this.props)}}])})(S.Component);Dh(Rh,"displayName","ReferenceLine");Dh(Rh,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});function yf(){return yf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
65for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},yf.apply(this,arguments)}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 pb(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 db(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?pb(Object(r),!0).forEach(function(n){Ka(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pb(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function bR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xR(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,Sw(n.key),n)}}function wR(e,t,r){return t&&xR(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function OR(e,t,r){return t=ha(t),_R(e,Aw()?Reflect.construct(t,r||[],ha(e).constructor):t.apply(e,r))}function _R(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 AR(e)}function AR(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 ha(e){return ha=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ha(e)}function SR(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 Ka(e,t,r){return t=Sw(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sw(e){var t=PR(e,"string");return Dr(t)=="symbol"?t:t+""}function PR(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 TR=function(t){var r=t.x,n=t.y,i=t.xAxis,a=t.yAxis,o=jh({x:i.scale,y:a.scale}),u=o.apply({x:r,y:n},{bandAware:!0});return ot(t,"discard")&&!o.isInRange(u)?null:u},Va=(function(e){function t(){return bR(this,t),OR(this,t,arguments)}return SR(t,e),wR(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=we(i),f=we(a);if(yt(u===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!s||!f)return null;var l=TR(this.props);if(!l)return null;var h=l.x,d=l.y,y=this.props,v=y.shape,p=y.className,b=ot(this.props,"hidden")?"url(#".concat(c,")"):void 0,x=db(db({clipPath:b},Y(this.props,!0)),{},{cx:h,cy:d});return S.createElement(ue,{className:Q("recharts-reference-dot",p)},t.renderDot(v,x),je.renderCallByParent(this.props,{x:h-o,y:d-o,width:2*o,height:2*o}))}}])})(S.Component);Ka(Va,"displayName","ReferenceDot");Ka(Va,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1});Ka(Va,"renderDot",function(e,t){var r;return S.isValidElement(e)?r=S.cloneElement(e,t):V(e)?r=e(t):r=S.createElement(Wa,yf({},t,{cx:t.cx,cy:t.cy,className:"recharts-reference-dot-dot"})),r});function gf(){return gf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
65for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},gf.apply(this,arguments)}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 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){Xa(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 ER(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jR(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,Tw(n.key),n)}}function MR(e,t,r){return t&&jR(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function $R(e,t,r){return t=pa(t),CR(e,Pw()?Reflect.construct(t,r||[],pa(e).constructor):t.apply(e,r))}function CR(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 IR(e)}function IR(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})()}function pa(e){return pa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},pa(e)}function DR(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 Xa(e,t,r){return t=Tw(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tw(e){var t=RR(e,"string");return Rr(t)=="symbol"?t:t+""}function RR(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 String(e)}var kR=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=jh({x:f.scale,y:l.scale}),d={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 ot(a,"discard")&&(!h.isInRange(d)||!h.isInRange(y))?null:pw(d,y)},Ya=(function(e){function t(){return ER(this,t),$R(this,t,arguments)}return DR(t,e),MR(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;yt(s===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var l=we(i),h=we(a),d=we(o),y=we(u),v=this.props.shape;if(!l&&!h&&!d&&!y&&!v)return null;var p=kR(l,h,d,y,this.props);if(!p&&!v)return null;var b=ot(this.props,"hidden")?"url(#".concat(f,")"):void 0;return S.createElement(ue,{className:Q("recharts-reference-area",c)},t.renderRect(v,yb(yb({clipPath:b},Y(this.props,!0)),p)),je.renderCallByParent(this.props,p))}}])})(S.Component);Xa(Ya,"displayName","ReferenceArea");Xa(Ya,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1});Xa(Ya,"renderRect",function(e,t){var r;return S.isValidElement(e)?r=S.cloneElement(e,t):V(e)?r=e(t):r=S.createElement(Eh,gf({},t,{className:"recharts-reference-area-rect"})),r});function Ew(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 NR(e,t,r){var n={width:e.width+t.width,height:e.height+t.height};return WD(n,r)}
65function qR(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 da(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 LR(e,t){return Ew(e,t+1)}function BR(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:Ew(n,s)};var v=c,p,b=function(){return p===void 0&&(p=r(y,v)),p},x=y.coordinate,w=c===0||da(e,x,b,f,u);w||(c=0,f=o,s+=1),w&&(f=x+e*(b()/2+i),c+=s)},h;s<=a.length;)if(h=l(),h)return h.v;return[]}function Yn(e){"@babel/helpers - typeof";return Yn=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},Yn(e)}function mb(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 Ee(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?mb(Object(r),!0).forEach(function(n){FR(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):mb(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function FR(e,t,r){return t=zR(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zR(e){var t=WR(e,"string");return Yn(t)=="symbol"?t:t+""}function WR(e,t){if(Yn(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Yn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function UR(e,t,r,n,i){for(var a=(n||[]).slice(),o=a.length,u=t.start,c=t.end,s=function(h){var d=a[h],y,v=function(){return y===void 0&&(y=r(d,h)),y};if(h===o-1){var p=e*(d.coordinate+e*v()/2-c);a[h]=d=Ee(Ee({},d),{},{tickCoord:p>0?d.coordinate-p*e:d.coordinate})}else a[h]=d=Ee(Ee({},d),{},{tickCoord:d.coordinate});var b=da(e,d.tickCoord,v,u,c);b&&(c=d.tickCoord-e*(v()/2+i),a[h]=Ee(Ee({},d),{},{isShow:!0}))},f=o-1;f>=0;f--)s(f);return a}function HR(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=Ee(Ee({},f),{},{tickCoord:h>0?f.coordinate-h*e:f.coordinate});var d=da(e,f.tickCoord,function(){return l},c,s);d&&(s=f.tickCoord-e*(l/2+i),o[u-1]=Ee(Ee({},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 g=e*(w.coordinate-e*m()/2-c);o[x]=w=Ee(Ee({},w),{},{tickCoord:g<0?w.coordinate-g*e:w.coordinate})}else o[x]=w=Ee(Ee({},w),{},{tickCoord:w.coordinate});var _=da(e,w.tickCoord,m,c,s);_&&(c=w.tickCoord+e*(m()/2+i),o[x]=Ee(Ee({},w),{},{isShow:!0}))},p=0;p<y;p++)v(p);return o}function kh(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)||tr.isSsr)return LR(i,typeof c=="number"&&q(c)?c:0);var h=[],d=u==="top"||u==="bottom"?"width":"height",y=f&&d==="width"?pn(f,{fontSize:t,letterSpacing:r}):{width:0,height:0},v=function(w,O){var m=V(s)?s(w.value,O):w.value;return d==="width"?NR(pn(m,{fontSize:t,letterSpacing:r}),y,l):pn(m,{fontSize:t,letterSpacing:r})[d]},p=i.length>=2?et(i[1].coordinate-i[0].coordinate):1,b=qR(a,p,d);return c==="equidistantPreserveStart"?BR(p,b,v,i,o):(c==="preserveStart"||c==="preserveStartEnd"?h=HR(p,b,v,i,o,c==="preserveStartEnd"):h=UR(p,b,v,i,o),h.filter(function(x){return x.isShow}))}var GR=["viewBox"],KR=["viewBox"],VR=["ticks"];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 hr(){return hr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
65for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},hr.apply(this,arguments)}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 be(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){Nh(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 cl(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 YR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bb(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,Mw(n.key),n)}}function ZR(e,t,r){return t&&bb(e.prototype,t),r&&bb(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function JR(e,t,r){return t=va(t),QR(e,jw()?Reflect.construct(t,r||[],va(e).constructor):t.apply(e,r))}function QR(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 ek(e)}function ek(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(jw=function(){return!!e})()}function va(e){return va=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},va(e)}function tk(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&&xf(e,t)}function xf(e,t){return xf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},xf(e,t)}function Nh(e,t,r){return t=Mw(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mw(e){var t=rk(e,"string");return kr(t)=="symbol"?t:t+""}function rk(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 String(e)}var Jr=(function(e){function t(r){var n;return YR(this,t),n=JR(this,t,[r]),n.state={fontSize:"",letterSpacing:""},n}return tk(t,e),ZR(t,[{key:"shouldComponentUpdate",value:function(n,i){var a=n.viewBox,o=cl(n,GR),u=this.props,c=u.viewBox,s=cl(u,KR);return!dr(a,c)||!dr(o,s)||!dr(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,d,y,v,p,b,x,w=l?-1:1,O=n.tickSize||f,m=q(n.tickCoord)?n.tickCoord:n.coordinate;switch(s){case"top":d=y=n.coordinate,p=o+ +!l*c,v=p-w*O,x=v-w*h,b=m;break;case"left":v=p=n.coordinate,y=a+ +!l*u,d=y-w*O,b=d-w*h,x=m;break;case"right":v=p=n.coordinate,y=a+ +l*u,d=y+w*O,b=d+w*h,x=m;break;default:d=y=n.coordinate,p=o+ +l*c,v=p+w*O,x=v+w*h,b=m;break}return{line:{x1:d,y1:v,x2:y,y2:p},tick:{x:b,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=be(be(be({},Y(this.props,!1)),Y(f,!1)),{},{fill:"none"});if(c==="top"||c==="bottom"){var h=+(c==="top"&&!s||c==="bottom"&&s);l=be(be({},l),{}
65,{x1:i,y1:a+h*u,x2:i+o,y2:a+h*u})}else{var d=+(c==="left"&&!s||c==="right"&&s);l=be(be({},l),{},{x1:i+d*o,y1:a,x2:i+d*o,y2:a+u})}return S.createElement("line",hr({},l,{className:Q("recharts-cartesian-axis-line",Ge(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,d=kh(be(be({},this.props),{},{ticks:n}),i,a),y=this.getTickTextAnchor(),v=this.getTickVerticalAnchor(),p=Y(this.props,!1),b=Y(f,!1),x=be(be({},p),{},{fill:"none"},Y(c,!1)),w=d.map(function(O,m){var g=o.getTickLineCoord(O),_=g.line,A=g.tick,P=be(be(be(be({textAnchor:y,verticalAnchor:v},p),{},{stroke:"none",fill:s},b),A),{},{index:m,payload:O,visibleTicksCount:d.length,tickFormatter:l});return S.createElement(ue,hr({className:"recharts-cartesian-axis-tick",key:"tick-".concat(O.value,"-").concat(O.coordinate,"-").concat(O.tickCoord)},_i(o.props,O,m)),c&&S.createElement("line",hr({},x,_,{className:Q("recharts-cartesian-axis-tick-line",Ge(c,"className"))})),f&&t.renderTickItem(f,P,"".concat(V(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,d=cl(l,VR),y=h;return V(c)&&(y=h&&h.length>0?c(this.props):c(d)),o<=0||u<=0||!y||!y.length?null:S.createElement(ue,{className:Q("recharts-cartesian-axis",s),ref:function(p){n.layerReference=p}},a&&this.renderAxisLine(),this.renderTicks(y,this.state.fontSize,this.state.letterSpacing),je.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,be(be({},i),{},{className:u})):V(n)?o=n(be(be({},i),{},{className:u})):o=S.createElement(Di,hr({},i,{className:"recharts-cartesian-axis-tick-value"}),a),o}}])})(N.Component);Nh(Jr,"displayName","CartesianAxis");Nh(Jr,"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 nk=["x1","y1","x2","y2","key"],ik=["offset"];function Qt(e){"@babel/helpers - typeof";return Qt=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},Qt(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 Me(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){ak(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 ak(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=uk(e,"string");return Qt(t)=="symbol"?t:t+""}function uk(e,t){if(Qt(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Qt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ht(){return Ht=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},Ht.apply(this,arguments)}function wb(e,t){if(e==null)return{};var r=ck(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 ck(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 sk=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 $w(e,t){var r;if(S.isValidElement(e))r=S.cloneElement(e,t);else if(V(e))r=e(t);else{var n=t.x1,i=t.y1,a=t.x2,o=t.y2,u=t.key,c=wb(t,nk),s=Y(c,!1);s.offset;var f=wb(s,ik);r=S.createElement("line",Ht({},f,{x1:n,y1:i,x2:a,y2:o,fill:"none",key:u}))}return r}function lk(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=Me(Me({},e),{}
65,{x1:t,y1:u,x2:t+r,y2:u,key:"line-".concat(c),index:c});return $w(i,s)});return S.createElement("g",{className:"recharts-cartesian-grid-horizontal"},o)}function fk(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=Me(Me({},e),{},{x1:u,y1:t,x2:u,y2:t+r,key:"line-".concat(c),index:c});return $w(i,s)});return S.createElement("g",{className:"recharts-cartesian-grid-vertical"},o)}function hk(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,d){return h-d});i!==f[0]&&f.unshift(0);var l=f.map(function(h,d){var y=!f[d+1],v=y?i+o-h:f[d+1]-h;if(v<=0)return null;var p=d%t.length;return S.createElement("rect",{key:"react-".concat(d),y:h,x:n,height:v,width:a,stroke:"none",fill:t[p],fillOpacity:r,className:"recharts-cartesian-grid-bg"})});return S.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},l)}function pk(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,d){return h-d});a!==f[0]&&f.unshift(0);var l=f.map(function(h,d){var y=!f[d+1],v=y?a+u-h:f[d+1]-h;if(v<=0)return null;var p=d%n.length;return S.createElement("rect",{key:"react-".concat(d),x:h,y:o,width:v,height:c,stroke:"none",fill:n[p],fillOpacity:i,className:"recharts-cartesian-grid-bg"})});return S.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},l)}var dk=function(t,r){var n=t.xAxis,i=t.width,a=t.height,o=t.offset;return Hx(kh(Me(Me(Me({},Jr.defaultProps),n),{},{ticks:dt(n,!0),viewBox:{x:0,y:0,width:i,height:a}})),o.left,o.left+o.width,r)},vk=function(t,r){var n=t.yAxis,i=t.width,a=t.height,o=t.offset;return Hx(kh(Me(Me(Me({},Jr.defaultProps),n),{},{ticks:dt(n,!0),viewBox:{x:0,y:0,width:i,height:a}})),o.top,o.top+o.height,r)},sr={horizontal:!0,vertical:!0,stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function yk(e){var t,r,n,i,a,o,u=Ch(),c=Ih(),s=rR(),f=Me(Me({},e),{},{stroke:(t=e.stroke)!==null&&t!==void 0?t:sr.stroke,fill:(r=e.fill)!==null&&r!==void 0?r:sr.fill,horizontal:(n=e.horizontal)!==null&&n!==void 0?n:sr.horizontal,horizontalFill:(i=e.horizontalFill)!==null&&i!==void 0?i:sr.horizontalFill,vertical:(a=e.vertical)!==null&&a!==void 0?a:sr.vertical,verticalFill:(o=e.verticalFill)!==null&&o!==void 0?o:sr.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,d=f.width,y=f.height,v=f.syncWithTicks,p=f.horizontalValues,b=f.verticalValues,x=QD(),w=eR();if(!q(d)||d<=0||!q(y)||y<=0||!q(l)||l!==+l||!q(h)||h!==+h)return null;var O=f.verticalCoordinatesGenerator||dk,m=f.horizontalCoordinatesGenerator||vk,g=f.horizontalPoints,_=f.verticalPoints;if((!g||!g.length)&&V(m)){var A=p&&p.length,P=m({yAxis:w?Me(Me({},w),{},{ticks:A?p:w.ticks}):void 0,width:u,height:c,offset:s},A?!0:v);yt(Array.isArray(P),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(Qt(P),"]")),Array.isArray(P)&&(g=P)}if((!_||!_.length)&&V(O)){var M=b&&b.length,E=O({xAxis:x?Me(Me({},x),{},{ticks:M?b:x.ticks}):void 0,width:u,height:c,offset:s},M?!0:v);yt(Array.isArray(E),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(Qt(E),"]")),Array.isArray(E)&&(_=E)}return S.createElement("g",{className:"recharts-cartesian-grid"},S.createElement(sk,{fill:f.fill,fillOpacity:f.fillOpacity,x:f.x,y:f.y,width:f.width,height:f.height,ry:f.ry}),S.createElement(lk,Ht({},f,{offset:s,horizontalPoints:g,xAxis:x,yAxis:w})),S.createElement(fk,Ht({},f,{offset:s,verticalPoints:_,xAxis:x,yAxis:w})),S.createElement(hk,Ht({},f,{horizontalPoints:g})),S.createElement(pk,Ht({},f,{verticalPoints:_})))}yk.displayName="CartesianGrid";var mk=["type","layout","connectNulls","ref"],gk=["key"];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 Ob(e,t){if(e==null)return{};var r=bk(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 bk(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 mn(){return mn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
65for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},mn.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 qe(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){Je(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 lr(e){return _k(e)||Ok(e)||wk(e)||xk()}function xk(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
66In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function wk(e,t){if(e){if(typeof e=="string")return wf(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 wf(e,t)}}function Ok(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function _k(e){if(Array.isArray(e))return wf(e)}function wf(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 Ak(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,Iw(n.key),n)}}function Sk(e,t,r){return t&&Ab(e.prototype,t),r&&Ab(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Pk(e,t,r){return t=ya(t),Tk(e,Cw()?Reflect.construct(t,r||[],ya(e).constructor):t.apply(e,r))}function Tk(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 Ek(e)}function Ek(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 ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ya(e)}function jk(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 Je(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=Mk(e,"string");return Nr(t)=="symbol"?t:t+""}function Mk(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 String(e)}var Za=(function(e){function t(){var r;Ak(this,t);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return r=Pk(this,t,[].concat(i)),Je(r,"state",{isAnimationFinished:!0,totalLength:0}),Je(r,"generateSimpleStrokeDasharray",function(o,u){return"".concat(u,"px ").concat(o-u,"px")}),Je(r,"getStrokeDasharray",function(o,u,c){var s=c.reduce(function(b,x){return b+x});if(!s)return r.generateSimpleStrokeDasharray(u,o);for(var f=Math.floor(o/s),l=o%s,h=u-o,d=[],y=0,v=0;y<c.length;v+=c[y],++y)if(v+c[y]>l){d=[].concat(lr(c.slice(0,y)),[l-v]);break}var p=d.length%2===0?[0,h]:[h];return[].concat(lr(t.repeat(c,f)),lr(d),p).map(function(b){return"".concat(b,"px")}).join(", ")}),Je(r,"id",Vr("recharts-line-")),Je(r,"pathRef",function(o){r.mainCurve=o}),Je(r,"handleAnimationEnd",function(){r.setState({isAnimationFinished:!0}),r.props.onAnimationEnd&&r.props.onAnimationEnd()}),Je(r,"handleAnimationStart",function(){r.setState({isAnimationFinished:!1}),r.props.onAnimationStart&&r.props.onAnimationStart()}),r}
66return jk(t,e),Sk(t,[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var n=this.getTotalLength();this.setState({totalLength:n})}}},{key:"componentDidUpdate",value:function(){if(this.props.isAnimationActive){var n=this.getTotalLength();n!==this.state.totalLength&&this.setState({totalLength:n})}}},{key:"getTotalLength",value:function(){var n=this.mainCurve;try{return n&&n.getTotalLength&&n.getTotalLength()||0}catch{return 0}}},{key:"renderErrorBar",value:function(n,i){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var a=this.props,o=a.points,u=a.xAxis,c=a.yAxis,s=a.layout,f=a.children,l=Ke(f,ii);if(!l)return null;var h=function(v,p){return{x:v.x,y:v.y,value:v.value,errorVal:Ce(v.payload,p)}},d={clipPath:n?"url(#clipPath-".concat(i,")"):null};return S.createElement(ue,d,l.map(function(y){return S.cloneElement(y,{key:"bar-".concat(y.props.dataKey),data:o,xAxis:u,yAxis:c,layout:s,dataPointFormatter:h})}))}},{key:"renderDots",value:function(n,i,a){var o=this.props.isAnimationActive;if(o&&!this.state.isAnimationFinished)return null;var u=this.props,c=u.dot,s=u.points,f=u.dataKey,l=Y(this.props,!1),h=Y(c,!0),d=s.map(function(v,p){var b=qe(qe(qe({key:"dot-".concat(p),r:3},l),h),{},{index:p,cx:v.x,cy:v.y,value:v.value,dataKey:f,payload:v.payload,points:s});return t.renderDotItem(c,b)}),y={clipPath:n?"url(#clipPath-".concat(i?"":"dots-").concat(a,")"):null};return S.createElement(ue,mn({className:"recharts-line-dots",key:"dots"},y),d)}},{key:"renderCurveStatically",value:function(n,i,a,o){var u=this.props,c=u.type,s=u.layout,f=u.connectNulls;u.ref;var l=Ob(u,mk),h=qe(qe(qe({},Y(l,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:i?"url(#clipPath-".concat(a,")"):null,points:n},o),{},{type:c,layout:s,connectNulls:f});return S.createElement(gr,mn({},h,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(n,i){var a=this,o=this.props,u=o.points,c=o.strokeDasharray,s=o.isAnimationActive,f=o.animationBegin,l=o.animationDuration,h=o.animationEasing,d=o.animationId,y=o.animateNewValues,v=o.width,p=o.height,b=this.state,x=b.prevPoints,w=b.totalLength;return S.createElement(ct,{begin:f,duration:l,isActive:s,easing:h,from:{t:0},to:{t:1},key:"line-".concat(d),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(O){var m=O.t;if(x){var g=x.length/u.length,_=u.map(function(T,j){var C=Math.floor(j*g);if(x[C]){var $=x[C],D=Pe($.x,T.x),R=Pe($.y,T.y);return qe(qe({},T),{},{x:D(m),y:R(m)})}if(y){var L=Pe(v*2,T.x),B=Pe(p/2,T.y);return qe(qe({},T),{},{x:L(m),y:B(m)})}return qe(qe({},T),{},{x:T.x,y:T.y})});return a.renderCurveStatically(_,n,i)}var A=Pe(0,w),P=A(m),M;if(c){var E="".concat(c).split(/[,\s]+/gim).map(function(T){return parseFloat(T)});M=a.getStrokeDasharray(P,w,E)}else M=a.generateSimpleStrokeDasharray(w,P);return a.renderCurveStatically(u,n,i,{strokeDasharray:M})})}},{key:"renderCurve",value:function(n,i){var a=this.props,o=a.points,u=a.isAnimationActive,c=this.state,s=c.prevPoints,f=c.totalLength;return u&&o&&o.length&&(!s&&f>0||!br(s,o))?this.renderCurveWithAnimation(n,i):this.renderCurveStatically(o,n,i)}},{key:"render",value:function(){var n,i=this.props,a=i.hide,o=i.dot,u=i.points,c=i.className,s=i.xAxis,f=i.yAxis,l=i.top,h=i.left,d=i.width,y=i.height,v=i.isAnimationActive,p=i.id;if(a||!u||!u.length)return null;var b=this.state.isAnimationFinished,x=u.length===1,w=Q("recharts-line",c),O=s&&s.allowDataOverflow,m=f&&f.allowDataOverflow,g=O||m,_=J(p)?this.id:p,A=(n=Y(o,!1))!==null&&n!==void 0?n:{r:3,strokeWidth:2},P=A.r,M=P===void 0?3:P,E=A.strokeWidth,T=E===void 0?2:E,j=p0(o)?o:{},C=j.clipDot,$=C===void 0?!0:C,D=M*2+T;return S.createElement(ue,{className:w},O||m?S.createElement("defs",null,S.createElement("clipPath",{id:"clipPath-".concat(_)},S.createElement("rect",{x:O?h:h-d/2,y:m?l:l-y/2,width:O?d:d*2,height:m?y:y*2})),!$&&S.createElement("clipPath",{id:"clipPath-dots-".concat(_)},S.createElement("rect",{x:h-D/2,y:l-D/2,width:d+D,height:y+D}))):null,!x&&this.renderCurve(g,_),this.renderErrorBar(g,_),(x||o)&&this.renderDots(g,$,_),(!v||b)&&gt.renderCallByParent(this.props,u))}}],[{key:"getDerivedStateFromProps",value:function(n,i){return n.animationId!==i.prevAnimationId?{prevAnimationId:n.animationId,curPoints:n.points,prevPoints:i.curPoints}:n.points!==i.curPoints?{curPoints:n.points}:null}},{key:"repeat",value:function(n,i){for(var a=n.length%2!==0?[].concat(lr(n),[0]):n,o=[],u=0;u<i;
66++u)o=[].concat(lr(o),lr(a));return o}},{key:"renderDotItem",value:function(n,i){var a;if(S.isValidElement(n))a=S.cloneElement(n,i);else if(V(n))a=n(i);else{var o=i.key,u=Ob(i,gk),c=Q("recharts-line-dot",typeof n!="boolean"?n.className:"");a=S.createElement(Wa,mn({key:o},u,{className:c}))}return a}}])})(N.PureComponent);Je(Za,"displayName","Line");Je(Za,"defaultProps",{xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:"line",stroke:"#3182bd",strokeWidth:1,fill:"#fff",points:[],isAnimationActive:!tr.isSsr,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",hide:!1,label:!1});Je(Za,"getComposedData",function(e){var t=e.props,r=e.xAxis,n=e.yAxis,i=e.xAxisTicks,a=e.yAxisTicks,o=e.dataKey,u=e.bandSize,c=e.displayedData,s=e.offset,f=t.layout,l=c.map(function(h,d){var y=Ce(h,o);return f==="horizontal"?{x:Xi({axis:r,ticks:i,bandSize:u,entry:h,index:d}),y:J(y)?null:n.scale(y),value:y,payload:h}:{x:J(y)?null:r.scale(y),y:Xi({axis:n,ticks:a,bandSize:u,entry:h,index:d}),value:y,payload:h}});return qe({points:l,layout:f},s)});var $k=["layout","type","stroke","connectNulls","isRange","ref"],Ck=["key"],Dw;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 Rw(e,t){if(e==null)return{};var r=Ik(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 Ik(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 Gt(){return Gt=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},Gt.apply(this,arguments)}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 Pt(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){it(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 Dk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pb(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,Nw(n.key),n)}}function Rk(e,t,r){return t&&Pb(e.prototype,t),r&&Pb(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function kk(e,t,r){return t=ma(t),Nk(e,kw()?Reflect.construct(t,r||[],ma(e).constructor):t.apply(e,r))}function Nk(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 kw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(kw=function(){return!!e})()}function ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ma(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&&_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 it(e,t,r){return t=Nw(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nw(e){var t=Bk(e,"string");return qr(t)=="symbol"?t:t+""}function Bk(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 ar=(function(e){function t(){var r;Dk(this,t);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return r=kk(this,t,[].concat(i)),it(r,"state",{isAnimationFinished:!0}),it(r,"id",Vr("recharts-area-")),it(r,"handleAnimationEnd",function(){var o=r.props.onAnimationEnd;r.setState({isAnimationFinished:!0}),V(o)&&o()}),it(r,"handleAnimationStart",function(){var o=r.props.onAnimationStart;r.setState({isAnimationFinished:!1}),V(o)&&o()}),r}return Lk(t,e),Rk(t,[{key:"renderDots",value:function(n,i,a){var o=this.props.isAnimationActive,u=this.state.isAnimationFinished;if(o&&!u)return null;var c=this.props,s=c.dot,f=c.points,l=c.dataKey,h=Y(this.props,!1),d=Y(s,!0),y=f.map(function(p,b){var x=Pt(Pt(Pt({key:"dot-".concat(b),r:3},h),d),{},{index:b,cx:p.x,cy:p.y,dataKey:l,value:p.value,payload:p.payload,points:f});return t.renderDotItem(s,x)}),v={clipPath:n?"url(#clipPath-".concat(i?"":"dots-").concat(a,")"):null};return S.createElement(ue,Gt({className:"recharts-area-dots"},v),y)}},{key:"renderHorizontalRect",value:function(n){var i=this.props,a=i.baseLine,o=i.points,u=i.strokeWidth,c=o[0].x,s=o[o.length-1].x,f=n*Math.abs(c-s),l=jt(o.map(function(h){return h.y||0}));return q(a)&&typeof a=="number"?l=Math.max(a,l):a&&Array.isArray(a)&&a.length&&(l=Math.max(jt(a.map(function(h){return h.y||0})),l)),q(l)?S.createElement("rect",{x:c<s?c:c-f,y:0,width:f,height:Math.floor(l+(u?parseInt("".concat(u),10):1))}):null}},{key:"renderVerticalRect",value:function(n){var i=this.props,a=i.baseLine,o=i.points,u=i.strokeWidth,c=o[0].y,s=o[o.length-1].y,f=n*Math.abs(c-s),l=jt(o.map(function(h){return h.x||0}));return q(a)&&typeof a=="number"?l=Math.max(a,l):a&&Array.isArray(a)&&a.length&&(l=Math.max(jt(a.map(function(h){return h.x||0})),l)),q(l)?S.createElement("rect",{x:0,y:c<s?c:c-f,width:l+(u?parseInt("".concat(u),10):1),height:Math.floor(f)}):null}},{key:"renderClipRect",value:function(n){var i=this.props.layout;return i==="vertical"?this.renderVerticalRect(n):this.renderHorizontalRect(n)}},{key:"renderAreaStatically",value:function(n,i,a,o){var u=this.props,c=u.layout,s=u.type,f=u.stroke,l=u.connectNulls,h=u.isRange;u.ref;var d=Rw(u,$k);return S.createElement(ue,{clipPath:a?"url(#clipPath-".concat(o,")"):null},S.createElement(gr,Gt({},Y(d,!0),{points:n,connectNulls:l,type:s,baseLine:i,layout:c,stroke:"none",className:"recharts-area-area"})),f!=="none"&&S.createElement(gr,Gt({},Y(this.props,!1),{className:"recharts-area-curve",layout:c,type:s,connectNulls:l,fill:"none",points:n})),f!=="none"&&h&&S.createElement(gr,Gt({},Y(this.props,!1),{className:"recharts-area-curve",layout:c,type:s,connectNulls:l,fill:"none",points:i})))}},{key:"renderAreaWithAnimation",value:function(n,i){var a=this,o=this.props,u=o.points,c=o.baseLine,s=o.isAnimationActive,f=o.animationBegin,l=o.animationDuration,h=o.animationEasing,d=o.animationId,y=this.state,v=y.prevPoints,p=y.prevBaseLine;return S.createElement(ct,{begin:f,duration:l,isActive:s,easing:h,from:{t:0},to:{t:1},key:"area-".concat(d),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(b){var x=b.t;if(v){var w=v.length/u.length,O=u.map(function(A,P){var M=Math.floor(P*w);if(v[M]){var E=v[M],T=Pe(E.x,A.x),j=Pe(E.y,A.y);return Pt(Pt({},A),{},{x:T(x),y:j(x)})}return A}),m;if(q(c)&&typeof c=="number"){var g=Pe(p,c);m=g(x)}else if(J(c)||Kr(c)){var _=Pe(p,0);m=_(x)}else m=c.map(function(A,P){var M=Math.floor(P*w);if(p[M]){var E=p[M],T=Pe(E.x,A.x),j=Pe(E.y,A.y);return Pt(Pt({},A),{},{x:T(x),y:j(x)})}return A});return a.renderAreaStatically(O,m,n,i)}return S.createElement(ue,null,S.createElement("defs",null,S.createElement("clipPath",{id:"animationClipPath-".concat(i)},a.renderClipRect(x))),S.createElement(ue,{clipPath:"url(#animationClipPath-".concat(i,")")},a.renderAreaStatically(u,c,n,i)))})}},{key:"renderArea",value:function(n,i){var a=this.props,o=a.points,u=a.baseLine,c=a.isAnimationActive,s=this.state,f=s.prevPoints,l=s.prevBaseLine,h=s.totalLength;return c&&o&&o.length&&(!f&&h>0||!br(f,o)||!br(l,u))?this.renderAreaWithAnimation(n,i):this.renderAreaStatically(o,u,n,i)}},{key:"render",value:function(){var n,i=this.props,a=i.hide,o=i.dot,u=i.points,c=i.className,s=i.top,f=i.left,l=i.xAxis,h=i.yAxis,d=i.width,y=i.height,v=i.isAnimationActive,p=i.id;if(a||!u||!u.length)return null;var b=this.state.isAnimationFinished,x=u.length===1,w=Q("recharts-area",c),O=l&&l.allowDataOverflow,m=h&&h.allowDataOverflow,g=O||m,_=J(p)?this.id:p,A=(n=Y(o,!1))!==null&&n!==void 0?n:{r:3,strokeWidth:2},P=A.r,M=P===void 0?3:P,E=A.strokeWidth,T=E===void 0?2:E,j=p0(o)?o:{},C=j.clipDot,$=C===void 0?!0:C,D=M*2+T;return S.createElement(ue,{className:w},O||m?S.createElement("defs",null,S.createElement("clipPath",{id:"clipPath-".concat(_)},S.createElement("rect",{x:O?f:f-d/2,y:m?s:s-y/2,width:O?d:d*2,height:m?y:y*2})),!$&&S.createElement("clipPath",{id:"clipPath-dots-".concat(_)}
66,S.createElement("rect",{x:f-D/2,y:s-D/2,width:d+D,height:y+D}))):null,x?null:this.renderArea(g,_),(o||x)&&this.renderDots(g,$,_),(!v||b)&&gt.renderCallByParent(this.props,u))}}],[{key:"getDerivedStateFromProps",value:function(n,i){return n.animationId!==i.prevAnimationId?{prevAnimationId:n.animationId,curPoints:n.points,curBaseLine:n.baseLine,prevPoints:i.curPoints,prevBaseLine:i.curBaseLine}:n.points!==i.curPoints||n.baseLine!==i.curBaseLine?{curPoints:n.points,curBaseLine:n.baseLine}:null}}])})(N.PureComponent);Dw=ar;it(ar,"displayName","Area");it(ar,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!tr.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"});it(ar,"getBaseValue",function(e,t,r,n){var i=e.layout,a=e.baseValue,o=t.props.baseValue,u=o??a;if(q(u)&&typeof u=="number")return u;var c=i==="horizontal"?n:r,s=c.scale.domain();if(c.type==="number"){var f=Math.max(s[0],s[1]),l=Math.min(s[0],s[1]);return u==="dataMin"?l:u==="dataMax"||f<0?f:Math.max(Math.min(s[0],s[1]),0)}return u==="dataMin"?s[0]:u==="dataMax"?s[1]:s[0]});it(ar,"getComposedData",function(e){var t=e.props,r=e.item,n=e.xAxis,i=e.yAxis,a=e.xAxisTicks,o=e.yAxisTicks,u=e.bandSize,c=e.dataKey,s=e.stackedData,f=e.dataStartIndex,l=e.displayedData,h=e.offset,d=t.layout,y=s&&s.length,v=Dw.getBaseValue(t,r,n,i),p=d==="horizontal",b=!1,x=l.map(function(O,m){var g;y?g=s[f+m]:(g=Ce(O,c),Array.isArray(g)?b=!0:g=[v,g]);var _=g[1]==null||y&&Ce(O,c)==null;return p?{x:Xi({axis:n,ticks:a,bandSize:u,entry:O,index:m}),y:_?null:i.scale(g[1]),value:g,payload:O}:{x:_?null:n.scale(g[1]),y:Xi({axis:i,ticks:o,bandSize:u,entry:O,index:m}),value:g,payload:O}}),w;return y||b?w=x.map(function(O){var m=Array.isArray(O.value)?O.value[0]:null;return p?{x:O.x,y:m!=null&&O.y!=null?i.scale(m):null}:{x:m!=null?n.scale(m):null,y:O.y}}):w=p?i.scale(v):n.scale(v),Pt({points:x,baseLine:w,layout:d,isRange:b},h)});it(ar,"renderDotItem",function(e,t){var r;if(S.isValidElement(e))r=S.cloneElement(e,t);else if(V(e))r=e(t);else{var n=Q("recharts-area-dot",typeof e!="boolean"?e.className:""),i=t.key,a=Rw(t,Ck);r=S.createElement(Wa,Gt({},a,{key:i,className:n}))}return r});function Lr(e){"@babel/helpers - typeof";return Lr=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},Lr(e)}function Fk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zk(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 Wk(e,t,r){return t&&zk(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Uk(e,t,r){return t=ga(t),Hk(e,qw()?Reflect.construct(t,r||[],ga(e).constructor):t.apply(e,r))}function Hk(e,t){if(t&&(Lr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Gk(e)}function Gk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(qw=function(){return!!e})()}function ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ga(e)}function Kk(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&&Af(e,t)}function Af(e,t){return Af=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Af(e,t)}function Lw(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=Vk(e,"string");return Lr(t)=="symbol"?t:t+""}function Vk(e,t){if(Lr(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Lr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function Sf(){return Sf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
66for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Sf.apply(this,arguments)}function Xk(e){var t=e.xAxisId,r=Ch(),n=Ih(),i=xw(t);return i==null?null:N.createElement(Jr,Sf({},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 dt(o,!0)}}))}var Ja=(function(e){function t(){return Fk(this,t),Uk(this,t,arguments)}return Kk(t,e),Wk(t,[{key:"render",value:function(){return N.createElement(Xk,this.props)}}])})(N.Component);Lw(Ja,"displayName","XAxis");Lw(Ja,"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 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 Yk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zk(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,Ww(n.key),n)}}function Jk(e,t,r){return t&&Zk(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Qk(e,t,r){return t=ba(t),eN(e,Fw()?Reflect.construct(t,r||[],ba(e).constructor):t.apply(e,r))}function eN(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 tN(e)}function tN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Fw=function(){return!!e})()}function ba(e){return ba=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ba(e)}function rN(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&&Pf(e,t)}function Pf(e,t){return Pf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Pf(e,t)}function zw(e,t,r){return t=Ww(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ww(e){var t=nN(e,"string");return Br(t)=="symbol"?t:t+""}function nN(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(t==="string"?String:Number)(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)}var iN=function(t){var r=t.yAxisId,n=Ch(),i=Ih(),a=ww(r);return a==null?null:N.createElement(Jr,Tf({},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 dt(u,!0)}}))},Qa=(function(e){function t(){return Yk(this,t),Qk(this,t,arguments)}return rN(t,e),Jk(t,[{key:"render",value:function(){return N.createElement(iN,this.props)}}])})(N.Component);zw(Qa,"displayName","YAxis");zw(Qa,"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 cN(e)||uN(e)||oN(e)||aN()}function aN(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
67In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function oN(e,t){if(e){if(typeof e=="string")return Ef(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 Ef(e,t)}}function uN(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function cN(e){if(Array.isArray(e))return Ef(e)}function Ef(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 jf=function(t,r,n,i,a){var o=Ke(t,Rh),u=Ke(t,Va),c=[].concat(Tb(o),Tb(u)),s=Ke(t,Ya),f="".concat(i,"Id"),l=i[0],h=r;if(c.length&&(h=c.reduce(function(v,p){if(p.props[f]===n&&ot(p.props,"extendDomain")&&q(p.props[l])){var b=p.props[l];return[Math.min(v[0],b),Math.max(v[1],b)]}return v},h)),s.length){var d="".concat(l,"1"),y="".concat(l,"2");h=s.reduce(function(v,p){if(p.props[f]===n&&ot(p.props,"extendDomain")&&q(p.props[d])&&q(p.props[y])){var b=p.props[d],x=p.props[y];return[Math.min(v[0],b,x),Math.max(v[1],b,x)]}return v},h)}return a&&a.length&&(h=a.reduce(function(v,p){return q(p)?[Math.min(v[0],p),Math.max(v[1],p)]:v},h)),h},sl={exports:{}},Eb;function sN(){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 d=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],d]:c._events[y].push(d):(c._events[y]=d,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,d=l.length,y=new Array(d);h<d;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,d,y){var v=r?r+s:s;if(!this._events[v])return!1;var p=this._events[v],b=arguments.length,x,w;if(p.fn){switch(p.once&&this.removeListener(s,p.fn,void 0,!0),b){case 1:return p.fn.call(p.context),!0;case 2:return p.fn.call(p.context,f),!0;case 3:return p.fn.call(p.context,f,l),!0;case 4:return p.fn.call(p.context,f,l,h),!0;case 5:return p.fn.call(p.context,f,l,h,d),!0;case 6:return p.fn.call(p.context,f,l,h,d,y),!0}for(w=1,x=new Array(b-1);w<b;w++)x[w-1]=arguments[w];
67p.fn.apply(p.context,x)}else{var O=p.length,m;for(w=0;w<O;w++)switch(p[w].once&&this.removeListener(s,p[w].fn,void 0,!0),b){case 1:p[w].fn.call(p[w].context);break;case 2:p[w].fn.call(p[w].context,f);break;case 3:p[w].fn.call(p[w].context,f,l);break;case 4:p[w].fn.call(p[w].context,f,l,h);break;default:if(!x)for(m=1,x=new Array(b-1);m<b;m++)x[m-1]=arguments[m];p[w].fn.apply(p[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 d=r?r+s:s;if(!this._events[d])return this;if(!f)return o(this,d),this;var y=this._events[d];if(y.fn)y.fn===f&&(!h||y.once)&&(!l||y.context===l)&&o(this,d);else{for(var v=0,p=[],b=y.length;v<b;v++)(y[v].fn!==f||h&&!y[v].once||l&&y[v].context!==l)&&p.push(y[v]);p.length?this._events[d]=p.length===1?p[0]:p:o(this,d)}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})(sl)),sl.exports}var lN=sN();const fN=le(lN);var ll=new fN,fl="recharts.syncMouseEvents";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 hN(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,Uw(n.key),n)}}function dN(e,t,r){return t&&pN(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function hl(e,t,r){return t=Uw(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uw(e){var t=vN(e,"string");return Zn(t)=="symbol"?t:t+""}function vN(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 String(e)}var yN=(function(){function e(){hN(this,e),hl(this,"activeIndex",0),hl(this,"coordinateList",[]),hl(this,"layout","horizontal")}return dN(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,d=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=d??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 mN(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 gN(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 Hw(e){var t=e.cx,r=e.cy,n=e.radius,i=e.startAngle,a=e.endAngle,o=Te(t,r,n,i),u=Te(t,r,n,a);return{points:[o,u],cx:t,cy:r,radius:n,startAngle:i,endAngle:a}}function bN(e,t,r){var n,i,a,o;if(e==="horizontal")n=t.x,a=n,i=r.top,o=r.top+r.height;
67else 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=Te(u,c,s,l),d=Te(u,c,f,l);n=h.x,i=h.y,a=d.x,o=d.y}else return Hw(t);return[{x:n,y:i},{x:a,y:o}]}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 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 bi(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){xN(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 xN(e,t,r){return t=wN(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wN(e){var t=ON(e,"string");return Jn(t)=="symbol"?t:t+""}function ON(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 _N(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,d=(t=n.props.cursor)!==null&&t!==void 0?t:(r=n.type.defaultProps)===null||r===void 0?void 0:r.cursor;if(!n||!d||!a||!o||h!=="ScatterChart"&&i!=="axis")return null;var y,v=gr;if(h==="ScatterChart")y=o,v=dI;else if(h==="BarChart")y=gN(l,o,c,f),v=Eh;else if(l==="radial"){var p=Hw(o),b=p.cx,x=p.cy,w=p.radius,O=p.startAngle,m=p.endAngle;y={cx:b,cy:x,startAngle:O,endAngle:m,innerRadius:w,outerRadius:w},v=Yx}else y={points:bN(l,o,c)},v=gr;var g=bi(bi(bi(bi({stroke:"#ccc",pointerEvents:"none"},c),y),Y(d,!1)),{},{payload:u,payloadIndex:s,className:Q("recharts-tooltip-cursor",d.className)});return N.isValidElement(d)?N.cloneElement(d,g):N.createElement(v,g)}var AN=["item"],SN=["children","className","width","height","style","compact","title","desc"];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 pr(){return pr=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},pr.apply(this,arguments)}function Mb(e,t){return EN(e)||TN(e,t)||Kw(e,t)||PN()}function PN(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
68In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function TN(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 EN(e){if(Array.isArray(e))return e}function $b(e,t){if(e==null)return{};var r=jN(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 jN(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 MN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $N(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 CN(e,t,r){return t&&$N(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function IN(e,t,r){return t=xa(t),DN(e,Gw()?Reflect.construct(t,r||[],xa(e).constructor):t.apply(e,r))}function DN(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 RN(e)}function RN(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})()}
68function xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},xa(e)}function kN(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 zr(e){return LN(e)||qN(e)||Kw(e)||NN()}function NN(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
69In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Kw(e,t){if(e){if(typeof e=="string")return $f(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 $f(e,t)}}function qN(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function LN(e){if(Array.isArray(e))return $f(e)}function $f(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){H(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 H(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=BN(e,"string");return Fr(t)=="symbol"?t:t+""}function BN(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(t==="string"?String:Number)(e)}var FN={xAxis:["bottom","top"],yAxis:["left","right"]},zN={width:"100%",height:"100%"},Xw={x:0,y:0};function xi(e){return e}var WN=function(t,r){return r==="horizontal"?t.x:r==="vertical"?t.y:r==="centric"?t.angle:t.radius},UN=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),Te(i.cx,i.cy,u,o)),{},{angle:o,radius:u})}var c=a.coordinate,s=i.angle;return I(I(I({},i),Te(i.cx,i.cy,c,s)),{},{angle:s,radius:c})}return Xw},eo=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(zr(u),zr(s)):u},[]);return o.length>0?o:t&&t.length&&q(i)&&q(a)?t.slice(i,a+1):[]};function Yw(e){return e==="number"?[0,"auto"]:void 0}var Cf=function(t,r,n,i){var a=t.graphicalItems,o=t.tooltipAxis,u=eo(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 d=l===void 0?u:l;h=wi(d,o.dataKey,i)}else h=l&&l[n]||u[n];return h?[].concat(zr(c),[Kx(s,h)]):c},[])},Ib=function(t,r,n,i){var a=i||{x:t.chartX,y:t.chartY},o=WN(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=Cf(t,r,f,l),d=UN(n,u,f,a);return{activeTooltipIndex:f,activeLabel:l,activePayload:h,activeCoordinate:d}}return null},HN=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,d=Ux(f,a);return n.reduce(function(y,v){var p,b=v.type.defaultProps!==void 0?I(I({},v.type.defaultProps),v.props):v.props,x=b.type,w=b.dataKey,O=b.allowDataOverflow,m=b.allowDuplicatedCategory,g=b.scale,_=b.ticks,A=b.includeHidden,P=b[o];if(y[P])return y;var M=eo(t.data,{graphicalItems:i.filter(function(z){var K,ce=o in z.props?z.props[o]:(K=z.type.defaultProps)===null||K===void 0?void 0:K[o];return ce===P}),dataStartIndex:c,dataEndIndex:s}),E=M.length,T,j,C;mN(b.domain,O,x)&&(T=Vl(b.domain,null,O),d&&(x==="number"||g!=="auto")&&(C=vn(M,w,"category")));var $=Yw(x);if(!T||T.length===0){var D,R=(D=b.domain)!==null&&D!==void 0?D:$;if(w){if(T=vn(M,w,x),x==="category"&&d){var L=l1(T);m&&L?(j=T,T=oa(0,E)):m||(T=Qm(R,T,v).reduce(function(z,K){return z.indexOf(K)>=0?z:[].concat(zr(z),[K])},[]))}else if(x==="category")m?T=T.filter(function(z){return z!==""&&!J(z)}):T=Qm(R,T,v).reduce(function(z,K){return z.indexOf(K)>=0||K===""||J(K)?z:[].concat(zr(z),[K])},[]);else if(x==="number"){var B=rM(M,i.filter(function(z){var K,ce,de=o in z.props?z.props[o]:(K=z.type.defaultProps)===null||K===void 0?void 0:K[o],Ne="hide"in z.props?z.props.hide:(ce=z.type.defaultProps)===null||ce===void 0?void 0:ce.hide;return de===P&&(A||!Ne)}),w,a,f);B&&(T=B)}d&&(x==="number"||g!=="auto")&&(C=vn(M,w,"category"))}else d?T=oa(0,E):u&&u[P]&&u[P].hasStack&&x==="number"?T=h==="expand"?[0,1]:Gx(u[P].stackGroups,c,s):T=Wx(M,i.filter(function(z){var K=o in z.props?z.props[o]:z.type.defaultProps[o],ce="hide"in z.props?z.props.hide:z.type.defaultProps.hide;return K===P&&(A||!ce)}),x,f,!0);if(x==="number")T=jf(l,T,P,a,_),R&&(T=Vl(R,T,O));else if(x==="category"&&R){var U=R,G=T.every(function(z){return U.indexOf(z)>=0});G&&(T=U)}}return I(I({},y),{},H({},P,I(I({},b),{},{axisType:a,domain:T,categoricalDomain:C,duplicateDomain:j,originalDomain:(p=b.domain)!==null&&p!==void 0?p:$,isCategorical:d,layout:f})))},{})},GN=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=eo(t.data,{graphicalItems:n,dataStartIndex:c,dataEndIndex:s}),d=h.length,y=Ux(f,a),v=-1;return n.reduce(function(p,b){var x=b.type.defaultProps!==void 0?I(I({},b.type.defaultProps),b.props):b.props,w=x[o],O=Yw("number");if(!p[w]){v++;var m;return y?m=oa(0,d):u&&u[w]&&u[w].hasStack?(m=Gx(u[w].stackGroups,c,s),m=jf(l,m,
69w,a)):(m=Vl(O,Wx(h,n.filter(function(g){var _,A,P=o in g.props?g.props[o]:(_=g.type.defaultProps)===null||_===void 0?void 0:_[o],M="hide"in g.props?g.props.hide:(A=g.type.defaultProps)===null||A===void 0?void 0:A.hide;return P===w&&!M}),"number",f),i.defaultProps.allowDataOverflow),m=jf(l,m,w,a)),I(I({},p),{},H({},w,I(I({axisType:a},i.defaultProps),{},{hide:!0,orientation:Ge(FN,"".concat(a,".").concat(v%2),null),domain:m,originalDomain:O,isCategorical:y,layout:f})))}return p},{})},KN=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=Ke(f,a),d={};return h&&h.length?d=HN(t,{axes:h,graphicalItems:o,axisType:i,axisIdKey:l,stackGroups:u,dataStartIndex:c,dataEndIndex:s}):o&&o.length&&(d=GN(t,{Axis:a,graphicalItems:o,axisType:i,axisIdKey:l,stackGroups:u,dataStartIndex:c,dataEndIndex:s})),d},VN=function(t){var r=Et(t),n=dt(r,!1,!0);return{tooltipTicks:n,orderedTooltipTicks:th(n,function(i){return i.coordinate}),tooltipAxis:r,tooltipAxisBandSize:Yi(r,n)}},Db=function(t){var r=t.children,n=t.defaultShowTooltip,i=Be(r,$r),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}},XN=function(t){return!t||!t.length?!1:t.some(function(r){var n=vt(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"}},YN=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||{},d=Be(l,$r),y=Be(l,vr),v=Object.keys(c).reduce(function(m,g){var _=c[g],A=_.orientation;return!_.mirror&&!_.hide?I(I({},m),{},H({},A,m[A]+_.width)):m},{left:h.left||0,right:h.right||0}),p=Object.keys(o).reduce(function(m,g){var _=o[g],A=_.orientation;return!_.mirror&&!_.hide?I(I({},m),{},H({},A,Ge(m,"".concat(A))+_.height)):m},{top:h.top||0,bottom:h.bottom||0}),b=I(I({},p),v),x=b.bottom;d&&(b.bottom+=d.props.height||$r.defaultProps.height),y&&r&&(b=eM(b,i,n,r));var w=s-b.left-b.right,O=f-b.top-b.bottom;return I(I({brushBottom:x},b),{},{width:Math.max(w,0),height:Math.max(O,0)})},ZN=function(t,r){if(r==="xAxis")return t[r].width;if(r==="yAxis")return t[r].height},Zw=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(b,x){var w=x.graphicalItems,O=x.stackGroups,m=x.offset,g=x.updateId,_=x.dataStartIndex,A=x.dataEndIndex,P=b.barSize,M=b.layout,E=b.barGap,T=b.barCategoryGap,j=b.maxBarSize,C=Rb(M),$=C.numericAxisName,D=C.cateAxisName,R=XN(w),L=[];return w.forEach(function(B,U){var G=eo(b.data,{graphicalItems:[B],dataStartIndex:_,dataEndIndex:A}),z=B.type.defaultProps!==void 0?I(I({},B.type.defaultProps),B.props):B.props,K=z.dataKey,ce=z.maxBarSize,de=z["".concat($,"Id")],Ne=z["".concat(D,"Id")],kt={},Ie=c.reduce(function(Nt,qt){var to=x["".concat(qt.axisType,"Map")],qh=z["".concat(qt.axisType,"Id")];to&&to[qh]||qt.axisType==="zAxis"||Xt();var Lh=to[qh];return I(I({},Nt),{},H(H({},qt.axisType,Lh),"".concat(qt.axisType,"Ticks"),dt(Lh)))},kt),F=Ie[D],X=Ie["".concat(D,"Ticks")],Z=O&&O[de]&&O[de].hasStack&&dM(B,O[de].stackGroups),k=vt(B.type).indexOf("Bar")>=0,he=Yi(F,X),ee=[],me=R&&Jj({barSize:P,stackGroups:O,totalSize:ZN(Ie,D)});if(k){var ge,De,St=J(ce)?j:ce,or=(ge=(De=Yi(F,X,!0))!==null&&De!==void 0?De:St)!==null&&ge!==void 0?ge:0;ee=Qj({barGap:E,barCategoryGap:T,bandSize:or!==he?or:he,sizeList:me[Ne],maxBarSize:St}),or!==he&&(ee=ee.map(function(Nt){return I(I({},Nt),{},{position:I(I({},Nt.position),{},{offset:Nt.position.offset-or/2})})}))}var oi=B&&B.type&&B.type.getComposedData;oi&&L.push({props:I(I({},oi(I(I({},Ie),{},{displayedData:G,props:b,dataKey:K,item:B,bandSize:he,barPosition:ee,offset:m,stackedData:Z,layout:M,dataStartIndex:_,dataEndIndex:A}))),{}
69,H(H(H({key:B.key||"item-".concat(U)},$,Ie[$]),D,Ie[D]),"animationId",g)),childIndex:O1(B,b.children),item:B})}),L},d=function(b,x){var w=b.props,O=b.dataStartIndex,m=b.dataEndIndex,g=b.updateId;if(!sy({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,$=Ke(_,n),D=fM(M,$,"".concat(j,"Id"),"".concat(C,"Id"),P,E),R=c.reduce(function(z,K){var ce="".concat(K.axisType,"Map");return I(I({},z),{},H({},ce,KN(w,I(I({},K),{},{graphicalItems:$,stackGroups:K.axisType===j&&D,dataStartIndex:O,dataEndIndex:m}))))},{}),L=YN(I(I({},R),{},{props:w,graphicalItems:$}),x?.legendBBox);Object.keys(R).forEach(function(z){R[z]=f(w,R[z],L,z.replace("Map",""),r)});var B=R["".concat(C,"Map")],U=VN(B),G=h(w,I(I({},R),{},{dataStartIndex:O,dataEndIndex:m,updateId:g,graphicalItems:$,stackGroups:D,offset:L}));return I(I({formattedGraphicalItems:G,graphicalItems:$,offset:L,stackGroups:D},U),R)},y=(function(p){function b(x){var w,O,m;return MN(this,b),m=IN(this,b,[x]),H(m,"eventEmitterSymbol",Symbol("rechartsEventEmitter")),H(m,"accessibilityManager",new yN),H(m,"handleLegendBBoxUpdate",function(g){if(g){var _=m.state,A=_.dataStartIndex,P=_.dataEndIndex,M=_.updateId;m.setState(I({legendBBox:g},d({props:m.props,dataStartIndex:A,dataEndIndex:P,updateId:M},I(I({},m.state),{},{legendBBox:g}))))}}),H(m,"handleReceiveSyncEvent",function(g,_,A){if(m.props.syncId===g){if(A===m.eventEmitterSymbol&&typeof m.props.syncMethod!="function")return;m.applySyncEvent(_)}}),H(m,"handleBrushChange",function(g){var _=g.startIndex,A=g.endIndex;if(_!==m.state.dataStartIndex||A!==m.state.dataEndIndex){var P=m.state.updateId;m.setState(function(){return I({dataStartIndex:_,dataEndIndex:A},d({props:m.props,dataStartIndex:_,dataEndIndex:A,updateId:P},m.state))}),m.triggerSyncEvent({dataStartIndex:_,dataEndIndex:A})}}),H(m,"handleMouseEnter",function(g){var _=m.getMouseInfo(g);if(_){var A=I(I({},_),{},{isTooltipActive:!0});m.setState(A),m.triggerSyncEvent(A);var P=m.props.onMouseEnter;V(P)&&P(A,g)}}),H(m,"triggeredAfterMouseMove",function(g){var _=m.getMouseInfo(g),A=_?I(I({},_),{},{isTooltipActive:!0}):{isTooltipActive:!1};m.setState(A),m.triggerSyncEvent(A);var P=m.props.onMouseMove;V(P)&&P(A,g)}),H(m,"handleItemMouseEnter",function(g){m.setState(function(){return{isTooltipActive:!0,activeItem:g,activePayload:g.tooltipPayload,activeCoordinate:g.tooltipPosition||{x:g.cx,y:g.cy}}})}),H(m,"handleItemMouseLeave",function(){m.setState(function(){return{isTooltipActive:!1}})}),H(m,"handleMouseMove",function(g){g.persist(),m.throttleTriggeredAfterMouseMove(g)}),H(m,"handleMouseLeave",function(g){m.throttleTriggeredAfterMouseMove.cancel();var _={isTooltipActive:!1};m.setState(_),m.triggerSyncEvent(_);var A=m.props.onMouseLeave;V(A)&&A(_,g)}),H(m,"handleOuterEvent",function(g){var _=w1(g),A=Ge(m.props,"".concat(_));if(_&&V(A)){var P,M;/.*touch.*/i.test(_)?M=m.getMouseInfo(g.changedTouches[0]):M=m.getMouseInfo(g),A((P=M)!==null&&P!==void 0?P:{},g)}}),H(m,"handleClick",function(g){var _=m.getMouseInfo(g);if(_){var A=I(I({},_),{},{isTooltipActive:!0});m.setState(A),m.triggerSyncEvent(A);var P=m.props.onClick;V(P)&&P(A,g)}}),H(m,"handleMouseDown",function(g){var _=m.props.onMouseDown;if(V(_)){var A=m.getMouseInfo(g);_(A,g)}}),H(m,"handleMouseUp",function(g){var _=m.props.onMouseUp;if(V(_)){var A=m.getMouseInfo(g);_(A,g)}}),H(m,"handleTouchMove",function(g){g.changedTouches!=null&&g.changedTouches.length>0&&m.throttleTriggeredAfterMouseMove(g.changedTouches[0])}),H(m,"handleTouchStart",function(g){g.changedTouches!=null&&g.changedTouches.length>0&&m.handleMouseDown(g.changedTouches[0])}),H(m,"handleTouchEnd",function(g){g.changedTouches!=null&&g.changedTouches.length>0&&m.handleMouseUp(g.changedTouches[0])}),H(m,"handleDoubleClick",function(g){var _=m.props.onDoubleClick;if(V(_)){var A=m.getMouseInfo(g);_(A,g)}}),H(m,"handleContextMenu",function(g){var _=m.props.onContextMenu;if(V(_)){var A=m.getMouseInfo(g);_(A,g)}}),H(m,"triggerSyncEvent",function(g){m.props.syncId!==void 0&&ll.emit(fl,m.props.syncId,g,m.eventEmitterSymbol)}),H(m,"applySyncEvent",function(g){var _=m.props,A=_.layout,P=_.syncMethod,M=m.state.updateId,E=g.dataStartIndex,T=g.dataEndIndex;if(g.dataStartIndex!==void 0||g.dataEndIndex!==void 0)m.setState(I({dataStartIndex:E,dataEndIndex:T},d({props:m.props,dataStartIndex:E,dataEndIndex:T,updateId:M},m.state)));else if(g.activeTooltipIndex!==void 0){var j=g.chartX,C=g.chartY,$=g.activeTooltipIndex,D=m.state,R=D.offset,L=D.tooltipTicks;if(!R)return;if(typeof P=="function")$=P(L,g);else if(P==="value"){$=-1;for(var B=0;B<L.length;B++)if(L[B].value===g.activeLabel){$=B;break}}var U=I(I({},R),{},{x:R.left,y:R.top}),G=Math.min(j,U.x+U.width),z=Math.min(C,U.y+U.height),K=L[$]&&L[$].value,ce=Cf(m.state,m.props.data,$),de=L[$]?{x:A==="horizontal"?L[$].coordinate:G,y:A==="horizontal"?z:L[$].coordinate}:Xw;m.setState(I(I({},g),{},{activeLabel:K,activeCoordinate:de,activePayload:ce,activeTooltipIndex:$}))}else m.setState(g)}),H(m,"renderCursor",function(g){var _,A=m.state,P=A.isTooltipActive,M=A.activeCoordinate,E=A.activePayload,T=A.offset,j=A.activeTooltipIndex,C=A.tooltipAxisBandSize,$=m.getTooltipEventType(),D=(_=g.props.active)!==null&&_!==void 0?_:P,R=m.props.layout,L=g.key||"_recharts-cursor";return S.createElement(_N,{key:L,activeCoordinate:M,activePayload:E,activeTooltipIndex:j,chartName:r,element:g,isActive:D,layout:R,offset:T,tooltipAxisBandSize:C,tooltipEventType:$})}),H(m,"renderPolarAxis",function(g,_,A){var P=Ge(g,"type.axisType"),M=Ge(m.state,"".concat(P,"Map")),E=g.type.defaultProps,T=E!==void 0?I(I({},E),g.props):g.props,j=M&&M[T["".concat(P,"Id")]];return N.cloneElement(g,I(I({},j),{},{className:Q(P,j.className),key:g.key||"".concat(_,"-").concat(A),ticks:dt(j,!0)}))}),H(m,"renderPolarGrid",function(g){var _=g.props,A=_.radialLines,P=_.polarAngles,M=_.polarRadius,E=m.state,T=E.radiusAxisMap,j=E.angleAxisMap,C=Et(T),$=Et(j),D=$.cx,R=$.cy,L=$.innerRadius,B=$.outerRadius;return N.cloneElement(g,{polarAngles:Array.isArray(P)?P:dt($,!0).map(function(U){return U.coordinate}
69),polarRadius:Array.isArray(M)?M:dt(C,!0).map(function(U){return U.coordinate}),cx:D,cy:R,innerRadius:L,outerRadius:B,key:g.key||"polar-grid",radialLines:A})}),H(m,"renderLegend",function(){var g=m.state.formattedGraphicalItems,_=m.props,A=_.children,P=_.width,M=_.height,E=m.props.margin||{},T=P-(E.left||0)-(E.right||0),j=Fx({children:A,formattedGraphicalItems:g,legendWidth:T,legendContent:s});if(!j)return null;var C=j.item,$=$b(j,AN);return N.cloneElement(C,I(I({},$),{},{chartWidth:P,chartHeight:M,margin:E,onBBoxUpdate:m.handleLegendBBoxUpdate}))}),H(m,"renderTooltip",function(){var g,_=m.props,A=_.children,P=_.accessibilityLayer,M=Be(A,ft);if(!M)return null;var E=m.state,T=E.isTooltipActive,j=E.activeCoordinate,C=E.activePayload,$=E.activeLabel,D=E.offset,R=(g=M.props.active)!==null&&g!==void 0?g:T;return N.cloneElement(M,{viewBox:I(I({},D),{},{x:D.left,y:D.top}),active:R,label:$,payload:R?C:[],coordinate:j,accessibilityLayer:P})}),H(m,"renderBrush",function(g){var _=m.props,A=_.margin,P=_.data,M=m.state,E=M.offset,T=M.dataStartIndex,j=M.dataEndIndex,C=M.updateId;return N.cloneElement(g,{key:g.key||"_recharts-brush",onChange:vi(m.handleBrushChange,g.props.onChange),data:P,x:q(g.props.x)?g.props.x:E.left,y:q(g.props.y)?g.props.y:E.top+E.height+E.brushBottom-(A.bottom||0),width:q(g.props.width)?g.props.width:E.width,startIndex:T,endIndex:j,updateId:"brush-".concat(C)})}),H(m,"renderReferenceElement",function(g,_,A){if(!g)return null;var P=m,M=P.clipPathId,E=m.state,T=E.xAxisMap,j=E.yAxisMap,C=E.offset,$=g.type.defaultProps||{},D=g.props,R=D.xAxisId,L=R===void 0?$.xAxisId:R,B=D.yAxisId,U=B===void 0?$.yAxisId:B;return N.cloneElement(g,{key:g.key||"".concat(_,"-").concat(A),xAxis:T[L],yAxis:j[U],viewBox:{x:C.left,y:C.top,width:C.width,height:C.height},clipPathId:M})}),H(m,"renderActivePoints",function(g){var _=g.item,A=g.activePoint,P=g.basePoint,M=g.childIndex,E=g.isRange,T=[],j=_.props.key,C=_.item.type.defaultProps!==void 0?I(I({},_.item.type.defaultProps),_.item.props):_.item.props,$=C.activeDot,D=C.dataKey,R=I(I({index:M,dataKey:D,cx:A.x,cy:A.y,r:4,fill:Th(_.item),strokeWidth:2,stroke:"#fff",payload:A.payload,value:A.value},Y($,!1)),Oi($));return T.push(b.renderActiveDot($,R,"".concat(j,"-activePoint-").concat(M))),P?T.push(b.renderActiveDot($,I(I({},R),{},{cx:P.x,cy:P.y}),"".concat(j,"-basePoint-").concat(M))):E&&T.push(null),T}),H(m,"renderGraphicChild",function(g,_,A){var P=m.filterFormatItem(g,_,A);if(!P)return null;var M=m.getTooltipEventType(),E=m.state,T=E.isTooltipActive,j=E.tooltipAxis,C=E.activeTooltipIndex,$=E.activeLabel,D=m.props.children,R=Be(D,ft),L=P.props,B=L.points,U=L.isRange,G=L.baseLine,z=P.item.type.defaultProps!==void 0?I(I({},P.item.type.defaultProps),P.item.props):P.item.props,K=z.activeDot,ce=z.hide,de=z.activeBar,Ne=z.activeShape,kt=!!(!ce&&T&&R&&(K||de||Ne)),Ie={};M!=="axis"&&R&&R.props.trigger==="click"?Ie={onClick:vi(m.handleItemMouseEnter,g.props.onClick)}:M!=="axis"&&(Ie={onMouseLeave:vi(m.handleItemMouseLeave,g.props.onMouseLeave),onMouseEnter:vi(m.handleItemMouseEnter,g.props.onMouseEnter)});var F=N.cloneElement(g,I(I({},P.props),Ie));function X(qt){return typeof j.dataKey=="function"?j.dataKey(qt.payload):null}if(kt)if(C>=0){var Z,k;if(j.dataKey&&!j.allowDuplicatedCategory){var he=typeof j.dataKey=="function"?X:"payload.".concat(j.dataKey.toString());Z=wi(B,he,$),k=U&&G&&wi(G,he,$)}else Z=B?.[C],k=U&&G&&G[C];if(Ne||de){var ee=g.props.activeIndex!==void 0?g.props.activeIndex:C;return[N.cloneElement(g,I(I(I({},P.props),Ie),{},{activeIndex:ee})),null,null]}if(!J(Z))return[F].concat(zr(m.renderActivePoints({item:P,activePoint:Z,basePoint:k,childIndex:C,isRange:U})))}else{var me,ge=(me=m.getItemByXY(m.state.activeCoordinate))!==null&&me!==void 0?me:{graphicalItem:F},De=ge.graphicalItem,St=De.item,or=St===void 0?g:St,oi=De.childIndex,Nt=I(I(I({},P.props),Ie),{},{activeIndex:oi});return[N.cloneElement(or,Nt),null,null]}return U?[F,null,null]:[F,null]}),H(m,"renderCustomized",function(g,_,A){return N.cloneElement(g,I(I({key:"recharts-customized-".concat(A)},m.props),m.state))}),H(m,"renderMap",{CartesianGrid:{handler:xi,once:!0},ReferenceArea:{handler:m.renderReferenceElement},ReferenceLine:{handler:xi},ReferenceDot:{handler:m.renderReferenceElement},XAxis:{handler:xi},YAxis:{handler:xi},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:Vr("recharts"),"-clip"),m.throttleTriggeredAfterMouseMove=F0(m.triggeredAfterMouseMove,(O=x.throttleDelay)!==null&&O!==void 0?O:1e3/60),m.state={},m}
69return kN(b,p),CN(b,[{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,g=w.height,_=w.layout,A=Be(O,ft);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=Cf(this.state,m,P,M),T=this.state.tooltipTicks[P].coordinate,j=(this.state.offset.top+g)/2,C=_==="horizontal",$=C?{x:T,y:j}:{y:T,x:j},D=this.state.formattedGraphicalItems.find(function(L){var B=L.item;return B.type.name==="Scatter"});D&&($=I(I({},$),D.props.points[P].tooltipPosition),E=D.props.points[P].tooltipPayload);var R={activeTooltipIndex:P,isTooltipActive:!0,activeLabel:M,activePayload:E,activeCoordinate:$};this.setState(R),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,g;this.accessibilityManager.setDetails({offset:{left:(m=this.props.margin.left)!==null&&m!==void 0?m:0,top:(g=this.props.margin.top)!==null&&g!==void 0?g:0}})}return null}},{key:"componentDidUpdate",value:function(w){yl([Be(w.children,ft)],[Be(this.props.children,ft)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var w=Be(this.props.children,ft);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(),g=US(m),_={chartX:Math.round(w.pageX-g.left),chartY:Math.round(w.pageY-g.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 $=Et(E).scale,D=Et(T).scale,R=$&&$.invert?$.invert(_.chartX):null,L=D&&D.invert?D.invert(_.chartY):null;return I(I({},_),{},{xValue:R,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,g=this.props.layout,_=w/m,A=O/m;if(g==="horizontal"||g==="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=Et(T);return rg({x:_,y:A},C)}return null}},{key:"parseEventsOfWrapper",value:function(){var w=this.props.children,O=this.getTooltipEventType(),m=Be(w,ft),g={};m&&O==="axis"&&(m.props.trigger==="click"?g={onClick:this.handleClick}:g={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 _=Oi(this.props,this.handleOuterEvent);return I(I({},_),g)}},{key:"addListener",value:function(){ll.on(fl,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){ll.removeListener(fl,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(w,O,m){for(var g=this.state.formattedGraphicalItems,_=0,A=g.length;_<A;_++){var P=g[_];if(P.item===w||P.props.key===w.key||O===vt(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,g=O.top,_=O.height,A=O.width;return S.createElement("defs",null,S.createElement("clipPath",{id:w},S.createElement("rect",{x:m,y:g,height:_,width:A})))}},{key:"getXScales",value:function(){var w=this.state.xAxisMap;return w?Object.entries(w).reduce(function(O,m){var g=Mb(m,2),_=g[0],A=g[1];return I(I({},O),{},H({},_,A.scale))},{}):null}},{key:"getYScales",value:function(){var w=this.state.yAxisMap;return w?Object.entries(w).reduce(function(O,m){var g=Mb(m,2),_=g[0],A=g[1];return I(I({},O),{},H({},_,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,g=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=vt(E.type);if(j==="Bar"){var C=(M.data||[]).find(function(L){return iI(w,L)});if(C)return{graphicalItem:P,payload:C}}else if(j==="RadialBar"){var $=(M.data||[]).find(function(L){return rg(w,L)});if($)return{graphicalItem:P,payload:$}}else if(Ua(P,g)||Ha(P,g)||Gn(P,g)){var D=GI({graphicalItem:P,activeTooltipItem:g,itemData:T.data}),R=T.activeIndex===void 0?D:T.activeIndex;
69return{graphicalItem:I(I({},P),{},{childIndex:R}),payload:Gn(P,g)?T.data[D]:P.props.data[D]}}}return null}},{key:"render",value:function(){var w=this;if(!sy(this))return null;var O=this.props,m=O.children,g=O.className,_=O.width,A=O.height,P=O.style,M=O.compact,E=O.title,T=O.desc,j=$b(O,SN),C=Y(j,!1);if(M)return S.createElement(sb,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},S.createElement(gl,pr({},C,{width:_,height:A,title:E,desc:T}),this.renderClipPath(),fy(m,this.renderMap)));if(this.props.accessibilityLayer){var $,D;C.tabIndex=($=this.props.tabIndex)!==null&&$!==void 0?$:0,C.role=(D=this.props.role)!==null&&D!==void 0?D:"application",C.onKeyDown=function(L){w.accessibilityManager.keyboardEvent(L)},C.onFocus=function(){w.accessibilityManager.focus()}}var R=this.parseEventsOfWrapper();return S.createElement(sb,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},S.createElement("div",pr({className:Q("recharts-wrapper",g),style:I({position:"relative",cursor:"default",width:_,height:A},P)},R,{ref:function(B){w.container=B}}),S.createElement(gl,pr({},C,{width:_,height:A,title:E,desc:T,style:zN}),this.renderClipPath(),fy(m,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}])})(N.Component);H(y,"displayName",r),H(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)),H(y,"getDerivedStateFromProps",function(p,b){var x=p.dataKey,w=p.data,O=p.children,m=p.width,g=p.height,_=p.layout,A=p.stackOffset,P=p.margin,M=b.dataStartIndex,E=b.dataEndIndex;if(b.updateId===void 0){var T=Db(p);return I(I(I({},T),{},{updateId:0},d(I(I({props:p},T),{},{updateId:0}),b)),{},{prevDataKey:x,prevData:w,prevWidth:m,prevHeight:g,prevLayout:_,prevStackOffset:A,prevMargin:P,prevChildren:O})}if(x!==b.prevDataKey||w!==b.prevData||m!==b.prevWidth||g!==b.prevHeight||_!==b.prevLayout||A!==b.prevStackOffset||!dr(P,b.prevMargin)){var j=Db(p),C={chartX:b.chartX,chartY:b.chartY,isTooltipActive:b.isTooltipActive},$=I(I({},Ib(b,w,_)),{},{updateId:b.updateId+1}),D=I(I(I({},j),C),$);return I(I(I({},D),d(I({props:p},D),b)),{},{prevDataKey:x,prevData:w,prevWidth:m,prevHeight:g,prevLayout:_,prevStackOffset:A,prevMargin:P,prevChildren:O})}if(!yl(O,b.prevChildren)){var R,L,B,U,G=Be(O,$r),z=G&&(R=(L=G.props)===null||L===void 0?void 0:L.startIndex)!==null&&R!==void 0?R:M,K=G&&(B=(U=G.props)===null||U===void 0?void 0:U.endIndex)!==null&&B!==void 0?B:E,ce=z!==M||K!==E,de=!J(w),Ne=de&&!ce?b.updateId:b.updateId+1;return I(I({updateId:Ne},d(I(I({props:p},b),{},{updateId:Ne,dataStartIndex:z,dataEndIndex:K}),b)),{},{prevChildren:O,dataStartIndex:z,dataEndIndex:K})}return null}),H(y,"renderActiveDot",function(p,b,x){var w;return N.isValidElement(p)?w=N.cloneElement(p,b):V(p)?w=p(b):w=S.createElement(Wa,b),S.createElement(ue,{className:"recharts-active-dot",key:x},w)});var v=N.forwardRef(function(b,x){return S.createElement(y,pr({},b,{ref:x}))});return v.displayName=y.displayName,v},f2=Zw({chartName:"LineChart",GraphicalChild:Za,axisComponents:[{axisType:"xAxis",AxisComp:Ja},{axisType:"yAxis",AxisComp:Qa}],formatAxisMap:hw}),h2=Zw({chartName:"AreaChart",GraphicalChild:ar,axisComponents:[{axisType:"xAxis",AxisComp:Ja},{axisType:"yAxis",AxisComp:Qa}],formatAxisMap:hw});export{O_ as $,h2 as A,_a as B,yk as C,Oa as D,iO as E,e2 as F,Ur as G,Nf as H,Ot as I,mO as J,wa as K,f2 as L,a2 as M,t2 as N,r2 as O,i2 as P,qf as Q,l2 as R,Fb as S,ft as T,If as U,Wb as V,Kb as W,Ja as X,FO as Y,N_ as Z,br as _,ar as a,zb as a0,c2 as a1,s2 as a2,Uv as a3,z_ as a4,Xt as a5,i0 as a6,Y_ as a7,Za as b,WO as c,i_ as d,S_ as e,n2 as f,_t as g,o2 as h,Yt as i,Kf as j,Ct as k,Df as l,Wr as m,st as n,tt as o,cO as p,__ as q,ke as r,u2 as s,Bb as t,Tv as u,kf as v,aO as w,R_ as x,sO as y,Uf as z};

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.