Files
boc/web-v2/dist/assets/index-ClCGdXUz.js
T

386 lines
903 KiB
JavaScript
Raw Normal View History

(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const s of a)if(s.type==="childList")for(const l of s.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(a){const s={};return a.integrity&&(s.integrity=a.integrity),a.referrerPolicy&&(s.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?s.credentials="include":a.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(a){if(a.ep)return;a.ep=!0;const s=n(a);fetch(a.href,s)}})();var xd=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function et(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var gv={exports:{}},xu={};/**
* @license React
* react-jsx-runtime.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var qT;function k6(){if(qT)return xu;qT=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,a,s){var l=null;if(s!==void 0&&(l=""+s),a.key!==void 0&&(l=""+a.key),"key"in a){s={};for(var c in a)c!=="key"&&(s[c]=a[c])}else s=a;return a=s.ref,{$$typeof:e,type:r,key:l,ref:a!==void 0?a:null,props:s}}return xu.Fragment=t,xu.jsx=n,xu.jsxs=n,xu}var IT;function L6(){return IT||(IT=1,gv.exports=k6()),gv.exports}var y=L6(),bv={exports:{}},Me={};/**
* @license React
* react.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var UT;function $6(){if(UT)return Me;UT=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.activity"),g=Symbol.iterator;function S(L){return L===null||typeof L!="object"?null:(L=g&&L[g]||L["@@iterator"],typeof L=="function"?L:null)}var A={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,x={};function j(L,H,re){this.props=L,this.context=H,this.refs=x,this.updater=re||A}j.prototype.isReactComponent={},j.prototype.setState=function(L,H){if(typeof L!="object"&&typeof L!="function"&&L!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,L,H,"setState")},j.prototype.forceUpdate=function(L){this.updater.enqueueForceUpdate(this,L,"forceUpdate")};function _(){}_.prototype=j.prototype;function T(L,H,re){this.props=L,this.context=H,this.refs=x,this.updater=re||A}var M=T.prototype=new _;M.constructor=T,w(M,j.prototype),M.isPureReactComponent=!0;var O=Array.isArray;function C(){}var P={H:null,A:null,T:null,S:null},R=Object.prototype.hasOwnProperty;function k(L,H,re){var fe=re.ref;return{$$typeof:e,type:L,key:H,ref:fe!==void 0?fe:null,props:re}}function U(L,H){return k(L.type,H,L.props)}function q(L){return typeof L=="object"&&L!==null&&L.$$typeof===e}function $(L){var H={"=":"=0",":":"=2"};return"$"+L.replace(/[=:]/g,function(re){return H[re]})}var F=/\/+/g;function X(L,H){return typeof L=="object"&&L!==null&&L.key!=null?$(""+L.key):H.toString(36)}function Y(L){switch(L.status){case"fulfilled":return L.value;case"rejected":throw L.reason;default:switch(typeof L.status=="string"?L.then(C,C):(L.status="pending",L.then(function(H){L.status==="pending"&&(L.status="fulfilled",L.value=H)},function(H){L.status==="pending"&&(L.status="rejected",L.reason=H)})),L.status){case"fulfilled":return L.value;case"rejected":throw L.reason}}throw L}function z(L,H,re,fe,ve){var we=typeof L;(we==="undefined"||we==="boolean")&&(L=null);var Le=!1;if(L===null)Le=!0;else switch(we){case"bigint":case"string":case"number":Le=!0;break;case"object":switch(L.$$typeof){case e:case t:Le=!0;break;case p:return Le=L._init,z(Le(L._payload),H,re,fe,ve)}}if(Le)return ve=ve(L),Le=fe===""?"."+X(L,0):fe,O(ve)?(re="",Le!=null&&(re=Le.replace(F,"$&/")+"/"),z(ve,H,re,"",function(_e){return _e})):ve!=null&&(q(ve)&&(ve=U(ve,re+(ve.key==null||L&&L.key===ve.key?"":(""+ve.key).replace(F,"$&/")+"/")+Le)),H.push(ve)),1;Le=0;var Ye=fe===""?".":fe+":";if(O(L))for(var ce=0;ce<L.length;ce++)fe=L[ce],we=Ye+X(fe,ce),Le+=z(fe,H,re,we,ve);else if(ce=S(L),typeof ce=="function")for(L=ce.call(L),ce=0;!(fe=L.next()).done;)fe=fe.value,we=Ye+X(fe,ce++),Le+=z(fe,H,re,we,ve);else if(we==="object"){if(typeof L.then=="function")return z(Y(L),H,re,fe,ve);throw H=String(L),Error("Objects are not valid as a React child (found: "+(H==="[object Object]"?"object with keys {"+Object.keys(L).join(", ")+"}":H)+"). If you meant to render a collection of children, use an array instead.")}return Le}function K(L,H,re){if(L==null)return L;var fe=[],ve=0;return z(L,fe,"","",function(we){return H.call(re,we,ve++)}),fe}function Q(L){if(L._status===-1){var H=L._result;H=H(),H.then(function(re){(L._status===0||L._status===-1)&&(L._status=1,L._result=re)},function(re){(L._status===0||L._status===-1)&&(L._status=2,L._result=re)}),L._status===-1&&(L._status=0,L._result=H)}if(L._status===1)return L._result.default;throw L._result}var ie=typeof reportError=="function"?reportError:function(L){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var H=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof L=="object"&&L!==null&&typeof L.message=="string"?String(L.message):String(L),
* @license React
* scheduler.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var HT;function z6(){return HT||(HT=1,(function(e){function t(z,K){var Q=z.length;z.push(K);e:for(;0<Q;){var ie=Q-1>>>1,se=z[ie];if(0<a(se,K))z[ie]=K,z[Q]=se,Q=ie;else break e}}function n(z){return z.length===0?null:z[0]}function r(z){if(z.length===0)return null;var K=z[0],Q=z.pop();if(Q!==K){z[0]=Q;e:for(var ie=0,se=z.length,L=se>>>1;ie<L;){var H=2*(ie+1)-1,re=z[H],fe=H+1,ve=z[fe];if(0>a(re,Q))fe<se&&0>a(ve,re)?(z[ie]=ve,z[fe]=Q,ie=fe):(z[ie]=re,z[H]=Q,ie=H);else if(fe<se&&0>a(ve,Q))z[ie]=ve,z[fe]=Q,ie=fe;else break e}}return K}function a(z,K){var Q=z.sortIndex-K.sortIndex;return Q!==0?Q:z.id-K.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var l=Date,c=l.now();e.unstable_now=function(){return l.now()-c}}var f=[],d=[],p=1,m=null,g=3,S=!1,A=!1,w=!1,x=!1,j=typeof setTimeout=="function"?setTimeout:null,_=typeof clearTimeout=="function"?clearTimeout:null,T=typeof setImmediate<"u"?setImmediate:null;function M(z){for(var K=n(d);K!==null;){if(K.callback===null)r(d);else if(K.startTime<=z)r(d),K.sortIndex=K.expirationTime,t(f,K);else break;K=n(d)}}function O(z){if(w=!1,M(z),!A)if(n(f)!==null)A=!0,C||(C=!0,$());else{var K=n(d);K!==null&&Y(O,K.startTime-z)}}var C=!1,P=-1,R=5,k=-1;function U(){return x?!0:!(e.unstable_now()-k<R)}function q(){if(x=!1,C){var z=e.unstable_now();k=z;var K=!0;try{e:{A=!1,w&&(w=!1,_(P),P=-1),S=!0;var Q=g;try{t:{for(M(z),m=n(f);m!==null&&!(m.expirationTime>z&&U());){var ie=m.callback;if(typeof ie=="function"){m.callback=null,g=m.priorityLevel;var se=ie(m.expirationTime<=z);if(z=e.unstable_now(),typeof se=="function"){m.callback=se,M(z),K=!0;break t}m===n(f)&&r(f),M(z)}else r(f);m=n(f)}if(m!==null)K=!0;else{var L=n(d);L!==null&&Y(O,L.startTime-z),K=!1}}break e}finally{m=null,g=Q,S=!1}K=void 0}}finally{K?$():C=!1}}}var $;if(typeof T=="function")$=function(){T(q)};else if(typeof MessageChannel<"u"){var F=new MessageChannel,X=F.port2;F.port1.onmessage=q,$=function(){X.postMessage(null)}}else $=function(){j(q,0)};function Y(z,K){P=j(function(){z(e.unstable_now())},K)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(z){z.callback=null},e.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<z?Math.floor(1e3/z):5},e.unstable_getCurrentPriorityLevel=function(){return g},e.unstable_next=function(z){switch(g){case 1:case 2:case 3:var K=3;break;default:K=g}var Q=g;g=K;try{return z()}finally{g=Q}},e.unstable_requestPaint=function(){x=!0},e.unstable_runWithPriority=function(z,K){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var Q=g;g=z;try{return K()}finally{g=Q}},e.unstable_scheduleCallback=function(z,K,Q){var ie=e.unstable_now();switch(typeof Q=="object"&&Q!==null?(Q=Q.delay,Q=typeof Q=="number"&&0<Q?ie+Q:ie):Q=ie,z){case 1:var se=-1;break;case 2:se=250;break;case 5:se=1073741823;break;case 4:se=1e4;break;default:se=5e3}return se=Q+se,z={id:p++,callback:K,priorityLevel:z,startTime:Q,expirationTime:se,sortIndex:-1},Q>ie?(z.sortIndex=Q,t(d,z),n(f)===null&&z===n(d)&&(w?(_(P),P=-1):w=!0,Y(O,Q-ie))):(z.sortIndex=se,t(f,z),A||S||(A=!0,C||(C=!0,$()))),z},e.unstable_shouldYield=U,e.unstable_wrapCallback=function(z){var K=g;return function(){var Q=g;g=K;try{return z.apply(this,arguments)}finally{g=Q}}}})(wv)),wv}var GT;function B6(){return GT||(GT=1,Sv.exports=z6()),Sv.exports}var Av={exports:{}},un={};/**
* @license React
* react-dom.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var FT;function q6(){if(FT)return un;FT=1;var e=FS();function t(f){var d="https://react.dev/errors/"+f;if(1<arguments.length){d+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)d+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+f+"; visit "+d+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var r={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},a=Symbol.for("react.portal");function s(f,d,p){var m=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:m==null?null:""+m,children:f,containerInfo:d,implementation:p}}var l=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(f,d){if(f==="font")return"";if(typeof d=="string")return d==="use-credentials"?d:""}return un.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,un.createPortal=function(f,d){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!d||d.nodeType!==1&&d.nodeType!==9&&d.nodeType!==11)throw Error(t(299));return s(f,d,null,p)},un.flushSync=function(f){var d=l.T,p=r.p;try{if(l.T=null,r.p=2,f)return f()}finally{l.T=d,r.p=p,r.d.f()}},un.preconnect=function(f,d){typeof f=="string"&&(d?(d=d.crossOrigin,d=typeof d=="string"?d==="use-credentials"?d:"":void 0):d=null,r.d.C(f,d))},un.prefetchDNS=function(f){typeof f=="string"&&r.d.D(f)},un.preinit=function(f,d){if(typeof f=="string"&&d&&typeof d.as=="string"){var p=d.as,m=c(p,d.crossOrigin),g=typeof d.integrity=="string"?d.integrity:void 0,S=typeof d.fetchPriority=="string"?d.fetchPriority:void 0;p==="style"?r.d.S(f,typeof d.precedence=="string"?d.precedence:void 0,{crossOrigin:m,integrity:g,fetchPriority:S}):p==="script"&&r.d.X(f,{crossOrigin:m,integrity:g,fetchPriority:S,nonce:typeof d.nonce=="string"?d.nonce:void 0})}},un.preinitModule=function(f,d){if(typeof f=="string")if(typeof d=="object"&&d!==null){if(d.as==null||d.as==="script"){var p=c(d.as,d.crossOrigin);r.d.M(f,{crossOrigin:p,integrity:typeof d.integrity=="string"?d.integrity:void 0,nonce:typeof d.nonce=="string"?d.nonce:void 0})}}else d==null&&r.d.M(f)},un.preload=function(f,d){if(typeof f=="string"&&typeof d=="object"&&d!==null&&typeof d.as=="string"){var p=d.as,m=c(p,d.crossOrigin);r.d.L(f,p,{crossOrigin:m,integrity:typeof d.integrity=="string"?d.integrity:void 0,nonce:typeof d.nonce=="string"?d.nonce:void 0,type:typeof d.type=="string"?d.type:void 0,fetchPriority:typeof d.fetchPriority=="string"?d.fetchPriority:void 0,referrerPolicy:typeof d.referrerPolicy=="string"?d.referrerPolicy:void 0,imageSrcSet:typeof d.imageSrcSet=="string"?d.imageSrcSet:void 0,imageSizes:typeof d.imageSizes=="string"?d.imageSizes:void 0,media:typeof d.media=="string"?d.media:void 0})}},un.preloadModule=function(f,d){if(typeof f=="string")if(d){var p=c(d.as,d.crossOrigin);r.d.m(f,{as:typeof d.as=="string"&&d.as!=="script"?d.as:void 0,crossOrigin:p,integrity:typeof d.integrity=="string"?d.integrity:void 0})}else r.d.m(f)},un.requestFormReset=function(f){r.d.r(f)},un.unstable_batchedUpdates=function(f,d){return f(d)},un.useFormState=function(f,d,p){return l.H.useFormState(f,d,p)},un.useFormStatus=function(){return l.H.useHostTransitionStatus()},un.version="19.2.7",un}var KT;function I6(){if(KT)return Av.exports;KT=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Av.exports=q6(),Av.exports}/**
* @license React
* react-dom-client.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var YT;function U6(){if(YT)return Su;YT=1;var e=B6(),t=FS(),n=I6();function r(i){var o="https://react.dev/errors/"+i;if(1<arguments.length){o+="?args[]="+encodeURIComponent(arguments[1]);for(var u=2;u<arguments.length;u++)o+="&args[]="+encodeURIComponent(arguments[u])}return"Minified React error #"+i+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)}function s(i){var o=i,u=i;if(i.alternate)for(;o.return;)o=o.return;else{i=o;do o=i,(o.flags&4098)!==0&&(u=o.return),i=o.return;while(i)}return o.tag===3?u:null}function l(i){if(i.tag===13){var o=i.memoizedState;if(o===null&&(i=i.alternate,i!==null&&(o=i.memoizedState)),o!==null)return o.dehydrated}return null}function c(i){if(i.tag===31){var o=i.memoizedState;if(o===null&&(i=i.alternate,i!==null&&(o=i.memoizedState)),o!==null)return o.dehydrated}return null}function f(i){if(s(i)!==i)throw Error(r(188))}function d(i){var o=i.alternate;if(!o){if(o=s(i),o===null)throw Error(r(188));return o!==i?null:i}for(var u=i,h=o;;){var v=u.return;if(v===null)break;var b=v.alternate;if(b===null){if(h=v.return,h!==null){u=h;continue}break}if(v.child===b.child){for(b=v.child;b;){if(b===u)return f(v),i;if(b===h)return f(v),o;b=b.sibling}throw Error(r(188))}if(u.return!==h.return)u=v,h=b;else{for(var E=!1,D=v.child;D;){if(D===u){E=!0,u=v,h=b;break}if(D===h){E=!0,h=v,u=b;break}D=D.sibling}if(!E){for(D=b.child;D;){if(D===u){E=!0,u=b,h=v;break}if(D===h){E=!0,h=b,u=v;break}D=D.sibling}if(!E)throw Error(r(189))}}if(u.alternate!==h)throw Error(r(190))}if(u.tag!==3)throw Error(r(188));return u.stateNode.current===u?i:o}function p(i){var o=i.tag;if(o===5||o===26||o===27||o===6)return i;for(i=i.child;i!==null;){if(o=p(i),o!==null)return o;i=i.sibling}return null}var m=Object.assign,g=Symbol.for("react.element"),S=Symbol.for("react.transitional.element"),A=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),_=Symbol.for("react.consumer"),T=Symbol.for("react.context"),M=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),C=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),k=Symbol.for("react.activity"),U=Symbol.for("react.memo_cache_sentinel"),q=Symbol.iterator;function $(i){return i===null||typeof i!="object"?null:(i=q&&i[q]||i["@@iterator"],typeof i=="function"?i:null)}var F=Symbol.for("react.client.reference");function X(i){if(i==null)return null;if(typeof i=="function")return i.$$typeof===F?null:i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case w:return"Fragment";case j:return"Profiler";case x:return"StrictMode";case O:return"Suspense";case C:return"SuspenseList";case k:return"Activity"}if(typeof i=="object")switch(i.$$typeof){case A:return"Portal";case T:return i.displayName||"Context";case _:return(i._context.displayName||"Context")+".Consumer";case M:var o=i.render;return i=i.displayName,i||(i=o.displayName||o.name||"",i=i!==""?"ForwardRef("+i+")":"ForwardRef"),i;case P:return o=i.displayName||null,o!==null?o:X(i.type)||"Memo";case R:o=i._payload,i=i._init;try{return X(i(o))}catch{}}return null}var Y=Array.isArray,z=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,K=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q={pending:!1,data:null,method:null,action:null},ie=[],se=-1;function L(i){return{current:i}}function H(i){0>se||(i.current=ie[se],ie[se]=null,se--)}function re(i,o){se++,ie[se]=i.current,i.current=o}var fe=L(null),ve=L(null),we=L(null),Le=L(null);function Ye(i,o){switch(re(we,o),re(ve,i),re(fe,null),o.nodeType){case 9:case 11:i=(i=o.documentElement)&&(i=i.namespaceURI)?uT(i):0;break;default:if(i=o.tagName,o=o.namespaceURI)o=uT(o),i=cT(o,i);else switch(i){case"svg":i=1;break;case"math":i=2;break;default:i=0}}H(fe),re(fe,i)}function ce(){H(fe),H(ve),H(we)}function _e(i){i.memoizedState!==null&&re(Le,i);var o=fe.current,u=cT(o,i.type);o!==u&&(re(ve,i),re(fe,u))}functi
at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return`
`+le+i+dt}var St=!1;function wt(i,o){if(!i||St)return"";St=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var h={DetermineComponentFrameRoot:function(){try{if(o){var oe=function(){throw Error()};if(Object.defineProperty(oe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(oe,[])}catch(ee){var J=ee}Reflect.construct(i,[],oe)}else{try{oe.call()}catch(ee){J=ee}i.call(oe.prototype)}}else{try{throw Error()}catch(ee){J=ee}(oe=i())&&typeof oe.catch=="function"&&oe.catch(function(){})}}catch(ee){if(ee&&J&&typeof ee.stack=="string")return[ee.stack,J.stack]}return[null,null]}};h.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var v=Object.getOwnPropertyDescriptor(h.DetermineComponentFrameRoot,"name");v&&v.configurable&&Object.defineProperty(h.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var b=h.DetermineComponentFrameRoot(),E=b[0],D=b[1];if(E&&D){var I=E.split(`
`),Z=D.split(`
`);for(v=h=0;h<I.length&&!I[h].includes("DetermineComponentFrameRoot");)h++;for(;v<Z.length&&!Z[v].includes("DetermineComponentFrameRoot");)v++;if(h===I.length||v===Z.length)for(h=I.length-1,v=Z.length-1;1<=h&&0<=v&&I[h]!==Z[v];)v--;for(;1<=h&&0<=v;h--,v--)if(I[h]!==Z[v]){if(h!==1||v!==1)do if(h--,v--,0>v||I[h]!==Z[v]){var te=`
`+I[h].replace(" at new "," at ");return i.displayName&&te.includes("<anonymous>")&&(te=te.replace("<anonymous>",i.displayName)),te}while(1<=h&&0<=v);break}}}finally{St=!1,Error.prepareStackTrace=u}return(u=i?i.displayName||i.name:"")?Re(u):""}function sn(i,o){switch(i.tag){case 26:case 27:case 5:return Re(i.type);case 16:return Re("Lazy");case 13:return i.child!==o&&o!==null?Re("Suspense Fallback"):Re("Suspense");case 19:return Re("SuspenseList");case 0:case 15:return wt(i.type,!1);case 11:return wt(i.type.render,!1);case 1:return wt(i.type,!0);case 31:return Re("Activity");default:return""}}function pr(i){try{var o="",u=null;do o+=sn(i,u),u=i,i=i.return;while(i);return o}catch(h){return`
Error generating stack: `+h.message+`
`+h.stack}}var Lr=Object.prototype.hasOwnProperty,zi=e.unstable_scheduleCallback,mr=e.unstable_cancelCallback,ti=e.unstable_shouldYield,Tl=e.unstable_requestPaint,ln=e.unstable_now,tf=e.unstable_getCurrentPriorityLevel,IA=e.unstable_ImmediatePriority,UA=e.unstable_UserBlockingPriority,nf=e.unstable_NormalPriority,y4=e.unstable_LowPriority,VA=e.unstable_IdlePriority,v4=e.log,g4=e.unstable_setDisableYieldValue,El=null,Cn=null;function Bi(i){if(typeof v4=="function"&&g4(i),Cn&&typeof Cn.setStrictMode=="function")try{Cn.setStrictMode(El,i)}catch{}}var Mn=Math.clz32?Math.clz32:S4,b4=Math.log,x4=Math.LN2;function S4(i){return i>>>=0,i===0?32:31-(b4(i)/x4|0)|0}var rf=256,af=262144,of=4194304;function Na(i){var o=i&42;if(o!==0)return o;switch(i&-i){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return i&261888;case 262144:case 524288:case 1048576:case 2097152:return i&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return i&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return i}}function sf(i,o,u){var h=i.pendingLanes;if(h===0)return 0;var v=0,b=i.suspendedLanes,E=i.pingedLanes;i=i.warmLanes;var D=h&134217727;return D!==0?(h=D&~b,h!==0?v=Na(h):(E&=D,E!==0?v=Na(E):u||(u=D&~i,u!==0&&(v=Na(u))))):(D=h&~b,D!==0?v=Na(D):E!==0?v=Na(E):u||(u=h&~i,u!==0&&(v=Na(u)))),v===0?0:o!==0&&o!==v&&(o&b)===0&&(b=v&-v,u=o&-o,b>=u||b===32&&(u&4194048)!==0)?o:v}function Cl(i,o){return(i.pendingLanes&~(i.suspendedLanes&~i.pingedLanes)&o)===0}function w4(i,o){switch(i){case 1:case 2:case 4:case 8:case 64:return o+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return o+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function HA(){var i=of;return of<<=1,(of&62914560)===0&&(of=4194304),i}function om(i){for(var o=[],u=0;31>u;u++)o.push(i);return o}function Ml(i,o){i.pendingLanes|=o,o!==268435456&&(i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0)}function A4(i,o,u,h,v,b){var E=i.pendingLanes;i.pendingLanes=u,i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0,i.expiredLanes&=u,i.entangledLanes&=u,i.errorRecoveryDisabledLanes&=u,i.shellSuspendCounter=0;var D=i.entanglements,I=i.expirationTimes,Z=i.hiddenUpdates;for(u=E&~u;0<u;){var te=31-Mn(u),oe=1<<te;D[te]=0,I[te]=-1;var J=Z[te];if(J!==null)for(Z[te]=null,te=0;te<J.length;te++){var ee=J[te];ee!==null&&(ee.lane&=-536870913)}u&=~oe}h!==0&&GA(i,h,0),b!==0&&v===0&&i.tag!==0&&(i.suspendedLanes|=b&~(E&~o))}function GA(i,o,u){i.pendingLanes|=o,i.suspendedLanes&=~o;var h=31-Mn(o);i.entangledLanes|=o,i.entanglements[h]=i.entanglements[h]|1073741824|u&261930}function FA(i,o){var u=i.entangledLanes|=o;for(i=i.entanglements;u;){var h=31-Mn(u),v=1<<h;v&o|i[h]&o&&(i[h]|=o),u&=~v}}function KA(i,o){var u=o&-o;return u=(u&42)!==0?1:sm(u),(u&(i.suspendedLanes|o))!==0?0:u}function sm(i){switch(i){case 2:i=1;break;case 8:i=4;break;case 32:i=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:i=128;break;case 268435456:i=134217728;break;default:i=0}return i}function lm(i){return i&=-i,2<i?8<i?(i&134217727)!==0?32:268435456:8:2}function YA(){var i=K.p;return i!==0?i:(i=window.event,i===void 0?32:RT(i.type))}function XA(i,o){var u=K.p;try{return K.p=i,o()}finally{K.p=u}}var qi=Math.random().toString(36).slice(2),Qt="__reactFiber$"+qi,bn="__reactProps$"+qi,Ro="__reactContainer$"+qi,um="__reactEvents$"+qi,j4="__reactListeners$"+qi,O4="__reactHandles$"+qi,WA="__reactResources$"+qi,Pl="__reactMarke
`).replace(r6,"")}function sT(i,o){return o=oT(o),oT(i)===o}function nt(i,o,u,h,v,b){switch(u){case"children":typeof h=="string"?o==="body"||o==="textarea"&&h===""||Bo(i,h):(typeof h=="number"||typeof h=="bigint")&&o!=="body"&&Bo(i,""+h);break;case"className":uf(i,"class",h);break;case"tabIndex":uf(i,"tabindex",h);break;case"dir":case"role":case"viewBox":case"width":case"height":uf(i,u,h);break;case"style":sj(i,h,b);break;case"data":if(o!=="object"){uf(i,"data",h);break}case"src":case"href":if(h===""&&(o!=="a"||u!=="href")){i.removeAttribute(u);break}if(h==null||typeof h=="function"||typeof h=="symbol"||typeof h=="boolean"){i.removeAttribute(u);break}h=ff(""+h),i.setAttribute(u,h);break;case"action":case"formAction":if(typeof h=="function"){i.setAttribute(u,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof b=="function"&&(u==="formAction"?(o!=="input"&&nt(i,o,"name",v.name,v,null),nt(i,o,"formEncType",v.formEncType,v,null),nt(i,o,"formMethod",v.formMethod,v,null),nt(i,o,"formTarget",v.formTarget,v,null)):(nt(i,o,"encType",v.encType,v,null),nt(i,o,"method",v.method,v,null),nt(i,o,"target",v.target,v,null)));if(h==null||typeof h=="symbol"||typeof h=="boolean"){i.removeAttribute(u);break}h=ff(""+h),i.setAttribute(u,h);break;case"onClick":h!=null&&(i.onclick=ri);break;case"onScroll":h!=null&&ze("scroll",i);break;case"onScrollEnd":h!=null&&ze("scrollend",i);break;case"dangerouslySetInnerHTML":if(h!=null){if(typeof h!="object"||!("__html"in h))throw Error(r(61));if(u=h.__html,u!=null){if(v.children!=null)throw Error(r(60));i.innerHTML=u}}break;case"multiple":i.multiple=h&&typeof h!="function"&&typeof h!="symbol";break;case"muted":i.muted=h&&typeof h!="function"&&typeof h!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(h==null||typeof h=="function"||typeof h=="boolean"||typeof h=="symbol"){i.removeAttribute("xlink:href");break}u=ff(""+h),i.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",u);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":h!=null&&typeof h!="function"&&typeof h!="symbol"?i.setAttribute(u,""+h):i.removeAttribute(u);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":h&&typeof h!="function"&&typeof h!="symbol"?i.setAttribute(u,""):i.removeAttribute(u);break;case"capture":case"download":h===!0?i.setAttribute(u,""):h!==!1&&h!=null&&typeof h!="function"&&typeof h!="symbol"?i.setAttribute(u,h):i.removeAttribute(u);break;case"cols":case"rows":case"size":case"span":h!=null&&typeof h!="function"&&typeof h!="symbol"&&!isNaN(h)&&1<=h?i.setAttribute(u,h):i.removeAttribute(u);break;case"rowSpan":case"start":h==null||typeof h=="function"||typeof h=="symbol"||isNaN(h)?i.removeAttribute(u):i.setAttribute(u,h);break;case"popover":ze("beforetoggle",i),ze("toggle",i),lf(i,"popover",h);break;case"xlinkActuate":ni(i,"http://www.w3.org/1999/xlink","xlink:actuate",h);break;case"xlinkArcrole":ni(i,"http://www.w3.org/1999/xlink","xlink:arcrole",h);break;case"xlinkRole":ni(i,"http://www.w3.org/1999/xlink","xlink:role",h);break;case"xlinkShow":ni(i,"http://www.w3.org/1999/xlink","xlink:show",h);break;case"xlinkTitle":ni(i,"http://www.w3.org/1999/xlink","xlink:title",h);break;case"xlinkType":ni(i,"http://www.w3.org/1999/xlink","xlink:type",h);break;case"xmlBase":ni(i,"http://www.w3.org/XML/1998/namespace","xml:ba
* react-router v7.18.1
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/var KS=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,_k=/^[\\/]{2}/;function G6(e,t){return t+e.replace(/\\/g,"/")}var WT="popstate";function ZT(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function F6(e={}){function t(r,a){var d;let s=(d=a.state)==null?void 0:d.masked,{pathname:l,search:c,hash:f}=s||r.location;return F0("",{pathname:l,search:c,hash:f},a.state&&a.state.usr||null,a.state&&a.state.key||"default",s?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}function n(r,a){return typeof a=="string"?a:Ju(a)}return Y6(t,n,null,e)}function xt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Er(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function K6(){return Math.random().toString(36).substring(2,10)}function QT(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function F0(e,t,n=null,r,a){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?fl(t):t,state:n,key:t&&t.key||r||K6(),mask:a}}function Ju({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function fl(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function Y6(e,t,n,r={}){let{window:a=document.defaultView,v5Compat:s=!1}=r,l=a.history,c="POP",f=null,d=p();d==null&&(d=0,l.replaceState({...l.state,idx:d},""));function p(){return(l.state||{idx:null}).idx}function m(){c="POP";let x=p(),j=x==null?null:x-d;d=x,f&&f({action:c,location:w.location,delta:j})}function g(x,j){c="PUSH";let _=ZT(x)?x:F0(w.location,x,j);d=p()+1;let T=QT(_,d),M=w.createHref(_.mask||_);try{l.pushState(T,"",M)}catch(O){if(O instanceof DOMException&&O.name==="DataCloneError")throw O;a.location.assign(M)}s&&f&&f({action:c,location:w.location,delta:1})}function S(x,j){c="REPLACE";let _=ZT(x)?x:F0(w.location,x,j);d=p();let T=QT(_,d),M=w.createHref(_.mask||_);l.replaceState(T,"",M),s&&f&&f({action:c,location:w.location,delta:0})}function A(x){return X6(a,x)}let w={get action(){return c},get location(){return e(a,l)},listen(x){if(f)throw new Error("A history only accepts one active listener");return a.addEventListener(WT,m),f=x,()=>{a.removeEventListener(WT,m),f=null}},createHref(x){return t(a,x)},createURL:A,encodeLocation(x){let j=A(x);return{pathname:j.pathname,search:j.search,hash:j.hash}},push:g,replace:S,go(x){return l.go(x)}};return w}function X6(e,t,n=!1){let r="http://localhost";e&&(r=e.location.origin!=="null"?e.location.origin:e.location.href),xt(r,"No window.location.(origin|href) available to create URL");let a=typeof t=="string"?t:Ju(t);return a=a.replace(/ $/,"%20"),!n&&_k.test(a)&&(a=r+a),new URL(a,r)}function Tk(e,t,n="/"){return W6(e,t,n,!1)}function W6(e,t,n,r,a){let s=typeof t=="string"?fl(t):t,l=Ci(s.pathname||"/",n);if(l==null)return null;let c=Z6(e),f=null,d=l8(l);for(let p=0;f==null&&p<c.length;++p)f=s8(c[p],d,r);return f}function Z6(e){let t=Ek(e);return Q6(t),t}function Ek(e,t=[],n=[],r="",a=!1){let s=(l,c,f=a,d)=>{let p={relativePath:d===void 0?l.path||"":d,caseSensitive:l.caseSensitive===!0,childrenIndex:c,route:l};if(p.relativePath.startsWith("/")){if(!p.relativePath.startsWith(r)&&f)return;xt(p.relativePath.startsWith(r),`Absolute route path "${p.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),p.relativePath=p.relativePath.slice(r.length)}let m=Or([r,p.relativePath]),g=n.concat(p);l.children&&l.children.length>0&&(xt(l.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${m}".`),Ek(l.children,t,g,m,f)),!(l.path==null&&!l.index)&&t.push({path:m,score:a8(m,l.index),routesMeta:g.map((S,A)=>{let[w,x]=Pk(S.relativePath,S.caseSensitive,A===g.length-1);return{...S,matcher:w,compiledPar
Please change the parent <Route path="${j}"> to <Route path="${j==="/"?"*":`${j}/*`}">.`)}let p=Dr(),m;if(t){let j=typeof t=="string"?fl(t):t;xt(f==="/"||((x=j.pathname)==null?void 0:x.startsWith(f)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${f}" but pathname "${j.pathname}" was given in the \`location\` prop.`),m=j}else m=p;let g=m.pathname||"/",S=g;if(f!=="/"){let j=f.replace(/^\//,"").split("/");S="/"+g.replace(/^\//,"").split("/").slice(j.length).join("/")}let A=n&&n.state.matches.length?n.state.matches.map(j=>Object.assign(j,{route:n.manifest[j.route.id]||j.route})):Tk(e,{pathname:S});Er(d||A!=null,`No routes matched location "${m.pathname}${m.search}${m.hash}" `),Er(A==null||A[A.length-1].route.element!==void 0||A[A.length-1].route.Component!==void 0||A[A.length-1].route.lazy!==void 0,`Matched leaf route at location "${m.pathname}${m.search}${m.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let w=L8(A&&A.map(j=>Object.assign({},j,{params:Object.assign({},l,j.params),pathname:Or([f,r.encodeLocation?r.encodeLocation(j.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:j.pathname]),pathnameBase:j.pathnameBase==="/"?f:Or([f,r.encodeLocation?r.encodeLocation(j.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:j.pathnameBase])})),a,n);return t&&w?N.createElement(qc.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...m},navigationType:"POP"}},w):w}function N8(){let e=I8(),t=m8(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:r},s={padding:"2px 4px",backgroundColor:r},l=null;return console.error("Error handled by React Router default ErrorBoundary:",e),l=N.createElement(N.Fragment,null,N.createElement("p",null,"💿 Hey developer 👋"),N.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",N.createElement("code",{style:s},"ErrorBoundary")," or"," ",N.createElement("code",{style:s},"errorElement")," prop on your route.")),N.createElement(N.Fragment,null,N.createElement("h2",null,"Unexpected Application Error!"),N.createElement("h3",{style:{fontStyle:"italic"}},t),n?N.createElement("pre",{style:a},n):null,l)}var R8=N.createElement(N8,null),Uk=class extends N.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const n=_8(e.digest);n&&(e=n)}let t=e!==void 0?N.createElement(Rr.Provider,{value:this.props.routeContext},N.createElement(XS.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?N.createElement(D8,{error:e},t):t}};Uk.contextType=Lk;var Ov=new WeakMap;function D8({children:e,error:t}){let{basename:n}=N.useContext(Kn);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let r=O8(t.digest);if(r){let a=Ov.get(t);if(a)throw a;let s=Dk(r.location,n),l=s.absoluteURL||s.to;if(b8(l))throw new Error("Invalid redirect location");if(Rk&&!Ov.get(t))if(s.isExternal||r.reloadDocument)window.location.href=l;else{const c=Promise.resolve().then(()=>window.__reactRout
[data-motion-pop-id="${l}"] {
position: absolute !important;
width: ${S}px !important;
height: ${A}px !important;
${O}px !important;
${C}px !important;
}
`),()=>{var k;(k=c.current)==null||k.removeAttribute("data-motion-pop-id"),R.contains(P)&&R.removeChild(P)}},[t]),y.jsx(vH,{isPresent:t,childRef:c,sizeRef:f,pop:s,children:s===!1?e:N.cloneElement(e,{ref:m})})}const bH=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:a,presenceAffectsLayout:s,mode:l,anchorX:c,anchorY:f,root:d})=>{const p=iw(xH),m=N.useId(),g=N.useRef(n),S=N.useRef(r);aw(()=>{g.current=n,S.current=r});let A=!0,w=N.useMemo(()=>(A=!1,{id:m,initial:t,isPresent:n,custom:a,onExitComplete:x=>{p.set(x,!0);for(const j of p.values())if(!j)return;r&&r()},register:x=>(p.set(x,!1),()=>{var j;p.delete(x),!g.current&&!p.size&&((j=S.current)==null||j.call(S))})}),[n,p,r]);return s&&A&&(w={...w}),N.useMemo(()=>{p.forEach((x,j)=>p.set(j,!1))},[n]),N.useEffect(()=>{!n&&!p.size&&r&&r()},[n]),e=y.jsx(gH,{pop:l==="popLayout",isPresent:n,anchorX:c,anchorY:f,root:d,children:e}),y.jsx(bp.Provider,{value:w,children:e})};function xH(){return new Map}function bL(e=!0){const t=N.useContext(bp);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:a}=t,s=N.useId();N.useEffect(()=>{if(e)return a(s)},[e]);const l=N.useCallback(()=>e&&r&&r(s),[s,r,e]);return!n&&r?[!1,l]:[!0]}const jd=e=>e.key||"";function s2(e){const t=[];return N.Children.forEach(e,n=>{N.isValidElement(n)&&t.push(n)}),t}const Hu=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:a=!0,mode:s="sync",propagate:l=!1,anchorX:c="left",anchorY:f="top",root:d})=>{const[p,m]=bL(l),g=N.useMemo(()=>s2(e),[e]),S=l&&!p?[]:g.map(jd),A=N.useRef(!0),w=N.useRef(g),x=iw(()=>new Map),j=N.useRef(new Set),[_,T]=N.useState(g),[M,O]=N.useState(g);aw(()=>{A.current=!1,w.current=g;for(let R=0;R<M.length;R++){const k=jd(M[R]);S.includes(k)?(x.delete(k),j.current.delete(k)):x.get(k)!==!0&&x.set(k,!1)}},[M,S.length,S.join("-")]);const C=[];if(g!==_){let R=[...g];for(let k=0;k<M.length;k++){const U=M[k],q=jd(U);S.includes(q)||(R.splice(k,0,U),C.push(U))}return s==="wait"&&C.length&&(R=C),O(s2(R)),T(g),null}const{forceRender:P}=N.useContext(rw);return y.jsx(y.Fragment,{children:M.map(R=>{const k=jd(R),U=l&&!p?!1:g===M||S.includes(k),q=()=>{if(j.current.has(k))return;if(x.has(k))j.current.add(k),x.set(k,!0);else return;let $=!0;x.forEach(F=>{F||($=!1)}),$&&(P==null||P(),O(w.current),l&&(m==null||m()),r&&r())};return y.jsx(bH,{isPresent:U,initial:!A.current||n?void 0:!1,custom:t,presenceAffectsLayout:a,mode:s,root:d,onExitComplete:U?void 0:q,anchorX:c,anchorY:f,children:R},k)})})},xL=N.createContext({strict:!1}),l2={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let u2=!1;function SH(){if(u2)return;const e={};for(const t in l2)e[t]={isEnabled:n=>l2[t].some(r=>!!n[r])};W3(e),u2=!0}function SL(){return SH(),aV()}function wH(e){const t=SL();for(const n in e)t[n]={...t[n],...e[n]};W3(t)}const AH=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function ch(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||AH.has(e)}let wL=e=>!ch(e);function jH(e){typeof e=="function"&&(wL=t=>t.startsWith("on")?!ch(t):e(t))}try{jH(require("@emotion/is-prop-valid").default)}catch{}function OH(e,t,n){const r={};for(const a in e)a==="values"&&typeof e.values=="object"||on(e[a])||(wL(a)||n===!0&&ch(a)||!
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const E7=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),NL=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/var C7={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const M7=N.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:a="",children:s,iconNode:l,...c},f)=>N.createElement("svg",{ref:f,...C7,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:NL("lucide",a),...c},[...l.map(([d,p])=>N.createElement(d,p)),...Array.isArray(s)?s:[s]]));/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ee=(e,t)=>{const n=N.forwardRef(({className:r,...a},s)=>N.createElement(M7,{ref:s,iconNode:t,className:NL(`lucide-${E7(e)}`,r),...a}));return n.displayName=`${e}`,n};/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const P7=Ee("ArrowDownRight",[["path",{d:"m7 7 10 10",key:"1fmybs"}],["path",{d:"M17 7v10H7",key:"6fjiku"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const x1=Ee("ArrowUpRight",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const N7=Ee("Bell",[["path",{d:"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9",key:"1qo2s2"}],["path",{d:"M10.3 21a1.94 1.94 0 0 0 3.4 0",key:"qgo35s"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const R7=Ee("Briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const D7=Ee("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const k7=Ee("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const L7=Ee("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $7=Ee("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const z7=Ee("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const B7=Ee("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const q7=Ee("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const RL=Ee("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Dw=Ee("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const DL=Ee("DollarSign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Zr=Ee("Ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const I7=Ee("EyeOff",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const U7=Ee("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const kL=Ee("FileCheck",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ps=Ee("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vl=Ee("Filter",[["polygon",{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3",key:"1yg77f"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const V7=Ee("GitBranch",[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const LL=Ee("Headphones",[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const H7=Ee("LayoutDashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const G7=Ee("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const F7=Ee("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ic=Ee("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $L=Ee("Megaphone",[["path",{d:"m3 11 18-5v12L3 14v-3z",key:"n962bs"}],["path",{d:"M11.6 16.8a3 3 0 1 1-5.8-1.6",key:"1yl0tm"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const K7=Ee("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Y7=Ee("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const X7=Ee("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const W7=Ee("Package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["path",{d:"m3.3 7 7.703 4.734a2 2 0 0 0 1.994 0L20.7 7",key:"yx3hmr"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const S2=Ee("Pause",[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const w2=Ee("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _a=Ee("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _o=Ee("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Z7=Ee("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Q7=Ee("ShoppingCart",[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const J7=Ee("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zL=Ee("TrendingDown",[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const To=Ee("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const S1=Ee("UserPlus",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const e9=Ee("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const go=Ee("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const BL=Ee("Wallet",[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]]);/**
* @license lucide-react v0.460.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const qL=Ee("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);function IL(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=IL(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Pe(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=IL(e))&&(r&&(r+=" "),r+=t);return r}const kw="-",t9=e=>{const t=r9(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:l=>{const c=l.split(kw);return c[0]===""&&c.length!==1&&c.shift(),UL(c,t)||n9(l)},getConflictingClassGroupIds:(l,c)=>{const f=n[l]||[];return c&&r[l]?[...f,...r[l]]:f}}},UL=(e,t)=>{var l;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),a=r?UL(e.slice(1),r):void 0;if(a)return a;if(t.validators.length===0)return;const s=e.join(kw);return(l=t.validators.find(({validator:c})=>c(s)))==null?void 0:l.classGroupId},A2=/^\[(.+)\]$/,n9=e=>{if(A2.test(e)){const t=A2.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},r9=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return a9(Object.entries(e.classGroups),n).forEach(([s,l])=>{w1(l,r,s,t)}),r},w1=(e,t,n,r)=>{e.forEach(a=>{if(typeof a=="string"){const s=a===""?t:j2(t,a);s.classGroupId=n;return}if(typeof a=="function"){if(i9(a)){w1(a(r),t,n,r);return}t.validators.push({validator:a,classGroupId:n});return}Object.entries(a).forEach(([s,l])=>{w1(l,j2(t,s),n,r)})})},j2=(e,t)=>{let n=e;return t.split(kw).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},i9=e=>e.isThemeGetter,a9=(e,t)=>t?e.map(([n,r])=>{const a=r.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([l,c])=>[t+l,c])):s);return[n,a]}):e,o9=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const a=(s,l)=>{n.set(s,l),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let l=n.get(s);if(l!==void 0)return l;if((l=r.get(s))!==void 0)return a(s,l),l},set(s,l){n.has(s)?n.set(s,l):a(s,l)}}},VL="!",s9=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,a=t[0],s=t.length,l=c=>{const f=[];let d=0,p=0,m;for(let x=0;x<c.length;x++){let j=c[x];if(d===0){if(j===a&&(r||c.slice(x,x+s)===t)){f.push(c.slice(p,x)),p=x+s;continue}if(j==="/"){m=x;continue}}j==="["?d++:j==="]"&&d--}const g=f.length===0?c:c.substring(p),S=g.startsWith(VL),A=S?g.substring(1):g,w=m&&m>p?m-p:void 0;return{modifiers:f,hasImportantModifier:S,baseClassName:A,maybePostfixModifierPosition:w}};return n?c=>n({className:c,parseClassName:l}):l},l9=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},u9=e=>({cache:o9(e.cacheSize),parseClassName:s9(e),...t9(e)}),c9=/\s+/,f9=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:a}=t,s=[],l=e.trim().split(c9);let c="";for(let f=l.length-1;f>=0;f-=1){const d=l[f],{modifiers:p,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:S}=n(d);let A=!!S,w=r(A?g.substring(0,S):g);if(!w){if(!A){c=d+(c.length>0?" "+c:c);continue}if(w=r(g),!w){c=d+(c.length>0?" "+c:c);continue}A=!1}const x=l9(p).join(":"),j=m?x+VL:x,_=j+w;if(s.includes(_))continue;s.push(_);const T=a(w,A);for(let M=0;M<T.length;++M){const O=T[M];s.push(j+O)}c=d+(c.length>0?" "+c:c)}return c};function d9(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=HL(t))&&(r&&(r+=" "),r+=n);return r}const HL=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=HL(e[r]))&&(n&&(n+=" "),n+=t);return n};function h9(e,...t){let n,r,a,s=l;function l(f){const d=t.reduce((p,m)=>m(p),e());return n=u9(d),r=n.cache.get,a=n.cache.set,s=c,c(f)}function c(f){const d=r(f);if(d)return d;const p=f9(f,n);return a(f,p),p}return function(){return s(d9.apply(null,argu
* @license React
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var EC;function wG(){if(EC)return Xe;EC=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),S=Symbol.for("react.offscreen"),A;A=Symbol.for("react.module.reference");function w(x){if(typeof x=="object"&&x!==null){var j=x.$$typeof;switch(j){case e:switch(x=x.type,x){case n:case a:case r:case d:case p:return x;default:switch(x=x&&x.$$typeof,x){case c:case l:case f:case g:case m:case s:return x;default:return j}}case t:return j}}}return Xe.ContextConsumer=l,Xe.ContextProvider=s,Xe.Element=e,Xe.ForwardRef=f,Xe.Fragment=n,Xe.Lazy=g,Xe.Memo=m,Xe.Portal=t,Xe.Profiler=a,Xe.StrictMode=r,Xe.Suspense=d,Xe.SuspenseList=p,Xe.isAsyncMode=function(){return!1},Xe.isConcurrentMode=function(){return!1},Xe.isContextConsumer=function(x){return w(x)===l},Xe.isContextProvider=function(x){return w(x)===s},Xe.isElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===e},Xe.isForwardRef=function(x){return w(x)===f},Xe.isFragment=function(x){return w(x)===n},Xe.isLazy=function(x){return w(x)===g},Xe.isMemo=function(x){return w(x)===m},Xe.isPortal=function(x){return w(x)===t},Xe.isProfiler=function(x){return w(x)===a},Xe.isStrictMode=function(x){return w(x)===r},Xe.isSuspense=function(x){return w(x)===d},Xe.isSuspenseList=function(x){return w(x)===p},Xe.isValidElementType=function(x){return typeof x=="string"||typeof x=="function"||x===n||x===a||x===r||x===d||x===p||x===S||typeof x=="object"&&x!==null&&(x.$$typeof===g||x.$$typeof===m||x.$$typeof===s||x.$$typeof===l||x.$$typeof===f||x.$$typeof===A||x.getModuleId!==void 0)},Xe.typeOf=w,Xe}var CC;function AG(){return CC||(CC=1,Hg.exports=wG()),Hg.exports}var jG=AG(),Gg,MC;function JL(){if(MC)return Gg;MC=1;var e=Di(),t=ki(),n="[object Number]";function r(a){return typeof a=="number"||t(a)&&e(a)==n}return Gg=r,Gg}var Fg,PC;function OG(){if(PC)return Fg;PC=1;var e=JL();function t(n){return e(n)&&n!=+n}return Fg=t,Fg}var _G=OG();const Sl=et(_G);var TG=JL();const EG=et(TG);var mn=function(t){return t===0?0:t>0?1:-1},so=function(t){return bo(t)&&t.indexOf("%")===t.length-1},ue=function(t){return EG(t)&&!Sl(t)},CG=function(t){return Te(t)},Ht=function(t){return ue(t)||bo(t)},MG=0,Co=function(t){var n=++MG;return"".concat(t||"").concat(n)},yn=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!ue(t)&&!bo(t))return r;var s;if(so(t)){var l=t.indexOf("%");s=n*parseFloat(t.slice(0,l))/100}else s=+t;return Sl(s)&&(s=r),a&&s>n&&(s=n),s},ma=function(t){if(!t)return null;var n=Object.keys(t);return n&&n.length?t[n[0]]:null},PG=function(t){if(!Array.isArray(t))return!1;for(var n=t.length,r={},a=0;a<n;a++)if(!r[t[a]])r[t[a]]=!0;else return!0;return!1},Vt=function(t,n){return ue(t)&&ue(n)?function(r){return t+r*(n-t)}:function(){return n}};function fh(e,t,n){return!e||!e.length?null:e.find(function(r){return r&&(typeof t=="function"?t(r):Gn(r,t))===n})}var NG=function(t,n){return ue(t)&&ue(n)?t-n:bo(t)&&bo(n)?t.localeCompare(n):t instanceof Date&&n instanceof Date?t.getTime()-n.getTime():String(t).localeCompare(String(n))};function Rs(e,t){for(var n in e)if({}.hasOwnProperty.call(e,n)&&(!{}.hasOwnProperty.call(t,n)||e[n]!==t[n]))return!1;for(var r in t)if({}.hasOwnProperty.call(t,r)&&!{}.hasOwnProperty.call(e,r))return!1;return!0}function j1(e){"@babel/helpers - typeof";return j1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},j1(e)}var RG=["viewBox","children"],DG=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-control
A`).concat(l,",").concat(l,",0,1,1,").concat(2*c,",").concat(s,`
H`).concat(or,"M").concat(2*c,",").concat(s,`
A`).concat(l,",").concat(l,",0,1,1,").concat(c,",").concat(s),className:"recharts-legend-icon"});if(r.type==="rect")return B.createElement("path",{stroke:"none",fill:f,d:"M0,".concat(or/8,"h").concat(or,"v").concat(or*3/4,"h").concat(-or,"z"),className:"recharts-legend-icon"});if(B.isValidElement(r.legendIcon)){var d=KF({},r);return delete d.legendIcon,B.cloneElement(r.legendIcon,d)}return B.createElement(Xw,{fill:f,cx:s,cy:s,size:or,sizeType:"diameter",type:r.type})}},{key:"renderItems",value:function(){var r=this,a=this.props,s=a.payload,l=a.iconSize,c=a.layout,f=a.formatter,d=a.inactiveColor,p={x:0,y:0,width:or,height:or},m={display:c==="horizontal"?"inline-block":"block",marginRight:10},g={display:"inline-block",verticalAlign:"middle",marginRight:4};return s.map(function(S,A){var w=S.formatter||f,x=Pe(oc(oc({"recharts-legend-item":!0},"legend-item-".concat(A),!0),"inactive",S.inactive));if(S.type==="none")return null;var j=Oe(S.value)?null:S.value;Tr(!Oe(S.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 _=S.inactive?d:S.color;return B.createElement("li",k1({className:x,style:m,key:"legend-item-".concat(A)},xo(r.props,S,A)),B.createElement(E1,{width:l,height:l,viewBox:p,style:g},r.renderIcon(S)),B.createElement("span",{className:"recharts-legend-item-text",style:{color:_}},w?w(j,S,A):j))})}},{key:"render",value:function(){var r=this.props,a=r.payload,s=r.layout,l=r.align;if(!a||!a.length)return null;var c={padding:0,margin:0,textAlign:s==="horizontal"?l:"left"};return B.createElement("ul",{className:"recharts-default-legend",style:c},this.renderItems())}}])})(N.PureComponent);oc(Ww,"displayName","Legend");oc(Ww,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var ab,eM;function nK(){if(eM)return ab;eM=1;var e=_p();function t(){this.__data__=new e,this.size=0}return ab=t,ab}var ob,tM;function rK(){if(tM)return ob;tM=1;function e(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r}return ob=e,ob}var sb,nM;function iK(){if(nM)return sb;nM=1;function e(t){return this.__data__.get(t)}return sb=e,sb}var lb,rM;function aK(){if(rM)return lb;rM=1;function e(t){return this.__data__.has(t)}return lb=e,lb}var ub,iM;function oK(){if(iM)return ub;iM=1;var e=_p(),t=qw(),n=Iw(),r=200;function a(s,l){var c=this.__data__;if(c instanceof e){var f=c.__data__;if(!t||f.length<r-1)return f.push([s,l]),this.size=++c.size,this;c=this.__data__=new n(f)}return c.set(s,l),this.size=c.size,this}return ub=a,ub}var cb,aM;function S$(){if(aM)return cb;aM=1;var e=_p(),t=nK(),n=rK(),r=iK(),a=aK(),s=oK();function l(c){var f=this.__data__=new e(c);this.size=f.size}return l.prototype.clear=t,l.prototype.delete=n,l.prototype.get=r,l.prototype.has=a,l.prototype.set=s,cb=l,cb}var fb,oM;function sK(){if(oM)return fb;oM=1;var e="__lodash_hash_undefined__";function t(n){return this.__data__.set(n,e),this}return fb=t,fb}var db,sM;function lK(){if(sM)return db;sM=1;function e(t){return this.__data__.has(t)}return db=e,db}var hb,lM;function w$(){if(lM)return hb;lM=1;var e=Iw(),t=sK(),n=lK();function r(a){var s=-1,l=a==null?0:a.length;for(this.__data__=new e;++s<l;)this.add(a[s])}return r.prototype.add=r.prototype.push=t,r.prototype.has=n,hb=r,hb}var pb,uM;function A$(){if(uM)return pb;uM=1;function e(t,n){for(var r=-1,a=t==null?0:t.length;++r<a;)if(n(t[r],r,t))return!0;return!1}return pb=e,pb}var mb,cM;function j$(){if(cM)return mb;cM=1;function e(t,n){return t.has(n)}return mb=e,mb}var yb,fM;function O$(){if(fM)return yb;fM=1;var e=w$(),t=A$(),n=j$(),r=1,a=2;function s(l,c,f,d,p,m){var g=f&r,S=l.length,A=c.length;if(S!=A&&!(g&&A>S))return!1;var w=m.get(l),x=m.get(c);if(w&&x)return w==c&&x==l;var j=-1,_=!0,T=f&a?new e:void 0;for(m.set(l,c),m.set(c,l);++j<S;){var M=l[j],O=c[j];if(d)var C=g?d(O,M,j,c,l,m):d(M,O,j,l,c,m);if(C!==void 0){if(C)continue;_=!1;break}if(T){if(!t(c,function(P,R){if(!n(T,R)&&(M===P||p(M,P,f,d,m)))return T.push(R)})){_=!1;break}}else if(!(M===O||p(M,O,f,
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function CY(e,t){if(e){if(typeof e=="string")return HP(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return HP(e,t)}}function HP(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function MY(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,s,l,c=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(p){d=!0,a=p}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw a}}return c}}function PY(e){if(Array.isArray(e))return e}function GP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Vx(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?GP(Object(n),!0).forEach(function(r){NY(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):GP(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function NY(e,t,n){return t=RY(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function RY(e){var t=DY(e,"string");return sc(t)=="symbol"?t:t+""}function DY(e,t){if(sc(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(sc(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function kY(e){return Array.isArray(e)&&Ht(e[0])&&Ht(e[1])?e.join(" ~ "):e}var LY=function(t){var n=t.separator,r=n===void 0?" : ":n,a=t.contentStyle,s=a===void 0?{}:a,l=t.itemStyle,c=l===void 0?{}:l,f=t.labelStyle,d=f===void 0?{}:f,p=t.payload,m=t.formatter,g=t.itemSorter,S=t.wrapperClassName,A=t.labelClassName,w=t.label,x=t.labelFormatter,j=t.accessibilityLayer,_=j===void 0?!1:j,T=function(){if(p&&p.length){var $={padding:0,margin:0},F=(g?rA(p,g):p).map(function(X,Y){if(X.type==="none")return null;var z=Vx({display:"block",paddingTop:4,paddingBottom:4,color:X.color||"#000"},c),K=X.formatter||m||kY,Q=X.value,ie=X.name,se=Q,L=ie;if(K&&se!=null&&L!=null){var H=K(Q,ie,X,Y,p);if(Array.isArray(H)){var re=TY(H,2);se=re[0],L=re[1]}else se=H}return B.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(Y),style:z},Ht(L)?B.createElement("span",{className:"recharts-tooltip-item-name"},L):null,Ht(L)?B.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,B.createElement("span",{className:"recharts-tooltip-item-value"},se),B.createElement("span",{className:"recharts-tooltip-item-unit"},X.unit||""))});return B.createElement("ul",{className:"recharts-tooltip-item-list",style:$},F)}return null},M=Vx({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},s),O=Vx({margin:0},d),C=!Te(w),P=C?w:"",R=Pe("recharts-default-tooltip",S),k=Pe("recharts-tooltip-label",A);C&&x&&p!==void 0&&p!==null&&(P=x(w,p));var U=_?{role:"status","aria-live":"assertive"}:{};return B.createElement("div",z1({className:R,style:M},U),B.createElement("p",{className:k,style:O},B.isValidElement(P)?P:"".concat(P)),T())};function lc(e){"@babel/helpers - typeof";return lc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},lc(e)}function Cd(e,t,n){return t=$Y(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $Y(e){var t=zY(e,"string");return lc(t)=="symbol"?t:t+""}function zY(e,t){if(lc(e)!="object"||!e)return e;var n=e[Symb
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xX(e,t){if(e){if(typeof e=="string")return aN(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return aN(e,t)}}function aN(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function SX(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,s,l,c=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(p){d=!0,a=p}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw a}}return c}}function wX(e){if(Array.isArray(e))return e}var wh=N.forwardRef(function(e,t){var n=e.aspect,r=e.initialDimension,a=r===void 0?{width:-1,height:-1}:r,s=e.width,l=s===void 0?"100%":s,c=e.height,f=c===void 0?"100%":c,d=e.minWidth,p=d===void 0?0:d,m=e.minHeight,g=e.maxHeight,S=e.children,A=e.debounce,w=A===void 0?0:A,x=e.id,j=e.className,_=e.onResize,T=e.style,M=T===void 0?{}:T,O=N.useRef(null),C=N.useRef();C.current=_,N.useImperativeHandle(t,function(){return Object.defineProperty(O.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),O.current},configurable:!0})});var P=N.useState({containerWidth:a.width,containerHeight:a.height}),R=gX(P,2),k=R[0],U=R[1],q=N.useCallback(function(F,X){U(function(Y){var z=Math.round(F),K=Math.round(X);return Y.containerWidth===z&&Y.containerHeight===K?Y:{containerWidth:z,containerHeight:K}})},[]);N.useEffect(function(){var F=function(ie){var se,L=ie[0].contentRect,H=L.width,re=L.height;q(H,re),(se=C.current)===null||se===void 0||se.call(C,H,re)};w>0&&(F=K$(F,w,{trailing:!0,leading:!1}));var X=new ResizeObserver(F),Y=O.current.getBoundingClientRect(),z=Y.width,K=Y.height;return q(z,K),X.observe(O.current),function(){X.disconnect()}},[q,w]);var $=N.useMemo(function(){var F=k.containerWidth,X=k.containerHeight;if(F<0||X<0)return null;Tr(so(l)||so(f),`The width(%s) and height(%s) are both fixed numbers,
maybe you don't need to use a ResponsiveContainer.`,l,f),Tr(!n||n>0,"The aspect(%s) must be greater than zero.",n);var Y=so(l)?F:l,z=so(f)?X:f;n&&n>0&&(Y?z=Y/n:z&&(Y=z*n),g&&z>g&&(z=g)),Tr(Y>0||z>0,`The width(%s) and height(%s) of chart should be greater than 0,
please check the style of container, or the props width(%s) and height(%s),
or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the
height and width.`,Y,z,l,f,p,m,n);var K=!Array.isArray(S)&&Ti(S.type).endsWith("Chart");return B.Children.map(S,function(Q){return B.isValidElement(Q)?N.cloneElement(Q,Md({width:Y,height:z},K?{style:Md({height:"100%",width:"100%",maxHeight:z,maxWidth:Y},Q.props.style)}:{})):Q})},[n,S,f,g,m,p,k,l]);return B.createElement("div",{id:x?"".concat(x):void 0,className:Pe("recharts-responsive-container",j),style:Md(Md({},M),{},{width:l,height:f,minWidth:p,minHeight:m,maxHeight:g}),ref:O},$)}),Lp=function(t){return null};Lp.displayName="Cell";function cc(e){"@babel/helpers - typeof";return cc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},cc(e)}function oN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function U1(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?oN(Object(n),!0).forEach(function(r){AX(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oN(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function AX(e,t,n){return t=jX(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jX(e){var t=OX(e,"string");return cc(t)=="symbol"?t:t+""}function OX(e,t){if(cc(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(cc(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var vs={widthCache:{},cacheCount:0},_X=2e3,TX={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},sN="recharts_measurement_span";function EX(e){var t=U1({},e);return Object.keys(t).forEach(function(n){t[n]||delete t[n]}),t}var Fu=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t==null||Ea.isSsr)return{width:0,height:0};var r=EX(n),a=JSON.stringify({text:t,copyStyle:r});if(vs.widthCache[a])return vs.widthCache[a];try{var s=document.getElementById(sN);s||(s=document.createElement("span"),s.setAttribute("id",sN),s.setAttribute("aria-hidden","true"),document.body.appendChild(s));var l=U1(U1({},TX),r);Object.assign(s.style,l),s.textContent="".concat(t);var c=s.getBoundingClientRect(),f={width:c.width,height:c.height};return vs.widthCache[a]=f,++vs.cacheCount>_X&&(vs.cacheCount=0,vs.widthCache={}),f}catch{return{width:0,height:0}}},CX=function(t){return{top:t.top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft}};function fc(e){"@babel/helpers - typeof";return fc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fc(e)}function Ah(e,t){return RX(e)||NX(e,t)||PX(e,t)||MX()}function MX(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function PX(e,t){if(e){if(typeof e=="string")return lN(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return lN(e,t)}}function lN(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function NX(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,s,l,c=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;f=!1}else for(;!(f=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(p){d=!0,a=p}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw a}}return c}}function RX(e){if(Array.isArray(e))return e}function DX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,LX(r.key),r)}}function kX(e,t,n){return t&&uN(e.prototype,t),n&&uN(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function LX(e){var t=$X(e,"string");return fc(t)=="symbol"?t:t+""}function $X(e,t){if(fc(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(fc(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var cN=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,fN=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,zX=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,BX=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,Y$={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},qX=Object.keys(Y$),_s="NaN";function IX(e,t){return e*Y$[t]}var Pd=(function(){function e(t,n){DX(this,e),this.num=t,this.unit=n,this.num=t,this.unit=n,Number.isNaN(t)&&(this.unit=""),n!==""&&!zX.test(n)&&(this.num=NaN,this.unit=""),qX.includes(n)&&(this.num=IX(t,n),this.unit="px")}return kX(e,[{key:"add",value:function(n){return this.unit!==n.unit?new e(NaN,""):new e(this.num+n.num,this.unit)}},{key:"subtract",value:function(n){return this.unit!==n.unit?new e(NaN,""):new e(this.num-n.num,this.unit)}},{key:"multiply",value:function(n){return this.unit!==""&&n.unit!==""&&this.unit!==n.unit?new e(NaN,""):new e(this.num*n.num,this.unit||n.unit)}},{key:"divide",value:function(n){return this.unit!==""&&n.unit!==""&&this.unit!==n.unit?new e(NaN,""):new e(this.num/n.num,this.unit||n.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}],[{key:"parse",value:function(n){var r,a=(r=BX.exec(n))!==null&&r!==void 0?r:[],s=Ah(a,3),l=s[1],c=s[2];return new e(parseFloat(l),c??"")}}])})();function X$(e){if(e.includes(_s))return _s;for(var t=e;t.includes("*")||t.includes("/");){var n,r=(n=cN.exec(t))!==null&&n!==void 0?n:[],a=Ah(r,4),s=a[1],l=a[2],c=a[3],f=Pd.parse(s??""),d=Pd.parse(c??""),p=l==="*"?f.multiply(d):f.divide(d);if(p.isNaN())return _s;t=t.replace(cN,p.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var m,g=(m=fN.exec(t))!==null&&m!==void 0?m:[],S=Ah(g,4),A=S[1],w=S[2],x=S[3],j=Pd.parse(A??""),_=Pd.parse(x??""),T=w==="+"?j.add(_):j.subtract(_);if(T.isNaN())return _s;t=t.replace(fN,T.toString())}return t}var dN=/\(([^()]*)\)/;function UX(e){for(var t=e;t.includes("(");){var n=dN.exec(t),r=Ah(n,2),a=r[1];t=t.replace(dN,X$(a))}return t}function VX(e){var t=e.replace(/\s+/g,"");return t=UX(t),t=X$(t),t}function HX(e){try{return VX(e)}catch{return _s}}function Wx(e){var t=HX(e.slice(5,-1));return t===_s?"":t}var GX=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],FX=["dx","dy","angle","className","breakAll"];function V1(){return V1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function XX(e,t){if(e){if(typeof e=="string")return mN(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return mN(e,t)}}function mN(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function WX(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,s,l,c=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;f=!1}else for(;!(f=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(p){d=!0,a=p}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw a}}return c}}function ZX(e){if(Array.isArray(e))return e}var W$=/[ \f\n\r\t\v\u2028\u2029]+/,Z$=function(t){var n=t.children,r=t.breakAll,a=t.style;try{var s=[];Te(n)||(r?s=n.toString().split(""):s=n.toString().split(W$));var l=s.map(function(f){return{word:f,width:Fu(f,a).width}}),c=r?0:Fu(" ",a).width;return{wordsWithComputedWidth:l,spaceWidth:c}}catch{return null}},QX=function(t,n,r,a,s){var l=t.maxLines,c=t.children,f=t.style,d=t.breakAll,p=ue(l),m=c,g=function(){var Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Y.reduce(function(z,K){var Q=K.word,ie=K.width,se=z[z.length-1];if(se&&(a==null||s||se.width+ie+r<Number(a)))se.words.push(Q),se.width+=ie+r;else{var L={words:[Q],width:ie};z.push(L)}return z},[])},S=g(n),A=function(Y){return Y.reduce(function(z,K){return z.width>K.width?z:K})};if(!p)return S;for(var w="…",x=function(Y){var z=m.slice(0,Y),K=Z$({breakAll:d,style:f,children:z+w}).wordsWithComputedWidth,Q=g(K),ie=Q.length>l||A(Q).width>Number(a);return[ie,Q]},j=0,_=m.length-1,T=0,M;j<=_&&T<=m.length-1;){var O=Math.floor((j+_)/2),C=O-1,P=x(C),R=pN(P,2),k=R[0],U=R[1],q=x(O),$=pN(q,1),F=$[0];if(!k&&!F&&(j=O+1),k&&F&&(_=O-1),!k&&F){M=U;break}T++}return M||S},yN=function(t){var n=Te(t)?[]:t.toString().split(W$);return[{words:n}]},JX=function(t){var n=t.width,r=t.scaleToFit,a=t.children,s=t.style,l=t.breakAll,c=t.maxLines;if((n||r)&&!Ea.isSsr){var f,d,p=Z$({breakAll:l,children:a,style:s});if(p){var m=p.wordsWithComputedWidth,g=p.spaceWidth;f=m,d=g}else return yN(a);return QX({breakAll:l,children:a,maxLines:c,style:s},f,d,n,r)}return yN(a)},vN="#808080",So=function(t){var n=t.x,r=n===void 0?0:n,a=t.y,s=a===void 0?0:a,l=t.lineHeight,c=l===void 0?"1em":l,f=t.capHeight,d=f===void 0?"0.71em":f,p=t.scaleToFit,m=p===void 0?!1:p,g=t.textAnchor,S=g===void 0?"start":g,A=t.verticalAnchor,w=A===void 0?"end":A,x=t.fill,j=x===void 0?vN:x,_=hN(t,GX),T=N.useMemo(function(){return JX({breakAll:_.breakAll,children:_.children,maxLines:_.maxLines,scaleToFit:m,style:_.style,width:_.width})},[_.breakAll,_.children,_.maxLines,m,_.style,_.width]),M=_.dx,O=_.dy,C=_.angle,P=_.className,R=_.breakAll,k=hN(_,FX);if(!Ht(r)||!Ht(s))return null;var U=r+(ue(M)?M:0),q=s+(ue(O)?O:0),$;switch(w){case"start":$=Wx("calc(".concat(d,")"));break;case"middle":$=Wx("calc(".concat((T.length-1)/2," * -").concat(c," + (").concat(d," / 2))"));break;default:$=Wx("calc(".concat(T.length-1," * -").concat(c,")"));break}var F=[];if(m){var X=T[0].width,Y=_.width;F.push("scale(".concat((ue(Y)?Y/X:1)/X,")"))}return C&&F.push("rotate(".concat(C,", ").concat(U,", ").concat(q,")")),F.length&&(k.transform=F.join(" ")),B.createElement("text",V1({},be(k,!0),{x:U,y:q,className:Pe("recharts-text",P),textAnchor:S,fill:j.includes("url")?vN:j}),T.map(function(z,K){var Q=z.words.join(R?"":" ");return B.createElement("tspan",{x:U,dy:K===0?$:c,key:"".concat(Q,"-").concat(K)},Q)}))};function ba(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function eW(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function aA(e){let t,n,r;e.length!==2?(t=ba,n=(c,f)=>ba(e(c),f),r=(c,f)=>e(c)-f):(t=e===ba||e===eW?e:tW,n=e,r=e);function a(c,f,d=0,p=c.length){if(d<p){if(t(f,f)!==0)return p;do{const m=d+p>>>1;n(c[m],
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function UQ(e,t){if(e){if(typeof e=="string")return Z1(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Z1(e,t)}}function VQ(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function HQ(e){if(Array.isArray(e))return Z1(e)}function Z1(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var GQ=function(t){return t},$z={},zz=function(t){return t===$z},dR=function(t){return function n(){return arguments.length===0||arguments.length===1&&zz(arguments.length<=0?void 0:arguments[0])?n:t.apply(void 0,arguments)}},FQ=function e(t,n){return t===1?n:dR(function(){for(var r=arguments.length,a=new Array(r),s=0;s<r;s++)a[s]=arguments[s];var l=a.filter(function(c){return c!==$z}).length;return l>=t?n.apply(void 0,a):e(t-l,dR(function(){for(var c=arguments.length,f=new Array(c),d=0;d<c;d++)f[d]=arguments[d];var p=a.map(function(m){return zz(m)?f.shift():m});return n.apply(void 0,qQ(p).concat(f))}))})},Gp=function(t){return FQ(t.length,t)},Q1=function(t,n){for(var r=[],a=t;a<n;++a)r[a-t]=a;return r},KQ=Gp(function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map(function(n){return t[n]}).map(e)}),YQ=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!n.length)return GQ;var a=n.reverse(),s=a[0],l=a.slice(1);return function(){return l.reduce(function(c,f){return f(c)},s.apply(void 0,arguments))}},J1=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},Bz=function(t){var n=null,r=null;return function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];return n&&s.every(function(c,f){return c===n[f]})||(n=s,r=t.apply(void 0,s)),r}};function XQ(e){var t;return e===0?t=1:t=Math.floor(new it(e).abs().log(10).toNumber())+1,t}function WQ(e,t,n){for(var r=new it(e),a=0,s=[];r.lt(t)&&a<1e5;)s.push(r.toNumber()),r=r.add(n),a++;return s}var ZQ=Gp(function(e,t,n){var r=+e,a=+t;return r+n*(a-r)}),QQ=Gp(function(e,t,n){var r=t-+e;return r=r||1/0,(n-e)/r}),JQ=Gp(function(e,t,n){var r=t-+e;return r=r||1/0,Math.max(0,Math.min(1,(n-e)/r))});const Fp={rangeStep:WQ,getDigitCount:XQ,interpolateNumber:ZQ,uninterpolateNumber:QQ,uninterpolateTruncation:JQ};function eS(e){return nJ(e)||tJ(e)||qz(e)||eJ()}function eJ(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tJ(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function nJ(e){if(Array.isArray(e))return tS(e)}function gc(e,t){return aJ(e)||iJ(e,t)||qz(e,t)||rJ()}function rJ(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qz(e,t){if(e){if(typeof e=="string")return tS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tS(e,t)}}function tS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function iJ(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var n=[],r=!0,a=!1,s=void 0;try{for(var l=e[Symbol.iterator](),c;!(r=(c=l.next()).done)&&(n.push(c.value),!(t&&n.length===t));r=!0);}catch(f){a=!0,s=f}finally{try{!r&&l.return!=null&&l.return()}finally{if(a)throw s}}return n}}function aJ(e){if(Array.isArray(e))return e}function Iz(e){var t=gc(e,2),n=t[0],r=t[1],a=n,s=r;return n>r&&(a=r,s=n),[a,s]}function Uz(e,t,n){if(e.lte(0))return new it(0);var r=Fp.getDigitCount(e.toNumber()),a=new it(10).pow(r),s=e.div(a),l=r!==1?.05:.1,c=new it(Math.ceil(s.div(l).toNumber())).add(n).mul(l),f=c.mul(a);return t?f:new it(Math.ceil(f))}function oJ(e,t,n){var r=1,a=new it(e);if(!a.isint()&&n){var s=Math.abs(e);s<1?(r=new it(10).pow(Fp.getDigitCount(e)-1),a=new it(Math.floor(a.div(r).toNumber())).mul(r)):s>1&&(a=new it(Math.floor(e)))}else e===0?a=new it(Math.floor((t-1)/2)):n||(a=new it(Math.floor(e)));var l=Math.floor((t-1)/2),c=YQ(KQ(function(f){return a.add(new it(f-l).mul(r)).toNumber()}),Q1);return c(0,t)}function Vz(e,t,n,r){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;if(!Number.isFinite((t-e)/(n-1)))return{step:new it(0),tickMin:new it(0),tickMax:new it(0)};var s=Uz(new it(t).sub(e).div(n-1),r,a),l;e<=0&&t>=0?l=new it(0):(l=new it(e).add(t).div(2),l=l.sub(new it(l).mod(s)));var c=Math.ceil(l.sub(e).div(s).toNumber()),f=Math.ceil(new it(t).sub(l).div(s).toNumber()),d=c+f+1;return d>n?Vz(e,t,n,r,a+1):(d<n&&(f=t>0?f+(n-d):f,c=t>0?c:c+(n-d)),{step:s,tickMin:l.sub(new it(c).mul(s)),tickMax:l.add(new it(f).mul(s))})}function sJ(e){var t=gc(e,2),n=t[0],r=t[1],a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,l=Math.max(a,2),c=Iz([n,r]),f=gc(c,2),d=f[0],p=f[1];if(d===-1/0||p===1/0){var m=p===1/0?[d].concat(eS(Q1(0,a-1).map(function(){return 1/0}))):[].concat(eS(Q1(0,a-1).map(function(){return-1/0})),[p]);return n>r?J1(m):m}if(d===p)return oJ(d,a,s);var g=Vz(d,p,l,s),S=g.step,A=g.tickMin,w=g.tickMax,x=Fp.rangeStep(A,w.add(new it(.1).mul(S)),S);return n>r?J1(x):x}function lJ(e,t){var n=gc(e,2),r=n[0],a=n[1],s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,l=Iz([r,a]),c=gc(l,2),f=c[0],d=c[1];if(f===-1/0||d===1/0)return[r,a];if(f===d)return[f];var p=Math.max(t,2),m=Uz(new it(d).sub(f).div(p-1),s,0),g=[].concat(eS(Fp.rangeStep(new it(f),new it(d).sub(new it(.99).mul(m)),m)),[d]);return r>a?J1(g):g}var uJ=Bz(sJ),cJ=Bz(lJ),fJ="Invariant failed";function jo(e,t){throw new Error(fJ)}var dJ=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function Ks(e){"@babel/helpers - typeof";return Ks=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ks(e)}function Lh(){return Lh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Lh.apply(this,arguments)}function hJ(e,t){return vJ(e)||yJ(e,t)||mJ(e,t)||pJ()}function pJ(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mJ(e,t){if(e){if(typeof e=="string")return hR(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return hR(e,t)}}function hR(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function yJ(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,s,l,c=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(p){d=!0,a=p}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw a}}return c}}function vJ(e){if(Array.isArray(e))return e}function gJ(e,t){if(e==null)return{};var n=bJ(e,t),r,a;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)r=s[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function bJ(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function xJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SJ(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Fz(r.key),r)}}function wJ(e,t,n){return t&&SJ(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function AJ(e,t,n){return t=$h(t),jJ(e,Hz()?Reflect.construct(t,n||[],$h(e).constructor):t.apply(e,n))}function jJ(e,t){if(t&&(Ks(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return OJ(e)}function OJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hz(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Hz=function(){return!!e})()}function $h(e){return $h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},$h(e)}function _J(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&nS(e,t)}function nS(e,t){return nS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},nS(e,t)}function Gz(e,t,n){return t=Fz(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fz(e){var t=TJ(e,"string");return Ks(t)=="symbol"?t:t+""}function TJ(e,t){if(Ks(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Ks(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Qc=(function(e){function t(){return xJ(this,t),AJ(this,t,arguments)}return _J(t,e),wJ(t,[{key:"render",value:function(){var r=this.props,a=r.offset,s=r.layout,l=r.width,c=r.dataKey,f=r.data,d=r.dataPointFormatter,p=r.xAxis,m=r.yAxis,g=gJ(r,dJ),S=be(g,!1);this.props.direction==="x"&&p.type!=="number"&&jo();var A=f.map(function(w){var x=d(w,c),j=x.x,_=x.y,T=x.value,M=x.errorVal;if(!M)return null;var O=[],C,P;if(Array.isArray(M)){var R=hJ(M,2);C=R[0],P=R[1]}else C=P=M;if(s==="vertical"){var k=p.scale,U=_+a,q=U+l,$=U-l,F=k(T-C),X=k(T+P);O.push({x1:X,y1:q,x2:X,y2:$}),O.push({x1:F,y1:U,x2:X,y2:U}),O.push({x1:F,y1:q,x2:F,y2:$})}else if(s==="horizontal"){var Y=m.scale,z=j+a,K=z-l,Q=z+l,ie=Y(T-C),se=Y(T+P);O.push({x1:K,y1:se,x2:Q,y2:se}),O.push({x1:z,y1:ie,x2:z,y2:se}),O.push({x1:K,y1:ie,x2:Q,y2:ie})}return B.createElement(Be,Lh({className:"recharts-errorBar",key:"bar-".concat(O.map(function(L){return"".concat(L.x1,"-").con
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function NJ(e,t){if(e){if(typeof e=="string")return rS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rS(e,t)}}function RJ(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function DJ(e){if(Array.isArray(e))return rS(e)}function rS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function yR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function _t(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?yR(Object(n),!0).forEach(function(r){Ls(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yR(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ls(e,t,n){return t=kJ(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kJ(e){var t=LJ(e,"string");return xc(t)=="symbol"?t:t+""}function LJ(e,t){if(xc(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(xc(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ct(e,t,n){return Te(e)||Te(t)?n:Ht(t)?Gn(e,t,n):Oe(t)?t(e):n}function Yu(e,t,n,r){var a=DQ(e,function(c){return Ct(c,t)});if(n==="number"){var s=a.filter(function(c){return ue(c)||parseFloat(c)});return s.length?[Hp(s),va(s)]:[1/0,-1/0]}var l=r?a.filter(function(c){return!Te(c)}):a;return l.map(function(c){return Ht(c)||c instanceof Date?c:""})}var $J=function(t){var n,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],a=arguments.length>2?arguments[2]:void 0,s=arguments.length>3?arguments[3]:void 0,l=-1,c=(n=r==null?void 0:r.length)!==null&&n!==void 0?n:0;if(c<=1)return 0;if(s&&s.axisType==="angleAxis"&&Math.abs(Math.abs(s.range[1]-s.range[0])-360)<=1e-6)for(var f=s.range,d=0;d<c;d++){var p=d>0?a[d-1].coordinate:a[c-1].coordinate,m=a[d].coordinate,g=d>=c-1?a[0].coordinate:a[d+1].coordinate,S=void 0;if(mn(m-p)!==mn(g-m)){var A=[];if(mn(g-m)===mn(f[1]-f[0])){S=g;var w=m+f[1]-f[0];A[0]=Math.min(w,(w+p)/2),A[1]=Math.max(w,(w+p)/2)}else{S=p;var x=g+f[1]-f[0];A[0]=Math.min(m,(x+m)/2),A[1]=Math.max(m,(x+m)/2)}var j=[Math.min(m,(S+m)/2),Math.max(m,(S+m)/2)];if(t>j[0]&&t<=j[1]||t>=A[0]&&t<=A[1]){l=a[d].index;break}}else{var _=Math.min(p,g),T=Math.max(p,g);if(t>(_+m)/2&&t<=(T+m)/2){l=a[d].index;break}}}else for(var M=0;M<c;M++)if(M===0&&t<=(r[M].coordinate+r[M+1].coordinate)/2||M>0&&M<c-1&&t>(r[M].coordinate+r[M-1].coordinate)/2&&t<=(r[M].coordinate+r[M+1].coordinate)/2||M===c-1&&t>(r[M].coordinate+r[M-1].coordinate)/2){l=r[M].index;break}return l},CA=function(t){var n,r=t,a=r.type.displayName,s=(n=t.type)!==null&&n!==void 0&&n.defaultProps?_t(_t({},t.type.defaultProps),t.props):t.props,l=s.stroke,c=s.fill,f;switch(a){case"Line":f=l;break;case"Area":case"Radar":f=l&&l!=="none"?l:c;break;default:f=c;break}return f},zJ=function(t){var n=t.barSize,r=t.totalSize,a=t.stackGroups,s=a===void 0?{}:a;if(!s)return{};for(var l={},c=Object.keys(s),f=0,d=c.length;f<d;f++)for(var p=s[c[f]].stackGroups,m=Object.keys(p),g=0,S=m.length;g<S;g++){var A=p[m[g]],w=A.items,x=A.cateAxisId,j=w.filter(function(P){return Ti(P.type).indexOf("Bar")>=0});if(j&&j.length){var _=j[0].type.defaultProps,T=_!==void 0?_t(_t({},_),j[0].props):j[0].props,M=T.barSize,O=T[x];l[O]||(l[O]=[]);var C=Te(M)?n:M;l[O].push({item:j[0],stackList:j.slice(1),barSize:Te(C)?void 0:yn(C,r,0)})}}return l},BJ=function(t){var n=t.barGap,r=t.barCategoryGap,a=t.bandSize,s=t.sizeList,l=s===void 0?[]:s,c=t.maxBarSize,f=l.length;if(f<1)return null;v
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ree(e,t){if(e){if(typeof e=="string")return AR(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return AR(e,t)}}function AR(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function iee(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,s,l,c=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(p){d=!0,a=p}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw a}}return c}}function aee(e){if(Array.isArray(e))return e}var qh=Math.PI/180,oee=function(t){return t*180/Math.PI},ft=function(t,n,r,a){return{x:t+Math.cos(-qh*a)*r,y:n+Math.sin(-qh*a)*r}},iB=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(t-(r.left||0)-(r.right||0)),Math.abs(n-(r.top||0)-(r.bottom||0)))/2},see=function(t,n,r,a,s){var l=t.width,c=t.height,f=t.startAngle,d=t.endAngle,p=yn(t.cx,l,l/2),m=yn(t.cy,c,c/2),g=iB(l,c,r),S=yn(t.innerRadius,g,0),A=yn(t.outerRadius,g,g*.8),w=Object.keys(n);return w.reduce(function(x,j){var _=n[j],T=_.domain,M=_.reversed,O;if(Te(_.range))a==="angleAxis"?O=[f,d]:a==="radiusAxis"&&(O=[S,A]),M&&(O=[O[1],O[0]]);else{O=_.range;var C=O,P=tee(C,2);f=P[0],d=P[1]}var R=Qz(_,s),k=R.realScaleType,U=R.scale;U.domain(T).range(O),Jz(U);var q=eB(U,Ai(Ai({},_),{},{realScaleType:k})),$=Ai(Ai(Ai({},_),q),{},{range:O,radius:A,realScaleType:k,scale:U,cx:p,cy:m,innerRadius:S,outerRadius:A,startAngle:f,endAngle:d});return Ai(Ai({},x),{},rB({},j,$))},{})},lee=function(t,n){var r=t.x,a=t.y,s=n.x,l=n.y;return Math.sqrt(Math.pow(r-s,2)+Math.pow(a-l,2))},uee=function(t,n){var r=t.x,a=t.y,s=n.cx,l=n.cy,c=lee({x:r,y:a},{x:s,y:l});if(c<=0)return{radius:c};var f=(r-s)/c,d=Math.acos(f);return a>l&&(d=2*Math.PI-d),{radius:c,angle:oee(d),angleInRadian:d}},cee=function(t){var n=t.startAngle,r=t.endAngle,a=Math.floor(n/360),s=Math.floor(r/360),l=Math.min(a,s);return{startAngle:n-l*360,endAngle:r-l*360}},fee=function(t,n){var r=n.startAngle,a=n.endAngle,s=Math.floor(r/360),l=Math.floor(a/360),c=Math.min(s,l);return t+c*360},jR=function(t,n){var r=t.x,a=t.y,s=uee({x:r,y:a},n),l=s.radius,c=s.angle,f=n.innerRadius,d=n.outerRadius;if(l<f||l>d)return!1;if(l===0)return!0;var p=cee(n),m=p.startAngle,g=p.endAngle,S=c,A;if(m<=g){for(;S>g;)S-=360;for(;S<m;)S+=360;A=S>=m&&S<=g}else{for(;S>m;)S-=360;for(;S<g;)S+=360;A=S>=g&&S<=m}return A?Ai(Ai({},n),{},{radius:l,angle:fee(S,n)}):null},aB=function(t){return!N.isValidElement(t)&&!Oe(t)&&typeof t!="boolean"?t.className:""};function wc(e){"@babel/helpers - typeof";return wc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wc(e)}var dee=["offset"];function hee(e){return vee(e)||yee(e)||mee(e)||pee()}function pee(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mee(e,t){if(e){if(typeof e=="string")return aS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return aS(e,t)}}function yee(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function vee(e){if(Array.isArray(e))return aS(e)}function aS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function gee(e,t){if(e==null)return{};var n=bee(e,t),r,a;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)r=s[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function bee(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function OR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function It(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?OR(Object(n),!0).forEach(function(r){xee(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):OR(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function xee(e,t,n){return t=See(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function See(e){var t=wee(e,"string");return wc(t)=="symbol"?t:t+""}function wee(e,t){if(wc(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(wc(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ac(){return Ac=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ac.apply(this,arguments)}var Aee=function(t){var n=t.value,r=t.formatter,a=Te(t.children)?n:t.children;return Oe(r)?r(a):a},jee=function(t,n){var r=mn(n-t),a=Math.min(Math.abs(n-t),360);return r*a},Oee=function(t,n,r){var a=t.position,s=t.viewBox,l=t.offset,c=t.className,f=s,d=f.cx,p=f.cy,m=f.innerRadius,g=f.outerRadius,S=f.startAngle,A=f.endAngle,w=f.clockWise,x=(m+g)/2,j=jee(S,A),_=j>=0?1:-1,T,M;a==="insideStart"?(T=S+_*l,M=w):a==="insideEnd"?(T=A-_*l,M=!w):a==="end"&&(T=A+_*l,M=w),M=j<=0?M:!M;var O=ft(d,p,x,T),C=ft(d,p,x,T+(M?1:-1)*359),P="M".concat(O.x,",").concat(O.y,`
A`).concat(x,",").concat(x,",0,1,").concat(M?0:1,`,
`).concat(C.x,",").concat(C.y),R=Te(t.id)?Co("recharts-radial-line-"):t.id;return B.createElement("text",Ac({},r,{dominantBaseline:"central",className:Pe("recharts-radial-bar-label",c)}),B.createElement("defs",null,B.createElement("path",{id:R,d:P})),B.createElement("textPath",{xlinkHref:"#".concat(R)},n))},_ee=function(t){var n=t.viewBox,r=t.offset,a=t.position,s=n,l=s.cx,c=s.cy,f=s.innerRadius,d=s.outerRadius,p=s.startAngle,m=s.endAngle,g=(p+m)/2;if(a==="outside"){var S=ft(l,c,d+r,g),A=S.x,w=S.y;return{x:A,y:w,textAnchor:A>=l?"start":"end",verticalAnchor:"middle"}}if(a==="center")return{x:l,y:c,textAnchor:"middle",verticalAnchor:"middle"};if(a==="centerTop")return{x:l,y:c,textAnchor:"middle",verticalAnchor:"start"};if(a==="centerBottom")return{x:l,y:c,textAnchor:"middle",verticalAnchor:"end"};var x=(f+d)/2,j=ft(l,c,x,g),_=j.x,T=j.y;return{x:_,y:T,textAnchor:"middle",verticalAnchor:"middle"}},Tee=function(t){var n=t.viewBox,r=t.parentViewBox,a=t.offset,s=t.position,l=n,c=l.x,f=l.y,d=l.width,p=l.height,m=p>=0?1:-1,g=m*a,S=m>0?"end":"start",A=m>0?"start":"end",w=d>=0?1:-1,x=w*a,j=w>0?"end":"start",_=w>0?"start":"end";if(s==="top"){var T={x:c+d/2,y:f-m*a,textAnchor:"middle",verticalAnchor:S};return It(It({},T),r?{height:Math.max(f-r.y,0),width:d}:{})}if(s==="bottom"){var M={x:c+d/2,y:f+p+g,textAnchor:"middle",verticalAnchor:A};return It(It({},M),r?{height:Math.max(r.y+r.height-(f+p),0),width:d}:{})}if(s==="left"){var O={x:c-x,y:f+p/2,textAnchor:j,verticalAnchor:"middle"};return It(It({},O),r?{width:Math.max(O.x-r.x,0),height:p}:{})}if(s==="right"){var C={x:c+d+x,y:f+p/2,textAnchor:_,verticalAnchor:"middle"};return It(It({},C),r?{width:Math.max(r.x+r.width-C.x,0),height:p}:{})}var P=r?{width:d,height:p}:{};return s==="insideLeft"?It({x:c+x,y:f+p/2,textAnchor:_,verticalAnchor:"middle"},P):s==="insideRight"?It({x:c+d-x,y:f+p/2,textAnchor:j,verticalAnchor:"middle"},P):s==="insideTop"?It({x:c+d/2,y:f+g,textAnchor:"middle",verticalAnchor:A},P):s==="insideBottom"?It({x:c+d/2,y:f+p-g,textAnchor:"middle",verticalAnchor:S},P):s==="insideTopLeft"?It({x:c+x,y:f+g,textAnchor:_,verticalAnchor:A},P):s==="insideTopRight"?It({x:c+d-x,y:f+g,textAnchor:j,verticalAnchor:A},P):s==="insideBottomLeft"?It({x:c+x,y:f+p-g,textAnchor:_,verticalAnchor:S},P):s==="insideBottomRight"?It({x:c+d-x,y:f+p-g,textAnchor:j,verticalAnchor:S},P):xl(s)&&(ue(s.x)||so(s.x))&&(ue(s.y)||so(s.y))?It({x:c+yn(s.x,d),y:f+yn(s.y,p),textAnchor:"end",verticalAnchor:"end"},P):It({x:c+d/2,y:f+p/2,textAnchor:"middle",verticalAnchor:"middle"},P)},Eee=function(t){return"cx"in t&&ue(t.cx)};function Wt(e){var t=e.offset,n=t===void 0?5:t,r=gee(e,dee),a=It({offset:n},r),s=a.viewBox,l=a.position,c=a.value,f=a.children,d=a.content,p=a.className,m=p===void 0?"":p,g=a.textBreakAll;if(!s||Te(c)&&Te(f)&&!N.isValidElement(d)&&!Oe(d))return null;if(N.isValidElement(d))return N.cloneElement(d,a);var S;if(Oe(d)){if(S=N.createElement(d,a),N.isValidElement(S))return S}else S=Aee(a);var A=Eee(s),w=be(a,!0);if(A&&(l==="insideStart"||l==="insideEnd"||l==="end"))return Oee(a,S,w);var x=A?_ee(a):Tee(a);return B.createElement(So,Ac({className:Pe("recharts-label",m)},w,x,{breakAll:g}),S)}Wt.displayName="Label";var oB=function(t){var n=t.cx,r=t.cy,a=t.angle,s=t.startAngle,l=t.endAngle,c=t.r,f=t.radius,d=t.innerRadius,p=t.outerRadius,m=t.x,g=t.y,S=t.top,A=t.left,w=t.width,x=t.height,j=t.clockWise,_=t.labelViewBox;if(_)return _;if(ue(w)&&ue(x)){if(ue(m)&&ue(g))return{x:m,y:g,width:w,height:x};if(ue(S)&&ue(A))return{x:S,y:A,width:w,height:x}}return ue(m)&&ue(g)?{x:m,y:g,width:0,height:0}:ue(n)&&ue(r)?{cx:n,cy:r,startAngle:s||a||0,endAngle:l||a||0,innerRadius:d||0,outerRadius:p||f||c||0,clockWise:j}:t.viewBox?t.viewBox:{}},Cee=function(t,n){return t?t===!0?B.createElement(Wt,{key:"label-implicit",viewBox:n}):Ht(t)?B.createElement(Wt,{key:"label-implicit",viewBox:n,value:t}):N.isValidElement(t)?t.type===Wt?N.cloneElement(t,{key:"label-implicit",viewBox:n}):B.createElement(Wt,{key:"label-implicit",content:t,viewBox:n}):Oe(t)?B.createElement(Wt,{key:"label-implicit",content:t,viewBox:n}):xl(t)?B.createEl
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zee(e,t){if(e){if(typeof e=="string")return oS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return oS(e,t)}}function Bee(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function qee(e){if(Array.isArray(e))return oS(e)}function oS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ih(){return Ih=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ih.apply(this,arguments)}function TR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function ER(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?TR(Object(n),!0).forEach(function(r){Iee(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):TR(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Iee(e,t,n){return t=Uee(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Uee(e){var t=Vee(e,"string");return jc(t)=="symbol"?t:t+""}function Vee(e,t){if(jc(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(jc(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function CR(e,t){if(e==null)return{};var n=Hee(e,t),r,a;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)r=s[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Hee(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var Gee=function(t){return Array.isArray(t.value)?Ree(t.value):t.value};function Yr(e){var t=e.valueAccessor,n=t===void 0?Gee:t,r=CR(e,Dee),a=r.data,s=r.dataKey,l=r.clockWise,c=r.id,f=r.textBreakAll,d=CR(r,kee);return!a||!a.length?null:B.createElement(Be,{className:"recharts-label-list"},a.map(function(p,m){var g=Te(s)?n(p,m):Ct(p&&p.payload,s),S=Te(c)?{}:{id:"".concat(c,"-").concat(m)};return B.createElement(Wt,Ih({},be(p,!0),d,S,{parentViewBox:p.parentViewBox,value:g,textBreakAll:f,viewBox:Wt.parseViewBox(Te(l)?p:ER(ER({},p),{},{clockWise:l})),key:"label-".concat(m),index:m}))}))}Yr.displayName="LabelList";function Fee(e,t){return e?e===!0?B.createElement(Yr,{key:"labelList-implicit",data:t}):B.isValidElement(e)||Oe(e)?B.createElement(Yr,{key:"labelList-implicit",data:t,content:e}):xl(e)?B.createElement(Yr,Ih({data:t},e,{key:"labelList-implicit"})):null:null}function Kee(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!e||!e.children&&n&&!e.label)return null;var r=e.children,a=Fn(r,Yr).map(function(l,c){return N.cloneElement(l,{data:t,key:"labelList-".concat(c)})});if(!n)return a;var s=Fee(e.label,t);return[s].concat(Lee(a))}Yr.renderCallByParent=Kee;function Oc(e){"@babel/helpers - typeof";return Oc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Oc(e)}function sS(){return sS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sS.apply(this,arguments)}function MR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(
A `).concat(s,",").concat(s,`,0,
`).concat(+(Math.abs(f)>180),",").concat(+(l>d),`,
`).concat(m.x,",").concat(m.y,`
`);if(a>0){var S=ft(n,r,a,l),A=ft(n,r,a,d);g+="L ".concat(A.x,",").concat(A.y,`
A `).concat(a,",").concat(a,`,0,
`).concat(+(Math.abs(f)>180),",").concat(+(l<=d),`,
`).concat(S.x,",").concat(S.y," Z")}else g+="L ".concat(n,",").concat(r," Z");return g},Qee=function(t){var n=t.cx,r=t.cy,a=t.innerRadius,s=t.outerRadius,l=t.cornerRadius,c=t.forceCornerRadius,f=t.cornerIsExternal,d=t.startAngle,p=t.endAngle,m=mn(p-d),g=Ld({cx:n,cy:r,radius:s,angle:d,sign:m,cornerRadius:l,cornerIsExternal:f}),S=g.circleTangency,A=g.lineTangency,w=g.theta,x=Ld({cx:n,cy:r,radius:s,angle:p,sign:-m,cornerRadius:l,cornerIsExternal:f}),j=x.circleTangency,_=x.lineTangency,T=x.theta,M=f?Math.abs(d-p):Math.abs(d-p)-w-T;if(M<0)return c?"M ".concat(A.x,",").concat(A.y,`
a`).concat(l,",").concat(l,",0,0,1,").concat(l*2,`,0
a`).concat(l,",").concat(l,",0,0,1,").concat(-l*2,`,0
`):sB({cx:n,cy:r,innerRadius:a,outerRadius:s,startAngle:d,endAngle:p});var O="M ".concat(A.x,",").concat(A.y,`
A`).concat(l,",").concat(l,",0,0,").concat(+(m<0),",").concat(S.x,",").concat(S.y,`
A`).concat(s,",").concat(s,",0,").concat(+(M>180),",").concat(+(m<0),",").concat(j.x,",").concat(j.y,`
A`).concat(l,",").concat(l,",0,0,").concat(+(m<0),",").concat(_.x,",").concat(_.y,`
`);if(a>0){var C=Ld({cx:n,cy:r,radius:a,angle:d,sign:m,isExternal:!0,cornerRadius:l,cornerIsExternal:f}),P=C.circleTangency,R=C.lineTangency,k=C.theta,U=Ld({cx:n,cy:r,radius:a,angle:p,sign:-m,isExternal:!0,cornerRadius:l,cornerIsExternal:f}),q=U.circleTangency,$=U.lineTangency,F=U.theta,X=f?Math.abs(d-p):Math.abs(d-p)-k-F;if(X<0&&l===0)return"".concat(O,"L").concat(n,",").concat(r,"Z");O+="L".concat($.x,",").concat($.y,`
A`).concat(l,",").concat(l,",0,0,").concat(+(m<0),",").concat(q.x,",").concat(q.y,`
A`).concat(a,",").concat(a,",0,").concat(+(X>180),",").concat(+(m>0),",").concat(P.x,",").concat(P.y,`
A`).concat(l,",").concat(l,",0,0,").concat(+(m<0),",").concat(R.x,",").concat(R.y,"Z")}else O+="L".concat(n,",").concat(r,"Z");return O},Jee={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},lB=function(t){var n=PR(PR({},Jee),t),r=n.cx,a=n.cy,s=n.innerRadius,l=n.outerRadius,c=n.cornerRadius,f=n.forceCornerRadius,d=n.cornerIsExternal,p=n.startAngle,m=n.endAngle,g=n.className;if(l<s||p===m)return null;var S=Pe("recharts-sector",g),A=l-s,w=yn(c,A,0,!0),x;return w>0&&Math.abs(p-m)<360?x=Qee({cx:r,cy:a,innerRadius:s,outerRadius:l,cornerRadius:Math.min(w,A/2),forceCornerRadius:f,cornerIsExternal:d,startAngle:p,endAngle:m}):x=sB({cx:r,cy:a,innerRadius:s,outerRadius:l,startAngle:p,endAngle:m}),B.createElement("path",sS({},be(n,!0),{className:S,d:x,role:"img"}))};function _c(e){"@babel/helpers - typeof";return _c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_c(e)}function lS(){return lS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lS.apply(this,arguments)}function NR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function RR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?NR(Object(n),!0).forEach(function(r){ete(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):NR(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ete(e,t,n){return t=tte(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tte(e){var t=nte(e,"string");return _c(t)=="symbol"?t:t+""}function nte(e,t){if(_c(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(_c(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var DR={curveBasisClosed:wF,curveBasisOpen:AF,curveBasis:SF,curveBumpX:sF,curveBumpY:lF,curveLinearClosed:jF,curveLinear:Pp,curveMonotoneX:OF,curveMonotoneY:_F,curveNatural:TF,curveStep:EF,curveStepAfter:MF,curveStepBefore:CF},$d=function(t){return t.x===+t.x&&t.y===+t.y},Pu=function(t){return t.x},Nu=function(t){return t.y},rte=function(t,n){if(Oe(t))return t;var r="curve".concat(Cp(t));return(r==="curveMonotone"||r==="curveBump")&&n?DR["".concat(r).concat(n==="vertical"?"Y":"X")]:DR[r]||Pp},ite=function(t){var n=t.type,r=n===void 0?"linear":n,a=t.points,s=a===void 0?[]:a,l=t.baseLine,c=t.layout,f=t.connectNulls,d=f===void 0?!1:f,p=rte(r,c),m=d?s.filter(function(w){return $d(w)}):s,g;if(Array.isArray(l)){var S=d?l.filter(function(w){return $d(w)}):l,A=m.map(function(w,x){return RR(RR({},w),{},{base:S[x]})});return c==="vertical"?g=Ed().y(Nu).x1(Pu).x0(function(w){return w.base.x}):g=Ed().x(Pu).y1(Nu).y0(function(w){return w.base.y}),g.defined($d).curve(p),g(A)}return c==="vertical"&&ue(l)?g=Ed().y(Nu).x1(Pu).x0(l):ue(l)?g=Ed().x(Pu).y1(Nu).y0(l):g=s$().x(Pu).y(Nu),g.defined($d).curve(p),g(m)},vo=function(t){var n=t.className,r=t.points,a=t.path,s=t.pathRef;if((!r||!r.length)&&!a)return null;var l=r&&r.length?ite(t):a;return N.createElement("path",lS({},be(t,!1),dh(t),{className:Pe("recharts-curve",n),d:l,ref:s}))},m0={exports:{}},y0,kR;function ate(){if(kR)return y0;kR=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return y0=e,y0}var v0,LR;function ote(){if(LR)return v0;LR=1;var e=ate();function t(){}function n(){}return n.resetWarningCache=t,v0=function(){function r(l,c,f,d,p,m){if(m!==e){var g=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.chec
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Zte(e,t){if(e){if(typeof e=="string")return HR(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return HR(e,t)}}function HR(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Qte(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Jte(e){if(Array.isArray(e))return e}function ene(){var e={},t=function(){return null},n=!1,r=function a(s){if(!n){if(Array.isArray(s)){if(!s.length)return;var l=s,c=Xte(l),f=c[0],d=c.slice(1);if(typeof f=="number"){VR(a.bind(null,d),f);return}a(f),VR(a.bind(null,d));return}uS(s)==="object"&&(e=s,t(e)),typeof s=="function"&&s()}};return{stop:function(){n=!0},start:function(s){n=!1,r(s)},subscribe:function(s){return t=s,function(){t=function(){return null}}}}}function Tc(e){"@babel/helpers - typeof";return Tc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Tc(e)}function GR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function FR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?GR(Object(n),!0).forEach(function(r){cB(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):GR(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function cB(e,t,n){return t=tne(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tne(e){var t=nne(e,"string");return Tc(t)==="symbol"?t:String(t)}function nne(e,t){if(Tc(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Tc(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var rne=function(t,n){return[Object.keys(t),Object.keys(n)].reduce(function(r,a){return r.filter(function(s){return a.includes(s)})})},ine=function(t){return t},ane=function(t){return t.replace(/([A-Z])/g,function(n){return"-".concat(n.toLowerCase())})},Xu=function(t,n){return Object.keys(n).reduce(function(r,a){return FR(FR({},r),{},cB({},a,t(a,n[a])))},{})},KR=function(t,n,r){return t.map(function(a){return"".concat(ane(a)," ").concat(n,"ms ").concat(r)}).join(",")};function one(e,t){return une(e)||lne(e,t)||fB(e,t)||sne()}function sne(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function lne(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,s,l,c=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(p){d=!0,a=p}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw a}}return c}}function une(e){if(Array.isArray(e))return e}function cne(e){return hne(e)||dne(e)||fB(e)||fne()}function fne(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function fB(e,t){if(e){if(typeof e=="string")return cS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return cS(e,t)}}function dne(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function hne(e){if(Array.isArray(e))return cS(e)}function cS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Vh=1e-4,dB=function(t,n){return[0,3*t,3*n-6*t,3*t-3*n+1]},hB=function(t,n){return t.map(function(r,a){return r*Math.pow(n,a)}).reduce(function(r,a){return r+a})},YR=function(t,n){return function(r){var a=dB(t,n);return hB(a,r)}},pne=function(t,n){return function(r){var a=dB(t,n),s=[].concat(cne(a.map(function(l,c){return l*c}).slice(1)),[0]);return hB(s,r)}},XR=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var a=n[0],s=n[1],l=n[2],c=n[3];if(n.length===1)switch(n[0]){case"linear":a=0,s=0,l=1,c=1;break;case"ease":a=.25,s=.1,l=.25,c=1;break;case"ease-in":a=.42,s=0,l=1,c=1;break;case"ease-out":a=.42,s=0,l=.58,c=1;break;case"ease-in-out":a=0,s=0,l=.58,c=1;break;default:{var f=n[0].split("(");if(f[0]==="cubic-bezier"&&f[1].split(")")[0].split(",").length===4){var d=f[1].split(")")[0].split(",").map(function(x){return parseFloat(x)}),p=one(d,4);a=p[0],s=p[1],l=p[2],c=p[3]}}}var m=YR(a,l),g=YR(s,c),S=pne(a,l),A=function(j){return j>1?1:j<0?0:j},w=function(j){for(var _=j>1?1:j,T=_,M=0;M<8;++M){var O=m(T)-_,C=S(T);if(Math.abs(O-_)<Vh||C<Vh)return g(T);T=A(T-O/C)}return g(T)};return w.isStepper=!1,w},mne=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.stiff,r=n===void 0?100:n,a=t.damping,s=a===void 0?8:a,l=t.dt,c=l===void 0?17:l,f=function(p,m,g){var S=-(p-m)*r,A=g*s,w=g+(S-A)*c/1e3,x=g*c/1e3+p;return Math.abs(x-m)<Vh&&Math.abs(w)<Vh?[m,0]:[x,w]};return f.isStepper=!0,f.dt=c,f},yne=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var a=n[0];if(typeof a=="string")switch(a){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return XR(a);case"spring":return mne();default:if(a.split("(")[0]==="cubic-bezier")return XR(a)}return typeof a=="function"?a:null};function Ec(e){"@babel/helpers - typeof";return Ec=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ec(e)}function WR(e){return bne(e)||gne(e)||pB(e)||vne()}function vne(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function gne(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function bne(e){if(Array.isArray(e))return dS(e)}function ZR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function rn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ZR(Object(n),!0).forEach(function(r){fS(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ZR(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function fS(e,t,n){return t=xne(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xne(e){var t=Sne(e,"string");return Ec(t)==="symbol"?t:String(t)}function Sne(e,t){if(Ec(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Ec(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function wne(e,t){return One(e)||jne(e,t)||pB(e,t)||Ane()}function Ane(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pB(e,t){if(e){if(typeof e=="string")return dS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return dS(e,t)}}function dS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function jne(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,s,l,c=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(p){d=!0,a=p}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw a}}return c}}function One(e){if(Array.isArray(e))return e}var Hh=function(t,n,r){return t+(n-t)*r},hS=function(t){var n=t.from,r=t.to;return n!==r},_ne=function e(t,n,r){var a=Xu(function(s,l){if(hS(l)){var c=t(l.from,l.to,l.velocity),f=wne(c,2),d=f[0],p=f[1];return rn(rn({},l),{},{from:d,velocity:p})}return l},n);return r<1?Xu(function(s,l){return hS(l)?rn(rn({},l),{},{velocity:Hh(l.velocity,a[s].velocity,r),from:Hh(l.from,a[s].from,r)}):l},n):e(t,a,r-1)};const Tne=(function(e,t,n,r,a){var s=rne(e,t),l=s.reduce(function(x,j){return rn(rn({},x),{},fS({},j,[e[j],t[j]]))},{}),c=s.reduce(function(x,j){return rn(rn({},x),{},fS({},j,{from:e[j],velocity:0,to:t[j]}))},{}),f=-1,d,p,m=function(){return null},g=function(){return Xu(function(j,_){return _.from},c)},S=function(){return!Object.values(c).filter(hS).length},A=function(j){d||(d=j);var _=j-d,T=_/n.dt;c=_ne(n,c,T),a(rn(rn(rn({},e),t),g())),d=j,S()||(f=requestAnimationFrame(m))},w=function(j){p||(p=j);var _=(j-p)/r,T=Xu(function(O,C){return Hh.apply(void 0,WR(C).concat([n(_)]))},l);if(a(rn(rn(rn({},e),t),T)),_<1)f=requestAnimationFrame(m);else{var M=Xu(function(O,C){return Hh.apply(void 0,WR(C).concat([n(1)]))},l);a(rn(rn(rn({},e),t),M))}};return m=n.isStepper?A:w,function(){return requestAnimationFrame(m),function(){cancelAnimationFrame(f)}}});function Ys(e){"@babel/helpers - typeof";return Ys=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ys(e)}var Ene=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function Cne(e,t){if(e==null)return{};var n=Mne(e,t),r,a;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)r=s[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Mne(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,s;for(s=0;s<r.length;s++)a=r[s],!(t.indexOf(a)>=0)&&(n[a]=e[a]);return n}function b0(e){return Dne(e)||Rne(e)||Nne(e)||Pne()}function Pne(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Nne(e,t){if(e){if(typeof e=="string")return pS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return pS(e,t)}}function Rne(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Dne(e){if(Array.isArray(e))return pS(e)}function pS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function QR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function xr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?QR(Object(n),!0).forEach(function(r){qu(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):QR(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function qu(e,t,n){return t=mB(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,mB(r.key),r)}}function $ne(e,t,n){return t&&Lne(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function mB(e){var t=zne(e,"string");return Ys(t)==="symbol"?t:String(t)}function zne(e,t){if(Ys(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Ys(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Bne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&mS(e,t)}function mS(e,t){return mS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},mS(e,t)}function qne(e){var t=Ine();return function(){var r=Gh(e),a;if(t){var s=Gh(this).constructor;a=Reflect.construct(r,arguments,s)}else a=r.apply(this,arguments);return yS(this,a)}}function yS(e,t){if(t&&(Ys(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return vS(e)}function vS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ine(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Gh(e){return Gh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Gh(e)}var Cr=(function(e){Bne(n,e);var t=qne(n);function n(r,a){var s;kne(this,n),s=t.call(this,r,a);var l=s.props,c=l.isActive,f=l.attributeName,d=l.from,p=l.to,m=l.steps,g=l.children,S=l.duration;if(s.handleStyleChange=s.handleStyleChange.bind(vS(s)),s.changeStyle=s.changeStyle.bind(vS(s)),!c||S<=0)return s.state={style:{}},typeof g=="function"&&(s.state={style:p}),yS(s);if(m&&m.length)s.state={style:m[0].style};else if(d){if(typeof g=="function")return s.state={style:d},yS(s);s.state={style:f?qu({},f,d):d}}else s.state={style:{}};return s}return $ne(n,[{key:"componentDidMount",value:function(){var a=this.props,s=a.isActive,l=a.canBegin;this.mounted=!0,!(!s||!l)&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(a){var s=this.props,l=s.isActive,c=s.canBegin,f=s.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Hne(e,t){if(e){if(typeof e=="string")return JR(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return JR(e,t)}}function JR(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Gne(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,s,l,c=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(p){d=!0,a=p}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw a}}return c}}function Fne(e){if(Array.isArray(e))return e}function eD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function tD(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?eD(Object(n),!0).forEach(function(r){Kne(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eD(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Kne(e,t,n){return t=Yne(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yne(e){var t=Xne(e,"string");return Cc(t)=="symbol"?t:t+""}function Xne(e,t){if(Cc(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Cc(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var nD=function(t,n,r,a,s){var l=Math.min(Math.abs(r)/2,Math.abs(a)/2),c=a>=0?1:-1,f=r>=0?1:-1,d=a>=0&&r>=0||a<0&&r<0?1:0,p;if(l>0&&s instanceof Array){for(var m=[0,0,0,0],g=0,S=4;g<S;g++)m[g]=s[g]>l?l:s[g];p="M".concat(t,",").concat(n+c*m[0]),m[0]>0&&(p+="A ".concat(m[0],",").concat(m[0],",0,0,").concat(d,",").concat(t+f*m[0],",").concat(n)),p+="L ".concat(t+r-f*m[1],",").concat(n),m[1]>0&&(p+="A ".concat(m[1],",").concat(m[1],",0,0,").concat(d,`,
`).concat(t+r,",").concat(n+c*m[1])),p+="L ".concat(t+r,",").concat(n+a-c*m[2]),m[2]>0&&(p+="A ".concat(m[2],",").concat(m[2],",0,0,").concat(d,`,
`).concat(t+r-f*m[2],",").concat(n+a)),p+="L ".concat(t+f*m[3],",").concat(n+a),m[3]>0&&(p+="A ".concat(m[3],",").concat(m[3],",0,0,").concat(d,`,
`).concat(t,",").concat(n+a-c*m[3])),p+="Z"}else if(l>0&&s===+s&&s>0){var A=Math.min(l,s);p="M ".concat(t,",").concat(n+c*A,`
A `).concat(A,",").concat(A,",0,0,").concat(d,",").concat(t+f*A,",").concat(n,`
L `).concat(t+r-f*A,",").concat(n,`
A `).concat(A,",").concat(A,",0,0,").concat(d,",").concat(t+r,",").concat(n+c*A,`
L `).concat(t+r,",").concat(n+a-c*A,`
A `).concat(A,",").concat(A,",0,0,").concat(d,",").concat(t+r-f*A,",").concat(n+a,`
L `).concat(t+f*A,",").concat(n+a,`
A `).concat(A,",").concat(A,",0,0,").concat(d,",").concat(t,",").concat(n+a-c*A," Z")}else p="M ".concat(t,",").concat(n," h ").concat(r," v ").concat(a," h ").concat(-r," Z");return p},Wne=function(t,n){if(!t||!n)return!1;var r=t.x,a=t.y,s=n.x,l=n.y,c=n.width,f=n.height;if(Math.abs(c)>0&&Math.abs(f)>0){var d=Math.min(s,s+c),p=Math.max(s,s+c),m=Math.min(l,l+f),g=Math.max(l,l+f);return r>=d&&r<=p&&a>=m&&a<=g}return!1},Zne={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},MA=function(t){var n=tD(tD({},Zne),t),r=N.useRef(),a=N.useState(-1),s=Une(a,2),l=s[0],c=s[1];N.useEffect(function(){if(r.current&&r.current.getTotalLength)try{var M=r.current.getTotalLength();M&&c(M)}catch{}},[]);var f=n.x,d=n.y,p=n.width,m=n.height,g=n.radius,S=n.className,A=n.animationEasing,w=n.animationDuration,x=n.animationBegin,j=n.isAnimationActive,_=n.isUpdateAnimationActive;if(f!==+f||d!==+d||p!==+p||m!==+m||p===0||m===0)return null;var T=Pe("recharts-rectangle",S);return _?B.createElement(Cr,{canBegin:l>0,from:{width:p,height:m,x:f,y:d},to:{width:p,height:m,x:f,y:d},duration:w,animationEasing:A,isActive:_},function(M){var O=M.width,C=M.height,P=M.x,R=M.y;return B.createElement(Cr,{canBegin:l>0,from:"0px ".concat(l===-1?1:l,"px"),to:"".concat(l,"px 0px"),attributeName:"strokeDasharray",begin:x,duration:w,isActive:j,easing:A},B.createElement("path",Fh({},be(n,!0),{className:T,d:nD(P,R,O,C,g),ref:r})))}):B.createElement("path",Fh({},be(n,!0),{className:T,d:nD(f,d,p,m,g)}))},Qne=["points","className","baseLinePoints","connectNulls"];function Ts(){return Ts=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ts.apply(this,arguments)}function Jne(e,t){if(e==null)return{};var n=ere(e,t),r,a;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)r=s[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function ere(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function rD(e){return ire(e)||rre(e)||nre(e)||tre()}function tre(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function nre(e,t){if(e){if(typeof e=="string")return gS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gS(e,t)}}function rre(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ire(e){if(Array.isArray(e))return gS(e)}function gS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var iD=function(t){return t&&t.x===+t.x&&t.y===+t.y},are=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=[[]];return t.forEach(function(r){iD(r)?n[n.length-1].push(r):n[n.length-1].length>0&&n.push([])}),iD(t[0])&&n[n.length-1].push(t[0]),n[n.length-1].length<=0&&(n=n.slice(0,-1)),n},Wu=function(t,n){var r=are(t);n&&(r=[r.reduce(function(s,l){return[].concat(rD(s),rD(l))},[])]);var a=r.map(function(s){return s.reduce(function(l,c,f){return"".concat(l).concat(f===0?"M":"L").concat(c.x,",").concat(c.y)},"")}).join("");return r.length===1?"".concat(a,"Z"):a},ore=function(t,n,r){var a=Wu(t,r);return"".concat(a.slice(-1)==="Z"?a.slice(0,-1):a,"L").concat(Wu(n.reverse(),r).slice(1))},sre=function(t){var n=t.points,r=t.className,a=t.baseLinePoints,s=t.connectNulls,l=Jne(t,Qne);if(!n||!n.length)return null;var c=Pe("recharts-polygon",r);if(a&&a.length){var f=l.stroke&&l.stroke!=="none",d=ore(n,a,s);return B.createElement("g",{className:c},B.createElement("path",Ts({},be(l,!0),{fill:d.slice(-1)==="Z"?l.fill:"none",stroke:"none",d})),f?B.createElement("path",Ts({},be(l,!0),{fill:"none",d:Wu(n,s)})):null,f?B.createElement("path",Ts({},be(l,!0),{fill:"none",d:Wu(a,s)})):null)}var p=Wu(n,s);return B.createElement("path",Ts({},be(l,!0),{fill:p.slice(-1)==="Z"?l.fill:"none",className:c,d:p}))};function bS(){return bS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bS.apply(this,arguments)}var Jc=function(t){var n=t.cx,r=t.cy,a=t.r,s=t.className,l=Pe("recharts-dot",s);return n===+n&&r===+r&&a===+a?N.createElement("circle",bS({},be(t,!1),dh(t),{className:l,cx:n,cy:r,r:a})):null};function Mc(e){"@babel/helpers - typeof";return Mc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mc(e)}var lre=["x","y","top","left","width","height","className"];function xS(){return xS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xS.apply(this,arguments)}function aD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function ure(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?aD(Object(n),!0).forEach(function(r){cre(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):aD(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function cre(e,t,n){return t=fre(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fre(e){var t=dre(e,"string");return Mc(t)=="symbol"?t:t+""}function dre(e,t){if(Mc(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Mc(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function hre(e,t){if(e==null)return{};var n=pre(e,t),r,a;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Wre(e,t){if(e){if(typeof e=="string")return vD(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return vD(e,t)}}function vD(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Zre(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,s,l,c=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(p){d=!0,a=p}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw a}}return c}}function Qre(e){if(Array.isArray(e))return e}function gD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function bD(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?gD(Object(n),!0).forEach(function(r){Jre(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gD(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Jre(e,t,n){return t=eie(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eie(e){var t=tie(e,"string");return Pc(t)=="symbol"?t:t+""}function tie(e,t){if(Pc(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Pc(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var xD=function(t,n,r,a,s){var l=r-a,c;return c="M ".concat(t,",").concat(n),c+="L ".concat(t+r,",").concat(n),c+="L ".concat(t+r-l/2,",").concat(n+s),c+="L ".concat(t+r-l/2-a,",").concat(n+s),c+="L ".concat(t,",").concat(n," Z"),c},nie={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},rie=function(t){var n=bD(bD({},nie),t),r=N.useRef(),a=N.useState(-1),s=Yre(a,2),l=s[0],c=s[1];N.useEffect(function(){if(r.current&&r.current.getTotalLength)try{var T=r.current.getTotalLength();T&&c(T)}catch{}},[]);var f=n.x,d=n.y,p=n.upperWidth,m=n.lowerWidth,g=n.height,S=n.className,A=n.animationEasing,w=n.animationDuration,x=n.animationBegin,j=n.isUpdateAnimationActive;if(f!==+f||d!==+d||p!==+p||m!==+m||g!==+g||p===0&&m===0||g===0)return null;var _=Pe("recharts-trapezoid",S);return j?B.createElement(Cr,{canBegin:l>0,from:{upperWidth:0,lowerWidth:0,height:g,x:f,y:d},to:{upperWidth:p,lowerWidth:m,height:g,x:f,y:d},duration:w,animationEasing:A,isActive:j},function(T){var M=T.upperWidth,O=T.lowerWidth,C=T.height,P=T.x,R=T.y;return B.createElement(Cr,{canBegin:l>0,from:"0px ".concat(l===-1?1:l,"px"),to:"".concat(l,"px 0px"),attributeName:"strokeDasharray",begin:x,duration:w,easing:A},B.createElement("path",Xh({},be(n,!0),{className:_,d:xD(P,R,M,O,C),ref:r})))}):B.createElement("g",null,B.createElement("path",Xh({},be(n,!0),{className:_,d:xD(f,d,p,m,g)})))},iie=["option","shapeType","propTransformer","activeClassName","isActive"];function Nc(e){"@babel/helpers - typeof";return Nc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Nc(e)}function aie(e,t){if(e==null)return{};var n=oie(e,t),r,a;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)r=s[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function oie(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function S
the props "valueKey" will be deprecated in 1.1.0`),j="value"):Te(d)&&(Tr(!1,`Use "dataKey" to specify the value of pie,
the props "valueKey" will be deprecated in 1.1.0`),j=m);var _=a.filter(function(R){return Ct(R,j,0)!==0}).length,T=(x>=360?_:_-1)*f,M=x-_*S-T,O=a.reduce(function(R,k){var U=Ct(k,j,0);return R+(ue(U)?U:0)},0),C;if(O>0){var P;C=a.map(function(R,k){var U=Ct(R,j,0),q=Ct(R,p,k),$=(ue(U)?U:0)/O,F;k?F=P.endAngle+mn(w)*f*(U!==0?1:0):F=l;var X=F+mn(w)*((U!==0?S:0)+$*M),Y=(F+X)/2,z=(A.innerRadius+A.outerRadius)/2,K=[{name:q,value:U,payload:R,dataKey:j,type:g}],Q=ft(A.cx,A.cy,z,Y);return P=ut(ut(ut({percent:$,cornerRadius:s,name:q,tooltipPayload:K,midAngle:Y,middleRadius:z,tooltipPosition:Q},R),A),{},{value:Ct(R,j),startAngle:F,endAngle:X,payload:R,paddingAngle:mn(w)*f}),P})}return ut(ut({},A),{},{sectors:C,data:a})});var O0,OD;function Tie(){if(OD)return O0;OD=1;var e=Math.ceil,t=Math.max;function n(r,a,s,l){for(var c=-1,f=t(e((a-r)/(s||1)),0),d=Array(f);f--;)d[l?f:++c]=r,r+=s;return d}return O0=n,O0}var _0,_D;function AB(){if(_D)return _0;_D=1;var e=F$(),t=1/0,n=17976931348623157e292;function r(a){if(!a)return a===0?a:0;if(a=e(a),a===t||a===-t){var s=a<0?-1:1;return s*n}return a===a?a:0}return _0=r,_0}var T0,TD;function Eie(){if(TD)return T0;TD=1;var e=Tie(),t=kp(),n=AB();function r(a){return function(s,l,c){return c&&typeof c!="number"&&t(s,l,c)&&(l=c=void 0),s=n(s),l===void 0?(l=s,s=0):l=n(l),c=c===void 0?s<l?1:-1:n(c),e(s,l,c,a)}}return T0=r,T0}var E0,ED;function Cie(){if(ED)return E0;ED=1;var e=Eie(),t=e();return E0=t,E0}var Mie=Cie();const Qh=et(Mie);function Dc(e){"@babel/helpers - typeof";return Dc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Dc(e)}function CD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function MD(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?CD(Object(n),!0).forEach(function(r){jB(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):CD(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function jB(e,t,n){return t=Pie(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pie(e){var t=Nie(e,"string");return Dc(t)=="symbol"?t:t+""}function Nie(e,t){if(Dc(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Dc(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Rie=["Webkit","Moz","O","ms"],Die=function(t,n){var r=t.replace(/(\w)/,function(s){return s.toUpperCase()}),a=Rie.reduce(function(s,l){return MD(MD({},s),{},jB({},l+r,n))},{});return a[t]=n,a};function Qs(e){"@babel/helpers - typeof";return Qs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qs(e)}function Jh(){return Jh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Jh.apply(this,arguments)}function PD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function C0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?PD(Object(n),!0).forEach(function(r){qn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):PD(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function kie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class a
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Xae(e,t){if(e){if(typeof e=="string")return ek(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ek(e,t)}}function ek(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Wae(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,s,l,c=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(p){d=!0,a=p}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw a}}return c}}function Zae(e){if(Array.isArray(e))return e}function ES(){return ES=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ES.apply(this,arguments)}var Qae=function(t,n){var r;return B.isValidElement(t)?r=B.cloneElement(t,n):Oe(t)?r=t(n):r=B.createElement("line",ES({},n,{className:"recharts-reference-line-line"})),r},Jae=function(t,n,r,a,s,l,c,f,d){var p=s.x,m=s.y,g=s.width,S=s.height;if(r){var A=d.y,w=t.y.apply(A,{position:l});if(Xr(d,"discard")&&!t.y.isInRange(w))return null;var x=[{x:p+g,y:w},{x:p,y:w}];return f==="left"?x.reverse():x}if(n){var j=d.x,_=t.x.apply(j,{position:l});if(Xr(d,"discard")&&!t.x.isInRange(_))return null;var T=[{x:_,y:m+S},{x:_,y:m}];return c==="top"?T.reverse():T}if(a){var M=d.segment,O=M.map(function(C){return t.apply(C,{position:l})});return Xr(d,"discard")&&Fie(O,function(C){return!t.isInRange(C)})?null:O}return null};function eoe(e){var t=e.x,n=e.y,r=e.segment,a=e.xAxisId,s=e.yAxisId,l=e.shape,c=e.className,f=e.alwaysShow,d=Dae(),p=BB(a),m=qB(s),g=$ae();if(!d||!g)return null;Tr(f===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var S=NA({x:p.scale,y:m.scale}),A=Ht(t),w=Ht(n),x=r&&r.length===2,j=Jae(S,A,w,x,g,e.position,p.orientation,m.orientation,e);if(!j)return null;var _=Kae(j,2),T=_[0],M=T.x,O=T.y,C=_[1],P=C.x,R=C.y,k=Xr(e,"hidden")?"url(#".concat(d,")"):void 0,U=JD(JD({clipPath:k},be(e,!0)),{},{x1:M,y1:O,x2:P,y2:R});return B.createElement(Be,{className:Pe("recharts-reference-line",c)},Qae(l,U),Wt.renderCallByParent(e,wae({x1:M,y1:O,x2:P,y2:R})))}var zA=(function(e){function t(){return Bae(this,t),Uae(this,t,arguments)}return Gae(t,e),Iae(t,[{key:"render",value:function(){return B.createElement(eoe,this.props)}}])})(B.Component);$A(zA,"displayName","ReferenceLine");$A(zA,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});function CS(){return CS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},CS.apply(this,arguments)}function nl(e){"@babel/helpers - typeof";return nl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nl(e)}function tk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function nk(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?tk(Object(n),!0).forEach(function(r){em(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function toe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function noe(e,t){for(var n=0;n<t.length;n++
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function nse(e,t){if(e){if(typeof e=="string")return DS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return DS(e,t)}}function rse(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ise(e){if(Array.isArray(e))return DS(e)}function DS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ase(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dk(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,QB(r.key),r)}}function ose(e,t,n){return t&&dk(e.prototype,t),n&&dk(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function sse(e,t,n){return t=up(t),lse(e,ZB()?Reflect.construct(t,n||[],up(e).constructor):t.apply(e,n))}function lse(e,t){if(t&&(al(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return use(e)}function use(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ZB=function(){return!!e})()}function up(e){return up=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},up(e)}function cse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&kS(e,t)}function kS(e,t){return kS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},kS(e,t)}function Ar(e,t,n){return t=QB(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function QB(e){var t=fse(e,"string");return al(t)=="symbol"?t:t+""}function fse(e,t){if(al(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(al(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var ef=(function(e){function t(){var n;ase(this,t);for(var r=arguments.length,a=new Array(r),s=0;s<r;s++)a[s]=arguments[s];return n=sse(this,t,[].concat(a)),Ar(n,"state",{isAnimationFinished:!0,totalLength:0}),Ar(n,"generateSimpleStrokeDasharray",function(l,c){return"".concat(c,"px ").concat(l-c,"px")}),Ar(n,"getStrokeDasharray",function(l,c,f){var d=f.reduce(function(j,_){return j+_});if(!d)return n.generateSimpleStrokeDasharray(c,l);for(var p=Math.floor(l/d),m=l%d,g=c-l,S=[],A=0,w=0;A<f.length;w+=f[A],++A)if(w+f[A]>m){S=[].concat(xs(f.slice(0,A)),[m-w]);break}var x=S.length%2===0?[0,g]:[g];return[].concat(xs(t.repeat(f,p)),xs(S),x).map(function(j){return"".concat(j,"px")}).join(", ")}),Ar(n,"id",Co("recharts-line-")),Ar(n,"pathRef",function(l){n.mainCurve=l}),Ar(n,"handleAnimationEnd",function(){n.setState({isAnimationFinished:!0}),n.props.onAnimationEnd&&n.props.onAnimationEnd()}),Ar(n,"handleAnimationStart",function(){n.setState({isAnimationFinished:!1}),n.props.onAnimationStart&&n.props.onAnimationStart()}),n}return cse(t,e),ose(t,[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var r=this.getTotalLength();this.setState({totalLength:r})}}},{key:"componentDidUpdate",value:function(){if(this.props.isAnimationActive){var r=this.getTotalLength();r!==this.state.totalLength&&this.setState({totalLength:r})}}},{key:"getTotalLength",value:function(){var r=this.mainCurve;try{return r&&r.getTotalLength&&r.getTotalLength()||0}catch{return 0}}},{key:"renderErrorBar",value:function(r,a){if(this.props.isAnima
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ise(e,t){if(e){if(typeof e=="string")return IS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return IS(e,t)}}function Use(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Vse(e){if(Array.isArray(e))return IS(e)}function IS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var US=function(t,n,r,a,s){var l=Fn(t,zA),c=Fn(t,tm),f=[].concat(mk(l),mk(c)),d=Fn(t,rm),p="".concat(a,"Id"),m=a[0],g=n;if(f.length&&(g=f.reduce(function(w,x){if(x.props[p]===r&&Xr(x.props,"extendDomain")&&ue(x.props[m])){var j=x.props[m];return[Math.min(w[0],j),Math.max(w[1],j)]}return w},g)),d.length){var S="".concat(m,"1"),A="".concat(m,"2");g=d.reduce(function(w,x){if(x.props[p]===r&&Xr(x.props,"extendDomain")&&ue(x.props[S])&&ue(x.props[A])){var j=x.props[S],_=x.props[A];return[Math.min(w[0],j,_),Math.max(w[1],j,_)]}return w},g)}return s&&s.length&&(g=s.reduce(function(w,x){return ue(x)?[Math.min(w[0],x),Math.max(w[1],x)]:w},g)),g},U0={exports:{}},yk;function Hse(){return yk||(yk=1,(function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1));function a(f,d,p){this.fn=f,this.context=d,this.once=p||!1}function s(f,d,p,m,g){if(typeof p!="function")throw new TypeError("The listener must be a function");var S=new a(p,m||f,g),A=n?n+d:d;return f._events[A]?f._events[A].fn?f._events[A]=[f._events[A],S]:f._events[A].push(S):(f._events[A]=S,f._eventsCount++),f}function l(f,d){--f._eventsCount===0?f._events=new r:delete f._events[d]}function c(){this._events=new r,this._eventsCount=0}c.prototype.eventNames=function(){var d=[],p,m;if(this._eventsCount===0)return d;for(m in p=this._events)t.call(p,m)&&d.push(n?m.slice(1):m);return Object.getOwnPropertySymbols?d.concat(Object.getOwnPropertySymbols(p)):d},c.prototype.listeners=function(d){var p=n?n+d:d,m=this._events[p];if(!m)return[];if(m.fn)return[m.fn];for(var g=0,S=m.length,A=new Array(S);g<S;g++)A[g]=m[g].fn;return A},c.prototype.listenerCount=function(d){var p=n?n+d:d,m=this._events[p];return m?m.fn?1:m.length:0},c.prototype.emit=function(d,p,m,g,S,A){var w=n?n+d:d;if(!this._events[w])return!1;var x=this._events[w],j=arguments.length,_,T;if(x.fn){switch(x.once&&this.removeListener(d,x.fn,void 0,!0),j){case 1:return x.fn.call(x.context),!0;case 2:return x.fn.call(x.context,p),!0;case 3:return x.fn.call(x.context,p,m),!0;case 4:return x.fn.call(x.context,p,m,g),!0;case 5:return x.fn.call(x.context,p,m,g,S),!0;case 6:return x.fn.call(x.context,p,m,g,S,A),!0}for(T=1,_=new Array(j-1);T<j;T++)_[T-1]=arguments[T];x.fn.apply(x.context,_)}else{var M=x.length,O;for(T=0;T<M;T++)switch(x[T].once&&this.removeListener(d,x[T].fn,void 0,!0),j){case 1:x[T].fn.call(x[T].context);break;case 2:x[T].fn.call(x[T].context,p);break;case 3:x[T].fn.call(x[T].context,p,m);break;case 4:x[T].fn.call(x[T].context,p,m,g);break;default:if(!_)for(O=1,_=new Array(j-1);O<j;O++)_[O-1]=arguments[O];x[T].fn.apply(x[T].context,_)}}return!0},c.prototype.on=function(d,p,m){return s(this,d,p,m,!1)},c.prototype.once=function(d,p,m){return s(this,d,p,m,!0)},c.prototype.removeListener=function(d,p,m,g){var S=n?n+d:d;if(!this._events[S])return this;if(!p)return l(this,S),this;var A=this._events[S];if(A.fn)A.fn===p&&(!g||A.once)&&(!m||A.context===m)&&l(this,S);else{for(var w=0,x=[],j=A.length;w<j;w++)(A[w].fn!==p||g&&!A[w].once||m&&A[w].context!==m)&&x.push(A[w]);x.length?this._events[S]=x.length===1?x[0]:x:l(this,S)}return this},c.prototype.removeAllListeners=function(d){var p;return d?(p=n?n+d:d,this._events[p]&&l(this,p)):(this._events=new r,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=n,c.EventEmitter=c,e.exports=c})(U0)),U0.e
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function lle(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,s,l,c=[],f=!0,d=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(f=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);f=!0);}catch(p){d=!0,a=p}finally{try{if(!f&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(d)throw a}}return c}}function ule(e){if(Array.isArray(e))return e}function bk(e,t){if(e==null)return{};var n=cle(e,t),r,a;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)r=s[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function cle(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function fle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dle(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,h4(r.key),r)}}function hle(e,t,n){return t&&dle(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function ple(e,t,n){return t=hp(t),mle(e,f4()?Reflect.construct(t,n||[],hp(e).constructor):t.apply(e,n))}function mle(e,t){if(t&&(ul(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return yle(e)}function yle(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f4(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(f4=function(){return!!e})()}function hp(e){return hp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},hp(e)}function vle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&VS(e,t)}function VS(e,t){return VS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},VS(e,t)}function cl(e){return xle(e)||ble(e)||d4(e)||gle()}function gle(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d4(e,t){if(e){if(typeof e=="string")return HS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return HS(e,t)}}function ble(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function xle(e){if(Array.isArray(e))return HS(e)}function HS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function xk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function ne(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?xk(Object(n),!0).forEach(function(r){je(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function je(e,t,n){return t=h4(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h4(e){var t=Sle(e,"string");return ul(t)=="symbol"?t:t+""}function Sle(e,t){if(ul(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ul(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var wle={xAxis:["bottom","top"],yAxis:["left","right"]},Ale={width:"100%",height:"100%"},p4={x:0,y:0};function qd(e){return e}var jle=function(t,n){return n==="horizontal"?t.x:n==="vertical"?t.y:n==="centric"?t.angle:t.radius},Ole=function(t,n,r,a){var s=n.find(function(p){return p&&p.index===r});if(s){if(t==="horizontal")return{x:s.coordinate,y:a.y};if(t==="vertical")return{x:a.x,y:s.coordinate};if(t==="centric"){var l=s.coordinate,c=a.radius;return ne(ne(ne({},a),ft(a.cx,a.cy,c,l)),{},{angle:l,radius:c})}var f=s.coordinate,d=a.angle;return ne(ne(ne({},a),ft(a.cx,a.cy,f,d)),{},{angle:d,radius:f})}return p4},im=function(t,n){var r=n.graphicalItems,a=n.dataStartIndex,s=n.dataEndIndex,l=(r??[]).reduce(function(c,f){var d=f.props.data;return d&&d.length?[].concat(cl(c),cl(d)):c},[]);return l.length>0?l:t&&t.length&&ue(a)&&ue(s)?t.slice(a,s+1):[]};function m4(e){return e==="number"?[0,"auto"]:void 0}var GS=function(t,n,r,a){var s=t.graphicalItems,l=t.tooltipAxis,c=im(n,t);return r<0||!s||!s.length||r>=c.length?null:s.reduce(function(f,d){var p,m=(p=d.props.data)!==null&&p!==void 0?p:n;m&&t.dataStartIndex+t.dataEndIndex!==0&&t.dataEndIndex-t.dataStartIndex>=r&&(m=m.slice(t.dataStartIndex,t.dataEndIndex+1));var g;if(l.dataKey&&!l.allowDuplicatedCategory){var S=m===void 0?c:m;g=fh(S,l.dataKey,a)}else g=m&&m[r]||c[r];return g?[].concat(cl(f),[nB(d,g)]):f},[])},Sk=function(t,n,r,a){var s=a||{x:t.chartX,y:t.chartY},l=jle(s,r),c=t.orderedTooltipTicks,f=t.tooltipAxis,d=t.tooltipTicks,p=$J(l,c,d,f);if(p>=0&&d){var m=d[p]&&d[p].value,g=GS(t,n,p,m),S=Ole(r,c,p,s);return{activeTooltipIndex:p,activeLabel:m,activePayload:g,activeCoordinate:S}}return null},_le=function(t,n){var r=n.axes,a=n.graphicalItems,s=n.axisType,l=n.axisIdKey,c=n.stackGroups,f=n.dataStartIndex,d=n.dataEndIndex,p=t.layout,m=t.children,g=t.stackOffset,S=Wz(p,s);return r.reduce(function(A,w){var x,j=w.type.defaultProps!==void 0?ne(ne({},w.type.defaultProps),w.props):w.props,_=j.type,T=j.dataKey,M=j.allowDataOverflow,O=j.allowDuplicatedCategory,C=j.scale,P=j.ticks,R=j.includeHidden,k=j[l];if(A[k])return A;var U=im(t.data,{graphicalItems:a.filter(function(H){var re,fe=l in H.props?H.props[l]:(re=H.type.defaultProps)===null||re===void 0?void 0:re[l];return fe===k}),dataStartIndex:f,dataEndIndex:d}),q=U.length,$,F,X;Qse(j.domain,M,_)&&($=iS(j.domain,null,M),S&&(_==="number"||C!=="auto")&&(X=Yu(U,T,"category")));var Y=m4(_);if(!$||$.length===0){va