790 lines
979 KiB
JavaScript
790 lines
979 KiB
JavaScript
|
|
(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 Nd=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 Pv={exports:{}},Nc={};/**
|
|||
|
|
* @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 uT;function u8(){if(uT)return Nc;uT=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 Nc.Fragment=t,Nc.jsx=n,Nc.jsxs=n,Nc}var fT;function f8(){return fT||(fT=1,Pv.exports=u8()),Pv.exports}var f=f8(),Rv={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 dT;function d8(){if(dT)return Me;dT=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 j(z){return z===null||typeof z!="object"?null:(z=g&&z[g]||z["@@iterator"],typeof z=="function"?z:null)}var S={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||S}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||S}var C=_.prototype=new T;C.constructor=_,w(C,O.prototype),C.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 ze=!1;if(z===null)ze=!0;else switch(we){case"bigint":case"string":case"number":ze=!0;break;case"object":switch(z.$$typeof){case e:case t:ze=!0;break;case m:return ze=z._init,L(ze(z._payload),F,re,fe,me)}}if(ze)return me=me(z),ze=fe===""?"."+X(z,0):fe,A(me)?(re="",ze!=null&&(re=ze.replace(G,"$&/")+"/"),L(me,F,re,"",function(Ee){return Ee})):me!=null&&(q(me)&&(me=B(me,re+(me.key==null||z&&z.key===me.key?"":(""+me.key).replace(G,"$&/")+"/")+ze)),F.push(me)),1;ze=0;var Ze=fe===""?".":fe+":";if(A(z))for(var ue=0;ue<z.length;ue++)fe=z[ue],we=Ze+X(fe,ue),ze+=L(fe,F,re,we,me);else if(ue=j(z),typeof ue=="function")for(z=ue.call(z),ue=0;!(fe=z.next()).done;)fe=fe.value,we=Ze+X(fe,ue++),ze+=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 ze}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 pT;function h8(){return pT||(pT=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,j=!1,S=!1,w=!1,b=!1,O=typeof setTimeout=="function"?setTimeout:null,T=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;function C(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,C(L),!S)if(n(d)!==null)S=!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:{S=!1,w&&(w=!1,T(M),M=-1),j=!0;var Q=g;try{t:{for(C(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,C(L),H=!0;break t}y===n(d)&&r(d),C(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,j=!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),S||j||(S=!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}}}})(Lv)),Lv}var mT;function p8(){return mT||(mT=1,Dv.exports=h8()),Dv.exports}var zv={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 yT;function m8(){if(yT)return pn;yT=1;var e=fS();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,j=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:j}):m==="script"&&r.d.X(d,{crossOrigin:y,integrity:g,fetchPriority:j,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 vT;function y8(){if(vT)return zv.exports;vT=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(),zv.exports=m8(),zv.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 gT;function v8(){if(gT)return Cc;gT=1;var e=p8(),t=fS(),n=y8();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 N=!1,R=v.child;R;){if(R===c){N=!0,c=v,p=x;break}if(R===p){N=!0,p=v,c=x;break}R=R.sibling}if(!N){for(R=x.child;R;){if(R===c){N=!0,c=x,p=v;break}if(R===p){N=!0,p=x,c=v;break}R=R.sibling}if(!N)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"),j=Symbol.for("react.transitional.element"),S=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"),C=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 S:return"Portal";case _:return a.displayName||"Context";case T:return(a._context.displayName||"Context")+".Consumer";case C: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),ze=z(null);function Ze(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)?R_(a):0;break;default:if(a=s.tagName,s=s.namespaceURI)s=R_(s),a=k_(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 Ee(a){a.memoizedState!==null&&re(ze,a);var s=fe.current,c=k_(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(),N=x[0],R=x[1];if(N&&R){var U=N.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 gr(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 $r=Object.prototype.hasOwnProperty,qa=e.unstable_scheduleCallback,xr=e.unstable_cancelCallback,na=e.unstable_shouldYield,Ll=e.unstable_requestPaint,hn=e.unstable_now,ff=e.unstable_getCurrentPriorityLevel,fA=e.unstable_ImmediatePriority,dA=e.unstable_UserBlockingPriority,df=e.unstable_NormalPriority,F$=e.unstable_LowPriority,hA=e.unstable_IdlePriority,G$=e.log,K$=e.unstable_setDisableYieldValue,zl=null,kn=null;function Ua(a){if(typeof G$=="function"&&K$(a),kn&&typeof kn.setStrictMode=="function")try{kn.setStrictMode(zl,a)}catch{}}var Dn=Math.clz32?Math.clz32:W$,Y$=Math.log,X$=Math.LN2;function W$(a){return a>>>=0,a===0?32:31-(Y$(a)/X$|0)|0}var hf=256,pf=262144,mf=4194304;function zi(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 yf(a,s,c){var p=a.pendingLanes;if(p===0)return 0;var v=0,x=a.suspendedLanes,N=a.pingedLanes;a=a.warmLanes;var R=p&134217727;return R!==0?(p=R&~x,p!==0?v=zi(p):(N&=R,N!==0?v=zi(N):c||(c=R&~a,c!==0&&(v=zi(c))))):(R=p&~x,R!==0?v=zi(R):N!==0?v=zi(N):c||(c=p&~a,c!==0&&(v=zi(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 $l(a,s){return(a.pendingLanes&~(a.suspendedLanes&~a.pingedLanes)&s)===0}function Z$(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 pA(){var a=mf;return mf<<=1,(mf&62914560)===0&&(mf=4194304),a}function bm(a){for(var s=[],c=0;31>c;c++)s.push(a);return s}function Bl(a,s){a.pendingLanes|=s,s!==268435456&&(a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0)}function Q$(a,s,c,p,v,x){var N=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=N&~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&&mA(a,p,0),x!==0&&v===0&&a.tag!==0&&(a.suspendedLanes|=x&~(N&~s))}function mA(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 yA(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 vA(a,s){var c=s&-s;return c=(c&42)!==0?1:jm(c),(c&(a.suspendedLanes|s))!==0?0:c}function jm(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 Sm(a){return a&=-a,2<a?8<a?(a&134217727)!==0?32:268435456:8:2}function gA(){var a=H.p;return a!==0?a:(a=window.event,a===void 0?32:rT(a.type))}function xA(a,s){var c=H.p;try{return H.p=a,s()}finally{H.p=c}}var Va=Math.random().toString(36).slice(2),nn="__reactFiber$"+Va,wn="__reactProps$"+Va,Ls="__reactContainer$"+Va,wm="__reactEvents$"+Va,J$="__reactListeners$"+Va,e6="__reactHandles$"+Va,bA="__reactResources$"+Va,Il="__reactMarke
|
|||
|
|
`).replace(PB,"")}function M_(a,s){return s=C_(s),C_(a)===s}function st(a,s,c,p,v,x){switch(c){case"children":typeof p=="string"?s==="body"||s==="textarea"&&p===""||Us(a,p):(typeof p=="number"||typeof p=="bigint")&&s!=="body"&&Us(a,""+p);break;case"className":gf(a,"class",p);break;case"tabIndex":gf(a,"tabindex",p);break;case"dir":case"role":case"viewBox":case"width":case"height":gf(a,c,p);break;case"style":MA(a,p,x);break;case"data":if(s!=="object"){gf(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=bf(""+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=bf(""+p),a.setAttribute(c,p);break;case"onClick":p!=null&&(a.onclick=aa);break;case"onScroll":p!=null&&Be("scroll",a);break;case"onScrollEnd":p!=null&&Be("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=bf(""+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":Be("beforetoggle",a),Be("toggle",a),vf(a,"popover",p);break;case"xlinkActuate":ra(a,"http://www.w3.org/1999/xlink","xlink:actuate",p);break;case"xlinkArcrole":ra(a,"http://www.w3.org/1999/xlink","xlink:arcrole",p);break;case"xlinkRole":ra(a,"http://www.w3.org/1999/xlink","xlink:role",p);break;case"xlinkShow":ra(a,"http://www.w3.org/1999/xlink","xlink:show",p);break;case"xlinkTitle":ra(a,"http://www.w3.org/1999/xlink","xlink:title",p);break;case"xlinkType":ra(a,"http://www.w3.org/1999/xlink","xlink:type",p);break;case"xmlBase":ra(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 dS=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,i3=/^[\\/]{2}/;function b8(e,t){return t+e.replace(/\\/g,"/")}var bT="popstate";function jT(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function j8(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 c1("",{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:lu(i)}return w8(t,n,null,e)}function At(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Rr(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function S8(){return Math.random().toString(36).substring(2,10)}function ST(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 c1(e,t,n=null,r,i){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?xl(t):t,state:n,key:t&&t.key||r||S8(),mask:i}}function lu({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 xl(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 w8(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=jT(b)?b:c1(w.location,b,O);h=m()+1;let _=ST(T,h),C=w.createHref(T.mask||T);try{l.pushState(_,"",C)}catch(A){if(A instanceof DOMException&&A.name==="DataCloneError")throw A;i.location.assign(C)}o&&d&&d({action:u,location:w.location,delta:1})}function j(b,O){u="REPLACE";let T=jT(b)?b:c1(w.location,b,O);h=m();let _=ST(T,h),C=w.createHref(T.mask||T);l.replaceState(_,"",C),o&&d&&d({action:u,location:w.location,delta:0})}function S(b){return A8(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(bT,y),d=b,()=>{i.removeEventListener(bT,y),d=null}},createHref(b){return t(i,b)},createURL:S,encodeLocation(b){let O=S(b);return{pathname:O.pathname,search:O.search,hash:O.hash}},push:g,replace:j,go(b){return l.go(b)}};return w}function A8(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:lu(t);return i=i.replace(/ $/,"%20"),!n&&i3.test(i)&&(i=r+i),new URL(i,r)}function s3(e,t,n="/"){return O8(e,t,n,!1)}function O8(e,t,n,r,i){let o=typeof t=="string"?xl(t):t,l=Ca(o.pathname||"/",n);if(l==null)return null;let u=_8(e),d=null,h=z8(l);for(let m=0;d==null&&m<u.length;++m)d=L8(u[m],h,r);return d}function _8(e){let t=o3(e);return T8(t),t}function o3(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=Nr([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}".`),o3(l.children,t,g,y,d)),!(l.path==null&&!l.index)&&t.push({path:y,score:k8(y,l.index),routesMeta:g.map((j,S)=>{let[w,b]=u3(j.relativePath,j.caseSensitive,S===g.length-1);return{...j,matcher:w,compiledPar
|
|||
|
|
|
|||
|
|
Please change the parent <Route path="${O}"> to <Route path="${O==="/"?"*":`${O}/*`}">.`)}let m=Lr(),y;if(t){let O=typeof t=="string"?xl(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||"/",j=g;if(d!=="/"){let O=d.replace(/^\//,"").split("/");j="/"+g.replace(/^\//,"").split("/").slice(O.length).join("/")}let S=n&&n.state.matches.length?n.state.matches.map(O=>Object.assign(O,{route:n.manifest[O.route.id]||O.route})):s3(e,{pathname:j});Rr(h||S!=null,`No routes matched location "${y.pathname}${y.search}${y.hash}" `),Rr(S==null||S[S.length-1].route.element!==void 0||S[S.length-1].route.Component!==void 0||S[S.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=fI(S&&S.map(O=>Object.assign({},O,{params:Object.assign({},l,O.params),pathname:Nr([d,r.encodeLocation?r.encodeLocation(O.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:O.pathname]),pathnameBase:O.pathnameBase==="/"?d:Nr([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(Yu.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...y},navigationType:"POP"}},w):w}function oI(){let e=yI(),t=H8(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 lI=P.createElement(oI,null),j3=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=tI(e.digest);n&&(e=n)}let t=e!==void 0?P.createElement(Dr.Provider,{value:this.props.routeContext},P.createElement(pS.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?P.createElement(cI,{error:e},t):t}};j3.contextType=m3;var Bv=new WeakMap;function cI({children:e,error:t}){let{basename:n}=P.useContext(Zn);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let r=eI(t.digest);if(r){let i=Bv.get(t);if(i)throw i;let o=h3(r.location,n),l=o.absoluteURL||o.to;if(Y8(l))throw new Error("Invalid redirect location");if(d3&&!Bv.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: ${j}px !important;
|
|||
|
|
height: ${S}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(G9,{isPresent:t,childRef:u,sizeRef:d,pop:o,children:o===!1?e:P.cloneElement(e,{ref:y})})}const Y9=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:l,anchorX:u,anchorY:d,root:h})=>{const m=SS(X9),y=P.useId(),g=P.useRef(n),j=P.useRef(r);wS(()=>{g.current=n,j.current=r});let S=!0,w=P.useMemo(()=>(S=!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=j.current)==null||O.call(j))})}),[n,m,r]);return o&&S&&(w={...w}),P.useMemo(()=>{m.forEach((b,O)=>m.set(O,!1))},[n]),P.useEffect(()=>{!n&&!m.size&&r&&r()},[n]),e=f.jsx(K9,{pop:l==="popLayout",isPresent:n,anchorX:u,anchorY:d,root:h,children:e}),f.jsx(Pp.Provider,{value:w,children:e})};function X9(){return new Map}function Q4(e=!0){const t=P.useContext(Pp);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 Rd=e=>e.key||"";function ME(e){const t=[];return P.Children.forEach(e,n=>{P.isValidElement(n)&&t.push(n)}),t}const Lo=({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]=Q4(l),g=P.useMemo(()=>ME(e),[e]),j=l&&!m?[]:g.map(Rd),S=P.useRef(!0),w=P.useRef(g),b=SS(()=>new Map),O=P.useRef(new Set),[T,_]=P.useState(g),[C,A]=P.useState(g);wS(()=>{S.current=!1,w.current=g;for(let D=0;D<C.length;D++){const k=Rd(C[D]);j.includes(k)?(b.delete(k),O.current.delete(k)):b.get(k)!==!0&&b.set(k,!1)}},[C,j.length,j.join("-")]);const E=[];if(g!==T){let D=[...g];for(let k=0;k<C.length;k++){const B=C[k],q=Rd(B);j.includes(q)||(D.splice(k,0,B),E.push(B))}return o==="wait"&&E.length&&(D=E),A(ME(D)),_(g),null}const{forceRender:M}=P.useContext(jS);return f.jsx(f.Fragment,{children:C.map(D=>{const k=Rd(D),B=l&&!m?!1:g===C||j.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(Y9,{isPresent:B,initial:!S.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)})})},J4=P.createContext({strict:!1}),PE={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 RE=!1;function W9(){if(RE)return;const e={};for(const t in PE)e[t]={isEnabled:n=>PE[t].some(r=>!!n[r])};N4(e),RE=!0}function eL(){return W9(),kV()}function Z9(e){const t=eL();for(const n in e)t[n]={...t[n],...e[n]};N4(t)}const Q9=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 Sh(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Q9.has(e)}let tL=e=>!Sh(e);function J9(e){typeof e=="function"&&(tL=t=>t.startsWith("on")?!Sh(t):e(t))}try{J9(require("@emotion/is-prop-valid").default)}catch{}function e7(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||fn(e[i])||(tL(i)||n===!0&&Sh(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 rH=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),fL=(...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 aH={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 iH=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,...aH,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:fL("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(iH,{ref:o,iconNode:t,className:fL(`lucide-${rH(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 sH=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 oH=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 lH=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 z1=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 $1=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 zo=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 Fo=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 QS=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 cH=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 uH=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 fH=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 dH=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 hH=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 pH=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 mH=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 zp=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 _l=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 FE=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 Go=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 yH=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 eu=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 GE=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 Qr=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 vH=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 dL=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 gH=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 bi=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 ef=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 xH=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 bH=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 oh=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 JS=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 KE=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 jH=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 SH=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 wH=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 Ss=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 AH=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 ew=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 OH=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 _H=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 TH=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 EH=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 NH=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 CH=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 MH=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 PH=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 YE=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 XE=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 WE=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 Ma=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 RH=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 kH=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 Cs=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 DH=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 LH=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 zH=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 $H=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 lh=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 BH=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 tw=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 IH=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 hL=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 nw=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 Mr=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 wi=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 B1=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 wh=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 Pa=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 rw=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 pL=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 aw=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 mL(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=mL(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=mL(e))&&(r&&(r+=" "),r+=t);return r}const iw="-",qH=e=>{const t=VH(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:l=>{const u=l.split(iw);return u[0]===""&&u.length!==1&&u.shift(),yL(u,t)||UH(l)},getConflictingClassGroupIds:(l,u)=>{const d=n[l]||[];return u&&r[l]?[...d,...r[l]]:d}}},yL=(e,t)=>{var l;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?yL(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const o=e.join(iw);return(l=t.validators.find(({validator:u})=>u(o)))==null?void 0:l.classGroupId},ZE=/^\[(.+)\]$/,UH=e=>{if(ZE.test(e)){const t=ZE.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},VH=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return FH(Object.entries(e.classGroups),n).forEach(([o,l])=>{I1(l,r,o,t)}),r},I1=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const o=i===""?t:QE(t,i);o.classGroupId=n;return}if(typeof i=="function"){if(HH(i)){I1(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,l])=>{I1(l,QE(t,o),n,r)})})},QE=(e,t)=>{let n=e;return t.split(iw).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},HH=e=>e.isThemeGetter,FH=(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,GH=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)}}},vL="!",KH=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),j=g.startsWith(vL),S=j?g.substring(1):g,w=y&&y>m?y-m:void 0;return{modifiers:d,hasImportantModifier:j,baseClassName:S,maybePostfixModifierPosition:w}};return n?u=>n({className:u,parseClassName:l}):l},YH=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},XH=e=>({cache:GH(e.cacheSize),parseClassName:KH(e),...qH(e)}),WH=/\s+/,ZH=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,o=[],l=e.trim().split(WH);let u="";for(let d=l.length-1;d>=0;d-=1){const h=l[d],{modifiers:m,hasImportantModifier:y,baseClassName:g,maybePostfixModifierPosition:j}=n(h);let S=!!j,w=r(S?g.substring(0,j):g);if(!w){if(!S){u=h+(u.length>0?" "+u:u);continue}if(w=r(g),!w){u=h+(u.length>0?" "+u:u);continue}S=!1}const b=YH(m).join(":"),O=y?b+vL:b,T=O+w;if(o.includes(T))continue;o.push(T);const _=i(w,S);for(let C=0;C<_.length;++C){const A=_[C];o.push(O+A)}u=h+(u.length>0?" "+u:u)}return u};function QH(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=gL(t))&&(r&&(r+=" "),r+=n);return r}const gL=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=gL(e[r]))&&(n&&(n+=" "),n+=t);return n};function JH(e,...t){let n,r,i,o=l;function l(d){const h=t.reduce((m,y)=>y(m),e());return n=XH(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=ZH(d,n);return i(d,m),m}return function(){return o(QH.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 aC;function sG(){if(aC)return Qe;aC=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"),j=Symbol.for("react.offscreen"),S;S=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 Qe.ContextConsumer=l,Qe.ContextProvider=o,Qe.Element=e,Qe.ForwardRef=d,Qe.Fragment=n,Qe.Lazy=g,Qe.Memo=y,Qe.Portal=t,Qe.Profiler=i,Qe.StrictMode=r,Qe.Suspense=h,Qe.SuspenseList=m,Qe.isAsyncMode=function(){return!1},Qe.isConcurrentMode=function(){return!1},Qe.isContextConsumer=function(b){return w(b)===l},Qe.isContextProvider=function(b){return w(b)===o},Qe.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===e},Qe.isForwardRef=function(b){return w(b)===d},Qe.isFragment=function(b){return w(b)===n},Qe.isLazy=function(b){return w(b)===g},Qe.isMemo=function(b){return w(b)===y},Qe.isPortal=function(b){return w(b)===t},Qe.isProfiler=function(b){return w(b)===i},Qe.isStrictMode=function(b){return w(b)===r},Qe.isSuspense=function(b){return w(b)===h},Qe.isSuspenseList=function(b){return w(b)===m},Qe.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===n||b===i||b===r||b===h||b===m||b===j||typeof b=="object"&&b!==null&&(b.$$typeof===g||b.$$typeof===y||b.$$typeof===o||b.$$typeof===l||b.$$typeof===d||b.$$typeof===S||b.getModuleId!==void 0)},Qe.typeOf=w,Qe}var iC;function oG(){return iC||(iC=1,ix.exports=sG()),ix.exports}var lG=oG(),sx,sC;function TL(){if(sC)return sx;sC=1;var e=za(),t=$a(),n="[object Number]";function r(i){return typeof i=="number"||t(i)&&e(i)==n}return sx=r,sx}var ox,oC;function cG(){if(oC)return ox;oC=1;var e=TL();function t(n){return e(n)&&n!=+n}return ox=t,ox}var uG=cG();const Cl=at(uG);var fG=TL();const dG=at(fG);var bn=function(t){return t===0?0:t>0?1:-1},ds=function(t){return ws(t)&&t.indexOf("%")===t.length-1},ce=function(t){return dG(t)&&!Cl(t)},hG=function(t){return Ne(t)},Kt=function(t){return ce(t)||ws(t)},pG=0,Ps=function(t){var n=++pG;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)&&!ws(t))return r;var o;if(ds(t)){var l=t.indexOf("%");o=n*parseFloat(t.slice(0,l))/100}else o=+t;return Cl(o)&&(o=r),i&&o>n&&(o=n),o},gi=function(t){if(!t)return null;var n=Object.keys(t);return n&&n.length?t[n[0]]:null},mG=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},Gt=function(t,n){return ce(t)&&ce(n)?function(r){return t+r*(n-t)}:function(){return n}};function Ah(e,t,n){return!e||!e.length?null:e.find(function(r){return r&&(typeof t=="function"?t(r):Xn(r,t))===n})}var yG=function(t,n){return ce(t)&&ce(n)?t-n:ws(t)&&ws(n)?t.localeCompare(n):t instanceof Date&&n instanceof Date?t.getTime()-n.getTime():String(t).localeCompare(String(n))};function Bo(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 U1(e){"@babel/helpers - typeof";return U1=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},U1(e)}var vG=["viewBox","children"],gG=["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=MK({},r);return delete h.legendIcon,I.cloneElement(r.legendIcon,h)}return I.createElement(xw,{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(j,S){var w=j.formatter||d,b=Pe(pu(pu({"recharts-legend-item":!0},"legend-item-".concat(S),!0),"inactive",j.inactive));if(j.type==="none")return null;var O=Te(j.value)?null:j.value;Pr(!Te(j.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=j.inactive?h:j.color;return I.createElement("li",J1({className:b,style:y,key:"legend-item-".concat(S)},As(r.props,j,S)),I.createElement(G1,{width:l,height:l,viewBox:m,style:g},r.renderIcon(j)),I.createElement("span",{className:"recharts-legend-item-text",style:{color:T}},w?w(O,j,S):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);pu(bw,"displayName","Legend");pu(bw,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var bx,CC;function IK(){if(CC)return bx;CC=1;var e=Ip();function t(){this.__data__=new e,this.size=0}return bx=t,bx}var jx,MC;function qK(){if(MC)return jx;MC=1;function e(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r}return jx=e,jx}var Sx,PC;function UK(){if(PC)return Sx;PC=1;function e(t){return this.__data__.get(t)}return Sx=e,Sx}var wx,RC;function VK(){if(RC)return wx;RC=1;function e(t){return this.__data__.has(t)}return wx=e,wx}var Ax,kC;function HK(){if(kC)return Ax;kC=1;var e=Ip(),t=uw(),n=fw(),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 Ax=i,Ax}var Ox,DC;function XL(){if(DC)return Ox;DC=1;var e=Ip(),t=IK(),n=qK(),r=UK(),i=VK(),o=HK();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,Ox=l,Ox}var _x,LC;function FK(){if(LC)return _x;LC=1;var e="__lodash_hash_undefined__";function t(n){return this.__data__.set(n,e),this}return _x=t,_x}var Tx,zC;function GK(){if(zC)return Tx;zC=1;function e(t){return this.__data__.has(t)}return Tx=e,Tx}var Ex,$C;function WL(){if($C)return Ex;$C=1;var e=fw(),t=FK(),n=GK();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,Ex=r,Ex}var Nx,BC;function ZL(){if(BC)return Nx;BC=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 Nx=e,Nx}var Cx,IC;function QL(){if(IC)return Cx;IC=1;function e(t,n){return t.has(n)}return Cx=e,Cx}var Mx,qC;function JL(){if(qC)return Mx;qC=1;var e=WL(),t=ZL(),n=QL(),r=1,i=2;function o(l,u,d,h,m,y){var g=d&r,j=l.length,S=u.length;if(j!=S&&!(g&&S>j))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<j;){var C=l[O],A=u[O];if(h)var E=g?h(A,C,O,u,l,y):h(C,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)&&(C===M||m(C,M,d,h,y)))return _.push(D)})){T=!1;break}}else if(!(C===A||m(C,A,d,
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function hX(e,t){if(e){if(typeof e=="string")return bP(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 bP(e,t)}}function bP(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 pX(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 mX(e){if(Array.isArray(e))return e}function jP(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 a0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?jP(Object(n),!0).forEach(function(r){yX(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jP(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function yX(e,t,n){return t=vX(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vX(e){var t=gX(e,"string");return mu(t)=="symbol"?t:t+""}function gX(e,t){if(mu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(mu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function xX(e){return Array.isArray(e)&&Kt(e[0])&&Kt(e[1])?e.join(" ~ "):e}var bX=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,j=t.wrapperClassName,S=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?Tw(m,g):m).map(function(X,Y){if(X.type==="none")return null;var L=a0({display:"block",paddingTop:4,paddingBottom:4,color:X.color||"#000"},u),H=X.formatter||y||xX,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=fX(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},Kt(z)?I.createElement("span",{className:"recharts-tooltip-item-name"},z):null,Kt(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},C=a0({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},o),A=a0({margin:0},h),E=!Ne(w),M=E?w:"",D=Pe("recharts-default-tooltip",j),k=Pe("recharts-tooltip-label",S);E&&b&&m!==void 0&&m!==null&&(M=b(w,m));var B=T?{role:"status","aria-live":"assertive"}:{};return I.createElement("div",nj({className:D,style:C},B),I.createElement("p",{className:k,style:A},I.isValidElement(M)?M:"".concat(M)),_())};function yu(e){"@babel/helpers - typeof";return yu=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},yu(e)}function $d(e,t,n){return t=jX(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jX(e){var t=SX(e,"string");return yu(t)=="symbol"?t:t+""}function SX(e,t){if(yu(e)!="object"||!e)return e;var n=e[Symb
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function aW(e,t){if(e){if(typeof e=="string")return DP(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 DP(e,t)}}function DP(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 iW(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 sW(e){if(Array.isArray(e))return e}var Dh=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,j=e.children,S=e.debounce,w=S===void 0?0:S,b=e.id,O=e.className,T=e.onResize,_=e.style,C=_===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=nW(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=jz(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;Pr(ds(l)||ds(d),`The width(%s) and height(%s) are both fixed numbers,
|
|||
|
|
maybe you don't need to use a ResponsiveContainer.`,l,d),Pr(!n||n>0,"The aspect(%s) must be greater than zero.",n);var Y=ds(l)?G:l,L=ds(d)?X:d;n&&n>0&&(Y?L=Y/n:L&&(Y=L*n),g&&L>g&&(L=g)),Pr(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(j)&&Ea(j.type).endsWith("Chart");return I.Children.map(j,function(Q){return I.isValidElement(Q)?P.cloneElement(Q,Bd({width:Y,height:L},H?{style:Bd({height:"100%",width:"100%",maxHeight:L,maxWidth:Y},Q.props.style)}:{})):Q})},[n,j,d,g,y,m,k,l]);return I.createElement("div",{id:b?"".concat(b):void 0,className:Pe("recharts-responsive-container",O),style:Bd(Bd({},C),{},{width:l,height:d,minWidth:m,minHeight:y,maxHeight:g}),ref:A},$)}),Wp=function(t){return null};Wp.displayName="Cell";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 LP(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 sj(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?LP(Object(n),!0).forEach(function(r){oW(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):LP(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function oW(e,t,n){return t=lW(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lW(e){var t=cW(e,"string");return gu(t)=="symbol"?t:t+""}function cW(e,t){if(gu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(gu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var jo={widthCache:{},cacheCount:0},uW=2e3,fW={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},zP="recharts_measurement_span";function dW(e){var t=sj({},e);return Object.keys(t).forEach(function(n){t[n]||delete t[n]}),t}var tu=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t==null||Pi.isSsr)return{width:0,height:0};var r=dW(n),i=JSON.stringify({text:t,copyStyle:r});if(jo.widthCache[i])return jo.widthCache[i];try{var o=document.getElementById(zP);o||(o=document.createElement("span"),o.setAttribute("id",zP),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var l=sj(sj({},fW),r);Object.assign(o.style,l),o.textContent="".concat(t);var u=o.getBoundingClientRect(),d={width:u.width,height:u.height};return jo.widthCache[i]=d,++jo.cacheCount>uW&&(jo.cacheCount=0,jo.widthCache={}),d}catch{return{width:0,height:0}}},hW=function(t){return{top:t.top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft}};function xu(e){"@babel/helpers - typeof";return xu=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},xu(e)}function Lh(e,t){return vW(e)||yW(e,t)||mW(e,t)||pW()}function pW(){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 mW(e,t){if(e){if(typeof e=="string")return $P(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 $P(e,t)}}function $P(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 yW(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 vW(e){if(Array.isArray(e))return e}function gW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BP(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,bW(r.key),r)}}function xW(e,t,n){return t&&BP(e.prototype,t),n&&BP(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function bW(e){var t=jW(e,"string");return xu(t)=="symbol"?t:t+""}function jW(e,t){if(xu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(xu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var IP=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,qP=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,SW=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,wW=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,Sz={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},AW=Object.keys(Sz),Mo="NaN";function OW(e,t){return e*Sz[t]}var Id=(function(){function e(t,n){gW(this,e),this.num=t,this.unit=n,this.num=t,this.unit=n,Number.isNaN(t)&&(this.unit=""),n!==""&&!SW.test(n)&&(this.num=NaN,this.unit=""),AW.includes(n)&&(this.num=OW(t,n),this.unit="px")}return xW(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=wW.exec(n))!==null&&r!==void 0?r:[],o=Lh(i,3),l=o[1],u=o[2];return new e(parseFloat(l),u??"")}}])})();function wz(e){if(e.includes(Mo))return Mo;for(var t=e;t.includes("*")||t.includes("/");){var n,r=(n=IP.exec(t))!==null&&n!==void 0?n:[],i=Lh(r,4),o=i[1],l=i[2],u=i[3],d=Id.parse(o??""),h=Id.parse(u??""),m=l==="*"?d.multiply(h):d.divide(h);if(m.isNaN())return Mo;t=t.replace(IP,m.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var y,g=(y=qP.exec(t))!==null&&y!==void 0?y:[],j=Lh(g,4),S=j[1],w=j[2],b=j[3],O=Id.parse(S??""),T=Id.parse(b??""),_=w==="+"?O.add(T):O.subtract(T);if(_.isNaN())return Mo;t=t.replace(qP,_.toString())}return t}var UP=/\(([^()]*)\)/;function _W(e){for(var t=e;t.includes("(");){var n=UP.exec(t),r=Lh(n,2),i=r[1];t=t.replace(UP,wz(i))}return t}function TW(e){var t=e.replace(/\s+/g,"");return t=_W(t),t=wz(t),t}function EW(e){try{return TW(e)}catch{return Mo}}function f0(e){var t=EW(e.slice(5,-1));return t===Mo?"":t}var NW=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],CW=["dx","dy","angle","className","breakAll"];function oj(){return oj=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 RW(e,t){if(e){if(typeof e=="string")return FP(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 FP(e,t)}}function FP(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 kW(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 DW(e){if(Array.isArray(e))return e}var Az=/[ \f\n\r\t\v\u2028\u2029]+/,Oz=function(t){var n=t.children,r=t.breakAll,i=t.style;try{var o=[];Ne(n)||(r?o=n.toString().split(""):o=n.toString().split(Az));var l=o.map(function(d){return{word:d,width:tu(d,i).width}}),u=r?0:tu(" ",i).width;return{wordsWithComputedWidth:l,spaceWidth:u}}catch{return null}},LW=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},[])},j=g(n),S=function(Y){return Y.reduce(function(L,H){return L.width>H.width?L:H})};if(!m)return j;for(var w="…",b=function(Y){var L=y.slice(0,Y),H=Oz({breakAll:h,style:d,children:L+w}).wordsWithComputedWidth,Q=g(H),ae=Q.length>l||S(Q).width>Number(i);return[ae,Q]},O=0,T=y.length-1,_=0,C;O<=T&&_<=y.length-1;){var A=Math.floor((O+T)/2),E=A-1,M=b(E),D=HP(M,2),k=D[0],B=D[1],q=b(A),$=HP(q,1),G=$[0];if(!k&&!G&&(O=A+1),k&&G&&(T=A-1),!k&&G){C=B;break}_++}return C||j},GP=function(t){var n=Ne(t)?[]:t.toString().split(Az);return[{words:n}]},zW=function(t){var n=t.width,r=t.scaleToFit,i=t.children,o=t.style,l=t.breakAll,u=t.maxLines;if((n||r)&&!Pi.isSsr){var d,h,m=Oz({breakAll:l,children:i,style:o});if(m){var y=m.wordsWithComputedWidth,g=m.spaceWidth;d=y,h=g}else return GP(i);return LW({breakAll:l,children:i,maxLines:u,style:o},d,h,n,r)}return GP(i)},KP="#808080",Os=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,j=g===void 0?"start":g,S=t.verticalAnchor,w=S===void 0?"end":S,b=t.fill,O=b===void 0?KP:b,T=VP(t,NW),_=P.useMemo(function(){return zW({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]),C=T.dx,A=T.dy,E=T.angle,M=T.className,D=T.breakAll,k=VP(T,CW);if(!Kt(r)||!Kt(o))return null;var B=r+(ce(C)?C:0),q=o+(ce(A)?A:0),$;switch(w){case"start":$=f0("calc(".concat(h,")"));break;case"middle":$=f0("calc(".concat((_.length-1)/2," * -").concat(u," + (").concat(h," / 2))"));break;default:$=f0("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",oj({},je(k,!0),{x:B,y:q,className:Pe("recharts-text",M),textAnchor:j,fill:O.includes("url")?KP: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 Ai(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function $W(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Nw(e){let t,n,r;e.length!==2?(t=Ai,n=(u,d)=>Ai(e(u),d),r=(u,d)=>e(u)-d):(t=e===Ai||e===$W?e:BW,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 _J(e,t){if(e){if(typeof e=="string")return mj(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 mj(e,t)}}function TJ(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function EJ(e){if(Array.isArray(e))return mj(e)}function mj(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 NJ=function(t){return t},f5={},d5=function(t){return t===f5},UR=function(t){return function n(){return arguments.length===0||arguments.length===1&&d5(arguments.length<=0?void 0:arguments[0])?n:t.apply(void 0,arguments)}},CJ=function e(t,n){return t===1?n:UR(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!==f5}).length;return l>=t?n.apply(void 0,i):e(t-l,UR(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 d5(y)?d.shift():y});return n.apply(void 0,AJ(m).concat(d))}))})},im=function(t){return CJ(t.length,t)},yj=function(t,n){for(var r=[],i=t;i<n;++i)r[i-t]=i;return r},MJ=im(function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map(function(n){return t[n]}).map(e)}),PJ=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!n.length)return NJ;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))}},vj=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},h5=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 RJ(e){var t;return e===0?t=1:t=Math.floor(new lt(e).abs().log(10).toNumber())+1,t}function kJ(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 DJ=im(function(e,t,n){var r=+e,i=+t;return r+n*(i-r)}),LJ=im(function(e,t,n){var r=t-+e;return r=r||1/0,(n-e)/r}),zJ=im(function(e,t,n){var r=t-+e;return r=r||1/0,Math.max(0,Math.min(1,(n-e)/r))});const sm={rangeStep:kJ,getDigitCount:RJ,interpolateNumber:DJ,uninterpolateNumber:LJ,uninterpolateTruncation:zJ};function gj(e){return IJ(e)||BJ(e)||p5(e)||$J()}function $J(){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 BJ(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function IJ(e){if(Array.isArray(e))return xj(e)}function _u(e,t){return VJ(e)||UJ(e,t)||p5(e,t)||qJ()}function qJ(){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 p5(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 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}function UJ(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 VJ(e){if(Array.isArray(e))return e}function m5(e){var t=_u(e,2),n=t[0],r=t[1],i=n,o=r;return n>r&&(i=r,o=n),[i,o]}function y5(e,t,n){if(e.lte(0))return new lt(0);var r=sm.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 HJ(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(sm.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=PJ(MJ(function(d){return i.add(new lt(d-l).mul(r)).toNumber()}),yj);return u(0,t)}function v5(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=y5(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?v5(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 FJ(e){var t=_u(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=m5([n,r]),d=_u(u,2),h=d[0],m=d[1];if(h===-1/0||m===1/0){var y=m===1/0?[h].concat(gj(yj(0,i-1).map(function(){return 1/0}))):[].concat(gj(yj(0,i-1).map(function(){return-1/0})),[m]);return n>r?vj(y):y}if(h===m)return HJ(h,i,o);var g=v5(h,m,l,o),j=g.step,S=g.tickMin,w=g.tickMax,b=sm.rangeStep(S,w.add(new lt(.1).mul(j)),j);return n>r?vj(b):b}function GJ(e,t){var n=_u(e,2),r=n[0],i=n[1],o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,l=m5([r,i]),u=_u(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=y5(new lt(h).sub(d).div(m-1),o,0),g=[].concat(gj(sm.rangeStep(new lt(d),new lt(h).sub(new lt(.99).mul(y)),y)),[h]);return r>i?vj(g):g}var KJ=h5(FJ),YJ=h5(GJ),XJ="Invariant failed";function Es(e,t){throw new Error(XJ)}var WJ=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function tl(e){"@babel/helpers - typeof";return tl=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},tl(e)}function Xh(){return Xh=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},Xh.apply(this,arguments)}function ZJ(e,t){return tee(e)||eee(e,t)||JJ(e,t)||QJ()}function QJ(){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 JJ(e,t){if(e){if(typeof e=="string")return VR(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 VR(e,t)}}function VR(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 eee(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 tee(e){if(Array.isArray(e))return e}function nee(e,t){if(e==null)return{};var n=ree(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 ree(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 aee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iee(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,b5(r.key),r)}}function see(e,t,n){return t&&iee(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function oee(e,t,n){return t=Wh(t),lee(e,g5()?Reflect.construct(t,n||[],Wh(e).constructor):t.apply(e,n))}function lee(e,t){if(t&&(tl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return cee(e)}function cee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g5(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(g5=function(){return!!e})()}function Wh(e){return Wh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Wh(e)}function uee(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&&bj(e,t)}function bj(e,t){return bj=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},bj(e,t)}function x5(e,t,n){return t=b5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b5(e){var t=fee(e,"string");return tl(t)=="symbol"?t:t+""}function fee(e,t){if(tl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(tl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var lf=(function(e){function t(){return aee(this,t),oee(this,t,arguments)}return uee(t,e),see(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=nee(r,WJ),j=je(g,!1);this.props.direction==="x"&&m.type!=="number"&&Es();var S=d.map(function(w){var b=h(w,u),O=b.x,T=b.y,_=b.value,C=b.errorVal;if(!C)return null;var A=[],E,M;if(Array.isArray(C)){var D=ZJ(C,2);E=D[0],M=D[1]}else E=M=C;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(Ie,Xh({className:"recharts-errorBar",key:"bar-".concat(A.map(function(z){return"
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yee(e,t){if(e){if(typeof e=="string")return jj(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 jj(e,t)}}function vee(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function gee(e){if(Array.isArray(e))return jj(e)}function jj(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 GR(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 Mt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?GR(Object(n),!0).forEach(function(r){Uo(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):GR(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Uo(e,t,n){return t=xee(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xee(e){var t=bee(e,"string");return Eu(t)=="symbol"?t:t+""}function bee(e,t){if(Eu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Eu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function kt(e,t,n){return Ne(e)||Ne(t)?n:Kt(t)?Xn(e,t,n):Te(t)?t(e):n}function ru(e,t,n,r){var i=gJ(e,function(u){return kt(u,t)});if(n==="number"){var o=i.filter(function(u){return ce(u)||parseFloat(u)});return o.length?[am(o),ji(o)]:[1/0,-1/0]}var l=r?i.filter(function(u){return!Ne(u)}):i;return l.map(function(u){return Kt(u)||u instanceof Date?u:""})}var jee=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,j=void 0;if(bn(y-m)!==bn(g-y)){var S=[];if(bn(g-y)===bn(d[1]-d[0])){j=g;var w=y+d[1]-d[0];S[0]=Math.min(w,(w+m)/2),S[1]=Math.max(w,(w+m)/2)}else{j=m;var b=g+d[1]-d[0];S[0]=Math.min(y,(b+y)/2),S[1]=Math.max(y,(b+y)/2)}var O=[Math.min(y,(j+y)/2),Math.max(y,(j+y)/2)];if(t>O[0]&&t<=O[1]||t>=S[0]&&t<=S[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 C=0;C<u;C++)if(C===0&&t<=(r[C].coordinate+r[C+1].coordinate)/2||C>0&&C<u-1&&t>(r[C].coordinate+r[C-1].coordinate)/2&&t<=(r[C].coordinate+r[C+1].coordinate)/2||C===u-1&&t>(r[C].coordinate+r[C-1].coordinate)/2){l=r[C].index;break}return l},Jw=function(t){var n,r=t,i=r.type.displayName,o=(n=t.type)!==null&&n!==void 0&&n.defaultProps?Mt(Mt({},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},See=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,j=y.length;g<j;g++){var S=m[y[g]],w=S.items,b=S.cateAxisId,O=w.filter(function(M){return Ea(M.type).indexOf("Bar")>=0});if(O&&O.length){var T=O[0].type.defaultProps,_=T!==void 0?Mt(Mt({},T),O[0].props):O[0].props,C=_.barSize,A=_[b];l[A]||(l[A]=[]);var E=Ne(C)?n:C;l[A].push({item:O[0],stackList:O.slice(1),barSize:Ne(E)?void 0:jn(E,r,0)})}}return l},wee=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 qee(e,t){if(e){if(typeof e=="string")return JR(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return JR(e,t)}}function JR(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Uee(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 Vee(e){if(Array.isArray(e))return e}var Jh=Math.PI/180,Hee=function(t){return t*180/Math.PI},mt=function(t,n,r,i){return{x:t+Math.cos(-Jh*i)*r,y:n+Math.sin(-Jh*i)*r}},P5=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},Fee=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=P5(l,u,r),j=jn(t.innerRadius,g,0),S=jn(t.outerRadius,g,g*.8),w=Object.keys(n);return w.reduce(function(b,O){var T=n[O],_=T.domain,C=T.reversed,A;if(Ne(T.range))i==="angleAxis"?A=[d,h]:i==="radiusAxis"&&(A=[j,S]),C&&(A=[A[1],A[0]]);else{A=T.range;var E=A,M=Bee(E,2);d=M[0],h=M[1]}var D=_5(T,o),k=D.realScaleType,B=D.scale;B.domain(_).range(A),T5(B);var q=E5(B,Aa(Aa({},T),{},{realScaleType:k})),$=Aa(Aa(Aa({},T),q),{},{range:A,radius:S,realScaleType:k,scale:B,cx:m,cy:y,innerRadius:j,outerRadius:S,startAngle:d,endAngle:h});return Aa(Aa({},b),{},M5({},O,$))},{})},Gee=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))},Kee=function(t,n){var r=t.x,i=t.y,o=n.cx,l=n.cy,u=Gee({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:Hee(h),angleInRadian:h}},Yee=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}},Xee=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},ek=function(t,n){var r=t.x,i=t.y,o=Kee({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=Yee(n),y=m.startAngle,g=m.endAngle,j=u,S;if(y<=g){for(;j>g;)j-=360;for(;j<y;)j+=360;S=j>=y&&j<=g}else{for(;j>y;)j-=360;for(;j<g;)j+=360;S=j>=g&&j<=y}return S?Aa(Aa({},n),{},{radius:l,angle:Xee(j,n)}):null},R5=function(t){return!P.isValidElement(t)&&!Te(t)&&typeof t!="boolean"?t.className:""};function Cu(e){"@babel/helpers - typeof";return Cu=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},Cu(e)}var Wee=["offset"];function Zee(e){return tte(e)||ete(e)||Jee(e)||Qee()}function Qee(){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 Jee(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 ete(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function tte(e){if(Array.isArray(e))return wj(e)}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 nte(e,t){if(e==null)return{};var n=rte(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 rte(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 tk(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 Ht(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?tk(Object(n),!0).forEach(function(r){ate(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ate(e,t,n){return t=ite(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ite(e){var t=ste(e,"string");return Cu(t)=="symbol"?t:t+""}function ste(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 Mu(){return Mu=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},Mu.apply(this,arguments)}var ote=function(t){var n=t.value,r=t.formatter,i=Ne(t.children)?n:t.children;return Te(r)?r(i):i},lte=function(t,n){var r=bn(n-t),i=Math.min(Math.abs(n-t),360);return r*i},cte=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,j=d.startAngle,S=d.endAngle,w=d.clockWise,b=(y+g)/2,O=lte(j,S),T=O>=0?1:-1,_,C;i==="insideStart"?(_=j+T*l,C=w):i==="insideEnd"?(_=S-T*l,C=!w):i==="end"&&(_=S+T*l,C=w),C=O<=0?C:!C;var A=mt(h,m,b,_),E=mt(h,m,b,_+(C?1:-1)*359),M="M".concat(A.x,",").concat(A.y,`
|
|||
|
|
A`).concat(b,",").concat(b,",0,1,").concat(C?0:1,`,
|
|||
|
|
`).concat(E.x,",").concat(E.y),D=Ne(t.id)?Ps("recharts-radial-line-"):t.id;return I.createElement("text",Mu({},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))},ute=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 j=mt(l,u,h+r,g),S=j.x,w=j.y;return{x:S,y:w,textAnchor:S>=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"}},fte=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,j=y>0?"end":"start",S=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:j};return Ht(Ht({},_),r?{height:Math.max(d-r.y,0),width:h}:{})}if(o==="bottom"){var C={x:u+h/2,y:d+m+g,textAnchor:"middle",verticalAnchor:S};return Ht(Ht({},C),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 Ht(Ht({},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 Ht(Ht({},E),r?{width:Math.max(r.x+r.width-E.x,0),height:m}:{})}var M=r?{width:h,height:m}:{};return o==="insideLeft"?Ht({x:u+b,y:d+m/2,textAnchor:T,verticalAnchor:"middle"},M):o==="insideRight"?Ht({x:u+h-b,y:d+m/2,textAnchor:O,verticalAnchor:"middle"},M):o==="insideTop"?Ht({x:u+h/2,y:d+g,textAnchor:"middle",verticalAnchor:S},M):o==="insideBottom"?Ht({x:u+h/2,y:d+m-g,textAnchor:"middle",verticalAnchor:j},M):o==="insideTopLeft"?Ht({x:u+b,y:d+g,textAnchor:T,verticalAnchor:S},M):o==="insideTopRight"?Ht({x:u+h-b,y:d+g,textAnchor:O,verticalAnchor:S},M):o==="insideBottomLeft"?Ht({x:u+b,y:d+m-g,textAnchor:T,verticalAnchor:j},M):o==="insideBottomRight"?Ht({x:u+h-b,y:d+m-g,textAnchor:O,verticalAnchor:j},M):Nl(o)&&(ce(o.x)||ds(o.x))&&(ce(o.y)||ds(o.y))?Ht({x:u+jn(o.x,h),y:d+jn(o.y,m),textAnchor:"end",verticalAnchor:"end"},M):Ht({x:u+h/2,y:d+m/2,textAnchor:"middle",verticalAnchor:"middle"},M)},dte=function(t){return"cx"in t&&ce(t.cx)};function Jt(e){var t=e.offset,n=t===void 0?5:t,r=nte(e,Wee),i=Ht({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||Ne(u)&&Ne(d)&&!P.isValidElement(h)&&!Te(h))return null;if(P.isValidElement(h))return P.cloneElement(h,i);var j;if(Te(h)){if(j=P.createElement(h,i),P.isValidElement(j))return j}else j=ote(i);var S=dte(o),w=je(i,!0);if(S&&(l==="insideStart"||l==="insideEnd"||l==="end"))return cte(i,j,w);var b=S?ute(i):fte(i);return I.createElement(Os,Mu({className:Pe("recharts-label",y)},w,b,{breakAll:g}),j)}Jt.displayName="Label";var k5=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,j=t.top,S=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(j)&&ce(S))return{x:j,y:S,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:{}},hte=function(t,n){return t?t===!0?I.createElement(Jt,{key:"label-implicit",viewBox:n}):Kt(t)?I.createElement(Jt,{key:"label-implicit",viewBox:n,value:t}):P.isValidElement(t)?t.type===Jt?P.cloneElement(t,{key:"label-implicit",viewBox:n}):I.createElement(Jt,{key:"label-implicit",content:t,viewBox:n}):Te(t)?I.createElement(Jt,{key:"label-implicit",content:t,viewBox:n}):Nl(t)?I.createEl
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ste(e,t){if(e){if(typeof e=="string")return Aj(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 Aj(e,t)}}function wte(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ate(e){if(Array.isArray(e))return Aj(e)}function Aj(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 ep(){return ep=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},ep.apply(this,arguments)}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 ak(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=_te(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _te(e){var t=Tte(e,"string");return Pu(t)=="symbol"?t:t+""}function Tte(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 ik(e,t){if(e==null)return{};var n=Ete(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 Ete(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 Nte=function(t){return Array.isArray(t.value)?vte(t.value):t.value};function Xr(e){var t=e.valueAccessor,n=t===void 0?Nte:t,r=ik(e,gte),i=r.data,o=r.dataKey,l=r.clockWise,u=r.id,d=r.textBreakAll,h=ik(r,xte);return!i||!i.length?null:I.createElement(Ie,{className:"recharts-label-list"},i.map(function(m,y){var g=Ne(o)?n(m,y):kt(m&&m.payload,o),j=Ne(u)?{}:{id:"".concat(u,"-").concat(y)};return I.createElement(Jt,ep({},je(m,!0),h,j,{parentViewBox:m.parentViewBox,value:g,textBreakAll:d,viewBox:Jt.parseViewBox(Ne(l)?m:ak(ak({},m),{},{clockWise:l})),key:"label-".concat(y),index:y}))}))}Xr.displayName="LabelList";function Cte(e,t){return e?e===!0?I.createElement(Xr,{key:"labelList-implicit",data:t}):I.isValidElement(e)||Te(e)?I.createElement(Xr,{key:"labelList-implicit",data:t,content:e}):Nl(e)?I.createElement(Xr,ep({data:t},e,{key:"labelList-implicit"})):null:null}function Mte(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,Xr).map(function(l,u){return P.cloneElement(l,{data:t,key:"labelList-".concat(u)})});if(!n)return i;var o=Cte(e.label,t);return[o].concat(bte(i))}Xr.renderCallByParent=Mte;function Ru(e){"@babel/helpers - typeof";return Ru=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},Ru(e)}function Oj(){return Oj=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},Oj.apply(this,arguments)}function sk(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 j=mt(n,r,i,l),S=mt(n,r,i,h);g+="L ".concat(S.x,",").concat(S.y,`
|
|||
|
|
A `).concat(i,",").concat(i,`,0,
|
|||
|
|
`).concat(+(Math.abs(d)>180),",").concat(+(l<=h),`,
|
|||
|
|
`).concat(j.x,",").concat(j.y," Z")}else g+="L ".concat(n,",").concat(r," Z");return g},Lte=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=Fd({cx:n,cy:r,radius:o,angle:h,sign:y,cornerRadius:l,cornerIsExternal:d}),j=g.circleTangency,S=g.lineTangency,w=g.theta,b=Fd({cx:n,cy:r,radius:o,angle:m,sign:-y,cornerRadius:l,cornerIsExternal:d}),O=b.circleTangency,T=b.lineTangency,_=b.theta,C=d?Math.abs(h-m):Math.abs(h-m)-w-_;if(C<0)return u?"M ".concat(S.x,",").concat(S.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
|
|||
|
|
`):D5({cx:n,cy:r,innerRadius:i,outerRadius:o,startAngle:h,endAngle:m});var A="M ".concat(S.x,",").concat(S.y,`
|
|||
|
|
A`).concat(l,",").concat(l,",0,0,").concat(+(y<0),",").concat(j.x,",").concat(j.y,`
|
|||
|
|
A`).concat(o,",").concat(o,",0,").concat(+(C>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=Fd({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=Fd({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},zte={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},L5=function(t){var n=ok(ok({},zte),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 j=Pe("recharts-sector",g),S=l-o,w=jn(u,S,0,!0),b;return w>0&&Math.abs(m-y)<360?b=Lte({cx:r,cy:i,innerRadius:o,outerRadius:l,cornerRadius:Math.min(w,S/2),forceCornerRadius:d,cornerIsExternal:h,startAngle:m,endAngle:y}):b=D5({cx:r,cy:i,innerRadius:o,outerRadius:l,startAngle:m,endAngle:y}),I.createElement("path",Oj({},je(n,!0),{className:j,d:b,role:"img"}))};function ku(e){"@babel/helpers - typeof";return ku=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},ku(e)}function _j(){return _j=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},_j.apply(this,arguments)}function lk(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 ck(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?lk(Object(n),!0).forEach(function(r){$te(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function $te(e,t,n){return t=Bte(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bte(e){var t=Ite(e,"string");return ku(t)=="symbol"?t:t+""}function Ite(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)}var uk={curveBasisClosed:sK,curveBasisOpen:oK,curveBasis:iK,curveBumpX:FG,curveBumpY:GG,curveLinearClosed:lK,curveLinear:Fp,curveMonotoneX:cK,curveMonotoneY:uK,curveNatural:fK,curveStep:dK,curveStepAfter:pK,curveStepBefore:hK},Gd=function(t){return t.x===+t.x&&t.y===+t.y},Ic=function(t){return t.x},qc=function(t){return t.y},qte=function(t,n){if(Te(t))return t;var r="curve".concat(Vp(t));return(r==="curveMonotone"||r==="curveBump")&&n?uk["".concat(r).concat(n==="vertical"?"Y":"X")]:uk[r]||Fp},Ute=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=qte(r,u),y=h?o.filter(function(w){return Gd(w)}):o,g;if(Array.isArray(l)){var j=h?l.filter(function(w){return Gd(w)}):l,S=y.map(function(w,b){return ck(ck({},w),{},{base:j[b]})});return u==="vertical"?g=zd().y(qc).x1(Ic).x0(function(w){return w.base.x}):g=zd().x(Ic).y1(qc).y0(function(w){return w.base.y}),g.defined(Gd).curve(m),g(S)}return u==="vertical"&&ce(l)?g=zd().y(qc).x1(Ic).x0(l):ce(l)?g=zd().x(Ic).y1(qc).y0(l):g=DL().x(Ic).y(qc),g.defined(Gd).curve(m),g(y)},js=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?Ute(t):i;return P.createElement("path",_j({},je(t,!1),Oh(t),{className:Pe("recharts-curve",n),d:l,ref:o}))},C0={exports:{}},M0,fk;function Vte(){if(fk)return M0;fk=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return M0=e,M0}var P0,dk;function Hte(){if(dk)return P0;dk=1;var e=Vte();function t(){}function n(){}return n.resetWarningCache=t,P0=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 Dne(e,t){if(e){if(typeof e=="string")return bk(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 bk(e,t)}}function bk(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 Lne(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function zne(e){if(Array.isArray(e))return e}function $ne(){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=Rne(l),d=u[0],h=u.slice(1);if(typeof d=="number"){xk(i.bind(null,h),d);return}i(d),xk(i.bind(null,h));return}Tj(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 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 jk(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?jk(Object(n),!0).forEach(function(r){$5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function $5(e,t,n){return t=Bne(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bne(e){var t=Ine(e,"string");return Du(t)==="symbol"?t:String(t)}function Ine(e,t){if(Du(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Du(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var qne=function(t,n){return[Object.keys(t),Object.keys(n)].reduce(function(r,i){return r.filter(function(o){return i.includes(o)})})},Une=function(t){return t},Vne=function(t){return t.replace(/([A-Z])/g,function(n){return"-".concat(n.toLowerCase())})},au=function(t,n){return Object.keys(n).reduce(function(r,i){return Sk(Sk({},r),{},$5({},i,t(i,n[i])))},{})},wk=function(t,n,r){return t.map(function(i){return"".concat(Vne(i)," ").concat(n,"ms ").concat(r)}).join(",")};function Hne(e,t){return Kne(e)||Gne(e,t)||B5(e,t)||Fne()}function Fne(){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 Gne(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 Kne(e){if(Array.isArray(e))return e}function Yne(e){return Zne(e)||Wne(e)||B5(e)||Xne()}function Xne(){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 B5(e,t){if(e){if(typeof e=="string")return Ej(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 Ej(e,t)}}function Wne(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Zne(e){if(Array.isArray(e))return Ej(e)}function Ej(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 np=1e-4,I5=function(t,n){return[0,3*t,3*n-6*t,3*t-3*n+1]},q5=function(t,n){return t.map(function(r,i){return r*Math.pow(n,i)}).reduce(function(r,i){return r+i})},Ak=function(t,n){return function(r){var i=I5(t,n);return q5(i,r)}},Qne=function(t,n){return function(r){var i=I5(t,n),o=[].concat(Yne(i.map(function(l,u){return l*u}).slice(1)),[0]);return q5(o,r)}},Ok=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=Hne(h,4);i=m[0],o=m[1],l=m[2],u=m[3]}}}var y=Ak(i,l),g=Ak(o,u),j=Qne(i,l),S=function(O){return O>1?1:O<0?0:O},w=function(O){for(var T=O>1?1:O,_=T,C=0;C<8;++C){var A=y(_)-T,E=j(_);if(Math.abs(A-T)<np||E<np)return g(_);_=S(_-A/E)}return g(_)};return w.isStepper=!1,w},Jne=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 j=-(m-y)*r,S=g*o,w=g+(j-S)*u/1e3,b=g*u/1e3+m;return Math.abs(b-y)<np&&Math.abs(w)<np?[y,0]:[b,w]};return d.isStepper=!0,d.dt=u,d},ere=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 Ok(i);case"spring":return Jne();default:if(i.split("(")[0]==="cubic-bezier")return Ok(i)}return typeof i=="function"?i:null};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 _k(e){return rre(e)||nre(e)||U5(e)||tre()}function tre(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function nre(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function rre(e){if(Array.isArray(e))return Cj(e)}function Tk(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?Tk(Object(n),!0).forEach(function(r){Nj(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Nj(e,t,n){return t=are(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function are(e){var t=ire(e,"string");return Lu(t)==="symbol"?t:String(t)}function ire(e,t){if(Lu(e)!=="object"||e===null)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)}function sre(e,t){return cre(e)||lre(e,t)||U5(e,t)||ore()}function ore(){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 U5(e,t){if(e){if(typeof e=="string")return Cj(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 Cj(e,t)}}function Cj(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 lre(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 cre(e){if(Array.isArray(e))return e}var rp=function(t,n,r){return t+(n-t)*r},Mj=function(t){var n=t.from,r=t.to;return n!==r},ure=function e(t,n,r){var i=au(function(o,l){if(Mj(l)){var u=t(l.from,l.to,l.velocity),d=sre(u,2),h=d[0],m=d[1];return cn(cn({},l),{},{from:h,velocity:m})}return l},n);return r<1?au(function(o,l){return Mj(l)?cn(cn({},l),{},{velocity:rp(l.velocity,i[o].velocity,r),from:rp(l.from,i[o].from,r)}):l},n):e(t,i,r-1)};const fre=(function(e,t,n,r,i){var o=qne(e,t),l=o.reduce(function(b,O){return cn(cn({},b),{},Nj({},O,[e[O],t[O]]))},{}),u=o.reduce(function(b,O){return cn(cn({},b),{},Nj({},O,{from:e[O],velocity:0,to:t[O]}))},{}),d=-1,h,m,y=function(){return null},g=function(){return au(function(O,T){return T.from},u)},j=function(){return!Object.values(u).filter(Mj).length},S=function(O){h||(h=O);var T=O-h,_=T/n.dt;u=ure(n,u,_),i(cn(cn(cn({},e),t),g())),h=O,j()||(d=requestAnimationFrame(y))},w=function(O){m||(m=O);var T=(O-m)/r,_=au(function(A,E){return rp.apply(void 0,_k(E).concat([n(T)]))},l);if(i(cn(cn(cn({},e),t),_)),T<1)d=requestAnimationFrame(y);else{var C=au(function(A,E){return rp.apply(void 0,_k(E).concat([n(1)]))},l);i(cn(cn(cn({},e),t),C))}};return y=n.isStepper?S:w,function(){return requestAnimationFrame(y),function(){cancelAnimationFrame(d)}}});function nl(e){"@babel/helpers - typeof";return nl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nl(e)}var dre=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function hre(e,t){if(e==null)return{};var n=pre(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 pre(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 k0(e){return gre(e)||vre(e)||yre(e)||mre()}function mre(){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 yre(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 vre(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function gre(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}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 Ar(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){Xc(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 Xc(e,t,n){return t=V5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bre(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,V5(r.key),r)}}function jre(e,t,n){return t&&bre(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function V5(e){var t=Sre(e,"string");return nl(t)==="symbol"?t:String(t)}function Sre(e,t){if(nl(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(nl(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function wre(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&&Rj(e,t)}function Rj(e,t){return Rj=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Rj(e,t)}function Are(e){var t=Ore();return function(){var r=ap(e),i;if(t){var o=ap(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return kj(this,i)}}function kj(e,t){if(t&&(nl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Dj(e)}function Dj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ore(){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 ap(e){return ap=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},ap(e)}var kr=(function(e){wre(n,e);var t=Are(n);function n(r,i){var o;xre(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,j=l.duration;if(o.handleStyleChange=o.handleStyleChange.bind(Dj(o)),o.changeStyle=o.changeStyle.bind(Dj(o)),!u||j<=0)return o.state={style:{}},typeof g=="function"&&(o.state={style:m}),kj(o);if(y&&y.length)o.state={style:y[0].style};else if(h){if(typeof g=="function")return o.state={style:h},kj(o);o.state={style:d?Xc({},d,h):h}}else o.state={style:{}};return o}return jre(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 Ere(e,t){if(e){if(typeof e=="string")return Nk(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 Nk(e,t)}}function Nk(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 Nre(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 Cre(e){if(Array.isArray(e))return e}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 Mk(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){Mre(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 Mre(e,t,n){return t=Pre(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pre(e){var t=Rre(e,"string");return zu(t)=="symbol"?t:t+""}function Rre(e,t){if(zu(e)!="object"||!e)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 Pk=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,j=4;g<j;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 S=Math.min(l,o);m="M ".concat(t,",").concat(n+u*S,`
|
|||
|
|
A `).concat(S,",").concat(S,",0,0,").concat(h,",").concat(t+d*S,",").concat(n,`
|
|||
|
|
L `).concat(t+r-d*S,",").concat(n,`
|
|||
|
|
A `).concat(S,",").concat(S,",0,0,").concat(h,",").concat(t+r,",").concat(n+u*S,`
|
|||
|
|
L `).concat(t+r,",").concat(n+i-u*S,`
|
|||
|
|
A `).concat(S,",").concat(S,",0,0,").concat(h,",").concat(t+r-d*S,",").concat(n+i,`
|
|||
|
|
L `).concat(t+d*S,",").concat(n+i,`
|
|||
|
|
A `).concat(S,",").concat(S,",0,0,").concat(h,",").concat(t,",").concat(n+i-u*S," Z")}else m="M ".concat(t,",").concat(n," h ").concat(r," v ").concat(i," h ").concat(-r," Z");return m},kre=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},Dre={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},eA=function(t){var n=Mk(Mk({},Dre),t),r=P.useRef(),i=P.useState(-1),o=_re(i,2),l=o[0],u=o[1];P.useEffect(function(){if(r.current&&r.current.getTotalLength)try{var C=r.current.getTotalLength();C&&u(C)}catch{}},[]);var d=n.x,h=n.y,m=n.width,y=n.height,g=n.radius,j=n.className,S=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",j);return T?I.createElement(kr,{canBegin:l>0,from:{width:m,height:y,x:d,y:h},to:{width:m,height:y,x:d,y:h},duration:w,animationEasing:S,isActive:T},function(C){var A=C.width,E=C.height,M=C.x,D=C.y;return I.createElement(kr,{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:S},I.createElement("path",ip({},je(n,!0),{className:_,d:Pk(M,D,A,E,g),ref:r})))}):I.createElement("path",ip({},je(n,!0),{className:_,d:Pk(d,h,m,y,g)}))},Lre=["points","className","baseLinePoints","connectNulls"];function Po(){return Po=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},Po.apply(this,arguments)}function zre(e,t){if(e==null)return{};var n=$re(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 $re(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){return Ure(e)||qre(e)||Ire(e)||Bre()}function Bre(){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,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 qre(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ure(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}var kk=function(t){return t&&t.x===+t.x&&t.y===+t.y},Vre=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=[[]];return t.forEach(function(r){kk(r)?n[n.length-1].push(r):n[n.length-1].length>0&&n.push([])}),kk(t[0])&&n[n.length-1].push(t[0]),n[n.length-1].length<=0&&(n=n.slice(0,-1)),n},iu=function(t,n){var r=Vre(t);n&&(r=[r.reduce(function(o,l){return[].concat(Rk(o),Rk(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},Hre=function(t,n,r){var i=iu(t,r);return"".concat(i.slice(-1)==="Z"?i.slice(0,-1):i,"L").concat(iu(n.reverse(),r).slice(1))},Fre=function(t){var n=t.points,r=t.className,i=t.baseLinePoints,o=t.connectNulls,l=zre(t,Lre);if(!n||!n.length)return null;var u=Pe("recharts-polygon",r);if(i&&i.length){var d=l.stroke&&l.stroke!=="none",h=Hre(n,i,o);return I.createElement("g",{className:u},I.createElement("path",Po({},je(l,!0),{fill:h.slice(-1)==="Z"?l.fill:"none",stroke:"none",d:h})),d?I.createElement("path",Po({},je(l,!0),{fill:"none",d:iu(n,o)})):null,d?I.createElement("path",Po({},je(l,!0),{fill:"none",d:iu(i,o)})):null)}var m=iu(n,o);return I.createElement("path",Po({},je(l,!0),{fill:m.slice(-1)==="Z"?l.fill:"none",className:u,d:m}))};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)}var cf=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",zj({},je(t,!1),Oh(t),{className:l,cx:n,cy:r,r: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)}var Gre=["x","y","top","left","width","height","className"];function $j(){return $j=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},$j.apply(this,arguments)}function Dk(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 Kre(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Dk(Object(n),!0).forEach(function(r){Yre(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Yre(e,t,n){return t=Xre(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xre(e){var t=Wre(e,"string");return $u(t)=="symbol"?t:t+""}function Wre(e,t){if($u(e)!="object"||!e)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 Zre(e,t){if(e==null)return{};var n=Qre(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 kae(e,t){if(e){if(typeof e=="string")return Kk(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 Kk(e,t)}}function Kk(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 Dae(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 Lae(e){if(Array.isArray(e))return e}function Yk(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 Xk(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Yk(Object(n),!0).forEach(function(r){zae(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function zae(e,t,n){return t=$ae(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $ae(e){var t=Bae(e,"string");return Bu(t)=="symbol"?t:t+""}function Bae(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 Wk=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},Iae={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},qae=function(t){var n=Xk(Xk({},Iae),t),r=P.useRef(),i=P.useState(-1),o=Pae(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,j=n.className,S=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",j);return O?I.createElement(kr,{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:S,isActive:O},function(_){var C=_.upperWidth,A=_.lowerWidth,E=_.height,M=_.x,D=_.y;return I.createElement(kr,{canBegin:l>0,from:"0px ".concat(l===-1?1:l,"px"),to:"".concat(l,"px 0px"),attributeName:"strokeDasharray",begin:b,duration:w,easing:S},I.createElement("path",lp({},je(n,!0),{className:T,d:Wk(M,D,C,A,E),ref:r})))}):I.createElement("g",null,I.createElement("path",lp({},je(n,!0),{className:T,d:Wk(d,h,m,y,g)})))},Uae=["option","shapeType","propTransformer","activeClassName","isActive"];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)}function Vae(e,t){if(e==null)return{};var n=Hae(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 Hae(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 Z
|
|||
|
|
the props "valueKey" will be deprecated in 1.1.0`),O="value"):Ne(h)&&(Pr(!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 kt(D,O,0)!==0}).length,_=(b>=360?T:T-1)*d,C=b-T*j-_,A=i.reduce(function(D,k){var B=kt(k,O,0);return D+(ce(B)?B:0)},0),E;if(A>0){var M;E=i.map(function(D,k){var B=kt(D,O,0),q=kt(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?j:0)+$*C),Y=(G+X)/2,L=(S.innerRadius+S.outerRadius)/2,H=[{name:q,value:B,payload:D,dataKey:O,type:g}],Q=mt(S.cx,S.cy,L,Y);return M=ht(ht(ht({percent:$,cornerRadius:o,name:q,tooltipPayload:H,midAngle:Y,middleRadius:L,tooltipPosition:Q},D),S),{},{value:kt(D,O),startAngle:G,endAngle:X,payload:D,paddingAngle:bn(w)*d}),M})}return ht(ht({},S),{},{sectors:E,data:i})});var I0,tD;function fie(){if(tD)return I0;tD=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 I0=n,I0}var q0,nD;function Z5(){if(nD)return q0;nD=1;var e=bz(),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 q0=r,q0}var U0,rD;function die(){if(rD)return U0;rD=1;var e=fie(),t=Xp(),n=Z5();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 U0=r,U0}var V0,aD;function hie(){if(aD)return V0;aD=1;var e=die(),t=e();return V0=t,V0}var pie=hie();const fp=at(pie);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 iD(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 sD(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?iD(Object(n),!0).forEach(function(r){Q5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iD(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Q5(e,t,n){return t=mie(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mie(e){var t=yie(e,"string");return Uu(t)=="symbol"?t:t+""}function yie(e,t){if(Uu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Uu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var vie=["Webkit","Moz","O","ms"],gie=function(t,n){var r=t.replace(/(\w)/,function(o){return o.toUpperCase()}),i=vie.reduce(function(o,l){return sD(sD({},o),{},Q5({},l+r,n))},{});return i[t]=n,i};function sl(e){"@babel/helpers - typeof";return sl=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},sl(e)}function dp(){return dp=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},dp.apply(this,arguments)}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 H0(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){Hn(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 xie(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 Rse(e,t){if(e){if(typeof e=="string")return CD(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 CD(e,t)}}function CD(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 kse(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 Dse(e){if(Array.isArray(e))return e}function Gj(){return Gj=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},Gj.apply(this,arguments)}var Lse=function(t,n){var r;return I.isValidElement(t)?r=I.cloneElement(t,n):Te(t)?r=t(n):r=I.createElement("line",Gj({},n,{className:"recharts-reference-line-line"})),r},zse=function(t,n,r,i,o,l,u,d,h){var m=o.x,y=o.y,g=o.width,j=o.height;if(r){var S=h.y,w=t.y.apply(S,{position:l});if(Wr(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(Wr(h,"discard")&&!t.x.isInRange(T))return null;var _=[{x:T,y:y+j},{x:T,y}];return u==="top"?_.reverse():_}if(i){var C=h.segment,A=C.map(function(E){return t.apply(E,{position:l})});return Wr(h,"discard")&&Cie(A,function(E){return!t.isInRange(E)})?null:A}return null};function $se(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=gse(),m=h$(i),y=p$(o),g=jse();if(!h||!g)return null;Pr(d===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var j=nA({x:m.scale,y:y.scale}),S=Kt(t),w=Kt(n),b=r&&r.length===2,O=zse(j,S,w,b,g,e.position,m.orientation,y.orientation,e);if(!O)return null;var T=Mse(O,2),_=T[0],C=_.x,A=_.y,E=T[1],M=E.x,D=E.y,k=Wr(e,"hidden")?"url(#".concat(h,")"):void 0,B=ND(ND({clipPath:k},je(e,!0)),{},{x1:C,y1:A,x2:M,y2:D});return I.createElement(Ie,{className:Pe("recharts-reference-line",u)},Lse(l,B),Jt.renderCallByParent(e,sse({x1:C,y1:A,x2:M,y2:D})))}var lA=(function(e){function t(){return wse(this,t),_se(this,t,arguments)}return Nse(t,e),Ose(t,[{key:"render",value:function(){return I.createElement($se,this.props)}}])})(I.Component);oA(lA,"displayName","ReferenceLine");oA(lA,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});function Kj(){return Kj=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},Kj.apply(this,arguments)}function ul(e){"@babel/helpers - typeof";return ul=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},ul(e)}function MD(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 PD(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?MD(Object(n),!0).forEach(function(r){pm(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):MD(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Bse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ise(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 Ioe(e,t){if(e){if(typeof e=="string")return Qj(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 Qj(e,t)}}function qoe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Uoe(e){if(Array.isArray(e))return Qj(e)}function Qj(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 Voe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UD(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,_$(r.key),r)}}function Hoe(e,t,n){return t&&UD(e.prototype,t),n&&UD(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Foe(e,t,n){return t=Sp(t),Goe(e,O$()?Reflect.construct(t,n||[],Sp(e).constructor):t.apply(e,n))}function Goe(e,t){if(t&&(hl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Koe(e)}function Koe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(O$=function(){return!!e})()}function Sp(e){return Sp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Sp(e)}function Yoe(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&&Jj(e,t)}function Jj(e,t){return Jj=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Jj(e,t)}function Tr(e,t,n){return t=_$(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _$(e){var t=Xoe(e,"string");return hl(t)=="symbol"?t:t+""}function Xoe(e,t){if(hl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(hl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var uf=(function(e){function t(){var n;Voe(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=Foe(this,t,[].concat(i)),Tr(n,"state",{isAnimationFinished:!0,totalLength:0}),Tr(n,"generateSimpleStrokeDasharray",function(l,u){return"".concat(u,"px ").concat(l-u,"px")}),Tr(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,j=[],S=0,w=0;S<d.length;w+=d[S],++S)if(w+d[S]>y){j=[].concat(Ao(d.slice(0,S)),[y-w]);break}var b=j.length%2===0?[0,g]:[g];return[].concat(Ao(t.repeat(d,m)),Ao(j),b).map(function(O){return"".concat(O,"px")}).join(", ")}),Tr(n,"id",Ps("recharts-line-")),Tr(n,"pathRef",function(l){n.mainCurve=l}),Tr(n,"handleAnimationEnd",function(){n.setState({isAnimationFinished:!0}),n.props.onAnimationEnd&&n.props.onAnimationEnd()}),Tr(n,"handleAnimationStart",function(){n.setState({isAnimationFinished:!1}),n.props.onAnimationStart&&n.props.onAnimationStart()}),n}return Yoe(t,e),Hoe(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 Ole(e,t){if(e){if(typeof e=="string")return iS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return iS(e,t)}}function _le(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Tle(e){if(Array.isArray(e))return iS(e)}function iS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var sS=function(t,n,r,i,o){var l=Wn(t,lA),u=Wn(t,mm),d=[].concat(FD(l),FD(u)),h=Wn(t,vm),m="".concat(i,"Id"),y=i[0],g=n;if(d.length&&(g=d.reduce(function(w,b){if(b.props[m]===r&&Wr(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 j="".concat(y,"1"),S="".concat(y,"2");g=h.reduce(function(w,b){if(b.props[m]===r&&Wr(b.props,"extendDomain")&&ce(b.props[j])&&ce(b.props[S])){var O=b.props[j],T=b.props[S];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},r1={exports:{}},GD;function Ele(){return GD||(GD=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 j=new i(m,y||d,g),S=n?n+h:h;return d._events[S]?d._events[S].fn?d._events[S]=[d._events[S],j]:d._events[S].push(j):(d._events[S]=j,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,j=y.length,S=new Array(j);g<j;g++)S[g]=y[g].fn;return S},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,j,S){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,j),!0;case 6:return b.fn.call(b.context,m,y,g,j,S),!0}for(_=1,T=new Array(O-1);_<O;_++)T[_-1]=arguments[_];b.fn.apply(b.context,T)}else{var C=b.length,A;for(_=0;_<C;_++)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 j=n?n+h:h;if(!this._events[j])return this;if(!m)return l(this,j),this;var S=this._events[j];if(S.fn)S.fn===m&&(!g||S.once)&&(!y||S.context===y)&&l(this,j);else{for(var w=0,b=[],O=S.length;w<O;w++)(S[w].fn!==m||g&&!S[w].once||y&&S[w].context!==y)&&b.push(S[w]);b.length?this._events[j]=b.length===1?b[0]:b:l(this,j)}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})(r1)),r1.e
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Gle(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 Kle(e){if(Array.isArray(e))return e}function XD(e,t){if(e==null)return{};var n=Yle(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 Yle(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 Xle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wle(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,q$(r.key),r)}}function Zle(e,t,n){return t&&Wle(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Qle(e,t,n){return t=_p(t),Jle(e,B$()?Reflect.construct(t,n||[],_p(e).constructor):t.apply(e,n))}function Jle(e,t){if(t&&(vl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ece(e)}function ece(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(B$=function(){return!!e})()}function _p(e){return _p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},_p(e)}function tce(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&&oS(e,t)}function oS(e,t){return oS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},oS(e,t)}function gl(e){return ace(e)||rce(e)||I$(e)||nce()}function nce(){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 I$(e,t){if(e){if(typeof e=="string")return lS(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 lS(e,t)}}function rce(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ace(e){if(Array.isArray(e))return lS(e)}function lS(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 WD(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?WD(Object(n),!0).forEach(function(r){Oe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):WD(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Oe(e,t,n){return t=q$(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function q$(e){var t=ice(e,"string");return vl(t)=="symbol"?t:t+""}function ice(e,t){if(vl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(vl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var sce={xAxis:["bottom","top"],yAxis:["left","right"]},oce={width:"100%",height:"100%"},U$={x:0,y:0};function Xd(e){return e}var lce=function(t,n){return n==="horizontal"?t.x:n==="vertical"?t.y:n==="centric"?t.angle:t.radius},cce=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 U$},gm=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(gl(u),gl(h)):u},[]);return l.length>0?l:t&&t.length&&ce(i)&&ce(o)?t.slice(i,o+1):[]};function V$(e){return e==="number"?[0,"auto"]:void 0}var cS=function(t,n,r,i){var o=t.graphicalItems,l=t.tooltipAxis,u=gm(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 j=y===void 0?u:y;g=Ah(j,l.dataKey,i)}else g=y&&y[r]||u[r];return g?[].concat(gl(d),[C5(h,g)]):d},[])},ZD=function(t,n,r,i){var o=i||{x:t.chartX,y:t.chartY},l=lce(o,r),u=t.orderedTooltipTicks,d=t.tooltipAxis,h=t.tooltipTicks,m=jee(l,u,h,d);if(m>=0&&h){var y=h[m]&&h[m].value,g=cS(t,n,m,y),j=cce(r,u,m,o);return{activeTooltipIndex:m,activeLabel:y,activePayload:g,activeCoordinate:j}}return null},uce=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,j=A5(m,o);return r.reduce(function(S,w){var b,O=w.type.defaultProps!==void 0?ne(ne({},w.type.defaultProps),w.props):w.props,T=O.type,_=O.dataKey,C=O.allowDataOverflow,A=O.allowDuplicatedCategory,E=O.scale,M=O.ticks,D=O.includeHidden,k=O[l];if(S[k])return S;var B=gm(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;Lle(O.domain,C,T)&&($=Sj(O.domain,null,C),j&&(T==="number"||E!=="auto")&&(X=ru(B,_,"category")));var Y=V$(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 på 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 på 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 på svenska
|
|||
|
|
• Var resultatorienterad och datadriven
|
|||
|
|
• Fokusera på 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 på 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 på svenska
|
|||
|
|
• Var kreativ men datadriven
|
|||
|
|
• Fokusera på 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 på 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 på svenska
|
|||
|
|
• Var engagerande och autentisk
|
|||
|
|
• Fokusera på community-värde
|
|||
|
|
• Övervaka alltid sentiment
|
|||
|
|
• Föreslå content baserat på 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 på 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 på 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 på 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 på 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 på 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 på 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 på 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 på 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 på 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 på 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 på 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 på 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 på svenska
|
|||
|
|
• Var strukturerad och tydlig
|
|||
|
|
• Fokusera på 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 på 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 på svenska
|
|||
|
|
• Var teknisk men tydlig
|
|||
|
|
• Fokusera på 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 på svenska eller engelska beroende på 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 Ice(e){return uS[e]||uS.dashboard}function qce(){return Object.values(uS).filter(e=>e.rum!=="dashboard")}function H$({rum:e,isOpen:t,onToggle:n}){const r=Ice(e),{token:i}=Sl(),[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),[j,S]=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(C=>[...C,_]),d(""),m(!0),S("");try{const C=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(C.ok){const A=await C.json();l(E=>[...E,{id:`assistant-${Date.now()}`,roll:"assistant",innehall:A.svar,tid:new Date().toISOString()}])}else if(C.status===401){S("Du måste logga in för att använda agenten");const A=l1(r,u.trim());l(E=>[...E,{id:`assistant-${Date.now()}`,roll:"assistant",innehall:A,tid:new Date().toISOString()}])}else{const A=await C.json().catch(()=>({}));S(A.error||"Agenten svarade inte");const E=l1(r,u.trim());l(M=>[...M,{id:`assistant-${Date.now()}`,roll:"assistant",innehall:E,tid:new Date().toISOString()}])}}catch{S("Kunde inte nå agenten. Använder lokalt svar.");const A=l1(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(en.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(zo,{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(TH,{size:16}):f.jsx(AH,{size:16})}),f.jsx("button",{onClick:n,className:"p-2 hover:bg-bg rounded-lg text-text-secondary",children:f.jsx(pL,{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(zo,{size:16}):f.jsx(wh,{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(zo,{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"})]})})]})]}),j&&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(RH,{size:12}),j]})}),f.jsxs("div"
|