(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[838],{1134:function(e,t,r){var n;!function(i){"use strict";var o,a={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},u=!0,l="[DecimalError] ",c=l+"Invalid argument: ",s=l+"Exponent out of range: ",f=Math.floor,h=Math.pow,d=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,p=f(1286742750677284.5),y={};function v(e,t){var r,n,i,o,a,l,c,s,f=e.constructor,h=f.precision;if(!e.s||!t.s)return t.s||(t=new f(e)),u?_(t,h):t;if(c=e.d,s=t.d,a=e.e,i=t.e,c=c.slice(),o=a-i){for(o<0?(n=c,o=-o,l=s.length):(n=s,i=a,l=c.length),o>(l=(a=Math.ceil(h/7))>l?a+1:l+1)&&(o=l,n.length=1),n.reverse();o--;)n.push(0);n.reverse()}for((l=c.length)-(o=s.length)<0&&(o=l,n=s,s=c,c=n),r=0;o;)r=(c[--o]=c[o]+s[o]+r)/1e7|0,c[o]%=1e7;for(r&&(c.unshift(r),++i),l=c.length;0==c[--l];)c.pop();return t.d=c,t.e=i,u?_(t,h):t}function g(e,t,r){if(e!==~~e||er)throw Error(c+e)}function m(e){var t,r,n,i=e.length-1,o="",a=e[0];if(i>0){for(o+=a,t=1;te.e^this.s<0?1:-1;for(t=0,r=(n=this.d.length)<(i=e.d.length)?n:i;te.d[t]^this.s<0?1:-1;return n===i?0:n>i^this.s<0?1:-1},y.decimalPlaces=y.dp=function(){var e=this.d.length-1,t=(e-this.e)*7;if(e=this.d[e])for(;e%10==0;e/=10)t--;return t<0?0:t},y.dividedBy=y.div=function(e){return b(this,new this.constructor(e))},y.dividedToIntegerBy=y.idiv=function(e){var t=this.constructor;return _(b(this,new t(e),0,1),t.precision)},y.equals=y.eq=function(e){return!this.cmp(e)},y.exponent=function(){return x(this)},y.greaterThan=y.gt=function(e){return this.cmp(e)>0},y.greaterThanOrEqualTo=y.gte=function(e){return this.cmp(e)>=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(e){return 0>this.cmp(e)},y.lessThanOrEqualTo=y.lte=function(e){return 1>this.cmp(e)},y.logarithm=y.log=function(e){var t,r=this.constructor,n=r.precision,i=n+5;if(void 0===e)e=new r(10);else if((e=new r(e)).s<1||e.eq(o))throw Error(l+"NaN");if(this.s<1)throw Error(l+(this.s?"NaN":"-Infinity"));return this.eq(o)?new r(0):(u=!1,t=b(j(this,i),j(e,i),i),u=!0,_(t,n))},y.minus=y.sub=function(e){return e=new this.constructor(e),this.s==e.s?E(this,e):v(this,(e.s=-e.s,e))},y.modulo=y.mod=function(e){var t,r=this.constructor,n=r.precision;if(!(e=new r(e)).s)throw Error(l+"NaN");return this.s?(u=!1,t=b(this,e,0,1).times(e),u=!0,this.minus(t)):_(new r(this),n)},y.naturalExponential=y.exp=function(){return w(this)},y.naturalLogarithm=y.ln=function(){return j(this)},y.negated=y.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},y.plus=y.add=function(e){return e=new this.constructor(e),this.s==e.s?v(this,e):E(this,(e.s=-e.s,e))},y.precision=y.sd=function(e){var t,r,n;if(void 0!==e&&!!e!==e&&1!==e&&0!==e)throw Error(c+e);if(t=x(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 e&&t>r?t:r},y.squareRoot=y.sqrt=function(){var e,t,r,n,i,o,a,c=this.constructor;if(this.s<1){if(!this.s)return new c(0);throw Error(l+"NaN")}for(e=x(this),u=!1,0==(i=Math.sqrt(+this))||i==1/0?(((t=m(this.d)).length+e)%2==0&&(t+="0"),i=Math.sqrt(t),e=f((e+1)/2)-(e<0||e%2),n=new c(t=i==1/0?"5e"+e:(t=i.toExponential()).slice(0,t.indexOf("e")+1)+e)):n=new c(i.toString()),i=a=(r=c.precision)+3;;)if(n=(o=n).plus(b(this,o,a+2)).times(.5),m(o.d).slice(0,a)===(t=m(n.d)).slice(0,a)){if(t=t.slice(a-3,a+1),i==a&&"4999"==t){if(_(o,r+1,0),o.times(o).eq(this)){n=o;break}}else if("9999"!=t)break;a+=4}return u=!0,_(n,r)},y.times=y.mul=function(e){var t,r,n,i,o,a,l,c,s,f=this.constructor,h=this.d,d=(e=new f(e)).d;if(!this.s||!e.s)return new f(0);for(e.s*=this.s,r=this.e+e.e,(c=h.length)<(s=d.length)&&(o=h,h=d,d=o,a=c,c=s,s=a),o=[],n=a=c+s;n--;)o.push(0);for(n=s;--n>=0;){for(t=0,i=c+n;i>n;)l=o[i]+d[n]*h[i-n-1]+t,o[i--]=l%1e7|0,t=l/1e7|0;o[i]=(o[i]+t)%1e7|0}for(;!o[--a];)o.pop();return t?++r:o.shift(),e.d=o,e.e=r,u?_(e,f.precision):e},y.toDecimalPlaces=y.todp=function(e,t){var r=this,n=r.constructor;return(r=new n(r),void 0===e)?r:(g(e,0,1e9),void 0===t?t=n.rounding:g(t,0,8),_(r,e+x(r)+1,t))},y.toExponential=function(e,t){var r,n=this,i=n.constructor;return void 0===e?r=A(n,!0):(g(e,0,1e9),void 0===t?t=i.rounding:g(t,0,8),r=A(n=_(new i(n),e+1,t),!0,e+1)),r},y.toFixed=function(e,t){var r,n,i=this.constructor;return void 0===e?A(this):(g(e,0,1e9),void 0===t?t=i.rounding:g(t,0,8),r=A((n=_(new i(this),e+x(this)+1,t)).abs(),!1,e+x(n)+1),this.isneg()&&!this.isZero()?"-"+r:r)},y.toInteger=y.toint=function(){var e=this.constructor;return _(new e(this),x(this)+1,e.rounding)},y.toNumber=function(){return+this},y.toPower=y.pow=function(e){var t,r,n,i,a,c,s=this,h=s.constructor,d=+(e=new h(e));if(!e.s)return new h(o);if(!(s=new h(s)).s){if(e.s<1)throw Error(l+"Infinity");return s}if(s.eq(o))return s;if(n=h.precision,e.eq(o))return _(s,n);if(c=(t=e.e)>=(r=e.d.length-1),a=s.s,c){if((r=d<0?-d:d)<=9007199254740991){for(i=new h(o),t=Math.ceil(n/7+4),u=!1;r%2&&M((i=i.times(s)).d,t),0!==(r=f(r/2));)M((s=s.times(s)).d,t);return u=!0,e.s<0?new h(o).div(i):_(i,n)}}else if(a<0)throw Error(l+"NaN");return a=a<0&&1&e.d[Math.max(t,r)]?-1:1,s.s=1,u=!1,i=e.times(j(s,n+12)),u=!0,(i=w(i)).s=a,i},y.toPrecision=function(e,t){var r,n,i=this,o=i.constructor;return void 0===e?(r=x(i),n=A(i,r<=o.toExpNeg||r>=o.toExpPos)):(g(e,1,1e9),void 0===t?t=o.rounding:g(t,0,8),r=x(i=_(new o(i),e,t)),n=A(i,e<=r||r<=o.toExpNeg,e)),n},y.toSignificantDigits=y.tosd=function(e,t){var r=this.constructor;return void 0===e?(e=r.precision,t=r.rounding):(g(e,1,1e9),void 0===t?t=r.rounding:g(t,0,8)),_(new r(this),e,t)},y.toString=y.valueOf=y.val=y.toJSON=function(){var e=x(this),t=this.constructor;return A(this,e<=t.toExpNeg||e>=t.toExpPos)};var b=function(){function e(e,t){var r,n=0,i=e.length;for(e=e.slice();i--;)r=e[i]*t+n,e[i]=r%1e7|0,n=r/1e7|0;return n&&e.unshift(n),e}function t(e,t,r,n){var i,o;if(r!=n)o=r>n?1:-1;else for(i=o=0;it[i]?1:-1;break}return o}function r(e,t,r){for(var n=0;r--;)e[r]-=n,n=e[r]1;)e.shift()}return function(n,i,o,a){var u,c,s,f,h,d,p,y,v,g,m,b,w,O,P,j,S,E,A=n.constructor,M=n.s==i.s?1:-1,k=n.d,T=i.d;if(!n.s)return new A(n);if(!i.s)throw Error(l+"Division by zero");for(s=0,c=n.e-i.e,S=T.length,P=k.length,y=(p=new A(M)).d=[];T[s]==(k[s]||0);)++s;if(T[s]>(k[s]||0)&&--c,(b=null==o?o=A.precision:a?o+(x(n)-x(i))+1:o)<0)return new A(0);if(b=b/7+2|0,s=0,1==S)for(f=0,T=T[0],b++;(s1&&(T=e(T,f),k=e(k,f),S=T.length,P=k.length),O=S,g=(v=k.slice(0,S)).length;g=1e7/2&&++j;do f=0,(u=t(T,v,S,g))<0?(m=v[0],S!=g&&(m=1e7*m+(v[1]||0)),(f=m/j|0)>1?(f>=1e7&&(f=1e7-1),d=(h=e(T,f)).length,g=v.length,1==(u=t(h,v,d,g))&&(f--,r(h,S16)throw Error(s+x(e));if(!e.s)return new d(o);for(null==t?(u=!1,l=p):l=t,a=new d(.03125);e.abs().gte(.1);)e=e.times(a),f+=5;for(l+=Math.log(h(2,f))/Math.LN10*2+5|0,r=n=i=new d(o),d.precision=l;;){if(n=_(n.times(e),l),r=r.times(++c),m((a=i.plus(b(n,r,l))).d).slice(0,l)===m(i.d).slice(0,l)){for(;f--;)i=_(i.times(i),l);return d.precision=p,null==t?(u=!0,_(i,p)):i}i=a}}function x(e){for(var t=7*e.e,r=e.d[0];r>=10;r/=10)t++;return t}function O(e,t,r){if(t>e.LN10.sd())throw u=!0,r&&(e.precision=r),Error(l+"LN10 precision limit exceeded");return _(new e(e.LN10),t)}function P(e){for(var t="";e--;)t+="0";return t}function j(e,t){var r,n,i,a,c,s,f,h,d,p=1,y=e,v=y.d,g=y.constructor,w=g.precision;if(y.s<1)throw Error(l+(y.s?"NaN":"-Infinity"));if(y.eq(o))return new g(0);if(null==t?(u=!1,h=w):h=t,y.eq(10))return null==t&&(u=!0),O(g,h);if(h+=10,g.precision=h,n=(r=m(v)).charAt(0),!(15e14>Math.abs(a=x(y))))return f=O(g,h+2,w).times(a+""),y=j(new g(n+"."+r.slice(1)),h-10).plus(f),g.precision=w,null==t?(u=!0,_(y,w)):y;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=m((y=y.times(e)).d)).charAt(0),p++;for(a=x(y),n>1?(y=new g("0."+r),a++):y=new g(n+"."+r.slice(1)),s=c=y=b(y.minus(o),y.plus(o),h),d=_(y.times(y),h),i=3;;){if(c=_(c.times(d),h),m((f=s.plus(b(c,new g(i),h))).d).slice(0,h)===m(s.d).slice(0,h))return s=s.times(2),0!==a&&(s=s.plus(O(g,h+2,w).times(a+""))),s=b(s,new g(p),h),g.precision=w,null==t?(u=!0,_(s,w)):s;s=f,i+=2}}function S(e,t){var r,n,i;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;48===t.charCodeAt(n);)++n;for(i=t.length;48===t.charCodeAt(i-1);)--i;if(t=t.slice(n,i)){if(i-=n,r=r-n-1,e.e=f(r/7),e.d=[],n=(r+1)%7,r<0&&(n+=7),np||e.e<-p))throw Error(s+r)}else e.s=0,e.e=0,e.d=[0];return e}function _(e,t,r){var n,i,o,a,l,c,d,y,v=e.d;for(a=1,o=v[0];o>=10;o/=10)a++;if((n=t-a)<0)n+=7,i=t,d=v[y=0];else{if((y=Math.ceil((n+1)/7))>=(o=v.length))return e;for(a=1,d=o=v[y];o>=10;o/=10)a++;n%=7,i=n-7+a}if(void 0!==r&&(l=d/(o=h(10,a-i-1))%10|0,c=t<0||void 0!==v[y+1]||d%o,c=r<4?(l||c)&&(0==r||r==(e.s<0?3:2)):l>5||5==l&&(4==r||c||6==r&&(n>0?i>0?d/h(10,a-i):0:v[y-1])%10&1||r==(e.s<0?8:7))),t<1||!v[0])return c?(o=x(e),v.length=1,t=t-o-1,v[0]=h(10,(7-t%7)%7),e.e=f(-t/7)||0):(v.length=1,v[0]=e.e=e.s=0),e;if(0==n?(v.length=y,o=1,y--):(v.length=y+1,o=h(10,7-n),v[y]=i>0?(d/h(10,a-i)%h(10,i)|0)*o:0),c)for(;;){if(0==y){1e7==(v[0]+=o)&&(v[0]=1,++e.e);break}if(v[y]+=o,1e7!=v[y])break;v[y--]=0,o=1}for(n=v.length;0===v[--n];)v.pop();if(u&&(e.e>p||e.e<-p))throw Error(s+x(e));return e}function E(e,t){var r,n,i,o,a,l,c,s,f,h,d=e.constructor,p=d.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new d(e),u?_(t,p):t;if(c=e.d,h=t.d,n=t.e,s=e.e,c=c.slice(),a=s-n){for((f=a<0)?(r=c,a=-a,l=h.length):(r=h,n=s,l=c.length),a>(i=Math.max(Math.ceil(p/7),l)+2)&&(a=i,r.length=1),r.reverse(),i=a;i--;)r.push(0);r.reverse()}else{for((f=(i=c.length)<(l=h.length))&&(l=i),i=0;i0;--i)c[l++]=0;for(i=h.length;i>a;){if(c[--i]0?o=o.charAt(0)+"."+o.slice(1)+P(n):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+P(-i-1)+o,r&&(n=r-a)>0&&(o+=P(n))):i>=a?(o+=P(i+1-a),r&&(n=r-i-1)>0&&(o=o+"."+P(n))):((n=i+1)0&&(i+1===a&&(o+="."),o+=P(n))),e.s<0?"-"+o:o}function M(e,t){if(e.length>t)return e.length=t,!0}function k(e){if(!e||"object"!=typeof e)throw Error(l+"Object expected");var t,r,n,i=["precision",1,1e9,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t=i[t+1]&&n<=i[t+2])this[r]=n;else throw Error(c+r+": "+n)}if(void 0!==(n=e[r="LN10"])){if(n==Math.LN10)this[r]=new this(n);else throw Error(c+r+": "+n)}return this}(a=function e(t){var r,n,i;function o(e){if(!(this instanceof o))return new o(e);if(this.constructor=o,e instanceof o){this.s=e.s,this.e=e.e,this.d=(e=e.d)?e.slice():e;return}if("number"==typeof e){if(0*e!=0)throw Error(c+e);if(e>0)this.s=1;else if(e<0)e=-e,this.s=-1;else{this.s=0,this.e=0,this.d=[0];return}if(e===~~e&&e<1e7){this.e=0,this.d=[e];return}return S(this,e.toString())}if("string"!=typeof e)throw Error(c+e);if(45===e.charCodeAt(0)?(e=e.slice(1),this.s=-1):this.s=1,d.test(e))S(this,e);else throw Error(c+e)}if(o.prototype=y,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.clone=e,o.config=o.set=k,void 0===t&&(t={}),t)for(r=0,i=["precision","rounding","toExpNeg","toExpPos","LN10"];r{for(let o=0;o{if(e!==t){let i=r(e),o=r(t);if(i===o&&0===i){if(et)return"desc"===n?-1:1}return"desc"===n?o-i:i-o}return 0}},9924:function(e,t){"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.getSymbols=function(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}},3984:function(e,t){"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.getTag=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}},5159:function(e,t){"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.isDeepKey=function(e){switch(typeof e){case"number":case"symbol":return!1;case"string":return e.includes(".")||e.includes("[")||e.includes("]")}}},4623:function(e,t){"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=/^(?:0|[1-9]\d*)$/;t.isIndex=function(e,t=Number.MAX_SAFE_INTEGER){switch(typeof e){case"number":return Number.isInteger(e)&&e>=0&&eString(e));let u=(e,t)=>{let r=e;for(let e=0;enull==t||null==e?t:"object"==typeof e&&"key"in e?Object.hasOwn(t,e.key)?t[e.key]:u(t,e.path):"function"==typeof e?e(t):Array.isArray(e)?u(t,e):"object"==typeof t?t[e]:t,c=t.map(e=>(Array.isArray(e)&&1===e.length&&(e=e[0]),null==e||"function"==typeof e||Array.isArray(e)||i.isKey(e))?e:{key:e,path:o.toPath(e)});return e.map(e=>({original:e,criteria:c.map(t=>l(t,e))})).slice().sort((e,t)=>{for(let i=0;ie.original)}},6273:function(e,t,r){"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let n=r(6688),i=r(949),o=r(4893);t.sortBy=function(e,...t){let r=t.length;return r>1&&o.isIterateeCall(e,t[0],t[1])?t=[]:r>2&&o.isIterateeCall(t[0],t[1],t[2])&&(t=[t[0]]),n.orderBy(e,i.flatten(t),["asc"])}},2992:function(e,t,r){"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let n=r(5745),i=r(3306),o=r(601),a=r(9311),u=r(5586);t.uniqBy=function(e,t=o.identity){return a.isArrayLikeObject(e)?n.uniqBy(Array.from(e),i.ary(u.iteratee(t),1)):[]}},2801:function(e,t,r){"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let n=r(7384);t.debounce=function(e,t=0,r={}){let i;"object"!=typeof r&&(r={});let{leading:o=!1,trailing:a=!0,maxWait:u}=r,l=[,,];o&&(l[0]="leading"),a&&(l[1]="trailing");let c=null,s=n.debounce(function(...t){i=e.apply(this,t),c=null},t,{edges:l}),f=function(...t){return null!=u&&(null===c&&(c=Date.now()),Date.now()-c>=u)?(i=e.apply(this,t),c=Date.now(),s.cancel(),s.schedule()):s.apply(this,t),i};return f.cancel=s.cancel,f.flush=()=>(s.flush(),i),f}},9313:function(e,t,r){"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let n=r(2801);t.throttle=function(e,t=0,r={}){let{leading:i=!0,trailing:o=!0}=r;return n.debounce(e,t,{leading:i,maxWait:t,trailing:o})}},1480:function(e,t,r){"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let n=r(4893),i=r(5810);t.range=function(e,t,r){r&&"number"!=typeof r&&n.isIterateeCall(e,t,r)&&(t=r=void 0),e=i.toFinite(e),void 0===t?(t=e,e=0):t=i.toFinite(t),r=void 0===r?e{let c=t?.(r,a,u,l);if(void 0!==c)return c;if("object"==typeof e){if(i.getTag(e)===o.objectTag&&"function"!=typeof e.constructor){let t={};return l.set(e,t),n.copyProperties(t,e,u,l),t}switch(Object.prototype.toString.call(e)){case o.numberTag:case o.stringTag:case o.booleanTag:{let t=new e.constructor(e?.valueOf());return n.copyProperties(t,e),t}case o.argumentsTag:{let t={};return n.copyProperties(t,e),t.length=e.length,t[Symbol.iterator]=e[Symbol.iterator],t}default:return}}})}},4073:function(e,t,r){"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let n=r(5491),i=r(5159),o=r(9670),a=r(9027);t.get=function e(t,r,u){if(null==t)return u;switch(typeof r){case"string":{if(n.isUnsafeProperty(r))return u;let o=t[r];if(void 0===o){if(i.isDeepKey(r))return e(t,a.toPath(r),u);return u}return o}case"number":case"symbol":{"number"==typeof r&&(r=o.toKey(r));let e=t[r];if(void 0===e)return u;return e}default:{if(Array.isArray(r))return function(e,t,r){if(0===t.length)return r;let i=e;for(let e=0;evoid 0)}},757:function(e,t,r){"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let n=r(3400),i=r(4526),o=r(8958);function a(e,t,r,c){if(t===e)return!0;switch(typeof t){case"object":return function(e,t,r,n){if(null==t)return!0;if(Array.isArray(t))return u(e,t,r,n);if(t instanceof Map)return function(e,t,r,n){if(0===t.size)return!0;if(!(e instanceof Map))return!1;for(let[i,o]of t.entries())if(!1===r(e.get(i),o,i,e,t,n))return!1;return!0}(e,t,r,n);if(t instanceof Set)return l(e,t,r,n);let o=Object.keys(t);if(null==e||i.isPrimitive(e))return 0===o.length;if(0===o.length)return!0;if(n?.has(t))return n.get(t)===e;n?.set(t,e);try{for(let a=0;a0)return a(e,{...t},r,c);return o.isEqualsSameValueZero(e,t);default:if(!n.isObject(e))return o.isEqualsSameValueZero(e,t);if("string"==typeof t)return""===t;return!0}}function u(e,t,r,n){if(0===t.length)return!0;if(!Array.isArray(e))return!1;let i=new Set;for(let o=0;ovoid 0):a(t,r,function e(t,r,i,o,u,l){let c=n(t,r,i,o,u,l);return void 0!==c?!!c:a(t,r,e,l)},new Map)},t.isSetMatch=l},3400:function(e,t){"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.isObject=function(e){return null!==e&&("object"==typeof e||"function"==typeof e)}},7475:function(e,t){"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.isObjectLike=function(e){return"object"==typeof e&&null!==e}},9483:function(e,t){"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.isPlainObject=function(e){if("object"!=typeof e||null==e)return!1;if(null===Object.getPrototypeOf(e))return!0;if("[object Object]"!==Object.prototype.toString.call(e)){let t=e[Symbol.toStringTag];return!!(null!=t&&Object.getOwnPropertyDescriptor(e,Symbol.toStringTag)?.writable)&&e.toString()===`[object ${t}]`}let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}},4675:function(e,t){"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.isSymbol=function(e){return"symbol"==typeof e||e instanceof Symbol}},6536:function(e,t,r){"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let n=r(6643),i=r(631);t.matches=function(e){return e=i.cloneDeep(e),t=>n.isMatch(t,e)}},4308:function(e,t,r){"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let n=r(6643),i=r(9670),o=r(9662),a=r(4073),u=r(8825);t.matchesProperty=function(e,t){switch(typeof e){case"object":Object.is(e?.valueOf(),-0)&&(e="-0");break;case"number":e=i.toKey(e)}return t=o.cloneDeep(t),function(r){let i=a.get(r,e);return void 0===i?u.has(r,e):void 0===t?void 0===i:n.isMatch(i,t)}}},5586:function(e,t,r){"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let n=r(601),i=r(3752),o=r(6536),a=r(4308);t.iteratee=function(e){if(null==e)return n.identity;switch(typeof e){case"function":return e;case"object":if(Array.isArray(e)&&2===e.length)return a.matchesProperty(e[0],e[1]);return o.matches(e);case"string":case"symbol":case"number":return i.property(e)}}},5810:function(e,t,r){"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let n=r(4201);t.toFinite=function(e){return e?(e=n.toNumber(e))===1/0||e===-1/0?(e<0?-1:1)*Number.MAX_VALUE:e==e?e:0:0===e?e:0}},4201:function(e,t,r){"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let n=r(4675);t.toNumber=function(e){return n.isSymbol(e)?NaN:Number(e)}},9027:function(e,t,r){"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let n=r(9251),i=r(9670);t.toPath=function(e){if(Array.isArray(e))return e.map(i.toKey);if("symbol"==typeof e)return[e];e=n.toString(e);let t=[],r=e.length;if(0===r)return t;let o=0,a="",u="",l=!1;for(46===e.charCodeAt(0)&&(t.push(""),o++);o{null!==o&&(e.apply(i,o),i=void 0,o=null)},c=()=>{u&&l(),d()},s=null,f=()=>{null!=s&&clearTimeout(s),s=setTimeout(()=>{s=null,c()},t)},h=()=>{null!==s&&(clearTimeout(s),s=null)},d=()=>{h(),i=void 0,o=null},p=function(...e){if(r?.aborted)return;i=this,o=e;let t=null==s;f(),a&&t&&l()};return p.schedule=f,p.cancel=d,p.flush=()=>{l()},r?.addEventListener("abort",d,{once:!0}),p}},601:function(e,t){"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.identity=function(e){return e}},631:function(e,t,r){"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let n=r(6737);t.cloneDeep=function(e){return n.cloneDeepWithImpl(e,void 0,e,new Map,void 0)}},6737:function(e,t,r){"use strict";var n=r(6434).Buffer;Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let i=r(9924),o=r(3984),a=r(1116),u=r(4526),l=r(3497);function c(e,t,r,i=new Map,f){let h=f?.(e,t,r,i);if(void 0!==h)return h;if(u.isPrimitive(e))return e;if(i.has(e))return i.get(e);if(Array.isArray(e)){let t=Array(e.length);i.set(e,t);for(let n=0;n=0}},4526:function(e,t){"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.isPrimitive=function(e){return null==e||"object"!=typeof e&&"function"!=typeof e}},3497:function(e,t){"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.isTypedArray=function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}},7625:function(e){"use strict";var t=Object.prototype.hasOwnProperty,r="~";function n(){}function i(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function o(e,t,n,o,a){if("function"!=typeof n)throw TypeError("The listener must be a function");var u=new i(n,o||e,a),l=r?r+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],u]:e._events[l].push(u):(e._events[l]=u,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new n:delete e._events[t]}function u(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1)),u.prototype.eventNames=function(){var e,n,i=[];if(0===this._eventsCount)return i;for(n in e=this._events)t.call(e,n)&&i.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},u.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,o=n.length,a=Array(o);i0?a-4:a;for(r=0;r>16&255,c[s++]=t>>8&255,c[s++]=255&t;return 2===u&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[s++]=255&t),1===u&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[s++]=t>>8&255,c[s++]=255&t),c},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=0,u=n-i;a>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}(e,a,a+16383>u?u:a+16383));return 1===i?o.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&o.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,u=o.length;a0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},72:function(e,t,r){"use strict";var n=r(675),i=r(783),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return s(e)}return l(e,t,r)}function l(e,t,r){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!u.isEncoding(t))throw TypeError("Unknown encoding: "+t);var r=0|d(e,t),n=a(r),i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}(e,t);if(ArrayBuffer.isView(e))return f(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(M(e,ArrayBuffer)||e&&M(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(M(e,SharedArrayBuffer)||e&&M(e.buffer,SharedArrayBuffer)))return function(e,t,r){var n;if(t<0||e.byteLength=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function d(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||M(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return S(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return E(e).length;default:if(i)return n?-1:S(e).length;t=(""+t).toLowerCase(),i=!0}}function p(e,t,r){var i,o,a=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),(o=r=+r)!=o&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return -1;r=e.length-1}else if(r<0){if(!i)return -1;r=0}if("string"==typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:g(e,t,r,n,i);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):g(e,[t],r,n,i);throw TypeError("val must be string, number or Buffer")}function g(e,t,r,n,i){var o,a=1,u=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;a=2,u/=2,l/=2,r/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var s=-1;for(o=r;ou&&(r=u-l),o=r;o>=0;o--){for(var f=!0,h=0;h239?4:c>223?3:c>191?2:1;if(i+f<=r)switch(f){case 1:c<128&&(s=c);break;case 2:(192&(o=e[i+1]))==128&&(l=(31&c)<<6|63&o)>127&&(s=l);break;case 3:o=e[i+1],a=e[i+2],(192&o)==128&&(192&a)==128&&(l=(15&c)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(s=l);break;case 4:o=e[i+1],a=e[i+2],u=e[i+3],(192&o)==128&&(192&a)==128&&(192&u)==128&&(l=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&u)>65535&&l<1114112&&(s=l)}null===s?(s=65533,f=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|1023&s),n.push(s),i+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var r="",n=0;nr)throw RangeError("Trying to access beyond buffer length")}function w(e,t,r,n,i,o){if(!u.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw RangeError("Index out of range")}function x(e,t,r,n,i,o){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function O(e,t,r,n,o){return t=+t,r>>>=0,o||x(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function P(e,t,r,n,o){return t=+t,r>>>=0,o||x(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}t.Buffer=u,t.SlowBuffer=function(e){return+e!=e&&(e=0),u.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=2147483647,u.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),u.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(e,t,r){return l(e,t,r)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(e,t,r){return(c(e),e<=0)?a(e):void 0!==t?"string"==typeof r?a(e).fill(t,r):a(e).fill(t):a(e)},u.allocUnsafe=function(e){return s(e)},u.allocUnsafeSlow=function(e){return s(e)},u.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==u.prototype},u.compare=function(e,t){if(M(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),M(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(e)||!u.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);ir&&(e+=" ... "),""},o&&(u.prototype[o]=u.prototype.inspect),u.prototype.compare=function(e,t,r,n,i){if(M(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var o=i-n,a=r-t,l=Math.min(o,a),c=this.slice(n,i),s=e.slice(t,r),f=0;f>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,a,u,l,c,s,f,h,d,p,y,v=this.length-t;if((void 0===r||r>v)&&(r=v),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var g=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;n>o/2&&(n=o/2);for(var a=0;a>8,i.push(r%256),i.push(n);return i}(e,this.length-p),this,p,y);default:if(g)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),g=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},u.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e],i=1,o=0;++o>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},u.prototype.readUInt8=function(e,t){return e>>>=0,t||b(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e],i=1,o=0;++o=(i*=128)&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return(e>>>=0,t||b(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||b(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){e>>>=0,t||b(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return e>>>=0,t||b(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||b(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||b(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||b(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;w(this,e,t,r,i,0)}var o=1,a=0;for(this[t]=255&e;++a>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;w(this,e,t,r,i,0)}var o=r-1,a=1;for(this[t+o]=255&e;--o>=0&&(a*=256);)this[t+o]=e/a&255;return t+r},u.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);w(this,e,t,r,i-1,-i)}var o=0,a=1,u=0;for(this[t]=255&e;++o>0)-u&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);w(this,e,t,r,i-1,-i)}var o=r-1,a=1,u=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===u&&0!==this[t+o+1]&&(u=1),this[t+o]=(e/a>>0)-u&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeFloatLE=function(e,t,r){return O(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return O(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return P(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return P(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(!u.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,n),t);return i},u.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!u.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var i,o=e.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i55295&&r<57344){if(!i){if(r>56319||a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function _(e){for(var t=[],r=0;r=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function M(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var k=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()},783:function(e,t){t.read=function(e,t,r,n,i){var o,a,u=8*i-n-1,l=(1<>1,s=-7,f=r?i-1:0,h=r?-1:1,d=e[t+f];for(f+=h,o=d&(1<<-s)-1,d>>=-s,s+=u;s>0;o=256*o+e[t+f],f+=h,s-=8);for(a=o&(1<<-s)-1,o>>=-s,s+=n;s>0;a=256*a+e[t+f],f+=h,s-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,n),o-=c}return(d?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var a,u,l,c=8*o-i-1,s=(1<>1,h=23===i?5960464477539062e-23:0,d=n?0:o-1,p=n?1:-1,y=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(u=isNaN(t)?1:0,a=s):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+f>=1?t+=h/l:t+=h*Math.pow(2,1-f),t*l>=2&&(a++,l/=2),a+f>=s?(u=0,a=s):a+f>=1?(u=(t*l-1)*Math.pow(2,i),a+=f):(u=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[r+d]=255&u,d+=p,u/=256,i-=8);for(a=a<0;e[r+d]=255&a,d+=p,a/=256,c-=8);e[r+d-p]|=128*y}}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var o=r[e]={exports:{}},a=!0;try{t[e](o,o.exports,n),a=!1}finally{a&&delete r[e]}return o.exports}n.ab="//";var i=n(72);e.exports=i}()},9679:function(e,t){"use strict";var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.for("react.view_transition");Symbol.for("react.client.reference"),t.M2=function(e){return function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case a:case o:case s:case f:case p:return e;default:switch(e=e&&e.$$typeof){case l:case c:case d:case h:case u:return e;default:return t}}case n:return t}}}(e)===i}},9775:function(e,t,r){"use strict";r.d(t,{H:function(){return M}});var n=r(2265),i=r(6630),o=r(130),a=r(8266);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;te+(t-e)*r,s=e=>{var{from:t,to:r}=e;return t!==r},f=(e,t,r)=>{var n=(0,a.Xc)((t,r)=>{if(s(r)){var[n,i]=e(r.from,r.to,r.velocity);return l(l({},r),{},{from:n,velocity:i})}return r},t);return r<1?(0,a.Xc)((e,t)=>s(t)&&null!=n[e]?l(l({},t),{},{velocity:c(t.velocity,n[e].velocity,r),from:c(t.from,n[e].from,r)}):t,t):f(e,n,r-1)},h=(e,t,r,n,i,o)=>{var u,h,d,p,y,v,g,m,b,w,x=(0,a.JK)(e,t);return null==r?()=>(i(l(l({},e),t)),()=>{}):!0===r.isStepper?(h=x.reduce((r,n)=>l(l({},r),{},{[n]:{from:e[n],velocity:0,to:t[n]}}),{}),d=()=>(0,a.Xc)((e,t)=>t.from,h),p=()=>!Object.values(h).filter(s).length,y=null,v=n=>{u||(u=n);var a=(n-u)/r.dt;h=f(r,h,a),i(l(l(l({},e),t),d())),u=n,p()||(y=o.setTimeout(v))},()=>(y=o.setTimeout(v),()=>{var e;null===(e=y)||void 0===e||e()})):(m=null,b=x.reduce((r,n)=>{var i=e[n],o=t[n];return null==i||null==o?r:l(l({},r),{},{[n]:[i,o]})},{}),w=u=>{g||(g=u);var s=(u-g)/n,f=(0,a.Xc)((e,t)=>c(...t,r(s)),b);if(i(l(l(l({},e),t),f)),s<1)m=o.setTimeout(w);else{var h=(0,a.Xc)((e,t)=>c(...t,r(1)),b);i(l(l(l({},e),t),h))}},()=>(m=o.setTimeout(w),()=>{var e;null===(e=m)||void 0===e||e()}))},d=(e,t)=>[0,3*e,3*t-6*e,3*e-3*t+1],p=(e,t)=>e.map((e,r)=>e*t**r).reduce((e,t)=>e+t),y=(e,t)=>r=>p(d(e,t),r),v=(e,t)=>r=>p([...d(e,t).map((e,t)=>e*t).slice(1),0],r),g=e=>{var t,r=e.split("(");if(2!==r.length||"cubic-bezier"!==r[0])return null;var n=null===(t=r[1])||void 0===t||null===(t=t.split(")")[0])||void 0===t?void 0:t.split(",");if(null==n||4!==n.length)return null;var i=n.map(e=>parseFloat(e));return[i[0],i[1],i[2],i[3]]},m=function(){for(var e=arguments.length,t=Array(e),r=0;r{var i=y(e,r),o=y(t,n),a=v(e,r),u=e=>e>1?1:e<0?0:e,l=e=>{for(var t=e>1?1:e,r=t,n=0;n<8;++n){var l=i(r)-t,c=a(r);if(1e-4>Math.abs(l-t)||c<1e-4)break;r=u(r-l/c)}return o(r)};return l.isStepper=!1,l},w=function(){return b(...m(...arguments))},x=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{stiff:t=100,damping:r=8,dt:n=17}=e,i=(e,i,o)=>{var a=o+(-(e-i)*t-o*r)*n/1e3,u=o*n/1e3+e;return 1e-4>Math.abs(u-i)&&1e-4>Math.abs(a)?[i,0]:[u,a]};return i.isStepper=!0,i.dt=n,i},O=e=>{if("string"==typeof e)switch(e){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return w(e);case"spring":return x();default:if("cubic-bezier"===e.split("(")[0])return w(e)}return"function"==typeof e?e:null};class P{setTimeout(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=performance.now(),n=null,i=o=>{o-r>=t?e(o):"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(i))};return n=requestAnimationFrame(i),()=>{null!=n&&cancelAnimationFrame(n)}}}var j=(0,n.createContext)(function(){var e,t,r,n,i;return e=new P,t=()=>null,r=!1,n=null,i=o=>{if(!r){if(Array.isArray(o)){if(!o.length)return;var[a,...u]=o;if("number"==typeof a){n=e.setTimeout(i.bind(null,u),a);return}i(a),n=e.setTimeout(i.bind(null,u));return}"string"==typeof o&&t(o),"object"==typeof o&&t(o),"function"==typeof o&&o()}},{stop:()=>{r=!0},start:e=>{r=!1,n&&(n(),n=null),i(e)},subscribe:e=>(t=e,()=>{t=()=>null}),getTimeoutController:()=>e}}),S=r(4067),_={begin:0,duration:1e3,easing:"ease",isActive:!0,canBegin:!0,onAnimationEnd:()=>{},onAnimationStart:()=>{}},E={t:0},A={t:1};function M(e){var t,r,a,u=(0,o.j)(e,_),{isActive:l,canBegin:c,duration:s,easing:f,begin:d,onAnimationEnd:p,onAnimationStart:y,children:v}=u,g="auto"===l?!S.x.isSsr:l,m=(t=u.animationId,r=u.animationManager,a=(0,n.useContext)(j),(0,n.useMemo)(()=>null!=r?r:a(t),[t,r,a])),[b,w]=(0,n.useState)(g?E:A),x=(0,n.useRef)(null);return(0,n.useEffect)(()=>{g||w(A)},[g]),(0,n.useEffect)(()=>{if(!g||!c)return i.ZT;var e=h(E,A,O(f),s,w,m.getTimeoutController());return m.start([y,d,()=>{x.current=e()},s,p]),()=>{m.stop(),x.current&&x.current(),p()}},[g,c,s,f,d,y,p,m]),v(b.t)}},8266:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;te.replace(/([A-Z])/g,e=>"-".concat(e.toLowerCase())),a=(e,t,r)=>e.map(e=>"".concat(o(e)," ").concat(t,"ms ").concat(r)).join(","),u=(e,t)=>[Object.keys(e),Object.keys(t)].reduce((e,t)=>e.filter(e=>t.includes(e))),l=(e,t)=>Object.keys(t).reduce((r,n)=>i(i({},r),{},{[n]:e(n,t[n])}),{})},5224:function(e,t,r){"use strict";r.d(t,{u:function(){return t$}});var n=r(2265),i=r(1057);r(6548);var o={notify(){},get:()=>[]},a=!!("undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement),u="undefined"!=typeof navigator&&"ReactNative"===navigator.product,l=a||u?n.useLayoutEffect:n.useEffect;function c(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}var s=Symbol.for("react-redux-context"),f="undefined"!=typeof globalThis?globalThis:{},h=function(){if(!n.createContext)return{};let e=f[s]??=new Map,t=e.get(n.createContext);return t||(t=n.createContext(null),e.set(n.createContext,t)),t}(),d=function(e){let{children:t,context:r,serverState:i,store:a}=e,u=n.useMemo(()=>{let e=function(e,t){let r;let n=o,i=0,a=!1;function u(){s.onStateChange&&s.onStateChange()}function l(){if(i++,!r){let t,i;r=e.subscribe(u),t=null,i=null,n={clear(){t=null,i=null},notify(){(()=>{let e=t;for(;e;)e.callback(),e=e.next})()},get(){let e=[],r=t;for(;r;)e.push(r),r=r.next;return e},subscribe(e){let r=!0,n=i={callback:e,next:null,prev:i};return n.prev?n.prev.next=n:t=n,function(){r&&null!==t&&(r=!1,n.next?n.next.prev=n.prev:i=n.prev,n.prev?n.prev.next=n.next:t=n.next)}}}}}function c(){i--,r&&0===i&&(r(),r=void 0,n.clear(),n=o)}let s={addNestedSub:function(e){l();let t=n.subscribe(e),r=!1;return()=>{r||(r=!0,t(),c())}},notifyNestedSubs:function(){n.notify()},handleChangeWrapper:u,isSubscribed:function(){return a},trySubscribe:function(){a||(a=!0,l())},tryUnsubscribe:function(){a&&(a=!1,c())},getListeners:()=>n};return s}(a);return{store:a,subscription:e,getServerState:i?()=>i:void 0}},[a,i]),c=n.useMemo(()=>a.getState(),[a]);return l(()=>{let{subscription:e}=u;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),c!==a.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}},[u,c]),n.createElement((r||h).Provider,{value:u},t)},p=r(9688),y=r(9129),v=r(4725),g=r(9173),m=r(5293),b=r(2713),w=r(5953),x=r(1944),O=r(9729),P=r(3683),j=r(5995),S=r(4014),_=(0,b.P1)([(e,t)=>t,w.rE,j.HW,S.c,x.PG,x.WQ,P.EM,O.DX],P.Nb),E=r(6302),A=e=>{var t=e.currentTarget.getBoundingClientRect(),r=t.width/e.currentTarget.offsetWidth,n=t.height/e.currentTarget.offsetHeight;return{chartX:Math.round((e.clientX-t.left)/r),chartY:Math.round((e.clientY-t.top)/n)}},M=(0,y.PH)("mouseClick"),k=(0,y.e)();k.startListening({actionCreator:M,effect:(e,t)=>{var r=e.payload,n=_(t.getState(),A(r));(null==n?void 0:n.activeIndex)!=null&&t.dispatch((0,v.eB)({activeIndex:n.activeIndex,activeDataKey:void 0,activeCoordinate:n.activeCoordinate}))}});var T=(0,y.PH)("mouseMove"),C=(0,y.e)(),D=null;function N(e,t){return t instanceof HTMLElement?"HTMLElement <".concat(t.tagName,' class="').concat(t.className,'">'):t===window?"global.window":"children"===e&&"object"==typeof t&&null!==t?"<>":t}C.startListening({actionCreator:T,effect:(e,t)=>{var r=e.payload;null!==D&&cancelAnimationFrame(D);var n=A(r);D=requestAnimationFrame(()=>{var e=t.getState();if("axis"===(0,E.SB)(e,e.tooltip.settings.shared)){var r=_(e,n);(null==r?void 0:r.activeIndex)!=null?t.dispatch((0,v.Rr)({activeIndex:r.activeIndex,activeDataKey:void 0,activeCoordinate:r.activeCoordinate})):t.dispatch((0,v.ne)())}D=null})}});var I=r(418);function z(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function R(e){for(var t=1;t=Math.abs(n-(null!==(o=a[0])&&void 0!==o?o:0)))return;var u=[...a,n].slice(-3);e.yAxis[r]=R(R({},i),{},{width:n,widthHistory:u})}}}}),{addXAxis:U,replaceXAxis:B,removeXAxis:$,addYAxis:F,replaceYAxis:W,removeYAxis:K,addZAxis:Z,replaceZAxis:q,removeZAxis:H,updateYAxisWidth:V}=L.actions,X=L.reducer,Y=r(9579),G=r(9234),Q=(0,y.oM)({name:"referenceElements",initialState:{dots:[],areas:[],lines:[]},reducers:{addDot:(e,t)=>{e.dots.push(t.payload)},removeDot:(e,t)=>{var r=(0,G.Vk)(e).dots.findIndex(e=>e===t.payload);-1!==r&&e.dots.splice(r,1)},addArea:(e,t)=>{e.areas.push(t.payload)},removeArea:(e,t)=>{var r=(0,G.Vk)(e).areas.findIndex(e=>e===t.payload);-1!==r&&e.areas.splice(r,1)},addLine:(e,t)=>{e.lines.push((0,I.cA)(t.payload))},removeLine:(e,t)=>{var r=(0,G.Vk)(e).lines.findIndex(e=>e===t.payload);-1!==r&&e.lines.splice(r,1)}}}),{addDot:J,removeDot:ee,addArea:et,removeArea:er,addLine:en,removeLine:ei}=Q.actions,eo=Q.reducer,ea={x:0,y:0,width:0,height:0,padding:{top:0,right:0,bottom:0,left:0}},eu=(0,y.oM)({name:"brush",initialState:ea,reducers:{setBrushSettings:(e,t)=>null==t.payload?ea:t.payload}}),{setBrushSettings:el}=eu.actions,ec=eu.reducer,es=r(2738),ef={accessibilityLayer:!0,barCategoryGap:"10%",barGap:4,barSize:void 0,className:void 0,maxBarSize:void 0,stackOffset:"none",syncId:void 0,syncMethod:"index",baseValue:void 0,reverseStackOrder:!1},eh=(0,y.oM)({name:"rootProps",initialState:ef,reducers:{updateOptions:(e,t)=>{var r;e.accessibilityLayer=t.payload.accessibilityLayer,e.barCategoryGap=t.payload.barCategoryGap,e.barGap=null!==(r=t.payload.barGap)&&void 0!==r?r:ef.barGap,e.barSize=t.payload.barSize,e.maxBarSize=t.payload.maxBarSize,e.stackOffset=t.payload.stackOffset,e.syncId=t.payload.syncId,e.syncMethod=t.payload.syncMethod,e.className=t.payload.className,e.baseValue=t.payload.baseValue,e.reverseStackOrder=t.payload.reverseStackOrder}}}),ed=eh.reducer,{updateOptions:ep}=eh.actions,ey=(0,y.oM)({name:"polarAxis",initialState:{radiusAxis:{},angleAxis:{}},reducers:{addRadiusAxis(e,t){e.radiusAxis[t.payload.id]=(0,I.cA)(t.payload)},removeRadiusAxis(e,t){delete e.radiusAxis[t.payload.id]},addAngleAxis(e,t){e.angleAxis[t.payload.id]=(0,I.cA)(t.payload)},removeAngleAxis(e,t){delete e.angleAxis[t.payload.id]}}}),{addRadiusAxis:ev,removeRadiusAxis:eg,addAngleAxis:em,removeAngleAxis:eb}=ey.actions,ew=ey.reducer,ex=(0,y.oM)({name:"polarOptions",initialState:null,reducers:{updatePolarOptions:(e,t)=>t.payload}}),{updatePolarOptions:eO}=ex.actions,eP=ex.reducer,ej=r(9064),eS=r(6064),e_=(0,y.PH)("keyDown"),eE=(0,y.PH)("focus"),eA=(0,y.e)();eA.startListening({actionCreator:e_,effect:(e,t)=>{var r=t.getState();if(!1!==r.rootProps.accessibilityLayer){var{keyboardInteraction:n}=r.tooltip,i=e.payload;if("ArrowRight"===i||"ArrowLeft"===i||"Enter"===i){var o=(0,eS.p)(n,(0,x.wQ)(r),(0,ej.BD)(r),(0,x.lj)(r)),a=null==o?-1:Number(o);if(Number.isFinite(a)&&!(a<0)){var u=(0,x.WQ)(r);if("Enter"===i){var l=(0,P.hA)(r,"axis","hover",String(n.index));t.dispatch((0,v.KN)({active:!n.active,activeIndex:n.index,activeCoordinate:l}));return}var c=a+("ArrowRight"===i?1:-1)*("left-to-right"===(0,ej.Xv)(r)?1:-1);if(null!=u&&!(c>=u.length)&&!(c<0)){var s=(0,P.hA)(r,"axis","hover",String(c));t.dispatch((0,v.KN)({active:!0,activeIndex:c.toString(),activeCoordinate:s}))}}}}}}),eA.startListening({actionCreator:eE,effect:(e,t)=>{var r=t.getState();if(!1!==r.rootProps.accessibilityLayer){var{keyboardInteraction:n}=r.tooltip;if(!n.active&&null==n.index){var i=(0,P.hA)(r,"axis","hover",String("0"));t.dispatch((0,v.KN)({active:!0,activeIndex:"0",activeCoordinate:i}))}}}});var eM=(0,y.PH)("externalEvent"),ek=(0,y.e)(),eT=new Map;ek.startListening({actionCreator:eM,effect:(e,t)=>{var{handler:r,reactEvent:n}=e.payload;if(null!=r){n.persist();var i=n.type,o=eT.get(i);void 0!==o&&cancelAnimationFrame(o);var a=requestAnimationFrame(()=>{try{var e=t.getState(),o={activeCoordinate:(0,x.pI)(e),activeDataKey:(0,x.du)(e),activeIndex:(0,x.Ve)(e),activeLabel:(0,x.i)(e),activeTooltipIndex:(0,x.Ve)(e),isTooltipActive:(0,x.oo)(e)};r(o,n)}finally{eT.delete(i)}});eT.set(i,a)}}});var eC=r(8487),eD=r(4803),eN=(0,b.P1)([eD.M],e=>e.tooltipItemPayloads),eI=(0,b.P1)([eN,(e,t)=>t,(e,t,r)=>r],(e,t,r)=>{if(null!=t){var n=e.find(e=>e.settings.graphicalItemId===r);if(null!=n){var{getPosition:i}=n;if(null!=i)return i(t)}}}),ez=(0,y.PH)("touchMove"),eR=(0,y.e)();eR.startListening({actionCreator:ez,effect:(e,t)=>{var r=e.payload;if(null!=r.touches&&0!==r.touches.length){var n=t.getState(),i=(0,E.SB)(n,n.tooltip.settings.shared);if("axis"===i){var o=r.touches[0];if(null==o)return;var a=_(n,A({clientX:o.clientX,clientY:o.clientY,currentTarget:r.currentTarget}));(null==a?void 0:a.activeIndex)!=null&&t.dispatch((0,v.Rr)({activeIndex:a.activeIndex,activeDataKey:void 0,activeCoordinate:a.activeCoordinate}))}else if("item"===i){var u,l=r.touches[0];if(null==document.elementFromPoint||null==l)return;var c=document.elementFromPoint(l.clientX,l.clientY);if(!c||!c.getAttribute)return;var s=c.getAttribute(eC.Gh),f=null!==(u=c.getAttribute(eC.jX))&&void 0!==u?u:void 0,h=(0,x.CG)(n).find(e=>e.id===f);if(null==s||null==h||null==f)return;var{dataKey:d}=h,p=eI(n,s,f);t.dispatch((0,v.M1)({activeDataKey:d,activeIndex:s,activeCoordinate:p,activeGraphicalItemId:f}))}}}});var eL=(0,y.oM)({name:"errorBars",initialState:{},reducers:{addErrorBar:(e,t)=>{var{itemId:r,errorBar:n}=t.payload;e[r]||(e[r]=[]),e[r].push(n)},replaceErrorBar:(e,t)=>{var{itemId:r,prev:n,next:i}=t.payload;e[r]&&(e[r]=e[r].map(e=>e.dataKey===n.dataKey&&e.direction===n.direction?i:e))},removeErrorBar:(e,t)=>{var{itemId:r,errorBar:n}=t.payload;e[r]&&(e[r]=e[r].filter(e=>e.dataKey!==n.dataKey||e.direction!==n.direction))}}}),{addErrorBar:eU,replaceErrorBar:eB,removeErrorBar:e$}=eL.actions,eF=eL.reducer,eW=r(4067),eK=r(7274),eZ=(0,p.UY)({brush:ec,cartesianAxis:X,chartData:g.Q2,errorBars:eF,graphicalItems:Y.iX,layout:m.EW,legend:es.Ny,options:i.wB,polarAxis:ew,polarOptions:eP,referenceElements:eo,rootProps:ed,tooltip:v.Kw,zIndex:eK.IE}),eq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Chart";return(0,y.xC)({reducer:eZ,preloadedState:e,middleware:e=>e({serializableCheck:!1,immutableCheck:!["commonjs","es6","production"].includes("es6")}).concat([k.middleware,C.middleware,eA.middleware,ek.middleware,eR.middleware]),enhancers:e=>{var t=e;return"function"==typeof e&&(t=e()),t.concat((0,y.bu)({type:"raf"}))},devTools:eW.x.devToolsEnabled&&{serialize:{replacer:N},name:"recharts-".concat(t)}})},eH=r(8735),eV=r(209);function eX(e){var{preloadedState:t,children:r,reduxStoreName:i}=e,o=(0,eH.W)(),a=(0,n.useRef)(null);if(o)return r;null==a.current&&(a.current=eq(t,i));var u=eV.l;return n.createElement(d,{context:u,store:a.current},r)}var eY=r(9040),eG=e=>{var{chartData:t}=e,r=(0,eY.T)(),i=(0,eH.W)();return(0,n.useEffect)(()=>i?()=>{}:(r((0,g.zR)(t)),()=>{r((0,g.zR)(void 0))}),[t,r,i]),null},eQ=new Set(["axisLine","tickLine","activeBar","activeDot","activeLabel","activeShape","allowEscapeViewBox","background","cursor","dot","label","line","margin","padding","position","shape","style","tick","wrapperStyle","radius"]),eJ=(0,n.memo)(function(e){var{layout:t,margin:r}=e,i=(0,eY.T)(),o=(0,eH.W)();return(0,n.useEffect)(()=>{o||(i((0,m.jx)(t)),i((0,m.Qb)(r)))},[i,o,t,r]),null},function(e,t){for(var r of new Set([...Object.keys(e),...Object.keys(t)]))if(eQ.has(r)){if(null==e[r]&&null==t[r])continue;if(!function(e,t){if(c(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let n=0;n{t(ep(e))},[t,e]),null}function e1(e){var t=(0,eY.T)();return(0,n.useEffect)(()=>{t(eO(e))},[t,e]),null}var e2=r(4847),e5=r(1994),e3=r(3414),e6=["children","width","height","viewBox","className","style","title","desc"];function e4(){return(e4=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var{children:r,width:i,height:o,viewBox:a,className:u,style:l,title:c,desc:s}=e,f=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n(i.current&&o((0,eK.d1)({zIndex:t,element:i.current,isPanorama:r})),()=>{o((0,eK.cG)({zIndex:t,isPanorama:r}))}),[o,t,r]),n.createElement("g",{tabIndex:-1,ref:i})}function tr(e){var{children:t,isPanorama:r}=e,i=(0,eY.C)(te.k);if(!i||0===i.length)return t;var o=i.filter(e=>e<0),a=i.filter(e=>e>0);return n.createElement(n.Fragment,null,o.map(e=>n.createElement(tt,{key:e,zIndex:e,isPanorama:r})),t,a.map(e=>n.createElement(tt,{key:e,zIndex:e,isPanorama:r})))}var tn=["children"];function ti(){return(ti=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var r,i,o=(0,w.zn)(),a=(0,w.Mw)(),u=(0,e2.F)();if(!(0,e9.r)(o)||!(0,e9.r)(a))return null;var{children:l,otherAttributes:c,title:s,desc:f}=e;return null!=c&&(r="number"==typeof c.tabIndex?c.tabIndex:u?0:void 0,i="string"==typeof c.role?c.role:u?"application":void 0),n.createElement(e8,ti({},c,{title:s,desc:f,role:i,tabIndex:r,width:o,height:a,style:to,ref:t}),l)}),tu=e=>{var{children:t}=e,r=(0,eY.C)(e7.V);if(!r)return null;var{width:i,height:o,y:a,x:u}=r;return n.createElement(e8,{width:i,height:o,x:u,y:a},t)},tl=(0,n.forwardRef)((e,t)=>{var{children:r}=e,i=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n((0,tc.W9)(),null);function tg(e){if("number"==typeof e)return e;if("string"==typeof e){var t=parseFloat(e);if(!Number.isNaN(t))return t}return 0}var tm=(0,n.forwardRef)((e,t)=>{var r,i,o=(0,n.useRef)(null),[a,u]=(0,n.useState)({containerWidth:tg(null===(r=e.style)||void 0===r?void 0:r.width),containerHeight:tg(null===(i=e.style)||void 0===i?void 0:i.height)}),l=(0,n.useCallback)((e,t)=>{u(r=>{var n=Math.round(e),i=Math.round(t);return r.containerWidth===n&&r.containerHeight===i?r:{containerWidth:n,containerHeight:i}})},[]),c=(0,n.useCallback)(e=>{if("function"==typeof t&&t(e),null!=e&&"undefined"!=typeof ResizeObserver){var{width:r,height:n}=e.getBoundingClientRect();l(r,n);var i=new ResizeObserver(e=>{var t=e[0];if(null!=t){var{width:r,height:n}=t.contentRect;l(r,n)}});i.observe(e),o.current=i}},[t,l]);return(0,n.useEffect)(()=>()=>{var e=o.current;null!=e&&e.disconnect()},[l]),n.createElement(n.Fragment,null,n.createElement(w.Ir,{width:a.containerWidth,height:a.containerHeight}),n.createElement("div",ty({ref:c},e)))}),tb=(0,n.forwardRef)((e,t)=>{var{width:r,height:i}=e,[o,a]=(0,n.useState)({containerWidth:tg(r),containerHeight:tg(i)}),u=(0,n.useCallback)((e,t)=>{a(r=>{var n=Math.round(e),i=Math.round(t);return r.containerWidth===n&&r.containerHeight===i?r:{containerWidth:n,containerHeight:i}})},[]),l=(0,n.useCallback)(e=>{if("function"==typeof t&&t(e),null!=e){var{width:r,height:n}=e.getBoundingClientRect();u(r,n)}},[t,u]);return n.createElement(n.Fragment,null,n.createElement(w.Ir,{width:o.containerWidth,height:o.containerHeight}),n.createElement("div",ty({ref:l},e)))}),tw=(0,n.forwardRef)((e,t)=>{var{width:r,height:i}=e;return n.createElement(n.Fragment,null,n.createElement(w.Ir,{width:r,height:i}),n.createElement("div",ty({ref:t},e)))}),tx=(0,n.forwardRef)((e,t)=>{var{width:r,height:i}=e;return"string"==typeof r||"string"==typeof i?n.createElement(tb,ty({},e,{ref:t})):"number"==typeof r&&"number"==typeof i?n.createElement(tw,ty({},e,{width:r,height:i,ref:t})):n.createElement(n.Fragment,null,n.createElement(w.Ir,{width:r,height:i}),n.createElement("div",ty({ref:t},e)))}),tO=(0,n.forwardRef)((e,t)=>{var{children:r,className:i,height:o,onClick:a,onContextMenu:u,onDoubleClick:l,onMouseDown:c,onMouseEnter:s,onMouseLeave:f,onMouseMove:h,onMouseUp:d,onTouchEnd:p,onTouchMove:y,onTouchStart:g,style:b,width:w,responsive:x,dispatchTouchEvents:O=!0}=e,P=(0,n.useRef)(null),j=(0,eY.T)(),[S,_]=(0,n.useState)(null),[E,A]=(0,n.useState)(null),k=function(){var e=(0,eY.T)(),[t,r]=(0,n.useState)(null),i=(0,eY.C)(ts.K$);return(0,n.useEffect)(()=>{if(null!=t){var r=t.getBoundingClientRect().width/t.offsetWidth;(0,e9.n)(r)&&r!==i&&e((0,m.ZP)(r))}},[t,e,i]),r}(),C=(0,td.$)(),D=(null==C?void 0:C.width)>0?C.width:w,N=(null==C?void 0:C.height)>0?C.height:o,I=(0,n.useCallback)(e=>{k(e),"function"==typeof t&&t(e),_(e),A(e),null!=e&&(P.current=e)},[k,t,_,A]),z=(0,n.useCallback)(e=>{j(M(e)),j(eM({handler:a,reactEvent:e}))},[j,a]),R=(0,n.useCallback)(e=>{j(T(e)),j(eM({handler:s,reactEvent:e}))},[j,s]),L=(0,n.useCallback)(e=>{j((0,v.ne)()),j(eM({handler:f,reactEvent:e}))},[j,f]),U=(0,n.useCallback)(e=>{j(T(e)),j(eM({handler:h,reactEvent:e}))},[j,h]),B=(0,n.useCallback)(()=>{j(eE())},[j]),$=(0,n.useCallback)(e=>{j(e_(e.key))},[j]),F=(0,n.useCallback)(e=>{j(eM({handler:u,reactEvent:e}))},[j,u]),W=(0,n.useCallback)(e=>{j(eM({handler:l,reactEvent:e}))},[j,l]),K=(0,n.useCallback)(e=>{j(eM({handler:c,reactEvent:e}))},[j,c]),Z=(0,n.useCallback)(e=>{j(eM({handler:d,reactEvent:e}))},[j,d]),q=(0,n.useCallback)(e=>{j(eM({handler:g,reactEvent:e}))},[j,g]),H=(0,n.useCallback)(e=>{O&&j(ez(e)),j(eM({handler:y,reactEvent:e}))},[j,O,y]),V=(0,n.useCallback)(e=>{j(eM({handler:p,reactEvent:e}))},[j,p]);return n.createElement(tf.E.Provider,{value:S},n.createElement(th.Provider,{value:E},n.createElement(x?tm:tx,{width:null!=D?D:null==b?void 0:b.width,height:null!=N?N:null==b?void 0:b.height,className:(0,e5.W)("recharts-wrapper",i),style:function(e){for(var t=1;t({top:e.top,bottom:e.bottom,left:e.left,right:e.right})),tS=(0,b.P1)([tj,ts.RD,ts.d_],(e,t,r)=>{if(e&&null!=t&&null!=r)return{x:e.left,y:e.top,width:Math.max(0,t-e.left-e.right),height:Math.max(0,r-e.top-e.bottom)}}),t_=()=>(0,eY.C)(tS),tE=(0,n.createContext)(void 0),tA=e=>{var{children:t}=e,[r]=(0,n.useState)("".concat((0,tP.EL)("recharts"),"-clip")),i=t_();if(null==i)return null;var{x:o,y:a,width:u,height:l}=i;return n.createElement(tE.Provider,{value:r},n.createElement("defs",null,n.createElement("clipPath",{id:r},n.createElement("rect",{x:o,y:a,height:l,width:u}))),t)},tM=r(1221),tk=["width","height","responsive","children","className","style","compact","title","desc"],tT=(0,n.forwardRef)((e,t)=>{var{width:r,height:i,responsive:o,children:a,className:u,style:l,compact:c,title:s,desc:f}=e,h=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n{var r=(0,tC.j)(e,tB);return n.createElement(tz,{chartName:"PieChart",defaultTooltipEventType:"item",validateTooltipEventTypes:tU,tooltipPayloadSearcher:i.NL,categoricalChartProps:r,ref:t})})},407:function(e,t,r){"use strict";r.d(t,{b:function(){return n}});var n=e=>null;n.displayName="Cell"},3056:function(e,t,r){"use strict";r.d(t,{h:function(){return j},$:function(){return O}});var n=r(1994),i=r(2265),o=r(4926),a=r.n(o),u=r(6630),l=function(e,t){for(var r=arguments.length,n=Array(r>2?r-2:0),i=2;in[o++]))}}},c={width:"100%",height:"100%",debounce:0,minWidth:0,initialDimension:{width:-1,height:-1}},s=(e,t,r)=>{var{width:n=c.width,height:i=c.height,aspect:o,maxHeight:a}=r,l=(0,u.hU)(n)?e:Number(n),s=(0,u.hU)(i)?t:Number(i);return o&&o>0&&(l?s=l/o:s&&(l=s*o),a&&null!=s&&s>a&&(s=a)),{calculatedWidth:l,calculatedHeight:s}},f={width:0,height:0,overflow:"visible"},h={width:0,overflowX:"visible"},d={height:0,overflowY:"visible"},p={},y=e=>{var{width:t,height:r}=e,n=(0,u.hU)(t),i=(0,u.hU)(r);return n&&i?f:n?h:i?d:p},v=r(6395);function g(){return(g=Object.assign?Object.assign.bind():function(e){for(var t=1;t({width:r,height:n}),[r,n]);return(0,v.r)(o.width)&&(0,v.r)(o.height)?i.createElement(w.Provider,{value:o},t):null}var O=()=>(0,i.useContext)(w),P=(0,i.forwardRef)((e,t)=>{var{aspect:r,initialDimension:o=c.initialDimension,width:f,height:h,minWidth:d=c.minWidth,minHeight:p,maxHeight:v,children:g,debounce:m=c.debounce,id:w,className:O,onResize:P,style:j={}}=e,S=(0,i.useRef)(null),_=(0,i.useRef)();_.current=P,(0,i.useImperativeHandle)(t,()=>S.current);var[E,A]=(0,i.useState)({containerWidth:o.width,containerHeight:o.height}),M=(0,i.useCallback)((e,t)=>{A(r=>{var n=Math.round(e),i=Math.round(t);return r.containerWidth===n&&r.containerHeight===i?r:{containerWidth:n,containerHeight:i}})},[]);(0,i.useEffect)(()=>{if(null==S.current||"undefined"==typeof ResizeObserver)return u.ZT;var e=e=>{var t,r=e[0];if(null!=r){var{width:n,height:i}=r.contentRect;M(n,i),null===(t=_.current)||void 0===t||t.call(_,n,i)}};m>0&&(e=a()(e,m,{trailing:!0,leading:!1}));var t=new ResizeObserver(e),{width:r,height:n}=S.current.getBoundingClientRect();return M(r,n),t.observe(S.current),()=>{t.disconnect()}},[M,m]);var{containerWidth:k,containerHeight:T}=E;l(!r||r>0,"The aspect(%s) must be greater than zero.",r);var{calculatedWidth:C,calculatedHeight:D}=s(k,T,{width:f,height:h,aspect:r,maxHeight:v});return l(null!=C&&C>0||null!=D&&D>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.",C,D,f,h,d,p,r),i.createElement("div",{id:w?"".concat(w):void 0,className:(0,n.W)("recharts-responsive-container",O),style:b(b({},j),{},{width:f,height:h,minWidth:d,minHeight:p,maxHeight:v}),ref:S},i.createElement("div",{style:y({width:f,height:h})},i.createElement(x,{width:C,height:D},g)))}),j=(0,i.forwardRef)((e,t)=>{var r=O();if((0,v.r)(r.width)&&(0,v.r)(r.height))return e.children;var{width:n,height:o}=function(e){var{width:t,height:r,aspect:n}=e,i=t,o=r;return void 0===i&&void 0===o?(i=c.width,o=c.height):void 0===i?i=n&&n>0?void 0:c.width:void 0===o&&(o=n&&n>0?void 0:c.height),{width:i,height:o}}({width:e.width,height:e.height,aspect:e.aspect}),{calculatedWidth:a,calculatedHeight:l}=s(void 0,void 0,{width:n,height:o,aspect:e.aspect,maxHeight:e.maxHeight});return(0,u.hj)(a)&&(0,u.hj)(l)?i.createElement(x,{width:a,height:l},e.children):i.createElement(P,g({},e,{width:n,height:o,ref:t}))})},7719:function(e,t,r){"use strict";r.d(t,{u:function(){return eh}});var n=r(2265),i=r(4887),o=r(1104),a=r.n(o),u=r(1994),l=r(6630);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var{separator:t=d.separator,contentStyle:r,itemStyle:i,labelStyle:o=d.labelStyle,payload:s,formatter:p,itemSorter:y,wrapperClassName:v,labelClassName:g,label:m,labelFormatter:b,accessibilityLayer:w=d.accessibilityLayer}=e,x=f(f({},d.contentStyle),r),O=f({margin:0},o),P=!(0,l.Rw)(m),j=P?m:"",S=(0,u.W)("recharts-default-tooltip",v),_=(0,u.W)("recharts-tooltip-label",g);return P&&b&&null!=s&&(j=b(m,s)),n.createElement("div",c({className:S,style:x},w?{role:"status","aria-live":"assertive"}:{}),n.createElement("p",{className:_,style:O},n.isValidElement(j)?j:"".concat(j)),(()=>{if(s&&s.length){var e=(y?a()(s,y):s).map((e,r)=>{if("none"===e.type)return null;var o=e.formatter||p||h,{value:a,name:u}=e,c=a,y=u;if(o){var v=o(a,u,e,r,s);if(Array.isArray(v))[c,y]=v;else{if(null==v)return null;c=v}}var g=f(f({},d.itemStyle),{},{color:e.color||d.itemStyle.color},i);return n.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(r),style:g},(0,l.P2)(y)?n.createElement("span",{className:"recharts-tooltip-item-name"},y):null,(0,l.P2)(y)?n.createElement("span",{className:"recharts-tooltip-item-separator"},t):null,n.createElement("span",{className:"recharts-tooltip-item-value"},c),n.createElement("span",{className:"recharts-tooltip-item-unit"},e.unit||""))});return n.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},e)}return null})())},y="recharts-tooltip-wrapper",v={visibility:"hidden"};function g(e){var{allowEscapeViewBox:t,coordinate:r,key:n,offset:i,position:o,reverseDirection:a,tooltipDimension:u,viewBox:c,viewBoxDimension:s}=e;if(o&&(0,l.hj)(o[n]))return o[n];var f=r[n]-u-(i>0?i:0),h=r[n]+i;if(t[n])return a[n]?f:h;var d=c[n];return null==d?0:a[n]?fd+s?Math.max(f,d):Math.max(h,d)}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function b(e){for(var t=1;t0&&h.width>0&&o?function(e){var{translateX:t,translateY:r,useTranslate3d:n}=e;return{transform:n?"translate3d(".concat(t,"px, ").concat(r,"px, 0)"):"translate(".concat(t,"px, ").concat(r,"px)")}}({translateX:r=g({allowEscapeViewBox:i,coordinate:o,key:"x",offset:c,position:s,reverseDirection:f,tooltipDimension:h.width,viewBox:p,viewBoxDimension:p.width}),translateY:n=g({allowEscapeViewBox:i,coordinate:o,key:"y",offset:a,position:s,reverseDirection:f,tooltipDimension:h.height,viewBox:p,viewBoxDimension:p.height}),useTranslate3d:d}):v,cssClasses:function(e){var{coordinate:t,translateX:r,translateY:n}=e;return(0,u.W)(y,{["".concat(y,"-right")]:(0,l.hj)(r)&&t&&(0,l.hj)(t.x)&&r>=t.x,["".concat(y,"-left")]:(0,l.hj)(r)&&t&&(0,l.hj)(t.x)&&r=t.y,["".concat(y,"-top")]:(0,l.hj)(n)&&t&&(0,l.hj)(t.y)&&n{if("Escape"===e.key){var t,r,n,i;this.setState({dismissed:!0,dismissedAtCoordinate:{x:null!==(t=null===(r=this.props.coordinate)||void 0===r?void 0:r.x)&&void 0!==t?t:0,y:null!==(n=null===(i=this.props.coordinate)||void 0===i?void 0:i.y)&&void 0!==n?n:0}})}})}}var O=r(6841),P=r.n(O),j=r(5953),S=r(4847),_=r(1637),E=r(7165),A=r(3414),M=["x","y","top","left","width","height","className"];function k(){return(k=Object.assign?Object.assign.bind():function(e){for(var t=1;t"M".concat(e,",").concat(i,"v").concat(n,"M").concat(o,",").concat(t,"h").concat(r),D=e=>{var{x:t=0,y:r=0,top:i=0,left:o=0,width:a=0,height:c=0,className:s}=e,f=function(e){for(var t=1;t(0,L.C)(B.zv),Z=()=>{var e=K(),t=(0,L.C)($.WQ),r=(0,L.C)($.ri);return e&&r?(0,U.zT)(W(W({},e),{},{scale:r}),t):(0,U.zT)(void 0,t)},q=r(3683),H=r(1221),V=r(8002),X=r(3928);function Y(){return(Y=Object.assign?Object.assign.bind():function(e){for(var t=1;t{C((0,en.PD)({shared:E,trigger:A,axisId:T,active:l,defaultIndex:D}))},[C,E,A,T,l,D]);var N=(0,j.d2)(),I=(0,S.F)(),z=(0,eo.Y4)(E),{activeIndex:R,isActive:U}=null!==(o=(0,L.C)(e=>(0,q.oo)(e,z,A,D)))&&void 0!==o?o:{},B=(0,L.C)(e=>(0,q.TT)(e,z,A,D)),$=(0,L.C)(e=>(0,q.i)(e,z,A,D)),F=(0,L.C)(e=>(0,q.ck)(e,z,A,D)),W=(0,er.C)(),K=null!==(a=null!=l?l:U)&&void 0!==a&&a,[Z,H]=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],[t,r]=(0,n.useState)({height:0,left:0,top:0,width:0}),i=(0,n.useCallback)(e=>{if(null!=e){var n=e.getBoundingClientRect(),i={height:n.height,left:n.left,top:n.top,width:n.width};(Math.abs(i.height-t.height)>1||Math.abs(i.left-t.left)>1||Math.abs(i.top-t.top)>1||Math.abs(i.width-t.width)>1)&&r({height:i.height,left:i.left,top:i.top,width:i.width})}},[t.width,t.height,t.top,t.left,...e]);return[t,i]}([B,K]),V="axis"===z?$:void 0;(0,ei.Fg)(z,A,F,V,R,K);var X=null!=k?k:W;if(null==X||null==N||null==z)return null;var Y=null!=B?B:es;K||(Y=es),d&&Y.length&&(t=Y.filter(e=>null!=e.value&&(!0!==e.hide||u.includeHidden)),Y=!0===g?P()(t,ec):"function"==typeof g?P()(t,g):t);var G=Y.length>0,Q=n.createElement(x,{allowEscapeViewBox:c,animationDuration:s,animationEasing:f,isAnimationActive:y,active:K,coordinate:F,hasPayload:G,offset:v,position:m,reverseDirection:b,useTranslate3d:w,viewBox:N,wrapperStyle:O,lastBoundingBox:Z,innerRef:H,hasPortalFromProps:!!k},(r=el(el({},u),{},{payload:Y,label:V,active:K,activeIndex:R,coordinate:F,accessibilityLayer:I}),n.isValidElement(h)?n.cloneElement(h,r):"function"==typeof h?n.createElement(h,r):n.createElement(p,r)));return n.createElement(n.Fragment,null,(0,i.createPortal)(Q,X),K&&n.createElement(et,{cursor:_,tooltipEventType:z,coordinate:F,payload:Y,index:R}))}},8735:function(e,t,r){"use strict";r.d(t,{W:function(){return o}});var n=r(2265),i=(0,n.createContext)(null),o=()=>null!=(0,n.useContext)(i)},4847:function(e,t,r){"use strict";r.d(t,{F:function(){return i}});var n=r(9040),i=()=>{var e;return null===(e=(0,n.C)(e=>e.rootProps.accessibilityLayer))||void 0===e||e}},5953:function(e,t,r){"use strict";r.d(t,{Ir:function(){return O},KM:function(){return w},Mw:function(){return g},_M:function(){return h},d2:function(){return d},kz:function(){return x},rE:function(){return m},rh:function(){return y},vn:function(){return b},zn:function(){return v}});var n=r(2265),i=r(9040),o=r(5293),a=r(9729),u=r(152),l=r(8735),c=r(3358),s=r(3056),f=r(6395);function h(e){if(e)return{x:e.x,y:e.y,upperWidth:"upperWidth"in e?e.upperWidth:e.width,lowerWidth:"lowerWidth"in e?e.lowerWidth:e.width,width:e.width,height:e.height}}var d=()=>{var e,t=(0,l.W)(),r=(0,i.C)(a.nd),n=(0,i.C)(c.V),o=null===(e=(0,i.C)(c.F))||void 0===e?void 0:e.padding;return t&&n&&o?{width:n.width-o.left-o.right,height:n.height-o.top-o.bottom,x:o.left,y:o.top}:r},p={top:0,bottom:0,left:0,right:0,width:0,height:0,brushBottom:0},y=()=>{var e;return null!==(e=(0,i.C)(a.DX))&&void 0!==e?e:p},v=()=>(0,i.C)(u.RD),g=()=>(0,i.C)(u.d_),m=e=>e.layout.layoutType,b=()=>(0,i.C)(m),w=e=>{var t=e.layout.layoutType;if("centric"===t||"radial"===t)return t},x=()=>void 0!==b(),O=e=>{var t=(0,i.T)(),r=(0,l.W)(),{width:a,height:u}=e,c=(0,s.$)(),h=a,d=u;return c&&(h=c.width>0?c.width:a,d=c.height>0?c.height:u),(0,n.useEffect)(()=>{!r&&(0,f.r)(h)&&(0,f.r)(d)&&t((0,o.Dx)({width:h,height:d}))},[t,r,h,d]),null}},2321:function(e,t,r){"use strict";r.d(t,{C:function(){return o},E:function(){return i}});var n=r(2265),i=(0,n.createContext)(null),o=()=>(0,n.useContext)(i)},2572:function(e,t,r){"use strict";r.d(t,{by:function(){return rU},wo:function(){return rN}});var n,i,o,a,u,l,c,s,f,h=r(2265),d=r.t(h,2),p=r(5870),y=r.n(p),v=r(1994),g=r(2713),m=r(2932),b=r(9729),w=r(9037),x=r(9064),O=r(5953),P=r(304),j=r(6462),S=r(3968),_=r(7562),E=e=>e.graphicalItems.polarItems,A=(0,g.P1)([P.z,j.l],x.YZ),M=(0,g.P1)([E,x.fW,A],x.$B),k=(0,g.P1)([M],x.bU),T=(0,g.P1)([k,m.RV],x.tZ),C=(0,g.P1)([T,x.fW,M],x.UA);(0,g.P1)([T,x.fW,M],(e,t,r)=>r.length>0?e.flatMap(e=>r.flatMap(r=>{var n;return{value:(0,w.F$)(e,null!==(n=t.dataKey)&&void 0!==n?n:r.dataKey),errorDomain:[]}})).filter(Boolean):(null==t?void 0:t.dataKey)!=null?e.map(e=>({value:(0,w.F$)(e,t.dataKey),errorDomain:[]})):e.map(e=>({value:e,errorDomain:[]})));var D=()=>void 0,N=(0,g.P1)([T,x.fW,M,x.Qt,P.z],x.yN),I=(0,g.P1)([x.fW,x.KB,x.Z2,D,N,D,O.rE,P.z],x.E8),z=(0,g.P1)([x.fW,O.rE,T,C,S.Qw,P.z,I],x.l_),R=(0,g.P1)([z,x.en,x.cV],x.vb),L=(0,g.P1)([x.fW,z,R,P.z],x.kO);function U(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function B(e){for(var t=1;tt],(e,t)=>e.filter(e=>"pie"===e.type).find(e=>e.id===t)),F=[],W=(e,t,r)=>(null==r?void 0:r.length)===0?F:r,K=(0,g.P1)([m.RV,$,W],(e,t,r)=>{var n,{chartData:i}=e;if(null!=t&&((n=(null==t?void 0:t.data)!=null&&t.data.length>0?t.data:i)&&n.length||null==r||(n=r.map(e=>B(B({},t.presentationProps),e.props))),null!=n))return n}),Z=(0,g.P1)([K,$,W],(e,t,r)=>{if(null!=e&&null!=t)return e.map((e,n)=>{var i,o,a=(0,w.F$)(e,t.nameKey,t.name);return o=null!=r&&null!==(i=r[n])&&void 0!==i&&null!==(i=i.props)&&void 0!==i&&i.fill?r[n].props.fill:"object"==typeof e&&null!=e&&"fill"in e?e.fill:t.fill,{value:(0,w.hn)(a,t.dataKey),color:o,payload:e,type:t.legendType}})}),q=(0,g.P1)([K,$,W,b.DX],(e,t,r,n)=>{if(null!=t&&null!=e)return rN({offset:n,pieSettings:t,displayedData:e,cells:r})}),H=r(9040),V=r(3414),X=["children","className"];function Y(){return(Y=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var{children:r,className:n}=e,i=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=this.maxSize){var r=this.cache.keys().next().value;null!=r&&this.cache.delete(r)}this.cache.set(e,t)}clear(){this.cache.clear()}size(){return this.cache.size}constructor(e){var t,r,n;t="cache",r=new Map,(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?n:n+"")in this?Object.defineProperty(this,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):this[t]=r,this.maxSize=e}}function er(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var en=function(e){for(var t=1;t{try{var r=document.getElementById(ea);r||((r=document.createElement("span")).setAttribute("id",ea),r.setAttribute("aria-hidden","true"),document.body.appendChild(r)),Object.assign(r.style,eo,t),r.textContent="".concat(e);var n=r.getBoundingClientRect();return{width:n.width,height:n.height}}catch(e){return{width:0,height:0}}},el=function(e){var t,r,n,i,o,a,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==e||ee.x.isSsr)return{width:0,height:0};if(!en.enableCache)return eu(e,u);var l=(t=u.fontSize||"",r=u.fontFamily||"",n=u.fontWeight||"",i=u.fontStyle||"",o=u.letterSpacing||"",a=u.textTransform||"","".concat(e,"|").concat(t,"|").concat(r,"|").concat(n,"|").concat(i,"|").concat(o,"|").concat(a)),c=ei.get(l);if(c)return c;var s=eu(e,u);return ei.set(l,s),s},ec=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,es=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,ef=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,eh=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,ed={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},ep=["cm","mm","pt","pc","in","Q","px"];class ey{static parse(e){var t,[,r,n]=null!==(t=eh.exec(e))&&void 0!==t?t:[];return null==r?ey.NaN:new ey(parseFloat(r),null!=n?n:"")}add(e){return this.unit!==e.unit?new ey(NaN,""):new ey(this.num+e.num,this.unit)}subtract(e){return this.unit!==e.unit?new ey(NaN,""):new ey(this.num-e.num,this.unit)}multiply(e){return""!==this.unit&&""!==e.unit&&this.unit!==e.unit?new ey(NaN,""):new ey(this.num*e.num,this.unit||e.unit)}divide(e){return""!==this.unit&&""!==e.unit&&this.unit!==e.unit?new ey(NaN,""):new ey(this.num/e.num,this.unit||e.unit)}toString(){return"".concat(this.num).concat(this.unit)}isNaN(){return(0,J.In)(this.num)}constructor(e,t){this.num=e,this.unit=t,this.num=e,this.unit=t,(0,J.In)(e)&&(this.unit=""),""===t||ef.test(t)||(this.num=NaN,this.unit=""),ep.includes(t)&&(this.num=e*ed[t],this.unit="px")}}function ev(e){if(null==e||e.includes("NaN"))return"NaN";for(var t=e;t.includes("*")||t.includes("/");){var r,[,n,i,o]=null!==(r=ec.exec(t))&&void 0!==r?r:[],a=ey.parse(null!=n?n:""),u=ey.parse(null!=o?o:""),l="*"===i?a.multiply(u):a.divide(u);if(l.isNaN())return"NaN";t=t.replace(ec,l.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var c,[,s,f,h]=null!==(c=es.exec(t))&&void 0!==c?c:[],d=ey.parse(null!=s?s:""),p=ey.parse(null!=h?h:""),y="+"===f?d.add(p):d.subtract(p);if(y.isNaN())return"NaN";t=t.replace(es,y.toString())}return t}i="NaN",o=new ey(NaN,""),(i="symbol"==typeof(n=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"))?n:n+"")in ey?Object.defineProperty(ey,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):ey[i]=o;var eg=/\(([^()]*)\)/;function em(e){var t=function(e){try{var t;return t=e.replace(/\s+/g,""),t=function(e){for(var t,r=e;null!=(t=eg.exec(r));){var[,n]=t;r=r.replace(eg,ev(n))}return r}(t),t=ev(t)}catch(e){return"NaN"}}(e.slice(5,-1));return"NaN"===t?"":t}var eb=r(130),ew=r(6395),ex=["x","y","lineHeight","capHeight","fill","scaleToFit","textAnchor","verticalAnchor"],eO=["dx","dy","angle","className","breakAll"];function eP(){return(eP=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var{children:t,breakAll:r,style:n}=e;try{var i=[];(0,J.Rw)(t)||(i=r?t.toString().split(""):t.toString().split(eS));var o=i.map(e=>({word:e,width:el(e,n).width})),a=r?0:el("\xa0",n).width;return{wordsWithComputedWidth:o,spaceWidth:a}}catch(e){return null}},eE=(e,t,r,n)=>e.reduce((e,i)=>{var{word:o,width:a}=i,u=e[e.length-1];return u&&null!=a&&(null==t||n||u.width+a+re.reduce((e,t)=>e.width>t.width?e:t),eM=(e,t,r,n,i,o,a,u)=>{var l=e_({breakAll:r,style:n,children:e.slice(0,t)+"…"});if(!l)return[!1,[]];var c=eE(l.wordsWithComputedWidth,o,a,u);return[c.length>i||eA(c).width>Number(o),c]},ek=(e,t,r,n,i)=>{var o,{maxLines:a,children:u,style:l,breakAll:c}=e,s=(0,J.hj)(a),f=String(u),h=eE(t,n,r,i);if(!s||i||!(h.length>a||eA(h).width>Number(n)))return h;for(var d=0,p=f.length-1,y=0;d<=p&&y<=f.length-1;){var v=Math.floor((d+p)/2),[g,m]=eM(f,v-1,c,l,a,n,r,i),[b]=eM(f,v,c,l,a,n,r,i);if(g||b||(d=v+1),g&&b&&(p=v-1),!g&&b){o=m;break}y++}return o||h},eT=e=>[{words:(0,J.Rw)(e)?[]:e.toString().split(eS),width:void 0}],eC=e=>{var{width:t,scaleToFit:r,children:n,style:i,breakAll:o,maxLines:a}=e;if((t||r)&&!ee.x.isSsr){var u=e_({breakAll:o,children:n,style:i});if(!u)return eT(n);var{wordsWithComputedWidth:l,spaceWidth:c}=u;return ek({breakAll:o,children:n,maxLines:a,style:i},l,c,t,!!r)}return eT(n)},eD="#808080",eN={angle:0,breakAll:!1,capHeight:"0.71em",fill:eD,lineHeight:"1em",scaleToFit:!1,textAnchor:"start",verticalAnchor:"end",x:0,y:0},eI=(0,h.forwardRef)((e,t)=>{var r,n=(0,eb.j)(e,eN),{x:i,y:o,lineHeight:a,capHeight:u,fill:l,scaleToFit:c,textAnchor:s,verticalAnchor:f}=n,d=ej(n,ex),p=(0,h.useMemo)(()=>eC({breakAll:d.breakAll,children:d.children,maxLines:d.maxLines,scaleToFit:c,style:d.style,width:d.width}),[d.breakAll,d.children,d.maxLines,c,d.style,d.width]),{dx:y,dy:g,angle:m,className:b,breakAll:w}=d,x=ej(d,eO);if(!(0,J.P2)(i)||!(0,J.P2)(o)||0===p.length)return null;var O=Number(i)+((0,J.hj)(y)?y:0),P=Number(o)+((0,J.hj)(g)?g:0);if(!(0,ew.n)(O)||!(0,ew.n)(P))return null;switch(f){case"start":r=em("calc(".concat(u,")"));break;case"middle":r=em("calc(".concat((p.length-1)/2," * -").concat(a," + (").concat(u," / 2))"));break;default:r=em("calc(".concat(p.length-1," * -").concat(a,")"))}var j=[],S=p[0];if(c&&null!=S){var _=S.width,{width:E}=d;j.push("scale(".concat((0,J.hj)(E)&&(0,J.hj)(_)?E/_:1,")"))}return m&&j.push("rotate(".concat(m,", ").concat(O,", ").concat(P,")")),j.length&&(x.transform=j.join(" ")),h.createElement("text",eP({},(0,V.S)(x),{ref:t,x:O,y:P,className:(0,v.W)("recharts-text",b),textAnchor:s,fill:l.includes("url")?eD:l}),p.map((e,t)=>{var n=e.words.join(w?"":" ");return h.createElement("tspan",{x:O,dy:0===t?r:a,key:"".concat(n,"-").concat(t)},n)}))});eI.displayName="Text";var ez=r(407),eR=r(9679),eL=e=>"string"==typeof e?e:e?e.displayName||e.name||"Component":"",eU=null,eB=null,e$=e=>{if(e===eU&&Array.isArray(eB))return eB;var t=[];return h.Children.forEach(e,e=>{(0,J.Rw)(e)||((0,eR.M2)(e)?t=t.concat(e$(e.props.children)):t.push(e))}),eB=t,eU=e,t};function eF(e,t){var r=[],n=[];return n=Array.isArray(t)?t.map(e=>eL(e)):[eL(t)],e$(e).forEach(e=>{var t=y()(e,"type.displayName")||y()(e,"type.name");t&&-1!==n.indexOf(t)&&r.push(e)}),r}var eW=r(9206),eK=r(1637),eZ=r(6802),eq=r.n(eZ),eH=r(3649),eV=r(9775),eX=r(9087),eY=r(8266),eG=r(4385);function eQ(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eJ(e){for(var t=1;t{var o=r-n;return(0,eG.N)(a||(a=e1(["M ",",",""])),e,t)+(0,eG.N)(u||(u=e1(["L ",",",""])),e+r,t)+(0,eG.N)(l||(l=e1(["L ",",",""])),e+r-o/2,t+i)+(0,eG.N)(c||(c=e1(["L ",",",""])),e+r-o/2-n,t+i)+(0,eG.N)(s||(s=e1(["L ",","," Z"])),e,t)},e5={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},e3=e=>{var t=(0,eb.j)(e,e5),{x:r,y:n,upperWidth:i,lowerWidth:o,height:a,className:u}=t,{animationEasing:l,animationDuration:c,animationBegin:s,isUpdateAnimationActive:f}=t,d=(0,h.useRef)(null),[p,y]=(0,h.useState)(-1),g=(0,h.useRef)(i),m=(0,h.useRef)(o),b=(0,h.useRef)(a),w=(0,h.useRef)(r),x=(0,h.useRef)(n),O=(0,eX.i)(e,"trapezoid-");if((0,h.useEffect)(()=>{if(d.current&&d.current.getTotalLength)try{var e=d.current.getTotalLength();e&&y(e)}catch(e){}},[]),r!==+r||n!==+n||i!==+i||o!==+o||a!==+a||0===i&&0===o||0===a)return null;var P=(0,v.W)("recharts-trapezoid",u);if(!f)return h.createElement("g",null,h.createElement("path",e0({},(0,V.S)(t),{className:P,d:e2(r,n,i,o,a)})));var j=g.current,S=m.current,_=b.current,E=w.current,A=x.current,M="0px ".concat(-1===p?1:p,"px"),k="".concat(p,"px 0px"),T=(0,eY.cS)(["strokeDasharray"],c,l);return h.createElement(eV.H,{animationId:O,key:O,canBegin:p>0,duration:c,easing:l,isActive:f,begin:s},e=>{var u=(0,J.sX)(j,i,e),l=(0,J.sX)(S,o,e),c=(0,J.sX)(_,a,e),s=(0,J.sX)(E,r,e),f=(0,J.sX)(A,n,e);d.current&&(g.current=u,m.current=l,b.current=c,w.current=s,x.current=f);var p=e>0?{transition:T,strokeDasharray:k}:{strokeDasharray:M};return h.createElement("path",e0({},(0,V.S)(t),{className:P,d:e2(s,f,u,l,c),ref:d,style:eJ(eJ({},p),t.style)}))})},e6=r(474);let e4=Math.cos,e8=Math.sin,e7=Math.sqrt,e9=Math.PI,te=2*e9;var tt={draw(e,t){let r=e7(t/e9);e.moveTo(r,0),e.arc(0,0,r,0,te)}};let tr=e7(1/3),tn=2*tr,ti=e8(e9/10)/e8(7*e9/10),to=e8(te/10)*ti,ta=-e4(te/10)*ti,tu=e7(3),tl=e7(3)/2,tc=1/e7(12),ts=(tc/2+1)*3;var tf=r(6115),th=r(7790);e7(3),e7(3);var td=["type","size","sizeType"];function tp(){return(tp=Object.assign?Object.assign.bind():function(e){for(var t=1;ttg["symbol".concat((0,J.jC)(e))]||tt,tw=(e,t,r)=>{if("area"===t)return e;switch(r){case"cross":return 5*e*e/9;case"diamond":return .5*e*e/Math.sqrt(3);case"square":return e*e;case"star":var n=18*tm;return 1.25*e*e*(Math.tan(n)-Math.tan(2*n)*Math.tan(n)**2);case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}},tx=e=>{var{type:t="circle",size:r=64,sizeType:n="area"}=e,i=tv(tv({},function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n{var e=tb(o),t=(function(e,t){let r=null,n=(0,th.d)(i);function i(){let i;if(r||(r=i=n()),e.apply(this,arguments).draw(r,+t.apply(this,arguments)),i)return r=null,i+""||null}return e="function"==typeof e?e:(0,tf.Z)(e||tt),t="function"==typeof t?t:(0,tf.Z)(void 0===t?64:+t),i.type=function(t){return arguments.length?(e="function"==typeof t?t:(0,tf.Z)(t),i):e},i.size=function(e){return arguments.length?(t="function"==typeof e?e:(0,tf.Z)(+e),i):t},i.context=function(e){return arguments.length?(r=null==e?null:e,i):r},i})().type(e).size(tw(r,n,o))();if(null!==t)return t})()})):null};tx.registerSymbol=(e,t)=>{tg["symbol".concat((0,J.jC)(e))]=t};var tO=["option","shapeType","activeClassName"];function tP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function tj(e){for(var t=1;t{var n=(0,H.T)();return(i,o)=>a=>{null==e||e(i,o,a),n((0,tE.M1)({activeIndex:String(o),activeDataKey:t,activeCoordinate:i.tooltipPosition,activeGraphicalItemId:r}))}},tM=e=>{var t=(0,H.T)();return(r,n)=>i=>{null==e||e(r,n,i),t((0,tE.Vg)())}},tk=(e,t,r)=>{var n=(0,H.T)();return(i,o)=>a=>{null==e||e(i,o,a),n((0,tE.O_)({activeIndex:String(o),activeDataKey:t,activeCoordinate:i.tooltipPosition,activeGraphicalItemId:r}))}},tT=r(8735);function tC(e){var{tooltipEntrySettings:t}=e,r=(0,H.T)(),n=(0,tT.W)(),i=(0,h.useRef)(null);return(0,h.useLayoutEffect)(()=>{n||(null===i.current?r((0,tE.KO)(t)):i.current!==t&&r((0,tE.MC)({prev:i.current,next:t})),i.current=t)},[t,r,n]),(0,h.useLayoutEffect)(()=>()=>{i.current&&(r((0,tE.cK)(i.current)),i.current=null)},[r]),null}var tD=r(1944),tN=r(2738);function tI(e){var{legendPayload:t}=e,r=(0,H.T)(),n=(0,H.C)(O.rE),i=(0,h.useRef)(null);return(0,h.useLayoutEffect)(()=>{("centric"===n||"radial"===n)&&(null===i.current?r((0,tN.t8)(t)):i.current!==t&&r((0,tN.vN)({prev:i.current,next:t})),i.current=t)},[r,n,t]),(0,h.useLayoutEffect)(()=>()=>{i.current&&(r((0,tN.ZR)(i.current)),i.current=null)},[r]),null}var tz=r(8487),tR=null!==(f=d["useId".toString()])&&void 0!==f?f:()=>{var[e]=h.useState(()=>(0,J.EL)("uid-"));return e},tL=(0,h.createContext)(void 0),tU=e=>{var t,r,{id:n,type:i,children:o}=e,a=(t="recharts-".concat(i),r=tR(),n||(t?"".concat(t,"-").concat(r):r));return h.createElement(tL.Provider,{value:a},o(a))},tB=r(9579);function t$(e){var t=(0,H.T)();return(0,h.useLayoutEffect)(()=>(t((0,tB.Wz)(e)),()=>{t((0,tB.ot)(e))}),[t,e]),null}var tF=r(1221),tW=r(7618),tK=r.n(tW),tZ=r(5995),tq=r(8002),tH=r(3928);function tV(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function tX(e){for(var t=1;t{var{viewBox:t,position:r,offset:n=0,parentViewBox:i,clamp:o}=e,{x:a,y:u,height:l,upperWidth:c,lowerWidth:s}=(0,O._M)(t),f=a+(c-s)/2,h=(a+f)/2,d=(c+s)/2,p=l>=0?1:-1,y=p*n,v=p>0?"end":"start",g=p>0?"start":"end",m=c>=0?1:-1,b=m*n,w=m>0?"end":"start",x=m>0?"start":"end";if("top"===r){var P={x:a+c/2,y:u-y,horizontalAnchor:"middle",verticalAnchor:v};return o&&i&&(P.height=Math.max(u-i.y,0),P.width=c),P}if("bottom"===r){var j={x:f+s/2,y:u+l+y,horizontalAnchor:"middle",verticalAnchor:g};return o&&i&&(j.height=Math.max(i.y+i.height-(u+l),0),j.width=s),j}if("left"===r){var S={x:h-b,y:u+l/2,horizontalAnchor:w,verticalAnchor:"middle"};return o&&i&&(S.width=Math.max(S.x-i.x,0),S.height=l),S}if("right"===r){var _={x:h+d+b,y:u+l/2,horizontalAnchor:x,verticalAnchor:"middle"};return o&&i&&(_.width=Math.max(i.x+i.width-_.x,0),_.height=l),_}var E=o&&i?{width:d,height:l}:{};return"insideLeft"===r?tX({x:h+b,y:u+l/2,horizontalAnchor:x,verticalAnchor:"middle"},E):"insideRight"===r?tX({x:h+d-b,y:u+l/2,horizontalAnchor:w,verticalAnchor:"middle"},E):"insideTop"===r?tX({x:a+c/2,y:u+y,horizontalAnchor:"middle",verticalAnchor:g},E):"insideBottom"===r?tX({x:f+s/2,y:u+l-y,horizontalAnchor:"middle",verticalAnchor:v},E):"insideTopLeft"===r?tX({x:a+b,y:u+y,horizontalAnchor:x,verticalAnchor:g},E):"insideTopRight"===r?tX({x:a+c-b,y:u+y,horizontalAnchor:w,verticalAnchor:g},E):"insideBottomLeft"===r?tX({x:f+b,y:u+l-y,horizontalAnchor:x,verticalAnchor:v},E):"insideBottomRight"===r?tX({x:f+s-b,y:u+l-y,horizontalAnchor:w,verticalAnchor:v},E):r&&"object"==typeof r&&((0,J.hj)(r.x)||(0,J.hU)(r.x))&&((0,J.hj)(r.y)||(0,J.hU)(r.y))?tX({x:a+(0,J.h1)(r.x,d),y:u+(0,J.h1)(r.y,l),horizontalAnchor:"end",verticalAnchor:"end"},E):tX({x:a+c/2,y:u+l/2,horizontalAnchor:"middle",verticalAnchor:"middle"},E)},tG=["labelRef"],tQ=["content"];function tJ(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n{var e=(0,h.useContext)(t5),t=(0,O.d2)();return e||(t?(0,O._M)(t):void 0)},t6=(0,h.createContext)(null),t4=()=>{var e=(0,h.useContext)(t6),t=(0,H.C)(tZ.HW);return e||t},t8=e=>{var{value:t,formatter:r}=e,n=(0,J.Rw)(e.children)?t:e.children;return"function"==typeof r?r(n):n},t7=e=>null!=e&&"function"==typeof e,t9=(e,t)=>(0,J.uY)(t-e)*Math.min(Math.abs(t-e),360),re=(e,t,r,n,i)=>{var o,a,{offset:u,className:l}=e,{cx:c,cy:s,innerRadius:f,outerRadius:d,startAngle:p,endAngle:y,clockWise:g}=i,m=(f+d)/2,b=t9(p,y),w=b>=0?1:-1;switch(t){case"insideStart":o=p+w*u,a=g;break;case"insideEnd":o=y-w*u,a=!g;break;case"end":o=y+w*u,a=g;break;default:throw Error("Unsupported position ".concat(t))}a=b<=0?a:!a;var x=(0,eW.op)(c,s,m,o),O=(0,eW.op)(c,s,m,o+(a?1:-1)*359),P="M".concat(x.x,",").concat(x.y,"\n A").concat(m,",").concat(m,",0,1,").concat(a?0:1,",\n ").concat(O.x,",").concat(O.y),j=(0,J.Rw)(e.id)?(0,J.EL)("recharts-radial-line-"):e.id;return h.createElement("text",t2({},n,{dominantBaseline:"central",className:(0,v.W)("recharts-radial-bar-label",l)}),h.createElement("defs",null,h.createElement("path",{id:j,d:P})),h.createElement("textPath",{xlinkHref:"#".concat(j)},r))},rt=(e,t,r)=>{var{cx:n,cy:i,innerRadius:o,outerRadius:a,startAngle:u,endAngle:l}=e,c=(u+l)/2;if("outside"===r){var{x:s,y:f}=(0,eW.op)(n,i,a+t,c);return{x:s,y:f,textAnchor:s>=n?"start":"end",verticalAnchor:"middle"}}if("center"===r)return{x:n,y:i,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===r)return{x:n,y:i,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===r)return{x:n,y:i,textAnchor:"middle",verticalAnchor:"end"};var{x:h,y:d}=(0,eW.op)(n,i,(o+a)/2,c);return{x:h,y:d,textAnchor:"middle",verticalAnchor:"middle"}},rr=e=>null!=e&&"cx"in e&&(0,J.hj)(e.cx),rn={angle:0,offset:5,zIndex:tH.N.label,position:"middle",textBreakAll:!1};function ri(e){var t,r,n,i,o=(0,eb.j)(e,rn),{viewBox:a,parentViewBox:u,position:l,value:c,children:s,content:f,className:d="",textBreakAll:p,labelRef:y}=o,g=t4(),m=t3(),b=function(e){if(!rr(e))return e;var{cx:t,cy:r,outerRadius:n}=e,i=2*n;return{x:t-n,y:r-n,width:i,upperWidth:i,lowerWidth:i,height:i}}(r=null==a?"center"===l?m:null!=g?g:m:rr(a)?a:(0,O._M)(a));if(!r||(0,J.Rw)(c)&&(0,J.Rw)(s)&&!(0,h.isValidElement)(f)&&"function"!=typeof f)return null;var w=t1(t1({},o),{},{viewBox:r});if((0,h.isValidElement)(f)){var{labelRef:x}=w,P=tJ(w,tG);return(0,h.cloneElement)(f,P)}if("function"==typeof f){var{content:j}=w,S=tJ(w,tQ);if(n=(0,h.createElement)(f,S),(0,h.isValidElement)(n))return n}else n=t8(o);var _=(0,V.S)(o);if(rr(r)){if("insideStart"===l||"insideEnd"===l||"end"===l)return re(o,l,n,_,r);i=rt(r,o.offset,o.position)}else{if(!b)return null;var E=tY({viewBox:b,position:l,offset:o.offset,parentViewBox:rr(u)?void 0:u,clamp:!0});i=t1(t1({x:E.x,y:E.y,textAnchor:E.horizontalAnchor,verticalAnchor:E.verticalAnchor},void 0!==E.width?{width:E.width}:{}),void 0!==E.height?{height:E.height}:{})}return h.createElement(tq.$,{zIndex:o.zIndex},h.createElement(eI,t2({ref:y,className:(0,v.W)("recharts-label",d)},_,i,{textAnchor:"start"===(t=_.textAnchor)||"middle"===t||"end"===t||"inherit"===t?_.textAnchor:i.textAnchor,breakAll:p}),n))}ri.displayName="Label";var ro=["valueAccessor"],ra=["dataKey","clockWise","id","textBreakAll","zIndex"];function ru(){return(ru=Object.assign?Object.assign.bind():function(e){for(var t=1;tArray.isArray(e.value)?tK()(e.value):e.value,rs=(0,h.createContext)(void 0);rs.Provider;var rf=(0,h.createContext)(void 0),rh=rf.Provider;function rd(e){var{valueAccessor:t=rc}=e,r=rl(e,ro),{dataKey:n,clockWise:i,id:o,textBreakAll:a,zIndex:u}=r,l=rl(r,ra),c=(0,h.useContext)(rs),s=(0,h.useContext)(rf),f=c||s;return f&&f.length?h.createElement(tq.$,{zIndex:null!=u?u:tH.N.label},h.createElement(G,{className:"recharts-label-list"},f.map((e,i)=>{var u,c=(0,J.Rw)(n)?t(e,i):(0,w.F$)(e.payload,n),s=(0,J.Rw)(o)?{}:{id:"".concat(o,"-").concat(i)};return h.createElement(ri,ru({key:"label-".concat(i)},(0,V.S)(e),l,s,{fill:null!==(u=r.fill)&&void 0!==u?u:e.fill,parentViewBox:e.parentViewBox,value:c,textBreakAll:a,viewBox:e.viewBox,index:i,zIndex:0}))}))):null}function rp(e){var{label:t}=e;return t?!0===t?h.createElement(rd,{key:"labelList-implicit"}):h.isValidElement(t)||t7(t)?h.createElement(rd,{key:"labelList-implicit",content:t}):"object"==typeof t?h.createElement(rd,ru({key:"labelList-implicit"},t,{type:String(t.type)})):null:null}rd.displayName="LabelList";var ry=["key"],rv=["onMouseEnter","onClick","onMouseLeave"],rg=["id"],rm=["id"];function rb(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function rw(e){for(var t=1;teF(e.children,ez.b),[e.children]),r=(0,H.C)(r=>Z(r,e.id,t));return null==r?null:h.createElement(tI,{legendPayload:r})}var rj=h.memo(e=>{var{dataKey:t,nameKey:r,sectors:n,stroke:i,strokeWidth:o,fill:a,name:u,hide:l,tooltipType:c,id:s}=e,f={dataDefinedOnItem:n.map(e=>e.tooltipPayload),getPosition:e=>{var t;return null===(t=n[Number(e)])||void 0===t?void 0:t.tooltipPosition},settings:{stroke:i,strokeWidth:o,fill:a,dataKey:t,nameKey:r,name:(0,w.hn)(u,t),hide:l,type:c,color:a,unit:"",graphicalItemId:s}};return h.createElement(tC,{tooltipEntrySettings:f})}),rS=(e,t)=>e>t?"start":e"function"==typeof t?(0,J.h1)(t(e),r,.8*r):(0,J.h1)(t,r,.8*r),rE=(e,t,r)=>{var{top:n,left:i,width:o,height:a}=t,u=(0,eW.$4)(o,a),l=i+(0,J.h1)(e.cx,o,o/2),c=n+(0,J.h1)(e.cy,a,a/2);return{cx:l,cy:c,innerRadius:(0,J.h1)(e.innerRadius,u,0),outerRadius:r_(r,e.outerRadius,u),maxRadius:e.maxRadius||Math.sqrt(o*o+a*a)/2}},rA=(e,t)=>(0,J.uY)(t-e)*Math.min(Math.abs(t-e),360),rM=(e,t)=>{if(h.isValidElement(e))return h.cloneElement(e,t);if("function"==typeof e)return e(t);var r=(0,v.W)("recharts-pie-label-line","boolean"!=typeof e?e.className:""),{key:n}=t,i=rO(t,ry);return h.createElement(Q.Hy,rx({},i,{type:"linear",className:r}))},rk=(e,t,r)=>{if(h.isValidElement(e))return h.cloneElement(e,t);var n=r;if("function"==typeof e&&(n=e(t),h.isValidElement(n)))return n;var i=(0,v.W)("recharts-pie-label-text",e&&"object"==typeof e&&"className"in e&&"string"==typeof e.className?e.className:"");return h.createElement(eI,rx({},t,{alignmentBaseline:"middle",className:i}),n)};function rT(e){var{sectors:t,props:r,showLabels:n}=e,{label:i,labelLine:o,dataKey:a}=r;if(!n||!i||!t)return null;var u=(0,tF.qq)(r),l=(0,tF.qM)(i),c=(0,tF.qM)(o),s="object"==typeof i&&"offsetRadius"in i&&"number"==typeof i.offsetRadius&&i.offsetRadius||20,f=t.map((e,t)=>{var r=(e.startAngle+e.endAngle)/2,n=(0,eW.op)(e.cx,e.cy,e.outerRadius+s,r),f=rw(rw(rw(rw({},u),e),{},{stroke:"none"},l),{},{index:t,textAnchor:rS(n.x,e.cx)},n),d=rw(rw(rw(rw({},u),e),{},{fill:"none",stroke:e.fill},c),{},{index:t,points:[(0,eW.op)(e.cx,e.cy,e.outerRadius,r),n],key:"line"});return h.createElement(tq.$,{zIndex:tH.N.label,key:"label-".concat(e.startAngle,"-").concat(e.endAngle,"-").concat(e.midAngle,"-").concat(t)},h.createElement(G,null,o&&rM(o,d),rk(i,f,(0,w.F$)(e,a))))});return h.createElement(G,{className:"recharts-pie-labels"},f)}function rC(e){var{sectors:t,props:r,showLabels:n}=e,{label:i}=r;return"object"==typeof i&&null!=i&&"position"in i?h.createElement(rp,{label:i}):h.createElement(rT,{sectors:t,props:r,showLabels:n})}function rD(e){var{sectors:t,activeShape:r,inactiveShape:n,allOtherPieProps:i,shape:o,id:a}=e,u=(0,H.C)(tD.Ve),l=(0,H.C)(tD.du),c=(0,H.C)(tD.d8),{onMouseEnter:s,onClick:f,onMouseLeave:d}=i,p=rO(i,rv),y=tA(s,i.dataKey,a),v=tM(d),g=tk(f,i.dataKey,a);return null==t||0===t.length?null:h.createElement(h.Fragment,null,t.map((e,s)=>{if((null==e?void 0:e.startAngle)===0&&(null==e?void 0:e.endAngle)===0&&1!==t.length)return null;var f=null==c||c===a,d=String(s)===u&&(null==l||i.dataKey===l)&&f,m=r&&d?r:u?n:null,b=rw(rw({},e),{},{stroke:e.stroke,tabIndex:-1,[tz.Gh]:s,[tz.jX]:a});return h.createElement(G,rx({key:"sector-".concat(null==e?void 0:e.startAngle,"-").concat(null==e?void 0:e.endAngle,"-").concat(e.midAngle,"-").concat(s),tabIndex:-1,className:"recharts-pie-sector"},(0,eK.bw)(p,e,s),{onMouseEnter:y(e,s),onMouseLeave:v(e,s),onClick:g(e,s)}),h.createElement(t_,rx({option:null!=o?o:m,index:s,shapeType:"sector",isActive:d},b)))}))}function rN(e){var t,r,n,{pieSettings:i,displayedData:o,cells:a,offset:u}=e,{cornerRadius:l,startAngle:c,endAngle:s,dataKey:f,nameKey:h,tooltipType:d}=i,p=Math.abs(i.minAngle),y=rA(c,s),v=Math.abs(y),g=o.length<=1?0:null!==(t=i.paddingAngle)&&void 0!==t?t:0,m=o.filter(e=>0!==(0,w.F$)(e,f,0)).length,b=v-m*p-(v>=360?m:m-1)*g,x=o.reduce((e,t)=>{var r=(0,w.F$)(t,f,0);return e+((0,J.hj)(r)?r:0)},0);return x>0&&(r=o.map((e,t)=>{var r,o=(0,w.F$)(e,f,0),s=(0,w.F$)(e,h,t),v=rE(i,u,e),m=((0,J.hj)(o)?o:0)/x,O=rw(rw({},e),a&&a[t]&&a[t].props),P=(r=t?n.endAngle+(0,J.uY)(y)*g*(0!==o?1:0):c)+(0,J.uY)(y)*((0!==o?p:0)+m*b),j=(r+P)/2,S=(v.innerRadius+v.outerRadius)/2,_=[{name:s,value:o,payload:O,dataKey:f,type:d,graphicalItemId:i.id}],E=(0,eW.op)(v.cx,v.cy,S,j);return n=rw(rw(rw(rw({},i.presentationProps),{},{percent:m,cornerRadius:"string"==typeof l?parseFloat(l):l,name:s,tooltipPayload:_,midAngle:j,middleRadius:S,tooltipPosition:E},O),v),{},{value:o,dataKey:f,startAngle:r,endAngle:P,payload:O,paddingAngle:(0,J.uY)(y)*g})})),r}function rI(e){var{showLabels:t,sectors:r,children:n}=e,i=(0,h.useMemo)(()=>t&&r?r.map(e=>({value:e.value,payload:e.payload,clockWise:!1,parentViewBox:void 0,viewBox:{cx:e.cx,cy:e.cy,innerRadius:e.innerRadius,outerRadius:e.outerRadius,startAngle:e.startAngle,endAngle:e.endAngle,clockWise:!1},fill:e.fill})):[],[r,t]);return h.createElement(rh,{value:t?i:void 0},n)}function rz(e){var{props:t,previousSectorsRef:r,id:n}=e,{sectors:i,isAnimationActive:o,animationBegin:a,animationDuration:u,animationEasing:l,activeShape:c,inactiveShape:s,onAnimationStart:f,onAnimationEnd:d}=t,p=(0,eX.i)(t,"recharts-pie-"),v=r.current,[g,m]=(0,h.useState)(!1),b=(0,h.useCallback)(()=>{"function"==typeof d&&d(),m(!1)},[d]),w=(0,h.useCallback)(()=>{"function"==typeof f&&f(),m(!0)},[f]);return h.createElement(rI,{showLabels:!g,sectors:i},h.createElement(eV.H,{animationId:p,begin:a,duration:u,isActive:o,easing:l,onAnimationStart:w,onAnimationEnd:b,key:p},e=>{var o,a=[],u=i&&i[0],l=null!==(o=null==u?void 0:u.startAngle)&&void 0!==o?o:0;return null==i||i.forEach((t,r)=>{var n=v&&v[r],i=r>0?y()(t,"paddingAngle",0):0;if(n){var o=(0,J.sX)(n.endAngle-n.startAngle,t.endAngle-t.startAngle,e),u=rw(rw({},t),{},{startAngle:l+i,endAngle:l+o+i});a.push(u),l=u.endAngle}else{var{endAngle:c,startAngle:s}=t,f=(0,J.sX)(0,c-s,e),h=rw(rw({},t),{},{startAngle:l+i,endAngle:l+f+i});a.push(h),l=h.endAngle}}),r.current=a,h.createElement(G,null,h.createElement(rD,{sectors:a,activeShape:c,inactiveShape:s,allOtherPieProps:t,shape:t.shape,id:n}))}),h.createElement(rC,{showLabels:!g,sectors:i,props:t}),t.children)}var rR={animationBegin:400,animationDuration:1500,animationEasing:"ease",cx:"50%",cy:"50%",dataKey:"value",endAngle:360,fill:"#808080",hide:!1,innerRadius:0,isAnimationActive:"auto",label:!1,labelLine:!0,legendType:"rect",minAngle:0,nameKey:"name",outerRadius:"80%",paddingAngle:0,rootTabIndex:0,startAngle:0,stroke:"#fff",zIndex:tH.N.area};function rL(e){var{id:t}=e,r=rO(e,rg),{hide:n,className:i,rootTabIndex:o}=e,a=(0,h.useMemo)(()=>eF(e.children,ez.b),[e.children]),u=(0,H.C)(e=>q(e,t,a)),l=(0,h.useRef)(null),c=(0,v.W)("recharts-pie",i);return n||null==u?(l.current=null,h.createElement(G,{tabIndex:o,className:c})):h.createElement(tq.$,{zIndex:e.zIndex},h.createElement(rj,{dataKey:e.dataKey,nameKey:e.nameKey,sectors:u,stroke:e.stroke,strokeWidth:e.strokeWidth,fill:e.fill,name:e.name,hide:e.hide,tooltipType:e.tooltipType,id:t}),h.createElement(G,{tabIndex:o,className:c},h.createElement(rz,{props:rw(rw({},r),{},{sectors:u}),previousSectorsRef:l,id:t})))}function rU(e){var t=(0,eb.j)(e,rR),{id:r}=t,n=rO(t,rm),i=(0,tF.qq)(n);return h.createElement(tU,{id:r,type:"pie"},e=>h.createElement(h.Fragment,null,h.createElement(t$,{type:"pie",id:e,data:n.data,dataKey:n.dataKey,hide:n.hide,angleAxisId:0,radiusAxisId:0,name:n.name,nameKey:n.nameKey,tooltipType:n.tooltipType,legendType:n.legendType,fill:n.fill,cx:n.cx,cy:n.cy,startAngle:n.startAngle,endAngle:n.endAngle,paddingAngle:n.paddingAngle,minAngle:n.minAngle,innerRadius:n.innerRadius,outerRadius:n.outerRadius,cornerRadius:n.cornerRadius,presentationProps:i,maxRadius:t.maxRadius}),h.createElement(rP,rx({},n,{id:e})),h.createElement(rL,rx({},n,{id:e}))))}rU.displayName="Pie"},7165:function(e,t,r){"use strict";r.d(t,{Hy:function(){return Z}});var n=r(2265);function i(){}function o(e,t,r){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+r)/6)}function a(e){this._context=e}function u(e){this._context=e}function l(e){this._context=e}a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:o(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:o(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},u.prototype={areaStart:i,areaEnd:i,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:o(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},l.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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+e)/6,n=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:o(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};class c{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t)}this._x0=e,this._y0=t}}function s(e){this._context=e}function f(e){this._context=e}function h(e){return new f(e)}function d(e,t,r){var n=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(n||i<0&&-0),a=(r-e._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 p(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function y(e,t,r){var n=e._x0,i=e._y0,o=e._x1,a=e._y1,u=(o-n)/3;e._context.bezierCurveTo(n+u,i+u*t,o-u,a-u*r,o,a)}function v(e){this._context=e}function g(e){this._context=new m(e)}function m(e){this._context=e}function b(e){this._context=e}function w(e){var t,r,n=e.length-1,i=Array(n),o=Array(n),a=Array(n);for(i[0]=0,o[0]=2,a[0]=e[0]+2*e[1],t=1;t=0;--t)i[t]=(a[t]-i[t+1])/o[t];for(t=0,o[n-1]=(e[n]+i[n-1])/2;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var r=this._x*(1-this._t)+e*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,t)}}this._x=e,this._y=t}};var O=r(2516),P=r(6115),j=r(7790);function S(e){return e[0]}function _(e){return e[1]}function E(e,t){var r=(0,P.Z)(!0),n=null,i=h,o=null,a=(0,j.d)(u);function u(u){var l,c,s,f=(u=(0,O.Z)(u)).length,h=!1;for(null==n&&(o=i(s=a())),l=0;l<=f;++l)!(l=f;--h)u.point(g[h],m[h]);u.lineEnd(),u.areaEnd()}}v&&(g[s]=+e(d,s,c),m[s]=+t(d,s,c),u.point(n?+n(d,s,c):g[s],r?+r(d,s,c):m[s]))}if(p)return u=null,p+""||null}function s(){return E().defined(i).curve(a).context(o)}return e="function"==typeof e?e:void 0===e?S:(0,P.Z)(+e),t="function"==typeof t?t:void 0===t?(0,P.Z)(0):(0,P.Z)(+t),r="function"==typeof r?r:void 0===r?_:(0,P.Z)(+r),c.x=function(t){return arguments.length?(e="function"==typeof t?t:(0,P.Z)(+t),n=null,c):e},c.x0=function(t){return arguments.length?(e="function"==typeof t?t:(0,P.Z)(+t),c):e},c.x1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:(0,P.Z)(+e),c):n},c.y=function(e){return arguments.length?(t="function"==typeof e?e:(0,P.Z)(+e),r=null,c):t},c.y0=function(e){return arguments.length?(t="function"==typeof e?e:(0,P.Z)(+e),c):t},c.y1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:(0,P.Z)(+e),c):r},c.lineX0=c.lineY0=function(){return s().x(e).y(t)},c.lineY1=function(){return s().x(e).y(r)},c.lineX1=function(){return s().x(n).y(t)},c.defined=function(e){return arguments.length?(i="function"==typeof e?e:(0,P.Z)(!!e),c):i},c.curve=function(e){return arguments.length?(a=e,null!=o&&(u=a(o)),c):a},c.context=function(e){return arguments.length?(null==e?o=u=null:u=a(o=e),c):o},c}var M=r(1994),k=r(1637),T=r(6630),C=r(6395),D=r(1221),N=r(5953);function I(){return(I=Object.assign?Object.assign.bind():function(e){for(var t=1;t(0,C.n)(e.x)&&(0,C.n)(e.y),B=e=>null!=e.base&&U(e.base)&&U(e),$=e=>e.x,F=e=>e.y,W=(e,t)=>{if("function"==typeof e)return e;var r="curve".concat((0,T.jC)(e));if(("curveMonotone"===r||"curveBump"===r)&&t){var n=L["".concat(r).concat("vertical"===t?"Y":"X")];if(n)return n}return L[r]||h},K=e=>{var{type:t="linear",points:r=[],baseLine:n,layout:i,connectNulls:o=!1}=e,a=W(t,i),u=o?r.filter(U):r;if(Array.isArray(n)){var l=r.map((e,t)=>R(R({},e),{},{base:n[t]}));return("vertical"===i?A().y(F).x1($).x0(e=>e.base.x):A().x($).y1(F).y0(e=>e.base.y)).defined(B).curve(a)(o?l.filter(B):l)}return("vertical"===i&&(0,T.hj)(n)?A().y(F).x1($).x0(n):(0,T.hj)(n)?A().x($).y1(F).y0(n):E().x($).y(F)).defined(U).curve(a)(u)},Z=e=>{var{className:t,points:r,path:i,pathRef:o}=e,a=(0,N.vn)();if((!r||!r.length)&&!i)return null;var u={type:e.type,points:e.points,baseLine:e.baseLine,layout:e.layout||a,connectNulls:e.connectNulls},l=r&&r.length?K(u):i;return n.createElement("path",I({},(0,D.qq)(e),(0,k.Ym)(e),{className:(0,M.W)("recharts-curve",t),d:null===l?void 0:l,ref:o}))}},3649:function(e,t,r){"use strict";r.d(t,{A:function(){return T}});var n,i,o,a,u,l,c,s,f,h,d=r(2265),p=r(1994),y=r(130),v=r(9775),g=r(6630),m=r(9087),b=r(8266),w=r(3414),x=r(4385),O=["radius"],P=["radius"];function j(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function S(e){for(var t=1;t{var y=(0,x.E)(r),v=(0,x.E)(d),g=Math.min(Math.abs(y)/2,Math.abs(v)/2),m=v>=0?1:-1,b=y>=0?1:-1,w=v>=0&&y>=0||v<0&&y<0?1:0;if(g>0&&Array.isArray(p)){for(var O=[0,0,0,0],P=0;P<4;P++){var j,S,_=null!==(S=p[P])&&void 0!==S?S:0;O[P]=_>g?g:_}j=(0,x.N)(n||(n=A(["M",",",""])),e,t+m*O[0]),O[0]>0&&(j+=(0,x.N)(i||(i=A(["A ",",",",0,0,",",",",",""])),O[0],O[0],w,e+b*O[0],t)),j+=(0,x.N)(o||(o=A(["L ",",",""])),e+r-b*O[1],t),O[1]>0&&(j+=(0,x.N)(a||(a=A(["A ",",",",0,0,",",\n ",",",""])),O[1],O[1],w,e+r,t+m*O[1])),j+=(0,x.N)(u||(u=A(["L ",",",""])),e+r,t+d-m*O[2]),O[2]>0&&(j+=(0,x.N)(l||(l=A(["A ",",",",0,0,",",\n ",",",""])),O[2],O[2],w,e+r-b*O[2],t+d)),j+=(0,x.N)(c||(c=A(["L ",",",""])),e+b*O[3],t+d),O[3]>0&&(j+=(0,x.N)(s||(s=A(["A ",",",",0,0,",",\n ",",",""])),O[3],O[3],w,e,t+d-m*O[3])),j+="Z"}else if(g>0&&p===+p&&p>0){var E=Math.min(g,p);j=(0,x.N)(f||(f=A(["M ",",","\n A ",",",",0,0,",",",",","\n L ",",","\n A ",",",",0,0,",",",",","\n L ",",","\n A ",",",",0,0,",",",",","\n L ",",","\n A ",",",",0,0,",",",","," Z"])),e,t+m*E,E,E,w,e+b*E,t,e+r-b*E,t,E,E,w,e+r,t+m*E,e+r,t+d-m*E,E,E,w,e+r-b*E,t+d,e+b*E,t+d,E,E,w,e,t+d-m*E)}else j=(0,x.N)(h||(h=A(["M ",","," h "," v "," h "," Z"])),e,t,r,d,-r);return j},k={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},T=e=>{var t=(0,y.j)(e,k),r=(0,d.useRef)(null),[n,i]=(0,d.useState)(-1);(0,d.useEffect)(()=>{if(r.current&&r.current.getTotalLength)try{var e=r.current.getTotalLength();e&&i(e)}catch(e){}},[]);var{x:o,y:a,width:u,height:l,radius:c,className:s}=t,{animationEasing:f,animationDuration:h,animationBegin:j,isAnimationActive:A,isUpdateAnimationActive:T}=t,C=(0,d.useRef)(u),D=(0,d.useRef)(l),N=(0,d.useRef)(o),I=(0,d.useRef)(a),z=(0,d.useMemo)(()=>({x:o,y:a,width:u,height:l,radius:c}),[o,a,u,l,c]),R=(0,m.i)(z,"rectangle-");if(o!==+o||a!==+a||u!==+u||l!==+l||0===u||0===l)return null;var L=(0,p.W)("recharts-rectangle",s);if(!T){var U=(0,w.S)(t),{radius:B}=U,$=E(U,O);return d.createElement("path",_({},$,{x:(0,x.E)(o),y:(0,x.E)(a),width:(0,x.E)(u),height:(0,x.E)(l),radius:"number"==typeof c?c:void 0,className:L,d:M(o,a,u,l,c)}))}var F=C.current,W=D.current,K=N.current,Z=I.current,q="0px ".concat(-1===n?1:n,"px"),H="".concat(n,"px 0px"),V=(0,b.cS)(["strokeDasharray"],h,"string"==typeof f?f:k.animationEasing);return d.createElement(v.H,{animationId:R,key:R,canBegin:n>0,duration:h,easing:f,isActive:T,begin:j},e=>{var n,i=(0,g.sX)(F,u,e),s=(0,g.sX)(W,l,e),f=(0,g.sX)(K,o,e),h=(0,g.sX)(Z,a,e);r.current&&(C.current=i,D.current=s,N.current=f,I.current=h),n=A?e>0?{transition:V,strokeDasharray:H}:{strokeDasharray:q}:{strokeDasharray:H};var p=(0,w.S)(t),{radius:y}=p,v=E(p,P);return d.createElement("path",_({},v,{radius:"number"==typeof c?c:void 0,className:L,d:M(f,h,i,s,c),ref:r,style:S(S({},n),t.style)}))})}},474:function(e,t,r){"use strict";r.d(t,{L:function(){return j}});var n,i,o,a,u,l,c,s=r(2265),f=r(1994),h=r(9206),d=r(6630),p=r(130),y=r(3414),v=r(4385);function g(){return(g=Object.assign?Object.assign.bind():function(e){for(var t=1;t(0,d.uY)(t-e)*Math.min(Math.abs(t-e),359.999),w=e=>{var{cx:t,cy:r,radius:n,angle:i,sign:o,isExternal:a,cornerRadius:u,cornerIsExternal:l}=e,c=u*(a?1:-1)+n,s=Math.asin(u/c)/h.Wk,f=l?i:i+o*s;return{center:(0,h.op)(t,r,c,f),circleTangency:(0,h.op)(t,r,n,f),lineTangency:(0,h.op)(t,r,c*Math.cos(s*h.Wk),l?i-o*s:i),theta:s}},x=e=>{var{cx:t,cy:r,innerRadius:a,outerRadius:u,startAngle:l,endAngle:c}=e,s=b(l,c),f=l+s,d=(0,h.op)(t,r,u,l),p=(0,h.op)(t,r,u,f),y=(0,v.N)(n||(n=m(["M ",",","\n A ",",",",0,\n ",",",",\n ",",","\n "])),d.x,d.y,u,u,+(Math.abs(s)>180),+(l>f),p.x,p.y);if(a>0){var g=(0,h.op)(t,r,a,l),w=(0,h.op)(t,r,a,f);y+=(0,v.N)(i||(i=m(["L ",",","\n A ",",",",0,\n ",",",",\n ",","," Z"])),w.x,w.y,a,a,+(Math.abs(s)>180),+(l<=f),g.x,g.y)}else y+=(0,v.N)(o||(o=m(["L ",","," Z"])),t,r);return y},O=e=>{var{cx:t,cy:r,innerRadius:n,outerRadius:i,cornerRadius:o,forceCornerRadius:s,cornerIsExternal:f,startAngle:h,endAngle:p}=e,y=(0,d.uY)(p-h),{circleTangency:g,lineTangency:b,theta:O}=w({cx:t,cy:r,radius:i,angle:h,sign:y,cornerRadius:o,cornerIsExternal:f}),{circleTangency:P,lineTangency:j,theta:S}=w({cx:t,cy:r,radius:i,angle:p,sign:-y,cornerRadius:o,cornerIsExternal:f}),_=f?Math.abs(h-p):Math.abs(h-p)-O-S;if(_<0)return s?(0,v.N)(a||(a=m(["M ",",","\n a",",",",0,0,1,",",0\n a",",",",0,0,1,",",0\n "])),b.x,b.y,o,o,2*o,o,o,-(2*o)):x({cx:t,cy:r,innerRadius:n,outerRadius:i,startAngle:h,endAngle:p});var E=(0,v.N)(u||(u=m(["M ",",","\n A",",",",0,0,",",",",","\n A",",",",0,",",",",",",","\n A",",",",0,0,",",",",","\n "])),b.x,b.y,o,o,+(y<0),g.x,g.y,i,i,+(_>180),+(y<0),P.x,P.y,o,o,+(y<0),j.x,j.y);if(n>0){var{circleTangency:A,lineTangency:M,theta:k}=w({cx:t,cy:r,radius:n,angle:h,sign:y,isExternal:!0,cornerRadius:o,cornerIsExternal:f}),{circleTangency:T,lineTangency:C,theta:D}=w({cx:t,cy:r,radius:n,angle:p,sign:-y,isExternal:!0,cornerRadius:o,cornerIsExternal:f}),N=f?Math.abs(h-p):Math.abs(h-p)-k-D;if(N<0&&0===o)return"".concat(E,"L").concat(t,",").concat(r,"Z");E+=(0,v.N)(l||(l=m(["L",",","\n A",",",",0,0,",",",",","\n A",",",",0,",",",",",",","\n A",",",",0,0,",",",",","Z"])),C.x,C.y,o,o,+(y<0),T.x,T.y,n,n,+(N>180),+(y>0),A.x,A.y,o,o,+(y<0),M.x,M.y)}else E+=(0,v.N)(c||(c=m(["L",",","Z"])),t,r);return E},P={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},j=e=>{var t,r=(0,p.j)(e,P),{cx:n,cy:i,innerRadius:o,outerRadius:a,cornerRadius:u,forceCornerRadius:l,cornerIsExternal:c,startAngle:h,endAngle:v,className:m}=r;if(a0&&360>Math.abs(h-v)?O({cx:n,cy:i,innerRadius:o,outerRadius:a,cornerRadius:Math.min(j,w/2),forceCornerRadius:l,cornerIsExternal:c,startAngle:h,endAngle:v}):x({cx:n,cy:i,innerRadius:o,outerRadius:a,startAngle:h,endAngle:v}),s.createElement("path",g({},(0,y.S)(r),{className:b,d:t}))}},209:function(e,t,r){"use strict";r.d(t,{l:function(){return n}});var n=(0,r(2265).createContext)(null)},9173:function(e,t,r){"use strict";r.d(t,{Q2:function(){return c},t0:function(){return u},zR:function(){return a}});var n=r(9129),i=r(418),o=(0,n.oM)({name:"chartData",initialState:{chartData:void 0,computedData:void 0,dataStartIndex:0,dataEndIndex:0},reducers:{setChartData(e,t){if(e.chartData=(0,i.cA)(t.payload),null==t.payload){e.dataStartIndex=0,e.dataEndIndex=0;return}t.payload.length>0&&e.dataEndIndex!==t.payload.length-1&&(e.dataEndIndex=t.payload.length-1)},setComputedData(e,t){e.computedData=t.payload},setDataStartEndIndexes(e,t){var{startIndex:r,endIndex:n}=t.payload;null!=r&&(e.dataStartIndex=r),null!=n&&(e.dataEndIndex=n)}}}),{setChartData:a,setDataStartEndIndexes:u,setComputedData:l}=o.actions,c=o.reducer},9579:function(e,t,r){"use strict";r.d(t,{Wz:function(){return s},iX:function(){return h},ot:function(){return f}});var n=r(9129),i=r(9234),o=r(418),a=(0,n.oM)({name:"graphicalItems",initialState:{cartesianItems:[],polarItems:[]},reducers:{addCartesianGraphicalItem:{reducer(e,t){e.cartesianItems.push((0,o.cA)(t.payload))},prepare:(0,n.cw)()},replaceCartesianGraphicalItem:{reducer(e,t){var{prev:r,next:n}=t.payload,a=(0,i.Vk)(e).cartesianItems.indexOf((0,o.cA)(r));a>-1&&(e.cartesianItems[a]=(0,o.cA)(n))},prepare:(0,n.cw)()},removeCartesianGraphicalItem:{reducer(e,t){var r=(0,i.Vk)(e).cartesianItems.indexOf((0,o.cA)(t.payload));r>-1&&e.cartesianItems.splice(r,1)},prepare:(0,n.cw)()},addPolarGraphicalItem:{reducer(e,t){e.polarItems.push((0,o.cA)(t.payload))},prepare:(0,n.cw)()},removePolarGraphicalItem:{reducer(e,t){var r=(0,i.Vk)(e).polarItems.indexOf((0,o.cA)(t.payload));r>-1&&e.polarItems.splice(r,1)},prepare:(0,n.cw)()}}}),{addCartesianGraphicalItem:u,replaceCartesianGraphicalItem:l,removeCartesianGraphicalItem:c,addPolarGraphicalItem:s,removePolarGraphicalItem:f}=a.actions,h=a.reducer},9040:function(e,t,r){"use strict";r.d(t,{C:function(){return f},T:function(){return u}});var n=r(5195),i=r(2265),o=r(209),a=e=>e,u=()=>{var e=(0,i.useContext)(o.l);return e?e.store.dispatch:a},l=()=>{},c=()=>l,s=(e,t)=>e===t;function f(e){var t=(0,i.useContext)(o.l),r=(0,i.useMemo)(()=>t?t=>{if(null!=t)return e(t)}:l,[t,e]);return(0,n.useSyncExternalStoreWithSelector)(t?t.subscription.addNestedSub:c,t?t.store.getState:l,t?t.store.getState:l,r,s)}},5293:function(e,t,r){"use strict";r.d(t,{Dx:function(){return a},EW:function(){return l},Qb:function(){return i},ZP:function(){return u},jx:function(){return o}});var n=(0,r(9129).oM)({name:"chartLayout",initialState:{layoutType:"horizontal",width:0,height:0,margin:{top:5,right:5,bottom:5,left:5},scale:1},reducers:{setLayout(e,t){e.layoutType=t.payload},setChartSize(e,t){e.width=t.payload.width,e.height=t.payload.height},setMargin(e,t){var r,n,i,o;e.margin.top=null!==(r=t.payload.top)&&void 0!==r?r:0,e.margin.right=null!==(n=t.payload.right)&&void 0!==n?n:0,e.margin.bottom=null!==(i=t.payload.bottom)&&void 0!==i?i:0,e.margin.left=null!==(o=t.payload.left)&&void 0!==o?o:0},setScale(e,t){e.scale=t.payload}}}),{setMargin:i,setLayout:o,setChartSize:a,setScale:u}=n.actions,l=n.reducer},2738:function(e,t,r){"use strict";r.d(t,{Ny:function(){return h},ZR:function(){return f},t8:function(){return c},vN:function(){return s}});var n=r(9129),i=r(9234),o=r(418),a=(0,n.oM)({name:"legend",initialState:{settings:{layout:"horizontal",align:"center",verticalAlign:"middle",itemSorter:"value"},size:{width:0,height:0},payload:[]},reducers:{setLegendSize(e,t){e.size.width=t.payload.width,e.size.height=t.payload.height},setLegendSettings(e,t){e.settings.align=t.payload.align,e.settings.layout=t.payload.layout,e.settings.verticalAlign=t.payload.verticalAlign,e.settings.itemSorter=t.payload.itemSorter},addLegendPayload:{reducer(e,t){e.payload.push((0,o.cA)(t.payload))},prepare:(0,n.cw)()},replaceLegendPayload:{reducer(e,t){var{prev:r,next:n}=t.payload,a=(0,i.Vk)(e).payload.indexOf((0,o.cA)(r));a>-1&&(e.payload[a]=(0,o.cA)(n))},prepare:(0,n.cw)()},removeLegendPayload:{reducer(e,t){var r=(0,i.Vk)(e).payload.indexOf((0,o.cA)(t.payload));r>-1&&e.payload.splice(r,1)},prepare:(0,n.cw)()}}}),{setLegendSize:u,setLegendSettings:l,addLegendPayload:c,replaceLegendPayload:s,removeLegendPayload:f}=a.actions,h=a.reducer},1057:function(e,t,r){"use strict";r.d(t,{IC:function(){return l},NL:function(){return o},wB:function(){return u}});var n=r(9129),i=r(6630),o=(e,t)=>{if(t&&Array.isArray(e)){var r=Number.parseInt(t,10);if(!(0,i.In)(r))return e[r]}},a=(0,n.oM)({name:"options",initialState:{chartName:"",tooltipPayloadSearcher:()=>void 0,eventEmitter:void 0,defaultTooltipEventType:"axis"},reducers:{createEventEmitter:e=>{null==e.eventEmitter&&(e.eventEmitter=Symbol("rechartsEventEmitter"))}}}),u=a.reducer,{createEventEmitter:l}=a.actions},3699:function(e,t,r){"use strict";function n(e,t){return!!(Array.isArray(e)&&Array.isArray(t))&&0===e.length&&0===t.length||e===t}function i(e,t){if(e.length===t.length){for(var r=0;reT(t,e()).base(t.base()),p.apply(t,arguments),t}},scaleOrdinal:function(){return w},scalePoint:function(){return O},scalePow:function(){return e8},scaleQuantile:function(){return function e(){var t,r=[],n=[],i=[];function o(){var e=0,t=Math.max(1,n.length);for(i=Array(t-1);++e=1)return+r(e[n-1],n-1,e);var n,i=(n-1)*t,o=Math.floor(i),a=+r(e[o],o,e);return a+(+r(e[o+1],o+1,e)-a)*(i-o)}}(r,e/t);return a}function a(e){return null==e||isNaN(e=+e)?t:n[z(i,e)]}return a.invertExtent=function(e){var t=n.indexOf(e);return t<0?[NaN,NaN]:[t>0?i[t-1]:r[0],t=i?[o[i-1],n]:[o[t-1],o[t]]},u.unknown=function(e){return arguments.length&&(t=e),u},u.thresholds=function(){return o.slice()},u.copy=function(){return e().domain([r,n]).range(a).unknown(t)},p.apply(eZ(u),arguments)}},scaleRadial:function(){return function e(){var t,r=eD(),n=[0,1],i=!1;function o(e){var n,o=Math.sign(n=r(e))*Math.sqrt(Math.abs(n));return isNaN(o)?t:i?Math.round(o):o}return o.invert=function(e){return r.invert(e9(e))},o.domain=function(e){return arguments.length?(r.domain(e),o):r.domain()},o.range=function(e){return arguments.length?(r.range((n=Array.from(e,eS)).map(e9)),o):n.slice()},o.rangeRound=function(e){return o.range(e).round(!0)},o.round=function(e){return arguments.length?(i=!!e,o):i},o.clamp=function(e){return arguments.length?(r.clamp(e),o):r.clamp()},o.unknown=function(e){return arguments.length?(t=e,o):t},o.copy=function(){return e(r.domain(),n).round(i).clamp(r.clamp()).unknown(t)},p.apply(o,arguments),eZ(o)}},scaleSequential:function(){return function e(){var t=eZ(r2()(eE));return t.copy=function(){return r5(t,e())},y.apply(t,arguments)}},scaleSequentialLog:function(){return function e(){var t=eJ(r2()).domain([1,10]);return t.copy=function(){return r5(t,e()).base(t.base())},y.apply(t,arguments)}},scaleSequentialPow:function(){return r3},scaleSequentialQuantile:function(){return function e(){var t=[],r=eE;function n(e){if(null!=e&&!isNaN(e=+e))return r((z(t,e,1)-1)/(t.length-1))}return n.domain=function(e){if(!arguments.length)return t.slice();for(let r of(t=[],e))null==r||isNaN(r=+r)||t.push(r);return t.sort(k),n},n.interpolator=function(e){return arguments.length?(r=e,n):r},n.range=function(){return t.map((e,n)=>r(n/(t.length-1)))},n.quantiles=function(e){return Array.from({length:e+1},(r,n)=>(function(e,t,r){if(!(!(n=(e=Float64Array.from(function*(e,t){if(void 0===t)for(let t of e)null!=t&&(t=+t)>=t&&(yield t);else{let r=-1;for(let n of e)null!=(n=t(n,++r,e))&&(n=+n)>=n&&(yield n)}}(e,void 0))).length)||isNaN(t=+t))){if(t<=0||n<2)return tt(e);if(t>=1)return te(e);var n,i=(n-1)*t,o=Math.floor(i),a=te((function e(t,r,n=0,i=1/0,o){if(r=Math.floor(r),n=Math.floor(Math.max(0,n)),i=Math.floor(Math.min(t.length-1,i)),!(n<=r&&r<=i))return t;for(o=void 0===o?tr:function(e=k){if(e===k)return tr;if("function"!=typeof e)throw TypeError("compare is not a function");return(t,r)=>{let n=e(t,r);return n||0===n?n:(0===e(r,r))-(0===e(t,t))}}(o);i>n;){if(i-n>600){let a=i-n+1,u=r-n+1,l=Math.log(a),c=.5*Math.exp(2*l/3),s=.5*Math.sqrt(l*c*(a-c)/a)*(u-a/2<0?-1:1),f=Math.max(n,Math.floor(r-u*c/a+s)),h=Math.min(i,Math.floor(r+(a-u)*c/a+s));e(t,r,f,h,o)}let a=t[r],u=n,l=i;for(tn(t,n,r),o(t[i],a)>0&&tn(t,n,i);uo(t[u],a);)++u;for(;o(t[l],a)>0;)--l}0===o(t[n],a)?tn(t,n,l):tn(t,++l,i),l<=r&&(n=l+1),r<=l&&(i=l-1)}return t})(e,o).subarray(0,o+1));return a+(tt(e.subarray(o+1))-a)*(i-o)}})(t,n/e))},n.copy=function(){return e(r).domain(t)},y.apply(n,arguments)}},scaleSequentialSqrt:function(){return r6},scaleSequentialSymlog:function(){return function e(){var t=e2(r2());return t.copy=function(){return r5(t,e()).constant(t.constant())},y.apply(t,arguments)}},scaleSqrt:function(){return e7},scaleSymlog:function(){return function e(){var t=e2(eC());return t.copy=function(){return eT(t,e()).constant(t.constant())},p.apply(t,arguments)}},scaleThreshold:function(){return function e(){var t,r=[.5],n=[0,1],i=1;function o(e){return null!=e&&e<=e?n[z(r,e,0,i)]:t}return o.domain=function(e){return arguments.length?(i=Math.min((r=Array.from(e)).length,n.length-1),o):r.slice()},o.range=function(e){return arguments.length?(n=Array.from(e),i=Math.min(r.length,n.length-1),o):n.slice()},o.invertExtent=function(e){var t=n.indexOf(e);return[r[t-1],r[t]]},o.unknown=function(e){return arguments.length?(t=e,o):t},o.copy=function(){return e().domain(r).range(n).unknown(t)},p.apply(o,arguments)}},scaleTime:function(){return r0},scaleUtc:function(){return r1},tickFormat:function(){return eK}});var f=r(2713),h=r(1664),d=r.n(h);function p(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function y(e,t){switch(arguments.length){case 0:break;case 1:"function"==typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"==typeof t?this.interpolator(t):this.range(t)}return this}class v extends Map{constructor(e,t=m){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(let[t,r]of e)this.set(t,r)}get(e){return super.get(g(this,e))}has(e){return super.has(g(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},r){let n=t(r);return e.has(n)?e.get(n):(e.set(n,r),r)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},r){let n=t(r);return e.has(n)&&(r=e.get(n),e.delete(n)),r}(this,e))}}function g({_intern:e,_key:t},r){let n=t(r);return e.has(n)?e.get(n):r}function m(e){return null!==e&&"object"==typeof e?e.valueOf():e}let b=Symbol("implicit");function w(){var e=new v,t=[],r=[],n=b;function i(i){let o=e.get(i);if(void 0===o){if(n!==b)return n;e.set(i,o=t.push(i)-1)}return r[o%r.length]}return i.domain=function(r){if(!arguments.length)return t.slice();for(let n of(t=[],e=new v,r))e.has(n)||e.set(n,t.push(n)-1);return i},i.range=function(e){return arguments.length?(r=Array.from(e),i):r.slice()},i.unknown=function(e){return arguments.length?(n=e,i):n},i.copy=function(){return w(t,r).unknown(n)},p.apply(i,arguments),i}function x(){var e,t,r=w().unknown(void 0),n=r.domain,i=r.range,o=0,a=1,u=!1,l=0,c=0,s=.5;function f(){var r=n().length,f=a=P?10:l>=j?5:l>=S?2:1;return(u<0?(n=Math.round(e*(o=Math.pow(10,-u)/c)),i=Math.round(t*o),n/ot&&--i,o=-o):(n=Math.round(e/(o=Math.pow(10,u)*c)),i=Math.round(t/o),n*ot&&--i),i0))return[];if(e===t)return[e];let n=t=i))return[];let u=o-i+1,l=Array(u);if(n){if(a<0)for(let e=0;et?1:e>=t?0:NaN}function T(e,t){return null==e||null==t?NaN:te?1:t>=e?0:NaN}function C(e){let t,r,n;function i(e,n,i=0,o=e.length){if(i>>1;0>r(e[t],n)?i=t+1:o=t}while(ik(e(t),r),n=(t,r)=>e(t)-r):(t=e===k||e===T?e:D,r=e,n=e),{left:i,center:function(e,t,r=0,o=e.length){let a=i(e,t,r,o-1);return a>r&&n(e[a-1],t)>-n(e[a],t)?a-1:a},right:function(e,n,i=0,o=e.length){if(i>>1;0>=r(e[t],n)?i=t+1:o=t}while(i>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?et(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?et(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=K.exec(e))?new en(t[1],t[2],t[3],1):(t=Z.exec(e))?new en(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=q.exec(e))?et(t[1],t[2],t[3],t[4]):(t=H.exec(e))?et(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=V.exec(e))?ec(t[1],t[2]/100,t[3]/100,1):(t=X.exec(e))?ec(t[1],t[2]/100,t[3]/100,t[4]):Y.hasOwnProperty(e)?ee(Y[e]):"transparent"===e?new en(NaN,NaN,NaN,0):null}function ee(e){return new en(e>>16&255,e>>8&255,255&e,1)}function et(e,t,r,n){return n<=0&&(e=t=r=NaN),new en(e,t,r,n)}function er(e,t,r,n){var i;return 1==arguments.length?((i=e)instanceof U||(i=J(i)),i)?new en((i=i.rgb()).r,i.g,i.b,i.opacity):new en:new en(e,t,r,null==n?1:n)}function en(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function ei(){return`#${el(this.r)}${el(this.g)}${el(this.b)}`}function eo(){let e=ea(this.opacity);return`${1===e?"rgb(":"rgba("}${eu(this.r)}, ${eu(this.g)}, ${eu(this.b)}${1===e?")":`, ${e})`}`}function ea(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function eu(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function el(e){return((e=eu(e))<16?"0":"")+e.toString(16)}function ec(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new ef(e,t,r,n)}function es(e){if(e instanceof ef)return new ef(e.h,e.s,e.l,e.opacity);if(e instanceof U||(e=J(e)),!e)return new ef;if(e instanceof ef)return e;var t=(e=e.rgb()).r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),o=Math.max(t,r,n),a=NaN,u=o-i,l=(o+i)/2;return u?(a=t===o?(r-n)/u+(r0&&l<1?0:a,new ef(a,u,l,e.opacity)}function ef(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function eh(e){return(e=(e||0)%360)<0?e+360:e}function ed(e){return Math.max(0,Math.min(1,e||0))}function ep(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}function ey(e,t,r,n,i){var o=e*e,a=o*e;return((1-3*e+3*o-a)*t+(4-6*o+3*a)*r+(1+3*e+3*o-3*a)*n+a*i)/6}R(U,J,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:G,formatHex:G,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return es(this).formatHsl()},formatRgb:Q,toString:Q}),R(en,er,L(U,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new en(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new en(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new en(eu(this.r),eu(this.g),eu(this.b),ea(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:ei,formatHex:ei,formatHex8:function(){return`#${el(this.r)}${el(this.g)}${el(this.b)}${el((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:eo,toString:eo})),R(ef,function(e,t,r,n){return 1==arguments.length?es(e):new ef(e,t,r,null==n?1:n)},L(U,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new ef(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new ef(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,i=2*r-n;return new en(ep(e>=240?e-240:e+120,i,n),ep(e,i,n),ep(e<120?e+240:e-120,i,n),this.opacity)},clamp(){return new ef(eh(this.h),ed(this.s),ed(this.l),ea(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=ea(this.opacity);return`${1===e?"hsl(":"hsla("}${eh(this.h)}, ${100*ed(this.s)}%, ${100*ed(this.l)}%${1===e?")":`, ${e})`}`}}));var ev=e=>()=>e;function eg(e,t){var r=t-e;return r?function(t){return e+t*r}:ev(isNaN(e)?t:e)}var em=function e(t){var r,n=1==(r=+(r=t))?eg:function(e,t){var n,i,o;return t-e?(n=e,i=t,n=Math.pow(n,o=r),i=Math.pow(i,o)-n,o=1/o,function(e){return Math.pow(n+e*i,o)}):ev(isNaN(e)?t:e)};function i(e,t){var r=n((e=er(e)).r,(t=er(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),a=eg(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=o(t),e.opacity=a(t),e+""}}return i.gamma=e,i}(1);function eb(e){return function(t){var r,n,i=t.length,o=Array(i),a=Array(i),u=Array(i);for(r=0;r=1?(r=1,t-1):Math.floor(r*t),i=e[n],o=e[n+1],a=n>0?e[n-1]:2*i-o,u=nu&&(a=t.slice(u,a),c[l]?c[l]+=a:c[++l]=a),(i=i[0])===(o=o[0])?c[l]?c[l]+=o:c[++l]=o:(c[++l]=null,s.push({i:l,x:ew(i,o)})),u=eO.lastIndex;return ut&&(r=e,e=t,t=r),c=function(r){return Math.max(e,Math.min(t,r))}),n=l>2?ek:eM,i=o=null,f}function f(t){return null==t||isNaN(t=+t)?r:(i||(i=n(a.map(e),u,l)))(e(c(t)))}return f.invert=function(r){return c(t((o||(o=n(u,a.map(e),ew)))(r)))},f.domain=function(e){return arguments.length?(a=Array.from(e,eS),s()):a.slice()},f.range=function(e){return arguments.length?(u=Array.from(e),s()):u.slice()},f.rangeRound=function(e){return u=Array.from(e),l=ej,s()},f.clamp=function(e){return arguments.length?(c=!!e||eE,s()):c!==eE},f.interpolate=function(e){return arguments.length?(l=e,s()):l},f.unknown=function(e){return arguments.length?(r=e,f):r},function(r,n){return e=r,t=n,s()}}function eD(){return eC()(eE,eE)}var eN=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function eI(e){var t;if(!(t=eN.exec(e)))throw Error("invalid format: "+e);return new ez({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function ez(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function eR(e,t){if(!isFinite(e)||0===e)return null;var r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"),n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}function eL(e){return(e=eR(Math.abs(e)))?e[1]:NaN}function eU(e,t){var r=eR(e,t);if(!r)return e+"";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")}eI.prototype=ez.prototype,ez.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};var eB={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>eU(100*e,t),r:eU,s:function(e,t){var r=eR(e,t);if(!r)return n=void 0,e.toPrecision(t);var i=r[0],o=r[1],a=o-(n=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")+eR(e,Math.max(0,t+a-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function e$(e){return e}var eF=Array.prototype.map,eW=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function eK(e,t,r,n){var i,u,l=M(e,t,r);switch((n=eI(null==n?",f":n)).type){case"s":var c=Math.max(Math.abs(e),Math.abs(t));return null!=n.precision||isNaN(u=Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(eL(c)/3)))-eL(Math.abs(l))))||(n.precision=u),a(n,c);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(u=Math.max(0,eL(Math.abs(Math.max(Math.abs(e),Math.abs(t)))-(i=Math.abs(i=l)))-eL(i))+1)||(n.precision=u-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(u=Math.max(0,-eL(Math.abs(l))))||(n.precision=u-("%"===n.type)*2)}return o(n)}function eZ(e){var t=e.domain;return e.ticks=function(e){var r=t();return E(r[0],r[r.length-1],null==e?10:e)},e.tickFormat=function(e,r){var n=t();return eK(n[0],n[n.length-1],null==e?10:e,r)},e.nice=function(r){null==r&&(r=10);var n,i,o=t(),a=0,u=o.length-1,l=o[a],c=o[u],s=10;for(c0;){if((i=A(l,c,r))===n)return o[a]=l,o[u]=c,t(o);if(i>0)l=Math.floor(l/i)*i,c=Math.ceil(c/i)*i;else if(i<0)l=Math.ceil(l*i)/i,c=Math.floor(c*i)/i;else break;n=i}return e},e}function eq(e,t){e=e.slice();var r,n=0,i=e.length-1,o=e[n],a=e[i];return a-e(-t,r)}function eJ(e){let t,r;let n=e(eH,eV),i=n.domain,a=10;function u(){var o,u;return t=(o=a)===Math.E?Math.log:10===o&&Math.log10||2===o&&Math.log2||(o=Math.log(o),e=>Math.log(e)/o),r=10===(u=a)?eG:u===Math.E?Math.exp:e=>Math.pow(u,e),i()[0]<0?(t=eQ(t),r=eQ(r),e(eX,eY)):e(eH,eV),n}return n.base=function(e){return arguments.length?(a=+e,u()):a},n.domain=function(e){return arguments.length?(i(e),u()):i()},n.ticks=e=>{let n,o;let u=i(),l=u[0],c=u[u.length-1],s=c0){for(;f<=h;++f)for(n=1;nc)break;p.push(o)}}else for(;f<=h;++f)for(n=a-1;n>=1;--n)if(!((o=f>0?n/r(-f):n*r(f))c)break;p.push(o)}2*p.length{if(null==e&&(e=10),null==i&&(i=10===a?"s":","),"function"!=typeof i&&(a%1||null!=(i=eI(i)).precision||(i.trim=!0),i=o(i)),e===1/0)return i;let u=Math.max(1,a*e/n.ticks().length);return e=>{let n=e/r(Math.round(t(e)));return n*ai(eq(i(),{floor:e=>r(Math.floor(t(e))),ceil:e=>r(Math.ceil(t(e)))})),n}function e0(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function e1(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function e2(e){var t=1,r=e(e0(1),e1(t));return r.constant=function(r){return arguments.length?e(e0(t=+r),e1(t)):t},eZ(r)}function e5(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function e3(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function e6(e){return e<0?-e*e:e*e}function e4(e){var t=e(eE,eE),r=1;return t.exponent=function(t){return arguments.length?1==(r=+t)?e(eE,eE):.5===r?e(e3,e6):e(e5(r),e5(1/r)):r},eZ(t)}function e8(){var e=e4(eC());return e.copy=function(){return eT(e,e8()).exponent(e.exponent())},p.apply(e,arguments),e}function e7(){return e8.apply(null,arguments).exponent(.5)}function e9(e){return Math.sign(e)*e*e}function te(e,t){let r;if(void 0===t)for(let t of e)null!=t&&(r=t)&&(r=t);else{let n=-1;for(let i of e)null!=(i=t(i,++n,e))&&(r=i)&&(r=i)}return r}function tt(e,t){let r;if(void 0===t)for(let t of e)null!=t&&(r>t||void 0===r&&t>=t)&&(r=t);else{let n=-1;for(let i of e)null!=(i=t(i,++n,e))&&(r>i||void 0===r&&i>=i)&&(r=i)}return r}function tr(e,t){return(null==e||!(e>=e))-(null==t||!(t>=t))||(et?1:0)}function tn(e,t,r){let n=e[t];e[t]=e[r],e[r]=n}o=(i=function(e){var t,r,i,o=void 0===e.grouping||void 0===e.thousands?e$:(t=eF.call(e.grouping,Number),r=e.thousands+"",function(e,n){for(var i=e.length,o=[],a=0,u=t[0],l=0;i>0&&u>0&&(l+u+1>n&&(u=Math.max(1,n-l)),o.push(e.substring(i-=u,i+u)),!((l+=u+1)>n));)u=t[a=(a+1)%t.length];return o.reverse().join(r)}),a=void 0===e.currency?"":e.currency[0]+"",u=void 0===e.currency?"":e.currency[1]+"",l=void 0===e.decimal?".":e.decimal+"",c=void 0===e.numerals?e$:(i=eF.call(e.numerals,String),function(e){return e.replace(/[0-9]/g,function(e){return i[+e]})}),s=void 0===e.percent?"%":e.percent+"",f=void 0===e.minus?"−":e.minus+"",h=void 0===e.nan?"NaN":e.nan+"";function d(e,t){var r=(e=eI(e)).fill,i=e.align,d=e.sign,p=e.symbol,y=e.zero,v=e.width,g=e.comma,m=e.precision,b=e.trim,w=e.type;"n"===w?(g=!0,w="g"):eB[w]||(void 0===m&&(m=12),b=!0,w="g"),(y||"0"===r&&"="===i)&&(y=!0,r="0",i="=");var x=(t&&void 0!==t.prefix?t.prefix:"")+("$"===p?a:"#"===p&&/[boxX]/.test(w)?"0"+w.toLowerCase():""),O=("$"===p?u:/[%p]/.test(w)?s:"")+(t&&void 0!==t.suffix?t.suffix:""),P=eB[w],j=/[defgprs%]/.test(w);function S(e){var t,a,u,s=x,p=O;if("c"===w)p=P(e)+p,e="";else{var S=(e=+e)<0||1/e<0;if(e=isNaN(e)?h:P(Math.abs(e),m),b&&(e=function(e){e:for(var t,r=e.length,n=1,i=-1;n0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),S&&0==+e&&"+"!==d&&(S=!1),s=(S?"("===d?d:f:"-"===d||"("===d?"":d)+s,p=("s"!==w||isNaN(e)||void 0===n?"":eW[8+n/3])+p+(S&&"("===d?")":""),j){for(t=-1,a=e.length;++t(u=e.charCodeAt(t))||u>57){p=(46===u?l+e.slice(t+1):e.slice(t))+p,e=e.slice(0,t);break}}}g&&!y&&(e=o(e,1/0));var _=s.length+e.length+p.length,E=_>1)+s+e+p+E.slice(_);break;default:e=E+s+e+p}return c(e)}return m=void 0===m?6:/[gprs]/.test(w)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),S.toString=function(){return e+""},S}return{format:d,formatPrefix:function(e,t){var r=3*Math.max(-8,Math.min(8,Math.floor(eL(t)/3))),n=Math.pow(10,-r),i=d(((e=eI(e)).type="f",e),{suffix:eW[8+r/3]});return function(e){return i(n*e)}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,a=i.formatPrefix;let ti=new Date,to=new Date;function ta(e,t,r,n){function i(t){return e(t=0==arguments.length?new Date:new Date(+t)),t}return i.floor=t=>(e(t=new Date(+t)),t),i.ceil=r=>(e(r=new Date(r-1)),t(r,1),e(r),r),i.round=e=>{let t=i(e),r=i.ceil(e);return e-t(t(e=new Date(+e),null==r?1:Math.floor(r)),e),i.range=(r,n,o)=>{let a;let u=[];if(r=i.ceil(r),o=null==o?1:Math.floor(o),!(r0))return u;do u.push(a=new Date(+r)),t(r,o),e(r);while(ata(t=>{if(t>=t)for(;e(t),!r(t);)t.setTime(t-1)},(e,n)=>{if(e>=e){if(n<0)for(;++n<=0;)for(;t(e,-1),!r(e););else for(;--n>=0;)for(;t(e,1),!r(e););}}),r&&(i.count=(t,n)=>(ti.setTime(+t),to.setTime(+n),e(ti),e(to),Math.floor(r(ti,to))),i.every=e=>isFinite(e=Math.floor(e))&&e>0?e>1?i.filter(n?t=>n(t)%e==0:t=>i.count(0,t)%e==0):i:null),i}let tu=ta(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);tu.every=e=>isFinite(e=Math.floor(e))&&e>0?e>1?ta(t=>{t.setTime(Math.floor(t/e)*e)},(t,r)=>{t.setTime(+t+r*e)},(t,r)=>(r-t)/e):tu:null,tu.range;let tl=ta(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+1e3*t)},(e,t)=>(t-e)/1e3,e=>e.getUTCSeconds());tl.range;let tc=ta(e=>{e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds())},(e,t)=>{e.setTime(+e+6e4*t)},(e,t)=>(t-e)/6e4,e=>e.getMinutes());tc.range;let ts=ta(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+6e4*t)},(e,t)=>(t-e)/6e4,e=>e.getUTCMinutes());ts.range;let tf=ta(e=>{e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds()-6e4*e.getMinutes())},(e,t)=>{e.setTime(+e+36e5*t)},(e,t)=>(t-e)/36e5,e=>e.getHours());tf.range;let th=ta(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+36e5*t)},(e,t)=>(t-e)/36e5,e=>e.getUTCHours());th.range;let td=ta(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*6e4)/864e5,e=>e.getDate()-1);td.range;let tp=ta(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/864e5,e=>e.getUTCDate()-1);tp.range;let ty=ta(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/864e5,e=>Math.floor(e/864e5));function tv(e){return ta(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(e,t)=>{e.setDate(e.getDate()+7*t)},(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*6e4)/6048e5)}ty.range;let tg=tv(0),tm=tv(1),tb=tv(2),tw=tv(3),tx=tv(4),tO=tv(5),tP=tv(6);function tj(e){return ta(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+7*t)},(e,t)=>(t-e)/6048e5)}tg.range,tm.range,tb.range,tw.range,tx.range,tO.range,tP.range;let tS=tj(0),t_=tj(1),tE=tj(2),tA=tj(3),tM=tj(4),tk=tj(5),tT=tj(6);tS.range,t_.range,tE.range,tA.range,tM.range,tk.range,tT.range;let tC=ta(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());tC.range;let tD=ta(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());tD.range;let tN=ta(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());tN.every=e=>isFinite(e=Math.floor(e))&&e>0?ta(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,r)=>{t.setFullYear(t.getFullYear()+r*e)}):null,tN.range;let tI=ta(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());function tz(e,t,r,n,i,o){let a=[[tl,1,1e3],[tl,5,5e3],[tl,15,15e3],[tl,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],[t,1,2592e6],[t,3,7776e6],[e,1,31536e6]];function u(t,r,n){let i=Math.abs(r-t)/n,o=C(([,,e])=>e).right(a,i);if(o===a.length)return e.every(M(t/31536e6,r/31536e6,n));if(0===o)return tu.every(Math.max(M(t,r,n),1));let[u,l]=a[i/a[o-1][2]isFinite(e=Math.floor(e))&&e>0?ta(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCFullYear(t.getUTCFullYear()+r*e)}):null,tI.range;let[tR,tL]=tz(tI,tD,tS,ty,th,ts),[tU,tB]=tz(tN,tC,tg,td,tf,tc);function t$(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function tF(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function tW(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}var tK={"-":"",_:" ",0:"0"},tZ=/^\s*\d+/,tq=/^%/,tH=/[\\^$*+?|[\]().{}]/g;function tV(e,t,r){var n=e<0?"-":"",i=(n?-e:e)+"",o=i.length;return n+(o[e.toLowerCase(),t]))}function tQ(e,t,r){var n=tZ.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function tJ(e,t,r){var n=tZ.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function t0(e,t,r){var n=tZ.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function t1(e,t,r){var n=tZ.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function t2(e,t,r){var n=tZ.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function t5(e,t,r){var n=tZ.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function t3(e,t,r){var n=tZ.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function t6(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function t4(e,t,r){var n=tZ.exec(t.slice(r,r+1));return n?(e.q=3*n[0]-3,r+n[0].length):-1}function t8(e,t,r){var n=tZ.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function t7(e,t,r){var n=tZ.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function t9(e,t,r){var n=tZ.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function re(e,t,r){var n=tZ.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function rt(e,t,r){var n=tZ.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function rr(e,t,r){var n=tZ.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function rn(e,t,r){var n=tZ.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function ri(e,t,r){var n=tZ.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function ro(e,t,r){var n=tq.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function ra(e,t,r){var n=tZ.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function ru(e,t,r){var n=tZ.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function rl(e,t){return tV(e.getDate(),t,2)}function rc(e,t){return tV(e.getHours(),t,2)}function rs(e,t){return tV(e.getHours()%12||12,t,2)}function rf(e,t){return tV(1+td.count(tN(e),e),t,3)}function rh(e,t){return tV(e.getMilliseconds(),t,3)}function rd(e,t){return rh(e,t)+"000"}function rp(e,t){return tV(e.getMonth()+1,t,2)}function ry(e,t){return tV(e.getMinutes(),t,2)}function rv(e,t){return tV(e.getSeconds(),t,2)}function rg(e){var t=e.getDay();return 0===t?7:t}function rm(e,t){return tV(tg.count(tN(e)-1,e),t,2)}function rb(e){var t=e.getDay();return t>=4||0===t?tx(e):tx.ceil(e)}function rw(e,t){return e=rb(e),tV(tx.count(tN(e),e)+(4===tN(e).getDay()),t,2)}function rx(e){return e.getDay()}function rO(e,t){return tV(tm.count(tN(e)-1,e),t,2)}function rP(e,t){return tV(e.getFullYear()%100,t,2)}function rj(e,t){return tV((e=rb(e)).getFullYear()%100,t,2)}function rS(e,t){return tV(e.getFullYear()%1e4,t,4)}function r_(e,t){var r=e.getDay();return tV((e=r>=4||0===r?tx(e):tx.ceil(e)).getFullYear()%1e4,t,4)}function rE(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+tV(t/60|0,"0",2)+tV(t%60,"0",2)}function rA(e,t){return tV(e.getUTCDate(),t,2)}function rM(e,t){return tV(e.getUTCHours(),t,2)}function rk(e,t){return tV(e.getUTCHours()%12||12,t,2)}function rT(e,t){return tV(1+tp.count(tI(e),e),t,3)}function rC(e,t){return tV(e.getUTCMilliseconds(),t,3)}function rD(e,t){return rC(e,t)+"000"}function rN(e,t){return tV(e.getUTCMonth()+1,t,2)}function rI(e,t){return tV(e.getUTCMinutes(),t,2)}function rz(e,t){return tV(e.getUTCSeconds(),t,2)}function rR(e){var t=e.getUTCDay();return 0===t?7:t}function rL(e,t){return tV(tS.count(tI(e)-1,e),t,2)}function rU(e){var t=e.getUTCDay();return t>=4||0===t?tM(e):tM.ceil(e)}function rB(e,t){return e=rU(e),tV(tM.count(tI(e),e)+(4===tI(e).getUTCDay()),t,2)}function r$(e){return e.getUTCDay()}function rF(e,t){return tV(t_.count(tI(e)-1,e),t,2)}function rW(e,t){return tV(e.getUTCFullYear()%100,t,2)}function rK(e,t){return tV((e=rU(e)).getUTCFullYear()%100,t,2)}function rZ(e,t){return tV(e.getUTCFullYear()%1e4,t,4)}function rq(e,t){var r=e.getUTCDay();return tV((e=r>=4||0===r?tM(e):tM.ceil(e)).getUTCFullYear()%1e4,t,4)}function rH(){return"+0000"}function rV(){return"%"}function rX(e){return+e}function rY(e){return Math.floor(+e/1e3)}function rG(e){return new Date(e)}function rQ(e){return e instanceof Date?+e:+new Date(+e)}function rJ(e,t,r,n,i,o,a,u,l,c){var s=eD(),f=s.invert,h=s.domain,d=c(".%L"),p=c(":%S"),y=c("%I:%M"),v=c("%I %p"),g=c("%a %d"),m=c("%b %d"),b=c("%B"),w=c("%Y");function x(e){return(l(e)=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:rX,s:rY,S:rv,u:rg,U:rm,V:rw,w:rx,W:rO,x:null,X:null,y:rP,Y:rS,Z:rE,"%":rV},w={a:function(e){return a[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return u[e.getUTCMonth()]},c:null,d:rA,e:rA,f:rD,g:rK,G:rq,H:rM,I:rk,j:rT,L:rC,m:rN,M:rI,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:rX,s:rY,S:rz,u:rR,U:rL,V:rB,w:r$,W:rF,x:null,X:null,y:rW,Y:rZ,Z:rH,"%":rV},x={a:function(e,t,r){var n=d.exec(t.slice(r));return n?(e.w=p.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(e,t,r){var n=f.exec(t.slice(r));return n?(e.w=h.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(e,t,r){var n=g.exec(t.slice(r));return n?(e.m=m.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(e,t,r){var n=y.exec(t.slice(r));return n?(e.m=v.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(e,r,n){return j(e,t,r,n)},d:t7,e:t7,f:ri,g:t3,G:t5,H:re,I:re,j:t9,L:rn,m:t8,M:rt,p:function(e,t,r){var n=c.exec(t.slice(r));return n?(e.p=s.get(n[0].toLowerCase()),r+n[0].length):-1},q:t4,Q:ra,s:ru,S:rr,u:tJ,U:t0,V:t1,w:tQ,W:t2,x:function(e,t,n){return j(e,r,t,n)},X:function(e,t,r){return j(e,n,t,r)},y:t3,Y:t5,Z:t6,"%":ro};function O(e,t){return function(r){var n,i,o,a=[],u=-1,l=0,c=e.length;for(r instanceof Date||(r=new Date(+r));++u53)return null;"w"in o||(o.w=1),"Z"in o?(n=(i=(n=tF(tW(o.y,0,1))).getUTCDay())>4||0===i?t_.ceil(n):t_(n),n=tp.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=t$(tW(o.y,0,1))).getDay())>4||0===i?tm.ceil(n):tm(n),n=td.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?1:0),i="Z"in o?tF(tW(o.y,0,1)).getUTCDay():t$(tW(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,tF(o)):t$(o)}}function j(e,t,r,n){for(var i,o,a=0,u=t.length,l=r.length;a=l)return -1;if(37===(i=t.charCodeAt(a++))){if(!(o=x[(i=t.charAt(a++))in tK?t.charAt(a++):i])||(n=o(e,r,n))<0)return -1}else if(i!=r.charCodeAt(n++))return -1}return n}return b.x=O(r,b),b.X=O(n,b),b.c=O(t,b),w.x=O(r,w),w.X=O(n,w),w.c=O(t,w),{format:function(e){var t=O(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=P(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=O(e+="",w);return t.toString=function(){return e},t},utcParse:function(e){var t=P(e+="",!0);return t.toString=function(){return e},t}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})).format,u.parse,c=u.utcFormat,u.utcParse;var r9=r(5953),ne=r(9037),nt=r(2932),nr=r(9599),nn=r(6630),ni=r(6395),no=r(1134),na=r.n(no);function nu(e){return 0===e?1:Math.floor(new(na())(e).abs().log(10).toNumber())+1}function nl(e,t,r){for(var n=new(na())(e),i=0,o=[];n.lt(t)&&i<1e5;)o.push(n.toNumber()),n=n.add(r),i++;return o}var nc=e=>{var[t,r]=e,[n,i]=[t,r];return t>r&&([n,i]=[r,t]),[n,i]},ns=(e,t,r)=>{if(e.lte(0))return new(na())(0);var n=nu(e.toNumber()),i=new(na())(10).pow(n),o=e.div(i),a=1!==n?.05:.1,u=new(na())(Math.ceil(o.div(a).toNumber())).add(r).mul(a).mul(i);return new(na())(t?u.toNumber():Math.ceil(u.toNumber()))},nf=(e,t,r)=>{var n=new(na())(1),i=new(na())(e);if(!i.isint()&&r){var o=Math.abs(e);o<1?(n=new(na())(10).pow(nu(e)-1),i=new(na())(Math.floor(i.div(n).toNumber())).mul(n)):o>1&&(i=new(na())(Math.floor(e)))}else 0===e?i=new(na())(Math.floor((t-1)/2)):r||(i=new(na())(Math.floor(e)));for(var a=Math.floor((t-1)/2),u=[],l=0;l4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((t-e)/(r-1)))return{step:new(na())(0),tickMin:new(na())(0),tickMax:new(na())(0)};var a=ns(new(na())(t).sub(e).div(r-1),n,o),u=Math.ceil((i=e<=0&&t>=0?new(na())(0):(i=new(na())(e).add(t).div(2)).sub(new(na())(i).mod(a))).sub(e).div(a).toNumber()),l=Math.ceil(new(na())(t).sub(i).div(a).toNumber()),c=u+l+1;return c>r?nh(e,t,r,n,o+1):(c0?l+(r-c):l,u=t>0?u:u+(r-c)),{step:a,tickMin:i.sub(new(na())(u).mul(a)),tickMax:i.add(new(na())(l).mul(a))})},nd=function(e){var[t,r]=e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],o=Math.max(n,2),[a,u]=nc([t,r]);if(a===-1/0||u===1/0){var l=u===1/0?[a,...Array(n-1).fill(1/0)]:[...Array(n-1).fill(-1/0),u];return t>r?l.reverse():l}if(a===u)return nf(a,n,i);var{step:c,tickMin:s,tickMax:f}=nh(a,u,o,i,0),h=nl(s,f.add(new(na())(.1).mul(c)),c);return t>r?h.reverse():h},np=function(e,t){var[r,n]=e,i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],[o,a]=nc([r,n]);if(o===-1/0||a===1/0)return[r,n];if(o===a)return[o];var u=ns(new(na())(a).sub(o).div(Math.max(t,2)-1),i,0),l=[...nl(new(na())(o),new(na())(a),u),a];return!1===i&&(l=l.map(e=>Math.round(e))),r>n?l.reverse():l},ny=r(152),nv=r(2498),ng=r(9729),nm=r(3358),nb=r(3968),nw=r(5995),nx=r(304),nO=r(6462),nP=r(7367),nj=r(8487),nS=r(6125),n_=r(7962),nE=r(6691),nA=r(5427),nM=r(3699),nk=r(4014),nT=r(3454);function nC(e){var t=e.ticks,r=e.bandwidth,n=e.range(),i=[Math.min(...n),Math.max(...n)];return{domain:()=>e.domain(),range:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(()=>i),rangeMin:()=>i[0],rangeMax:()=>i[1],isInRange(e){var t=i[0],r=i[1];return t<=r?e>=t&&e<=r:e>=r&&e<=t},bandwidth:r?()=>r.call(e):void 0,ticks:t?r=>t.call(e,r):void 0,map:(t,r)=>{var n=e(t);if(null!=n){if(e.bandwidth&&null!=r&&r.position){var i=e.bandwidth();switch(r.position){case"middle":n+=i/2;break;case"end":n+=i}}return n}}}}function nD(e,t,r){if("function"==typeof e)return nC(e.copy().domain(t).range(r));if(null!=e){var n=function(e){if(e in s)return s[e]();var t="scale".concat((0,nn.jC)(e));if(t in s)return s[t]()}(e);if(null!=n)return n.domain(t).range(r),nC(n)}}var nN=r(7562);function nI(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function nz(e){for(var t=1;te.cartesianAxis.xAxis[t],nB=(e,t)=>{var r=nU(e,t);return null==r?nL:r},n$={allowDataOverflow:!1,allowDecimals:!0,allowDuplicatedCategory:!0,angle:0,dataKey:void 0,domain:nR,hide:!0,id:0,includeHidden:!1,interval:"preserveEnd",minTickGap:5,mirror:!1,name:void 0,orientation:"left",padding:{top:0,bottom:0},reversed:!1,scale:"auto",tick:!0,tickCount:5,tickFormatter:void 0,ticks:void 0,type:"number",unit:void 0,width:nj.n9},nF=(e,t)=>e.cartesianAxis.yAxis[t],nW=(e,t)=>{var r=nF(e,t);return null==r?n$:r},nK={domain:[0,"auto"],includeHidden:!1,reversed:!1,allowDataOverflow:!1,allowDuplicatedCategory:!1,dataKey:void 0,id:0,name:"",range:[64,64],scale:"auto",type:"number",unit:""},nZ=(e,t)=>{var r=e.cartesianAxis.zAxis[t];return null==r?nK:r},nq=(e,t,r)=>{switch(t){case"xAxis":return nB(e,r);case"yAxis":return nW(e,r);case"zAxis":return nZ(e,r);case"angleAxis":return(0,nw.dc)(e,r);case"radiusAxis":return(0,nw.Au)(e,r);default:throw Error("Unexpected axis type: ".concat(t))}},nH=(e,t,r)=>{switch(t){case"xAxis":return nB(e,r);case"yAxis":return nW(e,r);case"angleAxis":return(0,nw.dc)(e,r);case"radiusAxis":return(0,nw.Au)(e,r);default:throw Error("Unexpected axis type: ".concat(t))}},nV=e=>e.graphicalItems.cartesianItems.some(e=>"bar"===e.type)||e.graphicalItems.polarItems.some(e=>"radialBar"===e.type);function nX(e,t){return r=>{switch(e){case"xAxis":return"xAxisId"in r&&r.xAxisId===t;case"yAxis":return"yAxisId"in r&&r.yAxisId===t;case"zAxis":return"zAxisId"in r&&r.zAxisId===t;case"angleAxis":return"angleAxisId"in r&&r.angleAxisId===t;case"radiusAxis":return"radiusAxisId"in r&&r.radiusAxisId===t;default:return!1}}}var nY=(0,f.P1)([nx.z,nO.l],nX),nG=(e,t,r)=>e.filter(r).filter(e=>(null==t?void 0:t.includeHidden)===!0||!e.hide),nQ=(0,f.P1)([e=>e.graphicalItems.cartesianItems,nq,nY],nG,{memoizeOptions:{resultEqualityCheck:nM.n}}),nJ=(0,f.P1)([nQ],e=>e.filter(e=>"area"===e.type||"bar"===e.type).filter(nE.b)),n0=e=>e.filter(e=>!("stackId"in e)||void 0===e.stackId),n1=(0,f.P1)([nQ],n0),n2=e=>e.map(e=>e.data).filter(Boolean).flat(1),n5=(0,f.P1)([nQ],n2,{memoizeOptions:{resultEqualityCheck:nM.n}}),n3=(e,t)=>{var{chartData:r=[],dataStartIndex:n,dataEndIndex:i}=t;return e.length>0?e:r.slice(n,i+1)},n6=(0,f.P1)([n5,nt.Ck],n3),n4=(e,t,r)=>(null==t?void 0:t.dataKey)!=null?e.map(e=>({value:(0,ne.F$)(e,t.dataKey)})):r.length>0?r.map(e=>e.dataKey).flatMap(t=>e.map(e=>({value:(0,ne.F$)(e,t)}))):e.map(e=>({value:e})),n8=(0,f.P1)([n6,nq,nQ],n4);function n7(e,t){switch(e){case"xAxis":return"x"===t.direction;case"yAxis":return"y"===t.direction;default:return!1}}function n9(e){if((0,nn.P2)(e)||e instanceof Date){var t=Number(e);if((0,ni.n)(t))return t}}function ie(e){if(Array.isArray(e)){var t=[n9(e[0]),n9(e[1])];return(0,nr.b4)(t)?t:void 0}var r=n9(e);if(null!=r)return[r,r]}function it(e){return e.map(n9).filter(nn.DX)}var ir=e=>{var t=(0,nk.c)(e),r=(0,nT.L)(e);return nH(e,t,r)},ii=(0,f.P1)([ir],e=>null==e?void 0:e.dataKey),io=(0,f.P1)([nJ,nt.Ck,ir],n_.R),ia=(e,t,r,n)=>Object.fromEntries(Object.entries(t.reduce((e,t)=>{if(null==t.stackId)return e;var r=e[t.stackId];return null==r&&(r=[]),r.push(t),e[t.stackId]=r,e},{})).map(t=>{var[i,o]=t,a=n?[...o].reverse():o,u=a.map(nS.H);return[i,{stackedData:(0,ne.uX)(e,u,r),graphicalItems:a}]})),iu=(0,f.P1)([io,nJ,nb.Qw,nb.CI],ia),il=(e,t,r,n)=>{var{dataStartIndex:i,dataEndIndex:o}=t;if(null==n&&"zAxis"!==r){var a=(0,ne.EB)(e,i,o);if(null==a||0!==a[0]||0!==a[1])return a}},ic=(0,f.P1)([nq],e=>e.allowDataOverflow),is=e=>{var t;if(null==e||!("domain"in e))return nR;if(null!=e.domain)return e.domain;if("ticks"in e&&null!=e.ticks){if("number"===e.type){var r=it(e.ticks);return[Math.min(...r),Math.max(...r)]}if("category"===e.type)return e.ticks.map(String)}return null!==(t=null==e?void 0:e.domain)&&void 0!==t?t:nR},ih=(0,f.P1)([nq],is),id=(0,f.P1)([ih,ic],nr.Wd),ip=(0,f.P1)([iu,nt.iP,nx.z,id],il,{memoizeOptions:{resultEqualityCheck:nA.e}}),iy=e=>e.errorBars,iv=function(){for(var e=arguments.length,t=Array(e),r=0;r{var o,a;if(r.length>0&&e.forEach(e=>{r.forEach(r=>{var u,l,c=null===(u=n[r.id])||void 0===u?void 0:u.filter(e=>n7(i,e)),s=(0,ne.F$)(e,null!==(l=t.dataKey)&&void 0!==l?l:r.dataKey),f=!(!c||"number"!=typeof s||(0,nn.In)(s))&&c.length?it(c.flatMap(t=>{var r,n,i=(0,ne.F$)(e,t.dataKey);if(Array.isArray(i)?[r,n]=i:r=n=i,(0,ni.n)(r)&&(0,ni.n)(n))return[s-r,s+n]})):[];if(f.length>=2){var h=Math.min(...f),d=Math.max(...f);(null==o||ha)&&(a=d)}var p=ie(s);null!=p&&(o=null==o?p[0]:Math.min(o,p[0]),a=null==a?p[1]:Math.max(a,p[1]))})}),(null==t?void 0:t.dataKey)!=null&&e.forEach(e=>{var r=ie((0,ne.F$)(e,t.dataKey));null!=r&&(o=null==o?r[0]:Math.min(o,r[0]),a=null==a?r[1]:Math.max(a,r[1]))}),(0,ni.n)(o)&&(0,ni.n)(a))return[o,a]},im=(0,f.P1)([n6,nq,n1,iy,nx.z],ig,{memoizeOptions:{resultEqualityCheck:nA.e}});function ib(e){var{value:t}=e;if((0,nn.P2)(t)||t instanceof Date)return t}var iw=(e,t,r)=>{var n=e.map(ib).filter(e=>null!=e);return r&&(null==t.dataKey||t.allowDuplicatedCategory&&(0,nn.bv)(n))?d()(0,e.length):t.allowDuplicatedCategory?n:Array.from(new Set(n))},ix=e=>e.referenceElements.dots,iO=(e,t,r)=>e.filter(e=>"extendDomain"===e.ifOverflow).filter(e=>"xAxis"===t?e.xAxisId===r:e.yAxisId===r),iP=(0,f.P1)([ix,nx.z,nO.l],iO),ij=e=>e.referenceElements.areas,iS=(0,f.P1)([ij,nx.z,nO.l],iO),i_=e=>e.referenceElements.lines,iE=(0,f.P1)([i_,nx.z,nO.l],iO),iA=(e,t)=>{if(null!=e){var r=it(e.map(e=>"xAxis"===t?e.x:e.y));if(0!==r.length)return[Math.min(...r),Math.max(...r)]}},iM=(0,f.P1)(iP,nx.z,iA),ik=(e,t)=>{if(null!=e){var r=it(e.flatMap(e=>["xAxis"===t?e.x1:e.y1,"xAxis"===t?e.x2:e.y2]));if(0!==r.length)return[Math.min(...r),Math.max(...r)]}},iT=(0,f.P1)([iS,nx.z],ik),iC=(e,t)=>{if(null!=e){var r=e.flatMap(e=>"xAxis"===t?function(e){if(null!=e.x)return it([e.x]);var t,r=null===(t=e.segment)||void 0===t?void 0:t.map(e=>e.x);return null==r||0===r.length?[]:it(r)}(e):function(e){if(null!=e.y)return it([e.y]);var t,r=null===(t=e.segment)||void 0===t?void 0:t.map(e=>e.y);return null==r||0===r.length?[]:it(r)}(e));if(0!==r.length)return[Math.min(...r),Math.max(...r)]}},iD=(0,f.P1)([iE,nx.z],iC),iN=(0,f.P1)(iM,iD,iT,(e,t,r)=>iv(e,r,t)),iI=(e,t,r,n,i,o,a,u)=>{if(null!=r)return r;var l="vertical"===a&&"xAxis"===u||"horizontal"===a&&"yAxis"===u?iv(n,o,i):iv(o,i);return(0,nr.v7)(t,l,e.allowDataOverflow)},iz=(0,f.P1)([nq,ih,id,ip,im,iN,r9.rE,nx.z],iI,{memoizeOptions:{resultEqualityCheck:nA.e}}),iR=[0,1],iL=(e,t,r,n,i,o,a)=>{if(null!=e&&null!=r&&0!==r.length||void 0!==a){var u,{dataKey:l,type:c}=e,s=(0,ne.NA)(t,o);return s&&null==l?d()(0,null!==(u=null==r?void 0:r.length)&&void 0!==u?u:0):"category"===c?iw(n,e,s):"expand"===i?iR:a}},iU=(0,f.P1)([nq,r9.rE,n6,n8,nb.Qw,nx.z,iz],iL),iB=(e,t,r)=>{if(null!=e){var{scale:n,type:i}=e;if("auto"===n)return"category"===i&&r&&(r.indexOf("LineChart")>=0||r.indexOf("AreaChart")>=0||r.indexOf("ComposedChart")>=0&&!t)?"point":"category"===i?"band":"linear";if("string"==typeof n){var o="scale".concat((0,nn.jC)(n));return o in s?o:"point"}}},i$=(0,f.P1)([nq,nV,nb.E2],iB);function iF(e,t,r,n){return null==r||null==n?void 0:"function"==typeof e.scale?nD(e.scale,r,n):nD(t,r,n)}var iW=(e,t,r)=>{var n=is(t);return"auto"!==r&&"linear"!==r?void 0:null!=t&&t.tickCount&&Array.isArray(n)&&("auto"===n[0]||"auto"===n[1])&&(0,nr.b4)(e)?nd(e,t.tickCount,t.allowDecimals):null!=t&&t.tickCount&&"number"===t.type&&(0,nr.b4)(e)?np(e,t.tickCount,t.allowDecimals):void 0},iK=(0,f.P1)([iU,nH,i$],iW),iZ=(e,t,r,n)=>{if("angleAxis"!==n&&(null==e?void 0:e.type)==="number"&&(0,nr.b4)(t)&&Array.isArray(r)&&r.length>0){var i,o;return[Math.min(t[0],null!==(i=r[0])&&void 0!==i?i:0),Math.max(t[1],null!==(o=r[r.length-1])&&void 0!==o?o:0)]}return t},iq=(0,f.P1)([nq,iU,iK,nx.z],iZ),iH=(0,f.P1)(n8,nq,(e,t)=>{if(t&&"number"===t.type){var r=1/0,n=Array.from(it(e.map(e=>e.value))).sort((e,t)=>e-t),i=n[0],o=n[n.length-1];if(null==i||null==o)return 1/0;var a=o-i;if(0===a)return 1/0;for(var u=0;ui,(e,t,r,n,i)=>{if(!(0,ni.n)(e))return 0;var o="vertical"===t?n.height:n.width;if("gap"===i)return e*o/2;if("no-gap"===i){var a=(0,nn.h1)(r,e*o),u=e*o/2;return u-a-(u-a)/o*a}return 0}),iX=(0,f.P1)(nB,(e,t,r)=>{var n=nB(e,t);return null==n||"string"!=typeof n.padding?0:iV(e,"xAxis",t,r,n.padding)},(e,t)=>{if(null==e)return{left:0,right:0};var r,n,{padding:i}=e;return"string"==typeof i?{left:t,right:t}:{left:(null!==(r=i.left)&&void 0!==r?r:0)+t,right:(null!==(n=i.right)&&void 0!==n?n:0)+t}}),iY=(0,f.P1)(nW,(e,t,r)=>{var n=nW(e,t);return null==n||"string"!=typeof n.padding?0:iV(e,"yAxis",t,r,n.padding)},(e,t)=>{if(null==e)return{top:0,bottom:0};var r,n,{padding:i}=e;return"string"==typeof i?{top:t,bottom:t}:{top:(null!==(r=i.top)&&void 0!==r?r:0)+t,bottom:(null!==(n=i.bottom)&&void 0!==n?n:0)+t}}),iG=(0,f.P1)([ng.DX,iX,nm.V,nm.F,(e,t,r)=>r],(e,t,r,n,i)=>{var{padding:o}=n;return i?[o.left,r.width-o.right]:[e.left+t.left,e.left+e.width-t.right]}),iQ=(0,f.P1)([ng.DX,r9.rE,iY,nm.V,nm.F,(e,t,r)=>r],(e,t,r,n,i,o)=>{var{padding:a}=i;return o?[n.height-a.bottom,a.top]:"horizontal"===t?[e.top+e.height-r.bottom,e.top+r.top]:[e.top+r.top,e.top+e.height-r.bottom]}),iJ=(e,t,r,n)=>{var i;switch(t){case"xAxis":return iG(e,r,n);case"yAxis":return iQ(e,r,n);case"zAxis":return null===(i=nZ(e,r))||void 0===i?void 0:i.range;case"angleAxis":return(0,nw.bH)(e);case"radiusAxis":return(0,nw.s9)(e,r);default:return}},i0=(0,f.P1)([nq,iJ],nP.$),i1=(0,f.P1)([i$,iq],nN.p),i2=(0,f.P1)([nq,i$,i1,i0],iF);function i5(e,t){return e.idt.id?1:0}(0,f.P1)([nQ,iy,nx.z],(e,t,r)=>e.flatMap(e=>t[e.id]).filter(Boolean).filter(e=>n7(r,e)));var i3=(e,t)=>t,i6=(e,t,r)=>r,i4=(0,f.P1)(nv.X,i3,i6,(e,t,r)=>e.filter(e=>e.orientation===t).filter(e=>e.mirror===r).sort(i5)),i8=(0,f.P1)(nv.Z,i3,i6,(e,t,r)=>e.filter(e=>e.orientation===t).filter(e=>e.mirror===r).sort(i5)),i7=(e,t)=>({width:e.width,height:t.height}),i9=(e,t)=>({width:"number"==typeof t.width?t.width:nj.n9,height:e.height});(0,f.P1)(ng.DX,nB,i7);var oe=(e,t,r)=>{switch(t){case"top":return e.top;case"bottom":return r-e.bottom;default:return 0}},ot=(e,t,r)=>{switch(t){case"left":return e.left;case"right":return r-e.right;default:return 0}},or=(0,f.P1)(ny.d_,ng.DX,i4,i3,i6,(e,t,r,n,i)=>{var o,a={};return r.forEach(r=>{var u=i7(t,r);null==o&&(o=oe(t,n,e));var l="top"===n&&!i||"bottom"===n&&i;a[r.id]=o-Number(l)*u.height,o+=(l?-1:1)*u.height}),a}),on=(0,f.P1)(ny.RD,ng.DX,i8,i3,i6,(e,t,r,n,i)=>{var o,a={};return r.forEach(r=>{var u=i9(t,r);null==o&&(o=ot(t,n,e));var l="left"===n&&!i||"right"===n&&i;a[r.id]=o-Number(l)*u.width,o+=(l?-1:1)*u.width}),a});(0,f.P1)([ng.DX,nB,(e,t)=>{var r=nB(e,t);if(null!=r)return or(e,r.orientation,r.mirror)},(e,t)=>t],(e,t,r,n)=>{if(null!=t){var i=null==r?void 0:r[n];return null==i?{x:e.left,y:0}:{x:e.left,y:i}}}),(0,f.P1)([ng.DX,nW,(e,t)=>{var r=nW(e,t);if(null!=r)return on(e,r.orientation,r.mirror)},(e,t)=>t],(e,t,r,n)=>{if(null!=t){var i=null==r?void 0:r[n];return null==i?{x:0,y:e.top}:{x:i,y:e.top}}}),(0,f.P1)(ng.DX,nW,(e,t)=>({width:"number"==typeof t.width?t.width:nj.n9,height:e.height}));var oi=(e,t,r,n)=>{if(null!=r){var{allowDuplicatedCategory:i,type:o,dataKey:a}=r,u=(0,ne.NA)(e,n),l=t.map(e=>e.value);if(a&&u&&"category"===o&&i&&(0,nn.bv)(l))return l}},oo=(0,f.P1)([r9.rE,n8,nq,nx.z],oi),oa=(e,t,r,n)=>{if(null!=r&&null!=r.dataKey){var{type:i,scale:o}=r;if((0,ne.NA)(e,n)&&("number"===i||"auto"!==o))return t.map(e=>e.value)}},ou=(0,f.P1)([r9.rE,n8,nH,nx.z],oa);(0,f.P1)([r9.rE,(e,t,r)=>{switch(t){case"xAxis":return nB(e,r);case"yAxis":return nW(e,r);default:throw Error("Unexpected axis type: ".concat(t))}},i$,i2,oo,ou,iJ,iK,nx.z],(e,t,r,n,i,o,a,u,l)=>{if(null!=t){var c=(0,ne.NA)(e,l);return{angle:t.angle,interval:t.interval,minTickGap:t.minTickGap,orientation:t.orientation,tick:t.tick,tickCount:t.tickCount,tickFormatter:t.tickFormatter,ticks:t.ticks,type:t.type,unit:t.unit,axisType:l,categoricalDomain:o,duplicateDomain:i,isCategorical:c,niceTicks:u,range:a,realScaleType:r,scale:n}}}),(0,f.P1)([r9.rE,nH,i$,i2,iK,iJ,oo,ou,nx.z],(e,t,r,n,i,o,a,u,l)=>{if(null!=t&&null!=n){var c=(0,ne.NA)(e,l),{type:s,ticks:f,tickCount:h}=t,d="scaleBand"===r&&"function"==typeof n.bandwidth?n.bandwidth()/2:2,p="category"===s&&n.bandwidth?n.bandwidth()/d:0;p="angleAxis"===l&&null!=o&&o.length>=2?2*(0,nn.uY)(o[0]-o[1])*p:p;var y=f||i;return y?y.map((e,t)=>{var r=a?a.indexOf(e):e,i=n.map(r);return(0,ni.n)(i)?{index:t,coordinate:i+p,value:e,offset:p}:null}).filter(nn.DX):c&&u?u.map((e,t)=>{var r=n.map(e);return(0,ni.n)(r)?{coordinate:r+p,value:e,index:t,offset:p}:null}).filter(nn.DX):n.ticks?n.ticks(h).map((e,t)=>{var r=n.map(e);return(0,ni.n)(r)?{coordinate:r+p,value:e,index:t,offset:p}:null}).filter(nn.DX):n.domain().map((e,t)=>{var r=n.map(e);return(0,ni.n)(r)?{coordinate:r+p,value:a?a[e]:e,index:t,offset:p}:null}).filter(nn.DX)}}),(0,f.P1)([r9.rE,nH,i2,iJ,oo,ou,nx.z],(e,t,r,n,i,o,a)=>{if(null!=t&&null!=r&&null!=n&&n[0]!==n[1]){var u=(0,ne.NA)(e,a),{tickCount:l}=t,c=0;return(c="angleAxis"===a&&(null==n?void 0:n.length)>=2?2*(0,nn.uY)(n[0]-n[1])*c:c,u&&o)?o.map((e,t)=>{var n=r.map(e);return(0,ni.n)(n)?{coordinate:n+c,value:e,index:t,offset:c}:null}).filter(nn.DX):r.ticks?r.ticks(l).map((e,t)=>{var n=r.map(e);return(0,ni.n)(n)?{coordinate:n+c,value:e,index:t,offset:c}:null}).filter(nn.DX):r.domain().map((e,t)=>{var n=r.map(e);return(0,ni.n)(n)?{coordinate:n+c,value:i?i[e]:e,index:t,offset:c}:null}).filter(nn.DX)}}),(0,f.P1)(nq,i2,(e,t)=>{if(null!=e&&null!=t)return nz(nz({},e),{},{scale:t})});var ol=(0,f.P1)([nq,i$,iU,i0],iF);(0,f.P1)((e,t,r)=>nZ(e,r),ol,(e,t)=>{if(null!=e&&null!=t)return nz(nz({},e),{},{scale:t})});var oc=(0,f.P1)([r9.rE,nv.X,nv.Z],(e,t,r)=>{switch(e){case"horizontal":return t.some(e=>e.reversed)?"right-to-left":"left-to-right";case"vertical":return r.some(e=>e.reversed)?"bottom-to-top":"top-to-bottom";case"centric":case"radial":return"left-to-right";default:return}})},3358:function(e,t,r){"use strict";r.d(t,{F:function(){return u},V:function(){return l}});var n=r(2713),i=r(9729),o=r(152),a=r(6630),u=e=>e.brush,l=(0,n.P1)([u,i.DX,o.lr],(e,t,r)=>({height:e.height,x:(0,a.hj)(e.x)?e.x:t.left,y:(0,a.hj)(e.y)?e.y:t.top+t.height+t.brushBottom-((null==r?void 0:r.bottom)||0),width:(0,a.hj)(e.width)?e.width:t.width}))},3838:function(e,t,r){"use strict";r.d(t,{b:function(){return i}});var n=r(6630),i=(e,t)=>{var r,i=Number(t);if(!(0,n.In)(i)&&null!=t)return i>=0?null==e||null===(r=e[i])||void 0===r?void 0:r.value:void 0}},6064:function(e,t,r){"use strict";r.d(t,{p:function(){return a}});var n=r(6395),i=r(9037),o=r(9599),a=(e,t,r,a)=>{var u=null==e?void 0:e.index;if(null==u)return null;var l=Number(u);if(!(0,n.n)(l))return u;var c=Infinity;t.length>0&&(c=t.length-1);var s=Math.max(0,Math.min(l,c)),f=t[s];return null==f?String(s):!function(e,t,r){if(null==r||null==t)return!0;var n,a,u,l=(0,i.F$)(e,t);return!(null!=l&&(0,o.b4)(r))||(n=function(e){if("number"==typeof e)return Number.isFinite(e)?e:void 0;if(e instanceof Date){var t=e.valueOf();return Number.isFinite(t)?t:void 0}var r=Number(e);return Number.isFinite(r)?r:void 0}(l),a=r[0],u=r[1],void 0!==n&&n>=Math.min(a,u)&&n<=Math.max(a,u))}(f,r,a)?null:String(s)}},7367:function(e,t,r){"use strict";r.d(t,{$:function(){return n}});var n=(e,t)=>e&&t?null!=e&&e.reversed?[t[1],t[0]]:t:void 0},7562:function(e,t,r){"use strict";r.d(t,{p:function(){return o}});var n=r(9599),i=r(6395),o=(e,t)=>{if(null!=t){if("linear"===e&&!(0,n.b4)(t)){for(var r,o,a=0;ao)&&(o=u))}return void 0!==r&&void 0!==o?[r,o]:void 0}return t}}},8656:function(e,t,r){"use strict";r.d(t,{$:function(){return n}});var n=(e,t,r,n,i,o,a)=>{if(null!=o){var u=a[0],l=null==u?void 0:u.getPosition(o);if(null!=l)return l;var c=null==i?void 0:i[Number(o)];if(c)return"horizontal"===r?{x:c.coordinate,y:(n.top+t)/2}:{x:(n.left+e)/2,y:c.coordinate}}}},7962:function(e,t,r){"use strict";r.d(t,{R:function(){return o}});var n=r(6125),i=r(9037);function o(e,t,r){var{chartData:o=[]}=t,{allowDuplicatedCategory:a,dataKey:u}=r,l=new Map;return e.forEach(e=>{var t,r=null!==(t=e.data)&&void 0!==t?t:o;if(null!=r&&0!==r.length){var c=(0,n.H)(e);r.forEach((t,r)=>{var n,o=null==u||a?r:String((0,i.F$)(t,u,null)),s=(0,i.F$)(t,e.dataKey,0);Object.assign(n=l.has(o)?l.get(o):{},{[c]:s}),l.set(o,n)})}}),Array.from(l.values())}},4597:function(e,t,r){"use strict";r.d(t,{k:function(){return a}});var n=r(4725);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t{if(null==t)return n.UW;var a="axis"===t?"click"===r?e.axisInteraction.click:e.axisInteraction.hover:"click"===r?e.itemInteraction.click:e.itemInteraction.hover;if(null==a)return n.UW;if(a.active)return a;if(e.keyboardInteraction.active)return e.keyboardInteraction;if(e.syncInteraction.active&&null!=e.syncInteraction.index)return e.syncInteraction;var u=!0===e.settings.active;if(null!=a.index){if(u)return o(o({},a),{},{active:!0})}else if(null!=i)return{active:!0,coordinate:void 0,dataKey:void 0,index:i,graphicalItemId:void 0};return o(o({},n.UW),{},{coordinate:a.coordinate})}},240:function(e,t,r){"use strict";r.d(t,{J:function(){return l}});var n=r(6630),i=r(9037),o=r(1543);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t{if(null!=t&&null!=c){var{chartData:f,computedData:h,dataStartIndex:d,dataEndIndex:p}=r;return e.reduce((e,r)=>{var y,v,g,{dataDefinedOnItem:m,settings:b}=r,w=null!=m?m:f,x=Array.isArray(w)?(0,o.p)(w,d,p):w,O=null!==(y=null==b?void 0:b.dataKey)&&void 0!==y?y:a,P=null==b?void 0:b.nameKey;return Array.isArray(v=a&&Array.isArray(x)&&!Array.isArray(x[0])&&"axis"===s?(0,n.Ap)(x,a,l):c(x,t,h,P))?v.forEach(t=>{var r=u(u({},b),{},{name:t.name,unit:t.unit,color:void 0,fill:void 0});e.push((0,i.eV)({tooltipEntrySettings:r,dataKey:t.dataKey,payload:t.payload,value:(0,i.F$)(t.payload,t.dataKey),name:t.name}))}):e.push((0,i.eV)({tooltipEntrySettings:b,dataKey:O,payload:v,value:(0,i.F$)(v,O),name:null!==(g=(0,i.F$)(v,P))&&void 0!==g?g:null==b?void 0:b.name})),e},[])}}},9667:function(e,t,r){"use strict";r.d(t,{k:function(){return n}});var n=(e,t,r,n)=>{if("axis"===t)return e.tooltipItemPayloads;if(0===e.tooltipItemPayloads.length)return[];if(null==(i="hover"===r?e.itemInteraction.hover.graphicalItemId:e.itemInteraction.click.graphicalItemId)&&null!=n){var i,o=e.tooltipItemPayloads[0];return null!=o?[o]:[]}return e.tooltipItemPayloads.filter(e=>{var t;return(null===(t=e.settings)||void 0===t?void 0:t.graphicalItemId)===i})}},152:function(e,t,r){"use strict";r.d(t,{K$:function(){return o},RD:function(){return n},d_:function(){return i},lr:function(){return a}});var n=e=>e.layout.width,i=e=>e.layout.height,o=e=>e.layout.scale,a=e=>e.layout.margin},2932:function(e,t,r){"use strict";r.d(t,{Ck:function(){return a},RV:function(){return o},iP:function(){return i}});var n=r(2713),i=e=>e.chartData,o=(0,n.P1)([i],e=>{var t=null!=e.chartData?e.chartData.length-1:0;return{chartData:e.chartData,computedData:e.computedData,dataEndIndex:t,dataStartIndex:0}}),a=(e,t,r,n)=>n?o(e):i(e)},5427:function(e,t,r){"use strict";r.d(t,{e:function(){return n}});var n=(e,t)=>e===t||null!=e&&null!=t&&e[0]===t[0]&&e[1]===t[1]},6462:function(e,t,r){"use strict";r.d(t,{l:function(){return n}});var n=(e,t,r)=>r},304:function(e,t,r){"use strict";r.d(t,{z:function(){return n}});var n=(e,t)=>t},5995:function(e,t,r){"use strict";r.d(t,{dc:function(){return b},bH:function(){return S},HW:function(){return E},Au:function(){return w},s9:function(){return _}});var n=r(2713),i=r(152),o=r(9729),a=r(9206),u=r(6630),l=r(3928),c={allowDecimals:!1,allowDuplicatedCategory:!0,allowDataOverflow:!1,angle:0,angleAxisId:0,axisLine:!0,axisLineType:"polygon",cx:0,cy:0,hide:!1,includeHidden:!1,label:!1,orientation:"outer",reversed:!1,scale:"auto",tick:!0,tickLine:!0,tickSize:8,type:"auto",zIndex:l.N.axis},s={allowDataOverflow:!1,allowDecimals:!1,allowDuplicatedCategory:!0,angle:0,axisLine:!0,includeHidden:!1,hide:!1,label:!1,orientation:"right",radiusAxisId:0,reversed:!1,scale:"auto",stroke:"#ccc",tick:!0,tickCount:5,tickLine:!0,type:"auto",zIndex:l.N.axis},f=r(7367),h=r(5953),d=r(9037);function p(e,t,r){return"auto"!==r?r:null!=e?(0,d.NA)(e,t)?"category":"number":void 0}function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function v(e){for(var t=1;t{if(null!=t)return e.polarAxis.angleAxis[t]},h.KM],(e,t)=>{if(null!=e)return e;var r,n=null!==(r=p(t,"angleAxis",g.type))&&void 0!==r?r:"category";return v(v({},g),{},{type:n})}),w=(0,n.P1)([(e,t)=>e.polarAxis.radiusAxis[t],h.KM],(e,t)=>{if(null!=e)return e;var r,n=null!==(r=p(t,"radiusAxis",m.type))&&void 0!==r?r:"category";return v(v({},m),{},{type:n})}),x=e=>e.polarOptions,O=(0,n.P1)([i.RD,i.d_,o.DX],a.$4),P=(0,n.P1)([x,O],(e,t)=>{if(null!=e)return(0,u.h1)(e.innerRadius,t,0)}),j=(0,n.P1)([x,O],(e,t)=>{if(null!=e)return(0,u.h1)(e.outerRadius,t,.8*t)}),S=(0,n.P1)([x],e=>{if(null==e)return[0,0];var{startAngle:t,endAngle:r}=e;return[t,r]});(0,n.P1)([b,S],f.$);var _=(0,n.P1)([O,P,j],(e,t,r)=>{if(null!=e&&null!=t&&null!=r)return[t,r]});(0,n.P1)([w,_],f.$);var E=(0,n.P1)([h.rE,x,P,j,i.RD,i.d_],(e,t,r,n,i,o)=>{if(("centric"===e||"radial"===e)&&null!=t&&null!=r&&null!=n){var{cx:a,cy:l,startAngle:c,endAngle:s}=t;return{cx:(0,u.h1)(a,i,i/2),cy:(0,u.h1)(l,o,o/2),innerRadius:r,outerRadius:n,startAngle:c,endAngle:s,clockWise:!1}}})},3968:function(e,t,r){"use strict";r.d(t,{CI:function(){return o},E2:function(){return a},Qw:function(){return i},Sg:function(){return c},Yd:function(){return u},b2:function(){return l},sd:function(){return n}});var n=e=>e.rootProps.barCategoryGap,i=e=>e.rootProps.stackOffset,o=e=>e.rootProps.reverseStackOrder,a=e=>e.options.chartName,u=e=>e.rootProps.syncId,l=e=>e.rootProps.syncMethod,c=e=>e.options.eventEmitter},2498:function(e,t,r){"use strict";r.d(t,{X:function(){return i},Z:function(){return o}});var n=r(2713),i=(0,n.P1)(e=>e.cartesianAxis.xAxis,e=>Object.values(e)),o=(0,n.P1)(e=>e.cartesianAxis.yAxis,e=>Object.values(e))},9729:function(e,t,r){"use strict";r.d(t,{DX:function(){return d},nd:function(){return p}});var n=r(2713),i=r(1104),o=r.n(i),a=e=>e.legend.settings;(0,n.P1)([e=>e.legend.payload,a],(e,t)=>{var{itemSorter:r}=t,n=e.flat(1);return r?o()(n,r):n});var u=r(9037),l=r(152),c=r(2498),s=r(8487);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function h(e){for(var t=1;te.brush.height,function(e){return(0,c.Z)(e).reduce((e,t)=>"left"!==t.orientation||t.mirror||t.hide?e:e+("number"==typeof t.width?t.width:s.n9),0)},function(e){return(0,c.Z)(e).reduce((e,t)=>"right"!==t.orientation||t.mirror||t.hide?e:e+("number"==typeof t.width?t.width:s.n9),0)},function(e){return(0,c.X)(e).reduce((e,t)=>"top"!==t.orientation||t.mirror||t.hide?e:e+t.height,0)},function(e){return(0,c.X)(e).reduce((e,t)=>"bottom"!==t.orientation||t.mirror||t.hide?e:e+t.height,0)},a,e=>e.legend.size],(e,t,r,n,i,o,a,l,c,s)=>{var f={left:(r.left||0)+i,right:(r.right||0)+o},d=h(h({},{top:(r.top||0)+a,bottom:(r.bottom||0)+l}),f),p=d.bottom;d.bottom+=n;var y=e-(d=(0,u.By)(d,c,s)).left-d.right,v=t-d.top-d.bottom;return h(h({brushBottom:p},d),{},{width:Math.max(y,0),height:Math.max(v,0)})}),p=(0,n.P1)(d,e=>({x:e.left,y:e.top,width:e.width,height:e.height}));(0,n.P1)(l.RD,l.d_,(e,t)=>({x:0,y:0,width:e,height:t}))},3454:function(e,t,r){"use strict";r.d(t,{L:function(){return n}});var n=e=>e.tooltip.settings.axisId},4014:function(e,t,r){"use strict";r.d(t,{c:function(){return i}});var n=r(5953),i=e=>{var t=(0,n.rE)(e);return"horizontal"===t?"xAxis":"vertical"===t?"yAxis":"centric"===t?"angleAxis":"radiusAxis"}},6302:function(e,t,r){"use strict";r.d(t,{Nb:function(){return o},SB:function(){return u},Y4:function(){return l},_j:function(){return a},iS:function(){return i}});var n=r(9040),i=e=>e.options.defaultTooltipEventType,o=e=>e.options.validateTooltipEventTypes;function a(e,t,r){if(null==e)return t;var n=e?"axis":"item";return null==r?t:r.includes(n)?n:t}function u(e,t){return a(t,i(e),o(e))}function l(e){return(0,n.C)(t=>u(t,e))}},3535:function(e,t,r){"use strict";r.d(t,{h:function(){return n}});var n=e=>e.options.tooltipPayloadSearcher},4803:function(e,t,r){"use strict";r.d(t,{M:function(){return n}});var n=e=>e.tooltip},3683:function(e,t,r){"use strict";r.d(t,{Nb:function(){return q},ck:function(){return B},i:function(){return $},hA:function(){return U},oo:function(){return W},EM:function(){return N},wi:function(){return R},TT:function(){return F},AC:function(){return k}});var n=r(2713),i=r(1104),o=r.n(i),a=r(9040),u=r(9037),l=r(2932),c=r(1944),s=r(9064),f=r(3968),h=r(5953),d=r(9729),p=r(152),y=r(3838),v=r(4597),g=r(6064),m=r(8656),b=r(9667),w=r(3535),x=r(4803),O=r(240),P=r(9206),j=r(6630);function S(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _(e){for(var t=1;t{var i=t.find(e=>e&&e.index===r);if(i){if("horizontal"===e)return{x:i.coordinate,y:n.chartY};if("vertical"===e)return{x:n.chartX,y:i.coordinate}}return{x:0,y:0}},A=(e,t,r,n)=>{var i=t.find(e=>e&&e.index===r);if(i){if("centric"===e){var o=i.coordinate,{radius:a}=n;return _(_(_({},n),(0,P.op)(n.cx,n.cy,a,o)),{},{angle:o,radius:a})}var u=i.coordinate,{angle:l}=n;return _(_(_({},n),(0,P.op)(n.cx,n.cy,u,l)),{},{angle:l,radius:u})}return{angle:0,clockWise:!1,cx:0,cy:0,endAngle:0,innerRadius:0,outerRadius:0,radius:0,startAngle:0,x:0,y:0}},M=(e,t,r,n,i)=>{var o=null!==(f=null==t?void 0:t.length)&&void 0!==f?f:0;if(o<=1||null==e)return 0;if("angleAxis"===n&&null!=i&&1e-6>=Math.abs(Math.abs(i[1]-i[0])-360))for(var a=0;a0?null===(h=r[a-1])||void 0===h?void 0:h.coordinate:null===(d=r[o-1])||void 0===d?void 0:d.coordinate,l=null===(p=r[a])||void 0===p?void 0:p.coordinate,c=a>=o-1?null===(y=r[0])||void 0===y?void 0:y.coordinate:null===(v=r[a+1])||void 0===v?void 0:v.coordinate,s=void 0;if(null!=u&&null!=l&&null!=c){if((0,j.uY)(l-u)!==(0,j.uY)(c-l)){var f,h,d,p,y,v,g,m=[];if((0,j.uY)(c-l)===(0,j.uY)(i[1]-i[0])){s=c;var b=l+i[1]-i[0];m[0]=Math.min(b,(b+u)/2),m[1]=Math.max(b,(b+u)/2)}else{s=u;var w=c+i[1]-i[0];m[0]=Math.min(l,(w+l)/2),m[1]=Math.max(l,(w+l)/2)}var x=[Math.min(l,(s+l)/2),Math.max(l,(s+l)/2)];if(e>x[0]&&e<=x[1]||e>=m[0]&&e<=m[1])return null===(g=r[a])||void 0===g?void 0:g.index}else{var O,P=Math.min(u,c),S=Math.max(u,c);if(e>(P+l)/2&&e<=(S+l)/2)return null===(O=r[a])||void 0===O?void 0:O.index}}}else if(t)for(var _=0;_(E.coordinate+M.coordinate)/2||_>0&&_(E.coordinate+M.coordinate)/2&&e<=(E.coordinate+A.coordinate)/2)return E.index}}return -1},k=()=>(0,a.C)(f.E2),T=(e,t)=>t,C=(e,t,r)=>r,D=(e,t,r,n)=>n,N=(0,n.P1)(c.WQ,e=>o()(e,e=>e.coordinate)),I=(0,n.P1)([x.M,T,C,D],v.k),z=(0,n.P1)([I,c.wQ,s.BD,c.lj],g.p),R=(e,t,r)=>{if(null!=t){var n=(0,x.M)(e);return"axis"===t?"hover"===r?n.axisInteraction.hover.dataKey:n.axisInteraction.click.dataKey:"hover"===r?n.itemInteraction.hover.dataKey:n.itemInteraction.click.dataKey}},L=(0,n.P1)([x.M,T,C,D],b.k),U=(0,n.P1)([p.RD,p.d_,h.rE,d.DX,c.WQ,D,L],m.$),B=(0,n.P1)([I,U],(e,t)=>{var r;return null!==(r=e.coordinate)&&void 0!==r?r:t}),$=(0,n.P1)([c.WQ,z],y.b),F=(0,n.P1)([L,z,l.iP,s.BD,$,w.h,T],O.J),W=(0,n.P1)([I,z],(e,t)=>({isActive:e.active&&null!=t,activeIndex:t})),K=(e,t,r,n,i,o,a)=>{if(e&&r&&n&&i&&function(e,t){var{chartX:r,chartY:n}=e;return r>=t.left&&r<=t.left+t.width&&n>=t.top&&n<=t.top+t.height}(e,a)){var l=M((0,u.E)(e,t),o,i,r,n),c=E(t,i,l,e);return{activeIndex:String(l),activeCoordinate:c}}},Z=(e,t,r,n,i,o,a)=>{if(e&&n&&i&&o&&r){var l=(0,P.z3)(e,r);if(l){var c=M((0,u.C8)(l,t),a,o,n,i),s=A(t,o,c,l);return{activeIndex:String(c),activeCoordinate:s}}}},q=(e,t,r,n,i,o,a,u)=>e&&t&&n&&i&&o?"horizontal"===t||"vertical"===t?K(e,t,n,i,o,a,u):Z(e,t,r,n,i,o,a):void 0},1944:function(e,t,r){"use strict";r.d(t,{i:function(){return ey},pI:function(){return ew},du:function(){return ev},d8:function(){return eg},Ve:function(){return ep},CG:function(){return D},oo:function(){return ex},lj:function(){return et},PG:function(){return eo},ri:function(){return ea},WQ:function(){return ec},wQ:function(){return z}});var n=r(2713),i=r(9064),o=r(5953),a=r(9037),u=r(2932),l=r(3968),c=r(6630),s=r(7367),f=r(6302),h=r(3838),d=r(4597),p=r(6064),y=r(8656),v=r(152),g=r(9729),m=r(9667),b=r(3535),w=r(4803),x=r(240),O=r(3454),P=r(4014),j=r(7962),S=r(6691),_=r(9599),E=r(5427),A=r(3699),M=r(6395),k=(0,n.P1)([i.zv,i.Q4,l.E2],i.Yf),T=(0,n.P1)([e=>e.graphicalItems.cartesianItems,e=>e.graphicalItems.polarItems],(e,t)=>[...e,...t]),C=(0,n.P1)([P.c,O.L],i.YZ),D=(0,n.P1)([T,i.zv,C],i.$B,{memoizeOptions:{resultEqualityCheck:A.n}}),N=(0,n.P1)([D],e=>e.filter(S.b)),I=(0,n.P1)([D],i.bU,{memoizeOptions:{resultEqualityCheck:A.n}}),z=(0,n.P1)([I,u.iP],i.tZ),R=(0,n.P1)([N,u.iP,i.zv],j.R),L=(0,n.P1)([z,i.zv,D],i.UA),U=(0,n.P1)([i.zv],i.c4),B=(0,n.P1)([i.zv],e=>e.allowDataOverflow),$=(0,n.P1)([U,B],_.Wd),F=(0,n.P1)([D],e=>e.filter(S.b)),W=(0,n.P1)([R,F,l.Qw,l.CI],i.CK),K=(0,n.P1)([W,u.iP,P.c,$],i.dz),Z=(0,n.P1)([D],i.Tk),q=(0,n.P1)([z,i.zv,Z,i.Qt,P.c],i.yN,{memoizeOptions:{resultEqualityCheck:E.e}}),H=(0,n.P1)([i.RA,P.c,O.L],i.zW),V=(0,n.P1)([H,P.c],i.zX),X=(0,n.P1)([i.ww,P.c,O.L],i.zW),Y=(0,n.P1)([X,P.c],i.yT),G=(0,n.P1)([i.xz,P.c,O.L],i.zW),Q=(0,n.P1)([G,P.c],i.fY),J=(0,n.P1)([V,Q,Y],i.Eu),ee=(0,n.P1)([i.zv,U,$,K,q,J,o.rE,P.c],i.E8),et=(0,n.P1)([i.zv,o.rE,z,L,l.Qw,P.c,ee],i.l_),er=(0,n.P1)([et,i.zv,k],i.vb),en=(0,n.P1)([i.zv,et,er,P.c],i.kO),ei=e=>{var t=(0,P.c)(e),r=(0,O.L)(e);return(0,i.Fn)(e,t,r,!1)},eo=(0,n.P1)([i.zv,ei],s.$),ea=(0,n.P1)([i.zv,k,en,eo],i.Jw),eu=(0,n.P1)([o.rE,L,i.zv,P.c],i.rC),el=(0,n.P1)([o.rE,L,i.zv,P.c],i.UC),ec=(0,n.P1)([o.rE,i.zv,k,ea,ei,eu,el,P.c],(e,t,r,n,i,o,u,l)=>{if(t){var{type:s}=t,f=(0,a.NA)(e,l);if(n){var h="scaleBand"===r&&n.bandwidth?n.bandwidth()/2:2,d="category"===s&&n.bandwidth?n.bandwidth()/h:0;return(d="angleAxis"===l&&null!=i&&(null==i?void 0:i.length)>=2?2*(0,c.uY)(i[0]-i[1])*d:d,f&&u)?u.map((e,t)=>{var r=n.map(e);return(0,M.n)(r)?{coordinate:r+d,value:e,index:t,offset:d}:null}).filter(c.DX):n.domain().map((e,t)=>{var r=n.map(e);return(0,M.n)(r)?{coordinate:r+d,value:o?o[e]:e,index:t,offset:d}:null}).filter(c.DX)}}}),es=(0,n.P1)([f.iS,f.Nb,e=>e.tooltip.settings],(e,t,r)=>(0,f._j)(r.shared,e,t)),ef=e=>e.tooltip.settings.trigger,eh=e=>e.tooltip.settings.defaultIndex,ed=(0,n.P1)([w.M,es,ef,eh],d.k),ep=(0,n.P1)([ed,z,i.BD,et],p.p),ey=(0,n.P1)([ec,ep],h.b),ev=(0,n.P1)([ed],e=>{if(e)return e.dataKey}),eg=(0,n.P1)([ed],e=>{if(e)return e.graphicalItemId}),em=(0,n.P1)([w.M,es,ef,eh],m.k),eb=(0,n.P1)([v.RD,v.d_,o.rE,g.DX,ec,eh,em],y.$),ew=(0,n.P1)([ed,eb],(e,t)=>null!=e&&e.coordinate?e.coordinate:t),ex=(0,n.P1)([ed],e=>{var t;return null!==(t=null==e?void 0:e.active)&&void 0!==t&&t}),eO=(0,n.P1)([em,ep,u.iP,i.BD,ey,b.h,es],x.J);(0,n.P1)([eO],e=>{if(null!=e)return Array.from(new Set(e.map(e=>e.payload).filter(e=>null!=e)))})},4725:function(e,t,r){"use strict";r.d(t,{$A:function(){return m},KN:function(){return b},KO:function(){return l},Kw:function(){return w},M1:function(){return h},MC:function(){return c},O_:function(){return y},PD:function(){return f},Rr:function(){return v},UW:function(){return a},Vg:function(){return d},cK:function(){return s},eB:function(){return g},ne:function(){return p}});var n=r(9129),i=r(9234),o=r(418),a={active:!1,index:null,dataKey:void 0,graphicalItemId:void 0,coordinate:void 0},u=(0,n.oM)({name:"tooltip",initialState:{itemInteraction:{click:a,hover:a},axisInteraction:{click:a,hover:a},keyboardInteraction:a,syncInteraction:{active:!1,index:null,dataKey:void 0,label:void 0,coordinate:void 0,sourceViewBox:void 0,graphicalItemId:void 0},tooltipItemPayloads:[],settings:{shared:void 0,trigger:"hover",axisId:0,active:!1,defaultIndex:void 0}},reducers:{addTooltipEntrySettings:{reducer(e,t){e.tooltipItemPayloads.push((0,o.cA)(t.payload))},prepare:(0,n.cw)()},replaceTooltipEntrySettings:{reducer(e,t){var{prev:r,next:n}=t.payload,a=(0,i.Vk)(e).tooltipItemPayloads.indexOf((0,o.cA)(r));a>-1&&(e.tooltipItemPayloads[a]=(0,o.cA)(n))},prepare:(0,n.cw)()},removeTooltipEntrySettings:{reducer(e,t){var r=(0,i.Vk)(e).tooltipItemPayloads.indexOf((0,o.cA)(t.payload));r>-1&&e.tooltipItemPayloads.splice(r,1)},prepare:(0,n.cw)()},setTooltipSettingsState(e,t){e.settings=t.payload},setActiveMouseOverItemIndex(e,t){e.syncInteraction.active=!1,e.keyboardInteraction.active=!1,e.itemInteraction.hover.active=!0,e.itemInteraction.hover.index=t.payload.activeIndex,e.itemInteraction.hover.dataKey=t.payload.activeDataKey,e.itemInteraction.hover.graphicalItemId=t.payload.activeGraphicalItemId,e.itemInteraction.hover.coordinate=t.payload.activeCoordinate},mouseLeaveChart(e){e.itemInteraction.hover.active=!1,e.axisInteraction.hover.active=!1},mouseLeaveItem(e){e.itemInteraction.hover.active=!1},setActiveClickItemIndex(e,t){e.syncInteraction.active=!1,e.itemInteraction.click.active=!0,e.keyboardInteraction.active=!1,e.itemInteraction.click.index=t.payload.activeIndex,e.itemInteraction.click.dataKey=t.payload.activeDataKey,e.itemInteraction.click.graphicalItemId=t.payload.activeGraphicalItemId,e.itemInteraction.click.coordinate=t.payload.activeCoordinate},setMouseOverAxisIndex(e,t){e.syncInteraction.active=!1,e.axisInteraction.hover.active=!0,e.keyboardInteraction.active=!1,e.axisInteraction.hover.index=t.payload.activeIndex,e.axisInteraction.hover.dataKey=t.payload.activeDataKey,e.axisInteraction.hover.coordinate=t.payload.activeCoordinate},setMouseClickAxisIndex(e,t){e.syncInteraction.active=!1,e.keyboardInteraction.active=!1,e.axisInteraction.click.active=!0,e.axisInteraction.click.index=t.payload.activeIndex,e.axisInteraction.click.dataKey=t.payload.activeDataKey,e.axisInteraction.click.coordinate=t.payload.activeCoordinate},setSyncInteraction(e,t){e.syncInteraction=t.payload},setKeyboardInteraction(e,t){e.keyboardInteraction.active=t.payload.active,e.keyboardInteraction.index=t.payload.activeIndex,e.keyboardInteraction.coordinate=t.payload.activeCoordinate}}}),{addTooltipEntrySettings:l,replaceTooltipEntrySettings:c,removeTooltipEntrySettings:s,setTooltipSettingsState:f,setActiveMouseOverItemIndex:h,mouseLeaveItem:d,mouseLeaveChart:p,setActiveClickItemIndex:y,setMouseOverAxisIndex:v,setMouseClickAxisIndex:g,setSyncInteraction:m,setKeyboardInteraction:b}=u.actions,w=u.reducer},6691:function(e,t,r){"use strict";function n(e){return"stackId"in e&&null!=e.stackId&&null!=e.dataKey}r.d(t,{b:function(){return n}})},7274:function(e,t,r){"use strict";r.d(t,{G$:function(){return h},IE:function(){return y},cG:function(){return p},d1:function(){return d},hS:function(){return f}});var n=r(9129),i=r(418),o=r(3928);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;tu(u({},e),{},{[t]:{element:void 0,panoramaElement:void 0,consumers:0}}),{})},c=new Set(Object.values(o.N)),s=(0,n.oM)({name:"zIndex",initialState:l,reducers:{registerZIndexPortal:{reducer:(e,t)=>{var{zIndex:r}=t.payload;e.zIndexMap[r]?e.zIndexMap[r].consumers+=1:e.zIndexMap[r]={consumers:1,element:void 0,panoramaElement:void 0}},prepare:(0,n.cw)()},unregisterZIndexPortal:{reducer:(e,t)=>{var{zIndex:r}=t.payload;e.zIndexMap[r]&&(e.zIndexMap[r].consumers-=1,e.zIndexMap[r].consumers<=0&&!c.has(r)&&delete e.zIndexMap[r])},prepare:(0,n.cw)()},registerZIndexPortalElement:{reducer:(e,t)=>{var{zIndex:r,element:n,isPanorama:o}=t.payload;e.zIndexMap[r]?o?e.zIndexMap[r].panoramaElement=(0,i.cA)(n):e.zIndexMap[r].element=(0,i.cA)(n):e.zIndexMap[r]={consumers:0,element:o?void 0:(0,i.cA)(n),panoramaElement:o?(0,i.cA)(n):void 0}},prepare:(0,n.cw)()},unregisterZIndexPortalElement:{reducer:(e,t)=>{var{zIndex:r}=t.payload;e.zIndexMap[r]&&(t.payload.isPanorama?e.zIndexMap[r].panoramaElement=void 0:e.zIndexMap[r].element=void 0)},prepare:(0,n.cw)()}}}),{registerZIndexPortal:f,unregisterZIndexPortal:h,registerZIndexPortalElement:d,unregisterZIndexPortalElement:p}=s.actions,y=s.reducer},858:function(e,t,r){"use strict";r.d(t,{W9:function(){return w},Fg:function(){return x}});var n=r(2265),i=r(9040),o=r(3968),a=new(r(7625)),u="recharts.syncEvent.tooltip",l="recharts.syncEvent.brush",c=r(1057),s=r(4725),f=r(3683),h=r(1944);function d(e){return e.tooltip.syncInteraction}var p=r(5953),y=r(9173),v=r(6630),g=["x","y"];function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function b(e){for(var t=1;t{S((0,c.IC)())},[S]),e=(0,i.C)(o.Yd),t=(0,i.C)(o.Sg),r=(0,i.T)(),f=(0,i.C)(o.b2),d=(0,i.C)(h.WQ),m=(0,p.vn)(),w=(0,p.d2)(),x=(0,i.C)(e=>e.rootProps.className),(0,n.useEffect)(()=>{if(null==e)return v.ZT;var n=(n,i,o)=>{if(t!==o&&e===n){if("index"===f){if(w&&null!=i&&null!==(a=i.payload)&&void 0!==a&&a.coordinate&&i.payload.sourceViewBox){var a,u,l=i.payload.coordinate,{x:c,y:h}=l,p=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;nString(e.value)===i.payload.label));var{coordinate:S}=i.payload;if(null==u||!1===i.payload.active||null==S||null==w){r((0,s.$A)({active:!1,coordinate:void 0,dataKey:void 0,index:null,label:void 0,sourceViewBox:void 0,graphicalItemId:void 0}));return}var{x:_,y:E}=S,A=Math.min(_,w.x+w.width),M=Math.min(E,w.y+w.height),k={x:"horizontal"===m?u.coordinate:A,y:"horizontal"===m?M:u.coordinate};r((0,s.$A)({active:i.payload.active,coordinate:k,dataKey:i.payload.dataKey,index:String(u.index),label:i.payload.label,sourceViewBox:i.payload.sourceViewBox,graphicalItemId:i.payload.graphicalItemId}))}}};return a.on(u,n),()=>{a.off(u,n)}},[x,r,t,e,f,d,m,w]),O=(0,i.C)(o.Yd),P=(0,i.C)(o.Sg),j=(0,i.T)(),(0,n.useEffect)(()=>{if(null==O)return v.ZT;var e=(e,t,r)=>{P!==r&&O===e&&j((0,y.t0)(t))};return a.on(l,e),()=>{a.off(l,e)}},[j,P,O])}function x(e,t,r,l,c,h){var y=(0,i.C)(r=>(0,f.wi)(r,e,t)),v=(0,i.C)(o.Sg),g=(0,i.C)(o.Yd),m=(0,i.C)(o.b2),b=(0,i.C)(d),w=null==b?void 0:b.active,x=(0,p.d2)();(0,n.useEffect)(()=>{if(!w&&null!=g&&null!=v){var e=(0,s.$A)({active:h,coordinate:r,dataKey:y,index:c,label:"number"==typeof l?String(l):l,sourceViewBox:x,graphicalItemId:void 0});a.emit(u,g,e,v)}},[w,r,y,c,l,v,g,m,h,x])}},9037:function(e,t,r){"use strict";r.d(t,{Ji:function(){return E},rI:function(){return _},By:function(){return b},E:function(){return T},C8:function(){return C},zT:function(){return A},EB:function(){return S},uX:function(){return O},eV:function(){return M},hn:function(){return k},F$:function(){return m},NA:function(){return w}});var n=r(1104),i=r.n(n),o=r(5870),a=r.n(o);function u(e,t){if((i=e.length)>1)for(var r,n,i,o=1,a=e[t[0]],u=a.length;o=0;)r[t]=t;return r}function f(e,t){return e[t]}function h(e){let t=[];return t.key=e,t}var d=r(6630),p=r(1543),y=r(6395);function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function g(e){for(var t=1;t{if(t&&r){var{width:n,height:i}=r,{align:o,verticalAlign:a,layout:u}=t;if(("vertical"===u||"horizontal"===u&&"middle"===a)&&"center"!==o&&(0,d.hj)(e[o]))return g(g({},e),{},{[o]:e[o]+(n||0)});if(("horizontal"===u||"vertical"===u&&"center"===o)&&"middle"!==a&&(0,d.hj)(e[a]))return g(g({},e),{},{[a]:e[a]+(i||0)})}return e},w=(e,t)=>"horizontal"===e&&"xAxis"===t||"vertical"===e&&"yAxis"===t||"centric"===e&&"angleAxis"===t||"radial"===e&&"radiusAxis"===t,x={sign:e=>{var t,r=e.length;if(!(r<=0)){var n=null===(t=e[0])||void 0===t?void 0:t.length;if(null!=n&&!(n<=0))for(var i=0;i=0?(c[0]=o,o+=h,c[1]=o):(c[0]=a,a+=h,c[1]=a)}}}},expand:function(e,t){if((n=e.length)>0){for(var r,n,i,o=0,a=e[0].length;o0){for(var r,n=0,i=e[t[0]],o=i.length;n0&&(n=(r=e[t[0]]).length)>0){for(var r,n,i,o=0,a=1;a{var t,r=e.length;if(!(r<=0)){var n=null===(t=e[0])||void 0===t?void 0:t.length;if(null!=n&&!(n<=0))for(var i=0;i=0?(l[0]=o,o+=c,l[1]=o):(l[0]=0,l[1]=0)}}}}},O=(e,t,r)=>{var n,i=null!==(n=x[r])&&void 0!==n?n:u,o=(function(){var e=(0,c.Z)([]),t=s,r=u,n=f;function i(i){var o,a,u=Array.from(e.apply(this,arguments),h),c=u.length,s=-1;for(let e of i)for(o=0,++s;oNumber(m(e,t,0))).order(s).offset(i)(e);return o.forEach((r,n)=>{r.forEach((r,i)=>{var o=m(e[i],t[n],0);Array.isArray(o)&&2===o.length&&(0,d.hj)(o[0])&&(0,d.hj)(o[1])&&(r[0]=o[0],r[1]=o[1])})}),o},P=e=>{var t=e.flat(2).filter(d.hj);return[Math.min(...t),Math.max(...t)]},j=e=>[e[0]===1/0?0:e[0],e[1]===-1/0?0:e[1]],S=(e,t,r)=>{if(null!=e)return j(Object.keys(e).reduce((n,i)=>{var o=e[i];if(!o)return n;var{stackedData:a}=o,u=a.reduce((e,n)=>{var i=P((0,p.p)(n,t,r));return(0,y.n)(i[0])&&(0,y.n)(i[1])?[Math.min(e[0],i[0]),Math.max(e[1],i[1])]:e},[1/0,-1/0]);return[Math.min(u[0],n[0]),Math.max(u[1],n[1])]},[1/0,-1/0]))},_=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,E=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,A=(e,t,r)=>{if(e&&e.scale&&e.scale.bandwidth){var n=e.scale.bandwidth();if(!r||n>0)return n}if(e&&t&&t.length>=2){for(var o=i()(t,e=>e.coordinate),a=1/0,u=1,l=o.length;u"horizontal"===t?e.chartX:"vertical"===t?e.chartY:void 0,C=(e,t)=>"centric"===t?e.angle:e.radius},8487:function(e,t,r){"use strict";r.d(t,{Gh:function(){return n},jX:function(){return i},n9:function(){return o}});var n="data-recharts-item-index",i="data-recharts-item-id",o=60},6630:function(e,t,r){"use strict";r.d(t,{Ap:function(){return v},DX:function(){return b},EL:function(){return h},In:function(){return u},P2:function(){return s},Rw:function(){return g},ZT:function(){return w},bv:function(){return p},h1:function(){return d},hU:function(){return l},hj:function(){return c},jC:function(){return m},sX:function(){return y},uY:function(){return a}});var n=r(5870),i=r.n(n),o=r(4385),a=e=>0===e?0:e>0?1:-1,u=e=>"number"==typeof e&&e!=+e,l=e=>"string"==typeof e&&e.indexOf("%")===e.length-1,c=e=>("number"==typeof e||e instanceof Number)&&!u(e),s=e=>c(e)||"string"==typeof e,f=0,h=e=>{var t=++f;return"".concat(e||"").concat(t)},d=function(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!c(e)&&"string"!=typeof e)return n;if(l(e)){if(null==t)return n;var o=e.indexOf("%");r=t*parseFloat(e.slice(0,o))/100}else r=+e;return u(r)&&(r=n),i&&null!=t&&r>t&&(r=t),r},p=e=>{if(!Array.isArray(e))return!1;for(var t=e.length,r={},n=0;ne&&("function"==typeof t?t(e):i()(e,t))===r)}var g=e=>null==e,m=e=>g(e)?e:"".concat(e.charAt(0).toUpperCase()).concat(e.slice(1));function b(e){return null!=e}function w(){}},4067:function(e,t,r){"use strict";r.d(t,{x:function(){return n}});var n={devToolsEnabled:!0,isSsr:!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout)}},9206:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t180*e/Math.PI,u=(e,t,r,n)=>({x:e+Math.cos(-o*n)*r,y:t+Math.sin(-o*n)*r}),l=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{top:0,right:0,bottom:0,left:0,width:0,height:0,brushBottom:0};return Math.min(Math.abs(e-(r.left||0)-(r.right||0)),Math.abs(t-(r.top||0)-(r.bottom||0)))/2},c=(e,t)=>{var{x:r,y:n}=e,{x:i,y:o}=t;return Math.sqrt((r-i)**2+(n-o)**2)},s=(e,t)=>{var{x:r,y:n}=e,{cx:i,cy:o}=t,u=c({x:r,y:n},{x:i,y:o});if(u<=0)return{radius:u,angle:0};var l=Math.acos((r-i)/u);return n>o&&(l=2*Math.PI-l),{radius:u,angle:a(l),angleInRadian:l}},f=e=>{var{startAngle:t,endAngle:r}=e,n=Math.min(Math.floor(t/360),Math.floor(r/360));return{startAngle:t-360*n,endAngle:r-360*n}},h=(e,t)=>{var{startAngle:r,endAngle:n}=t;return e+360*Math.min(Math.floor(r/360),Math.floor(n/360))},d=(e,t)=>{var r,{chartX:n,chartY:o}=e,{radius:a,angle:u}=s({x:n,y:o},t),{innerRadius:l,outerRadius:c}=t;if(ac||0===a)return null;var{startAngle:d,endAngle:p}=f(t),y=u;if(d<=p){for(;y>p;)y-=360;for(;y=d&&y<=p}else{for(;y>d;)y-=360;for(;y=p&&y<=d}return r?i(i({},t),{},{radius:a,angle:h(y,t)}):null}},9720:function(e,t,r){"use strict";r.d(t,{W:function(){return i}});var n=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"];function i(e){return"string"==typeof e&&n.includes(e)}},1543:function(e,t,r){"use strict";function n(e,t,r){return Array.isArray(e)&&e&&t+r!==0?e.slice(t,r+1):e}r.d(t,{p:function(){return n}})},9599:function(e,t,r){"use strict";r.d(t,{Wd:function(){return l},b4:function(){return a},v7:function(){return c}});var n=r(9037),i=r(6630),o=r(6395);function a(e){if(Array.isArray(e)&&2===e.length){var[t,r]=e;if((0,o.n)(t)&&(0,o.n)(r))return!0}return!1}function u(e,t,r){return r?e:[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}function l(e,t){if(t&&"function"!=typeof e&&Array.isArray(e)&&2===e.length){var r,n,[i,u]=e;if((0,o.n)(i))r=i;else if("function"==typeof i)return;if((0,o.n)(u))n=u;else if("function"==typeof u)return;var l=[r,n];if(a(l))return l}}function c(e,t,r){if(r||null!=t){if("function"==typeof e&&null!=t)try{var o=e(t,r);if(a(o))return u(o,t,r)}catch(e){}if(Array.isArray(e)&&2===e.length){var l,c,[s,f]=e;if("auto"===s)null!=t&&(l=Math.min(...t));else if((0,i.hj)(s))l=s;else if("function"==typeof s)try{null!=t&&(l=s(null==t?void 0:t[0]))}catch(e){}else if("string"==typeof s&&n.rI.test(s)){var h=n.rI.exec(s);if(null==h||null==h[1]||null==t)l=void 0;else{var d=+h[1];l=t[0]-d}}else l=null==t?void 0:t[0];if("auto"===f)null!=t&&(c=Math.max(...t));else if((0,i.hj)(f))c=f;else if("function"==typeof f)try{null!=t&&(c=f(null==t?void 0:t[1]))}catch(e){}else if("string"==typeof f&&n.Ji.test(f)){var p=n.Ji.exec(f);if(null==p||null==p[1]||null==t)c=void 0;else{var y=+p[1];c=t[1]+y}}else c=null==t?void 0:t[1];var v=[l,c];if(a(v))return null==t?v:u(v,t,r)}}}},6395:function(e,t,r){"use strict";function n(e){return Number.isFinite(e)}function i(e){return"number"==typeof e&&e>0&&Number.isFinite(e)}r.d(t,{n:function(){return n},r:function(){return i}})},130:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e,t){var r=function(e){for(var t=1;t(void 0===e[r]&&void 0!==t[r]&&(e[r]=t[r]),e),r)}r.d(t,{j:function(){return i}})},4385:function(e,t,r){"use strict";function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4,r=10**t,n=Math.round(e*r)/r;return Object.is(n,-0)?0:n}function i(e){for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;i{var o=r[i-1];return"string"==typeof o?e+o+t:void 0!==o?e+n(o)+t:e+t},"")}r.d(t,{E:function(){return n},N:function(){return i}})},6125:function(e,t,r){"use strict";function n(e){return null==e?void 0:e.id}r.d(t,{H:function(){return n}})},3414:function(e,t,r){"use strict";r.d(t,{S:function(){return o}}),r(2265);var n=r(9720),i=r(1221);function o(e){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&((0,i.CK)(r)||(0,i.a1)(r)||(0,n.W)(r))&&(t[r]=e[r]);return t}},1221:function(e,t,r){"use strict";r.d(t,{CK:function(){return o},a1:function(){return a},qM:function(){return l},qq:function(){return u}});var n=r(2265),i=new Set(["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"]);function o(e){return"string"==typeof e&&i.has(e)}function a(e){return"string"==typeof e&&e.startsWith("data-")}function u(e){if("object"!=typeof e||null===e)return{};var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(o(r)||a(r))&&(t[r]=e[r]);return t}function l(e){return null==e?null:(0,n.isValidElement)(e)&&"object"==typeof e.props&&null!==e.props?u(e.props):"object"!=typeof e||Array.isArray(e)?null:u(e)}},1637:function(e,t,r){"use strict";r.d(t,{Ym:function(){return a},bw:function(){return l},t9:function(){return o}});var n=r(2265),i=r(9720),o=e=>"radius"in e&&"startAngle"in e&&"endAngle"in e,a=(e,t)=>{if(!e||"function"==typeof e||"boolean"==typeof e)return null;var r=e;if((0,n.isValidElement)(e)&&(r=e.props),"object"!=typeof r&&"function"!=typeof r)return null;var o={};return Object.keys(r).forEach(e=>{(0,i.W)(e)&&(o[e]=t||(t=>r[e](r,t)))}),o},u=(e,t,r)=>n=>(e(t,r,n),null),l=(e,t,r)=>{if(null===e||"object"!=typeof e&&"function"!=typeof e)return null;var n=null;return Object.keys(e).forEach(o=>{var a=e[o];(0,i.W)(o)&&"function"==typeof a&&(n||(n={}),n[o]=u(a,t,r))}),n}},9087:function(e,t,r){"use strict";r.d(t,{i:function(){return o}});var n=r(2265),i=r(6630);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"animation-",r=(0,n.useRef)((0,i.EL)(t)),o=(0,n.useRef)(e);return o.current!==e&&(r.current=(0,i.EL)(t),o.current=e),r.current}},3928:function(e,t,r){"use strict";r.d(t,{N:function(){return n}});var n={grid:-100,barBackground:-50,area:100,cursorRectangle:200,bar:300,line:400,axis:500,scatter:600,activeBar:1e3,cursorLine:1100,activeDot:1200,label:2e3}},8002:function(e,t,r){"use strict";r.d(t,{$:function(){return f}});var n=r(2265),i=r(4887),o=r(6630),a=r(9040),u=r(3543),l=r(7274),c=r(5953),s=r(8735);function f(e){var{zIndex:t,children:r}=e,f=(0,c.kz)()&&void 0!==t&&0!==t,h=(0,s.W)(),d=(0,a.T)();(0,n.useLayoutEffect)(()=>f?(d((0,l.hS)({zIndex:t})),()=>{d((0,l.G$)({zIndex:t}))}):o.ZT,[d,t,f]);var p=(0,a.C)(e=>(0,u.e)(e,t,h));return f?p?(0,i.createPortal)(r,p):null:r}},3543:function(e,t,r){"use strict";r.d(t,{e:function(){return a},k:function(){return u}});var n=r(2713),i=r(3699),o=r(3928),a=(0,n.P1)(e=>e.zIndex.zIndexMap,(e,t)=>t,(e,t,r)=>r,(e,t,r)=>{if(null!=t){var n=e[t];return null==n?void 0:r?n.panoramaElement:n.element}}),u=(0,n.P1)(e=>e.zIndex.zIndexMap,e=>Array.from(new Set(Object.keys(e).map(e=>parseInt(e,10)).concat(Object.values(o.N)))).sort((e,t)=>e-t),{memoizeOptions:{resultEqualityCheck:i.E}})},4369:function(e,t,r){"use strict";var n=r(2265),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=n.useState,a=n.useEffect,u=n.useLayoutEffect,l=n.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!i(e,r)}catch(e){return!0}}var s="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=o({inst:{value:r,getSnapshot:t}}),i=n[0].inst,s=n[1];return u(function(){i.value=r,i.getSnapshot=t,c(i)&&s({inst:i})},[e,r,t]),a(function(){return c(i)&&s({inst:i}),e(function(){c(i)&&s({inst:i})})},[e]),l(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:s},2860:function(e,t,r){"use strict";var n=r(2265),i=r(2558),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=i.useSyncExternalStore,u=n.useRef,l=n.useEffect,c=n.useMemo,s=n.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var f=u(null);if(null===f.current){var h={hasValue:!1,value:null};f.current=h}else h=f.current;var d=a(e,(f=c(function(){function e(e){if(!l){if(l=!0,a=e,e=n(e),void 0!==i&&h.hasValue){var t=h.value;if(i(t,e))return u=t}return u=e}if(t=u,o(a,e))return t;var r=n(e);return void 0!==i&&i(t,r)?(a=e,t):(a=e,u=r)}var a,u,l=!1,c=void 0===r?null:r;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]},[t,r,n,i]))[0],f[1]);return l(function(){h.hasValue=!0,h.value=d},[d]),s(d),d}},5274:function(e,t,r){"use strict";var n=r(2265);n.useSyncExternalStore,n.useRef,n.useEffect,n.useMemo,n.useDebugValue},2558:function(e,t,r){"use strict";e.exports=r(4369)},5195:function(e,t,r){"use strict";e.exports=r(2860)},6548:function(e,t,r){"use strict";r(5274)},9129:function(e,t,r){"use strict";r.d(t,{bu:function(){return g},xC:function(){return b},PH:function(){return c},e:function(){return ei},oM:function(){return j},cw:function(){return y}});var n,i=r(9234),o=r(9688);function a(e){return({dispatch:t,getState:r})=>n=>i=>"function"==typeof i?i(t,r,e):n(i)}var u=a();r(257);var l="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!=arguments.length)return"object"==typeof arguments[0]?o.qC:o.qC.apply(null,arguments)};"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function c(e,t){function r(...n){if(t){let r=t(...n);if(!r)throw Error(eo(0));return{type:e,payload:r.payload,..."meta"in r&&{meta:r.meta},..."error"in r&&{error:r.error}}}return{type:e,payload:n[0]}}return r.toString=()=>`${e}`,r.type=e,r.match=t=>(0,o.LG)(t)&&t.type===e,r}var s=class e extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}static get[Symbol.species](){return e}concat(...e){return super.concat.apply(this,e)}prepend(...t){return 1===t.length&&Array.isArray(t[0])?new e(...t[0].concat(this)):new e(...t.concat(this))}};function f(e){return(0,i.o$)(e)?(0,i.Uy)(e,()=>{}):e}function h(e,t,r){return e.has(t)?e.get(t):e.set(t,r(t)).get(t)}var d=()=>function(e){let{thunk:t=!0,immutableCheck:r=!0,serializableCheck:n=!0,actionCreatorCheck:i=!0}=e??{},o=new s;return t&&("boolean"==typeof t?o.push(u):o.push(a(t.extraArgument))),o},p="RTK_autoBatch",y=()=>e=>({payload:e,meta:{[p]:!0}}),v=e=>t=>{setTimeout(t,e)},g=(e={type:"raf"})=>t=>(...r)=>{let n=t(...r),i=!0,o=!1,a=!1,u=new Set,l="tick"===e.type?queueMicrotask:"raf"===e.type?"undefined"!=typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:v(10):"callback"===e.type?e.queueNotification:v(e.timeout),c=()=>{a=!1,o&&(o=!1,u.forEach(e=>e()))};return Object.assign({},n,{subscribe(e){let t=n.subscribe(()=>i&&e());return u.add(e),()=>{t(),u.delete(e)}},dispatch(e){try{return(o=!(i=!e?.meta?.[p]))&&!a&&(a=!0,l(c)),n.dispatch(e)}finally{i=!0}}})},m=e=>function(t){let{autoBatch:r=!0}=t??{},n=new s(e);return r&&n.push(g("object"==typeof r?r:void 0)),n};function b(e){let t,r;let n=d(),{reducer:i,middleware:a,devTools:u=!0,duplicateMiddlewareCheck:c=!0,preloadedState:s,enhancers:f}=e||{};if("function"==typeof i)t=i;else if((0,o.PO)(i))t=(0,o.UY)(i);else throw Error(eo(1));r="function"==typeof a?a(n):n();let h=o.qC;u&&(h=l({trace:!1,..."object"==typeof u&&u}));let p=m((0,o.md)(...r)),y=h(..."function"==typeof f?f(p):p());return(0,o.MT)(t,s,y)}function w(e){let t;let r={},n=[],i={addCase(e,t){let n="string"==typeof e?e:e.type;if(!n)throw Error(eo(28));if(n in r)throw Error(eo(29));return r[n]=t,i},addAsyncThunk:(e,t)=>(t.pending&&(r[e.pending.type]=t.pending),t.rejected&&(r[e.rejected.type]=t.rejected),t.fulfilled&&(r[e.fulfilled.type]=t.fulfilled),t.settled&&n.push({matcher:e.settled,reducer:t.settled}),i),addMatcher:(e,t)=>(n.push({matcher:e,reducer:t}),i),addDefaultCase:e=>(t=e,i)};return e(i),[r,n,t]}var x=(e=21)=>{let t="",r=e;for(;r--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t},O=Symbol.for("rtk-slice-createasyncthunk"),P=((n=P||{}).reducer="reducer",n.reducerWithPrepare="reducerWithPrepare",n.asyncThunk="asyncThunk",n),j=function({creators:e}={}){let t=e?.asyncThunk?.[O];return function(e){let r;let{name:n,reducerPath:o=n}=e;if(!n)throw Error(eo(11));let a=("function"==typeof e.reducers?e.reducers(function(){function e(e,t){return{_reducerDefinitionType:"asyncThunk",payloadCreator:e,...t}}return e.withTypes=()=>e,{reducer:e=>Object.assign({[e.name]:(...t)=>e(...t)}[e.name],{_reducerDefinitionType:"reducer"}),preparedReducer:(e,t)=>({_reducerDefinitionType:"reducerWithPrepare",prepare:e,reducer:t}),asyncThunk:e}}()):e.reducers)||{},u=Object.keys(a),l={},s={},d={},p=[],y={addCase(e,t){let r="string"==typeof e?e:e.type;if(!r)throw Error(eo(12));if(r in s)throw Error(eo(13));return s[r]=t,y},addMatcher:(e,t)=>(p.push({matcher:e,reducer:t}),y),exposeAction:(e,t)=>(d[e]=t,y),exposeCaseReducer:(e,t)=>(l[e]=t,y)};function v(){let[t={},r=[],n]="function"==typeof e.extraReducers?w(e.extraReducers):[e.extraReducers],o={...t,...s};return function(e,t){let r;let[n,o,a]=w(t);if("function"==typeof e)r=()=>f(e());else{let t=f(e);r=()=>t}function u(e=r(),t){let u=[n[t.type],...o.filter(({matcher:e})=>e(t)).map(({reducer:e})=>e)];return 0===u.filter(e=>!!e).length&&(u=[a]),u.reduce((e,r)=>{if(r){if((0,i.mv)(e)){let n=r(e,t);return void 0===n?e:n}if((0,i.o$)(e))return(0,i.Uy)(e,e=>r(e,t));{let n=r(e,t);if(void 0===n){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return n}}return e},e)}return u.getInitialState=r,u}(e.initialState,e=>{for(let t in o)e.addCase(t,o[t]);for(let t of p)e.addMatcher(t.matcher,t.reducer);for(let t of r)e.addMatcher(t.matcher,t.reducer);n&&e.addDefaultCase(n)})}u.forEach(r=>{let i=a[r],o={reducerName:r,type:`${n}/${r}`,createNotation:"function"==typeof e.reducers};"asyncThunk"===i._reducerDefinitionType?function({type:e,reducerName:t},r,n,i){if(!i)throw Error(eo(18));let{payloadCreator:o,fulfilled:a,pending:u,rejected:l,settled:c,options:s}=r,f=i(e,o,s);n.exposeAction(t,f),a&&n.addCase(f.fulfilled,a),u&&n.addCase(f.pending,u),l&&n.addCase(f.rejected,l),c&&n.addMatcher(f.settled,c),n.exposeCaseReducer(t,{fulfilled:a||S,pending:u||S,rejected:l||S,settled:c||S})}(o,i,y,t):function({type:e,reducerName:t,createNotation:r},n,i){let o,a;if("reducer"in n){if(r&&"reducerWithPrepare"!==n._reducerDefinitionType)throw Error(eo(17));o=n.reducer,a=n.prepare}else o=n;i.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,a?c(e,a):c(e))}(o,i,y)});let g=e=>e,m=new Map,b=new WeakMap;function x(e,t){return r||(r=v()),r(e,t)}function O(){return r||(r=v()),r.getInitialState()}function P(t,r=!1){function n(e){let i=e[t];return void 0===i&&r&&(i=h(b,n,O)),i}function i(t=g){let n=h(m,r,()=>new WeakMap);return h(n,t,()=>{let n={};for(let[i,o]of Object.entries(e.selectors??{}))n[i]=function(e,t,r,n){function i(o,...a){let u=t(o);return void 0===u&&n&&(u=r()),e(u,...a)}return i.unwrapped=e,i}(o,t,()=>h(b,t,O),r);return n})}return{reducerPath:t,getSelectors:i,get selectors(){return i(n)},selectSlice:n}}let j={name:n,reducer:x,actions:d,caseReducers:l,getInitialState:O,...P(o),injectInto(e,{reducerPath:t,...r}={}){let n=t??o;return e.inject({reducerPath:n,reducer:x},r),{...j,...P(n,!0)}}};return j}}();function S(){}var _="listener",E="completed",A="cancelled",M=`task-${A}`,k=`task-${E}`,T=`${_}-${A}`,C=`${_}-${E}`,D=class{constructor(e){this.code=e,this.message=`task ${A} (reason: ${e})`}name="TaskAbortError";message},N=(e,t)=>{if("function"!=typeof e)throw TypeError(eo(32))},I=()=>{},z=(e,t=I)=>(e.catch(t),e),R=(e,t)=>(e.addEventListener("abort",t,{once:!0}),()=>e.removeEventListener("abort",t)),L=e=>{if(e.aborted)throw new D(e.reason)};function U(e,t){let r=I;return new Promise((n,i)=>{let o=()=>i(new D(e.reason));if(e.aborted){o();return}r=R(e,o),t.finally(()=>r()).then(n,i)}).finally(()=>{r=I})}var B=async(e,t)=>{try{await Promise.resolve();let t=await e();return{status:"ok",value:t}}catch(e){return{status:e instanceof D?"cancelled":"rejected",error:e}}finally{t?.()}},$=e=>t=>z(U(e,t).then(t=>(L(e),t))),F=e=>{let t=$(e);return e=>t(new Promise(t=>setTimeout(t,e)))},{assign:W}=Object,K={},Z="listenerMiddleware",q=(e,t)=>{let r=t=>R(e,()=>t.abort(e.reason));return(n,i)=>{N(n,"taskExecutor");let o=new AbortController;r(o);let a=B(async()=>{L(e),L(o.signal);let t=await n({pause:$(o.signal),delay:F(o.signal),signal:o.signal});return L(o.signal),t},()=>o.abort(k));return i?.autoJoin&&t.push(a.catch(I)),{result:$(e)(a),cancel(){o.abort(M)}}}},H=(e,t)=>{let r=async(r,n)=>{L(t);let i=()=>{},o=[new Promise((t,n)=>{let o=e({predicate:r,effect:(e,r)=>{r.unsubscribe(),t([e,r.getState(),r.getOriginalState()])}});i=()=>{o(),n()}})];null!=n&&o.push(new Promise(e=>setTimeout(e,n,null)));try{let e=await U(t,Promise.race(o));return L(t),e}finally{i()}};return(e,t)=>z(r(e,t))},V=e=>{let{type:t,actionCreator:r,matcher:n,predicate:i,effect:o}=e;if(t)i=c(t).match;else if(r)t=r.type,i=r.match;else if(n)i=n;else if(i);else throw Error(eo(21));return N(o,"options.listener"),{predicate:i,type:t,effect:o}},X=W(e=>{let{type:t,predicate:r,effect:n}=V(e);return{id:x(),effect:n,type:t,predicate:r,pending:new Set,unsubscribe:()=>{throw Error(eo(22))}}},{withTypes:()=>X}),Y=(e,t)=>{let{type:r,effect:n,predicate:i}=V(t);return Array.from(e.values()).find(e=>("string"==typeof r?e.type===r:e.predicate===i)&&e.effect===n)},G=e=>{e.pending.forEach(e=>{e.abort(T)})},Q=(e,t)=>()=>{for(let e of t.keys())G(e);e.clear()},J=(e,t,r)=>{try{e(t,r)}catch(e){setTimeout(()=>{throw e},0)}},ee=W(c(`${Z}/add`),{withTypes:()=>ee}),et=c(`${Z}/removeAll`),er=W(c(`${Z}/remove`),{withTypes:()=>er}),en=(...e)=>{console.error(`${Z}/error`,...e)},ei=(e={})=>{let t=new Map,r=new Map,n=e=>{let t=r.get(e)??0;r.set(e,t+1)},i=e=>{let t=r.get(e)??1;1===t?r.delete(e):r.set(e,t-1)},{extra:a,onError:u=en}=e;N(u,"onError");let l=e=>(e.unsubscribe=()=>t.delete(e.id),t.set(e.id,e),t=>{e.unsubscribe(),t?.cancelActive&&G(e)}),c=e=>l(Y(t,e)??X(e));W(c,{withTypes:()=>c});let s=e=>{let r=Y(t,e);return r&&(r.unsubscribe(),e.cancelActive&&G(r)),!!r};W(s,{withTypes:()=>s});let f=async(e,r,o,l)=>{let s=new AbortController,f=H(c,s.signal),h=[];try{e.pending.add(s),n(e),await Promise.resolve(e.effect(r,W({},o,{getOriginalState:l,condition:(e,t)=>f(e,t).then(Boolean),take:f,delay:F(s.signal),pause:$(s.signal),extra:a,signal:s.signal,fork:q(s.signal,h),unsubscribe:e.unsubscribe,subscribe:()=>{t.set(e.id,e)},cancelActiveListeners:()=>{e.pending.forEach((e,t,r)=>{e!==s&&(e.abort(T),r.delete(e))})},cancel:()=>{s.abort(T),e.pending.delete(s)},throwIfCancelled:()=>{L(s.signal)}})))}catch(e){e instanceof D||J(u,e,{raisedBy:"effect"})}finally{await Promise.all(h),s.abort(C),i(e),e.pending.delete(s)}},h=Q(t,r);return{middleware:e=>r=>n=>{let i;if(!(0,o.LG)(n))return r(n);if(ee.match(n))return c(n.payload);if(et.match(n)){h();return}if(er.match(n))return s(n.payload);let a=e.getState(),l=()=>{if(a===K)throw Error(eo(23));return a};try{if(i=r(n),t.size>0){let r=e.getState();for(let i of Array.from(t.values())){let t=!1;try{t=i.predicate(n,r,a)}catch(e){t=!1,J(u,e,{raisedBy:"predicate"})}t&&f(i,n,e,l)}}}finally{a=K}return i},startListening:c,stopListening:s,clearListeners:h}};function eo(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}Symbol.for("rtk-state-proxy-original")},9234:function(e,t,r){"use strict";r.d(t,{Uy:function(){return ed},Vk:function(){return eh},mv:function(){return v},o$:function(){return g}});var n,i=Symbol.for("immer-nothing"),o=Symbol.for("immer-draftable"),a=Symbol.for("immer-state");function u(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var l=Object,c=l.getPrototypeOf,s="constructor",f="prototype",h="configurable",d="enumerable",p="writable",y="value",v=e=>!!e&&!!e[a];function g(e){return!!e&&(w(e)||_(e)||!!e[o]||!!e[s]?.[o]||E(e)||A(e))}var m=l[f][s].toString(),b=new WeakMap;function w(e){if(!e||!M(e))return!1;let t=c(e);if(null===t||t===l[f])return!0;let r=l.hasOwnProperty.call(t,s)&&t[s];if(r===Object)return!0;if(!k(r))return!1;let n=b.get(r);return void 0===n&&(n=Function.toString.call(r),b.set(r,n)),n===m}function x(e,t,r=!0){0===O(e)?(r?Reflect.ownKeys(e):l.keys(e)).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function O(e){let t=e[a];return t?t.type_:_(e)?1:E(e)?2:A(e)?3:0}var P=(e,t,r=O(e))=>2===r?e.has(t):l[f].hasOwnProperty.call(e,t),j=(e,t,r=O(e))=>2===r?e.get(t):e[t],S=(e,t,r,n=O(e))=>{2===n?e.set(t,r):3===n?e.add(r):e[t]=r},_=Array.isArray,E=e=>e instanceof Map,A=e=>e instanceof Set,M=e=>"object"==typeof e,k=e=>"function"==typeof e,T=e=>"boolean"==typeof e,C=e=>e.copy_||e.base_,D=e=>e.modified_?e.copy_:e.base_;function N(e,t){if(E(e))return new Map(e);if(A(e))return new Set(e);if(_(e))return Array[f].slice.call(e);let r=w(e);if(!0!==t&&("class_only"!==t||r)){let t=c(e);if(null!==t&&r)return{...e};let n=l.create(t);return l.assign(n,e)}{let t=l.getOwnPropertyDescriptors(e);delete t[a];let r=Reflect.ownKeys(t);for(let n=0;n1&&l.defineProperties(e,{set:z,add:z,clear:z,delete:z}),l.freeze(e),t&&x(e,(e,t)=>{I(t,!0)},!1)),e}var z={[y]:function(){u(2)}};function R(e){return!(null!==e&&M(e))||l.isFrozen(e)}var L="MapSet",U="Patches",B="ArrayMethods",$={};function F(e){let t=$[e];return t||u(0,e),t}var W=e=>!!$[e],K=()=>n,Z=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:W(L)?F(L):void 0,arrayMethodsPlugin_:W(B)?F(B):void 0});function q(e,t){t&&(e.patchPlugin_=F(U),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function H(e){V(e),e.drafts_.forEach(Y),e.drafts_=null}function V(e){e===n&&(n=e.parent_)}var X=e=>n=Z(n,e);function Y(e){let t=e[a];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function G(e,t){t.unfinalizedDrafts_=t.drafts_.length;let r=t.drafts_[0];if(void 0!==e&&e!==r){r[a].modified_&&(H(t),u(4)),g(e)&&(e=Q(t,e));let{patchPlugin_:n}=t;n&&n.generateReplacementPatches_(r[a].base_,e,t)}else e=Q(t,r);return function(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&I(t,r)}(t,e,!0),H(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==i?e:void 0}function Q(e,t){if(R(t))return t;let r=t[a];if(!r)return ei(t,e.handledSet_,e);if(!ee(r,e))return t;if(!r.modified_)return r.base_;if(!r.finalized_){let{callbacks_:t}=r;if(t)for(;t.length>0;)t.pop()(e);en(r,e)}return r.copy_}function J(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var ee=(e,t)=>e.scope_===t,et=[];function er(e,t,r,n){let i=C(e),o=e.type_;if(void 0!==n&&j(i,n,o)===t){S(i,n,r,o);return}if(!e.draftLocations_){let t=e.draftLocations_=new Map;x(i,(e,r)=>{if(v(r)){let n=t.get(r)||[];n.push(e),t.set(r,n)}})}for(let n of e.draftLocations_.get(t)??et)S(i,n,r,o)}function en(e,t){if(e.modified_&&!e.finalized_&&(3===e.type_||1===e.type_&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:r}=t;if(r){let n=r.getPath(e);n&&r.generatePatches_(e,n,t)}J(e)}}function ei(e,t,r){return!r.immer_.autoFreeze_&&r.unfinalizedDrafts_<1||v(e)||t.has(e)||!g(e)||R(e)||(t.add(e),x(e,(n,i)=>{if(v(i)){let t=i[a];ee(t,r)&&(S(e,n,D(t),e.type_),J(t))}else g(i)&&ei(i,t,r)})),e}var eo={get(e,t){if(t===a)return e;let r=e.scope_.arrayMethodsPlugin_,n=1===e.type_&&"string"==typeof t;if(n&&r?.isArrayOperationMethod(t))return r.createMethodInterceptor(e,t);let i=C(e);if(!P(i,t,e.type_))return function(e,t,r){let n=el(t,r);return n?y in n?n[y]:n.get?.call(e.draft_):void 0}(e,i,t);let o=i[t];if(e.finalized_||!g(o)||n&&e.operationMethod&&r?.isMutatingArrayMethod(e.operationMethod)&&function(e){let t=+e;return Number.isInteger(t)&&String(t)===e}(t))return o;if(o===eu(e.base_,t)){es(e);let r=1===e.type_?+t:t,n=ef(e.scope_,o,e,r);return e.copy_[r]=n}return o},has:(e,t)=>t in C(e),ownKeys:e=>Reflect.ownKeys(C(e)),set(e,t,r){let n=el(C(e),t);if(n?.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){let n=eu(C(e),t),i=n?.[a];if(i&&i.base_===r)return e.copy_[t]=r,e.assigned_.set(t,!1),!0;if((r===n?0!==r||1/r==1/n:r!=r&&n!=n)&&(void 0!==r||P(e.base_,t,e.type_)))return!0;es(e),ec(e)}return!!(e.copy_[t]===r&&(void 0!==r||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t]))||(e.copy_[t]=r,e.assigned_.set(t,!0),!function(e,t,r){let{scope_:n}=e;if(v(r)){let i=r[a];ee(i,n)&&i.callbacks_.push(function(){es(e),er(e,r,D(i),t)})}else g(r)&&e.callbacks_.push(function(){let i=C(e);3===e.type_?i.has(r)&&ei(r,n.handledSet_,n):j(i,t,e.type_)===r&&n.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&ei(j(e.copy_,t,e.type_),n.handledSet_,n)})}(e,t,r),!0)},deleteProperty:(e,t)=>(es(e),void 0!==eu(e.base_,t)||t in e.base_?(e.assigned_.set(t,!1),ec(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){let r=C(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{[p]:!0,[h]:1!==e.type_||"length"!==t,[d]:n[d],[y]:r[t]}:n},defineProperty(){u(11)},getPrototypeOf:e=>c(e.base_),setPrototypeOf(){u(12)}},ea={};for(let e in eo){let t=eo[e];ea[e]=function(){let e=arguments;return e[0]=e[0][0],t.apply(this,e)}}function eu(e,t){let r=e[a];return(r?C(r):e)[t]}function el(e,t){if(!(t in e))return;let r=c(e);for(;r;){let e=Object.getOwnPropertyDescriptor(r,t);if(e)return e;r=c(r)}}function ec(e){!e.modified_&&(e.modified_=!0,e.parent_&&ec(e.parent_))}function es(e){e.copy_||(e.assigned_=new Map,e.copy_=N(e.base_,e.scope_.immer_.useStrictShallowCopy_))}function ef(e,t,r,n){let[i,o]=E(t)?F(L).proxyMap_(t,r):A(t)?F(L).proxySet_(t,r):function(e,t){let r=_(e),n={type_:r?1:0,scope_:t?t.scope_:K(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=n,o=eo;r&&(i=[n],o=ea);let{revoke:a,proxy:u}=Proxy.revocable(i,o);return n.draft_=u,n.revoke_=a,[u,n]}(t,r);return(r?.scope_??K()).drafts_.push(i),o.callbacks_=r?.callbacks_??[],o.key_=n,r&&void 0!==n?function(e,t,r){e.callbacks_.push(function(n){if(!t||!ee(t,n))return;n.mapSetPlugin_?.fixSetContents(t);let i=D(t);er(e,t.draft_??t,i,r),en(t,n)})}(r,o,n):o.callbacks_.push(function(e){e.mapSetPlugin_?.fixSetContents(o);let{patchPlugin_:t}=e;o.modified_&&t&&t.generatePatches_(o,[],e)}),i}function eh(e){return v(e)||u(10,e),function e(t){let r;if(!g(t)||R(t))return t;let n=t[a],i=!0;if(n){if(!n.modified_)return n.base_;n.finalized_=!0,r=N(t,n.scope_.immer_.useStrictShallowCopy_),i=n.scope_.immer_.shouldUseStrictIteration()}else r=N(t,!0);return x(r,(t,n)=>{S(r,t,e(n))},i),n&&(n.finalized_=!1),r}(e)}ea.deleteProperty=function(e,t){return ea.set.call(this,e,t,void 0)},ea.set=function(e,t,r){return eo.set.call(this,e[0],t,r,e[0])};var ed=new class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,t,r)=>{let n;if(k(e)&&!k(t)){let r=t;t=e;let n=this;return function(e=r,...i){return n.produce(e,e=>t.call(this,e,...i))}}if(k(t)||u(6),void 0===r||k(r)||u(7),g(e)){let i=X(this),o=ef(i,e,void 0),a=!0;try{n=t(o),a=!1}finally{a?H(i):V(i)}return q(i,r),G(n,i)}if(e&&M(e))u(1,e);else{if(void 0===(n=t(e))&&(n=e),n===i&&(n=void 0),this.autoFreeze_&&I(n,!0),r){let t=[],i=[];F(U).generateReplacementPatches_(e,n,{patches_:t,inversePatches_:i}),r(t,i)}return n}},this.produceWithPatches=(e,t)=>{let r,n;return k(e)?(t,...r)=>this.produceWithPatches(t,t=>e(t,...r)):[this.produce(e,t,(e,t)=>{r=e,n=t}),r,n]},T(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),T(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),T(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){g(e)||u(8),v(e)&&(e=eh(e));let t=X(this),r=ef(t,e,void 0);return r[a].isManual_=!0,V(t),r}finishDraft(e,t){let r=e&&e[a];r&&r.isManual_||u(9);let{scope_:n}=r;return q(n,t),G(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){let n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));let n=F(U).applyPatches_;return v(e)?n(e,t):this.produce(e,e=>n(e,t))}}().produce},2516:function(e,t,r){"use strict";function n(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}r.d(t,{Z:function(){return n}}),Array.prototype.slice},6115:function(e,t,r){"use strict";function n(e){return function(){return e}}r.d(t,{Z:function(){return n}})},7790:function(e,t,r){"use strict";r.d(t,{d:function(){return l}});let n=Math.PI,i=2*n,o=i-1e-6;function a(e){this._+=e[0];for(let t=1,r=e.length;t=0))throw Error(`invalid digits: ${e}`);if(t>15)return a;let r=10**t;return function(e){this._+=e[0];for(let t=1,n=e.length;t1e-6){if(Math.abs(f*l-c*s)>1e-6&&o){let d=r-a,p=i-u,y=l*l+c*c,v=Math.sqrt(y),g=Math.sqrt(h),m=o*Math.tan((n-Math.acos((y+h-(d*d+p*p))/(2*v*g)))/2),b=m/g,w=m/v;Math.abs(b-1)>1e-6&&this._append`L${e+b*s},${t+b*f}`,this._append`A${o},${o},0,0,${+(f*d>s*p)},${this._x1=e+w*l},${this._y1=t+w*c}`}else this._append`L${this._x1=e},${this._y1=t}`}}arc(e,t,r,a,u,l){if(e=+e,t=+t,l=!!l,(r=+r)<0)throw Error(`negative radius: ${r}`);let c=r*Math.cos(a),s=r*Math.sin(a),f=e+c,h=t+s,d=1^l,p=l?a-u:u-a;null===this._x1?this._append`M${f},${h}`:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-h)>1e-6)&&this._append`L${f},${h}`,r&&(p<0&&(p=p%i+i),p>o?this._append`A${r},${r},0,1,${d},${e-c},${t-s}A${r},${r},0,1,${d},${this._x1=f},${this._y1=h}`:p>1e-6&&this._append`A${r},${r},0,${+(p>=n)},${d},${this._x1=e+r*Math.cos(u)},${this._y1=t+r*Math.sin(u)}`)}rect(e,t,r,n){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${r=+r}v${+n}h${-r}Z`}toString(){return this._}}function l(e){let t=3;return e.digits=function(r){if(!arguments.length)return t;if(null==r)t=null;else{let e=Math.floor(r);if(!(e>=0))throw RangeError(`invalid digits: ${r}`);t=e}return e},()=>new u(t)}u.prototype},418:function(e,t,r){"use strict";r.d(t,{cA:function(){return W}});var n,i=Symbol.for("immer-nothing"),o=Symbol.for("immer-draftable"),a=Symbol.for("immer-state");function u(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var l=Object.getPrototypeOf;function c(e){return!!e&&!!e[a]}function s(e){return!!e&&(d(e)||Array.isArray(e)||!!e[o]||!!e.constructor?.[o]||m(e)||b(e))}var f=Object.prototype.constructor.toString(),h=new WeakMap;function d(e){if(!e||"object"!=typeof e)return!1;let t=Object.getPrototypeOf(e);if(null===t||t===Object.prototype)return!0;let r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;if(r===Object)return!0;if("function"!=typeof r)return!1;let n=h.get(r);return void 0===n&&(n=Function.toString.call(r),h.set(r,n)),n===f}function p(e,t,r=!0){0===y(e)?(r?Reflect.ownKeys(e):Object.keys(e)).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function y(e){let t=e[a];return t?t.type_:Array.isArray(e)?1:m(e)?2:b(e)?3:0}function v(e,t){return 2===y(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function g(e,t,r){let n=y(e);2===n?e.set(t,r):3===n?e.add(r):e[t]=r}function m(e){return e instanceof Map}function b(e){return e instanceof Set}function w(e){return e.copy_||e.base_}function x(e,t){if(m(e))return new Map(e);if(b(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);let r=d(e);if(!0!==t&&("class_only"!==t||r)){let t=l(e);return null!==t&&r?{...e}:Object.assign(Object.create(t),e)}{let t=Object.getOwnPropertyDescriptors(e);delete t[a];let r=Reflect.ownKeys(t);for(let n=0;n1&&Object.defineProperties(e,{set:P,add:P,clear:P,delete:P}),Object.freeze(e),t&&Object.values(e).forEach(e=>O(e,!0))),e}var P={value:function(){u(2)}};function j(e){return null===e||"object"!=typeof e||Object.isFrozen(e)}var S={};function _(e){let t=S[e];return t||u(0,e),t}function E(e,t){t&&(_("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function A(e){M(e),e.drafts_.forEach(T),e.drafts_=null}function M(e){e===n&&(n=e.parent_)}function k(e){return n={drafts_:[],parent_:n,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function T(e){let t=e[a];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function C(e,t){t.unfinalizedDrafts_=t.drafts_.length;let r=t.drafts_[0];return void 0!==e&&e!==r?(r[a].modified_&&(A(t),u(4)),s(e)&&(e=D(t,e),t.parent_||I(t,e)),t.patches_&&_("Patches").generateReplacementPatches_(r[a].base_,e,t.patches_,t.inversePatches_)):e=D(t,r,[]),A(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==i?e:void 0}function D(e,t,r){if(j(t))return t;let n=e.immer_.shouldUseStrictIteration(),i=t[a];if(!i)return p(t,(n,o)=>N(e,i,t,n,o,r),n),t;if(i.scope_!==e)return t;if(!i.modified_)return I(e,i.base_,!0),i.base_;if(!i.finalized_){i.finalized_=!0,i.scope_.unfinalizedDrafts_--;let t=i.copy_,o=t,a=!1;3===i.type_&&(o=new Set(t),t.clear(),a=!0),p(o,(n,o)=>N(e,i,t,n,o,r,a),n),I(e,t,!1),r&&e.patches_&&_("Patches").generatePatches_(i,r,e.patches_,e.inversePatches_)}return i.copy_}function N(e,t,r,n,i,o,a){if(null==i||"object"!=typeof i&&!a)return;let u=j(i);if(!u||a){if(c(i)){let a=D(e,i,o&&t&&3!==t.type_&&!v(t.assigned_,n)?o.concat(n):void 0);if(g(r,n,a),!c(a))return;e.canAutoFreeze_=!1}else a&&r.add(i);if(s(i)&&!u){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1||t&&t.base_&&t.base_[n]===i&&u)return;D(e,i),(!t||!t.scope_.parent_)&&"symbol"!=typeof n&&(m(r)?r.has(n):Object.prototype.propertyIsEnumerable.call(r,n))&&I(e,i)}}}function I(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&O(t,r)}var z={get(e,t){if(t===a)return e;let r=w(e);if(!v(r,t))return function(e,t,r){let n=U(t,r);return n?"value"in n?n.value:n.get?.call(e.draft_):void 0}(e,r,t);let n=r[t];return e.finalized_||!s(n)?n:n===L(e.base_,t)?($(e),e.copy_[t]=F(n,e)):n},has:(e,t)=>t in w(e),ownKeys:e=>Reflect.ownKeys(w(e)),set(e,t,r){let n=U(w(e),t);if(n?.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){let n=L(w(e),t),i=n?.[a];if(i&&i.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if((r===n?0!==r||1/r==1/n:r!=r&&n!=n)&&(void 0!==r||v(e.base_,t)))return!0;$(e),B(e)}return!!(e.copy_[t]===r&&(void 0!==r||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t]))||(e.copy_[t]=r,e.assigned_[t]=!0,!0)},deleteProperty:(e,t)=>(void 0!==L(e.base_,t)||t in e.base_?(e.assigned_[t]=!1,$(e),B(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){let r=w(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty(){u(11)},getPrototypeOf:e=>l(e.base_),setPrototypeOf(){u(12)}},R={};function L(e,t){let r=e[a];return(r?w(r):e)[t]}function U(e,t){if(!(t in e))return;let r=l(e);for(;r;){let e=Object.getOwnPropertyDescriptor(r,t);if(e)return e;r=l(r)}}function B(e){!e.modified_&&(e.modified_=!0,e.parent_&&B(e.parent_))}function $(e){e.copy_||(e.copy_=x(e.base_,e.scope_.immer_.useStrictShallowCopy_))}function F(e,t){let r=m(e)?_("MapSet").proxyMap_(e,t):b(e)?_("MapSet").proxySet_(e,t):function(e,t){let r=Array.isArray(e),i={type_:r?1:0,scope_:t?t.scope_:n,modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1},o=i,a=z;r&&(o=[i],a=R);let{revoke:u,proxy:l}=Proxy.revocable(o,a);return i.draft_=l,i.revoke_=u,l}(e,t);return(t?t.scope_:n).drafts_.push(r),r}function W(e){return e}p(z,(e,t)=>{R[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),R.deleteProperty=function(e,t){return R.set.call(this,e,t,void 0)},R.set=function(e,t,r){return z.set.call(this,e[0],t,r,e[0])},new class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!0,this.produce=(e,t,r)=>{let n;if("function"==typeof e&&"function"!=typeof t){let r=t;t=e;let n=this;return function(e=r,...i){return n.produce(e,e=>t.call(this,e,...i))}}if("function"!=typeof t&&u(6),void 0!==r&&"function"!=typeof r&&u(7),s(e)){let i=k(this),o=F(e,void 0),a=!0;try{n=t(o),a=!1}finally{a?A(i):M(i)}return E(i,r),C(n,i)}if(e&&"object"==typeof e)u(1,e);else{if(void 0===(n=t(e))&&(n=e),n===i&&(n=void 0),this.autoFreeze_&&O(n,!0),r){let t=[],i=[];_("Patches").generateReplacementPatches_(e,n,t,i),r(t,i)}return n}},this.produceWithPatches=(e,t)=>{let r,n;return"function"==typeof e?(t,...r)=>this.produceWithPatches(t,t=>e(t,...r)):[this.produce(e,t,(e,t)=>{r=e,n=t}),r,n]},"boolean"==typeof e?.autoFreeze&&this.setAutoFreeze(e.autoFreeze),"boolean"==typeof e?.useStrictShallowCopy&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),"boolean"==typeof e?.useStrictIteration&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){var t;s(e)||u(8),c(e)&&(c(t=e)||u(10,t),e=function e(t){let r;if(!s(t)||j(t))return t;let n=t[a],i=!0;if(n){if(!n.modified_)return n.base_;n.finalized_=!0,r=x(t,n.scope_.immer_.useStrictShallowCopy_),i=n.scope_.immer_.shouldUseStrictIteration()}else r=x(t,!0);return p(r,(t,n)=>{g(r,t,e(n))},i),n&&(n.finalized_=!1),r}(t));let r=k(this),n=F(e,void 0);return n[a].isManual_=!0,M(r),n}finishDraft(e,t){let r=e&&e[a];r&&r.isManual_||u(9);let{scope_:n}=r;return E(n,t),C(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){let n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));let n=_("Patches").applyPatches_;return c(e)?n(e,t):this.produce(e,e=>n(e,t))}}().produce},9688:function(e,t,r){"use strict";function n(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}r.d(t,{LG:function(){return h},MT:function(){return l},PO:function(){return u},UY:function(){return c},md:function(){return f},qC:function(){return s}});var i="function"==typeof Symbol&&Symbol.observable||"@@observable",o=()=>Math.random().toString(36).substring(7).split("").join("."),a={INIT:`@@redux/INIT${o()}`,REPLACE:`@@redux/REPLACE${o()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${o()}`};function u(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}function l(e,t,r){if("function"!=typeof e)throw Error(n(2));if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw Error(n(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw Error(n(1));return r(l)(e,t)}let o=e,c=t,s=new Map,f=s,h=0,d=!1;function p(){f===s&&(f=new Map,s.forEach((e,t)=>{f.set(t,e)}))}function y(){if(d)throw Error(n(3));return c}function v(e){if("function"!=typeof e)throw Error(n(4));if(d)throw Error(n(5));let t=!0;p();let r=h++;return f.set(r,e),function(){if(t){if(d)throw Error(n(6));t=!1,p(),f.delete(r),s=null}}}function g(e){if(!u(e))throw Error(n(7));if(void 0===e.type)throw Error(n(8));if("string"!=typeof e.type)throw Error(n(17));if(d)throw Error(n(9));try{d=!0,c=o(c,e)}finally{d=!1}return(s=f).forEach(e=>{e()}),e}return g({type:a.INIT}),{dispatch:g,subscribe:v,getState:y,replaceReducer:function(e){if("function"!=typeof e)throw Error(n(10));o=e,g({type:a.REPLACE})},[i]:function(){return{subscribe(e){if("object"!=typeof e||null===e)throw Error(n(11));function t(){e.next&&e.next(y())}return t(),{unsubscribe:v(t)}},[i](){return this}}}}}function c(e){let t;let r=Object.keys(e),i={};for(let t=0;t{let r=e[t];if(void 0===r(void 0,{type:a.INIT}))throw Error(n(12));if(void 0===r(void 0,{type:a.PROBE_UNKNOWN_ACTION()}))throw Error(n(13))})}(i)}catch(e){t=e}return function(e={},r){if(t)throw t;let a=!1,u={};for(let t=0;te:1===e.length?e[0]:e.reduce((e,t)=>(...r)=>e(t(...r)))}function f(...e){return t=>(r,i)=>{let o=t(r,i),a=()=>{throw Error(n(15))},u={getState:o.getState,dispatch:(e,...t)=>a(e,...t)};return a=s(...e.map(e=>e(u)))(o.dispatch),{...o,dispatch:a}}}function h(e){return u(e)&&"type"in e&&"string"==typeof e.type}},2713:function(e,t,r){"use strict";r.d(t,{P1:function(){return w}});var n=e=>Array.isArray(e)?e:[e],i=0,o=class{revision=i;_value;_lastValue;_isEqual=a;constructor(e,t=a){this._value=this._lastValue=e,this._isEqual=t}get value(){return this._value}set value(e){this.value!==e&&(this._value=e,this.revision=++i)}};function a(e,t){return e===t}function u(e){return e instanceof o||console.warn("Not a valid cell! ",e),e.value}var l=(e,t)=>!1;function c(){return function(e,t=a){return new o(null,t)}(0,l)}var s=e=>{let t=e.collectionTag;null===t&&(t=e.collectionTag=c()),u(t)};Symbol();var f=0,h=Object.getPrototypeOf({}),d=class{constructor(e){this.value=e,this.value=e,this.tag.value=e}proxy=new Proxy(this,p);tag=c();tags={};children={};collectionTag=null;id=f++},p={get:(e,t)=>(function(){let{value:r}=e,n=Reflect.get(r,t);if("symbol"==typeof t||t in h)return n;if("object"==typeof n&&null!==n){let r=e.children[t];return void 0===r&&(r=e.children[t]=Array.isArray(n)?new y(n):new d(n)),r.tag&&u(r.tag),r.proxy}{let r=e.tags[t];return void 0===r&&((r=e.tags[t]=c()).value=n),u(r),n}})(),ownKeys:e=>(s(e),Reflect.ownKeys(e.value)),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(e.value,t),has:(e,t)=>Reflect.has(e.value,t)},y=class{constructor(e){this.value=e,this.value=e,this.tag.value=e}proxy=new Proxy([this],v);tag=c();tags={};children={};collectionTag=null;id=f++},v={get:([e],t)=>("length"===t&&s(e),p.get(e,t)),ownKeys:([e])=>p.ownKeys(e),getOwnPropertyDescriptor:([e],t)=>p.getOwnPropertyDescriptor(e,t),has:([e],t)=>p.has(e,t)},g="undefined"!=typeof WeakRef?WeakRef:class{constructor(e){this.value=e}deref(){return this.value}};function m(){return{s:0,v:void 0,o:null,p:null}}function b(e,t={}){let r,n=m(),{resultEqualityCheck:i}=t,o=0;function a(){let t,a=n,{length:u}=arguments;for(let e=0;e{n=m(),a.resetResultsCount()},a.resultsCount=()=>o,a.resetResultsCount=()=>{o=0},a}var w=function(e,...t){let r="function"==typeof e?{memoize:e,memoizeOptions:t}:e,i=(...e)=>{let t,i=0,o=0,a={},u=e.pop();"object"==typeof u&&(a=u,u=e.pop()),function(e,t=`expected a function, instead received ${typeof e}`){if("function"!=typeof e)throw TypeError(t)}(u,`createSelector expects an output function after the inputs, but received: [${typeof u}]`);let{memoize:l,memoizeOptions:c=[],argsMemoize:s=b,argsMemoizeOptions:f=[],devModeChecks:h={}}={...r,...a},d=n(c),p=n(f),y=function(e){let t=Array.isArray(e[0])?e[0]:e;return!function(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(e=>"function"==typeof e)){let r=e.map(e=>"function"==typeof e?`function ${e.name||"unnamed"}()`:typeof e).join(", ");throw TypeError(`${t}[${r}]`)}}(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}(e),v=l(function(){return i++,u.apply(null,arguments)},...d);return Object.assign(s(function(){o++;let e=function(e,t){let r=[],{length:n}=e;for(let i=0;io,resetDependencyRecomputations:()=>{o=0},lastResult:()=>t,recomputations:()=>i,resetRecomputations:()=>{i=0},memoize:l,argsMemoize:s})};return Object.assign(i,{withTypes:()=>i}),i}(b),x=Object.assign((e,t=w)=>{!function(e,t=`expected an object, instead received ${typeof e}`){if("object"!=typeof e)throw TypeError(t)}(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);let r=Object.keys(e);return t(r.map(t=>e[t]),(...e)=>e.reduce((e,t,n)=>(e[r[n]]=t,e),{}))},{withTypes:()=>x})}}]);