vendor: 5,074 bytes, line 1
1import{U as Dn,V as he,r as k,W as re,Y as P,Z as Bt,c as El,j as Y,u as B0}from"./index-DD2SCbFU.js";import{s as Ri,b as yc,i as L0,o as F0,p as Ur,a as U0,c as z0}from"./stack-CRDhAfoc.js";import{a as Kn,n as W0,b as K0,i as jl,c as mc,l as zt,t as Cl,d as Di,e as bt,f as xf,g as G0,h as H0,j as ft,k as Lm,m as ki,o as X0,p as Of,q as xt,r as Fm,s as gc,u as V0}from"./linear-BqRr8v-A.js";import{m as wf,a as _f,w as Um,b as Y0,c as Ml,d as Ie,x as Z0,y as J0,s as zm,p as Wm,e as Q0}from"./basis-NXzicpSs.js";function ex(t=Kn){if(t===Kn)return Km;if(typeof t!="function")throw new TypeError("compare is not a function");return(e,r)=>{const n=t(e,r);return n||n===0?n:(t(r,r)===0)-(t(e,e)===0)}}function Km(t,e){return(t==null||!(t>=t))-(e==null||!(e>=e))||(t<e?-1:t>e?1:0)}function Gm(t,e,r=0,n=1/0,i){if(e=Math.floor(e),r=Math.floor(Math.max(0,r)),n=Math.floor(Math.min(t.length-1,n)),!(r<=e&&e<=n))return t;for(i=i===void 0?Km:ex(i);n>r;){if(n-r>600){const s=n-r+1,c=e-r+1,f=Math.log(s),l=.5*Math.exp(2*f/3),p=.5*Math.sqrt(f*l*(s-l)/s)*(c-s/2<0?-1:1),d=Math.max(r,Math.floor(e-c*l/s+p)),y=Math.min(n,Math.floor(e+(s-c)*l/s+p));Gm(t,e,d,y,i)}const a=t[e];let o=r,u=n;for(Cr(t,r,e),i(t[n],a)>0&&Cr(t,r,n);o<u;){for(Cr(t,o,u),++o,--u;i(t[o],a)<0;)++o;for(;i(t[u],a)>0;)--u}i(t[r],a)===0?Cr(t,r,u):(++u,Cr(t,u,n)),u<=e&&(r=u+1),e<=u&&(n=u-1)}return t}function Cr(t,e,r){const n=t[e];t[e]=t[r],t[r]=n}function tx(t,e,r){if(t=Float64Array.from(W0(t)),!(!(n=t.length)||isNaN(e=+e))){if(e<=0||n<2)return wf(t);if(e>=1)return _f(t);var n,i=(n-1)*e,a=Math.floor(i),o=_f(Gm(t,a).subarray(0,a+1)),u=wf(t.subarray(a+1));return o+(u-o)*(i-a)}}function rx(t,e,r=K0){if(!(!(n=t.length)||isNaN(e=+e))){if(e<=0||n<2)return+r(t[0],0,t);if(e>=1)return+r(t[n-1],n-1,t);var n,i=(n-1)*e,a=Math.floor(i),o=+r(t[a],a,t),u=+r(t[a+1],a+1,t);return o+(u-o)*(i-a)}}function nx(t,e){e===void 0&&(e=t,t=jl);for(var r=0,n=e.length-1,i=e[0],a=new Array(n<0?0:n);r<n;)a[r]=t(i,i=e[++r]);return function(o){var u=Math.max(0,Math.min(n-1,Math.floor(o*=n)));return a[u](o-u)}}function Hm(t){var e;function r(n){return n==null||isNaN(n=+n)?e:n}return r.invert=r,r.domain=r.range=function(n){return arguments.length?(t=Array.from(n,mc),r):t.slice()},r.unknown=function(n){return arguments.length?(e=n,r):e},r.copy=function(){return Hm(t).unknown(e)},t=arguments.length?Array.from(t,mc):[0,1],zt(r)}function Xm(t,e){t=t.slice();var r=0,n=t.length-1,i=t[r],a=t[n],o;return a<i&&(o=r,r=n,n=o,o=i,i=a,a=o),t[r]=e.floor(i),t[n]=e.ceil(a),t}function Sf(t){return Math.log(t)}function Af(t){return Math.exp(t)}function ix(t){return-Math.log(-t)}function ax(t){return-Math.exp(-t)}function ox(t){return isFinite(t)?+("1e"+t):t<0?0:t}function ux(t){return t===10?ox:t===Math.E?Math.exp:e=>Math.pow(t,e)}function sx(t){return t===Math.E?Math.log:t===10&&Math.log10||t===2&&Math.log2||(t=Math.log(t),e=>Math.log(e)/t)}function Pf(t){return(e,r)=>-t(-e,r)}function Il(t){const e=t(Sf,Af),r=e.domain;let n=10,i,a;function o(){return i=sx(n),a=ux(n),r()[0]<0?(i=Pf(i),a=Pf(a),t(ix,ax)):t(Sf,Af),e}return e.base=function(u){return arguments.length?(n=+u,o()):n},e.domain=function(u){return arguments.length?(r(u),o()):r()},e.ticks=u=>{const s=r();let c=s[0],f=s[s.length-1];const l=f<c;l&&([c,f]=[f,c]);let p=i(c),d=i(f),y,v;const h=u==null?10:+u;let x=[];if(!(n%1)&&d-p<h){if(p=Math.floor(p),d=Math.ceil(d),c>0){for(;p<=d;++p)for(y=1;y<n;++y)if(v=p<0?y/a(-p):y*a(p),!(v<c)){if(v>f)break;x.push(v)}}else for(;p<=d;++p)for(y=n-1;y>=1;--y)if(v=p>0?y/a(-p):y*a(p),!(v<c)){if(v>f)break;x.push(v)}x.length*2<h&&(x=xf(c,f,h))}else x=xf(p,d,Math.min(d-p,h)).map(a);return l?x.reverse():x},e.tickFormat=(u,s)=>{if(u==null&&(u=10),s==null&&(s=n===10?"s":","),typeof s!="function"&&(!(n%1)&&(s=G0(s)).precision==null&&(s.trim=!0),s=H0(s)),u===1/0)return s;const c=Math.max(1,n*u/e.ticks().length);return f=>{let l=f/a(Math.round(i(f)));return l*n<n-.5&&(l*=n),l<=c?s(f):""}},e.nice=()=>r(Xm(r(),{floor:u=>a(Math.floor(i(u))),ceil:u=>a(Math.ceil(i(u)))})),e}function Vm(){const t=Il(Cl()).domain([1,10]);return t.copy=()=>Di(t,Vm()).base(t.base()),bt.apply(t,arguments),t}function Tf(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function Ef(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function $l(t){var e=1,r=t(Tf(e),Ef(e));return r.constant=function(n){return arguments.length?t(Tf(e=+n),Ef(e)):e},zt(r)}function Ym(){var t=$l(Cl());return t.copy=function(){return Di(t,Ym()).constant(t.constant())},bt.apply(t,arguments)}function jf(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function cx(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function lx(t){return t<0?-t*t:t*t}function Rl(t){var e=t(ft,ft),r=1;function n(){return r===1?t(ft,ft):r===.5?t(cx,lx):t(jf(r),jf(1/r))}return e.exponent=function(i){return arguments.length?(r=+i,n()):r},zt(e)}function Dl(){var t=Rl(Cl());return t.copy=function(){return Di(t,Dl()).exponent(t.exponent())},bt.apply(t,arguments),t}function fx(){return Dl.apply(null,arguments).exponent(.5)}function Cf(t){return Math.sign(t)*t*t}
1function px(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}function Zm(){var t=Lm(),e=[0,1],r=!1,n;function i(a){var o=px(t(a));return isNaN(o)?n:r?Math.round(o):o}return i.invert=function(a){return t.invert(Cf(a))},i.domain=function(a){return arguments.length?(t.domain(a),i):t.domain()},i.range=function(a){return arguments.length?(t.range((e=Array.from(a,mc)).map(Cf)),i):e.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?(t.clamp(a),i):t.clamp()},i.unknown=function(a){return arguments.length?(n=a,i):n},i.copy=function(){return Zm(t.domain(),e).round(r).clamp(t.clamp()).unknown(n)},bt.apply(i,arguments),zt(i)}function Jm(){var t=[],e=[],r=[],n;function i(){var o=0,u=Math.max(1,e.length);for(r=new Array(u-1);++o<u;)r[o-1]=rx(t,o/u);return a}function a(o){return o==null||isNaN(o=+o)?n:e[ki(r,o)]}return a.invertExtent=function(o){var u=e.indexOf(o);return u<0?[NaN,NaN]:[u>0?r[u-1]:t[0],u<r.length?r[u]:t[t.length-1]]},a.domain=function(o){if(!arguments.length)return t.slice();t=[];for(let u of o)u!=null&&!isNaN(u=+u)&&t.push(u);return t.sort(Kn),i()},a.range=function(o){return arguments.length?(e=Array.from(o),i()):e.slice()},a.unknown=function(o){return arguments.length?(n=o,a):n},a.quantiles=function(){return r.slice()},a.copy=function(){return Jm().domain(t).range(e).unknown(n)},bt.apply(a,arguments)}function Qm(){var t=0,e=1,r=1,n=[.5],i=[0,1],a;function o(s){return s!=null&&s<=s?i[ki(n,s,0,r)]:a}function u(){var s=-1;for(n=new Array(r);++s<r;)n[s]=((s+1)*e-(s-r)*t)/(r+1);return o}return o.domain=function(s){return arguments.length?([t,e]=s,t=+t,e=+e,u()):[t,e]},o.range=function(s){return arguments.length?(r=(i=Array.from(s)).length-1,u()):i.slice()},o.invertExtent=function(s){var c=i.indexOf(s);return c<0?[NaN,NaN]:c<1?[t,n[0]]:c>=r?[n[r-1],e]:[n[c-1],n[c]]},o.unknown=function(s){return arguments.length&&(a=s),o},o.thresholds=function(){return n.slice()},o.copy=function(){return Qm().domain([t,e]).range(i).unknown(a)},bt.apply(zt(o),arguments)}function eg(){var t=[.5],e=[0,1],r,n=1;function i(a){return a!=null&&a<=a?e[ki(t,a,0,n)]:r}return i.domain=function(a){return arguments.length?(t=Array.from(a),n=Math.min(t.length,e.length-1),i):t.slice()},i.range=function(a){return arguments.length?(e=Array.from(a),n=Math.min(t.length,e.length-1),i):e.slice()},i.invertExtent=function(a){var o=e.indexOf(a);return[t[o-1],t[o]]},i.unknown=function(a){return arguments.length?(r=a,i):r},i.copy=function(){return eg().domain(t).range(e).unknown(r)},bt.apply(i,arguments)}const ga=new Date,ba=new Date;function Ae(t,e,r,n){function i(a){return t(a=arguments.length===0?new Date:new Date(+a)),a}return i.floor=a=>(t(a=new Date(+a)),a),i.ceil=a=>(t(a=new Date(a-1)),e(a,1),t(a),a),i.round=a=>{const o=i(a),u=i.ceil(a);return a-o<u-a?o:u},i.offset=(a,o)=>(e(a=new Date(+a),o==null?1:Math.floor(o)),a),i.range=(a,o,u)=>{const s=[];if(a=i.ceil(a),u=u==null?1:Math.floor(u),!(a<o)||!(u>0))return s;let c;do s.push(c=new Date(+a)),e(a,u),t(a);while(c<a&&a<o);return s},i.filter=a=>Ae(o=>{if(o>=o)for(;t(o),!a(o);)o.setTime(o-1)},(o,u)=>{if(o>=o)if(u<0)for(;++u<=0;)for(;e(o,-1),!a(o););else for(;--u>=0;)for(;e(o,1),!a(o););}),r&&(i.count=(a,o)=>(ga.setTime(+a),ba.setTime(+o),t(ga),t(ba),Math.floor(r(ga,ba))),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 Gn=Ae(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);Gn.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?Ae(e=>{e.setTime(Math.floor(e/t)*t)},(e,r)=>{e.setTime(+e+r*t)},(e,r)=>(r-e)/t):Gn);Gn.range;const pt=1e3,Ye=pt*60,ht=Ye*60,vt=ht*24,kl=vt*7,Mf=vt*30,xa=vt*365,Dt=Ae(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*pt)},(t,e)=>(e-t)/pt,t=>t.getUTCSeconds());Dt.range;const ql=Ae(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*pt)},(t,e)=>{t.setTime(+t+e*Ye)},(t,e)=>(e-t)/Ye,t=>t.getMinutes());ql.range;const Nl=Ae(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*Ye)},(t,e)=>(e-t)/Ye,t=>t.getUTCMinutes());Nl.range;const Bl=Ae(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*pt-t.getMinutes()*Ye)},(t,e)=>
vendor: 3,583 bytes, line 1
1{t.setTime(+t+e*ht)},(t,e)=>(e-t)/ht,t=>t.getHours());Bl.range;const Ll=Ae(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*ht)},(t,e)=>(e-t)/ht,t=>t.getUTCHours());Ll.range;const Pn=Ae(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Ye)/vt,t=>t.getDate()-1);Pn.range;const qi=Ae(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/vt,t=>t.getUTCDate()-1);qi.range;const tg=Ae(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/vt,t=>Math.floor(t/vt));tg.range;function Wt(t){return Ae(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(e,r)=>{e.setDate(e.getDate()+r*7)},(e,r)=>(r-e-(r.getTimezoneOffset()-e.getTimezoneOffset())*Ye)/kl)}const Ni=Wt(0),Hn=Wt(1),hx=Wt(2),dx=Wt(3),nr=Wt(4),vx=Wt(5),yx=Wt(6);Ni.range;Hn.range;hx.range;dx.range;nr.range;vx.range;yx.range;function Kt(t){return Ae(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCDate(e.getUTCDate()+r*7)},(e,r)=>(r-e)/kl)}const Bi=Kt(0),Xn=Kt(1),mx=Kt(2),gx=Kt(3),ir=Kt(4),bx=Kt(5),xx=Kt(6);Bi.range;Xn.range;mx.range;gx.range;ir.range;bx.range;xx.range;const Fl=Ae(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());Fl.range;const Ul=Ae(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());Ul.range;const yt=Ae(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());yt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:Ae(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,r)=>{e.setFullYear(e.getFullYear()+r*t)});yt.range;const mt=Ae(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());mt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:Ae(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCFullYear(e.getUTCFullYear()+r*t)});mt.range;function rg(t,e,r,n,i,a){const o=[[Dt,1,pt],[Dt,5,5*pt],[Dt,15,15*pt],[Dt,30,30*pt],[a,1,Ye],[a,5,5*Ye],[a,15,15*Ye],[a,30,30*Ye],[i,1,ht],[i,3,3*ht],[i,6,6*ht],[i,12,12*ht],[n,1,vt],[n,2,2*vt],[r,1,kl],[e,1,Mf],[e,3,3*Mf],[t,1,xa]];function u(c,f,l){const p=f<c;p&&([c,f]=[f,c]);const d=l&&typeof l.range=="function"?l:s(c,f,l),y=d?d.range(c,+f+1):[];return p?y.reverse():y}function s(c,f,l){const p=Math.abs(f-c)/l,d=X0(([,,h])=>h).right(o,p);if(d===o.length)return t.every(Of(c/xa,f/xa,l));if(d===0)return Gn.every(Math.max(Of(c,f,l),1));const[y,v]=o[p/o[d-1][2]<o[d][2]/p?d-1:d];return y.every(v)}return[u,s]}const[Ox,wx]=rg(mt,Ul,Bi,tg,Ll,Nl),[_x,Sx]=rg(yt,Fl,Ni,Pn,Bl,ql);function Oa(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function wa(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Mr(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}function Ax(t){var e=t.dateTime,r=t.date,n=t.time,i=t.periods,a=t.days,o=t.shortDays,u=t.months,s=t.shortMonths,c=Ir(i),f=$r(i),l=Ir(a),p=$r(a),d=Ir(o),y=$r(o),v=Ir(u),h=$r(u),x=Ir(s),O
vendor: 8,122 bytes, line 1
1=$r(s),b={a:q,A:L,b:U,B:W,c:null,d:qf,e:qf,f:Xx,g:iO,G:oO,H:Kx,I:Gx,j:Hx,L:ng,m:Vx,M:Yx,p:K,q:F,Q:Lf,s:Ff,S:Zx,u:Jx,U:Qx,V:eO,w:tO,W:rO,x:null,X:null,y:nO,Y:aO,Z:uO,"%":Bf},w={a:H,A:ae,b:ue,B:Ee,c:null,d:Nf,e:Nf,f:fO,g:OO,G:_O,H:sO,I:cO,j:lO,L:ag,m:pO,M:hO,p:qe,q:Oe,Q:Lf,s:Ff,S:dO,u:vO,U:yO,V:mO,w:gO,W:bO,x:null,X:null,y:xO,Y:wO,Z:SO,"%":Bf},m={a:j,A:T,b:E,B:M,c:$,d:Df,e:Df,f:Fx,g:Rf,G:$f,H:kf,I:kf,j:qx,L:Lx,m:kx,M:Nx,p:A,q:Dx,Q:zx,s:Wx,S:Bx,u:Cx,U:Mx,V:Ix,w:jx,W:$x,x:I,X:D,y:Rf,Y:$f,Z:Rx,"%":Ux};b.x=g(r,b),b.X=g(n,b),b.c=g(e,b),w.x=g(r,w),w.X=g(n,w),w.c=g(e,w);function g(N,X){return function(V){var R=[],se=-1,J=0,le=N.length,fe,ge,De;for(V instanceof Date||(V=new Date(+V));++se<le;)N.charCodeAt(se)===37&&(R.push(N.slice(J,se)),(ge=If[fe=N.charAt(++se)])!=null?fe=N.charAt(++se):ge=fe==="e"?" ":"0",(De=X[fe])&&(fe=De(V,ge)),R.push(fe),J=se+1);return R.push(N.slice(J,se)),R.join("")}}function _(N,X){return function(V){var R=Mr(1900,void 0,1),se=S(R,N,V+="",0),J,le;if(se!=V.length)return null;if("Q"in R)return new Date(R.Q);if("s"in R)return new Date(R.s*1e3+("L"in R?R.L:0));if(X&&!("Z"in R)&&(R.Z=0),"p"in R&&(R.H=R.H%12+R.p*12),R.m===void 0&&(R.m="q"in R?R.q:0),"V"in R){if(R.V<1||R.V>53)return null;"w"in R||(R.w=1),"Z"in R?(J=wa(Mr(R.y,0,1)),le=J.getUTCDay(),J=le>4||le===0?Xn.ceil(J):Xn(J),J=qi.offset(J,(R.V-1)*7),R.y=J.getUTCFullYear(),R.m=J.getUTCMonth(),R.d=J.getUTCDate()+(R.w+6)%7):(J=Oa(Mr(R.y,0,1)),le=J.getDay(),J=le>4||le===0?Hn.ceil(J):Hn(J),J=Pn.offset(J,(R.V-1)*7),R.y=J.getFullYear(),R.m=J.getMonth(),R.d=J.getDate()+(R.w+6)%7)}else("W"in R||"U"in R)&&("w"in R||(R.w="u"in R?R.u%7:"W"in R?1:0),le="Z"in R?wa(Mr(R.y,0,1)).getUTCDay():Oa(Mr(R.y,0,1)).getDay(),R.m=0,R.d="W"in R?(R.w+6)%7+R.W*7-(le+5)%7:R.w+R.U*7-(le+6)%7);return"Z"in R?(R.H+=R.Z/100|0,R.M+=R.Z%100,wa(R)):Oa(R)}}function S(N,X,V,R){for(var se=0,J=X.length,le=V.length,fe,ge;se<J;){if(R>=le)return-1;if(fe=X.charCodeAt(se++),fe===37){if(fe=X.charAt(se++),ge=m[fe in If?X.charAt(se++):fe],!ge||(R=ge(N,V,R))<0)return-1}else if(fe!=V.charCodeAt(R++))return-1}return R}function A(N,X,V){var R=c.exec(X.slice(V));return R?(N.p=f.get(R[0].toLowerCase()),V+R[0].length):-1}function j(N,X,V){var R=d.exec(X.slice(V));return R?(N.w=y.get(R[0].toLowerCase()),V+R[0].length):-1}function T(N,X,V){var R=l.exec(X.slice(V));return R?(N.w=p.get(R[0].toLowerCase()),V+R[0].length):-1}function E(N,X,V){var R=x.exec(X.slice(V));return R?(N.m=O.get(R[0].toLowerCase()),V+R[0].length):-1}function M(N,X,V){var R=v.exec(X.slice(V));return R?(N.m=h.get(R[0].toLowerCase()),V+R[0].length):-1}function $(N,X,V){return S(N,e,X,V)}function I(N,X,V){return S(N,r,X,V)}function D(N,X,V){return S(N,n,X,V)}function q(N){return o[N.getDay()]}function L(N){return a[N.getDay()]}function U(N){return s[N.getMonth()]}function W(N){return u[N.getMonth()]}function K(N){return i[+(N.getHours()>=12)]}function F(N){return 1+~~(N.getMonth()/3)}function H(N){return o[N.getUTCDay()]}function ae(N){return a[N.getUTCDay()]}function ue(N){return s[N.getUTCMonth()]}function Ee(N){return u[N.getUTCMonth()]}function qe(N){return i[+(N.getUTCHours()>=12)]}function Oe(N){return 1+~~(N.getUTCMonth()/3)}return{format:function(N){var X=g(N+="",b);return X.toString=function(){return N},X},parse:function(N){var X=_(N+="",!1);return X.toString=function(){return N},X},utcFormat:function(N){var X=g(N+="",w);return X.toString=function(){return N},X},utcParse:function(N){var X=_(N+="",!0);return X.toString=function(){return N},X}}}var If={"-":"",_:" ",0:"0"},Te=/^\s*\d+/,Px=/^%/,Tx=/[\\^$*+?|[\]().{}]/g;function te(t,e,r){var n=t<0?"-":"",i=(n?-t:t)+"",a=i.length;return n+(a<r?new Array(r-a+1).join(e)+i:i)}function Ex(t){return t.replace(Tx,"\\$&")}function Ir(t){return new RegExp("^(?:"+t.map(Ex).join("|")+")","i")}function $r(t){return new Map(t.map((e,r)=>[e.toLowerCase(),r]))}function jx(t,e,r){var n=Te.exec(e.slice(r,r+1));return n?(t.w=+n[0],r+n[0].length):-1}function Cx(t,e,r){var n=Te.exec(e.slice(r,r+1));return n?(t.u=+n[0],r+n[0].length):-1}function Mx(t,e,r){var n=Te.exec(e.slice(r,r+2));return n?(t.U=+n[0],r+n[0].length):-1}function Ix(t,e,r){var n=Te.exec(e.slice(r,r+2));return n?(t.V=+n[0],r+n[0].length):-1}function $x(t,e,r){var n=Te.exec(e.slice(r,r+2));return n?(t.W=+n[0],r+n[0].length):-1}function $f(t,e,r){var n=Te.exec(e.slice(r,r+4));return n?(t.y=+n[0],r+n[0].length):-1}function Rf(t,e,r){var n=Te.exec(e.slice(r,r+2));return n?(t.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function Rx(t,e,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return n?(t.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function Dx(t,e,r){var n=Te.exec(e.slice(r,r+1));return n?(t.q=n[0]*3-3,r+n[0].length):-1}function kx(t,e,r){var n=Te.exec(e.slice(r,r+2));return n?(t.m=n[0]-1,r+n[0].length):-1}function Df(t,e,r){var n=Te.exec(e.slice(r,r+2));return n?(t.d=+n[0],r+n[0].length):-1}function qx(t,e,r){var n=Te.exec(e.slice(r,r+3));return n?(t.m=0,t.d=+n[0],r+n[0].length):-1}function kf(t,e,r){var n=Te.exec(e.slice(r,r+2));return n?(t.H=+n[0],r+n[0].length):-1}function Nx(t,e,r){var n=Te.exec(e.slice(r,r+2));return n?(t.M=+n[0],r+n[0].length):-1}function Bx(t,e,r){var n=Te.exec(e.slice(r,r+2));return n?(t.S=+n[0],r+n[0].length):-1}function Lx(t,e,r){var n=Te.exec(e.slice(r,r+3));return n?(t.L=+n[0],r+n[0].length):-1}function Fx(t,e,r){var n=Te.exec(e.slice(r,r+6));return n?(t.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function Ux(t,e,r){var n=Px.exec(e.slice(r,r+1));return n?r+n[0].length:-1}function zx(t,e,r){var n=Te.exec(e.slice(r));return n?(t.Q=+n[0],r+n[0].length):-1}function Wx(t,e,r){var n=Te.exec(e.slice(r));return n?(t.s=+n[0],r+n[0].length):-1}function qf(t,e){return te(t.getDate(),e,2)}function Kx(t,e){return te(t.getHours(),e,2)}function Gx(t,e){return te(t.getHours()%12||12,e,2)}function Hx(t,e){return te(1+Pn.count(yt(t),t),e,3)}function ng(t,e){return te(t.getMilliseconds(),e,3)}function Xx(t,e){return ng(t,e)+"000"}function Vx(t,e){return te(t.getMonth()+1,e,2)}function Yx(t,e){return te(t.getMinutes(),e,2)}function Zx(t,e){return te(t.getSeconds(),e,2)}function Jx(t){var e=t.getDay();return e===0?7:e}function Qx(t,e){return te(Ni.count(yt(t)-1,t),e,2)}function ig(t){var e=t.getDay();return e>=4||e===0?nr(t):nr.ceil(t)}function eO(t,e){return t=ig(t),te(nr.count(yt(t),t)+(yt(t).getDay()===4),e,2)}function tO(t){return t.getDay()}function rO(t,e){return te(Hn.count(yt(t)-1,t),e,2)}function nO(t,e){return te(t.getFullYear()%100,e,2)}function iO(t,e){return t=ig(t),te(t.getFullYear()%100,e,2)}function aO(t,e){return te(t.getFullYear()%1e4,e,4)}function oO(t,e){var r=t.getDay();return t=r>=4||r===0?nr(t):nr.ceil(t),te(t.getFullYear()%1e4,e,4)}function uO(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+te(e/60|0,"0",2)+te(e%60,"0",2)}function Nf(t,e){return te(t.getUTCDate(),e,2)}function sO(t,e){return te(t.getUTCHours(),e,2)}function cO(t,e){return te(t.getUTCHours()%12||12,e,2)}function lO(t,e){return te(1+qi.count(mt(t),t),e,3)}function ag(t,e){return te(t.getUTCMilliseconds(),e,3)}function fO(t,e){return ag(t,e)+"000"}function pO(t,e){return te(t.getUTCMonth()+1,e,2)}function hO(t,e){return te(t.getUTCMinutes(),e,2)}function dO(t,e){return te(t.getUTCSeconds(),e,2)}function vO(t){var e=t.getUTCDay();return e===0?7:e}function yO(t,e){return te(Bi.count(mt(t)-1,t),e,2)}function og(t){var e=t.getUTCDay();return e>=4||e===0?ir(t):ir.ceil(t)}function mO(t,e){return t=og(t),te(ir.count(mt(t),t)+(mt(t).getUTCDay()===4),e,2)}function gO(t){return t.getUTCDay()}function bO(t,e){return te(Xn.count(mt(t)-1,t),e,2)}function xO(t,e){return te(t.getUTCFullYear()%100,e,2)}function OO(t,e){return t=og(t),te(t.getUTCFullYear()%100,e,2)}function wO(t,e){return te(t.getUTCFullYear()%1e4,e,4)}function _O(t,e){var r=t.getUTCDay();return t=r>=4||r===0?ir(t):ir.ceil(t),te(t.getUTCFullYear()%1e4,e,4)}function SO(){return"+0000"}function Bf(){return"%"}function Lf(t){return+t}function Ff(t){return Math.floor(+t/1e3)}var Xt,ug,sg;AO({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","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 AO(t){return Xt=Ax(t),ug=Xt.format,Xt.parse,sg=Xt.utcFormat,Xt.utcParse,Xt}function PO(t){return new Date(t)}function TO(t){return t instanceof Date?+t:+new Date(+t)}function zl(t,e,r,n,i,a,o,u,s,c){var f=Lm(),l=f.invert,p=f.domain,d=c(".%L"),y=c(":%S"),v=c("%I:%M"),h=c("%I %p"),x=c("%a %d"),O=c("%b %d"),b=c("%B"),w=c("%Y");function m(g){return(s(g)<g?d:u(g)<g?y:o(g)<g?v:a(g)<g?h:n(g)<g?i(g)<g?x:O:r(g)<g?b:w)(g)}return f.invert=function(g){return new Date(l(g))},f.domain=function(g){return arguments.length?p(Array.from(g,TO)):p().map(PO)},f.ticks=function(g){var _=p();return t(_[0],_[_.length-1],g??10)},f.tickFormat=function(g,_){return _==null?m:c(_)},f.nice=function(g){var _=p();return(!g||typeof g.range!="function")&&(g=e(_[0],_[_.length-1],g??10)),g?p(Xm(_,g)):f},f.copy=function(){return Di(f,zl(t,e,r,n,i,a,o,u,s,c))},f}function EO(){return bt.apply(zl(_x,Sx,yt,Fl,Ni,Pn,Bl,ql,Dt,ug).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function jO(){return bt.apply(zl(Ox,wx,mt,Ul,Bi,qi,Ll,Nl,Dt,sg).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function Li(){var t=0,e=1,r,n,i,a,o=ft,u=!1,s;function c(l){return l==null||isNaN(l=+l)?s:o(i===0?.5:(l=(a(l)-r)*i,u?Math.max(0,Math.min(1,l)):l))}c.domain=function(l){return arguments.length?([t,e]=l,r=a(t=+t),n=a(e=+e),i=r===n?0:1/(n-r),c):[t,e]},c.clamp=function(l){return arguments.length?(u=!!l,c):u},c.interpolator=function(l){return arguments.length?(o=l,c):o};function f(l){return function(p){var d,y;return arguments.length?([d,y]=p,o=l(d,y),c):[o(0),o(1)]}}return c.range=f(jl),c.rangeRound=f(Fm),c.unknown=function(l){return arguments.length?(s=l,c):s},function(l){return a=l,r=l(t),n=l(e),i=r===n?0:1/(n-r),c}}function jt(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function cg(){var t=zt(Li()(ft));return t.copy=function(){return jt(t,cg())},xt.apply(t,arguments)}function lg(){var t=Il(Li()).domain([1,10]);return t.copy=function(){return jt(t,lg()).base(t.base())},xt.apply(t,arguments)}function fg(){var t=$l(Li());return t.copy=function(){return jt(t,fg()).constant(t.constant())},xt.apply(t,arguments)}function Wl(){var t=Rl(Li());return t.copy=function(){return jt(t,Wl()).exponent(t.exponent())},xt.apply(t,arguments)}function CO(){return Wl.apply(null,arguments).exponent(.5)}function pg(){var t=[],e=ft;function r(n){if(n!=null&&!isNaN(n=+n))return e((ki(t,n,1)-1)/(t.length-1))}return r.domain=function(n){if(!arguments.length)return t.slice();t=[];for(let i of n)i!=null&&!isNaN(i=+i)&&t.push(i);return t.sort(Kn),r},r.interpolator=function(n){return arguments.length?(e=n,r):e},r.range=function(){return t.map((n,i)=>e(i/(t.length-1)))},r.quantiles=function(n){return Array.from({length:n+1},(i,a)=>tx(t,a/n))},r.copy=function(){return pg(e).domain(t)},xt.apply(r,arguments)}function Fi(){var t=0,e=.5,r=1,n=1,i,a,o,u,s,c=ft,f,l=!1,p;function d(v){return isNaN(v=+v)?p:(v=.5+((v=+f(v))-a)*(n*v<n*a?u:s),c(l?Math.max(0,Math.min(1,v)):v))}d.domain=function(v){return arguments.length?([t,e,r]=v,i=f(t=+t),a=f(e=+e),o=f(r=+r),u=i===a?0:.5/(a-i),s=a===o?0:.5/(o-a),n=a<i?-1:1,d):[t,e,r]},d.clamp=function(v){return arguments.length?(l=!!v,d):l},d.interpolator=function(v){return arguments.length?(c=v,d):c};function y(v){return function(h){var x,O,b;return arguments.length?([x,O,b]=h,c=nx(v,[x,O,b]),d):[c(0),c(.5),c(1)]}}return d.range=y(jl),d.rangeRound=y(Fm),d.unknown=function(v){return arguments.length?(p=v,d):p},function(v){return f=v,i=v(t),a=v(e),o=v(r),u=i===a?0:.5/(a-i),s=a===o?0:.5/(o-a),n=a<i?-1:1,d}}function hg(){var t=zt(Fi()(ft));return t.copy=function(){return jt(t,hg())},xt.apply(t,arguments)}function dg(){var t=Il(Fi()).domain([.1,1,10]);return t.copy=function(){return jt(t,dg()).base(t.base())},xt.apply(t,arguments)}function vg(){var t=$l(Fi());return t.copy=function(){return jt(t,vg()).constant(t.constant())},xt.apply(t,arguments)}function Kl(){var t=Rl(Fi());return t.copy=function(){return jt(t,Kl()).exponent(t.exponent())},xt.apply(t,arguments)}function MO(){return Kl.apply(null,arguments).exponent(.5)}const yg=Math.cos,Vn=Math.sin,nt=Math.sqrt,Yn=Math.PI,Ui=2*Yn;function kn(t,e,r){var n=null,i=Ie(!0),a=null,o=Ml,u=null,s=Um(c);t=typeof t=="function"?t:t===void 0?Z0:Ie(+t),e=typeof e=="function"?e:e===void 0?Ie(0):Ie(+e),r=typeof r=="function"?r:r===void 0?J0:Ie(+r);function c(l){var p,d,y,v=(l=Y0(l)).length,h,x=!1,O,b=new Array(v),w=new Array(v);for(a==null&&(u=o(O=s())),p=0;p<=v;++p){if(!(p<v&&i(h=l[p],p,l))===x)if(x=!x)d=p,u.areaStart(),u.lineStart();else{for(u.lineEnd(),u.lineStart(),y=p-1;y>=d;--y)u.point(b[y],w[y]);u.lineEnd(),u.areaEnd()}x&&(b[p]=+t(h,p,l),w[p]=+e(h,p,l),u.point(n?+n(h,p,l):b[p],r?+r(h,p,l):w[p]))}if(O)return u=null,O+""||null}function f(){return zm().defined(i).curve(o).context(a)}return c.x=function(l){return arguments.length?(t=typeof l=="function"?l:Ie(+l),n=null,c):t},c.x0=function(l){return arguments.length?(t=typeof l=="function"?l:Ie(+l),c):t},c.x1=function(l){return arguments.length?(n=l==null?null:typeof l=="function"?l:Ie(+l),c):n},c.y=function(l){return arguments.length?(e=typeof l=="function"?l:Ie(+l),r=null,c):e},c.y0=function(l){return arguments.length?(e=typeof l=="function"?l:Ie(+l),c):e},c.y1=function(l){return arguments.length?(r=l==null?null:typeof l=="function"?l:Ie(+l),c):r},c.lineX0=c.lineY0=function(){return f().x(t).y(e)},c.lineY1=function(){return f().x(t).y(r)},c.lineX1=function(){return f().x(n).y(e)},c.defined=function(l){return arguments.length?(i=typeof l=="function"?l:Ie(!!l),c):i},c.curve=function(l){return arguments.length?(o=l,a!=null&&(u=o(a)),c):o},c.context=function(l){return arguments.length?(l==null?a=u=null:u=o(a=l),c):a},c}
1class mg{constructor(e,r){this._context=e,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(e,r){switch(e=+e,r=+r,this._point){case 0:{this._point=1,this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,r,e,r):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+r)/2,e,this._y0,e,r);break}}this._x0=e,this._y0=r}}function IO(t){return new mg(t,!0)}function $O(t){return new mg(t,!1)}const Gl={draw(t,e){const r=nt(e/Yn);t.moveTo(r,0),t.arc(0,0,r,0,Ui)}},RO={draw(t,e){const r=nt(e/5)/2;t.moveTo(-3*r,-r),t.lineTo(-r,-r),t.lineTo(-r,-3*r),t.lineTo(r,-3*r),t.lineTo(r,-r),t.lineTo(3*r,-r),t.lineTo(3*r,r),t.lineTo(r,r),t.lineTo(r,3*r),t.lineTo(-r,3*r),t.lineTo(-r,r),t.lineTo(-3*r,r),t.closePath()}},gg=nt(1/3),DO=gg*2,kO={draw(t,e){const r=nt(e/DO),n=r*gg;t.moveTo(0,-r),t.lineTo(n,0),t.lineTo(0,r),t.lineTo(-n,0),t.closePath()}},qO={draw(t,e){const r=nt(e),n=-r/2;t.rect(n,n,r,r)}},NO=.8908130915292852,bg=Vn(Yn/10)/Vn(7*Yn/10),BO=Vn(Ui/10)*bg,LO=-yg(Ui/10)*bg,FO={draw(t,e){const r=nt(e*NO),n=BO*r,i=LO*r;t.moveTo(0,-r),t.lineTo(n,i);for(let a=1;a<5;++a){const o=Ui*a/5,u=yg(o),s=Vn(o);t.lineTo(s*r,-u*r),t.lineTo(u*n-s*i,s*n+u*i)}t.closePath()}},_a=nt(3),UO={draw(t,e){const r=-nt(e/(_a*3));t.moveTo(0,r*2),t.lineTo(-_a*r,-r),t.lineTo(_a*r,-r),t.closePath()}},Ge=-.5,He=nt(3)/2,bc=1/nt(12),zO=(bc/2+1)*3,WO={draw(t,e){const r=nt(e/zO),n=r/2,i=r*bc,a=n,o=r*bc+r,u=-a,s=o;t.moveTo(n,i),t.lineTo(a,o),t.lineTo(u,s),t.lineTo(Ge*n-He*i,He*n+Ge*i),t.lineTo(Ge*a-He*o,He*a+Ge*o),t.lineTo(Ge*u-He*s,He*u+Ge*s),t.lineTo(Ge*n+He*i,Ge*i-He*n),t.lineTo(Ge*a+He*o,Ge*o-He*a),t.lineTo(Ge*u+He*s,Ge*s-He*u),t.closePath()}};function KO(t,e){let r=null,n=Um(i);t=typeof t=="function"?t:Ie(t||Gl),e=typeof e=="function"?e:Ie(e===void 0?64:+e);function i(){let a;if(r||(r=a=n()),t.apply(this,arguments).draw(r,+e.apply(this,arguments)),a)return r=null,a+""||null}return i.type=function(a){return arguments.length?(t=typeof a=="function"?a:Ie(a),i):t},i.size=function(a){return arguments.length?(e=typeof a=="function"?a:Ie(+a),i):e},i.context=function(a){return arguments.length?(r=a??null,i):r},i}function Zn(){}function xg(t){this._context=t}xg.prototype={areaStart:Zn,areaEnd:Zn,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(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:Wm(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function GO(t){return new xg(t)}function Og(t){this._context=t}Og.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(t,e){switch(t=+t,e=+e,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+t)/6,n=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:Wm(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function HO(t){return new Og(t)}function wg(t){this._context=t}wg.prototype={areaStart:Zn,areaEnd:Zn,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};function XO(t){return new wg(t)}function Uf(t){return t<0?-1:1}function zf(t,e,r){var n=t._x1-t._x0,i=e-t._x1,a=(t._y1-t._y0)/(n||i<0&&-0),o=(r-t._y1)/(i||n<0&&-0),u=(a*i+o*n)/(n+i);return(Uf(a)+Uf(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(u))||0}function Wf(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function Sa(t,e,r){var n=t._x0,i=t._y0,a=t._x1,o=t._y1,u=(a-n)/3;t._context.bezierCurveTo(n+u,i+u*e,a-u,o-u*r,a,o)}function Jn(t){this._context=t}Jn.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:Sa(this,this._t0,Wf(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var r=NaN;if(t=+t,e=+e,!(t===this._x1&&e===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,Sa(this,Wf(this,r=zf(this,t,e)),r);break;default:Sa(this,this._t0,r=zf(this,t,e));break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}}};function _g(t){this._context=new Sg(t)}(_g.prototype=Object.create(Jn.prototype)).point=function(t,e){Jn.prototype.point.call(this,e,t)};function Sg(t){this._context=t}Sg.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,r,n,i,a){this._context.bezierCurveTo(e,t,n,r,a,i)}};function VO(t){return new Jn(t)}function YO(t){return new _g(t)}function Ag(t){this._context=t}Ag.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,r=t.length;if(r)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),r===2)this._context.lineTo(t[1],e[1]);else for(var n=Kf(t),i=Kf(e),a=0,o=1;o<r;++a,++o)this._context.bezierCurveTo(n[0][a],i[0][a],n[1][a],i[1][a],t[o],e[o
1]);(this._line||this._line!==0&&r===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}};function Kf(t){var e,r=t.length-1,n,i=new Array(r),a=new Array(r),o=new Array(r);for(i[0]=0,a[0]=2,o[0]=t[0]+2*t[1],e=1;e<r-1;++e)i[e]=1,a[e]=4,o[e]=4*t[e]+2*t[e+1];for(i[r-1]=2,a[r-1]=7,o[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=i[e]/a[e-1],a[e]-=n,o[e]-=n*o[e-1];for(i[r-1]=o[r-1]/a[r-1],e=r-2;e>=0;--e)i[e]=(o[e]-i[e+1])/a[e];for(a[r-1]=(t[r]+i[r-1])/2,e=0;e<r-1;++e)a[e]=2*t[e+1]-i[e+1];return[i,a]}function ZO(t){return new Ag(t)}function zi(t,e){this._context=t,this._t=e}zi.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(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}break}}this._x=t,this._y=e}};function JO(t){return new zi(t,.5)}function QO(t){return new zi(t,0)}function ew(t){return new zi(t,1)}function tw(t,e){if((n=t.length)>0){for(var r,n,i=0,a=t[0].length,o;i<a;++i){for(o=r=0;r<n;++r)o+=t[r][i][1]||0;if(o)for(r=0;r<n;++r)t[r][i][1]/=o}Ri(t,e)}}function rw(t,e){if((i=t.length)>0){for(var r=0,n=t[e[0]],i,a=n.length;r<a;++r){for(var o=0,u=0;o<i;++o)u+=t[o][r][1]||0;n[r][1]+=n[r][0]=-u/2}Ri(t,e)}}function nw(t,e){if(!(!((o=t.length)>0)||!((a=(i=t[e[0]]).length)>0))){for(var r=0,n=1,i,a,o;n<a;++n){for(var u=0,s=0,c=0;u<o;++u){for(var f=t[e[u]],l=f[n][1]||0,p=f[n-1][1]||0,d=(l-p)/2,y=0;y<u;++y){var v=t[e[y]],h=v[n][1]||0,x=v[n-1][1]||0;d+=h-x}s+=l,c+=d*l}i[n-1][1]+=i[n-1][0]=r,s&&(r-=c/s)}i[n-1][1]+=i[n-1][0]=r,Ri(t,e)}}var Aa,Gf;function Le(){if(Gf)return Aa;Gf=1;var t=Array.isArray;return Aa=t,Aa}var Pa,Hf;function Pg(){if(Hf)return Pa;Hf=1;var t=typeof Dn=="object"&&Dn&&Dn.Object===Object&&Dn;return Pa=t,Pa}var Ta,Xf;function ct(){if(Xf)return Ta;Xf=1;var t=Pg(),e=typeof self=="object"&&self&&self.Object===Object&&self,r=t||e||Function("return this")();return Ta=r,Ta}var Ea,Vf;function Tn(){if(Vf)return Ea;Vf=1;var t=ct(),e=t.Symbol;return Ea=e,Ea}var ja,Yf;function iw(){if(Yf)return ja;Yf=1;var t=Tn(),e=Object.prototype,r=e.hasOwnProperty,n=e.toString,i=t?t.toStringTag:void 0;function a(o){var u=r.call(o,i),s=o[i];try{o[i]=void 0;var c=!0}catch{}var f=n.call(o);return c&&(u?o[i]=s:delete o[i]),f}return ja=a,ja}var Ca,Zf;function aw(){if(Zf)return Ca;Zf=1;var t=Object.prototype,e=t.toString;function r(n){return e.call(n)}return Ca=r,Ca}var Ma,Jf;function Ot(){if(Jf)return Ma;Jf=1;var t=Tn(),e=iw(),r=aw(),n="[object Null]",i="[object Undefined]",a=t?t.toStringTag:void 0;function o(u){return u==null?u===void 0?i:n:a&&a in Object(u)?e(u):r(u)}return Ma=o,Ma}var Ia,Qf;function wt(){if(Qf)return Ia;Qf=1;function t(e){return e!=null&&typeof e=="object"}return Ia=t,Ia}var $a,ep;function Sr(){if(ep)return $a;ep=1;var t=Ot(),e=wt(),r="[object Symbol]";function n(i){return typeof i=="symbol"||e(i)&&t(i)==r}return $a=n,$a}var Ra,tp;function Hl(){if(tp)return Ra;tp=1;var t=Le(),e=Sr(),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function i(a,o){if(t(a))return!1;var u=typeof a;return u=="number"||u=="symbol"||u=="boolean"||a==null||e(a)?!0:n.test(a)||!r.test(a)||o!=null&&a in Object(o)}return Ra=i,Ra}var Da,rp;function Ct(){if(rp)return Da;rp=1;function t(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}return Da=t,Da}var ka,np;function Xl(){if(np)return ka;np=1;var t=Ot(),e=Ct(),r="[object AsyncFunction]",n="[object Function]",i="[object GeneratorFunction]",a="[object Proxy]";function o(u){if(!e(u))return!1;var s=t(u);return s==n||s==i||s==r||s==a}return ka=o,ka}var qa,ip;function ow(){if(ip)return qa;ip=1;var t=ct(),e=t["__core-js_shared__"];return qa=e,qa}var Na,ap;function uw(){if(ap)return Na;ap=1;var t=ow(),e=function(){var n=/[^.]+$/.exec(t&&t.keys&&t.keys.IE_PROTO||"");
vendor: 2,295 bytes, line 1
1return n?"Symbol(src)_1."+n:""}();function r(n){return!!e&&e in n}return Na=r,Na}var Ba,op;function Tg(){if(op)return Ba;op=1;var t=Function.prototype,e=t.toString;function r(n){if(n!=null){try{return e.call(n)}catch{}try{return n+""}catch{}}return""}return Ba=r,Ba}var La,up;function sw(){if(up)return La;up=1;var t=Xl(),e=uw(),r=Ct(),n=Tg(),i=/[\\^$.*+?()[\]{}|]/g,a=/^\[object .+?Constructor\]$/,o=Function.prototype,u=Object.prototype,s=o.toString,c=u.hasOwnProperty,f=RegExp("^"+s.call(c).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function l(p){if(!r(p)||e(p))return!1;var d=t(p)?f:a;return d.test(n(p))}return La=l,La}var Fa,sp;function cw(){if(sp)return Fa;sp=1;function t(e,r){return e==null?void 0:e[r]}return Fa=t,Fa}var Ua,cp;function Gt(){if(cp)return Ua;cp=1;var t=sw(),e=cw();function r(n,i){var a=e(n,i);return t(a)?a:void 0}return Ua=r,Ua}var za,lp;function Wi(){if(lp)return za;lp=1;var t=Gt(),e=t(Object,"create");return za=e,za}var Wa,fp;function lw(){if(fp)return Wa;fp=1;var t=Wi();function e(){this.__data__=t?t(null):{},this.size=0}return Wa=e,Wa}var Ka,pp;function fw(){if(pp)return Ka;pp=1;function t(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}return Ka=t,Ka}var Ga,hp;function pw(){if(hp)return Ga;hp=1;var t=Wi(),e="__lodash_hash_undefined__",r=Object.prototype,n=r.hasOwnProperty;function i(a){var o=this.__data__;if(t){var u=o[a];return u===e?void 0:u}return n.call(o,a)?o[a]:void 0}return Ga=i,Ga}var Ha,dp;function hw(){if(dp)return Ha;dp=1;var t=Wi(),e=Object.prototype,r=e.hasOwnProperty;function n(i){var a=this.__data__;return t?a[i]!==void 0:r.call(a,i)}return Ha=n,Ha}var Xa,vp;function dw(){if(vp)return Xa;vp=1;var t=Wi(),e="__lodash_hash_undefined__";function r(n,i){var a=this.__data__;return this.size+=this.has(n)?0:1,a[n]=t&&i===void 0?e:i,this}return Xa=r,Xa}var Va,yp;function vw(){if(yp)return Va;yp=1;var t=lw(),e=fw(),r=pw(),n=hw(),i=dw();function a(o){var u=-1,s=o==null?0:o.length;for(this.clear();++u<s;){var c=o[u];this.set(c[0],c[1])}}return a.prototype.clear=t,a.prototype.delete=e,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,Va=a,Va}var Ya,mp;function yw(){if(mp)return Ya;mp=1;function t(){this.__data__=[],this.size=0}return Ya=t,Ya}var Za,gp;
vendor: 4,766 bytes, line 1
1function Vl(){if(gp)return Za;gp=1;function t(e,r){return e===r||e!==e&&r!==r}return Za=t,Za}var Ja,bp;function Ki(){if(bp)return Ja;bp=1;var t=Vl();function e(r,n){for(var i=r.length;i--;)if(t(r[i][0],n))return i;return-1}return Ja=e,Ja}var Qa,xp;function mw(){if(xp)return Qa;xp=1;var t=Ki(),e=Array.prototype,r=e.splice;function n(i){var a=this.__data__,o=t(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 Qa=n,Qa}var eo,Op;function gw(){if(Op)return eo;Op=1;var t=Ki();function e(r){var n=this.__data__,i=t(n,r);return i<0?void 0:n[i][1]}return eo=e,eo}var to,wp;function bw(){if(wp)return to;wp=1;var t=Ki();function e(r){return t(this.__data__,r)>-1}return to=e,to}var ro,_p;function xw(){if(_p)return ro;_p=1;var t=Ki();function e(r,n){var i=this.__data__,a=t(i,r);return a<0?(++this.size,i.push([r,n])):i[a][1]=n,this}return ro=e,ro}var no,Sp;function Gi(){if(Sp)return no;Sp=1;var t=yw(),e=mw(),r=gw(),n=bw(),i=xw();function a(o){var u=-1,s=o==null?0:o.length;for(this.clear();++u<s;){var c=o[u];this.set(c[0],c[1])}}return a.prototype.clear=t,a.prototype.delete=e,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,no=a,no}var io,Ap;function Yl(){if(Ap)return io;Ap=1;var t=Gt(),e=ct(),r=t(e,"Map");return io=r,io}var ao,Pp;function Ow(){if(Pp)return ao;Pp=1;var t=vw(),e=Gi(),r=Yl();function n(){this.size=0,this.__data__={hash:new t,map:new(r||e),string:new t}}return ao=n,ao}var oo,Tp;function ww(){if(Tp)return oo;Tp=1;function t(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}return oo=t,oo}var uo,Ep;function Hi(){if(Ep)return uo;Ep=1;var t=ww();function e(r,n){var i=r.__data__;return t(n)?i[typeof n=="string"?"string":"hash"]:i.map}return uo=e,uo}var so,jp;function _w(){if(jp)return so;jp=1;var t=Hi();function e(r){var n=t(this,r).delete(r);return this.size-=n?1:0,n}return so=e,so}var co,Cp;function Sw(){if(Cp)return co;Cp=1;var t=Hi();function e(r){return t(this,r).get(r)}return co=e,co}var lo,Mp;function Aw(){if(Mp)return lo;Mp=1;var t=Hi();function e(r){return t(this,r).has(r)}return lo=e,lo}var fo,Ip;function Pw(){if(Ip)return fo;Ip=1;var t=Hi();function e(r,n){var i=t(this,r),a=i.size;return i.set(r,n),this.size+=i.size==a?0:1,this}return fo=e,fo}var po,$p;function Zl(){if($p)return po;$p=1;var t=Ow(),e=_w(),r=Sw(),n=Aw(),i=Pw();function a(o){var u=-1,s=o==null?0:o.length;for(this.clear();++u<s;){var c=o[u];this.set(c[0],c[1])}}return a.prototype.clear=t,a.prototype.delete=e,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,po=a,po}var ho,Rp;function Eg(){if(Rp)return ho;Rp=1;var t=Zl(),e="Expected a function";function r(n,i){if(typeof n!="function"||i!=null&&typeof i!="function")throw new TypeError(e);var a=function(){var o=arguments,u=i?i.apply(this,o):o[0],s=a.cache;if(s.has(u))return s.get(u);var c=n.apply(this,o);return a.cache=s.set(u,c)||s,c};return a.cache=new(r.Cache||t),a}return r.Cache=t,ho=r,ho}var vo,Dp;function Tw(){if(Dp)return vo;Dp=1;var t=Eg(),e=500;function r(n){var i=t(n,function(o){return a.size===e&&a.clear(),o}),a=i.cache;return i}return vo=r,vo}var yo,kp;function Ew(){if(kp)return yo;kp=1;var t=Tw(),e=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,n=t(function(i){var a=[];return i.charCodeAt(0)===46&&a.push(""),i.replace(e,function(o,u,s,c){a.push(s?c.replace(r,"$1"):u||o)}),a});return yo=n,yo}var mo,qp;function Jl(){if(qp)return mo;qp=1;function t(e,r){for(var n=-1,i=e==null?0:e.length,a=Array(i);++n<i;)a[n]=r(e[n],n,e);return a}return mo=t,mo}var go,Np;function jw(){if(Np)return go;Np=1;var t=Tn(),e=Jl(),r=Le(),n=Sr(),i=t?t.prototype:void 0,a=i?i.toString:void 0;function o(u){if(typeof u=="string")return u;if(r(u))return e(u,o)+"";if(n(u))return a?a.call(u):"";var s=u+"";return s=="0"&&1/u==-1/0?"-0":s}return go=o,go}var bo,Bp;function jg(){if(Bp)return bo;Bp=1;var t=jw();function e(r){return r==null?"":t(r)}return bo=e,bo}var xo,Lp;function Cg(){if(Lp)return xo;Lp=1;var t=Le(),e=Hl(),r=Ew(),n=jg();function i(a,o){return t(a)?a:e(a,o)?[a]:r(n(a))}return xo=i,xo}var Oo,Fp;function Xi(){if(Fp)return Oo;Fp=1;var t=Sr();function e(r){if(typeof r=="string"||t(r))return r;var n=r+"";return n=="0"&&1/r==-1/0?"-0":n}return Oo=e,Oo}var wo,Up;function Ql(){if(Up)return wo;Up=1;var t=Cg(),e=Xi();function r(n,i){i=t(i,n);for(var a=0,o=i.length;n!=null&&a<o;)n=n[e(i[a++])];return a&&a==o?n:void 0}return wo=r,wo}var _o,zp;function Mg(){if(zp)return _o;zp=1;var t=Ql();function e(r,n,i){var a=r==null?void 0:t(r,n);return a===void 0?i:a}return _o=e,_o}var Cw=Mg();const Ze=he(Cw);var So,Wp;function Mw(){if(Wp)return So;Wp=1;function t(e){return e==null}return So=t,So}var Iw=Mw();const Z=he(Iw);var Ao,Kp;
vendor: 5,970 bytes, lines 1-9
1function $w(){if(Kp)return Ao;Kp=1;var t=Ot(),e=Le(),r=wt(),n="[object String]";function i(a){return typeof a=="string"||!e(a)&&r(a)&&t(a)==n}return Ao=i,Ao}var Rw=$w();const Lt=he(Rw);var Dw=Xl();const Q=he(Dw);var kw=Ct();const Ar=he(kw);var Po={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 Gp;function qw(){if(Gp)return ne;Gp=1;var t=Symbol.for("react.element"),e=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"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),l=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),d=Symbol.for("react.offscreen"),y;y=Symbol.for("react.module.reference");function v(h){if(typeof h=="object"&&h!==null){var x=h.$$typeof;switch(x){case t:switch(h=h.type,h){case r:case i:case n:case c:case f:return h;default:switch(h=h&&h.$$typeof,h){case u:case o:case s:case p:case l:case a:return h;default:return x}}case e:return x}}}return ne.ContextConsumer=o,ne.ContextProvider=a,ne.Element=t,ne.ForwardRef=s,ne.Fragment=r,ne.Lazy=p,ne.Memo=l,ne.Portal=e,ne.Profiler=i,ne.StrictMode=n,ne.Suspense=c,ne.SuspenseList=f,ne.isAsyncMode=function(){return!1},ne.isConcurrentMode=function(){return!1},ne.isContextConsumer=function(h){return v(h)===o},ne.isContextProvider=function(h){return v(h)===a},ne.isElement=function(h){return typeof h=="object"&&h!==null&&h.$$typeof===t},ne.isForwardRef=function(h){return v(h)===s},ne.isFragment=function(h){return v(h)===r},ne.isLazy=function(h){return v(h)===p},ne.isMemo=function(h){return v(h)===l},ne.isPortal=function(h){return v(h)===e},ne.isProfiler=function(h){return v(h)===i},ne.isStrictMode=function(h){return v(h)===n},ne.isSuspense=function(h){return v(h)===c},ne.isSuspenseList=function(h){return v(h)===f},ne.isValidElementType=function(h){return typeof h=="string"||typeof h=="function"||h===r||h===i||h===n||h===c||h===f||h===d||typeof h=="object"&&h!==null&&(h.$$typeof===p||h.$$typeof===l||h.$$typeof===a||h.$$typeof===o||h.$$typeof===s||h.$$typeof===y||h.getModuleId!==void 0)},ne.typeOf=v,ne}var Hp;function Nw(){return Hp||(Hp=1,Po.exports=qw()),Po.exports}var Bw=Nw(),To,Xp;function Ig(){if(Xp)return To;Xp=1;var t=Ot(),e=wt(),r="[object Number]";function n(i){return typeof i=="number"||e(i)&&t(i)==r}return To=n,To}var Eo,Vp;function Lw(){if(Vp)return Eo;Vp=1;var t=Ig();function e(r){return t(r)&&r!=+r}return Eo=e,Eo}var Fw=Lw();const En=he(Fw);var Uw=Ig();const zw=he(Uw);var rt=function(e){return e===0?0:e>0?1:-1},xc=function(e){return Lt(e)&&e.indexOf("%")===e.length-1},B=function(e){return zw(e)&&!En(e)},Ww=function(e){return Z(e)},Se=function(e){return B(e)||Lt(e)},Kw=0,jn=function(e){var r=++Kw;return"".concat(e||"").concat(r)},Ft=function(e,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(!B(e)&&!Lt(e))return n;var a;if(xc(e)){var o=e.indexOf("%");a=r*parseFloat(e.slice(0,o))/100}else a=+e;return En(a)&&(a=n),i&&a>r&&(a=r),a},Yt=function(e){if(!e)return null;var r=Object.keys(e);return r&&r.length?e[r[0]]:null},Gw=function(e){if(!Array.isArray(e))return!1;for(var r=e.length,n={},i=0;i<r;i++)if(!n[e[i]])n[e[i]]=!0;else return!0;return!1},at=function(e,r){return B(e)&&B(r)?function(n){return e+n*(r-e)}:function(){return r}};function Qn(t,e,r){return!t||!t.length?null:t.find(function(n){return n&&(typeof e=="function"?e(n):Ze(n,e))===r})}var Hw=function(e){if(!e||!e.length)return null;for(var r=e.length,n=0,i=0,a=0,o=0,u=1/0,s=-1/0,c=0,f=0,l=0;l<r;l++)c=e[l].cx||0,f=e[l].cy||0,n+=c,i+=f,a+=c*f,o+=c*c,u=Math.min(u,c),s=Math.max(s,c);var p=r*o!==n*n?(r*a-n*i)/(r*o-n*n):0;return{xmin:u,xmax:s,a:p,b:(i-p*n)/r}},Xw=function(e,r){return B(e)&&B(r)?e-r:Lt(e)&&Lt(r)?e.localeCompare(r):e instanceof Date&&r instanceof Date?e.getTime()-r.getTime():String(e).localeCompare(String(r))};function er(t,e){for(var r in t)if({}.hasOwnProperty.call(t,r)&&(!{}.hasOwnProperty.call(e,r)||t[r]!==e[r]))return!1;for(var n in e)if({}.hasOwnProperty.call(e,n)&&!{}.hasOwnProperty.call(t,n))return!1;return!0}function Oc(t){"@babel/helpers - typeof";return Oc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Oc(t)}var Vw=["viewBox","children"],Yw=["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","colorRen
9dering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],Yp=["points","pathLength"],jo={svg:Vw,polygon:Yp,polyline:Yp},ef=["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","onDrag
9Capture","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"],ei=function(e,r){if(!e||typeof e=="function"||typeof e=="boolean")return null;var n=e;if(k.isValidElement(e)&&(n=e.props),!Ar(n))return null;var i={};return Object.keys(n).forEach(function(a){ef.includes(a)&&(i[a]=r||function(o){return n[a](n,o)})}),i},Zw=function(e,r,n){return function(i){return e(r,n,i),null}},Xr=function(e,r,n){if(!Ar(e)||Oc(e)!=="object")return null;var i=null;return Object.keys(e).forEach(function(a){var o=e[a];ef.includes(a)&&typeof o=="function"&&(i||(i={}),i[a]=Zw(o,r,n))}),i},Jw=["children"],Qw=["children"];function Zp(t,e){if(t==null)return{};var r=e_(t,e),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function e_(t,e){if(t==null)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}var Jp={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"},Tt=function(e){return typeof e=="string"?e:e?e.displayName||e.name||"Component":""},Qp=null,Co=null,tf=function t(e){if(e===Qp&&Array.isArray(Co))return Co;var r=[];return k.Children.forEach(e,function(n){Z(n)||(Bw.isFragment(n)?r=r.concat(t(n.props.children)):r.push(n))}),Co=r,Qp=e,r};function Ke(t,e){var r=[],n=[];return Array.isArray(e)?n=e.map(function(i){return Tt(i)}):n=[Tt(e)],tf(t).forEach(function(i){var a=Ze(i,"type.displayName")||Ze(i,"type.name");n.indexOf(a)!==-1&&r.push(i)}),r}function ze(t,e){var r=Ke(t,e);return r&&r[0]}var eh=function(e){if(!e||!e.props)return!1;var r=e.props,n=r.width,i=r.height;return!(!B(n)||n<=0||!B(i)||i<=0)},t_=["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"],r_=function(e){return e&&e.type&&Lt(e.type)&&t_.indexOf(e.type)>=0},n_=function(e,r,n,i){var a,o=(a=jo==null?void 0:jo[i])!==null&&a!==void 0?a:[];return r.startsWith("data-")||!Q(e)&&(i&&o.includes(r)||Yw.includes(r))||n&&ef.includes(r)},ee=function(e,r,n){if(!e||typeof e=="function"||typeof e=="boolean")return null;var i=e;if(k.isValidElement(e)&&(i=e.props),!Ar(i))return null;var a={};
vendor: 16,839 bytes, lines 9-12
9return Object.keys(i).forEach(function(o){var u;n_((u=i)===null||u===void 0?void 0:u[o],o,r,n)&&(a[o]=i[o])}),a},wc=function t(e,r){if(e===r)return!0;var n=k.Children.count(e);if(n!==k.Children.count(r))return!1;if(n===0)return!0;if(n===1)return th(Array.isArray(e)?e[0]:e,Array.isArray(r)?r[0]:r);for(var i=0;i<n;i++){var a=e[i],o=r[i];if(Array.isArray(a)||Array.isArray(o)){if(!t(a,o))return!1}else if(!th(a,o))return!1}return!0},th=function(e,r){if(Z(e)&&Z(r))return!0;if(!Z(e)&&!Z(r)){var n=e.props||{},i=n.children,a=Zp(n,Jw),o=r.props||{},u=o.children,s=Zp(o,Qw);return i&&u?er(a,s)&&wc(i,u):!i&&!u?er(a,s):!1}return!1},rh=function(e,r){var n=[],i={};return tf(e).forEach(function(a,o){if(r_(a))n.push(a);else if(a){var u=Tt(a.type),s=r[u]||{},c=s.handler,f=s.once;if(c&&(!f||!i[u])){var l=c(a,u,o);n.push(l),i[u]=!0}}}),n},i_=function(e){var r=e&&e.type;return r&&Jp[r]?Jp[r]:null},a_=function(e,r){return tf(r).indexOf(e)},o_=["children","width","height","viewBox","className","style","title","desc"];function _c(){return _c=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},_c.apply(this,arguments)}function u_(t,e){if(t==null)return{};var r=s_(t,e),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function s_(t,e){if(t==null)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}function Sc(t){var e=t.children,r=t.width,n=t.height,i=t.viewBox,a=t.className,o=t.style,u=t.title,s=t.desc,c=u_(t,o_),f=i||{width:r,height:n,x:0,y:0},l=re("recharts-surface",a);return P.createElement("svg",_c({},ee(c,!0,"svg"),{className:l,width:r,height:n,style:o,viewBox:"".concat(f.x," ").concat(f.y," ").concat(f.width," ").concat(f.height)}),P.createElement("title",null,u),P.createElement("desc",null,s),e)}var c_=["children","className"];function Ac(){return Ac=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Ac.apply(this,arguments)}function l_(t,e){if(t==null)return{};var r=f_(t,e),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function f_(t,e){if(t==null)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}var ve=P.forwardRef(function(t,e){var r=t.children,n=t.className,i=l_(t,c_),a=re("recharts-layer",n);return P.createElement("g",Ac({className:a},ee(i,!0),{ref:e}),r)}),Vi=function(e,r){for(var n=arguments.length,i=new Array(n>2?n-2:0),a=2;a<n;a++)i[a-2]=arguments[a]},Mo,nh;function p_(){if(nh)return Mo;nh=1;function t(e,r,n){var i=-1,a=e.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]=e[i+r];return o}return Mo=t,Mo}var Io,ih;function h_(){if(ih)return Io;ih=1;var t=p_();function e(r,n,i){var a=r.length;return i=i===void 0?a:i,!n&&i>=a?r:t(r,n,i)}return Io=e,Io}var $o,ah;function $g(){if(ah)return $o;ah=1;var t="\\ud800-\\udfff",e="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",i=e+r+n,a="\\ufe0e\\ufe0f",o="\\u200d",u=RegExp("["+o+t+i+a+"]");function s(c){return u.test(c)}return $o=s,$o}var Ro,oh;function d_(){if(oh)return Ro;oh=1;function t(e){return e.split("")}return Ro=t,Ro}var Do,uh;function v_(){if(uh)return Do;uh=1;var t="\\ud800-\\udfff",e="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",i=e+r+n,a="\\ufe0e\\ufe0f",o="["+t+"]",u="["+i+"]",s="\\ud83c[\\udffb-\\udfff]",c="(?:"+u+"|"+s+")",f="[^"+t+"]",l="(?:\\ud83c[\\udde6-\\uddff]){2}",p="[\\ud800-\\udbff][\\udc00-\\udfff]",d="\\u200d",y=c+"?",v="["+a+"]?",h="(?:"+d+"(?:"+[f,l,p].join("|")+")"+v+y+")*",x=v+y+h,O="(?:"+[f+u+"?",u,l,p,o].join("|")+")",b=RegExp(s+"(?="+s+")|"+O+x,"g");function w(m){return m.match(b)||[]}return Do=w,Do}var ko,sh;function y_(){if(sh)return ko;sh=1;var t=d_(),e=$g(),r=v_();function n(i){return e(i)?r(i):t(i)}return ko=n,ko}var qo,ch;function m_(){if(ch)return qo;ch=1;var t=h_(),e=$g(),r=y_(),n=jg();function i(a){return function(o){o=n(o);var u=e(o)?r(o):void 0,s=u?u[0]:o.charAt(0),c=u?t(u,1).join(""):o.slice(1);return s[a]()+c}}return qo=i,qo}var No,lh;function g_(){if(lh)return No;lh=1;var t=m_(),e=t("toUpperCase");return No=e,No}var b_=g_();const Yi=he(b_);function Vr(t){"@babel/helpers - typeof";return Vr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Vr(t)}var x_=["type","size","sizeType"];function Pc(){return Pc=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Pc.apply(this,arguments)}function fh(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function ph(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?fh(Object(r),!0).forEach(function(n){O_(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fh(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function O_(t,e,r){return e=w_(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function w_(t){var e=__(t,"string");return Vr(e)=="symbol"?e:e+""}function __(t,e){if(Vr(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(Vr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function S_(t,e){if(t==null)return{};var r=A_(t,e),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function A_(t,e){if(t==null)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}var Rg={symbolCircle:Gl,symbolCross:RO,symbolDiamond:kO,symbolSquare:qO,symbolStar:FO,symbolTriangle:UO,symbolWye:WO},P_=Math.PI/180,T_=function(e){var r="symbol".concat(Yi(e));return Rg[r]||Gl},E_=function(e,r,n){if(r==="area")return e;switch(n){case"cross":return 5*e*e/9;case"diamond":return .5*e*e/Math.sqrt(3);case"square":return e*e;case"star":{var i=18*P_;return 1.25*e*e*(Math.tan(i)-Math.tan(i*2)*Math.pow(Math.tan(i),2))}case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}},j_=function(e,r){Rg["symbol".concat(Yi(e))]=r},Zi=function(e){var r=e.type,n=r===void 0?"circle":r,i=e.size,a=i===void 0?64:i,o=e.sizeType,u=o===void 0?"area":o,s=S_(e,x_),c=ph(ph({},s),{},{type:n,size:a,sizeType:u}),f=function(){var h=T_(n),x=KO().type(h).size(E_(a,u,n));return x()},l=c.className,p=c.cx,d=c.cy,y=ee(c,!0);return p===+p&&d===+d&&a===+a?P.createElement("path",Pc({},y,{className:re("recharts-symbols",l),transform:"translate(".concat(p,", ").concat(d,")"),d:f()})):null};Zi.registerSymbol=j_;function ar(t){"@babel/helpers - typeof";return ar=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ar(t)}function Tc(){return Tc=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Tc.apply(this,arguments)}function hh(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function C_(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?hh(Object(r),!0).forEach(function(n){Yr(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):hh(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function M_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function I_(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,kg(n.key),n)}}function $_(t,e,r){return e&&I_(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function R_(t,e,r){return e=ti(e),D_(t,Dg()?Reflect.construct(e,r||[],ti(t).constructor):e.apply(t,r))}function D_(t,e){if(e&&(ar(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return k_(t)}function k_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Dg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Dg=function(){return!!t})()}function ti(t){return ti=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ti(t)}function q_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Ec(t,e)}function Ec(t,e){return Ec=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Ec(t,e)}function Yr(t,e,r){return e=kg(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function kg(t){var e=N_(t,"string");return ar(e)=="symbol"?e:e+""}function N_(t,e){if(ar(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(ar(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}var Xe=32,rf=function(t){function e(){return M_(this,e),R_(this,e,arguments)}return q_(e,t),$_(e,[{key:"renderIcon",value:function(n){var i=this.props.inactiveColor,a=Xe/2,o=Xe/6,u=Xe/3,s=n.inactive?i:n.color;if(n.type==="plainline")return P.createElement("line",{strokeWidth:4,fill:"none",stroke:s,strokeDasharray:n.payload.strokeDasharray,x1:0,y1:a,x2:Xe,y2:a,className:"recharts-legend-icon"});if(n.type==="line")return P.createElement("path",{strokeWidth:4,fill:"none",stroke:s,d:"M0,".concat(a,"h").concat(u,` 10 A`).concat(o,",").concat(o,",0,1,1,").concat(2*u,",").concat(a,` 11 H`).concat(Xe,"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 P.createElement("path",{stroke:"none",fill:s,d:"M0,".concat(Xe/8,"h").concat(Xe,"v").concat(Xe*3/4,"h").concat(-Xe,"z"),className:"recharts-legend-icon"});if(P.isValidElement(n.legendIcon)){var c=C_({},n);return delete c.legendIcon,P.cloneElement(n.legendIcon,c)}return P.createElement(Zi,{fill:s,cx:a,cy:a,size:Xe,sizeType:"diameter",type:n.type})}},{key:"renderItems",value:function(){var n=this,i=this.props,a=i.payload,o=i.iconSize,u=i.layout,s=i.formatter,c=i.inactiveColor,f={x:0,y:0,width:Xe,height:Xe},l={display:u==="horizontal"?"inline-block":"block",marginRight:10},p={display:"inline-block",verticalAlign:"middle",marginRight:4};return a.map(function(d,y){var v=d.formatter||s,h=re(Yr(Yr({"recharts-legend-item":!0},"legend-item-".concat(y),!0),"inactive",d.inactive));if(d.type==="none")return null;var x=Q(d.value)?null:d.value;Vi(!Q(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 O=d.inactive?c:d.color;return P.createElement("li",Tc({className:h,style:l,key:"legend-item-".concat(y)},Xr(n.props,d,y)),P.createElement(Sc,{width:o,height:o,viewBox:f,style:p},n.renderIcon(d)),P.createElement("span",{className:"recharts-legend-item-text",style:{color:O}},v?v(x,d,y):x))})}},{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 P.createElement("ul",{className:"recharts-default-legend",style:u},this.renderItems())}}])}(k.PureComponent);Yr(rf,"displayName","Legend");Yr(rf,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var Bo,dh;function B_(){if(dh)return Bo;dh=1;var t=Gi();function e(){this.__data__=new t,this.size=0}return Bo=e,Bo}var Lo,vh;function L_(){if(vh)return Lo;vh=1;function t(e){var r=this.__data__,n=r.delete(e);return this.size=r.size,n}return Lo=t,Lo}var Fo,yh;function F_(){if(yh)return Fo;yh=1;function t(e){return this.__data__.get(e)}return Fo=t,Fo}var Uo,mh;function U_(){if(mh)return Uo;mh=1;function t(e){return this.__data__.has(e)}return Uo=t,Uo}var zo,gh;function z_(){if(gh)return zo;gh=1;var t=Gi(),e=Yl(),r=Zl(),n=200;function i(a,o){var u=this.__data__;if(u instanceof t){var s=u.__data__;if(!e||s.length<n-1)return s.push([a,o]),this.size=++u.size,this;u=this.__data__=new r(s)}return u.set(a,o),this.size=u.size,this}return zo=i,zo}var Wo,bh;function qg(){if(bh)return Wo;bh=1;var t=Gi(),e=B_(),r=L_(),n=F_(),i=U_(),a=z_();function o(u){var s=this.__data__=new t(u);this.size=s.size}return o.prototype.clear=e,o.prototype.delete=r,o.prototype.get=n,o.prototype.has=i,o.prototype.set=a,Wo=o,Wo}var Ko,xh;function W_(){if(xh)return Ko;xh=1;var t="__lodash_hash_undefined__";function e(r){return this.__data__.set(r,t),this}return Ko=e,Ko}var Go,Oh;function K_(){if(Oh)return Go;Oh=1;function t(e){return this.__data__.has(e)}return Go=t,Go}var Ho,wh;function Ng(){if(wh)return Ho;wh=1;var t=Zl(),e=W_(),r=K_();function n(i){var a=-1,o=i==null?0:i.length;for(this.__data__=new t;++a<o;)this.add(i[a])}return n.prototype.add=n.prototype.push=e,n.prototype.has=r,Ho=n,Ho}var Xo,_h;function Bg(){if(_h)return Xo;_h=1;function t(e,r){for(var n=-1,i=e==null?0:e.length;++n<i;)if(r(e[n],n,e))return!0;return!1}return Xo=t,Xo}var Vo,Sh;function Lg(){if(Sh)return Vo;Sh=1;function t(e,r){return e.has(r)}return Vo=t,Vo}var Yo,Ah;function Fg(){if(Ah)return Yo;Ah=1;var t=Ng(),e=Bg(),r=Lg(),n=1,i=2;function a(o,u,s,c,f,l){var p=s&n,d=o.length,y=u.length;if(d!=y&&!(p&&y>d))return!1;var v=l.get(o),h=l.get(u);if(v&&h)return v==u&&h==o;var x=-1,O=!0,b=s&i?new t:void 0;for(l.set(o,u),l.set(u,o);++x<d;){var w=o[x],m=u[x];if(c)var g=p?c(m,w,x,u,o,l):c(w,m,x,o,u,l);if(g!==void 0){if(g)continue;O=!1;break}if(b){if(!e(u,function(_,S){if(!r(b,S)&&(w===_||f(w,_,s,c,l)))return b.push(S)})){O=!1;break}}else if(!(w===m||f(w,m,s,c,l))){O=!1;break}}return l.delete(o),l.delete(u),O}return Yo=a,Yo}var Zo,Ph;function G_(){if(Ph)return Zo;Ph=1;var t=ct(),e=t.Uint8Array;return Zo=e,Zo}var Jo,Th;function H_(){if(Th)return Jo;Th=1;function t(e){var r=-1,n=Array(e.size);return e.forEach(function(i,a){n[++r]=[a,i]}),n}return Jo=t,Jo}var Qo,Eh;function nf(){if(Eh)return Qo;Eh=1;function t(e){var r=-1,n=Array(e.size);return e.forEach(function(i){n[++r]=i}),n}return Qo=t,Qo}var eu,jh;function X_(){if(jh)return eu;jh=1;var t=Tn(),e=G_(),r=Vl(),n=Fg(),i=H_(),a=nf(),o=1,u=2,s="[object Boolean]",c="[object Date]",f="[object Error]",l="[object Map]",p="[object Number]",d="[object RegExp]",y="[object Set]",v="[object String]",h="[object Symbol]",x="[object ArrayBuffer]",O="[object DataView]",b=t?t.prototype:void 0,w=b?b.valueOf:void 0;function m(g,_,S,A,j,T,E){switch(S){case O:if(g.byteLength!=_.byteLength||g.byteOffset!=_.byteOffset)return!1;g=g.buffer,_=_.buffer;case x:return!(g.byteLength!=_.byteLength||!T(new e(g),new e(_)));case s:case c:case p:return r(+g,+_);case f:return g.name==_.name&&g.message==_.message;case d:case v:return g==_+"";case l:var M=i;case y:var $=A&o;if(M||(M=a),g.size!=_.size&&!$)return!1;var I=E.get(g);if(I)return I==_;A|=u,E.set(g,_);var D=n(M(g),M(_),A,j,T,E);return E.delete(g),D;case h:if(w)return w.call(g)==w.call(_)}return!1}return eu=m,eu}var tu,Ch;function Ug(){if(Ch)return tu;Ch=1;function t(e,r){for(var n=-1,i=r.length,a=e.length;++n<i;)e[a+n]=r[n];return e}return tu=t,tu}var ru,Mh;
vendor: 4,918 bytes, line 12
12function V_(){if(Mh)return ru;Mh=1;var t=Ug(),e=Le();function r(n,i,a){var o=i(n);return e(n)?o:t(o,a(n))}return ru=r,ru}var nu,Ih;function Y_(){if(Ih)return nu;Ih=1;function t(e,r){for(var n=-1,i=e==null?0:e.length,a=0,o=[];++n<i;){var u=e[n];r(u,n,e)&&(o[a++]=u)}return o}return nu=t,nu}var iu,$h;function Z_(){if($h)return iu;$h=1;function t(){return[]}return iu=t,iu}var au,Rh;function J_(){if(Rh)return au;Rh=1;var t=Y_(),e=Z_(),r=Object.prototype,n=r.propertyIsEnumerable,i=Object.getOwnPropertySymbols,a=i?function(o){return o==null?[]:(o=Object(o),t(i(o),function(u){return n.call(o,u)}))}:e;return au=a,au}var ou,Dh;function Q_(){if(Dh)return ou;Dh=1;function t(e,r){for(var n=-1,i=Array(e);++n<e;)i[n]=r(n);return i}return ou=t,ou}var uu,kh;function e1(){if(kh)return uu;kh=1;var t=Ot(),e=wt(),r="[object Arguments]";function n(i){return e(i)&&t(i)==r}return uu=n,uu}var su,qh;function af(){if(qh)return su;qh=1;var t=e1(),e=wt(),r=Object.prototype,n=r.hasOwnProperty,i=r.propertyIsEnumerable,a=t(function(){return arguments}())?t:function(o){return e(o)&&n.call(o,"callee")&&!i.call(o,"callee")};return su=a,su}var Br={exports:{}},cu,Nh;function t1(){if(Nh)return cu;Nh=1;function t(){return!1}return cu=t,cu}Br.exports;var Bh;function zg(){return Bh||(Bh=1,function(t,e){var r=ct(),n=t1(),i=e&&!e.nodeType&&e,a=i&&!0&&t&&!t.nodeType&&t,o=a&&a.exports===i,u=o?r.Buffer:void 0,s=u?u.isBuffer:void 0,c=s||n;t.exports=c}(Br,Br.exports)),Br.exports}var lu,Lh;function of(){if(Lh)return lu;Lh=1;var t=9007199254740991,e=/^(?:0|[1-9]\d*)$/;function r(n,i){var a=typeof n;return i=i??t,!!i&&(a=="number"||a!="symbol"&&e.test(n))&&n>-1&&n%1==0&&n<i}return lu=r,lu}var fu,Fh;function uf(){if(Fh)return fu;Fh=1;var t=9007199254740991;function e(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=t}return fu=e,fu}var pu,Uh;function r1(){if(Uh)return pu;Uh=1;var t=Ot(),e=uf(),r=wt(),n="[object Arguments]",i="[object Array]",a="[object Boolean]",o="[object Date]",u="[object Error]",s="[object Function]",c="[object Map]",f="[object Number]",l="[object Object]",p="[object RegExp]",d="[object Set]",y="[object String]",v="[object WeakMap]",h="[object ArrayBuffer]",x="[object DataView]",O="[object Float32Array]",b="[object Float64Array]",w="[object Int8Array]",m="[object Int16Array]",g="[object Int32Array]",_="[object Uint8Array]",S="[object Uint8ClampedArray]",A="[object Uint16Array]",j="[object Uint32Array]",T={};T[O]=T[b]=T[w]=T[m]=T[g]=T[_]=T[S]=T[A]=T[j]=!0,T[n]=T[i]=T[h]=T[a]=T[x]=T[o]=T[u]=T[s]=T[c]=T[f]=T[l]=T[p]=T[d]=T[y]=T[v]=!1;function E(M){return r(M)&&e(M.length)&&!!T[t(M)]}return pu=E,pu}var hu,zh;function Wg(){if(zh)return hu;zh=1;function t(e){return function(r){return e(r)}}return hu=t,hu}var Lr={exports:{}};Lr.exports;var Wh;function n1(){return Wh||(Wh=1,function(t,e){var r=Pg(),n=e&&!e.nodeType&&e,i=n&&!0&&t&&!t.nodeType&&t,a=i&&i.exports===n,o=a&&r.process,u=function(){try{var s=i&&i.require&&i.require("util").types;return s||o&&o.binding&&o.binding("util")}catch{}}();t.exports=u}(Lr,Lr.exports)),Lr.exports}var du,Kh;function Kg(){if(Kh)return du;Kh=1;var t=r1(),e=Wg(),r=n1(),n=r&&r.isTypedArray,i=n?e(n):t;return du=i,du}var vu,Gh;function i1(){if(Gh)return vu;Gh=1;var t=Q_(),e=af(),r=Le(),n=zg(),i=of(),a=Kg(),o=Object.prototype,u=o.hasOwnProperty;function s(c,f){var l=r(c),p=!l&&e(c),d=!l&&!p&&n(c),y=!l&&!p&&!d&&a(c),v=l||p||d||y,h=v?t(c.length,String):[],x=h.length;for(var O in c)(f||u.call(c,O))&&!(v&&(O=="length"||d&&(O=="offset"||O=="parent")||y&&(O=="buffer"||O=="byteLength"||O=="byteOffset")||i(O,x)))&&h.push(O);return h}return vu=s,vu}var yu,Hh;function a1(){if(Hh)return yu;Hh=1;var t=Object.prototype;function e(r){var n=r&&r.constructor,i=typeof n=="function"&&n.prototype||t;return r===i}return yu=e,yu}var mu,Xh;function Gg(){if(Xh)return mu;Xh=1;function t(e,r){return function(n){return e(r(n))}}return mu=t,mu}var gu,Vh;function o1(){if(Vh)return gu;Vh=1;var t=Gg(),e=t(Object.keys,Object);return gu=e,gu}var bu,Yh;function u1(){if(Yh)return bu;Yh=1;var t=a1(),e=o1(),r=Object.prototype,n=r.hasOwnProperty;function i(a){if(!t(a))return e(a);var o=[];for(var u in Object(a))n.call(a,u)&&u!="constructor"&&o.push(u);return o}return bu=i,bu}var xu,Zh;function Cn(){if(Zh)return xu;Zh=1;var t=Xl(),e=uf();function r(n){return n!=null&&e(n.length)&&!t(n)}return xu=r,xu}var Ou,Jh;function Ji(){if(Jh)return Ou;Jh=1;var t=i1(),e=u1(),r=Cn();function n(i){return r(i)?t(i):e(i)}return Ou=n,Ou}var wu,Qh;function s1(){if(Qh)return wu;Qh=1;var t=V_(),e=J_(),r=Ji();function n(i){return t(i,r,e)}return wu=n,wu}var _u,ed;function c1(){if(ed)return _u;ed=1;var t=s1(),e=1,r=Object.prototype,n=r.hasOwnProperty;function i(a,o,u,s,c,f){var l=u&e,p=t(a),d=p.length,y=t(o),v=y.length;if(d!=v&&!l)return!1;for(var h=d;h--;){var x=p[h];if(!(l?x in o:n.call(o,x)))return!1}var O=f.get(a),b=f.get(o);if(O&&b)return O==o&&b==a;var w=!0;f.set(a,o),f.set(o,a);for(var m=l;++h<d;
vendor: 1,041 bytes, line 12
12){x=p[h];var g=a[x],_=o[x];if(s)var S=l?s(_,g,x,o,a,f):s(g,_,x,a,o,f);if(!(S===void 0?g===_||c(g,_,u,s,f):S)){w=!1;break}m||(m=x=="constructor")}if(w&&!m){var A=a.constructor,j=o.constructor;A!=j&&"constructor"in a&&"constructor"in o&&!(typeof A=="function"&&A instanceof A&&typeof j=="function"&&j instanceof j)&&(w=!1)}return f.delete(a),f.delete(o),w}return _u=i,_u}var Su,td;function l1(){if(td)return Su;td=1;var t=Gt(),e=ct(),r=t(e,"DataView");return Su=r,Su}var Au,rd;function f1(){if(rd)return Au;rd=1;var t=Gt(),e=ct(),r=t(e,"Promise");return Au=r,Au}var Pu,nd;function Hg(){if(nd)return Pu;nd=1;var t=Gt(),e=ct(),r=t(e,"Set");return Pu=r,Pu}var Tu,id;function p1(){if(id)return Tu;id=1;var t=Gt(),e=ct(),r=t(e,"WeakMap");return Tu=r,Tu}var Eu,ad;function h1(){if(ad)return Eu;ad=1;var t=l1(),e=Yl(),r=f1(),n=Hg(),i=p1(),a=Ot(),o=Tg(),u="[object Map]",s="[object Object]",c="[object Promise]",f="[object Set]",l="[object WeakMap]",p="[object DataView]",d=o(t),y=o(e),v=o(r),h=o(n),x=o(i),O=a;return(t&&O(new t(new ArrayBuffer(1)))!=
vendor: 5,789 bytes, line 12
12p||e&&O(new e)!=u||r&&O(r.resolve())!=c||n&&O(new n)!=f||i&&O(new i)!=l)&&(O=function(b){var w=a(b),m=w==s?b.constructor:void 0,g=m?o(m):"";if(g)switch(g){case d:return p;case y:return u;case v:return c;case h:return f;case x:return l}return w}),Eu=O,Eu}var ju,od;function d1(){if(od)return ju;od=1;var t=qg(),e=Fg(),r=X_(),n=c1(),i=h1(),a=Le(),o=zg(),u=Kg(),s=1,c="[object Arguments]",f="[object Array]",l="[object Object]",p=Object.prototype,d=p.hasOwnProperty;function y(v,h,x,O,b,w){var m=a(v),g=a(h),_=m?f:i(v),S=g?f:i(h);_=_==c?l:_,S=S==c?l:S;var A=_==l,j=S==l,T=_==S;if(T&&o(v)){if(!o(h))return!1;m=!0,A=!1}if(T&&!A)return w||(w=new t),m||u(v)?e(v,h,x,O,b,w):r(v,h,_,x,O,b,w);if(!(x&s)){var E=A&&d.call(v,"__wrapped__"),M=j&&d.call(h,"__wrapped__");if(E||M){var $=E?v.value():v,I=M?h.value():h;return w||(w=new t),b($,I,x,O,w)}}return T?(w||(w=new t),n(v,h,x,O,b,w)):!1}return ju=y,ju}var Cu,ud;function sf(){if(ud)return Cu;ud=1;var t=d1(),e=wt();function r(n,i,a,o,u){return n===i?!0:n==null||i==null||!e(n)&&!e(i)?n!==n&&i!==i:t(n,i,a,o,r,u)}return Cu=r,Cu}var Mu,sd;function v1(){if(sd)return Mu;sd=1;var t=qg(),e=sf(),r=1,n=2;function i(a,o,u,s){var c=u.length,f=c,l=!s;if(a==null)return!f;for(a=Object(a);c--;){var p=u[c];if(l&&p[2]?p[1]!==a[p[0]]:!(p[0]in a))return!1}for(;++c<f;){p=u[c];var d=p[0],y=a[d],v=p[1];if(l&&p[2]){if(y===void 0&&!(d in a))return!1}else{var h=new t;if(s)var x=s(y,v,d,a,o,h);if(!(x===void 0?e(v,y,r|n,s,h):x))return!1}}return!0}return Mu=i,Mu}var Iu,cd;function Xg(){if(cd)return Iu;cd=1;var t=Ct();function e(r){return r===r&&!t(r)}return Iu=e,Iu}var $u,ld;function y1(){if(ld)return $u;ld=1;var t=Xg(),e=Ji();function r(n){for(var i=e(n),a=i.length;a--;){var o=i[a],u=n[o];i[a]=[o,u,t(u)]}return i}return $u=r,$u}var Ru,fd;function Vg(){if(fd)return Ru;fd=1;function t(e,r){return function(n){return n==null?!1:n[e]===r&&(r!==void 0||e in Object(n))}}return Ru=t,Ru}var Du,pd;function m1(){if(pd)return Du;pd=1;var t=v1(),e=y1(),r=Vg();function n(i){var a=e(i);return a.length==1&&a[0][2]?r(a[0][0],a[0][1]):function(o){return o===i||t(o,i,a)}}return Du=n,Du}var ku,hd;function g1(){if(hd)return ku;hd=1;function t(e,r){return e!=null&&r in Object(e)}return ku=t,ku}var qu,dd;function b1(){if(dd)return qu;dd=1;var t=Cg(),e=af(),r=Le(),n=of(),i=uf(),a=Xi();function o(u,s,c){s=t(s,u);for(var f=-1,l=s.length,p=!1;++f<l;){var d=a(s[f]);if(!(p=u!=null&&c(u,d)))break;u=u[d]}return p||++f!=l?p:(l=u==null?0:u.length,!!l&&i(l)&&n(d,l)&&(r(u)||e(u)))}return qu=o,qu}var Nu,vd;function x1(){if(vd)return Nu;vd=1;var t=g1(),e=b1();function r(n,i){return n!=null&&e(n,i,t)}return Nu=r,Nu}var Bu,yd;function O1(){if(yd)return Bu;yd=1;var t=sf(),e=Mg(),r=x1(),n=Hl(),i=Xg(),a=Vg(),o=Xi(),u=1,s=2;function c(f,l){return n(f)&&i(l)?a(o(f),l):function(p){var d=e(p,f);return d===void 0&&d===l?r(p,f):t(l,d,u|s)}}return Bu=c,Bu}var Lu,md;function Pr(){if(md)return Lu;md=1;function t(e){return e}return Lu=t,Lu}var Fu,gd;function w1(){if(gd)return Fu;gd=1;function t(e){return function(r){return r==null?void 0:r[e]}}return Fu=t,Fu}var Uu,bd;function _1(){if(bd)return Uu;bd=1;var t=Ql();function e(r){return function(n){return t(n,r)}}return Uu=e,Uu}var zu,xd;function S1(){if(xd)return zu;xd=1;var t=w1(),e=_1(),r=Hl(),n=Xi();function i(a){return r(a)?t(n(a)):e(a)}return zu=i,zu}var Wu,Od;function Mt(){if(Od)return Wu;Od=1;var t=m1(),e=O1(),r=Pr(),n=Le(),i=S1();function a(o){return typeof o=="function"?o:o==null?r:typeof o=="object"?n(o)?e(o[0],o[1]):t(o):i(o)}return Wu=a,Wu}var Ku,wd;function Yg(){if(wd)return Ku;wd=1;function t(e,r,n,i){for(var a=e.length,o=n+(i?1:-1);i?o--:++o<a;)if(r(e[o],o,e))return o;return-1}return Ku=t,Ku}var Gu,_d;function A1(){if(_d)return Gu;_d=1;function t(e){return e!==e}return Gu=t,Gu}var Hu,Sd;function P1(){if(Sd)return Hu;Sd=1;function t(e,r,n){for(var i=n-1,a=e.length;++i<a;)if(e[i]===r)return i;return-1}return Hu=t,Hu}var Xu,Ad;function T1(){if(Ad)return Xu;Ad=1;var t=Yg(),e=A1(),r=P1();function n(i,a,o){return a===a?r(i,a,o):t(i,e,o)}return Xu=n,Xu}var Vu,Pd;function E1(){if(Pd)return Vu;Pd=1;var t=T1();function e(r,n){var i=r==null?0:r.length;return!!i&&t(r,n,0)>-1}return Vu=e,Vu}var Yu,Td;function j1(){if(Td)return Yu;Td=1;function t(e,r,n){for(var i=-1,a=e==null?0:e.length;++i<a;)if(n(r,e[i]))return!0;return!1}return Yu=t,Yu}var Zu,Ed;function C1(){if(Ed)return Zu;Ed=1;function t(){}return Zu=t,Zu}var Ju,jd;function M1(){if(jd)return Ju;jd=1;var t=Hg(),e=C1(),r=nf(),n=1/0,i=t&&1/r(new t([,-0]))[1]==n?function(a){return new t(a)}:e;return Ju=i,Ju}var Qu,Cd;function I1(){if(Cd)return Qu;Cd=1;var t=Ng(),e=E1(),r=j1(),n=Lg(),i=M1(),a=nf(),o=200;function u(s,c,f){var l=-1,p=e,d=s.length,y=!0,v=[],h=v;if(f)y=!1,p=r;else if(d>=o){var x=c?null:i(s);if(x)return a(x);y=!1,p=n,h=new t}else h=c?[]:v;e:for(;++l<d;){var O=s[l],b=c?c(O):O;if(O=f||O!==0?O:0,y&&b===b){for(var w=h.length;w--;)if(h[w]===b)continue e;c&&h.push(b),v.push(O)}else p(h,b,f)||(h!==v&&h.push(b),v.push(O))}return v}return Qu=u,Qu}var es,Md;function $1(){if(Md)return es;Md=1;var t=Mt(),e=I1();function r(n,i){return n&&n.length?e(n,t(i,2)):[]}return es=r,es}var R1=$1();const Id=he(R1);function Zg(t,e,r){return e===!0?Id(t,r):Q(e)?Id(t,e):t}function or(t){"@babel/helpers - typeof";return or=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},or(t)}var D1=["ref"];function $d(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function lt(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};
12e%2?$d(Object(r),!0).forEach(function(n){Qi(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$d(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function k1(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rd(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Qg(n.key),n)}}function q1(t,e,r){return e&&Rd(t.prototype,e),r&&Rd(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function N1(t,e,r){return e=ri(e),B1(t,Jg()?Reflect.construct(e,r||[],ri(t).constructor):e.apply(t,r))}function B1(t,e){if(e&&(or(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return L1(t)}function L1(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Jg=function(){return!!t})()}
vendor: 98,856 bytes, lines 12-41
12function ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ri(t)}function F1(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&jc(t,e)}function jc(t,e){return jc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},jc(t,e)}function Qi(t,e,r){return e=Qg(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Qg(t){var e=U1(t,"string");return or(e)=="symbol"?e:e+""}function U1(t,e){if(or(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(or(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}function z1(t,e){if(t==null)return{};var r=W1(t,e),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function W1(t,e){if(t==null)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}function K1(t){return t.value}function G1(t,e){if(P.isValidElement(t))return P.cloneElement(t,e);if(typeof t=="function")return P.createElement(t,e);e.ref;var r=z1(e,D1);return P.createElement(rf,r)}var Dd=1,tr=function(t){function e(){var r;k1(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return r=N1(this,e,[].concat(i)),Qi(r,"lastBoundingBox",{width:-1,height:-1}),r}return F1(e,t),q1(e,[{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)>Dd||Math.abs(i.height-this.lastBoundingBox.height)>Dd)&&(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,s=i.margin,c=i.chartWidth,f=i.chartHeight,l,p;if(!n||(n.left===void 0||n.left===null)&&(n.right===void 0||n.right===null))if(o==="center"&&a==="vertical"){var d=this.getBBoxSnapshot();l={left:((c||0)-d.width)/2}}else l=o==="right"?{right:s&&s.right||0}:{left:s&&s.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();p={top:((f||0)-y.height)/2}}else p=u==="bottom"?{bottom:s&&s.bottom||0}:{top:s&&s.top||0};return lt(lt({},l),p)}},{key:"render",value:function(){var n=this,i=this.props,a=i.content,o=i.width,u=i.height,s=i.wrapperStyle,c=i.payloadUniqBy,f=i.payload,l=lt(lt({position:"absolute",width:o||"auto",height:u||"auto"},this.getDefaultPosition(s)),s);return P.createElement("div",{className:"recharts-legend-wrapper",style:l,ref:function(d){n.wrapperNode=d}},G1(a,lt(lt({},this.props),{},{payload:Zg(f,c,K1)})))}}],[{key:"getWithHeight",value:function(n,i){var a=lt(lt({},this.defaultProps),n.props),o=a.layout;return o==="vertical"&&B(n.props.height)?{height:n.props.height}:o==="horizontal"?{width:n.props.width||i}:null}}])}(k.PureComponent);Qi(tr,"displayName","Legend");Qi(tr,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var ts,kd;function H1(){if(kd)return ts;kd=1;var t=Tn(),e=af(),r=Le(),n=t?t.isConcatSpreadable:void 0;function i(a){return r(a)||e(a)||!!(n&&a&&a[n])}return ts=i,ts}var rs,qd;function eb(){if(qd)return rs;qd=1;var t=Ug(),e=H1();function r(n,i,a,o,u){var s=-1,c=n.length;for(a||(a=e),u||(u=[]);++s<c;){var f=n[s];i>0&&a(f)?i>1?r(f,i-1,a,o,u):t(u,f):o||(u[u.length]=f)}return u}return rs=r,rs}var ns,Nd;function X1(){if(Nd)return ns;Nd=1;function t(e){return function(r,n,i){for(var a=-1,o=Object(r),u=i(r),s=u.length;s--;){var c=u[e?s:++a];if(n(o[c],c,o)===!1)break}return r}}return ns=t,ns}var is,Bd;function V1(){if(Bd)return is;Bd=1;var t=X1(),e=t();return is=e,is}var as,Ld;function tb(){if(Ld)return as;Ld=1;var t=V1(),e=Ji();function r(n,i){return n&&t(n,i,e)}return as=r,as}var os,Fd;function Y1(){if(Fd)return os;Fd=1;var t=Cn();function e(r,n){return function(i,a){if(i==null)return i;if(!t(i))return r(i,a);for(var o=i.length,u=n?o:-1,s=Object(i);(n?u--:++u<o)&&a(s[u],u,s)!==!1;);return i}}return os=e,os}var us,Ud;function cf(){if(Ud)return us;Ud=1;var t=tb(),e=Y1(),r=e(t);return us=r,us}var ss,zd;function rb(){if(zd)return ss;zd=1;var t=cf(),e=Cn();function r(n,i){var a=-1,o=e(n)?Array(n.length):[];return t(n,function(u,s,c){o[++a]=i(u,s,c)}),o}return ss=r,ss}var cs,Wd;function Z1(){if(Wd)return cs;Wd=1;function t(e,r){var n=e.length;for(e.sort(r);n--;)e[n]=e[n].value;return e}return cs=t,cs}var ls,Kd;function J1(){if(Kd)return ls;Kd=1;var t=Sr();function e(r,n){if(r!==n){var i=r!==void 0,a=r===null,o=r===r,u=t(r),s=n!==void 0,c=n===null,f=n===n,l=t(n);if(!c&&!l&&!u&&r>n||u&&s&&f&&!c&&!l||a&&s&&f||!i&&f||!o)return 1;if(!a&&!u&&!l&&r<n||l&&i&&o&&!a&&!u||c&&i&&o||!s&&o||!f)return-1}return 0}return ls=e,ls}var fs,Gd;function Q1(){if(Gd)return fs;Gd=1;var t=J1();function e(r,n,i){for(var a=-1,o=r.criteria,u=n.criteria,s=o.length,c=i.length;++a<s;){var f=t(o[a],u[a]);if(f){if(a>=c)return f;var l=i[a];return f*(l=="desc"?-1:1)}}return r.index-n.index}return fs=e,fs}var ps,Hd;function eS(){if(Hd)return ps;Hd=1;var t=Jl(),e=Ql(),r=Mt(),n=rb(),i=Z1(),a=Wg(),o=Q1(),u=Pr(),s=Le();function c(f,l,p){l.length?l=t(l,function(v){return s(v)?function(h){return e(h,v.length===1?v[0]:v)}:v}):l=[u];var d=-1;l=t(l,a(r));var y=n(f,function(v,h,x){var O=t(l,function(b){return b(v)});return{criteria:O,index:++d,value:v}});return i(y,function(v,h){return o(v,h,p)})}return ps=c,ps}var hs,Xd;function tS(){if(Xd)return hs;Xd=1;function t(e,r,n){switch(n.length){case 0:return e.call(r);case 1:return e.call(r,n[0]);case 2:return e.call(r,n[0],n[1]);case 3:return e.call(r,n[0],n[1],n[2])}return e.apply(r,n)}return hs=t,hs}var ds,Vd;function rS(){if(Vd)return ds;Vd=1;var t=tS(),e=Math.max;function r(n,i,a){return i=e(i===void 0?n.length-1:i,0),function(){for(var o=arguments,u=-1,s=e(o.length-i,0),c=Array(s);++u<s;)c[u]=o[i+u];u=-1;for(var f=Array(i+1);++u<i;)f[u]=o[u];return f[i]=a(c),t(n,this,f)}}return ds=r,ds}var vs,Yd;function nS(){if(Yd)return vs;Yd=1;function t(e){return function(){return e}}return vs=t,vs}var ys,Zd;function nb(){if(Zd)return ys;Zd=1;var t=Gt(),e=function(){try{var r=t(Object,"defineProperty");return r({},"",{}),r}catch{}}();return ys=e,ys}var ms,Jd;function iS(){if(Jd)return ms;Jd=1;var t=nS(),e=nb(),r=Pr(),n=e?function(i,a){return e(i,"toString",{configurable:!0,enumerable:!1,value:t(a),writable:!0})}:r;return ms=n,ms}var gs,Qd;function aS(){if(Qd)return gs;Qd=1;var t=800,e=16,r=Date.now;function n(i){var a=0,o=0;return function(){var u=r(),s=e-(u-o);if(o=u,s>0){if(++a>=t)return arguments[0]}else a=0;return i.apply(void 0,arguments)}}return gs=n,gs}var bs,ev;function oS(){if(ev)return bs;ev=1;var t=iS(),e=aS(),r=e(t);return bs=r,bs}var xs,tv;function uS(){if(tv)return xs;tv=1;var t=Pr(),e=rS(),r=oS();function n(i,a){return r(e(i,a,t),i+"")}return xs=n,xs}var Os,rv;function ea(){if(rv)return Os;rv=1;var t=Vl(),e=Cn(),r=of(),n=Ct();function i(a,o,u){if(!n(u))return!1;var s=typeof o;return(s=="number"?e(u)&&r(o,u.length):s=="string"&&o in u)?t(u[o],a):!1}return Os=i,Os}var ws,nv;function sS(){if(nv)return ws;nv=1;var t=eb(),e=eS(),r=uS(),n=ea(),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]]),e(a,t(o,1),[])});return ws=i,ws}var cS=sS();const lf=he(cS);function Zr(t){"@babel/helpers - typeof";return Zr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zr(t)}function Cc(){return Cc=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Cc.apply(this,arguments)}function lS(t,e){return dS(t)||hS(t,e)||pS(t,e)||fS()}function fS(){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 pS(t,e){if(t){if(typeof t=="string")return iv(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return iv(t,e)}}function iv(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function hS(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n,i,a,o,u=[],s=!0,c=!1;try{if(a=(r=r.call(t)).next,e!==0)for(;!(s=(n=a.call(r)).done)&&(u.push(n.value),u.length!==e);s=!0);}catch(f){c=!0,i=f}finally{try{if(!s&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return u}}function dS(t){if(Array.isArray(t))return t}function av(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function _s(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?av(Object(r),!0).forEach(function(n){vS(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):av(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function vS(t,e,r){return e=yS(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function yS(t){var e=mS(t,"string");return Zr(e)=="symbol"?e:e+""}function mS(t,e){if(Zr(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(Zr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function gS(t){return Array.isArray(t)&&Se(t[0])&&Se(t[1])?t.join(" ~ "):t}var bS=function(e){var r=e.separator,n=r===void 0?" : ":r,i=e.contentStyle,a=i===void 0?{}:i,o=e.itemStyle,u=o===void 0?{}:o,s=e.labelStyle,c=s===void 0?{}:s,f=e.payload,l=e.formatter,p=e.itemSorter,d=e.wrapperClassName,y=e.labelClassName,v=e.label,h=e.labelFormatter,x=e.accessibilityLayer,O=x===void 0?!1:x,b=function(){if(f&&f.length){var E={padding:0,margin:0},M=(p?lf(f,p):f).map(function($,I){if($.type==="none")return null;var D=_s({display:"block",paddingTop:4,paddingBottom:4,color:$.color||"#000"},u),q=$.formatter||l||gS,L=$.value,U=$.name,W=L,K=U;if(q&&W!=null&&K!=null){var F=q(L,U,$,I,f);if(Array.isArray(F)){var H=lS(F,2);W=H[0],K=H[1]}else W=F}return P.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(I),style:D},Se(K)?P.createElement("span",{className:"recharts-tooltip-item-name"},K):null,Se(K)?P.createElement("span",{className:"recharts-tooltip-item-separator"},n):null,P.createElement("span",{className:"recharts-tooltip-item-value"},W),P.createElement("span",{className:"recharts-tooltip-item-unit"},$.unit||""))});return P.createElement("ul",{className:"recharts-tooltip-item-list",style:E},M)}return null},w=_s({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},a),m=_s({margin:0},c),g=!Z(v),_=g?v:"",S=re("recharts-default-tooltip",d),A=re("recharts-tooltip-label",y);g&&h&&f!==void 0&&f!==null&&(_=h(v,f));var j=O?{role:"status","aria-live":"assertive"}:{};return P.createElement("div",Cc({className:S,style:w},j),P.createElement("p",{className:A,style:m},P.isValidElement(_)?_:"".concat(_)),b())};function Jr(t){"@babel/helpers - typeof";return Jr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jr(t)}function qn(t,e,r){return e=xS(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function xS(t){var e=OS(t,"string");return Jr(e)=="symbol"?e:e+""}function OS(t,e){if(Jr(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(Jr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Rr="recharts-tooltip-wrapper",wS={visibility:"hidden"};function _S(t){var e=t.coordinate,r=t.translateX,n=t.translateY;return re(Rr,qn(qn(qn(qn({},"".concat(Rr,"-right"),B(r)&&e&&B(e.x)&&r>=e.x),"".concat(Rr,"-left"),B(r)&&e&&B(e.x)&&r<e.x),"".concat(Rr,"-bottom"),B(n)&&e&&B(e.y)&&n>=e.y),"".concat(Rr,"-top"),B(n)&&e&&B(e.y)&&n<e.y))}function ov(t){var e=t.allowEscapeViewBox,r=t.coordinate,n=t.key,i=t.offsetTopLeft,a=t.position,o=t.reverseDirection,u=t.tooltipDimension,s=t.viewBox,c=t.viewBoxDimension;if(a&&B(a[n]))return a[n];var f=r[n]-u-i,l=r[n]+i;if(e[n])return o[n]?f:l;if(o[n]){var p=f,d=s[n];return p<d?Math.max(l,s[n]):Math.max(f,s[n])}var y=l+u,v=s[n]+c;return y>v?Math.max(f,s[n]):Math.max(l,s[n])}function SS(t){var e=t.translateX,r=t.translateY,n=t.useTranslate3d;return{transform:n?"translate3d(".concat(e,"px, ").concat(r,"px, 0)"):"translate(".concat(e,"px, ").concat(r,"px)")}}function AS(t){var e=t.allowEscapeViewBox,r=t.coordinate,n=t.offsetTopLeft,i=t.position,a=t.reverseDirection,o=t.tooltipBox,u=t.useTranslate3d,s=t.viewBox,c,f,l;return o.height>0&&o.width>0&&r?(f=ov({allowEscapeViewBox:e,coordinate:r,key:"x",offsetTopLeft:n,position:i,reverseDirection:a,tooltipDimension:o.width,viewBox:s,viewBoxDimension:s.width}),l=ov({allowEscapeViewBox:e,coordinate:r,key:"y",offsetTopLeft:n,position:i,reverseDirection:a,tooltipDimension:o.height,viewBox:s,viewBoxDimension:s.height}),c=SS({translateX:f,translateY:l,useTranslate3d:u})):c=wS,{cssProperties:c,cssClasses:_S({translateX:f,translateY:l,coordinate:r})}}function ur(t){"@babel/helpers - typeof";return ur=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ur(t)}function uv(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function sv(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?uv(Object(r),!0).forEach(function(n){Ic(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):uv(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function PS(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function TS(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ab(n.key),n)}}function ES(t,e,r){return e&&TS(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function jS(t,e,r){return e=ni(e),CS(t,ib()?Reflect.construct(e,r||[],ni(t).constructor):e.apply(t,r))}function CS(t,e){if(e&&(ur(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return MS(t)}function MS(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ib(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ib=function(){return!!t})()}function ni(t){return ni=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ni(t)}function IS(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Mc(t,e)}function Mc(t,e){return Mc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Mc(t,e)}function Ic(t,e,r){return e=ab(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ab(t){var e=$S(t,"string");return ur(e)=="symbol"?e:e+""}function $S(t,e){if(ur(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(ur(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}var cv=1,RS=function(t){function e(){var r;PS(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return r=jS(this,e,[].concat(i)),Ic(r,"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),Ic(r,"handleKeyDown",function(o){if(o.key==="Escape"){var u,s,c,f;r.setState({dismissed:!0,dismissedAtCoordinate:{x:(u=(s=r.props.coordinate)===null||s===void 0?void 0:s.x)!==null&&u!==void 0?u:0,y:(c=(f=r.props.coordinate)===null||f===void 0?void 0:f.y)!==null&&c!==void 0?c:0}})}}),r}return IS(e,t),ES(e,[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var n=this.wrapperNode.getBoundingClientRect();(Math.abs(n.width-this.state.lastBoundingBox.width)>cv||Math.abs(n.height-this.state.lastBoundingBox.height)>cv)&&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,s=i.animationEasing,c=i.children,f=i.coordinate,l=i.hasPayload,p=i.isAnimationActive,d=i.offset,y=i.position,v=i.reverseDirection,h=i.useTranslate3d,x=i.viewBox,O=i.wrapperStyle,b=AS({allowEscapeViewBox:o,coordinate:f,offsetTopLeft:d,position:y,reverseDirection:v,tooltipBox:this.state.lastBoundingBox,useTranslate3d:h,viewBox:x}),w=b.cssClasses,m=b.cssProperties,g=sv(sv({transition:p&&a?"transform ".concat(u,"ms ").concat(s):void 0},m),{},{pointerEvents:"none",visibility:!this.state.dismissed&&a&&l?"visible":"hidden",position:"absolute",top:0,left:0},O);return P.createElement("div",{tabIndex:-1,className:w,style:g,ref:function(S){n.wrapperNode=S}},c)}}])}(k.PureComponent),DS=function(){return!(typeof window<"u"&&window.document&&window.document.createElement&&window.setTimeout)},Tr={isSsr:DS()};function sr(t){"@babel/helpers - typeof";return sr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sr(t)}function lv(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function fv(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?lv(Object(r),!0).forEach(function(n){ff(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):lv(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function kS(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qS(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ub(n.key),n)}}function NS(t,e,r){return e&&qS(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function BS(t,e,r){return e=ii(e),LS(t,ob()?Reflect.construct(e,r||[],ii(t).constructor):e.apply(t,r))}function LS(t,e){if(e&&(sr(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return FS(t)}function FS(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ob(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ob=function(){return!!t})()}function ii(t){return ii=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ii(t)}function US(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&$c(t,e)}function $c(t,e){return $c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},$c(t,e)}function ff(t,e,r){return e=ub(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ub(t){var e=zS(t,"string");return sr(e)=="symbol"?e:e+""}function zS(t,e){if(sr(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(sr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function WS(t){return t.dataKey}function KS(t,e){return P.isValidElement(t)?P.cloneElement(t,e):typeof t=="function"?P.createElement(t,e):P.createElement(bS,e)}var it=function(t){function e(){return kS(this,e),BS(this,e,arguments)}return US(e,t),NS(e,[{key:"render",value:function(){var n=this,i=this.props,a=i.active,o=i.allowEscapeViewBox,u=i.animationDuration,s=i.animationEasing,c=i.content,f=i.coordinate,l=i.filterNull,p=i.isAnimationActive,d=i.offset,y=i.payload,v=i.payloadUniqBy,h=i.position,x=i.reverseDirection,O=i.useTranslate3d,b=i.viewBox,w=i.wrapperStyle,m=y??[];l&&m.length&&(m=Zg(y.filter(function(_){return _.value!=null&&(_.hide!==!0||n.props.includeHidden)}),v,WS));var g=m.length>0;return P.createElement(RS,{allowEscapeViewBox:o,animationDuration:u,animationEasing:s,isAnimationActive:p,active:a,coordinate:f,hasPayload:g,offset:d,position:h,reverseDirection:x,useTranslate3d:O,viewBox:b,wrapperStyle:w},KS(c,fv(fv({},this.props),{},{payload:m})))}}])}(k.PureComponent);ff(it,"displayName","Tooltip");ff(it,"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 Ss,pv;function GS(){if(pv)return Ss;pv=1;var t=ct(),e=function(){return t.Date.now()};return Ss=e,Ss}var As,hv;function HS(){if(hv)return As;hv=1;var t=/\s/;function e(r){for(var n=r.length;n--&&t.test(r.charAt(n)););return n}return As=e,As}var Ps,dv;function XS(){if(dv)return Ps;dv=1;var t=HS(),e=/^\s+/;function r(n){return n&&n.slice(0,t(n)+1).replace(e,"")}return Ps=r,Ps}var Ts,vv;function sb(){if(vv)return Ts;vv=1;var t=XS(),e=Ct(),r=Sr(),n=NaN,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,o=/^0o[0-7]+$/i,u=parseInt;function s(c){if(typeof c=="number")return c;if(r(c))return n;if(e(c)){var f=typeof c.valueOf=="function"?c.valueOf():c;c=e(f)?f+"":f}if(typeof c!="string")return c===0?c:+c;c=t(c);var l=a.test(c);return l||o.test(c)?u(c.slice(2),l?2:8):i.test(c)?n:+c}return Ts=s,Ts}var Es,yv;function VS(){if(yv)return Es;yv=1;var t=Ct(),e=GS(),r=sb(),n="Expected a function",i=Math.max,a=Math.min;function o(u,s,c){var f,l,p,d,y,v,h=0,x=!1,O=!1,b=!0;if(typeof u!="function")throw new TypeError(n);s=r(s)||0,t(c)&&(x=!!c.leading,O="maxWait"in c,p=O?i(r(c.maxWait)||0,s):p,b="trailing"in c?!!c.trailing:b);function w(M){var $=f,I=l;return f=l=void 0,h=M,d=u.apply(I,$),d}function m(M){return h=M,y=setTimeout(S,s),x?w(M):d}function g(M){var $=M-v,I=M-h,D=s-$;return O?a(D,p-I):D}function _(M){var $=M-v,I=M-h;return v===void 0||$>=s||$<0||O&&I>=p}function S(){var M=e();if(_(M))return A(M);y=setTimeout(S,g(M))}function A(M){return y=void 0,b&&f?w(M):(f=l=void 0,d)}function j(){y!==void 0&&clearTimeout(y),h=0,f=v=l=y=void 0}function T(){return y===void 0?d:A(e())}function E(){var M=e(),$=_(M);if(f=arguments,l=this,v=M,$){if(y===void 0)return m(v);if(O)return clearTimeout(y),y=setTimeout(S,s),w(v)}return y===void 0&&(y=setTimeout(S,s)),d}return E.cancel=j,E.flush=T,E}return Es=o,Es}var js,mv;function YS(){if(mv)return js;mv=1;var t=VS(),e=Ct(),r="Expected a function";function n(i,a,o){var u=!0,s=!0;if(typeof i!="function")throw new TypeError(r);return e(o)&&(u="leading"in o?!!o.leading:u,s="trailing"in o?!!o.trailing:s),t(i,a,{leading:u,maxWait:a,trailing:s})}return js=n,js}var ZS=YS();const JS=he(ZS);var pf=function(e){return null};pf.displayName="Cell";function Qr(t){"@babel/helpers - typeof";return Qr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qr(t)}function gv(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Rc(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?gv(Object(r),!0).forEach(function(n){QS(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):gv(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function QS(t,e,r){return e=eA(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function eA(t){var e=tA(t,"string");return Qr(e)=="symbol"?e:e+""}function tA(t,e){if(Qr(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(Qr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Vt={widthCache:{},cacheCount:0},rA=2e3,nA={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},bv="recharts_measurement_span";function iA(t){var e=Rc({},t);return Object.keys(e).forEach(function(r){e[r]||delete e[r]}),e}var zr=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(e==null||Tr.isSsr)return{width:0,height:0};var n=iA(r),i=JSON.stringify({text:e,copyStyle:n});if(Vt.widthCache[i])return Vt.widthCache[i];try{var a=document.getElementById(bv);a||(a=document.createElement("span"),a.setAttribute("id",bv),a.setAttribute("aria-hidden","true"),document.body.appendChild(a));var o=Rc(Rc({},nA),n);Object.assign(a.style,o),a.textContent="".concat(e);var u=a.getBoundingClientRect(),s={width:u.width,height:u.height};return Vt.widthCache[i]=s,++Vt.cacheCount>rA&&(Vt.cacheCount=0,Vt.widthCache={}),s}catch{return{width:0,height:0}}},aA=function(e){return{top:e.top+window.scrollY-document.documentElement.clientTop,left:e.left+window.scrollX-document.documentElement.clientLeft}};function en(t){"@babel/helpers - typeof";return en=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},en(t)}function ai(t,e){return cA(t)||sA(t,e)||uA(t,e)||oA()}function oA(){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 uA(t,e){if(t){if(typeof t=="string")return xv(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return xv(t,e)}}function xv(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function sA(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n,i,a,o,u=[],s=!0,c=!1;try{if(a=(r=r.call(t)).next,e===0){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=a.call(r)).done)&&(u.push(n.value),u.length!==e);s=!0);}catch(f){c=!0,i=f}finally{try{if(!s&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return u}}function cA(t){if(Array.isArray(t))return t}function lA(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ov(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,pA(n.key),n)}}function fA(t,e,r){return e&&Ov(t.prototype,e),r&&Ov(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function pA(t){var e=hA(t,"string");return en(e)=="symbol"?e:e+""}function hA(t,e){if(en(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(en(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}var wv=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,_v=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,dA=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,vA=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,cb={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},yA=Object.keys(cb),Zt="NaN";function mA(t,e){return t*cb[e]}var Nn=function(){function t(e,r){lA(this,t),this.num=e,this.unit=r,this.num=e,this.unit=r,Number.isNaN(e)&&(this.unit=""),r!==""&&!dA.test(r)&&(this.num=NaN,this.unit=""),yA.includes(r)&&(this.num=mA(e,r),this.unit="px")}return fA(t,[{key:"add",value:function(r){return this.unit!==r.unit?new t(NaN,""):new t(this.num+r.num,this.unit)}},{key:"subtract",value:function(r){return this.unit!==r.unit?new t(NaN,""):new t(this.num-r.num,this.unit)}},{key:"multiply",value:function(r){return this.unit!==""&&r.unit!==""&&this.unit!==r.unit?new t(NaN,""):new t(this.num*r.num,this.unit||r.unit)}},{key:"divide",value:function(r){return this.unit!==""&&r.unit!==""&&this.unit!==r.unit?new t(NaN,""):new t(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=vA.exec(r))!==null&&n!==void 0?n:[],a=ai(i,3),o=a[1],u=a[2];return new t(parseFloat(o),u??"")}}])}();function lb(t){if(t.includes(Zt))return Zt;for(var e=t;e.includes("*")||e.includes("/");){var r,n=(r=wv.exec(e))!==null&&r!==void 0?r:[],i=ai(n,4),a=i[1],o=i[2],u=i[3],s=Nn.parse(a??""),c=Nn.parse(u??""),f=o==="*"?s.multiply(c):s.divide(c);if(f.isNaN())return Zt;e=e.replace(wv,f.toString())}for(;e.includes("+")||/.-\d+(?:\.\d+)?/.test(e);){var l,p=(l=_v.exec(e))!==null&&l!==void 0?l:[],d=ai(p,4),y=d[1],v=d[2],h=d[3],x=Nn.parse(y??""),O=Nn.parse(h??""),b=v==="+"?x.add(O):x.subtract(O);if(b.isNaN())return Zt;e=e.replace(_v,b.toString())}return e}var Sv=/\(([^()]*)\)/;function gA(t){for(var e=t;e.includes("(");){var r=Sv.exec(e),n=ai(r,2),i=n[1];e=e.replace(Sv,lb(i))}return e}function bA(t){var e=t.replace(/\s+/g,"");return e=gA(e),e=lb(e),e}function xA(t){try{return bA(t)}catch{return Zt}}function Cs(t){var e=xA(t.slice(5,-1));return e===Zt?"":e}var OA=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],wA=["dx","dy","angle","className","breakAll"];function Dc(){return Dc=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Dc.apply(this,arguments)}function Av(t,e){if(t==null)return{};var r=_A(t,e),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function _A(t,e){if(t==null)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}function Pv(t,e){return TA(t)||PA(t,e)||AA(t,e)||SA()}function SA(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 15In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function AA(t,e){if(t){if(typeof t=="string")return Tv(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Tv(t,e)}}function Tv(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function PA(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n,i,a,o,u=[],s=!0,c=!1;try{if(a=(r=r.call(t)).next,e===0){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=a.call(r)).done)&&(u.push(n.value),u.length!==e);s=!0);}catch(f){c=!0,i=f}finally{try{if(!s&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return u}}function TA(t){if(Array.isArray(t))return t}var fb=/[ \f\n\r\t\v\u2028\u2029]+/,pb=function(e){var r=e.children,n=e.breakAll,i=e.style;try{var a=[];Z(r)||(n?a=r.toString().split(""):a=r.toString().split(fb));var o=a.map(function(s){return{word:s,width:zr(s,i).width}}),u=n?0:zr(" ",i).width;return{wordsWithComputedWidth:o,spaceWidth:u}}catch{return null}},EA=function(e,r,n,i,a){var o=e.maxLines,u=e.children,s=e.style,c=e.breakAll,f=B(o),l=u,p=function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return I.reduce(function(D,q){var L=q.word,U=q.width,W=D[D.length-1];if(W&&(i==null||a||W.width+U+n<Number(i)))W.words.push(L),W.width+=U+n;else{var K={words:[L],width:U};D.push(K)}return D},[])},d=p(r),y=function(I){return I.reduce(function(D,q){return D.width>q.width?D:q})};if(!f)return d;for(var v="â¦",h=function(I){var D=l.slice(0,I),q=pb({breakAll:c,style:s,children:D+v}).wordsWithComputedWidth,L=p(q),U=L.length>o||y(L).width>Number(i);return[U,L]},x=0,O=l.length-1,b=0,w;x<=O&&b<=l.length-1;){var m=Math.floor((x+O)/2),g=m-1,_=h(g),S=Pv(_,2),A=S[0],j=S[1],T=h(m),E=Pv(T,1),M=E[0];if(!A&&!M&&(x=m+1),A&&M&&(O=m-1),!A&&M){w=j;break}b++}return w||d},Ev=function(e){var r=Z(e)?[]:e.toString().split(fb);return[{words:r}]},jA=function(e){var r=e.width,n=e.scaleToFit,i=e.children,a=e.style,o=e.breakAll,u=e.maxLines;if((r||n)&&!Tr.isSsr){var s,c,f=pb({breakAll:o,children:i,style:a});if(f){var l=f.wordsWithComputedWidth,p=f.spaceWidth;s=l,c=p}else return Ev(i);return EA({breakAll:o,children:i,maxLines:u,style:a},s,c,r,n)}return Ev(i)},jv="#808080",oi=function(e){var r=e.x,n=r===void 0?0:r,i=e.y,a=i===void 0?0:i,o=e.lineHeight,u=o===void 0?"1em":o,s=e.capHeight,c=s===void 0?"0.71em":s,f=e.scaleToFit,l=f===void 0?!1:f,p=e.textAnchor,d=p===void 0?"start":p,y=e.verticalAnchor,v=y===void 0?"end":y,h=e.fill,x=h===void 0?jv:h,O=Av(e,OA),b=k.useMemo(function(){return jA({breakAll:O.breakAll,children:O.children,maxLines:O.maxLines,scaleToFit:l,style:O.style,width:O.width})},[O.breakAll,O.children,O.maxLines,l,O.style,O.width]),w=O.dx,m=O.dy,g=O.angle,_=O.className,S=O.breakAll,A=Av(O,wA);if(!Se(n)||!Se(a))return null;var j=n+(B(w)?w:0),T=a+(B(m)?m:0),E;switch(v){case"start":E=Cs("calc(".concat(c,")"));break;case"middle":E=Cs("calc(".concat((b.length-1)/2," * -").concat(u," + (").concat(c," / 2))"));break;default:E=Cs("calc(".concat(b.length-1," * -").concat(u,")"));break}var M=[];if(l){var $=b[0].width,I=O.width;M.push("scale(".concat((B(I)?I/$:1)/$,")"))}return g&&M.push("rotate(".concat(g,", ").concat(j,", ").concat(T,")")),M.length&&(A.transform=M.join(" ")),P.createElement("text",Dc({},ee(A,!0),{x:j,y:T,className:re("recharts-text",_),textAnchor:d,fill:x.includes("url")?jv:x}),b.map(function(D,q){var L=D.words.join(S?"":" ");return P.createElement("tspan",{x:j,dy:q===0?E:u,key:"".concat(L,"-").concat(q)},L)}))};const Cv=Object.freeze(Object.defineProperty({__proto__:null,scaleBand:yc,scaleDiverging:hg,scaleDivergingLog:dg,scaleDivergingPow:Kl,scaleDivergingSqrt:MO,scaleDivergingSymlog:vg,scaleIdentity:Hm,scaleImplicit:L0,scaleLinear:gc,scaleLog:Vm,scaleOrdinal:F0,scalePoint:Ur,scalePow:Dl,scaleQuantile:Jm,scaleQuantize:Qm,scaleRadial:Zm,scaleSequential:cg,scaleSequentialLog:lg,scaleSequentialPow:Wl,scaleSequentialQuantile:pg,scaleSequentialSqrt:CO,scaleSequentialSymlog:fg,scaleSqrt:fx,scaleSymlog:Ym,scaleThreshold:eg,scaleTime:EO,scaleUtc:jO,tickFormat:V0},Symbol.toStringTag,{value:"Module"}));var Ms,Mv;function hb(){if(Mv)return Ms;Mv=1;var t=Sr();function e(r,n,i){for(var a=-1,o=r.length;++a<o;){var u=r[a],s=n(u);if(s!=null&&(c===void 0?s===s&&!t(s):i(s,c)))var c=s,f=u}return f}return Ms=e,Ms}var Is,Iv;function CA(){if(Iv)return Is;Iv=1;function t(e,r){return e>r}return Is=t,Is}var $s,$v;function MA(){if($v)return $s;$v=1;var t=hb(),e=CA(),r=Pr();function n(i){return i&&i.length?t(i,r,e):void 0}return $s=n,$s}var IA=MA();const ta=he(IA);var Rs,Rv;function $A(){if(Rv)return Rs;Rv=1;function t(e,r){return e<r}return Rs=t,Rs}var Ds,Dv;function RA(){if(Dv)return Ds;Dv=1;var t=hb(),e=$A(),r=Pr();function n(i){return i&&i.length?t(i,r,e):void 0}return Ds=n,Ds}var DA=RA();const ra=he(DA);var ks,kv;function kA(){if(kv)return ks;kv=1;var t=Jl(),e=Mt(),r=rb(),n=Le();function i(a,o){var u=n(a)?t:r;return u(a,e(o,3))}return ks=i,ks}var qs,qv;function qA(){if(qv)return qs;qv=1;var t=eb(),e=kA();function r(n,i){return t(e(n,i),1)}return qs=r,qs}var NA=qA();const BA=he(NA);var Ns,Nv;function LA(){if(Nv)return Ns;Nv=1;var t=sf();function e(r,n){return t(r,n)}return Ns=e,Ns}var FA=LA();const na=he(FA);var Er=1e9,UA={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},df,de=!0,Je="[DecimalError] ",qt=Je+"Invalid argument: ",hf=Je+"Exponent out of range: ",jr=Math.floor,Rt=Math.pow,zA=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,We,Pe=1e7,pe=7,db=9007199254740991,ui=jr(db/pe),z={};z.absoluteValue=z.abs=function(){var t=new this.constructor(this);return t.s&&(t.s=1),t};z.comparedTo=z.cmp=function(t){var e,r,n,i,a=this;if(t=new a.constructor(t),a.s!==t.s)return a.s||-t.s;if(a.e!==t.e)return a.e>t.e^a.s<0?1:-1;for(n=a.d.length,i=t.d.length,e=0,r=n<i?n:i;e<r;++e)if(a.d[e]!==t.d[e])return a.d[e]>t.d[e]^a.s<0?1:-1;return n===i?0:n>i^a.s<0?1:-1};z.decimalPlaces=z.dp=function(){var t=this,e=t.d.length-1,r=(e-t.e)*pe;if(e=t.d[e],e)for(;e%10==0;e/=10)r--;return r<0?0:r};z.dividedBy=z.div=function(t){return dt(this,new this.constructor(t))};z.dividedToIntegerBy=z.idiv=function(t){var e=this,r=e.constructor;return ce(dt(e,new r(t),0,1),r.precision)};z.equals=z.eq=function(t){return!this.cmp(t)};z.exponent=function(){return xe(this)};z.greaterThan=z.gt=function(t){return this.cmp(t)>0};z.greaterThanOrEqualTo=z.gte=function(t){return this.cmp(t)>=0};z.isInteger=z.isint=function(){return this.e>this.d.length-2};z.isNegative=z.isneg=function(){return this.s<0};z.isPositive=z.ispos=function(){return this.s>0};z.isZero=function(){return this.s===0};z.lessThan=z.lt=function(t){return this.cmp(t)<0};z.lessThanOrEqualTo=z.lte=function(t){return this.cmp(t)<1};z.logarithm=z.log=function(t){var e,r=this,n=r.constructor,i=n.precision,a=i+5;if(t===void 0)t=new n(10);else if(t=new n(t),t.s<1||t.eq(We))throw Error(Je+"NaN");if(r.s<1)throw Error(Je+(r.s?"NaN":"-Infinity"));return r.eq(We)?new n(0):(de=!1,e=dt(tn(r,a),tn(t,a),a),de=!0,ce(e,i))};z.minus=z.sub=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?mb(e,t):vb(e,(t.s=-t.s,t))};z.modulo=z.mod=function(t){var e,r=this,n=r.constructor,i=n.precision;if(t=new n(t),!t.s)throw Error(Je+"NaN");return r.s?(de=!1,e=dt(r,t,0,1).times(t),de=!0,r.minus(e)):ce(new n(r),i)};z.naturalExponential=z.exp=function(){return yb(this)};z.naturalLogarithm=z.ln=function(){return tn(this)};z.negated=z.neg=function(){var t=new this.constructor(this);return t.s=-t.s||0,t};z.plus=z.add=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?vb(e,t):mb(e,(t.s=-t.s,t))};z.precision=z.sd=function(t){var e,r,n,i=this;if(t!==void 0&&t!==!!t&&t!==1&&t!==0)throw Error(qt+t);if(e=xe(i)+1,n=i.d.length-1,r=n*pe+1,n=i.d[n],n){for(;n%10==0;n/=10)r--;for(n=i.d[0];n>=10;n/=10)r++}return t&&e>r?e:r};z.squareRoot=z.sqrt=function(){var t,e,r,n,i,a,o,u=this,s=u.constructor;if(u.s<1){if(!u.s)return new s(0);throw Error(Je+"NaN")}for(t=xe(u),de=!1,i=Math.sqrt(+u),i==0||i==1/0?(e=ot(u.d),(e.length+t)%2==0&&(e+="0"),i=Math.sqrt(e),t=jr((t+1)/2)-(t<0||t%2),i==1/0?e="5e"+t:(e=i.toExponential(),e=e.slice(0,e.indexOf("e")+1)+t),n=new s(e)):n=new s(i.toString()),r=s.precision,i=o=r+3;;)if(a=n,n=a.plus(dt(u,a,o+2)).times(.5),ot(a.d).slice(0,o)===(e=ot(n.d)).slice(0,o)){if(e=e.slice(o-3,o+1),i==o&&e=="4999"){if(ce(a,r+1,0),a.times(a).eq(u)){n=a;break}}else if(e!="9999")break;o+=4}return de=!0,ce(n,r)};z.times=z.mul=function(t){var e,r,n,i,a,o,u,s,c,f=this,l=f.constructor,p=f.d,d=(t=new l(t)).d;if(!f.s||!t.s)return new l(0);for(t.s*=f.s,r=f.e+t.e,s=p.length,c=d.length,s<c&&(a=p,p=d,d=a,o=s,s=c,c=o),a=[],o=s+c,n=o;n--;)a.push(0);for(n=c;--n>=0;){for(e=0,i=s+n;i>n;)u=a[i]+d[n]*p[i-n-1]+e,a[i--]=u%Pe|0,e=u/Pe|0;a[i]=(a[i]+e)%Pe|0}for(;!a[--o];)a.pop();return e?++r:a.shift(),t.d=a,t.e=r,de?ce(t,l.precision):t};z.toDecimalPlaces=z.todp=function(t,e){var r=this,n=r.constructor;return r=new n(r),t===void 0?r:(st(t,0,Er),e===void 0?e=n.rounding:st(e,0,8),ce(r,t+xe(r)+1,e))};z.toExponential=function(t,e){var r,n=this,i=n.constructor;return t===void 0?r=Ut(n,!0):(st(t,0,Er),e===void 0?e=i.rounding:st(e,0,8),n=ce(new i(n),t+1,e),r=Ut(n,!0,t+1)),r};z.toFixed=function(t,e){var r,n,i=this,a=i.constructor;return t===void 0?Ut(i):(st(t,0,Er),e===void 0?e=a.rounding:st(e,0,8),n=ce(new a(i),t+xe(i)+1,e),r=Ut(n.abs(),!1,t+xe(n)+1),i.isneg()&&!i.isZero()?"-"+r:r)};z.toInteger=z.toint=function(){var t=this,e=t.constructor;return ce(new e(t),xe(t)+1,e.rounding)};z.toNumber=function(){return+this};z.toPower=z.pow=function(t){var e,r,n,i,a,o,u=this,s=u.constructor,c=12,f=+(t=new s(t));if(!t.s)return new s(We);if(u=new s(u),!u.s){if(t.s<1)throw Error(Je+"Infinity");return u}if(u.eq(We))return u;if(n=s.precision,t.eq(We))return ce(u,n);if(e=t.e,r=t.d.length-1,o=e>=r,a=u.s,o){if((r=f<0?-f:f)<=db){for(i=new s(We),e=Math.ceil(n/pe+4),de=!1;r%2&&(i=i.times(u),Lv(i.d,e)),r=jr(r/2),r!==0;)u=u.times(u),Lv(u.d,e);return de=!0,t.s<0?new s(We).div(i):ce(i,n)}}else if(a<0)throw Error(Je+"NaN");return a=a<0&&t.d[Math.max(e,r)]&1?-1:1,u.s=1,de=!1,i=t.times(tn(u,n+c)),de=!0,i=yb(i),i.s=a,i};z.toPrecision=function(t,e){var r,n,i=this,a=i.constructor;return t===void 0?(r=xe(i),n=Ut(i,r<=a.toExpNeg||r>=a.toExpPos)):(st(t,1,Er),e===void 0?e=a.rounding:st(e,0,8),i=ce(new a(i),t,e),r=xe(i),n=Ut(i,t<=r||r<=a.toExpNeg,t)),n};z.toSignificantDigits=z.tosd=function(t,e){var r=this,n=r.constructor;return t===void 0?(t=n.precision,e=n.rounding):(st(t,1,Er),e===void 0?e=n.rounding:st(e,0,8)),ce(new n(r),t,e)};z.toString=z.valueOf=z.val=z.toJSON=z[Symbol.for("nodejs.util.inspect.custom")]=function(){var t=this,e=xe(t),r=t.constructor;return Ut(t,e<=r.toExpNeg||e>=r.toExpPos)};function vb(t,e){var r,n,i,a,o,u,s,c,f=t.constructor,l=f.precision;if(!t.s||!e.s)return e.s||(e=new f(t)),de?ce(e,l):e;if(s=t.d,c=e.d,o=t.e,i=e.e,s=s.slice(),a=o-i,a){for(a<0?(n=s,a=-a,u=c.length):(n=c,i=o,u=s.length),o=Math.ceil(l/pe),u=o>u?o+1:u+1,a>u&&(a=u,n.length=1),n.reverse();a--;)n.push(0);n.reverse()}for(u=s.length,a=c.length,u-a<0&&(a=u,n=c,c=s,s=n),r=0;a;)r=(s[--a]=s[a]+c[a]+r)/Pe|0,s[a]%=Pe;for(r&&(s.unshift(r),++i),u=s.length;s[--u]==0;)s.pop();return e.d=s,e.e=i,de?ce(e,l):e}function st(t,e,r){if(t!==~~t||t<e||t>r)throw Error(qt+t)}function ot(t){var e,r,n,i=t.length-1,a="",o=t[0];if(i>0){for(a+=o,e=1;e<i;e++)n=t[e]+"",r=pe-n.length,r&&(a+=St(r)),a+=n;o=t[e],n=o+"",r=pe-n.length,r&&(a+=St(r))}else if(o===0)return"0";for(;o%10===0;)o/=10;return a+o}var dt=function(){function t(n,i){var a,o=0,u=n.length;for(n=n.slice();u--;)a=n[u]*i+o,n[u]=a%Pe|0,o=a/Pe|0;return o&&n.unshift(o),n}function e(n,i,a,o){var u,s;if(a!=o)s=a>o?1:-1;else for(u=s=0;u<a;u++)if(n[u]!=i[u]){s=n[u]>i[u]?1:-1;break}return s}function r(n,i,a){for(var o=0;a--;)n[a]-=o,o=n[a]<i[a]?1:0,n[a]=o*Pe+n[a]-i[a];for(;!n[0]&&n.length>1;)n.shift()}return function(n,i,a,o){var u,s,c,f,l,p,d,y,v,h,x,O,b,w,m,g,_,S,A=n.constructor,j=n.s==i.s?1:-1,T=n.d,E=i.d;if(!n.s)return new A(n);if(!i.s)throw Error(Je+"Division by zero");for(s=n.e-i.e,_=E.length,m=T.length,d=new A(j),y=d.d=[],c=0;E[c]==(T[c]||0);)++c;if(E[c]>(T[c]||0)&&--s,a==null?O=a=A.precision:o?O=a+(xe(n)-xe(i))+1:O=a,O<0)return new A(0);if(O=O/pe+2|0,c=0,_==1)for(f=0,E=E[0],O++;(c<m||f)&&O--;c++)b=f*Pe+(T[c]||0),y[c]=b/E|0,f=b%E|0;else{for(f=Pe/(E[0]+1)|0,f>1&&(E=t(E,f),T=t(T,f),_=E.length,m=T.length),w=_,v=T.slice(0,_),h=v.length;h<_;)v[h++]=0;S=E.slice(),S.unshift(0),g=E[0],E[1]>=Pe/2&&++g;do f=0,u=e(E,v,_,h),u<0?(x=v[0],_!=h&&(x=x*Pe+(v[1]||0)),f=x/g|0,f>1?(f>=Pe&&(f=Pe-1),l=t(E,f),p=l.length,h=v.length,u=e(l,v,p,h),u==1&&(f--,r(l,_<p?S:E,p))):(f==0&&(u=f=1),l=E.slice()),p=l.length,p<h&&l.unshift(0),r(v,l,h),u==-1&&(h=v.length,u=e(E,v,_,h),u<1&&(f++,r(v,_<h?S:E,h))),h=v.length):u===0&&(f++,v=[0]),y[c++]=f,u&&v[0]?v[h++]=T[w]||0:(v=[T[w]],h=1);while((w++<m||v[0]!==void 0)&&O--)}return y[0]||y.shift(),d.e=s,ce(d,o?a+xe(d)+1:a)}}();function yb(t,e){var r,n,i,a,o,u,s=0,c=0,f=t.constructor,l=f.precision;if(xe(t)>16)throw Error(hf+xe(t));if(!t.s)return new f(We);for(de=!1,u=l,o=new f(.03125);t.abs().gte(.1);)t=t.times(o),c+=5;for(n=Math.log(Rt(2,c))/Math.LN10*2+5|0,u+=n,r=i=a=new f(We),f.precision=u;;){if(i=ce(i.times(t),u),r=r.times(++s),o=a.plus(dt(i,r,u)),ot(o.d).slice(0,u)===ot(a.d).slice(0,u)){for(;c--;)a=ce(a.times(a),u);return f.precision=l,e==null?(de=!0,ce(a,l)):a}a=o}}function xe(t){for(var e=t.e*pe,r=t.d[0];r>=10;r/=10)e++;return e}function Bs(t,e,r){if(e>t.LN10.sd())throw de=!0,r&&(t.precision=r),Error(Je+"LN10 precision limit exceeded");return ce(new t(t.LN10),e)}function St(t){for(var e="";t--;)e+="0";return e}function tn(t,e){var r,n,i,a,o,u,s,c,f,l=1,p=10,d=t,y=d.d,v=d.constructor,h=v.precision;if(d.s<1)throw Error(Je+(d.s?"NaN":"-Infinity"));if(d.eq(We))return new v(0);if(e==null?(de=!1,c=h):c=e,d.eq(10))return e==null&&(de=!0),Bs(v,c);if(c+=p,v.precision=c,r=ot(y),n=r.charAt(0),a=xe(d),Math.abs(a)<15e14){for(;n<7&&n!=1||n==1&&r.charAt(1)>3;)d=d.times(t),r=ot(d.d),n=r.charAt(0),l++;a=xe(d),n>1?(d=new v("0."+r),a++):d=new v(n+"."+r.slice(1))}else return s=Bs(v,c+2,h).times(a+""),d=tn(new v(n+"."+r.slice(1)),c-p).plus(s),v.precision=h,e==null?(de=!0,ce(d,h)):d;for(u=o=d=dt(d.minus(We),d.plus(We),c),f=ce(d.times(d),c),i=3;;){if(o=ce(o.times(f),c),s=u.plus(dt(o,new v(i),c)),ot(s.d).slice(0,c)===ot(u.d).slice(0,c))return u=u.times(2),a!==0&&(u=u.plus(Bs(v,c+2,h).times(a+""))),u=dt(u,new v(l),c),v.precision=h,e==null?(de=!0,ce(u,h)):u;u=s,i+=2}}function Bv(t,e){var r,n,i;for((r=e.indexOf("."))>-1&&(e=e.replace(".","")),(n=e.search(/e/i))>0?(r<0&&(r=n),r+=+e.slice(n+1),e=e.substring(0,n)):r<0&&(r=e.length),n=0;e.charCodeAt(n)===48;)++n;for(i=e.length;e.charCodeAt(i-1)===48;)--i;if(e=e.slice(n,i),e){if(i-=n,r=r-n-1,t.e=jr(r/pe),t.d=[],n=(r+1)%pe,r<0&&(n+=pe),n<i){for(n&&t.d.push(+e.slice(0,n)),i-=pe;n<i;)t.d.push(+e.slice(n,n+=pe));e=e.slice(n),n=pe-e.length}else n-=i;for(;n--;)e+="0";if(t.d.push(+e),de&&(t.e>ui||t.e<-ui))throw Error(hf+r)}else t.s=0,t.e=0,t.d=[0];return t}function ce(t,e,r){var n,i,a,o,u,s,c,f,l=t.d;for(o=1,a=l[0];a>=10;a/=10)o++;if(n=e-o,n<0)n+=pe,i=e,c=l[f=0];else{if(f=Math.ceil((n+1)/pe),a=l.length,f>=a)return t;for(c=a=l[f],o=1;a>=10;a/=10)o++;n%=pe,i=n-pe+o}if(r!==void 0&&(a=Rt(10,o-i-1),u=c/a%10|0,s=e<0||l[f+1]!==void 0||c%a,s=r<4?(u||s)&&(r==0||r==(t.s<0?3:2)):u>5||u==5&&(r==4||s||r==6&&(n>0?i>0?c/Rt(10,o-i):0:l[f-1])%10&1||r==(t.s<0?8:7))),e<1||!l[0])return s?(a=xe(t),l.length=1,e=e-a-1,l[0]=Rt(10,(pe-e%pe)%pe),t.e=jr(-e/pe)||0):(l.length=1,l[0]=t.e=t.s=0),t;if(n==0?(l.length=f,a=1,f--):(l.length=f+1,a=Rt(10,pe-n),l[f]=i>0?(c/Rt(10,o-i)%Rt(10,i)|0)*a:0),s)for(;;)if(f==0){(l[0]+=a)==Pe&&(l[0]=1,++t.e);break}else{if(l[f]+=a,l[f]!=Pe)break;l[f--]=0,a=1}for(n=l.length;l[--n]===0;)l.pop();if(de&&(t.e>ui||t.e<-ui))throw Error(hf+xe(t));return t}function mb(t,e){var r,n,i,a,o,u,s,c,f,l,p=t.constructor,d=p.precision;if(!t.s||!e.s)return e.s?e.s=-e.s:e=new p(t),de?ce(e,d):e;if(s=t.d,l=e.d,n=e.e,c=t.e,s=s.slice(),o=c-n,o){for(f=o<0,f?(r=s,o=-o,u=l.length):(r=l,n=c,u=s.length),i=Math.max(Math.ceil(d/pe),u)+2,o>i&&(o=i,r.length=1),r.reverse(),i=o;i--;)r.push(0);r.reverse()}else{for(i=s.length,u=l.length,f=i<u,f&&(u=i),i=0;i<u;i++)if(s[i]!=l[i]){f=s[i]<l[i];break}o=0}for(f&&(r=s,s=l,l=r,e.s=-e.s),u=s.length,i=l.length-u;i>0;--i)s[u++]=0;for(i=l.length;i>o;){if(s[--i]<l[i]){for(a=i;a&&s[--a]===0;)s[a]=Pe-1;--s[a],s[i]+=Pe}s[i]-=l[i]}for(;s[--u]===0;)s.pop();for(;s[0]===0;s.shift())--n;return s[0]?(e.d=s,e.e=n,de?ce(e,d):e):new p(0)}function Ut(t,e,r){var n,i=xe(t),a=ot(t.d),o=a.length;return e?(r&&(n=r-o)>0?a=a.charAt(0)+"."+a.slice(1)+St(n):o>1&&(a=a.charAt(0)+"."+a.slice(1)),a=a+(i<0?"e":"e+")+i):i<0?(a="0."+St(-i-1)+a,r&&(n=r-o)>0&&(a+=St(n))):i>=o?(a+=St(i+1-o),r&&(n=r-i-1)>0&&(a=a+"."+St(n))):((n=i+1)<o&&(a=a.slice(0,n)+"."+a.slice(n)),r&&(n=r-o)>0&&(i+1===o&&(a+="."),a+=St(n))),t.s<0?"-"+a:a}function Lv(t,e){if(t.length>e)return t.length=e,!0}function gb(t){var e,r,n;function i(a){var o=this;if(!(o instanceof i))return new i(a);if(o.constructor=i,a instanceof i){o.s=a.s,o.e=a.e,o.d=(a=a.d)?a.slice():a;return}if(typeof a=="number"){if(a*0!==0)throw Error(qt+a);if(a>0)o.s=1;else if(a<0)a=-a,o.s=-1;else{o.s=0,o.e=0,o.d=[0];return}if(a===~~a&&a<1e7){o.e=0,o.d=[a];return}return Bv(o,a.toString())}else if(typeof a!="string")throw Error(qt+a);if(a.charCodeAt(0)===45?(a=a.slice(1),o.s=-1):o.s=1,zA.test(a))Bv(o,a);else throw Error(qt+a)}if(i.prototype=z,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=gb,i.config=i.set=WA,t===void 0&&(t={}),t)for(n=["precision","rounding","toExpNeg","toExpPos","LN10"],e=0;e<n.length;)t.hasOwnProperty(r=n[e++])||(t[r]=this[r]);return i.config(t),i}function WA(t){if(!t||typeof t!="object")throw Error(Je+"Object expected");var e,r,n,i=["precision",1,Er,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(e=0;e<i.length;e+=3)if((n=t[r=i[e]])!==void 0)if(jr(n)===n&&n>=i[e+1]&&n<=i[e+2])this[r]=n;else throw Error(qt+r+": "+n);if((n=t[r="LN10"])!==void 0)if(n==Math.LN10)this[r]=new this(n);else throw Error(qt+r+": "+n);return this}var df=gb(UA);We=new df(1);const oe=df;function KA(t){return VA(t)||XA(t)||HA(t)||GA()}function GA(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 16In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function HA(t,e){if(t){if(typeof t=="string")return kc(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return kc(t,e)}}function XA(t){if(typeof Symbol<"u"&&Symbol.iterator in Object(t))return Array.from(t)}function VA(t){if(Array.isArray(t))return kc(t)}function kc(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var YA=function(e){return e},bb={},xb=function(e){return e===bb},Fv=function(e){return function r(){return arguments.length===0||arguments.length===1&&xb(arguments.length<=0?void 0:arguments[0])?r:e.apply(void 0,arguments)}},ZA=function t(e,r){return e===1?r:Fv(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!==bb}).length;return o>=e?r.apply(void 0,i):t(e-o,Fv(function(){for(var u=arguments.length,s=new Array(u),c=0;c<u;c++)s[c]=arguments[c];var f=i.map(function(l){return xb(l)?s.shift():l});return r.apply(void 0,KA(f).concat(s))}))})},ia=function(e){return ZA(e.length,e)},qc=function(e,r){for(var n=[],i=e;i<r;++i)n[i-e]=i;return n},JA=ia(function(t,e){return Array.isArray(e)?e.map(t):Object.keys(e).map(function(r){return e[r]}).map(t)}),QA=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];if(!r.length)return YA;var i=r.reverse(),a=i[0],o=i.slice(1);return function(){return o.reduce(function(u,s){return s(u)},a.apply(void 0,arguments))}},Nc=function(e){return Array.isArray(e)?e.reverse():e.split("").reverse.join("")},Ob=function(e){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,s){return u===r[s]})||(r=a,n=e.apply(void 0,a)),n}};function eP(t){var e;return t===0?e=1:e=Math.floor(new oe(t).abs().log(10).toNumber())+1,e}function tP(t,e,r){for(var n=new oe(t),i=0,a=[];n.lt(e)&&i<1e5;)a.push(n.toNumber()),n=n.add(r),i++;return a}var rP=ia(function(t,e,r){var n=+t,i=+e;return n+r*(i-n)}),nP=ia(function(t,e,r){var n=e-+t;return n=n||1/0,(r-t)/n}),iP=ia(function(t,e,r){var n=e-+t;return n=n||1/0,Math.max(0,Math.min(1,(r-t)/n))});const aa={rangeStep:tP,getDigitCount:eP,interpolateNumber:rP,uninterpolateNumber:nP,uninterpolateTruncation:iP};function Bc(t){return uP(t)||oP(t)||wb(t)||aP()}function aP(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 17In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function oP(t){if(typeof Symbol<"u"&&Symbol.iterator in Object(t))return Array.from(t)}function uP(t){if(Array.isArray(t))return Lc(t)}function rn(t,e){return lP(t)||cP(t,e)||wb(t,e)||sP()}function sP(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 18In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function wb(t,e){if(t){if(typeof t=="string")return Lc(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Lc(t,e)}}function Lc(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function cP(t,e){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(t)))){var r=[],n=!0,i=!1,a=void 0;try{for(var o=t[Symbol.iterator](),u;!(n=(u=o.next()).done)&&(r.push(u.value),!(e&&r.length===e));n=!0);}catch(s){i=!0,a=s}finally{try{!n&&o.return!=null&&o.return()}finally{if(i)throw a}}return r}}function lP(t){if(Array.isArray(t))return t}function _b(t){var e=rn(t,2),r=e[0],n=e[1],i=r,a=n;return r>n&&(i=n,a=r),[i,a]}function Sb(t,e,r){if(t.lte(0))return new oe(0);var n=aa.getDigitCount(t.toNumber()),i=new oe(10).pow(n),a=t.div(i),o=n!==1?.05:.1,u=new oe(Math.ceil(a.div(o).toNumber())).add(r).mul(o),s=u.mul(i);return e?s:new oe(Math.ceil(s))}function fP(t,e,r){var n=1,i=new oe(t);if(!i.isint()&&r){var a=Math.abs(t);a<1?(n=new oe(10).pow(aa.getDigitCount(t)-1),i=new oe(Math.floor(i.div(n).toNumber())).mul(n)):a>1&&(i=new oe(Math.floor(t)))}else t===0?i=new oe(Math.floor((e-1)/2)):r||(i=new oe(Math.floor(t)));var o=Math.floor((e-1)/2),u=QA(JA(function(s){return i.add(new oe(s-o).mul(n)).toNumber()}),qc);return u(0,e)}function Ab(t,e,r,n){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;if(!Number.isFinite((e-t)/(r-1)))return{step:new oe(0),tickMin:new oe(0),tickMax:new oe(0)};var a=Sb(new oe(e).sub(t).div(r-1),n,i),o;t<=0&&e>=0?o=new oe(0):(o=new oe(t).add(e).div(2),o=o.sub(new oe(o).mod(a)));var u=Math.ceil(o.sub(t).div(a).toNumber()),s=Math.ceil(new oe(e).sub(o).div(a).toNumber()),c=u+s+1;return c>r?Ab(t,e,r,n,i+1):(c<r&&(s=e>0?s+(r-c):s,u=e>0?u:u+(r-c)),{step:a,tickMin:o.sub(new oe(u).mul(a)),tickMax:o.add(new oe(s).mul(a))})}function pP(t){var e=rn(t,2),r=e[0],n=e[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=_b([r,n]),s=rn(u,2),c=s[0],f=s[1];if(c===-1/0||f===1/0){var l=f===1/0?[c].concat(Bc(qc(0,i-1).map(function(){return 1/0}))):[].concat(Bc(qc(0,i-1).map(function(){return-1/0})),[f]);return r>n?Nc(l):l}if(c===f)return fP(c,i,a);var p=Ab(c,f,o,a),d=p.step,y=p.tickMin,v=p.tickMax,h=aa.rangeStep(y,v.add(new oe(.1).mul(d)),d);return r>n?Nc(h):h}function hP(t,e){var r=rn(t,2),n=r[0],i=r[1],a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,o=_b([n,i]),u=rn(o,2),s=u[0],c=u[1];if(s===-1/0||c===1/0)return[n,i];if(s===c)return[s];var f=Math.max(e,2),l=Sb(new oe(c).sub(s).div(f-1),a,0),p=[].concat(Bc(aa.rangeStep(new oe(s),new oe(c).sub(new oe(.99).mul(l)),l)),[c]);return n>i?Nc(p):p}var dP=Ob(pP),vP=Ob(hP),yP=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function cr(t){"@babel/helpers - typeof";return cr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},cr(t)}function si(){return si=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},si.apply(this,arguments)}function mP(t,e){return OP(t)||xP(t,e)||bP(t,e)||gP()}function gP(){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 bP(t,e){if(t){if(typeof t=="string")return Uv(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Uv(t,e)}}function Uv(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function xP(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n,i,a,o,u=[],s=!0,c=!1;try{if(a=(r=r.call(t)).next,e!==0)for(;!(s=(n=a.call(r)).done)&&(u.push(n.value),u.length!==e);s=!0);}catch(f){c=!0,i=f}finally{try{if(!s&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return u}}function OP(t){if(Array.isArray(t))return t}function wP(t,e){if(t==null)return{};var r=_P(t,e),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function _P(t,e){if(t==null)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}function SP(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function AP(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Eb(n.key),n)}}function PP(t,e,r){return e&&AP(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function TP(t,e,r){return e=ci(e),EP(t,Pb()?Reflect.construct(e,r||[],ci(t).constructor):e.apply(t,r))}function EP(t,e){if(e&&(cr(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return jP(t)}function jP(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Pb=function(){return!!t})()}function ci(t){return ci=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ci(t)}function CP(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Fc(t,e)}function Fc(t,e){return Fc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Fc(t,e)}function Tb(t,e,r){return e=Eb(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Eb(t){var e=MP(t,"string");return cr(e)=="symbol"?e:e+""}function MP(t,e){if(cr(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(cr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}var Mn=function(t){function e(){return SP(this,e),TP(this,e,arguments)}return CP(e,t),PP(e,[{key:"render",value:function(){var n=this.props,i=n.offset,a=n.layout,o=n.width,u=n.dataKey,s=n.data,c=n.dataPointFormatter,f=n.xAxis,l=n.yAxis,p=wP(n,yP),d=ee(p,!1);this.props.direction==="x"&&f.type!=="number"&&Bt(!1);var y=s.map(function(v){var h=c(v,u),x=h.x,O=h.y,b=h.value,w=h.errorVal;if(!w)return null;var m=[],g,_;if(Array.isArray(w)){var S=mP(w,2);g=S[0],_=S[1]}else g=_=w;if(a==="vertical"){var A=f.scale,j=O+i,T=j+o,E=j-o,M=A(b-g),$=A(b+_);m.push({x1:$,y1:T,x2:$,y2:E}),m.push({x1:M,y1:j,x2:$,y2:j}),m.push({x1:M,y1:T,x2:M,y2:E})}else if(a==="horizontal"){var I=l.scale,D=x+i,q=D-o,L=D+o,U=I(b-g),W=I(b+_);m.push({x1:q,y1:W,x2:L,y2:W}),m.push({x1:D,y1:U,x2:D,y2:W}),m.push({x1:q,y1:U,x2:L,y2:U})}return P.createElement(ve,si({className:"recharts-errorBar",key:"bar-".concat(m.map(function(K){return"".concat(K.x1,"-").concat(K.x2,"-").concat(K.y1,"-").concat(K.y2)}))},d),m.map(function(K){return P.createElement("line",si({},K,{key:"line-".concat(K.x1,"-").concat(K.x2,"-").concat(K.y1,"-").concat(K.y2)}))}))});return P.createElement(ve,{className:"recharts-errorBars"},y)}}])}(P.Component);Tb(Mn,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"});Tb(Mn,"displayName","ErrorBar");function nn(t){"@babel/helpers - typeof";return nn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nn(t)}function zv(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function $t(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?zv(Object(r),!0).forEach(function(n){IP(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):zv(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function IP(t,e,r){return e=$P(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function $P(t){var e=RP(t,"string");return nn(e)=="symbol"?e:e+""}function RP(t,e){if(nn(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(nn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var jb=function(e){var r=e.children,n=e.formattedGraphicalItems,i=e.legendWidth,a=e.legendContent,o=ze(r,tr);if(!o)return null;var u=tr.defaultProps,s=u!==void 0?$t($t({},u),o.props):{},c;return o.props&&o.props.payload?c=o.props&&o.props.payload:a==="children"?c=(n||[]).reduce(function(f,l){var p=l.item,d=l.props,y=d.sectors||d.data||[];return f.concat(y.map(function(v){return{type:o.props.iconType||p.props.legendType,value:v.name,color:v.fill,payload:v}}))},[]):c=(n||[]).map(function(f){var l=f.item,p=l.type.defaultProps,d=p!==void 0?$t($t({},p),l.props):{},y=d.dataKey,v=d.name,h=d.legendType,x=d.hide;return{inactive:x,dataKey:y,type:s.iconType||h||"square",color:vf(l),value:v||y,payload:d}}),$t($t($t({},s),tr.getWithHeight(o,i)),{},{payload:c,item:o})};function an(t){"@babel/helpers - typeof";return an=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},an(t)}function Wv(t){return NP(t)||qP(t)||kP(t)||DP()}function DP(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 20In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kP(t,e){if(t){if(typeof t=="string")return Uc(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Uc(t,e)}}function qP(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function NP(t){if(Array.isArray(t))return Uc(t)}function Uc(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Kv(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function me(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Kv(Object(r),!0).forEach(function(n){rr(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Kv(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function rr(t,e,r){return e=BP(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function BP(t){var e=LP(t,"string");return an(e)=="symbol"?e:e+""}function LP(t,e){if(an(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(an(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function ke(t,e,r){return Z(t)||Z(e)?r:Se(e)?Ze(t,e,r):Q(e)?e(t):r}function Wr(t,e,r,n){var i=BA(t,function(u){return ke(u,e)});if(r==="number"){var a=i.filter(function(u){return B(u)||parseFloat(u)});return a.length?[ra(a),ta(a)]:[1/0,-1/0]}var o=n?i.filter(function(u){return!Z(u)}):i;return o.map(function(u){return Se(u)||u instanceof Date?u:""})}var FP=function(e){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==null?void 0: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 s=a.range,c=0;c<u;c++){var f=c>0?i[c-1].coordinate:i[u-1].coordinate,l=i[c].coordinate,p=c>=u-1?i[0].coordinate:i[c+1].coordinate,d=void 0;if(rt(l-f)!==rt(p-l)){var y=[];if(rt(p-l)===rt(s[1]-s[0])){d=p;var v=l+s[1]-s[0];y[0]=Math.min(v,(v+f)/2),y[1]=Math.max(v,(v+f)/2)}else{d=f;var h=p+s[1]-s[0];y[0]=Math.min(l,(h+l)/2),y[1]=Math.max(l,(h+l)/2)}var x=[Math.min(l,(d+l)/2),Math.max(l,(d+l)/2)];if(e>x[0]&&e<=x[1]||e>=y[0]&&e<=y[1]){o=i[c].index;break}}else{var O=Math.min(f,p),b=Math.max(f,p);if(e>(O+l)/2&&e<=(b+l)/2){o=i[c].index;break}}}else for(var w=0;w<u;w++)if(w===0&&e<=(n[w].coordinate+n[w+1].coordinate)/2||w>0&&w<u-1&&e>(n[w].coordinate+n[w-1].coordinate)/2&&e<=(n[w].coordinate+n[w+1].coordinate)/2||w===u-1&&e>(n[w].coordinate+n[w-1].coordinate)/2){o=n[w].index;break}return o},vf=function(e){var r,n=e,i=n.type.displayName,a=(r=e.type)!==null&&r!==void 0&&r.defaultProps?me(me({},e.type.defaultProps),e.props):e.props,o=a.stroke,u=a.fill,s;switch(i){case"Line":s=o;break;case"Area":case"Radar":s=o&&o!=="none"?o:u;break;default:s=u;break}return s},UP=function(e){var r=e.barSize,n=e.totalSize,i=e.stackGroups,a=i===void 0?{}:i;if(!a)return{};for(var o={},u=Object.keys(a),s=0,c=u.length;s<c;s++)for(var f=a[u[s]].stackGroups,l=Object.keys(f),p=0,d=l.length;p<d;p++){var y=f[l[p]],v=y.items,h=y.cateAxisId,x=v.filter(function(_){return Tt(_.type).indexOf("Bar")>=0});if(x&&x.length){var O=x[0].type.defaultProps,b=O!==void 0?me(me({},O),x[0].props):x[0].props,w=b.barSize,m=b[h];o[m]||(o[m]=[]);var g=Z(w)?r:w;o[m].push({item:x[0],stackList:x.slice(1),barSize:Z(g)?void 0:Ft(g,n,0)})}}return o},zP=function(e){var r=e.barGap,n=e.barCategoryGap,i=e.bandSize,a=e.sizeList,o=a===void 0?[]:a,u=e.maxBarSize,s=o.length;if(s<1)return null;var c=Ft(r,i,0,!0),f,l=[];if(o[0].barSize===+o[0].barSize){var p=!1,d=i/s,y=o.reduce(function(w,m){return w+m.barSize||0},0);y+=(s-1)*c,y>=i&&(y-=(s-1)*c,c=0),y>=i&&d>0&&(p=!0,d*=.9,y=s*d);var v=(i-y)/2>>0,h={offset:v-c,size:0};f=o.reduce(function(w,m){var g={item:m.item,position:{offset:h.offset+h.size+c,size:p?d:m.barSize}},_=[].concat(Wv(w),[g]);return h=_[_.length-1].position,m.stackList&&m.stackList.length&&m.stackList.forEach(function(S){_.push({item:S,position:h})}),_},l)}else{var x=Ft(n,i,0,!0);i-2*x-(s-1)*c<=0&&(c=0);var O=(i-2*x-(s-1)*c)/s;O>1&&(O>>=0);var b=u===+u?Math.min(O,u):O;f=o.reduce(function(w,m,g){var _=[].concat(Wv(w),[{item:m.item,position:{offset:x+(O+c)*g+(O-b)/2,size:b}}]);return m.stackList&&m.stackList.length&&m.stackList.forEach(function(S){_.push({item:S,position:_[_.length-1].position})}),_},l)}return f},WP=function(e,r,n,i){var a=n.children,o=n.width,u=n.margin,s=o-(u.left||0)-(u.right||0),c=jb({children:a,legendWidth:s});if(c){var f=i||{},l=f.width,p=f.height,d=c.align,y=c.verticalAlign,v=c.layout;if((v==="vertical"||v==="horizontal"&&y==="middle")&&d!=="center"&&B(e[d]))return me(me({},e),{},rr({},d,e[d]+(l||0)));if((v==="horizontal"||v==="vertical"&&d==="center")&&y!=="middle"&&B(e[y]))return me(me({},e),{},rr({},y,e[y]+(p||0)))}return e},KP=function(e,r,n){return Z(r)?!0:e==="horizontal"?r==="yAxis":e==="vertical"||n==="x"?r==="xAxis":n==="y"?r==="yAxis":!0},Cb=function(e,r,n,i,a){var o=r.props.children,u=Ke(o,Mn).filter(function(c){return KP(i,a,c.props.direction)});if(u&&u.length){var s=u.map(function(c){return c.props.dataKey});return e.reduce(function(c,f){var l=ke(f,n);if(Z(l))return c;var p=Array.isArray(l)?[ra(l),ta(l)]:[l,l],d=s.reduce(function(y,v){var h=ke(f,v,0),x=p[0]-Math.abs(Array.isArray(h)?h[0]:h),O=p[1]+Math.abs(Array.isArray(h)?h[1]:h);return[Math.min(x,y[0]),Math.max(O,y[1])]},[1/0,-1/0]);return[Math.min(d[0],c[0]),Math.max(d[1],c[1])]},[1/0,-1/0])}return null},GP=function(e,r,n,i,a){var o=r.map(function(u){return Cb(e,u,n,a,i)}).filter(function(u){return!Z(u)});return o&&o.length?o.reduce(function(u,s){return[Math.min(u[0],s[0]),Math.max(u[1],s[1])]},[1/0,-1/0]):null},Mb=function(e,r,n,i,a){var o=r.map(function(s){var c=s.props.dataKey;return n==="number"&&c&&Cb(e,s,c,i)||Wr(e,c,n,a)});if(n==="number")return o.reduce(function(s,c){return[Math.min(s[0],c[0]),Math.max(s[1],c[1])]},[1/0,-1/0]);var u={};return o.reduce(function(s,c){for(var f=0,l=c.length;f<l;f++)u[c[f]]||(u[c[f]]=!0,s.push(c[f]));return s},[])},Ib=function(e,r){return e==="horizontal"&&r==="xAxis"||e==="vertical"&&r==="yAxis"||e==="centric"&&r==="angleAxis"||e==="radial"&&r==="radiusAxis"},kt=function(e,r,n){if(!e)return null;var i=e.scale,a=e.duplicateDomain,o=e.type,u=e.range,s=e.realScaleType==="scaleBand"?i.bandwidth()/2:2,c=(r||n)&&o==="category"&&i.bandwidth?i.bandwidth()/s:0;if(c=e.axisType==="angleAxis"&&(u==null?void 0:u.length)>=2?rt(u[0]-u[1])*2*c:c,r&&(e.ticks||e.niceTicks)){var f=(e.ticks||e.niceTicks).map(function(l){var p=a?a.indexOf(l):l;return{coordinate:i(p)+c,value:l,offset:c}});return f.filter(function(l){return!En(l.coordinate)})}return e.isCategorical&&e.categoricalDomain?e.categoricalDomain.map(function(l,p){return{coordinate:i(l)+c,value:l,index:p,offset:c}}):i.ticks&&!n?i.ticks(e.tickCount).map(function(l){return{coordinate:i(l)+c,value:l,offset:c}}):i.domain().map(function(l,p){return{coordinate:i(l)+c,value:a?a[l]:l,index:p,offset:c}})},Ls=new WeakMap,Bn=function(e,r){if(typeof r!="function")return e;Ls.has(e)||Ls.set(e,new WeakMap);var n=Ls.get(e);if(n.has(r))return n.get(r);var i=function(){e.apply(void 0,arguments),r.apply(void 0,arguments)};return n.set(r,i),i},HP=function(e,r,n){var i=e.scale,a=e.type,o=e.layout,u=e.axisType;if(i==="auto")return o==="radial"&&u==="radiusAxis"?{scale:yc(),realScaleType:"band"}:o==="radial"&&u==="angleAxis"?{scale:gc(),realScaleType:"linear"}:a==="category"&&r&&(r.indexOf("LineChart")>=0||r.indexOf("AreaChart")>=0||r.indexOf("ComposedChart")>=0&&!n)?{scale:Ur(),realScaleType:"point"}:a==="category"?{scale:yc(),realScaleType:"band"}:{scale:gc(),realScaleType:"linear"};if(Lt(i)){var s="scale".concat(Yi(i));return{scale:(Cv[s]||Ur)(),realScaleType:Cv[s]?s:"point"}}return Q(i)?{scale:i}:{scale:Ur(),realScaleType:"point"}},Gv=1e-4,XP=function(e){var r=e.domain();if(!(!r||r.length<=2)){var n=r.length,i=e.range(),a=Math.min(i[0],i[1])-Gv,o=Math.max(i[0],i[1])+Gv,u=e(r[0]),s=e(r[n-1]);(u<a||u>o||s<a||s>o)&&e.domain([r[0],r[n-1]])}},VP=function(e,r){if(!e)return null;for(var n=0,i=e.length;n<i;n++)if(e[n].item===r)return e[n].position;return null},YP=function(e,r){if(!r||r.length!==2||!B(r[0])||!B(r[1]))return e;var n=Math.min(r[0],r[1]),i=Math.max(r[0],r[1]),a=[e[0],e[1]];return(!B(e[0])||e[0]<n)&&(a[0]=n),(!B(e[1])||e[1]>i)&&(a[1]=i),a[0]>i&&(a[0]=i),a[1]<n&&(a[1]=n),a},ZP=function(e){var r=e.length;if(!(r<=0))for(var n=0,i=e[0].length;n<i;++n)for(var a=0,o=0,u=0;u<r;++u){var s=En(e[u][n][1])?e[u][n][0]:e[u][n][1];s>=0?(e[u][n][0]=a,e[u][n][1]=a+s,a=e[u][n][1]):(e[u][n][0]=o,e[u][n][1]=o+s,o=e[u][n][1])}},JP=function(e){var r=e.length;if(!(r<=0))for(var n=0,i=e[0].length;n<i;++n)for(var a=0,o=0;o<r;++o){var u=En(e[o][n][1])?e[o][n][0]:e[o][n][1];u>=0?(e[o][n][0]=a,e[o][n][1]=a+u,a=e[o][n][1]):(e[o][n][0]=0,e[o][n][1]=0)}},QP={sign:ZP,expand:tw,none:Ri,silhouette:rw,wiggle:nw,positive:JP},eT=function(e,r,n){var i=r.map(function(u){return u.props.dataKey}),a=QP[n],o=U0().keys(i).value(function(u,s){return+ke(u,s,0)}).order(z0).offset(a);return o(e)},tT=function(e,r,n,i,a,o){if(!e)return null;var u=o?r.reverse():r,s={},c=u.reduce(function(l,p){var d,y=(d=p.type)!==null&&d!==void 0&&d.defaultProps?me(me({},p.type.defaultProps),p.props):p.props,v=y.stackId,h=y.hide;if(h)return l;var x=y[n],O=l[x]||{hasStack:!1,stackGroups:{}};if(Se(v)){var b=O.stackGroups[v]||{numericAxisId:n,cateAxisId:i,items:[]};b.items.push(p),O.hasStack=!0,O.stackGroups[v]=b}else O.stackGroups[jn("_stackId_")]={numericAxisId:n,cateAxisId:i,items:[p]};return me(me({},l),{},rr({},x,O))},s),f={};return Object.keys(c).reduce(function(l,p){var d=c[p];if(d.hasStack){var y={};d.stackGroups=Object.keys(d.stackGroups).reduce(function(v,h){var x=d.stackGroups[h];return me(me({},v),{},rr({},h,{numericAxisId:n,cateAxisId:i,items:x.items,stackedData:eT(e,x.items,a)}))},y)}return me(me({},l),{},rr({},p,d))},f)},rT=function(e,r){var n=r.realScaleType,i=r.type,a=r.tickCount,o=r.originalDomain,u=r.allowDecimals,s=n||r.scale;if(s!=="auto"&&s!=="linear")return null;if(a&&i==="number"&&o&&(o[0]==="auto"||o[1]==="auto")){var c=e.domain();if(!c.length)return null;var f=dP(c,a,u);return e.domain([ra(f),ta(f)]),{niceTicks:f}}if(a&&i==="number"){var l=e.domain(),p=vP(l,a,u);return{niceTicks:p}}return null};function Hv(t){var e=t.axis,r=t.ticks,n=t.bandSize,i=t.entry,a=t.index,o=t.dataKey;if(e.type==="category"){if(!e.allowDuplicatedCategory&&e.dataKey&&!Z(i[e.dataKey])){var u=Qn(r,"value",i[e.dataKey]);if(u)return u.coordinate+n/2}return r[a]?r[a].coordinate+n/2:null}var s=ke(i,Z(o)?e.dataKey:o);return Z(s)?null:e.scale(s)}var Xv=function(e){var r=e.axis,n=e.ticks,i=e.offset,a=e.bandSize,o=e.entry,u=e.index;if(r.type==="category")return n[u]?n[u].coordinate+i:null;var s=ke(o,r.dataKey,r.domain[u]);return Z(s)?null:r.scale(s)-a/2+i},nT=function(e){var r=e.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]},iT=function(e,r){var n,i=(n=e.type)!==null&&n!==void 0&&n.defaultProps?me(me({},e.type.defaultProps),e.props):e.props,a=i.stackId;if(Se(a)){var o=r[a];if(o){var u=o.items.indexOf(e);return u>=0?o.stackedData[u]:null}}return null},aT=function(e){return e.reduce(function(r,n){return[ra(n.concat([r[0]]).filter(B)),ta(n.concat([r[1]]).filter(B))]},[1/0,-1/0])},$b=function(e,r,n){return Object.keys(e).reduce(function(i,a){var o=e[a],u=o.stackedData,s=u.reduce(function(c,f){var l=aT(f.slice(r,n+1));return[Math.min(c[0],l[0]),Math.max(c[1],l[1])]},[1/0,-1/0]);return[Math.min(s[0],i[0]),Math.max(s[1],i[1])]},[1/0,-1/0]).map(function(i){return i===1/0||i===-1/0?0:i})},Vv=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,Yv=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,zc=function(e,r,n){if(Q(e))return e(r,n);if(!Array.isArray(e))return r;var i=[];if(B(e[0]))i[0]=n?e[0]:Math.min(e[0],r[0]);else if(Vv.test(e[0])){var a=+Vv.exec(e[0])[1];i[0]=r[0]-a}else Q(e[0])?i[0]=e[0](r[0]):i[0]=r[0];if(B(e[1]))i[1]=n?e[1]:Math.max(e[1],r[1]);else if(Yv.test(e[1])){var o=+Yv.exec(e[1])[1];i[1]=r[1]+o}else Q(e[1])?i[1]=e[1](r[1]):i[1]=r[1];return i},li=function(e,r,n){if(e&&e.scale&&e.scale.bandwidth){var i=e.scale.bandwidth();if(!n||i>0)return i}if(e&&r&&r.length>=2){for(var a=lf(r,function(l){return l.coordinate}),o=1/0,u=1,s=a.length;u<s;u++){var c=a[u],f=a[u-1];o=Math.min((c.coordinate||0)-(f.coordinate||0),o)}return o===1/0?0:o}return n?void 0:0},Zv=function(e,r,n){return!e||!e.length||na(e,Ze(n,"type.defaultProps.domain"))?r:e},Rb=function(e,r){var n=e.type.defaultProps?me(me({},e.type.defaultProps),e.props):e.props,i=n.dataKey,a=n.name,o=n.unit,u=n.formatter,s=n.tooltipType,c=n.chartType,f=n.hide;return me(me({},ee(e,!1)),{},{dataKey:i,unit:o,formatter:u,name:a||i,color:vf(e),value:ke(r,i),type:s,payload:r,chartType:c,hide:f})};function on(t){"@babel/helpers - typeof";return on=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},on(t)}function Jv(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Qv(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Jv(Object(r),!0).forEach(function(n){oT(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Jv(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function oT(t,e,r){return e=uT(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function uT(t){var e=sT(t,"string");return on(e)=="symbol"?e:e+""}function sT(t,e){if(on(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(on(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var fi=Math.PI/180,cT=function(e){return e*180/Math.PI},Me=function(e,r,n,i){return{x:e+Math.cos(-fi*i)*n,y:r+Math.sin(-fi*i)*n}},lT=function(e,r){var n=e.x,i=e.y,a=r.x,o=r.y;return Math.sqrt(Math.pow(n-a,2)+Math.pow(i-o,2))},fT=function(e,r){var n=e.x,i=e.y,a=r.cx,o=r.cy,u=lT({x:n,y:i},{x:a,y:o});if(u<=0)return{radius:u};var s=(n-a)/u,c=Math.acos(s);return i>o&&(c=2*Math.PI-c),{radius:u,angle:cT(c),angleInRadian:c}},pT=function(e){var r=e.startAngle,n=e.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}},hT=function(e,r){var n=r.startAngle,i=r.endAngle,a=Math.floor(n/360),o=Math.floor(i/360),u=Math.min(a,o);return e+u*360},ey=function(e,r){var n=e.x,i=e.y,a=fT({x:n,y:i},r),o=a.radius,u=a.angle,s=r.innerRadius,c=r.outerRadius;if(o<s||o>c)return!1;if(o===0)return!0;var f=pT(r),l=f.startAngle,p=f.endAngle,d=u,y;if(l<=p){for(;d>p;)d-=360;for(;d<l;)d+=360;y=d>=l&&d<=p}else{for(;d>l;)d-=360;for(;d<p;)d+=360;y=d>=p&&d<=l}return y?Qv(Qv({},r),{},{radius:o,angle:hT(d,r)}):null};function un(t){"@babel/helpers - typeof";return un=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},un(t)}var dT=["offset"];function vT(t){return bT(t)||gT(t)||mT(t)||yT()}function yT(){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 mT(t,e){if(t){if(typeof t=="string")return Wc(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Wc(t,e)}}function gT(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function bT(t){if(Array.isArray(t))return Wc(t)}function Wc(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function xT(t,e){if(t==null)return{};var r=OT(t,e),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function OT(t,e){if(t==null)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}function ty(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function _e(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ty(Object(r),!0).forEach(function(n){wT(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ty(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function wT(t,e,r){return e=_T(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function _T(t){var e=ST(t,"string");return un(e)=="symbol"?e:e+""}function ST(t,e){if(un(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(un(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function sn(){return sn=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},sn.apply(this,arguments)}var AT=function(e){var r=e.value,n=e.formatter,i=Z(e.children)?r:e.children;return Q(n)?n(i):i},PT=function(e,r){var n=rt(r-e),i=Math.min(Math.abs(r-e),360);return n*i},TT=function(e,r,n){var i=e.position,a=e.viewBox,o=e.offset,u=e.className,s=a,c=s.cx,f=s.cy,l=s.innerRadius,p=s.outerRadius,d=s.startAngle,y=s.endAngle,v=s.clockWise,h=(l+p)/2,x=PT(d,y),O=x>=0?1:-1,b,w;i==="insideStart"?(b=d+O*o,w=v):i==="insideEnd"?(b=y-O*o,w=!v):i==="end"&&(b=y+O*o,w=v),w=x<=0?w:!w;var m=Me(c,f,h,b),g=Me(c,f,h,b+(w?1:-1)*359),_="M".concat(m.x,",").concat(m.y,` 22 A`).concat(h,",").concat(h,",0,1,").concat(w?0:1,`, 23 `).concat(g.x,",").concat(g.y),S=Z(e.id)?jn("recharts-radial-line-"):e.id;return P.createElement("text",sn({},n,{dominantBaseline:"central",className:re("recharts-radial-bar-label",u)}),P.createElement("defs",null,P.createElement("path",{id:S,d:_})),P.createElement("textPath",{xlinkHref:"#".concat(S)},r))},ET=function(e){var r=e.viewBox,n=e.offset,i=e.position,a=r,o=a.cx,u=a.cy,s=a.innerRadius,c=a.outerRadius,f=a.startAngle,l=a.endAngle,p=(f+l)/2;if(i==="outside"){var d=Me(o,u,c+n,p),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 h=(s+c)/2,x=Me(o,u,h,p),O=x.x,b=x.y;return{x:O,y:b,textAnchor:"middle",verticalAnchor:"middle"}},jT=function(e){var r=e.viewBox,n=e.parentViewBox,i=e.offset,a=e.position,o=r,u=o.x,s=o.y,c=o.width,f=o.height,l=f>=0?1:-1,p=l*i,d=l>0?"end":"start",y=l>0?"start":"end",v=c>=0?1:-1,h=v*i,x=v>0?"end":"start",O=v>0?"start":"end";if(a==="top"){var b={x:u+c/2,y:s-l*i,textAnchor:"middle",verticalAnchor:d};return _e(_e({},b),n?{height:Math.max(s-n.y,0),width:c}:{})}if(a==="bottom"){var w={x:u+c/2,y:s+f+p,textAnchor:"middle",verticalAnchor:y};return _e(_e({},w),n?{height:Math.max(n.y+n.height-(s+f),0),width:c}:{})}if(a==="left"){var m={x:u-h,y:s+f/2,textAnchor:x,verticalAnchor:"middle"};return _e(_e({},m),n?{width:Math.max(m.x-n.x,0),height:f}:{})}if(a==="right"){var g={x:u+c+h,y:s+f/2,textAnchor:O,verticalAnchor:"middle"};return _e(_e({},g),n?{width:Math.max(n.x+n.width-g.x,0),height:f}:{})}var _=n?{width:c,height:f}:{};return a==="insideLeft"?_e({x:u+h,y:s+f/2,textAnchor:O,verticalAnchor:"middle"},_):a==="insideRight"?_e({x:u+c-h,y:s+f/2,textAnchor:x,verticalAnchor:"middle"},_):a==="insideTop"?_e({x:u+c/2,y:s+p,textAnchor:"middle",verticalAnchor:y},_):a==="insideBottom"?_e({x:u+c/2,y:s+f-p,textAnchor:"middle",verticalAnchor:d},_):a==="insideTopLeft"?_e({x:u+h,y:s+p,textAnchor:O,verticalAnchor:y},_):a==="insideTopRight"?_e({x:u+c-h,y:s+p,textAnchor:x,verticalAnchor:y},_):a==="insideBottomLeft"?_e({x:u+h,y:s+f-p,textAnchor:O,verticalAnchor:d},_):a==="insideBottomRight"?_e({x:u+c-h,y:s+f-p,textAnchor:x,verticalAnchor:d},_):Ar(a)&&(B(a.x)||xc(a.x))&&(B(a.y)||xc(a.y))?_e({x:u+Ft(a.x,c),y:s+Ft(a.y,f),textAnchor:"end",verticalAnchor:"end"},_):_e({x:u+c/2,y:s+f/2,textAnchor:"middle",verticalAnchor:"middle"},_)},CT=function(e){return"cx"in e&&B(e.cx)};function Re(t){var e=t.offset,r=e===void 0?5:e,n=xT(t,dT),i=_e({offset:r},n),a=i.viewBox,o=i.position,u=i.value,s=i.children,c=i.content,f=i.className,l=f===void 0?"":f,p=i.textBreakAll;if(!a||Z(u)&&Z(s)&&!k.isValidElement(c)&&!Q(c))return null;if(k.isValidElement(c))return k.cloneElement(c,i);var d;if(Q(c)){if(d=k.createElement(c,i),k.isValidElement(d))return d}else d=AT(i);var y=CT(a),v=ee(i,!0);if(y&&(o==="insideStart"||o==="insideEnd"||o==="end"))return TT(i,d,v);var h=y?ET(i):jT(i);return P.createElement(oi,sn({className:re("recharts-label",l)},v,h,{breakAll:p}),d)}Re.displayName="Label";var Db=function(e){var r=e.cx,n=e.cy,i=e.angle,a=e.startAngle,o=e.endAngle,u=e.r,s=e.radius,c=e.innerRadius,f=e.outerRadius,l=e.x,p=e.y,d=e.top,y=e.left,v=e.width,h=e.height,x=e.clockWise,O=e.labelViewBox;if(O)return O;if(B(v)&&B(h)){if(B(l)&&B(p))return{x:l,y:p,width:v,height:h};if(B(d)&&B(y))return{x:d,y,width:v,height:h}}return B(l)&&B(p)?{x:l,y:p,width:0,height:0}:B(r)&&B(n)?{cx:r,cy:n,startAngle:a||i||0,endAngle:o||i||0,innerRadius:c||0,outerRadius:f||s||u||0,clockWise:x}:e.viewBox?e.viewBox:{}},MT=function(e,r){return e?e===!0?P.createElement(Re,{key:"label-implicit",viewBox:r}):Se(e)?P.createElement(Re,{key:"label-implicit",viewBox:r,value:e}):k.isValidElement(e)?e.type===Re?k.cloneElement(e,{key:"label-implicit",viewBox:r}):P.createElement(Re,{key:"label-implicit",content:e,viewBox:r}):Q(e)?P.createElement(Re,{key:"label-implicit",content:e,viewBox:r}):Ar(e)?P.createElement(Re,sn({viewBox:r},e,{key:"label-implicit"})):null:null},IT=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!e||!e.children&&n&&!e.label)return null;var i=e.children,a=Db(e),o=Ke(i,Re).map(function(s,c){return k.cloneElement(s,{viewBox:r||a,key:"label-".concat(c)})});if(!n)return o;var u=MT(e.label,r||a);return[u].concat(vT(o))};Re.parseViewBox=Db;Re.renderCallByParent=IT;var Fs,ry;function $T(){if(ry)return Fs;ry=1;function t(e){var r=e==null?0:e.length;return r?e[r-1]:void 0}return Fs=t,Fs}var RT=$T();const DT=he(RT);function cn(t){"@babel/helpers - typeof";return cn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},cn(t)}var kT=["valueAccessor"],qT=["data","dataKey","clockWise","id","textBreakAll"];function NT(t){return UT(t)||FT(t)||LT(t)||BT()}function BT(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 24In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function LT(t,e){if(t){if(typeof t=="string")return Kc(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Kc(t,e)}}function FT(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function UT(t){if(Array.isArray(t))return Kc(t)}function Kc(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function pi(){return pi=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},pi.apply(this,arguments)}function ny(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function iy(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ny(Object(r),!0).forEach(function(n){zT(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ny(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function zT(t,e,r){return e=WT(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function WT(t){var e=KT(t,"string");return cn(e)=="symbol"?e:e+""}function KT(t,e){if(cn(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(cn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function ay(t,e){if(t==null)return{};var r=GT(t,e),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function GT(t,e){if(t==null)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}var HT=function(e){return Array.isArray(e.value)?DT(e.value):e.value};function Et(t){var e=t.valueAccessor,r=e===void 0?HT:e,n=ay(t,kT),i=n.data,a=n.dataKey,o=n.clockWise,u=n.id,s=n.textBreakAll,c=ay(n,qT);return!i||!i.length?null:P.createElement(ve,{className:"recharts-label-list"},i.map(function(f,l){var p=Z(a)?r(f,l):ke(f&&f.payload,a),d=Z(u)?{}:{id:"".concat(u,"-").concat(l)};return P.createElement(Re,pi({},ee(f,!0),c,d,{parentViewBox:f.parentViewBox,value:p,textBreakAll:s,viewBox:Re.parseViewBox(Z(o)?f:iy(iy({},f),{},{clockWise:o})),key:"label-".concat(l),index:l}))}))}Et.displayName="LabelList";function XT(t,e){return t?t===!0?P.createElement(Et,{key:"labelList-implicit",data:e}):P.isValidElement(t)||Q(t)?P.createElement(Et,{key:"labelList-implicit",data:e,content:t}):Ar(t)?P.createElement(Et,pi({data:e},t,{key:"labelList-implicit"})):null:null}function VT(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!t||!t.children&&r&&!t.label)return null;var n=t.children,i=Ke(n,Et).map(function(o,u){return k.cloneElement(o,{data:e,key:"labelList-".concat(u)})});if(!r)return i;var a=XT(t.label,e);return[a].concat(NT(i))}Et.renderCallByParent=VT;function ln(t){"@babel/helpers - typeof";return ln=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ln(t)}function Gc(){return Gc=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Gc.apply(this,arguments)}function oy(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function uy(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?oy(Object(r),!0).forEach(function(n){YT(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):oy(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function YT(t,e,r){return e=ZT(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ZT(t){var e=JT(t,"string");return ln(e)=="symbol"?e:e+""}function JT(t,e){if(ln(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(ln(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var QT=function(e,r){var n=rt(r-e),i=Math.min(Math.abs(r-e),359.999);return n*i},Ln=function(e){var r=e.cx,n=e.cy,i=e.radius,a=e.angle,o=e.sign,u=e.isExternal,s=e.cornerRadius,c=e.cornerIsExternal,f=s*(u?1:-1)+i,l=Math.asin(s/f)/fi,p=c?a:a+o*l,d=Me(r,n,f,p),y=Me(r,n,i,p),v=c?a-o*l:a,h=Me(r,n,f*Math.cos(l*fi),v);return{center:d,circleTangency:y,lineTangency:h,theta:l}},kb=function(e){var r=e.cx,n=e.cy,i=e.innerRadius,a=e.outerRadius,o=e.startAngle,u=e.endAngle,s=QT(o,u),c=o+s,f=Me(r,n,a,o),l=Me(r,n,a,c),p="M ".concat(f.x,",").concat(f.y,` 25 A `).concat(a,",").concat(a,`,0, 26 `).concat(+(Math.abs(s)>180),",").concat(+(o>c),`, 27 `).concat(l.x,",").concat(l.y,` 28 `);if(i>0){var d=Me(r,n,i,o),y=Me(r,n,i,c);p+="L ".concat(y.x,",").concat(y.y,` 29 A `).concat(i,",").concat(i,`,0, 30 `).concat(+(Math.abs(s)>180),",").concat(+(o<=c),`, 31 `).concat(d.x,",").concat(d.y," Z")}else p+="L ".concat(r,",").concat(n," Z");return p},eE=function(e){var r=e.cx,n=e.cy,i=e.innerRadius,a=e.outerRadius,o=e.cornerRadius,u=e.forceCornerRadius,s=e.cornerIsExternal,c=e.startAngle,f=e.endAngle,l=rt(f-c),p=Ln({cx:r,cy:n,radius:a,angle:c,sign:l,cornerRadius:o,cornerIsExternal:s}),d=p.circleTangency,y=p.lineTangency,v=p.theta,h=Ln({cx:r,cy:n,radius:a,angle:f,sign:-l,cornerRadius:o,cornerIsExternal:s}),x=h.circleTangency,O=h.lineTangency,b=h.theta,w=s?Math.abs(c-f):Math.abs(c-f)-v-b;if(w<0)return u?"M ".concat(y.x,",").concat(y.y,` 32 a`).concat(o,",").concat(o,",0,0,1,").concat(o*2,`,0 33 a`).concat(o,",").concat(o,",0,0,1,").concat(-o*2,`,0 34 `):kb({cx:r,cy:n,innerRadius:i,outerRadius:a,startAngle:c,endAngle:f});var m="M ".concat(y.x,",").concat(y.y,` 35 A`).concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(d.x,",").concat(d.y,` 36 A`).concat(a,",").concat(a,",0,").concat(+(w>180),",").concat(+(l<0),",").concat(x.x,",").concat(x.y,` 37 A`).concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(O.x,",").concat(O.y,` 38 `);if(i>0){var g=Ln({cx:r,cy:n,radius:i,angle:c,sign:l,isExternal:!0,cornerRadius:o,cornerIsExternal:s}),_=g.circleTangency,S=g.lineTangency,A=g.theta,j=Ln({cx:r,cy:n,radius:i,angle:f,sign:-l,isExternal:!0,cornerRadius:o,cornerIsExternal:s}),T=j.circleTangency,E=j.lineTangency,M=j.theta,$=s?Math.abs(c-f):Math.abs(c-f)-A-M;if($<0&&o===0)return"".concat(m,"L").concat(r,",").concat(n,"Z");m+="L".concat(E.x,",").concat(E.y,` 39 A`).concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(T.x,",").concat(T.y,` 40 A`).concat(i,",").concat(i,",0,").concat(+($>180),",").concat(+(l>0),",").concat(_.x,",").concat(_.y,` 41 A`).concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(S.x,",").concat(S.y,"Z")}else m+="L".concat(r,",").concat(n,"Z");return m},tE={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},qb=function(e){var r=uy(uy({},tE),e),n=r.cx,i=r.cy,a=r.innerRadius,o=r.outerRadius,u=r.cornerRadius,s=r.forceCornerRadius,c=r.cornerIsExternal,f=r.startAngle,l=r.endAngle,p=r.className;if(o<a||f===l)return null;var d=re("recharts-sector",p),y=o-a,v=Ft(u,y,0,!0),h;return v>0&&Math.abs(f-l)<360?h=eE({cx:n,cy:i,innerRadius:a,outerRadius:o,cornerRadius:Math.min(v,y/2),forceCornerRadius:s,cornerIsExternal:c,startAngle:f,endAngle:l}):h=kb({cx:n,cy:i,innerRadius:a,outerRadius:o,startAngle:f,endAngle:l}),P.createElement("path",Gc({},ee(r,!0),{className:d,d:h,role:"img"}))};function fn(t){"@babel/helpers - typeof";return fn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fn(t)}function Hc(){return Hc=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
41for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Hc.apply(this,arguments)}function sy(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function cy(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?sy(Object(r),!0).forEach(function(n){rE(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):sy(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function rE(t,e,r){return e=nE(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function nE(t){var e=iE(t,"string");return fn(e)=="symbol"?e:e+""}function iE(t,e){if(fn(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(fn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var ly={curveBasisClosed:GO,curveBasisOpen:HO,curveBasis:Q0,curveBumpX:IO,curveBumpY:$O,curveLinearClosed:XO,curveLinear:Ml,curveMonotoneX:VO,curveMonotoneY:YO,curveNatural:ZO,curveStep:JO,curveStepAfter:ew,curveStepBefore:QO},Fn=function(e){return e.x===+e.x&&e.y===+e.y},Dr=function(e){return e.x},kr=function(e){return e.y},aE=function(e,r){if(Q(e))return e;var n="curve".concat(Yi(e));return(n==="curveMonotone"||n==="curveBump")&&r?ly["".concat(n).concat(r==="vertical"?"Y":"X")]:ly[n]||Ml},oE=function(e){var r=e.type,n=r===void 0?"linear":r,i=e.points,a=i===void 0?[]:i,o=e.baseLine,u=e.layout,s=e.connectNulls,c=s===void 0?!1:s,f=aE(n,u),l=c?a.filter(function(v){return Fn(v)}):a,p;if(Array.isArray(o)){var d=c?o.filter(function(v){return Fn(v)}):o,y=l.map(function(v,h){return cy(cy({},v),{},{base:d[h]})});return u==="vertical"?p=kn().y(kr).x1(Dr).x0(function(v){return v.base.x}):p=kn().x(Dr).y1(kr).y0(function(v){return v.base.y}),p.defined(Fn).curve(f),p(y)}return u==="vertical"&&B(o)?p=kn().y(kr).x1(Dr).x0(o):B(o)?p=kn().x(Dr).y1(kr).y0(o):p=zm().x(Dr).y(kr),p.defined(Fn).curve(f),p(l)},Xc=function(e){var r=e.className,n=e.points,i=e.path,a=e.pathRef;if((!n||!n.length)&&!i)return null;var o=n&&n.length?oE(e):i;return k.createElement("path",Hc({},ee(e,!1),ei(e),{className:re("recharts-curve",r),d:o,ref:a}))},Us={exports:{}},zs,fy;function uE(){if(fy)return zs;fy=1;var t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return zs=t,zs}var Ws,py;function sE(){if(py)return Ws;py=1;var t=uE();function e(){}function r(){}return r.resetWarningCache=e,Ws=function(){function n(o,u,s,c,f,l){if(l!==t){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}}n.isRequired=n;function i(){return n}var a={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:i,element:n,elementType:n,instanceOf:i,node:n,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:r,resetWarningCache:e};return a.PropTypes=a,a},Ws}var hy;function cE(){return hy||(hy=1,Us.exports=sE()()),Us.exports}var lE=cE();const ie=he(lE);var fE=Object.getOwnPropertyNames,pE=Object.getOwnPropertySymbols,hE=Object.prototype.hasOwnProperty;function dy(t,e){return function(n,i,a){return t(n,i,a)&&e(n,i,a)}}function Un(t){return function(r,n,i){if(!r||!n||typeof r!="object"||typeof n!="object")return t(r,n,i);var a=i.cache,o=a.get(r),u=a.get(n);if(o&&u)return o===n&&u===r;a.set(r,n),a.set(n,r);var s=t(r,n,i);return a.delete(r),a.delete(n),s}}function vy(t){return fE(t).concat(pE(t))}var dE=Object.hasOwn||function(t,e){return hE.call(t,e)};function Ht(t,e){return t===e||!t&&!e&&t!==t&&e!==e}var vE="__v",yE="__o",mE="_owner",yy=Object.getOwnPropertyDescriptor,my=Object.keys;function gE(t,e,r){var n=t.length;if(e.length!==n)return!1;for(;n-- >0;)if(!r.equals(t[n],e[n],n,n,t,e,r))return!1;return!0}function bE(t,e){return Ht(t.getTime(),e.getTime())}function xE(t,e){return t.name===e.name&&t.message===e.message&&t.cause===e.cause&&t.stack===e.stack}function OE(t,e){return t===e}function gy(t,e,r){var n=t.size;if(n!==e.size)return!1;if(!n)return!0;for(var i=new Array(n),a=t.entries(),o,u,s=0;(o=a.next())&&!o.done;){for(var c=e.entries(),f=!1,l=0;(u=c.next())&&!u.done;){if(i[l]){l++;continue}var p=o.value,d=u.value;if(r.equals(p[0],d[0],s,l,t,e,r)&&r.equals(p[1],d[1],p[0],d[0],t,e,r)){f=i[l]=!0;break}l++}if(!f)return!1;s++}return!0}var wE=Ht;function _E(t,e,r){var n=my(t),i=n.length;if(my(e).length!==i)return!1;for(;i-- >0;)if(!Nb(t,e,r,n[i]))return!1;return!0}function qr(t,e,r){var n=vy(t),i=n.length;if(vy(e).length!==i)return!1;for(var a,o,u;i-- >0;)if(a=n[i],!Nb(t,e,r,a)||(o=yy(t,a),u=yy(e,a),(o||u)&&(!o||!u||o.configurable!==u.configurable||o.enumerable!==u.enumerable||o.writable!==u.writable)))return!1;return!0}function SE(t,e){return Ht(t.valueOf(),e.valueOf())}function AE(t,e){return t.source===e.source&&t.flags===e.flags}function by(t,e,r){var n=t.size;if(n!==e.size)return!1;if(!n)return!0;for(var i=new Array(n),a=t.values(),o,u;(o=a.next())&&!o.done;){for(var s=e.values(),c=!1,f=0;(u=s.next())&&!u.done;){if(!i[f]&&r.equals(o.value,u.value,o.value,u.value,t,e,r)){c=i[f]=!0;break}f++}if(!c)return!1}return!0}function PE(t,e){var r=t.length;if(e.length!==r)return!1;for(;r-- >0;)if(t[r]!==e[r])return!1;return!0}function TE(t,e){return t.hostname===e.hostname&&t.pathname===e.pathname&&t.protocol===e.protocol&&t.port===e.port&&t.hash===e.hash&&t.username===e.username&&t.password===e.password}function Nb(t,e,r,n){return(n===mE||n===yE||n===vE)&&(t.$$typeof||e.$$typeof)?!0:dE(e,n)&&r.equals(t[n],e[n],n,n,t,e,r)}var EE="[object Arguments]",jE="[object Boolean]",CE="[object Date]",ME="[object Error]",IE="[object Map]",$E="[object Number]",RE="[object Object]",DE="[object RegExp]",kE="[object Set]",qE="[object String]",NE="[object URL]",BE=Array.isArray,xy=typeof ArrayBuffer=="function"&&ArrayBuffer.isView?ArrayBuffer.isView:null,Oy=Object.assign,LE=Object.prototype.toString.call.bind(Object.prototype.toString);function FE(t){var e=t.areArraysEqual,r=t.areDatesEqual,n=t.areErrorsEqual,i=t.areFunctionsEqual,a=t.areMapsEqual,o=t.areNumbersEqual,u=t.areObjectsEqual,s=t.arePrimitiveWrappersEqual,c=t.areRegExpsEqual,f=t.areSetsEqual,l=t.areTypedArraysEqual,p=t.areUrlsEqual;return function(y,v,h){if(y===v)return!0;
41if(y==null||v==null)return!1;var x=typeof y;if(x!==typeof v)return!1;if(x!=="object")return x==="number"?o(y,v,h):x==="function"?i(y,v,h):!1;var O=y.constructor;if(O!==v.constructor)return!1;if(O===Object)return u(y,v,h);if(BE(y))return e(y,v,h);if(xy!=null&&xy(y))return l(y,v,h);if(O===Date)return r(y,v,h);if(O===RegExp)return c(y,v,h);if(O===Map)return a(y,v,h);if(O===Set)return f(y,v,h);var b=LE(y);return b===CE?r(y,v,h):b===DE?c(y,v,h):b===IE?a(y,v,h):b===kE?f(y,v,h):b===RE?typeof y.then!="function"&&typeof v.then!="function"&&u(y,v,h):b===NE?p(y,v,h):b===ME?n(y,v,h):b===EE?u(y,v,h):b===jE||b===$E||b===qE?s(y,v,h):!1}}function UE(t){var e=t.circular,r=t.createCustomConfig,n=t.strict,i={areArraysEqual:n?qr:gE,areDatesEqual:bE,areErrorsEqual:xE,areFunctionsEqual:OE,areMapsEqual:n?dy(gy,qr):gy,areNumbersEqual:wE,areObjectsEqual:n?qr:_E,arePrimitiveWrappersEqual:SE,areRegExpsEqual:AE,areSetsEqual:n?dy(by,qr):by,areTypedArraysEqual:n?qr:PE,areUrlsEqual:TE};if(r&&(i=Oy({},i,r(i))),e){var a=Un(i.areArraysEqual),o=Un(i.areMapsEqual),u=Un(i.areObjectsEqual),s=Un(i.areSetsEqual);i=Oy({},i,{areArraysEqual:a,areMapsEqual:o,areObjectsEqual:u,areSetsEqual:s})}return i}function zE(t){return function(e,r,n,i,a,o,u){return t(e,r,u)}}function WE(t){var e=t.circular,r=t.comparator,n=t.createState,i=t.equals,a=t.strict;if(n)return function(s,c){var f=n(),l=f.cache,p=l===void 0?e?new WeakMap:void 0:l,d=f.meta;return r(s,c,{cache:p,equals:i,meta:d,strict:a})};if(e)return function(s,c){return r(s,c,{cache:new WeakMap,equals:i,meta:void 0,strict:a})};var o={cache:void 0,equals:i,meta:void 0,strict:a};return function(s,c){return r(s,c,o)}}var KE=It();It({strict:!0});It({circular:!0});It({circular:!0,strict:!0});It({createInternalComparator:function(){return Ht}});It({strict:!0,createInternalComparator:function(){return Ht}});It({circular:!0,createInternalComparator:function(){return Ht}});It({circular:!0,createInternalComparator:function(){return Ht},strict:!0});function It(t){t===void 0&&(t={});var e=t.circular,r=e===void 0?!1:e,n=t.createInternalComparator,i=t.createState,a=t.strict,o=a===void 0?!1:a,u=UE(t),s=FE(u),c=n?n(s):zE(s);return WE({circular:r,comparator:s,createState:i,equals:c,strict:o})}function GE(t){typeof requestAnimationFrame<"u"&&requestAnimationFrame(t)}function wy(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=-1,n=function i(a){r<0&&(r=a),a-r>e?(t(a),r=-1):GE(i)};requestAnimationFrame(n)}function Vc(t){"@babel/helpers - typeof";return Vc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Vc(t)}function HE(t){return ZE(t)||YE(t)||VE(t)||XE()}function XE(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 42In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function VE(t,e){if(t){if(typeof t=="string")return _y(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _y(t,e)}}function _y(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function YE(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function ZE(t){if(Array.isArray(t))return t}function JE(){var t={},e=function(){return null},r=!1,n=function i(a){if(!r){if(Array.isArray(a)){if(!a.length)return;var o=a,u=HE(o),s=u[0],c=u.slice(1);if(typeof s=="number"){wy(i.bind(null,c),s);return}i(s),wy(i.bind(null,c));return}Vc(a)==="object"&&(t=a,e(t)),typeof a=="function"&&a()}};return{stop:function(){r=!0},start:function(a){r=!1,n(a)},subscribe:function(a){return e=a,function(){e=function(){return null}}}}}function pn(t){"@babel/helpers - typeof";return pn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pn(t)}function Sy(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Ay(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};
vendor: 152,725 bytes, lines 42-63
42e%2?Sy(Object(r),!0).forEach(function(n){Bb(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Sy(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Bb(t,e,r){return e=QE(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function QE(t){var e=ej(t,"string");return pn(e)==="symbol"?e:String(e)}function ej(t,e){if(pn(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(pn(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var tj=function(e,r){return[Object.keys(e),Object.keys(r)].reduce(function(n,i){return n.filter(function(a){return i.includes(a)})})},rj=function(e){return e},nj=function(e){return e.replace(/([A-Z])/g,function(r){return"-".concat(r.toLowerCase())})},Kr=function(e,r){return Object.keys(r).reduce(function(n,i){return Ay(Ay({},n),{},Bb({},i,e(i,r[i])))},{})},Py=function(e,r,n){return e.map(function(i){return"".concat(nj(i)," ").concat(r,"ms ").concat(n)}).join(",")};function ij(t,e){return uj(t)||oj(t,e)||Lb(t,e)||aj()}function aj(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 43In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function oj(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n,i,a,o,u=[],s=!0,c=!1;try{if(a=(r=r.call(t)).next,e!==0)for(;!(s=(n=a.call(r)).done)&&(u.push(n.value),u.length!==e);s=!0);}catch(f){c=!0,i=f}finally{try{if(!s&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return u}}function uj(t){if(Array.isArray(t))return t}function sj(t){return fj(t)||lj(t)||Lb(t)||cj()}function cj(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 44In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Lb(t,e){if(t){if(typeof t=="string")return Yc(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Yc(t,e)}}function lj(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function fj(t){if(Array.isArray(t))return Yc(t)}function Yc(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var hi=1e-4,Fb=function(e,r){return[0,3*e,3*r-6*e,3*e-3*r+1]},Ub=function(e,r){return e.map(function(n,i){return n*Math.pow(r,i)}).reduce(function(n,i){return n+i})},Ty=function(e,r){return function(n){var i=Fb(e,r);return Ub(i,n)}},pj=function(e,r){return function(n){var i=Fb(e,r),a=[].concat(sj(i.map(function(o,u){return o*u}).slice(1)),[0]);return Ub(a,n)}},Ey=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;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 s=r[0].split("(");if(s[0]==="cubic-bezier"&&s[1].split(")")[0].split(",").length===4){var c=s[1].split(")")[0].split(",").map(function(h){return parseFloat(h)}),f=ij(c,4);i=f[0],a=f[1],o=f[2],u=f[3]}}}var l=Ty(i,o),p=Ty(a,u),d=pj(i,o),y=function(x){return x>1?1:x<0?0:x},v=function(x){for(var O=x>1?1:x,b=O,w=0;w<8;++w){var m=l(b)-O,g=d(b);if(Math.abs(m-O)<hi||g<hi)return p(b);b=y(b-m/g)}return p(b)};return v.isStepper=!1,v},hj=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=e.stiff,n=r===void 0?100:r,i=e.damping,a=i===void 0?8:i,o=e.dt,u=o===void 0?17:o,s=function(f,l,p){var d=-(f-l)*n,y=p*a,v=p+(d-y)*u/1e3,h=p*u/1e3+f;return Math.abs(h-l)<hi&&Math.abs(v)<hi?[l,0]:[h,v]};return s.isStepper=!0,s.dt=u,s},dj=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;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 Ey(i);case"spring":return hj();default:if(i.split("(")[0]==="cubic-bezier")return Ey(i)}return typeof i=="function"?i:null};function hn(t){"@babel/helpers - typeof";return hn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hn(t)}function jy(t){return mj(t)||yj(t)||zb(t)||vj()}function vj(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 45In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yj(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function mj(t){if(Array.isArray(t))return Jc(t)}function Cy(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Ce(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Cy(Object(r),!0).forEach(function(n){Zc(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Cy(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Zc(t,e,r){return e=gj(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function gj(t){var e=bj(t,"string");return hn(e)==="symbol"?e:String(e)}function bj(t,e){if(hn(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(hn(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function xj(t,e){return _j(t)||wj(t,e)||zb(t,e)||Oj()}function Oj(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 46In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zb(t,e){if(t){if(typeof t=="string")return Jc(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Jc(t,e)}}function Jc(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function wj(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n,i,a,o,u=[],s=!0,c=!1;try{if(a=(r=r.call(t)).next,e!==0)for(;!(s=(n=a.call(r)).done)&&(u.push(n.value),u.length!==e);s=!0);}catch(f){c=!0,i=f}finally{try{if(!s&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return u}}function _j(t){if(Array.isArray(t))return t}var di=function(e,r,n){return e+(r-e)*n},Qc=function(e){var r=e.from,n=e.to;return r!==n},Sj=function t(e,r,n){var i=Kr(function(a,o){if(Qc(o)){var u=e(o.from,o.to,o.velocity),s=xj(u,2),c=s[0],f=s[1];return Ce(Ce({},o),{},{from:c,velocity:f})}return o},r);return n<1?Kr(function(a,o){return Qc(o)?Ce(Ce({},o),{},{velocity:di(o.velocity,i[a].velocity,n),from:di(o.from,i[a].from,n)}):o},r):t(e,i,n-1)};const Aj=function(t,e,r,n,i){var a=tj(t,e),o=a.reduce(function(h,x){return Ce(Ce({},h),{},Zc({},x,[t[x],e[x]]))},{}),u=a.reduce(function(h,x){return Ce(Ce({},h),{},Zc({},x,{from:t[x],velocity:0,to:e[x]}))},{}),s=-1,c,f,l=function(){return null},p=function(){return Kr(function(x,O){return O.from},u)},d=function(){return!Object.values(u).filter(Qc).length},y=function(x){c||(c=x);var O=x-c,b=O/r.dt;u=Sj(r,u,b),i(Ce(Ce(Ce({},t),e),p())),c=x,d()||(s=requestAnimationFrame(l))},v=function(x){f||(f=x);var O=(x-f)/n,b=Kr(function(m,g){return di.apply(void 0,jy(g).concat([r(O)]))},o);if(i(Ce(Ce(Ce({},t),e),b)),O<1)s=requestAnimationFrame(l);else{var w=Kr(function(m,g){return di.apply(void 0,jy(g).concat([r(1)]))},o);i(Ce(Ce(Ce({},t),e),w))}};return l=r.isStepper?y:v,function(){return requestAnimationFrame(l),function(){cancelAnimationFrame(s)}}};function lr(t){"@babel/helpers - typeof";return lr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},lr(t)}var Pj=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function Tj(t,e){if(t==null)return{};var r=Ej(t,e),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function Ej(t,e){if(t==null)return{};var r={},n=Object.keys(t),i,a;for(a=0;a<n.length;a++)i=n[a],!(e.indexOf(i)>=0)&&(r[i]=t[i]);return r}function Ks(t){return Ij(t)||Mj(t)||Cj(t)||jj()}function jj(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 47In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Cj(t,e){if(t){if(typeof t=="string")return el(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return el(t,e)}}function Mj(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Ij(t){if(Array.isArray(t))return el(t)}function el(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function My(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function et(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?My(Object(r),!0).forEach(function(n){Fr(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):My(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Fr(t,e,r){return e=Wb(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function $j(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rj(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Wb(n.key),n)}}function Dj(t,e,r){return e&&Rj(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function Wb(t){var e=kj(t,"string");return lr(e)==="symbol"?e:String(e)}function kj(t,e){if(lr(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(lr(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function qj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&tl(t,e)}function tl(t,e){return tl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},tl(t,e)}function Nj(t){var e=Bj();return function(){var n=vi(t),i;if(e){var a=vi(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return rl(this,i)}}function rl(t,e){if(e&&(lr(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return nl(t)}function nl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Bj(){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 vi(t){return vi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},vi(t)}var gt=function(t){qj(r,t);var e=Nj(r);function r(n,i){var a;$j(this,r),a=e.call(this,n,i);var o=a.props,u=o.isActive,s=o.attributeName,c=o.from,f=o.to,l=o.steps,p=o.children,d=o.duration;if(a.handleStyleChange=a.handleStyleChange.bind(nl(a)),a.changeStyle=a.changeStyle.bind(nl(a)),!u||d<=0)return a.state={style:{}},typeof p=="function"&&(a.state={style:f}),rl(a);if(l&&l.length)a.state={style:l[0].style};else if(c){if(typeof p=="function")return a.state={style:c},rl(a);a.state={style:s?Fr({},s,c):c}}else a.state={style:{}};return a}return Dj(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,s=a.attributeName,c=a.shouldReAnimate,f=a.to,l=a.from,p=this.state.style;if(u){if(!o){var d={style:s?Fr({},s,f):f};this.state&&p&&(s&&p[s]!==f||!s&&p!==f)&&this.setState(d);return}if(!(KE(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||c?l:i.to;if(this.state&&p){var h={style:s?Fr({},s,v):v};(s&&p[s]!==v||!s&&p!==v)&&this.setState(h)}this.runAnimation(et(et({},this.props),{},{from:v,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var i=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),i&&i()}},{key:"handleStyleChange",value:function(i){this.changeStyle(i)}},{key:"changeStyle",value:function(i){this.mounted&&this.setState({style:i})}},{key:"runJSAnimation",value:function(i){var a=this,o=i.from,u=i.to,s=i.duration,c=i.easing,f=i.begin,l=i.onAnimationEnd,p=i.onAnimationStart,d=Aj(o,u,dj(c),s,this.changeStyle),y=function(){a.stopJSAnimation=d()};this.manager.start([p,f,y,s,l])}},{key:"runStepAnimation",value:function(i){var a=this,o=i.steps,u=i.begin,s=i.onAnimationStart,c=o[0],f=c.style,l=c.duration,p=l===void 0?0:l,d=function(v,h,x){if(x===0)return v;var O=h.duration,b=h.easing,w=b===void 0?"ease":b,m=h.style,g=h.properties,_=h.onAnimationEnd,S=x>0?o[x-1]:h,A=g||Object.keys(m);if(typeof w=="function"||w==="spring")return[].concat(Ks(v),[a.runJSAnimation.bind(a,{from:S.style,to:m,duration:O,easing:w}),O]);var j=Py(A,O,w),T=et(et(et({},S.style),m),{},{transition:j});return[].concat(Ks(v),[T,O,_]).filter(rj)};return this.manager.start([s].concat(Ks(o.reduce(d,[f,Math.max(p,u)])),[i.onAnimationEnd]))}},{key:"runAnimation",value:function(i){this.manager||(this.manager=JE());var a=i.begin,o=i.duration,u=i.attributeName,s=i.to,c=i.easing,f=i.onAnimationStart,l=i.onAnimationEnd,p=i.steps,d=i.children,y=this.manager;if(this.unSubscribe=y.subscribe(this.handleStyleChange),typeof c=="function"||typeof d=="function"||c==="spring"){this.runJSAnimation(i);return}if(p.length>1){this.runStepAnimation(i);return}var v=u?Fr({},u,s):s,h=Py(Object.keys(v),o,c);y.start([f,a,et(et({},v),{},{transition:h}),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 s=Tj(i,Pj),c=k.Children.count(a),f=this.state.style;if(typeof a=="function")return a(f);if(!u||c===0||o<=0)return a;var l=function(d){var y=d.props,v=y.style,h=v===void 0?{}:v,x=y.className,O=k.cloneElement(d,et(et({},s),{},{style:et(et({},h),f),className:x}));return O};return c===1?l(k.Children.only(a)):P.createElement("div",null,k.Children.map(a,function(p){return l(p)}))}}]),r}(k.PureComponent);gt.displayName="Animate";gt.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};gt.propTypes={from:ie.oneOfType([ie.object,ie.string]),to:ie.oneOfType([ie.object,ie.string]),attributeName:ie.string,duration:ie.number,begin:ie.number,easing:ie.oneOfType([ie.string,ie.func]),steps:ie.arrayOf(ie.shape({duration:ie.number.isRequired,style:ie.object.isRequired,easing:ie.oneOfType([ie.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),ie.func]),properties:ie.arrayOf("string"),onAnimationEnd:ie.func})),children:ie.oneOfType([ie.node,ie.func]),isActive:ie.bool,canBegin:ie.bool,onAnimationEnd:ie.func,shouldReAnimate:ie.bool,onAnimationStart:ie.func,onAnimationReStart:ie.func};function dn(t){"@babel/helpers - typeof";return dn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dn(t)}function yi(){return yi=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},yi.apply(this,arguments)}function Lj(t,e){return Wj(t)||zj(t,e)||Uj(t,e)||Fj()}function Fj(){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 Uj(t,e){if(t){if(typeof t=="string")return Iy(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Iy(t,e)}}function Iy(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function zj(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n,i,a,o,u=[],s=!0,c=!1;try{if(a=(r=r.call(t)).next,e!==0)for(;!(s=(n=a.call(r)).done)&&(u.push(n.value),u.length!==e);s=!0);}catch(f){c=!0,i=f}finally{try{if(!s&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return u}}function Wj(t){if(Array.isArray(t))return t}function $y(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Ry(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?$y(Object(r),!0).forEach(function(n){Kj(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$y(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Kj(t,e,r){return e=Gj(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Gj(t){var e=Hj(t,"string");return dn(e)=="symbol"?e:e+""}function Hj(t,e){if(dn(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(dn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Dy=function(e,r,n,i,a){var o=Math.min(Math.abs(n)/2,Math.abs(i)/2),u=i>=0?1:-1,s=n>=0?1:-1,c=i>=0&&n>=0||i<0&&n<0?1:0,f;if(o>0&&a instanceof Array){for(var l=[0,0,0,0],p=0,d=4;p<d;p++)l[p]=a[p]>o?o:a[p];f="M".concat(e,",").concat(r+u*l[0]),l[0]>0&&(f+="A ".concat(l[0],",").concat(l[0],",0,0,").concat(c,",").concat(e+s*l[0],",").concat(r)),f+="L ".concat(e+n-s*l[1],",").concat(r),l[1]>0&&(f+="A ".concat(l[1],",").concat(l[1],",0,0,").concat(c,`, 49 `).concat(e+n,",").concat(r+u*l[1])),f+="L ".concat(e+n,",").concat(r+i-u*l[2]),l[2]>0&&(f+="A ".concat(l[2],",").concat(l[2],",0,0,").concat(c,`, 50 `).concat(e+n-s*l[2],",").concat(r+i)),f+="L ".concat(e+s*l[3],",").concat(r+i),l[3]>0&&(f+="A ".concat(l[3],",").concat(l[3],",0,0,").concat(c,`, 51 `).concat(e,",").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(e,",").concat(r+u*y,` 52 A `).concat(y,",").concat(y,",0,0,").concat(c,",").concat(e+s*y,",").concat(r,` 53 L `).concat(e+n-s*y,",").concat(r,` 54 A `).concat(y,",").concat(y,",0,0,").concat(c,",").concat(e+n,",").concat(r+u*y,` 55 L `).concat(e+n,",").concat(r+i-u*y,` 56 A `).concat(y,",").concat(y,",0,0,").concat(c,",").concat(e+n-s*y,",").concat(r+i,` 57 L `).concat(e+s*y,",").concat(r+i,` 58 A `).concat(y,",").concat(y,",0,0,").concat(c,",").concat(e,",").concat(r+i-u*y," Z")}else f="M ".concat(e,",").concat(r," h ").concat(n," v ").concat(i," h ").concat(-n," Z");return f},Xj=function(e,r){if(!e||!r)return!1;var n=e.x,i=e.y,a=r.x,o=r.y,u=r.width,s=r.height;if(Math.abs(u)>0&&Math.abs(s)>0){var c=Math.min(a,a+u),f=Math.max(a,a+u),l=Math.min(o,o+s),p=Math.max(o,o+s);return n>=c&&n<=f&&i>=l&&i<=p}return!1},Vj={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},yf=function(e){var r=Ry(Ry({},Vj),e),n=k.useRef(),i=k.useState(-1),a=Lj(i,2),o=a[0],u=a[1];k.useEffect(function(){if(n.current&&n.current.getTotalLength)try{var w=n.current.getTotalLength();w&&u(w)}catch{}},[]);var s=r.x,c=r.y,f=r.width,l=r.height,p=r.radius,d=r.className,y=r.animationEasing,v=r.animationDuration,h=r.animationBegin,x=r.isAnimationActive,O=r.isUpdateAnimationActive;if(s!==+s||c!==+c||f!==+f||l!==+l||f===0||l===0)return null;var b=re("recharts-rectangle",d);return O?P.createElement(gt,{canBegin:o>0,from:{width:f,height:l,x:s,y:c},to:{width:f,height:l,x:s,y:c},duration:v,animationEasing:y,isActive:O},function(w){var m=w.width,g=w.height,_=w.x,S=w.y;return P.createElement(gt,{canBegin:o>0,from:"0px ".concat(o===-1?1:o,"px"),to:"".concat(o,"px 0px"),attributeName:"strokeDasharray",begin:h,duration:v,isActive:x,easing:y},P.createElement("path",yi({},ee(r,!0),{className:b,d:Dy(_,S,m,g,p),ref:n})))}):P.createElement("path",yi({},ee(r,!0),{className:b,d:Dy(s,c,f,l,p)}))};function il(){return il=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},il.apply(this,arguments)}var Kb=function(e){var r=e.cx,n=e.cy,i=e.r,a=e.className,o=re("recharts-dot",a);return r===+r&&n===+n&&i===+i?k.createElement("circle",il({},ee(e,!1),ei(e),{className:o,cx:r,cy:n,r:i})):null};function vn(t){"@babel/helpers - typeof";return vn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vn(t)}var Yj=["x","y","top","left","width","height","className"];function al(){return al=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},al.apply(this,arguments)}function ky(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Zj(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ky(Object(r),!0).forEach(function(n){Jj(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ky(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Jj(t,e,r){return e=Qj(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Qj(t){var e=eC(t,"string");return vn(e)=="symbol"?e:e+""}function eC(t,e){if(vn(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(vn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function tC(t,e){if(t==null)return{};var r=rC(t,e),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function rC(t,e){if(t==null)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}var nC=function(e,r,n,i,a,o){return"M".concat(e,",").concat(a,"v").concat(i,"M").concat(o,",").concat(r,"h").concat(n)},iC=function(e){var r=e.x,n=r===void 0?0:r,i=e.y,a=i===void 0?0:i,o=e.top,u=o===void 0?0:o,s=e.left,c=s===void 0?0:s,f=e.width,l=f===void 0?0:f,p=e.height,d=p===void 0?0:p,y=e.className,v=tC(e,Yj),h=Zj({x:n,y:a,top:u,left:c,width:l,height:d},v);return!B(n)||!B(a)||!B(l)||!B(d)||!B(u)||!B(c)?null:P.createElement("path",al({},ee(h,!0),{className:re("recharts-cross",y),d:nC(n,a,l,d,u,c)}))},Gs,qy;function aC(){if(qy)return Gs;qy=1;var t=Gg(),e=t(Object.getPrototypeOf,Object);return Gs=e,Gs}var Hs,Ny;function oC(){if(Ny)return Hs;Ny=1;var t=Ot(),e=aC(),r=wt(),n="[object Object]",i=Function.prototype,a=Object.prototype,o=i.toString,u=a.hasOwnProperty,s=o.call(Object);function c(f){if(!r(f)||t(f)!=n)return!1;var l=e(f);if(l===null)return!0;var p=u.call(l,"constructor")&&l.constructor;return typeof p=="function"&&p instanceof p&&o.call(p)==s}return Hs=c,Hs}var uC=oC();const sC=he(uC);var Xs,By;function cC(){if(By)return Xs;By=1;var t=Ot(),e=wt(),r="[object Boolean]";function n(i){return i===!0||i===!1||e(i)&&t(i)==r}return Xs=n,Xs}var lC=cC();const fC=he(lC);function yn(t){"@babel/helpers - typeof";return yn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yn(t)}function mi(){return mi=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},mi.apply(this,arguments)}function pC(t,e){return yC(t)||vC(t,e)||dC(t,e)||hC()}function hC(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 59In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function dC(t,e){if(t){if(typeof t=="string")return Ly(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ly(t,e)}}function Ly(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function vC(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n,i,a,o,u=[],s=!0,c=!1;try{if(a=(r=r.call(t)).next,e!==0)for(;!(s=(n=a.call(r)).done)&&(u.push(n.value),u.length!==e);s=!0);}catch(f){c=!0,i=f}finally{try{if(!s&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return u}}function yC(t){if(Array.isArray(t))return t}function Fy(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Uy(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Fy(Object(r),!0).forEach(function(n){mC(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Fy(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function mC(t,e,r){return e=gC(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function gC(t){var e=bC(t,"string");return yn(e)=="symbol"?e:e+""}function bC(t,e){if(yn(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(yn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var zy=function(e,r,n,i,a){var o=n-i,u;return u="M ".concat(e,",").concat(r),u+="L ".concat(e+n,",").concat(r),u+="L ".concat(e+n-o/2,",").concat(r+a),u+="L ".concat(e+n-o/2-i,",").concat(r+a),u+="L ".concat(e,",").concat(r," Z"),u},xC={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},OC=function(e){var r=Uy(Uy({},xC),e),n=k.useRef(),i=k.useState(-1),a=pC(i,2),o=a[0],u=a[1];k.useEffect(function(){if(n.current&&n.current.getTotalLength)try{var b=n.current.getTotalLength();b&&u(b)}catch{}},[]);var s=r.x,c=r.y,f=r.upperWidth,l=r.lowerWidth,p=r.height,d=r.className,y=r.animationEasing,v=r.animationDuration,h=r.animationBegin,x=r.isUpdateAnimationActive;if(s!==+s||c!==+c||f!==+f||l!==+l||p!==+p||f===0&&l===0||p===0)return null;var O=re("recharts-trapezoid",d);return x?P.createElement(gt,{canBegin:o>0,from:{upperWidth:0,lowerWidth:0,height:p,x:s,y:c},to:{upperWidth:f,lowerWidth:l,height:p,x:s,y:c},duration:v,animationEasing:y,isActive:x},function(b){var w=b.upperWidth,m=b.lowerWidth,g=b.height,_=b.x,S=b.y;return P.createElement(gt,{canBegin:o>0,from:"0px ".concat(o===-1?1:o,"px"),to:"".concat(o,"px 0px"),attributeName:"strokeDasharray",begin:h,duration:v,easing:y},P.createElement("path",mi({},ee(r,!0),{className:O,d:zy(_,S,w,m,g),ref:n})))}):P.createElement("g",null,P.createElement("path",mi({},ee(r,!0),{className:O,d:zy(s,c,f,l,p)})))},wC=["option","shapeType","propTransformer","activeClassName","isActive"];function mn(t){"@babel/helpers - typeof";return mn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mn(t)}function _C(t,e){if(t==null)return{};var r=SC(t,e),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function SC(t,e){if(t==null)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}function Wy(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function gi(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Wy(Object(r),!0).forEach(function(n){AC(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Wy(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function AC(t,e,r){return e=PC(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function PC(t){var e=TC(t,"string");return mn(e)=="symbol"?e:e+""}function TC(t,e){if(mn(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(mn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function EC(t,e){return gi(gi({},e),t)}function jC(t,e){return t==="symbols"}function Ky(t){var e=t.shapeType,r=t.elementProps;switch(e){case"rectangle":return P.createElement(yf,r);case"trapezoid":return P.createElement(OC,r);case"sector":return P.createElement(qb,r);case"symbols":if(jC(e))return P.createElement(Zi,r);break;default:return null}}function CC(t){return k.isValidElement(t)?t.props:t}function ol(t){var e=t.option,r=t.shapeType,n=t.propTransformer,i=n===void 0?EC:n,a=t.activeClassName,o=a===void 0?"recharts-active-shape":a,u=t.isActive,s=_C(t,wC),c;if(k.isValidElement(e))c=k.cloneElement(e,gi(gi({},s),CC(e)));else if(Q(e))c=e(s);else if(sC(e)&&!fC(e)){var f=i(e,s);c=P.createElement(Ky,{shapeType:r,elementProps:f})}else{var l=s;c=P.createElement(Ky,{shapeType:r,elementProps:l})}return u?P.createElement(ve,{className:o},c):c}function oa(t,e){return e!=null&&"trapezoids"in t.props}function ua(t,e){return e!=null&&"sectors"in t.props}function gn(t,e){return e!=null&&"points"in t.props}function MC(t,e){var r,n,i=t.x===(e==null||(r=e.labelViewBox)===null||r===void 0?void 0:r.x)||t.x===e.x,a=t.y===(e==null||(n=e.labelViewBox)===null||n===void 0?void 0:n.y)||t.y===e.y;return i&&a}function IC(t,e){var r=t.endAngle===e.endAngle,n=t.startAngle===e.startAngle;return r&&n}function $C(t,e){var r=t.x===e.x,n=t.y===e.y,i=t.z===e.z;return r&&n&&i}function RC(t,e){var r;return oa(t,e)?r=MC:ua(t,e)?r=IC:gn(t,e)&&(r=$C),r}function DC(t,e){var r;return oa(t,e)?r="trapezoids":ua(t,e)?r="sectors":gn(t,e)&&(r="points"),r}function kC(t,e){if(oa(t,e)){var r;return(r=e.tooltipPayload)===null||r===void 0||(r=r[0])===null||r===void 0||(r=r.payload)===null||r===void 0?void 0:r.payload}if(ua(t,e)){var n;return(n=e.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(t,e)?e.payload:{}}function qC(t){var e=t.activeTooltipItem,r=t.graphicalItem,n=t.itemData,i=DC(r,e),a=kC(r,e),o=n.filter(function(s,c){var f=na(a,s),l=r.props[i].filter(function(y){var v=RC(r,e);return v(y,e)}),p=r.props[i].indexOf(l[l.length-1]),d=c===p;return f&&d}),u=n.indexOf(o[o.length-1]);return u}var Vs,Gy;function NC(){if(Gy)return Vs;Gy=1;var t=Math.ceil,e=Math.max;function r(n,i,a,o){for(var u=-1,s=e(t((i-n)/(a||1)),0),c=Array(s);s--;)c[o?s:++u]=n,n+=a;return c}return Vs=r,Vs}var Ys,Hy;function Gb(){if(Hy)return Ys;Hy=1;var t=sb(),e=1/0,r=17976931348623157e292;function n(i){if(!i)return i===0?i:0;if(i=t(i),i===e||i===-e){var a=i<0?-1:1;return a*r}return i===i?i:0}return Ys=n,Ys}var Zs,Xy;function BC(){if(Xy)return Zs;Xy=1;var t=NC(),e=ea(),r=Gb();function n(i){return function(a,o,u){return u&&typeof u!="number"&&e(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),t(a,o,u,i)}}return Zs=n,Zs}var Js,Vy;function LC(){if(Vy)return Js;Vy=1;var t=BC(),e=t();return Js=e,Js}var FC=LC();const bi=he(FC);function bn(t){"@babel/helpers - typeof";return bn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bn(t)}function Yy(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Zy(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Yy(Object(r),!0).forEach(function(n){Hb(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Yy(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Hb(t,e,r){return e=UC(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function UC(t){var e=zC(t,"string");return bn(e)=="symbol"?e:e+""}function zC(t,e){if(bn(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(bn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var WC=["Webkit","Moz","O","ms"],KC=function(e,r){var n=e.replace(/(\w)/,function(a){return a.toUpperCase()}),i=WC.reduce(function(a,o){return Zy(Zy({},a),{},Hb({},o+n,r))},{});return i[e]=r,i};function fr(t){"@babel/helpers - typeof";return fr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fr(t)}function xi(){return xi=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},xi.apply(this,arguments)}function Jy(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Qs(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Jy(Object(r),!0).forEach(function(n){Ue(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Jy(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function GC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qy(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Vb(n.key),n)}}function HC(t,e,r){return e&&Qy(t.prototype,e),r&&Qy(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function XC(t,e,r){return e=Oi(e),VC(t,Xb()?Reflect.construct(e,r||[],Oi(t).constructor):e.apply(t,r))}function VC(t,e){if(e&&(fr(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return YC(t)}function YC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Xb=function(){return!!t})()}function Oi(t){return Oi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Oi(t)}function ZC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ul(t,e)}function ul(t,e){return ul=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},ul(t,e)}function Ue(t,e,r){return e=Vb(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Vb(t){var e=JC(t,"string");return fr(e)=="symbol"?e:e+""}function JC(t,e){if(fr(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(fr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}var QC=function(e){var r=e.data,n=e.startIndex,i=e.endIndex,a=e.x,o=e.width,u=e.travellerWidth;if(!r||!r.length)return{};var s=r.length,c=Ur().domain(bi(0,s)).range([a,a+o-u]),f=c.domain().map(function(l){return c(l)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:c(n),endX:c(i),scale:c,scaleValues:f}},em=function(e){return e.changedTouches&&!!e.changedTouches.length},pr=function(t){function e(r){var n;return GC(this,e),n=XC(this,e,[r]),Ue(n,"handleDrag",function(i){n.leaveTimer&&(clearTimeout(n.leaveTimer),n.leaveTimer=null),n.state.isTravellerMoving?n.handleTravellerMove(i):n.state.isSlideMoving&&n.handleSlideDrag(i)}),Ue(n,"handleTouchMove",function(i){i.changedTouches!=null&&i.changedTouches.length>0&&n.handleDrag(i.changedTouches[0])}),Ue(n,"handleDragEnd",function(){n.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var i=n.props,a=i.endIndex,o=i.onDragEnd,u=i.startIndex;o==null||o({endIndex:a,startIndex:u})}),n.detachDragEndListener()}),Ue(n,"handleLeaveWrapper",function(){(n.state.isTravellerMoving||n.state.isSlideMoving)&&(n.leaveTimer=window.setTimeout(n.handleDragEnd,n.props.leaveTimeOut))}),Ue(n,"handleEnterSlideOrTraveller",function(){n.setState({isTextActive:!0})}),Ue(n,"handleLeaveSlideOrTraveller",function(){n.setState({isTextActive:!1})}),Ue(n,"handleSlideDragStart",function(i){var a=em(i)?i.changedTouches[0]:i;n.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:a.pageX}),n.attachDragEndListener()}),n.travellerDragStartHandlers={startX:n.handleTravellerDragStart.bind(n,"startX"),endX:n.handleTravellerDragStart.bind(n,"endX")},n.state={},n}return ZC(e,t),HC(e,[{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,s=u.gap,c=u.data,f=c.length-1,l=Math.min(i,a),p=Math.max(i,a),d=e.getIndexInRange(o,l),y=e.getIndexInRange(o,p);return{startIndex:d-d%s,endIndex:y===f?f:y-y%s}}},{key:"getTextOfTick",value:function(n){var i=this.props,a=i.data,o=i.tickFormatter,u=i.dataKey,s=ke(a[n],u,n);return Q(o)?o(s,n):s}},{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,s=this.props,c=s.x,f=s.width,l=s.travellerWidth,p=s.startIndex,d=s.endIndex,y=s.onChange,v=n.pageX-a;v>0?v=Math.min(v,c+f-l-u,c+f-l-o):v<0&&(v=Math.max(v,c-o,c-u));var h=this.getIndex({startX:o+v,endX:u+v});(h.startIndex!==p||h.endIndex!==d)&&y&&y(h),this.setState({startX:o+v,endX:u+v,slideMoveStartX:n.pageX})}},{key:"handleTravellerDragStart",value:function(n,i){var a=em(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,s=i.startX,c=this.state[o],f=this.props,l=f.x,p=f.width,d=f.travellerWidth,y=f.onChange,v=f.gap,h=f.data,x={startX:this.state.startX,endX:this.state.endX},O=n.pageX-a;O>0?O=Math.min(O,l+p-d-c):O<0&&(O=Math.max(O,l-c)),x[o]=c+O;var b=this.getIndex(x),w=b.startIndex,m=b.endIndex,g=function(){var S=h.length-1;return o==="startX"&&(u>s?w%v===0:m%v===0)||u<s&&m===S||o==="endX"&&(u>s?m%v===0:w%v===0)||u>s&&m===S};this.setState(Ue(Ue({},o,c+O),"brushMoveStartX",n.pageX),function(){y&&g()&&y(b)})}},{key:"handleTravellerMoveKeyboard",value:function(n,i){var a=this,o=this.state,u=o.scaleValues,s=o.startX,c=o.endX,f=this.state[i],l=u.indexOf(f);if(l!==-1){var p=l+n;if(!(p===-1||p>=u.length)){var d=u[p];i==="startX"&&d>=c||i==="endX"&&d<=s||this.setState(Ue({},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,s=n.fill,c=n.stroke;return P.createElement("rect",{stroke:c,fill:s,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,s=n.data,c=n.children,f=n.padding,l=k.Children.only(c);return l?P.cloneElement(l,{x:i,y:a,width:o,height:u,margin:f,compact:!0,data:s}):null}},{key:"renderTravellerLayer",value:function(n,i){var a,o,u=this,s=this.props,c=s.y,f=s.travellerWidth,l=s.height,p=s.traveller,d=s.ariaLabel,y=s.data,v=s.startIndex,h=s.endIndex,x=Math.max(n,this.props.x),O=Qs(Qs({},ee(this.props,!1)),{},{x,y:c,width:f,height:l}),b=d||"Min value: ".concat((a=y[v])===null||a===void 0?void 0:a.name,", Max value: ").concat((o=y[h])===null||o===void 0?void 0:o.name);return P.createElement(ve,{tabIndex:0,role:"slider","aria-label":b,"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"}},e.renderTraveller(p,O))}},{key:"renderSlide",value:function(n,i){var a=this.props,o=a.y,u=a.height,s=a.stroke,c=a.travellerWidth,f=Math.min(n,i)+c,l=Math.max(Math.abs(i-n)-c,0);return P.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:s,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,s=n.travellerWidth,c=n.stroke,f=this.state,l=f.startX,p=f.endX,d=5,y={pointerEvents:"none",fill:c};return P.createElement(ve,{className:"recharts-brush-texts"},P.createElement(oi,xi({textAnchor:"end",verticalAnchor:"middle",x:Math.min(l,p)-d,y:o+u/2},y),this.getTextOfTick(i)),P.createElement(oi,xi({textAnchor:"start",verticalAnchor:"middle",x:Math.max(l,p)+s+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,s=n.y,c=n.width,f=n.height,l=n.alwaysShowText,p=this.state,d=p.startX,y=p.endX,v=p.isTextActive,h=p.isSlideMoving,x=p.isTravellerMoving,O=p.isTravellerFocused;if(!i||!i.length||!B(u)||!B(s)||!B(c)||!B(f)||c<=0||f<=0)return null;var b=re("recharts-brush",a),w=P.Children.count(o)===1,m=KC("userSelect","none");return P.createElement(ve,{className:b,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:m},this.renderBackground(),w&&this.renderPanorama(),this.renderSlide(d,y),this.renderTravellerLayer(d,"startX"),this.renderTravellerLayer(y,"endX"),(v||h||x||O||l)&&this.renderText())}}],[{key:"renderDefaultTraveller",value:function(n){var i=n.x,a=n.y,o=n.width,u=n.height,s=n.stroke,c=Math.floor(a+u/2)-1;return P.createElement(P.Fragment,null,P.createElement("rect",{x:i,y:a,width:o,height:u,fill:s,stroke:"none"}),P.createElement("line",{x1:i+1,y1:c,x2:i+o-1,y2:c,fill:"none",stroke:"#fff"}),P.createElement("line",{x1:i+1,y1:c+2,x2:i+o-1,y2:c+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(n,i){var a;return P.isValidElement(n)?a=P.cloneElement(n,i):Q(n)?a=n(i):a=e.renderDefaultTraveller(i),a}},{key:"getDerivedStateFromProps",value:function(n,i){var a=n.data,o=n.width,u=n.x,s=n.travellerWidth,c=n.updateId,f=n.startIndex,l=n.endIndex;if(a!==i.prevData||c!==i.prevUpdateId)return Qs({prevData:a,prevTravellerWidth:s,prevUpdateId:c,prevX:u,prevWidth:o},a&&a.length?QC({data:a,width:o,x:u,travellerWidth:s,startIndex:f,endIndex:l}):{scale:null,scaleValues:null});if(i.scale&&(o!==i.prevWidth||u!==i.prevX||s!==i.prevTravellerWidth)){i.scale.range([u,u+o-s]);var p=i.scale.domain().map(function(d){return i.scale(d)});return{prevData:a,prevTravellerWidth:s,prevUpdateId:c,prevX:u,prevWidth:o,startX:i.scale(n.startIndex),endX:i.scale(n.endIndex),scaleValues:p}}return null}},{key:"getIndexInRange",value:function(n,i){for(var a=n.length,o=0,u=a-1;u-o>1;){var s=Math.floor((o+u)/2);n[s]>i?u=s:o=s}return i>=n[u]?u:o}}])}(k.PureComponent);Ue(pr,"displayName","Brush");Ue(pr,"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 ec,tm;function eM(){if(tm)return ec;tm=1;var t=cf();function e(r,n){var i;return t(r,function(a,o,u){return i=n(a,o,u),!i}),!!i}return ec=e,ec}var tc,rm;function tM(){if(rm)return tc;rm=1;var t=Bg(),e=Mt(),r=eM(),n=Le(),i=ea();function a(o,u,s){var c=n(o)?t:r;return s&&i(o,u,s)&&(u=void 0),c(o,e(u,3))}return tc=a,tc}var rM=tM();const nM=he(rM);var ut=function(e,r){var n=e.alwaysShow,i=e.ifOverflow;return n&&(i="extendDomain"),i===r},rc,nm;function iM(){if(nm)return rc;nm=1;var t=nb();function e(r,n,i){n=="__proto__"&&t?t(r,n,{configurable:!0,enumerable:!0,value:i,writable:!0}):r[n]=i}return rc=e,rc}var nc,im;function aM(){if(im)return nc;im=1;var t=iM(),e=tb(),r=Mt();function n(i,a){var o={};return a=r(a,3),e(i,function(u,s,c){t(o,s,a(u,s,c))}),o}return nc=n,nc}var oM=aM();const uM=he(oM);var ic,am;function sM(){if(am)return ic;am=1;function t(e,r){for(var n=-1,i=e==null?0:e.length;++n<i;)if(!r(e[n],n,e))return!1;return!0}return ic=t,ic}var ac,om;function cM(){if(om)return ac;om=1;var t=cf();function e(r,n){var i=!0;return t(r,function(a,o,u){return i=!!n(a,o,u),i}),i}return ac=e,ac}var oc,um;function lM(){if(um)return oc;um=1;var t=sM(),e=cM(),r=Mt(),n=Le(),i=ea();function a(o,u,s){var c=n(o)?t:e;return s&&i(o,u,s)&&(u=void 0),c(o,r(u,3))}return oc=a,oc}var fM=lM();const pM=he(fM);var hM=["x","y"];function xn(t){"@babel/helpers - typeof";return xn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xn(t)}function sl(){return sl=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},sl.apply(this,arguments)}function sm(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Nr(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?sm(Object(r),!0).forEach(function(n){dM(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):sm(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function dM(t,e,r){return e=vM(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function vM(t){var e=yM(t,"string");return xn(e)=="symbol"?e:e+""}function yM(t,e){if(xn(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(xn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function mM(t,e){if(t==null)return{};var r=gM(t,e),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function gM(t,e){if(t==null)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}function bM(t,e){var r=t.x,n=t.y,i=mM(t,hM),a="".concat(r),o=parseInt(a,10),u="".concat(n),s=parseInt(u,10),c="".concat(e.height||i.height),f=parseInt(c,10),l="".concat(e.width||i.width),p=parseInt(l,10);return Nr(Nr(Nr(Nr(Nr({},e),i),o?{x:o}:{}),s?{y:s}:{}),{},{height:f,width:p,name:e.name,radius:e.radius})}function cm(t){return P.createElement(ol,sl({shapeType:"rectangle",propTransformer:bM,activeClassName:"recharts-active-bar"},t))}var xM=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return function(n,i){if(typeof e=="number")return e;var a=B(n)||Ww(n);return a?e(n,i):(a||Bt(!1),r)}},OM=["value","background"],Yb;function hr(t){"@babel/helpers - typeof";return hr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hr(t)}function wM(t,e){if(t==null)return{};var r=_M(t,e),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function _M(t,e){if(t==null)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}function wi(){return wi=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},wi.apply(this,arguments)}function lm(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function be(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?lm(Object(r),!0).forEach(function(n){At(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):lm(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function SM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fm(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Jb(n.key),n)}}function AM(t,e,r){return e&&fm(t.prototype,e),r&&fm(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function PM(t,e,r){return e=_i(e),TM(t,Zb()?Reflect.construct(e,r||[],_i(t).constructor):e.apply(t,r))}function TM(t,e){if(e&&(hr(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return EM(t)}function EM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Zb=function(){return!!t})()}function _i(t){return _i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},_i(t)}function jM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&cl(t,e)}function cl(t,e){return cl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},cl(t,e)}function At(t,e,r){return e=Jb(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Jb(t){var e=CM(t,"string");return hr(e)=="symbol"?e:e+""}function CM(t,e){if(hr(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(hr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}var In=function(t){function e(){var r;SM(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return r=PM(this,e,[].concat(i)),At(r,"state",{isAnimationFinished:!1}),At(r,"id",jn("recharts-bar-")),At(r,"handleAnimationEnd",function(){var o=r.props.onAnimationEnd;r.setState({isAnimationFinished:!0}),o&&o()}),At(r,"handleAnimationStart",function(){var o=r.props.onAnimationStart;r.setState({isAnimationFinished:!1}),o&&o()}),r}return jM(e,t),AM(e,[{key:"renderRectanglesStatically",value:function(n){var i=this,a=this.props,o=a.shape,u=a.dataKey,s=a.activeIndex,c=a.activeBar,f=ee(this.props,!1);return n&&n.map(function(l,p){var d=p===s,y=d?c:o,v=be(be(be({},f),l),{},{isActive:d,option:y,index:p,dataKey:u,onAnimationStart:i.handleAnimationStart,onAnimationEnd:i.handleAnimationEnd});return P.createElement(ve,wi({className:"recharts-bar-rectangle"},Xr(i.props,l,p),{key:"rectangle-".concat(l==null?void 0:l.x,"-").concat(l==null?void 0:l.y,"-").concat(l==null?void 0:l.value,"-").concat(p)}),P.createElement(cm,v))})}},{key:"renderRectanglesWithAnimation",value:function(){var n=this,i=this.props,a=i.data,o=i.layout,u=i.isAnimationActive,s=i.animationBegin,c=i.animationDuration,f=i.animationEasing,l=i.animationId,p=this.state.prevData;return P.createElement(gt,{begin:s,duration:c,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(h,x){var O=p&&p[x];if(O){var b=at(O.x,h.x),w=at(O.y,h.y),m=at(O.width,h.width),g=at(O.height,h.height);return be(be({},h),{},{x:b(y),y:w(y),width:m(y),height:g(y)})}if(o==="horizontal"){var _=at(0,h.height),S=_(y);return be(be({},h),{},{y:h.y+h.height-S,height:S})}var A=at(0,h.width),j=A(y);return be(be({},h),{},{width:j})});return P.createElement(ve,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||!na(o,i))?this.renderRectanglesWithAnimation():this.renderRectanglesStatically(i)}},{key:"renderBackground",value:function(){var n=this,i=this.props,a=i.data,o=i.dataKey,u=i.activeIndex,s=ee(this.props.background,!1);return a.map(function(c,f){c.value;var l=c.background,p=wM(c,OM);if(!l)return null;var d=be(be(be(be(be({},p),{},{fill:"#eee"},l),s),Xr(n.props,c,f)),{},{onAnimationStart:n.handleAnimationStart,onAnimationEnd:n.handleAnimationEnd,dataKey:o,index:f,className:"recharts-bar-background-rectangle"});return P.createElement(cm,wi({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,s=a.yAxis,c=a.layout,f=a.children,l=Ke(f,Mn);if(!l)return null;var p=c==="vertical"?o[0].height/2:o[0].width/2,d=function(h,x){var O=Array.isArray(h.value)?h.value[1]:h.value;return{x:h.x,y:h.y,value:O,errorVal:ke(h,x)}},y={clipPath:n?"url(#clipPath-".concat(i,")"):null};return P.createElement(ve,y,l.map(function(v){return P.cloneElement(v,{key:"error-bar-".concat(i,"-").concat(v.props.dataKey),data:o,xAxis:u,yAxis:s,layout:c,offset:p,dataPointFormatter:d})}))}},{key:"render",value:function(){var n=this.props,i=n.hide,a=n.data,o=n.className,u=n.xAxis,s=n.yAxis,c=n.left,f=n.top,l=n.width,p=n.height,d=n.isAnimationActive,y=n.background,v=n.id;if(i||!a||!a.length)return null;var h=this.state.isAnimationFinished,x=re("recharts-bar",o),O=u&&u.allowDataOverflow,b=s&&s.allowDataOverflow,w=O||b,m=Z(v)?this.id:v;return P.createElement(ve,{className:x},O||b?P.createElement("defs",null,P.createElement("clipPath",{id:"clipPath-".concat(m)},P.createElement("rect",{x:O?c:c-l/2,y:b?f:f-p/2,width:O?l:l*2,height:b?p:p*2}))):null,P.createElement(ve,{className:"recharts-bar-rectangles",clipPath:w?"url(#clipPath-".concat(m,")"):null},y?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(w,m),(!d||h)&&Et.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}}])}(k.PureComponent);Yb=In;At(In,"displayName","Bar");At(In,"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"});At(In,"getComposedData",function(t){var e=t.props,r=t.item,n=t.barPosition,i=t.bandSize,a=t.xAxis,o=t.yAxis,u=t.xAxisTicks,s=t.yAxisTicks,c=t.stackedData,f=t.dataStartIndex,l=t.displayedData,p=t.offset,d=VP(n,r);if(!d)return null;var y=e.layout,v=r.type.defaultProps,h=v!==void 0?be(be({},v),r.props):r.props,x=h.dataKey,O=h.children,b=h.minPointSize,w=y==="horizontal"?o:a,m=c?w.scale.domain():null,g=nT({numericAxis:w}),_=Ke(O,pf),S=l.map(function(A,j){var T,E,M,$,I,D;c?T=YP(c[f+j],m):(T=ke(A,x),Array.isArray(T)||(T=[g,T]));var q=xM(b,Yb.defaultProps.minPointSize)(T[1],j);if(y==="horizontal"){var L,U=[o.scale(T[0]),o.scale(T[1])],W=U[0],K=U[1];E=Xv({axis:a,ticks:u,bandSize:i,offset:d.offset,entry:A,index:j}),M=(L=K??W)!==null&&L!==void 0?L:void 0,$=d.size;var F=W-K;if(I=Number.isNaN(F)?0:F,D={x:E,y:o.y,width:$,height:o.height},Math.abs(q)>0&&Math.abs(I)<Math.abs(q)){var H=rt(I||q)*(Math.abs(q)-Math.abs(I));M-=H,I+=H}}else{var ae=[a.scale(T[0]),a.scale(T[1])],ue=ae[0],Ee=ae[1];if(E=ue,M=Xv({axis:o,ticks:s,bandSize:i,offset:d.offset,entry:A,index:j}),$=Ee-ue,I=d.size,D={x:a.x,y:M,width:a.width,height:I},Math.abs(q)>0&&Math.abs($)<Math.abs(q)){var qe=rt($||q)*(Math.abs(q)-Math.abs($));$+=qe}}return be(be(be({},A),{},{x:E,y:M,width:$,height:I,value:c?T:T[1],payload:A,background:D},_&&_[j]&&_[j].props),{},{tooltipPayload:[Rb(r,A)],tooltipPosition:{x:E+$/2,y:M+I/2}})});return be({data:S,layout:y},p)});function On(t){"@babel/helpers - typeof";return On=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},On(t)}function MM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pm(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Qb(n.key),n)}}function IM(t,e,r){return e&&pm(t.prototype,e),r&&pm(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function hm(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function tt(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?hm(Object(r),!0).forEach(function(n){sa(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):hm(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function sa(t,e,r){return e=Qb(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Qb(t){var e=$M(t,"string");return On(e)=="symbol"?e:e+""}function $M(t,e){if(On(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(On(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var RM=function(e,r,n,i,a){var o=e.width,u=e.height,s=e.layout,c=e.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},p=!!ze(c,In);return f.reduce(function(d,y){var v=r[y],h=v.orientation,x=v.domain,O=v.padding,b=O===void 0?{}:O,w=v.mirror,m=v.reversed,g="".concat(h).concat(w?"Mirror":""),_,S,A,j,T;if(v.type==="number"&&(v.padding==="gap"||v.padding==="no-gap")){var E=x[1]-x[0],M=1/0,$=v.categoricalDomain.sort(Xw);if($.forEach(function(ae,ue){ue>0&&(M=Math.min((ae||0)-($[ue-1]||0),M))}),Number.isFinite(M)){var I=M/E,D=v.layout==="vertical"?n.height:n.width;if(v.padding==="gap"&&(_=I*D/2),v.padding==="no-gap"){var q=Ft(e.barCategoryGap,I*D),L=I*D/2;_=L-q-(L-q)/D*q}}}i==="xAxis"?S=[n.left+(b.left||0)+(_||0),n.left+n.width-(b.right||0)-(_||0)]:i==="yAxis"?S=s==="horizontal"?[n.top+n.height-(b.bottom||0),n.top+(b.top||0)]:[n.top+(b.top||0)+(_||0),n.top+n.height-(b.bottom||0)-(_||0)]:S=v.range,m&&(S=[S[1],S[0]]);var U=HP(v,a,p),W=U.scale,K=U.realScaleType;W.domain(x).range(S),XP(W);var F=rT(W,tt(tt({},v),{},{realScaleType:K}));i==="xAxis"?(T=h==="top"&&!w||h==="bottom"&&w,A=n.left,j=l[g]-T*v.height):i==="yAxis"&&(T=h==="left"&&!w||h==="right"&&w,A=l[g]-T*v.width,j=n.top);var H=tt(tt(tt({},v),F),{},{realScaleType:K,x:A,y:j,scale:W,width:i==="xAxis"?n.width:v.width,height:i==="yAxis"?n.height:v.height});return H.bandSize=li(H,F),!v.hide&&i==="xAxis"?l[g]+=(T?-1:1)*H.height:v.hide||(l[g]+=(T?-1:1)*H.width),tt(tt({},d),{},sa({},y,H))},{})},e0=function(e,r){var n=e.x,i=e.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)}},DM=function(e){var r=e.x1,n=e.y1,i=e.x2,a=e.y2;return e0({x:r,y:n},{x:i,y:a})},t0=function(){function t(e){MM(this,t),this.scale=e}return IM(t,[{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 s=this.bandwidth?this.bandwidth()/2:0;return this.scale(r)+s}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 t(r)}}])}();sa(t0,"EPS",1e-4);var mf=function(e){var r=Object.keys(e).reduce(function(n,i){return tt(tt({},n),{},sa({},i,t0.create(e[i])))},{});return tt(tt({},r),{},{apply:function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.bandAware,u=a.position;return uM(i,function(s,c){return r[c].apply(s,{bandAware:o,position:u})})},isInRange:function(i){return pM(i,function(a,o){return r[o].isInRange(a)})}})};function kM(t){return(t%180+180)%180}var qM=function(e){var r=e.width,n=e.height,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=kM(i),o=a*Math.PI/180,u=Math.atan(n/r),s=o>u&&o<Math.PI-u?n/Math.sin(o):r/Math.cos(o);return Math.abs(s)},uc,dm;function NM(){if(dm)return uc;dm=1;var t=Mt(),e=Cn(),r=Ji();function n(i){return function(a,o,u){var s=Object(a);if(!e(a)){var c=t(o,3);a=r(a),o=function(l){return c(s[l],l,s)}}var f=i(a,o,u);return f>-1?s[c?a[f]:f]:void 0}}return uc=n,uc}var sc,vm;function BM(){if(vm)return sc;vm=1;var t=Gb();function e(r){var n=t(r),i=n%1;return n===n?i?n-i:n:0}return sc=e,sc}var cc,ym;function LM(){if(ym)return cc;ym=1;var t=Yg(),e=Mt(),r=BM(),n=Math.max;function i(a,o,u){var s=a==null?0:a.length;if(!s)return-1;var c=u==null?0:r(u);return c<0&&(c=n(s+c,0)),t(a,e(o,3),c)}return cc=i,cc}var lc,mm;function FM(){if(mm)return lc;mm=1;var t=NM(),e=LM(),r=t(e);return lc=r,lc}FM();var UM=Eg();const zM=he(UM);var WM=zM(function(t){return{x:t.left,y:t.top,width:t.width,height:t.height}},function(t){return["l",t.left,"t",t.top,"w",t.width,"h",t.height].join("")}),r0=k.createContext(void 0),n0=k.createContext(void 0),i0=k.createContext(void 0),KM=k.createContext({}),a0=k.createContext(void 0),o0=k.createContext(0),u0=k.createContext(0),gm=function(e){var r=e.state,n=r.xAxisMap,i=r.yAxisMap,a=r.offset,o=e.clipPathId,u=e.children,s=e.width,c=e.height,f=WM(a);return P.createElement(r0.Provider,{value:n},P.createElement(n0.Provider,{value:i},P.createElement(KM.Provider,{value:a},P.createElement(i0.Provider,{value:f},P.createElement(a0.Provider,{value:o},P.createElement(o0.Provider,{value:c},P.createElement(u0.Provider,{value:s},u)))))))},GM=function(){return k.useContext(a0)},s0=function(e){var r=k.useContext(r0);r==null&&Bt(!1);var n=r[e];return n==null&&Bt(!1),n},c0=function(e){var r=k.useContext(n0);r==null&&Bt(!1);var n=r[e];return n==null&&Bt(!1),n},HM=function(){var e=k.useContext(i0);return e},l0=function(){return k.useContext(u0)},f0=function(){return k.useContext(o0)};function dr(t){"@babel/helpers - typeof";return dr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dr(t)}function XM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function VM(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,h0(n.key),n)}}function YM(t,e,r){return e&&VM(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function ZM(t,e,r){return e=Si(e),JM(t,p0()?Reflect.construct(e,r||[],Si(t).constructor):e.apply(t,r))}function JM(t,e){if(e&&(dr(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return QM(t)}function QM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p0(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(p0=function(){return!!t})()}function Si(t){return Si=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Si(t)}function eI(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ll(t,e)}function ll(t,e){return ll=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},ll(t,e)}function bm(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function xm(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?bm(Object(r),!0).forEach(function(n){gf(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):bm(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function gf(t,e,r){return e=h0(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function h0(t){var e=tI(t,"string");return dr(e)=="symbol"?e:e+""}function tI(t,e){if(dr(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(dr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}function rI(t,e){return oI(t)||aI(t,e)||iI(t,e)||nI()}function nI(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 60In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function iI(t,e){if(t){if(typeof t=="string")return Om(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Om(t,e)}}function Om(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function aI(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n,i,a,o,u=[],s=!0,c=!1;try{if(a=(r=r.call(t)).next,e!==0)for(;!(s=(n=a.call(r)).done)&&(u.push(n.value),u.length!==e);s=!0);}catch(f){c=!0,i=f}finally{try{if(!s&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return u}}function oI(t){if(Array.isArray(t))return t}function fl(){return fl=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},fl.apply(this,arguments)}var uI=function(e,r){var n;return P.isValidElement(e)?n=P.cloneElement(e,r):Q(e)?n=e(r):n=P.createElement("line",fl({},r,{className:"recharts-reference-line-line"})),n},sI=function(e,r,n,i,a,o,u,s,c){var f=a.x,l=a.y,p=a.width,d=a.height;if(n){var y=c.y,v=e.y.apply(y,{position:o});if(ut(c,"discard")&&!e.y.isInRange(v))return null;var h=[{x:f+p,y:v},{x:f,y:v}];return s==="left"?h.reverse():h}if(r){var x=c.x,O=e.x.apply(x,{position:o});if(ut(c,"discard")&&!e.x.isInRange(O))return null;var b=[{x:O,y:l+d},{x:O,y:l}];return u==="top"?b.reverse():b}if(i){var w=c.segment,m=w.map(function(g){return e.apply(g,{position:o})});return ut(c,"discard")&&nM(m,function(g){return!e.isInRange(g)})?null:m}return null};function cI(t){var e=t.x,r=t.y,n=t.segment,i=t.xAxisId,a=t.yAxisId,o=t.shape,u=t.className,s=t.alwaysShow,c=GM(),f=s0(i),l=c0(a),p=HM();if(!c||!p)return null;Vi(s===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var d=mf({x:f.scale,y:l.scale}),y=Se(e),v=Se(r),h=n&&n.length===2,x=sI(d,y,v,h,p,t.position,f.orientation,l.orientation,t);if(!x)return null;var O=rI(x,2),b=O[0],w=b.x,m=b.y,g=O[1],_=g.x,S=g.y,A=ut(t,"hidden")?"url(#".concat(c,")"):void 0,j=xm(xm({clipPath:A},ee(t,!0)),{},{x1:w,y1:m,x2:_,y2:S});return P.createElement(ve,{className:re("recharts-reference-line",u)},uI(o,j),Re.renderCallByParent(t,DM({x1:w,y1:m,x2:_,y2:S})))}var wn=function(t){function e(){return XM(this,e),ZM(this,e,arguments)}return eI(e,t),YM(e,[{key:"render",value:function(){return P.createElement(cI,this.props)}}])}(P.Component);gf(wn,"displayName","ReferenceLine");gf(wn,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});function pl(){return pl=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},pl.apply(this,arguments)}function vr(t){"@babel/helpers - typeof";return vr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vr(t)}function wm(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function _m(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?wm(Object(r),!0).forEach(function(n){ca(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):wm(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function lI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fI(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,v0(n.key),n)}}function pI(t,e,r){return e&&fI(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function hI(t,e,r){return e=Ai(e),dI(t,d0()?Reflect.construct(e,r||[],Ai(t).constructor):e.apply(t,r))}function dI(t,e){if(e&&(vr(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return vI(t)}function vI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d0(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(d0=function(){return!!t})()}function Ai(t){return Ai=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ai(t)}function yI(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&hl(t,e)}function hl(t,e){return hl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},hl(t,e)}function ca(t,e,r){return e=v0(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function v0(t){var e=mI(t,"string");return vr(e)=="symbol"?e:e+""}function mI(t,e){if(vr(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(vr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}var gI=function(e){var r=e.x,n=e.y,i=e.xAxis,a=e.yAxis,o=mf({x:i.scale,y:a.scale}),u=o.apply({x:r,y:n},{bandAware:!0});return ut(e,"discard")&&!o.isInRange(u)?null:u},la=function(t){function e(){return lI(this,e),hI(this,e,arguments)}return yI(e,t),pI(e,[{key:"render",value:function(){var n=this.props,i=n.x,a=n.y,o=n.r,u=n.alwaysShow,s=n.clipPathId,c=Se(i),f=Se(a);if(Vi(u===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!c||!f)return null;var l=gI(this.props);if(!l)return null;var p=l.x,d=l.y,y=this.props,v=y.shape,h=y.className,x=ut(this.props,"hidden")?"url(#".concat(s,")"):void 0,O=_m(_m({clipPath:x},ee(this.props,!0)),{},{cx:p,cy:d});return P.createElement(ve,{className:re("recharts-reference-dot",h)},e.renderDot(v,O),Re.renderCallByParent(this.props,{x:p-o,y:d-o,width:2*o,height:2*o}))}}])}(P.Component);ca(la,"displayName","ReferenceDot");ca(la,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1});ca(la,"renderDot",function(t,e){var r;return P.isValidElement(t)?r=P.cloneElement(t,e):Q(t)?r=t(e):r=P.createElement(Kb,pl({},e,{cx:e.cx,cy:e.cy,className:"recharts-reference-dot-dot"})),r});function dl(){return dl=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},dl.apply(this,arguments)}function yr(t){"@babel/helpers - typeof";return yr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yr(t)}function Sm(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Am(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Sm(Object(r),!0).forEach(function(n){fa(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Sm(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function bI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xI(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,m0(n.key),n)}}function OI(t,e,r){return e&&xI(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function wI(t,e,r){return e=Pi(e),_I(t,y0()?Reflect.construct(e,r||[],Pi(t).constructor):e.apply(t,r))}function _I(t,e){if(e&&(yr(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return SI(t)}function SI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y0(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(y0=function(){return!!t})()}function Pi(t){return Pi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Pi(t)}function AI(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&vl(t,e)}function vl(t,e){return vl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},vl(t,e)}function fa(t,e,r){return e=m0(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function m0(t){var e=PI(t,"string");return yr(e)=="symbol"?e:e+""}function PI(t,e){if(yr(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(yr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}var TI=function(e,r,n,i,a){var o=a.x1,u=a.x2,s=a.y1,c=a.y2,f=a.xAxis,l=a.yAxis;if(!f||!l)return null;var p=mf({x:f.scale,y:l.scale}),d={x:e?p.x.apply(o,{position:"start"}):p.x.rangeMin,y:n?p.y.apply(s,{position:"start"}):p.y.rangeMin},y={x:r?p.x.apply(u,{position:"end"}):p.x.rangeMax,y:i?p.y.apply(c,{position:"end"}):p.y.rangeMax};return ut(a,"discard")&&(!p.isInRange(d)||!p.isInRange(y))?null:e0(d,y)},pa=function(t){function e(){return bI(this,e),wI(this,e,arguments)}return AI(e,t),OI(e,[{key:"render",value:function(){var n=this.props,i=n.x1,a=n.x2,o=n.y1,u=n.y2,s=n.className,c=n.alwaysShow,f=n.clipPathId;Vi(c===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var l=Se(i),p=Se(a),d=Se(o),y=Se(u),v=this.props.shape;if(!l&&!p&&!d&&!y&&!v)return null;var h=TI(l,p,d,y,this.props);if(!h&&!v)return null;var x=ut(this.props,"hidden")?"url(#".concat(f,")"):void 0;return P.createElement(ve,{className:re("recharts-reference-area",s)},e.renderRect(v,Am(Am({clipPath:x},ee(this.props,!0)),h)),Re.renderCallByParent(this.props,h))}}])}(P.Component);fa(pa,"displayName","ReferenceArea");fa(pa,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1});fa(pa,"renderRect",function(t,e){var r;return P.isValidElement(t)?r=P.cloneElement(t,e):Q(t)?r=t(e):r=P.createElement(yf,dl({},e,{className:"recharts-reference-area-rect"})),r});function g0(t,e,r){if(e<1)return[];if(e===1&&r===void 0)return t;for(var n=[],i=0;i<t.length;i+=e)n.push(t[i]);return n}function EI(t,e,r){var n={width:t.width+e.width,height:t.height+e.height};return qM(n,r)}function jI(t,e,r){var n=r==="width",i=t.x,a=t.y,o=t.width,u=t.height;return e===1?{start:n?i:a,end:n?i+o:a+u}:{start:n?i+o:a+u,end:n?i:a}}function Ti(t,e,r,n,i){if(t*e<t*n||t*e>t*i)return!1;var a=r();return t*(e-t*a/2-n)>=0&&t*(e+t*a/2-i)<=0}function CI(t,e){return g0(t,e+1)}function MI(t,e,r,n,i){for(var a=(n||[]).slice(),o=e.start,u=e.end,s=0,c=1,f=o,l=function(){var y=n==null?void 0:n[s];if(y===void 0)return{v:g0(n,c)};var v=s,h,x=function(){return h===void 0&&(h=r(y,v)),h},O=y.coordinate,b=s===0||Ti(t,O,x,f,u);b||(s=0,f=o,c+=1),b&&(f=O+t*(x()/2+i),s+=c)},p;c<=a.length;)if(p=l(),p)return p.v;return[]}function _n(t){"@babel/helpers - typeof";return _n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_n(t)}function Pm(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function $e(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Pm(Object(r),!0).forEach(function(n){II(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Pm(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function II(t,e,r){return e=$I(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function $I(t){var e=RI(t,"string");return _n(e)=="symbol"?e:e+""}function RI(t,e){if(_n(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(_n(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function DI(t,e,r,n,i){for(var a=(n||[]).slice(),o=a.length,u=e.start,s=e.end,c=function(p){var d=a[p],y,v=function(){return y===void 0&&(y=r(d,p)),y};if(p===o-1){var h=t*(d.coordinate+t*v()/2-s);a[p]=d=$e($e({},d),{},{tickCoord:h>0?d.coordinate-h*t:d.coordinate})}else a[p]=d=$e($e({},d),{},{tickCoord:d.coordinate});var x=Ti(t,d.tickCoord,v,u,s);x&&(s=d.tickCoord-t*(v()/2+i),a[p]=$e($e({},d),{},{isShow:!0}))},f=o-1;f>=0;f--)c(f);return a}function kI(t,e,r,n,i,a){var o=(n||[]).slice(),u=o.length,s=e.start,c=e.end;if(a){var f=n[u-1],l=r(f,u-1),p=t*(f.coordinate+t*l/2-c);o[u-1]=f=$e($e({},f),{},{tickCoord:p>0?f.coordinate-p*t:f.coordinate});var d=Ti(t,f.tickCoord,function(){return l},s,c);d&&(c=f.tickCoord-t*(l/2+i),o[u-1]=$e($e({},f),{},{isShow:!0}))}for(var y=a?u-1:u,v=function(O){var b=o[O],w,m=function(){return w===void 0&&(w=r(b,O)),w};if(O===0){var g=t*(b.coordinate-t*m()/2-s);o[O]=b=$e($e({},b),{},{tickCoord:g<0?b.coordinate-g*t:b.coordinate})}else o[O]=b=$e($e({},b),{},{tickCoord:b.coordinate});var _=Ti(t,b.tickCoord,m,s,c);_&&(s=b.tickCoord+t*(m()/2+i),o[O]=$e($e({},b),{},{isShow:!0}))},h=0;h<y;h++)v(h);return o}function qI(t,e,r){var n=t.tick,i=t.ticks,a=t.viewBox,o=t.minTickGap,u=t.orientation,s=t.interval,c=t.tickFormatter,f=t.unit,l=t.angle;if(!i||!i.length||!n)return[];if(B(s)||Tr.isSsr)return CI(i,typeof s=="number"&&B(s)?s:0);var p=[],d=u==="top"||u==="bottom"?"width":"height",y=f&&d==="width"?zr(f,{fontSize:e,letterSpacing:r}):{width:0,height:0},v=function(b,w){var m=Q(c)?c(b.value,w):b.value;return d==="width"?EI(zr(m,{fontSize:e,letterSpacing:r}),y,l):zr(m,{fontSize:e,letterSpacing:r})[d]},h=i.length>=2?rt(i[1].coordinate-i[0].coordinate):1,x=jI(a,h,d);return s==="equidistantPreserveStart"?MI(h,x,v,i,o):(s==="preserveStart"||s==="preserveStartEnd"?p=kI(h,x,v,i,o,s==="preserveStartEnd"):p=DI(h,x,v,i,o),p.filter(function(O){return O.isShow}))}var NI=["viewBox"],BI=["viewBox"],LI=["ticks"];function mr(t){"@babel/helpers - typeof";return mr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mr(t)}function Jt(){return Jt=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Jt.apply(this,arguments)}function Tm(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function we(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Tm(Object(r),!0).forEach(function(n){bf(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Tm(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function fc(t,e){if(t==null)return{};var r=FI(t,e),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function FI(t,e){if(t==null)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}function UI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Em(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,x0(n.key),n)}}function zI(t,e,r){return e&&Em(t.prototype,e),r&&Em(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function WI(t,e,r){return e=Ei(e),KI(t,b0()?Reflect.construct(e,r||[],Ei(t).constructor):e.apply(t,r))}function KI(t,e){if(e&&(mr(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return GI(t)}function GI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function b0(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(b0=function(){return!!t})()}function Ei(t){return Ei=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ei(t)}function HI(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&yl(t,e)}function yl(t,e){return yl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},yl(t,e)}function bf(t,e,r){return e=x0(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function x0(t){var e=XI(t,"string");return mr(e)=="symbol"?e:e+""}function XI(t,e){if(mr(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(mr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}var ha=function(t){function e(r){var n;return UI(this,e),n=WI(this,e,[r]),n.state={fontSize:"",letterSpacing:""},n}return HI(e,t),zI(e,[{key:"shouldComponentUpdate",value:function(n,i){var a=n.viewBox,o=fc(n,NI),u=this.props,s=u.viewBox,c=fc(u,BI);return!er(a,s)||!er(o,c)||!er(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,s=i.height,c=i.orientation,f=i.tickSize,l=i.mirror,p=i.tickMargin,d,y,v,h,x,O,b=l?-1:1,w=n.tickSize||f,m=B(n.tickCoord)?n.tickCoord:n.coordinate;switch(c){case"top":d=y=n.coordinate,h=o+ +!l*s,v=h-b*w,O=v-b*p,x=m;break;case"left":v=h=n.coordinate,y=a+ +!l*u,d=y-b*w,x=d-b*p,O=m;break;case"right":v=h=n.coordinate,y=a+ +l*u,d=y+b*w,x=d+b*p,O=m;break;default:d=y=n.coordinate,h=o+ +l*s,v=h+b*w,O=v+b*p,x=m;break}return{line:{x1:d,y1:v,x2:y,y2:h},tick:{x,y:O}}}},{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,s=n.orientation,c=n.mirror,f=n.axisLine,l=we(we(we({},ee(this.props,!1)),ee(f,!1)),{},{fill:"none"});if(s==="top"||s==="bottom"){var p=+(s==="top"&&!c||s==="bottom"&&c);l=we(we({},l),{},{x1:i,y1:a+p*u,x2:i+o,y2:a+p*u})}else{var d=+(s==="left"&&!c||s==="right"&&c);l=we(we({},l),{},{x1:i+d*o,y1:a,x2:i+d*o,y2:a+u})}return P.createElement("line",Jt({},l,{className:re("recharts-cartesian-axis-line",Ze(f,"className"))}))}},{key:"renderTicks",value:function(n,i,a){var o=this,u=this.props,s=u.tickLine,c=u.stroke,f=u.tick,l=u.tickFormatter,p=u.unit,d=qI(we(we({},this.props),{},{ticks:n}),i,a),y=this.getTickTextAnchor(),v=this.getTickVerticalAnchor(),h=ee(this.props,!1),x=ee(f,!1),O=we(we({},h),{},{fill:"none"},ee(s,!1)),b=d.map(function(w,m){var g=o.getTickLineCoord(w),_=g.line,S=g.tick,A=we(we(we(we({textAnchor:y,verticalAnchor:v},h),{},{stroke:"none",fill:c},x),S),{},{index:m,payload:w,visibleTicksCount:d.length,tickFormatter:l});return P.createElement(ve,Jt({className:"recharts-cartesian-axis-tick",key:"tick-".concat(w.value,"-").concat(w.coordinate,"-").concat(w.tickCoord)},Xr(o.props,w,m)),s&&P.createElement("line",Jt({},O,_,{className:re("recharts-cartesian-axis-tick-line",Ze(s,"className"))})),f&&e.renderTickItem(f,A,"".concat(Q(l)?l(w.value,m):w.value).concat(p||"")))});return P.createElement("g",{className:"recharts-cartesian-axis-ticks"},b)}},{key:"render",value:function(){var n=this,i=this.props,a=i.axisLine,o=i.width,u=i.height,s=i.ticksGenerator,c=i.className,f=i.hide;if(f)return null;var l=this.props,p=l.ticks,d=fc(l,LI),y=p;return Q(s)&&(y=p&&p.length>0?s(this.props):s(d)),o<=0||u<=0||!y||!y.length?null:P.createElement(ve,{className:re("recharts-cartesian-axis",c),ref:function(h){n.layerReference=h}},a&&this.renderAxisLine(),this.renderTicks(y,this.state.fontSize,this.state.letterSpacing),Re.renderCallByParent(this.props))}}],[{key:"renderTickItem",value:function(n,i,a){var o,u=re(i.className,"recharts-cartesian-axis-tick-value");return P.isValidElement(n)?o=P.cloneElement(n,we(we({},i),{},{className:u})):Q(n)?o=n(we(we({},i),{},{className:u})):o=P.createElement(oi,Jt({},i,{className:"recharts-cartesian-axis-tick-value"}),a),o}}])}(k.Component);bf(ha,"displayName","CartesianAxis");bf(ha,"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"});function gr(t){"@babel/helpers - typeof";return gr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gr(t)}function VI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function YI(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,_0(n.key),n)}}function ZI(t,e,r){return e&&YI(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function JI(t,e,r){return e=ji(e),QI(t,O0()?Reflect.construct(e,r||[],ji(t).constructor):e.apply(t,r))}function QI(t,e){if(e&&(gr(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return e$(t)}function e$(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function O0(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(O0=function(){return!!t})()}function ji(t){return ji=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ji(t)}function t$(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ml(t,e)}function ml(t,e){return ml=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},ml(t,e)}function w0(t,e,r){return e=_0(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function _0(t){var e=r$(t,"string");return gr(e)=="symbol"?e:e+""}function r$(t,e){if(gr(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(gr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}var da=function(t){function e(){return VI(this,e),JI(this,e,arguments)}return t$(e,t),ZI(e,[{key:"render",value:function(){return null}}])}(k.Component);w0(da,"displayName","ZAxis");w0(da,"defaultProps",{zAxisId:0,range:[64,64],scale:"auto",type:"number"});var n$=["option","isActive"];function Gr(){return Gr=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Gr.apply(this,arguments)}function i$(t,e){if(t==null)return{};var r=a$(t,e),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function a$(t,e){if(t==null)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}function o$(t){var e=t.option,r=t.isActive,n=i$(t,n$);return typeof e=="string"?k.createElement(ol,Gr({option:k.createElement(Zi,Gr({type:e},n)),isActive:r,shapeType:"symbols"},n)):k.createElement(ol,Gr({option:e,isActive:r,shapeType:"symbols"},n))}function br(t){"@babel/helpers - typeof";return br=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},br(t)}function Hr(){return Hr=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Hr.apply(this,arguments)}function jm(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Ve(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?jm(Object(r),!0).forEach(function(n){Pt(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):jm(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function u$(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cm(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,A0(n.key),n)}}function s$(t,e,r){return e&&Cm(t.prototype,e),r&&Cm(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function c$(t,e,r){return e=Ci(e),l$(t,S0()?Reflect.construct(e,r||[],Ci(t).constructor):e.apply(t,r))}function l$(t,e){if(e&&(br(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return f$(t)}function f$(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function S0(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(S0=function(){return!!t})()}function Ci(t){return Ci=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ci(t)}function p$(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&gl(t,e)}function gl(t,e){return gl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},gl(t,e)}function Pt(t,e,r){return e=A0(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function A0(t){var e=h$(t,"string");return br(e)=="symbol"?e:e+""}function h$(t,e){if(br(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(br(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Nt=function(t){function e(){var r;u$(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return r=c$(this,e,[].concat(i)),Pt(r,"state",{isAnimationFinished:!1}),Pt(r,"handleAnimationEnd",function(){r.setState({isAnimationFinished:!0})}),Pt(r,"handleAnimationStart",function(){r.setState({isAnimationFinished:!1})}),Pt(r,"id",jn("recharts-scatter-")),r}return p$(e,t),s$(e,[{key:"renderSymbolsStatically",value:function(n){var i=this,a=this.props,o=a.shape,u=a.activeShape,s=a.activeIndex,c=ee(this.props,!1);return n.map(function(f,l){var p=s===l,d=p?u:o,y=Ve(Ve({},c),f);return P.createElement(ve,Hr({className:"recharts-scatter-symbol",key:"symbol-".concat(f==null?void 0:f.cx,"-").concat(f==null?void 0:f.cy,"-").concat(f==null?void 0:f.size,"-").concat(l)},Xr(i.props,f,l),{role:"img"}),P.createElement(o$,Hr({option:d,isActive:p,key:"symbol-".concat(l)},y)))})}},{key:"renderSymbolsWithAnimation",value:function(){var n=this,i=this.props,a=i.points,o=i.isAnimationActive,u=i.animationBegin,s=i.animationDuration,c=i.animationEasing,f=i.animationId,l=this.state.prevPoints;return P.createElement(gt,{begin:u,duration:s,isActive:o,easing:c,from:{t:0},to:{t:1},key:"pie-".concat(f),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(p){var d=p.t,y=a.map(function(v,h){var x=l&&l[h];if(x){var O=at(x.cx,v.cx),b=at(x.cy,v.cy),w=at(x.size,v.size);return Ve(Ve({},v),{},{cx:O(d),cy:b(d),size:w(d)})}var m=at(0,v.size);return Ve(Ve({},v),{},{size:m(d)})});return P.createElement(ve,null,n.renderSymbolsStatically(y))})}},{key:"renderSymbols",value:function(){var n=this.props,i=n.points,a=n.isAnimationActive,o=this.state.prevPoints;return a&&i&&i.length&&(!o||!na(o,i))?this.renderSymbolsWithAnimation():this.renderSymbolsStatically(i)}},{key:"renderErrorBar",value:function(){var n=this.props.isAnimationActive;if(n&&!this.state.isAnimationFinished)return null;var i=this.props,a=i.points,o=i.xAxis,u=i.yAxis,s=i.children,c=Ke(s,Mn);return c?c.map(function(f,l){var p=f.props,d=p.direction,y=p.dataKey;return P.cloneElement(f,{key:"".concat(d,"-").concat(y,"-").concat(a[l]),data:a,xAxis:o,yAxis:u,layout:d==="x"?"vertical":"horizontal",dataPointFormatter:function(h,x){return{x:h.cx,y:h.cy,value:d==="x"?+h.node.x:+h.node.y,errorVal:ke(h,x)}}})}):null}},{key:"renderLine",value:function(){var n=this.props,i=n.points,a=n.line,o=n.lineType,u=n.lineJointType,s=ee(this.props,!1),c=ee(a,!1),f,l;if(o==="joint")f=i.map(function(b){return{x:b.cx,y:b.cy}});else if(o==="fitting"){var p=Hw(i),d=p.xmin,y=p.xmax,v=p.a,h=p.b,x=function(w){return v*w+h};f=[{x:d,y:x(d)},{x:y,y:x(y)}]}var O=Ve(Ve(Ve({},s),{},{fill:"none",stroke:s&&s.fill},c),{},{points:f});return P.isValidElement(a)?l=P.cloneElement(a,O):Q(a)?l=a(O):l=P.createElement(Xc,Hr({},O,{type:u})),P.createElement(ve,{className:"recharts-scatter-line",key:"recharts-scatter-line"},l)}},{key:"render",value:function(){var n=this.props,i=n.hide,a=n.points,o=n.line,u=n.className,s=n.xAxis,c=n.yAxis,f=n.left,l=n.top,p=n.width,d=n.height,y=n.id,v=n.isAnimationActive;if(i||!a||!a.length)return null;var h=this.state.isAnimationFinished,x=re("recharts-scatter",u),O=s&&s.allowDataOverflow,b=c&&c.allowDataOverflow,w=O||b,m=Z(y)?this.id:y;return P.createElement(ve,{className:x,clipPath:w?"url(#clipPath-".concat(m,")"):null},O||b?P.createElement("defs",null,P.createElement("clipPath",{id:"clipPath-".concat(m)},P.createElement("rect",{x:O?f:f-p/2,y:b?l:l-d/2,width:O?p:p*2,height:b?d:d*2}))):null,o&&this.renderLine(),this.renderErrorBar(),P.createElement(ve,{key:"recharts-scatter-symbols"},this.renderSymbols()),(!v||h)&&Et.renderCallByParent(this.props,a))}}],[{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}}])}(k.PureComponent);Pt(Nt,"displayName","Scatter");Pt(Nt,"defaultProps",{xAxisId:0,yAxisId:0,zAxisId:0,legendType:"circle",lineType:"joint",lineJointType:"linear",data:[],shape:"circle",hide:!1,isAnimationActive:!Tr.isSsr,animationBegin:0,animationDuration:400,animationEasing:"linear"});Pt(Nt,"getComposedData",function(t){var e=t.xAxis,r=t.yAxis,n=t.zAxis,i=t.item,a=t.displayedData,o=t.xAxisTicks,u=t.yAxisTicks,s=t.offset,c=i.props.tooltipType,f=Ke(i.props.children,pf),l=Z(e.dataKey)?i.props.dataKey:e.dataKey,p=Z(r.dataKey)?i.props.dataKey:r.dataKey,d=n&&n.dataKey,y=n?n.range:da.defaultProps.range,v=y&&y[0],h=e.scale.bandwidth?e.scale.bandwidth():0,x=r.scale.bandwidth?r.scale.bandwidth():0,O=a.map(function(b,w){var m=ke(b,l),g=ke(b,p),_=!Z(d)&&ke(b,d)||"-",S=[{name:Z(e.dataKey)?i.props.name:e.name||e.dataKey,unit:e.unit||"",value:m,payload:b,dataKey:l,type:c},{name:Z(r.dataKey)?i.props.name:r.name||r.dataKey,unit:r.unit||"",value:g,payload:b,dataKey:p,type:c}];_!=="-"&&S.push({name:n.name||n.dataKey,unit:n.unit||"",value:_,payload:b,dataKey:d,type:c});var A=Hv({axis:e,ticks:o,bandSize:h,entry:b,index:w,dataKey:l}),j=Hv({axis:r,ticks:u,bandSize:x,entry:b,index:w,dataKey:p}),T=_!=="-"?n.scale(_):v,E=Math.sqrt(Math.max(T,0)/Math.PI);return Ve(Ve({},b),{},{cx:A,cy:j,x:A-E,y:j-E,xAxis:e,yAxis:r,zAxis:n,width:2*E,height:2*E,size:T,node:{x:m,y:g,z:_},tooltipPayload:S,tooltipPosition:{x:A,y:j},payload:b},f&&f[w]&&f[w].props)});return Ve({points:O},s)});function xr(t){"@babel/helpers - typeof";return xr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xr(t)}function d$(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v$(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,E0(n.key),n)}}function y$(t,e,r){return e&&v$(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function m$(t,e,r){return e=Mi(e),g$(t,P0()?Reflect.construct(e,r||[],Mi(t).constructor):e.apply(t,r))}function g$(t,e){if(e&&(xr(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return b$(t)}function b$(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function P0(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(P0=function(){return!!t})()}function Mi(t){return Mi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Mi(t)}function x$(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&bl(t,e)}function bl(t,e){return bl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},bl(t,e)}function T0(t,e,r){return e=E0(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function E0(t){var e=O$(t,"string");return xr(e)=="symbol"?e:e+""}function O$(t,e){if(xr(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(xr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function xl(){return xl=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},xl.apply(this,arguments)}function w$(t){var e=t.xAxisId,r=l0(),n=f0(),i=s0(e);return i==null?null:k.createElement(ha,xl({},i,{className:re("recharts-".concat(i.axisType," ").concat(i.axisType),i.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(o){return kt(o,!0)}}))}var va=function(t){function e(){return d$(this,e),m$(this,e,arguments)}return x$(e,t),y$(e,[{key:"render",value:function(){return k.createElement(w$,this.props)}}])}(k.Component);T0(va,"displayName","XAxis");T0(va,"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 Or(t){"@babel/helpers - typeof";return Or=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Or(t)}function _$(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function S$(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,M0(n.key),n)}}function A$(t,e,r){return e&&S$(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function P$(t,e,r){return e=Ii(e),T$(t,j0()?Reflect.construct(e,r||[],Ii(t).constructor):e.apply(t,r))}function T$(t,e){if(e&&(Or(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return E$(t)}function E$(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function j0(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(j0=function(){return!!t})()}function Ii(t){return Ii=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ii(t)}function j$(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Ol(t,e)}function Ol(t,e){return Ol=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Ol(t,e)}function C0(t,e,r){return e=M0(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function M0(t){var e=C$(t,"string");return Or(e)=="symbol"?e:e+""}function C$(t,e){if(Or(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(Or(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function wl(){return wl=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},wl.apply(this,arguments)}var M$=function(e){var r=e.yAxisId,n=l0(),i=f0(),a=c0(r);return a==null?null:k.createElement(ha,wl({},a,{className:re("recharts-".concat(a.axisType," ").concat(a.axisType),a.className),viewBox:{x:0,y:0,width:n,height:i},ticksGenerator:function(u){return kt(u,!0)}}))},ya=function(t){function e(){return _$(this,e),P$(this,e,arguments)}return j$(e,t),A$(e,[{key:"render",value:function(){return k.createElement(M$,this.props)}}])}(k.Component);C0(ya,"displayName","YAxis");C0(ya,"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 Mm(t){return D$(t)||R$(t)||$$(t)||I$()}function I$(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 61In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $$(t,e){if(t){if(typeof t=="string")return _l(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _l(t,e)}}function R$(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function D$(t){if(Array.isArray(t))return _l(t)}function _l(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Sl=function(e,r,n,i,a){var o=Ke(e,wn),u=Ke(e,la),s=[].concat(Mm(o),Mm(u)),c=Ke(e,pa),f="".concat(i,"Id"),l=i[0],p=r;if(s.length&&(p=s.reduce(function(v,h){if(h.props[f]===n&&ut(h.props,"extendDomain")&&B(h.props[l])){var x=h.props[l];return[Math.min(v[0],x),Math.max(v[1],x)]}return v},p)),c.length){var d="".concat(l,"1"),y="".concat(l,"2");p=c.reduce(function(v,h){if(h.props[f]===n&&ut(h.props,"extendDomain")&&B(h.props[d])&&B(h.props[y])){var x=h.props[d],O=h.props[y];return[Math.min(v[0],x,O),Math.max(v[1],x,O)]}return v},p)}return a&&a.length&&(p=a.reduce(function(v,h){return B(h)?[Math.min(v[0],h),Math.max(v[1],h)]:v},p)),p},pc={exports:{}},Im;function k$(){return Im||(Im=1,function(t){var e=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function i(s,c,f){this.fn=s,this.context=c,this.once=f||!1}function a(s,c,f,l,p){if(typeof f!="function")throw new TypeError("The listener must be a function");var d=new i(f,l||s,p),y=r?r+c:c;return s._events[y]?s._events[y].fn?s._events[y]=[s._events[y],d]:s._events[y].push(d):(s._events[y]=d,s._eventsCount++),s}function o(s,c){--s._eventsCount===0?s._events=new n:delete s._events[c]}function u(){this._events=new n,this._eventsCount=0}u.prototype.eventNames=function(){var c=[],f,l;if(this._eventsCount===0)return c;for(l in f=this._events)e.call(f,l)&&c.push(r?l.slice(1):l);return Object.getOwnPropertySymbols?c.concat(Object.getOwnPropertySymbols(f)):c},u.prototype.listeners=function(c){var f=r?r+c:c,l=this._events[f];if(!l)return[];if(l.fn)return[l.fn];for(var p=0,d=l.length,y=new Array(d);p<d;p++)y[p]=l[p].fn;return y},u.prototype.listenerCount=function(c){var f=r?r+c:c,l=this._events[f];return l?l.fn?1:l.length:0},u.prototype.emit=function(c,f,l,p,d,y){var v=r?r+c:c;if(!this._events[v])return!1;var h=this._events[v],x=arguments.length,O,b;if(h.fn){switch(h.once&&this.removeListener(c,h.fn,void 0,!0),x){case 1:return h.fn.call(h.context),!0;case 2:return h.fn.call(h.context,f),!0;case 3:return h.fn.call(h.context,f,l),!0;case 4:return h.fn.call(h.context,f,l,p),!0;case 5:return h.fn.call(h.context,f,l,p,d),!0;case 6:return h.fn.call(h.context,f,l,p,d,y),!0}for(b=1,O=new Array(x-1);b<x;b++)O[b-1]=arguments[b];h.fn.apply(h.context,O)}else{var w=h.length,m;for(b=0;b<w;b++)switch(h[b].once&&this.removeListener(c,h[b].fn,void 0,!0),x){case 1:h[b].fn.call(h[b].context);break;case 2:h[b].fn.call(h[b].context,f);break;case 3:h[b].fn.call(h[b].context,f,l);break;case 4:h[b].fn.call(h[b].context,f,l,p);break;default:if(!O)for(m=1,O=new Array(x-1);m<x;m++)O[m-1]=arguments[m];h[b].fn.apply(h[b].context,O)}}return!0},u.prototype.on=function(c,f,l){return a(this,c,f,l,!1)},u.prototype.once=function(c,f,l){return a(this,c,f,l,!0)},u.prototype.removeListener=function(c,f,l,p){var d=r?r+c:c;if(!this._events[d])return this;if(!f)return o(this,d),this;var y=this._events[d];if(y.fn)y.fn===f&&(!p||y.once)&&(!l||y.context===l)&&o(this,d);else{for(var v=0,h=[],x=y.length;v<x;v++)(y[v].fn!==f||p&&!y[v].once||l&&y[v].context!==l)&&h.push(y[v]);h.length?this._events[d]=h.length===1?h[0]:h:o(this,d)}return this},u.prototype.removeAllListeners=function(c){var f;return c?(f=r?r+c:c,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,t.exports=u}(pc)),pc.exports}var q$=k$();const N$=he(q$);var hc=new N$,dc="recharts.syncMouseEvents";function Sn(t){"@babel/helpers - typeof";return Sn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Sn(t)}function B$(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function L$(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,I0(n.key),n)}}function F$(t,e,r){return e&&L$(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function vc(t,e,r){return e=I0(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function I0(t){var e=U$(t,"string");return Sn(e)=="symbol"?e:e+""}function U$(t,e){if(Sn(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(Sn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}var z$=function(){function t(){B$(this,t),vc(this,"activeIndex",0),vc(this,"coordinateList",[]),vc(this,"layout","horizontal")}return F$(t,[{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,s=r.layout,c=s===void 0?null:s,f=r.offset,l=f===void 0?null:f,p=r.mouseHandlerCallback,d=p===void 0?null:p;this.coordinateList=(n=a??this.coordinateList)!==null&&n!==void 0?n:[],this.container=u??this.container,this.layout=c??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,s=this.coordinateList[this.activeIndex].coordinate,c=((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+s+c,p=o+this.offset.top+u/2+f;this.mouseHandlerCallback({pageX:l,pageY:p})}}}])}();function W$(t,e,r){if(r==="number"&&e===!0&&Array.isArray(t)){var n=t==null?void 0:t[0],i=t==null?void 0:t[1];if(n&&i&&B(n)&&B(i))return!0}return!1}function K$(t,e,r,n){var i=n/2;return{stroke:"none",fill:"#ccc",x:t==="horizontal"?e.x-i:r.left+.5,y:t==="horizontal"?r.top+.5:e.y-i,width:t==="horizontal"?n:r.width-1,height:t==="horizontal"?r.height-1:n}}function $0(t){var e=t.cx,r=t.cy,n=t.radius,i=t.startAngle,a=t.endAngle,o=Me(e,r,n,i),u=Me(e,r,n,a);return{points:[o,u],cx:e,cy:r,radius:n,startAngle:i,endAngle:a}}function G$(t,e,r){var n,i,a,o;if(t==="horizontal")n=e.x,a=n,i=r.top,o=r.top+r.height;else if(t==="vertical")i=e.y,o=i,n=r.left,a=r.left+r.width;else if(e.cx!=null&&e.cy!=null)if(t==="centric"){var u=e.cx,s=e.cy,c=e.innerRadius,f=e.outerRadius,l=e.angle,p=Me(u,s,c,l),d=Me(u,s,f,l);n=p.x,i=p.y,a=d.x,o=d.y}else return $0(e);return[{x:n,y:i},{x:a,y:o}]}function An(t){"@babel/helpers - typeof";return An=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},An(t)}function $m(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function zn(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?$m(Object(r),!0).forEach(function(n){H$(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$m(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function H$(t,e,r){return e=X$(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function X$(t){var e=V$(t,"string");return An(e)=="symbol"?e:e+""}function V$(t,e){if(An(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(An(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Y$(t){var e,r,n=t.element,i=t.tooltipEventType,a=t.isActive,o=t.activeCoordinate,u=t.activePayload,s=t.offset,c=t.activeTooltipIndex,f=t.tooltipAxisBandSize,l=t.layout,p=t.chartName,d=(e=n.props.cursor)!==null&&e!==void 0?e:(r=n.type.defaultProps)===null||r===void 0?void 0:r.cursor;if(!n||!d||!a||!o||p!=="ScatterChart"&&i!=="axis")return null;var y,v=Xc;if(p==="ScatterChart")y=o,v=iC;else if(p==="BarChart")y=K$(l,o,s,f),v=yf;else if(l==="radial"){var h=$0(o),x=h.cx,O=h.cy,b=h.radius,w=h.startAngle,m=h.endAngle;y={cx:x,cy:O,startAngle:w,endAngle:m,innerRadius:b,outerRadius:b},v=qb}else y={points:G$(l,o,s)},v=Xc;var g=zn(zn(zn(zn({stroke:"#ccc",pointerEvents:"none"},s),y),ee(d,!1)),{},{payload:u,payloadIndex:c,className:re("recharts-tooltip-cursor",d.className)});return k.isValidElement(d)?k.cloneElement(d,g):k.createElement(v,g)}var Z$=["item"],J$=["children","className","width","height","style","compact","title","desc"];function wr(t){"@babel/helpers - typeof";return wr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wr(t)}function Qt(){return Qt=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Qt.apply(this,arguments)}function Rm(t,e){return tR(t)||eR(t,e)||D0(t,e)||Q$()}function Q$(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 62In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function eR(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n,i,a,o,u=[],s=!0,c=!1;try{if(a=(r=r.call(t)).next,e!==0)for(;!(s=(n=a.call(r)).done)&&(u.push(n.value),u.length!==e);s=!0);}catch(f){c=!0,i=f}finally{try{if(!s&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return u}}function tR(t){if(Array.isArray(t))return t}function Dm(t,e){if(t==null)return{};var r=rR(t,e),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function rR(t,e){if(t==null)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}function nR(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function iR(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,k0(n.key),n)}}function aR(t,e,r){return e&&iR(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function oR(t,e,r){return e=$i(e),uR(t,R0()?Reflect.construct(e,r||[],$i(t).constructor):e.apply(t,r))}function uR(t,e){if(e&&(wr(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return sR(t)}function sR(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function R0(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(R0=function(){return!!t})()}function $i(t){return $i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},$i(t)}function cR(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Al(t,e)}function Al(t,e){return Al=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Al(t,e)}function _r(t){return pR(t)||fR(t)||D0(t)||lR()}function lR(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 63In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function D0(t,e){if(t){if(typeof t=="string")return Pl(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Pl(t,e)}}function fR(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function pR(t){if(Array.isArray(t))return Pl(t)}function Pl(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function km(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function C(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?km(Object(r),!0).forEach(function(n){G(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):km(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function G(t,e,r){return e=k0(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function k0(t){var e=hR(t,"string");return wr(e)=="symbol"?e:e+""}function hR(t,e){if(wr(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(wr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var dR={xAxis:["bottom","top"],yAxis:["left","right"]},vR={width:"100%",height:"100%"},q0={x:0,y:0};function Wn(t){return t}var yR=function(e,r){return r==="horizontal"?e.x:r==="vertical"?e.y:r==="centric"?e.angle:e.radius},mR=function(e,r,n,i){var a=r.find(function(f){return f&&f.index===n});if(a){if(e==="horizontal")return{x:a.coordinate,y:i.y};if(e==="vertical")return{x:i.x,y:a.coordinate};if(e==="centric"){var o=a.coordinate,u=i.radius;return C(C(C({},i),Me(i.cx,i.cy,u,o)),{},{angle:o,radius:u})}var s=a.coordinate,c=i.angle;return C(C(C({},i),Me(i.cx,i.cy,s,c)),{},{angle:c,radius:s})}return q0},ma=function(e,r){var n=r.graphicalItems,i=r.dataStartIndex,a=r.dataEndIndex,o=(n??[]).reduce(function(u,s){var c=s.props.data;return c&&c.length?[].concat(_r(u),_r(c)):u},[]);return o.length>0?o:e&&e.length&&B(i)&&B(a)?e.slice(i,a+1):[]};function N0(t){return t==="number"?[0,"auto"]:void 0}var Tl=function(e,r,n,i){var a=e.graphicalItems,o=e.tooltipAxis,u=ma(r,e);return n<0||!a||!a.length||n>=u.length?null:a.reduce(function(s,c){var f,l=(f=c.props.data)!==null&&f!==void 0?f:r;l&&e.dataStartIndex+e.dataEndIndex!==0&&e.dataEndIndex-e.dataStartIndex>=n&&(l=l.slice(e.dataStartIndex,e.dataEndIndex+1));var p;if(o.dataKey&&!o.allowDuplicatedCategory){var d=l===void 0?u:l;p=Qn(d,o.dataKey,i)}else p=l&&l[n]||u[n];return p?[].concat(_r(s),[Rb(c,p)]):s},[])},qm=function(e,r,n,i){var a=i||{x:e.chartX,y:e.chartY},o=yR(a,n),u=e.orderedTooltipTicks,s=e.tooltipAxis,c=e.tooltipTicks,f=FP(o,u,c,s);if(f>=0&&c){var l=c[f]&&c[f].value,p=Tl(e,r,f,l),d=mR(n,u,f,a);return{activeTooltipIndex:f,activeLabel:l,activePayload:p,activeCoordinate:d}}return null},gR=function(e,r){var n=r.axes,i=r.graphicalItems,a=r.axisType,o=r.axisIdKey,u=r.stackGroups,s=r.dataStartIndex,c=r.dataEndIndex,f=e.layout,l=e.children,p=e.stackOffset,d=Ib(f,a);return n.reduce(function(y,v){var h,x=v.type.defaultProps!==void 0?C(C({},v.type.defaultProps),v.props):v.props,O=x.type,b=x.dataKey,w=x.allowDataOverflow,m=x.allowDuplicatedCategory,g=x.scale,_=x.ticks,S=x.includeHidden,A=x[o];if(y[A])return y;var j=ma(e.data,{graphicalItems:i.filter(function(F){var H,ae=o in F.props?F.props[o]:(H=F.type.defaultProps)===null||H===void 0?void 0:H[o];return ae===A}),dataStartIndex:s,dataEndIndex:c}),T=j.length,E,M,$;W$(x.domain,w,O)&&(E=zc(x.domain,null,w),d&&(O==="number"||g!=="auto")&&($=Wr(j,b,"category")));var I=N0(O);if(!E||E.length===0){var D,q=(D=x.domain)!==null&&D!==void 0?D:I;if(b){if(E=Wr(j,b,O),O==="category"&&d){var L=Gw(E);m&&L?(M=E,E=bi(0,T)):m||(E=Zv(q,E,v).reduce(function(F,H){return F.indexOf(H)>=0?F:[].concat(_r(F),[H])},[]))}else if(O==="category")m?E=E.filter(function(F){return F!==""&&!Z(F)}):E=Zv(q,E,v).reduce(function(F,H){return F.indexOf(H)>=0||H===""||Z(H)?F:[].concat(_r(F),[H])},[]);else if(O==="number"){var U=GP(j,i.filter(function(F){var H,ae,ue=o in F.props?F.props[o]:(H=F.type.defaultProps)===null||H===void 0?void 0:H[o],Ee="hide"in F.props?F.props.hide:(ae=F.type.defaultProps)===null||ae===void 0?void 0:ae.hide;return ue===A&&(S||!Ee)}),b,a,f);U&&(E=U)}d&&(O==="number"||g!=="auto")&&($=Wr(j,b,"category"))}else d?E=bi(0,T):u&&u[A]&&u[A].hasStack&&O==="number"?E=p==="expand"?[0,1]:$b(u[A].stackGroups,s,c):E=Mb(j,i.filter(function(F){var H=o in F.props?F.props[o]:F.type.defaultProps[o],ae="hide"in F.props?F.props.hide:F.type.defaultProps.hide;return H===A&&(S||!ae)}),O,f,!0);if(O==="number")E=Sl(l,E,A,a,_),q&&(E=zc(q,E,w));else if(O==="category"&&q){var W=q,K=E.every(function(F){return W.indexOf(F)>=0});K&&(E=W)}}return C(C({},y),{},G({},A,C(C({},x),{},{axisType:a,domain:E,categoricalDomain:$,duplicateDomain:M,originalDomain:(h=x.domain)!==null&&h!==void 0?h:I,isCategorical:d,layout:f})))},{})},bR=function(e,r){var n=r.graphicalItems,i=r.Axis,a=r.axisType,o=r.axisIdKey,u=r.stackGroups,s=r.dataStartIndex,c=r.dataEndIndex,f=e.layout,l=e.children,p=ma(e.data,{graphicalItems:n,dataStartIndex:s,dataEndIndex:c}),d=p.length,y=Ib(f,a),v=-1;return n.reduce(function(h,x){var O=x.type.defaultProps!==void 0?C(C({},x.type.defaultProps),x.props):x.props,b=O[o],w=N0("number");if(!h[b]){v++;var m;return y?m=bi(0,d):u&&u[b]&&u[b].hasStack?(m=$b(u[b].stackGroups,s,c),m=Sl(l,m,b,a)):(m=zc(w,Mb(p,n.filter(function(g){var _,S,A=o in g.props?g.props[o]:(_=g.type.defaultProps)===null||_===void 0?void 0:_[o],j="hide"in g.props?g.props.hide:(S=g.type.defaultProps)===null||S===void 0?void 0:S.hide;return A===b&&!j}),"number",f),i.defaultProps.allowDataOverflow),m=Sl(l,m,b,a)),C(C({},h),{},G({},b,C(C({axisType:a},i.defaultProps),{},{hide:!0,orientation:Ze(dR,"".concat(a,".").concat(v%2),null),domain:m,originalDomain:w,isCategorical:y,layout:f})))}return h},{})},xR=function(e,r){var n=r.axisType,i=n===void 0?"xAxis":n,a=r.AxisComp,o=r.graphicalItems,u=r.stackGroups,s=r.dataStartIndex,c=r.dataEndIndex,f=e.children,l="".concat(i,"Id"),p=Ke(f,a),d={};return p&&p.length?d=gR(e,{axes:p,graphicalItems:o,axisType:i,axisIdKey:l,stackGroups:u,dataStartIndex:s,dataEndIndex:c}):o&&o.length&&(d=bR(e,{Axis:a,graphicalItems:o,axisType:i,axisIdKey:l,stackGroups:u,dataStartIndex:s,dataEndIndex:c})),d},OR=function(e){var r=Yt(e),n=kt(r,!1,!0);return{tooltipTicks:n,orderedTooltipTicks:lf(n,function(i){return i.coordinate}),tooltipAxis:r,tooltipAxisBandSize:li(r,n)}},Nm=function(e){var r=e.children,n=e.defaultShowTooltip,i=ze(r,pr),a=0,o=0;return e.data&&e.data.length!==0&&(o=e.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}},wR=function(e){return!e||!e.length?!1:e.some(function(r){var n=Tt(r&&r.type);return n&&n.indexOf("Bar")>=0})},Bm=function(e){return e==="horizontal"?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:e==="vertical"?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:e==="centric"?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},_R=function(e,r){var n=e.props,i=e.graphicalItems,a=e.xAxisMap,o=a===void 0?{}:a,u=e.yAxisMap,s=u===void 0?{}:u,c=n.width,f=n.height,l=n.children,p=n.margin||{},d=ze(l,pr),y=ze(l,tr),v=Object.keys(s).reduce(function(m,g){var _=s[g],S=_.orientation;return!_.mirror&&!_.hide?C(C({},m),{},G({},S,m[S]+_.width)):m},{left:p.left||0,right:p.right||0}),h=Object.keys(o).reduce(function(m,g){var _=o[g],S=_.orientation;return!_.mirror&&!_.hide?C(C({},m),{},G({},S,Ze(m,"".concat(S))+_.height)):m},{top:p.top||0,bottom:p.bottom||0}),x=C(C({},h),v),O=x.bottom;d&&(x.bottom+=d.props.height||pr.defaultProps.height),y&&r&&(x=WP(x,i,n,r));var b=c-x.left-x.right,w=f-x.top-x.bottom;return C(C({brushBottom:O},x),{},{width:Math.max(b,0),height:Math.max(w,0)})},SR=function(e,r){if(r==="xAxis")return e[r].width;if(r==="yAxis")return e[r].height},AR=function(e){var r=e.chartName,n=e.GraphicalChild,i=e.defaultTooltipEventType,a=i===void 0?"axis":i,o=e.validateTooltipEventTypes,u=o===void 0?["axis"]:o,s=e.axisComponents,c=e.legendContent,f=e.formatAxisMap,l=e.defaultProps,p=function(x,O){var b=O.graphicalItems,w=O.stackGroups,m=O.offset,g=O.updateId,_=O.dataStartIndex,S=O.dataEndIndex,A=x.barSize,j=x.layout,T=x.barGap,E=x.barCategoryGap,M=x.maxBarSize,$=Bm(j),I=$.numericAxisName,D=$.cateAxisName,q=wR(b),L=[];return b.forEach(function(U,W){var K=ma(x.data,{graphicalItems:[U],dataStartIndex:_,dataEndIndex:S}),F=U.type.defaultProps!==void 0?C(C({},U.type.defaultProps),U.props):U.props,H=F.dataKey,ae=F.maxBarSize,ue=F["".concat(I,"Id")],Ee=F["".concat(D,"Id")],qe={},Oe=s.reduce(function(Ne,Be){var _t=O["".concat(Be.axisType,"Map")],ye=F["".concat(Be.axisType,"Id")];_t&&_t[ye]||Be.axisType==="zAxis"||Bt(!1);var je=_t[ye];return C(C({},Ne),{},G(G({},Be.axisType,je),"".concat(Be.axisType,"Ticks"),kt(je)))},qe),N=Oe[D],X=Oe["".concat(D,"Ticks")],V=w&&w[ue]&&w[ue].hasStack&&iT(U,w[ue].stackGroups),R=Tt(U.type).indexOf("Bar")>=0,se=li(N,X),J=[],le=q&&UP({barSize:A,stackGroups:w,totalSize:SR(Oe,D)});if(R){var fe,ge,De=Z(ae)?M:ae,Fe=(fe=(ge=li(N,X,!0))!==null&&ge!==void 0?ge:De)!==null&&fe!==void 0?fe:0;J=zP({barGap:T,barCategoryGap:E,bandSize:Fe!==se?Fe:se,sizeList:le[Ee],maxBarSize:De}),Fe!==se&&(J=J.map(function(Ne){return C(C({},Ne),{},{position:C(C({},Ne.position),{},{offset:Ne.position.offset-Fe/2})})}))}var Qe=U&&U.type&&U.type.getComposedData;Qe&&L.push({props:C(C({},Qe(C(C({},Oe),{},{displayedData:K,props:x,dataKey:H,item:U,bandSize:se,barPosition:J,offset:m,stackedData:V,layout:j,dataStartIndex:_,dataEndIndex:S}))),{},G(G(G({key:U.key||"item-".concat(W)},I,Oe[I]),D,Oe[D]),"animationId",g)),childIndex:a_(U,x.children),item:U})}),L},d=function(x,O){var b=x.props,w=x.dataStartIndex,m=x.dataEndIndex,g=x.updateId;if(!eh({props:b}))return null;var _=b.children,S=b.layout,A=b.stackOffset,j=b.data,T=b.reverseStackOrder,E=Bm(S),M=E.numericAxisName,$=E.cateAxisName,I=Ke(_,n),D=tT(j,I,"".concat(M,"Id"),"".concat($,"Id"),A,T),q=s.reduce(function(F,H){var ae="".concat(H.axisType,"Map");return C(C({},F),{},G({},ae,xR(b,C(C({},H),{},{graphicalItems:I,stackGroups:H.axisType===M&&D,dataStartIndex:w,dataEndIndex:m}))))},{}),L=_R(C(C({},q),{},{props:b,graphicalItems:I}),O==null?void 0:O.legendBBox);Object.keys(q).forEach(function(F){q[F]=f(b,q[F],L,F.replace("Map",""),r)});var U=q["".concat($,"Map")],W=OR(U),K=p(b,C(C({},q),{},{dataStartIndex:w,dataEndIndex:m,updateId:g,graphicalItems:I,stackGroups:D,offset:L}));return C(C({formattedGraphicalItems:K,graphicalItems:I,offset:L,stackGroups:D},W),q)},y=function(h){function x(O){var b,w,m;return nR(this,x),m=oR(this,x,[O]),G(m,"eventEmitterSymbol",Symbol("rechartsEventEmitter")),G(m,"accessibilityManager",new z$),G(m,"handleLegendBBoxUpdate",function(g){if(g){var _=m.state,S=_.dataStartIndex,A=_.dataEndIndex,j=_.updateId;m.setState(C({legendBBox:g},d({props:m.props,dataStartIndex:S,dataEndIndex:A,updateId:j},C(C({},m.state),{},{legendBBox:g}))))}}),G(m,"handleReceiveSyncEvent",function(g,_,S){if(m.props.syncId===g){if(S===m.eventEmitterSymbol&&typeof m.props.syncMethod!="function")return;m.applySyncEvent(_)}}),G(m,"handleBrushChange",function(g){var _=g.startIndex,S=g.endIndex;if(_!==m.state.dataStartIndex||S!==m.state.dataEndIndex){var A=m.state.updateId;m.setState(function(){return C({dataStartIndex:_,dataEndIndex:S},d({props:m.props,dataStartIndex:_,dataEndIndex:S,updateId:A},m.state))}),m.triggerSyncEvent({dataStartIndex:_,dataEndIndex:S})}}),G(m,"handleMouseEnter",function(g){var _=m.getMouseInfo(g);if(_){var S=C(C({},_),{},{isTooltipActive:!0});m.setState(S),m.triggerSyncEvent(S);var A=m.props.onMouseEnter;Q(A)&&A(S,g)}}),G(m,"triggeredAfterMouseMove",function(g){var _=m.getMouseInfo(g),S=_?C(C({},_),{},{isTooltipActive:!0}):{isTooltipActive:!1};m.setState(S),m.triggerSyncEvent(S);var A=m.props.onMouseMove;Q(A)&&A(S,g)}),G(m,"handleItemMouseEnter",function(g){m.setState(function(){return{isTooltipActive:!0,activeItem:g,activePayload:g.tooltipPayload,activeCoordinate:g.tooltipPosition||{x:g.cx,y:g.cy}}})}),G(m,"handleItemMouseLeave",function(){m.setState(function(){return{isTooltipActive:!1}})}),G(m,"handleMouseMove",function(g){g.persist(),m.throttleTriggeredAfterMouseMove(g)}),G(m,"handleMouseLeave",function(g){m.throttleTriggeredAfterMouseMove.cancel();var _={isTooltipActive:!1};m.setState(_),m.triggerSyncEvent(_);var S=m.props.onMouseLeave;Q(S)&&S(_,g)}),G(m,"handleOuterEvent",function(g){var _=i_(g),S=Ze(m.props,"".concat(_));if(_&&Q(S)){var A,j;/.*touch.*/i.test(_)?j=m.getMouseInfo(g.changedTouches[0]):j=m.getMouseInfo(g),S((A=j)!==null&&A!==void 0?A:{},g)}}),G(m,"handleClick",function(g){var _=m.getMouseInfo(g);if(_){var S=C(C({},_),{},{isTooltipActive:!0});m.setState(S),m.triggerSyncEvent(S);var A=m.props.onClick;Q(A)&&A(S,g)}}),G(m,"handleMouseDown",function(g){var _=m.props.onMouseDown;if(Q(_)){var S=m.getMouseInfo(g);_(S,g)}}),G(m,"handleMouseUp",function(g){var _=m.props.onMouseUp;if(Q(_)){var S=m.getMouseInfo(g);_(S,g)}}),G(m,"handleTouchMove",function(g){g.changedTouches!=null&&g.changedTouches.length>0&&m.throttleTriggeredAfterMouseMove(g.changedTouches[0])}),G(m,"handleTouchStart",function(g){g.changedTouches!=null&&g.changedTouches.length>0&&m.handleMouseDown(g.changedTouches[0])}),G(m,"handleTouchEnd",function(g){g.changedTouches!=null&&g.changedTouches.length>0&&m.handleMouseUp(g.changedTouches[0])}),G(m,"handleDoubleClick",function(g){var _=m.props.onDoubleClick;if(Q(_)){var S=m.getMouseInfo(g);_(S,g)}}),G(m,"handleContextMenu",function(g){var _=m.props.onContextMenu;if(Q(_)){var S=m.getMouseInfo(g);_(S,g)}}),G(m,"triggerSyncEvent",function(g){m.props.syncId!==void 0&&hc.emit(dc,m.props.syncId,g,m.eventEmitterSymbol)}),G(m,"applySyncEvent",function(g){var _=m.props,S=_.layout,A=_.syncMethod,j=m.state.updateId,T=g.dataStartIndex,E=g.dataEndIndex;if(g.dataStartIndex!==void 0||g.dataEndIndex!==void 0)m.setState(C({dataStartIndex:T,dataEndIndex:E},d({props:m.props,dataStartIndex:T,dataEndIndex:E,updateId:j},m.state)));else if(g.activeTooltipIndex!==void 0){var M=g.chartX,$=g.chartY,I=g.activeTooltipIndex,D=m.state,q=D.offset,L=D.tooltipTicks;if(!q)return;if(typeof A=="function")I=A(L,g);else if(A==="value"){I=-1;for(var U=0;U<L.length;U++)if(L[U].value===g.activeLabel){I=U;break}}var W=C(C({},q),{},{x:q.left,y:q.top}),K=Math.min(M,W.x+W.width),F=Math.min($,W.y+W.height),H=L[I]&&L[I].value,ae=Tl(m.state,m.props.data,I),ue=L[I]?{x:S==="horizontal"?L[I].coordinate:K,y:S==="horizontal"?F:L[I].coordinate}:q0;m.setState(C(C({},g),{},{activeLabel:H,activeCoordinate:ue,activePayload:ae,activeTooltipIndex:I}))}else m.setState(g)}),G(m,"renderCursor",function(g){var _,S=m.state,A=S.isTooltipActive,j=S.activeCoordinate,T=S.activePayload,E=S.offset,M=S.activeTooltipIndex,$=S.tooltipAxisBandSize,I=m.getTooltipEventType(),D=(_=g.props.active)!==null&&_!==void 0?_:A,q=m.props.layout,L=g.key||"_recharts-cursor";return P.createElement(Y$,{key:L,activeCoordinate:j,activePayload:T,activeTooltipIndex:M,chartName:r,element:g,isActive:D,layout:q,offset:E,tooltipAxisBandSize:$,tooltipEventType:I})}),G(m,"renderPolarAxis",function(g,_,S){var A=Ze(g,"type.axisType"),j=Ze(m.state,"".concat(A,"Map")),T=g.type.defaultProps,E=T!==void 0?C(C({},T),g.props):g.props,M=j&&j[E["".concat(A,"Id")]];return k.cloneElement(g,C(C({},M),{},{className:re(A,M.className),key:g.key||"".concat(_,"-").concat(S),ticks:kt(M,!0)}))}),G(m,"renderPolarGrid",function(g){var _=g.props,S=_.radialLines,A=_.polarAngles,j=_.polarRadius,T=m.state,E=T.radiusAxisMap,M=T.angleAxisMap,$=Yt(E),I=Yt(M),D=I.cx,q=I.cy,L=I.innerRadius,U=I.outerRadius;return k.cloneElement(g,{polarAngles:Array.isArray(A)?A:kt(I,!0).map(function(W){return W.coordinate}),polarRadius:Array.isArray(j)?j:kt($,!0).map(function(W){return W.coordinate}),cx:D,cy:q,innerRadius:L,outerRadius:U,key:g.key||"polar-grid",radialLines:S})}),G(m,"renderLegend",function(){var g=m.state.formattedGraphicalItems,_=m.props,S=_.children,A=_.width,j=_.height,T=m.props.margin||{},E=A-(T.left||0)-(T.right||0),M=jb({children:S,formattedGraphicalItems:g,legendWidth:E,legendContent:c});if(!M)return null;var $=M.item,I=Dm(M,Z$);return k.cloneElement($,C(C({},I),{},{chartWidth:A,chartHeight:j,margin:T,onBBoxUpdate:m.handleLegendBBoxUpdate}))}),G(m,"renderTooltip",function(){var g,_=m.props,S=_.children,A=_.accessibilityLayer,j=ze(S,it);if(!j)return null;var T=m.state,E=T.isTooltipActive,M=T.activeCoordinate,$=T.activePayload,I=T.activeLabel,D=T.offset,q=(g=j.props.active)!==null&&g!==void 0?g:E;return k.cloneElement(j,{viewBox:C(C({},D),{},{x:D.left,y:D.top}),active:q,label:I,payload:q?$:[],coordinate:M,accessibilityLayer:A})}),G(m,"renderBrush",function(g){var _=m.props,S=_.margin,A=_.data,j=m.state,T=j.offset,E=j.dataStartIndex,M=j.dataEndIndex,$=j.updateId;return k.cloneElement(g,{key:g.key||"_recharts-brush",onChange:Bn(m.handleBrushChange,g.props.onChange),data:A,x:B(g.props.x)?g.props.x:T.left,y:B(g.props.y)?g.props.y:T.top+T.height+T.brushBottom-(S.bottom||0),width:B(g.props.width)?g.props.width:T.width,startIndex:E,endIndex:M,updateId:"brush-".concat($)})}),G(m,"renderReferenceElement",function(g,_,S){if(!g)return null;var A=m,j=A.clipPathId,T=m.state,E=T.xAxisMap,M=T.yAxisMap,$=T.offset,I=g.type.defaultProps||{},D=g.props,q=D.xAxisId,L=q===void 0?I.xAxisId:q,U=D.yAxisId,W=U===void 0?I.yAxisId:U;return k.cloneElement(g,{key:g.key||"".concat(_,"-").concat(S),xAxis:E[L],yAxis:M[W],viewBox:{x:$.left,y:$.top,width:$.width,height:$.height},clipPathId:j})}),G(m,"renderActivePoints",function(g){var _=g.item,S=g.activePoint,A=g.basePoint,j=g.childIndex,T=g.isRange,E=[],M=_.props.key,$=_.item.type.defaultProps!==void 0?C(C({},_.item.type.defaultProps),_.item.props):_.item.props,I=$.activeDot,D=$.dataKey,q=C(C({index:j,dataKey:D,cx:S.x,cy:S.y,r:4,fill:vf(_.item),strokeWidth:2,stroke:"#fff",payload:S.payload,value:S.value},ee(I,!1)),ei(I));return E.push(x.renderActiveDot(I,q,"".concat(M,"-activePoint-").concat(j))),A?E.push(x.renderActiveDot(I,C(C({},q),{},{cx:A.x,cy:A.y}),"".concat(M,"-basePoint-").concat(j))):T&&E.push(null),E}),G(m,"renderGraphicChild",function(g,_,S){var A=m.filterFormatItem(g,_,S);if(!A)return null;var j=m.getTooltipEventType(),T=m.state,E=T.isTooltipActive,M=T.tooltipAxis,$=T.activeTooltipIndex,I=T.activeLabel,D=m.props.children,q=ze(D,it),L=A.props,U=L.points,W=L.isRange,K=L.baseLine,F=A.item.type.defaultProps!==void 0?C(C({},A.item.type.defaultProps),A.item.props):A.item.props,H=F.activeDot,ae=F.hide,ue=F.activeBar,Ee=F.activeShape,qe=!!(!ae&&E&&q&&(H||ue||Ee)),Oe={};j!=="axis"&&q&&q.props.trigger==="click"?Oe={onClick:Bn(m.handleItemMouseEnter,g.props.onClick)}:j!=="axis"&&(Oe={onMouseLeave:Bn(m.handleItemMouseLeave,g.props.onMouseLeave),onMouseEnter:Bn(m.handleItemMouseEnter,g.props.onMouseEnter)});var N=k.cloneElement(g,C(C({},A.props),Oe));function X(Be){return typeof M.dataKey=="function"?M.dataKey(Be.payload):null}if(qe)if($>=0){var V,R;if(M.dataKey&&!M.allowDuplicatedCategory){var se=typeof M.dataKey=="function"?X:"payload.".concat(M.dataKey.toString());V=Qn(U,se,I),R=W&&K&&Qn(K,se,I)}else V=U==null?void 0:U[$],R=W&&K&&K[$];if(Ee||ue){var J=g.props.activeIndex!==void 0?g.props.activeIndex:$;return[k.cloneElement(g,C(C(C({},A.props),Oe),{},{activeIndex:J})),null,null]}if(!Z(V))return[N].concat(_r(m.renderActivePoints({item:A,activePoint:V,basePoint:R,childIndex:$,isRange:W})))}else{var le,fe=(le=m.getItemByXY(m.state.activeCoordinate))!==null&&le!==void 0?le:{graphicalItem:N},ge=fe.graphicalItem,De=ge.item,Fe=De===void 0?g:De,Qe=ge.childIndex,Ne=C(C(C({},A.props),Oe),{},{activeIndex:Qe});return[k.cloneElement(Fe,Ne),null,null]}return W?[N,null,null]:[N,null]}),G(m,"renderCustomized",function(g,_,S){return k.cloneElement(g,C(C({key:"recharts-customized-".concat(S)},m.props),m.state))}),G(m,"renderMap",{CartesianGrid:{handler:Wn,once:!0},ReferenceArea:{handler:m.renderReferenceElement},ReferenceLine:{handler:Wn},ReferenceDot:{handler:m.renderReferenceElement},XAxis:{handler:Wn},YAxis:{handler:Wn},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((b=O.id)!==null&&b!==void 0?b:jn("recharts"),"-clip"),m.throttleTriggeredAfterMouseMove=JS(m.triggeredAfterMouseMove,(w=O.throttleDelay)!==null&&w!==void 0?w:1e3/60),m.state={},m}return cR(x,h),aR(x,[{key:"componentDidMount",value:function(){var b,w;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:(b=this.props.margin.left)!==null&&b!==void 0?b:0,top:(w=this.props.margin.top)!==null&&w!==void 0?w:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var b=this.props,w=b.children,m=b.data,g=b.height,_=b.layout,S=ze(w,it);if(S){var A=S.props.defaultIndex;if(!(typeof A!="number"||A<0||A>this.state.tooltipTicks.length-1)){var j=this.state.tooltipTicks[A]&&this.state.tooltipTicks[A].value,T=Tl(this.state,m,A,j),E=this.state.tooltipTicks[A].coordinate,M=(this.state.offset.top+g)/2,$=_==="horizontal",I=$?{x:E,y:M}:{y:E,x:M},D=this.state.formattedGraphicalItems.find(function(L){var U=L.item;return U.type.name==="Scatter"});D&&(I=C(C({},I),D.props.points[A].tooltipPosition),T=D.props.points[A].tooltipPayload);var q={activeTooltipIndex:A,isTooltipActive:!0,activeLabel:j,activePayload:T,activeCoordinate:I};this.setState(q),this.renderCursor(S),this.accessibilityManager.setIndex(A)}}}},{key:"getSnapshotBeforeUpdate",value:function(b,w){if(!this.props.accessibilityLayer)return null;if(this.state.tooltipTicks!==w.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==b.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==b.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(b){wc([ze(b.children,it)],[ze(this.props.children,it)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var b=ze(this.props.children,it);if(b&&typeof b.props.shared=="boolean"){var w=b.props.shared?"axis":"item";return u.indexOf(w)>=0?w:a}return a}},{key:"getMouseInfo",value:function(b){if(!this.container)return null;var w=this.container,m=w.getBoundingClientRect(),g=aA(m),_={chartX:Math.round(b.pageX-g.left),chartY:Math.round(b.pageY-g.top)},S=m.width/w.offsetWidth||1,A=this.inRange(_.chartX,_.chartY,S);if(!A)return null;var j=this.state,T=j.xAxisMap,E=j.yAxisMap,M=this.getTooltipEventType(),$=qm(this.state,this.props.data,this.props.layout,A);if(M!=="axis"&&T&&E){var I=Yt(T).scale,D=Yt(E).scale,q=I&&I.invert?I.invert(_.chartX):null,L=D&&D.invert?D.invert(_.chartY):null;return C(C({},_),{},{xValue:q,yValue:L},$)}return $?C(C({},_),$):null}},{key:"inRange",value:function(b,w){var m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,g=this.props.layout,_=b/m,S=w/m;if(g==="horizontal"||g==="vertical"){var A=this.state.offset,j=_>=A.left&&_<=A.left+A.width&&S>=A.top&&S<=A.top+A.height;return j?{x:_,y:S}:null}var T=this.state,E=T.angleAxisMap,M=T.radiusAxisMap;if(E&&M){var $=Yt(E);return ey({x:_,y:S},$)}return null}},{key:"parseEventsOfWrapper",value:function(){var b=this.props.children,w=this.getTooltipEventType(),m=ze(b,it),g={};m&&w==="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 _=ei(this.props,this.handleOuterEvent);return C(C({},_),g)}},{key:"addListener",value:function(){hc.on(dc,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){hc.removeListener(dc,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(b,w,m){for(var g=this.state.formattedGraphicalItems,_=0,S=g.length;_<S;_++){var A=g[_];if(A.item===b||A.props.key===b.key||w===Tt(A.item.type)&&m===A.childIndex)return A}return null}},{key:"renderClipPath",value:function(){var b=this.clipPathId,w=this.state.offset,m=w.left,g=w.top,_=w.height,S=w.width;return P.createElement("defs",null,P.createElement("clipPath",{id:b},P.createElement("rect",{x:m,y:g,height:_,width:S})))}},{key:"getXScales",value:function(){var b=this.state.xAxisMap;return b?Object.entries(b).reduce(function(w,m){var g=Rm(m,2),_=g[0],S=g[1];return C(C({},w),{},G({},_,S.scale))},{}):null}},{key:"getYScales",value:function(){var b=this.state.yAxisMap;return b?Object.entries(b).reduce(function(w,m){var g=Rm(m,2),_=g[0],S=g[1];return C(C({},w),{},G({},_,S.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(b){var w;return(w=this.state.xAxisMap)===null||w===void 0||(w=w[b])===null||w===void 0?void 0:w.scale}},{key:"getYScaleByAxisId",value:function(b){var w;return(w=this.state.yAxisMap)===null||w===void 0||(w=w[b])===null||w===void 0?void 0:w.scale}},{key:"getItemByXY",value:function(b){var w=this.state,m=w.formattedGraphicalItems,g=w.activeItem;if(m&&m.length)for(var _=0,S=m.length;_<S;_++){var A=m[_],j=A.props,T=A.item,E=T.type.defaultProps!==void 0?C(C({},T.type.defaultProps),T.props):T.props,M=Tt(T.type);if(M==="Bar"){var $=(j.data||[]).find(function(L){return Xj(b,L)});if($)return{graphicalItem:A,payload:$}}else if(M==="RadialBar"){var I=(j.data||[]).find(function(L){return ey(b,L)});if(I)return{graphicalItem:A,payload:I}}else if(oa(A,g)||ua(A,g)||gn(A,g)){var D=qC({graphicalItem:A,activeTooltipItem:g,itemData:E.data}),q=E.activeIndex===void 0?D:E.activeIndex;return{graphicalItem:C(C({},A),{},{childIndex:q}),payload:gn(A,g)?E.data[D]:A.props.data[D]}}}return null}},{key:"render",value:function(){var b=this;if(!eh(this))return null;var w=this.props,m=w.children,g=w.className,_=w.width,S=w.height,A=w.style,j=w.compact,T=w.title,E=w.desc,M=Dm(w,J$),$=ee(M,!1);if(j)return P.createElement(gm,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},P.createElement(Sc,Qt({},$,{width:_,height:S,title:T,desc:E}),this.renderClipPath(),rh(m,this.renderMap)));if(this.props.accessibilityLayer){var I,D;$.tabIndex=(I=this.props.tabIndex)!==null&&I!==void 0?I:0,$.role=(D=this.props.role)!==null&&D!==void 0?D:"application",$.onKeyDown=function(L){b.accessibilityManager.keyboardEvent(L)},$.onFocus=function(){b.accessibilityManager.focus()}}var q=this.parseEventsOfWrapper();return P.createElement(gm,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},P.createElement("div",Qt({className:re("recharts-wrapper",g),style:C({position:"relative",curs
63or:"default",width:_,height:S},A)},q,{ref:function(U){b.container=U}}),P.createElement(Sc,Qt({},$,{width:_,height:S,title:T,desc:E,style:vR}),this.renderClipPath(),rh(m,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}])}(k.Component);G(y,"displayName",r),G(y,"defaultProps",C({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},l)),G(y,"getDerivedStateFromProps",function(h,x){var O=h.dataKey,b=h.data,w=h.children,m=h.width,g=h.height,_=h.layout,S=h.stackOffset,A=h.margin,j=x.dataStartIndex,T=x.dataEndIndex;if(x.updateId===void 0){var E=Nm(h);return C(C(C({},E),{},{updateId:0},d(C(C({props:h},E),{},{updateId:0}),x)),{},{prevDataKey:O,prevData:b,prevWidth:m,prevHeight:g,prevLayout:_,prevStackOffset:S,prevMargin:A,prevChildren:w})}if(O!==x.prevDataKey||b!==x.prevData||m!==x.prevWidth||g!==x.prevHeight||_!==x.prevLayout||S!==x.prevStackOffset||!er(A,x.prevMargin)){var M=Nm(h),$={chartX:x.chartX,chartY:x.chartY,isTooltipActive:x.isTooltipActive},I=C(C({},qm(x,b,_)),{},{updateId:x.updateId+1}),D=C(C(C({},M),$),I);return C(C(C({},D),d(C({props:h},D),x)),{},{prevDataKey:O,prevData:b,prevWidth:m,prevHeight:g,prevLayout:_,prevStackOffset:S,prevMargin:A,prevChildren:w})}if(!wc(w,x.prevChildren)){var q,L,U,W,K=ze(w,pr),F=K&&(q=(L=K.props)===null||L===void 0?void 0:L.startIndex)!==null&&q!==void 0?q:j,H=K&&(U=(W=K.props)===null||W===void 0?void 0:W.endIndex)!==null&&U!==void 0?U:T,ae=F!==j||H!==T,ue=!Z(b),Ee=ue&&!ae?x.updateId:x.updateId+1;return C(C({updateId:Ee},d(C(C({props:h},x),{},{updateId:Ee,dataStartIndex:F,dataEndIndex:H}),x)),{},{prevChildren:w,dataStartIndex:F,dataEndIndex:H})}return null}),G(y,"renderActiveDot",function(h,x,O){var b;return k.isValidElement(h)?b=k.cloneElement(h,x):Q(h)?b=h(x):b=P.createElement(Kb,x),P.createElement(ve,{className:"recharts-active-dot",key:O},b)});var v=k.forwardRef(function(x,O){return P.createElement(y,Qt({},x,{ref:O}))});return v.displayName=y.displayName,v},PR=AR({chartName:"ScatterChart",GraphicalChild:Nt,defaultTooltipEventType:"item",validateTooltipEventTypes:["item"],axisComponents:[{axisType:"xAxis",AxisComp:va},{axisType:"yAxis",AxisComp:ya},{axisType:"zAxis",AxisComp:da}],formatAxisMap:RM});const TR=t=>{const e=El.c(6),{width:r,height:n}=t,i=r/10,a=n/10;let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o=Y.jsxs("rect",{width:"10",height:"10",x:"1",y:"1",className:"fill-amber-600",rx:"1",children:[Y.jsx("animate",{id:"svgSpinnersBlocksShuffle30",fill:"freeze",attributeName:"x",begin:"0;svgSpinnersBlocksShuffle3b.end",dur:"0.2s",values:"1;13"}),Y.jsx("animate",{id:"svgSpinnersBlocksShuffle31",fill:"freeze",attributeName:"y",begin:"svgSpinnersBlocksShuffle38.end",dur:"0.2s",values:"1;13"}),Y.jsx("animate",{id:"svgSpinnersBlocksShuffle32",fill:"freeze",attributeName:"x",begin:"svgSpinnersBlocksShuffle39.end",dur:"0.2s",values:"13;1"}),Y.jsx("animate",{id:"svgSpinnersBlocksShuffle33",fill:"freeze",attributeName:"y",begin:"svgSpinnersBlocksShuffle3a.end",dur:"0.2s",values:"13;1"})]}),e[0]=o):o=e[0];let u;e[1]===Symbol.for("react.memo_cache_sentinel")?(u=Y.jsxs("rect",{width:"10",height:"10",x:"1",y:"13",className:"fill-amber-600",rx:"1",children:[Y.jsx("animate",{id:"svgSpinnersBlocksShuffle34",fill:"freeze",attributeName:"y",begin:"svgSpinnersBlocksShuffle30.end",dur:"0.2s",values:"13;1"}),Y.jsx("animate",{id:"svgSpinnersBlocksShuffle35",fill:"freeze",attributeName:"x",begin:"svgSpinnersBlocksShuffle31.end",dur:"0.2s",values:"1;13"}),Y.jsx("animate",{id:"svgSpinnersBlocksShuffle36",fill:"freeze",attributeName:"y",begin:"svgSpinnersBlocksShuffle32.end",dur:"0.2s",values:"1;13"}),Y.jsx("animate",{id:"svgSpinnersBlocksShuffle37",fill:"freeze",attributeName:"x",begin:"svgSpinnersBlocksShuffle33.end",dur:"0.2s",values:"13;1"})]}),e[1]=u):u=e[1];let s;e[2]===Symbol.for("react.memo_cache_sentinel")?(s=Y.jsxs("rect",{width:"10",height:"10",x:"13",y:"13",className:"fill-amber-600",rx:"1",children:[Y.jsx("animate",{id:"svgSpinnersBlocksShuffle38",fill:"freeze",attributeName:"x",begin:"svgSpinnersBlocksShuffle34.end",dur:"0.2s",values:"13;1"}),Y.jsx("animate",{id:"svgSpinnersBlocksShuffle39",fill:"freeze",attributeName:"y",begin:"svgSpinnersBlocksShuffle35.end",dur:"0.2s",values:"13;1"}),Y.jsx("animate",{id:"svgSpinnersBlocksShuffle3a",fill:"freeze",attributeName:"x",begin:"svgSpinnersBlocksShuffle36.end",dur:"0.2s",values:"1;13"}),Y.jsx("animate",{id:"svgSpinnersBlocksShuffle3b",fill:"freeze",attributeName:"y",begin:"svgSpinnersBlocksShuffle37.end",dur:"0.2s",values:"1;13"})]}),e[2]=s):s=e[2];let c;return e[3]!==i||e[4]!==a?(c=Y.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:a,viewBox:"0 0 24 24",children:[o,u,s]}),e[3]=i,e[4]=a,e[5]=c):c=e[5],c};function ER(t){const e=El.c(65),{maxHeight:r,maxWidth:n,filledPoints:i,datachart:a,globalData:o}=t,[u,s]=k.useState(window.innerWidth),[c,f]=k.useState(window.innerHeight);let l;e[0]===Symbol.for("react.memo_cache_sentinel")?(l=[],e[0]=l):l=e[0];const[p,d]=k.useState(l);let y;e[1]===Symbol.for("react.memo_cache_sentinel")?(y=[],e[1]=y):y=e[1];const[v,h]=k.useState(y);let x;e[2]===Symbol.for("react.memo_cache_sentinel")?(x=[],e[2]=x):x=e[2];const[O,b]=k.useState(x),[w,m]=k.useState(!1),[g,_]=k.useState(!0);let S;e[3]!==v?(S=Math.max(...v.map(kR)),e[3]=v,e[4]=S):S=e[4];const A=S;let j;e[5]===Symbol.for("react.memo_cache_sentinel")?(j=()=>{setTimeout(()=>{_(!1)},2e3)},e[5]=j):j=e[5];const T=j;let E,M;e[6]!==a?(E=()=>{a&&(h(a.green.sort(DR)),b(a.grey.sort(RR))),T()},M=[a],e[6]=a,e[7]=E,e[8]=M):(E=e[7],M=e[8]),k.useEffect(E,M);let $,I;e[9]!==v||e[10]!==O?($=()=>{const ye=O.map((je,$n)=>{if(je.fill){const Rn=O.slice($n+1,O.length).find($R);return{y1:v[$n].y,x1:v[$n].x,y2:je.y,x2:je.x,width:Rn?Rn.x-je.x:0,height:Rn?Rn.y-je.y:0,status:je.fill,version:"v"+$n}}return{y1:je.y,y2:je.y,x1:je.x,x2:je.x,width:0,height:0,version:0,status:!1}}).filter(IR);d(ye)},I=[v,O],e[9]=v,e[10]=O,e[11]=$,e[12]=I):($=e[11],I=e[12]),k.useEffect($,I);let D,q;e[13]===Symbol.for("react.memo_cache_sentinel")?(D=()=>{const ye=()=>{s(window.innerWidth),f(window.innerHeight),m(window.innerWidth<=1280)};return window.addEventListener("resize",ye),()=>{window.removeEventListener("resize",ye)}},q=[],e[13]=D,e[14]=q):(D=e[13],q=e[14]),k.useEffect(D,q);let L,U;e[15]===Symbol.for("react.memo_cache_sentinel")?(L=()=>{m(window.innerWidth<=1280)},U=[],e[15]=L,e[16]=U):(L=e[15],U=e[16]),k.useEffect(L,U);const W=w?u*.7:u*.35,K=w?c*.4:c*.5;let F;e[17]!==g||e[18]!==K||e[19]!==r||e[20]!==n||e[21]!==W?(F=g&&Y.jsx("div",{style:{to
63p:(r??K)/2,left:(n??W)/1.8},className:"absolute z-10 text-sm text-gray-500 dark:text-gray-400",children:Y.jsx(TR,{width:n??W,height:r??K})}),e[17]=g,e[18]=K,e[19]=r,e[20]=n,e[21]=W,e[22]=F):F=e[22];const H=n??W,ae=r??K;let ue;e[23]!==w?(ue=w?{top:20,right:20,bottom:20,left:20}:{top:20,right:50,bottom:20,left:50},e[23]=w,e[24]=ue):ue=e[24];const Ee=i?A:100;let qe;e[25]!==Ee?(qe=[0,Ee],e[25]=Ee,e[26]=qe):qe=e[26];let Oe,N;e[27]===Symbol.for("react.memo_cache_sentinel")?(Oe={fontSize:12,stroke:"hsl(var(--foreground))"},N={value:"Carbono embutido (kg COâ/m²)",position:"bottom"},e[27]=Oe,e[28]=N):(Oe=e[27],N=e[28]);let X;e[29]!==qe?(X=Y.jsx(va,{type:"number",dataKey:"x",name:"CO2",domain:qe,className:"stroke-foreground/50",tick:Oe,label:N}),e[29]=qe,e[30]=X):X=e[30];let V;e[31]===Symbol.for("react.memo_cache_sentinel")?(V=[0,1],e[31]=V):V=e[31];let R;e[32]===Symbol.for("react.memo_cache_sentinel")?(R={fontSize:12,stroke:"hsl(var(--foreground))"},e[32]=R):R=e[32];let se;e[33]===Symbol.for("react.memo_cache_sentinel")?(se=Y.jsx(ya,{type:"number",domain:V,dataKey:"y",name:"Cumulative",className:"stroke-foreground
63/50",tick:R,label:{value:"Cumulativo",angle:-90,position:"left",props:{className:"font-bold"}}}),e[33]=se):se=e[33];let J;e[34]===Symbol.for("react.memo_cache_sentinel")?(J=Y.jsx(it,{cursor:{strokeDasharray:"3 3"}}),e[34]=J):J=e[34];let le;e[35]!==g||e[36]!==v?(le=g?[]:v,e[35]=g,e[36]=v,e[37]=le):le=e[37];let fe;e[38]!==le?(fe=Y.jsx(Nt,{name:"Series 1",data:le,shape:MR,className:"stroke-accent-foreground/70! stroke-[0.5px]"}),e[38]=le,e[39]=fe):fe=e[39];let ge;e[40]!==g||e[41]!==(o==null?void 0:o.green)?(ge=g?[]:o==null?void 0:o.green,e[40]=g,e[41]=o==null?void 0:o.green,e[42]=ge):ge=e[42];let De;e[43]!==ge?(De=Y.jsx(Nt,{name:"Series global 1",data:ge,shape:CR,className:"stroke-accent-foreground/70! stroke-[0.5px]"}),e[43]=ge,e[44]=De):De=e[44];let Fe;e[45]!==g||e[46]!==O?(Fe=g?[]:O,e[45]=g,e[46]=O,e[47]=Fe):Fe=e[47];let Qe;e[48]!==Fe?(Qe=Y.jsx(Nt,{name:"Series 2",data:Fe,shape:jR,className:"stroke-foreground! stroke-[0.5px]"}),e[48]=Fe,e[49]=Qe):Qe=e[49];let Ne;e[50]!==g||e[51]!==p?(Ne=!g&&p.map((ye,je)=>Y.jsxs("g",{children:[Y.jsx(wn,{segment:[{x:ye.x1,y:ye.y1},{x:ye.x2+ye.width,y:ye.y2}],stroke:"red",strokeDasharray:"5 5",width:ye.width},je),Y.jsx(wn,{segment:[{x:ye.x2+ye.width,y:ye.y2+ye.height},{x:ye.x2+ye.width,y:ye.y2}],stroke:"green",strokeDasharray:"5 5",width:ye.height},je*p.length+1)]},je)),e[50]=g,e[51]=p,e[52]=Ne):Ne=e[52];let Be;e[53]!==H||e[54]!==ae||e[55]!==ue||e[56]!==X||e[57]!==fe||e[58]!==De||e[59]!==Qe||e[60]!==Ne?(Be=Y.jsxs(PR,{throttleDelay:1e3,width:H,height:ae,margin:ue,children:[X,se,J,fe,De,Qe,Ne]}),e[53]=H,e[54]=ae,e[55]=ue,e[56]=X,e[57]=fe,e[58]=De,e[59]=Qe,e[60]=Ne,e[61]=Be):Be=e[61];let _t;return e[62]!==F||e[63]!==Be?(_t=Y.jsx("div",{className:"flex h-full items-center justify-center p-2",children:Y.jsxs("div",{className:"rounded-lg p-8 shadow-lg relative",children:[F,Be]})}),e[62]=F,e[63]=Be,e[64]=_t):_t=e[64],_t}function jR(t){const{cx:e,cy:r,payload:n}=t;return Y.jsxs("g",{children:[Y.jsx("circle",{cx:e,cy:r,r:4,"data-isglobal":n!=null&&n.isGlobal?n.isGlobal:!1,"data-filled":(n==null?void 0:n.fill)&&!n.isGlobal,className:"fill-zinc-700 data-[filled=true]:fill-red-500 dark:fill-zinc-200 dark:data-[key=not-filled]:fill-zinc-400 data-[isglobal=true]:fill-accent-foreground/70 data-[isglobal=false]:stroke-1! data-[isglobal=false]:stroke-red-500!"}),Y.jsx("text",{x:e-20,y:r-10,dominantBaseline:"middle",fontSize:12,fill:"#000000",className:"dark:fill-zinc-200",children:n!=null&&n.label?n.label:""})]})}function CR(t){const{cx:e,cy:r,payload:n}=t;return Y.jsxs("g",{children:[Y.jsx("circle",{cx:e,cy:r,r:4,"data-isglobal":!!(n!=null&&n.isGlobal),"data-filled":(n==null?void 0:n.fill)&&!n.isGlobal,className:"fill-accent-foreground dark:stroke-primary dark:stroke-1! data-[isglobal=true]:fill-accent-foreground/50! data-[isglobal=true]:stroke-0! data-[filled=true]:fill-primary!"}),Y.jsx("text",{x:e+10,y:r-10,textAnchor:"left",dominantBaseline:"middle",fontSize:12,fill:"#000000",className:"dark:fill-zinc-200",children:n!=null&&n.label?n.label:""})]})}function MR(t){const{cx:e,cy:r,payload:n}=t;return Y.jsxs("g",{children:[Y.jsx("circle",{cx:e,cy:r,r:4,"data-isglobal":!!(n!=null&&n.isGlobal),"data-filled":(n==null?void 0:n.fill)&&!n.isGlobal,className:"fill-accent-foreground dark:stroke-primary dark:stroke-1! data-[isglobal=true]:fill-accent-foreground/50! data-[isglobal=true]:stroke-0! data-[filled=true]:fill-primary!"}),Y.jsx("text",{x:e+10,y:r-10,textAnchor:"left",dominantBaseline:"middle",fontSize:12,fill:"#000000",className:"dark:fill-zinc-200",children:n!=null&&n.label?n.label:""})]})}function IR(t){return t.status===!0}function $R(t){return t.fill}function RR(t,e){return t.x-e.x}function DR(t,e){return t.x-e.x}function kR(t){return t.x}const UR=function(){const e=El.c(8),{t:r}=B0();let n;e[0]!==r.dashboard.title?(n=Y.jsx("h1",{children:r.dashboard.title}),e[0]=r.dashboard.title,e[1]=n):n=e[1];let i;e[2]!==r.dashboard.description?(i=Y.jsx("p",{children:r.dashboard.description}),e[2]=r.dashboard.description,e[3]=i):i=e[3];let a;e[4]===Symbol.for("react.memo_cache_sentinel")?(a=Y.jsx(ER,{}),e[4]=a):a=e[4];let o;return e[5]!==n||e[6]!==i?(o=Y.jsxs("div",{children:[n,i,a]}),e[5]=n,e[6]=i,e[7]=o):o=e[7],o};export{UR as component};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.