PageSourceSearch

https://crmgenesis.com/_next/static/chunks/7218-7a0e4647716ffec1.js

js crmgenesis.com collected 2026-10-05 01:38:47 UTC 464,187 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7218],{675:(t,e,r)=>{"use strict";r.d(e,{R:()=>n});var n=function(t,e){for(var r=arguments.length,n=Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o]}},2348:(t,e,r)=>{"use strict";r.d(e,{W:()=>c});var n=r(12115),o=r(52596),i=r(70788),a=["children","className"];function u(){return(u=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}).apply(this,arguments)}var c=n.forwardRef(function(t,e){var r=t.children,c=t.className,l=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)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}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,a),s=(0,o.A)("recharts-layer",c);return n.createElement("g",u({className:s},(0,i.J9)(l,!0),{ref:e}),r)})},2494:(t,e,r)=>{"use strict";r.d(e,{s:()=>u});var n=r(3711),o=r.n(n),i=r(40139),a=r.n(i);function u(t,e,r){return!0===e?o()(t,r):a()(e)?o()(t,e):t}},3562:t=>{t.exports=function(t,e,r,n){for(var o=t.length,i=r+(n?1:-1);n?i--:++i<o;)if(e(t[i],i,t))return i;return -1}},3698:(t,e,r)=>{var n=r(77969),o=r(69363);t.exports=function(t,e){return n(o(t,e),1)}},3711:(t,e,r)=>{var n=r(18028),o=r(65836);t.exports=function(t,e){return t&&t.length?o(t,n(e,2)):[]}},4217:(t,e,r)=>{var n=r(36713),o=/^\s+/;t.exports=function(t){return t?t.slice(0,n(t)+1).replace(o,""):t}},4854:(t,e,r)=>{var n=r(67472),o=r(51911);t.exports=function(t,e,r,i){var a=r.length,u=a,c=!i;if(null==t)return!u;for(t=Object(t);a--;){var l=r[a];if(c&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++a<u;){var s=(l=r[a])[0],f=t[s],p=l[1];if(c&&l[2]){if(void 0===f&&!(s in t))return!1}else{var d=new n;if(i)var h=i(f,p,s,t,e,d);if(!(void 0===h?o(p,f,3,i,d):h))return!1}}return!0}},5516:(t,e,r)=>{var n=r(5658);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=+(r.size!=o),this}},5658:(t,e,r)=>{var n=r(30699);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},6305:(t,e,r)=>{var n=r(53516),o=r(22471);t.exports=function(t,e){var r=-1,i=o(t)?Array(t.length):[];return n(t,function(t,n,o){i[++r]=e(t,n,o)}),i}},6997:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},7512:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},7548:(t,e,r)=>{var n=r(16746);t.exports=function(t,e){return!!(null==t?0:t.length)&&n(t,e,0)>-1}},7771:(t,e,r)=>{var n=r(31598),o=r(18686),i=r(88748);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!o||a.length<199)return a.push([t,e]),this.size=++r.size,this;r=this.__data__=new i(a)}return r.set(t,e),this.size=r.size,this}},7985:(t,e,r)=>{t.exports="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g},8619:(t,e,r)=>{"use strict";r.d(e,{d:()=>u});var n=r(12115),o=r(59779),i=r(51508),a=r(82885);function u(t){let e=(0,a.M)(()=>(0,o.OQ)(t)),{isStatic:r}=(0,n.useContext)(i.Q);if(r){let[,r]=(0,n.useState)(t);(0,n.useEffect)(()=>e.on("change",r),[])}return e}},8870:function(t,e,r){var n;!function(o){"use strict";var i,a={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},u=!0,c="[DecimalError] ",l=c+"Invalid argument: ",s=c+"Exponent out of range: ",f=Math.floor,p=Math.pow,d=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,h=f(1286742750677284.5),y={};function v(t,e){var r,n,o,i,a,c,l,s,f=t.constructor,p=f.precision;if(!t.s||!e.s)return e.s||(e=new f(t)),u?P(e,p):e;if(l=t.d,s=e.d,a=t.e,o=e.e,l=l.slice(),i=a-o){for(i<0?(n=l,i=-i,c=s.length):(n=s,o=a,c=l.length),i>(c=(a=Math.ceil(p/7))>c?a+1:c+1)&&(i=c,n.length=1),n.reverse();i--;)n.push(0);n.reverse()}for((c=l.length)-(i=s.length)<0&&(i=c,n=s,s=l,l=n),r=0;i;)r=(l[--i]=l[i]+s[i]+r)/1e7|0,l[i]%=1e7;for(r&&(l.unshift(r),++o),c=l.length;0==l[--c];)l.pop();return e.d=l,e.e=o,u?P(e,p):e}function m(t,e,r){if(t!==~~t||t<e||t>r)throw Error(l+t)}function g(t){var e,r,n,o=t.length-1,i="",a=t[0];if(o>0){for(i+=a,e=1;e<o;e++)(r=7-(n=t[e]+"").length)&&(i+=j(r)),i+=n;(r=7-(n=(a=t[e])+"").length)&&(i+=j(r))}else if(0===a)return"0";for(;a%10==0;)a/=10;return i+a}y.absoluteValue=y.abs=function(){var t=new this.constructor(this);return t.s&&(t.s=1),t},y.comparedTo=y.cmp=function(t){var e,r,n,o;if(t=new this.constructor(t),this.s!==t.s)return this.s||-t.s;if(this.e!==t.e)return this.e>t.e^this.s<0?1:-1;for(e=0,r=(n=this.d.length)<(o=t.d.length)?n:o;e<r;++e)if(this.d[e]!==t.d[e])return this.d[e]>t.d[e]^this.s<0?1:-1;return n===o?0:n>o^this.s<0?1:-1},y.decimalPlaces=y.dp=function(){var t=this.d.length-1,e=(t-this.e)*7;if(t=this.d[t])for(;t%10==0;t/=10)e--;return e<0?0:e},y.dividedBy=y.div=function(t){return b(this,new this.constructor(t))},y.dividedToIntegerBy=y.idiv=function(t){var e=this.constructor;return P(b(this,new e(t),0,1),e.precision)},y.equals=y.eq=function(t){return!this.cmp(t)},y.exponent=function(){return w(this)},y.greaterThan=y.gt=function(t){return this.cmp(t)>0},y.greaterThanOrEqualTo=y.gte=function(t){return this.cmp(t)>=0},y.isInteger=y.isint=function(){return this.e>this.d.length-2},y.isNegative=y.isneg=function(){return this.s<0},y.isPositive=y.ispos=function(){return this.s>0},y.isZero=function(){return 0===this.s},y.lessThan=y.lt=function(t){return 0>this.cmp(t)},y.lessThanOrEqualTo=y.lte=function(t){return 1>this.cmp(t)},y.logarithm=y.log=function(t){var e,r=this.constructor,n=r.precision,o=n+5;if(void 0===t)t=new r(10);else if((t=new r(t)).s<1||t.eq(i))throw Error(c+"NaN");if(this.s<1)throw Error(c+(this.s?"NaN":"-Infinity"));return this.eq(i)?new r(0):(u=!1,e=b(S(this,o),S(t,o),o),u=!0,P(e,n))},y.minus=y.sub=function(t){return t=new this.constructor(t),this.s==t.s?E(this,t):v(this,(t.s=-t.s,t))},y.modulo=y.mod=function(t){var e,r=this.constructor,n=r.precision;if(!(t=new r(t)).s)throw Error(c+"NaN");return this.s?(u=!1,e=b(this,t,0,1).times(t),u=!0,this.minus(e)):P(new r(this),n)},y.naturalExponential=y.exp=function(){return x(this)},y.naturalLogarithm=y.ln=function(){return S(this)},y.negated=y.neg=function(){var t=new this.constructor(this);return t.s=-t.s||0,t},y.plus=y.add=function(t){return t=new this.constructor(t),this.s==t.s?v(this,t):E(this,(t.s=-t.s,t))},y.precision=y.sd=function(t){var e,r,n;if(void 0!==t&&!!t!==t&&1!==t&&0!==t)throw Error(l+t);if(e=w(this)+1,r=7*(n=this.d.length-1)+1,n=this.d[n]){for(;n%10==0;n/=10)r--;for(n=this.d[0];n>=10;
1n/=10)r++}return t&&e>r?e:r},y.squareRoot=y.sqrt=function(){var t,e,r,n,o,i,a,l=this.constructor;if(this.s<1){if(!this.s)return new l(0);throw Error(c+"NaN")}for(t=w(this),u=!1,0==(o=Math.sqrt(+this))||o==1/0?(((e=g(this.d)).length+t)%2==0&&(e+="0"),o=Math.sqrt(e),t=f((t+1)/2)-(t<0||t%2),n=new l(e=o==1/0?"5e"+t:(e=o.toExponential()).slice(0,e.indexOf("e")+1)+t)):n=new l(o.toString()),o=a=(r=l.precision)+3;;)if(n=(i=n).plus(b(this,i,a+2)).times(.5),g(i.d).slice(0,a)===(e=g(n.d)).slice(0,a)){if(e=e.slice(a-3,a+1),o==a&&"4999"==e){if(P(i,r+1,0),i.times(i).eq(this)){n=i;break}}else if("9999"!=e)break;a+=4}return u=!0,P(n,r)},y.times=y.mul=function(t){var e,r,n,o,i,a,c,l,s,f=this.constructor,p=this.d,d=(t=new f(t)).d;if(!this.s||!t.s)return new f(0);for(t.s*=this.s,r=this.e+t.e,(l=p.length)<(s=d.length)&&(i=p,p=d,d=i,a=l,l=s,s=a),i=[],n=a=l+s;n--;)i.push(0);for(n=s;--n>=0;){for(e=0,o=l+n;o>n;)c=i[o]+d[n]*p[o-n-1]+e,i[o--]=c%1e7|0,e=c/1e7|0;i[o]=(i[o]+e)%1e7|0}for(;!i[--a];)i.pop();return e?++r:i.shift(),t.d=i,t.e=r,u?P(t,f.precision):t},y.toDecimalPlaces=y.todp=function(t,e){var r=this,n=r.constructor;
1return(r=new n(r),void 0===t)?r:(m(t,0,1e9),void 0===e?e=n.rounding:m(e,0,8),P(r,t+w(r)+1,e))},y.toExponential=function(t,e){var r,n=this,o=n.constructor;return void 0===t?r=k(n,!0):(m(t,0,1e9),void 0===e?e=o.rounding:m(e,0,8),r=k(n=P(new o(n),t+1,e),!0,t+1)),r},y.toFixed=function(t,e){var r,n,o=this.constructor;return void 0===t?k(this):(m(t,0,1e9),void 0===e?e=o.rounding:m(e,0,8),r=k((n=P(new o(this),t+w(this)+1,e)).abs(),!1,t+w(n)+1),this.isneg()&&!this.isZero()?"-"+r:r)},y.toInteger=y.toint=function(){var t=this.constructor;return P(new t(this),w(this)+1,t.rounding)},y.toNumber=function(){return+this},y.toPower=y.pow=function(t){var e,r,n,o,a,l,s=this,p=s.constructor,d=+(t=new p(t));if(!t.s)return new p(i);if(!(s=new p(s)).s){if(t.s<1)throw Error(c+"Infinity");return s}if(s.eq(i))return s;if(n=p.precision,t.eq(i))return P(s,n);if(l=(e=t.e)>=(r=t.d.length-1),a=s.s,l){if((r=d<0?-d:d)<=0x1fffffffffffff){for(o=new p(i),e=Math.ceil(n/7+4),u=!1;r%2&&M((o=o.times(s)).d,e),0!==(r=f(r/2));)M((s=s.times(s)).d,e);return u=!0,t.s<0?new p(i).div(o):P(o,n)}}else if(a<0)throw Error(c+"NaN");return a=a<0&&1&t.d[Math.max(e,r)]?-1:1,s.s=1,u=!1,o=t.times(S(s,n+12)),u=!0,(o=x(o)).s=a,o},y.toPrecision=function(t,e){var r,n,o=this,i=o.constructor;return void 0===t?(r=w(o),n=k(o,r<=i.toExpNeg||r>=i.toExpPos)):(m(t,1,1e9),void 0===e?e=i.rounding:m(e,0,8),r=w(o=P(new i(o),t,e)),n=k(o,t<=r||r<=i.toExpNeg,t)),n},y.toSignificantDigits=y.tosd=function(t,e){var r=this.constructor;return void 0===t?(t=r.precision,e=r.rounding):(m(t,1,1e9),void 0===e?e=r.rounding:m(e,0,8)),P(new r(this),t,e)},y.toString=y.valueOf=y.val=y.toJSON=function(){var t=w(this),e=this.constructor;return k(this,t<=e.toExpNeg||t>=e.toExpPos)};var b=function(){function t(t,e){var r,n=0,o=t.length;for(t=t.slice();o--;)r=t[o]*e+n,t[o]=r%1e7|0,n=r/1e7|0;return n&&t.unshift(n),t}function e(t,e,r,n){var o,i;if(r!=n)i=r>n?1:-1;else for(o=i=0;o<r;o++)if(t[o]!=e[o]){i=t[o]>e[o]?1:-1;break}return i}function r(t,e,r){for(var n=0;r--;)t[r]-=n,n=+(t[r]<e[r]),t[r]=1e7*n+t[r]-e[r];for(;!t[0]&&t.length>1;)t.shift()}return function(n,o,i,a){var u,l,s,f,p,d,h,y,v,m,g,b,x,O,j,S,A,E,k=n.constructor,M=n.s==o.s?1:-1,T=n.d,_=o.d;if(!n.s)return new k(n);if(!o.s)throw Error(c+"Division by zero");for(s=0,l=n.e-o.e,A=_.length,j=T.length,y=(h=new k(M)).d=[];_[s]==(T[s]||0);)++s;if(_[s]>(T[s]||0)&&--l,(b=null==i?i=k.precision:a?i+(w(n)-w(o))+1:i)<0)return new k(0);if(b=b/7+2|0,s=0,1==A)for(f=0,_=_[0],b++;(s<j||f)&&b--;s++)x=1e7*f+(T[s]||0),y[s]=x/_|0,f=x%_|0;else{for((f=1e7/(_[0]+1)|0)>1&&(_=t(_,f),T=t(T,f),A=_.length,j=T.length),O=A,m=(v=T.slice(0,A)).length;m<A;)v[m++]=0;(E=_.slice()).unshift(0),S=_[0],_[1]>=1e7/2&&++S;do f=0,(u=e(_,v,A,m))<0?(g=v[0],A!=m&&(g=1e7*g+(v[1]||0)),(f=g/S|0)>1?(f>=1e7&&(f=1e7-1),d=(p=t(_,f)).length,m=v.length,1==(u=e(p,v,d,m))&&(f--,r(p,A<d?E:_,d))):(0==f&&(u=f=1),p=_.slice()),(d=p.length)<m&&p.unshift(0),r(v,p,m),-1==u&&(m=v.length,(u=e(_,v,A,m))<1&&(f++,r(v,A<m?E:_,m))),m=v.length):0===u&&(f++,v=[0]),y[s++]=f,u&&v[0]?v[m++]=T[O]||0:(v=[T[O]],m=1);while((O++<j||void 0!==v[0])&&b--)}return y[0]||y.shift(),h.e=l,P(h,a?i+w(h)+1:i)}}();function x(t,e){var r,n,o,a,c,l=0,f=0,d=t.constructor,h=d.precision;if(w(t)>16)throw Error(s+w(t));if(!t.s)return new d(i);for(null==e?(u=!1,c=h):c=e,a=new d(.03125);t.abs().gte(.1);)t=t.times(a),f+=5;for(c+=Math.log(p(2,f))/Math.LN10*2+5|0,r=n=o=new d(i),d.precision=c;;){if(n=P(n.times(t),c),r=r.times(++l),g((a=o.plus(b(n,r,c))).d).slice(0,c)===g(o.d).slice(0,c)){for(;f--;)o=P(o.times(o),c);return d.precision=h,null==e?(u=!0,P(o,h)):o}o=a}}function w(t){for(var e=7*t.e,r=t.d[0];r>=10;r/=10)e++;return e}function O(t,e,r){if(e>t.LN10.sd())throw u=!0,r&&(t.precision=r),Error(c+"LN10 precision limit exceeded");return P(new t(t.LN10),e)}function j(t){for(var e="";t--;)e+="0";return e}function S(t,e){var r,n,o,a,l,s,f,p,d,h=1,y=t,v=y.d,m=y.constructor,x=m.precision;if(y.s<1)throw Error(c+(y.s?"NaN":"-Infinity"));if(y.eq(i))return new m(0);if(null==e?(u=!1,p=x):p=e,y.eq(10))return null==e&&(u=!0),O(m,p);if(m.precision=p+=10,n=(r=g(v)).charAt(0),!(15e14>Math.abs(a=w(y))))return f=O(m,p+2,x).times(a+""),y=S(new m(n+"."+r.slice(1)),p-10).plus(f),m.precision=x,null==e?(u=!0,P(y,x)):y;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=g((y=y.times(t)).d)).charAt(0),h++;for(a=w(y),n>1?(y=new m("0."+r),a++):y=new m(n+"."+r.slice(1)),s=l=y=b(y.minus(i),y.plus(i),p),d=P(y.times(y),p),o=3;;){if(l=P(l.times(d),p),g((f=s.plus(b(l,new m(o),p))).d).slice(0,p)===g(s.d).slice(0,p))return s=s.times(2),0!==a&&(s=s.plus(O(m,p+2,x).times(a+""))),s=b(s,new m(h),p),m.precision=x,null==e?(u=!0,P(s,x)):s;s=f,o+=2}}function A(t,e){var r,n,o;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;48===e.charCodeAt(n);)++n;for(o=e.length;48===e.charCodeAt(o-1);)--o;
1if(e=e.slice(n,o)){if(o-=n,t.e=f((r=r-n-1)/7),t.d=[],n=(r+1)%7,r<0&&(n+=7),n<o){for(n&&t.d.push(+e.slice(0,n)),o-=7;n<o;)t.d.push(+e.slice(n,n+=7));n=7-(e=e.slice(n)).length}else n-=o;for(;n--;)e+="0";if(t.d.push(+e),u&&(t.e>h||t.e<-h))throw Error(s+r)}else t.s=0,t.e=0,t.d=[0];return t}function P(t,e,r){var n,o,i,a,c,l,d,y,v=t.d;for(a=1,i=v[0];i>=10;i/=10)a++;if((n=e-a)<0)n+=7,o=e,d=v[y=0];else{if((y=Math.ceil((n+1)/7))>=(i=v.length))return t;for(a=1,d=i=v[y];i>=10;i/=10)a++;n%=7,o=n-7+a}if(void 0!==r&&(c=d/(i=p(10,a-o-1))%10|0,l=e<0||void 0!==v[y+1]||d%i,l=r<4?(c||l)&&(0==r||r==(t.s<0?3:2)):c>5||5==c&&(4==r||l||6==r&&(n>0?o>0?d/p(10,a-o):0:v[y-1])%10&1||r==(t.s<0?8:7))),e<1||!v[0])return l?(i=w(t),v.length=1,e=e-i-1,v[0]=p(10,(7-e%7)%7),t.e=f(-e/7)||0):(v.length=1,v[0]=t.e=t.s=0),t;if(0==n?(v.length=y,i=1,y--):(v.length=y+1,i=p(10,7-n),v[y]=o>0?(d/p(10,a-o)%p(10,o)|0)*i:0),l)for(;;)if(0==y){1e7==(v[0]+=i)&&(v[0]=1,++t.e);break}else{if(v[y]+=i,1e7!=v[y])break;v[y--]=0,i=1}for(n=v.length;0===v[--n];)v.pop();if(u&&(t.e>h||t.e<-h))throw Error(s+w(t));return t}function E(t,e){var r,n,o,i,a,c,l,s,f,p,d=t.constructor,h=d.precision;if(!t.s||!e.s)return e.s?e.s=-e.s:e=new d(t),u?P(e,h):e;if(l=t.d,p=e.d,n=e.e,s=t.e,l=l.slice(),a=s-n){for((f=a<0)?(r=l,a=-a,c=p.length):(r=p,n=s,c=l.length),a>(o=Math.max(Math.ceil(h/7),c)+2)&&(a=o,r.length=1),r.reverse(),o=a;o--;)r.push(0);r.reverse()}else{for((f=(o=l.length)<(c=p.length))&&(c=o),o=0;o<c;o++)if(l[o]!=p[o]){f=l[o]<p[o];break}a=0}for(f&&(r=l,l=p,p=r,e.s=-e.s),c=l.length,o=p.length-c;o>0;--o)l[c++]=0;for(o=p.length;o>a;){if(l[--o]<p[o]){for(i=o;i&&0===l[--i];)l[i]=1e7-1;--l[i],l[o]+=1e7}l[o]-=p[o]}for(;0===l[--c];)l.pop();for(;0===l[0];l.shift())--n;return l[0]?(e.d=l,e.e=n,u?P(e,h):e):new d(0)}function k(t,e,r){var n,o=w(t),i=g(t.d),a=i.length;return e?(r&&(n=r-a)>0?i=i.charAt(0)+"."+i.slice(1)+j(n):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(o<0?"e":"e+")+o):o<0?(i="0."+j(-o-1)+i,r&&(n=r-a)>0&&(i+=j(n))):o>=a?(i+=j(o+1-a),r&&(n=r-o-1)>0&&(i=i+"."+j(n))):((n=o+1)<a&&(i=i.slice(0,n)+"."+i.slice(n)),r&&(n=r-a)>0&&(o+1===a&&(i+="."),i+=j(n))),t.s<0?"-"+i:i}function M(t,e){if(t.length>e)return t.length=e,!0}function T(t){if(!t||"object"!=typeof t)throw Error(c+"Object expected");var e,r,n,o=["precision",1,1e9,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(e=0;e<o.length;e+=3)if(void 0!==(n=t[r=o[e]]))if(f(n)===n&&n>=o[e+1]&&n<=o[e+2])this[r]=n;else throw Error(l+r+": "+n);if(void 0!==(n=t[r="LN10"]))if(n==Math.LN10)this[r]=new this(n);else throw Error(l+r+": "+n);return this}(a=function t(e){var r,n,o;function i(t){if(!(this instanceof i))return new i(t);if(this.constructor=i,t instanceof i){this.s=t.s,this.e=t.e,this.d=(t=t.d)?t.slice():t;return}if("number"==typeof t){if(0*t!=0)throw Error(l+t);if(t>0)this.s=1;else if(t<0)t=-t,this.s=-1;else{this.s=0,this.e=0,this.d=[0];return}if(t===~~t&&t<1e7){this.e=0,this.d=[t];return}return A(this,t.toString())}if("string"!=typeof t)throw Error(l+t);if(45===t.charCodeAt(0)?(t=t.slice(1),this.s=-1):this.s=1,d.test(t))A(this,t);else throw Error(l+t)}if(i.prototype=y,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=t,i.config=i.set=T,void 0===e&&(e={}),e)for(r=0,o=["precision","rounding","toExpNeg","toExpPos","LN10"];r<o.length;)e.hasOwnProperty(n=o[r++])||(e[n]=this[n]);return i.config(e),i}(a)).default=a.Decimal=a,i=new a(1),void 0===(n=(function(){return a}).call(e,r,e,t))||(t.exports=n)}(0)},9699:(t,e,r)=>{var n=r(11011);t.exports=function(t,e,r){for(var o=-1,i=t.criteria,a=e.criteria,u=i.length,c=r.length;++o<u;){var l=n(i[o],a[o]);if(l){if(o>=c)return l;return l*("desc"==r[o]?-1:1)}}return t.index-e.index}},9795:(t,e,r)=>{"use strict";r.d(e,{i:()=>D});var n=r(12115),o=r(23633),i=r.n(o);let a=Math.cos,u=Math.sin,c=Math.sqrt,l=Math.PI,s=2*l,f={draw(t,e){let r=c(e/l);t.moveTo(r,0),t.arc(0,0,r,0,s)}},p=c(1/3),d=2*p,h=u(l/10)/u(7*l/10),y=u(s/10)*h,v=-a(s/10)*h,m=c(3),g=c(3)/2,b=1/c(12),x=(b/2+1)*3;var w=r(85654),O=r(31847);c(3),c(3);var j=r(52596),S=r(70788);function A(t){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var P=["type","size","sizeType"];function E(){return(E=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function k(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function M(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?k(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=A(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=A(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==A(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):k(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var T={symbolCircle:f,symbolCross:{draw(t,e){let r=c(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()}},symbolDiamond:{draw(t,e){let r=c(e/d),n=r*p;t.moveTo(0,-r),t.lineTo(n,0),t.lineTo(0,r),t.lineTo(-n,0),t.closePath()}},symbolSquare:{draw(t,e){let r=c(e),n=-r/2;t.rect(n,n,r,r)}},symbolStar:{draw(t,e){let r=c(.8908130915292852*e),n=y*r,o=v*r;t.moveTo(0,-r),t.lineTo(n,o);for(let e=1;e<5;++e){let i=s*e/5,c=a(i),l=u(i);t.lineTo(l*r,-c*r),t.lineTo(c*n-l*o,l*n+c*o)}t.closePath()}},symbolTriangle:{draw(t,e){let r=-c(e/(3*m));t.moveTo(0,2*r),t.lineTo(-m*r,-r),t.lineTo(m*r,-r),t.closePath()}},symbolWye:{draw(t,e){let r=c(e/x),n=r/2,o=r*b,i=r*b+r,a=-n;t.moveTo(n,o),t.lineTo(n,i),t.lineTo(a,i),t.lineTo(-.5*n-g*o,g*n+-.5*o),t.lineTo(-.5*n-g*i,g*n+-.5*i),t.lineTo(-.5*a-g*i,g*a+-.5*i),t.lineTo(-.5*n+g*o,-.5*o-g*n),t.lineTo(-.5*n+g*i,-.5*i-g*n),t.lineTo(-.5*a+g*i,-.5*i-g*a),t.closePath()}}},_=Math.PI/180,C=function(t,e,r){if("area"===e)return t;switch(r){case"cross":return 5*t*t/9;case"diamond":return .5*t*t/Math.sqrt(3);case"square":return t*t;case"star":var n=18*_;return 1.25*t*t*(Math.tan(n)-Math.tan(2*n)*Math.pow(Math.tan(n),2));case"triangle":return Math.sqrt(3)*t*t/4;case"wye":return(21-10*Math.sqrt(3))*t*t/8;default:return Math.PI*t*t/4}},D=function(t){var e,r=t.type,o=void 0===r?"circle":r,a=t.size,u=void 0===a?64:a,c=t.sizeType,l=void 0===c?"area":c,s=M(M({},function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)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}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,P)),{},{type:o,size:u,sizeType:l}),p=s.className,d=s.cx,h=s.cy,y=(0,S.J9)(s,!0);return d===+d&&h===+h&&u===+u?n.createElement("path",E({}
1,y,{className:(0,j.A)("recharts-symbols",p),transform:"translate(".concat(d,", ").concat(h,")"),d:(e=T["symbol".concat(i()(o))]||f,(function(t,e){let r=null,n=(0,O.i)(o);function o(){let o;if(r||(r=o=n()),t.apply(this,arguments).draw(r,+e.apply(this,arguments)),o)return r=null,o+""||null}return t="function"==typeof t?t:(0,w.A)(t||f),e="function"==typeof e?e:(0,w.A)(void 0===e?64:+e),o.type=function(e){return arguments.length?(t="function"==typeof e?e:(0,w.A)(e),o):t},o.size=function(t){return arguments.length?(e="function"==typeof t?t:(0,w.A)(+t),o):e},o.context=function(t){return arguments.length?(r=null==t?null:t,o):r},o})().type(e).size(C(u,l,o))())})):null};D.registerSymbol=function(t,e){T["symbol".concat(i()(t))]=e}},9813:(t,e,r)=>{var n=r(22143),o=r(48611),i=Object.prototype,a=i.hasOwnProperty,u=i.propertyIsEnumerable;t.exports=n(function(){return arguments}())?n:function(t){return o(t)&&a.call(t,"callee")&&!u.call(t,"callee")}},9819:(t,e,r)=>{"use strict";function n(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}r.d(e,{A:()=>n}),Array.prototype.slice},10537:(t,e,r)=>{var n=r(96540),o=r(31598),i=r(18686);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},11011:(t,e,r)=>{var n=r(70771);t.exports=function(t,e){if(t!==e){var r=void 0!==t,o=null===t,i=t==t,a=n(t),u=void 0!==e,c=null===e,l=e==e,s=n(e);if(!c&&!s&&!a&&t>e||a&&u&&l&&!c&&!s||o&&u&&l||!r&&l||!i)return 1;if(!o&&!a&&!s&&t<e||s&&r&&i&&!o&&!a||c&&r&&i||!u&&i||!l)return -1}return 0}},11031:(t,e,r)=>{"use strict";r.d(e,{UC:()=>t_,YJ:()=>tD,q7:()=>tN,p4:()=>tR,JU:()=>tI,ZL:()=>tT,bL:()=>tE,wv:()=>tB,l9:()=>tk,WT:()=>tM,LM:()=>tC});var n=r(12115),o=r(47650);function i(t,[e,r]){return Math.min(r,Math.max(e,t))}var a=r(85185),u=r(57683),c=r(6101),l=r(46081),s=r(94315),f=r(19178),p=r(92293),d=r(25519),h=r(61285),y=r(38795),v=r(34378),m=r(63540),g=r(95155),b=Symbol("radix.slottable");function x(t){return n.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===b}var w=r(39033),O=r(5845),j=r(52712),S=r(45503),A=r(2564),P=r(38168),E=r(93795),k=[" ","Enter","ArrowUp","ArrowDown"],M=[" ","Enter"],T="Select",[_,C,D]=(0,u.N)(T),[I,N]=(0,l.A)(T,[D,y.Bk]),R=(0,y.Bk)(),[B,L]=I(T),[z,F]=I(T),U=t=>{let{__scopeSelect:e,children:r,open:o,defaultOpen:i,onOpenChange:a,value:u,defaultValue:c,onValueChange:l,dir:f,name:p,autoComplete:d,disabled:v,required:m,form:b}=t,x=R(e),[w,j]=n.useState(null),[S,A]=n.useState(null),[P,E]=n.useState(!1),k=(0,s.jH)(f),[M,C]=(0,O.i)({prop:o,defaultProp:null!=i&&i,onChange:a,caller:T}),[D,I]=(0,O.i)({prop:u,defaultProp:c,onChange:l,caller:T}),N=n.useRef(null),L=!w||b||!!w.closest("form"),[F,U]=n.useState(new Set),W=Array.from(F).map(t=>t.props.value).join(";");return(0,g.jsx)(y.bL,{...x,children:(0,g.jsxs)(B,{required:m,scope:e,trigger:w,onTriggerChange:j,valueNode:S,onValueNodeChange:A,valueNodeHasChildren:P,onValueNodeHasChildrenChange:E,contentId:(0,h.B)(),value:D,onValueChange:I,open:M,onOpenChange:C,dir:k,triggerPointerDownPosRef:N,disabled:v,children:[(0,g.jsx)(_.Provider,{scope:e,children:(0,g.jsx)(z,{scope:t.__scopeSelect,onNativeOptionAdd:n.useCallback(t=>{U(e=>new Set(e).add(t))},[]),onNativeOptionRemove:n.useCallback(t=>{U(e=>{let r=new Set(e);return r.delete(t),r})},[]),children:r})}),L?(0,g.jsxs)(tj,{"aria-hidden":!0,required:m,tabIndex:-1,name:p,autoComplete:d,value:D,onChange:t=>I(t.target.value),disabled:v,form:b,children:[void 0===D?(0,g.jsx)("option",{value:""}):null,Array.from(F)]},W):null]})})};U.displayName=T;var W="SelectTrigger",H=n.forwardRef((t,e)=>{let{__scopeSelect:r,disabled:o=!1,...i}=t,u=R(r),l=L(W,r),s=l.disabled||o,f=(0,c.s)(e,l.onTriggerChange),p=C(r),d=n.useRef("touch"),[h,v,b]=tA(t=>{let e=p().filter(t=>!t.disabled),r=e.find(t=>t.value===l.value),n=tP(e,t,r);void 0!==n&&l.onValueChange(n.value)}),x=t=>{s||(l.onOpenChange(!0),b()),t&&(l.triggerPointerDownPosRef.current={x:Math.round(t.pageX),y:Math.round(t.pageY)})};return(0,g.jsx)(y.Mz,{asChild:!0,...u,children:(0,g.jsx)(m.sG.button,{type:"button",role:"combobox","aria-controls":l.contentId,"aria-expanded":l.open,"aria-required":l.required,"aria-autocomplete":"none",dir:l.dir,"data-state":l.open?"open":"closed",disabled:s,"data-disabled":s?"":void 0,"data-placeholder":tS(l.value)?"":void 0,...i,ref:f,onClick:(0,a.mK)(i.onClick,t=>
1{t.currentTarget.focus(),"mouse"!==d.current&&x(t)}),onPointerDown:(0,a.mK)(i.onPointerDown,t=>{d.current=t.pointerType;let e=t.target;e.hasPointerCapture(t.pointerId)&&e.releasePointerCapture(t.pointerId),0===t.button&&!1===t.ctrlKey&&"mouse"===t.pointerType&&(x(t),t.preventDefault())}),onKeyDown:(0,a.mK)(i.onKeyDown,t=>{let e=""!==h.current;t.ctrlKey||t.altKey||t.metaKey||1!==t.key.length||v(t.key),(!e||" "!==t.key)&&k.includes(t.key)&&(x(),t.preventDefault())})})})});H.displayName=W;var $="SelectValue",V=n.forwardRef((t,e)=>{let{__scopeSelect:r,className:n,style:o,children:i,placeholder:a="",...u}=t,l=L($,r),{onValueNodeHasChildrenChange:s}=l,f=void 0!==i,p=(0,c.s)(e,l.onValueNodeChange);return(0,j.N)(()=>{s(f)},[s,f]),(0,g.jsx)(m.sG.span,{...u,ref:p,style:{pointerEvents:"none"},children:tS(l.value)?(0,g.jsx)(g.Fragment,{children:a}):i})});V.displayName=$,n.forwardRef((t,e)=>{let{__scopeSelect:r,children:n,...o}=t;return(0,g.jsx)(m.sG.span,{"aria-hidden":!0,...o,ref:e,children:n||"▼"})}).displayName="SelectIcon";var X=t=>(0,g.jsx)(v.Z,{asChild:!0,...t});X.displayName="SelectPortal";var G="SelectContent",q=n.forwardRef((t,e)=>{let r=L(G,t.__scopeSelect),[i,a]=n.useState();return((0,j.N)(()=>{a(new DocumentFragment)},[]),r.open)?(0,g.jsx)(Z,{...t,ref:e}):i?o.createPortal((0,g.jsx)(K,{scope:t.__scopeSelect,children:(0,g.jsx)(_.Slot,{scope:t.__scopeSelect,children:(0,g.jsx)("div",{children:t.children})})}),i):null});q.displayName=G;var[K,Y]=I(G),J=function(t){let e=function(t){let e=n.forwardRef((t,e)=>{let{children:r,...o}=t;if(n.isValidElement(r)){var i;let t,a,u=(i=r,(a=(t=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?i.ref:(a=(t=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?i.props.ref:i.props.ref||i.ref),l=function(t,e){let r={...e};for(let n in e){let o=t[n],i=e[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...t)=>{let e=i(...t);return o(...t),e}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...t,...r}}(o,r.props);return r.type!==n.Fragment&&(l.ref=e?(0,c.t)(e,u):u),n.cloneElement(r,l)}return n.Children.count(r)>1?n.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}(t),r=n.forwardRef((t,r)=>{let{children:o,...i}=t,a=n.Children.toArray(o),u=a.find(x);if(u){let t=u.props.children,o=a.map(e=>e!==u?e:n.Children.count(t)>1?n.Children.only(null):n.isValidElement(t)?t.props.children:null);return(0,g.jsx)(e,{...i,ref:r,children:n.isValidElement(t)?n.cloneElement(t,void 0,o):null})}return(0,g.jsx)(e,{...i,ref:r,children:o})});return r.displayName=`${t}.Slot`,r}("SelectContent.RemoveScroll"),Z=n.forwardRef((t,e)=>{let{__scopeSelect:r,position:o="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:u,onPointerDownOutside:l,side:s,sideOffset:h,align:y,alignOffset:v,arrowPadding:m,collisionBoundary:b,collisionPadding:x,sticky:w,hideWhenDetached:O,avoidCollisions:j,...S}=t,A=L(G,r),[k,M]=n.useState(null),[T,_]=n.useState(null),D=(0,c.s)(e,t=>M(t)),[I,N]=n.useState(null),[R,B]=n.useState(null),z=C(r),[F,U]=n.useState(!1),W=n.useRef(!1);n.useEffect(()=>{if(k)return(0,P.Eq)(k)},[k]),(0,p.Oh)();let H=n.useCallback(t=>{let[e,...r]=z().map(t=>t.ref.current),[n]=r.slice(-1),o=document.activeElement;for(let r of t)if(r===o||(null==r||r.scrollIntoView({block:"nearest"}),r===e&&T&&(T.scrollTop=0),r===n&&T&&(T.scrollTop=T.scrollHeight),null==r||r.focus(),document.activeElement!==o))return},[z,T]),$=n.useCallback(()=>H([I,k]),[H,I,k]);n.useEffect(()=>{F&&$()},[F,$]);let{onOpenChange:V,triggerPointerDownPosRef:X}=A;n.useEffect(()=>{if(k){let t={x:0,y:0},e=e=>{var r,n,o,i;t={x:Math.abs(Math.round(e.pageX)-(null!=(o=null==(r=X.current)?void 0:r.x)?o:0)),y:Math.abs(Math.round(e.pageY)-(null!=(i=null==(n=X.current)?void 0:n.y)?i:0))}},r=r=>{t.x<=10&&t.y<=10?r.preventDefault():k.contains(r.target)||V(!1),document.removeEventListener("pointermove",e),X.current=null};return null!==X.current&&(document.addEventListener("pointermove",e),document.addEventListener("pointerup",r,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",e),document.removeEventListener("pointerup",r,{capture:!0})}}},[k,V,X]),n.useEffect(()=>{let t=()=>V(!1);return window.addEventListener("blur",t),window.addEventListener("resize",t),()=>{window.removeEventListener("blur",t),window.removeEventListener("resize",t)}},[V]);let[q,Y]=tA(t=>{let e=z().filter(t=>!t.disabled),r=e.find(t=>t.ref.current===document.activeElement),n=tP(e,t,r);n&&setTimeout(()=>n.ref.current.focus())}),Z=n.useCallback((t,e,r)=>{let n=!W.current&&!r;(void 0!==A.value&&A.value===e||n)&&(N(t),n&&(W.current=!0))},[A.value]),te=n.useCallback(()=>null==k?void 0:k.focus(),[k]),tr=n.useCallback((t,e,r)=>{let n=!W.current&&!r;(void 0!==A.value&&A.value===e||n)&&B(t)},[A.value]),tn="popper"===o?tt:Q,to=tn===tt?{side:s,sideOffset:h,align:y,alignOffset:v,arrowPadding:m,collisionBoundary:b,collisionPadding:x,sticky:w,hideWhenDetached:O,avoidCollisions:j}:{};return(0,g.jsx)(K,{scope:r,content:k,viewport:T,onViewportChange:_,itemRefCallback:Z,selectedItem:I,onItemLeave:te,itemTextRefCallback:tr,focu
1sSelectedItem:$,selectedItemText:R,position:o,isPositioned:F,searchRef:q,children:(0,g.jsx)(E.A,{as:J,allowPinchZoom:!0,children:(0,g.jsx)(d.n,{asChild:!0,trapped:A.open,onMountAutoFocus:t=>{t.preventDefault()},onUnmountAutoFocus:(0,a.mK)(i,t=>{var e;null==(e=A.trigger)||e.focus({preventScroll:!0}),t.preventDefault()}),children:(0,g.jsx)(f.qW,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:u,onPointerDownOutside:l,onFocusOutside:t=>t.preventDefault(),onDismiss:()=>A.onOpenChange(!1),children:(0,g.jsx)(tn,{role:"listbox",id:A.contentId,"data-state":A.open?"open":"closed",dir:A.dir,onContextMenu:t=>t.preventDefault(),...S,...to,onPlaced:()=>U(!0),ref:D,style:{display:"flex",flexDirection:"column",outline:"none",...S.style},onKeyDown:(0,a.mK)(S.onKeyDown,t=>{let e=t.ctrlKey||t.altKey||t.metaKey;if("Tab"===t.key&&t.preventDefault(),e||1!==t.key.length||Y(t.key),["ArrowUp","ArrowDown","Home","End"].includes(t.key)){let e=z().filter(t=>!t.disabled).map(t=>t.ref.current);if(["ArrowUp","End"].includes(t.key)&&(e=e.slice().reverse()),["ArrowUp","ArrowDown"].includes(t.key)){let r=t.target,n=e.indexOf(r);e=e.slice(n+1)}setTimeout(()=>H(e)),t.preventDefault()}})})})})})})});Z.displayName="SelectContentImpl";var Q=n.forwardRef((t,e)=>{let{__scopeSelect:r,onPlaced:o,...a}=t,u=L(G,r),l=Y(G,r),[s,f]=n.useState(null),[p,d]=n.useState(null),h=(0,c.s)(e,t=>d(t)),y=C(r),v=n.useRef(!1),b=n.useRef(!0),{viewport:x,selectedItem:w,selectedItemText:O,focusSelectedItem:S}=l,A=n.useCallback(()=>{if(u.trigger&&u.valueNode&&s&&p&&x&&w&&O){let t=u.trigger.getBoundingClientRect(),e=p.getBoundingClientRect(),r=u.valueNode.getBoundingClientRect(),n=O.getBoundingClientRect();if("rtl"!==u.dir){let o=n.left-e.left,a=r.left-o,u=t.left-a,c=t.width+u,l=Math.max(c,e.width),f=i(a,[10,Math.max(10,window.innerWidth-10-l)]);s.style.minWidth=c+"px",s.style.left=f+"px"}else{let o=e.right-n.right,a=window.innerWidth-r.right-o,u=window.innerWidth-t.right-a,c=t.width+u,l=Math.max(c,e.width),f=i(a,[10,Math.max(10,window.innerWidth-10-l)]);s.style.minWidth=c+"px",s.style.right=f+"px"}let a=y(),c=window.innerHeight-20,l=x.scrollHeight,f=window.getComputedStyle(p),d=parseInt(f.borderTopWidth,10),h=parseInt(f.paddingTop,10),m=parseInt(f.borderBottomWidth,10),g=d+h+l+parseInt(f.paddingBottom,10)+m,b=Math.min(5*w.offsetHeight,g),j=window.getComputedStyle(x),S=parseInt(j.paddingTop,10),A=parseInt(j.paddingBottom,10),P=t.top+t.height/2-10,E=w.offsetHeight/2,k=d+h+(w.offsetTop+E);if(k<=P){let t=a.length>0&&w===a[a.length-1].ref.current;s.style.bottom="0px";let e=Math.max(c-P,E+(t?A:0)+(p.clientHeight-x.offsetTop-x.offsetHeight)+m);s.style.height=k+e+"px"}else{let t=a.length>0&&w===a[0].ref.current;s.style.top="0px";let e=Math.max(P,d+x.offsetTop+(t?S:0)+E);s.style.height=e+(g-k)+"px",x.scrollTop=k-P+x.offsetTop}s.style.margin="".concat(10,"px 0"),s.style.minHeight=b+"px",s.style.maxHeight=c+"px",null==o||o(),requestAnimationFrame(()=>v.current=!0)}},[y,u.trigger,u.valueNode,s,p,x,w,O,u.dir,o]);(0,j.N)(()=>A(),[A]);let[P,E]=n.useState();(0,j.N)(()=>{p&&E(window.getComputedStyle(p).zIndex)},[p]);let k=n.useCallback(t=>{t&&!0===b.current&&(A(),null==S||S(),b.current=!1)},[A,S]);return(0,g.jsx)(te,{scope:r,contentWrapper:s,shouldExpandOnScrollRef:v,onScrollButtonChange:k,children:(0,g.jsx)("div",{ref:f,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:P},children:(0,g.jsx)(m.sG.div,{...a,ref:h,style:{boxSizing:"border-box",maxHeight:"100%",...a.style}})})})});Q.displayName="SelectItemAlignedPosition";var tt=n.forwardRef((t,e)=>{let{__scopeSelect:r,align:n="start",collisionPadding:o=10,...i}=t,a=R(r);return(0,g.jsx)(y.UC,{...a,...i,ref:e,align:n,collisionPadding:o,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});tt.displayName="SelectPopperPosition";var[te,tr]=I(G,{}),tn="SelectViewport",to=n.forwardRef((t,e)=>{let{__scopeSelect:r,nonce:o,...i}=t,u=Y(tn,r),l=tr(tn,r),s=(0,c.s)(e,u.onViewportChange),f=n.useRef(0);return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),(0,g.jsx)(_.Slot,{scope:r,children:(0,g.jsx)(m.sG.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:s,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:(0,a.mK)(i.onScroll,t=>{let e=t.currentTarget,{contentWrapper:r,shouldExpandOnScrollRef:n}=l;if((null==n?void 0:n.current)&&r){let t=Math.abs(f.current-e.scrollTop);if(t>0){let n=window.innerHeight-20,o=Math.max(parseFloat(r.style.minHeight),parseFloat(r.style.height));if(o<n){let i=o+t,a=Math.min(n,i),u=i-a;r.style.height=a+"px","0px"===r.style.bottom&&(e.scrollTop=u>0?u:0,r.style.justifyContent="flex-end")}}}f.current=e.scrollTop})})})]})});to.displayName=tn;var ti="SelectGroup",[ta,tu]=I(ti),tc=n.forwardRef((t,e)=>{let{__scopeSelect:r,...n}=t,o=(0,h.B)();return(0,g.jsx)(ta,{scope:r,id:o,children:(0,g.jsx)(m.sG.div,{role:"group","aria-labelledby":o,...n,ref:e})})});tc.displayName=ti;var tl="SelectLabel",ts=n.forwardRef((t,e)=>{let{__scopeSelect:r,...n}=t,o=tu(tl,r);return(0,g.jsx)(m.sG.div,{id:o.id,...n,ref:e})});ts.displayName=tl;var tf="SelectItem",[tp,td]=I(tf),th=n.forwardRef((t,e)=>{let{__scopeSelect:r,value:o,disabled:i=!1,textValue:u,...l}
1=t,s=L(tf,r),f=Y(tf,r),p=s.value===o,[d,y]=n.useState(null!=u?u:""),[v,b]=n.useState(!1),x=(0,c.s)(e,t=>{var e;return null==(e=f.itemRefCallback)?void 0:e.call(f,t,o,i)}),w=(0,h.B)(),O=n.useRef("touch"),j=()=>{i||(s.onValueChange(o),s.onOpenChange(!1))};if(""===o)throw Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,g.jsx)(tp,{scope:r,value:o,disabled:i,textId:w,isSelected:p,onItemTextChange:n.useCallback(t=>{y(e=>{var r;return e||(null!=(r=null==t?void 0:t.textContent)?r:"").trim()})},[]),children:(0,g.jsx)(_.ItemSlot,{scope:r,value:o,disabled:i,textValue:d,children:(0,g.jsx)(m.sG.div,{role:"option","aria-labelledby":w,"data-highlighted":v?"":void 0,"aria-selected":p&&v,"data-state":p?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...l,ref:x,onFocus:(0,a.mK)(l.onFocus,()=>b(!0)),onBlur:(0,a.mK)(l.onBlur,()=>b(!1)),onClick:(0,a.mK)(l.onClick,()=>{"mouse"!==O.current&&j()}),onPointerUp:(0,a.mK)(l.onPointerUp,()=>{"mouse"===O.current&&j()}),onPointerDown:(0,a.mK)(l.onPointerDown,t=>{O.current=t.pointerType}),onPointerMove:(0,a.mK)(l.onPointerMove,t=>{if(O.current=t.pointerType,i){var e;null==(e=f.onItemLeave)||e.call(f)}else"mouse"===O.current&&t.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,a.mK)(l.onPointerLeave,t=>{if(t.currentTarget===document.activeElement){var e;null==(e=f.onItemLeave)||e.call(f)}}),onKeyDown:(0,a.mK)(l.onKeyDown,t=>{var e;((null==(e=f.searchRef)?void 0:e.current)===""||" "!==t.key)&&(M.includes(t.key)&&j()," "===t.key&&t.preventDefault())})})})})});th.displayName=tf;var ty="SelectItemText",tv=n.forwardRef((t,e)=>{let{__scopeSelect:r,className:i,style:a,...u}=t,l=L(ty,r),s=Y(ty,r),f=td(ty,r),p=F(ty,r),[d,h]=n.useState(null),y=(0,c.s)(e,t=>h(t),f.onItemTextChange,t=>{var e;return null==(e=s.itemTextRefCallback)?void 0:e.call(s,t,f.value,f.disabled)}),v=null==d?void 0:d.textContent,b=n.useMemo(()=>(0,g.jsx)("option",{value:f.value,disabled:f.disabled,children:v},f.value),[f.disabled,f.value,v]),{onNativeOptionAdd:x,onNativeOptionRemove:w}=p;return(0,j.N)(()=>(x(b),()=>w(b)),[x,w,b]),(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(m.sG.span,{id:f.textId,...u,ref:y}),f.isSelected&&l.valueNode&&!l.valueNodeHasChildren?o.createPortal(u.children,l.valueNode):null]})});tv.displayName=ty;var tm="SelectItemIndicator";n.forwardRef((t,e)=>{let{__scopeSelect:r,...n}=t;return td(tm,r).isSelected?(0,g.jsx)(m.sG.span,{"aria-hidden":!0,...n,ref:e}):null}).displayName=tm;var tg="SelectScrollUpButton";n.forwardRef((t,e)=>{let r=Y(tg,t.__scopeSelect),o=tr(tg,t.__scopeSelect),[i,a]=n.useState(!1),u=(0,c.s)(e,o.onScrollButtonChange);return(0,j.N)(()=>{if(r.viewport&&r.isPositioned){let t=function(){a(e.scrollTop>0)},e=r.viewport;return t(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}},[r.viewport,r.isPositioned]),i?(0,g.jsx)(tx,{...t,ref:u,onAutoScroll:()=>{let{viewport:t,selectedItem:e}=r;t&&e&&(t.scrollTop=t.scrollTop-e.offsetHeight)}}):null}).displayName=tg;var tb="SelectScrollDownButton";n.forwardRef((t,e)=>{let r=Y(tb,t.__scopeSelect),o=tr(tb,t.__scopeSelect),[i,a]=n.useState(!1),u=(0,c.s)(e,o.onScrollButtonChange);return(0,j.N)(()=>{if(r.viewport&&r.isPositioned){let t=function(){let t=e.scrollHeight-e.clientHeight;a(Math.ceil(e.scrollTop)<t)},e=r.viewport;return t(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}},[r.viewport,r.isPositioned]),i?(0,g.jsx)(tx,{...t,ref:u,onAutoScroll:()=>{let{viewport:t,selectedItem:e}=r;t&&e&&(t.scrollTop=t.scrollTop+e.offsetHeight)}}):null}).displayName=tb;var tx=n.forwardRef((t,e)=>{let{__scopeSelect:r,onAutoScroll:o,...i}=t,u=Y("SelectScrollButton",r),c=n.useRef(null),l=C(r),s=n.useCallback(()=>{null!==c.current&&(window.clearInterval(c.current),c.current=null)},[]);return n.useEffect(()=>()=>s(),[s]),(0,j.N)(()=>{var t;let e=l().find(t=>t.ref.current===document.activeElement);null==e||null==(t=e.ref.current)||t.scrollIntoView({block:"nearest"})},[l]),(0,g.jsx)(m.sG.div,{"aria-hidden":!0,...i,ref:e,style:{flexShrink:0,...i.style},onPointerDown:(0,a.mK)(i.onPointerDown,()=>{null===c.current&&(c.current=window.setInterval(o,50))}),onPointerMove:(0,a.mK)(i.onPointerMove,()=>{var t;null==(t=u.onItemLeave)||t.call(u),null===c.current&&(c.current=window.setInterval(o,50))}),onPointerLeave:(0,a.mK)(i.onPointerLeave,()=>{s()})})}),tw=n.forwardRef((t,e)=>{let{__scopeSelect:r,...n}=t;return(0,g.jsx)(m.sG.div,{"aria-hidden":!0,...n,ref:e})});tw.displayName="SelectSeparator";var tO="SelectArrow";n.forwardRef((t,e)=>{let{__scopeSelect:r,...n}=t,o=R(r),i=L(tO,r),a=Y(tO,r);return i.open&&"popper"===a.position?(0,g.jsx)(y.i3,{...o,...n,ref:e}):null}).displayName=tO;var tj=n.forwardRef((t,e)=>{let{__scopeSelect:r,value:o,...i}=t,a=n.useRef(null),u=(0,c.s)(e,a),l=(0,S.Z)(o);return n.useEffect(()=>{let t=a.current;if(!t)return;let e=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(l!==o&&e){let r=new Event("change",{bubbles:!0});e.call(t,o),t.dispatchEvent(r)}},[l,o]),(0,g.jsx)(m.sG.select,{...i,style:{...A.Qg,...i.style},ref:u,defaultValue:o})});function tS(t){return""===t||void 0===t}function tA(t){let e=(0,w.c)(t),r=n.useRef(""),o=n.useRef(0),i=n.useCallback(t=>{let n=r.current+t;e(n),function t(e){r.current=e,window.clearTimeout(o.current),""!==e&&(o.current=window.setTimeout(()=>t(""),1e3))}(n)},[e]),a=n.useCallback(()=>{r.current="",window.clearTimeout(o.current)},[]);return n.useEffect(()=>()=>window.clearTimeout(o.current),[]),[r,i,a]}function tP(t,e,r){var n,o;let i=e.length>1&&Array.from(e).every(t=>t===e[0])?e[0]:e,a=r?t.indexOf(r):-1,u=(n=t,o=Math.max(a,0),n.map((t,e)=>n[(o+e)%n.length]));1===i.length&&(u=u.filter(t=>t!==r));let c=u.find(t=>t.textValue.toLowerCase().startsWith(i.toLowerCase()));return c!==r?c:void 0}tj.displayName="SelectBubbleInput";var tE=U,tk=H,tM=V,tT=X,t_=q,tC=to,tD=tc,tI=ts,tN=th,tR=tv,tB=tw},11670:(t,e,r)=>{var n=r(79401),o=r(9813),i=r(39608),a=r(33497),u=r(99544),c=r(35190),l=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=i(t),s=!r&&o(t),f=!r&&!s&&a(t),p=!r&&!s&&!f&&c(t),d=r||s||f||p,h=d?n(t.length,String):[],y=h.length;for(var v in t)(e||l.call(t,v))&&!(d&&("length"==v||f&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||u(v,y)))&&h.push(v);return h}},12486:t=>{t.exports=function(t){return t!=t}},12814:(t,e,r)=>{"use strict";r.d(e,{s0:()=>n3,gH:()=>n0,YB:()=>oo,HQ:()=>or,xi:()=>oi,Hj:()=>ob,BX:()=>n5,tA:()=>n2,DW:()=>od,y2:()=>op,nb:()=>of,PW:()=>n7,Ay:()=>nQ,vf:()=>n9,Mk:()=>oy,Ps:()=>n1,Mn:()=>ol,kA:()=>oh,Rh:()=>ot,w7:()=>os,zb:()=>ow,kr:()=>nZ,_L:()=>n4,KC:()=>ox,A1:()=>n8,W7:()=>on,AQ:()=>og,_f:()=>oa});var n,o,i,a,u,c,l,s={};r.r(s),r.d(s,{scaleBand:()=>f.A,scaleDiverging:()=>function t(){var e=tN(rZ()(tv));return e.copy=function(){return rK(e,t())},tj.K.apply(e,arguments)},scaleDivergingLog:()=>function t(){var e=t$(rZ()).domain([.1,1,10]);return e.copy=function(){return rK(e,t()).base(e.base())},tj.K.apply(e,arguments)},scaleDivergingPow:()=>rQ,scaleDivergingSqrt:()=>r0,scaleDivergingSymlog:()=>function t(){var e=tG(rZ());return e.copy=function(){return rK(e,t()).constant(e.constant())},tj.K.apply(e,arguments)},scaleIdentity:()=>function t(e){var r;function n(t){return null==t||isNaN(t*=1)?r:t}return n.invert=n,n.domain=n.range=function(t){return arguments.length?(e=Array.from(t,th),n):e.slice()},n.unknown=function(t){return arguments.length?(r=t,n):r},n.copy=function(){return t(e).unknown(r)},e=arguments.length?Array.from(e,th):[0,1],tN(n)},scaleImplicit:()=>tq.h,scaleLinear:()=>tR,scaleLog:()=>function t(){let e=t$(tw()).domain([1,10]);return e.copy=()=>tx(e,t()).base(e.base()),tj.C.apply(e,arguments),e},scaleOrdinal:()=>tq.A,scalePoint:()=>f.z,scalePow:()=>tQ,scaleQuantile:()=>function t(){var e,r=[],n=[],o=[];function i(){var t=0,e=Math.max(1,n.length);for(o=Array(e-1);++t<e;)o[t-1]=function(t,e,r=j){if(!(!(n=t.length)||isNaN(e*=1))){if(e<=0||n<2)return+r(t[0],0,t);if(e>=1)return+r(t[n-1],n-1,t);var n,o=(n-1)*e,i=Math.floor(o),a=+r(t[i],i,t);return a+(r(t[i+1],i+1,t)-a)*(o-i)}}(r,t/e);return a}function a(t){return null==t||isNaN(t*=1)?e:n[A(o,t)]}return a.invertExtent=function(t){var e=n.indexOf(t);return e<0?[NaN,NaN]:[e>0?o[e-1]:r[0],e<o.length?o[e]:r[r.length-1]]},a.domain=function(t){if(!arguments.length)return r.slice();for(let e of(r=[],t))null==e||isNaN(e*=1)||r.push(e);return r.sort(b),i()},a.range=function(t){return arguments.length?(n=Array.from(t),i()):n.slice()},a.unknown=function(t){return arguments.length?(e=t,a):e},a.quantiles=function(){return o.slice()},a.copy=function(){return t().domain(r).range(n).unknown(e)},tj.C.apply(a,arguments)},scaleQuantize:()=>function t(){var e,r=0,n=1,o=1,i=[.5],a=[0,1];function u(t){return null!=t&&t<=t?a[A(i,t,0,o)]:e}function c(){var t=-1;for(i=Array(o);++t<o;)i[t]=((t+1)*n-(t-o)*r)/(o+1);return u}return u.domain=function(t){return arguments.length?([r,n]=t,r*=1,n*=1,c()):[r,n]},u.range=function(t){return arguments.length?(o=(a=Array.from(t)).length-1,c()):a.slice()},u.invertExtent=function(t){var e=a.indexOf(t);return e<0?[NaN,NaN]:e<1?[r,i[0]]:e>=o?[i[o-1],n]:[i[e-1],i[e]]},u.unknown=function(t){return arguments.length&&(e=t),u},u.thresholds=function(){return i.slice()},u.copy=function(){return t().domain([r,n]).range(a).unknown(e)},tj.C.apply(tN(u),arguments)},scaleRadial:()=>function t(){var e,r=tO(),n=[0,1],o=!1;function i(t){var n,i=Math.sign(n=r(t))*Math.sqrt(Math.abs(n));return isNaN(i)?e:o?Math.round(i):i}return i.invert=function(t){return r.invert(t1(t))},i.domain=function(t){return arguments.length?(r.domain(t),i):r.domain()},i.range=function(t){return arguments.length?(r.range((n=Array.from(t,th)).map(t1)),i):n.slice()},i.rangeRound=function(t){return i.range(t).round(!0)},i.round=function(t){return arguments.length?(o=!!t,i):o},i.clamp=function(t){return arguments.length?(r.clamp(t),i):r.clamp()},i.unknown=function(t){return arguments.length?(e=t,i):e},i.copy=function(){return t(r.domain(),n).round(o).clamp(r.clamp()).unknown(e)},tj.C.apply(i,arguments),tN(i)},scaleSequential:()=>function t(){var e=tN(rq()(tv));return e.copy=function(){return rK(e,t())},tj.K.apply(e,arguments)},scaleSequentialLog:()=>function t(){var e=t$(rq()).domain([1,10]);return e.copy=function(){return rK(e,t()).base(e.base())},tj.K.apply(e,arguments)},scaleSequentialPow:()=>rY,scaleSequentialQuantile:()=>function t(){var e=[],r=tv;function n(t){if(null!=t&&!isNaN(t*=1))return r((A(e,t,1)-1)/(e.length-1))}return n.domain=function(t){if(!arguments.length)return e.slice();for(let r of(e=[],t))null==r||isNaN(r*=1)||e.push(r);return e.sort(b),n},n.interpolator=function(t){return arguments.length?(r=t,n):r},n.range=function(){return e.map((t,n)=>r(n/(e.length-1)))},n.quantiles=function(t){return Array.from({length:t+1},(r,n)=>(function(t,e,r){if(!(!(n=(t=Float64Array.from(function*(t,e){if(void 0===e)for(let e of t)null!=e&&(e*=1)>=e&&(yield e);else{let r=-1;for(let n of t)null!=(n=e(n,++r,t))&&(n*=1)>=n&&(yield n)}}(t,void 0))).length)||isNaN(e*=1))){if(e<=0||n<2)return t5(t);if(e>=1)return t2(t);var n,o=(n-1)*e,i=Math.floor(o),a=t2((function t(e,r,n=0,o=1/0,i){if
1(r=Math.floor(r),n=Math.floor(Math.max(0,n)),o=Math.floor(Math.min(e.length-1,o)),!(n<=r&&r<=o))return e;for(i=void 0===i?t3:function(t=b){if(t===b)return t3;if("function"!=typeof t)throw TypeError("compare is not a function");return(e,r)=>{let n=t(e,r);return n||0===n?n:(0===t(r,r))-(0===t(e,e))}}(i);o>n;){if(o-n>600){let a=o-n+1,u=r-n+1,c=Math.log(a),l=.5*Math.exp(2*c/3),s=.5*Math.sqrt(c*l*(a-l)/a)*(u-a/2<0?-1:1),f=Math.max(n,Math.floor(r-u*l/a+s)),p=Math.min(o,Math.floor(r+(a-u)*l/a+s));t(e,r,f,p,i)}let a=e[r],u=n,c=o;for(t6(e,n,r),i(e[o],a)>0&&t6(e,n,o);u<c;){for(t6(e,u,c),++u,--c;0>i(e[u],a);)++u;for(;i(e[c],a)>0;)--c}0===i(e[n],a)?t6(e,n,c):t6(e,++c,o),c<=r&&(n=c+1),r<=c&&(o=c-1)}return e})(t,i).subarray(0,i+1));return a+(t5(t.subarray(i+1))-a)*(o-i)}})(e,n/t))},n.copy=function(){return t(r).domain(e)},tj.K.apply(n,arguments)},scaleSequentialSqrt:()=>rJ,scaleSequentialSymlog:()=>function t(){var e=tG(rq());return e.copy=function(){return rK(e,t()).constant(e.constant())},tj.K.apply(e,arguments)},scaleSqrt:()=>t0,scaleSymlog:()=>function t(){var e=tG(tw());return e.copy=function(){return tx(e,t()).constant(e.constant())},tj.C.apply(e,arguments)},scaleThreshold:()=>function t(){var e,r=[.5],n=[0,1],o=1;function i(t){return null!=t&&t<=t?n[A(r,t,0,o)]:e}return i.domain=function(t){return arguments.length?(o=Math.min((r=Array.from(t)).length,n.length-1),i):r.slice()},i.range=function(t){return arguments.length?(n=Array.from(t),o=Math.min(r.length,n.length-1),i):n.slice()},i.invertExtent=function(t){var e=n.indexOf(t);return[r[e-1],r[e]]},i.unknown=function(t){return arguments.length?(e=t,i):e},i.copy=function(){return t().domain(r).range(n).unknown(e)},tj.C.apply(i,arguments)},scaleTime:()=>rX,scaleUtc:()=>rG,tickFormat:()=>tI});var f=r(81519);let p=Math.sqrt(50),d=Math.sqrt(10),h=Math.sqrt(2);function y(t,e,r){let n,o,i,a=(e-t)/Math.max(0,r),u=Math.floor(Math.log10(a)),c=a/Math.pow(10,u),l=c>=p?10:c>=d?5:c>=h?2:1;return(u<0?(n=Math.round(t*(i=Math.pow(10,-u)/l)),o=Math.round(e*i),n/i<t&&++n,o/i>e&&--o,i=-i):(n=Math.round(t/(i=Math.pow(10,u)*l)),o=Math.round(e/i),n*i<t&&++n,o*i>e&&--o),o<n&&.5<=r&&r<2)?y(t,e,2*r):[n,o,i]}function v(t,e,r){if(e*=1,t*=1,!((r*=1)>0))return[];if(t===e)return[t];let n=e<t,[o,i,a]=n?y(e,t,r):y(t,e,r);if(!(i>=o))return[];let u=i-o+1,c=Array(u);if(n)if(a<0)for(let t=0;t<u;++t)c[t]=-((i-t)/a);else for(let t=0;t<u;++t)c[t]=(i-t)*a;else if(a<0)for(let t=0;t<u;++t)c[t]=-((o+t)/a);else for(let t=0;t<u;++t)c[t]=(o+t)*a;return c}function m(t,e,r){return y(t*=1,e*=1,r*=1)[2]}function g(t,e,r){e*=1,t*=1,r*=1;let n=e<t,o=n?m(e,t,r):m(t,e,r);return(n?-1:1)*(o<0?-(1/o):o)}function b(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function x(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function w(t){let e,r,n;function o(t,n,i=0,a=t.length){if(i<a){if(0!==e(n,n))return a;do{let e=i+a>>>1;0>r(t[e],n)?i=e+1:a=e}while(i<a)}return i}return 2!==t.length?(e=b,r=(e,r)=>b(t(e),r),n=(e,r)=>t(e)-r):(e=t===b||t===x?t:O,r=t,n=t),{left:o,center:function(t,e,r=0,i=t.length){let a=o(t,e,r,i-1);return a>r&&n(t[a-1],e)>-n(t[a],e)?a-1:a},right:function(t,n,o=0,i=t.length){if(o<i){if(0!==e(n,n))return i;do{let e=o+i>>>1;0>=r(t[e],n)?o=e+1:i=e}while(o<i)}return o}}}function O(){return 0}function j(t){return null===t?NaN:+t}let S=w(b),A=S.right;function P(t,e,r){t.prototype=e.prototype=r,r.constructor=t}function E(t,e){var r=Object.create(t.prototype);for(var n in e)r[n]=e[n];return r}function k(){}S.left,w(j).center;var M="\\s*([+-]?\\d+)\\s*",T="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",_="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",C=/^#([0-9a-f]{3,8})$/,D=RegExp(`^rgb\\(${M},${M},${M}\\)$`),I=RegExp(`^rgb\\(${_},${_},${_}\\)$`),N=RegExp(`^rgba\\(${M},${M},${M},${T}\\)$`),R=RegExp(`^rgba\\(${_},${_},${_},${T}\\)$`),B=RegExp(`^hsl\\(${T},${_},${_}\\)$`),L=RegExp(`^hsla\\(${T},${_},${_},${T}\\)$`),z={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function F(){return this.rgb().formatHex()}function U(){return this.rgb().formatRgb()}function W(t){var e,r;return t=(t+"").trim().toLowerCase(),(e=C.exec(t))?(r=e[1].length,e=parseInt(e[1],16),6===r?H(e):3
1===r?new X(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===r?$(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===r?$(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=D.exec(t))?new X(e[1],e[2],e[3],1):(e=I.exec(t))?new X(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=N.exec(t))?$(e[1],e[2],e[3],e[4]):(e=R.exec(t))?$(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=B.exec(t))?Z(e[1],e[2]/100,e[3]/100,1):(e=L.exec(t))?Z(e[1],e[2]/100,e[3]/100,e[4]):z.hasOwnProperty(t)?H(z[t]):"transparent"===t?new X(NaN,NaN,NaN,0):null}function H(t){return new X(t>>16&255,t>>8&255,255&t,1)}function $(t,e,r,n){return n<=0&&(t=e=r=NaN),new X(t,e,r,n)}function V(t,e,r,n){var o;return 1==arguments.length?((o=t)instanceof k||(o=W(o)),o)?new X((o=o.rgb()).r,o.g,o.b,o.opacity):new X:new X(t,e,r,null==n?1:n)}function X(t,e,r,n){this.r=+t,this.g=+e,this.b=+r,this.opacity=+n}function G(){return`#${J(this.r)}${J(this.g)}${J(this.b)}`}function q(){let t=K(this.opacity);return`${1===t?"rgb(":"rgba("}${Y(this.r)}, ${Y(this.g)}, ${Y(this.b)}${1===t?")":`, ${t})`}`}function K(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Y(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function J(t){return((t=Y(t))<16?"0":"")+t.toString(16)}function Z(t,e,r,n){return n<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new tt(t,e,r,n)}function Q(t){if(t instanceof tt)return new tt(t.h,t.s,t.l,t.opacity);if(t instanceof k||(t=W(t)),!t)return new tt;if(t instanceof tt)return t;var e=(t=t.rgb()).r/255,r=t.g/255,n=t.b/255,o=Math.min(e,r,n),i=Math.max(e,r,n),a=NaN,u=i-o,c=(i+o)/2;return u?(a=e===i?(r-n)/u+(r<n)*6:r===i?(n-e)/u+2:(e-r)/u+4,u/=c<.5?i+o:2-i-o,a*=60):u=c>0&&c<1?0:a,new tt(a,u,c,t.opacity)}function tt(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}function te(t){return(t=(t||0)%360)<0?t+360:t}function tr(t){return Math.max(0,Math.min(1,t||0))}function tn(t,e,r){return(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)*255}function to(t,e,r,n,o){var i=t*t,a=i*t;return((1-3*t+3*i-a)*e+(4-6*i+3*a)*r+(1+3*t+3*i-3*a)*n+a*o)/6}P(k,W,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:F,formatHex:F,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Q(this).formatHsl()},formatRgb:U,toString:U}),P(X,V,E(k,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new X(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new X(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new X(Y(this.r),Y(this.g),Y(this.b),K(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:G,formatHex:G,formatHex8:function(){return`#${J(this.r)}${J(this.g)}${J(this.b)}${J((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:q,toString:q})),P(tt,function(t,e,r,n){return 1==arguments.length?Q(t):new tt(t,e,r,null==n?1:n)},E(k,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new tt(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new tt(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*e,o=2*r-n;return new X(tn(t>=240?t-240:t+120,o,n),tn(t,o,n),tn(t<120?t+240:t-120,o,n),this.opacity)},clamp(){return new tt(te(this.h),tr(this.s),tr(this.l),K(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let t=K(this.opacity);return`${1===t?"hsl(":"hsla("}${te(this.h)}, ${100*tr(this.s)}%, ${100*tr(this.l)}%${1===t?")":`, ${t})`}`}}));let ti=t=>()=>t;function ta(t,e){var r=e-t;return r?function(e){return t+e*r}:ti(isNaN(t)?e:t)}let tu=function t(e){var r,n=1==(r=+e)?ta:function(t,e){var n,o,i;return e-t?(n=t,o=e,n=Math.pow(n,i=r),o=Math.pow(o,i)-n,i=1/i,function(t){return Math.pow(n+t*o,i)}):ti(isNaN(t)?e:t)};function o(t,e){var r=n((t=V(t)).r,(e=V(e)).r),o=n(t.g,e.g),i=n(t.b,e.b),a=ta(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=o(e),t.b=i(e),t.opacity=a(e),t+""}}return o.gamma=t,o}(1);function tc(t){return function(e){var r,n,o=e.length,i=Array(o),a=Array(o),u=Array(o);for(r=0;r<o;++r)n=V(e[r]),i[r]=n.r||0,a[r]=n.g||0,u[r]=n.b||0;return i=t(i),a=t(a),u=t(u),n.opacity=1,function(t){return n.r=i(t),n.g=a(t),n.b=u(t),n+""}}}function tl(t,e){return t*=1,e*=1,function(r){return t*(1-r)+e*r}}tc(function(t){var e=t.length-1;
1return function(r){var n=r<=0?r=0:r>=1?(r=1,e-1):Math.floor(r*e),o=t[n],i=t[n+1],a=n>0?t[n-1]:2*o-i,u=n<e-1?t[n+2]:2*i-o;return to((r-n/e)*e,a,o,i,u)}}),tc(function(t){var e=t.length;return function(r){var n=Math.floor(((r%=1)<0?++r:r)*e),o=t[(n+e-1)%e],i=t[n%e],a=t[(n+1)%e],u=t[(n+2)%e];return to((r-n/e)*e,o,i,a,u)}});var ts=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,tf=RegExp(ts.source,"g");function tp(t,e){var r,n,o=typeof e;return null==e||"boolean"===o?ti(e):("number"===o?tl:"string"===o?(n=W(e))?(e=n,tu):function(t,e){var r,n,o,i,a,u=ts.lastIndex=tf.lastIndex=0,c=-1,l=[],s=[];for(t+="",e+="";(o=ts.exec(t))&&(i=tf.exec(e));)(a=i.index)>u&&(a=e.slice(u,a),l[c]?l[c]+=a:l[++c]=a),(o=o[0])===(i=i[0])?l[c]?l[c]+=i:l[++c]=i:(l[++c]=null,s.push({i:c,x:tl(o,i)})),u=tf.lastIndex;return u<e.length&&(a=e.slice(u),l[c]?l[c]+=a:l[++c]=a),l.length<2?s[0]?(r=s[0].x,function(t){return r(t)+""}):(n=e,function(){return n}):(e=s.length,function(t){for(var r,n=0;n<e;++n)l[(r=s[n]).i]=r.x(t);return l.join("")})}:e instanceof W?tu:e instanceof Date?function(t,e){var r=new Date;return t*=1,e*=1,function(n){return r.setTime(t*(1-n)+e*n),r}}:!ArrayBuffer.isView(r=e)||r instanceof DataView?Array.isArray(e)?function(t,e){var r,n=e?e.length:0,o=t?Math.min(n,t.length):0,i=Array(o),a=Array(n);for(r=0;r<o;++r)i[r]=tp(t[r],e[r]);for(;r<n;++r)a[r]=e[r];return function(t){for(r=0;r<o;++r)a[r]=i[r](t);return a}}:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?function(t,e){var r,n={},o={};for(r in(null===t||"object"!=typeof t)&&(t={}),(null===e||"object"!=typeof e)&&(e={}),e)r in t?n[r]=tp(t[r],e[r]):o[r]=e[r];return function(t){for(r in n)o[r]=n[r](t);return o}}:tl:function(t,e){e||(e=[]);var r,n=t?Math.min(e.length,t.length):0,o=e.slice();return function(i){for(r=0;r<n;++r)o[r]=t[r]*(1-i)+e[r]*i;return o}})(t,e)}function td(t,e){return t*=1,e*=1,function(r){return Math.round(t*(1-r)+e*r)}}function th(t){return+t}var ty=[0,1];function tv(t){return t}function tm(t,e){var r;return(e-=t*=1)?function(r){return(r-t)/e}:(r=isNaN(e)?NaN:.5,function(){return r})}function tg(t,e,r){var n=t[0],o=t[1],i=e[0],a=e[1];return o<n?(n=tm(o,n),i=r(a,i)):(n=tm(n,o),i=r(i,a)),function(t){return i(n(t))}}function tb(t,e,r){var n=Math.min(t.length,e.length)-1,o=Array(n),i=Array(n),a=-1;for(t[n]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<n;)o[a]=tm(t[a],t[a+1]),i[a]=r(e[a],e[a+1]);return function(e){var r=A(t,e,1,n)-1;return i[r](o[r](e))}}function tx(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function tw(){var t,e,r,n,o,i,a=ty,u=ty,c=tp,l=tv;function s(){var t,e,r,c=Math.min(a.length,u.length);return l!==tv&&(t=a[0],e=a[c-1],t>e&&(r=t,t=e,e=r),l=function(r){return Math.max(t,Math.min(e,r))}),n=c>2?tb:tg,o=i=null,f}function f(e){return null==e||isNaN(e*=1)?r:(o||(o=n(a.map(t),u,c)))(t(l(e)))}return f.invert=function(r){return l(e((i||(i=n(u,a.map(t),tl)))(r)))},f.domain=function(t){return arguments.length?(a=Array.from(t,th),s()):a.slice()},f.range=function(t){return arguments.length?(u=Array.from(t),s()):u.slice()},f.rangeRound=function(t){return u=Array.from(t),c=td,s()},f.clamp=function(t){return arguments.length?(l=!!t||tv,s()):l!==tv},f.interpolate=function(t){return arguments.length?(c=t,s()):c},f.unknown=function(t){return arguments.length?(r=t,f):r},function(r,n){return t=r,e=n,s()}}function tO(){return tw()(tv,tv)}var tj=r(28749),tS=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function tA(t){var e;if(!(e=tS.exec(t)))throw Error("invalid format: "+t);return new tP({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function tP(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function tE(t,e){if(!isFinite(t)||0===t)return null;var r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"),n=t.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+t.slice(r+1)]}function tk(t){return(t=tE(Math.abs(t)))?t[1]:NaN}function tM(t,e){var r=tE(t,e);if(!r)return t+"";var n=r[0],o=r[1];return o<0?"0."+Array(-o).join("0")+n:n.length>o+1?n.slice(0,o+1)+"."+n.slice(o+1):n+Array(o-n.length+2).join("0")}tA.prototype=tP.prototype,tP.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?""
1:Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};let tT={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>tM(100*t,e),r:tM,s:function(t,e){var r=tE(t,e);if(!r)return n=void 0,t.toPrecision(e);var o=r[0],i=r[1],a=i-(n=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,u=o.length;return a===u?o:a>u?o+Array(a-u+1).join("0"):a>0?o.slice(0,a)+"."+o.slice(a):"0."+Array(1-a).join("0")+tE(t,Math.max(0,e+a-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function t_(t){return t}var tC=Array.prototype.map,tD=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function tI(t,e,r,n){var o,u,c=g(t,e,r);switch((n=tA(null==n?",f":n)).type){case"s":var l=Math.max(Math.abs(t),Math.abs(e));return null!=n.precision||isNaN(u=Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(tk(l)/3)))-tk(Math.abs(c))))||(n.precision=u),a(n,l);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(u=Math.max(0,tk(Math.abs(Math.max(Math.abs(t),Math.abs(e)))-(o=Math.abs(o=c)))-tk(o))+1)||(n.precision=u-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(u=Math.max(0,-tk(Math.abs(c))))||(n.precision=u-("%"===n.type)*2)}return i(n)}function tN(t){var e=t.domain;return t.ticks=function(t){var r=e();return v(r[0],r[r.length-1],null==t?10:t)},t.tickFormat=function(t,r){var n=e();return tI(n[0],n[n.length-1],null==t?10:t,r)},t.nice=function(r){null==r&&(r=10);var n,o,i=e(),a=0,u=i.length-1,c=i[a],l=i[u],s=10;for(l<c&&(o=c,c=l,l=o,o=a,a=u,u=o);s-- >0;){if((o=m(c,l,r))===n)return i[a]=c,i[u]=l,e(i);if(o>0)c=Math.floor(c/o)*o,l=Math.ceil(l/o)*o;else if(o<0)c=Math.ceil(c*o)/o,l=Math.floor(l*o)/o;else break;n=o}return t},t}function tR(){var t=tO();return t.copy=function(){return tx(t,tR())},tj.C.apply(t,arguments),tN(t)}function tB(t,e){t=t.slice();var r,n=0,o=t.length-1,i=t[n],a=t[o];return a<i&&(r=n,n=o,o=r,r=i,i=a,a=r),t[n]=e.floor(i),t[o]=e.ceil(a),t}function tL(t){return Math.log(t)}function tz(t){return Math.exp(t)}function tF(t){return-Math.log(-t)}function tU(t){return-Math.exp(-t)}function tW(t){return isFinite(t)?+("1e"+t):t<0?0:t}function tH(t){return(e,r)=>-t(-e,r)}function t$(t){let e,r,n=t(tL,tz),o=n.domain,a=10;function u(){var i,u;return e=(i=a)===Math.E?Math.log:10===i&&Math.log10||2===i&&Math.log2||(i=Math.log(i),t=>Math.log(t)/i),r=10===(u=a)?tW:u===Math.E?Math.exp:t=>Math.pow(u,t),o()[0]<0?(e=tH(e),r=tH(r),t(tF,tU)):t(tL,tz),n}return n.base=function(t){return arguments.length?(a=+t,u()):a},n.domain=function(t){return arguments.length?(o(t),u()):o()},n.ticks=t=>{let n,i,u=o(),c=u[0],l=u[u.length-1],s=l<c;s&&([c,l]=[l,c]);let f=e(c),p=e(l),d=null==t?10:+t,h=[];if(!(a%1)&&p-f<d){if(f=Math.floor(f),p=Math.ceil(p),c>0){for(;f<=p;++f)for(n=1;n<a;++n)if(!((i=f<0?n/r(-f):n*r(f))<c)){if(i>l)break;h.push(i)}}else for(;f<=p;++f)for(n=a-1;n>=1;--n)if(!((i=f>0?n/r(-f):n*r(f))<c)){if(i>l)break;h.push(i)}2*h.length<d&&(h=v(c,l,d))}else h=v(f,p,Math.min(p-f,d)).map(r);return s?h.reverse():h},n.tickFormat=(t,o)=>{if(null==t&&(t=10),null==o&&(o=10===a?"s":","),"function"!=typeof o&&(a%1||null!=(o=tA(o)).precision||(o.trim=!0),o=i(o)),t===1/0)return o;let u=Math.max(1,a*t/n.ticks().length);return t=>{let n=t/r(Math.round(e(t)));return n*a<a-.5&&(n*=a),n<=u?o(t):""}},n.nice=()=>o(tB(o(),{floor:t=>r(Math.floor(e(t))),ceil:t=>r(Math.ceil(e(t)))})),n}function tV(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function tX(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function tG(t){var e=1,r=t(tV(1),tX(e));return r.constant=function(r){return arguments.length?t(tV(e=+r),tX(e)):e},tN(r)}i=(o=function(t){var e,r,o,i=void 0===t.grouping||void 0===t.thousands?t_:(e=tC.call(t.grouping,Number),r=t.thousands+"",function(t,n){for(var o=t.length,i=[],a=0,u=e[0],c=0;o>0&&u>0&&(c+u+1>n&&(u=Math.max(1,n-c)),i.push(t.substring(o-=u,o+u)),!((c+=u+1)>n));)u=e[a=(a+1)%e.length];return i.reverse().join(r)}),a=void 0===t.currency?"":t.currency[0]+"",u=void 0===t.currency?"":t.currency[1]+"",c=void 0===t.decimal?".":t.decimal+"",l=void 0===t.numerals?t_:(o=tC.call(t.numerals,String),function(t){return t.replace(/[0-9]/g,function(t){return o[+t]})}),s=void 0===t.percent?"%":t.percent+"",f=void 0===t.minus?"−":t.minus+"",p=void 0===t.nan?"NaN":t.nan+"";function d(t,e){var r=(t=tA(t)).fill,o=t.align,d=t.sign,h=t.symbol,y=t.zero,v=t.width,m=t.comma,g=t.precision,b=t.trim,x=t.type;"n"===x?(m=!0,x="g"):tT[x]||(void 0===g&&(g=12),b=!0,x="g"),(y||"0"===r&&"="===o)&&(y=!0,r="0",o="=");var w=(e&&void 0!==e.prefix?e.prefix:"")+("$"===h?a:"#"===h&&/[boxX]/.test(x)?"0"+x.toLowerCase():""),O=("$"===h?u:/[%p]/.test(x)?s:"")+(e&&void 0!==e.suffix?e.suffix:""),j=tT[x],S=/[defgprs%]/.test(x);function A(t){var e,a,u,s=w,h=O;if("c"===x)h=j(t)+h,t="";else{var A=(t*=1)<0||1/t<0;if(t=isNaN(t)?p:j(Math.abs(t),g),b&&(t=function(t){t:for(var e,r=t.length,n=1,o=-1;n<r;++n)switch(t[n]){case".":o=e=n;break;case"0":0===o&&(o=n),e=n;break;default:if(!+t[n])break t;o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(e+1):t}(t)),A&&0==+t&&"+"!==d&&(A=!1),s=(A?"("===d?d:f:"-"===d||"("===d?"":d)+s,h=("s"!==x||isNaN(t)||void 0===n?"":tD[8+n/3])+h+(A&&"("===d?")":""),S){for(e=-1,a=t.length;++e<a;)if(48>(u=t.charCodeAt(e))||u>57){h=(46===u?c+t.slice(e+1):t.slice(e))+h,t=t.slice(0,e);break}}}m&&!y&&(t=i(t,1/0));var P=s.length+t.length+h.length,E=P<v?Array(v-P+1).join(r):"";switch(m&&y&&(t=i(E+t,E.length?v-h.length:1/0),E=""),o){case"<":t=s+t+h+E;break;case"=":t=s+E+t+h;break;case"^":t=E.slice(0,P=E.length>>1)+s+t+h+E.slice(P);break;default:t=E+s+t+h}return l(t)}return g=void 0===g?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),A.toString=function(){return t+""},A}return{format:d,formatPrefix:function(t,e){var r=3*Math.max(-8,Math.min(8,Math.floor(tk(e)/3))),n=Math.pow(10,-r),o=d(((t=tA(t)).type="f",t),{suffix:tD[8+r/3]});return function(t){return o(n*t)}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,a=o.formatPrefix;var tq=r(95442);function tK(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function tY(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function tJ(t){return t<0?-t*t:t*t}function tZ(t){var e=t(tv,tv),r=1;return e.exponent=function(e){return arguments.length?1==(r=+e)?t(tv,tv):.5===r?t(tY,tJ):t(tK(r),tK(1/r)):r},tN(e)}function tQ(){var t=tZ(tw());return t.copy=function(){return tx(t,tQ()).exponent(t.exponent())},tj.C.apply(t,arguments),t}function t0(){return tQ.apply(null,arguments).exponent(.5)}function t1(t){return Math.sign(t)*t*t}function t2(t,e){let r;if(void 0===e)for(let e of t)null!=e&&(r<e||void 0===r&&e>=e)&&(r=e);else{let n=-1;for(let o of t)null!=(o=e(o,++n,t))&&(r<o||void 0===r&&o>=o)&&(r=o)}return r}function t5(t,e){let r;if(void 0===e)for(let e of t)null!=e&&(r>e||void 0===r&&e>=e)&&(r=e);else{let n=-1;for(let o of t)null!=(o=e(o,++n,t))&&(r>o||void 0===r&&o>=o)&&(r=o)}return r}function t3(t,e){return(null==t||!(t>=t))-(null==e||!(e>=e))||(t<e?-1:+(t>e))}function t6(t,e,r){let n=t[e];t[e]=t[r],t[r]=n}
1let t8=new Date,t9=new Date;function t4(t,e,r,n){function o(e){return t(e=0==arguments.length?new Date:new Date(+e)),e}return o.floor=e=>(t(e=new Date(+e)),e),o.ceil=r=>(t(r=new Date(r-1)),e(r,1),t(r),r),o.round=t=>{let e=o(t),r=o.ceil(t);return t-e<r-t?e:r},o.offset=(t,r)=>(e(t=new Date(+t),null==r?1:Math.floor(r)),t),o.range=(r,n,i)=>{let a,u=[];if(r=o.ceil(r),i=null==i?1:Math.floor(i),!(r<n)||!(i>0))return u;do u.push(a=new Date(+r)),e(r,i),t(r);while(a<r&&r<n);return u},o.filter=r=>t4(e=>{if(e>=e)for(;t(e),!r(e);)e.setTime(e-1)},(t,n)=>{if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!r(t););else for(;--n>=0;)for(;e(t,1),!r(t););}),r&&(o.count=(e,n)=>(t8.setTime(+e),t9.setTime(+n),t(t8),t(t9),Math.floor(r(t8,t9))),o.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?o.filter(n?e=>n(e)%t==0:e=>o.count(0,e)%t==0):o:null),o}let t7=t4(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);t7.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?t4(e=>{e.setTime(Math.floor(e/t)*t)},(e,r)=>{e.setTime(+e+r*t)},(e,r)=>(r-e)/t):t7:null,t7.range;let et=t4(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+1e3*e)},(t,e)=>(e-t)/1e3,t=>t.getUTCSeconds());et.range;let ee=t4(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getMinutes());ee.range;let er=t4(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getUTCMinutes());er.range;let en=t4(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())},(t,e)=>{t.setTime(+t+36e5*e)},(t,e)=>(e-t)/36e5,t=>t.getHours());en.range;let eo=t4(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+36e5*e)},(t,e)=>(e-t)/36e5,t=>t.getUTCHours());eo.range;let ei=t4(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/864e5,t=>t.getDate()-1);ei.range;let ea=t4(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>t.getUTCDate()-1);ea.range;let eu=t4(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>Math.floor(t/864e5));function ec(t){return t4(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(t,e)=>{t.setDate(t.getDate()+7*e)},(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/6048e5)}eu.range;let el=ec(0),es=ec(1),ef=ec(2),ep=ec(3),ed=ec(4),eh=ec(5),ey=ec(6);function ev(t){return t4(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+7*e)},(t,e)=>(e-t)/6048e5)}el.range,es.range,ef.range,ep.range,ed.range,eh.range,ey.range;let em=ev(0),eg=ev(1),eb=ev(2),ex=ev(3),ew=ev(4),eO=ev(5),ej=ev(6);em.range,eg.range,eb.range,ex.range,ew.range,eO.range,ej.range;let eS=t4(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());eS.range;let eA=t4(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());eA.range;let eP=t4(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());eP.every=t=>isFinite(t=Math.floor(t))&&t>0?t4(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)}):null,eP.range;let eE=t4(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());function ek(t,e,r,n,o,i){let a=[[et,1,1e3],[et,5,5e3],[et,15,15e3],[et,30,3e4],[i,1,6e4],[i,5,3e5],[i,15,9e5],[i,30,18e5],[o,1,36e5],[o,3,108e5],[o,6,216e5],[o,12,432e5],[n,1,864e5],[n,2,1728e5],[r,1,6048e5],[e,1,2592e6],[e,3,7776e6],[t,1,31536e6]];function u(e,r,n){let o=Math.abs(r-e)/n,i=w(([,,t])=>t).right(a,o);if(i===a.length)return t.every(g(e/31536e6,r/31536e6,n));if(0===i)return t7.every(Math.max(g(e,r,n),1));let[u,c]=a[o/a[i-1][2]<a[i][2]/o?i-1:i];return u.every(c)}return[function(t,e,r){let n=e<t;n&&([t,e]=[e,t]);let o=r&&"function"==typeof r.range?r:u(t,e,r),i=o?o.range(t,+e+1):[];return n?i.reverse():i},u]}eE.every=t=>isFinite(t=Math.floor(t))&&t>0?t4(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)}):null,eE.range;let[eM,eT]=ek(eE,eA,em,eu,eo,er),[e_,eC]=ek(eP,eS,el,ei,en,ee);function eD(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 eI(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 eN(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}var eR={"-":"",_:" ",0:"0"},eB=/^\s*\d+/,eL=/^%/,ez=/[\\^$*+?|[\]().{}]/g;function eF(t,e,r){var n=t<0?"-":"",o=(n?-t:t)+"",i=o.length;return n+(i<r?Array(r-i+1).join(e)+o:o)}function eU(t){return t.replace(ez,"\\$&")}function eW(t){return RegExp("^(?:"+t.map(eU).join("|")+")","i")}function eH(t){return new Map(t.map((t,e)=>[t.toLowerCase(),e]))}function e$(t,e,r){var n=eB.exec(e.slice(r,r+1));return n?(t.w=+n[0],r+n[0].length):-1}function eV(t,e,r){var n=eB.exec(e.slice(r,r+1));return n?(t.u=+n[0],r+n[0].length):-1}function eX(t,e,r){var n=eB.exec(e.slice(r,r+2));return n?(t.U=+n[0],r+n[0].length):-1}function eG(t,e,r){var n=eB.exec(e.slice(r,r+2));return n?(t.V=+n[0],r+n[0].length):-1}function eq(t,e,r){var n=eB.exec(e.slice(r,r+2));return n?(t.W=+n[0],r+n[0].length):-1}function eK(t,e,r){var n=eB.exec(e.slice(r,r+4));return n?(t.y=+n[0],r+n[0].length):-1}function eY(t,e,r){var n=eB.exec(e.slice(r,r+2));return n?(t.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function eJ(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 eZ(t,e,r){var n=eB.exec(e.slice(r,r+1));return n?(t.q=3*n[0]-3,r+n[0].length):-1}function eQ(t,e,r){var n=eB.exec(e.slice(r,r+2));return n?(t.m=n[0]-1,r+n[0].length):-1}function e0(t,e,r){var n=eB.exec(e.slice(r,r+2));return n?(t.d=+n[0],r+n[0].length):-1}function e1(t,e,r){var n=eB.exec(e.slice(r,r+3));return n?(t.m=0,t.d=+n[0],r+n[0].length):-1}function e2(t,e,r){var n=eB.exec(e.slice(r,r+2));return n?(t.H=+n[0],r+n[0].length):-1}function e5(t,e,r){var n=eB.exec(e.slice(r,r+2));return n?(t.M=+n[0],r+n[0].length):-1}function e3(t,e,r){var n=eB.exec(e.slice(r,r+2));return n?(t.S=+n[0],r+n[0].length):-1}function e6(t,e,r){var n=eB.exec(e.slice(r,r+3));return n?(t.L=+n[0],r+n[0].length):-1}function e8(t,e,r){var n=eB.exec(e.slice(r,r+6));return n?(t.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function e9(t,e,r){var n=eL.exec(e.slice(r,r+1));return n?r+n[0].length:-1}function e4(t,e,r){var n=eB.exec(e.slice(r));return n?(t.Q=+n[0],r+n[0].length):-1}function e7(t,e,r){var n=eB.exec(e.slice(r));return n?(t.s=+n[0],r+n[0].length):-1}function rt(t,e){return eF(t.getDate(),e,2)}function re(t,e){return eF(t.getHours(),e,2)}function rr(t,e){return eF(t.getHours()%12||12,e,2)}function rn(t,e){return eF(1+ei.count(eP(t),t),e,3)}function ro(t,e){return eF(t.getMilliseconds(),e,3)}function ri(t,e){return ro(t,e)+"000"}function ra(t,e){return eF(t.getMonth()+1,e,2)}function ru(t,e){return eF(t.getMinutes(),e,2)}function rc(t,e){return eF(t.getSeconds(),e,2)}function rl(t){var e=t.getDay();return 0===e?7:e}function rs(t,e){return eF(el.count(eP(t)-1,t),e,2)}function rf(t){var e=t.getDay();return e>=4||0===e?ed(t):ed.ceil(t)}function rp(t,e){return t=rf(t),eF(ed.count(eP(t),t)+(4===eP(t).getDay()),e,2)}function rd(t){return t.getDay()}function rh(t,e){return eF(es.count(eP(t)-1,t),e,2)}function ry(t,e){return eF(t.getFullYear()%100,e,2)}function rv(t,e){return eF((t=rf(t)).getFullYear()%100,e,2)}function rm(t,e){return eF(t.getFullYear()%1e4,e,4)}function rg(t,e){var r=t.getDay();return eF((t=r>=4||0===r?ed(t):ed.ceil(t)).getFullYear()%1e4,e,4)}function rb(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+eF(e/60|0,"0",2)+eF(e%60,"0",2)}function rx(t,e){return eF(t.getUTCDate(),e,2)}function rw(t,e){return eF(t.getUTCHours(),e,2)}function rO(t,e){return eF(t.getUTCHours()%12||12,e,2)}function rj(t,e){return eF(1+ea.count(eE(t),t),e,3)}function rS(t,e){return eF(t.getUTCMilliseconds(),e,3)}function rA(t,e){return rS(t,e)+"000"}function rP(t,e){return eF(t.getUTCMonth()+1,e,2)}function rE(t,e){return eF(t.getUTCMinutes(),e,2)}function rk(t,e){return eF(t.getUTCSeconds(),e,2)}function rM(t){var e=t.getUTCDay();return 0===e?7:e}function rT(t,e){return eF(em.count(eE(t)-1,t),e,2)}function r_(t){var e=t.getUTCDay();return e>=4||0===e?ew(t):ew.ceil(t)}function rC(t,e){return t=r_(t),eF(ew.count(eE(t),t)+(4===eE(t).getUTCDay()),e,2)}function rD(t){return t.getUTCDay()}function rI(t,e){return eF(eg.count(eE(t)-1,t),e,2)}function rN(t,e){return eF(t.getUTCFullYear()%100,e,2)}function rR(t,e){return eF((t=r_(t)).getUTCFullYear()%100,e,2)}function rB(t,e){return eF(t.getUTCFullYear()%1e4,e,4)}function rL(t,e){var r=t.getUTCDay();return eF((t=r>=4||0===r?ew(t):ew.ceil(t)).getUTCFullYear()%1e4,e,4)}function rz(){return"+0000"}function rF(){return"%"}function rU(t){return+t}function rW(t){return Math.floor(t/1e3)}function rH(t){return new Date(t)}function r$(t){return t instanceof Date?+t:+new Date(+t)}function rV(t,e,r,n,o,i,a,u,c,l){var s=tO(),f=s.invert,p=s.domain,d=l(".%L"),h=l(":%S"),y=l("%I:%M"),v=l("%I %p"),m=l("%a %d"),g=l("%b %d"),b=l("%B"),x=l("%Y");function w(t){return(c(t)<t?d:u(t)<t?h:a(t)<t?y:i(t)<t?v:n(t)<t?o(t)<t?m:g:r(t)<t?b:x)(t)}return s.invert=function(t){return new Date(f(t))},s.domain=function(t){return arguments.length?p(Array.from(t,r$)):p().map(rH)},s.ticks=function(e){var r=p();return t(r[0],r[r.length-1],null==e?10:e)}
vendor: 4,813 bytes, line 1
1,s.tickFormat=function(t,e){return null==e?w:l(e)},s.nice=function(t){var r=p();return t&&"function"==typeof t.range||(t=e(r[0],r[r.length-1],null==t?10:t)),t?p(tB(r,t)):s},s.copy=function(){return tx(s,rV(t,e,r,n,o,i,a,u,c,l))},s}function rX(){return tj.C.apply(rV(e_,eC,eP,eS,el,ei,en,ee,et,c).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function rG(){return tj.C.apply(rV(eM,eT,eE,eA,em,ea,eo,er,et,l).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function rq(){var t,e,r,n,o,i=0,a=1,u=tv,c=!1;function l(e){return null==e||isNaN(e*=1)?o:u(0===r?.5:(e=(n(e)-t)*r,c?Math.max(0,Math.min(1,e)):e))}function s(t){return function(e){var r,n;return arguments.length?([r,n]=e,u=t(r,n),l):[u(0),u(1)]}}return l.domain=function(o){return arguments.length?([i,a]=o,t=n(i*=1),e=n(a*=1),r=t===e?0:1/(e-t),l):[i,a]},l.clamp=function(t){return arguments.length?(c=!!t,l):c},l.interpolator=function(t){return arguments.length?(u=t,l):u},l.range=s(tp),l.rangeRound=s(td),l.unknown=function(t){return arguments.length?(o=t,l):o},function(o){return n=o,t=o(i),e=o(a),r=t===e?0:1/(e-t),l}}function rK(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function rY(){var t=tZ(rq());return t.copy=function(){return rK(t,rY()).exponent(t.exponent())},tj.K.apply(t,arguments)}function rJ(){return rY.apply(null,arguments).exponent(.5)}function rZ(){var t,e,r,n,o,i,a,u=0,c=.5,l=1,s=1,f=tv,p=!1;function d(t){return isNaN(t*=1)?a:(t=.5+((t=+i(t))-e)*(s*t<s*e?n:o),f(p?Math.max(0,Math.min(1,t)):t))}function h(t){return function(e){var r,n,o;return arguments.length?([r,n,o]=e,f=function(t,e){void 0===e&&(e=t,t=tp);for(var r=0,n=e.length-1,o=e[0],i=Array(n<0?0:n);r<n;)i[r]=t(o,o=e[++r]);return function(t){var e=Math.max(0,Math.min(n-1,Math.floor(t*=n)));return i[e](t-e)}}(t,[r,n,o]),d):[f(0),f(.5),f(1)]}}return d.domain=function(a){return arguments.length?([u,c,l]=a,t=i(u*=1),e=i(c*=1),r=i(l*=1),n=t===e?0:.5/(e-t),o=e===r?0:.5/(r-e),s=e<t?-1:1,d):[u,c,l]},d.clamp=function(t){return arguments.length?(p=!!t,d):p},d.interpolator=function(t){return arguments.length?(f=t,d):f},d.range=h(tp),d.rangeRound=h(td),d.unknown=function(t){return arguments.length?(a=t,d):a},function(a){return i=a,t=a(u),e=a(c),r=a(l),n=t===e?0:.5/(e-t),o=e===r?0:.5/(r-e),s=e<t?-1:1,d}}function rQ(){var t=tZ(rZ());return t.copy=function(){return rK(t,rQ()).exponent(t.exponent())},tj.K.apply(t,arguments)}function r0(){return rQ.apply(null,arguments).exponent(.5)}function r1(t,e){if((o=t.length)>1)for(var r,n,o,i=1,a=t[e[0]],u=a.length;i<o;++i)for(n=a,a=t[e[i]],r=0;r<u;++r)a[r][1]+=a[r][0]=isNaN(n[r][1])?n[r][0]:n[r][1]}c=(u=function(t){var e=t.dateTime,r=t.date,n=t.time,o=t.periods,i=t.days,a=t.shortDays,u=t.months,c=t.shortMonths,l=eW(o),s=eH(o),f=eW(i),p=eH(i),d=eW(a),h=eH(a),y=eW(u),v=eH(u),m=eW(c),g=eH(c),b={a:function(t){return a[t.getDay()]},A:function(t){return i[t.getDay()]},b:function(t){return c[t.getMonth()]},B:function(t){return u[t.getMonth()]},c:null,d:rt,e:rt,f:ri,g:rv,G:rg,H:re,I:rr,j:rn,L:ro,m:ra,M:ru,p:function(t){return o[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:rU,s:rW,S:rc,u:rl,U:rs,V:rp,w:rd,W:rh,x:null,X:null,y:ry,Y:rm,Z:rb,"%":rF},x={a:function(t){return a[t.getUTCDay()]},A:function(t){return i[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return u[t.getUTCMonth()]},c:null,d:rx,e:rx,f:rA,g:rR,G:rL,H:rw,I:rO,j:rj,L:rS,m:rP,M:rE,p:function(t){return o[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:rU,s:rW,S:rk,u:rM,U:rT,V:rC,w:rD,W:rI,x:null,X:null,y:rN,Y:rB,Z:rz,"%":rF},w={a:function(t,e,r){var n=d.exec(e.slice(r));return n?(t.w=h.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(t,e,r){var n=f.exec(e.slice(r));return n?(t.w=p.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(t,e,r){var n=m.exec(e.slice(r));return n?(t.m=g.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(t,e,r){var n=y.exec(e.slice(r));return n?(t.m=v.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(t,r,n){return S(t,e,r,n)},d:e0,e:e0,f:e8,g:eY,G:eK,H:e2,I:e2,j:e1,L:e6,m:eQ,M:e5,p:function(t,e,r){var n=l.exec(e.slice(r));return n?(t.p=s.get(n[0].toLowerCase()),r+n[0].length):-1},q:eZ,Q:e4,s:e7,S:e3,u:eV,U:eX,V:eG,w:e$,W:eq,x:function(t,e,n){return S(t,r,e,n)},X:function(t,e,r){return S(t,n,e,r)},y:eY,Y:eK,Z:eJ,"%":e9};function O(t,e){return function(r){var n,o,i,a=[],u=-1,c=0,l=t.length;for(r instanceof Date||(r=new Date(+r));++u<l;)37===t.charCodeAt(u)&&(a.push(t.slice(c,u)),null!=(o=eR[n=t.charAt(++u)])?n=t.charAt(++u):o="e"===n?" ":"0",(i=e[n])&&(n=i(r,o)),a.push(n),c=u+1);return a.push(t.slice(c,u)),a.join("")}}function j(t,e){return function(r){var n,o,i=eN(1900,void 0,1);if(S(i,t,r+="",0)!=r.length)return null;if("Q"in i)return new Date(i.Q);
1if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(!e||"Z"in i||(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(n=(o=(n=eI(eN(i.y,0,1))).getUTCDay())>4||0===o?eg.ceil(n):eg(n),n=ea.offset(n,(i.V-1)*7),i.y=n.getUTCFullYear(),i.m=n.getUTCMonth(),i.d=n.getUTCDate()+(i.w+6)%7):(n=(o=(n=eD(eN(i.y,0,1))).getDay())>4||0===o?es.ceil(n):es(n),n=ei.offset(n,(i.V-1)*7),i.y=n.getFullYear(),i.m=n.getMonth(),i.d=n.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:+("W"in i)),o="Z"in i?eI(eN(i.y,0,1)).getUTCDay():eD(eN(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,eI(i)):eD(i)}}function S(t,e,r,n){for(var o,i,a=0,u=e.length,c=r.length;a<u;){if(n>=c)return -1;if(37===(o=e.charCodeAt(a++))){if(!(i=w[(o=e.charAt(a++))in eR?e.charAt(a++):o])||(n=i(t,r,n))<0)return -1}else if(o!=r.charCodeAt(n++))return -1}return n}return b.x=O(r,b),b.X=O(n,b),b.c=O(e,b),x.x=O(r,x),x.X=O(n,x),x.c=O(e,x),{format:function(t){var e=O(t+="",b);return e.toString=function(){return t},e},parse:function(t){var e=j(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=O(t+="",x);return e.toString=function(){return t},e},utcParse:function(t){var e=j(t+="",!0);return e.toString=function(){return t},e}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})).format,u.parse,l=u.utcFormat,u.utcParse;var r2=r(9819),r5=r(85654);function r3(t){for(var e=t.length,r=Array(e);--e>=0;)r[e]=e;return r}function r6(t,e){return t[e]}function r8(t){let e=[];return e.key=t,e}var r9=r(22315),r4=r.n(r9),r7=r(89053),nt=r.n(r7),ne=r(59882),nr=r.n(ne),nn=r(40139),no=r.n(nn),ni=r(15438),na=r.n(ni),nu=r(48973),nc=r.n(nu),nl=r(3698),ns=r.n(nl),nf=r(13908),np=r.n(nf),nd=r(23633),nh=r.n(nd),ny=r(60245),nv=r.n(ny),nm=r(67206),ng=r.n(nm),nb=r(8870),nx=r.n(nb);function nw(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var nO=function(t){return t},nj={},nS=function(t){return t===nj},nA=function(t){return function e(){return 0==arguments.length||1==arguments.length&&nS(arguments.length<=0?void 0:arguments[0])?e:t.apply(void 0,arguments)}},nP=function(t){return function t(e,r){return 1===e?r:nA(function(){for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];var a=o.filter(function(t){return t!==nj}).length;return a>=e?r.apply(void 0,o):t(e-a,nA(function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=o.map(function(t){return nS(t)?e.shift():t});return r.apply(void 0,((function(t){if(Array.isArray(t))return nw(t)})(i)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(i)||function(t,e){if(t){if("string"==typeof t)return nw(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return nw(t,e)}}(i)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat(e))}))})}(t.length,t)},nE=function(t,e){for(var r=[],n=t;n<e;++n)r[n-t]=n;return r},nk=nP(function(t,e){return Array.isArray(e)?e.map(t):Object.keys(e).map(function(t){return e[t]}).map(t)}),nM=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];if(!e.length)return nO;var n=e.reverse(),o=n[0],i=n.slice(1);return function(){return i.reduce(function(t,e){return e(t)},o.apply(void 0,arguments))}},nT=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},n_=function(t){var e=null,r=null;return function(){for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return e&&o.every(function(t,r){return t===e[r]})?r:(e=o,r=t.apply(void 0,o))}};nP(function(t,e,r){var n=+t;return n+r*(e-n)}),nP(function(t,e,r){var n=e-t;return(r-t)/(n=n||1/0)}),nP(function(t,e,r){var n=e-t;return Math.max(0,Math.min(1,(r-t)/(n=n||1/0)))});let nC={rangeStep:function(t,e,r){for(var n=new(nx())(t),o=0,i=[];n.lt(e)&&o<1e5;)i.push(n.toNumber()),n=n.add(r),o++;return i},getDigitCount:function(t){return 0===t?1:Math.floor(new(nx())(t).abs().log(10).toNumber())+1}};function nD(t){return function(t){if(Array.isArray(t))return nR(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||nN(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nI(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,u=t[Symbol.iterator]();!(n=(a=u.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==u.return||u.return()}finally{if(o)throw i}}return r}}(t,e)||nN(t,e)||function(){throw TypeError("Invalid attempt to de
1structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nN(t,e){if(t){if("string"==typeof t)return nR(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return nR(t,e)}}function nR(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function nB(t){var e=nI(t,2),r=e[0],n=e[1],o=r,i=n;return r>n&&(o=n,i=r),[o,i]}function nL(t,e,r){if(t.lte(0))return new(nx())(0);var n=nC.getDigitCount(t.toNumber()),o=new(nx())(10).pow(n),i=t.div(o),a=1!==n?.05:.1,u=new(nx())(Math.ceil(i.div(a).toNumber())).add(r).mul(a).mul(o);return e?u:new(nx())(Math.ceil(u))}function nz(t,e,r){var n=1,o=new(nx())(t);if(!o.isint()&&r){var i=Math.abs(t);i<1?(n=new(nx())(10).pow(nC.getDigitCount(t)-1),o=new(nx())(Math.floor(o.div(n).toNumber())).mul(n)):i>1&&(o=new(nx())(Math.floor(t)))}else 0===t?o=new(nx())(Math.floor((e-1)/2)):r||(o=new(nx())(Math.floor(t)));var a=Math.floor((e-1)/2);return nM(nk(function(t){return o.add(new(nx())(t-a).mul(n)).toNumber()}),nE)(0,e)}var nF=n_(function(t){var e=nI(t,2),r=e[0],n=e[1],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=Math.max(o,2),u=nI(nB([r,n]),2),c=u[0],l=u[1];if(c===-1/0||l===1/0){var s=l===1/0?[c].concat(nD(nE(0,o-1).map(function(){return 1/0}))):[].concat(nD(nE(0,o-1).map(function(){return-1/0})),[l]);return r>n?nT(s):s}if(c===l)return nz(c,o,i);var f=function t(e,r,n,o){var i,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((r-e)/(n-1)))return{step:new(nx())(0),tickMin:new(nx())(0),tickMax:new(nx())(0)};var u=nL(new(nx())(r).sub(e).div(n-1),o,a),c=Math.ceil((i=e<=0&&r>=0?new(nx())(0):(i=new(nx())(e).add(r).div(2)).sub(new(nx())(i).mod(u))).sub(e).div(u).toNumber()),l=Math.ceil(new(nx())(r).sub(i).div(u).toNumber()),s=c+l+1;return s>n?t(e,r,n,o,a+1):(s<n&&(l=r>0?l+(n-s):l,c=r>0?c:c+(n-s)),{step:u,tickMin:i.sub(new(nx())(c).mul(u)),tickMax:i.add(new(nx())(l).mul(u))})}(c,l,a,i),p=f.step,d=f.tickMin,h=f.tickMax,y=nC.rangeStep(d,h.add(new(nx())(.1).mul(p)),p);return r>n?nT(y):y});n_(function(t){var e=nI(t,2),r=e[0],n=e[1],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=Math.max(o,2),u=nI(nB([r,n]),2),c=u[0],l=u[1];if(c===-1/0||l===1/0)return[r,n];if(c===l)return nz(c,o,i);var s=nL(new(nx())(l).sub(c).div(a-1),i,0),f=nM(nk(function(t){return new(nx())(c).add(new(nx())(t).mul(s)).toNumber()}),nE)(0,a).filter(function(t){return t>=c&&t<=l});return r>n?nT(f):f});var nU=n_(function(t,e){var r=nI(t,2),n=r[0],o=r[1],i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=nI(nB([n,o]),2),u=a[0],c=a[1];if(u===-1/0||c===1/0)return[n,o];if(u===c)return[u];var l=Math.max(e,2),s=nL(new(nx())(c).sub(u).div(l-1),i,0),f=[].concat(nD(nC.rangeStep(new(nx())(u),new(nx())(c).sub(new(nx())(.99).mul(s)),s)),[c]);return n>o?nT(f):f}),nW=r(94011),nH=r(16377),n$=r(70788),nV=r(83197);function nX(t){return(nX="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function nG(t){return function(t){if(Array.isArray(t))return nq(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return nq(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return nq(t,e)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nq(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function nK(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function nY(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?nK(Object(r),!0).forEach(function(e){nJ(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):nK(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function nJ(t,e,r){var n;return(n=function(t,e){if("object"!=nX(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=nX(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==nX(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function nZ(t,e,r){return nr()(t)||nr()(e)?r:(0,nH.vh)(e)?nc()(t,e,r):no()(e)?e(t):r}function nQ(t,e,r,n){var o=ns()(t,function(t){return nZ(t,e)});if("number"===r){var i=o.filter(function(t){return(0,nH.Et)(t)||parseFloat(t)});return i.length?[nt()(i),r4()(i)]:[1/0,-1/0]}return(n?o.filter(function(t){return!nr()(t)}):o).map(function(t){return(0,nH.vh)(t)||t instanceof Date?t:""})}var n0=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=-1,a=null!=(e=null==r?void 0:r.length)?e:0;if(a<=1)return 0;if(o&&"angleAxis"===o.axisType&&1e-6>=Math.abs(Math.abs(o.range[1]-o.range[0])-360))for(var u=o.range,c=0;c<a;c++){var l=c>0?n[c-1].coordinate:n[a-1].coordinate,s=n[c].coordinate,f=c>=a-1?n[0].coordinate:n[c+1].coordinate,p=void 0;if((0,nH.sA)(s-l)!==(0,nH.sA)(f-s)){var d=[];if((0,nH.sA)(f-s)===(0,nH.sA)(u[1]-u[0])){p=f;var h=s+u[1]-u[0];d[0]=Math.min(h,(h+l)/2),d[1]=Math.max(h,(h+l)/2)}else{p=l;var y=f+u[1]-u[0];d[0]=Math.min(s,(y+s)/2),d[1]=Math.max(s,(y+s)/2)}var v=[Math.min(s,(p+s)/2),Math.max(s,(p+s)/2)];if(t>v[0]&&t<=v[1]||t>=d[0]&&t<=d[1]){i=n[c].index;break}}else{var m=Math.min(l,f),g=Math.max(l,f);if(t>(m+s)/2&&t<=(g+s)/2){i=n[c].index;break}}}else for(var b=0;b<a;b++)if(0===b&&t<=(r[b].coordinate+r[b+1].coordinate)/2||b>0&&b<a-1&&t>(r[b].coordinate+r[b-1].coordinate)/2&&t<=(r[b].coordinate+r[b+1].coordinate)/2||b===a-1&&t>(r[b].coordinate+r[b-1].coordinate)/2){i=r[b].index;break}return i},n1=function(t){var e,r,n=t.type.displayName,o=null!=(e=t.type)&&e.defaultProps?nY(nY({},t.type.defaultProps),t.props):t.props,i=o.stroke,a=o.fill;switch(n){case"Line":r=i;break;case"Area":case"Radar":r=i&&"none"!==i?i:a;break;default:r=a}return r},n2=function(t){var e=t.barSize,r=t.totalSize,n=t.stackGroups,o=void 0===n?{}:n;if(!o)return{};for(var i={},a=Object.keys(o),u=0,c=a.length;u<c;u++)for(var l=o[a[u]].stackGroups,s=Object.keys(l),f=0,p=s.length;f<p;f++){var d=l[s[f]],h=d.items,y=d.cateAxisId,v=h.filter(function(t){return(0,n$.Mn)(t.type).indexOf("Bar")>=0});if(v&&v.length){var m=v[0].type.defaultProps,g=void 0!==m?nY(nY({},m),v[0].props):v[0].props,b=g.barSize,x=g[y];i[x]||(i[x]=[]);var w=nr()(b)?e:b;i[x].push({item:v[0],stackList:v.slice(1),barSize:nr()(w)?void 0:(0,nH.F4)(w,r,0)})}}return i},n5=function(t){var e,r=t.barGap,n=t.barCategoryGap,o=t.bandSize,i=t.sizeList,a=void 0===i?[]:i,u=t.maxBarSize,c=a.length;if(c<1)return null;var l=(0,nH.F4)(r,o,0,!0),s=[];if(a[0].barSize===+a[0].barSize){var f=!1,p=o/c,d=a.reduce(function(t,e){return t+e.barSize||0},0);(d+=(c-1)*l)>=o&&(d-=(c-1)*l,l=0),d>=o&&p>0&&(f=!0,p*=.9,d=c*p);var h={offset:((o-d)/2|0)-l,size:0};e=a.reduce(function(t,e){var r={item:e.item,position:{offset:h.offset+h.size+l,size:f?p:e.barSize}},n=[].concat(nG(t),[r]);return h=n[n.length-1].position,e.stackList&&e.stackList.length&&e.stackList.forEach(function(t){n.push({item:t,position:h})}),n},s)}else{var y=(0,nH.F4)(n,o,0,!0);o-2*y-(c-1)*l<=0&&(l=0);var v=(o-2*y-(c-1)*l)/c;v>1&&(v>>=0);var m=u===+u?Math.min(v,u):v;e=a.reduce(function(t,e,r){var n=[].concat(nG(t),[{item:e.item,position:{offset:y+(v+l)*r+(v-m)/2,size:m}}]);return e.stackList&&e.stackList.length&&e.stackList.forEach(function(t){n.push({item:t,position:n[n.length-1].position})}),n},s)}return e},n3=function(t,e,r,n){var o=r.children,i=r.width,a=r.margin,u=i-(a.left||0)-(a.right||0),c=(0,nV.g)({children:o,legendWidth:u});if(c){var l=n||{},s=l.width,f=l.height,p=c.align,d=c.verticalAlign,h=c.layout;if(("vertical"===h||"horizontal"===h&&"middle"===d)&&"center"!==p&&(0,nH.Et)(t[p]))return nY(nY({},t),{},nJ({},p,t[p]+(s||0)));if(("horizontal"===h||"vertical"===h&&"center"===p)&&"middle"!==d&&(0,nH.Et)(t[d]))return nY(nY({},t),{},nJ({},d,t[d]+(f||0)))}return t},n6=function(t,e,r,n,o){var i=e.props.children,a=(0,n$.aS)(i,nW.u).filter(function(t){var e;return e=t.props.direction,!!nr()(o)||("horizontal"===n?"yAxis"===o:"vertical"===n||"x"===e?"xAxis"===o:"y"!==e||"yAxis"===o)});if(a&&a.length){var u=a.map(function(t){return t.props.dataKey});return t.reduce(function(t,e){var n=nZ(e,r);if(nr()(n))return t;var o=Array.isArray(n)?[nt()(n),r4()(n)]:[n,n],i=u.reduce(function(t,r){var n=nZ(e,r,0),i=o[0]-Math.abs(Array.isArray(n)?n[0]:n),a=o[1]+Math.abs(Array.isArray(n)?n[1]:n);return[Math.min(i,t[0]),Math.max(a,t[1])]},[1/0,-1/0]);return[Math.min(i[0],t[0]),Math.max(i[1],t[1])]},[1/0,-1/0])}return null},n8=function(t,e,r,n,o){var i=e.map(function(e){return n6(t,e,r,o,n)}).filter(function(t){return!nr()(t)});return i&&i.length?i.reduce(function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]},[1/0,-1/0]):null},n9=function(t,e,r,n,o){var i=e.map(function(e){var i=e.props.dataKey;return"number"===r&&i&&n6(t,e,i,n)||nQ(t,i,r,o)});if("number"===r)return i.reduce(function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]},[1/0,-1/0]);var a={};return i.reduce(function(t,e){for(var r=0,n=e.length;r<n;r++)a[e[r]]||(a[e[r]]=!0,t.push(e[r]));return t},[])},n4=function(t,e){return"horizontal"===t&&"xAxis"===e||"vertical"===t&&"yAxis"===e||"centric"===t&&"angleAxis"===e||"radial"===t&&"radiusAxis"===e},n7=function(t,e,r,n){if(n)return t.map(function(t){return t.coordinate});var o,i,a=t.map(function(t){return t.coordinate===e&&(o=!0),t.coordinate===r&&(i=!0),t.coordinate});return o||a.push(e),i||a.push(r),a},ot=function(t,e,r){if(!t)return null;var n=t.scale,o=t.duplicateDomain,i=t.type,a=t.range,u="scaleBand"===t.realScaleType?n.bandwidth()/2:2,c=(e||r)&&"category"===i&&n.bandwidth?n.bandwidth()/u:0;return(c="angleAxis"===t.axisType&&(null==a?void 0:a.length)>=2?2*(0,nH.sA)(a[0]-a[1])*c:c,e&&(t.ticks||t.niceTicks))?(t.ticks||t.niceTicks).map(function(t){return{coordinate:n(o?o.indexOf(t):t)+c,value:t,offset:c}}).filter(function(t){return!np()(t.coordinate)}):t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map(function(t,e){return{coordinate:n(t)+c,value:t,index:e,offset:c}}
1):n.ticks&&!r?n.ticks(t.tickCount).map(function(t){return{coordinate:n(t)+c,value:t,offset:c}}):n.domain().map(function(t,e){return{coordinate:n(t)+c,value:o?o[t]:t,index:e,offset:c}})},oe=new WeakMap,or=function(t,e){if("function"!=typeof e)return t;oe.has(t)||oe.set(t,new WeakMap);var r=oe.get(t);if(r.has(e))return r.get(e);var n=function(){t.apply(void 0,arguments),e.apply(void 0,arguments)};return r.set(e,n),n},on=function(t,e,r){var n=t.scale,o=t.type,i=t.layout,a=t.axisType;if("auto"===n)return"radial"===i&&"radiusAxis"===a?{scale:f.A(),realScaleType:"band"}:"radial"===i&&"angleAxis"===a?{scale:tR(),realScaleType:"linear"}:"category"===o&&e&&(e.indexOf("LineChart")>=0||e.indexOf("AreaChart")>=0||e.indexOf("ComposedChart")>=0&&!r)?{scale:f.z(),realScaleType:"point"}:"category"===o?{scale:f.A(),realScaleType:"band"}:{scale:tR(),realScaleType:"linear"};if(na()(n)){var u="scale".concat(nh()(n));return{scale:(s[u]||f.z)(),realScaleType:s[u]?u:"point"}}return no()(n)?{scale:n}:{scale:f.z(),realScaleType:"point"}},oo=function(t){var e=t.domain();if(e&&!(e.length<=2)){var r=e.length,n=t.range(),o=Math.min(n[0],n[1])-1e-4,i=Math.max(n[0],n[1])+1e-4,a=t(e[0]),u=t(e[r-1]);(a<o||a>i||u<o||u>i)&&t.domain([e[0],e[r-1]])}},oi=function(t,e){if(!t)return null;for(var r=0,n=t.length;r<n;r++)if(t[r].item===e)return t[r].position;return null},oa=function(t,e){if(!e||2!==e.length||!(0,nH.Et)(e[0])||!(0,nH.Et)(e[1]))return t;var r=Math.min(e[0],e[1]),n=Math.max(e[0],e[1]),o=[t[0],t[1]];return(!(0,nH.Et)(t[0])||t[0]<r)&&(o[0]=r),(!(0,nH.Et)(t[1])||t[1]>n)&&(o[1]=n),o[0]>n&&(o[0]=n),o[1]<r&&(o[1]=r),o},ou={sign:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var o=0,i=0,a=0;a<e;++a){var u=np()(t[a][r][1])?t[a][r][0]:t[a][r][1];u>=0?(t[a][r][0]=o,t[a][r][1]=o+u,o=t[a][r][1]):(t[a][r][0]=i,t[a][r][1]=i+u,i=t[a][r][1])}},expand:function(t,e){if((n=t.length)>0){for(var r,n,o,i=0,a=t[0].length;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}r1(t,e)}},none:r1,silhouette:function(t,e){if((r=t.length)>0){for(var r,n=0,o=t[e[0]],i=o.length;n<i;++n){for(var a=0,u=0;a<r;++a)u+=t[a][n][1]||0;o[n][1]+=o[n][0]=-u/2}r1(t,e)}},wiggle:function(t,e){if((o=t.length)>0&&(n=(r=t[e[0]]).length)>0){for(var r,n,o,i=0,a=1;a<n;++a){for(var u=0,c=0,l=0;u<o;++u){for(var s=t[e[u]],f=s[a][1]||0,p=(f-(s[a-1][1]||0))/2,d=0;d<u;++d){var h=t[e[d]];p+=(h[a][1]||0)-(h[a-1][1]||0)}c+=f,l+=p*f}r[a-1][1]+=r[a-1][0]=i,c&&(i-=l/c)}r[a-1][1]+=r[a-1][0]=i,r1(t,e)}},positive:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var o=0,i=0;i<e;++i){var a=np()(t[i][r][1])?t[i][r][0]:t[i][r][1];a>=0?(t[i][r][0]=o,t[i][r][1]=o+a,o=t[i][r][1]):(t[i][r][0]=0,t[i][r][1]=0)}}},oc=function(t,e,r){var n=e.map(function(t){return t.props.dataKey}),o=ou[r];return(function(){var t=(0,r5.A)([]),e=r3,r=r1,n=r6;function o(o){var i,a,u=Array.from(t.apply(this,arguments),r8),c=u.length,l=-1;for(let t of o)for(i=0,++l;i<c;++i)(u[i][l]=[0,+n(t,u[i].key,l,o)]).data=t;for(i=0,a=(0,r2.A)(e(u));i<c;++i)u[a[i]].index=i;return r(u,a),u}return o.keys=function(e){return arguments.length?(t="function"==typeof e?e:(0,r5.A)(Array.from(e)),o):t},o.value=function(t){return arguments.length?(n="function"==typeof t?t:(0,r5.A)(+t),o):n},o.order=function(t){return arguments.length?(e=null==t?r3:"function"==typeof t?t:(0,r5.A)(Array.from(t)),o):e},o.offset=function(t){return arguments.length?(r=null==t?r1:t,o):r},o})().keys(n).value(function(t,e){return+nZ(t,e,0)}).order(r3).offset(o)(t)},ol=function(t,e,r,n,o,i){if(!t)return null;var a=(i?e.reverse():e).reduce(function(t,e){var o,i=null!=(o=e.type)&&o.defaultProps?nY(nY({},e.type.defaultProps),e.props):e.props,a=i.stackId;if(i.hide)return t;var u=i[r],c=t[u]||{hasStack:!1,stackGroups:{}};if((0,nH.vh)(a)){var l=c.stackGroups[a]||{numericAxisId:r,cateAxisId:n,items:[]};l.items.push(e),c.hasStack=!0,c.stackGroups[a]=l}else c.stackGroups[(0,nH.NF)("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[e]};return nY(nY({},t),{},nJ({},u,c))},{});return Object.keys(a).reduce(function(e,i){var u=a[i];return u.hasStack&&(u.stackGroups=Object.keys(u.stackGroups).reduce(function(e,i){var a=u.stackGroups[i];return nY(nY({},e),{},nJ({},i,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:oc(t,a.items,o)}))},{})),nY(nY({},e),{},nJ({},i,u))},{})},os=function(t,e){var r=e.realScaleType,n=e.type,o=e.tickCount,i=e.originalDomain,a=e.allowDecimals,u=r||e.scale;if("auto"!==u&&"linear"!==u)return null;if(o&&"number"===n&&i&&("auto"===i[0]||"auto"===i[1])){var c=t.domain();if(!c.length)return null;var l=nF(c,o,a);
1return t.domain([nt()(l),r4()(l)]),{niceTicks:l}}return o&&"number"===n?{niceTicks:nU(t.domain(),o,a)}:null};function of(t){var e=t.axis,r=t.ticks,n=t.bandSize,o=t.entry,i=t.index,a=t.dataKey;if("category"===e.type){if(!e.allowDuplicatedCategory&&e.dataKey&&!nr()(o[e.dataKey])){var u=(0,nH.eP)(r,"value",o[e.dataKey]);if(u)return u.coordinate+n/2}return r[i]?r[i].coordinate+n/2:null}var c=nZ(o,nr()(a)?e.dataKey:a);return nr()(c)?null:e.scale(c)}var op=function(t){var e=t.axis,r=t.ticks,n=t.offset,o=t.bandSize,i=t.entry,a=t.index;if("category"===e.type)return r[a]?r[a].coordinate+n:null;var u=nZ(i,e.dataKey,e.domain[a]);return nr()(u)?null:e.scale(u)-o/2+n},od=function(t){var e=t.numericAxis,r=e.scale.domain();if("number"===e.type){var n=Math.min(r[0],r[1]),o=Math.max(r[0],r[1]);return n<=0&&o>=0?0:o<0?o:n}return r[0]},oh=function(t,e){var r,n=(null!=(r=t.type)&&r.defaultProps?nY(nY({},t.type.defaultProps),t.props):t.props).stackId;if((0,nH.vh)(n)){var o=e[n];if(o){var i=o.items.indexOf(t);return i>=0?o.stackedData[i]:null}}return null},oy=function(t,e,r){return Object.keys(t).reduce(function(n,o){var i=t[o].stackedData.reduce(function(t,n){var o=n.slice(e,r+1).reduce(function(t,e){return[nt()(e.concat([t[0]]).filter(nH.Et)),r4()(e.concat([t[1]]).filter(nH.Et))]},[1/0,-1/0]);return[Math.min(t[0],o[0]),Math.max(t[1],o[1])]},[1/0,-1/0]);return[Math.min(i[0],n[0]),Math.max(i[1],n[1])]},[1/0,-1/0]).map(function(t){return t===1/0||t===-1/0?0:t})},ov=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,om=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,og=function(t,e,r){if(no()(t))return t(e,r);if(!Array.isArray(t))return e;var n=[];if((0,nH.Et)(t[0]))n[0]=r?t[0]:Math.min(t[0],e[0]);else if(ov.test(t[0])){var o=+ov.exec(t[0])[1];n[0]=e[0]-o}else no()(t[0])?n[0]=t[0](e[0]):n[0]=e[0];if((0,nH.Et)(t[1]))n[1]=r?t[1]:Math.max(t[1],e[1]);else if(om.test(t[1])){var i=+om.exec(t[1])[1];n[1]=e[1]+i}else no()(t[1])?n[1]=t[1](e[1]):n[1]=e[1];return n},ob=function(t,e,r){if(t&&t.scale&&t.scale.bandwidth){var n=t.scale.bandwidth();if(!r||n>0)return n}if(t&&e&&e.length>=2){for(var o=ng()(e,function(t){return t.coordinate}),i=1/0,a=1,u=o.length;a<u;a++){var c=o[a],l=o[a-1];i=Math.min((c.coordinate||0)-(l.coordinate||0),i)}return i===1/0?0:i}return r?void 0:0},ox=function(t,e,r){return!t||!t.length||nv()(t,nc()(r,"type.defaultProps.domain"))?e:t},ow=function(t,e){var r=t.type.defaultProps?nY(nY({},t.type.defaultProps),t.props):t.props,n=r.dataKey,o=r.name,i=r.unit,a=r.formatter,u=r.tooltipType,c=r.chartType,l=r.hide;return nY(nY({},(0,n$.J9)(t,!1)),{},{dataKey:n,unit:i,formatter:a,name:o||n,color:n1(t),value:nZ(e,n),type:u,payload:e,chartType:c,hide:l})}},13122:(t,e,r)=>{var n=r(40139),o=r(38985),i=r(67460),a=r(7512),u=/^\[object .+?Constructor\]$/,c=Object.prototype,l=Function.prototype.toString,s=c.hasOwnProperty,f=RegExp("^"+l.call(s).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(n(t)?f:u).test(a(t))}},13364:(t,e,r)=>{var n=r(75899),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},13465:t=>{t.exports=function(t){return t}},13908:(t,e,r)=>{var n=r(40566);t.exports=function(t){return n(t)&&t!=+t}},15232:(t,e,r)=>{"use strict";function n(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}r.d(e,{b:()=>n})},15438:(t,e,r)=>{var n=r(98233),o=r(39608),i=r(48611);t.exports=function(t){return"string"==typeof t||!o(t)&&i(t)&&"[object String]"==n(t)}},15473:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},15631:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=0x1fffffffffffff}},16238:(t,e,r)=>{"use strict";r.d(e,{h:()=>v});var n=r(12115),o=r(52596),i=r(50091),a=r(45167),u=r(12814);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(l=function(){return!!t})()}
1function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function p(t,e,r){return(e=d(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function d(t){var e=function(t,e){if("object"!=c(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=c(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==c(e)?e:e+""}function h(){return(h=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}).apply(this,arguments)}var y=function(t){var e=t.yAxisId,r=(0,i.yi)(),c=(0,i.rY)(),l=(0,i.Nk)(e);return null==l?null:n.createElement(a.u,h({},l,{className:(0,o.A)("recharts-".concat(l.axisType," ").concat(l.axisType),l.className),viewBox:{x:0,y:0,width:r,height:c},ticksGenerator:function(t){return(0,u.Rh)(t,!0)}}))},v=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=s(t),function(t,e){if(e&&("object"===c(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,l()?Reflect.construct(t,e||[],s(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&f(r,t),e=[{key:"render",value:function(){return n.createElement(y,this.props)}}],function(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,d(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.Component);p(v,"displayName","YAxis"),p(v,"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})},16377:(t,e,r)=>{"use strict";r.d(e,{CG:()=>O,Dj:()=>j,Et:()=>y,F4:()=>x,NF:()=>b,_3:()=>h,ck:()=>A,eP:()=>S,lX:()=>w,sA:()=>d,uy:()=>v,vh:()=>m});var n=r(15438),o=r.n(n),i=r(13908),a=r.n(i),u=r(48973),c=r.n(u),l=r(40566),s=r.n(l),f=r(59882),p=r.n(f),d=function(t){return 0===t?0:t>0?1:-1},h=function(t){return o()(t)&&t.indexOf("%")===t.length-1},y=function(t){return s()(t)&&!a()(t)},v=function(t){return p()(t)},m=function(t){return y(t)||o()(t)},g=0,b=function(t){var e=++g;return"".concat(t||"").concat(e)},x=function(t,e){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!y(t)&&!o()(t))return n;if(h(t)){var u=t.indexOf("%");r=e*parseFloat(t.slice(0,u))/100}else r=+t;return a()(r)&&(r=n),i&&r>e&&(r=e),r},w=function(t){if(!t)return null;var e=Object.keys(t);return e&&e.length?t[e[0]]:null},O=function(t){if(!Array.isArray(t))return!1;for(var e=t.length,r={},n=0;n<e;n++)if(r[t[n]])return!0;else r[t[n]]=!0;return!1},j=function(t,e){return y(t)&&y(e)?function(r){return t+r*(e-t)}:function(){return e}};function S(t,e,r){return t&&t.length?t.find(function(t){return t&&("function"==typeof e?e(t):c()(t,e))===r}):null}var A=function(t,e){return y(t)&&y(e)?t-e:o()(t)&&o()(e)?t.localeCompare(e):t instanceof Date&&e instanceof Date?t.getTime()-e.getTime():String(t).localeCompare(String(e))}},16571:(t,e,r)=>{var n=r(50687),o=r(54906),i=r(13465);t.exports=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:n(e),writable:!0})}:i},16613:(t,e,r)=>{var n=r(24376),o=r(57213),i=r(39608),a=r(70771),u=1/0,c=n?n.prototype:void 0,l=c?c.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(a(e))return l?l.call(e):"";var r=e+"";return"0"==r&&1/e==-u?"-0":r}},16746:(t,e,r)=>
1{var n=r(3562),o=r(12486),i=r(69806);t.exports=function(t,e,r){return e==e?i(t,e,r):n(t,o,r)}},17489:(t,e,r)=>{var n=r(91113);t.exports=function(t){var e=n(t,function(t){return 500===r.size&&r.clear(),t}),r=e.cache;return e}},17855:t=>{var e="\ud800-\udfff",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",n="\ud83c[\udffb-\udfff]",o="[^"+e+"]",i="(?:\ud83c[\udde6-\uddff]){2}",a="[\ud800-\udbff][\udc00-\udfff]",u="(?:"+r+"|"+n+")?",c="[\\ufe0e\\ufe0f]?",l="(?:\\u200d(?:"+[o,i,a].join("|")+")"+c+u+")*",s=RegExp(n+"(?="+n+")|"+("(?:"+[o+r+"?",r,i,a,"["+e+"]"].join("|"))+")"+(c+u+l),"g");t.exports=function(t){return t.match(s)||[]}},18028:(t,e,r)=>{var n=r(55910),o=r(96699),i=r(13465),a=r(39608),u=r(28126);t.exports=function(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?a(t)?o(t[0],t[1]):n(t):u(t)}},18489:(t,e,r)=>{var n=r(96294),o=r(72043),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))i.call(t,r)&&"constructor"!=r&&e.push(r);return e}},18686:(t,e,r)=>{t.exports=r(83711)(r(82500),"Map")},18940:(t,e,r)=>{t.exports=r(64189)()},20134:(t,e,r)=>{var n=r(86452),o=r(50111);t.exports=function(t,e){return null!=t&&o(t,e,n)}},20480:(t,e,r)=>{var n=r(86216),o=r(35095);t.exports=function(t,e){return t&&n(t,e,o)}},20570:(t,e,r)=>{var n=r(24376),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,u=n?n.toStringTag:void 0;t.exports=function(t){var e=i.call(t,u),r=t[u];try{t[u]=void 0;var n=!0}catch(t){}var o=a.call(t);return n&&(e?t[u]=r:delete t[u]),o}},20963:(t,e,r)=>{var n=r(65646),o=r(38649),i=r(35095);t.exports=function(t){return n(t,i,o)}},20988:(t,e,r)=>{var n=r(75899);t.exports=function(t,e){var r=this.__data__;return this.size+=+!this.has(t),r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},21087:(t,e,r)=>{var n=r(13465),o=r(64588),i=r(61632);t.exports=function(t,e){return i(o(t,e,n),t+"")}},21582:t=>{t.exports=function(t,e){return t>e}},21790:(t,e,r)=>{var n=r(54360);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},22143:(t,e,r)=>{var n=r(98233),o=r(48611);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},22315:(t,e,r)=>{var n=r(58918),o=r(21582),i=r(13465);t.exports=function(t){return t&&t.length?n(t,i,o):void 0}},22471:(t,e,r)=>{var n=r(40139),o=r(15631);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},23360:(t,e,r)=>{var n=r(42233);t.exports=function(t){var e=n(t),r=e%1;return e==e?r?e-r:e:0}},23633:(t,e,r)=>{t.exports=r(62962)("toUpperCase")},24026:(t,e,r)=>{"use strict";r.d(e,{s:()=>D});var n=r(12115),o=r(40139),i=r.n(o),a=r(52596),u=r(675),c=r(72790),l=r(9795),s=r(43597);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(){return(p=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}).apply(this,arguments)}function d(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function h(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(h=function(){return!!t})()}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function v(t,e){return(v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function m(t,e,r){return(e=g(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function g(t){var e=function(t,e){if("object"!=f(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=f(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==f(e)?e:e+""}var b=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=y(t),function(t,e){if(e&&("object"===f(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,h()?Reflect.construct(t,e||[],y(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&v(r,t),e=[{key:"renderIcon",value:function(t){var e=this.props.inactiveColor,r=32/6,o=32/3,i=t.inactive?e:t.color;if("plainline"===t.type)return n.createElement("line",{strokeWidth:4,fill:"none",stroke:i,strokeDasharray:t.payload.strokeDasharray,x1:0,y1:16,x2:32,y2:16,className:"recharts-legend-icon"});if("line"===t.type)return n.createElement("path",{strokeWidth:4,fill:"none",stroke:i,d:"M0,".concat(16,"h").concat(o,"\n            A").concat(r,",").concat(r,",0,1,1,").concat(2*o,",").concat(16,"\n            H").concat(32,"M").concat(2*o,",").concat(16,"\n            A").concat(r,",").concat(r,",0,1,1,").concat(o,",").concat(16),className:"recharts-legend-icon"});if("rect"===t.type)return n.createElement("path",{stroke:"none",fill:i,d:"M0,".concat(4,"h").concat(32,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(n.isValidElement(t.legendIcon)){var a=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?d(Object(r),!0).forEach(function(e){m(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}({},t);return delete a.legendIcon,n.cloneElement(t.legendIcon,a)}return n.createElement(l.i,{fill:i,cx:16,cy:16,size:32,sizeType:"diameter",type:t.type})}},{key:"renderItems",value:function(){var t=this,e=this.props,r=e.payload,o=e.iconSize,l=e.layout,f=e.formatter,d=e.inactiveColor,h={x:0,y:0,width:32,height:32},y={display:"horizontal"===l?"inline-block":"block",marginRight:10},v={display:"inline-block",verticalAlign:"middle",marginRight:4};return r.map(function(e,r){var l=e.formatter||f,g=(0,a.A)(m(m({"recharts-legend-item":!0},"legend-item-".concat(r),!0),"inactive",e.inactive));if("none"===e.type)return null;var b=i()(e.value)?null:e.value;(0,u.R)(!i()(e.value),'The name property is also required when using a function for the dataKey of a chart\'s cartesian components. Ex: <Bar name="Name of my Data"/>');var x=e.inactive?d:e.color;return n.createElement("li",p({className:g,style:y,key:"legend-item-".concat(r)},(0,s.XC)(t.props,e,r)),n.createElement(c.u,{width:o,height:o,viewBox:h,style:v},t.renderIcon(e)),n.createElement("span",{className:"recharts-legend-item-text",style:{color:x}},l?l(b,e,r):b))})}},{key:"render",value:function(){var t=this.props,e=t.payload,r=t.layout,o=t.align;return e&&e.length?n.createElement("ul",{className:"recharts-default-legend",style:{padding:0,margin:0,textAlign:"horizontal"===r?o:"left"}},this.renderItems()):null}}],function(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,g(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.PureComponent);m(b,"displayName","Legend"),m(b,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var x=r(16377),w=r(2494);function O(t){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var j=["ref"];function S(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function A(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?S(Object(r),!0).forEach(function(e){T(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function P(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,_(n.key),n)}}function E(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(E=function(){return!!t})()}function k(t){return(k=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function M(t,e){return(M=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function T(t,e,r){return(e=_(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function _(t){var e=function(t,e){if("object"!=O(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=O(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==O(e)?e:e+""}function C(t){return t.value}var D=function(t){var e,r;function o(){var t,e,r;if(!(this instanceof o))throw TypeError("Cannot call a class as a function");for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=o,r=[].concat(i),e=k(e),T(t=function(t,e){if(e&&("object"===O(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,E()?Reflect.construct(e,r||[],k(this).constructor):e.apply(this,r)),"lastBoundingBox",{width:-1,height:-1}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&M(o,t),e=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var t=this.wrapperNode.getBoundingClientRect();return t.height=this.wrapperNode.offsetHeight,t.width=this.wrapperNode.offsetWidth,t}return null}},{key:"updateBBox",value:function(){var t=this.props.onBBoxUpdate,e=this.getBBox();e?(Math.abs(e.width-this.lastBoundingBox.width)>1||Math.abs(e.height-this.lastBoundingBox.height)>1)&&(this.lastBoundingBox.width=e.width,this.lastBoundingBox.height=e.height,t&&t(e)):(-1!==this.lastBoundingBox.width||-1!==this.lastBoundingBox.height)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,t&&t(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?A({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(t){var e,r,n=this.props,o=n.layout,i=n.align,a=n.verticalAlign,u=n.margin,c=n.chartWidth,l=n.chartHeight;return t&&(void 0!==t.left&&null!==t.left||void 0!==t.right&&null!==t.right)||(e="center"===i&&"vertical"===o?{left:((c||0)-this.getBBoxSnapshot().width)/2}:"right"===i?{right:u&&u.right||0}:{left:u&&u.left||0}),t&&(void 0!==t.top&&null!==t.top||void 0!==t.bottom&&null!==t.bottom)||(r="middle"===a?{top:((l||0)-this.getBBoxSnapshot().height)/2}:"bottom"===a?{bottom:u&&u.bottom||0}:{top:u&&u.top||0}),A(A({},e),r)}},{key:"render",value:function(){var t=this,e=this.props,r=e.content,o=e.width,i=e.height,a=e.wrapperStyle,u=e.payloadUniqBy,c=e.payload,l=A(A({position:"absolute",width:o||"auto",height:i||"auto"},this.getDefaultPosition(a)),a);return n.createElement("div",{className:"recharts-legend-wrapper",style:l,ref:function(e){t.wrapperNode=e}},function(t,e){if(n.isValidElement(t))return n.cloneElement(t,e);if("function"==typeof t)return n.createElement(t,e);e.ref;var r=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)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}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(e,j);return n.createElement(b,r)}(r,A(A({},this.props),{},{payload:(0,w.s)(c,u,C)})))}}],r=[{key:"getWithHeight",value:function(t,e){var r=A(A({},this.defaultProps),t.props).layout;return"vertical"===r&&(0,x.Et)(t.props.height)?{height:t.props.height}:"horizontal"===r?{width:t.props.width||e}:null}}],e&&P(o.prototype,e),r&&P(o,r),Object.defineProperty(o,"prototype",{writable:!1}),o}(n.PureComponent);T(D,"displayName","Legend"),T(D,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"})},24376:(t,e,r)=>{t.exports=r(82500).Symbol},25641:(t,e,r)=>{"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?o(Object(r),!0).forEach(function(e){var o,i,a;o=t,i=e,a=r[e],(i=function(t){var e=function(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=n(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==n(e)?e:e+""}(i))in o?Object.defineProperty(o,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):o[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}r.d(e,{IZ:()=>u,Kg:()=>a,yy:()=>f}),r(59882),r(12115),r(40139);var a=Math.PI/180,u=function(t,e,r,n){return{x:t+Math.cos(-a*n)*r,y:e+Math.sin(-a*n)*r}},c=function(t,e){var r=t.x,n=t.y;return Math.sqrt(Math.pow(r-e.x,2)+Math.pow(n-e.y,2))},l=function(t,e){var r=t.x,n=t.y,o=e.cx,i=e.cy,a=c({x:r,y:n},{x:o,y:i});if(a<=0)return{radius:a};var u=Math.acos((r-o)/a);return n>i&&(u=2*Math.PI-u),{radius:a,angle:180*u/Math.PI,angleInRadian:u}},s=function(t){var e=t.startAngle,r=t.endAngle,n=Math.min(Math.floor(e/360),Math.floor(r/360));return{startAngle:e-360*n,endAngle:r-360*n}},f=function(t,e){var r,n=l({x:t.x,y:t.y},e),o=n.radius,a=n.angle,u=e.innerRadius,c=e.outerRadius;if(o<u||o>c)return!1;if(0===o)return!0;var f=s(e),p=f.startAngle,d=f.endAngle,h=a;if(p<=d){for(;h>d;)h-=360;for(;h<p;)h+=360;r=h>=p&&h<=d}else{for(;h>p;)h-=360;for(;h<d;)h+=360;r=h>=d&&h<=p}return r?i(i({},e),{},{radius:o,angle:h+360*Math.min(Math.floor(e.startAngle/360),Math.floor(e.endAngle/360))}):null}},26151:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=!!e,e}},27569:(t,e,r)=>{var n=r(32197),o=r(35095);t.exports=function(t){for(var e=o(t),r=e.length;r--;){var i=e[r],a=t[i];e[r]=[i,a,n(a)]}return e}},28126:(t,e,r)=>{var n=r(96548),o=r(93294),i=r(79595),a=r(94356);t.exports=function(t){return i(t)?n(a(t)):o(t)}},28749:(t,e,r)=>{"use strict";function n(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function o(t,e){switch(arguments.length){case 0:break;case 1:"function"==typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"==typeof e?this.interpolator(e):this.range(e)}return this}r.d(e,{C:()=>n,K:()=>o})},28897:(t,e,r)=>{var n=r(54906);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},29794:(t,e,r)=>{var n=r(48628),o=r(74888),i=r(18028),a=r(39608),u=r(39641);t.exports=function(t,e,r){var c=a(t)?n:o;return r&&u(t,e,r)&&(e=void 0),c(t,i(e,3))}},30152:(t,e,r)=>{t.exports=r(82500)["__core-js_shared__"]},30699:t=>{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},30716:t=>{t.exports=function(t){return function(e,r,n){for(var o=-1,i=Object(e),a=n(e),u=a.length;u--;){var c=a[t?u:++o];if(!1===r(i[c],c,i))break}return e}}},31431:t=>{t.exports=function(){}},31545:(t,e,r)=>{var n=r(75899);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},31598:(t,e,r)=>{var n=r(31887),o=r(90929),i=r(45170),a=r(61830),u=r(21790);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,t.exports=c},31847:(t,e,r)=>{"use strict";r.d(e,{i:()=>c});let n=Math.PI,o=2*n,i=o-1e-6;function a(t){this._+=t[0];for(let e=1,r=t.length;e<r;++e)this._+=arguments[e]+t[e]}class u{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?a:function(t){let e=Math.floor(t);if(!(e>=0))throw Error(`invalid digits: ${t}`);if(e>15)return a;let r=10**e;return function(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=Math.round(arguments[e]*r)/r+t[e]}}(t)}moveTo(t,e){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,e){this._append`L${this._x1=+t},${this._y1=+e}`}quadraticCurveTo(t,e,r,n){this._append`Q${+t},${+e},${this._x1=+r},${this._y1=+n}`}bezierCurveTo(t,e,r,n,o,i){this._append`C${+t},${+e},${+r},${+n}
1,${this._x1=+o},${this._y1=+i}`}arcTo(t,e,r,o,i){if(t*=1,e*=1,r*=1,o*=1,(i*=1)<0)throw Error(`negative radius: ${i}`);let a=this._x1,u=this._y1,c=r-t,l=o-e,s=a-t,f=u-e,p=s*s+f*f;if(null===this._x1)this._append`M${this._x1=t},${this._y1=e}`;else if(p>1e-6)if(Math.abs(f*c-l*s)>1e-6&&i){let d=r-a,h=o-u,y=c*c+l*l,v=Math.sqrt(y),m=Math.sqrt(p),g=i*Math.tan((n-Math.acos((y+p-(d*d+h*h))/(2*v*m)))/2),b=g/m,x=g/v;Math.abs(b-1)>1e-6&&this._append`L${t+b*s},${e+b*f}`,this._append`A${i},${i},0,0,${+(f*d>s*h)},${this._x1=t+x*c},${this._y1=e+x*l}`}else this._append`L${this._x1=t},${this._y1=e}`}arc(t,e,r,a,u,c){if(t*=1,e*=1,r*=1,c=!!c,r<0)throw Error(`negative radius: ${r}`);let l=r*Math.cos(a),s=r*Math.sin(a),f=t+l,p=e+s,d=1^c,h=c?a-u:u-a;null===this._x1?this._append`M${f},${p}`:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-p)>1e-6)&&this._append`L${f},${p}`,r&&(h<0&&(h=h%o+o),h>i?this._append`A${r},${r},0,1,${d},${t-l},${e-s}A${r},${r},0,1,${d},${this._x1=f},${this._y1=p}`:h>1e-6&&this._append`A${r},${r},0,${+(h>=n)},${d},${this._x1=t+r*Math.cos(u)},${this._y1=e+r*Math.sin(u)}`)}rect(t,e,r,n){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${r*=1}v${+n}h${-r}Z`}toString(){return this._}}function c(t){let e=3;return t.digits=function(r){if(!arguments.length)return e;if(null==r)e=null;else{let t=Math.floor(r);if(!(t>=0))throw RangeError(`invalid digits: ${r}`);e=t}return t},()=>new u(e)}u.prototype},31887:t=>{t.exports=function(){this.__data__=[],this.size=0}},32197:(t,e,r)=>{var n=r(67460);t.exports=function(t){return t==t&&!n(t)}},33332:t=>{t.exports=function(t){return function(e){return t(e)}}},33497:(t,e,r)=>{t=r.nmd(t);var n=r(82500),o=r(44158),i=e&&!e.nodeType&&e,a=i&&t&&!t.nodeType&&t,u=a&&a.exports===i?n.Buffer:void 0,c=u?u.isBuffer:void 0;t.exports=c||o},34210:t=>{t.exports=function(t){return this.__data__.has(t)}},34711:(t,e,r)=>{var n=r(73800),o=r(94356);t.exports=function(t,e){e=n(e,t);for(var r=0,i=e.length;null!=t&&r<i;)t=t[o(e[r++])];return r&&r==i?t:void 0}},35095:(t,e,r)=>{var n=r(11670),o=r(18489),i=r(22471);t.exports=function(t){return i(t)?n(t):o(t)}},35190:(t,e,r)=>{var n=r(89316),o=r(33332),i=r(49840),a=i&&i.isTypedArray;t.exports=a?o(a):n},36079:(t,e,r)=>{"use strict";r.d(e,{Z:()=>A});var n=r(12115),o=r(59882),i=r.n(o),a=r(67460),u=r.n(a),c=r(40139),l=r.n(c),s=r(83979),f=r.n(s),p=r(60379),d=r(2348),h=r(70788),y=r(12814);function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var m=["valueAccessor"],g=["data","dataKey","clockWise","id","textBreakAll"];function b(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function x(){return(x=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}).apply(this,arguments)}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function O(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?w(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=v(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=v(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==v(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function j(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)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}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var S=function(t){return Array.isArray(t.value)?f()(t.value):t.value};function A(t){var e=t.valueAccessor,r=void 0===e?S:e,o=j(t,m),a=o.data,u=o.dataKey,c=o.clockWise,l=o.id,s=o.textBreakAll,f=j(o,g);return a&&a.length?n.createElement(d.W,{className:"recharts-label-list"},a.map(function(t,e){var o=i()(u)?r(t,e):(0,y.kr)(t&&t.payload,u),a=i()(l)?{}:{id:"".concat(l,"-").concat(e)};return n.createElement(p.J,x({},(0,h.J9)(t,!0),f,a,{parentViewBox:t.parentViewBox,value:o,textBreakAll:s,viewBox:p.J.parseViewBox(i()(c)?t:O(O({},t),{},{clockWise:c})),key:"label-".concat(e),index:e}))})):null}A.displayName="LabelList",A.renderCallByParent=function(t,e){var r,o=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!t||!t.children&&o&&!t.label)return null;var i=t.children,a=(0,h.aS)(i,A).map(function(t,r){return(0,n.cloneElement)(t,{data:e,key:"labelList-".concat(r)})});return o?[(r=t.label,!r?null:!0===r?n.createElement(A,{key:"labelList-implicit",data:e}):n.isValidElement(r)||l()(r)?n.createElement(A,{key:"labelList-implicit",data:e,content:r}):u()(r)?n.createElement(A,x({data:e},r,{key:"labelList-implicit"})):null)].concat(function(t){if(Array.isArray(t))return b(t)}(a)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(a)||function(t,e){if(t){if("string"==typeof t)return b(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return b(t,e)}}(a)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):a}},36314:(t,e,r)=>{var n=r(24376),o=r(9813),i=r(39608),a=n?n.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(a&&t&&t[a])}},36447:(t,e,r)=>{"use strict";r.d(e,{f:()=>h});var n=r(40139),o=r.n(n),i=r(16377),a=r(46605),u=r(41643),c=r(53707);function l(t,e,r){if(e<1)return[];if(1===e&&void 0===r)return t;for(var n=[],o=0;o<t.length;o+=e)if(void 0!==r&&!0!==r(t[o]))return;else n.push(t[o]);return n}function s(t,e,r,n,o){if(t*e<t*n||t*e>t*o)return!1;var i=r();return t*(e-t*i/2-n)>=0&&t*(e+t*i/2-o)<=0}function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?p(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=f(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=f(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==f(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function h(t,e,r){var n,f,p,h,y,v=t.tick,m=t.ticks,g=t.viewBox,b=t.minTickGap,x=t.orientation,w=t.interval,O=t.tickFormatter,j=t.unit,S=t.angle;if(!m||!m.length||!v)return[];if((0,i.Et)(w)||u.m.isSsr)return l(m,("number"==typeof w&&(0,i.Et)(w)?w:0)+1);var A="top"===x||"bottom"===x?"width":"height",P=j&&"width"===A?(0,a.Pu)(j,{fontSize:e,letterSpacing:r}):{width:0,height:0},E=function(t,n){var i,u,l=o()(O)?O(t.value,n):t.value;return"width"===A?(i=(0,a.Pu)(l,{fontSize:e,letterSpacing:r}),u={width:i.width+P.width,height:i.height+P.height},(0,c.bx)(u,S)):(0,a.Pu)(l,{fontSize:e,letterSpacing:r})[A]},k=m.length>=2?(0,i.sA)(m[1].coordinate-m[0].coordinate):1,M=(n="width"===A,f=g.x,p=g.y,h=g.width,y=g.height,1===k?{start:n?f:p,end:n?f+h:p+y}:{start:n?f+h:p+y,end:n?f:p});return"equidistantPreserveStart"===w?function(t,e,r,n,o){for(var i,a=(n||[]).slice(),u=e.start,c=e.end,f=0,p=1,d=u;p<=a.length;)if(i=function(){var e,i=null==n?void 0:n[f];if(void 0===i)return{v:l(n,p)};var a=f,h=function(){return void 0===e&&(e=r(i,a)),e},y=i.coordinate,v=0===f||s(t,y,h,d,c);v||(f=0,d=u,p+=1),v&&(d=y+t*(h()/2+o),f+=p)}())return i.v;return[]}(k,M,E,m,b):("preserveStart"===w||"preserveStartEnd"===w?function(t,e,r,n,o,i){var a=(n||[]).slice(),u=a.length,c=e.start,l=e.end;if(i){var f=n[u-1],p=r(f,u-1),h=t*(f.coordinate+t*p/2-l);a[u-1]=f=d(d({},f),{},{tickCoord:h>0?f.coordinate-h*t:f.coordinate}),s(t,f.tickCoord,function(){return p},c,l)&&(l=f.tickCoord-t*(p/2+o),a[u-1]=d(d({},f),{},{isShow:!0}))}for(var y=i?u-1:u,v=function(e){var n,i=a[e],u=function(){return void 0===n&&(n=r(i,e)),n};if(0===e){var f=t*(i.coordinate-t*u()/2-c);a[e]=i=d(d({},i),{},{tickCoord:f<0?i.coordinate-f*t:i.coordinate})}else a[e]=i=d(d({},i),{},{tickCoord:i.coordinate});s(t,i.tickCoord,u,c,l)&&(c=i.tickCoord+t*(u()/2+o),a[e]=d(d({},i),{},{isShow:!0}))},m=0;m<y;m++)v(m);return a}(k,M,E,m,b,"preserveStartEnd"===w):function(t,e,r,n,o){for(var i=(n||[]).slice(),a=i.length,u=e.start,c=e.end,l=function(e){var n,l=i[e],f=function(){return void 0===n&&(n=r(l,e)),n};if(e===a-1){var p=t*(l.coordinate+t*f()/2-c);i[e]=l=d(d({},l),{},{tickCoord:p>0?l.coordinate-p*t:l.coordinate})}else i[e]=l=d(d({},l),{},{tickCoord:l.coordinate});s(t,l.tickCoord,f,u,c)&&(c=l.tickCoord-t*(f()/2+o),i[e]=d(d({},l),{},{isShow:!0}))},f=a-1;f>=0;f--)l(f);return i}(k,M,E,m,b)).filter(function(t){return t.isShow})}},36713:t=>{var e=/\s/;t.exports=function(t){for(var r=t.length;r--&&e.test(t.charAt(r)););return r}},36730:t=>{var e=Date.now;t.exports=function(t){var r=0,n=0;return function(){var o=e(),i=16-(o-n);if(n=o,i>0){if(++r>=800)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}},36815:(t,e,r)=>{var n=r(4217),o=r(67460),i=r(70771),a=0/0,u=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,l=/^0o[0-7]+$/i,s=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return a;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var r=c.test(t);return r||l.test(t)?s(t.slice(2),r?2:8):u.test(t)?a:+t}},37835:(t,e,r)=>{var n=r(17489),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g;t.exports=n(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,function(t,r,n,o){e.push(n?o.replace(i,"$1"):r||t)}),e})},37929:t=>{t.exports=function(t,e,r){var n=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(r=r>o?o:r)<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;for(var i=Array(o);++n<o;)i[n]=t[n+e];return i}},38008:(t,e,r)=>{t.exports=r(83711)(r(82500),"Set")},38406:(t,e,r)=>{var n=r(85090),o=r(92313),i=r(82954);t.exports=function(t,e,r,a,u,c){var l=1&r,s=t.length,f=e.length;if(s!=f&&!(l&&f>s))return!1;var p=c.get(t),d=c.get(e);if(p&&d)return p==e&&d==t;var h=-1,y=!0,v=2&r?new n:void 0;for(c.set(t,e),c.set(e,t);++h<s;){var m=t[h],g=e[h];if(a)var b=l?a(g,m,h,e,t,c):a(m,g,h,t,e,c);if(void 0!==b){if(b)continue;y=!1;break}if(v){if(!o(e,function(t,e){if(!i(v,e)&&(m===t||u(m,t,r,a,c)))return v.push(e)})){y=!1;break}}else if(!(m===g||u(m,g,r,a,c))){y=!1;break}}return c.delete(t),c.delete(e),y}},38637:(t,e,r)=>{t.exports=r(79399)()},38649:(t,e,r)=>{var n=r(38675),o=r(43720),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;t.exports=a?function(t){return null==t?[]:n(a(t=Object(t)),function(e){return i.call(t,e)})}:o},38675:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,i=[];++r<n;){var a=t[r];e(a,r,t)&&(i[o++]=a)}return i}},38795:(t,e,r)=>{"use strict";r.d(e,{Mz:()=>t0,i3:()=>t2,UC:()=>t1,bL:()=>tQ,Bk:()=>tB});var n=r(12115);let o=["top","right","bottom","left"],i=Math.min,a=Math.max,u=Math.round,c=Math.floor,l=t=>({x:t,y:t}
1),s={left:"right",right:"left",bottom:"top",top:"bottom"},f={start:"end",end:"start"};function p(t,e){return"function"==typeof t?t(e):t}function d(t){return t.split("-")[0]}function h(t){return t.split("-")[1]}function y(t){return"x"===t?"y":"x"}function v(t){return"y"===t?"height":"width"}let m=new Set(["top","bottom"]);function g(t){return m.has(d(t))?"y":"x"}function b(t){return t.replace(/start|end/g,t=>f[t])}let x=["left","right"],w=["right","left"],O=["top","bottom"],j=["bottom","top"];function S(t){return t.replace(/left|right|bottom|top/g,t=>s[t])}function A(t){return"number"!=typeof t?{top:0,right:0,bottom:0,left:0,...t}:{top:t,right:t,bottom:t,left:t}}function P(t){let{x:e,y:r,width:n,height:o}=t;return{width:n,height:o,top:r,left:e,right:e+n,bottom:r+o,x:e,y:r}}function E(t,e,r){let n,{reference:o,floating:i}=t,a=g(e),u=y(g(e)),c=v(u),l=d(e),s="y"===a,f=o.x+o.width/2-i.width/2,p=o.y+o.height/2-i.height/2,m=o[c]/2-i[c]/2;switch(l){case"top":n={x:f,y:o.y-i.height};break;case"bottom":n={x:f,y:o.y+o.height};break;case"right":n={x:o.x+o.width,y:p};break;case"left":n={x:o.x-i.width,y:p};break;default:n={x:o.x,y:o.y}}switch(h(e)){case"start":n[u]-=m*(r&&s?-1:1);break;case"end":n[u]+=m*(r&&s?-1:1)}return n}async function k(t,e){var r;void 0===e&&(e={});let{x:n,y:o,platform:i,rects:a,elements:u,strategy:c}=t,{boundary:l="clippingAncestors",rootBoundary:s="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=p(e,t),y=A(h),v=u[d?"floating"===f?"reference":"floating":f],m=P(await i.getClippingRect({element:null==(r=await (null==i.isElement?void 0:i.isElement(v)))||r?v:v.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(u.floating)),boundary:l,rootBoundary:s,strategy:c})),g="floating"===f?{x:n,y:o,width:a.floating.width,height:a.floating.height}:a.reference,b=await (null==i.getOffsetParent?void 0:i.getOffsetParent(u.floating)),x=await (null==i.isElement?void 0:i.isElement(b))&&await (null==i.getScale?void 0:i.getScale(b))||{x:1,y:1},w=P(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:g,offsetParent:b,strategy:c}):g);return{top:(m.top-w.top+y.top)/x.y,bottom:(w.bottom-m.bottom+y.bottom)/x.y,left:(m.left-w.left+y.left)/x.x,right:(w.right-m.right+y.right)/x.x}}let M=async(t,e,r)=>{let{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:a}=r,u=i.filter(Boolean),c=await (null==a.isRTL?void 0:a.isRTL(e)),l=await a.getElementRects({reference:t,floating:e,strategy:o}),{x:s,y:f}=E(l,n,c),p=n,d={},h=0;for(let r=0;r<u.length;r++){var y;let{name:i,fn:v}=u[r],{x:m,y:g,data:b,reset:x}=await v({x:s,y:f,initialPlacement:n,placement:p,strategy:o,middlewareData:d,rects:l,platform:{...a,detectOverflow:null!=(y=a.detectOverflow)?y:k},elements:{reference:t,floating:e}});s=null!=m?m:s,f=null!=g?g:f,d={...d,[i]:{...d[i],...b}},x&&h<=50&&(h++,"object"==typeof x&&(x.placement&&(p=x.placement),x.rects&&(l=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:o}):x.rects),{x:s,y:f}=E(l,p,c)),r=-1)}return{x:s,y:f,placement:p,strategy:o,middlewareData:d}};function T(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function _(t){return o.some(e=>t[e]>=0)}let C=new Set(["left","top"]);async function D(t,e){let{placement:r,platform:n,elements:o}=t,i=await (null==n.isRTL?void 0:n.isRTL(o.floating)),a=d(r),u=h(r),c="y"===g(r),l=C.has(a)?-1:1,s=i&&c?-1:1,f=p(e,t),{mainAxis:y,crossAxis:v,alignmentAxis:m}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return u&&"number"==typeof m&&(v="end"===u?-1*m:m),c?{x:v*s,y:y*l}:{x:y*l,y:v*s}}function I(){return"undefined"!=typeof window}function N(t){return L(t)?(t.nodeName||"").toLowerCase():"#document"}function R(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function B(t){var e;return null==(e=(L(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function L(t){return!!I()&&(t instanceof Node||t instanceof R(t).Node)}function z(t){return!!I()&&(t instanceof Element||t instanceof R(t).Element)}function F(t){return!!I()&&(t instanceof HTMLElement||t instanceof R(t).HTMLElement)}function U(t){return!!I()&&"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof R(t).ShadowRoot)}let W=new Set(["inline","contents"]);function H(t){let{overflow:e,overflowX:r,overflowY:n,display:o}=tt(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!W.has(o)}let $=new Set(["table","td","th"]),V=[":popover-open",":modal"];function X(t){return V.some(e=>{try{return t.matches(e)}catch(t){return!1}})}let G=["transform","translate","scale","rotate","perspective"],q=["transform","translate","scale","rotate","perspective","filter"],K=["paint","layout","strict","content"];function Y(t){let e=J(),r=z(t)?tt(t):t;return G.some(t=>!!r[t]&&"none"!==r[t])||!!r.containerType&&"normal"!==r.containerType||!e&&!!r.backdropFilter&&"none"!==r.backdropFilter||!e&&!!r.filter&&"none"!==r.filter||q.some(t=>(r.willChange||"").includes(t))||K.some(t=>(r.contain||"").includes(t))}function J(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let Z=new Set(["html","body","#document"]);function Q(t){return Z.has(N(t))}function tt(t){return R(t).getComputedStyle(t)}function te(t){return z(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function tr(t){if("html"===N(t))return t;let e=t.assignedSlot||t.parentNode||U(t)&&t.host||B(t);return U(e)?e.host:e}function tn(t,e,r){var n;void 0===e&&(e=[]),void 0===r&&(r=!0);let o=function t(e){let r=tr(e);return Q(r)?e.ownerDocument?e.ownerDocument.body:e.body:F(r)&&H(r)?r:t(r)}(t),i=o===(null==(n=t.ownerDocument)?void 0:n.body),a=R(o);if(i){let t=to(a);
1return e.concat(a,a.visualViewport||[],H(o)?o:[],t&&r?tn(t):[])}return e.concat(o,tn(o,[],r))}function to(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ti(t){let e=tt(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,o=F(t),i=o?t.offsetWidth:r,a=o?t.offsetHeight:n,c=u(r)!==i||u(n)!==a;return c&&(r=i,n=a),{width:r,height:n,$:c}}function ta(t){return z(t)?t:t.contextElement}function tu(t){let e=ta(t);if(!F(e))return l(1);let r=e.getBoundingClientRect(),{width:n,height:o,$:i}=ti(e),a=(i?u(r.width):r.width)/n,c=(i?u(r.height):r.height)/o;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}let tc=l(0);function tl(t){let e=R(t);return J()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:tc}function ts(t,e,r,n){var o;void 0===e&&(e=!1),void 0===r&&(r=!1);let i=t.getBoundingClientRect(),a=ta(t),u=l(1);e&&(n?z(n)&&(u=tu(n)):u=tu(t));let c=(void 0===(o=r)&&(o=!1),n&&(!o||n===R(a))&&o)?tl(a):l(0),s=(i.left+c.x)/u.x,f=(i.top+c.y)/u.y,p=i.width/u.x,d=i.height/u.y;if(a){let t=R(a),e=n&&z(n)?R(n):n,r=t,o=to(r);for(;o&&n&&e!==r;){let t=tu(o),e=o.getBoundingClientRect(),n=tt(o),i=e.left+(o.clientLeft+parseFloat(n.paddingLeft))*t.x,a=e.top+(o.clientTop+parseFloat(n.paddingTop))*t.y;s*=t.x,f*=t.y,p*=t.x,d*=t.y,s+=i,f+=a,o=to(r=R(o))}}return P({width:p,height:d,x:s,y:f})}function tf(t,e){let r=te(t).scrollLeft;return e?e.left+r:ts(B(t)).left+r}function tp(t,e){let r=t.getBoundingClientRect();return{x:r.left+e.scrollLeft-tf(t,r),y:r.top+e.scrollTop}}let td=new Set(["absolute","fixed"]);function th(t,e,r){let n;if("viewport"===e)n=function(t,e){let r=R(t),n=B(t),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,u=0,c=0;if(o){i=o.width,a=o.height;let t=J();(!t||t&&"fixed"===e)&&(u=o.offsetLeft,c=o.offsetTop)}let l=tf(n);if(l<=0){let t=n.ownerDocument,e=t.body,r=getComputedStyle(e),o="CSS1Compat"===t.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,a=Math.abs(n.clientWidth-e.clientWidth-o);a<=25&&(i-=a)}else l<=25&&(i+=l);return{width:i,height:a,x:u,y:c}}(t,r);else if("document"===e)n=function(t){let e=B(t),r=te(t),n=t.ownerDocument.body,o=a(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=a(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),u=-r.scrollLeft+tf(t),c=-r.scrollTop;return"rtl"===tt(n).direction&&(u+=a(e.clientWidth,n.clientWidth)-o),{width:o,height:i,x:u,y:c}}(B(t));else if(z(e))n=function(t,e){let r=ts(t,!0,"fixed"===e),n=r.top+t.clientTop,o=r.left+t.clientLeft,i=F(t)?tu(t):l(1),a=t.clientWidth*i.x,u=t.clientHeight*i.y;return{width:a,height:u,x:o*i.x,y:n*i.y}}(e,r);else{let r=tl(t);n={x:e.x-r.x,y:e.y-r.y,width:e.width,height:e.height}}return P(n)}function ty(t){return"static"===tt(t).position}function tv(t,e){if(!F(t)||"fixed"===tt(t).position)return null;if(e)return e(t);let r=t.offsetParent;return B(t)===r&&(r=r.ownerDocument.body),r}function tm(t,e){var r;let n=R(t);if(X(t))return n;if(!F(t)){let e=tr(t);for(;e&&!Q(e);){if(z(e)&&!ty(e))return e;e=tr(e)}return n}let o=tv(t,e);for(;o&&(r=o,$.has(N(r)))&&ty(o);)o=tv(o,e);return o&&Q(o)&&ty(o)&&!Y(o)?n:o||function(t){let e=tr(t);for(;F(e)&&!Q(e);){if(Y(e))return e;if(X(e))break;e=tr(e)}return null}(t)||n}let tg=async function(t){let e=this.getOffsetParent||tm,r=this.getDimensions,n=await r(t.floating);return{reference:function(t,e,r){let n=F(e),o=B(e),i="fixed"===r,a=ts(t,!0,i,e),u={scrollLeft:0,scrollTop:0},c=l(0);if(n||!n&&!i)if(("body"!==N(e)||H(o))&&(u=te(e)),n){let t=ts(e,!0,i,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else o&&(c.x=tf(o));i&&!n&&o&&(c.x=tf(o));let s=!o||n||i?l(0):tp(o,u);return{x:a.left+u.scrollLeft-c.x-s.x,y:a.top+u.scrollTop-c.y-s.y,width:a.width,height:a.height}}(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},tb={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:r,offsetParent:n,strategy:o}=t,i="fixed"===o,a=B(n),u=!!e&&X(e.floating);if(n===a||u&&i)return r;let c={scrollLeft:0,scrollTop:0},s=l(1),f=l(0),p=F(n);
1if((p||!p&&!i)&&(("body"!==N(n)||H(a))&&(c=te(n)),F(n))){let t=ts(n);s=tu(n),f.x=t.x+n.clientLeft,f.y=t.y+n.clientTop}let d=!a||p||i?l(0):tp(a,c);return{width:r.width*s.x,height:r.height*s.y,x:r.x*s.x-c.scrollLeft*s.x+f.x+d.x,y:r.y*s.y-c.scrollTop*s.y+f.y+d.y}},getDocumentElement:B,getClippingRect:function(t){let{element:e,boundary:r,rootBoundary:n,strategy:o}=t,u=[..."clippingAncestors"===r?X(e)?[]:function(t,e){let r=e.get(t);if(r)return r;let n=tn(t,[],!1).filter(t=>z(t)&&"body"!==N(t)),o=null,i="fixed"===tt(t).position,a=i?tr(t):t;for(;z(a)&&!Q(a);){let e=tt(a),r=Y(a);r||"fixed"!==e.position||(o=null),(i?!r&&!o:!r&&"static"===e.position&&!!o&&td.has(o.position)||H(a)&&!r&&function t(e,r){let n=tr(e);return!(n===r||!z(n)||Q(n))&&("fixed"===tt(n).position||t(n,r))}(t,a))?n=n.filter(t=>t!==a):o=e,a=tr(a)}return e.set(t,n),n}(e,this._c):[].concat(r),n],c=u[0],l=u.reduce((t,r)=>{let n=th(e,r,o);return t.top=a(n.top,t.top),t.right=i(n.right,t.right),t.bottom=i(n.bottom,t.bottom),t.left=a(n.left,t.left),t},th(e,c,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:tm,getElementRects:tg,getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){let{width:e,height:r}=ti(t);return{width:e,height:r}},getScale:tu,isElement:z,isRTL:function(t){return"rtl"===tt(t).direction}};function tx(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}let tw=t=>({name:"arrow",options:t,async fn(e){let{x:r,y:n,placement:o,rects:u,platform:c,elements:l,middlewareData:s}=e,{element:f,padding:d=0}=p(t,e)||{};if(null==f)return{};let m=A(d),b={x:r,y:n},x=y(g(o)),w=v(x),O=await c.getDimensions(f),j="y"===x,S=j?"clientHeight":"clientWidth",P=u.reference[w]+u.reference[x]-b[x]-u.floating[w],E=b[x]-u.reference[x],k=await (null==c.getOffsetParent?void 0:c.getOffsetParent(f)),M=k?k[S]:0;M&&await (null==c.isElement?void 0:c.isElement(k))||(M=l.floating[S]||u.floating[w]);let T=M/2-O[w]/2-1,_=i(m[j?"top":"left"],T),C=i(m[j?"bottom":"right"],T),D=M-O[w]-C,I=M/2-O[w]/2+(P/2-E/2),N=a(_,i(I,D)),R=!s.arrow&&null!=h(o)&&I!==N&&u.reference[w]/2-(I<_?_:C)-O[w]/2<0,B=R?I<_?I-_:I-D:0;return{[x]:b[x]+B,data:{[x]:N,centerOffset:I-N-B,...R&&{alignmentOffset:B}},reset:R}}});var tO=r(47650),tj="undefined"!=typeof document?n.useLayoutEffect:function(){};function tS(t,e){let r,n,o;if(t===e)return!0;if(typeof t!=typeof e)return!1;if("function"==typeof t&&t.toString()===e.toString())return!0;if(t&&e&&"object"==typeof t){if(Array.isArray(t)){if((r=t.length)!==e.length)return!1;for(n=r;0!=n--;)if(!tS(t[n],e[n]))return!1;return!0}if((r=(o=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(e,o[n]))return!1;for(n=r;0!=n--;){let r=o[n];if(("_owner"!==r||!t.$$typeof)&&!tS(t[r],e[r]))return!1}return!0}return t!=t&&e!=e}function tA(t){return"undefined"==typeof window?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function tP(t,e){let r=tA(t);return Math.round(e*r)/r}function tE(t){let e=n.useRef(t);return tj(()=>{e.current=t}),e}var tk=r(63540),tM=r(95155),tT=n.forwardRef((t,e)=>{let{children:r,width:n=10,height:o=5,...i}=t;return(0,tM.jsx)(tk.sG.svg,{...i,ref:e,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?r:(0,tM.jsx)("polygon",{points:"0,0 30,0 15,10"})})});tT.displayName="Arrow";var t_=r(6101),tC=r(46081),tD=r(39033),tI=r(52712),tN="Popper",[tR,tB]=(0,tC.A)(tN),[tL,tz]=tR(tN),tF=t=>{let{__scopePopper:e,children:r}=t,[o,i]=n.useState(null);return(0,tM.jsx)(tL,{scope:e,anchor:o,onAnchorChange:i,children:r})};tF.displayName=tN;var tU="PopperAnchor",tW=n.forwardRef((t,e)=>{let{__scopePopper:r,virtualRef:o,...i}=t,a=tz(tU,r),u=n.useRef(null),c=(0,t_.s)(e,u),l=n.useRef(null);return n.useEffect(()=>{let t=l.current;l.current=(null==o?void 0:o.current)||u.current,t!==l.current&&a.onAnchorChange(l.current)}),o?null:(0,tM.jsx)(tk.sG.div,{...i,ref:c})});tW.displayName=tU;var tH="PopperContent",[t$,tV]=tR(tH),tX=n.forwardRef((t,e)=>{var r,o,u,l,s,f,m,A;let{__scopePopper:P,side:E="bottom",sideOffset:k=0,align:I="center",alignOffset:N=0,arrowPadding:R=0,avoidCollisions:L=!0,collisionBoundary:z=[],collisionPadding:F=0,sticky:U="partial",hideWhenDetached:W=!1,updatePositionStrategy:H="optimized",onPlaced:$,...V}=t,X=tz(tH,P),[G,q]=n.useState(null),K=(0,t_.s)(e,t=>q(t)),[Y,J]=n.useState(null),Z=function(t){let[e,r]=n.useState(void 0);return(0,tI.N)(()=>
1{if(t){r({width:t.offsetWidth,height:t.offsetHeight});let e=new ResizeObserver(e=>{let n,o;if(!Array.isArray(e)||!e.length)return;let i=e[0];if("borderBoxSize"in i){let t=i.borderBoxSize,e=Array.isArray(t)?t[0]:t;n=e.inlineSize,o=e.blockSize}else n=t.offsetWidth,o=t.offsetHeight;r({width:n,height:o})});return e.observe(t,{box:"border-box"}),()=>e.unobserve(t)}r(void 0)},[t]),e}(Y),Q=null!=(m=null==Z?void 0:Z.width)?m:0,tt=null!=(A=null==Z?void 0:Z.height)?A:0,te="number"==typeof F?F:{top:0,right:0,bottom:0,left:0,...F},tr=Array.isArray(z)?z:[z],to=tr.length>0,ti={padding:te,boundary:tr.filter(tY),altBoundary:to},{refs:tu,floatingStyles:tc,placement:tl,isPositioned:tf,middlewareData:tp}=function(t){void 0===t&&(t={});let{placement:e="bottom",strategy:r="absolute",middleware:o=[],platform:i,elements:{reference:a,floating:u}={},transform:c=!0,whileElementsMounted:l,open:s}=t,[f,p]=n.useState({x:0,y:0,strategy:r,placement:e,middlewareData:{},isPositioned:!1}),[d,h]=n.useState(o);tS(d,o)||h(o);let[y,v]=n.useState(null),[m,g]=n.useState(null),b=n.useCallback(t=>{t!==j.current&&(j.current=t,v(t))},[]),x=n.useCallback(t=>{t!==S.current&&(S.current=t,g(t))},[]),w=a||y,O=u||m,j=n.useRef(null),S=n.useRef(null),A=n.useRef(f),P=null!=l,E=tE(l),k=tE(i),T=tE(s),_=n.useCallback(()=>{if(!j.current||!S.current)return;let t={placement:e,strategy:r,middleware:d};k.current&&(t.platform=k.current),((t,e,r)=>{let n=new Map,o={platform:tb,...r},i={...o.platform,_c:n};return M(t,e,{...o,platform:i})})(j.current,S.current,t).then(t=>{let e={...t,isPositioned:!1!==T.current};C.current&&!tS(A.current,e)&&(A.current=e,tO.flushSync(()=>{p(e)}))})},[d,e,r,k,T]);tj(()=>{!1===s&&A.current.isPositioned&&(A.current.isPositioned=!1,p(t=>({...t,isPositioned:!1})))},[s]);let C=n.useRef(!1);tj(()=>(C.current=!0,()=>{C.current=!1}),[]),tj(()=>{if(w&&(j.current=w),O&&(S.current=O),w&&O){if(E.current)return E.current(w,O,_);_()}},[w,O,_,E,P]);let D=n.useMemo(()=>({reference:j,floating:S,setReference:b,setFloating:x}),[b,x]),I=n.useMemo(()=>({reference:w,floating:O}),[w,O]),N=n.useMemo(()=>{let t={position:r,left:0,top:0};if(!I.floating)return t;let e=tP(I.floating,f.x),n=tP(I.floating,f.y);return c?{...t,transform:"translate("+e+"px, "+n+"px)",...tA(I.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:e,top:n}},[r,c,I.floating,f.x,f.y]);return n.useMemo(()=>({...f,update:_,refs:D,elements:I,floatingStyles:N}),[f,_,D,I,N])}({strategy:"fixed",placement:E+("center"!==I?"-"+I:""),whileElementsMounted:function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t,e,r,n){let o;void 0===n&&(n={});let{ancestorScroll:u=!0,ancestorResize:l=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:p=!1}=n,d=ta(t),h=u||l?[...d?tn(d):[],...tn(e)]:[];h.forEach(t=>{u&&t.addEventListener("scroll",r,{passive:!0}),l&&t.addEventListener("resize",r)});let y=d&&f?function(t,e){let r,n=null,o=B(t);function u(){var t;clearTimeout(r),null==(t=n)||t.disconnect(),n=null}return!function l(s,f){void 0===s&&(s=!1),void 0===f&&(f=1),u();let p=t.getBoundingClientRect(),{left:d,top:h,width:y,height:v}=p;if(s||e(),!y||!v)return;let m=c(h),g=c(o.clientWidth-(d+y)),b={rootMargin:-m+"px "+-g+"px "+-c(o.clientHeight-(h+v))+"px "+-c(d)+"px",threshold:a(0,i(1,f))||1},x=!0;function w(e){let n=e[0].intersectionRatio;if(n!==f){if(!x)return l();n?l(!1,n):r=setTimeout(()=>{l(!1,1e-7)},1e3)}1!==n||tx(p,t.getBoundingClientRect())||l(),x=!1}try{n=new IntersectionObserver(w,{...b,root:o.ownerDocument})}catch(t){n=new IntersectionObserver(w,b)}n.observe(t)}(!0),u}(d,r):null,v=-1,m=null;s&&(m=new ResizeObserver(t=>{let[n]=t;n&&n.target===d&&m&&(m.unobserve(e),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var t;null==(t=m)||t.observe(e)})),r()}),d&&!p&&m.observe(d),m.observe(e));let g=p?ts(t):null;return p&&function e(){let n=ts(t);g&&!tx(g,n)&&r(),g=n,o=requestAnimationFrame(e)}(),r(),()=>{var t;h.forEach(t=>{u&&t.removeEventListener("scroll",r),l&&t.removeEventListener("resize",r)}),null==y||y(),null==(t=m)||t.disconnect(),m=null,p&&cancelAnimationFrame(o)}}(...e,{animationFrame:"always"===H})},elements:{reference:X.anchor},middleware:[((t,e)=>({...function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var r,n;let{x:o,y:i,placement:a,middlewareData:u}=e,c=await D(e,t);return a===(null==(r=u.offset)?void 0:r.placement)&&null!=(n=u.arrow)&&n.alignmentOffset?{}:{x:o+c.x,y:i+c.y,data:{...c,placement:a}}}}}(t),options:[t,e]}))({mainAxis:k+tt,alignmentAxis:N}
1),L&&((t,e)=>({...function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:o,platform:u}=e,{mainAxis:c=!0,crossAxis:l=!1,limiter:s={fn:t=>{let{x:e,y:r}=t;return{x:e,y:r}}},...f}=p(t,e),h={x:r,y:n},v=await u.detectOverflow(e,f),m=g(d(o)),b=y(m),x=h[b],w=h[m];if(c){let t="y"===b?"top":"left",e="y"===b?"bottom":"right",r=x+v[t],n=x-v[e];x=a(r,i(x,n))}if(l){let t="y"===m?"top":"left",e="y"===m?"bottom":"right",r=w+v[t],n=w-v[e];w=a(r,i(w,n))}let O=s.fn({...e,[b]:x,[m]:w});return{...O,data:{x:O.x-r,y:O.y-n,enabled:{[b]:c,[m]:l}}}}}}(t),options:[t,e]}))({mainAxis:!0,crossAxis:!1,limiter:"partial"===U?((t,e)=>({...function(t){return void 0===t&&(t={}),{options:t,fn(e){let{x:r,y:n,placement:o,rects:i,middlewareData:a}=e,{offset:u=0,mainAxis:c=!0,crossAxis:l=!0}=p(t,e),s={x:r,y:n},f=g(o),h=y(f),v=s[h],m=s[f],b=p(u,e),x="number"==typeof b?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(c){let t="y"===h?"height":"width",e=i.reference[h]-i.floating[t]+x.mainAxis,r=i.reference[h]+i.reference[t]-x.mainAxis;v<e?v=e:v>r&&(v=r)}if(l){var w,O;let t="y"===h?"width":"height",e=C.has(d(o)),r=i.reference[f]-i.floating[t]+(e&&(null==(w=a.offset)?void 0:w[f])||0)+(e?0:x.crossAxis),n=i.reference[f]+i.reference[t]+(e?0:(null==(O=a.offset)?void 0:O[f])||0)-(e?x.crossAxis:0);m<r?m=r:m>n&&(m=n)}return{[h]:v,[f]:m}}}}(t),options:[t,e]}))():void 0,...ti}),L&&((t,e)=>({...function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var r,n,o,i,a;let{placement:u,middlewareData:c,rects:l,initialPlacement:s,platform:f,elements:m}=e,{mainAxis:A=!0,crossAxis:P=!0,fallbackPlacements:E,fallbackStrategy:k="bestFit",fallbackAxisSideDirection:M="none",flipAlignment:T=!0,..._}=p(t,e);if(null!=(r=c.arrow)&&r.alignmentOffset)return{};let C=d(u),D=g(s),I=d(s)===s,N=await (null==f.isRTL?void 0:f.isRTL(m.floating)),R=E||(I||!T?[S(s)]:function(t){let e=S(t);return[b(t),e,b(e)]}(s)),B="none"!==M;!E&&B&&R.push(...function(t,e,r,n){let o=h(t),i=function(t,e,r){switch(t){case"top":case"bottom":if(r)return e?w:x;return e?x:w;case"left":case"right":return e?O:j;default:return[]}}(d(t),"start"===r,n);return o&&(i=i.map(t=>t+"-"+o),e&&(i=i.concat(i.map(b)))),i}(s,T,M,N));let L=[s,...R],z=await f.detectOverflow(e,_),F=[],U=(null==(n=c.flip)?void 0:n.overflows)||[];if(A&&F.push(z[C]),P){let t=function(t,e,r){void 0===r&&(r=!1);let n=h(t),o=y(g(t)),i=v(o),a="x"===o?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return e.reference[i]>e.floating[i]&&(a=S(a)),[a,S(a)]}(u,l,N);F.push(z[t[0]],z[t[1]])}if(U=[...U,{placement:u,overflows:F}],!F.every(t=>t<=0)){let t=((null==(o=c.flip)?void 0:o.index)||0)+1,e=L[t];if(e&&("alignment"!==P||D===g(e)||U.every(t=>g(t.placement)!==D||t.overflows[0]>0)))return{data:{index:t,overflows:U},reset:{placement:e}};let r=null==(i=U.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:i.placement;if(!r)switch(k){case"bestFit":{let t=null==(a=U.filter(t=>{if(B){let e=g(t.placement);return e===D||"y"===e}return!0}).map(t=>[t.placement,t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)]).sort((t,e)=>t[1]-e[1])[0])?void 0:a[0];t&&(r=t);break}case"initialPlacement":r=s}if(u!==r)return{reset:{placement:r}}}return{}}}}(t),options:[t,e]}))({...ti}),((t,e)=>({...function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){var r,n;let o,u,{placement:c,rects:l,platform:s,elements:f}=e,{apply:y=()=>{},...v}=p(t,e),m=await s.detectOverflow(e,v),b=d(c),x=h(c),w="y"===g(c),{width:O,height:j}=l.floating;"top"===b||"bottom"===b?(o=b,u=x===(await (null==s.isRTL?void 0:s.isRTL(f.floating))?"start":"end")?"left":"right"):(u=b,o="end"===x?"top":"bottom");let S=j-m.top-m.bottom,A=O-m.left-m.right,P=i(j-m[o],S),E=i(O-m[u],A),k=!e.middlewareData.shift,M=P,T=E;if(null!=(r=e.middlewareData.shift)&&r.enabled.x&&(T=A),null!=(n=e.middlewareData.shift)&&n.enabled.y&&(M=S),k&&!x){let t=a(m.left,0),e=a(m.right,0),r=a(m.top,0),n=a(m.bottom,0);w?T=O-2*(0!==t||0!==e?t+e:a(m.left,m.right)):M=j-2*(0!==r||0!==n?r+n:a(m.top,m.bottom))}await y({...e,availableWidth:T,availableHeight:M});let _=await s.getDimensions(f.floating);return O!==_.width||j!==_.height?{reset:{rects:!0}}:{}}}}(t),options:[t,e]}))({...ti,apply:t=>{let{elements:e,rects:r,availableWidth:n,availableHeight:o}=t,{width:i,height:a}=r.reference,u=e.floating.style;u.setProperty("--radix-popper-available-width","".concat(n,"px")),u.setProperty("--radix-popper-available-height","".concat(o,"px")),u.setProperty("--radix-popper-anchor-width","".concat(i,"px")),u.setProperty("--radix-popper-anchor-height","".concat(a,"px"))}}),Y&&((t,e)=>({...(t=>({name:"arrow",options:t,fn(e){let{element:r,padding:n}="function"==typeof t?t(e):t;return r&&({}).hasOwnProperty.call(r,"current")?null!=r.current?tw({element:r.current,padding:n}).fn(e):{}:r?tw({element:r,padding:n}).fn(e):{}}}))(t),options:[t,e]}))({element:Y,padding:R}),tJ({arrowWidth:Q,arrowHeight:tt}),W&&((t,e)=>({...function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){let{rects:r,platform:n}=e,{strategy:o="referenceHidden",...i}=p(t,e);switch(o){case"referenceHidden":{let t=T(await n.detectOverflow(e,{...i,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:_(t)}}}case"escaped":{let t=T(await n.detectOverflow(e,{...i,altBoundary:!0}),r.floating);return{data:{escapedOffsets:t,escaped:_(t)}}}default:return{}}}}}(t),options:[t,e]}))({strategy:"referenceHidden",...ti})]}),[td,th]=tZ(tl),ty=(0,tD.c)($);(0,tI.N)(()=>{tf&&(null==ty||ty())},[tf,ty]);let tv=null==(r=tp.arrow)?void 0:r.x,tm=null==(o=tp.arrow)?void 0:o.y,tg=(null==(u=tp.arrow)?void 0:u.centerOffset)!==0,[tT,tC]=n.useState();return(0,tI.N)(()=>{G&&tC(window.getComputedStyle(G).zIndex)},[G]),(0,tM.jsx)("div",{ref:tu.setFloating,"data-radix-popper-content-wrapper":"",style:{...tc,transform:tf?tc.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:tT,"--radix-popper-transform-origin":[null==(l=tp.transformOrigin)?void 0:l.x,null==(s=tp.transformOrigin)?void 0:s.y].join(" "),...(null==(f=tp.hide)?void 0:f.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:(0,tM.jsx)(t$,{scope:P,placedSide:td,onArrowChange:J,arrowX:tv,arrowY:tm,shouldHideArrow:tg,children:(0,tM.jsx)(tk.sG.div,{"data-side":td,"data-align":th,...V,ref:K,style:{...V.style,animation:tf?void 0:"none"}})})})});tX.displayName=tH;var tG="PopperArrow",tq={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},tK=n.forwardRef(function(t,e){let{__scopePopper:r,...n}=t,o=tV(tG,r),i=tq[o.placedSide];return(0,tM.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,tM.jsx)(tT,{...n,ref:e,style:{...n.style,display:"block"}})})});function tY(t){return null!==t}tK.displayName=tG;var tJ=t=>({name:"transformOrigin",options:t,fn(e){var r,n,o,i,a;let{placement:u,rects:c,middlewareData:l}=e,s=(null==(r=l.arrow)?void 0:r.centerOffset)!==0,f=s?0:t.arrowWidth,p=s?0:t.arrowHeight,[d,h]=tZ(u),y={start:"0%",center:"50%",end:"100%"}[h],v=(null!=(i=null==(n=l.arrow)?void 0:n.x)?i:0)+f/2,m=(null!=(a=null==(o=l.arrow)?void 0:o.y)?a:0)+p/2,g="",b="";return"bottom"===d?(g=s?y:"".concat(v,"px"),b="".concat(-p,"px")):"top"===d?(g=s?y:"".concat(v,"px"),b="".concat(c.floating.height+p,"px")):"right"===d?(g="".concat(-p,"px"),b=s?y:"".concat(m,"px")):"left"===d&&(g="".concat(c.floating.width+p,"px"),b=s?y:"".concat(m,"px")),{data:{x:g,y:b}}}});function tZ(t){let[e,r="center"]=t.split("-");return[e,r]}var tQ=tF,t0=tW,t1=tX,t2=tK},38985:(t,e,r)=>{var n=r(30152),o=function(){var t=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=function(t){return!!o&&o in t}},39608:t=>{t.exports=Array.isArray},39641:(t,e,r)=>{var n=r(58817),o=r(22471),i=r(99544),a=r(67460);t.exports=function(t,e,r){if(!a(r))return!1;var u=typeof e;return("number"==u?!!(o(r)&&i(e,r.length)):"string"==u&&e in r)&&n(r[e],t)}},39984:t=>{t.exports=function(t,e,r){for(var n=-1,o=null==t?0:t.length;++n<o;)if(r(e,t[n]))return!0;return!1}},40139:(t,e,r)=>{var n=r(98233),o=r(67460);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},40382:(t,e,r)=>{t.exports=r(83711)(r(82500),"WeakMap")},40566:(t,e,r)=>{var n=r(98233),o=r(48611);t.exports=function(t){return"number"==typeof t||o(t)&&"[object Number]"==n(t)}},41287:(t,e,r)=>{"use strict";r.d(e,{Q:()=>eR});var n=r(12115),o=r(59882),i=r.n(o),a=r(40139),u=r.n(a),c=r(18940),l=r.n(c),s=r(48973),f=r.n(s),p=r(67206),d=r.n(p),h=r(91959),y=r.n(h),v=r(52596),m=r(93179),g=r(72790),b=r(2348),x=r(94517),w=r(24026),O=r(51172),j=r(44538),S=r(70788),A=r(81519),P=r(79095),E=r(12814),k=r(16377);function M(t){return(M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function T(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function _(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?T(Object(r),!0).forEach(function(e){C(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function C(t,e,r){var n;return(n=function(t,e){if("object"!=M(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=M(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==M(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var D=["Webkit","Moz","O","ms"],I=function(t,e){if(!t)return null;var r=t.replace(/(\w)/,function(t){return t.toUpperCase()}),n=D.reduce(function(t,n){return _(_({},t),{},C({},n+r,e))},{});return n[t]=e,n};function N(t){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function R(){return(R=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function B(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function L(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?B(Object(r),!0).forEach(function(e){H(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):B(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function z(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,$(n.key),n)}}function F(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(F=function(){return!!t})()}function U(t){return(U=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function W(t,e){return(W=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function H(t,e,r){return(e=$(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function $(t){var e=function(t,e){if("object"!=N(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=N(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==N(e)?e:e+""}var V=function(t){var e=t.data,r=t.startIndex,n=t.endIndex,o=t.x,i=t.width,a=t.travellerWidth;if(!e||!e.length)return{};var u=e.length,c=(0,A.z)().domain(l()(0,u)).range([o,o+i-a]),s=c.domain().map(function(t){return c(t)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:c(r),endX:c(n),scale:c,scaleValues:s}},X=function(t){return t.changedTouches&&!!t.changedTouches.length},G=function(t){var e,r;function o(t){var e,r,n;if(!(this instanceof o))throw TypeError("Cannot call a class as a function");return r=o,n=[t],r=U(r),H(e=function(t,e){if(e&&("object"===N(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,F()?Reflect.construct(r,n||[],U(this).constructor):r.apply(this,n)),"handleDrag",function(t){e.leaveTimer&&(clearTimeout(e.leaveTimer),e.leaveTimer=null),e.state.isTravellerMoving?e.handleTravellerMove(t):e.state.isSlideMoving&&e.handleSlideDrag(t)}),H(e,"handleTouchMove",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleDrag(t.changedTouches[0])}),H(e,"handleDragEnd",function(){e.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var t=e.props,r=t.endIndex,n=t.onDragEnd,o=t.startIndex;null==n||n({endIndex:r,startIndex:o})}),e.detachDragEndListener()}),H(e,"handleLeaveWrapper",function(){(e.state.isTravellerMoving||e.state.isSlideMoving)&&(e.leaveTimer=window.setTimeout(e.handleDragEnd,e.props.leaveTimeOut))}),H(e,"handleEnterSlideOrTraveller",function(){e.setState({isTextActive:!0})}),H(e,"handleLeaveSlideOrTraveller",function(){e.setState({isTextActive:!1})}),H(e,"handleSlideDragStart",function(t){var r=X(t)?t.changedTouches[0]:t;e.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:r.pageX}),e.attachDragEndListener()}),e.travellerDragStartHandlers={startX:e.handleTravellerDragStart.bind(e,"startX"),endX:e.handleTravellerDragStart.bind(e,"endX")},e.state={},e}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&W(o,t),e=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(t){var e=t.startX,r=t.endX,n=this.state.scaleValues,i=this.props,a=i.gap,u=i.data.length-1,c=Math.min(e,r),l=
1Math.max(e,r),s=o.getIndexInRange(n,c),f=o.getIndexInRange(n,l);return{startIndex:s-s%a,endIndex:f===u?u:f-f%a}}},{key:"getTextOfTick",value:function(t){var e=this.props,r=e.data,n=e.tickFormatter,o=e.dataKey,i=(0,E.kr)(r[t],o,t);return u()(n)?n(i,t):i}},{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(t){var e=this.state,r=e.slideMoveStartX,n=e.startX,o=e.endX,i=this.props,a=i.x,u=i.width,c=i.travellerWidth,l=i.startIndex,s=i.endIndex,f=i.onChange,p=t.pageX-r;p>0?p=Math.min(p,a+u-c-o,a+u-c-n):p<0&&(p=Math.max(p,a-n,a-o));var d=this.getIndex({startX:n+p,endX:o+p});(d.startIndex!==l||d.endIndex!==s)&&f&&f(d),this.setState({startX:n+p,endX:o+p,slideMoveStartX:t.pageX})}},{key:"handleTravellerDragStart",value:function(t,e){var r=X(e)?e.changedTouches[0]:e;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:t,brushMoveStartX:r.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(t){var e=this.state,r=e.brushMoveStartX,n=e.movingTravellerId,o=e.endX,i=e.startX,a=this.state[n],u=this.props,c=u.x,l=u.width,s=u.travellerWidth,f=u.onChange,p=u.gap,d=u.data,h={startX:this.state.startX,endX:this.state.endX},y=t.pageX-r;y>0?y=Math.min(y,c+l-s-a):y<0&&(y=Math.max(y,c-a)),h[n]=a+y;var v=this.getIndex(h),m=v.startIndex,g=v.endIndex,b=function(){var t=d.length-1;return"startX"===n&&(o>i?m%p==0:g%p==0)||!!(o<i)&&g===t||"endX"===n&&(o>i?g%p==0:m%p==0)||!!(o>i)&&g===t};this.setState(H(H({},n,a+y),"brushMoveStartX",t.pageX),function(){f&&b()&&f(v)})}},{key:"handleTravellerMoveKeyboard",value:function(t,e){var r=this,n=this.state,o=n.scaleValues,i=n.startX,a=n.endX,u=this.state[e],c=o.indexOf(u);if(-1!==c){var l=c+t;if(-1!==l&&!(l>=o.length)){var s=o[l];"startX"===e&&s>=a||"endX"===e&&s<=i||this.setState(H({},e,s),function(){r.props.onChange(r.getIndex({startX:r.state.startX,endX:r.state.endX}))})}}}},{key:"renderBackground",value:function(){var t=this.props,e=t.x,r=t.y,o=t.width,i=t.height,a=t.fill,u=t.stroke;return n.createElement("rect",{stroke:u,fill:a,x:e,y:r,width:o,height:i})}},{key:"renderPanorama",value:function(){var t=this.props,e=t.x,r=t.y,o=t.width,i=t.height,a=t.data,u=t.children,c=t.padding,l=n.Children.only(u);return l?n.cloneElement(l,{x:e,y:r,width:o,height:i,margin:c,compact:!0,data:a}):null}},{key:"renderTravellerLayer",value:function(t,e){var r,i,a=this,u=this.props,c=u.y,l=u.travellerWidth,s=u.height,f=u.traveller,p=u.ariaLabel,d=u.data,h=u.startIndex,y=u.endIndex,v=Math.max(t,this.props.x),m=L(L({},(0,S.J9)(this.props,!1)),{},{x:v,y:c,width:l,height:s}),g=p||"Min value: ".concat(null==(r=d[h])?void 0:r.name,", Max value: ").concat(null==(i=d[y])?void 0:i.name);return n.createElement(b.W,{tabIndex:0,role:"slider","aria-label":g,"aria-valuenow":t,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[e],onTouchStart:this.travellerDragStartHandlers[e],onKeyDown:function(t){["ArrowLeft","ArrowRight"].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),a.handleTravellerMoveKeyboard("ArrowRight"===t.key?1:-1,e))},onFocus:function(){a.setState({isTravellerFocused:!0})},onBlur:function(){a.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},o.renderTraveller(f,m))}},{key:"renderSlide",value:function(t,e){var r=this.props,o=r.y,i=r.height,a=r.stroke,u=r.travellerWidth,c=Math.min(t,e)+u,l=Math.max(Math.abs(e-t)-u,0);return n.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:a,fillOpacity:.2,x:c,y:o,width:l,height:i})}},{key:"renderText",value:function(){var t=this.props,e=t.startIndex,r=t.endIndex,o=t.y,i=t.height,a=t.travellerWidth,u=t.stroke,c=this.state,l=c.startX,s=c.endX,f={pointerEvents:"none",fill:u};return n.createElement(b.W,{className:"recharts-brush-texts"},n.createElement(P.E,R({textAnchor:"end",verticalAnchor:"middle",x:Math.min(l,s)-5,y:o+i/2},f),this.getTextOfTick(e)),n.createElement(P.E,R({textAnchor:"start",verticalAnchor:"middle",x:Math.max(l,s)+a+5,y:o+i/2},f),this.getTextOfTick(r)))}},{key:"render",value:function(){var t=this.props,e=t.data,r=t.className,o=t.children,i=t.x,a=t.y,u=t.width,c=t.height,l=t.alwaysShowText,s=this.state,f=s.startX,p=s.endX,d=s.isTextActive,h=s.isSlideMoving,y=s.isTravellerMoving,m=s.isTravellerFocused;
1if(!e||!e.length||!(0,k.Et)(i)||!(0,k.Et)(a)||!(0,k.Et)(u)||!(0,k.Et)(c)||u<=0||c<=0)return null;var g=(0,v.A)("recharts-brush",r),x=1===n.Children.count(o),w=I("userSelect","none");return n.createElement(b.W,{className:g,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:w},this.renderBackground(),x&&this.renderPanorama(),this.renderSlide(f,p),this.renderTravellerLayer(f,"startX"),this.renderTravellerLayer(p,"endX"),(d||h||y||m||l)&&this.renderText())}}],r=[{key:"renderDefaultTraveller",value:function(t){var e=t.x,r=t.y,o=t.width,i=t.height,a=t.stroke,u=Math.floor(r+i/2)-1;return n.createElement(n.Fragment,null,n.createElement("rect",{x:e,y:r,width:o,height:i,fill:a,stroke:"none"}),n.createElement("line",{x1:e+1,y1:u,x2:e+o-1,y2:u,fill:"none",stroke:"#fff"}),n.createElement("line",{x1:e+1,y1:u+2,x2:e+o-1,y2:u+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(t,e){return n.isValidElement(t)?n.cloneElement(t,e):u()(t)?t(e):o.renderDefaultTraveller(e)}},{key:"getDerivedStateFromProps",value:function(t,e){var r=t.data,n=t.width,o=t.x,i=t.travellerWidth,a=t.updateId,u=t.startIndex,c=t.endIndex;if(r!==e.prevData||a!==e.prevUpdateId)return L({prevData:r,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:n},r&&r.length?V({data:r,width:n,x:o,travellerWidth:i,startIndex:u,endIndex:c}):{scale:null,scaleValues:null});if(e.scale&&(n!==e.prevWidth||o!==e.prevX||i!==e.prevTravellerWidth)){e.scale.range([o,o+n-i]);var l=e.scale.domain().map(function(t){return e.scale(t)});return{prevData:r,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:n,startX:e.scale(t.startIndex),endX:e.scale(t.endIndex),scaleValues:l}}return null}},{key:"getIndexInRange",value:function(t,e){for(var r=t.length,n=0,o=r-1;o-n>1;){var i=Math.floor((n+o)/2);t[i]>e?o=i:n=i}return e>=t[o]?o:n}}],e&&z(o.prototype,e),r&&z(o,r),Object.defineProperty(o,"prototype",{writable:!1}),o}(n.PureComponent);H(G,"displayName","Brush"),H(G,"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 q=r(46605),K=r(83197),Y=r(60379),J=function(t,e){var r=t.alwaysShow,n=t.ifOverflow;return r&&(n="extendDomain"),n===e},Z=r(53707),Q=r(675);function tt(){return(tt=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}).apply(this,arguments)}function te(t){return(te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tn(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tr(Object(r),!0).forEach(function(e){tu(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tr(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function to(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(to=function(){return!!t})()}function ti(t){return(ti=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ta(t,e){return(ta=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tu(t,e,r){return(e=tc(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tc(t){var e=function(t,e){if("object"!=te(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=te(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==te(e)?e:e+""}var tl=function(t){var e=t.x,r=t.y,n=t.xAxis,o=t.yAxis,i=(0,Z.P2)({x:n.scale,y:o.scale}),a=i.apply({x:e,y:r},{bandAware:!0});return J(t,"discard")&&!i.isInRange(a)?null:a},ts=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=ti(t),function(t,e){if(e&&("object"===te(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,to()?Reflect.construct(t,e||[],ti(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&ta(r,t),e=[{key:"render",value:function(){var t=this.props,e=t.x,o=t.y,i=t.r,a=t.alwaysShow,u=t.clipPathId,c=(0,k.vh)(e),l=(0,k.vh)(o);if((0,Q.R)(void 0===a,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!c||!l)return null;var s=tl(this.props);if(!s)return null;var f=s.x,p=s.y,d=this.props,h=d.shape,y=d.className,m=tn(tn({clipPath:J(this.props,"hidden")?"url(#".concat(u,")"):void 0},(0,S.J9)(this.props,!0)),{},{cx:f,cy:p});return n.createElement(b.W,{className:(0,v.A)("recharts-reference-dot",y)},r.renderDot(h,m),Y.J.renderCallByParent(this.props,{x:f-i,y:p-i,width:2*i,height:2*i}))}}],function(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,tc(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.Component);tu(ts,"displayName","ReferenceDot"),tu(ts,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1}),tu(ts,"renderDot",function(t,e){return n.isValidElement(t)?n.cloneElement(t,e):u()(t)?t(e):n.createElement(O.c,tt({},e,{cx:e.cx,cy:e.cy,className:"recharts-reference-dot-dot"}))});var tf=r(71571),tp=r.n(tf),td=r(50091);function th(t){return(th="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ty(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ty=function(){return!!t})()}function tv(t){return(tv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tm(t,e){return(tm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tg(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tb(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tg(Object(r),!0).forEach(function(e){tx(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tg(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tx(t,e,r){return(e=tw(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tw(t){var e=function(t,e){if("object"!=th(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=th(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==th(e)?e:e+""}function tO(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function tj(){return(tj=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var tS=function(t,e){return n.isValidElement(t)?n.cloneElement(t,e):u()(t)?t(e):n.createElement("line",tj({},e,{className:"recharts-reference-line-line"}))},tA=function(t,e,r,n,o,i,a,u,c){var l=o.x,s=o.y,f=o.width,p=o.height;if(r){var d=c.y,h=t.y.apply(d,{position:i});if(J(c,"discard")&&!t.y.isInRange(h))return null;var y=[{x:l+f,y:h},{x:l,y:h}];return"left"===u?y.reverse():y}if(e){var v=c.x,m=t.x.apply(v,{position:i});if(J(c,"discard")&&!t.x.isInRange(m))return null;var g=[{x:m,y:s+p},{x:m,y:s}];return"top"===a?g.reverse():g}if(n){var b=c.segment.map(function(e){return t.apply(e,{position:i})});return J(c,"discard")&&tp()(b,function(e){return!t.isInRange(e)})?null:b}return null};function tP(t){var e=t.x,r=t.y,o=t.segment,i=t.xAxisId,a=t.yAxisId,u=t.shape,c=t.className,l=t.alwaysShow,s=(0,td.Yp)(),f=(0,td.AF)(i),p=(0,td.Nk)(a),d=(0,td.sk)();if(!s||!d)return null;(0,Q.R)(void 0===l,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var h=tA((0,Z.P2)({x:f.scale,y:p.scale}),(0,k.vh)(e),(0,k.vh)(r),o&&2===o.length,d,t.position,f.orientation,p.orientation,t);if(!h)return null;var y=function(t){if(Array.isArray(t))return t}(h)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,l=!1;try{i=(r=r.call(t)).next,!1;for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}(h,2)||function(t,e){if(t){if("string"==typeof t)return tO(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return tO(t,e)}}(h,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),m=y[0],g=m.x,x=m.y,w=y[1],O=w.x,j=w.y,A=tb(tb({clipPath:J(t,"hidden")?"url(#".concat(s,")"):void 0},(0,S.J9)(t,!0)),{},{x1:g,y1:x,x2:O,y2:j});return n.createElement(b.W,{className:(0,v.A)("recharts-reference-line",c)},tS(u,A),Y.J.renderCallByParent(t,(0,Z.vh)({x1:g,y1:x,x2:O,y2:j})))}var tE=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=tv(t),function(t,e){if(e&&("object"===th(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,ty()?Reflect.construct(t,e||[],tv(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&tm(r,t),e=[{key:"render",value:function(){return n.createElement(tP,this.props)}}],function(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,tw(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.Component);function tk(){return(tk=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}).apply(this,arguments)}function tM(t){return(tM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tT(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function t_(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?tT(Object(r),!0).forEach(function(e){tN(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tT(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}tx(tE,"displayName","ReferenceLine"),tx(tE,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});function tC(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tC=function(){return!!t})()}function tD(t){return(tD=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tI(t,e){return(tI=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tN(t,e,r){return(e=tR(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tR(t){var e=function(t,e){if("object"!=tM(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tM(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tM(e)?e:e+""}var tB=function(t,e,r,n,o){var i=o.x1,a=o.x2,u=o.y1,c=o.y2,l=o.xAxis,s=o.yAxis;if(!l||!s)return null;var f=(0,Z.P2)({x:l.scale,y:s.scale}),p={x:t?f.x.apply(i,{position:"start"}):f.x.rangeMin,y:r?f.y.apply(u,{position:"start"}):f.y.rangeMin},d={x:e?f.x.apply(a,{position:"end"}):f.x.rangeMax,y:n?f.y.apply(c,{position:"end"}):f.y.rangeMax};return!J(o,"discard")||f.isInRange(p)&&f.isInRange(d)?(0,Z.sl)(p,d):null},tL=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=tD(t),function(t,e){if(e&&("object"===tM(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,tC()?Reflect.construct(t,e||[],tD(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&tI(r,t),e=[{key:"render",value:function(){var t=this.props,e=t.x1,o=t.x2,i=t.y1,a=t.y2,u=t.className,c=t.alwaysShow,l=t.clipPathId;(0,Q.R)(void 0===c,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var s=(0,k.vh)(e),f=(0,k.vh)(o),p=(0,k.vh)(i),d=(0,k.vh)(a),h=this.props.shape;if(!s&&!f&&!p&&!d&&!h)return null;var y=tB(s,f,p,d,this.props);if(!y&&!h)return null;var m=J(this.props,"hidden")?"url(#".concat(l,")"):void 0;return n.createElement(b.W,{className:(0,v.A)("recharts-reference-area",u)},r.renderRect(h,t_(t_({clipPath:m},(0,S.J9)(this.props,!0)),y)),Y.J.renderCallByParent(this.props,y))}}],function(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,tR(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.Component);function tz(t){return function(t){if(Array.isArray(t))return tF(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return tF(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return tF(t,e)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tF(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}tN(tL,"displayName","ReferenceArea"),tN(tL,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1}),tN(tL,"renderRect",function(t,e){return n.isValidElement(t)?n.cloneElement(t,e):u()(t)?t(e):n.createElement(j.M,tk({},e,{className:"recharts-reference-area-rect"}))});var tU=function(t,e,r,n,o){var i=(0,S.aS)(t,tE),a=(0,S.aS)(t,ts),u=[].concat(tz(i),tz(a)),c=(0,S.aS)(t,tL),l="".concat(n,"Id"),s=n[0],f=e;if(u.length&&(f=u.reduce(function(t,e){if(e.props[l]===r&&J(e.props,"extendDomain")&&(0,k.Et)(e.props[s])){var n=e.props[s];return[Math.min(t[0],n),Math.max(t[1],n)]}return t},f)),c.length){var p="".concat(s,"1"),d="".concat(s,"2");f=c.reduce(function(t,e){if(e.props[l]===r&&J(e.props,"extendDomain")&&(0,k.Et)(e.props[p])&&(0,k.Et)(e.props[d])){var n=e.props[p],o=e.props[d];return[Math.min(t[0],n,o),Math.max(t[1],n,o)]}return t},f)}return o&&o.length&&(f=o.reduce(function(t,e){return(0,k.Et)(e)?[Math.min(t[0],e),Math.max(t[1],e)]:t},f)),f},tW=r(25641),tH=r(15232),t$=r(82661),tV=new(r.n(t$)()),tX="recharts.syncMouseEvents",tG=r(43597);function tq(t){return(tq="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tK(t,e,r){return(e=tY(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tY(t){var e=function(t,e){if("object"!=tq(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tq(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==tq(e)?e:e+""}var tJ=function(){var t,e;return t=function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");tK(this,"activeIndex",0),tK(this,"coordinateList",[]),tK(this,"layout","horizontal")},e=[{key:"setDetails",value:function(t){var e,r=t.coordinateList,n=void 0===r?null:r,o=t.container,i=void 0===o?null:o,a=t.layout,u=void 0===a?null:a,c=t.offset,l=void 0===c?null:c,s=t.mouseHandlerCallback,f=void 0===s?null:s;this.coordinateList=null!=(e=null!=n?n:this.coordinateList)?e:[],this.container=null!=i?i:this.container,this.layout=null!=u?u:this.layout,this.offset=null!=l?l:this.offset,this.mouseHandlerCallback=null!=f?f: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(t){if(0!==this.coordinateList.length)switch(t.key){case"ArrowRight":if("horizontal"!==this.layout)return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break;case"ArrowLeft":if("horizontal"!==this.layout)return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse()}}},{key:"setIndex",value:function(t){this.activeIndex=t}},{key:"spoofMouse",value:function(){if("horizontal"===this.layout&&0!==this.coordinateList.length){var t,e,r=this.container.getBoundingClientRect(),n=r.x,o=r.y,i=r.height,a=this.coordinateList[this.activeIndex].coordinate,u=(null==(t=window)?void 0:t.scrollX)||0,c=(null==(e=window)?void 0:e.scrollY)||0,l=o+this.offset.top+i/2+c;this.mouseHandlerCallback({pageX:n+a+u,pageY:l})}}}],function(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,tY(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(),tZ=r(67790),tQ=r(70688);function t0(t){return(t0="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var t1=["x","y","top","left","width","height","className"];function t2(){return(t2=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}).apply(this,arguments)}function t5(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}var t3=function(t){var e=t.x,r=void 0===e?0:e,o=t.y,i=void 0===o?0:o,a=t.top,u=void 0===a?0:a,c=t.left,l=void 0===c?0:c,s=t.width,f=void 0===s?0:s,p=t.height,d=void 0===p?0:p,h=t.className,y=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?t5(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=t0(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=t0(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==t0(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):t5(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}({x:r,y:i,top:u,left:l,width:f,height:d},function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)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}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,t1));return(0,k.Et)(r)&&(0,k.Et)(i)&&(0,k.Et)(f)&&(0,k.Et)(d)&&(0,k.Et)(u)&&(0,k.Et)(l)?n.createElement("path",t2({},(0,S.J9)(y,!0),{className:(0,v.A)("recharts-cross",h),d:"M".concat(r,",").concat(u,"v").concat(d,"M").concat(l,",").concat(i,"h").concat(f)})):null};function t6(t){var e=t.cx,r=t.cy,n=t.radius,o=t.startAngle,i=t.endAngle;return{points:[(0,tW.IZ)(e,r,n,o),(0,tW.IZ)(e,r,n,i)],cx:e,cy:r,radius:n,startAngle:o,endAngle:i}}var t8=r(77283);function t9(t){return(t9="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function t4(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function t7(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?t4(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=t9(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=t9(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==t9(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):t4(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function et(t){var e,r,o,i,a=t.element,u=t.tooltipEventType,c=t.isActive,l=t.activeCoordinate,s=t.activePayload,f=t.offset,p=t.activeTooltipIndex,d=t.tooltipAxisBandSize,h=t.layout,y=t.chartName,m=null!=(r=a.props.cursor)?r:null==(o=a.type.defaultProps)?void 0:o.cursor;if(!a||!m||!c||!l||"ScatterChart"!==y&&"axis"!==u)return null;var g=tQ.I;if("ScatterChart"===y)i=l,g=t3;else if("BarChart"===y)e=d/2,i={stroke:"none",fill:"#ccc",x:"horizontal"===h?l.x-e:f.left+.5,y:"horizontal"===h?f.top+.5:l.y-e,width:"horizontal"===h?d:f.width-1,height:"horizontal"===h?f.height-1:d},g=j.M;else if("radial"===h){var b=t6(l),x=b.cx,w=b.cy,O=b.radius;i={cx:x,cy:w,startAngle:b.startAngle,endAngle:b.endAngle,innerRadius:O,outerRadius:O},g=t8.h}else i={points:function(t,e,r){var n,o,i,a;if("horizontal"===t)i=n=e.x,o=r.top,a=r.top+r.height;else if("vertical"===t)a=o=e.y,n=r.left,i=r.left+r.width;else if(null!=e.cx&&null!=e.cy)if("centric"!==t)return t6(e);else{var u=e.cx,c=e.cy,l=e.innerRadius,s=e.outerRadius,f=e.angle,p=(0,tW.IZ)(u,c,l,f),d=(0,tW.IZ)(u,c,s,f);n=p.x,o=p.y,i=d.x,a=d.y}return[{x:n,y:o},{x:i,y:a}]}(h,l,f)},g=tQ.I;var A=t7(t7(t7(t7({stroke:"#ccc",pointerEvents:"none"},f),i),(0,S.J9)(m,!1)),{},{payload:s,payloadIndex:p,className:(0,v.A)("recharts-tooltip-cursor",m.className)});return(0,n.isValidElement)(m)?(0,n.cloneElement)(m,A):(0,n.createElement)(g,A)}var ee=["item"],er=["children","className","width","height","style","compact","title","desc"];function en(t){return(en="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eo(){return(eo=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}).apply(this,arguments)}function ei(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}(t,e)||ef(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ea(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)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}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function eu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eu=function(){return!!t})()}function ec(t){return(ec=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function el(t,e){return(el=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function es(t){return function(t){if(Array.isArray(t))return ep(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||ef(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ef(t,e){if(t){if("string"==typeof t)return ep(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ep(t,e)}}function ep(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function ed(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function eh(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?ed(Object(r),!0).forEach(function(e){ey(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ed(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function ey(t,e,r){return(e=ev(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ev(t){var e=function(t,e){if("object"!=en(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=en(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==en(e)?e:e+""}var em={xAxis:["bottom","top"],yAxis:["left","right"]},eg={width:"100%",height:"100%"},eb={x:0,y:0};function ex(t){return t}var ew=function(t,e,r,n){var o=e.find(function(t){return t&&t.index===r});if(o){if("horizontal"===t)return{x:o.coordinate,y:n.y};if("vertical"===t)return{x:n.x,y:o.coordinate};if("centric"===t){var i=o.coordinate,a=n.radius;return eh(eh(eh({},n),(0,tW.IZ)(n.cx,n.cy,a,i)),{},{angle:i,radius:a})}var u=o.coordinate,c=n.angle;return eh(eh(eh({},n),(0,tW.IZ)(n.cx,n.cy,u,c)),{},{angle:c,radius:u})}return eb},eO=function(t,e){var r=e.graphicalItems,n=e.dataStartIndex,o=e.dataEndIndex,i=(null!=r?r:[]).reduce(function(t,e){var r=e.props.data;return r&&r.length?[].concat(es(t),es(r)):t},[]);return i.length>0?i:t&&t.length&&(0,k.Et)(n)&&(0,k.Et)(o)?t.slice(n,o+1):[]};function ej(t){return"number"===t?[0,"auto"]:void 0}var eS=function(t,e,r,n){var o=t.graphicalItems,i=t.tooltipAxis,a=eO(e,t);return r<0||!o||!o.length||r>=a.length?null:o.reduce(function(o,u){var c,l,s=null!=(c=u.props.data)?c:e;if(s&&t.dataStartIndex+t.dataEndIndex!==0&&t.dataEndIndex-t.dataStartIndex>=r&&(s=s.slice(t.dataStartIndex,t.dataEndIndex+1)),i.dataKey&&!i.allowDuplicatedCategory){var f=void 0===s?a:s;l=(0,k.eP)(f,i.dataKey,n)}else l=s&&s[r]||a[r];return l?[].concat(es(o),[(0,E.zb)(u,l)]):o},[])},eA=function(t,e,r,n){var o=n||{x:t.chartX,y:t.chartY},i="horizontal"===r?o.x:"vertical"===r?o.y:"centric"===r?o.angle:o.radius,a=t.orderedTooltipTicks,u=t.tooltipAxis,c=t.tooltipTicks,l=(0,E.gH)(i,a,c,u);if(l>=0&&c){var s=c[l]&&c[l].value,f=eS(t,e,l,s),p=ew(r,a,l,o);return{activeTooltipIndex:l,activeLabel:s,activePayload:f,activeCoordinate:p}}return null},eP=function(t,e){var r=e.axes,n=e.graphicalItems,o=e.axisType,a=e.axisIdKey,u=e.stackGroups,c=e.dataStartIndex,s=e.dataEndIndex,f=t.layout,p=t.children,d=t.stackOffset,h=(0,E._L)(f,o);return r.reduce(function(e,r){var y=void 0!==r.type.defaultProps?eh(eh({},r.type.defaultProps),r.props):r.props,v=y.type,m=y.dataKey,g=y.allowDataOverflow,b=y.allowDuplicatedCategory,x=y.scale,w=y.ticks,O=y.includeHidden,j=y[a];if(e[j])return e;var S=eO(t.data,{graphicalItems:n.filter(function(t){var e;return(a in t.props?t.props[a]:null==(e=t.type.defaultProps)?void 0:e[a])===j}),dataStartIndex:c,dataEndIndex:s}),A=S.length;(function(t,e,r){if("number"===r&&!0===e&&Array.isArray(t)){var n=null==t?void 0:t[0],o=null==t?void 0:t[1];if(n&&o&&(0,k.Et)(n)&&(0,k.Et)(o))return!0}return!1})(y.domain,g,v)&&(T=(0,E.AQ)(y.domain,null,g),h&&("number"===v||"auto"!==x)&&(C=(0,E.Ay)(S,m,"category")));var P=ej(v);if(!T||0===T.length){var M,T,_,C,D,I=null!=(D=y.domain)?D:P;if(m){if(T=(0,E.Ay)(S,m,v),"category"===v&&h){var N=(0,k.CG)(T);b&&N?(_=T,T=l()(0,A)):b||(T=(0,E.KC)(I,T,r).reduce(function(t,e){return t.indexOf(e)>=0?t:[].concat(es(t),[e])},[]))}else if("category"===v)T=b?T.filter(function(t){return""!==t&&!i()(t)}):(0,E.KC)(I,T,r).reduce(function(t,e){return t.indexOf(e)>=0||""===e||i()(e)?t:[].concat(es(t),[e])},[]);else if("number"===v){var R=(0,E.A1)(S,n.filter(function(t){var e,r,n=a in t.props?t.props[a]:null==(e=t.type.defaultProps)?void 0:e[a],o="hide"in t.props?t.props.hide:null==(r=t.type.defaultProps)?void 0:r.hide;return n===j&&(O||!o)}),m,o,f);R&&(T=R)}h&&("number"===v||"auto"!==x)&&(C=(0,E.Ay)(S,m,"category"))}else T=h?l()(0,A):u&&u[j]&&u[j].hasStack&&"number"===v?"expand"===d?[0,1]:(0,E.Mk)(u[j].stackGroups,c,s):(0,E.vf)(S,n.filter(function(t){var e=a in t.props?t.props[a]:t.type.defaultProps[a],r="hide"in t.props?t.props.hide:t.type.defaultProps.hide;return e===j&&(O||!r)}),v,f,!0);"number"===v?(T=tU(p,T,j,o,w),I&&(T=(0,E.AQ)(I,T,g))):"category"===v&&I&&T.every(function(t){return I.indexOf(t)>=0})&&(T=I)}return eh(eh({},e),{},ey({},j,eh(eh({},y),{},{axisType:o,domain:T,categoricalDomain:C,duplicateDomain:_,originalDomain:null!=(M=y.domain)?M:P,isCategorical:h,layout:f})))},{})},eE=function(t,e){var r=e.graphicalItems,n=e.Axis,o=e.axisType,i=e.axisIdKey,a=e.stackGroups,u=e.dataStartIndex,c=e.dataEndIndex,s=t.layout,p=t.children,d=eO(t.data,{graphicalItems:r,dataStartIndex:u,dataEndIndex:c}),h=d.length,y=(0,E._L)(s,o),v=-1;return r.reduce(function(t,e){var m,g=(void 0!==e.type.defaultProps?eh(eh({},e.type.defaultProps),e.props):e.props)[i],b=ej("number");return t[g]?t:(v++,m=y?l()(0,h):a&&a[g]&&a[g].hasStack?tU(p,m=(0,E.Mk)(a[g].stackGroups,u,c),g,o):tU(p,m=(0,E.AQ)(b,(0,E.vf)(d,r.filter(function(t){var e,r,n=i in t.props?t.props[i]:null==(e=t.type.defaultProps)?void 0:e[i],o="hide"in t.props?t.props.hide:null==(r=t.type.defaultProps)?void 0:r.hide;return n===g&&!o}),"number",s),n.defaultProps.allowDataOverflow),g,o),eh(eh({},t),{},ey({},g,eh(eh({axisType:o},n.defaultProps),{},{hide:!0,orientation:f()(em,"".concat(o,".").concat(v%2),null),domain:m,originalDomain:b,isCategorical:y,layout:s}))))},{})},ek=function(t,e){var r=e.axisType,n=void 0===r?"xAxis":r,o=e.AxisComp,i=e.graphicalItems,a=e.stackGroups,u=e.dataStartIndex,c=e.dataEndIndex,l=t.children,s="".concat(n,"Id"),f=(0,S.aS)(l,o),p={};return f&&f.length?p=eP(t,{axes:f,graphicalItems:i,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:u,dataEndIndex:c}):i&&i.length&&(p=eE(t,{Axis:o,graphicalItems:i,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:u,dataEndIndex:c})),p},eM=function(t){var e=(0,k.lX)(t),r=(0,E.Rh)(e,!1,!0);return{tooltipTicks:r,orderedTooltipTicks:d()(r,function(t){return t.coordinate}),tooltipAxis:e,tooltipAxisBandSize:(0,E.Hj)(e,r)}},eT=function(t){var e=t.children,r=t.defaultShowTooltip,n=(0,S.BU)(e,G),o=0,i=0;return t.data&&0!==t.data.length&&(i=t.data.length-1),n&&n.props&&(n.props.startIndex>=0&&(o=n.props.startIndex),n.props.endIndex>=0&&(i=n.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:o,dataEndIndex:i,activeTooltipIndex:-1,isTooltipActive:!!r}},e_=function(t){return"horizontal"===t?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===t?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===t?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},eC=function(t,e){var r=t.props,n=t.graphicalItems,o=t.xAxisMap,i=void 0===o?{}:o,a=t.yAxisMap,u=void 0===a?{}:a,c=r.width,l=r.height,s=r.children,p=r.margin||{},d=(0,S.BU)(s,G),h=(0,S.BU)(s,w.s),y=Object.keys(u).reduce(function(t,e){var r=u[e],n=r.orientation;return r.mirror||r.hide?t:eh(eh({},t),{},ey({},n,t[n]+r.width))},{left:p.left||0,right:p.right||0}),v=Object.keys(i).reduce(function(t,e){var r=i[e],n=r.orientation;return r.mirror||r.hide?t:eh(eh({},t),{},ey({},n,f()(t,"".concat(n))+r.height))},{top:p.top||0,bottom:p.bottom||0}),m=eh(eh({},v),y),g=m.bottom;d&&(m.bottom+=d.props.height||G.defaultProps.height),h&&e&&(m=(0,E.s0)(m,n,r,e));var b=c-m.left-m.right,x=l-m.top-m.bottom;return eh(eh({brushBottom:g},m),{},{width:Math.max(b,0),height:Math.max(x,0)})},eD=r(62341),eI=r(96025),eN=r(16238),eR=function(t){var e=t.chartName,r=t.GraphicalChild,o=t.defaultTooltipEventType,a=void 0===o?"axis":o,c=t.validateTooltipEventTypes,l=void 0===c?["axis"]:c,s=t.axisComponents,p=t.legendContent,d=t.formatAxisMap,h=t.defaultProps,w=function(t,e){var r=e.graphicalItems,n=e.stackGroups,o=e.offset,a=e.updateId,u=e.dataStartIndex,c=e.dataEndIndex,l=t.barSize,f=t.layout,p=t.barGap,d=t.barCategoryGap,h=t.maxBarSize,y=e_(f),v=y.numericAxisName,g=y.cateAxisName,b=!!r&&!!r.length&&r.some(function(t){var e=(0,S.Mn)(t&&t.type);return e&&e.indexOf("Bar")>=0}),x=[];return r.forEach(function(r,y){var w=eO(t.data,{graphicalItems:[r],dataStartIndex:u,dataEndIndex:c}),O=void 0!==r.type.defaultProps?eh(eh({},r.type.defaultProps),r.props):r.props,j=O.dataKey,A=O.maxBarSize,P=O["".concat(v,"Id")],k=O["".concat(g,"Id")],M=s.reduce(function(t,r){var n=e["".concat(r.axisType,"Map")],o=O["".concat(r.axisType,"Id")];n&&n[o]||"zAxis"===r.axisType||(0,m.A)(!1);var i=n[o];return eh(eh({},t),{},ey(ey({},r.axisType,i),"".concat(r.axisType,"Ticks"),(0,E.Rh)(i)))},{}),T=M[g],_=M["".concat(g,"Ticks")],C=n&&n[P]&&n[P].hasStack&&(0,E.kA)(r,n[P].stackGroups),D=(0,S.Mn)(r.type).indexOf("Bar")>=0,I=(0,E.Hj)(T,_),N=[],R=b&&(0,E.tA)({barSize:l,stackGroups:n,totalSize:"xAxis"===g?M[g].width:"yAxis"===g?M[g].height:void 0});if(D){var B,L,z=i()(A)?h:A,F=null!=(B=null!=(L=(0,E.Hj)(T,_,!0))?L:z)?B:0;N=(0,E.BX)({barGap:p,barCategoryGap:d,bandSize:F!==I?F:I,sizeList:R[k],maxBarSize:z}),F!==I&&(N=N.map(function(t){return eh(eh({},t),{},{position:eh(eh({},t.position),{},{offset:t.position.offset-F/2})})}))}var U=r&&r.type&&r.type.getComposedData;U&&x.push({props:eh(eh({},U(eh(eh({},M),{},{displayedData:w,props:t,dataKey:j,item:r,bandSize:I,barPosition:N,offset:o,stackedData:C,layout:f,dataStartIndex:u,dataEndIndex:c}))),{},ey(ey(ey({key:r.key||"item-".concat(y)},v,M[v]),g,M[g]),"animationId",a)),childIndex:(0,S.AW)(r,t.children),item:r})}),x},A=function(t,n){var o=t.props,i=t.dataStartIndex,a=t.dataEndIndex,u=t.updateId;if(!(0,S.Me)({props:o}))return null;var c=o.children,l=o.layout,f=o.stackOffset,p=o.data,h=o.reverseStackOrder,y=e_(l),v=y.numericAxisName,m=y.cateAxisName,g=(0,S.aS)(c,r),b=(0,E.Mn)(p,g,"".concat(v,"Id"),"".concat(m,"Id"),f,h),x=s.reduce(function(t,e){var r="".concat(e.axisType,"Map");return eh(eh({},t),{},ey({},r,ek(o,eh(eh({},e),{},{graphicalItems:g,stackGroups:e.axisType===v&&b,dataStartIndex:i,dataEndIndex:a}))))},{}),O=eC(eh(eh({},x),{},{props:o,graphicalItems:g}),null==n?void 0:n.legendBBox);
1Object.keys(x).forEach(function(t){x[t]=d(o,x[t],O,t.replace("Map",""),e)});var j=eM(x["".concat(m,"Map")]),A=w(o,eh(eh({},x),{},{dataStartIndex:i,dataEndIndex:a,updateId:u,graphicalItems:g,stackGroups:b,offset:O}));return eh(eh({formattedGraphicalItems:A,graphicalItems:g,offset:O,stackGroups:b},j),x)},P=function(t){var r;function o(t){var r,a,c,l,s;if(!(this instanceof o))throw TypeError("Cannot call a class as a function");return l=o,s=[t],l=ec(l),ey(c=function(t,e){if(e&&("object"===en(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,eu()?Reflect.construct(l,s||[],ec(this).constructor):l.apply(this,s)),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),ey(c,"accessibilityManager",new tJ),ey(c,"handleLegendBBoxUpdate",function(t){if(t){var e=c.state,r=e.dataStartIndex,n=e.dataEndIndex,o=e.updateId;c.setState(eh({legendBBox:t},A({props:c.props,dataStartIndex:r,dataEndIndex:n,updateId:o},eh(eh({},c.state),{},{legendBBox:t}))))}}),ey(c,"handleReceiveSyncEvent",function(t,e,r){c.props.syncId===t&&(r!==c.eventEmitterSymbol||"function"==typeof c.props.syncMethod)&&c.applySyncEvent(e)}),ey(c,"handleBrushChange",function(t){var e=t.startIndex,r=t.endIndex;if(e!==c.state.dataStartIndex||r!==c.state.dataEndIndex){var n=c.state.updateId;c.setState(function(){return eh({dataStartIndex:e,dataEndIndex:r},A({props:c.props,dataStartIndex:e,dataEndIndex:r,updateId:n},c.state))}),c.triggerSyncEvent({dataStartIndex:e,dataEndIndex:r})}}),ey(c,"handleMouseEnter",function(t){var e=c.getMouseInfo(t);if(e){var r=eh(eh({},e),{},{isTooltipActive:!0});c.setState(r),c.triggerSyncEvent(r);var n=c.props.onMouseEnter;u()(n)&&n(r,t)}}),ey(c,"triggeredAfterMouseMove",function(t){var e=c.getMouseInfo(t),r=e?eh(eh({},e),{},{isTooltipActive:!0}):{isTooltipActive:!1};c.setState(r),c.triggerSyncEvent(r);var n=c.props.onMouseMove;u()(n)&&n(r,t)}),ey(c,"handleItemMouseEnter",function(t){c.setState(function(){return{isTooltipActive:!0,activeItem:t,activePayload:t.tooltipPayload,activeCoordinate:t.tooltipPosition||{x:t.cx,y:t.cy}}})}),ey(c,"handleItemMouseLeave",function(){c.setState(function(){return{isTooltipActive:!1}})}),ey(c,"handleMouseMove",function(t){t.persist(),c.throttleTriggeredAfterMouseMove(t)}),ey(c,"handleMouseLeave",function(t){c.throttleTriggeredAfterMouseMove.cancel();var e={isTooltipActive:!1};c.setState(e),c.triggerSyncEvent(e);var r=c.props.onMouseLeave;u()(r)&&r(e,t)}),ey(c,"handleOuterEvent",function(t){var e,r=(0,S.X_)(t),n=f()(c.props,"".concat(r));r&&u()(n)&&n(null!=(e=/.*touch.*/i.test(r)?c.getMouseInfo(t.changedTouches[0]):c.getMouseInfo(t))?e:{},t)}),ey(c,"handleClick",function(t){var e=c.getMouseInfo(t);if(e){var r=eh(eh({},e),{},{isTooltipActive:!0});c.setState(r),c.triggerSyncEvent(r);var n=c.props.onClick;u()(n)&&n(r,t)}}),ey(c,"handleMouseDown",function(t){var e=c.props.onMouseDown;u()(e)&&e(c.getMouseInfo(t),t)}),ey(c,"handleMouseUp",function(t){var e=c.props.onMouseUp;u()(e)&&e(c.getMouseInfo(t),t)}),ey(c,"handleTouchMove",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&c.throttleTriggeredAfterMouseMove(t.changedTouches[0])}),ey(c,"handleTouchStart",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&c.handleMouseDown(t.changedTouches[0])}),ey(c,"handleTouchEnd",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&c.handleMouseUp(t.changedTouches[0])}),ey(c,"handleDoubleClick",function(t){var e=c.props.onDoubleClick;u()(e)&&e(c.getMouseInfo(t),t)}),ey(c,"handleContextMenu",function(t){var e=c.props.onContextMenu;u()(e)&&e(c.getMouseInfo(t),t)}),ey(c,"triggerSyncEvent",function(t){void 0!==c.props.syncId&&tV.emit(tX,c.props.syncId,t,c.eventEmitterSymbol)}),ey(c,"applySyncEvent",function(t){var e=c.props,r=e.layout,n=e.syncMethod,o=c.state.updateId,i=t.dataStartIndex,a=t.dataEndIndex;if(void 0!==t.dataStartIndex||void 0!==t.dataEndIndex)c.setState(eh({dataStartIndex:i,dataEndIndex:a},A({props:c.props,dataStartIndex:i,dataEndIndex:a,updateId:o},c.state)));else if(void 0!==t.activeTooltipIndex){var u=t.chartX,l=t.chartY,s=t.activeTooltipIndex,f=c.state,p=f.offset,d=f.tooltipTicks;if(!p)return;if("function"==typeof n)s=n(d,t);else if("value"===n){s=-1;for(var h=0;h<d.length;h++)if(d[h].value===t.activeLabel){s=h;break}}var y=eh(eh({},p),{},{x:p.left,y:p.top}),v=Math.min(u,y.x+y.width),m=Math.min(l,y.y+y.height),g=d[s]&&d[s].value,b=eS(c.state,c.props.data,s),x=d[s]?{x:"horizontal"===r?d[s].coordinate:v,y:"horizontal"===r?m:d[s].coordinate}:eb;c.setState(eh(eh({},t),{},{activeLabel:g,activeCoordinate:x,activePayload:b,activeTooltipIndex:s}))}else c.setState(t)}),ey(c,"renderCursor",function(t){var r,o=c.state,i=o.isTooltipActive,a=o.activeCoordinate,u=o.activePayload,l=o.offset,s=o.activeTooltipIndex,f=o.tooltipAxisBandSize,p=c.getTooltipEventType(),d=null!=(r=t.props.active)?r:i,h=c.props.layout,y=t.key||"_recharts-cursor";return n.createElement(et,{key:y,activeCoordinate:a,activePayload:u,activeTooltipIndex:s,chartName:e,element:t,isActive:d,layout:h,offset:l,tooltipAxisBandSize:f,tooltipEventType:p})}),ey(c,"renderPolarAxis",function(t,e,r){var o=f()(t,"type.axisType"),i=f()(c.state,"".concat(o,"Map")),a=t.type.defaultProps,u=void 0!==a?eh(eh({},a),t.props):t.props,l=i&&i[u["".concat(o,"Id")]];return(0,n.cloneElement)(t,eh(eh({},l),{},{className:(0,v.A)(o,l.className),key:t.key||"".concat(e,"-").concat(r),ticks:(0,E.Rh)(l,!0)}))}),ey(c,"renderPolarGrid",function(t){var e=t.props,r=e.radialLines,o=e.polarAngles,i=e.polarRadius,a=c.state,u=a.radiusAxisMap,l=a.angleAxisMap,s=(0,k.lX)(u),f=(0,k.lX)(l),p=f.cx,d=f.cy,h=f.innerRadius,y=f.outerRadius;return(0,n.cloneElement)(t,{polarAngles:Array.isArray(o)?o:(0,E.Rh)(f,!0).map(function(t){return t.coordinate}),polarRadius:Array.isArray(i)?i:(0,E.Rh)(s,!0).map(function(t){return t.coordinate}),cx:p,cy:d,innerRadius:h,outerRadius:y,key:t.key||"polar-grid",radialLines:r})}),ey(c,"renderLegend",function(){var t=c.state.formattedGraphicalItems,e=c.props,r=e.children,o=e.width,i=e.he
1ight,a=c.props.margin||{},u=o-(a.left||0)-(a.right||0),l=(0,K.g)({children:r,formattedGraphicalItems:t,legendWidth:u,legendContent:p});if(!l)return null;var s=l.item,f=ea(l,ee);return(0,n.cloneElement)(s,eh(eh({},f),{},{chartWidth:o,chartHeight:i,margin:a,onBBoxUpdate:c.handleLegendBBoxUpdate}))}),ey(c,"renderTooltip",function(){var t,e=c.props,r=e.children,o=e.accessibilityLayer,i=(0,S.BU)(r,x.m);if(!i)return null;var a=c.state,u=a.isTooltipActive,l=a.activeCoordinate,s=a.activePayload,f=a.activeLabel,p=a.offset,d=null!=(t=i.props.active)?t:u;return(0,n.cloneElement)(i,{viewBox:eh(eh({},p),{},{x:p.left,y:p.top}),active:d,label:f,payload:d?s:[],coordinate:l,accessibilityLayer:o})}),ey(c,"renderBrush",function(t){var e=c.props,r=e.margin,o=e.data,i=c.state,a=i.offset,u=i.dataStartIndex,l=i.dataEndIndex,s=i.updateId;return(0,n.cloneElement)(t,{key:t.key||"_recharts-brush",onChange:(0,E.HQ)(c.handleBrushChange,t.props.onChange),data:o,x:(0,k.Et)(t.props.x)?t.props.x:a.left,y:(0,k.Et)(t.props.y)?t.props.y:a.top+a.height+a.brushBottom-(r.bottom||0),width:(0,k.Et)(t.props.width)?t.props.width:a.width,startIndex:u,endIndex:l,updateId:"brush-".concat(s)})}),ey(c,"renderReferenceElement",function(t,e,r){if(!t)return null;var o=c.clipPathId,i=c.state,a=i.xAxisMap,u=i.yAxisMap,l=i.offset,s=t.type.defaultProps||{},f=t.props,p=f.xAxisId,d=void 0===p?s.xAxisId:p,h=f.yAxisId,y=void 0===h?s.yAxisId:h;return(0,n.cloneElement)(t,{key:t.key||"".concat(e,"-").concat(r),xAxis:a[d],yAxis:u[y],viewBox:{x:l.left,y:l.top,width:l.width,height:l.height},clipPathId:o})}),ey(c,"renderActivePoints",function(t){var e=t.item,r=t.activePoint,n=t.basePoint,i=t.childIndex,a=t.isRange,u=[],c=e.props.key,l=void 0!==e.item.type.defaultProps?eh(eh({},e.item.type.defaultProps),e.item.props):e.item.props,s=l.activeDot,f=eh(eh({index:i,dataKey:l.dataKey,cx:r.x,cy:r.y,r:4,fill:(0,E.Ps)(e.item),strokeWidth:2,stroke:"#fff",payload:r.payload,value:r.value},(0,S.J9)(s,!1)),(0,tG._U)(s));return u.push(o.renderActiveDot(s,f,"".concat(c,"-activePoint-").concat(i))),n?u.push(o.renderActiveDot(s,eh(eh({},f),{},{cx:n.x,cy:n.y}),"".concat(c,"-basePoint-").concat(i))):a&&u.push(null),u}),ey(c,"renderGraphicChild",function(t,e,r){var o=c.filterFormatItem(t,e,r);if(!o)return null;var a=c.getTooltipEventType(),u=c.state,l=u.isTooltipActive,s=u.tooltipAxis,f=u.activeTooltipIndex,p=u.activeLabel,d=c.props.children,h=(0,S.BU)(d,x.m),y=o.props,v=y.points,m=y.isRange,g=y.baseLine,b=void 0!==o.item.type.defaultProps?eh(eh({},o.item.type.defaultProps),o.item.props):o.item.props,w=b.activeDot,O=b.hide,j=b.activeBar,A=b.activeShape,P=!!(!O&&l&&h&&(w||j||A)),M={};"axis"!==a&&h&&"click"===h.props.trigger?M={onClick:(0,E.HQ)(c.handleItemMouseEnter,t.props.onClick)}:"axis"!==a&&(M={onMouseLeave:(0,E.HQ)(c.handleItemMouseLeave,t.props.onMouseLeave),onMouseEnter:(0,E.HQ)(c.handleItemMouseEnter,t.props.onMouseEnter)});var T=(0,n.cloneElement)(t,eh(eh({},o.props),M));if(P)if(f>=0){if(s.dataKey&&!s.allowDuplicatedCategory){var _="function"==typeof s.dataKey?function(t){return"function"==typeof s.dataKey?s.dataKey(t.payload):null}:"payload.".concat(s.dataKey.toString());D=(0,k.eP)(v,_,p),I=m&&g&&(0,k.eP)(g,_,p)}else D=null==v?void 0:v[f],I=m&&g&&g[f];if(A||j){var C=void 0!==t.props.activeIndex?t.props.activeIndex:f;return[(0,n.cloneElement)(t,eh(eh(eh({},o.props),M),{},{activeIndex:C})),null,null]}if(!i()(D))return[T].concat(es(c.renderActivePoints({item:o,activePoint:D,basePoint:I,childIndex:f,isRange:m})))}else{var D,I,N,R=(null!=(N=c.getItemByXY(c.state.activeCoordinate))?N:{graphicalItem:T}).graphicalItem,B=R.item,L=void 0===B?t:B,z=R.childIndex,F=eh(eh(eh({},o.props),M),{},{activeIndex:z});return[(0,n.cloneElement)(L,F),null,null]}return m?[T,null,null]:[T,null]}),ey(c,"renderCustomized",function(t,e,r){return(0,n.cloneElement)(t,eh(eh({key:"recharts-customized-".concat(r)},c.props),c.state))}),ey(c,"renderMap",{CartesianGrid:{handler:ex,once:!0},ReferenceArea:{handler:c.renderReferenceElement},ReferenceLine:{handler:ex},ReferenceDot:{handler:c.renderReferenceElement},XAxis:{handler:ex},YAxis:{handler:ex},Brush:{handler:c.renderBrush,once:!0},Bar:{handler:c.renderGraphicChild},Line:{handler:c.renderGraphicChild},Area:{handler:c.renderGraphicChild},Radar:{handler:c.renderGraphicChild},RadialBar:{handler:c.renderGraphicChild},Scatter:{handler:c.renderGraphicChild},Pie:{handler:c.renderGraphicChild},Funnel:{handler:c.renderGraphicChild},Tooltip:{handler:c.renderCursor,once:!0},PolarGrid:{handler:c.renderPolarGrid,once:!0},PolarAngleAxis:{handler:c.renderPolarAxis},PolarRadiusAxis:{handler:c.renderPolarAxis},Customized:{handler:c.renderCustomized}}),c.clipPathId="".concat(null!=(r=t.id)?r:(0,k.NF)("recharts"),"-clip"),c.throttleTriggeredAfterMouseMove=y()(c.triggeredAfterMouseMove,null!=(a=t.throttleDelay)?a:1e3/60),c.state={},c}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&el(o,t),r=[{key:"componentDidMount",value:function(){var t,e;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:null!=(t=this.props.margin.left)?t:0,top:null!=(e=this.props.margin.top)?e:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var t=this.props,e=t.children,r=t.data,n=t.height,o=t.layout,i=(0,S.BU)(e,x.m);if(i){var a=i.props.defaultIndex;if("number"==typeof a&&!(a<0)&&!(a>this.state.tooltipTicks.length-1)){var u=this.state.tooltipTicks[a]&&this.state.tooltipTicks[a].value,c=eS(this.state,r,a,u),l=this.state.tooltipTicks[a].coordinate,
1s=(this.state.offset.top+n)/2,f="horizontal"===o?{x:l,y:s}:{y:l,x:s},p=this.state.formattedGraphicalItems.find(function(t){return"Scatter"===t.item.type.name});p&&(f=eh(eh({},f),p.props.points[a].tooltipPosition),c=p.props.points[a].tooltipPayload);var d={activeTooltipIndex:a,isTooltipActive:!0,activeLabel:u,activePayload:c,activeCoordinate:f};this.setState(d),this.renderCursor(i),this.accessibilityManager.setIndex(a)}}}},{key:"getSnapshotBeforeUpdate",value:function(t,e){if(!this.props.accessibilityLayer)return null;if(this.state.tooltipTicks!==e.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==t.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==t.margin){var r,n;this.accessibilityManager.setDetails({offset:{left:null!=(r=this.props.margin.left)?r:0,top:null!=(n=this.props.margin.top)?n:0}})}return null}},{key:"componentDidUpdate",value:function(t){(0,S.OV)([(0,S.BU)(t.children,x.m)],[(0,S.BU)(this.props.children,x.m)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var t=(0,S.BU)(this.props.children,x.m);if(t&&"boolean"==typeof t.props.shared){var e=t.props.shared?"axis":"item";return l.indexOf(e)>=0?e:a}return a}},{key:"getMouseInfo",value:function(t){if(!this.container)return null;var e=this.container,r=e.getBoundingClientRect(),n=(0,q.A3)(r),o={chartX:Math.round(t.pageX-n.left),chartY:Math.round(t.pageY-n.top)},i=r.width/e.offsetWidth||1,a=this.inRange(o.chartX,o.chartY,i);if(!a)return null;var u=this.state,c=u.xAxisMap,l=u.yAxisMap,s=this.getTooltipEventType(),f=eA(this.state,this.props.data,this.props.layout,a);if("axis"!==s&&c&&l){var p=(0,k.lX)(c).scale,d=(0,k.lX)(l).scale,h=p&&p.invert?p.invert(o.chartX):null,y=d&&d.invert?d.invert(o.chartY):null;return eh(eh({},o),{},{xValue:h,yValue:y},f)}return f?eh(eh({},o),f):null}},{key:"inRange",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=this.props.layout,o=t/r,i=e/r;if("horizontal"===n||"vertical"===n){var a=this.state.offset;return o>=a.left&&o<=a.left+a.width&&i>=a.top&&i<=a.top+a.height?{x:o,y:i}:null}var u=this.state,c=u.angleAxisMap,l=u.radiusAxisMap;if(c&&l){var s=(0,k.lX)(c);return(0,tW.yy)({x:o,y:i},s)}return null}},{key:"parseEventsOfWrapper",value:function(){var t=this.props.children,e=this.getTooltipEventType(),r=(0,S.BU)(t,x.m),n={};return r&&"axis"===e&&(n="click"===r.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onDoubleClick:this.handleDoubleClick,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,onContextMenu:this.handleContextMenu}),eh(eh({},(0,tG._U)(this.props,this.handleOuterEvent)),n)}},{key:"addListener",value:function(){tV.on(tX,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){tV.removeListener(tX,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(t,e,r){for(var n=this.state.formattedGraphicalItems,o=0,i=n.length;o<i;o++){var a=n[o];if(a.item===t||a.props.key===t.key||e===(0,S.Mn)(a.item.type)&&r===a.childIndex)return a}return null}},{key:"renderClipPath",value:function(){var t=this.clipPathId,e=this.state.offset,r=e.left,o=e.top,i=e.height,a=e.width;return n.createElement("defs",null,n.createElement("clipPath",{id:t},n.createElement("rect",{x:r,y:o,height:i,width:a})))}},{key:"getXScales",value:function(){var t=this.state.xAxisMap;return t?Object.entries(t).reduce(function(t,e){var r=ei(e,2),n=r[0],o=r[1];return eh(eh({},t),{},ey({},n,o.scale))},{}):null}},{key:"getYScales",value:function(){var t=this.state.yAxisMap;return t?Object.entries(t).reduce(function(t,e){var r=ei(e,2),n=r[0],o=r[1];return eh(eh({},t),{},ey({},n,o.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(t){var e;return null==(e=this.state.xAxisMap)||null==(e=e[t])?void 0:e.scale}},{key:"getYScaleByAxisId",value:function(t){var e;return null==(e=this.state.yAxisMap)||null==(e=e[t])?void 0:e.scale}},{key:"getItemByXY",value:function(t){var e=this.state,r=e.formattedGraphicalItems,n=e.activeItem;if(r&&r.length)for(var o=0,i=r.length;o<i;o++){var a=r[o],u=a.props,c=a.item,l=void 0!==c.type.defaultProps?eh(eh({},c.type.defaultProps),c.props):c.props,s=(0,S.Mn)(c.type);if("Bar"===s){var f=(u.data||[]).find(function(e){return(0,j.J)(t,e)});if(f)return{graphicalItem:a,payload:f}}else if("RadialBar"===s){var p=(u.data||[]).find(function(e){return(0,tW.yy)(t,e)});if(p)return{graphicalItem:a,payload:p}}
1else if((0,tZ.NE)(a,n)||(0,tZ.nZ)(a,n)||(0,tZ.xQ)(a,n)){var d=(0,tZ.GG)({graphicalItem:a,activeTooltipItem:n,itemData:l.data}),h=void 0===l.activeIndex?d:l.activeIndex;return{graphicalItem:eh(eh({},a),{},{childIndex:h}),payload:(0,tZ.xQ)(a,n)?l.data[d]:a.props.data[d]}}}return null}},{key:"render",value:function(){var t,e,r=this;if(!(0,S.Me)(this))return null;var o=this.props,i=o.children,a=o.className,u=o.width,c=o.height,l=o.style,s=o.compact,f=o.title,p=o.desc,d=ea(o,er),h=(0,S.J9)(d,!1);if(s)return n.createElement(td.DR,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},n.createElement(g.u,eo({},h,{width:u,height:c,title:f,desc:p}),this.renderClipPath(),(0,S.ee)(i,this.renderMap)));this.props.accessibilityLayer&&(h.tabIndex=null!=(t=this.props.tabIndex)?t:0,h.role=null!=(e=this.props.role)?e:"application",h.onKeyDown=function(t){r.accessibilityManager.keyboardEvent(t)},h.onFocus=function(){r.accessibilityManager.focus()});var y=this.parseEventsOfWrapper();return n.createElement(td.DR,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},n.createElement("div",eo({className:(0,v.A)("recharts-wrapper",a),style:eh({position:"relative",cursor:"default",width:u,height:c},l)},y,{ref:function(t){r.container=t}}),n.createElement(g.u,eo({},h,{width:u,height:c,title:f,desc:p,style:eg}),this.renderClipPath(),(0,S.ee)(i,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}],function(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,ev(n.key),n)}}(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),o}(n.Component);ey(P,"displayName",e),ey(P,"defaultProps",eh({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},h)),ey(P,"getDerivedStateFromProps",function(t,e){var r=t.dataKey,n=t.data,o=t.children,a=t.width,u=t.height,c=t.layout,l=t.stackOffset,s=t.margin,f=e.dataStartIndex,p=e.dataEndIndex;if(void 0===e.updateId){var d=eT(t);return eh(eh(eh({},d),{},{updateId:0},A(eh(eh({props:t},d),{},{updateId:0}),e)),{},{prevDataKey:r,prevData:n,prevWidth:a,prevHeight:u,prevLayout:c,prevStackOffset:l,prevMargin:s,prevChildren:o})}if(r!==e.prevDataKey||n!==e.prevData||a!==e.prevWidth||u!==e.prevHeight||c!==e.prevLayout||l!==e.prevStackOffset||!(0,tH.b)(s,e.prevMargin)){var h=eT(t),y={chartX:e.chartX,chartY:e.chartY,isTooltipActive:e.isTooltipActive},v=eh(eh({},eA(e,n,c)),{},{updateId:e.updateId+1}),m=eh(eh(eh({},h),y),v);return eh(eh(eh({},m),A(eh({props:t},m),e)),{},{prevDataKey:r,prevData:n,prevWidth:a,prevHeight:u,prevLayout:c,prevStackOffset:l,prevMargin:s,prevChildren:o})}if(!(0,S.OV)(o,e.prevChildren)){var g,b,x,w,O=(0,S.BU)(o,G),j=O&&null!=(g=null==(b=O.props)?void 0:b.startIndex)?g:f,P=O&&null!=(x=null==(w=O.props)?void 0:w.endIndex)?x:p,E=i()(n)||j!==f||P!==p?e.updateId+1:e.updateId;return eh(eh({updateId:E},A(eh(eh({props:t},e),{},{updateId:E,dataStartIndex:j,dataEndIndex:P}),e)),{},{prevChildren:o,dataStartIndex:j,dataEndIndex:P})}return null}),ey(P,"renderActiveDot",function(t,e,r){var o;return o=(0,n.isValidElement)(t)?(0,n.cloneElement)(t,e):u()(t)?t(e):n.createElement(O.c,e),n.createElement(b.W,{className:"recharts-active-dot",key:r},o)});var M=(0,n.forwardRef)(function(t,e){return n.createElement(P,eo({},t,{ref:e}))});return M.displayName=P.displayName,M}({chartName:"AreaChart",GraphicalChild:eD.G,axisComponents:[{axisType:"xAxis",AxisComp:eI.W},{axisType:"yAxis",AxisComp:eN.h}],formatAxisMap:Z.pr})},41643:(t,e,r)=>{"use strict";r.d(e,{m:()=>n});var n={isSsr:!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(t){return n[t]},set:function(t,e){if("string"==typeof t)n[t]=e;else{var r=Object.keys(t);r&&r.length&&r.forEach(function(e){n[e]=t[e]})}}}},42233:(t,e,r)=>{var n=r(36815),o=1/0;t.exports=function(t){return t?(t=n(t))===o||t===-o?(t<0?-1:1)*17976931348623157e292:t==t?t:0:0===t?t:0}},43597:(t,e,r)=>{"use strict";r.d(e,{QQ:()=>u,VU:()=>l,XC:()=>p,_U:()=>f,j2:()=>s});var n=r(12115),o=r(67460),i=r.n(o);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var u=["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
1dering","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"],c=["points","pathLength"],l={svg:["viewBox","children"],polygon:c,polyline:c},s=["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
1Capture","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"],f=function(t,e){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var r=t;if((0,n.isValidElement)(t)&&(r=t.props),!i()(r))return null;var o={};return Object.keys(r).forEach(function(t){s.includes(t)&&(o[t]=e||function(e){return r[t](r,e)})}),o},p=function(t,e,r){if(!i()(t)||"object"!==a(t))return null;var n=null;return Object.keys(t).forEach(function(o){var i=t[o];s.includes(o)&&"function"==typeof i&&(n||(n={}),n[o]=function(t){return i(e,r,t),null})}),n}},43720:t=>{t.exports=function(){return[]}},44101:(t,e,r)=>{t.exports=r(83711)(r(82500),"DataView")},44158:t=>{t.exports=function(){return!1}},44482:(t,e,r)=>{var n=r(98233),o=r(73726),i=r(48611),a=Object.prototype,u=Function.prototype.toString,c=a.hasOwnProperty,l=u.call(Object);t.exports=function(t){if(!i(t)||"[object Object]"!=n(t))return!1;var e=o(t);if(null===e)return!0;var r=c.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&u.call(r)==l}},44538:(t,e,r)=>{"use strict";r.d(e,{J:()=>d,M:()=>y});var n=r(12115),o=r(52596),i=r(64339),a=r(70788);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}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}).apply(this,arguments)}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function f(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?s(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=u(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=u(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==u(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var p=function(t,e,r,n,o){var i,a=Math.min(Math.abs(r)/2,Math.abs(n)/2),u=n>=0?1:-1,c=r>=0?1:-1,l=+(n>=0&&r>=0||n<0&&r<0);if(a>0&&o instanceof Array){for(var s=[0,0,0,0],f=0;f<4;f++)s[f]=o[f]>a?a:o[f];i="M".concat(t,",").concat(e+u*s[0]),s[0]>0&&(i+="A ".concat(s[0],",").concat(s[0],",0,0,").concat(l,",").concat(t+c*s[0],",").concat(e)),i+="L ".concat(t+r-c*s[1],",").concat(e),s[1]>0&&(i+="A ".concat(s[1],",").concat(s[1],",0,0,").concat(l,",\n        ").concat(t+r,",").concat(e+u*s[1])),i+="L ".concat(t+r,",").concat(e+n-u*s[2]),s[2]>0&&(i+="A ".concat(s[2],",").concat(s[2],",0,0,").concat(l,",\n        ").concat(t+r-c*s[2],",").concat(e+n)),i+="L ".concat(t+c*s[3],",").concat(e+n),s[3]>0&&(i+="A ".concat(s[3],",").concat(s[3],",0,0,").concat(l,",\n        ").concat(t,",").concat(e+n-u*s[3])),i+="Z"}else if(a>0&&o===+o&&o>0){var p=Math.min(a,o);i="M ".concat(t,",").concat(e+u*p,"\n            A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(t+c*p,",").concat(e,"\n            L ").concat(t+r-c*p,",").concat(e,"\n            A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(t+r,",").concat(e+u*p,"\n            L ").concat(t+r,",").concat(e+n-u*p,"\n            A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(t+r-c*p,",").concat(e+n,"\n            L ").concat(t+c*p,",").concat(e+n,"\n            A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(t,",").concat(e+n-u*p," Z")}else i="M ".concat(t,",").concat(e," h ").concat(r," v ").concat(n," h ").concat(-r," Z");return i},d=function(t,e){if(!t||!e)return!1;var r=t.x,n=t.y,o=e.x,i=e.y,a=e.width,u=e.height;if(Math.abs(a)>0&&Math.abs(u)>0){var c=Math.min(o,o+a),l=Math.max(o,o+a),s=Math.min(i,i+u),f=Math.max(i,i+u);return r>=c&&r<=l&&n>=s&&n<=f}return!1},h={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},y=function(t){var e,r=f(f({},h),t),u=(0,n.useRef)(),s=function(t){if(Array.isArray(t))return t}
1(e=(0,n.useState)(-1))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,l=!1;try{i=(r=r.call(t)).next,!1;for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}(e,2)||function(t,e){if(t){if("string"==typeof t)return l(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(t,e)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),d=s[0],y=s[1];(0,n.useEffect)(function(){if(u.current&&u.current.getTotalLength)try{var t=u.current.getTotalLength();t&&y(t)}catch(t){}},[]);var v=r.x,m=r.y,g=r.width,b=r.height,x=r.radius,w=r.className,O=r.animationEasing,j=r.animationDuration,S=r.animationBegin,A=r.isAnimationActive,P=r.isUpdateAnimationActive;if(v!==+v||m!==+m||g!==+g||b!==+b||0===g||0===b)return null;var E=(0,o.A)("recharts-rectangle",w);return P?n.createElement(i.Ay,{canBegin:d>0,from:{width:g,height:b,x:v,y:m},to:{width:g,height:b,x:v,y:m},duration:j,animationEasing:O,isActive:P},function(t){var e=t.width,o=t.height,l=t.x,s=t.y;return n.createElement(i.Ay,{canBegin:d>0,from:"0px ".concat(-1===d?1:d,"px"),to:"".concat(d,"px 0px"),attributeName:"strokeDasharray",begin:S,duration:j,isActive:A,easing:O},n.createElement("path",c({},(0,a.J9)(r,!0),{className:E,d:p(l,s,e,o,x),ref:u})))}):n.createElement("path",c({},(0,a.J9)(r,!0),{className:E,d:p(v,m,g,b,x)}))}},44727:(t,e,r)=>{"use strict";r.d(e,{m:()=>V});var n=r(95155),o=r(12115);let i=(0,o.createContext)({});var a=r(25214),u=r(51508);let c=(0,o.createContext)({});var l=r(65305),s=r(19253);function f(t){return Array.isArray(t)?t.join(" "):t}var p=r(68972),d=r(6642),h=r(9480);let y=Symbol.for("motionComponentSymbol");function v(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}let m=(0,o.createContext)(null);var g=r(97494),b=r(31788);let{schedule:x,cancel:w}=(0,r(70554).I)(queueMicrotask,!1),O=(0,o.createContext)({});var j=r(175),S=r(59210),A=r(6340),P=r(2735),E=r(82885),k=r(34379),M=r(14570);let T=t=>(e,r)=>{let n=(0,o.useContext)(c),i=(0,o.useContext)(m),a=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onUpdate:r},n,o,i){let a={latestValues:function(t,e,r,n){let o={},i=n(t,{});for(let t in i)o[t]=function(t){let e=(0,M.S)(t)?t.get():t;return(0,k.B)(e)?e.toValue():e}(i[t]);let{initial:a,animate:u}=t,c=(0,s.e)(t),l=(0,s.O)(t);e&&l&&!c&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===u&&(u=e.animate));let f=!!r&&!1===r.initial,p=(f=f||!1===a)?u:a;if(p&&"boolean"!=typeof p&&!(0,A.N)(p)){let e=Array.isArray(p)?p:[p];for(let r=0;r<e.length;r++){let n=(0,P.a)(t,e[r]);if(n){let{transitionEnd:t,transition:e,...r}=n;for(let t in r){let e=r[t];if(Array.isArray(e)){let t=f?e.length-1:0;e=e[t]}null!==e&&(o[t]=e)}for(let e in t)o[e]=t[e]}}}return o}(n,o,i,t),renderState:e()};return r&&(a.onMount=t=>r({props:n,current:t,...a}),a.onUpdate=t=>r(t)),a})(t,e,n,i);return r?a():(0,E.M)(a)};var _=r(87387),C=r(97914);let D=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),I=()=>({...D(),attrs:{}});var N=r(93095),R=r(33869),B=r(34527);let L=["x","y","width","height","cx","cy","r"],z={useVisualState:T({scrapeMotionValuesFromProps:B.x,createRenderState:I,onUpdate:({props:t,prevProps:e,current:r,renderState:n,latestValues:o})=>{if(!r)return;let i=!!t.drag;if(!i){for(let t in o)if(_.f.has(t)){i=!0;break}}if(!i)return;let a=!e;if(e)for(let r=0;r<L.length;r++){let n=L[r];t[n]!==e[n]&&(a=!0)}a&&S.Gt.read(()=>{!function(t,e){try{e.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(t){e.dimensions={x:0,y:0,width:0,height:0}}}(r,n),S.Gt.render(()=>{(0,C.B)(n,o,(0,N.n)(r.tagName),t.transformTemplate),(0,R.d)(r,n)})})}})}
1,F={useVisualState:T({scrapeMotionValuesFromProps:r(60990).x,createRenderState:D})};var U=r(87966),W=r(86169);function H(t,e,r){for(let n in e)(0,M.S)(e[n])||(0,U.z)(n,r)||(t[n]=e[n])}var $=r(95500);let V=function(t){if("undefined"==typeof Proxy)return t;let e=new Map;return new Proxy((...e)=>t(...e),{get:(r,n)=>"create"===n?t:(e.has(n)||e.set(n,t(n)),e.get(n))})}(function(t,{forwardMotionProps:e}={forwardMotionProps:!1}){return function(t){var e,r;let{preloadedFeatures:w,createVisualElement:j,useRender:S,useVisualState:A,Component:P}=t;function E(t,e){var r;let h,y={...(0,o.useContext)(u.Q),...t,layoutId:function(t){let{layoutId:e}=t,r=(0,o.useContext)(i).id;return r&&void 0!==e?r+"-"+e:e}(t)},{isStatic:w}=y,E=function(t){let{initial:e,animate:r}=function(t,e){if((0,s.e)(t)){let{initial:e,animate:r}=t;return{initial:!1===e||(0,l.w)(e)?e:void 0,animate:(0,l.w)(r)?r:void 0}}return!1!==t.inherit?e:{}}(t,(0,o.useContext)(c));return(0,o.useMemo)(()=>({initial:e,animate:r}),[f(e),f(r)])}(t),k=A(t,w);if(!w&&p.B){(0,o.useContext)(a.Y).strict;let t=function(t){let{drag:e,layout:r}=d.B;if(!e&&!r)return{};let n={...e,...r};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==r?void 0:r.isEnabled(t))?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(y);h=t.MeasureLayout,E.visualElement=function(t,e,r,n,i){var l,s;let{visualElement:f}=(0,o.useContext)(c),p=(0,o.useContext)(a.Y),d=(0,o.useContext)(m),h=(0,o.useContext)(u.Q).reducedMotion,y=(0,o.useRef)(null);n=n||p.renderer,!y.current&&n&&(y.current=n(t,{visualState:e,parent:f,props:r,presenceContext:d,blockInitialAnimation:!!d&&!1===d.initial,reducedMotionConfig:h}));let w=y.current,j=(0,o.useContext)(O);w&&!w.projection&&i&&("html"===w.type||"svg"===w.type)&&function(t,e,r,n){let{layoutId:o,layout:i,drag:a,dragConstraints:u,layoutScroll:c,layoutRoot:l}=e;t.projection=new r(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:!!a||u&&v(u),visualElement:t,animationType:"string"==typeof i?i:"both",initialPromotionConfig:n,layoutScroll:c,layoutRoot:l})}(y.current,r,i,j);let S=(0,o.useRef)(!1);(0,o.useInsertionEffect)(()=>{w&&S.current&&w.update(r,d)});let A=r[b.n],P=(0,o.useRef)(!!A&&!(null==(l=window.MotionHandoffIsComplete)?void 0:l.call(window,A))&&(null==(s=window.MotionHasOptimisedAnimation)?void 0:s.call(window,A)));return(0,g.E)(()=>{w&&(S.current=!0,window.MotionIsMounted=!0,w.updateFeatures(),x.render(w.render),P.current&&w.animationState&&w.animationState.animateChanges())}),(0,o.useEffect)(()=>{w&&(!P.current&&w.animationState&&w.animationState.animateChanges(),P.current&&(queueMicrotask(()=>{var t;null==(t=window.MotionHandoffMarkAsComplete)||t.call(window,A)}),P.current=!1))}),w}(P,k,y,j,t.ProjectionNode)}return(0,n.jsxs)(c.Provider,{value:E,children:[h&&E.visualElement?(0,n.jsx)(h,{visualElement:E.visualElement,...y}):null,S(P,t,(r=E.visualElement,(0,o.useCallback)(t=>{t&&k.onMount&&k.onMount(t),r&&(t?r.mount(t):r.unmount()),e&&("function"==typeof e?e(t):v(e)&&(e.current=t))},[r])),k,w,E.visualElement)]})}w&&(0,h.Y)(w),E.displayName="motion.".concat("string"==typeof P?P:"create(".concat(null!=(r=null!=(e=P.displayName)?e:P.name)?r:"",")"));let k=(0,o.forwardRef)(E);return k[y]=P,k}({...(0,j.Q)(t)?z:F,preloadedFeatures:void 0,useRender:function(t=!1){return(e,r,n,{latestValues:i},a)=>{let u=((0,j.Q)(e)?function(t,e,r,n){let i=(0,o.useMemo)(()=>{let r=I();return(0,C.B)(r,e,(0,N.n)(n),t.transformTemplate),{...r.attrs,style:{...r.style}}},[e]);if(t.style){let e={};H(e,t.style,t),i.style={...e,...i.style}}return i}:function(t,e){let r={},n=function(t,e){let r=t.style||{},n={};return H(n,r,t),Object.assign(n,function({transformTemplate:t},e){return(0,o.useMemo)(()=>{let r=D();return(0,W.O)(r,e,t),Object.assign({},r.vars,r.style)},[e])}(t,e)),n}(t,e);return t.drag&&!1!==t.dragListener&&(r.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=n,r})(r,i,a,e),c=(0,$.J)(r,"string"==typeof e,t),l=e!==o.Fragment?{...c,...u,ref:n}:{},{children:s}=r,f=(0,o.useMemo)(()=>(0,M.S)(s)?s.get():s,[s]);return(0,o.createElement)(e,{...l,children:f})}}(e),createVisualElement:void 0,Component:t})})},45167:(t,e,r)=>{"use strict";r.d(e,{u:()=>_});var n=r(12115),o=r(40139),i=r.n(o),a=r(48973),u=r.n(a),c=r(52596),l=r(15232),s=r(2348),f=r(79095),p=r(60379),d=r(16377),h=r(43597),y=r(70788),v=r(36447),m=["viewBox"],g=["viewBox"],b=["ticks"];function x(t){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function w(){return(w=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function O(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function j(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?O(Object(r),!0).forEach(function(e){M(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function S(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)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}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function A(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,T(n.key),n)}}function P(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(P=function(){return!!t})()}function E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function k(t,e){return(k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function M(t,e,r){return(e=T(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function T(t){var e=function(t,e){if("object"!=x(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=x(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==x(e)?e:e+""}var _=function(t){var e,r;function o(t){var e,r,n;if(!(this instanceof o))throw TypeError("Cannot call a class as a function");return r=o,n=[t],r=E(r),(e=function(t,e){if(e&&("object"===x(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,P()?Reflect.construct(r,n||[],E(this).constructor):r.apply(this,n))).state={fontSize:"",letterSpacing:""},e}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&k(o,t),e=[{key:"shouldComponentUpdate",value:function(t,e){var r=t.viewBox,n=S(t,m),o=this.props,i=o.viewBox,a=S(o,g);return!(0,l.b)(r,i)||!(0,l.b)(n,a)||!(0,l.b)(e,this.state)}},{key:"componentDidMount",value:function(){var t=this.layerReference;if(t){var e=t.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];e&&this.setState({fontSize:window.getComputedStyle(e).fontSize,letterSpacing:window.getComputedStyle(e).letterSpacing})}}},{key:"getTickLineCoord",value:function(t){var e,r,n,o,i,a,u=this.props,c=u.x,l=u.y,s=u.width,f=u.height,p=u.orientation,h=u.tickSize,y=u.mirror,v=u.tickMargin,m=y?-1:1,g=t.tickSize||h,b=(0,d.Et)(t.tickCoord)?t.tickCoord:t.coordinate;switch(p){case"top":e=r=t.coordinate,a=(n=(o=l+!y*f)-m*g)-m*v,i=b;break;case"left":n=o=t.coordinate,i=(e=(r=c+!y*s)-m*g)-m*v,a=b;break;case"right":n=o=t.coordinate,i=(e=(r=c+y*s)+m*g)+m*v,a=b;break;default:e=r=t.coordinate,a=(n=(o=l+y*f)+m*g)+m*v,i=b}return{line:{x1:e,y1:n,x2:r,y2:o},tick:{x:i,y:a}}}},{key:"getTickTextAnchor",value:function(){var t,e=this.props,r=e.orientation,n=e.mirror;switch(r){case"left":t=n?"start":"end";break;case"right":t=n?"end":"start";break;default:t="middle"}return t}},{key:"getTickVerticalAnchor",value:function(){var t=this.props,e=t.orientation,r=t.mirror,n="end";switch(e){case"left":case"right":n="middle";break;case"top":n=r?"start":"end";break;default:n=r?"end":"start"}return n}},{key:"renderAxisLine",value:function(){var t=this.props,e=t.x,r=t.y,o=t.width,i=t.height,a=t.orientation,l=t.mirror,s=t.axisLine,f=j(j(j({},(0,y.J9)(this.props,!1)),(0,y.J9)(s,!1)),{},{fill:"none"});if("top"===a||"bottom"===a){var p=+("top"===a&&!l||"bottom"===a&&l);f=j(j({},f),{},{x1:e,y1:r+p*i,x2:e+o,y2:r+p*i})}else{var d=+("left"===a&&!l||"right"===a&&l);f=j(j({},f),{},{x1:e+d*o,y1:r,x2:e+d*o,y2:r+i})}return n.createElement("line",w({}
1,f,{className:(0,c.A)("recharts-cartesian-axis-line",u()(s,"className"))}))}},{key:"renderTicks",value:function(t,e,r){var a=this,l=this.props,f=l.tickLine,p=l.stroke,d=l.tick,m=l.tickFormatter,g=l.unit,b=(0,v.f)(j(j({},this.props),{},{ticks:t}),e,r),x=this.getTickTextAnchor(),O=this.getTickVerticalAnchor(),S=(0,y.J9)(this.props,!1),A=(0,y.J9)(d,!1),P=j(j({},S),{},{fill:"none"},(0,y.J9)(f,!1)),E=b.map(function(t,e){var r=a.getTickLineCoord(t),l=r.line,y=r.tick,v=j(j(j(j({textAnchor:x,verticalAnchor:O},S),{},{stroke:"none",fill:p},A),y),{},{index:e,payload:t,visibleTicksCount:b.length,tickFormatter:m});return n.createElement(s.W,w({className:"recharts-cartesian-axis-tick",key:"tick-".concat(t.value,"-").concat(t.coordinate,"-").concat(t.tickCoord)},(0,h.XC)(a.props,t,e)),f&&n.createElement("line",w({},P,l,{className:(0,c.A)("recharts-cartesian-axis-tick-line",u()(f,"className"))})),d&&o.renderTickItem(d,v,"".concat(i()(m)?m(t.value,e):t.value).concat(g||"")))});return n.createElement("g",{className:"recharts-cartesian-axis-ticks"},E)}},{key:"render",value:function(){var t=this,e=this.props,r=e.axisLine,o=e.width,a=e.height,u=e.ticksGenerator,l=e.className;if(e.hide)return null;var f=this.props,d=f.ticks,h=S(f,b),y=d;return(i()(u)&&(y=u(d&&d.length>0?this.props:h)),o<=0||a<=0||!y||!y.length)?null:n.createElement(s.W,{className:(0,c.A)("recharts-cartesian-axis",l),ref:function(e){t.layerReference=e}},r&&this.renderAxisLine(),this.renderTicks(y,this.state.fontSize,this.state.letterSpacing),p.J.renderCallByParent(this.props))}}],r=[{key:"renderTickItem",value:function(t,e,r){var o=(0,c.A)(e.className,"recharts-cartesian-axis-tick-value");return n.isValidElement(t)?n.cloneElement(t,j(j({},e),{},{className:o})):i()(t)?t(j(j({},e),{},{className:o})):n.createElement(f.E,w({},e,{className:"recharts-cartesian-axis-tick-value"}),r)}}],e&&A(o.prototype,e),r&&A(o,r),Object.defineProperty(o,"prototype",{writable:!1}),o}(n.Component);M(_,"displayName","CartesianAxis"),M(_,"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"})},45170:(t,e,r)=>{var n=r(54360);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},45964:(t,e,r)=>{var n=r(67460),o=r(76685),i=r(36815),a=Math.max,u=Math.min;t.exports=function(t,e,r){var c,l,s,f,p,d,h=0,y=!1,v=!1,m=!0;if("function"!=typeof t)throw TypeError("Expected a function");function g(e){var r=c,n=l;return c=l=void 0,h=e,f=t.apply(n,r)}function b(t){var r=t-d,n=t-h;return void 0===d||r>=e||r<0||v&&n>=s}function x(){var t,r,n,i=o();if(b(i))return w(i);p=setTimeout(x,(t=i-d,r=i-h,n=e-t,v?u(n,s-r):n))}function w(t){return(p=void 0,m&&c)?g(t):(c=l=void 0,f)}function O(){var t,r=o(),n=b(r);if(c=arguments,l=this,d=r,n){if(void 0===p)return h=t=d,p=setTimeout(x,e),y?g(t):f;if(v)return clearTimeout(p),p=setTimeout(x,e),g(d)}return void 0===p&&(p=setTimeout(x,e)),f}return e=i(e)||0,n(r)&&(y=!!r.leading,s=(v="maxWait"in r)?a(i(r.maxWait)||0,e):s,m="trailing"in r?!!r.trailing:m),O.cancel=function(){void 0!==p&&clearTimeout(p),h=0,c=d=l=p=void 0},O.flush=function(){return void 0===p?f:w(o())},O}},46605:(t,e,r)=>{"use strict";r.d(e,{A3:()=>f,Pu:()=>s});var n=r(41643);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function a(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach(function(e){var n,i,a;n=t,i=e,a=r[e],(i=function(t){var e=function(t,e){if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=o(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==o(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var u={widthCache:{},cacheCount:0},c={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},l="recharts_measurement_span",s=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==t||n.m.isSsr)return{width:0,height:0};var o=(Object.keys(e=a({},r)).forEach(function(t){e[t]||delete e[t]}),e),i=JSON.stringify({text:t,copyStyle:o});if(u.widthCache[i])return u.widthCache[i];try{var s=document.getElementById(l);s||((s=document.createElement("span")).setAttribute("id",l),s.setAttribute("aria-hidden","true"),document.body.appendChild(s));var f=a(a({},c),o);Object.assign(s.style,f),s.textContent="".concat(t);var p=s.getBoundingClientRect(),d={width:p.width,height:p.height};return u.widthCache[i]=d,++u.cacheCount>2e3&&(u.cacheCount=0,u.widthCache={}),d}catch(t){return{width:0,height:0}}},f=function(t){return{top:t.top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft}}},47995:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},48611:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},48628:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(!e(t[r],r,t))return!1;return!0}},48659:(t,e,r)=>{var n=r(37929);t.exports=function(t,e,r){var o=t.length;return r=void 0===r?o:r,!e&&r>=o?t:n(t,e,r)}},48973:(t,e,r)=>{var n=r(34711);t.exports=function(t,e,r){var o=null==t?void 0:n(t,e);return void 0===o?r:o}},49840:(t,e,r)=>{t=r.nmd(t);var n=r(7985),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o&&n.process,u=function(){try{var t=i&&i.require&&i.require("util").types;if(t)return t;return a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=u},49872:(t,e,r)=>{var n=r(22471);t.exports=function(t,e){return function(r,o){if(null==r)return r;if(!n(r))return t(r,o);for(var i=r.length,a=e?i:-1,u=Object(r);(e?a--:++a<i)&&!1!==o(u[a],a,u););return r}}},50091:(t,e,r)=>{"use strict";r.d(e,{DR:()=>b,pj:()=>O,rY:()=>k,yi:()=>E,Yp:()=>x,hj:()=>P,sk:()=>A,AF:()=>w,Nk:()=>S,$G:()=>j});var n=r(12115),o=r(93179),i=r(97124),a=r.n(i),u=r(29794),c=r.n(u),l=r(91113),s=r.n(l)()(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}),f=r(16377),p=(0,n.createContext)(void 0),d=(0,n.createContext)(void 0),h=(0,n.createContext)(void 0),y=(0,n.createContext)({}),v=(0,n.createContext)(void 0),m=(0,n.createContext)(0),g=(0,n.createContext)(0),b=function(t){var e=t.state,r=e.xAxisMap,o=e.yAxisMap,i=e.offset,a=t.clipPathId,u=t.children,c=t.width,l=t.height,f=s(i);return n.createElement(p.Provider,{value:r},n.createElement(d.Provider,{value:o},n.createElement(y.Provider,{value:i},n.createElement(h.Provider,{value:f},n.createElement(v.Provider,{value:a},n.createElement(m.Provider,{value:l},n.createElement(g.Provider,{value:c},u)))))))},x=function(){return(0,n.useContext)(v)},w=function(t){var e=(0,n.useContext)(p);null==e&&(0,o.A)(!1);var r=e[t];return null==r&&(0,o.A)(!1),r},O=function(){var t=(0,n.useContext)(p);return(0,f.lX)(t)},j=function(){var t=(0,n.useContext)(d);return a()(t,function(t){return c()(t.domain,Number.isFinite)})||(0,f.lX)(t)},S=function(t){var e=(0,n.useContext)(d);null==e&&(0,o.A)(!1);var r=e[t];return null==r&&(0,o.A)(!1),r},A=function(){return(0,n.useContext)(h)},P=function(){return(0,n.useContext)(y)},E=function(){return(0,n.useContext)(g)},k=function(){return(0,n.useContext)(m)}},50111:(t,e,r)=>{var n=r(73800),o=r(9813),i=r(39608),a=r(99544),u=r(15631),c=r(94356);t.exports=function(t,e,r){e=n(e,t);for(var l=-1,s=e.length,f=!1;++l<s;){var p=c(e[l]);if(!(f=null!=t&&r(t,p)))break;t=t[p]}return f||++l!=s?f:!!(s=null==t?0:t.length)&&u(s)&&a(p,s)&&(i(t)||o(t))}},50523:(t,e,r)=>{var n=r(24376),o=r(76957),i=r(58817),a=r(38406),u=r(90724),c=r(74166),l=n?n.prototype:void 0,s=l?l.valueOf:void 0;t.exports=function(t,e,r,n,l,f,p){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)break;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":if(t.byteLength!=e.byteLength||!f(new o(t),new o(e)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var d=u;case"[object Set]":var h=1&n;if(d||(d=c),t.size!=e.size&&!h)break;var y=p.get(t);if(y)return y==e;n|=2,p.set(t,e);var v=a(d(t),d(e),n,l,f,p);return p.delete(t),v;case"[object Symbol]":if(s)return s.call(t)==s.call(e)}return!1}},50664:t=>{t.exports=function(t,e){var r=t.length;for(t.sort(e);
1r--;)t[r]=t[r].value;return t}},50687:t=>{t.exports=function(t){return function(){return t}}},50851:t=>{t.exports=function(t){return t.split("")}},51172:(t,e,r)=>{"use strict";r.d(e,{c:()=>c});var n=r(12115),o=r(52596),i=r(43597),a=r(70788);function u(){return(u=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}).apply(this,arguments)}var c=function(t){var e=t.cx,r=t.cy,c=t.r,l=t.className,s=(0,o.A)("recharts-dot",l);return e===+e&&r===+r&&c===+c?n.createElement("circle",u({},(0,a.J9)(t,!1),(0,i._U)(t),{className:s,cx:e,cy:r,r:c})):null}},51445:(t,e,r)=>{var n=r(53516);t.exports=function(t,e){var r;return n(t,function(t,n,o){return!(r=e(t,n,o))}),!!r}},51911:(t,e,r)=>{var n=r(69229),o=r(48611);t.exports=function t(e,r,i,a,u){return e===r||(null!=e&&null!=r&&(o(e)||o(r))?n(e,r,i,a,t,u):e!=e&&r!=r)}},52521:t=>{t.exports=function(t,e){return t<e}},53516:(t,e,r)=>{var n=r(20480);t.exports=r(49872)(n)},53696:(t,e,r)=>{var n=r(75899),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},53707:(t,e,r)=>{"use strict";r.d(e,{P2:()=>te,pr:()=>J,bx:()=>tr,vh:()=>Q,sl:()=>Z});var n=r(74925),o=r.n(n),i=r(29794),a=r.n(i),u=r(12814),c=r(70788),l=r(16377),s=r(12115),f=r(52596),p=r(64339),d=r(60245),h=r.n(d),y=r(59882),v=r.n(y),m=r(2348),g=r(94011),b=function(t){return null};b.displayName="Cell";var x=r(36079),w=r(41643),O=r(43597),j=r(93179),S=r(67790),A=["x","y"];function P(t){return(P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function E(){return(E=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}).apply(this,arguments)}function k(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function M(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?k(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=P(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=P(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==P(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):k(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function T(t,e){var r=t.x,n=t.y,o=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)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}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,A),i=parseInt("".concat(r),10),a=parseInt("".concat(n),10),u=parseInt("".concat(e.height||o.height),10),c=parseInt("".concat(e.width||o.width),10);return M(M(M(M(M({},e),o),i?{x:i}:{}),a?{y:a}:{}),{},{height:u,width:c,name:e.name,radius:e.radius})}function _(t){return s.createElement(S.yp,E({shapeType:"rectangle",propTransformer:T,activeClassName:"recharts-active-bar"},t))}var C=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(r,n){if("number"==typeof t)return t;var o=(0,l.Et)(r)||(0,l.uy)(r);return o?t(r,n):(o||(0,j.A)(!1),e)}},D=["value","background"];function I(t){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function N(){return(N=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function R(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function B(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?R(Object(r),!0).forEach(function(e){W(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):R(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}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,H(n.key),n)}}function z(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(z=function(){return!!t})()}function F(t){return(F=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function U(t,e){return(U=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function W(t,e,r){return(e=H(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function H(t){var e=function(t,e){if("object"!=I(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=I(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==I(e)?e:e+""}var $=function(t){var e,r;function n(){var t,e,r;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=n,r=[].concat(i),e=F(e),W(t=function(t,e){if(e&&("object"===I(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,z()?Reflect.construct(e,r||[],F(this).constructor):e.apply(this,r)),"state",{isAnimationFinished:!1}),W(t,"id",(0,l.NF)("recharts-bar-")),W(t,"handleAnimationEnd",function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),e&&e()}),W(t,"handleAnimationStart",function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),e&&e()}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&U(n,t),e=[{key:"renderRectanglesStatically",value:function(t){var e=this,r=this.props,n=r.shape,o=r.dataKey,i=r.activeIndex,a=r.activeBar,u=(0,c.J9)(this.props,!1);return t&&t.map(function(t,r){var c=r===i,l=B(B(B({},u),t),{},{isActive:c,option:c?a:n,index:r,dataKey:o,onAnimationStart:e.handleAnimationStart,onAnimationEnd:e.handleAnimationEnd});return s.createElement(m.W,N({className:"recharts-bar-rectangle"},(0,O.XC)(e.props,t,r),{key:"rectangle-".concat(null==t?void 0:t.x,"-").concat(null==t?void 0:t.y,"-").concat(null==t?void 0:t.value,"-").concat(r)}),s.createElement(_,l))})}},{key:"renderRectanglesWithAnimation",value:function(){var t=this,e=this.props,r=e.data,n=e.layout,o=e.isAnimationActive,i=e.animationBegin,a=e.animationDuration,u=e.animationEasing,c=e.animationId,f=this.state.prevData;return s.createElement(p.Ay,{begin:i,duration:a,isActive:o,easing:u,from:{t:0},to:{t:1},key:"bar-".concat(c),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(e){var o=e.t,i=r.map(function(t,e){var r=f&&f[e];if(r){var i=(0,l.Dj)(r.x,t.x),a=(0,l.Dj)(r.y,t.y),u=(0,l.Dj)(r.width,t.width),c=(0,l.Dj)(r.height,t.height);return B(B({},t),{},{x:i(o),y:a(o),width:u(o),height:c(o)})}if("horizontal"===n){var s=(0,l.Dj)(0,t.height)(o);return B(B({},t),{},{y:t.y+t.height-s,height:s})}var p=(0,l.Dj)(0,t.width)(o);return B(B({},t),{},{width:p})});return s.createElement(m.W,null,t.renderRectanglesStatically(i))})}},{key:"renderRectangles",value:function(){var t=this.props,e=t.data,r=t.isAnimationActive,n=this.state.prevData;return r&&e&&e.length&&(!n||!h()(n,e))?this.renderRectanglesWithAnimation():this.renderRectanglesStatically(e)}}
1,{key:"renderBackground",value:function(){var t=this,e=this.props,r=e.data,n=e.dataKey,o=e.activeIndex,i=(0,c.J9)(this.props.background,!1);return r.map(function(e,r){e.value;var a=e.background,u=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)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}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(e,D);if(!a)return null;var c=B(B(B(B(B({},u),{},{fill:"#eee"},a),i),(0,O.XC)(t.props,e,r)),{},{onAnimationStart:t.handleAnimationStart,onAnimationEnd:t.handleAnimationEnd,dataKey:n,index:r,className:"recharts-bar-background-rectangle"});return s.createElement(_,N({key:"background-bar-".concat(r),option:t.props.background,isActive:r===o},c))})}},{key:"renderErrorBar",value:function(t,e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,n=r.data,o=r.xAxis,i=r.yAxis,a=r.layout,l=r.children,f=(0,c.aS)(l,g.u);if(!f)return null;var p="vertical"===a?n[0].height/2:n[0].width/2,d=function(t,e){var r=Array.isArray(t.value)?t.value[1]:t.value;return{x:t.x,y:t.y,value:r,errorVal:(0,u.kr)(t,e)}};return s.createElement(m.W,{clipPath:t?"url(#clipPath-".concat(e,")"):null},f.map(function(t){return s.cloneElement(t,{key:"error-bar-".concat(e,"-").concat(t.props.dataKey),data:n,xAxis:o,yAxis:i,layout:a,offset:p,dataPointFormatter:d})}))}},{key:"render",value:function(){var t=this.props,e=t.hide,r=t.data,n=t.className,o=t.xAxis,i=t.yAxis,a=t.left,u=t.top,c=t.width,l=t.height,p=t.isAnimationActive,d=t.background,h=t.id;if(e||!r||!r.length)return null;var y=this.state.isAnimationFinished,g=(0,f.A)("recharts-bar",n),b=o&&o.allowDataOverflow,w=i&&i.allowDataOverflow,O=b||w,j=v()(h)?this.id:h;return s.createElement(m.W,{className:g},b||w?s.createElement("defs",null,s.createElement("clipPath",{id:"clipPath-".concat(j)},s.createElement("rect",{x:b?a:a-c/2,y:w?u:u-l/2,width:b?c:2*c,height:w?l:2*l}))):null,s.createElement(m.W,{className:"recharts-bar-rectangles",clipPath:O?"url(#clipPath-".concat(j,")"):null},d?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(O,j),(!p||y)&&x.Z.renderCallByParent(this.props,r))}}],r=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curData:t.data,prevData:e.curData}:t.data!==e.curData?{curData:t.data}:null}}],e&&L(n.prototype,e),r&&L(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(s.PureComponent);function V(t){return(V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function X(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,Y(n.key),n)}}function G(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function q(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?G(Object(r),!0).forEach(function(e){K(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):G(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function K(t,e,r){return(e=Y(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Y(t){var e=function(t,e){if("object"!=V(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=V(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==V(e)?e:e+""}W($,"displayName","Bar"),W($,"defaultProps",{xAxisId:0,yAxisId:0,legendT
1ype:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!w.m.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"}),W($,"getComposedData",function(t){var e=t.props,r=t.item,n=t.barPosition,o=t.bandSize,i=t.xAxis,a=t.yAxis,s=t.xAxisTicks,f=t.yAxisTicks,p=t.stackedData,d=t.dataStartIndex,h=t.displayedData,y=t.offset,v=(0,u.xi)(n,r);if(!v)return null;var m=e.layout,g=r.type.defaultProps,x=void 0!==g?B(B({},g),r.props):r.props,w=x.dataKey,O=x.children,j=x.minPointSize,S="horizontal"===m?a:i,A=p?S.scale.domain():null,P=(0,u.DW)({numericAxis:S}),E=(0,c.aS)(O,b),k=h.map(function(t,e){p?c=(0,u._f)(p[d+e],A):Array.isArray(c=(0,u.kr)(t,w))||(c=[P,c]);var n=C(j,$.defaultProps.minPointSize)(c[1],e);if("horizontal"===m){var c,h,y,g,b,x,O,S=[a.scale(c[0]),a.scale(c[1])],k=S[0],M=S[1];h=(0,u.y2)({axis:i,ticks:s,bandSize:o,offset:v.offset,entry:t,index:e}),y=null!=(O=null!=M?M:k)?O:void 0,g=v.size;var T=k-M;if(b=Number.isNaN(T)?0:T,x={x:h,y:a.y,width:g,height:a.height},Math.abs(n)>0&&Math.abs(b)<Math.abs(n)){var _=(0,l.sA)(b||n)*(Math.abs(n)-Math.abs(b));y-=_,b+=_}}else{var D=[i.scale(c[0]),i.scale(c[1])],I=D[0],N=D[1];if(h=I,y=(0,u.y2)({axis:a,ticks:f,bandSize:o,offset:v.offset,entry:t,index:e}),g=N-I,b=v.size,x={x:i.x,y:y,width:i.width,height:b},Math.abs(n)>0&&Math.abs(g)<Math.abs(n)){var R=(0,l.sA)(g||n)*(Math.abs(n)-Math.abs(g));g+=R}}return B(B(B({},t),{},{x:h,y:y,width:g,height:b,value:p?c:c[1],payload:t,background:x},E&&E[e]&&E[e].props),{},{tooltipPayload:[(0,u.zb)(r,t)],tooltipPosition:{x:h+g/2,y:y+b/2}})});return B({data:k,layout:m},y)});var J=function(t,e,r,n,o){var i=t.width,a=t.height,s=t.layout,f=t.children,p=Object.keys(e),d={left:r.left,leftMirror:r.left,right:i-r.right,rightMirror:i-r.right,top:r.top,topMirror:r.top,bottom:a-r.bottom,bottomMirror:a-r.bottom},h=!!(0,c.BU)(f,$);return p.reduce(function(i,a){var c,f,p,y,v,m=e[a],g=m.orientation,b=m.domain,x=m.padding,w=void 0===x?{}:x,O=m.mirror,j=m.reversed,S="".concat(g).concat(O?"Mirror":"");if("number"===m.type&&("gap"===m.padding||"no-gap"===m.padding)){var A=b[1]-b[0],P=1/0,E=m.categoricalDomain.sort(l.ck);if(E.forEach(function(t,e){e>0&&(P=Math.min((t||0)-(E[e-1]||0),P))}),Number.isFinite(P)){var k=P/A,M="vertical"===m.layout?r.height:r.width;if("gap"===m.padding&&(c=k*M/2),"no-gap"===m.padding){var T=(0,l.F4)(t.barCategoryGap,k*M),_=k*M/2;c=_-T-(_-T)/M*T}}}f="xAxis"===n?[r.left+(w.left||0)+(c||0),r.left+r.width-(w.right||0)-(c||0)]:"yAxis"===n?"horizontal"===s?[r.top+r.height-(w.bottom||0),r.top+(w.top||0)]:[r.top+(w.top||0)+(c||0),r.top+r.height-(w.bottom||0)-(c||0)]:m.range,j&&(f=[f[1],f[0]]);var C=(0,u.W7)(m,o,h),D=C.scale,I=C.realScaleType;D.domain(b).range(f),(0,u.YB)(D);var N=(0,u.w7)(D,q(q({},m),{},{realScaleType:I}));"xAxis"===n?(v="top"===g&&!O||"bottom"===g&&O,p=r.left,y=d[S]-v*m.height):"yAxis"===n&&(v="left"===g&&!O||"right"===g&&O,p=d[S]-v*m.width,y=r.top);var R=q(q(q({},m),N),{},{realScaleType:I,x:p,y:y,scale:D,width:"xAxis"===n?r.width:m.width,height:"yAxis"===n?r.height:m.height});return R.bandSize=(0,u.Hj)(R,N),m.hide||"xAxis"!==n?m.hide||(d[S]+=(v?-1:1)*R.width):d[S]+=(v?-1:1)*R.height,q(q({},i),{},K({},a,R))},{})},Z=function(t,e){var r=t.x,n=t.y,o=e.x,i=e.y;return{x:Math.min(r,o),y:Math.min(n,i),width:Math.abs(o-r),height:Math.abs(i-n)}},Q=function(t){return Z({x:t.x1,y:t.y1},{x:t.x2,y:t.y2})},tt=function(){var t,e;function r(t){if(!(this instanceof r))throw TypeError("Cannot call a class as a function");this.scale=t}return 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(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.bandAware,n=e.position;if(void 0!==t){if(n)switch(n){case"start":default:return this.scale(t);case"middle":var o=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+o;case"end":var i=this.bandwidth?this.bandwidth():0;return this.scale(t)+i}if(r){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+a}return this.scale(t)}}},{key:"isInRange",value:function(t){var e=this.range(),r=e[0],n=e[e.length-1];return r<=n?t>=r&&t<=n:t>=n&&t<=r}}],e=[{key:"create",value:function(t){return new r(t)}}],t&&X(r.prototype,t),e&&X(r,e),Object.defineProperty(r,"prototype",{writable:!1}),r}();K(tt,"EPS",1e-4);var te=function(t){var e=Object.keys(t).reduce(function(e,r){return q(q({},e),{},K({},r,tt.create(t[r])))},{});return q(q({},e),{},{apply:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bandAware,i=r.position;return o()(t,function(t,r){return e[r].apply(t,{bandAware:n,position:i})})},isInRange:function(t){return a()(t,function(t,r){return e[r].isInRange(t)}
1)}})},tr=function(t){var e=t.width,r=t.height,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=(n%180+180)%180*Math.PI/180,i=Math.atan(r/e);return Math.abs(o>i&&o<Math.PI-i?r/Math.sin(o):e/Math.cos(o))}},54360:(t,e,r)=>{var n=r(58817);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return -1}},54906:(t,e,r)=>{var n=r(83711);t.exports=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}()},55794:(t,e,r)=>{var n=r(57213),o=r(34711),i=r(18028),a=r(6305),u=r(50664),c=r(33332),l=r(9699),s=r(13465),f=r(39608);t.exports=function(t,e,r){e=e.length?n(e,function(t){return f(t)?function(e){return o(e,1===t.length?t[0]:t)}:t}):[s];var p=-1;return e=n(e,c(i)),u(a(t,function(t,r,o){return{criteria:n(e,function(e){return e(t)}),index:++p,value:t}}),function(t,e){return l(t,e,r)})}},55910:(t,e,r)=>{var n=r(4854),o=r(27569),i=r(92972);t.exports=function(t){var e=o(t);return 1==e.length&&e[0][2]?i(e[0][0],e[0][1]):function(r){return r===t||n(r,t,e)}}},56290:(t,e)=>{"use strict";var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),c=Symbol.for("react.context"),l=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy");Symbol.for("react.offscreen");Symbol.for("react.module.reference"),e.isFragment=function(t){return function(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case r:switch(t=t.type){case o:case a:case i:case f:case p:return t;default:switch(t=t&&t.$$typeof){case l:case c:case s:case h:case d:case u:return t;default:return e}}case n:return e}}}(t)===o}},56917:(t,e,r)=>{var n=r(98233),o=r(48611);t.exports=function(t){return!0===t||!1===t||o(t)&&"[object Boolean]"==n(t)}},57213:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}},58096:t=>{t.exports=function(t){return this.__data__.has(t)}},58817:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},58918:(t,e,r)=>{var n=r(70771);t.exports=function(t,e,r){for(var o=-1,i=t.length;++o<i;){var a=t[o],u=e(a);if(null!=u&&(void 0===c?u==u&&!n(u):r(u,c)))var c=u,l=a}return l}},59882:t=>{t.exports=function(t){return null==t}},60245:(t,e,r)=>{var n=r(51911);t.exports=function(t,e){return n(t,e)}},60379:(t,e,r)=>{"use strict";r.d(e,{J:()=>A});var n=r(12115),o=r(59882),i=r.n(o),a=r(40139),u=r.n(a),c=r(67460),l=r.n(c),s=r(52596),f=r(79095),p=r(70788),d=r(16377),h=r(25641);function y(t){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var v=["offset"];function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function g(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function b(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?g(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=y(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=y(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==y(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function x(){return(x=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var w=function(t){var e=t.value,r=t.formatter,n=i()(t.children)?e:t.children;return u()(r)?r(n):n},O=function(t,e,r){var o,a,u=t.position,c=t.viewBox,l=t.offset,f=t.className,p=c.cx,y=c.cy,v=c.innerRadius,m=c.outerRadius,g=c.startAngle,b=c.endAngle,w=c.clockWise,O=(v+m)/2,j=(0,d.sA)(b-g)*Math.min(Math.abs(b-g),360),S=j>=0?1:-1;"insideStart"===u?(o=g+S*l,a=w):"insideEnd"===u?(o=b-S*l,a=!w):"end"===u&&(o=b+S*l,a=w),a=j<=0?a:!a;var A=(0,h.IZ)(p,y,O,o),P=(0,h.IZ)(p,y,O,o+(a?1:-1)*359),E="M".concat(A.x,",").concat(A.y,"\n    A").concat(O,",").concat(O,",0,1,").concat(+!a,",\n    ").concat(P.x,",").concat(P.y),k=i()(t.id)?(0,d.NF)("recharts-radial-line-"):t.id;return n.createElement("text",x({},r,{dominantBaseline:"central",className:(0,s.A)("recharts-radial-bar-label",f)}),n.createElement("defs",null,n.createElement("path",{id:k,d:E})),n.createElement("textPath",{xlinkHref:"#".concat(k)},e))},j=function(t){var e=t.viewBox,r=t.offset,n=t.position,o=e.cx,i=e.cy,a=e.innerRadius,u=e.outerRadius,c=(e.startAngle+e.endAngle)/2;if("outside"===n){var l=(0,h.IZ)(o,i,u+r,c),s=l.x;return{x:s,y:l.y,textAnchor:s>=o?"start":"end",verticalAnchor:"middle"}}if("center"===n)return{x:o,y:i,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===n)return{x:o,y:i,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===n)return{x:o,y:i,textAnchor:"middle",verticalAnchor:"end"};var f=(0,h.IZ)(o,i,(a+u)/2,c);return{x:f.x,y:f.y,textAnchor:"middle",verticalAnchor:"middle"}},S=function(t){var e=t.viewBox,r=t.parentViewBox,n=t.offset,o=t.position,i=e.x,a=e.y,u=e.width,c=e.height,s=c>=0?1:-1,f=s*n,p=s>0?"end":"start",h=s>0?"start":"end",y=u>=0?1:-1,v=y*n,m=y>0?"end":"start",g=y>0?"start":"end";if("top"===o)return b(b({},{x:i+u/2,y:a-s*n,textAnchor:"middle",verticalAnchor:p}),r?{height:Math.max(a-r.y,0),width:u}:{});if("bottom"===o)return b(b({},{x:i+u/2,y:a+c+f,textAnchor:"middle",verticalAnchor:h}),r?{height:Math.max(r.y+r.height-(a+c),0),width:u}:{});if("left"===o){var x={x:i-v,y:a+c/2,textAnchor:m,verticalAnchor:"middle"};return b(b({},x),r?{width:Math.max(x.x-r.x,0),height:c}:{})}if("right"===o){var w={x:i+u+v,y:a+c/2,textAnchor:g,verticalAnchor:"middle"};return b(b({},w),r?{width:Math.max(r.x+r.width-w.x,0),height:c}:{})}var O=r?{width:u,height:c}:{};return"insideLeft"===o?b({x:i+v,y:a+c/2,textAnchor:g,verticalAnchor:"middle"},O):"insideRight"===o?b({x:i+u-v,y:a+c/2,textAnchor:m,verticalAnchor:"middle"},O):"insideTop"===o?b({x:i+u/2,y:a+f,textAnchor:"middle",verticalAnchor:h},O):"insideBottom"===o?b({x:i+u/2,y:a+c-f,textAnchor:"middle",verticalAnchor:p},O):"insideTopLeft"===o?b({x:i+v,y:a+f,textAnchor:g,verticalAnchor:h},O):"insideTopRight"===o?b({x:i+u-v,y:a+f,textAnchor:m,verticalAnchor:h},O):"insideBottomLeft"===o?b({x:i+v,y:a+c-f,textAnchor:g,verticalAnchor:p},O):"insideBottomRight"===o?b({x:i+u-v,y:a+c-f,textAnchor:m,verticalAnchor:p},O):l()(o)&&((0,d.Et)(o.x)||(0,d._3)(o.x))&&((0,d.Et)(o.y)||(0,d._3)(o.y))?b({x:i+(0,d.F4)(o.x,u),y:a+(0,d.F4)(o.y,c
1),textAnchor:"end",verticalAnchor:"end"},O):b({x:i+u/2,y:a+c/2,textAnchor:"middle",verticalAnchor:"middle"},O)};function A(t){var e,r=t.offset,o=b({offset:void 0===r?5:r},function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)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}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,v)),a=o.viewBox,c=o.position,l=o.value,h=o.children,y=o.content,m=o.className,g=o.textBreakAll;if(!a||i()(l)&&i()(h)&&!(0,n.isValidElement)(y)&&!u()(y))return null;if((0,n.isValidElement)(y))return(0,n.cloneElement)(y,o);if(u()(y)){if(e=(0,n.createElement)(y,o),(0,n.isValidElement)(e))return e}else e=w(o);var A="cx"in a&&(0,d.Et)(a.cx),P=(0,p.J9)(o,!0);if(A&&("insideStart"===c||"insideEnd"===c||"end"===c))return O(o,e,P);var E=A?j(o):S(o);return n.createElement(f.E,x({className:(0,s.A)("recharts-label",void 0===m?"":m)},P,E,{breakAll:g}),e)}A.displayName="Label";var P=function(t){var e=t.cx,r=t.cy,n=t.angle,o=t.startAngle,i=t.endAngle,a=t.r,u=t.radius,c=t.innerRadius,l=t.outerRadius,s=t.x,f=t.y,p=t.top,h=t.left,y=t.width,v=t.height,m=t.clockWise,g=t.labelViewBox;if(g)return g;if((0,d.Et)(y)&&(0,d.Et)(v)){if((0,d.Et)(s)&&(0,d.Et)(f))return{x:s,y:f,width:y,height:v};if((0,d.Et)(p)&&(0,d.Et)(h))return{x:p,y:h,width:y,height:v}}return(0,d.Et)(s)&&(0,d.Et)(f)?{x:s,y:f,width:0,height:0}:(0,d.Et)(e)&&(0,d.Et)(r)?{cx:e,cy:r,startAngle:o||n||0,endAngle:i||n||0,innerRadius:c||0,outerRadius:l||u||a||0,clockWise:m}:t.viewBox?t.viewBox:{}};A.parseViewBox=P,A.renderCallByParent=function(t,e){var r,o,i=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!t||!t.children&&i&&!t.label)return null;var a=t.children,c=P(t),s=(0,p.aS)(a,A).map(function(t,r){return(0,n.cloneElement)(t,{viewBox:e||c,key:"label-".concat(r)})});if(!i)return s;return[(r=t.label,o=e||c,!r?null:!0===r?n.createElement(A,{key:"label-implicit",viewBox:o}):(0,d.vh)(r)?n.createElement(A,{key:"label-implicit",viewBox:o,value:r}):(0,n.isValidElement)(r)?r.type===A?(0,n.cloneElement)(r,{key:"label-implicit",viewBox:o}):n.createElement(A,{key:"label-implicit",content:r,viewBox:o}):u()(r)?n.createElement(A,{key:"label-implicit",content:r,viewBox:o}):l()(r)?n.createElement(A,x({viewBox:o},r,{key:"label-implicit"})):null)].concat(function(t){if(Array.isArray(t))return m(t)}(s)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(s)||function(t,e){if(t){if("string"==typeof t)return m(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return m(t,e)}}(s)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}},61632:(t,e,r)=>{var n=r(16571);t.exports=r(36730)(n)},61830:(t,e,r)=>{var n=r(54360);t.exports=function(t){return n(this.__data__,t)>-1}},62341:(t,e,r)=>{"use strict";r.d(e,{G:()=>B});var n=r(12115),o=r(52596),i=r(64339),a=r(40139),u=r.n(a),c=r(22315),l=r.n(c),s=r(59882),f=r.n(s),p=r(13908),d=r.n(p),h=r(60245),y=r.n(h),v=r(70688),m=r(51172),g=r(2348),b=r(36079),x=r(41643),w=r(16377),O=r(12814),j=r(70788),S=["layout","type","stroke","connectNulls","isRange","ref"],A=["key"];function P(t){return(P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function E(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)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}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function k(){return(k=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function M(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function T(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?M(Object(r),!0).forEach(function(e){N(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function _(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,R(n.key),n)}}function C(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(C=function(){return!!t})()}function D(t){return(D=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function I(t,e){return(I=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function N(t,e,r){return(e=R(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function R(t){var e=function(t,e){if("object"!=P(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=P(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==P(e)?e:e+""}var B=function(t){var e,r;function a(){var t,e,r;if(!(this instanceof a))throw TypeError("Cannot call a class as a function");for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return e=a,r=[].concat(o),e=D(e),N(t=function(t,e){if(e&&("object"===P(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,C()?Reflect.construct(e,r||[],D(this).constructor):e.apply(this,r)),"state",{isAnimationFinished:!0}),N(t,"id",(0,w.NF)("recharts-area-")),N(t,"handleAnimationEnd",function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),u()(e)&&e()}),N(t,"handleAnimationStart",function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),u()(e)&&e()}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return a.prototype=Object.create(t&&t.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),Object.defineProperty(a,"prototype",{writable:!1}),t&&I(a,t),e=[{key:"renderDots",value:function(t,e,r){var o=this.props.isAnimationActive,i=this.state.isAnimationFinished;if(o&&!i)return null;var u=this.props,c=u.dot,l=u.points,s=u.dataKey,f=(0,j.J9)(this.props,!1),p=(0,j.J9)(c,!0),d=l.map(function(t,e){var r=T(T(T({key:"dot-".concat(e),r:3},f),p),{},{index:e,cx:t.x,cy:t.y,dataKey:s,value:t.value,payload:t.payload,points:l});return a.renderDotItem(c,r)}),h={clipPath:t?"url(#clipPath-".concat(e?"":"dots-").concat(r,")"):null};return n.createElement(g.W,k({className:"recharts-area-dots"},h),d)}},{key:"renderHorizontalRect",value:function(t){var e=this.props,r=e.baseLine,o=e.points,i=e.strokeWidth,a=o[0].x,u=o[o.length-1].x,c=t*Math.abs(a-u),s=l()(o.map(function(t){return t.y||0}
1));return((0,w.Et)(r)&&"number"==typeof r?s=Math.max(r,s):r&&Array.isArray(r)&&r.length&&(s=Math.max(l()(r.map(function(t){return t.y||0})),s)),(0,w.Et)(s))?n.createElement("rect",{x:a<u?a:a-c,y:0,width:c,height:Math.floor(s+(i?parseInt("".concat(i),10):1))}):null}},{key:"renderVerticalRect",value:function(t){var e=this.props,r=e.baseLine,o=e.points,i=e.strokeWidth,a=o[0].y,u=o[o.length-1].y,c=t*Math.abs(a-u),s=l()(o.map(function(t){return t.x||0}));return((0,w.Et)(r)&&"number"==typeof r?s=Math.max(r,s):r&&Array.isArray(r)&&r.length&&(s=Math.max(l()(r.map(function(t){return t.x||0})),s)),(0,w.Et)(s))?n.createElement("rect",{x:0,y:a<u?a:a-c,width:s+(i?parseInt("".concat(i),10):1),height:Math.floor(c)}):null}},{key:"renderClipRect",value:function(t){return"vertical"===this.props.layout?this.renderVerticalRect(t):this.renderHorizontalRect(t)}},{key:"renderAreaStatically",value:function(t,e,r,o){var i=this.props,a=i.layout,u=i.type,c=i.stroke,l=i.connectNulls,s=i.isRange,f=(i.ref,E(i,S));return n.createElement(g.W,{clipPath:r?"url(#clipPath-".concat(o,")"):null},n.createElement(v.I,k({},(0,j.J9)(f,!0),{points:t,connectNulls:l,type:u,baseLine:e,layout:a,stroke:"none",className:"recharts-area-area"})),"none"!==c&&n.createElement(v.I,k({},(0,j.J9)(this.props,!1),{className:"recharts-area-curve",layout:a,type:u,connectNulls:l,fill:"none",points:t})),"none"!==c&&s&&n.createElement(v.I,k({},(0,j.J9)(this.props,!1),{className:"recharts-area-curve",layout:a,type:u,connectNulls:l,fill:"none",points:e})))}},{key:"renderAreaWithAnimation",value:function(t,e){var r=this,o=this.props,a=o.points,u=o.baseLine,c=o.isAnimationActive,l=o.animationBegin,s=o.animationDuration,p=o.animationEasing,h=o.animationId,y=this.state,v=y.prevPoints,m=y.prevBaseLine;return n.createElement(i.Ay,{begin:l,duration:s,isActive:c,easing:p,from:{t:0},to:{t:1},key:"area-".concat(h),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(o){var i=o.t;if(v){var c,l=v.length/a.length,s=a.map(function(t,e){var r=Math.floor(e*l);if(v[r]){var n=v[r],o=(0,w.Dj)(n.x,t.x),a=(0,w.Dj)(n.y,t.y);return T(T({},t),{},{x:o(i),y:a(i)})}return t});return c=(0,w.Et)(u)&&"number"==typeof u?(0,w.Dj)(m,u)(i):f()(u)||d()(u)?(0,w.Dj)(m,0)(i):u.map(function(t,e){var r=Math.floor(e*l);if(m[r]){var n=m[r],o=(0,w.Dj)(n.x,t.x),a=(0,w.Dj)(n.y,t.y);return T(T({},t),{},{x:o(i),y:a(i)})}return t}),r.renderAreaStatically(s,c,t,e)}return n.createElement(g.W,null,n.createElement("defs",null,n.createElement("clipPath",{id:"animationClipPath-".concat(e)},r.renderClipRect(i))),n.createElement(g.W,{clipPath:"url(#animationClipPath-".concat(e,")")},r.renderAreaStatically(a,u,t,e)))})}},{key:"renderArea",value:function(t,e){var r=this.props,n=r.points,o=r.baseLine,i=r.isAnimationActive,a=this.state,u=a.prevPoints,c=a.prevBaseLine,l=a.totalLength;return i&&n&&n.length&&(!u&&l>0||!y()(u,n)||!y()(c,o))?this.renderAreaWithAnimation(t,e):this.renderAreaStatically(n,o,t,e)}},{key:"render",value:function(){var t,e=this.props,r=e.hide,i=e.dot,a=e.points,u=e.className,c=e.top,l=e.left,s=e.xAxis,p=e.yAxis,d=e.width,h=e.height,y=e.isAnimationActive,v=e.id;if(r||!a||!a.length)return null;var m=this.state.isAnimationFinished,x=1===a.length,w=(0,o.A)("recharts-area",u),O=s&&s.allowDataOverflow,S=p&&p.allowDataOverflow,A=O||S,P=f()(v)?this.id:v,E=null!=(t=(0,j.J9)(i,!1))?t:{r:3,strokeWidth:2},k=E.r,M=E.strokeWidth,T=((0,j.sT)(i)?i:{}).clipDot,_=void 0===T||T,C=2*(void 0===k?3:k)+(void 0===M?2:M);return n.createElement(g.W,{className:w},O||S?n.createElement("defs",null,n.createElement("clipPath",{id:"clipPath-".concat(P)},n.createElement("rect",{x:O?l:l-d/2,y:S?c:c-h/2,width:O?d:2*d,height:S?h:2*h})),!_&&n.createElement("clipPath",{id:"clipPath-dots-".concat(P)},n.createElement("rect",{x:l-C/2,y:c-C/2,width:d+C,height:h+C}))):null,x?null:this.renderArea(A,P),(i||x)&&this.renderDots(A,_,P),(!y||m)&&b.Z.renderCallByParent(this.props,a))}}],r=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curPoints:t.points,curBaseLine:t.baseLine,prevPoints:e.curPoints,prevBaseLine:e.curBaseLine}:t.points!==e.curPoints||t.baseLine!==e.curBaseLine?{curPoints:t.points,curBaseLine:t.baseLine}:null}}],e&&_(a.prototype,e),r&&_(a,r),Object.defineProperty(a,"prototype",{writable:!1}),a}(n.PureComponent);N(B,"displayName","Area"),N(B,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendT
1ype:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!x.m.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),N(B,"getBaseValue",function(t,e,r,n){var o=t.layout,i=t.baseValue,a=e.props.baseValue,u=null!=a?a:i;if((0,w.Et)(u)&&"number"==typeof u)return u;var c="horizontal"===o?n:r,l=c.scale.domain();if("number"===c.type){var s=Math.max(l[0],l[1]),f=Math.min(l[0],l[1]);return"dataMin"===u?f:"dataMax"===u||s<0?s:Math.max(Math.min(l[0],l[1]),0)}return"dataMin"===u?l[0]:"dataMax"===u?l[1]:l[0]}),N(B,"getComposedData",function(t){var e,r=t.props,n=t.item,o=t.xAxis,i=t.yAxis,a=t.xAxisTicks,u=t.yAxisTicks,c=t.bandSize,l=t.dataKey,s=t.stackedData,f=t.dataStartIndex,p=t.displayedData,d=t.offset,h=r.layout,y=s&&s.length,v=B.getBaseValue(r,n,o,i),m="horizontal"===h,g=!1,b=p.map(function(t,e){y?r=s[f+e]:Array.isArray(r=(0,O.kr)(t,l))?g=!0:r=[v,r];var r,n=null==r[1]||y&&null==(0,O.kr)(t,l);return m?{x:(0,O.nb)({axis:o,ticks:a,bandSize:c,entry:t,index:e}),y:n?null:i.scale(r[1]),value:r,payload:t}:{x:n?null:o.scale(r[1]),y:(0,O.nb)({axis:i,ticks:u,bandSize:c,entry:t,index:e}),value:r,payload:t}});return e=y||g?b.map(function(t){var e=Array.isArray(t.value)?t.value[0]:null;return m?{x:t.x,y:null!=e&&null!=t.y?i.scale(e):null}:{x:null!=e?o.scale(e):null,y:t.y}}):m?i.scale(v):o.scale(v),T({points:b,baseLine:e,layout:h,isRange:g},d)}),N(B,"renderDotItem",function(t,e){var r;if(n.isValidElement(t))r=n.cloneElement(t,e);else if(u()(t))r=t(e);else{var i=(0,o.A)("recharts-area-dot","boolean"!=typeof t?t.className:""),a=e.key,c=E(e,A);r=n.createElement(m.c,k({},c,{key:a,className:i}))}return r})},62464:(t,e,r)=>
1{var n=r(3562),o=r(18028),i=r(23360),a=Math.max;t.exports=function(t,e,r){var u=null==t?0:t.length;if(!u)return -1;var c=null==r?0:i(r);return c<0&&(c=a(u+c,0)),n(t,o(e,3),c)}},62962:(t,e,r)=>{var n=r(48659),o=r(65531),i=r(75145),a=r(85855);t.exports=function(t){return function(e){var r=o(e=a(e))?i(e):void 0,u=r?r[0]:e.charAt(0),c=r?n(r,1).join(""):e.slice(1);return u[t]()+c}}},64189:(t,e,r)=>{var n=r(74366),o=r(39641),i=r(42233);t.exports=function(t){return function(e,r,a){return a&&"number"!=typeof a&&o(e,r,a)&&(r=a=void 0),e=i(e),void 0===r?(r=e,e=0):r=i(r),a=void 0===a?e<r?1:-1:i(a),n(e,r,a,t)}}},64339:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>tS});var n=r(12115),o=r(38637),i=r.n(o);let{getOwnPropertyNames:a,getOwnPropertySymbols:u}=Object,{hasOwnProperty:c}=Object.prototype;function l(t,e){return function(r,n,o){return t(r,n,o)&&e(r,n,o)}}function s(t){return function(e,r,n){if(!e||!r||"object"!=typeof e||"object"!=typeof r)return t(e,r,n);let{cache:o}=n,i=o.get(e),a=o.get(r);if(i&&a)return i===r&&a===e;o.set(e,r),o.set(r,e);let u=t(e,r,n);return o.delete(e),o.delete(r),u}}function f(t){return a(t).concat(u(t))}let p=Object.hasOwn||((t,e)=>c.call(t,e));function d(t,e){return t===e||!t&&!e&&t!=t&&e!=e}let{getOwnPropertyDescriptor:h,keys:y}=Object;function v(t,e){return t.byteLength===e.byteLength&&k(new Uint8Array(t),new Uint8Array(e))}function m(t,e,r){let 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 g(t,e){return t.byteLength===e.byteLength&&k(new Uint8Array(t.buffer,t.byteOffset,t.byteLength),new Uint8Array(e.buffer,e.byteOffset,e.byteLength))}function b(t,e){return d(t.getTime(),e.getTime())}function x(t,e){return t.name===e.name&&t.message===e.message&&t.cause===e.cause&&t.stack===e.stack}function w(t,e){return t===e}function O(t,e,r){let n,o,i=t.size;if(i!==e.size)return!1;if(!i)return!0;let a=Array(i),u=t.entries(),c=0;for(;(n=u.next())&&!n.done;){let i=e.entries(),u=!1,l=0;for(;(o=i.next())&&!o.done;){if(a[l]){l++;continue}let i=n.value,s=o.value;if(r.equals(i[0],s[0],c,l,t,e,r)&&r.equals(i[1],s[1],i[0],s[0],t,e,r)){u=a[l]=!0;break}l++}if(!u)return!1;c++}return!0}function j(t,e,r){let n=y(t),o=n.length;if(y(e).length!==o)return!1;for(;o-- >0;)if(!T(t,e,r,n[o]))return!1;return!0}function S(t,e,r){let n,o,i,a=f(t),u=a.length;if(f(e).length!==u)return!1;for(;u-- >0;)if(!T(t,e,r,n=a[u])||(o=h(t,n),i=h(e,n),(o||i)&&(!o||!i||o.configurable!==i.configurable||o.enumerable!==i.enumerable||o.writable!==i.writable)))return!1;return!0}function A(t,e){return d(t.valueOf(),e.valueOf())}function P(t,e){return t.source===e.source&&t.flags===e.flags}function E(t,e,r){let n,o,i=t.size;if(i!==e.size)return!1;if(!i)return!0;let a=Array(i),u=t.values();for(;(n=u.next())&&!n.done;){let i=e.values(),u=!1,c=0;for(;(o=i.next())&&!o.done;){if(!a[c]&&r.equals(n.value,o.value,n.value,o.value,t,e,r)){u=a[c]=!0;break}c++}if(!u)return!1}return!0}function k(t,e){let r=t.byteLength;if(e.byteLength!==r||t.byteOffset!==e.byteOffset)return!1;for(;r-- >0;)if(t[r]!==e[r])return!1;return!0}function M(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 T(t,e,r,n){return("_owner"===n||"__o"===n||"__v"===n)&&(!!t.$$typeof||!!e.$$typeof)||p(e,n)&&r.equals(t[n],e[n],n,n,t,e,r)}let _={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},C=Object.prototype.toString,D=I();function I(t={}){let{circular:e=!1,createInternalComparator:r,createState:n,strict:o=!1}=t,i=function({areArrayBuffersEqual:t,areArraysEqual:e,areDataViewsEqual:r,areDatesEqual:n,areErrorsEqual:o,areFunctionsEqual:i,areMapsEqual:a,areNumbersEqual:u,areObjectsEqual:c,arePrimitiveWrappersEqual:l,areRegExpsEqual:s,areSetsEqual:f,areTypedArraysEqual:p,areUrlsEqual:d,unknownTagComparators:h}){return function(y,v,m){if(y===v)return!0;
1if(null==y||null==v)return!1;let g=typeof y;if(g!==typeof v)return!1;if("object"!==g)return"number"===g?u(y,v,m):"function"===g&&i(y,v,m);let b=y.constructor;if(b!==v.constructor)return!1;if(b===Object)return c(y,v,m);if(Array.isArray(y))return e(y,v,m);if(b===Date)return n(y,v,m);if(b===RegExp)return s(y,v,m);if(b===Map)return a(y,v,m);if(b===Set)return f(y,v,m);let x=C.call(y);if("[object Date]"===x)return n(y,v,m);if("[object RegExp]"===x)return s(y,v,m);if("[object Map]"===x)return a(y,v,m);if("[object Set]"===x)return f(y,v,m);if("[object Object]"===x)return"function"!=typeof y.then&&"function"!=typeof v.then&&c(y,v,m);if("[object URL]"===x)return d(y,v,m);if("[object Error]"===x)return o(y,v,m);if("[object Arguments]"===x)return c(y,v,m);if(_[x])return p(y,v,m);if("[object ArrayBuffer]"===x)return t(y,v,m);if("[object DataView]"===x)return r(y,v,m);if("[object Boolean]"===x||"[object Number]"===x||"[object String]"===x)return l(y,v,m);if(h){let t=h[x];if(!t){let e=null!=y?y[Symbol.toStringTag]:void 0;e&&(t=h[e])}if(t)return t(y,v,m)}return!1}}(function({circular:t,createCustomConfig:e,strict:r}){let n={areArrayBuffersEqual:v,areArraysEqual:r?S:m,areDataViewsEqual:g,areDatesEqual:b,areErrorsEqual:x,areFunctionsEqual:w,areMapsEqual:r?l(O,S):O,areNumbersEqual:d,areObjectsEqual:r?S:j,arePrimitiveWrappersEqual:A,areRegExpsEqual:P,areSetsEqual:r?l(E,S):E,areTypedArraysEqual:r?l(k,S):k,areUrlsEqual:M,unknownTagComparators:void 0};if(e&&(n=Object.assign({},n,e(n))),t){let t=s(n.areArraysEqual),e=s(n.areMapsEqual),r=s(n.areObjectsEqual),o=s(n.areSetsEqual);n=Object.assign({},n,{areArraysEqual:t,areMapsEqual:e,areObjectsEqual:r,areSetsEqual:o})}return n}(t)),a=r?r(i):function(t,e,r,n,o,a,u){return i(t,e,u)};return function({circular:t,comparator:e,createState:r,equals:n,strict:o}){if(r)return function(i,a){let{cache:u=t?new WeakMap:void 0,meta:c}=r();return e(i,a,{cache:u,equals:n,meta:c,strict:o})};if(t)return function(t,r){return e(t,r,{cache:new WeakMap,equals:n,meta:void 0,strict:o})};let i={cache:void 0,equals:n,meta:void 0,strict:o};return function(t,r){return e(t,r,i)}}({circular:e,comparator:i,createState:n,equals:a,strict:o})}function N(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=-1;requestAnimationFrame(function n(o){if(r<0&&(r=o),o-r>e)t(o),r=-1;else{var i;i=n,"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(i)}})}function R(t){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function B(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function L(t){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function F(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?z(Object(r),!0).forEach(function(e){U(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):z(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function U(t,e,r){var n;return(n=function(t,e){if("object"!==L(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==L(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"===L(n)?n:String(n))in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}I({strict:!0}),I({circular:!0}),I({circular:!0,strict:!0}),I({createInternalComparator:()=>d}),I({strict:!0,createInternalComparator:()=>d}),I({circular:!0,createInternalComparator:()=>d}),I({circular:!0,createInternalComparator:()=>d,strict:!0});var W=function(t){return t},H=function(t,e){return Object.keys(e).reduce(function(r,n){return F(F({},r),{},U({},n,t(n,e[n])))},{})},$=function(t,e,r){return t.map(function(t){return"".concat(t.replace(/([A-Z])/g,function(t){return"-".concat(t.toLowerCase())})," ").concat(e,"ms ").concat(r)}).join(",")},V=function(t,e,r,n,o,i,a,u){};function X(t,e){if(t){if("string"==typeof t)return G(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return G(t,e)}}function G(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var q=function(t,e){return[0,3*t,3*e-6*t,3*t-3*e+1]},K=function(t,e){return t.map(function(t,r){return t*Math.pow(e,r)}).reduce(function(t,e){return t+e})},Y=function(t,e){return function(r){return K(q(t,e),r)}},J=function(){for(var t,e,r=arguments.length,n=Array(r),o=0;o<r;o++)n[o]=arguments[o];var i=n[0],a=n[1],u=n[2],c=n[3];if(1===n.length)switch(n[0]){case"linear":i=0,a=0,u=1,c=1;break;case"ease":i=.25,a=.1,u=.25,c=1;break;case"ease-in":i=.42,a=0,u=1,c=1;break;case"ease-out":i=.42,a=0,u=.58,c=1;break;case"ease-in-out":i=0,a=0,u=.58,c=1;break;default:var l=n[0].split("(");if("cubic-bezier"===l[0]&&4===l[1].split(")")[0].split(",").length){var s,f=function(t){if(Array.isArray(t))return t}(s=l[1].split(")")[0].split(",").map(function(t){return parseFloat(t)}))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,l=!1;try{i=(r=r.call(t)).next,!1;for(;
1!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}(s,4)||X(s,4)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();i=f[0],a=f[1],u=f[2],c=f[3]}else V(!1,"[configBezier]: arguments should be one of oneOf 'linear', 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', instead received %s",n)}V([i,u,a,c].every(function(t){return"number"==typeof t&&t>=0&&t<=1}),"[configBezier]: arguments should be x1, y1, x2, y2 of [0, 1] instead received %s",n);var p=Y(i,u),d=Y(a,c),h=(t=i,e=u,function(r){var n;return K([].concat(function(t){if(Array.isArray(t))return G(t)}(n=q(t,e).map(function(t,e){return t*e}).slice(1))||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||X(n)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[0]),r)}),y=function(t){for(var e=t>1?1:t,r=e,n=0;n<8;++n){var o,i=p(r)-e,a=h(r);if(1e-4>Math.abs(i-e)||a<1e-4)break;r=(o=r-i/a)>1?1:o<0?0:o}return d(r)};return y.isStepper=!1,y},Z=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.stiff,r=void 0===e?100:e,n=t.damping,o=void 0===n?8:n,i=t.dt,a=void 0===i?17:i,u=function(t,e,n){var i=n+(-(t-e)*r-n*o)*a/1e3,u=n*a/1e3+t;return 1e-4>Math.abs(u-e)&&1e-4>Math.abs(i)?[e,0]:[u,i]};return u.isStepper=!0,u.dt=a,u},Q=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e[0];if("string"==typeof n)switch(n){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return J(n);case"spring":return Z();default:if("cubic-bezier"===n.split("(")[0])return J(n);V(!1,"[configEasing]: first argument should be one of 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', 'linear' and 'spring', instead  received %s",e)}return"function"==typeof n?n:(V(!1,"[configEasing]: first argument type should be function or string, instead received %s",e),null)};function tt(t){return(tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function te(t){return function(t){if(Array.isArray(t))return ta(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||ti(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tn(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tr(Object(r),!0).forEach(function(e){to(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tr(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function to(t,e,r){var n;return(n=function(t,e){if("object"!==tt(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==tt(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"===tt(n)?n:String(n))in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ti(t,e){if(t){if("string"==typeof t)return ta(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ta(t,e)}}function ta(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var tu=function(t,e,r){return t+(e-t)*r},tc=function(t){return t.from!==t.to},tl=function t(e,r,n){var o=H(function(t,r){if(tc(r)){var n,o=function(t){if(Array.isArray(t))return t}(n=e(r.from,r.to,r.velocity))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,l=!1;try{i=(r=r.call(t)).next,!1;for(;
1!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}(n,2)||ti(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=o[0],a=o[1];return tn(tn({},r),{},{from:i,velocity:a})}return r},r);return n<1?H(function(t,e){return tc(e)?tn(tn({},e),{},{velocity:tu(e.velocity,o[t].velocity,n),from:tu(e.from,o[t].from,n)}):e},r):t(e,o,n-1)};let ts=function(t,e,r,n,o){var i,a,u=[Object.keys(t),Object.keys(e)].reduce(function(t,e){return t.filter(function(t){return e.includes(t)})}),c=u.reduce(function(r,n){return tn(tn({},r),{},to({},n,[t[n],e[n]]))},{}),l=u.reduce(function(r,n){return tn(tn({},r),{},to({},n,{from:t[n],velocity:0,to:e[n]}))},{}),s=-1,f=function(){return null};return f=r.isStepper?function(n){i||(i=n);var a=(n-i)/r.dt;l=tl(r,l,a),o(tn(tn(tn({},t),e),H(function(t,e){return e.from},l))),i=n,Object.values(l).filter(tc).length&&(s=requestAnimationFrame(f))}:function(i){a||(a=i);var u=(i-a)/n,l=H(function(t,e){return tu.apply(void 0,te(e).concat([r(u)]))},c);if(o(tn(tn(tn({},t),e),l)),u<1)s=requestAnimationFrame(f);else{var p=H(function(t,e){return tu.apply(void 0,te(e).concat([r(1)]))},c);o(tn(tn(tn({},t),e),p))}},function(){return requestAnimationFrame(f),function(){cancelAnimationFrame(s)}}};function tf(t){return(tf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var tp=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function td(t){return function(t){if(Array.isArray(t))return th(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return th(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return th(t,e)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function th(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function ty(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tv(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ty(Object(r),!0).forEach(function(e){tm(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ty(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tm(t,e,r){return(e=tg(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tg(t){var e=function(t,e){if("object"!==tf(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==tf(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===tf(e)?e:String(e)}function tb(t,e){return(tb=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tx(t,e){if(e&&("object"===tf(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return tw(t)}function tw(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tO(t){return(tO=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var tj=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),t&&tb(i,t);var e,r,o=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,r=tO(i);return t=e?Reflect.construct(r,arguments,tO(this).constructor):r.apply(this,arguments),tx(this,t)});function i(t,e){if(!(this instanceof i))throw TypeError("Cannot call a class as a function");
1var r=o.call(this,t,e),n=r.props,a=n.isActive,u=n.attributeName,c=n.from,l=n.to,s=n.steps,f=n.children,p=n.duration;if(r.handleStyleChange=r.handleStyleChange.bind(tw(r)),r.changeStyle=r.changeStyle.bind(tw(r)),!a||p<=0)return r.state={style:{}},"function"==typeof f&&(r.state={style:l}),tx(r);if(s&&s.length)r.state={style:s[0].style};else if(c){if("function"==typeof f)return r.state={style:c},tx(r);r.state={style:u?tm({},u,c):c}}else r.state={style:{}};return r}return r=[{key:"componentDidMount",value:function(){var t=this.props,e=t.isActive,r=t.canBegin;this.mounted=!0,e&&r&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(t){var e=this.props,r=e.isActive,n=e.canBegin,o=e.attributeName,i=e.shouldReAnimate,a=e.to,u=e.from,c=this.state.style;if(n){if(!r){var l={style:o?tm({},o,a):a};this.state&&c&&(o&&c[o]!==a||!o&&c!==a)&&this.setState(l);return}if(!D(t.to,a)||!t.canBegin||!t.isActive){var s=!t.canBegin||!t.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var f=s||i?u:t.to;if(this.state&&c){var p={style:o?tm({},o,f):f};(o&&c[o]!==f||!o&&c!==f)&&this.setState(p)}this.runAnimation(tv(tv({},this.props),{},{from:f,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var t=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),t&&t()}},{key:"handleStyleChange",value:function(t){this.changeStyle(t)}},{key:"changeStyle",value:function(t){this.mounted&&this.setState({style:t})}},{key:"runJSAnimation",value:function(t){var e=this,r=t.from,n=t.to,o=t.duration,i=t.easing,a=t.begin,u=t.onAnimationEnd,c=t.onAnimationStart,l=ts(r,n,Q(i),o,this.changeStyle);this.manager.start([c,a,function(){e.stopJSAnimation=l()},o,u])}},{key:"runStepAnimation",value:function(t){var e=this,r=t.steps,n=t.begin,o=t.onAnimationStart,i=r[0],a=i.style,u=i.duration;return this.manager.start([o].concat(td(r.reduce(function(t,n,o){if(0===o)return t;var i=n.duration,a=n.easing,u=void 0===a?"ease":a,c=n.style,l=n.properties,s=n.onAnimationEnd,f=o>0?r[o-1]:n,p=l||Object.keys(c);if("function"==typeof u||"spring"===u)return[].concat(td(t),[e.runJSAnimation.bind(e,{from:f.style,to:c,duration:i,easing:u}),i]);var d=$(p,i,u),h=tv(tv(tv({},f.style),c),{},{transition:d});return[].concat(td(t),[h,i,s]).filter(W)},[a,Math.max(void 0===u?0:u,n)])),[t.onAnimationEnd]))}},{key:"runAnimation",value:function(t){this.manager||(this.manager=(e=function(){return null},r=!1,n=function t(n){if(!r){if(Array.isArray(n)){if(!n.length)return;var o=function(t){if(Array.isArray(t))return t}(n)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||function(t,e){if(t){if("string"==typeof t)return B(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return B(t,e)}}(n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=o[0],a=o.slice(1);return"number"==typeof i?void N(t.bind(null,a),i):(t(i),void N(t.bind(null,a)))}"object"===R(n)&&e(n),"function"==typeof n&&n()}},{stop:function(){r=!0},start:function(t){r=!1,n(t)},subscribe:function(t){return e=t,function(){e=function(){return null}}}}));var e,r,n,o=t.begin,i=t.duration,a=t.attributeName,u=t.to,c=t.easing,l=t.onAnimationStart,s=t.onAnimationEnd,f=t.steps,p=t.children,d=this.manager;if(this.unSubscribe=d.subscribe(this.handleStyleChange),"function"==typeof c||"function"==typeof p||"spring"===c)return void this.runJSAnimation(t);if(f.length>1)return void this.runStepAnimation(t);var h=a?tm({},a,u):u,y=$(Object.keys(h),i,c);d.start([l,o,tv(tv({},h),{},{transition:y}),i,s])}},{key:"render",value:function(){var t=this.props,e=t.children,r=(t.begin,t.duration),o=(t.attributeName,t.easing,t.isActive),i=(t.steps,t.from,t.to,t.canBegin,t.onAnimationEnd,t.shouldReAnimate,t.onAnimationReStart,function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,tp)),a=n.Children.count(e),u=this.state.style;if("function"==typeof e)return e(u);if(!o||0===a||r<=0)return e;var c=function(t){var e=t.props,r=e.style,o=e.className;return(0,n.cloneElement)(t,tv(tv({},i),{},{style:tv(tv({},void 0===r?{}:r),u),className:o}))};return 1===a?c(n.Children.only(e)):n.createElement("div",null,n.Children.map(e,function(t){return c(t)}))}}],function(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,tg(n.key),n)}}(i.prototype,r),Object.defineProperty(i,"prototype",{writable:!1}),i}(n.PureComponent);tj.displayName="Animate",tj.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},tj.propTypes={from:i().oneOfType([i().object,i().string]),to:i().oneOfType([i().object,i().string]),attributeName:i().string,duration:i().number,begin:i().number,easing:i().oneOfType([i().string,i().func]),steps:i().arrayOf(i().shape({duration:i().number.isRequired,style:i().object.isRequired,easing:i().oneOfType([i().oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),i().func]),properties:i().arrayOf("string"),onAnimationEnd:i().func})),children:i().oneOfType([i().node,i().func]),isActive:i().bool,canBegin:i().bool,onAnimationEnd:i().func,shouldReAnimate:i().bool,onAnimationStart:i().func,onAnimationReStart:i().func};let tS=tj},64439:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},64588:(t,e,r)=>{var n=r(84760),o=Math.max;t.exports=function(t,e,r){return e=o(void 0===e?t.length-1:e,0),function(){for(var i=arguments,a=-1,u=o(i.length-e,0),c=Array(u);++a<u;)c[a]=i[e+a];a=-1;for(var l=Array(e+1);++a<e;)l[a]=i[a];return l[e]=r(c),n(t,this,l)}}},65531:t=>{var e=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return e.test(t)}},65646:(t,e,r)=>{var n=r(91569),o=r(39608);t.exports=function(t,e,r){var i=e(t);return o(t)?i:n(i,r(t))}},65796:t=>{t.exports=function(t){return this.__data__.get(t)}},65836:(t,e,r)=>{var n=r(85090),o=r(7548),i=r(39984),a=r(82954),u=r(82596),c=r(74166);t.exports=function(t,e,r){var l=-1,s=o,f=t.length,p=!0,d=[],h=d;if(r)p=!1,s=i;else if(f>=200){var y=e?null:u(t);if(y)return c(y);p=!1,s=a,h=new n}else h=e?[]:d;e:for(;++l<f;){var v=t[l],m=e?e(v):v;if(v=r||0!==v?v:0,p&&m==m){for(var g=h.length;g--;)if(h[g]===m)continue e;e&&h.push(m),d.push(v)}else s(h,m,r)||(h!==d&&h.push(m),d.push(v))}return d}},66373:(t,e,r)=>{t.exports=r(83711)(r(82500),"Promise")},67206:(t,e,r)=>{var n=r(77969),o=r(55794),i=r(21087),a=r(39641);t.exports=i(function(t,e){if(null==t)return[];var r=e.length;return r>1&&a(t,e[0],e[1])?e=[]:r>2&&a(e[0],e[1],e[2])&&(e=[e[0]]),o(t,n(e,1),[])})},67460:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},67472:(t,e,r)=>{var n=r(31598),o=r(90453),i=r(47995),a=r(65796),u=r(58096),c=r(7771);function l(t){var e=this.__data__=new n(t);this.size=e.size}l.prototype.clear=o,l.prototype.delete=i,l.prototype.get=a,l.prototype.has=u,l.prototype.set=c,t.exports=l},67790:(t,e,r)=>{"use strict";r.d(e,{yp:()=>C,GG:()=>z,NE:()=>D,nZ:()=>
1I,xQ:()=>N});var n=r(12115),o=r(40139),i=r.n(o),a=r(44482),u=r.n(a),c=r(56917),l=r.n(c),s=r(60245),f=r.n(s),p=r(44538),d=r(52596),h=r(64339),y=r(70788);function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function m(){return(m=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}).apply(this,arguments)}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function b(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function x(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?b(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=v(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=v(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==v(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var w=function(t,e,r,n,o){var i=r-n;return"M ".concat(t,",").concat(e)+"L ".concat(t+r,",").concat(e)+"L ".concat(t+r-i/2,",").concat(e+o)+"L ".concat(t+r-i/2-n,",").concat(e+o)+"L ".concat(t,",").concat(e," Z")},O={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},j=function(t){var e,r=x(x({},O),t),o=(0,n.useRef)(),i=function(t){if(Array.isArray(t))return t}(e=(0,n.useState)(-1))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,l=!1;try{i=(r=r.call(t)).next,!1;for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}(e,2)||function(t,e){if(t){if("string"==typeof t)return g(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return g(t,e)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),a=i[0],u=i[1];(0,n.useEffect)(function(){if(o.current&&o.current.getTotalLength)try{var t=o.current.getTotalLength();t&&u(t)}catch(t){}},[]);var c=r.x,l=r.y,s=r.upperWidth,f=r.lowerWidth,p=r.height,v=r.className,b=r.animationEasing,j=r.animationDuration,S=r.animationBegin,A=r.isUpdateAnimationActive;if(c!==+c||l!==+l||s!==+s||f!==+f||p!==+p||0===s&&0===f||0===p)return null;var P=(0,d.A)("recharts-trapezoid",v);return A?n.createElement(h.Ay,{canBegin:a>0,from:{upperWidth:0,lowerWidth:0,height:p,x:c,y:l},to:{upperWidth:s,lowerWidth:f,height:p,x:c,y:l},duration:j,animationEasing:b,isActive:A},function(t){var e=t.upperWidth,i=t.lowerWidth,u=t.height,c=t.x,l=t.y;return n.createElement(h.Ay,{canBegin:a>0,from:"0px ".concat(-1===a?1:a,"px"),to:"".concat(a,"px 0px"),attributeName:"strokeDasharray",begin:S,duration:j,easing:b},n.createElement("path",m({},(0,y.J9)(r,!0),{className:P,d:w(c,l,e,i,u),ref:o})))}):n.createElement("g",null,n.createElement("path",m({},(0,y.J9)(r,!0),{className:P,d:w(c,l,s,f,p)})))},S=r(77283),A=r(2348),P=r(9795),E=["option","shapeType","propTransformer","activeClassName","isActive"];function k(t){return(k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function M(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function T(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?M(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=k(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=k(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==k(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function _(t){var e=t.shapeType,r=t.elementProps;switch(e){case"rectangle":return n.createElement(p.M,r);case"trapezoid":return n.createElement(j,r);case"sector":return n.createElement(S.h,r);case"symbols":if("symbols"===e)return n.createElement(P.i,r);break;default:return null}}function C(t){var e,r=t.option,o=t.shapeType,a=t.propTransformer,c=t.activeClassName,s=t.isActive,f=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)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}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,E);if((0,n.isValidElement)(r))e=(0,n.cloneElement)(r,T(T({},f),(0,n.isValidElement)(r)?r.props:r));else if(i()(r))e=r(f);else if(u()(r)&&!l()(r)){var p=(void 0===a?function(t,e){return T(T({},e),t)}:a)(r,f);e=n.createElement(_,{shapeType:o,elementProps:p})}else e=n.createElement(_,{shapeType:o,elementProps:f});return s?n.createElement(A.W,{className:void 0===c?"recharts-active-shape":c},e):e}function D(t,e){return null!=e&&"trapezoids"in t.props}function I(t,e){return null!=e&&"sectors"in t.props}function N(t,e){return null!=e&&"points"in t.props}function R(t,e){var r,n,o=t.x===(null==e||null==(r=e.labelViewBox)?void 0:r.x)||t.x===e.x,i=t.y===(null==e||null==(n=e.labelViewBox)?void 0:n.y)||t.y===e.y;return o&&i}function B(t,e){var r=t.endAngle===e.endAngle,n=t.startAngle===e.startAngle;return r&&n}function L(t,e){var r=t.x===e.x,n=t.y===e.y,o=t.z===e.z;return r&&n&&o}function z(t){var e,r,n,o=t.activeTooltipItem,i=t.graphicalItem,a=t.itemData,u=(D(i,o)?e="trapezoids":I(i,o)?e="sectors":N(i,o)&&(e="points"),e),c=D(i,o)?null==(r=o.tooltipPayload)||null==(r=r[0])||null==(r=r.payload)?void 0:r.payload:I(i,o)?null==(n=o.tooltipPayload)||null==(n=n[0])||null==(n=n.payload)?void 0:n.payload:N(i,o)?o.payload:{},l=a.filter(function(t,e){var r=f()(c,t),n=i.props[u].filter(function(t){var e;return(D(i,o)?e=R:I(i,o)?e=B:N(i,o)&&(e=L),e)(t,o)}),a=i.props[u].indexOf(n[n.length-1]);return r&&e===a});return a.indexOf(l[l.length-1])}},69229:(t,e,r)=>{var n=r(67472),o=r(38406),i=r(50523),a=r(84464),u=r(94380),c=r(39608),l=r(33497),s=r(35190),f="[object Arguments]",p="[object Array]",d="[object Object]",h=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,y,v,m){var g=c(t),b=c(e),x=g?p:u(t),w=b?p:u(e);x=x==f?d:x,w=w==f?d:w;var O=x==d,j=w==d,S=x==w;if(S&&l(t)){if(!l(e))return!1;g=!0,O=!1}if(S&&!O)return m||(m=new n),g||s(t)?o(t,e,r,y,v,m):i(t,e,x,r,y,v,m);if(!(1&r)){var A=O&&h.call(t,"__wrapped__"),P=j&&h.call(e,"__wrapped__");
1if(A||P){var E=A?t.value():t,k=P?e.value():e;return m||(m=new n),v(E,k,r,y,m)}}return!!S&&(m||(m=new n),a(t,e,r,y,v,m))}},69363:(t,e,r)=>{var n=r(57213),o=r(18028),i=r(6305),a=r(39608);t.exports=function(t,e){return(a(t)?n:i)(t,o(e,3))}},69806:t=>{t.exports=function(t,e,r){for(var n=r-1,o=t.length;++n<o;)if(t[n]===e)return n;return -1}},70688:(t,e,r)=>{"use strict";r.d(e,{I:()=>G});var n=r(12115);function o(){}function i(t,e,r){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+r)/6)}function a(t){this._context=t}function u(t){this._context=t}function c(t){this._context=t}a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:i(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t*=1,e*=1,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,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:i(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},u.prototype={areaStart:o,areaEnd:o,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)}},point:function(t,e){switch(t*=1,e*=1,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:i(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},c.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||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t*=1,e*=1,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:i(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};class l{constructor(t,e){this._context=t,this._x=e}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(t,e){switch(t*=1,e*=1,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:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,e,t,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,t,this._y0,t,e)}this._x0=t,this._y0=e}}function s(t){this._context=t}function f(t){this._context=t}function p(t){return new f(t)}s.prototype={areaStart:o,areaEnd:o,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t*=1,e*=1,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};function d(t,e,r){var n=t._x1-t._x0,o=e-t._x1,i=(t._y1-t._y0)/(n||o<0&&-0),a=(r-t._y1)/(o||n<0&&-0);return((i<0?-1:1)+(a<0?-1:1))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs((i*o+a*n)/(n+o)))||0}function h(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function y(t,e,r){var n=t._x0,o=t._y0,i=t._x1,a=t._y1,u=(i-n)/3;t._context.bezierCurveTo(n+u,o+u*e,i-u,a-u*r,i,a)}function v(t){this._context=t}function m(t){this._context=new g(t)}function g(t){this._context=t}function b(t){this._context=t}function x(t){var e,r,n=t.length-1,o=Array(n),i=Array(n),a=Array(n);for(o[0]=0,i[0]=2,a[0]=t[0]+2*t[1],e=1;e<n-1;++e)o[e]=1,i[e]=4,a[e]=4*t[e]+2*t[e+1];for(o[n-1]=2,i[n-1]=7,a[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)r=o[e]/i[e-1],i[e]-=r,a[e]-=r*a[e-1];for(o[n-1]=a[n-1]/i[n-1],e=n-2;e>=0;--e)o[e]=(a[e]-o[e+1])/i[e];for(e=0,i[n-1]=(t[n]+o[n-1])/2;e<n-1;++e)i[e]=2*t[e+1]-o[e+1];return[o,i]}function w(t,e){this._context=t,this._t=e}f.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t*=1,e*=1,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:this._context.lineTo(t,e)}}},v.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:y(this,this._t0,h(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var r=NaN;if(e*=1,(t*=1)!==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,y(this,h(this,r=d(this,t,e)),r);break;default:y(this,this._t0,r=d(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}}},(m.prototype=Object.create(v.prototype)).point=function(t,e){v.prototype.point.call(this,e,t)},g.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,o,i){this._context.bezierCurveTo(e,t,n,r,i,o)}},b.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]),2===r)this._context.lineTo(t[1],e[1]);else for(var n=x(t),o=x(e),i=0,a=1;a<r;++i,++a)this._context.bezierCurveTo(n[0][i],o[0][i],n[1][i],o[1][i],t[a],e[a]);(this._line||0!==this._line&&1===r)&&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)}},w.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&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t*=1,e*=1,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)}}this._x=t,this._y=e}};var O=r(9819),j=r(85654),S=r(31847);function A(t){return t[0]}function P(t){return t[1]}function E(t,e){var r=(0,j.A)(!0),n=null,o=p,i=null,a=(0,S.i)(u);function u(u){var c,l,s,f=(u=(0,O.A)(u)).length,p=!1;
1for(null==n&&(i=o(s=a())),c=0;c<=f;++c)!(c<f&&r(l=u[c],c,u))===p&&((p=!p)?i.lineStart():i.lineEnd()),p&&i.point(+t(l,c,u),+e(l,c,u));if(s)return i=null,s+""||null}return t="function"==typeof t?t:void 0===t?A:(0,j.A)(t),e="function"==typeof e?e:void 0===e?P:(0,j.A)(e),u.x=function(e){return arguments.length?(t="function"==typeof e?e:(0,j.A)(+e),u):t},u.y=function(t){return arguments.length?(e="function"==typeof t?t:(0,j.A)(+t),u):e},u.defined=function(t){return arguments.length?(r="function"==typeof t?t:(0,j.A)(!!t),u):r},u.curve=function(t){return arguments.length?(o=t,null!=n&&(i=o(n)),u):o},u.context=function(t){return arguments.length?(null==t?n=i=null:i=o(n=t),u):n},u}function k(t,e,r){var n=null,o=(0,j.A)(!0),i=null,a=p,u=null,c=(0,S.i)(l);function l(l){var s,f,p,d,h,y=(l=(0,O.A)(l)).length,v=!1,m=Array(y),g=Array(y);for(null==i&&(u=a(h=c())),s=0;s<=y;++s){if(!(s<y&&o(d=l[s],s,l))===v)if(v=!v)f=s,u.areaStart(),u.lineStart();else{for(u.lineEnd(),u.lineStart(),p=s-1;p>=f;--p)u.point(m[p],g[p]);u.lineEnd(),u.areaEnd()}v&&(m[s]=+t(d,s,l),g[s]=+e(d,s,l),u.point(n?+n(d,s,l):m[s],r?+r(d,s,l):g[s]))}if(h)return u=null,h+""||null}function s(){return E().defined(o).curve(a).context(i)}return t="function"==typeof t?t:void 0===t?A:(0,j.A)(+t),e="function"==typeof e?e:void 0===e?(0,j.A)(0):(0,j.A)(+e),r="function"==typeof r?r:void 0===r?P:(0,j.A)(+r),l.x=function(e){return arguments.length?(t="function"==typeof e?e:(0,j.A)(+e),n=null,l):t},l.x0=function(e){return arguments.length?(t="function"==typeof e?e:(0,j.A)(+e),l):t},l.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:(0,j.A)(+t),l):n},l.y=function(t){return arguments.length?(e="function"==typeof t?t:(0,j.A)(+t),r=null,l):e},l.y0=function(t){return arguments.length?(e="function"==typeof t?t:(0,j.A)(+t),l):e},l.y1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:(0,j.A)(+t),l):r},l.lineX0=l.lineY0=function(){return s().x(t).y(e)},l.lineY1=function(){return s().x(t).y(r)},l.lineX1=function(){return s().x(n).y(e)},l.defined=function(t){return arguments.length?(o="function"==typeof t?t:(0,j.A)(!!t),l):o},l.curve=function(t){return arguments.length?(a=t,null!=i&&(u=a(i)),l):a},l.context=function(t){return arguments.length?(null==t?i=u=null:u=a(i=t),l):i},l}var M=r(23633),T=r.n(M),_=r(40139),C=r.n(_),D=r(52596),I=r(43597),N=r(70788),R=r(16377);function B(t){return(B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function L(){return(L=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}).apply(this,arguments)}function z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function F(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?z(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=B(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=B(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==B(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):z(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var U={curveBasisClosed:function(t){return new u(t)},curveBasisOpen:function(t){return new c(t)},curveBasis:function(t){return new a(t)},curveBumpX:function(t){return new l(t,!0)},curveBumpY:function(t){return new l(t,!1)},curveLinearClosed:function(t){return new s(t)},curveLinear:p,curveMonotoneX:function(t){return new v(t)},curveMonotoneY:function(t){return new m(t)},curveNatural:function(t){return new b(t)},curveStep:function(t){return new w(t,.5)},curveStepAfter:function(t){return new w(t,1)},curveStepBefore:function(t){return new w(t,0)}},W=function(t){return t.x===+t.x&&t.y===+t.y},H=function(t){return t.x},$=function(t){return t.y},V=function(t,e){if(C()(t))return t;var r="curve".concat(T()(t));return("curveMonotone"===r||"curveBump"===r)&&e?U["".concat(r).concat("vertical"===e?"Y":"X")]:U[r]||p},X=function(t){var e,r=t.type,n=t.points,o=void 0===n?[]:n,i=t.baseLine,a=t.layout,u=t.connectNulls,c=void 0!==u&&u,l=V(void 0===r?"linear":r,a),s=c?o.filter(function(t){return W(t)}):o;if(Array.isArray(i)){var f=c?i.filter(function(t){return W(t)}):i,p=s.map(function(t,e){return F(F({},t),{},{base:f[e]})});return(e="vertical"===a?k().y($).x1(H).x0(function(t){return t.base.x}):k().x(H).y1($).y0(function(t){return t.base.y})).defined(W).curve(l),e(p)}return(e="vertical"===a&&(0,R.Et)(i)?k().y($).x1(H).x0(i):(0,R.Et)(i)?k().x(H).y1($).y0(i):E().x(H).y($)).defined(W).curve(l),e(s)},G=function(t){var e=t.className,r=t.points,o=t.path,i=t.pathRef;if((!r||!r.length)&&!o)return null;var a=r&&r.length?X(t):o;return n.createElement("path",L({},(0,N.J9)(t,!1),(0,I._U)(t),{className:(0,D.A)("recharts-curve",e),d:a,ref:i}))}},70771:(t,e,r)=>{var n=r(98233),o=r(48611);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==n(t)}},70788:(t,e,r)=>{"use strict";r.d(e,{AW:()=>L,BU:()=>k,J9:()=>D,Me:()=>M,Mn:()=>j,OV:()=>I,X_:()=>B,aS:()=>E,ee:()=>R,sT:()=>_});var n=r(48973),o=r.n(n),i=r(59882),a=r.n(i),u=r(15438),c=r.n(u),l=r(40139),s=r.n(l),f=r(67460),p=r.n(f),d=r(12115),h=r(90702),y=r(16377),v=r(15232),m=r(43597),g=["children"],b=["children"];function x(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)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}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function w(t){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var O={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"}
1,j=function(t){return"string"==typeof t?t:t?t.displayName||t.name||"Component":""},S=null,A=null,P=function t(e){if(e===S&&Array.isArray(A))return A;var r=[];return d.Children.forEach(e,function(e){a()(e)||((0,h.isFragment)(e)?r=r.concat(t(e.props.children)):r.push(e))}),A=r,S=e,r};function E(t,e){var r=[],n=[];return n=Array.isArray(e)?e.map(function(t){return j(t)}):[j(e)],P(t).forEach(function(t){var e=o()(t,"type.displayName")||o()(t,"type.name");-1!==n.indexOf(e)&&r.push(t)}),r}function k(t,e){var r=E(t,e);return r&&r[0]}var M=function(t){if(!t||!t.props)return!1;var e=t.props,r=e.width,n=e.height;return!!(0,y.Et)(r)&&!(r<=0)&&!!(0,y.Et)(n)&&!(n<=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"],_=function(t){return t&&"object"===w(t)&&"clipDot"in t},C=function(t,e,r,n){var o,i=null!=(o=null===m.VU||void 0===m.VU?void 0:m.VU[n])?o:[];return e.startsWith("data-")||!s()(t)&&(n&&i.includes(e)||m.QQ.includes(e))||r&&m.j2.includes(e)},D=function(t,e,r){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var n=t;if((0,d.isValidElement)(t)&&(n=t.props),!p()(n))return null;var o={};return Object.keys(n).forEach(function(t){var i;C(null==(i=n)?void 0:i[t],t,e,r)&&(o[t]=n[t])}),o},I=function t(e,r){if(e===r)return!0;var n=d.Children.count(e);if(n!==d.Children.count(r))return!1;if(0===n)return!0;if(1===n)return N(Array.isArray(e)?e[0]:e,Array.isArray(r)?r[0]:r);for(var o=0;o<n;o++){var i=e[o],a=r[o];if(Array.isArray(i)||Array.isArray(a)){if(!t(i,a))return!1}else if(!N(i,a))return!1}return!0},N=function(t,e){if(a()(t)&&a()(e))return!0;if(!a()(t)&&!a()(e)){var r=t.props||{},n=r.children,o=x(r,g),i=e.props||{},u=i.children,c=x(i,b);if(n&&u)return(0,v.b)(o,c)&&I(n,u);if(!n&&!u)return(0,v.b)(o,c)}return!1},R=function(t,e){var r=[],n={};return P(t).forEach(function(t,o){if(t&&t.type&&c()(t.type)&&T.indexOf(t.type)>=0)r.push(t);else if(t){var i=j(t.type),a=e[i]||{},u=a.handler,l=a.once;if(u&&(!l||!n[i])){var s=u(t,i,o);r.push(s),n[i]=!0}}}),r},B=function(t){var e=t&&t.type;return e&&O[e]?O[e]:null},L=function(t,e){return P(e).indexOf(t)}},70881:(t,e,r)=>{"use strict";r.d(e,{G:()=>s});var n=r(97846),o=r(8619),i=r(97494),a=r(59210);function u(t,e){let r=(0,o.d)(e()),n=()=>r.set(e());return n(),(0,i.E)(()=>{let e=()=>a.Gt.preRender(n,!1,!0),r=t.map(t=>t.on("change",e));return()=>{r.forEach(t=>t()),(0,a.WG)(n)}}),r}var c=r(82885),l=r(59779);function s(t,e,r,o){if("function"==typeof t){l.bt.current=[],t();let e=u(l.bt.current,t);return l.bt.current=void 0,e}let i="function"==typeof e?e:function(...t){let e,r,o=!Array.isArray(t[0]),i=o?0:-1,a=t[0+i],u=t[1+i],c=t[2+i],l=t[3+i],s=(0,n.G)(u,c,{mixer:(r=e=c[0])&&"object"==typeof r&&r.mix?e.mix:void 0,...l});return o?s(a):s}(e,r,o);return Array.isArray(t)?f(t,i):f([t],([t])=>i(t))}function f(t,e){let r=(0,c.M)(()=>[]);return u(t,()=>{r.length=0;let n=t.length;for(let e=0;e<n;e++)r[e]=t[e].get();return e(r)})}},70966:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},71571:(t,e,r)=>{var n=r(92313),o=r(18028),i=r(51445),a=r(39608),u=r(39641);t.exports=function(t,e,r){var c=a(t)?n:i;return r&&u(t,e,r)&&(e=void 0),c(t,o(e,3))}},71780:(t,e,r)=>{"use strict";let n,o;r.d(e,{L:()=>U});var i=r(59779),a=r(82885),u=r(12115),c=r(54542),l=r(46256),s=r(19827),f=r(59210);function p(t,e){let r,n=()=>{let{currentTime:n}=e,o=(null===n?0:n.value)/100;r!==o&&t(o),r=o};return f.Gt.update(n,!0),()=>(0,f.WG)(n)}let d=new WeakMap;function h({target:t,contentRect:e,borderBoxSize:r}){var n;
1null==(n=d.get(t))||n.forEach(n=>{n({target:t,contentSize:e,get size(){if(r){let{inlineSize:t,blockSize:e}=r[0];return{width:t,height:e}}if(t instanceof SVGElement&&"getBBox"in t)return t.getBBox();return{width:t.offsetWidth,height:t.offsetHeight}}})})}function y(t){t.forEach(h)}let v=new Set;var m=r(45818),g=r(15315);let b=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),x={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function w(t,e,r,n){let o=r[e],{length:i,position:a}=x[e],u=o.current,c=r.time;o.current=t[`scroll${a}`],o.scrollLength=t[`scroll${i}`]-t[`client${i}`],o.offset.length=0,o.offset[0]=0,o.offset[1]=o.scrollLength,o.progress=(0,m.q)(0,o.scrollLength,o.current);let l=n-c;o.velocity=l>50?0:(0,g.f)(o.current-u,l)}var O=r(77782),j=r(97846),S=r(7345);let A={start:0,center:.5,end:1};function P(t,e,r=0){let n=0;if(t in A&&(t=A[t]),"string"==typeof t){let e=parseFloat(t);t.endsWith("px")?n=e:t.endsWith("%")?t=e/100:t.endsWith("vw")?n=e/100*document.documentElement.clientWidth:t.endsWith("vh")?n=e/100*document.documentElement.clientHeight:t=e}return"number"==typeof t&&(n=e*t),r+n}let E=[0,0],k={All:[[0,0],[1,1]]},M={x:0,y:0},T=new WeakMap,_=new WeakMap,C=new WeakMap,D=t=>t===document.documentElement?window:t;function I(t,{container:e=document.documentElement,...r}={}){let i=C.get(e);i||(i=new Set,C.set(e,i));let a=function(t,e,r,n={}){return{measure:()=>(function(t,e=t,r){if(r.x.targetOffset=0,r.y.targetOffset=0,e!==t){let n=e;for(;n&&n!==t;)r.x.targetOffset+=n.offsetLeft,r.y.targetOffset+=n.offsetTop,n=n.offsetParent}r.x.targetLength=e===t?e.scrollWidth:e.clientWidth,r.y.targetLength=e===t?e.scrollHeight:e.clientHeight,r.x.containerLength=t.clientWidth,r.y.containerLength=t.clientHeight})(t,n.target,r),update:e=>{w(t,"x",r,e),w(t,"y",r,e),r.time=e,(n.offset||n.target)&&function(t,e,r){let{offset:n=k.All}=r,{target:o=t,axis:i="y"}=r,a="y"===i?"height":"width",u=o!==t?function(t,e){let r={x:0,y:0},n=t;for(;n&&n!==e;)if(n instanceof HTMLElement)r.x+=n.offsetLeft,r.y+=n.offsetTop,n=n.offsetParent;else if("svg"===n.tagName){let t=n.getBoundingClientRect(),e=(n=n.parentElement).getBoundingClientRect();r.x+=t.left-e.left,r.y+=t.top-e.top}else if(n instanceof SVGGraphicsElement){let{x:t,y:e}=n.getBBox();r.x+=t,r.y+=e;let o=null,i=n.parentNode;for(;!o;)"svg"===i.tagName&&(o=i),i=n.parentNode;n=o}else break;return r}(o,t):M,c=o===t?{width:t.scrollWidth,height:t.scrollHeight}:"getBBox"in o&&"svg"!==o.tagName?o.getBBox():{width:o.clientWidth,height:o.clientHeight},l={width:t.clientWidth,height:t.clientHeight};e[i].offset.length=0;let s=!e[i].interpolate,f=n.length;for(let t=0;t<f;t++){let r=function(t,e,r,n){let o=Array.isArray(t)?t:E,i=0;return"number"==typeof t?o=[t,t]:"string"==typeof t&&(o=(t=t.trim()).includes(" ")?t.split(" "):[t,A[t]?t:"0"]),(i=P(o[0],r,n))-P(o[1],e)}(n[t],l[a],c[a],u[i]);s||r===e[i].interpolatorOffsets[t]||(s=!0),e[i].offset[t]=r}s&&(e[i].interpolate=(0,j.G)(e[i].offset,(0,S.Z)(n),{clamp:!1}),e[i].interpolatorOffsets=[...e[i].offset]),e[i].progress=(0,O.q)(0,1,e[i].interpolate(e[i].current))}(t,r,n)},notify:()=>e(r)}}(e,t,{time:0,x:b(),y:b()},r);if(i.add(a),!T.has(e)){let t=()=>{for(let t of i)t.measure()},r=()=>{for(let t of i)t.update(f.uv.timestamp)},a=()=>{for(let t of i)t.notify()},u=()=>{f.Gt.read(t,!1,!0),f.Gt.read(r,!1,!0),f.Gt.update(a,!1,!0)};T.set(e,u);let c=D(e);window.addEventListener("resize",u,{passive:!0}),e!==document.documentElement&&_.set(e,"function"==typeof e?(v.add(e),o||(o=()=>{let t={width:window.innerWidth,height:window.innerHeight},e={target:window,size:t,contentSize:t};v.forEach(t=>t(e))},window.addEventListener("resize",o)),()=>{v.delete(e),!v.size&&o&&(o=void 0)}):function(t,e){n||"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(y));let r=(0,l.KJ)(t);return r.forEach(t=>{let r=d.get(t);r||(r=new Set,d.set(t,r)),r.add(e),null==n||n.observe(t)}),()=>{r.forEach(t=>{let r=d.get(t);null==r||r.delete(e),(null==r?void 0:r.size)||null==n||n.unobserve(t)})}}(e,u)),c.addEventListener("scroll",u,{passive:!0})}let u=T.get(e);return f.Gt.read(u,!1,!0),()=>{var t;(0,f.WG)(u);let r=C.get(e);if(!r||(r.delete(a),r.size))return;let n=T.get(e);T.delete(e),n&&(D(e).removeEventListener("scroll",n),null==(t=_.get(e))||t(),window.removeEventListener("resize",n))}}let N=new Map;function R({source:t,container:e=document.documentElement,axis:r="y"}={}){t&&(e=t),N.has(e)||N.set(e,{});let n=N.get(e);return n[r]||(n[r]=(0,l.Jb)()?new ScrollTimeline({source:e,axis:r}):function({source:t,container:e,axis:r="y"}){t&&(e=t);let n={value:0},o=I(t=>{n.value=100*t[r].progress},{container:e,axis:r});return{currentTime:n,cancel:o}}({source:e,axis:r})),n[r]}function B(t){return t&&(t.target||t.offset)}var L=r(97494);function z(t,e){(0,c.$)(!!(!e||e.current),`You have defined a ${t} options but the provided ref is not yet hydrated, probably because it's defined higher up the tree. Try calling useScroll() in the same component as the ref, or setting its \`layoutEffect: false\` option.`)}let F=()=>({scrollX:(0,i.OQ)(0),scrollY:(0,i.OQ)(0),scrollXProgress:(0,i.OQ)(0),scrollYProgress:(0,i.OQ)(0)});function U({container:t,target:e,layoutEffect:r=!0,...n}={}){let o=(0,a.M)(F);return(r?L.E:u.useEffect)(()=>(z("target",e),z("container",t),function(t,{axis:e="y",...r}={}){var n,o;let i={axis:e,...r};return"function"==typeof t?(n=t,o=i,2===n.length||B(o)?I(t=>{n(t[o.axis].progress,t)},o):p(n,R(o))):function(t,e){if(t.flatten(),B(e))return t.pause(),I(r=>
1{t.time=t.duration*r[e.axis].progress},e);{let r=R(e);return t.attachTimeline?t.attachTimeline(r,t=>(t.pause(),p(e=>{t.time=t.duration*e},r))):s.l}}(t,i)}((t,{x:e,y:r})=>{o.scrollX.set(e.current),o.scrollXProgress.set(e.progress),o.scrollY.set(r.current),o.scrollYProgress.set(r.progress)},{...n,container:(null==t?void 0:t.current)||void 0,target:(null==e?void 0:e.current)||void 0})),[t,e,JSON.stringify(n.offset)]),o}},72043:(t,e,r)=>{t.exports=r(70966)(Object.keys,Object)},72790:(t,e,r)=>{"use strict";r.d(e,{u:()=>c});var n=r(12115),o=r(52596),i=r(70788),a=["children","width","height","viewBox","className","style","title","desc"];function u(){return(u=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}).apply(this,arguments)}function c(t){var e=t.children,r=t.width,c=t.height,l=t.viewBox,s=t.className,f=t.style,p=t.title,d=t.desc,h=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)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}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,a),y=l||{width:r,height:c,x:0,y:0},v=(0,o.A)("recharts-surface",s);return n.createElement("svg",u({},(0,i.J9)(h,!0,"svg"),{className:v,width:r,height:c,style:f,viewBox:"".concat(y.x," ").concat(y.y," ").concat(y.width," ").concat(y.height)}),n.createElement("title",null,p),n.createElement("desc",null,d),e)}},72948:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},73726:(t,e,r)=>{t.exports=r(70966)(Object.getPrototypeOf,Object)},73800:(t,e,r)=>{var n=r(39608),o=r(79595),i=r(37835),a=r(85855);t.exports=function(t,e){return n(t)?t:o(t,e)?[t]:i(a(t))}},73956:(t,e,r)=>{var n=r(5658);t.exports=function(t){return n(this,t).has(t)}},74166:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}},74366:t=>{var e=Math.ceil,r=Math.max;t.exports=function(t,n,o,i){for(var a=-1,u=r(e((n-t)/(o||1)),0),c=Array(u);u--;)c[i?u:++a]=t,t+=o;return c}},74544:(t,e,r)=>{var n=r(5658);t.exports=function(t){return n(this,t).get(t)}},74888:(t,e,r)=>{var n=r(53516);t.exports=function(t,e){var r=!0;return n(t,function(t,n,o){return r=!!e(t,n,o)}),r}},74925:(t,e,r)=>{var n=r(28897),o=r(20480),i=r(18028);t.exports=function(t,e){var r={};return e=i(e,3),o(t,function(t,o,i){n(r,o,e(t,o,i))}),r}},75031:(t,e,r)=>{var n=r(18028),o=r(22471),i=r(35095);t.exports=function(t){return function(e,r,a){var u=Object(e);if(!o(e)){var c=n(r,3);e=i(e),r=function(t){return c(u[t],t,u)}}var l=t(e,r,a);return l>-1?u[c?e[l]:l]:void 0}}},75145:(t,e,r)=>{var n=r(50851),o=r(65531),i=r(17855);t.exports=function(t){return o(t)?i(t):n(t)}},75899:(t,e,r)=>{t.exports=r(83711)(Object,"create")},76685:(t,e,r)=>{var n=r(82500);t.exports=function(){return n.Date.now()}},76957:(t,e,r)=>{t.exports=r(82500).Uint8Array},77283:(t,e,r)=>{"use strict";r.d(e,{h:()=>v});var n=r(12115),o=r(52596),i=r(70788),a=r(25641),u=r(16377);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(){return(l=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}).apply(this,arguments)}function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function f(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?s(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=c(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=c(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==c(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var p=function(t){var e=t.cx,r=t.cy,n=t.radius,o=t.angle,i=t.sign,u=t.isExternal,c=t.cornerRadius,l=t.cornerIsExternal,s=c*(u?1:-1)+n,f=Math.asin(c/s)/a.Kg,p=l?o:o+i*f;return{center:(0,a.IZ)(e,r,s,p),circleTangency:(0,a.IZ)(e,r,n,p),lineTangency:(0,a.IZ)(e,r,s*Math.cos(f*a.Kg),l?o-i*f:o),theta:f}},d=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,o=t.outerRadius,i=t.startAngle,c=t.endAngle,l=(0,u.sA)(c-i)*Math.min(Math.abs(c-i),359.999),s=i+l,f=(0,a.IZ)(e,r,o,i),p=(0,a.IZ)(e,r,o,s),d="M ".concat(f.x,",").concat(f.y,"\n    A ").concat(o,",").concat(o,",0,\n    ").concat(+(Math.abs(l)>180),",").concat(+(i>s),",\n    ").concat(p.x,",").concat(p.y,"\n  ");if(n>0){var h=(0,a.IZ)(e,r,n,i),y=(0,a.IZ)(e,r,n,s);d+="L ".concat(y.x,",").concat(y.y,"\n            A ").concat(n,",").concat(n,",0,\n            ").concat(+(Math.abs(l)>180),",").concat(+(i<=s),",\n            ").concat(h.x,",").concat(h.y," Z")}else d+="L ".concat(e,",").concat(r," Z");return d},h=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,o=t.outerRadius,i=t.cornerRadius,a=t.forceCornerRadius,c=t.cornerIsExternal,l=t.startAngle,s=t.endAngle,f=(0,u.sA)(s-l),h=p({cx:e,cy:r,radius:o,angle:l,sign:f,cornerRadius:i,cornerIsExternal:c}),y=h.circleTangency,v=h.lineTangency,m=h.theta,g=p({cx:e,cy:r,radius:o,angle:s,sign:-f,cornerRadius:i,cornerIsExternal:c}),b=g.circleTangency,x=g.lineTangency,w=g.theta,O=c?Math.abs(l-s):Math.abs(l-s)-m-w;if(O<0)return a?"M ".concat(v.x,",").concat(v.y,"\n        a").concat(i,",").concat(i,",0,0,1,").concat(2*i,",0\n        a").concat(i,",").concat(i,",0,0,1,").concat(-(2*i),",0\n      "):d({cx:e,cy:r,innerRadius:n,outerRadius:o,startAngle:l,endAngle:s});var j="M ".concat(v.x,",").concat(v.y,"\n    A").concat(i,",").concat(i,",0,0,").concat(+(f<0),",").concat(y.x,",").concat(y.y,"\n    A").concat(o,",").concat(o,",0,").concat(+(O>180),",").concat(+(f<0),",").concat(b.x,",").concat(b.y,"\n    A").concat(i,",").concat(i,",0,0,").concat(+(f<0),",").concat(x.x,",").concat(x.y,"\n  ");if(n>0){var S=p({cx:e,cy:r,radius:n,angle:l,sign:f,isExternal:!0,cornerRadius:i,cornerIsExternal:c}),A=S.circleTangency,P=S.lineTangency,E=S.theta,k=p({cx:e,cy:r,radius:n,angle:s,sign:-f,isExternal:!0,cornerRadius:i,cornerIsExternal:c}),M=k.circleTangency,T=k.lineTangency,_=k.theta,C=c?Math.abs(l-s):Math.abs(l-s)-E-_;if(C<0&&0===i)return"".concat(j,"L").concat(e,",").concat(r,"Z");j+="L".concat(T.x,",").concat(T.y,"\n      A").concat(i,",").concat(i,",0,0,").concat(+(f<0),",").concat(M.x,",").concat(M.y,"\n      A").concat(n,",").concat(n,",0,").concat(+(C>180),",").concat(+(f>0),",").concat(A.x,",").concat(A.y,"\n      A").concat(i,",").concat(i,",0,0,").concat(+(f<0),",").concat(P.x,",").concat(P.y,"Z")}else j+="L".concat(e,",").concat(r,"Z");return j},y={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},v=function(t){var e,r=f(f({},y),t),a=r.cx,c=r.cy,s=r.innerRadius,p=r.outerRadius,v=r.cornerRadius,m=r.forceCornerRadius,g=r.cornerIsExternal,b=r.startAngle,x=r.endAngle,w=r.className;if(p<s||b===x)return null;var O=(0,o.A)("recharts-sector",w),j=p-s,S=(0,u.F4)(v,j,0,!0);return e=S>0&&360>Math.abs(b-x)?h({cx:a,cy:c,innerRadius:s,outerRadius:p,cornerRadius:Math.min(S,j/2),forceCornerRadius:m,cornerIsExternal:g,startAngle:b,endAngle:x}):d({cx:a,cy:c,innerRadius:s,outerRadius:p,startAngle:b,endAngle:x}
1),n.createElement("path",l({},(0,i.J9)(r,!0),{className:O,d:e,role:"img"}))}},77969:(t,e,r)=>{var n=r(91569),o=r(36314);t.exports=function t(e,r,i,a,u){var c=-1,l=e.length;for(i||(i=o),u||(u=[]);++c<l;){var s=e[c];r>0&&i(s)?r>1?t(s,r-1,i,a,u):n(u,s):a||(u[u.length]=s)}return u}},79095:(t,e,r)=>{"use strict";r.d(e,{E:()=>B});var n=r(12115),o=r(59882),i=r.n(o),a=r(52596),u=r(16377),c=r(41643),l=r(70788),s=r(46605);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return d(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(t,e)}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function h(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,function(t){var e=function(t,e){if("object"!=f(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=f(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==f(e)?e:e+""}(n.key),n)}}var y=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,v=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,m=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,g=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,b={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},x=Object.keys(b),w=function(){var t,e;function r(t,e){if(!(this instanceof r))throw TypeError("Cannot call a class as a function");this.num=t,this.unit=e,this.num=t,this.unit=e,Number.isNaN(t)&&(this.unit=""),""===e||m.test(e)||(this.num=NaN,this.unit=""),x.includes(e)&&(this.num=t*b[e],this.unit="px")}return t=[{key:"add",value:function(t){return this.unit!==t.unit?new r(NaN,""):new r(this.num+t.num,this.unit)}},{key:"subtract",value:function(t){return this.unit!==t.unit?new r(NaN,""):new r(this.num-t.num,this.unit)}},{key:"multiply",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new r(NaN,""):new r(this.num*t.num,this.unit||t.unit)}},{key:"divide",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new r(NaN,""):new r(this.num/t.num,this.unit||t.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}],e=[{key:"parse",value:function(t){var e,n=p(null!=(e=g.exec(t))?e:[],3),o=n[1],i=n[2];return new r(parseFloat(o),null!=i?i:"")}}],t&&h(r.prototype,t),e&&h(r,e),Object.defineProperty(r,"prototype",{writable:!1}),r}();function O(t){if(t.includes("NaN"))return"NaN";for(var e=t;e.includes("*")||e.includes("/");){var r,n=p(null!=(r=y.exec(e))?r:[],4),o=n[1],i=n[2],a=n[3],u=w.parse(null!=o?o:""),c=w.parse(null!=a?a:""),l="*"===i?u.multiply(c):u.divide(c);if(l.isNaN())return"NaN";e=e.replace(y,l.toString())}for(;e.includes("+")||/.-\d+(?:\.\d+)?/.test(e);){var s,f=p(null!=(s=v.exec(e))?s:[],4),d=f[1],h=f[2],m=f[3],g=w.parse(null!=d?d:""),b=w.parse(null!=m?m:""),x="+"===h?g.add(b):g.subtract(b);if(x.isNaN())return"NaN";e=e.replace(v,x.toString())}return e}var j=/\(([^()]*)\)/;function S(t){var e=function(t){try{var e;return e=t.replace(/\s+/g,""),e=function(t){for(var e=t;e.includes("(");){var r=p(j.exec(e),2)[1];e=e.replace(j,O(r))}return e}(e),e=O(e)}catch(t){return"NaN"}}(t.slice(5,-1));return"NaN"===e?"":e}var A=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],P=["dx","dy","angle","className","breakAll"];function E(){return(E=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function k(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)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}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function M(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return T(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return T(t,e)}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var _=/[ \f\n\r\t\v\u2028\u2029]+/,C=function(t){var e=t.children,r=t.breakAll,n=t.style;try{var o=[];i()(e)||(o=r?e.toString().split(""):e.toString().split(_));var a=o.map(function(t){return{word:t,width:(0,s.Pu)(t,n).width}}),u=r?0:(0,s.Pu)("\xa0",n).width;return{wordsWithComputedWidth:a,spaceWidth:u}}catch(t){return null}},D=function(t,e,r,n,o){var i,a=t.maxLines,c=t.children,l=t.style,s=t.breakAll,f=(0,u.Et)(a),p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.reduce(function(t,e){var i=e.word,a=e.width,u=t[t.length-1];return u&&(null==n||o||u.width+a+r<Number(n))?(u.words.push(i),u.width+=a+r):t.push({words:[i],width:a}),t},[])},d=p(e);if(!f)return d;for(var h=function(t){var e=p(C({breakAll:s,style:l,children:c.slice(0,t)+"…"}).wordsWithComputedWidth);return[e.length>a||e.reduce(function(t,e){return t.width>e.width?t:e}).width>Number(n),e]},y=0,v=c.length-1,m=0;y<=v&&m<=c.length-1;){var g=Math.floor((y+v)/2),b=M(h(g-1),2),x=b[0],w=b[1],O=M(h(g),1)[0];if(x||O||(y=g+1),x&&O&&(v=g-1),!x&&O){i=w;break}m++}return i||d},I=function(t){return[{words:i()(t)?[]:t.toString().split(_)}]},N=function(t){var e=t.width,r=t.scaleToFit,n=t.children,o=t.style,i=t.breakAll,a=t.maxLines;if((e||r)&&!c.m.isSsr){var u=C({breakAll:i,children:n,style:o});if(!u)return I(n);var l=u.wordsWithComputedWidth,s=u.spaceWidth;return D({breakAll:i,children:n,maxLines:a,style:o},l,s,e,r)}return I(n)},R="#808080",B=function(t){var e,r=t.x,o=void 0===r?0:r,i=t.y,c=void 0===i?0:i,s=t.lineHeight,f=void 0===s?"1em":s,p=t.capHeight,d=void 0===p?"0.71em":p,h=t.scaleToFit,y=void 0!==h&&h,v=t.textAnchor,m=t.verticalAnchor,g=t.fill,b=void 0===g?R:g,x=k(t,A),w=(0,n.useMemo)(function(){return N({breakAll:x.breakAll,children:x.children,maxLines:x.maxLines,scaleToFit:y,style:x.style,width:x.width})},[x.breakAll,x.children,x.maxLines,y,x.style,x.width]),O=x.dx,j=x.dy,M=x.angle,T=x.className,_=x.breakAll,C=k(x,P);if(!(0,u.vh)(o)||!(0,u.vh)(c))return null;var D=o+((0,u.Et)(O)?O:0),I=c+((0,u.Et)(j)?j:0);switch(void 0===m?"end":m){case"start":e=S("calc(".concat(d,")"));break;case"middle":e=S("calc(".concat((w.length-1)/2," * -").concat(f," + (").concat(d," / 2))"));break;default:e=S("calc(".concat(w.length-1," * -").concat(f,")"))}var B=[];if(y){var L=w[0].width,z=x.width;B.push("scale(".concat(((0,u.Et)(z)?z/L:1)/L,")"))}return M&&B.push("rotate(".concat(M,", ").concat(D,", ").concat(I,")")),B.length&&(C.transform=B.join(" ")),n.createElement("text",E({},(0,l.J9)(C,!0),{x:D,y:I,className:(0,a.A)("recharts-text",T),textAnchor:void 0===v?"start":v,fill:b.includes("url")?R:b}),w.map(function(t,r){var o=t.words.join(_?"":" ");return n.createElement("tspan",{x:D,dy:0===r?e:f,key:"".concat(o,"-").concat(r)},o)}))}},79399:(t,e,r)=>{"use strict";var n=r(72948);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,r,o,i,a){if(a!==n){var u=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 u.name="Invariant Violation",u}}function e(){return t}t.isRequired=t;var r={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},79401:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},79595:(t,e,r)=>{var n=r(39608),o=r(70771),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(n(t))return!1;var r=typeof t;return!!("number"==r||"symbol"==r||"boolean"==r||null==t||o(t))||a.test(t)||!i.test(t)||null!=e&&t in Object(e)}},81519:(t,e,r)=>{"use strict";r.d(e,{A:()=>i,z:()=>a});var n=r(28749),o=r(95442);function i(){var t,e,r=(0,o.A)().unknown(void 0),a=r.domain,u=r.range,c=0,l=1,s=!1,f=0,p=0,d=.5;function h(){var r=a().length,n=l<c,o=n?l:c,i=n?c:l;t=(i-o)/Math.max(1,r-f+2*p),s&&(t=Math.floor(t)),o+=(i-o-t*(r-f))*d,e=t*(1-f),s&&(o=Math.round(o),e=Math.round(e));var h=(function(t,e,r){t*=1,e*=1,r=(o=arguments.length)<2?(e=t,t=0,1):o<3?1:+r;for(var n=-1,o=0|Math.max(0,Math.ceil((e-t)/r)),i=Array(o);++n<o;)i[n]=t+n*r;return i})(r).map(function(e){return o+t*e});return u(n?h.reverse():h)}return delete r.unknown,r.domain=function(t){return arguments.length?(a(t),h()):a()},r.range=function(t){return arguments.length?([c,l]=t,c*=1,l*=1,h()):[c,l]},r.rangeRound=function(t){return[c,l]=t,c*=1,l*=1,s=!0,h()},r.bandwidth=function(){return e},r.step=function(){return t},r.round=function(t){return arguments.length?(s=!!t,h()):s},r.padding=function(t){return arguments.length?(f=Math.min(1,p=+t),h()):f},r.paddingInner=function(t){return arguments.length?(f=Math.min(1,t),h()):f},r.paddingOuter=function(t){return arguments.length?(p=+t,h()):p},r.align=function(t){return arguments.length?(d=Math.max(0,Math.min(1,t)),h()):d},r.copy=function(){return i(a(),[c,l]).round(s).paddingInner(f).paddingOuter(p).align(d)},n.C.apply(h(),arguments)}function a(){return function t(e){var r=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return t(r())},e}(i.apply(null,arguments).paddingInner(1))}},82500:(t,e,r)=>{var n=r(7985),o="object"==typeof self&&self&&self.Object===Object&&self;
1t.exports=n||o||Function("return this")()},82596:(t,e,r)=>{var n=r(38008),o=r(31431),i=r(74166);t.exports=n&&1/i(new n([,-0]))[1]==1/0?function(t){return new n(t)}:o},82661:t=>{"use strict";var e=Object.prototype.hasOwnProperty,r="~";function n(){}function o(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function i(t,e,n,i,a){if("function"!=typeof n)throw TypeError("The listener must be a function");var u=new o(n,i||t,a),c=r?r+e:e;return t._events[c]?t._events[c].fn?t._events[c]=[t._events[c],u]:t._events[c].push(u):(t._events[c]=u,t._eventsCount++),t}function a(t,e){0==--t._eventsCount?t._events=new n:delete t._events[e]}function u(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1)),u.prototype.eventNames=function(){var t,n,o=[];if(0===this._eventsCount)return o;for(n in t=this._events)e.call(t,n)&&o.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(t)):o},u.prototype.listeners=function(t){var e=r?r+t:t,n=this._events[e];if(!n)return[];if(n.fn)return[n.fn];for(var o=0,i=n.length,a=Array(i);o<i;o++)a[o]=n[o].fn;return a},u.prototype.listenerCount=function(t){var e=r?r+t:t,n=this._events[e];return n?n.fn?1:n.length:0},u.prototype.emit=function(t,e,n,o,i,a){var u=r?r+t:t;if(!this._events[u])return!1;var c,l,s=this._events[u],f=arguments.length;if(s.fn){switch(s.once&&this.removeListener(t,s.fn,void 0,!0),f){case 1:return s.fn.call(s.context),!0;case 2:return s.fn.call(s.context,e),!0;case 3:return s.fn.call(s.context,e,n),!0;case 4:return s.fn.call(s.context,e,n,o),!0;case 5:return s.fn.call(s.context,e,n,o,i),!0;case 6:return s.fn.call(s.context,e,n,o,i,a),!0}for(l=1,c=Array(f-1);l<f;l++)c[l-1]=arguments[l];s.fn.apply(s.context,c)}else{var p,d=s.length;for(l=0;l<d;l++)switch(s[l].once&&this.removeListener(t,s[l].fn,void 0,!0),f){case 1:s[l].fn.call(s[l].context);break;case 2:s[l].fn.call(s[l].context,e);break;case 3:s[l].fn.call(s[l].context,e,n);break;case 4:s[l].fn.call(s[l].context,e,n,o);break;default:if(!c)for(p=1,c=Array(f-1);p<f;p++)c[p-1]=arguments[p];s[l].fn.apply(s[l].context,c)}}return!0},u.prototype.on=function(t,e,r){return i(this,t,e,r,!1)},u.prototype.once=function(t,e,r){return i(this,t,e,r,!0)},u.prototype.removeListener=function(t,e,n,o){var i=r?r+t:t;if(!this._events[i])return this;if(!e)return a(this,i),this;var u=this._events[i];if(u.fn)u.fn!==e||o&&!u.once||n&&u.context!==n||a(this,i);else{for(var c=0,l=[],s=u.length;c<s;c++)(u[c].fn!==e||o&&!u[c].once||n&&u[c].context!==n)&&l.push(u[c]);l.length?this._events[i]=1===l.length?l[0]:l:a(this,i)}return this},u.prototype.removeAllListeners=function(t){var e;return t?(e=r?r+t:t,this._events[e]&&a(this,e)):(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},82954:t=>{t.exports=function(t,e){return t.has(e)}},83197:(t,e,r)=>{"use strict";r.d(e,{g:()=>l});var n=r(24026),o=r(12814),i=r(70788);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function c(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?u(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=a(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEac
1h(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var l=function(t){var e,r=t.children,a=t.formattedGraphicalItems,u=t.legendWidth,l=t.legendContent,s=(0,i.BU)(r,n.s);if(!s)return null;var f=n.s.defaultProps,p=void 0!==f?c(c({},f),s.props):{};return e=s.props&&s.props.payload?s.props&&s.props.payload:"children"===l?(a||[]).reduce(function(t,e){var r=e.item,n=e.props,o=n.sectors||n.data||[];return t.concat(o.map(function(t){return{type:s.props.iconType||r.props.legendType,value:t.name,color:t.fill,payload:t}}))},[]):(a||[]).map(function(t){var e=t.item,r=e.type.defaultProps,n=void 0!==r?c(c({},r),e.props):{},i=n.dataKey,a=n.name,u=n.legendType;return{inactive:n.hide,dataKey:i,type:p.iconType||u||"square",color:(0,o.Ps)(e),value:a||i,payload:n}}),c(c(c({},p),n.s.getWithHeight(s,u)),{},{payload:e,item:s})}},83540:(t,e,r)=>{"use strict";r.d(e,{u:()=>h});var n=r(52596),o=r(12115),i=r(91959),a=r.n(i),u=r(16377),c=r(675),l=r(70788);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function p(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=s(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=s(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==s(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var h=(0,o.forwardRef)(function(t,e){var r,i=t.aspect,s=t.initialDimension,f=void 0===s?{width:-1,height:-1}:s,h=t.width,y=void 0===h?"100%":h,v=t.height,m=void 0===v?"100%":v,g=t.minWidth,b=void 0===g?0:g,x=t.minHeight,w=t.maxHeight,O=t.children,j=t.debounce,S=void 0===j?0:j,A=t.id,P=t.className,E=t.onResize,k=t.style,M=(0,o.useRef)(null),T=(0,o.useRef)();T.current=E,(0,o.useImperativeHandle)(e,function(){return Object.defineProperty(M.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),M.current},configurable:!0})});var _=function(t){if(Array.isArray(t))return t}(r=(0,o.useState)({containerWidth:f.width,containerHeight:f.height}))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,l=!1;try{i=(r=r.call(t)).next,!1;for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}(r,2)||function(t,e){if(t){if("string"==typeof t)return d(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(t,e)}}(r,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),C=_[0],D=_[1],I=(0,o.useCallback)(function(t,e){D(function(r){var n=Math.round(t),o=Math.round(e);return r.containerWidth===n&&r.containerHeight===o?r:{containerWidth:n,containerHeight:o}})},[]);(0,o.useEffect)(function(){var t=function(t){var e,r=t[0].contentRect,n=r.width,o=r.height;I(n,o),null==(e=T.current)||e.call(T,n,o)};S>0&&(t=a()(t,S,{trailing:!0,leading:!1}));var e=new ResizeObserver(t),r=M.current.getBoundingClientRect();return I(r.width,r.height),e.observe(M.current),function(){e.disconnect()}},[I,S]);var N=(0,o.useMemo)(function(){var t=C.containerWidth,e=C.containerHeight;if(t<0||e<0)return null;(0,c.R)((0,u._3)(y)||(0,u._3)(m),"The width(%s) and height(%s) are both fixed numbers,\n       maybe you don't need to use a ResponsiveContainer.",y,m),(0,c.R)(!i||i>0,"The aspect(%s) must be greater than zero.",i);var r=(0,u._3)(y)?t:y,n=(0,u._3)(m)?e:m;i&&i>0&&(r?n=r/i:n&&(r=n*i),w&&n>w&&(n=w)),(0,c.R)(r>0||n>0,"The width(%s) and height(%s) of chart should be greater than 0,\n       please check the style of container, or the props width(%s) and height(%s),\n       or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n       height and width.",r,n,y,m,b,x,i);var a=!Array.isArray(O)&&(0,l.Mn)(O.type).endsWith("Chart");return o.Children.map(O,function(t){return o.isValidElement(t)?(0,o.cloneElement)(t,p({width:r,height:n},a?{style:p({height:"100%",width:"100%",maxHeight:n,maxWidth:r},t.props.style)}:{})):t})},[i,O,m,w,x,b,C,y]);return o.createElement("div",{id:A?"".concat(A):void 0,className:(0,n.A)("recharts-responsive-container",P),style:p(p({},void 0===k?{}:k),{},{width:y,height:m,minWidth:b,minHeight:x,maxHeight:w}),ref:M},N)})},83711:(t,e,r)=>{var n=r(13122),o=r(15473);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},83979:t=>{t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},84464:(t,e,r)=>{var n=r(20963),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,i,a,u){var c=1&r,l=n(t),s=l.length;if(s!=n(e).length&&!c)return!1;for(var f=s;f--;){var p=l[f];if(!(c?p in e:o.call(e,p)))return!1}var d=u.get(t),h=u.get(e);if(d&&h)return d==e&&h==t;var y=!0;u.set(t,e),u.set(e,t);for(var v=c;++f<s;){var m=t[p=l[f]],g=e[p];if(i)var b=c?i(g,m,p,e,t,u):i(m,g,p,t,e,u);if(!(void 0===b?m===g||a(m,g,r,i,u):b)){y=!1;break}v||(v="constructor"==p)}if(y&&!v){var x=t.constructor,w=e.constructor;x!=w&&"constructor"in t&&"constructor"in e&&!("function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w)&&(y=!1)}return u.delete(t),u.delete(e),y}},84760:t=>{t.exports=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}},85005:(t,e,r)=>{"use strict";r.d(e,{A:()=>A});var n=r(12115);function o(t){return"[object Object]"===Object.prototype.toString.call(t)||Array.isArray(t)}function i(t,e){let r=Object.keys(t),n=Object.keys(e);return r.length===n.length&&JSON.stringify(Object.keys(t.breakpoints||{}))===JSON.stringify(Object.keys(e.breakpoints||{}))&&r.every(r=>{let n=t[r],a=e[r];return"function"==typeof n?`${n}`==`${a}`:o(n)&&o(a)?i(n,a):n===a})}function a(t){return t.concat().sort((t,e)=>t.name>e.name?1:-1).map(t=>t.options)}function u(t){return"number"==typeof t}function c(t){return"string"==typeof t}function l(t){return"boolean"==typeof t}function s(t){return"[object Object]"===Object.prototype.toString.call(t)}function f(t){return Math.abs(t)}function p(t){return Math.sign(t)}function d(t){return m(t).map(Number)}function h(t){return t[y(t)]}function y(t){return Math.max(0,t.length-1)}function v(t,e=0){return Array.from(Array(t),(t,r)=>e+r)}function m(t){return Object.keys(t)}function g(t,e){return void 0!==e.MouseEvent&&t instanceof e.MouseEvent}function b(){let t=[],e={add:function(r,n,o,i={passive:!0}){let a;return"addEventListener"in r?(r.addEventListener(n,o,i),a=()=>r.removeEventListener(n,o,i)):(r.addListener(o),a=()=>r.removeListener(o)),t.push(a),e},clear:function(){t=t.filter(t=>t())}};return e}function x(t=0,e=0){let r=f(t-e);function n(r){return r<t||r>e}return{length:r,max:e,min:t,constrain:function(r){return n(r)?r<t?t:e:r},reachedAny:n,reachedMax:function(t){return t>e},reachedMin:function(e){return e<t},removeOffset:function(t){return r?t-r*Math.ceil((t-e)/r):t}}}function w(t){let e=t;function r(t){return u(t)?t:t.get()}return{get:function(){return e},set:function(t){e=r(t)},add:function(t){e+=r(t)},subtract:function(t){e-=r(t)}}}function O(t,e){let r="x"===t.scroll?function(t){return`translate3d(${t}px,0px,0px)`}:function(t){return`translate3d(0px,${t}px,0px)`},n=e.style,o=null,i=!1;return{clear:function(){!i&&(n.transform="",e.getAttribute("style")||e.removeAttribute("style"))},to:function(e){if(i)return;let a=Math.round(100*t.direction(e))/100;a!==o&&(n.transform=r(a),o=a)},toggleActive:function(t){i=!t}}}let j={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function S(t,e,r){let n,o,i,a,A,P=t.ownerDocument,E=P.defaultView,k=function(t){function e(t,e){return function t(e,r){return[e,r].reduce((e,r)=>(m(r).forEach(n=>{let o=e[n],i=r[n],a=s(o)&&s(i);e[n]=a?t(o,i):i}),e),{})}(t,e||{})}return{mergeOptions:e,optionsAtMedia:function(r){let n=r.breakpoints||{},o=m(n).filter(e=>t.matchMedia(e).matches).map(t=>n[t]).reduce((t,r)=>e(t,r),{});return e(r,o)},optionsMediaQueries:function(e){return e.map(t=>m(t.breakpoints||{})).reduce((t,e)=>t.concat(e),[]).map(t.matchMedia)}}}(E),M=(A=[],{init:function(t,e){return(A=e.filter(({options:t})=>
1!1!==k.optionsAtMedia(t).active)).forEach(e=>e.init(t,k)),e.reduce((t,e)=>Object.assign(t,{[e.name]:e}),{})},destroy:function(){A=A.filter(t=>t.destroy())}}),T=b(),_=function(){let t,e={},r={init:function(e){t=e},emit:function(n){return(e[n]||[]).forEach(e=>e(t,n)),r},off:function(t,n){return e[t]=(e[t]||[]).filter(t=>t!==n),r},on:function(t,n){return e[t]=(e[t]||[]).concat([n]),r},clear:function(){e={}}};return r}(),{mergeOptions:C,optionsAtMedia:D,optionsMediaQueries:I}=k,{on:N,off:R,emit:B}=_,L=!1,z=C(j,S.globalOptions),F=C(z),U=[];function W(e,r){if(L)return;F=D(z=C(z,e)),U=r||U;let{container:s,slides:j}=F;i=(c(s)?t.querySelector(s):s)||t.children[0];let S=c(j)?i.querySelectorAll(j):j;a=[].slice.call(S||i.children),n=function e(r){let n=function(t,e,r,n,o,i,a){let s,j,{align:S,axis:A,direction:P,startIndex:E,loop:k,duration:M,dragFree:T,dragThreshold:_,inViewThreshold:C,slidesToScroll:D,skipSnaps:I,containScroll:N,watchResize:R,watchSlides:B,watchDrag:L,watchFocus:z}=i,F={measure:function(t){let{offsetTop:e,offsetLeft:r,offsetWidth:n,offsetHeight:o}=t;return{top:e,right:r+n,bottom:e+o,left:r,width:n,height:o}}},U=F.measure(e),W=r.map(F.measure),H=function(t,e){let r="rtl"===e,n="y"===t,o=!n&&r?-1:1;return{scroll:n?"y":"x",cross:n?"x":"y",startEdge:n?"top":r?"right":"left",endEdge:n?"bottom":r?"left":"right",measureSize:function(t){let{height:e,width:r}=t;return n?e:r},direction:function(t){return t*o}}}(A,P),$=H.measureSize(U),V={measure:function(t){return t/100*$}},X=function(t,e){let r={start:function(){return 0},center:function(t){return(e-t)/2},end:function(t){return e-t}};return{measure:function(n,o){return c(t)?r[t](n):t(e,n,o)}}}(S,$),G=!k&&!!N,{slideSizes:q,slideSizesWithGaps:K,startGap:Y,endGap:J}=function(t,e,r,n,o,i){let{measureSize:a,startEdge:u,endEdge:c}=t,l=r[0]&&o,s=function(){if(!l)return 0;let t=r[0];return f(e[u]-t[u])}(),p=l?parseFloat(i.getComputedStyle(h(n)).getPropertyValue(`margin-${c}`)):0,d=r.map(a),v=r.map((t,e,r)=>{let n=e===y(r);return e?n?d[e]+p:r[e+1][u]-t[u]:d[e]+s}).map(f);return{slideSizes:d,slideSizesWithGaps:v,startGap:s,endGap:p}}(H,U,W,r,k||!!N,o),Z=function(t,e,r,n,o,i,a,c,l){let{startEdge:s,endEdge:p,direction:v}=t,m=u(r);return{groupSlides:function(t){return m?d(t).filter(t=>t%r==0).map(e=>t.slice(e,e+r)):t.length?d(t).reduce((r,u,l)=>{let d=h(r)||0,m=u===y(t),g=o[s]-i[d][s],b=o[s]-i[u][p],x=n||0!==d?0:v(a),w=f(b-(!n&&m?v(c):0)-(g+x));return l&&w>e+2&&r.push(u),m&&r.push(t.length),r},[]).map((e,r,n)=>{let o=Math.max(n[r-1]||0);return t.slice(o,e)}):[]}}}(H,$,D,k,U,W,Y,J,0),{snaps:Q,snapsAligned:tt}=function(t,e,r,n,o){let{startEdge:i,endEdge:a}=t,{groupSlides:u}=o,c=u(n).map(t=>h(t)[a]-t[0][i]).map(f).map(e.measure),l=n.map(t=>r[i]-t[i]).map(t=>-f(t)),s=u(l).map(t=>t[0]).map((t,e)=>t+c[e]);return{snaps:l,snapsAligned:s}}(H,X,U,W,Z),te=-h(Q)+h(K),{snapsContained:tr,scrollContainLimit:tn}=function(t,e,r,n,o){let i=x(-e+t,0),a=r.map((t,e)=>{let{min:n,max:o}=i,a=i.constrain(t),u=e===y(r);return e?u||function(t,e){return 1>=f(t-e)}(n,a)?n:function(t,e){return 1>=f(t-e)}(o,a)?o:a:o}).map(t=>parseFloat(t.toFixed(3))),u=function(){let t=a[0],e=h(a);return x(a.lastIndexOf(t),a.indexOf(e)+1)}();return{snapsContained:function(){if(e<=t+2)return[i.max];if("keepSnaps"===n)return a;let{min:r,max:o}=u;return a.slice(r,o)}(),scrollContainLimit:u}}($,te,tt,N,0),to=G?tr:tt,{limit:ti}=function(t,e,r){let n=e[0];return{limit:x(r?n-t:h(e),n)}}(te,to,k),ta=function t(e,r,n){let{constrain:o}=x(0,e),i=e+1,a=u(r);function u(t){return n?f((i+t)%i):o(t)}function c(){return t(e,a,n)}let l={get:function(){return a}
1,set:function(t){return a=u(t),l},add:function(t){return c().set(a+t)},clone:c};return l}(y(to),E,k),tu=ta.clone(),tc=d(r),tl=function(t,e,r,n){let o=b(),i=1e3/60,a=null,u=0,c=0;function l(t){if(!c)return;a||(a=t,r(),r());let o=t-a;for(a=t,u+=o;u>=i;)r(),u-=i;n(u/i),c&&(c=e.requestAnimationFrame(l))}function s(){e.cancelAnimationFrame(c),a=null,u=0,c=0}return{init:function(){o.add(t,"visibilitychange",()=>{t.hidden&&(a=null,u=0)})},destroy:function(){s(),o.clear()},start:function(){c||(c=e.requestAnimationFrame(l))},stop:s,update:r,render:n}}(n,o,()=>(({dragHandler:t,scrollBody:e,scrollBounds:r,options:{loop:n}})=>{n||r.constrain(t.pointerDown()),e.seek()})(tj),t=>(({scrollBody:t,translate:e,location:r,offsetLocation:n,previousLocation:o,scrollLooper:i,slideLooper:a,dragHandler:u,animation:c,eventHandler:l,scrollBounds:s,options:{loop:f}},p)=>{let d=t.settled(),h=!s.shouldConstrain(),y=f?d:d&&h,v=y&&!u.pointerDown();v&&c.stop();let m=r.get()*p+o.get()*(1-p);n.set(m),f&&(i.loop(t.direction()),a.loop()),e.to(n.get()),v&&l.emit("settle"),y||l.emit("scroll")})(tj,t)),ts=to[ta.get()],tf=w(ts),tp=w(ts),td=w(ts),th=w(ts),ty=function(t,e,r,n,o,i){let a=0,u=0,c=o,l=.68,s=t.get(),d=0;function h(t){return c=t,v}function y(t){return l=t,v}let v={direction:function(){return u},duration:function(){return c},velocity:function(){return a},seek:function(){let e=n.get()-t.get(),o=0;return c?(r.set(t),a+=e/c,a*=l,s+=a,t.add(a),o=s-d):(a=0,r.set(n),t.set(n),o=e),u=p(o),d=s,v},settled:function(){return .001>f(n.get()-e.get())},useBaseFriction:function(){return y(.68)},useBaseDuration:function(){return h(o)},useFriction:y,useDuration:h};return v}(tf,td,tp,th,M,.68),tv=function(t,e,r,n,o){let{reachedAny:i,removeOffset:a,constrain:u}=n;function c(t){return t.concat().sort((t,e)=>f(t)-f(e))[0]}function l(e,n){let o=[e,e+r,e-r];if(!t)return e;if(!n)return c(o);let i=o.filter(t=>p(t)===n);return i.length?c(i):h(o)-r}return{byDistance:function(r,n){let c=o.get()+r,{index:s,distance:p}=function(r){let n=t?a(r):u(r),{index:o}=e.map((t,e)=>({diff:l(t-n,0),index:e})).sort((t,e)=>f(t.diff)-f(e.diff))[0];return{index:o,distance:n}}(c),d=!t&&i(c);if(!n||d)return{index:s,distance:r};let h=r+l(e[s]-p,0);return{index:s,distance:h}},byIndex:function(t,r){let n=l(e[t]-o.get(),r);return{index:t,distance:n}},shortcut:l}}(k,to,te,ti,th),tm=function(t,e,r,n,o,i,a){function u(o){let u=o.distance,c=o.index!==e.get();i.add(u),u&&(n.duration()?t.start():(t.update(),t.render(1),t.update())),c&&(r.set(e.get()),e.set(o.index),a.emit("select"))}return{distance:function(t,e){u(o.byDistance(t,e))},index:function(t,r){let n=e.clone().set(t);u(o.byIndex(n.get(),r))}}}(tl,ta,tu,ty,tv,th,a),tg=function(t){let{max:e,length:r}=t;return{get:function(t){return r?-((t-e)/r):0}}}(ti),tb=b(),tx=function(t,e,r,n){let o,i={},a=null,u=null,c=!1;return{init:function(){o=new IntersectionObserver(t=>{c||(t.forEach(t=>{i[e.indexOf(t.target)]=t}),a=null,u=null,r.emit("slidesInView"))},{root:t.parentElement,threshold:n}),e.forEach(t=>o.observe(t))},destroy:function(){o&&o.disconnect(),c=!0},get:function(t=!0){if(t&&a)return a;if(!t&&u)return u;let e=m(i).reduce((e,r)=>{let n=parseInt(r),{isIntersecting:o}=i[n];return(t&&o||!t&&!o)&&e.push(n),e},[]);return t&&(a=e),t||(u=e),e}}}(e,r,a,C),{slideRegistry:tw}=function(t,e,r,n,o,i){let{groupSlides:a}=o,{min:u,max:c}=n;return{slideRegistry:function(){let n=a(i);return 1===r.length?[i]:t&&"keepSnaps"!==e?n.slice(u,c).map((t,e,r)=>{let n=e===y(r);return e?n?v(y(i)-h(r)[0]+1,h(r)[0]):t:v(h(r[0])+1)}):n}()}}(G,N,to,tn,Z,tc),tO=function(t,e,r,n,o,i,a,c){let s={passive:!0,capture:!0},f=0;function p(t){"Tab"===t.code&&(f=new Date().getTime())}return{init:function(d){c&&(i.add(document,"keydown",p,!1),e.forEach((e,p)=>{i.add(e,"focus",e=>{(l(c)||c(d,e))&&function(e){if(new Date().getTime()-f>10)return;a.emit("slideFocusStart"),t.scrollLeft=0;let i=r.findIndex(t=>t.includes(e));u(i)&&(o.useDuration(0),n.index(i,0),a.emit("slideFocus"))}(p)},s)}))}}}(t,r,tw,tm,ty,tb,a,z),tj={ownerDocument:n,ownerWindow:o,eventHandler:a,containerRect:U,slideRects:W,animation:tl,axis:H,dragHandler:function(t,e,r,n,o,i,a,u,c,s,d,h,y,v,m,w,O,j,S){let{cross:A,direction:P}=t,E=["INPUT","SELECT","TEXTAREA"],k={passive:!1},M=b(),T=b(),_=x(50,225).constrain(v.measure(20)),C={mouse:300,touch:400},D={mouse:500,touch:600},I=m?43:25,N=!1,R=0,B=0,L=!1,z=!1,F=!1,U=!1;function W(t){if(!g(t,n)&&t.touches.length>=2)return H(t);let e=i.readPoint(t),r=i.readPoint(t,A),a=f(e-R),c=f(r-B);if(!z&&!U&&(!t.cancelable||!(z=a>
1c)))return H(t);let l=i.pointerMove(t);a>w&&(F=!0),s.useFriction(.3).useDuration(.75),u.start(),o.add(P(l)),t.preventDefault()}function H(t){let e=d.byDistance(0,!1).index!==h.get(),r=i.pointerUp(t)*(m?D:C)[U?"mouse":"touch"],n=function(t,e){let r=h.add(-1*p(t)),n=d.byDistance(t,!m).distance;return m||f(t)<_?n:O&&e?.5*n:d.byIndex(r.get(),0).distance}(P(r),e),o=function(t,e){var r,n;if(0===t||0===e||f(t)<=f(e))return 0;let o=(r=f(t),n=f(e),f(r-n));return f(o/t)}(r,n);z=!1,L=!1,T.clear(),s.useDuration(I-10*o).useFriction(.68+o/50),c.distance(n,!m),U=!1,y.emit("pointerUp")}function $(t){F&&(t.stopPropagation(),t.preventDefault(),F=!1)}return{init:function(t){S&&M.add(e,"dragstart",t=>t.preventDefault(),k).add(e,"touchmove",()=>void 0,k).add(e,"touchend",()=>void 0).add(e,"touchstart",u).add(e,"mousedown",u).add(e,"touchcancel",H).add(e,"contextmenu",H).add(e,"click",$,!0);function u(u){(l(S)||S(t,u))&&function(t){let u=g(t,n);if((U=u,F=m&&u&&!t.buttons&&N,N=f(o.get()-a.get())>=2,!u||0===t.button)&&!function(t){let e=t.nodeName||"";return E.includes(e)}(t.target)){L=!0,i.pointerDown(t),s.useFriction(0).useDuration(0),o.set(a);let n=U?r:e;T.add(n,"touchmove",W,k).add(n,"touchend",H).add(n,"mousemove",W,k).add(n,"mouseup",H),R=i.readPoint(t),B=i.readPoint(t,A),y.emit("pointerDown")}}(u)}},destroy:function(){M.clear(),T.clear()},pointerDown:function(){return L}}}(H,t,n,o,th,function(t,e){let r,n;function o(t){return t.timeStamp}function i(r,n){let o=n||t.scroll,i=`client${"x"===o?"X":"Y"}`;return(g(r,e)?r:r.touches[0])[i]}return{pointerDown:function(t){return r=t,n=t,i(t)},pointerMove:function(t){let e=i(t)-i(n),a=o(t)-o(r)>170;return n=t,a&&(r=t),e},pointerUp:function(t){if(!r||!n)return 0;let e=i(n)-i(r),a=o(t)-o(r),u=o(t)-o(n)>170,c=e/a;return a&&!u&&f(c)>.1?c:0},readPoint:i}}(H,o),tf,tl,tm,ty,tv,ta,a,V,T,_,I,0,L),eventStore:tb,percentOfView:V,index:ta,indexPrevious:tu,limit:ti,location:tf,offsetLocation:td,previousLocation:tp,options:i,resizeHandler:function(t,e,r,n,o,i,a){let u,c,s=[t].concat(n),p=[],d=!1;function h(t){return o.measureSize(a.measure(t))}return{init:function(o){i&&(c=h(t),p=n.map(h),u=new ResizeObserver(r=>{(l(i)||i(o,r))&&function(r){for(let i of r){if(d)return;let r=i.target===t,a=n.indexOf(i.target),u=r?c:p[a];if(f(h(r?t:n[a])-u)>=.5){o.reInit(),e.emit("resize");break}}}(r)}),r.requestAnimationFrame(()=>{s.forEach(t=>u.observe(t))}))},destroy:function(){d=!0,u&&u.disconnect()}}}(e,a,o,r,H,R,F),scrollBody:ty,scrollBounds:function(t,e,r,n,o){let i=o.measure(10),a=o.measure(50),u=x(.1,.99),c=!1;function l(){return!c&&!!t.reachedAny(r.get())&&!!t.reachedAny(e.get())}return{shouldConstrain:l,constrain:function(o){if(!l())return;let c=t.reachedMin(e.get())?"min":"max",s=f(t[c]-e.get()),p=r.get()-e.get(),d=u.constrain(s/a);r.subtract(p*d),!o&&f(p)<i&&(r.set(t.constrain(r.get())),n.useDuration(25).useBaseFriction())},toggleActive:function(t){c=!t}}}(ti,td,th,ty,V),scrollLooper:function(t,e,r,n){let{reachedMin:o,reachedMax:i}=x(e.min+.1,e.max+.1);return{loop:function(e){if(!(1===e?i(r.get()):-1===e&&o(r.get())))return;let a=-1*e*t;
1n.forEach(t=>t.add(a))}}}(te,ti,td,[tf,td,tp,th]),scrollProgress:tg,scrollSnapList:to.map(tg.get),scrollSnaps:to,scrollTarget:tv,scrollTo:tm,slideLooper:function(t,e,r,n,o,i,a,u,c){let l=d(o),s=d(o).reverse(),f=y(h(s,a[0]),r,!1).concat(y(h(l,e-a[0]-1),-r,!0));function p(t,e){return t.reduce((t,e)=>t-o[e],e)}function h(t,e){return t.reduce((t,r)=>p(t,e)>0?t.concat([r]):t,[])}function y(o,a,l){let s=i.map((t,r)=>({start:t-n[r]+.5+a,end:t+e-.5+a}));return o.map(e=>{let n=l?0:-r,o=l?r:0,i=s[e][l?"end":"start"];return{index:e,loopPoint:i,slideLocation:w(-1),translate:O(t,c[e]),target:()=>u.get()>i?n:o}})}return{canLoop:function(){return f.every(({index:t})=>.1>=p(l.filter(e=>e!==t),e))},clear:function(){f.forEach(t=>t.translate.clear())},loop:function(){f.forEach(t=>{let{target:e,translate:r,slideLocation:n}=t,o=e();o!==n.get()&&(r.to(o),n.set(o))})},loopPoints:f}}(H,$,te,q,K,Q,to,td,r),slideFocus:tO,slidesHandler:(j=!1,{init:function(t){B&&(s=new MutationObserver(e=>{!j&&(l(B)||B(t,e))&&function(e){for(let r of e)if("childList"===r.type){t.reInit(),a.emit("slidesChanged");break}}(e)})).observe(e,{childList:!0})},destroy:function(){s&&s.disconnect(),j=!0}}),slidesInView:tx,slideIndexes:tc,slideRegistry:tw,slidesToScroll:Z,target:th,translate:O(H,e)};return tj}(t,i,a,P,E,r,_);return r.loop&&!n.slideLooper.canLoop()?e(Object.assign({},r,{loop:!1})):n}(F),I([z,...U.map(({options:t})=>t)]).forEach(t=>T.add(t,"change",H)),F.active&&(n.translate.to(n.location.get()),n.animation.init(),n.slidesInView.init(),n.slideFocus.init(G),n.eventHandler.init(G),n.resizeHandler.init(G),n.slidesHandler.init(G),n.options.loop&&n.slideLooper.loop(),i.offsetParent&&a.length&&n.dragHandler.init(G),o=M.init(G,U))}function H(t,e){let r=X();$(),W(C({startIndex:r},t),e),_.emit("reInit")}function $(){n.dragHandler.destroy(),n.eventStore.clear(),n.translate.clear(),n.slideLooper.clear(),n.resizeHandler.destroy(),n.slidesHandler.destroy(),n.slidesInView.destroy(),n.animation.destroy(),M.destroy(),T.clear()}function V(t,e,r){F.active&&!L&&(n.scrollBody.useBaseFriction().useDuration(!0===e?0:F.duration),n.scrollTo.index(t,r||0))}function X(){return n.index.get()}let G={canScrollNext:function(){return n.index.add(1).get()!==X()},canScrollPrev:function(){return n.index.add(-1).get()!==X()},containerNode:function(){return i},internalEngine:function(){return n},destroy:function(){L||(L=!0,T.clear(),$(),_.emit("destroy"),_.clear())},off:R,on:N,emit:B,plugins:function(){return o},previousScrollSnap:function(){return n.indexPrevious.get()},reInit:H,rootNode:function(){return t},scrollNext:function(t){V(n.index.add(1).get(),t,-1)},scrollPrev:function(t){V(n.index.add(-1).get(),t,1)},scrollProgress:function(){return n.scrollProgress.get(n.offsetLocation.get())},scrollSnapList:function(){return n.scrollSnapList},scrollTo:V,selectedScrollSnap:X,slideNodes:function(){return a},slidesInView:function(){return n.slidesInView.get()},slidesNotInView:function(){return n.slidesInView.get(!1)}};return W(e,r),setTimeout(()=>_.emit("init"),0),G}function A(t={},e=[]){let r=(0,n.useRef)(t),o=(0,n.useRef)(e),[u,c]=(0,n.useState)(),[l,s]=(0,n.useState)(),f=(0,n.useCallback)(()=>{u&&u.reInit(r.current,o.current)},[u]);return(0,n.useEffect)(()=>{i(r.current,t)||(r.current=t,f())},[t,f]),(0,n.useEffect)(()=>{!function(t,e){if(t.length!==e.length)return!1;let r=a(t),n=a(e);return r.every((t,e)=>i(t,n[e]))}(o.current,e)&&(o.current=e,f())},[e,f]),(0,n.useEffect)(()=>{if("undefined"!=typeof window&&window.document&&window.document.createElement&&l){S.globalOptions=A.globalOptions;let t=S(l,r.current,o.current);return c(t),()=>t.destroy()}c(void 0)},[l,c]),[s,u]}S.globalOptions=void 0,A.globalOptions=void 0},85090:(t,e,r)=>{var n=r(88748),o=r(6997),i=r(34210);function a(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,t.exports=a},85654:(t,e,r)=>{"use strict";function n(t){return function(){return t}}r.d(e,{A:()=>n})},85855:(t,e,r)=>{var n=r(16613);t.exports=function(t){return null==t?"":n(t)}},86216:(t,e,r)=>{t.exports=r(30716)()},86452:t=>{t.exports=function(t,e){return null!=t&&e in Object(t)}},88748:(t,e,r)=>{var n=r(10537),o=r(94999),i=r(74544),a=r(73956),u=r(5516);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,t.exports=c},89053:(t,e,r)=>{var n=r(58918),o=r(52521),i=r(13465);t.exports=function(t){return t&&t.length?n(t,i,o):void 0}},89316:(t,e,r)=>{var n=r(98233),o=r(15631),i=r(48611),a={};
vendor: 1,277 bytes, line 1
1a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&o(t.length)&&!!a[n(t)]}},90453:(t,e,r)=>{var n=r(31598);t.exports=function(){this.__data__=new n,this.size=0}},90702:(t,e,r)=>{"use strict";t.exports=r(56290)},90724:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}},90929:(t,e,r)=>{var n=r(54360),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},91113:(t,e,r)=>{var n=r(88748);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);
1var a=t.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(o.Cache||n),r}o.Cache=n,t.exports=o},91569:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}},91959:(t,e,r)=>{var n=r(45964),o=r(67460);t.exports=function(t,e,r){var i=!0,a=!0;if("function"!=typeof t)throw TypeError("Expected a function");return o(r)&&(i="leading"in r?!!r.leading:i,a="trailing"in r?!!r.trailing:a),n(t,e,{leading:i,maxWait:e,trailing:a})}},92313:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},92972:t=>{t.exports=function(t,e){return function(r){return null!=r&&r[t]===e&&(void 0!==e||t in Object(r))}}},93179:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});function n(t,e){if(!t)throw Error("Invariant failed")}},93294:(t,e,r)=>{var n=r(34711);t.exports=function(t){return function(e){return n(e,t)}}},94011:(t,e,r)=>{"use strict";r.d(e,{u:()=>v});var n=r(12115),o=r(93179),i=r(2348),a=r(70788),u=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(){return(l=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}).apply(this,arguments)}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function f(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(f=function(){return!!t})()}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function d(t,e){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function h(t,e,r){return(e=y(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function y(t){var e=function(t,e){if("object"!=c(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=c(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==c(e)?e:e+""}var v=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=p(t),function(t,e){if(e&&("object"===c(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,f()?Reflect.construct(t,e||[],p(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&d(r,t),e=[{key:"render",value:function(){var t=this.props,e=t.offset,r=t.layout,c=t.width,f=t.dataKey,p=t.data,d=t.dataPointFormatter,h=t.xAxis,y=t.yAxis,v=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)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}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,u),m=(0,a.J9)(v,!1);"x"===this.props.direction&&"number"!==h.type&&(0,o.A)(!1);var g=p.map(function(t){var o,a,u=d(t,f),p=u.x,v=u.y,g=u.value,b=u.errorVal;if(!b)return null;var x=[];if(Array.isArray(b)){var w=function(t){if(Array.isArray(t))return t}(b)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,l=!1;try{i=(r=r.call(t)).next,!1;for(;
1!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}(b,2)||function(t,e){if(t){if("string"==typeof t)return s(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(t,e)}}(b,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();o=w[0],a=w[1]}else o=a=b;if("vertical"===r){var O=h.scale,j=v+e,S=j+c,A=j-c,P=O(g-o),E=O(g+a);x.push({x1:E,y1:S,x2:E,y2:A}),x.push({x1:P,y1:j,x2:E,y2:j}),x.push({x1:P,y1:S,x2:P,y2:A})}else if("horizontal"===r){var k=y.scale,M=p+e,T=M-c,_=M+c,C=k(g-o),D=k(g+a);x.push({x1:T,y1:D,x2:_,y2:D}),x.push({x1:M,y1:C,x2:M,y2:D}),x.push({x1:T,y1:C,x2:_,y2:C})}return n.createElement(i.W,l({className:"recharts-errorBar",key:"bar-".concat(x.map(function(t){return"".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)}))},m),x.map(function(t){return n.createElement("line",l({},t,{key:"line-".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)}))}))});return n.createElement(i.W,{className:"recharts-errorBars"},g)}}],function(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,y(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.Component);h(v,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"}),h(v,"displayName","ErrorBar")},94356:(t,e,r)=>{var n=r(70771),o=1/0;t.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-o?"-0":e}},94380:(t,e,r)=>{var n=r(44101),o=r(18686),i=r(66373),a=r(38008),u=r(40382),c=r(98233),l=r(7512),s="[object Map]",f="[object Promise]",p="[object Set]",d="[object WeakMap]",h="[object DataView]",y=l(n),v=l(o),m=l(i),g=l(a),b=l(u),x=c;(n&&x(new n(new ArrayBuffer(1)))!=h||o&&x(new o)!=s||i&&x(i.resolve())!=f||a&&x(new a)!=p||u&&x(new u)!=d)&&(x=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,n=r?l(r):"";if(n)switch(n){case y:return h;case v:return s;case m:return f;case g:return p;case b:return d}return e}),t.exports=x},94517:(t,e,r)=>{"use strict";r.d(e,{m:()=>W});var n=r(12115),o=r(67206),i=r.n(o),a=r(59882),u=r.n(a),c=r(52596),l=r(16377);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(){return(f=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}).apply(this,arguments)}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function d(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function h(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?d(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=s(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=s(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==s(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function y(t){return Array.isArray(t)&&(0,l.vh)(t[0])&&(0,l.vh)(t[1])?t.join(" ~ "):t}var v=function(t){var e=t.separator,r=void 0===e?" : ":e,o=t.contentStyle,a=t.itemStyle,s=void 0===a?{}:a,d=t.labelStyle,v=t.payload,m=t.formatter,g=t.itemSorter,b=t.wrapperClassName,x=t.labelClassName,w=t.label,O=t.labelFormatter,j=t.accessibilityLayer,S=h({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},void 0===o?{}:o),A=h({margin:0},void 0===d?{}:d),P=!u()(w),E=P?w:"",k=(0,c.A)("recharts-default-tooltip",b),M=(0,c.A)("recharts-tooltip-label",x);return P&&O&&null!=v&&(E=O(w,v)),n.createElement("div",f({className:k,style:S},void 0!==j&&j?{role:"status","aria-live":"assertive"}:{}),n.createElement("p",{className:M,style:A},n.isValidElement(E)?E:"".concat(E)),function(){if(v&&v.length){var t=(g?i()(v,g):v).map(function(t,e){if("none"===t.type)return null;var o=h({display:"block",paddingTop:4,paddingBottom:4,color:t.color||"#000"},s),i=t.formatter||m||y,a=t.value,u=t.name,c=a,f=u;if(i&&null!=c&&null!=f){var d=i(a,u,t,e,v);if(Array.isArray(d)){var g=function(t){if(Array.isArray(t))return t}(d)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,l=!1;try{i=(r=r.call(t)).next,!1;for(;
1!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}(d,2)||function(t,e){if(t){if("string"==typeof t)return p(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(t,e)}}(d,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();c=g[0],f=g[1]}else c=d}return n.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(e),style:o},(0,l.vh)(f)?n.createElement("span",{className:"recharts-tooltip-item-name"},f):null,(0,l.vh)(f)?n.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,n.createElement("span",{className:"recharts-tooltip-item-value"},c),n.createElement("span",{className:"recharts-tooltip-item-unit"},t.unit||""))});return n.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},t)}return null}())};function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function g(t,e,r){var n;return(n=function(t,e){if("object"!=m(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=m(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==m(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var b="recharts-tooltip-wrapper",x={visibility:"hidden"};function w(t){var e=t.allowEscapeViewBox,r=t.coordinate,n=t.key,o=t.offsetTopLeft,i=t.position,a=t.reverseDirection,u=t.tooltipDimension,c=t.viewBox,s=t.viewBoxDimension;if(i&&(0,l.Et)(i[n]))return i[n];var f=r[n]-u-o,p=r[n]+o;return e[n]?a[n]?f:p:a[n]?f<c[n]?Math.max(p,c[n]):Math.max(f,c[n]):p+u>c[n]+s?Math.max(f,c[n]):Math.max(p,c[n])}function O(t){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function j(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function S(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?j(Object(r),!0).forEach(function(e){k(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function A(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(A=function(){return!!t})()}function P(t){return(P=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function E(t,e){return(E=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function k(t,e,r){return(e=M(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function M(t){var e=function(t,e){if("object"!=O(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=O(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==O(e)?e:e+""}var T=function(t){var e;function r(){var t,e,n;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=r,n=[].concat(i),e=P(e),k(t=function(t,e){if(e&&("object"===O(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,A()?Reflect.construct(e,n||[],P(this).constructor):e.apply(this,n)),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),k(t,"handleKeyDown",function(e){if("Escape"===e.key){var r,n,o,i;t.setState({dismissed:!0,dismissedAtCoordinate:{x:null!=(r=null==(n=t.props.coordinate)?void 0:n.x)?r:0,y:null!=(o=null==(i=t.props.coordinate)?void 0:i.y)?o:0}})}}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&E(r,t),e=[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var t=this.wrapperNode.getBoundingClientRect();(Math.abs(t.width-this.state.lastBoundingBox.width)>1||Math.abs(t.height-this.state.lastBoundingBox.height)>1)&&this.setState({lastBoundingBox:{width:t.width,height:t.height}})}else(-1!==this.state.lastBoundingBox.width||-1!==this.state.lastBoundingBox.height)&&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 t,e;this.props.active&&this.updateBBox(),this.state.dismissed&&((null==(t=this.props.coordinate)?void 0:t.x)!==this.state.dismissedAtCoordinate.x||(null==(e=this.props.coordinate)?void 0:e.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var t,e,r,o,i,a,u,s,f,p,d,h,y,v,m,O,j,A,P,E=this,k=this.props,M=k.active,T=k.allowEscapeViewBox,_=k.animationDuration,C=k.animationEasing,D=k.children,I=k.coordinate,N=k.hasPayload,R=k.isAnimationActive,B=k.offset,L=k.position,z=k.reverseDirection,F=k.useTranslate3d,U=k.viewBox,W=k.wrapperStyle,H=(h=(t={allowEscapeViewBox:T,co
1ordinate:I,offsetTopLeft:B,position:L,reverseDirection:z,tooltipBox:this.state.lastBoundingBox,useTranslate3d:F,viewBox:U}).allowEscapeViewBox,y=t.coordinate,v=t.offsetTopLeft,m=t.position,O=t.reverseDirection,j=t.tooltipBox,A=t.useTranslate3d,P=t.viewBox,j.height>0&&j.width>0&&y?(r=(e={translateX:p=w({allowEscapeViewBox:h,coordinate:y,key:"x",offsetTopLeft:v,position:m,reverseDirection:O,tooltipDimension:j.width,viewBox:P,viewBoxDimension:P.width}),translateY:d=w({allowEscapeViewBox:h,coordinate:y,key:"y",offsetTopLeft:v,position:m,reverseDirection:O,tooltipDimension:j.height,viewBox:P,viewBoxDimension:P.height}),useTranslate3d:A}).translateX,o=e.translateY,f={transform:e.useTranslate3d?"translate3d(".concat(r,"px, ").concat(o,"px, 0)"):"translate(".concat(r,"px, ").concat(o,"px)")}):f=x,{cssProperties:f,cssClasses:(a=(i={translateX:p,translateY:d,coordinate:y}).coordinate,u=i.translateX,s=i.translateY,(0,c.A)(b,g(g(g(g({},"".concat(b,"-right"),(0,l.Et)(u)&&a&&(0,l.Et)(a.x)&&u>=a.x),"".concat(b,"-left"),(0,l.Et)(u)&&a&&(0,l.Et)(a.x)&&u<a.x),"".concat(b,"-bottom"),(0,l.Et)(s)&&a&&(0,l.Et)(a.y)&&s>=a.y),"".concat(b,"-top"),(0,l.Et)(s)&&a&&(0,l.Et)(a.y)&&s<a.y)))}
1),$=H.cssClasses,V=H.cssProperties,X=S(S({transition:R&&M?"transform ".concat(_,"ms ").concat(C):void 0},V),{},{pointerEvents:"none",visibility:!this.state.dismissed&&M&&N?"visible":"hidden",position:"absolute",top:0,left:0},W);return n.createElement("div",{tabIndex:-1,className:$,style:X,ref:function(t){E.wrapperNode=t}},D)}}],function(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,M(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.PureComponent),_=r(41643),C=r(2494);function D(t){return(D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function I(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function N(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?I(Object(r),!0).forEach(function(e){z(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):I(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function R(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(R=function(){return!!t})()}function B(t){return(B=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function L(t,e){return(L=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function z(t,e,r){return(e=F(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function F(t){var e=function(t,e){if("object"!=D(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=D(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==D(e)?e:e+""}function U(t){return t.dataKey}var W=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=B(t),function(t,e){if(e&&("object"===D(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,R()?Reflect.construct(t,e||[],B(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&L(r,t),e=[{key:"render",value:function(){var t,e=this,r=this.props,o=r.active,i=r.allowEscapeViewBox,a=r.animationDuration,u=r.animationEasing,c=r.content,l=r.coordinate,s=r.filterNull,f=r.isAnimationActive,p=r.offset,d=r.payload,h=r.payloadUniqBy,y=r.position,m=r.reverseDirection,g=r.useTranslate3d,b=r.viewBox,x=r.wrapperStyle,w=null!=d?d:[];s&&w.length&&(w=(0,C.s)(d.filter(function(t){return null!=t.value&&(!0!==t.hide||e.props.includeHidden)}),h,U));var O=w.length>0;return n.createElement(T,{allowEscapeViewBox:i,animationDuration:a,animationEasing:u,isAnimationActive:f,active:o,coordinate:l,hasPayload:O,offset:p,position:y,reverseDirection:m,useTranslate3d:g,viewBox:b,wrapperStyle:x},(t=N(N({},this.props),{},{payload:w}),n.isValidElement(c)?n.cloneElement(c,t):"function"==typeof c?n.createElement(c,t):n.createElement(v,t)))}}],function(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,F(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.PureComponent);z(W,"displayName","Tooltip"),z(W,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!_.m.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:{}})},94754:(t,e,r)=>{"use strict";r.d(e,{d:()=>M});var n=r(12115),o=r(40139),i=r.n(o),a=r(675),u=r(16377),c=r(70788),l=r(12814),s=r(36447),f=r(45167),p=r(50091),d=["x1","y1","x2","y2","key"],h=["offset"];function y(t){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function m(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?v(Object(r),!0).forEach(function(e){var n,o,i;n=t,o=e,i=r[e],(o=function(t){var e=function(t,e){if("object"!=y(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=y(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==y(e)?e:e+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function g(){return(g=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}).apply(this,arguments)}function b(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)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}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var x=function(t){var e=t.fill;if(!e||"none"===e)return null;var r=t.fillOpacity,o=t.x,i=t.y,a=t.width,u=t.height,c=t.ry;return n.createElement("rect",{x:o,y:i,ry:c,width:a,height:u,stroke:"none",fill:e,fillOpacity:r,className:"recharts-cartesian-grid-bg"})};function w(t,e){var r;if(n.isValidElement(t))r=n.cloneElement(t,e);else if(i()(t))r=t(e);else{var o=e.x1,a=e.y1,u=e.x2,l=e.y2,s=e.key,f=b(e,d),p=(0,c.J9)(f,!1),y=(p.offset,b(p,h));r=n.createElement("line",g({},y,{x1:o,y1:a,x2:u,y2:l,fill:"none",key:s}))}return r}function O(t){var e=t.x,r=t.width,o=t.horizontal,i=void 0===o||o,a=t.horizontalPoints;if(!i||!a||!a.length)return null;var u=a.map(function(n,o){return w(i,m(m({},t),{},{x1:e,y1:n,x2:e+r,y2:n,key:"line-".concat(o),index:o}))});return n.createElement("g",{className:"recharts-cartesian-grid-horizontal"},u)}function j(t){var e=t.y,r=t.height,o=t.vertical,i=void 0===o||o,a=t.verticalPoints;if(!i||!a||!a.length)return null;var u=a.map(function(n,o){return w(i,m(m({},t),{},{x1:n,y1:e,x2:n,y2:e+r,key:"line-".concat(o),index:o}))});return n.createElement("g",{className:"recharts-cartesian-grid-vertical"},u)}function S(t){var e=t.horizontalFill,r=t.fillOpacity,o=t.x,i=t.y,a=t.width,u=t.height,c=t.horizontalPoints,l=t.horizontal;if(!(void 0===l||l)||!e||!e.length)return null;var s=c.map(function(t){return Math.round(t+i-i)}).sort(function(t,e){return t-e});i!==s[0]&&s.unshift(0);var f=s.map(function(t,c){var l=s[c+1]?s[c+1]-t:i+u-t;if(l<=0)return null;var f=c%e.length;return n.createElement("rect",{key:"react-".concat(c),y:t,x:o,height:l,width:a,stroke:"none",fill:e[f],fillOpacity:r,className:"recharts-cartesian-grid-bg"})});return n.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},f)}function A(t){var e=t.vertical,r=t.verticalFill,o=t.fillOpacity,i=t.x,a=t.y,u=t.width,c=t.height,l=t.verticalPoints;if(!(void 0===e||e)||!r||!r.length)return null;var s=l.map(function(t){return Math.round(t+i-i)}).sort(function(t,e){return t-e});i!==s[0]&&s.unshift(0);var f=s.map(function(t,e){var l=s[e+1]?s[e+1]-t:i+u-t;if(l<=0)return null;var f=e%r.length;return n.createElement("rect",{key:"react-".concat(e),x:t,y:a,width:l,height:c,stroke:"none",fill:r[f],fillOpacity:o,className:"recharts-cartesian-grid-bg"})});return n.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},f)}var P=function(t,e){var r=t.xAxis,n=t.width,o=t.height,i=t.offset;return(0,l.PW)((0,s.f)(m(m(m({},f.u.defaultProps),r),{},{ticks:(0,l.Rh)(r,!0),viewBox:{x:0,y:0,width:n,height:o}})),i.left,i.left+i.width,e)},E=function(t,e){var r=t.yAxis,n=t.width,o=t.height,i=t.offset;return(0,l.PW)((0,s.f)(m(m(m({},f.u.defaultProps),r),{},{ticks:(0,l.Rh)(r,!0),viewBox:{x:0,y:0,width:n,height:o}})),i.top,i.top+i.height,e)},k={horizontal:!0,vertical:!0,stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function M(t){var e,r,o,c,l,s,f=(0,p.yi)(),d=(0,p.rY)(),h=(0,p.hj)(),v=m(m({},t),{},{stroke:null!=(e=t.stroke)?e:k.stroke,fill:null!=(r=t.fill)?r:k.fill,horizontal:null!=(o=t.horizontal)?o:k.horizontal,horizontalFill:null!=(c=t.horizontalFill)?c:k.horizontalFill,vertical:null!=(l=t.vertical)?l:k.vertical,verticalFill:null!=(s=t.verticalFill)?s:k.verticalFill,x:(0,u.Et)(t.x)?t.x:h.left,y:(0,u.Et)(t.y)?t.y:h.top,width:(0,u.Et)(t.width)?t.width:h.width,height:(0,u.Et)(t.height)?t.height:h.height}),b=v.x,w=v.y,M=v.width,T=v.height,_=v.syncWithTicks,C=v.horizontalValues,D=v.verticalValues,I=(0,p.pj)(),N=(0,p.$G)();if(!(0,u.Et)(M)||M<=0||!(0,u.Et)(T)||T<=0||!(0,u.Et)(b)||b!==+b||!(0,u.Et)(w)||w!==+w)return null;var R=v.verticalCoordinatesGenerator||P,B=v.horizontalCoordinatesGenerator||E,L=v.horizontalPoints,z=v.verticalPoints;if((!L||!L.length)&&i()(B)){var F=C&&C.length,U=B({yAxis:N?m(m({},N),{},{ticks:F?C:N.ticks}):void 0,width:f,height:d,offset:h},!!F||_);(0,a.R)(Array.isArray(U),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(y(U),"]")),Array.isArray(U)&&(L=U)}if((!z||!z.length)&&i()(R)){var W=D&&D.length,H=R({xAxis:I?m(m({},I),{},{ticks:W?D:I.ticks}):void 0,width:f,height:d,offset:h},!!W||_);(0,a.R)(Array.isArray(H),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(y(H),"]")),Array.isArray(H)&&(z=H)}return n.createElement("g",{className:"recharts-cartesian-grid"},n.createElement(x,{fill:v.fill,fillOpacity:v.fillOpacity,x:v.x,y:v.y,width:v.width,height:v.height,ry:v.ry}),n.createElement(O,g({},v,{offset:h,horizontalPoints:L,xAxis:I,yAxis:N})),n.createElement(j,g({},v,{offset:h,verticalPoints:z,xAxis:I,yAxis:N})),n.createElement(S,g({},v,{horizontalPoints:L})),n.createElement(A,g({},v,{verticalPoints:z})))}
1M.displayName="CartesianGrid"},94999:(t,e,r)=>{var n=r(5658);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=!!e,e}},95056:(t,e,r)=>{"use strict";r.d(e,{L:()=>o});var n=r(12115);function o(t,e,r){(0,n.useInsertionEffect)(()=>t.on(e,r),[t,e,r])}},95442:(t,e,r)=>{"use strict";r.d(e,{A:()=>function t(){var e=new n,r=[],o=[],i=u;function c(t){let n=e.get(t);if(void 0===n){if(i!==u)return i;e.set(t,n=r.push(t)-1)}return o[n%o.length]}return c.domain=function(t){if(!arguments.length)return r.slice();for(let o of(r=[],e=new n,t))e.has(o)||e.set(o,r.push(o)-1);return c},c.range=function(t){return arguments.length?(o=Array.from(t),c):o.slice()},c.unknown=function(t){return arguments.length?(i=t,c):i},c.copy=function(){return t(r,o).unknown(i)},a.C.apply(c,arguments),c},h:()=>u});class n extends Map{constructor(t,e=i){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(let[e,r]of t)this.set(e,r)}get(t){return super.get(o(this,t))}has(t){return super.has(o(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},r){let n=e(r);return t.has(n)?t.get(n):(t.set(n,r),r)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},r){let n=e(r);return t.has(n)&&(r=t.get(n),t.delete(n)),r}(this,t))}}function o({_intern:t,_key:e},r){let n=e(r);return t.has(n)?t.get(n):r}function i(t){return null!==t&&"object"==typeof t?t.valueOf():t}var a=r(28749);let u=Symbol("implicit")},96025:(t,e,r)=>{"use strict";r.d(e,{W:()=>v});var n=r(12115),o=r(52596),i=r(50091),a=r(45167),u=r(12814);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(l=function(){return!!t})()}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function p(t,e,r){return(e=d(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function d(t){var e=function(t,e){if("object"!=c(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=c(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==c(e)?e:e+""}function h(){return(h=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}).apply(this,arguments)}function y(t){var e=t.xAxisId,r=(0,i.yi)(),c=(0,i.rY)(),l=(0,i.AF)(e);return null==l?null:n.createElement(a.u,h({},l,{className:(0,o.A)("recharts-".concat(l.axisType," ").concat(l.axisType),l.className),viewBox:{x:0,y:0,width:r,height:c},ticksGenerator:function(t){return(0,u.Rh)(t,!0)}}))}var v=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=s(t),function(t,e){if(e&&("object"===c(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,l()?Reflect.construct(t,e||[],s(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&f(r,t),e=[{key:"render",value:function(){return n.createElement(y,this.props)}}],function(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,d(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.Component);p(v,"displayName","XAxis"),p(v,"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})},96294:t=>{var e=Object.prototype;
1t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},96540:(t,e,r)=>{var n=r(31545),o=r(26151),i=r(53696),a=r(13364),u=r(20988);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,t.exports=c},96548:t=>{t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},96699:(t,e,r)=>{var n=r(51911),o=r(48973),i=r(20134),a=r(79595),u=r(32197),c=r(92972),l=r(94356);t.exports=function(t,e){return a(t)&&u(e)?c(l(t),e):function(r){var a=o(r,t);return void 0===a&&a===e?i(r,t):n(e,a,3)}}},97124:(t,e,r)=>{t.exports=r(75031)(r(62464))},97178:(t,e,r)=>{"use strict";r.d(e,{z:()=>f});var n=r(12115),o=r(30856),i=r(51508),a=r(97494),u=r(8619),c=r(14570),l=r(59210);function s(t){return"number"==typeof t?t:parseFloat(t)}function f(t,e={}){let{isStatic:r}=(0,n.useContext)(i.Q),p=(0,n.useRef)(null),d=(0,u.d)((0,c.S)(t)?s(t.get()):t),h=(0,n.useRef)(d.get()),y=(0,n.useRef)(()=>{}),v=()=>{let t=p.current;t&&0===t.time&&t.sample(l.uv.delta),m(),p.current=(0,o.L)({keyframes:[d.get(),h.current],velocity:d.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...e,onUpdate:y.current})},m=()=>{p.current&&p.current.stop()};return(0,n.useInsertionEffect)(()=>d.attach((t,e)=>r?e(t):(h.current=t,y.current=e,l.Gt.update(v),d.get()),m),[JSON.stringify(e)]),(0,a.E)(()=>{if((0,c.S)(t))return t.on("change",t=>d.set(s(t)))},[d]),d}},97494:(t,e,r)=>{"use strict";r.d(e,{E:()=>o});var n=r(12115);let o=r(68972).B?n.useLayoutEffect:n.useEffect},98233:(t,e,r)=>{var n=r(24376),o=r(20570),i=r(64439),a=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?o(t):i(t)}},99544:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var n=typeof t;return!!(r=null==r?0x1fffffffffffff:r)&&("number"==n||"symbol"!=n&&e.test(t))&&t>-1&&t%1==0&&t<r}}}]);

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.