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

805 lines
996 KiB
JavaScript
Raw Normal View History

(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const l of o.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var Md=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function at(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var kv={exports:{}},Cc={};/**
* @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 hT;function y8(){if(hT)return Cc;hT=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,i,o){var l=null;if(o!==void 0&&(l=""+o),i.key!==void 0&&(l=""+i.key),"key"in i){o={};for(var u in i)u!=="key"&&(o[u]=i[u])}else o=i;return i=o.ref,{$$typeof:e,type:r,key:l,ref:i!==void 0?i:null,props:o}}return Cc.Fragment=t,Cc.jsx=n,Cc.jsxs=n,Cc}var pT;function v8(){return pT||(pT=1,kv.exports=y8()),kv.exports}var f=v8(),Dv={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 mT;function g8(){if(mT)return Me;mT=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),g=Symbol.iterator;function S(z){return z===null||typeof z!="object"?null:(z=g&&z[g]||z["@@iterator"],typeof z=="function"?z:null)}var j={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,b={};function O(z,F,re){this.props=z,this.context=F,this.refs=b,this.updater=re||j}O.prototype.isReactComponent={},O.prototype.setState=function(z,F){if(typeof z!="object"&&typeof z!="function"&&z!=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,z,F,"setState")},O.prototype.forceUpdate=function(z){this.updater.enqueueForceUpdate(this,z,"forceUpdate")};function T(){}T.prototype=O.prototype;function _(z,F,re){this.props=z,this.context=F,this.refs=b,this.updater=re||j}var N=_.prototype=new T;N.constructor=_,w(N,O.prototype),N.isPureReactComponent=!0;var A=Array.isArray;function E(){}var M={H:null,A:null,T:null,S:null},D=Object.prototype.hasOwnProperty;function k(z,F,re){var fe=re.ref;return{$$typeof:e,type:z,key:F,ref:fe!==void 0?fe:null,props:re}}function B(z,F){return k(z.type,F,z.props)}function q(z){return typeof z=="object"&&z!==null&&z.$$typeof===e}function $(z){var F={"=":"=0",":":"=2"};return"$"+z.replace(/[=:]/g,function(re){return F[re]})}var G=/\/+/g;function X(z,F){return typeof z=="object"&&z!==null&&z.key!=null?$(""+z.key):F.toString(36)}function Y(z){switch(z.status){case"fulfilled":return z.value;case"rejected":throw z.reason;default:switch(typeof z.status=="string"?z.then(E,E):(z.status="pending",z.then(function(F){z.status==="pending"&&(z.status="fulfilled",z.value=F)},function(F){z.status==="pending"&&(z.status="rejected",z.reason=F)})),z.status){case"fulfilled":return z.value;case"rejected":throw z.reason}}throw z}function L(z,F,re,fe,me){var we=typeof z;(we==="undefined"||we==="boolean")&&(z=null);var $e=!1;if(z===null)$e=!0;else switch(we){case"bigint":case"string":case"number":$e=!0;break;case"object":switch(z.$$typeof){case e:case t:$e=!0;break;case m:return $e=z._init,L($e(z._payload),F,re,fe,me)}}if($e)return me=me(z),$e=fe===""?"."+X(z,0):fe,A(me)?(re="",$e!=null&&(re=$e.replace(G,"$&/")+"/"),L(me,F,re,"",function(Ne){return Ne})):me!=null&&(q(me)&&(me=B(me,re+(me.key==null||z&&z.key===me.key?"":(""+me.key).replace(G,"$&/")+"/")+$e)),F.push(me)),1;$e=0;var Qe=fe===""?".":fe+":";if(A(z))for(var ue=0;ue<z.length;ue++)fe=z[ue],we=Qe+X(fe,ue),$e+=L(fe,F,re,we,me);else if(ue=S(z),typeof ue=="function")for(z=ue.call(z),ue=0;!(fe=z.next()).done;)fe=fe.value,we=Qe+X(fe,ue++),$e+=L(fe,F,re,we,me);else if(we==="object"){if(typeof z.then=="function")return L(Y(z),F,re,fe,me);throw F=String(z),Error("Objects are not valid as a React child (found: "+(F==="[object Object]"?"object with keys {"+Object.keys(z).join(", ")+"}":F)+"). If you meant to render a collection of children, use an array instead.")}return $e}function H(z,F,re){if(z==null)return z;var fe=[],me=0;return L(z,fe,"","",function(we){return F.call(re,we,me++)}),fe}function Q(z){if(z._status===-1){var F=z._result;F=F(),F.then(function(re){(z._status===0||z._status===-1)&&(z._status=1,z._result=re)},function(re){(z._status===0||z._status===-1)&&(z._status=2,z._result=re)}),z._status===-1&&(z._status=0,z._result=F)}if(z._status===1)return z._result.default;throw z._result}var ae=typeof reportError=="function"?reportError:function(z){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var F=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof z=="object"&&z!==null&&typeof z.message=="string"?String(z.message):String(z),
* @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 vT;function x8(){return vT||(vT=1,(function(e){function t(L,H){var Q=L.length;L.push(H);e:for(;0<Q;){var ae=Q-1>>>1,oe=L[ae];if(0<i(oe,H))L[ae]=H,L[Q]=oe,Q=ae;else break e}}function n(L){return L.length===0?null:L[0]}function r(L){if(L.length===0)return null;var H=L[0],Q=L.pop();if(Q!==H){L[0]=Q;e:for(var ae=0,oe=L.length,z=oe>>>1;ae<z;){var F=2*(ae+1)-1,re=L[F],fe=F+1,me=L[fe];if(0>i(re,Q))fe<oe&&0>i(me,re)?(L[ae]=me,L[fe]=Q,ae=fe):(L[ae]=re,L[F]=Q,ae=F);else if(fe<oe&&0>i(me,Q))L[ae]=me,L[fe]=Q,ae=fe;else break e}}return H}function i(L,H){var Q=L.sortIndex-H.sortIndex;return Q!==0?Q:L.id-H.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var d=[],h=[],m=1,y=null,g=3,S=!1,j=!1,w=!1,b=!1,O=typeof setTimeout=="function"?setTimeout:null,T=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;function N(L){for(var H=n(h);H!==null;){if(H.callback===null)r(h);else if(H.startTime<=L)r(h),H.sortIndex=H.expirationTime,t(d,H);else break;H=n(h)}}function A(L){if(w=!1,N(L),!j)if(n(d)!==null)j=!0,E||(E=!0,$());else{var H=n(h);H!==null&&Y(A,H.startTime-L)}}var E=!1,M=-1,D=5,k=-1;function B(){return b?!0:!(e.unstable_now()-k<D)}function q(){if(b=!1,E){var L=e.unstable_now();k=L;var H=!0;try{e:{j=!1,w&&(w=!1,T(M),M=-1),S=!0;var Q=g;try{t:{for(N(L),y=n(d);y!==null&&!(y.expirationTime>L&&B());){var ae=y.callback;if(typeof ae=="function"){y.callback=null,g=y.priorityLevel;var oe=ae(y.expirationTime<=L);if(L=e.unstable_now(),typeof oe=="function"){y.callback=oe,N(L),H=!0;break t}y===n(d)&&r(d),N(L)}else r(d);y=n(d)}if(y!==null)H=!0;else{var z=n(h);z!==null&&Y(A,z.startTime-L),H=!1}}break e}finally{y=null,g=Q,S=!1}H=void 0}}finally{H?$():E=!1}}}var $;if(typeof _=="function")$=function(){_(q)};else if(typeof MessageChannel<"u"){var G=new MessageChannel,X=G.port2;G.port1.onmessage=q,$=function(){X.postMessage(null)}}else $=function(){O(q,0)};function Y(L,H){M=O(function(){L(e.unstable_now())},H)}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(L){L.callback=null},e.unstable_forceFrameRate=function(L){0>L||125<L?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):D=0<L?Math.floor(1e3/L):5},e.unstable_getCurrentPriorityLevel=function(){return g},e.unstable_next=function(L){switch(g){case 1:case 2:case 3:var H=3;break;default:H=g}var Q=g;g=H;try{return L()}finally{g=Q}},e.unstable_requestPaint=function(){b=!0},e.unstable_runWithPriority=function(L,H){switch(L){case 1:case 2:case 3:case 4:case 5:break;default:L=3}var Q=g;g=L;try{return H()}finally{g=Q}},e.unstable_scheduleCallback=function(L,H,Q){var ae=e.unstable_now();switch(typeof Q=="object"&&Q!==null?(Q=Q.delay,Q=typeof Q=="number"&&0<Q?ae+Q:ae):Q=ae,L){case 1:var oe=-1;break;case 2:oe=250;break;case 5:oe=1073741823;break;case 4:oe=1e4;break;default:oe=5e3}return oe=Q+oe,L={id:m++,callback:H,priorityLevel:L,startTime:Q,expirationTime:oe,sortIndex:-1},Q>ae?(L.sortIndex=Q,t(h,L),n(d)===null&&L===n(h)&&(w?(T(M),M=-1):w=!0,Y(A,Q-ae))):(L.sortIndex=oe,t(d,L),j||S||(j=!0,E||(E=!0,$()))),L},e.unstable_shouldYield=B,e.unstable_wrapCallback=function(L){var H=g;return function(){var Q=g;g=H;try{return L.apply(this,arguments)}finally{g=Q}}}})($v)),$v}var gT;function b8(){return gT||(gT=1,zv.exports=x8()),zv.exports}var Bv={exports:{}},pn={};/**
* @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 xT;function j8(){if(xT)return pn;xT=1;var e=mS();function t(d){var h="https://react.dev/errors/"+d;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var m=2;m<arguments.length;m++)h+="&args[]="+encodeURIComponent(arguments[m])}return"Minified React error #"+d+"; visit "+h+" 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},i=Symbol.for("react.portal");function o(d,h,m){var y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:i,key:y==null?null:""+y,children:d,containerInfo:h,implementation:m}}var l=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(d,h){if(d==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return pn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,pn.createPortal=function(d,h){var m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(t(299));return o(d,h,null,m)},pn.flushSync=function(d){var h=l.T,m=r.p;try{if(l.T=null,r.p=2,d)return d()}finally{l.T=h,r.p=m,r.d.f()}},pn.preconnect=function(d,h){typeof d=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,r.d.C(d,h))},pn.prefetchDNS=function(d){typeof d=="string"&&r.d.D(d)},pn.preinit=function(d,h){if(typeof d=="string"&&h&&typeof h.as=="string"){var m=h.as,y=u(m,h.crossOrigin),g=typeof h.integrity=="string"?h.integrity:void 0,S=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;m==="style"?r.d.S(d,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:y,integrity:g,fetchPriority:S}):m==="script"&&r.d.X(d,{crossOrigin:y,integrity:g,fetchPriority:S,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},pn.preinitModule=function(d,h){if(typeof d=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var m=u(h.as,h.crossOrigin);r.d.M(d,{crossOrigin:m,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&r.d.M(d)},pn.preload=function(d,h){if(typeof d=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var m=h.as,y=u(m,h.crossOrigin);r.d.L(d,m,{crossOrigin:y,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},pn.preloadModule=function(d,h){if(typeof d=="string")if(h){var m=u(h.as,h.crossOrigin);r.d.m(d,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:m,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else r.d.m(d)},pn.requestFormReset=function(d){r.d.r(d)},pn.unstable_batchedUpdates=function(d,h){return d(h)},pn.useFormState=function(d,h,m){return l.H.useFormState(d,h,m)},pn.useFormStatus=function(){return l.H.useHostTransitionStatus()},pn.version="19.2.7",pn}var bT;function S8(){if(bT)return Bv.exports;bT=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(),Bv.exports=j8(),Bv.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 jT;function w8(){if(jT)return Mc;jT=1;var e=b8(),t=mS(),n=S8();function r(a){var s="https://react.dev/errors/"+a;if(1<arguments.length){s+="?args[]="+encodeURIComponent(arguments[1]);for(var c=2;c<arguments.length;c++)s+="&args[]="+encodeURIComponent(arguments[c])}return"Minified React error #"+a+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)}function o(a){var s=a,c=a;if(a.alternate)for(;s.return;)s=s.return;else{a=s;do s=a,(s.flags&4098)!==0&&(c=s.return),a=s.return;while(a)}return s.tag===3?c:null}function l(a){if(a.tag===13){var s=a.memoizedState;if(s===null&&(a=a.alternate,a!==null&&(s=a.memoizedState)),s!==null)return s.dehydrated}return null}function u(a){if(a.tag===31){var s=a.memoizedState;if(s===null&&(a=a.alternate,a!==null&&(s=a.memoizedState)),s!==null)return s.dehydrated}return null}function d(a){if(o(a)!==a)throw Error(r(188))}function h(a){var s=a.alternate;if(!s){if(s=o(a),s===null)throw Error(r(188));return s!==a?null:a}for(var c=a,p=s;;){var v=c.return;if(v===null)break;var x=v.alternate;if(x===null){if(p=v.return,p!==null){c=p;continue}break}if(v.child===x.child){for(x=v.child;x;){if(x===c)return d(v),a;if(x===p)return d(v),s;x=x.sibling}throw Error(r(188))}if(c.return!==p.return)c=v,p=x;else{for(var C=!1,R=v.child;R;){if(R===c){C=!0,c=v,p=x;break}if(R===p){C=!0,p=v,c=x;break}R=R.sibling}if(!C){for(R=x.child;R;){if(R===c){C=!0,c=x,p=v;break}if(R===p){C=!0,p=x,c=v;break}R=R.sibling}if(!C)throw Error(r(189))}}if(c.alternate!==p)throw Error(r(190))}if(c.tag!==3)throw Error(r(188));return c.stateNode.current===c?a:s}function m(a){var s=a.tag;if(s===5||s===26||s===27||s===6)return a;for(a=a.child;a!==null;){if(s=m(a),s!==null)return s;a=a.sibling}return null}var y=Object.assign,g=Symbol.for("react.element"),S=Symbol.for("react.transitional.element"),j=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),T=Symbol.for("react.consumer"),_=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),E=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),k=Symbol.for("react.activity"),B=Symbol.for("react.memo_cache_sentinel"),q=Symbol.iterator;function $(a){return a===null||typeof a!="object"?null:(a=q&&a[q]||a["@@iterator"],typeof a=="function"?a:null)}var G=Symbol.for("react.client.reference");function X(a){if(a==null)return null;if(typeof a=="function")return a.$$typeof===G?null:a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case w:return"Fragment";case O:return"Profiler";case b:return"StrictMode";case A:return"Suspense";case E:return"SuspenseList";case k:return"Activity"}if(typeof a=="object")switch(a.$$typeof){case j:return"Portal";case _:return a.displayName||"Context";case T:return(a._context.displayName||"Context")+".Consumer";case N:var s=a.render;return a=a.displayName,a||(a=s.displayName||s.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case M:return s=a.displayName||null,s!==null?s:X(a.type)||"Memo";case D:s=a._payload,a=a._init;try{return X(a(s))}catch{}}return null}var Y=Array.isArray,L=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,H=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q={pending:!1,data:null,method:null,action:null},ae=[],oe=-1;function z(a){return{current:a}}function F(a){0>oe||(a.current=ae[oe],ae[oe]=null,oe--)}function re(a,s){oe++,ae[oe]=a.current,a.current=s}var fe=z(null),me=z(null),we=z(null),$e=z(null);function Qe(a,s){switch(re(we,s),re(me,a),re(fe,null),s.nodeType){case 9:case 11:a=(a=s.documentElement)&&(a=a.namespaceURI)?L_(a):0;break;default:if(a=s.tagName,s=s.namespaceURI)s=L_(s),a=z_(s,a);else switch(a){case"svg":a=1;break;case"math":a=2;break;default:a=0}}F(fe),re(fe,a)}function ue(){F(fe),F(me),F(we)}function Ne(a){a.memoizedState!==null&&re($e,a);var s=fe.current,c=z_(s,a.type);s!==c&&(re(me,a),re(fe,c))}functi
at`)?" (<anonymous>)":-1<c.stack.indexOf("@")?"@unknown:0:0":""}return`
`+le+a+yt}var _t=!1;function Tt(a,s){if(!a||_t)return"";_t=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var p={DetermineComponentFrameRoot:function(){try{if(s){var se=function(){throw Error()};if(Object.defineProperty(se.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(se,[])}catch(ee){var J=ee}Reflect.construct(a,[],se)}else{try{se.call()}catch(ee){J=ee}a.call(se.prototype)}}else{try{throw Error()}catch(ee){J=ee}(se=a())&&typeof se.catch=="function"&&se.catch(function(){})}}catch(ee){if(ee&&J&&typeof ee.stack=="string")return[ee.stack,J.stack]}return[null,null]}};p.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var v=Object.getOwnPropertyDescriptor(p.DetermineComponentFrameRoot,"name");v&&v.configurable&&Object.defineProperty(p.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var x=p.DetermineComponentFrameRoot(),C=x[0],R=x[1];if(C&&R){var U=C.split(`
`),Z=R.split(`
`);for(v=p=0;p<U.length&&!U[p].includes("DetermineComponentFrameRoot");)p++;for(;v<Z.length&&!Z[v].includes("DetermineComponentFrameRoot");)v++;if(p===U.length||v===Z.length)for(p=U.length-1,v=Z.length-1;1<=p&&0<=v&&U[p]!==Z[v];)v--;for(;1<=p&&0<=v;p--,v--)if(U[p]!==Z[v]){if(p!==1||v!==1)do if(p--,v--,0>v||U[p]!==Z[v]){var te=`
`+U[p].replace(" at new "," at ");return a.displayName&&te.includes("<anonymous>")&&(te=te.replace("<anonymous>",a.displayName)),te}while(1<=p&&0<=v);break}}}finally{_t=!1,Error.prepareStackTrace=c}return(c=a?a.displayName||a.name:"")?ke(c):""}function dn(a,s){switch(a.tag){case 26:case 27:case 5:return ke(a.type);case 16:return ke("Lazy");case 13:return a.child!==s&&s!==null?ke("Suspense Fallback"):ke("Suspense");case 19:return ke("SuspenseList");case 0:case 15:return Tt(a.type,!1);case 11:return Tt(a.type.render,!1);case 1:return Tt(a.type,!0);case 31:return ke("Activity");default:return""}}function xr(a){try{var s="",c=null;do s+=dn(a,c),c=a,a=a.return;while(a);return s}catch(p){return`
Error generating stack: `+p.message+`
`+p.stack}}var Br=Object.prototype.hasOwnProperty,Ua=e.unstable_scheduleCallback,br=e.unstable_cancelCallback,aa=e.unstable_shouldYield,zl=e.unstable_requestPaint,hn=e.unstable_now,hf=e.unstable_getCurrentPriorityLevel,pA=e.unstable_ImmediatePriority,mA=e.unstable_UserBlockingPriority,pf=e.unstable_NormalPriority,Z$=e.unstable_LowPriority,yA=e.unstable_IdlePriority,Q$=e.log,J$=e.unstable_setDisableYieldValue,$l=null,kn=null;function Va(a){if(typeof Q$=="function"&&J$(a),kn&&typeof kn.setStrictMode=="function")try{kn.setStrictMode($l,a)}catch{}}var Dn=Math.clz32?Math.clz32:n6,e6=Math.log,t6=Math.LN2;function n6(a){return a>>>=0,a===0?32:31-(e6(a)/t6|0)|0}var mf=256,yf=262144,vf=4194304;function Ii(a){var s=a&42;if(s!==0)return s;switch(a&-a){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 a&261888;case 262144:case 524288:case 1048576:case 2097152:return a&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return a}}function gf(a,s,c){var p=a.pendingLanes;if(p===0)return 0;var v=0,x=a.suspendedLanes,C=a.pingedLanes;a=a.warmLanes;var R=p&134217727;return R!==0?(p=R&~x,p!==0?v=Ii(p):(C&=R,C!==0?v=Ii(C):c||(c=R&~a,c!==0&&(v=Ii(c))))):(R=p&~x,R!==0?v=Ii(R):C!==0?v=Ii(C):c||(c=p&~a,c!==0&&(v=Ii(c)))),v===0?0:s!==0&&s!==v&&(s&x)===0&&(x=v&-v,c=s&-s,x>=c||x===32&&(c&4194048)!==0)?s:v}function Bl(a,s){return(a.pendingLanes&~(a.suspendedLanes&~a.pingedLanes)&s)===0}function r6(a,s){switch(a){case 1:case 2:case 4:case 8:case 64:return s+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 s+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 vA(){var a=vf;return vf<<=1,(vf&62914560)===0&&(vf=4194304),a}function Sm(a){for(var s=[],c=0;31>c;c++)s.push(a);return s}function Il(a,s){a.pendingLanes|=s,s!==268435456&&(a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0)}function a6(a,s,c,p,v,x){var C=a.pendingLanes;a.pendingLanes=c,a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0,a.expiredLanes&=c,a.entangledLanes&=c,a.errorRecoveryDisabledLanes&=c,a.shellSuspendCounter=0;var R=a.entanglements,U=a.expirationTimes,Z=a.hiddenUpdates;for(c=C&~c;0<c;){var te=31-Dn(c),se=1<<te;R[te]=0,U[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)}c&=~se}p!==0&&gA(a,p,0),x!==0&&v===0&&a.tag!==0&&(a.suspendedLanes|=x&~(C&~s))}function gA(a,s,c){a.pendingLanes|=s,a.suspendedLanes&=~s;var p=31-Dn(s);a.entangledLanes|=s,a.entanglements[p]=a.entanglements[p]|1073741824|c&261930}function xA(a,s){var c=a.entangledLanes|=s;for(a=a.entanglements;c;){var p=31-Dn(c),v=1<<p;v&s|a[p]&s&&(a[p]|=s),c&=~v}}function bA(a,s){var c=s&-s;return c=(c&42)!==0?1:wm(c),(c&(a.suspendedLanes|s))!==0?0:c}function wm(a){switch(a){case 2:a=1;break;case 8:a=4;break;case 32:a=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:a=128;break;case 268435456:a=134217728;break;default:a=0}return a}function Am(a){return a&=-a,2<a?8<a?(a&134217727)!==0?32:268435456:8:2}function jA(){var a=H.p;return a!==0?a:(a=window.event,a===void 0?32:sT(a.type))}function SA(a,s){var c=H.p;try{return H.p=a,s()}finally{H.p=c}}var Ha=Math.random().toString(36).slice(2),rn="__reactFiber$"+Ha,wn="__reactProps$"+Ha,Is="__reactContainer$"+Ha,Om="__reactEvents$"+Ha,i6="__reactListeners$"+Ha,s6="__reactHandles$"+Ha,wA="__reactResources$"+Ha,ql="__reactMarke
`).replace($B,"")}function k_(a,s){return s=R_(s),R_(a)===s}function st(a,s,c,p,v,x){switch(c){case"children":typeof p=="string"?s==="body"||s==="textarea"&&p===""||Gs(a,p):(typeof p=="number"||typeof p=="bigint")&&s!=="body"&&Gs(a,""+p);break;case"className":bf(a,"class",p);break;case"tabIndex":bf(a,"tabindex",p);break;case"dir":case"role":case"viewBox":case"width":case"height":bf(a,c,p);break;case"style":kA(a,p,x);break;case"data":if(s!=="object"){bf(a,"data",p);break}case"src":case"href":if(p===""&&(s!=="a"||c!=="href")){a.removeAttribute(c);break}if(p==null||typeof p=="function"||typeof p=="symbol"||typeof p=="boolean"){a.removeAttribute(c);break}p=Sf(""+p),a.setAttribute(c,p);break;case"action":case"formAction":if(typeof p=="function"){a.setAttribute(c,"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 x=="function"&&(c==="formAction"?(s!=="input"&&st(a,s,"name",v.name,v,null),st(a,s,"formEncType",v.formEncType,v,null),st(a,s,"formMethod",v.formMethod,v,null),st(a,s,"formTarget",v.formTarget,v,null)):(st(a,s,"encType",v.encType,v,null),st(a,s,"method",v.method,v,null),st(a,s,"target",v.target,v,null)));if(p==null||typeof p=="symbol"||typeof p=="boolean"){a.removeAttribute(c);break}p=Sf(""+p),a.setAttribute(c,p);break;case"onClick":p!=null&&(a.onclick=sa);break;case"onScroll":p!=null&&Ie("scroll",a);break;case"onScrollEnd":p!=null&&Ie("scrollend",a);break;case"dangerouslySetInnerHTML":if(p!=null){if(typeof p!="object"||!("__html"in p))throw Error(r(61));if(c=p.__html,c!=null){if(v.children!=null)throw Error(r(60));a.innerHTML=c}}break;case"multiple":a.multiple=p&&typeof p!="function"&&typeof p!="symbol";break;case"muted":a.muted=p&&typeof p!="function"&&typeof p!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(p==null||typeof p=="function"||typeof p=="boolean"||typeof p=="symbol"){a.removeAttribute("xlink:href");break}c=Sf(""+p),a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",c);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":p!=null&&typeof p!="function"&&typeof p!="symbol"?a.setAttribute(c,""+p):a.removeAttribute(c);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":p&&typeof p!="function"&&typeof p!="symbol"?a.setAttribute(c,""):a.removeAttribute(c);break;case"capture":case"download":p===!0?a.setAttribute(c,""):p!==!1&&p!=null&&typeof p!="function"&&typeof p!="symbol"?a.setAttribute(c,p):a.removeAttribute(c);break;case"cols":case"rows":case"size":case"span":p!=null&&typeof p!="function"&&typeof p!="symbol"&&!isNaN(p)&&1<=p?a.setAttribute(c,p):a.removeAttribute(c);break;case"rowSpan":case"start":p==null||typeof p=="function"||typeof p=="symbol"||isNaN(p)?a.removeAttribute(c):a.setAttribute(c,p);break;case"popover":Ie("beforetoggle",a),Ie("toggle",a),xf(a,"popover",p);break;case"xlinkActuate":ia(a,"http://www.w3.org/1999/xlink","xlink:actuate",p);break;case"xlinkArcrole":ia(a,"http://www.w3.org/1999/xlink","xlink:arcrole",p);break;case"xlinkRole":ia(a,"http://www.w3.org/1999/xlink","xlink:role",p);break;case"xlinkShow":ia(a,"http://www.w3.org/1999/xlink","xlink:show",p);break;case"xlinkTitle":ia(a,"http://www.w3.org/1999/xlink","xlink:title",p);break;case"xlinkType":ia(a,"http://www.w3.org/1999/xlink","xlink:type",p);break;case"xmlBase":ia(a,"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 yS=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,o3=/^[\\/]{2}/;function _8(e,t){return t+e.replace(/\\/g,"/")}var wT="popstate";function AT(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function T8(e={}){function t(r,i){var h;let o=(h=i.state)==null?void 0:h.masked,{pathname:l,search:u,hash:d}=o||r.location;return f1("",{pathname:l,search:u,hash:d},i.state&&i.state.usr||null,i.state&&i.state.key||"default",o?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}function n(r,i){return typeof i=="string"?i:cu(i)}return E8(t,n,null,e)}function At(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function kr(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function N8(){return Math.random().toString(36).substring(2,10)}function OT(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 f1(e,t,n=null,r,i){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Sl(t):t,state:n,key:t&&t.key||r||N8(),mask:i}}function cu({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 Sl(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 E8(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:o=!1}=r,l=i.history,u="POP",d=null,h=m();h==null&&(h=0,l.replaceState({...l.state,idx:h},""));function m(){return(l.state||{idx:null}).idx}function y(){u="POP";let b=m(),O=b==null?null:b-h;h=b,d&&d({action:u,location:w.location,delta:O})}function g(b,O){u="PUSH";let T=AT(b)?b:f1(w.location,b,O);h=m()+1;let _=OT(T,h),N=w.createHref(T.mask||T);try{l.pushState(_,"",N)}catch(A){if(A instanceof DOMException&&A.name==="DataCloneError")throw A;i.location.assign(N)}o&&d&&d({action:u,location:w.location,delta:1})}function S(b,O){u="REPLACE";let T=AT(b)?b:f1(w.location,b,O);h=m();let _=OT(T,h),N=w.createHref(T.mask||T);l.replaceState(_,"",N),o&&d&&d({action:u,location:w.location,delta:0})}function j(b){return C8(i,b)}let w={get action(){return u},get location(){return e(i,l)},listen(b){if(d)throw new Error("A history only accepts one active listener");return i.addEventListener(wT,y),d=b,()=>{i.removeEventListener(wT,y),d=null}},createHref(b){return t(i,b)},createURL:j,encodeLocation(b){let O=j(b);return{pathname:O.pathname,search:O.search,hash:O.hash}},push:g,replace:S,go(b){return l.go(b)}};return w}function C8(e,t,n=!1){let r="http://localhost";e&&(r=e.location.origin!=="null"?e.location.origin:e.location.href),At(r,"No window.location.(origin|href) available to create URL");let i=typeof t=="string"?t:cu(t);return i=i.replace(/ $/,"%20"),!n&&o3.test(i)&&(i=r+i),new URL(i,r)}function l3(e,t,n="/"){return M8(e,t,n,!1)}function M8(e,t,n,r,i){let o=typeof t=="string"?Sl(t):t,l=Pa(o.pathname||"/",n);if(l==null)return null;let u=P8(e),d=null,h=V8(l);for(let m=0;d==null&&m<u.length;++m)d=U8(u[m],h,r);return d}function P8(e){let t=c3(e);return R8(t),t}function c3(e,t=[],n=[],r="",i=!1){let o=(l,u,d=i,h)=>{let m={relativePath:h===void 0?l.path||"":h,caseSensitive:l.caseSensitive===!0,childrenIndex:u,route:l};if(m.relativePath.startsWith("/")){if(!m.relativePath.startsWith(r)&&d)return;At(m.relativePath.startsWith(r),`Absolute route path "${m.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),m.relativePath=m.relativePath.slice(r.length)}let y=Cr([r,m.relativePath]),g=n.concat(m);l.children&&l.children.length>0&&(At(l.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${y}".`),c3(l.children,t,g,y,d)),!(l.path==null&&!l.index)&&t.push({path:y,score:I8(y,l.index),routesMeta:g.map((S,j)=>{let[w,b]=d3(S.relativePath,S.caseSensitive,j===g.length-1);return{...S,matcher:w,compiledPar
Please change the parent <Route path="${O}"> to <Route path="${O==="/"?"*":`${O}/*`}">.`)}let m=zr(),y;if(t){let O=typeof t=="string"?Sl(t):t;At(d==="/"||((b=O.pathname)==null?void 0:b.startsWith(d)),`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 "${d}" but pathname "${O.pathname}" was given in the \`location\` prop.`),y=O}else y=m;let g=y.pathname||"/",S=g;if(d!=="/"){let O=d.replace(/^\//,"").split("/");S="/"+g.replace(/^\//,"").split("/").slice(O.length).join("/")}let j=n&&n.state.matches.length?n.state.matches.map(O=>Object.assign(O,{route:n.manifest[O.route.id]||O.route})):l3(e,{pathname:S});kr(h||j!=null,`No routes matched location "${y.pathname}${y.search}${y.hash}" `),kr(j==null||j[j.length-1].route.element!==void 0||j[j.length-1].route.Component!==void 0||j[j.length-1].route.lazy!==void 0,`Matched leaf route at location "${y.pathname}${y.search}${y.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=vI(j&&j.map(O=>Object.assign({},O,{params:Object.assign({},l,O.params),pathname:Cr([d,r.encodeLocation?r.encodeLocation(O.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:O.pathname]),pathnameBase:O.pathnameBase==="/"?d:Cr([d,r.encodeLocation?r.encodeLocation(O.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:O.pathnameBase])})),i,n);return t&&w?P.createElement(Wu.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...y},navigationType:"POP"}},w):w}function hI(){let e=SI(),t=W8(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)",i={padding:"0.5rem",backgroundColor:r},o={padding:"2px 4px",backgroundColor:r},l=null;return console.error("Error handled by React Router default ErrorBoundary:",e),l=P.createElement(P.Fragment,null,P.createElement("p",null,"💿 Hey developer 👋"),P.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",P.createElement("code",{style:o},"ErrorBoundary")," or"," ",P.createElement("code",{style:o},"errorElement")," prop on your route.")),P.createElement(P.Fragment,null,P.createElement("h2",null,"Unexpected Application Error!"),P.createElement("h3",{style:{fontStyle:"italic"}},t),n?P.createElement("pre",{style:i},n):null,l)}var pI=P.createElement(hI,null),w3=class extends P.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=oI(e.digest);n&&(e=n)}let t=e!==void 0?P.createElement(Lr.Provider,{value:this.props.routeContext},P.createElement(gS.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?P.createElement(mI,{error:e},t):t}};w3.contextType=v3;var qv=new WeakMap;function mI({children:e,error:t}){let{basename:n}=P.useContext(Zn);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let r=sI(t.digest);if(r){let i=qv.get(t);if(i)throw i;let o=m3(r.location,n),l=o.absoluteURL||o.to;if(eI(l))throw new Error("Invalid redirect location");if(p3&&!qv.get(t))if(o.isExternal||r.reloadDocument)window.location.href=l;else{const u=Promise.resolve().then(()=>window.__reactRout
[data-motion-pop-id="${l}"] {
position: absolute !important;
width: ${S}px !important;
height: ${j}px !important;
${A}px !important;
${E}px !important;
}
`),()=>{var k;(k=u.current)==null||k.removeAttribute("data-motion-pop-id"),D.contains(M)&&D.removeChild(M)}},[t]),f.jsx(Q9,{isPresent:t,childRef:u,sizeRef:d,pop:o,children:o===!1?e:P.cloneElement(e,{ref:y})})}const e7=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:l,anchorX:u,anchorY:d,root:h})=>{const m=_S(t7),y=P.useId(),g=P.useRef(n),S=P.useRef(r);TS(()=>{g.current=n,S.current=r});let j=!0,w=P.useMemo(()=>(j=!1,{id:y,initial:t,isPresent:n,custom:i,onExitComplete:b=>{m.set(b,!0);for(const O of m.values())if(!O)return;r&&r()},register:b=>(m.set(b,!1),()=>{var O;m.delete(b),!g.current&&!m.size&&((O=S.current)==null||O.call(S))})}),[n,m,r]);return o&&j&&(w={...w}),P.useMemo(()=>{m.forEach((b,O)=>m.set(O,!1))},[n]),P.useEffect(()=>{!n&&!m.size&&r&&r()},[n]),e=f.jsx(J9,{pop:l==="popLayout",isPresent:n,anchorX:u,anchorY:d,root:h,children:e}),f.jsx(kp.Provider,{value:w,children:e})};function t7(){return new Map}function eL(e=!0){const t=P.useContext(kp);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,o=P.useId();P.useEffect(()=>{if(e)return i(o)},[e]);const l=P.useCallback(()=>e&&r&&r(o),[o,r,e]);return!n&&r?[!1,l]:[!0]}const Dd=e=>e.key||"";function kN(e){const t=[];return P.Children.forEach(e,n=>{P.isValidElement(n)&&t.push(n)}),t}const Io=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:o="sync",propagate:l=!1,anchorX:u="left",anchorY:d="top",root:h})=>{const[m,y]=eL(l),g=P.useMemo(()=>kN(e),[e]),S=l&&!m?[]:g.map(Dd),j=P.useRef(!0),w=P.useRef(g),b=_S(()=>new Map),O=P.useRef(new Set),[T,_]=P.useState(g),[N,A]=P.useState(g);TS(()=>{j.current=!1,w.current=g;for(let D=0;D<N.length;D++){const k=Dd(N[D]);S.includes(k)?(b.delete(k),O.current.delete(k)):b.get(k)!==!0&&b.set(k,!1)}},[N,S.length,S.join("-")]);const E=[];if(g!==T){let D=[...g];for(let k=0;k<N.length;k++){const B=N[k],q=Dd(B);S.includes(q)||(D.splice(k,0,B),E.push(B))}return o==="wait"&&E.length&&(D=E),A(kN(D)),_(g),null}const{forceRender:M}=P.useContext(OS);return f.jsx(f.Fragment,{children:N.map(D=>{const k=Dd(D),B=l&&!m?!1:g===N||S.includes(k),q=()=>{if(O.current.has(k))return;if(b.has(k))O.current.add(k),b.set(k,!0);else return;let $=!0;b.forEach(G=>{G||($=!1)}),$&&(M==null||M(),A(w.current),l&&(y==null||y()),r&&r())};return f.jsx(e7,{isPresent:B,initial:!j.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:o,root:h,onExitComplete:B?void 0:q,anchorX:u,anchorY:d,children:D},k)})})},tL=P.createContext({strict:!1}),DN={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 LN=!1;function n7(){if(LN)return;const e={};for(const t in DN)e[t]={isEnabled:n=>DN[t].some(r=>!!n[r])};M4(e),LN=!0}function nL(){return n7(),IV()}function r7(e){const t=nL();for(const n in e)t[n]={...t[n],...e[n]};M4(t)}const a7=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 Ah(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||a7.has(e)}let rL=e=>!Ah(e);function i7(e){typeof e=="function"&&(rL=t=>t.startsWith("on")?!Ah(t):e(t))}try{i7(require("@emotion/is-prop-valid").default)}catch{}function s7(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||fn(e[i])||(rL(i)||n===!0&&Ah(i)||!
* @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 cH=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),hL=(...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 uH={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 fH=P.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:o,iconNode:l,...u},d)=>P.createElement("svg",{ref:d,...uH,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:hL("lucide",i),...u},[...l.map(([h,m])=>P.createElement(h,m)),...Array.isArray(o)?o:[o]]));/**
* @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 pe=(e,t)=>{const n=P.forwardRef(({className:r,...i},o)=>P.createElement(fH,{ref:o,iconNode:t,className:hL(`lucide-${cH(e)}`,r),...i}));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 dH=pe("Activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);/**
* @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 hH=pe("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 pL=pe("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
* @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 B1=pe("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 I1=pe("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 qo=pe("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);/**
* @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 Xo=pe("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 Bp=pe("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 pH=pe("Calculator",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["line",{x1:"8",x2:"16",y1:"6",y2:"6",key:"x4nwl0"}],["line",{x1:"16",x2:"16",y1:"14",y2:"18",key:"wjye3r"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M8 18h.01",key:"lrp35t"}]]);/**
* @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 mL=pe("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 mH=pe("Camera",[["path",{d:"M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z",key:"1tc9qg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]);/**
* @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 yH=pe("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 vH=pe("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 gH=pe("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 xH=pe("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 nf=pe("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 Rs=pe("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 YN=pe("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/**
* @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 Os=pe("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 bH=pe("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/**
* @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 tu=pe("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 XN=pe("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/**
* @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 yr=pe("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 jH=pe("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 yL=pe("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 SH=pe("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 ji=pe("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 ks=pe("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 wH=pe("FolderKanban",[["path",{d:"M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z",key:"1fr9dc"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M12 10v2",key:"hh53o1"}],["path",{d:"M16 10v6",key:"1d6xys"}]]);/**
* @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 AH=pe("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 ch=pe("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/**
* @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 nw=pe("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 vL=pe("Inbox",[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]]);/**
* @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 WN=pe("Key",[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]]);/**
* @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 OH=pe("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 _H=pe("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 TH=pe("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 Ni=pe("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 NH=pe("Maximize2",[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);/**
* @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 rw=pe("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 EH=pe("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 q1=pe("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/**
* @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 CH=pe("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 MH=pe("Minimize2",[["polyline",{points:"4 14 10 14 10 20",key:"11kfnr"}],["polyline",{points:"20 10 14 10 14 4",key:"rlmsce"}],["line",{x1:"14",x2:"21",y1:"10",y2:"3",key:"o5lafz"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);/**
* @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 PH=pe("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 RH=pe("Monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]);/**
* @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 kH=pe("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/**
* @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 DH=pe("Newspaper",[["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2",key:"7pis2x"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M10 6h8v4h-8V6Z",key:"smlsk5"}]]);/**
* @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 LH=pe("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 ZN=pe("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 U1=pe("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/**
* @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 QN=pe("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 Jr=pe("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 zH=pe("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/**
* @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 $H=pe("Save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);/**
* @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 Ri=pe("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 gL=pe("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/**
* @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 BH=pe("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 IH=pe("Share2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);/**
* @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 qH=pe("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["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 uh=pe("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/**
* @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 UH=pe("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 aw=pe("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
* @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 VH=pe("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/**
* @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 xL=pe("Tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);/**
* @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 pu=pe("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 iw=pe("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 Pr=pe("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 Ai=pe("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
* @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 V1=pe("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 Oh=pe("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 ea=pe("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 sw=pe("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 bL=pe("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
* @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 ow=pe("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 jL(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=jL(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="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=jL(e))&&(r&&(r+=" "),r+=t);return r}const lw="-",HH=e=>{const t=GH(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:l=>{const u=l.split(lw);return u[0]===""&&u.length!==1&&u.shift(),SL(u,t)||FH(l)},getConflictingClassGroupIds:(l,u)=>{const d=n[l]||[];return u&&r[l]?[...d,...r[l]]:d}}},SL=(e,t)=>{var l;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?SL(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const o=e.join(lw);return(l=t.validators.find(({validator:u})=>u(o)))==null?void 0:l.classGroupId},JN=/^\[(.+)\]$/,FH=e=>{if(JN.test(e)){const t=JN.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},GH=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return YH(Object.entries(e.classGroups),n).forEach(([o,l])=>{H1(l,r,o,t)}),r},H1=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const o=i===""?t:eE(t,i);o.classGroupId=n;return}if(typeof i=="function"){if(KH(i)){H1(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,l])=>{H1(l,eE(t,o),n,r)})})},eE=(e,t)=>{let n=e;return t.split(lw).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},KH=e=>e.isThemeGetter,YH=(e,t)=>t?e.map(([n,r])=>{const i=r.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([l,u])=>[t+l,u])):o);return[n,i]}):e,XH=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(o,l)=>{n.set(o,l),t++,t>e&&(t=0,r=n,n=new Map)};return{get(o){let l=n.get(o);if(l!==void 0)return l;if((l=r.get(o))!==void 0)return i(o,l),l},set(o,l){n.has(o)?n.set(o,l):i(o,l)}}},wL="!",WH=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],o=t.length,l=u=>{const d=[];let h=0,m=0,y;for(let b=0;b<u.length;b++){let O=u[b];if(h===0){if(O===i&&(r||u.slice(b,b+o)===t)){d.push(u.slice(m,b)),m=b+o;continue}if(O==="/"){y=b;continue}}O==="["?h++:O==="]"&&h--}const g=d.length===0?u:u.substring(m),S=g.startsWith(wL),j=S?g.substring(1):g,w=y&&y>m?y-m:void 0;return{modifiers:d,hasImportantModifier:S,baseClassName:j,maybePostfixModifierPosition:w}};return n?u=>n({className:u,parseClassName:l}):l},ZH=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},QH=e=>({cache:XH(e.cacheSize),parseClassName:WH(e),...HH(e)}),JH=/\s+/,eF=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,o=[],l=e.trim().split(JH);let u="";for(let d=l.length-1;d>=0;d-=1){const h=l[d],{modifiers:m,hasImportantModifier:y,baseClassName:g,maybePostfixModifierPosition:S}=n(h);let j=!!S,w=r(j?g.substring(0,S):g);if(!w){if(!j){u=h+(u.length>0?" "+u:u);continue}if(w=r(g),!w){u=h+(u.length>0?" "+u:u);continue}j=!1}const b=ZH(m).join(":"),O=y?b+wL:b,T=O+w;if(o.includes(T))continue;o.push(T);const _=i(w,j);for(let N=0;N<_.length;++N){const A=_[N];o.push(O+A)}u=h+(u.length>0?" "+u:u)}return u};function tF(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=AL(t))&&(r&&(r+=" "),r+=n);return r}const AL=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=AL(e[r]))&&(n&&(n+=" "),n+=t);return n};function nF(e,...t){let n,r,i,o=l;function l(d){const h=t.reduce((m,y)=>y(m),e());return n=QH(h),r=n.cache.get,i=n.cache.set,o=u,u(d)}function u(d){const h=r(d);if(h)return h;const m=eF(d,n);return i(d,m),m}return function(){return o(tF.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 sC;function cG(){if(sC)return Je;sC=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),S=Symbol.for("react.offscreen"),j;j=Symbol.for("react.module.reference");function w(b){if(typeof b=="object"&&b!==null){var O=b.$$typeof;switch(O){case e:switch(b=b.type,b){case n:case i:case r:case h:case m:return b;default:switch(b=b&&b.$$typeof,b){case u:case l:case d:case g:case y:case o:return b;default:return O}}case t:return O}}}return Je.ContextConsumer=l,Je.ContextProvider=o,Je.Element=e,Je.ForwardRef=d,Je.Fragment=n,Je.Lazy=g,Je.Memo=y,Je.Portal=t,Je.Profiler=i,Je.StrictMode=r,Je.Suspense=h,Je.SuspenseList=m,Je.isAsyncMode=function(){return!1},Je.isConcurrentMode=function(){return!1},Je.isContextConsumer=function(b){return w(b)===l},Je.isContextProvider=function(b){return w(b)===o},Je.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===e},Je.isForwardRef=function(b){return w(b)===d},Je.isFragment=function(b){return w(b)===n},Je.isLazy=function(b){return w(b)===g},Je.isMemo=function(b){return w(b)===y},Je.isPortal=function(b){return w(b)===t},Je.isProfiler=function(b){return w(b)===i},Je.isStrictMode=function(b){return w(b)===r},Je.isSuspense=function(b){return w(b)===h},Je.isSuspenseList=function(b){return w(b)===m},Je.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===n||b===i||b===r||b===h||b===m||b===S||typeof b=="object"&&b!==null&&(b.$$typeof===g||b.$$typeof===y||b.$$typeof===o||b.$$typeof===l||b.$$typeof===d||b.$$typeof===j||b.getModuleId!==void 0)},Je.typeOf=w,Je}var oC;function uG(){return oC||(oC=1,ox.exports=cG()),ox.exports}var fG=uG(),lx,lC;function RL(){if(lC)return lx;lC=1;var e=$a(),t=Ba(),n="[object Number]";function r(i){return typeof i=="number"||t(i)&&e(i)==n}return lx=r,lx}var cx,cC;function dG(){if(cC)return cx;cC=1;var e=RL();function t(n){return e(n)&&n!=+n}return cx=t,cx}var hG=dG();const Ml=at(hG);var pG=RL();const mG=at(pG);var bn=function(t){return t===0?0:t>0?1:-1},ms=function(t){return _s(t)&&t.indexOf("%")===t.length-1},ce=function(t){return mG(t)&&!Ml(t)},yG=function(t){return Ee(t)},Xt=function(t){return ce(t)||_s(t)},vG=0,Ls=function(t){var n=++vG;return"".concat(t||"").concat(n)},jn=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!ce(t)&&!_s(t))return r;var o;if(ms(t)){var l=t.indexOf("%");o=n*parseFloat(t.slice(0,l))/100}else o=+t;return Ml(o)&&(o=r),i&&o>n&&(o=n),o},xi=function(t){if(!t)return null;var n=Object.keys(t);return n&&n.length?t[n[0]]:null},gG=function(t){if(!Array.isArray(t))return!1;for(var n=t.length,r={},i=0;i<n;i++)if(!r[t[i]])r[t[i]]=!0;else return!0;return!1},Yt=function(t,n){return ce(t)&&ce(n)?function(r){return t+r*(n-t)}:function(){return n}};function _h(e,t,n){return!e||!e.length?null:e.find(function(r){return r&&(typeof t=="function"?t(r):Xn(r,t))===n})}var xG=function(t,n){return ce(t)&&ce(n)?t-n:_s(t)&&_s(n)?t.localeCompare(n):t instanceof Date&&n instanceof Date?t.getTime()-n.getTime():String(t).localeCompare(String(n))};function Vo(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 G1(e){"@babel/helpers - typeof";return G1=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},G1(e)}var bG=["viewBox","children"],jG=["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*u,",").concat(o,`
H`).concat(ur,"M").concat(2*u,",").concat(o,`
A`).concat(l,",").concat(l,",0,1,1,").concat(u,",").concat(o),className:"recharts-legend-icon"});if(r.type==="rect")return I.createElement("path",{stroke:"none",fill:d,d:"M0,".concat(ur/8,"h").concat(ur,"v").concat(ur*3/4,"h").concat(-ur,"z"),className:"recharts-legend-icon"});if(I.isValidElement(r.legendIcon)){var h=kK({},r);return delete h.legendIcon,I.cloneElement(r.legendIcon,h)}return I.createElement(Sw,{fill:d,cx:o,cy:o,size:ur,sizeType:"diameter",type:r.type})}},{key:"renderItems",value:function(){var r=this,i=this.props,o=i.payload,l=i.iconSize,u=i.layout,d=i.formatter,h=i.inactiveColor,m={x:0,y:0,width:ur,height:ur},y={display:u==="horizontal"?"inline-block":"block",marginRight:10},g={display:"inline-block",verticalAlign:"middle",marginRight:4};return o.map(function(S,j){var w=S.formatter||d,b=Pe(yu(yu({"recharts-legend-item":!0},"legend-item-".concat(j),!0),"inactive",S.inactive));if(S.type==="none")return null;var O=Te(S.value)?null:S.value;Rr(!Te(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 T=S.inactive?h:S.color;return I.createElement("li",rj({className:b,style:y,key:"legend-item-".concat(j)},Ts(r.props,S,j)),I.createElement(W1,{width:l,height:l,viewBox:m,style:g},r.renderIcon(S)),I.createElement("span",{className:"recharts-legend-item-text",style:{color:T}},w?w(O,S,j):O))})}},{key:"render",value:function(){var r=this.props,i=r.payload,o=r.layout,l=r.align;if(!i||!i.length)return null;var u={padding:0,margin:0,textAlign:o==="horizontal"?l:"left"};return I.createElement("ul",{className:"recharts-default-legend",style:u},this.renderItems())}}])})(P.PureComponent);yu(ww,"displayName","Legend");yu(ww,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var Sx,PC;function VK(){if(PC)return Sx;PC=1;var e=Up();function t(){this.__data__=new e,this.size=0}return Sx=t,Sx}var wx,RC;function HK(){if(RC)return wx;RC=1;function e(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r}return wx=e,wx}var Ax,kC;function FK(){if(kC)return Ax;kC=1;function e(t){return this.__data__.get(t)}return Ax=e,Ax}var Ox,DC;function GK(){if(DC)return Ox;DC=1;function e(t){return this.__data__.has(t)}return Ox=e,Ox}var _x,LC;function KK(){if(LC)return _x;LC=1;var e=Up(),t=hw(),n=pw(),r=200;function i(o,l){var u=this.__data__;if(u instanceof e){var d=u.__data__;if(!t||d.length<r-1)return d.push([o,l]),this.size=++u.size,this;u=this.__data__=new n(d)}return u.set(o,l),this.size=u.size,this}return _x=i,_x}var Tx,zC;function tz(){if(zC)return Tx;zC=1;var e=Up(),t=VK(),n=HK(),r=FK(),i=GK(),o=KK();function l(u){var d=this.__data__=new e(u);this.size=d.size}return l.prototype.clear=t,l.prototype.delete=n,l.prototype.get=r,l.prototype.has=i,l.prototype.set=o,Tx=l,Tx}var Nx,$C;function YK(){if($C)return Nx;$C=1;var e="__lodash_hash_undefined__";function t(n){return this.__data__.set(n,e),this}return Nx=t,Nx}var Ex,BC;function XK(){if(BC)return Ex;BC=1;function e(t){return this.__data__.has(t)}return Ex=e,Ex}var Cx,IC;function nz(){if(IC)return Cx;IC=1;var e=pw(),t=YK(),n=XK();function r(i){var o=-1,l=i==null?0:i.length;for(this.__data__=new e;++o<l;)this.add(i[o])}return r.prototype.add=r.prototype.push=t,r.prototype.has=n,Cx=r,Cx}var Mx,qC;function rz(){if(qC)return Mx;qC=1;function e(t,n){for(var r=-1,i=t==null?0:t.length;++r<i;)if(n(t[r],r,t))return!0;return!1}return Mx=e,Mx}var Px,UC;function az(){if(UC)return Px;UC=1;function e(t,n){return t.has(n)}return Px=e,Px}var Rx,VC;function iz(){if(VC)return Rx;VC=1;var e=nz(),t=rz(),n=az(),r=1,i=2;function o(l,u,d,h,m,y){var g=d&r,S=l.length,j=u.length;if(S!=j&&!(g&&j>S))return!1;var w=y.get(l),b=y.get(u);if(w&&b)return w==u&&b==l;var O=-1,T=!0,_=d&i?new e:void 0;for(y.set(l,u),y.set(u,l);++O<S;){var N=l[O],A=u[O];if(h)var E=g?h(A,N,O,u,l,y):h(N,A,O,l,u,y);if(E!==void 0){if(E)continue;T=!1;break}if(_){if(!t(u,function(M,D){if(!n(_,D)&&(N===M||m(N,M,d,h,y)))return _.push(D)})){T=!1;break}}else if(!(N===A||m(N,A,d,
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yX(e,t){if(e){if(typeof e=="string")return SP(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 SP(e,t)}}function SP(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 vX(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,l,u=[],d=!0,h=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(d=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);d=!0);}catch(m){h=!0,i=m}finally{try{if(!d&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(h)throw i}}return u}}function gX(e){if(Array.isArray(e))return e}function wP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function s0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?wP(Object(n),!0).forEach(function(r){xX(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wP(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function xX(e,t,n){return t=bX(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bX(e){var t=jX(e,"string");return vu(t)=="symbol"?t:t+""}function jX(e,t){if(vu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(vu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function SX(e){return Array.isArray(e)&&Xt(e[0])&&Xt(e[1])?e.join(" ~ "):e}var wX=function(t){var n=t.separator,r=n===void 0?" : ":n,i=t.contentStyle,o=i===void 0?{}:i,l=t.itemStyle,u=l===void 0?{}:l,d=t.labelStyle,h=d===void 0?{}:d,m=t.payload,y=t.formatter,g=t.itemSorter,S=t.wrapperClassName,j=t.labelClassName,w=t.label,b=t.labelFormatter,O=t.accessibilityLayer,T=O===void 0?!1:O,_=function(){if(m&&m.length){var $={padding:0,margin:0},G=(g?Cw(m,g):m).map(function(X,Y){if(X.type==="none")return null;var L=s0({display:"block",paddingTop:4,paddingBottom:4,color:X.color||"#000"},u),H=X.formatter||y||SX,Q=X.value,ae=X.name,oe=Q,z=ae;if(H&&oe!=null&&z!=null){var F=H(Q,ae,X,Y,m);if(Array.isArray(F)){var re=pX(F,2);oe=re[0],z=re[1]}else oe=F}return I.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(Y),style:L},Xt(z)?I.createElement("span",{className:"recharts-tooltip-item-name"},z):null,Xt(z)?I.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,I.createElement("span",{className:"recharts-tooltip-item-value"},oe),I.createElement("span",{className:"recharts-tooltip-item-unit"},X.unit||""))});return I.createElement("ul",{className:"recharts-tooltip-item-list",style:$},G)}return null},N=s0({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},o),A=s0({margin:0},h),E=!Ee(w),M=E?w:"",D=Pe("recharts-default-tooltip",S),k=Pe("recharts-tooltip-label",j);E&&b&&m!==void 0&&m!==null&&(M=b(w,m));var B=T?{role:"status","aria-live":"assertive"}:{};return I.createElement("div",sj({className:D,style:N},B),I.createElement("p",{className:k,style:A},I.isValidElement(M)?M:"".concat(M)),_())};function gu(e){"@babel/helpers - typeof";return gu=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},gu(e)}function Id(e,t,n){return t=AX(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function AX(e){var t=OX(e,"string");return gu(t)=="symbol"?t:t+""}function OX(e,t){if(gu(e)!="object"||!e)return e;var n=e[Symb
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function oW(e,t){if(e){if(typeof e=="string")return zP(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 zP(e,t)}}function zP(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 lW(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,l,u=[],d=!0,h=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(d=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);d=!0);}catch(m){h=!0,i=m}finally{try{if(!d&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(h)throw i}}return u}}function cW(e){if(Array.isArray(e))return e}var zh=P.forwardRef(function(e,t){var n=e.aspect,r=e.initialDimension,i=r===void 0?{width:-1,height:-1}:r,o=e.width,l=o===void 0?"100%":o,u=e.height,d=u===void 0?"100%":u,h=e.minWidth,m=h===void 0?0:h,y=e.minHeight,g=e.maxHeight,S=e.children,j=e.debounce,w=j===void 0?0:j,b=e.id,O=e.className,T=e.onResize,_=e.style,N=_===void 0?{}:_,A=P.useRef(null),E=P.useRef();E.current=T,P.useImperativeHandle(t,function(){return Object.defineProperty(A.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),A.current},configurable:!0})});var M=P.useState({containerWidth:i.width,containerHeight:i.height}),D=iW(M,2),k=D[0],B=D[1],q=P.useCallback(function(G,X){B(function(Y){var L=Math.round(G),H=Math.round(X);return Y.containerWidth===L&&Y.containerHeight===H?Y:{containerWidth:L,containerHeight:H}})},[]);P.useEffect(function(){var G=function(ae){var oe,z=ae[0].contentRect,F=z.width,re=z.height;q(F,re),(oe=E.current)===null||oe===void 0||oe.call(E,F,re)};w>0&&(G=Tz(G,w,{trailing:!0,leading:!1}));var X=new ResizeObserver(G),Y=A.current.getBoundingClientRect(),L=Y.width,H=Y.height;return q(L,H),X.observe(A.current),function(){X.disconnect()}},[q,w]);var $=P.useMemo(function(){var G=k.containerWidth,X=k.containerHeight;if(G<0||X<0)return null;Rr(ms(l)||ms(d),`The width(%s) and height(%s) are both fixed numbers,
maybe you don't need to use a ResponsiveContainer.`,l,d),Rr(!n||n>0,"The aspect(%s) must be greater than zero.",n);var Y=ms(l)?G:l,L=ms(d)?X:d;n&&n>0&&(Y?L=Y/n:L&&(Y=L*n),g&&L>g&&(L=g)),Rr(Y>0||L>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,L,l,d,m,y,n);var H=!Array.isArray(S)&&Ca(S.type).endsWith("Chart");return I.Children.map(S,function(Q){return I.isValidElement(Q)?P.cloneElement(Q,qd({width:Y,height:L},H?{style:qd({height:"100%",width:"100%",maxHeight:L,maxWidth:Y},Q.props.style)}:{})):Q})},[n,S,d,g,y,m,k,l]);return I.createElement("div",{id:b?"".concat(b):void 0,className:Pe("recharts-responsive-container",O),style:qd(qd({},N),{},{width:l,height:d,minWidth:m,minHeight:y,maxHeight:g}),ref:A},$)}),Qp=function(t){return null};Qp.displayName="Cell";function bu(e){"@babel/helpers - typeof";return bu=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},bu(e)}function $P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function uj(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?$P(Object(n),!0).forEach(function(r){uW(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$P(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function uW(e,t,n){return t=fW(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fW(e){var t=dW(e,"string");return bu(t)=="symbol"?t:t+""}function dW(e,t){if(bu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(bu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Oo={widthCache:{},cacheCount:0},hW=2e3,pW={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},BP="recharts_measurement_span";function mW(e){var t=uj({},e);return Object.keys(t).forEach(function(n){t[n]||delete t[n]}),t}var nu=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t==null||Di.isSsr)return{width:0,height:0};var r=mW(n),i=JSON.stringify({text:t,copyStyle:r});if(Oo.widthCache[i])return Oo.widthCache[i];try{var o=document.getElementById(BP);o||(o=document.createElement("span"),o.setAttribute("id",BP),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var l=uj(uj({},pW),r);Object.assign(o.style,l),o.textContent="".concat(t);var u=o.getBoundingClientRect(),d={width:u.width,height:u.height};return Oo.widthCache[i]=d,++Oo.cacheCount>hW&&(Oo.cacheCount=0,Oo.widthCache={}),d}catch{return{width:0,height:0}}},yW=function(t){return{top:t.top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft}};function ju(e){"@babel/helpers - typeof";return ju=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},ju(e)}function $h(e,t){return bW(e)||xW(e,t)||gW(e,t)||vW()}function vW(){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 gW(e,t){if(e){if(typeof e=="string")return IP(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 IP(e,t)}}function IP(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 xW(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,l,u=[],d=!0,h=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;d=!1}else for(;!(d=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);d=!0);}catch(m){h=!0,i=m}finally{try{if(!d&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(h)throw i}}return u}}function bW(e){if(Array.isArray(e))return e}function jW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qP(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,wW(r.key),r)}}function SW(e,t,n){return t&&qP(e.prototype,t),n&&qP(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function wW(e){var t=AW(e,"string");return ju(t)=="symbol"?t:t+""}function AW(e,t){if(ju(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ju(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var UP=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,VP=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,OW=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,_W=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,Nz={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},TW=Object.keys(Nz),Do="NaN";function NW(e,t){return e*Nz[t]}var Ud=(function(){function e(t,n){jW(this,e),this.num=t,this.unit=n,this.num=t,this.unit=n,Number.isNaN(t)&&(this.unit=""),n!==""&&!OW.test(n)&&(this.num=NaN,this.unit=""),TW.includes(n)&&(this.num=NW(t,n),this.unit="px")}return SW(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,i=(r=_W.exec(n))!==null&&r!==void 0?r:[],o=$h(i,3),l=o[1],u=o[2];return new e(parseFloat(l),u??"")}}])})();function Ez(e){if(e.includes(Do))return Do;for(var t=e;t.includes("*")||t.includes("/");){var n,r=(n=UP.exec(t))!==null&&n!==void 0?n:[],i=$h(r,4),o=i[1],l=i[2],u=i[3],d=Ud.parse(o??""),h=Ud.parse(u??""),m=l==="*"?d.multiply(h):d.divide(h);if(m.isNaN())return Do;t=t.replace(UP,m.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var y,g=(y=VP.exec(t))!==null&&y!==void 0?y:[],S=$h(g,4),j=S[1],w=S[2],b=S[3],O=Ud.parse(j??""),T=Ud.parse(b??""),_=w==="+"?O.add(T):O.subtract(T);if(_.isNaN())return Do;t=t.replace(VP,_.toString())}return t}var HP=/\(([^()]*)\)/;function EW(e){for(var t=e;t.includes("(");){var n=HP.exec(t),r=$h(n,2),i=r[1];t=t.replace(HP,Ez(i))}return t}function CW(e){var t=e.replace(/\s+/g,"");return t=EW(t),t=Ez(t),t}function MW(e){try{return CW(e)}catch{return Do}}function h0(e){var t=MW(e.slice(5,-1));return t===Do?"":t}var PW=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],RW=["dx","dy","angle","className","breakAll"];function fj(){return fj=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 LW(e,t){if(e){if(typeof e=="string")return KP(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 KP(e,t)}}function KP(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 zW(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,l,u=[],d=!0,h=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;d=!1}else for(;!(d=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);d=!0);}catch(m){h=!0,i=m}finally{try{if(!d&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(h)throw i}}return u}}function $W(e){if(Array.isArray(e))return e}var Cz=/[ \f\n\r\t\v\u2028\u2029]+/,Mz=function(t){var n=t.children,r=t.breakAll,i=t.style;try{var o=[];Ee(n)||(r?o=n.toString().split(""):o=n.toString().split(Cz));var l=o.map(function(d){return{word:d,width:nu(d,i).width}}),u=r?0:nu(" ",i).width;return{wordsWithComputedWidth:l,spaceWidth:u}}catch{return null}},BW=function(t,n,r,i,o){var l=t.maxLines,u=t.children,d=t.style,h=t.breakAll,m=ce(l),y=u,g=function(){var Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Y.reduce(function(L,H){var Q=H.word,ae=H.width,oe=L[L.length-1];if(oe&&(i==null||o||oe.width+ae+r<Number(i)))oe.words.push(Q),oe.width+=ae+r;else{var z={words:[Q],width:ae};L.push(z)}return L},[])},S=g(n),j=function(Y){return Y.reduce(function(L,H){return L.width>H.width?L:H})};if(!m)return S;for(var w="…",b=function(Y){var L=y.slice(0,Y),H=Mz({breakAll:h,style:d,children:L+w}).wordsWithComputedWidth,Q=g(H),ae=Q.length>l||j(Q).width>Number(i);return[ae,Q]},O=0,T=y.length-1,_=0,N;O<=T&&_<=y.length-1;){var A=Math.floor((O+T)/2),E=A-1,M=b(E),D=GP(M,2),k=D[0],B=D[1],q=b(A),$=GP(q,1),G=$[0];if(!k&&!G&&(O=A+1),k&&G&&(T=A-1),!k&&G){N=B;break}_++}return N||S},YP=function(t){var n=Ee(t)?[]:t.toString().split(Cz);return[{words:n}]},IW=function(t){var n=t.width,r=t.scaleToFit,i=t.children,o=t.style,l=t.breakAll,u=t.maxLines;if((n||r)&&!Di.isSsr){var d,h,m=Mz({breakAll:l,children:i,style:o});if(m){var y=m.wordsWithComputedWidth,g=m.spaceWidth;d=y,h=g}else return YP(i);return BW({breakAll:l,children:i,maxLines:u,style:o},d,h,n,r)}return YP(i)},XP="#808080",Ns=function(t){var n=t.x,r=n===void 0?0:n,i=t.y,o=i===void 0?0:i,l=t.lineHeight,u=l===void 0?"1em":l,d=t.capHeight,h=d===void 0?"0.71em":d,m=t.scaleToFit,y=m===void 0?!1:m,g=t.textAnchor,S=g===void 0?"start":g,j=t.verticalAnchor,w=j===void 0?"end":j,b=t.fill,O=b===void 0?XP:b,T=FP(t,PW),_=P.useMemo(function(){return IW({breakAll:T.breakAll,children:T.children,maxLines:T.maxLines,scaleToFit:y,style:T.style,width:T.width})},[T.breakAll,T.children,T.maxLines,y,T.style,T.width]),N=T.dx,A=T.dy,E=T.angle,M=T.className,D=T.breakAll,k=FP(T,RW);if(!Xt(r)||!Xt(o))return null;var B=r+(ce(N)?N:0),q=o+(ce(A)?A:0),$;switch(w){case"start":$=h0("calc(".concat(h,")"));break;case"middle":$=h0("calc(".concat((_.length-1)/2," * -").concat(u," + (").concat(h," / 2))"));break;default:$=h0("calc(".concat(_.length-1," * -").concat(u,")"));break}var G=[];if(y){var X=_[0].width,Y=T.width;G.push("scale(".concat((ce(Y)?Y/X:1)/X,")"))}return E&&G.push("rotate(".concat(E,", ").concat(B,", ").concat(q,")")),G.length&&(k.transform=G.join(" ")),I.createElement("text",fj({},je(k,!0),{x:B,y:q,className:Pe("recharts-text",M),textAnchor:S,fill:O.includes("url")?XP:O}),_.map(function(L,H){var Q=L.words.join(D?"":" ");return I.createElement("tspan",{x:B,dy:H===0?$:u,key:"".concat(Q,"-").concat(H)},Q)}))};function Oi(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function qW(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Pw(e){let t,n,r;e.length!==2?(t=Oi,n=(u,d)=>Oi(e(u),d),r=(u,d)=>e(u)-d):(t=e===Oi||e===qW?e:UW,n=e,r=e);function i(u,d,h=0,m=u.length){if(h<m){if(t(d,d)!==0)return m;do{const y=h+m>>>1;n(u[y],
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function EJ(e,t){if(e){if(typeof e=="string")return xj(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 xj(e,t)}}function CJ(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function MJ(e){if(Array.isArray(e))return xj(e)}function xj(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 PJ=function(t){return t},v5={},g5=function(t){return t===v5},HR=function(t){return function n(){return arguments.length===0||arguments.length===1&&g5(arguments.length<=0?void 0:arguments[0])?n:t.apply(void 0,arguments)}},RJ=function e(t,n){return t===1?n:HR(function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var l=i.filter(function(u){return u!==v5}).length;return l>=t?n.apply(void 0,i):e(t-l,HR(function(){for(var u=arguments.length,d=new Array(u),h=0;h<u;h++)d[h]=arguments[h];var m=i.map(function(y){return g5(y)?d.shift():y});return n.apply(void 0,TJ(m).concat(d))}))})},om=function(t){return RJ(t.length,t)},bj=function(t,n){for(var r=[],i=t;i<n;++i)r[i-t]=i;return r},kJ=om(function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map(function(n){return t[n]}).map(e)}),DJ=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!n.length)return PJ;var i=n.reverse(),o=i[0],l=i.slice(1);return function(){return l.reduce(function(u,d){return d(u)},o.apply(void 0,arguments))}},jj=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},x5=function(t){var n=null,r=null;return function(){for(var i=arguments.length,o=new Array(i),l=0;l<i;l++)o[l]=arguments[l];return n&&o.every(function(u,d){return u===n[d]})||(n=o,r=t.apply(void 0,o)),r}};function LJ(e){var t;return e===0?t=1:t=Math.floor(new lt(e).abs().log(10).toNumber())+1,t}function zJ(e,t,n){for(var r=new lt(e),i=0,o=[];r.lt(t)&&i<1e5;)o.push(r.toNumber()),r=r.add(n),i++;return o}var $J=om(function(e,t,n){var r=+e,i=+t;return r+n*(i-r)}),BJ=om(function(e,t,n){var r=t-+e;return r=r||1/0,(n-e)/r}),IJ=om(function(e,t,n){var r=t-+e;return r=r||1/0,Math.max(0,Math.min(1,(n-e)/r))});const lm={rangeStep:zJ,getDigitCount:LJ,interpolateNumber:$J,uninterpolateNumber:BJ,uninterpolateTruncation:IJ};function Sj(e){return VJ(e)||UJ(e)||b5(e)||qJ()}function qJ(){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 UJ(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function VJ(e){if(Array.isArray(e))return wj(e)}function Nu(e,t){return GJ(e)||FJ(e,t)||b5(e,t)||HJ()}function HJ(){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 b5(e,t){if(e){if(typeof e=="string")return wj(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 wj(e,t)}}function wj(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 FJ(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var n=[],r=!0,i=!1,o=void 0;try{for(var l=e[Symbol.iterator](),u;!(r=(u=l.next()).done)&&(n.push(u.value),!(t&&n.length===t));r=!0);}catch(d){i=!0,o=d}finally{try{!r&&l.return!=null&&l.return()}finally{if(i)throw o}}return n}}function GJ(e){if(Array.isArray(e))return e}function j5(e){var t=Nu(e,2),n=t[0],r=t[1],i=n,o=r;return n>r&&(i=r,o=n),[i,o]}function S5(e,t,n){if(e.lte(0))return new lt(0);var r=lm.getDigitCount(e.toNumber()),i=new lt(10).pow(r),o=e.div(i),l=r!==1?.05:.1,u=new lt(Math.ceil(o.div(l).toNumber())).add(n).mul(l),d=u.mul(i);return t?d:new lt(Math.ceil(d))}function KJ(e,t,n){var r=1,i=new lt(e);if(!i.isint()&&n){var o=Math.abs(e);o<1?(r=new lt(10).pow(lm.getDigitCount(e)-1),i=new lt(Math.floor(i.div(r).toNumber())).mul(r)):o>1&&(i=new lt(Math.floor(e)))}else e===0?i=new lt(Math.floor((t-1)/2)):n||(i=new lt(Math.floor(e)));var l=Math.floor((t-1)/2),u=DJ(kJ(function(d){return i.add(new lt(d-l).mul(r)).toNumber()}),bj);return u(0,t)}function w5(e,t,n,r){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;if(!Number.isFinite((t-e)/(n-1)))return{step:new lt(0),tickMin:new lt(0),tickMax:new lt(0)};var o=S5(new lt(t).sub(e).div(n-1),r,i),l;e<=0&&t>=0?l=new lt(0):(l=new lt(e).add(t).div(2),l=l.sub(new lt(l).mod(o)));var u=Math.ceil(l.sub(e).div(o).toNumber()),d=Math.ceil(new lt(t).sub(l).div(o).toNumber()),h=u+d+1;return h>n?w5(e,t,n,r,i+1):(h<n&&(d=t>0?d+(n-h):d,u=t>0?u:u+(n-h)),{step:o,tickMin:l.sub(new lt(u).mul(o)),tickMax:l.add(new lt(d).mul(o))})}function YJ(e){var t=Nu(e,2),n=t[0],r=t[1],i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,l=Math.max(i,2),u=j5([n,r]),d=Nu(u,2),h=d[0],m=d[1];if(h===-1/0||m===1/0){var y=m===1/0?[h].concat(Sj(bj(0,i-1).map(function(){return 1/0}))):[].concat(Sj(bj(0,i-1).map(function(){return-1/0})),[m]);return n>r?jj(y):y}if(h===m)return KJ(h,i,o);var g=w5(h,m,l,o),S=g.step,j=g.tickMin,w=g.tickMax,b=lm.rangeStep(j,w.add(new lt(.1).mul(S)),S);return n>r?jj(b):b}function XJ(e,t){var n=Nu(e,2),r=n[0],i=n[1],o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,l=j5([r,i]),u=Nu(l,2),d=u[0],h=u[1];if(d===-1/0||h===1/0)return[r,i];if(d===h)return[d];var m=Math.max(t,2),y=S5(new lt(h).sub(d).div(m-1),o,0),g=[].concat(Sj(lm.rangeStep(new lt(d),new lt(h).sub(new lt(.99).mul(y)),y)),[h]);return r>i?jj(g):g}var WJ=x5(YJ),ZJ=x5(XJ),QJ="Invariant failed";function Ms(e,t){throw new Error(QJ)}var JJ=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function al(e){"@babel/helpers - typeof";return al=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},al(e)}function Zh(){return Zh=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},Zh.apply(this,arguments)}function eee(e,t){return aee(e)||ree(e,t)||nee(e,t)||tee()}function tee(){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 nee(e,t){if(e){if(typeof e=="string")return FR(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 FR(e,t)}}function FR(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 ree(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,l,u=[],d=!0,h=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(d=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);d=!0);}catch(m){h=!0,i=m}finally{try{if(!d&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(h)throw i}}return u}}function aee(e){if(Array.isArray(e))return e}function iee(e,t){if(e==null)return{};var n=see(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function see(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 oee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lee(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,_5(r.key),r)}}function cee(e,t,n){return t&&lee(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function uee(e,t,n){return t=Qh(t),fee(e,A5()?Reflect.construct(t,n||[],Qh(e).constructor):t.apply(e,n))}function fee(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 dee(e)}function dee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A5(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(A5=function(){return!!e})()}function Qh(e){return Qh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Qh(e)}function hee(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&&Aj(e,t)}function Aj(e,t){return Aj=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Aj(e,t)}function O5(e,t,n){return t=_5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _5(e){var t=pee(e,"string");return al(t)=="symbol"?t:t+""}function pee(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 uf=(function(e){function t(){return oee(this,t),uee(this,t,arguments)}return hee(t,e),cee(t,[{key:"render",value:function(){var r=this.props,i=r.offset,o=r.layout,l=r.width,u=r.dataKey,d=r.data,h=r.dataPointFormatter,m=r.xAxis,y=r.yAxis,g=iee(r,JJ),S=je(g,!1);this.props.direction==="x"&&m.type!=="number"&&Ms();var j=d.map(function(w){var b=h(w,u),O=b.x,T=b.y,_=b.value,N=b.errorVal;if(!N)return null;var A=[],E,M;if(Array.isArray(N)){var D=eee(N,2);E=D[0],M=D[1]}else E=M=N;if(o==="vertical"){var k=m.scale,B=T+i,q=B+l,$=B-l,G=k(_-E),X=k(_+M);A.push({x1:X,y1:q,x2:X,y2:$}),A.push({x1:G,y1:B,x2:X,y2:B}),A.push({x1:G,y1:q,x2:G,y2:$})}else if(o==="horizontal"){var Y=y.scale,L=O+i,H=L-l,Q=L+l,ae=Y(_-E),oe=Y(_+M);A.push({x1:H,y1:oe,x2:Q,y2:oe}),A.push({x1:L,y1:ae,x2:L,y2:oe}),A.push({x1:H,y1:ae,x2:Q,y2:ae})}return I.createElement(qe,Zh({className:"recharts-errorBar",key:"bar-".concat(A.map(function(z){retur
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xee(e,t){if(e){if(typeof e=="string")return Oj(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 Oj(e,t)}}function bee(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function jee(e){if(Array.isArray(e))return Oj(e)}function Oj(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(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Pt(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){Go(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 Go(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 Cu(t)=="symbol"?t:t+""}function wee(e,t){if(Cu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Cu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Dt(e,t,n){return Ee(e)||Ee(t)?n:Xt(t)?Xn(e,t,n):Te(t)?t(e):n}function au(e,t,n,r){var i=jJ(e,function(u){return Dt(u,t)});if(n==="number"){var o=i.filter(function(u){return ce(u)||parseFloat(u)});return o.length?[sm(o),Si(o)]:[1/0,-1/0]}var l=r?i.filter(function(u){return!Ee(u)}):i;return l.map(function(u){return Xt(u)||u instanceof Date?u:""})}var Aee=function(t){var n,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],i=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,l=-1,u=(n=r==null?void 0:r.length)!==null&&n!==void 0?n:0;if(u<=1)return 0;if(o&&o.axisType==="angleAxis"&&Math.abs(Math.abs(o.range[1]-o.range[0])-360)<=1e-6)for(var d=o.range,h=0;h<u;h++){var m=h>0?i[h-1].coordinate:i[u-1].coordinate,y=i[h].coordinate,g=h>=u-1?i[0].coordinate:i[h+1].coordinate,S=void 0;if(bn(y-m)!==bn(g-y)){var j=[];if(bn(g-y)===bn(d[1]-d[0])){S=g;var w=y+d[1]-d[0];j[0]=Math.min(w,(w+m)/2),j[1]=Math.max(w,(w+m)/2)}else{S=m;var b=g+d[1]-d[0];j[0]=Math.min(y,(b+y)/2),j[1]=Math.max(y,(b+y)/2)}var O=[Math.min(y,(S+y)/2),Math.max(y,(S+y)/2)];if(t>O[0]&&t<=O[1]||t>=j[0]&&t<=j[1]){l=i[h].index;break}}else{var T=Math.min(m,g),_=Math.max(m,g);if(t>(T+y)/2&&t<=(_+y)/2){l=i[h].index;break}}}else for(var N=0;N<u;N++)if(N===0&&t<=(r[N].coordinate+r[N+1].coordinate)/2||N>0&&N<u-1&&t>(r[N].coordinate+r[N-1].coordinate)/2&&t<=(r[N].coordinate+r[N+1].coordinate)/2||N===u-1&&t>(r[N].coordinate+r[N-1].coordinate)/2){l=r[N].index;break}return l},nA=function(t){var n,r=t,i=r.type.displayName,o=(n=t.type)!==null&&n!==void 0&&n.defaultProps?Pt(Pt({},t.type.defaultProps),t.props):t.props,l=o.stroke,u=o.fill,d;switch(i){case"Line":d=l;break;case"Area":case"Radar":d=l&&l!=="none"?l:u;break;default:d=u;break}return d},Oee=function(t){var n=t.barSize,r=t.totalSize,i=t.stackGroups,o=i===void 0?{}:i;if(!o)return{};for(var l={},u=Object.keys(o),d=0,h=u.length;d<h;d++)for(var m=o[u[d]].stackGroups,y=Object.keys(m),g=0,S=y.length;g<S;g++){var j=m[y[g]],w=j.items,b=j.cateAxisId,O=w.filter(function(M){return Ca(M.type).indexOf("Bar")>=0});if(O&&O.length){var T=O[0].type.defaultProps,_=T!==void 0?Pt(Pt({},T),O[0].props):O[0].props,N=_.barSize,A=_[b];l[A]||(l[A]=[]);var E=Ee(N)?n:N;l[A].push({item:O[0],stackList:O.slice(1),barSize:Ee(E)?void 0:jn(E,r,0)})}}return l},_ee=function(t){var n=t.barGap,r=t.barCategoryGap,i=t.bandSize,o=t.sizeList,l=o===void 0?[]:o,u=t.maxBarSize,d=l.length;if(d<1)ret
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Hee(e,t){if(e){if(typeof e=="string")return tk(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 tk(e,t)}}function tk(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 Fee(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,l,u=[],d=!0,h=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(d=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);d=!0);}catch(m){h=!0,i=m}finally{try{if(!d&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(h)throw i}}return u}}function Gee(e){if(Array.isArray(e))return e}var tp=Math.PI/180,Kee=function(t){return t*180/Math.PI},mt=function(t,n,r,i){return{x:t+Math.cos(-tp*i)*r,y:n+Math.sin(-tp*i)*r}},$5=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},Yee=function(t,n,r,i,o){var l=t.width,u=t.height,d=t.startAngle,h=t.endAngle,m=jn(t.cx,l,l/2),y=jn(t.cy,u,u/2),g=$5(l,u,r),S=jn(t.innerRadius,g,0),j=jn(t.outerRadius,g,g*.8),w=Object.keys(n);return w.reduce(function(b,O){var T=n[O],_=T.domain,N=T.reversed,A;if(Ee(T.range))i==="angleAxis"?A=[d,h]:i==="radiusAxis"&&(A=[S,j]),N&&(A=[A[1],A[0]]);else{A=T.range;var E=A,M=Uee(E,2);d=M[0],h=M[1]}var D=P5(T,o),k=D.realScaleType,B=D.scale;B.domain(_).range(A),R5(B);var q=k5(B,_a(_a({},T),{},{realScaleType:k})),$=_a(_a(_a({},T),q),{},{range:A,radius:j,realScaleType:k,scale:B,cx:m,cy:y,innerRadius:S,outerRadius:j,startAngle:d,endAngle:h});return _a(_a({},b),{},z5({},O,$))},{})},Xee=function(t,n){var r=t.x,i=t.y,o=n.x,l=n.y;return Math.sqrt(Math.pow(r-o,2)+Math.pow(i-l,2))},Wee=function(t,n){var r=t.x,i=t.y,o=n.cx,l=n.cy,u=Xee({x:r,y:i},{x:o,y:l});if(u<=0)return{radius:u};var d=(r-o)/u,h=Math.acos(d);return i>l&&(h=2*Math.PI-h),{radius:u,angle:Kee(h),angleInRadian:h}},Zee=function(t){var n=t.startAngle,r=t.endAngle,i=Math.floor(n/360),o=Math.floor(r/360),l=Math.min(i,o);return{startAngle:n-l*360,endAngle:r-l*360}},Qee=function(t,n){var r=n.startAngle,i=n.endAngle,o=Math.floor(r/360),l=Math.floor(i/360),u=Math.min(o,l);return t+u*360},nk=function(t,n){var r=t.x,i=t.y,o=Wee({x:r,y:i},n),l=o.radius,u=o.angle,d=n.innerRadius,h=n.outerRadius;if(l<d||l>h)return!1;if(l===0)return!0;var m=Zee(n),y=m.startAngle,g=m.endAngle,S=u,j;if(y<=g){for(;S>g;)S-=360;for(;S<y;)S+=360;j=S>=y&&S<=g}else{for(;S>y;)S-=360;for(;S<g;)S+=360;j=S>=g&&S<=y}return j?_a(_a({},n),{},{radius:l,angle:Qee(S,n)}):null},B5=function(t){return!P.isValidElement(t)&&!Te(t)&&typeof t!="boolean"?t.className:""};function Pu(e){"@babel/helpers - typeof";return Pu=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},Pu(e)}var Jee=["offset"];function ete(e){return ate(e)||rte(e)||nte(e)||tte()}function tte(){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 nte(e,t){if(e){if(typeof e=="string")return Tj(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 Tj(e,t)}}function rte(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ate(e){if(Array.isArray(e))return Tj(e)}function Tj(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 ite(e,t){if(e==null)return{};var n=ste(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function ste(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 rk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Gt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?rk(Object(n),!0).forEach(function(r){ote(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ote(e,t,n){return t=lte(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lte(e){var t=cte(e,"string");return Pu(t)=="symbol"?t:t+""}function cte(e,t){if(Pu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Pu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ru(){return Ru=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},Ru.apply(this,arguments)}var ute=function(t){var n=t.value,r=t.formatter,i=Ee(t.children)?n:t.children;return Te(r)?r(i):i},fte=function(t,n){var r=bn(n-t),i=Math.min(Math.abs(n-t),360);return r*i},dte=function(t,n,r){var i=t.position,o=t.viewBox,l=t.offset,u=t.className,d=o,h=d.cx,m=d.cy,y=d.innerRadius,g=d.outerRadius,S=d.startAngle,j=d.endAngle,w=d.clockWise,b=(y+g)/2,O=fte(S,j),T=O>=0?1:-1,_,N;i==="insideStart"?(_=S+T*l,N=w):i==="insideEnd"?(_=j-T*l,N=!w):i==="end"&&(_=j+T*l,N=w),N=O<=0?N:!N;var A=mt(h,m,b,_),E=mt(h,m,b,_+(N?1:-1)*359),M="M".concat(A.x,",").concat(A.y,`
A`).concat(b,",").concat(b,",0,1,").concat(N?0:1,`,
`).concat(E.x,",").concat(E.y),D=Ee(t.id)?Ls("recharts-radial-line-"):t.id;return I.createElement("text",Ru({},r,{dominantBaseline:"central",className:Pe("recharts-radial-bar-label",u)}),I.createElement("defs",null,I.createElement("path",{id:D,d:M})),I.createElement("textPath",{xlinkHref:"#".concat(D)},n))},hte=function(t){var n=t.viewBox,r=t.offset,i=t.position,o=n,l=o.cx,u=o.cy,d=o.innerRadius,h=o.outerRadius,m=o.startAngle,y=o.endAngle,g=(m+y)/2;if(i==="outside"){var S=mt(l,u,h+r,g),j=S.x,w=S.y;return{x:j,y:w,textAnchor:j>=l?"start":"end",verticalAnchor:"middle"}}if(i==="center")return{x:l,y:u,textAnchor:"middle",verticalAnchor:"middle"};if(i==="centerTop")return{x:l,y:u,textAnchor:"middle",verticalAnchor:"start"};if(i==="centerBottom")return{x:l,y:u,textAnchor:"middle",verticalAnchor:"end"};var b=(d+h)/2,O=mt(l,u,b,g),T=O.x,_=O.y;return{x:T,y:_,textAnchor:"middle",verticalAnchor:"middle"}},pte=function(t){var n=t.viewBox,r=t.parentViewBox,i=t.offset,o=t.position,l=n,u=l.x,d=l.y,h=l.width,m=l.height,y=m>=0?1:-1,g=y*i,S=y>0?"end":"start",j=y>0?"start":"end",w=h>=0?1:-1,b=w*i,O=w>0?"end":"start",T=w>0?"start":"end";if(o==="top"){var _={x:u+h/2,y:d-y*i,textAnchor:"middle",verticalAnchor:S};return Gt(Gt({},_),r?{height:Math.max(d-r.y,0),width:h}:{})}if(o==="bottom"){var N={x:u+h/2,y:d+m+g,textAnchor:"middle",verticalAnchor:j};return Gt(Gt({},N),r?{height:Math.max(r.y+r.height-(d+m),0),width:h}:{})}if(o==="left"){var A={x:u-b,y:d+m/2,textAnchor:O,verticalAnchor:"middle"};return Gt(Gt({},A),r?{width:Math.max(A.x-r.x,0),height:m}:{})}if(o==="right"){var E={x:u+h+b,y:d+m/2,textAnchor:T,verticalAnchor:"middle"};return Gt(Gt({},E),r?{width:Math.max(r.x+r.width-E.x,0),height:m}:{})}var M=r?{width:h,height:m}:{};return o==="insideLeft"?Gt({x:u+b,y:d+m/2,textAnchor:T,verticalAnchor:"middle"},M):o==="insideRight"?Gt({x:u+h-b,y:d+m/2,textAnchor:O,verticalAnchor:"middle"},M):o==="insideTop"?Gt({x:u+h/2,y:d+g,textAnchor:"middle",verticalAnchor:j},M):o==="insideBottom"?Gt({x:u+h/2,y:d+m-g,textAnchor:"middle",verticalAnchor:S},M):o==="insideTopLeft"?Gt({x:u+b,y:d+g,textAnchor:T,verticalAnchor:j},M):o==="insideTopRight"?Gt({x:u+h-b,y:d+g,textAnchor:O,verticalAnchor:j},M):o==="insideBottomLeft"?Gt({x:u+b,y:d+m-g,textAnchor:T,verticalAnchor:S},M):o==="insideBottomRight"?Gt({x:u+h-b,y:d+m-g,textAnchor:O,verticalAnchor:S},M):Cl(o)&&(ce(o.x)||ms(o.x))&&(ce(o.y)||ms(o.y))?Gt({x:u+jn(o.x,h),y:d+jn(o.y,m),textAnchor:"end",verticalAnchor:"end"},M):Gt({x:u+h/2,y:d+m/2,textAnchor:"middle",verticalAnchor:"middle"},M)},mte=function(t){return"cx"in t&&ce(t.cx)};function en(e){var t=e.offset,n=t===void 0?5:t,r=ite(e,Jee),i=Gt({offset:n},r),o=i.viewBox,l=i.position,u=i.value,d=i.children,h=i.content,m=i.className,y=m===void 0?"":m,g=i.textBreakAll;if(!o||Ee(u)&&Ee(d)&&!P.isValidElement(h)&&!Te(h))return null;if(P.isValidElement(h))return P.cloneElement(h,i);var S;if(Te(h)){if(S=P.createElement(h,i),P.isValidElement(S))return S}else S=ute(i);var j=mte(o),w=je(i,!0);if(j&&(l==="insideStart"||l==="insideEnd"||l==="end"))return dte(i,S,w);var b=j?hte(i):pte(i);return I.createElement(Ns,Ru({className:Pe("recharts-label",y)},w,b,{breakAll:g}),S)}en.displayName="Label";var I5=function(t){var n=t.cx,r=t.cy,i=t.angle,o=t.startAngle,l=t.endAngle,u=t.r,d=t.radius,h=t.innerRadius,m=t.outerRadius,y=t.x,g=t.y,S=t.top,j=t.left,w=t.width,b=t.height,O=t.clockWise,T=t.labelViewBox;if(T)return T;if(ce(w)&&ce(b)){if(ce(y)&&ce(g))return{x:y,y:g,width:w,height:b};if(ce(S)&&ce(j))return{x:S,y:j,width:w,height:b}}return ce(y)&&ce(g)?{x:y,y:g,width:0,height:0}:ce(n)&&ce(r)?{cx:n,cy:r,startAngle:o||i||0,endAngle:l||i||0,innerRadius:h||0,outerRadius:m||d||u||0,clockWise:O}:t.viewBox?t.viewBox:{}},yte=function(t,n){return t?t===!0?I.createElement(en,{key:"label-implicit",viewBox:n}):Xt(t)?I.createElement(en,{key:"label-implicit",viewBox:n,value:t}):P.isValidElement(t)?t.type===en?P.cloneElement(t,{key:"label-implicit",viewBox:n}):I.createElement(en,{key:"label-implicit",content:t,viewBox:n}):Te(t)?I.createElement(en,{key:"label-implicit",content:t,viewBox:n}):Cl(t)?I.createEl
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ote(e,t){if(e){if(typeof e=="string")return Nj(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 Nj(e,t)}}function _te(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Tte(e){if(Array.isArray(e))return Nj(e)}function Nj(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 np(){return np=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},np.apply(this,arguments)}function ik(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function sk(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ik(Object(n),!0).forEach(function(r){Nte(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ik(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Nte(e,t,n){return t=Ete(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ete(e){var t=Cte(e,"string");return ku(t)=="symbol"?t:t+""}function Cte(e,t){if(ku(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ku(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ok(e,t){if(e==null)return{};var n=Mte(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Mte(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 Pte=function(t){return Array.isArray(t.value)?bte(t.value):t.value};function Wr(e){var t=e.valueAccessor,n=t===void 0?Pte:t,r=ok(e,jte),i=r.data,o=r.dataKey,l=r.clockWise,u=r.id,d=r.textBreakAll,h=ok(r,Ste);return!i||!i.length?null:I.createElement(qe,{className:"recharts-label-list"},i.map(function(m,y){var g=Ee(o)?n(m,y):Dt(m&&m.payload,o),S=Ee(u)?{}:{id:"".concat(u,"-").concat(y)};return I.createElement(en,np({},je(m,!0),h,S,{parentViewBox:m.parentViewBox,value:g,textBreakAll:d,viewBox:en.parseViewBox(Ee(l)?m:sk(sk({},m),{},{clockWise:l})),key:"label-".concat(y),index:y}))}))}Wr.displayName="LabelList";function Rte(e,t){return e?e===!0?I.createElement(Wr,{key:"labelList-implicit",data:t}):I.isValidElement(e)||Te(e)?I.createElement(Wr,{key:"labelList-implicit",data:t,content:e}):Cl(e)?I.createElement(Wr,np({data:t},e,{key:"labelList-implicit"})):null:null}function kte(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,i=Wn(r,Wr).map(function(l,u){return P.cloneElement(l,{data:t,key:"labelList-".concat(u)})});if(!n)return i;var o=Rte(e.label,t);return[o].concat(wte(i))}Wr.renderCallByParent=kte;function Du(e){"@babel/helpers - typeof";return Du=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},Du(e)}function Ej(){return Ej=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},Ej.apply(this,arguments)}function lk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(
A `).concat(o,",").concat(o,`,0,
`).concat(+(Math.abs(d)>180),",").concat(+(l>h),`,
`).concat(y.x,",").concat(y.y,`
`);if(i>0){var S=mt(n,r,i,l),j=mt(n,r,i,h);g+="L ".concat(j.x,",").concat(j.y,`
A `).concat(i,",").concat(i,`,0,
`).concat(+(Math.abs(d)>180),",").concat(+(l<=h),`,
`).concat(S.x,",").concat(S.y," Z")}else g+="L ".concat(n,",").concat(r," Z");return g},Bte=function(t){var n=t.cx,r=t.cy,i=t.innerRadius,o=t.outerRadius,l=t.cornerRadius,u=t.forceCornerRadius,d=t.cornerIsExternal,h=t.startAngle,m=t.endAngle,y=bn(m-h),g=Kd({cx:n,cy:r,radius:o,angle:h,sign:y,cornerRadius:l,cornerIsExternal:d}),S=g.circleTangency,j=g.lineTangency,w=g.theta,b=Kd({cx:n,cy:r,radius:o,angle:m,sign:-y,cornerRadius:l,cornerIsExternal:d}),O=b.circleTangency,T=b.lineTangency,_=b.theta,N=d?Math.abs(h-m):Math.abs(h-m)-w-_;if(N<0)return u?"M ".concat(j.x,",").concat(j.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
`):q5({cx:n,cy:r,innerRadius:i,outerRadius:o,startAngle:h,endAngle:m});var A="M ".concat(j.x,",").concat(j.y,`
A`).concat(l,",").concat(l,",0,0,").concat(+(y<0),",").concat(S.x,",").concat(S.y,`
A`).concat(o,",").concat(o,",0,").concat(+(N>180),",").concat(+(y<0),",").concat(O.x,",").concat(O.y,`
A`).concat(l,",").concat(l,",0,0,").concat(+(y<0),",").concat(T.x,",").concat(T.y,`
`);if(i>0){var E=Kd({cx:n,cy:r,radius:i,angle:h,sign:y,isExternal:!0,cornerRadius:l,cornerIsExternal:d}),M=E.circleTangency,D=E.lineTangency,k=E.theta,B=Kd({cx:n,cy:r,radius:i,angle:m,sign:-y,isExternal:!0,cornerRadius:l,cornerIsExternal:d}),q=B.circleTangency,$=B.lineTangency,G=B.theta,X=d?Math.abs(h-m):Math.abs(h-m)-k-G;if(X<0&&l===0)return"".concat(A,"L").concat(n,",").concat(r,"Z");A+="L".concat($.x,",").concat($.y,`
A`).concat(l,",").concat(l,",0,0,").concat(+(y<0),",").concat(q.x,",").concat(q.y,`
A`).concat(i,",").concat(i,",0,").concat(+(X>180),",").concat(+(y>0),",").concat(M.x,",").concat(M.y,`
A`).concat(l,",").concat(l,",0,0,").concat(+(y<0),",").concat(D.x,",").concat(D.y,"Z")}else A+="L".concat(n,",").concat(r,"Z");return A},Ite={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},U5=function(t){var n=ck(ck({},Ite),t),r=n.cx,i=n.cy,o=n.innerRadius,l=n.outerRadius,u=n.cornerRadius,d=n.forceCornerRadius,h=n.cornerIsExternal,m=n.startAngle,y=n.endAngle,g=n.className;if(l<o||m===y)return null;var S=Pe("recharts-sector",g),j=l-o,w=jn(u,j,0,!0),b;return w>0&&Math.abs(m-y)<360?b=Bte({cx:r,cy:i,innerRadius:o,outerRadius:l,cornerRadius:Math.min(w,j/2),forceCornerRadius:d,cornerIsExternal:h,startAngle:m,endAngle:y}):b=q5({cx:r,cy:i,innerRadius:o,outerRadius:l,startAngle:m,endAngle:y}),I.createElement("path",Ej({},je(n,!0),{className:S,d:b,role:"img"}))};function Lu(e){"@babel/helpers - typeof";return Lu=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},Lu(e)}function Cj(){return Cj=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},Cj.apply(this,arguments)}function uk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function fk(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?uk(Object(n),!0).forEach(function(r){qte(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function qte(e,t,n){return t=Ute(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ute(e){var t=Vte(e,"string");return Lu(t)=="symbol"?t:t+""}function Vte(e,t){if(Lu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Lu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var dk={curveBasisClosed:cK,curveBasisOpen:uK,curveBasis:lK,curveBumpX:YG,curveBumpY:XG,curveLinearClosed:fK,curveLinear:Kp,curveMonotoneX:dK,curveMonotoneY:hK,curveNatural:pK,curveStep:mK,curveStepAfter:vK,curveStepBefore:yK},Yd=function(t){return t.x===+t.x&&t.y===+t.y},qc=function(t){return t.x},Uc=function(t){return t.y},Hte=function(t,n){if(Te(t))return t;var r="curve".concat(Fp(t));return(r==="curveMonotone"||r==="curveBump")&&n?dk["".concat(r).concat(n==="vertical"?"Y":"X")]:dk[r]||Kp},Fte=function(t){var n=t.type,r=n===void 0?"linear":n,i=t.points,o=i===void 0?[]:i,l=t.baseLine,u=t.layout,d=t.connectNulls,h=d===void 0?!1:d,m=Hte(r,u),y=h?o.filter(function(w){return Yd(w)}):o,g;if(Array.isArray(l)){var S=h?l.filter(function(w){return Yd(w)}):l,j=y.map(function(w,b){return fk(fk({},w),{},{base:S[b]})});return u==="vertical"?g=Bd().y(Uc).x1(qc).x0(function(w){return w.base.x}):g=Bd().x(qc).y1(Uc).y0(function(w){return w.base.y}),g.defined(Yd).curve(m),g(j)}return u==="vertical"&&ce(l)?g=Bd().y(Uc).x1(qc).x0(l):ce(l)?g=Bd().x(qc).y1(Uc).y0(l):g=qL().x(qc).y(Uc),g.defined(Yd).curve(m),g(y)},As=function(t){var n=t.className,r=t.points,i=t.path,o=t.pathRef;if((!r||!r.length)&&!i)return null;var l=r&&r.length?Fte(t):i;return P.createElement("path",Cj({},je(t,!1),Th(t),{className:Pe("recharts-curve",n),d:l,ref:o}))},P0={exports:{}},R0,hk;function Gte(){if(hk)return R0;hk=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return R0=e,R0}var k0,pk;function Kte(){if(pk)return k0;pk=1;var e=Gte();function t(){}function n(){}return n.resetWarningCache=t,k0=function(){function r(l,u,d,h,m,y){if(y!==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 $ne(e,t){if(e){if(typeof e=="string")return Sk(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 Sk(e,t)}}function Sk(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 Bne(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ine(e){if(Array.isArray(e))return e}function qne(){var e={},t=function(){return null},n=!1,r=function i(o){if(!n){if(Array.isArray(o)){if(!o.length)return;var l=o,u=Lne(l),d=u[0],h=u.slice(1);if(typeof d=="number"){jk(i.bind(null,h),d);return}i(d),jk(i.bind(null,h));return}Mj(o)==="object"&&(e=o,t(e)),typeof o=="function"&&o()}};return{stop:function(){n=!0},start:function(o){n=!1,r(o)},subscribe:function(o){return t=o,function(){t=function(){return null}}}}}function zu(e){"@babel/helpers - typeof";return zu=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},zu(e)}function wk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ak(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?wk(Object(n),!0).forEach(function(r){H5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function H5(e,t,n){return t=Une(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Une(e){var t=Vne(e,"string");return zu(t)==="symbol"?t:String(t)}function Vne(e,t){if(zu(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(zu(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Hne=function(t,n){return[Object.keys(t),Object.keys(n)].reduce(function(r,i){return r.filter(function(o){return i.includes(o)})})},Fne=function(t){return t},Gne=function(t){return t.replace(/([A-Z])/g,function(n){return"-".concat(n.toLowerCase())})},iu=function(t,n){return Object.keys(n).reduce(function(r,i){return Ak(Ak({},r),{},H5({},i,t(i,n[i])))},{})},Ok=function(t,n,r){return t.map(function(i){return"".concat(Gne(i)," ").concat(n,"ms ").concat(r)}).join(",")};function Kne(e,t){return Wne(e)||Xne(e,t)||F5(e,t)||Yne()}function Yne(){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 Xne(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,l,u=[],d=!0,h=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(d=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);d=!0);}catch(m){h=!0,i=m}finally{try{if(!d&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(h)throw i}}return u}}function Wne(e){if(Array.isArray(e))return e}function Zne(e){return ere(e)||Jne(e)||F5(e)||Qne()}function Qne(){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 F5(e,t){if(e){if(typeof e=="string")return Pj(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 Pj(e,t)}}function Jne(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ere(e){if(Array.isArray(e))return Pj(e)}function Pj(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 ap=1e-4,G5=function(t,n){return[0,3*t,3*n-6*t,3*t-3*n+1]},K5=function(t,n){return t.map(function(r,i){return r*Math.pow(n,i)}).reduce(function(r,i){return r+i})},_k=function(t,n){return function(r){var i=G5(t,n);return K5(i,r)}},tre=function(t,n){return function(r){var i=G5(t,n),o=[].concat(Zne(i.map(function(l,u){return l*u}).slice(1)),[0]);return K5(o,r)}},Tk=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n[0],o=n[1],l=n[2],u=n[3];if(n.length===1)switch(n[0]){case"linear":i=0,o=0,l=1,u=1;break;case"ease":i=.25,o=.1,l=.25,u=1;break;case"ease-in":i=.42,o=0,l=1,u=1;break;case"ease-out":i=.42,o=0,l=.58,u=1;break;case"ease-in-out":i=0,o=0,l=.58,u=1;break;default:{var d=n[0].split("(");if(d[0]==="cubic-bezier"&&d[1].split(")")[0].split(",").length===4){var h=d[1].split(")")[0].split(",").map(function(b){return parseFloat(b)}),m=Kne(h,4);i=m[0],o=m[1],l=m[2],u=m[3]}}}var y=_k(i,l),g=_k(o,u),S=tre(i,l),j=function(O){return O>1?1:O<0?0:O},w=function(O){for(var T=O>1?1:O,_=T,N=0;N<8;++N){var A=y(_)-T,E=S(_);if(Math.abs(A-T)<ap||E<ap)return g(_);_=j(_-A/E)}return g(_)};return w.isStepper=!1,w},nre=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.stiff,r=n===void 0?100:n,i=t.damping,o=i===void 0?8:i,l=t.dt,u=l===void 0?17:l,d=function(m,y,g){var S=-(m-y)*r,j=g*o,w=g+(S-j)*u/1e3,b=g*u/1e3+m;return Math.abs(b-y)<ap&&Math.abs(w)<ap?[y,0]:[b,w]};return d.isStepper=!0,d.dt=u,d},rre=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n[0];if(typeof i=="string")switch(i){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return Tk(i);case"spring":return nre();default:if(i.split("(")[0]==="cubic-bezier")return Tk(i)}return typeof i=="function"?i:null};function $u(e){"@babel/helpers - typeof";return $u=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},$u(e)}function Nk(e){return sre(e)||ire(e)||Y5(e)||are()}function are(){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 ire(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function sre(e){if(Array.isArray(e))return kj(e)}function Ek(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function cn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ek(Object(n),!0).forEach(function(r){Rj(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ek(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Rj(e,t,n){return t=ore(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ore(e){var t=lre(e,"string");return $u(t)==="symbol"?t:String(t)}function lre(e,t){if($u(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if($u(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function cre(e,t){return dre(e)||fre(e,t)||Y5(e,t)||ure()}function ure(){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 Y5(e,t){if(e){if(typeof e=="string")return kj(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 kj(e,t)}}function kj(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 fre(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,l,u=[],d=!0,h=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(d=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);d=!0);}catch(m){h=!0,i=m}finally{try{if(!d&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(h)throw i}}return u}}function dre(e){if(Array.isArray(e))return e}var ip=function(t,n,r){return t+(n-t)*r},Dj=function(t){var n=t.from,r=t.to;return n!==r},hre=function e(t,n,r){var i=iu(function(o,l){if(Dj(l)){var u=t(l.from,l.to,l.velocity),d=cre(u,2),h=d[0],m=d[1];return cn(cn({},l),{},{from:h,velocity:m})}return l},n);return r<1?iu(function(o,l){return Dj(l)?cn(cn({},l),{},{velocity:ip(l.velocity,i[o].velocity,r),from:ip(l.from,i[o].from,r)}):l},n):e(t,i,r-1)};const pre=(function(e,t,n,r,i){var o=Hne(e,t),l=o.reduce(function(b,O){return cn(cn({},b),{},Rj({},O,[e[O],t[O]]))},{}),u=o.reduce(function(b,O){return cn(cn({},b),{},Rj({},O,{from:e[O],velocity:0,to:t[O]}))},{}),d=-1,h,m,y=function(){return null},g=function(){return iu(function(O,T){return T.from},u)},S=function(){return!Object.values(u).filter(Dj).length},j=function(O){h||(h=O);var T=O-h,_=T/n.dt;u=hre(n,u,_),i(cn(cn(cn({},e),t),g())),h=O,S()||(d=requestAnimationFrame(y))},w=function(O){m||(m=O);var T=(O-m)/r,_=iu(function(A,E){return ip.apply(void 0,Nk(E).concat([n(T)]))},l);if(i(cn(cn(cn({},e),t),_)),T<1)d=requestAnimationFrame(y);else{var N=iu(function(A,E){return ip.apply(void 0,Nk(E).concat([n(1)]))},l);i(cn(cn(cn({},e),t),N))}};return y=n.isStepper?j:w,function(){return requestAnimationFrame(y),function(){cancelAnimationFrame(d)}}});function il(e){"@babel/helpers - typeof";return il=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},il(e)}var mre=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function yre(e,t){if(e==null)return{};var n=vre(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function vre(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function L0(e){return jre(e)||bre(e)||xre(e)||gre()}function gre(){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 xre(e,t){if(e){if(typeof e=="string")return Lj(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 Lj(e,t)}}function bre(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function jre(e){if(Array.isArray(e))return Lj(e)}function Lj(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 Ck(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Or(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ck(Object(n),!0).forEach(function(r){Wc(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ck(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Wc(e,t,n){return t=X5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wre(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,X5(r.key),r)}}function Are(e,t,n){return t&&wre(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function X5(e){var t=Ore(e,"string");return il(t)==="symbol"?t:String(t)}function Ore(e,t){if(il(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(il(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function _re(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&&zj(e,t)}function zj(e,t){return zj=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},zj(e,t)}function Tre(e){var t=Nre();return function(){var r=sp(e),i;if(t){var o=sp(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return $j(this,i)}}function $j(e,t){if(t&&(il(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Bj(e)}function Bj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nre(){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 sp(e){return sp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},sp(e)}var Dr=(function(e){_re(n,e);var t=Tre(n);function n(r,i){var o;Sre(this,n),o=t.call(this,r,i);var l=o.props,u=l.isActive,d=l.attributeName,h=l.from,m=l.to,y=l.steps,g=l.children,S=l.duration;if(o.handleStyleChange=o.handleStyleChange.bind(Bj(o)),o.changeStyle=o.changeStyle.bind(Bj(o)),!u||S<=0)return o.state={style:{}},typeof g=="function"&&(o.state={style:m}),$j(o);if(y&&y.length)o.state={style:y[0].style};else if(h){if(typeof g=="function")return o.state={style:h},$j(o);o.state={style:d?Wc({},d,h):h}}else o.state={style:{}};return o}return Are(n,[{key:"componentDidMount",value:function(){var i=this.props,o=i.isActive,l=i.canBegin;this.mounted=!0,!(!o||!l)&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(i){var o=this.props,l=o.isActive,u=o.canBegin,d=o.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Mre(e,t){if(e){if(typeof e=="string")return Mk(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 Mk(e,t)}}function Mk(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 Pre(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,l,u=[],d=!0,h=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(d=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);d=!0);}catch(m){h=!0,i=m}finally{try{if(!d&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(h)throw i}}return u}}function Rre(e){if(Array.isArray(e))return e}function Pk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Rk(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Pk(Object(n),!0).forEach(function(r){kre(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function kre(e,t,n){return t=Dre(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dre(e){var t=Lre(e,"string");return Bu(t)=="symbol"?t:t+""}function Lre(e,t){if(Bu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Bu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var kk=function(t,n,r,i,o){var l=Math.min(Math.abs(r)/2,Math.abs(i)/2),u=i>=0?1:-1,d=r>=0?1:-1,h=i>=0&&r>=0||i<0&&r<0?1:0,m;if(l>0&&o instanceof Array){for(var y=[0,0,0,0],g=0,S=4;g<S;g++)y[g]=o[g]>l?l:o[g];m="M".concat(t,",").concat(n+u*y[0]),y[0]>0&&(m+="A ".concat(y[0],",").concat(y[0],",0,0,").concat(h,",").concat(t+d*y[0],",").concat(n)),m+="L ".concat(t+r-d*y[1],",").concat(n),y[1]>0&&(m+="A ".concat(y[1],",").concat(y[1],",0,0,").concat(h,`,
`).concat(t+r,",").concat(n+u*y[1])),m+="L ".concat(t+r,",").concat(n+i-u*y[2]),y[2]>0&&(m+="A ".concat(y[2],",").concat(y[2],",0,0,").concat(h,`,
`).concat(t+r-d*y[2],",").concat(n+i)),m+="L ".concat(t+d*y[3],",").concat(n+i),y[3]>0&&(m+="A ".concat(y[3],",").concat(y[3],",0,0,").concat(h,`,
`).concat(t,",").concat(n+i-u*y[3])),m+="Z"}else if(l>0&&o===+o&&o>0){var j=Math.min(l,o);m="M ".concat(t,",").concat(n+u*j,`
A `).concat(j,",").concat(j,",0,0,").concat(h,",").concat(t+d*j,",").concat(n,`
L `).concat(t+r-d*j,",").concat(n,`
A `).concat(j,",").concat(j,",0,0,").concat(h,",").concat(t+r,",").concat(n+u*j,`
L `).concat(t+r,",").concat(n+i-u*j,`
A `).concat(j,",").concat(j,",0,0,").concat(h,",").concat(t+r-d*j,",").concat(n+i,`
L `).concat(t+d*j,",").concat(n+i,`
A `).concat(j,",").concat(j,",0,0,").concat(h,",").concat(t,",").concat(n+i-u*j," Z")}else m="M ".concat(t,",").concat(n," h ").concat(r," v ").concat(i," h ").concat(-r," Z");return m},zre=function(t,n){if(!t||!n)return!1;var r=t.x,i=t.y,o=n.x,l=n.y,u=n.width,d=n.height;if(Math.abs(u)>0&&Math.abs(d)>0){var h=Math.min(o,o+u),m=Math.max(o,o+u),y=Math.min(l,l+d),g=Math.max(l,l+d);return r>=h&&r<=m&&i>=y&&i<=g}return!1},$re={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},rA=function(t){var n=Rk(Rk({},$re),t),r=P.useRef(),i=P.useState(-1),o=Ere(i,2),l=o[0],u=o[1];P.useEffect(function(){if(r.current&&r.current.getTotalLength)try{var N=r.current.getTotalLength();N&&u(N)}catch{}},[]);var d=n.x,h=n.y,m=n.width,y=n.height,g=n.radius,S=n.className,j=n.animationEasing,w=n.animationDuration,b=n.animationBegin,O=n.isAnimationActive,T=n.isUpdateAnimationActive;if(d!==+d||h!==+h||m!==+m||y!==+y||m===0||y===0)return null;var _=Pe("recharts-rectangle",S);return T?I.createElement(Dr,{canBegin:l>0,from:{width:m,height:y,x:d,y:h},to:{width:m,height:y,x:d,y:h},duration:w,animationEasing:j,isActive:T},function(N){var A=N.width,E=N.height,M=N.x,D=N.y;return I.createElement(Dr,{canBegin:l>0,from:"0px ".concat(l===-1?1:l,"px"),to:"".concat(l,"px 0px"),attributeName:"strokeDasharray",begin:b,duration:w,isActive:O,easing:j},I.createElement("path",op({},je(n,!0),{className:_,d:kk(M,D,A,E,g),ref:r})))}):I.createElement("path",op({},je(n,!0),{className:_,d:kk(d,h,m,y,g)}))},Bre=["points","className","baseLinePoints","connectNulls"];function Lo(){return Lo=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},Lo.apply(this,arguments)}function Ire(e,t){if(e==null)return{};var n=qre(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function qre(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 Dk(e){return Fre(e)||Hre(e)||Vre(e)||Ure()}function Ure(){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 Vre(e,t){if(e){if(typeof e=="string")return Ij(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 Ij(e,t)}}function Hre(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Fre(e){if(Array.isArray(e))return Ij(e)}function Ij(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 Lk=function(t){return t&&t.x===+t.x&&t.y===+t.y},Gre=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=[[]];return t.forEach(function(r){Lk(r)?n[n.length-1].push(r):n[n.length-1].length>0&&n.push([])}),Lk(t[0])&&n[n.length-1].push(t[0]),n[n.length-1].length<=0&&(n=n.slice(0,-1)),n},su=function(t,n){var r=Gre(t);n&&(r=[r.reduce(function(o,l){return[].concat(Dk(o),Dk(l))},[])]);var i=r.map(function(o){return o.reduce(function(l,u,d){return"".concat(l).concat(d===0?"M":"L").concat(u.x,",").concat(u.y)},"")}).join("");return r.length===1?"".concat(i,"Z"):i},Kre=function(t,n,r){var i=su(t,r);return"".concat(i.slice(-1)==="Z"?i.slice(0,-1):i,"L").concat(su(n.reverse(),r).slice(1))},Yre=function(t){var n=t.points,r=t.className,i=t.baseLinePoints,o=t.connectNulls,l=Ire(t,Bre);if(!n||!n.length)return null;var u=Pe("recharts-polygon",r);if(i&&i.length){var d=l.stroke&&l.stroke!=="none",h=Kre(n,i,o);return I.createElement("g",{className:u},I.createElement("path",Lo({},je(l,!0),{fill:h.slice(-1)==="Z"?l.fill:"none",stroke:"none",d:h})),d?I.createElement("path",Lo({},je(l,!0),{fill:"none",d:su(n,o)})):null,d?I.createElement("path",Lo({},je(l,!0),{fill:"none",d:su(i,o)})):null)}var m=su(n,o);return I.createElement("path",Lo({},je(l,!0),{fill:m.slice(-1)==="Z"?l.fill:"none",className:u,d:m}))};function qj(){return qj=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},qj.apply(this,arguments)}var ff=function(t){var n=t.cx,r=t.cy,i=t.r,o=t.className,l=Pe("recharts-dot",o);return n===+n&&r===+r&&i===+i?P.createElement("circle",qj({},je(t,!1),Th(t),{className:l,cx:n,cy:r,r:i})):null};function Iu(e){"@babel/helpers - typeof";return Iu=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},Iu(e)}var Xre=["x","y","top","left","width","height","className"];function Uj(){return Uj=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},Uj.apply(this,arguments)}function zk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Wre(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?zk(Object(n),!0).forEach(function(r){Zre(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Zre(e,t,n){return t=Qre(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qre(e){var t=Jre(e,"string");return Iu(t)=="symbol"?t:t+""}function Jre(e,t){if(Iu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Iu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function eae(e,t){if(e==null)return{};var n=tae(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zae(e,t){if(e){if(typeof e=="string")return Xk(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 Xk(e,t)}}function Xk(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 $ae(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,l,u=[],d=!0,h=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(d=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);d=!0);}catch(m){h=!0,i=m}finally{try{if(!d&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(h)throw i}}return u}}function Bae(e){if(Array.isArray(e))return e}function Wk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Zk(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Wk(Object(n),!0).forEach(function(r){Iae(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Iae(e,t,n){return t=qae(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qae(e){var t=Uae(e,"string");return qu(t)=="symbol"?t:t+""}function Uae(e,t){if(qu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(qu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Qk=function(t,n,r,i,o){var l=r-i,u;return u="M ".concat(t,",").concat(n),u+="L ".concat(t+r,",").concat(n),u+="L ".concat(t+r-l/2,",").concat(n+o),u+="L ".concat(t+r-l/2-i,",").concat(n+o),u+="L ".concat(t,",").concat(n," Z"),u},Vae={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},Hae=function(t){var n=Zk(Zk({},Vae),t),r=P.useRef(),i=P.useState(-1),o=Dae(i,2),l=o[0],u=o[1];P.useEffect(function(){if(r.current&&r.current.getTotalLength)try{var _=r.current.getTotalLength();_&&u(_)}catch{}},[]);var d=n.x,h=n.y,m=n.upperWidth,y=n.lowerWidth,g=n.height,S=n.className,j=n.animationEasing,w=n.animationDuration,b=n.animationBegin,O=n.isUpdateAnimationActive;if(d!==+d||h!==+h||m!==+m||y!==+y||g!==+g||m===0&&y===0||g===0)return null;var T=Pe("recharts-trapezoid",S);return O?I.createElement(Dr,{canBegin:l>0,from:{upperWidth:0,lowerWidth:0,height:g,x:d,y:h},to:{upperWidth:m,lowerWidth:y,height:g,x:d,y:h},duration:w,animationEasing:j,isActive:O},function(_){var N=_.upperWidth,A=_.lowerWidth,E=_.height,M=_.x,D=_.y;return I.createElement(Dr,{canBegin:l>0,from:"0px ".concat(l===-1?1:l,"px"),to:"".concat(l,"px 0px"),attributeName:"strokeDasharray",begin:b,duration:w,easing:j},I.createElement("path",up({},je(n,!0),{className:T,d:Qk(M,D,N,A,E),ref:r})))}):I.createElement("g",null,I.createElement("path",up({},je(n,!0),{className:T,d:Qk(d,h,m,y,g)})))},Fae=["option","shapeType","propTransformer","activeClassName","isActive"];function Uu(e){"@babel/helpers - typeof";return Uu=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},Uu(e)}function Gae(e,t){if(e==null)return{};var n=Kae(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Kae(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 J
the props "valueKey" will be deprecated in 1.1.0`),O="value"):Ee(h)&&(Rr(!1,`Use "dataKey" to specify the value of pie,
the props "valueKey" will be deprecated in 1.1.0`),O=y);var T=i.filter(function(D){return Dt(D,O,0)!==0}).length,_=(b>=360?T:T-1)*d,N=b-T*S-_,A=i.reduce(function(D,k){var B=Dt(k,O,0);return D+(ce(B)?B:0)},0),E;if(A>0){var M;E=i.map(function(D,k){var B=Dt(D,O,0),q=Dt(D,m,k),$=(ce(B)?B:0)/A,G;k?G=M.endAngle+bn(w)*d*(B!==0?1:0):G=l;var X=G+bn(w)*((B!==0?S:0)+$*N),Y=(G+X)/2,L=(j.innerRadius+j.outerRadius)/2,H=[{name:q,value:B,payload:D,dataKey:O,type:g}],Q=mt(j.cx,j.cy,L,Y);return M=ht(ht(ht({percent:$,cornerRadius:o,name:q,tooltipPayload:H,midAngle:Y,middleRadius:L,tooltipPosition:Q},D),j),{},{value:Dt(D,O),startAngle:G,endAngle:X,payload:D,paddingAngle:bn(w)*d}),M})}return ht(ht({},j),{},{sectors:E,data:i})});var U0,rD;function pie(){if(rD)return U0;rD=1;var e=Math.ceil,t=Math.max;function n(r,i,o,l){for(var u=-1,d=t(e((i-r)/(o||1)),0),h=Array(d);d--;)h[l?d:++u]=r,r+=o;return h}return U0=n,U0}var V0,aD;function r$(){if(aD)return V0;aD=1;var e=_z(),t=1/0,n=17976931348623157e292;function r(i){if(!i)return i===0?i:0;if(i=e(i),i===t||i===-t){var o=i<0?-1:1;return o*n}return i===i?i:0}return V0=r,V0}var H0,iD;function mie(){if(iD)return H0;iD=1;var e=pie(),t=Zp(),n=r$();function r(i){return function(o,l,u){return u&&typeof u!="number"&&t(o,l,u)&&(l=u=void 0),o=n(o),l===void 0?(l=o,o=0):l=n(l),u=u===void 0?o<l?1:-1:n(u),e(o,l,u,i)}}return H0=r,H0}var F0,sD;function yie(){if(sD)return F0;sD=1;var e=mie(),t=e();return F0=t,F0}var vie=yie();const hp=at(vie);function Hu(e){"@babel/helpers - typeof";return Hu=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},Hu(e)}function oD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function lD(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?oD(Object(n),!0).forEach(function(r){a$(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oD(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function a$(e,t,n){return t=gie(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gie(e){var t=xie(e,"string");return Hu(t)=="symbol"?t:t+""}function xie(e,t){if(Hu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Hu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var bie=["Webkit","Moz","O","ms"],jie=function(t,n){var r=t.replace(/(\w)/,function(o){return o.toUpperCase()}),i=bie.reduce(function(o,l){return lD(lD({},o),{},a$({},l+r,n))},{});return i[t]=n,i};function cl(e){"@babel/helpers - typeof";return cl=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},cl(e)}function pp(){return pp=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},pp.apply(this,arguments)}function cD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function G0(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){Hn(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 Sie(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 Lse(e,t){if(e){if(typeof e=="string")return PD(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 PD(e,t)}}function PD(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 zse(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,l,u=[],d=!0,h=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(d=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);d=!0);}catch(m){h=!0,i=m}finally{try{if(!d&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(h)throw i}}return u}}function $se(e){if(Array.isArray(e))return e}function Wj(){return Wj=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},Wj.apply(this,arguments)}var Bse=function(t,n){var r;return I.isValidElement(t)?r=I.cloneElement(t,n):Te(t)?r=t(n):r=I.createElement("line",Wj({},n,{className:"recharts-reference-line-line"})),r},Ise=function(t,n,r,i,o,l,u,d,h){var m=o.x,y=o.y,g=o.width,S=o.height;if(r){var j=h.y,w=t.y.apply(j,{position:l});if(Zr(h,"discard")&&!t.y.isInRange(w))return null;var b=[{x:m+g,y:w},{x:m,y:w}];return d==="left"?b.reverse():b}if(n){var O=h.x,T=t.x.apply(O,{position:l});if(Zr(h,"discard")&&!t.x.isInRange(T))return null;var _=[{x:T,y:y+S},{x:T,y}];return u==="top"?_.reverse():_}if(i){var N=h.segment,A=N.map(function(E){return t.apply(E,{position:l})});return Zr(h,"discard")&&Rie(A,function(E){return!t.isInRange(E)})?null:A}return null};function qse(e){var t=e.x,n=e.y,r=e.segment,i=e.xAxisId,o=e.yAxisId,l=e.shape,u=e.className,d=e.alwaysShow,h=jse(),m=x$(i),y=b$(o),g=Ase();if(!h||!g)return null;Rr(d===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var S=iA({x:m.scale,y:y.scale}),j=Xt(t),w=Xt(n),b=r&&r.length===2,O=Ise(S,j,w,b,g,e.position,m.orientation,y.orientation,e);if(!O)return null;var T=kse(O,2),_=T[0],N=_.x,A=_.y,E=T[1],M=E.x,D=E.y,k=Zr(e,"hidden")?"url(#".concat(h,")"):void 0,B=MD(MD({clipPath:k},je(e,!0)),{},{x1:N,y1:A,x2:M,y2:D});return I.createElement(qe,{className:Pe("recharts-reference-line",u)},Bse(l,B),en.renderCallByParent(e,cse({x1:N,y1:A,x2:M,y2:D})))}var fA=(function(e){function t(){return _se(this,t),Ese(this,t,arguments)}return Pse(t,e),Nse(t,[{key:"render",value:function(){return I.createElement(qse,this.props)}}])})(I.Component);uA(fA,"displayName","ReferenceLine");uA(fA,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});function Zj(){return Zj=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},Zj.apply(this,arguments)}function hl(e){"@babel/helpers - typeof";return hl=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},hl(e)}function RD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function kD(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?RD(Object(n),!0).forEach(function(r){ym(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):RD(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Use(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vse(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 Voe(e,t){if(e){if(typeof e=="string")return nS(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 nS(e,t)}}function Hoe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Foe(e){if(Array.isArray(e))return nS(e)}function nS(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 Goe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HD(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,P$(r.key),r)}}function Koe(e,t,n){return t&&HD(e.prototype,t),n&&HD(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Yoe(e,t,n){return t=Ap(t),Xoe(e,M$()?Reflect.construct(t,n||[],Ap(e).constructor):t.apply(e,n))}function Xoe(e,t){if(t&&(yl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Woe(e)}function Woe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(M$=function(){return!!e})()}function Ap(e){return Ap=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Ap(e)}function Zoe(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&&rS(e,t)}function rS(e,t){return rS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},rS(e,t)}function Nr(e,t,n){return t=P$(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function P$(e){var t=Qoe(e,"string");return yl(t)=="symbol"?t:t+""}function Qoe(e,t){if(yl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(yl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var df=(function(e){function t(){var n;Goe(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=Yoe(this,t,[].concat(i)),Nr(n,"state",{isAnimationFinished:!0,totalLength:0}),Nr(n,"generateSimpleStrokeDasharray",function(l,u){return"".concat(u,"px ").concat(l-u,"px")}),Nr(n,"getStrokeDasharray",function(l,u,d){var h=d.reduce(function(O,T){return O+T});if(!h)return n.generateSimpleStrokeDasharray(u,l);for(var m=Math.floor(l/h),y=l%h,g=u-l,S=[],j=0,w=0;j<d.length;w+=d[j],++j)if(w+d[j]>y){S=[].concat(No(d.slice(0,j)),[y-w]);break}var b=S.length%2===0?[0,g]:[g];return[].concat(No(t.repeat(d,m)),No(S),b).map(function(O){return"".concat(O,"px")}).join(", ")}),Nr(n,"id",Ls("recharts-line-")),Nr(n,"pathRef",function(l){n.mainCurve=l}),Nr(n,"handleAnimationEnd",function(){n.setState({isAnimationFinished:!0}),n.props.onAnimationEnd&&n.props.onAnimationEnd()}),Nr(n,"handleAnimationStart",function(){n.setState({isAnimationFinished:!1}),n.props.onAnimationStart&&n.props.onAnimationStart()}),n}return Zoe(t,e),Koe(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,i){if(this.props.isAnima
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Nle(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 Ele(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Cle(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 uS=function(t,n,r,i,o){var l=Wn(t,fA),u=Wn(t,vm),d=[].concat(KD(l),KD(u)),h=Wn(t,xm),m="".concat(i,"Id"),y=i[0],g=n;if(d.length&&(g=d.reduce(function(w,b){if(b.props[m]===r&&Zr(b.props,"extendDomain")&&ce(b.props[y])){var O=b.props[y];return[Math.min(w[0],O),Math.max(w[1],O)]}return w},g)),h.length){var S="".concat(y,"1"),j="".concat(y,"2");g=h.reduce(function(w,b){if(b.props[m]===r&&Zr(b.props,"extendDomain")&&ce(b.props[S])&&ce(b.props[j])){var O=b.props[S],T=b.props[j];return[Math.min(w[0],O,T),Math.max(w[1],O,T)]}return w},g)}return o&&o.length&&(g=o.reduce(function(w,b){return ce(b)?[Math.min(w[0],b),Math.max(w[1],b)]:w},g)),g},i1={exports:{}},YD;function Mle(){return YD||(YD=1,(function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1));function i(d,h,m){this.fn=d,this.context=h,this.once=m||!1}function o(d,h,m,y,g){if(typeof m!="function")throw new TypeError("The listener must be a function");var S=new i(m,y||d,g),j=n?n+h:h;return d._events[j]?d._events[j].fn?d._events[j]=[d._events[j],S]:d._events[j].push(S):(d._events[j]=S,d._eventsCount++),d}function l(d,h){--d._eventsCount===0?d._events=new r:delete d._events[h]}function u(){this._events=new r,this._eventsCount=0}u.prototype.eventNames=function(){var h=[],m,y;if(this._eventsCount===0)return h;for(y in m=this._events)t.call(m,y)&&h.push(n?y.slice(1):y);return Object.getOwnPropertySymbols?h.concat(Object.getOwnPropertySymbols(m)):h},u.prototype.listeners=function(h){var m=n?n+h:h,y=this._events[m];if(!y)return[];if(y.fn)return[y.fn];for(var g=0,S=y.length,j=new Array(S);g<S;g++)j[g]=y[g].fn;return j},u.prototype.listenerCount=function(h){var m=n?n+h:h,y=this._events[m];return y?y.fn?1:y.length:0},u.prototype.emit=function(h,m,y,g,S,j){var w=n?n+h:h;if(!this._events[w])return!1;var b=this._events[w],O=arguments.length,T,_;if(b.fn){switch(b.once&&this.removeListener(h,b.fn,void 0,!0),O){case 1:return b.fn.call(b.context),!0;case 2:return b.fn.call(b.context,m),!0;case 3:return b.fn.call(b.context,m,y),!0;case 4:return b.fn.call(b.context,m,y,g),!0;case 5:return b.fn.call(b.context,m,y,g,S),!0;case 6:return b.fn.call(b.context,m,y,g,S,j),!0}for(_=1,T=new Array(O-1);_<O;_++)T[_-1]=arguments[_];b.fn.apply(b.context,T)}else{var N=b.length,A;for(_=0;_<N;_++)switch(b[_].once&&this.removeListener(h,b[_].fn,void 0,!0),O){case 1:b[_].fn.call(b[_].context);break;case 2:b[_].fn.call(b[_].context,m);break;case 3:b[_].fn.call(b[_].context,m,y);break;case 4:b[_].fn.call(b[_].context,m,y,g);break;default:if(!T)for(A=1,T=new Array(O-1);A<O;A++)T[A-1]=arguments[A];b[_].fn.apply(b[_].context,T)}}return!0},u.prototype.on=function(h,m,y){return o(this,h,m,y,!1)},u.prototype.once=function(h,m,y){return o(this,h,m,y,!0)},u.prototype.removeListener=function(h,m,y,g){var S=n?n+h:h;if(!this._events[S])return this;if(!m)return l(this,S),this;var j=this._events[S];if(j.fn)j.fn===m&&(!g||j.once)&&(!y||j.context===y)&&l(this,S);else{for(var w=0,b=[],O=j.length;w<O;w++)(j[w].fn!==m||g&&!j[w].once||y&&j[w].context!==y)&&b.push(j[w]);b.length?this._events[S]=b.length===1?b[0]:b:l(this,S)}return this},u.prototype.removeAllListeners=function(h){var m;return h?(m=n?n+h:h,this._events[m]&&l(this,m)):(this._events=new r,this._eventsCount=0),this},u.prototype.off=u.prototype.removeListener,u.prototype.addListener=u.prototype.on,u.prefixed=n,u.EventEmitter=u,e.exports=u})(i1)),i1.e
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Xle(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,l,u=[],d=!0,h=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(d=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);d=!0);}catch(m){h=!0,i=m}finally{try{if(!d&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(h)throw i}}return u}}function Wle(e){if(Array.isArray(e))return e}function ZD(e,t){if(e==null)return{};var n=Zle(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Zle(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 Qle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jle(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,K$(r.key),r)}}function ece(e,t,n){return t&&Jle(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function tce(e,t,n){return t=Np(t),nce(e,F$()?Reflect.construct(t,n||[],Np(e).constructor):t.apply(e,n))}function nce(e,t){if(t&&(bl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return rce(e)}function rce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(F$=function(){return!!e})()}function Np(e){return Np=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Np(e)}function ace(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&&fS(e,t)}function fS(e,t){return fS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},fS(e,t)}function jl(e){return oce(e)||sce(e)||G$(e)||ice()}function ice(){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 G$(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 sce(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function oce(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 QD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).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?QD(Object(n),!0).forEach(function(r){Oe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):QD(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Oe(e,t,n){return t=K$(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function K$(e){var t=lce(e,"string");return bl(t)=="symbol"?t:t+""}function lce(e,t){if(bl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(bl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var cce={xAxis:["bottom","top"],yAxis:["left","right"]},uce={width:"100%",height:"100%"},Y$={x:0,y:0};function Zd(e){return e}var fce=function(t,n){return n==="horizontal"?t.x:n==="vertical"?t.y:n==="centric"?t.angle:t.radius},dce=function(t,n,r,i){var o=n.find(function(m){return m&&m.index===r});if(o){if(t==="horizontal")return{x:o.coordinate,y:i.y};if(t==="vertical")return{x:i.x,y:o.coordinate};if(t==="centric"){var l=o.coordinate,u=i.radius;return ne(ne(ne({},i),mt(i.cx,i.cy,u,l)),{},{angle:l,radius:u})}var d=o.coordinate,h=i.angle;return ne(ne(ne({},i),mt(i.cx,i.cy,d,h)),{},{angle:h,radius:d})}return Y$},bm=function(t,n){var r=n.graphicalItems,i=n.dataStartIndex,o=n.dataEndIndex,l=(r??[]).reduce(function(u,d){var h=d.props.data;return h&&h.length?[].concat(jl(u),jl(h)):u},[]);return l.length>0?l:t&&t.length&&ce(i)&&ce(o)?t.slice(i,o+1):[]};function X$(e){return e==="number"?[0,"auto"]:void 0}var hS=function(t,n,r,i){var o=t.graphicalItems,l=t.tooltipAxis,u=bm(n,t);return r<0||!o||!o.length||r>=u.length?null:o.reduce(function(d,h){var m,y=(m=h.props.data)!==null&&m!==void 0?m:n;y&&t.dataStartIndex+t.dataEndIndex!==0&&t.dataEndIndex-t.dataStartIndex>=r&&(y=y.slice(t.dataStartIndex,t.dataEndIndex+1));var g;if(l.dataKey&&!l.allowDuplicatedCategory){var S=y===void 0?u:y;g=_h(S,l.dataKey,i)}else g=y&&y[r]||u[r];return g?[].concat(jl(d),[L5(h,g)]):d},[])},JD=function(t,n,r,i){var o=i||{x:t.chartX,y:t.chartY},l=fce(o,r),u=t.orderedTooltipTicks,d=t.tooltipAxis,h=t.tooltipTicks,m=Aee(l,u,h,d);if(m>=0&&h){var y=h[m]&&h[m].value,g=hS(t,n,m,y),S=dce(r,u,m,o);return{activeTooltipIndex:m,activeLabel:y,activePayload:g,activeCoordinate:S}}return null},hce=function(t,n){var r=n.axes,i=n.graphicalItems,o=n.axisType,l=n.axisIdKey,u=n.stackGroups,d=n.dataStartIndex,h=n.dataEndIndex,m=t.layout,y=t.children,g=t.stackOffset,S=C5(m,o);return r.reduce(function(j,w){var b,O=w.type.defaultProps!==void 0?ne(ne({},w.type.defaultProps),w.props):w.props,T=O.type,_=O.dataKey,N=O.allowDataOverflow,A=O.allowDuplicatedCategory,E=O.scale,M=O.ticks,D=O.includeHidden,k=O[l];if(j[k])return j;var B=bm(t.data,{graphicalItems:i.filter(function(F){var re,fe=l in F.props?F.props[l]:(re=F.type.defaultProps)===null||re===void 0?void 0:re[l];return fe===k}),dataStartIndex:d,dataEndIndex:h}),q=B.length,$,G,X;Ble(O.domain,N,T)&&($=_j(O.domain,null,N),S&&(T==="number"||E!=="auto")&&(X=au(B,_,"category")));var Y=X$(T);if(!$||$.length===0){v
DINA ANSVARSOMRÅDEN:
Kunder, leads, contacts, accounts
Kundhistorik och aktiviteter
Pipeline-relaterad information
Uppföljningar och nästa bästa åtgärd
Kundrisker och churn-analys
CRM-data hygiene
DU HAR TILLGÅNG TILL:
/api/v1/crm/customers kunddatabas
/api/v1/crm/leads leads
/api/v1/crm/pipeline pipeline
/api/v1/crm/interactions kundinteraktioner
REGler:
Svara alltid svenska
Var professionell och datadriven
Föreslå alltid nästa steg
Eskalera vid komplexa ärenden
Dokumentera dina rekommendationer`,kompetenser:["kundhantering","lead-kvalificering","pipeline-analys","kundrisk","uppföljning"],dataTyp:"crm",status:"operational",capabilities:["read","analyze","propose","execute"]},sales:{rum:"sales",titel:"Sales Agent",systemPrompt:`Du är Sales Agent en specialist försäljning och affärsutveckling för BOC.
DINA ANSVARSOMRÅDEN:
Opportunities, deals, pipelines
Forecasting och conversion
Sales activities och offerter
Win/loss-analys
Pipeline risks och nästa steg
Försäljningsprognoser
DU HAR TILLGÅNG TILL:
/api/v1/sales/deals alla deals
/api/v1/sales/mrr månatlig återkommande intäkt
/api/v1/sales/arr årlig återkommande intäkt
/api/v1/sales/products produkter
REGler:
Svara alltid svenska
Var resultatorienterad och datadriven
Fokusera nästa steg och action
Identifiera alltid risksignaler
Föreslå konkreta åtgärder`,kompetenser:["försäljning","pipeline","forecasting","offert","win/loss"],dataTyp:"sales",status:"operational",capabilities:["read","analyze","propose","execute"]},marketing:{rum:"marketing",titel:"Marketing Agent",systemPrompt:`Du är Marketing Agent en specialist marknadsföring och tillväxt för BOC.
DINA ANSVARSOMRÅDEN:
Campaigns och acquisition
Attribution och marketing performance
Segments och content performance
Campaign planning och conversion
CAC-relaterade signaler
Marketing opportunities
DU HAR TILLGÅNG TILL:
/api/v1/marketing/campaigns kampanjer
/api/v1/marketing/content innehåll
REGler:
Svara alltid svenska
Var kreativ men datadriven
Fokusera ROI och conversion
Föreslå alltid testbara hypoteser
Tracka alltid resultat`,kompetenser:["marknadsföring","kampanjer","content","SEO","analys"],dataTyp:"marketing",status:"operational",capabilities:["read","analyze","propose"]},social:{rum:"social",titel:"Social Agent",systemPrompt:`Du är Social Agent en specialist sociala medier och community för BOC.
DINA ANSVARSOMRÅDEN:
Social channels och publicering
Content calendar och engagement
Mentions och sentiment/signaler
Community activity och moderation
Social performance
Content opportunities
DU HAR TILLGÅNG TILL:
Sociala kanaler och publiceringsdata
Engagement-metrics
Sentiment-analys
REGler:
Svara alltid svenska
Var engagerande och autentisk
Fokusera community-värde
Övervaka alltid sentiment
Föreslå content baserat data`,kompetenser:["sociala medier","content","engagement","community","sentiment"],dataTyp:"social",status:"operational",capabilities:["read","analyze","propose"]},finance:{rum:"finance",titel:"Finance Agent",systemPrompt:`Du är Finance Agent en specialist finansiell analys och styrning för BOC.
DINA ANSVARSOMRÅDEN:
Financial overview och cash position
Cash flow och forecasts
Financial risks och budgets
Financial KPIs och deviations
Alerts och decision support
DU HAR TILLGÅNG TILL:
/api/v1/finance/balance balansräkning
/api/v1/finance/income resultaträkning
/api/v1/finance/moms MOMS-rapport
/api/v1/finance/cashflow kassaflöde
/api/v1/finance/budget budget
REGler:
Svara alltid svenska
Var noggrann och precis
Alla siffror måste stämma
Flagga alltid avvikelser
Föreslå alltid nästa steg`,kompetenser:["finansanalys","kassaflöde","budget","prognoser","risk"],dataTyp:"finance",status:"operational",capabilities:["read","analyze","propose","execute"]},accounting:{rum:"accounting",titel:"Accounting Agent",systemPrompt:`Du är Accounting Agent en specialist redovisning och bokföring för BOC.
DINA ANSVARSOMRÅDEN:
Accounting data och transactions
Reconciliation och avstämning
Invoices och payments
Accounts och kontoplan
Accounting anomalies
Period closing och bookkeeping workflows
Audit preparation
DU HAR TILLGÅNG TILL:
/api/v1/finance/accounts kontoplan
/api/v1/finance/transactions transaktioner
/api/v1/finance/invoices fakturor
/api/v1/journal/entries journalposter
REGler:
Svara alltid svenska
Var noggrann och följ Bokföringslagen
Alla belopp måste stämma
Flagga alltid avvikelser
Förbered alltid audit trail
ESKALERA vid komplexa redovisningsfrågor`,kompetenser:["redovisning","bokföring","avstämning","bokslut","audit"],dataTyp:"accounting",status:"operational",capabilities:["read","analyze","propose","escalate"]},hr:{rum:"hr",titel:"HR Agent",systemPrompt:`Du är HR Agent en specialist personal och organisation för BOC.
DINA ANSVARSOMRÅDEN:
Employees och organization
Onboarding och offboarding
Skills och staffing
HR workflows och policies
People-related operational signals
DU HAR TILLGÅNG TILL:
/api/v1/hr/employees anställda
/api/v1/hr/leaves ledigheter
/api/v1/hr/timesheets tidrapporter
/api/v1/employees employee lifecycle
REGler:
Svara alltid svenska
Hantera personuppgifter konfidentiellt
Följ GDPR och personuppgiftslagen
Var empatisk men professionell
ESKALERA vid personalärenden`,kompetenser:["HR","rekrytering","personal","onboarding","kompetens"],dataTyp:"hr",status:"operational",capabilities:["read","analyze","propose","escalate"]},legal:{rum:"legal",titel:"Legal Agent",systemPrompt:`Du är Legal Agent en specialist juridik och avtal för BOC.
DINA ANSVARSOMRÅDEN:
Contracts och legal documents
Obligations och deadlines
Clauses och legal workflows
Document classification
Contract risks och legal escalations
DU HAR TILLGÅNG TILL:
/api/v1/legal/contracts avtal
/api/v1/legal/templates mallar
/api/v1/legal/product-links produktlänkar
VIKTIGT:
Du ersätter INTE en advokat
Vid komplexa juridiska frågor, hänvisa ALLTID till jurist
Granska men ge inte juridiskt bindande råd
Flagga alltid risker
ESKALERA vid tvivel`,kompetenser:["juridik","avtal","GDPR","compliance","risk"],dataTyp:"legal",status:"operational",capabilities:["read","analyze","propose","escalate"]},compliance:{rum:"compliance",titel:"Compliance Agent",systemPrompt:`Du är Compliance Agent en specialist regelverk och efterlevnad för BOC.
DINA ANSVARSOMRÅDEN:
Compliance controls och policies
Evidence och regulatory workflows
Control status och deviations
Risk signals och compliance deadlines
Audit readiness
DU HAR TILLGÅNG TILL:
Compliance-kontroller och status
Policy-dokument
Audit-evidence
Regulatoriska deadlines
REGler:
Svara alltid svenska
Var noggrann och dokumenterad
Alla kontroller måste spåras
Flagga alltid avvikelser
Förbered alltid audit trail
ESKALERA vid regulatoriska risker`,kompetenser:["compliance","regelverk","audit","kontroller","risk"],dataTyp:"compliance",status:"operational",capabilities:["read","analyze","propose","escalate"]},support:{rum:"support",titel:"Support Agent",systemPrompt:`Du är Support Agent en specialist kundsupport och ärendehantering för BOC.
DINA ANSVARSOMRÅDEN:
Support cases och tickets
Conversations och customer issues
Triage och prioritization
SLA och escalation
Resolution suggestions
Recurring problems
DU HAR TILLGÅNG TILL:
/api/v1/support/tickets supportärenden
/api/v1/support/csat kundnöjdhet
REGler:
Svara alltid svenska
Var hjälpsam och effektiv
Prioritera alltid efter SLA
Eskalera vid L2/L3-behov
Dokumentera alla lösningar
Föreslå alltid förebyggande åtgärder`,kompetenser:["support","triage","SLA","eskalerings","lösningar"],dataTyp:"support",status:"operational",capabilities:["read","analyze","propose","execute"]},projects:{rum:"projects",titel:"Projects Agent",systemPrompt:`Du är Projects Agent en specialist projektledning och leverans för BOC.
DINA ANSVARSOMRÅDEN:
Projects och milestones
Tasks och dependencies
Resources och deadlines
Blockers och project health
Delivery risks och status reporting
DU HAR TILLGÅNG TILL:
Projektdata och milstolpar
Task-hantering
Resursallokering
Riskregister
REGler:
Svara alltid svenska
Var strukturerad och tydlig
Fokusera leverans och kvalitet
Identifiera alltid blockers
Föreslå alltid mitigeringsåtgärder
Rapportera alltid status tydligt`,kompetenser:["projekt","milestones","tasks","resurser","risk"],dataTyp:"projects",status:"operational",capabilities:["read","analyze","propose"]},automation:{rum:"automation",titel:"Automation Agent",systemPrompt:`Du är Automation Agent en specialist automatisering och integrationer för BOC.
DINA ANSVARSOMRÅDEN:
Workflows och automations
Triggers och scheduled jobs
Integrations och failures
Retries och automation health
Process optimization
DU HAR TILLGÅNG TILL:
/api/v1/automation/workflows workflows
/api/v1/automation/jobs schemalagda jobb
/api/v1/automation/runs körningshistorik
REGler:
Svara alltid svenska
Var teknisk men tydlig
Fokusera pålitlighet
Övervaka alltid health
Föreslå alltid förbättringar
Dokumentera alla ändringar`,kompetenser:["automation","workflows","integrationer","schemaläggning","optimering"],dataTyp:"automation",status:"operational",capabilities:["read","analyze","propose","execute"]},dashboard:{rum:"dashboard",titel:"AMOS Assistant",systemPrompt:`Du är AMOS Assistant en generell AI-assistent för hela AAMOS-plattformen.
DU HJÄLPER ANVÄNDAREN MED:
Översikt och navigering i systemet
Tekniska frågor om AAMOS-produkter
Integrationer och API:er
Felsökning och support
Allmänna frågor om Landvex och quiXzoom
DU HAR BRED KUNSKAP OM:
CRM, Sales, Marketing
Finance, Accounting
HR, Legal, Compliance
Support, Projects, Automation
Social Media
REGler:
Svara svenska eller engelska beroende användarens språk
Var hjälpsam, kunnig och effektiv
Navigera användaren till rätt modul
Föreslå alltid nästa steg`,kompetenser:["generell","support","teknik","navigering","översikt"],dataTyp:"general",status:"operational",capabilities:["read","analyze","propose"]}};function Vce(e){return pS[e]||pS.dashboard}function Hce(){return Object.values(pS).filter(e=>e.rum!=="dashboard")}function W$({rum:e,isOpen:t,onToggle:n}){const r=Vce(e),{token:i}=za(),[o,l]=P.useState([{id:"welcome",roll:"assistant",innehall:`Hej! Jag är ${r.titel}. ${r.systemPrompt.split(`
`)[2]||"Jag kan hjälpa dig med "+r.kompetenser.join(", ")+"."}
Vad kan jag göra för dig?`,tid:new Date().toISOString()}]),[u,d]=P.useState(""),[h,m]=P.useState(!1),[y,g]=P.useState(!1),[S,j]=P.useState(""),w=P.useRef(null),b=P.useRef(null);P.useEffect(()=>{w.current&&(w.current.scrollTop=w.current.scrollHeight)},[o]);const O=async()=>{if(!u.trim()||h)return;const _={id:`user-${Date.now()}`,roll:"user",innehall:u.trim(),tid:new Date().toISOString()};l(N=>[...N,_]),d(""),m(!0),j("");try{const N=await fetch("/api/v1/agents/chat",{method:"POST",headers:{"Content-Type":"application/json",Authorization:i?`Bearer ${i}`:""},body:JSON.stringify({rum:r.rum,systemPrompt:r.systemPrompt,meddelanden:[...o,_].map(A=>({roll:A.roll,innehall:A.innehall}))})});if(N.ok){const A=await N.json();l(E=>[...E,{id:`assistant-${Date.now()}`,roll:"assistant",innehall:A.svar,tid:new Date().toISOString()}])}else if(N.status===401){j("Du måste logga in för att använda agenten");const A=u1(r,u.trim());l(E=>[...E,{id:`assistant-${Date.now()}`,roll:"assistant",innehall:A,tid:new Date().toISOString()}])}else{const A=await N.json().catch(()=>({}));j(A.error||"Agenten svarade inte");const E=u1(r,u.trim());l(M=>[...M,{id:`assistant-${Date.now()}`,roll:"assistant",innehall:E,tid:new Date().toISOString()}])}}catch{j("Kunde inte nå agenten. Använder lokalt svar.");const A=u1(r,u.trim());l(E=>[...E,{id:`assistant-${Date.now()}`,roll:"assistant",innehall:A,tid:new Date().toISOString()}])}m(!1)},T=_=>{_.key==="Enter"&&!_.shiftKey&&(_.preventDefault(),O())};return t?f.jsxs(f.Fragment,{children:[f.jsx("div",{className:"fixed inset-0 bg-black/20 z-40",onClick:n}),f.jsxs(tn.div,{initial:{opacity:0,x:100},animate:{opacity:1,x:0},exit:{opacity:0,x:100},className:`fixed right-0 top-0 h-full bg-surface border-l border-border z-50 flex flex-col shadow-xl ${y?"w-[500px]":"w-[380px]"}`,children:[f.jsxs("div",{className:"h-14 border-b border-border flex items-center justify-between px-4 bg-primary/5",children:[f.jsxs("div",{className:"flex items-center gap-2",children:[f.jsx("div",{className:"w-8 h-8 rounded-full bg-primary flex items-center justify-center",children:f.jsx(qo,{size:18,className:"text-white"})}),f.jsxs("div",{children:[f.jsx("h3",{className:"font-semibold text-sm",children:r.titel}),f.jsx("p",{className:"text-xs text-text-secondary",children:"AI Assistant"})]})]}),f.jsxs("div",{className:"flex items-center gap-1",children:[f.jsx("button",{onClick:()=>g(!y),className:"p-2 hover:bg-bg rounded-lg text-text-secondary",children:y?f.jsx(MH,{size:16}):f.jsx(NH,{size:16})}),f.jsx("button",{onClick:n,className:"p-2 hover:bg-bg rounded-lg text-text-secondary",children:f.jsx(bL,{size:16})})]})]}),f.jsxs("div",{ref:w,className:"flex-1 overflow-y-auto p-4 space-y-4",children:[o.map(_=>f.jsxs("div",{className:`flex gap-3 ${_.roll==="user"?"flex-row-reverse":""}`,children:[f.jsx("div",{className:`w-8 h-8 rounded-full flex items-center justify-center shrink-0 ${_.roll==="assistant"?"bg-primary text-white":"bg-bg text-text-secondary"}`,children:_.roll==="assistant"?f.jsx(qo,{size:16}):f.jsx(Oh,{size:16})}),f.jsx("div",{className:`max-w-[80%] rounded-2xl px-4 py-2.5 text-sm ${_.roll==="assistant"?"bg-bg text-text-primary rounded-tl-none":"bg-primary text-white rounded-tr-none"}`,children:f.jsx("p",{className:"whitespace-pre-wrap",children:_.innehall})})]},_.id)),h&&f.jsxs("div",{className:"flex gap-3",children:[f.jsx("div",{className:"w-8 h-8 rounded-full bg-primary text-white flex items-center justify-center",children:f.jsx(qo,{size:16})}),f.jsx("div",{className:"bg-bg rounded-2xl rounded-tl-none px-4 py-3",children:f.jsxs("div",{className:"flex gap-1",children:[f.jsx("div",{className:"w-2 h-2 bg-text-secondary rounded-full animate-bounce"}),f.jsx("div",{className:"w-2 h-2 bg-text-secondary rounded-full animate-bounce delay-100"}),f.jsx("div",{className:"w-2 h-2 bg-text-secondary rounded-full animate-bounce delay-200"})]})})]})]}),S&&f.jsx("div",{className:"px-4 py-2 bg-danger/10 border-t border-danger/20",children:f.jsxs("p",{className:"text-xs text-danger flex items-center gap-1.5",children:[f.jsx(zH,{size:12}),S]})}),f.jsxs("div"