PageSourceSearch

https://typus.finance/_next/static/chunks/4520-34bcc016bdd6b56b.js

js typus.finance collected 2026-10-04 00:06:34 UTC 350,239 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4520],{55342:function(t,e,n){"use strict";n.d(e,{Z:function(){return o},x:function(){return a}});var r=n(48348),i=n(57603);function o(){var t,e,n=(0,i.Z)().unknown(void 0),a=n.domain,u=n.range,c=0,s=1,l=!1,f=0,p=0,h=.5;function d(){var n=a().length,r=s<c,i=r?s:c,o=r?c:s;t=(o-i)/Math.max(1,n-f+2*p),l&&(t=Math.floor(t)),i+=(o-i-t*(n-f))*h,e=t*(1-f),l&&(i=Math.round(i),e=Math.round(e));var d=(function(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),o=Array(i);++r<i;)o[r]=t+r*n;return o})(n).map(function(e){return i+t*e});return u(r?d.reverse():d)}return delete n.unknown,n.domain=function(t){return arguments.length?(a(t),d()):a()},n.range=function(t){return arguments.length?([c,s]=t,c=+c,s=+s,d()):[c,s]},n.rangeRound=function(t){return[c,s]=t,c=+c,s=+s,l=!0,d()},n.bandwidth=function(){return e},n.step=function(){return t},n.round=function(t){return arguments.length?(l=!!t,d()):l},n.padding=function(t){return arguments.length?(f=Math.min(1,p=+t),d()):f},n.paddingInner=function(t){return arguments.length?(f=Math.min(1,t),d()):f},n.paddingOuter=function(t){return arguments.length?(p=+t,d()):p},n.align=function(t){return arguments.length?(h=Math.max(0,Math.min(1,t)),d()):h},n.copy=function(){return o(a(),[c,s]).round(l).paddingInner(f).paddingOuter(p).align(h)},r.o.apply(d(),arguments)}function a(){return function t(e){var n=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return t(n())},e}(o.apply(null,arguments).paddingInner(1))}},57603:function(t,e,n){"use strict";n.d(e,{O:function(){return i},Z:function(){return function t(){var e=new Map,n=[],o=[],a=i;function u(t){var r=t+"",u=e.get(r);if(!u){if(a!==i)return a;e.set(r,u=n.push(t))}return o[(u-1)%o.length]}return u.domain=function(t){if(!arguments.length)return n.slice();for(let r of(n=[],e=new Map,t)){let t=r+"";e.has(t)||e.set(t,n.push(r))}return u},u.range=function(t){return arguments.length?(o=Array.from(t),u):o.slice()},u.unknown=function(t){return arguments.length?(a=t,u):a},u.copy=function(){return t(n,o).unknown(a)},r.o.apply(u,arguments),u}}});var r=n(48348);let i=Symbol("implicit")},29887:function(t,e,n){var r;!function(i){"use strict";var o,a={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},u=!0,c="[DecimalError] ",s=c+"Invalid argument: ",l=c+"Exponent out of range: ",f=Math.floor,p=Math.pow,h=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,d=f(1286742750677284.5),y={};function v(t,e){var n,r,i,o,a,c,s,l,f=t.constructor,p=f.precision;if(!t.s||!e.s)return e.s||(e=new f(t)),u?P(e,p):e;if(s=t.d,l=e.d,a=t.e,i=e.e,s=s.slice(),o=a-i){for(o<0?(r=s,o=-o,c=l.length):(r=l,i=a,c=s.length),o>(c=(a=Math.ceil(p/7))>c?a+1:c+1)&&(o=c,r.length=1),r.reverse();o--;)r.push(0);r.reverse()}for((c=s.length)-(o=l.length)<0&&(o=c,r=l,l=s,s=r),n=0;o;)n=(s[--o]=s[o]+l[o]+n)/1e7|0,s[o]%=1e7;for(n&&(s.unshift(n),++i),c=s.length;0==s[--c];)s.pop();return e.d=s,e.e=i,u?P(e,p):e}function m(t,e,n){if(t!==~~t||t<e||t>n)throw Error(s+t)}function b(t){var e,n,r,i=t.length-1,o="",a=t[0];if(i>0){for(o+=a,e=1;e<i;e++)(n=7-(r=t[e]+"").length)&&(o+=j(n)),o+=r;(n=7-(r=(a=t[e])+"").length)&&(o+=j(n))}else if(0===a)return"0";for(;a%10==0;)a/=10;return o+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,n,r,i;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,n=(r=this.d.length)<(i=t.d.length)?r:i;e<n;++e)if(this.d[e]!==t.d[e])return this.d[e]>t.d[e]^this.s<0?1:-1;return r===i?0:r>i^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 g(this,new this.constructor(t))},y.dividedToIntegerBy=y.idiv=function(t){var e=this.constructor;return P(g(this,new e(t),0,1),e.precision)},y.equals=y.eq=function(t){return!this.cmp(t)},y.exponent=function(){return O(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,n=this.constructor,r=n.precision,i=r+5;if(void 0===t)t=new n(10);else if((t=new n(t)).s<1||t.eq(o))throw Error(c+"NaN");if(this.s<1)throw Error(c+(this.s?"NaN":"-Infinity"));return this.eq(o)?new n(0):(u=!1,e=g(S(this,i),S(t,i),i),u=!0,P(e,r))},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,n=this.constructor,r=n.precision;if(!(t=new n(t)).s)throw Error(c+"NaN");return this.s?(u=!1,e=g(this,t,0,1).times(t),u=!0,this.minus(e)):P(new n(this),r)},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,n,r;if(void 0!==t&&!!t!==t&&1!==t&&0!==t)throw Error(s+t);if(e=O(this)+1,n=7*(r=this.d.length-1)+1,r=this.d[r]){for(;r%10==0;r/=10)n--;for(r=this.d[0];r>=10;r/=10)n++}return t&&e>n?e:n},y.squareRoot=y.sqrt=function(){var t,e,n,r,i,o,a,s=this.constructor;if(this.s<1){if(!this.s)return new s(0);throw Error(c+"NaN")}for(t=O(this),u=!1,0==(i=Math.sqrt(+this))||i==1/0?(((e=b(this.d)).length+t)%2==0&&(e+="0"),i=Math.sqrt(e),t=f((t+1)/2)-(t<0||t%2),r=new s(e=i==1/0?"5e"+t:(e=i.toExponential()).slice(0,e.indexOf("e")+1)+t)):r=new s(i.toString()),i=a=(n=s.precision)+3;;)if(r=(o=r).plus(g(this,o,a+2)).times(.5),b(o.d).slice(0,a)===(e=b(r.d)).slice(0,a)){if
1(e=e.slice(a-3,a+1),i==a&&"4999"==e){if(P(o,n+1,0),o.times(o).eq(this)){r=o;break}}else if("9999"!=e)break;a+=4}return u=!0,P(r,n)},y.times=y.mul=function(t){var e,n,r,i,o,a,c,s,l,f=this.constructor,p=this.d,h=(t=new f(t)).d;if(!this.s||!t.s)return new f(0);for(t.s*=this.s,n=this.e+t.e,(s=p.length)<(l=h.length)&&(o=p,p=h,h=o,a=s,s=l,l=a),o=[],r=a=s+l;r--;)o.push(0);for(r=l;--r>=0;){for(e=0,i=s+r;i>r;)c=o[i]+h[r]*p[i-r-1]+e,o[i--]=c%1e7|0,e=c/1e7|0;o[i]=(o[i]+e)%1e7|0}for(;!o[--a];)o.pop();return e?++n:o.shift(),t.d=o,t.e=n,u?P(t,f.precision):t},y.toDecimalPlaces=y.todp=function(t,e){var n=this,r=n.constructor;return(n=new r(n),void 0===t)?n:(m(t,0,1e9),void 0===e?e=r.rounding:m(e,0,8),P(n,t+O(n)+1,e))},y.toExponential=function(t,e){var n,r=this,i=r.constructor;return void 0===t?n=k(r,!0):(m(t,0,1e9),void 0===e?e=i.rounding:m(e,0,8),n=k(r=P(new i(r),t+1,e),!0,t+1)),n},y.toFixed=function(t,e){var n,r,i=this.constructor;return void 0===t?k(this):(m(t,0,1e9),void 0===e?e=i.rounding:m(e,0,8),n=k((r=P(new i(this),t+O(this)+1,e)).abs(),!1,t+O(r)+1),this.isneg()&&!this.isZero()?"-"+n:n)},y.toInteger=y.toint=function(){var t=this.constructor;return P(new t(this),O(this)+1,t.rounding)},y.toNumber=function(){return+this},y.toPower=y.pow=function(t){var e,n,r,i,a,s,l=this,p=l.constructor,h=+(t=new p(t));if(!t.s)return new p(o);if(!(l=new p(l)).s){if(t.s<1)throw Error(c+"Infinity");return l}if(l.eq(o))return l;if(r=p.precision,t.eq(o))return P(l,r);if(s=(e=t.e)>=(n=t.d.length-1),a=l.s,s){if((n=h<0?-h:h)<=9007199254740991){for(i=new p(o),e=Math.ceil(r/7+4),u=!1;n%2&&T((i=i.times(l)).d,e),0!==(n=f(n/2));)T((l=l.times(l)).d,e);return u=!0,t.s<0?new p(o).div(i):P(i,r)}}else if(a<0)throw Error(c+"NaN");return a=a<0&&1&t.d[Math.max(e,n)]?-1:1,l.s=1,u=!1,i=t.times(S(l,r+12)),u=!0,(i=x(i)).s=a,i},y.toPrecision=function(t,e){var n,r,i=this,o=i.constructor;return void 0===t?(n=O(i),r=k(i,n<=o.toExpNeg||n>=o.toExpPos)):(m(t,1,1e9),void 0===e?e=o.rounding:m(e,0,8),n=O(i=P(new o(i),t,e)),r=k(i,t<=n||n<=o.toExpNeg,t)),r},y.toSignificantDigits=y.tosd=function(t,e){var n=this.constructor;return void 0===t?(t=n.precision,e=n.rounding):(m(t,1,1e9),void 0===e?e=n.rounding:m(e,0,8)),P(new n(this),t,e)},y.toString=y.valueOf=y.val=y.toJSON=function(){var t=O(this),e=this.constructor;return k(this,t<=e.toExpNeg||t>=e.toExpPos)};var g=function(){function t(t,e){var n,r=0,i=t.length;for(t=t.slice();i--;)n=t[i]*e+r,t[i]=n%1e7|0,r=n/1e7|0;return r&&t.unshift(r),t}function e(t,e,n,r){var i,o;if(n!=r)o=n>r?1:-1;else for(i=o=0;i<n;i++)if(t[i]!=e[i]){o=t[i]>e[i]?1:-1;break}return o}function n(t,e,n){for(var r=0;n--;)t[n]-=r,r=t[n]<e[n]?1:0,t[n]=1e7*r+t[n]-e[n];for(;!t[0]&&t.length>1;)t.shift()}return function(r,i,o,a){var u,s,l,f,p,h,d,y,v,m,b,g,x,w,j,S,A,E,k=r.constructor,T=r.s==i.s?1:-1,_=r.d,M=i.d;if(!r.s)return new k(r);if(!i.s)throw Error(c+"Division by zero");for(l=0,s=r.e-i.e,A=M.length,j=_.length,y=(d=new k(T)).d=[];M[l]==(_[l]||0);)++l;if(M[l]>(_[l]||0)&&--s,(g=null==o?o=k.precision:a?o+(O(r)-O(i))+1:o)<0)return new k(0);if(g=g/7+2|0,l=0,1==A)for(f=0,M=M[0],g++;(l<j||f)&&g--;l++)x=1e7*f+(_[l]||0),y[l]=x/M|0,f=x%M|0;else{for((f=1e7/(M[0]+1)|0)>1&&(M=t(M,f),_=t(_,f),A=M.length,j=_.length),w=A,m=(v=_.slice(0,A)).length;m<A;)v[m++]=0;(E=M.slice()).unshift(0),S=M[0],M[1]>=1e7/2&&++S;do f=0,(u=e(M,v,A,m))<0?(b=v[0],A!=m&&(b=1e7*b+(v[1]||0)),(f=b/S|0)>1?(f>=1e7&&(f=1e7-1),h=(p=t(M,f)).length,m=v.length,1==(u=e(p,v,h,m))&&(f--,n(p,A<h?E:M,h))):(0==f&&(u=f=1),p=M.slice()),(h=p.length)<m&&p.unshift(0),n(v,p,m),-1==u&&(m=v.length,(u=e(M,v,A,m))<1&&(f++,n(v,A<m?E:M,m))),m=v.length):0===u&&(f++,v=[0]),y[l++]=f,u&&v[0]?v[m++]=_[w]||0:(v=[_[w]],m=1);while((w++<j||void 0!==v[0])&&g--)}return y[0]||y.shift(),d.e=s,P(d,a?o+O(d)+1:o)}}();function x(t,e){var n,r,i,a,c,s=0,f=0,h=t.constructor,d=h.precision;if(O(t)>16)throw Error(l+O(t));if(!t.s)return new h(o);for(null==e?(u=!1,c=d):c=e,a=new h(.03125);t.abs().gte(.1);)t=t.times(a),f+=5;for(c+=Math.log(p(2,f))/Math.LN10*2+5|0,n=r=i=new h(o),h.precision=c;;){if(r=P(r.times(t),c),n=n.times(++s),b((a=i.plus(g(r,n,c))).d).slice(0,c)===b(i.d).slice(0,c)){for(;f--;)i=P(i.times(i),c);return h.precision=d,null==e?(u=!0,P(i,d)):i}i=a}}function O(t){for(var e=7*t.e,n=t.d[0];n>=10;n/=10)e++;return e}function w(t,e,n){if(e>t.LN10.sd())throw u=!0,n&&(t.precision=n),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 n,r,i,a,s,l,f,p,h,d=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(o))return new m(0);if(null==e?(u=!1,p=x):p=e,y.eq(10))return null==e&&(u=!0),w(m,p);if(p+=10,m.precision=p,r=(n=b(v)).charAt(0),!(15e14>Math.abs(a=O(y))))return f=w(m,p+2,x).times(a+""),y=S(new m(r+"."+n.slice(1)),p-10).plus(f),m.precision=x,null==e?(u=!0,P(y,x)):y;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=b((y=y.times(t)).d)).charAt(0),d++;for(a=O(y),r>1?(y=new m("0."+n),a++):y=new m(r+"."+n.slice(1)),l=s=y=g(y.minus(o),y.plus(o),p),h=P(y.times(y),p),i=3;;){if(s=P(s.times(h),p),b((f=l.plus(g(s,new m(i),p))).d).slice(0,p)===b(l.d).slice(0,p))return l=l.times(2),0!==a&&(l=l.plus(w(m,p+2,x).times(a+""))),l=g(l,new m(d),p),m.precision=x,null==e?(u=!0,P(l,x)):l;l=f,i+=2}}function A(t,e){var n,r,i;for((n=e.indexOf("."))>-1&&(e=e.replace(".","")),(r=e.search(/e/i))>0?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;48===e.charCodeAt(r);)++r;for(i=e.length;48===e.charCodeAt(i-1);)--i;if(e=e.slice(r,i)){if(i-=r,n=n-r-1,t.e=f(n/7),t.d=[],r=(n+1)%7,n<0&&(r+=7),r<i){for(r&&t.d.push(+e.slice(0,r)),i-=7;r<i;)t.d.push(+e.slice(r,r+=7));r=7-(e=e.slice(r)).length}else r-=i;for(;r--;)e+="0";if(t.d.push(+e),u&&(t.e>d||t.e<-d))throw Error(l+n)}else t.s=0,t.e=0,t.d=[0];return t}function P(t,e,n){var r,i,o,a,c,s,h,y,v=t.d;for(a=1,o=v[0];o>=10;o/=10)a++;if((r=e-a)<0)r+=7,i=e,h=v[y=0];else{if((y=Math.ceil((r+1)/7))>=(o=v.length))return t;for(a=1,h=o=v[y];o>=10;o/=10)a++;r%=7,i=r-7+a}if(void 0!==n&&(c=h/(o=p(10,a-i-1))%10|0,s=e<0||void 0!==v[y+1]||h%o,s=n<4?(c||s)&&(0==n||n==(t.s<0?3:2)):c>5||5==c&&(4==n||s||6==n&&(r>0?i>0?h/p(10,a-i):0:v[y-1])%10&1||n==(t.s<0?8:7))),e<1||!v[0])return s?(o=O(t),v.length=1,e=e-o-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==r?(v.length=y,o=1,y--):(v.length=y+1,o=p(10,7-r),v[y]=i>0?(h/p(10,a-i)%p(10,i)|0)*o:0),s)for(;;){if(0==y){1e7==(v[0]+=o)&&(v[0]=1,++t.e);break}if(v[y]+=o,1e7!=v[y])break;v[y--]=0,o=1}for(r=v.length;0===v[--r];)v.pop();if(u&&(t.e>d||t.e<-d))throw Error(l+O(t));return t}function E(t,e){var n,r,i,o,a,c,s,l,f,p,h=t.constructor,d=h.precision;if(!t.s||!e.s)return e.s?e.s=-e.s:e=new h(t),u?P(e,d):e;if(s=t.d,p=e.d,r=e.e,l=t.e,s=s.slice(),a=l-r){for((f=a<0)?(n=s,a=-a,c=p.length):(n=p,r=l,c=s.length),a>(i=Math.max(Math.ceil(d/7),c)+2)&&(a=i,n.length=1),n.reverse(),i=a;i--;)n.push(0);n.reverse()}else{for((f=(i=s.length)<(c=p.length))&&(c=i),i=0;i<c;i++)if(s[i]!=p[i]){f=s[i]<p[i];break}a=0}for(f&&(n=s,s=p,p=n,e.s=-e.s),c=s.length,i=p.length-c;i>0;--i)s[c++]=0;for(i=p.length;i>a;){if(s[--i]<p[i]){for(o=i;o&&0===s[--o];)s[o]=1e7-1;--s[o],s[i]+=1e7}s[i]-=p[i]}for(;0===s[--c];)s.pop();for(;0===s[0];s.shift())--r;return s[0]?(e.d=s,e.e=r,u?P(e,d):e):new h(0)}function k(t,e,n){var r,i=O(t),o=b(t.d),a=o.length;return e?(n&&(r=n-a)>0?o=o.charAt(0)+"."+o.slice(1)+j(r):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+j(-i-1)+o,n&&(r=n-a)>0&&(o+=j(r))):i>=a?(o+=j(i+1-a),n&&(r=n-i-1)>0&&(o=o+"."+j(r))):((r=i+1)<a&&(o=o.slice(0,r)+"."+o.slice(r)),n&&(r=n-a)>0&&(i+1===a&&(o+="."),o+=j(r))),t.s<0?"-"+o:o}function T(t,e){if(t.length>e)return t.length=e,!0}function _(t){if(!t||"object"!=typeof t)throw Error(c+"Object expected");var e,n,r,i=["precision",1,1e9,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(e=0;e<i.length;e+=3)if(void 0!==(r=t[n=i[e]])){if(f(r)===r&&r>=i[e+1]&&r<=i[e+2])this[n]=r;else throw Error(s+n+": "+r)}if(void 0!==(r=t[n="LN10"])){if(r==Math.LN10)this[n]=new this(r);else throw Error(s+n+": "+r)}return this}(a=function t(e){var n,r,i;function o(t){if(!(this instanceof o))return new o(t);if(this.constructor=o,t instanceof o){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(s+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(s+t);if(45===t.charCodeAt(0)?(t=t.slice(1),this.s=-1):this.s=1,h.test(t))A(this,t);else throw Error(s+t)}if(o.prototype=y,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.clone=t,o.config=o.set=_,void 0===e&&(e={}),e)for(n=0,i=["precision","rounding","toExpNeg","toExpPos","LN10"];n<i.length;)e.hasOwnProperty(r=i[n++])||(e[r]=this[r]);return o.config(e),o}(a)).default=a.Decimal=a,o=new a(1),void 0!==(r=(function(){return a}).call(e,n,e,t))&&(t.exports=r)}(0)},26729:function(t){"use strict";var e=Object.prototype.hasOwnProperty,n="~";function r(){}function i(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function o(t,e,r,o,a){if("function"!=typeof r)throw TypeError("The listener must be a function");var u=new i(r,o||t,a),c=n?n+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 r:delete t._events[e]}function u(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),u.prototype.eventNames=function(){var t,r,i=[];if(0===this._eventsCount)return i;for(r in t=this._events)e.call(t,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(t)):i},u.prototype.listeners=function(t){var e=n?n+t:t,r=this._events[e];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,a=Array(o);i<o;i++)a[i]=r[i].fn;return a},u.prototype.listenerCount=function(t){var e=n?n+t:t,r=this._events[e];return r?r.fn?1:r.length:0},u.prototype.emit=function(t,e,r,i,o,a){var u=n?n+t:t;if(!this._events[u])return!1;var c,s,l=this._events[u],f=arguments.length;
1if(l.fn){switch(l.once&&this.removeListener(t,l.fn,void 0,!0),f){case 1:return l.fn.call(l.context),!0;case 2:return l.fn.call(l.context,e),!0;case 3:return l.fn.call(l.context,e,r),!0;case 4:return l.fn.call(l.context,e,r,i),!0;case 5:return l.fn.call(l.context,e,r,i,o),!0;case 6:return l.fn.call(l.context,e,r,i,o,a),!0}for(s=1,c=Array(f-1);s<f;s++)c[s-1]=arguments[s];l.fn.apply(l.context,c)}else{var p,h=l.length;for(s=0;s<h;s++)switch(l[s].once&&this.removeListener(t,l[s].fn,void 0,!0),f){case 1:l[s].fn.call(l[s].context);break;case 2:l[s].fn.call(l[s].context,e);break;case 3:l[s].fn.call(l[s].context,e,r);break;case 4:l[s].fn.call(l[s].context,e,r,i);break;default:if(!c)for(p=1,c=Array(f-1);p<f;p++)c[p-1]=arguments[p];l[s].fn.apply(l[s].context,c)}}return!0},u.prototype.on=function(t,e,n){return o(this,t,e,n,!1)},u.prototype.once=function(t,e,n){return o(this,t,e,n,!0)},u.prototype.removeListener=function(t,e,r,i){var o=n?n+t:t;if(!this._events[o])return this;if(!e)return a(this,o),this;var u=this._events[o];if(u.fn)u.fn!==e||i&&!u.once||r&&u.context!==r||a(this,o);else{for(var c=0,s=[],l=u.length;c<l;c++)(u[c].fn!==e||i&&!u[c].once||r&&u[c].context!==r)&&s.push(u[c]);s.length?this._events[o]=1===s.length?s[0]:s:a(this,o)}return this},u.prototype.removeAllListeners=function(t){var e;return t?(e=n?n+t:t,this._events[e]&&a(this,e)):(this._events=new r,this._eventsCount=0),this},u.prototype.off=u.prototype.removeListener,u.prototype.addListener=u.prototype.on,u.prefixed=n,u.EventEmitter=u,t.exports=u},55400:function(t,e,n){"use strict";n.d(e,{u:function(){return B}});var r=n(67294),i=n(90512),o=n(96642),a=n(44966),u=n.n(a),c=n(73741),s=n.n(c),l=n(36064),f=n.n(l),p=n(56011),h=n.n(p),d=n(38463),y=n.n(d),v=n(59771),m=n(58343),b=n(61379),g=n(98666),x=n(59912),O=n(83038),w=n(45464),j=n(48894),S=["layout","type","stroke","connectNulls","isRange","ref"];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 P(){return(P=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function E(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function k(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?E(Object(n),!0).forEach(function(e){I(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function T(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,N(r.key),r)}}function _(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_=function(){return!!t})()}function M(t){return(M=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function C(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function D(t,e){return(D=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function I(t,e,n){return(e=N(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function N(t){var e=function(t,e){if("object"!=A(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=A(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==A(e)?e:String(e)}var B=function(t){var e,n;function a(){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,a);for(var t,e,n,r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=a,n=[].concat(i),e=M(e),t=function(t,e){if(e&&("object"===A(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return C(t)}(this,_()?Reflect.construct(e,n||[],M(this).constructor):e.apply(this,n)),I(C(t),"state",{isAnimationFinished:!0}),I(C(t),"id",(0,O.EL)("recharts-area-")),I(C(t),"handleAnimationEnd",function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),u()(e)&&e()}),I(C(t),"handleAnimationStart",function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),u()(e)&&e()}),t}return!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&D(t,e)}(a,t),e=[{key:"renderDots",value:function(t,e,n){var i=this.props.isAnimationActive,o=this.state.isAnimationFinished;if(i&&!o)return null;var u=this.props,c=u.dot,s=u.points,l=u.dataKey,f=(0,j.L6)(this.props,!1),p=(0,j.L6)(c,!0),h=s.map(function(t,e){var n=k(k(k({key:"dot-".concat(e),r:3},f),p),{},{index:e,cx:t.x,cy:t.y,dataKey:l,value:t.value,payload:t.payload,points:s});return a.renderDotItem(c,n)}),d={clipPath:t?"url(#clipPath-".concat(e?"":"dots-").concat(n,")"):null};return r.createElement(b.m,P({className:"recharts-area-dots"},d),h)}},{key:"renderHorizontalRect",value:function(t){var e=this.props,n=e.base
1Line,i=e.points,o=e.strokeWidth,a=i[0].x,u=i[i.length-1].x,c=t*Math.abs(a-u),l=s()(i.map(function(t){return t.y||0}));return((0,O.hj)(n)&&"number"==typeof n?l=Math.max(n,l):n&&Array.isArray(n)&&n.length&&(l=Math.max(s()(n.map(function(t){return t.y||0})),l)),(0,O.hj)(l))?r.createElement("rect",{x:a<u?a:a-c,y:0,width:c,height:Math.floor(l+(o?parseInt("".concat(o),10):1))}):null}},{key:"renderVerticalRect",value:function(t){var e=this.props,n=e.baseLine,i=e.points,o=e.strokeWidth,a=i[0].y,u=i[i.length-1].y,c=t*Math.abs(a-u),l=s()(i.map(function(t){return t.x||0}));return((0,O.hj)(n)&&"number"==typeof n?l=Math.max(n,l):n&&Array.isArray(n)&&n.length&&(l=Math.max(s()(n.map(function(t){return t.x||0})),l)),(0,O.hj)(l))?r.createElement("rect",{x:0,y:a<u?a:a-c,width:l+(o?parseInt("".concat(o),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,n,i){var o=this.props,a=o.layout,u=o.type,c=o.stroke,s=o.connectNulls,l=o.isRange,f=(o.ref,function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(o,S));return r.createElement(b.m,{clipPath:n?"url(#clipPath-".concat(i,")"):null},r.createElement(v.H,P({},(0,j.L6)(f,!0),{points:t,connectNulls:s,type:u,baseLine:e,layout:a,stroke:"none",className:"recharts-area-area"})),"none"!==c&&r.createElement(v.H,P({},(0,j.L6)(this.props,!1),{className:"recharts-area-curve",layout:a,type:u,connectNulls:s,fill:"none",points:t})),"none"!==c&&l&&r.createElement(v.H,P({},(0,j.L6)(this.props,!1),{className:"recharts-area-curve",layout:a,type:u,connectNulls:s,fill:"none",points:e})))}},{key:"renderAreaWithAnimation",value:function(t,e){var n=this,i=this.props,a=i.points,u=i.baseLine,c=i.isAnimationActive,s=i.animationBegin,l=i.animationDuration,p=i.animationEasing,d=i.animationId,y=this.state,v=y.prevPoints,m=y.prevBaseLine;return r.createElement(o.ZP,{begin:s,duration:l,isActive:c,easing:p,from:{t:0},to:{t:1},key:"area-".concat(d),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(i){var o=i.t;if(v){var c,s=v.length/a.length,l=a.map(function(t,e){var n=Math.floor(e*s);if(v[n]){var r=v[n],i=(0,O.k4)(r.x,t.x),a=(0,O.k4)(r.y,t.y);return k(k({},t),{},{x:i(o),y:a(o)})}return t});return c=(0,O.hj)(u)&&"number"==typeof u?(0,O.k4)(m,u)(o):f()(u)||h()(u)?(0,O.k4)(m,0)(o):u.map(function(t,e){var n=Math.floor(e*s);if(m[n]){var r=m[n],i=(0,O.k4)(r.x,t.x),a=(0,O.k4)(r.y,t.y);return k(k({},t),{},{x:i(o),y:a(o)})}return t}),n.renderAreaStatically(l,c,t,e)}return r.createElement(b.m,null,r.createElement("defs",null,r.createElement("clipPath",{id:"animationClipPath-".concat(e)},n.renderClipRect(o))),r.createElement(b.m,{clipPath:"url(#animationClipPath-".concat(e,")")},n.renderAreaStatically(a,u,t,e)))})}},{key:"renderArea",value:function(t,e){var n=this.props,r=n.points,i=n.baseLine,o=n.isAnimationActive,a=this.state,u=a.prevPoints,c=a.prevBaseLine,s=a.totalLength;return o&&r&&r.length&&(!u&&s>0||!y()(u,r)||!y()(c,i))?this.renderAreaWithAnimation(t,e):this.renderAreaStatically(r,i,t,e)}},{key:"render",value:function(){var t,e=this.props,n=e.hide,o=e.dot,a=e.points,u=e.className,c=e.top,s=e.left,l=e.xAxis,p=e.yAxis,h=e.width,d=e.height,y=e.isAnimationActive,v=e.id;if(n||!a||!a.length)return null;var m=this.state.isAnimationFinished,x=1===a.length,O=(0,i.Z)("recharts-area",u),w=l&&l.allowDataOverflow,S=p&&p.allowDataOverflow,A=w||S,P=f()(v)?this.id:v,E=null!==(t=(0,j.L6)(o,!1))&&void 0!==t?t:{r:3,strokeWidth:2},k=E.r,T=E.strokeWidth,_=((0,j.$k)(o)?o:{}).clipDot,M=void 0===_||_,C=2*(void 0===k?3:k)+(void 0===T?2:T);return r.createElement(b.m,{className:O},w||S?r.createElement("defs",null,r.createElement("clipPath",{id:"clipPath-".concat(P)},r.createElement("rect",{x:w?s:s-h/2,y:S?c:c-d/2,width:w?h:2*h,height:S?d:2*d})),!M&&r.createElement("clipPath",{id:"clipPath-dots-".concat(P)},r.createElement("rect",{x:s-C/2,y:c-C/2,width:h+C,height:d+C}))):null,x?null:this.renderArea(A,P),(o||x)&&this.renderDots(A,M,P),(!y||m)&&g.e.renderCallByParent(this.props,a))}}],n=[{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&&T(a.prototype,e),n&&T(a,n),Object.defineProperty(a,"prototype",{writable:!1}),a}(r.PureComponent);I(B,"displayName","Area"),I(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.x.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),I(B,"getBaseValue",function(t,e,n,r){var i=t.layout,o=t.baseValue,a=e.props.baseValue,u=null!=a?a:o;if((0,O.hj)(u)&&"number"==typeof u)return u;var c="horizontal"===i?r:n,s=c.scale.domain();if("number"===c.type){var l=Math.max(s[0],s[1]),f=Math.min(s[0],s[1]);return"dataMin"===u?f:"dataMax"===u?l:l<0?l:Math.max(Math.min(s[0],s[1]),0)}return"dataMin"===u?s[0]:"dataMax"===u?s[1]:s[0]}),I(B,"getComposedData",function(t){var e,n=t.props,r=t.item,i=t.xAxis,o=t.yAxis,a=t.xAxisTicks,u=t.yAxisTicks,c=t.bandSize,s=t.dataKey,l=t.stackedData,f=t.dataStartIndex,p=t.displayedData,h=t.offset,d=n.layout,y=l&&l.length,v=B.getBaseValue(n,r,i,o),m="horizontal"===d,b=!1,g=p.map(function(t,e){y?n=l[f+e]:Array.isArray(n=(0,w.F$)(t,s))?b=!0:n=[v,n];var n,r=null==n[1]||y&&null==(0,w.F$)(t,s);return m?{x:(0,w.Hv)({axis:i,ticks:a,bandSize:c,entry:t,index:e}),y:r?null:o.scale(n[1]),value:n,payload:t}:{x:r?null:i.scale(n[1]),y:(0,w.Hv)({axis:o,ticks:u,bandSize:c,entry:t,index:e}),value:n,payload:t}});return e=y||b?g.map(function(t){var e=Array.isArray(t.value)?t.value[0]:null;return m?{x:t.x,y:null!=e&&null!=t.y?o.scale(e):null}:{x:null!=e?i.scale(e):null,y:t.y}}):m?o.scale(v):i.scale(v),k({points:g,baseLine:e,layout:d,isRange:b},h)}),I(B,"renderDotItem",function(t,e){var n;if(r.isValidElement(t))n=r.cloneElement(t,e);else if(u()(t))n=t(e);else{var o=(0,i.Z)("recharts-area-dot","boolean"!=typeof t?t.className:"");n=r.createElement(m.o,P({},e,{className:o}))}return n})},46778:function(t,e,n){"use strict";n.d(e,{O:function(){return R}});var r=n(67294),i=n(44966),o=n.n(i),a=n(3573),u=n.n(a),c=n(90512),s=n(57518),l=n(61379),f=n(59886),p=n(26851),h=n(83038),d=n(68975),y=n(48894),v=n(98888),m=n(59912),b=n(86484);function g(t,e,n){if(e<1)return[];if(1===e&&void 0===n)return t;for(var r=[],i=0;i<t.length;i+=e){if(void 0!==n&&!0!==n(t[i]))return;r.push(t[i])}return r}function x(t,e,n,r,i){if(t*e<t*r||t*e>t*i)return!1;var o=n();return t*(e-t*o/2-r)>=0&&t*(e+t*o/2-i)<=0}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 w(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function j(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?w(Object(n),!0).forEach(function(e){var r,i;r=e,i=n[e],(r=function(t){var e=function(t,e){if("object"!=O(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=O(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==O(e)?e:String(e)}(r))in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var S=["viewBox"],A=["viewBox"],P=["ticks"];function E(t){return(E="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 k(){return(k=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function T(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function _(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?T(Object(n),!0).forEach(function(e){B(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function M(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function C(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,L(r.key),r)}}function D(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(D=function(){return!!t})()}function I(t){return(I=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function N(t,e){return(N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function B(t,e,n){return(e=L(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function L(t){var e=function(t,e){if("object"!=E(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=E(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==E(e)?e:String(e)}var R=function(t){var e,n;function i(t){var e,n,r;return!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i),n=i,r=[t],n=I(n),(e=function(t,e){if(e&&("object"===E(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,D()?Reflect.construct(n,r||[],I(this).constructor):n.apply(this,r))).state={fontSize:"",letterSpacing:""},e}return!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&N(t,e)}(i,t),e=[{key:"shouldComponentUpdate",value:function(t,e){var n=t.viewBox,r=M(t,S),i=this.props,o=i.viewBox,a=M(i,A);return!(0,s.w)(n,o)||!(0,s.w)(r,a)||!(0,s.w)(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,n,r,i,o,a,u=this.props,c=u.x,s=u.y,l=u.width,f=u.height,p=u.orientation,d=u.tickSize,y=u.mirror,v=u.tickMargin,m=y?-1:1,b=t.tickSize||d,g=(0,h.hj)(t.tickCoord)?t.tickCoord:t.coordinate;switch(p){case"top":e=n=t.coordinate,a=(r=(i=s+ +!y*f)-m*b)-m*v,o=g;break;case"left":r=i=t.coordinate,o=(e=(n=c+ +!y*l)-m*b)-m*v,a=g;break;case"right":r=i=t.coordinate,o=(e=(n=c+ +y*l)+m*b)+m*v,a=g;break;default:e=n=t.coordinate,a=(r=(i=s+ +y*f)+m*b)+m*v,o=g}return{line:{x1:e,y1:r,x2:n,y2:i},tick:{x:o,y:a}}}},{key:"getTickTextAnchor",value:function(){var t,e=this.props,n=e.orientation,r=e.mirror;switch(n){case"left":t=r?"start":"end";break;case"right":t=r?"end":"start";break;default:t="middle"}return t}},{key:"getTickVerticalAnchor",value:function(){var t=this.props,e=t.orientation,n=t.mirror,r="end";switch(e){case"left":case"right":r="middle";break;case"top":r=n?"start":"end";break;default:r=n?"end":"start"}return r}},{key:"renderAxisLine",value:function(){var t=this.props,e=t.x,n=t.y,i=t.width,o=t.height,a=t.orientation,s=t.mirror,l=t.axisLine,f=_(_(_({},(0,y.L6)(this.props,!1)),(0,y.L6)(l,!1)),{},{fill:"none"});if("top"===a||"bottom"===a){var p=+("top"===a&&!s||"bottom"===a&&s);f=_(_({},f),{},{x1:e,y1:n+p*o,x2:e+i,y2:n+p*o})}else{var h=+("left"===a&&!s||"right"===a&&s);f=_(_({},f),{},{x1:e+h*i,y1:n,x2:e+h*i,y2:n+o})}return r.createElement("line",k({}
1,f,{className:(0,c.Z)("recharts-cartesian-axis-line",u()(l,"className"))}))}},{key:"renderTicks",value:function(t,e,n){var a=this,s=this.props,f=s.tickLine,p=s.stroke,O=s.tick,w=s.tickFormatter,S=s.unit,A=function(t,e,n){var r,i,a,u,c,s=t.tick,l=t.ticks,f=t.viewBox,p=t.minTickGap,d=t.orientation,y=t.interval,O=t.tickFormatter,w=t.unit,S=t.angle;if(!l||!l.length||!s)return[];if((0,h.hj)(y)||m.x.isSsr)return g(l,("number"==typeof y&&(0,h.hj)(y)?y:0)+1);var A="top"===d||"bottom"===d?"width":"height",P=w&&"width"===A?(0,v.xE)(w,{fontSize:e,letterSpacing:n}):{width:0,height:0},E=function(t,r){var i,a,u=o()(O)?O(t.value,r):t.value;return"width"===A?(a={width:(i=(0,v.xE)(u,{fontSize:e,letterSpacing:n})).width+P.width,height:i.height+P.height},(0,b.xE)(a,S)):(0,v.xE)(u,{fontSize:e,letterSpacing:n})[A]},k=l.length>=2?(0,h.uY)(l[1].coordinate-l[0].coordinate):1,T=(r="width"===A,i=f.x,a=f.y,u=f.width,c=f.height,1===k?{start:r?i:a,end:r?i+u:a+c}:{start:r?i+u:a+c,end:r?i:a});return"equidistantPreserveStart"===y?function(t,e,n,r,i){for(var o,a=(r||[]).slice(),u=e.start,c=e.end,s=0,l=1,f=u;l<=a.length;)if(o=function(){var e,o=null==r?void 0:r[s];if(void 0===o)return{v:g(r,l)};var a=s,p=function(){return void 0===e&&(e=n(o,a)),e},h=o.coordinate,d=0===s||x(t,h,p,f,c);d||(s=0,f=u,l+=1),d&&(f=h+t*(p()/2+i),s+=l)}())return o.v;return[]}(k,T,E,l,p):("preserveStart"===y||"preserveStartEnd"===y?function(t,e,n,r,i,o){var a=(r||[]).slice(),u=a.length,c=e.start,s=e.end;if(o){var l=r[u-1],f=n(l,u-1),p=t*(l.coordinate+t*f/2-s);a[u-1]=l=j(j({},l),{},{tickCoord:p>0?l.coordinate-p*t:l.coordinate}),x(t,l.tickCoord,function(){return f},c,s)&&(s=l.tickCoord-t*(f/2+i),a[u-1]=j(j({},l),{},{isShow:!0}))}for(var h=o?u-1:u,d=function(e){var r,o=a[e],u=function(){return void 0===r&&(r=n(o,e)),r};if(0===e){var l=t*(o.coordinate-t*u()/2-c);a[e]=o=j(j({},o),{},{tickCoord:l<0?o.coordinate-l*t:o.coordinate})}else a[e]=o=j(j({},o),{},{tickCoord:o.coordinate});x(t,o.tickCoord,u,c,s)&&(c=o.tickCoord+t*(u()/2+i),a[e]=j(j({},o),{},{isShow:!0}))},y=0;y<h;y++)d(y);return a}(k,T,E,l,p,"preserveStartEnd"===y):function(t,e,n,r,i){for(var o=(r||[]).slice(),a=o.length,u=e.start,c=e.end,s=function(e){var r,s=o[e],l=function(){return void 0===r&&(r=n(s,e)),r};if(e===a-1){var f=t*(s.coordinate+t*l()/2-c);o[e]=s=j(j({},s),{},{tickCoord:f>0?s.coordinate-f*t:s.coordinate})}else o[e]=s=j(j({},s),{},{tickCoord:s.coordinate});x(t,s.tickCoord,l,u,c)&&(c=s.tickCoord-t*(l()/2+i),o[e]=j(j({},s),{},{isShow:!0}))},l=a-1;l>=0;l--)s(l);return o}(k,T,E,l,p)).filter(function(t){return t.isShow})}(_(_({},this.props),{},{ticks:t}),e,n),P=this.getTickTextAnchor(),E=this.getTickVerticalAnchor(),T=(0,y.L6)(this.props,!1),M=(0,y.L6)(O,!1),C=_(_({},T),{},{fill:"none"},(0,y.L6)(f,!1)),D=A.map(function(t,e){var n=a.getTickLineCoord(t),s=n.line,h=n.tick,y=_(_(_(_({textAnchor:P,verticalAnchor:E},T),{},{stroke:"none",fill:p},M),h),{},{index:e,payload:t,visibleTicksCount:A.length,tickFormatter:w});return r.createElement(l.m,k({className:"recharts-cartesian-axis-tick",key:"tick-".concat(t.value,"-").concat(t.coordinate,"-").concat(t.tickCoord)},(0,d.bw)(a.props,t,e)),f&&r.createElement("line",k({},C,s,{className:(0,c.Z)("recharts-cartesian-axis-tick-line",u()(f,"className"))})),O&&i.renderTickItem(O,y,"".concat(o()(w)?w(t.value,e):t.value).concat(S||"")))});return r.createElement("g",{className:"recharts-cartesian-axis-ticks"},D)}},{key:"render",value:function(){var t=this,e=this.props,n=e.axisLine,i=e.width,a=e.height,u=e.ticksGenerator,s=e.className;if(e.hide)return null;var f=this.props,h=f.ticks,d=M(f,P),y=h;return(o()(u)&&(y=u(h&&h.length>0?this.props:d)),i<=0||a<=0||!y||!y.length)?null:r.createElement(l.m,{className:(0,c.Z)("recharts-cartesian-axis",s),ref:function(e){t.layerReference=e}},n&&this.renderAxisLine(),this.renderTicks(y,this.state.fontSize,this.state.letterSpacing),p._.renderCallByParent(this.props))}}],n=[{key:"renderTickItem",value:function(t,e,n){return r.isValidElement(t)?r.cloneElement(t,e):o()(t)?t(e):r.createElement(f.x,k({},e,{className:"recharts-cartesian-axis-tick-value"}),n)}}],e&&C(i.prototype,e),n&&C(i,n),Object.defineProperty(i,"prototype",{writable:!1}),i}(r.Component);B(R,"displayName","CartesianAxis"),B(R,"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
1:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"})},88785:function(t,e,n){"use strict";n.d(e,{W:function(){return l}});var r=n(67294),i=n(38776),o=n(61379),a=n(48894),u=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function c(){return(c=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function l(t){var e=t.offset,n=t.layout,l=t.width,f=t.dataKey,p=t.data,h=t.dataPointFormatter,d=t.xAxis,y=t.yAxis,v=function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(t,u),m=(0,a.L6)(v,!1);"x"===t.direction&&"number"!==d.type&&(0,i.Z)(!1);var b=p.map(function(t){var i,a,u=h(t,f),p=u.x,v=u.y,b=u.value,g=u.errorVal;if(!g)return null;var x=[];if(Array.isArray(g)){var O=function(t){if(Array.isArray(t))return t}(g)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,u=[],c=!0,s=!1;try{for(o=(n=n.call(t)).next;!(c=(r=o.call(n)).done)&&(u.push(r.value),2!==u.length);c=!0);}catch(t){s=!0,i=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw i}}return u}}(g,2)||function(t,e){if(t){if("string"==typeof t)return s(t,2);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(t,2)}}(g,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]}else i=a=g;if("vertical"===n){var w=d.scale,j=v+e,S=j+l,A=j-l,P=w(b-i),E=w(b+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"===n){var k=y.scale,T=p+e,_=T-l,M=T+l,C=k(b-i),D=k(b+a);x.push({x1:_,y1:D,x2:M,y2:D}),x.push({x1:T,y1:C,x2:T,y2:D}),x.push({x1:_,y1:C,x2:M,y2:C})}return r.createElement(o.m,c({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 r.createElement("line",c({},t,{key:"line-".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)}))}))});return r.createElement(o.m,{className:"recharts-errorBars"},b)}l.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"},l.displayName="ErrorBar"},25615:function(t,e,n){"use strict";n.d(e,{K:function(){return s}});var r=n(67294),i=n(90512),o=n(96387),a=n(46778),u=n(45464);function c(){return(c=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var s=function(t){var e=t.xAxisId,n=(0,o.zn)(),s=(0,o.Mw)(),l=(0,o.bH)(e);return null==l?null:r.createElement(a.O,c({},l,{className:(0,i.Z)("recharts-".concat(l.axisType," ").concat(l.axisType),l.className),viewBox:{x:0,y:0,width:n,height:s},ticksGenerator:function(t){return(0,u.uY)(t,!0)}}))};s.displayName="XAxis",s.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}},88793:function(t,e,n){"use strict";n.d(e,{B:function(){return s}});var r=n(67294),i=n(90512),o=n(96387),a=n(46778),u=n(45464);function c(){return(c=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var s=function(t){var e=t.yAxisId,n=(0,o.zn)(),s=(0,o.Mw)(),l=(0,o.Ud)(e);return null==l?null:r.createElement(a.O,c({},l,{className:(0,i.Z)("recharts-".concat(l.axisType," ").concat(l.axisType),l.className),viewBox:{x:0,y:0,width:n,height:s},ticksGenerator:function(t){return(0,u.uY)(t,!0)}}))};s.displayName="YAxis",s.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}},64520:function(t,e,n){"use strict";n.d(e,{T:function(){return c}});var r=n(36922),i=n(55400),o=n(25615),a=n(88793),u=n(86484),c=(0,r.z)({chartName:"AreaChart",GraphicalChild:i.u,axisComponents:[{axisType:"xAxis",AxisComp:o.K},{axisType:"yAxis",AxisComp:a.B}],formatAxisMap:u.t9})},36922:function(t,e,n){"use strict";n.d(e,{z:function(){return eb}});var r=n(67294),i=n(36064),o=n.n(i),a=n(44966),u=n.n(a),c=n(37152),s=n.n(c),l=n(3573),f=n.n(l),p=n(62355),h=n.n(p),d=n(10209),y=n.n(d),v=n(90512),m=n(38776),b=n(66080),g=n(61379),x=n(24570),O=n(78042),w=n(58343),j=n(52127),S=n(48894),A=n(55342),P=n(59886),E=n(45464),k=n(83038);function T(t){return(T="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,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function M(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?_(Object(n),!0).forEach(function(e){C(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function C(t,e,n){var r;return(r=function(t,e){if("object"!=T(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=T(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==T(r)?r:String(r))in t)?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var D=["Webkit","Moz","O","ms"],I=function(t,e){if(!t)return null;var n=t.replace(/(\w)/,function(t){return t.toUpperCase()}),r=D.reduce(function(t,r){return M(M({},t),{},C({},r+n,e))},{});return r[t]=e,r};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 B(){return(B=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function L(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function R(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?L(Object(n),!0).forEach(function(e){$(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function z(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,W(r.key),r)}}function U(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(U=function(){return!!t})()}function F(t){return(F=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Z(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Y(t,e){return(Y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function $(t,e,n){return(e=W(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function W(t){var e=function(t,e){if("object"!=N(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=N(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==N(e)?e:String(e)}var X=function(t){var e=t.data,n=t.startIndex,r=t.endIndex,i=t.x,o=t.width,a=t.travellerWidth;if(!e||!e.length)return{};var u=e.length,c=(0,A.x)().domain(s()(0,u)).range([i,i+o-a]),l=c.domain().map(function(t){return c(t)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:c(n),endX:c(r),scale:c,scaleValues:l}},q=function(t){return t.changedTouches&&!!t.changedTouches.length},H=function(t){var e,n;function i(t){var e,n,r;return!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i),n=i,r=[t],n=F(n),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");return Z(t)}(this,U()?Reflect.construct(n,r||[],F(this).constructor):n.apply(this,r)),$(Z(e),"handleDrag",function(t){e.leaveTimer&&(clearTimeout(e.leaveTimer),e.leaveTimer=null),e.state.isTravellerMoving?e.handleTravellerMove(t):e.state.isSlideMoving&&e.handleSlideDrag(t)}),$(Z(e),"handleTouchMove",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleDrag(t.changedTouches[0])}),$(Z(e),"handleDragEnd",function(){e.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var t=e.props,n=t.endIndex,r=t.onDragEnd,i=t.startIndex;null==r||r({endIndex:n,startIndex:i})}),e.detachDragEndListener()}),$(Z(e),"handleLeaveWrapper",function(){(e.state.isTravellerMoving||e.state.isSlideMoving)&&(e.leaveTimer=window.setTimeout(e.handleDragEnd,e.props.leaveTimeOut))}),$(Z(e),"handleEnterSlideOrTraveller",function(){e.setState({isTextActive:!0})}),$(Z(e),"handleLeaveSlideOrTraveller",function(){e.setState({isTextActive:!1})}),$(Z(e),"handleSlideDragStart",function(t){var n=q(t)?t.changedTouches[0]:t;e.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:n.pageX}),e.attachDragEndListener()}),e.travellerDragStartHandlers={startX:e.handleTravellerDragStart.bind(Z(e),"startX"),endX:e.handleTravellerDragStart.bind(Z(e),"endX")},e.state={},e}return!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Y(t,e)}(i,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,n=t.endX,r=this.state.scaleValues,o=this.props,a=o.gap,u=o.data.length-1,c=i.getIndexInRange(r,Math.min(e,n)),s=i.getIndexInRange(r,Math.max(e,n));return{startIndex:c-c%a,endIndex:s===u?u:s-s%a}}},{key:"getTextOfTick",value:function(t){var e=this.props,n=e.data,r=e.tickFormatter,i=e.dataKey,o=(0,E.F$)(n[t],i,t);return u()(r)?r(o,t):o}},{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,n=e.slideMoveStartX,r=e.startX,i=e.endX,o=this.props,a=o.x,u=o.width,c=o.travellerWidth,s=o.startIndex,l=o.endIndex,f=o.onChange,p=t.pageX-n;p>0?p=Math.min(p,a+u-c-i,a+u-c-r):p<0&&(p=Math.max(p,a-r,a-i));var h=this.getIndex({startX:r+p,endX:i+p});(h.startIndex!==s||h.endIndex!==l)&&f&&f(h),this.setState({startX:r+p,endX:i+p,slideMoveStartX:t.pageX})}},{key:"handleTravellerDragStart",value:function(t,e){var n=q(e)?e.changedTouches[0]:e;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:t,brushMoveStartX:n.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(t){var e=this.state,n=e.brushMoveStartX,r=e.movingTravellerId,i=e.endX,o=e.startX,a=this.state[r],u=this.props,c=u.x,s=u.width,l=u.travellerWidth,f=u.onChange,p=u.gap,h=u.data,d={startX:this.state.startX,endX:this.state.endX},y=t.pageX-n;y>0?y=Math.min(y,c+s-l-a):y<0&&(y=Math.max(y,c-a)),d[r]=a+y;var v=this.getIndex(d),m=v.startIndex,b=v.endIndex,g=function(){var t=h.length-1;return"startX"===r&&(i>o?m%p==0:b%p==0)||i<o&&b===t||"endX"===r&&(i>o?b%p==0:m%p==0)||i>o&&b===t};this.setState($($({},r,a+y),"brushMoveStartX",t.pageX),function(){f&&g()&&f(v)})}},{key:"handleTravellerMoveKeyboard",value:function(t,e){var n=this,r=this.state,i=r.scaleValues,o=r.startX,a=r.endX,u=this.state[e],c=i.indexOf(u);if(-1!==c){var s=c+t;if(-1!==s&&!(s>=i.length)){var l=i[s];"startX"===e&&l>=a||"endX"===e&&l<=o||this.setState($({},e,l),function(){n.props.onChange(n.getIndex({startX:n.state.startX,endX:n.state.endX}))})}}}}
1,{key:"renderBackground",value:function(){var t=this.props,e=t.x,n=t.y,i=t.width,o=t.height,a=t.fill,u=t.stroke;return r.createElement("rect",{stroke:u,fill:a,x:e,y:n,width:i,height:o})}},{key:"renderPanorama",value:function(){var t=this.props,e=t.x,n=t.y,i=t.width,o=t.height,a=t.data,u=t.children,c=t.padding,s=r.Children.only(u);return s?r.cloneElement(s,{x:e,y:n,width:i,height:o,margin:c,compact:!0,data:a}):null}},{key:"renderTravellerLayer",value:function(t,e){var n,o,a=this,u=this.props,c=u.y,s=u.travellerWidth,l=u.height,f=u.traveller,p=u.ariaLabel,h=u.data,d=u.startIndex,y=u.endIndex,v=Math.max(t,this.props.x),m=R(R({},(0,S.L6)(this.props,!1)),{},{x:v,y:c,width:s,height:l}),b=p||"Min value: ".concat(null===(n=h[d])||void 0===n?void 0:n.name,", Max value: ").concat(null===(o=h[y])||void 0===o?void 0:o.name);return r.createElement(g.m,{tabIndex:0,role:"slider","aria-label":b,"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"}},i.renderTraveller(f,m))}},{key:"renderSlide",value:function(t,e){var n=this.props,i=n.y,o=n.height,a=n.stroke,u=n.travellerWidth;return r.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:Math.min(t,e)+u,y:i,width:Math.max(Math.abs(e-t)-u,0),height:o})}},{key:"renderText",value:function(){var t=this.props,e=t.startIndex,n=t.endIndex,i=t.y,o=t.height,a=t.travellerWidth,u=t.stroke,c=this.state,s=c.startX,l=c.endX,f={pointerEvents:"none",fill:u};return r.createElement(g.m,{className:"recharts-brush-texts"},r.createElement(P.x,B({textAnchor:"end",verticalAnchor:"middle",x:Math.min(s,l)-5,y:i+o/2},f),this.getTextOfTick(e)),r.createElement(P.x,B({textAnchor:"start",verticalAnchor:"middle",x:Math.max(s,l)+a+5,y:i+o/2},f),this.getTextOfTick(n)))}},{key:"render",value:function(){var t=this.props,e=t.data,n=t.className,i=t.children,o=t.x,a=t.y,u=t.width,c=t.height,s=t.alwaysShowText,l=this.state,f=l.startX,p=l.endX,h=l.isTextActive,d=l.isSlideMoving,y=l.isTravellerMoving,m=l.isTravellerFocused;if(!e||!e.length||!(0,k.hj)(o)||!(0,k.hj)(a)||!(0,k.hj)(u)||!(0,k.hj)(c)||u<=0||c<=0)return null;
1var b=(0,v.Z)("recharts-brush",n),x=1===r.Children.count(i),O=I("userSelect","none");return r.createElement(g.m,{className:b,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:O},this.renderBackground(),x&&this.renderPanorama(),this.renderSlide(f,p),this.renderTravellerLayer(f,"startX"),this.renderTravellerLayer(p,"endX"),(h||d||y||m||s)&&this.renderText())}}],n=[{key:"renderDefaultTraveller",value:function(t){var e=t.x,n=t.y,i=t.width,o=t.height,a=t.stroke,u=Math.floor(n+o/2)-1;return r.createElement(r.Fragment,null,r.createElement("rect",{x:e,y:n,width:i,height:o,fill:a,stroke:"none"}),r.createElement("line",{x1:e+1,y1:u,x2:e+i-1,y2:u,fill:"none",stroke:"#fff"}),r.createElement("line",{x1:e+1,y1:u+2,x2:e+i-1,y2:u+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(t,e){return r.isValidElement(t)?r.cloneElement(t,e):u()(t)?t(e):i.renderDefaultTraveller(e)}},{key:"getDerivedStateFromProps",value:function(t,e){var n=t.data,r=t.width,i=t.x,o=t.travellerWidth,a=t.updateId,u=t.startIndex,c=t.endIndex;if(n!==e.prevData||a!==e.prevUpdateId)return R({prevData:n,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:r},n&&n.length?X({data:n,width:r,x:i,travellerWidth:o,startIndex:u,endIndex:c}):{scale:null,scaleValues:null});if(e.scale&&(r!==e.prevWidth||i!==e.prevX||o!==e.prevTravellerWidth)){e.scale.range([i,i+r-o]);var s=e.scale.domain().map(function(t){return e.scale(t)});return{prevData:n,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:r,startX:e.scale(t.startIndex),endX:e.scale(t.endIndex),scaleValues:s}}return null}},{key:"getIndexInRange",value:function(t,e){for(var n=t.length,r=0,i=n-1;i-r>1;){var o=Math.floor((r+i)/2);t[o]>e?i=o:r=o}return e>=t[i]?i:r}}],e&&z(i.prototype,e),n&&z(i,n),Object.defineProperty(i,"prototype",{writable:!1}),i}(r.PureComponent);$(H,"displayName","Brush"),$(H,"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 G=n(98888),V=n(45911),K=n(26851),Q=function(t,e){var n=t.alwaysShow,r=t.ifOverflow;return n&&(r="extendDomain"),r===e},J=n(86484),tt=n(22073);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 tn(){return(tn=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function tr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function ti(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?tr(Object(n),!0).forEach(function(e){var r,i;r=e,i=n[e],(r=function(t){var e=function(t,e){if("object"!=te(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=te(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==te(e)?e:String(e)}(r))in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):tr(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var to=function(t){var e=t.x,n=t.y,r=t.xAxis,i=t.yAxis,o=(0,J.Ky)({x:r.scale,y:i.scale}),a=o.apply({x:e,y:n},{bandAware:!0});return Q(t,"discard")&&!o.isInRange(a)?null:a};function ta(t){var e=t.x,n=t.y,i=t.r,o=t.alwaysShow,a=t.clipPathId,u=(0,k.P2)(e),c=(0,k.P2)(n);if((0,tt.Z)(void 0===o,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!u||!c)return null;var s=to(t);if(!s)return null;var l=s.x,f=s.y,p=t.shape,h=t.className,d=ti(ti({clipPath:Q(t,"hidden")?"url(#".concat(a,")"):void 0},(0,S.L6)(t,!0)),{},{cx:l,cy:f});return r.createElement(g.m,{className:(0,v.Z)("recharts-reference-dot",h)},ta.renderDot(p,d),K._.renderCallByParent(t,{x:l-i,y:f-i,width:2*i,height:2*i}))}ta.displayName="ReferenceDot",ta.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1},ta.renderDot=function(t,e){return r.isValidElement(t)?r.cloneElement(t,e):u()(t)?t(e):r.createElement(w.o,tn({},e,{cx:e.cx,cy:e.cy,className:"recharts-reference-dot-dot"}))};var tu=n(77763),tc=n.n(tu),ts=n(96387);function tl(t){return(tl="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 tf(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function tp(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?tf(Object(n),!0).forEach(function(e){var r,i;r=e,i=n[e],(r=function(t){var e=function(t,e){if("object"!=tl(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=tl(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tl(e)?e:String(e)}(r))in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):tf(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function th(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function td(){return(td=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var ty=function(t,e,n,r,i,o,a,u,c){var s=i.x,l=i.y,f=i.width,p=i.height;if(n){var h=c.y,d=t.y.apply(h,{position:o});if(Q(c,"discard")&&!t.y.isInRange(d))return null;var y=[{x:s+f,y:d},{x:s,y:d}];return"left"===u?y.reverse():y}if(e){var v=c.x,m=t.x.apply(v,{position:o});if(Q(c,"discard")&&!t.x.isInRange(m))return null;var b=[{x:m,y:l+p},{x:m,y:l}];return"top"===a?b.reverse():b}if(r){var g=c.segment.map(function(e){return t.apply(e,{position:o})});return Q(c,"discard")&&tc()(g,function(e){return!t.isInRange(e)})?null:g}return null};function tv(t){var e,n,i=t.x,o=t.y,a=t.segment,c=t.xAxisId,s=t.yAxisId,l=t.shape,f=t.className,p=t.alwaysShow,h=(0,ts.sp)(),d=(0,ts.bH)(c),y=(0,ts.Ud)(s),m=(0,ts.d2)();if(!h||!m)return null;(0,tt.Z)(void 0===p,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var b=ty((0,J.Ky)({x:d.scale,y:y.scale}),(0,k.P2)(i),(0,k.P2)(o),a&&2===a.length,m,t.position,d.orientation,y.orientation,t);if(!b)return null;var x=function(t){if(Array.isArray(t))return t}(b)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,u=[],c=!0,s=!1;try{for(o=(n=n.call(t)).next;!(c=(r=o.call(n)).done)&&(u.push(r.value),2!==u.length);c=!0);}catch(t){s=!0,i=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw i}}return u}}(b,2)||function(t,e){if(t){if("string"==typeof t)return th(t,2);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return th(t,2)}}(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=x[0],w=O.x,j=O.y,A=x[1],P=A.x,E=A.y,T=tp(tp({clipPath:Q(t,"hidden")?"url(#".concat(h,")"):void 0},(0,S.L6)(t,!0)),{},{x1:w,y1:j,x2:P,y2:E});return r.createElement(g.m,{className:(0,v.Z)("recharts-reference-line",f)},(e=l,n=T,r.isValidElement(e)?r.cloneElement(e,n):u()(e)?e(n):r.createElement("line",td({},n,{className:"recharts-reference-line-line"}))),K._.renderCallByParent(t,(0,J._b)({x1:w,y1:j,x2:P,y2:E})))}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 tb(){return(tb=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function tg(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function tx(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?tg(Object(n),!0).forEach(function(e){var r,i;r=e,i=n[e],(r=function(t){var e=function(t,e){if("object"!=tm(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=tm(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==tm(e)?e:String(e)}(r))in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):tg(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}tv.displayName="ReferenceLine",tv.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"};var tO=function(t,e,n,r,i){var o=i.x1,a=i.x2,u=i.y1,c=i.y2,s=i.xAxis,l=i.yAxis;if(!s||!l)return null;var f=(0,J.Ky)({x:s.scale,y:l.scale}),p={x:t?f.x.apply(o,{position:"start"}):f.x.rangeMin,y:n?f.y.apply(u,{position:"start"}):f.y.rangeMin},h={x:e?f.x.apply(a,{position:"end"}):f.x.rangeMax,y:r?f.y.apply(c,{position:"end"}):f.y.rangeMax};return!Q(i,"discard")||f.isInRange(p)&&f.isInRange(h)?(0,J.O1)(p,h):null};function tw(t){var e=t.x1,n=t.x2,i=t.y1,o=t.y2,a=t.className,u=t.alwaysShow,c=t.clipPathId;(0,tt.Z)(void 0===u,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var s=(0,k.P2)(e),l=(0,k.P2)(n),f=(0,k.P2)(i),p=(0,k.P2)(o),h=t.shape;if(!s&&!l&&!f&&!p&&!h)return null;var d=tO(s,l,f,p,t);if(!d&&!h)return null;var y=Q(t,"hidden")?"url(#".concat(c,")"):void 0;return r.createElement(g.m,{className:(0,v.Z)("recharts-reference-area",a)},tw.renderRect(h,tx(tx({clipPath:y},(0,S.L6)(t,!0)),d)),K._.renderCallByParent(t,d))}function tj(t){return function(t){if(Array.isArray(t))return tS(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 tS(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tS(t,void 0)}}(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 tS(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}tw.displayName="ReferenceArea",tw.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1},tw.renderRect=function(t,e){return r.isValidElement(t)?r.cloneElement(t,e):u()(t)?t(e):r.createElement(j.A,tb({},e,{className:"recharts-reference-area-rect"}))};var tA=function(t,e,n,r,i){var o=(0,S.NN)(t,tv),a=(0,S.NN)(t,ta),u=[].concat(tj(o),tj(a)),c=(0,S.NN)(t,tw),s="".concat(r,"Id"),l=r[0],f=e;if(u.length&&(f=u.reduce(function(t,e){if(e.props[s]===n&&Q(e.props,"extendDomain")&&(0,k.hj)(e.props[l])){var r=e.props[l];return[Math.min(t[0],r),Math.max(t[1],r)]}return t},f)),c.length){var p="".concat(l,"1"),h="".concat(l,"2");f=c.reduce(function(t,e){if(e.props[s]===n&&Q(e.props,"extendDomain")&&(0,k.hj)(e.props[p])&&(0,k.hj)(e.props[h])){var r=e.props[p],i=e.props[h];return[Math.min(t[0],r,i),Math.max(t[1],r,i)]}return t},f)}return i&&i.length&&(f=i.reduce(function(t,e){return(0,k.hj)(e)?[Math.min(t[0],e),Math.max(t[1],e)]:t},f)),f},tP=n(70522),tE=n(57518),tk=n(26729),tT=new(n.n(tk)()),t_="recharts.syncMouseEvents",tM=n(68975);function tC(t){return(tC="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 tD(t,e,n){return(e=tI(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tI(t){var e=function(t,e){if("object"!=tC(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=tC(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tC(e)?e:String(e)}var tN=function(){var t;function e(){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,e),tD(this,"activeIndex",0),tD(this,"coordinateList",[]),tD(this,"layout","horizontal")}return t=[{key:"setDetails",value:function(t){var e,n=t.coordinateList,r=void 0===n?null:n,i=t.container,o=void 0===i?null:i,a=t.layout,u=void 0===a?null:a,c=t.offset,s=void 0===c?null:c,l=t.mouseHandlerCallback,f=void 0===l?null:l;this.coordinateList=null!==(e=null!=r?r:this.coordinateList)&&void 0!==e?e:[],this.container=null!=o?o:this.container,this.layout=null!=u?u:this.layout,this.offset=null!=s?s: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,n=this.container.getBoundingClientRect(),r=n.x,i=n.y,o=n.height,a=this.coordinateList[this.activeIndex].coordinate,u=(null===(t=window)||void 0===t?void 0:t.scrollX)||0,c=(null===(e=window)||void 0===e?void 0:e.scrollY)||0,s=i+this.offset.top+o/2+c;this.mouseHandlerCallback({pageX:r+a+u,pageY:s})}}}],function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,tI(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(),tB=n(18383),tL=n(59771);function tR(t){return(tR="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 tz=["x","y","top","left","width","height","className"];function tU(){return(tU=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function tF(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}var tZ=function(t){var e=t.x,n=void 0===e?0:e,i=t.y,o=void 0===i?0:i,a=t.to
1p,u=void 0===a?0:a,c=t.left,s=void 0===c?0:c,l=t.width,f=void 0===l?0:l,p=t.height,h=void 0===p?0:p,d=t.className,y=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?tF(Object(n),!0).forEach(function(e){var r,i;r=e,i=n[e],(r=function(t){var e=function(t,e){if("object"!=tR(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=tR(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tR(e)?e:String(e)}(r))in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):tF(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({x:n,y:o,top:u,left:s,width:f,height:h},function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(t,tz));return(0,k.hj)(n)&&(0,k.hj)(o)&&(0,k.hj)(f)&&(0,k.hj)(h)&&(0,k.hj)(u)&&(0,k.hj)(s)?r.createElement("path",tU({},(0,S.L6)(y,!0),{className:(0,v.Z)("recharts-cross",d),d:"M".concat(n,",").concat(u,"v").concat(h,"M").concat(s,",").concat(o,"h").concat(f)})):null};function tY(t){var e=t.cx,n=t.cy,r=t.radius,i=t.startAngle,o=t.endAngle;return{points:[(0,tP.op)(e,n,r,i),(0,tP.op)(e,n,r,o)],cx:e,cy:n,radius:r,startAngle:i,endAngle:o}}var t$=n(65935);function tW(t){return(tW="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 tX(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function tq(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?tX(Object(n),!0).forEach(function(e){var r,i;r=e,i=n[e],(r=function(t){var e=function(t,e){if("object"!=tW(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=tW(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tW(e)?e:String(e)}(r))in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):tX(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function tH(t){var e,n,i=t.element,o=t.tooltipEventType,a=t.isActive,u=t.activeCoordinate,c=t.activePayload,s=t.offset,l=t.activeTooltipIndex,f=t.tooltipAxisBandSize,p=t.layout,h=t.chartName;if(!i||!i.props.cursor||!a||!u||"ScatterChart"!==h&&"axis"!==o)return null;var d=tL.H;if("ScatterChart"===h)n=u,d=tZ;else if("BarChart"===h)e=f/2,n={stroke:"none",fill:"#ccc",x:"horizontal"===p?u.x-e:s.left+.5,y:"horizontal"===p?s.top+.5:u.y-e,width:"horizontal"===p?f:s.width-1,height:"horizontal"===p?s.height-1:f},d=j.A;else if("radial"===p){var y=tY(u),m=y.cx,b=y.cy,g=y.radius;n={cx:m,cy:b,startAngle:y.startAngle,endAngle:y.endAngle,innerRadius:g,outerRadius:g},d=t$.L}else n={points:function(t,e,n){var r,i,o,a;if("horizontal"===t)o=r=e.x,i=n.top,a=n.top+n.height;else if("vertical"===t)a=i=e.y,r=n.left,o=n.left+n.width;else if(null!=e.cx&&null!=e.cy){if("centric"!==t)return tY(e);var u=e.cx,c=e.cy,s=e.innerRadius,l=e.outerRadius,f=e.angle,p=(0,tP.op)(u,c,s,f),h=(0,tP.op)(u,c,l,f);r=p.x,i=p.y,o=h.x,a=h.y}return[{x:r,y:i},{x:o,y:a}]}(p,u,s)},d=tL.H;var x=tq(tq(tq(tq({stroke:"#ccc",pointerEvents:"none"},s),n),(0,S.L6)(i.props.cursor,!1)),{},{payload:c,payloadIndex:l,className:(0,v.Z)("recharts-tooltip-cursor",i.props.cursor.className)});return(0,r.isValidElement)(i.props.cursor)?(0,r.cloneElement)(i.props.cursor,x):(0,r.createElement)(d,x)}var tG=["item"],tV=["children","className","width","height","style","compact","title","desc"];function tK(t){return(tK="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 tQ(){return(tQ=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function tJ(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,u=[],c=!0,s=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;
1!(c=(r=o.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){s=!0,i=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw i}}return u}}(t,e)||t8(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 t0(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function t1(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(t1=function(){return!!t})()}function t2(t){return(t2=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function t6(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function t3(t,e){return(t3=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function t4(t){return function(t){if(Array.isArray(t))return t7(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||t8(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 t8(t,e){if(t){if("string"==typeof t)return t7(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return t7(t,e)}}function t7(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function t9(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function t5(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?t9(Object(n),!0).forEach(function(e){et(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):t9(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function et(t,e,n){return(e=ee(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ee(t){var e=function(t,e){if("object"!=tK(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=tK(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tK(e)?e:String(e)}var en={xAxis:["bottom","top"],yAxis:["left","right"]},er={width:"100%",height:"100%"},ei={x:0,y:0};function eo(t){return t}var ea=function(t,e,n,r){var i=e.find(function(t){return t&&t.index===n});if(i){if("horizontal"===t)return{x:i.coordinate,y:r.y};if("vertical"===t)return{x:r.x,y:i.coordinate};if("centric"===t){var o=i.coordinate,a=r.radius;return t5(t5(t5({},r),(0,tP.op)(r.cx,r.cy,a,o)),{},{angle:o,radius:a})}var u=i.coordinate,c=r.angle;return t5(t5(t5({},r),(0,tP.op)(r.cx,r.cy,u,c)),{},{angle:c,radius:u})}return ei},eu=function(t,e){var n=e.graphicalItems,r=e.dataStartIndex,i=e.dataEndIndex,o=(null!=n?n:[]).reduce(function(t,e){var n=e.props.data;return n&&n.length?[].concat(t4(t),t4(n)):t},[]);return o.length>0?o:t&&t.length&&(0,k.hj)(r)&&(0,k.hj)(i)?t.slice(r,i+1):[]};function ec(t){return"number"===t?[0,"auto"]:void 0}var es=function(t,e,n,r){var i=t.graphicalItems,o=t.tooltipAxis,a=eu(e,t);return n<0||!i||!i.length||n>=a.length?null:i.reduce(function(i,u){var c,s,l=null!==(c=u.props.data)&&void 0!==c?c:e;if(l&&t.dataStartIndex+t.dataEndIndex!==0&&(l=l.slice(t.dataStartIndex,t.dataEndIndex+1)),o.dataKey&&!o.allowDuplicatedCategory){var f=void 0===l?a:l;s=(0,k.Ap)(f,o.dataKey,r)}else s=l&&l[n]||a[n];return s?[].concat(t4(i),[(0,E.Qo)(u,s)]):i},[])},el=function(t,e,n,r){var i=r||{x:t.chartX,y:t.chartY},o="horizontal"===n?i.x:"vertical"===n?i.y:"centric"===n?i.angle:i.radius,a=t.orderedTooltipTicks,u=t.tooltipAxis,c=t.tooltipTicks,s=(0,E.VO)(o,a,c,u);if(s>=0&&c){var l=c[s]&&c[s].value,f=es(t,e,s,l),p=ea(n,a,s,i);return{activeTooltipIndex:s,activeLabel:l,activePayload:f,activeCoordinate:p}}return null}
1,ef=function(t,e){var n=e.axes,r=e.graphicalItems,i=e.axisType,a=e.axisIdKey,u=e.stackGroups,c=e.dataStartIndex,l=e.dataEndIndex,f=t.layout,p=t.children,h=t.stackOffset,d=(0,E.NA)(f,i);return n.reduce(function(e,n){var y=n.props,v=y.type,m=y.dataKey,b=y.allowDataOverflow,g=y.allowDuplicatedCategory,x=y.scale,O=y.ticks,w=y.includeHidden,j=n.props[a];if(e[j])return e;var S=eu(t.data,{graphicalItems:r.filter(function(t){return t.props[a]===j}),dataStartIndex:c,dataEndIndex:l}),A=S.length;(function(t,e,n){if("number"===n&&!0===e&&Array.isArray(t)){var r=null==t?void 0:t[0],i=null==t?void 0:t[1];if(r&&i&&(0,k.hj)(r)&&(0,k.hj)(i))return!0}return!1})(n.props.domain,b,v)&&(_=(0,E.LG)(n.props.domain,null,b),d&&("number"===v||"auto"!==x)&&(C=(0,E.gF)(S,m,"category")));var P=ec(v);if(!_||0===_.length){var T,_,M,C,D,I=null!==(D=n.props.domain)&&void 0!==D?D:P;if(m){if(_=(0,E.gF)(S,m,v),"category"===v&&d){var N=(0,k.bv)(_);g&&N?(M=_,_=s()(0,A)):g||(_=(0,E.ko)(I,_,n).reduce(function(t,e){return t.indexOf(e)>=0?t:[].concat(t4(t),[e])},[]))}else if("category"===v)_=g?_.filter(function(t){return""!==t&&!o()(t)}):(0,E.ko)(I,_,n).reduce(function(t,e){return t.indexOf(e)>=0||""===e||o()(e)?t:[].concat(t4(t),[e])},[]);else if("number"===v){var B=(0,E.ZI)(S,r.filter(function(t){return t.props[a]===j&&(w||!t.props.hide)}),m,i,f);B&&(_=B)}d&&("number"===v||"auto"!==x)&&(C=(0,E.gF)(S,m,"category"))}else _=d?s()(0,A):u&&u[j]&&u[j].hasStack&&"number"===v?"expand"===h?[0,1]:(0,E.EB)(u[j].stackGroups,c,l):(0,E.s6)(S,r.filter(function(t){return t.props[a]===j&&(w||!t.props.hide)}),v,f,!0);"number"===v?(_=tA(p,_,j,i,O),I&&(_=(0,E.LG)(I,_,b))):"category"===v&&I&&_.every(function(t){return I.indexOf(t)>=0})&&(_=I)}return t5(t5({},e),{},et({},j,t5(t5({},n.props),{},{axisType:i,domain:_,categoricalDomain:C,duplicateDomain:M,originalDomain:null!==(T=n.props.domain)&&void 0!==T?T:P,isCategorical:d,layout:f})))},{})},ep=function(t,e){var n=e.graphicalItems,r=e.Axis,i=e.axisType,o=e.axisIdKey,a=e.stackGroups,u=e.dataStartIndex,c=e.dataEndIndex,l=t.layout,p=t.children,h=eu(t.data,{graphicalItems:n,dataStartIndex:u,dataEndIndex:c}),d=h.length,y=(0,E.NA)(l,i),v=-1;return n.reduce(function(t,e){var m,b=e.props[o],g=ec("number");return t[b]?t:(v++,m=y?s()(0,d):a&&a[b]&&a[b].hasStack?tA(p,m=(0,E.EB)(a[b].stackGroups,u,c),b,i):tA(p,m=(0,E.LG)(g,(0,E.s6)(h,n.filter(function(t){return t.props[o]===b&&!t.props.hide}),"number",l),r.defaultProps.allowDataOverflow),b,i),t5(t5({},t),{},et({},b,t5(t5({axisType:i},r.defaultProps),{},{hide:!0,orientation:f()(en,"".concat(i,".").concat(v%2),null),domain:m,originalDomain:g,isCategorical:y,layout:l}))))},{})},eh=function(t,e){var n=e.axisType,r=void 0===n?"xAxis":n,i=e.AxisComp,o=e.graphicalItems,a=e.stackGroups,u=e.dataStartIndex,c=e.dataEndIndex,s=t.children,l="".concat(r,"Id"),f=(0,S.NN)(s,i),p={};return f&&f.length?p=ef(t,{axes:f,graphicalItems:o,axisType:r,axisIdKey:l,stackGroups:a,dataStartIndex:u,dataEndIndex:c}):o&&o.length&&(p=ep(t,{Axis:i,graphicalItems:o,axisType:r,axisIdKey:l,stackGroups:a,dataStartIndex:u,dataEndIndex:c})),p},ed=function(t){var e=(0,k.Kt)(t),n=(0,E.uY)(e,!1,!0);return{tooltipTicks:n,orderedTooltipTicks:h()(n,function(t){return t.coordinate}),tooltipAxis:e,tooltipAxisBandSize:(0,E.zT)(e,n)}},ey=function(t){var e=t.children,n=t.defaultShowTooltip,r=(0,S.sP)(e,H),i=0,o=0;return t.data&&0!==t.data.length&&(o=t.data.length-1),r&&r.props&&(r.props.startIndex>=0&&(i=r.props.startIndex),r.props.endIndex>=0&&(o=r.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:i,dataEndIndex:o,activeTooltipIndex:-1,isTooltipActive:!!n}},ev=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"}},em=function(t,e){var n=t.props,r=t.graphicalItems,i=t.xAxisMap,o=void 0===i?{}:i,a=t.yAxisMap,u=void 0===a?{}:a,c=n.width,s=n.height,l=n.children,p=n.margin||{},h=(0,S.sP)(l,H),d=(0,S.sP)(l,O.D),y=Object.keys(u).reduce(function(t,e){var n=u[e],r=n.orientation;return n.mirror||n.hide?t:t5(t5({},t),{},et({},r,t[r]+n.width))},{left:p.left||0,right:p.right||0}),v=Object.keys(o).reduce(function(t,e){var n=o[e],r=n.orientation;return n.mirror||n.hide?t:t5(t5({},t),{},et({},r,f()(t,"".concat(r))+n.height))},{top:p.top||0,bottom:p.bottom||0}),m=t5(t5({},v),y),b=m.bottom;h&&(m.bottom+=h.props.height||H.defaultProps.height),d&&e&&(m=(0,E.By)(m,r,n,e));var g=c-m.left-m.right,x=s-m.top-m.bottom;return t5(t5({brushBottom:b},m),{},{width:Math.max(g,0),height:Math.max(x,0)})}
1,eb=function(t){var e,n=t.chartName,i=t.GraphicalChild,a=t.defaultTooltipEventType,c=void 0===a?"axis":a,s=t.validateTooltipEventTypes,l=void 0===s?["axis"]:s,p=t.axisComponents,h=t.legendContent,d=t.formatAxisMap,O=t.defaultProps,A=function(t,e){var n=e.graphicalItems,r=e.stackGroups,i=e.offset,a=e.updateId,u=e.dataStartIndex,c=e.dataEndIndex,s=t.barSize,l=t.layout,f=t.barGap,h=t.barCategoryGap,d=t.maxBarSize,y=ev(l),v=y.numericAxisName,b=y.cateAxisName,g=!!n&&!!n.length&&n.some(function(t){var e=(0,S.Gf)(t&&t.type);return e&&e.indexOf("Bar")>=0}),x=[];return n.forEach(function(n,y){var O=eu(t.data,{graphicalItems:[n],dataStartIndex:u,dataEndIndex:c}),w=n.props,j=w.dataKey,A=w.maxBarSize,P=n.props["".concat(v,"Id")],k=n.props["".concat(b,"Id")],T=p.reduce(function(t,r){var i=e["".concat(r.axisType,"Map")],o=n.props["".concat(r.axisType,"Id")];i&&i[o]||"zAxis"===r.axisType||(0,m.Z)(!1);var a=i[o];return t5(t5({},t),{},et(et({},r.axisType,a),"".concat(r.axisType,"Ticks"),(0,E.uY)(a)))},{}),_=T[b],M=T["".concat(b,"Ticks")],C=r&&r[P]&&r[P].hasStack&&(0,E.O3)(n,r[P].stackGroups),D=(0,S.Gf)(n.type).indexOf("Bar")>=0,I=(0,E.zT)(_,M),N=[],B=g&&(0,E.pt)({barSize:s,stackGroups:r,totalSize:"xAxis"===b?T[b].width:"yAxis"===b?T[b].height:void 0});if(D){var L,R,z=o()(A)?d:A,U=null!==(L=null!==(R=(0,E.zT)(_,M,!0))&&void 0!==R?R:z)&&void 0!==L?L:0;N=(0,E.qz)({barGap:f,barCategoryGap:h,bandSize:U!==I?U:I,sizeList:B[k],maxBarSize:z}),U!==I&&(N=N.map(function(t){return t5(t5({},t),{},{position:t5(t5({},t.position),{},{offset:t.position.offset-U/2})})}))}var F=n&&n.type&&n.type.getComposedData;F&&x.push({props:t5(t5({},F(t5(t5({},T),{},{displayedData:O,props:t,dataKey:j,item:n,bandSize:I,barPosition:N,offset:i,stackedData:C,layout:l,dataStartIndex:u,dataEndIndex:c}))),{},et(et(et({key:n.key||"item-".concat(y)},v,T[v]),b,T[b]),"animationId",a)),childIndex:(0,S.$R)(n,t.children),item:n})}),x},P=function(t,e){var r=t.props,o=t.dataStartIndex,a=t.dataEndIndex,u=t.updateId;if(!(0,S.TT)({props:r}))return null;var c=r.children,s=r.layout,l=r.stackOffset,f=r.data,h=r.reverseStackOrder,y=ev(s),v=y.numericAxisName,m=y.cateAxisName,b=(0,S.NN)(c,i),g=(0,E.wh)(f,b,"".concat(v,"Id"),"".concat(m,"Id"),l,h),x=p.reduce(function(t,e){var n="".concat(e.axisType,"Map");return t5(t5({},t),{},et({},n,eh(r,t5(t5({},e),{},{graphicalItems:b,stackGroups:e.axisType===v&&g,dataStartIndex:o,dataEndIndex:a}))))},{}),O=em(t5(t5({},x),{},{props:r,graphicalItems:b}),null==e?void 0:e.legendBBox);Object.keys(x).forEach(function(t){x[t]=d(r,x[t],O,t.replace("Map",""),n)});var w=ed(x["".concat(m,"Map")]),j=A(r,t5(t5({},x),{},{dataStartIndex:o,dataEndIndex:a,updateId:u,graphicalItems:b,stackGroups:g,offset:O}));return t5(t5({formattedGraphicalItems:j,graphicalItems:b,offset:O,stackGroups:g},w),x)};return e=function(t){var e;function i(t){var e,a,c,s,l;return function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i),s=i,l=[t],s=t2(s),c=function(t,e){if(e&&("object"===tK(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return t6(t)}(this,t1()?Reflect.construct(s,l||[],t2(this).constructor):s.apply(this,l)),et(t6(c),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),et(t6(c),"accessibilityManager",new tN),et(t6(c),"handleLegendBBoxUpdate",function(t){if(t){var e=c.state,n=e.dataStartIndex,r=e.dataEndIndex,i=e.updateId;c.setState(t5({legendBBox:t},P({props:c.props,dataStartIndex:n,dataEndIndex:r,updateId:i},t5(t5({},c.state),{},{legendBBox:t}))))}}),et(t6(c),"handleReceiveSyncEvent",function(t,e,n){c.props.syncId===t&&(n!==c.eventEmitterSymbol||"function"==typeof c.props.syncMethod)&&c.applySyncEvent(e)}),et(t6(c),"handleBrushChange",function(t){var e=t.startIndex,n=t.endIndex;if(e!==c.state.dataStartIndex||n!==c.state.dataEndIndex){var r=c.state.updateId;c.setState(function(){return t5({dataStartIndex:e,dataEndIndex:n},P({props:c.props,dataStartIndex:e,dataEndIndex:n,updateId:r},c.state))}),c.triggerSyncEvent({dataStartIndex:e,dataEndIndex:n})}}),et(t6(c),"handleMouseEnter",function(t){var e=c.getMouseInfo(t);if(e){var n=t5(t5({},e),{},{isTooltipActive:!0});c.setState(n),c.triggerSyncEvent(n);var r=c.props.onMouseEnter;u()(r)&&r(n,t)}}),et(t6(c),"triggeredAfterMouseMove",function(t){var e=c.getMouseInfo(t),n=e?t5(t5({},e),{},{isTooltipActive:!0}):{isTooltipActive:!1};c.setState(n),c.triggerSyncEvent(n);var r=c.props.onMouseMove;u()(r)&&r(n,t)}),et(t6(c),"handleItemMouseEnter",function(t){c.setState(function(){return{isTooltipActive:!0,activeItem:t,activePayload:t.tooltipPayload,activeCoordinate:t.tooltipPosition||{x:t.cx,y:t.cy}}})}),et(t6(c),"handleItemMouseLeave",function(){c.setState(function(){return{isTooltipActive:!1}})}),et(t6(c),"handleMouseMove",function(t){t.persist(),c.throttleTriggeredAfterMouseMove(t)}),et(t6(c),"handleMouseLeave",function(t){c.throttleTriggeredAfterMouseMove.cancel();var e={isTooltipActive:!1};c.setState(e),c.triggerSyncEvent(e);var n=c.props.onMouseLeave;u()(n)&&n(e,t)}),et(t6(c),"handleOuterEvent",function(t){var e,n=(0,S.Bh)(t),r=f()(c.props,"".concat(n));n&&u()(r)&&r(null!==(e=/.*touch.*/i.test(n)?c.getMouseInfo(t.changedTouches[0]):c.getMouseInfo(t))&&void 0!==e?e:{},t)}),et(t6(c),"handleClick",function(t){var e=c.getMouseInfo(t);if(e){var n=t5(t5({},e),{},{isTooltipActive:!0});c.setState(n),c.triggerSyncEvent(n);var r=c.props.onClick;u()(r)&&r(n,t)}}),et(t6(c),"handleMouseDown",function(t){var e=c.props.onMouseDown;u()(e)&&e(c.getMouseInfo(t),t)}),et(t6(c),"handleMouseUp",function(t){var e=c.props.onMouseUp;u()(e)&&e(c.getMouseInfo(t),t)}),et(t6(c),"handleTouchMove",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&c.throttleTriggeredAfterMouseMove(t.changedTouches[0])}),et(t6(c),"handleTouchStart",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&c.handleMouseDown(t.changedTouches[0])}),et(t6(c),"handleTouchEnd",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&c.handleMouseUp(t.changedTouches[0])}),et(t6(c),"triggerSyncEvent",function(t){void 0!==c.props.syncId&&tT.emit(t_,c.props.syncId,t,c.eventEmitterSymbol)}),et(t6(c),"applySyncEvent",function(t){var e=c.props,n=e.layout,r=e.syncMethod,i=c.state.updateId,o=t.dataStartIndex,a=t.dataEndIndex;if(void 0!==t.dataStartIndex||void 0!==t.dataEndIndex)c.setState(t5({dataStartIndex:o,dataEndIndex:a},P({props:c.props,dataStartIndex:o,dataEndIndex:a,updateId:i},c.state)));else if(void 0!==t.activeTooltipIndex){var u=t.chartX,s=t.chartY,l=t.activeTooltipIndex,f=c.state,p=f.offset,h=f.tooltipTicks;if(!p)return;if("function"==typeof r)l=r(h,t);else if("value"===r){l=-1;for(var d=0;d<h.length;d++)if(h[d].value===t.activeLabel){l=d;break}}var y=t5(t5({},p),{},{x:p.left,y:p.top}),v=Math.min(u,y.x+y.width),m=Math.min(s,y.y+y.height),b=h[l]&&h[l].value,g=es(c.state,c.props.data,l),x=h[l]?{x:"horizontal"===n?h[l].coordinate:v,y:"horizontal"===n?m:h[l].coordinate}:ei;c.setState(t5(t5({},t),{},{activeLabel:b,activeCoordinate:x,activePayload:g,activeTooltipIndex:l}))}else c.setState(t)}),et(t6(c),"renderCursor",function(t){var e,i=c.state,o=i.isTooltipActive,a=i.activeCoordinate,u=i.activePayload,s=i.offset,l=i.activeTooltipIndex,f=i.tooltipAxisBandSize,p=c.getTooltipEventType(),h=null!==(e=t.props.active)&&void 0!==e?e:o,d=c.props.layout,y=t.key||"_recharts-cursor";return r.createElement(tH,{key:y,activeCoordinate:a,activePayload:u,activeTooltipIndex:l,chartName:n,element:t,isActive:h,layout:d,offset:s,tooltipAxisBandSize:f,tooltipEventType:p})}),et(t6(c),"renderPolarAxis",function(t,e,n){var i=f()(t,"type.axisType"),o=f()(c.state,"".concat(i,"Map")),a=o&&o[t.props["".concat(i,"Id")]];return(0,r.cloneElement)(t,t5(t5({},a),{},{className:(0,v.Z)(i,a.className),key:t.key||"".concat(e,"-").concat(n),ticks:(0,E.uY)(a,!0)}))}),et(t6(c),"renderPolarGrid",function(t){var e=t.props,n=e.radialLines,i=e.polarAngles,o=e.polarRadius,a=c.state,u=a.radiusAxisMap,s=a.angleAxisMap,l=(0,k.Kt)(u),f=(0,k.Kt)(s),p=f.cx,h=f.cy,d=f.innerRadius,y=f.outerRadius;return(0,r.cloneElement)(t,{polarAngles:Array.isArray(i)?i:(0,E.uY)(f,!0).map(function(t){return t.coordinate}),polarRadius:Array.isArray(o)?o:(0,E.uY)(l,!0).map(function(t){return t.coordinate}),cx:p,cy:h,innerRadius:d,outerRadius:y,key:t.key||"polar-grid",radialLines:n})}),et(t6(c),"renderLegend",function(){var t=c.state.formattedGraphicalItems,e=c.props,n=e.children,i=e.width,o=e.height,a=c.props.margin||{},u=i-(a.left||0)-(a.right||0),s=(0,V.z)({children:n,formattedGraphicalItems:t,legendWidth:u,legendContent:h});if(!s)return null;var l=s.item,f=t0(s,tG);return(0,r.cloneElement)(l,t5(t5({},f),{}
1,{chartWidth:i,chartHeight:o,margin:a,onBBoxUpdate:c.handleLegendBBoxUpdate}))}),et(t6(c),"renderTooltip",function(){var t,e=c.props,n=e.children,i=e.accessibilityLayer,o=(0,S.sP)(n,x.u);if(!o)return null;var a=c.state,u=a.isTooltipActive,s=a.activeCoordinate,l=a.activePayload,f=a.activeLabel,p=a.offset,h=null!==(t=o.props.active)&&void 0!==t?t:u;return(0,r.cloneElement)(o,{viewBox:t5(t5({},p),{},{x:p.left,y:p.top}),active:h,label:f,payload:h?l:[],coordinate:s,accessibilityLayer:i})}),et(t6(c),"renderBrush",function(t){var e=c.props,n=e.margin,i=e.data,o=c.state,a=o.offset,u=o.dataStartIndex,s=o.dataEndIndex,l=o.updateId;return(0,r.cloneElement)(t,{key:t.key||"_recharts-brush",onChange:(0,E.DO)(c.handleBrushChange,t.props.onChange),data:i,x:(0,k.hj)(t.props.x)?t.props.x:a.left,y:(0,k.hj)(t.props.y)?t.props.y:a.top+a.height+a.brushBottom-(n.bottom||0),width:(0,k.hj)(t.props.width)?t.props.width:a.width,startIndex:u,endIndex:s,updateId:"brush-".concat(l)})}),et(t6(c),"renderReferenceElement",function(t,e,n){if(!t)return null;var i=t6(c).clipPathId,o=c.state,a=o.xAxisMap,u=o.yAxisMap,s=o.offset,l=t.props,f=l.xAxisId,p=l.yAxisId;return(0,r.cloneElement)(t,{key:t.key||"".concat(e,"-").concat(n),xAxis:a[f],yAxis:u[p],viewBox:{x:s.left,y:s.top,width:s.width,height:s.height},clipPathId:i})}),et(t6(c),"renderActivePoints",function(t){var e=t.item,n=t.activePoint,r=t.basePoint,o=t.childIndex,a=t.isRange,u=[],c=e.props.key,s=e.item.props,l=s.activeDot,f=t5(t5({index:o,dataKey:s.dataKey,cx:n.x,cy:n.y,r:4,fill:(0,E.fk)(e.item),strokeWidth:2,stroke:"#fff",payload:n.payload,value:n.value,key:"".concat(c,"-activePoint-").concat(o)},(0,S.L6)(l,!1)),(0,tM.Ym)(l));return u.push(i.renderActiveDot(l,f)),r?u.push(i.renderActiveDot(l,t5(t5({},f),{},{cx:r.x,cy:r.y,key:"".concat(c,"-basePoint-").concat(o)}))):a&&u.push(null),u}),et(t6(c),"renderGraphicChild",function(t,e,n){var i=c.filterFormatItem(t,e,n);if(!i)return null;var a=c.getTooltipEventType(),u=c.state,s=u.isTooltipActive,l=u.tooltipAxis,f=u.activeTooltipIndex,p=u.activeLabel,h=c.props.children,d=(0,S.sP)(h,x.u),y=i.props,v=y.points,m=y.isRange,b=y.baseLine,g=i.item.props,O=g.activeDot,w=g.hide,j=g.activeBar,A=g.activeShape,P={};"axis"!==a&&d&&"click"===d.props.trigger?P={onClick:(0,E.DO)(c.handleItemMouseEnter,t.props.onClick)}:"axis"!==a&&(P={onMouseLeave:(0,E.DO)(c.handleItemMouseLeave,t.props.onMouseLeave),onMouseEnter:(0,E.DO)(c.handleItemMouseEnter,t.props.onMouseEnter)});var T=(0,r.cloneElement)(t,t5(t5({},i.props),P));if(!w&&s&&d&&(O||j||A)){if(f>=0){if(l.dataKey&&!l.allowDuplicatedCategory){var _="function"==typeof l.dataKey?function(t){return"function"==typeof l.dataKey?l.dataKey(t.payload):null}:"payload.".concat(l.dataKey.toString());C=(0,k.Ap)(v,_,p),D=m&&b&&(0,k.Ap)(b,_,p)}else C=null==v?void 0:v[f],D=m&&b&&b[f];if(A||j){var M=void 0!==t.props.activeIndex?t.props.activeIndex:f;return[(0,r.cloneElement)(t,t5(t5(t5({},i.props),P),{},{activeIndex:M})),null,null]}if(!o()(C))return[T].concat(t4(c.renderActivePoints({item:i,activePoint:C,basePoint:D,childIndex:f,isRange:m})))}else{var C,D,I,N=(null!==(I=c.getItemByXY(c.state.activeCoordinate))&&void 0!==I?I:{graphicalItem:T}).graphicalItem,B=N.item,L=void 0===B?t:B,R=N.childIndex,z=t5(t5(t5({},i.props),P),{},{activeIndex:R});return[(0,r.cloneElement)(L,z),null,null]}}return m?[T,null,null]:[T,null]}),et(t6(c),"renderCustomized",function(t,e,n){return(0,r.cloneElement)(t,t5(t5({key:"recharts-customized-".concat(n)},c.props),c.state))}),et(t6(c),"renderMap",{CartesianGrid:{handler:eo,once:!0},ReferenceArea:{handler:c.renderReferenceElement},ReferenceLine:{handler:eo},ReferenceDot:{handler:c.renderReferenceElement},XAxis:{handler:eo},YAxis:{handler:eo},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!==(e=t.id)&&void 0!==e?e:(0,k.EL)("recharts"),"-clip"),c.throttleTriggeredAfterMouseMove=y()(c.triggeredAfterMouseMove,null!==(a=t.throttleDelay)&&void 0!==a?a:1e3/60),c.state={},c}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&t3(t,e)}(i,t),e=[{key:"componentDidMount",value:function(){var t,e;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:null!==(t=this.props.margin.left)&&void 0!==t?t:0,top:null!==(e=this.props.margin.top)&&void 0!==e?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,n=t.data,r=t.height,i=t.layout,o=(0,S.sP)(e,x.u);if(o){var a=o.props.defaultIndex;if("number"==typeof a&&!(a<0)&&!(a>this.state.tooltipTicks.length)){var u=this.state.tooltipTicks[a]&&this.state.tooltipTicks[a].value,c=es(this.state,n,a,u),s=this.state.tooltipTicks[a].coordinate,l=(this.state.offset.top+r)/2,f="horizontal"===i?{x:s,y:l}:{y:s,x:l},p=this.state.formattedGraphicalItems.find(function(t){return"Scatter"===t.item.type.name});p&&(f=t5(t5({},f),p.props.points[a].tooltipPosition),c=p.props.points[a].tooltipPayload);var h={activeTooltipIndex:a,isTooltipActive:!0,activeLabel:u,activePayload:c,activeCoordinate:f};this.setState(h),this.renderCursor(o),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 n,r;this.accessibilityManager.setDetails({offset:{left:null!==(n=this.props.margin.left)&&void 0!==n?n:0,top:null!==(r=this.props.margin.top)&&void 0!==r?r:0}})}return null}},{key:"componentDidUpdate",value:function(t){(0,S.rL)([(0,S.sP)(t.children,x.u)],[(0,S.sP)(this.props.children,x.u)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var t=(0,S.sP)(this.props.children,x.u);if(t&&"boolean"==typeof t.props.shared){var e=t.props.shared?"axis":"item";return l.indexOf(e)>=0?e:c}return c}},{key:"getMouseInfo",value:function(t){if(!this.container)return null;var e=this.container,n=e.getBoundingClientRect(),r=(0,G.os)(n),i={chartX:Math.round(t.pageX-r.left),chartY:Math.round(t.pageY-r.top)},o=n.width/e.offsetWidth||1,a=this.inRange(i.chartX,i.chartY,o);if(!a)return null;var u=this.state,c=u.xAxisMap,s=u.yAxisMap;if("axis"!==this.getTooltipEventType()&&c&&s){var l=(0,k.Kt)(c).scale,f=(0,k.Kt)(s).scale,p=l&&l.invert?l.invert(i.chartX):null,h=f&&f.invert?f.invert(i.chartY):null;return t5(t5({},i),{},{xValue:p,yValue:h})}var d=el(this.state,this.props.data,this.props.layout,a);return d?t5(t5({},i),d):null}},{key:"inRange",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=this.props.layout,i=t/n,o=e/n;if("horizontal"===r||"vertical"===r){var a=this.state.offset;return i>=a.left&&i<=a.left+a.width&&o>=a.top&&o<=a.top+a.height?{x:i,y:o}:null}var u=this.state,c=u.angleAxisMap,s=u.radiusAxisMap;if(c&&s){var l=(0,k.Kt)(c);return(0,tP.z3)({x:i,y:o},l)}return null}},{key:"parseEventsOfWrapper",value:function(){var t=this.props.children,e=this.getTooltipEventType(),n=(0,S.sP)(t,x.u),r={};return n&&"axis"===e&&(r="click"===n.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}),t5(t5({},(0,tM.Ym)(this.props,this.handleOuterEvent)),r)}},{key:"addListener",value:function(){tT.on(t_,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){tT.removeListener(t_,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(t,e,n){for(var r=this.state.formattedGraphicalItems,i=0,o=r.length;i<o;i++){var a=r[i];if(a.item===t||a.props.key===t.key||e===(0,S.Gf)(a.item.type)&&n===a.childIndex)return a}return null}},{key:"renderClipPath",value:function(){var t=this.clipPathId,e=this.state.offset,n=e.left,i=e.top,o=e.height,a=e.width;return r.createElement("defs",null,r.createElement("clipPath",{id:t},r.createElement("rect",{x:n,y:i,height:o,width:a})))}},{key:"getXScales",value:function(){var t=this.state.xAxisMap;return t?Object.entries(t).reduce(function(t,e){var n=tJ(e,2),r=n[0],i=n[1];return t5(t5({},t),{},et({},r,i.scale))},{}):null}},{key:"getYScales",value:function(){var t=this.state.yAxisMap;return t?Object.entries(t).reduce(function(t,e){var n=tJ(e,2),r=n[0],i=n[1];return t5(t5({},t),{},et({},r,i.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(t){var e;return null===(e=this.state.xAxisMap)||void 0===e||null===(e=e[t])||void 0===e?void 0:e.scale}},{key:"getYScaleByAxisId",value:function(t){var e;return null===(e=this.state.yAxisMap)||void 0===e||null===(e=e[t])||void 0===e?void 0:e.scale}},{key:"getItemByXY",value:function(t){var e=this.state,n=e.formattedGraphicalItems,r=e.activeItem;if(n&&n.length)for(var i=0,o=n.length;i<o;i++){var a=n[i],u=a.props,c=a.item,s=(0,S.Gf)(c.type);if("Bar"===s){var l=(u.data||[]).find(function(e){return(0,j.X)(t,e)});if(l)return{graphicalItem:a,payload:l}}else if("RadialBar"===s){var f=(u.data||[]).find(function(e){return(0,tP.z3)(t,e)});if(f)return{graphicalItem:a,payload:f}}else if((0,tB.lT)(a,r)||(0,tB.V$)(a,r)||(0,tB.w7)(a,r)){var p=(0,tB.a3)({graphicalItem:a,activeTooltipItem:r,itemData:c.props.data}),h=void 0===c.props.activeIndex?p:c.props.activeIndex;return{graphicalItem:t5(t5({},a),{},{childIndex:h}),payload:(0,tB.w7)(a,r)?c.props.data[p]:a.props.data[p]}}}return null}},{key:"render",value:function(){var t,e,n=this;if(!(0,S.TT)(this))return null;var i=this.props,o=i.children,a=i.className,u=i.width,c=i.height,s=i.style,l=i.compact,f=i.title,p=i.desc,h=t0(i,tV),d=(0,S.L6)(h,!1);if(l)return r.createElement(ts.br,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},r.createElement(b.T,tQ({},d,{width:u,height:c,title:f,desc:p}),this.renderClipPath(),(0,S.eu)(o,this.renderMap)));this.props.accessibilityLayer&&(d.tabIndex=null!==(t=this.props.tabIndex)&&void 0!==t?t:0,d.role=null!==(e=this.props.role)&&void 0!==e?e:"application",d.onKeyDown=function(t){n.accessibilityManager.keyboardEvent(t)},d.onFocus=function(){n.accessibilityManager.focus()});var y=this.parseEventsOfWrapper();return r.createElement(ts.br,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},r.createElement("div",tQ({className:(0,v.Z)("recharts-wrapper",a),style:t5({position:"relative",curs
1or:"default",width:u,height:c},s)},y,{ref:function(t){n.container=t}}),r.createElement(b.T,tQ({},d,{width:u,height:c,title:f,desc:p,style:er}),this.renderClipPath(),(0,S.eu)(o,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}],function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,ee(r.key),r)}}(i.prototype,e),Object.defineProperty(i,"prototype",{writable:!1}),i}(r.Component),et(e,"displayName",n),et(e,"defaultProps",t5({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},O)),et(e,"getDerivedStateFromProps",function(t,e){var n=t.dataKey,r=t.data,i=t.children,a=t.width,u=t.height,c=t.layout,s=t.stackOffset,l=t.margin,f=e.dataStartIndex,p=e.dataEndIndex;if(void 0===e.updateId){var h=ey(t);return t5(t5(t5({},h),{},{updateId:0},P(t5(t5({props:t},h),{},{updateId:0}),e)),{},{prevDataKey:n,prevData:r,prevWidth:a,prevHeight:u,prevLayout:c,prevStackOffset:s,prevMargin:l,prevChildren:i})}if(n!==e.prevDataKey||r!==e.prevData||a!==e.prevWidth||u!==e.prevHeight||c!==e.prevLayout||s!==e.prevStackOffset||!(0,tE.w)(l,e.prevMargin)){var d=ey(t),y={chartX:e.chartX,chartY:e.chartY,isTooltipActive:e.isTooltipActive},v=t5(t5({},el(e,r,c)),{},{updateId:e.updateId+1}),m=t5(t5(t5({},d),y),v);return t5(t5(t5({},m),P(t5({props:t},m),e)),{},{prevDataKey:n,prevData:r,prevWidth:a,prevHeight:u,prevLayout:c,prevStackOffset:s,prevMargin:l,prevChildren:i})}if(!(0,S.rL)(i,e.prevChildren)){var b,g,x,O,w=(0,S.sP)(i,H),j=w&&null!==(b=null===(g=w.props)||void 0===g?void 0:g.startIndex)&&void 0!==b?b:f,A=w&&null!==(x=null===(O=w.props)||void 0===O?void 0:O.endIndex)&&void 0!==x?x:p,E=o()(r)||j!==f||A!==p?e.updateId+1:e.updateId;return t5(t5({updateId:E},P(t5(t5({props:t},e),{},{updateId:E,dataStartIndex:j,dataEndIndex:A}),e)),{},{prevChildren:i,dataStartIndex:j,dataEndIndex:A})}return null}),et(e,"renderActiveDot",function(t,e){var n;return n=(0,r.isValidElement)(t)?(0,r.cloneElement)(t,e):u()(t)?t(e):r.createElement(w.o,e),r.createElement(g.m,{className:"recharts-active-dot",key:e.key},n)}),e}},14489:function(t,e,n){"use strict";n.d(e,{b:function(){return r}});var r=function(t){return null};r.displayName="Cell"},26851:function(t,e,n){"use strict";n.d(e,{_:function(){return A}});var r=n(67294),i=n(36064),o=n.n(i),a=n(44966),u=n.n(a),c=n(13593),s=n.n(c),l=n(90512),f=n(59886),p=n(48894),h=n(83038),d=n(70522);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 n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function b(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function g(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?b(Object(n),!0).forEach(function(e){var r,i;r=e,i=n[e],(r=function(t){var e=function(t,e){if("object"!=y(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=y(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==y(e)?e:String(e)}(r))in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function x(){return(x=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var O=function(t){var e=t.value,n=t.formatter,r=o()(t.children)?e:t.children;return u()(n)?n(r):r},w=function(t,e,n){var i,a,u=t.position,c=t.viewBox,s=t.offset,f=t.className,p=c.cx,y=c.cy,v=c.innerRadius,m=c.outerRadius,b=c.startAngle,g=c.endAngle,O=c.clockWise,w=(v+m)/2,j=(0,h.uY)(g-b)*Math.min(Math.abs(g-b),360),S=j>=0?1:-1;"insideStart"===u?(i=b+S*s,a=O):"insideEnd"===u?(i=g-S*s,a=!O):"end"===u&&(i=g+S*s,a=O),a=j<=0?a:!a;var A=(0,d.op)(p,y,w,i),P=(0,d.op)(p,y,w,i+(a?1:-1)*359),E="M".concat(A.x,",").concat(A.y,"\n    A").concat(w,",").concat(w,",0,1,").concat(a?0:1,",\n    ").concat(P.x,",").concat(P.y),k=o()(t.id)?(0,h.EL)("recharts-radial-line-"):t.id;return r.createElement("text",x({},n,{dominantBaseline:"central",className:(0,l.Z)("recharts-radial-bar-label",f)}),r.createElement("defs",null,r.createElement("path",{id:k,d:E})),r.createElement("textPath",{xlinkHref:"#".concat(k)},e))},j=function(t){var e=t.viewBox,n=t.offset,r=t.position,i=e.cx,o=e.cy,a=e.innerRadius,u=e.outerRadius,c=(e.startAngle+e.endAngle)/2;
1if("outside"===r){var s=(0,d.op)(i,o,u+n,c),l=s.x;return{x:l,y:s.y,textAnchor:l>=i?"start":"end",verticalAnchor:"middle"}}if("center"===r)return{x:i,y:o,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===r)return{x:i,y:o,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===r)return{x:i,y:o,textAnchor:"middle",verticalAnchor:"end"};var f=(0,d.op)(i,o,(a+u)/2,c);return{x:f.x,y:f.y,textAnchor:"middle",verticalAnchor:"middle"}},S=function(t){var e=t.viewBox,n=t.parentViewBox,r=t.offset,i=t.position,o=e.x,a=e.y,u=e.width,c=e.height,l=c>=0?1:-1,f=l*r,p=l>0?"end":"start",d=l>0?"start":"end",y=u>=0?1:-1,v=y*r,m=y>0?"end":"start",b=y>0?"start":"end";if("top"===i)return g(g({},{x:o+u/2,y:a-l*r,textAnchor:"middle",verticalAnchor:p}),n?{height:Math.max(a-n.y,0),width:u}:{});if("bottom"===i)return g(g({},{x:o+u/2,y:a+c+f,textAnchor:"middle",verticalAnchor:d}),n?{height:Math.max(n.y+n.height-(a+c),0),width:u}:{});if("left"===i){var x={x:o-v,y:a+c/2,textAnchor:m,verticalAnchor:"middle"};return g(g({},x),n?{width:Math.max(x.x-n.x,0),height:c}:{})}if("right"===i){var O={x:o+u+v,y:a+c/2,textAnchor:b,verticalAnchor:"middle"};return g(g({},O),n?{width:Math.max(n.x+n.width-O.x,0),height:c}:{})}var w=n?{width:u,height:c}:{};return"insideLeft"===i?g({x:o+v,y:a+c/2,textAnchor:b,verticalAnchor:"middle"},w):"insideRight"===i?g({x:o+u-v,y:a+c/2,textAnchor:m,verticalAnchor:"middle"},w):"insideTop"===i?g({x:o+u/2,y:a+f,textAnchor:"middle",verticalAnchor:d},w):"insideBottom"===i?g({x:o+u/2,y:a+c-f,textAnchor:"middle",verticalAnchor:p},w):"insideTopLeft"===i?g({x:o+v,y:a+f,textAnchor:b,verticalAnchor:d},w):"insideTopRight"===i?g({x:o+u-v,y:a+f,textAnchor:m,verticalAnchor:d},w):"insideBottomLeft"===i?g({x:o+v,y:a+c-f,textAnchor:b,verticalAnchor:p},w):"insideBottomRight"===i?g({x:o+u-v,y:a+c-f,textAnchor:m,verticalAnchor:p},w):s()(i)&&((0,h.hj)(i.x)||(0,h.hU)(i.x))&&((0,h.hj)(i.y)||(0,h.hU)(i.y))?g({x:o+(0,h.h1)(i.x,u),y:a+(0,h.h1)(i.y,c),textAnchor:"end",verticalAnchor:"end"},w):g({x:o+u/2,y:a+c/2,textAnchor:"middle",verticalAnchor:"middle"},w)};function A(t){var e,n=t.offset,i=g({offset:void 0===n?5:n},function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(t,v)),a=i.viewBox,c=i.position,s=i.value,d=i.children,y=i.content,m=i.className,b=i.textBreakAll;if(!a||o()(s)&&o()(d)&&!(0,r.isValidElement)(y)&&!u()(y))return null;if((0,r.isValidElement)(y))return(0,r.cloneElement)(y,i);if(u()(y)){if(e=(0,r.createElement)(y,i),(0,r.isValidElement)(e))return e}else e=O(i);var A="cx"in a&&(0,h.hj)(a.cx),P=(0,p.L6)(i,!0);if(A&&("insideStart"===c||"insideEnd"===c||"end"===c))return w(i,e,P);var E=A?j(i):S(i);return r.createElement(f.x,x({className:(0,l.Z)("recharts-label",void 0===m?"":m)},P,E,{breakAll:b}),e)}A.displayName="Label";var P=function(t){var e=t.cx,n=t.cy,r=t.angle,i=t.startAngle,o=t.endAngle,a=t.r,u=t.radius,c=t.innerRadius,s=t.outerRadius,l=t.x,f=t.y,p=t.top,d=t.left,y=t.width,v=t.height,m=t.clockWise,b=t.labelViewBox;if(b)return b;if((0,h.hj)(y)&&(0,h.hj)(v)){if((0,h.hj)(l)&&(0,h.hj)(f))return{x:l,y:f,width:y,height:v};if((0,h.hj)(p)&&(0,h.hj)(d))return{x:p,y:d,width:y,height:v}}return(0,h.hj)(l)&&(0,h.hj)(f)?{x:l,y:f,width:0,height:0}:(0,h.hj)(e)&&(0,h.hj)(n)?{cx:e,cy:n,startAngle:i||r||0,endAngle:o||r||0,innerRadius:c||0,outerRadius:s||u||a||0,clockWise:m}:t.viewBox?t.viewBox:{}};A.parseViewBox=P,A.renderCallByParent=function(t,e){var n,i,o=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!t||!t.children&&o&&!t.label)return null;var a=t.children,c=P(t),l=(0,p.NN)(a,A).map(function(t,n){return(0,r.cloneElement)(t,{viewBox:e||c,key:"label-".concat(n)})});return o?[(n=t.label,i=e||c,n?!0===n?r.createElement(A,{key:"label-implicit",viewBox:i}):(0,h.P2)(n)?r.createElement(A,{key:"label-implicit",viewBox:i,value:n}):(0,r.isValidElement)(n)?n.type===A?(0,r.cloneElement)(n,{key:"label-implicit",viewBox:i}):r.createElement(A,{key:"label-implicit",content:n,viewBox:i}):u()(n)?r.createElement(A,{key:"label-implicit",content:n,viewBox:i}):s()(n)?r.createElement(A,x({viewBox:i},n,{key:"label-implicit"})):null:null)].concat(function(t){if(Array.isArray(t))return m(t)}(l)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(l)||function(t,e){if(t){if("string"==typeof t)return m(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(t,void 0)}}(l)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):l}},98666:function(t,e,n){"use strict";n.d(e,{e:function(){return A}});var r=n(67294),i=n(36064),o=n.n(i),a=n(13593),u=n.n(a),c=n(44966),s=n.n(c),l=n(81544),f=n.n(l),p=n(26851),h=n(61379),d=n(48894),y=n(45464);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"],b=["data","dataKey","clockWise","id","textBreakAll"];function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function x(){return(x=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function O(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function w(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?O(Object(n),!0).forEach(function(e){var r,i;r=e,i=n[e],(r=function(t){var e=function(t,e){if("object"!=v(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=v(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==v(e)?e:String(e)}(r))in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function j(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}var S=function(t){return Array.isArray(t.value)?f()(t.value):t.value};function A(t){var e=t.valueAccessor,n=void 0===e?S:e,i=j(t,m),a=i.data,u=i.dataKey,c=i.clockWise,s=i.id,l=i.textBreakAll,f=j(i,b);return a&&a.length?r.createElement(h.m,{className:"recharts-label-list"},a.map(function(t,e){var i=o()(u)?n(t,e):(0,y.F$)(t&&t.payload,u),a=o()(s)?{}:{id:"".concat(s,"-").concat(e)};return r.createElement(p._,x({},(0,d.L6)(t,!0),f,a,{parentViewBox:t.parentViewBox,value:i,textBreakAll:l,viewBox:p._.parseViewBox(o()(c)?t:w(w({},t),{},{clockWise:c})),key:"label-".concat(e),index:e}))})):null}A.displayName="LabelList",A.renderCallByParent=function(t,e){var n,i=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!t||!t.children&&i&&!t.label)return null;var o=t.children,a=(0,d.NN)(o,A).map(function(t,n){return(0,r.cloneElement)(t,{data:e,key:"labelList-".concat(n)})});return i?[(n=t.label)?!0===n?r.createElement(A,{key:"labelList-implicit",data:e}):r.isValidElement(n)||s()(n)?r.createElement(A,{key:"labelList-implicit",data:e,content:n}):u()(n)?r.createElement(A,x({data:e},n,{key:"labelList-implicit"})):null:null].concat(function(t){if(Array.isArray(t))return g(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 g(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(t,void 0)}}(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}},78042:function(t,e,n){"use strict";n.d(e,{D:function(){return I}});var r=n(67294),i=n(44966),o=n.n(i),a=n(90512),u=n(22073),c=n(66080),s=n(40206),l=n(68975);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 n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function h(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function d(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(d=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,n){return(e=b(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function b(t){var e=function(t,e){if("object"!=f(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=f(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==f(e)?e:String(e)}var g=function(t){var e;function n(){var t,e;return!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,n),t=n,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");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,d()?Reflect.construct(t,e||[],y(this).constructor):t.apply(this,e))}return!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&v(t,e)}(n,t),e=[{key:"renderIcon",value:function(t){var e=this.props.inactiveColor,n=32/6,i=32/3,o=t.inactive?e:t.color;if("plainline"===t.type)return r.createElement("line",{strokeWidth:4,fill:"none",stroke:o,strokeDasharray:t.payload.strokeDasharray,x1:0,y1:16,x2:32,y2:16,className:"recharts-legend-icon"});if("line"===t.type)return r.createElement("path",{strokeWidth:4,fill:"none",stroke:o,d:"M0,".concat(16,"h").concat(i,"\n            A").concat(n,",").concat(n,",0,1,1,").concat(2*i,",").concat(16,"\n            H").concat(32,"M").concat(2*i,",").concat(16,"\n            A").concat(n,",").concat(n,",0,1,1,").concat(i,",").concat(16),className:"recharts-legend-icon"});if("rect"===t.type)return r.createElement("path",{stroke:"none",fill:o,d:"M0,".concat(4,"h").concat(32,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(r.isValidElement(t.legendIcon)){var a=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?h(Object(n),!0).forEach(function(e){m(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},t);return delete a.legendIcon,r.cloneElement(t.legendIcon,a)}return r.createElement(s.v,{fill:o,cx:16,cy:16,size:32,sizeType:"diameter",type:t.type})}},{key:"renderItems",value:function(){var t=this,e=this.props,n=e.payload,i=e.iconSize,s=e.layout,f=e.formatter,h=e.inactiveColor,d={x:0,y:0,width:32,height:32},y={display:"horizontal"===s?"inline-block":"block",marginRight:10},v={display:"inline-block",verticalAlign:"middle",marginRight:4};return n.map(function(e,n){var s=e.formatter||f,b=(0,a.Z)(m(m({"recharts-legend-item":!0},"legend-item-".concat(n),!0),"inactive",e.inactive));if("none"===e.type)return null;var g=o()(e.value)?null:e.value;(0,u.Z)(!o()(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?h:e.color;return r.createElement("li",p({className:b,style:y,key:"legend-item-".concat(n)},(0,l.bw)(t.props,e,n)),r.createElement(c.T,{width:i,height:i,viewBox:d,style:v},t.renderIcon(e)),r.createElement("span",{className:"recharts-legend-item-text",style:{color:x}},s?s(g,e,n):g))})}},{key:"render",value:function(){var t=this.props,e=t.payload,n=t.layout,i=t.align;return e&&e.length?r.createElement("ul",{className:"recharts-default-legend",style:{padding:0,margin:0,textAlign:"horizontal"===n?i:"left"}},this.renderItems()):null}}],function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,b(r.key),r)}}(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),n}(r.PureComponent);m(g,"displayName","Legend"),m(g,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var x=n(83038),O=n(62703);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 j=["ref"];function S(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function A(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?S(Object(n),!0).forEach(function(e){M(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function P(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,C(r.key),r)}}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 T(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _(t,e){return(_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function M(t,e,n){return(e=C(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function C(t){var e=function(t,e){if("object"!=w(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=w(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==w(e)?e:String(e)}function D(t){return t.value}var I=function(t){var e,n;function i(){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var t,e,n,r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return e=i,n=[].concat(o),e=k(e),t=function(t,e){if(e&&("object"===w(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return T(t)}(this,E()?Reflect.construct(e,n||[],k(this).constructor):e.apply(this,n)),M(T(t),"lastBoundingBox",{width:-1,height:-1}),t}return!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_(t,e)}(i,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,n,r=this.props,i=r.layout,o=r.align,a=r.verticalAlign,u=r.margin,c=r.chartWidth,s=r.chartHeight;return t&&(void 0!==t.left&&null!==t.left||void 0!==t.right&&null!==t.right)||(e="center"===o&&"vertical"===i?{left:((c||0)-this.getBBoxSnapshot().width)/2}:"right"===o?{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)||(n="middle"===a?{top:((s||0)-this.getBBoxSnapshot().height)/2}:"bottom"===a?{bottom:u&&u.bottom||0}:{top:u&&u.top||0}),A(A({},e),n)}},{key:"render",value:function(){var t=this,e=this.props,n=e.content,i=e.width,o=e.height,a=e.wrapperStyle,u=e.payloadUniqBy,c=e.payload,s=A(A({position:"absolute",width:i||"auto",height:o||"auto"},this.getDefaultPosition(a)),a);return r.createElement("div",{className:"recharts-legend-wrapper",style:s,ref:function(e){t.wrapperNode=e}},function(t,e){if(r.isValidElement(t))return r.cloneElement(t,e);if("function"==typeof t)return r.createElement(t,e);e.ref;var n=function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}
1(e,j);return r.createElement(g,n)}(n,A(A({},this.props),{},{payload:(0,O.z)(c,u,D)})))}}],n=[{key:"getWithHeight",value:function(t,e){var n=t.props.layout;return"vertical"===n&&(0,x.hj)(t.props.height)?{height:t.props.height}:"horizontal"===n?{width:t.props.width||e}:null}}],e&&P(i.prototype,e),n&&P(i,n),Object.defineProperty(i,"prototype",{writable:!1}),i}(r.PureComponent);M(I,"displayName","Legend"),M(I,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"})},59886:function(t,e,n){"use strict";n.d(e,{x:function(){return L}});var r=n(67294),i=n(36064),o=n.n(i),a=n(90512),u=n(83038),c=n(59912),s=n(48894),l=n(98888);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 n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,u=[],c=!0,s=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){s=!0,i=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw i}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return h(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(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 h(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function d(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,function(t){var e=function(t,e){if("object"!=f(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=f(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==f(e)?e:String(e)}(r.key),r)}}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$/,b=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,g={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},x=Object.keys(g),O=function(){var t,e;function n(t,e){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,n),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*g[e],this.unit="px")}return t=[{key:"add",value:function(t){return this.unit!==t.unit?new n(NaN,""):new n(this.num+t.num,this.unit)}},{key:"subtract",value:function(t){return this.unit!==t.unit?new n(NaN,""):new n(this.num-t.num,this.unit)}},{key:"multiply",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new n(NaN,""):new n(this.num*t.num,this.unit||t.unit)}},{key:"divide",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new n(NaN,""):new n(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,r=p(null!==(e=b.exec(t))&&void 0!==e?e:[],3),i=r[1],o=r[2];return new n(parseFloat(i),null!=o?o:"")}}],t&&d(n.prototype,t),e&&d(n,e),Object.defineProperty(n,"prototype",{writable:!1}),n}();function w(t){if(t.includes("NaN"))return"NaN";for(var e=t;e.includes("*")||e.includes("/");){var n,r=p(null!==(n=y.exec(e))&&void 0!==n?n:[],4),i=r[1],o=r[2],a=r[3],u=O.parse(null!=i?i:""),c=O.parse(null!=a?a:""),s="*"===o?u.multiply(c):u.divi
1de(c);if(s.isNaN())return"NaN";e=e.replace(y,s.toString())}for(;e.includes("+")||/.-\d+(?:\.\d+)?/.test(e);){var l,f=p(null!==(l=v.exec(e))&&void 0!==l?l:[],4),h=f[1],d=f[2],m=f[3],b=O.parse(null!=h?h:""),g=O.parse(null!=m?m:""),x="+"===d?b.add(g):b.subtract(g);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 n=p(j.exec(e),2)[1];e=e.replace(j,w(n))}return e}(e),e=w(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 n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function k(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function T(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,u=[],c=!0,s=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){s=!0,i=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw i}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return _(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(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,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var M=/[ \f\n\r\t\v\u2028\u2029]+/,C=function(t){var e=t.children,n=t.breakAll,r=t.style;try{var i=[];o()(e)||(i=n?e.toString().split(""):e.toString().split(M));var a=i.map(function(t){return{word:t,width:(0,l.xE)(t,r).width}}),u=n?0:(0,l.xE)("\xa0",r).width;return{wordsWithComputedWidth:a,spaceWidth:u}}catch(t){return null}},D=function(t,e,n,r,i){var o,a=t.maxLines,c=t.children,s=t.style,l=t.breakAll,f=(0,u.hj)(a),p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.reduce(function(t,e){var o=e.word,a=e.width,u=t[t.length-1];return u&&(null==r||i||u.width+a+n<Number(r))?(u.words.push(o),u.width+=a+n):t.push({words:[o],width:a}),t},[])},h=p(e);if(!f)return h;for(var d=function(t){var e=p(C({breakAll:l,style:s,children:c.slice(0,t)+"…"}).wordsWithComputedWidth);return[e.length>a||e.reduce(function(t,e){return t.width>e.width?t:e}).width>Number(r),e]},y=0,v=c.length-1,m=0;y<=v&&m<=c.length-1;){var b=Math.floor((y+v)/2),g=T(d(b-1),2),x=g[0],O=g[1],w=T(d(b),1)[0];if(x||w||(y=b+1),x&&w&&(v=b-1),!x&&w){o=O;break}m++}return o||h},I=function(t){return[{words:o()(t)?[]:t.toString().split(M)}]},N=function(t){var e=t.width,n=t.scaleToFit,r=t.children,i=t.style,o=t.breakAll,a=t.maxLines;if((e||n)&&!c.x.isSsr){var u=C({breakAll:o,children:r,style:i});return u?D({breakAll:o,children:r,maxLines:a,style:i},u.wordsWithComputedWidth,u.spaceWidth,e,n):I(r)}return I(r)},B="#808080",L=function(t){var e,n=t.x,i=void 0===n?0:n,o=t.y,c=void 0===o?0:o,l=t.lineHeight,f=void 0===l?"1em":l,p=t.capHeight,h=void 0===p?"0.71em":p,d=t.scaleToFit,y=void 0!==d&&d,v=t.textAnchor,m=t.verticalAnchor,b=t.fill,g=void 0===b?B:b,x=k(t,A),O=(0,r.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]),w=x.dx,j=x.dy,T=x.angle,_=x.className,M=x.breakAll,C=k(x,P);if(!(0,u.P2)(i)||!(0,u.P2)(c))return null;var D=i+((0,u.hj)(w)?w:0),I=c+((0,u.hj)(j)?j:0);switch(void 0===m?"end":m){case"start":e=S("calc(".concat(h,")"));break;case"middle":e=S("calc(".concat((O.length-1)/2," * -").concat(f," + (").concat(h," / 2))"));break;default:e=S("calc(".concat(O.length-1," * -").concat(f,")"))}var L=[];if(y){var R=O[0].width,z=x.width;L.push("scale(".concat(((0,u.hj)(z)?z/R:1)/R,")"))}return T&&L.push("rotate(".concat(T,", ").concat(D,", ").concat(I,")")),L.length&&(C.transform=L.join(" ")),r.createElement("text",E({},(0,s.L6)(C,!0),{x:D,y:I,className:(0,a.Z)("recharts-text",_),textAnchor:void 0===v?"start":v,fill:g.includes("url")?B:g}),O.map(function(t,n){var i=t.words.join(M?"":" ");return r.createElement("tspan",{x:D,dy:0===n?e:f,key:i},i)}))}},24570:function(t,e,n){"use strict";n.d(e,{u:function(){return Y}});var r=n(67294),i=n(62355),o=n.n(i),a=n(36064),u=n.n(a),c=n(90512),s=n(83038);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 f(){return(f=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function h(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?h(Object(n),!0).forEach(function(e){var r,i;r=e,i=n[e],(r=function(t){var e=function(t,e){if("object"!=l(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=l(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==l(e)?e:String(e)}(r))in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function y(t){return Array.isArray(t)&&(0,s.P2)(t[0])&&(0,s.P2)(t[1])?t.join(" ~ "):t}var v=function(t){var e=t.separator,n=void 0===e?" : ":e,i=t.contentStyle,a=t.itemStyle,l=void 0===a?{}:a,h=t.labelStyle,v=t.payload,m=t.formatter,b=t.itemSorter,g=t.wrapperClassName,x=t.labelClassName,O=t.label,w=t.labelFormatter,j=t.accessibilityLayer,S=d({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},void 0===i?{}:i),A=d({margin:0},void 0===h?{}:h),P=!u()(O),E=P?O:"",k=(0,c.Z)("recharts-default-tooltip",g),T=(0,c.Z)("recharts-tooltip-label",x);return P&&w&&null!=v&&(E=w(O,v)),r.createElement("div",f({className:k,style:S},void 0!==j&&j?{role:"status","aria-live":"assertive"}:{}),r.createElement("p",{className:T,style:A},r.isValidElement(E)?E:"".concat(E)),function(){if(v&&v.length){var t=(b?o()(v,b):v).map(function(t,e){if("none"===t.type)return null;var i=d({display:"block",paddingTop:4,paddingBottom:4,color:t.color||"#000"},l),o=t.formatter||m||y,a=t.value,u=t.name,c=a,f=u;if(o&&null!=c&&null!=f){var h=o(a,u,t,e,v);if(Array.isArray(h)){var b=function(t){if(Array.isArray(t))return t}(h)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,u=[],c=!0,s=!1;try{for(o=(n=n.call(t)).next;!(c=(r=o.call(n)).done)&&(u.push(r.value),2!==u.length);c=!0);}catch(t){s=!0,i=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw i}}return u}}(h,2)||function(t,e){if(t){if("string"==typeof t)return p(t,2);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(t,2)}}(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.")}();c=b[0],f=b[1]}else c=h}return r.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(e),style:i},(0,s.P2)(f)?r.createElement("span",{className:"recharts-tooltip-item-name"},f):null,(0,s.P2)(f)?r.createElement("span",{className:"recharts-tooltip-item-separator"},n):null,r.createElement("span",{className:"recharts-tooltip-item-value"},c),r.createElement("span",{className:"recharts-tooltip-item-unit"},t.unit||""))});return r.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 b(t,e,n){var r;return(r=function(t,e){if("object"!=m(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=m(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==m(r)?r:String(r))in t)?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var g="recharts-tooltip-wrapper",x={visibility:"hidden"};function O(t){var e=t.allowEscapeViewBox,n=t.coordinate,r=t.key,i=t.offsetTopLeft,o=t.position,a=t.reverseDirection,u=t.tooltipDimension,c=t.viewBox,l=t.viewBoxDimension;if(o&&(0,s.hj)(o[r]))return o[r];var f=n[r]-u-i,p=n[r]+i;return e[r]?a[r]?f:p:a[r]?f<c[r]?Math.max(p,c[r]):Math.max(f,c[r]):p+u>c[r]+l?Math.max(f,c[r]):Math.max(p,c[r])}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)}function j(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function S(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?j(Object(n),!0).forEach(function(e){T(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,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){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function k(t,e){return(k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function T(t,e,n){return(e=_(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _(t){var e=function(t,e){if("object"!=w(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=w(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==w(e)?e:String(e)}var M=function(t){var e;function n(){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,n);for(var t,e,r,i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return e=n,r=[].concat(o),e=P(e),t=function(t,e){if(e&&("object"===w(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return E(t)}(this,A()?Reflect.construct(e,r||[],P(this).constructor):e.apply(this,r)),T(E(t),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),T(E(t),"handleKeyDown",function(e){if("Escape"===e.key){var n,r,i,o;t.setState({dismissed:!0,dismissedAtCoordinate:{x:null!==(n=null===(r=t.props.coordinate)||void 0===r?void 0:r.x)&&void 0!==n?n:0,y:null!==(i=null===(o=t.props.coordinate)||void 0===o?void 0:o.y)&&void 0!==i?i:0}})}}),t}return!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&k(t,e)}(n,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?void 0:t.x)!==this.state.dismissedAtCoordinate.x||(null===(e=this.props.coordinate)||void 0===e?void 0:e.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var t,e,n,i,o,a,u,l,f,p,h,d,y,v,m,w,j,A,P,E=this,k=this.props,T=k.active,_=k.allowEscapeViewBox,M=k.animationDuration,C=k.animationEasing,D=k.children,I=k.coordinate,N=k.hasPayload,B=k.isAnimationActive,L=k.offset,R=k.position,z=k.reverseDirection,U=k.useTranslate3d,F=k.viewBox,Z=k.wrapperStyle,Y=(d=(t={allowEscapeViewBox:_,coordinate:I,offsetTopLeft:L,position:R,reverseDirection:z,tooltipBox:this.state.lastBoundingBox,useTranslate3d:U,viewBox:F}).allowEscapeViewBox,y=t.coordinate,v=t.offsetTopLeft,m=t.position,w=t.reverseDirection,j=t.tooltipBox,A=t.useTranslate3d,P=t.viewBox,j.height>0&&j.width>0&&y?(n=(e={translateX:p=O({allowEscapeViewBox:d,coordinate:y,key:"x",offsetTopLeft:v,position:m,reverseDirection:w,tooltipDimension:j.width,viewBox:P,viewBoxDimension:P.width}),translateY:h=O({allowEscapeViewBox:d,coordinate:y,key:"y",offsetTopLeft:v,position:m,reverseDirection:w,tooltipDimension:j.height,viewBox:P,viewBoxDimension:P.height}),useTranslate3d:A}).translateX,i=e.translateY,f={transform:e.useTranslate3d?"translate3d(".concat(n,"px, ").concat(i,"px, 0)"):"translate(".concat(n,"px, ").concat(i,"px)")}
1):f=x,{cssProperties:f,cssClasses:(a=(o={translateX:p,translateY:h,coordinate:y}).coordinate,u=o.translateX,l=o.translateY,(0,c.Z)(g,b(b(b(b({},"".concat(g,"-right"),(0,s.hj)(u)&&a&&(0,s.hj)(a.x)&&u>=a.x),"".concat(g,"-left"),(0,s.hj)(u)&&a&&(0,s.hj)(a.x)&&u<a.x),"".concat(g,"-bottom"),(0,s.hj)(l)&&a&&(0,s.hj)(a.y)&&l>=a.y),"".concat(g,"-top"),(0,s.hj)(l)&&a&&(0,s.hj)(a.y)&&l<a.y)))}),$=Y.cssClasses,W=Y.cssProperties,X=S(S({transition:B&&T?"transform ".concat(M,"ms ").concat(C):void 0},W),{},{pointerEvents:"none",visibility:!this.state.dismissed&&T&&N?"visible":"hidden",position:"absolute",top:0,left:0},Z);return r.createElement("div",{tabIndex:-1,className:$,style:X,ref:function(t){E.wrapperNode=t}},D)}}],function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,_(r.key),r)}}(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),n}(r.PureComponent),C=n(59912),D=n(62703);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(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function B(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?N(Object(n),!0).forEach(function(e){U(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function L(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(L=function(){return!!t})()}function R(t){return(R=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function z(t,e){return(z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function U(t,e,n){return(e=F(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function F(t){var e=function(t,e){if("object"!=I(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=I(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==I(e)?e:String(e)}function Z(t){return t.dataKey}var Y=function(t){var e;function n(){var t,e;return!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,n),t=n,e=arguments,t=R(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");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,L()?Reflect.construct(t,e||[],R(this).constructor):t.apply(this,e))}return!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&z(t,e)}(n,t),e=[{key:"render",value:function(){var t,e=this,n=this.props,i=n.active,o=n.allowEscapeViewBox,a=n.animationDuration,u=n.animationEasing,c=n.content,s=n.coordinate,l=n.filterNull,f=n.isAnimationActive,p=n.offset,h=n.payload,d=n.payloadUniqBy,y=n.position,m=n.reverseDirection,b=n.useTranslate3d,g=n.viewBox,x=n.wrapperStyle,O=null!=h?h:[];l&&O.length&&(O=(0,D.z)(h.filter(function(t){return null!=t.value&&(!0!==t.hide||e.props.includeHidden)}),d,Z));var w=O.length>0;return r.createElement(M,{allowEscapeViewBox:o,animationDuration:a,animationEasing:u,isAnimationActive:f,active:i,coordinate:s,hasPayload:w,offset:p,position:y,reverseDirection:m,useTranslate3d:b,viewBox:g,wrapperStyle:x},(t=B(B({},this.props),{},{payload:O}),r.isValidElement(c)?r.cloneElement(c,t):"function"==typeof c?r.createElement(c,t):r.createElement(v,t)))}}],function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,F(r.key),r)}}(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),n}(r.PureComponent);U(Y,"displayName","Tooltip"),U(Y,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!C.x.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:{}})},61379:function(t,e,n){"use strict";n.d(e,{m:function(){return c}});var r=n(67294),i=n(90512),o=n(48894),a=["children","className"];function u(){return(u=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var c=r.forwardRef(function(t,e){var n=t.children,c=t.className,s=function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(t,a),l=(0,i.Z)("recharts-layer",c);return r.createElement("g",u({className:l},(0,o.L6)(s,!0),{ref:e}),n)})},66080:function(t,e,n){"use strict";n.d(e,{T:function(){return c}});var r=n(67294),i=n(90512),o=n(48894),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 n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function c(t){var e=t.children,n=t.width,c=t.height,s=t.viewBox,l=t.className,f=t.style,p=t.title,h=t.desc,d=function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(t,a),y=s||{width:n,height:c,x:0,y:0},v=(0,i.Z)("recharts-surface",l);return r.createElement("svg",u({},(0,o.L6)(d,!0,"svg"),{className:v,width:n,height:c,style:f,viewBox:"".concat(y.x," ").concat(y.y," ").concat(y.width," ").concat(y.height)}),r.createElement("title",null,p),r.createElement("desc",null,h),e)}},96387:function(t,e,n){"use strict";n.d(e,{br:function(){return d},Mw:function(){return x},zn:function(){return g},sp:function(){return y},d2:function(){return b},bH:function(){return v},Ud:function(){return m}});var r=n(67294),i=n(38776);n(21417),n(8282);var o=n(94233),a=n.n(o)()(function(t){return{x:t.left,y:t.top,width:t.width,height:t.height}},function(t){return["l",t.left,"t",t.top,"w",t.width,"h",t.height].join("")}),u=(0,r.createContext)(void 0),c=(0,r.createContext)(void 0),s=(0,r.createContext)(void 0),l=(0,r.createContext)({}),f=(0,r.createContext)(void 0),p=(0,r.createContext)(0),h=(0,r.createContext)(0),d=function(t){var e=t.state,n=e.xAxisMap,i=e.yAxisMap,o=e.offset,d=t.clipPathId,y=t.children,v=t.width,m=t.height,b=a(o);return r.createElement(u.Provider,{value:n},r.createElement(c.Provider,{value:i},r.createElement(l.Provider,{value:o},r.createElement(s.Provider,{value:b},r.createElement(f.Provider,{value:d},r.createElement(p.Provider,{value:m},r.createElement(h.Provider,{value:v},y)))))))},y=function(){return(0,r.useContext)(f)},v=function(t){var e=(0,r.useContext)(u);null!=e||(0,i.Z)(!1);var n=e[t];return null!=n||(0,i.Z)(!1),n},m=function(t){var e=(0,r.useContext)(c);null!=e||(0,i.Z)(!1);var n=e[t];return null!=n||(0,i.Z)(!1),n},b=function(){return(0,r.useContext)(s)},g=function(){return(0,r.useContext)(h)},x=function(){return(0,r.useContext)(p)}},59771:function(t,e,n){"use strict";n.d(e,{H:function(){return q}});var r=n(67294);function i(){}function o(t,e,n){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+n)/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:o(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=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:o(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},u.prototype={areaStart:i,areaEnd:i,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=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:o(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=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:o(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};class s{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=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default: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 l(t){this._context=t}function f(t){this._context=t}function p(t){return new f(t)}function h(t,e,n){var r=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(n-t._y1)/(i||r<0&&-0);return((o<0?-1:1)+(a<0?-1:1))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs((o*i+a*r)/(r+i)))||0}function d(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function y(t,e,n){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,u=(o-r)/3;t._context.bezierCurveTo(r+u,i+u*e,o-u,a-u*n,o,a)}function v(t){this._context=t}function m(t){this._context=new b(t)}function b(t){this._context=t}function g(t){this._context=t}function x(t){var e,n,r=t.length-1,i=Array(r),o=Array(r),a=Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e<r-1;++e)i[e]=1,o[e]=4,a[e]=4*t[e]+2*t[e+1];for(i[r-1]=2,o[r-1]=7,a[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=i[e]/o[e-1],o[e]-=n,a[e]-=n*a[e-1];for(i[r-1]=a[r-1]/o[r-1],e=r-2;e>=0;--e)i[e]=(a[e]-i[e+1])/o[e];for(e=0,o[r-1]=(t[r]+i[r-1])/2;e<r-1;++e)o[e]=2*t[e+1]-i[e+1];return[i,o]}function O(t,e){this._context=t,this._t=e}l.prototype={areaStart:i,areaEnd:i,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},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=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default: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,d(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,y(this,d(this,n=h(this,t,e)),n);break;default:y(this,this._t0,n=h(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(m.prototype=Object.create(v.prototype)).point=function(t,e){v.prototype.point.call(this,e,t)},b.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,n,r,i,o){this._context.bezierCurveTo(e,t,r,n,o,i)}},g.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,n=t.length;if(n){if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var r=x(t),i=x(e),o=0,a=1;a<n;++o,++a)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[a],e[a])}(this._line||0!==this._line&&1===n)&&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)}},O.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=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}};var w=n(95409),j=n(51406),S=n(87135);function A(t){return t[0]}function P(t){return t[1]}function E(t,e){var n=(0,j.Z)(!0),r=null,i=p,o=null,a=(0,S.d)(u);function u(u){var c,s,l,f=(u=(0,w.Z)(u)).length,p=!1;for(null==r&&(o=i(l=a())),c=0;c<=f;++c)!(c<f&&n(s=u[c],c,u))===p&&((p=!p)?o.lineStart():o.lineEnd()),p&&o.point(+t(s,c,u),+e(s,c,u));if(l)return o=null,l+""||null}return t="function"==typeof t?t:void 0===t?A:(0,j.Z)(t),e="function"==typeof e?e:void 0===e?P:(0,j.Z)(e),u.x=function(e){return arguments.length?(t="function"==typeof e?e:(0,j.Z)(+e),u):t},u.y=function(t){return arguments.length?(e="
1function"==typeof t?t:(0,j.Z)(+t),u):e},u.defined=function(t){return arguments.length?(n="function"==typeof t?t:(0,j.Z)(!!t),u):n},u.curve=function(t){return arguments.length?(i=t,null!=r&&(o=i(r)),u):i},u.context=function(t){return arguments.length?(null==t?r=o=null:o=i(r=t),u):r},u}function k(t,e,n){var r=null,i=(0,j.Z)(!0),o=null,a=p,u=null,c=(0,S.d)(s);function s(s){var l,f,p,h,d,y=(s=(0,w.Z)(s)).length,v=!1,m=Array(y),b=Array(y);for(null==o&&(u=a(d=c())),l=0;l<=y;++l){if(!(l<y&&i(h=s[l],l,s))===v){if(v=!v)f=l,u.areaStart(),u.lineStart();else{for(u.lineEnd(),u.lineStart(),p=l-1;p>=f;--p)u.point(m[p],b[p]);u.lineEnd(),u.areaEnd()}}v&&(m[l]=+t(h,l,s),b[l]=+e(h,l,s),u.point(r?+r(h,l,s):m[l],n?+n(h,l,s):b[l]))}if(d)return u=null,d+""||null}function l(){return E().defined(i).curve(a).context(o)}return t="function"==typeof t?t:void 0===t?A:(0,j.Z)(+t),e="function"==typeof e?e:void 0===e?(0,j.Z)(0):(0,j.Z)(+e),n="function"==typeof n?n:void 0===n?P:(0,j.Z)(+n),s.x=function(e){return arguments.length?(t="function"==typeof e?e:(0,j.Z)(+e),r=null,s):t},s.x0=function(e){return arguments.length?(t="function"==typeof e?e:(0,j.Z)(+e),s):t},s.x1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:(0,j.Z)(+t),s):r},s.y=function(t){return arguments.length?(e="function"==typeof t?t:(0,j.Z)(+t),n=null,s):e},s.y0=function(t){return arguments.length?(e="function"==typeof t?t:(0,j.Z)(+t),s):e},s.y1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:(0,j.Z)(+t),s):n},s.lineX0=s.lineY0=function(){return l().x(t).y(e)},s.lineY1=function(){return l().x(t).y(n)},s.lineX1=function(){return l().x(r).y(e)},s.defined=function(t){return arguments.length?(i="function"==typeof t?t:(0,j.Z)(!!t),s):i},s.curve=function(t){return arguments.length?(a=t,null!=o&&(u=a(o)),s):a},s.context=function(t){return arguments.length?(null==t?o=u=null:u=a(o=t),s):o},s}var T=n(18773),_=n.n(T),M=n(44966),C=n.n(M),D=n(90512),I=n(68975),N=n(48894),B=n(83038);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 R(){return(R=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function z(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function U(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?z(Object(n),!0).forEach(function(e){var r,i;r=e,i=n[e],(r=function(t){var e=function(t,e){if("object"!=L(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=L(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==L(e)?e:String(e)}(r))in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var F={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 s(t,!0)},curveBumpY:function(t){return new s(t,!1)},curveLinearClosed:function(t){return new l(t)},curveLinear:p,curveMonotoneX:function(t){return new v(t)},curveMonotoneY:function(t){return new m(t)},curveNatural:function(t){return new g(t)},curveStep:function(t){return new O(t,.5)},curveStepAfter:function(t){return new O(t,1)},curveStepBefore:function(t){return new O(t,0)}},Z=function(t){return t.x===+t.x&&t.y===+t.y},Y=function(t){return t.x},$=function(t){return t.y},W=function(t,e){if(C()(t))return t;var n="curve".concat(_()(t));return("curveMonotone"===n||"curveBump"===n)&&e?F["".concat(n).concat("vertical"===e?"Y":"X")]:F[n]||p},X=function(t){var e,n=t.type,r=t.points,i=void 0===r?[]:r,o=t.baseLine,a=t.layout,u=t.connectNulls,c=void 0!==u&&u,s=W(void 0===n?"linear":n,a),l=c?i.filter(function(t){return Z(t)}):i;if(Array.isArray(o)){var f=c?o.filter(function(t){return Z(t)}):o,p=l.map(function(t,e){return U(U({},t),{},{base:f[e]})});return(e="vertical"===a?k().y($).x1(Y).x0(function(t){return t.base.x}):k().x(Y).y1($).y0(function(t){return t.base.y})).defined(Z).curve(s),e(p)}return(e="vertical"===a&&(0,B.hj)(o)?k().y($).x1(Y).x0(o):(0,B.hj)(o)?k().x(Y).y1($).y0(o):E().x(Y).y($)).defined(Z).curve(s),e(l)},q=function(t){var e=t.className,n=t.points,i=t.path,o=t.pathRef;if((!n||!n.length)&&!i)return null;var a=n&&n.length?X(t):i;return r.createElement("path",R({},(0,N.L6)(t,!1),(0,I.Ym)(t),{className:(0,D.Z)("recharts-curve",e),d:a,ref:o}))}},58343:function(t,e,n){"use strict";n.d(e,{o:function(){return c}});var r=n(67294),i=n(90512),o=n(68975),a=n(48894);function u(){return(u=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var c=function(t){var e=t.cx,n=t.cy,c=t.r,s=t.className,l=(0,i.Z)("recharts-dot",s);return e===+e&&n===+n&&c===+c?r.createElement("circle",u({},(0,a.L6)(t,!1),(0,o.Ym)(t),{className:l,cx:e,cy:n,r:c})):null}},52127:function(t,e,n){"use strict";n.d(e,{A:function(){return y},X:function(){return h}});var r=n(67294),i=n(90512),o=n(96642),a=n(48894);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 n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?l(Object(n),!0).forEach(function(e){var r,i;r=e,i=n[e],(r=function(t){var e=function(t,e){if("object"!=u(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=u(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==u(e)?e:String(e)}(r))in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var p=function(t,e,n,r,i){var o,a=Math.min(Math.abs(n)/2,Math.abs(r)/2),u=r>=0?1:-1,c=n>=0?1:-1,s=r>=0&&n>=0||r<0&&n<0?1:0;if(a>0&&i instanceof Array){for(var l=[0,0,0,0],f=0;f<4;f++)l[f]=i[f]>a?a:i[f];o="M".concat(t,",").concat(e+u*l[0]),l[0]>0&&(o+="A ".concat(l[0],",").concat(l[0],",0,0,").concat(s,",").concat(t+c*l[0],",").concat(e)),o+="L ".concat(t+n-c*l[1],",").concat(e),l[1]>0&&(o+="A ".concat(l[1],",").concat(l[1],",0,0,").concat(s,",\n        ").concat(t+n,",").concat(e+u*l[1])),o+="L ".concat(t+n,",").concat(e+r-u*l[2]),l[2]>0&&(o+="A ".concat(l[2],",").concat(l[2],",0,0,").concat(s,",\n        ").concat(t+n-c*l[2],",").concat(e+r)),o+="L ".concat(t+c*l[3],",").concat(e+r),l[3]>0&&(o+="A ".concat(l[3],",").concat(l[3],",0,0,").concat(s,",\n        ").concat(t,",").concat(e+r-u*l[3])),o+="Z"}else if(a>0&&i===+i&&i>0){var p=Math.min(a,i);o="M ".concat(t,",").concat(e+u*p,"\n            A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(t+c*p,",").concat(e,"\n            L ").concat(t+n-c*p,",").concat(e,"\n            A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(t+n,",").concat(e+u*p,"\n            L ").concat(t+n,",").concat(e+r-u*p,"\n            A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(t+n-c*p,",").concat(e+r,"\n            L ").concat(t+c*p,",").concat(e+r,"\n            A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(t,",").concat(e+r-u*p," Z")}else o="M ".concat(t,",").concat(e," h ").concat(n," v ").concat(r," h ").concat(-n," Z");return o},h=function(t,e){if(!t||!e)return!1;var n=t.x,r=t.y,i=e.x,o=e.y,a=e.width,u=e.height;return!!(Math.abs(a)>0&&Math.abs(u)>0)&&n>=Math.min(i,i+a)&&n<=Math.max(i,i+a)&&r>=Math.min(o,o+u)&&r<=Math.max(o,o+u)},d={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,n=f(f({},d),t),u=(0,r.useRef)(),l=function(t){if(Array.isArray(t))return t}(e=(0,r.useState)(-1))||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,u=[],c=!0,s=!1;try{for(o=(n=n.call(t)).next;!(c=(r=o.call(n)).done)&&(u.push(r.value),2!==u.length);c=!0);}catch(t){s=!0,i=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw i}}return u}}(e,2)||function(t,e){if(t){if("string"==typeof t)return s(t,2);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(t,2)}}(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.")}(),h=l[0],y=l[1];(0,r.useEffect)(function(){if(u.current&&u.current.getTotalLength)try{var t=u.current.getTotalLength();t&&y(t)}catch(t){}},[]);var v=n.x,m=n.y,b=n.width,g=n.height,x=n.radius,O=n.className,w=n.animationEasing,j=n.animationDuration,S=n.animationBegin,A=n.isAnimationActive,P=n.isUpdateAnimationActive;if(v!==+v||m!==+m||b!==+b||g!==+g||0===b||0===g)return null;var E=(0,i.Z)("recharts-rectangle",O);return P?r.createElement(o.ZP,{canBegin:h>0,from:{width:b,height:g,x:v,y:m},to:{width:b,height:g,x:v,y:m},duration:j,animationEasing:w,isActive:P},function(t){var e=t.width,i=t.height,s=t.x,l=t.y;return r.createElement(o.ZP,{canBegin:h>0,from:"0px ".concat(-1===h?1:h,"px"),to:"".concat(h,"px 0px"),attributeName:"strokeDasharray",begin:S,duration:j,isActive:A,easing:w},r.createElement("path",c({},(0,a.L6)(n,!0),{className:E,d:p(s,l,e,i,x),ref:u})))}):r.createElement("path",c({},(0,a.L6)(n,!0),{className:E,d:p(v,m,b,g,x)}))}},65935:function(t,e,n){"use strict";n.d(e,{L:function(){return v}});var r=n(67294),i=n(90512),o=n(48894),a=n(70522),u=n(83038);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 s(){return(s=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?l(Object(n),!0).forEach(function(e){var r,i;r=e,i=n[e],(r=function(t){var e=function(t,e){if("object"!=c(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=c(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==c(e)?e:String(e)}(r))in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var p=function(t){var e=t.cx,n=t.cy,r=t.radius,i=t.angle,o=t.sign,u=t.isExternal,c=t.cornerRadius,s=t.cornerIsExternal,l=c*(u?1:-1)+r,f=Math.asin(c/l)/a.Wk,p=s?i:i+o*f;return{center:(0,a.op)(e,n,l,p),circleTangency:(0,a.op)(e,n,r,p),lineTangency:(0,a.op)(e,n,l*Math.cos(f*a.Wk),s?i-o*f:i),theta:f}},h=function(t){var e,n=t.cx,r=t.cy,i=t.innerRadius,o=t.outerRadius,c=t.startAngle,s=(e=t.endAngle,(0,u.uY)(e-c)*Math.min(Math.abs(e-c),359.999)),l=c+s,f=(0,a.op)(n,r,o,c),p=(0,a.op)(n,r,o,l),h="M ".concat(f.x,",").concat(f.y,"\n    A ").concat(o,",").concat(o,",0,\n    ").concat(+(Math.abs(s)>180),",").concat(+(c>l),",\n    ").concat(p.x,",").concat(p.y,"\n  ");if(i>0){var d=(0,a.op)(n,r,i,c),y=(0,a.op)(n,r,i,l);h+="L ".concat(y.x,",").concat(y.y,"\n            A ").concat(i,",").concat(i,",0,\n            ").concat(+(Math.abs(s)>180),",").concat(+(c<=l),",\n            ").concat(d.x,",").concat(d.y," Z")}else h+="L ".concat(n,",").concat(r," Z");return h},d=function(t){var e=t.cx,n=t.cy,r=t.innerRadius,i=t.outerRadius,o=t.cornerRadius,a=t.forceCornerRadius,c=t.cornerIsExternal,s=t.startAngle,l=t.endAngle,f=(0,u.uY)(l-s),d=p({cx:e,cy:n,radius:i,angle:s,sign:f,cornerRadius:o,cornerIsExternal:c}),y=d.circleTangency,v=d.lineTangency,m=d.theta,b=p({cx:e,cy:n,radius:i,angle:l,sign:-f,cornerRadius:o,cornerIsExternal:c}),g=b.circleTangency,x=b.lineTangency,O=b.theta,w=c?Math.abs(s-l):Math.abs(s-l)-m-O;if(w<0)return a?"M ".concat(v.x,",").concat(v.y,"\n        a").concat(o,",").concat(o,",0,0,1,").concat(2*o,",0\n        a").concat(o,",").concat(o,",0,0,1,").concat(-(2*o),",0\n      "):h({cx:e,cy:n,innerRadius:r,outerRadius:i,startAngle:s,endAngle:l});var j="M ".concat(v.x,",").concat(v.y,"\n    A").concat(o,",").concat(o,",0,0,").concat(+(f<0),",").concat(y.x,",").concat(y.y,"\n    A").concat(i,",").concat(i,",0,").concat(+(w>180),",").concat(+(f<0),",").concat(g.x,",").concat(g.y,"\n    A").concat(o,",").concat(o,",0,0,").concat(+(f<0),",").concat(x.x,",").concat(x.y,"\n  ");if(r>0){var S=p({cx:e,cy:n,radius:r,angle:s,sign:f,isExternal:!0,cornerRadius:o,cornerIsExternal:c}),A=S.circleTangency,P=S.lineTangency,E=S.theta,k=p({cx:e,cy:n,radius:r,angle:l,sign:-f,isExternal:!0,cornerRadius:o,cornerIsExternal:c}),T=k.circleTangency,_=k.lineTangency,M=k.theta,C=c?Math.abs(s-l):Math.abs(s-l)-E-M;if(C<0&&0===o)return"".concat(j,"L").concat(e,",").concat(n,"Z");j+="L".concat(_.x,",").concat(_.y,"\n      A").concat(o,",").concat(o,",0,0,").concat(+(f<0),",").concat(T.x,",").concat(T.y,"\n      A").concat(r,",").concat(r,",0,").concat(+(C>180),",").concat(+(f>0),",").concat(A.x,",").concat(A.y,"\n      A").concat(o,",").concat(o,",0,0,").concat(+(f<0),",").concat(P.x,",").concat(P.y,"Z")}else j+="L".concat(e,",").concat(n,"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,n=f(f({},y),t),a=n.cx,c=n.cy,l=n.innerRadius,p=n.outerRadius,v=n.cornerRadius,m=n.forceCornerRadius,b=n.cornerIsExternal,g=n.startAngle,x=n.endAngle,O=n.className;if(p<l||g===x)return null;var w=(0,i.Z)("recharts-sector",O),j=p-l,S=(0,u.h1)(v,j,0,!0);return e=S>0&&360>Math.abs(g-x)?d({cx:a,cy:c,innerRadius:l,outerRadius:p,cornerRadius:Math.min(S,j/2),forceCornerRadius:m,cornerIsExternal:b,startAngle:g,endAngle:x}):h({cx:a,cy:c,innerRadius:l,outerRadius:p,startAngle:g,endAngle:x}),r.createElement("path",s({},(0,o.L6)(n,!0),{className:w,d:e,role:"img"}))}},40206:function(t,e,n){"use strict";n.d(e,{v:function(){return D}});var r=n(67294),i=n(18773),o=n.n(i);let a=Math.cos,u=Math.sin,c=Math.sqrt,s=Math.PI,l=2*s;var f={draw(t,e){let n=c(e/s);t.moveTo(n,0),t.arc(0,0,n,0,l)}};let p=c(1/3),h=2*p,d=u(s/10)/u(7*s/10),y=u(l/10)*d,v=-a(l/10)*d,m=c(3),b=c(3)/2,g=1/c(12),x=(g/2+1)*3;var O=n(51406),w=n(87135);c(3),c(3);var j=n(90512),S=n(48894);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 n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function k(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function T(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?k(Object(n),!0).forEach(function(e){var r,i;r=e,i=n[e],(r=function(t){var e=function(t,e){if("object"!=A(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=A(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==A(e)?e:String(e)}(r))in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var _={symbolCircle:f,symbolCross:{draw(t,e){let n=c(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}},symbolDiamond:{draw(t,e){let n=c(e/h),r=n*p;t.moveTo(0,-n),t.lineTo(r,0),t.lineTo(0,n),t.lineTo(-r,0),t.closePath()}},symbolSquare:{draw(t,e){let n=c(e),r=-n/2;t.rect(r,r,n,n)}},symbolStar:{draw(t,e){let n=c(.8908130915292852*e),r=y*n,i=v*n;t.moveTo(0,-n),t.lineTo(r,i);for(let e=1;e<5;++e){let o=l*e/5,c=a(o),s=u(o);t.lineTo(s*n,-c*n),t.lineTo(c*r-s*i,s*r+c*i)}t.closePath()}},symbolTriangle:{draw(t,e){let n=-c(e/(3*m));t.moveTo(0,2*n),t.lineTo(-m*n,-n),t.lineTo(m*n,-n),t.closePath()}},symbolWye:{draw(t,e){let n=c(e/x),r=n/2,i=n*g,o=n*g+n,a=-r;t.moveTo(r,i),t.lineTo(r,o),t.lineTo(a,o),t.lineTo(-.5*r-b*i,b*r+-.5*i),t.lineTo(-.5*r-b*o,b*r+-.5*o),t.lineTo(-.5*a-b*o,b*a+-.5*o),t.lineTo(-.5*r+b*i,-.5*i-b*r),t.lineTo(-.5*r+b*o,-.5*o-b*r),t.lineTo(-.5*a+b*o,-.5*o-b*a),t.closePath()}}},M=Math.PI/180,C=function(t,e,n){if("area"===e)return t;switch(n){case"cross":return 5*t*t/9;case"diamond":return .5*t*t/Math.sqrt(3);case"square":return t*t;case"star":var r=18*M;return 1.25*t*t*(Math.tan(r)-Math.tan(2*r)*Math.pow(Math.tan(r),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,n=t.type,i=void 0===n?"circle":n,a=t.size,u=void 0===a?64:a,c=t.sizeType,s=void 0===c?"area":c,l=T(T({},function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(t,P)),{},{type:i,size:u,sizeType:s}),p=l.className,h=l.cx,d=l.cy,y=(0,S.L6)(l,!0);return h===+h&&d===+d&&u===+u?r.createElement("path",E({}
1,y,{className:(0,j.Z)("recharts-symbols",p),transform:"translate(".concat(h,", ").concat(d,")"),d:(e=_["symbol".concat(o()(i))]||f,(function(t,e){let n=null,r=(0,w.d)(i);function i(){let i;if(n||(n=i=r()),t.apply(this,arguments).draw(n,+e.apply(this,arguments)),i)return n=null,i+""||null}return t="function"==typeof t?t:(0,O.Z)(t||f),e="function"==typeof e?e:(0,O.Z)(void 0===e?64:+e),i.type=function(e){return arguments.length?(t="function"==typeof e?e:(0,O.Z)(e),i):t},i.size=function(t){return arguments.length?(e="function"==typeof t?t:(0,O.Z)(+t),i):e},i.context=function(t){return arguments.length?(n=null==t?null:t,i):n},i})().type(e).size(C(u,s,i))())})):null};D.registerSymbol=function(t,e){_["symbol".concat(o()(t))]=e}},18383:function(t,e,n){"use strict";n.d(e,{bn:function(){return C},a3:function(){return z},lT:function(){return D},V$:function(){return I},w7:function(){return N}});var r=n(67294),i=n(44966),o=n.n(i),a=n(46695),u=n.n(a),c=n(78934),s=n.n(c),l=n(38463),f=n.n(l),p=n(52127),h=n(90512),d=n(96642),y=n(48894);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 n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function b(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function g(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function x(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?g(Object(n),!0).forEach(function(e){var r,i;r=e,i=n[e],(r=function(t){var e=function(t,e){if("object"!=v(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=v(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==v(e)?e:String(e)}(r))in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var O=function(t,e,n,r,i){var o=n-r;return"M ".concat(t,",").concat(e)+"L ".concat(t+n,",").concat(e)+"L ".concat(t+n-o/2,",").concat(e+i)+"L ".concat(t+n-o/2-r,",").concat(e+i)+"L ".concat(t,",").concat(e," Z")},w={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},j=function(t){var e,n=x(x({},w),t),i=(0,r.useRef)(),o=function(t){if(Array.isArray(t))return t}(e=(0,r.useState)(-1))||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,u=[],c=!0,s=!1;try{for(o=(n=n.call(t)).next;!(c=(r=o.call(n)).done)&&(u.push(r.value),2!==u.length);c=!0);}catch(t){s=!0,i=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw i}}return u}}(e,2)||function(t,e){if(t){if("string"==typeof t)return b(t,2);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return b(t,2)}}(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=o[0],u=o[1];(0,r.useEffect)(function(){if(i.current&&i.current.getTotalLength)try{var t=i.current.getTotalLength();t&&u(t)}catch(t){}},[]);var c=n.x,s=n.y,l=n.upperWidth,f=n.lowerWidth,p=n.height,v=n.className,g=n.animationEasing,j=n.animationDuration,S=n.animationBegin,A=n.isUpdateAnimationActive;if(c!==+c||s!==+s||l!==+l||f!==+f||p!==+p||0===l&&0===f||0===p)return null;var P=(0,h.Z)("recharts-trapezoid",v);return A?r.createElement(d.ZP,{canBegin:a>0,from:{upperWidth:0,lowerWidth:0,height:p,x:c,y:s},to:{upperWidth:l,lowerWidth:f,height:p,x:c,y:s},duration:j,animationEasing:g,isActive:A},function(t){var e=t.upperWidth,o=t.lowerWidth,u=t.height,c=t.x,s=t.y;return r.createElement(d.ZP,{canBegin:a>0,from:"0px ".concat(-1===a?1:a,"px"),to:"".concat(a,"px 0px"),attributeName:"strokeDasharray",begin:S,duration:j,easing:g},r.createElement("path",m({},(0,y.L6)(n,!0),{className:P,d:O(c,s,e,o,u),ref:i})))}):r.createElement("g",null,r.createElement("path",m({},(0,y.L6)(n,!0),{className:P,d:O(c,s,l,f,p)})))},S=n(65935),A=n(61379),P=n(40206),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 T(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function _(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?T(Object(n),!0).forEach(function(e){var r,i;r=e,i=n[e],(r=function(t){var e=function(t,e){if("object"!=k(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=k(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==k(e)?e:String(e)}(r))in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function M(t){var e=t.shapeType,n=t.elementProps;switch(e){case"rectangle":return r.createElement(p.A,n);case"trapezoid":return r.createElement(j,n);case"sector":return r.createElement(S.L,n);case"symbols":if("symbols"===e)return r.createElement(P.v,n);break;default:return null}}function C(t){var e,n=t.option,i=t.shapeType,a=t.propTransformer,c=t.activeClassName,l=t.isActive,f=function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(t,E);if((0,r.isValidElement)(n))e=(0,r.cloneElement)(n,_(_({},f),(0,r.isValidElement)(n)?n.props:n));else if(o()(n))e=n(f);else if(u()(n)&&!s()(n)){var p=(void 0===a?function(t,e){return _(_({},e),t)}:a)(n,f);e=r.createElement(M,{shapeType:i,elementProps:p})}else e=r.createElement(M,{shapeType:i,elementProps:f});return l?r.createElement(A.m,{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 B(t,e){var n,r,i=t.x===(null==e||null===(n=e.labelViewBox)||void 0===n?void 0:n.x)||t.x===e.x,o=t.y===(null==e||null===(r=e.labelViewBox)||void 0===r?void 0:r.y)||t.y===e.y;return i&&o}function L(t,e){var n=t.endAngle===e.endAngle,r=t.startAngle===e.startAngle;return n&&r}function R(t,e){var n=t.x===e.x,r=t.y===e.y,i=t.z===e.z;return n&&r&&i}function z(t){var e,n,r,i=t.activeTooltipItem,o=t.graphicalItem,a=t.itemData,u=(D(o,i)?e="trapezoids":I(o,i)?e="sectors":N(o,i)&&(e="points"),e),c=D(o,i)?null===(n=i.tooltipPayload)||void 0===n||null===(n=n[0])||void 0===n||null===(n=n.payload)||void 0===n?void 0:n.payload:I(o,i)?null===(r=i.tooltipPayload)||void 0===r||null===(r=r[0])||void 0===r||null===(r=r.payload)||void 0===r?void 0:r.payload:N(o,i)?i.payload:{},s=a.filter(function(t,e){var n=f()(c,t),r=o.props[u].filter(function(t){var e;return(D(o,i)?e=B:I(o,i)?e=L:N(o,i)&&(e=R),e)(t,i)}),a=o.props[u].indexOf(r[r.length-1]);return n&&e===a});return a.indexOf(s[s.length-1])}},86484:function(t,e,n){"use strict";n.d(e,{Ky:function(){return tn},t9:function(){return Q},xE:function(){return tr},_b:function(){return tt},O1:function(){return J}});var r=n(48014),i=n.n(r),o=n(8282),a=n.n(o),u=n(45464),c=n(48894),s=n(83038),l=n(67294),f=n(90512),p=n(96642),h=n(38463),d=n.n(h),y=n(36064),v=n.n(y),m=n(61379),b=n(88785),g=n(14489),x=n(98666),O=n(59912),w=n(68975),j=n(38776),S=n(18383),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 n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function k(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function T(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?k(Object(n),!0).forEach(function(e){var r,i;r=e,i=n[e],(r=function(t){var e=function(t,e){if("object"!=P(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=P(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==P(e)?e:String(e)}(r))in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function _(t,e){var n=t.x,r=t.y,i=function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(t,A),o=parseInt("".concat(n),10),a=parseInt("".concat(r),10),u=parseInt("".concat(e.height||i.height),10),c=parseInt("".concat(e.width||i.width),10);return T(T(T(T(T({},e),i),o?{x:o}:{}),a?{y:a}:{}),{},{height:u,width:c,name:e.name,radius:e.radius})}function M(t){return l.createElement(S.bn,E({shapeType:"rectangle",propTransformer:_,activeClassName:"recharts-active-bar"},t))}var C=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(n,r){if("number"==typeof t)return t;var i="number"==typeof n;return i?t(n,r):(i||(0,j.Z)(!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 n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function B(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function L(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?B(Object(n),!0).forEach(function(e){Y(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):B(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function R(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,$(r.key),r)}}function z(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(z=function(){return!!t})()}function U(t){return(U=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function F(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Z(t,e){return(Z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function Y(t,e,n){return(e=$(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $(t){var e=function(t,e){if("object"!=I(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=I(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==I(e)?e:String(e)}var W=function(t){var e,n;function r(){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,r);for(var t,e,n,i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return e=r,n=[].concat(o),e=U(e),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");return F(t)}(this,z()?Reflect.construct(e,n||[],U(this).constructor):e.apply(this,n)),Y(F(t),"state",{isAnimationFinished:!1}),Y(F(t),"id",(0,s.EL)("recharts-bar-")),Y(F(t),"handleAnimationEnd",function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),e&&e()}),Y(F(t),"handleAnimationStart",function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),e&&e()}),t}return!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Z(t,e)}(r,t),e=[{key:"renderRectanglesStatically",value:function(t){var e=this,n=this.props,r=n.shape,i=n.dataKey,o=n.activeIndex,a=n.activeBar,u=(0,
1c.L6)(this.props,!1);return t&&t.map(function(t,n){var c=n===o,s=L(L(L({},u),t),{},{isActive:c,option:c?a:r,index:n,dataKey:i,onAnimationStart:e.handleAnimationStart,onAnimationEnd:e.handleAnimationEnd});return l.createElement(m.m,N({className:"recharts-bar-rectangle"},(0,w.bw)(e.props,t,n),{key:"rectangle-".concat(null==t?void 0:t.x,"-").concat(null==t?void 0:t.y,"-").concat(null==t?void 0:t.value)}),l.createElement(M,s))})}},{key:"renderRectanglesWithAnimation",value:function(){var t=this,e=this.props,n=e.data,r=e.layout,i=e.isAnimationActive,o=e.animationBegin,a=e.animationDuration,u=e.animationEasing,c=e.animationId,f=this.state.prevData;return l.createElement(p.ZP,{begin:o,duration:a,isActive:i,easing:u,from:{t:0},to:{t:1},key:"bar-".concat(c),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(e){var i=e.t,o=n.map(function(t,e){var n=f&&f[e];if(n){var o=(0,s.k4)(n.x,t.x),a=(0,s.k4)(n.y,t.y),u=(0,s.k4)(n.width,t.width),c=(0,s.k4)(n.height,t.height);return L(L({},t),{},{x:o(i),y:a(i),width:u(i),height:c(i)})}if("horizontal"===r){var l=(0,s.k4)(0,t.height)(i);return L(L({},t),{},{y:t.y+t.height-l,height:l})}var p=(0,s.k4)(0,t.width)(i);return L(L({},t),{},{width:p})});return l.createElement(m.m,null,t.renderRectanglesStatically(o))})}},{key:"renderRectangles",value:function(){var t=this.props,e=t.data,n=t.isAnimationActive,r=this.state.prevData;return n&&e&&e.length&&(!r||!d()(r,e))?this.renderRectanglesWithAnimation():this.renderRectanglesStatically(e)}},{key:"renderBackground",value:function(){var t=this,e=this.props,n=e.data,r=e.dataKey,i=e.activeIndex,o=(0,c.L6)(this.props.background,!1);return n.map(function(e,n){e.value;var a=e.background,u=function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(e,D);if(!a)return null;var c=L(L(L(L(L({},u),{},{fill:"#eee"},a),o),(0,w.bw)(t.props,e,n)),{},{onAnimationStart:t.handleAnimationStart,onAnimationEnd:t.handleAnimationEnd,dataKey:r,index:n,key:"background-bar-".concat(n),className:"recharts-bar-background-rectangle"});return l.createElement(M,N({option:t.props.background,isActive:n===i},c))})}},{key:"renderErrorBar",value:function(t,e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var n=this.props,r=n.data,i=n.xAxis,o=n.yAxis,a=n.layout,s=n.children,f=(0,c.NN)(s,b.W);if(!f)return null;var p="vertical"===a?r[0].height/2:r[0].width/2,h=function(t,e){var n=Array.isArray(t.value)?t.value[1]:t.value;return{x:t.x,y:t.y,value:n,errorVal:(0,u.F$)(t,e)}};return l.createElement(m.m,{clipPath:t?"url(#clipPath-".concat(e,")"):null},f.map(function(t){return l.cloneElement(t,{key:"error-bar-".concat(e,"-").concat(t.props.dataKey),data:r,xAxis:i,yAxis:o,layout:a,offset:p,dataPointFormatter:h})}))}},{key:"render",value:function(){var t=this.props,e=t.hide,n=t.data,r=t.className,i=t.xAxis,o=t.yAxis,a=t.left,u=t.top,c=t.width,s=t.height,p=t.isAnimationActive,h=t.background,d=t.id;if(e||!n||!n.length)return null;var y=this.state.isAnimationFinished,b=(0,f.Z)("recharts-bar",r),g=i&&i.allowDataOverflow,O=o&&o.allowDataOverflow,w=g||O,j=v()(d)?this.id:d;return l.createElement(m.m,{className:b},g||O?l.createElement("defs",null,l.createElement("clipPath",{id:"clipPath-".concat(j)},l.createElement("rect",{x:g?a:a-c/2,y:O?u:u-s/2,width:g?c:2*c,height:O?s:2*s}))):null,l.createElement(m.m,{className:"recharts-bar-rectangles",clipPath:w?"url(#clipPath-".concat(j,")"):null},h?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(w,j),(!p||y)&&x.e.renderCallByParent(this.props,n))}}],n=[{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&&R(r.prototype,e),n&&R(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}(l.PureComponent);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 q(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,K(r.key),r)}}function H(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function G(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?H(Object(n),!0).forEach(function(e){V(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):H(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function V(t,e,n){return(e=K(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function K(t){var e=function(t,e){if("object"!=X(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=X(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==X(e)?e:String(e)}Y(W,"displayName","Bar"),Y(W,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!O.x.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"}),Y(W,"getComposedData",function(t){var e=t.props,n=t.item,r=t.barPosition,i=t.bandSize,o=t.xAxis,a=t.yAxis,l=t.xAxisTicks,f=t.yAxisTicks,p=t.stackedData,h=t.dataStartIndex,d=t.displayedData,y=t.offset,v=(0,u.Bu)(r,n);if(!v)return null;var m=e.layout,b=n.props,x=b.dataKey,O=b.children,w=b.minPointSize,j="horizontal"===m?a:o,S=p?j.scale.domain():null,A=(0,u.Yj)({numericAxis:j}),P=(0,c.NN)(O,g.b),E=d.map(function(t,e){p?c=(0,u.Vv)(p[h+e],S):Array.isArray(c=(0,u.F$)(t,x))||(c=[A,c]);var r=C(w,W.defaultProps.minPointSize)(c[1],e);if("horizontal"===m){var c,d,y,b,g,O,j,E=[a.scale(c[0]),a.scale(c[1])],k=E[0],T=E[1];d=(0,u.Fy)({axis:o,ticks:l,bandSize:i,offset:v.offset,entry:t,index:e}),y=null!==(j=null!=T?T:k)&&void 0!==j?j:void 0,b=v.size;var _=k-T;if(g=Number.isNaN(_)?0:_,O={x:d,y:a.y,width:b,height:a.height},Math.abs(r)>0&&Math.abs(g)<Math.abs(r)){var M=(0,s.uY)(g||r)*(Math.abs(r)-Math.abs(g));y-=M,g+=M}}else{var D=[o.scale(c[0]),o.scale(c[1])],I=D[0],N=D[1];if(d=I,y=(0,u.Fy)({axis:a,ticks:f,bandSize:i,offset:v.offset,entry:t,index:e}),b=N-I,g=v.size,O={x:o.x,y:y,width:o.width,height:g},Math.abs(r)>0&&Math.abs(b)<Math.abs(r)){var B=(0,s.uY)(b||r)*(Math.abs(r)-Math.abs(b));b+=B}}return L(L(L({},t),{},{x:d,y:y,width:b,height:g,value:p?c:c[1],payload:t,background:O},P&&P[e]&&P[e].props),{},{tooltipPayload:[(0,u.Qo)(n,t)],tooltipPosition:{x:d+b/2,y:y+g/2}})});return L({data:E,layout:m},y)});var Q=function(t,e,n,r,i){var o=t.width,a=t.height,l=t.layout,f=t.children,p=Object.keys(e),h={left:n.left,leftMirror:n.left,right:o-n.right,rightMirror:o-n.right,top:n.top,topMirror:n.top,bottom:a-n.bottom,bottomMirror:a-n.bottom},d=!!(0,c.sP)(f,W);return p.reduce(function(o,a){var c,f,p,y,v,m=e[a],b=m.orientation,g=m.domain,x=m.padding,O=void 0===x?{}:x,w=m.mirror,j=m.reversed,S="".concat(b).concat(w?"Mirror":"");if("number"===m.type&&("gap"===m.padding||"no-gap"===m.padding)){var A=g[1]-g[0],P=1/0,E=m.categoricalDomain.sort();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,T="vertical"===m.layout?n.height:n.width;if("gap"===m.padding&&(c=k*T/2),"no-gap"===m.padding){var _=(0,s.h1)(t.barCategoryGap,k*T),M=k*T/2;c=M-_-(M-_)/T*_}}}f="xAxis"===r?[n.left+(O.left||0)+(c||0),n.left+n.width-(O.right||0)-(c||0)]:"yAxis"===r?"horizontal"===l?[n.top+n.height-(O.bottom||0),n.top+(O.top||0)]:[n.top+(O.top||0)+(c||0),n.top+n.height-(O.bottom||0)-(c||0)]:m.range,j&&(f=[f[1],f[0]]);var C=(0,u.Hq)(m,i,d),D=C.scale,I=C.realScaleType;D.domain(g).range(f),(0,u.zF)(D);var N=(0,u.g$)(D,G(G({},m),{},{realScaleType:I}));"xAxis"===r?(v="top"===b&&!w||"bottom"===b&&w,p=n.left,y=h[S]-v*m.height):"yAxis"===r&&(v="left"===b&&!w||"right"===b&&w,p=h[S]-v*m.width,y=n.top);var B=G(G(G({},m),N),{},{realScaleType:I,x:p,y:y,scale:D,width:"xAxis"===r?n.width:m.width,height:"yAxis"===r?n.height:m.height});return B.bandSize=(0,u.zT)(B,N),m.hide||"xAxis"!==r?m.hide||(h[S]+=(v?-1:1)*B.width):h[S]+=(v?-1:1)*B.height,G(G({},o),{},V({},a,B))},{})},J=function(t,e){var n=t.x,r=t.y,i=e.x,o=e.y;return{x:Math.min(n,i),y:Math.min(r,o),width:Math.abs(i-n),height:Math.abs(o-r)}},tt=function(t){return J({x:t.x1,y:t.y1},{x:t.x2,y:t.y2})},te=function(){var t,e;function n(t){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,n),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]:{},n=e.bandAware,r=e.position;if(void 0!==t){if(r)switch(r){case"start":default:return this.scale(t);case"middle":var i=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+i;case"end":var o=this.bandwidth?this.bandwidth():0;return this.scale(t)+o}if(n){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(),n=e[0],r=e[e.length-1];return n<=r?t>=n&&t<=r:t>=r&&t<=n}}],e=[{key:"create",value:function(t){return new n(t)}}],t&&q(n.prototype,t),e&&q(n,e),Object.defineProperty(n,"prototype",{writable:!1}),n}();V(te,"EPS",1e-4);var tn=function(t){var e=Object.keys(t).reduce(function(e,n){return G(G({},e),{},V({},n,te.create(t[n])))},{});return G(G({},e),{},{apply:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.bandAware,o=n.position;return i()(t,function(t,n){return e[n].apply(t,{bandAware:r,position:o})})},isInRange:function(t){return a()(t,function(t,n){return e[n].isInRange(t)}
1)}})},tr=function(t){var e=t.width,n=t.height,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=(r%180+180)%180*Math.PI/180,o=Math.atan(n/e);return Math.abs(i>o&&i<Math.PI-o?n/Math.sin(i):e/Math.cos(i))}},45464:function(t,e,n){"use strict";n.d(e,{By:function(){return rs},VO:function(){return ro},zF:function(){return rb},DO:function(){return rv},Bu:function(){return rg},zT:function(){return rD},qz:function(){return rc},pt:function(){return ru},Yj:function(){return rE},Fy:function(){return rP},Hv:function(){return rA},gF:function(){return ri},s6:function(){return rp},EB:function(){return rT},fk:function(){return ra},wh:function(){return rj},O3:function(){return rk},uY:function(){return rd},g$:function(){return rS},Qo:function(){return rN},F$:function(){return rr},NA:function(){return rh},ko:function(){return rI},ZI:function(){return rf},Hq:function(){return rm},LG:function(){return rC},Vv:function(){return rx}});var r,i,o,a={};n.r(a),n.d(a,{scaleBand:function(){return u.Z},scaleDiverging:function(){return function t(){var e=(0,c.Q)(nn()(h.yR));return e.copy=function(){return e5(e,t())},d.O.apply(e,arguments)}},scaleDivergingLog:function(){return function t(){var e=O(nn()).domain([.1,1,10]);return e.copy=function(){return e5(e,t()).base(e.base())},d.O.apply(e,arguments)}},scaleDivergingPow:function(){return nr},scaleDivergingSqrt:function(){return ni},scaleDivergingSymlog:function(){return function t(){var e=S(nn());return e.copy=function(){return e5(e,t()).constant(e.constant())},d.O.apply(e,arguments)}},scaleIdentity:function(){return function t(e){var n;function r(t){return null==t||isNaN(t=+t)?n:t}return r.invert=r,r.domain=r.range=function(t){return arguments.length?(e=Array.from(t,s.Z),r):e.slice()},r.unknown=function(t){return arguments.length?(n=t,r):n},r.copy=function(){return t(e).unknown(n)},e=arguments.length?Array.from(e,s.Z):[0,1],(0,c.Q)(r)}},scaleImplicit:function(){return A.O},scaleLinear:function(){return c.Z},scaleLog:function(){return function t(){var e=O((0,h.l4)()).domain([1,10]);return e.copy=function(){return(0,h.JG)(e,t()).base(e.base())},d.o.apply(e,arguments),e}},scaleOrdinal:function(){return A.Z},scalePoint:function(){return u.x},scalePow:function(){return _},scaleQuantile:function(){return function t(){var e,n=[],r=[],i=[];function o(){var t=0,e=Math.max(1,r.length);for(i=Array(e-1);++t<e;)i[t-1]=function(t,e,n=L.Z){if(r=t.length){if((e=+e)<=0||r<2)return+n(t[0],0,t);if(e>=1)return+n(t[r-1],r-1,t);var r,i=(r-1)*e,o=Math.floor(i),a=+n(t[o],o,t);return a+(+n(t[o+1],o+1,t)-a)*(i-o)}}(n,t/e);return a}function a(t){return null==t||isNaN(t=+t)?e:r[(0,R.ZP)(i,t)]}return a.invertExtent=function(t){var e=r.indexOf(t);return e<0?[NaN,NaN]:[e>0?i[e-1]:n[0],e<i.length?i[e]:n[n.length-1]]},a.domain=function(t){if(!arguments.length)return n.slice();for(let e of(n=[],t))null==e||isNaN(e=+e)||n.push(e);return n.sort(N.Z),o()},a.range=function(t){return arguments.length?(r=Array.from(t),o()):r.slice()},a.unknown=function(t){return arguments.length?(e=t,a):e},a.quantiles=function(){return i.slice()},a.copy=function(){return t().domain(n).range(r).unknown(e)},d.o.apply(a,arguments)}},scaleQuantize:function(){return function t(){var e,n=0,r=1,i=1,o=[.5],a=[0,1];function u(t){return null!=t&&t<=t?a[(0,R.ZP)(o,t,0,i)]:e}function s(){var t=-1;for(o=Array(i);++t<i;)o[t]=((t+1)*r-(t-i)*n)/(i+1);return u}return u.domain=function(t){return arguments.length?([n,r]=t,n=+n,r=+r,s()):[n,r]},u.range=function(t){return arguments.length?(i=(a=Array.from(t)).length-1,s()):a.slice()},u.invertExtent=function(t){var e=a.indexOf(t);return e<0?[NaN,NaN]:e<1?[n,o[0]]:e>=i?[o[i-1],r]:[o[e-1],o[e]]},u.unknown=function(t){return arguments.length&&(e=t),u},u.thresholds=function(){return o.slice()},u.copy=function(){return t().domain([n,r]).range(a).unknown(e)},d.o.apply((0,c.Q)(u),arguments)}},scaleRadial:function(){return function t(){var e,n=(0,h.ZP)(),r=[0,1],i=!1;function o(t){var r,o=Math.sign(r=n(t))*Math.sqrt(Math.abs(r));return isNaN(o)?e:i?Math.round(o):o}return o.invert=function(t){return n.invert(C(t))},o.domain=function(t){return arguments.length?(n.domain(t),o):n.domain()},o.range=function(t){return arguments.length?(n.range((r=Array.from(t,s.Z)).map(C)),o):r.slice()},o.rangeRound=function(t){return o.range(t).round(!0)},o.round=function(t){return arguments.length?(i=!!t,o):i},o.clamp=function(t){return arguments.length?(n.clamp(t),o):n.clamp()},o.unknown=function(t){return arguments.length?(e=t,o):e},o.copy=function(){return t(n.domain(),r).round(i).clamp(n.clamp()).unknown(e)},d.o.apply(o,arguments),(0,c.Q)(o)}},scaleSequential:function(){return function t(){var e=(0,c.Q)(e9()(h.yR));return e.copy=function(){return e5(e,t())},d.O.apply(e,arguments)}},scaleSequentialLog:function(){return function t(){var e=O(e9()).domain([1,10]);return e.copy=function(){return e5(e,t()).base(e.base())},d.O.apply(e,arguments)}},scaleSequentialPow:function(){return nt},scaleSequentialQuantile:function(){return function t(){var e=[],n=h.yR;function r(t){if(null!=t&&!isNaN(t=+t))return n(((0,R.ZP)(e,t,1)-1)/(e.length-1))}return r.domain=function(t){if(!arguments.length)return e.slice();for(let n of(e=[],t))null==n||isNaN(n=+n)||e.push(n);return e.sort(N.Z),r},r.interpolator=function(t){return arguments.length?(n=t,r):n},r.range=function(){return e.map((t,r)=>n(r/(e.length-1)))},r.quantiles=function(t){return Array.from({length:t+1},(n,r)=>(function(t,e,n){if(r=(t=Float64Array.from((0,L.K)(t,void 0))).length){if((e=+e)<=0||r<2)return I(t);if(e>=1)return D(t);var r,i=(r-1)*e,o=Math.floor(i),a=D((function t(e,n,r=0,i=e.length-1,o=N.Z){for(;i>r;){if(i-r>600){let a=i-r+1,u=n-r+1,c=Math.log(a),s=.5*Math.exp(2*c/3),l=.5*Math.sqrt(c*s*(a-s)/a)*(u-a/2<0?-1:1),f=Math.max(r,Math.floor(n-u*s/a+l)),p=Math.min(i,Math.floor(n+(a-u)*s/a+l));t(e,n,f,p,o)}let a=e[n],u=r,c=i;for(B(e,r,n),o(e[i],a)>0&&B(e,r,i);u<c;){for(B(e,u,c),++u,--c;0>o(e[u],a);)++u;for(;o(e[c],a)>0;)--c}0===o(e[r],a)?B(e,r,c):B(e,++c,i),c<=n&&(r=c+1),n<=c&&(i=c-1)}return e})(t,o).subarray(0,o+1));return a+(I(t.subarray(o+1))-a)*(i-o)}})(e,r/t))},r.copy=function(){return t(n).domain(e)},d.O.apply(r,arguments)}},scaleSequentialSqrt:function(){return ne},scaleSequentialSymlog:function(){return function t(){var e=S(e9());return e.copy=function(){return e5(e,t()).constant(e.constant())},d.O.apply(e,arguments)}},scaleSqrt:function(){return M},scaleSymlog:function(){return function t(){var e=S((0,h.l4)());return e.copy=function(){return(0,h.JG)(e,t()).constant(e.constant())},d.o.apply(e,arguments)}},scaleThreshold:function(){return function t(){var e,n=[.5],r=[0,1],i=1;function o(t){return null!=t&&t<=t?r[(0,R.ZP)(n,t,0,i)]:e}return o.domain=function(t){return arguments.length?(i=Math.min((n=Array.from(t)).length,r.length-1),o):n.slice()},o.range=function(t){return arguments.length?(r=Array.from(t),i=Math.min(n.length,r.length-1),o):r.slice()},o.invertExtent=function(t){var e=r.indexOf(t);
1return[n[e-1],n[e]]},o.unknown=function(t){return arguments.length?(e=t,o):e},o.copy=function(){return t().domain(n).range(r).unknown(e)},d.o.apply(o,arguments)}},scaleTime:function(){return e3},scaleUtc:function(){return e4},tickFormat:function(){return no.Z}});var u=n(55342),c=n(50289),s=n(34299),l=n(90398),f=n(21930);function p(t,e){t=t.slice();var n,r=0,i=t.length-1,o=t[r],a=t[i];return a<o&&(n=r,r=i,i=n,n=o,o=a,a=n),t[r]=e.floor(o),t[i]=e.ceil(a),t}var h=n(68741),d=n(48348);function y(t){return Math.log(t)}function v(t){return Math.exp(t)}function m(t){return-Math.log(-t)}function b(t){return-Math.exp(-t)}function g(t){return isFinite(t)?+("1e"+t):t<0?0:t}function x(t){return function(e){return-t(-e)}}function O(t){var e,n,r=t(y,v),i=r.domain,o=10;function a(){var a,u;return e=(a=o)===Math.E?Math.log:10===a&&Math.log10||2===a&&Math.log2||(a=Math.log(a),function(t){return Math.log(t)/a}),n=10===(u=o)?g:u===Math.E?Math.exp:function(t){return Math.pow(u,t)},i()[0]<0?(e=x(e),n=x(n),t(m,b)):t(y,v),r}return r.base=function(t){return arguments.length?(o=+t,a()):o},r.domain=function(t){return arguments.length?(i(t),a()):i()},r.ticks=function(t){var r,a=i(),u=a[0],c=a[a.length-1];(r=c<u)&&(h=u,u=c,c=h);var s,f,p,h=e(u),d=e(c),y=null==t?10:+t,v=[];if(!(o%1)&&d-h<y){if(h=Math.floor(h),d=Math.ceil(d),u>0){for(;h<=d;++h)for(f=1,s=n(h);f<o;++f)if(!((p=s*f)<u)){if(p>c)break;v.push(p)}}else for(;h<=d;++h)for(f=o-1,s=n(h);f>=1;--f)if(!((p=s*f)<u)){if(p>c)break;v.push(p)}2*v.length<y&&(v=(0,l.ZP)(u,c,y))}else v=(0,l.ZP)(h,d,Math.min(d-h,y)).map(n);return r?v.reverse():v},r.tickFormat=function(t,i){if(null==i&&(i=10===o?".0e":","),"function"!=typeof i&&(i=(0,f.WU)(i)),t===1/0)return i;null==t&&(t=10);var a=Math.max(1,o*t/r.ticks().length);return function(t){var r=t/n(Math.round(e(t)));return r*o<o-.5&&(r*=o),r<=a?i(t):""}},r.nice=function(){return i(p(i(),{floor:function(t){return n(Math.floor(e(t)))},ceil:function(t){return n(Math.ceil(e(t)))}}))},r}function w(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function j(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function S(t){var e=1,n=t(w(1),j(e));return n.constant=function(n){return arguments.length?t(w(e=+n),j(e)):e},(0,c.Q)(n)}var A=n(57603);function P(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function E(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function k(t){return t<0?-t*t:t*t}function T(t){var e=t(h.yR,h.yR),n=1;return e.exponent=function(e){return arguments.length?1==(n=+e)?t(h.yR,h.yR):.5===n?t(E,k):t(P(n),P(1/n)):n},(0,c.Q)(e)}function _(){var t=T((0,h.l4)());return t.copy=function(){return(0,h.JG)(t,_()).exponent(t.exponent())},d.o.apply(t,arguments),t}function M(){return _.apply(null,arguments).exponent(.5)}function C(t){return Math.sign(t)*t*t}function D(t,e){let n;if(void 0===e)for(let e of t)null!=e&&(n<e||void 0===n&&e>=e)&&(n=e);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n<i||void 0===n&&i>=i)&&(n=i)}return n}function I(t,e){let n;if(void 0===e)for(let e of t)null!=e&&(n>e||void 0===n&&e>=e)&&(n=e);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}var N=n(69540);function B(t,e,n){let r=t[e];t[e]=t[n],t[n]=r}var L=n(57176),R=n(28288),z=n(44122),U=new Date,F=new Date;function Z(t,e,n,r){function i(e){return t(e=0==arguments.length?new Date:new Date(+e)),e}return i.floor=function(e){return t(e=new Date(+e)),e},i.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},i.round=function(t){var e=i(t),n=i.ceil(t);return t-e<n-t?e:n},i.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},i.range=function(n,r,o){var a,u=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r)||!(o>0))return u;do u.push(a=new Date(+n)),e(n,o),t(n);while(a<n&&n<r);return u},i.filter=function(n){return Z(function(e){if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)},function(t,r){if(t>=t){if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););}})},n&&(i.count=function(e,r){return U.setTime(+e),F.setTime(+r),t(U),t(F),Math.floor(n(U,F))},i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}var Y=Z(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});Y.every=function(t){return isFinite(t=Math.floor(t))&&t>0?t>1?Z(function(e){e.setTime(Math.floor(e/t)*t)},function(e,n){e.setTime(+e+n*t)},function(e,n){return(n-e)/t}):Y:null},Y.range;var $=Z(function(t){t.setTime(t-t.getMilliseconds())},function(t,e){t.setTime(+t+1e3*e)},function(t,e){return(e-t)/1e3},function(t){return t.getUTCSeconds()});$.range;var W=Z(function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},function(t,e){t.setTime(+t+6e4*e)},function(t,e){return(e-t)/6e4},function(t){return t.getMinutes()});W.range;var X=Z(function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())},function(t,e){t.setTime(+t+36e5*e)},function(t,e){return(e-t)/36e5},function(t){return t.getHours()});X.range;var q=Z(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);function H(t){return Z(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+7*e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/6048e5})}q.range;
1var G=H(0),V=H(1),K=H(2),Q=H(3),J=H(4),tt=H(5),te=H(6);G.range,V.range,K.range,Q.range,J.range,tt.range,te.range;var tn=Z(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,e){t.setMonth(t.getMonth()+e)},function(t,e){return e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12},function(t){return t.getMonth()});tn.range;var tr=Z(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});tr.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Z(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n*t)}):null},tr.range;var ti=Z(function(t){t.setUTCSeconds(0,0)},function(t,e){t.setTime(+t+6e4*e)},function(t,e){return(e-t)/6e4},function(t){return t.getUTCMinutes()});ti.range;var to=Z(function(t){t.setUTCMinutes(0,0,0)},function(t,e){t.setTime(+t+36e5*e)},function(t,e){return(e-t)/36e5},function(t){return t.getUTCHours()});to.range;var ta=Z(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/864e5},function(t){return t.getUTCDate()-1});function tu(t){return Z(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,e){return(e-t)/6048e5})}ta.range;var tc=tu(0),ts=tu(1),tl=tu(2),tf=tu(3),tp=tu(4),th=tu(5),td=tu(6);tc.range,ts.range,tl.range,tf.range,tp.range,th.range,td.range;var ty=Z(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCMonth(t.getUTCMonth()+e)},function(t,e){return e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12},function(t){return t.getUTCMonth()});ty.range;var tv=Z(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});function tm(t,e,n,r,i,o){let a=[[$,1,1e3],[$,5,5e3],[$,15,15e3],[$,30,3e4],[o,1,6e4],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,36e5],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,864e5],[r,2,1728e5],[n,1,6048e5],[e,1,2592e6],[e,3,7776e6],[t,1,31536e6]];function u(e,n,r){let i=Math.abs(n-e)/r,o=(0,z.Z)(([,,t])=>t).right(a,i);if(o===a.length)return t.every((0,l.ly)(e/31536e6,n/31536e6,r));if(0===o)return Y.every(Math.max((0,l.ly)(e,n,r),1));let[u,c]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return u.every(c)}return[function(t,e,n){let r=e<t;r&&([t,e]=[e,t]);let i=n&&"function"==typeof n.range?n:u(t,e,n),o=i?i.range(t,+e+1):[];return r?o.reverse():o},u]}tv.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Z(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)}):null},tv.range;let[tb,tg]=tm(tv,ty,tc,ta,to,ti),[tx,tO]=tm(tr,tn,G,q,X,W);var tw=new Date,tj=new Date;function tS(t,e,n,r){function i(e){return t(e=0==arguments.length?new Date:new Date(+e)),e}return i.floor=function(e){return t(e=new Date(+e)),e},i.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},i.round=function(t){var e=i(t),n=i.ceil(t);return t-e<n-t?e:n},i.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},i.range=function(n,r,o){var a,u=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r)||!(o>0))return u;do u.push(a=new Date(+n)),e(n,o),t(n);while(a<n&&n<r);return u},i.filter=function(n){return tS(function(e){if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)},function(t,r){if(t>=t){if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););}})},n&&(i.count=function(e,r){return tw.setTime(+e),tj.setTime(+r),t(tw),t(tj),Math.floor(n(tw,tj))},i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}function tA(t){return tS(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,e){return(e-t)/6048e5})}var tP=tA(0),tE=tA(1),tk=tA(2),tT=tA(3),t_=tA(4),tM=tA(5),tC=tA(6);tP.range,tE.range,tk.range,tT.range,t_.range,tM.range,tC.range;var tD=tS(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/864e5},function(t){return t.getUTCDate()-1}
1);function tI(t){return tS(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+7*e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/6048e5})}tD.range;var tN=tI(0),tB=tI(1),tL=tI(2),tR=tI(3),tz=tI(4),tU=tI(5),tF=tI(6);tN.range,tB.range,tL.range,tR.range,tz.range,tU.range,tF.range;var tZ=tS(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);tZ.range;var tY=tS(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});tY.every=function(t){return isFinite(t=Math.floor(t))&&t>0?tS(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n*t)}):null},tY.range;var t$=tS(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});function tW(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 tX(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 tq(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}t$.every=function(t){return isFinite(t=Math.floor(t))&&t>0?tS(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)}):null},t$.range;var tH={"-":"",_:" ",0:"0"}
vendor: 7,766 bytes, line 1
1,tG=/^\s*\d+/,tV=/^%/,tK=/[\\^$*+?|[\]().{}]/g;function tQ(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<n?Array(n-o+1).join(e)+i:i)}function tJ(t){return t.replace(tK,"\\$&")}function t0(t){return RegExp("^(?:"+t.map(tJ).join("|")+")","i")}function t1(t){return new Map(t.map((t,e)=>[t.toLowerCase(),e]))}function t2(t,e,n){var r=tG.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function t6(t,e,n){var r=tG.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function t3(t,e,n){var r=tG.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function t4(t,e,n){var r=tG.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function t8(t,e,n){var r=tG.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function t7(t,e,n){var r=tG.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function t9(t,e,n){var r=tG.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function t5(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function et(t,e,n){var r=tG.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function ee(t,e,n){var r=tG.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function en(t,e,n){var r=tG.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function er(t,e,n){var r=tG.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function ei(t,e,n){var r=tG.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function eo(t,e,n){var r=tG.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function ea(t,e,n){var r=tG.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function eu(t,e,n){var r=tG.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function ec(t,e,n){var r=tG.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function es(t,e,n){var r=tV.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function el(t,e,n){var r=tG.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function ef(t,e,n){var r=tG.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function ep(t,e){return tQ(t.getDate(),e,2)}function eh(t,e){return tQ(t.getHours(),e,2)}function ed(t,e){return tQ(t.getHours()%12||12,e,2)}function ey(t,e){return tQ(1+tZ.count(tY(t),t),e,3)}function ev(t,e){return tQ(t.getMilliseconds(),e,3)}function em(t,e){return ev(t,e)+"000"}function eb(t,e){return tQ(t.getMonth()+1,e,2)}function eg(t,e){return tQ(t.getMinutes(),e,2)}function ex(t,e){return tQ(t.getSeconds(),e,2)}function eO(t){var e=t.getDay();return 0===e?7:e}function ew(t,e){return tQ(tN.count(tY(t)-1,t),e,2)}function ej(t){var e=t.getDay();return e>=4||0===e?tz(t):tz.ceil(t)}function eS(t,e){return t=ej(t),tQ(tz.count(tY(t),t)+(4===tY(t).getDay()),e,2)}function eA(t){return t.getDay()}function eP(t,e){return tQ(tB.count(tY(t)-1,t),e,2)}function eE(t,e){return tQ(t.getFullYear()%100,e,2)}function ek(t,e){return tQ((t=ej(t)).getFullYear()%100,e,2)}function eT(t,e){return tQ(t.getFullYear()%1e4,e,4)}function e_(t,e){var n=t.getDay();return tQ((t=n>=4||0===n?tz(t):tz.ceil(t)).getFullYear()%1e4,e,4)}function eM(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+tQ(e/60|0,"0",2)+tQ(e%60,"0",2)}function eC(t,e){return tQ(t.getUTCDate(),e,2)}function eD(t,e){return tQ(t.getUTCHours(),e,2)}function eI(t,e){return tQ(t.getUTCHours()%12||12,e,2)}function eN(t,e){return tQ(1+tD.count(t$(t),t),e,3)}function eB(t,e){return tQ(t.getUTCMilliseconds(),e,3)}function eL(t,e){return eB(t,e)+"000"}function eR(t,e){return tQ(t.getUTCMonth()+1,e,2)}function ez(t,e){return tQ(t.getUTCMinutes(),e,2)}function eU(t,e){return tQ(t.getUTCSeconds(),e,2)}function eF(t){var e=t.getUTCDay();return 0===e?7:e}function eZ(t,e){return tQ(tP.count(t$(t)-1,t),e,2)}function eY(t){var e=t.getUTCDay();return e>=4||0===e?t_(t):t_.ceil(t)}function e$(t,e){return t=eY(t),tQ(t_.count(t$(t),t)+(4===t$(t).getUTCDay()),e,2)}function eW(t){return t.getUTCDay()}function eX(t,e){return tQ(tE.count(t$(t)-1,t),e,2)}function eq(t,e){return tQ(t.getUTCFullYear()%100,e,2)}function eH(t,e){return tQ((t=eY(t)).getUTCFullYear()%100,e,2)}function eG(t,e){return tQ(t.getUTCFullYear()%1e4,e,4)}function eV(t,e){var n=t.getUTCDay();return tQ((t=n>=4||0===n?t_(t):t_.ceil(t)).getUTCFullYear()%1e4,e,4)}function eK(){return"+0000"}function eQ(){return"%"}function eJ(t){return+t}function e0(t){return Math.floor(+t/1e3)}function e1(t){return new Date(t)}function e2(t){return t instanceof Date?+t:+new Date(+t)}function e6(t,e,n,r,i,o,a,u,c,s){var l=(0,h.ZP)(),f=l.invert,d=l.domain,y=s(".%L"),v=s(":%S"),m=s("%I:%M"),b=s("%I %p"),g=s("%a %d"),x=s("%b %d"),O=s("%B"),w=s("%Y");function j(t){return(c(t)<t?y:u(t)<t?v:a(t)<t?m:o(t)<t?b:r(t)<t?i(t)<t?g:x:n(t)<t?O:w)(t)}return l.invert=function(t){return new Date(f(t))},l.domain=function(t){return arguments.length?d(Array.from(t,e2)):d().map(e1)},l.ticks=function(e){var n=d();return t(n[0],n[n.length-1],null==e?10:e)},l.tickFormat=function(t,e){return null==e?j:s(e)},l.nice=function(t){var n=d();return t&&"function"==typeof t.range||(t=e(n[0],n[n.length-1],null==t?10:t)),t?d(p(n,t)):l},l.copy=function(){return(0,h.JG)(l,e6(t,e,n,r,i,o,a,u,c,s))},l}function e3(){return d.o.apply(e6(tx,tO,tr,tn,G,q,X,W,$,i).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function e4(){return d.o.apply(e6(tb,tg,tv,ty,tc,ta,to,ti,$,o).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}i=(r=function(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,o=t.days,a=t.shortDays,u=t.months,c=t.shortMonths,s=t0(i),l=t1(i),f=t0(o),p=t1(o),h=t0(a),d=t1(a),y=t0(u),v=t1(u),m=t0(c),b=t1(c),g={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return c[t.getMonth()]},B:function(t){return u[t.getMonth()]},c:null,d:ep,e:ep,f:em,g:ek,G:e_,H:eh,I:ed,j:ey,L:ev,m:eb,M:eg,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:eJ,s:e0,S:ex,u:eO,U:ew,V:eS,w:eA,W:eP,x:null,X:null,y:eE,Y:eT,Z:eM,"%":eQ},x={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return u[t.getUTCMonth()]},c:null,d:eC,e:eC,f:eL,g:eH,G:eV,H:eD,I:eI,j:eN,L:eB,m:eR,M:ez,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:eJ,s:e0,S:eU,u:eF,U:eZ,V:e$,w:eW,W:eX,x:null,X:null,y:eq,Y:eG,Z:eK,"%":eQ},O={a:function(t,e,n){var r=h.exec(e.slice(n));return r?(t.w=d.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(t,e,n){var r=f.exec(e.slice(n));return r?(t.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(t,e,n){var r=m.exec(e.slice(n));return r?(t.m=b.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(t,e,n){var r=y.exec(e.slice(n));return r?(t.m=v.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(t,n,r){return S(t,e,n,r)},d:en,e:en,f:ec,g:t9,G:t7,H:ei,I:ei,j:er,L:eu,m:ee,M:eo,p:function(t,e,n){var r=s.exec(e.slice(n));return r?(t.p=l.get(r[0].toLowerCase()),n+r[0].length):-1},q:et,Q:el,s:ef,S:ea,u:t6,U:t3,V:t4,w:t2,W:t8,x:function(t,e,r){return S(t,n,e,r)},X:function(t,e,n){return S(t,r,e,n)},y:t9,Y:t7,Z:t5,"%":es};function w(t,e){return function(n){var r,i,o,a=[],u=-1,c=0,s=t.length;for(n instanceof Date||(n=new Date(+n));++u<s;)37===t.charCodeAt(u)&&(a.push(t.slice(c,u)),null!=(i=tH[r=t.charAt(++u)])?r=t.charAt(++u):i="e"===r?" ":"0",(o=e[r])&&(r=o(n,i)),a.push(r),c=u+1);return a.push(t.slice(c,u)),a.join("")}}function j(t,e){return function(n){var r,i,o=tq(1900,void 0,1);if(S(o,t,n+="",0)!=n.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(!e||"Z"in o||(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){
1if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(r=(i=(r=tX(tq(o.y,0,1))).getUTCDay())>4||0===i?tE.ceil(r):tE(r),r=tD.offset(r,(o.V-1)*7),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(r=(i=(r=tW(tq(o.y,0,1))).getDay())>4||0===i?tB.ceil(r):tB(r),r=tZ.offset(r,(o.V-1)*7),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?tX(tq(o.y,0,1)).getUTCDay():tW(tq(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,tX(o)):tW(o)}}function S(t,e,n,r){for(var i,o,a=0,u=e.length,c=n.length;a<u;){if(r>=c)return -1;if(37===(i=e.charCodeAt(a++))){if(!(o=O[(i=e.charAt(a++))in tH?e.charAt(a++):i])||(r=o(t,n,r))<0)return -1}else if(i!=n.charCodeAt(r++))return -1}return r}return g.x=w(n,g),g.X=w(r,g),g.c=w(e,g),x.x=w(n,x),x.X=w(r,x),x.c=w(e,x),{format:function(t){var e=w(t+="",g);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=w(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,r.parse,o=r.utcFormat,r.utcParse;var e8=n(78685),e7=n(55720);function e9(){var t,e,n,r,i,o=0,a=1,u=h.yR,c=!1;function s(e){return null==e||isNaN(e=+e)?i:u(0===n?.5:(e=(r(e)-t)*n,c?Math.max(0,Math.min(1,e)):e))}function l(t){return function(e){var n,r;return arguments.length?([n,r]=e,u=t(n,r),s):[u(0),u(1)]}}return s.domain=function(i){return arguments.length?([o,a]=i,t=r(o=+o),e=r(a=+a),n=t===e?0:1/(e-t),s):[o,a]},s.clamp=function(t){return arguments.length?(c=!!t,s):c},s.interpolator=function(t){return arguments.length?(u=t,s):u},s.range=l(e8.Z),s.rangeRound=l(e7.Z),s.unknown=function(t){return arguments.length?(i=t,s):i},function(i){return r=i,t=i(o),e=i(a),n=t===e?0:1/(e-t),s}}function e5(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function nt(){var t=T(e9());return t.copy=function(){return e5(t,nt()).exponent(t.exponent())},d.O.apply(t,arguments)}function ne(){return nt.apply(null,arguments).exponent(.5)}function nn(){var t,e,n,r,i,o,a,u=0,c=.5,s=1,l=1,f=h.yR,p=!1;function d(t){return isNaN(t=+t)?a:(t=.5+((t=+o(t))-e)*(l*t<l*e?r:i),f(p?Math.max(0,Math.min(1,t)):t))}function y(t){return function(e){var n,r,i;return arguments.length?([n,r,i]=e,f=function(t,e){for(var n=0,r=e.length-1,i=e[0],o=Array(r<0?0:r);n<r;)o[n]=t(i,i=e[++n]);return function(t){var e=Math.max(0,Math.min(r-1,Math.floor(t*=r)));return o[e](t-e)}}(t,[n,r,i]),d):[f(0),f(.5),f(1)]}}return d.domain=function(a){return arguments.length?([u,c,s]=a,t=o(u=+u),e=o(c=+c),n=o(s=+s),r=t===e?0:.5/(e-t),i=e===n?0:.5/(n-e),l=e<t?-1:1,d):[u,c,s]},d.clamp=function(t){return arguments.length?(p=!!t,d):p},d.interpolator=function(t){return arguments.length?(f=t,d):f},d.range=y(e8.Z),d.rangeRound=y(e7.Z),d.unknown=function(t){return arguments.length?(a=t,d):a},function(a){return o=a,t=a(u),e=a(c),n=a(s),r=t===e?0:.5/(e-t),i=e===n?0:.5/(n-e),l=e<t?-1:1,d}}function nr(){var t=T(nn());return t.copy=function(){return e5(t,nr()).exponent(t.exponent())},d.O.apply(t,arguments)}function ni(){return nr.apply(null,arguments).exponent(.5)}var no=n(30745);function na(t,e){if((i=t.length)>1)for(var n,r,i,o=1,a=t[e[0]],u=a.length;o<i;++o)for(r=a,a=t[e[o]],n=0;n<u;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}var nu=n(95409),nc=n(51406);function ns(t){for(var e=t.length,n=Array(e);--e>=0;)n[e]=e;return n}function nl(t,e){return t[e]}function nf(t){let e=[];return e.key=t,e}var np=n(73741),nh=n.n(np),nd=n(57212),ny=n.n(nd),nv=n(36064),nm=n.n(nv),nb=n(44966),ng=n.n(nb),nx=n(42038),nO=n.n(nx),nw=n(3573),nj=n.n(nw),nS=n(12357),nA=n.n(nS),nP=n(56011),nE=n.n(nP),nk=n(18773),nT=n.n(nk),n_=n(38463),nM=n.n(n_),nC=n(62355),nD=n.n(nC),nI=n(29887),nN=n.n(nI);function nB(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var nL=function(t){return t},nR={},nz=function(t){return t===nR},nU=function(t){return function e(){return 0==arguments.length||1==arguments.length&&nz(arguments.length<=0?void 0:arguments[0])?e:t.apply(void 0,arguments)}},nF=function(t){return function t(e,n){return 1===e?n:nU(function(){for(var r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];var a=i.filter(function(t){return t!==nR}).length;return a>=e?n.apply(void 0,i):t(e-a,nU(function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];var o=i.map(function(t){return nz(t)?e.shift():t});return n.apply(void 0,((function(t){if(Array.isArray(t))return nB(t)})(o)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(o)||function(t,e){if(t){if("string"==typeof t)return nB(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nB(t,void 0)}}(o)||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)},nZ=function(t,e){for(var n=[],r=t;r<e;++r)n[r-t]=r;return n},nY=nF(function(t,e){return Array.isArray(e)?e.map(t):Object.keys(e).map(function(t){return e[t]}).map(t)}),n$=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];if(!e.length)return nL;var r=e.reverse(),i=r[0],o=r.slice(1);return function(){return o.reduce(function(t,e){return e(t)},i.apply(void 0,arguments))}},nW=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},nX=function(t){var e=null,n=null;return function(){for(var r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return e&&i.every(function(t,n){return t===e[n]})?n:(e=i,n=t.apply(void 0,i))}},nq=(nF(function(t,e,n){var r=+t;return r+n*(+e-r)}),nF(function(t,e,n){var r=e-+t;return(n-t)/(r=r||1/0)}),nF(function(t,e,n){var r=e-+t;return Math.max(0,Math.min(1,(n-t)/(r=r||1/0)))}),{rangeStep:function(t,e,n){for(var r=new(nN())(t),i=0,o=[];r.lt(e)&&i<1e5;)o.push(r.toNumber()),r=r.add(n),i++;return o},getDigitCount:function(t){return 0===t?1:Math.floor(new(nN())(t).abs().log(10).toNumber())+1}});function nH(t){return function(t){if(Array.isArray(t))return nK(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||nV(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 nG(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 n=[],r=!0,i=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==u.return||u.return()}finally{if(i)throw o}}return n}}(t,e)||nV(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 nV(t,e){if(t){if("string"==typeof t)return nK(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nK(t,e)}}function nK(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function nQ(t){var e=nG(t,2),n=e[0],r=e[1],i=n,o=r;return n>r&&(i=r,o=n),[i,o]}function nJ(t,e,n){if(t.lte(0))return new(nN())(0);var r=nq.getDigitCount(t.toNumber()),i=new(nN())(10).pow(r),o=t.div(i),a=1!==r?.05:.1,u=new(nN())(Math.ceil(o.div(a).toNumber())).add(n).mul(a).mul(i);return e?u:new(nN())(Math.ceil(u))}function n0(t,e,n){var r=1,i=new(nN())(t);if(!i.isint()&&n){var o=Math.abs(t);o<1?(r=new(nN())(10).pow(nq.getDigitCount(t)-1),i=new(nN())(Math.floor(i.div(r).toNumber())).mul(r)):o>1&&(i=new(nN())(Math.floor(t)))}else 0===t?i=new(nN())(Math.floor((e-1)/2)):n||(i=new(nN())(Math.floor(t)));var a=Math.floor((e-1)/2);return n$(nY(function(t){return i.add(new(nN())(t-a).mul(r)).toNumber()}),nZ)(0,e)}var n1=nX(function(t){var e=nG(t,2),n=e[0],r=e[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=Math.max(i,2),u=nG(nQ([n,r]),2),c=u[0],s=u[1];if(c===-1/0||s===1/0){var l=s===1/0?[c].concat(nH(nZ(0,i-1).map(function(){return 1/0}))):[].concat(nH(nZ(0,i-1).map(function(){return-1/0})),[s]);return n>r?nW(l):l}if(c===s)return n0(c,i,o);var f=function t(e,n,r,i){var o,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((n-e)/(r-1)))return{step:new(nN())(0),tickMin:new(nN())(0),tickMax:new(nN())(0)};var u=nJ(new(nN())(n).sub(e).div(r-1),i,a),c=Math.ceil((o=e<=0&&n>=0?new(nN())(0):(o=new(nN())(e).add(n).div(2)).sub(new(nN())(o).mod(u))).sub(e).div(u).toNumber()),s=Math.ceil(new(nN())(n).sub(o).div(u).toNumber()),l=c+s+1;return l>r?t(e,n,r,i,a+1):(l<r&&(s=n>0?s+(r-l):s,c=n>0?c:c+(r-l)),{step:u,tickMin:o.sub(new(nN())(c).mul(u)),tickMax:o.add(new(nN())(s).mul(u))})}(c,s,a,o),p=f.step,h=f.tickMin,d=f.tickMax,y=nq.rangeStep(h,d.add(new(nN())(.1).mul(p)),p);return n>r?nW(y):y});nX(function(t){var e=nG(t,2),n=e[0],r=e[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=Math.max(i,2),u=nG(nQ([n,r]),2),c=u[0],s=u[1];if(c===-1/0||s===1/0)return[n,r];if(c===s)return n0(c,i,o);var l=nJ(new(nN())(s).sub(c).div(a-1),o,0),f=n$(nY(function(t){return new(nN())(c).add(new(nN())(t).mul(l)).toNumber()}),nZ)(0,a).filter(function(t){return t>=c&&t<=s});return n>r?nW(f):f});var n2=nX(function(t,e){var n=nG(t,2),r=n[0],i=n[1],o=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=nG(nQ([r,i]),2),u=a[0],c=a[1];if(u===-1/0||c===1/0)return[r,i];if(u===c)return[u];var s=nJ(new(nN())(c).sub(u).div(Math.max(e,2)-1),o,0),l=[].concat(nH(nq.rangeStep(new(nN())(u),new(nN())(c).sub(new(nN())(.99).mul(s)),s)),[c]);return r>i?nW(l):l}),n6=n(88785),n3=n(83038),n4=n(48894),n8=n(45911);function n7(t){return(n7="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 n9(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function n5(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?n9(Object(n),!0).forEach(function(e){rt(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):n9(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function rt(t,e,n){var r;return(r=function(t,e){if("object"!=n7(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=n7(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==n7(r)?r:String(r))in t)?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function re(t){return function(t){if(Array.isArray(t))return rn(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 rn(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rn(t,void 0)}}(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 rn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function rr(t,e,n){return nm()(t)||nm()(e)?n:(0,n3.P2)(e)?nj()(t,e,n):ng()(e)?e
1(t):n}function ri(t,e,n,r){var i=nA()(t,function(t){return rr(t,e)});if("number"===n){var o=i.filter(function(t){return(0,n3.hj)(t)||parseFloat(t)});return o.length?[ny()(o),nh()(o)]:[1/0,-1/0]}return(r?i.filter(function(t){return!nm()(t)}):i).map(function(t){return(0,n3.P2)(t)||t instanceof Date?t:""})}var ro=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=-1,a=null!==(e=null==n?void 0:n.length)&&void 0!==e?e:0;if(a<=1)return 0;if(i&&"angleAxis"===i.axisType&&1e-6>=Math.abs(Math.abs(i.range[1]-i.range[0])-360))for(var u=i.range,c=0;c<a;c++){var s=c>0?r[c-1].coordinate:r[a-1].coordinate,l=r[c].coordinate,f=c>=a-1?r[0].coordinate:r[c+1].coordinate,p=void 0;if((0,n3.uY)(l-s)!==(0,n3.uY)(f-l)){var h=[];if((0,n3.uY)(f-l)===(0,n3.uY)(u[1]-u[0])){p=f;var d=l+u[1]-u[0];h[0]=Math.min(d,(d+s)/2),h[1]=Math.max(d,(d+s)/2)}else{p=s;var y=f+u[1]-u[0];h[0]=Math.min(l,(y+l)/2),h[1]=Math.max(l,(y+l)/2)}var v=[Math.min(l,(p+l)/2),Math.max(l,(p+l)/2)];if(t>v[0]&&t<=v[1]||t>=h[0]&&t<=h[1]){o=r[c].index;break}}else{var m=Math.min(s,f),b=Math.max(s,f);if(t>(m+l)/2&&t<=(b+l)/2){o=r[c].index;break}}}else for(var g=0;g<a;g++)if(0===g&&t<=(n[g].coordinate+n[g+1].coordinate)/2||g>0&&g<a-1&&t>(n[g].coordinate+n[g-1].coordinate)/2&&t<=(n[g].coordinate+n[g+1].coordinate)/2||g===a-1&&t>(n[g].coordinate+n[g-1].coordinate)/2){o=n[g].index;break}return o},ra=function(t){var e,n=t.type.displayName,r=t.props,i=r.stroke,o=r.fill;switch(n){case"Line":e=i;break;case"Area":case"Radar":e=i&&"none"!==i?i:o;break;default:e=o}return e},ru=function(t){var e=t.barSize,n=t.totalSize,r=t.stackGroups,i=void 0===r?{}:r;if(!i)return{};for(var o={},a=Object.keys(i),u=0,c=a.length;u<c;u++)for(var s=i[a[u]].stackGroups,l=Object.keys(s),f=0,p=l.length;f<p;f++){var h=s[l[f]],d=h.items,y=h.cateAxisId,v=d.filter(function(t){return(0,n4.Gf)(t.type).indexOf("Bar")>=0});if(v&&v.length){var m=v[0].props.barSize,b=v[0].props[y];o[b]||(o[b]=[]);var g=nm()(m)?e:m;o[b].push({item:v[0],stackList:v.slice(1),barSize:nm()(g)?void 0:(0,n3.h1)(g,n,0)})}}return o},rc=function(t){var e,n=t.barGap,r=t.barCategoryGap,i=t.bandSize,o=t.sizeList,a=void 0===o?[]:o,u=t.maxBarSize,c=a.length;if(c<1)return null;var s=(0,n3.h1)(n,i,0,!0),l=[];if(a[0].barSize===+a[0].barSize){var f=!1,p=i/c,h=a.reduce(function(t,e){return t+e.barSize||0},0);(h+=(c-1)*s)>=i&&(h-=(c-1)*s,s=0),h>=i&&p>0&&(f=!0,p*=.9,h=c*p);var d={offset:((i-h)/2>>0)-s,size:0};e=a.reduce(function(t,e){var n={item:e.item,position:{offset:d.offset+d.size+s,size:f?p:e.barSize}},r=[].concat(re(t),[n]);return d=r[r.length-1].position,e.stackList&&e.stackList.length&&e.stackList.forEach(function(t){r.push({item:t,position:d})}),r},l)}else{var y=(0,n3.h1)(r,i,0,!0);i-2*y-(c-1)*s<=0&&(s=0);var v=(i-2*y-(c-1)*s)/c;v>1&&(v>>=0);var m=u===+u?Math.min(v,u):v;e=a.reduce(function(t,e,n){var r=[].concat(re(t),[{item:e.item,position:{offset:y+(v+s)*n+(v-m)/2,size:m}}]);return e.stackList&&e.stackList.length&&e.stackList.forEach(function(t){r.push({item:t,position:r[r.length-1].position})}),r},l)}return e},rs=function(t,e,n,r){var i=n.children,o=n.width,a=n.margin,u=o-(a.left||0)-(a.right||0),c=(0,n8.z)({children:i,legendWidth:u});if(c){var s=r||{},l=s.width,f=s.height,p=c.align,h=c.verticalAlign,d=c.layout;if(("vertical"===d||"horizontal"===d&&"middle"===h)&&"center"!==p&&(0,n3.hj)(t[p]))return n5(n5({},t),{},rt({},p,t[p]+(l||0)));if(("horizontal"===d||"vertical"===d&&"center"===p)&&"middle"!==h&&(0,n3.hj)(t[h]))return n5(n5({},t),{},rt({},h,t[h]+(f||0)))}return t},rl=function(t,e,n,r,i){var o=e.props.children,a=(0,n4.NN)(o,n6.W).filter(function(t){var e;return e=t.props.direction,!!nm()(i)||("horizontal"===r?"yAxis"===i:"vertical"===r||"x"===e?"xAxis"===i:"y"!==e||"yAxis"===i)});if(a&&a.length){var u=a.map(function(t){return t.props.dataKey});return t.reduce(function(t,e){var r=rr(e,n);if(nm()(r))return t;var i=Array.isArray(r)?[ny()(r),nh()(r)]:[r,r],o=u.reduce(function(t,n){var r=rr(e,n,0),o=i[0]-Math.abs(Array.isArray(r)?r[0]:r),a=i[1]+Math.abs(Array.isArray(r)?r[1]:r);return[Math.min(o,t[0]),Math.max(a,t[1])]},[1/0,-1/0]);return[Math.min(o[0],t[0]),Math.max(o[1],t[1])]},[1/0,-1/0])}return null},rf=function(t,e,n,r,i){var o=e.map(function(e){return rl(t,e,n,i,r)}).filter(function(t){return!nm()(t)});return o&&o.length?o.reduce(function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]},[1/0,-1/0]):null},rp=function(t,e,n,r,i){var o=e.map(function(e){var o=e.props.dataKey;return"number"===n&&o&&rl(t,e,o,r)||ri(t,o,n,i)});if("number"===n)return o.reduce(function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]},[1/0,-1/0]);var a={};return o.reduce(function(t,e){for(var n=0,r=e.length;n<r;n++)a[e[n]]||(a[e[n]]=!0,t.push(e[n]));return t},[])},rh=function(t,e){return"horizontal"===t&&"xAxis"===e||"vertical"===t&&"yAxis"===e||"centric"===t&&"angleAxis"===e||"radial"===t&&"radiusAxis"===e},rd=function(t,e,n){if(!t)return null;var r=t.scale,i=t.duplicateDomain,o=t.type,a=t.range,u="scaleBand"===t.realScaleType?r.bandwidth()/2:2,c=(e||n)&&"category"===o&&r.bandwidth?r.bandwidth()/u:0;return(c="angleAxis"===t.axisType&&(null==a?void 0:a.length)>=2?2*(0,n3.uY)(a[0]-a[1])*c:c,e&&(t.ticks||t.niceTicks))?(t.ticks||t.niceTicks).map(function(t){return{coordinate:r(i?i.indexOf(t):t)+c,value:t,offset:c}}).filter(function(t){return!nE()(t.coordinate)}):t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map(function(t,e){return{coordinate:r(t)+c,value:t,index:e,offset:c}}
1):r.ticks&&!n?r.ticks(t.tickCount).map(function(t){return{coordinate:r(t)+c,value:t,offset:c}}):r.domain().map(function(t,e){return{coordinate:r(t)+c,value:i?i[t]:t,index:e,offset:c}})},ry=new WeakMap,rv=function(t,e){if("function"!=typeof e)return t;ry.has(t)||ry.set(t,new WeakMap);var n=ry.get(t);if(n.has(e))return n.get(e);var r=function(){t.apply(void 0,arguments),e.apply(void 0,arguments)};return n.set(e,r),r},rm=function(t,e,n){var r=t.scale,i=t.type,o=t.layout,s=t.axisType;if("auto"===r)return"radial"===o&&"radiusAxis"===s?{scale:u.Z(),realScaleType:"band"}:"radial"===o&&"angleAxis"===s?{scale:c.Z(),realScaleType:"linear"}:"category"===i&&e&&(e.indexOf("LineChart")>=0||e.indexOf("AreaChart")>=0||e.indexOf("ComposedChart")>=0&&!n)?{scale:u.x(),realScaleType:"point"}:"category"===i?{scale:u.Z(),realScaleType:"band"}:{scale:c.Z(),realScaleType:"linear"};if(nO()(r)){var l="scale".concat(nT()(r));return{scale:(a[l]||u.x)(),realScaleType:a[l]?l:"point"}}return ng()(r)?{scale:r}:{scale:u.x(),realScaleType:"point"}},rb=function(t){var e=t.domain();if(e&&!(e.length<=2)){var n=e.length,r=t.range(),i=Math.min(r[0],r[1])-1e-4,o=Math.max(r[0],r[1])+1e-4,a=t(e[0]),u=t(e[n-1]);(a<i||a>o||u<i||u>o)&&t.domain([e[0],e[n-1]])}},rg=function(t,e){if(!t)return null;for(var n=0,r=t.length;n<r;n++)if(t[n].item===e)return t[n].position;return null},rx=function(t,e){if(!e||2!==e.length||!(0,n3.hj)(e[0])||!(0,n3.hj)(e[1]))return t;var n=Math.min(e[0],e[1]),r=Math.max(e[0],e[1]),i=[t[0],t[1]];return(!(0,n3.hj)(t[0])||t[0]<n)&&(i[0]=n),(!(0,n3.hj)(t[1])||t[1]>r)&&(i[1]=r),i[0]>r&&(i[0]=r),i[1]<n&&(i[1]=n),i},rO={sign:function(t){var e=t.length;if(!(e<=0))for(var n=0,r=t[0].length;n<r;++n)for(var i=0,o=0,a=0;a<e;++a){var u=nE()(t[a][n][1])?t[a][n][0]:t[a][n][1];u>=0?(t[a][n][0]=i,t[a][n][1]=i+u,i=t[a][n][1]):(t[a][n][0]=o,t[a][n][1]=o+u,o=t[a][n][1])}},expand:function(t,e){if((r=t.length)>0){for(var n,r,i,o=0,a=t[0].length;o<a;++o){for(i=n=0;n<r;++n)i+=t[n][o][1]||0;if(i)for(n=0;n<r;++n)t[n][o][1]/=i}na(t,e)}},none:na,silhouette:function(t,e){if((n=t.length)>0){for(var n,r=0,i=t[e[0]],o=i.length;r<o;++r){for(var a=0,u=0;a<n;++a)u+=t[a][r][1]||0;i[r][1]+=i[r][0]=-u/2}na(t,e)}},wiggle:function(t,e){if((i=t.length)>0&&(r=(n=t[e[0]]).length)>0){for(var n,r,i,o=0,a=1;a<r;++a){for(var u=0,c=0,s=0;u<i;++u){for(var l=t[e[u]],f=l[a][1]||0,p=(f-(l[a-1][1]||0))/2,h=0;h<u;++h){var d=t[e[h]];p+=(d[a][1]||0)-(d[a-1][1]||0)}c+=f,s+=p*f}n[a-1][1]+=n[a-1][0]=o,c&&(o-=s/c)}n[a-1][1]+=n[a-1][0]=o,na(t,e)}},positive:function(t){var e=t.length;if(!(e<=0))for(var n=0,r=t[0].length;n<r;++n)for(var i=0,o=0;o<e;++o){var a=nE()(t[o][n][1])?t[o][n][0]:t[o][n][1];a>=0?(t[o][n][0]=i,t[o][n][1]=i+a,i=t[o][n][1]):(t[o][n][0]=0,t[o][n][1]=0)}}},rw=function(t,e,n){var r=e.map(function(t){return t.props.dataKey}),i=rO[n];return(function(){var t=(0,nc.Z)([]),e=ns,n=na,r=nl;function i(i){var o,a,u=Array.from(t.apply(this,arguments),nf),c=u.length,s=-1;for(let t of i)for(o=0,++s;o<c;++o)(u[o][s]=[0,+r(t,u[o].key,s,i)]).data=t;for(o=0,a=(0,nu.Z)(e(u));o<c;++o)u[a[o]].index=o;return n(u,a),u}return i.keys=function(e){return arguments.length?(t="function"==typeof e?e:(0,nc.Z)(Array.from(e)),i):t},i.value=function(t){return arguments.length?(r="function"==typeof t?t:(0,nc.Z)(+t),i):r},i.order=function(t){return arguments.length?(e=null==t?ns:"function"==typeof t?t:(0,nc.Z)(Array.from(t)),i):e},i.offset=function(t){return arguments.length?(n=null==t?na:t,i):n},i})().keys(r).value(function(t,e){return+rr(t,e,0)}).order(ns).offset(i)(t)},rj=function(t,e,n,r,i,o){if(!t)return null;var a=(o?e.reverse():e).reduce(function(t,e){var i=e.props,o=i.stackId;if(i.hide)return t;var a=e.props[n],u=t[a]||{hasStack:!1,stackGroups:{}};if((0,n3.P2)(o)){var c=u.stackGroups[o]||{numericAxisId:n,cateAxisId:r,items:[]};c.items.push(e),u.hasStack=!0,u.stackGroups[o]=c}else u.stackGroups[(0,n3.EL)("_stackId_")]={numericAxisId:n,cateAxisId:r,items:[e]};return n5(n5({},t),{},rt({},a,u))},{});return Object.keys(a).reduce(function(e,o){var u=a[o];return u.hasStack&&(u.stackGroups=Object.keys(u.stackGroups).reduce(function(e,o){var a=u.stackGroups[o];return n5(n5({},e),{},rt({},o,{numericAxisId:n,cateAxisId:r,items:a.items,stackedData:rw(t,a.items,i)}))},{})),n5(n5({},e),{},rt({},o,u))},{})},rS=function(t,e){var n=e.realScaleType,r=e.type,i=e.tickCount,o=e.originalDomain,a=e.allowDecimals,u=n||e.scale;if("auto"!==u&&"linear"!==u)return null;if(i&&"number"===r&&o&&("auto"===o[0]||"auto"===o[1])){var c=t.domain();if(!c.length)return null;var s=n1(c,i,a);return t.domain([ny()(s),nh()(s)]),{niceTicks:s}}return i&&"number"===r?{niceTicks:n2(t.domain(),i,a)}:null};
1function rA(t){var e=t.axis,n=t.ticks,r=t.bandSize,i=t.entry,o=t.index,a=t.dataKey;if("category"===e.type){if(!e.allowDuplicatedCategory&&e.dataKey&&!nm()(i[e.dataKey])){var u=(0,n3.Ap)(n,"value",i[e.dataKey]);if(u)return u.coordinate+r/2}return n[o]?n[o].coordinate+r/2:null}var c=rr(i,nm()(a)?e.dataKey:a);return nm()(c)?null:e.scale(c)}var rP=function(t){var e=t.axis,n=t.ticks,r=t.offset,i=t.bandSize,o=t.entry,a=t.index;if("category"===e.type)return n[a]?n[a].coordinate+r:null;var u=rr(o,e.dataKey,e.domain[a]);return nm()(u)?null:e.scale(u)-i/2+r},rE=function(t){var e=t.numericAxis,n=e.scale.domain();if("number"===e.type){var r=Math.min(n[0],n[1]),i=Math.max(n[0],n[1]);return r<=0&&i>=0?0:i<0?i:r}return n[0]},rk=function(t,e){var n=t.props.stackId;if((0,n3.P2)(n)){var r=e[n];if(r){var i=r.items.indexOf(t);return i>=0?r.stackedData[i]:null}}return null},rT=function(t,e,n){return Object.keys(t).reduce(function(r,i){var o=t[i].stackedData.reduce(function(t,r){var i=r.slice(e,n+1).reduce(function(t,e){return[ny()(e.concat([t[0]]).filter(n3.hj)),nh()(e.concat([t[1]]).filter(n3.hj))]},[1/0,-1/0]);return[Math.min(t[0],i[0]),Math.max(t[1],i[1])]},[1/0,-1/0]);return[Math.min(o[0],r[0]),Math.max(o[1],r[1])]},[1/0,-1/0]).map(function(t){return t===1/0||t===-1/0?0:t})},r_=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,rM=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,rC=function(t,e,n){if(ng()(t))return t(e,n);if(!Array.isArray(t))return e;var r=[];if((0,n3.hj)(t[0]))r[0]=n?t[0]:Math.min(t[0],e[0]);else if(r_.test(t[0])){var i=+r_.exec(t[0])[1];r[0]=e[0]-i}else ng()(t[0])?r[0]=t[0](e[0]):r[0]=e[0];if((0,n3.hj)(t[1]))r[1]=n?t[1]:Math.max(t[1],e[1]);else if(rM.test(t[1])){var o=+rM.exec(t[1])[1];r[1]=e[1]+o}else ng()(t[1])?r[1]=t[1](e[1]):r[1]=e[1];return r},rD=function(t,e,n){if(t&&t.scale&&t.scale.bandwidth){var r=t.scale.bandwidth();if(!n||r>0)return r}if(t&&e&&e.length>=2){for(var i=nD()(e,function(t){return t.coordinate}),o=1/0,a=1,u=i.length;a<u;a++){var c=i[a],s=i[a-1];o=Math.min((c.coordinate||0)-(s.coordinate||0),o)}return o===1/0?0:o}return n?void 0:0},rI=function(t,e,n){return!t||!t.length||nM()(t,nj()(n,"type.defaultProps.domain"))?e:t},rN=function(t,e){var n=t.props,r=n.dataKey,i=n.name,o=n.unit,a=n.formatter,u=n.tooltipType,c=n.chartType,s=n.hide;return n5(n5({},(0,n4.L6)(t,!1)),{},{dataKey:r,unit:o,formatter:a,name:i||r,color:ra(t),value:rr(e,r),type:u,payload:e,chartType:c,hide:s})}},98888:function(t,e,n){"use strict";n.d(e,{os:function(){return f},xE:function(){return l}});var r=n(59912);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 o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach(function(e){var r,o;r=e,o=n[e],(r=function(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:String(e)}(r))in t?Object.defineProperty(t,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[r]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var u={widthCache:{},cacheCount:0},c={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},s="recharts_measurement_span",l=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==t||r.x.isSsr)return{width:0,height:0};var i=(Object.keys(e=a({},n)).forEach(function(t){e[t]||delete e[t]}),e),o=JSON.stringify({text:t,copyStyle:i});if(u.widthCache[o])return u.widthCache[o];try{var l=document.getElementById(s);l||((l=document.createElement("span")).setAttribute("id",s),l.setAttribute("aria-hidden","true"),document.body.appendChild(l));var f=a(a({},c),i);Object.assign(l.style,f),l.textContent="".concat(t);var p=l.getBoundingClientRect(),h={width:p.width,height:p.height};return u.widthCache[o]=h,++u.cacheCount>2e3&&(u.cacheCount=0,u.widthCache={}),h}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}}},83038:function(t,e,n){"use strict";n.d(e,{Ap:function(){return O},EL:function(){return v},Kt:function(){return b},P2:function(){return d},bv:function(){return g},h1:function(){return m},hU:function(){return p},hj:function(){return h},k4:function(){return x},uY:function(){return f}});var r=n(42038),i=n.n(r),o=n(56011),a=n.n(o),u=n(3573),c=n.n(u),s=n(31886),l=n.n(s),f=function(t){return 0===t?0:t>0?1:-1},p=function(t){return i()(t)&&t.indexOf("%")===t.length-1},h=function(t){return l()(t)&&!a()(t)},d=function(t){return h(t)||i()(t)},y=0,v=function(t){var e=++y;return"".concat(t||"").concat(e)},m=function(t,e){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!h(t)&&!i()(t))return r;if(p(t)){var u=t.indexOf("%");n=e*parseFloat(t.slice(0,u))/100}else n=+t;return a()(n)&&(n=r),o&&n>e&&(n=e),n},b=function(t){if(!t)return null;var e=Object.keys(t);return e&&e.length?t[e[0]]:null},g=function(t){if(!Array.isArray(t))return!1;for(var e=t.length,n={},r=0;r<e;r++){if(n[t[r]])return!0;n[t[r]]=!0}return!1},x=function(t,e){return h(t)&&h(e)?function(n){return t+n*(e-t)}:function(){return e}};function O(t,e,n){return t&&t.length?t.find(function(t){return t&&("function"==typeof e?e(t):c()(t,e))===n}):null}},59912:function(t,e,n){"use strict";n.d(e,{x:function(){return r}});var r={isSsr:!window.document||!window.document.createElement||!window.setTimeout,get:function(t){return r[t]},set:function(t,e){if("string"==typeof t)r[t]=e;else{var n=Object.keys(t);
1n&&n.length&&n.forEach(function(e){r[e]=t[e]})}}}},22073:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});var r=function(t,e){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i]}},70522:function(t,e,n){"use strict";n.d(e,{$4:function(){return m},$S:function(){return j},Wk:function(){return y},op:function(){return v},t9:function(){return b},z3:function(){return w}});var r=n(36064),i=n.n(r),o=n(67294),a=n(44966),u=n.n(a),c=n(83038),s=n(45464);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 f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function p(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function h(t,e,n){var r;return(r=function(t,e){if("object"!=l(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=l(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==l(r)?r:String(r))in t)?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var y=Math.PI/180,v=function(t,e,n,r){return{x:t+Math.cos(-y*r)*n,y:e+Math.sin(-y*r)*n}},m=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(t-(n.left||0)-(n.right||0)),Math.abs(e-(n.top||0)-(n.bottom||0)))/2},b=function(t,e,n,r,o){var a=t.width,u=t.height,l=t.startAngle,f=t.endAngle,y=(0,c.h1)(t.cx,a,a/2),v=(0,c.h1)(t.cy,u,u/2),b=m(a,u,n),g=(0,c.h1)(t.innerRadius,b,0),x=(0,c.h1)(t.outerRadius,b,.8*b);return Object.keys(e).reduce(function(t,n){var a,u=e[n],c=u.domain,m=u.reversed;if(i()(u.range))"angleAxis"===r?a=[l,f]:"radiusAxis"===r&&(a=[g,x]),m&&(a=[a[1],a[0]]);else{var b,O=function(t){if(Array.isArray(t))return t}(b=a=u.range)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,u=[],c=!0,s=!1;try{for(o=(n=n.call(t)).next;!(c=(r=o.call(n)).done)&&(u.push(r.value),2!==u.length);c=!0);}catch(t){s=!0,i=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw i}}return u}}(b,2)||function(t,e){if(t){if("string"==typeof t)return d(t,2);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(t,2)}}(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.")}();l=O[0],f=O[1]}var w=(0,s.Hq)(u,o),j=w.realScaleType,S=w.scale;S.domain(c).range(a),(0,s.zF)(S);var A=(0,s.g$)(S,p(p({},u),{},{realScaleType:j})),P=p(p(p({},u),A),{},{range:a,radius:x,realScaleType:j,scale:S,cx:y,cy:v,innerRadius:g,outerRadius:x,startAngle:l,endAngle:f});return p(p({},t),{},h({},n,P))},{})},g=function(t,e){var n=t.x,r=t.y;return Math.sqrt(Math.pow(n-e.x,2)+Math.pow(r-e.y,2))},x=function(t,e){var n=t.x,r=t.y,i=e.cx,o=e.cy,a=g({x:n,y:r},{x:i,y:o});if(a<=0)return{radius:a};var u=Math.acos((n-i)/a);return r>o&&(u=2*Math.PI-u),{radius:a,angle:180*u/Math.PI,angleInRadian:u}},O=function(t){var e=t.startAngle,n=t.endAngle,r=Math.min(Math.floor(e/360),Math.floor(n/360));return{startAngle:e-360*r,endAngle:n-360*r}},w=function(t,e){var n,r=x({x:t.x,y:t.y},e),i=r.radius,o=r.angle,a=e.innerRadius,u=e.outerRadius;if(i<a||i>u)return!1;if(0===i)return!0;
1var c=O(e),s=c.startAngle,l=c.endAngle,f=o;if(s<=l){for(;f>l;)f-=360;for(;f<s;)f+=360;n=f>=s&&f<=l}else{for(;f>s;)f-=360;for(;f<l;)f+=360;n=f>=l&&f<=s}return n?p(p({},e),{},{radius:i,angle:f+360*Math.min(Math.floor(e.startAngle/360),Math.floor(e.endAngle/360))}):null},j=function(t){return(0,o.isValidElement)(t)||u()(t)||"boolean"==typeof t?"":t.className}},48894:function(t,e,n){"use strict";n.d(e,{$R:function(){return R},$k:function(){return M},Bh:function(){return L},Gf:function(){return j},L6:function(){return D},NN:function(){return E},TT:function(){return T},eu:function(){return B},rL:function(){return I},sP:function(){return k}});var r=n(3573),i=n.n(r),o=n(36064),a=n.n(o),u=n(42038),c=n.n(u),s=n(44966),l=n.n(s),f=n(13593),p=n.n(f),h=n(67294),d=n(59864),y=n(83038),v=n(57518),m=n(68975),b=["children"],g=["children"];function x(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}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 w={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},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 n=[];return h.Children.forEach(e,function(e){a()(e)||((0,d.isFragment)(e)?n=n.concat(t(e.props.children)):n.push(e))}),A=n,S=e,n};function E(t,e){var n=[],r=[];return r=Array.isArray(e)?e.map(function(t){return j(t)}):[j(e)],P(t).forEach(function(t){var e=i()(t,"type.displayName")||i()(t,"type.name");-1!==r.indexOf(e)&&n.push(t)}),n}function k(t,e){var n=E(t,e);return n&&n[0]}var T=function(t){if(!t||!t.props)return!1;var e=t.props,n=e.width,r=e.height;return!!(0,y.hj)(n)&&!(n<=0)&&!!(0,y.hj)(r)&&!(r<=0)},_=["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"],M=function(t){return t&&"object"===O(t)&&"cx"in t&&"cy"in t&&"r"in t},C=function(t,e,n,r){var i,o=null!==(i=null===m.ry||void 0===m.ry?void 0:m.ry[r])&&void 0!==i?i:[];return!l()(t)&&(r&&o.includes(e)||m.Yh.includes(e))||n&&m.nv.includes(e)},D=function(t,e,n){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var r=t;if((0,h.isValidElement)(t)&&(r=t.props),!p()(r))return null;var i={};return Object.keys(r).forEach(function(t){var o;C(null===(o=r)||void 0===o?void 0:o[t],t,e,n)&&(i[t]=r[t])}),i},I=function t(e,n){if(e===n)return!0;var r=h.Children.count(e);if(r!==h.Children.count(n))return!1;if(0===r)return!0;if(1===r)return N(Array.isArray(e)?e[0]:e,Array.isArray(n)?n[0]:n);for(var i=0;i<r;i++){var o=e[i],a=n[i];if(Array.isArray(o)||Array.isArray(a)){if(!t(o,a))return!1}else if(!N(o,a))return!1}return!0},N=function(t,e){if(a()(t)&&a()(e))return!0;
1if(!a()(t)&&!a()(e)){var n=t.props||{},r=n.children,i=x(n,b),o=e.props||{},u=o.children,c=x(o,g);if(r&&u)return(0,v.w)(i,c)&&I(r,u);if(!r&&!u)return(0,v.w)(i,c)}return!1},B=function(t,e){var n=[],r={};return P(t).forEach(function(t,i){if(t&&t.type&&c()(t.type)&&_.indexOf(t.type)>=0)n.push(t);else if(t){var o=j(t.type),a=e[o]||{},u=a.handler,s=a.once;if(u&&(!s||!r[o])){var l=u(t,o,i);n.push(l),r[o]=!0}}}),n},L=function(t){var e=t&&t.type;return e&&w[e]?w[e]:null},R=function(t,e){return P(e).indexOf(t)}},57518:function(t,e,n){"use strict";function r(t,e){for(var n in t)if(({}).hasOwnProperty.call(t,n)&&(!({}).hasOwnProperty.call(e,n)||t[n]!==e[n]))return!1;for(var r in e)if(({}).hasOwnProperty.call(e,r)&&!({}).hasOwnProperty.call(t,r))return!1;return!0}n.d(e,{w:function(){return r}})},45911:function(t,e,n){"use strict";n.d(e,{z:function(){return s}});var r=n(78042),i=n(45464),o=n(48894);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 n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach(function(e){var r,i;r=e,i=n[e],(r=function(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=a(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:String(e)}(r))in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var s=function(t){var e,n=t.children,a=t.formattedGraphicalItems,u=t.legendWidth,s=t.legendContent,l=(0,o.sP)(n,r.D);return l?(e=l.props&&l.props.payload?l.props&&l.props.payload:"children"===s?(a||[]).reduce(function(t,e){var n=e.item,r=e.props,i=r.sectors||r.data||[];return t.concat(i.map(function(t){return{type:l.props.iconType||n.props.legendType,value:t.name,color:t.fill,payload:t}}))},[]):(a||[]).map(function(t){var e=t.item,n=e.props,r=n.dataKey,o=n.name,a=n.legendType;return{inactive:n.hide,dataKey:r,type:l.props.iconType||a||"square",color:(0,i.fk)(e),value:o||r,payload:e.props}}),c(c(c({},l.props),r.D.getWithHeight(l,u)),{},{payload:e,item:l})):null}},62703:function(t,e,n){"use strict";n.d(e,{z:function(){return u}});var r=n(46818),i=n.n(r),o=n(44966),a=n.n(o);function u(t,e,n){return!0===e?i()(t,n):a()(e)?i()(t,e):t}},68975:function(t,e,n){"use strict";n.d(e,{Yh:function(){return u},Ym:function(){return f},bw:function(){return p},nv:function(){return l},ry:function(){return s}});var r=n(67294),i=n(13593),o=n.n(i);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"],s={svg:["viewBox","children"],polygon:c,polyline:c},l=["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 n=t;if((0,r.isValidElement)(t)&&(n=t.props),!o()(n))return null;var i={};return Object.keys(n).forEach(function(t){l.includes(t)&&(i[t]=e||function(e){return n[t](n,e)})}),i},p=function(t,e,n){if(!o()(t)||"object"!==a(t))return null;var r=null;return Object.keys(t).forEach(function(i){var o=t[i];l.includes(i)&&"function"==typeof o&&(r||(r={}),r[i]=function(t){return o(e,n,t),null})}),r}},97045:function(t,e,n){"use strict";var r=n(47629)(n(86226),"DataView");t.exports=r},51474:function(t,e,n){"use strict";var r=n(13557),i=n(79187),o=n(98822),a=n(25341),u=n(22216);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=u,t.exports=c},47064:function(t,e,n){"use strict";var r=n(17960),i=n(68844),o=n(3117),a=n(35939),u=n(96559);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=u,t.exports=c},16430:function(t,e,n){"use strict";var r=n(47629)(n(86226),"Map");t.exports=r},56327:function(t,e,n){"use strict";var r=n(72875),i=n(92426),o=n(94700),a=n(61964),u=n(21201);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=u,t.exports=c},32049:function(t,e,n){"use strict";var r=n(47629)(n(86226),"Promise");t.exports=r},30977:function(t,e,n){"use strict";var r=n(47629)(n(86226),"Set");t.exports=r},7495:function(t,e,n){"use strict";var r=n(56327),i=n(83487),o=n(80240);function a(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new r;++e<n;)this.add(t[e])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,t.exports=a},27475:function(t,e,n){"use strict";var r=n(47064),i=n(55346),o=n(71488),a=n(59808),u=n(79402),c=n(27253);function s(t){var e=this.__data__=new r(t);this.size=e.size}s.prototype.clear=i,s.prototype.delete=o,s.prototype.get=a,s.prototype.has=u,s.prototype.set=c,t.exports=s},90146:function(t,e,n){"use strict";var r=n(86226).Symbol;t.exports=r},32689:function(t,e,n){"use strict";var r=n(86226).Uint8Array;t.exports=r},91046:function(t,e,n){"use strict";var r=n(47629)(n(86226),"WeakMap");t.exports=r},87009:function(t){"use strict";t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},30705:function(t){"use strict";t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}},57463:function(t){"use strict";t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}},51863:function(t,e,n){"use strict";var r=n(3389);t.exports=function(t,e){return!!(null==t?0:t.length)&&r(t,e,0)>-1}},57126:function(t){"use strict";
1t.exports=function(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}},69601:function(t,e,n){"use strict";var r=n(86094),i=n(72817),o=n(80727),a=n(17301),u=n(98192),c=n(39224),s=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=o(t),l=!n&&i(t),f=!n&&!l&&a(t),p=!n&&!l&&!f&&c(t),h=n||l||f||p,d=h?r(t.length,String):[],y=d.length;for(var v in t)(e||s.call(t,v))&&!(h&&("length"==v||f&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||u(v,y)))&&d.push(v);return d}},60285:function(t){"use strict";t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}},88487:function(t){"use strict";t.exports=function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}},43863:function(t){"use strict";t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}},30791:function(t){"use strict";t.exports=function(t){return t.split("")}},87431:function(t,e,n){"use strict";var r=n(31840);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return -1}},28349:function(t,e,n){"use strict";var r=n(92434);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},86921:function(t,e,n){"use strict";var r=n(49773),i=n(23922)(r);t.exports=i},70326:function(t,e,n){"use strict";var r=n(86921);t.exports=function(t,e){var n=!0;return r(t,function(t,r,i){return n=!!e(t,r,i)}),n}},10641:function(t,e,n){"use strict";var r=n(98847);t.exports=function(t,e,n){for(var i=-1,o=t.length;++i<o;){var a=t[i],u=e(a);if(null!=u&&(void 0===c?u==u&&!r(u):n(u,c)))var c=u,s=a}return s}},59691:function(t){"use strict";t.exports=function(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return -1}},45584:function(t,e,n){"use strict";var r=n(88487),i=n(36795);t.exports=function t(e,n,o,a,u){var c=-1,s=e.length;for(o||(o=i),u||(u=[]);++c<s;){var l=e[c];n>0&&o(l)?n>1?t(l,n-1,o,a,u):r(u,l):a||(u[u.length]=l)}return u}},55694:function(t,e,n){"use strict";var r=n(45417)();t.exports=r},49773:function(t,e,n){"use strict";var r=n(55694),i=n(96276);t.exports=function(t,e){return t&&r(t,e,i)}},46519:function(t,e,n){"use strict";var r=n(45982),i=n(31265);t.exports=function(t,e){e=r(e,t);for(var n=0,o=e.length;null!=t&&n<o;)t=t[i(e[n++])];return n&&n==o?t:void 0}},8588:function(t,e,n){"use strict";var r=n(88487),i=n(80727);t.exports=function(t,e,n){var o=e(t);return i(t)?o:r(o,n(t))}},11294:function(t,e,n){"use strict";var r=n(90146),i=n(85338),o=n(85639),a=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?i(t):o(t)}},87377:function(t){"use strict";t.exports=function(t,e){return t>e}},53987:function(t){"use strict";t.exports=function(t,e){return null!=t&&e in Object(t)}},3389:function(t,e,n){"use strict";var r=n(59691),i=n(94929),o=n(73489);t.exports=function(t,e,n){return e==e?o(t,e,n):r(t,i,n)}},652:function(t,e,n){"use strict";var r=n(11294),i=n(26324);t.exports=function(t){return i(t)&&"[object Arguments]"==r(t)}},6008:function(t,e,n){"use strict";var r=n(97298),i=n(26324);t.exports=function t(e,n,o,a,u){return e===n||(null!=e&&null!=n&&(i(e)||i(n))?r(e,n,o,a,t,u):e!=e&&n!=n)}},97298:function(t,e,n){"use strict";var r=n(27475),i=n(65662),o=n(1776),a=n(90977),u=n(54474),c=n(80727),s=n(17301),l=n(39224),f="[object Arguments]",p="[object Array]",h="[object Object]",d=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,y,v,m){var b=c(t),g=c(e),x=b?p:u(t),O=g?p:u(e);x=x==f?h:x,O=O==f?h:O;var w=x==h,j=O==h,S=x==O;if(S&&s(t)){if(!s(e))return!1;b=!0,w=!1}if(S&&!w)return m||(m=new r),b||l(t)?i(t,e,n,y,v,m):o(t,e,x,n,y,v,m);if(!(1&n)){var A=w&&d.call(t,"__wrapped__"),P=j&&d.call(e,"__wrapped__");
1if(A||P){var E=A?t.value():t,k=P?e.value():e;return m||(m=new r),v(E,k,n,y,m)}}return!!S&&(m||(m=new r),a(t,e,n,y,v,m))}},60844:function(t,e,n){"use strict";var r=n(27475),i=n(6008);t.exports=function(t,e,n,o){var a=n.length,u=a,c=!o;if(null==t)return!u;for(t=Object(t);a--;){var s=n[a];if(c&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++a<u;){var l=(s=n[a])[0],f=t[l],p=s[1];if(c&&s[2]){if(void 0===f&&!(l in t))return!1}else{var h=new r;if(o)var d=o(f,p,l,t,e,h);if(!(void 0===d?i(p,f,3,o,h):d))return!1}}return!0}},94929:function(t){"use strict";t.exports=function(t){return t!=t}},43694:function(t,e,n){"use strict";var r=n(44966),i=n(42445),o=n(13593),a=n(81710),u=/^\[object .+?Constructor\]$/,c=Object.prototype,s=Function.prototype.toString,l=c.hasOwnProperty,f=RegExp("^"+s.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||i(t))&&(r(t)?f:u).test(a(t))}},21081:function(t,e,n){"use strict";var r=n(11294),i=n(86764),o=n(26324),a={};a["[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 o(t)&&i(t.length)&&!!a[r(t)]}},3720:function(t,e,n){"use strict";var r=n(50918),i=n(58735),o=n(89538),a=n(80727),u=n(29801);t.exports=function(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?a(t)?i(t[0],t[1]):r(t):u(t)}},18314:function(t,e,n){"use strict";var r=n(67720),i=n(79186),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return i(t);var e=[];for(var n in Object(t))o.call(t,n)&&"constructor"!=n&&e.push(n);return e}},28901:function(t){"use strict";t.exports=function(t,e){return t<e}},13084:function(t,e,n){"use strict";var r=n(86921),i=n(23717);t.exports=function(t,e){var n=-1,o=i(t)?Array(t.length):[];return r(t,function(t,r,i){o[++n]=e(t,r,i)}),o}},50918:function(t,e,n){"use strict";var r=n(60844),i=n(33842),o=n(57735);t.exports=function(t){var e=i(t);return 1==e.length&&e[0][2]?o(e[0][0],e[0][1]):function(n){return n===t||r(n,t,e)}}},58735:function(t,e,n){"use strict";var r=n(6008),i=n(3573),o=n(45996),a=n(35119),u=n(24492),c=n(57735),s=n(31265);t.exports=function(t,e){return a(t)&&u(e)?c(s(t),e):function(n){var a=i(n,t);return void 0===a&&a===e?o(n,t):r(e,a,3)}}},88394:function(t,e,n){"use strict";var r=n(60285),i=n(46519),o=n(3720),a=n(13084),u=n(77463),c=n(74362),s=n(61850),l=n(89538),f=n(80727);t.exports=function(t,e,n){e=e.length?r(e,function(t){return f(t)?function(e){return i(e,1===t.length?t[0]:t)}:t}):[l];var p=-1;return e=r(e,c(o)),u(a(t,function(t,n,i){return{criteria:r(e,function(e){return e(t)}),index:++p,value:t}}),function(t,e){return s(t,e,n)})}},3397:function(t){"use strict";t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},71539:function(t,e,n){"use strict";var r=n(46519);t.exports=function(t){return function(e){return r(e,t)}}},96873:function(t){"use strict";var e=Math.ceil,n=Math.max;t.exports=function(t,r,i,o){for(var a=-1,u=n(e((r-t)/(i||1)),0),c=Array(u);u--;)c[o?u:++a]=t,t+=i;return c}},98963:function(t,e,n){"use strict";var r=n(89538),i=n(98884),o=n(76615);t.exports=function(t,e){return o(i(t,e,r),t+"")}},44447:function(t,e,n){"use strict";var r=n(89884),i=n(92434),o=n(89538),a=i?function(t,e){return i(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:o;t.exports=a},76685:function(t){"use strict";t.exports=function(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r<i;)o[r]=t[r+e];return o}},29513:function(t,e,n){"use strict";var r=n(86921);t.exports=function(t,e){var n;return r(t,function(t,r,i){return!(n=e(t,r,i))}),!!n}},77463:function(t){"use strict";
1t.exports=function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}},86094:function(t){"use strict";t.exports=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}},3960:function(t,e,n){"use strict";var r=n(90146),i=n(60285),o=n(80727),a=n(98847),u=1/0,c=r?r.prototype:void 0,s=c?c.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(o(e))return i(e,t)+"";if(a(e))return s?s.call(e):"";var n=e+"";return"0"==n&&1/e==-u?"-0":n}},56568:function(t,e,n){"use strict";var r=n(39422),i=/^\s+/;t.exports=function(t){return t?t.slice(0,r(t)+1).replace(i,""):t}},74362:function(t){"use strict";t.exports=function(t){return function(e){return t(e)}}},24189:function(t,e,n){"use strict";var r=n(7495),i=n(51863),o=n(57126),a=n(88605),u=n(43078),c=n(67977);t.exports=function(t,e,n){var s=-1,l=i,f=t.length,p=!0,h=[],d=h;if(n)p=!1,l=o;else if(f>=200){var y=e?null:u(t);if(y)return c(y);p=!1,l=a,d=new r}else d=e?[]:h;t:for(;++s<f;){var v=t[s],m=e?e(v):v;if(v=n||0!==v?v:0,p&&m==m){for(var b=d.length;b--;)if(d[b]===m)continue t;e&&d.push(m),h.push(v)}else l(d,m,n)||(d!==h&&d.push(m),h.push(v))}return h}},88605:function(t){"use strict";t.exports=function(t,e){return t.has(e)}},45982:function(t,e,n){"use strict";var r=n(80727),i=n(35119),o=n(13837),a=n(69396);t.exports=function(t,e){return r(t)?t:i(t,e)?[t]:o(a(t))}},69338:function(t,e,n){"use strict";var r=n(76685);t.exports=function(t,e,n){var i=t.length;return n=void 0===n?i:n,!e&&n>=i?t:r(t,e,n)}},84027:function(t,e,n){"use strict";var r=n(98847);t.exports=function(t,e){if(t!==e){var n=void 0!==t,i=null===t,o=t==t,a=r(t),u=void 0!==e,c=null===e,s=e==e,l=r(e);if(!c&&!l&&!a&&t>e||a&&u&&s&&!c&&!l||i&&u&&s||!n&&s||!o)return 1;if(!i&&!a&&!l&&t<e||l&&n&&o&&!i&&!a||c&&n&&o||!u&&o||!s)return -1}return 0}},61850:function(t,e,n){"use strict";var r=n(84027);t.exports=function(t,e,n){for(var i=-1,o=t.criteria,a=e.criteria,u=o.length,c=n.length;++i<u;){var s=r(o[i],a[i]);if(s){if(i>=c)return s;return s*("desc"==n[i]?-1:1)}}return t.index-e.index}},6607:function(t,e,n){"use strict";var r=n(86226)["__core-js_shared__"];t.exports=r},23922:function(t,e,n){"use strict";var r=n(23717);t.exports=function(t,e){return function(n,i){if(null==n)return n;if(!r(n))return t(n,i);for(var o=n.length,a=e?o:-1,u=Object(n);(e?a--:++a<o)&&!1!==i(u[a],a,u););return n}}},45417:function(t){"use strict";t.exports=function(t){return function(e,n,r){for(var i=-1,o=Object(e),a=r(e),u=a.length;u--;){var c=a[t?u:++i];if(!1===n(o[c],c,o))break}return e}}},33753:function(t,e,n){"use strict";var r=n(69338),i=n(27744),o=n(23063),a=n(69396);t.exports=function(t){return function(e){var n=i(e=a(e))?o(e):void 0,u=n?n[0]:e.charAt(0),c=n?r(n,1).join(""):e.slice(1);return u[t]()+c}}},35891:function(t,e,n){"use strict";var r=n(3720),i=n(23717),o=n(96276);t.exports=function(t){return function(e,n,a){var u=Object(e);if(!i(e)){var c=r(n,3);e=o(e),n=function(t){return c(u[t],t,u)}}var s=t(e,n,a);return s>-1?u[c?e[s]:s]:void 0}}},368:function(t,e,n){"use strict";var r=n(96873),i=n(41161),o=n(54826);t.exports=function(t){return function(e,n,a){return a&&"number"!=typeof a&&i(e,n,a)&&(n=a=void 0),e=o(e),void 0===n?(n=e,e=0):n=o(n),a=void 0===a?e<n?1:-1:o(a),r(e,n,a,t)}}},43078:function(t,e,n){"use strict";var r=n(30977),i=n(46787),o=n(67977),a=r&&1/o(new r([,-0]))[1]==1/0?function(t){return new r(t)}:i;t.exports=a},92434:function(t,e,n){"use strict";var r=n(47629),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=i},65662:function(t,e,n){"use strict";var r=n(7495),i=n(43863),o=n(88605);t.exports=function(t,e,n,a,u,c){var s=1&n,l=t.length,f=e.length;if(l!=f&&!(s&&f>l))return!1;var p=c.get(t),h=c.get(e);if(p&&h)return p==e&&h==t;var d=-1,y=!0,v=2&n?new r:void 0;for(c.set(t,e),c.set(e,t);++d<l;){var m=t[d],b=e[d];if(a)var g=s?a(b,m,d,e,t,c):a(m,b,d,t,e,c);if(void 0!==g){if(g)continue;y=!1;break}if(v){if(!i(e,function(t,e){if(!o(v,e)&&(m===t||u(m,t,n,a,c)))return v.push(e)})){y=!1;break}}else if(!(m===b||u(m,b,n,a,c))){y=!1;break}}return c.delete(t),c.delete(e),y}},1776:function(t,e,n){"use strict";var r=n(90146),i=n(32689),o=n(31840),a=n(65662),u=n(80821),c=n(67977
1),s=r?r.prototype:void 0,l=s?s.valueOf:void 0;t.exports=function(t,e,n,r,s,f,p){switch(n){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 i(t),new i(e)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+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 h=u;case"[object Set]":var d=1&r;if(h||(h=c),t.size!=e.size&&!d)break;var y=p.get(t);if(y)return y==e;r|=2,p.set(t,e);var v=a(h(t),h(e),r,s,f,p);return p.delete(t),v;case"[object Symbol]":if(l)return l.call(t)==l.call(e)}return!1}},90977:function(t,e,n){"use strict";var r=n(12153),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,o,a,u){var c=1&n,s=r(t),l=s.length;if(l!=r(e).length&&!c)return!1;for(var f=l;f--;){var p=s[f];if(!(c?p in e:i.call(e,p)))return!1}var h=u.get(t),d=u.get(e);if(h&&d)return h==e&&d==t;var y=!0;u.set(t,e),u.set(e,t);for(var v=c;++f<l;){var m=t[p=s[f]],b=e[p];if(o)var g=c?o(b,m,p,e,t,u):o(m,b,p,t,e,u);if(!(void 0===g?m===b||a(m,b,n,o,u):g)){y=!1;break}v||(v="constructor"==p)}if(y&&!v){var x=t.constructor,O=e.constructor;x!=O&&"constructor"in t&&"constructor"in e&&!("function"==typeof x&&x instanceof x&&"function"==typeof O&&O instanceof O)&&(y=!1)}return u.delete(t),u.delete(e),y}},34341:function(t,e,n){"use strict";var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=r},12153:function(t,e,n){"use strict";var r=n(8588),i=n(94938),o=n(96276);t.exports=function(t){return r(t,o,i)}},3910:function(t,e,n){"use strict";var r=n(60278);t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},33842:function(t,e,n){"use strict";var r=n(24492),i=n(96276);t.exports=function(t){for(var e=i(t),n=e.length;n--;){var o=e[n],a=t[o];e[n]=[o,a,r(a)]}return e}},47629:function(t,e,n){"use strict";var r=n(43694),i=n(93831);t.exports=function(t,e){var n=i(t,e);return r(n)?n:void 0}},70874:function(t,e,n){"use strict";var r=n(64480)(Object.getPrototypeOf,Object);t.exports=r},85338:function(t,e,n){"use strict";var r=n(90146),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,u=r?r.toStringTag:void 0;t.exports=function(t){var e=o.call(t,u),n=t[u];try{t[u]=void 0;var r=!0}catch(t){}var i=a.call(t);return r&&(e?t[u]=n:delete t[u]),i}},94938:function(t,e,n){"use strict";var r=n(57463),i=n(72904),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,u=a?function(t){return null==t?[]:r(a(t=Object(t)),function(e){return o.call(t,e)})}:i;t.exports=u},54474:function(t,e,n){"use strict";var r=n(97045),i=n(16430),o=n(32049),a=n(30977),u=n(91046),c=n(11294),s=n(81710),l="[object Map]",f="[object Promise]",p="[object Set]",h="[object WeakMap]",d="[object DataView]",y=s(r),v=s(i),m=s(o),b=s(a),g=s(u),x=c;(r&&x(new r(new ArrayBuffer(1)))!=d||i&&x(new i)!=l||o&&x(o.resolve())!=f||a&&x(new a)!=p||u&&x(new u)!=h)&&(x=function(t){var e=c(t),n="[object Object]"==e?t.constructor:void 0,r=n?s(n):"";if(r)switch(r){case y:return d;case v:return l;case m:return f;case b:return p;case g:return h}return e}),t.exports=x},93831:function(t){"use strict";t.exports=function(t,e){return null==t?void 0:t[e]}},15978:function(t,e,n){"use strict";var r=n(45982),i=n(72817),o=n(80727),a=n(98192),u=n(86764),c=n(31265);t.exports=function(t,e,n){e=r(e,t);for(var s=-1,l=e.length,f=!1;++s<l;){var p=c(e[s]);if(!(f=null!=t&&n(t,p)))break;t=t[p]}return f||++s!=l?f:!!(l=null==t?0:t.length)&&u(l)&&a(p,l)&&(o(t)||i(t))}},27744:function(t){"use strict";var e=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return e.test(t)}},13557:function(t,e,n){"use strict";var r=n(46076);t.exports=function(){this.__data__=r?r(null):{},this.size=0}},79187:function(t){"use strict";t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},98822:function(t,e,n){"use strict";var r=n(46076),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(e,t)?e[t]:void 0}},25341:function(t,e,n){"use strict";var r=n(46076),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:i.call(e,t)}},22216:function(t,e,n){"use strict";var r=n(46076);t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?"__lodash_hash_undefined__":e,this}},36795:function(t,e,n){"use strict";var r=n(90146),i=n(72817),o=n(80727),a=r?r.isConcatSpreadable:void 0;t.exports=function(t){return o(t)||i(t)||!!(a&&t&&t[a])}},98192:function(t){"use strict";var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<n}},41161:function(t,e,n){"use strict";var r=n(31840),i=n(23717),o=n(98192),a=n(13593);t.exports=function(t,e,n){if(!a(n))return!1;var u=typeof e;return("number"==u?!!(i(n)&&o(e,n.length)):"string"==u&&e in n)&&r(n[e],t)}},35119:function(t,e,n){"use strict";var r=n(80727),i=n(98847),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(r(t))return!1;var n=typeof t;return!!("number"==n||"symbol"==n||"boolean"==n||null==t||i(t))||a.test(t)||!o.test(t)||null!=e&&t in Object(e)}},60278:function(t){"use strict";
1t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},42445:function(t,e,n){"use strict";var r,i=n(6607),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!o&&o in t}},67720:function(t){"use strict";var e=Object.prototype;t.exports=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}},24492:function(t,e,n){"use strict";var r=n(13593);t.exports=function(t){return t==t&&!r(t)}},17960:function(t){"use strict";t.exports=function(){this.__data__=[],this.size=0}},68844:function(t,e,n){"use strict";var r=n(87431),i=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0)&&(n==e.length-1?e.pop():i.call(e,n,1),--this.size,!0)}},3117:function(t,e,n){"use strict";var r=n(87431);t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},35939:function(t,e,n){"use strict";var r=n(87431);t.exports=function(t){return r(this.__data__,t)>-1}},96559:function(t,e,n){"use strict";var r=n(87431);t.exports=function(t,e){var n=this.__data__,i=r(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}},72875:function(t,e,n){"use strict";var r=n(51474),i=n(47064),o=n(16430);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},92426:function(t,e,n){"use strict";var r=n(3910);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},94700:function(t,e,n){"use strict";var r=n(3910);t.exports=function(t){return r(this,t).get(t)}},61964:function(t,e,n){"use strict";var r=n(3910);t.exports=function(t){return r(this,t).has(t)}},21201:function(t,e,n){"use strict";var r=n(3910);t.exports=function(t,e){var n=r(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this}},80821:function(t){"use strict";t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}},57735:function(t){"use strict";t.exports=function(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}},51397:function(t,e,n){"use strict";var r=n(94233);t.exports=function(t){var e=r(t,function(t){return 500===n.size&&n.clear(),t}),n=e.cache;return e}},46076:function(t,e,n){"use strict";var r=n(47629)(Object,"create");t.exports=r},79186:function(t,e,n){"use strict";var r=n(64480)(Object.keys,Object);t.exports=r},39491:function(t,e,n){"use strict";t=n.nmd(t);var r=n(34341),i=e&&!e.nodeType&&e,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i&&r.process,u=function(){try{var t=o&&o.require&&o.require("util").types;if(t)return t;return a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=u},85639:function(t){"use strict";var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},64480:function(t){"use strict";t.exports=function(t,e){return function(n){return t(e(n))}}},98884:function(t,e,n){"use strict";var r=n(87009),i=Math.max;t.exports=function(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,a=-1,u=i(o.length-e,0),c=Array(u);++a<u;)c[a]=o[e+a];a=-1;for(var s=Array(e+1);++a<e;)s[a]=o[a];return s[e]=n(c),r(t,this,s)}}},86226:function(t,e,n){"use strict";var r=n(34341),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},83487:function(t){"use strict";t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},80240:function(t){"use strict";t.exports=function(t){return this.__data__.has(t)}},67977:function(t){"use strict";t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}},76615:function(t,e,n){"use strict";var r=n(44447),i=n(11465)(r);t.exports=i},11465:function(t){"use strict";var e=Date.now;t.exports=function(t){var n=0,r=0;return function(){var i=e(),o=16-(i-r);if(r=i,o>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}},55346:function(t,e,n){"use strict";var r=n(47064);t.exports=function(){this.__data__=new r,this.size=0}},71488:function(t){"use strict";t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},59808:function(t){"use strict";
1t.exports=function(t){return this.__data__.get(t)}},79402:function(t){"use strict";t.exports=function(t){return this.__data__.has(t)}},27253:function(t,e,n){"use strict";var r=n(47064),i=n(16430),o=n(56327);t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(t,e),this.size=n.size,this}},73489:function(t){"use strict";t.exports=function(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return -1}},23063:function(t,e,n){"use strict";var r=n(30791),i=n(27744),o=n(13376);t.exports=function(t){return i(t)?o(t):r(t)}},13837:function(t,e,n){"use strict";var r=n(51397),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,function(t,n,r,i){e.push(r?i.replace(o,"$1"):n||t)}),e});t.exports=a},31265:function(t,e,n){"use strict";var r=n(98847),i=1/0;t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-i?"-0":e}},81710:function(t){"use strict";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""}},39422:function(t){"use strict";var e=/\s/;t.exports=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}},13376:function(t){"use strict";var e="\ud800-\udfff",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\ud83c[\udffb-\udfff]",i="[^"+e+"]",o="(?:\ud83c[\udde6-\uddff]){2}",a="[\ud800-\udbff][\udc00-\udfff]",u="(?:"+n+"|"+r+")?",c="[\\ufe0e\\ufe0f]?",s="(?:\\u200d(?:"+[i,o,a].join("|")+")"+c+u+")*",l=RegExp(r+"(?="+r+")|(?:"+[i+n+"?",n,o,a,"["+e+"]"].join("|")+")"+(c+u+s),"g");t.exports=function(t){return t.match(l)||[]}},89884:function(t){"use strict";t.exports=function(t){return function(){return t}}},40938:function(t,e,n){"use strict";var r=n(13593),i=n(63382),o=n(65041),a=Math.max,u=Math.min;t.exports=function(t,e,n){var c,s,l,f,p,h,d=0,y=!1,v=!1,m=!0;if("function"!=typeof t)throw TypeError("Expected a function");function b(e){var n=c,r=s;return c=s=void 0,d=e,f=t.apply(r,n)}function g(t){var n=t-h,r=t-d;return void 0===h||n>=e||n<0||v&&r>=l}function x(){var t,n,r,o=i();if(g(o))return O(o);p=setTimeout(x,(t=o-h,n=o-d,r=e-t,v?u(r,l-n):r))}function O(t){return(p=void 0,m&&c)?b(t):(c=s=void 0,f)}function w(){var t,n=i(),r=g(n);if(c=arguments,s=this,h=n,r){if(void 0===p)return d=t=h,p=setTimeout(x,e),y?b(t):f;if(v)return clearTimeout(p),p=setTimeout(x,e),b(h)}return void 0===p&&(p=setTimeout(x,e)),f}return e=o(e)||0,r(n)&&(y=!!n.leading,l=(v="maxWait"in n)?a(o(n.maxWait)||0,e):l,m="trailing"in n?!!n.trailing:m),w.cancel=function(){void 0!==p&&clearTimeout(p),d=0,c=h=s=p=void 0},w.flush=function(){return void 0===p?f:O(i())},w}},31840:function(t){"use strict";t.exports=function(t,e){return t===e||t!=t&&e!=e}},8282:function(t,e,n){"use strict";var r=n(30705),i=n(70326),o=n(3720),a=n(80727),u=n(41161);t.exports=function(t,e,n){var c=a(t)?r:i;return n&&u(t,e,n)&&(e=void 0),c(t,o(e,3))}},21417:function(t,e,n){"use strict";var r=n(35891)(n(60713));t.exports=r},60713:function(t,e,n){"use strict";var r=n(59691),i=n(3720),o=n(82258),a=Math.max;t.exports=function(t,e,n){var u=null==t?0:t.length;if(!u)return -1;var c=null==n?0:o(n);return c<0&&(c=a(u+c,0)),r(t,i(e,3),c)}},12357:function(t,e,n){"use strict";var r=n(45584),i=n(52377);t.exports=function(t,e){return r(i(t,e),1)}},3573:function(t,e,n){"use strict";var r=n(46519);t.exports=function(t,e,n){var i=null==t?void 0:r(t,e);return void 0===i?n:i}},45996:function(t,e,n){"use strict";var r=n(53987),i=n(15978);t.exports=function(t,e){return null!=t&&i(t,e,r)}},89538:function(t){"use strict";t.exports=function(t){return t}},72817:function(t,e,n){"use strict";var r=n(652),i=n(26324),o=Object.prototype,a=o.hasOwnProperty,u=o.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(t){return i(t)&&a.call(t,"callee")&&!u.call(t,"callee")};t.exports=c},80727:function(t){"use strict";var e=Array.isArray;t.exports=e},23717:function(t,e,n){"use strict";var r=n(44966),i=n(86764);t.exports=function(t){return null!=t&&i(t.length)&&!r(t)}},78934:function(t,e,n){"use strict";var r=n(11294),i=n(26324);t.exports=function(t){return!0===t||!1===t||i(t)&&"[object Boolean]"==r(t)}},17301:function(t,e,n){"use strict";t=n.nmd(t);var r=n(86226),i=n(15064),o=e&&!e.nodeType&&e,a=o&&t&&!t.nodeType&&t,u=a&&a.exports===o?r.Buffer:void 0,c=u?u.isBuffer:void 0;t.exports=c||i},38463:function(t,e,n){"use strict";var r=n(6008);t.exports=function(t,e){return r(t,e)}},44966:function(t,e,n){"use strict";var r=n(11294),i=n(13593);t.exports=function(t){if(!i(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},86764:function(t){"use strict";
1t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},56011:function(t,e,n){"use strict";var r=n(31886);t.exports=function(t){return r(t)&&t!=+t}},36064:function(t){"use strict";t.exports=function(t){return null==t}},31886:function(t,e,n){"use strict";var r=n(11294),i=n(26324);t.exports=function(t){return"number"==typeof t||i(t)&&"[object Number]"==r(t)}},13593:function(t){"use strict";t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},26324:function(t){"use strict";t.exports=function(t){return null!=t&&"object"==typeof t}},46695:function(t,e,n){"use strict";var r=n(11294),i=n(70874),o=n(26324),a=Object.prototype,u=Function.prototype.toString,c=a.hasOwnProperty,s=u.call(Object);t.exports=function(t){if(!o(t)||"[object Object]"!=r(t))return!1;var e=i(t);if(null===e)return!0;var n=c.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==s}},42038:function(t,e,n){"use strict";var r=n(11294),i=n(80727),o=n(26324);t.exports=function(t){return"string"==typeof t||!i(t)&&o(t)&&"[object String]"==r(t)}},98847:function(t,e,n){"use strict";var r=n(11294),i=n(26324);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==r(t)}},39224:function(t,e,n){"use strict";var r=n(21081),i=n(74362),o=n(39491),a=o&&o.isTypedArray,u=a?i(a):r;t.exports=u},96276:function(t,e,n){"use strict";var r=n(69601),i=n(18314),o=n(23717);t.exports=function(t){return o(t)?r(t):i(t)}},81544:function(t){"use strict";t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},52377:function(t,e,n){"use strict";var r=n(60285),i=n(3720),o=n(13084),a=n(80727);t.exports=function(t,e){return(a(t)?r:o)(t,i(e,3))}},48014:function(t,e,n){"use strict";var r=n(28349),i=n(49773),o=n(3720);t.exports=function(t,e){var n={};return e=o(e,3),i(t,function(t,i,o){r(n,i,e(t,i,o))}),n}},73741:function(t,e,n){"use strict";var r=n(10641),i=n(87377),o=n(89538);t.exports=function(t){return t&&t.length?r(t,o,i):void 0}},94233:function(t,e,n){"use strict";var r=n(56327);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r),n}i.Cache=r,t.exports=i},57212:function(t,e,n){"use strict";var r=n(10641),i=n(28901),o=n(89538);t.exports=function(t){return t&&t.length?r(t,o,i):void 0}},46787:function(t){"use strict";t.exports=function(){}},63382:function(t,e,n){"use strict";var r=n(86226);t.exports=function(){return r.Date.now()}},29801:function(t,e,n){"use strict";var r=n(3397),i=n(71539),o=n(35119),a=n(31265);t.exports=function(t){return o(t)?r(a(t)):i(t)}},37152:function(t,e,n){"use strict";var r=n(368)();t.exports=r},77763:function(t,e,n){"use strict";var r=n(43863),i=n(3720),o=n(29513),a=n(80727),u=n(41161);t.exports=function(t,e,n){var c=a(t)?r:o;return n&&u(t,e,n)&&(e=void 0),c(t,i(e,3))}},62355:function(t,e,n){"use strict";var r=n(45584),i=n(88394),o=n(98963),a=n(41161),u=o(function(t,e){if(null==t)return[];var n=e.length;return n>1&&a(t,e[0],e[1])?e=[]:n>2&&a(e[0],e[1],e[2])&&(e=[e[0]]),i(t,r(e,1),[])});t.exports=u},72904:function(t){"use strict";t.exports=function(){return[]}},15064:function(t){"use strict";t.exports=function(){return!1}},10209:function(t,e,n){"use strict";var r=n(40938),i=n(13593);t.exports=function(t,e,n){var o=!0,a=!0;if("function"!=typeof t)throw TypeError("Expected a function");return i(n)&&(o="leading"in n?!!n.leading:o,a="trailing"in n?!!n.trailing:a),r(t,e,{leading:o,maxWait:e,trailing:a})}},54826:function(t,e,n){"use strict";var r=n(65041),i=1/0;t.exports=function(t){return t?(t=r(t))===i||t===-i?(t<0?-1:1)*17976931348623157e292:t==t?t:0:0===t?t:0}},82258:function(t,e,n){"use strict";var r=n(54826);t.exports=function(t){var e=r(t),n=e%1;return e==e?n?e-n:e:0}},65041:function(t,e,n){"use strict";var r=n(56568),i=n(13593),o=n(98847),a=0/0,u=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return a;
1if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=c.test(t);return n||s.test(t)?l(t.slice(2),n?2:8):u.test(t)?a:+t}},69396:function(t,e,n){"use strict";var r=n(3960);t.exports=function(t){return null==t?"":r(t)}},46818:function(t,e,n){"use strict";var r=n(3720),i=n(24189);t.exports=function(t,e){return t&&t.length?i(t,r(e,2)):[]}},18773:function(t,e,n){"use strict";var r=n(33753)("toUpperCase");t.exports=r},96642:function(t,e,n){"use strict";n.d(e,{ZP:function(){return tS}});var r=n(67294),i=n(45697),o=n.n(i);let{getOwnPropertyNames:a,getOwnPropertySymbols:u}=Object,{hasOwnProperty:c}=Object.prototype;function s(t,e){return function(n,r,i){return t(n,r,i)&&e(n,r,i)}}function l(t){return function(e,n,r){if(!e||!n||"object"!=typeof e||"object"!=typeof n)return t(e,n,r);let{cache:i}=r,o=i.get(e),a=i.get(n);if(o&&a)return o===n&&a===e;i.set(e,n),i.set(n,e);let u=t(e,n,r);return i.delete(e),i.delete(n),u}}function f(t){return a(t).concat(u(t))}let p=Object.hasOwn||((t,e)=>c.call(t,e));function h(t,e){return t===e||!t&&!e&&t!=t&&e!=e}let{getOwnPropertyDescriptor:d,keys:y}=Object;function v(t,e){return t.byteLength===e.byteLength&&k(new Uint8Array(t),new Uint8Array(e))}function m(t,e,n){let r=t.length;if(e.length!==r)return!1;for(;r-- >0;)if(!n.equals(t[r],e[r],r,r,t,e,n))return!1;return!0}function b(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 g(t,e){return h(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 O(t,e){return t===e}function w(t,e,n){let r,i;let o=t.size;if(o!==e.size)return!1;if(!o)return!0;let a=Array(o),u=t.entries(),c=0;for(;(r=u.next())&&!r.done;){let o=e.entries(),u=!1,s=0;for(;(i=o.next())&&!i.done;){if(a[s]){s++;continue}let o=r.value,l=i.value;if(n.equals(o[0],l[0],c,s,t,e,n)&&n.equals(o[1],l[1],o[0],l[0],t,e,n)){u=a[s]=!0;break}s++}if(!u)return!1;c++}return!0}function j(t,e,n){let r=y(t),i=r.length;if(y(e).length!==i)return!1;for(;i-- >0;)if(!_(t,e,n,r[i]))return!1;return!0}function S(t,e,n){let r,i,o;let a=f(t),u=a.length;if(f(e).length!==u)return!1;for(;u-- >0;)if(!_(t,e,n,r=a[u])||(i=d(t,r),o=d(e,r),(i||o)&&(!i||!o||i.configurable!==o.configurable||i.enumerable!==o.enumerable||i.writable!==o.writable)))return!1;return!0}function A(t,e){return h(t.valueOf(),e.valueOf())}function P(t,e){return t.source===e.source&&t.flags===e.flags}function E(t,e,n){let r,i;let o=t.size;if(o!==e.size)return!1;if(!o)return!0;let a=Array(o),u=t.values();for(;(r=u.next())&&!r.done;){let o=e.values(),u=!1,c=0;for(;(i=o.next())&&!i.done;){if(!a[c]&&n.equals(r.value,i.value,r.value,i.value,t,e,n)){u=a[c]=!0;break}c++}if(!u)return!1}return!0}function k(t,e){let n=t.byteLength;if(e.byteLength!==n||t.byteOffset!==e.byteOffset)return!1;for(;n-- >0;)if(t[n]!==e[n])return!1;return!0}function T(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,e,n,r){return("_owner"===r||"__o"===r||"__v"===r)&&(!!t.$$typeof||!!e.$$typeof)||p(e,r)&&n.equals(t[r],e[r],r,r,t,e,n)}let M={"[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:n,createState:r,strict:i=!1}=t,o=function({areArrayBuffersEqual:t,areArraysEqual:e,areDataViewsEqual:n,areDatesEqual:r,areErrorsEqual:i,areFunctionsEqual:o,areMapsEqual:a,areNumbersEqual:u,areObjectsEqual:c,arePrimitiveWrappersEqual:s,areRegExpsEqual:l,areSetsEqual:f,areTypedArraysEqual:p,areUrlsEqual:h,unknownTagComparators:d}){return function(y,v,m){if(y===v)return!0;
1if(null==y||null==v)return!1;let b=typeof y;if(b!==typeof v)return!1;if("object"!==b)return"number"===b?u(y,v,m):"function"===b&&o(y,v,m);let g=y.constructor;if(g!==v.constructor)return!1;if(g===Object)return c(y,v,m);if(Array.isArray(y))return e(y,v,m);if(g===Date)return r(y,v,m);if(g===RegExp)return l(y,v,m);if(g===Map)return a(y,v,m);if(g===Set)return f(y,v,m);let x=C.call(y);if("[object Date]"===x)return r(y,v,m);if("[object RegExp]"===x)return l(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 h(y,v,m);if("[object Error]"===x)return i(y,v,m);if("[object Arguments]"===x)return c(y,v,m);if(M[x])return p(y,v,m);if("[object ArrayBuffer]"===x)return t(y,v,m);if("[object DataView]"===x)return n(y,v,m);if("[object Boolean]"===x||"[object Number]"===x||"[object String]"===x)return s(y,v,m);if(d){let t=d[x];if(!t){let e=null!=y?y[Symbol.toStringTag]:void 0;e&&(t=d[e])}if(t)return t(y,v,m)}return!1}}(function({circular:t,createCustomConfig:e,strict:n}){let r={areArrayBuffersEqual:v,areArraysEqual:n?S:m,areDataViewsEqual:b,areDatesEqual:g,areErrorsEqual:x,areFunctionsEqual:O,areMapsEqual:n?s(w,S):w,areNumbersEqual:h,areObjectsEqual:n?S:j,arePrimitiveWrappersEqual:A,areRegExpsEqual:P,areSetsEqual:n?s(E,S):E,areTypedArraysEqual:n?s(k,S):k,areUrlsEqual:T,unknownTagComparators:void 0};if(e&&(r=Object.assign({},r,e(r))),t){let t=l(r.areArraysEqual),e=l(r.areMapsEqual),n=l(r.areObjectsEqual),i=l(r.areSetsEqual);r=Object.assign({},r,{areArraysEqual:t,areMapsEqual:e,areObjectsEqual:n,areSetsEqual:i})}return r}(t)),a=n?n(o):function(t,e,n,r,i,a,u){return o(t,e,u)};return function({circular:t,comparator:e,createState:n,equals:r,strict:i}){if(n)return function(o,a){let{cache:u=t?new WeakMap:void 0,meta:c}=n();return e(o,a,{cache:u,equals:r,meta:c,strict:i})};if(t)return function(t,n){return e(t,n,{cache:new WeakMap,equals:r,meta:void 0,strict:i})};let o={cache:void 0,equals:r,meta:void 0,strict:i};return function(t,n){return e(t,n,o)}}({circular:e,comparator:o,createState:r,equals:a,strict:i})}function N(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=-1;requestAnimationFrame(function r(i){if(n<0&&(n=i),i-n>e)t(i),n=-1;else{var o;o=r,"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(o)}})}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(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}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 z(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function U(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?z(Object(n),!0).forEach(function(e){F(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function F(t,e,n){var r;return(r=function(t,e){if("object"!==R(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==R(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"===R(r)?r:String(r))in t)?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}I({strict:!0}),I({circular:!0}),I({circular:!0,strict:!0}),I({createInternalComparator:()=>h}),I({strict:!0,createInternalComparator:()=>h}),I({circular:!0,createInternalComparator:()=>h}),I({circular:!0,createInternalComparator:()=>
1h,strict:!0});var Z=function(t){return t},Y=function(t,e){return Object.keys(e).reduce(function(n,r){return U(U({},n),{},F({},r,t(r,e[r])))},{})},$=function(t,e,n){return t.map(function(t){return"".concat(t.replace(/([A-Z])/g,function(t){return"-".concat(t.toLowerCase())})," ").concat(e,"ms ").concat(n)}).join(",")},W=function(t,e,n,r,i,o,a,u){};function X(t,e){if(t){if("string"==typeof t)return q(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return q(t,e)}}function q(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var H=function(t,e){return[0,3*t,3*e-6*t,3*t-3*e+1]},G=function(t,e){return t.map(function(t,n){return t*Math.pow(e,n)}).reduce(function(t,e){return t+e})},V=function(t,e){return function(n){return G(H(t,e),n)}},K=function(){for(var t,e,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];var o=r[0],a=r[1],u=r[2],c=r[3];if(1===r.length)switch(r[0]){case"linear":o=0,a=0,u=1,c=1;break;case"ease":o=.25,a=.1,u=.25,c=1;break;case"ease-in":o=.42,a=0,u=1,c=1;break;case"ease-out":o=.42,a=0,u=.58,c=1;break;case"ease-in-out":o=0,a=0,u=.58,c=1;break;default:var s=r[0].split("(");if("cubic-bezier"===s[0]&&4===s[1].split(")")[0].split(",").length){var l,f=function(t){if(Array.isArray(t))return t}(l=s[1].split(")")[0].split(",").map(function(t){return parseFloat(t)}))||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,u=[],c=!0,s=!1;try{for(o=(n=n.call(t)).next;!(c=(r=o.call(n)).done)&&(u.push(r.value),4!==u.length);c=!0);}catch(t){s=!0,i=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw i}}return u}}(l,4)||X(l,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.")}();o=f[0],a=f[1],u=f[2],c=f[3]}else W(!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",r)}W([o,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",r);var p=V(o,u),h=V(a,c),d=(t=o,e=u,function(n){var r;return G([].concat(function(t){if(Array.isArray(t))return q(t)}(r=H(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)}(r)||X(r)||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]),n)}),y=function(t){for(var e=t>1?1:t,n=e,r=0;r<8;++r){var i,o=p(n)-e,a=d(n);if(1e-4>Math.abs(o-e)||a<1e-4)break;n=(i=n-o/a)>1?1:i<0?0:i}return h(n)};return y.isStepper=!1,y},Q=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.stiff,n=void 0===e?100:e,r=t.damping,i=void 0===r?8:r,o=t.dt,a=void 0===o?17:o,u=function(t,e,r){var o=r+(-(t-e)*n-r*i)*a/1e3,u=r*a/1e3+t;return 1e-4>Math.abs(u-e)&&1e-4>Math.abs(o)?[e,0]:[u,o]};return u.isStepper=!0,u.dt=a,u},J=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e[0];if("string"==typeof r)switch(r){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return K(r);case"spring":return Q();default:if("cubic-bezier"===r.split("(")[0])return K(r);W(!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 r?r:(W(!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)||to(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 tn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function tr(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?tn(Object(n),!0).forEach(function(e){ti(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):tn(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function ti(t,e,n){var r;return(r=function(t,e){if("object"!==tt(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==tt(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"===tt(r)?r:String(r))in t)?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function to(t,e){if(t){if("string"==typeof t)return ta(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ta(t,e)}}function ta(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var tu=function(t,e,n){return t+(e-t)*n},tc=function(t){return t.from!==t.to},ts=function t(e,n,r){var i=Y(function(t,n){if(tc(n)){var r,i=function(t){if(Array.isArray(t))return t}(r=e(n.from,n.to,n.velocity))||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,u=[],c=!0,s=!1;try{for(o=(n=n.call(t)).next;!(c=(r=o.call(n)).done)&&(u.push(r.value),2!==u.length);c=!0);}catch(t){s=!0,i=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw i}}return u}}(r,2)||to(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.")}(),o=i[0],a=i[1];return tr(tr({},n),{},{from:o,velocity:a})}return n},n);return r<1?Y(function(t,e){return tc(e)?tr(tr({},e),{},{velocity:tu(e.velocity,i[t].velocity,r),from:tu(e.from,i[t].from,r)}):e},n):t(e,i,r-1)},tl=function(t,e,n,r,i){var o,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(n,r){return tr(tr({},n),{},ti({},r,[t[r],e[r]]))},{}),s=u.reduce(function(n,r){return tr(tr({},n),{},ti({},r,{from:t[r],velocity:0,to:e[r]}))},{}),l=-1,f=function(){return null};return f=n.isStepper?function(r){o||(o=r);var a=(r-o)/n.dt;s=ts(n,s,a),i(tr(tr(tr({},t),e),Y(function(t,e){return e.from},s))),o=r,Object.values(s).filter(tc).length&&(l=requestAnimationFrame(f))}:function(o){a||(a=o);var u=(o-a)/r,s=Y(function(t,e){return tu.apply(void 0,te(e).concat([n(u)]))},c);if(i(tr(tr(tr({},t),e),s)),u<1)l=requestAnimationFrame(f);else{var p=Y(function(t,e){return tu.apply(void 0,te(e).concat([n(1)]))},c);i(tr(tr(tr({},t),e),p))}},function(){return requestAnimationFrame(f),function(){cancelAnimationFrame(l)}}};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 th(t){return function(t){if(Array.isArray(t))return td(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 td(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return td(t,void 0)}}(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 td(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function ty(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function tv(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?ty(Object(n),!0).forEach(function(e){tm(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ty(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function tm(t,e,n){return(e=tb(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tb(t){var e=function(t,e){if("object"!==tf(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==tf(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===tf(e)?e:String(e)}function tg(t,e){return(tg=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 tO(t)}function tO(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tw(t){return(tw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var tj=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&tg(t,e)}(o,t);var e,n,i=(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,n=tw(o);return t=e?Reflect.construct(n,arguments,tw(this).constructor):n.apply(this,arguments),tx(this,t)});function o(t,e){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,o);var n,r=(n=i.call(this,t,e)).props,a=r.isActive,u=r.attributeName,c=r.from,s=r.to,l=r.steps,f=r.children,p=r.duration;if(n.handleStyleChange=n.handleStyleChange.bind(tO(n)),n.changeStyle=n.changeStyle.bind(tO(n)),!a||p<=0)return n.state={style:{}},"function"==typeof f&&(n.state={style:s}),tx(n);if(l&&l.length)n.state={style:l[0].style};else if(c){if("function"==typeof f)return n.state={style:c},tx(n);n.state={style:u?tm({},u,c):c}}else n.state={style:{}};return n}return n=[{key:"componentDidMount",value:function(){var t=this.props,e=t.isActive,n=t.canBegin;this.mounted=!0,e&&n&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.isActive,r=e.canBegin,i=e.attributeName,o=e.shouldReAnimate,a=e.to,u=e.from,c=this.state.style;if(r){if(!n){var s={style:i?tm({},i,a):a};this.state&&c&&(i&&c[i]!==a||!i&&c!==a)&&this.setState(s);return}if(!D(t.to,a)||!t.canBegin||!t.isActive){var l=!t.canBegin||!t.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var f=l||o?u:t.to;if(this.state&&c){var p={style:i?tm({},i,f):f};(i&&c[i]!==f||!i&&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,n=t.from,r=t.to,i=t.duration,o=t.easing,a=t.begin,u=t.onAnimationEnd,c=t.onAnimationStart,s=tl(n,r,J(o),i,this.changeStyle);this.manager.start([c,a,function(){e.stopJSAnimation=s()},i,u])}},{key:"runStepAnimation",value:function(t){var e=this,n=t.steps,r=t.begin,i=t.onAnimationStart,o=n[0],a=o.style,u=o.duration;return this.manager.start([i].concat(th(n.reduce(function(t,r,i){if(0===i)return t;var o=r.duration,a=r.easing,u=void 0===a?"ease":a,c=r.style,s=r.properties,l=r.onAnimationEnd,f=i>0?n[i-1]:r,p=s||Object.keys(c);if("function"==typeof u||"spring"===u)return[].concat(th(t),[e.runJSAnimation.bind(e,{from:f.style,to:c,duration:o,easing:u}),o]);var h=$(p,o,u),d=tv(tv(tv({},f.style),c),{},{transition:h});return[].concat(th(t),[d,o,l]).filter(Z)},[a,Math.max(void 0===u?0:u,r)])),[t.onAnimationEnd]))}},{key:"runAnimation",value:function(t){if(!this.manager){var e,n,r;this.manager=(e=function(){return null}
1,n=!1,r=function t(r){if(!n){if(Array.isArray(r)){if(!r.length)return;var i=function(t){if(Array.isArray(t))return t}(r)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(r)||function(t,e){if(t){if("string"==typeof t)return L(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return L(t,void 0)}}(r)||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=i[0],a=i.slice(1);if("number"==typeof o){N(t.bind(null,a),o);return}t(o),N(t.bind(null,a));return}"object"===B(r)&&e(r),"function"==typeof r&&r()}},{stop:function(){n=!0},start:function(t){n=!1,r(t)},subscribe:function(t){return e=t,function(){e=function(){return null}}}})}var i=t.begin,o=t.duration,a=t.attributeName,u=t.to,c=t.easing,s=t.onAnimationStart,l=t.onAnimationEnd,f=t.steps,p=t.children,h=this.manager;if(this.unSubscribe=h.subscribe(this.handleStyleChange),"function"==typeof c||"function"==typeof p||"spring"===c){this.runJSAnimation(t);return}if(f.length>1){this.runStepAnimation(t);return}var d=a?tm({},a,u):u,y=$(Object.keys(d),o,c);h.start([s,i,tv(tv({},d),{},{transition:y}),o,l])}},{key:"render",value:function(){var t=this.props,e=t.children,n=(t.begin,t.duration),i=(t.attributeName,t.easing,t.isActive),o=(t.steps,t.from,t.to,t.canBegin,t.onAnimationEnd,t.shouldReAnimate,t.onAnimationReStart,function(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}(t,tp)),a=r.Children.count(e),u=this.state.style;if("function"==typeof e)return e(u);if(!i||0===a||n<=0)return e;var c=function(t){var e=t.props,n=e.style,i=e.className;return(0,r.cloneElement)(t,tv(tv({},o),{},{style:tv(tv({},void 0===n?{}:n),u),className:i}))};return 1===a?c(r.Children.only(e)):r.createElement("div",null,r.Children.map(e,function(t){return c(t)}))}}],function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,tb(r.key),r)}}(o.prototype,n),Object.defineProperty(o,"prototype",{writable:!1}),o}(r.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:o().oneOfType([o().object,o().string]),to:o().oneOfType([o().object,o().string]),attributeName:o().string,duration:o().number,begin:o().number,easing:o().oneOfType([o().string,o().func]),steps:o().arrayOf(o().shape({duration:o().number.isRequired,style:o().object.isRequired,easing:o().oneOfType([o().oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),o().func]),properties:o().arrayOf("string"),onAnimationEnd:o().func})),children:o().oneOfType([o().node,o().func]),isActive:o().bool,canBegin:o().bool,onAnimationEnd:o().func,shouldReAnimate:o().bool,onAnimationStart:o().func,onAnimationReStart:o().func};var tS=tj},38776:function(t,e,n){"use strict";function r(t,e){if(!t)throw Error("Invariant failed")}n.d(e,{Z:function(){return r}})},95409:function(t,e,n){"use strict";function r(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}n.d(e,{Z:function(){return r}}),Array.prototype.slice},51406:function(t,e,n){"use strict";function r(t){return function(){return t}}n.d(e,{Z:function(){return r}})},87135:function(t,e,n){"use strict";n.d(e,{d:function(){return c}});let r=Math.PI,i=2*r,o=i-1e-6;function a(t){this._+=t[0];for(let e=1,n=t.length;e<n;++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 n=10**e;return function(t){this._+=t[0];for(let e=1,r=t.length;e<r;++e)this._+=Math.round(arguments[e]*n)/n+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,n,r){this._append`Q${+t},${+e},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(t,e,n,r,i,o){this._append`C${+t},${+e},${+n},${+r},${this._x1=+i},${this._y1=+o}`}arcTo(t,e,n,i,o){if(t=+t,e=+e,n=+n,i=+i,(o=+o)<0)throw Error(`negative radius: ${o}`);let a=this._x1,u=this._y1,c=n-t,s=i-e,l=a-t,f=u-e,p=l*l+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-s*l)>1e-6&&o){let h=n-a,d=i-u,y=c*c+s*s,v=Math.sqrt(y),m=Math.sqrt(p),b=o*Math.tan((r-Math.acos((y+p-(h*h+d*d))/(2*v*m)))/2),g=b/m,x=b/v;Math.abs(g-1)>1e-6&&this._append`L${t+g*l},${e+g*f}`,this._append`A${o},${o},0,0,${+(f*h>l*d)},${this._x1=t+x*c},${this._y1=e+x*s}`}else this._append`L${this._x1=t},${this._y1=e}`}}arc(t,e,n,a,u,c){if(t=+t,e=+e,c=!!c,(n=+n)<0)throw Error(`negative radius: ${n}`);let s=n*Math.cos(a),l=n*Math.sin(a),f=t+s,p=e+l,h=1^c,d=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}`,n&&(d<0&&(d=d%i+i),d>
1o?this._append`A${n},${n},0,1,${h},${t-s},${e-l}A${n},${n},0,1,${h},${this._x1=f},${this._y1=p}`:d>1e-6&&this._append`A${n},${n},0,${+(d>=r)},${h},${this._x1=t+n*Math.cos(u)},${this._y1=e+n*Math.sin(u)}`)}rect(t,e,n,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}}function c(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(null==n)e=null;else{let t=Math.floor(n);if(!(t>=0))throw RangeError(`invalid digits: ${n}`);e=t}return t},()=>new u(e)}u.prototype}}]);

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.