PageSourceSearch

https://demo-dashbord-eight.vercel.app/_next/static/chunks/0e32f3c9f4abae44.js

js demo-dashbord-eight.vercel.app collected 2026-10-03 06:41:19 UTC 404,192 bytes, 5 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,15288,t=>{"use strict";var e=t.i(43476),r=t.i(932),n=t.i(75157);function i(t){let i,o,a,u,c=(0,r.c)(8);return c[0]!==t?({className:i,...o}=t,c[0]=t,c[1]=i,c[2]=o):(i=c[1],o=c[2]),c[3]!==i?(a=(0,n.cn)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",i),c[3]=i,c[4]=a):a=c[4],c[5]!==o||c[6]!==a?(u=(0,e.jsx)("div",{"data-slot":"card",className:a,...o}),c[5]=o,c[6]=a,c[7]=u):u=c[7],u}function o(t){let i,o,a,u,c=(0,r.c)(8);return c[0]!==t?({className:i,...o}=t,c[0]=t,c[1]=i,c[2]=o):(i=c[1],o=c[2]),c[3]!==i?(a=(0,n.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",i),c[3]=i,c[4]=a):a=c[4],c[5]!==o||c[6]!==a?(u=(0,e.jsx)("div",{"data-slot":"card-header",className:a,...o}),c[5]=o,c[6]=a,c[7]=u):u=c[7],u}function a(t){let i,o,a,u,c=(0,r.c)(8);return c[0]!==t?({className:i,...o}=t,c[0]=t,c[1]=i,c[2]=o):(i=c[1],o=c[2]),c[3]!==i?(a=(0,n.cn)("leading-none font-semibold",i),c[3]=i,c[4]=a):a=c[4],c[5]!==o||c[6]!==a?(u=(0,e.jsx)("div",{"data-slot":"card-title",className:a,...o}),c[5]=o,c[6]=a,c[7]=u):u=c[7],u}function u(t){let i,o,a,u,c=(0,r.c)(8);return c[0]!==t?({className:i,...o}=t,c[0]=t,c[1]=i,c[2]=o):(i=c[1],o=c[2]),c[3]!==i?(a=(0,n.cn)("text-muted-foreground text-sm",i),c[3]=i,c[4]=a):a=c[4],c[5]!==o||c[6]!==a?(u=(0,e.jsx)("div",{"data-slot":"card-description",className:a,...o}),c[5]=o,c[6]=a,c[7]=u):u=c[7],u}function c(t){let i,o,a,u,c=(0,r.c)(8);return c[0]!==t?({className:i,...o}=t,c[0]=t,c[1]=i,c[2]=o):(i=c[1],o=c[2]),c[3]!==i?(a=(0,n.cn)("col-start-2 row-span-2 row-start-1 self-start justify-self-end",i),c[3]=i,c[4]=a):a=c[4],c[5]!==o||c[6]!==a?(u=(0,e.jsx)("div",{"data-slot":"card-action",className:a,...o}),c[5]=o,c[6]=a,c[7]=u):u=c[7],u}function l(t){let i,o,a,u,c=(0,r.c)(8);return c[0]!==t?({className:i,...o}=t,c[0]=t,c[1]=i,c[2]=o):(i=c[1],o=c[2]),c[3]!==i?(a=(0,n.cn)("px-6",i),c[3]=i,c[4]=a):a=c[4],c[5]!==o||c[6]!==a?(u=(0,e.jsx)("div",{"data-slot":"card-content",className:a,...o}),c[5]=o,c[6]=a,c[7]=u):u=c[7],u}function s(t){let i,o,a,u,c=(0,r.c)(8);return c[0]!==t?({className:i,...o}=t,c[0]=t,c[1]=i,c[2]=o):(i=c[1],o=c[2]),c[3]!==i?(a=(0,n.cn)("flex items-center px-6 [.border-t]:pt-6",i),c[3]=i,c[4]=a):a=c[4],c[5]!==o||c[6]!==a?(u=(0,e.jsx)("div",{"data-slot":"card-footer",className:a,...o}),c[5]=o,c[6]=a,c[7]=u):u=c[7],u}t.s(["Card",()=>i,"CardAction",()=>c,"CardContent",()=>l,"CardDescription",()=>u,"CardFooter",()=>s,"CardHeader",()=>o,"CardTitle",()=>a])},32189,(t,e,r)=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},65156,(t,e,r)=>{"use strict";var n=t.r(32189);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function t(t,e,r,i,o,a){if(a!==n){var u=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function e(){return t}t.isRequired=t;var r={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:o,resetWarningCache:i}
1;return r.PropTypes=r,r}},45009,(t,e,r)=>{e.exports=t.r(65156)()},73050,t=>{"use strict";var e=t.i(71645),r=t.i(45009);let{getOwnPropertyNames:n,getOwnPropertySymbols:i}=Object,{hasOwnProperty:o}=Object.prototype;function a(t,e){return function(r,n,i){return t(r,n,i)&&e(r,n,i)}}function u(t){return function(e,r,n){if(!e||!r||"object"!=typeof e||"object"!=typeof r)return t(e,r,n);let{cache:i}=n,o=i.get(e),a=i.get(r);if(o&&a)return o===r&&a===e;i.set(e,r),i.set(r,e);let u=t(e,r,n);return i.delete(e),i.delete(r),u}}function c(t){return n(t).concat(i(t))}let l=Object.hasOwn||((t,e)=>o.call(t,e));function s(t,e){return t===e||!t&&!e&&t!=t&&e!=e}let{getOwnPropertyDescriptor:f,keys:p}=Object;function d(t,e){return t.byteLength===e.byteLength&&P(new Uint8Array(t),new Uint8Array(e))}function h(t,e,r){let n=t.length;if(e.length!==n)return!1;for(;n-- >0;)if(!r.equals(t[n],e[n],n,n,t,e,r))return!1;return!0}function y(t,e){return t.byteLength===e.byteLength&&P(new Uint8Array(t.buffer,t.byteOffset,t.byteLength),new Uint8Array(e.buffer,e.byteOffset,e.byteLength))}function v(t,e){return s(t.getTime(),e.getTime())}function m(t,e){return t.name===e.name&&t.message===e.message&&t.cause===e.cause&&t.stack===e.stack}function b(t,e){return t===e}function g(t,e,r){let n,i,o=t.size;if(o!==e.size)return!1;if(!o)return!0;let a=Array(o),u=t.entries(),c=0;for(;(n=u.next())&&!n.done;){let o=e.entries(),u=!1,l=0;for(;(i=o.next())&&!i.done;){if(a[l]){l++;continue}let o=n.value,s=i.value;if(r.equals(o[0],s[0],c,l,t,e,r)&&r.equals(o[1],s[1],o[0],s[0],t,e,r)){u=a[l]=!0;break}l++}if(!u)return!1;c++}return!0}function x(t,e,r){let n=p(t),i=n.length;if(p(e).length!==i)return!1;for(;i-- >0;)if(!A(t,e,r,n[i]))return!1;return!0}function O(t,e,r){let n,i,o,a=c(t),u=a.length;if(c(e).length!==u)return!1;for(;u-- >0;)if(!A(t,e,r,n=a[u])||(i=f(t,n),o=f(e,n),(i||o)&&(!i||!o||i.configurable!==o.configurable||i.enumerable!==o.enumerable||i.writable!==o.writable)))return!1;return!0}function w(t,e){return s(t.valueOf(),e.valueOf())}function S(t,e){return t.source===e.source&&t.flags===e.flags}function j(t,e,r){let n,i,o=t.size;if(o!==e.size)return!1;if(!o)return!0;let a=Array(o),u=t.values();for(;(n=u.next())&&!n.done;){let o=e.values(),u=!1,c=0;for(;(i=o.next())&&!i.done;){if(!a[c]&&r.equals(n.value,i.value,n.value,i.value,t,e,r)){u=a[c]=!0;break}c++}if(!u)return!1}return!0}function P(t,e){let r=t.byteLength;if(e.byteLength!==r||t.byteOffset!==e.byteOffset)return!1;for(;r-- >0;)if(t[r]!==e[r])return!1;return!0}function E(t,e){return t.hostname===e.hostname&&t.pathname===e.pathname&&t.protocol===e.protocol&&t.port===e.port&&t.hash===e.hash&&t.username===e.username&&t.password===e.password}function A(t,e,r,n){return("_owner"===n||"__o"===n||"__v"===n)&&(!!t.$$typeof||!!e.$$typeof)||l(e,n)&&r.equals(t[n],e[n],n,n,t,e,r)}let k={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},T=Object.prototype.toString,M=_();function _(t={}){let{circular:e=!1,createInternalComparator:r,createState:n,strict:i=!1}=t,o=function({areArrayBuffersEqual:t,areArraysEqual:e,areDataViewsEqual:r,areDatesEqual:n,areErrorsEqual:i,areFunctionsEqual:o,areMapsEqual:a,areNumbersEqual:u,areObjectsEqual:c,arePrimitiveWrappersEqual:l,areRegExpsEqual:s,areSetsEqual:f,areTypedArraysEqual:p,areUrlsEqual:d,unknownTagComparators:h}){return function(y,v,m){if(y===v)return!0;if(null==y||null==v)return!1;let b=typeof y;if(b!==typeof v)return!1;if("object"!==b)return"number"===b?u(y,v,m):"function"===b&&o(y,v,m);let g=y.constructor;if(g!==v.constructor)return!1;if(g===Object)return c(y,v,m);if(Array.isArray(y))return e(y,v,m);if(g===Date)return n(y,v,m);if(g===RegExp)return s(y,v,m);if(g===Map)return a(y,v,m);if(g===Set)return f(y,v,m);let x=T.call(y);if("[object Date]"===x)return n(y,v,m);if("[object RegExp]"===x)return s(y,v,m);if("[object Map]"===x)return a(y,v,m);if("[object Set]"===x)return f(y,v,m);if("[object Object]"===x)return"function"!=typeof y.then&&"function"!=typeof v.then&&c(y,v,m);if("[object URL]"===x)return d(y,v,m);if("[object Error]"===x)return i(y,v,m);if("[object Arguments]"===x)return c(y,v,m);if(k[x])return p(y,v,m);if("[object ArrayBuffer]"===x)return t(y,v,m);if("[object DataView]"===x)return r(y,v,m);if("[object Boolean]"===x||"[object Number]"===x||"[object String]"===x)return l(y,v,m);if(h){let t=h[x];if(!t){let e=null!=y?y[Symbol.toStringTag]:void 0;e&&(t=h[e])}if(t)return t(y,v,m)}return!1}}(function({circular:t,createCustomConfig:e,strict:r}){let n={areArrayBuffersEqual:d,areArraysEqual:r?O:h,areDataViewsEqual:y,areDatesEqual:v,areErrorsEqual:m,areFunctionsEqual:b,areMapsEqual:r?a(g,O):g,areNumbersEqual:s,areObjectsEqual:r?O:x,arePrimitiveWrappersEqual:w,areRegExpsEqual:S,areSetsEqual:r?a(j,O):j,areTypedArraysEqual:r?a(P,O):P,areUrlsEqual:E,unknownTagComparators:void 0};if(e&&(n=Object.assign({},n,e(n))),t){let t=u(n.areArraysEqual),e=u(n.areMapsEqual),r=u(n.areObjectsEqual),i=u(n.areSetsEqual);n=Object.assign({},n,{areArraysEqual:t,areMapsEqual:e,areObjectsEqual:r,areSetsEqual:i})}return n}(t)),c=r?r(o):function(t,e,r,n,i,a,u){return o(t,e,u)};return function({circular:t,comparator:e,createState:r,equals:n,strict:i}){if(r)return function(o,a){let{cache:u=t?new WeakMap:void 0,meta:c}=r();return e(o,a,{cache:u,equals:n,meta:c,strict:i})};if(t)return function(t,r){return e(t,r,{cache:new WeakMap,equals:n,meta:void 0,strict:i})};let o={cache:void 0,equals:n,meta:void 0,strict:i};return function(t,r){return e(t,r,o)}}({circular:e,comparator:o,createState:n,equals:c,strict:i})}function C(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=-1;requestAnimationFrame(function n(i){if(r<0&&(r=i),i-r>e)t(i),r=-1;else{var o;o=n,"u">typeof requestAnimationFrame&&requestAnimationFrame(o)}})}function N(t){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function D(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function I(t){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function B(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function L(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?B(Object(r),!0).forEach(function(e){R(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):B(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function R(t,e,r){var n;return(n=function(t,e){if("object"!==I(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==I(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"===I(n)?n:String(n))in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}_({strict:!0}),_({circular:!0}),_({circular:!0,strict:!0}),_({createInternalComparator:()=>s}),_({strict:!0,createInternalComparator:()=>s}),_({circular:!0,createInternalComparator:()=>s}),_({circular:!0,createInternalComparator:()=>s,strict:!0}),t.i(47167);var z=function(t){return t},U=function(t,e){return Object.keys(e).reduce(function(r,n){return L(L({},r),{},R({},n,t(n,e[n])))},{})},$=function(t,e,r){return t.map(function(t){return"".concat(t.replace(/([A-Z])/g,function(t){return"-".concat(t.toLowerCase())})," ").concat(e,"ms ").concat(r)}).join(",")},F=function(t,e,r,n,i,o,a,u){};function W(t,e){if(t){if("string"==typeof t)return q(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return q(t,e)}}function q(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var V=function(t,e){return[0,3*t,3*e-6*t,3*t-3*e+1]},H=function(t,e){return t.map(function(t,r){return t*Math.pow(e,r)}).reduce(function(t,e){return t+e})},X=function(t,e){return function(r){return H(V(t,e),r)}},G=function(){for(var t,e,r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];var o=n[0],a=n[1],u=n[2],c=n[3];if(1===n.length)switch(n[0]){case"linear":o=0,a=0,u=1,c=1;break;case"ease":o=.25,a=.1,u=.25,c=1;break;case"ease-in":o=.42,a=0,u=1,c=1;break;case"ease-out":o=.42,a=0,u=.58,c=1;break;case"ease-in-out":o=0,a=0,u=.58,c=1;break;default:var l=n[0].split("(");if("cubic-bezier"===l[0]&&4===l[1].split(")")[0].split(",").length){var s,f=function(t){if(Array.isArray(t))return t}(s=l[1].split(")")[0].split(",").map(function(t){return parseFloat(t)}))||function(t,e){var r=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,u=[],c=!0,l=!1;try{o=(r=r.call(t)).next,!1;for(;!(c=(n=o.call(r)).done)&&(u.push(n.value),4!==u.length);c=!0);}catch(t){l=!0,i=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return u}}(s,4)||W(s,4)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();o=f[0],a=f[1],u=f[2],c=f[3]}else F(!1,"[configBezier]: arguments should be one of oneOf 'linear', 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', instead received %s",n)}F([o,u,a,c].every(function(t){return"number"==typeof t&&t>=0&&t<=1}),"[configBezier]: arguments should be x1, y1, x2, y2 of [0, 1] instead received %s",n);
1var p=X(o,u),d=X(a,c),h=(t=o,e=u,function(r){var n;return H([].concat(function(t){if(Array.isArray(t))return q(t)}(n=V(t,e).map(function(t,e){return t*e}).slice(1))||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||W(n)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[0]),r)}),y=function(t){for(var e=t>1?1:t,r=e,n=0;n<8;++n){var i,o=p(r)-e,a=h(r);if(1e-4>Math.abs(o-e)||a<1e-4)break;r=(i=r-o/a)>1?1:i<0?0:i}return d(r)};return y.isStepper=!1,y},Y=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.stiff,r=void 0===e?100:e,n=t.damping,i=void 0===n?8:n,o=t.dt,a=void 0===o?17:o,u=function(t,e,n){var o=n+(-(t-e)*r-n*i)*a/1e3,u=n*a/1e3+t;return 1e-4>Math.abs(u-e)&&1e-4>Math.abs(o)?[e,0]:[u,o]};return u.isStepper=!0,u.dt=a,u},K=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e[0];if("string"==typeof n)switch(n){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return G(n);case"spring":return Y();default:if("cubic-bezier"===n.split("(")[0])return G(n);F(!1,"[configEasing]: first argument should be one of 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', 'linear' and 'spring', instead  received %s",e)}return"function"==typeof n?n:(F(!1,"[configEasing]: first argument type should be function or string, instead received %s",e),null)};function Z(t){return(Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function J(t){return function(t){if(Array.isArray(t))return tn(t)}(t)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||tr(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Q(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Q(Object(r),!0).forEach(function(e){te(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Q(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function te(t,e,r){var n;return(n=function(t,e){if("object"!==Z(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==Z(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"===Z(n)?n:String(n))in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tr(t,e){if(t){if("string"==typeof t)return tn(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return tn(t,e)}}function tn(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var ti=function(t,e,r){return t+(e-t)*r},to=function(t){return t.from!==t.to},ta=function t(e,r,n){var i=U(function(t,r){if(to(r)){var n,i=function(t){if(Array.isArray(t))return t}(n=e(r.from,r.to,r.velocity))||function(t,e){var r=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,u=[],c=!0,l=!1;try{o=(r=r.call(t)).next,!1;for(;!(c=(n=o.call(r)).done)&&(u.push(n.value),2!==u.length);c=!0);}catch(t){l=!0,i=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return u}}(n,2)||tr(n,2)||function(){throw TypeError("Invalid attempt to de
1structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=i[0],a=i[1];return tt(tt({},r),{},{from:o,velocity:a})}return r},r);return n<1?U(function(t,e){return to(e)?tt(tt({},e),{},{velocity:ti(e.velocity,i[t].velocity,n),from:ti(e.from,i[t].from,n)}):e},r):t(e,i,n-1)};let tu=function(t,e,r,n,i){var o,a,u=[Object.keys(t),Object.keys(e)].reduce(function(t,e){return t.filter(function(t){return e.includes(t)})}),c=u.reduce(function(r,n){return tt(tt({},r),{},te({},n,[t[n],e[n]]))},{}),l=u.reduce(function(r,n){return tt(tt({},r),{},te({},n,{from:t[n],velocity:0,to:e[n]}))},{}),s=-1,f=function(){return null};return f=r.isStepper?function(n){o||(o=n);var a=(n-o)/r.dt;l=ta(r,l,a),i(tt(tt(tt({},t),e),U(function(t,e){return e.from},l))),o=n,Object.values(l).filter(to).length&&(s=requestAnimationFrame(f))}:function(o){a||(a=o);var u=(o-a)/n,l=U(function(t,e){return ti.apply(void 0,J(e).concat([r(u)]))},c);if(i(tt(tt(tt({},t),e),l)),u<1)s=requestAnimationFrame(f);else{var p=U(function(t,e){return ti.apply(void 0,J(e).concat([r(1)]))},c);i(tt(tt(tt({},t),e),p))}},function(){return requestAnimationFrame(f),function(){cancelAnimationFrame(s)}}};function tc(t){return(tc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var tl=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function ts(t){return function(t){if(Array.isArray(t))return tf(t)}(t)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return tf(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return tf(t,void 0)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tf(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function tp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function td(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tp(Object(r),!0).forEach(function(e){th(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tp(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function th(t,e,r){return(e=ty(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ty(t){var e=function(t,e){if("object"!==tc(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==tc(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===tc(e)?e:String(e)}function tv(t,e){return(tv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tm(t,e){if(e&&("object"===tc(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return tb(t)}function tb(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tg(t){return(tg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var tx=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&tv(o,t);var r,n,i=(r=function(){if("u"<typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,e=tg(o);return t=r?Reflect.construct(e,arguments,tg(this).constructor):e.apply(this,arguments),tm(this,t)});function o(t,e){if(!(this instanceof o))throw TypeError("Cannot call a class as a function");var r=i.call(this,t,e),n=r.props,a=n.isActive,u=n.attributeName,c=n.from,l=n.to,s=n.steps,f=n.children,p=n.duration;if(r.handleStyleChange=r.handleStyleChange.bind(tb(r)),r.changeStyle=r.changeStyle.bind(tb(r)),!a||p<=0)return r.state={style:{}},"function"==typeof f&&(r.state={style:l}),tm(r);if(s&&s.length)r.state={style:s[0].style};else if(c){if("function"==typeof f)return r.state={style:c},tm(r);r.state={style:u?th({},u,c):c}}else r.state={style:{}};return r}return n=[{key:"componentDidMount",value:function(){var t=this.props,e=t.isActive,r=t.canBegin;this.mounted=!0,e&&r&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(t){var e=this.props,r=e.isActive,n=e.canBegin,i=e.attributeName,o=e.shouldReAnimate,a=e.to,u=e.from,c=this.state.style;if(n){if(!r){var l={style:i?th({},i,a):a};this.state&&c&&(i&&c[i]!==a||!i&&c!==a)&&this.setState(l);return}if(!M(t.to,a)||!t.canBegin||!t.isActive){var s=!t.canBegin||!t.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var f=s||o?u:t.to;if(this.state&&c){var p={style:i?th({},i,f):f};(i&&c[i]!==f||!i&&c!==f)&&this.setState(p)}this.runAnimation(td(td({},this.props),{},{from:f,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var t=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),t&&t()}},{key:"handleStyleChange",value:function(t){this.changeStyle(t)}},{key:"changeStyle",value:function(t){this.mounted&&this.setState({style:t})}},{key:"runJSAnimation",value:function(t){var e=this,r=t.from,n=t.to,i=t.duration,o=t.easing,a=t.begin,u=t.onAnimationEnd,c=t.onAnimationStart,l=tu(r,n,K(o),i,this.changeStyle);this.manager.start([c,a,function(){e.stopJSAnimation=l()},i,u])}},{key:"runStepAnimation",value:function(t){var e=this,r=t.steps,n=t.begin,i=t.onAnimationStart,o=r[0],a=o.style,u=o.duration;return this.manager.start([i].concat(ts(r.reduce(function(t,n,i){if(0===i)return t;var o=n.duration,a=n.easing,u=void 0===a?"ease":a,c=n.style,l=n.properties,s=n.onAnimationEnd,f=i>0?r[i-1]:n,p=l||Object.keys(c);if("function"==typeof u||"spring"===u)return[].concat(ts(t),[e.runJSAnimation.bind(e,{from:f.style,to:c,duration:o,easing:u}),o]);var d=$(p,o,u),h=td(td(td({},f.style),c),{},{transition:d});return[].concat(ts(t),[h,o,s]).filter(z)},[a,Math.max(void 0===u?0:u,n)])),[t.onAnimationEnd]))}},{key:"runAnimation",value:function(t){this.manager||(this.manager=(e=function(){return null},r=!1,n=function t(n){if(!r){if(Array.isArray(n)){if(!n.length)return;var i=function(t){if(Array.isArray(t))return t}(n)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||function(t,e){if(t){if("string"==typeof t)return D(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return D(t,void 0)}}
1(n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=i[0],a=i.slice(1);return"number"==typeof o?void C(t.bind(null,a),o):(t(o),void C(t.bind(null,a)))}"object"===N(n)&&e(n),"function"==typeof n&&n()}},{stop:function(){r=!0},start:function(t){r=!1,n(t)},subscribe:function(t){return e=t,function(){e=function(){return null}}}}));var e,r,n,i=t.begin,o=t.duration,a=t.attributeName,u=t.to,c=t.easing,l=t.onAnimationStart,s=t.onAnimationEnd,f=t.steps,p=t.children,d=this.manager;if(this.unSubscribe=d.subscribe(this.handleStyleChange),"function"==typeof c||"function"==typeof p||"spring"===c)return void this.runJSAnimation(t);if(f.length>1)return void this.runStepAnimation(t);var h=a?th({},a,u):u,y=$(Object.keys(h),o,c);d.start([l,i,td(td({},h),{},{transition:y}),o,s])}},{key:"render",value:function(){var t=this.props,r=t.children,n=(t.begin,t.duration),i=(t.attributeName,t.easing,t.isActive),o=(t.steps,t.from,t.to,t.canBegin,t.onAnimationEnd,t.shouldReAnimate,t.onAnimationReStart,function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,tl)),a=e.Children.count(r),u=this.state.style;if("function"==typeof r)return r(u);if(!i||0===a||n<=0)return r;var c=function(t){var r=t.props,n=r.style,i=r.className;return(0,e.cloneElement)(t,td(td({},o),{},{style:td(td({},void 0===n?{}:n),u),className:i}))};return 1===a?c(e.Children.only(r)):e.default.createElement("div",null,e.Children.map(r,function(t){return c(t)}))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ty(n.key),n)}}(o.prototype,n),Object.defineProperty(o,"prototype",{writable:!1}),o}(e.PureComponent);function tO(t,e){if(null==t)return{};var r={};for(var n in t)if(({}).hasOwnProperty.call(t,n)){if(-1!==e.indexOf(n))continue;r[n]=t[n]}return r}function tw(){return(tw=Object.assign.bind()).apply(null,arguments)}function tS(t,e){return(tS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tj(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,tS(t,e)}tx.displayName="Animate",tx.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},tx.propTypes={from:r.default.oneOfType([r.default.object,r.default.string]),to:r.default.oneOfType([r.default.object,r.default.string]),attributeName:r.default.string,duration:r.default.number,begin:r.default.number,easing:r.default.oneOfType([r.default.string,r.default.func]),steps:r.default.arrayOf(r.default.shape({duration:r.default.number.isRequired,style:r.default.object.isRequired,easing:r.default.oneOfType([r.default.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),r.default.func]),properties:r.default.arrayOf("string"),onAnimationEnd:r.default.func})),children:r.default.oneOfType([r.default.node,r.default.func]),isActive:r.default.bool,canBegin:r.default.bool,onAnimationEnd:r.default.func,shouldReAnimate:r.default.bool,onAnimationStart:r.default.func,onAnimationReStart:r.default.func};let tP=e.default.createContext(null);function tE(t,r){var n=Object.create(null);return t&&e.Children.map(t,function(t){return t}).forEach(function(t){n[t.key]=r&&(0,e.isValidElement)(t)?r(t):t}),n}function tA(t,e,r){return null!=r[e]?r[e]:t.props[e]}var tk=Object.values||function(t){return Object.keys(t).map(function(e){return t[e]})},tT=function(t){function r(e,r){var n=t.call(this,e,r)||this,i=n.handleExited.bind(function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(n));return n.state={contextValue:{isMounting:!0}
1,handleExited:i,firstRender:!0},n}tj(r,t);var n=r.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},r.getDerivedStateFromProps=function(t,r){var n,i,o=r.children,a=r.handleExited;return{children:r.firstRender?tE(t.children,function(r){return(0,e.cloneElement)(r,{onExited:a.bind(null,r),in:!0,appear:tA(r,"appear",t),enter:tA(r,"enter",t),exit:tA(r,"exit",t)})}):(Object.keys(i=function(t,e){function r(r){return r in e?e[r]:t[r]}t=t||{},e=e||{};var n,i=Object.create(null),o=[];for(var a in t)a in e?o.length&&(i[a]=o,o=[]):o.push(a);var u={};for(var c in e){if(i[c])for(n=0;n<i[c].length;n++){var l=i[c][n];u[i[c][n]]=r(l)}u[c]=r(c)}for(n=0;n<o.length;n++)u[o[n]]=r(o[n]);return u}(o,n=tE(t.children))).forEach(function(r){var u=i[r];if((0,e.isValidElement)(u)){var c=r in o,l=r in n,s=o[r],f=(0,e.isValidElement)(s)&&!s.props.in;l&&(!c||f)?i[r]=(0,e.cloneElement)(u,{onExited:a.bind(null,u),in:!0,exit:tA(u,"exit",t),enter:tA(u,"enter",t)}):l||!c||f?l&&c&&(0,e.isValidElement)(s)&&(i[r]=(0,e.cloneElement)(u,{onExited:a.bind(null,u),in:s.props.in,exit:tA(u,"exit",t),enter:tA(u,"enter",t)})):i[r]=(0,e.cloneElement)(u,{in:!1})}}),i),firstRender:!1}},n.handleExited=function(t,e){var r=tE(this.props.children);t.key in r||(t.props.onExited&&t.props.onExited(e),this.mounted&&this.setState(function(e){var r=tw({},e.children);return delete r[t.key],{children:r}}))},n.render=function(){var t=this.props,r=t.component,n=t.childFactory,i=tO(t,["component","childFactory"]),o=this.state.contextValue,a=tk(this.state.children).map(n);return(delete i.appear,delete i.enter,delete i.exit,null===r)?e.default.createElement(tP.Provider,{value:o},a):e.default.createElement(tP.Provider,{value:o},e.default.createElement(r,i,a))},r}(e.default.Component);tT.propTypes={},tT.defaultProps={component:"div",childFactory:function(t){return t}};var tM=t.i(74080),t_="unmounted",tC="exited",tN="entering",tD="entered",tI="exiting",tB=function(t){function r(e,r){var n,i=t.call(this,e,r)||this,o=r&&!r.isMounting?e.enter:e.appear;return i.appearStatus=null,e.in?o?(n=tC,i.appearStatus=tN):n=tD:n=e.unmountOnExit||e.mountOnEnter?t_:tC,i.state={status:n},i.nextCallback=null,i}tj(r,t),r.getDerivedStateFromProps=function(t,e){return t.in&&e.status===t_?{status:tC}:null};var n=r.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(t){var e=null;if(t!==this.props){var r=this.state.status;this.props.in?r!==tN&&r!==tD&&(e=tN):(r===tN||r===tD)&&(e=tI)}this.updateStatus(!1,e)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var t,e,r,n=this.props.timeout;return t=e=r=n,null!=n&&"number"!=typeof n&&(t=n.exit,e=n.enter,r=void 0!==n.appear?n.appear:e),{exit:t,enter:e,appear:r}},n.updateStatus=function(t,e){if(void 0===t&&(t=!1),null!==e)if(this.cancelNextCallback(),e===tN){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:tM.default.findDOMNode(this);r&&r.scrollTop}this.performEnter(t)}else this.performExit();else this.props.unmountOnExit&&this.state.status===tC&&this.setState({status:t_})},n.performEnter=function(t){var e=this,r=this.props.enter,n=this.context?this.context.isMounting:t,i=this.props.nodeRef?[n]:[tM.default.findDOMNode(this),n],o=i[0],a=i[1],u=this.getTimeouts(),c=n?u.appear:u.enter;(t||r)&&1?(this.props.onEnter(o,a),this.safeSetState({status:tN},function(){e.props.onEntering(o,a),e.onTransitionEnd(c,function(){e.safeSetState({status:tD},function(){e.props.onEntered(o,a)})})})):this.safeSetState({status:tD},function(){e.props.onEntered(o)})},n.performExit=function(){var t=this,e=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:tM.default.findDOMNode(this);e?(this.props.onExit(n),this.safeSetState({status:tI},function(){t.props.onExiting(n),t.onTransitionEnd(r.exit,function(){t.safeSetState({status:tC},function(){t.props.onExited(n)})})})):this.safeSetState({status:tC},function(){t.props.onExited(n)})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},n.setNextCallback=function(t){var e=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,e.nextCallback=null,t(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},n.onTransitionEnd=function(t,e){this.setNextCallback(e);var r=this.props.nodeRef?this.props.nodeRef.current:tM.default.findDOMNode(this),n=null==t&&!this.props.addEndListener;if(!r||n)return void setTimeout(this.nextCallback,0);if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=t&&setTimeout(this.nextCallback,t)},n.render=function(){var t=this.state.status;if(t===t_)return null;var r=this.props,n=r.children,i=(r.in,r.mountOnEnter,r.unmountOnExit,r.appear,r.enter,r.exit,r.timeout,r.addEndListener,r.onEnter,r.onEntering,r.onEntered,r.onExit,r.onExiting,r.onExited,r.nodeRef,tO(r,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return e.default.createElement(tP.Provider,{value:null},"function"==typeof n?n(t,i):e.default.cloneElement(e.default.Children.only(n),i))},r}(e.default.Component);function tL(){}tB.contextType=tP,tB.propTypes={},tB.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter
1:!0,exit:!0,onEnter:tL,onEntering:tL,onEntered:tL,onExit:tL,onExiting:tL,onExited:tL},tB.UNMOUNTED=t_,tB.EXITED=tC,tB.ENTERING=tN,tB.ENTERED=tD,tB.EXITING=tI;var tR=["children","appearOptions","enterOptions","leaveOptions"];function tz(t){return(tz="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tU(){return(tU=Object.assign.bind()).apply(this,arguments)}function t$(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tF(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?t$(Object(r),!0).forEach(function(e){tH(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):t$(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tW(t,e){return(tW=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tq(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}
1function tV(t){return(tV=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tH(t,e,r){return(e=tX(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tX(t){var e=function(t,e){if("object"!==tz(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==tz(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===tz(e)?e:String(e)}var tG=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.steps,r=t.duration;return e&&e.length?e.reduce(function(t,e){return t+(Number.isFinite(e.duration)&&e.duration>0?e.duration:0)},0):Number.isFinite(r)?r:0},tY=function(t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&tW(o,t);var r,n,i=(r=function(){if("u"<typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,e=tV(o);return t=r?Reflect.construct(e,arguments,tV(this).constructor):e.apply(this,arguments),function(t,e){if(e&&("object"===tz(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return tq(t)}(this,t)});function o(){var t;if(!(this instanceof o))throw TypeError("Cannot call a class as a function");return tH(tq(t=i.call(this)),"handleEnter",function(e,r){var n=t.props,i=n.appearOptions,o=n.enterOptions;t.handleStyleActive(r?i:o)}),tH(tq(t),"handleExit",function(){var e=t.props.leaveOptions;t.handleStyleActive(e)}),t.state={isActive:!1},t}return n=[{key:"handleStyleActive",value:function(t){if(t){var e=t.onAnimationEnd?function(){t.onAnimationEnd()}:null;this.setState(tF(tF({},t),{},{onAnimationEnd:e,isActive:!0}))}}},{key:"parseTimeout",value:function(){var t=this.props,e=t.appearOptions,r=t.enterOptions,n=t.leaveOptions;return tG(e)+tG(r)+tG(n)}},{key:"render",value:function(){var t=this,r=this.props,n=r.children,i=(r.appearOptions,r.enterOptions,r.leaveOptions,function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(r,tR));return e.default.createElement(tB,tU({},i,{onEnter:this.handleEnter,onExit:this.handleExit,timeout:this.parseTimeout()}),function(){return e.default.createElement(tx,t.state,e.Children.only(n))})}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,tX(n.key),n)}}(o.prototype,n),Object.defineProperty(o,"prototype",{writable:!1}),o}(e.Component);function tK(t){var r=t.component,n=t.children,i=t.appear,o=t.enter,a=t.leave;return e.default.createElement(tT,{component:r},e.Children.map(n,function(t,r){return e.default.createElement(tY,{appearOptions:i,enterOptions:o,leaveOptions:a,key:"child-".concat(r)},t)}))}tY.propTypes={appearOptions:r.default.object,enterOptions:r.default.object,leaveOptions:r.default.object,children:r.default.element},tK.propTypes={appear:r.default.object,enter:r.default.object,leave:r.default.object,children:r.default.oneOfType([r.default.array,r.default.element]),component:r.default.any},tK.defaultProps={component:"span"},t.s(["default",0,tx],73050)},65742,(t,e,r)=>{e.exports=function(){this.__data__=[],this.size=0}},25172,(t,e,r)=>{e.exports=function(t,e){return t===e||t!=t&&e!=e}},34314,(t,e,r)=>{var n=t.r(25172);e.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return -1}},19206,(t,e,r)=>{var n=t.r(34314),i=Array.prototype.splice;e.exports=function(t){var e=this.__data__,r=n(e,t);
1return!(r<0)&&(r==e.length-1?e.pop():i.call(e,r,1),--this.size,!0)}},67763,(t,e,r)=>{var n=t.r(34314);e.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},23407,(t,e,r)=>{var n=t.r(34314);e.exports=function(t){return n(this.__data__,t)>-1}},53833,(t,e,r)=>{var n=t.r(34314);e.exports=function(t,e){var r=this.__data__,i=n(r,t);return i<0?(++this.size,r.push([t,e])):r[i][1]=e,this}},29039,(t,e,r)=>{var n=t.r(65742),i=t.r(19206),o=t.r(67763),a=t.r(23407),u=t.r(53833);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=u,e.exports=c},5400,(t,e,r)=>{var n=t.r(29039);e.exports=function(){this.__data__=new n,this.size=0}},86238,(t,e,r)=>{e.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},57831,(t,e,r)=>{e.exports=function(t){return this.__data__.get(t)}},77802,(t,e,r)=>{e.exports=function(t){return this.__data__.has(t)}},236,(t,e,r)=>{e.exports=t.g&&t.g.Object===Object&&t.g},39088,(t,e,r)=>{var n=t.r(236),i="object"==typeof self&&self&&self.Object===Object&&self;e.exports=n||i||Function("return this")()},30353,(t,e,r)=>{e.exports=t.r(39088).Symbol},43436,(t,e,r)=>{var n=t.r(30353),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,u=n?n.toStringTag:void 0;e.exports=function(t){var e=o.call(t,u),r=t[u];try{t[u]=void 0;var n=!0}catch(t){}var i=a.call(t);return n&&(e?t[u]=r:delete t[u]),i}},23243,(t,e,r)=>{var n=Object.prototype.toString;e.exports=function(t){return n.call(t)}},77684,(t,e,r)=>{var n=t.r(30353),i=t.r(43436),o=t.r(23243),a=n?n.toStringTag:void 0;e.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?i(t):o(t)}},12447,(t,e,r)=>{e.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},71223,(t,e,r)=>{var n=t.r(77684),i=t.r(12447);e.exports=function(t){if(!i(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},53789,(t,e,r)=>{e.exports=t.r(39088)["__core-js_shared__"]},69553,(t,e,r)=>{var n,i=t.r(53789),o=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(t){return!!o&&o in t}},76366,(t,e,r)=>{var n=Function.prototype.toString;e.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},54368,(t,e,r)=>{var n=t.r(71223),i=t.r(69553),o=t.r(12447),a=t.r(76366),u=/^\[object .+?Constructor\]$/,c=Object.prototype,l=Function.prototype.toString,s=c.hasOwnProperty,f=RegExp("^"+l.call(s).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(t){return!(!o(t)||i(t))&&(n(t)?f:u).test(a(t))}},63958,(t,e,r)=>{e.exports=function(t,e){return null==t?void 0:t[e]}},41920,(t,e,r)=>{var n=t.r(54368),i=t.r(63958);e.exports=function(t,e){var r=i(t,e);return n(r)?r:void 0}},87362,(t,e,r)=>{e.exports=t.r(41920)(t.r(39088),"Map")},32760,(t,e,r)=>{e.exports=t.r(41920)(Object,"create")},50514,(t,e,r)=>{var n=t.r(32760);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},97617,(t,e,r)=>{e.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=!!e,e}},57412,(t,e,r)=>{var n=t.r(32760),i=Object.prototype.hasOwnProperty;e.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return i.call(e,t)?e[t]:void 0}},23592,(t,e,r)=>{var n=t.r(32760),i=Object.prototype.hasOwnProperty;e.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:i.call(e,t)}},39004,(t,e,r)=>{var n=t.r(32760);e.exports=function(t,e){var r=this.__data__;return this.size+=+!this.has(t),r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},34421,(t,e,r)=>{var n=t.r(50514),i=t.r(97617),o=t.r(57412),a=t.r(23592),u=t.r(39004);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=u,e.exports=c},48994,(t,e,r)=>{var n=t.r(34421),i=t.r(29039),o=t.r(87362);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||i),string:new n}}},24053,(t,e,r)=>{e.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},87994,(t,e,r)=>{var n=t.r(24053);e.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},96768,(t,e,r)=>{var n=t.r(87994);e.exports=function(t){var e=n(this,t).delete(t);return this.size-=!!e,e}},29932,(t,e,r)=>{var n=t.r(87994);e.exports=function(t){return n(this,t).get(t)}},92647,(t,e,r)=>{var n=t.r(87994);e.exports=function(t){return n(this,t).has(t)}},46644,(t,e,r)=>{var n=t.r(87994);e.exports=function(t,e){var r=n(this,t),i=r.size;return r.set(t,e),this.size+=+(r.size!=i),this}},87547,(t,e,r)=>{var n=t.r(48994),i=t.r(96768),o=t.r(29932),a=t.r(92647),u=t.r(46644);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=u,e.exports=c},20517,(t,e,r)=>{var n=t.r(29039),i=t.r(87362),o=t.r(87547);e.exports=function(t,e){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!i||a.length<199)return a.push([t,e]),this.size=++r.size,this;r=this.__data__=new o(a)}return r.set(t,e),this.size=r.size,this}},1551,(t,e,r)=>{var n=t.r(29039),i=t.r(5400),o=t.r(86238),a=t.r(57831),u=t.r(77802),c=t.r(20517);function l(t){var e=this.__data__=new n(t);this.size=e.size}l.prototype.clear=i,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=u,l.prototype.set=c,e.exports=l},21274,(t,e,r)=>{e.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},39805,(t,e,r)=>{e.exports=function(t){return this.__data__.has(t)}},27493,(t,e,r)=>{var n=t.r(87547),i=t.r(21274),o=t.r(39805);function a(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,e.exports=a},51477,(t,e,r)=>{e.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},15262,(t,e,r)=>{e.exports=function(t,e){return t.has(e)}},6856,(t,e,r)=>{var n=t.r(27493),i=t.r(51477),o=t.r(15262);e.exports=function(t,e,r,a,u,c){var l=1&r,s=t.length,f=e.length;if(s!=f&&!(l&&f>s))return!1;var p=c.get(t),d=c.get(e);if(p&&d)return p==e&&d==t;var h=-1,y=!0,v=2&r?new n:void 0;for(c.set(t,e),c.set(e,t);++h<s;){var m=t[h],b=e[h];if(a)var g=l?a(b,m,h,e,t,c):a(m,b,h,t,e,c);if(void 0!==g){if(g)continue;y=!1;break}if(v){if(!i(e,function(t,e){if(!o(v,e)&&(m===t||u(m,t,r,a,c)))return v.push(e)})){y=!1;break}}else if(!(m===b||u(m,b,r,a,c))){y=!1;break}}return c.delete(t),c.delete(e),y}},63750,(t,e,r)=>{e.exports=t.r(39088).Uint8Array},75331,(t,e,r)=>{e.exports=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}},99850,(t,e,r)=>{e.exports=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}},78012,(t,e,r)=>{var n=t.r(30353),i=t.r(63750),o=t.r(25172),a=t.r(6856),u=t.r(75331),c=t.r(99850),l=n?n.prototype:void 0,s=l?l.valueOf:void 0;e.exports=function(t,e,r,n,l,f,p){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)break;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":if(t.byteLength!=e.byteLength||!f(new i(t),new i(e)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var d=u;case"[object Set]":var h=1&n;if(d||(d=c),t.size!=e.size&&!h)break;var y=p.get(t);if(y)return y==e;n|=2,p.set(t,e);var v=a(d(t),d(e),n,l,f,p);return p.delete(t),v;case"[object Symbol]":if(s)return s.call(t)==s.call(e)}return!1}},69102,(t,e,r)=>{e.exports=function(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t}},45350,(t,e,r)=>{e.exports=Array.isArray},23403,(t,e,r)=>{var n=t.r(69102),i=t.r(45350);e.exports=function(t,e,r){var o=e(t);return i(t)?o:n(o,r(t))}},36100,(t,e,r)=>{e.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,i=0,o=[];++r<n;){var a=t[r];e(a,r,t)&&(o[i++]=a)}return o}},45159,(t,e,r)=>{e.exports=function(){return[]}},17332,(t,e,r)=>{var n=t.r(36100),i=t.r(45159),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;e.exports=a?function(t){return null==t?[]:n(a(t=Object(t)),function(e){return o.call(t,e)})}:i},55803,(t,e,r)=>{e.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},77289,(t,e,r)=>{e.exports=function(t){return null!=t&&"object"==typeof t}},66645,(t,e,r)=>{var n=t.r(77684),i=t.r(77289);e.exports=function(t){return i(t)&&"[object Arguments]"==n(t)}},73250,(t,e,r)=>{var n=t.r(66645),i=t.r(77289),o=Object.prototype,a=o.hasOwnProperty,u=o.propertyIsEnumerable;e.exports=n(function(){return arguments}())?n:function(t){return i(t)&&a.call(t,"callee")&&!u.call(t,"callee")}},24013,(t,e,r)=>{e.exports=function(){return!1}},56956,(t,e,r)=>{var n=t.r(39088),i=t.r(24013),o=r&&!r.nodeType&&r,a=o&&e&&!e.nodeType&&e,u=a&&a.exports===o?n.Buffer:void 0;e.exports=(u?u.isBuffer:void 0)||i},66397,(t,e,r)=>{var n=/^(?:0|[1-9]\d*)$/;e.exports=function(t,e){var r=typeof t;return!!(e=null==e?0x1fffffffffffff:e)&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t<e}},98376,(t,e,r)=>{e.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=0x1fffffffffffff}},76602,(t,e,r)=>{var n=t.r(77684),i=t.r(98376),o=t.r(77289),a={};
1a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(t){return o(t)&&i(t.length)&&!!a[n(t)]}},33999,(t,e,r)=>{e.exports=function(t){return function(e){return t(e)}}},80156,(t,e,r)=>{var n=t.r(236),i=r&&!r.nodeType&&r,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i&&n.process;e.exports=function(){try{var t=o&&o.require&&o.require("util").types;if(t)return t;return a&&a.binding&&a.binding("util")}catch(t){}}()},3023,(t,e,r)=>{var n=t.r(76602),i=t.r(33999),o=t.r(80156),a=o&&o.isTypedArray;e.exports=a?i(a):n},58877,(t,e,r)=>{var n=t.r(55803),i=t.r(73250),o=t.r(45350),a=t.r(56956),u=t.r(66397),c=t.r(3023),l=Object.prototype.hasOwnProperty;e.exports=function(t,e){var r=o(t),s=!r&&i(t),f=!r&&!s&&a(t),p=!r&&!s&&!f&&c(t),d=r||s||f||p,h=d?n(t.length,String):[],y=h.length;for(var v in t)(e||l.call(t,v))&&!(d&&("length"==v||f&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||u(v,y)))&&h.push(v);return h}},63996,(t,e,r)=>{var n=Object.prototype;e.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},25717,(t,e,r)=>{e.exports=function(t,e){return function(r){return t(e(r))}}},42369,(t,e,r)=>{e.exports=t.r(25717)(Object.keys,Object)},48477,(t,e,r)=>{var n=t.r(63996),i=t.r(42369),o=Object.prototype.hasOwnProperty;e.exports=function(t){if(!n(t))return i(t);var e=[];for(var r in Object(t))o.call(t,r)&&"constructor"!=r&&e.push(r);return e}},51095,(t,e,r)=>{var n=t.r(71223),i=t.r(98376);e.exports=function(t){return null!=t&&i(t.length)&&!n(t)}},33679,(t,e,r)=>{var n=t.r(58877),i=t.r(48477),o=t.r(51095);e.exports=function(t){return o(t)?n(t):i(t)}},13370,(t,e,r)=>{var n=t.r(23403),i=t.r(17332),o=t.r(33679);e.exports=function(t){return n(t,o,i)}},30698,(t,e,r)=>{var n=t.r(13370),i=Object.prototype.hasOwnProperty;e.exports=function(t,e,r,o,a,u){var c=1&r,l=n(t),s=l.length;if(s!=n(e).length&&!c)return!1;for(var f=s;f--;){var p=l[f];if(!(c?p in e:i.call(e,p)))return!1}var d=u.get(t),h=u.get(e);if(d&&h)return d==e&&h==t;var y=!0;u.set(t,e),u.set(e,t);for(var v=c;++f<s;){var m=t[p=l[f]],b=e[p];if(o)var g=c?o(b,m,p,e,t,u):o(m,b,p,t,e,u);if(!(void 0===g?m===b||a(m,b,r,o,u):g)){y=!1;break}v||(v="constructor"==p)}if(y&&!v){var x=t.constructor,O=e.constructor;x!=O&&"constructor"in t&&"constructor"in e&&!("function"==typeof x&&x instanceof x&&"function"==typeof O&&O instanceof O)&&(y=!1)}return u.delete(t),u.delete(e),y}},1419,(t,e,r)=>{e.exports=t.r(41920)(t.r(39088),"DataView")},2419,(t,e,r)=>{e.exports=t.r(41920)(t.r(39088),"Promise")},6966,(t,e,r)=>{e.exports=t.r(41920)(t.r(39088),"Set")},73895,(t,e,r)=>{e.exports=t.r(41920)(t.r(39088),"WeakMap")},67426,(t,e,r)=>{var n=t.r(1419),i=t.r(87362),o=t.r(2419),a=t.r(6966),u=t.r(73895),c=t.r(77684),l=t.r(76366),s="[object Map]",f="[object Promise]",p="[object Set]",d="[object WeakMap]",h="[object DataView]",y=l(n),v=l(i),m=l(o),b=l(a),g=l(u),x=c;(n&&x(new n(new ArrayBuffer(1)))!=h||i&&x(new i)!=s||o&&x(o.resolve())!=f||a&&x(new a)!=p||u&&x(new u)!=d)&&(x=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,n=r?l(r):"";if(n)switch(n){case y:return h;case v:return s;case m:return f;case b:return p;case g:return d}return e}),e.exports=x},78353,(t,e,r)=>{var n=t.r(1551),i=t.r(6856),o=t.r(78012),a=t.r(30698),u=t.r(67426),c=t.r(45350),l=t.r(56956),s=t.r(3023),f="[object Arguments]",p="[object Array]",d="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(t,e,r,y,v,m){var b=c(t),g=c(e),x=b?p:u(t),O=g?p:u(e);x=x==f?d:x,O=O==f?d:O;var w=x==d,S=O==d,j=x==O;if(j&&l(t)){if(!l(e))return!1;b=!0,w=!1}if(j&&!w)return m||(m=new n),b||s(t)?i(t,e,r,y,v,m):o(t,e,x,r,y,v,m);if(!(1&r)){var P=w&&h.call(t,"__wrapped__"),E=S&&h.call(e,"__wrapped__");
1if(P||E){var A=P?t.value():t,k=E?e.value():e;return m||(m=new n),v(A,k,r,y,m)}}return!!j&&(m||(m=new n),a(t,e,r,y,v,m))}},21885,(t,e,r)=>{var n=t.r(78353),i=t.r(77289);e.exports=function t(e,r,o,a,u){return e===r||(null!=e&&null!=r&&(i(e)||i(r))?n(e,r,o,a,t,u):e!=e&&r!=r)}},98892,(t,e,r)=>{var n=t.r(21885);e.exports=function(t,e){return n(t,e)}},29873,(t,e,r)=>{e.exports=function(t){return null==t}},61884,(t,e,r)=>{var n=t.r(77684),i=t.r(77289);e.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==n(t)}},9903,(t,e,r)=>{var n=t.r(45350),i=t.r(61884),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(t,e){if(n(t))return!1;var r=typeof t;return!!("number"==r||"symbol"==r||"boolean"==r||null==t||i(t))||a.test(t)||!o.test(t)||null!=e&&t in Object(e)}},57588,(t,e,r)=>{var n=t.r(87547);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var r=function(){var n=arguments,i=e?e.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=t.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(i.Cache||n),r}i.Cache=n,e.exports=i},88832,(t,e,r)=>{var n=t.r(57588);e.exports=function(t){var e=n(t,function(t){return 500===r.size&&r.clear(),t}),r=e.cache;return e}},2677,(t,e,r)=>{var n=t.r(88832),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g;e.exports=n(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,function(t,r,n,i){e.push(n?i.replace(o,"$1"):r||t)}),e})},92708,(t,e,r)=>{e.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,i=Array(n);++r<n;)i[r]=e(t[r],r,t);return i}},72537,(t,e,r)=>{var n=t.r(30353),i=t.r(92708),o=t.r(45350),a=t.r(61884),u=1/0,c=n?n.prototype:void 0,l=c?c.toString:void 0;e.exports=function t(e){if("string"==typeof e)return e;if(o(e))return i(e,t)+"";if(a(e))return l?l.call(e):"";var r=e+"";return"0"==r&&1/e==-u?"-0":r}},2922,(t,e,r)=>{var n=t.r(72537);e.exports=function(t){return null==t?"":n(t)}},86287,(t,e,r)=>{var n=t.r(45350),i=t.r(9903),o=t.r(2677),a=t.r(2922);e.exports=function(t,e){return n(t)?t:i(t,e)?[t]:o(a(t))}},2054,(t,e,r)=>{var n=t.r(61884),i=1/0;e.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-i?"-0":e}},33141,(t,e,r)=>{var n=t.r(86287),i=t.r(2054);e.exports=function(t,e){e=n(e,t);for(var r=0,o=e.length;null!=t&&r<o;)t=t[i(e[r++])];return r&&r==o?t:void 0}},82820,(t,e,r)=>{var n=t.r(33141);e.exports=function(t,e,r){var i=null==t?void 0:n(t,e);return void 0===i?r:i}},85845,(t,e,r)=>{var n=t.r(77684),i=t.r(45350),o=t.r(77289);e.exports=function(t){return"string"==typeof t||!i(t)&&o(t)&&"[object String]"==n(t)}},52210,(t,e,r)=>{"use strict";var n,i=Symbol.for("react.element"),o=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),f=Symbol.for("react.server_context"),p=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function b(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case i:switch(t=t.type){case a:case c:case u:case d:case h:return t;default:switch(t=t&&t.$$typeof){case f:case s:case p:case v:case y:case l:return t;default:return e}}case o:return e}}}n=Symbol.for("react.module.reference"),r.ContextConsumer=s,r.ContextProvider=l,r.Element=i,r.ForwardRef=p,r.Fragment=a,r.Lazy=v,r.Memo=y,r.Portal=o,r.Profiler=c,r.StrictMode=u,r.Suspense=d,r.SuspenseList=h,r.isAsyncMode=function(){return!1},r.isConcurrentMode=function(){return!1},r.isContextConsumer=function(t){return b(t)===s},r.isContextProvider=function(t){return b(t)===l},r.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===i},r.isForwardRef=function(t){return b(t)===p},r.isFragment=function(t){return b(t)===a},r.isLazy=function(t){return b(t)===v},r.isMemo=function(t){return b(t)===y},r.isPortal=function(t){return b(t)===o},r.isProfiler=function(t){return b(t)===c},r.isStrictMode=function(t){return b(t)===u},r.isSuspense=function(t){return b(t)===d},r.isSuspenseList=function(t){return b(t)===h},r.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===a||t===c||t===u||t===d||t===h||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===v||t.$$typeof===y||t.$$typeof===l||t.$$typeof===s||t.$$typeof===p||t.$$typeof===n||void 0!==t.getModuleId)||!1},r.typeOf=b},79684,(t,e,r)=>{"use strict";e.exports=t.r(52210)},94241,(t,e,r)=>{var n=t.r(77684),i=t.r(77289);e.exports=function(t){return"number"==typeof t||i(t)&&"[object Number]"==n(t)}},78948,(t,e,r)=>{var n=t.r(94241);e.exports=function(t){return n(t)&&t!=+t}},94395,24573,t=>{"use strict";var e=t.i(85845),r=t.i(78948),n=t.i(82820),i=t.i(94241),o=t.i(29873),a=function(t){return 0===t?0:t>0?1:-1},u=function(t){return(0,e.default)(t)&&t.indexOf("%")===t.length-1},c=function(t){return(0,i.default)(t)&&!(0,r.default)(t)},l=function(t){return(0,o.default)(t)},s=function(t){return c(t)||(0,e.default)(t)},f=0,p=function(t){var e=++f;return"".concat(t||"").concat(e)},d=function(t,n){var i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!c(t)&&!(0,e.default)(t))return o;if(u(t)){var l=t.indexOf("%");i=n*parseFloat(t.slice(0,l))/100}else i=+t;return(0,r.default)(i)&&(i=o),a&&i>n&&(i=n),i},h=function(t){if(!t)return null;var e=Object.keys(t);return e&&e.length?t[e[0]]:null},y=function(t){if(!Array.isArray(t))return!1;for(var e=t.length,r={},n=0;n<e;n++)if(r[t[n]])return!0;else r[t[n]]=!0;return!1},v=function(t,e){return c(t)&&c(e)?function(r){return t+r*(e-t)}:function(){return e}};function m(t,e,r){return t&&t.length?t.find(function(t){return t&&("function"==typeof e?e(t):(0,n.default)(t,e))===r}):null}var b=function(t,r){return c(t)&&c(r)?t-r:(0,e.default)(t)&&(0,e.default)(r)?t.localeCompare(r):t instanceof Date&&r instanceof Date?t.getTime()-r.getTime():String(t).localeCompare(String(r))};function g(t,e){for(var r in t)if(({}).hasOwnProperty.call(t,r)&&(!({}).hasOwnProperty.call(e,r)||t[r]!==e[r]))return!1;for(var n in e)if(({}).hasOwnProperty.call(e,n)&&!({}).hasOwnProperty.call(t,n))return!1;return!0}t.s(["compareValues",()=>b,"findEntryInArray",()=>m,"getAnyElementOfObject",()=>h,"getPercentValue",()=>d,"hasDuplicate",()=>y,"interpolateNumber",()=>v,"isNullish",()=>l,"isNumOrStr",()=>s,"isNumber",()=>c,"isPercent",()=>u,"mathSign",()=>a,"uniqueId",()=>p],94395),t.s(["shallowEqual",()=>g],24573)},73393,t=>{"use strict";var e=t.i(71645),r=t.i(12447);function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRen
1dering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],o=["points","pathLength"],a={svg:["viewBox","children"],polygon:o,polyline:o},u=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDrag
1Capture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],c=function(t,n){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var i=t;if((0,e.isValidElement)(t)&&(i=t.props),!(0,r.default)(i))return null;var o={};
1return Object.keys(i).forEach(function(t){u.includes(t)&&(o[t]=n||function(e){return i[t](i,e)})}),o},l=function(t,e,i){if(!(0,r.default)(t)||"object"!==n(t))return null;var o=null;return Object.keys(t).forEach(function(r){var n=t[r];u.includes(r)&&"function"==typeof n&&(o||(o={}),o[r]=function(t){return n(e,i,t),null})}),o};t.s(["EventKeys",()=>u,"FilteredElementKeyMap",()=>a,"SVGElementPropKeys",()=>i,"adaptEventHandlers",()=>c,"adaptEventsOfChild",()=>l])},81977,t=>{"use strict";var e=t.i(82820),r=t.i(29873),n=t.i(85845),i=t.i(71223),o=t.i(12447),a=t.i(71645),u=t.i(79684),c=t.i(94395),l=t.i(24573),s=t.i(73393),f=["children"],p=["children"];function d(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function h(t){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var y={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart",contextmenu:"onContextMenu",dblclick:"onDoubleClick"},v=function(t){return"string"==typeof t?t:t?t.displayName||t.name||"Component":""},m=null,b=null,g=function t(e){if(e===m&&Array.isArray(b))return b;var n=[];return a.Children.forEach(e,function(e){(0,r.default)(e)||((0,u.isFragment)(e)?n=n.concat(t(e.props.children)):n.push(e))}),b=n,m=e,n};function x(t,r){var n=[],i=[];return i=Array.isArray(r)?r.map(function(t){return v(t)}):[v(r)],g(t).forEach(function(t){var r=(0,e.default)(t,"type.displayName")||(0,e.default)(t,"type.name");-1!==i.indexOf(r)&&n.push(t)}),n}function O(t,e){var r=x(t,e);return r&&r[0]}var w=function(t){if(!t||!t.props)return!1;var e=t.props,r=e.width,n=e.height;return!!(0,c.isNumber)(r)&&!(r<=0)&&!!(0,c.isNumber)(n)&&!(n<=0)},S=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],j=function(t){return t&&"object"===h(t)&&"clipDot"in t},P=function(t,e,r,n){var o,a=null!=(o=null===s.FilteredElementKeyMap||void 0===s.FilteredElementKeyMap?void 0:s.FilteredElementKeyMap[n])?o:[];return e.startsWith("data-")||!(0,i.default)(t)&&(n&&a.includes(e)||s.SVGElementPropKeys.includes(e))||r&&s.EventKeys.includes(e)},E=function(t,e,r){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var n=t;if((0,a.isValidElement)(t)&&(n=t.props),!(0,o.default)(n))return null;var i={};return Object.keys(n).forEach(function(t){var o;P(null==(o=n)?void 0:o[t],t,e,r)&&(i[t]=n[t])}),i},A=function t(e,r){if(e===r)return!0;var n=a.Children.count(e);if(n!==a.Children.count(r))return!1;if(0===n)return!0;if(1===n)return k(Array.isArray(e)?e[0]:e,Array.isArray(r)?r[0]:r);for(var i=0;i<n;i++){var o=e[i],u=r[i];if(Array.isArray(o)||Array.isArray(u)){if(!t(o,u))return!1}else if(!k(o,u))return!1}return!0},k=function(t,e){if((0,r.default)(t)&&(0,r.default)(e))return!0;
1if(!(0,r.default)(t)&&!(0,r.default)(e)){var n=t.props||{},i=n.children,o=d(n,f),a=e.props||{},u=a.children,c=d(a,p);if(i&&u)return(0,l.shallowEqual)(o,c)&&A(i,u);if(!i&&!u)return(0,l.shallowEqual)(o,c)}return!1},T=function(t,e){var r=[],i={};return g(t).forEach(function(t,o){if(t&&t.type&&(0,n.default)(t.type)&&S.indexOf(t.type)>=0)r.push(t);else if(t){var a=v(t.type),u=e[a]||{},c=u.handler,l=u.once;if(c&&(!l||!i[a])){var s=c(t,a,o);r.push(s),i[a]=!0}}}),r},M=function(t){var e=t&&t.type;return e&&y[e]?y[e]:null},_=function(t,e){return g(e).indexOf(t)};t.s(["filterProps",()=>E,"findAllByType",()=>x,"findChildByType",()=>O,"getDisplayName",()=>v,"getReactEventByType",()=>M,"hasClipDot",()=>j,"isChildrenEqual",()=>A,"parseChildIndex",()=>_,"renderByOrder",()=>T,"validateWidthHeight",()=>w])},97865,t=>{"use strict";var e=t.i(71645),r=t.i(7670),n=t.i(81977),i=["children","className"];function o(){return(o=Object.assign.bind()).apply(this,arguments)}var a=e.default.forwardRef(function(t,a){var u=t.children,c=t.className,l=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,i),s=(0,r.default)("recharts-layer",c);return e.default.createElement("g",o({className:s},(0,n.filterProps)(l,!0),{ref:a}),u)});t.s(["Layer",()=>a])},34251,40992,t=>{"use strict";t.i(47167);var e=t.i(71645);function r(t,e){if(!t)throw Error("Invariant failed")}t.s(["default",()=>r],40992);var n=t.i(97865),i=t.i(81977),o=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(){return(u=Object.assign.bind()).apply(this,arguments)}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function l(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(l=function(){return!!t})()}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function p(t,e,r){return(e=d(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function d(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=a(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:e+""}var h=function(t){var p;function h(){var t,e;if(!(this instanceof h))throw TypeError("Cannot call a class as a function");return t=h,e=arguments,t=s(t),function(t,e){if(e&&("object"===a(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,l()?Reflect.construct(t,e||[],s(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return h.prototype=Object.create(t&&t.prototype,{constructor:{value:h,writable:!0,configurable:!0}}),Object.defineProperty(h,"prototype",{writable:!1}),t&&f(h,t),p=[{key:"render",value:function(){var t=this.props,a=t.offset,l=t.layout,s=t.width,f=t.dataKey,p=t.data,d=t.dataPointFormatter,h=t.xAxis,y=t.yAxis,v=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,o),m=(0,i.filterProps)(v,!1);"x"===this.props.direction&&"number"!==h.type&&r(!1);
1var b=p.map(function(t){var r,i,o=d(t,f),p=o.x,v=o.y,b=o.value,g=o.errorVal;if(!g)return null;var x=[];if(Array.isArray(g)){var O=function(t){if(Array.isArray(t))return t}(g)||function(t,e){var r=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,u=[],c=!0,l=!1;try{o=(r=r.call(t)).next,!1;for(;!(c=(n=o.call(r)).done)&&(u.push(n.value),2!==u.length);c=!0);}catch(t){l=!0,i=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return u}}(g,2)||function(t,e){if(t){if("string"==typeof t)return c(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(t,2)}}(g,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();r=O[0],i=O[1]}else r=i=g;if("vertical"===l){var w=h.scale,S=v+a,j=S+s,P=S-s,E=w(b-r),A=w(b+i);x.push({x1:A,y1:j,x2:A,y2:P}),x.push({x1:E,y1:S,x2:A,y2:S}),x.push({x1:E,y1:j,x2:E,y2:P})}else if("horizontal"===l){var k=y.scale,T=p+a,M=T-s,_=T+s,C=k(b-r),N=k(b+i);x.push({x1:M,y1:N,x2:_,y2:N}),x.push({x1:T,y1:C,x2:T,y2:N}),x.push({x1:M,y1:C,x2:_,y2:C})}return e.default.createElement(n.Layer,u({className:"recharts-errorBar",key:"bar-".concat(x.map(function(t){return"".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)}))},m),x.map(function(t){return e.default.createElement("line",u({},t,{key:"line-".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)}))}))});return e.default.createElement(n.Layer,{className:"recharts-errorBars"},b)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,d(n.key),n)}}(h.prototype,p),Object.defineProperty(h,"prototype",{writable:!1}),h}(e.default.Component);p(h,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"}),p(h,"displayName","ErrorBar"),t.s(["ErrorBar",()=>h],34251)},22787,t=>{"use strict";var e=function(t){return null};e.displayName="Cell",t.s(["Cell",()=>e])},4879,(t,e,r)=>{e.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},9516,62728,68431,25212,82984,79357,t=>{"use strict";var e,r,n,i,o,a,u,c=t.i(71645),l=t.i(29873),s=t.i(7670),f=t.i(94395),p={isSsr:!("u">typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(t){return p[t]},set:function(t,e){if("string"==typeof t)p[t]=e;else{var r=Object.keys(t);r&&r.length&&r.forEach(function(e){p[e]=t[e]})}}};t.s(["Global",()=>p],62728);var d=t.i(81977);function h(t){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function y(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function v(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?y(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=h(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=h(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==h(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var m={widthCache:{},cacheCount:0},b={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},g="recharts_measurement_span",x=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==t||p.isSsr)return{width:0,height:0};var n=(Object.keys(e=v({}
1,r)).forEach(function(t){e[t]||delete e[t]}),e),i=JSON.stringify({text:t,copyStyle:n});if(m.widthCache[i])return m.widthCache[i];try{var o=document.getElementById(g);o||((o=document.createElement("span")).setAttribute("id",g),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var a=v(v({},b),n);Object.assign(o.style,a),o.textContent="".concat(t);var u=o.getBoundingClientRect(),c={width:u.width,height:u.height};return m.widthCache[i]=c,++m.cacheCount>2e3&&(m.cacheCount=0,m.widthCache={}),c}catch(t){return{width:0,height:0}}},O=function(t){return{top:t.top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft}};function w(t){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function S(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,u=[],c=!0,l=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){l=!0,i=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return j(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return j(t,e)}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function P(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,function(t){var e=function(t,e){if("object"!=w(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=w(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==w(e)?e:e+""}(n.key),n)}}t.s(["getOffset",()=>O,"getStringSize",()=>x],68431);var E=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,A=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,k=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,T=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,M={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},_=Object.keys(M),C=function(){var t,e;function r(t,e){if(!(this instanceof r))throw TypeError("Cannot call a class as a function");this.num=t,this.unit=e,this.num=t,this.unit=e,Number.isNaN(t)&&(this.unit=""),""===e||k.test(e)||(this.num=NaN,this.unit=""),_.includes(e)&&(this.num=t*M[e],this.unit="px")}return t=[{key:"add",value:function(t){return this.unit!==t.unit?new r(NaN,""):new r(this.num+t.num,this.unit)}},{key:"subtract",value:function(t){return this.unit!==t.unit?new r(NaN,""):new r(this.num-t.num,this.unit)}},{key:"multiply",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new r(NaN,""):new r(this.num*t.num,this.unit||t.unit)}},{key:"divide",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new r(NaN,""):new r(this.num/t.num,this.unit||t.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}],e=[{key:"parse",value:function(t){var e,n=S(null!=(e=T.exec(t))?e:[],3),i=n[1],o=n[2];return new r(parseFloat(i),null!=o?o:"")}}],t&&P(r.prototype,t),e&&P(r,e),Object.defineProperty(r,"prototype",{writable:!1}),r}();function N(t){if(t.includes("NaN"))return"NaN";for(var e=t;e.includes("*")||e.includes("/");){var r,n=S(null!=(r=E.exec(e))?r:[],4),i=n[1],o=n[2],a=n[3],u=C.parse(null!=i?i:""),c=C.parse(null!=a?a:""),l="*"===o?u.multiply(c):u.divi
1de(c);if(l.isNaN())return"NaN";e=e.replace(E,l.toString())}for(;e.includes("+")||/.-\d+(?:\.\d+)?/.test(e);){var s,f=S(null!=(s=A.exec(e))?s:[],4),p=f[1],d=f[2],h=f[3],y=C.parse(null!=p?p:""),v=C.parse(null!=h?h:""),m="+"===d?y.add(v):y.subtract(v);if(m.isNaN())return"NaN";e=e.replace(A,m.toString())}return e}var D=/\(([^()]*)\)/;function I(t){var e=function(t){try{var e;return e=t.replace(/\s+/g,""),e=function(t){for(var e=t;e.includes("(");){var r=S(D.exec(e),2)[1];e=e.replace(D,N(r))}return e}(e),e=N(e)}catch(t){return"NaN"}}(t.slice(5,-1));return"NaN"===e?"":e}var B=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],L=["dx","dy","angle","className","breakAll"];function R(){return(R=Object.assign.bind()).apply(this,arguments)}function z(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function U(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,u=[],c=!0,l=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){l=!0,i=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return $(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return $(t,e)}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var F=/[ \f\n\r\t\v\u2028\u2029]+/,W=function(t){var e=t.children,r=t.breakAll,n=t.style;try{var i=[];(0,l.default)(e)||(i=r?e.toString().split(""):e.toString().split(F));var o=i.map(function(t){return{word:t,width:x(t,n).width}}),a=r?0:x(" ",n).width;return{wordsWithComputedWidth:o,spaceWidth:a}}catch(t){return null}},q=function(t,e,r,n,i){var o,a=t.maxLines,u=t.children,c=t.style,l=t.breakAll,s=(0,f.isNumber)(a),p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.reduce(function(t,e){var o=e.word,a=e.width,u=t[t.length-1];return u&&(null==n||i||u.width+a+r<Number(n))?(u.words.push(o),u.width+=a+r):t.push({words:[o],width:a}),t},[])},d=p(e);if(!s)return d;for(var h=function(t){var e=p(W({breakAll:l,style:c,children:u.slice(0,t)+"…"}).wordsWithComputedWidth);return[e.length>a||e.reduce(function(t,e){return t.width>e.width?t:e}).width>Number(n),e]},y=0,v=u.length-1,m=0;y<=v&&m<=u.length-1;){var b=Math.floor((y+v)/2),g=U(h(b-1),2),x=g[0],O=g[1],w=U(h(b),1)[0];if(x||w||(y=b+1),x&&w&&(v=b-1),!x&&w){o=O;break}m++}return o||d},V=function(t){return[{words:(0,l.default)(t)?[]:t.toString().split(F)}]},H=function(t){var e=t.width,r=t.scaleToFit,n=t.children,i=t.style,o=t.breakAll,a=t.maxLines;if((e||r)&&!p.isSsr){var u=W({breakAll:o,children:n,style:i});if(!u)return V(n);var c=u.wordsWithComputedWidth,l=u.spaceWidth;return q({breakAll:o,children:n,maxLines:a,style:i},c,l,e,r)}return V(n)},X="#808080",G=function(t){var e,r=t.x,n=void 0===r?0:r,i=t.y,o=void 0===i?0:i,a=t.lineHeight,u=void 0===a?"1em":a,l=t.capHeight,p=void 0===l?"0.71em":l,h=t.scaleToFit,y=void 0!==h&&h,v=t.textAnchor,m=t.verticalAnchor,b=t.fill,g=void 0===b?X:b,x=z(t,B),O=(0,c.useMemo)(function(){return H({breakAll:x.breakAll,children:x.children,maxLines:x.maxLines,scaleToFit:y,style:x.style,width:x.width})},[x.breakAll,x.children,x.maxLines,y,x.style,x.width]),w=x.dx,S=x.dy,j=x.angle,P=x.className,E=x.breakAll,A=z(x,L);if(!(0,f.isNumOrStr)(n)||!(0,f.isNumOrStr)(o))return null;var k=n+((0,f.isNumber)(w)?w:0),T=o+((0,f.isNumber)(S)?S:0);switch(void 0===m?"end":m){case"start":e=I("calc(".concat(p,")"));break;case"middle":e=I("calc(".concat((O.length-1)/2," * -").concat(u," + (").concat(p," / 2))"));break;default:e=I("calc(".concat(O.length-1," * -").concat(u,")"))}var M=[];if(y){var _=O[0].width,C=x.width;M.push("scale(".concat(((0,f.isNumber)(C)?C/_:1)/_,")"))}return j&&M.push("rotate(".concat(j,", ").concat(k,", ").concat(T,")")),M.length&&(A.transform=M.join(" ")),c.default.createElement("text",R({},(0,d.filterProps)(A,!0),{x:k,y:T,className:(0,s.default)("recharts-text",P),textAnchor:void 0===v?"start":v,fill:g.includes("url")?X:g}
1),O.map(function(t,r){var n=t.words.join(E?"":" ");return c.default.createElement("tspan",{x:k,dy:0===r?e:u,key:"".concat(n,"-").concat(r)},n)}))};function Y(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function K(t,e){switch(arguments.length){case 0:break;case 1:"function"==typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"==typeof e?this.interpolator(e):this.range(e)}return this}t.s(["Text",()=>G],9516),t.s([],25212),t.i(25212),t.s([],67155),t.i(67155);class Z extends Map{constructor(t,e=Q){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(const[e,r]of t)this.set(e,r)}get(t){return super.get(J(this,t))}has(t){return super.has(J(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},r){let n=e(r);return t.has(n)?t.get(n):(t.set(n,r),r)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},r){let n=e(r);return t.has(n)&&(r=t.get(n),t.delete(n)),r}(this,t))}}function J({_intern:t,_key:e},r){let n=e(r);return t.has(n)?t.get(n):r}function Q(t){return null!==t&&"object"==typeof t?t.valueOf():t}
1let tt=Symbol("implicit");function te(){var t=new Z,e=[],r=[],n=tt;function i(i){let o=t.get(i);if(void 0===o){if(n!==tt)return n;t.set(i,o=e.push(i)-1)}return r[o%r.length]}return i.domain=function(r){if(!arguments.length)return e.slice();for(let n of(e=[],t=new Z,r))t.has(n)||t.set(n,e.push(n)-1);return i},i.range=function(t){return arguments.length?(r=Array.from(t),i):r.slice()},i.unknown=function(t){return arguments.length?(n=t,i):n},i.copy=function(){return te(e,r).unknown(n)},Y.apply(i,arguments),i}function tr(){var t,e,r=te().unknown(void 0),n=r.domain,i=r.range,o=0,a=1,u=!1,c=0,l=0,s=.5;function f(){var r=n().length,f=a<o,p=f?a:o,d=f?o:a;t=(d-p)/Math.max(1,r-c+2*l),u&&(t=Math.floor(t)),p+=(d-p-t*(r-c))*s,e=t*(1-c),u&&(p=Math.round(p),e=Math.round(e));var h=(function(t,e,r){t*=1,e*=1,r=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+r;for(var n=-1,i=0|Math.max(0,Math.ceil((e-t)/r)),o=Array(i);++n<i;)o[n]=t+n*r;return o})(r).map(function(e){return p+t*e});return i(f?h.reverse():h)}return delete r.unknown,r.domain=function(t){return arguments.length?(n(t),f()):n()},r.range=function(t){return arguments.length?([o,a]=t,o*=1,a*=1,f()):[o,a]},r.rangeRound=function(t){return[o,a]=t,o*=1,a*=1,u=!0,f()},r.bandwidth=function(){return e},r.step=function(){return t},r.round=function(t){return arguments.length?(u=!!t,f()):u},r.padding=function(t){return arguments.length?(c=Math.min(1,l=+t),f()):c},r.paddingInner=function(t){return arguments.length?(c=Math.min(1,t),f()):c},r.paddingOuter=function(t){return arguments.length?(l=+t,f()):l},r.align=function(t){return arguments.length?(s=Math.max(0,Math.min(1,t)),f()):s},r.copy=function(){return tr(n(),[o,a]).round(u).paddingInner(c).paddingOuter(l).align(s)},Y.apply(f(),arguments)}function tn(){return function t(e){var r=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return t(r())},e}(tr.apply(null,arguments).paddingInner(1))}t.s(["default",()=>tr,"point",()=>tn],82984);let ti=Math.sqrt(50),to=Math.sqrt(10),ta=Math.sqrt(2);function tu(t,e,r){let n,i,o,a=(e-t)/Math.max(0,r),u=Math.floor(Math.log10(a)),c=a/Math.pow(10,u),l=c>=ti?10:c>=to?5:c>=ta?2:1;return(u<0?(n=Math.round(t*(o=Math.pow(10,-u)/l)),i=Math.round(e*o),n/o<t&&++n,i/o>e&&--i,o=-o):(n=Math.round(t/(o=Math.pow(10,u)*l)),i=Math.round(e/o),n*o<t&&++n,i*o>e&&--i),i<n&&.5<=r&&r<2)?tu(t,e,2*r):[n,i,o]}function tc(t,e,r){if(e*=1,t*=1,!((r*=1)>0))return[];if(t===e)return[t];let n=e<t,[i,o,a]=n?tu(e,t,r):tu(t,e,r);if(!(o>=i))return[];let u=o-i+1,c=Array(u);if(n)if(a<0)for(let t=0;t<u;++t)c[t]=-((o-t)/a);else for(let t=0;t<u;++t)c[t]=(o-t)*a;else if(a<0)for(let t=0;t<u;++t)c[t]=-((i+t)/a);else for(let t=0;t<u;++t)c[t]=(i+t)*a;return c}function tl(t,e,r){return tu(t*=1,e*=1,r*=1)[2]}function ts(t,e,r){e*=1,t*=1,r*=1;let n=e<t,i=n?tl(e,t,r):tl(t,e,r);return(n?-1:1)*(i<0?-(1/i):i)}function tf(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function tp(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function td(t){let e,r,n;function i(t,n,o=0,a=t.length){if(o<a){if(0!==e(n,n))return a;do{let e=o+a>>>1;0>r(t[e],n)?o=e+1:a=e}while(o<a)}return o}return 2!==t.length?(e=tf,r=(e,r)=>tf(t(e),r),n=(e,r)=>t(e)-r):(e=t===tf||t===tp?t:th,r=t,n=t),{left:i,center:function(t,e,r=0,o=t.length){let a=i(t,e,r,o-1);return a>r&&n(t[a-1],e)>-n(t[a],e)?a-1:a},right:function(t,n,i=0,o=t.length){if(i<o){if(0!==e(n,n))return o;do{let e=i+o>>>1;0>=r(t[e],n)?i=e+1:o=e}while(i<o)}return i}}}function th(){return 0}function ty(t){return null===t?NaN:+t}let tv=td(tf),tm=tv.right;function tb(t,e,r){t.prototype=e.prototype=r,r.constructor=t}function tg(t,e){var r=Object.create(t.prototype);for(var n in e)r[n]=e[n];return r}function tx(){}tv.left,td(ty).center;var tO="\\s*([+-]?\\d+)\\s*",tw="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",tS="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",tj=/^#([0-9a-f]{3,8})$/,tP=RegExp(`^rgb\\(${tO},${tO},${tO}\\)$`),tE=RegExp(`^rgb\\(${tS},${tS},${tS}\\)$`),tA=RegExp(`^rgba\\(${tO},${tO},${tO},${tw}\\)$`),tk=RegExp(`^rgba\\(${tS},${tS},${tS},${tw}\\)$`),tT=RegExp(`^hsl\\(${tw},${tS},${tS}\\)$`),tM=RegExp(`^hsla\\(${tw},${tS},${tS},${tw}\\)$`),t_={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function tC(){return this.rgb().formatHex()}function tN(){return this.rgb().formatRgb()}function tD(t){var e,r;return t=(t+"").trim().toLowerCase(),(e=tj.exec(t))?(r=e[1].length,e=parseInt(e[1],16),6===r?tI(e):3
1===r?new tR(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===r?tB(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===r?tB(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=tP.exec(t))?new tR(e[1],e[2],e[3],1):(e=tE.exec(t))?new tR(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=tA.exec(t))?tB(e[1],e[2],e[3],e[4]):(e=tk.exec(t))?tB(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=tT.exec(t))?tq(e[1],e[2]/100,e[3]/100,1):(e=tM.exec(t))?tq(e[1],e[2]/100,e[3]/100,e[4]):t_.hasOwnProperty(t)?tI(t_[t]):"transparent"===t?new tR(NaN,NaN,NaN,0):null}function tI(t){return new tR(t>>16&255,t>>8&255,255&t,1)}function tB(t,e,r,n){return n<=0&&(t=e=r=NaN),new tR(t,e,r,n)}function tL(t,e,r,n){var i;return 1==arguments.length?((i=t)instanceof tx||(i=tD(i)),i)?new tR((i=i.rgb()).r,i.g,i.b,i.opacity):new tR:new tR(t,e,r,null==n?1:n)}function tR(t,e,r,n){this.r=+t,this.g=+e,this.b=+r,this.opacity=+n}function tz(){return`#${tW(this.r)}${tW(this.g)}${tW(this.b)}`}function tU(){let t=t$(this.opacity);return`${1===t?"rgb(":"rgba("}${tF(this.r)}, ${tF(this.g)}, ${tF(this.b)}${1===t?")":`, ${t})`}`}function t$(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function tF(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function tW(t){return((t=tF(t))<16?"0":"")+t.toString(16)}function tq(t,e,r,n){return n<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new tH(t,e,r,n)}function tV(t){if(t instanceof tH)return new tH(t.h,t.s,t.l,t.opacity);if(t instanceof tx||(t=tD(t)),!t)return new tH;if(t instanceof tH)return t;var e=(t=t.rgb()).r/255,r=t.g/255,n=t.b/255,i=Math.min(e,r,n),o=Math.max(e,r,n),a=NaN,u=o-i,c=(o+i)/2;return u?(a=e===o?(r-n)/u+(r<n)*6:r===o?(n-e)/u+2:(e-r)/u+4,u/=c<.5?o+i:2-o-i,a*=60):u=c>0&&c<1?0:a,new tH(a,u,c,t.opacity)}function tH(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}function tX(t){return(t=(t||0)%360)<0?t+360:t}function tG(t){return Math.max(0,Math.min(1,t||0))}function tY(t,e,r){return(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)*255}function tK(t,e,r,n,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*r+(1+3*t+3*o-3*a)*n+a*i)/6}tb(tx,tD,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:tC,formatHex:tC,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return tV(this).formatHsl()},formatRgb:tN,toString:tN}),tb(tR,tL,tg(tx,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new tR(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new tR(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new tR(tF(this.r),tF(this.g),tF(this.b),t$(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:tz,formatHex:tz,formatHex8:function(){return`#${tW(this.r)}${tW(this.g)}${tW(this.b)}${tW((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:tU,toString:tU})),tb(tH,function(t,e,r,n){return 1==arguments.length?tV(t):new tH(t,e,r,null==n?1:n)},tg(tx,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new tH(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new tH(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*e,i=2*r-n;return new tR(tY(t>=240?t-240:t+120,i,n),tY(t,i,n),tY(t<120?t+240:t-120,i,n),this.opacity)},clamp(){return new tH(tX(this.h),tG(this.s),tG(this.l),t$(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let t=t$(this.opacity);return`${1===t?"hsl(":"hsla("}${tX(this.h)}, ${100*tG(this.s)}%, ${100*tG(this.l)}%${1===t?")":`, ${t})`}`}}));let tZ=t=>()=>t;function tJ(t,e){var r=e-t;return r?function(e){return t+e*r}:tZ(isNaN(t)?e:t)}let tQ=function t(e){var r,n=1==(r=+e)?tJ:function(t,e){var n,i,o;return e-t?(n=t,i=e,n=Math.pow(n,o=r),i=Math.pow(i,o)-n,o=1/o,function(t){return Math.pow(n+t*i,o)}):tZ(isNaN(t)?e:t)};function i(t,e){var r=n((t=tL(t)).r,(e=tL(e)).r),i=n(t.g,e.g),o=n(t.b,e.b),a=tJ(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return i.gamma=t,i}(1);function t0(t){return function(e){var r,n,i=e.length,o=Array(i),a=Array(i),u=Array(i);for(r=0;r<i;++r)n=tL(e[r]),o[r]=n.r||0,a[r]=n.g||0,u[r]=n.b||0;return o=t(o),a=t(a),u=t(u),n.opacity=1,function(t){return n.r=o(t),n.g=a(t),n.b=u(t),n+""}}}function t1(t,e){return t*=1,e*=1,function(r){return t*(1-r)+e*r}}t0(function(t){var e=t.length-1;
1return function(r){var n=r<=0?r=0:r>=1?(r=1,e-1):Math.floor(r*e),i=t[n],o=t[n+1],a=n>0?t[n-1]:2*i-o,u=n<e-1?t[n+2]:2*o-i;return tK((r-n/e)*e,a,i,o,u)}}),t0(function(t){var e=t.length;return function(r){var n=Math.floor(((r%=1)<0?++r:r)*e),i=t[(n+e-1)%e],o=t[n%e],a=t[(n+1)%e],u=t[(n+2)%e];return tK((r-n/e)*e,i,o,a,u)}});var t2=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,t3=RegExp(t2.source,"g");function t5(t,e){var r,n,i=typeof e;return null==e||"boolean"===i?tZ(e):("number"===i?t1:"string"===i?(n=tD(e))?(e=n,tQ):function(t,e){var r,n,i,o,a,u=t2.lastIndex=t3.lastIndex=0,c=-1,l=[],s=[];for(t+="",e+="";(i=t2.exec(t))&&(o=t3.exec(e));)(a=o.index)>u&&(a=e.slice(u,a),l[c]?l[c]+=a:l[++c]=a),(i=i[0])===(o=o[0])?l[c]?l[c]+=o:l[++c]=o:(l[++c]=null,s.push({i:c,x:t1(i,o)})),u=t3.lastIndex;return u<e.length&&(a=e.slice(u),l[c]?l[c]+=a:l[++c]=a),l.length<2?s[0]?(r=s[0].x,function(t){return r(t)+""}):(n=e,function(){return n}):(e=s.length,function(t){for(var r,n=0;n<e;++n)l[(r=s[n]).i]=r.x(t);return l.join("")})}:e instanceof tD?tQ:e instanceof Date?function(t,e){var r=new Date;return t*=1,e*=1,function(n){return r.setTime(t*(1-n)+e*n),r}}:!ArrayBuffer.isView(r=e)||r instanceof DataView?Array.isArray(e)?function(t,e){var r,n=e?e.length:0,i=t?Math.min(n,t.length):0,o=Array(i),a=Array(n);for(r=0;r<i;++r)o[r]=t5(t[r],e[r]);for(;r<n;++r)a[r]=e[r];return function(t){for(r=0;r<i;++r)a[r]=o[r](t);return a}}:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?function(t,e){var r,n={},i={};for(r in(null===t||"object"!=typeof t)&&(t={}),(null===e||"object"!=typeof e)&&(e={}),e)r in t?n[r]=t5(t[r],e[r]):i[r]=e[r];return function(t){for(r in n)i[r]=n[r](t);return i}}:t1:function(t,e){e||(e=[]);var r,n=t?Math.min(e.length,t.length):0,i=e.slice();return function(o){for(r=0;r<n;++r)i[r]=t[r]*(1-o)+e[r]*o;return i}})(t,e)}function t7(t,e){return t*=1,e*=1,function(r){return Math.round(t*(1-r)+e*r)}}function t6(t){return+t}var t8=[0,1];function t4(t){return t}function t9(t,e){var r;return(e-=t*=1)?function(r){return(r-t)/e}:(r=isNaN(e)?NaN:.5,function(){return r})}function et(t,e,r){var n=t[0],i=t[1],o=e[0],a=e[1];return i<n?(n=t9(i,n),o=r(a,o)):(n=t9(n,i),o=r(o,a)),function(t){return o(n(t))}}function ee(t,e,r){var n=Math.min(t.length,e.length)-1,i=Array(n),o=Array(n),a=-1;for(t[n]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<n;)i[a]=t9(t[a],t[a+1]),o[a]=r(e[a],e[a+1]);return function(e){var r=tm(t,e,1,n)-1;return o[r](i[r](e))}}function er(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function en(){var t,e,r,n,i,o,a=t8,u=t8,c=t5,l=t4;function s(){var t,e,r,c=Math.min(a.length,u.length);return l!==t4&&(t=a[0],e=a[c-1],t>e&&(r=t,t=e,e=r),l=function(r){return Math.max(t,Math.min(e,r))}),n=c>2?ee:et,i=o=null,f}function f(e){return null==e||isNaN(e*=1)?r:(i||(i=n(a.map(t),u,c)))(t(l(e)))}return f.invert=function(r){return l(e((o||(o=n(u,a.map(t),t1)))(r)))},f.domain=function(t){return arguments.length?(a=Array.from(t,t6),s()):a.slice()},f.range=function(t){return arguments.length?(u=Array.from(t),s()):u.slice()},f.rangeRound=function(t){return u=Array.from(t),c=t7,s()},f.clamp=function(t){return arguments.length?(l=!!t||t4,s()):l!==t4},f.interpolate=function(t){return arguments.length?(c=t,s()):c},f.unknown=function(t){return arguments.length?(r=t,f):r},function(r,n){return t=r,e=n,s()}}function ei(){return en()(t4,t4)}function eo(t,e){if(!isFinite(t)||0===t)return null;var r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"),n=t.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+t.slice(r+1)]}function ea(t){return(t=eo(Math.abs(t)))?t[1]:NaN}var eu=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function ec(t){var e;if(!(e=eu.exec(t)))throw Error("invalid format: "+t);return new el({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function el(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.
1width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function es(t,e){var r=eo(t,e);if(!r)return t+"";var n=r[0],i=r[1];return i<0?"0."+Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+Array(i-n.length+2).join("0")}ec.prototype=el.prototype,el.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};let ef={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>es(100*t,e),r:es,s:function(t,r){var n=eo(t,r);if(!n)return e=void 0,t.toPrecision(r);var i=n[0],o=n[1],a=o-(e=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,u=i.length;return a===u?i:a>u?i+Array(a-u+1).join("0"):a>0?i.slice(0,a)+"."+i.slice(a):"0."+Array(1-a).join("0")+eo(t,Math.max(0,r+a-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function ep(t){return t}var ed=Array.prototype.map,eh=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function ey(t,e,r,o){var a,u,c=ts(t,e,r);switch((o=ec(null==o?",f":o)).type){case"s":var l=Math.max(Math.abs(t),Math.abs(e));return null!=o.precision||isNaN(u=Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(ea(l)/3)))-ea(Math.abs(c))))||(o.precision=u),i(o,l);case"":case"e":case"g":case"p":case"r":null!=o.precision||isNaN(u=Math.max(0,ea(Math.abs(Math.max(Math.abs(t),Math.abs(e)))-(a=Math.abs(a=c)))-ea(a))+1)||(o.precision=u-("e"===o.type));break;case"f":case"%":null!=o.precision||isNaN(u=Math.max(0,-ea(Math.abs(c))))||(o.precision=u-("%"===o.type)*2)}return n(o)}function ev(t){var e=t.domain;return t.ticks=function(t){var r=e();return tc(r[0],r[r.length-1],null==t?10:t)},t.tickFormat=function(t,r){var n=e();return ey(n[0],n[n.length-1],null==t?10:t,r)},t.nice=function(r){null==r&&(r=10);var n,i,o=e(),a=0,u=o.length-1,c=o[a],l=o[u],s=10;for(l<c&&(i=c,c=l,l=i,i=a,a=u,u=i);s-- >0;){if((i=tl(c,l,r))===n)return o[a]=c,o[u]=l,e(o);if(i>0)c=Math.floor(c/i)*i,l=Math.ceil(l/i)*i;else if(i<0)c=Math.ceil(c*i)/i,l=Math.floor(l*i)/i;else break;n=i}return t},t}function em(){var t=ei();return t.copy=function(){return er(t,em())},Y.apply(t,arguments),ev(t)}function eb(t){var e;function r(t){return null==t||isNaN(t*=1)?e:t}return r.invert=r,r.domain=r.range=function(e){return arguments.length?(t=Array.from(e,t6),r):t.slice()},r.unknown=function(t){return arguments.length?(e=t,r):e},r.copy=function(){return eb(t).unknown(e)},t=arguments.length?Array.from(t,t6):[0,1],ev(r)}function eg(t,e){t=t.slice();var r,n=0,i=t.length-1,o=t[n],a=t[i];return a<o&&(r=n,n=i,i=r,r=o,o=a,a=r),t[n]=e.floor(o),t[i]=e.ceil(a),t}function ex(t){return Math.log(t)}function eO(t){return Math.exp(t)}function ew(t){return-Math.log(-t)}function eS(t){return-Math.exp(-t)}function ej(t){return isFinite(t)?+("1e"+t):t<0?0:t}function eP(t){return(e,r)=>-t(-e,r)}function eE(t){let e,r,i=t(ex,eO),o=i.domain,a=10;function u(){var n,u;return e=(n=a)===Math.E?Math.log:10===n&&Math.log10||2===n&&Math.log2||(n=Math.log(n),t=>Math.log(t)/n),r=10===(u=a)?ej:u===Math.E?Math.exp:t=>Math.pow(u,t),o()[0]<0?(e=eP(e),r=eP(r),t(ew,eS)):t(ex,eO),i}return i.base=function(t){return arguments.length?(a=+t,u()):a},i.domain=function(t){return arguments.length?(o(t),u()):o()},i.ticks=t=>{let n,i,u=o(),c=u[0],l=u[u.length-1],s=l<c;s&&([c,l]=[l,c]);let f=e(c),p=e(l),d=null==t?10:+t,h=[];if(!(a%1)&&p-f<d){if(f=Math.floor(f),p=Math.ceil(p),c>0){for(;f<=p;++f)for(n=1;n<a;++n)if(!((i=f<0?n/r(-f):n*r(f))<c)){if(i>l)break;h.push(i)}}else for(;f<=p;++f)for(n=a-1;n>=1;--n)if(!((i=f>0?n/r(-f):n*r(f))<c)){if(i>l)break;h.push(i)}2*h.length<d&&(h=tc(c,l,d))}else h=tc(f,p,Math.min(p-f,d)).map(r);return s?h.reverse():h}
1,i.tickFormat=(t,o)=>{if(null==t&&(t=10),null==o&&(o=10===a?"s":","),"function"!=typeof o&&(a%1||null!=(o=ec(o)).precision||(o.trim=!0),o=n(o)),t===1/0)return o;let u=Math.max(1,a*t/i.ticks().length);return t=>{let n=t/r(Math.round(e(t)));return n*a<a-.5&&(n*=a),n<=u?o(t):""}},i.nice=()=>o(eg(o(),{floor:t=>r(Math.floor(e(t))),ceil:t=>r(Math.ceil(e(t)))})),i}function eA(){let t=eE(en()).domain([1,10]);return t.copy=()=>er(t,eA()).base(t.base()),Y.apply(t,arguments),t}function ek(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function eT(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function eM(t){var e=1,r=t(ek(1),eT(e));return r.constant=function(r){return arguments.length?t(ek(e=+r),eT(e)):e},ev(r)}function e_(){var t=eM(en());return t.copy=function(){return er(t,e_()).constant(t.constant())},Y.apply(t,arguments)}function eC(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function eN(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function eD(t){return t<0?-t*t:t*t}function eI(t){var e=t(t4,t4),r=1;return e.exponent=function(e){return arguments.length?1==(r=+e)?t(t4,t4):.5===r?t(eN,eD):t(eC(r),eC(1/r)):r},ev(e)}function eB(){var t=eI(en());return t.copy=function(){return er(t,eB()).exponent(t.exponent())},Y.apply(t,arguments),t}function eL(){return eB.apply(null,arguments).exponent(.5)}function eR(t){return Math.sign(t)*t*t}function ez(){var t,e=ei(),r=[0,1],n=!1;function i(r){var i,o=Math.sign(i=e(r))*Math.sqrt(Math.abs(i));return isNaN(o)?t:n?Math.round(o):o}return i.invert=function(t){return e.invert(eR(t))},i.domain=function(t){return arguments.length?(e.domain(t),i):e.domain()},i.range=function(t){return arguments.length?(e.range((r=Array.from(t,t6)).map(eR)),i):r.slice()},i.rangeRound=function(t){return i.range(t).round(!0)},i.round=function(t){return arguments.length?(n=!!t,i):n},i.clamp=function(t){return arguments.length?(e.clamp(t),i):e.clamp()},i.unknown=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return ez(e.domain(),r).round(n).clamp(e.clamp()).unknown(t)},Y.apply(i,arguments),ev(i)}function eU(t,e){let r;if(void 0===e)for(let e of t)null!=e&&(r<e||void 0===r&&e>=e)&&(r=e);else{let n=-1;for(let i of t)null!=(i=e(i,++n,t))&&(r<i||void 0===r&&i>=i)&&(r=i)}return r}function e$(t,e){let r;if(void 0===e)for(let e of t)null!=e&&(r>e||void 0===r&&e>=e)&&(r=e);else{let n=-1;for(let i of t)null!=(i=e(i,++n,t))&&(r>i||void 0===r&&i>=i)&&(r=i)}return r}function eF(t,e){return(null==t||!(t>=t))-(null==e||!(e>=e))||(t<e?-1:+(t>e))}function eW(t,e,r){let n=t[e];t[e]=t[r],t[r]=n}function eq(){var t,e=[],r=[],n=[];function i(){var t=0,i=Math.max(1,r.length);for(n=Array(i-1);++t<i;)n[t-1]=function(t,e,r=ty){if(!(!(n=t.length)||isNaN(e*=1))){if(e<=0||n<2)return+r(t[0],0,t);if(e>=1)return+r(t[n-1],n-1,t);var n,i=(n-1)*e,o=Math.floor(i),a=+r(t[o],o,t);return a+(r(t[o+1],o+1,t)-a)*(i-o)}}(e,t/i);return o}function o(e){return null==e||isNaN(e*=1)?t:r[tm(n,e)]}return o.invertExtent=function(t){var i=r.indexOf(t);return i<0?[NaN,NaN]:[i>0?n[i-1]:e[0],i<n.length?n[i]:e[e.length-1]]},o.domain=function(t){if(!arguments.length)return e.slice();for(let r of(e=[],t))null==r||isNaN(r*=1)||e.push(r);return e.sort(tf),i()},o.range=function(t){return arguments.length?(r=Array.from(t),i()):r.slice()},o.unknown=function(e){return arguments.length?(t=e,o):t},o.quantiles=function(){return n.slice()},o.copy=function(){return eq().domain(e).range(r).unknown(t)},Y.apply(o,arguments)}function eV(){var t,e=0,r=1,n=1,i=[.5],o=[0,1];function a(e){return null!=e&&e<=e?o[tm(i,e,0,n)]:t}function u(){var t=-1;for(i=Array(n);++t<n;)i[t]=((t+1)*r-(t-n)*e)/(n+1);return a}return a.domain=function(t){return arguments.length?([e,r]=t,e*=1,r*=1,u()):[e,r]},a.range=function(t){return arguments.length?(n=(o=Array.from(t)).length-1,u()):o.slice()},a.invertExtent=function(t){var a=o.indexOf(t);return a<0?[NaN,NaN]:a<1?[e,i[0]]:a>=n?[i[n-1],r]:[i[a-1],i[a]]},a.unknown=function(e){return arguments.length&&(t=e),a},a.thresholds=function(){return i.slice()},a.copy=function(){return eV().domain([e,r]).range(o).unknown(t)},Y.apply(ev(a),arguments)}function eH(){var t,e=[.5],r=[0,1],n=1;function i(i){return null!=i&&i<=i?r[tm(e,i,0,n)]:t}return i.domain=function(t){return arguments.length?(n=Math.min((e=Array.from(t)).length,r.length-1),i):e.slice()},i.range=function(t){return arguments.length?(r=Array.from(t),n=Math.min(e.length,r.length-1),i):r.slice()},i.invertExtent=function(t){var n=r.indexOf(t);return[e[n-1],e[n]]},i.unknown=function(e){return arguments.length?(t=e,i):t}
1,i.copy=function(){return eH().domain(e).range(r).unknown(t)},Y.apply(i,arguments)}n=(r=function(t){var r,n,i,o=void 0===t.grouping||void 0===t.thousands?ep:(r=ed.call(t.grouping,Number),n=t.thousands+"",function(t,e){for(var i=t.length,o=[],a=0,u=r[0],c=0;i>0&&u>0&&(c+u+1>e&&(u=Math.max(1,e-c)),o.push(t.substring(i-=u,i+u)),!((c+=u+1)>e));)u=r[a=(a+1)%r.length];return o.reverse().join(n)}),a=void 0===t.currency?"":t.currency[0]+"",u=void 0===t.currency?"":t.currency[1]+"",c=void 0===t.decimal?".":t.decimal+"",l=void 0===t.numerals?ep:(i=ed.call(t.numerals,String),function(t){return t.replace(/[0-9]/g,function(t){return i[+t]})}),s=void 0===t.percent?"%":t.percent+"",f=void 0===t.minus?"−":t.minus+"",p=void 0===t.nan?"NaN":t.nan+"";function d(t,r){var n=(t=ec(t)).fill,i=t.align,d=t.sign,h=t.symbol,y=t.zero,v=t.width,m=t.comma,b=t.precision,g=t.trim,x=t.type;"n"===x?(m=!0,x="g"):ef[x]||(void 0===b&&(b=12),g=!0,x="g"),(y||"0"===n&&"="===i)&&(y=!0,n="0",i="=");var O=(r&&void 0!==r.prefix?r.prefix:"")+("$"===h?a:"#"===h&&/[boxX]/.test(x)?"0"+x.toLowerCase():""),w=("$"===h?u:/[%p]/.test(x)?s:"")+(r&&void 0!==r.suffix?r.suffix:""),S=ef[x],j=/[defgprs%]/.test(x);function P(t){var r,a,u,s=O,h=w;if("c"===x)h=S(t)+h,t="";else{var P=(t*=1)<0||1/t<0;if(t=isNaN(t)?p:S(Math.abs(t),b),g&&(t=function(t){t:for(var e,r=t.length,n=1,i=-1;n<r;++n)switch(t[n]){case".":i=e=n;break;case"0":0===i&&(i=n),e=n;break;default:if(!+t[n])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),P&&0==+t&&"+"!==d&&(P=!1),s=(P?"("===d?d:f:"-"===d||"("===d?"":d)+s,h=("s"!==x||isNaN(t)||void 0===e?"":eh[8+e/3])+h+(P&&"("===d?")":""),j){for(r=-1,a=t.length;++r<a;)if(48>(u=t.charCodeAt(r))||u>57){h=(46===u?c+t.slice(r+1):t.slice(r))+h,t=t.slice(0,r);break}}}m&&!y&&(t=o(t,1/0));var E=s.length+t.length+h.length,A=E<v?Array(v-E+1).join(n):"";switch(m&&y&&(t=o(A+t,A.length?v-h.length:1/0),A=""),i){case"<":t=s+t+h+A;break;case"=":t=s+A+t+h;break;case"^":t=A.slice(0,E=A.length>>1)+s+t+h+A.slice(E);break;default:t=A+s+t+h}return l(t)}return b=void 0===b?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,b)):Math.max(0,Math.min(20,b)),P.toString=function(){return t+""},P}return{format:d,formatPrefix:function(t,e){var r=3*Math.max(-8,Math.min(8,Math.floor(ea(e)/3))),n=Math.pow(10,-r),i=d(((t=ec(t)).type="f",t),{suffix:eh[8+r/3]});return function(t){return i(n*t)}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,i=r.formatPrefix;let eX=new Date,eG=new Date;function eY(t,e,r,n){function i(e){return t(e=0==arguments.length?new Date:new Date(+e)),e}return i.floor=e=>(t(e=new Date(+e)),e),i.ceil=r=>(t(r=new Date(r-1)),e(r,1),t(r),r),i.round=t=>{let e=i(t),r=i.ceil(t);return t-e<r-t?e:r},i.offset=(t,r)=>(e(t=new Date(+t),null==r?1:Math.floor(r)),t),i.range=(r,n,o)=>{let a,u=[];if(r=i.ceil(r),o=null==o?1:Math.floor(o),!(r<n)||!(o>0))return u;do u.push(a=new Date(+r)),e(r,o),t(r);while(a<r&&r<n)return u},i.filter=r=>eY(e=>{if(e>=e)for(;t(e),!r(e);)e.setTime(e-1)},(t,n)=>{if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!r(t););else for(;--n>=0;)for(;e(t,1),!r(t););}),r&&(i.count=(e,n)=>(eX.setTime(+e),eG.setTime(+n),t(eX),t(eG),Math.floor(r(eX,eG))),i.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?i.filter(n?e=>n(e)%t==0:e=>i.count(0,e)%t==0):i:null),i}let eK=eY(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());eK.every=t=>isFinite(t=Math.floor(t))&&t>0?eY(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,r)=>{e.setFullYear(e.getFullYear()+r*t)}):null,eK.range;let eZ=eY(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());eZ.every=t=>isFinite(t=Math.floor(t))&&t>0?eY(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCFullYear(e.getUTCFullYear()+r*t)}):null,eZ.range;let eJ=eY(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());eJ.range;let eQ=eY(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());eQ.range;function e0(t){return eY(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(t,e)=>{t.setDate(t.getDate()+7*e)},(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/6048e5)}let e1=e0(0),e2=e0(1),e3=e0(2),e5=e0(3),e7=e0(4),e6=e0(5),e8=e0(6);function e4(t){return eY(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+7*e)},(t,e)=>(e-t)/6048e5)}e1.range,e2.range,e3.range,e5.range,e7.range,e6.range,e8.range;let e9=e4(0),rt=e4(1),re=e4(2),rr=e4(3),rn=e4(4),ri=e4(5),ro=e4(6);e9.range,rt.range,re.range,rr.range,rn.range,ri.range,ro.range;let ra=eY(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/864e5,t=>t.getDate()-1);ra.range;let ru=eY(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>t.getUTCDate()-1);ru.range;let rc=eY(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>Math.floor(t/864e5));rc.range;let rl=eY(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())},(t,e)=>{t.setTime(+t+36e5*e)},(t,e)=>(e-t)/36e5,t=>t.getHours());rl.range;let rs=eY(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+36e5*e)},(t,e)=>(e-t)/36e5,t=>t.getUTCHours());rs.range;let rf=eY(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getMinutes());rf.range;let rp=eY(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getUTCMinutes());rp.range;let rd=eY(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+1e3*e)},(t,e)=>(e-t)/1e3,t=>t.getUTCSeconds());rd.range;let rh=eY(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);function ry(t,e,r,n,i,o){let a=[[rd,1,1e3],[rd,5,5e3],[rd,15,15e3],[rd,30,3e4],[o,1,6e4],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,36e5],[i,3,108e5],[i,6,216e5],[i,12,432e5],[n,1,864e5],[n,2,1728e5],[r,1,6048e5],[e,1,2592e6],[e,3,7776e6],[t,1,31536e6]];function u(e,r,n){let i=Math.abs(r-e)/n,o=td(([,,t])=>t).right(a,i);if(o===a.length)return t.every(ts(e/31536e6,r/31536e6,n));if(0===o)return rh.every(Math.max(ts(e,r,n),1));let[u,c]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return u.every(c)}return[function(t,e,r){let n=e<t;n&&([t,e]=[e,t]);let i=r&&"function"==typeof r.range?r:u(t,e,r),o=i?i.range(t,+e+1):[];return n?o.reverse():o},u]}rh.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?eY(e=>{e.setTime(Math.floor(e/t)*t)},(e,r)=>{e.setTime(+e+r*t)},(e,r)=>(r-e)/t):rh:null,rh.range;let[rv,rm]=ry(eZ,eQ,e9,rc,rs,rp),[rb,rg]=ry(eK,eJ,e1,ra,rl,rf);function rx(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function rO(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function rw(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}var rS={"-":"",_:" ",0:"0"},rj=/^\s*\d+/,rP=/^%/,rE=/[\\^$*+?|[\]().{}]/g;function rA(t,e,r){var n=t<0?"-":"",i=(n?-t:t)+"",o=i.length;return n+(o<r?Array(r-o+1).join(e)+i:i)}function rk(t){return t.replace(rE,"\\$&")}function rT(t){return RegExp("^(?:"+t.map(rk).join("|")+")","i")}function rM(t){return new Map(t.map((t,e)=>[t.toLowerCase(),e]))}function r_(t,e,r){var n=rj.exec(e.slice(r,r+1));return n?(t.w=+n[0],r+n[0].length):-1}function rC(t,e,r){var n=rj.exec(e.slice(r,r+1));return n?(t.u=+n[0],r+n[0].length):-1}function rN(t,e,r){var n=rj.exec(e.slice(r,r+2));return n?(t.U=+n[0],r+n[0].length):-1}function rD(t,e,r){var n=rj.exec(e.slice(r,r+2));return n?(t.V=+n[0],r+n[0].length):-1}function rI(t,e,r){var n=rj.exec(e.slice(r,r+2));return n?(t.W=+n[0],r+n[0].length):-1}function rB(t,e,r){var n=rj.exec(e.slice(r,r+4));return n?(t.y=+n[0],r+n[0].length):-1}function rL(t,e,r){var n=rj.exec(e.slice(r,r+2));return n?(t.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function rR(t,e,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return n?(t.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function rz(t,e,r){var n=rj.exec(e.slice(r,r+1));return n?(t.q=3*n[0]-3,r+n[0].length):-1}function rU(t,e,r){var n=rj.exec(e.slice(r,r+2));return n?(t.m=n[0]-1,r+n[0].length):-1}function r$(t,e,r){var n=rj.exec(e.slice(r,r+2));return n?(t.d=+n[0],r+n[0].length):-1}function rF(t,e,r){var n=rj.exec(e.slice(r,r+3));return n?(t.m=0,t.d=+n[0],r+n[0].length):-1}function rW(t,e,r){var n=rj.exec(e.slice(r,r+2));return n?(t.H=+n[0],r+n[0].length):-1}function rq(t,e,r){var n=rj.exec(e.slice(r,r+2));return n?(t.M=+n[0],r+n[0].length):-1}function rV(t,e,r){var n=rj.exec(e.slice(r,r+2));return n?(t.S=+n[0],r+n[0].length):-1}function rH(t,e,r){var n=rj.exec(e.slice(r,r+3));return n?(t.L=+n[0],r+n[0].length):-1}function rX(t,e,r){var n=rj.exec(e.slice(r,r+6));return n?(t.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function rG(t,e,r){var n=rP.exec(e.slice(r,r+1));return n?r+n[0].length:-1}function rY(t,e,r){var n=rj.exec(e.slice(r));return n?(t.Q=+n[0],r+n[0].length):-1}function rK(t,e,r){var n=rj.exec(e.slice(r));return n?(t.s=+n[0],r+n[0].length):-1}function rZ(t,e){return rA(t.getDate(),e,2)}function rJ(t,e){return rA(t.getHours(),e,2)}function rQ(t,e){return rA(t.getHours()%12||12,e,2)}function r0(t,e){return rA(1+ra.count(eK(t),t),e,3)}function r1(t,e){return rA(t.getMilliseconds(),e,3)}function r2(t,e){return r1(t,e)+"000"}function r3(t,e){return rA(t.getMonth()+1,e,2)}function r5(t,e){return rA(t.getMinutes(),e,2)}function r7(t,e){return rA(t.getSeconds(),e,2)}function r6(t){var e=t.getDay();return 0===e?7:e}function r8(t,e){return rA(e1.count(eK(t)-1,t),e,2)}function r4(t){var e=t.getDay();return e>=4||0===e?e7(t):e7.ceil(t)}function r9(t,e){return t=r4(t),rA(e7.count(eK(t),t)+(4===eK(t).getDay()),e,2)}function nt(t){return t.getDay()}function ne(t,e){return rA(e2.count(eK(t)-1,t),e,2)}function nr(t,e){return rA(t.getFullYear()%100,e,2)}function nn(t,e){return rA((t=r4(t)).getFullYear()%100,e,2)}function ni(t,e){return rA(t.getFullYear()%1e4,e,4)}function no(t,e){var r=t.getDay();return rA((t=r>=4||0===r?e7(t):e7.ceil(t)).getFullYear()%1e4,e,4)}function na(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+rA(e/60|0,"0",2)+rA(e%60,"0",2)}function nu(t,e){return rA(t.getUTCDate(),e,2)}function nc(t,e){return rA(t.getUTCHours(),e,2)}function nl(t,e){return rA(t.getUTCHours()%12||12,e,2)}function ns(t,e){return rA(1+ru.count(eZ(t),t),e,3)}function nf(t,e){return rA(t.getUTCMilliseconds(),e,3)}function np(t,e){return nf(t,e)+"000"}
1function nd(t,e){return rA(t.getUTCMonth()+1,e,2)}function nh(t,e){return rA(t.getUTCMinutes(),e,2)}function ny(t,e){return rA(t.getUTCSeconds(),e,2)}function nv(t){var e=t.getUTCDay();return 0===e?7:e}function nm(t,e){return rA(e9.count(eZ(t)-1,t),e,2)}function nb(t){var e=t.getUTCDay();return e>=4||0===e?rn(t):rn.ceil(t)}function ng(t,e){return t=nb(t),rA(rn.count(eZ(t),t)+(4===eZ(t).getUTCDay()),e,2)}function nx(t){return t.getUTCDay()}function nO(t,e){return rA(rt.count(eZ(t)-1,t),e,2)}function nw(t,e){return rA(t.getUTCFullYear()%100,e,2)}function nS(t,e){return rA((t=nb(t)).getUTCFullYear()%100,e,2)}function nj(t,e){return rA(t.getUTCFullYear()%1e4,e,4)}function nP(t,e){var r=t.getUTCDay();return rA((t=r>=4||0===r?rn(t):rn.ceil(t)).getUTCFullYear()%1e4,e,4)}function nE(){return"+0000"}function nA(){return"%"}function nk(t){return+t}function nT(t){return Math.floor(t/1e3)}function nM(t){return new Date(t)}function n_(t){return t instanceof Date?+t:+new Date(+t)}function nC(t,e,r,n,i,o,a,u,c,l){var s=ei(),f=s.invert,p=s.domain,d=l(".%L"),h=l(":%S"),y=l("%I:%M"),v=l("%I %p"),m=l("%a %d"),b=l("%b %d"),g=l("%B"),x=l("%Y");function O(t){return(c(t)<t?d:u(t)<t?h:a(t)<t?y:o(t)<t?v:n(t)<t?i(t)<t?m:b:r(t)<t?g:x)(t)}return s.invert=function(t){return new Date(f(t))},s.domain=function(t){return arguments.length?p(Array.from(t,n_)):p().map(nM)},s.ticks=function(e){var r=p();return t(r[0],r[r.length-1],null==e?10:e)},s.tickFormat=function(t,e){return null==e?O:l(e)},s.nice=function(t){var r=p();return t&&"function"==typeof t.range||(t=e(r[0],r[r.length-1],null==t?10:t)),t?p(eg(r,t)):s},s.copy=function(){return er(s,nC(t,e,r,n,i,o,a,u,c,l))},s}function nN(){return Y.apply(nC(rb,rg,eK,eJ,e1,ra,rl,rf,rd,a).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function nD(){return Y.apply(nC(rv,rm,eZ,eQ,e9,ru,rs,rp,rd,u).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function nI(){var t,e,r,n,i,o=0,a=1,u=t4,c=!1;function l(e){return null==e||isNaN(e*=1)?i:u(0===r?.5:(e=(n(e)-t)*r,c?Math.max(0,Math.min(1,e)):e))}function s(t){return function(e){var r,n;return arguments.length?([r,n]=e,u=t(r,n),l):[u(0),u(1)]}}return l.domain=function(i){return arguments.length?([o,a]=i,t=n(o*=1),e=n(a*=1),r=t===e?0:1/(e-t),l):[o,a]},l.clamp=function(t){return arguments.length?(c=!!t,l):c},l.interpolator=function(t){return arguments.length?(u=t,l):u},l.range=s(t5),l.rangeRound=s(t7),l.unknown=function(t){return arguments.length?(i=t,l):i},function(i){return n=i,t=i(o),e=i(a),r=t===e?0:1/(e-t),l}}function nB(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function nL(){var t=ev(nI()(t4));return t.copy=function(){return nB(t,nL())},K.apply(t,arguments)}function nR(){var t=eE(nI()).domain([1,10]);return t.copy=function(){return nB(t,nR()).base(t.base())},K.apply(t,arguments)}function nz(){var t=eM(nI());return t.copy=function(){return nB(t,nz()).constant(t.constant())},K.apply(t,arguments)}function nU(){var t=eI(nI());return t.copy=function(){return nB(t,nU()).exponent(t.exponent())},K.apply(t,arguments)}function n$(){return nU.apply(null,arguments).exponent(.5)}function nF(){var t=[],e=t4;function r(r){if(null!=r&&!isNaN(r*=1))return e((tm(t,r,1)-1)/(t.length-1))}return r.domain=function(e){if(!arguments.length)return t.slice();for(let r of(t=[],e))null==r||isNaN(r*=1)||t.push(r);return t.sort(tf),r},r.interpolator=function(t){return arguments.length?(e=t,r):e},r.range=function(){return t.map((r,n)=>e(n/(t.length-1)))},r.quantiles=function(e){return Array.from({length:e+1},(r,n)=>(function(t,e,r){if(!(!(n=(t=Float64Array.from(function*(t,e){if(void 0===e)for(let e of t)null!=e&&(e*=1)>=e&&(yield e);else{let r=-1;for(let n of t)null!=(n=e(n,++r,t))&&(n*=1)>=n&&(yield n)}}(t,void 0))).length)||isNaN(e*=1))){if(e<=0||n<2)return e$(t);if(e>=1)return eU(t);var n,i=(n-1)*e,o=Math.floor(i),a=eU((function t(e,r,n=0,i=1/0,o){if(r=Math.floor(r),n=Math.floor(Math.max(0,n)),i=Math.floor(Math.min(e.length-1,i)),!(n<=r&&r<=i))return e;for(o=void 0===o?eF:function(t=tf){if(t===tf)return eF;if("function"!=typeof t)throw TypeError("compare is not a function");return(e,r)=>{let n=t(e,r);return n||0===n?n:(0===t(r,r))-(0===t(e,e))}}(o);i>n;){if(i-n>600){let a=i-n+1,u=r-n+1,c=Math.log(a),l=.5*Math.exp(2*c/3),s=.5*Math.sqrt(c*l*(a-l)/a)*(u-a/2<0?-1:1),f=Math.max(n,Math.floor(r-u*l/a+s)),p=Math.min(i,Math.floor(r+(a-u)*l/a+s));t(e,r,f,p,o)}let a=e[r],u=n,c=i;for(eW(e,n,r),o(e[i],a)>0&&eW(e,n,i);u<c;){for(eW(e,u,c),++u,--c;0>o(e[u],a);)++u;for(;o(e[c],a)>0;)--c}0===o(e[n],a)?eW(e,n,c):eW(e,++c,i),c<=r&&(n=c+1),r<=c&&(i=c-1)}return e})(t,o).subarray(0,o+1));return a+(e$(t.subarray(o+1))-a)*(i-o)}}
1)(t,n/e))},r.copy=function(){return nF(e).domain(t)},K.apply(r,arguments)}function nW(){var t,e,r,n,i,o,a,u=0,c=.5,l=1,s=1,f=t4,p=!1;function d(t){return isNaN(t*=1)?a:(t=.5+((t=+o(t))-e)*(s*t<s*e?n:i),f(p?Math.max(0,Math.min(1,t)):t))}function h(t){return function(e){var r,n,i;return arguments.length?([r,n,i]=e,f=function(t,e){void 0===e&&(e=t,t=t5);for(var r=0,n=e.length-1,i=e[0],o=Array(n<0?0:n);r<n;)o[r]=t(i,i=e[++r]);return function(t){var e=Math.max(0,Math.min(n-1,Math.floor(t*=n)));return o[e](t-e)}}(t,[r,n,i]),d):[f(0),f(.5),f(1)]}}return d.domain=function(a){return arguments.length?([u,c,l]=a,t=o(u*=1),e=o(c*=1),r=o(l*=1),n=t===e?0:.5/(e-t),i=e===r?0:.5/(r-e),s=e<t?-1:1,d):[u,c,l]},d.clamp=function(t){return arguments.length?(p=!!t,d):p},d.interpolator=function(t){return arguments.length?(f=t,d):f},d.range=h(t5),d.rangeRound=h(t7),d.unknown=function(t){return arguments.length?(a=t,d):a},function(a){return o=a,t=a(u),e=a(c),r=a(l),n=t===e?0:.5/(e-t),i=e===r?0:.5/(r-e),s=e<t?-1:1,d}}function nq(){var t=ev(nW()(t4));return t.copy=function(){return nB(t,nq())},K.apply(t,arguments)}function nV(){var t=eE(nW()).domain([.1,1,10]);return t.copy=function(){return nB(t,nV()).base(t.base())},K.apply(t,arguments)}function nH(){var t=eM(nW());return t.copy=function(){return nB(t,nH()).constant(t.constant())},K.apply(t,arguments)}function nX(){var t=eI(nW());return t.copy=function(){return nB(t,nX()).exponent(t.exponent())},K.apply(t,arguments)}function nG(){return nX.apply(null,arguments).exponent(.5)}a=(o=function(t){var e=t.dateTime,r=t.date,n=t.time,i=t.periods,o=t.days,a=t.shortDays,u=t.months,c=t.shortMonths,l=rT(i),s=rM(i),f=rT(o),p=rM(o),d=rT(a),h=rM(a),y=rT(u),v=rM(u),m=rT(c),b=rM(c),g={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return c[t.getMonth()]},B:function(t){return u[t.getMonth()]},c:null,d:rZ,e:rZ,f:r2,g:nn,G:no,H:rJ,I:rQ,j:r0,L:r1,m:r3,M:r5,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:nk,s:nT,S:r7,u:r6,U:r8,V:r9,w:nt,W:ne,x:null,X:null,y:nr,Y:ni,Z:na,"%":nA},x={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return u[t.getUTCMonth()]},c:null,d:nu,e:nu,f:np,g:nS,G:nP,H:nc,I:nl,j:ns,L:nf,m:nd,M:nh,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:nk,s:nT,S:ny,u:nv,U:nm,V:ng,w:nx,W:nO,x:null,X:null,y:nw,Y:nj,Z:nE,"%":nA},O={a:function(t,e,r){var n=d.exec(e.slice(r));return n?(t.w=h.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(t,e,r){var n=f.exec(e.slice(r));return n?(t.w=p.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(t,e,r){var n=m.exec(e.slice(r));return n?(t.m=b.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(t,e,r){var n=y.exec(e.slice(r));return n?(t.m=v.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(t,r,n){return j(t,e,r,n)},d:r$,e:r$,f:rX,g:rL,G:rB,H:rW,I:rW,j:rF,L:rH,m:rU,M:rq,p:function(t,e,r){var n=l.exec(e.slice(r));return n?(t.p=s.get(n[0].toLowerCase()),r+n[0].length):-1},q:rz,Q:rY,s:rK,S:rV,u:rC,U:rN,V:rD,w:r_,W:rI,x:function(t,e,n){return j(t,r,e,n)},X:function(t,e,r){return j(t,n,e,r)},y:rL,Y:rB,Z:rR,"%":rG};function w(t,e){return function(r){var n,i,o,a=[],u=-1,c=0,l=t.length;for(r instanceof Date||(r=new Date(+r));++u<l;)37===t.charCodeAt(u)&&(a.push(t.slice(c,u)),null!=(i=rS[n=t.charAt(++u)])?n=t.charAt(++u):i="e"===n?" ":"0",(o=e[n])&&(n=o(r,i)),a.push(n),c=u+1);return a.push(t.slice(c,u)),a.join("")}}function S(t,e){return function(r){var n,i,o=rw(1900,void 0,1);if(j(o,t,r+="",0)!=r.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(!e||"Z"in o||(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(n=(i=(n=rO(rw(o.y,0,1))).getUTCDay())>4||0===i?rt.ceil(n):rt(n),n=ru.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=rx(rw(o.y,0,1))).getDay())>4||0===i?e2.ceil(n):e2(n),n=ra.offset(n,(o.V-1)*7),o.y=n.getFullYear(),o.m=n.getMonth(),o.d=n.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:+("W"in o)),i="Z"in o?rO(rw(o.y,0,1)).getUTCDay():rx(rw(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*
1o.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,rO(o)):rx(o)}}function j(t,e,r,n){for(var i,o,a=0,u=e.length,c=r.length;a<u;){if(n>=c)return -1;if(37===(i=e.charCodeAt(a++))){if(!(o=O[(i=e.charAt(a++))in rS?e.charAt(a++):i])||(n=o(t,r,n))<0)return -1}else if(i!=r.charCodeAt(n++))return -1}return n}return g.x=w(r,g),g.X=w(n,g),g.c=w(e,g),x.x=w(r,x),x.X=w(n,x),x.c=w(e,x),{format:function(t){var e=w(t+="",g);return e.toString=function(){return t},e},parse:function(t){var e=S(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=w(t+="",x);return e.toString=function(){return t},e},utcParse:function(t){var e=S(t+="",!0);return e.toString=function(){return t},e}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})).format,o.parse,u=o.utcFormat,o.utcParse,t.s(["scaleBand",()=>tr,"scaleDiverging",()=>nq,"scaleDivergingLog",()=>nV,"scaleDivergingPow",()=>nX,"scaleDivergingSqrt",()=>nG,"scaleDivergingSymlog",()=>nH,"scaleIdentity",()=>eb,"scaleImplicit",0,tt,"scaleLinear",()=>em,"scaleLog",()=>eA,"scaleOrdinal",()=>te,"scalePoint",()=>tn,"scalePow",()=>eB,"scaleQuantile",()=>eq,"scaleQuantize",()=>eV,"scaleRadial",()=>ez,"scaleSequential",()=>nL,"scaleSequentialLog",()=>nR,"scaleSequentialPow",()=>nU,"scaleSequentialQuantile",()=>nF,"scaleSequentialSqrt",()=>n$,"scaleSequentialSymlog",()=>nz,"scaleSqrt",()=>eL,"scaleSymlog",()=>e_,"scaleThreshold",()=>eH,"scaleTime",()=>nN,"scaleUtc",()=>nD,"tickFormat",()=>ey],29061),t.i(29061),t.s(["scaleBand",()=>tr,"scaleDiverging",()=>nq,"scaleDivergingLog",()=>nV,"scaleDivergingPow",()=>nX,"scaleDivergingSqrt",()=>nG,"scaleDivergingSymlog",()=>nH,"scaleIdentity",()=>eb,"scaleImplicit",0,tt,"scaleLinear",()=>em,"scaleLog",()=>eA,"scaleOrdinal",()=>te,"scalePoint",()=>tn,"scalePow",()=>eB,"scaleQuantile",()=>eq,"scaleQuantize",()=>eV,"scaleRadial",()=>ez,"scaleSequential",()=>nL,"scaleSequentialLog",()=>nR,"scaleSequentialPow",()=>nU,"scaleSequentialQuantile",()=>nF,"scaleSequentialSqrt",()=>n$,"scaleSequentialSymlog",()=>nz,"scaleSqrt",()=>eL,"scaleSymlog",()=>e_,"scaleThreshold",()=>eH,"scaleTime",()=>nN,"scaleUtc",()=>nD,"tickFormat",()=>ey],79357)},50787,62990,75058,t=>{"use strict";t.s([],50787),Array.prototype.slice,t.s(["default",0,function(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}],62990),t.s(["default",0,function(t){return function(){return t}}],75058)},41015,(t,e,r)=>{var n=t.r(61884);e.exports=function(t,e,r){for(var i=-1,o=t.length;++i<o;){var a=t[i],u=e(a);if(null!=u&&(void 0===c?u==u&&!n(u):r(u,c)))var c=u,l=a}return l}},80957,(t,e,r)=>{e.exports=function(t,e){return t>e}},53336,(t,e,r)=>{e.exports=function(t){return t}},86966,(t,e,r)=>{var n=t.r(41015),i=t.r(80957),o=t.r(53336);e.exports=function(t){return t&&t.length?n(t,o,i):void 0}},98128,(t,e,r)=>{e.exports=function(t,e){return t<e}},37544,(t,e,r)=>{var n=t.r(41015),i=t.r(98128),o=t.r(53336);e.exports=function(t){return t&&t.length?n(t,o,i):void 0}},33803,(t,e,r)=>{var n=t.r(30353),i=t.r(73250),o=t.r(45350),a=n?n.isConcatSpreadable:void 0;e.exports=function(t){return o(t)||i(t)||!!(a&&t&&t[a])}},41891,(t,e,r)=>{var n=t.r(69102),i=t.r(33803);e.exports=function t(e,r,o,a,u){var c=-1,l=e.length;for(o||(o=i),u||(u=[]);++c<l;){var s=e[c];r>0&&o(s)?r>1?t(s,r-1,o,a,u):n(u,s):a||(u[u.length]=s)}return u}},48299,(t,e,r)=>{var n=t.r(1551),i=t.r(21885);e.exports=function(t,e,r,o){var a=r.length,u=a,c=!o;if(null==t)return!u;for(t=Object(t);a--;){var l=r[a];if(c&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++a<u;){var s=(l=r[a])[0],f=t[s],p=l[1];if(c&&l[2]){if(void 0===f&&!(s in t))return!1}else{var d=new n;if(o)var h=o(f,p,s,t,e,d);if(!(void 0===h?i(p,f,3,o,d):h))return!1}}return!0}},15782,(t,e,r)=>{var n=t.r(12447);e.exports=function(t){return t==t&&!n(t)}},41903,(t,e,r)=>{var n=t.r(15782),i=t.r(33679);e.exports=function(t){for(var e=i(t),r=e.length;r--;){var o=e[r],a=t[o];e[r]=[o,a,n(a)]}return e}},65570,(t,e,r)=>{e.exports=function(t,e){return function(r){return null!=r&&r[t]===e&&(void 0!==e||t in Object(r))}}},23426,(t,e,r)=>{var n=t.r(48299),i=t.r(41903),o=t.r(65570);e.exports=function(t){var e=i(t);return 1==e.length&&e[0][2]?o(e[0][0],e[0][1]):function(r){return r===t||n(r,t,e)}}},40688,(t,e,r)=>{e.exports=function(t,e){return null!=t&&e in Object(t)}},15359,(t,e,r)=>{var n=t.r(86287),i=t.r(73250),o=t.r(45350),a=t.r(66397),u=t.r(98376),c=t.r(2054);e.exports=function(t,e,r){e=n(e,t);for(var l=-1,s=e.length,f=!1;++l<s;){var p=c(e[l]);if(!(f=null!=t&&r(t,p)))break;t=t[p]}
1return f||++l!=s?f:!!(s=null==t?0:t.length)&&u(s)&&a(p,s)&&(o(t)||i(t))}},2816,(t,e,r)=>{var n=t.r(40688),i=t.r(15359);e.exports=function(t,e){return null!=t&&i(t,e,n)}},72298,(t,e,r)=>{var n=t.r(21885),i=t.r(82820),o=t.r(2816),a=t.r(9903),u=t.r(15782),c=t.r(65570),l=t.r(2054);e.exports=function(t,e){return a(t)&&u(e)?c(l(t),e):function(r){var a=i(r,t);return void 0===a&&a===e?o(r,t):n(e,a,3)}}},1079,(t,e,r)=>{e.exports=function(t){return function(e){return null==e?void 0:e[t]}}},30970,(t,e,r)=>{var n=t.r(33141);e.exports=function(t){return function(e){return n(e,t)}}},33906,(t,e,r)=>{var n=t.r(1079),i=t.r(30970),o=t.r(9903),a=t.r(2054);e.exports=function(t){return o(t)?n(a(t)):i(t)}},66305,(t,e,r)=>{var n=t.r(23426),i=t.r(72298),o=t.r(53336),a=t.r(45350),u=t.r(33906);e.exports=function(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?a(t)?i(t[0],t[1]):n(t):u(t)}},36755,(t,e,r)=>{e.exports=function(t){return function(e,r,n){for(var i=-1,o=Object(e),a=n(e),u=a.length;u--;){var c=a[t?u:++i];if(!1===r(o[c],c,o))break}return e}}},98728,(t,e,r)=>{e.exports=t.r(36755)()},63799,(t,e,r)=>{var n=t.r(98728),i=t.r(33679);e.exports=function(t,e){return t&&n(t,e,i)}},73554,(t,e,r)=>{var n=t.r(51095);e.exports=function(t,e){return function(r,i){if(null==r)return r;if(!n(r))return t(r,i);for(var o=r.length,a=e?o:-1,u=Object(r);(e?a--:++a<o)&&!1!==i(u[a],a,u););return r}}},53587,(t,e,r)=>{var n=t.r(63799);e.exports=t.r(73554)(n)},7073,(t,e,r)=>{var n=t.r(53587),i=t.r(51095);e.exports=function(t,e){var r=-1,o=i(t)?Array(t.length):[];return n(t,function(t,n,i){o[++r]=e(t,n,i)}),o}},10632,(t,e,r)=>{var n=t.r(92708),i=t.r(66305),o=t.r(7073),a=t.r(45350);e.exports=function(t,e){return(a(t)?n:o)(t,i(e,3))}},33303,(t,e,r)=>{var n=t.r(41891),i=t.r(10632);e.exports=function(t,e){return n(i(t,e),1)}},95014,(t,e,r)=>{e.exports=function(t,e,r){var n=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(r=r>i?i:r)<0&&(r+=i),i=e>r?0:r-e>>>0,e>>>=0;for(var o=Array(i);++n<i;)o[n]=t[n+e];return o}},84357,(t,e,r)=>{var n=t.r(95014);e.exports=function(t,e,r){var i=t.length;return r=void 0===r?i:r,!e&&r>=i?t:n(t,e,r)}},79589,(t,e,r)=>{var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(t){return n.test(t)}},58672,(t,e,r)=>{e.exports=function(t){return t.split("")}},95365,(t,e,r)=>{var n="\\ud800-\\udfff",i="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",a="[^"+n+"]",u="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",l="(?:"+i+"|"+o+")?",s="[\\ufe0e\\ufe0f]?",f="(?:\\u200d(?:"+[a,u,c].join("|")+")"+s+l+")*",p=RegExp(o+"(?="+o+")|"+("(?:"+[a+i+"?",i,u,c,"["+n+"]"].join("|"))+")"+(s+l+f),"g");e.exports=function(t){return t.match(p)||[]}},34170,(t,e,r)=>{var n=t.r(58672),i=t.r(79589),o=t.r(95365);e.exports=function(t){return i(t)?o(t):n(t)}},29821,(t,e,r)=>{var n=t.r(84357),i=t.r(79589),o=t.r(34170),a=t.r(2922);e.exports=function(t){return function(e){var r=i(e=a(e))?o(e):void 0,u=r?r[0]:e.charAt(0),c=r?n(r,1).join(""):e.slice(1);return u[t]()+c}}},32241,(t,e,r)=>{e.exports=t.r(29821)("toUpperCase")},83629,(t,e,r)=>{e.exports=function(t,e){var r=t.length;for(t.sort(e);r--;)t[r]=t[r].value;return t}},4886,(t,e,r)=>{var n=t.r(61884);e.exports=function(t,e){if(t!==e){var r=void 0!==t,i=null===t,o=t==t,a=n(t),u=void 0!==e,c=null===e,l=e==e,s=n(e);if(!c&&!s&&!a&&t>e||a&&u&&l&&!c&&!s||i&&u&&l||!r&&l||!o)return 1;if(!i&&!a&&!s&&t<e||s&&r&&o&&!i&&!a||c&&r&&o||!u&&o||!l)return -1}return 0}},58322,(t,e,r)=>{var n=t.r(4886);e.exports=function(t,e,r){for(var i=-1,o=t.criteria,a=e.criteria,u=o.length,c=r.length;++i<u;){var l=n(o[i],a[i]);if(l){if(i>=c)return l;return l*("desc"==r[i]?-1:1)}}return t.index-e.index}},28138,(t,e,r)=>{var n=t.r(92708),i=t.r(33141),o=t.r(66305),a=t.r(7073),u=t.r(83629),c=t.r(33999),l=t.r(58322),s=t.r(53336),f=t.r(45350);e.exports=function(t,e,r){e=e.length?n(e,function(t){return f(t)?function(e){return i(e,1===t.length?t[0]:t)}:t}):[s];var p=-1;return e=n(e,c(o)),u(a(t,function(t,r,i){return{criteria:n(e,function(e){return e(t)}),index:++p,value:t}}),function(t,e){return l(t,e,r)})}},87160,(t,e,r)=>{e.exports=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}},72953,(t,e,r)=>{var n=t.r(87160),i=Math.max;e.exports=function(t,e,r){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,a=-1,u=i(o.length-e,0),c=Array(u);++a<u;)c[a]=o[e+a];a=-1;for(var l=Array(e+1);++a<e;)l[a]=o[a];return l[e]=r(c),n(t,this,l)}}},56751,(t,e,r)=>{e.exports=function(t){return function(){return t}}},24251,(t,e,r)=>{var n=t.r(41920);e.exports=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}()},1647,(t,e,r)=>{var n=t.r(56751),i=t.r(24251),o=t.r(53336);e.exports=i?function(t,e){return i(t,"toString",{configurable:!0,enumerable:!1,value:n(e),writable:!0})}:o},51994,(t,e,r)=>{var n=Date.now;e.exports=function(t){var e=0,r=0;return function(){var i=n(),o=16-(i-r);if(r=i,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},84665,(t,e,r)=>{var n=t.r(1647);e.exports=t.r(51994)(n)},95059,(t,e,r)=>{var n=t.r(53336),i=t.r(72953),o=t.r(84665);e.exports=function(t,e){return o(i(t,e,n),t+"")}},70237,(t,e,r)=>{var n=t.r(25172),i=t.r(51095),o=t.r(66397),a=t.r(12447);e.exports=function(t,e,r){if(!a(r))return!1;var u=typeof e;return("number"==u?!!(i(r)&&o(e,r.length)):"string"==u&&e in r)&&n(r[e],t)}},31195,(t,e,r)=>{var n=t.r(41891),i=t.r(28138),o=t.r(95059),a=t.r(70237);e.exports=o(function(t,e){if(null==t)return[];var r=e.length;return r>1&&a(t,e[0],e[1])?e=[]:r>2&&a(e[0],e[1],e[2])&&(e=[e[0]]),i(t,n(e,1),[])})},51655,(t,e,r)=>{!function(r){"use strict";
1var n,i={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},o=!0,a="[DecimalError] ",u=a+"Invalid argument: ",c=a+"Exponent out of range: ",l=Math.floor,s=Math.pow,f=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,p=l(1286742750677284.5),d={};function h(t,e){var r,n,i,a,u,c,l,s,f=t.constructor,p=f.precision;if(!t.s||!e.s)return e.s||(e=new f(t)),o?j(e,p):e;if(l=t.d,s=e.d,u=t.e,i=e.e,l=l.slice(),a=u-i){for(a<0?(n=l,a=-a,c=s.length):(n=s,i=u,c=l.length),a>(c=(u=Math.ceil(p/7))>c?u+1:c+1)&&(a=c,n.length=1),n.reverse();a--;)n.push(0);n.reverse()}for((c=l.length)-(a=s.length)<0&&(a=c,n=s,s=l,l=n),r=0;a;)r=(l[--a]=l[a]+s[a]+r)/1e7|0,l[a]%=1e7;for(r&&(l.unshift(r),++i),c=l.length;0==l[--c];)l.pop();return e.d=l,e.e=i,o?j(e,p):e}function y(t,e,r){if(t!==~~t||t<e||t>r)throw Error(u+t)}function v(t){var e,r,n,i=t.length-1,o="",a=t[0];if(i>0){for(o+=a,e=1;e<i;e++)(r=7-(n=t[e]+"").length)&&(o+=O(r)),o+=n;(r=7-(n=(a=t[e])+"").length)&&(o+=O(r))}else if(0===a)return"0";for(;a%10==0;)a/=10;return o+a}d.absoluteValue=d.abs=function(){var t=new this.constructor(this);return t.s&&(t.s=1),t},d.comparedTo=d.cmp=function(t){var e,r,n,i;if(t=new this.constructor(t),this.s!==t.s)return this.s||-t.s;if(this.e!==t.e)return this.e>t.e^this.s<0?1:-1;for(e=0,r=(n=this.d.length)<(i=t.d.length)?n:i;e<r;++e)if(this.d[e]!==t.d[e])return this.d[e]>t.d[e]^this.s<0?1:-1;return n===i?0:n>i^this.s<0?1:-1},d.decimalPlaces=d.dp=function(){var t=this.d.length-1,e=(t-this.e)*7;if(t=this.d[t])for(;t%10==0;t/=10)e--;return e<0?0:e},d.dividedBy=d.div=function(t){return m(this,new this.constructor(t))},d.dividedToIntegerBy=d.idiv=function(t){var e=this.constructor;return j(m(this,new e(t),0,1),e.precision)},d.equals=d.eq=function(t){return!this.cmp(t)},d.exponent=function(){return g(this)},d.greaterThan=d.gt=function(t){return this.cmp(t)>0},d.greaterThanOrEqualTo=d.gte=function(t){return this.cmp(t)>=0},d.isInteger=d.isint=function(){return this.e>this.d.length-2},d.isNegative=d.isneg=function(){return this.s<0},d.isPositive=d.ispos=function(){return this.s>0},d.isZero=function(){return 0===this.s},d.lessThan=d.lt=function(t){return 0>this.cmp(t)},d.lessThanOrEqualTo=d.lte=function(t){return 1>this.cmp(t)},d.logarithm=d.log=function(t){var e,r=this.constructor,i=r.precision,u=i+5;if(void 0===t)t=new r(10);else if((t=new r(t)).s<1||t.eq(n))throw Error(a+"NaN");if(this.s<1)throw Error(a+(this.s?"NaN":"-Infinity"));return this.eq(n)?new r(0):(o=!1,e=m(w(this,u),w(t,u),u),o=!0,j(e,i))},d.minus=d.sub=function(t){return t=new this.constructor(t),this.s==t.s?P(this,t):h(this,(t.s=-t.s,t))},d.modulo=d.mod=function(t){var e,r=this.constructor,n=r.precision;if(!(t=new r(t)).s)throw Error(a+"NaN");return this.s?(o=!1,e=m(this,t,0,1).times(t),o=!0,this.minus(e)):j(new r(this),n)},d.naturalExponential=d.exp=function(){return b(this)},d.naturalLogarithm=d.ln=function(){return w(this)},d.negated=d.neg=function(){var t=new this.constructor(this);return t.s=-t.s||0,t},d.plus=d.add=function(t){return t=new this.constructor(t),this.s==t.s?h(this,t):P(this,(t.s=-t.s,t))},d.precision=d.sd=function(t){var e,r,n;if(void 0!==t&&!!t!==t&&1!==t&&0!==t)throw Error(u+t);if(e=g(this)+1,r=7*(n=this.d.length-1)+1,n=this.d[n]){for(;n%10==0;n/=10)r--;for(n=this.d[0];n>=10;n/=10)r++}return t&&e>r?e:r},d.squareRoot=d.sqrt=function(){var t,e,r,n,i,u,c,s=this.constructor;if(this.s<1){if(!this.s)return new s(0);throw Error(a+"NaN")}for(t=g(this),o=!1,0==(i=Math.sqrt(+this))||i==1/0?(((e=v(this.d)).length+t)%2==0&&(e+="0"),i=Math.sqrt(e),t=l((t+1)/2)-(t<0||t%2),n=new s(e=i==1/0?"5e"+t:(e=i.toExponential()).slice(0,e.indexOf("e")+1)+t)):n=new s(i.toString()),i=c=(r=s.precision)+3;;)if(n=(u=n).plus(m(this,u,c+2)).times(.5),v(u.d).slice(0,c)===(e=v(n.d)).slice(0,c)){if(e=e.slice(c-3,c+1),i==c&&"4999"==e){if(j(u,r+1,0),u.times(u).eq(this)){n=u;break}}else if("9999"!=e)break;c+=4}return o=!0,j(n,r)},d.times=d.mul=function(t){var e,r,n,i,a,u,c,l,s,f=this.constructor,p=this.d,d=(t=new f(t)).d;if(!this.s||!t.s)return new f(0);for(t.s*=this.s,r=this.e+t.e,(l=p.length)<(s=d.length)&&(a=p,p=d,d=a,u=l,l=s,s=u),a=[],n=u=l+s;n--;)a.push(0);for(n=s;--n>=0;){for(e=0,i=l+n;i>n;)c=a[i]+d[n]*p[i-n-1]+e,a[i--]=c%1e7|0,e=c/1e7|0;a[i]=(a[i]+e)%1e7|0}for(;!a[--u];)a.pop();return e?++r:a.shift(),t.d=a,t.e=r,o?j(t,f.precision):t},d.toDecimalPlaces=d.todp=function(t,e){var r=this,n=r.constructor;
1return(r=new n(r),void 0===t)?r:(y(t,0,1e9),void 0===e?e=n.rounding:y(e,0,8),j(r,t+g(r)+1,e))},d.toExponential=function(t,e){var r,n=this,i=n.constructor;return void 0===t?r=E(n,!0):(y(t,0,1e9),void 0===e?e=i.rounding:y(e,0,8),r=E(n=j(new i(n),t+1,e),!0,t+1)),r},d.toFixed=function(t,e){var r,n,i=this.constructor;return void 0===t?E(this):(y(t,0,1e9),void 0===e?e=i.rounding:y(e,0,8),r=E((n=j(new i(this),t+g(this)+1,e)).abs(),!1,t+g(n)+1),this.isneg()&&!this.isZero()?"-"+r:r)},d.toInteger=d.toint=function(){var t=this.constructor;return j(new t(this),g(this)+1,t.rounding)},d.toNumber=function(){return+this},d.toPower=d.pow=function(t){var e,r,i,u,c,s,f=this,p=f.constructor,d=+(t=new p(t));if(!t.s)return new p(n);if(!(f=new p(f)).s){if(t.s<1)throw Error(a+"Infinity");return f}if(f.eq(n))return f;if(i=p.precision,t.eq(n))return j(f,i);if(s=(e=t.e)>=(r=t.d.length-1),c=f.s,s){if((r=d<0?-d:d)<=0x1fffffffffffff){for(u=new p(n),e=Math.ceil(i/7+4),o=!1;r%2&&A((u=u.times(f)).d,e),0!==(r=l(r/2));)A((f=f.times(f)).d,e);return o=!0,t.s<0?new p(n).div(u):j(u,i)}}else if(c<0)throw Error(a+"NaN");return c=c<0&&1&t.d[Math.max(e,r)]?-1:1,f.s=1,o=!1,u=t.times(w(f,i+12)),o=!0,(u=b(u)).s=c,u},d.toPrecision=function(t,e){var r,n,i=this,o=i.constructor;return void 0===t?(r=g(i),n=E(i,r<=o.toExpNeg||r>=o.toExpPos)):(y(t,1,1e9),void 0===e?e=o.rounding:y(e,0,8),r=g(i=j(new o(i),t,e)),n=E(i,t<=r||r<=o.toExpNeg,t)),n},d.toSignificantDigits=d.tosd=function(t,e){var r=this.constructor;return void 0===t?(t=r.precision,e=r.rounding):(y(t,1,1e9),void 0===e?e=r.rounding:y(e,0,8)),j(new r(this),t,e)},d.toString=d.valueOf=d.val=d.toJSON=function(){var t=g(this),e=this.constructor;return E(this,t<=e.toExpNeg||t>=e.toExpPos)};var m=function(){function t(t,e){var r,n=0,i=t.length;for(t=t.slice();i--;)r=t[i]*e+n,t[i]=r%1e7|0,n=r/1e7|0;return n&&t.unshift(n),t}function e(t,e,r,n){var i,o;if(r!=n)o=r>n?1:-1;else for(i=o=0;i<r;i++)if(t[i]!=e[i]){o=t[i]>e[i]?1:-1;break}return o}function r(t,e,r){for(var n=0;r--;)t[r]-=n,n=+(t[r]<e[r]),t[r]=1e7*n+t[r]-e[r];for(;!t[0]&&t.length>1;)t.shift()}return function(n,i,o,u){var c,l,s,f,p,d,h,y,v,m,b,x,O,w,S,P,E,A,k=n.constructor,T=n.s==i.s?1:-1,M=n.d,_=i.d;if(!n.s)return new k(n);if(!i.s)throw Error(a+"Division by zero");for(s=0,l=n.e-i.e,E=_.length,S=M.length,y=(h=new k(T)).d=[];_[s]==(M[s]||0);)++s;if(_[s]>(M[s]||0)&&--l,(x=null==o?o=k.precision:u?o+(g(n)-g(i))+1:o)<0)return new k(0);if(x=x/7+2|0,s=0,1==E)for(f=0,_=_[0],x++;(s<S||f)&&x--;s++)O=1e7*f+(M[s]||0),y[s]=O/_|0,f=O%_|0;else{for((f=1e7/(_[0]+1)|0)>1&&(_=t(_,f),M=t(M,f),E=_.length,S=M.length),w=E,m=(v=M.slice(0,E)).length;m<E;)v[m++]=0;(A=_.slice()).unshift(0),P=_[0],_[1]>=1e7/2&&++P;do f=0,(c=e(_,v,E,m))<0?(b=v[0],E!=m&&(b=1e7*b+(v[1]||0)),(f=b/P|0)>1?(f>=1e7&&(f=1e7-1),d=(p=t(_,f)).length,m=v.length,1==(c=e(p,v,d,m))&&(f--,r(p,E<d?A:_,d))):(0==f&&(c=f=1),p=_.slice()),(d=p.length)<m&&p.unshift(0),r(v,p,m),-1==c&&(m=v.length,(c=e(_,v,E,m))<1&&(f++,r(v,E<m?A:_,m))),m=v.length):0===c&&(f++,v=[0]),y[s++]=f,c&&v[0]?v[m++]=M[w]||0:(v=[M[w]],m=1);while((w++<S||void 0!==v[0])&&x--)}return y[0]||y.shift(),h.e=l,j(h,u?o+g(h)+1:o)}}();function b(t,e){var r,i,a,u,l,f=0,p=0,d=t.constructor,h=d.precision;if(g(t)>16)throw Error(c+g(t));if(!t.s)return new d(n);for(null==e?(o=!1,l=h):l=e,u=new d(.03125);t.abs().gte(.1);)t=t.times(u),p+=5;for(l+=Math.log(s(2,p))/Math.LN10*2+5|0,r=i=a=new d(n),d.precision=l;;){if(i=j(i.times(t),l),r=r.times(++f),v((u=a.plus(m(i,r,l))).d).slice(0,l)===v(a.d).slice(0,l)){for(;p--;)a=j(a.times(a),l);return d.precision=h,null==e?(o=!0,j(a,h)):a}a=u}}function g(t){for(var e=7*t.e,r=t.d[0];r>=10;r/=10)e++;return e}function x(t,e,r){if(e>t.LN10.sd())throw o=!0,r&&(t.precision=r),Error(a+"LN10 precision limit exceeded");return j(new t(t.LN10),e)}function O(t){for(var e="";t--;)e+="0";return e}function w(t,e){var r,i,u,c,l,s,f,p,d,h=1,y=t,b=y.d,O=y.constructor,S=O.precision;if(y.s<1)throw Error(a+(y.s?"NaN":"-Infinity"));if(y.eq(n))return new O(0);if(null==e?(o=!1,p=S):p=e,y.eq(10))return null==e&&(o=!0),x(O,p);if(O.precision=p+=10,i=(r=v(b)).charAt(0),!(15e14>
1Math.abs(c=g(y))))return f=x(O,p+2,S).times(c+""),y=w(new O(i+"."+r.slice(1)),p-10).plus(f),O.precision=S,null==e?(o=!0,j(y,S)):y;for(;i<7&&1!=i||1==i&&r.charAt(1)>3;)i=(r=v((y=y.times(t)).d)).charAt(0),h++;for(c=g(y),i>1?(y=new O("0."+r),c++):y=new O(i+"."+r.slice(1)),s=l=y=m(y.minus(n),y.plus(n),p),d=j(y.times(y),p),u=3;;){if(l=j(l.times(d),p),v((f=s.plus(m(l,new O(u),p))).d).slice(0,p)===v(s.d).slice(0,p))return s=s.times(2),0!==c&&(s=s.plus(x(O,p+2,S).times(c+""))),s=m(s,new O(h),p),O.precision=S,null==e?(o=!0,j(s,S)):s;s=f,u+=2}}function S(t,e){var r,n,i;for((r=e.indexOf("."))>-1&&(e=e.replace(".","")),(n=e.search(/e/i))>0?(r<0&&(r=n),r+=+e.slice(n+1),e=e.substring(0,n)):r<0&&(r=e.length),n=0;48===e.charCodeAt(n);)++n;for(i=e.length;48===e.charCodeAt(i-1);)--i;if(e=e.slice(n,i)){if(i-=n,t.e=l((r=r-n-1)/7),t.d=[],n=(r+1)%7,r<0&&(n+=7),n<i){for(n&&t.d.push(+e.slice(0,n)),i-=7;n<i;)t.d.push(+e.slice(n,n+=7));n=7-(e=e.slice(n)).length}else n-=i;for(;n--;)e+="0";if(t.d.push(+e),o&&(t.e>p||t.e<-p))throw Error(c+r)}else t.s=0,t.e=0,t.d=[0];return t}function j(t,e,r){var n,i,a,u,f,d,h,y,v=t.d;for(u=1,a=v[0];a>=10;a/=10)u++;if((n=e-u)<0)n+=7,i=e,h=v[y=0];else{if((y=Math.ceil((n+1)/7))>=(a=v.length))return t;for(u=1,h=a=v[y];a>=10;a/=10)u++;n%=7,i=n-7+u}if(void 0!==r&&(f=h/(a=s(10,u-i-1))%10|0,d=e<0||void 0!==v[y+1]||h%a,d=r<4?(f||d)&&(0==r||r==(t.s<0?3:2)):f>5||5==f&&(4==r||d||6==r&&(n>0?i>0?h/s(10,u-i):0:v[y-1])%10&1||r==(t.s<0?8:7))),e<1||!v[0])return d?(a=g(t),v.length=1,e=e-a-1,v[0]=s(10,(7-e%7)%7),t.e=l(-e/7)||0):(v.length=1,v[0]=t.e=t.s=0),t;if(0==n?(v.length=y,a=1,y--):(v.length=y+1,a=s(10,7-n),v[y]=i>0?(h/s(10,u-i)%s(10,i)|0)*a:0),d)for(;;)if(0==y){1e7==(v[0]+=a)&&(v[0]=1,++t.e);break}else{if(v[y]+=a,1e7!=v[y])break;v[y--]=0,a=1}for(n=v.length;0===v[--n];)v.pop();if(o&&(t.e>p||t.e<-p))throw Error(c+g(t));return t}function P(t,e){var r,n,i,a,u,c,l,s,f,p,d=t.constructor,h=d.precision;if(!t.s||!e.s)return e.s?e.s=-e.s:e=new d(t),o?j(e,h):e;if(l=t.d,p=e.d,n=e.e,s=t.e,l=l.slice(),u=s-n){for((f=u<0)?(r=l,u=-u,c=p.length):(r=p,n=s,c=l.length),u>(i=Math.max(Math.ceil(h/7),c)+2)&&(u=i,r.length=1),r.reverse(),i=u;i--;)r.push(0);r.reverse()}else{for((f=(i=l.length)<(c=p.length))&&(c=i),i=0;i<c;i++)if(l[i]!=p[i]){f=l[i]<p[i];break}u=0}for(f&&(r=l,l=p,p=r,e.s=-e.s),c=l.length,i=p.length-c;i>0;--i)l[c++]=0;for(i=p.length;i>u;){if(l[--i]<p[i]){for(a=i;a&&0===l[--a];)l[a]=1e7-1;--l[a],l[i]+=1e7}l[i]-=p[i]}for(;0===l[--c];)l.pop();for(;0===l[0];l.shift())--n;return l[0]?(e.d=l,e.e=n,o?j(e,h):e):new d(0)}function E(t,e,r){var n,i=g(t),o=v(t.d),a=o.length;return e?(r&&(n=r-a)>0?o=o.charAt(0)+"."+o.slice(1)+O(n):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+O(-i-1)+o,r&&(n=r-a)>0&&(o+=O(n))):i>=a?(o+=O(i+1-a),r&&(n=r-i-1)>0&&(o=o+"."+O(n))):((n=i+1)<a&&(o=o.slice(0,n)+"."+o.slice(n)),r&&(n=r-a)>0&&(i+1===a&&(o+="."),o+=O(n))),t.s<0?"-"+o:o}function A(t,e){if(t.length>e)return t.length=e,!0}function k(t){if(!t||"object"!=typeof t)throw Error(a+"Object expected");var e,r,n,i=["precision",1,1e9,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(e=0;e<i.length;e+=3)if(void 0!==(n=t[r=i[e]]))if(l(n)===n&&n>=i[e+1]&&n<=i[e+2])this[r]=n;else throw Error(u+r+": "+n);if(void 0!==(n=t[r="LN10"]))if(n==Math.LN10)this[r]=new this(n);else throw Error(u+r+": "+n);return this}if((i=function t(e){var r,n,i;function o(t){if(!(this instanceof o))return new o(t);if(this.constructor=o,t instanceof o){this.s=t.s,this.e=t.e,this.d=(t=t.d)?t.slice():t;return}if("number"==typeof t){if(0*t!=0)throw Error(u+t);if(t>0)this.s=1;else if(t<0)t=-t,this.s=-1;else{this.s=0,this.e=0,this.d=[0];return}if(t===~~t&&t<1e7){this.e=0,this.d=[t];return}return S(this,t.toString())}if("string"!=typeof t)throw Error(u+t);if(45===t.charCodeAt(0)?(t=t.slice(1),this.s=-1):this.s=1,f.test(t))S(this,t);else throw Error(u+t)}if(o.prototype=d,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.clone=t,o.config=o.set=k,void 0===e&&(e={}),e)for(r=0,i=["precision","rounding","toExpNeg","toExpPos","LN10"];r<i.length;)e.hasOwnProperty(n=i[r++])||(e[n]=this[n]);return o.config(e),o}(i)).default=i.Decimal=i,n=new i(1),"function"==typeof define&&define.amd){let e;t.r,void 0!==(e=i)&&t.v(e)}else e.exports?e.exports=i:(r||(r="u">typeof self&&self&&self.self==self?self:Function("return this")()),r.Decimal=i)}(t.e)},67719,17306,10010,16039,9506,61770,6545,61639,t=>{"use strict";var e=t.i(62990),r=t.i(75058);function n(t,e){if((i=t.length)>1)for(var r,n,i,o=1,a=t[e[0]],u=a.length;o<i;++o)for(n=a,a=t[e[o]],r=0;r<u;++r)a[r][1]+=a[r][0]=isNaN(n[r][1])?n[r][0]:n[r][1]}function i(t){for(var e=t.length,r=Array(e);--e>=0;)r[e]=e;return r}function o(t,e){return t[e]}function a(t){let e=[];return e.key=t,e}t.s(["stack",0,function(){var t=(0,r.default)([]),u=i,c=n,l=o;function s(r){var n,i,o=Array.from(t.apply(this,arguments),a),s=o.length,f=-1;for(let t of r)for(n=0,++f;n<s;++n)(o[n][f]=[0,+l(t,o[n].key,f,r)]).data=t;for(n=0,i=(0,e.default)(u(o));n<s;++n)o[i[n]].index=n;return c(o,i),o}return s.keys=function(e){return arguments.length?(t="function"==typeof e?e:(0,r.default)(Array.from(e)),s):t},s.value=function(t){return arguments.length?(l="function"==typeof t?t:(0,r.default)(+t),s):l},s.order=function(t){return arguments.length?(u=null==t?i:"function"==typeof t?t:(0,r.default)(Array.from(t)),s):u},s.offset=function(t){return arguments.length?(c=null==t?n:t,s):c},s}],67719),t.s(["stackOffsetExpand",0,function(t,e){if((i=t.length)>0){for(var r,i,o,a=0,u=t[0].length;a<u;++a){for(o=r=0;r<i;++r)o+=t[r][a][1]||0;if(o)for(r=0;r<i;++r)t[r][a][1]/=o}n(t,e)}}],17306),t.s(["stackOffsetNone",0,n],10010),t.s(["stackOffsetSilhouette",0,function(t,e){if((r=t.length)>0){for(var r,i=0,o=t[e[0]],a=o.length;i<a;++i){for(var u=0,c=0;u<r;++u)c+=t[u][i][1]||0;o[i][1]+=o[i][0]=-c/2}n(t,e)}}],16039),t.s(["stackOffsetWiggle",0,function(t,e){if((o=t.length)>0&&(i=(r=t[e[0]]).length)>0){for(var r,i,o,a=0,u=1;u<i;++u){for(var c=0,l=0,s=0;c<o;++c){for(var f=t[e[c]],p=f[u][1]||0,d=(p-(f[u-1][1]||0))/2,h=0;h<c;++h){var y=t[e[h]];d+=(y[u][1]||0)-(y[u-1][1]||0)}l+=p,s+=d*p}r[u-1][1]+=r[u-1][0]=a,l&&(a-=s/l)}r[u-1][1]+=r[u-1][0]=a,n(t,e)}}],9506),t.s(["stackOrderNone",0,i],61770);var u=t.i(51655);function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var l=function(t){return t},s={},f=function(t){return t===s},p=function(t){return function e(){return 0==arguments.length||1==arguments.length&&f(arguments.length<=0?void 0:arguments[0])?e:t.apply(void 0,arguments)}},d=function(t){return function t(e,r){return 1===e?r:p(function(){for(var n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];var a=i.filter(function(t){return t!==s}).length;return a>=e?r.apply(void 0,i):t(e-a,p(function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var o=i.map(function(t){return f(t)?e.shift():t});return r.apply(void 0,((function(t){if(Array.isArray(t))return c(t)})(o)||function(t){if("u">typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(o)||function(t,e){if(t){if("string"==typeof t)return c(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(t,void 0)}}(o)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat(e))}))})}(t.length,t)},h=function(t,e){for(var r=[],n=t;n<e;++n)r[n-t]=n;return r},y=d(function(t,e){return Array.isArray(e)?e.map(t):Object.keys(e).map(function(t){return e[t]}).map(t)}),v=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];if(!e.length)return l;var n=e.reverse(),i=n[0],o=n.slice(1);return function(){return o.reduce(function(t,e){return e(t)},i.apply(void 0,arguments))}},m=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},b=function(t){var e=null,r=null;return function(){for(var n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return e&&i.every(function(t,r){return t===e[r]})?r:(e=i,r=t.apply(void 0,i))}};d(function(t,e,r){var n=+t;return n+r*(e-n)}),d(function(t,e,r){var n=e-t;return(r-t)/(n=n||1/0)}),d(function(t,e,r){var n=e-t;return Math.max(0,Math.min(1,(r-t)/(n=n||1/0)))});let g=function(t,e,r){for(var n=new u.default(t),i=0,o=[];n.lt(e)&&i<1e5;)o.push(n.toNumber()),n=n.add(r),i++;return o},x=function(t){return 0===t?1:Math.floor(new u.default(t).abs().log(10).toNumber())+1};function O(t){return function(t){if(Array.isArray(t))return j(t)}(t)||function(t){if("u">typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||S(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("u">typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(n=(a=u.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){i=!0,o=t}finally{try{n||null==u.return||u.return()}finally{if(i)throw o}}return r}}(t,e)||S(t,e)||function(){throw TypeError("Invalid attempt to de
1structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(t,e){if(t){if("string"==typeof t)return j(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return j(t,e)}}function j(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function P(t){var e=w(t,2),r=e[0],n=e[1],i=r,o=n;return r>n&&(i=n,o=r),[i,o]}function E(t,e,r){if(t.lte(0))return new u.default(0);var n=x(t.toNumber()),i=new u.default(10).pow(n),o=t.div(i),a=1!==n?.05:.1,c=new u.default(Math.ceil(o.div(a).toNumber())).add(r).mul(a).mul(i);return e?c:new u.default(Math.ceil(c))}function A(t,e,r){var n=1,i=new u.default(t);if(!i.isint()&&r){var o=Math.abs(t);o<1?(n=new u.default(10).pow(x(t)-1),i=new u.default(Math.floor(i.div(n).toNumber())).mul(n)):o>1&&(i=new u.default(Math.floor(t)))}else 0===t?i=new u.default(Math.floor((e-1)/2)):r||(i=new u.default(Math.floor(t)));var a=Math.floor((e-1)/2);return v(y(function(t){return i.add(new u.default(t-a).mul(n)).toNumber()}),h)(0,e)}var k=b(function(t){var e=w(t,2),r=e[0],n=e[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=Math.max(i,2),c=w(P([r,n]),2),l=c[0],s=c[1];if(l===-1/0||s===1/0){var f=s===1/0?[l].concat(O(h(0,i-1).map(function(){return 1/0}))):[].concat(O(h(0,i-1).map(function(){return-1/0})),[s]);return r>n?m(f):f}if(l===s)return A(l,i,o);var p=function t(e,r,n,i){var o,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((r-e)/(n-1)))return{step:new u.default(0),tickMin:new u.default(0),tickMax:new u.default(0)};var c=E(new u.default(r).sub(e).div(n-1),i,a),l=Math.ceil((o=e<=0&&r>=0?new u.default(0):(o=new u.default(e).add(r).div(2)).sub(new u.default(o).mod(c))).sub(e).div(c).toNumber()),s=Math.ceil(new u.default(r).sub(o).div(c).toNumber()),f=l+s+1;return f>n?t(e,r,n,i,a+1):(f<n&&(s=r>0?s+(n-f):s,l=r>0?l:l+(n-f)),{step:c,tickMin:o.sub(new u.default(l).mul(c)),tickMax:o.add(new u.default(s).mul(c))})}(l,s,a,o),d=p.step,y=g(p.tickMin,p.tickMax.add(new u.default(.1).mul(d)),d);return r>n?m(y):y});b(function(t){var e=w(t,2),r=e[0],n=e[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=Math.max(i,2),c=w(P([r,n]),2),l=c[0],s=c[1];if(l===-1/0||s===1/0)return[r,n];if(l===s)return A(l,i,o);var f=E(new u.default(s).sub(l).div(a-1),o,0),p=v(y(function(t){return new u.default(l).add(new u.default(t).mul(f)).toNumber()}),h)(0,a).filter(function(t){return t>=l&&t<=s});return r>n?m(p):p});var T=b(function(t,e){var r=w(t,2),n=r[0],i=r[1],o=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=w(P([n,i]),2),c=a[0],l=a[1];if(c===-1/0||l===1/0)return[n,i];if(c===l)return[c];var s=Math.max(e,2),f=E(new u.default(l).sub(c).div(s-1),o,0),p=[].concat(O(g(new u.default(c),new u.default(l).sub(new u.default(.99).mul(f)),f)),[l]);return n>i?m(p):p});t.s(["getNiceTickValues",()=>k,"getTickValuesFixedDomain",()=>T],6545),t.s([],61639)},29071,48337,t=>{"use strict";t.i(47167);var e=function(t,e){for(var r=arguments.length,n=Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i]};t.s(["warn",()=>e],29071);var r=t.i(71645),n=t.i(7670),i=t.i(81977),o=["children","width","height","viewBox","className","style","title","desc"];function a(){return(a=Object.assign.bind()).apply(this,arguments)}function u(t){var e=t.children,u=t.width,c=t.height,l=t.viewBox,s=t.className,f=t.style,p=t.title,d=t.desc,h=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,o),y=l||{width:u,height:c,x:0,y:0},v=(0,n.default)("recharts-surface",s);return r.default.createElement("svg",a({},(0,i.filterProps)(h,!0,"svg"),{className:v,width:u,height:c,style:f,viewBox:"".concat(y.x," ").concat(y.y," ").concat(y.width," ").concat(y.height)}),r.default.createElement("title",null,p),r.default.createElement("desc",null,d),e)}t.s(["Surface",()=>u],48337)},16888,t=>{"use strict";let e=Math.PI,r=2*e,n=r-1e-6;function i(t){this._+=t[0];for(let e=1,r=t.length;e<r;++e)this._+=arguments[e]+t[e]}class o{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?i:function(t){let e=Math.floor(t);if(!(e>=0))throw Error(`invalid digits: ${t}`);if(e>15)return i;let r=10**e;return function(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=Math.round(arguments[e]*r)/r+t[e]}}(t)}moveTo(t,e){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,e){this._append`L${this._x1=+t},${this._y1=+e}`}quadraticCurveTo(t,e,r,n){this._append`Q${+t},${+e},${this._x1=+r},${this._y1=+n}`}bezierCurveTo(t,e,r,n,i,o){this._append`C${+t},${+e},${+r},${+n}
1,${this._x1=+i},${this._y1=+o}`}arcTo(t,r,n,i,o){if(t*=1,r*=1,n*=1,i*=1,(o*=1)<0)throw Error(`negative radius: ${o}`);let a=this._x1,u=this._y1,c=n-t,l=i-r,s=a-t,f=u-r,p=s*s+f*f;if(null===this._x1)this._append`M${this._x1=t},${this._y1=r}`;else if(p>1e-6)if(Math.abs(f*c-l*s)>1e-6&&o){let d=n-a,h=i-u,y=c*c+l*l,v=Math.sqrt(y),m=Math.sqrt(p),b=o*Math.tan((e-Math.acos((y+p-(d*d+h*h))/(2*v*m)))/2),g=b/m,x=b/v;Math.abs(g-1)>1e-6&&this._append`L${t+g*s},${r+g*f}`,this._append`A${o},${o},0,0,${+(f*d>s*h)},${this._x1=t+x*c},${this._y1=r+x*l}`}else this._append`L${this._x1=t},${this._y1=r}`}arc(t,i,o,a,u,c){if(t*=1,i*=1,o*=1,c=!!c,o<0)throw Error(`negative radius: ${o}`);let l=o*Math.cos(a),s=o*Math.sin(a),f=t+l,p=i+s,d=1^c,h=c?a-u:u-a;null===this._x1?this._append`M${f},${p}`:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-p)>1e-6)&&this._append`L${f},${p}`,o&&(h<0&&(h=h%r+r),h>n?this._append`A${o},${o},0,1,${d},${t-l},${i-s}A${o},${o},0,1,${d},${this._x1=f},${this._y1=p}`:h>1e-6&&this._append`A${o},${o},0,${+(h>=e)},${d},${this._x1=t+o*Math.cos(u)},${this._y1=i+o*Math.sin(u)}`)}rect(t,e,r,n){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${r*=1}v${+n}h${-r}Z`}toString(){return this._}}function a(t){let e=3;return t.digits=function(r){if(!arguments.length)return e;if(null==r)e=null;else{let t=Math.floor(r);if(!(t>=0))throw RangeError(`invalid digits: ${r}`);e=t}return t},()=>new o(e)}o.prototype,t.s(["withPath",()=>a],16888)},56445,(t,e,r)=>{e.exports=function(t,e,r,n){for(var i=t.length,o=r+(n?1:-1);n?o--:++o<i;)if(e(t[o],o,t))return o;return -1}},4078,(t,e,r)=>{e.exports=function(t){return t!=t}},1987,(t,e,r)=>{e.exports=function(t,e,r){for(var n=r-1,i=t.length;++n<i;)if(t[n]===e)return n;return -1}},49719,(t,e,r)=>{var n=t.r(56445),i=t.r(4078),o=t.r(1987);e.exports=function(t,e,r){return e==e?o(t,e,r):n(t,i,r)}},46515,(t,e,r)=>{var n=t.r(49719);e.exports=function(t,e){return!!(null==t?0:t.length)&&n(t,e,0)>-1}},29584,(t,e,r)=>{e.exports=function(t,e,r){for(var n=-1,i=null==t?0:t.length;++n<i;)if(r(e,t[n]))return!0;return!1}},91692,(t,e,r)=>{e.exports=function(){}},8484,(t,e,r)=>{var n=t.r(6966),i=t.r(91692),o=t.r(99850);e.exports=n&&1/o(new n([,-0]))[1]==1/0?function(t){return new n(t)}:i},10339,(t,e,r)=>{var n=t.r(27493),i=t.r(46515),o=t.r(29584),a=t.r(15262),u=t.r(8484),c=t.r(99850);e.exports=function(t,e,r){var l=-1,s=i,f=t.length,p=!0,d=[],h=d;if(r)p=!1,s=o;else if(f>=200){var y=e?null:u(t);if(y)return c(y);p=!1,s=a,h=new n}else h=e?[]:d;e:for(;++l<f;){var v=t[l],m=e?e(v):v;if(v=r||0!==v?v:0,p&&m==m){for(var b=h.length;b--;)if(h[b]===m)continue e;e&&h.push(m),d.push(v)}else s(h,m,r)||(h!==d&&h.push(m),d.push(v))}return d}},74010,(t,e,r)=>{var n=t.r(66305),i=t.r(10339);e.exports=function(t,e){return t&&t.length?i(t,n(e,2)):[]}},69212,13659,51587,59559,40060,98770,68970,494,t=>{"use strict";var e=t.i(71645),r=t.i(29873),n=t.i(12447),i=t.i(71223),o=t.i(4879),a=t.i(
17670),u=t.i(9516),c=t.i(81977),l=t.i(94395);t.s(["appendOffsetOfLegend",()=>tF,"calculateActiveTickIndex",()=>tR,"checkDomainOfScale",()=>tJ,"combineEventHandlers",()=>tK,"findPositionOfBar",()=>tQ,"getBandSizeOfAxis",()=>en,"getBarPosition",()=>t$,"getBarSizeList",()=>tU,"getBaseValueOfBar",()=>t8,"getCateCoordinateOfBar",()=>t6,"getCateCoordinateOfLine",()=>t7,"getCoordinatesOfGrid",()=>tX,"getDomainOfDataByKey",()=>tL,"getDomainOfItemsWithSameAxis",()=>tV,"getDomainOfStackGroups",()=>t9,"getMainColorOfGraphicItem",()=>tz,"getStackGroupsByAxisId",()=>t3,"getStackedDataOfItem",()=>t4,"getTicksOfAxis",()=>tG,"getTicksOfScale",()=>t5,"getTooltipItem",()=>eo,"getValueByDataKey",()=>tB,"isCategoricalAxis",()=>tH,"parseDomainOfCategoryAxis",()=>ei,"parseErrorBarsOfAxis",()=>tq,"parseScale",()=>tZ,"parseSpecifiedDomain",()=>er,"truncateByDomain",()=>t0],98770),t.i(25212);var s=t.i(79357);t.i(50787);var f=t.i(67719),p=t.i(17306),d=t.i(10010),h=t.i(16039),y=t.i(9506),v=t.i(61770),m=t.i(86966),b=t.i(37544),g=t.i(85845),x=t.i(82820),O=t.i(33303),w=t.i(78948),S=t.i(32241),j=t.i(98892),P=t.i(31195);t.i(61639);var E=t.i(6545),A=t.i(34251);t.s(["getLegendProps",()=>tT],40060);var k=t.i(29071),T=t.i(48337),M=t.i(75058),_=t.i(16888);let C=Math.cos,N=Math.sin,D=Math.sqrt,I=Math.PI,B=2*I;D(3);let L={draw(t,e){let r=D(e/I);t.moveTo(r,0),t.arc(0,0,r,0,B)}},R=D(1/3),z=2*R,U=N(I/10)/N(7*I/10),$=N(B/10)*U,F=-C(B/10)*U,W=D(3);D(3);let q=D(3)/2,V=1/D(12),H=(V/2+1)*3;function X(t){return(X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var G=["type","size","sizeType"];function Y(){return(Y=Object.assign.bind()).apply(this,arguments)}function K(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function Z(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?K(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=X(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=X(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==X(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):K(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var J={symbolCircle:L,symbolCross:{draw(t,e){let r=D(e/5)/2;t.moveTo(-3*r,-r),t.lineTo(-r,-r),t.lineTo(-r,-3*r),t.lineTo(r,-3*r),t.lineTo(r,-r),t.lineTo(3*r,-r),t.lineTo(3*r,r),t.lineTo(r,r),t.lineTo(r,3*r),t.lineTo(-r,3*r),t.lineTo(-r,r),t.lineTo(-3*r,r),t.closePath()}},symbolDiamond:{draw(t,e){let r=D(e/z),n=r*R;t.moveTo(0,-r),t.lineTo(n,0),t.lineTo(0,r),t.lineTo(-n,0),t.closePath()}},symbolSquare:{draw(t,e){let r=D(e),n=-r/2;t.rect(n,n,r,r)}},symbolStar:{draw(t,e){let r=D(.8908130915292852*e),n=$*r,i=F*r;t.moveTo(0,-r),t.lineTo(n,i);for(let e=1;e<5;++e){let o=B*e/5,a=C(o),u=N(o);t.lineTo(u*r,-a*r),t.lineTo(a*n-u*i,u*n+a*i)}t.closePath()}},symbolTriangle:{draw(t,e){let r=-D(e/(3*W));t.moveTo(0,2*r),t.lineTo(-W*r,-r),t.lineTo(W*r,-r),t.closePath()}},symbolWye:{draw(t,e){let r=D(e/H),n=r/2,i=r*V,o=r*V+r,a=-n;t.moveTo(n,i),t.lineTo(n,o),t.lineTo(a,o),t.lineTo(-.5*n-q*i,q*n+-.5*i),t.lineTo(-.5*n-q*o,q*n+-.5*o),t.lineTo(-.5*a-q*o,q*a+-.5*o),t.lineTo(-.5*n+q*i,-.5*i-q*n),t.lineTo(-.5*n+q*o,-.5*o-q*n),t.lineTo(-.5*a+q*o,-.5*o-q*a),t.closePath()}}},Q=Math.PI/180,tt=function(t,e,r){if("area"===e)return t;switch(r){case"cross":return 5*t*t/9;case"diamond":return .5*t*t/Math.sqrt(3);case"square":return t*t;case"star":var n=18*Q;return 1.25*t*t*(Math.tan(n)-Math.tan(2*n)*Math.pow(Math.tan(n),2));case"triangle":return Math.sqrt(3)*t*t/4;case"wye":return(21-10*Math.sqrt(3))*t*t/8;default:return Math.PI*t*t/4}},te=function(t){var r,n=t.type,i=void 0===n?"circle":n,o=t.size,u=void 0===o?64:o,l=t.sizeType,s=void 0===l?"area":l,f=Z(Z({},function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,G)),{},{type:i,size:u,sizeType:s}),p=f.className,d=f.cx,h=f.cy,y=(0,c.filterProps)(f,!0);return d===+d&&h===+h&&u===+u?e.default.createElement("path",Y({}
1,y,{className:(0,a.default)("recharts-symbols",p),transform:"translate(".concat(d,", ").concat(h,")"),d:(r=J["symbol".concat((0,S.default)(i))]||L,(function(t,e){let r=null,n=(0,_.withPath)(i);function i(){let i;if(r||(r=i=n()),t.apply(this,arguments).draw(r,+e.apply(this,arguments)),i)return r=null,i+""||null}return t="function"==typeof t?t:(0,M.default)(t||L),e="function"==typeof e?e:(0,M.default)(void 0===e?64:+e),i.type=function(e){return arguments.length?(t="function"==typeof e?e:(0,M.default)(e),i):t},i.size=function(t){return arguments.length?(e="function"==typeof t?t:(0,M.default)(+t),i):e},i.context=function(t){return arguments.length?(r=null==t?null:t,i):r},i})().type(r).size(tt(u,s,i))())})):null};te.registerSymbol=function(t,e){J["symbol".concat((0,S.default)(t))]=e},t.s(["Symbols",()=>te],13659);var tr=t.i(73393);function tn(t){return(tn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ti(){return(ti=Object.assign.bind()).apply(this,arguments)}function to(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function ta(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ta=function(){return!!t})()}function tu(t){return(tu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tc(t,e){return(tc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tl(t,e,r){return(e=ts(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ts(t){var e=function(t,e){if("object"!=tn(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tn(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tn(e)?e:e+""}var tf=function(t){var r;function n(){var t,e;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return t=n,e=arguments,t=tu(t),function(t,e){if(e&&("object"===tn(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,ta()?Reflect.construct(t,e||[],tu(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&tc(n,t),r=[{key:"renderIcon",value:function(t){var r=this.props.inactiveColor,n=32/6,i=32/3,o=t.inactive?r:t.color;if("plainline"===t.type)return e.default.createElement("line",{strokeWidth:4,fill:"none",stroke:o,strokeDasharray:t.payload.strokeDasharray,x1:0,y1:16,x2:32,y2:16,className:"recharts-legend-icon"});if("line"===t.type)return e.default.createElement("path",{strokeWidth:4,fill:"none",stroke:o,d:"M0,".concat(16,"h").concat(i,"\n            A").concat(n,",").concat(n,",0,1,1,").concat(2*i,",").concat(16,"\n            H").concat(32,"M").concat(2*i,",").concat(16,"\n            A").concat(n,",").concat(n,",0,1,1,").concat(i,",").concat(16),className:"recharts-legend-icon"});if("rect"===t.type)return e.default.createElement("path",{stroke:"none",fill:o,d:"M0,".concat(4,"h").concat(32,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(e.default.isValidElement(t.legendIcon)){var a=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?to(Object(r),!0).forEach(function(e){tl(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):to(Object(r)).forEac
1h(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}({},t);return delete a.legendIcon,e.default.cloneElement(t.legendIcon,a)}return e.default.createElement(te,{fill:o,cx:16,cy:16,size:32,sizeType:"diameter",type:t.type})}},{key:"renderItems",value:function(){var t=this,r=this.props,n=r.payload,o=r.iconSize,u=r.layout,c=r.formatter,l=r.inactiveColor,s={x:0,y:0,width:32,height:32},f={display:"horizontal"===u?"inline-block":"block",marginRight:10},p={display:"inline-block",verticalAlign:"middle",marginRight:4};return n.map(function(r,n){var u=r.formatter||c,d=(0,a.default)(tl(tl({"recharts-legend-item":!0},"legend-item-".concat(n),!0),"inactive",r.inactive));if("none"===r.type)return null;var h=(0,i.default)(r.value)?null:r.value;(0,k.warn)(!(0,i.default)(r.value),'The name property is also required when using a function for the dataKey of a chart\'s cartesian components. Ex: <Bar name="Name of my Data"/>');var y=r.inactive?l:r.color;return e.default.createElement("li",ti({className:d,style:f,key:"legend-item-".concat(n)},(0,tr.adaptEventsOfChild)(t.props,r,n)),e.default.createElement(T.Surface,{width:o,height:o,viewBox:s,style:p},t.renderIcon(r)),e.default.createElement("span",{className:"recharts-legend-item-text",style:{color:y}},u?u(h,r,n):h))})}},{key:"render",value:function(){var t=this.props,r=t.payload,n=t.layout,i=t.align;return r&&r.length?e.default.createElement("ul",{className:"recharts-default-legend",style:{padding:0,margin:0,textAlign:"horizontal"===n?i:"left"}},this.renderItems()):null}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ts(n.key),n)}}(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(e.PureComponent);tl(tf,"displayName","Legend"),tl(tf,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var tp=t.i(74010);function td(t,e,r){return!0===e?(0,tp.default)(t,r):(0,i.default)(e)?(0,tp.default)(t,e):t}function th(t){return(th="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.s(["getUniqPayload",()=>td],51587);var ty=["ref"];function tv(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tm(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tv(Object(r),!0).forEach(function(e){tw(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tv(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tb(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,tS(n.key),n)}}function tg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tg=function(){return!!t})()}function tx(t){return(tx=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tO(t,e){return(tO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tw(t,e,r){return(e=tS(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tS(t){var e=function(t,e){if("object"!=th(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=th(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==th(e)?e:e+""}function tj(t){return t.value}var tP=function(t){var r,n;function i(){var t,e,r;if(!(this instanceof i))throw TypeError("Cannot call a class as a function");for(var n=arguments.length,o=Array(n),a=0;a<n;a++)o[a]=arguments[a];return e=i,r=[].concat(o),e=tx(e),tw(t=function(t,e){if(e&&("object"===th(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,tg()?Reflect.construct(e,r||[],tx(this).constructor):e.apply(this,r)),"lastBoundingBox",{width:-1,height:-1}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),t&&tO(i,t),r=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var t=this.wrapperNode.getBoundingClientRect();return t.height=this.wrapperNode.offsetHeight,t.width=this.wrapperNode.offsetWidth,t}return null}},{key:"updateBBox",value:function(){var t=this.props.onBBoxUpdate,e=this.getBBox();e?(Math.abs(e.width-this.lastBoundingBox.width)>1||Math.abs(e.height-this.lastBoundingBox.height)>1)&&(this.lastBoundingBox.width=e.width,this.lastBoundingBox.height=e.height,t&&t(e)):(-1!==this.lastBoundingBox.width||-1!==this.lastBoundingBox.height)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,t&&t(null))}}
1,{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?tm({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(t){var e,r,n=this.props,i=n.layout,o=n.align,a=n.verticalAlign,u=n.margin,c=n.chartWidth,l=n.chartHeight;return t&&(void 0!==t.left&&null!==t.left||void 0!==t.right&&null!==t.right)||(e="center"===o&&"vertical"===i?{left:((c||0)-this.getBBoxSnapshot().width)/2}:"right"===o?{right:u&&u.right||0}:{left:u&&u.left||0}),t&&(void 0!==t.top&&null!==t.top||void 0!==t.bottom&&null!==t.bottom)||(r="middle"===a?{top:((l||0)-this.getBBoxSnapshot().height)/2}:"bottom"===a?{bottom:u&&u.bottom||0}:{top:u&&u.top||0}),tm(tm({},e),r)}},{key:"render",value:function(){var t=this,r=this.props,n=r.content,i=r.width,o=r.height,a=r.wrapperStyle,u=r.payloadUniqBy,c=r.payload,l=tm(tm({position:"absolute",width:i||"auto",height:o||"auto"},this.getDefaultPosition(a)),a);return e.default.createElement("div",{className:"recharts-legend-wrapper",style:l,ref:function(e){t.wrapperNode=e}},function(t,r){if(e.default.isValidElement(t))return e.default.cloneElement(t,r);if("function"==typeof t)return e.default.createElement(t,r);r.ref;var n=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(r,ty);return e.default.createElement(tf,n)}(n,tm(tm({},this.props),{},{payload:td(c,u,tj)})))}}],n=[{key:"getWithHeight",value:function(t,e){var r=tm(tm({},this.defaultProps),t.props).layout;return"vertical"===r&&(0,l.isNumber)(t.props.height)?{height:t.props.height}:"horizontal"===r?{width:t.props.width||e}:null}}],r&&tb(i.prototype,r),n&&tb(i,n),Object.defineProperty(i,"prototype",{writable:!1}),i}(e.PureComponent);function tE(t){return(tE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tk(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tA(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=tE(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tE(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tE(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tA(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}tw(tP,"displayName","Legend"),tw(tP,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"}),t.s(["Legend",()=>tP],59559);var tT=function(t){var e,r=t.children,n=t.formattedGraphicalItems,i=t.legendWidth,o=t.legendContent,a=(0,c.findChildByType)(r,tP);if(!a)return null;var u=tP.defaultProps,l=void 0!==u?tk(tk({},u),a.props):{};return e=a.props&&a.props.payload?a.props&&a.props.payload:"children"===o?(n||[]).reduce(function(t,e){var r=e.item,n=e.props,i=n.sectors||n.data||[];return t.concat(i.map(function(t){return{type:a.props.iconType||r.props.legendType,value:t.name,color:t.fill,payload:t}}))},[]):(n||[]).map(function(t){var e=t.item,r=e.type.defaultProps,n=void 0!==r?tk(tk({},r),e.props):{},i=n.dataKey,o=n.name,a=n.legendType;return{inactive:n.hide,dataKey:i,type:l.iconType||a||"square",color:tz(e),value:o||i,payload:n}}),tk(tk(tk({}
1,l),tP.getWithHeight(a,i)),{},{payload:e,item:a})};function tM(t){return(tM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function t_(t){return function(t){if(Array.isArray(t))return tC(t)}(t)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return tC(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return tC(t,void 0)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tC(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function tN(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tD(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tN(Object(r),!0).forEach(function(e){tI(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tN(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tI(t,e,r){var n;return(n=function(t,e){if("object"!=tM(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tM(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==tM(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tB(t,e,n){return(0,r.default)(t)||(0,r.default)(e)?n:(0,l.isNumOrStr)(e)?(0,x.default)(t,e,n):(0,i.default)(e)?e(t):n}function tL(t,e,n,i){var o=(0,O.default)(t,function(t){return tB(t,e)});if("number"===n){var a=o.filter(function(t){return(0,l.isNumber)(t)||parseFloat(t)});return a.length?[(0,b.default)(a),(0,m.default)(a)]:[1/0,-1/0]}return(i?o.filter(function(t){return!(0,r.default)(t)}):o).map(function(t){return(0,l.isNumOrStr)(t)||t instanceof Date?t:""})}var tR=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=-1,a=null!=(e=null==r?void 0:r.length)?e:0;if(a<=1)return 0;if(i&&"angleAxis"===i.axisType&&1e-6>=Math.abs(Math.abs(i.range[1]-i.range[0])-360))for(var u=i.range,c=0;c<a;c++){var s=c>0?n[c-1].coordinate:n[a-1].coordinate,f=n[c].coordinate,p=c>=a-1?n[0].coordinate:n[c+1].coordinate,d=void 0;if((0,l.mathSign)(f-s)!==(0,l.mathSign)(p-f)){var h=[];if((0,l.mathSign)(p-f)===(0,l.mathSign)(u[1]-u[0])){d=p;var y=f+u[1]-u[0];h[0]=Math.min(y,(y+s)/2),h[1]=Math.max(y,(y+s)/2)}else{d=s;var v=p+u[1]-u[0];h[0]=Math.min(f,(v+f)/2),h[1]=Math.max(f,(v+f)/2)}var m=[Math.min(f,(d+f)/2),Math.max(f,(d+f)/2)];if(t>m[0]&&t<=m[1]||t>=h[0]&&t<=h[1]){o=n[c].index;break}}else{var b=Math.min(s,p),g=Math.max(s,p);if(t>(b+f)/2&&t<=(g+f)/2){o=n[c].index;break}}}else for(var x=0;x<a;x++)if(0===x&&t<=(r[x].coordinate+r[x+1].coordinate)/2||x>0&&x<a-1&&t>(r[x].coordinate+r[x-1].coordinate)/2&&t<=(r[x].coordinate+r[x+1].coordinate)/2||x===a-1&&t>(r[x].coordinate+r[x-1].coordinate)/2){o=r[x].index;break}return o},tz=function(t){var e,r,n=t.type.displayName,i=null!=(e=t.type)&&e.defaultProps?tD(tD({},t.type.defaultProps),t.props):t.props,o=i.stroke,a=i.fill;switch(n){case"Line":r=o;break;case"Area":case"Radar":r=o&&"none"!==o?o:a;break;default:r=a}return r},tU=function(t){var e=t.barSize,n=t.totalSize,i=t.stackGroups,o=void 0===i?{}:i;if(!o)return{};for(var a={},u=Object.keys(o),s=0,f=u.length;s<f;s++)for(var p=o[u[s]].stackGroups,d=Object.keys(p),h=0,y=d.length;h<y;h++){var v=p[d[h]],m=v.items,b=v.cateAxisId,g=m.filter(function(t){return(0,c.getDisplayName)(t.type).indexOf("Bar")>=0});if(g&&g.length){var x=g[0].type.defaultProps,O=void 0!==x?tD(tD({},x),g[0].props):g[0].props,w=O.barSize,S=O[b];a[S]||(a[S]=[]);var j=(0,r.default)(w)?e:w;a[S].push({item:g[0],stackList:g.slice(1),barSize:(0,r.default)(j)?void 0:(0,l.getPercentValue)(j,n,0)})}}return a},t$=function(t){var e,r=t.barGap,n=t.barCategoryGap,i=t.bandSize,o=t.sizeList,a=void 0===o?[]:o,u=t.maxBarSize,c=a.length;if(c<1)return null;var s=(0,l.getPercentValue)(r,i,0,!0),f=[];if(a[0].barSize===+a[0].barSize){var p=!1,d=i/c,h=a.reduce(function(t,e){return t+e.barSize||0}
1,0);(h+=(c-1)*s)>=i&&(h-=(c-1)*s,s=0),h>=i&&d>0&&(p=!0,d*=.9,h=c*d);var y={offset:((i-h)/2|0)-s,size:0};e=a.reduce(function(t,e){var r={item:e.item,position:{offset:y.offset+y.size+s,size:p?d:e.barSize}},n=[].concat(t_(t),[r]);return y=n[n.length-1].position,e.stackList&&e.stackList.length&&e.stackList.forEach(function(t){n.push({item:t,position:y})}),n},f)}else{var v=(0,l.getPercentValue)(n,i,0,!0);i-2*v-(c-1)*s<=0&&(s=0);var m=(i-2*v-(c-1)*s)/c;m>1&&(m>>=0);var b=u===+u?Math.min(m,u):m;e=a.reduce(function(t,e,r){var n=[].concat(t_(t),[{item:e.item,position:{offset:v+(m+s)*r+(m-b)/2,size:b}}]);return e.stackList&&e.stackList.length&&e.stackList.forEach(function(t){n.push({item:t,position:n[n.length-1].position})}),n},f)}return e},tF=function(t,e,r,n){var i=r.children,o=r.width,a=r.margin,u=tT({children:i,legendWidth:o-(a.left||0)-(a.right||0)});if(u){var c=n||{},s=c.width,f=c.height,p=u.align,d=u.verticalAlign,h=u.layout;if(("vertical"===h||"horizontal"===h&&"middle"===d)&&"center"!==p&&(0,l.isNumber)(t[p]))return tD(tD({},t),{},tI({},p,t[p]+(s||0)));if(("horizontal"===h||"vertical"===h&&"center"===p)&&"middle"!==d&&(0,l.isNumber)(t[d]))return tD(tD({},t),{},tI({},d,t[d]+(f||0)))}return t},tW=function(t,e,n,i,o){var a=e.props.children,u=(0,c.findAllByType)(a,A.ErrorBar).filter(function(t){var e;return e=t.props.direction,!!(0,r.default)(o)||("horizontal"===i?"yAxis"===o:"vertical"===i||"x"===e?"xAxis"===o:"y"!==e||"yAxis"===o)});if(u&&u.length){var l=u.map(function(t){return t.props.dataKey});return t.reduce(function(t,e){var i=tB(e,n);if((0,r.default)(i))return t;var o=Array.isArray(i)?[(0,b.default)(i),(0,m.default)(i)]:[i,i],a=l.reduce(function(t,r){var n=tB(e,r,0),i=o[0]-Math.abs(Array.isArray(n)?n[0]:n),a=o[1]+Math.abs(Array.isArray(n)?n[1]:n);return[Math.min(i,t[0]),Math.max(a,t[1])]},[1/0,-1/0]);return[Math.min(a[0],t[0]),Math.max(a[1],t[1])]},[1/0,-1/0])}return null},tq=function(t,e,n,i,o){var a=e.map(function(e){return tW(t,e,n,o,i)}).filter(function(t){return!(0,r.default)(t)});return a&&a.length?a.reduce(function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]},[1/0,-1/0]):null},tV=function(t,e,r,n,i){var o=e.map(function(e){var o=e.props.dataKey;return"number"===r&&o&&tW(t,e,o,n)||tL(t,o,r,i)});if("number"===r)return o.reduce(function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]},[1/0,-1/0]);var a={};return o.reduce(function(t,e){for(var r=0,n=e.length;r<n;r++)a[e[r]]||(a[e[r]]=!0,t.push(e[r]));return t},[])},tH=function(t,e){return"horizontal"===t&&"xAxis"===e||"vertical"===t&&"yAxis"===e||"centric"===t&&"angleAxis"===e||"radial"===t&&"radiusAxis"===e},tX=function(t,e,r,n){if(n)return t.map(function(t){return t.coordinate});var i,o,a=t.map(function(t){return t.coordinate===e&&(i=!0),t.coordinate===r&&(o=!0),t.coordinate});return i||a.push(e),o||a.push(r),a},tG=function(t,e,r){if(!t)return null;var n=t.scale,i=t.duplicateDomain,o=t.type,a=t.range,u="scaleBand"===t.realScaleType?n.bandwidth()/2:2,c=(e||r)&&"category"===o&&n.bandwidth?n.bandwidth()/u:0;return(c="angleAxis"===t.axisType&&(null==a?void 0:a.length)>=2?2*(0,l.mathSign)(a[0]-a[1])*c:c,e&&(t.ticks||t.niceTicks))?(t.ticks||t.niceTicks).map(function(t){return{coordinate:n(i?i.indexOf(t):t)+c,value:t,offset:c}}).filter(function(t){return!(0,w.default)(t.coordinate)}):t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map(function(t,e){return{coordinate:n(t)+c,value:t,index:e,offset:c}}):n.ticks&&!r?n.ticks(t.tickCount).map(function(t){return{coordinate:n(t)+c,value:t,offset:c}}):n.domain().map(function(t,e){return{coordinate:n(t)+c,value:i?i[t]:t,index:e,offset:c}})},tY=new WeakMap,tK=function(t,e){if("function"!=typeof e)return t;tY.has(t)||tY.set(t,new WeakMap);var r=tY.get(t);if(r.has(e))return r.get(e);var n=function(){t.apply(void 0,arguments),e.apply(void 0,arguments)};return r.set(e,n),n},tZ=function(t,e,r){var n=t.scale,o=t.type,a=t.layout,u=t.axisType;if("auto"===n)return"radial"===a&&"radiusAxis"===u?{scale:s.scaleBand(),realScaleType:"band"}:"radial"===a&&"angleAxis"===u?{scale:s.scaleLinear(),realScaleType:"linear"}:"category"===o&&e&&(e.indexOf("LineChart")>=0||e.indexOf("AreaChart")>
1=0||e.indexOf("ComposedChart")>=0&&!r)?{scale:s.scalePoint(),realScaleType:"point"}:"category"===o?{scale:s.scaleBand(),realScaleType:"band"}:{scale:s.scaleLinear(),realScaleType:"linear"};if((0,g.default)(n)){var c="scale".concat((0,S.default)(n));return{scale:(s[c]||s.scalePoint)(),realScaleType:s[c]?c:"point"}}return(0,i.default)(n)?{scale:n}:{scale:s.scalePoint(),realScaleType:"point"}},tJ=function(t){var e=t.domain();if(e&&!(e.length<=2)){var r=e.length,n=t.range(),i=Math.min(n[0],n[1])-1e-4,o=Math.max(n[0],n[1])+1e-4,a=t(e[0]),u=t(e[r-1]);(a<i||a>o||u<i||u>o)&&t.domain([e[0],e[r-1]])}},tQ=function(t,e){if(!t)return null;for(var r=0,n=t.length;r<n;r++)if(t[r].item===e)return t[r].position;return null},t0=function(t,e){if(!e||2!==e.length||!(0,l.isNumber)(e[0])||!(0,l.isNumber)(e[1]))return t;var r=Math.min(e[0],e[1]),n=Math.max(e[0],e[1]),i=[t[0],t[1]];return(!(0,l.isNumber)(t[0])||t[0]<r)&&(i[0]=r),(!(0,l.isNumber)(t[1])||t[1]>n)&&(i[1]=n),i[0]>n&&(i[0]=n),i[1]<r&&(i[1]=r),i},t1={sign:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var i=0,o=0,a=0;a<e;++a){var u=(0,w.default)(t[a][r][1])?t[a][r][0]:t[a][r][1];u>=0?(t[a][r][0]=i,t[a][r][1]=i+u,i=t[a][r][1]):(t[a][r][0]=o,t[a][r][1]=o+u,o=t[a][r][1])}},expand:p.stackOffsetExpand,none:d.stackOffsetNone,silhouette:h.stackOffsetSilhouette,wiggle:y.stackOffsetWiggle,positive:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var i=0,o=0;o<e;++o){var a=(0,w.default)(t[o][r][1])?t[o][r][0]:t[o][r][1];a>=0?(t[o][r][0]=i,t[o][r][1]=i+a,i=t[o][r][1]):(t[o][r][0]=0,t[o][r][1]=0)}}},t2=function(t,e,r){var n=e.map(function(t){return t.props.dataKey}),i=t1[r];return(0,f.stack)().keys(n).value(function(t,e){return+tB(t,e,0)}).order(v.stackOrderNone).offset(i)(t)},t3=function(t,e,r,n,i,o){if(!t)return null;var a=(o?e.reverse():e).reduce(function(t,e){var i,o=null!=(i=e.type)&&i.defaultProps?tD(tD({},e.type.defaultProps),e.props):e.props,a=o.stackId;if(o.hide)return t;var u=o[r],c=t[u]||{hasStack:!1,stackGroups:{}};if((0,l.isNumOrStr)(a)){var s=c.stackGroups[a]||{numericAxisId:r,cateAxisId:n,items:[]};s.items.push(e),c.hasStack=!0,c.stackGroups[a]=s}else c.stackGroups[(0,l.uniqueId)("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[e]};return tD(tD({},t),{},tI({},u,c))},{});return Object.keys(a).reduce(function(e,o){var u=a[o];return u.hasStack&&(u.stackGroups=Object.keys(u.stackGroups).reduce(function(e,o){var a=u.stackGroups[o];return tD(tD({},e),{},tI({},o,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:t2(t,a.items,i)}))},{})),tD(tD({},e),{},tI({},o,u))},{})},t5=function(t,e){var r=e.realScaleType,n=e.type,i=e.tickCount,o=e.originalDomain,a=e.allowDecimals,u=r||e.scale;if("auto"!==u&&"linear"!==u)return null;if(i&&"number"===n&&o&&("auto"===o[0]||"auto"===o[1])){var c=t.domain();if(!c.length)return null;var l=(0,E.getNiceTickValues)(c,i,a);return t.domain([(0,b.default)(l),(0,m.default)(l)]),{niceTicks:l}}if(i&&"number"===n){var s=t.domain();return{niceTicks:(0,E.getTickValuesFixedDomain)(s,i,a)}}return null};
1function t7(t){var e=t.axis,n=t.ticks,i=t.bandSize,o=t.entry,a=t.index,u=t.dataKey;if("category"===e.type){if(!e.allowDuplicatedCategory&&e.dataKey&&!(0,r.default)(o[e.dataKey])){var c=(0,l.findEntryInArray)(n,"value",o[e.dataKey]);if(c)return c.coordinate+i/2}return n[a]?n[a].coordinate+i/2:null}var s=tB(o,(0,r.default)(u)?e.dataKey:u);return(0,r.default)(s)?null:e.scale(s)}var t6=function(t){var e=t.axis,n=t.ticks,i=t.offset,o=t.bandSize,a=t.entry,u=t.index;if("category"===e.type)return n[u]?n[u].coordinate+i:null;var c=tB(a,e.dataKey,e.domain[u]);return(0,r.default)(c)?null:e.scale(c)-o/2+i},t8=function(t){var e=t.numericAxis,r=e.scale.domain();if("number"===e.type){var n=Math.min(r[0],r[1]),i=Math.max(r[0],r[1]);return n<=0&&i>=0?0:i<0?i:n}return r[0]},t4=function(t,e){var r,n=(null!=(r=t.type)&&r.defaultProps?tD(tD({},t.type.defaultProps),t.props):t.props).stackId;if((0,l.isNumOrStr)(n)){var i=e[n];if(i){var o=i.items.indexOf(t);return o>=0?i.stackedData[o]:null}}return null},t9=function(t,e,r){return Object.keys(t).reduce(function(n,i){var o=t[i].stackedData.reduce(function(t,n){var i=n.slice(e,r+1).reduce(function(t,e){return[(0,b.default)(e.concat([t[0]]).filter(l.isNumber)),(0,m.default)(e.concat([t[1]]).filter(l.isNumber))]},[1/0,-1/0]);return[Math.min(t[0],i[0]),Math.max(t[1],i[1])]},[1/0,-1/0]);return[Math.min(o[0],n[0]),Math.max(o[1],n[1])]},[1/0,-1/0]).map(function(t){return t===1/0||t===-1/0?0:t})},et=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,ee=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,er=function(t,e,r){if((0,i.default)(t))return t(e,r);if(!Array.isArray(t))return e;var n=[];if((0,l.isNumber)(t[0]))n[0]=r?t[0]:Math.min(t[0],e[0]);else if(et.test(t[0])){var o=+et.exec(t[0])[1];n[0]=e[0]-o}else(0,i.default)(t[0])?n[0]=t[0](e[0]):n[0]=e[0];if((0,l.isNumber)(t[1]))n[1]=r?t[1]:Math.max(t[1],e[1]);else if(ee.test(t[1])){var a=+ee.exec(t[1])[1];n[1]=e[1]+a}else(0,i.default)(t[1])?n[1]=t[1](e[1]):n[1]=e[1];return n},en=function(t,e,r){if(t&&t.scale&&t.scale.bandwidth){var n=t.scale.bandwidth();if(!r||n>0)return n}if(t&&e&&e.length>=2){for(var i=(0,P.default)(e,function(t){return t.coordinate}),o=1/0,a=1,u=i.length;a<u;a++){var c=i[a],l=i[a-1];o=Math.min((c.coordinate||0)-(l.coordinate||0),o)}return o===1/0?0:o}return r?void 0:0},ei=function(t,e,r){return!t||!t.length||(0,j.default)(t,(0,x.default)(r,"type.defaultProps.domain"))?e:t},eo=function(t,e){var r=t.type.defaultProps?tD(tD({},t.type.defaultProps),t.props):t.props,n=r.dataKey,i=r.name,o=r.unit,a=r.formatter,u=r.tooltipType,l=r.chartType,s=r.hide;return tD(tD({},(0,c.filterProps)(t,!1)),{},{dataKey:n,unit:o,formatter:a,name:i||n,color:tz(t),value:tB(e,n),type:u,payload:e,chartType:l,hide:s})};function ea(t){return(ea="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eu(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function ec(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?eu(Object(r),!0).forEach(function(e){el(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):eu(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function el(t,e,r){var n;return(n=function(t,e){if("object"!=ea(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ea(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==ea(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function es(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var ef=Math.PI/180,ep=function(t,e,r,n){return{x:t+Math.cos(-ef*n)*r,y:e+Math.sin(-ef*n)*r}},ed=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(t-(r.left||0)-(r.right||0)),Math.abs(e-(r.top||0)-(r.bottom||0)))/2},eh=function(t,e,n,i,o){var a=t.width,u=t.height,c=t.startAngle,s=t.endAngle,f
1=(0,l.getPercentValue)(t.cx,a,a/2),p=(0,l.getPercentValue)(t.cy,u,u/2),d=ed(a,u,n),h=(0,l.getPercentValue)(t.innerRadius,d,0),y=(0,l.getPercentValue)(t.outerRadius,d,.8*d);return Object.keys(e).reduce(function(t,n){var a,u=e[n],l=u.domain,d=u.reversed;if((0,r.default)(u.range))"angleAxis"===i?a=[c,s]:"radiusAxis"===i&&(a=[h,y]),d&&(a=[a[1],a[0]]);else{var v,m=function(t){if(Array.isArray(t))return t}(v=a=u.range)||function(t,e){var r=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,u=[],c=!0,l=!1;try{o=(r=r.call(t)).next,!1;for(;!(c=(n=o.call(r)).done)&&(u.push(n.value),2!==u.length);c=!0);}catch(t){l=!0,i=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return u}}(v,2)||function(t,e){if(t){if("string"==typeof t)return es(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return es(t,2)}}(v,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();c=m[0],s=m[1]}var b=tZ(u,o),g=b.realScaleType,x=b.scale;x.domain(l).range(a),tJ(x);var O=t5(x,ec(ec({},u),{},{realScaleType:g})),w=ec(ec(ec({},u),O),{},{range:a,radius:y,realScaleType:g,scale:x,cx:f,cy:p,innerRadius:h,outerRadius:y,startAngle:c,endAngle:s});return ec(ec({},t),{},el({},n,w))},{})},ey=function(t,e){var r=t.x,n=t.y;
1return Math.sqrt(Math.pow(r-e.x,2)+Math.pow(n-e.y,2))},ev=function(t,e){var r=t.x,n=t.y,i=e.cx,o=e.cy,a=ey({x:r,y:n},{x:i,y:o});if(a<=0)return{radius:a};var u=Math.acos((r-i)/a);return n>o&&(u=2*Math.PI-u),{radius:a,angle:180*u/Math.PI,angleInRadian:u}},em=function(t){var e=t.startAngle,r=t.endAngle,n=Math.min(Math.floor(e/360),Math.floor(r/360));return{startAngle:e-360*n,endAngle:r-360*n}},eb=function(t,e){var r,n=ev({x:t.x,y:t.y},e),i=n.radius,o=n.angle,a=e.innerRadius,u=e.outerRadius;if(i<a||i>u)return!1;if(0===i)return!0;var c=em(e),l=c.startAngle,s=c.endAngle,f=o;if(l<=s){for(;f>s;)f-=360;for(;f<l;)f+=360;r=f>=l&&f<=s}else{for(;f>l;)f-=360;for(;f<s;)f+=360;r=f>=s&&f<=l}return r?ec(ec({},e),{},{radius:i,angle:f+360*Math.min(Math.floor(e.startAngle/360),Math.floor(e.endAngle/360))}):null},eg=function(t){return(0,e.isValidElement)(t)||(0,i.default)(t)||"boolean"==typeof t?"":t.className};function ex(t){return(ex="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.s(["RADIAN",()=>ef,"formatAxisMap",()=>eh,"getMaxRadius",()=>ed,"getTickClassName",()=>eg,"inRangeOfSector",()=>eb,"polarToCartesian",()=>ep],68970);var eO=["offset"];function ew(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function eS(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function ej(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?eS(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=ex(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ex(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ex(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):eS(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function eP(){return(eP=Object.assign.bind()).apply(this,arguments)}var eE=function(t){var e=t.value,n=t.formatter,o=(0,r.default)(t.children)?e:t.children;return(0,i.default)(n)?n(o):o},eA=function(t,n,i){var o,u,c=t.position,s=t.viewBox,f=t.offset,p=t.className,d=s.cx,h=s.cy,y=s.innerRadius,v=s.outerRadius,m=s.startAngle,b=s.endAngle,g=s.clockWise,x=(y+v)/2,O=(0,l.mathSign)(b-m)*Math.min(Math.abs(b-m),360),w=O>=0?1:-1;"insideStart"===c?(o=m+w*f,u=g):"insideEnd"===c?(o=b-w*f,u=!g):"end"===c&&(o=b+w*f,u=g),u=O<=0?u:!u;var S=ep(d,h,x,o),j=ep(d,h,x,o+(u?1:-1)*359),P="M".concat(S.x,",").concat(S.y,"\n    A").concat(x,",").concat(x,",0,1,").concat(+!u,",\n    ").concat(j.x,",").concat(j.y),E=(0,r.default)(t.id)?(0,l.uniqueId)("recharts-radial-line-"):t.id;return e.default.createElement("text",eP({},i,{dominantBaseline:"central",className:(0,a.default)("recharts-radial-bar-label",p)}),e.default.createElement("defs",null,e.default.createElement("path",{id:E,d:P})),e.default.createElement("textPath",{xlinkHref:"#".concat(E)},n))},ek=function(t){var e=t.viewBox,r=t.offset,n=t.position,i=e.cx,o=e.cy,a=e.innerRadius,u=e.outerRadius,c=(e.startAngle+e.endAngle)/2;if("outside"===n){var l=ep(i,o,u+r,c),s=l.x;return{x:s,y:l.y,textAnchor:s>=i?"start":"end",verticalAnchor:"middle"}}if("center"===n)return{x:i,y:o,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===n)return{x:i,y:o,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===n)return{x:i,y:o,textAnchor:"middle",verticalAnchor:"end"};var f=ep(i,o,(a+u)/2,c);return{x:f.x,y:f.y,textAnchor:"middle",verticalAnchor:"middle"}},eT=function(t){var e=t.viewBox,r=t.parentViewBox,i=t.offset,o=t.position,a=e.x,u=e.y,c=e.width,s=e.he
1ight,f=s>=0?1:-1,p=f*i,d=f>0?"end":"start",h=f>0?"start":"end",y=c>=0?1:-1,v=y*i,m=y>0?"end":"start",b=y>0?"start":"end";if("top"===o)return ej(ej({},{x:a+c/2,y:u-f*i,textAnchor:"middle",verticalAnchor:d}),r?{height:Math.max(u-r.y,0),width:c}:{});if("bottom"===o)return ej(ej({},{x:a+c/2,y:u+s+p,textAnchor:"middle",verticalAnchor:h}),r?{height:Math.max(r.y+r.height-(u+s),0),width:c}:{});if("left"===o){var g={x:a-v,y:u+s/2,textAnchor:m,verticalAnchor:"middle"};return ej(ej({},g),r?{width:Math.max(g.x-r.x,0),height:s}:{})}if("right"===o){var x={x:a+c+v,y:u+s/2,textAnchor:b,verticalAnchor:"middle"};return ej(ej({},x),r?{width:Math.max(r.x+r.width-x.x,0),height:s}:{})}var O=r?{width:c,height:s}:{};return"insideLeft"===o?ej({x:a+v,y:u+s/2,textAnchor:b,verticalAnchor:"middle"},O):"insideRight"===o?ej({x:a+c-v,y:u+s/2,textAnchor:m,verticalAnchor:"middle"},O):"insideTop"===o?ej({x:a+c/2,y:u+p,textAnchor:"middle",verticalAnchor:h},O):"insideBottom"===o?ej({x:a+c/2,y:u+s-p,textAnchor:"middle",verticalAnchor:d},O):"insideTopLeft"===o?ej({x:a+v,y:u+p,textAnchor:b,verticalAnchor:h},O):"insideTopRight"===o?ej({x:a+c-v,y:u+p,textAnchor:m,verticalAnchor:h},O):"insideBottomLeft"===o?ej({x:a+v,y:u+s-p,textAnchor:b,verticalAnchor:d},O):"insideBottomRight"===o?ej({x:a+c-v,y:u+s-p,textAnchor:m,verticalAnchor:d},O):(0,n.default)(o)&&((0,l.isNumber)(o.x)||(0,l.isPercent)(o.x))&&((0,l.isNumber)(o.y)||(0,l.isPercent)(o.y))?ej({x:a+(0,l.getPercentValue)(o.x,c),y:u+(0,l.getPercentValue)(o.y,s),textAnchor:"end",verticalAnchor:"end"},O):ej({x:a+c/2,y:u+s/2,textAnchor:"middle",verticalAnchor:"middle"},O)};function eM(t){var n,o=t.offset,s=ej({offset:void 0===o?5:o},function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,eO)),f=s.viewBox,p=s.position,d=s.value,h=s.children,y=s.content,v=s.className,m=s.textBreakAll;if(!f||(0,r.default)(d)&&(0,r.default)(h)&&!(0,e.isValidElement)(y)&&!(0,i.default)(y))return null;if((0,e.isValidElement)(y))return(0,e.cloneElement)(y,s);if((0,i.default)(y)){if(n=(0,e.createElement)(y,s),(0,e.isValidElement)(n))return n}else n=eE(s);var b="cx"in f&&(0,l.isNumber)(f.cx),g=(0,c.filterProps)(s,!0);if(b&&("insideStart"===p||"insideEnd"===p||"end"===p))return eA(s,n,g);var x=b?ek(s):eT(s);return e.default.createElement(u.Text,eP({className:(0,a.default)("recharts-label",void 0===v?"":v)},g,x,{breakAll:m}),n)}eM.displayName="Label";var e_=function(t){var e=t.cx,r=t.cy,n=t.angle,i=t.startAngle,o=t.endAngle,a=t.r,u=t.radius,c=t.innerRadius,s=t.outerRadius,f=t.x,p=t.y,d=t.top,h=t.left,y=t.width,v=t.height,m=t.clockWise,b=t.labelViewBox;if(b)return b;if((0,l.isNumber)(y)&&(0,l.isNumber)(v)){if((0,l.isNumber)(f)&&(0,l.isNumber)(p))return{x:f,y:p,width:y,height:v};if((0,l.isNumber)(d)&&(0,l.isNumber)(h))return{x:d,y:h,width:y,height:v}}return(0,l.isNumber)(f)&&(0,l.isNumber)(p)?{x:f,y:p,width:0,height:0}:(0,l.isNumber)(e)&&(0,l.isNumber)(r)?{cx:e,cy:r,startAngle:i||n||0,endAngle:o||n||0,innerRadius:c||0,outerRadius:s||u||a||0,clockWise:m}:t.viewBox?t.viewBox:{}};eM.parseViewBox=e_,eM.renderCallByParent=function(t,r){var o,a,u=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!t||!t.children&&u&&!t.label)return null;var s=t.children,f=e_(t),p=(0,c.findAllByType)(s,eM).map(function(t,n){return(0,e.cloneElement)(t,{viewBox:r||f,key:"label-".concat(n)})});if(!u)return p;return[(o=t.label,a=r||f,!o?null:!0===o?e.default.createElement(eM,{key:"label-implicit",viewBox:a}):(0,l.isNumOrStr)(o)?e.default.createElement(eM,{key:"label-implicit",viewBox:a,value:o}):(0,e.isValidElement)(o)?o.type===eM?(0,e.cloneElement)(o,{key:"label-implicit",viewBox:a}):e.default.createElement(eM,{key:"label-implicit",content:o,viewBox:a}):(0,i.default)(o)?e.default.createElement(eM,{key:"label-implicit",content:o,viewBox:a}):(0,n.default)(o)?e.default.createElement(eM,eP({viewBox:a},o,{key:"label-implicit"})):null)].concat(function(t){if(Array.isArray(t))return ew(t)}(p)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}
1(p)||function(t,e){if(t){if("string"==typeof t)return ew(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ew(t,void 0)}}(p)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())},t.s(["Label",()=>eM],494);var eC=t.i(97865);function eN(t){return(eN="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var eD=["valueAccessor"],eI=["data","dataKey","clockWise","id","textBreakAll"];function eB(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function eL(){return(eL=Object.assign.bind()).apply(this,arguments)}function eR(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function ez(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?eR(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=eN(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=eN(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==eN(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):eR(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function eU(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}var e$=function(t){return Array.isArray(t.value)?(0,o.default)(t.value):t.value};function eF(t){var n=t.valueAccessor,i=void 0===n?e$:n,o=eU(t,eD),a=o.data,u=o.dataKey,l=o.clockWise,s=o.id,f=o.textBreakAll,p=eU(o,eI);return a&&a.length?e.default.createElement(eC.Layer,{className:"recharts-label-list"},a.map(function(t,n){var o=(0,r.default)(u)?i(t,n):tB(t&&t.payload,u),a=(0,r.default)(s)?{}:{id:"".concat(s,"-").concat(n)};return e.default.createElement(eM,eL({},(0,c.filterProps)(t,!0),p,a,{parentViewBox:t.parentViewBox,value:o,textBreakAll:f,viewBox:eM.parseViewBox((0,r.default)(l)?t:ez(ez({},t),{},{clockWise:l})),key:"label-".concat(n),index:n}))})):null}eF.displayName="LabelList",eF.renderCallByParent=function(t,r){var o,a=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!t||!t.children&&a&&!t.label)return null;var u=t.children,l=(0,c.findAllByType)(u,eF).map(function(t,n){return(0,e.cloneElement)(t,{data:r,key:"labelList-".concat(n)})});return a?[(o=t.label,!o?null:!0===o?e.default.createElement(eF,{key:"labelList-implicit",data:r}):e.default.isValidElement(o)||(0,i.default)(o)?e.default.createElement(eF,{key:"labelList-implicit",data:r,content:o}):(0,n.default)(o)?e.default.createElement(eF,eL({data:r},o,{key:"labelList-implicit"})):null)].concat(function(t){if(Array.isArray(t))return eB(t)}(l)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(l)||function(t,e){if(t){if("string"==typeof t)return eB(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return eB(t,void 0)}}(l)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):l},t.s(["LabelList",()=>eF],69212)},62413,(t,e,r)=>{e.exports=t.r(25717)(Object.getPrototypeOf,Object)},1320,(t,e,r)=>{var n=t.r(77684),i=t.r(62413),o=t.r(77289),a=Object.prototype,u=Function.prototype.toString,c=a.hasOwnProperty,l=u.call(Object);e.exports=function(t){if(!o(t)||"[object Object]"!=n(t))return!1;var e=i(t);if(null===e)return!0;var r=c.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&u.call(r)==l}},20164,(t,e,r)=>{var n=t.r(77684),i=t.r(77289);e.exports=function(t){return!0===t||!1===t||i(t)&&"[object Boolean]"==n(t)}},29905,t=>{"use strict";var e=t.i(71645),r=t.i(7670),n=t.i(73050),i=t.i(81977);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(){return(a=Object.assign.bind()).apply(this,arguments)}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?c(Object(r),!0).forEach(function(e){var n,i,a;n=t,i=e,a=r[e],(i=function(t){var e=function(t,e){if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=o(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==o(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var s=function(t,e,r,n,i){var o,a=Math.min(Math.abs(r)/2,Math.abs(n)/2),u=n>=0?1:-1,c=r>=0?1:-1,l=+(n>=0&&r>=0||n<0&&r<0);if(a>0&&i instanceof Array){for(var s=[0,0,0,0],f=0;f<4;f++)s[f]=i[f]>a?a:i[f];o="M".concat(t,",").concat(e+u*s[0]),s[0]>0&&(o+="A ".concat(s[0],",").concat(s[0],",0,0,").concat(l,",").concat(t+c*s[0],",").concat(e)),o+="L ".concat(t+r-c*s[1],",").concat(e),s[1]>0&&(o+="A ".concat(s[1],",").concat(s[1],",0,0,").concat(l,",\n        ").concat(t+r,",").concat(e+u*s[1])),o+="L ".concat(t+r,",").concat(e+n-u*s[2]),s[2]>0&&(o+="A ".concat(s[2],",").concat(s[2],",0,0,").concat(l,",\n        ").concat(t+r-c*s[2],",").concat(e+n)),o+="L ".concat(t+c*s[3],",").concat(e+n),s[3]>0&&(o+="A ".concat(s[3],",").concat(s[3],",0,0,").concat(l,",\n        ").concat(t,",").concat(e+n-u*s[3])),o+="Z"}else if(a>0&&i===+i&&i>0){var p=Math.min(a,i);o="M ".concat(t,",").concat(e+u*p,"\n            A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(t+c*p,",").concat(e,"\n            L ").concat(t+r-c*p,",").concat(e,"\n            A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(t+r,",").concat(e+u*p,"\n            L ").concat(t+r,",").concat(e+n-u*p,"\n            A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(t+r-c*p,",").concat(e+n,"\n            L ").concat(t+c*p,",").concat(e+n,"\n            A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(t,",").concat(e+n-u*p," Z")}else o="M ".concat(t,",").concat(e," h ").concat(r," v ").concat(n," h ").concat(-r," Z");return o},f=function(t,e){if(!t||!e)return!1;var r=t.x,n=t.y,i=e.x,o=e.y,a=e.width,u=e.height;if(Math.abs(a)>0&&Math.abs(u)>0){var c=Math.min(i,i+a),l=Math.max(i,i+a),s=Math.min(o,o+u),f=Math.max(o,o+u);return r>=c&&r<=l&&n>=s&&n<=f}return!1},p={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},d=function(t){var o,c=l(l({},p),t),f=(0,e.useRef)(),d=function(t){if(Array.isArray(t))return t}(o=(0,e.useState)(-1))||function(t,e){var r=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,u=[],c=!0,l=!1;try{o=(r=r.call(t)).next,!1;for(;!(c=(n=o.call(r)).done)&&(u.push(n.value),2!==u.length);c=!0);}catch(t){l=!0,i=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return u}}(o,2)||function(t,e){if(t){if("string"==typeof t)return u(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(t,2)}}(o,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),h=d[0],y=d[1];(0,e.useEffect)(function(){if(f.current&&f.current.getTotalLength)try{var t=f.current.getTotalLength();t&&y(t)}catch(t){}},[]);var v=c.x,m=c.y,b=c.width,g=c.height,x=c.radius,O=c.className,w=c.animationEasing,S=c.animationDuration,j=c.animationBegin,P=c.isAnimationActive,E=c.isUpdateAnimationActive;if(v!==+v||m!==+m||b!==+b||g!==+g||0===b||0===g)return null;var A=(0,r.default)("recharts-rectangle",O);return E?e.default.createElement(n.default,{canBegin:h>0,from:{width:b,height:g,x:v,y:m},to:{width:b,height:g,x:v,y:m},duration:S,animationEasing:w,isActive:E},function(t){var r=t.width,o=t.height,u=t.x,l=t.y;return e.default.createElement(n.default,{canBegin:h>0,from:"0px ".concat(-1===h?1:h,"px"),to:"".concat(h,"px 0px"),attributeName:"strokeDasharray",begin:j,duration:S,isActive:P,easing:w},e.default.createElement("path",a({},(0,i.filterProps)(c,!0),{className:A,d:s(u,l,r,o,x),ref:f})))}):e.default.createElement("path",a({},(0,i.filterProps)(c,!0),{className:A,d:s(v,m,b,g,x)}))};t.s(["Rectangle",()=>d,"isInRectangle",()=>f])},75225,39425,18519,t=>{"use strict";var e=t.i(71645),r=t.i(7670),n=t.i(73050),i=t.i(98892),o=t.i(29873),a=t.i(97865),u=t.i(34251),c=t.i(22787),l=t.i(69212),s=t.i(94395),f=t.i(81977),p=t.i(62728),d=t.i(98770),h=t.i(73393);t.i(47167);var y=t.i(40992),v=t.i(71223),m=t.i(1320),b=t.i(20164),g=t.i(29905);function x(t){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function O(){return(O=Object.assign.bind()).apply(this,arguments)}function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function S(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function j(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?S(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=x(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=x(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==x(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var P=function(t,e,r,n,i){var o=r-n;return"M ".concat(t,",").concat(e)+"L ".concat(t+r,",").concat(e)+"L ".concat(t+r-o/2,",").concat(e+i)+"L ".concat(t+r-o/2-n,",").concat(e+i)+"L ".concat(t,",").concat(e," Z")},E={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},A=function(t){var i,o=j(j({},E),t),a=(0,e.useRef)(),u=function(t){if(Array.isArray(t))return t}(i=(0,e.useState)(-1))||function(t,e){var r=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,u=[],c=!0,l=!1;try{o=(r=r.call(t)).next,!1;for(;!(c=(n=o.call(r)).done)&&(u.push(n.value),2!==u.length);c=!0);}catch(t){l=!0,i=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return u}}(i,2)||function(t,e){if(t){if("string"==typeof t)return w(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return w(t,2)}}(i,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),c=u[0],l=u[1];(0,e.useEffect)(function(){if(a.current&&a.current.getTotalLength)try{var t=a.current.getTotalLength();t&&l(t)}catch(t){}},[]);var s=o.x,p=o.y,d=o.upperWidth,h=o.lowerWidth,y=o.height,v=o.className,m=o.animationEasing,b=o.animationDuration,g=o.animationBegin,x=o.isUpdateAnimationActive;if(s!==+s||p!==+p||d!==+d||h!==+h||y!==+y||0===d&&0===h||0===y)return null;var S=(0,r.default)("recharts-trapezoid",v);return x?e.default.createElement(n.default,{canBegin:c>0,from:{upperWidth:0,lowerWidth:0,height:y,x:s,y:p},to:{upperWidth:d,lowerWidth:h,height:y,x:s,y:p},duration:b,animationEasing:m,isActive:x},function(t){var r=t.upperWidth,i=t.lowerWidth,u=t.height,l=t.x,s=t.y;return e.default.createElement(n.default,{canBegin:c>0,from:"0px ".concat(-1===c?1:c,"px"),to:"".concat(c,"px 0px"),attributeName:"strokeDasharray",begin:g,duration:b,easing:m},e.default.createElement("path",O({},(0,f.filterProps)(o,!0),{className:S,d:P(l,s,r,i,u),ref:a})))}):e.default.createElement("g",null,e.default.createElement("path",O({},(0,f.filterProps)(o,!0),{className:S,d:P(s,p,d,h,y)})))},k=t.i(68970);function T(t){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function M(){return(M=Object.assign.bind()).apply(this,arguments)}function _(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function C(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?_(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=T(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=T(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==T(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEac
1h(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var N=function(t){var e=t.cx,r=t.cy,n=t.radius,i=t.angle,o=t.sign,a=t.isExternal,u=t.cornerRadius,c=t.cornerIsExternal,l=u*(a?1:-1)+n,s=Math.asin(u/l)/k.RADIAN,f=c?i:i+o*s;return{center:(0,k.polarToCartesian)(e,r,l,f),circleTangency:(0,k.polarToCartesian)(e,r,n,f),lineTangency:(0,k.polarToCartesian)(e,r,l*Math.cos(s*k.RADIAN),c?i-o*s:i),theta:s}},D=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,i=t.outerRadius,o=t.startAngle,a=t.endAngle,u=(0,s.mathSign)(a-o)*Math.min(Math.abs(a-o),359.999),c=o+u,l=(0,k.polarToCartesian)(e,r,i,o),f=(0,k.polarToCartesian)(e,r,i,c),p="M ".concat(l.x,",").concat(l.y,"\n    A ").concat(i,",").concat(i,",0,\n    ").concat(+(Math.abs(u)>180),",").concat(+(o>c),",\n    ").concat(f.x,",").concat(f.y,"\n  ");if(n>0){var d=(0,k.polarToCartesian)(e,r,n,o),h=(0,k.polarToCartesian)(e,r,n,c);p+="L ".concat(h.x,",").concat(h.y,"\n            A ").concat(n,",").concat(n,",0,\n            ").concat(+(Math.abs(u)>180),",").concat(+(o<=c),",\n            ").concat(d.x,",").concat(d.y," Z")}else p+="L ".concat(e,",").concat(r," Z");return p},I=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,i=t.outerRadius,o=t.cornerRadius,a=t.forceCornerRadius,u=t.cornerIsExternal,c=t.startAngle,l=t.endAngle,f=(0,s.mathSign)(l-c),p=N({cx:e,cy:r,radius:i,angle:c,sign:f,cornerRadius:o,cornerIsExternal:u}),d=p.circleTangency,h=p.lineTangency,y=p.theta,v=N({cx:e,cy:r,radius:i,angle:l,sign:-f,cornerRadius:o,cornerIsExternal:u}),m=v.circleTangency,b=v.lineTangency,g=v.theta,x=u?Math.abs(c-l):Math.abs(c-l)-y-g;if(x<0)return a?"M ".concat(h.x,",").concat(h.y,"\n        a").concat(o,",").concat(o,",0,0,1,").concat(2*o,",0\n        a").concat(o,",").concat(o,",0,0,1,").concat(-(2*o),",0\n      "):D({cx:e,cy:r,innerRadius:n,outerRadius:i,startAngle:c,endAngle:l});var O="M ".concat(h.x,",").concat(h.y,"\n    A").concat(o,",").concat(o,",0,0,").concat(+(f<0),",").concat(d.x,",").concat(d.y,"\n    A").concat(i,",").concat(i,",0,").concat(+(x>180),",").concat(+(f<0),",").concat(m.x,",").concat(m.y,"\n    A").concat(o,",").concat(o,",0,0,").concat(+(f<0),",").concat(b.x,",").concat(b.y,"\n  ");if(n>0){var w=N({cx:e,cy:r,radius:n,angle:c,sign:f,isExternal:!0,cornerRadius:o,cornerIsExternal:u}),S=w.circleTangency,j=w.lineTangency,P=w.theta,E=N({cx:e,cy:r,radius:n,angle:l,sign:-f,isExternal:!0,cornerRadius:o,cornerIsExternal:u}),A=E.circleTangency,k=E.lineTangency,T=E.theta,M=u?Math.abs(c-l):Math.abs(c-l)-P-T;if(M<0&&0===o)return"".concat(O,"L").concat(e,",").concat(r,"Z");O+="L".concat(k.x,",").concat(k.y,"\n      A").concat(o,",").concat(o,",0,0,").concat(+(f<0),",").concat(A.x,",").concat(A.y,"\n      A").concat(n,",").concat(n,",0,").concat(+(M>180),",").concat(+(f>0),",").concat(S.x,",").concat(S.y,"\n      A").concat(o,",").concat(o,",0,0,").concat(+(f<0),",").concat(j.x,",").concat(j.y,"Z")}else O+="L".concat(e,",").concat(r,"Z");return O},B={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},L=function(t){var n,i=C(C({},B),t),o=i.cx,a=i.cy,u=i.innerRadius,c=i.outerRadius,l=i.cornerRadius,p=i.forceCornerRadius,d=i.cornerIsExternal,h=i.startAngle,y=i.endAngle,v=i.className;if(c<u||h===y)return null;var m=(0,r.default)("recharts-sector",v),b=c-u,g=(0,s.getPercentValue)(l,b,0,!0);return n=g>0&&360>Math.abs(h-y)?I({cx:o,cy:a,innerRadius:u,outerRadius:c,cornerRadius:Math.min(g,b/2),forceCornerRadius:p,cornerIsExternal:d,startAngle:h,endAngle:y}):D({cx:o,cy:a,innerRadius:u,outerRadius:c,startAngle:h,endAngle:y}),e.default.createElement("path",M({},(0,f.filterProps)(i,!0),{className:m,d:n,role:"img"}))};t.s(["Sector",()=>L],39425);var R=t.i(13659),z=["option","shapeType","propTransformer","activeClassName","isActive"];function U(t){return(U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function $(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function F(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?$(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=U(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=U(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==U(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function W(t){var r=t.shapeType,n=t.elementProps;switch(r){case"rectangle":return e.default.createElement(g.Rectangle,n);case"trapezoid":return e.default.createElement(A,n);case"sector":return e.default.createElement(L,n);case"symbols":if("symbols"===r)return e.default.createElement(R.Symbols,n);break;default:return null}}function q(t){return(0,e.isValidElement)(t)?t.props:t}function V(t){var r,n=t.option,i=t.shapeType,o=t.propTransformer,u=t.activeClassName,c=t.isActive,l=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,z);if((0,e.isValidElement)(n))r=(0,e.cloneElement)(n,F(F({},l),q(n)));else if((0,v.default)(n))r=n(l);else if((0,m.default)(n)&&!(0,b.default)(n)){var s=(void 0===o?function(t,e){return F(F({},e),t)}:o)(n,l);r=e.default.createElement(W,{shapeType:i,elementProps:s})}else r=e.default.createElement(W,{shapeType:i,elementProps:l});return c?e.default.createElement(a.Layer,{className:void 0===u?"recharts-active-shape":u},r):r}function H(t,e){return null!=e&&"trapezoids"in t.props}function X(t,e){return null!=e&&"sectors"in t.props}function G(t,e){return null!=e&&"points"in t.props}function Y(t,e){var r,n,i=t.x===(null==e||null==(r=e.labelViewBox)?void 0:r.x)||t.x===e.x,o=t.y===(null==e||null==(n=e.labelViewBox)?void 0:n.y)||t.y===e.y;return i&&o}function K(t,e){var r=t.endAngle===e.endAngle,n=t.startAngle===e.startAngle;return r&&n}function Z(t,e){var r=t.x===e.x,n=t.y===e.y,i=t.z===e.z;return r&&n&&i}function J(t){var e,r,n,o=t.activeTooltipItem,a=t.graphicalItem,u=t.itemData,c=(H(a,o)?e="trapezoids":X(a,o)?e="sectors":G(a,o)&&(e="points"),e),l=H(a,o)?null==(r=o.tooltipPayload)||null==(r=r[0])||null==(r=r.payload)?void 0:r.payload:X(a,o)?null==(n=o.tooltipPayload)||null==(n=n[0])||null==(n=n.payload)?void 0:n.payload:G(a,o)?o.payload:{},s=u.filter(function(t,e){var r=(0,i.default)(l,t),n=a.props[c].filter(function(t){var e;return(H(a,o)?e=Y:X(a,o)?e=K:G(a,o)&&(e=Z),e)(t,o)}),u=a.props[c].indexOf(n[n.length-1]);return r&&e===u});return u.indexOf(s[s.length-1])}t.s(["Shape",()=>V,"getActiveShapeIndexForTooltip",()=>J,"getPropsFromShapeOption",()=>q,"isFunnel",()=>H,"isPie",()=>X,"isScatter",()=>G],18519);var Q=["x","y"];function tt(t){return(tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function te(){return(te=Object.assign.bind()).apply(this,arguments)}function tr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tn(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tr(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=tt(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tt(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==tt(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tr(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function ti(t,e){var r=t.x,n=t.y,i=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,Q),o=parseInt("".concat(r),10),a=parseInt("".concat(n),10),u=parseInt("".concat(e.height||i.height),10),c=parseInt("".concat(e.width||i.width),10);return tn(tn(tn(tn(tn({},e),i),o?{x:o}:{}),a?{y:a}:{}),{},{height:u,width:c,name:e.name,radius:e.radius})}function to(t){return e.default.createElement(V,te({shapeType:"rectangle",propTransformer:ti,activeClassName:"recharts-active-bar"},t))}var ta=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(r,n){if("number"==typeof t)return t;var i=(0,s.isNumber)(r)||(0,s.isNullish)(r);return i?t(r,n):(i||(0,y.default)(!1),e)}},tu=["value","background"];function tc(t){return(tc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tl(){return(tl=Object.assign.bind()).apply(this,arguments)}function ts(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tf(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ts(Object(r),!0).forEach(function(e){tv(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ts(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tp(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,tm(n.key),n)}}function td(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(td=function(){return!!t})()}function th(t){return(th=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ty(t,e){return(ty=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tv(t,e,r){return(e=tm(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tm(t){var e=function(t,e){if("object"!=tc(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tc(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tc(e)?e:e+""}var tb=function(t){var c,p;function y(){var t,e,r;if(!(this instanceof y))throw TypeError("Cannot call a class as a function");for(var n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return e=y,r=[].concat(i),e=th(e),tv(t=function(t,e){if(e&&("object"===tc(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,td()?Reflect.construct(e,r||[],th(this).constructor):e.apply(this,r)),"state",{isAnimationFinished:!1}),tv(t,"id",(0,s.uniqueId)("recharts-bar-")),tv(t,"handleAnimationEnd",function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),e&&e()}),tv(t,"handleAnimationStart",function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),e&&e()}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return y.prototype=Object.create(t&&t.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),t&&ty(y,t),c=[{key:"renderRectanglesStatically",value:function(t){var r=this,n=this.props,i=n.shape,o=n.dataKey,u=n.activeIndex,c=n.activeBar,l=(0,f.filterProps)(this.props,!1);return t&&t.map(function(t,n){var s=n===u,f=tf(tf(tf({},l),t),{},{isActive:s,option:s?c:i,index:n,dataKey:o,onAnimationStart:r.handleAnimationStart,onAnimationEnd:r.handleAnimationEnd});return e.default.createElement(a.Layer,tl({className:"recharts-bar-rectangle"},(0,h.adaptEventsOfChild)(r.props,t,n),{key:"rectangle-".concat(null==t?void 0:t.x,"-").concat(null==t?void 0:t.y,"-").concat(null==t?void 0:t.value,"-").concat(n)}),e.default.createElement(to,f))})}},{key:"renderRectanglesWithAnimation",value:function(){var t=this,r=this.props,i=r.data,o=r.layout,u=r.isAnimationActive,c=r.animationBegin,l=r.animationDuration,f=r.animationEasing,p=r.animationId,d=this.state.prevData;return e.default.createElement(n.default,{begin:c,duration:l,isActive:u,easing:f,from:{t:0},to:{t:1},key:"bar-".concat(p),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(r){var n=r.t,u=i.map(function(t,e){var r=d&&d[e];if(r){var i=(0,s.interpolateNumber)(r.x,t.x),a=(0,s.interpolateNumber)(r.y,t.y),u=(0,s.interpolateNumber)(r.width,t.width),c=(0,s.interpolateNumber)(r.height,t.height);return tf(tf({},t),{},{x:i(n),y:a(n),width:u(n),height:c(n)})}if("horizontal"===o){var l=(0,s.interpolateNumber)(0,t.height)(n);return tf(tf({},t),{}
1,{y:t.y+t.height-l,height:l})}var f=(0,s.interpolateNumber)(0,t.width)(n);return tf(tf({},t),{},{width:f})});return e.default.createElement(a.Layer,null,t.renderRectanglesStatically(u))})}},{key:"renderRectangles",value:function(){var t=this.props,e=t.data,r=t.isAnimationActive,n=this.state.prevData;return r&&e&&e.length&&(!n||!(0,i.default)(n,e))?this.renderRectanglesWithAnimation():this.renderRectanglesStatically(e)}},{key:"renderBackground",value:function(){var t=this,r=this.props,n=r.data,i=r.dataKey,o=r.activeIndex,a=(0,f.filterProps)(this.props.background,!1);return n.map(function(r,n){r.value;var u=r.background,c=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(r,tu);if(!u)return null;var l=tf(tf(tf(tf(tf({},c),{},{fill:"#eee"},u),a),(0,h.adaptEventsOfChild)(t.props,r,n)),{},{onAnimationStart:t.handleAnimationStart,onAnimationEnd:t.handleAnimationEnd,dataKey:i,index:n,className:"recharts-bar-background-rectangle"});return e.default.createElement(to,tl({key:"background-bar-".concat(n),option:t.props.background,isActive:n===o},l))})}},{key:"renderErrorBar",value:function(t,r){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var n=this.props,i=n.data,o=n.xAxis,c=n.yAxis,l=n.layout,s=n.children,p=(0,f.findAllByType)(s,u.ErrorBar);if(!p)return null;var h="vertical"===l?i[0].height/2:i[0].width/2,y=function(t,e){var r=Array.isArray(t.value)?t.value[1]:t.value;return{x:t.x,y:t.y,value:r,errorVal:(0,d.getValueByDataKey)(t,e)}};return e.default.createElement(a.Layer,{clipPath:t?"url(#clipPath-".concat(r,")"):null},p.map(function(t){return e.default.cloneElement(t,{key:"error-bar-".concat(r,"-").concat(t.props.dataKey),data:i,xAxis:o,yAxis:c,layout:l,offset:h,dataPointFormatter:y})}))}},{key:"render",value:function(){var t=this.props,n=t.hide,i=t.data,u=t.className,c=t.xAxis,s=t.yAxis,f=t.left,p=t.top,d=t.width,h=t.height,y=t.isAnimationActive,v=t.background,m=t.id;if(n||!i||!i.length)return null;var b=this.state.isAnimationFinished,g=(0,r.default)("recharts-bar",u),x=c&&c.allowDataOverflow,O=s&&s.allowDataOverflow,w=x||O,S=(0,o.default)(m)?this.id:m;return e.default.createElement(a.Layer,{className:g},x||O?e.default.createElement("defs",null,e.default.createElement("clipPath",{id:"clipPath-".concat(S)},e.default.createElement("rect",{x:x?f:f-d/2,y:O?p:p-h/2,width:x?d:2*d,height:O?h:2*h}))):null,e.default.createElement(a.Layer,{className:"recharts-bar-rectangles",clipPath:w?"url(#clipPath-".concat(S,")"):null},v?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(w,S),(!y||b)&&l.LabelList.renderCallByParent(this.props,i))}}],p=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curData:t.data,prevData:e.curData}:t.data!==e.curData?{curData:t.data}:null}}],c&&tp(y.prototype,c),p&&tp(y,p),Object.defineProperty(y,"prototype",{writable:!1}),y}(e.PureComponent);tv(tb,"displayName","Bar"),tv(tb,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!p.Global.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"}),tv(tb,"getComposedData",function(t){var e=t.props,r=t.item,n=t.barPosition,i=t.bandSize,o=t.xAxis,a=t.yAxis,u=t.xAxisTicks,l=t.yAxisTicks,p=t.stackedData,h=t.dataStartIndex,y=t.displayedData,v=t.offset,m=(0,d.findPositionOfBar)(n,r);if(!m)return null;var b=e.layout,g=r.type.defaultProps,x=void 0!==g?tf(tf({},g),r.props):r.props,O=x.dataKey,w=x.children,S=x.minPointSize,j="horizontal"===b?a:o,P=p?j.scale.domain():null,E=(0,d.getBaseValueOfBar)({numericAxis:j}),A=(0,f.findAllByType)(w,c.Cell),k=y.map(function(t,e){p?c=(0,d.truncateByDomain)(p[h+e],P):Array.isArray(c=(0,d.getValueByDataKey)(t,O))||(c=[E,c]);var n=ta(S,tb.defaultProps.minPointSize)(c[1],e);if("horizontal"===b){var c,f,y,v,g,x,w,j=[a.scale(c[0]),a.scale(c[1])],k=j[0],T=j[1];f=(0,d.getCateCoordinateOfBar)({axis:o,ticks:u,bandSize:i,offset:m.offset,entry:t,index:e}),y=null!=(w=null!=T?T:k)?w:void 0,v=m.size;var M=k-T;if(g=Number.isNaN(M)?0:M,x={x:f,y:a.y,width:v,height:a.height},Math.abs(n)>0&&Math.abs(g)<Math.abs(n)){var _=(0,s.mathSign)(g||n)*(Math.abs(n)-Math.abs(g));y-=_,g+=_}}else{var C=[o.scale(c[0]),o.scale(c[1])],N=C[0],D=C[1];if(f=N,y=(0,d.getCateCoordinateOfBar)({axis:a,ticks:l,bandSize:i,offset:m.offset,entry:t,index:e}),v=D-N,g=m.size,x={x:o.x,y:y,width:o.width,height:g},Math.abs(n)>0&&Math.abs(v)<Math.abs(n)){var I=(0,s.mathSign)(v||n)*(Math.abs(n)-Math.abs(v));v+=I}}return tf(tf(tf({},t),{},{x:f,y:y,width:v,height:g,value:p?c:c[1],payload:t,background:x},A&&A[e]&&A[e].props),{},{tooltipPayload:[(0,d.getTooltipItem)(r,t)],tooltipPosition:{x:f+v/2,y:y+g/2}}
1)});return tf({data:k,layout:b},v)}),t.s(["Bar",()=>tb],75225)},93440,(t,e,r)=>{var n=Math.ceil,i=Math.max;e.exports=function(t,e,r,o){for(var a=-1,u=i(n((e-t)/(r||1)),0),c=Array(u);u--;)c[o?u:++a]=t,t+=r;return c}},48891,(t,e,r)=>{var n=/\s/;e.exports=function(t){for(var e=t.length;e--&&n.test(t.charAt(e)););return e}},30364,(t,e,r)=>{var n=t.r(48891),i=/^\s+/;e.exports=function(t){return t?t.slice(0,n(t)+1).replace(i,""):t}},73759,(t,e,r)=>{var n=t.r(30364),i=t.r(12447),o=t.r(61884),a=0/0,u=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,l=/^0o[0-7]+$/i,s=parseInt;e.exports=function(t){if("number"==typeof t)return t;if(o(t))return a;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var r=c.test(t);return r||l.test(t)?s(t.slice(2),r?2:8):u.test(t)?a:+t}},82560,(t,e,r)=>{var n=t.r(73759),i=1/0;e.exports=function(t){return t?(t=n(t))===i||t===-i?(t<0?-1:1)*17976931348623157e292:t==t?t:0:0===t?t:0}},69523,(t,e,r)=>{var n=t.r(93440),i=t.r(70237),o=t.r(82560);e.exports=function(t){return function(e,r,a){return a&&"number"!=typeof a&&i(e,r,a)&&(r=a=void 0),e=o(e),void 0===r?(r=e,e=0):r=o(r),a=void 0===a?e<r?1:-1:o(a),n(e,r,a,t)}}},44950,(t,e,r)=>{e.exports=t.r(69523)()},31926,(t,e,r)=>{var n=t.r(39088);e.exports=function(){return n.Date.now()}},74009,(t,e,r)=>{var n=t.r(12447),i=t.r(31926),o=t.r(73759),a=Math.max,u=Math.min;e.exports=function(t,e,r){var c,l,s,f,p,d,h=0,y=!1,v=!1,m=!0;if("function"!=typeof t)throw TypeError("Expected a function");function b(e){var r=c,n=l;return c=l=void 0,h=e,f=t.apply(n,r)}function g(t){var r=t-d,n=t-h;return void 0===d||r>=e||r<0||v&&n>=s}function x(){var t,r,n,o=i();if(g(o))return O(o);p=setTimeout(x,(t=o-d,r=o-h,n=e-t,v?u(n,s-r):n))}function O(t){return(p=void 0,m&&c)?b(t):(c=l=void 0,f)}function w(){var t,r=i(),n=g(r);if(c=arguments,l=this,d=r,n){if(void 0===p)return h=t=d,p=setTimeout(x,e),y?b(t):f;if(v)return clearTimeout(p),p=setTimeout(x,e),b(d)}return void 0===p&&(p=setTimeout(x,e)),f}return e=o(e)||0,n(r)&&(y=!!r.leading,s=(v="maxWait"in r)?a(o(r.maxWait)||0,e):s,m="trailing"in r?!!r.trailing:m),w.cancel=function(){void 0!==p&&clearTimeout(p),h=0,c=d=l=p=void 0},w.flush=function(){return void 0===p?f:O(i())},w}},24283,(t,e,r)=>{var n=t.r(74009),i=t.r(12447);e.exports=function(t,e,r){var o=!0,a=!0;if("function"!=typeof t)throw TypeError("Expected a function");return i(r)&&(o="leading"in r?!!r.leading:o,a="trailing"in r?!!r.trailing:a),n(t,e,{leading:o,maxWait:e,trailing:a})}},34239,t=>{"use strict";var e=t.i(71645),r=t.i(31195),n=t.i(29873),i=t.i(7670),o=t.i(94395);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(){return(u=Object.assign.bind()).apply(this,arguments)}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function s(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?l(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=a(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function f(t){return Array.isArray(t)&&(0,o.isNumOrStr)(t[0])&&(0,o.isNumOrStr)(t[1])?t.join(" ~ "):t}var p=function(t){var a=t.separator,l=void 0===a?" : ":a,p=t.contentStyle,d=t.itemStyle,h=void 0===d?{}:d,y=t.labelStyle,v=t.payload,m=t.formatter,b=t.itemSorter,g=t.wrapperClassName,x=t.labelClassName,O=t.label,w=t.labelFormatter,S=t.accessibilityLayer,j=s({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},void 0===p?{}:p),P=s({margin:0},void 0===y?{}:y),E=!(0,n.default)(O),A=E?O:"",k=(0,i.default)("recharts-default-tooltip",g),T=(0,i.default)("recharts-tooltip-label",x);return E&&w&&null!=v&&(A=w(O,v)),e.default.createElement("div",u({className:k,style:j},void 0!==S&&S?{role:"status","aria-live":"assertive"}:{}),e.default.createElement("p",{className:T,style:P},e.default.isValidElement(A)?A:"".concat(A)),function(){if(v&&v.length){var t=(b?(0,r.default)(v,b):v).map(function(t,r){if("none"===t.type)return null;var n=s({display:"block",paddingTop:4,paddingBottom:4,color:t.color||"#000"},h),i=t.formatter||m||f,a=t.value,u=t.name,p=a,d=u;if(i&&null!=p&&null!=d){var y=i(a,u,t,r,v);if(Array.isArray(y)){var b=function(t){if(Array.isArray(t))return t}(y)||function(t,e){var r=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,u=[],c=!0,l=!1;try{o=(r=r.call(t)).next,!1;for(;
1!(c=(n=o.call(r)).done)&&(u.push(n.value),2!==u.length);c=!0);}catch(t){l=!0,i=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return u}}(y,2)||function(t,e){if(t){if("string"==typeof t)return c(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(t,2)}}(y,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();p=b[0],d=b[1]}else p=y}return e.default.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(r),style:n},(0,o.isNumOrStr)(d)?e.default.createElement("span",{className:"recharts-tooltip-item-name"},d):null,(0,o.isNumOrStr)(d)?e.default.createElement("span",{className:"recharts-tooltip-item-separator"},l):null,e.default.createElement("span",{className:"recharts-tooltip-item-value"},p),e.default.createElement("span",{className:"recharts-tooltip-item-unit"},t.unit||""))});return e.default.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},t)}return null}())};function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e,r){var n;return(n=function(t,e){if("object"!=d(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=d(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==d(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var y="recharts-tooltip-wrapper",v={visibility:"hidden"};function m(t){var e=t.allowEscapeViewBox,r=t.coordinate,n=t.key,i=t.offsetTopLeft,a=t.position,u=t.reverseDirection,c=t.tooltipDimension,l=t.viewBox,s=t.viewBoxDimension;if(a&&(0,o.isNumber)(a[n]))return a[n];var f=r[n]-c-i,p=r[n]+i;return e[n]?u[n]?f:p:u[n]?f<l[n]?Math.max(p,l[n]):Math.max(f,l[n]):p+c>l[n]+s?Math.max(f,l[n]):Math.max(p,l[n])}function b(t){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function g(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function x(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?g(Object(r),!0).forEach(function(e){j(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function O(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(O=function(){return!!t})()}function w(t){return(w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function S(t,e){return(S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function j(t,e,r){return(e=P(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function P(t){var e=function(t,e){if("object"!=b(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=b(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==b(e)?e:e+""}var E=function(t){var r;function n(){var t,e,r;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return e=n,r=[].concat(o),e=w(e),j(t=function(t,e){if(e&&("object"===b(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,O()?Reflect.construct(e,r||[],w(this).constructor):e.apply(this,r)),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),j(t,"handleKeyDown",function(e){if("Escape"===e.key){var r,n,i,o;t.setState({dismissed:!0,dismissedAtCoordinate:{x:null!=(r=null==(n=t.props.coordinate)?void 0:n.x)?r:0,y:null!=(i=null==(o=t.props.coordinate)?void 0:o.y)?i:0}})}}),t}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&S(n,t),r=[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var t=this.wrapperNode.getBoundingClientRect();(Math.abs(t.width-this.state.lastBoundingBox.width)>1||Math.abs(t.height-this.state.lastBoundingBox.height)>1)&&this.setState({lastBoundingBox:{width:t.width,height:t.height}})}else(-1!==this.state.lastBoundingBox.width||-1!==this.state.lastBoundingBox.height)&&this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var t,e;this.props.active&&this.updateBBox(),this.state.dismissed&&((null==(t=this.props.coordinate)?void 0:t.x)!==this.state.dismissedAtCoordinate.x||(null==(e=this.props.coordinate)?void 0:e.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var t,r,n,a,u,c,l,s,f,p,d,b,g,O,w,S,j,P,E,A=this,k=this.props,T=k.active,M=k.allowEscapeViewBox,_=k.animationDuration,C=k.animationEasing,N=k.children,D=k.coordinate,I=k.hasPayload,B=k.isAnimationActive,L=k.offset,R=k.position,z=k.reverseDirection,U=k.useTranslate3d,$=k.viewBox,F=k.wrapperStyle,W=(b=(t={allowEscapeViewBox:M,coordinate:D,offsetTopLeft:L,position:R,reverseDirection:z,tooltipBox:this.state.lastBoundingBox,useTranslate3d:U,viewBox:$}).allowEscapeViewBox,g=t.coordinate,O=t.offsetTopLeft,w=t.position,S=t.reverseDirection,j=t.tooltipBox,P=t.useTranslate3d,E=t.viewBox,j.height>0&&j.width>0&&g?(n=(r={translateX:p=m({allowEscapeViewBox:b,coordinate:g,key:"x",offsetTopLeft:O,position:w,reverseDirection:S,tooltipDimension:j.width,viewBox:E,viewBoxDimension:E.width}),translateY:d=m({allowEscapeViewBox:b,coordinate:g,key:"y",offsetTopLeft:O,position:w,reverseDirection:S,tooltipDimension:j.height,viewBox:E,viewBoxDimension:E.height}),useTranslate3d:P}).translateX,a=r.translateY,f={transform:r.useTranslate3d?"translate3d(".concat(n,"px, ").concat(a,"px, 0)"):"translate(".concat(n,"px, ").concat(a,"px)")}
1):f=v,{cssProperties:f,cssClasses:(c=(u={translateX:p,translateY:d,coordinate:g}).coordinate,l=u.translateX,s=u.translateY,(0,i.default)(y,h(h(h(h({},"".concat(y,"-right"),(0,o.isNumber)(l)&&c&&(0,o.isNumber)(c.x)&&l>=c.x),"".concat(y,"-left"),(0,o.isNumber)(l)&&c&&(0,o.isNumber)(c.x)&&l<c.x),"".concat(y,"-bottom"),(0,o.isNumber)(s)&&c&&(0,o.isNumber)(c.y)&&s>=c.y),"".concat(y,"-top"),(0,o.isNumber)(s)&&c&&(0,o.isNumber)(c.y)&&s<c.y)))}),q=W.cssClasses,V=W.cssProperties,H=x(x({transition:B&&T?"transform ".concat(_,"ms ").concat(C):void 0},V),{},{pointerEvents:"none",visibility:!this.state.dismissed&&T&&I?"visible":"hidden",position:"absolute",top:0,left:0},F);return e.default.createElement("div",{tabIndex:-1,className:q,style:H,ref:function(t){A.wrapperNode=t}},N)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,P(n.key),n)}}(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(e.PureComponent),A=t.i(62728),k=t.i(51587);function T(t){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function M(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function _(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?M(Object(r),!0).forEach(function(e){I(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function C(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(C=function(){return!!t})()}function N(t){return(N=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function D(t,e){return(D=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function I(t,e,r){return(e=B(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function B(t){var e=function(t,e){if("object"!=T(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=T(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==T(e)?e:e+""}function L(t){return t.dataKey}var R=function(t){var r;function n(){var t,e;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return t=n,e=arguments,t=N(t),function(t,e){if(e&&("object"===T(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,C()?Reflect.construct(t,e||[],N(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&D(n,t),r=[{key:"render",value:function(){var t,r=this,n=this.props,i=n.active,o=n.allowEscapeViewBox,a=n.animationDuration,u=n.animationEasing,c=n.content,l=n.coordinate,s=n.filterNull,f=n.isAnimationActive,d=n.offset,h=n.payload,y=n.payloadUniqBy,v=n.position,m=n.reverseDirection,b=n.useTranslate3d,g=n.viewBox,x=n.wrapperStyle,O=null!=h?h:[];s&&O.length&&(O=(0,k.getUniqPayload)(h.filter(function(t){return null!=t.value&&(!0!==t.hide||r.props.includeHidden)}),y,L));var w=O.length>0;return e.default.createElement(E,{allowEscapeViewBox:o,animationDuration:a,animationEasing:u,isAnimationActive:f,active:i,coordinate:l,hasPayload:w,offset:d,position:v,reverseDirection:m,useTranslate3d:b,viewBox:g,wrapperStyle:x},(t=_(_({},this.props),{},{payload:O}),e.default.isValidElement(c)?e.default.cloneElement(c,t):"function"==typeof c?e.default.createElement(c,t):e.default.createElement(p,t)))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,B(n.key),n)}}(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(e.PureComponent);I(R,"displayName","Tooltip"),I(R,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!A.Global.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}}),t.s(["Tooltip",()=>R],34239)},38279,t=>{"use strict";var e=t.i(71645),r=t.i(7670),n=t.i(73393),i=t.i(81977);function o(){return(o=Object.assign.bind()).apply(this,arguments)}var a=function(t){var a=t.cx,u=t.cy,c=t.r,l=t.className,s=(0,r.default)("recharts-dot",l);return a===+a&&u===+u&&c===+c?e.createElement("circle",o({},(0,i.filterProps)(t,!1),(0,n.adaptEventHandlers)(t),{className:s,cx:a,cy:u,r:c})):null};t.s(["Dot",()=>
1a])},46230,75791,t=>{"use strict";var e=t.i(71645),r=t.i(7670);t.i(25212);var n=t.i(82984),n=n,i=t.i(71223),o=t.i(44950),a=t.i(97865),u=t.i(9516),c=t.i(98770),l=t.i(94395);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function p(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach(function(e){d(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function d(t,e,r){var n;return(n=function(t,e){if("object"!=s(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=s(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==s(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var h=["Webkit","Moz","O","ms"],y=function(t,e){if(!t)return null;var r=t.replace(/(\w)/,function(t){return t.toUpperCase()}),n=h.reduce(function(t,n){return p(p({},t),{},d({},n+r,e))},{});return n[t]=e,n},v=t.i(81977);function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function b(){return(b=Object.assign.bind()).apply(this,arguments)}function g(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function x(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?g(Object(r),!0).forEach(function(e){P(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function O(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,E(n.key),n)}}function w(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(w=function(){return!!t})()}function S(t){return(S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function j(t,e){return(j=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function P(t,e,r){return(e=E(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function E(t){var e=function(t,e){if("object"!=m(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=m(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==m(e)?e:e+""}var A=function(t){var e=t.data,r=t.startIndex,i=t.endIndex,a=t.x,u=t.width,c=t.travellerWidth;if(!e||!e.length)return{};var l=e.length,s=(0,n.point)().domain((0,o.default)(0,l)).range([a,a+u-c]),f=s.domain().map(function(t){return s(t)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:s(r),endX:s(i),scale:s,scaleValues:f}},k=function(t){return t.changedTouches&&!!t.changedTouches.length},T=function(t){var n,o;function s(t){var e,r,n;if(!(this instanceof s))throw TypeError("Cannot call a class as a function");return r=s,n=[t],r=S(r),P(e=function(t,e){if(e&&("object"===m(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,w()?Reflect.construct(r,n||[],S(this).constructor):r.apply(this,n)),"handleDrag",function(t){e.leaveTimer&&(clearTimeout(e.leaveTimer),e.leaveTimer=null),e.state.isTravellerMoving?e.handleTravellerMove(t):e.state.isSlideMoving&&e.handleSlideDrag(t)}),P(e,"handleTouchMove",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleDrag(t.changedTouches[0])}),P(e,"handleDragEnd",function(){e.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var t=e.props,r=t.endIndex,n=t.onDragEnd,i=t.startIndex;null==n||n({endIndex:r,startIndex:i})}),e.detachDragEndListener()}),P(e,"handleLeaveWrapper",function(){(e.state.isTravellerMoving||e.state.isSlideMoving)&&(e.leaveTimer=window.setTimeout(e.handleDragEnd,e.props.leaveTimeOut))}),P(e,"handleEnterSlideOrTraveller",function(){e.setState({isTextActive:!0})}),P(e,"handleLeaveSlideOrTraveller",function(){e.setState({isTextActive:!1})}),P(e,"handleSlideDragStart",function(t){var r=k(t)?t.changedTouches[0]:t;e.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:r.pageX}),e.attachDragEndListener()}),e.travellerDragStartHandlers={startX:e.handleTravellerDragStart.bind(e,"startX"),endX:e.handleTravellerDragStart.bind(e,"endX")},e.state={},e}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return s.prototype=Object.create(t&&t.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),Object.defineProperty(s,"prototype",{writable:!1}),t&&j(s,t),n=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(t){var e=t.startX,r=t.endX,n=this.state.scaleValues,i=this.props,o=i.gap,a=i.data.length-1,u=Math.min(e,r),c=Math.max(e,r),l=s.getIndexInRange(n,u),f=s.getIndexInRange(n,c);return{startIndex:l-l%o,endIndex:f===a?a:f-f%o}}},{key:"getTextOfTick",value:function(t){var e=this.props,r=e.data,n=e.tickFormatter,o=e.dataKey,a=(0,c.getValueByDataKey)(r[t],o,t);return(0,i.default)(n)?n(a,t):a}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(t){var e=this.state,r=e.slideMoveStartX,n=e.startX,i=e.endX,o=this.props,a=o.x,u=o.width,c=o.travellerWidth,l=o.startIndex,s=o.endIndex,f=o.onChange,p=t.pageX-r;p>0?p=Math.min(p,a+u-c-i,a+u-c-n):p<0&&(p=Math.max(p,a-n,a-i));var d=this.getIndex({startX:n+p,endX:i+p});(d.startIndex!==l||d.endIndex!==s)&&f&&f(d),this.setState({startX:n+p,endX:i+p,slideMoveStartX:t.pageX})}},{key:"handleTravellerDragStart",value:function(t,e){var r=k(e)?e.changedTouches[0]:e;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:t,brushMoveStartX:r.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(t){var e=this.state,r=e.brushMoveStartX,n=e.movingTravellerId,i=e.endX,o=e.startX,a=this.state[n],u=this.props,c=u.x,l=u.width,s=u.travellerWidth,f=u.onChange,p=u.gap,d=u.data,h={startX:this.state.startX,endX:this.state.endX},y=t.pageX-r;y>0?y=Math.min(y,c+l-s-a):y<0&&(y=Math.max(y,c-a)),h[n]=a+y;var v=this.getIndex(h),m=v.startIndex,b=v.endIndex,g=function(){var t=d.length-1;return"startX"===n&&(i>o?m%p==0:b%p==0)||!!(i<o)&&b===t||"endX"===n&&(i>o?b%p==0:m%p==0)||!!(i>o)&&b===t};this.setState(P(P({},n,a+y),"brushMoveStartX",t.pageX),function(){f&&g()&&f(v)})}},{key:"handleTravellerMoveKeyboard",value:function(t,e){var r=this,n=this.state,i=n.scaleValues,o=n.startX,a=n.endX,u=this.state[e],c=i.indexOf(u);if(-1!==c){var l=c+t;if(-1!==l&&!(l>=i.length)){var s=i[l];
1"startX"===e&&s>=a||"endX"===e&&s<=o||this.setState(P({},e,s),function(){r.props.onChange(r.getIndex({startX:r.state.startX,endX:r.state.endX}))})}}}},{key:"renderBackground",value:function(){var t=this.props,r=t.x,n=t.y,i=t.width,o=t.height,a=t.fill,u=t.stroke;return e.default.createElement("rect",{stroke:u,fill:a,x:r,y:n,width:i,height:o})}},{key:"renderPanorama",value:function(){var t=this.props,r=t.x,n=t.y,i=t.width,o=t.height,a=t.data,u=t.children,c=t.padding,l=e.Children.only(u);return l?e.default.cloneElement(l,{x:r,y:n,width:i,height:o,margin:c,compact:!0,data:a}):null}},{key:"renderTravellerLayer",value:function(t,r){var n,i,o=this,u=this.props,c=u.y,l=u.travellerWidth,f=u.height,p=u.traveller,d=u.ariaLabel,h=u.data,y=u.startIndex,m=u.endIndex,b=Math.max(t,this.props.x),g=x(x({},(0,v.filterProps)(this.props,!1)),{},{x:b,y:c,width:l,height:f}),O=d||"Min value: ".concat(null==(n=h[y])?void 0:n.name,", Max value: ").concat(null==(i=h[m])?void 0:i.name);return e.default.createElement(a.Layer,{tabIndex:0,role:"slider","aria-label":O,"aria-valuenow":t,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[r],onTouchStart:this.travellerDragStartHandlers[r],onKeyDown:function(t){["ArrowLeft","ArrowRight"].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),o.handleTravellerMoveKeyboard("ArrowRight"===t.key?1:-1,r))},onFocus:function(){o.setState({isTravellerFocused:!0})},onBlur:function(){o.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},s.renderTraveller(p,g))}},{key:"renderSlide",value:function(t,r){var n=this.props,i=n.y,o=n.height,a=n.stroke,u=n.travellerWidth,c=Math.min(t,r)+u,l=Math.max(Math.abs(r-t)-u,0);return e.default.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:a,fillOpacity:.2,x:c,y:i,width:l,height:o})}},{key:"renderText",value:function(){var t=this.props,r=t.startIndex,n=t.endIndex,i=t.y,o=t.height,c=t.travellerWidth,l=t.stroke,s=this.state,f=s.startX,p=s.endX,d={pointerEvents:"none",fill:l};return e.default.createElement(a.Layer,{className:"recharts-brush-texts"},e.default.createElement(u.Text,b({textAnchor:"end",verticalAnchor:"middle",x:Math.min(f,p)-5,y:i+o/2},d),this.getTextOfTick(r)),e.default.createElement(u.Text,b({textAnchor:"start",verticalAnchor:"middle",x:Math.max(f,p)+c+5,y:i+o/2},d),this.getTextOfTick(n)))}},{key:"render",value:function(){var t=this.props,n=t.data,i=t.className,o=t.children,u=t.x,c=t.y,s=t.width,f=t.height,p=t.alwaysShowText,d=this.state,h=d.startX,v=d.endX,m=d.isTextActive,b=d.isSlideMoving,g=d.isTravellerMoving,x=d.isTravellerFocused;if(!n||!n.length||!(0,l.isNumber)(u)||!(0,l.isNumber)(c)||!(0,l.isNumber)(s)||!(0,l.isNumber)(f)||s<=0||f<=0)return null;var O=(0,r.default)("recharts-brush",i),w=1===e.default.Children.count(o),S=y("userSelect","none");return e.default.createElement(a.Layer,{className:O,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:S},this.renderBackground(),w&&this.renderPanorama(),this.renderSlide(h,v),this.renderTravellerLayer(h,"startX"),this.renderTravellerLayer(v,"endX"),(m||b||g||x||p)&&this.renderText())}}],o=[{key:"renderDefaultTraveller",value:function(t){var r=t.x,n=t.y,i=t.width,o=t.height,a=t.stroke,u=Math.floor(n+o/2)-1;return e.default.createElement(e.default.Fragment,null,e.default.createElement("rect",{x:r,y:n,width:i,height:o,fill:a,stroke:"none"}),e.default.createElement("line",{x1:r+1,y1:u,x2:r+i-1,y2:u,fill:"none",stroke:"#fff"}),e.default.createElement("line",{x1:r+1,y1:u+2,x2:r+i-1,y2:u+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(t,r){return e.default.isValidElement(t)?e.default.cloneElement(t,r):(0,i.default)(t)?t(r):s.renderDefaultTraveller(r)}},{key:"getDerivedStateFromProps",value:function(t,e){var r=t.data,n=t.width,i=t.x,o=t.travellerWidth,a=t.updateId,u=t.startIndex,c=t.endIndex;if(r!==e.prevData||a!==e.prevUpdateId)return x({prevData:r,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:n},r&&r.length?A({data:r,width:n,x:i,travellerWidth:o,startIndex:u,endIndex:c}):{scale:null,scaleValues:null});if(e.scale&&(n!==e.prevWidth||i!==e.prevX||o!==e.prevTravellerWidth)){e.scale.range([i,i+n-o]);var l=e.scale.domain().map(function(t){return e.scale(t)});return{prevData:r,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:n,startX:e.scale(t.startIndex),endX:e.scale(t.endIndex),scaleValues:l}}return null}},{key:"getIndexInRange",value:function(t,e){for(var r=t.length,n=0,i=r-1;i-n>1;){var o=Math.floor((n+i)/2);t[o]>e?i=o:n=o}return e>=t[i]?i:n}}],n&&O(s.prototype,n),o&&O(s,o),Object.defineProperty(s,"prototype",{writable:!1}),s}(e.PureComponent);P(T,"displayName","Brush"),P(T,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1}),t.s(["Brush",()=>T],46230);var M=function(t,e){var r=t.alwaysShow,n=t.ifOverflow;return r&&(n="extendDomain"),n===e};t.s(["ifOverflowMatches",()=>M],75791)},74548,(t,e,r)=>{var n=t.r(24251);e.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},60793,(t,e,r)=>{var n=t.r(74548),i=t.r(63799),o=t.r(66305);e.exports=function(t,e){var r={};return e=o(e,3),i(t,function(t,i,o){n(r,i,e(t,i,o))}),r}},38199,(t,e,r)=>{e.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(!e(t[r],r,t))return!1;return!0}},8088,(t,e,r)=>{var n=t.r(53587);e.exports=function(t,e){var r=!0;return n(t,function(t,n,i){return r=!!e(t,n,i)}),r}},26063,(t,e,r)=>{var n=t.r(38199),i=t.r(8088),o=t.r(66305),a=t.r(45350),u=t.r(70237);e.exports=function(t,e,r){var c=a(t)?n:i;return r&&u(t,e,r)&&(e=void 0),c(t,o(e,3))}},49379,(t,e,r)=>{var n=t.r(53587);e.exports=function(t,e){var r;return n(t,function(t,n,i){return!(r=e(t,n,i))}),!!r}},88099,(t,e,r)=>{var n=t.r(51477),i=t.r(66305),o=t.r(49379),a=t.r(45350),u=t.r(70237);e.exports=function(t,e,r){var c=a(t)?n:o;return r&&u(t,e,r)&&(e=void 0),c(t,i(e,3))}},95200,(t,e,r)=>{var n=t.r(66305),i=t.r(51095),o=t.r(33679);e.exports=function(t){return function(e,r,a){var u=Object(e);
1if(!i(e)){var c=n(r,3);e=o(e),r=function(t){return c(u[t],t,u)}}var l=t(e,r,a);return l>-1?u[c?e[l]:l]:void 0}}},4653,(t,e,r)=>{var n=t.r(82560);e.exports=function(t){var e=n(t),r=e%1;return e==e?r?e-r:e:0}},26965,(t,e,r)=>{var n=t.r(56445),i=t.r(66305),o=t.r(4653),a=Math.max;e.exports=function(t,e,r){var u=null==t?0:t.length;if(!u)return -1;var c=null==r?0:o(r);return c<0&&(c=a(u+c,0)),n(t,i(e,3),c)}},60191,(t,e,r)=>{e.exports=t.r(95200)(t.r(26965))},29942,(t,e,r)=>{"use strict";var n=Object.prototype.hasOwnProperty,i="~";function o(){}function a(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function u(t,e,r,n,o){if("function"!=typeof r)throw TypeError("The listener must be a function");var u=new a(r,n||t,o),c=i?i+e:e;return t._events[c]?t._events[c].fn?t._events[c]=[t._events[c],u]:t._events[c].push(u):(t._events[c]=u,t._eventsCount++),t}function c(t,e){0==--t._eventsCount?t._events=new o:delete t._events[e]}function l(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),new o().__proto__||(i=!1)),l.prototype.eventNames=function(){var t,e,r=[];if(0===this._eventsCount)return r;for(e in t=this._events)n.call(t,e)&&r.push(i?e.slice(1):e);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(t)):r},l.prototype.listeners=function(t){var e=i?i+t:t,r=this._events[e];if(!r)return[];if(r.fn)return[r.fn];for(var n=0,o=r.length,a=Array(o);n<o;n++)a[n]=r[n].fn;return a},l.prototype.listenerCount=function(t){var e=i?i+t:t,r=this._events[e];return r?r.fn?1:r.length:0},l.prototype.emit=function(t,e,r,n,o,a){var u=i?i+t:t;if(!this._events[u])return!1;var c,l,s=this._events[u],f=arguments.length;if(s.fn){switch(s.once&&this.removeListener(t,s.fn,void 0,!0),f){case 1:return s.fn.call(s.context),!0;case 2:return s.fn.call(s.context,e),!0;case 3:return s.fn.call(s.context,e,r),!0;case 4:return s.fn.call(s.context,e,r,n),!0;case 5:return s.fn.call(s.context,e,r,n,o),!0;case 6:return s.fn.call(s.context,e,r,n,o,a),!0}for(l=1,c=Array(f-1);l<f;l++)c[l-1]=arguments[l];s.fn.apply(s.context,c)}else{var p,d=s.length;for(l=0;l<d;l++)switch(s[l].once&&this.removeListener(t,s[l].fn,void 0,!0),f){case 1:s[l].fn.call(s[l].context);break;case 2:s[l].fn.call(s[l].context,e);break;case 3:s[l].fn.call(s[l].context,e,r);break;case 4:s[l].fn.call(s[l].context,e,r,n);break;default:if(!c)for(p=1,c=Array(f-1);p<f;p++)c[p-1]=arguments[p];s[l].fn.apply(s[l].context,c)}}return!0},l.prototype.on=function(t,e,r){return u(this,t,e,r,!1)},l.prototype.once=function(t,e,r){return u(this,t,e,r,!0)},l.prototype.removeListener=function(t,e,r,n){var o=i?i+t:t;if(!this._events[o])return this;if(!e)return c(this,o),this;var a=this._events[o];if(a.fn)a.fn!==e||n&&!a.once||r&&a.context!==r||c(this,o);else{for(var u=0,l=[],s=a.length;u<s;u++)(a[u].fn!==e||n&&!a[u].once||r&&a[u].context!==r)&&l.push(a[u]);l.length?this._events[o]=1===l.length?l[0]:l:c(this,o)}return this},l.prototype.removeAllListeners=function(t){var e;return t?(e=i?i+t:t,this._events[e]&&c(this,e)):(this._events=new o,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=i,l.EventEmitter=l,e.exports=l},92792,44171,46710,55153,71868,86003,20810,t=>{"use strict";var e,r,n=t.i(71645),i=t.i(71223),o=t.i(7670),a=t.i(97865),u=t.i(38279),c=t.i(494),l=t.i(94395),s=t.i(75791),f=t.i(60793),p=t.i(26063),d=t.i(98770),h=t.i(81977),y=t.i(75225);function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function m(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,O(n.key),n)}}function b(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function g(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?b(Object(r),!0).forEach(function(e){x(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function x(t,e,r){return(e=O(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function O(t){var e=function(t,e){if("object"!=v(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=v(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==v(e)?e:e+""}var w=function(t,e,r,n,i){var o=t.width,a=t.height,u=t.layout,c=t.children,s=Object.keys(e),f={left:r.left,leftMirror:r.left,right:o-r.right,rightMirror:o-r.right,top:r.top,topMirror:r.top,bottom:a-r.bottom,bottomMirror:a-r.bottom},p=!!(0,h.findChildByType)(c,y.Bar);return s.reduce(function(o,a){var c,s,h,y,v,m=e[a],b=m.orientation,O=m.domain,w=m.padding,S=void 0===w?{}:w,j=m.mirror,P=m.reversed,E="".concat(b).concat(j?"Mirror":"");if("number"===m.type&&("gap"===m.padding||"no-gap"===m.padding)){var A=O[1]-O[0],k=1/0,T=m.categoricalDomain.sort(l.compareValues);if(T.forEach(function(t,e){e>0&&(k=Math.min((t||0)-(T[e-1]||0),k))}),Number.isFinite(k)){var M=k/A,_="vertical"===m.layout?r.height:r.width;if("gap"===m.padding&&(c=M*_/2),"no-gap"===m.padding){var C=(0,l.getPercentValue)(t.barCategoryGap,M*_),N=M*_/2;c=N-C-(N-C)/_*C}}}s="xAxis"===n?[r.left+(S.left||0)+(c||0),r.left+r.width-(S.right||0)-(c||0)]:"yAxis"===n?"horizontal"===u?[r.top+r.height-(S.bottom||0),r.top+(S.top||0)]:[r.top+(S.top||0)+(c||0),r.top+r.height-(S.bottom||0)-(c||0)]:m.range,P&&(s=[s[1],s[0]]);var D=(0,d.parseScale)(m,i,p),I=D.scale,B=D.realScaleType;I.domain(O).range(s),(0,d.checkDomainOfScale)(I);var L=(0,d.getTicksOfScale)(I,g(g({},m),{},{realScaleType:B}));"xAxis"===n?(v="top"===b&&!j||"bottom"===b&&j,h=r.left,y=f[E]-v*m.height):"yAxis"===n&&(v="left"===b&&!j||"right"===b&&j,h=f[E]-v*m.width,y=r.top);var R=g(g(g({},m),L),{},{realScaleType:B,x:h,y:y,scale:I,width:"xAxis"===n?r.width:m.width,height:"yAxis"===n?r.height:m.height});return R.bandSize=(0,d.getBandSizeOfAxis)(R,L),m.hide||"xAxis"!==n?m.hide||(f[E]+=(v?-1:1)*R.width):f[E]+=(v?-1:1)*R.height,g(g({},o),{},x({},a,R))},{})},S=function(t,e){var r=t.x,n=t.y,i=e.x,o=e.y;return{x:Math.min(r,i),y:Math.min(n,o),width:Math.abs(i-r),height:Math.abs(o-n)}},j=function(t){return S({x:t.x1,y:t.y1},{x:t.x2,y:t.y2})},P=function(){var t,e;function r(t){if(!(this instanceof r))throw TypeError("Cannot call a class as a function");this.scale=t}return t=[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.bandAware,n=e.position;if(void 0!==t){if(n)switch(n){case"start":default:return this.scale(t);case"middle":var i=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+i;case"end":var o=this.bandwidth?this.bandwidth():0;return this.scale(t)+o}if(r){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+a}return this.scale(t)}}},{key:"isInRange",value:function(t){var e=this.range(),r=e[0],n=e[e.length-1];return r<=n?t>=r&&t<=n:t>=n&&t<=r}}],e=[{key:"create",value:function(t){return new r(t)}}],t&&m(r.prototype,t),e&&m(r,e),Object.defineProperty(r,"prototype",{writable:!1}),r}();x(P,"EPS",1e-4);var E=function(t){var e=Object.keys(t).reduce(function(e,r){return g(g({},e),{},x({},r,P.create(t[r])))},{});return g(g({},e),{},{apply:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bandAware,i=r.position;return(0,f.default)(t,function(t,r){return e[r].apply(t,{bandAware:n,position:i})})},isInRange:function(t){return(0,p.default)(t,function(t,r){return e[r].isInRange(t)})}})},A=function(t){var e=t.width,r=t.height,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=(n%180+180)%180*Math.PI/180,o=Math.atan(r/e);return Math.abs(i>o&&i<Math.PI-o?r/Math.sin(i):e/Math.cos(i))};t.s(["createLabeledScales",()=>E,"formatAxisMap",()=>w,"getAngledRectangleWidth",()=>A,"rectWithCoords",()=>j,"rectWithPoints",()=>S],44171);var k=t.i(29071);function T(){return(T=Object.assign.bind()).apply(this,arguments)}function M(t){return(M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function C(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?_(Object(r),!0).forEach(function(e){B(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function N(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(N=function(){return!!t})()}function D(t){return(D=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function I(t,e){return(I=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function B(t,e,r){return(e=L(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function L(t){var e=function(t,e){if("object"!=M(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=M(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==M(e)?e:e+""}var R=function(t){var e=t.x,r=t.y,n=t.xAxis,i=t.yAxis,o=E({x:n.scale,y:i.scale}),a=o.apply({x:e,y:r},{bandAware:!0});return(0,s.ifOverflowMatches)(t,"discard")&&!o.isInRange(a)?null:a},z=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=D(t),function(t,e){if(e&&("object"===M(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,N()?Reflect.construct(t,e||[],D(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&I(r,t),e=[{key:"render",value:function(){var t=this.props,e=t.x,i=t.y,u=t.r,f=t.alwaysShow,p=t.clipPathId,d=(0,l.isNumOrStr)(e),y=(0,l.isNumOrStr)(i);if((0,k.warn)(void 0===f,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!d||!y)return null;var v=R(this.props);if(!v)return null;var m=v.x,b=v.y,g=this.props,x=g.shape,O=g.className,w=C(C({clipPath:(0,s.ifOverflowMatches)(this.props,"hidden")?"url(#".concat(p,")"):void 0},(0,h.filterProps)(this.props,!0)),{},{cx:m,cy:b});return n.default.createElement(a.Layer,{className:(0,o.default)("recharts-reference-dot",O)},r.renderDot(x,w),c.Label.renderCallByParent(this.props,{x:m-u,y:b-u,width:2*u,height:2*u}))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,L(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.default.Component);B(z,"displayName","ReferenceDot"),B(z,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1}),B(z,"renderDot",function(t,e){return n.default.isValidElement(t)?n.default.cloneElement(t,e):(0,i.default)(t)?t(e):n.default.createElement(u.Dot,T({},e,{cx:e.cx,cy:e.cy,className:"recharts-reference-dot-dot"}))});var U=t.i(88099);t.i(47167);var $=t.i(40992),F=t.i(60191),W=(0,t.i(57588).default)(function(t){return{x:t.left,y:t.top,width:t.width,height:t.height}},function(t){return"l"+t.left+"t"+t.top+"w"+t.width+"h"+t.height}),q=(0,n.createContext)(void 0),V=(0,n.createContext)(void 0),H=(0,n.createContext)(void 0),X=(0,n.createContext)({}),G=(0,n.createContext)(void 0),Y=(0,n.createContext)(0),K=(0,n.createContext)(0),Z=function(t){var e=t.state,r=e.xAxisMap,i=e.yAxisMap,o=e.offset,a=t.clipPathId,u=t.children,c=t.width,l=t.height,s=W(o);return n.default.createElement(q.Provider,{value:r},n.default.createElement(V.Provider,{value:i},n.default.createElement(X.Provider,{value:o},n.default.createElement(H.Provider,{value:s},n.default.createElement(G.Provider,{value:a},n.default.createElement(Y.Provider,{value:l},n.default.createElement(K.Provider,{value:c},u)))))))},J=function(){return(0,n.useContext)(G)},Q=function(t){var e=(0,n.useContext)(q);null==e&&(0,$.default)(!1);var r=e[t];return null==r&&(0,$.default)(!1),r},tt=function(){var t=(0,n.useContext)(q);return(0,l.getAnyElementOfObject)(t)},te=function(){var t=(0,n.useContext)(V);return(0,F.default)(t,function(t){return(0,p.default)(t.domain,Number.isFinite)})||(0,l.getAnyElementOfObject)(t)},tr=function(t){var e=(0,n.useContext)(V);null==e&&(0,$.default)(!1);var r=e[t];return null==r&&(0,$.default)(!1),r},tn=function(){return(0,n.useContext)(H)},ti=function(){return(0,n.useContext)(X)},to=function(){return(0,n.useContext)(K)},ta=function(){return(0,n.useContext)(Y)};function tu(t){return(tu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.s(["ChartLayoutContextProvider",()=>Z,"useArbitraryXAxis",()=>tt,"useChartHeight",()=>ta,"useChartWidth",()=>to,"useClipPathId",()=>J,"useOffset",()=>ti,"useViewBox",()=>tn,"useXAxisOrThrow",()=>Q,"useYAxisOrThrow",()=>tr,"useYAxisWithFiniteDomainOrRandom",()=>te],46710);function tc(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tc=function(){return!!t})()}function tl(t){return(tl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}
1function ts(t,e){return(ts=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tf(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tp(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tf(Object(r),!0).forEach(function(e){td(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tf(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function td(t,e,r){return(e=th(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function th(t){var e=function(t,e){if("object"!=tu(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tu(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tu(e)?e:e+""}function ty(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function tv(){return(tv=Object.assign.bind()).apply(this,arguments)}var tm=function(t,e){return n.default.isValidElement(t)?n.default.cloneElement(t,e):(0,i.default)(t)?t(e):n.default.createElement("line",tv({},e,{className:"recharts-reference-line-line"}))},tb=function(t,e,r,n,i,o,a,u,c){var l=i.x,f=i.y,p=i.width,d=i.height;if(r){var h=c.y,y=t.y.apply(h,{position:o});if((0,s.ifOverflowMatches)(c,"discard")&&!t.y.isInRange(y))return null;var v=[{x:l+p,y:y},{x:l,y:y}];return"left"===u?v.reverse():v}if(e){var m=c.x,b=t.x.apply(m,{position:o});if((0,s.ifOverflowMatches)(c,"discard")&&!t.x.isInRange(b))return null;var g=[{x:b,y:f+d},{x:b,y:f}];return"top"===a?g.reverse():g}if(n){var x=c.segment.map(function(e){return t.apply(e,{position:o})});return(0,s.ifOverflowMatches)(c,"discard")&&(0,U.default)(x,function(e){return!t.isInRange(e)})?null:x}return null};function tg(t){var e=t.x,r=t.y,i=t.segment,u=t.xAxisId,f=t.yAxisId,p=t.shape,d=t.className,y=t.alwaysShow,v=J(),m=Q(u),b=tr(f),g=tn();if(!v||!g)return null;(0,k.warn)(void 0===y,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var x=tb(E({x:m.scale,y:b.scale}),(0,l.isNumOrStr)(e),(0,l.isNumOrStr)(r),i&&2===i.length,g,t.position,m.orientation,b.orientation,t);if(!x)return null;var O=function(t){if(Array.isArray(t))return t}(x)||function(t,e){var r=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,u=[],c=!0,l=!1;try{o=(r=r.call(t)).next,!1;for(;!(c=(n=o.call(r)).done)&&(u.push(n.value),2!==u.length);c=!0);}catch(t){l=!0,i=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return u}}(x,2)||function(t,e){if(t){if("string"==typeof t)return ty(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ty(t,2)}}(x,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),w=O[0],S=w.x,P=w.y,A=O[1],T=A.x,M=A.y,_=tp(tp({clipPath:(0,s.ifOverflowMatches)(t,"hidden")?"url(#".concat(v,")"):void 0},(0,h.filterProps)(t,!0)),{},{x1:S,y1:P,x2:T,y2:M});return n.default.createElement(a.Layer,{className:(0,o.default)("recharts-reference-line",d)},tm(p,_),c.Label.renderCallByParent(t,j({x1:S,y1:P,x2:T,y2:M})))}var tx=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=tl(t),function(t,e){if(e&&("object"===tu(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,tc()?Reflect.construct(t,e||[],tl(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&ts(r,t),e=[{key:"render",value:function(){return n.default.createElement(tg,this.props)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,th(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.default.Component);td(tx,"displayName","ReferenceLine"),td(tx,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"}),t.s(["ReferenceLine",()=>tx],55153);var tO=t.i(29905);function tw(){return(tw=Object.assign.bind()).apply(this,arguments)}function tS(t){return(tS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tj(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tP(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?tj(Object(r),!0).forEach(function(e){tT(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tj(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tE=function(){return!!t})()}function tA(t){return(tA=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tk(t,e){return(tk=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function tT(t,e,r){return(e=tM(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tM(t){var e=function(t,e){if("object"!=tS(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tS(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tS(e)?e:e+""}var t_=function(t,e,r,n,i){var o=i.x1,a=i.x2,u=i.y1,c=i.y2,l=i.xAxis,f=i.yAxis;if(!l||!f)return null;var p=E({x:l.scale,y:f.scale}),d={x:t?p.x.apply(o,{position:"start"}):p.x.rangeMin,y:r?p.y.apply(u,{position:"start"}):p.y.rangeMin},h={x:e?p.x.apply(a,{position:"end"}):p.x.rangeMax,y:n?p.y.apply(c,{position:"end"}):p.y.rangeMax};return!(0,s.ifOverflowMatches)(i,"discard")||p.isInRange(d)&&p.isInRange(h)?S(d,h):null},tC=function(t){var e;function r(){var t,e;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return t=r,e=arguments,t=tA(t),function(t,e){if(e&&("object"===tS(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,tE()?Reflect.construct(t,e||[],tA(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&tk(r,t),e=[{key:"render",value:function(){var t=this.props,e=t.x1,i=t.x2,u=t.y1,f=t.y2,p=t.className,d=t.alwaysShow,y=t.clipPathId;(0,k.warn)(void 0===d,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var v=(0,l.isNumOrStr)(e),m=(0,l.isNumOrStr)(i),b=(0,l.isNumOrStr)(u),g=(0,l.isNumOrStr)(f),x=this.props.shape;if(!v&&!m&&!b&&!g&&!x)return null;var O=t_(v,m,b,g,this.props);if(!O&&!x)return null;var w=(0,s.ifOverflowMatches)(this.props,"hidden")?"url(#".concat(y,")"):void 0;return n.default.createElement(a.Layer,{className:(0,o.default)("recharts-reference-area",p)},r.renderRect(x,tP(tP({clipPath:w},(0,h.filterProps)(this.props,!0)),O)),c.Label.renderCallByParent(this.props,O))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,tM(n.key),n)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.default.Component);function tN(t){return function(t){if(Array.isArray(t))return tD(t)}(t)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return tD(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return tD(t,void 0)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tD(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}tT(tC,"displayName","ReferenceArea"),tT(tC,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1}),tT(tC,"renderRect",function(t,e){return n.default.isValidElement(t)?n.default.cloneElement(t,e):(0,i.default)(t)?t(e):n.default.createElement(tO.Rectangle,tw({},e,{className:"recharts-reference-area-rect"}))});var tI=function(t,e,r,n,i){var o=(0,h.findAllByType)(t,tx),a=(0,h.findAllByType)(t,z),u=[].concat(tN(o),tN(a)),c=(0,h.findAllByType)(t,tC),f="".concat(n,"Id"),p=n[0],d=e;if(u.length&&(d=u.reduce(function(t,e){if(e.props[f]===r&&(0,s.ifOverflowMatches)(e.props,"extendDomain")&&(0,l.isNumber)(e.props[p])){var n=e.props[p];return[Math.min(t[0],n),Math.max(t[1],n)]}return t},d)),c.length){var y="".concat(p,"1"),v="".concat(p,"2");d=c.reduce(function(t,e){if(e.props[f]===r&&(0,s.ifOverflowMatches)(e.props,"extendDomain")&&(0,l.isNumber)(e.props[y])&&(0,l.isNumber)(e.props[v])){var n=e.props[y],i=e.props[v];return[Math.min(t[0],n,i),Math.max(t[1],n,i)]}return t},d)}return i&&i.length&&(d=i.reduce(function(t,e){return(0,l.isNumber)(e)?[Math.min(t[0],e),Math.max(t[1],e)]:t},d)),d};t.s(["detectReferenceElementsDomain",()=>tI],92792);var tB=new(t.i(29942)).default;function tL(t){return(tL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.s(["SYNC_EVENT",()=>"recharts.syncMouseEvents","eventCenter",()=>tB],71868);function tR(t,e,r){return(e=tz(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tz(t){var e=function(t,e){if("object"!=tL(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tL(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==tL(e)?e:e+""}var tU=(e=function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");tR(this,"activeIndex",0),tR(this,"coordinateList",[]),tR(this,"layout","horizontal")},r=[{key:"setDetails",value:function(t){var e,r=t.coordinateList,n=void 0===r?null:r,i=t.container,o=void 0===i?null:i,a=t.layout,u=void 0===a?null:a,c=t.offset,l=void 0===c?null:c,s=t.mouseHandlerCallback,f=void 0===s?null:s;this.coordinateList=null!=(e=null!=n?n:this.coordinateList)?e:[],this.container=null!=o?o:this.container,this.layout=null!=u?u:this.layout,this.offset=null!=l?l:this.offset,this.mouseHandlerCallback=null!=f?f:this.mouseHandlerCallback,this.activeIndex=Math.min(Math.max(this.activeIndex,0),this.coordinateList.length-1)}},{key:"focus",value:function(){this.spoofMouse()}},{key:"keyboardEvent",value:function(t){if(0!==this.coordinateList.length)switch(t.key){case"ArrowRight":if("horizontal"!==this.layout)return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break;case"ArrowLeft":if("horizontal"!==this.layout)return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse()}}},{key:"setIndex",value:function(t){this.activeIndex=t}},{key:"spoofMouse",value:function(){if("horizontal"===this.layout&&0!==this.coordinateList.length){var t,e,r=this.container.getBoundingClientRect(),n=r.x,i=r.y,o=r.height,a=this.coordinateList[this.activeIndex].coordinate,u=(null==(t=window)?void 0:t.scrollX)||0,c=(null==(e=window)?void 0:e.scrollY)||0,l=i+this.offset.top+o/2+c;this.mouseHandlerCallback({pageX:n+a+u,pageY:l})}}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,tz(n.key),n)}}(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),e);function t$(t,e,r){if("number"===r&&!0===e&&Array.isArray(t)){var n=null==t?void 0:t[0],i=null==t?void 0:t[1];if(n&&i&&(0,l.isNumber)(n)&&(0,l.isNumber)(i))return!0}return!1}t.s(["AccessibilityManager",()=>tU],86003),t.s(["isDomainSpecifiedByUser",()=>t$],20810)},48114,t=>{"use strict";function e(t){this._context=t}e.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},t.s(["default",0,function(t){return new e(t)}])},85833,99173,10118,93866,104,72200,22914,21641,51262,63823,92536,26619,81142,357,63018,t=>{"use strict";var e=t.i(62990),r=t.i(75058),n=t.i(48114),i=t.i(16888);function o(t){return t[0]}function a(t){return t[1]}function u(t,u){var c=(0,r.default)(!0),l=null,s=n.default,f=null,p=(0,i.withPath)(d);function d(r){var n,i,o,a=(r=(0,e.default)(r)).length,d=!1;for(null==l&&(f=s(o=p())),n=0;n<=a;++n)!(n<a&&c(i=r[n],n,r))===d&&((d=!d)?f.lineStart():f.lineEnd()),d&&f.point(+t(i,n,r),+u(i,n,r));if(o)return f=null,o+""||null}return t="function"==typeof t?t:void 0===t?o:(0,r.default)(t),u="function"==typeof u?u:void 0===u?a:(0,r.default)(u),d.x=function(e){return arguments.length?(t="function"==typeof e?e:(0,r.default)(+e),d):t},d.y=function(t){return arguments.length?(u="function"==typeof t?t:(0,r.default)(+t),d):u},d.defined=function(t){return arguments.length?(c="function"==typeof t?t:(0,r.default)(!!t),d):c},d.curve=function(t){return arguments.length?(s=t,null!=l&&(f=s(l)),d):s},d.context=function(t){return arguments.length?(null==t?l=f=null:f=s(l=t),d):l},d}function c(){}function l(t,e,r){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+r)/6)}function s(t){this._context=t}function f(t){this._context=t}function p(t){this._context=t}t.s(["line",0,u],85833),t.s(["area",0,function(t,c,l){var s=null,f=(0,r.default)(!0),p=null,d=n.default,h=null,y=(0,i.withPath)(v);function v(r){var n,i,o,a,u,v=(r=(0,e.default)(r)).length,m=!1,b=Array(v),g=Array(v);for(null==p&&(h=d(u=y())),n=0;n<=v;++n){if(!(n<v&&f(a=r[n],n,r))===m)if(m=!m)i=n,h.areaStart(),h.lineStart();else{for(h.lineEnd(),h.lineStart(),o=n-1;o>=i;--o)h.point(b[o],g[o]);h.lineEnd(),h.areaEnd()}m&&(b[n]=+t(a,n,r),g[n]=+c(a,n,r),h.point(s?+s(a,n,r):b[n],l?+l(a,n,r):g[n]))}if(u)return h=null,u+""||null}function m(){return u().defined(f).curve(d).context(p)}return t="function"==typeof t?t:void 0===t?o:(0,r.default)(+t),c="function"==typeof c?c:void 0===c?(0,r.default)(0):(0,r.default)(+c),l="function"==typeof l?l:void 0===l?a:(0,r.default)(+l),v.x=function(e){return arguments.length?(t="function"==typeof e?e:(0,r.default)(+e),s=null,v):t},v.x0=function(e){return arguments.length?(t="function"==typeof e?e:(0,r.default)(+e),v):t},v.x1=function(t){return arguments.length?(s=null==t?null:"function"==typeof t?t:(0,r.default)(+t),v):s},v.y=function(t){return arguments.length?(c="function"==typeof t?t:(0,r.default)(+t),l=null,v):c},v.y0=function(t){return arguments.length?(c="function"==typeof t?t:(0,r.default)(+t),v):c},v.y1=function(t){return arguments.length?(l=null==t?null:"function"==typeof t?t:(0,r.default)(+t),v):l},v.lineX0=v.lineY0=function(){return m().x(t).y(c)},v.lineY1=function(){return m().x(t).y(l)},v.lineX1=function(){return m().x(s).y(c)},v.defined=function(t){return arguments.length?(f="function"==typeof t?t:(0,r.default)(!!t),v):f},v.curve=function(t){return arguments.length?(d=t,null!=p&&(h=d(p)),v):d},v.context=function(t){return arguments.length?(null==t?p=h=null:h=d(p=t),v):p},v}],99173),s.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:l(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:l(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},f.prototype={areaStart:c,areaEnd:c,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:l(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},t.s(["curveBasisClosed",0,function(t){return new f(t)}],10118),p.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+t)/6,n=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:l(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},t.s(["curveBasisOpen",0,function(t){return new p(t)}],93866),t.s(["curveBasis",0,function(t){return new s(t)}],104);class d{constructor(t,e){this._context=t,this._x=e}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,e,t,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,t,this._y0,t,e)}this._x0=t,this._y0=e}}function h(t){return new d(t,!0)}function y(t){return new d(t,!1)}function v(t){this._context=t}t.s(["curveBumpX",()=>h],72200),t.s(["curveBumpY",()=>y],22914),v.prototype={areaStart:c,areaEnd:c,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t*=1,e*=1,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},t.s(["curveLinearClosed",0,function(t){return new v(t)}],21641);function m(t,e,r){var n=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(n||i<0&&-0),a=(r-t._y1)/(i||n<0&&-0);return((o<0?-1:1)+(a<0?-1:1))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs((o*i+a*n)/(n+i)))||0}function b(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function g(t,e,r){var n=t._x0,i=t._y0,o=t._x1,a=t._y1,u=(o-n)/3;t._context.bezierCurveTo(n+u,i+u*e,o-u,a-u*r,o,a)}function x(t){this._context=t}function O(t){this._context=new w(t)}function w(t){this._context=t}function S(t){return new x(t)}function j(t){return new O(t)}function P(t){this._context=t}function E(t){var e,r,n=t.length-1,i=Array(n),o=Array(n),a=Array(n);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e<n-1;++e)i[e]=1,o[e]=4,a[e]=4*t[e]+2*t[e+1];for(i[n-1]=2,o[n-1]=7,a[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)r=i[e]/o[e-1],o[e]-=r,a[e]-=r*a[e-1];for(i[n-1]=a[n-1]/o[n-1],e=n-2;e>=0;--e)i[e]=(a[e]-i[e+1])/o[e];for(e=0,o[n-1]=(t[n]+i[n-1])/2;e<n-1;++e)o[e]=2*t[e+1]-i[e+1];return[i,o]}function A(t,e){this._context=t,this._t=e}function k(t){return new A(t,0)}function T(t){return new A(t,1)}t.s(["curveLinear",()=>n.default],51262),x.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:g(this,this._t0,b(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var r=NaN;if(e*=1,(t*=1)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,g(this,b(this,r=m(this,t,e)),r);break;default:g(this,this._t0,r=m(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}}},(O.prototype=Object.create(x.prototype)).point=function(t,e){x.prototype.point.call(this,e,t)},w.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,r,n,i,o){this._context.bezierCurveTo(e,t,n,r,o,i)}},t.s(["curveMonotoneX",()=>S],63823),t.s(["curveMonotoneY",()=>j],92536),P.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,r=t.length;if(r)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===r)this._context.lineTo(t[1],e[1]);else for(var n=E(t),i=E(e),o=0,a=1;a<r;++o,++a)this._context.bezierCurveTo(n[0][o],i[0][o],n[1][o],i[1][o],t[a],e[a]);(this._line||0!==this._line&&1===r)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},t.s(["curveNatural",0,function(t){return new P(t)}],26619),A.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}}this._x=t,this._y=e}},t.s(["curveStep",0,function(t){return new A(t,.5)}],81142),t.s(["curveStepAfter",()=>T],357),t.s(["curveStepBefore",()=>k],63018)},72733,t=>{"use strict";var e=t.i(71645);t.i(50787);var r=t.i(85833),n=t.i(99173),i=t.i(10118),o=t.i(93866),a=t.i(104),u=t.i(72200),c=t.i(22914),l=t.i(21641),s=t.i(51262),f=t.i(63823),p=t.i(92536),d=t.i(26619),h=t.i(81142),y=t.i(357),v=t.i(63018),m=t.i(32241),b=t.i(71223),g=t.i(7670),x=t.i(
173393),O=t.i(81977),w=t.i(94395);function S(t){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function j(){return(j=Object.assign.bind()).apply(this,arguments)}function P(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function E(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?P(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=S(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=S(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==S(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var A={curveBasisClosed:i.curveBasisClosed,curveBasisOpen:o.curveBasisOpen,curveBasis:a.curveBasis,curveBumpX:u.curveBumpX,curveBumpY:c.curveBumpY,curveLinearClosed:l.curveLinearClosed,curveLinear:s.curveLinear,curveMonotoneX:f.curveMonotoneX,curveMonotoneY:p.curveMonotoneY,curveNatural:d.curveNatural,curveStep:h.curveStep,curveStepAfter:y.curveStepAfter,curveStepBefore:v.curveStepBefore},k=function(t){return t.x===+t.x&&t.y===+t.y},T=function(t){return t.x},M=function(t){return t.y},_=function(t,e){if((0,b.default)(t))return t;var r="curve".concat((0,m.default)(t));return("curveMonotone"===r||"curveBump"===r)&&e?A["".concat(r).concat("vertical"===e?"Y":"X")]:A[r]||s.curveLinear},C=function(t){var e,i=t.type,o=t.points,a=void 0===o?[]:o,u=t.baseLine,c=t.layout,l=t.connectNulls,s=void 0!==l&&l,f=_(void 0===i?"linear":i,c),p=s?a.filter(function(t){return k(t)}):a;if(Array.isArray(u)){var d=s?u.filter(function(t){return k(t)}):u,h=p.map(function(t,e){return E(E({},t),{},{base:d[e]})});return(e="vertical"===c?(0,n.area)().y(M).x1(T).x0(function(t){return t.base.x}):(0,n.area)().x(T).y1(M).y0(function(t){return t.base.y})).defined(k).curve(f),e(h)}return(e="vertical"===c&&(0,w.isNumber)(u)?(0,n.area)().y(M).x1(T).x0(u):(0,w.isNumber)(u)?(0,n.area)().x(T).y1(M).y0(u):(0,r.line)().x(T).y(M)).defined(k).curve(f),e(p)},N=function(t){var r=t.className,n=t.points,i=t.path,o=t.pathRef;if((!n||!n.length)&&!i)return null;var a=n&&n.length?C(t):i;return e.createElement("path",j({},(0,O.filterProps)(t,!1),(0,x.adaptEventHandlers)(t),{className:(0,g.default)("recharts-curve",r),d:a,ref:o}))};t.s(["Curve",()=>N])},85183,28108,9928,93230,t=>{"use strict";var e=t.i(71645),r=t.i(7670),n=t.i(46710),i=t.i(71223),o=t.i(82820),a=t.i(24573),u=t.i(97865),c=t.i(9516),l=t.i(494),s=t.i(94395),f=t.i(73393),p=t.i(81977),d=t.i(68431),h=t.i(62728),y=t.i(44171);function v(t,e,r){if(e<1)return[];if(1===e&&void 0===r)return t;for(var n=[],i=0;i<t.length;i+=e)if(void 0!==r&&!0!==r(t[i]))return;else n.push(t[i]);return n}function m(t,e,r,n,i){if(t*e<t*n||t*e>t*i)return!1;var o=r();return t*(e-t*o/2-n)>=0&&t*(e+t*o/2-i)<=0}function b(t){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function g(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function x(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?g(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=b(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=b(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==b(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function O(t,e,r){var n,o,a,u,c,l=t.tick,f=t.ticks,p=t.viewBox,b=t.minTickGap,g=t.orientation,O=t.interval,w=t.tickFormatter,S=t.unit,j=t.angle;if(!f||!f.length||!l)return[];if((0,s.isNumber)(O)||h.Global.isSsr)return v(f,("number"==typeof O&&(0,s.isNumber)(O)?O:0)+1);var P="top"===g||"bottom"===g?"width":"height",E=S&&"width"===P?(0,d.getStringSize)(S,{fontSize:e,letterSpacing:r}):{width:0,height:0},A=function(t,n){var o,a,u=(0,i.default)(w)?w(t.value,n):t.value;return"width"===P?(o=(0,d.getStringSize)(u,{fontSize:e,letterSpacing:r}),a={width:o.width+E.width,height:o.height+E.height},(0,y.getAngledRectangleWidth)(a,j)):(0,d.getStringSize)(u,{fontSize:e,letterSpacing:r})[P]},k=f.length>=2?(0,s.mathSign)(f[1].coordinate-f[0].coordinate):1,T=(n="width"===P,o=p.x,a=p.y,u=p.width,c=p.height,1===k?{start:n?o:a,end:n?o+u:a+c}:{start:n?o+u:a+c,end:n?o:a});return"equidistantPreserveStart"===O?function(t,e,r,n,i){for(var o,a=(n||[]).slice(),u=e.start,c=e.end,l=0,s=1,f=u;s<=a.length;)if(o=function(){var e,o=null==n?void 0:n[l];if(void 0===o)return{v:v(n,s)};var a=l,p=function(){return void 0===e&&(e=r(o,a)),e},d=o.coordinate,h=0===l||m(t,d,p,f,c);h||(l=0,f=u,s+=1),h&&(f=d+t*(p()/2+i),l+=s)}())return o.v;return[]}(k,T,A,f,b):("preserveStart"===O||"preserveStartEnd"===O?function(t,e,r,n,i,o){var a=(n||[]).slice(),u=a.length,c=e.start,l=e.end;if(o){var s=n[u-1],f=r(s,u-1),p=t*(s.coordinate+t*f/2-l);a[u-1]=s=x(x({},s),{},{tickCoord:p>0?s.coordinate-p*t:s.coordinate}),m(t,s.tickCoord,function(){return f},c,l)&&(l=s.tickCoord-t*(f/2+i),a[u-1]=x(x({},s),{},{isShow:!0}))}for(var d=o?u-1:u,h=function(e){var n,o=a[e],u=function(){return void 0===n&&(n=r(o,e)),n};if(0===e){var s=t*(o.coordinate-t*u()/2-c);a[e]=o=x(x({},o),{},{tickCoord:s<0?o.coordinate-s*t:o.coordinate})}else a[e]=o=x(x({},o),{},{tickCoord:o.coordinate});m(t,o.tickCoord,u,c,l)&&(c=o.tickCoord+t*(u()/2+i),a[e]=x(x({},o),{},{isShow:!0}))},y=0;y<d;y++)h(y);return a}(k,T,A,f,b,"preserveStartEnd"===O):function(t,e,r,n,i){for(var o=(n||[]).slice(),a=o.length,u=e.start,c=e.end,l=function(e){var n,l=o[e],s=function(){return void 0===n&&(n=r(l,e)),n};if(e===a-1){var f=t*(l.coordinate+t*s()/2-c);o[e]=l=x(x({},l),{},{tickCoord:f>0?l.coordinate-f*t:l.coordinate})}else o[e]=l=x(x({},l),{},{tickCoord:l.coordinate});m(t,l.tickCoord,s,u,c)&&(c=l.tickCoord-t*(s()/2+i),o[e]=x(x({},l),{},{isShow:!0}))},s=a-1;s>=0;s--)l(s);return o}(k,T,A,f,b)).filter(function(t){return t.isShow})}t.s(["getTicks",()=>O],28108);var w=["viewBox"],S=["viewBox"],j=["ticks"];function P(t){return(P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function E(){return(E=Object.assign.bind()).apply(this,arguments)}function A(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function k(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?A(Object(r),!0).forEach(function(e){D(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function T(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function M(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,I(n.key),n)}}function _(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_=function(){return!!t})()}
1function C(t){return(C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function N(t,e){return(N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function D(t,e,r){return(e=I(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function I(t){var e=function(t,e){if("object"!=P(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=P(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==P(e)?e:e+""}var B=function(t){var n,d;function h(t){var e,r,n;if(!(this instanceof h))throw TypeError("Cannot call a class as a function");return r=h,n=[t],r=C(r),(e=function(t,e){if(e&&("object"===P(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,_()?Reflect.construct(r,n||[],C(this).constructor):r.apply(this,n))).state={fontSize:"",letterSpacing:""},e}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return h.prototype=Object.create(t&&t.prototype,{constructor:{value:h,writable:!0,configurable:!0}}),Object.defineProperty(h,"prototype",{writable:!1}),t&&N(h,t),n=[{key:"shouldComponentUpdate",value:function(t,e){var r=t.viewBox,n=T(t,w),i=this.props,o=i.viewBox,u=T(i,S);return!(0,a.shallowEqual)(r,o)||!(0,a.shallowEqual)(n,u)||!(0,a.shallowEqual)(e,this.state)}},{key:"componentDidMount",value:function(){var t=this.layerReference;if(t){var e=t.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];e&&this.setState({fontSize:window.getComputedStyle(e).fontSize,letterSpacing:window.getComputedStyle(e).letterSpacing})}}},{key:"getTickLineCoord",value:function(t){var e,r,n,i,o,a,u=this.props,c=u.x,l=u.y,f=u.width,p=u.height,d=u.orientation,h=u.tickSize,y=u.mirror,v=u.tickMargin,m=y?-1:1,b=t.tickSize||h,g=(0,s.isNumber)(t.tickCoord)?t.tickCoord:t.coordinate;switch(d){case"top":e=r=t.coordinate,a=(n=(i=l+!y*p)-m*b)-m*v,o=g;break;case"left":n=i=t.coordinate,o=(e=(r=c+!y*f)-m*b)-m*v,a=g;break;case"right":n=i=t.coordinate,o=(e=(r=c+y*f)+m*b)+m*v,a=g;break;default:e=r=t.coordinate,a=(n=(i=l+y*p)+m*b)+m*v,o=g}return{line:{x1:e,y1:n,x2:r,y2:i},tick:{x:o,y:a}}}},{key:"getTickTextAnchor",value:function(){var t,e=this.props,r=e.orientation,n=e.mirror;switch(r){case"left":t=n?"start":"end";break;case"right":t=n?"end":"start";break;default:t="middle"}return t}},{key:"getTickVerticalAnchor",value:function(){var t=this.props,e=t.orientation,r=t.mirror,n="end";switch(e){case"left":case"right":n="middle";break;case"top":n=r?"start":"end";break;default:n=r?"end":"start"}return n}},{key:"renderAxisLine",value:function(){var t=this.props,n=t.x,i=t.y,a=t.width,u=t.height,c=t.orientation,l=t.mirror,s=t.axisLine,f=k(k(k({},(0,p.filterProps)(this.props,!1)),(0,p.filterProps)(s,!1)),{},{fill:"none"});if("top"===c||"bottom"===c){var d=+("top"===c&&!l||"bottom"===c&&l);f=k(k({},f),{},{x1:n,y1:i+d*u,x2:n+a,y2:i+d*u})}else{var h=+("left"===c&&!l||"right"===c&&l);f=k(k({},f),{},{x1:n+h*a,y1:i,x2:n+h*a,y2:i+u})}return e.default.createElement("line",E({},f,{className:(0,r.default)("recharts-cartesian-axis-line",(0,o.default)(s,"className"))}))}},{key:"renderTicks",value:function(t,n,a){var c=this,l=this.props,s=l.tickLine,d=l.stroke,y=l.tick,v=l.tickFormatter,m=l.unit,b=O(k(k({},this.props),{},{ticks:t}),n,a),g=this.getTickTextAnchor(),x=this.getTickVerticalAnchor(),w=(0,p.filterProps)(this.props,!1),S=(0,p.filterProps)(y,!1),j=k(k({},w),{},{fill:"none"},(0,p.filterProps)(s,!1)),P=b.map(function(t,n){var a=c.getTickLineCoord(t),l=a.line,p=a.tick,O=k(k(k(k({textAnchor:g,verticalAnchor:x},w),{},{stroke:"none",fill:d},S),p),{},{index:n,payload:t,visibleTicksCount:b.length,tickFormatter:v});return e.default.createElement(u.Layer,E({className:"recharts-cartesian-axis-tick",key:"tick-".concat(t.value,"-").concat(t.coordinate,"-").concat(t.tickCoord)},(0,f.adaptEventsOfChild)(c.props,t,n)),s&&e.default.createElement("line",E({},j,l,{className:(0,r.default)("recharts-cartesian-axis-tick-line",(0,o.default)(s,"className"))})),y&&h.renderTickItem(y,O,"".concat((0,i.default)(v)?v(t.value,n):t.value).concat(m||"")))});return e.default.createElement("g",{className:"recharts-cartesian-axis-ticks"},P)}},{key:"render",value:function(){var t=this,n=this.props,o=n.axisLine,a=n.width,c=n.height,s=n.ticksGenerator,f=n.className;if(n.hide)return null;var p=this.props,d=p.ticks,h=T(p,j),y=d;return((0,i.default)(s)&&(y=s(d&&d.length>0?this.props:h)),a<=0||c<=0||!y||!y.length)?null:e.default.createElement(u.Layer,{className:(0,r.default)("recharts-cartesian-axis",f),ref:function(e){t.layerReference=e}},o&&this.renderAxisLine(),this.renderTicks(y,this.state.fontSize,this.state.letterSpacing),l.Label.renderCallByParent(this.props))}}],d=[{key:"renderTickItem",value:function(t,n,o){var a=(0,r.default)(n.className,"recharts-cartesian-axis-tick-value");return e.default.isValidElement(t)?e.default.cloneElement(t,k(k({},n),{},{className:a})):(0,i.default)(t)?t(k(k({},n),{},{className:a})):e.default.createElement(c.Text,E({},n,{className:"recharts-cartesian-axis-tick-value"}),o)}}],n&&M(h.prototype,n),d&&M(h,d),Object.defineProperty(h,"prototype",{writable:!1}),h}(e.Component);D(B,"displayName","CartesianAxis"),D(B,"defaultProps",{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine
1:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"}),t.s(["CartesianAxis",()=>B],9928);var L=t.i(98770);function R(t){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function z(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(z=function(){return!!t})()}function U(t){return(U=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function $(t,e){return($=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function F(t,e,r){return(e=W(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function W(t){var e=function(t,e){if("object"!=R(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=R(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==R(e)?e:e+""}function q(){return(q=Object.assign.bind()).apply(this,arguments)}function V(t){var i=t.xAxisId,o=(0,n.useChartWidth)(),a=(0,n.useChartHeight)(),u=(0,n.useXAxisOrThrow)(i);return null==u?null:e.createElement(B,q({},u,{className:(0,r.default)("recharts-".concat(u.axisType," ").concat(u.axisType),u.className),viewBox:{x:0,y:0,width:o,height:a},ticksGenerator:function(t){return(0,L.getTicksOfAxis)(t,!0)}}))}var H=function(t){var r;function n(){var t,e;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return t=n,e=arguments,t=U(t),function(t,e){if(e&&("object"===R(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,z()?Reflect.construct(t,e||[],U(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&$(n,t),r=[{key:"render",value:function(){return e.createElement(V,this.props)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,W(n.key),n)}}(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(e.Component);function X(t){return(X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}F(H,"displayName","XAxis"),F(H,"defaultProps",{allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0}),t.s(["XAxis",()=>H],85183);function G(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(G=function(){return!!t})()}function Y(t){return(Y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function K(t,e){return(K=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function Z(t,e,r){return(e=J(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function J(t){var e=function(t,e){if("object"!=X(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=X(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==X(e)?e:e+""}function Q(){return(Q=Object.assign.bind()).apply(this,arguments)}var tt=function(t){var i=t.yAxisId,o=(0,n.useChartWidth)(),a=(0,n.useChartHeight)(),u=(0,n.useYAxisOrThrow)(i);return null==u?null:e.createElement(B,Q({},u,{className:(0,r.default)("recharts-".concat(u.axisType," ").concat(u.axisType),u.className),viewBox:{x:0,y:0,width:o,height:a},ticksGenerator:function(t){return(0,L.getTicksOfAxis)(t,!0)}}))},te=function(t){var r;function n(){var t,e;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return t=n,e=arguments,t=Y(t),function(t,e){if(e&&("object"===X(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,G()?Reflect.construct(t,e||[],Y(this).constructor):t.apply(this,e))}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&K(n,t),r=[{key:"render",value:function(){return e.createElement(tt,this.props)}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,J(n.key),n)}}(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(e.Component);Z(te,"displayName","YAxis"),Z(te,"defaultProps",{allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1}),t.s(["YAxis",()=>te],93230)},72526,t=>{"use strict";var e=t.i(71645),r=t.i(71223),n=t.i(29071),i=t.i(94395),o=t.i(81977),a=t.i(98770),u=t.i(28108),c=t.i(9928),l=t.i(46710),s=["x1","y1","x2","y2","key"],f=["offset"];function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function d(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function h(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?d(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=p(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=p(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==p(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function y(){return(y=Object.assign.bind()).apply(this,arguments)}function v(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}var m=function(t){var r=t.fill;if(!r||"none"===r)return null;var n=t.fillOpacity,i=t.x,o=t.y,a=t.width,u=t.height,c=t.ry;return e.default.createElement("rect",{x:i,y:o,ry:c,width:a,height:u,stroke:"none",fill:r,fillOpacity:n,className:"recharts-cartesian-grid-bg"})};function b(t,n){var i;if(e.default.isValidElement(t))i=e.default.cloneElement(t,n);else if((0,r.default)(t))i=t(n);else{var a=n.x1,u=n.y1,c=n.x2,l=n.y2,p=n.key,d=v(n,s),h=(0,o.filterProps)(d,!1),m=(h.offset,v(h,f));i=e.default.createElement("line",y({},m,{x1:a,y1:u,x2:c,y2:l,fill:"none",key:p}))}return i}function g(t){var r=t.x,n=t.width,i=t.horizontal,o=void 0===i||i,a=t.horizontalPoints;if(!o||!a||!a.length)return null;var u=a.map(function(e,i){return b(o,h(h({},t),{},{x1:r,y1:e,x2:r+n,y2:e,key:"line-".concat(i),index:i}))});return e.default.createElement("g",{className:"recharts-cartesian-grid-horizontal"},u)}function x(t){var r=t.y,n=t.height,i=t.vertical,o=void 0===i||i,a=t.verticalPoints;if(!o||!a||!a.length)return null;var u=a.map(function(e,i){return b(o,h(h({},t),{},{x1:e,y1:r,x2:e,y2:r+n,key:"line-".concat(i),index:i}))});return e.default.createElement("g",{className:"recharts-cartesian-grid-vertical"},u)}function O(t){var r=t.horizontalFill,n=t.fillOpacity,i=t.x,o=t.y,a=t.width,u=t.height,c=t.horizontalPoints,l=t.horizontal;if(!(void 0===l||l)||!r||!r.length)return null;var s=c.map(function(t){return Math.round(t+o-o)}).sort(function(t,e){return t-e});o!==s[0]&&s.unshift(0);var f=s.map(function(t,c){var l=s[c+1]?s[c+1]-t:o+u-t;if(l<=0)return null;var f=c%r.length;return e.default.createElement("rect",{key:"react-".concat(c),y:t,x:i,height:l,width:a,stroke:"none",fill:r[f],fillOpacity:n,className:"recharts-cartesian-grid-bg"})});return e.default.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},f)}function w(t){var r=t.vertical,n=t.verticalFill,i=t.fillOpacity,o=t.x,a=t.y,u=t.width,c=t.height,l=t.verticalPoints;if(!(void 0===r||r)||!n||!n.length)return null;var s=l.map(function(t){return Math.round(t+o-o)}).sort(function(t,e){return t-e});o!==s[0]&&s.unshift(0);var f=s.map(function(t,r){var l=s[r+1]?s[r+1]-t:o+u-t;if(l<=0)return null;var f=r%n.length;return e.default.createElement("rect",{key:"react-".concat(r),x:t,y:a,width:l,height:c,stroke:"none",fill:n[f],fillOpacity:i,className:"recharts-cartesian-grid-bg"})});return e.default.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},f)}var S=function(t,e){var r=t.xAxis,n=t.width,i=t.height,o=t.offset;return(0,a.getCoordinatesOfGrid)((0,u.getTicks)(h(h(h({},c.CartesianAxis.defaultProps),r),{},{ticks:(0,a.getTicksOfAxis)(r,!0),viewBox:{x:0,y:0,width:n,height:i}})),o.left,o.left+o.width,e)},j=function(t,e){var r=t.yAxis,n=t.width,i=t.height,o=t.offset;return(0,a.getCoordinatesOfGrid)((0,u.getTicks)(h(h(h({},c.CartesianAxis.defaultProps),r),{},{ticks:(0,a.getTicksOfAxis)(r,!0),viewBox:{x:0,y:0,width:n,height:i}})),o.top,o.top+o.height,e)},P=[],E=[];function A(t){var o,a,u,c,s,f,d=(0,l.useChartWidth)(),v=(0,l.useChartHeight)(),b=(0,l.useOffset)(),A=h(h({},t),{},{stroke:null!=(o=t.stroke)?o:"#ccc",fill:null!=(a=t.fill)?a:"none",horizontal:null==(u=t.horizontal)||u,horizontalFill:null!=(c=t.horizontalFill)?c:E,vertical:null==(s=t.vertical)||s,verticalFill:null!=(f=t.verticalFill)?f:P,x:(0,i.isNumber)(t.x)?t.x:b.left,y:(0,i.isNumber)(t.y)?t.y:b.top,width:(0,i.isNumber)(t.width)?t.width:b.
1width,height:(0,i.isNumber)(t.height)?t.height:b.height}),k=A.x,T=A.y,M=A.width,_=A.height,C=A.syncWithTicks,N=A.horizontalValues,D=A.verticalValues,I=(0,l.useArbitraryXAxis)(),B=(0,l.useYAxisWithFiniteDomainOrRandom)();if(!(0,i.isNumber)(M)||M<=0||!(0,i.isNumber)(_)||_<=0||!(0,i.isNumber)(k)||k!==+k||!(0,i.isNumber)(T)||T!==+T)return null;var L=A.verticalCoordinatesGenerator||S,R=A.horizontalCoordinatesGenerator||j,z=A.horizontalPoints,U=A.verticalPoints;if((!z||!z.length)&&(0,r.default)(R)){var $=N&&N.length,F=R({yAxis:B?h(h({},B),{},{ticks:$?N:B.ticks}):void 0,width:d,height:v,offset:b},!!$||C);(0,n.warn)(Array.isArray(F),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(p(F),"]")),Array.isArray(F)&&(z=F)}if((!U||!U.length)&&(0,r.default)(L)){var W=D&&D.length,q=L({xAxis:I?h(h({},I),{},{ticks:W?D:I.ticks}):void 0,width:d,height:v,offset:b},!!W||C);(0,n.warn)(Array.isArray(q),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(p(q),"]")),Array.isArray(q)&&(U=q)}return e.default.createElement("g",{className:"recharts-cartesian-grid"},e.default.createElement(m,{fill:A.fill,fillOpacity:A.fillOpacity,x:A.x,y:A.y,width:A.width,height:A.height,ry:A.ry}),e.default.createElement(g,y({},A,{offset:b,horizontalPoints:z,xAxis:I,yAxis:B})),e.default.createElement(x,y({},A,{offset:b,verticalPoints:U,xAxis:I,yAxis:B})),e.default.createElement(O,y({},A,{horizontalPoints:z})),e.default.createElement(w,y({},A,{verticalPoints:U})))}A.displayName="CartesianGrid",t.s(["CartesianGrid",()=>A])},83966,37886,t=>{"use strict";t.i(47167);var e=t.i(71645),r=t.i(29873),n=t.i(71223),i=t.i(44950),o=t.i(82820),a=t.i(31195),u=t.i(24283),c=t.i(7670),l=t.i(40992),s=t.i(48337),f=t.i(97865),p=t.i(34239),d=t.i(59559),h=t.i(38279),y=t.i(29905),v=t.i(81977),m=t.i(46230),b=t.i(68431),g=t.i(94395),x=t.i(98770),O=t.i(40060),w=t.i(92792),S=t.i(68970),j=t.i(24573),P=t.i(71868),E=t.i(73393),A=t.i(86003),k=t.i(20810),T=t.i(18519),M=t.i(72733);function _(t){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var C=["x","y","top","left","width","height","className"];function N(){return(N=Object.assign.bind()).apply(this,arguments)}function D(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}var I=function(t){var r=t.x,n=void 0===r?0:r,i=t.y,o=void 0===i?0:i,a=t.top,u=void 0===a?0:a,l=t.left,s=void 0===l?0:l,f=t.width,p=void 0===f?0:f,d=t.height,h=void 0===d?0:d,y=t.className,m=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?D(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=_(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=_(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==_(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}({x:n,y:o,top:u,left:s,width:p,height:h},function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,C));return(0,g.isNumber)(n)&&(0,g.isNumber)(o)&&(0,g.isNumber)(p)&&(0,g.isNumber)(h)&&(0,g.isNumber)(u)&&(0,g.isNumber)(s)?e.default.createElement("path",N({}
1,(0,v.filterProps)(m,!0),{className:(0,c.default)("recharts-cross",y),d:"M".concat(n,",").concat(u,"v").concat(h,"M").concat(s,",").concat(o,"h").concat(p)})):null};function B(t){var e=t.cx,r=t.cy,n=t.radius,i=t.startAngle,o=t.endAngle;return{points:[(0,S.polarToCartesian)(e,r,n,i),(0,S.polarToCartesian)(e,r,n,o)],cx:e,cy:r,radius:n,startAngle:i,endAngle:o}}var L=t.i(39425);function R(t){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function U(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?z(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=R(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=R(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==R(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):z(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function $(t){var r,n,i,o,a=t.element,u=t.tooltipEventType,l=t.isActive,s=t.activeCoordinate,f=t.activePayload,p=t.offset,d=t.activeTooltipIndex,h=t.tooltipAxisBandSize,m=t.layout,b=t.chartName,g=null!=(n=a.props.cursor)?n:null==(i=a.type.defaultProps)?void 0:i.cursor;if(!a||!g||!l||!s||"ScatterChart"!==b&&"axis"!==u)return null;var x=M.Curve;if("ScatterChart"===b)o=s,x=I;else if("BarChart"===b)r=h/2,o={stroke:"none",fill:"#ccc",x:"horizontal"===m?s.x-r:p.left+.5,y:"horizontal"===m?p.top+.5:s.y-r,width:"horizontal"===m?h:p.width-1,height:"horizontal"===m?p.height-1:h},x=y.Rectangle;else if("radial"===m){var O=B(s),w=O.cx,j=O.cy,P=O.radius;o={cx:w,cy:j,startAngle:O.startAngle,endAngle:O.endAngle,innerRadius:P,outerRadius:P},x=L.Sector}else o={points:function(t,e,r){var n,i,o,a;if("horizontal"===t)o=n=e.x,i=r.top,a=r.top+r.height;else if("vertical"===t)a=i=e.y,n=r.left,o=r.left+r.width;else if(null!=e.cx&&null!=e.cy)if("centric"!==t)return B(e);else{var u=e.cx,c=e.cy,l=e.innerRadius,s=e.outerRadius,f=e.angle,p=(0,S.polarToCartesian)(u,c,l,f),d=(0,S.polarToCartesian)(u,c,s,f);n=p.x,i=p.y,o=d.x,a=d.y}return[{x:n,y:i},{x:o,y:a}]}(m,s,p)},x=M.Curve;var E=U(U(U(U({stroke:"#ccc",pointerEvents:"none"},p),o),(0,v.filterProps)(g,!1)),{},{payload:f,payloadIndex:d,className:(0,c.default)("recharts-tooltip-cursor",g.className)});return(0,e.isValidElement)(g)?(0,e.cloneElement)(g,E):(0,e.createElement)(x,E)}var F=t.i(46710),W=["item"],q=["children","className","width","height","style","compact","title","desc"];function V(t){return(V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function H(){return(H=Object.assign.bind()).apply(this,arguments)}function X(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,u=[],c=!0,l=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){l=!0,i=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return u}}(t,e)||Q(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function G(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function Y(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Y=function(){return!!t})()}
1function K(t){return(K=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Z(t,e){return(Z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function J(t){return function(t){if(Array.isArray(t))return tt(t)}(t)||function(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Q(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Q(t,e){if(t){if("string"==typeof t)return tt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return tt(t,e)}}function tt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function te(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tr(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?te(Object(r),!0).forEach(function(e){tn(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):te(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tn(t,e,r){return(e=ti(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ti(t){var e=function(t,e){if("object"!=V(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=V(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==V(e)?e:e+""}var to={xAxis:["bottom","top"],yAxis:["left","right"]},ta={width:"100%",height:"100%"},tu={x:0,y:0};function tc(t){return t}var tl=function(t,e,r,n){var i=e.find(function(t){return t&&t.index===r});if(i){if("horizontal"===t)return{x:i.coordinate,y:n.y};if("vertical"===t)return{x:n.x,y:i.coordinate};if("centric"===t){var o=i.coordinate,a=n.radius;return tr(tr(tr({},n),(0,S.polarToCartesian)(n.cx,n.cy,a,o)),{},{angle:o,radius:a})}var u=i.coordinate,c=n.angle;return tr(tr(tr({},n),(0,S.polarToCartesian)(n.cx,n.cy,u,c)),{},{angle:c,radius:u})}return tu},ts=function(t,e){var r=e.graphicalItems,n=e.dataStartIndex,i=e.dataEndIndex,o=(null!=r?r:[]).reduce(function(t,e){var r=e.props.data;return r&&r.length?[].concat(J(t),J(r)):t},[]);return o.length>0?o:t&&t.length&&(0,g.isNumber)(n)&&(0,g.isNumber)(i)?t.slice(n,i+1):[]};function tf(t){return"number"===t?[0,"auto"]:void 0}var tp=function(t,e,r,n){var i=t.graphicalItems,o=t.tooltipAxis,a=ts(e,t);return r<0||!i||!i.length||r>=a.length?null:i.reduce(function(i,u){var c,l,s=null!=(c=u.props.data)?c:e;if(s&&t.dataStartIndex+t.dataEndIndex!==0&&t.dataEndIndex-t.dataStartIndex>=r&&(s=s.slice(t.dataStartIndex,t.dataEndIndex+1)),o.dataKey&&!o.allowDuplicatedCategory){var f=void 0===s?a:s;l=(0,g.findEntryInArray)(f,o.dataKey,n)}else l=s&&s[r]||a[r];return l?[].concat(J(i),[(0,x.getTooltipItem)(u,l)]):i},[])},td=function(t,e,r,n){var i=n||{x:t.chartX,y:t.chartY},o="horizontal"===r?i.x:"vertical"===r?i.y:"centric"===r?i.angle:i.radius,a=t.orderedTooltipTicks,u=t.tooltipAxis,c=t.tooltipTicks,l=(0,x.calculateActiveTickIndex)(o,a,c,u);if(l>=0&&c){var s=c[l]&&c[l].value,f=tp(t,e,l,s),p=tl(r,a,l,i);return{activeTooltipIndex:l,activeLabel:s,activePayload:f,activeCoordinate:p}}return null},th=function(t,e){var n=e.axes,o=e.graphicalItems,a=e.axisType,u=e.axisIdKey,c=e.stackGroups,l=e.dataStartIndex,s=e.dataEndIndex,f=t.layout,p=t.children,d=t.stackOffset,h=(0,x.isCategoricalAxis)(f,a);return n.reduce(function(e,n){var y=void 0!==n.type.defaultProps?tr(tr({},n.type.defaultProps),n.props):n.props,v=y.type,m=y.dataKey,b=y.allowDataOverflow,O=y.allowDuplicatedCategory,S=y.scale,j=y.ticks,P=y.includeHidden,E=y[u];if(e[E])return e;var A=ts(t.data,{graphicalItems:o.filter(function(t){var e;return(u in t.props?t.props[u]:null==(e=t.type.defaultProps)?void 0:e[u])===E}),dataStartIndex:l,dataEndIndex:s}),T=A.length;(0,k.isDomainSpecifiedByUser)(y.domain,b,v)&&(C=(0,x.parseSpecifiedDomain)(y.domain,null,b),h&&("number"===v||"auto"!==S)&&(D=(0,x.getDomainOfDataByKey)(A,m,"category")));var M=tf(v);if(!C||0===C.length){var _,C,N,D,I,B=null!=(I=y.domain)?I:M;if(m){if(C=(0,x.getDomainOfDataByKey)(A,m,v),"category"===v&&h){var L=(0,g.hasDuplicate)(C);O&&L?(N=C,C=(0,i.default)(0,T)):O||(C=(0,x.parseDomainOfCategoryAxis)(B,C,n).reduce(function(t,e){return t.indexOf(e)>=0?t:[].concat(J(t),[e])},[]))}else if("category"===v)C=O?C.filter(function(t){return""!==t&&!(0,r.default)(t)}):(0,x.parseDomainOfCategoryAxis)(B,C,n).reduce(function(t,e){return t.indexOf(e)>=0||""===e||(0,r.default)(e)?t:[].concat(J(t),[e])},[]);else if("number"===v){var R=(0,x.parseErrorBarsOfAxis)(A,o.filter(function(t){var e,r,n=u in t.props?t.props[u]:null==(e=t.type.defaultProps)?void 0:e[u],i="hide"in t.props?t.props.hide:null==(r=t.type.defaultProps)?void 0:r.hide;return n===E&&(P||!i)}),m,a,f);R&&(C=R)}h&&("number"===v||"auto"!==S)&&(D=(0,x.getDomainOfDataByKey)(A,m,"category"))}else C=h?(0,i.default)(0,T):c&&c[E]&&c[E].hasStack&&"number"===v?"expand"===d?[0,1]:(0,x.getDomainOfStackGroups)(c[E].stackGroups,l,s):(0,x.getDomainOfItemsWithSameAxis)(A,o.filter(function(t){var e=u in t.props?t.props[u]:t.type.defaultProps[u],r="hide"in t.props?t.props.hide:t.type.defaultProps.hide;return e===E&&(P||!r)}),v,f,!0);"number"===v?(C=(0,w.detectReferenceElementsDomain)(p,C,E,a,j),B&&(C=(0,x.parseSpecifiedDomain)(B,C,b))):"category"===v&&B&&C.every(function(t){return B.indexOf(t)>=0})&&(C=B)}return tr(tr({},e),{},tn({},E,tr(tr({},y),{},{axisType:a,domain:C,categoricalDomain:D,duplicateDomain:N,originalDomain:null!=(_=y.domain)?_:M,isCategorical:h,layout:f})))},{})},ty=function(t,e){var r=e.graphicalItems,n=e.Axis,a=e.axisType,u=e.axisIdKey,c=e.stackGroups,l=e.dataStartIndex,s=e.dataEndIndex,f=t.layout,p=t.children,d=ts(t.data,{graphicalItems:r,dataStartIndex:l,dataEndIndex:s}),h=d.length,y=(0,x.isCategoricalAxis)(f,a),v=-1;return r.reduce(function(t,e){var m,b=(void 0!==e.type.defaultProps?tr(tr({},e.type.defaultProps),e.props):e.props)[u],g=tf("number");return t[b]?t:(v++,y?m=(0,i.default)(0,h):(m=c&&c[b]&&c[b].hasStack?(0,x.getDomainOfStackGroups)(c[b].stackGroups,l,s):(0,x.parseSpecifiedDomain)(g,(0,x.getDomainOfItemsWithSameAxis)(d,r.filter(function(t){var e,r,n=u in t.props?t.props[u]:null==(e=t.type.defaultProps)?void 0:e[u],i="hide"in t.props?t.props.hide:null==(r=t.type.defaultProps)?void 0:r.hide;return n===b&&!i}),"number",f),n.defaultProps.allowDataOverflow),m=(0,w.detectReferenceElementsDomain)(p,m,b,a)),tr(tr({},t),{},tn({},b,tr(tr({axisType:a},n.defaultProps),{},{hide:!0,orientation:(0,o.default)(to,"".concat(a,".").concat(v%2),null),domain:m,originalDomain:g,isCategorical:y,layout:f}))))},{})},tv=function(t,e){var r=e.axisType,n=void 0===r?"xAxis":r,i=e.AxisComp,o=e.graphicalItems,a=e.stackGroups,u=e.dataStartIndex,c=e.dataEndIndex,l=t.children,s="".concat(n,"Id"),f=(0,v.findAllByType)(l,i),p={};return f&&f.length?p=th(t,{axes:f,graphicalItems:o,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:u,dataEndIndex:c}):o&&o.length&&(p=ty(t,{Axis:i,graphicalItems:o,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:u,dataEndIndex:c})),p},tm=function(t){var e=(0,g.getAnyElementOfObject)(t),r=(0,x.getTicksOfAxis)(e,!1,!0);return{tooltipTicks:r,orderedTooltipTicks:(0,a.default)(r,function(t){return t.coordinate}),tooltipAxis:e,tooltipAxisBandSize:(0,x.getBandSizeOfAxis)(e,r)}},tb=function(t){var e=t.children,r=t.defaultShowTooltip,n=(0,v.findChildByType)(e,m.Brush),i=0,o=0;return t.data&&0!==t.data.length&&(o=t.data.length-1),n&&n.props&&(n.props.startIndex>=0&&(i=n.props.startIndex),n.props.endIndex>=0&&(o=n.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:i,dataEndIndex:o,activeTooltipIndex:-1,isTooltipActive:!!r}},tg=function(t){return"horizontal"===t?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===t?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===t?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},tx=function(t,e){var r=t.props,n=t.graphicalItems,i=t.xAxisMap,a=void 0===i?{}:i,u=t.yAxisMap,c=void 0===u?{}:u,l=r.width,s=r.height,f=r.children,p=r.margin||{},h=(0,v.findChildByType)(f,m.Brush),y=(0,v.findChildByType)(f,d.Legend),b=Object.keys(c).reduce(function(t,e){var r=c[e],n=r.orientation;return r.mirror||r.hide?t:tr(tr({},t),{},tn({},n,t[n]+r.width))},{left:p.left||0,right:p.right||0}),g=Object.keys(a).reduce(function(t,e){var r=a[e],n=r.orientation;return r.mirror||r.hide?t:tr(tr({},t),{},tn({},n,(0,o.default)(t,"".concat(n))+r.height))},{top:p.top||0,bottom:p.bottom||0}),O=tr(tr({},g),b),w=O.bottom;h&&(O.bottom+=h.props.height||m.Brush.defaultProps.height),y&&e&&(O=(0,x.appendOffsetOfLegend)(O,n,r,e));var S=l-O.left-O.right,j=s-O.top-O.bottom;return tr(tr({brushBottom:w},O),{},{width:Math.max(S,0),height:Math.max(j,0)})}
1,tO=function(t){var i=t.chartName,a=t.GraphicalChild,d=t.defaultTooltipEventType,w=void 0===d?"axis":d,k=t.validateTooltipEventTypes,M=void 0===k?["axis"]:k,_=t.axisComponents,C=t.legendContent,N=t.formatAxisMap,D=t.defaultProps,I=function(t,e){var n=e.graphicalItems,i=e.stackGroups,o=e.offset,a=e.updateId,u=e.dataStartIndex,c=e.dataEndIndex,s=t.barSize,f=t.layout,p=t.barGap,d=t.barCategoryGap,h=t.maxBarSize,y=tg(f),m=y.numericAxisName,b=y.cateAxisName,g=!!n&&!!n.length&&n.some(function(t){var e=(0,v.getDisplayName)(t&&t.type);return e&&e.indexOf("Bar")>=0}),O=[];return n.forEach(function(n,y){var w=ts(t.data,{graphicalItems:[n],dataStartIndex:u,dataEndIndex:c}),S=void 0!==n.type.defaultProps?tr(tr({},n.type.defaultProps),n.props):n.props,j=S.dataKey,P=S.maxBarSize,E=S["".concat(m,"Id")],A=S["".concat(b,"Id")],k=_.reduce(function(t,r){var n=e["".concat(r.axisType,"Map")],i=S["".concat(r.axisType,"Id")];n&&n[i]||"zAxis"===r.axisType||(0,l.default)(!1);var o=n[i];return tr(tr({},t),{},tn(tn({},r.axisType,o),"".concat(r.axisType,"Ticks"),(0,x.getTicksOfAxis)(o)))},{}),T=k[b],M=k["".concat(b,"Ticks")],C=i&&i[E]&&i[E].hasStack&&(0,x.getStackedDataOfItem)(n,i[E].stackGroups),N=(0,v.getDisplayName)(n.type).indexOf("Bar")>=0,D=(0,x.getBandSizeOfAxis)(T,M),I=[],B=g&&(0,x.getBarSizeList)({barSize:s,stackGroups:i,totalSize:"xAxis"===b?k[b].width:"yAxis"===b?k[b].height:void 0});if(N){var L,R,z=(0,r.default)(P)?h:P,U=null!=(L=null!=(R=(0,x.getBandSizeOfAxis)(T,M,!0))?R:z)?L:0;I=(0,x.getBarPosition)({barGap:p,barCategoryGap:d,bandSize:U!==D?U:D,sizeList:B[A],maxBarSize:z}),U!==D&&(I=I.map(function(t){return tr(tr({},t),{},{position:tr(tr({},t.position),{},{offset:t.position.offset-U/2})})}))}var $=n&&n.type&&n.type.getComposedData;$&&O.push({props:tr(tr({},$(tr(tr({},k),{},{displayedData:w,props:t,dataKey:j,item:n,bandSize:D,barPosition:I,offset:o,stackedData:C,layout:f,dataStartIndex:u,dataEndIndex:c}))),{},tn(tn(tn({key:n.key||"item-".concat(y)},m,k[m]),b,k[b]),"animationId",a)),childIndex:(0,v.parseChildIndex)(n,t.children),item:n})}),O},B=function(t,e){var r=t.props,n=t.dataStartIndex,o=t.dataEndIndex,u=t.updateId;if(!(0,v.validateWidthHeight)({props:r}))return null;var c=r.children,l=r.layout,s=r.stackOffset,f=r.data,p=r.reverseStackOrder,d=tg(l),h=d.numericAxisName,y=d.cateAxisName,m=(0,v.findAllByType)(c,a),b=(0,x.getStackGroupsByAxisId)(f,m,"".concat(h,"Id"),"".concat(y,"Id"),s,p),g=_.reduce(function(t,e){var i="".concat(e.axisType,"Map");return tr(tr({},t),{},tn({},i,tv(r,tr(tr({},e),{},{graphicalItems:m,stackGroups:e.axisType===h&&b,dataStartIndex:n,dataEndIndex:o}))))},{}),O=tx(tr(tr({},g),{},{props:r,graphicalItems:m}),null==e?void 0:e.legendBBox);Object.keys(g).forEach(function(t){g[t]=N(r,g[t],O,t.replace("Map",""),i)});var w=tm(g["".concat(y,"Map")]),S=I(r,tr(tr({},g),{},{dataStartIndex:n,dataEndIndex:o,updateId:u,graphicalItems:m,stackGroups:b,offset:O}));return tr(tr({formattedGraphicalItems:S,graphicalItems:m,offset:O,stackGroups:b},w),g)},L=function(t){var a;function l(t){var a,s,f,d,h;if(!(this instanceof l))throw TypeError("Cannot call a class as a function");return d=l,h=[t],d=K(d),tn(f=function(t,e){if(e&&("object"===V(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");var r=t;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,Y()?Reflect.construct(d,h||[],K(this).constructor):d.apply(this,h)),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),tn(f,"accessibilityManager",new A.AccessibilityManager),tn(f,"handleLegendBBoxUpdate",function(t){if(t){var e=f.state,r=e.dataStartIndex,n=e.dataEndIndex,i=e.updateId;f.setState(tr({legendBBox:t},B({props:f.props,dataStartIndex:r,dataEndIndex:n,updateId:i},tr(tr({},f.state),{},{legendBBox:t}))))}}),tn(f,"handleReceiveSyncEvent",function(t,e,r){f.props.syncId===t&&(r!==f.eventEmitterSymbol||"function"==typeof f.props.syncMethod)&&f.applySyncEvent(e)}),tn(f,"handleBrushChange",function(t){var e=t.startIndex,r=t.endIndex;if(e!==f.state.dataStartIndex||r!==f.state.dataEndIndex){var n=f.state.updateId;f.setState(function(){return tr({dataStartIndex:e,dataEndIndex:r},B({props:f.props,dataStartIndex:e,dataEndIndex:r,updateId:n},f.state))}),f.triggerSyncEvent({dataStartIndex:e,dataEndIndex:r})}}),tn(f,"handleMouseEnter",function(t){var e=f.getMouseInfo(t);if(e){var r=tr(tr({},e),{},{isTooltipActive:!0});f.setState(r),f.triggerSyncEvent(r);var i=f.props.onMouseEnter;(0,n.default)(i)&&i(r,t)}}),tn(f,"triggeredAfterMouseMove",function(t){var e=f.getMouseInfo(t),r=e?tr(tr({},e),{},{isTooltipActive:!0}):{isTooltipActive:!1};f.setState(r),f.triggerSyncEvent(r);var i=f.props.onMouseMove;(0,n.default)(i)&&i(r,t)}),tn(f,"handleItemMouseEnter",function(t){f.setState(function(){return{isTooltipActive:!0,activeItem:t,activePayload:t.tooltipPayload,activeCoordinate:t.tooltipPosition||{x:t.cx,y:t.cy}}})}),tn(f,"handleItemMouseLeave",function(){f.setState(function(){return{isTooltipActive:!1}})}),tn(f,"handleMouseMove",function(t){t.persist(),f.throttleTriggeredAfterMouseMove(t)}),tn(f,"handleMouseLeave",function(t){f.throttleTriggeredAfterMouseMove.cancel();var e={isTooltipActive:!1};f.setState(e),f.triggerSyncEvent(e);var r=f.props.onMouseLeave;(0,n.default)(r)&&r(e,t)}),tn(f,"handleOuterEvent",function(t){var e,r=(0,v.getReactEventByType)(t),i=(0,o.default)(f.props,"".concat(r));r&&(0,n.default)(i)&&i(null!=(e=/.*touch.*/i.test(r)?f.getMouseInfo(t.changedTouches[0]):f.getMouseInfo(t))?e:{},t)}),tn(f,"handleClick",function(t){var e=f.getMouseInfo(t);if(e){var r=tr(tr({},e),{},{isTooltipActive:!0});f.setState(r),f.triggerSyncEvent(r);var i=f.props.onClick;(0,n.default)(i)&&i(r,t)}}),tn(f,"handleMouseDown",function(t){var e=f.props.onMouseDown;(0,n.default)(e)&&e(f.getMouseInfo(t),t)}),tn(f,"handleMouseUp",function(t){var e=f.props.onMouseUp;(0,n.default)(e)&&e(f.getMouseInfo(t),t)}),tn(f,"handleTouchMove",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&f.throttleTriggeredAfterMouseMove(t.changedTouches[0])}),tn(f,"handleTouchStart",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&f.handleMouseDown(t.changedTouches[0])}),tn(f,"handleTouchEnd",function(t){null!=t.changedTouches&&t.changedTouches.length>0&&f.handleMouseUp(t.changedTouches[0])}),tn(f,"handleDoubleClick",function(t){var e=f.props.onDoubleClick;(0,n.default)(e)&&e(f.getMouseInfo(t),t)}),tn(f,"handleContextMenu",function(t){var e=f.props.onContextMenu;(0,n.default)(e)&&e(f.getMouseInfo(t),t)}),tn(f,"triggerSyncEvent",function(t){void 0!==f.props.syncId&&P.eventCenter.emit(P.SYNC_EVENT,f.props.syncId,t,f.eventEmitterSymbol)}),tn(f,"applySyncEvent",function(t){var e=f.props,r=e.layout,n=e.syncMethod,i=f.state.updateId,o=t.dataStartIndex,a=t.dataEndIndex;if(void 0!==t.dataStartIndex||void 0!==t.dataEndIndex)f.setState(tr({dataStartIndex:o,dataEndIndex:a},B({props:f.props,dataStartIndex:o,dataEndIndex:a,updateId:i},f.state)));else if(void 0!==t.activeTooltipIndex){var u=t.chartX,c=t.chartY,l=t.activeTooltipIndex,s=f.state,p=s.offset,d=s.tooltipTicks;if(!p)return;if("function"==typeof n)l=n(d,t);else if("value"===n){l=-1;for(var h=0;h<d.length;h++)if(d[h].value===t.activeLabel){l=h;break}}var y=tr(tr({},p),{},{x:p.left,y:p.top}),v=Math.min(u,y.x+y.width),m=Math.min(c,y.y+y.height),b=d[l]&&d[l].value,g=tp(f.state,f.props.data,l),x=d[l]?{x:"horizontal"===r?d[l].coordinate:v,y:"horizontal"===r?m:d[l].coordinate}:tu;f.setState(tr(tr({},t),{},{activeLabel:b,activeCoordinate:x,activePayload:g,activeTooltipIndex:l}))}else f.setState(t)}),tn(f,"renderCursor",function(t){var r,n=f.state,o=n.isTooltipActive,a=n.activeCoordinate,u=n.activePayload,c=n.offset,l=n.activeTooltipIndex,s=n.tooltipAxisBandSize,p=f.getTooltipEventType(),d=null!=(r=t.props.active)?r:o,h=f.props.layout,y=t.key||"_recharts-cursor";return e.default.createElement($,{key:y,activeCoordinate:a,activePayload:u,activeTooltipIndex:l,chartName:i,element:t,isActive:d,layout:h,offset:c,tooltipAxisBandSize:s,tooltipEventType:p})}),tn(f,"renderPolarAxis",function(t,r,n){var i=(0,o.default)(t,"type.axisType"),a=(0,o.default)(f.state,"".concat(i,"Map")),u=t.type.defaultProps,l=void 0!==u?tr(tr({},u),t.props):t.props,s=a&&a[l["".concat(i,"Id")]];return(0,e.cloneElement)(t,tr(tr({},s),{}
1,{className:(0,c.default)(i,s.className),key:t.key||"".concat(r,"-").concat(n),ticks:(0,x.getTicksOfAxis)(s,!0)}))}),tn(f,"renderPolarGrid",function(t){var r=t.props,n=r.radialLines,i=r.polarAngles,o=r.polarRadius,a=f.state,u=a.radiusAxisMap,c=a.angleAxisMap,l=(0,g.getAnyElementOfObject)(u),s=(0,g.getAnyElementOfObject)(c),p=s.cx,d=s.cy,h=s.innerRadius,y=s.outerRadius;return(0,e.cloneElement)(t,{polarAngles:Array.isArray(i)?i:(0,x.getTicksOfAxis)(s,!0).map(function(t){return t.coordinate}),polarRadius:Array.isArray(o)?o:(0,x.getTicksOfAxis)(l,!0).map(function(t){return t.coordinate}),cx:p,cy:d,innerRadius:h,outerRadius:y,key:t.key||"polar-grid",radialLines:n})}),tn(f,"renderLegend",function(){var t=f.state.formattedGraphicalItems,r=f.props,n=r.children,i=r.width,o=r.height,a=f.props.margin||{},u=i-(a.left||0)-(a.right||0),c=(0,O.getLegendProps)({children:n,formattedGraphicalItems:t,legendWidth:u,legendContent:C});if(!c)return null;var l=c.item,s=G(c,W);return(0,e.cloneElement)(l,tr(tr({},s),{},{chartWidth:i,chartHeight:o,margin:a,onBBoxUpdate:f.handleLegendBBoxUpdate}))}),tn(f,"renderTooltip",function(){var t,r=f.props,n=r.children,i=r.accessibilityLayer,o=(0,v.findChildByType)(n,p.Tooltip);if(!o)return null;var a=f.state,u=a.isTooltipActive,c=a.activeCoordinate,l=a.activePayload,s=a.activeLabel,d=a.offset,h=null!=(t=o.props.active)?t:u;return(0,e.cloneElement)(o,{viewBox:tr(tr({},d),{},{x:d.left,y:d.top}),active:h,label:s,payload:h?l:[],coordinate:c,accessibilityLayer:i})}),tn(f,"renderBrush",function(t){var r=f.props,n=r.margin,i=r.data,o=f.state,a=o.offset,u=o.dataStartIndex,c=o.dataEndIndex,l=o.updateId;return(0,e.cloneElement)(t,{key:t.key||"_recharts-brush",onChange:(0,x.combineEventHandlers)(f.handleBrushChange,t.props.onChange),data:i,x:(0,g.isNumber)(t.props.x)?t.props.x:a.left,y:(0,g.isNumber)(t.props.y)?t.props.y:a.top+a.height+a.brushBottom-(n.bottom||0),width:(0,g.isNumber)(t.props.width)?t.props.width:a.width,startIndex:u,endIndex:c,updateId:"brush-".concat(l)})}),tn(f,"renderReferenceElement",function(t,r,n){if(!t)return null;var i=f.clipPathId,o=f.state,a=o.xAxisMap,u=o.yAxisMap,c=o.offset,l=t.type.defaultProps||{},s=t.props,p=s.xAxisId,d=void 0===p?l.xAxisId:p,h=s.yAxisId,y=void 0===h?l.yAxisId:h;return(0,e.cloneElement)(t,{key:t.key||"".concat(r,"-").concat(n),xAxis:a[d],yAxis:u[y],viewBox:{x:c.left,y:c.top,width:c.width,height:c.height},clipPathId:i})}),tn(f,"renderActivePoints",function(t){var e=t.item,r=t.activePoint,n=t.basePoint,i=t.childIndex,o=t.isRange,a=[],u=e.props.key,c=void 0!==e.item.type.defaultProps?tr(tr({},e.item.type.defaultProps),e.item.props):e.item.props,s=c.activeDot,f=tr(tr({index:i,dataKey:c.dataKey,cx:r.x,cy:r.y,r:4,fill:(0,x.getMainColorOfGraphicItem)(e.item),strokeWidth:2,stroke:"#fff",payload:r.payload,value:r.value},(0,v.filterProps)(s,!1)),(0,E.adaptEventHandlers)(s));return a.push(l.renderActiveDot(s,f,"".concat(u,"-activePoint-").concat(i))),n?a.push(l.renderActiveDot(s,tr(tr({},f),{},{cx:n.x,cy:n.y}),"".concat(u,"-basePoint-").concat(i))):o&&a.push(null),a}),tn(f,"renderGraphicChild",function(t,n,i){var o=f.filterFormatItem(t,n,i);if(!o)return null;var a=f.getTooltipEventType(),u=f.state,c=u.isTooltipActive,l=u.tooltipAxis,s=u.activeTooltipIndex,d=u.activeLabel,h=f.props.children,y=(0,v.findChildByType)(h,p.Tooltip),m=o.props,b=m.points,O=m.isRange,w=m.baseLine,S=void 0!==o.item.type.defaultProps?tr(tr({},o.item.type.defaultProps),o.item.props):o.item.props,j=S.activeDot,P=S.hide,E=S.activeBar,A=S.activeShape,k=!!(!P&&c&&y&&(j||E||A)),T={};"axis"!==a&&y&&"click"===y.props.trigger?T={onClick:(0,x.combineEventHandlers)(f.handleItemMouseEnter,t.props.onClick)}:"axis"!==a&&(T={onMouseLeave:(0,x.combineEventHandlers)(f.handleItemMouseLeave,t.props.onMouseLeave),onMouseEnter:(0,x.combineEventHandlers)(f.handleItemMouseEnter,t.props.onMouseEnter)});var M=(0,e.cloneElement)(t,tr(tr({},o.props),T));if(k)if(s>=0){if(l.dataKey&&!l.allowDuplicatedCategory){var _="function"==typeof l.dataKey?function(t){return"function"==typeof l.dataKey?l.dataKey(t.payload):null}:"payload.".concat(l.dataKey.toString());N=(0,g.findEntryInArray)(b,_,d),D=O&&w&&(0,g.findEntryInArray)(w,_,d)}else N=null==b?void 0:b[s],D=O&&w&&w[s];if(A||E){var C=void 0!==t.props.activeIndex?t.props.activeIndex:s;return[(0,e.cloneElement)(t,tr(tr(tr({},o.props),T),{},{activeIndex:C})),null,null]}if(!(0,r.default)(N))return[M].concat(J(f.renderActivePoints({item:o,activePoint:N,basePoint:D,childIndex:s,isRange:O})))}else{var N,D,I,B=(null!=(I=f.getItemByXY(f.state.activeCoordinate))?I:{graphicalItem:M}).graphicalItem,L=B.item,R=void 0===L?t:L,z=B.childIndex,U=tr(tr(tr({},o.props),T),{},{activeIndex:z});return[(0,e.cloneElement)(R,U),null,null]}return O?[M,null,null]:[M,null]}),tn(f,"renderCustomized",function(t,r,n){return(0,e.cloneElement)(t,tr(tr({key:"recharts-customized-".concat(n)},f.props),f.state))}
1),tn(f,"renderMap",{CartesianGrid:{handler:tc,once:!0},ReferenceArea:{handler:f.renderReferenceElement},ReferenceLine:{handler:tc},ReferenceDot:{handler:f.renderReferenceElement},XAxis:{handler:tc},YAxis:{handler:tc},Brush:{handler:f.renderBrush,once:!0},Bar:{handler:f.renderGraphicChild},Line:{handler:f.renderGraphicChild},Area:{handler:f.renderGraphicChild},Radar:{handler:f.renderGraphicChild},RadialBar:{handler:f.renderGraphicChild},Scatter:{handler:f.renderGraphicChild},Pie:{handler:f.renderGraphicChild},Funnel:{handler:f.renderGraphicChild},Tooltip:{handler:f.renderCursor,once:!0},PolarGrid:{handler:f.renderPolarGrid,once:!0},PolarAngleAxis:{handler:f.renderPolarAxis},PolarRadiusAxis:{handler:f.renderPolarAxis},Customized:{handler:f.renderCustomized}}),f.clipPathId="".concat(null!=(a=t.id)?a:(0,g.uniqueId)("recharts"),"-clip"),f.throttleTriggeredAfterMouseMove=(0,u.default)(f.triggeredAfterMouseMove,null!=(s=t.throttleDelay)?s:1e3/60),f.state={},f}if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");return l.prototype=Object.create(t&&t.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),Object.defineProperty(l,"prototype",{writable:!1}),t&&Z(l,t),a=[{key:"componentDidMount",value:function(){var t,e;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:null!=(t=this.props.margin.left)?t:0,top:null!=(e=this.props.margin.top)?e:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var t=this.props,e=t.children,r=t.data,n=t.height,i=t.layout,o=(0,v.findChildByType)(e,p.Tooltip);if(o){var a=o.props.defaultIndex;if("number"==typeof a&&!(a<0)&&!(a>this.state.tooltipTicks.length-1)){var u=this.state.tooltipTicks[a]&&this.state.tooltipTicks[a].value,c=tp(this.state,r,a,u),l=this.state.tooltipTicks[a].coordinate,s=(this.state.offset.top+n)/2,f="horizontal"===i?{x:l,y:s}:{y:l,x:s},d=this.state.formattedGraphicalItems.find(function(t){return"Scatter"===t.item.type.name});d&&(f=tr(tr({},f),d.props.points[a].tooltipPosition),c=d.props.points[a].tooltipPayload);var h={activeTooltipIndex:a,isTooltipActive:!0,activeLabel:u,activePayload:c,activeCoordinate:f};this.setState(h),this.renderCursor(o),this.accessibilityManager.setIndex(a)}}}},{key:"getSnapshotBeforeUpdate",value:function(t,e){if(!this.props.accessibilityLayer)return null;if(this.state.tooltipTicks!==e.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==t.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==t.margin){var r,n;this.accessibilityManager.setDetails({offset:{left:null!=(r=this.props.margin.left)?r:0,top:null!=(n=this.props.margin.top)?n:0}})}return null}},{key:"componentDidUpdate",value:function(t){(0,v.isChildrenEqual)([(0,v.findChildByType)(t.children,p.Tooltip)],[(0,v.findChildByType)(this.props.children,p.Tooltip)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var t=(0,v.findChildByType)(this.props.children,p.Tooltip);if(t&&"boolean"==typeof t.props.shared){var e=t.props.shared?"axis":"item";return M.indexOf(e)>=0?e:w}return w}},{key:"getMouseInfo",value:function(t){if(!this.container)return null;var e=this.container,r=e.getBoundingClientRect(),n=(0,b.getOffset)(r),i={chartX:Math.round(t.pageX-n.left),chartY:Math.round(t.pageY-n.top)},o=r.width/e.offsetWidth||1,a=this.inRange(i.chartX,i.chartY,o);if(!a)return null;var u=this.state,c=u.xAxisMap,l=u.yAxisMap,s=this.getTooltipEventType(),f=td(this.state,this.props.data,this.props.layout,a);if("axis"!==s&&c&&l){var p=(0,g.getAnyElementOfObject)(c).scale,d=(0,g.getAnyElementOfObject)(l).scale,h=p&&p.invert?p.invert(i.chartX):null,y=d&&d.invert?d.invert(i.chartY):null;return tr(tr({},i),{},{xValue:h,yValue:y},f)}return f?tr(tr({},i),f):null}},{key:"inRange",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=this.props.layout,i=t/r,o=e/r;if("horizontal"===n||"vertical"===n){var a=this.state.offset;return i>=a.left&&i<=a.left+a.width&&o>=a.top&&o<=a.top+a.height?{x:i,y:o}:null}
1var u=this.state,c=u.angleAxisMap,l=u.radiusAxisMap;if(c&&l){var s=(0,g.getAnyElementOfObject)(c);return(0,S.inRangeOfSector)({x:i,y:o},s)}return null}},{key:"parseEventsOfWrapper",value:function(){var t=this.props.children,e=this.getTooltipEventType(),r=(0,v.findChildByType)(t,p.Tooltip),n={};return r&&"axis"===e&&(n="click"===r.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onDoubleClick:this.handleDoubleClick,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,onContextMenu:this.handleContextMenu}),tr(tr({},(0,E.adaptEventHandlers)(this.props,this.handleOuterEvent)),n)}},{key:"addListener",value:function(){P.eventCenter.on(P.SYNC_EVENT,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){P.eventCenter.removeListener(P.SYNC_EVENT,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(t,e,r){for(var n=this.state.formattedGraphicalItems,i=0,o=n.length;i<o;i++){var a=n[i];if(a.item===t||a.props.key===t.key||e===(0,v.getDisplayName)(a.item.type)&&r===a.childIndex)return a}return null}},{key:"renderClipPath",value:function(){var t=this.clipPathId,r=this.state.offset,n=r.left,i=r.top,o=r.height,a=r.width;return e.default.createElement("defs",null,e.default.createElement("clipPath",{id:t},e.default.createElement("rect",{x:n,y:i,height:o,width:a})))}},{key:"getXScales",value:function(){var t=this.state.xAxisMap;return t?Object.entries(t).reduce(function(t,e){var r=X(e,2),n=r[0],i=r[1];return tr(tr({},t),{},tn({},n,i.scale))},{}):null}},{key:"getYScales",value:function(){var t=this.state.yAxisMap;return t?Object.entries(t).reduce(function(t,e){var r=X(e,2),n=r[0],i=r[1];return tr(tr({},t),{},tn({},n,i.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(t){var e;return null==(e=this.state.xAxisMap)||null==(e=e[t])?void 0:e.scale}},{key:"getYScaleByAxisId",value:function(t){var e;return null==(e=this.state.yAxisMap)||null==(e=e[t])?void 0:e.scale}},{key:"getItemByXY",value:function(t){var e=this.state,r=e.formattedGraphicalItems,n=e.activeItem;if(r&&r.length)for(var i=0,o=r.length;i<o;i++){var a=r[i],u=a.props,c=a.item,l=void 0!==c.type.defaultProps?tr(tr({},c.type.defaultProps),c.props):c.props,s=(0,v.getDisplayName)(c.type);if("Bar"===s){var f=(u.data||[]).find(function(e){return(0,y.isInRectangle)(t,e)});if(f)return{graphicalItem:a,payload:f}}else if("RadialBar"===s){var p=(u.data||[]).find(function(e){return(0,S.inRangeOfSector)(t,e)});if(p)return{graphicalItem:a,payload:p}}else if((0,T.isFunnel)(a,n)||(0,T.isPie)(a,n)||(0,T.isScatter)(a,n)){var d=(0,T.getActiveShapeIndexForTooltip)({graphicalItem:a,activeTooltipItem:n,itemData:l.data}),h=void 0===l.activeIndex?d:l.activeIndex;return{graphicalItem:tr(tr({},a),{},{childIndex:h}),payload:(0,T.isScatter)(a,n)?l.data[d]:a.props.data[d]}}}return null}},{key:"render",value:function(){var t,r,n=this;if(!(0,v.validateWidthHeight)(this))return null;var i=this.props,o=i.children,a=i.className,u=i.width,l=i.height,f=i.style,p=i.compact,d=i.title,h=i.desc,y=G(i,q),m=(0,v.filterProps)(y,!1);if(p)return e.default.createElement(F.ChartLayoutContextProvider,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},e.default.createElement(s.Surface,H({},m,{width:u,height:l,title:d,desc:h}),this.renderClipPath(),(0,v.renderByOrder)(o,this.renderMap)));this.props.accessibilityLayer&&(m.tabIndex=null!=(t=this.props.tabIndex)?t:0,m.role=null!=(r=this.props.role)?r:"application",m.onKeyDown=function(t){n.accessibilityManager.keyboardEvent(t)},m.onFocus=function(){n.accessibilityManager.focus()});var b=this.parseEventsOfWrapper();return e.default.createElement(F.ChartLayoutContextProvider,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},e.default.createElement("div",H({className:(0,c.default)("recharts-wrapper",a),style:tr({position:"relative",cursor:"default",width:u,height:l},f)},b,{ref:function(t){n.container=t}}),e.default.createElement(s.Surface,H({},m,{width:u,height:l,title:d,desc:h,style:ta}),this.renderClipPath(),(0,v.renderByOrder)(o,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}],function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ti(n.key),n)}}(l.prototype,a),Object.defineProperty(l,"prototype",{writable:!1}),l}(e.Component);tn(L,"displayName",i),tn(L,"defaultProps",tr({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},D)),tn(L,"getDerivedStateFromProps",function(t,e){var n=t.dataKey,i=t.data,o=t.children,a=t.width,u=t.height,c=t.layout,l=t.stackOffset,s=t.margin,f=e.dataStartIndex,p=e.dataEndIndex;if(void 0===e.updateId){var d=tb(t);return tr(tr(tr({},d),{},{updateId:0},B(tr(tr({props:t},d),{},{updateId:0}),e)),{},{prevDataKey:n,prevData:i,prevWidth:a,prevHeight:u,prevLayout:c,prevStackOffset:l,prevMargin:s,prevChildren:o})}if(n!==e.prevDataKey||i!==e.prevData||a!==e.prevWidth||u!==e.prevHeight||c!==e.prevLayout||l!==e.prevStackOffset||!(0,j.shallowEqual)(s,e.prevMargin)){var h=tb(t),y={chartX:e.chartX,chartY:e.chartY,isTooltipActive:e.isTooltipActive},b=tr(tr({},td(e,i,c)),{},{updateId:e.updateId+1}),g=tr(tr(tr({},h),y),b);return tr(tr(tr({},g),B(tr({props:t},g),e)),{},{prevDataKey:n,prevData:i,prevWidth:a,prevHeight:u,prevLayout:c,prevStackOffset:l,prevMargin:s,prevChildren:o})}if(!(0,v.isChildrenEqual)(o,e.prevChildren)){var x,O,w,S,P=(0,v.findChildByType)(o,m.Brush),E=P&&null!=(x=null==(O=P.props)?void 0:O.startIndex)?x:f,A=P&&null!=(w=null==(S=P.props)?void 0:S.endIndex)?w:p,k=(0,r.default)(i)||E!==f||A!==p?e.updateId+1:e.updateId;return tr(tr({updateId:k},B(tr(tr({props:t},e),{},{updateId:k,dataStartIndex:E,dataEndIndex:A}),e)),{},{prevChildren:o,dataStartIndex:E,dataEndIndex:A})}return null}),tn(L,"renderActiveDot",function(t,r,i){var o;return o=(0,e.isValidElement)(t)?(0,e.cloneElement)(t,r):(0,n.default)(t)?t(r):e.default.createElement(h.Dot,r),e.default.createElement(f.Layer,{className:"recharts-active-dot",ke
1y:i},o)});var R=(0,e.forwardRef)(function(t,r){return e.default.createElement(L,H({},t,{ref:r}))});return R.displayName=L.displayName,R};t.s(["generateCategoricalChart",()=>tO],83966);var tw=t.i(43476),tS=t.i(932),tj=t.i(29071);function tP(t){return(tP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tE(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tA(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tE(Object(r),!0).forEach(function(e){var n,i,o;n=t,i=e,o=r[e],(i=function(t){var e=function(t,e){if("object"!=tP(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tP(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tP(e)?e:e+""}(i))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tE(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function tk(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var tT=(0,e.forwardRef)(function(t,r){var n,i=t.aspect,o=t.initialDimension,a=void 0===o?{width:-1,height:-1}:o,l=t.width,s=void 0===l?"100%":l,f=t.height,p=void 0===f?"100%":f,d=t.minWidth,h=void 0===d?0:d,y=t.minHeight,m=t.maxHeight,b=t.children,x=t.debounce,O=void 0===x?0:x,w=t.id,S=t.className,j=t.onResize,P=t.style,E=(0,e.useRef)(null),A=(0,e.useRef)();A.current=j,(0,e.useImperativeHandle)(r,function(){return Object.defineProperty(E.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),E.current},configurable:!0})});var k=function(t){if(Array.isArray(t))return t}(n=(0,e.useState)({containerWidth:a.width,containerHeight:a.height}))||function(t,e){var r=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,u=[],c=!0,l=!1;try{o=(r=r.call(t)).next,!1;for(;!(c=(n=o.call(r)).done)&&(u.push(n.value),2!==u.length);c=!0);}catch(t){l=!0,i=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return u}}(n,2)||function(t,e){if(t){if("string"==typeof t)return tk(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return tk(t,2)}}(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),T=k[0],M=k[1],_=(0,e.useCallback)(function(t,e){M(function(r){var n=Math.round(t),i=Math.round(e);return r.containerWidth===n&&r.containerHeight===i?r:{containerWidth:n,containerHeight:i}})},[]);(0,e.useEffect)(function(){var t=function(t){var e,r=t[0].contentRect,n=r.width,i=r.height;_(n,i),null==(e=A.current)||e.call(A,n,i)};O>0&&(t=(0,u.default)(t,O,{trailing:!0,leading:!1}));var e=new ResizeObserver(t),r=E.current.getBoundingClientRect();return _(r.width,r.height),e.observe(E.current),function(){e.disconnect()}},[_,O]);var C=(0,e.useMemo)(function(){var t=T.containerWidth,r=T.containerHeight;if(t<0||r<0)return null;(0,tj.warn)((0,g.isPercent)(s)||(0,g.isPercent)(p),"The width(%s) and height(%s) are both fixed numbers,\n       maybe you don't need to use a ResponsiveContainer.",s,p),(0,tj.warn)(!i||i>0,"The aspect(%s) must be greater than zero.",i);var n=(0,g.isPercent)(s)?t:s,o=(0,g.isPercent)(p)?r:p;i&&i>0&&(n?o=n/i:o&&(n=o*i),m&&o>m&&(o=m)),(0,tj.warn)(n>0||o>0,"The width(%s) and height(%s) of chart should be greater than 0,\n       please check the style of container, or the props width(%s) and height(%s),\n       or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n       height and width.",n,o,s,p,h,y,i);var a=!Array.isArray(b)&&(0,v.getDisplayName)(b.type).endsWith("Chart");return e.default.Children.map(b,function(t){return e.default.isValidElement(t)?(0,e.cloneElement)(t,tA({width:n,height:o},a?{style:tA({height:"100%",width:"100%",maxHeight:o,maxWidth:n},t.props.style)}:{})):t})},[i,b,p,m,y,h,T,s]);return e.default.createElement("div",{id:w?"".concat(w):void 0,className:(0,
1c.default)("recharts-responsive-container",S),style:tA(tA({},void 0===P?{}:P),{},{width:s,height:p,minWidth:h,minHeight:y,maxHeight:m}),ref:E},C)}),tM=t.i(75157);let t_={light:"",dark:".dark"},tC=e.createContext(null);function tN(t){let r,n,i,o,a,u,c,l,s,f,p,d,h=(0,tS.c)(27);h[0]!==t?({id:o,className:n,children:r,config:i,...a}=t,h[0]=t,h[1]=r,h[2]=n,h[3]=i,h[4]=o,h[5]=a):(r=h[1],n=h[2],i=h[3],o=h[4],a=h[5]);let y=e.useId();h[6]!==o||h[7]!==y?(u=o||y.replace(/:/g,""),h[6]=o,h[7]=y,h[8]=u):u=h[8];let v=`chart-${u}`;return h[9]!==i?(c={config:i},h[9]=i,h[10]=c):c=h[10],h[11]!==n?(l=(0,tM.cn)("[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border flex aspect-video justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden",n),h[11]=n,h[12]=l):l=h[12],h[13]!==v||h[14]!==i?(s=(0,tw.jsx)(tD,{id:v,config:i}),h[13]=v,h[14]=i,h[15]=s):s=h[15],h[16]!==r?(f=(0,tw.jsx)(tT,{children:r}),h[16]=r,h[17]=f):f=h[17],h[18]!==v||h[19]!==a||h[20]!==l||h[21]!==s||h[22]!==f?(p=(0,tw.jsxs)("div",{"data-slot":"chart","data-chart":v,className:l,...a,children:[s,f]}),h[18]=v,h[19]=a,h[20]=l,h[21]=s,h[22]=f,h[23]=p):p=h[23],h[24]!==c||h[25]!==p?(d=(0,tw.jsx)(tC.Provider,{value:c,children:p}),h[24]=c,h[25]=p,h[26]=d):d=h[26],d}let tD=t=>{let e,r,n,i,o=(0,tS.c)(8),{id:a,config:u}=t;o[0]!==u?(e=Object.entries(u).filter(tU),o[0]=u,o[1]=e):e=o[1];let c=e;if(!c.length)return null;o[2]===Symbol.for("react.memo_cache_sentinel")?(r=Object.entries(t_),o[2]=r):r=o[2],o[3]!==c||o[4]!==a?(n=r.map(t=>{let[e,r]=t;return`
2${r} [data-chart=${a}] {
3${c.map(t=>{let[r,n]=t,i=n.theme?.[e]||n.color;return i?`  --color-${r}: ${i};`:null}).join("\n")}
4}
5`}),o[3]=c,o[4]=a,o[5]=n):n=o[5];let l=n.join("\n");return o[6]!==l?(i=(0,tw.jsx)("style",{dangerouslySetInnerHTML:{__html:l}}),o[6]=l,o[7]=i):i=o[7],i},tI=p.Tooltip;function tB(t){let r,n,i,o,a,u=(0,tS.c)(45),{active:c,payload:l,className:s,indicator:f,hideLabel:p,hideIndicator:d,label:h,labelFormatter:y,labelClassName:v,formatter:m,color:b,nameKey:g,labelKey:x}=t,O=void 0===f?"dot":f,w=void 0!==d&&d,{config:S}=function(){let t=e.useContext(tC);if(!t)throw Error("useChart must be used within a <ChartContainer />");return t}();r:{let t,e,n;if(void 0!==p&&p||!l?.length){r=null;break r}let[i]=l,o=`${x||i?.dataKey||i?.name||"value"}`;u[0]!==S||u[1]!==i||u[2]!==o?(t=tz(S,i,o),u[0]=S,u[1]=i,u[2]=o,u[3]=t):t=u[3];let a=t,c=x||"string"!=typeof h?a?.label:S[h]?.label||h;if(y){let t,e,n;u[4]!==v?(t=(0,tM.cn)("font-medium",v),u[4]=v,u[5]=t):t=u[5],u[6]!==y||u[7]!==l||u[8]!==c?(e=y(c,l),u[6]=y,u[7]=l,u[8]=c,u[9]=e):e=u[9],u[10]!==t||u[11]!==e?(n=(0,tw.jsx)("div",{className:t,children:e}),u[10]=t,u[11]=e,u[12]=n):n=u[12],r=n;break r}if(!c){r=null;break r}u[13]!==v?(e=(0,tM.cn)("font-medium",v),u[13]=v,u[14]=e):e=u[14],u[15]!==e||u[16]!==c?(n=(0,tw.jsx)("div",{className:e,children:c}),u[15]=e,u[16]=c,u[17]=n):n=u[17],r=n}let j=r;if(!c||!l?.length)return null;let P=1===l.length&&"dot"!==O;u[18]!==s?(n=(0,tM.cn)("border-border/50 bg-background grid min-w-[8rem] items-start gap-1.5 rounded-lg border px-2.5 py-1.5 text-xs shadow-xl",s),u[18]=s,u[19]=n):n=u[19];let E=P?null:j;if(u[20]!==b||u[21]!==S||u[22]!==m||u[23]!==w||u[24]!==O||u[25]!==g||u[26]!==P||u[27]!==l||u[28]!==j){let t;u[30]!==b||u[31]!==S||u[32]!==m||u[33]!==w||u[34]!==O||u[35]!==g||u[36]!==P||u[37]!==j?(t=(t,e)=>{let r=`${g||t.name||t.dataKey||"value"}`,n=tz(S,t,r),i=b||t.payload.fill||t.color;return(0,tw.jsx)("div",{className:(0,tM.cn)("[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5","dot"===O&&"items-center"),children:m&&t?.value!==void 0&&t.n
5ame?m(t.value,t.name,t,e,t.payload):(0,tw.jsxs)(tw.Fragment,{children:[n?.icon?(0,tw.jsx)(n.icon,{}):!w&&(0,tw.jsx)("div",{className:(0,tM.cn)("shrink-0 rounded-[2px] border-(--color-border) bg-(--color-bg)",{"h-2.5 w-2.5":"dot"===O,"w-1":"line"===O,"w-0 border-[1.5px] border-dashed bg-transparent":"dashed"===O,"my-0.5":P&&"dashed"===O}),style:{"--color-bg":i,"--color-border":i}}),(0,tw.jsxs)("div",{className:(0,tM.cn)("flex flex-1 justify-between leading-none",P?"items-end":"items-center"),children:[(0,tw.jsxs)("div",{className:"grid gap-1.5",children:[P?j:null,(0,tw.jsx)("span",{className:"text-muted-foreground",children:n?.label||t.name})]}),t.value&&(0,tw.jsx)("span",{className:"text-foreground font-mono font-medium tabular-nums",children:t.value.toLocaleString()})]})]})},t.dataKey)},u[30]=b,u[31]=S,u[32]=m,u[33]=w,u[34]=O,u[35]=g,u[36]=P,u[37]=j,u[38]=t):t=u[38],i=l.filter(tL).map(t),u[20]=b,u[21]=S,u[22]=m,u[23]=w,u[24]=O,u[25]=g,u[26]=P,u[27]=l,u[28]=j,u[29]=i}else i=u[29];return u[39]!==i?(o=(0,tw.jsx)("div",{className:"grid gap-1.5",children:i}),u[39]=i,u[40]=o):o=u[40],u[41]!==n||u[42]!==E||u[43]!==o?(a=(0,tw.jsxs)("div",{className:n,children:[E,o]}),u[41]=n,u[42]=E,u[43]=o,u[44]=a):a=u[44],a}function tL(t){return"none"!==t.type}let tR=d.Legend;function tz(t,e,r){if("object"!=typeof e||null===e)return;let n="payload"in e&&"object"==typeof e.payload&&null!==e.payload?e.payload:void 0,i=r;return r in e&&"string"==typeof e[r]?i=e[r]:n&&r in n&&"string"==typeof n[r]&&(i=n[r]),i in t?t[i]:t[r]}function tU(t){let[,e]=t;return e.theme||e.color}t.s(["ChartContainer",()=>tN,"ChartLegend",()=>tR,"ChartTooltip",()=>tI,"ChartTooltipContent",()=>tB],37886)}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.