1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="60062dfc-3888-6d3d-2bc2-43f8e9ddcb9b")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,62990,475058,t=>{"use strict";var e=t.i(500075);Array.prototype.slice,t.s(["default",0,function(t){return(void 0===t?"undefined":(0,e._)(t))==="object"&&"length"in t?t:Array.from(t)}],62990),t.s(["default",0,function(t){return function(){return t}}],475058)},48114,t=>{"use strict";function e(t){this._context=t}e.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},t.s(["default",0,function(t){return new e(t)}])},785833,999173,910118,593866,600104,872200,722914,821641,851262,363823,992536,226619,381142,700357,163018,t=>{"use strict";var e=t.i(62990),r=t.i(475058),n=t.i(48114),i=t.i(216888);function o(t){return t[0]}function a(t){return t[1]}function u(t,u){var c=(0,r.default)(!0),l=null,s=n.default,f=null,p=(0,i.withPath)(d);function d(r){var n,i,o,a=(r=(0,e.default)(r)).length,d=!1;for(null==l&&(f=s(o=p())),n=0;n<=a;++n)!(n<a&&c(i=r[n],n,r))===d&&((d=!d)?f.lineStart():f.lineEnd()),d&&f.point(+t(i,n,r),+u(i,n,r));if(o)return f=null,o+""||null}return t="function"==typeof t?t:void 0===t?o:(0,r.default)(t),u="function"==typeof u?u:void 0===u?a:(0,r.default)(u),d.x=function(e){return arguments.length?(t="function"==typeof e?e:(0,r.default)(+e),d):t},d.y=function(t){return arguments.length?(u="function"==typeof t?t:(0,r.default)(+t),d):u},d.defined=function(t){return arguments.length?(c="function"==typeof t?t:(0,r.default)(!!t),d):c},d.curve=function(t){return arguments.length?(s=t,null!=l&&(f=s(l)),d):s},d.context=function(t){return arguments.length?(null==t?l=f=null:f=s(l=t),d):l},d}function c(){}function l(t,e,r){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+r)/6)}function s(t){this._context=t}function f(t){this._context=t}function p(t){this._context=t}t.s(["line",0,u],785833),t.s(["area",0,function(t,c,l){var s=null,f=(0,r.default)(!0),p=null,d=n.default,h=null,y=(0,i.withPath)(v);function v(r){var n,i,o,a,u,v=(r=(0,e.default)(r)).length,m=!1,b=Array(v),g=Array(v);for(null==p&&(h=d(u=y())),n=0;n<=v;++n){if(!(n<v&&f(a=r[n],n,r))===m)if(m=!m)i=n,h.areaStart(),h.lineStart();else{for(h.lineEnd(),h.lineStart(),o=n-1;o>=i;--o)h.point(b[o],g[o]);h.lineEnd(),h.areaEnd()}m&&(b[n]=+t(a,n,r),g[n]=+c(a,n,r),h.point(s?+s(a,n,r):b[n],l?+l(a,n,r):g[n]))}if(u)return h=null,u+""||null}function m(){return u().defined(f).curve(d).context(p)}return t="function"==typeof t?t:void 0===t?o:(0,r.default)(+t),c="function"==typeof c?c:void 0===c?(0,r.default)(0):(0,r.default)(+c),l="function"==typeof l?l:void 0===l?a:(0,r.default)(+l),v.x=function(e){return arguments.length?(t="function"==typeof e?e:(0,r.default)(+e),s=null,v):t},v.x0=function(e){return arguments.length?(t="function"==typeof e?e:(0,r.default)(+e),v):t},v.x1=function(t){return arguments.length?(s=null==t?null:"function"==typeof t?t:(0,r.default)(+t),v):s},v.y=function(t){return arguments.length?(c="function"==typeof t?t:(0,r.default)(+t),l=null,v):c},v.y0=function(t){return arguments.length?(c="function"==typeof t?t:(0,r.default)(+t),v):c},v.y1=function(t){return arguments.length?(l=null==t?null:"function"==typeof t?t:(0,r.default)(+t),v):l},v.lineX0=v.lineY0=function(){return m().x(t).y(c)},v.lineY1=function(){return m().x(t).y(l)},v.lineX1=function(){return m().x(s).y(c)},v.defined=function(t){return arguments.length?(f="function"==typeof t?t:(0,r.default)(!!t),v):f},v.curve=function(t){return arguments.length?(d=t,null!=p&&(h=d(p)),v):d},v.context=function(t){return arguments.length?(null==t?p=h=null:h=d(p=t),v):p},v}],999173),s.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:l(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:l(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},f.prototype={areaStart:c,areaEnd:c,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:l(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},t.s(["curveBasisClosed",0,function(t){return new f(t)}],910118),p.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+t)/6,n=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:l(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},t.s(["curveBasisOpen",0,function(t){return new p(t)}],593866),t.s(["curveBasis",0,function(t){return new s(t)}],600104);var d=t.i(292955),h=t.i(780646);t.i(540316);var y=function(){function t(e,r){(0,d._)(this,t),this._context=e,this._x=r}return(0,h._)(t,[{key:"areaStart",value:function(){this._line=0}},{key:"areaEnd",value:function(){this._line=NaN}},{key:"lineStart",value:function(){this._point=0}},{key:"lineEnd",value:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}},{key:"point",value:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._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}}]),t}();function v(t){this._context=t}t.s(["curveBumpX",0,function(t){return new y(t,!0)}],872200),t.s(["curveBumpY",0,function(t){return new y(t,!1)}],722914),v.prototype={areaStart:c,areaEnd:c,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t*=1,e*=1,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},t.s(["curveLinearClosed",0,function(t){return new v(t)}],821641);function m(t,e,r){var n=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(n||i<0&&-0),a=(r-t._y1)/(i||n<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*n)/(n+i)))||0}function b(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function g(t,e,r){var n=t._x0,i=t._y0,o=t._x1,a=t._y1,u=(o-n)/3;t._context.bezierCurveTo(n+u,i+u*e,o-u,a-u*r,o,a)}function x(t){this._context=t}function O(t){this._context=new w(t)}function w(t){this._context=t}function S(t){this._context=t}function j(t){var e,r,n=t.length-1,i=Array(n),o=Array(n),a=Array(n);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e<n-1;++e)i[e]=1,o[e]=4,a[e]=4*t[e]+2*t[e+1];for(i[n-1]=2,o[n-1]=7,a[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)r=i[e]/o[e-1],o[e]-=r,a[e]-=r*a[e-1];for(i[n-1]=a[n-1]/o[n-1],e=n-2;e>=0;--e)i[e]=(a[e]-i[e+1])/o[e];for(o[n-1]=(t[n]+i[n-1])/2,e=0;e<n-1;++e)o[e]=2*t[e+1]-i[e+1];return[i,o]}function P(t,e){this._context=t,this._t=e}t.s(["curveLinear",()=>n.default],851262),x.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:g(this,this._t0,b(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var r=NaN;if(e*=1,(t*=1)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,g(this,b(this,r=m(this,t,e)),r);break;default:g(this,this._t0,r=m(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}}},(O.prototype=Object.create(x.prototype)).point=function(t,e){x.prototype.point.call(this,e,t)},w.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,r,n,i,o){this._context.bezierCurveTo(e,t,n,r,o,i)}},t.s(["curveMonotoneX",0,function(t){return new x(t)}],363823),t.s(["curveMonotoneY",0,function(t){return new O(t)}],992536),S.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,r=t.length;if(r)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===r)this._context.lineTo(t[1],e[1]);else for(var n=j(t),i=j(e),o=0,a=1;a<r;++o,++a)this._context.bezierCurveTo(n[0][o],i[0][o],n[1][o],i[1][o],t[a],e[a]);(this._line||0!==this._line&&1===r)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},t.s(["curveNatural",0,function(t){return new S(t)}],226619),P.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}}this._x=t,this._y=e}},t.s(["curveStep",0,function(t){return new P(t,.5)}],381142),t.s(["curveStepAfter",0,function(t){return new P(t,1)}],700357),t.s(["curveStepBefore",0,function(t){return new P(t,0)}],163018)},216888,t=>{"use strict";var e=t.i(292955),r=t.i(780646),n=t.i(892510);function i(){var t=(0,n._)(["M",",",""]);return i=function(){return t},t}function o(){var t=(0,n._)(["Z"]);return o=function(){return t},t}function a(){var t=(0,n._)(["L",",",""]);return a=function(){return t},t}function u(){var t=(0,n._)(["Q",",",",",",",""]);return u=function(){return t},t}function c(){var t=(0,n._)(["C",",",",",",",",",",",""]);return c=function(){return t},t}function l(){var t=(0,n._)(["M",",",""]);return l=function(){return t},t}function s(){var t=(0,n._)(["L",",",""]);return s=function(){return t},t}function f(){var t=(0,n._)(["L",",",""]);return f=function(){return t},t}function p(){var t=(0,n._)(["A",",",",0,0,",",",",",""]);return p=function(){return t},t}function d(){var t=(0,n._)(["M",",",""]);return d=function(){return t},t}function h(){var t=(0,n._)(["L",",",""]);return h=function(){return t},t}function y(){var t=(0,n._)(["A",",",",0,1,",",",",","A",",",",0,1,",",",",",""]);return y=function(){return t},t}function v(){var t=(0,n._)(["A",",",",0,",",",",",",",""]);return v=function(){return t},t}function m(){var t=(0,n._)(["M",",","h","v","h","Z"]);return m=function(){return t},t}var b=Math.PI,g=2*b,x=g-1e-6;function O(t){this._+=t[0];for(var e=1,r=t.length;e<r;++e)this._+=arguments[e]+t[e]}var w=function(){function t(r){(0,e._)(this,t),this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==r?O:function(t){var e=Math.floor(t);if(!(e>=0))throw Error("invalid digits: ".concat(t));if(e>15)return O;var r=Math.pow(10,e);return function(t){this._+=t[0];for(var e=1,n=t.length;e<n;++e)this._+=Math.round(arguments[e]*r)/r+t[e]}}(r)}return(0,r._)(t,[{key:"moveTo",value:function(t,e){this._append(i(),this._x0=this._x1=+t,this._y0=this._y1=+e)}},{key:"closePath",value:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append(o()))}},{key:"lineTo",value:function(t,e){this._append(a(),this._x1=+t,this._y1=+e)}},{key:"quadraticCurveTo",value:function(t,e,r,n){this._append(u(),+t,+e,this._x1=+r,this._y1=+n)}},{key:"bezierCurveTo",value:function(t,e,r,n,i,o){this._append(c(),+t,+e,+r,+n,this._x1=+i,this._y1=+o)}},{key:"arcTo",value:function(t,e,r,n,i){if(t*=1,e*=1,r*=1,n*=1,(i*=1)<0)throw Error("negative radius: ".concat(i));var o=this._x1,a=this._y1,u=r-t,c=n-e,d=o-t,h=a-e,y=d*d+h*h;if(null===this._x1)this._append(l(),this._x1=t,this._y1=e);else if(y>1e-6)if(Math.abs(h*u-c*d)>1e-6&&i){var v=r-o,m=n-a,g=u*u+c*c,x=Math.sqrt(g),O=Math.sqrt(y),w=i*Math.tan((b-Math.acos((g+y-(v*v+m*m))/(2*x*O)))/2),S=w/O,j=w/x;Math.abs(S-1)>1e-6&&this._append(f(),t+S*d,e+S*h),this._append(p(),i,i,+(h*v>d*m),this._x1=t+j*u,this._y1=e+j*c)}else this._append(s(),this._x1=t,this._y1=e)}},{key:"arc",value:function(t,e,r,n,i,o){if(t*=1,e*=1,o=!!o,(r*=1)<0)throw Error("negative radius: ".concat(r));var a=r*Math.cos(n),u=r*Math.sin(n),c=t+a,l=e+u,s=1^o,f=o?n-i:i-n;null===this._x1?this._append(d(),c,l):(Math.abs(this._x1-c)>1e-6||Math.abs(this._y1-l)>1e-6)&&this._append(h(),c,l),r&&(f<0&&(f=f%g+g),f>x?this._append(y(),r,r,s,t-a,e-u,r,r,s,this._x1=c,this._y1=l):f>1e-6&&this._append(v(),r,r,+(f>=b),s,this._x1=t+r*Math.cos(i),this._y1=e+r*Math.sin(i)))}},{key:"rect",value:function(t,e,r,n){this._append(m(),this._x0=this._x1=+t,this._y0=this._y1=+e,r*=1,+n,-r)}},{key:"toString",value:function(){return this._}}]),t}();w.prototype,t.s(["withPath",0,function(t){var e=3;return t.digits=function(r){if(!arguments.length)return e;if(null==r)e=null;else{var n=Math.floor(r);if(!(n>=0))throw RangeError("invalid digits: ".concat(r));e=n}return t},function(){return new w(e)}}],216888)},651655,(t,e,r)=>{var n=t.r(115240),i=t.r(368996);!function(r){"use strict";
2var o,a={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},u=!0,c="[DecimalError] ",l=c+"Invalid argument: ",s=c+"Exponent out of range: ",f=Math.floor,p=Math.pow,d=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,h=f(1286742750677284.5),y={};function v(t,e){var r,n,i,o,a,c,l,s,f=t.constructor,p=f.precision;if(!t.s||!e.s)return e.s||(e=new f(t)),u?E(e,p):e;if(l=t.d,s=e.d,a=t.e,i=e.e,l=l.slice(),o=a-i){for(o<0?(n=l,o=-o,c=s.length):(n=s,i=a,c=l.length),o>(c=(a=Math.ceil(p/7))>c?a+1:c+1)&&(o=c,n.length=1),n.reverse();o--;)n.push(0);n.reverse()}for((c=l.length)-(o=s.length)<0&&(o=c,n=s,s=l,l=n),r=0;o;)r=(l[--o]=l[o]+s[o]+r)/1e7|0,l[o]%=1e7;for(r&&(l.unshift(r),++i),c=l.length;0==l[--c];)l.pop();return e.d=l,e.e=i,u?E(e,p):e}function m(t,e,r){if(t!==~~t||t<e||t>r)throw Error(l+t)}function b(t){var e,r,n,i=t.length-1,o="",a=t[0];if(i>0){for(o+=a,e=1;e<i;e++)(r=7-(n=t[e]+"").length)&&(o+=S(r)),o+=n;(r=7-(n=(a=t[e])+"").length)&&(o+=S(r))}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,r,n,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(n=this.d.length,e=0,r=n<(i=t.d.length)?n:i;e<r;++e)if(this.d[e]!==t.d[e])return this.d[e]>t.d[e]^this.s<0?1:-1;return n===i?0:n>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 E(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,r=this.constructor,n=r.precision,i=n+5;if(void 0===t)t=new r(10);else if((t=new r(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 r(0):(u=!1,e=g(j(this,i),j(t,i),i),u=!0,E(e,n))},y.minus=y.sub=function(t){return t=new this.constructor(t),this.s==t.s?A(this,t):v(this,(t.s=-t.s,t))},y.modulo=y.mod=function(t){var e,r=this.constructor,n=r.precision;if(!(t=new r(t)).s)throw Error(c+"NaN");return this.s?(u=!1,e=g(this,t,0,1).times(t),u=!0,this.minus(e)):E(new r(this),n)},y.naturalExponential=y.exp=function(){return x(this)},y.naturalLogarithm=y.ln=function(){return j(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):A(this,(t.s=-t.s,t))},y.precision=y.sd=function(t){var e,r,n;if(void 0!==t&&!!t!==t&&1!==t&&0!==t)throw Error(l+t);if(e=O(this)+1,r=7*(n=this.d.length-1)+1,n=this.d[n]){for(;n%10==0;n/=10)r--;for(n=this.d[0];n>=10;n/=10)r++}return t&&e>r?e:r},y.squareRoot=y.sqrt=function(){var t,e,r,n,i,o,a,l=this.constructor;if(this.s<1){if(!this.s)return new l(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),n=new l(e=i==1/0?"5e"+t:(e=i.toExponential()).slice(0,e.indexOf("e")+1)+t)):n=new l(i.toString()),i=a=(r=l.precision)+3;;)if(n=(o=n).plus(g(this,o,a+2)).times(.5),b(o.d).slice(0,a)===(e=b(n.d)).slice(0,a)){if(e=e.slice(a-3,a+1),i==a&&"4999"==e){if(E(o,r+1,0),o.times(o).eq(this)){n=o;break}}else if("9999"!=e)break;a+=4}return u=!0,E(n,r)},y.times=y.mul=function(t){var e,r,n,i,o,a,c,l,s,f=this.constructor,p=this.d,d=(t=new f(t)).d;if(!this.s||!t.s)return new f(0);for(t.s*=this.s,r=this.e+t.e,(l=p.length)<(s=d.length)&&(o=p,p=d,d=o,a=l,l=s,s=a),o=[],n=a=l+s;n--;)o.push(0);for(n=s;--n>=0;){for(e=0,i=l+n;i>n;)c=o[i]+d[n]*p[i-n-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?++r:o.shift(),t.d=o,t.e=r,u?E(t,f.precision):t},y.toDecimalPlaces=y.todp=function(t,e){var r=this,n=r.constructor;
2return(r=new n(r),void 0===t)?r:(m(t,0,1e9),void 0===e?e=n.rounding:m(e,0,8),E(r,t+O(r)+1,e))},y.toExponential=function(t,e){var r,n=this,i=n.constructor;return void 0===t?r=_(n,!0):(m(t,0,1e9),void 0===e?e=i.rounding:m(e,0,8),r=_(n=E(new i(n),t+1,e),!0,t+1)),r},y.toFixed=function(t,e){var r,n,i=this.constructor;return void 0===t?_(this):(m(t,0,1e9),void 0===e?e=i.rounding:m(e,0,8),r=_((n=E(new i(this),t+O(this)+1,e)).abs(),!1,t+O(n)+1),this.isneg()&&!this.isZero()?"-"+r:r)},y.toInteger=y.toint=function(){var t=this.constructor;return E(new t(this),O(this)+1,t.rounding)},y.toNumber=function(){return+this},y.toPower=y.pow=function(t){var e,r,n,i,a,l,s=this,p=s.constructor,d=+(t=new p(t));if(!t.s)return new p(o);if(!(s=new p(s)).s){if(t.s<1)throw Error(c+"Infinity");return s}if(s.eq(o))return s;if(n=p.precision,t.eq(o))return E(s,n);if(l=(e=t.e)>=(r=t.d.length-1),a=s.s,l){if((r=d<0?-d:d)<=0x1fffffffffffff){for(i=new p(o),e=Math.ceil(n/7+4),u=!1;r%2&&k((i=i.times(s)).d,e),0!==(r=f(r/2));)k((s=s.times(s)).d,e);return u=!0,t.s<0?new p(o).div(i):E(i,n)}}else if(a<0)throw Error(c+"NaN");return a=a<0&&1&t.d[Math.max(e,r)]?-1:1,s.s=1,u=!1,i=t.times(j(s,n+12)),u=!0,(i=x(i)).s=a,i},y.toPrecision=function(t,e){var r,n,i=this,o=i.constructor;return void 0===t?(r=O(i),n=_(i,r<=o.toExpNeg||r>=o.toExpPos)):(m(t,1,1e9),void 0===e?e=o.rounding:m(e,0,8),r=O(i=E(new o(i),t,e)),n=_(i,t<=r||r<=o.toExpNeg,t)),n},y.toSignificantDigits=y.tosd=function(t,e){var r=this.constructor;return void 0===t?(t=r.precision,e=r.rounding):(m(t,1,1e9),void 0===e?e=r.rounding:m(e,0,8)),E(new r(this),t,e)},y.toString=y.valueOf=y.val=y.toJSON=function(){var t=O(this),e=this.constructor;return _(this,t<=e.toExpNeg||t>=e.toExpPos)};var g=function(){function t(t,e){var r,n=0,i=t.length;for(t=t.slice();i--;)r=t[i]*e+n,t[i]=r%1e7|0,n=r/1e7|0;return n&&t.unshift(n),t}function e(t,e,r,n){var i,o;if(r!=n)o=r>n?1:-1;else for(i=o=0;i<r;i++)if(t[i]!=e[i]){o=t[i]>e[i]?1:-1;break}return o}function r(t,e,r){for(var n=0;r--;)t[r]-=n,n=+(t[r]<e[r]),t[r]=1e7*n+t[r]-e[r];for(;!t[0]&&t.length>1;)t.shift()}return function(n,i,o,a){var u,l,s,f,p,d,h,y,v,m,b,g,x,w,S,j,P,A,_=n.constructor,k=n.s==i.s?1:-1,T=n.d,M=i.d;if(!n.s)return new _(n);if(!i.s)throw Error(c+"Division by zero");for(l=n.e-i.e,P=M.length,S=T.length,y=(h=new _(k)).d=[],s=0;M[s]==(T[s]||0);)++s;if(M[s]>(T[s]||0)&&--l,(g=null==o?o=_.precision:a?o+(O(n)-O(i))+1:o)<0)return new _(0);if(g=g/7+2|0,s=0,1==P)for(f=0,M=M[0],g++;(s<S||f)&&g--;s++)x=1e7*f+(T[s]||0),y[s]=x/M|0,f=x%M|0;else{for((f=1e7/(M[0]+1)|0)>1&&(M=t(M,f),T=t(T,f),P=M.length,S=T.length),w=P,m=(v=T.slice(0,P)).length;m<P;)v[m++]=0;(A=M.slice()).unshift(0),j=M[0],M[1]>=1e7/2&&++j;do f=0,(u=e(M,v,P,m))<0?(b=v[0],P!=m&&(b=1e7*b+(v[1]||0)),(f=b/j|0)>1?(f>=1e7&&(f=1e7-1),d=(p=t(M,f)).length,m=v.length,1==(u=e(p,v,d,m))&&(f--,r(p,P<d?A:M,d))):(0==f&&(u=f=1),p=M.slice()),(d=p.length)<m&&p.unshift(0),r(v,p,m),-1==u&&(m=v.length,(u=e(M,v,P,m))<1&&(f++,r(v,P<m?A:M,m))),m=v.length):0===u&&(f++,v=[0]),y[s++]=f,u&&v[0]?v[m++]=T[w]||0:(v=[T[w]],m=1);while((w++<S||void 0!==v[0])&&g--)}return y[0]||y.shift(),h.e=l,E(h,a?o+O(h)+1:o)}}();function x(t,e){var r,n,i,a,c,l=0,f=0,d=t.constructor,h=d.precision;if(O(t)>16)throw Error(s+O(t));if(!t.s)return new d(o);for(null==e?(u=!1,c=h):c=e,a=new d(.03125);t.abs().gte(.1);)t=t.times(a),f+=5;for(c+=Math.log(p(2,f))/Math.LN10*2+5|0,r=n=i=new d(o),d.precision=c;;){if(n=E(n.times(t),c),r=r.times(++l),b((a=i.plus(g(n,r,c))).d).slice(0,c)===b(i.d).slice(0,c)){for(;f--;)i=E(i.times(i),c);return d.precision=h,null==e?(u=!0,E(i,h)):i}i=a}}function O(t){for(var e=7*t.e,r=t.d[0];r>=10;r/=10)e++;return e}function w(t,e,r){if(e>t.LN10.sd())throw u=!0,r&&(t.precision=r),Error(c+"LN10 precision limit exceeded");return E(new t(t.LN10),e)}function S(t){for(var e="";t--;)e+="0";return e}function j(t,e){var r,n,i,a,l,s,f,p,d,h=1,y=t,v=y.d,m=y.constructor,x=m.precision;if(y.s<1)throw Error(c+(y.s?"NaN":"-Infinity"));if(y.eq(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(m.precision=p+=10,n=(r=b(v)).charAt(0),!(15e14>Math.abs(a=O(y))))return f=w(m,p+2,x).times(a+""),y=j(new m(n+"."+r.slice(1)),p-10).plus(f),m.precision=x,null==e?(u=!0,E(y,x)):y;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=b((y=y.times(t)).d)).charAt(0),h++;for(a=O(y),n>1?(y=new m("0."+r),a++):y=new m(n+"."+r.slice(1)),s=l=y=g(y.minus(o),y.plus(o),p),d=E(y.times(y),p),i=3;;){if(l=E(l.times(d),p),b((f=s.plus(g(l,new m(i),p))).d).slice(0,p)===b(s.d).slice(0,p))return s=s.times(2),0!==a&&(s=s.plus(w(m,p+2,x).times(a+""))),s=g(s,new m(h),p),m.precision=x,null==e?(u=!0,E(s,x)):s;s=f,i+=2}}function P(t,e){var r,n,i;for((r=e.indexOf("."))>-1&&(e=e.replace(".","")),(n=e.search(/e/i))>0?(r<0&&(r=n),r+=+e.slice(n+1),e=e.substring(0,n)):r<0&&(r=e.length),n=0;48===e.charCodeAt(n);)++n;for(i=e.length;48===e.charCodeAt(i-1);)--i;if(e=e.slice(n,i)){if(i-=n,t.e=f((r=r-n-1)/7),t.d=[],n=(r+1)%7,r<0&&(n+=7),n<i){for(n&&t.d.push(+e.slice(0,n)),i-=7;n<i;)t.d.push(+e.slice(n,n+=7));n=7-(e=e.slice(n)).length}else n-=i;for(;n--;)e+="0";if(t.d.push(+e),u&&(t.e>
2h||t.e<-h))throw Error(s+r)}else t.s=0,t.e=0,t.d=[0];return t}function E(t,e,r){var n,i,o,a,c,l,d,y,v=t.d;for(a=1,o=v[0];o>=10;o/=10)a++;if((n=e-a)<0)n+=7,i=e,d=v[y=0];else{if((y=Math.ceil((n+1)/7))>=(o=v.length))return t;for(d=o=v[y],a=1;o>=10;o/=10)a++;n%=7,i=n-7+a}if(void 0!==r&&(c=d/(o=p(10,a-i-1))%10|0,l=e<0||void 0!==v[y+1]||d%o,l=r<4?(c||l)&&(0==r||r==(t.s<0?3:2)):c>5||5==c&&(4==r||l||6==r&&(n>0?i>0?d/p(10,a-i):0:v[y-1])%10&1||r==(t.s<0?8:7))),e<1||!v[0])return l?(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==n?(v.length=y,o=1,y--):(v.length=y+1,o=p(10,7-n),v[y]=i>0?(d/p(10,a-i)%p(10,i)|0)*o:0),l)for(;;)if(0==y){1e7==(v[0]+=o)&&(v[0]=1,++t.e);break}else{if(v[y]+=o,1e7!=v[y])break;v[y--]=0,o=1}for(n=v.length;0===v[--n];)v.pop();if(u&&(t.e>h||t.e<-h))throw Error(s+O(t));return t}function A(t,e){var r,n,i,o,a,c,l,s,f,p,d=t.constructor,h=d.precision;if(!t.s||!e.s)return e.s?e.s=-e.s:e=new d(t),u?E(e,h):e;if(l=t.d,p=e.d,n=e.e,s=t.e,l=l.slice(),a=s-n){for((f=a<0)?(r=l,a=-a,c=p.length):(r=p,n=s,c=l.length),a>(i=Math.max(Math.ceil(h/7),c)+2)&&(a=i,r.length=1),r.reverse(),i=a;i--;)r.push(0);r.reverse()}else{for((f=(i=l.length)<(c=p.length))&&(c=i),i=0;i<c;i++)if(l[i]!=p[i]){f=l[i]<p[i];break}a=0}for(f&&(r=l,l=p,p=r,e.s=-e.s),c=l.length,i=p.length-c;i>0;--i)l[c++]=0;for(i=p.length;i>a;){if(l[--i]<p[i]){for(o=i;o&&0===l[--o];)l[o]=1e7-1;--l[o],l[i]+=1e7}l[i]-=p[i]}for(;0===l[--c];)l.pop();for(;0===l[0];l.shift())--n;return l[0]?(e.d=l,e.e=n,u?E(e,h):e):new d(0)}function _(t,e,r){var n,i=O(t),o=b(t.d),a=o.length;return e?(r&&(n=r-a)>0?o=o.charAt(0)+"."+o.slice(1)+S(n):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+S(-i-1)+o,r&&(n=r-a)>0&&(o+=S(n))):i>=a?(o+=S(i+1-a),r&&(n=r-i-1)>0&&(o=o+"."+S(n))):((n=i+1)<a&&(o=o.slice(0,n)+"."+o.slice(n)),r&&(n=r-a)>0&&(i+1===a&&(o+="."),o+=S(n))),t.s<0?"-"+o:o}function k(t,e){if(t.length>e)return t.length=e,!0}function T(t){if(!t||(void 0===t?"undefined":i._(t))!=="object")throw Error(c+"Object expected");var e,r,n,o=["precision",1,1e9,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(e=0;e<o.length;e+=3)if(void 0!==(n=t[r=o[e]]))if(f(n)===n&&n>=o[e+1]&&n<=o[e+2])this[r]=n;else throw Error(l+r+": "+n);if(void 0!==(n=t[r="LN10"]))if(n==Math.LN10)this[r]=new this(n);else throw Error(l+r+": "+n);return this}if((a=function t(e){var r,i,o;function a(t){if(!n._(this,a))return new a(t);if(this.constructor=a,n._(t,a)){this.s=t.s,this.e=t.e,this.d=(t=t.d)?t.slice():t;return}if("number"==typeof t){if(0*t!=0)throw Error(l+t);if(t>0)this.s=1;else if(t<0)t=-t,this.s=-1;else{this.s=0,this.e=0,this.d=[0];return}if(t===~~t&&t<1e7){this.e=0,this.d=[t];return}return P(this,t.toString())}if("string"!=typeof t)throw Error(l+t);if(45===t.charCodeAt(0)?(t=t.slice(1),this.s=-1):this.s=1,d.test(t))P(this,t);else throw Error(l+t)}if(a.prototype=y,a.ROUND_UP=0,a.ROUND_DOWN=1,a.ROUND_CEIL=2,a.ROUND_FLOOR=3,a.ROUND_HALF_UP=4,a.ROUND_HALF_DOWN=5,a.ROUND_HALF_EVEN=6,a.ROUND_HALF_CEIL=7,a.ROUND_HALF_FLOOR=8,a.clone=t,a.config=a.set=T,void 0===e&&(e={}),e)for(r=0,o=["precision","rounding","toExpNeg","toExpPos","LN10"];r<o.length;)e.hasOwnProperty(i=o[r++])||(e[i]=this[i]);return a.config(e),a}(a)).default=a.Decimal=a,o=new a(1),"function"==typeof define&&define.amd){let e;t.r,void 0!==(e=a)&&t.v(e)}else e.exports?e.exports=a:(r||(r="u">typeof self&&self&&self.self==self?self:Function("return this")()),r.Decimal=a)}(t.e)},867719,517306,610010,516039,9506,261770,106545,861639,t=>{"use strict";var e=t.i(62990),r=t.i(475058);function n(t,e){if((i=t.length)>1)for(var r,n,i,o=1,a=t[e[0]],u=a.length;o<i;++o)for(n=a,a=t[e[o]],r=0;r<u;++r)a[r][1]+=a[r][0]=isNaN(n[r][1])?n[r][0]:n[r][1]}function i(t){for(var e=t.length,r=Array(e);--e>=0;)r[e]=e;return r}function o(t,e){return t[e]}function a(t){var e=[];return e.key=t,e}t.s(["stack",0,function(){var t=(0,r.default)([]),u=i,c=n,l=o;function s(r){var n,i,o=Array.from(t.apply(this,arguments),a),s=o.length,f=-1,p=!0,d=!1,h=void 0;try{for(var y,v=r[Symbol.iterator]();!(p=(y=v.next()).done);p=!0){var m=y.value;for(n=0,++f;n<s;++n)(o[n][f]=[0,+l(m,o[n].key,f,r)]).data=m}}catch(t){d=!0,h=t}finally{try{p||null==v.return||v.return()}finally{if(d)throw h}}for(n=0,i=(0,e.default)(u(o));n<s;++n)o[i[n]].index=n;return c(o,i),o}return s.keys=function(e){return arguments.length?(t="function"==typeof e?e:(0,r.default)(Array.from(e)),s):t},s.value=function(t){return arguments.length?(l="function"==typeof t?t:(0,r.default)(+t),s):l},s.order=function(t){return arguments.length?(u=null==t?i:"function"==typeof t?t:(0,r.default)(Array.from(t)),s):u},s.offset=function(t){return arguments.length?(c=null==t?n:t,s):c},s}],867719),t.s(["stackOffsetExpand",0,function(t,e){if((i=t.length)>0){for(var r,i,o,a=0,u=t[0].length;a<u;++a){for(o=r=0;r<i;++r)o+=t[r][a][1]||0;if(o)for(r=0;r<i;++r)t[r][a][1]/=o}n(t,e)}}],517306),t.s(["stackOffsetNone",0,n],610010),t.s(["stackOffsetSilhouette",0,function(t,e){if((r=t.length)>0){for(var r,i=0,o=t[e[0]],a=o.length;i<a;++i){for(var u=0,c=0;u<r;++u)c+=t[u][i][1]||0;o[i][1]+=o[i][0]=-c/2}n(t,e)}}],516039),t.s(["stackOffsetWiggle",0,function(t,e){if((o=t.length)>0&&(i=(r=t[e[0]]).length)>0){for(var r,i,o,a=0,u=1;u<i;++u){for(var c=0,l=0,s=0;c<o;++c){for(var f=t[e[c]],p=f[u][1]||0,d=(p-(f[u-1][1]||0))/2,h=0;h<c;++h){var y=t[e[h]];d+=(y[u][1]||0)-(y[u-1][1]||0)}l+=p,s+=d*p}r[u-1][1]+=r[u-1][0]=a,l&&(a-=s/l)}r[u-1][1]+=r[u-1][0]=a,n(t,e)}}],9506),t.s(["stackOrderNone",0,i],261770);var u=t.i(651655);function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var l=function(t){return t},s={"@@functional/placeholder":!0},f=function(t){return t===s},p=function(t){return function e(){return 0==arguments.length||1==arguments.length&&f(arguments.length<=0?void 0:arguments[0])?e:t.apply(void 0,arguments)}},d=function(t){return function t(e,r){return 1===e?r:p(function(){for(var n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];var a=i.filter(function(t){return t!==s}).length;return a>=e?r.apply(void 0,i):t(e-a,p(function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var o=i.map(function(t){return f(t)?e.shift():t});return r.apply(void 0,((function(t){if(Array.isArray(t))return c(t)})(o)||function(t){if("u">typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(o)||function(t){if(t){if("string"==typeof t)return c(t,void 0);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return c(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)},h=function(t,e){for(var r=[],n=t;n<e;++n)r[n-t]=n;return r},y=d(function(t,e){return Array.isArray(e)?e.map(t):Object.keys(e).map(function(t){return e[t]}).map(t)}),v=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];if(!e.length)return l;var n=e.reverse(),i=n[0],o=n.slice(1);return function(){return o.reduce(function(t,e){return e(t)},i.apply(void 0,arguments))}},m=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},b=function(t){var e=null,r=null;return function(){for(var n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return e&&i.every(function(t,r){return t===e[r]})?r:(e=i,r=t.apply(void 0,i))}};d(function(t,e,r){var n=+t;return n+r*(e-n)}),d(function(t,e,r){var n=e-t;return(r-t)/(n=n||1/0)}),d(function(t,e,r){var n=e-t;return Math.max(0,Math.min(1,(r-t)/(n=n||1/0)))});let g=function(t,e,r){for(var n=new u.default(t),i=0,o=[];n.lt(e)&&i<1e5;)o.push(n.toNumber()),n=n.add(r),i++;return o},x=function(t){return 0===t?1:Math.floor(new u.default(t).abs().log(10).toNumber())+1};function O(t){return function(t){if(Array.isArray(t))return j(t)}(t)||function(t){if("u">typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||S(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 w(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("u">typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(n=(a=u.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){i=!0,o=t}finally{try{n||null==u.return||u.return()}finally{if(i)throw o}}return r}}(t,e)||S(t,e)||function(){throw TypeError("Invalid attempt to de
2structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(t,e){if(t){if("string"==typeof t)return j(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return j(t,e)}}function j(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function P(t){var e=w(t,2),r=e[0],n=e[1],i=r,o=n;return r>n&&(i=n,o=r),[i,o]}function E(t,e,r){if(t.lte(0))return new u.default(0);var n=x(t.toNumber()),i=new u.default(10).pow(n),o=t.div(i),a=1!==n?.05:.1,c=new u.default(Math.ceil(o.div(a).toNumber())).add(r).mul(a).mul(i);return e?c:new u.default(Math.ceil(c))}function A(t,e,r){var n=1,i=new u.default(t);if(!i.isint()&&r){var o=Math.abs(t);o<1?(n=new u.default(10).pow(x(t)-1),i=new u.default(Math.floor(i.div(n).toNumber())).mul(n)):o>1&&(i=new u.default(Math.floor(t)))}else 0===t?i=new u.default(Math.floor((e-1)/2)):r||(i=new u.default(Math.floor(t)));var a=Math.floor((e-1)/2);return v(y(function(t){return i.add(new u.default(t-a).mul(n)).toNumber()}),h)(0,e)}var _=b(function(t){var e=w(t,2),r=e[0],n=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),c=w(P([r,n]),2),l=c[0],s=c[1];if(l===-1/0||s===1/0){var f=s===1/0?[l].concat(O(h(0,i-1).map(function(){return 1/0}))):[].concat(O(h(0,i-1).map(function(){return-1/0})),[s]);return r>n?m(f):f}if(l===s)return A(l,i,o);var p=function t(e,r,n,i){var o,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((r-e)/(n-1)))return{step:new u.default(0),tickMin:new u.default(0),tickMax:new u.default(0)};var c=E(new u.default(r).sub(e).div(n-1),i,a),l=Math.ceil((o=e<=0&&r>=0?new u.default(0):(o=new u.default(e).add(r).div(2)).sub(new u.default(o).mod(c))).sub(e).div(c).toNumber()),s=Math.ceil(new u.default(r).sub(o).div(c).toNumber()),f=l+s+1;return f>n?t(e,r,n,i,a+1):(f<n&&(s=r>0?s+(n-f):s,l=r>0?l:l+(n-f)),{step:c,tickMin:o.sub(new u.default(l).mul(c)),tickMax:o.add(new u.default(s).mul(c))})}(l,s,a,o),d=p.step,y=g(p.tickMin,p.tickMax.add(new u.default(.1).mul(d)),d);return r>n?m(y):y});b(function(t){var e=w(t,2),r=e[0],n=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),c=w(P([r,n]),2),l=c[0],s=c[1];if(l===-1/0||s===1/0)return[r,n];if(l===s)return A(l,i,o);var f=E(new u.default(s).sub(l).div(a-1),o,0),p=v(y(function(t){return new u.default(l).add(new u.default(t).mul(f)).toNumber()}),h)(0,a).filter(function(t){return t>=l&&t<=s});return r>n?m(p):p});var k=b(function(t,e){var r=w(t,2),n=r[0],i=r[1],o=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=w(P([n,i]),2),c=a[0],l=a[1];if(c===-1/0||l===1/0)return[n,i];if(c===l)return[c];var s=Math.max(e,2),f=E(new u.default(l).sub(c).div(s-1),o,0),p=[].concat(O(g(new u.default(c),new u.default(l).sub(new u.default(.99).mul(f)),f)),[l]);return n>i?m(p):p});t.s(["getNiceTickValues",0,_,"getTickValuesFixedDomain",0,k],106545),t.s([],861639)},478492,(t,e,r)=>{"use strict";var n=Object.prototype.hasOwnProperty,i="~";function o(){}function a(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function u(t,e,r,n,o){if("function"!=typeof r)throw TypeError("The listener must be a function");var u=new a(r,n||t,o),c=i?i+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 c(t,e){0==--t._eventsCount?t._events=new o:delete t._events[e]}function l(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),new o().__proto__||(i=!1)),l.prototype.eventNames=function(){var t,e,r=[];if(0===this._eventsCount)return r;for(e in t=this._events)n.call(t,e)&&r.push(i?e.slice(1):e);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(t)):r},l.prototype.listeners=function(t){var e=i?i+t:t,r=this._events[e];if(!r)return[];if(r.fn)return[r.fn];for(var n=0,o=r.length,a=Array(o);n<o;n++)a[n]=r[n].fn;return a},l.prototype.listenerCount=function(t){var e=i?i+t:t,r=this._events[e];return r?r.fn?1:r.length:0},l.prototype.emit=function(t,e,r,n,o,a){var u=i?i+t:t;if(!this._events[u])return!1;var c,l,s=this._events[u],f=arguments.length;if(s.fn){switch(s.once&&this.removeListener(t,s.fn,void 0,!0),f){case 1:return s.fn.call(s.context),!0;case 2:return s.fn.call(s.context,e),!0;case 3:return s.fn.call(s.context,e,r),!0;case 4:return s.fn.call(s.context,e,r,n),!0;case 5:return s.fn.call(s.context,e,r,n,o),!0;case 6:return s.fn.call(s.context,e,r,n,o,a),!0}for(l=1,c=Array(f-1);l<f;l++)c[l-1]=arguments[l];s.fn.apply(s.context,c)}else{var p,d=s.length;for(l=0;l<d;l++)switch(s[l].once&&this.removeListener(t,s[l].fn,void 0,!0),f){case 1:s[l].fn.call(s[l].context);break;case 2:s[l].fn.call(s[l].context,e);break;case 3:s[l].fn.call(s[l].context,e,r);break;case 4:s[l].fn.call(s[l].context,e,r,n);break;default:if(!c)for(p=1,c=Array(f-1);p<f;p++)c[p-1]=arguments[p];s[l].fn.apply(s[l].context,c)}}return!0},l.prototype.on=function(t,e,r){return u(this,t,e,r,!1)},l.prototype.once=function(t,e,r){return u(this,t,e,r,!0)},l.prototype.removeListener=function(t,e,r,n){var o=i?i+t:t;if(!this._events[o])return this;if(!e)return c(this,o),this;var a=this._events[o];if(a.fn)a.fn!==e||n&&!a.once||r&&a.context!==r||c(this,o);else{for(var u=0,l=[],s=a.length;u<s;u++)(a[u].fn!==e||n&&!a[u].once||r&&a[u].context!==r)&&l.push(a[u]);l.length?this._events[o]=1===l.length?l[0]:l:c(this,o)}return this},l.prototype.removeAllListeners=function(t){var e;return t?(e=i?i+t:t,this._events[e]&&c(this,e)):(this._events=new o,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=i,l.EventEmitter=l,e.exports=l},687362,(t,e,r)=>{e.exports=t.r(841920)(t.r(139088),"Map")}
2,630353,(t,e,r)=>{e.exports=t.r(139088).Symbol},263750,(t,e,r)=>{e.exports=t.r(139088).Uint8Array},75331,(t,e,r)=>{e.exports=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}},899850,(t,e,r)=>{e.exports=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}},678012,(t,e,r)=>{var n=t.r(630353),i=t.r(263750),o=t.r(25172),a=t.r(206856),u=t.r(75331),c=t.r(899850),l=n?n.prototype:void 0,s=l?l.valueOf:void 0;e.exports=function(t,e,r,n,l,f,p){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)break;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":if(t.byteLength!=e.byteLength||!f(new 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 d=u;case"[object Set]":var h=1&n;if(d||(d=c),t.size!=e.size&&!h)break;var y=p.get(t);if(y)return y==e;n|=2,p.set(t,e);var v=a(d(t),d(e),n,l,f,p);return p.delete(t),v;case"[object Symbol]":if(s)return s.call(t)==s.call(e)}return!1}},838199,(t,e,r)=>{e.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(!e(t[r],r,t))return!1;return!0}},892708,(t,e,r)=>{e.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,i=Array(n);++r<n;)i[r]=e(t[r],r,t);return i}},169102,(t,e,r)=>{e.exports=function(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t}},851477,(t,e,r)=>{e.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},214051,(t,e,r)=>{var n=t.r(25172);e.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return -1}},419206,(t,e,r)=>{var n=t.r(214051),i=Array.prototype.splice;e.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():i.call(e,r,1),--this.size,!0)}},467763,(t,e,r)=>{var n=t.r(214051);e.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},523407,(t,e,r)=>{var n=t.r(214051);e.exports=function(t){return n(this.__data__,t)>-1}},553833,(t,e,r)=>{var n=t.r(214051);e.exports=function(t,e){var r=this.__data__,i=n(r,t);return i<0?(++this.size,r.push([t,e])):r[i][1]=e,this}},729039,(t,e,r)=>{var n=t.r(665742),i=t.r(419206),o=t.r(467763),a=t.r(523407),u=t.r(553833);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=u,e.exports=c},674548,(t,e,r)=>{var n=t.r(524251);e.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},708088,(t,e,r)=>{var n=t.r(453587);e.exports=function(t,e){var r=!0;return n(t,function(t,n,i){return r=!!e(t,n,i)}),r}},641015,(t,e,r)=>{var n=t.r(361884);e.exports=function(t,e,r){for(var i=-1,o=t.length;++i<o;){var a=t[i],u=e(a);if(null!=u&&(void 0===c?u==u&&!n(u):r(u,c)))var c=u,l=a}return l}},356445,(t,e,r)=>{e.exports=function(t,e,r,n){for(var i=t.length,o=r+(n?1:-1);n?o--:++o<i;)if(e(t[o],o,t))return o;return -1}},163799,(t,e,r)=>{var n=t.r(98728),i=t.r(33679);e.exports=function(t,e){return t&&n(t,e,i)}},823403,(t,e,r)=>{var n=t.r(169102),i=t.r(45350);e.exports=function(t,e,r){var o=e(t);return i(t)?o:n(o,r(t))}},536100,(t,e,r)=>{e.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,i=0,o=[];++r<n;){var a=t[r];e(a,r,t)&&(o[i++]=a)}return o}},45159,(t,e,r)=>{e.exports=function(){return[]}},717332,(t,e,r)=>{var n=t.r(536100),i=t.r(45159),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;e.exports=a?function(t){return null==t?[]:n(a(t=Object(t)),function(e){return o.call(t,e)})}:i},580957,(t,e,r)=>{e.exports=function(t,e){return t>e}},240688,(t,e,r)=>{e.exports=function(t,e){return null!=t&&e in Object(t)}},215359,(t,e,r)=>{var n=t.r(186287),i=t.r(473250),o=t.r(45350),a=t.r(66397),u=t.r(98376),c=t.r(2054);e.exports=function(t,e,r){e=n(e,t);for(var l=-1,s=e.length,f=!1;++l<s;){var p=c(e[l]);if(!(f=null!=t&&r(t,p)))break;t=t[p]}
2return f||++l!=s?f:!!(s=null==t?0:t.length)&&u(s)&&a(p,s)&&(o(t)||i(t))}},76590,(t,e,r)=>{var n=t.r(240688),i=t.r(215359);e.exports=function(t,e){return null!=t&&i(t,e,n)}},772298,(t,e,r)=>{var n=t.r(14943),i=t.r(482820),o=t.r(76590),a=t.r(9903),u=t.r(715782),c=t.r(165570),l=t.r(2054);e.exports=function(t,e){return a(t)&&u(e)?c(l(t),e):function(r){var a=i(r,t);return void 0===a&&a===e?o(r,t):n(e,a,3)}}},566645,(t,e,r)=>{var n=t.r(377684),i=t.r(877289);e.exports=function(t){return i(t)&&"[object Arguments]"==n(t)}},473250,(t,e,r)=>{var n=t.r(566645),i=t.r(877289),o=Object.prototype,a=o.hasOwnProperty,u=o.propertyIsEnumerable;e.exports=n(function(){return arguments}())?n:function(t){return i(t)&&a.call(t,"callee")&&!u.call(t,"callee")}},748299,(t,e,r)=>{var n=t.r(901551),i=t.r(14943);e.exports=function(t,e,r,o){var a=r.length,u=a,c=!o;if(null==t)return!u;for(t=Object(t);a--;){var l=r[a];if(c&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++a<u;){var s=(l=r[a])[0],f=t[s],p=l[1];if(c&&l[2]){if(void 0===f&&!(s in t))return!1}else{var d=new n;if(o)var h=o(f,p,s,t,e,d);if(!(void 0===h?i(p,f,3,o,d):h))return!1}}return!0}},715782,(t,e,r)=>{var n=t.r(12447);e.exports=function(t){return t==t&&!n(t)}},741903,(t,e,r)=>{var n=t.r(715782),i=t.r(33679);e.exports=function(t){for(var e=i(t),r=e.length;r--;){var o=e[r],a=t[o];e[r]=[o,a,n(a)]}return e}},165570,(t,e,r)=>{e.exports=function(t,e){return function(r){return null!=r&&r[t]===e&&(void 0!==e||t in Object(r))}}},623426,(t,e,r)=>{var n=t.r(748299),i=t.r(741903),o=t.r(165570);e.exports=function(t){var e=i(t);return 1==e.length&&e[0][2]?o(e[0][0],e[0][1]):function(r){return r===t||n(r,t,e)}}},104078,(t,e,r)=>{e.exports=function(t){return t!=t}},201987,(t,e,r)=>{e.exports=function(t,e,r){for(var n=r-1,i=t.length;++n<i;)if(t[n]===e)return n;return -1}},649719,(t,e,r)=>{var n=t.r(356445),i=t.r(104078),o=t.r(201987);e.exports=function(t,e,r){return e==e?o(t,e,r):n(t,i,r)}},146515,(t,e,r)=>{var n=t.r(649719);e.exports=function(t,e){return!!(null==t?0:t.length)&&n(t,e,0)>-1}},829584,(t,e,r)=>{e.exports=function(t,e,r){for(var n=-1,i=null==t?0:t.length;++n<i;)if(r(e,t[n]))return!0;return!1}},591692,(t,e,r)=>{e.exports=function(){}},208484,(t,e,r)=>{var n=t.r(106966),i=t.r(591692),o=t.r(899850);e.exports=n&&1/o(new n([,-0]))[1]==1/0?function(t){return new n(t)}:i},910339,(t,e,r)=>{var n=t.r(27493),i=t.r(146515),o=t.r(829584),a=t.r(315262),u=t.r(208484),c=t.r(899850);e.exports=function(t,e,r){var l=-1,s=i,f=t.length,p=!0,d=[],h=d;if(r)p=!1,s=o;else if(f>=200){var y=e?null:u(t);if(y)return c(y);p=!1,s=a,h=new n}else h=e?[]:d;t:for(;++l<f;){var v=t[l],m=e?e(v):v;if(v=r||0!==v?v:0,p&&m==m){for(var b=h.length;b--;)if(h[b]===m)continue t;e&&h.push(m),d.push(v)}else s(h,m,r)||(h!==d&&h.push(m),d.push(v))}return d}},774010,(t,e,r)=>{var n=t.r(666305),i=t.r(910339);e.exports=function(t,e){return t&&t.length?i(t,n(e,2)):[]}},476602,(t,e,r)=>{var n=t.r(377684),i=t.r(98376),o=t.r(877289),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,e.exports=function(t){return o(t)&&i(t.length)&&!!a[n(t)]}},233999,(t,e,r)=>{e.exports=function(t){return function(e){return t(e)}}},180156,(t,e,r)=>{var n=t.r(368996),i=t.r(100236),o="object"==n._(r)&&r&&!r.nodeType&&r,a=o&&"object"==n._(e)&&e&&!e.nodeType&&e,u=a&&a.exports===o&&i.process;e.exports=function(){try{var t=a&&a.require&&a.require("util").types;if(t)return t;return u&&u.binding&&u.binding("util")}catch(t){}}()},3023,(t,e,r)=>{var n=t.r(476602),i=t.r(233999),o=t.r(180156),a=o&&o.isTypedArray;e.exports=a?i(a):n},458877,(t,e,r)=>{var n=t.r(855803),i=t.r(473250),o=t.r(45350),a=t.r(356956),u=t.r(66397),c=t.r(3023),l=Object.prototype.hasOwnProperty;e.exports=function(t,e){var r=o(t),s=!r&&i(t),f=!r&&!s&&a(t),p=!r&&!s&&!f&&c(t),d=r||s||f||p,h=d?n(t.length,String):[],y=h.length;for(var v in t)(e||l.call(t,v))&&!(d&&("length"==v||f&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||u(v,y)))&&h.push(v);return h}},763996,(t,e,r)=>{var n=Object.prototype;e.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},298128,(t,e,r)=>{e.exports=function(t,e){return t<e}},907073,(t,e,r)=>{var n=t.r(453587),i=t.r(351095);e.exports=function(t,e){var r=-1,o=i(t)?Array(t.length):[];return n(t,function(t,n,i){o[++r]=e(t,n,i)}),o}},601079,(t,e,r)=>{e.exports=function(t){return function(e){return null==e?void 0:e[t]}}},430970,(t,e,r)=>{var n=t.r(333141);e.exports=function(t){return function(e){return n(e,t)}}},433906,(t,e,r)=>{var n=t.r(601079),i=t.r(430970),o=t.r(9903),a=t.r(2054);e.exports=function(t){return o(t)?n(a(t)):i(t)}},666305,(t,e,r)=>{var n=t.r(368996),i=t.r(623426),o=t.r(772298),a=t.r(653336),u=t.r(45350),c=t.r(433906);e.exports=function(t){return"function"==typeof t?t:null==t?a:(void 0===t?"undefined":n._(t))=="object"?u(t)?o(t[0],t[1]):i(t):c(t)}},193440,(t,e,r)=>{var n=Math.ceil,i=Math.max;e.exports=function(t,e,r,o){for(var a=-1,u=i(n((e-t)/(r||1)),0),c=Array(u);u--;)c[o?u:++a]=t,t+=r;return c}},801647,(t,e,r)=>{var n=t.r(556751),i=t.r(524251),o=t.r(653336);e.exports=i?function(t,e){return i(t,"toString",{configurable:!0,enumerable:!1,value:n(e),writable:!0})}:o},851994,(t,e,r)=>{var n=Date.now;e.exports=function(t){var e=0,r=0;return function(){var i=n(),o=16-(i-r);if(r=i,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},184665,(t,e,r)=>{var n=t.r(801647);e.exports=t.r(851994)(n)},395059,(t,e,r)=>{var n=t.r(653336),i=t.r(172953),o=t.r(184665);e.exports=function(t,e){return o(i(t,e,n),t+"")}},795014,(t,e,r)=>{e.exports=function(t,e,r){var n=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(r=r>i?i:r)<0&&(r+=i),i=e>r?0:r-e>>>0,e>>>=0;for(var o=Array(i);++n<i;)o[n]=t[n+e];return o}},284357,(t,e,r)=>{var n=t.r(795014);e.exports=function(t,e,r){var i=t.length;return r=void 0===r?i:r,!e&&r>=i?t:n(t,e,r)}},979589,(t,e,r)=>{var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(t){return n.test(t)}},758672,(t,e,r)=>{e.exports=function(t){return t.split("")}},695365,(t,e,r)=>{var n="\\ud800-\\udfff",i="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",a="[^"+n+"]",u="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",l="(?:"+i+"|"+o+")?",s="[\\ufe0e\\ufe0f]?",f="(?:\\u200d(?:"+[a,u,c].join("|")+")"+s+l+")*",p=RegExp(o+"(?="+o+")|"+("(?:"+[a+i+"?",i,u,c,"["+n+"]"].join("|"))+")"+(s+l+f),"g");e.exports=function(t){return t.match(p)||[]}},384448,(t,e,r)=>{var n=t.r(758672),i=t.r(979589),o=t.r(695365);e.exports=function(t){return i(t)?o(t):n(t)}},649379,(t,e,r)=>{var n=t.r(453587);e.exports=function(t,e){var r;return n(t,function(t,n,i){return!(r=e(t,n,i))}),!!r}},783629,(t,e,r)=>{e.exports=function(t,e){var r=t.length;for(t.sort(e);
2r--;)t[r]=t[r].value;return t}},104886,(t,e,r)=>{var n=t.r(361884);e.exports=function(t,e){if(t!==e){var r=void 0!==t,i=null===t,o=t==t,a=n(t),u=void 0!==e,c=null===e,l=e==e,s=n(e);if(!c&&!s&&!a&&t>e||a&&u&&l&&!c&&!s||i&&u&&l||!r&&l||!o)return 1;if(!i&&!a&&!s&&t<e||s&&r&&o&&!i&&!a||c&&r&&o||!u&&o||!l)return -1}return 0}},758322,(t,e,r)=>{var n=t.r(104886);e.exports=function(t,e,r){for(var i=-1,o=t.criteria,a=e.criteria,u=o.length,c=r.length;++i<u;){var l=n(o[i],a[i]);if(l){if(i>=c)return l;return l*("desc"==r[i]?-1:1)}}return t.index-e.index}},428138,(t,e,r)=>{var n=t.r(892708),i=t.r(333141),o=t.r(666305),a=t.r(907073),u=t.r(783629),c=t.r(233999),l=t.r(758322),s=t.r(653336),f=t.r(45350);e.exports=function(t,e,r){e=e.length?n(e,function(t){return f(t)?function(e){return i(e,1===t.length?t[0]:t)}:t}):[s];var p=-1;return e=n(e,c(o)),u(a(t,function(t,r,i){return{criteria:n(e,function(e){return e(t)}),index:++p,value:t}}),function(t,e){return l(t,e,r)})}},909358,(t,e,r)=>{e.exports=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}},172953,(t,e,r)=>{var n=t.r(909358),i=Math.max;e.exports=function(t,e,r){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 l=Array(e+1);++a<e;)l[a]=o[a];return l[e]=r(c),n(t,this,l)}}},556751,(t,e,r)=>{e.exports=function(t){return function(){return t}}},855803,(t,e,r)=>{e.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},372537,(t,e,r)=>{var n=t.r(630353),i=t.r(892708),o=t.r(45350),a=t.r(361884),u=1/0,c=n?n.prototype:void 0,l=c?c.toString:void 0;e.exports=function t(e){if("string"==typeof e)return e;if(o(e))return i(e,t)+"";if(a(e))return l?l.call(e):"";var r=e+"";return"0"==r&&1/e==-u?"-0":r}},702922,(t,e,r)=>{var n=t.r(372537);e.exports=function(t){return null==t?"":n(t)}},315262,(t,e,r)=>{e.exports=function(t,e){return t.has(e)}},206856,(t,e,r)=>{var n=t.r(27493),i=t.r(851477),o=t.r(315262);e.exports=function(t,e,r,a,u,c){var l=1&r,s=t.length,f=e.length;if(s!=f&&!(l&&f>s))return!1;var p=c.get(t),d=c.get(e);if(p&&d)return p==e&&d==t;var h=-1,y=!0,v=2&r?new n:void 0;for(c.set(t,e),c.set(e,t);++h<s;){var m=t[h],b=e[h];if(a)var g=l?a(b,m,h,e,t,c):a(m,b,h,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,r,a,c)))return v.push(e)})){y=!1;break}}else if(!(m===b||u(m,b,r,a,c))){y=!1;break}}return c.delete(t),c.delete(e),y}},186287,(t,e,r)=>{var n=t.r(45350),i=t.r(9903),o=t.r(902677),a=t.r(702922);e.exports=function(t,e){return n(t)?t:i(t,e)?[t]:o(a(t))}},2054,(t,e,r)=>{var n=t.r(361884),i=1/0;e.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-i?"-0":e}},333141,(t,e,r)=>{var n=t.r(186287),i=t.r(2054);e.exports=function(t,e){e=n(e,t);for(var r=0,o=e.length;null!=t&&r<o;)t=t[i(e[r++])];return r&&r==o?t:void 0}},853789,(t,e,r)=>{e.exports=t.r(139088)["__core-js_shared__"]},269553,(t,e,r)=>{var n,i=t.r(853789),o=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(t){return!!o&&o in t}},873554,(t,e,r)=>{var n=t.r(351095);e.exports=function(t,e){return function(r,i){if(null==r)return r;if(!n(r))return t(r,i);for(var o=r.length,a=e?o:-1,u=Object(r);(e?a--:++a<o)&&!1!==i(u[a],a,u););return r}}},453587,(t,e,r)=>{var n=t.r(163799);e.exports=t.r(873554)(n)},536755,(t,e,r)=>{e.exports=function(t){return function(e,r,n){for(var i=-1,o=Object(e),a=n(e),u=a.length;u--;){var c=a[t?u:++i];if(!1===r(o[c],c,o))break}return e}}},98728,(t,e,r)=>{e.exports=t.r(536755)()},229821,(t,e,r)=>{var n=t.r(284357),i=t.r(979589),o=t.r(384448),a=t.r(702922);e.exports=function(t){return function(e){var r=i(e=a(e))?o(e):void 0,u=r?r[0]:e.charAt(0),c=r?n(r,1).join(""):e.slice(1);return u[t]()+c}}},232241,(t,e,r)=>{e.exports=t.r(229821)("toUpperCase")},195200,(t,e,r)=>{var n=t.r(666305),i=t.r(351095),o=t.r(33679);e.exports=function(t){return function(e,r,a){var u=Object(e);if(!i(e)){var c=n(r,3);e=o(e),r=function(t){return c(u[t],t,u)}}var l=t(e,r,a);return l>-1?u[c?e[l]:l]:void 0}}},211089,(t,e,r)=>{var n=t.r(193440),i=t.r(170237),o=t.r(382560);e.exports=function(t){return function(e,r,a){return a&&"number"!=typeof a&&i(e,r,a)&&(r=a=void 0),e=o(e),void 0===r?(r=e,e=0):r=o(r),a=void 0===a?e<r?1:-1:o(a),n(e,r,a,t)}}},144950,(t,e,r)=>{e.exports=t.r(211089)()},524251,(t,e,r)=>{var n=t.r(841920);e.exports=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}()},100236,(t,e,r)=>{e.exports="object"==t.r(368996)._(t.g)&&t.g&&t.g.Object===Object&&t.g},139088,(t,e,r)=>{var n=t.r(368996),i=t.r(100236),o=("u"<typeof self?"undefined":n._(self))=="object"&&self&&self.Object===Object&&self;e.exports=i||o||Function("return this")()},413370,(t,e,r)=>{var n=t.r(823403),i=t.r(717332),o=t.r(33679);e.exports=function(t){return n(t,o,i)}},330698,(t,e,r)=>{var n=t.r(115240),i=t.r(413370),o=Object.prototype.hasOwnProperty;e.exports=function(t,e,r,a,u,c){var l=1&r,s=i(t),f=s.length;if(f!=i(e).length&&!l)return!1;for(var p=f;p--;){var d=s[p];
2if(!(l?d in e:o.call(e,d)))return!1}var h=c.get(t),y=c.get(e);if(h&&y)return h==e&&y==t;var v=!0;c.set(t,e),c.set(e,t);for(var m=l;++p<f;){var b=t[d=s[p]],g=e[d];if(a)var x=l?a(g,b,d,e,t,c):a(b,g,d,t,e,c);if(!(void 0===x?b===g||u(b,g,r,a,c):x)){v=!1;break}m||(m="constructor"==d)}if(v&&!m){var O=t.constructor,w=e.constructor;O!=w&&"constructor"in t&&"constructor"in e&&!("function"==typeof O&&n._(O,O)&&"function"==typeof w&&n._(w,w))&&(v=!1)}return c.delete(t),c.delete(e),v}},801419,(t,e,r)=>{e.exports=t.r(841920)(t.r(139088),"DataView")},717074,(t,e,r)=>{e.exports=t.r(841920)(t.r(139088),"Promise")},106966,(t,e,r)=>{e.exports=t.r(841920)(t.r(139088),"Set")},573895,(t,e,r)=>{e.exports=t.r(841920)(t.r(139088),"WeakMap")},367426,(t,e,r)=>{var n=t.r(801419),i=t.r(687362),o=t.r(717074),a=t.r(106966),u=t.r(573895),c=t.r(377684),l=t.r(776366),s="[object Map]",f="[object Promise]",p="[object Set]",d="[object WeakMap]",h="[object DataView]",y=l(n),v=l(i),m=l(o),b=l(a),g=l(u),x=c;(n&&x(new n(new ArrayBuffer(1)))!=h||i&&x(new i)!=s||o&&x(o.resolve())!=f||a&&x(new a)!=p||u&&x(new u)!=d)&&(x=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,n=r?l(r):"";if(n)switch(n){case y:return h;case v:return s;case m:return f;case b:return p;case g:return d}return e}),e.exports=x},178353,(t,e,r)=>{var n=t.r(901551),i=t.r(206856),o=t.r(678012),a=t.r(330698),u=t.r(367426),c=t.r(45350),l=t.r(356956),s=t.r(3023),f="[object Arguments]",p="[object Array]",d="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(t,e,r,y,v,m){var b=c(t),g=c(e),x=b?p:u(t),O=g?p:u(e);x=x==f?d:x,O=O==f?d:O;var w=x==d,S=O==d,j=x==O;if(j&&l(t)){if(!l(e))return!1;b=!0,w=!1}if(j&&!w)return m||(m=new n),b||s(t)?i(t,e,r,y,v,m):o(t,e,x,r,y,v,m);if(!(1&r)){var P=w&&h.call(t,"__wrapped__"),E=S&&h.call(e,"__wrapped__");
2if(P||E){var A=P?t.value():t,_=E?e.value():e;return m||(m=new n),v(A,_,r,y,m)}}return!!j&&(m||(m=new n),a(t,e,r,y,v,m))}},14943,(t,e,r)=>{var n=t.r(178353),i=t.r(877289);e.exports=function t(e,r,o,a,u){return e===r||(null!=e&&null!=r&&(i(e)||i(r))?n(e,r,o,a,t,u):e!=e&&r!=r)}},962413,(t,e,r)=>{e.exports=t.r(825717)(Object.getPrototypeOf,Object)},243436,(t,e,r)=>{var n=t.r(630353),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,u=n?n.toStringTag:void 0;e.exports=function(t){var e=o.call(t,u),r=t[u];try{t[u]=void 0;var n=!0}catch(t){}var i=a.call(t);return n&&(e?t[u]=r:delete t[u]),i}},223243,(t,e,r)=>{var n=Object.prototype.toString;e.exports=function(t){return n.call(t)}},377684,(t,e,r)=>{var n=t.r(630353),i=t.r(243436),o=t.r(223243),a=n?n.toStringTag:void 0;e.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?i(t):o(t)}},733803,(t,e,r)=>{var n=t.r(630353),i=t.r(473250),o=t.r(45350),a=n?n.isConcatSpreadable:void 0;e.exports=function(t){return o(t)||i(t)||!!(a&&t&&t[a])}},541891,(t,e,r)=>{var n=t.r(169102),i=t.r(733803);e.exports=function t(e,r,o,a,u){var c=-1,l=e.length;for(o||(o=i),u||(u=[]);++c<l;){var s=e[c];r>0&&o(s)?r>1?t(s,r-1,o,a,u):n(u,s):a||(u[u.length]=s)}return u}},66397,(t,e,r)=>{var n=t.r(368996),i=/^(?:0|[1-9]\d*)$/;e.exports=function(t,e){var r=void 0===t?"undefined":n._(t);return!!(e=null==e?0x1fffffffffffff:e)&&("number"==r||"symbol"!=r&&i.test(t))&&t>-1&&t%1==0&&t<e}},170237,(t,e,r)=>{var n=t.r(368996),i=t.r(25172),o=t.r(351095),a=t.r(66397),u=t.r(12447);e.exports=function(t,e,r){if(!u(r))return!1;var c=void 0===e?"undefined":n._(e);return("number"==c?!!(o(r)&&a(e,r.length)):"string"==c&&e in r)&&i(r[e],t)}},9903,(t,e,r)=>{var n=t.r(368996),i=t.r(45350),o=t.r(361884),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/;e.exports=function(t,e){if(i(t))return!1;var r=void 0===t?"undefined":n._(t);return!!("number"==r||"symbol"==r||"boolean"==r||null==t||o(t))||u.test(t)||!a.test(t)||null!=e&&t in Object(e)}},665742,(t,e,r)=>{e.exports=function(){this.__data__=[],this.size=0}},100022,(t,e,r)=>{var n=t.r(734421),i=t.r(729039),o=t.r(687362);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||i),string:new n}}},224053,(t,e,r)=>{var n=t.r(368996);e.exports=function(t){var e=void 0===t?"undefined":n._(t);return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},487994,(t,e,r)=>{var n=t.r(224053);e.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},996768,(t,e,r)=>{var n=t.r(487994);e.exports=function(t){var e=n(this,t).delete(t);return this.size-=!!e,e}},929932,(t,e,r)=>{var n=t.r(487994);e.exports=function(t){return n(this,t).get(t)}},892647,(t,e,r)=>{var n=t.r(487994);e.exports=function(t){return n(this,t).has(t)}},446644,(t,e,r)=>{var n=t.r(487994);e.exports=function(t,e){var r=n(this,t),i=r.size;return r.set(t,e),this.size+=+(r.size!=i),this}},587547,(t,e,r)=>{var n=t.r(100022),i=t.r(996768),o=t.r(929932),a=t.r(892647),u=t.r(446644);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=u,e.exports=c},932760,(t,e,r)=>{e.exports=t.r(841920)(Object,"create")},150514,(t,e,r)=>{var n=t.r(932760);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},197617,(t,e,r)=>{e.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=!!e,e}},757412,(t,e,r)=>{var n=t.r(932760),i=Object.prototype.hasOwnProperty;e.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return i.call(e,t)?e[t]:void 0}},623592,(t,e,r)=>{var n=t.r(932760),i=Object.prototype.hasOwnProperty;e.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:i.call(e,t)}},239004,(t,e,r)=>{var n=t.r(932760);e.exports=function(t,e){var r=this.__data__;return this.size+=+!this.has(t),r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},734421,(t,e,r)=>{var n=t.r(150514),i=t.r(197617),o=t.r(757412),a=t.r(623592),u=t.r(239004);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=u,e.exports=c},942369,(t,e,r)=>{e.exports=t.r(825717)(Object.keys,Object)},848477,(t,e,r)=>{var n=t.r(763996),i=t.r(942369),o=Object.prototype.hasOwnProperty;e.exports=function(t){if(!n(t))return i(t);var e=[];for(var r in Object(t))o.call(t,r)&&"constructor"!=r&&e.push(r);return e}},825717,(t,e,r)=>{e.exports=function(t,e){return function(r){return t(e(r))}}},405400,(t,e,r)=>{var n=t.r(729039);e.exports=function(){this.__data__=new n,this.size=0}},986238,(t,e,r)=>{e.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},957831,(t,e,r)=>{e.exports=function(t){return this.__data__.get(t)}},977802,(t,e,r)=>{e.exports=function(t){return this.__data__.has(t)}},320517,(t,e,r)=>{var n=t.r(115240),i=t.r(729039),o=t.r(687362),a=t.r(587547);e.exports=function(t,e){var r=this.__data__;if(n._(r,i)){var u=r.__data__;if(!o||u.length<199)return u.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(u)}return r.set(t,e),this.size=r.size,this}},901551,(t,e,r)=>{var n=t.r(729039),i=t.r(405400),o=t.r(986238),a=t.r(957831),u=t.r(977802),c=t.r(320517);function l(t){var e=this.__data__=new n(t);this.size=e.size}l.prototype.clear=i,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=u,l.prototype.set=c,e.exports=l},221274,(t,e,r)=>{e.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},439805,(t,e,r)=>{e.exports=function(t){return this.__data__.has(t)}},27493,(t,e,r)=>{var n=t.r(587547),i=t.r(221274),o=t.r(439805);function a(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,e.exports=a},776366,(t,e,r)=>{var n=Function.prototype.toString;e.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},54368,(t,e,r)=>{var n=t.r(771223),i=t.r(269553),o=t.r(12447),a=t.r(776366),u=/^\[object .+?Constructor\]$/,c=Object.prototype,l=Function.prototype.toString,s=c.hasOwnProperty,f=RegExp("^"+l.call(s).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(t){return!(!o(t)||i(t))&&(n(t)?f:u).test(a(t))}},263958,(t,e,r)=>{e.exports=function(t,e){return null==t?void 0:t[e]}},841920,(t,e,r)=>{var n=t.r(54368),i=t.r(263958);e.exports=function(t,e){var r=i(t,e);return n(r)?r:void 0}},748891,(t,e,r)=>{var n=/\s/;e.exports=function(t){for(var e=t.length;e--&&n.test(t.charAt(e)););return e}},830364,(t,e,r)=>{var n=t.r(748891),i=/^\s+/;e.exports=function(t){return t?t.slice(0,n(t)+1).replace(i,""):t}},374009,(t,e,r)=>
2{var n=t.r(12447),i=t.r(631926),o=t.r(773759),a=Math.max,u=Math.min;e.exports=function(t,e,r){var c,l,s,f,p,d,h=0,y=!1,v=!1,m=!0;if("function"!=typeof t)throw TypeError("Expected a function");function b(e){var r=c,n=l;return c=l=void 0,h=e,f=t.apply(n,r)}function g(t){var r=t-d,n=t-h;return void 0===d||r>=e||r<0||v&&n>=s}function x(){var t,r,n,o=i();if(g(o))return O(o);p=setTimeout(x,(t=o-d,r=o-h,n=e-t,v?u(n,s-r):n))}function O(t){return(p=void 0,m&&c)?b(t):(c=l=void 0,f)}function w(){var t,r=i(),n=g(r);if(c=arguments,l=this,d=r,n){if(void 0===p)return h=t=d,p=setTimeout(x,e),y?b(t):f;if(v)return clearTimeout(p),p=setTimeout(x,e),b(d)}return void 0===p&&(p=setTimeout(x,e)),f}return e=o(e)||0,n(r)&&(y=!!r.leading,s=(v="maxWait"in r)?a(o(r.maxWait)||0,e):s,m="trailing"in r?!!r.trailing:m),w.cancel=function(){void 0!==p&&clearTimeout(p),h=0,c=d=l=p=void 0},w.flush=function(){return void 0===p?f:O(i())},w}},224283,(t,e,r)=>{var n=t.r(374009),i=t.r(12447);e.exports=function(t,e,r){var o=!0,a=!0;if("function"!=typeof t)throw TypeError("Expected a function");return i(r)&&(o="leading"in r?!!r.leading:o,a="trailing"in r?!!r.trailing:a),n(t,e,{leading:o,maxWait:e,trailing:a})}},25172,(t,e,r)=>{e.exports=function(t,e){return t===e||t!=t&&e!=e}},126063,(t,e,r)=>{var n=t.r(838199),i=t.r(708088),o=t.r(666305),a=t.r(45350),u=t.r(170237);e.exports=function(t,e,r){var c=a(t)?n:i;return r&&u(t,e,r)&&(e=void 0),c(t,o(e,3))}},482820,(t,e,r)=>{var n=t.r(333141);e.exports=function(t,e,r){var i=null==t?void 0:n(t,e);return void 0===i?r:i}},653336,(t,e,r)=>{e.exports=function(t){return t}},45350,(t,e,r)=>{e.exports=Array.isArray},351095,(t,e,r)=>{var n=t.r(771223),i=t.r(98376);e.exports=function(t){return null!=t&&i(t.length)&&!n(t)}},898892,(t,e,r)=>{var n=t.r(14943);e.exports=function(t,e){return n(t,e)}},771223,(t,e,r)=>{var n=t.r(377684),i=t.r(12447);e.exports=function(t){if(!i(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},98376,(t,e,r)=>{e.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=0x1fffffffffffff}},878948,(t,e,r)=>{var n=t.r(94241);e.exports=function(t){return n(t)&&t!=+t}},629873,(t,e,r)=>{e.exports=function(t){return null==t}},94241,(t,e,r)=>{var n=t.r(377684),i=t.r(877289);e.exports=function(t){return"number"==typeof t||i(t)&&"[object Number]"==n(t)}},12447,(t,e,r)=>{var n=t.r(368996);e.exports=function(t){var e=void 0===t?"undefined":n._(t);return null!=t&&("object"==e||"function"==e)}},877289,(t,e,r)=>{var n=t.r(368996);e.exports=function(t){return null!=t&&(void 0===t?"undefined":n._(t))=="object"}},101320,(t,e,r)=>{var n=t.r(115240),i=t.r(377684),o=t.r(962413),a=t.r(877289),u=Object.prototype,c=Function.prototype.toString,l=u.hasOwnProperty,s=c.call(Object);e.exports=function(t){if(!a(t)||"[object Object]"!=i(t))return!1;var e=o(t);if(null===e)return!0;var r=l.call(e,"constructor")&&e.constructor;return"function"==typeof r&&n._(r,r)&&c.call(r)==s}},20164,(t,e,r)=>{var n=t.r(377684),i=t.r(877289);e.exports=function(t){return!0===t||!1===t||i(t)&&"[object Boolean]"==n(t)}},385845,(t,e,r)=>{var n=t.r(377684),i=t.r(45350),o=t.r(877289);e.exports=function(t){return"string"==typeof t||!i(t)&&o(t)&&"[object String]"==n(t)}},361884,(t,e,r)=>{var n=t.r(368996),i=t.r(377684),o=t.r(877289);e.exports=function(t){return(void 0===t?"undefined":n._(t))=="symbol"||o(t)&&"[object Symbol]"==i(t)}},33679,(t,e,r)=>{var n=t.r(458877),i=t.r(848477),o=t.r(351095);e.exports=function(t){return o(t)?n(t):i(t)}},4879,(t,e,r)=>{e.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},710632,(t,e,r)=>{var n=t.r(892708),i=t.r(666305),o=t.r(907073),a=t.r(45350);e.exports=function(t,e){return(a(t)?n:o)(t,i(e,3))}},633303,(t,e,r)=>{var n=t.r(541891),i=t.r(710632);e.exports=function(t,e){return n(i(t,e),1)}},460793,(t,e,r)=>{var n=t.r(674548),i=t.r(163799),o=t.r(666305);e.exports=function(t,e){var r={};return e=o(e,3),i(t,function(t,i,o){n(r,i,e(t,i,o))}),r}},86966,(t,e,r)=>{var n=t.r(641015),i=t.r(580957),o=t.r(653336);e.exports=function(t){return t&&t.length?n(t,o,i):void 0}},657588,(t,e,r)=>{var n=t.r(587547);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var r=function(){var n=arguments,i=e?e.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);
2var a=t.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(i.Cache||n),r}i.Cache=n,e.exports=i},688832,(t,e,r)=>{var n=t.r(657588);e.exports=function(t){var e=n(t,function(t){return 500===r.size&&r.clear(),t}),r=e.cache;return e}},902677,(t,e,r)=>{var n=t.r(688832),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g;e.exports=n(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,function(t,r,n,i){e.push(n?i.replace(o,"$1"):r||t)}),e})},37544,(t,e,r)=>{var n=t.r(641015),i=t.r(298128),o=t.r(653336);e.exports=function(t){return t&&t.length?n(t,o,i):void 0}},631926,(t,e,r)=>{var n=t.r(139088);e.exports=function(){return n.Date.now()}},788099,(t,e,r)=>{var n=t.r(851477),i=t.r(666305),o=t.r(649379),a=t.r(45350),u=t.r(170237);e.exports=function(t,e,r){var c=a(t)?n:o;return r&&u(t,e,r)&&(e=void 0),c(t,i(e,3))}},831195,(t,e,r)=>{var n=t.r(541891),i=t.r(428138),o=t.r(395059),a=t.r(170237);e.exports=o(function(t,e){if(null==t)return[];var r=e.length;return r>1&&a(t,e[0],e[1])?e=[]:r>2&&a(e[0],e[1],e[2])&&(e=[e[0]]),i(t,n(e,1),[])})},24013,(t,e,r)=>{e.exports=function(){return!1}},356956,(t,e,r)=>{var n=t.r(368996),i=t.r(139088),o=t.r(24013),a="object"==n._(r)&&r&&!r.nodeType&&r,u=a&&"object"==n._(e)&&e&&!e.nodeType&&e,c=u&&u.exports===a?i.Buffer:void 0;e.exports=(c?c.isBuffer:void 0)||o},382560,(t,e,r)=>{var n=t.r(773759),i=1/0;e.exports=function(t){return t?(t=n(t))===i||t===-i?(t<0?-1:1)*17976931348623157e292:t==t?t:0:0===t?t:0}},304653,(t,e,r)=>{var n=t.r(382560);e.exports=function(t){var e=n(t),r=e%1;return e==e?r?e-r:e:0}},426965,(t,e,r)=>{var n=t.r(356445),i=t.r(666305),o=t.r(304653),a=Math.max;e.exports=function(t,e,r){var u=null==t?0:t.length;if(!u)return -1;var c=null==r?0:o(r);return c<0&&(c=a(u+c,0)),n(t,i(e,3),c)}},160191,(t,e,r)=>{e.exports=t.r(195200)(t.r(426965))},773759,(t,e,r)=>{var n=t.r(830364),i=t.r(12447),o=t.r(361884),a=0/0,u=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,l=/^0o[0-7]+$/i,s=parseInt;e.exports=function(t){if("number"==typeof t)return t;if(o(t))return a;if(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=n(t);var r=c.test(t);return r||l.test(t)?s(t.slice(2),r?2:8):u.test(t)?a:+t}},552210,(t,e,r)=>{"use strict";var n,i=t.r(368996),o=Symbol.for("react.element"),a=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),f=Symbol.for("react.context"),p=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),v=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen");function g(t){if("object"===(void 0===t?"undefined":i._(t))&&null!==t){var e=t.$$typeof;switch(e){case o:switch(t=t.type){case u:case l:case c:case h:case y:return t;default:switch(t=t&&t.$$typeof){case p:case f:case d:case m:case v:case s:return t;default:return e}}case a:return e}}}n=Symbol.for("react.module.reference"),r.ContextConsumer=f,r.ContextProvider=s,r.Element=o,r.ForwardRef=d,r.Fragment=u,r.Lazy=m,r.Memo=v,r.Portal=a,r.Profiler=l,r.StrictMode=c,r.Suspense=h,r.SuspenseList=y,r.isAsyncMode=function(){return!1},r.isConcurrentMode=function(){return!1},r.isContextConsumer=function(t){return g(t)===f},r.isContextProvider=function(t){return g(t)===s},r.isElement=function(t){return"object"===(void 0===t?"undefined":i._(t))&&null!==t&&t.$$typeof===o},r.isForwardRef=function(t){return g(t)===d},r.isFragment=function(t){return g(t)===u},r.isLazy=function(t){return g(t)===m},r.isMemo=function(t){return g(t)===v},r.isPortal=function(t){return g(t)===a},r.isProfiler=function(t){return g(t)===l},r.isStrictMode=function(t){return g(t)===c},r.isSuspense=function(t){return g(t)===h},r.isSuspenseList=function(t){return g(t)===y},r.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===u||t===l||t===c||t===h||t===y||t===b||"object"===(void 0===t?"undefined":i._(t))&&null!==t&&(t.$$typeof===m||t.$$typeof===v||t.$$typeof===s||t.$$typeof===f||t.$$typeof===d||t.$$typeof===n||void 0!==t.getModuleId)||!1},r.typeOf=g},179684,(t,e,r)=>{"use strict";e.exports=t.r(552210)},273050,t=>{"use strict";var e=t.i(108487),r=t.i(271645),n=t.i(745009),i=t.i(500075),o=Object.getOwnPropertyNames,a=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty;function c(t,e){return function(r,n,i){return t(r,n,i)&&e(r,n,i)}}function l(t){return function(e,r,n){if(!e||!r||(void 0===e?"undefined":(0,i._)(e))!=="object"||(void 0===r?"undefined":(0,i._)(r))!=="object")return t(e,r,n);var o=n.cache,a=o.get(e),u=o.get(r);if(a&&u)return a===r&&u===e;o.set(e,r),o.set(r,e);var c=t(e,r,n);return o.delete(e),o.delete(r),c}}function s(t){return o(t).concat(a(t))}var f=Object.hasOwn||function(t,e){return u.call(t,e)};function p(t,e){return t===e||!t&&!e&&t!=t&&e!=e}var d=Object.getOwnPropertyDescriptor,h=Object.keys;function y(t,e){return t.byteLength===e.byteLength&&A(new Uint8Array(t),new Uint8Array(e))}function v(t,e,r){var n=t.length;if(e.length!==n)return!1;for(;n-- >0;)if(!r.equals(t[n],e[n],n,n,t,e,r))return!1;return!0}function m(t,e){return t.byteLength===e.byteLength&&A(new Uint8Array(t.buffer,t.byteOffset,t.byteLength),new Uint8Array(e.buffer,e.byteOffset,e.byteLength))}function b(t,e){return p(t.getTime(),e.getTime())}function g(t,e){return t.name===e.name&&t.message===e.message&&t.cause===e.cause&&t.stack===e.stack}function x(t,e){return t===e}function O(t,e,r){var n,i,o=t.size;if(o!==e.size)return!1;if(!o)return!0;for(var a=Array(o),u=t.entries(),c=0;(n=u.next())&&!n.done;){for(var l=e.entries(),s=!1,f=0;(i=l.next())&&!i.done;){if(a[f]){f++;continue}var p=n.value,d=i.value;if(r.equals(p[0],d[0],c,f,t,e,r)&&r.equals(p[1],d[1],p[0],d[0],t,e,r)){s=a[f]=!0;break}f++}if(!s)return!1;c++}return!0}function w(t,e,r){var n=h(t),i=n.length;if(h(e).length!==i)return!1;for(;i-- >0;)if(!k(t,e,r,n[i]))return!1;return!0}function S(t,e,r){var n,i,o,a=s(t),u=a.length;if(s(e).length!==u)return!1;for(;u-- >0;
2)if(!k(t,e,r,n=a[u])||(i=d(t,n),o=d(e,n),(i||o)&&(!i||!o||i.configurable!==o.configurable||i.enumerable!==o.enumerable||i.writable!==o.writable)))return!1;return!0}function j(t,e){return p(t.valueOf(),e.valueOf())}function P(t,e){return t.source===e.source&&t.flags===e.flags}function E(t,e,r){var n,i,o=t.size;if(o!==e.size)return!1;if(!o)return!0;for(var a=Array(o),u=t.values();(n=u.next())&&!n.done;){for(var c=e.values(),l=!1,s=0;(i=c.next())&&!i.done;){if(!a[s]&&r.equals(n.value,i.value,n.value,i.value,t,e,r)){l=a[s]=!0;break}s++}if(!l)return!1}return!0}function A(t,e){var r=t.byteLength;if(e.byteLength!==r||t.byteOffset!==e.byteOffset)return!1;for(;r-- >0;)if(t[r]!==e[r])return!1;return!0}function _(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 k(t,e,r,n){return("_owner"===n||"__o"===n||"__v"===n)&&(!!t.$$typeof||!!e.$$typeof)||f(e,n)&&r.equals(t[n],e[n],n,n,t,e,r)}var T={"[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},M=Object.prototype.toString,C=N();function N(){var t,e,r,n,o,a,u,s,f,d,h,k,C,N,D,I,B=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},L=B.circular,R=B.createInternalComparator,z=B.createState,U=B.strict,F=(e=(t=function(t){var e=t.circular,r=t.createCustomConfig,n=t.strict,i={areArrayBuffersEqual:y,areArraysEqual:n?S:v,areDataViewsEqual:m,areDatesEqual:b,areErrorsEqual:g,areFunctionsEqual:x,areMapsEqual:n?c(O,S):O,areNumbersEqual:p,areObjectsEqual:n?S:w,arePrimitiveWrappersEqual:j,areRegExpsEqual:P,areSetsEqual:n?c(E,S):E,areTypedArraysEqual:n?c(A,S):A,areUrlsEqual:_,unknownTagComparators:void 0};if(r&&(i=Object.assign({},i,r(i))),e){var o=l(i.areArraysEqual),a=l(i.areMapsEqual),u=l(i.areObjectsEqual),s=l(i.areSetsEqual);i=Object.assign({},i,{areArraysEqual:o,areMapsEqual:a,areObjectsEqual:u,areSetsEqual:s})}return i}(B)).areArrayBuffersEqual,r=t.areArraysEqual,n=t.areDataViewsEqual,o=t.areDatesEqual,a=t.areErrorsEqual,u=t.areFunctionsEqual,s=t.areMapsEqual,f=t.areNumbersEqual,d=t.areObjectsEqual,h=t.arePrimitiveWrappersEqual,k=t.areRegExpsEqual,C=t.areSetsEqual,N=t.areTypedArraysEqual,D=t.areUrlsEqual,I=t.unknownTagComparators,function(t,c,l){if(t===c)return!0;if(null==t||null==c)return!1;var p=void 0===t?"undefined":(0,i._)(t);if(p!==(void 0===c?"undefined":(0,i._)(c)))return!1;if("object"!==p)return"number"===p?f(t,c,l):"function"===p&&u(t,c,l);var y=t.constructor;if(y!==c.constructor)return!1;if(y===Object)return d(t,c,l);if(Array.isArray(t))return r(t,c,l);if(y===Date)return o(t,c,l);if(y===RegExp)return k(t,c,l);if(y===Map)return s(t,c,l);if(y===Set)return C(t,c,l);var v=M.call(t);if("[object Date]"===v)return o(t,c,l);if("[object RegExp]"===v)return k(t,c,l);if("[object Map]"===v)return s(t,c,l);if("[object Set]"===v)return C(t,c,l);if("[object Object]"===v)return"function"!=typeof t.then&&"function"!=typeof c.then&&d(t,c,l);if("[object URL]"===v)return D(t,c,l);if("[object Error]"===v)return a(t,c,l);if("[object Arguments]"===v)return d(t,c,l);if(T[v])return N(t,c,l);if("[object ArrayBuffer]"===v)return e(t,c,l);if("[object DataView]"===v)return n(t,c,l);if("[object Boolean]"===v||"[object Number]"===v||"[object String]"===v)return h(t,c,l);if(I){var m=I[v];if(!m){var b=null!=t?t[Symbol.toStringTag]:void 0;b&&(m=I[b])}if(m)return m(t,c,l)}return!1}),q=R?R(F):function(t,e,r,n,i,o,a){return F(t,e,a)};return function(t){var e=t.circular,r=t.comparator,n=t.createState,i=t.equals,o=t.strict;if(n)return function(t,a){var u=n(),c=u.cache;return r(t,a,{cache:void 0===c?e?new WeakMap:void 0:c,equals:i,meta:u.meta,strict:o})};if(e)return function(t,e){return r(t,e,{cache:new WeakMap,equals:i,meta:void 0,strict:o})};var a={cache:void 0,equals:i,meta:void 0,strict:o};return function(t,e){return r(t,e,a)}}({circular:void 0!==L&&L,comparator:F,createState:z,equals:q,strict:void 0!==U&&U})}function D(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=-1;requestAnimationFrame(function n(i){if(r<0&&(r=i),i-r>e)t(i),r=-1;else{var o;o=n,"u">typeof requestAnimationFrame&&requestAnimationFrame(o)}})}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 B(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function L(t){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function R(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function z(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
2e%2?R(Object(r),!0).forEach(function(e){U(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):R(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function U(t,e,r){var n;return(n=function(t,e){if("object"!==L(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==L(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"===L(n)?n:String(n))in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}N({strict:!0}),N({circular:!0}),N({circular:!0,strict:!0}),N({createInternalComparator:function(){return p}}),N({strict:!0,createInternalComparator:function(){return p}}),N({circular:!0,createInternalComparator:function(){return p}}),N({circular:!0,createInternalComparator:function(){return p},strict:!0});var F=function(t){return t},q=function(t,e){return Object.keys(e).reduce(function(r,n){return z(z({},r),{},U({},n,t(n,e[n])))},{})},W=function(t,e,r){return t.map(function(t){return"".concat(t.replace(/([A-Z])/g,function(t){return"-".concat(t.toLowerCase())})," ").concat(e,"ms ").concat(r)}).join(",")},V=function(t,e,r,n,i,o,a,u){};function X(t,e){if(t){if("string"==typeof t)return H(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return H(t,e)}}function H(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var G=function(t,e){return[0,3*t,3*e-6*t,3*t-3*e+1]},Y=function(t,e){return t.map(function(t,r){return t*Math.pow(e,r)}).reduce(function(t,e){return t+e})},K=function(t,e){return function(r){return Y(G(t,e),r)}},$=function(){for(var t,e,r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];var o=n[0],a=n[1],u=n[2],c=n[3];if(1===n.length)switch(n[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 l=n[0].split("(");if("cubic-bezier"===l[0]&&4===l[1].split(")")[0].split(",").length){var s,f=function(t){if(Array.isArray(t))return t}(s=l[1].split(")")[0].split(",").map(function(t){return parseFloat(t)}))||function(t){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,i,o,a=[],u=!0,c=!1;try{i=(e=e.call(t)).next,!1;for(;!(u=(r=i.call(e)).done)&&(a.push(r.value),4!==a.length);u=!0);}catch(t){c=!0,n=t}finally{try{if(!u&&null!=e.return&&(o=e.return(),Object(o)!==o))return}finally{if(c)throw n}}return a}}(s)||X(s,4)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();o=f[0],a=f[1],u=f[2],c=f[3]}else V(!1,"[configBezier]: arguments should be one of oneOf 'linear', 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', instead received %s",n)}V([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",n);var p=K(o,u),d=K(a,c),h=(t=o,e=u,function(r){var n;return Y([].concat(function(t){if(Array.isArray(t))return H(t)}(n=G(t,e).map(function(t,e){return t*e}).slice(1))||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||X(n)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[0]),r)}),y=function(t){for(var e=t>1?1:t,r=e,n=0;n<8;++n){var i,o=p(r)-e,a=h(r);if(1e-4>Math.abs(o-e)||a<1e-4)break;r=(i=r-o/a)>1?1:i<0?0:i}return d(r)};return y.isStepper=!1,y},Z=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.stiff,r=void 0===e?100:e,n=t.damping,i=void 0===n?8:n,o=t.dt,a=void 0===o?17:o,u=function(t,e,n){var o=n+(-(t-e)*r-n*i)*a/1e3,u=n*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),r=0;r<t;r++)e[r]=arguments[r];var n=e[0];if("string"==typeof n)switch(n){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return $(n);case"spring":return Z();
2default:if("cubic-bezier"===n.split("(")[0])return $(n);V(!1,"[configEasing]: first argument should be one of 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', 'linear' and 'spring', instead received %s",e)}return"function"==typeof n?n:(V(!1,"[configEasing]: first argument type should be function or string, instead received %s",e),null)};function Q(t){return(Q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tt(t){return function(t){if(Array.isArray(t))return to(t)}(t)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||ti(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function te(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tr(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?te(Object(r),!0).forEach(function(e){tn(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):te(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tn(t,e,r){var n;return(n=function(t,e){if("object"!==Q(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==Q(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"===Q(n)?n:String(n))in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ti(t,e){if(t){if("string"==typeof t)return to(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return to(t,e)}}function to(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var ta=function(t,e,r){return t+(e-t)*r},tu=function(t){return t.from!==t.to},tc=function t(e,r,n){var i=q(function(t,r){if(tu(r)){var n,i=function(t){if(Array.isArray(t))return t}(n=e(r.from,r.to,r.velocity))||function(t){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,i,o,a=[],u=!0,c=!1;try{i=(e=e.call(t)).next,!1;for(;!(u=(r=i.call(e)).done)&&(a.push(r.value),2!==a.length);u=!0);}catch(t){c=!0,n=t}finally{try{if(!u&&null!=e.return&&(o=e.return(),Object(o)!==o))return}finally{if(c)throw n}}return a}}(n)||ti(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=i[0],a=i[1];return tr(tr({},r),{},{from:o,velocity:a})}return r},r);return n<1?q(function(t,e){return tu(e)?tr(tr({},e),{},{velocity:ta(e.velocity,i[t].velocity,n),from:ta(e.from,i[t].from,n)}):e},r):t(e,i,n-1)};let tl=function(t,e,r,n,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(r,n){return tr(tr({},r),{},tn({},n,[t[n],e[n]]))},{}),l=u.reduce(function(r,n){return tr(tr({},r),{},tn({},n,{from:t[n],velocity:0,to:e[n]}))},{}),s=-1,f=function(){return null};return f=r.isStepper?function(n){o||(o=n);var a=(n-o)/r.dt;l=tc(r,l,a),i(tr(tr(tr({},t),e),q(function(t,e){return e.from},l))),o=n,Object.values(l).filter(tu).length&&(s=requestAnimationFrame(f))}:function(o){a||(a=o);var u=(o-a)/n,l=q(function(t,e){return ta.apply(void 0,tt(e).concat([r(u)]))},c);if(i(tr(tr(tr({},t),e),l)),u<1)s=requestAnimationFrame(f);else{var p=q(function(t,e){return ta.apply(void 0,tt(e).concat([r(1)]))},c);i(tr(tr(tr({},t),e),p))}},function(){return requestAnimationFrame(f),function(){cancelAnimationFrame(s)}}};function ts(t){return(ts="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 tf=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function tp(t){return function(t){if(Array.isArray(t))return td(t)}(t)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t){if(t){if("string"==typeof t)return td(t,void 0);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))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 r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function th(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function ty(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
2e%2?th(Object(r),!0).forEach(function(e){tv(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):th(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tv(t,e,r){return(e=tm(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tm(t){var e=function(t,e){if("object"!==ts(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==ts(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===ts(e)?e:String(e)}function tb(t,e){return(tb=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tg(t,e){if(e&&("object"===ts(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return tx(t)}function tx(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tO(t){return(tO=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var tw=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");a.prototype=Object.create(t&&t.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),Object.defineProperty(a,"prototype",{writable:!1}),t&&tb(a,t);var n,i,o=(n=function(){if("u"<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,e=tO(a);return t=n?Reflect.construct(e,arguments,tO(this).constructor):e.apply(this,arguments),tg(this,t)});function a(t,r){if(!(0,e._)(this,a))throw TypeError("Cannot call a class as a function");var n=o.call(this,t,r),i=n.props,u=i.isActive,c=i.attributeName,l=i.from,s=i.to,f=i.steps,p=i.children,d=i.duration;if(n.handleStyleChange=n.handleStyleChange.bind(tx(n)),n.changeStyle=n.changeStyle.bind(tx(n)),!u||d<=0)return n.state={style:{}},"function"==typeof p&&(n.state={style:s}),tg(n);if(f&&f.length)n.state={style:f[0].style};else if(l){if("function"==typeof p)return n.state={style:l},tg(n);n.state={style:c?tv({},c,l):l}}else n.state={style:{}};return n}return i=[{key:"componentDidMount",value:function(){var t=this.props,e=t.isActive,r=t.canBegin;this.mounted=!0,e&&r&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(t){var e=this.props,r=e.isActive,n=e.canBegin,i=e.attributeName,o=e.shouldReAnimate,a=e.to,u=e.from,c=this.state.style;if(n){if(!r){var l={style:i?tv({},i,a):a};this.state&&c&&(i&&c[i]!==a||!i&&c!==a)&&this.setState(l);return}if(!C(t.to,a)||!t.canBegin||!t.isActive){var s=!t.canBegin||!t.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var f=s||o?u:t.to;if(this.state&&c){var p={style:i?tv({},i,f):f};(i&&c[i]!==f||!i&&c!==f)&&this.setState(p)}this.runAnimation(ty(ty({},this.props),{},{from:f,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var t=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),t&&t()}},{key:"handleStyleChange",value:function(t){this.changeStyle(t)}},{key:"changeStyle",value:function(t){this.mounted&&this.setState({style:t})}},{key:"runJSAnimation",value:function(t){var e=this,r=t.from,n=t.to,i=t.duration,o=t.easing,a=t.begin,u=t.onAnimationEnd,c=t.onAnimationStart,l=tl(r,n,J(o),i,this.changeStyle);this.manager.start([c,a,function(){e.stopJSAnimation=l()},i,u])}},{key:"runStepAnimation",value:function(t){var e=this,r=t.steps,n=t.begin,i=t.onAnimationStart,o=r[0],a=o.style,u=o.duration;return this.manager.start([i].concat(tp(r.reduce(function(t,n,i){if(0===i)return t;var o=n.duration,a=n.easing,u=void 0===a?"ease":a,c=n.style,l=n.properties,s=n.onAnimationEnd,f=i>0?r[i-1]:n,p=l||Object.keys(c);if("function"==typeof u||"spring"===u)return[].concat(tp(t),[e.runJSAnimation.bind(e,{from:f.style,to:c,duration:o,easing:u}),o]);var d=W(p,o,u),h=ty(ty(ty({},f.style),c),{},{transition:d});return[].concat(tp(t),[h,o,s]).filter(F)},[a,Math.max(void 0===u?0:u,n)])),[t.onAnimationEnd]))}},{key:"runAnimation",value:function(t){this.manager||(this.manager=(e=function(){return null},r=!1,n=function t(n){if(!r){if(Array.isArray(n)){if(!n.length)return;var i=function(t){if(Array.isArray(t))return t}(n)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||function(t){if(t){if("string"==typeof t)return B(t,void 0);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return B(t,void 0)}}
2(n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=i[0],a=i.slice(1);return"number"==typeof o?void D(t.bind(null,a),o):(t(o),void D(t.bind(null,a)))}"object"===I(n)&&e(n),"function"==typeof n&&n()}},{stop:function(){r=!0},start:function(t){r=!1,n(t)},subscribe:function(t){return e=t,function(){e=function(){return null}}}}));var e,r,n,i=t.begin,o=t.duration,a=t.attributeName,u=t.to,c=t.easing,l=t.onAnimationStart,s=t.onAnimationEnd,f=t.steps,p=t.children,d=this.manager;if(this.unSubscribe=d.subscribe(this.handleStyleChange),"function"==typeof c||"function"==typeof p||"spring"===c)return void this.runJSAnimation(t);if(f.length>1)return void this.runStepAnimation(t);var h=a?tv({},a,u):u,y=W(Object.keys(h),o,c);d.start([l,i,ty(ty({},h),{},{transition:y}),o,s])}},{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 r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,tf)),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,ty(ty({},o),{},{style:ty(ty({},void 0===n?{}:n),u),className:i}))};return 1===a?c(r.Children.only(e)):r.default.createElement("div",null,r.Children.map(e,function(t){return c(t)}))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,tm(n.key),n)}}(a.prototype,i),Object.defineProperty(a,"prototype",{writable:!1}),a}(r.PureComponent);tw.displayName="Animate",tw.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},tw.propTypes={from:n.default.oneOfType([n.default.object,n.default.string]),to:n.default.oneOfType([n.default.object,n.default.string]),attributeName:n.default.string,duration:n.default.number,begin:n.default.number,easing:n.default.oneOfType([n.default.string,n.default.func]),steps:n.default.arrayOf(n.default.shape({duration:n.default.number.isRequired,style:n.default.object.isRequired,easing:n.default.oneOfType([n.default.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),n.default.func]),properties:n.default.arrayOf("string"),onAnimationEnd:n.default.func})),children:n.default.oneOfType([n.default.node,n.default.func]),isActive:n.default.bool,canBegin:n.default.bool,onAnimationEnd:n.default.func,shouldReAnimate:n.default.bool,onAnimationStart:n.default.func,onAnimationReStart:n.default.func};var tS=t.i(915874),tj=t.i(931067),tP=t.i(971151),tE=t.i(954402);let tA=r.default.createContext(null);function t_(t,e){var n=Object.create(null);return t&&r.Children.map(t,function(t){return t}).forEach(function(t){n[t.key]=e&&(0,r.isValidElement)(t)?e(t):t}),n}function tk(t,e,r){return null!=r[e]?r[e]:t.props[e]}var tT=Object.values||function(t){return Object.keys(t).map(function(e){return t[e]})},tM=function(t){function e(e,r){var n=t.call(this,e,r)||this,i=n.handleExited.bind((0,tP.default)(n));return n.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},n}(0,tE.default)(e,t);var n=e.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},e.getDerivedStateFromProps=function(t,e){var n,i,o=e.children,a=e.handleExited;return{children:e.firstRender?t_(t.children,function(e){return(0,r.cloneElement)(e,{onExited:a.bind(null,e),in:!0,appear:tk(e,"appear",t),enter:tk(e,"enter",t),exit:tk(e,"exit",t)})}):(Object.keys(i=function(t,e){function r(r){return r in e?e[r]:t[r]}t=t||{},e=e||{};var n,i=Object.create(null),o=[];for(var a in t)a in e?o.length&&(i[a]=o,o=[]):o.push(a);var u={};for(var c in e){if(i[c])for(n=0;n<i[c].length;n++){var l=i[c][n];u[i[c][n]]=r(l)}u[c]=r(c)}for(n=0;n<o.length;n++)u[o[n]]=r(o[n]);return u}
2(o,n=t_(t.children))).forEach(function(e){var u=i[e];if((0,r.isValidElement)(u)){var c=e in o,l=e in n,s=o[e],f=(0,r.isValidElement)(s)&&!s.props.in;l&&(!c||f)?i[e]=(0,r.cloneElement)(u,{onExited:a.bind(null,u),in:!0,exit:tk(u,"exit",t),enter:tk(u,"enter",t)}):l||!c||f?l&&c&&(0,r.isValidElement)(s)&&(i[e]=(0,r.cloneElement)(u,{onExited:a.bind(null,u),in:s.props.in,exit:tk(u,"exit",t),enter:tk(u,"enter",t)})):i[e]=(0,r.cloneElement)(u,{in:!1})}}),i),firstRender:!1}},n.handleExited=function(t,e){var r=t_(this.props.children);t.key in r||(t.props.onExited&&t.props.onExited(e),this.mounted&&this.setState(function(e){var r=(0,tj.default)({},e.children);return delete r[t.key],{children:r}}))},n.render=function(){var t=this.props,e=t.component,n=t.childFactory,i=(0,tS.default)(t,["component","childFactory"]),o=this.state.contextValue,a=tT(this.state.children).map(n);return(delete i.appear,delete i.enter,delete i.exit,null===e)?r.default.createElement(tA.Provider,{value:o},a):r.default.createElement(tA.Provider,{value:o},r.default.createElement(e,i,a))},e}(r.default.Component);tM.propTypes={},tM.defaultProps={component:"div",childFactory:function(t){return t}};var tC=t.i(174080),tN="unmounted",tD="exited",tI="entering",tB="entered",tL="exiting",tR=function(t){function e(e,r){var n,i=t.call(this,e,r)||this,o=r&&!r.isMounting?e.enter:e.appear;return i.appearStatus=null,e.in?o?(n=tD,i.appearStatus=tI):n=tB:n=e.unmountOnExit||e.mountOnEnter?tN:tD,i.state={status:n},i.nextCallback=null,i}(0,tE.default)(e,t),e.getDerivedStateFromProps=function(t,e){return t.in&&e.status===tN?{status:tD}:null};var n=e.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(t){var e=null;if(t!==this.props){var r=this.state.status;this.props.in?r!==tI&&r!==tB&&(e=tI):(r===tI||r===tB)&&(e=tL)}this.updateStatus(!1,e)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var t,e,r,n=this.props.timeout;return t=e=r=n,null!=n&&"number"!=typeof n&&(t=n.exit,e=n.enter,r=void 0!==n.appear?n.appear:e),{exit:t,enter:e,appear:r}},n.updateStatus=function(t,e){if(void 0===t&&(t=!1),null!==e)if(this.cancelNextCallback(),e===tI){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:tC.default.findDOMNode(this);r&&r.scrollTop}this.performEnter(t)}else this.performExit();else this.props.unmountOnExit&&this.state.status===tD&&this.setState({status:tN})},n.performEnter=function(t){var e=this,r=this.props.enter,n=this.context?this.context.isMounting:t,i=this.props.nodeRef?[n]:[tC.default.findDOMNode(this),n],o=i[0],a=i[1],u=this.getTimeouts(),c=n?u.appear:u.enter;(t||r)&&1?(this.props.onEnter(o,a),this.safeSetState({status:tI},function(){e.props.onEntering(o,a),e.onTransitionEnd(c,function(){e.safeSetState({status:tB},function(){e.props.onEntered(o,a)})})})):this.safeSetState({status:tB},function(){e.props.onEntered(o)})},n.performExit=function(){var t=this,e=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:tC.default.findDOMNode(this);e?(this.props.onExit(n),this.safeSetState({status:tL},function(){t.props.onExiting(n),t.onTransitionEnd(r.exit,function(){t.safeSetState({status:tD},function(){t.props.onExited(n)})})})):this.safeSetState({status:tD},function(){t.props.onExited(n)})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},n.setNextCallback=function(t){var e=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,e.nextCallback=null,t(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},n.onTransitionEnd=function(t,e){this.setNextCallback(e);var r=this.props.nodeRef?this.props.nodeRef.current:tC.default.findDOMNode(this),n=null==t&&!this.props.addEndListener;if(!r||n)return void setTimeout(this.nextCallback,0);if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=t&&setTimeout(this.nextCallback,t)},n.render=function(){var t=this.state.status;if(t===tN)return null;var e=this.props,n=e.children,i=(e.in,e.mountOnEnter,e.unmountOnExit,e.appear,e.enter,e.exit,e.timeout,e.addEndListener,e.onEnter,e.onEntering,e.onEntered,e.onExit,e.onExiting,e.onExited,e.nodeRef,(0,tS.default)(e,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return r.default.createElement(tA.Provider,{value:null},"function"==typeof n?n(t,i):r.default.cloneElement(r.default.Children.only(n),i))},e}(r.default.Component);function tz(){}tR.contextType=tA,tR.propTypes={},tR.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter
2:!0,exit:!0,onEnter:tz,onEntering:tz,onEntered:tz,onExit:tz,onExiting:tz,onExited:tz},tR.UNMOUNTED=tN,tR.EXITED=tD,tR.ENTERING=tI,tR.ENTERED=tB,tR.EXITING=tL;var tU=["children","appearOptions","enterOptions","leaveOptions"];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)}function tq(){return(tq=Object.assign.bind()).apply(this,arguments)}function tW(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tV(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tW(Object(r),!0).forEach(function(e){tY(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tW(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tX(t,e){return(tX=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tH(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tG(t){return(tG=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tY(t,e,r){return(e=tK(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tK(t){var e=function(t,e){if("object"!==tF(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==tF(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===tF(e)?e:String(e)}var t$=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.steps,r=t.duration;return e&&e.length?e.reduce(function(t,e){return t+(Number.isFinite(e.duration)&&e.duration>0?e.duration:0)},0):Number.isFinite(r)?r:0},tZ=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");a.prototype=Object.create(t&&t.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),Object.defineProperty(a,"prototype",{writable:!1}),t&&tX(a,t);var n,i,o=(n=function(){if("u"<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,e=tG(a);return t=n?Reflect.construct(e,arguments,tG(this).constructor):e.apply(this,arguments),function(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 tH(t)}(this,t)});function a(){var t;if(!(0,e._)(this,a))throw TypeError("Cannot call a class as a function");return tY(tH(t=o.call(this)),"handleEnter",function(e,r){var n=t.props,i=n.appearOptions,o=n.enterOptions;t.handleStyleActive(r?i:o)}),tY(tH(t),"handleExit",function(){var e=t.props.leaveOptions;t.handleStyleActive(e)}),t.state={isActive:!1},t}return i=[{key:"handleStyleActive",value:function(t){if(t){var e=t.onAnimationEnd?function(){t.onAnimationEnd()}:null;this.setState(tV(tV({},t),{},{onAnimationEnd:e,isActive:!0}))}}},{key:"parseTimeout",value:function(){var t=this.props,e=t.appearOptions,r=t.enterOptions,n=t.leaveOptions;return t$(e)+t$(r)+t$(n)}},{key:"render",value:function(){var t=this,e=this.props,n=e.children,i=(e.appearOptions,e.enterOptions,e.leaveOptions,function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(e,tU));return r.default.createElement(tR,tq({},i,{onEnter:this.handleEnter,onExit:this.handleExit,timeout:this.parseTimeout()}),function(){return r.default.createElement(tw,t.state,r.Children.only(n))})}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,tK(n.key),n)}}
2(a.prototype,i),Object.defineProperty(a,"prototype",{writable:!1}),a}(r.Component);function tJ(t){var e=t.component,n=t.children,i=t.appear,o=t.enter,a=t.leave;return r.default.createElement(tM,{component:e},r.Children.map(n,function(t,e){return r.default.createElement(tZ,{appearOptions:i,enterOptions:o,leaveOptions:a,key:"child-".concat(e)},t)}))}tZ.propTypes={appearOptions:n.default.object,enterOptions:n.default.object,leaveOptions:n.default.object,children:n.default.element},tJ.propTypes={appear:n.default.object,enter:n.default.object,leave:n.default.object,children:n.default.oneOfType([n.default.array,n.default.element]),component:n.default.any},tJ.defaultProps={component:"span"},t.s(["default",0,tw],273050)},475225,239425,318519,t=>{"use strict";var e=t.i(108487),r=t.i(271645),n=t.i(207670),i=t.i(273050),o=t.i(898892),a=t.i(629873),u=t.i(997865),c=t.i(734251),l=t.i(322787),s=t.i(969212),f=t.i(794395),p=t.i(781977),d=t.i(562728),h=t.i(198770),y=t.i(373393),v=t.i(40992),m=t.i(771223),b=t.i(101320),g=t.i(20164),x=t.i(629905);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(){return(w=Object.assign.bind()).apply(this,arguments)}function S(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function j(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function P(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?j(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=O(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=O(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==O(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var E=function(t,e,r,n,i){var o=r-n;return"M ".concat(t,",").concat(e)+"L ".concat(t+r,",").concat(e)+"L ".concat(t+r-o/2,",").concat(e+i)+"L ".concat(t+r-o/2-n,",").concat(e+i)+"L ".concat(t,",").concat(e," Z")},A={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},_=function(t){var e,o=P(P({},A),t),a=(0,r.useRef)(),u=function(t){if(Array.isArray(t))return t}(e=(0,r.useState)(-1))||function(t){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,i,o,a=[],u=!0,c=!1;try{i=(e=e.call(t)).next,!1;for(;!(u=(r=i.call(e)).done)&&(a.push(r.value),2!==a.length);u=!0);}catch(t){c=!0,n=t}finally{try{if(!u&&null!=e.return&&(o=e.return(),Object(o)!==o))return}finally{if(c)throw n}}return a}}(e)||function(t){if(t){if("string"==typeof t)return S(t,2);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return S(t,2)}}(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.")}(),c=u[0],l=u[1];(0,r.useEffect)(function(){if(a.current&&a.current.getTotalLength)try{var t=a.current.getTotalLength();t&&l(t)}catch(t){}},[]);var s=o.x,f=o.y,d=o.upperWidth,h=o.lowerWidth,y=o.height,v=o.className,m=o.animationEasing,b=o.animationDuration,g=o.animationBegin,x=o.isUpdateAnimationActive;if(s!==+s||f!==+f||d!==+d||h!==+h||y!==+y||0===d&&0===h||0===y)return null;var O=(0,n.default)("recharts-trapezoid",v);return x?r.default.createElement(i.default,{canBegin:c>0,from:{upperWidth:0,lowerWidth:0,height:y,x:s,y:f},to:{upperWidth:d,lowerWidth:h,height:y,x:s,y:f},duration:b,animationEasing:m,isActive:x},function(t){var e=t.upperWidth,n=t.lowerWidth,u=t.height,l=t.x,s=t.y;return r.default.createElement(i.default,{canBegin:c>0,from:"0px ".concat(-1===c?1:c,"px"),to:"".concat(c,"px 0px"),attributeName:"strokeDasharray",begin:g,duration:b,easing:m},r.default.createElement("path",w({},(0,p.filterProps)(o,!0),{className:O,d:E(l,s,e,n,u),ref:a})))}):r.default.createElement("g",null,r.default.createElement("path",w({},(0,p.filterProps)(o,!0),{className:O,d:E(s,f,d,h,y)})))},k=t.i(768970);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 M(){return(M=Object.assign.bind()).apply(this,arguments)}function C(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function N(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
2e%2?C(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=T(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=T(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==T(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):C(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var D=function(t){var e=t.cx,r=t.cy,n=t.radius,i=t.angle,o=t.sign,a=t.isExternal,u=t.cornerRadius,c=t.cornerIsExternal,l=u*(a?1:-1)+n,s=Math.asin(u/l)/k.RADIAN,f=c?i:i+o*s;return{center:(0,k.polarToCartesian)(e,r,l,f),circleTangency:(0,k.polarToCartesian)(e,r,n,f),lineTangency:(0,k.polarToCartesian)(e,r,l*Math.cos(s*k.RADIAN),c?i-o*s:i),theta:s}},I=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,i=t.outerRadius,o=t.startAngle,a=t.endAngle,u=(0,f.mathSign)(a-o)*Math.min(Math.abs(a-o),359.999),c=o+u,l=(0,k.polarToCartesian)(e,r,i,o),s=(0,k.polarToCartesian)(e,r,i,c),p="M ".concat(l.x,",").concat(l.y,"\n A ").concat(i,",").concat(i,",0,\n ").concat(+(Math.abs(u)>180),",").concat(+(o>c),",\n ").concat(s.x,",").concat(s.y,"\n ");if(n>0){var d=(0,k.polarToCartesian)(e,r,n,o),h=(0,k.polarToCartesian)(e,r,n,c);p+="L ".concat(h.x,",").concat(h.y,"\n A ").concat(n,",").concat(n,",0,\n ").concat(+(Math.abs(u)>180),",").concat(+(o<=c),",\n ").concat(d.x,",").concat(d.y," Z")}else p+="L ".concat(e,",").concat(r," Z");return p},B=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,i=t.outerRadius,o=t.cornerRadius,a=t.forceCornerRadius,u=t.cornerIsExternal,c=t.startAngle,l=t.endAngle,s=(0,f.mathSign)(l-c),p=D({cx:e,cy:r,radius:i,angle:c,sign:s,cornerRadius:o,cornerIsExternal:u}),d=p.circleTangency,h=p.lineTangency,y=p.theta,v=D({cx:e,cy:r,radius:i,angle:l,sign:-s,cornerRadius:o,cornerIsExternal:u}),m=v.circleTangency,b=v.lineTangency,g=v.theta,x=u?Math.abs(c-l):Math.abs(c-l)-y-g;if(x<0)return a?"M ".concat(h.x,",").concat(h.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 "):I({cx:e,cy:r,innerRadius:n,outerRadius:i,startAngle:c,endAngle:l});var O="M ".concat(h.x,",").concat(h.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(s<0),",").concat(d.x,",").concat(d.y,"\n A").concat(i,",").concat(i,",0,").concat(+(x>180),",").concat(+(s<0),",").concat(m.x,",").concat(m.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(s<0),",").concat(b.x,",").concat(b.y,"\n ");if(n>0){var w=D({cx:e,cy:r,radius:n,angle:c,sign:s,isExternal:!0,cornerRadius:o,cornerIsExternal:u}),S=w.circleTangency,j=w.lineTangency,P=w.theta,E=D({cx:e,cy:r,radius:n,angle:l,sign:-s,isExternal:!0,cornerRadius:o,cornerIsExternal:u}),A=E.circleTangency,_=E.lineTangency,k=E.theta,T=u?Math.abs(c-l):Math.abs(c-l)-P-k;if(T<0&&0===o)return"".concat(O,"L").concat(e,",").concat(r,"Z");O+="L".concat(_.x,",").concat(_.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(s<0),",").concat(A.x,",").concat(A.y,"\n A").concat(n,",").concat(n,",0,").concat(+(T>180),",").concat(+(s>0),",").concat(S.x,",").concat(S.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(s<0),",").concat(j.x,",").concat(j.y,"Z")}else O+="L".concat(e,",").concat(r,"Z");return O},L={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},R=function(t){var e,i=N(N({},L),t),o=i.cx,a=i.cy,u=i.innerRadius,c=i.outerRadius,l=i.cornerRadius,s=i.forceCornerRadius,d=i.cornerIsExternal,h=i.startAngle,y=i.endAngle,v=i.className;if(c<u||h===y)return null;var m=(0,n.default)("recharts-sector",v),b=c-u,g=(0,f.getPercentValue)(l,b,0,!0);return e=g>0&&360>Math.abs(h-y)?B({cx:o,cy:a,innerRadius:u,outerRadius:c,cornerRadius:Math.min(g,b/2),forceCornerRadius:s,cornerIsExternal:d,startAngle:h,endAngle:y}):I({cx:o,cy:a,innerRadius:u,outerRadius:c,startAngle:h,endAngle:y}),r.default.createElement("path",M({},(0,p.filterProps)(i,!0),{className:m,d:e,role:"img"}))};t.s(["Sector",0,R],239425);var z=t.i(913659),U=["option","shapeType","propTransformer","activeClassName","isActive"];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 q(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function W(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
2e%2?q(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=F(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=F(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==F(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):q(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function V(t){var e=t.shapeType,n=t.elementProps;switch(e){case"rectangle":return r.default.createElement(x.Rectangle,n);case"trapezoid":return r.default.createElement(_,n);case"sector":return r.default.createElement(R,n);case"symbols":if("symbols"===e)return r.default.createElement(z.Symbols,n);break;default:return null}}function X(t){var e,n=t.option,i=t.shapeType,o=t.propTransformer,a=t.activeClassName,c=t.isActive,l=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,U);if((0,r.isValidElement)(n))e=(0,r.cloneElement)(n,W(W({},l),(0,r.isValidElement)(n)?n.props:n));else if((0,m.default)(n))e=n(l);else if((0,b.default)(n)&&!(0,g.default)(n)){var s=(void 0===o?function(t,e){return W(W({},e),t)}:o)(n,l);e=r.default.createElement(V,{shapeType:i,elementProps:s})}else e=r.default.createElement(V,{shapeType:i,elementProps:l});return c?r.default.createElement(u.Layer,{className:void 0===a?"recharts-active-shape":a},e):e}function H(t,e){return null!=e&&"trapezoids"in t.props}function G(t,e){return null!=e&&"sectors"in t.props}function Y(t,e){return null!=e&&"points"in t.props}function K(t,e){var r,n,i=t.x===(null==e||null==(r=e.labelViewBox)?void 0:r.x)||t.x===e.x,o=t.y===(null==e||null==(n=e.labelViewBox)?void 0:n.y)||t.y===e.y;return i&&o}function $(t,e){var r=t.endAngle===e.endAngle,n=t.startAngle===e.startAngle;return r&&n}function Z(t,e){var r=t.x===e.x,n=t.y===e.y,i=t.z===e.z;return r&&n&&i}t.s(["Shape",0,X,"getActiveShapeIndexForTooltip",0,function(t){var e,r,n,i=t.activeTooltipItem,a=t.graphicalItem,u=t.itemData,c=(H(a,i)?e="trapezoids":G(a,i)?e="sectors":Y(a,i)&&(e="points"),e),l=H(a,i)?null==(r=i.tooltipPayload)||null==(r=r[0])||null==(r=r.payload)?void 0:r.payload:G(a,i)?null==(n=i.tooltipPayload)||null==(n=n[0])||null==(n=n.payload)?void 0:n.payload:Y(a,i)?i.payload:{},s=u.filter(function(t,e){var r=(0,o.default)(l,t),n=a.props[c].filter(function(t){var e;return(H(a,i)?e=K:G(a,i)?e=$:Y(a,i)&&(e=Z),e)(t,i)}),u=a.props[c].indexOf(n[n.length-1]);return r&&e===u});return u.indexOf(s[s.length-1])},"isFunnel",0,H,"isPie",0,G,"isScatter",0,Y],318519);var J=["x","y"];function Q(t){return(Q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tt(){return(tt=Object.assign.bind()).apply(this,arguments)}function te(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tr(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?te(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=Q(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Q(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Q(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):te(Object(r)).forEac
2h(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tn(t,e){var r=t.x,n=t.y,i=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,J),o=parseInt("".concat(r),10),a=parseInt("".concat(n),10),u=parseInt("".concat(e.height||i.height),10),c=parseInt("".concat(e.width||i.width),10);return tr(tr(tr(tr(tr({},e),i),o?{x:o}:{}),a?{y:a}:{}),{},{height:u,width:c,name:e.name,radius:e.radius})}function ti(t){return r.default.createElement(X,tt({shapeType:"rectangle",propTransformer:tn,activeClassName:"recharts-active-bar"},t))}var to=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(r,n){if("number"==typeof t)return t;var i=(0,f.isNumber)(r)||(0,f.isNullish)(r);return i?t(r,n):(i||(0,v.default)(!1),e)}},ta=["value","background"];function tu(t){return(tu="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 tc(){return(tc=Object.assign.bind()).apply(this,arguments)}function tl(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function ts(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tl(Object(r),!0).forEach(function(e){ty(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tl(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tf(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,tv(n.key),n)}}function tp(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tp=function(){return!!t})()}function td(t){return(td=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function th(t,e){return(th=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function ty(t,e,r){return(e=tv(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tv(t){var e=function(t,e){if("object"!=tu(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tu(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tu(e)?e:e+""}var tm=function(t){var l,d;function v(){var t,r,n;if(!(0,e._)(this,v))throw TypeError("Cannot call a class as a function");for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=v,n=[].concat(o),r=td(r),ty(t=function(t,e){if(e&&("object"===tu(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,tp()?Reflect.construct(r,n||[],td(this).constructor):r.apply(this,n)),"state",{isAnimationFinished:!1}),ty(t,"id",(0,f.uniqueId)("recharts-bar-")),ty(t,"handleAnimationEnd",function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),e&&e()}),ty(t,"handleAnimationStart",function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),e&&e()}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return v.prototype=Object.create(t&&t.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),Object.defineProperty(v,"prototype",{writable:!1}),t&&th(v,t),l=[{key:"renderRectanglesStatically",value:function(t){var e=this,n=this.props,i=n.shape,o=n.dataKey,a=n.activeIndex,c=n.activeBar,l=(0,p.filterProps)(this.props,!1);return t&&t.map(function(t,n){var s=n===a,f=ts(ts(ts({},l),t),{},{isActive:s,option:s?c:i,index:n,dataKey:o,onAnimationStart:e.handleAnimationStart,onAnimationEnd:e.handleAnimationEnd});return r.default.createElement(u.Layer,tc({className:"recharts-bar-rectangle"},(0,y.adaptEventsOfChild)(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,"-").concat(n)}),r.default.createElement(ti,f))})}},{key:"renderRectanglesWithAnimation",value:function(){var t=this,e=this.props,n=e.data,o=e.layout,a=e.isAnimationActive,c=e.animationBegin,l=e.animationDuration,s=e.animationEasing,p=e.animationId,d=this.state.prevData;return r.default.createElement(i.default,{begin:c,duration:l,isActive:a,easing:s,from:{t:0},to:{t:1},key:"bar-".concat(p),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(e){var i=e.t,a=n.map(function(t,e){var r=d&&d[e];if(r){var n=(0,f.interpolateNumber)(r.x,t.x),a=(0,f.interpolateNumber)(r.y,t.y),u=(0,f.interpolateNumber)(r.width,t.width),c=(0,f.interpolateNumber)(r.height,t.height);return ts(ts({},t),{},{x:n(i),y:a(i),width:u(i),height:c(i)})}if("horizontal"===o){var l=(0,f.interpolateNumber)(0,t.height)(i);return ts(ts({},t),{}
2,{y:t.y+t.height-l,height:l})}var s=(0,f.interpolateNumber)(0,t.width)(i);return ts(ts({},t),{},{width:s})});return r.default.createElement(u.Layer,null,t.renderRectanglesStatically(a))})}},{key:"renderRectangles",value:function(){var t=this.props,e=t.data,r=t.isAnimationActive,n=this.state.prevData;return r&&e&&e.length&&(!n||!(0,o.default)(n,e))?this.renderRectanglesWithAnimation():this.renderRectanglesStatically(e)}},{key:"renderBackground",value:function(){var t=this,e=this.props,n=e.data,i=e.dataKey,o=e.activeIndex,a=(0,p.filterProps)(this.props.background,!1);return n.map(function(e,n){e.value;var u=e.background,c=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(e,ta);if(!u)return null;var l=ts(ts(ts(ts(ts({},c),{},{fill:"#eee"},u),a),(0,y.adaptEventsOfChild)(t.props,e,n)),{},{onAnimationStart:t.handleAnimationStart,onAnimationEnd:t.handleAnimationEnd,dataKey:i,index:n,className:"recharts-bar-background-rectangle"});return r.default.createElement(ti,tc({key:"background-bar-".concat(n),option:t.props.background,isActive:n===o},l))})}},{key:"renderErrorBar",value:function(t,e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var n=this.props,i=n.data,o=n.xAxis,a=n.yAxis,l=n.layout,s=n.children,f=(0,p.findAllByType)(s,c.ErrorBar);if(!f)return null;var d="vertical"===l?i[0].height/2:i[0].width/2,y=function(t,e){var r=Array.isArray(t.value)?t.value[1]:t.value;return{x:t.x,y:t.y,value:r,errorVal:(0,h.getValueByDataKey)(t,e)}};return r.default.createElement(u.Layer,{clipPath:t?"url(#clipPath-".concat(e,")"):null},f.map(function(t){return r.default.cloneElement(t,{key:"error-bar-".concat(e,"-").concat(t.props.dataKey),data:i,xAxis:o,yAxis:a,layout:l,offset:d,dataPointFormatter:y})}))}},{key:"render",value:function(){var t=this.props,e=t.hide,i=t.data,o=t.className,c=t.xAxis,l=t.yAxis,f=t.left,p=t.top,d=t.width,h=t.height,y=t.isAnimationActive,v=t.background,m=t.id;if(e||!i||!i.length)return null;var b=this.state.isAnimationFinished,g=(0,n.default)("recharts-bar",o),x=c&&c.allowDataOverflow,O=l&&l.allowDataOverflow,w=x||O,S=(0,a.default)(m)?this.id:m;return r.default.createElement(u.Layer,{className:g},x||O?r.default.createElement("defs",null,r.default.createElement("clipPath",{id:"clipPath-".concat(S)},r.default.createElement("rect",{x:x?f:f-d/2,y:O?p:p-h/2,width:x?d:2*d,height:O?h:2*h}))):null,r.default.createElement(u.Layer,{className:"recharts-bar-rectangles",clipPath:w?"url(#clipPath-".concat(S,")"):null},v?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(w,S),(!y||b)&&s.LabelList.renderCallByParent(this.props,i))}}],d=[{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}}],l&&tf(v.prototype,l),d&&tf(v,d),Object.defineProperty(v,"prototype",{writable:!1}),v}(r.PureComponent);ty(tm,"displayName","Bar"),ty(tm,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!d.Global.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"}),ty(tm,"getComposedData",function(t){var e=t.props,r=t.item,n=t.barPosition,i=t.bandSize,o=t.xAxis,a=t.yAxis,u=t.xAxisTicks,c=t.yAxisTicks,s=t.stackedData,d=t.dataStartIndex,y=t.displayedData,v=t.offset,m=(0,h.findPositionOfBar)(n,r);if(!m)return null;var b=e.layout,g=r.type.defaultProps,x=void 0!==g?ts(ts({},g),r.props):r.props,O=x.dataKey,w=x.children,S=x.minPointSize,j="horizontal"===b?a:o,P=s?j.scale.domain():null,E=(0,h.getBaseValueOfBar)({numericAxis:j}),A=(0,p.findAllByType)(w,l.Cell),_=y.map(function(t,e){s?l=(0,h.truncateByDomain)(s[d+e],P):Array.isArray(l=(0,h.getValueByDataKey)(t,O))||(l=[E,l]);var n=to(S,tm.defaultProps.minPointSize)(l[1],e);if("horizontal"===b){var l,p,y,v,g,x,w,j=[a.scale(l[0]),a.scale(l[1])],_=j[0],k=j[1];p=(0,h.getCateCoordinateOfBar)({axis:o,ticks:u,bandSize:i,offset:m.offset,entry:t,index:e}),y=null!=(w=null!=k?k:_)?w:void 0,v=m.size;var T=_-k;if(g=Number.isNaN(T)?0:T,x={x:p,y:a.y,width:v,height:a.height},Math.abs(n)>0&&Math.abs(g)<Math.abs(n)){var M=(0,f.mathSign)(g||n)*(Math.abs(n)-Math.abs(g));y-=M,g+=M}}else{var C=[o.scale(l[0]),o.scale(l[1])],N=C[0],D=C[1];if(p=N,y=(0,h.getCateCoordinateOfBar)({axis:a,ticks:c,bandSize:i,offset:m.offset,entry:t,index:e}),v=D-N,g=m.size,x={x:o.x,y:y,width:o.width,height:g},Math.abs(n)>0&&Math.abs(v)<Math.abs(n)){var I=(0,f.mathSign)(v||n)*(Math.abs(n)-Math.abs(v));v+=I}}return ts(ts(ts({},t),{},{x:p,y:y,width:v,height:g,value:s?l:l[1],payload:t,background:x},A&&A[e]&&A[e].props),{},{tooltipPayload:[(0,h.getTooltipItem)(r,t)],tooltipPosition:{x:p+v/2,y:y+g/2}}
2)});return ts({data:_,layout:b},v)}),t.s(["Bar",0,tm],475225)},346230,775791,t=>{"use strict";var e=t.i(108487),r=t.i(271645),n=t.i(207670),i=t.i(182984),i=i,o=t.i(771223),a=t.i(144950),u=t.i(997865),c=t.i(209516),l=t.i(198770),s=t.i(794395);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p(Object(r),!0).forEach(function(e){h(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function h(t,e,r){var n;return(n=function(t,e){if("object"!=f(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=f(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==f(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var y=["Webkit","Moz","O","ms"],v=function(t,e){if(!t)return null;var r=t.replace(/(\w)/,function(t){return t.toUpperCase()}),n=y.reduce(function(t,n){return d(d({},t),{},h({},n+r,e))},{});return n[t]=e,n},m=t.i(781977);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 g(){return(g=Object.assign.bind()).apply(this,arguments)}function x(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function O(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?x(Object(r),!0).forEach(function(e){E(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function w(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,A(n.key),n)}}function S(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(S=function(){return!!t})()}function j(t){return(j=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function P(t,e){return(P=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function E(t,e,r){return(e=A(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function A(t){var e=function(t,e){if("object"!=b(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=b(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==b(e)?e:e+""}var _=function(t){var e=t.data,r=t.startIndex,n=t.endIndex,o=t.x,u=t.width,c=t.travellerWidth;if(!e||!e.length)return{};var l=e.length,s=(0,i.point)().domain((0,a.default)(0,l)).range([o,o+u-c]),f=s.domain().map(function(t){return s(t)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:s(r),endX:s(n),scale:s,scaleValues:f}},k=function(t){return t.changedTouches&&!!t.changedTouches.length},T=function(t){var i,a;function f(t){var r,n,i;if(!(0,e._)(this,f))throw TypeError("Cannot call a class as a function");return n=f,i=[t],n=j(n),E(r=function(t,e){if(e&&("object"===b(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,S()?Reflect.construct(n,i||[],j(this).constructor):n.apply(this,i)),"handleDrag",function(t){r.leaveTimer&&(clearTimeout(r.leaveTimer),r.leaveTimer=null),r.state.isTravellerMoving?r.handleTravellerMove(t):r.state.isSlideMoving&&r.handleSlideDrag(t)}),E(r,"handleTouchMove",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&r.handleDrag(t.changedTouches[0])}),E(r,"handleDragEnd",function(){r.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var t=r.props,e=t.endIndex,n=t.onDragEnd,i=t.startIndex;null==n||n({endIndex:e,startIndex:i})}),r.detachDragEndListener()}),E(r,"handleLeaveWrapper",function(){(r.state.isTravellerMoving||r.state.isSlideMoving)&&(r.leaveTimer=window.setTimeout(r.handleDragEnd,r.props.leaveTimeOut))}),E(r,"handleEnterSlideOrTraveller",function(){r.setState({isTextActive:!0})}),E(r,"handleLeaveSlideOrTraveller",function(){r.setState({isTextActive:!1})}),E(r,"handleSlideDragStart",function(t){var e=k(t)?t.changedTouches[0]:t;r.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:e.pageX}),r.attachDragEndListener()}),r.travellerDragStartHandlers={startX:r.handleTravellerDragStart.bind(r,"startX"),endX:r.handleTravellerDragStart.bind(r,"endX")},r.state={},r}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return f.prototype=Object.create(t&&t.prototype,{constructor:{value:f,writable:!0,configurable:!0}}),Object.defineProperty(f,"prototype",{writable:!1}),t&&P(f,t),i=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(t){var e=t.startX,r=t.endX,n=this.state.scaleValues,i=this.props,o=i.gap,a=i.data.length-1,u=Math.min(e,r),c=Math.max(e,r),l=f.getIndexInRange(n,u),s=f.getIndexInRange(n,c);return{startIndex:l-l%o,endIndex:s===a?a:s-s%o}}},{key:"getTextOfTick",value:function(t){var e=this.props,r=e.data,n=e.tickFormatter,i=e.dataKey,a=(0,l.getValueByDataKey)(r[t],i,t);return(0,o.default)(n)?n(a,t):a}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(t){var e=this.state,r=e.slideMoveStartX,n=e.startX,i=e.endX,o=this.props,a=o.x,u=o.width,c=o.travellerWidth,l=o.startIndex,s=o.endIndex,f=o.onChange,p=t.pageX-r;p>0?p=Math.min(p,a+u-c-i,a+u-c-n):p<0&&(p=Math.max(p,a-n,a-i));var d=this.getIndex({startX:n+p,endX:i+p});(d.startIndex!==l||d.endIndex!==s)&&f&&f(d),this.setState({startX:n+p,endX:i+p,slideMoveStartX:t.pageX})}},{key:"handleTravellerDragStart",value:function(t,e){var r=k(e)?e.changedTouches[0]:e;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:t,brushMoveStartX:r.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(t){var e=this.state,r=e.brushMoveStartX,n=e.movingTravellerId,i=e.endX,o=e.startX,a=this.state[n],u=this.props,c=u.x,l=u.width,s=u.travellerWidth,f=u.onChange,p=u.gap,d=u.data,h={startX:this.state.startX,endX:this.state.endX},y=t.pageX-r;y>0?y=Math.min(y,c+l-s-a):y<0&&(y=Math.max(y,c-a)),h[n]=a+y;var v=this.getIndex(h),m=v.startIndex,b=v.endIndex,g=function(){var t=d.length-1;return"startX"===n&&(i>o?m%p==0:b%p==0)||!!(i<o)&&b===t||"endX"===n&&(i>o?b%p==0:m%p==0)||!!(i>o)&&b===t};this.setState(E(E({},n,a+y),"brushMoveStartX",t.pageX),function(){f&&g()&&f(v)})}},{key:"handleTravellerMoveKeyboard",value:function(t,e){var r=this,n=this.state,i=n.scaleValues,o=n.startX,a=n.endX,u=this.state[e],c=i.indexOf(u);if(-1!==c){var l=c+t;if(-1!==l&&!(l>=i.length)){var s=i[l];
2"startX"===e&&s>=a||"endX"===e&&s<=o||this.setState(E({},e,s),function(){r.props.onChange(r.getIndex({startX:r.state.startX,endX:r.state.endX}))})}}}},{key:"renderBackground",value:function(){var t=this.props,e=t.x,n=t.y,i=t.width,o=t.height,a=t.fill,u=t.stroke;return r.default.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,l=r.Children.only(u);return l?r.default.cloneElement(l,{x:e,y:n,width:i,height:o,margin:c,compact:!0,data:a}):null}},{key:"renderTravellerLayer",value:function(t,e){var n,i,o=this,a=this.props,c=a.y,l=a.travellerWidth,s=a.height,p=a.traveller,d=a.ariaLabel,h=a.data,y=a.startIndex,v=a.endIndex,b=Math.max(t,this.props.x),g=O(O({},(0,m.filterProps)(this.props,!1)),{},{x:b,y:c,width:l,height:s}),x=d||"Min value: ".concat(null==(n=h[y])?void 0:n.name,", Max value: ").concat(null==(i=h[v])?void 0:i.name);return r.default.createElement(u.Layer,{tabIndex:0,role:"slider","aria-label":x,"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(),o.handleTravellerMoveKeyboard("ArrowRight"===t.key?1:-1,e))},onFocus:function(){o.setState({isTravellerFocused:!0})},onBlur:function(){o.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},f.renderTraveller(p,g))}},{key:"renderSlide",value:function(t,e){var n=this.props,i=n.y,o=n.height,a=n.stroke,u=n.travellerWidth,c=Math.min(t,e)+u,l=Math.max(Math.abs(e-t)-u,0);return r.default.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:a,fillOpacity:.2,x:c,y:i,width:l,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,l=t.stroke,s=this.state,f=s.startX,p=s.endX,d={pointerEvents:"none",fill:l};return r.default.createElement(u.Layer,{className:"recharts-brush-texts"},r.default.createElement(c.Text,g({textAnchor:"end",verticalAnchor:"middle",x:Math.min(f,p)-5,y:i+o/2},d),this.getTextOfTick(e)),r.default.createElement(c.Text,g({textAnchor:"start",verticalAnchor:"middle",x:Math.max(f,p)+a+5,y:i+o/2},d),this.getTextOfTick(n)))}},{key:"render",value:function(){var t=this.props,e=t.data,i=t.className,o=t.children,a=t.x,c=t.y,l=t.width,f=t.height,p=t.alwaysShowText,d=this.state,h=d.startX,y=d.endX,m=d.isTextActive,b=d.isSlideMoving,g=d.isTravellerMoving,x=d.isTravellerFocused;if(!e||!e.length||!(0,s.isNumber)(a)||!(0,s.isNumber)(c)||!(0,s.isNumber)(l)||!(0,s.isNumber)(f)||l<=0||f<=0)return null;var O=(0,n.default)("recharts-brush",i),w=1===r.default.Children.count(o),S=v("userSelect","none");return r.default.createElement(u.Layer,{className:O,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:S},this.renderBackground(),w&&this.renderPanorama(),this.renderSlide(h,y),this.renderTravellerLayer(h,"startX"),this.renderTravellerLayer(y,"endX"),(m||b||g||x||p)&&this.renderText())}}],a=[{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.default.createElement(r.default.Fragment,null,r.default.createElement("rect",{x:e,y:n,width:i,height:o,fill:a,stroke:"none"}),r.default.createElement("line",{x1:e+1,y1:u,x2:e+i-1,y2:u,fill:"none",stroke:"#fff"}),r.default.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.default.isValidElement(t)?r.default.cloneElement(t,e):(0,o.default)(t)?t(e):f.renderDefaultTraveller(e)}},{key:"getDerivedStateFromProps",value:function(t,e){var r=t.data,n=t.width,i=t.x,o=t.travellerWidth,a=t.updateId,u=t.startIndex,c=t.endIndex;if(r!==e.prevData||a!==e.prevUpdateId)return O({prevData:r,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:n},r&&r.length?_({data:r,width:n,x:i,travellerWidth:o,startIndex:u,endIndex:c}):{scale:null,scaleValues:null});if(e.scale&&(n!==e.prevWidth||i!==e.prevX||o!==e.prevTravellerWidth)){e.scale.range([i,i+n-o]);var l=e.scale.domain().map(function(t){return e.scale(t)});return{prevData:r,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:n,startX:e.scale(t.startIndex),endX:e.scale(t.endIndex),scaleValues:l}}return null}},{key:"getIndexInRange",value:function(t,e){for(var r=t.length,n=0,i=r-1;i-n>1;){var o=Math.floor((n+i)/2);t[o]>e?i=o:n=o}return e>=t[i]?i:n}}
2],i&&w(f.prototype,i),a&&w(f,a),Object.defineProperty(f,"prototype",{writable:!1}),f}(r.PureComponent);E(T,"displayName","Brush"),E(T,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1}),t.s(["Brush",0,T],346230),t.s(["ifOverflowMatches",0,function(t,e){var r=t.alwaysShow,n=t.ifOverflow;return r&&(n="extendDomain"),n===e}],775791)},734251,40992,t=>{"use strict";var e=t.i(108487),r=t.i(271645);function n(t,e){if(!t)throw Error("Invariant failed")}t.s(["default",0,n],40992);var i=t.i(997865),o=t.i(781977),a=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];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.bind()).apply(this,arguments)}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(s=function(){return!!t})()}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function p(t,e){return(p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function d(t,e,r){return(e=h(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function h(t){var e=function(t,e){if("object"!=u(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=u(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==u(e)?e:e+""}var y=function(t){var d;function y(){var t,r;if(!(0,e._)(this,y))throw TypeError("Cannot call a class as a function");return t=y,r=arguments,t=f(t),function(t,e){if(e&&("object"===u(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,s()?Reflect.construct(t,r||[],f(this).constructor):t.apply(this,r))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return y.prototype=Object.create(t&&t.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),t&&p(y,t),d=[{key:"render",value:function(){var t=this.props,e=t.offset,u=t.layout,s=t.width,f=t.dataKey,p=t.data,d=t.dataPointFormatter,h=t.xAxis,y=t.yAxis,v=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,a),m=(0,o.filterProps)(v,!1);"x"===this.props.direction&&"number"!==h.type&&n(!1);var b=p.map(function(t){var n,o,a=d(t,f),p=a.x,v=a.y,b=a.value,g=a.errorVal;if(!g)return null;var x=[];if(Array.isArray(g)){var O=function(t){if(Array.isArray(t))return t}(g)||function(t){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,i,o,a=[],u=!0,c=!1;try{i=(e=e.call(t)).next,!1;for(;!(u=(r=i.call(e)).done)&&(a.push(r.value),2!==a.length);u=!0);}catch(t){c=!0,n=t}finally{try{if(!u&&null!=e.return&&(o=e.return(),Object(o)!==o))return}finally{if(c)throw n}}return a}}(g)||function(t){if(t){if("string"==typeof t)return l(t,2);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return l(t,2)}}
2(g)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();n=O[0],o=O[1]}else n=o=g;if("vertical"===u){var w=h.scale,S=v+e,j=S+s,P=S-s,E=w(b-n),A=w(b+o);x.push({x1:A,y1:j,x2:A,y2:P}),x.push({x1:E,y1:S,x2:A,y2:S}),x.push({x1:E,y1:j,x2:E,y2:P})}else if("horizontal"===u){var _=y.scale,k=p+e,T=k-s,M=k+s,C=_(b-n),N=_(b+o);x.push({x1:T,y1:N,x2:M,y2:N}),x.push({x1:k,y1:C,x2:k,y2:N}),x.push({x1:T,y1:C,x2:M,y2:C})}return r.default.createElement(i.Layer,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.default.createElement("line",c({},t,{key:"line-".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)}))}))});return r.default.createElement(i.Layer,{className:"recharts-errorBars"},b)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,h(n.key),n)}}(y.prototype,d),Object.defineProperty(y,"prototype",{writable:!1}),y}(r.default.Component);d(y,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"}),d(y,"displayName","ErrorBar"),t.s(["ErrorBar",0,y],734251)},883966,228108,909928,785183,93230,731195,t=>{"use strict";var e=t.i(108487),r=t.i(271645),n=t.i(629873),i=t.i(771223),o=t.i(144950),a=t.i(482820),u=t.i(831195),c=t.i(224283),l=t.i(207670),s=t.i(40992),f=t.i(148337),p=t.i(997865),d=t.i(234239),h=t.i(559559),y=t.i(238279),v=t.i(629905),m=t.i(781977),b=t.i(346230),g=t.i(522220),x=t.i(794395),O=t.i(198770),w=t.i(940060),S=t.i(592792),j=t.i(768970),P=t.i(271047),E=t.i(171868),A=t.i(373393),_=t.i(586003),k=t.i(920810),T=t.i(318519),M=t.i(372733);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)}var N=["x","y","top","left","width","height","className"];function D(){return(D=Object.assign.bind()).apply(this,arguments)}function I(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}var B=function(t){var e=t.x,n=void 0===e?0:e,i=t.y,o=void 0===i?0:i,a=t.top,u=void 0===a?0:a,c=t.left,s=void 0===c?0:c,f=t.width,p=void 0===f?0:f,d=t.height,h=void 0===d?0:d,y=t.className,v=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?I(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=C(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=C(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==C(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):I(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}({x:n,y:o,top:u,left:s,width:p,height:h},function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,N));return(0,x.isNumber)(n)&&(0,x.isNumber)(o)&&(0,x.isNumber)(p)&&(0,x.isNumber)(h)&&(0,x.isNumber)(u)&&(0,x.isNumber)(s)?r.default.createElement("path",D({},(0,m.filterProps)(v,!0),{className:(0,l.default)("recharts-cross",y),d:"M".concat(n,",").concat(u,"v").concat(h,"M").concat(s,",").concat(o,"h").concat(p)})):null};function L(t){var e=t.cx,r=t.cy,n=t.radius,i=t.startAngle,o=t.endAngle;return{points:[(0,j.polarToCartesian)(e,r,n,i),(0,j.polarToCartesian)(e,r,n,o)],cx:e,cy:r,radius:n,startAngle:i,endAngle:o}}var R=t.i(239425);function z(t){return(z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function U(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function F(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
2e%2?U(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=z(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=z(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==z(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):U(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function q(t){var e,n,i,o,a=t.element,u=t.tooltipEventType,c=t.isActive,s=t.activeCoordinate,f=t.activePayload,p=t.offset,d=t.activeTooltipIndex,h=t.tooltipAxisBandSize,y=t.layout,b=t.chartName,g=null!=(n=a.props.cursor)?n:null==(i=a.type.defaultProps)?void 0:i.cursor;if(!a||!g||!c||!s||"ScatterChart"!==b&&"axis"!==u)return null;var x=M.Curve;if("ScatterChart"===b)o=s,x=B;else if("BarChart"===b)e=h/2,o={stroke:"none",fill:"#ccc",x:"horizontal"===y?s.x-e:p.left+.5,y:"horizontal"===y?p.top+.5:s.y-e,width:"horizontal"===y?h:p.width-1,height:"horizontal"===y?p.height-1:h},x=v.Rectangle;else if("radial"===y){var O=L(s),w=O.cx,S=O.cy,P=O.radius;o={cx:w,cy:S,startAngle:O.startAngle,endAngle:O.endAngle,innerRadius:P,outerRadius:P},x=R.Sector}else o={points:function(t,e,r){var n,i,o,a;if("horizontal"===t)o=n=e.x,i=r.top,a=r.top+r.height;else if("vertical"===t)a=i=e.y,n=r.left,o=r.left+r.width;else if(null!=e.cx&&null!=e.cy)if("centric"!==t)return L(e);else{var u=e.cx,c=e.cy,l=e.innerRadius,s=e.outerRadius,f=e.angle,p=(0,j.polarToCartesian)(u,c,l,f),d=(0,j.polarToCartesian)(u,c,s,f);n=p.x,i=p.y,o=d.x,a=d.y}return[{x:n,y:i},{x:o,y:a}]}(y,s,p)},x=M.Curve;var E=F(F(F(F({stroke:"#ccc",pointerEvents:"none"},p),o),(0,m.filterProps)(g,!1)),{},{payload:f,payloadIndex:d,className:(0,l.default)("recharts-tooltip-cursor",g.className)});return(0,r.isValidElement)(g)?(0,r.cloneElement)(g,E):(0,r.createElement)(x,E)}var W=t.i(846710),V=["item"],X=["children","className","width","height","style","compact","title","desc"];function H(t){return(H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function G(){return(G=Object.assign.bind()).apply(this,arguments)}function Y(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,u=[],c=!0,l=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){l=!0,i=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return u}}(t,e)||tt(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 K(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function $(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($=function(){return!!t})()}function Z(t){return(Z=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function J(t,e){return(J=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function Q(t){return function(t){if(Array.isArray(t))return te(t)}(t)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||tt(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 tt(t,e){if(t){if("string"==typeof t)return te(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return te(t,e)}}function te(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function tr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tn(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
2e%2?tr(Object(r),!0).forEach(function(e){ti(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tr(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function ti(t,e,r){return(e=to(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function to(t){var e=function(t,e){if("object"!=H(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=H(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==H(e)?e:e+""}var ta={xAxis:["bottom","top"],yAxis:["left","right"]},tu={width:"100%",height:"100%"},tc={x:0,y:0};function tl(t){return t}var ts=function(t,e,r,n){var i=e.find(function(t){return t&&t.index===r});if(i){if("horizontal"===t)return{x:i.coordinate,y:n.y};if("vertical"===t)return{x:n.x,y:i.coordinate};if("centric"===t){var o=i.coordinate,a=n.radius;return tn(tn(tn({},n),(0,j.polarToCartesian)(n.cx,n.cy,a,o)),{},{angle:o,radius:a})}var u=i.coordinate,c=n.angle;return tn(tn(tn({},n),(0,j.polarToCartesian)(n.cx,n.cy,u,c)),{},{angle:c,radius:u})}return tc},tf=function(t,e){var r=e.graphicalItems,n=e.dataStartIndex,i=e.dataEndIndex,o=(null!=r?r:[]).reduce(function(t,e){var r=e.props.data;return r&&r.length?[].concat(Q(t),Q(r)):t},[]);return o.length>0?o:t&&t.length&&(0,x.isNumber)(n)&&(0,x.isNumber)(i)?t.slice(n,i+1):[]};function tp(t){return"number"===t?[0,"auto"]:void 0}var td=function(t,e,r,n){var i=t.graphicalItems,o=t.tooltipAxis,a=tf(e,t);return r<0||!i||!i.length||r>=a.length?null:i.reduce(function(i,u){var c,l,s=null!=(c=u.props.data)?c:e;if(s&&t.dataStartIndex+t.dataEndIndex!==0&&t.dataEndIndex-t.dataStartIndex>=r&&(s=s.slice(t.dataStartIndex,t.dataEndIndex+1)),o.dataKey&&!o.allowDuplicatedCategory){var f=void 0===s?a:s;l=(0,x.findEntryInArray)(f,o.dataKey,n)}else l=s&&s[r]||a[r];return l?[].concat(Q(i),[(0,O.getTooltipItem)(u,l)]):i},[])},th=function(t,e,r,n){var i=n||{x:t.chartX,y:t.chartY},o="horizontal"===r?i.x:"vertical"===r?i.y:"centric"===r?i.angle:i.radius,a=t.orderedTooltipTicks,u=t.tooltipAxis,c=t.tooltipTicks,l=(0,O.calculateActiveTickIndex)(o,a,c,u);if(l>=0&&c){var s=c[l]&&c[l].value,f=td(t,e,l,s),p=ts(r,a,l,i);return{activeTooltipIndex:l,activeLabel:s,activePayload:f,activeCoordinate:p}}return null},ty=function(t,e){var r=e.axes,i=e.graphicalItems,a=e.axisType,u=e.axisIdKey,c=e.stackGroups,l=e.dataStartIndex,s=e.dataEndIndex,f=t.layout,p=t.children,d=t.stackOffset,h=(0,O.isCategoricalAxis)(f,a);return r.reduce(function(e,r){var y=void 0!==r.type.defaultProps?tn(tn({},r.type.defaultProps),r.props):r.props,v=y.type,m=y.dataKey,b=y.allowDataOverflow,g=y.allowDuplicatedCategory,w=y.scale,j=y.ticks,P=y.includeHidden,E=y[u];if(e[E])return e;var A=tf(t.data,{graphicalItems:i.filter(function(t){var e;return(u in t.props?t.props[u]:null==(e=t.type.defaultProps)?void 0:e[u])===E}),dataStartIndex:l,dataEndIndex:s}),_=A.length;(0,k.isDomainSpecifiedByUser)(y.domain,b,v)&&(C=(0,O.parseSpecifiedDomain)(y.domain,null,b),h&&("number"===v||"auto"!==w)&&(D=(0,O.getDomainOfDataByKey)(A,m,"category")));var T=tp(v);if(!C||0===C.length){var M,C,N,D,I,B=null!=(I=y.domain)?I:T;if(m){if(C=(0,O.getDomainOfDataByKey)(A,m,v),"category"===v&&h){var L=(0,x.hasDuplicate)(C);g&&L?(N=C,C=(0,o.default)(0,_)):g||(C=(0,O.parseDomainOfCategoryAxis)(B,C,r).reduce(function(t,e){return t.indexOf(e)>=0?t:[].concat(Q(t),[e])},[]))}else if("category"===v)C=g?C.filter(function(t){return""!==t&&!(0,n.default)(t)}):(0,O.parseDomainOfCategoryAxis)(B,C,r).reduce(function(t,e){return t.indexOf(e)>=0||""===e||(0,n.default)(e)?t:[].concat(Q(t),[e])},[]);else if("number"===v){var R=(0,O.parseErrorBarsOfAxis)(A,i.filter(function(t){var e,r,n=u in t.props?t.props[u]:null==(e=t.type.defaultProps)?void 0:e[u],i="hide"in t.props?t.props.hide:null==(r=t.type.defaultProps)?void 0:r.hide;return n===E&&(P||!i)}),m,a,f);R&&(C=R)}h&&("number"===v||"auto"!==w)&&(D=(0,O.getDomainOfDataByKey)(A,m,"category"))}else C=h?(0,o.default)(0,_):c&&c[E]&&c[E].hasStack&&"number"===v?"expand"===d?[0,1]:(0,O.getDomainOfStackGroups)(c[E].stackGroups,l,s):(0,O.getDomainOfItemsWithSameAxis)(A,i.filter(function(t){var e=u in t.props?t.props[u]:t.type.defaultProps[u],r="hide"in t.props?t.props.hide:t.type.defaultProps.hide;return e===E&&(P||!r)}),v,f,!0);"number"===v?(C=(0,S.detectReferenceElementsDomain)(p,C,E,a,j),B&&(C=(0,O.parseSpecifiedDomain)(B,C,b))):"category"===v&&B&&C.every(function(t){return B.indexOf(t)>=0})&&(C=B)}return tn(tn({},e),{},ti({},E,tn(tn({},y),{},{axisType:a,domain:C,categoricalDomain:D,duplicateDomain:N,originalDomain:null!=(M=y.domain)?M:T,isCategorical:h,layout:f})))},{})},tv=function(t,e){var r=e.graphicalItems,n=e.Axis,i=e.axisType,u=e.axisIdKey,c=e.stackGroups,l=e.dataStartIndex,s=e.dataEndIndex,f=t.layout,p=t.children,d=tf(t.data,{graphicalItems:r,dataStartIndex:l,dataEndIndex:s}),h=d.length,y=(0,O.isCategoricalAxis)(f,i),v=-1;return r.reduce(function(t,e){var m,b=(void 0!==e.type.defaultProps?tn(tn({},e.type.defaultProps),e.props):e.props)[u],g=tp("number");return t[b]?t:(v++,y?m=(0,o.default)(0,h):(m=c&&c[b]&&c[b].hasStack?(0,O.getDomainOfStackGroups)(c[b].stackGroups,l,s):(0,O.parseSpecifiedDomain)(g,(0,O.getDomainOfItemsWithSameAxis)(d,r.filter(function(t){var e,r,n=u in t.props?t.props[u]:null==(e=t.type.defaultProps)?void 0:e[u],i="hide"in t.props?t.props.hide:null==(r=t.type.defaultProps)?void 0:r.hide;return n===b&&!i}),"number",f),n.defaultProps.allowDataOverflow),m=(0,S.detectReferenceElementsDomain)(p,m,b,i)),tn(tn({},t),{},ti({},b,tn(tn({axisType:i},n.defaultProps),{},{hide:!0,orientation:(0,a.default)(ta,"".concat(i,".").concat(v%2),null),domain:m,originalDomain:g,isCategorical:y,layout:f}))))},{})},tm=function(t,e){var r=e.axisType,n=void 0===r?"xAxis":r,i=e.AxisComp,o=e.graphicalItems,a=e.stackGroups,u=e.dataStartIndex,c=e.dataEndIndex,l=t.children,s="".concat(n,"Id"),f=(0,m.findAllByType)(l,i),p={};return f&&f.length?p=ty(t,{axes:f,graphicalItems:o,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:u,dataEndIndex:c}):o&&o.length&&(p=tv(t,{Axis:i,graphicalItems:o,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:u,dataEndIndex:c})),p},tb=function(t){var e=(0,x.getAnyElementOfObject)(t),r=(0,O.getTicksOfAxis)(e,!1,!0);return{tooltipTicks:r,orderedTooltipTicks:(0,u.default)(r,function(t){return t.coordinate}),tooltipAxis:e,tooltipAxisBandSize:(0,O.getBandSizeOfAxis)(e,r)}},tg=function(t){var e=t.children,r=t.defaultShowTooltip,n=(0,m.findChildByType)(e,b.Brush),i=0,o=0;return t.data&&0!==t.data.length&&(o=t.data.length-1),n&&n.props&&(n.props.startIndex>=0&&(i=n.props.startIndex),n.props.endIndex>=0&&(o=n.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:i,dataEndIndex:o,activeTooltipIndex:-1,isTooltipActive:!!r}},tx=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"}},tO=function(t,e){var r=t.props,n=t.graphicalItems,i=t.xAxisMap,o=void 0===i?{}:i,u=t.yAxisMap,c=void 0===u?{}:u,l=r.width,s=r.height,f=r.children,p=r.margin||{},d=(0,m.findChildByType)(f,b.Brush),y=(0,m.findChildByType)(f,h.Legend),v=Object.keys(c).reduce(function(t,e){var r=c[e],n=r.orientation;return r.mirror||r.hide?t:tn(tn({},t),{},ti({},n,t[n]+r.width))},{left:p.left||0,right:p.right||0}),g=Object.keys(o).reduce(function(t,e){var r=o[e],n=r.orientation;return r.mirror||r.hide?t:tn(tn({},t),{},ti({},n,(0,a.default)(t,"".concat(n))+r.height))},{top:p.top||0,bottom:p.bottom||0}),x=tn(tn({},g),v),w=x.bottom;d&&(x.bottom+=d.props.height||b.Brush.defaultProps.height),y&&e&&(x=(0,O.appendOffsetOfLegend)(x,n,r,e));var S=l-x.left-x.right,j=s-x.top-x.bottom;return tn(tn({brushBottom:w},x),{},{width:Math.max(S,0),height:Math.max(j,0)})};
2t.s(["generateCategoricalChart",0,function(t){var o=t.chartName,u=t.GraphicalChild,h=t.defaultTooltipEventType,S=void 0===h?"axis":h,k=t.validateTooltipEventTypes,M=void 0===k?["axis"]:k,C=t.axisComponents,N=t.legendContent,D=t.formatAxisMap,I=t.defaultProps,B=function(t,e){var r=e.graphicalItems,i=e.stackGroups,o=e.offset,a=e.updateId,u=e.dataStartIndex,c=e.dataEndIndex,l=t.barSize,f=t.layout,p=t.barGap,d=t.barCategoryGap,h=t.maxBarSize,y=tx(f),v=y.numericAxisName,b=y.cateAxisName,g=!!r&&!!r.length&&r.some(function(t){var e=(0,m.getDisplayName)(t&&t.type);return e&&e.indexOf("Bar")>=0}),x=[];return r.forEach(function(r,y){var w=tf(t.data,{graphicalItems:[r],dataStartIndex:u,dataEndIndex:c}),S=void 0!==r.type.defaultProps?tn(tn({},r.type.defaultProps),r.props):r.props,j=S.dataKey,P=S.maxBarSize,E=S["".concat(v,"Id")],A=S["".concat(b,"Id")],_=C.reduce(function(t,r){var n=e["".concat(r.axisType,"Map")],i=S["".concat(r.axisType,"Id")];n&&n[i]||"zAxis"===r.axisType||(0,s.default)(!1);var o=n[i];return tn(tn({},t),{},ti(ti({},r.axisType,o),"".concat(r.axisType,"Ticks"),(0,O.getTicksOfAxis)(o)))},{}),k=_[b],T=_["".concat(b,"Ticks")],M=i&&i[E]&&i[E].hasStack&&(0,O.getStackedDataOfItem)(r,i[E].stackGroups),N=(0,m.getDisplayName)(r.type).indexOf("Bar")>=0,D=(0,O.getBandSizeOfAxis)(k,T),I=[],B=g&&(0,O.getBarSizeList)({barSize:l,stackGroups:i,totalSize:"xAxis"===b?_[b].width:"yAxis"===b?_[b].height:void 0});if(N){var L,R,z=(0,n.default)(P)?h:P,U=null!=(L=null!=(R=(0,O.getBandSizeOfAxis)(k,T,!0))?R:z)?L:0;I=(0,O.getBarPosition)({barGap:p,barCategoryGap:d,bandSize:U!==D?U:D,sizeList:B[A],maxBarSize:z}),U!==D&&(I=I.map(function(t){return tn(tn({},t),{},{position:tn(tn({},t.position),{},{offset:t.position.offset-U/2})})}))}var F=r&&r.type&&r.type.getComposedData;F&&x.push({props:tn(tn({},F(tn(tn({},_),{},{displayedData:w,props:t,dataKey:j,item:r,bandSize:D,barPosition:I,offset:o,stackedData:M,layout:f,dataStartIndex:u,dataEndIndex:c}))),{},ti(ti(ti({key:r.key||"item-".concat(y)},v,_[v]),b,_[b]),"animationId",a)),childIndex:(0,m.parseChildIndex)(r,t.children),item:r})}),x},L=function(t,e){var r=t.props,n=t.dataStartIndex,i=t.dataEndIndex,a=t.updateId;if(!(0,m.validateWidthHeight)({props:r}))return null;var c=r.children,l=r.layout,s=r.stackOffset,f=r.data,p=r.reverseStackOrder,d=tx(l),h=d.numericAxisName,y=d.cateAxisName,v=(0,m.findAllByType)(c,u),b=(0,O.getStackGroupsByAxisId)(f,v,"".concat(h,"Id"),"".concat(y,"Id"),s,p),g=C.reduce(function(t,e){var o="".concat(e.axisType,"Map");return tn(tn({},t),{},ti({},o,tm(r,tn(tn({},e),{},{graphicalItems:v,stackGroups:e.axisType===h&&b,dataStartIndex:n,dataEndIndex:i}))))},{}),x=tO(tn(tn({},g),{},{props:r,graphicalItems:v}),null==e?void 0:e.legendBBox);Object.keys(g).forEach(function(t){g[t]=D(r,g[t],x,t.replace("Map",""),o)});var w=tb(g["".concat(y,"Map")]),S=B(r,tn(tn({},g),{},{dataStartIndex:n,dataEndIndex:i,updateId:a,graphicalItems:v,stackGroups:b,offset:x}));return tn(tn({formattedGraphicalItems:S,graphicalItems:v,offset:x,stackGroups:b},w),g)},R=function(t){var u;function s(t){var u,f,p,h,y;if(!(0,e._)(this,s))throw TypeError("Cannot call a class as a function");return h=s,y=[t],h=Z(h),ti(p=function(t,e){if(e&&("object"===H(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,$()?Reflect.construct(h,y||[],Z(this).constructor):h.apply(this,y)),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),ti(p,"accessibilityManager",new _.AccessibilityManager),ti(p,"handleLegendBBoxUpdate",function(t){if(t){var e=p.state,r=e.dataStartIndex,n=e.dataEndIndex,i=e.updateId;p.setState(tn({legendBBox:t},L({props:p.props,dataStartIndex:r,dataEndIndex:n,updateId:i},tn(tn({},p.state),{},{legendBBox:t}))))}}),ti(p,"handleReceiveSyncEvent",function(t,e,r){p.props.syncId===t&&(r!==p.eventEmitterSymbol||"function"==typeof p.props.syncMethod)&&p.applySyncEvent(e)}),ti(p,"handleBrushChange",function(t){var e=t.startIndex,r=t.endIndex;if(e!==p.state.dataStartIndex||r!==p.state.dataEndIndex){var n=p.state.updateId;p.setState(function(){return tn({dataStartIndex:e,dataEndIndex:r},L({props:p.props,dataStartIndex:e,dataEndIndex:r,updateId:n},p.state))}),p.triggerSyncEvent({dataStartIndex:e,dataEndIndex:r})}}),ti(p,"handleMouseEnter",function(t){var e=p.getMouseInfo(t);if(e){var r=tn(tn({},e),{},{isTooltipActive:!0});p.setState(r),p.triggerSyncEvent(r);var n=p.props.onMouseEnter;(0,i.default)(n)&&n(r,t)}}),ti(p,"triggeredAfterMouseMove",function(t){var e=p.getMouseInfo(t),r=e?tn(tn({},e),{},{isTooltipActive:!0}):{isTooltipActive:!1};p.setState(r),p.triggerSyncEvent(r);var n=p.props.onMouseMove;(0,i.default)(n)&&n(r,t)}),ti(p,"handleItemMouseEnter",function(t){p.setState(function(){return{isTooltipActive:!0,activeItem:t,activePayload:t.tooltipPayload,activeCoordinate:t.tooltipPosition||{x:t.cx,y:t.cy}}})}),ti(p,"handleItemMouseLeave",function(){p.setState(function(){return{isTooltipActive:!1}})}),ti(p,"handleMouseMove",function(t){t.persist(),p.throttleTriggeredAfterMouseMove(t)}),ti(p,"handleMouseLeave",function(t){p.throttleTriggeredAfterMouseMove.cancel();var e={isTooltipActive:!1};p.setState(e),p.triggerSyncEvent(e);var r=p.props.onMouseLeave;(0,i.default)(r)&&r(e,t)}),ti(p,"handleOuterEvent",function(t){var e,r=(0,m.getReactEventByType)(t),n=(0,a.default)(p.props,"".concat(r));r&&(0,i.default)(n)&&n(null!=(e=/.*touch.*/i.test(r)?p.getMouseInfo(t.changedTouches[0]):p.getMouseInfo(t))?e:{},t)}),ti(p,"handleClick",function(t){var e=p.getMouseInfo(t);if(e){var r=tn(tn({},e),{},{isTooltipActive:!0});p.setState(r),p.triggerSyncEvent(r);var n=p.props.onClick;(0,i.default)(n)&&n(r,t)}}),ti(p,"handleMouseDown",function(t){var e=p.props.onMouseDown;(0,i.default)(e)&&e(p.getMouseInfo(t),t)}),ti(p,"handleMouseUp",function(t){var e=p.props.onMouseUp;(0,i.default)(e)&&e(p.getMouseInfo(t),t)}),ti(p,"handleTouchMove",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&p.throttleTriggeredAfterMouseMove(t.changedTouches[0])}),ti(p,"handleTouchStart",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&p.handleMouseDown(t.changedTouches[0])}),ti(p,"handleTouchEnd",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&p.handleMouseUp(t.changedTouches[0])}),ti(p,"handleDoubleClick",function(t){var e=p.props.onDoubleClick;(0,i.default)(e)&&e(p.getMouseInfo(t),t)}),ti(p,"handleContextMenu",function(t){var e=p.props.onContextMenu;(0,i.default)(e)&&e(p.getMouseInfo(t),t)}),ti(p,"triggerSyncEvent",function(t){void 0!==p.props.syncId&&E.eventCenter.emit(E.SYNC_EVENT,p.props.syncId,t,p.eventEmitterSymbol)}),ti(p,"applySyncEvent",function(t){var e=p.props,r=e.layout,n=e.syncMethod,i=p.state.updateId,o=t.dataStartIndex,a=t.dataEndIndex;if(void 0!==t.dataStartIndex||void 0!==t.dataEndIndex)p.setState(tn({dataStartIndex:o,dataEndIndex:a},L({props:p.props,dataStartIndex:o,dataEndIndex:a,updateId:i},p.state)));else if(void 0!==t.activeTooltipIndex){var u=t.chartX,c=t.chartY,l=t.activeTooltipIndex,s=p.state,f=s.offset,d=s.tooltipTicks;if(!f)return;if("function"==typeof n)l=n(d,t);else if("value"===n){l=-1;for(var h=0;h<d.length;h++)if(d[h].value===t.activeLabel){l=h;break}}var y=tn(tn({},f),{},{x:f.left,y:f.top}),v=Math.min(u,y.x+y.width),m=Math.min(c,y.y+y.height),b=d[l]&&d[l].value,g=td(p.state,p.props.data,l),x=d[l]?{x:"horizontal"===r?d[l].coordinate:v,y:"horizontal"===r?m:d[l].coordinate}:tc;p.setState(tn(tn({},t),{},{activeLabel:b,activeCoordinate:x,activePayload:g,activeTooltipIndex:l}))}else p.setState(t)}),ti(p,"renderCursor",function(t){var e,n=p.state,i=n.isTooltipActive,a=n.activeCoordinate,u=n.activePayload,c=n.offset,l=n.activeTooltipIndex,s=n.tooltipAxisBandSize,f=p.getTooltipEventType(),d=null!=(e=t.props.active)?e:i,h=p.props.layout,y=t.key||"_recharts-cursor";return r.default.createElement(q,{key:y,activeCoordinate:a,activePayload:u,activeTooltipIndex:l,chartName:o,element:t,isActive:d,layout:h,offset:c,tooltipAxisBandSize:s,tooltipEventType:f})}),ti(p,"renderPolarAxis",function(t,e,n){var i=(0,a.default)(t,"type.axisType"),o=(0,a.default)(p.state,"".concat(i,"Map")),u=t.type.defaultProps,c=void 0!==u?tn(tn({},u),t.props):t.props,s=o&&o[c["".concat(i,"Id")]];return(0,r.cloneElement)(t,tn(tn({},s),{},{className:(0,l.default)(i,s.className),key:t.key||"".concat(e,"-").concat(n),ticks:(0,O.getTicksOfAxis)(s,!0)}))}),ti(p,"renderPolarGrid",function(t){var e=t.props,n=e.radialLines,i=e.polarAngles,o=e.polarRadius,a=p.state,u=a.radiusAxisMap,c=a.angleAxisMap,l=(0,x.getAnyElementOfObject)(u),s=(0,x.getAnyElementOfObject)(c),f=s.cx,d=s.cy,h=s.innerRadius,y=s.outerRadius;return(0,r.cloneElement)(t,{polarAngles:Array.isArray(i)?i:(0,O.getTicksOfAxis)(s,!0).map(function(t){return t.coordinate}),polarRadius:Array.isArray(o)?o:(0,O.getTicksOfAxis)(l,!0).map(function(t){return t.coordinate}),cx:f,cy:d,innerRadius:h,outerRadius:y,key:t.key||"polar-grid",radialLines:n})}),ti(p,"renderLegend",function(){var t=p.state.formattedGraphicalItems,e=p.props,n=e.children,i=e.width,o=e.height,a=p.props.margin||{},u=i-(a.left||0)-(a.right||0),c=(0,w.getLegendProps)({children:n,formattedGraphicalItems:t,legendWidth:u,legendContent:N});if(!c)return null;var l=c.item,s=K(c,V);return(0,r.cloneElement)(l,tn(tn({},s),{}
2,{chartWidth:i,chartHeight:o,margin:a,onBBoxUpdate:p.handleLegendBBoxUpdate}))}),ti(p,"renderTooltip",function(){var t,e=p.props,n=e.children,i=e.accessibilityLayer,o=(0,m.findChildByType)(n,d.Tooltip);if(!o)return null;var a=p.state,u=a.isTooltipActive,c=a.activeCoordinate,l=a.activePayload,s=a.activeLabel,f=a.offset,h=null!=(t=o.props.active)?t:u;return(0,r.cloneElement)(o,{viewBox:tn(tn({},f),{},{x:f.left,y:f.top}),active:h,label:s,payload:h?l:[],coordinate:c,accessibilityLayer:i})}),ti(p,"renderBrush",function(t){var e=p.props,n=e.margin,i=e.data,o=p.state,a=o.offset,u=o.dataStartIndex,c=o.dataEndIndex,l=o.updateId;return(0,r.cloneElement)(t,{key:t.key||"_recharts-brush",onChange:(0,O.combineEventHandlers)(p.handleBrushChange,t.props.onChange),data:i,x:(0,x.isNumber)(t.props.x)?t.props.x:a.left,y:(0,x.isNumber)(t.props.y)?t.props.y:a.top+a.height+a.brushBottom-(n.bottom||0),width:(0,x.isNumber)(t.props.width)?t.props.width:a.width,startIndex:u,endIndex:c,updateId:"brush-".concat(l)})}),ti(p,"renderReferenceElement",function(t,e,n){if(!t)return null;var i=p.clipPathId,o=p.state,a=o.xAxisMap,u=o.yAxisMap,c=o.offset,l=t.type.defaultProps||{},s=t.props,f=s.xAxisId,d=void 0===f?l.xAxisId:f,h=s.yAxisId,y=void 0===h?l.yAxisId:h;return(0,r.cloneElement)(t,{key:t.key||"".concat(e,"-").concat(n),xAxis:a[d],yAxis:u[y],viewBox:{x:c.left,y:c.top,width:c.width,height:c.height},clipPathId:i})}),ti(p,"renderActivePoints",function(t){var e=t.item,r=t.activePoint,n=t.basePoint,i=t.childIndex,o=t.isRange,a=[],u=e.props.key,c=void 0!==e.item.type.defaultProps?tn(tn({},e.item.type.defaultProps),e.item.props):e.item.props,l=c.activeDot,f=tn(tn({index:i,dataKey:c.dataKey,cx:r.x,cy:r.y,r:4,fill:(0,O.getMainColorOfGraphicItem)(e.item),strokeWidth:2,stroke:"#fff",payload:r.payload,value:r.value},(0,m.filterProps)(l,!1)),(0,A.adaptEventHandlers)(l));return a.push(s.renderActiveDot(l,f,"".concat(u,"-activePoint-").concat(i))),n?a.push(s.renderActiveDot(l,tn(tn({},f),{},{cx:n.x,cy:n.y}),"".concat(u,"-basePoint-").concat(i))):o&&a.push(null),a}),ti(p,"renderGraphicChild",function(t,e,i){var o=p.filterFormatItem(t,e,i);if(!o)return null;var a=p.getTooltipEventType(),u=p.state,c=u.isTooltipActive,l=u.tooltipAxis,s=u.activeTooltipIndex,f=u.activeLabel,h=p.props.children,y=(0,m.findChildByType)(h,d.Tooltip),v=o.props,b=v.points,g=v.isRange,w=v.baseLine,S=void 0!==o.item.type.defaultProps?tn(tn({},o.item.type.defaultProps),o.item.props):o.item.props,j=S.activeDot,P=S.hide,E=S.activeBar,A=S.activeShape,_=!!(!P&&c&&y&&(j||E||A)),k={};"axis"!==a&&y&&"click"===y.props.trigger?k={onClick:(0,O.combineEventHandlers)(p.handleItemMouseEnter,t.props.onClick)}:"axis"!==a&&(k={onMouseLeave:(0,O.combineEventHandlers)(p.handleItemMouseLeave,t.props.onMouseLeave),onMouseEnter:(0,O.combineEventHandlers)(p.handleItemMouseEnter,t.props.onMouseEnter)});var T=(0,r.cloneElement)(t,tn(tn({},o.props),k));if(_)if(s>=0){if(l.dataKey&&!l.allowDuplicatedCategory){var M="function"==typeof l.dataKey?function(t){return"function"==typeof l.dataKey?l.dataKey(t.payload):null}:"payload.".concat(l.dataKey.toString());N=(0,x.findEntryInArray)(b,M,f),D=g&&w&&(0,x.findEntryInArray)(w,M,f)}else N=null==b?void 0:b[s],D=g&&w&&w[s];if(A||E){var C=void 0!==t.props.activeIndex?t.props.activeIndex:s;return[(0,r.cloneElement)(t,tn(tn(tn({},o.props),k),{},{activeIndex:C})),null,null]}if(!(0,n.default)(N))return[T].concat(Q(p.renderActivePoints({item:o,activePoint:N,basePoint:D,childIndex:s,isRange:g})))}else{var N,D,I,B=(null!=(I=p.getItemByXY(p.state.activeCoordinate))?I:{graphicalItem:T}).graphicalItem,L=B.item,R=void 0===L?t:L,z=B.childIndex,U=tn(tn(tn({},o.props),k),{},{activeIndex:z});return[(0,r.cloneElement)(R,U),null,null]}return g?[T,null,null]:[T,null]}),ti(p,"renderCustomized",function(t,e,n){return(0,r.cloneElement)(t,tn(tn({key:"recharts-customized-".concat(n)},p.props),p.state))}),ti(p,"renderMap",{CartesianGrid:{handler:tl,once:!0},ReferenceArea:{handler:p.renderReferenceElement},ReferenceLine:{handler:tl},ReferenceDot:{handler:p.renderReferenceElement},XAxis:{handler:tl},YAxis:{handler:tl},Brush:{handler:p.renderBrush,once:!0},Bar:{handler:p.renderGraphicChild},Line:{handler:p.renderGraphicChild},Area:{handler:p.renderGraphicChild},Radar:{handler:p.renderGraphicChild},RadialBar:{handler:p.renderGraphicChild},Scatter:{handler:p.renderGraphicChild},Pie:{handler:p.renderGraphicChild},Funnel:{handler:p.renderGraphicChild},Tooltip:{handler:p.renderCursor,once:!0},PolarGrid:{handler:p.renderPolarGrid,once:!0},PolarAngleAxis:{handler:p.renderPolarAxis},PolarRadiusAxis:{handler:p.renderPolarAxis},Customized:{handler:p.renderCustomized}}),p.clipPathId="".concat(null!=(u=t.id)?u:(0,x.uniqueId)("recharts"),"-clip"),p.throttleTriggeredAfterMouseMove=(0,c.default)(p.triggeredAfterMouseMove,null!=(f=t.throttleDelay)?f:1e3/60),p.state={},p}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return s.prototype=Object.create(t&&t.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),Object.defineProperty(s,"prototype",{writable:!1}),t&&J(s,t),u=[{key:"componentDidMount",value:function(){var t,e;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:null!=(t=this.props.margin.left)?t:0,top:null!=(e=this.props.margin.top)?e:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var t=this.props,e=t.children,r=t.data,n=t.height,i=t.layout,o=(0,m.findChildByType)(e,d.Tooltip);if(o){var a=o.props.defaultIndex;if("number"==typeof a&&!(a<0)&&!(a>this.state.tooltipTicks.length-1)){var u=this.state.tooltipTicks[a]&&this.state.tooltipTicks[a].value,c=td(this.state,r,a,u),l=this.state.tooltipTicks[a].coordinate,
2s=(this.state.offset.top+n)/2,f="horizontal"===i?{x:l,y:s}:{y:l,x:s},p=this.state.formattedGraphicalItems.find(function(t){return"Scatter"===t.item.type.name});p&&(f=tn(tn({},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 r,n;this.accessibilityManager.setDetails({offset:{left:null!=(r=this.props.margin.left)?r:0,top:null!=(n=this.props.margin.top)?n:0}})}return null}},{key:"componentDidUpdate",value:function(t){(0,m.isChildrenEqual)([(0,m.findChildByType)(t.children,d.Tooltip)],[(0,m.findChildByType)(this.props.children,d.Tooltip)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var t=(0,m.findChildByType)(this.props.children,d.Tooltip);if(t&&"boolean"==typeof t.props.shared){var e=t.props.shared?"axis":"item";return M.indexOf(e)>=0?e:S}return S}},{key:"getMouseInfo",value:function(t){if(!this.container)return null;var e=this.container,r=e.getBoundingClientRect(),n=(0,g.getOffset)(r),i={chartX:Math.round(t.pageX-n.left),chartY:Math.round(t.pageY-n.top)},o=r.width/e.offsetWidth||1,a=this.inRange(i.chartX,i.chartY,o);if(!a)return null;var u=this.state,c=u.xAxisMap,l=u.yAxisMap,s=this.getTooltipEventType(),f=th(this.state,this.props.data,this.props.layout,a);if("axis"!==s&&c&&l){var p=(0,x.getAnyElementOfObject)(c).scale,d=(0,x.getAnyElementOfObject)(l).scale,h=p&&p.invert?p.invert(i.chartX):null,y=d&&d.invert?d.invert(i.chartY):null;return tn(tn({},i),{},{xValue:h,yValue:y},f)}return f?tn(tn({},i),f):null}},{key:"inRange",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=this.props.layout,i=t/r,o=e/r;if("horizontal"===n||"vertical"===n){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,l=u.radiusAxisMap;if(c&&l){var s=(0,x.getAnyElementOfObject)(c);return(0,j.inRangeOfSector)({x:i,y:o},s)}return null}},{key:"parseEventsOfWrapper",value:function(){var t=this.props.children,e=this.getTooltipEventType(),r=(0,m.findChildByType)(t,d.Tooltip),n={};return r&&"axis"===e&&(n="click"===r.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onDoubleClick:this.handleDoubleClick,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,onContextMenu:this.handleContextMenu}),tn(tn({},(0,A.adaptEventHandlers)(this.props,this.handleOuterEvent)),n)}},{key:"addListener",value:function(){E.eventCenter.on(E.SYNC_EVENT,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){E.eventCenter.removeListener(E.SYNC_EVENT,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(t,e,r){for(var n=this.state.formattedGraphicalItems,i=0,o=n.length;i<o;i++){var a=n[i];if(a.item===t||a.props.key===t.key||e===(0,m.getDisplayName)(a.item.type)&&r===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.default.createElement("defs",null,r.default.createElement("clipPath",{id:t},r.default.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 r=Y(e,2),n=r[0],i=r[1];return tn(tn({},t),{},ti({},n,i.scale))},{}):null}},{key:"getYScales",value:function(){var t=this.state.yAxisMap;return t?Object.entries(t).reduce(function(t,e){var r=Y(e,2),n=r[0],i=r[1];return tn(tn({},t),{},ti({},n,i.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(t){var e;return null==(e=this.state.xAxisMap)||null==(e=e[t])?void 0:e.scale}},{key:"getYScaleByAxisId",value:function(t){var e;return null==(e=this.state.yAxisMap)||null==(e=e[t])?void 0:e.scale}},{key:"getItemByXY",value:function(t){var e=this.state,r=e.formattedGraphicalItems,n=e.activeItem;if(r&&r.length)for(var i=0,o=r.length;i<o;i++){var a=r[i],u=a.props,c=a.item,l=void 0!==c.type.defaultProps?tn(tn({},c.type.defaultProps),c.props):c.props,s=(0,m.getDisplayName)(c.type);if("Bar"===s){var f=(u.data||[]).find(function(e){return(0,v.isInRectangle)(t,e)});if(f)return{graphicalItem:a,payload:f}}else if("RadialBar"===s){var p=(u.data||[]).find(function(e){return(0,j.inRangeOfSector)(t,e)});if(p)return{graphicalItem:a,payload:p}}else if((0,T.isFunnel)(a,n)||(0,T.isPie)(a,n)||(0,T.isScatter)(a,n)){var d=(0,T.getActiveShapeIndexForTooltip)({graphicalItem:a,activeTooltipItem:n,itemData:l.data}),h=void 0===l.activeIndex?d:l.activeIndex;return{graphicalItem:tn(tn({},a),{},{childIndex:h}),payload:(0,T.isScatter)(a,n)?l.data[d]:a.props.data[d]}}}return null}},{key:"render",value:function(){var t,e,n=this;if(!(0,m.validateWidthHeight)(this))return null;var i=this.props,o=i.children,a=i.className,u=i.width,c=i.height,s=i.style,p=i.compact,d=i.title,h=i.desc,y=K(i,X),v=(0,m.filterProps)(y,!1);
2if(p)return r.default.createElement(W.ChartLayoutContextProvider,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},r.default.createElement(f.Surface,G({},v,{width:u,height:c,title:d,desc:h}),this.renderClipPath(),(0,m.renderByOrder)(o,this.renderMap)));this.props.accessibilityLayer&&(v.tabIndex=null!=(t=this.props.tabIndex)?t:0,v.role=null!=(e=this.props.role)?e:"application",v.onKeyDown=function(t){n.accessibilityManager.keyboardEvent(t)},v.onFocus=function(){n.accessibilityManager.focus()});var b=this.parseEventsOfWrapper();return r.default.createElement(W.ChartLayoutContextProvider,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},r.default.createElement("div",G({className:(0,l.default)("recharts-wrapper",a),style:tn({position:"relative",cursor:"default",width:u,height:c},s)},b,{ref:function(t){n.container=t}}),r.default.createElement(f.Surface,G({},v,{width:u,height:c,title:d,desc:h,style:tu}),this.renderClipPath(),(0,m.renderByOrder)(o,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,to(n.key),n)}}(s.prototype,u),Object.defineProperty(s,"prototype",{writable:!1}),s}(r.Component);ti(R,"displayName",o),ti(R,"defaultProps",tn({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},I)),ti(R,"getDerivedStateFromProps",function(t,e){var r=t.dataKey,i=t.data,o=t.children,a=t.width,u=t.height,c=t.layout,l=t.stackOffset,s=t.margin,f=e.dataStartIndex,p=e.dataEndIndex;if(void 0===e.updateId){var d=tg(t);return tn(tn(tn({},d),{},{updateId:0},L(tn(tn({props:t},d),{},{updateId:0}),e)),{},{prevDataKey:r,prevData:i,prevWidth:a,prevHeight:u,prevLayout:c,prevStackOffset:l,prevMargin:s,prevChildren:o})}if(r!==e.prevDataKey||i!==e.prevData||a!==e.prevWidth||u!==e.prevHeight||c!==e.prevLayout||l!==e.prevStackOffset||!(0,P.shallowEqual)(s,e.prevMargin)){var h=tg(t),y={chartX:e.chartX,chartY:e.chartY,isTooltipActive:e.isTooltipActive},v=tn(tn({},th(e,i,c)),{},{updateId:e.updateId+1}),g=tn(tn(tn({},h),y),v);return tn(tn(tn({},g),L(tn({props:t},g),e)),{},{prevDataKey:r,prevData:i,prevWidth:a,prevHeight:u,prevLayout:c,prevStackOffset:l,prevMargin:s,prevChildren:o})}if(!(0,m.isChildrenEqual)(o,e.prevChildren)){var x,O,w,S,j=(0,m.findChildByType)(o,b.Brush),E=j&&null!=(x=null==(O=j.props)?void 0:O.startIndex)?x:f,A=j&&null!=(w=null==(S=j.props)?void 0:S.endIndex)?w:p,_=(0,n.default)(i)||E!==f||A!==p?e.updateId+1:e.updateId;return tn(tn({updateId:_},L(tn(tn({props:t},e),{},{updateId:_,dataStartIndex:E,dataEndIndex:A}),e)),{},{prevChildren:o,dataStartIndex:E,dataEndIndex:A})}return null}),ti(R,"renderActiveDot",function(t,e,n){var o;return o=(0,r.isValidElement)(t)?(0,r.cloneElement)(t,e):(0,i.default)(t)?t(e):r.default.createElement(y.Dot,e),r.default.createElement(p.Layer,{className:"recharts-active-dot",key:n},o)});var z=(0,r.forwardRef)(function(t,e){return r.default.createElement(R,G({},t,{ref:e}))});return z.displayName=R.displayName,z}],883966);var tw=t.i(209516),tS=t.i(800494),tj=t.i(562728),tP=t.i(844171);function tE(t,e,r){if(e<1)return[];if(1===e&&void 0===r)return t;for(var n=[],i=0;i<t.length;i+=e)if(void 0!==r&&!0!==r(t[i]))return;else n.push(t[i]);return n}function tA(t,e,r,n,i){if(t*e<t*n||t*e>t*i)return!1;var o=r();return t*(e-t*o/2-n)>=0&&t*(e+t*o/2-i)<=0}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 tk(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tT(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
2e%2?tk(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=t_(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=t_(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==t_(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tk(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tM(t,e,r){var n,o,a,u,c,l=t.tick,s=t.ticks,f=t.viewBox,p=t.minTickGap,d=t.orientation,h=t.interval,y=t.tickFormatter,v=t.unit,m=t.angle;if(!s||!s.length||!l)return[];if((0,x.isNumber)(h)||tj.Global.isSsr)return tE(s,("number"==typeof h&&(0,x.isNumber)(h)?h:0)+1);var b="top"===d||"bottom"===d?"width":"height",O=v&&"width"===b?(0,g.getStringSize)(v,{fontSize:e,letterSpacing:r}):{width:0,height:0},w=function(t,n){var o,a,u=(0,i.default)(y)?y(t.value,n):t.value;return"width"===b?(o=(0,g.getStringSize)(u,{fontSize:e,letterSpacing:r}),a={width:o.width+O.width,height:o.height+O.height},(0,tP.getAngledRectangleWidth)(a,m)):(0,g.getStringSize)(u,{fontSize:e,letterSpacing:r})[b]},S=s.length>=2?(0,x.mathSign)(s[1].coordinate-s[0].coordinate):1,j=(n="width"===b,o=f.x,a=f.y,u=f.width,c=f.height,1===S?{start:n?o:a,end:n?o+u:a+c}:{start:n?o+u:a+c,end:n?o:a});return"equidistantPreserveStart"===h?function(t,e,r,n,i){for(var o,a=(n||[]).slice(),u=e.start,c=e.end,l=0,s=1,f=u;s<=a.length;)if(o=function(){var e,o=null==n?void 0:n[l];if(void 0===o)return{v:tE(n,s)};var a=l,p=function(){return void 0===e&&(e=r(o,a)),e},d=o.coordinate,h=0===l||tA(t,d,p,f,c);h||(l=0,f=u,s+=1),h&&(f=d+t*(p()/2+i),l+=s)}())return o.v;return[]}(S,j,w,s,p):("preserveStart"===h||"preserveStartEnd"===h?function(t,e,r,n,i,o){var a=(n||[]).slice(),u=a.length,c=e.start,l=e.end;if(o){var s=n[u-1],f=r(s,u-1),p=t*(s.coordinate+t*f/2-l);a[u-1]=s=tT(tT({},s),{},{tickCoord:p>0?s.coordinate-p*t:s.coordinate}),tA(t,s.tickCoord,function(){return f},c,l)&&(l=s.tickCoord-t*(f/2+i),a[u-1]=tT(tT({},s),{},{isShow:!0}))}for(var d=o?u-1:u,h=function(e){var n,o=a[e],u=function(){return void 0===n&&(n=r(o,e)),n};if(0===e){var s=t*(o.coordinate-t*u()/2-c);a[e]=o=tT(tT({},o),{},{tickCoord:s<0?o.coordinate-s*t:o.coordinate})}else a[e]=o=tT(tT({},o),{},{tickCoord:o.coordinate});tA(t,o.tickCoord,u,c,l)&&(c=o.tickCoord+t*(u()/2+i),a[e]=tT(tT({},o),{},{isShow:!0}))},y=0;y<d;y++)h(y);return a}(S,j,w,s,p,"preserveStartEnd"===h):function(t,e,r,n,i){for(var o=(n||[]).slice(),a=o.length,u=e.start,c=e.end,l=function(e){var n,l=o[e],s=function(){return void 0===n&&(n=r(l,e)),n};if(e===a-1){var f=t*(l.coordinate+t*s()/2-c);o[e]=l=tT(tT({},l),{},{tickCoord:f>0?l.coordinate-f*t:l.coordinate})}else o[e]=l=tT(tT({},l),{},{tickCoord:l.coordinate});tA(t,l.tickCoord,s,u,c)&&(c=l.tickCoord-t*(s()/2+i),o[e]=tT(tT({},l),{},{isShow:!0}))},s=a-1;s>=0;s--)l(s);return o}(S,j,w,s,p)).filter(function(t){return t.isShow})}t.s(["getTicks",0,tM],228108);var tC=["viewBox"],tN=["viewBox"],tD=["ticks"];function tI(t){return(tI="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.bind()).apply(this,arguments)}function tL(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tR(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tL(Object(r),!0).forEach(function(e){tV(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tL(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tz(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function tU(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,tX(n.key),n)}}function tF(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tF=function(){return!!t})()}function tq(t){return(tq=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tW(t,e){return(tW=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tV(t,e,r){return(e=tX(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tX(t){var e=function(t,e){if("object"!=tI(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tI(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
2(t,"string");return"symbol"==tI(e)?e:e+""}var tH=function(t){var n,o;function u(t){var r,n,i;if(!(0,e._)(this,u))throw TypeError("Cannot call a class as a function");return n=u,i=[t],n=tq(n),(r=function(t,e){if(e&&("object"===tI(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,tF()?Reflect.construct(n,i||[],tq(this).constructor):n.apply(this,i))).state={fontSize:"",letterSpacing:""},r}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return u.prototype=Object.create(t&&t.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),t&&tW(u,t),n=[{key:"shouldComponentUpdate",value:function(t,e){var r=t.viewBox,n=tz(t,tC),i=this.props,o=i.viewBox,a=tz(i,tN);return!(0,P.shallowEqual)(r,o)||!(0,P.shallowEqual)(n,a)||!(0,P.shallowEqual)(e,this.state)}},{key:"componentDidMount",value:function(){var t=this.layerReference;if(t){var e=t.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];e&&this.setState({fontSize:window.getComputedStyle(e).fontSize,letterSpacing:window.getComputedStyle(e).letterSpacing})}}},{key:"getTickLineCoord",value:function(t){var e,r,n,i,o,a,u=this.props,c=u.x,l=u.y,s=u.width,f=u.height,p=u.orientation,d=u.tickSize,h=u.mirror,y=u.tickMargin,v=h?-1:1,m=t.tickSize||d,b=(0,x.isNumber)(t.tickCoord)?t.tickCoord:t.coordinate;switch(p){case"top":e=r=t.coordinate,a=(n=(i=l+!h*f)-v*m)-v*y,o=b;break;case"left":n=i=t.coordinate,o=(e=(r=c+!h*s)-v*m)-v*y,a=b;break;case"right":n=i=t.coordinate,o=(e=(r=c+h*s)+v*m)+v*y,a=b;break;default:e=r=t.coordinate,a=(n=(i=l+h*f)+v*m)+v*y,o=b}return{line:{x1:e,y1:n,x2:r,y2:i},tick:{x:o,y:a}}}},{key:"getTickTextAnchor",value:function(){var t,e=this.props,r=e.orientation,n=e.mirror;switch(r){case"left":t=n?"start":"end";break;case"right":t=n?"end":"start";break;default:t="middle"}return t}},{key:"getTickVerticalAnchor",value:function(){var t=this.props,e=t.orientation,r=t.mirror,n="end";switch(e){case"left":case"right":n="middle";break;case"top":n=r?"start":"end";break;default:n=r?"end":"start"}return n}},{key:"renderAxisLine",value:function(){var t=this.props,e=t.x,n=t.y,i=t.width,o=t.height,u=t.orientation,c=t.mirror,s=t.axisLine,f=tR(tR(tR({},(0,m.filterProps)(this.props,!1)),(0,m.filterProps)(s,!1)),{},{fill:"none"});if("top"===u||"bottom"===u){var p=+("top"===u&&!c||"bottom"===u&&c);f=tR(tR({},f),{},{x1:e,y1:n+p*o,x2:e+i,y2:n+p*o})}else{var d=+("left"===u&&!c||"right"===u&&c);f=tR(tR({},f),{},{x1:e+d*i,y1:n,x2:e+d*i,y2:n+o})}return r.default.createElement("line",tB({},f,{className:(0,l.default)("recharts-cartesian-axis-line",(0,a.default)(s,"className"))}))}},{key:"renderTicks",value:function(t,e,n){var o=this,c=this.props,s=c.tickLine,f=c.stroke,d=c.tick,h=c.tickFormatter,y=c.unit,v=tM(tR(tR({},this.props),{},{ticks:t}),e,n),b=this.getTickTextAnchor(),g=this.getTickVerticalAnchor(),x=(0,m.filterProps)(this.props,!1),O=(0,m.filterProps)(d,!1),w=tR(tR({},x),{},{fill:"none"},(0,m.filterProps)(s,!1)),S=v.map(function(t,e){var n=o.getTickLineCoord(t),c=n.line,m=n.tick,S=tR(tR(tR(tR({textAnchor:b,verticalAnchor:g},x),{},{stroke:"none",fill:f},O),m),{},{index:e,payload:t,visibleTicksCount:v.length,tickFormatter:h});return r.default.createElement(p.Layer,tB({className:"recharts-cartesian-axis-tick",key:"tick-".concat(t.value,"-").concat(t.coordinate,"-").concat(t.tickCoord)},(0,A.adaptEventsOfChild)(o.props,t,e)),s&&r.default.createElement("line",tB({},w,c,{className:(0,l.default)("recharts-cartesian-axis-tick-line",(0,a.default)(s,"className"))})),d&&u.renderTickItem(d,S,"".concat((0,i.default)(h)?h(t.value,e):t.value).concat(y||"")))});return r.default.createElement("g",{className:"recharts-cartesian-axis-ticks"},S)}},{key:"render",value:function(){var t=this,e=this.props,n=e.axisLine,o=e.width,a=e.height,u=e.ticksGenerator,c=e.className;if(e.hide)return null;var s=this.props,f=s.ticks,d=tz(s,tD),h=f;return((0,i.default)(u)&&(h=u(f&&f.length>0?this.props:d)),o<=0||a<=0||!h||!h.length)?null:r.default.createElement(p.Layer,{className:(0,l.default)("recharts-cartesian-axis",c),ref:function(e){t.layerReference=e}},n&&this.renderAxisLine(),this.renderTicks(h,this.state.fontSize,this.state.letterSpacing),tS.Label.renderCallByParent(this.props))}}],o=[{key:"renderTickItem",value:function(t,e,n){var o=(0,l.default)(e.className,"recharts-cartesian-axis-tick-value");return r.default.isValidElement(t)?r.default.cloneElement(t,tR(tR({},e),{},{className:o})):(0,i.default)(t)?t(tR(tR({},e),{},{className:o})):r.default.createElement(tw.Text,tB({},e,{className:"recharts-cartesian-axis-tick-value"}),n)}}],n&&tU(u.prototype,n),o&&tU(u,o),Object.defineProperty(u,"prototype",{writable:!1}),u}(r.Component);function tG(t){return(tG="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)}tV(tH,"displayName","CartesianAxis"),tV(tH,"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
2:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"}),t.s(["CartesianAxis",0,tH],909928);function tY(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tY=function(){return!!t})()}function tK(t){return(tK=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function t$(t,e){return(t$=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tZ(t,e,r){return(e=tJ(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tJ(t){var e=function(t,e){if("object"!=tG(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tG(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tG(e)?e:e+""}function tQ(){return(tQ=Object.assign.bind()).apply(this,arguments)}function t0(t){var e=t.xAxisId,n=(0,W.useChartWidth)(),i=(0,W.useChartHeight)(),o=(0,W.useXAxisOrThrow)(e);return null==o?null:r.createElement(tH,tQ({},o,{className:(0,l.default)("recharts-".concat(o.axisType," ").concat(o.axisType),o.className),viewBox:{x:0,y:0,width:n,height:i},ticksGenerator:function(t){return(0,O.getTicksOfAxis)(t,!0)}}))}var t1=function(t){var n;function i(){var t,r;if(!(0,e._)(this,i))throw TypeError("Cannot call a class as a function");return t=i,r=arguments,t=tK(t),function(t,e){if(e&&("object"===tG(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,tY()?Reflect.construct(t,r||[],tK(this).constructor):t.apply(this,r))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),t&&t$(i,t),n=[{key:"render",value:function(){return r.createElement(t0,this.props)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,tJ(n.key),n)}}(i.prototype,n),Object.defineProperty(i,"prototype",{writable:!1}),i}(r.Component);function t2(t){return(t2="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)}tZ(t1,"displayName","XAxis"),tZ(t1,"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}),t.s(["XAxis",0,t1],785183);function t3(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(t3=function(){return!!t})()}function t5(t){return(t5=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function t7(t,e){return(t7=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function t8(t,e,r){return(e=t6(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function t6(t){var e=function(t,e){if("object"!=t2(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=t2(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==t2(e)?e:e+""}function t9(){return(t9=Object.assign.bind()).apply(this,arguments)}var t4=function(t){var e=t.yAxisId,n=(0,W.useChartWidth)(),i=(0,W.useChartHeight)(),o=(0,W.useYAxisOrThrow)(e);return null==o?null:r.createElement(tH,t9({},o,{className:(0,l.default)("recharts-".concat(o.axisType," ").concat(o.axisType),o.className),viewBox:{x:0,y:0,width:n,height:i},ticksGenerator:function(t){return(0,O.getTicksOfAxis)(t,!0)}}))},et=function(t){var n;function i(){var t,r;if(!(0,e._)(this,i))throw TypeError("Cannot call a class as a function");return t=i,r=arguments,t=t5(t),function(t,e){if(e&&("object"===t2(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,t3()?Reflect.construct(t,r||[],t5(this).constructor):t.apply(this,r))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),t&&t7(i,t),n=[{key:"render",value:function(){return r.createElement(t4,this.props)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,t6(n.key),n)}}(i.prototype,n),Object.defineProperty(i,"prototype",{writable:!1}),i}(r.Component);t8(et,"displayName","YAxis"),t8(et,"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}),t.s(["YAxis",0,et],93230);var ee=t.i(129071);function er(t){return(er="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 en(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function ei(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
2e%2?en(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=er(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=er(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==er(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):en(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function eo(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var ea=(0,r.forwardRef)(function(t,e){var n,i=t.aspect,o=t.initialDimension,a=void 0===o?{width:-1,height:-1}:o,u=t.width,s=void 0===u?"100%":u,f=t.height,p=void 0===f?"100%":f,d=t.minWidth,h=void 0===d?0:d,y=t.minHeight,v=t.maxHeight,b=t.children,g=t.debounce,O=void 0===g?0:g,w=t.id,S=t.className,j=t.onResize,P=t.style,E=(0,r.useRef)(null),A=(0,r.useRef)();A.current=j,(0,r.useImperativeHandle)(e,function(){return Object.defineProperty(E.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),E.current},configurable:!0})});var _=function(t){if(Array.isArray(t))return t}(n=(0,r.useState)({containerWidth:a.width,containerHeight:a.height}))||function(t){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,i,o,a=[],u=!0,c=!1;try{i=(e=e.call(t)).next,!1;for(;!(u=(r=i.call(e)).done)&&(a.push(r.value),2!==a.length);u=!0);}catch(t){c=!0,n=t}finally{try{if(!u&&null!=e.return&&(o=e.return(),Object(o)!==o))return}finally{if(c)throw n}}return a}}(n)||function(t){if(t){if("string"==typeof t)return eo(t,2);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return eo(t,2)}}(n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),k=_[0],T=_[1],M=(0,r.useCallback)(function(t,e){T(function(r){var n=Math.round(t),i=Math.round(e);return r.containerWidth===n&&r.containerHeight===i?r:{containerWidth:n,containerHeight:i}})},[]);(0,r.useEffect)(function(){var t=function(t){var e,r=t[0].contentRect,n=r.width,i=r.height;M(n,i),null==(e=A.current)||e.call(A,n,i)};O>0&&(t=(0,c.default)(t,O,{trailing:!0,leading:!1}));var e=new ResizeObserver(t),r=E.current.getBoundingClientRect();return M(r.width,r.height),e.observe(E.current),function(){e.disconnect()}},[M,O]);var C=(0,r.useMemo)(function(){var t=k.containerWidth,e=k.containerHeight;if(t<0||e<0)return null;(0,ee.warn)((0,x.isPercent)(s)||(0,x.isPercent)(p),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",s,p),(0,ee.warn)(!i||i>0,"The aspect(%s) must be greater than zero.",i);var n=(0,x.isPercent)(s)?t:s,o=(0,x.isPercent)(p)?e:p;i&&i>0&&(n?o=n/i:o&&(n=o*i),v&&o>v&&(o=v)),(0,ee.warn)(n>0||o>0,"The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.",n,o,s,p,h,y,i);var a=!Array.isArray(b)&&(0,m.getDisplayName)(b.type).endsWith("Chart");return r.default.Children.map(b,function(t){return r.default.isValidElement(t)?(0,r.cloneElement)(t,ei({width:n,height:o},a?{style:ei({height:"100%",width:"100%",maxHeight:o,maxWidth:n},t.props.style)}:{})):t})},[i,b,p,v,y,h,k,s]);return r.default.createElement("div",{id:w?"".concat(w):void 0,className:(0,l.default)("recharts-responsive-container",S),style:ei(ei({},void 0===P?{}:P),{},{width:s,height:p,minWidth:h,minHeight:y,maxHeight:v}),ref:E},C)});t.s(["ResponsiveContainer",0,ea],731195)},322787,t=>{"use strict";var e=function(t){return null};e.displayName="Cell",t.s(["Cell",0,e])},969212,913659,251587,559559,940060,198770,768970,800494,t=>{"use strict";t.s(["appendOffsetOfLegend",()=>tW,"calculateActiveTickIndex",()=>tz,"checkDomainOfScale",()=>tQ,"combineEventHandlers",()=>tZ,"findPositionOfBar",()=>t0,"getBandSizeOfAxis",()=>ei,"getBarPosition",()=>tq,"getBarSizeList",()=>tF,"getBaseValueOfBar",()=>t9,"getCateCoordinateOfBar",()=>
2t6,"getCateCoordinateOfLine",()=>t8,"getCoordinatesOfGrid",()=>tY,"getDomainOfDataByKey",()=>tR,"getDomainOfItemsWithSameAxis",()=>tH,"getDomainOfStackGroups",()=>et,"getMainColorOfGraphicItem",()=>tU,"getStackGroupsByAxisId",()=>t5,"getStackedDataOfItem",()=>t4,"getTicksOfAxis",()=>tK,"getTicksOfScale",()=>t7,"getTooltipItem",()=>ea,"getValueByDataKey",()=>tL,"isCategoricalAxis",()=>tG,"parseDomainOfCategoryAxis",()=>eo,"parseErrorBarsOfAxis",()=>tX,"parseScale",()=>tJ,"parseSpecifiedDomain",()=>en,"truncateByDomain",()=>t1],198770),t.s(["getLegendProps",()=>tT],940060);var e=t.i(271645),r=t.i(629873),n=t.i(12447),i=t.i(771223),o=t.i(4879),a=t.i(207670),u=t.i(209516),c=t.i(781977),l=t.i(794395),s=t.i(108487),f=t.i(979357),p=t.i(867719),d=t.i(517306),h=t.i(610010),y=t.i(516039),v=t.i(9506),m=t.i(261770),b=t.i(86966),g=t.i(37544),x=t.i(385845),O=t.i(482820),w=t.i(633303),S=t.i(878948),j=t.i(232241),P=t.i(898892),E=t.i(831195);t.i(861639);var A=t.i(106545),_=t.i(734251),k=t.i(129071),T=t.i(148337),M=t.i(475058),C=t.i(216888),N=Math.cos,D=Math.sin,I=Math.sqrt,B=Math.PI,L=2*B;I(3);let R={draw:function(t,e){var r=I(e/B);t.moveTo(r,0),t.arc(0,0,r,0,L)}};var z=I(1/3),U=2*z,F=D(B/10)/D(7*B/10),q=D(L/10)*F,W=-N(L/10)*F,V=I(3);I(3);var X=I(3)/2,H=1/I(12),G=(H/2+1)*3;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 K=["type","size","sizeType"];function $(){return($=Object.assign.bind()).apply(this,arguments)}function Z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function J(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Z(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=Y(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Y(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Y(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Z(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var Q={symbolCircle:R,symbolCross:{draw:function(t,e){var r=I(e/5)/2;t.moveTo(-3*r,-r),t.lineTo(-r,-r),t.lineTo(-r,-3*r),t.lineTo(r,-3*r),t.lineTo(r,-r),t.lineTo(3*r,-r),t.lineTo(3*r,r),t.lineTo(r,r),t.lineTo(r,3*r),t.lineTo(-r,3*r),t.lineTo(-r,r),t.lineTo(-3*r,r),t.closePath()}},symbolDiamond:{draw:function(t,e){var r=I(e/U),n=r*z;t.moveTo(0,-r),t.lineTo(n,0),t.lineTo(0,r),t.lineTo(-n,0),t.closePath()}},symbolSquare:{draw:function(t,e){var r=I(e),n=-r/2;t.rect(n,n,r,r)}},symbolStar:{draw:function(t,e){var r=I(.8908130915292852*e),n=q*r,i=W*r;t.moveTo(0,-r),t.lineTo(n,i);for(var o=1;o<5;++o){var a=L*o/5,u=N(a),c=D(a);t.lineTo(c*r,-u*r),t.lineTo(u*n-c*i,c*n+u*i)}t.closePath()}},symbolTriangle:{draw:function(t,e){var r=-I(e/(3*V));t.moveTo(0,2*r),t.lineTo(-V*r,-r),t.lineTo(V*r,-r),t.closePath()}},symbolWye:{draw:function(t,e){var r=I(e/G),n=r/2,i=r*H,o=r*H+r,a=-n;t.moveTo(n,i),t.lineTo(n,o),t.lineTo(a,o),t.lineTo(-.5*n-X*i,X*n+-.5*i),t.lineTo(-.5*n-X*o,X*n+-.5*o),t.lineTo(-.5*a-X*o,X*a+-.5*o),t.lineTo(-.5*n+X*i,-.5*i-X*n),t.lineTo(-.5*n+X*o,-.5*o-X*n),t.lineTo(-.5*a+X*o,-.5*o-X*a),t.closePath()}}},tt=Math.PI/180,te=function(t,e,r){if("area"===e)return t;switch(r){case"cross":return 5*t*t/9;case"diamond":return .5*t*t/Math.sqrt(3);case"square":return t*t;case"star":var n=18*tt;return 1.25*t*t*(Math.tan(n)-Math.tan(2*n)*Math.pow(Math.tan(n),2));case"triangle":return Math.sqrt(3)*t*t/4;case"wye":return(21-10*Math.sqrt(3))*t*t/8;default:return Math.PI*t*t/4}},tr=function(t){var r,n=t.type,i=void 0===n?"circle":n,o=t.size,u=void 0===o?64:o,l=t.sizeType,s=void 0===l?"area":l,f=J(J({},function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,K)),{},{type:i,size:u,sizeType:s}),p=f.className,d=f.cx,h=f.cy,y=(0,c.filterProps)(f,!0);return d===+d&&h===+h&&u===+u?e.default.createElement("path",$({}
2,y,{className:(0,a.default)("recharts-symbols",p),transform:"translate(".concat(d,", ").concat(h,")"),d:(r=Q["symbol".concat((0,j.default)(i))]||R,(function(t,e){var r=null,n=(0,C.withPath)(i);function i(){var i;if(r||(r=i=n()),t.apply(this,arguments).draw(r,+e.apply(this,arguments)),i)return r=null,i+""||null}return t="function"==typeof t?t:(0,M.default)(t||R),e="function"==typeof e?e:(0,M.default)(void 0===e?64:+e),i.type=function(e){return arguments.length?(t="function"==typeof e?e:(0,M.default)(e),i):t},i.size=function(t){return arguments.length?(e="function"==typeof t?t:(0,M.default)(+t),i):e},i.context=function(t){return arguments.length?(r=null==t?null:t,i):r},i})().type(r).size(te(u,s,i))())})):null};tr.registerSymbol=function(t,e){Q["symbol".concat((0,j.default)(t))]=e},t.s(["Symbols",0,tr],913659);var tn=t.i(373393);function ti(t){return(ti="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 to(){return(to=Object.assign.bind()).apply(this,arguments)}function ta(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tu=function(){return!!t})()}function tc(t){return(tc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tl(t,e){return(tl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function ts(t,e,r){return(e=tf(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tf(t){var e=function(t,e){if("object"!=ti(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ti(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ti(e)?e:e+""}var tp=function(t){var r;function n(){var t,e;if(!(0,s._)(this,n))throw TypeError("Cannot call a class as a function");return t=n,e=arguments,t=tc(t),function(t,e){if(e&&("object"===ti(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,tu()?Reflect.construct(t,e||[],tc(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&tl(n,t),r=[{key:"renderIcon",value:function(t){var r=this.props.inactiveColor,n=32/6,i=32/3,o=t.inactive?r:t.color;if("plainline"===t.type)return e.default.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 e.default.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 e.default.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(e.default.isValidElement(t.legendIcon)){var a=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ta(Object(r),!0).forEach(function(e){ts(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ta(Object(r)).forEac
2h(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}({},t);return delete a.legendIcon,e.default.cloneElement(t.legendIcon,a)}return e.default.createElement(tr,{fill:o,cx:16,cy:16,size:32,sizeType:"diameter",type:t.type})}},{key:"renderItems",value:function(){var t=this,r=this.props,n=r.payload,o=r.iconSize,u=r.layout,c=r.formatter,l=r.inactiveColor,s={x:0,y:0,width:32,height:32},f={display:"horizontal"===u?"inline-block":"block",marginRight:10},p={display:"inline-block",verticalAlign:"middle",marginRight:4};return n.map(function(r,n){var u=r.formatter||c,d=(0,a.default)(ts(ts({"recharts-legend-item":!0},"legend-item-".concat(n),!0),"inactive",r.inactive));if("none"===r.type)return null;var h=(0,i.default)(r.value)?null:r.value;(0,k.warn)(!(0,i.default)(r.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 y=r.inactive?l:r.color;return e.default.createElement("li",to({className:d,style:f,key:"legend-item-".concat(n)},(0,tn.adaptEventsOfChild)(t.props,r,n)),e.default.createElement(T.Surface,{width:o,height:o,viewBox:s,style:p},t.renderIcon(r)),e.default.createElement("span",{className:"recharts-legend-item-text",style:{color:y}},u?u(h,r,n):h))})}},{key:"render",value:function(){var t=this.props,r=t.payload,n=t.layout,i=t.align;return r&&r.length?e.default.createElement("ul",{className:"recharts-default-legend",style:{padding:0,margin:0,textAlign:"horizontal"===n?i:"left"}},this.renderItems()):null}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,tf(n.key),n)}}(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(e.PureComponent);ts(tp,"displayName","Legend"),ts(tp,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var td=t.i(774010);function th(t,e,r){return!0===e?(0,td.default)(t,r):(0,i.default)(e)?(0,td.default)(t,e):t}function ty(t){return(ty="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)}t.s(["getUniqPayload",0,th],251587);var tv=["ref"];function tm(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tb(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tm(Object(r),!0).forEach(function(e){tS(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tm(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tg(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,tj(n.key),n)}}function tx(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tx=function(){return!!t})()}function tO(t){return(tO=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tw(t,e){return(tw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tS(t,e,r){return(e=tj(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tj(t){var e=function(t,e){if("object"!=ty(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ty(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ty(e)?e:e+""}function tP(t){return t.value}var tE=function(t){var r,n;function i(){var t,e,r;if(!(0,s._)(this,i))throw TypeError("Cannot call a class as a function");for(var n=arguments.length,o=Array(n),a=0;a<n;a++)o[a]=arguments[a];return e=i,r=[].concat(o),e=tO(e),tS(t=function(t,e){if(e&&("object"===ty(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,tx()?Reflect.construct(e,r||[],tO(this).constructor):e.apply(this,r)),"lastBoundingBox",{width:-1,height:-1}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),t&&tw(i,t),r=[{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))}}
2,{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?tb({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(t){var e,r,n=this.props,i=n.layout,o=n.align,a=n.verticalAlign,u=n.margin,c=n.chartWidth,l=n.chartHeight;return t&&(void 0!==t.left&&null!==t.left||void 0!==t.right&&null!==t.right)||(e="center"===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)||(r="middle"===a?{top:((l||0)-this.getBBoxSnapshot().height)/2}:"bottom"===a?{bottom:u&&u.bottom||0}:{top:u&&u.top||0}),tb(tb({},e),r)}},{key:"render",value:function(){var t=this,r=this.props,n=r.content,i=r.width,o=r.height,a=r.wrapperStyle,u=r.payloadUniqBy,c=r.payload,l=tb(tb({position:"absolute",width:i||"auto",height:o||"auto"},this.getDefaultPosition(a)),a);return e.default.createElement("div",{className:"recharts-legend-wrapper",style:l,ref:function(e){t.wrapperNode=e}},function(t,r){if(e.default.isValidElement(t))return e.default.cloneElement(t,r);if("function"==typeof t)return e.default.createElement(t,r);r.ref;var n=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(r,tv);return e.default.createElement(tp,n)}(n,tb(tb({},this.props),{},{payload:th(c,u,tP)})))}}],n=[{key:"getWithHeight",value:function(t,e){var r=tb(tb({},this.defaultProps),t.props).layout;return"vertical"===r&&(0,l.isNumber)(t.props.height)?{height:t.props.height}:"horizontal"===r?{width:t.props.width||e}:null}}],r&&tg(i.prototype,r),n&&tg(i,n),Object.defineProperty(i,"prototype",{writable:!1}),i}(e.PureComponent);function tA(t){return(tA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function t_(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tk(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?t_(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=tA(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tA(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tA(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):t_(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}tS(tE,"displayName","Legend"),tS(tE,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"}),t.s(["Legend",0,tE],559559);var tT=function(t){var e,r=t.children,n=t.formattedGraphicalItems,i=t.legendWidth,o=t.legendContent,a=(0,c.findChildByType)(r,tE);if(!a)return null;var u=tE.defaultProps,l=void 0!==u?tk(tk({},u),a.props):{};return e=a.props&&a.props.payload?a.props&&a.props.payload:"children"===o?(n||[]).reduce(function(t,e){var r=e.item,n=e.props,i=n.sectors||n.data||[];return t.concat(i.map(function(t){return{type:a.props.iconType||r.props.legendType,value:t.name,color:t.fill,payload:t}}))},[]):(n||[]).map(function(t){var e=t.item,r=e.type.defaultProps,n=void 0!==r?tk(tk({},r),e.props):{},i=n.dataKey,o=n.name,a=n.legendType;return{inactive:n.hide,dataKey:i,type:l.iconType||a||"square",color:tU(e),value:o||i,payload:n}}),tk(tk(tk({}
2,l),tE.getWithHeight(a,i)),{},{payload:e,item:a})};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 tC(t){return function(t){if(Array.isArray(t))return tN(t)}(t)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t){if(t){if("string"==typeof t)return tN(t,void 0);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return tN(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 tN(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function tD(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tI(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tD(Object(r),!0).forEach(function(e){tB(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tD(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tB(t,e,r){var n;return(n=function(t,e){if("object"!=tM(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tM(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==tM(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tL(t,e,n){return(0,r.default)(t)||(0,r.default)(e)?n:(0,l.isNumOrStr)(e)?(0,O.default)(t,e,n):(0,i.default)(e)?e(t):n}function tR(t,e,n,i){var o=(0,w.default)(t,function(t){return tL(t,e)});if("number"===n){var a=o.filter(function(t){return(0,l.isNumber)(t)||parseFloat(t)});return a.length?[(0,g.default)(a),(0,b.default)(a)]:[1/0,-1/0]}return(i?o.filter(function(t){return!(0,r.default)(t)}):o).map(function(t){return(0,l.isNumOrStr)(t)||(0,s._)(t,Date)?t:""})}var tz=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=-1,a=null!=(e=null==r?void 0:r.length)?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?n[c-1].coordinate:n[a-1].coordinate,f=n[c].coordinate,p=c>=a-1?n[0].coordinate:n[c+1].coordinate,d=void 0;if((0,l.mathSign)(f-s)!==(0,l.mathSign)(p-f)){var h=[];if((0,l.mathSign)(p-f)===(0,l.mathSign)(u[1]-u[0])){d=p;var y=f+u[1]-u[0];h[0]=Math.min(y,(y+s)/2),h[1]=Math.max(y,(y+s)/2)}else{d=s;var v=p+u[1]-u[0];h[0]=Math.min(f,(v+f)/2),h[1]=Math.max(f,(v+f)/2)}var m=[Math.min(f,(d+f)/2),Math.max(f,(d+f)/2)];if(t>m[0]&&t<=m[1]||t>=h[0]&&t<=h[1]){o=n[c].index;break}}else{var b=Math.min(s,p),g=Math.max(s,p);if(t>(b+f)/2&&t<=(g+f)/2){o=n[c].index;break}}}else for(var x=0;x<a;x++)if(0===x&&t<=(r[x].coordinate+r[x+1].coordinate)/2||x>0&&x<a-1&&t>(r[x].coordinate+r[x-1].coordinate)/2&&t<=(r[x].coordinate+r[x+1].coordinate)/2||x===a-1&&t>(r[x].coordinate+r[x-1].coordinate)/2){o=r[x].index;break}return o},tU=function(t){var e,r,n=t.type.displayName,i=null!=(e=t.type)&&e.defaultProps?tI(tI({},t.type.defaultProps),t.props):t.props,o=i.stroke,a=i.fill;switch(n){case"Line":r=o;break;case"Area":case"Radar":r=o&&"none"!==o?o:a;break;default:r=a}return r},tF=function(t){var e=t.barSize,n=t.totalSize,i=t.stackGroups,o=void 0===i?{}:i;if(!o)return{};for(var a={},u=Object.keys(o),s=0,f=u.length;s<f;s++)for(var p=o[u[s]].stackGroups,d=Object.keys(p),h=0,y=d.length;h<y;h++){var v=p[d[h]],m=v.items,b=v.cateAxisId,g=m.filter(function(t){return(0,c.getDisplayName)(t.type).indexOf("Bar")>=0});if(g&&g.length){var x=g[0].type.defaultProps,O=void 0!==x?tI(tI({},x),g[0].props):g[0].props,w=O.barSize,S=O[b];a[S]||(a[S]=[]);var j=(0,r.default)(w)?e:w;a[S].push({item:g[0],stackList:g.slice(1),barSize:(0,r.default)(j)?void 0:(0,l.getPercentValue)(j,n,0)})}}return a},tq=function(t){var e,r=t.barGap,n=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,l.getPercentValue)(r,i,0,!0),f=[];if(a[0].barSize===+a[0].barSize){var p=!1,d=i/c,h=a.reduce(function(t,e){return t+e.barSize||0}
2,0);(h+=(c-1)*s)>=i&&(h-=(c-1)*s,s=0),h>=i&&d>0&&(p=!0,d*=.9,h=c*d);var y={offset:((i-h)/2|0)-s,size:0};e=a.reduce(function(t,e){var r={item:e.item,position:{offset:y.offset+y.size+s,size:p?d:e.barSize}},n=[].concat(tC(t),[r]);return y=n[n.length-1].position,e.stackList&&e.stackList.length&&e.stackList.forEach(function(t){n.push({item:t,position:y})}),n},f)}else{var v=(0,l.getPercentValue)(n,i,0,!0);i-2*v-(c-1)*s<=0&&(s=0);var m=(i-2*v-(c-1)*s)/c;m>1&&(m>>=0);var b=u===+u?Math.min(m,u):m;e=a.reduce(function(t,e,r){var n=[].concat(tC(t),[{item:e.item,position:{offset:v+(m+s)*r+(m-b)/2,size:b}}]);return e.stackList&&e.stackList.length&&e.stackList.forEach(function(t){n.push({item:t,position:n[n.length-1].position})}),n},f)}return e},tW=function(t,e,r,n){var i=r.children,o=r.width,a=r.margin,u=tT({children:i,legendWidth:o-(a.left||0)-(a.right||0)});if(u){var c=n||{},s=c.width,f=c.height,p=u.align,d=u.verticalAlign,h=u.layout;if(("vertical"===h||"horizontal"===h&&"middle"===d)&&"center"!==p&&(0,l.isNumber)(t[p]))return tI(tI({},t),{},tB({},p,t[p]+(s||0)));if(("horizontal"===h||"vertical"===h&&"center"===p)&&"middle"!==d&&(0,l.isNumber)(t[d]))return tI(tI({},t),{},tB({},d,t[d]+(f||0)))}return t},tV=function(t,e,n,i,o){var a=e.props.children,u=(0,c.findAllByType)(a,_.ErrorBar).filter(function(t){var e;return e=t.props.direction,!!(0,r.default)(o)||("horizontal"===i?"yAxis"===o:"vertical"===i||"x"===e?"xAxis"===o:"y"!==e||"yAxis"===o)});if(u&&u.length){var l=u.map(function(t){return t.props.dataKey});return t.reduce(function(t,e){var i=tL(e,n);if((0,r.default)(i))return t;var o=Array.isArray(i)?[(0,g.default)(i),(0,b.default)(i)]:[i,i],a=l.reduce(function(t,r){var n=tL(e,r,0),i=o[0]-Math.abs(Array.isArray(n)?n[0]:n),a=o[1]+Math.abs(Array.isArray(n)?n[1]:n);return[Math.min(i,t[0]),Math.max(a,t[1])]},[1/0,-1/0]);return[Math.min(a[0],t[0]),Math.max(a[1],t[1])]},[1/0,-1/0])}return null},tX=function(t,e,n,i,o){var a=e.map(function(e){return tV(t,e,n,o,i)}).filter(function(t){return!(0,r.default)(t)});return a&&a.length?a.reduce(function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]},[1/0,-1/0]):null},tH=function(t,e,r,n,i){var o=e.map(function(e){var o=e.props.dataKey;return"number"===r&&o&&tV(t,e,o,n)||tR(t,o,r,i)});if("number"===r)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 r=0,n=e.length;r<n;r++)a[e[r]]||(a[e[r]]=!0,t.push(e[r]));return t},[])},tG=function(t,e){return"horizontal"===t&&"xAxis"===e||"vertical"===t&&"yAxis"===e||"centric"===t&&"angleAxis"===e||"radial"===t&&"radiusAxis"===e},tY=function(t,e,r,n){if(n)return t.map(function(t){return t.coordinate});var i,o,a=t.map(function(t){return t.coordinate===e&&(i=!0),t.coordinate===r&&(o=!0),t.coordinate});return i||a.push(e),o||a.push(r),a},tK=function(t,e,r){if(!t)return null;var n=t.scale,i=t.duplicateDomain,o=t.type,a=t.range,u="scaleBand"===t.realScaleType?n.bandwidth()/2:2,c=(e||r)&&"category"===o&&n.bandwidth?n.bandwidth()/u:0;return(c="angleAxis"===t.axisType&&(null==a?void 0:a.length)>=2?2*(0,l.mathSign)(a[0]-a[1])*c:c,e&&(t.ticks||t.niceTicks))?(t.ticks||t.niceTicks).map(function(t){return{coordinate:n(i?i.indexOf(t):t)+c,value:t,offset:c}}).filter(function(t){return!(0,S.default)(t.coordinate)}):t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map(function(t,e){return{coordinate:n(t)+c,value:t,index:e,offset:c}}):n.ticks&&!r?n.ticks(t.tickCount).map(function(t){return{coordinate:n(t)+c,value:t,offset:c}}):n.domain().map(function(t,e){return{coordinate:n(t)+c,value:i?i[t]:t,index:e,offset:c}})},t$=new WeakMap,tZ=function(t,e){if("function"!=typeof e)return t;t$.has(t)||t$.set(t,new WeakMap);var r=t$.get(t);if(r.has(e))return r.get(e);var n=function(){t.apply(void 0,arguments),e.apply(void 0,arguments)};return r.set(e,n),n},tJ=function(t,e,r){var n=t.scale,o=t.type,a=t.layout,u=t.axisType;if("auto"===n)return"radial"===a&&"radiusAxis"===u?{scale:f.scaleBand(),realScaleType:"band"}:"radial"===a&&"angleAxis"===u?{scale:f.scaleLinear(),realScaleType:"linear"}:"category"===o&&e&&(e.indexOf("LineChart")>=0||e.indexOf("AreaChart")>
2=0||e.indexOf("ComposedChart")>=0&&!r)?{scale:f.scalePoint(),realScaleType:"point"}:"category"===o?{scale:f.scaleBand(),realScaleType:"band"}:{scale:f.scaleLinear(),realScaleType:"linear"};if((0,x.default)(n)){var c="scale".concat((0,j.default)(n));return{scale:(f[c]||f.scalePoint)(),realScaleType:f[c]?c:"point"}}return(0,i.default)(n)?{scale:n}:{scale:f.scalePoint(),realScaleType:"point"}},tQ=function(t){var e=t.domain();if(e&&!(e.length<=2)){var r=e.length,n=t.range(),i=Math.min(n[0],n[1])-1e-4,o=Math.max(n[0],n[1])+1e-4,a=t(e[0]),u=t(e[r-1]);(a<i||a>o||u<i||u>o)&&t.domain([e[0],e[r-1]])}},t0=function(t,e){if(!t)return null;for(var r=0,n=t.length;r<n;r++)if(t[r].item===e)return t[r].position;return null},t1=function(t,e){if(!e||2!==e.length||!(0,l.isNumber)(e[0])||!(0,l.isNumber)(e[1]))return t;var r=Math.min(e[0],e[1]),n=Math.max(e[0],e[1]),i=[t[0],t[1]];return(!(0,l.isNumber)(t[0])||t[0]<r)&&(i[0]=r),(!(0,l.isNumber)(t[1])||t[1]>n)&&(i[1]=n),i[0]>n&&(i[0]=n),i[1]<r&&(i[1]=r),i},t2={sign:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var i=0,o=0,a=0;a<e;++a){var u=(0,S.default)(t[a][r][1])?t[a][r][0]:t[a][r][1];u>=0?(t[a][r][0]=i,t[a][r][1]=i+u,i=t[a][r][1]):(t[a][r][0]=o,t[a][r][1]=o+u,o=t[a][r][1])}},expand:d.stackOffsetExpand,none:h.stackOffsetNone,silhouette:y.stackOffsetSilhouette,wiggle:v.stackOffsetWiggle,positive:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var i=0,o=0;o<e;++o){var a=(0,S.default)(t[o][r][1])?t[o][r][0]:t[o][r][1];a>=0?(t[o][r][0]=i,t[o][r][1]=i+a,i=t[o][r][1]):(t[o][r][0]=0,t[o][r][1]=0)}}},t3=function(t,e,r){var n=e.map(function(t){return t.props.dataKey}),i=t2[r];return(0,p.stack)().keys(n).value(function(t,e){return+tL(t,e,0)}).order(m.stackOrderNone).offset(i)(t)},t5=function(t,e,r,n,i,o){if(!t)return null;var a=(o?e.reverse():e).reduce(function(t,e){var i,o=null!=(i=e.type)&&i.defaultProps?tI(tI({},e.type.defaultProps),e.props):e.props,a=o.stackId;if(o.hide)return t;var u=o[r],c=t[u]||{hasStack:!1,stackGroups:{}};if((0,l.isNumOrStr)(a)){var s=c.stackGroups[a]||{numericAxisId:r,cateAxisId:n,items:[]};s.items.push(e),c.hasStack=!0,c.stackGroups[a]=s}else c.stackGroups[(0,l.uniqueId)("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[e]};return tI(tI({},t),{},tB({},u,c))},{});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 tI(tI({},e),{},tB({},o,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:t3(t,a.items,i)}))},{})),tI(tI({},e),{},tB({},o,u))},{})},t7=function(t,e){var r=e.realScaleType,n=e.type,i=e.tickCount,o=e.originalDomain,a=e.allowDecimals,u=r||e.scale;if("auto"!==u&&"linear"!==u)return null;if(i&&"number"===n&&o&&("auto"===o[0]||"auto"===o[1])){var c=t.domain();if(!c.length)return null;var l=(0,A.getNiceTickValues)(c,i,a);return t.domain([(0,g.default)(l),(0,b.default)(l)]),{niceTicks:l}}if(i&&"number"===n){var s=t.domain();return{niceTicks:(0,A.getTickValuesFixedDomain)(s,i,a)}}return null};
2function t8(t){var e=t.axis,n=t.ticks,i=t.bandSize,o=t.entry,a=t.index,u=t.dataKey;if("category"===e.type){if(!e.allowDuplicatedCategory&&e.dataKey&&!(0,r.default)(o[e.dataKey])){var c=(0,l.findEntryInArray)(n,"value",o[e.dataKey]);if(c)return c.coordinate+i/2}return n[a]?n[a].coordinate+i/2:null}var s=tL(o,(0,r.default)(u)?e.dataKey:u);return(0,r.default)(s)?null:e.scale(s)}var t6=function(t){var e=t.axis,n=t.ticks,i=t.offset,o=t.bandSize,a=t.entry,u=t.index;if("category"===e.type)return n[u]?n[u].coordinate+i:null;var c=tL(a,e.dataKey,e.domain[u]);return(0,r.default)(c)?null:e.scale(c)-o/2+i},t9=function(t){var e=t.numericAxis,r=e.scale.domain();if("number"===e.type){var n=Math.min(r[0],r[1]),i=Math.max(r[0],r[1]);return n<=0&&i>=0?0:i<0?i:n}return r[0]},t4=function(t,e){var r,n=(null!=(r=t.type)&&r.defaultProps?tI(tI({},t.type.defaultProps),t.props):t.props).stackId;if((0,l.isNumOrStr)(n)){var i=e[n];if(i){var o=i.items.indexOf(t);return o>=0?i.stackedData[o]:null}}return null},et=function(t,e,r){return Object.keys(t).reduce(function(n,i){var o=t[i].stackedData.reduce(function(t,n){var i=n.slice(e,r+1).reduce(function(t,e){return[(0,g.default)(e.concat([t[0]]).filter(l.isNumber)),(0,b.default)(e.concat([t[1]]).filter(l.isNumber))]},[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],n[0]),Math.max(o[1],n[1])]},[1/0,-1/0]).map(function(t){return t===1/0||t===-1/0?0:t})},ee=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,er=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,en=function(t,e,r){if((0,i.default)(t))return t(e,r);if(!Array.isArray(t))return e;var n=[];if((0,l.isNumber)(t[0]))n[0]=r?t[0]:Math.min(t[0],e[0]);else if(ee.test(t[0])){var o=+ee.exec(t[0])[1];n[0]=e[0]-o}else(0,i.default)(t[0])?n[0]=t[0](e[0]):n[0]=e[0];if((0,l.isNumber)(t[1]))n[1]=r?t[1]:Math.max(t[1],e[1]);else if(er.test(t[1])){var a=+er.exec(t[1])[1];n[1]=e[1]+a}else(0,i.default)(t[1])?n[1]=t[1](e[1]):n[1]=e[1];return n},ei=function(t,e,r){if(t&&t.scale&&t.scale.bandwidth){var n=t.scale.bandwidth();if(!r||n>0)return n}if(t&&e&&e.length>=2){for(var i=(0,E.default)(e,function(t){return t.coordinate}),o=1/0,a=1,u=i.length;a<u;a++){var c=i[a],l=i[a-1];o=Math.min((c.coordinate||0)-(l.coordinate||0),o)}return o===1/0?0:o}return r?void 0:0},eo=function(t,e,r){return!t||!t.length||(0,P.default)(t,(0,O.default)(r,"type.defaultProps.domain"))?e:t},ea=function(t,e){var r=t.type.defaultProps?tI(tI({},t.type.defaultProps),t.props):t.props,n=r.dataKey,i=r.name,o=r.unit,a=r.formatter,u=r.tooltipType,l=r.chartType,s=r.hide;return tI(tI({},(0,c.filterProps)(t,!1)),{},{dataKey:n,unit:o,formatter:a,name:i||n,color:tU(t),value:tL(e,n),type:u,payload:e,chartType:l,hide:s})};function eu(t){return(eu="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 ec(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function el(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ec(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=eu(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=eu(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==eu(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ec(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var es=Math.PI/180,ef=function(t,e,r,n){return{x:t+Math.cos(-es*n)*r,y:e+Math.sin(-es*n)*r}},ep=function(t,e){var r=t.x,n=t.y;
2return Math.sqrt(Math.pow(r-e.x,2)+Math.pow(n-e.y,2))},ed=function(t,e){var r=t.x,n=t.y,i=e.cx,o=e.cy,a=ep({x:r,y:n},{x:i,y:o});if(a<=0)return{radius:a};var u=Math.acos((r-i)/a);return n>o&&(u=2*Math.PI-u),{radius:a,angle:180*u/Math.PI,angleInRadian:u}},eh=function(t){var e=t.startAngle,r=t.endAngle,n=Math.min(Math.floor(e/360),Math.floor(r/360));return{startAngle:e-360*n,endAngle:r-360*n}};function ey(t){return(ey="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)}t.s(["RADIAN",0,es,"inRangeOfSector",0,function(t,e){var r,n=ed({x:t.x,y:t.y},e),i=n.radius,o=n.angle,a=e.innerRadius,u=e.outerRadius;if(i<a||i>u)return!1;if(0===i)return!0;var c=eh(e),l=c.startAngle,s=c.endAngle,f=o;if(l<=s){for(;f>s;)f-=360;for(;f<l;)f+=360;r=f>=l&&f<=s}else{for(;f>l;)f-=360;for(;f<s;)f+=360;r=f>=s&&f<=l}return r?el(el({},e),{},{radius:i,angle:f+360*Math.min(Math.floor(e.startAngle/360),Math.floor(e.endAngle/360))}):null},"polarToCartesian",0,ef],768970);var ev=["offset"];function em(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function eb(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function eg(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?eb(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=ey(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ey(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ey(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):eb(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function ex(){return(ex=Object.assign.bind()).apply(this,arguments)}var eO=function(t){var e=t.value,n=t.formatter,o=(0,r.default)(t.children)?e:t.children;return(0,i.default)(n)?n(o):o},ew=function(t,n,i){var o,u,c=t.position,s=t.viewBox,f=t.offset,p=t.className,d=s.cx,h=s.cy,y=s.innerRadius,v=s.outerRadius,m=s.startAngle,b=s.endAngle,g=s.clockWise,x=(y+v)/2,O=(0,l.mathSign)(b-m)*Math.min(Math.abs(b-m),360),w=O>=0?1:-1;"insideStart"===c?(o=m+w*f,u=g):"insideEnd"===c?(o=b-w*f,u=!g):"end"===c&&(o=b+w*f,u=g),u=O<=0?u:!u;var S=ef(d,h,x,o),j=ef(d,h,x,o+(u?1:-1)*359),P="M".concat(S.x,",").concat(S.y,"\n A").concat(x,",").concat(x,",0,1,").concat(+!u,",\n ").concat(j.x,",").concat(j.y),E=(0,r.default)(t.id)?(0,l.uniqueId)("recharts-radial-line-"):t.id;return e.default.createElement("text",ex({},i,{dominantBaseline:"central",className:(0,a.default)("recharts-radial-bar-label",p)}),e.default.createElement("defs",null,e.default.createElement("path",{id:E,d:P})),e.default.createElement("textPath",{xlinkHref:"#".concat(E)},n))},eS=function(t){var e=t.viewBox,r=t.offset,n=t.position,i=e.cx,o=e.cy,a=e.innerRadius,u=e.outerRadius,c=(e.startAngle+e.endAngle)/2;if("outside"===n){var l=ef(i,o,u+r,c),s=l.x;return{x:s,y:l.y,textAnchor:s>=i?"start":"end",verticalAnchor:"middle"}}if("center"===n)return{x:i,y:o,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===n)return{x:i,y:o,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===n)return{x:i,y:o,textAnchor:"middle",verticalAnchor:"end"};var f=ef(i,o,(a+u)/2,c);return{x:f.x,y:f.y,textAnchor:"middle",verticalAnchor:"middle"}},ej=function(t){var e=t.viewBox,r=t.parentViewBox,i=t.offset,o=t.position,a=e.x,u=e.y,c=e.width,s=e.height,f=s>=0?1:-1,p=f*i,d=f>0?"end":"start",h=f>0?"start":"end",y=c>=0?1:-1,v=y*i,m=y>0?"end":"start",b=y>0?"start":"end";if("top"===o)return eg(eg({},{x:a+c/2,y:u-f*i,textAnchor:"middle",verticalAnchor:d}),r?{height:Math.max(u-r.y,0),width:c}:{});if("bottom"===o)return eg(eg({},{x:a+c/2,y:u+s+p,textAnchor:"middle",verticalAnchor:h}),r?{height:Math.max(r.y+r.height-(u+s),0),width:c}:{});if("left"===o){var g={x:a-v,y:u+s/2,textAnchor:m,verticalAnchor:"middle"};return eg(eg({},g),r?{width:Math.max(g.x-r.x,0),height:s}:{})}if("right"===o){var x={x:a+c+v,y:u+s/2,textAnchor:b,verticalAnchor:"middle"};return eg(eg({},x),r?{width:Math.max(r.x+r.width-x.x,0),height:s}:{})}var O=r?{width:c,height:s}:{};return"insideLeft"===o?eg({x:a+v,y:u+s/2,textAnchor:b,verticalAnchor:"middle"},O):"insideRight"===o?eg({x:a+c-v,y:u+s/2,textAnchor:m,verticalAnchor:"middle"},O):"insideTop"===o?eg({x:a+c/2,y:u+p,textAnchor:"middle",verticalAnchor:h},O):"insideBottom"===o?eg({x:a+c/2,y:u+s-p,textAnchor:"middle",verticalAnchor:d},O):"insideTopLeft"===o?eg({x:a+v,y:u+p,textAnchor:b,verticalAnchor:h},O):"insideTopRight"===o?eg({x:a+c-v,y:u+p,textAnchor:m,verticalAnchor:h},O):"insideBottomLeft"===o?eg({x:a+v,y:u+s-p,textAnchor:b,verticalAnchor:d},O):"insideBottomRight"===o?eg({x:a+c-v,y:u+s-p,textAnchor:m,verticalAnchor:d},O):(0,n.default)(o)&&((0,l.isNumber)(o.x)||(0,l.isPercent)(o.x))&&((0,l.isNumber)(o.y)||(0,l.isPercent)(o.y))?eg({x:a+(0,l.getPercentValue)(o.x,c),y:u+(0,l.getPercentValue)(o.y,s),textAnchor:"end",verticalAnchor:"end"},O):eg({x:a+c/2,y:u+s/2,textAnchor:"middle",verticalAnchor:"middle"},O)};function eP(t){var n,o=t.offset,s=eg({offset:void 0===o?5:o},function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,ev)),f=s.viewBox,p=s.position,d=s.value,h=s.children,y=s.content,v=s.className,m=s.textBreakAll;if(!f||(0,r.default)(d)&&(0,r.default)(h)&&!(0,e.isValidElement)(y)&&!(0,i.default)(y))return null;if((0,e.isValidElement)(y))return(0,e.cloneElement)(y,s);if((0,i.default)(y)){if(n=(0,e.createElement)(y,s),(0,e.isValidElement)(n))return n}else n=eO(s);var b="cx"in f&&(0,l.isNumber)(f.cx),g=(0,c.filterProps)(s,!0);if(b&&("insideStart"===p||"insideEnd"===p||"end"===p))return ew(s,n,g);var x=b?eS(s):ej(s);return e.default.createElement(u.Text,ex({className:(0,a.default)("recharts-label",void 0===v?"":v)},g,x,{breakAll:m}),n)}eP.displayName="Label";var eE=function(t){var e=t.cx,r=t.cy,n=t.angle,i=t.startAngle,o=t.endAngle,a=t.r,u=t.radius,c=t.innerRadius,s=t.outerRadius,f=t.x,p=t.y,d=t.top,h=t.left,y=t.width,v=t.height,m=t.clockWise,b=t.labelViewBox;if(b)return b;if((0,l.isNumber)(y)&&(0,l.isNumber)(v)){if((0,l.isNumber)(f)&&(0,l.isNumber)(p))return{x:f,y:p,width:y,height:v};if((0,l.isNumber)(d)&&(0,l.isNumber)(h))return{x:d,y:h,width:y,height:v}}return(0,l.isNumber)(f)&&(0,l.isNumber)(p)?{x:f,y:p,width:0,height:0}:(0,l.isNumber)(e)&&(0,l.isNumber)(r)?{cx:e,cy:r,startAngle:i||n||0,endAngle:o||n||0,innerRadius:c||0,outerRadius:s||u||a||0,clockWise:m}:t.viewBox?t.viewBox:{}};eP.parseViewBox=eE,eP.renderCallByParent=function(t,r){var o,a,u=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!t||!t.children&&u&&!t.label)return null;var s=t.children,f=eE(t),p=(0,c.findAllByType)(s,eP).map(function(t,n){return(0,e.cloneElement)(t,{viewB
2ox:r||f,key:"label-".concat(n)})});if(!u)return p;return[(o=t.label,a=r||f,!o?null:!0===o?e.default.createElement(eP,{key:"label-implicit",viewBox:a}):(0,l.isNumOrStr)(o)?e.default.createElement(eP,{key:"label-implicit",viewBox:a,value:o}):(0,e.isValidElement)(o)?o.type===eP?(0,e.cloneElement)(o,{key:"label-implicit",viewBox:a}):e.default.createElement(eP,{key:"label-implicit",content:o,viewBox:a}):(0,i.default)(o)?e.default.createElement(eP,{key:"label-implicit",content:o,viewBox:a}):(0,n.default)(o)?e.default.createElement(eP,ex({viewBox:a},o,{key:"label-implicit"})):null)].concat(function(t){if(Array.isArray(t))return em(t)}(p)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(p)||function(t){if(t){if("string"==typeof t)return em(t,void 0);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return em(t,void 0)}}(p)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())},t.s(["Label",0,eP],800494);var eA=t.i(997865);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)}var ek=["valueAccessor"],eT=["data","dataKey","clockWise","id","textBreakAll"];function eM(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function eC(){return(eC=Object.assign.bind()).apply(this,arguments)}function eN(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function eD(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?eN(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=e_(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=e_(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==e_(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):eN(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function eI(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}var eB=function(t){return Array.isArray(t.value)?(0,o.default)(t.value):t.value};function eL(t){var n=t.valueAccessor,i=void 0===n?eB:n,o=eI(t,ek),a=o.data,u=o.dataKey,l=o.clockWise,s=o.id,f=o.textBreakAll,p=eI(o,eT);return a&&a.length?e.default.createElement(eA.Layer,{className:"recharts-label-list"},a.map(function(t,n){var o=(0,r.default)(u)?i(t,n):tL(t&&t.payload,u),a=(0,r.default)(s)?{}:{id:"".concat(s,"-").concat(n)};return e.default.createElement(eP,eC({},(0,c.filterProps)(t,!0),p,a,{parentViewBox:t.parentViewBox,value:o,textBreakAll:f,viewBox:eP.parseViewBox((0,r.default)(l)?t:eD(eD({},t),{},{clockWise:l})),key:"label-".concat(n),index:n}))})):null}eL.displayName="LabelList",eL.renderCallByParent=function(t,r){var o,a=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!t||!t.children&&a&&!t.label)return null;var u=t.children,l=(0,c.findAllByType)(u,eL).map(function(t,n){return(0,e.cloneElement)(t,{data:r,key:"labelList-".concat(n)})});return a?[(o=t.label,!o?null:!0===o?e.default.createElement(eL,{key:"labelList-implicit",data:r}):e.default.isValidElement(o)||(0,i.default)(o)?e.default.createElement(eL,{key:"labelList-implicit",data:r,content:o}):(0,n.default)(o)?e.default.createElement(eL,eC({data:r},o,{key:"labelList-implicit"})):null)].concat(function(t){if(Array.isArray(t))return eM(t)}(l)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(l)||function(t){if(t){if("string"==typeof t)return eM(t,void 0);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return eM(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},t.s(["LabelList",0,eL],969212)},209516,562728,522220,182984,979357,t=>{"use strict";var e,r,n,i,o,a,u,c=t.i(271645),l=t.i(629873),s=t.i(207670),f=t.i(794395),p={isSsr:!("u">typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(t){return p[t]},set:function(t,e){if("string"==typeof t)p[t]=e;else{var r=Object.keys(t);r&&r.length&&r.forEach(function(e){p[e]=t[e]})}}};t.s(["Global",0,p],562728);var d=t.i(781977);
2function h(t){return(h="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 y(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function v(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?y(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=h(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=h(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==h(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var m={widthCache:{},cacheCount:0},b={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},g="recharts_measurement_span",x=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==t||p.isSsr)return{width:0,height:0};var n=(Object.keys(e=v({},r)).forEach(function(t){e[t]||delete e[t]}),e),i=JSON.stringify({text:t,copyStyle:n});if(m.widthCache[i])return m.widthCache[i];try{var o=document.getElementById(g);o||((o=document.createElement("span")).setAttribute("id",g),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var a=v(v({},b),n);Object.assign(o.style,a),o.textContent="".concat(t);var u=o.getBoundingClientRect(),c={width:u.width,height:u.height};return m.widthCache[i]=c,++m.cacheCount>2e3&&(m.cacheCount=0,m.widthCache={}),c}catch(t){return{width:0,height:0}}};t.s(["getOffset",0,function(t){return{top:t.top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft}},"getStringSize",0,x],522220);var O=t.i(108487);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 S(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,u=[],c=!0,l=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){l=!0,i=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return j(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return j(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 j(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function P(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,function(t){var e=function(t,e){if("object"!=w(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=w(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==w(e)?e:e+""}(n.key),n)}}var E=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,A=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,_=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,k=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,T={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},M=Object.keys(T),C=function(){var t,e;function r(t,e){if(!(0,O._)(this,r))throw TypeError("Cannot call a class as a function");this.num=t,this.unit=e,this.num=t,this.unit=e,Number.isNaN(t)&&(this.unit=""),""===e||_.test(e)||(this.num=NaN,this.unit=""),M.includes(e)&&(this.num=t*T[e],this.unit="px")}return t=[{key:"add",value:function(t){return this.unit!==t.unit?new r(NaN,""):new r(this.num+t.num,this.unit)}},{key:"subtract",value:function(t){return this.unit!==t.unit?new r(NaN,""):new r(this.num-t.num,this.unit)}},{key:"multiply",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new r(NaN,""):new r(this.num*t.num,this.unit||t.unit)}},{key:"divide",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new r(NaN,""):new r(this.num/t.num,this.unit||t.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}],e=[{key:"parse",value:function(t){var e,n=S(null!=(e=k.exec(t))?e:[],3),i=n[1],o=n[2];return new r(parseFloat(i),null!=o?o:"")}}],t&&P(r.prototype,t),e&&P(r,e),Object.defineProperty(r,"prototype",{writable:!1}),r}();function N(t){if(t.includes("NaN"))return"NaN";for(var e=t;e.includes("*")||e.includes("/");){var r,n=S(null!=(r=E.exec(e))?r:[],4),i=n[1],o=n[2],a=n[3],u=C.parse(null!=i?i:""),c=C.parse(null!=a?a:""),l="*"===o?u.multiply(c):u.divi
2de(c);if(l.isNaN())return"NaN";e=e.replace(E,l.toString())}for(;e.includes("+")||/.-\d+(?:\.\d+)?/.test(e);){var s,f=S(null!=(s=A.exec(e))?s:[],4),p=f[1],d=f[2],h=f[3],y=C.parse(null!=p?p:""),v=C.parse(null!=h?h:""),m="+"===d?y.add(v):y.subtract(v);if(m.isNaN())return"NaN";e=e.replace(A,m.toString())}return e}var D=/\(([^()]*)\)/;function I(t){var e=function(t){try{var e;return e=t.replace(/\s+/g,""),e=function(t){for(var e=t;e.includes("(");){var r=S(D.exec(e),2)[1];e=e.replace(D,N(r))}return e}(e),e=N(e)}catch(t){return"NaN"}}(t.slice(5,-1));return"NaN"===e?"":e}var B=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],L=["dx","dy","angle","className","breakAll"];function R(){return(R=Object.assign.bind()).apply(this,arguments)}function z(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function U(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,u=[],c=!0,l=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){l=!0,i=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return F(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return F(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 F(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var q=/[ \f\n\r\t\v\u2028\u2029]+/,W=function(t){var e=t.children,r=t.breakAll,n=t.style;try{var i=[];(0,l.default)(e)||(i=r?e.toString().split(""):e.toString().split(q));var o=i.map(function(t){return{word:t,width:x(t,n).width}}),a=r?0:x(" ",n).width;return{wordsWithComputedWidth:o,spaceWidth:a}}catch(t){return null}},V=function(t,e,r,n,i){var o,a=t.maxLines,u=t.children,c=t.style,l=t.breakAll,s=(0,f.isNumber)(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==n||i||u.width+a+r<Number(n))?(u.words.push(o),u.width+=a+r):t.push({words:[o],width:a}),t},[])},d=p(e);if(!s)return d;for(var h=function(t){var e=p(W({breakAll:l,style:c,children:u.slice(0,t)+"…"}).wordsWithComputedWidth);return[e.length>a||e.reduce(function(t,e){return t.width>e.width?t:e}).width>Number(n),e]},y=0,v=u.length-1,m=0;y<=v&&m<=u.length-1;){var b=Math.floor((y+v)/2),g=U(h(b-1),2),x=g[0],O=g[1],w=U(h(b),1)[0];if(x||w||(y=b+1),x&&w&&(v=b-1),!x&&w){o=O;break}m++}return o||d},X=function(t){return[{words:(0,l.default)(t)?[]:t.toString().split(q)}]},H=function(t){var e=t.width,r=t.scaleToFit,n=t.children,i=t.style,o=t.breakAll,a=t.maxLines;if((e||r)&&!p.isSsr){var u=W({breakAll:o,children:n,style:i});if(!u)return X(n);var c=u.wordsWithComputedWidth,l=u.spaceWidth;return V({breakAll:o,children:n,maxLines:a,style:i},c,l,e,r)}return X(n)},G="#808080";t.s(["Text",0,function(t){var e,r=t.x,n=void 0===r?0:r,i=t.y,o=void 0===i?0:i,a=t.lineHeight,u=void 0===a?"1em":a,l=t.capHeight,p=void 0===l?"0.71em":l,h=t.scaleToFit,y=void 0!==h&&h,v=t.textAnchor,m=t.verticalAnchor,b=t.fill,g=void 0===b?G:b,x=z(t,B),O=(0,c.useMemo)(function(){return H({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,S=x.dy,j=x.angle,P=x.className,E=x.breakAll,A=z(x,L);if(!(0,f.isNumOrStr)(n)||!(0,f.isNumOrStr)(o))return null;var _=n+((0,f.isNumber)(w)?w:0),k=o+((0,f.isNumber)(S)?S:0);switch(void 0===m?"end":m){case"start":e=I("calc(".concat(p,")"));break;case"middle":e=I("calc(".concat((O.length-1)/2," * -").concat(u," + (").concat(p," / 2))"));break;default:e=I("calc(".concat(O.length-1," * -").concat(u,")"))}var T=[];
2if(y){var M=O[0].width,C=x.width;T.push("scale(".concat(((0,f.isNumber)(C)?C/M:1)/M,")"))}return j&&T.push("rotate(".concat(j,", ").concat(_,", ").concat(k,")")),T.length&&(A.transform=T.join(" ")),c.default.createElement("text",R({},(0,d.filterProps)(A,!0),{x:_,y:k,className:(0,s.default)("recharts-text",P),textAnchor:void 0===v?"start":v,fill:g.includes("url")?G:g}),O.map(function(t,r){var n=t.words.join(E?"":" ");return c.default.createElement("tspan",{x:_,dy:0===r?e:u,key:"".concat(n,"-").concat(r)},n)}))}],209516),t.s([],925212),t.i(925212),t.s([],267155),t.i(267155);var Y=t.i(651682);function K(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function $(t,e){switch(arguments.length){case 0:break;case 1:"function"==typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"==typeof e?this.interpolator(e):this.range(e)}return this}var Z=t.i(38981),J=t.i(292955),Q=t.i(780646),tt=t.i(680700),te=t.i(402048),tr=t.i(64217),tn=t.i(500075),ti=t.i(302393),to=function(t){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tu;(0,J._)(this,e),Object.defineProperties(a=(0,Z._)(this,e),{_intern:{value:new Map},_key:{value:r}});var n=!0,i=!1,o=void 0;if(null!=t)try{for(var a,u,c=t[Symbol.iterator]();!(n=(u=c.next()).done);n=!0){var l=(0,Y._)(u.value,2),s=l[0],f=l[1];a.set(s,f)}}catch(t){i=!0,o=t}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return a}return(0,tr._)(e,t),(0,Q._)(e,[{key:"get",value:function(t){return(0,tt._)((0,te._)(e.prototype),"get",this).call(this,ta(this,t))}},{key:"has",value:function(t){return(0,tt._)((0,te._)(e.prototype),"has",this).call(this,ta(this,t))}},{key:"set",value:function(t,r){var n,i,o,a;return(0,tt._)((0,te._)(e.prototype),"set",this).call(this,(n=this,i=t,o=n._intern,a=(0,n._key)(i),o.has(a)?o.get(a):(o.set(a,i),i)),r)}},{key:"delete",value:function(t){var r,n,i,o;return(0,tt._)((0,te._)(e.prototype),"delete",this).call(this,(r=this,n=t,i=r._intern,o=(0,r._key)(n),i.has(o)&&(n=i.get(o),i.delete(o)),n))}}]),e}((0,ti._)(Map));function ta(t,e){var r=t._intern,n=(0,t._key)(e);return r.has(n)?r.get(n):e}function tu(t){return null!==t&&(void 0===t?"undefined":(0,tn._)(t))==="object"?t.valueOf():t}(0,ti._)(Set);var tc=Symbol("implicit");function tl(){var t=new to,e=[],r=[],n=tc;function i(i){var o=t.get(i);if(void 0===o){if(n!==tc)return n;t.set(i,o=e.push(i)-1)}return r[o%r.length]}return i.domain=function(r){if(!arguments.length)return e.slice();e=[],t=new to;var n=!0,o=!1,a=void 0;try{for(var u,c=r[Symbol.iterator]();!(n=(u=c.next()).done);n=!0){var l=u.value;t.has(l)||t.set(l,e.push(l)-1)}}catch(t){o=!0,a=t}finally{try{n||null==c.return||c.return()}finally{if(o)throw a}}return i},i.range=function(t){return arguments.length?(r=Array.from(t),i):r.slice()},i.unknown=function(t){return arguments.length?(n=t,i):n},i.copy=function(){return tl(e,r).unknown(n)},K.apply(i,arguments),i}function ts(){var t,e,r=tl().unknown(void 0),n=r.domain,i=r.range,o=0,a=1,u=!1,c=0,l=0,s=.5;function f(){var r=n().length,f=a<o,p=f?a:o,d=f?o:a;t=(d-p)/Math.max(1,r-c+2*l),u&&(t=Math.floor(t)),p+=(d-p-t*(r-c))*s,e=t*(1-c),u&&(p=Math.round(p),e=Math.round(e));var h=(function(t,e,r){t*=1,e*=1,r=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+r;for(var n=-1,i=0|Math.max(0,Math.ceil((e-t)/r)),o=Array(i);++n<i;)o[n]=t+n*r;return o})(r).map(function(e){return p+t*e});return i(f?h.reverse():h)}return delete r.unknown,r.domain=function(t){return arguments.length?(n(t),f()):n()},r.range=function(t){var e;return arguments.length?(o=(e=(0,Y._)(t,2))[0],a=e[1],o*=1,a*=1,f()):[o,a]},r.rangeRound=function(t){var e;return o=(e=(0,Y._)(t,2))[0],a=e[1],o*=1,a*=1,u=!0,f()},r.bandwidth=function(){return e},r.step=function(){return t},r.round=function(t){return arguments.length?(u=!!t,f()):u},r.padding=function(t){return arguments.length?(c=Math.min(1,l=+t),f()):c},r.paddingInner=function(t){return arguments.length?(c=Math.min(1,t),f()):c},r.paddingOuter=function(t){return arguments.length?(l=+t,f()):l},r.align=function(t){return arguments.length?(s=Math.max(0,Math.min(1,t)),f()):s},r.copy=function(){return ts(n(),[o,a]).round(u).paddingInner(c).paddingOuter(l).align(s)},K.apply(f(),arguments)}function tf(){return function t(e){var r=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return t(r())},e}(ts.apply(null,arguments).paddingInner(1))}t.s(["default",0,ts,"point",0,tf],182984);var tp=Math.sqrt(50),td=Math.sqrt(10),th=Math.sqrt(2);function ty(t,e,r){var n,i,o,a=(e-t)/Math.max(0,r),u=Math.floor(Math.log10(a)),c=a/Math.pow(10,u),l=c>=tp?10:c>=td?5:c>=th?2:1;return(u<0?(n=Math.round(t*(o=Math.pow(10,-u)/l)),i=Math.round(e*o),n/o<t&&++n,i/o>e&&--i,o=-o):(n=Math.round(t/(o=Math.pow(10,u)*l)),i=Math.round(e/o),n*o<t&&++n,i*o>e&&--i),i<n&&.5<=r&&r<2)?ty(t,e,2*r):[n,i,o]}function tv(t,e,r){if(e*=1,t*=1,!((r*=1)>0))return[];if(t===e)return[t];var n=e<t,i=(0,Y._)(n?ty(e,t,r):ty(t,e,r),3),o=i[0],a=i[1],u=i[2];if(!(a>=o))return[];var c=a-o+1,l=Array(c);if(n)if(u<0)for(var s=0;s<c;++s)l[s]=-((a-s)/u);else for(var f=0;f<c;++f)l[f]=(a-f)*u;else if(u<0)for(var p=0;p<c;++p)l[p]=-((o+p)/u);else for(var d=0;d<c;++d)l[d]=(o+d)*u;return l}function tm(t,e,r){return ty(t*=1,e*=1,r*=1)[2]}function tb(t,e,r){e*=1,t*=1,r*=1;var n=e<t,i=n?tm(e,t,r):tm(t,e,r);return(n?-1:1)*(i<0?-(1/i):i)}function tg(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function tx(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function tO(t){var e,r,n;function i(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length;
2if(i<o){if(0!==e(n,n))return o;do{var a=i+o>>>1;0>r(t[a],n)?i=a+1:o=a}while(i<o)}return i}return 2!==t.length?(e=tg,r=function(e,r){return tg(t(e),r)},n=function(e,r){return t(e)-r}):(e=t===tg||t===tx?t:tw,r=t,n=t),{left:i,center:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length,a=i(t,e,r,o-1);return a>r&&n(t[a-1],e)>-n(t[a],e)?a-1:a},right:function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length;if(i<o){if(0!==e(n,n))return o;do{var a=i+o>>>1;0>=r(t[a],n)?i=a+1:o=a}while(i<o)}return i}}}function tw(){return 0}var tS=t.i(513935);function tj(t){return null===t?NaN:+t}var tP=tO(tg),tE=tP.right;function tA(t,e,r){t.prototype=e.prototype=r,r.constructor=t}function t_(t,e){var r=Object.create(t.prototype);for(var n in e)r[n]=e[n];return r}function tk(){}tP.left,tO(tj).center;var tT="\\s*([+-]?\\d+)\\s*",tM="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",tC="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",tN=/^#([0-9a-f]{3,8})$/,tD=new RegExp("^rgb\\(".concat(tT,",").concat(tT,",").concat(tT,"\\)$")),tI=new RegExp("^rgb\\(".concat(tC,",").concat(tC,",").concat(tC,"\\)$")),tB=new RegExp("^rgba\\(".concat(tT,",").concat(tT,",").concat(tT,",").concat(tM,"\\)$")),tL=new RegExp("^rgba\\(".concat(tC,",").concat(tC,",").concat(tC,",").concat(tM,"\\)$")),tR=new RegExp("^hsl\\(".concat(tM,",").concat(tC,",").concat(tC,"\\)$")),tz=new RegExp("^hsla\\(".concat(tM,",").concat(tC,",").concat(tC,",").concat(tM,"\\)$")),tU={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function tF(){return this.rgb().formatHex()}function tq(){return this.rgb().formatRgb()}function tW(t){var e,r;return t=(t+"").trim().toLowerCase(),(e=tN.exec(t))?(r=e[1].length,e=parseInt(e[1],16),6===r?tV(e):3===r?new tG(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===r?tX(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===r?tX(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=tD.exec(t))?new tG(e[1],e[2],e[3],1):(e=tI.exec(t))?new tG(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=tB.exec(t))?tX(e[1],e[2],e[3],e[4]):(e=tL.exec(t))?tX(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=tR.exec(t))?tQ(e[1],e[2]/100,e[3]/100,1):(e=tz.exec(t))?tQ(e[1],e[2]/100,e[3]/100,e[4]):tU.hasOwnProperty(t)?tV(tU[t]):"transparent"===t?new tG(NaN,NaN,NaN,0):null}function tV(t){return new tG(t>>16&255,t>>8&255,255&t,1)}function tX(t,e,r,n){return n<=0&&(t=e=r=NaN),new tG(t,e,r,n)}function tH(t,e,r,n){var i;return 1==arguments.length?(i=t,((0,O._)(i,tk)||(i=tW(i)),i)?new tG((i=i.rgb()).r,i.g,i.b,i.opacity):new tG):new tG(t,e,r,null==n?1:n)}function tG(t,e,r,n){this.r=+t,this.g=+e,this.b=+r,this.opacity=+n}function tY(){return"#".concat(tJ(this.r)).concat(tJ(this.g)).concat(tJ(this.b))}function tK(){var t=t$(this.opacity);return"".concat(1===t?"rgb(":"rgba(").concat(tZ(this.r),", ").concat(tZ(this.g),", ").concat(tZ(this.b)).concat(1===t?")":", ".concat(t,")"))}function t$(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function tZ(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function tJ(t){return((t=tZ(t))<16?"0":"")+t.toString(16)}function tQ(t,e,r,n){return n<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new t1(t,e,r,n)}function t0(t){if((0,O._)(t,t1))return new t1(t.h,t.s,t.l,t.opacity);
2if((0,O._)(t,tk)||(t=tW(t)),!t)return new t1;if((0,O._)(t,t1))return t;var e=(t=t.rgb()).r/255,r=t.g/255,n=t.b/255,i=Math.min(e,r,n),o=Math.max(e,r,n),a=NaN,u=o-i,c=(o+i)/2;return u?(a=e===o?(r-n)/u+(r<n)*6:r===o?(n-e)/u+2:(e-r)/u+4,u/=c<.5?o+i:2-o-i,a*=60):u=c>0&&c<1?0:a,new t1(a,u,c,t.opacity)}function t1(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}function t2(t){return(t=(t||0)%360)<0?t+360:t}function t3(t){return Math.max(0,Math.min(1,t||0))}function t5(t,e,r){return(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)*255}function t7(t,e,r,n,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*r+(1+3*t+3*o-3*a)*n+a*i)/6}tA(tk,tW,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:tF,formatHex:tF,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return t0(this).formatHsl()},formatRgb:tq,toString:tq}),tA(tG,tH,t_(tk,{brighter:function(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new tG(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new tG(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},clamp:function(){return new tG(tZ(this.r),tZ(this.g),tZ(this.b),t$(this.opacity))},displayable:function(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:tY,formatHex:tY,formatHex8:function(){return"#".concat(tJ(this.r)).concat(tJ(this.g)).concat(tJ(this.b)).concat(tJ((isNaN(this.opacity)?1:this.opacity)*255))},formatRgb:tK,toString:tK})),tA(t1,function(t,e,r,n){return 1==arguments.length?t0(t):new t1(t,e,r,null==n?1:n)},t_(tk,{brighter:function(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new t1(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new t1(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*e,i=2*r-n;return new tG(t5(t>=240?t-240:t+120,i,n),t5(t,i,n),t5(t<120?t+240:t-120,i,n),this.opacity)},clamp:function(){return new t1(t2(this.h),t3(this.s),t3(this.l),t$(this.opacity))},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=t$(this.opacity);return"".concat(1===t?"hsl(":"hsla(").concat(t2(this.h),", ").concat(100*t3(this.s),"%, ").concat(100*t3(this.l),"%").concat(1===t?")":", ".concat(t,")"))}}));let t8=function(t){return function(){return t}};function t6(t,e){var r=e-t;return r?function(e){return t+e*r}:t8(isNaN(t)?e:t)}let t9=function t(e){var r,n=1==(r=+e)?t6:function(t,e){var n,i,o;return e-t?(n=t,i=e,n=Math.pow(n,o=r),i=Math.pow(i,o)-n,o=1/o,function(t){return Math.pow(n+t*i,o)}):t8(isNaN(t)?e:t)};function i(t,e){var r=n((t=tH(t)).r,(e=tH(e)).r),i=n(t.g,e.g),o=n(t.b,e.b),a=t6(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return i.gamma=t,i}(1);function t4(t){return function(e){var r,n,i=e.length,o=Array(i),a=Array(i),u=Array(i);for(r=0;r<i;++r)n=tH(e[r]),o[r]=n.r||0,a[r]=n.g||0,u[r]=n.b||0;return o=t(o),a=t(a),u=t(u),n.opacity=1,function(t){return n.r=o(t),n.g=a(t),n.b=u(t),n+""}}}function et(t,e){return t*=1,e*=1,function(r){return t*(1-r)+e*r}}t4(function(t){var e=t.length-1;return function(r){var n=r<=0?r=0:r>=1?(r=1,e-1):Math.floor(r*e),i=t[n],o=t[n+1],a=n>0?t[n-1]:2*i-o,u=n<e-1?t[n+2]:2*o-i;return t7((r-n/e)*e,a,i,o,u)}}),t4(function(t){var e=t.length;return function(r){var n=Math.floor(((r%=1)<0?++r:r)*e),i=t[(n+e-1)%e],o=t[n%e],a=t[(n+1)%e],u=t[(n+2)%e];return t7((r-n/e)*e,i,o,a,u)}});var ee=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,er=RegExp(ee.source,"g");function en(t,e){var r,n,i=void 0===e?"undefined":(0,tn._)(e);return null==e||"boolean"===i?t8(e):("number"===i?et:"string"===i?(n=tW(e))?(e=n,t9):function(t,e){var r,n,i,o,a,u=ee.lastIndex=er.lastIndex=0,c=-1,l=[],s=[];for(t+="",e+="";(i=ee.exec(t))&&(o=er.exec(e));)(a=o.index)>u&&(a=e.slice(u,a),l[c]?l[c]+=a:l[++c]=a),(i=i[0])===(o=o[0])?l[c]?l[c]+=o:l[++c]=o:(l[++c]=null,
2s.push({i:c,x:et(i,o)})),u=er.lastIndex;return u<e.length&&(a=e.slice(u),l[c]?l[c]+=a:l[++c]=a),l.length<2?s[0]?(r=s[0].x,function(t){return r(t)+""}):(n=e,function(){return n}):(e=s.length,function(t){for(var r,n=0;n<e;++n)l[(r=s[n]).i]=r.x(t);return l.join("")})}:(0,O._)(e,tW)?t9:(0,O._)(e,Date)?function(t,e){var r=new Date;return t*=1,e*=1,function(n){return r.setTime(t*(1-n)+e*n),r}}:ArrayBuffer.isView(r=e)&&!(0,O._)(r,DataView)?function(t,e){e||(e=[]);var r,n=t?Math.min(e.length,t.length):0,i=e.slice();return function(o){for(r=0;r<n;++r)i[r]=t[r]*(1-o)+e[r]*o;return i}}:Array.isArray(e)?function(t,e){var r,n=e?e.length:0,i=t?Math.min(n,t.length):0,o=Array(i),a=Array(n);for(r=0;r<i;++r)o[r]=en(t[r],e[r]);for(;r<n;++r)a[r]=e[r];return function(t){for(r=0;r<i;++r)a[r]=o[r](t);return a}}:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?function(t,e){var r,n={},i={};for(r in(null===t||(void 0===t?"undefined":(0,tn._)(t))!=="object")&&(t={}),(null===e||(void 0===e?"undefined":(0,tn._)(e))!=="object")&&(e={}),e)r in t?n[r]=en(t[r],e[r]):i[r]=e[r];return function(t){for(r in n)i[r]=n[r](t);return i}}:et)(t,e)}function ei(t,e){return t*=1,e*=1,function(r){return Math.round(t*(1-r)+e*r)}}function eo(t){return+t}var ea=[0,1];function eu(t){return t}function ec(t,e){var r;return(e-=t*=1)?function(r){return(r-t)/e}:(r=isNaN(e)?NaN:.5,function(){return r})}function el(t,e,r){var n=t[0],i=t[1],o=e[0],a=e[1];return i<n?(n=ec(i,n),o=r(a,o)):(n=ec(n,i),o=r(o,a)),function(t){return o(n(t))}}function es(t,e,r){var n=Math.min(t.length,e.length)-1,i=Array(n),o=Array(n),a=-1;for(t[n]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<n;)i[a]=ec(t[a],t[a+1]),o[a]=r(e[a],e[a+1]);return function(e){var r=tE(t,e,1,n)-1;return o[r](i[r](e))}}function ef(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function ep(){var t,e,r,n,i,o,a=ea,u=ea,c=en,l=eu;function s(){var t,e,r,c=Math.min(a.length,u.length);return l!==eu&&(t=a[0],e=a[c-1],t>e&&(r=t,t=e,e=r),l=function(r){return Math.max(t,Math.min(e,r))}),n=c>2?es:el,i=o=null,f}function f(e){return null==e||isNaN(e*=1)?r:(i||(i=n(a.map(t),u,c)))(t(l(e)))}return f.invert=function(r){return l(e((o||(o=n(u,a.map(t),et)))(r)))},f.domain=function(t){return arguments.length?(a=Array.from(t,eo),s()):a.slice()},f.range=function(t){return arguments.length?(u=Array.from(t),s()):u.slice()},f.rangeRound=function(t){return u=Array.from(t),c=ei,s()},f.clamp=function(t){return arguments.length?(l=!!t||eu,s()):l!==eu},f.interpolate=function(t){return arguments.length?(c=t,s()):c},f.unknown=function(t){return arguments.length?(r=t,f):r},function(r,n){return t=r,e=n,s()}}function ed(){return ep()(eu,eu)}function eh(t,e){if(!isFinite(t)||0===t)return null;var r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"),n=t.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+t.slice(r+1)]}function ey(t){return(t=eh(Math.abs(t)))?t[1]:NaN}var ev=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function em(t){var e;if(!(e=ev.exec(t)))throw Error("invalid format: "+t);return new eb({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function eb(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function eg(t,e){var r=eh(t,e);if(!r)return t+"";var n=r[0],i=r[1];return i<0?"0."+Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+Array(i-n.length+2).join("0")}em.prototype=eb.prototype,eb.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};let ex={"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.abs(t=Math.round(t))>
2=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return eg(100*t,e)},r:eg,s:function(t,r){var n=eh(t,r);if(!n)return e=void 0,t.toPrecision(r);var i=n[0],o=n[1],a=o-(e=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,u=i.length;return a===u?i:a>u?i+Array(a-u+1).join("0"):a>0?i.slice(0,a)+"."+i.slice(a):"0."+Array(1-a).join("0")+eh(t,Math.max(0,r+a-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}};function eO(t){return t}var ew=Array.prototype.map,eS=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function ej(t,e,r,o){var a,u,c=tb(t,e,r);switch((o=em(null==o?",f":o)).type){case"s":var l=Math.max(Math.abs(t),Math.abs(e));return null!=o.precision||isNaN(u=Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(ey(l)/3)))-ey(Math.abs(c))))||(o.precision=u),i(o,l);case"":case"e":case"g":case"p":case"r":null!=o.precision||isNaN(u=Math.max(0,ey(Math.abs(Math.max(Math.abs(t),Math.abs(e)))-(a=Math.abs(a=c)))-ey(a))+1)||(o.precision=u-("e"===o.type));break;case"f":case"%":null!=o.precision||isNaN(u=Math.max(0,-ey(Math.abs(c))))||(o.precision=u-("%"===o.type)*2)}return n(o)}function eP(t){var e=t.domain;return t.ticks=function(t){var r=e();return tv(r[0],r[r.length-1],null==t?10:t)},t.tickFormat=function(t,r){var n=e();return ej(n[0],n[n.length-1],null==t?10:t,r)},t.nice=function(r){null==r&&(r=10);var n,i,o=e(),a=0,u=o.length-1,c=o[a],l=o[u],s=10;for(l<c&&(i=c,c=l,l=i,i=a,a=u,u=i);s-- >0;){if((i=tm(c,l,r))===n)return o[a]=c,o[u]=l,e(o);if(i>0)c=Math.floor(c/i)*i,l=Math.ceil(l/i)*i;else if(i<0)c=Math.ceil(c*i)/i,l=Math.floor(l*i)/i;else break;n=i}return t},t}function eE(){var t=ed();return t.copy=function(){return ef(t,eE())},K.apply(t,arguments),eP(t)}function eA(t){var e;function r(t){return null==t||isNaN(t*=1)?e:t}return r.invert=r,r.domain=r.range=function(e){return arguments.length?(t=Array.from(e,eo),r):t.slice()},r.unknown=function(t){return arguments.length?(e=t,r):e},r.copy=function(){return eA(t).unknown(e)},t=arguments.length?Array.from(t,eo):[0,1],eP(r)}function e_(t,e){t=t.slice();var r,n=0,i=t.length-1,o=t[n],a=t[i];return a<o&&(r=n,n=i,i=r,r=o,o=a,a=r),t[n]=e.floor(o),t[i]=e.ceil(a),t}function ek(t){return Math.log(t)}function eT(t){return Math.exp(t)}function eM(t){return-Math.log(-t)}function eC(t){return-Math.exp(-t)}function eN(t){return isFinite(t)?+("1e"+t):t<0?0:t}function eD(t){return function(e,r){return-t(-e,r)}}function eI(t){var e,r,i=t(ek,eT),o=i.domain,a=10;function u(){var n,u;return e=(n=a)===Math.E?Math.log:10===n&&Math.log10||2===n&&Math.log2||(n=Math.log(n),function(t){return Math.log(t)/n}),r=10===(u=a)?eN:u===Math.E?Math.exp:function(t){return Math.pow(u,t)},o()[0]<0?(e=eD(e),r=eD(r),t(eM,eC)):t(ek,eT),i}return i.base=function(t){return arguments.length?(a=+t,u()):a},i.domain=function(t){return arguments.length?(o(t),u()):o()},i.ticks=function(t){var n,i,u,c=o(),l=c[0],s=c[c.length-1],f=s<l;f&&(l=(n=[s,l])[0],s=n[1]);var p=e(l),d=e(s),h=null==t?10:+t,y=[];if(!(a%1)&&d-p<h){if(p=Math.floor(p),d=Math.ceil(d),l>0){for(;p<=d;++p)for(i=1;i<a;++i)if(!((u=p<0?i/r(-p):i*r(p))<l)){if(u>s)break;y.push(u)}}else for(;p<=d;++p)for(i=a-1;i>=1;--i)if(!((u=p>0?i/r(-p):i*r(p))<l)){if(u>s)break;y.push(u)}2*y.length<h&&(y=tv(l,s,h))}else y=tv(p,d,Math.min(d-p,h)).map(r);return f?y.reverse():y},i.tickFormat=function(t,o){if(null==t&&(t=10),null==o&&(o=10===a?"s":","),"function"!=typeof o&&(a%1||null!=(o=em(o)).precision||(o.trim=!0),o=n(o)),t===1/0)return o;var u=Math.max(1,a*t/i.ticks().length);return function(t){var n=t/r(Math.round(e(t)));return n*a<a-.5&&(n*=a),n<=u?o(t):""}},i.nice=function(){return o(e_(o(),{floor:function(t){return r(Math.floor(e(t)))},ceil:function(t){return r(Math.ceil(e(t)))}}))},i}function eB(){var t=eI(ep()).domain([1,10]);return t.copy=function(){return ef(t,eB()).base(t.base())},K.apply(t,arguments),t}function eL(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function eR(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function ez(t){var e=1,r=t(eL(1),eR(e));return r.constant=function(r){return arguments.length?t(eL(e=+r),eR(e)):e},eP(r)}function eU(){var t=ez(ep());return t.copy=function(){return ef(t,eU()).constant(t.constant())},K.apply(t,arguments)}function eF(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function eq(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function eW(t){return t<0?-t*t:t*t}function eV(t){var e=t(eu,eu),r=1;return e.exponent=function(e){return arguments.length?1==(r=+e)?t(eu,eu):.5===r?t(eq,eW):t(eF(r),eF(1/r)):r},eP(e)}function eX(){var t=eV(ep());return t.copy=function(){return ef(t,eX()).exponent(t.exponent())},K.apply(t,arguments),t}function eH(){return eX.apply(null,arguments).exponent(.5)}function eG(t){return Math.sign(t)*t*t}function eY(){var t,e=ed(),r=[0,1],n=!1;function i(r){var i,o=Math.sign(i=e(r))*Math.sqrt(Math.abs(i));return isNaN(o)?t:n?Math.round(o):o}return i.invert=function(t){return e.invert(eG(t))},i.domain=function(t){return arguments.length?(e.domain(t),i):e.domain()},i.range=function(t){return arguments.length?(e.range((r=Array.from(t,eo)).map(eG)),i):r.slice()},i.rangeRound=function(t){return i.range(t).round(!0)},i.round=function(t){return arguments.length?(n=!!t,i):n},i.clamp=function(t){return arguments.length?(e.clamp(t),i):e.clamp()},i.unknown=function(e){return arguments.length?(t=e,i):t}
2,i.copy=function(){return eY(e.domain(),r).round(n).clamp(e.clamp()).unknown(t)},K.apply(i,arguments),eP(i)}function eK(t,e){var r;if(void 0===e){var n=!0,i=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(n=(a=u.next()).done);n=!0){var c=a.value;null!=c&&(r<c||void 0===r&&c>=c)&&(r=c)}}catch(t){i=!0,o=t}finally{try{n||null==u.return||u.return()}finally{if(i)throw o}}}else{var l=-1,s=!0,f=!1,p=void 0;try{for(var d,h=t[Symbol.iterator]();!(s=(d=h.next()).done);s=!0){var y=d.value;null!=(y=e(y,++l,t))&&(r<y||void 0===r&&y>=y)&&(r=y)}}catch(t){f=!0,p=t}finally{try{s||null==h.return||h.return()}finally{if(f)throw p}}}return r}function e$(t,e){var r;if(void 0===e){var n=!0,i=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(n=(a=u.next()).done);n=!0){var c=a.value;null!=c&&(r>c||void 0===r&&c>=c)&&(r=c)}}catch(t){i=!0,o=t}finally{try{n||null==u.return||u.return()}finally{if(i)throw o}}}else{var l=-1,s=!0,f=!1,p=void 0;try{for(var d,h=t[Symbol.iterator]();!(s=(d=h.next()).done);s=!0){var y=d.value;null!=(y=e(y,++l,t))&&(r>y||void 0===r&&y>=y)&&(r=y)}}catch(t){f=!0,p=t}finally{try{s||null==h.return||h.return()}finally{if(f)throw p}}}return r}function eZ(t,e){return(null==t||!(t>=t))-(null==e||!(e>=e))||(t<e?-1:+(t>e))}function eJ(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function eQ(){var t,e=[],r=[],n=[];function i(){var t=0,i=Math.max(1,r.length);for(n=Array(i-1);++t<i;)n[t-1]=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:tj;if(!(!(n=t.length)||isNaN(e*=1))){if(e<=0||n<2)return+r(t[0],0,t);if(e>=1)return+r(t[n-1],n-1,t);var n,i=(n-1)*e,o=Math.floor(i),a=+r(t[o],o,t);return a+(r(t[o+1],o+1,t)-a)*(i-o)}}(e,t/i);return o}function o(e){return null==e||isNaN(e*=1)?t:r[tE(n,e)]}return o.invertExtent=function(t){var i=r.indexOf(t);return i<0?[NaN,NaN]:[i>0?n[i-1]:e[0],i<n.length?n[i]:e[e.length-1]]},o.domain=function(t){if(!arguments.length)return e.slice();e=[];var r=!0,n=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done);r=!0){var c=a.value;null==c||isNaN(c*=1)||e.push(c)}}catch(t){n=!0,o=t}finally{try{r||null==u.return||u.return()}finally{if(n)throw o}}return e.sort(tg),i()},o.range=function(t){return arguments.length?(r=Array.from(t),i()):r.slice()},o.unknown=function(e){return arguments.length?(t=e,o):t},o.quantiles=function(){return n.slice()},o.copy=function(){return eQ().domain(e).range(r).unknown(t)},K.apply(o,arguments)}function e0(){var t,e=0,r=1,n=1,i=[.5],o=[0,1];function a(e){return null!=e&&e<=e?o[tE(i,e,0,n)]:t}function u(){var t=-1;for(i=Array(n);++t<n;)i[t]=((t+1)*r-(t-n)*e)/(n+1);return a}return a.domain=function(t){var n;return arguments.length?(e=(n=(0,Y._)(t,2))[0],r=n[1],e*=1,r*=1,u()):[e,r]},a.range=function(t){return arguments.length?(n=(o=Array.from(t)).length-1,u()):o.slice()},a.invertExtent=function(t){var a=o.indexOf(t);return a<0?[NaN,NaN]:a<1?[e,i[0]]:a>=n?[i[n-1],r]:[i[a-1],i[a]]},a.unknown=function(e){return arguments.length&&(t=e),a},a.thresholds=function(){return i.slice()},a.copy=function(){return e0().domain([e,r]).range(o).unknown(t)},K.apply(eP(a),arguments)}function e1(){var t,e=[.5],r=[0,1],n=1;function i(i){return null!=i&&i<=i?r[tE(e,i,0,n)]:t}return i.domain=function(t){return arguments.length?(n=Math.min((e=Array.from(t)).length,r.length-1),i):e.slice()},i.range=function(t){return arguments.length?(r=Array.from(t),n=Math.min(e.length,r.length-1),i):r.slice()},i.invertExtent=function(t){var n=r.indexOf(t);return[e[n-1],e[n]]},i.unknown=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return e1().domain(e).range(r).unknown(t)},K.apply(i,arguments)}n=(r=function(t){var r,n,i,o=void 0===t.grouping||void 0===t.thousands?eO:(r=ew.call(t.grouping,Number),n=t.thousands+"",function(t,e){for(var i=t.length,o=[],a=0,u=r[0],c=0;i>0&&u>0&&(c+u+1>e&&(u=Math.max(1,e-c)),o.push(t.substring(i-=u,i+u)),!((c+=u+1)>e));)u=r[a=(a+1)%r.length];return o.reverse().join(n)}),a=void 0===t.currency?"":t.currency[0]+"",u=void 0===t.currency?"":t.currency[1]+"",c=void 0===t.decimal?".":t.decimal+"",l=void 0===t.numerals?eO:(i=ew.call(t.numerals,String),function(t){return t.replace(/[0-9]/g,function(t){return i[+t]})}),s=void 0===t.percent?"%":t.percent+"",f=void 0===t.minus?"−":t.minus+"",p=void 0===t.nan?"NaN":t.nan+"";function d(t,r){var n=(t=em(t)).fill,i=t.align,d=t.sign,h=t.symbol,y=t.zero,v=t.width,m=t.comma,b=t.precision,g=t.trim,x=t.type;"n"===x?(m=!0,x="g"):ex[x]||(void 0===b&&(b=12),g=!0,x="g"),(y||"0"===n&&"="===i)&&(y=!0,n="0",i="=");var O=(r&&void 0!==r.prefix?r.prefix:"")+("$"===h?a:"#"===h&&/[boxX]/.test(x)?"0"+x.toLowerCase():""),w=("$"===h?u:/[%p]/.test(x)?s:"")+(r&&void 0!==r.suffix?r.suffix:""),S=ex[x],j=/[defgprs%]/.test(x);function P(t){var r,a,u,s=O,h=w;if("c"===x)h=S(t)+h,t="";else{var P=(t*=1)<0||1/t<0;if(t=isNaN(t)?p:S(Math.abs(t),b),g&&(t=function(t){e:for(var e,r=t.length,n=1,i=-1;n<r;++n)switch(t[n]){case".":i=e=n;break;case"0":0===i&&(i=n),e=n;break;default:if(!+t[n])break e;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),P&&0==+t&&"+"!==d&&(P=!1),s=(P?"("===d?d:f:"-"===d||"("===d?"":d)+s,h=("s"!==x||isNaN(t)||void 0===e?"":eS[8+e/3])+h+(P&&"("===d?")":""),j){for(r=-1,a=t.length;++r<a;)if(48>(u=t.charCodeAt(r))||u>57){h=(46===u?c+t.slice(r+1):t.slice(r))+h,t=t.slice(0,r);break}}}m&&!y&&(t=o(t,1/0));var E=s.length+t.length+h.length,A=E<v?Array(v-E+1).join(n):"";switch(m&&y&&(t=o(A+t,A.length?v-h.length:1/0),A=""),i){case"<":t=s+t+h+A;break;case"=":t=s+A+t+h;break;case"^":t=A.slice(0,E=A.length>>1)+s+t+h+A.slice(E);break;default:t=A+s+t+h}return l(t)}return b=void 0===b?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,b)):Math.max(0,Math.min(20,b)),P.toString=function(){return t+""},P}return{format:d,formatPrefix:function(t,e){var r=3*Math.max(-8,Math.min(8,Math.floor(ey(e)/3))),n=Math.pow(10,-r),i=d(((t=em(t)).type="f",t),{suffix:eS[8+r/3]});return function(t){return i(n*t)}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,i=r.formatPrefix;var e2=new Date,e3=new Date;function e5(t,e,r,n){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(r){return t(r=new Date(r-1)),e(r,1),t(r),r}
2,i.round=function(t){var e=i(t),r=i.ceil(t);return t-e<r-t?e:r},i.offset=function(t,r){return e(t=new Date(+t),null==r?1:Math.floor(r)),t},i.range=function(r,n,o){var a,u=[];if(r=i.ceil(r),o=null==o?1:Math.floor(o),!(r<n)||!(o>0))return u;do u.push(a=new Date(+r)),e(r,o),t(r);while(a<r&&r<n)return u},i.filter=function(r){return e5(function(e){if(e>=e)for(;t(e),!r(e);)e.setTime(e-1)},function(t,n){if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!r(t););else for(;--n>=0;)for(;e(t,1),!r(t););})},r&&(i.count=function(e,n){return e2.setTime(+e),e3.setTime(+n),t(e2),t(e3),Math.floor(r(e2,e3))},i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?t>1?i.filter(n?function(e){return n(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}var e7=e5(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()});e7.every=function(t){return isFinite(t=Math.floor(t))&&t>0?e5(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,r){e.setFullYear(e.getFullYear()+r*t)}):null},e7.range;var e8=e5(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()});e8.every=function(t){return isFinite(t=Math.floor(t))&&t>0?e5(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,r){e.setUTCFullYear(e.getUTCFullYear()+r*t)}):null},e8.range;var e6=e5(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()});e6.range;var e9=e5(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()});e9.range;function e4(t){return e5(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})}var rt=e4(0),re=e4(1),rr=e4(2),rn=e4(3),ri=e4(4),ro=e4(5),ra=e4(6);function ru(t){return e5(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})}rt.range,re.range,rr.range,rn.range,ri.range,ro.range,ra.range;var rc=ru(0),rl=ru(1),rs=ru(2),rf=ru(3),rp=ru(4),rd=ru(5),rh=ru(6);rc.range,rl.range,rs.range,rf.range,rp.range,rd.range,rh.range;var ry=e5(function(t){return t.setHours(0,0,0,0)},function(t,e){return t.setDate(t.getDate()+e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/864e5},function(t){return t.getDate()-1});ry.range;var rv=e5(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});rv.range;var rm=e5(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 Math.floor(t/864e5)});rm.range;var rb=e5(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()});rb.range;var rg=e5(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()});rg.range;var rx=e5(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()});rx.range;var rO=e5(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()});rO.range;var rw=e5(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()});rw.range;var rS=e5(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});function rj(t,e,r,n,i,o){var a=[[rw,1,1e3],[rw,5,5e3],[rw,15,15e3],[rw,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],[n,1,864e5],[n,2,1728e5],[r,1,6048e5],[e,1,2592e6],[e,3,7776e6],[t,1,31536e6]];function u(e,r,n){var i=Math.abs(r-e)/n,o=tO(function(t){return(0,Y._)(t,3)[2]}).right(a,i);if(o===a.length)return t.every(tb(e/31536e6,r/31536e6,n));if(0===o)return rS.every(Math.max(tb(e,r,n),1));
2var u=(0,Y._)(a[i/a[o-1][2]<a[o][2]/i?o-1:o],2),c=u[0],l=u[1];return c.every(l)}return[function(t,e,r){var n,i=e<t;i&&(t=(n=[e,t])[0],e=n[1]);var o=r&&"function"==typeof r.range?r:u(t,e,r),a=o?o.range(t,+e+1):[];return i?a.reverse():a},u]}rS.every=function(t){return isFinite(t=Math.floor(t))&&t>0?t>1?e5(function(e){e.setTime(Math.floor(e/t)*t)},function(e,r){e.setTime(+e+r*t)},function(e,r){return(r-e)/t}):rS:null},rS.range;var rP=(0,Y._)(rj(e8,e9,rc,rm,rg,rO),2),rE=rP[0],rA=rP[1],r_=(0,Y._)(rj(e7,e6,rt,ry,rb,rx),2),rk=r_[0],rT=r_[1];function rM(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 rC(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 rN(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}var rD={"-":"",_:" ",0:"0"},rI=/^\s*\d+/,rB=/^%/,rL=/[\\^$*+?|[\]().{}]/g;function rR(t,e,r){var n=t<0?"-":"",i=(n?-t:t)+"",o=i.length;return n+(o<r?Array(r-o+1).join(e)+i:i)}function rz(t){return t.replace(rL,"\\$&")}function rU(t){return RegExp("^(?:"+t.map(rz).join("|")+")","i")}function rF(t){return new Map(t.map(function(t,e){return[t.toLowerCase(),e]}))}function rq(t,e,r){var n=rI.exec(e.slice(r,r+1));return n?(t.w=+n[0],r+n[0].length):-1}function rW(t,e,r){var n=rI.exec(e.slice(r,r+1));return n?(t.u=+n[0],r+n[0].length):-1}function rV(t,e,r){var n=rI.exec(e.slice(r,r+2));return n?(t.U=+n[0],r+n[0].length):-1}function rX(t,e,r){var n=rI.exec(e.slice(r,r+2));return n?(t.V=+n[0],r+n[0].length):-1}function rH(t,e,r){var n=rI.exec(e.slice(r,r+2));return n?(t.W=+n[0],r+n[0].length):-1}function rG(t,e,r){var n=rI.exec(e.slice(r,r+4));return n?(t.y=+n[0],r+n[0].length):-1}function rY(t,e,r){var n=rI.exec(e.slice(r,r+2));return n?(t.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function rK(t,e,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return n?(t.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function r$(t,e,r){var n=rI.exec(e.slice(r,r+1));return n?(t.q=3*n[0]-3,r+n[0].length):-1}function rZ(t,e,r){var n=rI.exec(e.slice(r,r+2));return n?(t.m=n[0]-1,r+n[0].length):-1}function rJ(t,e,r){var n=rI.exec(e.slice(r,r+2));return n?(t.d=+n[0],r+n[0].length):-1}function rQ(t,e,r){var n=rI.exec(e.slice(r,r+3));return n?(t.m=0,t.d=+n[0],r+n[0].length):-1}function r0(t,e,r){var n=rI.exec(e.slice(r,r+2));return n?(t.H=+n[0],r+n[0].length):-1}function r1(t,e,r){var n=rI.exec(e.slice(r,r+2));return n?(t.M=+n[0],r+n[0].length):-1}function r2(t,e,r){var n=rI.exec(e.slice(r,r+2));return n?(t.S=+n[0],r+n[0].length):-1}function r3(t,e,r){var n=rI.exec(e.slice(r,r+3));return n?(t.L=+n[0],r+n[0].length):-1}function r5(t,e,r){var n=rI.exec(e.slice(r,r+6));return n?(t.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function r7(t,e,r){var n=rB.exec(e.slice(r,r+1));return n?r+n[0].length:-1}function r8(t,e,r){var n=rI.exec(e.slice(r));return n?(t.Q=+n[0],r+n[0].length):-1}function r6(t,e,r){var n=rI.exec(e.slice(r));return n?(t.s=+n[0],r+n[0].length):-1}function r9(t,e){return rR(t.getDate(),e,2)}function r4(t,e){return rR(t.getHours(),e,2)}function nt(t,e){return rR(t.getHours()%12||12,e,2)}function ne(t,e){return rR(1+ry.count(e7(t),t),e,3)}function nr(t,e){return rR(t.getMilliseconds(),e,3)}function nn(t,e){return nr(t,e)+"000"}function ni(t,e){return rR(t.getMonth()+1,e,2)}function no(t,e){return rR(t.getMinutes(),e,2)}function na(t,e){return rR(t.getSeconds(),e,2)}function nu(t){var e=t.getDay();return 0===e?7:e}function nc(t,e){return rR(rt.count(e7(t)-1,t),e,2)}function nl(t){var e=t.getDay();return e>=4||0===e?ri(t):ri.ceil(t)}function ns(t,e){return t=nl(t),rR(ri.count(e7(t),t)+(4===e7(t).getDay()),e,2)}function nf(t){return t.getDay()}function np(t,e){return rR(re.count(e7(t)-1,t),e,2)}function nd(t,e){return rR(t.getFullYear()%100,e,2)}function nh(t,e){return rR((t=nl(t)).getFullYear()%100,e,2)}function ny(t,e){return rR(t.getFullYear()%1e4,e,4)}function nv(t,e){var r=t.getDay();return rR((t=r>=4||0===r?ri(t):ri.ceil(t)).getFullYear()%1e4,e,4)}function nm(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+rR(e/60|0,"0",2)+rR(e%60,"0",2)}function nb(t,e){return rR(t.getUTCDate(),e,2)}function ng(t,e){return rR(t.getUTCHours(),e,2)}function nx(t,e){return rR(t.getUTCHours()%12||12,e,2)}function nO(t,e){return rR(1+rv.count(e8(t),t),e,3)}function nw(t,e){return rR(t.getUTCMilliseconds(),e,3)}function nS(t,e){return nw(t,e)+"000"}function nj(t,e){return rR(t.getUTCMonth()+1,e,2)}function nP(t,e){return rR(t.getUTCMinutes(),e,2)}function nE(t,e){return rR(t.getUTCSeconds(),e,2)}function nA(t){var e=t.getUTCDay();return 0===e?7:e}function n_(t,e){return rR(rc.count(e8(t)-1,t),e,2)}function nk(t){var e=t.getUTCDay();return e>=4||0===e?rp(t):rp.ceil(t)}function nT(t,e){return t=nk(t),rR(rp.count(e8(t),t)+(4===e8(t).getUTCDay()),e,2)}function nM(t){return t.getUTCDay()}function nC(t,e){return rR(rl.count(e8(t)-1,t),e,2)}function nN(t,e){return rR(t.getUTCFullYear()%100,e,2)}function nD(t,e){return rR((t=nk(t)).getUTCFullYear()%100,e,2)}function nI(t,e){return rR(t.getUTCFullYear()%1e4,e,4)}function nB(t,e){var r=t.getUTCDay();return rR((t=r>=4||0===r?rp(t):rp.ceil(t)).getUTCFullYear()%1e4,e,4)}function nL(){return"+0000"}function nR(){return"%"}function nz(t){return+t}function nU(t){return Math.floor(t/1e3)}function nF(t){return new Date(t)}function nq(t){return(0,O._)(t,Date)?+t:+new Date(+t)}function nW(t,e,r,n,i,o,a,u,c,l){var s=ed(),f=s.invert,p=s.domain,d=l(".%L"),h=l(":%S"),y=l("%I:%M"),v=l("%I %p"),m=l("%a %d"),b=l("%b %d"),g=l("%B"),x=l("%Y");function O(t){return(c(t)<t?d:u(t)<t?h:a(t)<t?y:o(t)<t?v:n(t)<t?i(t)<t?m:b:r(t)<t?g:x)(t)}return s.invert=function(t){return new Date(f(t))},s.domain=function(t){return arguments.length?p(Array.from(t,nq)):p().map(nF)},s.ticks=function(e){var r=p();return t(r[0],r[r.length-1],null==e?10:e)}
2,s.tickFormat=function(t,e){return null==e?O:l(e)},s.nice=function(t){var r=p();return t&&"function"==typeof t.range||(t=e(r[0],r[r.length-1],null==t?10:t)),t?p(e_(r,t)):s},s.copy=function(){return ef(s,nW(t,e,r,n,i,o,a,u,c,l))},s}function nV(){return K.apply(nW(rk,rT,e7,e6,rt,ry,rb,rx,rw,a).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function nX(){return K.apply(nW(rE,rA,e8,e9,rc,rv,rg,rO,rw,u).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function nH(){var t,e,r,n,i,o=0,a=1,u=eu,c=!1;function l(e){return null==e||isNaN(e*=1)?i:u(0===r?.5:(e=(n(e)-t)*r,c?Math.max(0,Math.min(1,e)):e))}function s(t){return function(e){var r;return arguments.length?(u=t((r=(0,Y._)(e,2))[0],r[1]),l):[u(0),u(1)]}}return l.domain=function(i){var u;return arguments.length?(o=(u=(0,Y._)(i,2))[0],a=u[1],t=n(o*=1),e=n(a*=1),r=t===e?0:1/(e-t),l):[o,a]},l.clamp=function(t){return arguments.length?(c=!!t,l):c},l.interpolator=function(t){return arguments.length?(u=t,l):u},l.range=s(en),l.rangeRound=s(ei),l.unknown=function(t){return arguments.length?(i=t,l):i},function(i){return n=i,t=i(o),e=i(a),r=t===e?0:1/(e-t),l}}function nG(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function nY(){var t=eP(nH()(eu));return t.copy=function(){return nG(t,nY())},$.apply(t,arguments)}function nK(){var t=eI(nH()).domain([1,10]);return t.copy=function(){return nG(t,nK()).base(t.base())},$.apply(t,arguments)}function n$(){var t=ez(nH());return t.copy=function(){return nG(t,n$()).constant(t.constant())},$.apply(t,arguments)}function nZ(){var t=eV(nH());return t.copy=function(){return nG(t,nZ()).exponent(t.exponent())},$.apply(t,arguments)}function nJ(){return nZ.apply(null,arguments).exponent(.5)}function nQ(){var t=[],e=eu;function r(r){if(null!=r&&!isNaN(r*=1))return e((tE(t,r,1)-1)/(t.length-1))}return r.domain=function(e){if(!arguments.length)return t.slice();t=[];var n=!0,i=!1,o=void 0;try{for(var a,u=e[Symbol.iterator]();!(n=(a=u.next()).done);n=!0){var c=a.value;null==c||isNaN(c*=1)||t.push(c)}}catch(t){i=!0,o=t}finally{try{n||null==u.return||u.return()}finally{if(i)throw o}}return t.sort(tg),r},r.interpolator=function(t){return arguments.length?(e=t,r):e},r.range=function(){return t.map(function(r,n){return e(n/(t.length-1))})},r.quantiles=function(e){return Array.from({length:e+1},function(r,n){return function(t,e){if(!(!(r=(t=Float64Array.from(function(t,e){var r,n,i,o,a,u,c,l,s,f,p,d,h,y;return(0,tS._)(this,function(v){switch(v.label){case 0:if(void 0!==e)return[3,9];r=!0,n=!1,i=void 0,v.label=1;case 1:v.trys.push([1,6,7,8]),o=t[Symbol.iterator](),v.label=2;case 2:if(r=(a=o.next()).done)return[3,5];if(!(null!=(u=a.value)&&(u*=1)>=u))return[3,4];return[4,u];case 3:v.sent(),v.label=4;case 4:return r=!0,[3,2];case 5:return[3,8];case 6:return c=v.sent(),n=!0,i=c,[3,8];case 7:try{r||null==o.return||o.return()}finally{if(n)throw i}return[7];case 8:return[3,17];case 9:l=-1,s=!0,f=!1,p=void 0,v.label=10;case 10:v.trys.push([10,15,16,17]),d=t[Symbol.iterator](),v.label=11;case 11:if(s=(h=d.next()).done)return[3,14];if(!(null!=(y=e(y=h.value,++l,t))&&(y*=1)>=y))return[3,13];return[4,y];case 12:v.sent(),v.label=13;case 13:return s=!0,[3,11];case 14:return[3,17];case 15:return c=v.sent(),f=!0,p=c,[3,17];case 16:try{s||null==d.return||d.return()}finally{if(f)throw p}
2return[7];case 17:return[2]}})}(t,void 0))).length)||isNaN(e*=1))){if(e<=0||r<2)return e$(t);if(e>=1)return eK(t);var r,n=(r-1)*e,i=Math.floor(n),o=eK((function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1/0,o=arguments.length>4?arguments[4]:void 0;if(r=Math.floor(r),n=Math.floor(Math.max(0,n)),i=Math.floor(Math.min(e.length-1,i)),!(n<=r&&r<=i))return e;for(o=void 0===o?eZ:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tg;if(t===tg)return eZ;if("function"!=typeof t)throw TypeError("compare is not a function");return function(e,r){var n=t(e,r);return n||0===n?n:(0===t(r,r))-(0===t(e,e))}}(o);i>n;){if(i-n>600){var a=i-n+1,u=r-n+1,c=Math.log(a),l=.5*Math.exp(2*c/3),s=.5*Math.sqrt(c*l*(a-l)/a)*(u-a/2<0?-1:1),f=Math.max(n,Math.floor(r-u*l/a+s)),p=Math.min(i,Math.floor(r+(a-u)*l/a+s));t(e,r,f,p,o)}var d=e[r],h=n,y=i;for(eJ(e,n,r),o(e[i],d)>0&&eJ(e,n,i);h<y;){for(eJ(e,h,y),++h,--y;0>o(e[h],d);)++h;for(;o(e[y],d)>0;)--y}0===o(e[n],d)?eJ(e,n,y):eJ(e,++y,i),y<=r&&(n=y+1),r<=y&&(i=y-1)}return e})(t,i).subarray(0,i+1));return o+(e$(t.subarray(i+1))-o)*(n-i)}}(t,n/e)})},r.copy=function(){return nQ(e).domain(t)},$.apply(r,arguments)}function n0(){var t,e,r,n,i,o,a,u=0,c=.5,l=1,s=1,f=eu,p=!1;function d(t){return isNaN(t*=1)?a:(t=.5+((t=+o(t))-e)*(s*t<s*e?n:i),f(p?Math.max(0,Math.min(1,t)):t))}function h(t){return function(e){var r,n;return arguments.length?(r=(n=(0,Y._)(e,3))[0],f=function(t,e){void 0===e&&(e=t,t=en);for(var r=0,n=e.length-1,i=e[0],o=Array(n<0?0:n);r<n;)o[r]=t(i,i=e[++r]);return function(t){var e=Math.max(0,Math.min(n-1,Math.floor(t*=n)));return o[e](t-e)}}(t,[r,n[1],n[2]]),d):[f(0),f(.5),f(1)]}}return d.domain=function(a){var f;return arguments.length?(u=(f=(0,Y._)(a,3))[0],c=f[1],l=f[2],t=o(u*=1),e=o(c*=1),r=o(l*=1),n=t===e?0:.5/(e-t),i=e===r?0:.5/(r-e),s=e<t?-1:1,d):[u,c,l]},d.clamp=function(t){return arguments.length?(p=!!t,d):p},d.interpolator=function(t){return arguments.length?(f=t,d):f},d.range=h(en),d.rangeRound=h(ei),d.unknown=function(t){return arguments.length?(a=t,d):a},function(a){return o=a,t=a(u),e=a(c),r=a(l),n=t===e?0:.5/(e-t),i=e===r?0:.5/(r-e),s=e<t?-1:1,d}}function n1(){var t=eP(n0()(eu));return t.copy=function(){return nG(t,n1())},$.apply(t,arguments)}function n2(){var t=eI(n0()).domain([.1,1,10]);return t.copy=function(){return nG(t,n2()).base(t.base())},$.apply(t,arguments)}function n3(){var t=ez(n0());return t.copy=function(){return nG(t,n3()).constant(t.constant())},$.apply(t,arguments)}function n5(){var t=eV(n0());return t.copy=function(){return nG(t,n5()).exponent(t.exponent())},$.apply(t,arguments)}function n7(){return n5.apply(null,arguments).exponent(.5)}a=(o=function(t){var e=t.dateTime,r=t.date,n=t.time,i=t.periods,o=t.days,a=t.shortDays,u=t.months,c=t.shortMonths,l=rU(i),s=rF(i),f=rU(o),p=rF(o),d=rU(a),h=rF(a),y=rU(u),v=rF(u),m=rU(c),b=rF(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:r9,e:r9,f:nn,g:nh,G:nv,H:r4,I:nt,j:ne,L:nr,m:ni,M:no,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:nz,s:nU,S:na,u:nu,U:nc,V:ns,w:nf,W:np,x:null,X:null,y:nd,Y:ny,Z:nm,"%":nR},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:nb,e:nb,f:nS,g:nD,G:nB,H:ng,I:nx,j:nO,L:nw,m:nj,M:nP,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:nz,s:nU,S:nE,u:nA,U:n_,V:nT,w:nM,W:nC,x:null,X:null,y:nN,Y:nI,Z:nL,"%":nR},w={a:function(t,e,r){var n=d.exec(e.slice(r));return n?(t.w=h.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(t,e,r){var n=f.exec(e.slice(r));return n?(t.w=p.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(t,e,r){var n=m.exec(e.slice(r));return n?(t.m=b.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(t,e,r){var n=y.exec(e.slice(r));return n?(t.m=v.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(t,r,n){return P(t,e,r,n)},d:rJ,e:rJ,f:r5,g:rY,G:rG,H:r0,I:r0,j:rQ,L:r3,m:rZ,M:r1,p:function(t,e,r){var n=l.exec(e.slice(r));return n?(t.p=s.get(n[0].toLowerCase()),r+n[0].length):-1},q:r$,Q:r8,s:r6,S:r2,u:rW,U:rV,V:rX,w:rq,W:rH,x:function(t,e,n){return P(t,r,e,n)},X:function(t,e,r){return P(t,n,e,r)},y:rY,Y:rG,Z:rK,"%":r7};function S(t,e){return function(r){var n,i,o,a=[],u=-1,c=0,l=t.length;for((0,O._)(r,Date)||(r=new Date(+r));++u<l;)37===t.charCodeAt(u)&&(a.push(t.slice(c,u)),null!=(i=rD[n=t.charAt(++u)])?n=t.charAt(++u):i="e"===n?" ":"0",(o=e[n])&&(n=o(r,
2i)),a.push(n),c=u+1);return a.push(t.slice(c,u)),a.join("")}}function j(t,e){return function(r){var n,i,o=rN(1900,void 0,1);if(P(o,t,r+="",0)!=r.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){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(n=(i=(n=rC(rN(o.y,0,1))).getUTCDay())>4||0===i?rl.ceil(n):rl(n),n=rv.offset(n,(o.V-1)*7),o.y=n.getUTCFullYear(),o.m=n.getUTCMonth(),o.d=n.getUTCDate()+(o.w+6)%7):(n=(i=(n=rM(rN(o.y,0,1))).getDay())>4||0===i?re.ceil(n):re(n),n=ry.offset(n,(o.V-1)*7),o.y=n.getFullYear(),o.m=n.getMonth(),o.d=n.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)),i="Z"in o?rC(rN(o.y,0,1)).getUTCDay():rM(rN(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,rC(o)):rM(o)}}function P(t,e,r,n){for(var i,o,a=0,u=e.length,c=r.length;a<u;){if(n>=c)return -1;if(37===(i=e.charCodeAt(a++))){if(!(o=w[(i=e.charAt(a++))in rD?e.charAt(a++):i])||(n=o(t,r,n))<0)return -1}else if(i!=r.charCodeAt(n++))return -1}return n}return g.x=S(r,g),g.X=S(n,g),g.c=S(e,g),x.x=S(r,x),x.X=S(n,x),x.c=S(e,x),{format:function(t){var e=S(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=S(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,o.parse,u=o.utcFormat,o.utcParse,t.s(["scaleBand",0,ts,"scaleDiverging",0,n1,"scaleDivergingLog",0,n2,"scaleDivergingPow",0,n5,"scaleDivergingSqrt",0,n7,"scaleDivergingSymlog",0,n3,"scaleIdentity",0,eA,"scaleImplicit",0,tc,"scaleLinear",0,eE,"scaleLog",0,eB,"scaleOrdinal",0,tl,"scalePoint",0,tf,"scalePow",0,eX,"scaleQuantile",0,eQ,"scaleQuantize",0,e0,"scaleRadial",0,eY,"scaleSequential",0,nY,"scaleSequentialLog",0,nK,"scaleSequentialPow",0,nZ,"scaleSequentialQuantile",0,nQ,"scaleSequentialSqrt",0,nJ,"scaleSequentialSymlog",0,n$,"scaleSqrt",0,eH,"scaleSymlog",0,eU,"scaleThreshold",0,e1,"scaleTime",0,nV,"scaleUtc",0,nX,"tickFormat",0,ej],429061),t.i(429061),t.s(["scaleBand",0,ts,"scaleDiverging",0,n1,"scaleDivergingLog",0,n2,"scaleDivergingPow",0,n5,"scaleDivergingSqrt",0,n7,"scaleDivergingSymlog",0,n3,"scaleIdentity",0,eA,"scaleImplicit",0,tc,"scaleLinear",0,eE,"scaleLog",0,eB,"scaleOrdinal",0,tl,"scalePoint",0,tf,"scalePow",0,eX,"scaleQuantile",0,eQ,"scaleQuantize",0,e0,"scaleRadial",0,eY,"scaleSequential",0,nY,"scaleSequentialLog",0,nK,"scaleSequentialPow",0,nZ,"scaleSequentialQuantile",0,nQ,"scaleSequentialSqrt",0,nJ,"scaleSequentialSymlog",0,n$,"scaleSqrt",0,eH,"scaleSymlog",0,eU,"scaleThreshold",0,e1,"scaleTime",0,nV,"scaleUtc",0,nX,"tickFormat",0,ej],979357)},234239,t=>{"use strict";var e=t.i(108487),r=t.i(271645),n=t.i(831195),i=t.i(629873),o=t.i(207670),a=t.i(794395);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.bind()).apply(this,arguments)}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function f(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
2e%2?s(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=u(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=u(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==u(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function p(t){return Array.isArray(t)&&(0,a.isNumOrStr)(t[0])&&(0,a.isNumOrStr)(t[1])?t.join(" ~ "):t}var d=function(t){var e=t.separator,u=void 0===e?" : ":e,s=t.contentStyle,d=t.itemStyle,h=void 0===d?{}:d,y=t.labelStyle,v=t.payload,m=t.formatter,b=t.itemSorter,g=t.wrapperClassName,x=t.labelClassName,O=t.label,w=t.labelFormatter,S=t.accessibilityLayer,j=f({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},void 0===s?{}:s),P=f({margin:0},void 0===y?{}:y),E=!(0,i.default)(O),A=E?O:"",_=(0,o.default)("recharts-default-tooltip",g),k=(0,o.default)("recharts-tooltip-label",x);return E&&w&&null!=v&&(A=w(O,v)),r.default.createElement("div",c({className:_,style:j},void 0!==S&&S?{role:"status","aria-live":"assertive"}:{}),r.default.createElement("p",{className:k,style:P},r.default.isValidElement(A)?A:"".concat(A)),function(){if(v&&v.length){var t=(b?(0,n.default)(v,b):v).map(function(t,e){if("none"===t.type)return null;var n=f({display:"block",paddingTop:4,paddingBottom:4,color:t.color||"#000"},h),i=t.formatter||m||p,o=t.value,c=t.name,s=o,d=c;if(i&&null!=s&&null!=d){var y=i(o,c,t,e,v);if(Array.isArray(y)){var b=function(t){if(Array.isArray(t))return t}(y)||function(t){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,i,o,a=[],u=!0,c=!1;try{i=(e=e.call(t)).next,!1;for(;!(u=(r=i.call(e)).done)&&(a.push(r.value),2!==a.length);u=!0);}catch(t){c=!0,n=t}finally{try{if(!u&&null!=e.return&&(o=e.return(),Object(o)!==o))return}finally{if(c)throw n}}return a}}(y)||function(t){if(t){if("string"==typeof t)return l(t,2);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return l(t,2)}}(y)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();s=b[0],d=b[1]}else s=y}return r.default.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(e),style:n},(0,a.isNumOrStr)(d)?r.default.createElement("span",{className:"recharts-tooltip-item-name"},d):null,(0,a.isNumOrStr)(d)?r.default.createElement("span",{className:"recharts-tooltip-item-separator"},u):null,r.default.createElement("span",{className:"recharts-tooltip-item-value"},s),r.default.createElement("span",{className:"recharts-tooltip-item-unit"},t.unit||""))});return r.default.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},t)}return null}())};function h(t){return(h="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 y(t,e,r){var n;return(n=function(t,e){if("object"!=h(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=h(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==h(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var v="recharts-tooltip-wrapper",m={visibility:"hidden"};function b(t){var e=t.allowEscapeViewBox,r=t.coordinate,n=t.key,i=t.offsetTopLeft,o=t.position,u=t.reverseDirection,c=t.tooltipDimension,l=t.viewBox,s=t.viewBoxDimension;if(o&&(0,a.isNumber)(o[n]))return o[n];var f=r[n]-c-i,p=r[n]+i;return e[n]?u[n]?f:p:u[n]?f<l[n]?Math.max(p,l[n]):Math.max(f,l[n]):p+c>l[n]+s?Math.max(f,l[n]):Math.max(p,l[n])}function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function x(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function O(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
2e%2?x(Object(r),!0).forEach(function(e){P(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function w(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(w=function(){return!!t})()}function S(t){return(S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function j(t,e){return(j=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function P(t,e,r){return(e=E(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function E(t){var e=function(t,e){if("object"!=g(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=g(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==g(e)?e:e+""}var A=function(t){var n;function i(){var t,r,n;if(!(0,e._)(this,i))throw TypeError("Cannot call a class as a function");for(var o=arguments.length,a=Array(o),u=0;u<o;u++)a[u]=arguments[u];return r=i,n=[].concat(a),r=S(r),P(t=function(t,e){if(e&&("object"===g(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,w()?Reflect.construct(r,n||[],S(this).constructor):r.apply(this,n)),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),P(t,"handleKeyDown",function(e){if("Escape"===e.key){var r,n,i,o;t.setState({dismissed:!0,dismissedAtCoordinate:{x:null!=(r=null==(n=t.props.coordinate)?void 0:n.x)?r:0,y:null!=(i=null==(o=t.props.coordinate)?void 0:o.y)?i:0}})}}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),t&&j(i,t),n=[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var t=this.wrapperNode.getBoundingClientRect();(Math.abs(t.width-this.state.lastBoundingBox.width)>1||Math.abs(t.height-this.state.lastBoundingBox.height)>1)&&this.setState({lastBoundingBox:{width:t.width,height:t.height}})}else(-1!==this.state.lastBoundingBox.width||-1!==this.state.lastBoundingBox.height)&&this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var t,e;this.props.active&&this.updateBBox(),this.state.dismissed&&((null==(t=this.props.coordinate)?void 0:t.x)!==this.state.dismissedAtCoordinate.x||(null==(e=this.props.coordinate)?void 0:e.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var t,e,n,i,u,c,l,s,f,p,d,h,g,x,w,S,j,P,E,A=this,_=this.props,k=_.active,T=_.allowEscapeViewBox,M=_.animationDuration,C=_.animationEasing,N=_.children,D=_.coordinate,I=_.hasPayload,B=_.isAnimationActive,L=_.offset,R=_.position,z=_.reverseDirection,U=_.useTranslate3d,F=_.viewBox,q=_.wrapperStyle,W=(h=(t={allowEscapeViewBox:T,coordinate:D,offsetTopLeft:L,position:R,reverseDirection:z,tooltipBox:this.state.lastBoundingBox,useTranslate3d:U,viewBox:F}).allowEscapeViewBox,g=t.coordinate,x=t.offsetTopLeft,w=t.position,S=t.reverseDirection,j=t.tooltipBox,P=t.useTranslate3d,E=t.viewBox,j.height>0&&j.width>0&&g?(n=(e={translateX:p=b({allowEscapeViewBox:h,coordinate:g,key:"x",offsetTopLeft:x,position:w,reverseDirection:S,tooltipDimension:j.width,viewBox:E,viewBoxDimension:E.width}
2),translateY:d=b({allowEscapeViewBox:h,coordinate:g,key:"y",offsetTopLeft:x,position:w,reverseDirection:S,tooltipDimension:j.height,viewBox:E,viewBoxDimension:E.height}),useTranslate3d:P}).translateX,i=e.translateY,f={transform:e.useTranslate3d?"translate3d(".concat(n,"px, ").concat(i,"px, 0)"):"translate(".concat(n,"px, ").concat(i,"px)")}):f=m,{cssProperties:f,cssClasses:(c=(u={translateX:p,translateY:d,coordinate:g}).coordinate,l=u.translateX,s=u.translateY,(0,o.default)(v,y(y(y(y({},"".concat(v,"-right"),(0,a.isNumber)(l)&&c&&(0,a.isNumber)(c.x)&&l>=c.x),"".concat(v,"-left"),(0,a.isNumber)(l)&&c&&(0,a.isNumber)(c.x)&&l<c.x),"".concat(v,"-bottom"),(0,a.isNumber)(s)&&c&&(0,a.isNumber)(c.y)&&s>=c.y),"".concat(v,"-top"),(0,a.isNumber)(s)&&c&&(0,a.isNumber)(c.y)&&s<c.y)))}),V=W.cssClasses,X=W.cssProperties,H=O(O({transition:B&&k?"transform ".concat(M,"ms ").concat(C):void 0},X),{},{pointerEvents:"none",visibility:!this.state.dismissed&&k&&I?"visible":"hidden",position:"absolute",top:0,left:0},q);return r.default.createElement("div",{tabIndex:-1,className:V,style:H,ref:function(t){A.wrapperNode=t}},N)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,E(n.key),n)}}(i.prototype,n),Object.defineProperty(i,"prototype",{writable:!1}),i}(r.PureComponent),_=t.i(562728),k=t.i(251587);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 M(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function C(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?M(Object(r),!0).forEach(function(e){B(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function N(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(N=function(){return!!t})()}function D(t){return(D=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function I(t,e){return(I=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function B(t,e,r){return(e=L(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function L(t){var e=function(t,e){if("object"!=T(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=T(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==T(e)?e:e+""}function R(t){return t.dataKey}var z=function(t){var n;function i(){var t,r;if(!(0,e._)(this,i))throw TypeError("Cannot call a class as a function");return t=i,r=arguments,t=D(t),function(t,e){if(e&&("object"===T(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,N()?Reflect.construct(t,r||[],D(this).constructor):t.apply(this,r))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),t&&I(i,t),n=[{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,l=n.coordinate,s=n.filterNull,f=n.isAnimationActive,p=n.offset,h=n.payload,y=n.payloadUniqBy,v=n.position,m=n.reverseDirection,b=n.useTranslate3d,g=n.viewBox,x=n.wrapperStyle,O=null!=h?h:[];s&&O.length&&(O=(0,k.getUniqPayload)(h.filter(function(t){return null!=t.value&&(!0!==t.hide||e.props.includeHidden)}),y,R));var w=O.length>0;return r.default.createElement(A,{allowEscapeViewBox:o,animationDuration:a,animationEasing:u,isAnimationActive:f,active:i,coordinate:l,hasPayload:w,offset:p,position:v,reverseDirection:m,useTranslate3d:b,viewBox:g,wrapperStyle:x},(t=C(C({},this.props),{},{payload:O}),r.default.isValidElement(c)?r.default.cloneElement(c,t):"function"==typeof c?r.default.createElement(c,t):r.default.createElement(d,t)))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,L(n.key),n)}}(i.prototype,n),Object.defineProperty(i,"prototype",{writable:!1}),i}(r.PureComponent);B(z,"displayName","Tooltip"),B(z,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!_.Global.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:{}}),t.s(["Tooltip",0,z],234239)},997865,t=>{"use strict";var e=t.i(271645),r=t.i(207670),n=t.i(781977),i=["children","className"];function o(){return(o=Object.assign.bind()).apply(this,arguments)}var a=e.default.forwardRef(function(t,a){var u=t.children,c=t.className,l=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,i),s=(0,r.default)("recharts-layer",c);return e.default.createElement("g",o({className:s},(0,n.filterProps)(l,!0),{ref:a}),u)});t.s(["Layer",0,a])},372733,t=>{"use strict";var e=t.i(271645),r=t.i(785833),n=t.i(999173),i=t.i(910118),o=t.i(593866),a=t.i(600104),u=t.i(872200),c=t.i(722914),l=t.i(821641),s=t.i(851262),f=t.i(363823),p=t.i(992536),d=t.i(226619),h=t.i(381142),y=t.i(700357),v=t.i(163018),m=t.i(232241),b=t.i(771223),g=t.i(207670),x=t.i(373393),O=t.i(781977),w=t.i(794395);function S(t){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function j(){return(j=Object.assign.bind()).apply(this,arguments)}function P(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function E(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
2e%2?P(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=S(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=S(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==S(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var A={curveBasisClosed:i.curveBasisClosed,curveBasisOpen:o.curveBasisOpen,curveBasis:a.curveBasis,curveBumpX:u.curveBumpX,curveBumpY:c.curveBumpY,curveLinearClosed:l.curveLinearClosed,curveLinear:s.curveLinear,curveMonotoneX:f.curveMonotoneX,curveMonotoneY:p.curveMonotoneY,curveNatural:d.curveNatural,curveStep:h.curveStep,curveStepAfter:y.curveStepAfter,curveStepBefore:v.curveStepBefore},_=function(t){return t.x===+t.x&&t.y===+t.y}
2,k=function(t){return t.x},T=function(t){return t.y},M=function(t,e){if((0,b.default)(t))return t;var r="curve".concat((0,m.default)(t));return("curveMonotone"===r||"curveBump"===r)&&e?A["".concat(r).concat("vertical"===e?"Y":"X")]:A[r]||s.curveLinear},C=function(t){var e,i=t.type,o=t.points,a=void 0===o?[]:o,u=t.baseLine,c=t.layout,l=t.connectNulls,s=void 0!==l&&l,f=M(void 0===i?"linear":i,c),p=s?a.filter(function(t){return _(t)}):a;if(Array.isArray(u)){var d=s?u.filter(function(t){return _(t)}):u,h=p.map(function(t,e){return E(E({},t),{},{base:d[e]})});return(e="vertical"===c?(0,n.area)().y(T).x1(k).x0(function(t){return t.base.x}):(0,n.area)().x(k).y1(T).y0(function(t){return t.base.y})).defined(_).curve(f),e(h)}return(e="vertical"===c&&(0,w.isNumber)(u)?(0,n.area)().y(T).x1(k).x0(u):(0,w.isNumber)(u)?(0,n.area)().x(k).y1(T).y0(u):(0,r.line)().x(k).y(T)).defined(_).curve(f),e(p)};t.s(["Curve",0,function(t){var r=t.className,n=t.points,i=t.path,o=t.pathRef;if((!n||!n.length)&&!i)return null;var a=n&&n.length?C(t):i;return e.createElement("path",j({},(0,O.filterProps)(t,!1),(0,x.adaptEventHandlers)(t),{className:(0,g.default)("recharts-curve",r),d:a,ref:o}))}])},238279,t=>{"use strict";var e=t.i(271645),r=t.i(207670),n=t.i(373393),i=t.i(781977);function o(){return(o=Object.assign.bind()).apply(this,arguments)}t.s(["Dot",0,function(t){var a=t.cx,u=t.cy,c=t.r,l=t.className,s=(0,r.default)("recharts-dot",l);return a===+a&&u===+u&&c===+c?e.createElement("circle",o({},(0,i.filterProps)(t,!1),(0,n.adaptEventHandlers)(t),{className:s,cx:a,cy:u,r:c})):null}])},629905,t=>{"use strict";var e=t.i(108487),r=t.i(271645),n=t.i(207670),i=t.i(273050),o=t.i(781977);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(){return(u=Object.assign.bind()).apply(this,arguments)}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function s(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?l(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=a(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var f=function(t,r,n,i,o){var a,u=Math.min(Math.abs(n)/2,Math.abs(i)/2),c=i>=0?1:-1,l=n>=0?1:-1,s=+(i>=0&&n>=0||i<0&&n<0);if(u>0&&(0,e._)(o,Array)){for(var f=[0,0,0,0],p=0;p<4;p++)f[p]=o[p]>u?u:o[p];a="M".concat(t,",").concat(r+c*f[0]),f[0]>0&&(a+="A ".concat(f[0],",").concat(f[0],",0,0,").concat(s,",").concat(t+l*f[0],",").concat(r)),a+="L ".concat(t+n-l*f[1],",").concat(r),f[1]>0&&(a+="A ".concat(f[1],",").concat(f[1],",0,0,").concat(s,",\n ").concat(t+n,",").concat(r+c*f[1])),a+="L ".concat(t+n,",").concat(r+i-c*f[2]),f[2]>0&&(a+="A ".concat(f[2],",").concat(f[2],",0,0,").concat(s,",\n ").concat(t+n-l*f[2],",").concat(r+i)),a+="L ".concat(t+l*f[3],",").concat(r+i),f[3]>0&&(a+="A ".concat(f[3],",").concat(f[3],",0,0,").concat(s,",\n ").concat(t,",").concat(r+i-c*f[3])),a+="Z"}else if(u>0&&o===+o&&o>0){var d=Math.min(u,o);a="M ".concat(t,",").concat(r+c*d,"\n A ").concat(d,",").concat(d,",0,0,").concat(s,",").concat(t+l*d,",").concat(r,"\n L ").concat(t+n-l*d,",").concat(r,"\n A ").concat(d,",").concat(d,",0,0,").concat(s,",").concat(t+n,",").concat(r+c*d,"\n L ").concat(t+n,",").concat(r+i-c*d,"\n A ").concat(d,",").concat(d,",0,0,").concat(s,",").concat(t+n-l*d,",").concat(r+i,"\n L ").concat(t+l*d,",").concat(r+i,"\n A ").concat(d,",").concat(d,",0,0,").concat(s,",").concat(t,",").concat(r+i-c*d," Z")}else a="M ".concat(t,",").concat(r," h ").concat(n," v ").concat(i," h ").concat(-n," Z");return a},p={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"};t.s(["Rectangle",0,function(t){var e,a=s(s({},p),t),l=(0,r.useRef)(),d=function(t){if(Array.isArray(t))return t}(e=(0,r.useState)(-1))||function(t){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,i,o,a=[],u=!0,c=!1;try{i=(e=e.call(t)).next,!1;for(;!(u=(r=i.call(e)).done)&&(a.push(r.value),2!==a.length);u=!0);}catch(t){c=!0,n=t}
2finally{try{if(!u&&null!=e.return&&(o=e.return(),Object(o)!==o))return}finally{if(c)throw n}}return a}}(e)||function(t){if(t){if("string"==typeof t)return c(t,2);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return c(t,2)}}(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.")}(),h=d[0],y=d[1];(0,r.useEffect)(function(){if(l.current&&l.current.getTotalLength)try{var t=l.current.getTotalLength();t&&y(t)}catch(t){}},[]);var v=a.x,m=a.y,b=a.width,g=a.height,x=a.radius,O=a.className,w=a.animationEasing,S=a.animationDuration,j=a.animationBegin,P=a.isAnimationActive,E=a.isUpdateAnimationActive;if(v!==+v||m!==+m||b!==+b||g!==+g||0===b||0===g)return null;var A=(0,n.default)("recharts-rectangle",O);return E?r.default.createElement(i.default,{canBegin:h>0,from:{width:b,height:g,x:v,y:m},to:{width:b,height:g,x:v,y:m},duration:S,animationEasing:w,isActive:E},function(t){var e=t.width,n=t.height,c=t.x,s=t.y;return r.default.createElement(i.default,{canBegin:h>0,from:"0px ".concat(-1===h?1:h,"px"),to:"".concat(h,"px 0px"),attributeName:"strokeDasharray",begin:j,duration:S,isActive:P,easing:w},r.default.createElement("path",u({},(0,o.filterProps)(a,!0),{className:A,d:f(c,s,e,n,x),ref:l})))}):r.default.createElement("path",u({},(0,o.filterProps)(a,!0),{className:A,d:f(v,m,b,g,x)}))},"isInRectangle",0,function(t,e){if(!t||!e)return!1;var r=t.x,n=t.y,i=e.x,o=e.y,a=e.width,u=e.height;if(Math.abs(a)>0&&Math.abs(u)>0){var c=Math.min(i,i+a),l=Math.max(i,i+a),s=Math.min(o,o+u),f=Math.max(o,o+u);return r>=c&&r<=l&&n>=s&&n<=f}return!1}])},794395,271047,t=>{"use strict";var e=t.i(108487),r=t.i(385845),n=t.i(878948),i=t.i(482820),o=t.i(94241),a=t.i(629873),u=function(t){return(0,r.default)(t)&&t.indexOf("%")===t.length-1},c=function(t){return(0,o.default)(t)&&!(0,n.default)(t)},l=0;t.s(["compareValues",0,function(t,n){return c(t)&&c(n)?t-n:(0,r.default)(t)&&(0,r.default)(n)?t.localeCompare(n):(0,e._)(t,Date)&&(0,e._)(n,Date)?t.getTime()-n.getTime():String(t).localeCompare(String(n))},"findEntryInArray",0,function(t,e,r){return t&&t.length?t.find(function(t){return t&&("function"==typeof e?e(t):(0,i.default)(t,e))===r}):null},"getAnyElementOfObject",0,function(t){if(!t)return null;var e=Object.keys(t);return e&&e.length?t[e[0]]:null},"getPercentValue",0,function(t,e){var i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!c(t)&&!(0,r.default)(t))return o;if(u(t)){var l=t.indexOf("%");i=e*parseFloat(t.slice(0,l))/100}else i=+t;return(0,n.default)(i)&&(i=o),a&&i>e&&(i=e),i},"hasDuplicate",0,function(t){if(!Array.isArray(t))return!1;for(var e=t.length,r={},n=0;n<e;n++)if(r[t[n]])return!0;else r[t[n]]=!0;return!1},"interpolateNumber",0,function(t,e){return c(t)&&c(e)?function(r){return t+r*(e-t)}:function(){return e}},"isNullish",0,function(t){return(0,a.default)(t)},"isNumOrStr",0,function(t){return c(t)||(0,r.default)(t)},"isNumber",0,c,"isPercent",0,u,"mathSign",0,function(t){return 0===t?0:t>0?1:-1},"uniqueId",0,function(t){var e=++l;return"".concat(t||"").concat(e)}],794395),t.s(["shallowEqual",0,function(t,e){for(var r in t)if(({}).hasOwnProperty.call(t,r)&&(!({}).hasOwnProperty.call(e,r)||t[r]!==e[r]))return!1;for(var n in e)if(({}).hasOwnProperty.call(e,n)&&!({}).hasOwnProperty.call(t,n))return!1;return!0}],271047)},592792,844171,846710,955153,171868,586003,920810,t=>{"use strict";var e,r,n=t.i(108487),i=t.i(271645),o=t.i(771223),a=t.i(207670),u=t.i(997865),c=t.i(238279),l=t.i(800494),s=t.i(794395),f=t.i(775791),p=t.i(460793),d=t.i(126063),h=t.i(198770),y=t.i(781977),v=t.i(475225);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){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,w(n.key),n)}}function g(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function x(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
2e%2?g(Object(r),!0).forEach(function(e){O(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function O(t,e,r){return(e=w(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function w(t){var e=function(t,e){if("object"!=m(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=m(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==m(e)?e:e+""}var S=function(t,e){var r=t.x,n=t.y,i=e.x,o=e.y;return{x:Math.min(r,i),y:Math.min(n,o),width:Math.abs(i-r),height:Math.abs(o-n)}},j=function(t){return S({x:t.x1,y:t.y1},{x:t.x2,y:t.y2})},P=function(){var t,e;function r(t){if(!(0,n._)(this,r))throw TypeError("Cannot call a class as a function");this.scale=t}return t=[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.bandAware,n=e.position;if(void 0!==t){if(n)switch(n){case"start":default:return this.scale(t);case"middle":var 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(r){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+a}return this.scale(t)}}},{key:"isInRange",value:function(t){var e=this.range(),r=e[0],n=e[e.length-1];return r<=n?t>=r&&t<=n:t>=n&&t<=r}}],e=[{key:"create",value:function(t){return new r(t)}}],t&&b(r.prototype,t),e&&b(r,e),Object.defineProperty(r,"prototype",{writable:!1}),r}();O(P,"EPS",1e-4);var E=function(t){var e=Object.keys(t).reduce(function(e,r){return x(x({},e),{},O({},r,P.create(t[r])))},{});return x(x({},e),{},{apply:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bandAware,i=r.position;return(0,p.default)(t,function(t,r){return e[r].apply(t,{bandAware:n,position:i})})},isInRange:function(t){return(0,d.default)(t,function(t,r){return e[r].isInRange(t)})}})};t.s(["createLabeledScales",0,E,"formatAxisMap",0,function(t,e,r,n,i){var o=t.width,a=t.height,u=t.layout,c=t.children,l=Object.keys(e),f={left:r.left,leftMirror:r.left,right:o-r.right,rightMirror:o-r.right,top:r.top,topMirror:r.top,bottom:a-r.bottom,bottomMirror:a-r.bottom},p=!!(0,y.findChildByType)(c,v.Bar);return l.reduce(function(o,a){var c,l,d,y,v,m=e[a],b=m.orientation,g=m.domain,w=m.padding,S=void 0===w?{}:w,j=m.mirror,P=m.reversed,E="".concat(b).concat(j?"Mirror":"");if("number"===m.type&&("gap"===m.padding||"no-gap"===m.padding)){var A=g[1]-g[0],_=1/0,k=m.categoricalDomain.sort(s.compareValues);if(k.forEach(function(t,e){e>0&&(_=Math.min((t||0)-(k[e-1]||0),_))}),Number.isFinite(_)){var T=_/A,M="vertical"===m.layout?r.height:r.width;if("gap"===m.padding&&(c=T*M/2),"no-gap"===m.padding){var C=(0,s.getPercentValue)(t.barCategoryGap,T*M),N=T*M/2;c=N-C-(N-C)/M*C}}}l="xAxis"===n?[r.left+(S.left||0)+(c||0),r.left+r.width-(S.right||0)-(c||0)]:"yAxis"===n?"horizontal"===u?[r.top+r.height-(S.bottom||0),r.top+(S.top||0)]:[r.top+(S.top||0)+(c||0),r.top+r.height-(S.bottom||0)-(c||0)]:m.range,P&&(l=[l[1],l[0]]);var D=(0,h.parseScale)(m,i,p),I=D.scale,B=D.realScaleType;I.domain(g).range(l),(0,h.checkDomainOfScale)(I);var L=(0,h.getTicksOfScale)(I,x(x({},m),{},{realScaleType:B}));"xAxis"===n?(v="top"===b&&!j||"bottom"===b&&j,d=r.left,y=f[E]-v*m.height):"yAxis"===n&&(v="left"===b&&!j||"right"===b&&j,d=f[E]-v*m.width,y=r.top);var R=x(x(x({},m),L),{},{realScaleType:B,x:d,y:y,scale:I,width:"xAxis"===n?r.width:m.width,height:"yAxis"===n?r.height:m.height});return R.bandSize=(0,h.getBandSizeOfAxis)(R,L),m.hide||"xAxis"!==n?m.hide||(f[E]+=(v?-1:1)*R.width):f[E]+=(v?-1:1)*R.height,x(x({},o),{},O({},a,R))},{})},"getAngledRectangleWidth",0,function(t){var e=t.width,r=t.height,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=(n%180+180)%180*Math.PI/180,o=Math.atan(r/e);return Math.abs(i>o&&i<Math.PI-o?r/Math.sin(i):e/Math.cos(i))},"rectWithCoords",0,j,"rectWithPoints",0,S],844171);var A=t.i(129071);function _(){return(_=Object.assign.bind()).apply(this,arguments)}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 r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function M(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
2e%2?T(Object(r),!0).forEach(function(e){I(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function C(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(C=function(){return!!t})()}function N(t){return(N=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function D(t,e){return(D=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function I(t,e,r){return(e=B(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function B(t){var e=function(t,e){if("object"!=k(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=k(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==k(e)?e:e+""}var L=function(t){var e=t.x,r=t.y,n=t.xAxis,i=t.yAxis,o=E({x:n.scale,y:i.scale}),a=o.apply({x:e,y:r},{bandAware:!0});return(0,f.ifOverflowMatches)(t,"discard")&&!o.isInRange(a)?null:a},R=function(t){var e;function r(){var t,e;if(!(0,n._)(this,r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=N(t),function(t,e){if(e&&("object"===k(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,C()?Reflect.construct(t,e||[],N(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&D(r,t),e=[{key:"render",value:function(){var t=this.props,e=t.x,n=t.y,o=t.r,c=t.alwaysShow,p=t.clipPathId,d=(0,s.isNumOrStr)(e),h=(0,s.isNumOrStr)(n);if((0,A.warn)(void 0===c,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!d||!h)return null;var v=L(this.props);if(!v)return null;var m=v.x,b=v.y,g=this.props,x=g.shape,O=g.className,w=M(M({clipPath:(0,f.ifOverflowMatches)(this.props,"hidden")?"url(#".concat(p,")"):void 0},(0,y.filterProps)(this.props,!0)),{},{cx:m,cy:b});return i.default.createElement(u.Layer,{className:(0,a.default)("recharts-reference-dot",O)},r.renderDot(x,w),l.Label.renderCallByParent(this.props,{x:m-o,y:b-o,width:2*o,height:2*o}))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,B(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(i.default.Component);I(R,"displayName","ReferenceDot"),I(R,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1}),I(R,"renderDot",function(t,e){return i.default.isValidElement(t)?i.default.cloneElement(t,e):(0,o.default)(t)?t(e):i.default.createElement(c.Dot,_({},e,{cx:e.cx,cy:e.cy,className:"recharts-reference-dot-dot"}))});var z=t.i(788099),U=t.i(40992),F=t.i(160191),q=(0,t.i(657588).default)(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("")}),W=(0,i.createContext)(void 0),V=(0,i.createContext)(void 0),X=(0,i.createContext)(void 0),H=(0,i.createContext)({}),G=(0,i.createContext)(void 0),Y=(0,i.createContext)(0),K=(0,i.createContext)(0),$=function(){return(0,i.useContext)(G)},Z=function(t){var e=(0,i.useContext)(W);null==e&&(0,U.default)(!1);var r=e[t];return null==r&&(0,U.default)(!1),r},J=function(t){var e=(0,i.useContext)(V);null==e&&(0,U.default)(!1);var r=e[t];return null==r&&(0,U.default)(!1),r},Q=function(){return(0,i.useContext)(X)};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)}t.s(["ChartLayoutContextProvider",0,function(t){var e=t.state,r=e.xAxisMap,n=e.yAxisMap,o=e.offset,a=t.clipPathId,u=t.children,c=t.width,l=t.height,s=q(o);return i.default.createElement(W.Provider,{value:r},i.default.createElement(V.Provider,{value:n},i.default.createElement(H.Provider,{value:o},i.default.createElement(X.Provider,{value:s},i.default.createElement(G.Provider,{value:a},i.default.createElement(Y.Provider,{value:l},i.default.createElement(K.Provider,{value:c},u)))))))},"useArbitraryXAxis",0,function(){var t=(0,i.useContext)(W);return(0,s.getAnyElementOfObject)(t)},"useChartHeight",0,function(){return(0,i.useContext)(Y)},"useChartWidth",0,function(){return(0,i.useContext)(K)},"useClipPathId",0,$,"useOffset",0,function(){return(0,i.useContext)(H)},"useViewBox",0,Q,"useXAxisOrThrow",0,Z,"useYAxisOrThrow",0,J,"useYAxisWithFiniteDomainOrRandom",0,function(){var t=(0,i.useContext)(V);return(0,F.default)(t,function(t){return(0,d.default)(t.domain,Number.isFinite)})||(0,s.getAnyElementOfObject)(t)}],846710);function te(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(te=function(){return!!t})()}function tr(t){return(tr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}
2function tn(t,e){return(tn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function ti(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function to(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ti(Object(r),!0).forEach(function(e){ta(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ti(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function ta(t,e,r){return(e=tu(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tu(t){var e=function(t,e){if("object"!=tt(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tt(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tt(e)?e:e+""}function tc(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function tl(){return(tl=Object.assign.bind()).apply(this,arguments)}var ts=function(t,e){return i.default.isValidElement(t)?i.default.cloneElement(t,e):(0,o.default)(t)?t(e):i.default.createElement("line",tl({},e,{className:"recharts-reference-line-line"}))},tf=function(t,e,r,n,i,o,a,u,c){var l=i.x,s=i.y,p=i.width,d=i.height;if(r){var h=c.y,y=t.y.apply(h,{position:o});if((0,f.ifOverflowMatches)(c,"discard")&&!t.y.isInRange(y))return null;var v=[{x:l+p,y:y},{x:l,y:y}];return"left"===u?v.reverse():v}if(e){var m=c.x,b=t.x.apply(m,{position:o});if((0,f.ifOverflowMatches)(c,"discard")&&!t.x.isInRange(b))return null;var g=[{x:b,y:s+d},{x:b,y:s}];return"top"===a?g.reverse():g}if(n){var x=c.segment.map(function(e){return t.apply(e,{position:o})});return(0,f.ifOverflowMatches)(c,"discard")&&(0,z.default)(x,function(e){return!t.isInRange(e)})?null:x}return null};function tp(t){var e=t.x,r=t.y,n=t.segment,o=t.xAxisId,c=t.yAxisId,p=t.shape,d=t.className,h=t.alwaysShow,v=$(),m=Z(o),b=J(c),g=Q();if(!v||!g)return null;(0,A.warn)(void 0===h,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var x=tf(E({x:m.scale,y:b.scale}),(0,s.isNumOrStr)(e),(0,s.isNumOrStr)(r),n&&2===n.length,g,t.position,m.orientation,b.orientation,t);if(!x)return null;var O=function(t){if(Array.isArray(t))return t}(x)||function(t){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,n,i,o,a=[],u=!0,c=!1;try{i=(e=e.call(t)).next,!1;for(;!(u=(r=i.call(e)).done)&&(a.push(r.value),2!==a.length);u=!0);}catch(t){c=!0,n=t}finally{try{if(!u&&null!=e.return&&(o=e.return(),Object(o)!==o))return}finally{if(c)throw n}}return a}}(x)||function(t){if(t){if("string"==typeof t)return tc(t,2);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return tc(t,2)}}(x)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),w=O[0],S=w.x,P=w.y,_=O[1],k=_.x,T=_.y,M=to(to({clipPath:(0,f.ifOverflowMatches)(t,"hidden")?"url(#".concat(v,")"):void 0},(0,y.filterProps)(t,!0)),{},{x1:S,y1:P,x2:k,y2:T});return i.default.createElement(u.Layer,{className:(0,a.default)("recharts-reference-line",d)},ts(p,M),l.Label.renderCallByParent(t,j({x1:S,y1:P,x2:k,y2:T})))}var td=function(t){var e;function r(){var t,e;if(!(0,n._)(this,r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=tr(t),function(t,e){if(e&&("object"===tt(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,te()?Reflect.construct(t,e||[],tr(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&tn(r,t),e=[{key:"render",value:function(){return i.default.createElement(tp,this.props)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,tu(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(i.default.Component);ta(td,"displayName","ReferenceLine"),ta(td,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"}),t.s(["ReferenceLine",0,td],955153);var th=t.i(629905);function ty(){return(ty=Object.assign.bind()).apply(this,arguments)}function tv(t){return(tv="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 tm(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tb(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
2e%2?tm(Object(r),!0).forEach(function(e){tw(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tm(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tg=function(){return!!t})()}function tx(t){return(tx=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tO(t,e){return(tO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tw(t,e,r){return(e=tS(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tS(t){var e=function(t,e){if("object"!=tv(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tv(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tv(e)?e:e+""}var tj=function(t,e,r,n,i){var o=i.x1,a=i.x2,u=i.y1,c=i.y2,l=i.xAxis,s=i.yAxis;if(!l||!s)return null;var p=E({x:l.scale,y:s.scale}),d={x:t?p.x.apply(o,{position:"start"}):p.x.rangeMin,y:r?p.y.apply(u,{position:"start"}):p.y.rangeMin},h={x:e?p.x.apply(a,{position:"end"}):p.x.rangeMax,y:n?p.y.apply(c,{position:"end"}):p.y.rangeMax};return!(0,f.ifOverflowMatches)(i,"discard")||p.isInRange(d)&&p.isInRange(h)?S(d,h):null},tP=function(t){var e;function r(){var t,e;if(!(0,n._)(this,r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=tx(t),function(t,e){if(e&&("object"===tv(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,tg()?Reflect.construct(t,e||[],tx(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&tO(r,t),e=[{key:"render",value:function(){var t=this.props,e=t.x1,n=t.x2,o=t.y1,c=t.y2,p=t.className,d=t.alwaysShow,h=t.clipPathId;(0,A.warn)(void 0===d,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var v=(0,s.isNumOrStr)(e),m=(0,s.isNumOrStr)(n),b=(0,s.isNumOrStr)(o),g=(0,s.isNumOrStr)(c),x=this.props.shape;if(!v&&!m&&!b&&!g&&!x)return null;var O=tj(v,m,b,g,this.props);if(!O&&!x)return null;var w=(0,f.ifOverflowMatches)(this.props,"hidden")?"url(#".concat(h,")"):void 0;return i.default.createElement(u.Layer,{className:(0,a.default)("recharts-reference-area",p)},r.renderRect(x,tb(tb({clipPath:w},(0,y.filterProps)(this.props,!0)),O)),l.Label.renderCallByParent(this.props,O))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,tS(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(i.default.Component);function tE(t){return function(t){if(Array.isArray(t))return tA(t)}(t)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t){if(t){if("string"==typeof t)return tA(t,void 0);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return tA(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 tA(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}tw(tP,"displayName","ReferenceArea"),tw(tP,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1}),tw(tP,"renderRect",function(t,e){return i.default.isValidElement(t)?i.default.cloneElement(t,e):(0,o.default)(t)?t(e):i.default.createElement(th.Rectangle,ty({},e,{className:"recharts-reference-area-rect"}))}),t.s(["detectReferenceElementsDomain",0,function(t,e,r,n,i){var o=(0,y.findAllByType)(t,td),a=(0,y.findAllByType)(t,R),u=[].concat(tE(o),tE(a)),c=(0,y.findAllByType)(t,tP),l="".concat(n,"Id"),p=n[0],d=e;if(u.length&&(d=u.reduce(function(t,e){if(e.props[l]===r&&(0,f.ifOverflowMatches)(e.props,"extendDomain")&&(0,s.isNumber)(e.props[p])){var n=e.props[p];return[Math.min(t[0],n),Math.max(t[1],n)]}return t},d)),c.length){var h="".concat(p,"1"),v="".concat(p,"2");d=c.reduce(function(t,e){if(e.props[l]===r&&(0,f.ifOverflowMatches)(e.props,"extendDomain")&&(0,s.isNumber)(e.props[h])&&(0,s.isNumber)(e.props[v])){var n=e.props[h],i=e.props[v];return[Math.min(t[0],n,i),Math.max(t[1],n,i)]}return t},d)}return i&&i.length&&(d=i.reduce(function(t,e){return(0,s.isNumber)(e)?[Math.min(t[0],e),Math.max(t[1],e)]:t},d)),d}],592792);var t_=new(t.i(478492)).default;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)}t.s(["SYNC_EVENT",0,"recharts.syncMouseEvents","eventCenter",0,t_],171868);function tT(t,e,r){return(e=tM(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tM(t){var e=function(t,e){if("object"!=tk(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tk(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
2(t,"string");return"symbol"==tk(e)?e:e+""}var tC=(e=function t(){var e=t;if(!(0,n._)(this,e))throw TypeError("Cannot call a class as a function");tT(this,"activeIndex",0),tT(this,"coordinateList",[]),tT(this,"layout","horizontal")},r=[{key:"setDetails",value:function(t){var e,r=t.coordinateList,n=void 0===r?null:r,i=t.container,o=void 0===i?null:i,a=t.layout,u=void 0===a?null:a,c=t.offset,l=void 0===c?null:c,s=t.mouseHandlerCallback,f=void 0===s?null:s;this.coordinateList=null!=(e=null!=n?n:this.coordinateList)?e:[],this.container=null!=o?o:this.container,this.layout=null!=u?u:this.layout,this.offset=null!=l?l:this.offset,this.mouseHandlerCallback=null!=f?f:this.mouseHandlerCallback,this.activeIndex=Math.min(Math.max(this.activeIndex,0),this.coordinateList.length-1)}},{key:"focus",value:function(){this.spoofMouse()}},{key:"keyboardEvent",value:function(t){if(0!==this.coordinateList.length)switch(t.key){case"ArrowRight":if("horizontal"!==this.layout)return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break;case"ArrowLeft":if("horizontal"!==this.layout)return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse()}}},{key:"setIndex",value:function(t){this.activeIndex=t}},{key:"spoofMouse",value:function(){if("horizontal"===this.layout&&0!==this.coordinateList.length){var t,e,r=this.container.getBoundingClientRect(),n=r.x,i=r.y,o=r.height,a=this.coordinateList[this.activeIndex].coordinate,u=(null==(t=window)?void 0:t.scrollX)||0,c=(null==(e=window)?void 0:e.scrollY)||0,l=i+this.offset.top+o/2+c;this.mouseHandlerCallback({pageX:n+a+u,pageY:l})}}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,tM(n.key),n)}}(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),e);t.s(["AccessibilityManager",0,tC],586003),t.s(["isDomainSpecifiedByUser",0,function(t,e,r){if("number"===r&&!0===e&&Array.isArray(t)){var n=null==t?void 0:t[0],i=null==t?void 0:t[1];if(n&&i&&(0,s.isNumber)(n)&&(0,s.isNumber)(i))return!0}return!1}],920810)},129071,148337,t=>{"use strict";t.s(["warn",0,function(t,e){for(var r=arguments.length,n=Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i]}],129071);var e=t.i(271645),r=t.i(207670),n=t.i(781977),i=["children","width","height","viewBox","className","style","title","desc"];function o(){return(o=Object.assign.bind()).apply(this,arguments)}t.s(["Surface",0,function(t){var a=t.children,u=t.width,c=t.height,l=t.viewBox,s=t.className,f=t.style,p=t.title,d=t.desc,h=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,i),y=l||{width:u,height:c,x:0,y:0},v=(0,r.default)("recharts-surface",s);return e.default.createElement("svg",o({},(0,n.filterProps)(h,!0,"svg"),{className:v,width:u,height:c,style:f,viewBox:"".concat(y.x," ").concat(y.y," ").concat(y.width," ").concat(y.height)}),e.default.createElement("title",null,p),e.default.createElement("desc",null,d),a)}],148337)},781977,t=>{"use strict";var e=t.i(482820),r=t.i(629873),n=t.i(385845),i=t.i(771223),o=t.i(12447),a=t.i(271645),u=t.i(179684),c=t.i(794395),l=t.i(271047),s=t.i(373393),f=["children"],p=["children"];function d(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function h(t){return(h="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 y={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart",contextmenu:"onContextMenu",dblclick:"onDoubleClick"}
2,v=function(t){return"string"==typeof t?t:t?t.displayName||t.name||"Component":""},m=null,b=null,g=function t(e){if(e===m&&Array.isArray(b))return b;var n=[];return a.Children.forEach(e,function(e){(0,r.default)(e)||((0,u.isFragment)(e)?n=n.concat(t(e.props.children)):n.push(e))}),b=n,m=e,n};function x(t,r){var n=[],i=[];return i=Array.isArray(r)?r.map(function(t){return v(t)}):[v(r)],g(t).forEach(function(t){var r=(0,e.default)(t,"type.displayName")||(0,e.default)(t,"type.name");-1!==i.indexOf(r)&&n.push(t)}),n}var O=["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"],w=function(t,e,r,n){var o,a=null!=(o=null===s.FilteredElementKeyMap||void 0===s.FilteredElementKeyMap?void 0:s.FilteredElementKeyMap[n])?o:[];return e.startsWith("data-")||!(0,i.default)(t)&&(n&&a.includes(e)||s.SVGElementPropKeys.includes(e))||r&&s.EventKeys.includes(e)},S=function t(e,r){if(e===r)return!0;var n=a.Children.count(e);if(n!==a.Children.count(r))return!1;if(0===n)return!0;if(1===n)return j(Array.isArray(e)?e[0]:e,Array.isArray(r)?r[0]:r);for(var i=0;i<n;i++){var o=e[i],u=r[i];if(Array.isArray(o)||Array.isArray(u)){if(!t(o,u))return!1}else if(!j(o,u))return!1}return!0},j=function(t,e){if((0,r.default)(t)&&(0,r.default)(e))return!0;if(!(0,r.default)(t)&&!(0,r.default)(e)){var n=t.props||{},i=n.children,o=d(n,f),a=e.props||{},u=a.children,c=d(a,p);if(i&&u)return(0,l.shallowEqual)(o,c)&&S(i,u);if(!i&&!u)return(0,l.shallowEqual)(o,c)}return!1};t.s(["filterProps",0,function(t,e,r){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var n=t;if((0,a.isValidElement)(t)&&(n=t.props),!(0,o.default)(n))return null;var i={};return Object.keys(n).forEach(function(t){var o;w(null==(o=n)?void 0:o[t],t,e,r)&&(i[t]=n[t])}),i},"findAllByType",0,x,"findChildByType",0,function(t,e){var r=x(t,e);return r&&r[0]},"getDisplayName",0,v,"getReactEventByType",0,function(t){var e=t&&t.type;return e&&y[e]?y[e]:null},"hasClipDot",0,function(t){return t&&"object"===h(t)&&"clipDot"in t},"isChildrenEqual",0,S,"parseChildIndex",0,function(t,e){return g(e).indexOf(t)},"renderByOrder",0,function(t,e){var r=[],i={};return g(t).forEach(function(t,o){if(t&&t.type&&(0,n.default)(t.type)&&O.indexOf(t.type)>=0)r.push(t);else if(t){var a=v(t.type),u=e[a]||{},c=u.handler,l=u.once;if(c&&(!l||!i[a])){var s=c(t,a,o);r.push(s),i[a]=!0}}}),r},"validateWidthHeight",0,function(t){if(!t||!t.props)return!1;var e=t.props,r=e.width,n=e.height;return!!(0,c.isNumber)(r)&&!(r<=0)&&!!(0,c.isNumber)(n)&&!(n<=0)}])},373393,t=>{"use strict";var e=t.i(271645),r=t.i(12447);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)}var i=["points","pathLength"],o=["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","onTimeUpdate
2Capture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"];t.s(["EventKeys",0,o,"FilteredElementKeyMap",0,{svg:["viewBox","children"],polygon:i,polyline:i},"SVGElementPropKeys",0,["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],"adaptEventHandlers",0,function(t,n){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var i=t;if((0,e.isValidElement)(t)&&(i=t.props),!(0,r.default)(i))return null;var a={};
2return Object.keys(i).forEach(function(t){o.includes(t)&&(a[t]=n||function(e){return i[t](i,e)})}),a},"adaptEventsOfChild",0,function(t,e,i){if(!(0,r.default)(t)||"object"!==n(t))return null;var a=null;return Object.keys(t).forEach(function(r){var n=t[r];o.includes(r)&&"function"==typeof n&&(a||(a={}),a[r]=function(t){return n(e,i,t),null})}),a}])}]); 3 4//# debugId=60062dfc-3888-6d3d-2bc2-43f8e9ddcb9b
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.