synfull 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +674 -21
- package/README.md +83 -23
- package/backend/app/api/routes.py +43 -4
- package/backend/app/integrations/discord_alerts.py +111 -13
- package/backend/app/schemas/alerts.py +10 -0
- package/backend/app/services/management.py +8 -5
- package/frontend/dist/assets/index-hx4yW_Xg.js +249 -0
- package/frontend/dist/index.html +1 -1
- package/package.json +1 -1
- package/frontend/dist/assets/index-ERXSRoTY.js +0 -249
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
function z2(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const a in n)if(a!=="default"&&!(a in e)){const l=Object.getOwnPropertyDescriptor(n,a);l&&Object.defineProperty(e,a,l.get?l:{enumerable:!0,get:()=>n[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const l of a)if(l.type==="childList")for(const u of l.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&n(u)}).observe(document,{childList:!0,subtree:!0});function r(a){const l={};return a.integrity&&(l.integrity=a.integrity),a.referrerPolicy&&(l.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?l.credentials="include":a.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function n(a){if(a.ep)return;a.ep=!0;const l=r(a);fetch(a.href,l)}})();var ys=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function We(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Zd={exports:{}},Qo={},Jd={exports:{}},Ce={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react.production.min.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var g1;function F2(){if(g1)return Ce;g1=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),p=Symbol.iterator;function g(I){return I===null||typeof I!="object"?null:(I=p&&I[p]||I["@@iterator"],typeof I=="function"?I:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,S={};function b(I,W,ue){this.props=I,this.context=W,this.refs=S,this.updater=ue||w}b.prototype.isReactComponent={},b.prototype.setState=function(I,W){if(typeof I!="object"&&typeof I!="function"&&I!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,I,W,"setState")},b.prototype.forceUpdate=function(I){this.updater.enqueueForceUpdate(this,I,"forceUpdate")};function O(){}O.prototype=b.prototype;function P(I,W,ue){this.props=I,this.context=W,this.refs=S,this.updater=ue||w}var E=P.prototype=new O;E.constructor=P,_(E,b.prototype),E.isPureReactComponent=!0;var T=Array.isArray,j=Object.prototype.hasOwnProperty,A={current:null},C={key:!0,ref:!0,__self:!0,__source:!0};function N(I,W,ue){var ve,we={},je=null,Te=null;if(W!=null)for(ve in W.ref!==void 0&&(Te=W.ref),W.key!==void 0&&(je=""+W.key),W)j.call(W,ve)&&!C.hasOwnProperty(ve)&&(we[ve]=W[ve]);var Pe=arguments.length-2;if(Pe===1)we.children=ue;else if(1<Pe){for(var oe=Array(Pe),xe=0;xe<Pe;xe++)oe[xe]=arguments[xe+2];we.children=oe}if(I&&I.defaultProps)for(ve in Pe=I.defaultProps,Pe)we[ve]===void 0&&(we[ve]=Pe[ve]);return{$$typeof:e,type:I,key:je,ref:Te,props:we,_owner:A.current}}function B(I,W){return{$$typeof:e,type:I.type,key:W,ref:I.ref,props:I.props,_owner:I._owner}}function $(I){return typeof I=="object"&&I!==null&&I.$$typeof===e}function R(I){var W={"=":"=0",":":"=2"};return"$"+I.replace(/[=:]/g,function(ue){return W[ue]})}var q=/\/+/g;function H(I,W){return typeof I=="object"&&I!==null&&I.key!=null?R(""+I.key):W.toString(36)}function X(I,W,ue,ve,we){var je=typeof I;(je==="undefined"||je==="boolean")&&(I=null);var Te=!1;if(I===null)Te=!0;else switch(je){case"string":case"number":Te=!0;break;case"object":switch(I.$$typeof){case e:case t:Te=!0}}if(Te)return Te=I,we=we(Te),I=ve===""?"."+H(Te,0):ve,T(we)?(ue="",I!=null&&(ue=I.replace(q,"$&/")+"/"),X(we,W,ue,"",function(xe){return xe})):we!=null&&($(we)&&(we=B(we,ue+(!we.key||Te&&Te.key===we.key?"":(""+we.key).replace(q,"$&/")+"/")+I)),W.push(we)),1;if(Te=0,ve=ve===""?".":ve+":",T(I))for(var Pe=0;Pe<I.length;Pe++){je=I[Pe];var oe=ve+H(je,Pe);Te+=X(je,W,ue,oe,we)}else if(oe=g(I),typeof oe=="function")for(I=oe.call(I),Pe=0;!(je=I.next()).done;)je=je.value,oe=ve+H(je,Pe++),Te+=X(je,W,ue,oe,we);else if(je==="object")throw W=String(I),Error("Objects are not valid as a React child (found: "+(W==="[object Object]"?"object with keys {"+Object.keys(I).join(", ")+"}":W)+"). If you meant to render a collection of children, use an array instead.");return Te}function Q(I,W,ue){if(I==null)return I;var ve=[],we=0;return X(I,ve,"","",function(je){return W.call(ue,je,we++)}),ve}function ee(I){if(I._status===-1){var W=I._result;W=W(),W.then(function(ue){(I._status===0||I._status===-1)&&(I._status=1,I._result=ue)},function(ue){(I._status===0||I._status===-1)&&(I._status=2,I._result=ue)}),I._status===-1&&(I._status=0,I._result=W)}if(I._status===1)return I._result.default;throw I._result}var te={current:null},L={transition:null},V={ReactCurrentDispatcher:te,ReactCurrentBatchConfig:L,ReactCurrentOwner:A};function Z(){throw Error("act(...) is not supported in production builds of React.")}return Ce.Children={map:Q,forEach:function(I,W,ue){Q(I,function(){W.apply(this,arguments)},ue)},count:function(I){var W=0;return Q(I,function(){W++}),W},toArray:function(I){return Q(I,function(W){return W})||[]},only:function(I){if(!$(I))throw Error("React.Children.only expected to receive a single React element child.");return I}},Ce.Component=b,Ce.Fragment=r,Ce.Profiler=a,Ce.PureComponent=P,Ce.StrictMode=n,Ce.Suspense=f,Ce.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=V,Ce.act=Z,Ce.cloneElement=function(I,W,ue){if(I==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+I+".");var ve=_({},I.props),we=I.key,je=I.ref,Te=I._owner;if(W!=null){if(W.ref!==void 0&&(je=W.ref,Te=A.current),W.key!==void 0&&(we=""+W.key),I.type&&I.type.defaultProps)var Pe=I.type.defaultProps;for(oe in W)j.call(W,oe)&&!C.hasOwnProperty(oe)&&(ve[oe]=W[oe]===void 0&&Pe!==void 0?Pe[oe]:W[oe])}var oe=arguments.length-2;if(oe===1)ve.children=ue;else if(1<oe){Pe=Array(oe);for(var xe=0;xe<oe;xe++)Pe[xe]=arguments[xe+2];ve.children=Pe}return{$$typeof:e,type:I.type,key:we,ref:je,props:ve,_owner:Te}},Ce.createContext=function(I){return I={$$typeof:u,_currentValue:I,_currentValue2:I,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},I.Provider={$$typeof:l,_context:I},I.Consumer=I},Ce.createElement=N,Ce.createFactory=function(I){var W=N.bind(null,I);return W.type=I,W},Ce.createRef=function(){return{current:null}},Ce.forwardRef=function(I){return{$$typeof:c,render:I}},Ce.isValidElement=$,Ce.lazy=function(I){return{$$typeof:v,_payload:{_status:-1,_result:I},_init:ee}},Ce.memo=function(I,W){return{$$typeof:d,type:I,compare:W===void 0?null:W}},Ce.startTransition=function(I){var W=L.transition;L.transition={};try{I()}finally{L.transition=W}},Ce.unstable_act=Z,Ce.useCallback=function(I,W){return te.current.useCallback(I,W)},Ce.useContext=function(I){return te.current.useContext(I)},Ce.useDebugValue=function(){},Ce.useDeferredValue=function(I){return te.current.useDeferredValue(I)},Ce.useEffect=function(I,W){return te.current.useEffect(I,W)},Ce.useId=function(){return te.current.useId()},Ce.useImperativeHandle=function(I,W,ue){return te.current.useImperativeHandle(I,W,ue)},Ce.useInsertionEffect=function(I,W){return te.current.useInsertionEffect(I,W)},Ce.useLayoutEffect=function(I,W){return te.current.useLayoutEffect(I,W)},Ce.useMemo=function(I,W){return te.current.useMemo(I,W)},Ce.useReducer=function(I,W,ue){return te.current.useReducer(I,W,ue)},Ce.useRef=function(I){return te.current.useRef(I)},Ce.useState=function(I){return te.current.useState(I)},Ce.useSyncExternalStore=function(I,W,ue){return te.current.useSyncExternalStore(I,W,ue)},Ce.useTransition=function(){return te.current.useTransition()},Ce.version="18.3.1",Ce}var b1;function Eg(){return b1||(b1=1,Jd.exports=F2()),Jd.exports}/**
|
|
10
|
+
* @license React
|
|
11
|
+
* react-jsx-runtime.production.min.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/var x1;function U2(){if(x1)return Qo;x1=1;var e=Eg(),t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(c,f,d){var v,p={},g=null,w=null;d!==void 0&&(g=""+d),f.key!==void 0&&(g=""+f.key),f.ref!==void 0&&(w=f.ref);for(v in f)n.call(f,v)&&!l.hasOwnProperty(v)&&(p[v]=f[v]);if(c&&c.defaultProps)for(v in f=c.defaultProps,f)p[v]===void 0&&(p[v]=f[v]);return{$$typeof:t,type:c,key:g,ref:w,props:p,_owner:a.current}}return Qo.Fragment=r,Qo.jsx=u,Qo.jsxs=u,Qo}var w1;function W2(){return w1||(w1=1,Zd.exports=U2()),Zd.exports}var y=W2(),D=Eg();const U=We(D),H2=z2({__proto__:null,default:U},[D]);var gs={},eh={exports:{}},rr={},th={exports:{}},rh={};/**
|
|
18
|
+
* @license React
|
|
19
|
+
* scheduler.production.min.js
|
|
20
|
+
*
|
|
21
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
22
|
+
*
|
|
23
|
+
* This source code is licensed under the MIT license found in the
|
|
24
|
+
* LICENSE file in the root directory of this source tree.
|
|
25
|
+
*/var S1;function V2(){return S1||(S1=1,(function(e){function t(L,V){var Z=L.length;L.push(V);e:for(;0<Z;){var I=Z-1>>>1,W=L[I];if(0<a(W,V))L[I]=V,L[Z]=W,Z=I;else break e}}function r(L){return L.length===0?null:L[0]}function n(L){if(L.length===0)return null;var V=L[0],Z=L.pop();if(Z!==V){L[0]=Z;e:for(var I=0,W=L.length,ue=W>>>1;I<ue;){var ve=2*(I+1)-1,we=L[ve],je=ve+1,Te=L[je];if(0>a(we,Z))je<W&&0>a(Te,we)?(L[I]=Te,L[je]=Z,I=je):(L[I]=we,L[ve]=Z,I=ve);else if(je<W&&0>a(Te,Z))L[I]=Te,L[je]=Z,I=je;else break e}}return V}function a(L,V){var Z=L.sortIndex-V.sortIndex;return Z!==0?Z:L.id-V.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var u=Date,c=u.now();e.unstable_now=function(){return u.now()-c}}var f=[],d=[],v=1,p=null,g=3,w=!1,_=!1,S=!1,b=typeof setTimeout=="function"?setTimeout:null,O=typeof clearTimeout=="function"?clearTimeout:null,P=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function E(L){for(var V=r(d);V!==null;){if(V.callback===null)n(d);else if(V.startTime<=L)n(d),V.sortIndex=V.expirationTime,t(f,V);else break;V=r(d)}}function T(L){if(S=!1,E(L),!_)if(r(f)!==null)_=!0,ee(j);else{var V=r(d);V!==null&&te(T,V.startTime-L)}}function j(L,V){_=!1,S&&(S=!1,O(N),N=-1),w=!0;var Z=g;try{for(E(V),p=r(f);p!==null&&(!(p.expirationTime>V)||L&&!R());){var I=p.callback;if(typeof I=="function"){p.callback=null,g=p.priorityLevel;var W=I(p.expirationTime<=V);V=e.unstable_now(),typeof W=="function"?p.callback=W:p===r(f)&&n(f),E(V)}else n(f);p=r(f)}if(p!==null)var ue=!0;else{var ve=r(d);ve!==null&&te(T,ve.startTime-V),ue=!1}return ue}finally{p=null,g=Z,w=!1}}var A=!1,C=null,N=-1,B=5,$=-1;function R(){return!(e.unstable_now()-$<B)}function q(){if(C!==null){var L=e.unstable_now();$=L;var V=!0;try{V=C(!0,L)}finally{V?H():(A=!1,C=null)}}else A=!1}var H;if(typeof P=="function")H=function(){P(q)};else if(typeof MessageChannel<"u"){var X=new MessageChannel,Q=X.port2;X.port1.onmessage=q,H=function(){Q.postMessage(null)}}else H=function(){b(q,0)};function ee(L){C=L,A||(A=!0,H())}function te(L,V){N=b(function(){L(e.unstable_now())},V)}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_continueExecution=function(){_||w||(_=!0,ee(j))},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"):B=0<L?Math.floor(1e3/L):5},e.unstable_getCurrentPriorityLevel=function(){return g},e.unstable_getFirstCallbackNode=function(){return r(f)},e.unstable_next=function(L){switch(g){case 1:case 2:case 3:var V=3;break;default:V=g}var Z=g;g=V;try{return L()}finally{g=Z}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(L,V){switch(L){case 1:case 2:case 3:case 4:case 5:break;default:L=3}var Z=g;g=L;try{return V()}finally{g=Z}},e.unstable_scheduleCallback=function(L,V,Z){var I=e.unstable_now();switch(typeof Z=="object"&&Z!==null?(Z=Z.delay,Z=typeof Z=="number"&&0<Z?I+Z:I):Z=I,L){case 1:var W=-1;break;case 2:W=250;break;case 5:W=1073741823;break;case 4:W=1e4;break;default:W=5e3}return W=Z+W,L={id:v++,callback:V,priorityLevel:L,startTime:Z,expirationTime:W,sortIndex:-1},Z>I?(L.sortIndex=Z,t(d,L),r(f)===null&&L===r(d)&&(S?(O(N),N=-1):S=!0,te(T,Z-I))):(L.sortIndex=W,t(f,L),_||w||(_=!0,ee(j))),L},e.unstable_shouldYield=R,e.unstable_wrapCallback=function(L){var V=g;return function(){var Z=g;g=V;try{return L.apply(this,arguments)}finally{g=Z}}}})(rh)),rh}var _1;function G2(){return _1||(_1=1,th.exports=V2()),th.exports}/**
|
|
26
|
+
* @license React
|
|
27
|
+
* react-dom.production.min.js
|
|
28
|
+
*
|
|
29
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
30
|
+
*
|
|
31
|
+
* This source code is licensed under the MIT license found in the
|
|
32
|
+
* LICENSE file in the root directory of this source tree.
|
|
33
|
+
*/var O1;function K2(){if(O1)return rr;O1=1;var e=Eg(),t=G2();function r(i){for(var o="https://reactjs.org/docs/error-decoder.html?invariant="+i,s=1;s<arguments.length;s++)o+="&args[]="+encodeURIComponent(arguments[s]);return"Minified React error #"+i+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=new Set,a={};function l(i,o){u(i,o),u(i+"Capture",o)}function u(i,o){for(a[i]=o,i=0;i<o.length;i++)n.add(o[i])}var c=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,v={},p={};function g(i){return f.call(p,i)?!0:f.call(v,i)?!1:d.test(i)?p[i]=!0:(v[i]=!0,!1)}function w(i,o,s,h){if(s!==null&&s.type===0)return!1;switch(typeof o){case"function":case"symbol":return!0;case"boolean":return h?!1:s!==null?!s.acceptsBooleans:(i=i.toLowerCase().slice(0,5),i!=="data-"&&i!=="aria-");default:return!1}}function _(i,o,s,h){if(o===null||typeof o>"u"||w(i,o,s,h))return!0;if(h)return!1;if(s!==null)switch(s.type){case 3:return!o;case 4:return o===!1;case 5:return isNaN(o);case 6:return isNaN(o)||1>o}return!1}function S(i,o,s,h,m,x,k){this.acceptsBooleans=o===2||o===3||o===4,this.attributeName=h,this.attributeNamespace=m,this.mustUseProperty=s,this.propertyName=i,this.type=o,this.sanitizeURL=x,this.removeEmptyString=k}var b={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(i){b[i]=new S(i,0,!1,i,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(i){var o=i[0];b[o]=new S(o,1,!1,i[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(i){b[i]=new S(i,2,!1,i.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(i){b[i]=new S(i,2,!1,i,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(i){b[i]=new S(i,3,!1,i.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(i){b[i]=new S(i,3,!0,i,null,!1,!1)}),["capture","download"].forEach(function(i){b[i]=new S(i,4,!1,i,null,!1,!1)}),["cols","rows","size","span"].forEach(function(i){b[i]=new S(i,6,!1,i,null,!1,!1)}),["rowSpan","start"].forEach(function(i){b[i]=new S(i,5,!1,i.toLowerCase(),null,!1,!1)});var O=/[\-:]([a-z])/g;function P(i){return i[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(i){var o=i.replace(O,P);b[o]=new S(o,1,!1,i,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(i){var o=i.replace(O,P);b[o]=new S(o,1,!1,i,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(i){var o=i.replace(O,P);b[o]=new S(o,1,!1,i,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(i){b[i]=new S(i,1,!1,i.toLowerCase(),null,!1,!1)}),b.xlinkHref=new S("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(i){b[i]=new S(i,1,!1,i.toLowerCase(),null,!0,!0)});function E(i,o,s,h){var m=b.hasOwnProperty(o)?b[o]:null;(m!==null?m.type!==0:h||!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(_(o,s,m,h)&&(s=null),h||m===null?g(o)&&(s===null?i.removeAttribute(o):i.setAttribute(o,""+s)):m.mustUseProperty?i[m.propertyName]=s===null?m.type===3?!1:"":s:(o=m.attributeName,h=m.attributeNamespace,s===null?i.removeAttribute(o):(m=m.type,s=m===3||m===4&&s===!0?"":""+s,h?i.setAttributeNS(h,o,s):i.setAttribute(o,s))))}var T=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,j=Symbol.for("react.element"),A=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),B=Symbol.for("react.profiler"),$=Symbol.for("react.provider"),R=Symbol.for("react.context"),q=Symbol.for("react.forward_ref"),H=Symbol.for("react.suspense"),X=Symbol.for("react.suspense_list"),Q=Symbol.for("react.memo"),ee=Symbol.for("react.lazy"),te=Symbol.for("react.offscreen"),L=Symbol.iterator;function V(i){return i===null||typeof i!="object"?null:(i=L&&i[L]||i["@@iterator"],typeof i=="function"?i:null)}var Z=Object.assign,I;function W(i){if(I===void 0)try{throw Error()}catch(s){var o=s.stack.trim().match(/\n( *(at )?)/);I=o&&o[1]||""}return`
|
|
34
|
+
`+I+i}var ue=!1;function ve(i,o){if(!i||ue)return"";ue=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(o)if(o=function(){throw Error()},Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(J){var h=J}Reflect.construct(i,[],o)}else{try{o.call()}catch(J){h=J}i.call(o.prototype)}else{try{throw Error()}catch(J){h=J}i()}}catch(J){if(J&&h&&typeof J.stack=="string"){for(var m=J.stack.split(`
|
|
35
|
+
`),x=h.stack.split(`
|
|
36
|
+
`),k=m.length-1,M=x.length-1;1<=k&&0<=M&&m[k]!==x[M];)M--;for(;1<=k&&0<=M;k--,M--)if(m[k]!==x[M]){if(k!==1||M!==1)do if(k--,M--,0>M||m[k]!==x[M]){var z=`
|
|
37
|
+
`+m[k].replace(" at new "," at ");return i.displayName&&z.includes("<anonymous>")&&(z=z.replace("<anonymous>",i.displayName)),z}while(1<=k&&0<=M);break}}}finally{ue=!1,Error.prepareStackTrace=s}return(i=i?i.displayName||i.name:"")?W(i):""}function we(i){switch(i.tag){case 5:return W(i.type);case 16:return W("Lazy");case 13:return W("Suspense");case 19:return W("SuspenseList");case 0:case 2:case 15:return i=ve(i.type,!1),i;case 11:return i=ve(i.type.render,!1),i;case 1:return i=ve(i.type,!0),i;default:return""}}function je(i){if(i==null)return null;if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case C:return"Fragment";case A:return"Portal";case B:return"Profiler";case N:return"StrictMode";case H:return"Suspense";case X:return"SuspenseList"}if(typeof i=="object")switch(i.$$typeof){case R:return(i.displayName||"Context")+".Consumer";case $:return(i._context.displayName||"Context")+".Provider";case q:var o=i.render;return i=i.displayName,i||(i=o.displayName||o.name||"",i=i!==""?"ForwardRef("+i+")":"ForwardRef"),i;case Q:return o=i.displayName||null,o!==null?o:je(i.type)||"Memo";case ee:o=i._payload,i=i._init;try{return je(i(o))}catch{}}return null}function Te(i){var o=i.type;switch(i.tag){case 24:return"Cache";case 9:return(o.displayName||"Context")+".Consumer";case 10:return(o._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return i=o.render,i=i.displayName||i.name||"",o.displayName||(i!==""?"ForwardRef("+i+")":"ForwardRef");case 7:return"Fragment";case 5:return o;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return je(o);case 8:return o===N?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o}return null}function Pe(i){switch(typeof i){case"boolean":case"number":case"string":case"undefined":return i;case"object":return i;default:return""}}function oe(i){var o=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function xe(i){var o=oe(i)?"checked":"value",s=Object.getOwnPropertyDescriptor(i.constructor.prototype,o),h=""+i[o];if(!i.hasOwnProperty(o)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var m=s.get,x=s.set;return Object.defineProperty(i,o,{configurable:!0,get:function(){return m.call(this)},set:function(k){h=""+k,x.call(this,k)}}),Object.defineProperty(i,o,{enumerable:s.enumerable}),{getValue:function(){return h},setValue:function(k){h=""+k},stopTracking:function(){i._valueTracker=null,delete i[o]}}}}function be(i){i._valueTracker||(i._valueTracker=xe(i))}function ne(i){if(!i)return!1;var o=i._valueTracker;if(!o)return!0;var s=o.getValue(),h="";return i&&(h=oe(i)?i.checked?"true":"false":i.value),i=h,i!==s?(o.setValue(i),!0):!1}function De(i){if(i=i||(typeof document<"u"?document:void 0),typeof i>"u")return null;try{return i.activeElement||i.body}catch{return i.body}}function ke(i,o){var s=o.checked;return Z({},o,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:s??i._wrapperState.initialChecked})}function He(i,o){var s=o.defaultValue==null?"":o.defaultValue,h=o.checked!=null?o.checked:o.defaultChecked;s=Pe(o.value!=null?o.value:s),i._wrapperState={initialChecked:h,initialValue:s,controlled:o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null}}function Ve(i,o){o=o.checked,o!=null&&E(i,"checked",o,!1)}function ct(i,o){Ve(i,o);var s=Pe(o.value),h=o.type;if(s!=null)h==="number"?(s===0&&i.value===""||i.value!=s)&&(i.value=""+s):i.value!==""+s&&(i.value=""+s);else if(h==="submit"||h==="reset"){i.removeAttribute("value");return}o.hasOwnProperty("value")?ar(i,o.type,s):o.hasOwnProperty("defaultValue")&&ar(i,o.type,Pe(o.defaultValue)),o.checked==null&&o.defaultChecked!=null&&(i.defaultChecked=!!o.defaultChecked)}function $t(i,o,s){if(o.hasOwnProperty("value")||o.hasOwnProperty("defaultValue")){var h=o.type;if(!(h!=="submit"&&h!=="reset"||o.value!==void 0&&o.value!==null))return;o=""+i._wrapperState.initialValue,s||o===i.value||(i.value=o),i.defaultValue=o}s=i.name,s!==""&&(i.name=""),i.defaultChecked=!!i._wrapperState.initialChecked,s!==""&&(i.name=s)}function ar(i,o,s){(o!=="number"||De(i.ownerDocument)!==i)&&(s==null?i.defaultValue=""+i._wrapperState.initialValue:i.defaultValue!==""+s&&(i.defaultValue=""+s))}var Rt=Array.isArray;function jt(i,o,s,h){if(i=i.options,o){o={};for(var m=0;m<s.length;m++)o["$"+s[m]]=!0;for(s=0;s<i.length;s++)m=o.hasOwnProperty("$"+i[s].value),i[s].selected!==m&&(i[s].selected=m),m&&h&&(i[s].defaultSelected=!0)}else{for(s=""+Pe(s),o=null,m=0;m<i.length;m++){if(i[m].value===s){i[m].selected=!0,h&&(i[m].defaultSelected=!0);return}o!==null||i[m].disabled||(o=i[m])}o!==null&&(o.selected=!0)}}function yt(i,o){if(o.dangerouslySetInnerHTML!=null)throw Error(r(91));return Z({},o,{value:void 0,defaultValue:void 0,children:""+i._wrapperState.initialValue})}function pr(i,o){var s=o.value;if(s==null){if(s=o.children,o=o.defaultValue,s!=null){if(o!=null)throw Error(r(92));if(Rt(s)){if(1<s.length)throw Error(r(93));s=s[0]}o=s}o==null&&(o=""),s=o}i._wrapperState={initialValue:Pe(s)}}function hi(i,o){var s=Pe(o.value),h=Pe(o.defaultValue);s!=null&&(s=""+s,s!==i.value&&(i.value=s),o.defaultValue==null&&i.defaultValue!==s&&(i.defaultValue=s)),h!=null&&(i.defaultValue=""+h)}function pi(i){var o=i.textContent;o===i._wrapperState.initialValue&&o!==""&&o!==null&&(i.value=o)}function fo(i){switch(i){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ho(i,o){return i==null||i==="http://www.w3.org/1999/xhtml"?fo(o):i==="http://www.w3.org/2000/svg"&&o==="foreignObject"?"http://www.w3.org/1999/xhtml":i}var nn,po=(function(i){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(o,s,h,m){MSApp.execUnsafeLocalFunction(function(){return i(o,s,h,m)})}:i})(function(i,o){if(i.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in i)i.innerHTML=o;else{for(nn=nn||document.createElement("div"),nn.innerHTML="<svg>"+o.valueOf().toString()+"</svg>",o=nn.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;o.firstChild;)i.appendChild(o.firstChild)}});function kn(i,o){if(o){var s=i.firstChild;if(s&&s===i.lastChild&&s.nodeType===3){s.nodeValue=o;return}}i.textContent=o}var vi={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},pf=["Webkit","ms","Moz","O"];Object.keys(vi).forEach(function(i){pf.forEach(function(o){o=o+i.charAt(0).toUpperCase()+i.substring(1),vi[o]=vi[i]})});function G(i,o,s){return o==null||typeof o=="boolean"||o===""?"":s||typeof o!="number"||o===0||vi.hasOwnProperty(i)&&vi[i]?(""+o).trim():o+"px"}function fe(i,o){i=i.style;for(var s in o)if(o.hasOwnProperty(s)){var h=s.indexOf("--")===0,m=G(s,o[s],h);s==="float"&&(s="cssFloat"),h?i.setProperty(s,m):i[s]=m}}var Ie=Z({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ge(i,o){if(o){if(Ie[i]&&(o.children!=null||o.dangerouslySetInnerHTML!=null))throw Error(r(137,i));if(o.dangerouslySetInnerHTML!=null){if(o.children!=null)throw Error(r(60));if(typeof o.dangerouslySetInnerHTML!="object"||!("__html"in o.dangerouslySetInnerHTML))throw Error(r(61))}if(o.style!=null&&typeof o.style!="object")throw Error(r(62))}}function Ht(i,o){if(i.indexOf("-")===-1)return typeof o.is=="string";switch(i){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Tr=null;function vr(i){return i=i.target||i.srcElement||window,i.correspondingUseElement&&(i=i.correspondingUseElement),i.nodeType===3?i.parentNode:i}var Yi=null,Tn=null,Qi=null;function $0(i){if(i=Ro(i)){if(typeof Yi!="function")throw Error(r(280));var o=i.stateNode;o&&(o=Nu(o),Yi(i.stateNode,i.type,o))}}function R0(i){Tn?Qi?Qi.push(i):Qi=[i]:Tn=i}function D0(){if(Tn){var i=Tn,o=Qi;if(Qi=Tn=null,$0(i),o)for(i=0;i<o.length;i++)$0(o[i])}}function L0(i,o){return i(o)}function B0(){}var vf=!1;function q0(i,o,s){if(vf)return i(o,s);vf=!0;try{return L0(i,o,s)}finally{vf=!1,(Tn!==null||Qi!==null)&&(B0(),D0())}}function vo(i,o){var s=i.stateNode;if(s===null)return null;var h=Nu(s);if(h===null)return null;s=h[o];e:switch(o){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(h=!h.disabled)||(i=i.type,h=!(i==="button"||i==="input"||i==="select"||i==="textarea")),i=!h;break e;default:i=!1}if(i)return null;if(s&&typeof s!="function")throw Error(r(231,o,typeof s));return s}var mf=!1;if(c)try{var mo={};Object.defineProperty(mo,"passive",{get:function(){mf=!0}}),window.addEventListener("test",mo,mo),window.removeEventListener("test",mo,mo)}catch{mf=!1}function GT(i,o,s,h,m,x,k,M,z){var J=Array.prototype.slice.call(arguments,3);try{o.apply(s,J)}catch(ae){this.onError(ae)}}var yo=!1,cu=null,fu=!1,yf=null,KT={onError:function(i){yo=!0,cu=i}};function XT(i,o,s,h,m,x,k,M,z){yo=!1,cu=null,GT.apply(KT,arguments)}function YT(i,o,s,h,m,x,k,M,z){if(XT.apply(this,arguments),yo){if(yo){var J=cu;yo=!1,cu=null}else throw Error(r(198));fu||(fu=!0,yf=J)}}function mi(i){var o=i,s=i;if(i.alternate)for(;o.return;)o=o.return;else{i=o;do o=i,(o.flags&4098)!==0&&(s=o.return),i=o.return;while(i)}return o.tag===3?s:null}function z0(i){if(i.tag===13){var o=i.memoizedState;if(o===null&&(i=i.alternate,i!==null&&(o=i.memoizedState)),o!==null)return o.dehydrated}return null}function F0(i){if(mi(i)!==i)throw Error(r(188))}function QT(i){var o=i.alternate;if(!o){if(o=mi(i),o===null)throw Error(r(188));return o!==i?null:i}for(var s=i,h=o;;){var m=s.return;if(m===null)break;var x=m.alternate;if(x===null){if(h=m.return,h!==null){s=h;continue}break}if(m.child===x.child){for(x=m.child;x;){if(x===s)return F0(m),i;if(x===h)return F0(m),o;x=x.sibling}throw Error(r(188))}if(s.return!==h.return)s=m,h=x;else{for(var k=!1,M=m.child;M;){if(M===s){k=!0,s=m,h=x;break}if(M===h){k=!0,h=m,s=x;break}M=M.sibling}if(!k){for(M=x.child;M;){if(M===s){k=!0,s=x,h=m;break}if(M===h){k=!0,h=x,s=m;break}M=M.sibling}if(!k)throw Error(r(189))}}if(s.alternate!==h)throw Error(r(190))}if(s.tag!==3)throw Error(r(188));return s.stateNode.current===s?i:o}function U0(i){return i=QT(i),i!==null?W0(i):null}function W0(i){if(i.tag===5||i.tag===6)return i;for(i=i.child;i!==null;){var o=W0(i);if(o!==null)return o;i=i.sibling}return null}var H0=t.unstable_scheduleCallback,V0=t.unstable_cancelCallback,ZT=t.unstable_shouldYield,JT=t.unstable_requestPaint,ft=t.unstable_now,eC=t.unstable_getCurrentPriorityLevel,gf=t.unstable_ImmediatePriority,G0=t.unstable_UserBlockingPriority,du=t.unstable_NormalPriority,tC=t.unstable_LowPriority,K0=t.unstable_IdlePriority,hu=null,Vr=null;function rC(i){if(Vr&&typeof Vr.onCommitFiberRoot=="function")try{Vr.onCommitFiberRoot(hu,i,void 0,(i.current.flags&128)===128)}catch{}}var Cr=Math.clz32?Math.clz32:aC,nC=Math.log,iC=Math.LN2;function aC(i){return i>>>=0,i===0?32:31-(nC(i)/iC|0)|0}var pu=64,vu=4194304;function go(i){switch(i&-i){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64: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 i&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return i&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return i}}function mu(i,o){var s=i.pendingLanes;if(s===0)return 0;var h=0,m=i.suspendedLanes,x=i.pingedLanes,k=s&268435455;if(k!==0){var M=k&~m;M!==0?h=go(M):(x&=k,x!==0&&(h=go(x)))}else k=s&~m,k!==0?h=go(k):x!==0&&(h=go(x));if(h===0)return 0;if(o!==0&&o!==h&&(o&m)===0&&(m=h&-h,x=o&-o,m>=x||m===16&&(x&4194240)!==0))return o;if((h&4)!==0&&(h|=s&16),o=i.entangledLanes,o!==0)for(i=i.entanglements,o&=h;0<o;)s=31-Cr(o),m=1<<s,h|=i[s],o&=~m;return h}function oC(i,o){switch(i){case 1:case 2:case 4:return o+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return o+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function lC(i,o){for(var s=i.suspendedLanes,h=i.pingedLanes,m=i.expirationTimes,x=i.pendingLanes;0<x;){var k=31-Cr(x),M=1<<k,z=m[k];z===-1?((M&s)===0||(M&h)!==0)&&(m[k]=oC(M,o)):z<=o&&(i.expiredLanes|=M),x&=~M}}function bf(i){return i=i.pendingLanes&-1073741825,i!==0?i:i&1073741824?1073741824:0}function X0(){var i=pu;return pu<<=1,(pu&4194240)===0&&(pu=64),i}function xf(i){for(var o=[],s=0;31>s;s++)o.push(i);return o}function bo(i,o,s){i.pendingLanes|=o,o!==536870912&&(i.suspendedLanes=0,i.pingedLanes=0),i=i.eventTimes,o=31-Cr(o),i[o]=s}function uC(i,o){var s=i.pendingLanes&~o;i.pendingLanes=o,i.suspendedLanes=0,i.pingedLanes=0,i.expiredLanes&=o,i.mutableReadLanes&=o,i.entangledLanes&=o,o=i.entanglements;var h=i.eventTimes;for(i=i.expirationTimes;0<s;){var m=31-Cr(s),x=1<<m;o[m]=0,h[m]=-1,i[m]=-1,s&=~x}}function wf(i,o){var s=i.entangledLanes|=o;for(i=i.entanglements;s;){var h=31-Cr(s),m=1<<h;m&o|i[h]&o&&(i[h]|=o),s&=~m}}var Fe=0;function Y0(i){return i&=-i,1<i?4<i?(i&268435455)!==0?16:536870912:4:1}var Q0,Sf,Z0,J0,eb,_f=!1,yu=[],Cn=null,Nn=null,Mn=null,xo=new Map,wo=new Map,In=[],sC="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function tb(i,o){switch(i){case"focusin":case"focusout":Cn=null;break;case"dragenter":case"dragleave":Nn=null;break;case"mouseover":case"mouseout":Mn=null;break;case"pointerover":case"pointerout":xo.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":wo.delete(o.pointerId)}}function So(i,o,s,h,m,x){return i===null||i.nativeEvent!==x?(i={blockedOn:o,domEventName:s,eventSystemFlags:h,nativeEvent:x,targetContainers:[m]},o!==null&&(o=Ro(o),o!==null&&Sf(o)),i):(i.eventSystemFlags|=h,o=i.targetContainers,m!==null&&o.indexOf(m)===-1&&o.push(m),i)}function cC(i,o,s,h,m){switch(o){case"focusin":return Cn=So(Cn,i,o,s,h,m),!0;case"dragenter":return Nn=So(Nn,i,o,s,h,m),!0;case"mouseover":return Mn=So(Mn,i,o,s,h,m),!0;case"pointerover":var x=m.pointerId;return xo.set(x,So(xo.get(x)||null,i,o,s,h,m)),!0;case"gotpointercapture":return x=m.pointerId,wo.set(x,So(wo.get(x)||null,i,o,s,h,m)),!0}return!1}function rb(i){var o=yi(i.target);if(o!==null){var s=mi(o);if(s!==null){if(o=s.tag,o===13){if(o=z0(s),o!==null){i.blockedOn=o,eb(i.priority,function(){Z0(s)});return}}else if(o===3&&s.stateNode.current.memoizedState.isDehydrated){i.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}i.blockedOn=null}function gu(i){if(i.blockedOn!==null)return!1;for(var o=i.targetContainers;0<o.length;){var s=jf(i.domEventName,i.eventSystemFlags,o[0],i.nativeEvent);if(s===null){s=i.nativeEvent;var h=new s.constructor(s.type,s);Tr=h,s.target.dispatchEvent(h),Tr=null}else return o=Ro(s),o!==null&&Sf(o),i.blockedOn=s,!1;o.shift()}return!0}function nb(i,o,s){gu(i)&&s.delete(o)}function fC(){_f=!1,Cn!==null&&gu(Cn)&&(Cn=null),Nn!==null&&gu(Nn)&&(Nn=null),Mn!==null&&gu(Mn)&&(Mn=null),xo.forEach(nb),wo.forEach(nb)}function _o(i,o){i.blockedOn===o&&(i.blockedOn=null,_f||(_f=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,fC)))}function Oo(i){function o(m){return _o(m,i)}if(0<yu.length){_o(yu[0],i);for(var s=1;s<yu.length;s++){var h=yu[s];h.blockedOn===i&&(h.blockedOn=null)}}for(Cn!==null&&_o(Cn,i),Nn!==null&&_o(Nn,i),Mn!==null&&_o(Mn,i),xo.forEach(o),wo.forEach(o),s=0;s<In.length;s++)h=In[s],h.blockedOn===i&&(h.blockedOn=null);for(;0<In.length&&(s=In[0],s.blockedOn===null);)rb(s),s.blockedOn===null&&In.shift()}var Zi=T.ReactCurrentBatchConfig,bu=!0;function dC(i,o,s,h){var m=Fe,x=Zi.transition;Zi.transition=null;try{Fe=1,Of(i,o,s,h)}finally{Fe=m,Zi.transition=x}}function hC(i,o,s,h){var m=Fe,x=Zi.transition;Zi.transition=null;try{Fe=4,Of(i,o,s,h)}finally{Fe=m,Zi.transition=x}}function Of(i,o,s,h){if(bu){var m=jf(i,o,s,h);if(m===null)Ff(i,o,h,xu,s),tb(i,h);else if(cC(m,i,o,s,h))h.stopPropagation();else if(tb(i,h),o&4&&-1<sC.indexOf(i)){for(;m!==null;){var x=Ro(m);if(x!==null&&Q0(x),x=jf(i,o,s,h),x===null&&Ff(i,o,h,xu,s),x===m)break;m=x}m!==null&&h.stopPropagation()}else Ff(i,o,h,null,s)}}var xu=null;function jf(i,o,s,h){if(xu=null,i=vr(h),i=yi(i),i!==null)if(o=mi(i),o===null)i=null;else if(s=o.tag,s===13){if(i=z0(o),i!==null)return i;i=null}else if(s===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;i=null}else o!==i&&(i=null);return xu=i,null}function ib(i){switch(i){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(eC()){case gf:return 1;case G0:return 4;case du:case tC:return 16;case K0:return 536870912;default:return 16}default:return 16}}var $n=null,Pf=null,wu=null;function ab(){if(wu)return wu;var i,o=Pf,s=o.length,h,m="value"in $n?$n.value:$n.textContent,x=m.length;for(i=0;i<s&&o[i]===m[i];i++);var k=s-i;for(h=1;h<=k&&o[s-h]===m[x-h];h++);return wu=m.slice(i,1<h?1-h:void 0)}function Su(i){var o=i.keyCode;return"charCode"in i?(i=i.charCode,i===0&&o===13&&(i=13)):i=o,i===10&&(i=13),32<=i||i===13?i:0}function _u(){return!0}function ob(){return!1}function or(i){function o(s,h,m,x,k){this._reactName=s,this._targetInst=m,this.type=h,this.nativeEvent=x,this.target=k,this.currentTarget=null;for(var M in i)i.hasOwnProperty(M)&&(s=i[M],this[M]=s?s(x):x[M]);return this.isDefaultPrevented=(x.defaultPrevented!=null?x.defaultPrevented:x.returnValue===!1)?_u:ob,this.isPropagationStopped=ob,this}return Z(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=_u)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=_u)},persist:function(){},isPersistent:_u}),o}var Ji={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(i){return i.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Af=or(Ji),jo=Z({},Ji,{view:0,detail:0}),pC=or(jo),Ef,kf,Po,Ou=Z({},jo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cf,button:0,buttons:0,relatedTarget:function(i){return i.relatedTarget===void 0?i.fromElement===i.srcElement?i.toElement:i.fromElement:i.relatedTarget},movementX:function(i){return"movementX"in i?i.movementX:(i!==Po&&(Po&&i.type==="mousemove"?(Ef=i.screenX-Po.screenX,kf=i.screenY-Po.screenY):kf=Ef=0,Po=i),Ef)},movementY:function(i){return"movementY"in i?i.movementY:kf}}),lb=or(Ou),vC=Z({},Ou,{dataTransfer:0}),mC=or(vC),yC=Z({},jo,{relatedTarget:0}),Tf=or(yC),gC=Z({},Ji,{animationName:0,elapsedTime:0,pseudoElement:0}),bC=or(gC),xC=Z({},Ji,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),wC=or(xC),SC=Z({},Ji,{data:0}),ub=or(SC),_C={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},OC={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},jC={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function PC(i){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(i):(i=jC[i])?!!o[i]:!1}function Cf(){return PC}var AC=Z({},jo,{key:function(i){if(i.key){var o=_C[i.key]||i.key;if(o!=="Unidentified")return o}return i.type==="keypress"?(i=Su(i),i===13?"Enter":String.fromCharCode(i)):i.type==="keydown"||i.type==="keyup"?OC[i.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cf,charCode:function(i){return i.type==="keypress"?Su(i):0},keyCode:function(i){return i.type==="keydown"||i.type==="keyup"?i.keyCode:0},which:function(i){return i.type==="keypress"?Su(i):i.type==="keydown"||i.type==="keyup"?i.keyCode:0}}),EC=or(AC),kC=Z({},Ou,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),sb=or(kC),TC=Z({},jo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cf}),CC=or(TC),NC=Z({},Ji,{propertyName:0,elapsedTime:0,pseudoElement:0}),MC=or(NC),IC=Z({},Ou,{deltaX:function(i){return"deltaX"in i?i.deltaX:"wheelDeltaX"in i?-i.wheelDeltaX:0},deltaY:function(i){return"deltaY"in i?i.deltaY:"wheelDeltaY"in i?-i.wheelDeltaY:"wheelDelta"in i?-i.wheelDelta:0},deltaZ:0,deltaMode:0}),$C=or(IC),RC=[9,13,27,32],Nf=c&&"CompositionEvent"in window,Ao=null;c&&"documentMode"in document&&(Ao=document.documentMode);var DC=c&&"TextEvent"in window&&!Ao,cb=c&&(!Nf||Ao&&8<Ao&&11>=Ao),fb=" ",db=!1;function hb(i,o){switch(i){case"keyup":return RC.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function pb(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var ea=!1;function LC(i,o){switch(i){case"compositionend":return pb(o);case"keypress":return o.which!==32?null:(db=!0,fb);case"textInput":return i=o.data,i===fb&&db?null:i;default:return null}}function BC(i,o){if(ea)return i==="compositionend"||!Nf&&hb(i,o)?(i=ab(),wu=Pf=$n=null,ea=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1<o.char.length)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return cb&&o.locale!=="ko"?null:o.data;default:return null}}var qC={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function vb(i){var o=i&&i.nodeName&&i.nodeName.toLowerCase();return o==="input"?!!qC[i.type]:o==="textarea"}function mb(i,o,s,h){R0(h),o=ku(o,"onChange"),0<o.length&&(s=new Af("onChange","change",null,s,h),i.push({event:s,listeners:o}))}var Eo=null,ko=null;function zC(i){Ib(i,0)}function ju(i){var o=aa(i);if(ne(o))return i}function FC(i,o){if(i==="change")return o}var yb=!1;if(c){var Mf;if(c){var If="oninput"in document;if(!If){var gb=document.createElement("div");gb.setAttribute("oninput","return;"),If=typeof gb.oninput=="function"}Mf=If}else Mf=!1;yb=Mf&&(!document.documentMode||9<document.documentMode)}function bb(){Eo&&(Eo.detachEvent("onpropertychange",xb),ko=Eo=null)}function xb(i){if(i.propertyName==="value"&&ju(ko)){var o=[];mb(o,ko,i,vr(i)),q0(zC,o)}}function UC(i,o,s){i==="focusin"?(bb(),Eo=o,ko=s,Eo.attachEvent("onpropertychange",xb)):i==="focusout"&&bb()}function WC(i){if(i==="selectionchange"||i==="keyup"||i==="keydown")return ju(ko)}function HC(i,o){if(i==="click")return ju(o)}function VC(i,o){if(i==="input"||i==="change")return ju(o)}function GC(i,o){return i===o&&(i!==0||1/i===1/o)||i!==i&&o!==o}var Nr=typeof Object.is=="function"?Object.is:GC;function To(i,o){if(Nr(i,o))return!0;if(typeof i!="object"||i===null||typeof o!="object"||o===null)return!1;var s=Object.keys(i),h=Object.keys(o);if(s.length!==h.length)return!1;for(h=0;h<s.length;h++){var m=s[h];if(!f.call(o,m)||!Nr(i[m],o[m]))return!1}return!0}function wb(i){for(;i&&i.firstChild;)i=i.firstChild;return i}function Sb(i,o){var s=wb(i);i=0;for(var h;s;){if(s.nodeType===3){if(h=i+s.textContent.length,i<=o&&h>=o)return{node:s,offset:o-i};i=h}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=wb(s)}}function _b(i,o){return i&&o?i===o?!0:i&&i.nodeType===3?!1:o&&o.nodeType===3?_b(i,o.parentNode):"contains"in i?i.contains(o):i.compareDocumentPosition?!!(i.compareDocumentPosition(o)&16):!1:!1}function Ob(){for(var i=window,o=De();o instanceof i.HTMLIFrameElement;){try{var s=typeof o.contentWindow.location.href=="string"}catch{s=!1}if(s)i=o.contentWindow;else break;o=De(i.document)}return o}function $f(i){var o=i&&i.nodeName&&i.nodeName.toLowerCase();return o&&(o==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||o==="textarea"||i.contentEditable==="true")}function KC(i){var o=Ob(),s=i.focusedElem,h=i.selectionRange;if(o!==s&&s&&s.ownerDocument&&_b(s.ownerDocument.documentElement,s)){if(h!==null&&$f(s)){if(o=h.start,i=h.end,i===void 0&&(i=o),"selectionStart"in s)s.selectionStart=o,s.selectionEnd=Math.min(i,s.value.length);else if(i=(o=s.ownerDocument||document)&&o.defaultView||window,i.getSelection){i=i.getSelection();var m=s.textContent.length,x=Math.min(h.start,m);h=h.end===void 0?x:Math.min(h.end,m),!i.extend&&x>h&&(m=h,h=x,x=m),m=Sb(s,x);var k=Sb(s,h);m&&k&&(i.rangeCount!==1||i.anchorNode!==m.node||i.anchorOffset!==m.offset||i.focusNode!==k.node||i.focusOffset!==k.offset)&&(o=o.createRange(),o.setStart(m.node,m.offset),i.removeAllRanges(),x>h?(i.addRange(o),i.extend(k.node,k.offset)):(o.setEnd(k.node,k.offset),i.addRange(o)))}}for(o=[],i=s;i=i.parentNode;)i.nodeType===1&&o.push({element:i,left:i.scrollLeft,top:i.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<o.length;s++)i=o[s],i.element.scrollLeft=i.left,i.element.scrollTop=i.top}}var XC=c&&"documentMode"in document&&11>=document.documentMode,ta=null,Rf=null,Co=null,Df=!1;function jb(i,o,s){var h=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;Df||ta==null||ta!==De(h)||(h=ta,"selectionStart"in h&&$f(h)?h={start:h.selectionStart,end:h.selectionEnd}:(h=(h.ownerDocument&&h.ownerDocument.defaultView||window).getSelection(),h={anchorNode:h.anchorNode,anchorOffset:h.anchorOffset,focusNode:h.focusNode,focusOffset:h.focusOffset}),Co&&To(Co,h)||(Co=h,h=ku(Rf,"onSelect"),0<h.length&&(o=new Af("onSelect","select",null,o,s),i.push({event:o,listeners:h}),o.target=ta)))}function Pu(i,o){var s={};return s[i.toLowerCase()]=o.toLowerCase(),s["Webkit"+i]="webkit"+o,s["Moz"+i]="moz"+o,s}var ra={animationend:Pu("Animation","AnimationEnd"),animationiteration:Pu("Animation","AnimationIteration"),animationstart:Pu("Animation","AnimationStart"),transitionend:Pu("Transition","TransitionEnd")},Lf={},Pb={};c&&(Pb=document.createElement("div").style,"AnimationEvent"in window||(delete ra.animationend.animation,delete ra.animationiteration.animation,delete ra.animationstart.animation),"TransitionEvent"in window||delete ra.transitionend.transition);function Au(i){if(Lf[i])return Lf[i];if(!ra[i])return i;var o=ra[i],s;for(s in o)if(o.hasOwnProperty(s)&&s in Pb)return Lf[i]=o[s];return i}var Ab=Au("animationend"),Eb=Au("animationiteration"),kb=Au("animationstart"),Tb=Au("transitionend"),Cb=new Map,Nb="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Rn(i,o){Cb.set(i,o),l(o,[i])}for(var Bf=0;Bf<Nb.length;Bf++){var qf=Nb[Bf],YC=qf.toLowerCase(),QC=qf[0].toUpperCase()+qf.slice(1);Rn(YC,"on"+QC)}Rn(Ab,"onAnimationEnd"),Rn(Eb,"onAnimationIteration"),Rn(kb,"onAnimationStart"),Rn("dblclick","onDoubleClick"),Rn("focusin","onFocus"),Rn("focusout","onBlur"),Rn(Tb,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var No="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),ZC=new Set("cancel close invalid load scroll toggle".split(" ").concat(No));function Mb(i,o,s){var h=i.type||"unknown-event";i.currentTarget=s,YT(h,o,void 0,i),i.currentTarget=null}function Ib(i,o){o=(o&4)!==0;for(var s=0;s<i.length;s++){var h=i[s],m=h.event;h=h.listeners;e:{var x=void 0;if(o)for(var k=h.length-1;0<=k;k--){var M=h[k],z=M.instance,J=M.currentTarget;if(M=M.listener,z!==x&&m.isPropagationStopped())break e;Mb(m,M,J),x=z}else for(k=0;k<h.length;k++){if(M=h[k],z=M.instance,J=M.currentTarget,M=M.listener,z!==x&&m.isPropagationStopped())break e;Mb(m,M,J),x=z}}}if(fu)throw i=yf,fu=!1,yf=null,i}function Ze(i,o){var s=o[Kf];s===void 0&&(s=o[Kf]=new Set);var h=i+"__bubble";s.has(h)||($b(o,i,2,!1),s.add(h))}function zf(i,o,s){var h=0;o&&(h|=4),$b(s,i,h,o)}var Eu="_reactListening"+Math.random().toString(36).slice(2);function Mo(i){if(!i[Eu]){i[Eu]=!0,n.forEach(function(s){s!=="selectionchange"&&(ZC.has(s)||zf(s,!1,i),zf(s,!0,i))});var o=i.nodeType===9?i:i.ownerDocument;o===null||o[Eu]||(o[Eu]=!0,zf("selectionchange",!1,o))}}function $b(i,o,s,h){switch(ib(o)){case 1:var m=dC;break;case 4:m=hC;break;default:m=Of}s=m.bind(null,o,s,i),m=void 0,!mf||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(m=!0),h?m!==void 0?i.addEventListener(o,s,{capture:!0,passive:m}):i.addEventListener(o,s,!0):m!==void 0?i.addEventListener(o,s,{passive:m}):i.addEventListener(o,s,!1)}function Ff(i,o,s,h,m){var x=h;if((o&1)===0&&(o&2)===0&&h!==null)e:for(;;){if(h===null)return;var k=h.tag;if(k===3||k===4){var M=h.stateNode.containerInfo;if(M===m||M.nodeType===8&&M.parentNode===m)break;if(k===4)for(k=h.return;k!==null;){var z=k.tag;if((z===3||z===4)&&(z=k.stateNode.containerInfo,z===m||z.nodeType===8&&z.parentNode===m))return;k=k.return}for(;M!==null;){if(k=yi(M),k===null)return;if(z=k.tag,z===5||z===6){h=x=k;continue e}M=M.parentNode}}h=h.return}q0(function(){var J=x,ae=vr(s),le=[];e:{var ie=Cb.get(i);if(ie!==void 0){var de=Af,me=i;switch(i){case"keypress":if(Su(s)===0)break e;case"keydown":case"keyup":de=EC;break;case"focusin":me="focus",de=Tf;break;case"focusout":me="blur",de=Tf;break;case"beforeblur":case"afterblur":de=Tf;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":de=lb;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":de=mC;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":de=CC;break;case Ab:case Eb:case kb:de=bC;break;case Tb:de=MC;break;case"scroll":de=pC;break;case"wheel":de=$C;break;case"copy":case"cut":case"paste":de=wC;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":de=sb}var ye=(o&4)!==0,dt=!ye&&i==="scroll",K=ye?ie!==null?ie+"Capture":null:ie;ye=[];for(var F=J,Y;F!==null;){Y=F;var se=Y.stateNode;if(Y.tag===5&&se!==null&&(Y=se,K!==null&&(se=vo(F,K),se!=null&&ye.push(Io(F,se,Y)))),dt)break;F=F.return}0<ye.length&&(ie=new de(ie,me,null,s,ae),le.push({event:ie,listeners:ye}))}}if((o&7)===0){e:{if(ie=i==="mouseover"||i==="pointerover",de=i==="mouseout"||i==="pointerout",ie&&s!==Tr&&(me=s.relatedTarget||s.fromElement)&&(yi(me)||me[an]))break e;if((de||ie)&&(ie=ae.window===ae?ae:(ie=ae.ownerDocument)?ie.defaultView||ie.parentWindow:window,de?(me=s.relatedTarget||s.toElement,de=J,me=me?yi(me):null,me!==null&&(dt=mi(me),me!==dt||me.tag!==5&&me.tag!==6)&&(me=null)):(de=null,me=J),de!==me)){if(ye=lb,se="onMouseLeave",K="onMouseEnter",F="mouse",(i==="pointerout"||i==="pointerover")&&(ye=sb,se="onPointerLeave",K="onPointerEnter",F="pointer"),dt=de==null?ie:aa(de),Y=me==null?ie:aa(me),ie=new ye(se,F+"leave",de,s,ae),ie.target=dt,ie.relatedTarget=Y,se=null,yi(ae)===J&&(ye=new ye(K,F+"enter",me,s,ae),ye.target=Y,ye.relatedTarget=dt,se=ye),dt=se,de&&me)t:{for(ye=de,K=me,F=0,Y=ye;Y;Y=na(Y))F++;for(Y=0,se=K;se;se=na(se))Y++;for(;0<F-Y;)ye=na(ye),F--;for(;0<Y-F;)K=na(K),Y--;for(;F--;){if(ye===K||K!==null&&ye===K.alternate)break t;ye=na(ye),K=na(K)}ye=null}else ye=null;de!==null&&Rb(le,ie,de,ye,!1),me!==null&&dt!==null&&Rb(le,dt,me,ye,!0)}}e:{if(ie=J?aa(J):window,de=ie.nodeName&&ie.nodeName.toLowerCase(),de==="select"||de==="input"&&ie.type==="file")var ge=FC;else if(vb(ie))if(yb)ge=VC;else{ge=WC;var Se=UC}else(de=ie.nodeName)&&de.toLowerCase()==="input"&&(ie.type==="checkbox"||ie.type==="radio")&&(ge=HC);if(ge&&(ge=ge(i,J))){mb(le,ge,s,ae);break e}Se&&Se(i,ie,J),i==="focusout"&&(Se=ie._wrapperState)&&Se.controlled&&ie.type==="number"&&ar(ie,"number",ie.value)}switch(Se=J?aa(J):window,i){case"focusin":(vb(Se)||Se.contentEditable==="true")&&(ta=Se,Rf=J,Co=null);break;case"focusout":Co=Rf=ta=null;break;case"mousedown":Df=!0;break;case"contextmenu":case"mouseup":case"dragend":Df=!1,jb(le,s,ae);break;case"selectionchange":if(XC)break;case"keydown":case"keyup":jb(le,s,ae)}var _e;if(Nf)e:{switch(i){case"compositionstart":var Ae="onCompositionStart";break e;case"compositionend":Ae="onCompositionEnd";break e;case"compositionupdate":Ae="onCompositionUpdate";break e}Ae=void 0}else ea?hb(i,s)&&(Ae="onCompositionEnd"):i==="keydown"&&s.keyCode===229&&(Ae="onCompositionStart");Ae&&(cb&&s.locale!=="ko"&&(ea||Ae!=="onCompositionStart"?Ae==="onCompositionEnd"&&ea&&(_e=ab()):($n=ae,Pf="value"in $n?$n.value:$n.textContent,ea=!0)),Se=ku(J,Ae),0<Se.length&&(Ae=new ub(Ae,i,null,s,ae),le.push({event:Ae,listeners:Se}),_e?Ae.data=_e:(_e=pb(s),_e!==null&&(Ae.data=_e)))),(_e=DC?LC(i,s):BC(i,s))&&(J=ku(J,"onBeforeInput"),0<J.length&&(ae=new ub("onBeforeInput","beforeinput",null,s,ae),le.push({event:ae,listeners:J}),ae.data=_e))}Ib(le,o)})}function Io(i,o,s){return{instance:i,listener:o,currentTarget:s}}function ku(i,o){for(var s=o+"Capture",h=[];i!==null;){var m=i,x=m.stateNode;m.tag===5&&x!==null&&(m=x,x=vo(i,s),x!=null&&h.unshift(Io(i,x,m)),x=vo(i,o),x!=null&&h.push(Io(i,x,m))),i=i.return}return h}function na(i){if(i===null)return null;do i=i.return;while(i&&i.tag!==5);return i||null}function Rb(i,o,s,h,m){for(var x=o._reactName,k=[];s!==null&&s!==h;){var M=s,z=M.alternate,J=M.stateNode;if(z!==null&&z===h)break;M.tag===5&&J!==null&&(M=J,m?(z=vo(s,x),z!=null&&k.unshift(Io(s,z,M))):m||(z=vo(s,x),z!=null&&k.push(Io(s,z,M)))),s=s.return}k.length!==0&&i.push({event:o,listeners:k})}var JC=/\r\n?/g,e2=/\u0000|\uFFFD/g;function Db(i){return(typeof i=="string"?i:""+i).replace(JC,`
|
|
38
|
+
`).replace(e2,"")}function Tu(i,o,s){if(o=Db(o),Db(i)!==o&&s)throw Error(r(425))}function Cu(){}var Uf=null,Wf=null;function Hf(i,o){return i==="textarea"||i==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}var Vf=typeof setTimeout=="function"?setTimeout:void 0,t2=typeof clearTimeout=="function"?clearTimeout:void 0,Lb=typeof Promise=="function"?Promise:void 0,r2=typeof queueMicrotask=="function"?queueMicrotask:typeof Lb<"u"?function(i){return Lb.resolve(null).then(i).catch(n2)}:Vf;function n2(i){setTimeout(function(){throw i})}function Gf(i,o){var s=o,h=0;do{var m=s.nextSibling;if(i.removeChild(s),m&&m.nodeType===8)if(s=m.data,s==="/$"){if(h===0){i.removeChild(m),Oo(o);return}h--}else s!=="$"&&s!=="$?"&&s!=="$!"||h++;s=m}while(s);Oo(o)}function Dn(i){for(;i!=null;i=i.nextSibling){var o=i.nodeType;if(o===1||o===3)break;if(o===8){if(o=i.data,o==="$"||o==="$!"||o==="$?")break;if(o==="/$")return null}}return i}function Bb(i){i=i.previousSibling;for(var o=0;i;){if(i.nodeType===8){var s=i.data;if(s==="$"||s==="$!"||s==="$?"){if(o===0)return i;o--}else s==="/$"&&o++}i=i.previousSibling}return null}var ia=Math.random().toString(36).slice(2),Gr="__reactFiber$"+ia,$o="__reactProps$"+ia,an="__reactContainer$"+ia,Kf="__reactEvents$"+ia,i2="__reactListeners$"+ia,a2="__reactHandles$"+ia;function yi(i){var o=i[Gr];if(o)return o;for(var s=i.parentNode;s;){if(o=s[an]||s[Gr]){if(s=o.alternate,o.child!==null||s!==null&&s.child!==null)for(i=Bb(i);i!==null;){if(s=i[Gr])return s;i=Bb(i)}return o}i=s,s=i.parentNode}return null}function Ro(i){return i=i[Gr]||i[an],!i||i.tag!==5&&i.tag!==6&&i.tag!==13&&i.tag!==3?null:i}function aa(i){if(i.tag===5||i.tag===6)return i.stateNode;throw Error(r(33))}function Nu(i){return i[$o]||null}var Xf=[],oa=-1;function Ln(i){return{current:i}}function Je(i){0>oa||(i.current=Xf[oa],Xf[oa]=null,oa--)}function Xe(i,o){oa++,Xf[oa]=i.current,i.current=o}var Bn={},Dt=Ln(Bn),Qt=Ln(!1),gi=Bn;function la(i,o){var s=i.type.contextTypes;if(!s)return Bn;var h=i.stateNode;if(h&&h.__reactInternalMemoizedUnmaskedChildContext===o)return h.__reactInternalMemoizedMaskedChildContext;var m={},x;for(x in s)m[x]=o[x];return h&&(i=i.stateNode,i.__reactInternalMemoizedUnmaskedChildContext=o,i.__reactInternalMemoizedMaskedChildContext=m),m}function Zt(i){return i=i.childContextTypes,i!=null}function Mu(){Je(Qt),Je(Dt)}function qb(i,o,s){if(Dt.current!==Bn)throw Error(r(168));Xe(Dt,o),Xe(Qt,s)}function zb(i,o,s){var h=i.stateNode;if(o=o.childContextTypes,typeof h.getChildContext!="function")return s;h=h.getChildContext();for(var m in h)if(!(m in o))throw Error(r(108,Te(i)||"Unknown",m));return Z({},s,h)}function Iu(i){return i=(i=i.stateNode)&&i.__reactInternalMemoizedMergedChildContext||Bn,gi=Dt.current,Xe(Dt,i),Xe(Qt,Qt.current),!0}function Fb(i,o,s){var h=i.stateNode;if(!h)throw Error(r(169));s?(i=zb(i,o,gi),h.__reactInternalMemoizedMergedChildContext=i,Je(Qt),Je(Dt),Xe(Dt,i)):Je(Qt),Xe(Qt,s)}var on=null,$u=!1,Yf=!1;function Ub(i){on===null?on=[i]:on.push(i)}function o2(i){$u=!0,Ub(i)}function qn(){if(!Yf&&on!==null){Yf=!0;var i=0,o=Fe;try{var s=on;for(Fe=1;i<s.length;i++){var h=s[i];do h=h(!0);while(h!==null)}on=null,$u=!1}catch(m){throw on!==null&&(on=on.slice(i+1)),H0(gf,qn),m}finally{Fe=o,Yf=!1}}return null}var ua=[],sa=0,Ru=null,Du=0,mr=[],yr=0,bi=null,ln=1,un="";function xi(i,o){ua[sa++]=Du,ua[sa++]=Ru,Ru=i,Du=o}function Wb(i,o,s){mr[yr++]=ln,mr[yr++]=un,mr[yr++]=bi,bi=i;var h=ln;i=un;var m=32-Cr(h)-1;h&=~(1<<m),s+=1;var x=32-Cr(o)+m;if(30<x){var k=m-m%5;x=(h&(1<<k)-1).toString(32),h>>=k,m-=k,ln=1<<32-Cr(o)+m|s<<m|h,un=x+i}else ln=1<<x|s<<m|h,un=i}function Qf(i){i.return!==null&&(xi(i,1),Wb(i,1,0))}function Zf(i){for(;i===Ru;)Ru=ua[--sa],ua[sa]=null,Du=ua[--sa],ua[sa]=null;for(;i===bi;)bi=mr[--yr],mr[yr]=null,un=mr[--yr],mr[yr]=null,ln=mr[--yr],mr[yr]=null}var lr=null,ur=null,tt=!1,Mr=null;function Hb(i,o){var s=wr(5,null,null,0);s.elementType="DELETED",s.stateNode=o,s.return=i,o=i.deletions,o===null?(i.deletions=[s],i.flags|=16):o.push(s)}function Vb(i,o){switch(i.tag){case 5:var s=i.type;return o=o.nodeType!==1||s.toLowerCase()!==o.nodeName.toLowerCase()?null:o,o!==null?(i.stateNode=o,lr=i,ur=Dn(o.firstChild),!0):!1;case 6:return o=i.pendingProps===""||o.nodeType!==3?null:o,o!==null?(i.stateNode=o,lr=i,ur=null,!0):!1;case 13:return o=o.nodeType!==8?null:o,o!==null?(s=bi!==null?{id:ln,overflow:un}:null,i.memoizedState={dehydrated:o,treeContext:s,retryLane:1073741824},s=wr(18,null,null,0),s.stateNode=o,s.return=i,i.child=s,lr=i,ur=null,!0):!1;default:return!1}}function Jf(i){return(i.mode&1)!==0&&(i.flags&128)===0}function ed(i){if(tt){var o=ur;if(o){var s=o;if(!Vb(i,o)){if(Jf(i))throw Error(r(418));o=Dn(s.nextSibling);var h=lr;o&&Vb(i,o)?Hb(h,s):(i.flags=i.flags&-4097|2,tt=!1,lr=i)}}else{if(Jf(i))throw Error(r(418));i.flags=i.flags&-4097|2,tt=!1,lr=i}}}function Gb(i){for(i=i.return;i!==null&&i.tag!==5&&i.tag!==3&&i.tag!==13;)i=i.return;lr=i}function Lu(i){if(i!==lr)return!1;if(!tt)return Gb(i),tt=!0,!1;var o;if((o=i.tag!==3)&&!(o=i.tag!==5)&&(o=i.type,o=o!=="head"&&o!=="body"&&!Hf(i.type,i.memoizedProps)),o&&(o=ur)){if(Jf(i))throw Kb(),Error(r(418));for(;o;)Hb(i,o),o=Dn(o.nextSibling)}if(Gb(i),i.tag===13){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(r(317));e:{for(i=i.nextSibling,o=0;i;){if(i.nodeType===8){var s=i.data;if(s==="/$"){if(o===0){ur=Dn(i.nextSibling);break e}o--}else s!=="$"&&s!=="$!"&&s!=="$?"||o++}i=i.nextSibling}ur=null}}else ur=lr?Dn(i.stateNode.nextSibling):null;return!0}function Kb(){for(var i=ur;i;)i=Dn(i.nextSibling)}function ca(){ur=lr=null,tt=!1}function td(i){Mr===null?Mr=[i]:Mr.push(i)}var l2=T.ReactCurrentBatchConfig;function Do(i,o,s){if(i=s.ref,i!==null&&typeof i!="function"&&typeof i!="object"){if(s._owner){if(s=s._owner,s){if(s.tag!==1)throw Error(r(309));var h=s.stateNode}if(!h)throw Error(r(147,i));var m=h,x=""+i;return o!==null&&o.ref!==null&&typeof o.ref=="function"&&o.ref._stringRef===x?o.ref:(o=function(k){var M=m.refs;k===null?delete M[x]:M[x]=k},o._stringRef=x,o)}if(typeof i!="string")throw Error(r(284));if(!s._owner)throw Error(r(290,i))}return i}function Bu(i,o){throw i=Object.prototype.toString.call(o),Error(r(31,i==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":i))}function Xb(i){var o=i._init;return o(i._payload)}function Yb(i){function o(K,F){if(i){var Y=K.deletions;Y===null?(K.deletions=[F],K.flags|=16):Y.push(F)}}function s(K,F){if(!i)return null;for(;F!==null;)o(K,F),F=F.sibling;return null}function h(K,F){for(K=new Map;F!==null;)F.key!==null?K.set(F.key,F):K.set(F.index,F),F=F.sibling;return K}function m(K,F){return K=Kn(K,F),K.index=0,K.sibling=null,K}function x(K,F,Y){return K.index=Y,i?(Y=K.alternate,Y!==null?(Y=Y.index,Y<F?(K.flags|=2,F):Y):(K.flags|=2,F)):(K.flags|=1048576,F)}function k(K){return i&&K.alternate===null&&(K.flags|=2),K}function M(K,F,Y,se){return F===null||F.tag!==6?(F=Vd(Y,K.mode,se),F.return=K,F):(F=m(F,Y),F.return=K,F)}function z(K,F,Y,se){var ge=Y.type;return ge===C?ae(K,F,Y.props.children,se,Y.key):F!==null&&(F.elementType===ge||typeof ge=="object"&&ge!==null&&ge.$$typeof===ee&&Xb(ge)===F.type)?(se=m(F,Y.props),se.ref=Do(K,F,Y),se.return=K,se):(se=ss(Y.type,Y.key,Y.props,null,K.mode,se),se.ref=Do(K,F,Y),se.return=K,se)}function J(K,F,Y,se){return F===null||F.tag!==4||F.stateNode.containerInfo!==Y.containerInfo||F.stateNode.implementation!==Y.implementation?(F=Gd(Y,K.mode,se),F.return=K,F):(F=m(F,Y.children||[]),F.return=K,F)}function ae(K,F,Y,se,ge){return F===null||F.tag!==7?(F=Ei(Y,K.mode,se,ge),F.return=K,F):(F=m(F,Y),F.return=K,F)}function le(K,F,Y){if(typeof F=="string"&&F!==""||typeof F=="number")return F=Vd(""+F,K.mode,Y),F.return=K,F;if(typeof F=="object"&&F!==null){switch(F.$$typeof){case j:return Y=ss(F.type,F.key,F.props,null,K.mode,Y),Y.ref=Do(K,null,F),Y.return=K,Y;case A:return F=Gd(F,K.mode,Y),F.return=K,F;case ee:var se=F._init;return le(K,se(F._payload),Y)}if(Rt(F)||V(F))return F=Ei(F,K.mode,Y,null),F.return=K,F;Bu(K,F)}return null}function ie(K,F,Y,se){var ge=F!==null?F.key:null;if(typeof Y=="string"&&Y!==""||typeof Y=="number")return ge!==null?null:M(K,F,""+Y,se);if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case j:return Y.key===ge?z(K,F,Y,se):null;case A:return Y.key===ge?J(K,F,Y,se):null;case ee:return ge=Y._init,ie(K,F,ge(Y._payload),se)}if(Rt(Y)||V(Y))return ge!==null?null:ae(K,F,Y,se,null);Bu(K,Y)}return null}function de(K,F,Y,se,ge){if(typeof se=="string"&&se!==""||typeof se=="number")return K=K.get(Y)||null,M(F,K,""+se,ge);if(typeof se=="object"&&se!==null){switch(se.$$typeof){case j:return K=K.get(se.key===null?Y:se.key)||null,z(F,K,se,ge);case A:return K=K.get(se.key===null?Y:se.key)||null,J(F,K,se,ge);case ee:var Se=se._init;return de(K,F,Y,Se(se._payload),ge)}if(Rt(se)||V(se))return K=K.get(Y)||null,ae(F,K,se,ge,null);Bu(F,se)}return null}function me(K,F,Y,se){for(var ge=null,Se=null,_e=F,Ae=F=0,Et=null;_e!==null&&Ae<Y.length;Ae++){_e.index>Ae?(Et=_e,_e=null):Et=_e.sibling;var Le=ie(K,_e,Y[Ae],se);if(Le===null){_e===null&&(_e=Et);break}i&&_e&&Le.alternate===null&&o(K,_e),F=x(Le,F,Ae),Se===null?ge=Le:Se.sibling=Le,Se=Le,_e=Et}if(Ae===Y.length)return s(K,_e),tt&&xi(K,Ae),ge;if(_e===null){for(;Ae<Y.length;Ae++)_e=le(K,Y[Ae],se),_e!==null&&(F=x(_e,F,Ae),Se===null?ge=_e:Se.sibling=_e,Se=_e);return tt&&xi(K,Ae),ge}for(_e=h(K,_e);Ae<Y.length;Ae++)Et=de(_e,K,Ae,Y[Ae],se),Et!==null&&(i&&Et.alternate!==null&&_e.delete(Et.key===null?Ae:Et.key),F=x(Et,F,Ae),Se===null?ge=Et:Se.sibling=Et,Se=Et);return i&&_e.forEach(function(Xn){return o(K,Xn)}),tt&&xi(K,Ae),ge}function ye(K,F,Y,se){var ge=V(Y);if(typeof ge!="function")throw Error(r(150));if(Y=ge.call(Y),Y==null)throw Error(r(151));for(var Se=ge=null,_e=F,Ae=F=0,Et=null,Le=Y.next();_e!==null&&!Le.done;Ae++,Le=Y.next()){_e.index>Ae?(Et=_e,_e=null):Et=_e.sibling;var Xn=ie(K,_e,Le.value,se);if(Xn===null){_e===null&&(_e=Et);break}i&&_e&&Xn.alternate===null&&o(K,_e),F=x(Xn,F,Ae),Se===null?ge=Xn:Se.sibling=Xn,Se=Xn,_e=Et}if(Le.done)return s(K,_e),tt&&xi(K,Ae),ge;if(_e===null){for(;!Le.done;Ae++,Le=Y.next())Le=le(K,Le.value,se),Le!==null&&(F=x(Le,F,Ae),Se===null?ge=Le:Se.sibling=Le,Se=Le);return tt&&xi(K,Ae),ge}for(_e=h(K,_e);!Le.done;Ae++,Le=Y.next())Le=de(_e,K,Ae,Le.value,se),Le!==null&&(i&&Le.alternate!==null&&_e.delete(Le.key===null?Ae:Le.key),F=x(Le,F,Ae),Se===null?ge=Le:Se.sibling=Le,Se=Le);return i&&_e.forEach(function(q2){return o(K,q2)}),tt&&xi(K,Ae),ge}function dt(K,F,Y,se){if(typeof Y=="object"&&Y!==null&&Y.type===C&&Y.key===null&&(Y=Y.props.children),typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case j:e:{for(var ge=Y.key,Se=F;Se!==null;){if(Se.key===ge){if(ge=Y.type,ge===C){if(Se.tag===7){s(K,Se.sibling),F=m(Se,Y.props.children),F.return=K,K=F;break e}}else if(Se.elementType===ge||typeof ge=="object"&&ge!==null&&ge.$$typeof===ee&&Xb(ge)===Se.type){s(K,Se.sibling),F=m(Se,Y.props),F.ref=Do(K,Se,Y),F.return=K,K=F;break e}s(K,Se);break}else o(K,Se);Se=Se.sibling}Y.type===C?(F=Ei(Y.props.children,K.mode,se,Y.key),F.return=K,K=F):(se=ss(Y.type,Y.key,Y.props,null,K.mode,se),se.ref=Do(K,F,Y),se.return=K,K=se)}return k(K);case A:e:{for(Se=Y.key;F!==null;){if(F.key===Se)if(F.tag===4&&F.stateNode.containerInfo===Y.containerInfo&&F.stateNode.implementation===Y.implementation){s(K,F.sibling),F=m(F,Y.children||[]),F.return=K,K=F;break e}else{s(K,F);break}else o(K,F);F=F.sibling}F=Gd(Y,K.mode,se),F.return=K,K=F}return k(K);case ee:return Se=Y._init,dt(K,F,Se(Y._payload),se)}if(Rt(Y))return me(K,F,Y,se);if(V(Y))return ye(K,F,Y,se);Bu(K,Y)}return typeof Y=="string"&&Y!==""||typeof Y=="number"?(Y=""+Y,F!==null&&F.tag===6?(s(K,F.sibling),F=m(F,Y),F.return=K,K=F):(s(K,F),F=Vd(Y,K.mode,se),F.return=K,K=F),k(K)):s(K,F)}return dt}var fa=Yb(!0),Qb=Yb(!1),qu=Ln(null),zu=null,da=null,rd=null;function nd(){rd=da=zu=null}function id(i){var o=qu.current;Je(qu),i._currentValue=o}function ad(i,o,s){for(;i!==null;){var h=i.alternate;if((i.childLanes&o)!==o?(i.childLanes|=o,h!==null&&(h.childLanes|=o)):h!==null&&(h.childLanes&o)!==o&&(h.childLanes|=o),i===s)break;i=i.return}}function ha(i,o){zu=i,rd=da=null,i=i.dependencies,i!==null&&i.firstContext!==null&&((i.lanes&o)!==0&&(Jt=!0),i.firstContext=null)}function gr(i){var o=i._currentValue;if(rd!==i)if(i={context:i,memoizedValue:o,next:null},da===null){if(zu===null)throw Error(r(308));da=i,zu.dependencies={lanes:0,firstContext:i}}else da=da.next=i;return o}var wi=null;function od(i){wi===null?wi=[i]:wi.push(i)}function Zb(i,o,s,h){var m=o.interleaved;return m===null?(s.next=s,od(o)):(s.next=m.next,m.next=s),o.interleaved=s,sn(i,h)}function sn(i,o){i.lanes|=o;var s=i.alternate;for(s!==null&&(s.lanes|=o),s=i,i=i.return;i!==null;)i.childLanes|=o,s=i.alternate,s!==null&&(s.childLanes|=o),s=i,i=i.return;return s.tag===3?s.stateNode:null}var zn=!1;function ld(i){i.updateQueue={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Jb(i,o){i=i.updateQueue,o.updateQueue===i&&(o.updateQueue={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,effects:i.effects})}function cn(i,o){return{eventTime:i,lane:o,tag:0,payload:null,callback:null,next:null}}function Fn(i,o,s){var h=i.updateQueue;if(h===null)return null;if(h=h.shared,($e&2)!==0){var m=h.pending;return m===null?o.next=o:(o.next=m.next,m.next=o),h.pending=o,sn(i,s)}return m=h.interleaved,m===null?(o.next=o,od(h)):(o.next=m.next,m.next=o),h.interleaved=o,sn(i,s)}function Fu(i,o,s){if(o=o.updateQueue,o!==null&&(o=o.shared,(s&4194240)!==0)){var h=o.lanes;h&=i.pendingLanes,s|=h,o.lanes=s,wf(i,s)}}function ex(i,o){var s=i.updateQueue,h=i.alternate;if(h!==null&&(h=h.updateQueue,s===h)){var m=null,x=null;if(s=s.firstBaseUpdate,s!==null){do{var k={eventTime:s.eventTime,lane:s.lane,tag:s.tag,payload:s.payload,callback:s.callback,next:null};x===null?m=x=k:x=x.next=k,s=s.next}while(s!==null);x===null?m=x=o:x=x.next=o}else m=x=o;s={baseState:h.baseState,firstBaseUpdate:m,lastBaseUpdate:x,shared:h.shared,effects:h.effects},i.updateQueue=s;return}i=s.lastBaseUpdate,i===null?s.firstBaseUpdate=o:i.next=o,s.lastBaseUpdate=o}function Uu(i,o,s,h){var m=i.updateQueue;zn=!1;var x=m.firstBaseUpdate,k=m.lastBaseUpdate,M=m.shared.pending;if(M!==null){m.shared.pending=null;var z=M,J=z.next;z.next=null,k===null?x=J:k.next=J,k=z;var ae=i.alternate;ae!==null&&(ae=ae.updateQueue,M=ae.lastBaseUpdate,M!==k&&(M===null?ae.firstBaseUpdate=J:M.next=J,ae.lastBaseUpdate=z))}if(x!==null){var le=m.baseState;k=0,ae=J=z=null,M=x;do{var ie=M.lane,de=M.eventTime;if((h&ie)===ie){ae!==null&&(ae=ae.next={eventTime:de,lane:0,tag:M.tag,payload:M.payload,callback:M.callback,next:null});e:{var me=i,ye=M;switch(ie=o,de=s,ye.tag){case 1:if(me=ye.payload,typeof me=="function"){le=me.call(de,le,ie);break e}le=me;break e;case 3:me.flags=me.flags&-65537|128;case 0:if(me=ye.payload,ie=typeof me=="function"?me.call(de,le,ie):me,ie==null)break e;le=Z({},le,ie);break e;case 2:zn=!0}}M.callback!==null&&M.lane!==0&&(i.flags|=64,ie=m.effects,ie===null?m.effects=[M]:ie.push(M))}else de={eventTime:de,lane:ie,tag:M.tag,payload:M.payload,callback:M.callback,next:null},ae===null?(J=ae=de,z=le):ae=ae.next=de,k|=ie;if(M=M.next,M===null){if(M=m.shared.pending,M===null)break;ie=M,M=ie.next,ie.next=null,m.lastBaseUpdate=ie,m.shared.pending=null}}while(!0);if(ae===null&&(z=le),m.baseState=z,m.firstBaseUpdate=J,m.lastBaseUpdate=ae,o=m.shared.interleaved,o!==null){m=o;do k|=m.lane,m=m.next;while(m!==o)}else x===null&&(m.shared.lanes=0);Oi|=k,i.lanes=k,i.memoizedState=le}}function tx(i,o,s){if(i=o.effects,o.effects=null,i!==null)for(o=0;o<i.length;o++){var h=i[o],m=h.callback;if(m!==null){if(h.callback=null,h=s,typeof m!="function")throw Error(r(191,m));m.call(h)}}}var Lo={},Kr=Ln(Lo),Bo=Ln(Lo),qo=Ln(Lo);function Si(i){if(i===Lo)throw Error(r(174));return i}function ud(i,o){switch(Xe(qo,o),Xe(Bo,i),Xe(Kr,Lo),i=o.nodeType,i){case 9:case 11:o=(o=o.documentElement)?o.namespaceURI:ho(null,"");break;default:i=i===8?o.parentNode:o,o=i.namespaceURI||null,i=i.tagName,o=ho(o,i)}Je(Kr),Xe(Kr,o)}function pa(){Je(Kr),Je(Bo),Je(qo)}function rx(i){Si(qo.current);var o=Si(Kr.current),s=ho(o,i.type);o!==s&&(Xe(Bo,i),Xe(Kr,s))}function sd(i){Bo.current===i&&(Je(Kr),Je(Bo))}var it=Ln(0);function Wu(i){for(var o=i;o!==null;){if(o.tag===13){var s=o.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||s.data==="$?"||s.data==="$!"))return o}else if(o.tag===19&&o.memoizedProps.revealOrder!==void 0){if((o.flags&128)!==0)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===i)break;for(;o.sibling===null;){if(o.return===null||o.return===i)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var cd=[];function fd(){for(var i=0;i<cd.length;i++)cd[i]._workInProgressVersionPrimary=null;cd.length=0}var Hu=T.ReactCurrentDispatcher,dd=T.ReactCurrentBatchConfig,_i=0,at=null,gt=null,Pt=null,Vu=!1,zo=!1,Fo=0,u2=0;function Lt(){throw Error(r(321))}function hd(i,o){if(o===null)return!1;for(var s=0;s<o.length&&s<i.length;s++)if(!Nr(i[s],o[s]))return!1;return!0}function pd(i,o,s,h,m,x){if(_i=x,at=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,Hu.current=i===null||i.memoizedState===null?d2:h2,i=s(h,m),zo){x=0;do{if(zo=!1,Fo=0,25<=x)throw Error(r(301));x+=1,Pt=gt=null,o.updateQueue=null,Hu.current=p2,i=s(h,m)}while(zo)}if(Hu.current=Xu,o=gt!==null&>.next!==null,_i=0,Pt=gt=at=null,Vu=!1,o)throw Error(r(300));return i}function vd(){var i=Fo!==0;return Fo=0,i}function Xr(){var i={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Pt===null?at.memoizedState=Pt=i:Pt=Pt.next=i,Pt}function br(){if(gt===null){var i=at.alternate;i=i!==null?i.memoizedState:null}else i=gt.next;var o=Pt===null?at.memoizedState:Pt.next;if(o!==null)Pt=o,gt=i;else{if(i===null)throw Error(r(310));gt=i,i={memoizedState:gt.memoizedState,baseState:gt.baseState,baseQueue:gt.baseQueue,queue:gt.queue,next:null},Pt===null?at.memoizedState=Pt=i:Pt=Pt.next=i}return Pt}function Uo(i,o){return typeof o=="function"?o(i):o}function md(i){var o=br(),s=o.queue;if(s===null)throw Error(r(311));s.lastRenderedReducer=i;var h=gt,m=h.baseQueue,x=s.pending;if(x!==null){if(m!==null){var k=m.next;m.next=x.next,x.next=k}h.baseQueue=m=x,s.pending=null}if(m!==null){x=m.next,h=h.baseState;var M=k=null,z=null,J=x;do{var ae=J.lane;if((_i&ae)===ae)z!==null&&(z=z.next={lane:0,action:J.action,hasEagerState:J.hasEagerState,eagerState:J.eagerState,next:null}),h=J.hasEagerState?J.eagerState:i(h,J.action);else{var le={lane:ae,action:J.action,hasEagerState:J.hasEagerState,eagerState:J.eagerState,next:null};z===null?(M=z=le,k=h):z=z.next=le,at.lanes|=ae,Oi|=ae}J=J.next}while(J!==null&&J!==x);z===null?k=h:z.next=M,Nr(h,o.memoizedState)||(Jt=!0),o.memoizedState=h,o.baseState=k,o.baseQueue=z,s.lastRenderedState=h}if(i=s.interleaved,i!==null){m=i;do x=m.lane,at.lanes|=x,Oi|=x,m=m.next;while(m!==i)}else m===null&&(s.lanes=0);return[o.memoizedState,s.dispatch]}function yd(i){var o=br(),s=o.queue;if(s===null)throw Error(r(311));s.lastRenderedReducer=i;var h=s.dispatch,m=s.pending,x=o.memoizedState;if(m!==null){s.pending=null;var k=m=m.next;do x=i(x,k.action),k=k.next;while(k!==m);Nr(x,o.memoizedState)||(Jt=!0),o.memoizedState=x,o.baseQueue===null&&(o.baseState=x),s.lastRenderedState=x}return[x,h]}function nx(){}function ix(i,o){var s=at,h=br(),m=o(),x=!Nr(h.memoizedState,m);if(x&&(h.memoizedState=m,Jt=!0),h=h.queue,gd(lx.bind(null,s,h,i),[i]),h.getSnapshot!==o||x||Pt!==null&&Pt.memoizedState.tag&1){if(s.flags|=2048,Wo(9,ox.bind(null,s,h,m,o),void 0,null),At===null)throw Error(r(349));(_i&30)!==0||ax(s,o,m)}return m}function ax(i,o,s){i.flags|=16384,i={getSnapshot:o,value:s},o=at.updateQueue,o===null?(o={lastEffect:null,stores:null},at.updateQueue=o,o.stores=[i]):(s=o.stores,s===null?o.stores=[i]:s.push(i))}function ox(i,o,s,h){o.value=s,o.getSnapshot=h,ux(o)&&sx(i)}function lx(i,o,s){return s(function(){ux(o)&&sx(i)})}function ux(i){var o=i.getSnapshot;i=i.value;try{var s=o();return!Nr(i,s)}catch{return!0}}function sx(i){var o=sn(i,1);o!==null&&Dr(o,i,1,-1)}function cx(i){var o=Xr();return typeof i=="function"&&(i=i()),o.memoizedState=o.baseState=i,i={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Uo,lastRenderedState:i},o.queue=i,i=i.dispatch=f2.bind(null,at,i),[o.memoizedState,i]}function Wo(i,o,s,h){return i={tag:i,create:o,destroy:s,deps:h,next:null},o=at.updateQueue,o===null?(o={lastEffect:null,stores:null},at.updateQueue=o,o.lastEffect=i.next=i):(s=o.lastEffect,s===null?o.lastEffect=i.next=i:(h=s.next,s.next=i,i.next=h,o.lastEffect=i)),i}function fx(){return br().memoizedState}function Gu(i,o,s,h){var m=Xr();at.flags|=i,m.memoizedState=Wo(1|o,s,void 0,h===void 0?null:h)}function Ku(i,o,s,h){var m=br();h=h===void 0?null:h;var x=void 0;if(gt!==null){var k=gt.memoizedState;if(x=k.destroy,h!==null&&hd(h,k.deps)){m.memoizedState=Wo(o,s,x,h);return}}at.flags|=i,m.memoizedState=Wo(1|o,s,x,h)}function dx(i,o){return Gu(8390656,8,i,o)}function gd(i,o){return Ku(2048,8,i,o)}function hx(i,o){return Ku(4,2,i,o)}function px(i,o){return Ku(4,4,i,o)}function vx(i,o){if(typeof o=="function")return i=i(),o(i),function(){o(null)};if(o!=null)return i=i(),o.current=i,function(){o.current=null}}function mx(i,o,s){return s=s!=null?s.concat([i]):null,Ku(4,4,vx.bind(null,o,i),s)}function bd(){}function yx(i,o){var s=br();o=o===void 0?null:o;var h=s.memoizedState;return h!==null&&o!==null&&hd(o,h[1])?h[0]:(s.memoizedState=[i,o],i)}function gx(i,o){var s=br();o=o===void 0?null:o;var h=s.memoizedState;return h!==null&&o!==null&&hd(o,h[1])?h[0]:(i=i(),s.memoizedState=[i,o],i)}function bx(i,o,s){return(_i&21)===0?(i.baseState&&(i.baseState=!1,Jt=!0),i.memoizedState=s):(Nr(s,o)||(s=X0(),at.lanes|=s,Oi|=s,i.baseState=!0),o)}function s2(i,o){var s=Fe;Fe=s!==0&&4>s?s:4,i(!0);var h=dd.transition;dd.transition={};try{i(!1),o()}finally{Fe=s,dd.transition=h}}function xx(){return br().memoizedState}function c2(i,o,s){var h=Vn(i);if(s={lane:h,action:s,hasEagerState:!1,eagerState:null,next:null},wx(i))Sx(o,s);else if(s=Zb(i,o,s,h),s!==null){var m=Gt();Dr(s,i,h,m),_x(s,o,h)}}function f2(i,o,s){var h=Vn(i),m={lane:h,action:s,hasEagerState:!1,eagerState:null,next:null};if(wx(i))Sx(o,m);else{var x=i.alternate;if(i.lanes===0&&(x===null||x.lanes===0)&&(x=o.lastRenderedReducer,x!==null))try{var k=o.lastRenderedState,M=x(k,s);if(m.hasEagerState=!0,m.eagerState=M,Nr(M,k)){var z=o.interleaved;z===null?(m.next=m,od(o)):(m.next=z.next,z.next=m),o.interleaved=m;return}}catch{}finally{}s=Zb(i,o,m,h),s!==null&&(m=Gt(),Dr(s,i,h,m),_x(s,o,h))}}function wx(i){var o=i.alternate;return i===at||o!==null&&o===at}function Sx(i,o){zo=Vu=!0;var s=i.pending;s===null?o.next=o:(o.next=s.next,s.next=o),i.pending=o}function _x(i,o,s){if((s&4194240)!==0){var h=o.lanes;h&=i.pendingLanes,s|=h,o.lanes=s,wf(i,s)}}var Xu={readContext:gr,useCallback:Lt,useContext:Lt,useEffect:Lt,useImperativeHandle:Lt,useInsertionEffect:Lt,useLayoutEffect:Lt,useMemo:Lt,useReducer:Lt,useRef:Lt,useState:Lt,useDebugValue:Lt,useDeferredValue:Lt,useTransition:Lt,useMutableSource:Lt,useSyncExternalStore:Lt,useId:Lt,unstable_isNewReconciler:!1},d2={readContext:gr,useCallback:function(i,o){return Xr().memoizedState=[i,o===void 0?null:o],i},useContext:gr,useEffect:dx,useImperativeHandle:function(i,o,s){return s=s!=null?s.concat([i]):null,Gu(4194308,4,vx.bind(null,o,i),s)},useLayoutEffect:function(i,o){return Gu(4194308,4,i,o)},useInsertionEffect:function(i,o){return Gu(4,2,i,o)},useMemo:function(i,o){var s=Xr();return o=o===void 0?null:o,i=i(),s.memoizedState=[i,o],i},useReducer:function(i,o,s){var h=Xr();return o=s!==void 0?s(o):o,h.memoizedState=h.baseState=o,i={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:o},h.queue=i,i=i.dispatch=c2.bind(null,at,i),[h.memoizedState,i]},useRef:function(i){var o=Xr();return i={current:i},o.memoizedState=i},useState:cx,useDebugValue:bd,useDeferredValue:function(i){return Xr().memoizedState=i},useTransition:function(){var i=cx(!1),o=i[0];return i=s2.bind(null,i[1]),Xr().memoizedState=i,[o,i]},useMutableSource:function(){},useSyncExternalStore:function(i,o,s){var h=at,m=Xr();if(tt){if(s===void 0)throw Error(r(407));s=s()}else{if(s=o(),At===null)throw Error(r(349));(_i&30)!==0||ax(h,o,s)}m.memoizedState=s;var x={value:s,getSnapshot:o};return m.queue=x,dx(lx.bind(null,h,x,i),[i]),h.flags|=2048,Wo(9,ox.bind(null,h,x,s,o),void 0,null),s},useId:function(){var i=Xr(),o=At.identifierPrefix;if(tt){var s=un,h=ln;s=(h&~(1<<32-Cr(h)-1)).toString(32)+s,o=":"+o+"R"+s,s=Fo++,0<s&&(o+="H"+s.toString(32)),o+=":"}else s=u2++,o=":"+o+"r"+s.toString(32)+":";return i.memoizedState=o},unstable_isNewReconciler:!1},h2={readContext:gr,useCallback:yx,useContext:gr,useEffect:gd,useImperativeHandle:mx,useInsertionEffect:hx,useLayoutEffect:px,useMemo:gx,useReducer:md,useRef:fx,useState:function(){return md(Uo)},useDebugValue:bd,useDeferredValue:function(i){var o=br();return bx(o,gt.memoizedState,i)},useTransition:function(){var i=md(Uo)[0],o=br().memoizedState;return[i,o]},useMutableSource:nx,useSyncExternalStore:ix,useId:xx,unstable_isNewReconciler:!1},p2={readContext:gr,useCallback:yx,useContext:gr,useEffect:gd,useImperativeHandle:mx,useInsertionEffect:hx,useLayoutEffect:px,useMemo:gx,useReducer:yd,useRef:fx,useState:function(){return yd(Uo)},useDebugValue:bd,useDeferredValue:function(i){var o=br();return gt===null?o.memoizedState=i:bx(o,gt.memoizedState,i)},useTransition:function(){var i=yd(Uo)[0],o=br().memoizedState;return[i,o]},useMutableSource:nx,useSyncExternalStore:ix,useId:xx,unstable_isNewReconciler:!1};function Ir(i,o){if(i&&i.defaultProps){o=Z({},o),i=i.defaultProps;for(var s in i)o[s]===void 0&&(o[s]=i[s]);return o}return o}function xd(i,o,s,h){o=i.memoizedState,s=s(h,o),s=s==null?o:Z({},o,s),i.memoizedState=s,i.lanes===0&&(i.updateQueue.baseState=s)}var Yu={isMounted:function(i){return(i=i._reactInternals)?mi(i)===i:!1},enqueueSetState:function(i,o,s){i=i._reactInternals;var h=Gt(),m=Vn(i),x=cn(h,m);x.payload=o,s!=null&&(x.callback=s),o=Fn(i,x,m),o!==null&&(Dr(o,i,m,h),Fu(o,i,m))},enqueueReplaceState:function(i,o,s){i=i._reactInternals;var h=Gt(),m=Vn(i),x=cn(h,m);x.tag=1,x.payload=o,s!=null&&(x.callback=s),o=Fn(i,x,m),o!==null&&(Dr(o,i,m,h),Fu(o,i,m))},enqueueForceUpdate:function(i,o){i=i._reactInternals;var s=Gt(),h=Vn(i),m=cn(s,h);m.tag=2,o!=null&&(m.callback=o),o=Fn(i,m,h),o!==null&&(Dr(o,i,h,s),Fu(o,i,h))}};function Ox(i,o,s,h,m,x,k){return i=i.stateNode,typeof i.shouldComponentUpdate=="function"?i.shouldComponentUpdate(h,x,k):o.prototype&&o.prototype.isPureReactComponent?!To(s,h)||!To(m,x):!0}function jx(i,o,s){var h=!1,m=Bn,x=o.contextType;return typeof x=="object"&&x!==null?x=gr(x):(m=Zt(o)?gi:Dt.current,h=o.contextTypes,x=(h=h!=null)?la(i,m):Bn),o=new o(s,x),i.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=Yu,i.stateNode=o,o._reactInternals=i,h&&(i=i.stateNode,i.__reactInternalMemoizedUnmaskedChildContext=m,i.__reactInternalMemoizedMaskedChildContext=x),o}function Px(i,o,s,h){i=o.state,typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(s,h),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(s,h),o.state!==i&&Yu.enqueueReplaceState(o,o.state,null)}function wd(i,o,s,h){var m=i.stateNode;m.props=s,m.state=i.memoizedState,m.refs={},ld(i);var x=o.contextType;typeof x=="object"&&x!==null?m.context=gr(x):(x=Zt(o)?gi:Dt.current,m.context=la(i,x)),m.state=i.memoizedState,x=o.getDerivedStateFromProps,typeof x=="function"&&(xd(i,o,x,s),m.state=i.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof m.getSnapshotBeforeUpdate=="function"||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(o=m.state,typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount(),o!==m.state&&Yu.enqueueReplaceState(m,m.state,null),Uu(i,s,m,h),m.state=i.memoizedState),typeof m.componentDidMount=="function"&&(i.flags|=4194308)}function va(i,o){try{var s="",h=o;do s+=we(h),h=h.return;while(h);var m=s}catch(x){m=`
|
|
39
|
+
Error generating stack: `+x.message+`
|
|
40
|
+
`+x.stack}return{value:i,source:o,stack:m,digest:null}}function Sd(i,o,s){return{value:i,source:null,stack:s??null,digest:o??null}}function _d(i,o){try{console.error(o.value)}catch(s){setTimeout(function(){throw s})}}var v2=typeof WeakMap=="function"?WeakMap:Map;function Ax(i,o,s){s=cn(-1,s),s.tag=3,s.payload={element:null};var h=o.value;return s.callback=function(){ns||(ns=!0,Ld=h),_d(i,o)},s}function Ex(i,o,s){s=cn(-1,s),s.tag=3;var h=i.type.getDerivedStateFromError;if(typeof h=="function"){var m=o.value;s.payload=function(){return h(m)},s.callback=function(){_d(i,o)}}var x=i.stateNode;return x!==null&&typeof x.componentDidCatch=="function"&&(s.callback=function(){_d(i,o),typeof h!="function"&&(Wn===null?Wn=new Set([this]):Wn.add(this));var k=o.stack;this.componentDidCatch(o.value,{componentStack:k!==null?k:""})}),s}function kx(i,o,s){var h=i.pingCache;if(h===null){h=i.pingCache=new v2;var m=new Set;h.set(o,m)}else m=h.get(o),m===void 0&&(m=new Set,h.set(o,m));m.has(s)||(m.add(s),i=k2.bind(null,i,o,s),o.then(i,i))}function Tx(i){do{var o;if((o=i.tag===13)&&(o=i.memoizedState,o=o!==null?o.dehydrated!==null:!0),o)return i;i=i.return}while(i!==null);return null}function Cx(i,o,s,h,m){return(i.mode&1)===0?(i===o?i.flags|=65536:(i.flags|=128,s.flags|=131072,s.flags&=-52805,s.tag===1&&(s.alternate===null?s.tag=17:(o=cn(-1,1),o.tag=2,Fn(s,o,1))),s.lanes|=1),i):(i.flags|=65536,i.lanes=m,i)}var m2=T.ReactCurrentOwner,Jt=!1;function Vt(i,o,s,h){o.child=i===null?Qb(o,null,s,h):fa(o,i.child,s,h)}function Nx(i,o,s,h,m){s=s.render;var x=o.ref;return ha(o,m),h=pd(i,o,s,h,x,m),s=vd(),i!==null&&!Jt?(o.updateQueue=i.updateQueue,o.flags&=-2053,i.lanes&=~m,fn(i,o,m)):(tt&&s&&Qf(o),o.flags|=1,Vt(i,o,h,m),o.child)}function Mx(i,o,s,h,m){if(i===null){var x=s.type;return typeof x=="function"&&!Hd(x)&&x.defaultProps===void 0&&s.compare===null&&s.defaultProps===void 0?(o.tag=15,o.type=x,Ix(i,o,x,h,m)):(i=ss(s.type,null,h,o,o.mode,m),i.ref=o.ref,i.return=o,o.child=i)}if(x=i.child,(i.lanes&m)===0){var k=x.memoizedProps;if(s=s.compare,s=s!==null?s:To,s(k,h)&&i.ref===o.ref)return fn(i,o,m)}return o.flags|=1,i=Kn(x,h),i.ref=o.ref,i.return=o,o.child=i}function Ix(i,o,s,h,m){if(i!==null){var x=i.memoizedProps;if(To(x,h)&&i.ref===o.ref)if(Jt=!1,o.pendingProps=h=x,(i.lanes&m)!==0)(i.flags&131072)!==0&&(Jt=!0);else return o.lanes=i.lanes,fn(i,o,m)}return Od(i,o,s,h,m)}function $x(i,o,s){var h=o.pendingProps,m=h.children,x=i!==null?i.memoizedState:null;if(h.mode==="hidden")if((o.mode&1)===0)o.memoizedState={baseLanes:0,cachePool:null,transitions:null},Xe(ya,sr),sr|=s;else{if((s&1073741824)===0)return i=x!==null?x.baseLanes|s:s,o.lanes=o.childLanes=1073741824,o.memoizedState={baseLanes:i,cachePool:null,transitions:null},o.updateQueue=null,Xe(ya,sr),sr|=i,null;o.memoizedState={baseLanes:0,cachePool:null,transitions:null},h=x!==null?x.baseLanes:s,Xe(ya,sr),sr|=h}else x!==null?(h=x.baseLanes|s,o.memoizedState=null):h=s,Xe(ya,sr),sr|=h;return Vt(i,o,m,s),o.child}function Rx(i,o){var s=o.ref;(i===null&&s!==null||i!==null&&i.ref!==s)&&(o.flags|=512,o.flags|=2097152)}function Od(i,o,s,h,m){var x=Zt(s)?gi:Dt.current;return x=la(o,x),ha(o,m),s=pd(i,o,s,h,x,m),h=vd(),i!==null&&!Jt?(o.updateQueue=i.updateQueue,o.flags&=-2053,i.lanes&=~m,fn(i,o,m)):(tt&&h&&Qf(o),o.flags|=1,Vt(i,o,s,m),o.child)}function Dx(i,o,s,h,m){if(Zt(s)){var x=!0;Iu(o)}else x=!1;if(ha(o,m),o.stateNode===null)Zu(i,o),jx(o,s,h),wd(o,s,h,m),h=!0;else if(i===null){var k=o.stateNode,M=o.memoizedProps;k.props=M;var z=k.context,J=s.contextType;typeof J=="object"&&J!==null?J=gr(J):(J=Zt(s)?gi:Dt.current,J=la(o,J));var ae=s.getDerivedStateFromProps,le=typeof ae=="function"||typeof k.getSnapshotBeforeUpdate=="function";le||typeof k.UNSAFE_componentWillReceiveProps!="function"&&typeof k.componentWillReceiveProps!="function"||(M!==h||z!==J)&&Px(o,k,h,J),zn=!1;var ie=o.memoizedState;k.state=ie,Uu(o,h,k,m),z=o.memoizedState,M!==h||ie!==z||Qt.current||zn?(typeof ae=="function"&&(xd(o,s,ae,h),z=o.memoizedState),(M=zn||Ox(o,s,M,h,ie,z,J))?(le||typeof k.UNSAFE_componentWillMount!="function"&&typeof k.componentWillMount!="function"||(typeof k.componentWillMount=="function"&&k.componentWillMount(),typeof k.UNSAFE_componentWillMount=="function"&&k.UNSAFE_componentWillMount()),typeof k.componentDidMount=="function"&&(o.flags|=4194308)):(typeof k.componentDidMount=="function"&&(o.flags|=4194308),o.memoizedProps=h,o.memoizedState=z),k.props=h,k.state=z,k.context=J,h=M):(typeof k.componentDidMount=="function"&&(o.flags|=4194308),h=!1)}else{k=o.stateNode,Jb(i,o),M=o.memoizedProps,J=o.type===o.elementType?M:Ir(o.type,M),k.props=J,le=o.pendingProps,ie=k.context,z=s.contextType,typeof z=="object"&&z!==null?z=gr(z):(z=Zt(s)?gi:Dt.current,z=la(o,z));var de=s.getDerivedStateFromProps;(ae=typeof de=="function"||typeof k.getSnapshotBeforeUpdate=="function")||typeof k.UNSAFE_componentWillReceiveProps!="function"&&typeof k.componentWillReceiveProps!="function"||(M!==le||ie!==z)&&Px(o,k,h,z),zn=!1,ie=o.memoizedState,k.state=ie,Uu(o,h,k,m);var me=o.memoizedState;M!==le||ie!==me||Qt.current||zn?(typeof de=="function"&&(xd(o,s,de,h),me=o.memoizedState),(J=zn||Ox(o,s,J,h,ie,me,z)||!1)?(ae||typeof k.UNSAFE_componentWillUpdate!="function"&&typeof k.componentWillUpdate!="function"||(typeof k.componentWillUpdate=="function"&&k.componentWillUpdate(h,me,z),typeof k.UNSAFE_componentWillUpdate=="function"&&k.UNSAFE_componentWillUpdate(h,me,z)),typeof k.componentDidUpdate=="function"&&(o.flags|=4),typeof k.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof k.componentDidUpdate!="function"||M===i.memoizedProps&&ie===i.memoizedState||(o.flags|=4),typeof k.getSnapshotBeforeUpdate!="function"||M===i.memoizedProps&&ie===i.memoizedState||(o.flags|=1024),o.memoizedProps=h,o.memoizedState=me),k.props=h,k.state=me,k.context=z,h=J):(typeof k.componentDidUpdate!="function"||M===i.memoizedProps&&ie===i.memoizedState||(o.flags|=4),typeof k.getSnapshotBeforeUpdate!="function"||M===i.memoizedProps&&ie===i.memoizedState||(o.flags|=1024),h=!1)}return jd(i,o,s,h,x,m)}function jd(i,o,s,h,m,x){Rx(i,o);var k=(o.flags&128)!==0;if(!h&&!k)return m&&Fb(o,s,!1),fn(i,o,x);h=o.stateNode,m2.current=o;var M=k&&typeof s.getDerivedStateFromError!="function"?null:h.render();return o.flags|=1,i!==null&&k?(o.child=fa(o,i.child,null,x),o.child=fa(o,null,M,x)):Vt(i,o,M,x),o.memoizedState=h.state,m&&Fb(o,s,!0),o.child}function Lx(i){var o=i.stateNode;o.pendingContext?qb(i,o.pendingContext,o.pendingContext!==o.context):o.context&&qb(i,o.context,!1),ud(i,o.containerInfo)}function Bx(i,o,s,h,m){return ca(),td(m),o.flags|=256,Vt(i,o,s,h),o.child}var Pd={dehydrated:null,treeContext:null,retryLane:0};function Ad(i){return{baseLanes:i,cachePool:null,transitions:null}}function qx(i,o,s){var h=o.pendingProps,m=it.current,x=!1,k=(o.flags&128)!==0,M;if((M=k)||(M=i!==null&&i.memoizedState===null?!1:(m&2)!==0),M?(x=!0,o.flags&=-129):(i===null||i.memoizedState!==null)&&(m|=1),Xe(it,m&1),i===null)return ed(o),i=o.memoizedState,i!==null&&(i=i.dehydrated,i!==null)?((o.mode&1)===0?o.lanes=1:i.data==="$!"?o.lanes=8:o.lanes=1073741824,null):(k=h.children,i=h.fallback,x?(h=o.mode,x=o.child,k={mode:"hidden",children:k},(h&1)===0&&x!==null?(x.childLanes=0,x.pendingProps=k):x=cs(k,h,0,null),i=Ei(i,h,s,null),x.return=o,i.return=o,x.sibling=i,o.child=x,o.child.memoizedState=Ad(s),o.memoizedState=Pd,i):Ed(o,k));if(m=i.memoizedState,m!==null&&(M=m.dehydrated,M!==null))return y2(i,o,k,h,M,m,s);if(x){x=h.fallback,k=o.mode,m=i.child,M=m.sibling;var z={mode:"hidden",children:h.children};return(k&1)===0&&o.child!==m?(h=o.child,h.childLanes=0,h.pendingProps=z,o.deletions=null):(h=Kn(m,z),h.subtreeFlags=m.subtreeFlags&14680064),M!==null?x=Kn(M,x):(x=Ei(x,k,s,null),x.flags|=2),x.return=o,h.return=o,h.sibling=x,o.child=h,h=x,x=o.child,k=i.child.memoizedState,k=k===null?Ad(s):{baseLanes:k.baseLanes|s,cachePool:null,transitions:k.transitions},x.memoizedState=k,x.childLanes=i.childLanes&~s,o.memoizedState=Pd,h}return x=i.child,i=x.sibling,h=Kn(x,{mode:"visible",children:h.children}),(o.mode&1)===0&&(h.lanes=s),h.return=o,h.sibling=null,i!==null&&(s=o.deletions,s===null?(o.deletions=[i],o.flags|=16):s.push(i)),o.child=h,o.memoizedState=null,h}function Ed(i,o){return o=cs({mode:"visible",children:o},i.mode,0,null),o.return=i,i.child=o}function Qu(i,o,s,h){return h!==null&&td(h),fa(o,i.child,null,s),i=Ed(o,o.pendingProps.children),i.flags|=2,o.memoizedState=null,i}function y2(i,o,s,h,m,x,k){if(s)return o.flags&256?(o.flags&=-257,h=Sd(Error(r(422))),Qu(i,o,k,h)):o.memoizedState!==null?(o.child=i.child,o.flags|=128,null):(x=h.fallback,m=o.mode,h=cs({mode:"visible",children:h.children},m,0,null),x=Ei(x,m,k,null),x.flags|=2,h.return=o,x.return=o,h.sibling=x,o.child=h,(o.mode&1)!==0&&fa(o,i.child,null,k),o.child.memoizedState=Ad(k),o.memoizedState=Pd,x);if((o.mode&1)===0)return Qu(i,o,k,null);if(m.data==="$!"){if(h=m.nextSibling&&m.nextSibling.dataset,h)var M=h.dgst;return h=M,x=Error(r(419)),h=Sd(x,h,void 0),Qu(i,o,k,h)}if(M=(k&i.childLanes)!==0,Jt||M){if(h=At,h!==null){switch(k&-k){case 4:m=2;break;case 16:m=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:m=32;break;case 536870912:m=268435456;break;default:m=0}m=(m&(h.suspendedLanes|k))!==0?0:m,m!==0&&m!==x.retryLane&&(x.retryLane=m,sn(i,m),Dr(h,i,m,-1))}return Wd(),h=Sd(Error(r(421))),Qu(i,o,k,h)}return m.data==="$?"?(o.flags|=128,o.child=i.child,o=T2.bind(null,i),m._reactRetry=o,null):(i=x.treeContext,ur=Dn(m.nextSibling),lr=o,tt=!0,Mr=null,i!==null&&(mr[yr++]=ln,mr[yr++]=un,mr[yr++]=bi,ln=i.id,un=i.overflow,bi=o),o=Ed(o,h.children),o.flags|=4096,o)}function zx(i,o,s){i.lanes|=o;var h=i.alternate;h!==null&&(h.lanes|=o),ad(i.return,o,s)}function kd(i,o,s,h,m){var x=i.memoizedState;x===null?i.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:h,tail:s,tailMode:m}:(x.isBackwards=o,x.rendering=null,x.renderingStartTime=0,x.last=h,x.tail=s,x.tailMode=m)}function Fx(i,o,s){var h=o.pendingProps,m=h.revealOrder,x=h.tail;if(Vt(i,o,h.children,s),h=it.current,(h&2)!==0)h=h&1|2,o.flags|=128;else{if(i!==null&&(i.flags&128)!==0)e:for(i=o.child;i!==null;){if(i.tag===13)i.memoizedState!==null&&zx(i,s,o);else if(i.tag===19)zx(i,s,o);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===o)break e;for(;i.sibling===null;){if(i.return===null||i.return===o)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}h&=1}if(Xe(it,h),(o.mode&1)===0)o.memoizedState=null;else switch(m){case"forwards":for(s=o.child,m=null;s!==null;)i=s.alternate,i!==null&&Wu(i)===null&&(m=s),s=s.sibling;s=m,s===null?(m=o.child,o.child=null):(m=s.sibling,s.sibling=null),kd(o,!1,m,s,x);break;case"backwards":for(s=null,m=o.child,o.child=null;m!==null;){if(i=m.alternate,i!==null&&Wu(i)===null){o.child=m;break}i=m.sibling,m.sibling=s,s=m,m=i}kd(o,!0,s,null,x);break;case"together":kd(o,!1,null,null,void 0);break;default:o.memoizedState=null}return o.child}function Zu(i,o){(o.mode&1)===0&&i!==null&&(i.alternate=null,o.alternate=null,o.flags|=2)}function fn(i,o,s){if(i!==null&&(o.dependencies=i.dependencies),Oi|=o.lanes,(s&o.childLanes)===0)return null;if(i!==null&&o.child!==i.child)throw Error(r(153));if(o.child!==null){for(i=o.child,s=Kn(i,i.pendingProps),o.child=s,s.return=o;i.sibling!==null;)i=i.sibling,s=s.sibling=Kn(i,i.pendingProps),s.return=o;s.sibling=null}return o.child}function g2(i,o,s){switch(o.tag){case 3:Lx(o),ca();break;case 5:rx(o);break;case 1:Zt(o.type)&&Iu(o);break;case 4:ud(o,o.stateNode.containerInfo);break;case 10:var h=o.type._context,m=o.memoizedProps.value;Xe(qu,h._currentValue),h._currentValue=m;break;case 13:if(h=o.memoizedState,h!==null)return h.dehydrated!==null?(Xe(it,it.current&1),o.flags|=128,null):(s&o.child.childLanes)!==0?qx(i,o,s):(Xe(it,it.current&1),i=fn(i,o,s),i!==null?i.sibling:null);Xe(it,it.current&1);break;case 19:if(h=(s&o.childLanes)!==0,(i.flags&128)!==0){if(h)return Fx(i,o,s);o.flags|=128}if(m=o.memoizedState,m!==null&&(m.rendering=null,m.tail=null,m.lastEffect=null),Xe(it,it.current),h)break;return null;case 22:case 23:return o.lanes=0,$x(i,o,s)}return fn(i,o,s)}var Ux,Td,Wx,Hx;Ux=function(i,o){for(var s=o.child;s!==null;){if(s.tag===5||s.tag===6)i.appendChild(s.stateNode);else if(s.tag!==4&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===o)break;for(;s.sibling===null;){if(s.return===null||s.return===o)return;s=s.return}s.sibling.return=s.return,s=s.sibling}},Td=function(){},Wx=function(i,o,s,h){var m=i.memoizedProps;if(m!==h){i=o.stateNode,Si(Kr.current);var x=null;switch(s){case"input":m=ke(i,m),h=ke(i,h),x=[];break;case"select":m=Z({},m,{value:void 0}),h=Z({},h,{value:void 0}),x=[];break;case"textarea":m=yt(i,m),h=yt(i,h),x=[];break;default:typeof m.onClick!="function"&&typeof h.onClick=="function"&&(i.onclick=Cu)}Ge(s,h);var k;s=null;for(J in m)if(!h.hasOwnProperty(J)&&m.hasOwnProperty(J)&&m[J]!=null)if(J==="style"){var M=m[J];for(k in M)M.hasOwnProperty(k)&&(s||(s={}),s[k]="")}else J!=="dangerouslySetInnerHTML"&&J!=="children"&&J!=="suppressContentEditableWarning"&&J!=="suppressHydrationWarning"&&J!=="autoFocus"&&(a.hasOwnProperty(J)?x||(x=[]):(x=x||[]).push(J,null));for(J in h){var z=h[J];if(M=m!=null?m[J]:void 0,h.hasOwnProperty(J)&&z!==M&&(z!=null||M!=null))if(J==="style")if(M){for(k in M)!M.hasOwnProperty(k)||z&&z.hasOwnProperty(k)||(s||(s={}),s[k]="");for(k in z)z.hasOwnProperty(k)&&M[k]!==z[k]&&(s||(s={}),s[k]=z[k])}else s||(x||(x=[]),x.push(J,s)),s=z;else J==="dangerouslySetInnerHTML"?(z=z?z.__html:void 0,M=M?M.__html:void 0,z!=null&&M!==z&&(x=x||[]).push(J,z)):J==="children"?typeof z!="string"&&typeof z!="number"||(x=x||[]).push(J,""+z):J!=="suppressContentEditableWarning"&&J!=="suppressHydrationWarning"&&(a.hasOwnProperty(J)?(z!=null&&J==="onScroll"&&Ze("scroll",i),x||M===z||(x=[])):(x=x||[]).push(J,z))}s&&(x=x||[]).push("style",s);var J=x;(o.updateQueue=J)&&(o.flags|=4)}},Hx=function(i,o,s,h){s!==h&&(o.flags|=4)};function Ho(i,o){if(!tt)switch(i.tailMode){case"hidden":o=i.tail;for(var s=null;o!==null;)o.alternate!==null&&(s=o),o=o.sibling;s===null?i.tail=null:s.sibling=null;break;case"collapsed":s=i.tail;for(var h=null;s!==null;)s.alternate!==null&&(h=s),s=s.sibling;h===null?o||i.tail===null?i.tail=null:i.tail.sibling=null:h.sibling=null}}function Bt(i){var o=i.alternate!==null&&i.alternate.child===i.child,s=0,h=0;if(o)for(var m=i.child;m!==null;)s|=m.lanes|m.childLanes,h|=m.subtreeFlags&14680064,h|=m.flags&14680064,m.return=i,m=m.sibling;else for(m=i.child;m!==null;)s|=m.lanes|m.childLanes,h|=m.subtreeFlags,h|=m.flags,m.return=i,m=m.sibling;return i.subtreeFlags|=h,i.childLanes=s,o}function b2(i,o,s){var h=o.pendingProps;switch(Zf(o),o.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Bt(o),null;case 1:return Zt(o.type)&&Mu(),Bt(o),null;case 3:return h=o.stateNode,pa(),Je(Qt),Je(Dt),fd(),h.pendingContext&&(h.context=h.pendingContext,h.pendingContext=null),(i===null||i.child===null)&&(Lu(o)?o.flags|=4:i===null||i.memoizedState.isDehydrated&&(o.flags&256)===0||(o.flags|=1024,Mr!==null&&(zd(Mr),Mr=null))),Td(i,o),Bt(o),null;case 5:sd(o);var m=Si(qo.current);if(s=o.type,i!==null&&o.stateNode!=null)Wx(i,o,s,h,m),i.ref!==o.ref&&(o.flags|=512,o.flags|=2097152);else{if(!h){if(o.stateNode===null)throw Error(r(166));return Bt(o),null}if(i=Si(Kr.current),Lu(o)){h=o.stateNode,s=o.type;var x=o.memoizedProps;switch(h[Gr]=o,h[$o]=x,i=(o.mode&1)!==0,s){case"dialog":Ze("cancel",h),Ze("close",h);break;case"iframe":case"object":case"embed":Ze("load",h);break;case"video":case"audio":for(m=0;m<No.length;m++)Ze(No[m],h);break;case"source":Ze("error",h);break;case"img":case"image":case"link":Ze("error",h),Ze("load",h);break;case"details":Ze("toggle",h);break;case"input":He(h,x),Ze("invalid",h);break;case"select":h._wrapperState={wasMultiple:!!x.multiple},Ze("invalid",h);break;case"textarea":pr(h,x),Ze("invalid",h)}Ge(s,x),m=null;for(var k in x)if(x.hasOwnProperty(k)){var M=x[k];k==="children"?typeof M=="string"?h.textContent!==M&&(x.suppressHydrationWarning!==!0&&Tu(h.textContent,M,i),m=["children",M]):typeof M=="number"&&h.textContent!==""+M&&(x.suppressHydrationWarning!==!0&&Tu(h.textContent,M,i),m=["children",""+M]):a.hasOwnProperty(k)&&M!=null&&k==="onScroll"&&Ze("scroll",h)}switch(s){case"input":be(h),$t(h,x,!0);break;case"textarea":be(h),pi(h);break;case"select":case"option":break;default:typeof x.onClick=="function"&&(h.onclick=Cu)}h=m,o.updateQueue=h,h!==null&&(o.flags|=4)}else{k=m.nodeType===9?m:m.ownerDocument,i==="http://www.w3.org/1999/xhtml"&&(i=fo(s)),i==="http://www.w3.org/1999/xhtml"?s==="script"?(i=k.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild)):typeof h.is=="string"?i=k.createElement(s,{is:h.is}):(i=k.createElement(s),s==="select"&&(k=i,h.multiple?k.multiple=!0:h.size&&(k.size=h.size))):i=k.createElementNS(i,s),i[Gr]=o,i[$o]=h,Ux(i,o,!1,!1),o.stateNode=i;e:{switch(k=Ht(s,h),s){case"dialog":Ze("cancel",i),Ze("close",i),m=h;break;case"iframe":case"object":case"embed":Ze("load",i),m=h;break;case"video":case"audio":for(m=0;m<No.length;m++)Ze(No[m],i);m=h;break;case"source":Ze("error",i),m=h;break;case"img":case"image":case"link":Ze("error",i),Ze("load",i),m=h;break;case"details":Ze("toggle",i),m=h;break;case"input":He(i,h),m=ke(i,h),Ze("invalid",i);break;case"option":m=h;break;case"select":i._wrapperState={wasMultiple:!!h.multiple},m=Z({},h,{value:void 0}),Ze("invalid",i);break;case"textarea":pr(i,h),m=yt(i,h),Ze("invalid",i);break;default:m=h}Ge(s,m),M=m;for(x in M)if(M.hasOwnProperty(x)){var z=M[x];x==="style"?fe(i,z):x==="dangerouslySetInnerHTML"?(z=z?z.__html:void 0,z!=null&&po(i,z)):x==="children"?typeof z=="string"?(s!=="textarea"||z!=="")&&kn(i,z):typeof z=="number"&&kn(i,""+z):x!=="suppressContentEditableWarning"&&x!=="suppressHydrationWarning"&&x!=="autoFocus"&&(a.hasOwnProperty(x)?z!=null&&x==="onScroll"&&Ze("scroll",i):z!=null&&E(i,x,z,k))}switch(s){case"input":be(i),$t(i,h,!1);break;case"textarea":be(i),pi(i);break;case"option":h.value!=null&&i.setAttribute("value",""+Pe(h.value));break;case"select":i.multiple=!!h.multiple,x=h.value,x!=null?jt(i,!!h.multiple,x,!1):h.defaultValue!=null&&jt(i,!!h.multiple,h.defaultValue,!0);break;default:typeof m.onClick=="function"&&(i.onclick=Cu)}switch(s){case"button":case"input":case"select":case"textarea":h=!!h.autoFocus;break e;case"img":h=!0;break e;default:h=!1}}h&&(o.flags|=4)}o.ref!==null&&(o.flags|=512,o.flags|=2097152)}return Bt(o),null;case 6:if(i&&o.stateNode!=null)Hx(i,o,i.memoizedProps,h);else{if(typeof h!="string"&&o.stateNode===null)throw Error(r(166));if(s=Si(qo.current),Si(Kr.current),Lu(o)){if(h=o.stateNode,s=o.memoizedProps,h[Gr]=o,(x=h.nodeValue!==s)&&(i=lr,i!==null))switch(i.tag){case 3:Tu(h.nodeValue,s,(i.mode&1)!==0);break;case 5:i.memoizedProps.suppressHydrationWarning!==!0&&Tu(h.nodeValue,s,(i.mode&1)!==0)}x&&(o.flags|=4)}else h=(s.nodeType===9?s:s.ownerDocument).createTextNode(h),h[Gr]=o,o.stateNode=h}return Bt(o),null;case 13:if(Je(it),h=o.memoizedState,i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){if(tt&&ur!==null&&(o.mode&1)!==0&&(o.flags&128)===0)Kb(),ca(),o.flags|=98560,x=!1;else if(x=Lu(o),h!==null&&h.dehydrated!==null){if(i===null){if(!x)throw Error(r(318));if(x=o.memoizedState,x=x!==null?x.dehydrated:null,!x)throw Error(r(317));x[Gr]=o}else ca(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;Bt(o),x=!1}else Mr!==null&&(zd(Mr),Mr=null),x=!0;if(!x)return o.flags&65536?o:null}return(o.flags&128)!==0?(o.lanes=s,o):(h=h!==null,h!==(i!==null&&i.memoizedState!==null)&&h&&(o.child.flags|=8192,(o.mode&1)!==0&&(i===null||(it.current&1)!==0?bt===0&&(bt=3):Wd())),o.updateQueue!==null&&(o.flags|=4),Bt(o),null);case 4:return pa(),Td(i,o),i===null&&Mo(o.stateNode.containerInfo),Bt(o),null;case 10:return id(o.type._context),Bt(o),null;case 17:return Zt(o.type)&&Mu(),Bt(o),null;case 19:if(Je(it),x=o.memoizedState,x===null)return Bt(o),null;if(h=(o.flags&128)!==0,k=x.rendering,k===null)if(h)Ho(x,!1);else{if(bt!==0||i!==null&&(i.flags&128)!==0)for(i=o.child;i!==null;){if(k=Wu(i),k!==null){for(o.flags|=128,Ho(x,!1),h=k.updateQueue,h!==null&&(o.updateQueue=h,o.flags|=4),o.subtreeFlags=0,h=s,s=o.child;s!==null;)x=s,i=h,x.flags&=14680066,k=x.alternate,k===null?(x.childLanes=0,x.lanes=i,x.child=null,x.subtreeFlags=0,x.memoizedProps=null,x.memoizedState=null,x.updateQueue=null,x.dependencies=null,x.stateNode=null):(x.childLanes=k.childLanes,x.lanes=k.lanes,x.child=k.child,x.subtreeFlags=0,x.deletions=null,x.memoizedProps=k.memoizedProps,x.memoizedState=k.memoizedState,x.updateQueue=k.updateQueue,x.type=k.type,i=k.dependencies,x.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),s=s.sibling;return Xe(it,it.current&1|2),o.child}i=i.sibling}x.tail!==null&&ft()>ga&&(o.flags|=128,h=!0,Ho(x,!1),o.lanes=4194304)}else{if(!h)if(i=Wu(k),i!==null){if(o.flags|=128,h=!0,s=i.updateQueue,s!==null&&(o.updateQueue=s,o.flags|=4),Ho(x,!0),x.tail===null&&x.tailMode==="hidden"&&!k.alternate&&!tt)return Bt(o),null}else 2*ft()-x.renderingStartTime>ga&&s!==1073741824&&(o.flags|=128,h=!0,Ho(x,!1),o.lanes=4194304);x.isBackwards?(k.sibling=o.child,o.child=k):(s=x.last,s!==null?s.sibling=k:o.child=k,x.last=k)}return x.tail!==null?(o=x.tail,x.rendering=o,x.tail=o.sibling,x.renderingStartTime=ft(),o.sibling=null,s=it.current,Xe(it,h?s&1|2:s&1),o):(Bt(o),null);case 22:case 23:return Ud(),h=o.memoizedState!==null,i!==null&&i.memoizedState!==null!==h&&(o.flags|=8192),h&&(o.mode&1)!==0?(sr&1073741824)!==0&&(Bt(o),o.subtreeFlags&6&&(o.flags|=8192)):Bt(o),null;case 24:return null;case 25:return null}throw Error(r(156,o.tag))}function x2(i,o){switch(Zf(o),o.tag){case 1:return Zt(o.type)&&Mu(),i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 3:return pa(),Je(Qt),Je(Dt),fd(),i=o.flags,(i&65536)!==0&&(i&128)===0?(o.flags=i&-65537|128,o):null;case 5:return sd(o),null;case 13:if(Je(it),i=o.memoizedState,i!==null&&i.dehydrated!==null){if(o.alternate===null)throw Error(r(340));ca()}return i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 19:return Je(it),null;case 4:return pa(),null;case 10:return id(o.type._context),null;case 22:case 23:return Ud(),null;case 24:return null;default:return null}}var Ju=!1,qt=!1,w2=typeof WeakSet=="function"?WeakSet:Set,he=null;function ma(i,o){var s=i.ref;if(s!==null)if(typeof s=="function")try{s(null)}catch(h){lt(i,o,h)}else s.current=null}function Cd(i,o,s){try{s()}catch(h){lt(i,o,h)}}var Vx=!1;function S2(i,o){if(Uf=bu,i=Ob(),$f(i)){if("selectionStart"in i)var s={start:i.selectionStart,end:i.selectionEnd};else e:{s=(s=i.ownerDocument)&&s.defaultView||window;var h=s.getSelection&&s.getSelection();if(h&&h.rangeCount!==0){s=h.anchorNode;var m=h.anchorOffset,x=h.focusNode;h=h.focusOffset;try{s.nodeType,x.nodeType}catch{s=null;break e}var k=0,M=-1,z=-1,J=0,ae=0,le=i,ie=null;t:for(;;){for(var de;le!==s||m!==0&&le.nodeType!==3||(M=k+m),le!==x||h!==0&&le.nodeType!==3||(z=k+h),le.nodeType===3&&(k+=le.nodeValue.length),(de=le.firstChild)!==null;)ie=le,le=de;for(;;){if(le===i)break t;if(ie===s&&++J===m&&(M=k),ie===x&&++ae===h&&(z=k),(de=le.nextSibling)!==null)break;le=ie,ie=le.parentNode}le=de}s=M===-1||z===-1?null:{start:M,end:z}}else s=null}s=s||{start:0,end:0}}else s=null;for(Wf={focusedElem:i,selectionRange:s},bu=!1,he=o;he!==null;)if(o=he,i=o.child,(o.subtreeFlags&1028)!==0&&i!==null)i.return=o,he=i;else for(;he!==null;){o=he;try{var me=o.alternate;if((o.flags&1024)!==0)switch(o.tag){case 0:case 11:case 15:break;case 1:if(me!==null){var ye=me.memoizedProps,dt=me.memoizedState,K=o.stateNode,F=K.getSnapshotBeforeUpdate(o.elementType===o.type?ye:Ir(o.type,ye),dt);K.__reactInternalSnapshotBeforeUpdate=F}break;case 3:var Y=o.stateNode.containerInfo;Y.nodeType===1?Y.textContent="":Y.nodeType===9&&Y.documentElement&&Y.removeChild(Y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(se){lt(o,o.return,se)}if(i=o.sibling,i!==null){i.return=o.return,he=i;break}he=o.return}return me=Vx,Vx=!1,me}function Vo(i,o,s){var h=o.updateQueue;if(h=h!==null?h.lastEffect:null,h!==null){var m=h=h.next;do{if((m.tag&i)===i){var x=m.destroy;m.destroy=void 0,x!==void 0&&Cd(o,s,x)}m=m.next}while(m!==h)}}function es(i,o){if(o=o.updateQueue,o=o!==null?o.lastEffect:null,o!==null){var s=o=o.next;do{if((s.tag&i)===i){var h=s.create;s.destroy=h()}s=s.next}while(s!==o)}}function Nd(i){var o=i.ref;if(o!==null){var s=i.stateNode;switch(i.tag){case 5:i=s;break;default:i=s}typeof o=="function"?o(i):o.current=i}}function Gx(i){var o=i.alternate;o!==null&&(i.alternate=null,Gx(o)),i.child=null,i.deletions=null,i.sibling=null,i.tag===5&&(o=i.stateNode,o!==null&&(delete o[Gr],delete o[$o],delete o[Kf],delete o[i2],delete o[a2])),i.stateNode=null,i.return=null,i.dependencies=null,i.memoizedProps=null,i.memoizedState=null,i.pendingProps=null,i.stateNode=null,i.updateQueue=null}function Kx(i){return i.tag===5||i.tag===3||i.tag===4}function Xx(i){e:for(;;){for(;i.sibling===null;){if(i.return===null||Kx(i.return))return null;i=i.return}for(i.sibling.return=i.return,i=i.sibling;i.tag!==5&&i.tag!==6&&i.tag!==18;){if(i.flags&2||i.child===null||i.tag===4)continue e;i.child.return=i,i=i.child}if(!(i.flags&2))return i.stateNode}}function Md(i,o,s){var h=i.tag;if(h===5||h===6)i=i.stateNode,o?s.nodeType===8?s.parentNode.insertBefore(i,o):s.insertBefore(i,o):(s.nodeType===8?(o=s.parentNode,o.insertBefore(i,s)):(o=s,o.appendChild(i)),s=s._reactRootContainer,s!=null||o.onclick!==null||(o.onclick=Cu));else if(h!==4&&(i=i.child,i!==null))for(Md(i,o,s),i=i.sibling;i!==null;)Md(i,o,s),i=i.sibling}function Id(i,o,s){var h=i.tag;if(h===5||h===6)i=i.stateNode,o?s.insertBefore(i,o):s.appendChild(i);else if(h!==4&&(i=i.child,i!==null))for(Id(i,o,s),i=i.sibling;i!==null;)Id(i,o,s),i=i.sibling}var Ct=null,$r=!1;function Un(i,o,s){for(s=s.child;s!==null;)Yx(i,o,s),s=s.sibling}function Yx(i,o,s){if(Vr&&typeof Vr.onCommitFiberUnmount=="function")try{Vr.onCommitFiberUnmount(hu,s)}catch{}switch(s.tag){case 5:qt||ma(s,o);case 6:var h=Ct,m=$r;Ct=null,Un(i,o,s),Ct=h,$r=m,Ct!==null&&($r?(i=Ct,s=s.stateNode,i.nodeType===8?i.parentNode.removeChild(s):i.removeChild(s)):Ct.removeChild(s.stateNode));break;case 18:Ct!==null&&($r?(i=Ct,s=s.stateNode,i.nodeType===8?Gf(i.parentNode,s):i.nodeType===1&&Gf(i,s),Oo(i)):Gf(Ct,s.stateNode));break;case 4:h=Ct,m=$r,Ct=s.stateNode.containerInfo,$r=!0,Un(i,o,s),Ct=h,$r=m;break;case 0:case 11:case 14:case 15:if(!qt&&(h=s.updateQueue,h!==null&&(h=h.lastEffect,h!==null))){m=h=h.next;do{var x=m,k=x.destroy;x=x.tag,k!==void 0&&((x&2)!==0||(x&4)!==0)&&Cd(s,o,k),m=m.next}while(m!==h)}Un(i,o,s);break;case 1:if(!qt&&(ma(s,o),h=s.stateNode,typeof h.componentWillUnmount=="function"))try{h.props=s.memoizedProps,h.state=s.memoizedState,h.componentWillUnmount()}catch(M){lt(s,o,M)}Un(i,o,s);break;case 21:Un(i,o,s);break;case 22:s.mode&1?(qt=(h=qt)||s.memoizedState!==null,Un(i,o,s),qt=h):Un(i,o,s);break;default:Un(i,o,s)}}function Qx(i){var o=i.updateQueue;if(o!==null){i.updateQueue=null;var s=i.stateNode;s===null&&(s=i.stateNode=new w2),o.forEach(function(h){var m=C2.bind(null,i,h);s.has(h)||(s.add(h),h.then(m,m))})}}function Rr(i,o){var s=o.deletions;if(s!==null)for(var h=0;h<s.length;h++){var m=s[h];try{var x=i,k=o,M=k;e:for(;M!==null;){switch(M.tag){case 5:Ct=M.stateNode,$r=!1;break e;case 3:Ct=M.stateNode.containerInfo,$r=!0;break e;case 4:Ct=M.stateNode.containerInfo,$r=!0;break e}M=M.return}if(Ct===null)throw Error(r(160));Yx(x,k,m),Ct=null,$r=!1;var z=m.alternate;z!==null&&(z.return=null),m.return=null}catch(J){lt(m,o,J)}}if(o.subtreeFlags&12854)for(o=o.child;o!==null;)Zx(o,i),o=o.sibling}function Zx(i,o){var s=i.alternate,h=i.flags;switch(i.tag){case 0:case 11:case 14:case 15:if(Rr(o,i),Yr(i),h&4){try{Vo(3,i,i.return),es(3,i)}catch(ye){lt(i,i.return,ye)}try{Vo(5,i,i.return)}catch(ye){lt(i,i.return,ye)}}break;case 1:Rr(o,i),Yr(i),h&512&&s!==null&&ma(s,s.return);break;case 5:if(Rr(o,i),Yr(i),h&512&&s!==null&&ma(s,s.return),i.flags&32){var m=i.stateNode;try{kn(m,"")}catch(ye){lt(i,i.return,ye)}}if(h&4&&(m=i.stateNode,m!=null)){var x=i.memoizedProps,k=s!==null?s.memoizedProps:x,M=i.type,z=i.updateQueue;if(i.updateQueue=null,z!==null)try{M==="input"&&x.type==="radio"&&x.name!=null&&Ve(m,x),Ht(M,k);var J=Ht(M,x);for(k=0;k<z.length;k+=2){var ae=z[k],le=z[k+1];ae==="style"?fe(m,le):ae==="dangerouslySetInnerHTML"?po(m,le):ae==="children"?kn(m,le):E(m,ae,le,J)}switch(M){case"input":ct(m,x);break;case"textarea":hi(m,x);break;case"select":var ie=m._wrapperState.wasMultiple;m._wrapperState.wasMultiple=!!x.multiple;var de=x.value;de!=null?jt(m,!!x.multiple,de,!1):ie!==!!x.multiple&&(x.defaultValue!=null?jt(m,!!x.multiple,x.defaultValue,!0):jt(m,!!x.multiple,x.multiple?[]:"",!1))}m[$o]=x}catch(ye){lt(i,i.return,ye)}}break;case 6:if(Rr(o,i),Yr(i),h&4){if(i.stateNode===null)throw Error(r(162));m=i.stateNode,x=i.memoizedProps;try{m.nodeValue=x}catch(ye){lt(i,i.return,ye)}}break;case 3:if(Rr(o,i),Yr(i),h&4&&s!==null&&s.memoizedState.isDehydrated)try{Oo(o.containerInfo)}catch(ye){lt(i,i.return,ye)}break;case 4:Rr(o,i),Yr(i);break;case 13:Rr(o,i),Yr(i),m=i.child,m.flags&8192&&(x=m.memoizedState!==null,m.stateNode.isHidden=x,!x||m.alternate!==null&&m.alternate.memoizedState!==null||(Dd=ft())),h&4&&Qx(i);break;case 22:if(ae=s!==null&&s.memoizedState!==null,i.mode&1?(qt=(J=qt)||ae,Rr(o,i),qt=J):Rr(o,i),Yr(i),h&8192){if(J=i.memoizedState!==null,(i.stateNode.isHidden=J)&&!ae&&(i.mode&1)!==0)for(he=i,ae=i.child;ae!==null;){for(le=he=ae;he!==null;){switch(ie=he,de=ie.child,ie.tag){case 0:case 11:case 14:case 15:Vo(4,ie,ie.return);break;case 1:ma(ie,ie.return);var me=ie.stateNode;if(typeof me.componentWillUnmount=="function"){h=ie,s=ie.return;try{o=h,me.props=o.memoizedProps,me.state=o.memoizedState,me.componentWillUnmount()}catch(ye){lt(h,s,ye)}}break;case 5:ma(ie,ie.return);break;case 22:if(ie.memoizedState!==null){t1(le);continue}}de!==null?(de.return=ie,he=de):t1(le)}ae=ae.sibling}e:for(ae=null,le=i;;){if(le.tag===5){if(ae===null){ae=le;try{m=le.stateNode,J?(x=m.style,typeof x.setProperty=="function"?x.setProperty("display","none","important"):x.display="none"):(M=le.stateNode,z=le.memoizedProps.style,k=z!=null&&z.hasOwnProperty("display")?z.display:null,M.style.display=G("display",k))}catch(ye){lt(i,i.return,ye)}}}else if(le.tag===6){if(ae===null)try{le.stateNode.nodeValue=J?"":le.memoizedProps}catch(ye){lt(i,i.return,ye)}}else if((le.tag!==22&&le.tag!==23||le.memoizedState===null||le===i)&&le.child!==null){le.child.return=le,le=le.child;continue}if(le===i)break e;for(;le.sibling===null;){if(le.return===null||le.return===i)break e;ae===le&&(ae=null),le=le.return}ae===le&&(ae=null),le.sibling.return=le.return,le=le.sibling}}break;case 19:Rr(o,i),Yr(i),h&4&&Qx(i);break;case 21:break;default:Rr(o,i),Yr(i)}}function Yr(i){var o=i.flags;if(o&2){try{e:{for(var s=i.return;s!==null;){if(Kx(s)){var h=s;break e}s=s.return}throw Error(r(160))}switch(h.tag){case 5:var m=h.stateNode;h.flags&32&&(kn(m,""),h.flags&=-33);var x=Xx(i);Id(i,x,m);break;case 3:case 4:var k=h.stateNode.containerInfo,M=Xx(i);Md(i,M,k);break;default:throw Error(r(161))}}catch(z){lt(i,i.return,z)}i.flags&=-3}o&4096&&(i.flags&=-4097)}function _2(i,o,s){he=i,Jx(i)}function Jx(i,o,s){for(var h=(i.mode&1)!==0;he!==null;){var m=he,x=m.child;if(m.tag===22&&h){var k=m.memoizedState!==null||Ju;if(!k){var M=m.alternate,z=M!==null&&M.memoizedState!==null||qt;M=Ju;var J=qt;if(Ju=k,(qt=z)&&!J)for(he=m;he!==null;)k=he,z=k.child,k.tag===22&&k.memoizedState!==null?r1(m):z!==null?(z.return=k,he=z):r1(m);for(;x!==null;)he=x,Jx(x),x=x.sibling;he=m,Ju=M,qt=J}e1(i)}else(m.subtreeFlags&8772)!==0&&x!==null?(x.return=m,he=x):e1(i)}}function e1(i){for(;he!==null;){var o=he;if((o.flags&8772)!==0){var s=o.alternate;try{if((o.flags&8772)!==0)switch(o.tag){case 0:case 11:case 15:qt||es(5,o);break;case 1:var h=o.stateNode;if(o.flags&4&&!qt)if(s===null)h.componentDidMount();else{var m=o.elementType===o.type?s.memoizedProps:Ir(o.type,s.memoizedProps);h.componentDidUpdate(m,s.memoizedState,h.__reactInternalSnapshotBeforeUpdate)}var x=o.updateQueue;x!==null&&tx(o,x,h);break;case 3:var k=o.updateQueue;if(k!==null){if(s=null,o.child!==null)switch(o.child.tag){case 5:s=o.child.stateNode;break;case 1:s=o.child.stateNode}tx(o,k,s)}break;case 5:var M=o.stateNode;if(s===null&&o.flags&4){s=M;var z=o.memoizedProps;switch(o.type){case"button":case"input":case"select":case"textarea":z.autoFocus&&s.focus();break;case"img":z.src&&(s.src=z.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(o.memoizedState===null){var J=o.alternate;if(J!==null){var ae=J.memoizedState;if(ae!==null){var le=ae.dehydrated;le!==null&&Oo(le)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}qt||o.flags&512&&Nd(o)}catch(ie){lt(o,o.return,ie)}}if(o===i){he=null;break}if(s=o.sibling,s!==null){s.return=o.return,he=s;break}he=o.return}}function t1(i){for(;he!==null;){var o=he;if(o===i){he=null;break}var s=o.sibling;if(s!==null){s.return=o.return,he=s;break}he=o.return}}function r1(i){for(;he!==null;){var o=he;try{switch(o.tag){case 0:case 11:case 15:var s=o.return;try{es(4,o)}catch(z){lt(o,s,z)}break;case 1:var h=o.stateNode;if(typeof h.componentDidMount=="function"){var m=o.return;try{h.componentDidMount()}catch(z){lt(o,m,z)}}var x=o.return;try{Nd(o)}catch(z){lt(o,x,z)}break;case 5:var k=o.return;try{Nd(o)}catch(z){lt(o,k,z)}}}catch(z){lt(o,o.return,z)}if(o===i){he=null;break}var M=o.sibling;if(M!==null){M.return=o.return,he=M;break}he=o.return}}var O2=Math.ceil,ts=T.ReactCurrentDispatcher,$d=T.ReactCurrentOwner,xr=T.ReactCurrentBatchConfig,$e=0,At=null,ht=null,Nt=0,sr=0,ya=Ln(0),bt=0,Go=null,Oi=0,rs=0,Rd=0,Ko=null,er=null,Dd=0,ga=1/0,dn=null,ns=!1,Ld=null,Wn=null,is=!1,Hn=null,as=0,Xo=0,Bd=null,os=-1,ls=0;function Gt(){return($e&6)!==0?ft():os!==-1?os:os=ft()}function Vn(i){return(i.mode&1)===0?1:($e&2)!==0&&Nt!==0?Nt&-Nt:l2.transition!==null?(ls===0&&(ls=X0()),ls):(i=Fe,i!==0||(i=window.event,i=i===void 0?16:ib(i.type)),i)}function Dr(i,o,s,h){if(50<Xo)throw Xo=0,Bd=null,Error(r(185));bo(i,s,h),(($e&2)===0||i!==At)&&(i===At&&(($e&2)===0&&(rs|=s),bt===4&&Gn(i,Nt)),tr(i,h),s===1&&$e===0&&(o.mode&1)===0&&(ga=ft()+500,$u&&qn()))}function tr(i,o){var s=i.callbackNode;lC(i,o);var h=mu(i,i===At?Nt:0);if(h===0)s!==null&&V0(s),i.callbackNode=null,i.callbackPriority=0;else if(o=h&-h,i.callbackPriority!==o){if(s!=null&&V0(s),o===1)i.tag===0?o2(i1.bind(null,i)):Ub(i1.bind(null,i)),r2(function(){($e&6)===0&&qn()}),s=null;else{switch(Y0(h)){case 1:s=gf;break;case 4:s=G0;break;case 16:s=du;break;case 536870912:s=K0;break;default:s=du}s=d1(s,n1.bind(null,i))}i.callbackPriority=o,i.callbackNode=s}}function n1(i,o){if(os=-1,ls=0,($e&6)!==0)throw Error(r(327));var s=i.callbackNode;if(ba()&&i.callbackNode!==s)return null;var h=mu(i,i===At?Nt:0);if(h===0)return null;if((h&30)!==0||(h&i.expiredLanes)!==0||o)o=us(i,h);else{o=h;var m=$e;$e|=2;var x=o1();(At!==i||Nt!==o)&&(dn=null,ga=ft()+500,Pi(i,o));do try{A2();break}catch(M){a1(i,M)}while(!0);nd(),ts.current=x,$e=m,ht!==null?o=0:(At=null,Nt=0,o=bt)}if(o!==0){if(o===2&&(m=bf(i),m!==0&&(h=m,o=qd(i,m))),o===1)throw s=Go,Pi(i,0),Gn(i,h),tr(i,ft()),s;if(o===6)Gn(i,h);else{if(m=i.current.alternate,(h&30)===0&&!j2(m)&&(o=us(i,h),o===2&&(x=bf(i),x!==0&&(h=x,o=qd(i,x))),o===1))throw s=Go,Pi(i,0),Gn(i,h),tr(i,ft()),s;switch(i.finishedWork=m,i.finishedLanes=h,o){case 0:case 1:throw Error(r(345));case 2:Ai(i,er,dn);break;case 3:if(Gn(i,h),(h&130023424)===h&&(o=Dd+500-ft(),10<o)){if(mu(i,0)!==0)break;if(m=i.suspendedLanes,(m&h)!==h){Gt(),i.pingedLanes|=i.suspendedLanes&m;break}i.timeoutHandle=Vf(Ai.bind(null,i,er,dn),o);break}Ai(i,er,dn);break;case 4:if(Gn(i,h),(h&4194240)===h)break;for(o=i.eventTimes,m=-1;0<h;){var k=31-Cr(h);x=1<<k,k=o[k],k>m&&(m=k),h&=~x}if(h=m,h=ft()-h,h=(120>h?120:480>h?480:1080>h?1080:1920>h?1920:3e3>h?3e3:4320>h?4320:1960*O2(h/1960))-h,10<h){i.timeoutHandle=Vf(Ai.bind(null,i,er,dn),h);break}Ai(i,er,dn);break;case 5:Ai(i,er,dn);break;default:throw Error(r(329))}}}return tr(i,ft()),i.callbackNode===s?n1.bind(null,i):null}function qd(i,o){var s=Ko;return i.current.memoizedState.isDehydrated&&(Pi(i,o).flags|=256),i=us(i,o),i!==2&&(o=er,er=s,o!==null&&zd(o)),i}function zd(i){er===null?er=i:er.push.apply(er,i)}function j2(i){for(var o=i;;){if(o.flags&16384){var s=o.updateQueue;if(s!==null&&(s=s.stores,s!==null))for(var h=0;h<s.length;h++){var m=s[h],x=m.getSnapshot;m=m.value;try{if(!Nr(x(),m))return!1}catch{return!1}}}if(s=o.child,o.subtreeFlags&16384&&s!==null)s.return=o,o=s;else{if(o===i)break;for(;o.sibling===null;){if(o.return===null||o.return===i)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function Gn(i,o){for(o&=~Rd,o&=~rs,i.suspendedLanes|=o,i.pingedLanes&=~o,i=i.expirationTimes;0<o;){var s=31-Cr(o),h=1<<s;i[s]=-1,o&=~h}}function i1(i){if(($e&6)!==0)throw Error(r(327));ba();var o=mu(i,0);if((o&1)===0)return tr(i,ft()),null;var s=us(i,o);if(i.tag!==0&&s===2){var h=bf(i);h!==0&&(o=h,s=qd(i,h))}if(s===1)throw s=Go,Pi(i,0),Gn(i,o),tr(i,ft()),s;if(s===6)throw Error(r(345));return i.finishedWork=i.current.alternate,i.finishedLanes=o,Ai(i,er,dn),tr(i,ft()),null}function Fd(i,o){var s=$e;$e|=1;try{return i(o)}finally{$e=s,$e===0&&(ga=ft()+500,$u&&qn())}}function ji(i){Hn!==null&&Hn.tag===0&&($e&6)===0&&ba();var o=$e;$e|=1;var s=xr.transition,h=Fe;try{if(xr.transition=null,Fe=1,i)return i()}finally{Fe=h,xr.transition=s,$e=o,($e&6)===0&&qn()}}function Ud(){sr=ya.current,Je(ya)}function Pi(i,o){i.finishedWork=null,i.finishedLanes=0;var s=i.timeoutHandle;if(s!==-1&&(i.timeoutHandle=-1,t2(s)),ht!==null)for(s=ht.return;s!==null;){var h=s;switch(Zf(h),h.tag){case 1:h=h.type.childContextTypes,h!=null&&Mu();break;case 3:pa(),Je(Qt),Je(Dt),fd();break;case 5:sd(h);break;case 4:pa();break;case 13:Je(it);break;case 19:Je(it);break;case 10:id(h.type._context);break;case 22:case 23:Ud()}s=s.return}if(At=i,ht=i=Kn(i.current,null),Nt=sr=o,bt=0,Go=null,Rd=rs=Oi=0,er=Ko=null,wi!==null){for(o=0;o<wi.length;o++)if(s=wi[o],h=s.interleaved,h!==null){s.interleaved=null;var m=h.next,x=s.pending;if(x!==null){var k=x.next;x.next=m,h.next=k}s.pending=h}wi=null}return i}function a1(i,o){do{var s=ht;try{if(nd(),Hu.current=Xu,Vu){for(var h=at.memoizedState;h!==null;){var m=h.queue;m!==null&&(m.pending=null),h=h.next}Vu=!1}if(_i=0,Pt=gt=at=null,zo=!1,Fo=0,$d.current=null,s===null||s.return===null){bt=1,Go=o,ht=null;break}e:{var x=i,k=s.return,M=s,z=o;if(o=Nt,M.flags|=32768,z!==null&&typeof z=="object"&&typeof z.then=="function"){var J=z,ae=M,le=ae.tag;if((ae.mode&1)===0&&(le===0||le===11||le===15)){var ie=ae.alternate;ie?(ae.updateQueue=ie.updateQueue,ae.memoizedState=ie.memoizedState,ae.lanes=ie.lanes):(ae.updateQueue=null,ae.memoizedState=null)}var de=Tx(k);if(de!==null){de.flags&=-257,Cx(de,k,M,x,o),de.mode&1&&kx(x,J,o),o=de,z=J;var me=o.updateQueue;if(me===null){var ye=new Set;ye.add(z),o.updateQueue=ye}else me.add(z);break e}else{if((o&1)===0){kx(x,J,o),Wd();break e}z=Error(r(426))}}else if(tt&&M.mode&1){var dt=Tx(k);if(dt!==null){(dt.flags&65536)===0&&(dt.flags|=256),Cx(dt,k,M,x,o),td(va(z,M));break e}}x=z=va(z,M),bt!==4&&(bt=2),Ko===null?Ko=[x]:Ko.push(x),x=k;do{switch(x.tag){case 3:x.flags|=65536,o&=-o,x.lanes|=o;var K=Ax(x,z,o);ex(x,K);break e;case 1:M=z;var F=x.type,Y=x.stateNode;if((x.flags&128)===0&&(typeof F.getDerivedStateFromError=="function"||Y!==null&&typeof Y.componentDidCatch=="function"&&(Wn===null||!Wn.has(Y)))){x.flags|=65536,o&=-o,x.lanes|=o;var se=Ex(x,M,o);ex(x,se);break e}}x=x.return}while(x!==null)}u1(s)}catch(ge){o=ge,ht===s&&s!==null&&(ht=s=s.return);continue}break}while(!0)}function o1(){var i=ts.current;return ts.current=Xu,i===null?Xu:i}function Wd(){(bt===0||bt===3||bt===2)&&(bt=4),At===null||(Oi&268435455)===0&&(rs&268435455)===0||Gn(At,Nt)}function us(i,o){var s=$e;$e|=2;var h=o1();(At!==i||Nt!==o)&&(dn=null,Pi(i,o));do try{P2();break}catch(m){a1(i,m)}while(!0);if(nd(),$e=s,ts.current=h,ht!==null)throw Error(r(261));return At=null,Nt=0,bt}function P2(){for(;ht!==null;)l1(ht)}function A2(){for(;ht!==null&&!ZT();)l1(ht)}function l1(i){var o=f1(i.alternate,i,sr);i.memoizedProps=i.pendingProps,o===null?u1(i):ht=o,$d.current=null}function u1(i){var o=i;do{var s=o.alternate;if(i=o.return,(o.flags&32768)===0){if(s=b2(s,o,sr),s!==null){ht=s;return}}else{if(s=x2(s,o),s!==null){s.flags&=32767,ht=s;return}if(i!==null)i.flags|=32768,i.subtreeFlags=0,i.deletions=null;else{bt=6,ht=null;return}}if(o=o.sibling,o!==null){ht=o;return}ht=o=i}while(o!==null);bt===0&&(bt=5)}function Ai(i,o,s){var h=Fe,m=xr.transition;try{xr.transition=null,Fe=1,E2(i,o,s,h)}finally{xr.transition=m,Fe=h}return null}function E2(i,o,s,h){do ba();while(Hn!==null);if(($e&6)!==0)throw Error(r(327));s=i.finishedWork;var m=i.finishedLanes;if(s===null)return null;if(i.finishedWork=null,i.finishedLanes=0,s===i.current)throw Error(r(177));i.callbackNode=null,i.callbackPriority=0;var x=s.lanes|s.childLanes;if(uC(i,x),i===At&&(ht=At=null,Nt=0),(s.subtreeFlags&2064)===0&&(s.flags&2064)===0||is||(is=!0,d1(du,function(){return ba(),null})),x=(s.flags&15990)!==0,(s.subtreeFlags&15990)!==0||x){x=xr.transition,xr.transition=null;var k=Fe;Fe=1;var M=$e;$e|=4,$d.current=null,S2(i,s),Zx(s,i),KC(Wf),bu=!!Uf,Wf=Uf=null,i.current=s,_2(s),JT(),$e=M,Fe=k,xr.transition=x}else i.current=s;if(is&&(is=!1,Hn=i,as=m),x=i.pendingLanes,x===0&&(Wn=null),rC(s.stateNode),tr(i,ft()),o!==null)for(h=i.onRecoverableError,s=0;s<o.length;s++)m=o[s],h(m.value,{componentStack:m.stack,digest:m.digest});if(ns)throw ns=!1,i=Ld,Ld=null,i;return(as&1)!==0&&i.tag!==0&&ba(),x=i.pendingLanes,(x&1)!==0?i===Bd?Xo++:(Xo=0,Bd=i):Xo=0,qn(),null}function ba(){if(Hn!==null){var i=Y0(as),o=xr.transition,s=Fe;try{if(xr.transition=null,Fe=16>i?16:i,Hn===null)var h=!1;else{if(i=Hn,Hn=null,as=0,($e&6)!==0)throw Error(r(331));var m=$e;for($e|=4,he=i.current;he!==null;){var x=he,k=x.child;if((he.flags&16)!==0){var M=x.deletions;if(M!==null){for(var z=0;z<M.length;z++){var J=M[z];for(he=J;he!==null;){var ae=he;switch(ae.tag){case 0:case 11:case 15:Vo(8,ae,x)}var le=ae.child;if(le!==null)le.return=ae,he=le;else for(;he!==null;){ae=he;var ie=ae.sibling,de=ae.return;if(Gx(ae),ae===J){he=null;break}if(ie!==null){ie.return=de,he=ie;break}he=de}}}var me=x.alternate;if(me!==null){var ye=me.child;if(ye!==null){me.child=null;do{var dt=ye.sibling;ye.sibling=null,ye=dt}while(ye!==null)}}he=x}}if((x.subtreeFlags&2064)!==0&&k!==null)k.return=x,he=k;else e:for(;he!==null;){if(x=he,(x.flags&2048)!==0)switch(x.tag){case 0:case 11:case 15:Vo(9,x,x.return)}var K=x.sibling;if(K!==null){K.return=x.return,he=K;break e}he=x.return}}var F=i.current;for(he=F;he!==null;){k=he;var Y=k.child;if((k.subtreeFlags&2064)!==0&&Y!==null)Y.return=k,he=Y;else e:for(k=F;he!==null;){if(M=he,(M.flags&2048)!==0)try{switch(M.tag){case 0:case 11:case 15:es(9,M)}}catch(ge){lt(M,M.return,ge)}if(M===k){he=null;break e}var se=M.sibling;if(se!==null){se.return=M.return,he=se;break e}he=M.return}}if($e=m,qn(),Vr&&typeof Vr.onPostCommitFiberRoot=="function")try{Vr.onPostCommitFiberRoot(hu,i)}catch{}h=!0}return h}finally{Fe=s,xr.transition=o}}return!1}function s1(i,o,s){o=va(s,o),o=Ax(i,o,1),i=Fn(i,o,1),o=Gt(),i!==null&&(bo(i,1,o),tr(i,o))}function lt(i,o,s){if(i.tag===3)s1(i,i,s);else for(;o!==null;){if(o.tag===3){s1(o,i,s);break}else if(o.tag===1){var h=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof h.componentDidCatch=="function"&&(Wn===null||!Wn.has(h))){i=va(s,i),i=Ex(o,i,1),o=Fn(o,i,1),i=Gt(),o!==null&&(bo(o,1,i),tr(o,i));break}}o=o.return}}function k2(i,o,s){var h=i.pingCache;h!==null&&h.delete(o),o=Gt(),i.pingedLanes|=i.suspendedLanes&s,At===i&&(Nt&s)===s&&(bt===4||bt===3&&(Nt&130023424)===Nt&&500>ft()-Dd?Pi(i,0):Rd|=s),tr(i,o)}function c1(i,o){o===0&&((i.mode&1)===0?o=1:(o=vu,vu<<=1,(vu&130023424)===0&&(vu=4194304)));var s=Gt();i=sn(i,o),i!==null&&(bo(i,o,s),tr(i,s))}function T2(i){var o=i.memoizedState,s=0;o!==null&&(s=o.retryLane),c1(i,s)}function C2(i,o){var s=0;switch(i.tag){case 13:var h=i.stateNode,m=i.memoizedState;m!==null&&(s=m.retryLane);break;case 19:h=i.stateNode;break;default:throw Error(r(314))}h!==null&&h.delete(o),c1(i,s)}var f1;f1=function(i,o,s){if(i!==null)if(i.memoizedProps!==o.pendingProps||Qt.current)Jt=!0;else{if((i.lanes&s)===0&&(o.flags&128)===0)return Jt=!1,g2(i,o,s);Jt=(i.flags&131072)!==0}else Jt=!1,tt&&(o.flags&1048576)!==0&&Wb(o,Du,o.index);switch(o.lanes=0,o.tag){case 2:var h=o.type;Zu(i,o),i=o.pendingProps;var m=la(o,Dt.current);ha(o,s),m=pd(null,o,h,i,m,s);var x=vd();return o.flags|=1,typeof m=="object"&&m!==null&&typeof m.render=="function"&&m.$$typeof===void 0?(o.tag=1,o.memoizedState=null,o.updateQueue=null,Zt(h)?(x=!0,Iu(o)):x=!1,o.memoizedState=m.state!==null&&m.state!==void 0?m.state:null,ld(o),m.updater=Yu,o.stateNode=m,m._reactInternals=o,wd(o,h,i,s),o=jd(null,o,h,!0,x,s)):(o.tag=0,tt&&x&&Qf(o),Vt(null,o,m,s),o=o.child),o;case 16:h=o.elementType;e:{switch(Zu(i,o),i=o.pendingProps,m=h._init,h=m(h._payload),o.type=h,m=o.tag=M2(h),i=Ir(h,i),m){case 0:o=Od(null,o,h,i,s);break e;case 1:o=Dx(null,o,h,i,s);break e;case 11:o=Nx(null,o,h,i,s);break e;case 14:o=Mx(null,o,h,Ir(h.type,i),s);break e}throw Error(r(306,h,""))}return o;case 0:return h=o.type,m=o.pendingProps,m=o.elementType===h?m:Ir(h,m),Od(i,o,h,m,s);case 1:return h=o.type,m=o.pendingProps,m=o.elementType===h?m:Ir(h,m),Dx(i,o,h,m,s);case 3:e:{if(Lx(o),i===null)throw Error(r(387));h=o.pendingProps,x=o.memoizedState,m=x.element,Jb(i,o),Uu(o,h,null,s);var k=o.memoizedState;if(h=k.element,x.isDehydrated)if(x={element:h,isDehydrated:!1,cache:k.cache,pendingSuspenseBoundaries:k.pendingSuspenseBoundaries,transitions:k.transitions},o.updateQueue.baseState=x,o.memoizedState=x,o.flags&256){m=va(Error(r(423)),o),o=Bx(i,o,h,s,m);break e}else if(h!==m){m=va(Error(r(424)),o),o=Bx(i,o,h,s,m);break e}else for(ur=Dn(o.stateNode.containerInfo.firstChild),lr=o,tt=!0,Mr=null,s=Qb(o,null,h,s),o.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling;else{if(ca(),h===m){o=fn(i,o,s);break e}Vt(i,o,h,s)}o=o.child}return o;case 5:return rx(o),i===null&&ed(o),h=o.type,m=o.pendingProps,x=i!==null?i.memoizedProps:null,k=m.children,Hf(h,m)?k=null:x!==null&&Hf(h,x)&&(o.flags|=32),Rx(i,o),Vt(i,o,k,s),o.child;case 6:return i===null&&ed(o),null;case 13:return qx(i,o,s);case 4:return ud(o,o.stateNode.containerInfo),h=o.pendingProps,i===null?o.child=fa(o,null,h,s):Vt(i,o,h,s),o.child;case 11:return h=o.type,m=o.pendingProps,m=o.elementType===h?m:Ir(h,m),Nx(i,o,h,m,s);case 7:return Vt(i,o,o.pendingProps,s),o.child;case 8:return Vt(i,o,o.pendingProps.children,s),o.child;case 12:return Vt(i,o,o.pendingProps.children,s),o.child;case 10:e:{if(h=o.type._context,m=o.pendingProps,x=o.memoizedProps,k=m.value,Xe(qu,h._currentValue),h._currentValue=k,x!==null)if(Nr(x.value,k)){if(x.children===m.children&&!Qt.current){o=fn(i,o,s);break e}}else for(x=o.child,x!==null&&(x.return=o);x!==null;){var M=x.dependencies;if(M!==null){k=x.child;for(var z=M.firstContext;z!==null;){if(z.context===h){if(x.tag===1){z=cn(-1,s&-s),z.tag=2;var J=x.updateQueue;if(J!==null){J=J.shared;var ae=J.pending;ae===null?z.next=z:(z.next=ae.next,ae.next=z),J.pending=z}}x.lanes|=s,z=x.alternate,z!==null&&(z.lanes|=s),ad(x.return,s,o),M.lanes|=s;break}z=z.next}}else if(x.tag===10)k=x.type===o.type?null:x.child;else if(x.tag===18){if(k=x.return,k===null)throw Error(r(341));k.lanes|=s,M=k.alternate,M!==null&&(M.lanes|=s),ad(k,s,o),k=x.sibling}else k=x.child;if(k!==null)k.return=x;else for(k=x;k!==null;){if(k===o){k=null;break}if(x=k.sibling,x!==null){x.return=k.return,k=x;break}k=k.return}x=k}Vt(i,o,m.children,s),o=o.child}return o;case 9:return m=o.type,h=o.pendingProps.children,ha(o,s),m=gr(m),h=h(m),o.flags|=1,Vt(i,o,h,s),o.child;case 14:return h=o.type,m=Ir(h,o.pendingProps),m=Ir(h.type,m),Mx(i,o,h,m,s);case 15:return Ix(i,o,o.type,o.pendingProps,s);case 17:return h=o.type,m=o.pendingProps,m=o.elementType===h?m:Ir(h,m),Zu(i,o),o.tag=1,Zt(h)?(i=!0,Iu(o)):i=!1,ha(o,s),jx(o,h,m),wd(o,h,m,s),jd(null,o,h,!0,i,s);case 19:return Fx(i,o,s);case 22:return $x(i,o,s)}throw Error(r(156,o.tag))};function d1(i,o){return H0(i,o)}function N2(i,o,s,h){this.tag=i,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=o,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=h,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function wr(i,o,s,h){return new N2(i,o,s,h)}function Hd(i){return i=i.prototype,!(!i||!i.isReactComponent)}function M2(i){if(typeof i=="function")return Hd(i)?1:0;if(i!=null){if(i=i.$$typeof,i===q)return 11;if(i===Q)return 14}return 2}function Kn(i,o){var s=i.alternate;return s===null?(s=wr(i.tag,o,i.key,i.mode),s.elementType=i.elementType,s.type=i.type,s.stateNode=i.stateNode,s.alternate=i,i.alternate=s):(s.pendingProps=o,s.type=i.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=i.flags&14680064,s.childLanes=i.childLanes,s.lanes=i.lanes,s.child=i.child,s.memoizedProps=i.memoizedProps,s.memoizedState=i.memoizedState,s.updateQueue=i.updateQueue,o=i.dependencies,s.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},s.sibling=i.sibling,s.index=i.index,s.ref=i.ref,s}function ss(i,o,s,h,m,x){var k=2;if(h=i,typeof i=="function")Hd(i)&&(k=1);else if(typeof i=="string")k=5;else e:switch(i){case C:return Ei(s.children,m,x,o);case N:k=8,m|=8;break;case B:return i=wr(12,s,o,m|2),i.elementType=B,i.lanes=x,i;case H:return i=wr(13,s,o,m),i.elementType=H,i.lanes=x,i;case X:return i=wr(19,s,o,m),i.elementType=X,i.lanes=x,i;case te:return cs(s,m,x,o);default:if(typeof i=="object"&&i!==null)switch(i.$$typeof){case $:k=10;break e;case R:k=9;break e;case q:k=11;break e;case Q:k=14;break e;case ee:k=16,h=null;break e}throw Error(r(130,i==null?i:typeof i,""))}return o=wr(k,s,o,m),o.elementType=i,o.type=h,o.lanes=x,o}function Ei(i,o,s,h){return i=wr(7,i,h,o),i.lanes=s,i}function cs(i,o,s,h){return i=wr(22,i,h,o),i.elementType=te,i.lanes=s,i.stateNode={isHidden:!1},i}function Vd(i,o,s){return i=wr(6,i,null,o),i.lanes=s,i}function Gd(i,o,s){return o=wr(4,i.children!==null?i.children:[],i.key,o),o.lanes=s,o.stateNode={containerInfo:i.containerInfo,pendingChildren:null,implementation:i.implementation},o}function I2(i,o,s,h,m){this.tag=o,this.containerInfo=i,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=xf(0),this.expirationTimes=xf(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=xf(0),this.identifierPrefix=h,this.onRecoverableError=m,this.mutableSourceEagerHydrationData=null}function Kd(i,o,s,h,m,x,k,M,z){return i=new I2(i,o,s,M,z),o===1?(o=1,x===!0&&(o|=8)):o=0,x=wr(3,null,null,o),i.current=x,x.stateNode=i,x.memoizedState={element:h,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null},ld(x),i}function $2(i,o,s){var h=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:A,key:h==null?null:""+h,children:i,containerInfo:o,implementation:s}}function h1(i){if(!i)return Bn;i=i._reactInternals;e:{if(mi(i)!==i||i.tag!==1)throw Error(r(170));var o=i;do{switch(o.tag){case 3:o=o.stateNode.context;break e;case 1:if(Zt(o.type)){o=o.stateNode.__reactInternalMemoizedMergedChildContext;break e}}o=o.return}while(o!==null);throw Error(r(171))}if(i.tag===1){var s=i.type;if(Zt(s))return zb(i,s,o)}return o}function p1(i,o,s,h,m,x,k,M,z){return i=Kd(s,h,!0,i,m,x,k,M,z),i.context=h1(null),s=i.current,h=Gt(),m=Vn(s),x=cn(h,m),x.callback=o??null,Fn(s,x,m),i.current.lanes=m,bo(i,m,h),tr(i,h),i}function fs(i,o,s,h){var m=o.current,x=Gt(),k=Vn(m);return s=h1(s),o.context===null?o.context=s:o.pendingContext=s,o=cn(x,k),o.payload={element:i},h=h===void 0?null:h,h!==null&&(o.callback=h),i=Fn(m,o,k),i!==null&&(Dr(i,m,k,x),Fu(i,m,k)),k}function ds(i){if(i=i.current,!i.child)return null;switch(i.child.tag){case 5:return i.child.stateNode;default:return i.child.stateNode}}function v1(i,o){if(i=i.memoizedState,i!==null&&i.dehydrated!==null){var s=i.retryLane;i.retryLane=s!==0&&s<o?s:o}}function Xd(i,o){v1(i,o),(i=i.alternate)&&v1(i,o)}function R2(){return null}var m1=typeof reportError=="function"?reportError:function(i){console.error(i)};function Yd(i){this._internalRoot=i}hs.prototype.render=Yd.prototype.render=function(i){var o=this._internalRoot;if(o===null)throw Error(r(409));fs(i,o,null,null)},hs.prototype.unmount=Yd.prototype.unmount=function(){var i=this._internalRoot;if(i!==null){this._internalRoot=null;var o=i.containerInfo;ji(function(){fs(null,i,null,null)}),o[an]=null}};function hs(i){this._internalRoot=i}hs.prototype.unstable_scheduleHydration=function(i){if(i){var o=J0();i={blockedOn:null,target:i,priority:o};for(var s=0;s<In.length&&o!==0&&o<In[s].priority;s++);In.splice(s,0,i),s===0&&rb(i)}};function Qd(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)}function ps(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11&&(i.nodeType!==8||i.nodeValue!==" react-mount-point-unstable "))}function y1(){}function D2(i,o,s,h,m){if(m){if(typeof h=="function"){var x=h;h=function(){var J=ds(k);x.call(J)}}var k=p1(o,h,i,0,null,!1,!1,"",y1);return i._reactRootContainer=k,i[an]=k.current,Mo(i.nodeType===8?i.parentNode:i),ji(),k}for(;m=i.lastChild;)i.removeChild(m);if(typeof h=="function"){var M=h;h=function(){var J=ds(z);M.call(J)}}var z=Kd(i,0,!1,null,null,!1,!1,"",y1);return i._reactRootContainer=z,i[an]=z.current,Mo(i.nodeType===8?i.parentNode:i),ji(function(){fs(o,z,s,h)}),z}function vs(i,o,s,h,m){var x=s._reactRootContainer;if(x){var k=x;if(typeof m=="function"){var M=m;m=function(){var z=ds(k);M.call(z)}}fs(o,k,i,m)}else k=D2(s,o,i,m,h);return ds(k)}Q0=function(i){switch(i.tag){case 3:var o=i.stateNode;if(o.current.memoizedState.isDehydrated){var s=go(o.pendingLanes);s!==0&&(wf(o,s|1),tr(o,ft()),($e&6)===0&&(ga=ft()+500,qn()))}break;case 13:ji(function(){var h=sn(i,1);if(h!==null){var m=Gt();Dr(h,i,1,m)}}),Xd(i,1)}},Sf=function(i){if(i.tag===13){var o=sn(i,134217728);if(o!==null){var s=Gt();Dr(o,i,134217728,s)}Xd(i,134217728)}},Z0=function(i){if(i.tag===13){var o=Vn(i),s=sn(i,o);if(s!==null){var h=Gt();Dr(s,i,o,h)}Xd(i,o)}},J0=function(){return Fe},eb=function(i,o){var s=Fe;try{return Fe=i,o()}finally{Fe=s}},Yi=function(i,o,s){switch(o){case"input":if(ct(i,s),o=s.name,s.type==="radio"&&o!=null){for(s=i;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),o=0;o<s.length;o++){var h=s[o];if(h!==i&&h.form===i.form){var m=Nu(h);if(!m)throw Error(r(90));ne(h),ct(h,m)}}}break;case"textarea":hi(i,s);break;case"select":o=s.value,o!=null&&jt(i,!!s.multiple,o,!1)}},L0=Fd,B0=ji;var L2={usingClientEntryPoint:!1,Events:[Ro,aa,Nu,R0,D0,Fd]},Yo={findFiberByHostInstance:yi,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},B2={bundleType:Yo.bundleType,version:Yo.version,rendererPackageName:Yo.rendererPackageName,rendererConfig:Yo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:T.ReactCurrentDispatcher,findHostInstanceByFiber:function(i){return i=U0(i),i===null?null:i.stateNode},findFiberByHostInstance:Yo.findFiberByHostInstance||R2,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ms=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ms.isDisabled&&ms.supportsFiber)try{hu=ms.inject(B2),Vr=ms}catch{}}return rr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L2,rr.createPortal=function(i,o){var s=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Qd(o))throw Error(r(200));return $2(i,o,null,s)},rr.createRoot=function(i,o){if(!Qd(i))throw Error(r(299));var s=!1,h="",m=m1;return o!=null&&(o.unstable_strictMode===!0&&(s=!0),o.identifierPrefix!==void 0&&(h=o.identifierPrefix),o.onRecoverableError!==void 0&&(m=o.onRecoverableError)),o=Kd(i,1,!1,null,null,s,!1,h,m),i[an]=o.current,Mo(i.nodeType===8?i.parentNode:i),new Yd(o)},rr.findDOMNode=function(i){if(i==null)return null;if(i.nodeType===1)return i;var o=i._reactInternals;if(o===void 0)throw typeof i.render=="function"?Error(r(188)):(i=Object.keys(i).join(","),Error(r(268,i)));return i=U0(o),i=i===null?null:i.stateNode,i},rr.flushSync=function(i){return ji(i)},rr.hydrate=function(i,o,s){if(!ps(o))throw Error(r(200));return vs(null,i,o,!0,s)},rr.hydrateRoot=function(i,o,s){if(!Qd(i))throw Error(r(405));var h=s!=null&&s.hydratedSources||null,m=!1,x="",k=m1;if(s!=null&&(s.unstable_strictMode===!0&&(m=!0),s.identifierPrefix!==void 0&&(x=s.identifierPrefix),s.onRecoverableError!==void 0&&(k=s.onRecoverableError)),o=p1(o,null,i,1,s??null,m,!1,x,k),i[an]=o.current,Mo(i),h)for(i=0;i<h.length;i++)s=h[i],m=s._getVersion,m=m(s._source),o.mutableSourceEagerHydrationData==null?o.mutableSourceEagerHydrationData=[s,m]:o.mutableSourceEagerHydrationData.push(s,m);return new hs(o)},rr.render=function(i,o,s){if(!ps(o))throw Error(r(200));return vs(null,i,o,!1,s)},rr.unmountComponentAtNode=function(i){if(!ps(i))throw Error(r(40));return i._reactRootContainer?(ji(function(){vs(null,null,i,!1,function(){i._reactRootContainer=null,i[an]=null})}),!0):!1},rr.unstable_batchedUpdates=Fd,rr.unstable_renderSubtreeIntoContainer=function(i,o,s,h){if(!ps(s))throw Error(r(200));if(i==null||i._reactInternals===void 0)throw Error(r(38));return vs(i,o,s,!1,h)},rr.version="18.3.1-next-f1338f8080-20240426",rr}var j1;function gA(){if(j1)return eh.exports;j1=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(),eh.exports=K2(),eh.exports}var P1;function X2(){if(P1)return gs;P1=1;var e=gA();return gs.createRoot=e.createRoot,gs.hydrateRoot=e.hydrateRoot,gs}var Y2=X2();const Q2=We(Y2);gA();/**
|
|
41
|
+
* @remix-run/router v1.23.4
|
|
42
|
+
*
|
|
43
|
+
* Copyright (c) Remix Software Inc.
|
|
44
|
+
*
|
|
45
|
+
* This source code is licensed under the MIT license found in the
|
|
46
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
47
|
+
*
|
|
48
|
+
* @license MIT
|
|
49
|
+
*/function vl(){return vl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},vl.apply(null,arguments)}var ei;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(ei||(ei={}));const A1="popstate";function Z2(e){e===void 0&&(e={});function t(n,a){let{pathname:l,search:u,hash:c}=n.location;return iy("",{pathname:l,search:u,hash:c},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}function r(n,a){return typeof a=="string"?a:Ms(a)}return eN(t,r,null,e)}function st(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function bA(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function J2(){return Math.random().toString(36).substr(2,8)}function E1(e,t){return{usr:e.state,key:e.key,idx:t}}function iy(e,t,r,n){return r===void 0&&(r=null),vl({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?eo(t):t,{state:r,key:t&&t.key||n||J2()})}function Ms(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function eo(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function eN(e,t,r,n){n===void 0&&(n={});let{window:a=document.defaultView,v5Compat:l=!1}=n,u=a.history,c=ei.Pop,f=null,d=v();d==null&&(d=0,u.replaceState(vl({},u.state,{idx:d}),""));function v(){return(u.state||{idx:null}).idx}function p(){c=ei.Pop;let b=v(),O=b==null?null:b-d;d=b,f&&f({action:c,location:S.location,delta:O})}function g(b,O){c=ei.Push;let P=iy(S.location,b,O);d=v()+1;let E=E1(P,d),T=S.createHref(P);try{u.pushState(E,"",T)}catch(j){if(j instanceof DOMException&&j.name==="DataCloneError")throw j;a.location.assign(T)}l&&f&&f({action:c,location:S.location,delta:1})}function w(b,O){c=ei.Replace;let P=iy(S.location,b,O);d=v();let E=E1(P,d),T=S.createHref(P);u.replaceState(E,"",T),l&&f&&f({action:c,location:S.location,delta:0})}function _(b){let O=a.location.origin!=="null"?a.location.origin:a.location.href,P=typeof b=="string"?b:Ms(b);return P=P.replace(/ $/,"%20"),st(O,"No window.location.(origin|href) available to create URL for href: "+P),new URL(P,O)}let S={get action(){return c},get location(){return e(a,u)},listen(b){if(f)throw new Error("A history only accepts one active listener");return a.addEventListener(A1,p),f=b,()=>{a.removeEventListener(A1,p),f=null}},createHref(b){return t(a,b)},createURL:_,encodeLocation(b){let O=_(b);return{pathname:O.pathname,search:O.search,hash:O.hash}},push:g,replace:w,go(b){return u.go(b)}};return S}var k1;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(k1||(k1={}));function tN(e,t,r){return r===void 0&&(r="/"),rN(e,t,r)}function rN(e,t,r,n){let a=typeof t=="string"?eo(t):t,l=Ca(a.pathname||"/",r);if(l==null)return null;let u=xA(e);nN(u);let c=null,f=pN(l);for(let d=0;c==null&&d<u.length;++d)c=dN(u[d],f);return c}function xA(e,t,r,n){t===void 0&&(t=[]),r===void 0&&(r=[]),n===void 0&&(n="");let a=(l,u,c)=>{let f={relativePath:c===void 0?l.path||"":c,caseSensitive:l.caseSensitive===!0,childrenIndex:u,route:l};f.relativePath.startsWith("/")&&(st(f.relativePath.startsWith(n),'Absolute route path "'+f.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),f.relativePath=f.relativePath.slice(n.length));let d=ii([n,f.relativePath]),v=r.concat(f);l.children&&l.children.length>0&&(st(l.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+d+'".')),xA(l.children,t,v,d)),!(l.path==null&&!l.index)&&t.push({path:d,score:cN(d,l.index),routesMeta:v})};return e.forEach((l,u)=>{var c;if(l.path===""||!((c=l.path)!=null&&c.includes("?")))a(l,u);else for(let f of wA(l.path))a(l,u,f)}),t}function wA(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,a=r.endsWith("?"),l=r.replace(/\?$/,"");if(n.length===0)return a?[l,""]:[l];let u=wA(n.join("/")),c=[];return c.push(...u.map(f=>f===""?l:[l,f].join("/"))),a&&c.push(...u),c.map(f=>e.startsWith("/")&&f===""?"/":f)}function nN(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:fN(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const iN=/^:[\w-]+$/,aN=3,oN=2,lN=1,uN=10,sN=-2,T1=e=>e==="*";function cN(e,t){let r=e.split("/"),n=r.length;return r.some(T1)&&(n+=sN),t&&(n+=oN),r.filter(a=>!T1(a)).reduce((a,l)=>a+(iN.test(l)?aN:l===""?lN:uN),n)}function fN(e,t){return e.length===t.length&&e.slice(0,-1).every((n,a)=>n===t[a])?e[e.length-1]-t[t.length-1]:0}function dN(e,t,r){let{routesMeta:n}=e,a={},l="/",u=[];for(let c=0;c<n.length;++c){let f=n[c],d=c===n.length-1,v=l==="/"?t:t.slice(l.length)||"/",p=ay({path:f.relativePath,caseSensitive:f.caseSensitive,end:d},v),g=f.route;if(!p)return null;Object.assign(a,p.params),u.push({params:a,pathname:ii([l,p.pathname]),pathnameBase:yN(ii([l,p.pathnameBase])),route:g}),p.pathnameBase!=="/"&&(l=ii([l,p.pathnameBase]))}return u}function ay(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=hN(e.path,e.caseSensitive,e.end),a=t.match(r);if(!a)return null;let l=a[0],u=l.replace(/(.)\/+$/,"$1"),c=a.slice(1);return{params:n.reduce((d,v,p)=>{let{paramName:g,isOptional:w}=v;if(g==="*"){let S=c[p]||"";u=l.slice(0,l.length-S.length).replace(/(.)\/+$/,"$1")}const _=c[p];return w&&!_?d[g]=void 0:d[g]=(_||"").replace(/%2F/g,"/"),d},{}),pathname:l,pathnameBase:u,pattern:e}}function hN(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),bA(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let n=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,c,f)=>(n.push({paramName:c,isOptional:f!=null}),f?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(n.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),n]}function pN(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return bA(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Ca(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function vN(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:a=""}=typeof e=="string"?eo(e):e,l;return r?(r=OA(r),r.startsWith("/")?l=C1(r.substring(1),"/"):l=C1(r,t)):l=t,{pathname:l,search:gN(n),hash:bN(a)}}function C1(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?r.length>1&&r.pop():a!=="."&&r.push(a)}),r.length>1?r.join("/"):"/"}function nh(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function mN(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function SA(e,t){let r=mN(e);return t?r.map((n,a)=>a===r.length-1?n.pathname:n.pathnameBase):r.map(n=>n.pathnameBase)}function _A(e,t,r,n){n===void 0&&(n=!1);let a;typeof e=="string"?a=eo(e):(a=vl({},e),st(!a.pathname||!a.pathname.includes("?"),nh("?","pathname","search",a)),st(!a.pathname||!a.pathname.includes("#"),nh("#","pathname","hash",a)),st(!a.search||!a.search.includes("#"),nh("#","search","hash",a)));let l=e===""||a.pathname==="",u=l?"/":a.pathname,c;if(u==null)c=r;else{let p=t.length-1;if(!n&&u.startsWith("..")){let g=u.split("/");for(;g[0]==="..";)g.shift(),p-=1;a.pathname=g.join("/")}c=p>=0?t[p]:"/"}let f=vN(a,c),d=u&&u!=="/"&&u.endsWith("/"),v=(l||u===".")&&r.endsWith("/");return!f.pathname.endsWith("/")&&(d||v)&&(f.pathname+="/"),f}const OA=e=>e.replace(/\/\/+/g,"/"),ii=e=>OA(e.join("/")),yN=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),gN=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,bN=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function xN(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const jA=["post","put","patch","delete"];new Set(jA);const wN=["get",...jA];new Set(wN);/**
|
|
50
|
+
* React Router v6.30.6
|
|
51
|
+
*
|
|
52
|
+
* Copyright (c) Remix Software Inc.
|
|
53
|
+
*
|
|
54
|
+
* This source code is licensed under the MIT license found in the
|
|
55
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
56
|
+
*
|
|
57
|
+
* @license MIT
|
|
58
|
+
*/function ml(){return ml=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ml.apply(null,arguments)}const Ic=D.createContext(null),PA=D.createContext(null),li=D.createContext(null),$c=D.createContext(null),Hi=D.createContext({outlet:null,matches:[],isDataRoute:!1}),AA=D.createContext(null);function SN(e,t){let{relative:r}=t===void 0?{}:t;Jl()||st(!1);let{basename:n,navigator:a}=D.useContext(li),{hash:l,pathname:u,search:c}=Rc(e,{relative:r}),f=u;return n!=="/"&&(f=u==="/"?n:ii([n,u])),a.createHref({pathname:f,search:c,hash:l})}function Jl(){return D.useContext($c)!=null}function to(){return Jl()||st(!1),D.useContext($c).location}function EA(e){D.useContext(li).static||D.useLayoutEffect(e)}function _N(){let{isDataRoute:e}=D.useContext(Hi);return e?RN():ON()}function ON(){Jl()||st(!1);let e=D.useContext(Ic),{basename:t,future:r,navigator:n}=D.useContext(li),{matches:a}=D.useContext(Hi),{pathname:l}=to(),u=JSON.stringify(SA(a,r.v7_relativeSplatPath)),c=D.useRef(!1);return EA(()=>{c.current=!0}),D.useCallback(function(d,v){if(v===void 0&&(v={}),!c.current)return;if(typeof d=="number"){n.go(d);return}let p=_A(d,JSON.parse(u),l,v.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:ii([t,p.pathname])),(v.replace?n.replace:n.push)(p,v.state,v)},[t,n,u,l,e])}function Rc(e,t){let{relative:r}=t===void 0?{}:t,{future:n}=D.useContext(li),{matches:a}=D.useContext(Hi),{pathname:l}=to(),u=JSON.stringify(SA(a,n.v7_relativeSplatPath));return D.useMemo(()=>_A(e,JSON.parse(u),l,r==="path"),[e,u,l,r])}function jN(e,t){return PN(e,t)}function PN(e,t,r,n){Jl()||st(!1);let{navigator:a}=D.useContext(li),{matches:l}=D.useContext(Hi),u=l[l.length-1],c=u?u.params:{};u&&u.pathname;let f=u?u.pathnameBase:"/";u&&u.route;let d=to(),v;if(t){var p;let b=typeof t=="string"?eo(t):t;f==="/"||(p=b.pathname)!=null&&p.startsWith(f)||st(!1),v=b}else v=d;let g=v.pathname||"/",w=g;if(f!=="/"){let b=f.replace(/^\//,"").split("/");w="/"+g.replace(/^\//,"").split("/").slice(b.length).join("/")}let _=tN(e,{pathname:w}),S=CN(_&&_.map(b=>Object.assign({},b,{params:Object.assign({},c,b.params),pathname:ii([f,a.encodeLocation?a.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?f:ii([f,a.encodeLocation?a.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),l,r,n);return t&&S?D.createElement($c.Provider,{value:{location:ml({pathname:"/",search:"",hash:"",state:null,key:"default"},v),navigationType:ei.Pop}},S):S}function AN(){let e=$N(),t=xN(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return D.createElement(D.Fragment,null,D.createElement("h2",null,"Unexpected Application Error!"),D.createElement("h3",{style:{fontStyle:"italic"}},t),r?D.createElement("pre",{style:a},r):null,null)}const EN=D.createElement(AN,null);class kN extends D.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error!==void 0?D.createElement(Hi.Provider,{value:this.props.routeContext},D.createElement(AA.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function TN(e){let{routeContext:t,match:r,children:n}=e,a=D.useContext(Ic);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),D.createElement(Hi.Provider,{value:t},n)}function CN(e,t,r,n){var a;if(t===void 0&&(t=[]),r===void 0&&(r=null),n===void 0&&(n=null),e==null){var l;if(!r)return null;if(r.errors)e=r.matches;else if((l=n)!=null&&l.v7_partialHydration&&t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let u=e,c=(a=r)==null?void 0:a.errors;if(c!=null){let v=u.findIndex(p=>p.route.id&&(c==null?void 0:c[p.route.id])!==void 0);v>=0||st(!1),u=u.slice(0,Math.min(u.length,v+1))}let f=!1,d=-1;if(r&&n&&n.v7_partialHydration)for(let v=0;v<u.length;v++){let p=u[v];if((p.route.HydrateFallback||p.route.hydrateFallbackElement)&&(d=v),p.route.id){let{loaderData:g,errors:w}=r,_=p.route.loader&&g[p.route.id]===void 0&&(!w||w[p.route.id]===void 0);if(p.route.lazy||_){f=!0,d>=0?u=u.slice(0,d+1):u=[u[0]];break}}}return u.reduceRight((v,p,g)=>{let w,_=!1,S=null,b=null;r&&(w=c&&p.route.id?c[p.route.id]:void 0,S=p.route.errorElement||EN,f&&(d<0&&g===0?(DN("route-fallback"),_=!0,b=null):d===g&&(_=!0,b=p.route.hydrateFallbackElement||null)));let O=t.concat(u.slice(0,g+1)),P=()=>{let E;return w?E=S:_?E=b:p.route.Component?E=D.createElement(p.route.Component,null):p.route.element?E=p.route.element:E=v,D.createElement(TN,{match:p,routeContext:{outlet:v,matches:O,isDataRoute:r!=null},children:E})};return r&&(p.route.ErrorBoundary||p.route.errorElement||g===0)?D.createElement(kN,{location:r.location,revalidation:r.revalidation,component:S,error:w,children:P(),routeContext:{outlet:null,matches:O,isDataRoute:!0}}):P()},null)}var kA=(function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e})(kA||{}),TA=(function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e})(TA||{});function NN(e){let t=D.useContext(Ic);return t||st(!1),t}function MN(e){let t=D.useContext(PA);return t||st(!1),t}function IN(e){let t=D.useContext(Hi);return t||st(!1),t}function CA(e){let t=IN(),r=t.matches[t.matches.length-1];return r.route.id||st(!1),r.route.id}function $N(){var e;let t=D.useContext(AA),r=MN(),n=CA();return t!==void 0?t:(e=r.errors)==null?void 0:e[n]}function RN(){let{router:e}=NN(kA.UseNavigateStable),t=CA(TA.UseNavigateStable),r=D.useRef(!1);return EA(()=>{r.current=!0}),D.useCallback(function(a,l){l===void 0&&(l={}),r.current&&(typeof a=="number"?e.navigate(a):e.navigate(a,ml({fromRouteId:t},l)))},[e,t])}const N1={};function DN(e,t,r){N1[e]||(N1[e]=!0)}function LN(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Xt(e){st(!1)}function BN(e){let{basename:t="/",children:r=null,location:n,navigationType:a=ei.Pop,navigator:l,static:u=!1,future:c}=e;Jl()&&st(!1);let f=t.replace(/^\/*/,"/"),d=D.useMemo(()=>({basename:f,navigator:l,static:u,future:ml({v7_relativeSplatPath:!1},c)}),[f,c,l,u]);typeof n=="string"&&(n=eo(n));let{pathname:v="/",search:p="",hash:g="",state:w=null,key:_="default"}=n,S=D.useMemo(()=>{let b=Ca(v,f);return b==null?null:{location:{pathname:b,search:p,hash:g,state:w,key:_},navigationType:a}},[f,v,p,g,w,_,a]);return S==null?null:D.createElement(li.Provider,{value:d},D.createElement($c.Provider,{children:r,value:S}))}function qN(e){let{children:t,location:r}=e;return jN(oy(t),r)}new Promise(()=>{});function oy(e,t){t===void 0&&(t=[]);let r=[];return D.Children.forEach(e,(n,a)=>{if(!D.isValidElement(n))return;let l=[...t,a];if(n.type===D.Fragment){r.push.apply(r,oy(n.props.children,l));return}n.type!==Xt&&st(!1),!n.props.index||!n.props.children||st(!1);let u={id:n.props.id||l.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(u.children=oy(n.props.children,l)),r.push(u)}),r}/**
|
|
59
|
+
* React Router DOM v6.30.6
|
|
60
|
+
*
|
|
61
|
+
* Copyright (c) Remix Software Inc.
|
|
62
|
+
*
|
|
63
|
+
* This source code is licensed under the MIT license found in the
|
|
64
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
65
|
+
*
|
|
66
|
+
* @license MIT
|
|
67
|
+
*/function Is(){return Is=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Is.apply(null,arguments)}function NA(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function zN(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function FN(e,t){return e.button===0&&(!t||t==="_self")&&!zN(e)}const UN=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],WN=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],HN="6";try{window.__reactRouterVersion=HN}catch{}const VN=D.createContext({isTransitioning:!1}),GN="startTransition",M1=H2[GN];function KN(e){let{basename:t,children:r,future:n,window:a}=e,l=D.useRef();l.current==null&&(l.current=Z2({window:a,v5Compat:!0}));let u=l.current,[c,f]=D.useState({action:u.action,location:u.location}),{v7_startTransition:d}=n||{},v=D.useCallback(p=>{d&&M1?M1(()=>f(p)):f(p)},[f,d]);return D.useLayoutEffect(()=>u.listen(v),[u,v]),D.useEffect(()=>LN(n),[n]),D.createElement(BN,{basename:t,children:r,location:c.location,navigationType:c.action,navigator:u,future:n})}const XN=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",YN=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,QN=D.forwardRef(function(t,r){let{onClick:n,relative:a,reloadDocument:l,replace:u,state:c,target:f,to:d,preventScrollReset:v,viewTransition:p}=t,g=NA(t,UN),{basename:w}=D.useContext(li),_,S=!1;if(typeof d=="string"&&YN.test(d)&&(_=d,XN))try{let E=new URL(window.location.href),T=d.startsWith("//")?new URL(E.protocol+d):new URL(d),j=Ca(T.pathname,w);T.origin===E.origin&&j!=null?d=j+T.search+T.hash:S=!0}catch{}let b=SN(d,{relative:a}),O=JN(d,{replace:u,state:c,target:f,preventScrollReset:v,relative:a,viewTransition:p});function P(E){n&&n(E),E.defaultPrevented||O(E)}return D.createElement("a",Is({},g,{href:_||b,onClick:S||l?n:P,ref:r,target:f}))}),Kt=D.forwardRef(function(t,r){let{"aria-current":n="page",caseSensitive:a=!1,className:l="",end:u=!1,style:c,to:f,viewTransition:d,children:v}=t,p=NA(t,WN),g=Rc(f,{relative:p.relative}),w=to(),_=D.useContext(PA),{navigator:S,basename:b}=D.useContext(li),O=_!=null&&eM(g)&&d===!0,P=S.encodeLocation?S.encodeLocation(g).pathname:g.pathname,E=w.pathname,T=_&&_.navigation&&_.navigation.location?_.navigation.location.pathname:null;a||(E=E.toLowerCase(),T=T?T.toLowerCase():null,P=P.toLowerCase()),T&&b&&(T=Ca(T,b)||T);const j=P!=="/"&&P.endsWith("/")?P.length-1:P.length;let A=E===P||!u&&E.startsWith(P)&&E.charAt(j)==="/",C=T!=null&&(T===P||!u&&T.startsWith(P)&&T.charAt(P.length)==="/"),N={isActive:A,isPending:C,isTransitioning:O},B=A?n:void 0,$;typeof l=="function"?$=l(N):$=[l,A?"active":null,C?"pending":null,O?"transitioning":null].filter(Boolean).join(" ");let R=typeof c=="function"?c(N):c;return D.createElement(QN,Is({},p,{"aria-current":B,className:$,ref:r,style:R,to:f,viewTransition:d}),typeof v=="function"?v(N):v)});var ly;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ly||(ly={}));var I1;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(I1||(I1={}));function ZN(e){let t=D.useContext(Ic);return t||st(!1),t}function JN(e,t){let{target:r,replace:n,state:a,preventScrollReset:l,relative:u,viewTransition:c}=t===void 0?{}:t,f=_N(),d=to(),v=Rc(e,{relative:u});return D.useCallback(p=>{if(FN(p,r)){p.preventDefault();let g=n!==void 0?n:Ms(d)===Ms(v);f(e,{replace:g,state:a,preventScrollReset:l,relative:u,viewTransition:c})}},[d,f,v,n,a,r,e,l,u,c])}function eM(e,t){t===void 0&&(t={});let r=D.useContext(VN);r==null&&st(!1);let{basename:n}=ZN(ly.useViewTransitionState),a=Rc(e,{relative:t.relative});if(!r.isTransitioning)return!1;let l=Ca(r.currentLocation.pathname,n)||r.currentLocation.pathname,u=Ca(r.nextLocation.pathname,n)||r.nextLocation.pathname;return ay(a.pathname,u)!=null||ay(a.pathname,l)!=null}/**
|
|
68
|
+
* @license lucide-react v0.468.0 - ISC
|
|
69
|
+
*
|
|
70
|
+
* This source code is licensed under the ISC license.
|
|
71
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
72
|
+
*/const tM=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),MA=(...e)=>e.filter((t,r,n)=>!!t&&t.trim()!==""&&n.indexOf(t)===r).join(" ").trim();/**
|
|
73
|
+
* @license lucide-react v0.468.0 - ISC
|
|
74
|
+
*
|
|
75
|
+
* This source code is licensed under the ISC license.
|
|
76
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
77
|
+
*/var rM={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"};/**
|
|
78
|
+
* @license lucide-react v0.468.0 - ISC
|
|
79
|
+
*
|
|
80
|
+
* This source code is licensed under the ISC license.
|
|
81
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
82
|
+
*/const nM=D.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:a="",children:l,iconNode:u,...c},f)=>D.createElement("svg",{ref:f,...rM,width:t,height:t,stroke:e,strokeWidth:n?Number(r)*24/Number(t):r,className:MA("lucide",a),...c},[...u.map(([d,v])=>D.createElement(d,v)),...Array.isArray(l)?l:[l]]));/**
|
|
83
|
+
* @license lucide-react v0.468.0 - ISC
|
|
84
|
+
*
|
|
85
|
+
* This source code is licensed under the ISC license.
|
|
86
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
87
|
+
*/const _t=(e,t)=>{const r=D.forwardRef(({className:n,...a},l)=>D.createElement(nM,{ref:l,iconNode:t,className:MA(`lucide-${tM(e)}`,n),...a}));return r.displayName=`${e}`,r};/**
|
|
88
|
+
* @license lucide-react v0.468.0 - ISC
|
|
89
|
+
*
|
|
90
|
+
* This source code is licensed under the ISC license.
|
|
91
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
92
|
+
*/const ti=_t("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"}]]);/**
|
|
93
|
+
* @license lucide-react v0.468.0 - ISC
|
|
94
|
+
*
|
|
95
|
+
* This source code is licensed under the ISC license.
|
|
96
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
97
|
+
*/const iM=_t("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
|
|
98
|
+
* @license lucide-react v0.468.0 - ISC
|
|
99
|
+
*
|
|
100
|
+
* This source code is licensed under the ISC license.
|
|
101
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
102
|
+
*/const aM=_t("Bell",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]]);/**
|
|
103
|
+
* @license lucide-react v0.468.0 - ISC
|
|
104
|
+
*
|
|
105
|
+
* This source code is licensed under the ISC license.
|
|
106
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
107
|
+
*/const Cs=_t("Box",[["path",{d:"M21 8a2 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.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]]);/**
|
|
108
|
+
* @license lucide-react v0.468.0 - ISC
|
|
109
|
+
*
|
|
110
|
+
* This source code is licensed under the ISC license.
|
|
111
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
112
|
+
*/const oM=_t("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
|
|
113
|
+
* @license lucide-react v0.468.0 - ISC
|
|
114
|
+
*
|
|
115
|
+
* This source code is licensed under the ISC license.
|
|
116
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
117
|
+
*/const lM=_t("Cpu",[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]]);/**
|
|
118
|
+
* @license lucide-react v0.468.0 - ISC
|
|
119
|
+
*
|
|
120
|
+
* This source code is licensed under the ISC license.
|
|
121
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
122
|
+
*/const uM=_t("FileClock",[["path",{d:"M16 22h2a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3",key:"37hlfg"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"8",cy:"16",r:"6",key:"10v15b"}],["path",{d:"M9.5 17.5 8 16.25V14",key:"1o80t2"}]]);/**
|
|
123
|
+
* @license lucide-react v0.468.0 - ISC
|
|
124
|
+
*
|
|
125
|
+
* This source code is licensed under the ISC license.
|
|
126
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
127
|
+
*/const uy=_t("HardDrive",[["line",{x1:"22",x2:"2",y1:"12",y2:"12",key:"1y58io"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}],["line",{x1:"6",x2:"6.01",y1:"16",y2:"16",key:"sgf278"}],["line",{x1:"10",x2:"10.01",y1:"16",y2:"16",key:"1l4acy"}]]);/**
|
|
128
|
+
* @license lucide-react v0.468.0 - ISC
|
|
129
|
+
*
|
|
130
|
+
* This source code is licensed under the ISC license.
|
|
131
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
132
|
+
*/const sM=_t("History",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]);/**
|
|
133
|
+
* @license lucide-react v0.468.0 - ISC
|
|
134
|
+
*
|
|
135
|
+
* This source code is licensed under the ISC license.
|
|
136
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
137
|
+
*/const cM=_t("ListChecks",[["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}],["path",{d:"M13 6h8",key:"15sg57"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 18h8",key:"oe0vm4"}]]);/**
|
|
138
|
+
* @license lucide-react v0.468.0 - ISC
|
|
139
|
+
*
|
|
140
|
+
* This source code is licensed under the ISC license.
|
|
141
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
142
|
+
*/const fM=_t("Logs",[["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 18h8",key:"oe0vm4"}],["path",{d:"M13 6h8",key:"15sg57"}],["path",{d:"M3 12h1",key:"lp3yf2"}],["path",{d:"M3 18h1",key:"1eiwyy"}],["path",{d:"M3 6h1",key:"rgxa97"}],["path",{d:"M8 12h1",key:"1con00"}],["path",{d:"M8 18h1",key:"13wk12"}],["path",{d:"M8 6h1",key:"tn6mkg"}]]);/**
|
|
143
|
+
* @license lucide-react v0.468.0 - ISC
|
|
144
|
+
*
|
|
145
|
+
* This source code is licensed under the ISC license.
|
|
146
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
147
|
+
*/const IA=_t("MemoryStick",[["path",{d:"M6 19v-3",key:"1nvgqn"}],["path",{d:"M10 19v-3",key:"iu8nkm"}],["path",{d:"M14 19v-3",key:"kcehxu"}],["path",{d:"M18 19v-3",key:"1vh91z"}],["path",{d:"M8 11V9",key:"63erz4"}],["path",{d:"M16 11V9",key:"fru6f3"}],["path",{d:"M12 11V9",key:"ha00sb"}],["path",{d:"M2 15h20",key:"16ne18"}],["path",{d:"M2 7a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v1.1a2 2 0 0 0 0 3.837V17a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-5.1a2 2 0 0 0 0-3.837Z",key:"lhddv3"}]]);/**
|
|
148
|
+
* @license lucide-react v0.468.0 - ISC
|
|
149
|
+
*
|
|
150
|
+
* This source code is licensed under the ISC license.
|
|
151
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
152
|
+
*/const sy=_t("Network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]);/**
|
|
153
|
+
* @license lucide-react v0.468.0 - ISC
|
|
154
|
+
*
|
|
155
|
+
* This source code is licensed under the ISC license.
|
|
156
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
157
|
+
*/const dM=_t("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"}]]);/**
|
|
158
|
+
* @license lucide-react v0.468.0 - ISC
|
|
159
|
+
*
|
|
160
|
+
* This source code is licensed under the ISC license.
|
|
161
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
162
|
+
*/const $A=_t("Server",[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]);/**
|
|
163
|
+
* @license lucide-react v0.468.0 - ISC
|
|
164
|
+
*
|
|
165
|
+
* This source code is licensed under the ISC license.
|
|
166
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
167
|
+
*/const cy=_t("Settings2",[["path",{d:"M20 7h-9",key:"3s1dr2"}],["path",{d:"M14 17H5",key:"gfn3mx"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]]);/**
|
|
168
|
+
* @license lucide-react v0.468.0 - ISC
|
|
169
|
+
*
|
|
170
|
+
* This source code is licensed under the ISC license.
|
|
171
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
172
|
+
*/const kg=_t("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"}]]);/**
|
|
173
|
+
* @license lucide-react v0.468.0 - ISC
|
|
174
|
+
*
|
|
175
|
+
* This source code is licensed under the ISC license.
|
|
176
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
177
|
+
*/const hM=_t("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"}]]);/**
|
|
178
|
+
* @license lucide-react v0.468.0 - ISC
|
|
179
|
+
*
|
|
180
|
+
* This source code is licensed under the ISC license.
|
|
181
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
182
|
+
*/const pM=_t("SquareTerminal",[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]]);function RA(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=RA(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Re(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=RA(e))&&(n&&(n+=" "),n+=t);return n}var ih,$1;function ir(){if($1)return ih;$1=1;var e=Array.isArray;return ih=e,ih}var ah,R1;function DA(){if(R1)return ah;R1=1;var e=typeof ys=="object"&&ys&&ys.Object===Object&&ys;return ah=e,ah}var oh,D1;function rn(){if(D1)return oh;D1=1;var e=DA(),t=typeof self=="object"&&self&&self.Object===Object&&self,r=e||t||Function("return this")();return oh=r,oh}var lh,L1;function eu(){if(L1)return lh;L1=1;var e=rn(),t=e.Symbol;return lh=t,lh}var uh,B1;function vM(){if(B1)return uh;B1=1;var e=eu(),t=Object.prototype,r=t.hasOwnProperty,n=t.toString,a=e?e.toStringTag:void 0;function l(u){var c=r.call(u,a),f=u[a];try{u[a]=void 0;var d=!0}catch{}var v=n.call(u);return d&&(c?u[a]=f:delete u[a]),v}return uh=l,uh}var sh,q1;function mM(){if(q1)return sh;q1=1;var e=Object.prototype,t=e.toString;function r(n){return t.call(n)}return sh=r,sh}var ch,z1;function Pn(){if(z1)return ch;z1=1;var e=eu(),t=vM(),r=mM(),n="[object Null]",a="[object Undefined]",l=e?e.toStringTag:void 0;function u(c){return c==null?c===void 0?a:n:l&&l in Object(c)?t(c):r(c)}return ch=u,ch}var fh,F1;function An(){if(F1)return fh;F1=1;function e(t){return t!=null&&typeof t=="object"}return fh=e,fh}var dh,U1;function ro(){if(U1)return dh;U1=1;var e=Pn(),t=An(),r="[object Symbol]";function n(a){return typeof a=="symbol"||t(a)&&e(a)==r}return dh=n,dh}var hh,W1;function Tg(){if(W1)return hh;W1=1;var e=ir(),t=ro(),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function a(l,u){if(e(l))return!1;var c=typeof l;return c=="number"||c=="symbol"||c=="boolean"||l==null||t(l)?!0:n.test(l)||!r.test(l)||u!=null&&l in Object(u)}return hh=a,hh}var ph,H1;function ui(){if(H1)return ph;H1=1;function e(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}return ph=e,ph}var vh,V1;function Cg(){if(V1)return vh;V1=1;var e=Pn(),t=ui(),r="[object AsyncFunction]",n="[object Function]",a="[object GeneratorFunction]",l="[object Proxy]";function u(c){if(!t(c))return!1;var f=e(c);return f==n||f==a||f==r||f==l}return vh=u,vh}var mh,G1;function yM(){if(G1)return mh;G1=1;var e=rn(),t=e["__core-js_shared__"];return mh=t,mh}var yh,K1;function gM(){if(K1)return yh;K1=1;var e=yM(),t=(function(){var n=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""})();function r(n){return!!t&&t in n}return yh=r,yh}var gh,X1;function LA(){if(X1)return gh;X1=1;var e=Function.prototype,t=e.toString;function r(n){if(n!=null){try{return t.call(n)}catch{}try{return n+""}catch{}}return""}return gh=r,gh}var bh,Y1;function bM(){if(Y1)return bh;Y1=1;var e=Cg(),t=gM(),r=ui(),n=LA(),a=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,f=u.toString,d=c.hasOwnProperty,v=RegExp("^"+f.call(d).replace(a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(g){if(!r(g)||t(g))return!1;var w=e(g)?v:l;return w.test(n(g))}return bh=p,bh}var xh,Q1;function xM(){if(Q1)return xh;Q1=1;function e(t,r){return t==null?void 0:t[r]}return xh=e,xh}var wh,Z1;function Vi(){if(Z1)return wh;Z1=1;var e=bM(),t=xM();function r(n,a){var l=t(n,a);return e(l)?l:void 0}return wh=r,wh}var Sh,J1;function Dc(){if(J1)return Sh;J1=1;var e=Vi(),t=e(Object,"create");return Sh=t,Sh}var _h,ew;function wM(){if(ew)return _h;ew=1;var e=Dc();function t(){this.__data__=e?e(null):{},this.size=0}return _h=t,_h}var Oh,tw;function SM(){if(tw)return Oh;tw=1;function e(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}return Oh=e,Oh}var jh,rw;function _M(){if(rw)return jh;rw=1;var e=Dc(),t="__lodash_hash_undefined__",r=Object.prototype,n=r.hasOwnProperty;function a(l){var u=this.__data__;if(e){var c=u[l];return c===t?void 0:c}return n.call(u,l)?u[l]:void 0}return jh=a,jh}var Ph,nw;function OM(){if(nw)return Ph;nw=1;var e=Dc(),t=Object.prototype,r=t.hasOwnProperty;function n(a){var l=this.__data__;return e?l[a]!==void 0:r.call(l,a)}return Ph=n,Ph}var Ah,iw;function jM(){if(iw)return Ah;iw=1;var e=Dc(),t="__lodash_hash_undefined__";function r(n,a){var l=this.__data__;return this.size+=this.has(n)?0:1,l[n]=e&&a===void 0?t:a,this}return Ah=r,Ah}var Eh,aw;function PM(){if(aw)return Eh;aw=1;var e=wM(),t=SM(),r=_M(),n=OM(),a=jM();function l(u){var c=-1,f=u==null?0:u.length;for(this.clear();++c<f;){var d=u[c];this.set(d[0],d[1])}}return l.prototype.clear=e,l.prototype.delete=t,l.prototype.get=r,l.prototype.has=n,l.prototype.set=a,Eh=l,Eh}var kh,ow;function AM(){if(ow)return kh;ow=1;function e(){this.__data__=[],this.size=0}return kh=e,kh}var Th,lw;function Ng(){if(lw)return Th;lw=1;function e(t,r){return t===r||t!==t&&r!==r}return Th=e,Th}var Ch,uw;function Lc(){if(uw)return Ch;uw=1;var e=Ng();function t(r,n){for(var a=r.length;a--;)if(e(r[a][0],n))return a;return-1}return Ch=t,Ch}var Nh,sw;function EM(){if(sw)return Nh;sw=1;var e=Lc(),t=Array.prototype,r=t.splice;function n(a){var l=this.__data__,u=e(l,a);if(u<0)return!1;var c=l.length-1;return u==c?l.pop():r.call(l,u,1),--this.size,!0}return Nh=n,Nh}var Mh,cw;function kM(){if(cw)return Mh;cw=1;var e=Lc();function t(r){var n=this.__data__,a=e(n,r);return a<0?void 0:n[a][1]}return Mh=t,Mh}var Ih,fw;function TM(){if(fw)return Ih;fw=1;var e=Lc();function t(r){return e(this.__data__,r)>-1}return Ih=t,Ih}var $h,dw;function CM(){if(dw)return $h;dw=1;var e=Lc();function t(r,n){var a=this.__data__,l=e(a,r);return l<0?(++this.size,a.push([r,n])):a[l][1]=n,this}return $h=t,$h}var Rh,hw;function Bc(){if(hw)return Rh;hw=1;var e=AM(),t=EM(),r=kM(),n=TM(),a=CM();function l(u){var c=-1,f=u==null?0:u.length;for(this.clear();++c<f;){var d=u[c];this.set(d[0],d[1])}}return l.prototype.clear=e,l.prototype.delete=t,l.prototype.get=r,l.prototype.has=n,l.prototype.set=a,Rh=l,Rh}var Dh,pw;function Mg(){if(pw)return Dh;pw=1;var e=Vi(),t=rn(),r=e(t,"Map");return Dh=r,Dh}var Lh,vw;function NM(){if(vw)return Lh;vw=1;var e=PM(),t=Bc(),r=Mg();function n(){this.size=0,this.__data__={hash:new e,map:new(r||t),string:new e}}return Lh=n,Lh}var Bh,mw;function MM(){if(mw)return Bh;mw=1;function e(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}return Bh=e,Bh}var qh,yw;function qc(){if(yw)return qh;yw=1;var e=MM();function t(r,n){var a=r.__data__;return e(n)?a[typeof n=="string"?"string":"hash"]:a.map}return qh=t,qh}var zh,gw;function IM(){if(gw)return zh;gw=1;var e=qc();function t(r){var n=e(this,r).delete(r);return this.size-=n?1:0,n}return zh=t,zh}var Fh,bw;function $M(){if(bw)return Fh;bw=1;var e=qc();function t(r){return e(this,r).get(r)}return Fh=t,Fh}var Uh,xw;function RM(){if(xw)return Uh;xw=1;var e=qc();function t(r){return e(this,r).has(r)}return Uh=t,Uh}var Wh,ww;function DM(){if(ww)return Wh;ww=1;var e=qc();function t(r,n){var a=e(this,r),l=a.size;return a.set(r,n),this.size+=a.size==l?0:1,this}return Wh=t,Wh}var Hh,Sw;function Ig(){if(Sw)return Hh;Sw=1;var e=NM(),t=IM(),r=$M(),n=RM(),a=DM();function l(u){var c=-1,f=u==null?0:u.length;for(this.clear();++c<f;){var d=u[c];this.set(d[0],d[1])}}return l.prototype.clear=e,l.prototype.delete=t,l.prototype.get=r,l.prototype.has=n,l.prototype.set=a,Hh=l,Hh}var Vh,_w;function BA(){if(_w)return Vh;_w=1;var e=Ig(),t="Expected a function";function r(n,a){if(typeof n!="function"||a!=null&&typeof a!="function")throw new TypeError(t);var l=function(){var u=arguments,c=a?a.apply(this,u):u[0],f=l.cache;if(f.has(c))return f.get(c);var d=n.apply(this,u);return l.cache=f.set(c,d)||f,d};return l.cache=new(r.Cache||e),l}return r.Cache=e,Vh=r,Vh}var Gh,Ow;function LM(){if(Ow)return Gh;Ow=1;var e=BA(),t=500;function r(n){var a=e(n,function(u){return l.size===t&&l.clear(),u}),l=a.cache;return a}return Gh=r,Gh}var Kh,jw;function BM(){if(jw)return Kh;jw=1;var e=LM(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,n=e(function(a){var l=[];return a.charCodeAt(0)===46&&l.push(""),a.replace(t,function(u,c,f,d){l.push(f?d.replace(r,"$1"):c||u)}),l});return Kh=n,Kh}var Xh,Pw;function $g(){if(Pw)return Xh;Pw=1;function e(t,r){for(var n=-1,a=t==null?0:t.length,l=Array(a);++n<a;)l[n]=r(t[n],n,t);return l}return Xh=e,Xh}var Yh,Aw;function qM(){if(Aw)return Yh;Aw=1;var e=eu(),t=$g(),r=ir(),n=ro(),a=e?e.prototype:void 0,l=a?a.toString:void 0;function u(c){if(typeof c=="string")return c;if(r(c))return t(c,u)+"";if(n(c))return l?l.call(c):"";var f=c+"";return f=="0"&&1/c==-1/0?"-0":f}return Yh=u,Yh}var Qh,Ew;function qA(){if(Ew)return Qh;Ew=1;var e=qM();function t(r){return r==null?"":e(r)}return Qh=t,Qh}var Zh,kw;function zA(){if(kw)return Zh;kw=1;var e=ir(),t=Tg(),r=BM(),n=qA();function a(l,u){return e(l)?l:t(l,u)?[l]:r(n(l))}return Zh=a,Zh}var Jh,Tw;function zc(){if(Tw)return Jh;Tw=1;var e=ro();function t(r){if(typeof r=="string"||e(r))return r;var n=r+"";return n=="0"&&1/r==-1/0?"-0":n}return Jh=t,Jh}var ep,Cw;function Rg(){if(Cw)return ep;Cw=1;var e=zA(),t=zc();function r(n,a){a=e(a,n);for(var l=0,u=a.length;n!=null&&l<u;)n=n[t(a[l++])];return l&&l==u?n:void 0}return ep=r,ep}var tp,Nw;function FA(){if(Nw)return tp;Nw=1;var e=Rg();function t(r,n,a){var l=r==null?void 0:e(r,n);return l===void 0?a:l}return tp=t,tp}var zM=FA();const Ar=We(zM);var rp,Mw;function FM(){if(Mw)return rp;Mw=1;function e(t){return t==null}return rp=e,rp}var UM=FM();const Me=We(UM);var np,Iw;function WM(){if(Iw)return np;Iw=1;var e=Pn(),t=ir(),r=An(),n="[object String]";function a(l){return typeof l=="string"||!t(l)&&r(l)&&e(l)==n}return np=a,np}var HM=WM();const qi=We(HM);var VM=Cg();const Ee=We(VM);var GM=ui();const no=We(GM);var ip={exports:{}},qe={};/**
|
|
183
|
+
* @license React
|
|
184
|
+
* react-is.production.min.js
|
|
185
|
+
*
|
|
186
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
187
|
+
*
|
|
188
|
+
* This source code is licensed under the MIT license found in the
|
|
189
|
+
* LICENSE file in the root directory of this source tree.
|
|
190
|
+
*/var $w;function KM(){if($w)return qe;$w=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),_;_=Symbol.for("react.module.reference");function S(b){if(typeof b=="object"&&b!==null){var O=b.$$typeof;switch(O){case e:switch(b=b.type,b){case r:case a:case n:case d:case v:return b;default:switch(b=b&&b.$$typeof,b){case c:case u:case f:case g:case p:case l:return b;default:return O}}case t:return O}}}return qe.ContextConsumer=u,qe.ContextProvider=l,qe.Element=e,qe.ForwardRef=f,qe.Fragment=r,qe.Lazy=g,qe.Memo=p,qe.Portal=t,qe.Profiler=a,qe.StrictMode=n,qe.Suspense=d,qe.SuspenseList=v,qe.isAsyncMode=function(){return!1},qe.isConcurrentMode=function(){return!1},qe.isContextConsumer=function(b){return S(b)===u},qe.isContextProvider=function(b){return S(b)===l},qe.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===e},qe.isForwardRef=function(b){return S(b)===f},qe.isFragment=function(b){return S(b)===r},qe.isLazy=function(b){return S(b)===g},qe.isMemo=function(b){return S(b)===p},qe.isPortal=function(b){return S(b)===t},qe.isProfiler=function(b){return S(b)===a},qe.isStrictMode=function(b){return S(b)===n},qe.isSuspense=function(b){return S(b)===d},qe.isSuspenseList=function(b){return S(b)===v},qe.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===r||b===a||b===n||b===d||b===v||b===w||typeof b=="object"&&b!==null&&(b.$$typeof===g||b.$$typeof===p||b.$$typeof===l||b.$$typeof===u||b.$$typeof===f||b.$$typeof===_||b.getModuleId!==void 0)},qe.typeOf=S,qe}var Rw;function XM(){return Rw||(Rw=1,ip.exports=KM()),ip.exports}var YM=XM(),ap,Dw;function UA(){if(Dw)return ap;Dw=1;var e=Pn(),t=An(),r="[object Number]";function n(a){return typeof a=="number"||t(a)&&e(a)==r}return ap=n,ap}var op,Lw;function QM(){if(Lw)return op;Lw=1;var e=UA();function t(r){return e(r)&&r!=+r}return op=t,op}var ZM=QM();const io=We(ZM);var JM=UA();const eI=We(JM);var Fr=function(t){return t===0?0:t>0?1:-1},Ni=function(t){return qi(t)&&t.indexOf("%")===t.length-1},ce=function(t){return eI(t)&&!io(t)},tI=function(t){return Me(t)},St=function(t){return ce(t)||qi(t)},rI=0,tu=function(t){var r=++rI;return"".concat(t||"").concat(r)},zi=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!ce(t)&&!qi(t))return n;var l;if(Ni(t)){var u=t.indexOf("%");l=r*parseFloat(t.slice(0,u))/100}else l=+t;return io(l)&&(l=n),a&&l>r&&(l=r),l},Jn=function(t){if(!t)return null;var r=Object.keys(t);return r&&r.length?t[r[0]]:null},nI=function(t){if(!Array.isArray(t))return!1;for(var r=t.length,n={},a=0;a<r;a++)if(!n[t[a]])n[t[a]]=!0;else return!0;return!1},jr=function(t,r){return ce(t)&&ce(r)?function(n){return t+n*(r-t)}:function(){return r}};function $s(e,t,r){return!e||!e.length?null:e.find(function(n){return n&&(typeof t=="function"?t(n):Ar(n,t))===r})}var iI=function(t,r){return ce(t)&&ce(r)?t-r:qi(t)&&qi(r)?t.localeCompare(r):t instanceof Date&&r instanceof Date?t.getTime()-r.getTime():String(t).localeCompare(String(r))};function Ea(e,t){for(var r in e)if({}.hasOwnProperty.call(e,r)&&(!{}.hasOwnProperty.call(t,r)||e[r]!==t[r]))return!1;for(var n in t)if({}.hasOwnProperty.call(t,n)&&!{}.hasOwnProperty.call(e,n))return!1;return!0}function fy(e){"@babel/helpers - typeof";return fy=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},fy(e)}var aI=["viewBox","children"],oI=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],Bw=["points","pathLength"],lp={svg:aI,polygon:Bw,polyline:Bw},Dg=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],Rs=function(t,r){if(!t||typeof t=="function"||typeof t=="boolean")return null;var n=t;if(D.isValidElement(t)&&(n=t.props),!no(n))return null;var a={};return Object.keys(n).forEach(function(l){Dg.includes(l)&&(a[l]=r||function(u){return n[l](n,u)})}),a},lI=function(t,r,n){return function(a){return t(r,n,a),null}},Ds=function(t,r,n){if(!no(t)||fy(t)!=="object")return null;var a=null;return Object.keys(t).forEach(function(l){var u=t[l];Dg.includes(l)&&typeof u=="function"&&(a||(a={}),a[l]=lI(u,r,n))}),a},uI=["children"],sI=["children"];function qw(e,t){if(e==null)return{};var r=cI(e,t),n,a;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function cI(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function dy(e){"@babel/helpers - typeof";return dy=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},dy(e)}var zw={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart",contextmenu:"onContextMenu",dblclick:"onDoubleClick"},bn=function(t){return typeof t=="string"?t:t?t.displayName||t.name||"Component":""},Fw=null,up=null,Lg=function e(t){if(t===Fw&&Array.isArray(up))return up;var r=[];return D.Children.forEach(t,function(n){Me(n)||(YM.isFragment(n)?r=r.concat(e(n.props.children)):r.push(n))}),up=r,Fw=t,r};function Ur(e,t){var r=[],n=[];return Array.isArray(t)?n=t.map(function(a){return bn(a)}):n=[bn(t)],Lg(e).forEach(function(a){var l=Ar(a,"type.displayName")||Ar(a,"type.name");n.indexOf(l)!==-1&&r.push(a)}),r}function fr(e,t){var r=Ur(e,t);return r&&r[0]}var Uw=function(t){if(!t||!t.props)return!1;var r=t.props,n=r.width,a=r.height;return!(!ce(n)||n<=0||!ce(a)||a<=0)},fI=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],dI=function(t){return t&&t.type&&qi(t.type)&&fI.indexOf(t.type)>=0},hI=function(t){return t&&dy(t)==="object"&&"clipDot"in t},pI=function(t,r,n,a){var l,u=(l=lp==null?void 0:lp[a])!==null&&l!==void 0?l:[];return r.startsWith("data-")||!Ee(t)&&(a&&u.includes(r)||oI.includes(r))||n&&Dg.includes(r)},Ne=function(t,r,n){if(!t||typeof t=="function"||typeof t=="boolean")return null;var a=t;if(D.isValidElement(t)&&(a=t.props),!no(a))return null;var l={};return Object.keys(a).forEach(function(u){var c;pI((c=a)===null||c===void 0?void 0:c[u],u,r,n)&&(l[u]=a[u])}),l},hy=function e(t,r){if(t===r)return!0;var n=D.Children.count(t);if(n!==D.Children.count(r))return!1;if(n===0)return!0;if(n===1)return Ww(Array.isArray(t)?t[0]:t,Array.isArray(r)?r[0]:r);for(var a=0;a<n;a++){var l=t[a],u=r[a];if(Array.isArray(l)||Array.isArray(u)){if(!e(l,u))return!1}else if(!Ww(l,u))return!1}return!0},Ww=function(t,r){if(Me(t)&&Me(r))return!0;if(!Me(t)&&!Me(r)){var n=t.props||{},a=n.children,l=qw(n,uI),u=r.props||{},c=u.children,f=qw(u,sI);return a&&c?Ea(l,f)&&hy(a,c):!a&&!c?Ea(l,f):!1}return!1},Hw=function(t,r){var n=[],a={};return Lg(t).forEach(function(l,u){if(dI(l))n.push(l);else if(l){var c=bn(l.type),f=r[c]||{},d=f.handler,v=f.once;if(d&&(!v||!a[c])){var p=d(l,c,u);n.push(p),a[c]=!0}}}),n},vI=function(t){var r=t&&t.type;return r&&zw[r]?zw[r]:null},mI=function(t,r){return Lg(r).indexOf(t)},yI=["children","width","height","viewBox","className","style","title","desc"];function py(){return py=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},py.apply(this,arguments)}function gI(e,t){if(e==null)return{};var r=bI(e,t),n,a;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function bI(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function vy(e){var t=e.children,r=e.width,n=e.height,a=e.viewBox,l=e.className,u=e.style,c=e.title,f=e.desc,d=gI(e,yI),v=a||{width:r,height:n,x:0,y:0},p=Re("recharts-surface",l);return U.createElement("svg",py({},Ne(d,!0,"svg"),{className:p,width:r,height:n,style:u,viewBox:"".concat(v.x," ").concat(v.y," ").concat(v.width," ").concat(v.height)}),U.createElement("title",null,c),U.createElement("desc",null,f),t)}var xI=["children","className"];function my(){return my=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},my.apply(this,arguments)}function wI(e,t){if(e==null)return{};var r=SI(e,t),n,a;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function SI(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var ot=U.forwardRef(function(e,t){var r=e.children,n=e.className,a=wI(e,xI),l=Re("recharts-layer",n);return U.createElement("g",my({className:l},Ne(a,!0),{ref:t}),r)}),xn=function(t,r){for(var n=arguments.length,a=new Array(n>2?n-2:0),l=2;l<n;l++)a[l-2]=arguments[l]},sp,Vw;function _I(){if(Vw)return sp;Vw=1;function e(t,r,n){var a=-1,l=t.length;r<0&&(r=-r>l?0:l+r),n=n>l?l:n,n<0&&(n+=l),l=r>n?0:n-r>>>0,r>>>=0;for(var u=Array(l);++a<l;)u[a]=t[a+r];return u}return sp=e,sp}var cp,Gw;function OI(){if(Gw)return cp;Gw=1;var e=_I();function t(r,n,a){var l=r.length;return a=a===void 0?l:a,!n&&a>=l?r:e(r,n,a)}return cp=t,cp}var fp,Kw;function WA(){if(Kw)return fp;Kw=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",a=t+r+n,l="\\ufe0e\\ufe0f",u="\\u200d",c=RegExp("["+u+e+a+l+"]");function f(d){return c.test(d)}return fp=f,fp}var dp,Xw;function jI(){if(Xw)return dp;Xw=1;function e(t){return t.split("")}return dp=e,dp}var hp,Yw;function PI(){if(Yw)return hp;Yw=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",a=t+r+n,l="\\ufe0e\\ufe0f",u="["+e+"]",c="["+a+"]",f="\\ud83c[\\udffb-\\udfff]",d="(?:"+c+"|"+f+")",v="[^"+e+"]",p="(?:\\ud83c[\\udde6-\\uddff]){2}",g="[\\ud800-\\udbff][\\udc00-\\udfff]",w="\\u200d",_=d+"?",S="["+l+"]?",b="(?:"+w+"(?:"+[v,p,g].join("|")+")"+S+_+")*",O=S+_+b,P="(?:"+[v+c+"?",c,p,g,u].join("|")+")",E=RegExp(f+"(?="+f+")|"+P+O,"g");function T(j){return j.match(E)||[]}return hp=T,hp}var pp,Qw;function AI(){if(Qw)return pp;Qw=1;var e=jI(),t=WA(),r=PI();function n(a){return t(a)?r(a):e(a)}return pp=n,pp}var vp,Zw;function EI(){if(Zw)return vp;Zw=1;var e=OI(),t=WA(),r=AI(),n=qA();function a(l){return function(u){u=n(u);var c=t(u)?r(u):void 0,f=c?c[0]:u.charAt(0),d=c?e(c,1).join(""):u.slice(1);return f[l]()+d}}return vp=a,vp}var mp,Jw;function kI(){if(Jw)return mp;Jw=1;var e=EI(),t=e("toUpperCase");return mp=t,mp}var TI=kI();const Fc=We(TI);function Qe(e){return function(){return e}}const HA=Math.cos,Ls=Math.sin,Hr=Math.sqrt,Bs=Math.PI,Uc=2*Bs,yy=Math.PI,gy=2*yy,Ti=1e-6,CI=gy-Ti;function VA(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=arguments[t]+e[t]}function NI(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return VA;const r=10**t;return function(n){this._+=n[0];for(let a=1,l=n.length;a<l;++a)this._+=Math.round(arguments[a]*r)/r+n[a]}}class MI{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?VA:NI(t)}moveTo(t,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,r){this._append`L${this._x1=+t},${this._y1=+r}`}quadraticCurveTo(t,r,n,a){this._append`Q${+t},${+r},${this._x1=+n},${this._y1=+a}`}bezierCurveTo(t,r,n,a,l,u){this._append`C${+t},${+r},${+n},${+a},${this._x1=+l},${this._y1=+u}`}arcTo(t,r,n,a,l){if(t=+t,r=+r,n=+n,a=+a,l=+l,l<0)throw new Error(`negative radius: ${l}`);let u=this._x1,c=this._y1,f=n-t,d=a-r,v=u-t,p=c-r,g=v*v+p*p;if(this._x1===null)this._append`M${this._x1=t},${this._y1=r}`;else if(g>Ti)if(!(Math.abs(p*f-d*v)>Ti)||!l)this._append`L${this._x1=t},${this._y1=r}`;else{let w=n-u,_=a-c,S=f*f+d*d,b=w*w+_*_,O=Math.sqrt(S),P=Math.sqrt(g),E=l*Math.tan((yy-Math.acos((S+g-b)/(2*O*P)))/2),T=E/P,j=E/O;Math.abs(T-1)>Ti&&this._append`L${t+T*v},${r+T*p}`,this._append`A${l},${l},0,0,${+(p*w>v*_)},${this._x1=t+j*f},${this._y1=r+j*d}`}}arc(t,r,n,a,l,u){if(t=+t,r=+r,n=+n,u=!!u,n<0)throw new Error(`negative radius: ${n}`);let c=n*Math.cos(a),f=n*Math.sin(a),d=t+c,v=r+f,p=1^u,g=u?a-l:l-a;this._x1===null?this._append`M${d},${v}`:(Math.abs(this._x1-d)>Ti||Math.abs(this._y1-v)>Ti)&&this._append`L${d},${v}`,n&&(g<0&&(g=g%gy+gy),g>CI?this._append`A${n},${n},0,1,${p},${t-c},${r-f}A${n},${n},0,1,${p},${this._x1=d},${this._y1=v}`:g>Ti&&this._append`A${n},${n},0,${+(g>=yy)},${p},${this._x1=t+n*Math.cos(l)},${this._y1=r+n*Math.sin(l)}`)}rect(t,r,n,a){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}h${n=+n}v${+a}h${-n}Z`}toString(){return this._}}function Bg(e){let t=3;return e.digits=function(r){if(!arguments.length)return t;if(r==null)t=null;else{const n=Math.floor(r);if(!(n>=0))throw new RangeError(`invalid digits: ${r}`);t=n}return e},()=>new MI(t)}function qg(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function GA(e){this._context=e}GA.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function Wc(e){return new GA(e)}function KA(e){return e[0]}function XA(e){return e[1]}function YA(e,t){var r=Qe(!0),n=null,a=Wc,l=null,u=Bg(c);e=typeof e=="function"?e:e===void 0?KA:Qe(e),t=typeof t=="function"?t:t===void 0?XA:Qe(t);function c(f){var d,v=(f=qg(f)).length,p,g=!1,w;for(n==null&&(l=a(w=u())),d=0;d<=v;++d)!(d<v&&r(p=f[d],d,f))===g&&((g=!g)?l.lineStart():l.lineEnd()),g&&l.point(+e(p,d,f),+t(p,d,f));if(w)return l=null,w+""||null}return c.x=function(f){return arguments.length?(e=typeof f=="function"?f:Qe(+f),c):e},c.y=function(f){return arguments.length?(t=typeof f=="function"?f:Qe(+f),c):t},c.defined=function(f){return arguments.length?(r=typeof f=="function"?f:Qe(!!f),c):r},c.curve=function(f){return arguments.length?(a=f,n!=null&&(l=a(n)),c):a},c.context=function(f){return arguments.length?(f==null?n=l=null:l=a(n=f),c):n},c}function bs(e,t,r){var n=null,a=Qe(!0),l=null,u=Wc,c=null,f=Bg(d);e=typeof e=="function"?e:e===void 0?KA:Qe(+e),t=typeof t=="function"?t:Qe(t===void 0?0:+t),r=typeof r=="function"?r:r===void 0?XA:Qe(+r);function d(p){var g,w,_,S=(p=qg(p)).length,b,O=!1,P,E=new Array(S),T=new Array(S);for(l==null&&(c=u(P=f())),g=0;g<=S;++g){if(!(g<S&&a(b=p[g],g,p))===O)if(O=!O)w=g,c.areaStart(),c.lineStart();else{for(c.lineEnd(),c.lineStart(),_=g-1;_>=w;--_)c.point(E[_],T[_]);c.lineEnd(),c.areaEnd()}O&&(E[g]=+e(b,g,p),T[g]=+t(b,g,p),c.point(n?+n(b,g,p):E[g],r?+r(b,g,p):T[g]))}if(P)return c=null,P+""||null}function v(){return YA().defined(a).curve(u).context(l)}return d.x=function(p){return arguments.length?(e=typeof p=="function"?p:Qe(+p),n=null,d):e},d.x0=function(p){return arguments.length?(e=typeof p=="function"?p:Qe(+p),d):e},d.x1=function(p){return arguments.length?(n=p==null?null:typeof p=="function"?p:Qe(+p),d):n},d.y=function(p){return arguments.length?(t=typeof p=="function"?p:Qe(+p),r=null,d):t},d.y0=function(p){return arguments.length?(t=typeof p=="function"?p:Qe(+p),d):t},d.y1=function(p){return arguments.length?(r=p==null?null:typeof p=="function"?p:Qe(+p),d):r},d.lineX0=d.lineY0=function(){return v().x(e).y(t)},d.lineY1=function(){return v().x(e).y(r)},d.lineX1=function(){return v().x(n).y(t)},d.defined=function(p){return arguments.length?(a=typeof p=="function"?p:Qe(!!p),d):a},d.curve=function(p){return arguments.length?(u=p,l!=null&&(c=u(l)),d):u},d.context=function(p){return arguments.length?(p==null?l=c=null:c=u(l=p),d):l},d}class QA{constructor(t,r){this._context=t,this._x=r}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(t,r){switch(t=+t,r=+r,this._point){case 0:{this._point=1,this._line?this._context.lineTo(t,r):this._context.moveTo(t,r);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,r,t,r):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+r)/2,t,this._y0,t,r);break}}this._x0=t,this._y0=r}}function II(e){return new QA(e,!0)}function $I(e){return new QA(e,!1)}const zg={draw(e,t){const r=Hr(t/Bs);e.moveTo(r,0),e.arc(0,0,r,0,Uc)}},RI={draw(e,t){const r=Hr(t/5)/2;e.moveTo(-3*r,-r),e.lineTo(-r,-r),e.lineTo(-r,-3*r),e.lineTo(r,-3*r),e.lineTo(r,-r),e.lineTo(3*r,-r),e.lineTo(3*r,r),e.lineTo(r,r),e.lineTo(r,3*r),e.lineTo(-r,3*r),e.lineTo(-r,r),e.lineTo(-3*r,r),e.closePath()}},ZA=Hr(1/3),DI=ZA*2,LI={draw(e,t){const r=Hr(t/DI),n=r*ZA;e.moveTo(0,-r),e.lineTo(n,0),e.lineTo(0,r),e.lineTo(-n,0),e.closePath()}},BI={draw(e,t){const r=Hr(t),n=-r/2;e.rect(n,n,r,r)}},qI=.8908130915292852,JA=Ls(Bs/10)/Ls(7*Bs/10),zI=Ls(Uc/10)*JA,FI=-HA(Uc/10)*JA,UI={draw(e,t){const r=Hr(t*qI),n=zI*r,a=FI*r;e.moveTo(0,-r),e.lineTo(n,a);for(let l=1;l<5;++l){const u=Uc*l/5,c=HA(u),f=Ls(u);e.lineTo(f*r,-c*r),e.lineTo(c*n-f*a,f*n+c*a)}e.closePath()}},yp=Hr(3),WI={draw(e,t){const r=-Hr(t/(yp*3));e.moveTo(0,r*2),e.lineTo(-yp*r,-r),e.lineTo(yp*r,-r),e.closePath()}},Sr=-.5,_r=Hr(3)/2,by=1/Hr(12),HI=(by/2+1)*3,VI={draw(e,t){const r=Hr(t/HI),n=r/2,a=r*by,l=n,u=r*by+r,c=-l,f=u;e.moveTo(n,a),e.lineTo(l,u),e.lineTo(c,f),e.lineTo(Sr*n-_r*a,_r*n+Sr*a),e.lineTo(Sr*l-_r*u,_r*l+Sr*u),e.lineTo(Sr*c-_r*f,_r*c+Sr*f),e.lineTo(Sr*n+_r*a,Sr*a-_r*n),e.lineTo(Sr*l+_r*u,Sr*u-_r*l),e.lineTo(Sr*c+_r*f,Sr*f-_r*c),e.closePath()}};function GI(e,t){let r=null,n=Bg(a);e=typeof e=="function"?e:Qe(e||zg),t=typeof t=="function"?t:Qe(t===void 0?64:+t);function a(){let l;if(r||(r=l=n()),e.apply(this,arguments).draw(r,+t.apply(this,arguments)),l)return r=null,l+""||null}return a.type=function(l){return arguments.length?(e=typeof l=="function"?l:Qe(l),a):e},a.size=function(l){return arguments.length?(t=typeof l=="function"?l:Qe(+l),a):t},a.context=function(l){return arguments.length?(r=l??null,a):r},a}function qs(){}function zs(e,t,r){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+r)/6)}function eE(e){this._context=e}eE.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:zs(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:zs(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function KI(e){return new eE(e)}function tE(e){this._context=e}tE.prototype={areaStart:qs,areaEnd:qs,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:zs(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function XI(e){return new tE(e)}function rE(e){this._context=e}rE.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+e)/6,n=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:zs(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function YI(e){return new rE(e)}function nE(e){this._context=e}nE.prototype={areaStart:qs,areaEnd:qs,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function QI(e){return new nE(e)}function eS(e){return e<0?-1:1}function tS(e,t,r){var n=e._x1-e._x0,a=t-e._x1,l=(e._y1-e._y0)/(n||a<0&&-0),u=(r-e._y1)/(a||n<0&&-0),c=(l*a+u*n)/(n+a);return(eS(l)+eS(u))*Math.min(Math.abs(l),Math.abs(u),.5*Math.abs(c))||0}function rS(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function gp(e,t,r){var n=e._x0,a=e._y0,l=e._x1,u=e._y1,c=(l-n)/3;e._context.bezierCurveTo(n+c,a+c*t,l-c,u-c*r,l,u)}function Fs(e){this._context=e}Fs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:gp(this,this._t0,rS(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var r=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,gp(this,rS(this,r=tS(this,e,t)),r);break;default:gp(this,this._t0,r=tS(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}};function iE(e){this._context=new aE(e)}(iE.prototype=Object.create(Fs.prototype)).point=function(e,t){Fs.prototype.point.call(this,t,e)};function aE(e){this._context=e}aE.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,r,n,a,l){this._context.bezierCurveTo(t,e,n,r,l,a)}};function ZI(e){return new Fs(e)}function JI(e){return new iE(e)}function oE(e){this._context=e}oE.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,r=e.length;if(r)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),r===2)this._context.lineTo(e[1],t[1]);else for(var n=nS(e),a=nS(t),l=0,u=1;u<r;++l,++u)this._context.bezierCurveTo(n[0][l],a[0][l],n[1][l],a[1][l],e[u],t[u]);(this._line||this._line!==0&&r===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function nS(e){var t,r=e.length-1,n,a=new Array(r),l=new Array(r),u=new Array(r);for(a[0]=0,l[0]=2,u[0]=e[0]+2*e[1],t=1;t<r-1;++t)a[t]=1,l[t]=4,u[t]=4*e[t]+2*e[t+1];for(a[r-1]=2,l[r-1]=7,u[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=a[t]/l[t-1],l[t]-=n,u[t]-=n*u[t-1];for(a[r-1]=u[r-1]/l[r-1],t=r-2;t>=0;--t)a[t]=(u[t]-a[t+1])/l[t];for(l[r-1]=(e[r]+a[r-1])/2,t=0;t<r-1;++t)l[t]=2*e[t+1]-a[t+1];return[a,l]}function e$(e){return new oE(e)}function Hc(e,t){this._context=e,this._t=t}Hc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var r=this._x*(1-this._t)+e*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,t)}break}}this._x=e,this._y=t}};function t$(e){return new Hc(e,.5)}function r$(e){return new Hc(e,0)}function n$(e){return new Hc(e,1)}function Na(e,t){if((u=e.length)>1)for(var r=1,n,a,l=e[t[0]],u,c=l.length;r<u;++r)for(a=l,l=e[t[r]],n=0;n<c;++n)l[n][1]+=l[n][0]=isNaN(a[n][1])?a[n][0]:a[n][1]}function xy(e){for(var t=e.length,r=new Array(t);--t>=0;)r[t]=t;return r}function i$(e,t){return e[t]}function a$(e){const t=[];return t.key=e,t}function o$(){var e=Qe([]),t=xy,r=Na,n=i$;function a(l){var u=Array.from(e.apply(this,arguments),a$),c,f=u.length,d=-1,v;for(const p of l)for(c=0,++d;c<f;++c)(u[c][d]=[0,+n(p,u[c].key,d,l)]).data=p;for(c=0,v=qg(t(u));c<f;++c)u[v[c]].index=c;return r(u,v),u}return a.keys=function(l){return arguments.length?(e=typeof l=="function"?l:Qe(Array.from(l)),a):e},a.value=function(l){return arguments.length?(n=typeof l=="function"?l:Qe(+l),a):n},a.order=function(l){return arguments.length?(t=l==null?xy:typeof l=="function"?l:Qe(Array.from(l)),a):t},a.offset=function(l){return arguments.length?(r=l??Na,a):r},a}function l$(e,t){if((n=e.length)>0){for(var r,n,a=0,l=e[0].length,u;a<l;++a){for(u=r=0;r<n;++r)u+=e[r][a][1]||0;if(u)for(r=0;r<n;++r)e[r][a][1]/=u}Na(e,t)}}function u$(e,t){if((a=e.length)>0){for(var r=0,n=e[t[0]],a,l=n.length;r<l;++r){for(var u=0,c=0;u<a;++u)c+=e[u][r][1]||0;n[r][1]+=n[r][0]=-c/2}Na(e,t)}}function s$(e,t){if(!(!((u=e.length)>0)||!((l=(a=e[t[0]]).length)>0))){for(var r=0,n=1,a,l,u;n<l;++n){for(var c=0,f=0,d=0;c<u;++c){for(var v=e[t[c]],p=v[n][1]||0,g=v[n-1][1]||0,w=(p-g)/2,_=0;_<c;++_){var S=e[t[_]],b=S[n][1]||0,O=S[n-1][1]||0;w+=b-O}f+=p,d+=w*p}a[n-1][1]+=a[n-1][0]=r,f&&(r-=d/f)}a[n-1][1]+=a[n-1][0]=r,Na(e,t)}}function yl(e){"@babel/helpers - typeof";return yl=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},yl(e)}var c$=["type","size","sizeType"];function wy(){return wy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},wy.apply(this,arguments)}function iS(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function aS(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?iS(Object(r),!0).forEach(function(n){f$(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):iS(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function f$(e,t,r){return t=d$(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d$(e){var t=h$(e,"string");return yl(t)=="symbol"?t:t+""}function h$(e,t){if(yl(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(yl(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function p$(e,t){if(e==null)return{};var r=v$(e,t),n,a;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function v$(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var lE={symbolCircle:zg,symbolCross:RI,symbolDiamond:LI,symbolSquare:BI,symbolStar:UI,symbolTriangle:WI,symbolWye:VI},m$=Math.PI/180,y$=function(t){var r="symbol".concat(Fc(t));return lE[r]||zg},g$=function(t,r,n){if(r==="area")return t;switch(n){case"cross":return 5*t*t/9;case"diamond":return .5*t*t/Math.sqrt(3);case"square":return t*t;case"star":{var a=18*m$;return 1.25*t*t*(Math.tan(a)-Math.tan(a*2)*Math.pow(Math.tan(a),2))}case"triangle":return Math.sqrt(3)*t*t/4;case"wye":return(21-10*Math.sqrt(3))*t*t/8;default:return Math.PI*t*t/4}},b$=function(t,r){lE["symbol".concat(Fc(t))]=r},Fg=function(t){var r=t.type,n=r===void 0?"circle":r,a=t.size,l=a===void 0?64:a,u=t.sizeType,c=u===void 0?"area":u,f=p$(t,c$),d=aS(aS({},f),{},{type:n,size:l,sizeType:c}),v=function(){var b=y$(n),O=GI().type(b).size(g$(l,c,n));return O()},p=d.className,g=d.cx,w=d.cy,_=Ne(d,!0);return g===+g&&w===+w&&l===+l?U.createElement("path",wy({},_,{className:Re("recharts-symbols",p),transform:"translate(".concat(g,", ").concat(w,")"),d:v()})):null};Fg.registerSymbol=b$;function Ma(e){"@babel/helpers - typeof";return Ma=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},Ma(e)}function Sy(){return Sy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Sy.apply(this,arguments)}function oS(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function x$(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?oS(Object(r),!0).forEach(function(n){gl(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oS(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function w$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,sE(n.key),n)}}function _$(e,t,r){return t&&S$(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function O$(e,t,r){return t=Us(t),j$(e,uE()?Reflect.construct(t,r||[],Us(e).constructor):t.apply(e,r))}function j$(e,t){if(t&&(Ma(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return P$(e)}function P$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(uE=function(){return!!e})()}function Us(e){return Us=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Us(e)}function A$(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&&_y(e,t)}function _y(e,t){return _y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},_y(e,t)}function gl(e,t,r){return t=sE(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sE(e){var t=E$(e,"string");return Ma(t)=="symbol"?t:t+""}function E$(e,t){if(Ma(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Ma(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Or=32,Ug=(function(e){function t(){return w$(this,t),O$(this,t,arguments)}return A$(t,e),_$(t,[{key:"renderIcon",value:function(n){var a=this.props.inactiveColor,l=Or/2,u=Or/6,c=Or/3,f=n.inactive?a:n.color;if(n.type==="plainline")return U.createElement("line",{strokeWidth:4,fill:"none",stroke:f,strokeDasharray:n.payload.strokeDasharray,x1:0,y1:l,x2:Or,y2:l,className:"recharts-legend-icon"});if(n.type==="line")return U.createElement("path",{strokeWidth:4,fill:"none",stroke:f,d:"M0,".concat(l,"h").concat(c,`
|
|
191
|
+
A`).concat(u,",").concat(u,",0,1,1,").concat(2*c,",").concat(l,`
|
|
192
|
+
H`).concat(Or,"M").concat(2*c,",").concat(l,`
|
|
193
|
+
A`).concat(u,",").concat(u,",0,1,1,").concat(c,",").concat(l),className:"recharts-legend-icon"});if(n.type==="rect")return U.createElement("path",{stroke:"none",fill:f,d:"M0,".concat(Or/8,"h").concat(Or,"v").concat(Or*3/4,"h").concat(-Or,"z"),className:"recharts-legend-icon"});if(U.isValidElement(n.legendIcon)){var d=x$({},n);return delete d.legendIcon,U.cloneElement(n.legendIcon,d)}return U.createElement(Fg,{fill:f,cx:l,cy:l,size:Or,sizeType:"diameter",type:n.type})}},{key:"renderItems",value:function(){var n=this,a=this.props,l=a.payload,u=a.iconSize,c=a.layout,f=a.formatter,d=a.inactiveColor,v={x:0,y:0,width:Or,height:Or},p={display:c==="horizontal"?"inline-block":"block",marginRight:10},g={display:"inline-block",verticalAlign:"middle",marginRight:4};return l.map(function(w,_){var S=w.formatter||f,b=Re(gl(gl({"recharts-legend-item":!0},"legend-item-".concat(_),!0),"inactive",w.inactive));if(w.type==="none")return null;var O=Ee(w.value)?null:w.value;xn(!Ee(w.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 P=w.inactive?d:w.color;return U.createElement("li",Sy({className:b,style:p,key:"legend-item-".concat(_)},Ds(n.props,w,_)),U.createElement(vy,{width:u,height:u,viewBox:v,style:g},n.renderIcon(w)),U.createElement("span",{className:"recharts-legend-item-text",style:{color:P}},S?S(O,w,_):O))})}},{key:"render",value:function(){var n=this.props,a=n.payload,l=n.layout,u=n.align;if(!a||!a.length)return null;var c={padding:0,margin:0,textAlign:l==="horizontal"?u:"left"};return U.createElement("ul",{className:"recharts-default-legend",style:c},this.renderItems())}}])})(D.PureComponent);gl(Ug,"displayName","Legend");gl(Ug,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var bp,lS;function k$(){if(lS)return bp;lS=1;var e=Bc();function t(){this.__data__=new e,this.size=0}return bp=t,bp}var xp,uS;function T$(){if(uS)return xp;uS=1;function e(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n}return xp=e,xp}var wp,sS;function C$(){if(sS)return wp;sS=1;function e(t){return this.__data__.get(t)}return wp=e,wp}var Sp,cS;function N$(){if(cS)return Sp;cS=1;function e(t){return this.__data__.has(t)}return Sp=e,Sp}var _p,fS;function M$(){if(fS)return _p;fS=1;var e=Bc(),t=Mg(),r=Ig(),n=200;function a(l,u){var c=this.__data__;if(c instanceof e){var f=c.__data__;if(!t||f.length<n-1)return f.push([l,u]),this.size=++c.size,this;c=this.__data__=new r(f)}return c.set(l,u),this.size=c.size,this}return _p=a,_p}var Op,dS;function cE(){if(dS)return Op;dS=1;var e=Bc(),t=k$(),r=T$(),n=C$(),a=N$(),l=M$();function u(c){var f=this.__data__=new e(c);this.size=f.size}return u.prototype.clear=t,u.prototype.delete=r,u.prototype.get=n,u.prototype.has=a,u.prototype.set=l,Op=u,Op}var jp,hS;function I$(){if(hS)return jp;hS=1;var e="__lodash_hash_undefined__";function t(r){return this.__data__.set(r,e),this}return jp=t,jp}var Pp,pS;function $$(){if(pS)return Pp;pS=1;function e(t){return this.__data__.has(t)}return Pp=e,Pp}var Ap,vS;function fE(){if(vS)return Ap;vS=1;var e=Ig(),t=I$(),r=$$();function n(a){var l=-1,u=a==null?0:a.length;for(this.__data__=new e;++l<u;)this.add(a[l])}return n.prototype.add=n.prototype.push=t,n.prototype.has=r,Ap=n,Ap}var Ep,mS;function dE(){if(mS)return Ep;mS=1;function e(t,r){for(var n=-1,a=t==null?0:t.length;++n<a;)if(r(t[n],n,t))return!0;return!1}return Ep=e,Ep}var kp,yS;function hE(){if(yS)return kp;yS=1;function e(t,r){return t.has(r)}return kp=e,kp}var Tp,gS;function pE(){if(gS)return Tp;gS=1;var e=fE(),t=dE(),r=hE(),n=1,a=2;function l(u,c,f,d,v,p){var g=f&n,w=u.length,_=c.length;if(w!=_&&!(g&&_>w))return!1;var S=p.get(u),b=p.get(c);if(S&&b)return S==c&&b==u;var O=-1,P=!0,E=f&a?new e:void 0;for(p.set(u,c),p.set(c,u);++O<w;){var T=u[O],j=c[O];if(d)var A=g?d(j,T,O,c,u,p):d(T,j,O,u,c,p);if(A!==void 0){if(A)continue;P=!1;break}if(E){if(!t(c,function(C,N){if(!r(E,N)&&(T===C||v(T,C,f,d,p)))return E.push(N)})){P=!1;break}}else if(!(T===j||v(T,j,f,d,p))){P=!1;break}}return p.delete(u),p.delete(c),P}return Tp=l,Tp}var Cp,bS;function R$(){if(bS)return Cp;bS=1;var e=rn(),t=e.Uint8Array;return Cp=t,Cp}var Np,xS;function D$(){if(xS)return Np;xS=1;function e(t){var r=-1,n=Array(t.size);return t.forEach(function(a,l){n[++r]=[l,a]}),n}return Np=e,Np}var Mp,wS;function Wg(){if(wS)return Mp;wS=1;function e(t){var r=-1,n=Array(t.size);return t.forEach(function(a){n[++r]=a}),n}return Mp=e,Mp}var Ip,SS;function L$(){if(SS)return Ip;SS=1;var e=eu(),t=R$(),r=Ng(),n=pE(),a=D$(),l=Wg(),u=1,c=2,f="[object Boolean]",d="[object Date]",v="[object Error]",p="[object Map]",g="[object Number]",w="[object RegExp]",_="[object Set]",S="[object String]",b="[object Symbol]",O="[object ArrayBuffer]",P="[object DataView]",E=e?e.prototype:void 0,T=E?E.valueOf:void 0;function j(A,C,N,B,$,R,q){switch(N){case P:if(A.byteLength!=C.byteLength||A.byteOffset!=C.byteOffset)return!1;A=A.buffer,C=C.buffer;case O:return!(A.byteLength!=C.byteLength||!R(new t(A),new t(C)));case f:case d:case g:return r(+A,+C);case v:return A.name==C.name&&A.message==C.message;case w:case S:return A==C+"";case p:var H=a;case _:var X=B&u;if(H||(H=l),A.size!=C.size&&!X)return!1;var Q=q.get(A);if(Q)return Q==C;B|=c,q.set(A,C);var ee=n(H(A),H(C),B,$,R,q);return q.delete(A),ee;case b:if(T)return T.call(A)==T.call(C)}return!1}return Ip=j,Ip}var $p,_S;function vE(){if(_S)return $p;_S=1;function e(t,r){for(var n=-1,a=r.length,l=t.length;++n<a;)t[l+n]=r[n];return t}return $p=e,$p}var Rp,OS;function B$(){if(OS)return Rp;OS=1;var e=vE(),t=ir();function r(n,a,l){var u=a(n);return t(n)?u:e(u,l(n))}return Rp=r,Rp}var Dp,jS;function q$(){if(jS)return Dp;jS=1;function e(t,r){for(var n=-1,a=t==null?0:t.length,l=0,u=[];++n<a;){var c=t[n];r(c,n,t)&&(u[l++]=c)}return u}return Dp=e,Dp}var Lp,PS;function z$(){if(PS)return Lp;PS=1;function e(){return[]}return Lp=e,Lp}var Bp,AS;function F$(){if(AS)return Bp;AS=1;var e=q$(),t=z$(),r=Object.prototype,n=r.propertyIsEnumerable,a=Object.getOwnPropertySymbols,l=a?function(u){return u==null?[]:(u=Object(u),e(a(u),function(c){return n.call(u,c)}))}:t;return Bp=l,Bp}var qp,ES;function U$(){if(ES)return qp;ES=1;function e(t,r){for(var n=-1,a=Array(t);++n<t;)a[n]=r(n);return a}return qp=e,qp}var zp,kS;function W$(){if(kS)return zp;kS=1;var e=Pn(),t=An(),r="[object Arguments]";function n(a){return t(a)&&e(a)==r}return zp=n,zp}var Fp,TS;function Hg(){if(TS)return Fp;TS=1;var e=W$(),t=An(),r=Object.prototype,n=r.hasOwnProperty,a=r.propertyIsEnumerable,l=e((function(){return arguments})())?e:function(u){return t(u)&&n.call(u,"callee")&&!a.call(u,"callee")};return Fp=l,Fp}var ll={exports:{}},Up,CS;function H$(){if(CS)return Up;CS=1;function e(){return!1}return Up=e,Up}ll.exports;var NS;function mE(){return NS||(NS=1,(function(e,t){var r=rn(),n=H$(),a=t&&!t.nodeType&&t,l=a&&!0&&e&&!e.nodeType&&e,u=l&&l.exports===a,c=u?r.Buffer:void 0,f=c?c.isBuffer:void 0,d=f||n;e.exports=d})(ll,ll.exports)),ll.exports}var Wp,MS;function Vg(){if(MS)return Wp;MS=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function r(n,a){var l=typeof n;return a=a??e,!!a&&(l=="number"||l!="symbol"&&t.test(n))&&n>-1&&n%1==0&&n<a}return Wp=r,Wp}var Hp,IS;function Gg(){if(IS)return Hp;IS=1;var e=9007199254740991;function t(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=e}return Hp=t,Hp}var Vp,$S;function V$(){if($S)return Vp;$S=1;var e=Pn(),t=Gg(),r=An(),n="[object Arguments]",a="[object Array]",l="[object Boolean]",u="[object Date]",c="[object Error]",f="[object Function]",d="[object Map]",v="[object Number]",p="[object Object]",g="[object RegExp]",w="[object Set]",_="[object String]",S="[object WeakMap]",b="[object ArrayBuffer]",O="[object DataView]",P="[object Float32Array]",E="[object Float64Array]",T="[object Int8Array]",j="[object Int16Array]",A="[object Int32Array]",C="[object Uint8Array]",N="[object Uint8ClampedArray]",B="[object Uint16Array]",$="[object Uint32Array]",R={};R[P]=R[E]=R[T]=R[j]=R[A]=R[C]=R[N]=R[B]=R[$]=!0,R[n]=R[a]=R[b]=R[l]=R[O]=R[u]=R[c]=R[f]=R[d]=R[v]=R[p]=R[g]=R[w]=R[_]=R[S]=!1;function q(H){return r(H)&&t(H.length)&&!!R[e(H)]}return Vp=q,Vp}var Gp,RS;function yE(){if(RS)return Gp;RS=1;function e(t){return function(r){return t(r)}}return Gp=e,Gp}var ul={exports:{}};ul.exports;var DS;function G$(){return DS||(DS=1,(function(e,t){var r=DA(),n=t&&!t.nodeType&&t,a=n&&!0&&e&&!e.nodeType&&e,l=a&&a.exports===n,u=l&&r.process,c=(function(){try{var f=a&&a.require&&a.require("util").types;return f||u&&u.binding&&u.binding("util")}catch{}})();e.exports=c})(ul,ul.exports)),ul.exports}var Kp,LS;function gE(){if(LS)return Kp;LS=1;var e=V$(),t=yE(),r=G$(),n=r&&r.isTypedArray,a=n?t(n):e;return Kp=a,Kp}var Xp,BS;function K$(){if(BS)return Xp;BS=1;var e=U$(),t=Hg(),r=ir(),n=mE(),a=Vg(),l=gE(),u=Object.prototype,c=u.hasOwnProperty;function f(d,v){var p=r(d),g=!p&&t(d),w=!p&&!g&&n(d),_=!p&&!g&&!w&&l(d),S=p||g||w||_,b=S?e(d.length,String):[],O=b.length;for(var P in d)(v||c.call(d,P))&&!(S&&(P=="length"||w&&(P=="offset"||P=="parent")||_&&(P=="buffer"||P=="byteLength"||P=="byteOffset")||a(P,O)))&&b.push(P);return b}return Xp=f,Xp}var Yp,qS;function X$(){if(qS)return Yp;qS=1;var e=Object.prototype;function t(r){var n=r&&r.constructor,a=typeof n=="function"&&n.prototype||e;return r===a}return Yp=t,Yp}var Qp,zS;function bE(){if(zS)return Qp;zS=1;function e(t,r){return function(n){return t(r(n))}}return Qp=e,Qp}var Zp,FS;function Y$(){if(FS)return Zp;FS=1;var e=bE(),t=e(Object.keys,Object);return Zp=t,Zp}var Jp,US;function Q$(){if(US)return Jp;US=1;var e=X$(),t=Y$(),r=Object.prototype,n=r.hasOwnProperty;function a(l){if(!e(l))return t(l);var u=[];for(var c in Object(l))n.call(l,c)&&c!="constructor"&&u.push(c);return u}return Jp=a,Jp}var ev,WS;function ru(){if(WS)return ev;WS=1;var e=Cg(),t=Gg();function r(n){return n!=null&&t(n.length)&&!e(n)}return ev=r,ev}var tv,HS;function Vc(){if(HS)return tv;HS=1;var e=K$(),t=Q$(),r=ru();function n(a){return r(a)?e(a):t(a)}return tv=n,tv}var rv,VS;function Z$(){if(VS)return rv;VS=1;var e=B$(),t=F$(),r=Vc();function n(a){return e(a,r,t)}return rv=n,rv}var nv,GS;function J$(){if(GS)return nv;GS=1;var e=Z$(),t=1,r=Object.prototype,n=r.hasOwnProperty;function a(l,u,c,f,d,v){var p=c&t,g=e(l),w=g.length,_=e(u),S=_.length;if(w!=S&&!p)return!1;for(var b=w;b--;){var O=g[b];if(!(p?O in u:n.call(u,O)))return!1}var P=v.get(l),E=v.get(u);if(P&&E)return P==u&&E==l;var T=!0;v.set(l,u),v.set(u,l);for(var j=p;++b<w;){O=g[b];var A=l[O],C=u[O];if(f)var N=p?f(C,A,O,u,l,v):f(A,C,O,l,u,v);if(!(N===void 0?A===C||d(A,C,c,f,v):N)){T=!1;break}j||(j=O=="constructor")}if(T&&!j){var B=l.constructor,$=u.constructor;B!=$&&"constructor"in l&&"constructor"in u&&!(typeof B=="function"&&B instanceof B&&typeof $=="function"&&$ instanceof $)&&(T=!1)}return v.delete(l),v.delete(u),T}return nv=a,nv}var iv,KS;function eR(){if(KS)return iv;KS=1;var e=Vi(),t=rn(),r=e(t,"DataView");return iv=r,iv}var av,XS;function tR(){if(XS)return av;XS=1;var e=Vi(),t=rn(),r=e(t,"Promise");return av=r,av}var ov,YS;function xE(){if(YS)return ov;YS=1;var e=Vi(),t=rn(),r=e(t,"Set");return ov=r,ov}var lv,QS;function rR(){if(QS)return lv;QS=1;var e=Vi(),t=rn(),r=e(t,"WeakMap");return lv=r,lv}var uv,ZS;function nR(){if(ZS)return uv;ZS=1;var e=eR(),t=Mg(),r=tR(),n=xE(),a=rR(),l=Pn(),u=LA(),c="[object Map]",f="[object Object]",d="[object Promise]",v="[object Set]",p="[object WeakMap]",g="[object DataView]",w=u(e),_=u(t),S=u(r),b=u(n),O=u(a),P=l;return(e&&P(new e(new ArrayBuffer(1)))!=g||t&&P(new t)!=c||r&&P(r.resolve())!=d||n&&P(new n)!=v||a&&P(new a)!=p)&&(P=function(E){var T=l(E),j=T==f?E.constructor:void 0,A=j?u(j):"";if(A)switch(A){case w:return g;case _:return c;case S:return d;case b:return v;case O:return p}return T}),uv=P,uv}var sv,JS;function iR(){if(JS)return sv;JS=1;var e=cE(),t=pE(),r=L$(),n=J$(),a=nR(),l=ir(),u=mE(),c=gE(),f=1,d="[object Arguments]",v="[object Array]",p="[object Object]",g=Object.prototype,w=g.hasOwnProperty;function _(S,b,O,P,E,T){var j=l(S),A=l(b),C=j?v:a(S),N=A?v:a(b);C=C==d?p:C,N=N==d?p:N;var B=C==p,$=N==p,R=C==N;if(R&&u(S)){if(!u(b))return!1;j=!0,B=!1}if(R&&!B)return T||(T=new e),j||c(S)?t(S,b,O,P,E,T):r(S,b,C,O,P,E,T);if(!(O&f)){var q=B&&w.call(S,"__wrapped__"),H=$&&w.call(b,"__wrapped__");if(q||H){var X=q?S.value():S,Q=H?b.value():b;return T||(T=new e),E(X,Q,O,P,T)}}return R?(T||(T=new e),n(S,b,O,P,E,T)):!1}return sv=_,sv}var cv,e_;function Kg(){if(e_)return cv;e_=1;var e=iR(),t=An();function r(n,a,l,u,c){return n===a?!0:n==null||a==null||!t(n)&&!t(a)?n!==n&&a!==a:e(n,a,l,u,r,c)}return cv=r,cv}var fv,t_;function aR(){if(t_)return fv;t_=1;var e=cE(),t=Kg(),r=1,n=2;function a(l,u,c,f){var d=c.length,v=d,p=!f;if(l==null)return!v;for(l=Object(l);d--;){var g=c[d];if(p&&g[2]?g[1]!==l[g[0]]:!(g[0]in l))return!1}for(;++d<v;){g=c[d];var w=g[0],_=l[w],S=g[1];if(p&&g[2]){if(_===void 0&&!(w in l))return!1}else{var b=new e;if(f)var O=f(_,S,w,l,u,b);if(!(O===void 0?t(S,_,r|n,f,b):O))return!1}}return!0}return fv=a,fv}var dv,r_;function wE(){if(r_)return dv;r_=1;var e=ui();function t(r){return r===r&&!e(r)}return dv=t,dv}var hv,n_;function oR(){if(n_)return hv;n_=1;var e=wE(),t=Vc();function r(n){for(var a=t(n),l=a.length;l--;){var u=a[l],c=n[u];a[l]=[u,c,e(c)]}return a}return hv=r,hv}var pv,i_;function SE(){if(i_)return pv;i_=1;function e(t,r){return function(n){return n==null?!1:n[t]===r&&(r!==void 0||t in Object(n))}}return pv=e,pv}var vv,a_;function lR(){if(a_)return vv;a_=1;var e=aR(),t=oR(),r=SE();function n(a){var l=t(a);return l.length==1&&l[0][2]?r(l[0][0],l[0][1]):function(u){return u===a||e(u,a,l)}}return vv=n,vv}var mv,o_;function uR(){if(o_)return mv;o_=1;function e(t,r){return t!=null&&r in Object(t)}return mv=e,mv}var yv,l_;function sR(){if(l_)return yv;l_=1;var e=zA(),t=Hg(),r=ir(),n=Vg(),a=Gg(),l=zc();function u(c,f,d){f=e(f,c);for(var v=-1,p=f.length,g=!1;++v<p;){var w=l(f[v]);if(!(g=c!=null&&d(c,w)))break;c=c[w]}return g||++v!=p?g:(p=c==null?0:c.length,!!p&&a(p)&&n(w,p)&&(r(c)||t(c)))}return yv=u,yv}var gv,u_;function cR(){if(u_)return gv;u_=1;var e=uR(),t=sR();function r(n,a){return n!=null&&t(n,a,e)}return gv=r,gv}var bv,s_;function fR(){if(s_)return bv;s_=1;var e=Kg(),t=FA(),r=cR(),n=Tg(),a=wE(),l=SE(),u=zc(),c=1,f=2;function d(v,p){return n(v)&&a(p)?l(u(v),p):function(g){var w=t(g,v);return w===void 0&&w===p?r(g,v):e(p,w,c|f)}}return bv=d,bv}var xv,c_;function ao(){if(c_)return xv;c_=1;function e(t){return t}return xv=e,xv}var wv,f_;function dR(){if(f_)return wv;f_=1;function e(t){return function(r){return r==null?void 0:r[t]}}return wv=e,wv}var Sv,d_;function hR(){if(d_)return Sv;d_=1;var e=Rg();function t(r){return function(n){return e(n,r)}}return Sv=t,Sv}var _v,h_;function pR(){if(h_)return _v;h_=1;var e=dR(),t=hR(),r=Tg(),n=zc();function a(l){return r(l)?e(n(l)):t(l)}return _v=a,_v}var Ov,p_;function si(){if(p_)return Ov;p_=1;var e=lR(),t=fR(),r=ao(),n=ir(),a=pR();function l(u){return typeof u=="function"?u:u==null?r:typeof u=="object"?n(u)?t(u[0],u[1]):e(u):a(u)}return Ov=l,Ov}var jv,v_;function _E(){if(v_)return jv;v_=1;function e(t,r,n,a){for(var l=t.length,u=n+(a?1:-1);a?u--:++u<l;)if(r(t[u],u,t))return u;return-1}return jv=e,jv}var Pv,m_;function vR(){if(m_)return Pv;m_=1;function e(t){return t!==t}return Pv=e,Pv}var Av,y_;function mR(){if(y_)return Av;y_=1;function e(t,r,n){for(var a=n-1,l=t.length;++a<l;)if(t[a]===r)return a;return-1}return Av=e,Av}var Ev,g_;function yR(){if(g_)return Ev;g_=1;var e=_E(),t=vR(),r=mR();function n(a,l,u){return l===l?r(a,l,u):e(a,t,u)}return Ev=n,Ev}var kv,b_;function gR(){if(b_)return kv;b_=1;var e=yR();function t(r,n){var a=r==null?0:r.length;return!!a&&e(r,n,0)>-1}return kv=t,kv}var Tv,x_;function bR(){if(x_)return Tv;x_=1;function e(t,r,n){for(var a=-1,l=t==null?0:t.length;++a<l;)if(n(r,t[a]))return!0;return!1}return Tv=e,Tv}var Cv,w_;function xR(){if(w_)return Cv;w_=1;function e(){}return Cv=e,Cv}var Nv,S_;function wR(){if(S_)return Nv;S_=1;var e=xE(),t=xR(),r=Wg(),n=1/0,a=e&&1/r(new e([,-0]))[1]==n?function(l){return new e(l)}:t;return Nv=a,Nv}var Mv,__;function SR(){if(__)return Mv;__=1;var e=fE(),t=gR(),r=bR(),n=hE(),a=wR(),l=Wg(),u=200;function c(f,d,v){var p=-1,g=t,w=f.length,_=!0,S=[],b=S;if(v)_=!1,g=r;else if(w>=u){var O=d?null:a(f);if(O)return l(O);_=!1,g=n,b=new e}else b=d?[]:S;e:for(;++p<w;){var P=f[p],E=d?d(P):P;if(P=v||P!==0?P:0,_&&E===E){for(var T=b.length;T--;)if(b[T]===E)continue e;d&&b.push(E),S.push(P)}else g(b,E,v)||(b!==S&&b.push(E),S.push(P))}return S}return Mv=c,Mv}var Iv,O_;function _R(){if(O_)return Iv;O_=1;var e=si(),t=SR();function r(n,a){return n&&n.length?t(n,e(a,2)):[]}return Iv=r,Iv}var OR=_R();const j_=We(OR);function OE(e,t,r){return t===!0?j_(e,r):Ee(t)?j_(e,t):e}function Ia(e){"@babel/helpers - typeof";return Ia=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},Ia(e)}var jR=["ref"];function P_(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function hn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?P_(Object(r),!0).forEach(function(n){Gc(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):P_(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function PR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A_(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,PE(n.key),n)}}function AR(e,t,r){return t&&A_(e.prototype,t),r&&A_(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function ER(e,t,r){return t=Ws(t),kR(e,jE()?Reflect.construct(t,r||[],Ws(e).constructor):t.apply(e,r))}function kR(e,t){if(t&&(Ia(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return TR(e)}function TR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(jE=function(){return!!e})()}function Ws(e){return Ws=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ws(e)}function CR(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&&Oy(e,t)}function Oy(e,t){return Oy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Oy(e,t)}function Gc(e,t,r){return t=PE(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function PE(e){var t=NR(e,"string");return Ia(t)=="symbol"?t:t+""}function NR(e,t){if(Ia(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Ia(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function MR(e,t){if(e==null)return{};var r=IR(e,t),n,a;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function IR(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function $R(e){return e.value}function RR(e,t){if(U.isValidElement(e))return U.cloneElement(e,t);if(typeof e=="function")return U.createElement(e,t);t.ref;var r=MR(t,jR);return U.createElement(Ug,r)}var E_=1,Di=(function(e){function t(){var r;PR(this,t);for(var n=arguments.length,a=new Array(n),l=0;l<n;l++)a[l]=arguments[l];return r=ER(this,t,[].concat(a)),Gc(r,"lastBoundingBox",{width:-1,height:-1}),r}return CR(t,e),AR(t,[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var n=this.wrapperNode.getBoundingClientRect();return n.height=this.wrapperNode.offsetHeight,n.width=this.wrapperNode.offsetWidth,n}return null}},{key:"updateBBox",value:function(){var n=this.props.onBBoxUpdate,a=this.getBBox();a?(Math.abs(a.width-this.lastBoundingBox.width)>E_||Math.abs(a.height-this.lastBoundingBox.height)>E_)&&(this.lastBoundingBox.width=a.width,this.lastBoundingBox.height=a.height,n&&n(a)):(this.lastBoundingBox.width!==-1||this.lastBoundingBox.height!==-1)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,n&&n(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?hn({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(n){var a=this.props,l=a.layout,u=a.align,c=a.verticalAlign,f=a.margin,d=a.chartWidth,v=a.chartHeight,p,g;if(!n||(n.left===void 0||n.left===null)&&(n.right===void 0||n.right===null))if(u==="center"&&l==="vertical"){var w=this.getBBoxSnapshot();p={left:((d||0)-w.width)/2}}else p=u==="right"?{right:f&&f.right||0}:{left:f&&f.left||0};if(!n||(n.top===void 0||n.top===null)&&(n.bottom===void 0||n.bottom===null))if(c==="middle"){var _=this.getBBoxSnapshot();g={top:((v||0)-_.height)/2}}else g=c==="bottom"?{bottom:f&&f.bottom||0}:{top:f&&f.top||0};return hn(hn({},p),g)}},{key:"render",value:function(){var n=this,a=this.props,l=a.content,u=a.width,c=a.height,f=a.wrapperStyle,d=a.payloadUniqBy,v=a.payload,p=hn(hn({position:"absolute",width:u||"auto",height:c||"auto"},this.getDefaultPosition(f)),f);return U.createElement("div",{className:"recharts-legend-wrapper",style:p,ref:function(w){n.wrapperNode=w}},RR(l,hn(hn({},this.props),{},{payload:OE(v,d,$R)})))}}],[{key:"getWithHeight",value:function(n,a){var l=hn(hn({},this.defaultProps),n.props),u=l.layout;return u==="vertical"&&ce(n.props.height)?{height:n.props.height}:u==="horizontal"?{width:n.props.width||a}:null}}])})(D.PureComponent);Gc(Di,"displayName","Legend");Gc(Di,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var $v,k_;function DR(){if(k_)return $v;k_=1;var e=eu(),t=Hg(),r=ir(),n=e?e.isConcatSpreadable:void 0;function a(l){return r(l)||t(l)||!!(n&&l&&l[n])}return $v=a,$v}var Rv,T_;function AE(){if(T_)return Rv;T_=1;var e=vE(),t=DR();function r(n,a,l,u,c){var f=-1,d=n.length;for(l||(l=t),c||(c=[]);++f<d;){var v=n[f];a>0&&l(v)?a>1?r(v,a-1,l,u,c):e(c,v):u||(c[c.length]=v)}return c}return Rv=r,Rv}var Dv,C_;function LR(){if(C_)return Dv;C_=1;function e(t){return function(r,n,a){for(var l=-1,u=Object(r),c=a(r),f=c.length;f--;){var d=c[t?f:++l];if(n(u[d],d,u)===!1)break}return r}}return Dv=e,Dv}var Lv,N_;function BR(){if(N_)return Lv;N_=1;var e=LR(),t=e();return Lv=t,Lv}var Bv,M_;function EE(){if(M_)return Bv;M_=1;var e=BR(),t=Vc();function r(n,a){return n&&e(n,a,t)}return Bv=r,Bv}var qv,I_;function qR(){if(I_)return qv;I_=1;var e=ru();function t(r,n){return function(a,l){if(a==null)return a;if(!e(a))return r(a,l);for(var u=a.length,c=n?u:-1,f=Object(a);(n?c--:++c<u)&&l(f[c],c,f)!==!1;);return a}}return qv=t,qv}var zv,$_;function Xg(){if($_)return zv;$_=1;var e=EE(),t=qR(),r=t(e);return zv=r,zv}var Fv,R_;function kE(){if(R_)return Fv;R_=1;var e=Xg(),t=ru();function r(n,a){var l=-1,u=t(n)?Array(n.length):[];return e(n,function(c,f,d){u[++l]=a(c,f,d)}),u}return Fv=r,Fv}var Uv,D_;function zR(){if(D_)return Uv;D_=1;function e(t,r){var n=t.length;for(t.sort(r);n--;)t[n]=t[n].value;return t}return Uv=e,Uv}var Wv,L_;function FR(){if(L_)return Wv;L_=1;var e=ro();function t(r,n){if(r!==n){var a=r!==void 0,l=r===null,u=r===r,c=e(r),f=n!==void 0,d=n===null,v=n===n,p=e(n);if(!d&&!p&&!c&&r>n||c&&f&&v&&!d&&!p||l&&f&&v||!a&&v||!u)return 1;if(!l&&!c&&!p&&r<n||p&&a&&u&&!l&&!c||d&&a&&u||!f&&u||!v)return-1}return 0}return Wv=t,Wv}var Hv,B_;function UR(){if(B_)return Hv;B_=1;var e=FR();function t(r,n,a){for(var l=-1,u=r.criteria,c=n.criteria,f=u.length,d=a.length;++l<f;){var v=e(u[l],c[l]);if(v){if(l>=d)return v;var p=a[l];return v*(p=="desc"?-1:1)}}return r.index-n.index}return Hv=t,Hv}var Vv,q_;function WR(){if(q_)return Vv;q_=1;var e=$g(),t=Rg(),r=si(),n=kE(),a=zR(),l=yE(),u=UR(),c=ao(),f=ir();function d(v,p,g){p.length?p=e(p,function(S){return f(S)?function(b){return t(b,S.length===1?S[0]:S)}:S}):p=[c];var w=-1;p=e(p,l(r));var _=n(v,function(S,b,O){var P=e(p,function(E){return E(S)});return{criteria:P,index:++w,value:S}});return a(_,function(S,b){return u(S,b,g)})}return Vv=d,Vv}var Gv,z_;function HR(){if(z_)return Gv;z_=1;function e(t,r,n){switch(n.length){case 0:return t.call(r);case 1:return t.call(r,n[0]);case 2:return t.call(r,n[0],n[1]);case 3:return t.call(r,n[0],n[1],n[2])}return t.apply(r,n)}return Gv=e,Gv}var Kv,F_;function VR(){if(F_)return Kv;F_=1;var e=HR(),t=Math.max;function r(n,a,l){return a=t(a===void 0?n.length-1:a,0),function(){for(var u=arguments,c=-1,f=t(u.length-a,0),d=Array(f);++c<f;)d[c]=u[a+c];c=-1;for(var v=Array(a+1);++c<a;)v[c]=u[c];return v[a]=l(d),e(n,this,v)}}return Kv=r,Kv}var Xv,U_;function GR(){if(U_)return Xv;U_=1;function e(t){return function(){return t}}return Xv=e,Xv}var Yv,W_;function TE(){if(W_)return Yv;W_=1;var e=Vi(),t=(function(){try{var r=e(Object,"defineProperty");return r({},"",{}),r}catch{}})();return Yv=t,Yv}var Qv,H_;function KR(){if(H_)return Qv;H_=1;var e=GR(),t=TE(),r=ao(),n=t?function(a,l){return t(a,"toString",{configurable:!0,enumerable:!1,value:e(l),writable:!0})}:r;return Qv=n,Qv}var Zv,V_;function XR(){if(V_)return Zv;V_=1;var e=800,t=16,r=Date.now;function n(a){var l=0,u=0;return function(){var c=r(),f=t-(c-u);if(u=c,f>0){if(++l>=e)return arguments[0]}else l=0;return a.apply(void 0,arguments)}}return Zv=n,Zv}var Jv,G_;function YR(){if(G_)return Jv;G_=1;var e=KR(),t=XR(),r=t(e);return Jv=r,Jv}var em,K_;function QR(){if(K_)return em;K_=1;var e=ao(),t=VR(),r=YR();function n(a,l){return r(t(a,l,e),a+"")}return em=n,em}var tm,X_;function Kc(){if(X_)return tm;X_=1;var e=Ng(),t=ru(),r=Vg(),n=ui();function a(l,u,c){if(!n(c))return!1;var f=typeof u;return(f=="number"?t(c)&&r(u,c.length):f=="string"&&u in c)?e(c[u],l):!1}return tm=a,tm}var rm,Y_;function ZR(){if(Y_)return rm;Y_=1;var e=AE(),t=WR(),r=QR(),n=Kc(),a=r(function(l,u){if(l==null)return[];var c=u.length;return c>1&&n(l,u[0],u[1])?u=[]:c>2&&n(u[0],u[1],u[2])&&(u=[u[0]]),t(l,e(u,1),[])});return rm=a,rm}var JR=ZR();const Yg=We(JR);function bl(e){"@babel/helpers - typeof";return bl=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},bl(e)}function jy(){return jy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},jy.apply(this,arguments)}function eD(e,t){return iD(e)||nD(e,t)||rD(e,t)||tD()}function tD(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
194
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rD(e,t){if(e){if(typeof e=="string")return Q_(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Q_(e,t)}}function Q_(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function nD(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,l,u,c=[],f=!0,d=!1;try{if(l=(r=r.call(e)).next,t!==0)for(;!(f=(n=l.call(r)).done)&&(c.push(n.value),c.length!==t);f=!0);}catch(v){d=!0,a=v}finally{try{if(!f&&r.return!=null&&(u=r.return(),Object(u)!==u))return}finally{if(d)throw a}}return c}}function iD(e){if(Array.isArray(e))return e}function Z_(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function nm(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Z_(Object(r),!0).forEach(function(n){aD(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Z_(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function aD(e,t,r){return t=oD(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oD(e){var t=lD(e,"string");return bl(t)=="symbol"?t:t+""}function lD(e,t){if(bl(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(bl(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function uD(e){return Array.isArray(e)&&St(e[0])&&St(e[1])?e.join(" ~ "):e}var sD=function(t){var r=t.separator,n=r===void 0?" : ":r,a=t.contentStyle,l=a===void 0?{}:a,u=t.itemStyle,c=u===void 0?{}:u,f=t.labelStyle,d=f===void 0?{}:f,v=t.payload,p=t.formatter,g=t.itemSorter,w=t.wrapperClassName,_=t.labelClassName,S=t.label,b=t.labelFormatter,O=t.accessibilityLayer,P=O===void 0?!1:O,E=function(){if(v&&v.length){var q={padding:0,margin:0},H=(g?Yg(v,g):v).map(function(X,Q){if(X.type==="none")return null;var ee=nm({display:"block",paddingTop:4,paddingBottom:4,color:X.color||"#000"},c),te=X.formatter||p||uD,L=X.value,V=X.name,Z=L,I=V;if(te&&Z!=null&&I!=null){var W=te(L,V,X,Q,v);if(Array.isArray(W)){var ue=eD(W,2);Z=ue[0],I=ue[1]}else Z=W}return U.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(Q),style:ee},St(I)?U.createElement("span",{className:"recharts-tooltip-item-name"},I):null,St(I)?U.createElement("span",{className:"recharts-tooltip-item-separator"},n):null,U.createElement("span",{className:"recharts-tooltip-item-value"},Z),U.createElement("span",{className:"recharts-tooltip-item-unit"},X.unit||""))});return U.createElement("ul",{className:"recharts-tooltip-item-list",style:q},H)}return null},T=nm({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},l),j=nm({margin:0},d),A=!Me(S),C=A?S:"",N=Re("recharts-default-tooltip",w),B=Re("recharts-tooltip-label",_);A&&b&&v!==void 0&&v!==null&&(C=b(S,v));var $=P?{role:"status","aria-live":"assertive"}:{};return U.createElement("div",jy({className:N,style:T},$),U.createElement("p",{className:B,style:j},U.isValidElement(C)?C:"".concat(C)),E())};function xl(e){"@babel/helpers - typeof";return xl=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},xl(e)}function xs(e,t,r){return t=cD(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cD(e){var t=fD(e,"string");return xl(t)=="symbol"?t:t+""}function fD(e,t){if(xl(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(xl(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Zo="recharts-tooltip-wrapper",dD={visibility:"hidden"};function hD(e){var t=e.coordinate,r=e.translateX,n=e.translateY;return Re(Zo,xs(xs(xs(xs({},"".concat(Zo,"-right"),ce(r)&&t&&ce(t.x)&&r>=t.x),"".concat(Zo,"-left"),ce(r)&&t&&ce(t.x)&&r<t.x),"".concat(Zo,"-bottom"),ce(n)&&t&&ce(t.y)&&n>=t.y),"".concat(Zo,"-top"),ce(n)&&t&&ce(t.y)&&n<t.y))}function J_(e){var t=e.allowEscapeViewBox,r=e.coordinate,n=e.key,a=e.offsetTopLeft,l=e.position,u=e.reverseDirection,c=e.tooltipDimension,f=e.viewBox,d=e.viewBoxDimension;if(l&&ce(l[n]))return l[n];var v=r[n]-c-a,p=r[n]+a;if(t[n])return u[n]?v:p;if(u[n]){var g=v,w=f[n];return g<w?Math.max(p,f[n]):Math.max(v,f[n])}var _=p+c,S=f[n]+d;return _>S?Math.max(v,f[n]):Math.max(p,f[n])}function pD(e){var t=e.translateX,r=e.translateY,n=e.useTranslate3d;return{transform:n?"translate3d(".concat(t,"px, ").concat(r,"px, 0)"):"translate(".concat(t,"px, ").concat(r,"px)")}}function vD(e){var t=e.allowEscapeViewBox,r=e.coordinate,n=e.offsetTopLeft,a=e.position,l=e.reverseDirection,u=e.tooltipBox,c=e.useTranslate3d,f=e.viewBox,d,v,p;return u.height>0&&u.width>0&&r?(v=J_({allowEscapeViewBox:t,coordinate:r,key:"x",offsetTopLeft:n,position:a,reverseDirection:l,tooltipDimension:u.width,viewBox:f,viewBoxDimension:f.width}),p=J_({allowEscapeViewBox:t,coordinate:r,key:"y",offsetTopLeft:n,position:a,reverseDirection:l,tooltipDimension:u.height,viewBox:f,viewBoxDimension:f.height}),d=pD({translateX:v,translateY:p,useTranslate3d:c})):d=dD,{cssProperties:d,cssClasses:hD({translateX:v,translateY:p,coordinate:r})}}function $a(e){"@babel/helpers - typeof";return $a=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},$a(e)}function eO(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function tO(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?eO(Object(r),!0).forEach(function(n){Ay(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eO(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function mD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,NE(n.key),n)}}function gD(e,t,r){return t&&yD(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function bD(e,t,r){return t=Hs(t),xD(e,CE()?Reflect.construct(t,r||[],Hs(e).constructor):t.apply(e,r))}function xD(e,t){if(t&&($a(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return wD(e)}function wD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(CE=function(){return!!e})()}function Hs(e){return Hs=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Hs(e)}function SD(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&&Py(e,t)}function Py(e,t){return Py=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Py(e,t)}function Ay(e,t,r){return t=NE(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function NE(e){var t=_D(e,"string");return $a(t)=="symbol"?t:t+""}function _D(e,t){if($a(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if($a(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var rO=1,OD=(function(e){function t(){var r;mD(this,t);for(var n=arguments.length,a=new Array(n),l=0;l<n;l++)a[l]=arguments[l];return r=bD(this,t,[].concat(a)),Ay(r,"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),Ay(r,"handleKeyDown",function(u){if(u.key==="Escape"){var c,f,d,v;r.setState({dismissed:!0,dismissedAtCoordinate:{x:(c=(f=r.props.coordinate)===null||f===void 0?void 0:f.x)!==null&&c!==void 0?c:0,y:(d=(v=r.props.coordinate)===null||v===void 0?void 0:v.y)!==null&&d!==void 0?d:0}})}}),r}return SD(t,e),gD(t,[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var n=this.wrapperNode.getBoundingClientRect();(Math.abs(n.width-this.state.lastBoundingBox.width)>rO||Math.abs(n.height-this.state.lastBoundingBox.height)>rO)&&this.setState({lastBoundingBox:{width:n.width,height:n.height}})}else(this.state.lastBoundingBox.width!==-1||this.state.lastBoundingBox.height!==-1)&&this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var n,a;this.props.active&&this.updateBBox(),this.state.dismissed&&(((n=this.props.coordinate)===null||n===void 0?void 0:n.x)!==this.state.dismissedAtCoordinate.x||((a=this.props.coordinate)===null||a===void 0?void 0:a.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var n=this,a=this.props,l=a.active,u=a.allowEscapeViewBox,c=a.animationDuration,f=a.animationEasing,d=a.children,v=a.coordinate,p=a.hasPayload,g=a.isAnimationActive,w=a.offset,_=a.position,S=a.reverseDirection,b=a.useTranslate3d,O=a.viewBox,P=a.wrapperStyle,E=vD({allowEscapeViewBox:u,coordinate:v,offsetTopLeft:w,position:_,reverseDirection:S,tooltipBox:this.state.lastBoundingBox,useTranslate3d:b,viewBox:O}),T=E.cssClasses,j=E.cssProperties,A=tO(tO({transition:g&&l?"transform ".concat(c,"ms ").concat(f):void 0},j),{},{pointerEvents:"none",visibility:!this.state.dismissed&&l&&p?"visible":"hidden",position:"absolute",top:0,left:0},P);return U.createElement("div",{tabIndex:-1,className:T,style:A,ref:function(N){n.wrapperNode=N}},d)}}])})(D.PureComponent),jD=function(){return!(typeof window<"u"&&window.document&&window.document.createElement&&window.setTimeout)},oo={isSsr:jD()};function Ra(e){"@babel/helpers - typeof";return Ra=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},Ra(e)}function nO(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function iO(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?nO(Object(r),!0).forEach(function(n){Qg(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nO(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function PD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,IE(n.key),n)}}function ED(e,t,r){return t&&AD(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function kD(e,t,r){return t=Vs(t),TD(e,ME()?Reflect.construct(t,r||[],Vs(e).constructor):t.apply(e,r))}function TD(e,t){if(t&&(Ra(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return CD(e)}function CD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ME(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ME=function(){return!!e})()}function Vs(e){return Vs=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Vs(e)}function ND(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&&Ey(e,t)}function Ey(e,t){return Ey=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Ey(e,t)}function Qg(e,t,r){return t=IE(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function IE(e){var t=MD(e,"string");return Ra(t)=="symbol"?t:t+""}function MD(e,t){if(Ra(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Ra(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function ID(e){return e.dataKey}function $D(e,t){return U.isValidElement(e)?U.cloneElement(e,t):typeof e=="function"?U.createElement(e,t):U.createElement(sD,t)}var Br=(function(e){function t(){return PD(this,t),kD(this,t,arguments)}return ND(t,e),ED(t,[{key:"render",value:function(){var n=this,a=this.props,l=a.active,u=a.allowEscapeViewBox,c=a.animationDuration,f=a.animationEasing,d=a.content,v=a.coordinate,p=a.filterNull,g=a.isAnimationActive,w=a.offset,_=a.payload,S=a.payloadUniqBy,b=a.position,O=a.reverseDirection,P=a.useTranslate3d,E=a.viewBox,T=a.wrapperStyle,j=_??[];p&&j.length&&(j=OE(_.filter(function(C){return C.value!=null&&(C.hide!==!0||n.props.includeHidden)}),S,ID));var A=j.length>0;return U.createElement(OD,{allowEscapeViewBox:u,animationDuration:c,animationEasing:f,isAnimationActive:g,active:l,coordinate:v,hasPayload:A,offset:w,position:b,reverseDirection:O,useTranslate3d:P,viewBox:E,wrapperStyle:T},$D(d,iO(iO({},this.props),{},{payload:j})))}}])})(D.PureComponent);Qg(Br,"displayName","Tooltip");Qg(Br,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!oo.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}});var im,aO;function RD(){if(aO)return im;aO=1;var e=rn(),t=function(){return e.Date.now()};return im=t,im}var am,oO;function DD(){if(oO)return am;oO=1;var e=/\s/;function t(r){for(var n=r.length;n--&&e.test(r.charAt(n)););return n}return am=t,am}var om,lO;function LD(){if(lO)return om;lO=1;var e=DD(),t=/^\s+/;function r(n){return n&&n.slice(0,e(n)+1).replace(t,"")}return om=r,om}var lm,uO;function $E(){if(uO)return lm;uO=1;var e=LD(),t=ui(),r=ro(),n=NaN,a=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;function f(d){if(typeof d=="number")return d;if(r(d))return n;if(t(d)){var v=typeof d.valueOf=="function"?d.valueOf():d;d=t(v)?v+"":v}if(typeof d!="string")return d===0?d:+d;d=e(d);var p=l.test(d);return p||u.test(d)?c(d.slice(2),p?2:8):a.test(d)?n:+d}return lm=f,lm}var um,sO;function BD(){if(sO)return um;sO=1;var e=ui(),t=RD(),r=$E(),n="Expected a function",a=Math.max,l=Math.min;function u(c,f,d){var v,p,g,w,_,S,b=0,O=!1,P=!1,E=!0;if(typeof c!="function")throw new TypeError(n);f=r(f)||0,e(d)&&(O=!!d.leading,P="maxWait"in d,g=P?a(r(d.maxWait)||0,f):g,E="trailing"in d?!!d.trailing:E);function T(H){var X=v,Q=p;return v=p=void 0,b=H,w=c.apply(Q,X),w}function j(H){return b=H,_=setTimeout(N,f),O?T(H):w}function A(H){var X=H-S,Q=H-b,ee=f-X;return P?l(ee,g-Q):ee}function C(H){var X=H-S,Q=H-b;return S===void 0||X>=f||X<0||P&&Q>=g}function N(){var H=t();if(C(H))return B(H);_=setTimeout(N,A(H))}function B(H){return _=void 0,E&&v?T(H):(v=p=void 0,w)}function $(){_!==void 0&&clearTimeout(_),b=0,v=S=p=_=void 0}function R(){return _===void 0?w:B(t())}function q(){var H=t(),X=C(H);if(v=arguments,p=this,S=H,X){if(_===void 0)return j(S);if(P)return clearTimeout(_),_=setTimeout(N,f),T(S)}return _===void 0&&(_=setTimeout(N,f)),w}return q.cancel=$,q.flush=R,q}return um=u,um}var sm,cO;function qD(){if(cO)return sm;cO=1;var e=BD(),t=ui(),r="Expected a function";function n(a,l,u){var c=!0,f=!0;if(typeof a!="function")throw new TypeError(r);return t(u)&&(c="leading"in u?!!u.leading:c,f="trailing"in u?!!u.trailing:f),e(a,l,{leading:c,maxWait:l,trailing:f})}return sm=n,sm}var zD=qD();const RE=We(zD);function wl(e){"@babel/helpers - typeof";return wl=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},wl(e)}function fO(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function ws(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?fO(Object(r),!0).forEach(function(n){FD(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fO(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function FD(e,t,r){return t=UD(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function UD(e){var t=WD(e,"string");return wl(t)=="symbol"?t:t+""}function WD(e,t){if(wl(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(wl(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function HD(e,t){return XD(e)||KD(e,t)||GD(e,t)||VD()}function VD(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
195
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function GD(e,t){if(e){if(typeof e=="string")return dO(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return dO(e,t)}}function dO(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function KD(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,l,u,c=[],f=!0,d=!1;try{if(l=(r=r.call(e)).next,t!==0)for(;!(f=(n=l.call(r)).done)&&(c.push(n.value),c.length!==t);f=!0);}catch(v){d=!0,a=v}finally{try{if(!f&&r.return!=null&&(u=r.return(),Object(u)!==u))return}finally{if(d)throw a}}return c}}function XD(e){if(Array.isArray(e))return e}var DE=D.forwardRef(function(e,t){var r=e.aspect,n=e.initialDimension,a=n===void 0?{width:-1,height:-1}:n,l=e.width,u=l===void 0?"100%":l,c=e.height,f=c===void 0?"100%":c,d=e.minWidth,v=d===void 0?0:d,p=e.minHeight,g=e.maxHeight,w=e.children,_=e.debounce,S=_===void 0?0:_,b=e.id,O=e.className,P=e.onResize,E=e.style,T=E===void 0?{}:E,j=D.useRef(null),A=D.useRef();A.current=P,D.useImperativeHandle(t,function(){return Object.defineProperty(j.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),j.current},configurable:!0})});var C=D.useState({containerWidth:a.width,containerHeight:a.height}),N=HD(C,2),B=N[0],$=N[1],R=D.useCallback(function(H,X){$(function(Q){var ee=Math.round(H),te=Math.round(X);return Q.containerWidth===ee&&Q.containerHeight===te?Q:{containerWidth:ee,containerHeight:te}})},[]);D.useEffect(function(){var H=function(V){var Z,I=V[0].contentRect,W=I.width,ue=I.height;R(W,ue),(Z=A.current)===null||Z===void 0||Z.call(A,W,ue)};S>0&&(H=RE(H,S,{trailing:!0,leading:!1}));var X=new ResizeObserver(H),Q=j.current.getBoundingClientRect(),ee=Q.width,te=Q.height;return R(ee,te),X.observe(j.current),function(){X.disconnect()}},[R,S]);var q=D.useMemo(function(){var H=B.containerWidth,X=B.containerHeight;if(H<0||X<0)return null;xn(Ni(u)||Ni(f),`The width(%s) and height(%s) are both fixed numbers,
|
|
196
|
+
maybe you don't need to use a ResponsiveContainer.`,u,f),xn(!r||r>0,"The aspect(%s) must be greater than zero.",r);var Q=Ni(u)?H:u,ee=Ni(f)?X:f;r&&r>0&&(Q?ee=Q/r:ee&&(Q=ee*r),g&&ee>g&&(ee=g)),xn(Q>0||ee>0,`The width(%s) and height(%s) of chart should be greater than 0,
|
|
197
|
+
please check the style of container, or the props width(%s) and height(%s),
|
|
198
|
+
or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the
|
|
199
|
+
height and width.`,Q,ee,u,f,v,p,r);var te=!Array.isArray(w)&&bn(w.type).endsWith("Chart");return U.Children.map(w,function(L){return U.isValidElement(L)?D.cloneElement(L,ws({width:Q,height:ee},te?{style:ws({height:"100%",width:"100%",maxHeight:ee,maxWidth:Q},L.props.style)}:{})):L})},[r,w,f,g,p,v,B,u]);return U.createElement("div",{id:b?"".concat(b):void 0,className:Re("recharts-responsive-container",O),style:ws(ws({},T),{},{width:u,height:f,minWidth:v,minHeight:p,maxHeight:g}),ref:j},q)}),LE=function(t){return null};LE.displayName="Cell";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 hO(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function ky(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?hO(Object(r),!0).forEach(function(n){YD(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hO(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function YD(e,t,r){return t=QD(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function QD(e){var t=ZD(e,"string");return Sl(t)=="symbol"?t:t+""}function ZD(e,t){if(Sl(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Sl(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var xa={widthCache:{},cacheCount:0},JD=2e3,eL={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},pO="recharts_measurement_span";function tL(e){var t=ky({},e);return Object.keys(t).forEach(function(r){t[r]||delete t[r]}),t}var cl=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t==null||oo.isSsr)return{width:0,height:0};var n=tL(r),a=JSON.stringify({text:t,copyStyle:n});if(xa.widthCache[a])return xa.widthCache[a];try{var l=document.getElementById(pO);l||(l=document.createElement("span"),l.setAttribute("id",pO),l.setAttribute("aria-hidden","true"),document.body.appendChild(l));var u=ky(ky({},eL),n);Object.assign(l.style,u),l.textContent="".concat(t);var c=l.getBoundingClientRect(),f={width:c.width,height:c.height};return xa.widthCache[a]=f,++xa.cacheCount>JD&&(xa.cacheCount=0,xa.widthCache={}),f}catch{return{width:0,height:0}}},rL=function(t){return{top:t.top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft}};function _l(e){"@babel/helpers - typeof";return _l=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},_l(e)}function Gs(e,t){return oL(e)||aL(e,t)||iL(e,t)||nL()}function nL(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
200
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function iL(e,t){if(e){if(typeof e=="string")return vO(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return vO(e,t)}}function vO(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function aL(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,l,u,c=[],f=!0,d=!1;try{if(l=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;f=!1}else for(;!(f=(n=l.call(r)).done)&&(c.push(n.value),c.length!==t);f=!0);}catch(v){d=!0,a=v}finally{try{if(!f&&r.return!=null&&(u=r.return(),Object(u)!==u))return}finally{if(d)throw a}}return c}}function oL(e){if(Array.isArray(e))return e}function lL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,sL(n.key),n)}}function uL(e,t,r){return t&&mO(e.prototype,t),r&&mO(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function sL(e){var t=cL(e,"string");return _l(t)=="symbol"?t:t+""}function cL(e,t){if(_l(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(_l(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var yO=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,gO=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,fL=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,dL=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,BE={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},hL=Object.keys(BE),Oa="NaN";function pL(e,t){return e*BE[t]}var Ss=(function(){function e(t,r){lL(this,e),this.num=t,this.unit=r,this.num=t,this.unit=r,Number.isNaN(t)&&(this.unit=""),r!==""&&!fL.test(r)&&(this.num=NaN,this.unit=""),hL.includes(r)&&(this.num=pL(t,r),this.unit="px")}return uL(e,[{key:"add",value:function(r){return this.unit!==r.unit?new e(NaN,""):new e(this.num+r.num,this.unit)}},{key:"subtract",value:function(r){return this.unit!==r.unit?new e(NaN,""):new e(this.num-r.num,this.unit)}},{key:"multiply",value:function(r){return this.unit!==""&&r.unit!==""&&this.unit!==r.unit?new e(NaN,""):new e(this.num*r.num,this.unit||r.unit)}},{key:"divide",value:function(r){return this.unit!==""&&r.unit!==""&&this.unit!==r.unit?new e(NaN,""):new e(this.num/r.num,this.unit||r.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(r){var n,a=(n=dL.exec(r))!==null&&n!==void 0?n:[],l=Gs(a,3),u=l[1],c=l[2];return new e(parseFloat(u),c??"")}}])})();function qE(e){if(e.includes(Oa))return Oa;for(var t=e;t.includes("*")||t.includes("/");){var r,n=(r=yO.exec(t))!==null&&r!==void 0?r:[],a=Gs(n,4),l=a[1],u=a[2],c=a[3],f=Ss.parse(l??""),d=Ss.parse(c??""),v=u==="*"?f.multiply(d):f.divide(d);if(v.isNaN())return Oa;t=t.replace(yO,v.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var p,g=(p=gO.exec(t))!==null&&p!==void 0?p:[],w=Gs(g,4),_=w[1],S=w[2],b=w[3],O=Ss.parse(_??""),P=Ss.parse(b??""),E=S==="+"?O.add(P):O.subtract(P);if(E.isNaN())return Oa;t=t.replace(gO,E.toString())}return t}var bO=/\(([^()]*)\)/;function vL(e){for(var t=e;t.includes("(");){var r=bO.exec(t),n=Gs(r,2),a=n[1];t=t.replace(bO,qE(a))}return t}function mL(e){var t=e.replace(/\s+/g,"");return t=vL(t),t=qE(t),t}function yL(e){try{return mL(e)}catch{return Oa}}function cm(e){var t=yL(e.slice(5,-1));return t===Oa?"":t}var gL=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],bL=["dx","dy","angle","className","breakAll"];function Ty(){return Ty=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ty.apply(this,arguments)}function xO(e,t){if(e==null)return{};var r=xL(e,t),n,a;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function xL(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function wO(e,t){return OL(e)||_L(e,t)||SL(e,t)||wL()}function wL(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
201
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function SL(e,t){if(e){if(typeof e=="string")return SO(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return SO(e,t)}}function SO(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function _L(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,l,u,c=[],f=!0,d=!1;try{if(l=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;f=!1}else for(;!(f=(n=l.call(r)).done)&&(c.push(n.value),c.length!==t);f=!0);}catch(v){d=!0,a=v}finally{try{if(!f&&r.return!=null&&(u=r.return(),Object(u)!==u))return}finally{if(d)throw a}}return c}}function OL(e){if(Array.isArray(e))return e}var zE=/[ \f\n\r\t\v\u2028\u2029]+/,FE=function(t){var r=t.children,n=t.breakAll,a=t.style;try{var l=[];Me(r)||(n?l=r.toString().split(""):l=r.toString().split(zE));var u=l.map(function(f){return{word:f,width:cl(f,a).width}}),c=n?0:cl(" ",a).width;return{wordsWithComputedWidth:u,spaceWidth:c}}catch{return null}},jL=function(t,r,n,a,l){var u=t.maxLines,c=t.children,f=t.style,d=t.breakAll,v=ce(u),p=c,g=function(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Q.reduce(function(ee,te){var L=te.word,V=te.width,Z=ee[ee.length-1];if(Z&&(a==null||l||Z.width+V+n<Number(a)))Z.words.push(L),Z.width+=V+n;else{var I={words:[L],width:V};ee.push(I)}return ee},[])},w=g(r),_=function(Q){return Q.reduce(function(ee,te){return ee.width>te.width?ee:te})};if(!v)return w;for(var S="…",b=function(Q){var ee=p.slice(0,Q),te=FE({breakAll:d,style:f,children:ee+S}).wordsWithComputedWidth,L=g(te),V=L.length>u||_(L).width>Number(a);return[V,L]},O=0,P=p.length-1,E=0,T;O<=P&&E<=p.length-1;){var j=Math.floor((O+P)/2),A=j-1,C=b(A),N=wO(C,2),B=N[0],$=N[1],R=b(j),q=wO(R,1),H=q[0];if(!B&&!H&&(O=j+1),B&&H&&(P=j-1),!B&&H){T=$;break}E++}return T||w},_O=function(t){var r=Me(t)?[]:t.toString().split(zE);return[{words:r}]},PL=function(t){var r=t.width,n=t.scaleToFit,a=t.children,l=t.style,u=t.breakAll,c=t.maxLines;if((r||n)&&!oo.isSsr){var f,d,v=FE({breakAll:u,children:a,style:l});if(v){var p=v.wordsWithComputedWidth,g=v.spaceWidth;f=p,d=g}else return _O(a);return jL({breakAll:u,children:a,maxLines:c,style:l},f,d,r,n)}return _O(a)},OO="#808080",Ks=function(t){var r=t.x,n=r===void 0?0:r,a=t.y,l=a===void 0?0:a,u=t.lineHeight,c=u===void 0?"1em":u,f=t.capHeight,d=f===void 0?"0.71em":f,v=t.scaleToFit,p=v===void 0?!1:v,g=t.textAnchor,w=g===void 0?"start":g,_=t.verticalAnchor,S=_===void 0?"end":_,b=t.fill,O=b===void 0?OO:b,P=xO(t,gL),E=D.useMemo(function(){return PL({breakAll:P.breakAll,children:P.children,maxLines:P.maxLines,scaleToFit:p,style:P.style,width:P.width})},[P.breakAll,P.children,P.maxLines,p,P.style,P.width]),T=P.dx,j=P.dy,A=P.angle,C=P.className,N=P.breakAll,B=xO(P,bL);if(!St(n)||!St(l))return null;var $=n+(ce(T)?T:0),R=l+(ce(j)?j:0),q;switch(S){case"start":q=cm("calc(".concat(d,")"));break;case"middle":q=cm("calc(".concat((E.length-1)/2," * -").concat(c," + (").concat(d," / 2))"));break;default:q=cm("calc(".concat(E.length-1," * -").concat(c,")"));break}var H=[];if(p){var X=E[0].width,Q=P.width;H.push("scale(".concat((ce(Q)?Q/X:1)/X,")"))}return A&&H.push("rotate(".concat(A,", ").concat($,", ").concat(R,")")),H.length&&(B.transform=H.join(" ")),U.createElement("text",Ty({},Ne(B,!0),{x:$,y:R,className:Re("recharts-text",C),textAnchor:w,fill:O.includes("url")?OO:O}),E.map(function(ee,te){var L=ee.words.join(N?"":" ");return U.createElement("tspan",{x:$,dy:te===0?q:c,key:"".concat(L,"-").concat(te)},L)}))};function ai(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function AL(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Zg(e){let t,r,n;e.length!==2?(t=ai,r=(c,f)=>ai(e(c),f),n=(c,f)=>e(c)-f):(t=e===ai||e===AL?e:EL,r=e,n=e);function a(c,f,d=0,v=c.length){if(d<v){if(t(f,f)!==0)return v;do{const p=d+v>>>1;r(c[p],f)<0?d=p+1:v=p}while(d<v)}return d}function l(c,f,d=0,v=c.length){if(d<v){if(t(f,f)!==0)return v;do{const p=d+v>>>1;r(c[p],f)<=0?d=p+1:v=p}while(d<v)}return d}function u(c,f,d=0,v=c.length){const p=a(c,f,d,v-1);return p>d&&n(c[p-1],f)>-n(c[p],f)?p-1:p}return{left:a,center:u,right:l}}function EL(){return 0}function UE(e){return e===null?NaN:+e}function*kL(e,t){for(let r of e)r!=null&&(r=+r)>=r&&(yield r)}const TL=Zg(ai),nu=TL.right;Zg(UE).center;class jO extends Map{constructor(t,r=ML){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:r}}),t!=null)for(const[n,a]of t)this.set(n,a)}get(t){return super.get(PO(this,t))}has(t){return super.has(PO(this,t))}set(t,r){return super.set(CL(this,t),r)}delete(t){return super.delete(NL(this,t))}}function PO({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):r}function CL({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):(e.set(n,r),r)}function NL({_intern:e,_key:t},r){const n=t(r);return e.has(n)&&(r=e.get(n),e.delete(n)),r}function ML(e){return e!==null&&typeof e=="object"?e.valueOf():e}function IL(e=ai){if(e===ai)return WE;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,r)=>{const n=e(t,r);return n||n===0?n:(e(r,r)===0)-(e(t,t)===0)}}function WE(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:e>t?1:0)}const $L=Math.sqrt(50),RL=Math.sqrt(10),DL=Math.sqrt(2);function Xs(e,t,r){const n=(t-e)/Math.max(0,r),a=Math.floor(Math.log10(n)),l=n/Math.pow(10,a),u=l>=$L?10:l>=RL?5:l>=DL?2:1;let c,f,d;return a<0?(d=Math.pow(10,-a)/u,c=Math.round(e*d),f=Math.round(t*d),c/d<e&&++c,f/d>t&&--f,d=-d):(d=Math.pow(10,a)*u,c=Math.round(e/d),f=Math.round(t/d),c*d<e&&++c,f*d>t&&--f),f<c&&.5<=r&&r<2?Xs(e,t,r*2):[c,f,d]}function Cy(e,t,r){if(t=+t,e=+e,r=+r,!(r>0))return[];if(e===t)return[e];const n=t<e,[a,l,u]=n?Xs(t,e,r):Xs(e,t,r);if(!(l>=a))return[];const c=l-a+1,f=new Array(c);if(n)if(u<0)for(let d=0;d<c;++d)f[d]=(l-d)/-u;else for(let d=0;d<c;++d)f[d]=(l-d)*u;else if(u<0)for(let d=0;d<c;++d)f[d]=(a+d)/-u;else for(let d=0;d<c;++d)f[d]=(a+d)*u;return f}function Ny(e,t,r){return t=+t,e=+e,r=+r,Xs(e,t,r)[2]}function My(e,t,r){t=+t,e=+e,r=+r;const n=t<e,a=n?Ny(t,e,r):Ny(e,t,r);return(n?-1:1)*(a<0?1/-a:a)}function AO(e,t){let r;for(const n of e)n!=null&&(r<n||r===void 0&&n>=n)&&(r=n);return r}function EO(e,t){let r;for(const n of e)n!=null&&(r>n||r===void 0&&n>=n)&&(r=n);return r}function HE(e,t,r=0,n=1/0,a){if(t=Math.floor(t),r=Math.floor(Math.max(0,r)),n=Math.floor(Math.min(e.length-1,n)),!(r<=t&&t<=n))return e;for(a=a===void 0?WE:IL(a);n>r;){if(n-r>600){const f=n-r+1,d=t-r+1,v=Math.log(f),p=.5*Math.exp(2*v/3),g=.5*Math.sqrt(v*p*(f-p)/f)*(d-f/2<0?-1:1),w=Math.max(r,Math.floor(t-d*p/f+g)),_=Math.min(n,Math.floor(t+(f-d)*p/f+g));HE(e,t,w,_,a)}const l=e[t];let u=r,c=n;for(Jo(e,r,t),a(e[n],l)>0&&Jo(e,r,n);u<c;){for(Jo(e,u,c),++u,--c;a(e[u],l)<0;)++u;for(;a(e[c],l)>0;)--c}a(e[r],l)===0?Jo(e,r,c):(++c,Jo(e,c,n)),c<=t&&(r=c+1),t<=c&&(n=c-1)}return e}function Jo(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function LL(e,t,r){if(e=Float64Array.from(kL(e)),!(!(n=e.length)||isNaN(t=+t))){if(t<=0||n<2)return EO(e);if(t>=1)return AO(e);var n,a=(n-1)*t,l=Math.floor(a),u=AO(HE(e,l).subarray(0,l+1)),c=EO(e.subarray(l+1));return u+(c-u)*(a-l)}}function BL(e,t,r=UE){if(!(!(n=e.length)||isNaN(t=+t))){if(t<=0||n<2)return+r(e[0],0,e);if(t>=1)return+r(e[n-1],n-1,e);var n,a=(n-1)*t,l=Math.floor(a),u=+r(e[l],l,e),c=+r(e[l+1],l+1,e);return u+(c-u)*(a-l)}}function qL(e,t,r){e=+e,t=+t,r=(a=arguments.length)<2?(t=e,e=0,1):a<3?1:+r;for(var n=-1,a=Math.max(0,Math.ceil((t-e)/r))|0,l=new Array(a);++n<a;)l[n]=e+n*r;return l}function kr(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function En(e,t){switch(arguments.length){case 0:break;case 1:{typeof e=="function"?this.interpolator(e):this.range(e);break}default:{this.domain(e),typeof t=="function"?this.interpolator(t):this.range(t);break}}return this}const Iy=Symbol("implicit");function Jg(){var e=new jO,t=[],r=[],n=Iy;function a(l){let u=e.get(l);if(u===void 0){if(n!==Iy)return n;e.set(l,u=t.push(l)-1)}return r[u%r.length]}return a.domain=function(l){if(!arguments.length)return t.slice();t=[],e=new jO;for(const u of l)e.has(u)||e.set(u,t.push(u)-1);return a},a.range=function(l){return arguments.length?(r=Array.from(l),a):r.slice()},a.unknown=function(l){return arguments.length?(n=l,a):n},a.copy=function(){return Jg(t,r).unknown(n)},kr.apply(a,arguments),a}function Ol(){var e=Jg().unknown(void 0),t=e.domain,r=e.range,n=0,a=1,l,u,c=!1,f=0,d=0,v=.5;delete e.unknown;function p(){var g=t().length,w=a<n,_=w?a:n,S=w?n:a;l=(S-_)/Math.max(1,g-f+d*2),c&&(l=Math.floor(l)),_+=(S-_-l*(g-f))*v,u=l*(1-f),c&&(_=Math.round(_),u=Math.round(u));var b=qL(g).map(function(O){return _+l*O});return r(w?b.reverse():b)}return e.domain=function(g){return arguments.length?(t(g),p()):t()},e.range=function(g){return arguments.length?([n,a]=g,n=+n,a=+a,p()):[n,a]},e.rangeRound=function(g){return[n,a]=g,n=+n,a=+a,c=!0,p()},e.bandwidth=function(){return u},e.step=function(){return l},e.round=function(g){return arguments.length?(c=!!g,p()):c},e.padding=function(g){return arguments.length?(f=Math.min(1,d=+g),p()):f},e.paddingInner=function(g){return arguments.length?(f=Math.min(1,g),p()):f},e.paddingOuter=function(g){return arguments.length?(d=+g,p()):d},e.align=function(g){return arguments.length?(v=Math.max(0,Math.min(1,g)),p()):v},e.copy=function(){return Ol(t(),[n,a]).round(c).paddingInner(f).paddingOuter(d).align(v)},kr.apply(p(),arguments)}function VE(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return VE(t())},e}function fl(){return VE(Ol.apply(null,arguments).paddingInner(1))}function e0(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function GE(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function iu(){}var jl=.7,Ys=1/jl,ka="\\s*([+-]?\\d+)\\s*",Pl="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Jr="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",zL=/^#([0-9a-f]{3,8})$/,FL=new RegExp(`^rgb\\(${ka},${ka},${ka}\\)$`),UL=new RegExp(`^rgb\\(${Jr},${Jr},${Jr}\\)$`),WL=new RegExp(`^rgba\\(${ka},${ka},${ka},${Pl}\\)$`),HL=new RegExp(`^rgba\\(${Jr},${Jr},${Jr},${Pl}\\)$`),VL=new RegExp(`^hsl\\(${Pl},${Jr},${Jr}\\)$`),GL=new RegExp(`^hsla\\(${Pl},${Jr},${Jr},${Pl}\\)$`),kO={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};e0(iu,Al,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:TO,formatHex:TO,formatHex8:KL,formatHsl:XL,formatRgb:CO,toString:CO});function TO(){return this.rgb().formatHex()}function KL(){return this.rgb().formatHex8()}function XL(){return KE(this).formatHsl()}function CO(){return this.rgb().formatRgb()}function Al(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=zL.exec(e))?(r=t[1].length,t=parseInt(t[1],16),r===6?NO(t):r===3?new nr(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):r===8?_s(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):r===4?_s(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=FL.exec(e))?new nr(t[1],t[2],t[3],1):(t=UL.exec(e))?new nr(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=WL.exec(e))?_s(t[1],t[2],t[3],t[4]):(t=HL.exec(e))?_s(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=VL.exec(e))?$O(t[1],t[2]/100,t[3]/100,1):(t=GL.exec(e))?$O(t[1],t[2]/100,t[3]/100,t[4]):kO.hasOwnProperty(e)?NO(kO[e]):e==="transparent"?new nr(NaN,NaN,NaN,0):null}function NO(e){return new nr(e>>16&255,e>>8&255,e&255,1)}function _s(e,t,r,n){return n<=0&&(e=t=r=NaN),new nr(e,t,r,n)}function YL(e){return e instanceof iu||(e=Al(e)),e?(e=e.rgb(),new nr(e.r,e.g,e.b,e.opacity)):new nr}function $y(e,t,r,n){return arguments.length===1?YL(e):new nr(e,t,r,n??1)}function nr(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}e0(nr,$y,GE(iu,{brighter(e){return e=e==null?Ys:Math.pow(Ys,e),new nr(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?jl:Math.pow(jl,e),new nr(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new nr(Li(this.r),Li(this.g),Li(this.b),Qs(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:MO,formatHex:MO,formatHex8:QL,formatRgb:IO,toString:IO}));function MO(){return`#${Mi(this.r)}${Mi(this.g)}${Mi(this.b)}`}function QL(){return`#${Mi(this.r)}${Mi(this.g)}${Mi(this.b)}${Mi((isNaN(this.opacity)?1:this.opacity)*255)}`}function IO(){const e=Qs(this.opacity);return`${e===1?"rgb(":"rgba("}${Li(this.r)}, ${Li(this.g)}, ${Li(this.b)}${e===1?")":`, ${e})`}`}function Qs(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Li(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Mi(e){return e=Li(e),(e<16?"0":"")+e.toString(16)}function $O(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new zr(e,t,r,n)}function KE(e){if(e instanceof zr)return new zr(e.h,e.s,e.l,e.opacity);if(e instanceof iu||(e=Al(e)),!e)return new zr;if(e instanceof zr)return e;e=e.rgb();var t=e.r/255,r=e.g/255,n=e.b/255,a=Math.min(t,r,n),l=Math.max(t,r,n),u=NaN,c=l-a,f=(l+a)/2;return c?(t===l?u=(r-n)/c+(r<n)*6:r===l?u=(n-t)/c+2:u=(t-r)/c+4,c/=f<.5?l+a:2-l-a,u*=60):c=f>0&&f<1?0:u,new zr(u,c,f,e.opacity)}function ZL(e,t,r,n){return arguments.length===1?KE(e):new zr(e,t,r,n??1)}function zr(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}e0(zr,ZL,GE(iu,{brighter(e){return e=e==null?Ys:Math.pow(Ys,e),new zr(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?jl:Math.pow(jl,e),new zr(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,a=2*r-n;return new nr(fm(e>=240?e-240:e+120,a,n),fm(e,a,n),fm(e<120?e+240:e-120,a,n),this.opacity)},clamp(){return new zr(RO(this.h),Os(this.s),Os(this.l),Qs(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Qs(this.opacity);return`${e===1?"hsl(":"hsla("}${RO(this.h)}, ${Os(this.s)*100}%, ${Os(this.l)*100}%${e===1?")":`, ${e})`}`}}));function RO(e){return e=(e||0)%360,e<0?e+360:e}function Os(e){return Math.max(0,Math.min(1,e||0))}function fm(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}const t0=e=>()=>e;function JL(e,t){return function(r){return e+r*t}}function e3(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}function t3(e){return(e=+e)==1?XE:function(t,r){return r-t?e3(t,r,e):t0(isNaN(t)?r:t)}}function XE(e,t){var r=t-e;return r?JL(e,r):t0(isNaN(e)?t:e)}const DO=(function e(t){var r=t3(t);function n(a,l){var u=r((a=$y(a)).r,(l=$y(l)).r),c=r(a.g,l.g),f=r(a.b,l.b),d=XE(a.opacity,l.opacity);return function(v){return a.r=u(v),a.g=c(v),a.b=f(v),a.opacity=d(v),a+""}}return n.gamma=e,n})(1);function r3(e,t){t||(t=[]);var r=e?Math.min(t.length,e.length):0,n=t.slice(),a;return function(l){for(a=0;a<r;++a)n[a]=e[a]*(1-l)+t[a]*l;return n}}function n3(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function i3(e,t){var r=t?t.length:0,n=e?Math.min(r,e.length):0,a=new Array(n),l=new Array(r),u;for(u=0;u<n;++u)a[u]=lo(e[u],t[u]);for(;u<r;++u)l[u]=t[u];return function(c){for(u=0;u<n;++u)l[u]=a[u](c);return l}}function a3(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}function Zs(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}function o3(e,t){var r={},n={},a;(e===null||typeof e!="object")&&(e={}),(t===null||typeof t!="object")&&(t={});for(a in t)a in e?r[a]=lo(e[a],t[a]):n[a]=t[a];return function(l){for(a in r)n[a]=r[a](l);return n}}var Ry=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,dm=new RegExp(Ry.source,"g");function l3(e){return function(){return e}}function u3(e){return function(t){return e(t)+""}}function s3(e,t){var r=Ry.lastIndex=dm.lastIndex=0,n,a,l,u=-1,c=[],f=[];for(e=e+"",t=t+"";(n=Ry.exec(e))&&(a=dm.exec(t));)(l=a.index)>r&&(l=t.slice(r,l),c[u]?c[u]+=l:c[++u]=l),(n=n[0])===(a=a[0])?c[u]?c[u]+=a:c[++u]=a:(c[++u]=null,f.push({i:u,x:Zs(n,a)})),r=dm.lastIndex;return r<t.length&&(l=t.slice(r),c[u]?c[u]+=l:c[++u]=l),c.length<2?f[0]?u3(f[0].x):l3(t):(t=f.length,function(d){for(var v=0,p;v<t;++v)c[(p=f[v]).i]=p.x(d);return c.join("")})}function lo(e,t){var r=typeof t,n;return t==null||r==="boolean"?t0(t):(r==="number"?Zs:r==="string"?(n=Al(t))?(t=n,DO):s3:t instanceof Al?DO:t instanceof Date?a3:n3(t)?r3:Array.isArray(t)?i3:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?o3:Zs)(e,t)}function r0(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}function c3(e,t){t===void 0&&(t=e,e=lo);for(var r=0,n=t.length-1,a=t[0],l=new Array(n<0?0:n);r<n;)l[r]=e(a,a=t[++r]);return function(u){var c=Math.max(0,Math.min(n-1,Math.floor(u*=n)));return l[c](u-c)}}function f3(e){return function(){return e}}function Js(e){return+e}var LO=[0,1];function Yt(e){return e}function Dy(e,t){return(t-=e=+e)?function(r){return(r-e)/t}:f3(isNaN(t)?NaN:.5)}function d3(e,t){var r;return e>t&&(r=e,e=t,t=r),function(n){return Math.max(e,Math.min(t,n))}}function h3(e,t,r){var n=e[0],a=e[1],l=t[0],u=t[1];return a<n?(n=Dy(a,n),l=r(u,l)):(n=Dy(n,a),l=r(l,u)),function(c){return l(n(c))}}function p3(e,t,r){var n=Math.min(e.length,t.length)-1,a=new Array(n),l=new Array(n),u=-1;for(e[n]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++u<n;)a[u]=Dy(e[u],e[u+1]),l[u]=r(t[u],t[u+1]);return function(c){var f=nu(e,c,1,n)-1;return l[f](a[f](c))}}function au(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Xc(){var e=LO,t=LO,r=lo,n,a,l,u=Yt,c,f,d;function v(){var g=Math.min(e.length,t.length);return u!==Yt&&(u=d3(e[0],e[g-1])),c=g>2?p3:h3,f=d=null,p}function p(g){return g==null||isNaN(g=+g)?l:(f||(f=c(e.map(n),t,r)))(n(u(g)))}return p.invert=function(g){return u(a((d||(d=c(t,e.map(n),Zs)))(g)))},p.domain=function(g){return arguments.length?(e=Array.from(g,Js),v()):e.slice()},p.range=function(g){return arguments.length?(t=Array.from(g),v()):t.slice()},p.rangeRound=function(g){return t=Array.from(g),r=r0,v()},p.clamp=function(g){return arguments.length?(u=g?!0:Yt,v()):u!==Yt},p.interpolate=function(g){return arguments.length?(r=g,v()):r},p.unknown=function(g){return arguments.length?(l=g,p):l},function(g,w){return n=g,a=w,v()}}function n0(){return Xc()(Yt,Yt)}function v3(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function ec(e,t){if(!isFinite(e)||e===0)return null;var r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"),n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}function Da(e){return e=ec(Math.abs(e)),e?e[1]:NaN}function m3(e,t){return function(r,n){for(var a=r.length,l=[],u=0,c=e[0],f=0;a>0&&c>0&&(f+c+1>n&&(c=Math.max(1,n-f)),l.push(r.substring(a-=c,a+c)),!((f+=c+1)>n));)c=e[u=(u+1)%e.length];return l.reverse().join(t)}}function y3(e){return function(t){return t.replace(/[0-9]/g,function(r){return e[+r]})}}var g3=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function El(e){if(!(t=g3.exec(e)))throw new Error("invalid format: "+e);var t;return new i0({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}El.prototype=i0.prototype;function i0(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}i0.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function b3(e){e:for(var t=e.length,r=1,n=-1,a;r<t;++r)switch(e[r]){case".":n=a=r;break;case"0":n===0&&(n=r),a=r;break;default:if(!+e[r])break e;n>0&&(n=0);break}return n>0?e.slice(0,n)+e.slice(a+1):e}var tc;function x3(e,t){var r=ec(e,t);if(!r)return tc=void 0,e.toPrecision(t);var n=r[0],a=r[1],l=a-(tc=Math.max(-8,Math.min(8,Math.floor(a/3)))*3)+1,u=n.length;return l===u?n:l>u?n+new Array(l-u+1).join("0"):l>0?n.slice(0,l)+"."+n.slice(l):"0."+new Array(1-l).join("0")+ec(e,Math.max(0,t+l-1))[0]}function BO(e,t){var r=ec(e,t);if(!r)return e+"";var n=r[0],a=r[1];return a<0?"0."+new Array(-a).join("0")+n:n.length>a+1?n.slice(0,a+1)+"."+n.slice(a+1):n+new Array(a-n.length+2).join("0")}const qO={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:v3,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>BO(e*100,t),r:BO,s:x3,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function zO(e){return e}var FO=Array.prototype.map,UO=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function w3(e){var t=e.grouping===void 0||e.thousands===void 0?zO:m3(FO.call(e.grouping,Number),e.thousands+""),r=e.currency===void 0?"":e.currency[0]+"",n=e.currency===void 0?"":e.currency[1]+"",a=e.decimal===void 0?".":e.decimal+"",l=e.numerals===void 0?zO:y3(FO.call(e.numerals,String)),u=e.percent===void 0?"%":e.percent+"",c=e.minus===void 0?"−":e.minus+"",f=e.nan===void 0?"NaN":e.nan+"";function d(p,g){p=El(p);var w=p.fill,_=p.align,S=p.sign,b=p.symbol,O=p.zero,P=p.width,E=p.comma,T=p.precision,j=p.trim,A=p.type;A==="n"?(E=!0,A="g"):qO[A]||(T===void 0&&(T=12),j=!0,A="g"),(O||w==="0"&&_==="=")&&(O=!0,w="0",_="=");var C=(g&&g.prefix!==void 0?g.prefix:"")+(b==="$"?r:b==="#"&&/[boxX]/.test(A)?"0"+A.toLowerCase():""),N=(b==="$"?n:/[%p]/.test(A)?u:"")+(g&&g.suffix!==void 0?g.suffix:""),B=qO[A],$=/[defgprs%]/.test(A);T=T===void 0?6:/[gprs]/.test(A)?Math.max(1,Math.min(21,T)):Math.max(0,Math.min(20,T));function R(q){var H=C,X=N,Q,ee,te;if(A==="c")X=B(q)+X,q="";else{q=+q;var L=q<0||1/q<0;if(q=isNaN(q)?f:B(Math.abs(q),T),j&&(q=b3(q)),L&&+q==0&&S!=="+"&&(L=!1),H=(L?S==="("?S:c:S==="-"||S==="("?"":S)+H,X=(A==="s"&&!isNaN(q)&&tc!==void 0?UO[8+tc/3]:"")+X+(L&&S==="("?")":""),$){for(Q=-1,ee=q.length;++Q<ee;)if(te=q.charCodeAt(Q),48>te||te>57){X=(te===46?a+q.slice(Q+1):q.slice(Q))+X,q=q.slice(0,Q);break}}}E&&!O&&(q=t(q,1/0));var V=H.length+q.length+X.length,Z=V<P?new Array(P-V+1).join(w):"";switch(E&&O&&(q=t(Z+q,Z.length?P-X.length:1/0),Z=""),_){case"<":q=H+q+X+Z;break;case"=":q=H+Z+q+X;break;case"^":q=Z.slice(0,V=Z.length>>1)+H+q+X+Z.slice(V);break;default:q=Z+H+q+X;break}return l(q)}return R.toString=function(){return p+""},R}function v(p,g){var w=Math.max(-8,Math.min(8,Math.floor(Da(g)/3)))*3,_=Math.pow(10,-w),S=d((p=El(p),p.type="f",p),{suffix:UO[8+w/3]});return function(b){return S(_*b)}}return{format:d,formatPrefix:v}}var js,a0,YE;S3({thousands:",",grouping:[3],currency:["$",""]});function S3(e){return js=w3(e),a0=js.format,YE=js.formatPrefix,js}function _3(e){return Math.max(0,-Da(Math.abs(e)))}function O3(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Da(t)/3)))*3-Da(Math.abs(e)))}function j3(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Da(t)-Da(e))+1}function QE(e,t,r,n){var a=My(e,t,r),l;switch(n=El(n??",f"),n.type){case"s":{var u=Math.max(Math.abs(e),Math.abs(t));return n.precision==null&&!isNaN(l=O3(a,u))&&(n.precision=l),YE(n,u)}case"":case"e":case"g":case"p":case"r":{n.precision==null&&!isNaN(l=j3(a,Math.max(Math.abs(e),Math.abs(t))))&&(n.precision=l-(n.type==="e"));break}case"f":case"%":{n.precision==null&&!isNaN(l=_3(a))&&(n.precision=l-(n.type==="%")*2);break}}return a0(n)}function ci(e){var t=e.domain;return e.ticks=function(r){var n=t();return Cy(n[0],n[n.length-1],r??10)},e.tickFormat=function(r,n){var a=t();return QE(a[0],a[a.length-1],r??10,n)},e.nice=function(r){r==null&&(r=10);var n=t(),a=0,l=n.length-1,u=n[a],c=n[l],f,d,v=10;for(c<u&&(d=u,u=c,c=d,d=a,a=l,l=d);v-- >0;){if(d=Ny(u,c,r),d===f)return n[a]=u,n[l]=c,t(n);if(d>0)u=Math.floor(u/d)*d,c=Math.ceil(c/d)*d;else if(d<0)u=Math.ceil(u*d)/d,c=Math.floor(c*d)/d;else break;f=d}return e},e}function rc(){var e=n0();return e.copy=function(){return au(e,rc())},kr.apply(e,arguments),ci(e)}function ZE(e){var t;function r(n){return n==null||isNaN(n=+n)?t:n}return r.invert=r,r.domain=r.range=function(n){return arguments.length?(e=Array.from(n,Js),r):e.slice()},r.unknown=function(n){return arguments.length?(t=n,r):t},r.copy=function(){return ZE(e).unknown(t)},e=arguments.length?Array.from(e,Js):[0,1],ci(r)}function JE(e,t){e=e.slice();var r=0,n=e.length-1,a=e[r],l=e[n],u;return l<a&&(u=r,r=n,n=u,u=a,a=l,l=u),e[r]=t.floor(a),e[n]=t.ceil(l),e}function WO(e){return Math.log(e)}function HO(e){return Math.exp(e)}function P3(e){return-Math.log(-e)}function A3(e){return-Math.exp(-e)}function E3(e){return isFinite(e)?+("1e"+e):e<0?0:e}function k3(e){return e===10?E3:e===Math.E?Math.exp:t=>Math.pow(e,t)}function T3(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function VO(e){return(t,r)=>-e(-t,r)}function o0(e){const t=e(WO,HO),r=t.domain;let n=10,a,l;function u(){return a=T3(n),l=k3(n),r()[0]<0?(a=VO(a),l=VO(l),e(P3,A3)):e(WO,HO),t}return t.base=function(c){return arguments.length?(n=+c,u()):n},t.domain=function(c){return arguments.length?(r(c),u()):r()},t.ticks=c=>{const f=r();let d=f[0],v=f[f.length-1];const p=v<d;p&&([d,v]=[v,d]);let g=a(d),w=a(v),_,S;const b=c==null?10:+c;let O=[];if(!(n%1)&&w-g<b){if(g=Math.floor(g),w=Math.ceil(w),d>0){for(;g<=w;++g)for(_=1;_<n;++_)if(S=g<0?_/l(-g):_*l(g),!(S<d)){if(S>v)break;O.push(S)}}else for(;g<=w;++g)for(_=n-1;_>=1;--_)if(S=g>0?_/l(-g):_*l(g),!(S<d)){if(S>v)break;O.push(S)}O.length*2<b&&(O=Cy(d,v,b))}else O=Cy(g,w,Math.min(w-g,b)).map(l);return p?O.reverse():O},t.tickFormat=(c,f)=>{if(c==null&&(c=10),f==null&&(f=n===10?"s":","),typeof f!="function"&&(!(n%1)&&(f=El(f)).precision==null&&(f.trim=!0),f=a0(f)),c===1/0)return f;const d=Math.max(1,n*c/t.ticks().length);return v=>{let p=v/l(Math.round(a(v)));return p*n<n-.5&&(p*=n),p<=d?f(v):""}},t.nice=()=>r(JE(r(),{floor:c=>l(Math.floor(a(c))),ceil:c=>l(Math.ceil(a(c)))})),t}function ek(){const e=o0(Xc()).domain([1,10]);return e.copy=()=>au(e,ek()).base(e.base()),kr.apply(e,arguments),e}function GO(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function KO(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function l0(e){var t=1,r=e(GO(t),KO(t));return r.constant=function(n){return arguments.length?e(GO(t=+n),KO(t)):t},ci(r)}function tk(){var e=l0(Xc());return e.copy=function(){return au(e,tk()).constant(e.constant())},kr.apply(e,arguments)}function XO(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function C3(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function N3(e){return e<0?-e*e:e*e}function u0(e){var t=e(Yt,Yt),r=1;function n(){return r===1?e(Yt,Yt):r===.5?e(C3,N3):e(XO(r),XO(1/r))}return t.exponent=function(a){return arguments.length?(r=+a,n()):r},ci(t)}function s0(){var e=u0(Xc());return e.copy=function(){return au(e,s0()).exponent(e.exponent())},kr.apply(e,arguments),e}function M3(){return s0.apply(null,arguments).exponent(.5)}function YO(e){return Math.sign(e)*e*e}function I3(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function rk(){var e=n0(),t=[0,1],r=!1,n;function a(l){var u=I3(e(l));return isNaN(u)?n:r?Math.round(u):u}return a.invert=function(l){return e.invert(YO(l))},a.domain=function(l){return arguments.length?(e.domain(l),a):e.domain()},a.range=function(l){return arguments.length?(e.range((t=Array.from(l,Js)).map(YO)),a):t.slice()},a.rangeRound=function(l){return a.range(l).round(!0)},a.round=function(l){return arguments.length?(r=!!l,a):r},a.clamp=function(l){return arguments.length?(e.clamp(l),a):e.clamp()},a.unknown=function(l){return arguments.length?(n=l,a):n},a.copy=function(){return rk(e.domain(),t).round(r).clamp(e.clamp()).unknown(n)},kr.apply(a,arguments),ci(a)}function nk(){var e=[],t=[],r=[],n;function a(){var u=0,c=Math.max(1,t.length);for(r=new Array(c-1);++u<c;)r[u-1]=BL(e,u/c);return l}function l(u){return u==null||isNaN(u=+u)?n:t[nu(r,u)]}return l.invertExtent=function(u){var c=t.indexOf(u);return c<0?[NaN,NaN]:[c>0?r[c-1]:e[0],c<r.length?r[c]:e[e.length-1]]},l.domain=function(u){if(!arguments.length)return e.slice();e=[];for(let c of u)c!=null&&!isNaN(c=+c)&&e.push(c);return e.sort(ai),a()},l.range=function(u){return arguments.length?(t=Array.from(u),a()):t.slice()},l.unknown=function(u){return arguments.length?(n=u,l):n},l.quantiles=function(){return r.slice()},l.copy=function(){return nk().domain(e).range(t).unknown(n)},kr.apply(l,arguments)}function ik(){var e=0,t=1,r=1,n=[.5],a=[0,1],l;function u(f){return f!=null&&f<=f?a[nu(n,f,0,r)]:l}function c(){var f=-1;for(n=new Array(r);++f<r;)n[f]=((f+1)*t-(f-r)*e)/(r+1);return u}return u.domain=function(f){return arguments.length?([e,t]=f,e=+e,t=+t,c()):[e,t]},u.range=function(f){return arguments.length?(r=(a=Array.from(f)).length-1,c()):a.slice()},u.invertExtent=function(f){var d=a.indexOf(f);return d<0?[NaN,NaN]:d<1?[e,n[0]]:d>=r?[n[r-1],t]:[n[d-1],n[d]]},u.unknown=function(f){return arguments.length&&(l=f),u},u.thresholds=function(){return n.slice()},u.copy=function(){return ik().domain([e,t]).range(a).unknown(l)},kr.apply(ci(u),arguments)}function ak(){var e=[.5],t=[0,1],r,n=1;function a(l){return l!=null&&l<=l?t[nu(e,l,0,n)]:r}return a.domain=function(l){return arguments.length?(e=Array.from(l),n=Math.min(e.length,t.length-1),a):e.slice()},a.range=function(l){return arguments.length?(t=Array.from(l),n=Math.min(e.length,t.length-1),a):t.slice()},a.invertExtent=function(l){var u=t.indexOf(l);return[e[u-1],e[u]]},a.unknown=function(l){return arguments.length?(r=l,a):r},a.copy=function(){return ak().domain(e).range(t).unknown(r)},kr.apply(a,arguments)}const hm=new Date,pm=new Date;function Ot(e,t,r,n){function a(l){return e(l=arguments.length===0?new Date:new Date(+l)),l}return a.floor=l=>(e(l=new Date(+l)),l),a.ceil=l=>(e(l=new Date(l-1)),t(l,1),e(l),l),a.round=l=>{const u=a(l),c=a.ceil(l);return l-u<c-l?u:c},a.offset=(l,u)=>(t(l=new Date(+l),u==null?1:Math.floor(u)),l),a.range=(l,u,c)=>{const f=[];if(l=a.ceil(l),c=c==null?1:Math.floor(c),!(l<u)||!(c>0))return f;let d;do f.push(d=new Date(+l)),t(l,c),e(l);while(d<l&&l<u);return f},a.filter=l=>Ot(u=>{if(u>=u)for(;e(u),!l(u);)u.setTime(u-1)},(u,c)=>{if(u>=u)if(c<0)for(;++c<=0;)for(;t(u,-1),!l(u););else for(;--c>=0;)for(;t(u,1),!l(u););}),r&&(a.count=(l,u)=>(hm.setTime(+l),pm.setTime(+u),e(hm),e(pm),Math.floor(r(hm,pm))),a.every=l=>(l=Math.floor(l),!isFinite(l)||!(l>0)?null:l>1?a.filter(n?u=>n(u)%l===0:u=>a.count(0,u)%l===0):a)),a}const nc=Ot(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);nc.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?Ot(t=>{t.setTime(Math.floor(t/e)*e)},(t,r)=>{t.setTime(+t+r*e)},(t,r)=>(r-t)/e):nc);nc.range;const mn=1e3,Pr=mn*60,yn=Pr*60,Sn=yn*24,c0=Sn*7,QO=Sn*30,vm=Sn*365,Ii=Ot(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*mn)},(e,t)=>(t-e)/mn,e=>e.getUTCSeconds());Ii.range;const f0=Ot(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*mn)},(e,t)=>{e.setTime(+e+t*Pr)},(e,t)=>(t-e)/Pr,e=>e.getMinutes());f0.range;const d0=Ot(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*Pr)},(e,t)=>(t-e)/Pr,e=>e.getUTCMinutes());d0.range;const h0=Ot(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*mn-e.getMinutes()*Pr)},(e,t)=>{e.setTime(+e+t*yn)},(e,t)=>(t-e)/yn,e=>e.getHours());h0.range;const p0=Ot(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*yn)},(e,t)=>(t-e)/yn,e=>e.getUTCHours());p0.range;const ou=Ot(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Pr)/Sn,e=>e.getDate()-1);ou.range;const Yc=Ot(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/Sn,e=>e.getUTCDate()-1);Yc.range;const ok=Ot(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/Sn,e=>Math.floor(e/Sn));ok.range;function Gi(e){return Ot(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,r)=>{t.setDate(t.getDate()+r*7)},(t,r)=>(r-t-(r.getTimezoneOffset()-t.getTimezoneOffset())*Pr)/c0)}const Qc=Gi(0),ic=Gi(1),$3=Gi(2),R3=Gi(3),La=Gi(4),D3=Gi(5),L3=Gi(6);Qc.range;ic.range;$3.range;R3.range;La.range;D3.range;L3.range;function Ki(e){return Ot(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCDate(t.getUTCDate()+r*7)},(t,r)=>(r-t)/c0)}const Zc=Ki(0),ac=Ki(1),B3=Ki(2),q3=Ki(3),Ba=Ki(4),z3=Ki(5),F3=Ki(6);Zc.range;ac.range;B3.range;q3.range;Ba.range;z3.range;F3.range;const v0=Ot(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());v0.range;const m0=Ot(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());m0.range;const _n=Ot(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());_n.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Ot(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,r)=>{t.setFullYear(t.getFullYear()+r*e)});_n.range;const On=Ot(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());On.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Ot(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCFullYear(t.getUTCFullYear()+r*e)});On.range;function lk(e,t,r,n,a,l){const u=[[Ii,1,mn],[Ii,5,5*mn],[Ii,15,15*mn],[Ii,30,30*mn],[l,1,Pr],[l,5,5*Pr],[l,15,15*Pr],[l,30,30*Pr],[a,1,yn],[a,3,3*yn],[a,6,6*yn],[a,12,12*yn],[n,1,Sn],[n,2,2*Sn],[r,1,c0],[t,1,QO],[t,3,3*QO],[e,1,vm]];function c(d,v,p){const g=v<d;g&&([d,v]=[v,d]);const w=p&&typeof p.range=="function"?p:f(d,v,p),_=w?w.range(d,+v+1):[];return g?_.reverse():_}function f(d,v,p){const g=Math.abs(v-d)/p,w=Zg(([,,b])=>b).right(u,g);if(w===u.length)return e.every(My(d/vm,v/vm,p));if(w===0)return nc.every(Math.max(My(d,v,p),1));const[_,S]=u[g/u[w-1][2]<u[w][2]/g?w-1:w];return _.every(S)}return[c,f]}const[U3,W3]=lk(On,m0,Zc,ok,p0,d0),[H3,V3]=lk(_n,v0,Qc,ou,h0,f0);function mm(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function ym(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function el(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}function G3(e){var t=e.dateTime,r=e.date,n=e.time,a=e.periods,l=e.days,u=e.shortDays,c=e.months,f=e.shortMonths,d=tl(a),v=rl(a),p=tl(l),g=rl(l),w=tl(u),_=rl(u),S=tl(c),b=rl(c),O=tl(f),P=rl(f),E={a:te,A:L,b:V,B:Z,c:null,d:nj,e:nj,f:mB,g:PB,G:EB,H:hB,I:pB,j:vB,L:uk,m:yB,M:gB,p:I,q:W,Q:oj,s:lj,S:bB,u:xB,U:wB,V:SB,w:_B,W:OB,x:null,X:null,y:jB,Y:AB,Z:kB,"%":aj},T={a:ue,A:ve,b:we,B:je,c:null,d:ij,e:ij,f:MB,g:UB,G:HB,H:TB,I:CB,j:NB,L:ck,m:IB,M:$B,p:Te,q:Pe,Q:oj,s:lj,S:RB,u:DB,U:LB,V:BB,w:qB,W:zB,x:null,X:null,y:FB,Y:WB,Z:VB,"%":aj},j={a:$,A:R,b:q,B:H,c:X,d:tj,e:tj,f:sB,g:ej,G:JO,H:rj,I:rj,j:aB,L:uB,m:iB,M:oB,p:B,q:nB,Q:fB,s:dB,S:lB,u:Z3,U:J3,V:eB,w:Q3,W:tB,x:Q,X:ee,y:ej,Y:JO,Z:rB,"%":cB};E.x=A(r,E),E.X=A(n,E),E.c=A(t,E),T.x=A(r,T),T.X=A(n,T),T.c=A(t,T);function A(oe,xe){return function(be){var ne=[],De=-1,ke=0,He=oe.length,Ve,ct,$t;for(be instanceof Date||(be=new Date(+be));++De<He;)oe.charCodeAt(De)===37&&(ne.push(oe.slice(ke,De)),(ct=ZO[Ve=oe.charAt(++De)])!=null?Ve=oe.charAt(++De):ct=Ve==="e"?" ":"0",($t=xe[Ve])&&(Ve=$t(be,ct)),ne.push(Ve),ke=De+1);return ne.push(oe.slice(ke,De)),ne.join("")}}function C(oe,xe){return function(be){var ne=el(1900,void 0,1),De=N(ne,oe,be+="",0),ke,He;if(De!=be.length)return null;if("Q"in ne)return new Date(ne.Q);if("s"in ne)return new Date(ne.s*1e3+("L"in ne?ne.L:0));if(xe&&!("Z"in ne)&&(ne.Z=0),"p"in ne&&(ne.H=ne.H%12+ne.p*12),ne.m===void 0&&(ne.m="q"in ne?ne.q:0),"V"in ne){if(ne.V<1||ne.V>53)return null;"w"in ne||(ne.w=1),"Z"in ne?(ke=ym(el(ne.y,0,1)),He=ke.getUTCDay(),ke=He>4||He===0?ac.ceil(ke):ac(ke),ke=Yc.offset(ke,(ne.V-1)*7),ne.y=ke.getUTCFullYear(),ne.m=ke.getUTCMonth(),ne.d=ke.getUTCDate()+(ne.w+6)%7):(ke=mm(el(ne.y,0,1)),He=ke.getDay(),ke=He>4||He===0?ic.ceil(ke):ic(ke),ke=ou.offset(ke,(ne.V-1)*7),ne.y=ke.getFullYear(),ne.m=ke.getMonth(),ne.d=ke.getDate()+(ne.w+6)%7)}else("W"in ne||"U"in ne)&&("w"in ne||(ne.w="u"in ne?ne.u%7:"W"in ne?1:0),He="Z"in ne?ym(el(ne.y,0,1)).getUTCDay():mm(el(ne.y,0,1)).getDay(),ne.m=0,ne.d="W"in ne?(ne.w+6)%7+ne.W*7-(He+5)%7:ne.w+ne.U*7-(He+6)%7);return"Z"in ne?(ne.H+=ne.Z/100|0,ne.M+=ne.Z%100,ym(ne)):mm(ne)}}function N(oe,xe,be,ne){for(var De=0,ke=xe.length,He=be.length,Ve,ct;De<ke;){if(ne>=He)return-1;if(Ve=xe.charCodeAt(De++),Ve===37){if(Ve=xe.charAt(De++),ct=j[Ve in ZO?xe.charAt(De++):Ve],!ct||(ne=ct(oe,be,ne))<0)return-1}else if(Ve!=be.charCodeAt(ne++))return-1}return ne}function B(oe,xe,be){var ne=d.exec(xe.slice(be));return ne?(oe.p=v.get(ne[0].toLowerCase()),be+ne[0].length):-1}function $(oe,xe,be){var ne=w.exec(xe.slice(be));return ne?(oe.w=_.get(ne[0].toLowerCase()),be+ne[0].length):-1}function R(oe,xe,be){var ne=p.exec(xe.slice(be));return ne?(oe.w=g.get(ne[0].toLowerCase()),be+ne[0].length):-1}function q(oe,xe,be){var ne=O.exec(xe.slice(be));return ne?(oe.m=P.get(ne[0].toLowerCase()),be+ne[0].length):-1}function H(oe,xe,be){var ne=S.exec(xe.slice(be));return ne?(oe.m=b.get(ne[0].toLowerCase()),be+ne[0].length):-1}function X(oe,xe,be){return N(oe,t,xe,be)}function Q(oe,xe,be){return N(oe,r,xe,be)}function ee(oe,xe,be){return N(oe,n,xe,be)}function te(oe){return u[oe.getDay()]}function L(oe){return l[oe.getDay()]}function V(oe){return f[oe.getMonth()]}function Z(oe){return c[oe.getMonth()]}function I(oe){return a[+(oe.getHours()>=12)]}function W(oe){return 1+~~(oe.getMonth()/3)}function ue(oe){return u[oe.getUTCDay()]}function ve(oe){return l[oe.getUTCDay()]}function we(oe){return f[oe.getUTCMonth()]}function je(oe){return c[oe.getUTCMonth()]}function Te(oe){return a[+(oe.getUTCHours()>=12)]}function Pe(oe){return 1+~~(oe.getUTCMonth()/3)}return{format:function(oe){var xe=A(oe+="",E);return xe.toString=function(){return oe},xe},parse:function(oe){var xe=C(oe+="",!1);return xe.toString=function(){return oe},xe},utcFormat:function(oe){var xe=A(oe+="",T);return xe.toString=function(){return oe},xe},utcParse:function(oe){var xe=C(oe+="",!0);return xe.toString=function(){return oe},xe}}}var ZO={"-":"",_:" ",0:"0"},Tt=/^\s*\d+/,K3=/^%/,X3=/[\\^$*+?|[\]().{}]/g;function Be(e,t,r){var n=e<0?"-":"",a=(n?-e:e)+"",l=a.length;return n+(l<r?new Array(r-l+1).join(t)+a:a)}function Y3(e){return e.replace(X3,"\\$&")}function tl(e){return new RegExp("^(?:"+e.map(Y3).join("|")+")","i")}function rl(e){return new Map(e.map((t,r)=>[t.toLowerCase(),r]))}function Q3(e,t,r){var n=Tt.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function Z3(e,t,r){var n=Tt.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function J3(e,t,r){var n=Tt.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function eB(e,t,r){var n=Tt.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function tB(e,t,r){var n=Tt.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function JO(e,t,r){var n=Tt.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function ej(e,t,r){var n=Tt.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function rB(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function nB(e,t,r){var n=Tt.exec(t.slice(r,r+1));return n?(e.q=n[0]*3-3,r+n[0].length):-1}function iB(e,t,r){var n=Tt.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function tj(e,t,r){var n=Tt.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function aB(e,t,r){var n=Tt.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function rj(e,t,r){var n=Tt.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function oB(e,t,r){var n=Tt.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function lB(e,t,r){var n=Tt.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function uB(e,t,r){var n=Tt.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function sB(e,t,r){var n=Tt.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function cB(e,t,r){var n=K3.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function fB(e,t,r){var n=Tt.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function dB(e,t,r){var n=Tt.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function nj(e,t){return Be(e.getDate(),t,2)}function hB(e,t){return Be(e.getHours(),t,2)}function pB(e,t){return Be(e.getHours()%12||12,t,2)}function vB(e,t){return Be(1+ou.count(_n(e),e),t,3)}function uk(e,t){return Be(e.getMilliseconds(),t,3)}function mB(e,t){return uk(e,t)+"000"}function yB(e,t){return Be(e.getMonth()+1,t,2)}function gB(e,t){return Be(e.getMinutes(),t,2)}function bB(e,t){return Be(e.getSeconds(),t,2)}function xB(e){var t=e.getDay();return t===0?7:t}function wB(e,t){return Be(Qc.count(_n(e)-1,e),t,2)}function sk(e){var t=e.getDay();return t>=4||t===0?La(e):La.ceil(e)}function SB(e,t){return e=sk(e),Be(La.count(_n(e),e)+(_n(e).getDay()===4),t,2)}function _B(e){return e.getDay()}function OB(e,t){return Be(ic.count(_n(e)-1,e),t,2)}function jB(e,t){return Be(e.getFullYear()%100,t,2)}function PB(e,t){return e=sk(e),Be(e.getFullYear()%100,t,2)}function AB(e,t){return Be(e.getFullYear()%1e4,t,4)}function EB(e,t){var r=e.getDay();return e=r>=4||r===0?La(e):La.ceil(e),Be(e.getFullYear()%1e4,t,4)}function kB(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Be(t/60|0,"0",2)+Be(t%60,"0",2)}function ij(e,t){return Be(e.getUTCDate(),t,2)}function TB(e,t){return Be(e.getUTCHours(),t,2)}function CB(e,t){return Be(e.getUTCHours()%12||12,t,2)}function NB(e,t){return Be(1+Yc.count(On(e),e),t,3)}function ck(e,t){return Be(e.getUTCMilliseconds(),t,3)}function MB(e,t){return ck(e,t)+"000"}function IB(e,t){return Be(e.getUTCMonth()+1,t,2)}function $B(e,t){return Be(e.getUTCMinutes(),t,2)}function RB(e,t){return Be(e.getUTCSeconds(),t,2)}function DB(e){var t=e.getUTCDay();return t===0?7:t}function LB(e,t){return Be(Zc.count(On(e)-1,e),t,2)}function fk(e){var t=e.getUTCDay();return t>=4||t===0?Ba(e):Ba.ceil(e)}function BB(e,t){return e=fk(e),Be(Ba.count(On(e),e)+(On(e).getUTCDay()===4),t,2)}function qB(e){return e.getUTCDay()}function zB(e,t){return Be(ac.count(On(e)-1,e),t,2)}function FB(e,t){return Be(e.getUTCFullYear()%100,t,2)}function UB(e,t){return e=fk(e),Be(e.getUTCFullYear()%100,t,2)}function WB(e,t){return Be(e.getUTCFullYear()%1e4,t,4)}function HB(e,t){var r=e.getUTCDay();return e=r>=4||r===0?Ba(e):Ba.ceil(e),Be(e.getUTCFullYear()%1e4,t,4)}function VB(){return"+0000"}function aj(){return"%"}function oj(e){return+e}function lj(e){return Math.floor(+e/1e3)}var wa,dk,hk;GB({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function GB(e){return wa=G3(e),dk=wa.format,wa.parse,hk=wa.utcFormat,wa.utcParse,wa}function KB(e){return new Date(e)}function XB(e){return e instanceof Date?+e:+new Date(+e)}function y0(e,t,r,n,a,l,u,c,f,d){var v=n0(),p=v.invert,g=v.domain,w=d(".%L"),_=d(":%S"),S=d("%I:%M"),b=d("%I %p"),O=d("%a %d"),P=d("%b %d"),E=d("%B"),T=d("%Y");function j(A){return(f(A)<A?w:c(A)<A?_:u(A)<A?S:l(A)<A?b:n(A)<A?a(A)<A?O:P:r(A)<A?E:T)(A)}return v.invert=function(A){return new Date(p(A))},v.domain=function(A){return arguments.length?g(Array.from(A,XB)):g().map(KB)},v.ticks=function(A){var C=g();return e(C[0],C[C.length-1],A??10)},v.tickFormat=function(A,C){return C==null?j:d(C)},v.nice=function(A){var C=g();return(!A||typeof A.range!="function")&&(A=t(C[0],C[C.length-1],A??10)),A?g(JE(C,A)):v},v.copy=function(){return au(v,y0(e,t,r,n,a,l,u,c,f,d))},v}function YB(){return kr.apply(y0(H3,V3,_n,v0,Qc,ou,h0,f0,Ii,dk).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function QB(){return kr.apply(y0(U3,W3,On,m0,Zc,Yc,p0,d0,Ii,hk).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function Jc(){var e=0,t=1,r,n,a,l,u=Yt,c=!1,f;function d(p){return p==null||isNaN(p=+p)?f:u(a===0?.5:(p=(l(p)-r)*a,c?Math.max(0,Math.min(1,p)):p))}d.domain=function(p){return arguments.length?([e,t]=p,r=l(e=+e),n=l(t=+t),a=r===n?0:1/(n-r),d):[e,t]},d.clamp=function(p){return arguments.length?(c=!!p,d):c},d.interpolator=function(p){return arguments.length?(u=p,d):u};function v(p){return function(g){var w,_;return arguments.length?([w,_]=g,u=p(w,_),d):[u(0),u(1)]}}return d.range=v(lo),d.rangeRound=v(r0),d.unknown=function(p){return arguments.length?(f=p,d):f},function(p){return l=p,r=p(e),n=p(t),a=r===n?0:1/(n-r),d}}function fi(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function pk(){var e=ci(Jc()(Yt));return e.copy=function(){return fi(e,pk())},En.apply(e,arguments)}function vk(){var e=o0(Jc()).domain([1,10]);return e.copy=function(){return fi(e,vk()).base(e.base())},En.apply(e,arguments)}function mk(){var e=l0(Jc());return e.copy=function(){return fi(e,mk()).constant(e.constant())},En.apply(e,arguments)}function g0(){var e=u0(Jc());return e.copy=function(){return fi(e,g0()).exponent(e.exponent())},En.apply(e,arguments)}function ZB(){return g0.apply(null,arguments).exponent(.5)}function yk(){var e=[],t=Yt;function r(n){if(n!=null&&!isNaN(n=+n))return t((nu(e,n,1)-1)/(e.length-1))}return r.domain=function(n){if(!arguments.length)return e.slice();e=[];for(let a of n)a!=null&&!isNaN(a=+a)&&e.push(a);return e.sort(ai),r},r.interpolator=function(n){return arguments.length?(t=n,r):t},r.range=function(){return e.map((n,a)=>t(a/(e.length-1)))},r.quantiles=function(n){return Array.from({length:n+1},(a,l)=>LL(e,l/n))},r.copy=function(){return yk(t).domain(e)},En.apply(r,arguments)}function ef(){var e=0,t=.5,r=1,n=1,a,l,u,c,f,d=Yt,v,p=!1,g;function w(S){return isNaN(S=+S)?g:(S=.5+((S=+v(S))-l)*(n*S<n*l?c:f),d(p?Math.max(0,Math.min(1,S)):S))}w.domain=function(S){return arguments.length?([e,t,r]=S,a=v(e=+e),l=v(t=+t),u=v(r=+r),c=a===l?0:.5/(l-a),f=l===u?0:.5/(u-l),n=l<a?-1:1,w):[e,t,r]},w.clamp=function(S){return arguments.length?(p=!!S,w):p},w.interpolator=function(S){return arguments.length?(d=S,w):d};function _(S){return function(b){var O,P,E;return arguments.length?([O,P,E]=b,d=c3(S,[O,P,E]),w):[d(0),d(.5),d(1)]}}return w.range=_(lo),w.rangeRound=_(r0),w.unknown=function(S){return arguments.length?(g=S,w):g},function(S){return v=S,a=S(e),l=S(t),u=S(r),c=a===l?0:.5/(l-a),f=l===u?0:.5/(u-l),n=l<a?-1:1,w}}function gk(){var e=ci(ef()(Yt));return e.copy=function(){return fi(e,gk())},En.apply(e,arguments)}function bk(){var e=o0(ef()).domain([.1,1,10]);return e.copy=function(){return fi(e,bk()).base(e.base())},En.apply(e,arguments)}function xk(){var e=l0(ef());return e.copy=function(){return fi(e,xk()).constant(e.constant())},En.apply(e,arguments)}function b0(){var e=u0(ef());return e.copy=function(){return fi(e,b0()).exponent(e.exponent())},En.apply(e,arguments)}function JB(){return b0.apply(null,arguments).exponent(.5)}const uj=Object.freeze(Object.defineProperty({__proto__:null,scaleBand:Ol,scaleDiverging:gk,scaleDivergingLog:bk,scaleDivergingPow:b0,scaleDivergingSqrt:JB,scaleDivergingSymlog:xk,scaleIdentity:ZE,scaleImplicit:Iy,scaleLinear:rc,scaleLog:ek,scaleOrdinal:Jg,scalePoint:fl,scalePow:s0,scaleQuantile:nk,scaleQuantize:ik,scaleRadial:rk,scaleSequential:pk,scaleSequentialLog:vk,scaleSequentialPow:g0,scaleSequentialQuantile:yk,scaleSequentialSqrt:ZB,scaleSequentialSymlog:mk,scaleSqrt:M3,scaleSymlog:tk,scaleThreshold:ak,scaleTime:YB,scaleUtc:QB,tickFormat:QE},Symbol.toStringTag,{value:"Module"}));var gm,sj;function wk(){if(sj)return gm;sj=1;var e=ro();function t(r,n,a){for(var l=-1,u=r.length;++l<u;){var c=r[l],f=n(c);if(f!=null&&(d===void 0?f===f&&!e(f):a(f,d)))var d=f,v=c}return v}return gm=t,gm}var bm,cj;function eq(){if(cj)return bm;cj=1;function e(t,r){return t>r}return bm=e,bm}var xm,fj;function tq(){if(fj)return xm;fj=1;var e=wk(),t=eq(),r=ao();function n(a){return a&&a.length?e(a,r,t):void 0}return xm=n,xm}var rq=tq();const ri=We(rq);var wm,dj;function nq(){if(dj)return wm;dj=1;function e(t,r){return t<r}return wm=e,wm}var Sm,hj;function iq(){if(hj)return Sm;hj=1;var e=wk(),t=nq(),r=ao();function n(a){return a&&a.length?e(a,r,t):void 0}return Sm=n,Sm}var aq=iq();const tf=We(aq);var _m,pj;function oq(){if(pj)return _m;pj=1;var e=$g(),t=si(),r=kE(),n=ir();function a(l,u){var c=n(l)?e:r;return c(l,t(u,3))}return _m=a,_m}var Om,vj;function lq(){if(vj)return Om;vj=1;var e=AE(),t=oq();function r(n,a){return e(t(n,a),1)}return Om=r,Om}var uq=lq();const sq=We(uq);var jm,mj;function cq(){if(mj)return jm;mj=1;var e=Kg();function t(r,n){return e(r,n)}return jm=t,jm}var fq=cq();const kl=We(fq);var uo=1e9,dq={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},w0,nt=!0,Er="[DecimalError] ",Bi=Er+"Invalid argument: ",x0=Er+"Exponent out of range: ",so=Math.floor,Ci=Math.pow,hq=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,dr,kt=1e7,et=7,Sk=9007199254740991,oc=so(Sk/et),pe={};pe.absoluteValue=pe.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e};pe.comparedTo=pe.cmp=function(e){var t,r,n,a,l=this;if(e=new l.constructor(e),l.s!==e.s)return l.s||-e.s;if(l.e!==e.e)return l.e>e.e^l.s<0?1:-1;for(n=l.d.length,a=e.d.length,t=0,r=n<a?n:a;t<r;++t)if(l.d[t]!==e.d[t])return l.d[t]>e.d[t]^l.s<0?1:-1;return n===a?0:n>a^l.s<0?1:-1};pe.decimalPlaces=pe.dp=function(){var e=this,t=e.d.length-1,r=(t-e.e)*et;if(t=e.d[t],t)for(;t%10==0;t/=10)r--;return r<0?0:r};pe.dividedBy=pe.div=function(e){return wn(this,new this.constructor(e))};pe.dividedToIntegerBy=pe.idiv=function(e){var t=this,r=t.constructor;return Ke(wn(t,new r(e),0,1),r.precision)};pe.equals=pe.eq=function(e){return!this.cmp(e)};pe.exponent=function(){return mt(this)};pe.greaterThan=pe.gt=function(e){return this.cmp(e)>0};pe.greaterThanOrEqualTo=pe.gte=function(e){return this.cmp(e)>=0};pe.isInteger=pe.isint=function(){return this.e>this.d.length-2};pe.isNegative=pe.isneg=function(){return this.s<0};pe.isPositive=pe.ispos=function(){return this.s>0};pe.isZero=function(){return this.s===0};pe.lessThan=pe.lt=function(e){return this.cmp(e)<0};pe.lessThanOrEqualTo=pe.lte=function(e){return this.cmp(e)<1};pe.logarithm=pe.log=function(e){var t,r=this,n=r.constructor,a=n.precision,l=a+5;if(e===void 0)e=new n(10);else if(e=new n(e),e.s<1||e.eq(dr))throw Error(Er+"NaN");if(r.s<1)throw Error(Er+(r.s?"NaN":"-Infinity"));return r.eq(dr)?new n(0):(nt=!1,t=wn(Tl(r,l),Tl(e,l),l),nt=!0,Ke(t,a))};pe.minus=pe.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?jk(t,e):_k(t,(e.s=-e.s,e))};pe.modulo=pe.mod=function(e){var t,r=this,n=r.constructor,a=n.precision;if(e=new n(e),!e.s)throw Error(Er+"NaN");return r.s?(nt=!1,t=wn(r,e,0,1).times(e),nt=!0,r.minus(t)):Ke(new n(r),a)};pe.naturalExponential=pe.exp=function(){return Ok(this)};pe.naturalLogarithm=pe.ln=function(){return Tl(this)};pe.negated=pe.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e};pe.plus=pe.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?_k(t,e):jk(t,(e.s=-e.s,e))};pe.precision=pe.sd=function(e){var t,r,n,a=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(Bi+e);if(t=mt(a)+1,n=a.d.length-1,r=n*et+1,n=a.d[n],n){for(;n%10==0;n/=10)r--;for(n=a.d[0];n>=10;n/=10)r++}return e&&t>r?t:r};pe.squareRoot=pe.sqrt=function(){var e,t,r,n,a,l,u,c=this,f=c.constructor;if(c.s<1){if(!c.s)return new f(0);throw Error(Er+"NaN")}for(e=mt(c),nt=!1,a=Math.sqrt(+c),a==0||a==1/0?(t=Qr(c.d),(t.length+e)%2==0&&(t+="0"),a=Math.sqrt(t),e=so((e+1)/2)-(e<0||e%2),a==1/0?t="5e"+e:(t=a.toExponential(),t=t.slice(0,t.indexOf("e")+1)+e),n=new f(t)):n=new f(a.toString()),r=f.precision,a=u=r+3;;)if(l=n,n=l.plus(wn(c,l,u+2)).times(.5),Qr(l.d).slice(0,u)===(t=Qr(n.d)).slice(0,u)){if(t=t.slice(u-3,u+1),a==u&&t=="4999"){if(Ke(l,r+1,0),l.times(l).eq(c)){n=l;break}}else if(t!="9999")break;u+=4}return nt=!0,Ke(n,r)};pe.times=pe.mul=function(e){var t,r,n,a,l,u,c,f,d,v=this,p=v.constructor,g=v.d,w=(e=new p(e)).d;if(!v.s||!e.s)return new p(0);for(e.s*=v.s,r=v.e+e.e,f=g.length,d=w.length,f<d&&(l=g,g=w,w=l,u=f,f=d,d=u),l=[],u=f+d,n=u;n--;)l.push(0);for(n=d;--n>=0;){for(t=0,a=f+n;a>n;)c=l[a]+w[n]*g[a-n-1]+t,l[a--]=c%kt|0,t=c/kt|0;l[a]=(l[a]+t)%kt|0}for(;!l[--u];)l.pop();return t?++r:l.shift(),e.d=l,e.e=r,nt?Ke(e,p.precision):e};pe.toDecimalPlaces=pe.todp=function(e,t){var r=this,n=r.constructor;return r=new n(r),e===void 0?r:(tn(e,0,uo),t===void 0?t=n.rounding:tn(t,0,8),Ke(r,e+mt(r)+1,t))};pe.toExponential=function(e,t){var r,n=this,a=n.constructor;return e===void 0?r=Fi(n,!0):(tn(e,0,uo),t===void 0?t=a.rounding:tn(t,0,8),n=Ke(new a(n),e+1,t),r=Fi(n,!0,e+1)),r};pe.toFixed=function(e,t){var r,n,a=this,l=a.constructor;return e===void 0?Fi(a):(tn(e,0,uo),t===void 0?t=l.rounding:tn(t,0,8),n=Ke(new l(a),e+mt(a)+1,t),r=Fi(n.abs(),!1,e+mt(n)+1),a.isneg()&&!a.isZero()?"-"+r:r)};pe.toInteger=pe.toint=function(){var e=this,t=e.constructor;return Ke(new t(e),mt(e)+1,t.rounding)};pe.toNumber=function(){return+this};pe.toPower=pe.pow=function(e){var t,r,n,a,l,u,c=this,f=c.constructor,d=12,v=+(e=new f(e));if(!e.s)return new f(dr);if(c=new f(c),!c.s){if(e.s<1)throw Error(Er+"Infinity");return c}if(c.eq(dr))return c;if(n=f.precision,e.eq(dr))return Ke(c,n);if(t=e.e,r=e.d.length-1,u=t>=r,l=c.s,u){if((r=v<0?-v:v)<=Sk){for(a=new f(dr),t=Math.ceil(n/et+4),nt=!1;r%2&&(a=a.times(c),gj(a.d,t)),r=so(r/2),r!==0;)c=c.times(c),gj(c.d,t);return nt=!0,e.s<0?new f(dr).div(a):Ke(a,n)}}else if(l<0)throw Error(Er+"NaN");return l=l<0&&e.d[Math.max(t,r)]&1?-1:1,c.s=1,nt=!1,a=e.times(Tl(c,n+d)),nt=!0,a=Ok(a),a.s=l,a};pe.toPrecision=function(e,t){var r,n,a=this,l=a.constructor;return e===void 0?(r=mt(a),n=Fi(a,r<=l.toExpNeg||r>=l.toExpPos)):(tn(e,1,uo),t===void 0?t=l.rounding:tn(t,0,8),a=Ke(new l(a),e,t),r=mt(a),n=Fi(a,e<=r||r<=l.toExpNeg,e)),n};pe.toSignificantDigits=pe.tosd=function(e,t){var r=this,n=r.constructor;return e===void 0?(e=n.precision,t=n.rounding):(tn(e,1,uo),t===void 0?t=n.rounding:tn(t,0,8)),Ke(new n(r),e,t)};pe.toString=pe.valueOf=pe.val=pe.toJSON=pe[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=mt(e),r=e.constructor;return Fi(e,t<=r.toExpNeg||t>=r.toExpPos)};function _k(e,t){var r,n,a,l,u,c,f,d,v=e.constructor,p=v.precision;if(!e.s||!t.s)return t.s||(t=new v(e)),nt?Ke(t,p):t;if(f=e.d,d=t.d,u=e.e,a=t.e,f=f.slice(),l=u-a,l){for(l<0?(n=f,l=-l,c=d.length):(n=d,a=u,c=f.length),u=Math.ceil(p/et),c=u>c?u+1:c+1,l>c&&(l=c,n.length=1),n.reverse();l--;)n.push(0);n.reverse()}for(c=f.length,l=d.length,c-l<0&&(l=c,n=d,d=f,f=n),r=0;l;)r=(f[--l]=f[l]+d[l]+r)/kt|0,f[l]%=kt;for(r&&(f.unshift(r),++a),c=f.length;f[--c]==0;)f.pop();return t.d=f,t.e=a,nt?Ke(t,p):t}function tn(e,t,r){if(e!==~~e||e<t||e>r)throw Error(Bi+e)}function Qr(e){var t,r,n,a=e.length-1,l="",u=e[0];if(a>0){for(l+=u,t=1;t<a;t++)n=e[t]+"",r=et-n.length,r&&(l+=Zn(r)),l+=n;u=e[t],n=u+"",r=et-n.length,r&&(l+=Zn(r))}else if(u===0)return"0";for(;u%10===0;)u/=10;return l+u}var wn=(function(){function e(n,a){var l,u=0,c=n.length;for(n=n.slice();c--;)l=n[c]*a+u,n[c]=l%kt|0,u=l/kt|0;return u&&n.unshift(u),n}function t(n,a,l,u){var c,f;if(l!=u)f=l>u?1:-1;else for(c=f=0;c<l;c++)if(n[c]!=a[c]){f=n[c]>a[c]?1:-1;break}return f}function r(n,a,l){for(var u=0;l--;)n[l]-=u,u=n[l]<a[l]?1:0,n[l]=u*kt+n[l]-a[l];for(;!n[0]&&n.length>1;)n.shift()}return function(n,a,l,u){var c,f,d,v,p,g,w,_,S,b,O,P,E,T,j,A,C,N,B=n.constructor,$=n.s==a.s?1:-1,R=n.d,q=a.d;if(!n.s)return new B(n);if(!a.s)throw Error(Er+"Division by zero");for(f=n.e-a.e,C=q.length,j=R.length,w=new B($),_=w.d=[],d=0;q[d]==(R[d]||0);)++d;if(q[d]>(R[d]||0)&&--f,l==null?P=l=B.precision:u?P=l+(mt(n)-mt(a))+1:P=l,P<0)return new B(0);if(P=P/et+2|0,d=0,C==1)for(v=0,q=q[0],P++;(d<j||v)&&P--;d++)E=v*kt+(R[d]||0),_[d]=E/q|0,v=E%q|0;else{for(v=kt/(q[0]+1)|0,v>1&&(q=e(q,v),R=e(R,v),C=q.length,j=R.length),T=C,S=R.slice(0,C),b=S.length;b<C;)S[b++]=0;N=q.slice(),N.unshift(0),A=q[0],q[1]>=kt/2&&++A;do v=0,c=t(q,S,C,b),c<0?(O=S[0],C!=b&&(O=O*kt+(S[1]||0)),v=O/A|0,v>1?(v>=kt&&(v=kt-1),p=e(q,v),g=p.length,b=S.length,c=t(p,S,g,b),c==1&&(v--,r(p,C<g?N:q,g))):(v==0&&(c=v=1),p=q.slice()),g=p.length,g<b&&p.unshift(0),r(S,p,b),c==-1&&(b=S.length,c=t(q,S,C,b),c<1&&(v++,r(S,C<b?N:q,b))),b=S.length):c===0&&(v++,S=[0]),_[d++]=v,c&&S[0]?S[b++]=R[T]||0:(S=[R[T]],b=1);while((T++<j||S[0]!==void 0)&&P--)}return _[0]||_.shift(),w.e=f,Ke(w,u?l+mt(w)+1:l)}})();function Ok(e,t){var r,n,a,l,u,c,f=0,d=0,v=e.constructor,p=v.precision;if(mt(e)>16)throw Error(x0+mt(e));if(!e.s)return new v(dr);for(nt=!1,c=p,u=new v(.03125);e.abs().gte(.1);)e=e.times(u),d+=5;for(n=Math.log(Ci(2,d))/Math.LN10*2+5|0,c+=n,r=a=l=new v(dr),v.precision=c;;){if(a=Ke(a.times(e),c),r=r.times(++f),u=l.plus(wn(a,r,c)),Qr(u.d).slice(0,c)===Qr(l.d).slice(0,c)){for(;d--;)l=Ke(l.times(l),c);return v.precision=p,t==null?(nt=!0,Ke(l,p)):l}l=u}}function mt(e){for(var t=e.e*et,r=e.d[0];r>=10;r/=10)t++;return t}function Pm(e,t,r){if(t>e.LN10.sd())throw nt=!0,r&&(e.precision=r),Error(Er+"LN10 precision limit exceeded");return Ke(new e(e.LN10),t)}function Zn(e){for(var t="";e--;)t+="0";return t}function Tl(e,t){var r,n,a,l,u,c,f,d,v,p=1,g=10,w=e,_=w.d,S=w.constructor,b=S.precision;if(w.s<1)throw Error(Er+(w.s?"NaN":"-Infinity"));if(w.eq(dr))return new S(0);if(t==null?(nt=!1,d=b):d=t,w.eq(10))return t==null&&(nt=!0),Pm(S,d);if(d+=g,S.precision=d,r=Qr(_),n=r.charAt(0),l=mt(w),Math.abs(l)<15e14){for(;n<7&&n!=1||n==1&&r.charAt(1)>3;)w=w.times(e),r=Qr(w.d),n=r.charAt(0),p++;l=mt(w),n>1?(w=new S("0."+r),l++):w=new S(n+"."+r.slice(1))}else return f=Pm(S,d+2,b).times(l+""),w=Tl(new S(n+"."+r.slice(1)),d-g).plus(f),S.precision=b,t==null?(nt=!0,Ke(w,b)):w;for(c=u=w=wn(w.minus(dr),w.plus(dr),d),v=Ke(w.times(w),d),a=3;;){if(u=Ke(u.times(v),d),f=c.plus(wn(u,new S(a),d)),Qr(f.d).slice(0,d)===Qr(c.d).slice(0,d))return c=c.times(2),l!==0&&(c=c.plus(Pm(S,d+2,b).times(l+""))),c=wn(c,new S(p),d),S.precision=b,t==null?(nt=!0,Ke(c,b)):c;c=f,a+=2}}function yj(e,t){var r,n,a;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;t.charCodeAt(n)===48;)++n;for(a=t.length;t.charCodeAt(a-1)===48;)--a;if(t=t.slice(n,a),t){if(a-=n,r=r-n-1,e.e=so(r/et),e.d=[],n=(r+1)%et,r<0&&(n+=et),n<a){for(n&&e.d.push(+t.slice(0,n)),a-=et;n<a;)e.d.push(+t.slice(n,n+=et));t=t.slice(n),n=et-t.length}else n-=a;for(;n--;)t+="0";if(e.d.push(+t),nt&&(e.e>oc||e.e<-oc))throw Error(x0+r)}else e.s=0,e.e=0,e.d=[0];return e}function Ke(e,t,r){var n,a,l,u,c,f,d,v,p=e.d;for(u=1,l=p[0];l>=10;l/=10)u++;if(n=t-u,n<0)n+=et,a=t,d=p[v=0];else{if(v=Math.ceil((n+1)/et),l=p.length,v>=l)return e;for(d=l=p[v],u=1;l>=10;l/=10)u++;n%=et,a=n-et+u}if(r!==void 0&&(l=Ci(10,u-a-1),c=d/l%10|0,f=t<0||p[v+1]!==void 0||d%l,f=r<4?(c||f)&&(r==0||r==(e.s<0?3:2)):c>5||c==5&&(r==4||f||r==6&&(n>0?a>0?d/Ci(10,u-a):0:p[v-1])%10&1||r==(e.s<0?8:7))),t<1||!p[0])return f?(l=mt(e),p.length=1,t=t-l-1,p[0]=Ci(10,(et-t%et)%et),e.e=so(-t/et)||0):(p.length=1,p[0]=e.e=e.s=0),e;if(n==0?(p.length=v,l=1,v--):(p.length=v+1,l=Ci(10,et-n),p[v]=a>0?(d/Ci(10,u-a)%Ci(10,a)|0)*l:0),f)for(;;)if(v==0){(p[0]+=l)==kt&&(p[0]=1,++e.e);break}else{if(p[v]+=l,p[v]!=kt)break;p[v--]=0,l=1}for(n=p.length;p[--n]===0;)p.pop();if(nt&&(e.e>oc||e.e<-oc))throw Error(x0+mt(e));return e}function jk(e,t){var r,n,a,l,u,c,f,d,v,p,g=e.constructor,w=g.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new g(e),nt?Ke(t,w):t;if(f=e.d,p=t.d,n=t.e,d=e.e,f=f.slice(),u=d-n,u){for(v=u<0,v?(r=f,u=-u,c=p.length):(r=p,n=d,c=f.length),a=Math.max(Math.ceil(w/et),c)+2,u>a&&(u=a,r.length=1),r.reverse(),a=u;a--;)r.push(0);r.reverse()}else{for(a=f.length,c=p.length,v=a<c,v&&(c=a),a=0;a<c;a++)if(f[a]!=p[a]){v=f[a]<p[a];break}u=0}for(v&&(r=f,f=p,p=r,t.s=-t.s),c=f.length,a=p.length-c;a>0;--a)f[c++]=0;for(a=p.length;a>u;){if(f[--a]<p[a]){for(l=a;l&&f[--l]===0;)f[l]=kt-1;--f[l],f[a]+=kt}f[a]-=p[a]}for(;f[--c]===0;)f.pop();for(;f[0]===0;f.shift())--n;return f[0]?(t.d=f,t.e=n,nt?Ke(t,w):t):new g(0)}function Fi(e,t,r){var n,a=mt(e),l=Qr(e.d),u=l.length;return t?(r&&(n=r-u)>0?l=l.charAt(0)+"."+l.slice(1)+Zn(n):u>1&&(l=l.charAt(0)+"."+l.slice(1)),l=l+(a<0?"e":"e+")+a):a<0?(l="0."+Zn(-a-1)+l,r&&(n=r-u)>0&&(l+=Zn(n))):a>=u?(l+=Zn(a+1-u),r&&(n=r-a-1)>0&&(l=l+"."+Zn(n))):((n=a+1)<u&&(l=l.slice(0,n)+"."+l.slice(n)),r&&(n=r-u)>0&&(a+1===u&&(l+="."),l+=Zn(n))),e.s<0?"-"+l:l}function gj(e,t){if(e.length>t)return e.length=t,!0}function Pk(e){var t,r,n;function a(l){var u=this;if(!(u instanceof a))return new a(l);if(u.constructor=a,l instanceof a){u.s=l.s,u.e=l.e,u.d=(l=l.d)?l.slice():l;return}if(typeof l=="number"){if(l*0!==0)throw Error(Bi+l);if(l>0)u.s=1;else if(l<0)l=-l,u.s=-1;else{u.s=0,u.e=0,u.d=[0];return}if(l===~~l&&l<1e7){u.e=0,u.d=[l];return}return yj(u,l.toString())}else if(typeof l!="string")throw Error(Bi+l);if(l.charCodeAt(0)===45?(l=l.slice(1),u.s=-1):u.s=1,hq.test(l))yj(u,l);else throw Error(Bi+l)}if(a.prototype=pe,a.ROUND_UP=0,a.ROUND_DOWN=1,a.ROUND_CEIL=2,a.ROUND_FLOOR=3,a.ROUND_HALF_UP=4,a.ROUND_HALF_DOWN=5,a.ROUND_HALF_EVEN=6,a.ROUND_HALF_CEIL=7,a.ROUND_HALF_FLOOR=8,a.clone=Pk,a.config=a.set=pq,e===void 0&&(e={}),e)for(n=["precision","rounding","toExpNeg","toExpPos","LN10"],t=0;t<n.length;)e.hasOwnProperty(r=n[t++])||(e[r]=this[r]);return a.config(e),a}function pq(e){if(!e||typeof e!="object")throw Error(Er+"Object expected");var t,r,n,a=["precision",1,uo,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<a.length;t+=3)if((n=e[r=a[t]])!==void 0)if(so(n)===n&&n>=a[t+1]&&n<=a[t+2])this[r]=n;else throw Error(Bi+r+": "+n);if((n=e[r="LN10"])!==void 0)if(n==Math.LN10)this[r]=new this(n);else throw Error(Bi+r+": "+n);return this}var w0=Pk(dq);dr=new w0(1);const Ue=w0;function vq(e){return bq(e)||gq(e)||yq(e)||mq()}function mq(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
202
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yq(e,t){if(e){if(typeof e=="string")return Ly(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ly(e,t)}}function gq(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function bq(e){if(Array.isArray(e))return Ly(e)}function Ly(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var xq=function(t){return t},Ak={},Ek=function(t){return t===Ak},bj=function(t){return function r(){return arguments.length===0||arguments.length===1&&Ek(arguments.length<=0?void 0:arguments[0])?r:t.apply(void 0,arguments)}},wq=function e(t,r){return t===1?r:bj(function(){for(var n=arguments.length,a=new Array(n),l=0;l<n;l++)a[l]=arguments[l];var u=a.filter(function(c){return c!==Ak}).length;return u>=t?r.apply(void 0,a):e(t-u,bj(function(){for(var c=arguments.length,f=new Array(c),d=0;d<c;d++)f[d]=arguments[d];var v=a.map(function(p){return Ek(p)?f.shift():p});return r.apply(void 0,vq(v).concat(f))}))})},rf=function(t){return wq(t.length,t)},By=function(t,r){for(var n=[],a=t;a<r;++a)n[a-t]=a;return n},Sq=rf(function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map(function(r){return t[r]}).map(e)}),_q=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];if(!r.length)return xq;var a=r.reverse(),l=a[0],u=a.slice(1);return function(){return u.reduce(function(c,f){return f(c)},l.apply(void 0,arguments))}},qy=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},kk=function(t){var r=null,n=null;return function(){for(var a=arguments.length,l=new Array(a),u=0;u<a;u++)l[u]=arguments[u];return r&&l.every(function(c,f){return c===r[f]})||(r=l,n=t.apply(void 0,l)),n}};function Oq(e){var t;return e===0?t=1:t=Math.floor(new Ue(e).abs().log(10).toNumber())+1,t}function jq(e,t,r){for(var n=new Ue(e),a=0,l=[];n.lt(t)&&a<1e5;)l.push(n.toNumber()),n=n.add(r),a++;return l}var Pq=rf(function(e,t,r){var n=+e,a=+t;return n+r*(a-n)}),Aq=rf(function(e,t,r){var n=t-+e;return n=n||1/0,(r-e)/n}),Eq=rf(function(e,t,r){var n=t-+e;return n=n||1/0,Math.max(0,Math.min(1,(r-e)/n))});const nf={rangeStep:jq,getDigitCount:Oq,interpolateNumber:Pq,uninterpolateNumber:Aq,uninterpolateTruncation:Eq};function zy(e){return Cq(e)||Tq(e)||Tk(e)||kq()}function kq(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
203
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Tq(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function Cq(e){if(Array.isArray(e))return Fy(e)}function Cl(e,t){return Iq(e)||Mq(e,t)||Tk(e,t)||Nq()}function Nq(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
204
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Tk(e,t){if(e){if(typeof e=="string")return Fy(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Fy(e,t)}}function Fy(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Mq(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var r=[],n=!0,a=!1,l=void 0;try{for(var u=e[Symbol.iterator](),c;!(n=(c=u.next()).done)&&(r.push(c.value),!(t&&r.length===t));n=!0);}catch(f){a=!0,l=f}finally{try{!n&&u.return!=null&&u.return()}finally{if(a)throw l}}return r}}function Iq(e){if(Array.isArray(e))return e}function Ck(e){var t=Cl(e,2),r=t[0],n=t[1],a=r,l=n;return r>n&&(a=n,l=r),[a,l]}function Nk(e,t,r){if(e.lte(0))return new Ue(0);var n=nf.getDigitCount(e.toNumber()),a=new Ue(10).pow(n),l=e.div(a),u=n!==1?.05:.1,c=new Ue(Math.ceil(l.div(u).toNumber())).add(r).mul(u),f=c.mul(a);return t?f:new Ue(Math.ceil(f))}function $q(e,t,r){var n=1,a=new Ue(e);if(!a.isint()&&r){var l=Math.abs(e);l<1?(n=new Ue(10).pow(nf.getDigitCount(e)-1),a=new Ue(Math.floor(a.div(n).toNumber())).mul(n)):l>1&&(a=new Ue(Math.floor(e)))}else e===0?a=new Ue(Math.floor((t-1)/2)):r||(a=new Ue(Math.floor(e)));var u=Math.floor((t-1)/2),c=_q(Sq(function(f){return a.add(new Ue(f-u).mul(n)).toNumber()}),By);return c(0,t)}function Mk(e,t,r,n){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;if(!Number.isFinite((t-e)/(r-1)))return{step:new Ue(0),tickMin:new Ue(0),tickMax:new Ue(0)};var l=Nk(new Ue(t).sub(e).div(r-1),n,a),u;e<=0&&t>=0?u=new Ue(0):(u=new Ue(e).add(t).div(2),u=u.sub(new Ue(u).mod(l)));var c=Math.ceil(u.sub(e).div(l).toNumber()),f=Math.ceil(new Ue(t).sub(u).div(l).toNumber()),d=c+f+1;return d>r?Mk(e,t,r,n,a+1):(d<r&&(f=t>0?f+(r-d):f,c=t>0?c:c+(r-d)),{step:l,tickMin:u.sub(new Ue(c).mul(l)),tickMax:u.add(new Ue(f).mul(l))})}function Rq(e){var t=Cl(e,2),r=t[0],n=t[1],a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,u=Math.max(a,2),c=Ck([r,n]),f=Cl(c,2),d=f[0],v=f[1];if(d===-1/0||v===1/0){var p=v===1/0?[d].concat(zy(By(0,a-1).map(function(){return 1/0}))):[].concat(zy(By(0,a-1).map(function(){return-1/0})),[v]);return r>n?qy(p):p}if(d===v)return $q(d,a,l);var g=Mk(d,v,u,l),w=g.step,_=g.tickMin,S=g.tickMax,b=nf.rangeStep(_,S.add(new Ue(.1).mul(w)),w);return r>n?qy(b):b}function Dq(e,t){var r=Cl(e,2),n=r[0],a=r[1],l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,u=Ck([n,a]),c=Cl(u,2),f=c[0],d=c[1];if(f===-1/0||d===1/0)return[n,a];if(f===d)return[f];var v=Math.max(t,2),p=Nk(new Ue(d).sub(f).div(v-1),l,0),g=[].concat(zy(nf.rangeStep(new Ue(f),new Ue(d).sub(new Ue(.99).mul(p)),p)),[d]);return n>a?qy(g):g}var Lq=kk(Rq),Bq=kk(Dq),qq="Invariant failed";function Ui(e,t){throw new Error(qq)}var zq=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function qa(e){"@babel/helpers - typeof";return qa=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},qa(e)}function lc(){return lc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},lc.apply(this,arguments)}function Fq(e,t){return Vq(e)||Hq(e,t)||Wq(e,t)||Uq()}function Uq(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
205
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Wq(e,t){if(e){if(typeof e=="string")return xj(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return xj(e,t)}}function xj(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Hq(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,l,u,c=[],f=!0,d=!1;try{if(l=(r=r.call(e)).next,t!==0)for(;!(f=(n=l.call(r)).done)&&(c.push(n.value),c.length!==t);f=!0);}catch(v){d=!0,a=v}finally{try{if(!f&&r.return!=null&&(u=r.return(),Object(u)!==u))return}finally{if(d)throw a}}return c}}function Vq(e){if(Array.isArray(e))return e}function Gq(e,t){if(e==null)return{};var r=Kq(e,t),n,a;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Kq(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function Xq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yq(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Rk(n.key),n)}}function Qq(e,t,r){return t&&Yq(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Zq(e,t,r){return t=uc(t),Jq(e,Ik()?Reflect.construct(t,r||[],uc(e).constructor):t.apply(e,r))}function Jq(e,t){if(t&&(qa(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ez(e)}function ez(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ik(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Ik=function(){return!!e})()}function uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},uc(e)}function tz(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&&Uy(e,t)}function Uy(e,t){return Uy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Uy(e,t)}function $k(e,t,r){return t=Rk(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rk(e){var t=rz(e,"string");return qa(t)=="symbol"?t:t+""}function rz(e,t){if(qa(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(qa(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var af=(function(e){function t(){return Xq(this,t),Zq(this,t,arguments)}return tz(t,e),Qq(t,[{key:"render",value:function(){var n=this.props,a=n.offset,l=n.layout,u=n.width,c=n.dataKey,f=n.data,d=n.dataPointFormatter,v=n.xAxis,p=n.yAxis,g=Gq(n,zq),w=Ne(g,!1);this.props.direction==="x"&&v.type!=="number"&&Ui();var _=f.map(function(S){var b=d(S,c),O=b.x,P=b.y,E=b.value,T=b.errorVal;if(!T)return null;var j=[],A,C;if(Array.isArray(T)){var N=Fq(T,2);A=N[0],C=N[1]}else A=C=T;if(l==="vertical"){var B=v.scale,$=P+a,R=$+u,q=$-u,H=B(E-A),X=B(E+C);j.push({x1:X,y1:R,x2:X,y2:q}),j.push({x1:H,y1:$,x2:X,y2:$}),j.push({x1:H,y1:R,x2:H,y2:q})}else if(l==="horizontal"){var Q=p.scale,ee=O+a,te=ee-u,L=ee+u,V=Q(E-A),Z=Q(E+C);j.push({x1:te,y1:Z,x2:L,y2:Z}),j.push({x1:ee,y1:V,x2:ee,y2:Z}),j.push({x1:te,y1:V,x2:L,y2:V})}return U.createElement(ot,lc({className:"recharts-errorBar",key:"bar-".concat(j.map(function(I){return"".concat(I.x1,"-").concat(I.x2,"-").concat(I.y1,"-").concat(I.y2)}))},w),j.map(function(I){return U.createElement("line",lc({},I,{key:"line-".concat(I.x1,"-").concat(I.x2,"-").concat(I.y1,"-").concat(I.y2)}))}))});return U.createElement(ot,{className:"recharts-errorBars"},_)}}])})(U.Component);$k(af,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"});$k(af,"displayName","ErrorBar");function Nl(e){"@babel/helpers - typeof";return Nl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Nl(e)}function wj(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function ki(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?wj(Object(r),!0).forEach(function(n){nz(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wj(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function nz(e,t,r){return t=iz(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iz(e){var t=az(e,"string");return Nl(t)=="symbol"?t:t+""}function az(e,t){if(Nl(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Nl(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Dk=function(t){var r=t.children,n=t.formattedGraphicalItems,a=t.legendWidth,l=t.legendContent,u=fr(r,Di);if(!u)return null;var c=Di.defaultProps,f=c!==void 0?ki(ki({},c),u.props):{},d;return u.props&&u.props.payload?d=u.props&&u.props.payload:l==="children"?d=(n||[]).reduce(function(v,p){var g=p.item,w=p.props,_=w.sectors||w.data||[];return v.concat(_.map(function(S){return{type:u.props.iconType||g.props.legendType,value:S.name,color:S.fill,payload:S}}))},[]):d=(n||[]).map(function(v){var p=v.item,g=p.type.defaultProps,w=g!==void 0?ki(ki({},g),p.props):{},_=w.dataKey,S=w.name,b=w.legendType,O=w.hide;return{inactive:O,dataKey:_,type:f.iconType||b||"square",color:S0(p),value:S||_,payload:w}}),ki(ki(ki({},f),Di.getWithHeight(u,a)),{},{payload:d,item:u})};function Ml(e){"@babel/helpers - typeof";return Ml=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},Ml(e)}function Sj(e){return sz(e)||uz(e)||lz(e)||oz()}function oz(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
206
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function lz(e,t){if(e){if(typeof e=="string")return Wy(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Wy(e,t)}}function uz(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function sz(e){if(Array.isArray(e))return Wy(e)}function Wy(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function _j(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function ut(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?_j(Object(r),!0).forEach(function(n){Ta(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_j(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Ta(e,t,r){return t=cz(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cz(e){var t=fz(e,"string");return Ml(t)=="symbol"?t:t+""}function fz(e,t){if(Ml(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Ml(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function hr(e,t,r){return Me(e)||Me(t)?r:St(t)?Ar(e,t,r):Ee(t)?t(e):r}function dl(e,t,r,n){var a=sq(e,function(c){return hr(c,t)});if(r==="number"){var l=a.filter(function(c){return ce(c)||parseFloat(c)});return l.length?[tf(l),ri(l)]:[1/0,-1/0]}var u=n?a.filter(function(c){return!Me(c)}):a;return u.map(function(c){return St(c)||c instanceof Date?c:""})}var dz=function(t){var r,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],a=arguments.length>2?arguments[2]:void 0,l=arguments.length>3?arguments[3]:void 0,u=-1,c=(r=n==null?void 0:n.length)!==null&&r!==void 0?r:0;if(c<=1)return 0;if(l&&l.axisType==="angleAxis"&&Math.abs(Math.abs(l.range[1]-l.range[0])-360)<=1e-6)for(var f=l.range,d=0;d<c;d++){var v=d>0?a[d-1].coordinate:a[c-1].coordinate,p=a[d].coordinate,g=d>=c-1?a[0].coordinate:a[d+1].coordinate,w=void 0;if(Fr(p-v)!==Fr(g-p)){var _=[];if(Fr(g-p)===Fr(f[1]-f[0])){w=g;var S=p+f[1]-f[0];_[0]=Math.min(S,(S+v)/2),_[1]=Math.max(S,(S+v)/2)}else{w=v;var b=g+f[1]-f[0];_[0]=Math.min(p,(b+p)/2),_[1]=Math.max(p,(b+p)/2)}var O=[Math.min(p,(w+p)/2),Math.max(p,(w+p)/2)];if(t>O[0]&&t<=O[1]||t>=_[0]&&t<=_[1]){u=a[d].index;break}}else{var P=Math.min(v,g),E=Math.max(v,g);if(t>(P+p)/2&&t<=(E+p)/2){u=a[d].index;break}}}else for(var T=0;T<c;T++)if(T===0&&t<=(n[T].coordinate+n[T+1].coordinate)/2||T>0&&T<c-1&&t>(n[T].coordinate+n[T-1].coordinate)/2&&t<=(n[T].coordinate+n[T+1].coordinate)/2||T===c-1&&t>(n[T].coordinate+n[T-1].coordinate)/2){u=n[T].index;break}return u},S0=function(t){var r,n=t,a=n.type.displayName,l=(r=t.type)!==null&&r!==void 0&&r.defaultProps?ut(ut({},t.type.defaultProps),t.props):t.props,u=l.stroke,c=l.fill,f;switch(a){case"Line":f=u;break;case"Area":case"Radar":f=u&&u!=="none"?u:c;break;default:f=c;break}return f},hz=function(t){var r=t.barSize,n=t.totalSize,a=t.stackGroups,l=a===void 0?{}:a;if(!l)return{};for(var u={},c=Object.keys(l),f=0,d=c.length;f<d;f++)for(var v=l[c[f]].stackGroups,p=Object.keys(v),g=0,w=p.length;g<w;g++){var _=v[p[g]],S=_.items,b=_.cateAxisId,O=S.filter(function(C){return bn(C.type).indexOf("Bar")>=0});if(O&&O.length){var P=O[0].type.defaultProps,E=P!==void 0?ut(ut({},P),O[0].props):O[0].props,T=E.barSize,j=E[b];u[j]||(u[j]=[]);var A=Me(T)?r:T;u[j].push({item:O[0],stackList:O.slice(1),barSize:Me(A)?void 0:zi(A,n,0)})}}return u},pz=function(t){var r=t.barGap,n=t.barCategoryGap,a=t.bandSize,l=t.sizeList,u=l===void 0?[]:l,c=t.maxBarSize,f=u.length;if(f<1)return null;var d=zi(r,a,0,!0),v,p=[];if(u[0].barSize===+u[0].barSize){var g=!1,w=a/f,_=u.reduce(function(T,j){return T+j.barSize||0},0);_+=(f-1)*d,_>=a&&(_-=(f-1)*d,d=0),_>=a&&w>0&&(g=!0,w*=.9,_=f*w);var S=(a-_)/2>>0,b={offset:S-d,size:0};v=u.reduce(function(T,j){var A={item:j.item,position:{offset:b.offset+b.size+d,size:g?w:j.barSize}},C=[].concat(Sj(T),[A]);return b=C[C.length-1].position,j.stackList&&j.stackList.length&&j.stackList.forEach(function(N){C.push({item:N,position:b})}),C},p)}else{var O=zi(n,a,0,!0);a-2*O-(f-1)*d<=0&&(d=0);var P=(a-2*O-(f-1)*d)/f;P>1&&(P>>=0);var E=c===+c?Math.min(P,c):P;v=u.reduce(function(T,j,A){var C=[].concat(Sj(T),[{item:j.item,position:{offset:O+(P+d)*A+(P-E)/2,size:E}}]);return j.stackList&&j.stackList.length&&j.stackList.forEach(function(N){C.push({item:N,position:C[C.length-1].position})}),C},p)}return v},vz=function(t,r,n,a){var l=n.children,u=n.width,c=n.margin,f=u-(c.left||0)-(c.right||0),d=Dk({children:l,legendWidth:f});if(d){var v=a||{},p=v.width,g=v.height,w=d.align,_=d.verticalAlign,S=d.layout;if((S==="vertical"||S==="horizontal"&&_==="middle")&&w!=="center"&&ce(t[w]))return ut(ut({},t),{},Ta({},w,t[w]+(p||0)));if((S==="horizontal"||S==="vertical"&&w==="center")&&_!=="middle"&&ce(t[_]))return ut(ut({},t),{},Ta({},_,t[_]+(g||0)))}return t},mz=function(t,r,n){return Me(r)?!0:t==="horizontal"?r==="yAxis":t==="vertical"||n==="x"?r==="xAxis":n==="y"?r==="yAxis":!0},Lk=function(t,r,n,a,l){var u=r.props.children,c=Ur(u,af).filter(function(d){return mz(a,l,d.props.direction)});if(c&&c.length){var f=c.map(function(d){return d.props.dataKey});return t.reduce(function(d,v){var p=hr(v,n);if(Me(p))return d;var g=Array.isArray(p)?[tf(p),ri(p)]:[p,p],w=f.reduce(function(_,S){var b=hr(v,S,0),O=g[0]-Math.abs(Array.isArray(b)?b[0]:b),P=g[1]+Math.abs(Array.isArray(b)?b[1]:b);return[Math.min(O,_[0]),Math.max(P,_[1])]},[1/0,-1/0]);return[Math.min(w[0],d[0]),Math.max(w[1],d[1])]},[1/0,-1/0])}return null},yz=function(t,r,n,a,l){var u=r.map(function(c){return Lk(t,c,n,l,a)}).filter(function(c){return!Me(c)});return u&&u.length?u.reduce(function(c,f){return[Math.min(c[0],f[0]),Math.max(c[1],f[1])]},[1/0,-1/0]):null},Bk=function(t,r,n,a,l){var u=r.map(function(f){var d=f.props.dataKey;return n==="number"&&d&&Lk(t,f,d,a)||dl(t,d,n,l)});if(n==="number")return u.reduce(function(f,d){return[Math.min(f[0],d[0]),Math.max(f[1],d[1])]},[1/0,-1/0]);var c={};return u.reduce(function(f,d){for(var v=0,p=d.length;v<p;v++)c[d[v]]||(c[d[v]]=!0,f.push(d[v]));return f},[])},qk=function(t,r){return t==="horizontal"&&r==="xAxis"||t==="vertical"&&r==="yAxis"||t==="centric"&&r==="angleAxis"||t==="radial"&&r==="radiusAxis"},zk=function(t,r,n,a){if(a)return t.map(function(f){return f.coordinate});var l,u,c=t.map(function(f){return f.coordinate===r&&(l=!0),f.coordinate===n&&(u=!0),f.coordinate});return l||c.push(r),u||c.push(n),c},gn=function(t,r,n){if(!t)return null;var a=t.scale,l=t.duplicateDomain,u=t.type,c=t.range,f=t.realScaleType==="scaleBand"?a.bandwidth()/2:2,d=(r||n)&&u==="category"&&a.bandwidth?a.bandwidth()/f:0;if(d=t.axisType==="angleAxis"&&(c==null?void 0:c.length)>=2?Fr(c[0]-c[1])*2*d:d,r&&(t.ticks||t.niceTicks)){var v=(t.ticks||t.niceTicks).map(function(p){var g=l?l.indexOf(p):p;return{coordinate:a(g)+d,value:p,offset:d}});return v.filter(function(p){return!io(p.coordinate)})}return t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map(function(p,g){return{coordinate:a(p)+d,value:p,index:g,offset:d}}):a.ticks&&!n?a.ticks(t.tickCount).map(function(p){return{coordinate:a(p)+d,value:p,offset:d}}):a.domain().map(function(p,g){return{coordinate:a(p)+d,value:l?l[p]:p,index:g,offset:d}})},Am=new WeakMap,Ps=function(t,r){if(typeof r!="function")return t;Am.has(t)||Am.set(t,new WeakMap);var n=Am.get(t);if(n.has(r))return n.get(r);var a=function(){t.apply(void 0,arguments),r.apply(void 0,arguments)};return n.set(r,a),a},gz=function(t,r,n){var a=t.scale,l=t.type,u=t.layout,c=t.axisType;if(a==="auto")return u==="radial"&&c==="radiusAxis"?{scale:Ol(),realScaleType:"band"}:u==="radial"&&c==="angleAxis"?{scale:rc(),realScaleType:"linear"}:l==="category"&&r&&(r.indexOf("LineChart")>=0||r.indexOf("AreaChart")>=0||r.indexOf("ComposedChart")>=0&&!n)?{scale:fl(),realScaleType:"point"}:l==="category"?{scale:Ol(),realScaleType:"band"}:{scale:rc(),realScaleType:"linear"};if(qi(a)){var f="scale".concat(Fc(a));return{scale:(uj[f]||fl)(),realScaleType:uj[f]?f:"point"}}return Ee(a)?{scale:a}:{scale:fl(),realScaleType:"point"}},Oj=1e-4,bz=function(t){var r=t.domain();if(!(!r||r.length<=2)){var n=r.length,a=t.range(),l=Math.min(a[0],a[1])-Oj,u=Math.max(a[0],a[1])+Oj,c=t(r[0]),f=t(r[n-1]);(c<l||c>u||f<l||f>u)&&t.domain([r[0],r[n-1]])}},xz=function(t,r){if(!t)return null;for(var n=0,a=t.length;n<a;n++)if(t[n].item===r)return t[n].position;return null},wz=function(t,r){if(!r||r.length!==2||!ce(r[0])||!ce(r[1]))return t;var n=Math.min(r[0],r[1]),a=Math.max(r[0],r[1]),l=[t[0],t[1]];return(!ce(t[0])||t[0]<n)&&(l[0]=n),(!ce(t[1])||t[1]>a)&&(l[1]=a),l[0]>a&&(l[0]=a),l[1]<n&&(l[1]=n),l},Sz=function(t){var r=t.length;if(!(r<=0))for(var n=0,a=t[0].length;n<a;++n)for(var l=0,u=0,c=0;c<r;++c){var f=io(t[c][n][1])?t[c][n][0]:t[c][n][1];f>=0?(t[c][n][0]=l,t[c][n][1]=l+f,l=t[c][n][1]):(t[c][n][0]=u,t[c][n][1]=u+f,u=t[c][n][1])}},_z=function(t){var r=t.length;if(!(r<=0))for(var n=0,a=t[0].length;n<a;++n)for(var l=0,u=0;u<r;++u){var c=io(t[u][n][1])?t[u][n][0]:t[u][n][1];c>=0?(t[u][n][0]=l,t[u][n][1]=l+c,l=t[u][n][1]):(t[u][n][0]=0,t[u][n][1]=0)}},Oz={sign:Sz,expand:l$,none:Na,silhouette:u$,wiggle:s$,positive:_z},jz=function(t,r,n){var a=r.map(function(c){return c.props.dataKey}),l=Oz[n],u=o$().keys(a).value(function(c,f){return+hr(c,f,0)}).order(xy).offset(l);return u(t)},Pz=function(t,r,n,a,l,u){if(!t)return null;var c=u?r.reverse():r,f={},d=c.reduce(function(p,g){var w,_=(w=g.type)!==null&&w!==void 0&&w.defaultProps?ut(ut({},g.type.defaultProps),g.props):g.props,S=_.stackId,b=_.hide;if(b)return p;var O=_[n],P=p[O]||{hasStack:!1,stackGroups:{}};if(St(S)){var E=P.stackGroups[S]||{numericAxisId:n,cateAxisId:a,items:[]};E.items.push(g),P.hasStack=!0,P.stackGroups[S]=E}else P.stackGroups[tu("_stackId_")]={numericAxisId:n,cateAxisId:a,items:[g]};return ut(ut({},p),{},Ta({},O,P))},f),v={};return Object.keys(d).reduce(function(p,g){var w=d[g];if(w.hasStack){var _={};w.stackGroups=Object.keys(w.stackGroups).reduce(function(S,b){var O=w.stackGroups[b];return ut(ut({},S),{},Ta({},b,{numericAxisId:n,cateAxisId:a,items:O.items,stackedData:jz(t,O.items,l)}))},_)}return ut(ut({},p),{},Ta({},g,w))},v)},Az=function(t,r){var n=r.realScaleType,a=r.type,l=r.tickCount,u=r.originalDomain,c=r.allowDecimals,f=n||r.scale;if(f!=="auto"&&f!=="linear")return null;if(l&&a==="number"&&u&&(u[0]==="auto"||u[1]==="auto")){var d=t.domain();if(!d.length)return null;var v=Lq(d,l,c);return t.domain([tf(v),ri(v)]),{niceTicks:v}}if(l&&a==="number"){var p=t.domain(),g=Bq(p,l,c);return{niceTicks:g}}return null};function jj(e){var t=e.axis,r=e.ticks,n=e.bandSize,a=e.entry,l=e.index,u=e.dataKey;if(t.type==="category"){if(!t.allowDuplicatedCategory&&t.dataKey&&!Me(a[t.dataKey])){var c=$s(r,"value",a[t.dataKey]);if(c)return c.coordinate+n/2}return r[l]?r[l].coordinate+n/2:null}var f=hr(a,Me(u)?t.dataKey:u);return Me(f)?null:t.scale(f)}var Pj=function(t){var r=t.axis,n=t.ticks,a=t.offset,l=t.bandSize,u=t.entry,c=t.index;if(r.type==="category")return n[c]?n[c].coordinate+a:null;var f=hr(u,r.dataKey,r.domain[c]);return Me(f)?null:r.scale(f)-l/2+a},Ez=function(t){var r=t.numericAxis,n=r.scale.domain();if(r.type==="number"){var a=Math.min(n[0],n[1]),l=Math.max(n[0],n[1]);return a<=0&&l>=0?0:l<0?l:a}return n[0]},kz=function(t,r){var n,a=(n=t.type)!==null&&n!==void 0&&n.defaultProps?ut(ut({},t.type.defaultProps),t.props):t.props,l=a.stackId;if(St(l)){var u=r[l];if(u){var c=u.items.indexOf(t);return c>=0?u.stackedData[c]:null}}return null},Tz=function(t){return t.reduce(function(r,n){return[tf(n.concat([r[0]]).filter(ce)),ri(n.concat([r[1]]).filter(ce))]},[1/0,-1/0])},Fk=function(t,r,n){return Object.keys(t).reduce(function(a,l){var u=t[l],c=u.stackedData,f=c.reduce(function(d,v){var p=Tz(v.slice(r,n+1));return[Math.min(d[0],p[0]),Math.max(d[1],p[1])]},[1/0,-1/0]);return[Math.min(f[0],a[0]),Math.max(f[1],a[1])]},[1/0,-1/0]).map(function(a){return a===1/0||a===-1/0?0:a})},Aj=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,Ej=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,Hy=function(t,r,n){if(Ee(t))return t(r,n);if(!Array.isArray(t))return r;var a=[];if(ce(t[0]))a[0]=n?t[0]:Math.min(t[0],r[0]);else if(Aj.test(t[0])){var l=+Aj.exec(t[0])[1];a[0]=r[0]-l}else Ee(t[0])?a[0]=t[0](r[0]):a[0]=r[0];if(ce(t[1]))a[1]=n?t[1]:Math.max(t[1],r[1]);else if(Ej.test(t[1])){var u=+Ej.exec(t[1])[1];a[1]=r[1]+u}else Ee(t[1])?a[1]=t[1](r[1]):a[1]=r[1];return a},sc=function(t,r,n){if(t&&t.scale&&t.scale.bandwidth){var a=t.scale.bandwidth();if(!n||a>0)return a}if(t&&r&&r.length>=2){for(var l=Yg(r,function(p){return p.coordinate}),u=1/0,c=1,f=l.length;c<f;c++){var d=l[c],v=l[c-1];u=Math.min((d.coordinate||0)-(v.coordinate||0),u)}return u===1/0?0:u}return n?void 0:0},kj=function(t,r,n){return!t||!t.length||kl(t,Ar(n,"type.defaultProps.domain"))?r:t},Uk=function(t,r){var n=t.type.defaultProps?ut(ut({},t.type.defaultProps),t.props):t.props,a=n.dataKey,l=n.name,u=n.unit,c=n.formatter,f=n.tooltipType,d=n.chartType,v=n.hide;return ut(ut({},Ne(t,!1)),{},{dataKey:a,unit:u,formatter:c,name:l||a,color:S0(t),value:hr(r,a),type:f,payload:r,chartType:d,hide:v})};function Il(e){"@babel/helpers - typeof";return Il=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Il(e)}function Tj(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Cj(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Tj(Object(r),!0).forEach(function(n){Cz(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Tj(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Cz(e,t,r){return t=Nz(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nz(e){var t=Mz(e,"string");return Il(t)=="symbol"?t:t+""}function Mz(e,t){if(Il(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Il(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var cc=Math.PI/180,Iz=function(t){return t*180/Math.PI},It=function(t,r,n,a){return{x:t+Math.cos(-cc*a)*n,y:r+Math.sin(-cc*a)*n}},$z=function(t,r){var n=t.x,a=t.y,l=r.x,u=r.y;return Math.sqrt(Math.pow(n-l,2)+Math.pow(a-u,2))},Rz=function(t,r){var n=t.x,a=t.y,l=r.cx,u=r.cy,c=$z({x:n,y:a},{x:l,y:u});if(c<=0)return{radius:c};var f=(n-l)/c,d=Math.acos(f);return a>u&&(d=2*Math.PI-d),{radius:c,angle:Iz(d),angleInRadian:d}},Dz=function(t){var r=t.startAngle,n=t.endAngle,a=Math.floor(r/360),l=Math.floor(n/360),u=Math.min(a,l);return{startAngle:r-u*360,endAngle:n-u*360}},Lz=function(t,r){var n=r.startAngle,a=r.endAngle,l=Math.floor(n/360),u=Math.floor(a/360),c=Math.min(l,u);return t+c*360},Nj=function(t,r){var n=t.x,a=t.y,l=Rz({x:n,y:a},r),u=l.radius,c=l.angle,f=r.innerRadius,d=r.outerRadius;if(u<f||u>d)return!1;if(u===0)return!0;var v=Dz(r),p=v.startAngle,g=v.endAngle,w=c,_;if(p<=g){for(;w>g;)w-=360;for(;w<p;)w+=360;_=w>=p&&w<=g}else{for(;w>p;)w-=360;for(;w<g;)w+=360;_=w>=g&&w<=p}return _?Cj(Cj({},r),{},{radius:u,angle:Lz(w,r)}):null};function $l(e){"@babel/helpers - typeof";return $l=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},$l(e)}var Bz=["offset"];function qz(e){return Wz(e)||Uz(e)||Fz(e)||zz()}function zz(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
207
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Fz(e,t){if(e){if(typeof e=="string")return Vy(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Vy(e,t)}}function Uz(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Wz(e){if(Array.isArray(e))return Vy(e)}function Vy(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Hz(e,t){if(e==null)return{};var r=Vz(e,t),n,a;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Vz(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function Mj(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function wt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Mj(Object(r),!0).forEach(function(n){Gz(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Mj(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Gz(e,t,r){return t=Kz(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kz(e){var t=Xz(e,"string");return $l(t)=="symbol"?t:t+""}function Xz(e,t){if($l(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if($l(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Rl(){return Rl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Rl.apply(this,arguments)}var Yz=function(t){var r=t.value,n=t.formatter,a=Me(t.children)?r:t.children;return Ee(n)?n(a):a},Qz=function(t,r){var n=Fr(r-t),a=Math.min(Math.abs(r-t),360);return n*a},Zz=function(t,r,n){var a=t.position,l=t.viewBox,u=t.offset,c=t.className,f=l,d=f.cx,v=f.cy,p=f.innerRadius,g=f.outerRadius,w=f.startAngle,_=f.endAngle,S=f.clockWise,b=(p+g)/2,O=Qz(w,_),P=O>=0?1:-1,E,T;a==="insideStart"?(E=w+P*u,T=S):a==="insideEnd"?(E=_-P*u,T=!S):a==="end"&&(E=_+P*u,T=S),T=O<=0?T:!T;var j=It(d,v,b,E),A=It(d,v,b,E+(T?1:-1)*359),C="M".concat(j.x,",").concat(j.y,`
|
|
208
|
+
A`).concat(b,",").concat(b,",0,1,").concat(T?0:1,`,
|
|
209
|
+
`).concat(A.x,",").concat(A.y),N=Me(t.id)?tu("recharts-radial-line-"):t.id;return U.createElement("text",Rl({},n,{dominantBaseline:"central",className:Re("recharts-radial-bar-label",c)}),U.createElement("defs",null,U.createElement("path",{id:N,d:C})),U.createElement("textPath",{xlinkHref:"#".concat(N)},r))},Jz=function(t){var r=t.viewBox,n=t.offset,a=t.position,l=r,u=l.cx,c=l.cy,f=l.innerRadius,d=l.outerRadius,v=l.startAngle,p=l.endAngle,g=(v+p)/2;if(a==="outside"){var w=It(u,c,d+n,g),_=w.x,S=w.y;return{x:_,y:S,textAnchor:_>=u?"start":"end",verticalAnchor:"middle"}}if(a==="center")return{x:u,y:c,textAnchor:"middle",verticalAnchor:"middle"};if(a==="centerTop")return{x:u,y:c,textAnchor:"middle",verticalAnchor:"start"};if(a==="centerBottom")return{x:u,y:c,textAnchor:"middle",verticalAnchor:"end"};var b=(f+d)/2,O=It(u,c,b,g),P=O.x,E=O.y;return{x:P,y:E,textAnchor:"middle",verticalAnchor:"middle"}},e4=function(t){var r=t.viewBox,n=t.parentViewBox,a=t.offset,l=t.position,u=r,c=u.x,f=u.y,d=u.width,v=u.height,p=v>=0?1:-1,g=p*a,w=p>0?"end":"start",_=p>0?"start":"end",S=d>=0?1:-1,b=S*a,O=S>0?"end":"start",P=S>0?"start":"end";if(l==="top"){var E={x:c+d/2,y:f-p*a,textAnchor:"middle",verticalAnchor:w};return wt(wt({},E),n?{height:Math.max(f-n.y,0),width:d}:{})}if(l==="bottom"){var T={x:c+d/2,y:f+v+g,textAnchor:"middle",verticalAnchor:_};return wt(wt({},T),n?{height:Math.max(n.y+n.height-(f+v),0),width:d}:{})}if(l==="left"){var j={x:c-b,y:f+v/2,textAnchor:O,verticalAnchor:"middle"};return wt(wt({},j),n?{width:Math.max(j.x-n.x,0),height:v}:{})}if(l==="right"){var A={x:c+d+b,y:f+v/2,textAnchor:P,verticalAnchor:"middle"};return wt(wt({},A),n?{width:Math.max(n.x+n.width-A.x,0),height:v}:{})}var C=n?{width:d,height:v}:{};return l==="insideLeft"?wt({x:c+b,y:f+v/2,textAnchor:P,verticalAnchor:"middle"},C):l==="insideRight"?wt({x:c+d-b,y:f+v/2,textAnchor:O,verticalAnchor:"middle"},C):l==="insideTop"?wt({x:c+d/2,y:f+g,textAnchor:"middle",verticalAnchor:_},C):l==="insideBottom"?wt({x:c+d/2,y:f+v-g,textAnchor:"middle",verticalAnchor:w},C):l==="insideTopLeft"?wt({x:c+b,y:f+g,textAnchor:P,verticalAnchor:_},C):l==="insideTopRight"?wt({x:c+d-b,y:f+g,textAnchor:O,verticalAnchor:_},C):l==="insideBottomLeft"?wt({x:c+b,y:f+v-g,textAnchor:P,verticalAnchor:w},C):l==="insideBottomRight"?wt({x:c+d-b,y:f+v-g,textAnchor:O,verticalAnchor:w},C):no(l)&&(ce(l.x)||Ni(l.x))&&(ce(l.y)||Ni(l.y))?wt({x:c+zi(l.x,d),y:f+zi(l.y,v),textAnchor:"end",verticalAnchor:"end"},C):wt({x:c+d/2,y:f+v/2,textAnchor:"middle",verticalAnchor:"middle"},C)},t4=function(t){return"cx"in t&&ce(t.cx)};function Ut(e){var t=e.offset,r=t===void 0?5:t,n=Hz(e,Bz),a=wt({offset:r},n),l=a.viewBox,u=a.position,c=a.value,f=a.children,d=a.content,v=a.className,p=v===void 0?"":v,g=a.textBreakAll;if(!l||Me(c)&&Me(f)&&!D.isValidElement(d)&&!Ee(d))return null;if(D.isValidElement(d))return D.cloneElement(d,a);var w;if(Ee(d)){if(w=D.createElement(d,a),D.isValidElement(w))return w}else w=Yz(a);var _=t4(l),S=Ne(a,!0);if(_&&(u==="insideStart"||u==="insideEnd"||u==="end"))return Zz(a,w,S);var b=_?Jz(a):e4(a);return U.createElement(Ks,Rl({className:Re("recharts-label",p)},S,b,{breakAll:g}),w)}Ut.displayName="Label";var Wk=function(t){var r=t.cx,n=t.cy,a=t.angle,l=t.startAngle,u=t.endAngle,c=t.r,f=t.radius,d=t.innerRadius,v=t.outerRadius,p=t.x,g=t.y,w=t.top,_=t.left,S=t.width,b=t.height,O=t.clockWise,P=t.labelViewBox;if(P)return P;if(ce(S)&&ce(b)){if(ce(p)&&ce(g))return{x:p,y:g,width:S,height:b};if(ce(w)&&ce(_))return{x:w,y:_,width:S,height:b}}return ce(p)&&ce(g)?{x:p,y:g,width:0,height:0}:ce(r)&&ce(n)?{cx:r,cy:n,startAngle:l||a||0,endAngle:u||a||0,innerRadius:d||0,outerRadius:v||f||c||0,clockWise:O}:t.viewBox?t.viewBox:{}},r4=function(t,r){return t?t===!0?U.createElement(Ut,{key:"label-implicit",viewBox:r}):St(t)?U.createElement(Ut,{key:"label-implicit",viewBox:r,value:t}):D.isValidElement(t)?t.type===Ut?D.cloneElement(t,{key:"label-implicit",viewBox:r}):U.createElement(Ut,{key:"label-implicit",content:t,viewBox:r}):Ee(t)?U.createElement(Ut,{key:"label-implicit",content:t,viewBox:r}):no(t)?U.createElement(Ut,Rl({viewBox:r},t,{key:"label-implicit"})):null:null},n4=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!t||!t.children&&n&&!t.label)return null;var a=t.children,l=Wk(t),u=Ur(a,Ut).map(function(f,d){return D.cloneElement(f,{viewBox:r||l,key:"label-".concat(d)})});if(!n)return u;var c=r4(t.label,r||l);return[c].concat(qz(u))};Ut.parseViewBox=Wk;Ut.renderCallByParent=n4;var Em,Ij;function i4(){if(Ij)return Em;Ij=1;function e(t){var r=t==null?0:t.length;return r?t[r-1]:void 0}return Em=e,Em}var a4=i4();const o4=We(a4);function Dl(e){"@babel/helpers - typeof";return Dl=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},Dl(e)}var l4=["valueAccessor"],u4=["data","dataKey","clockWise","id","textBreakAll"];function s4(e){return h4(e)||d4(e)||f4(e)||c4()}function c4(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
210
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function f4(e,t){if(e){if(typeof e=="string")return Gy(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Gy(e,t)}}function d4(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function h4(e){if(Array.isArray(e))return Gy(e)}function Gy(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function fc(){return fc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},fc.apply(this,arguments)}function $j(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Rj(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?$j(Object(r),!0).forEach(function(n){p4(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$j(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function p4(e,t,r){return t=v4(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v4(e){var t=m4(e,"string");return Dl(t)=="symbol"?t:t+""}function m4(e,t){if(Dl(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Dl(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Dj(e,t){if(e==null)return{};var r=y4(e,t),n,a;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function y4(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var g4=function(t){return Array.isArray(t.value)?o4(t.value):t.value};function oi(e){var t=e.valueAccessor,r=t===void 0?g4:t,n=Dj(e,l4),a=n.data,l=n.dataKey,u=n.clockWise,c=n.id,f=n.textBreakAll,d=Dj(n,u4);return!a||!a.length?null:U.createElement(ot,{className:"recharts-label-list"},a.map(function(v,p){var g=Me(l)?r(v,p):hr(v&&v.payload,l),w=Me(c)?{}:{id:"".concat(c,"-").concat(p)};return U.createElement(Ut,fc({},Ne(v,!0),d,w,{parentViewBox:v.parentViewBox,value:g,textBreakAll:f,viewBox:Ut.parseViewBox(Me(u)?v:Rj(Rj({},v),{},{clockWise:u})),key:"label-".concat(p),index:p}))}))}oi.displayName="LabelList";function b4(e,t){return e?e===!0?U.createElement(oi,{key:"labelList-implicit",data:t}):U.isValidElement(e)||Ee(e)?U.createElement(oi,{key:"labelList-implicit",data:t,content:e}):no(e)?U.createElement(oi,fc({data:t},e,{key:"labelList-implicit"})):null:null}function x4(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!e||!e.children&&r&&!e.label)return null;var n=e.children,a=Ur(n,oi).map(function(u,c){return D.cloneElement(u,{data:t,key:"labelList-".concat(c)})});if(!r)return a;var l=b4(e.label,t);return[l].concat(s4(a))}oi.renderCallByParent=x4;function Ll(e){"@babel/helpers - typeof";return Ll=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},Ll(e)}function Ky(){return Ky=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ky.apply(this,arguments)}function Lj(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Bj(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Lj(Object(r),!0).forEach(function(n){w4(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Lj(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function w4(e,t,r){return t=S4(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function S4(e){var t=_4(e,"string");return Ll(t)=="symbol"?t:t+""}function _4(e,t){if(Ll(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Ll(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var O4=function(t,r){var n=Fr(r-t),a=Math.min(Math.abs(r-t),359.999);return n*a},As=function(t){var r=t.cx,n=t.cy,a=t.radius,l=t.angle,u=t.sign,c=t.isExternal,f=t.cornerRadius,d=t.cornerIsExternal,v=f*(c?1:-1)+a,p=Math.asin(f/v)/cc,g=d?l:l+u*p,w=It(r,n,v,g),_=It(r,n,a,g),S=d?l-u*p:l,b=It(r,n,v*Math.cos(p*cc),S);return{center:w,circleTangency:_,lineTangency:b,theta:p}},Hk=function(t){var r=t.cx,n=t.cy,a=t.innerRadius,l=t.outerRadius,u=t.startAngle,c=t.endAngle,f=O4(u,c),d=u+f,v=It(r,n,l,u),p=It(r,n,l,d),g="M ".concat(v.x,",").concat(v.y,`
|
|
211
|
+
A `).concat(l,",").concat(l,`,0,
|
|
212
|
+
`).concat(+(Math.abs(f)>180),",").concat(+(u>d),`,
|
|
213
|
+
`).concat(p.x,",").concat(p.y,`
|
|
214
|
+
`);if(a>0){var w=It(r,n,a,u),_=It(r,n,a,d);g+="L ".concat(_.x,",").concat(_.y,`
|
|
215
|
+
A `).concat(a,",").concat(a,`,0,
|
|
216
|
+
`).concat(+(Math.abs(f)>180),",").concat(+(u<=d),`,
|
|
217
|
+
`).concat(w.x,",").concat(w.y," Z")}else g+="L ".concat(r,",").concat(n," Z");return g},j4=function(t){var r=t.cx,n=t.cy,a=t.innerRadius,l=t.outerRadius,u=t.cornerRadius,c=t.forceCornerRadius,f=t.cornerIsExternal,d=t.startAngle,v=t.endAngle,p=Fr(v-d),g=As({cx:r,cy:n,radius:l,angle:d,sign:p,cornerRadius:u,cornerIsExternal:f}),w=g.circleTangency,_=g.lineTangency,S=g.theta,b=As({cx:r,cy:n,radius:l,angle:v,sign:-p,cornerRadius:u,cornerIsExternal:f}),O=b.circleTangency,P=b.lineTangency,E=b.theta,T=f?Math.abs(d-v):Math.abs(d-v)-S-E;if(T<0)return c?"M ".concat(_.x,",").concat(_.y,`
|
|
218
|
+
a`).concat(u,",").concat(u,",0,0,1,").concat(u*2,`,0
|
|
219
|
+
a`).concat(u,",").concat(u,",0,0,1,").concat(-u*2,`,0
|
|
220
|
+
`):Hk({cx:r,cy:n,innerRadius:a,outerRadius:l,startAngle:d,endAngle:v});var j="M ".concat(_.x,",").concat(_.y,`
|
|
221
|
+
A`).concat(u,",").concat(u,",0,0,").concat(+(p<0),",").concat(w.x,",").concat(w.y,`
|
|
222
|
+
A`).concat(l,",").concat(l,",0,").concat(+(T>180),",").concat(+(p<0),",").concat(O.x,",").concat(O.y,`
|
|
223
|
+
A`).concat(u,",").concat(u,",0,0,").concat(+(p<0),",").concat(P.x,",").concat(P.y,`
|
|
224
|
+
`);if(a>0){var A=As({cx:r,cy:n,radius:a,angle:d,sign:p,isExternal:!0,cornerRadius:u,cornerIsExternal:f}),C=A.circleTangency,N=A.lineTangency,B=A.theta,$=As({cx:r,cy:n,radius:a,angle:v,sign:-p,isExternal:!0,cornerRadius:u,cornerIsExternal:f}),R=$.circleTangency,q=$.lineTangency,H=$.theta,X=f?Math.abs(d-v):Math.abs(d-v)-B-H;if(X<0&&u===0)return"".concat(j,"L").concat(r,",").concat(n,"Z");j+="L".concat(q.x,",").concat(q.y,`
|
|
225
|
+
A`).concat(u,",").concat(u,",0,0,").concat(+(p<0),",").concat(R.x,",").concat(R.y,`
|
|
226
|
+
A`).concat(a,",").concat(a,",0,").concat(+(X>180),",").concat(+(p>0),",").concat(C.x,",").concat(C.y,`
|
|
227
|
+
A`).concat(u,",").concat(u,",0,0,").concat(+(p<0),",").concat(N.x,",").concat(N.y,"Z")}else j+="L".concat(r,",").concat(n,"Z");return j},P4={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},Vk=function(t){var r=Bj(Bj({},P4),t),n=r.cx,a=r.cy,l=r.innerRadius,u=r.outerRadius,c=r.cornerRadius,f=r.forceCornerRadius,d=r.cornerIsExternal,v=r.startAngle,p=r.endAngle,g=r.className;if(u<l||v===p)return null;var w=Re("recharts-sector",g),_=u-l,S=zi(c,_,0,!0),b;return S>0&&Math.abs(v-p)<360?b=j4({cx:n,cy:a,innerRadius:l,outerRadius:u,cornerRadius:Math.min(S,_/2),forceCornerRadius:f,cornerIsExternal:d,startAngle:v,endAngle:p}):b=Hk({cx:n,cy:a,innerRadius:l,outerRadius:u,startAngle:v,endAngle:p}),U.createElement("path",Ky({},Ne(r,!0),{className:w,d:b,role:"img"}))};function Bl(e){"@babel/helpers - typeof";return Bl=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},Bl(e)}function Xy(){return Xy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Xy.apply(this,arguments)}function qj(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function zj(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?qj(Object(r),!0).forEach(function(n){A4(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qj(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function A4(e,t,r){return t=E4(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E4(e){var t=k4(e,"string");return Bl(t)=="symbol"?t:t+""}function k4(e,t){if(Bl(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Bl(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Fj={curveBasisClosed:XI,curveBasisOpen:YI,curveBasis:KI,curveBumpX:II,curveBumpY:$I,curveLinearClosed:QI,curveLinear:Wc,curveMonotoneX:ZI,curveMonotoneY:JI,curveNatural:e$,curveStep:t$,curveStepAfter:n$,curveStepBefore:r$},Es=function(t){return t.x===+t.x&&t.y===+t.y},nl=function(t){return t.x},il=function(t){return t.y},T4=function(t,r){if(Ee(t))return t;var n="curve".concat(Fc(t));return(n==="curveMonotone"||n==="curveBump")&&r?Fj["".concat(n).concat(r==="vertical"?"Y":"X")]:Fj[n]||Wc},C4=function(t){var r=t.type,n=r===void 0?"linear":r,a=t.points,l=a===void 0?[]:a,u=t.baseLine,c=t.layout,f=t.connectNulls,d=f===void 0?!1:f,v=T4(n,c),p=d?l.filter(function(S){return Es(S)}):l,g;if(Array.isArray(u)){var w=d?u.filter(function(S){return Es(S)}):u,_=p.map(function(S,b){return zj(zj({},S),{},{base:w[b]})});return c==="vertical"?g=bs().y(il).x1(nl).x0(function(S){return S.base.x}):g=bs().x(nl).y1(il).y0(function(S){return S.base.y}),g.defined(Es).curve(v),g(_)}return c==="vertical"&&ce(u)?g=bs().y(il).x1(nl).x0(u):ce(u)?g=bs().x(nl).y1(il).y0(u):g=YA().x(nl).y(il),g.defined(Es).curve(v),g(p)},hl=function(t){var r=t.className,n=t.points,a=t.path,l=t.pathRef;if((!n||!n.length)&&!a)return null;var u=n&&n.length?C4(t):a;return D.createElement("path",Xy({},Ne(t,!1),Rs(t),{className:Re("recharts-curve",r),d:u,ref:l}))},km={exports:{}},Tm,Uj;function N4(){if(Uj)return Tm;Uj=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Tm=e,Tm}var Cm,Wj;function M4(){if(Wj)return Cm;Wj=1;var e=N4();function t(){}function r(){}return r.resetWarningCache=t,Cm=function(){function n(u,c,f,d,v,p){if(p!==e){var g=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw g.name="Invariant Violation",g}}n.isRequired=n;function a(){return n}var l={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:a,element:n,elementType:n,instanceOf:a,node:n,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:r,resetWarningCache:t};return l.PropTypes=l,l},Cm}var Hj;function I4(){return Hj||(Hj=1,km.exports=M4()()),km.exports}var $4=I4();const ze=We($4),{getOwnPropertyNames:R4,getOwnPropertySymbols:D4}=Object,{hasOwnProperty:L4}=Object.prototype;function Nm(e,t){return function(n,a,l){return e(n,a,l)&&t(n,a,l)}}function al(e){return function(r,n,a){if(!r||!n||typeof r!="object"||typeof n!="object")return e(r,n,a);const{cache:l}=a,u=l.get(r),c=l.get(n);if(u&&c)return u===n&&c===r;l.set(r,n),l.set(n,r);const f=e(r,n,a);return l.delete(r),l.delete(n),f}}function B4(e){return e!=null?e[Symbol.toStringTag]:void 0}function Vj(e){return R4(e).concat(D4(e))}const q4=Object.hasOwn||((e,t)=>L4.call(e,t));function Xi(e,t){return e===t||!e&&!t&&e!==e&&t!==t}const z4="__v",F4="__o",U4="_owner",W4=64,{getOwnPropertyDescriptor:Yy,keys:dc}=Object,{propertyIsEnumerable:Ns}=Object.prototype,H4=Yy(Object.getPrototypeOf(Int8Array.prototype),Symbol.toStringTag).get;function V4(e,t){return e.byteLength===t.byteLength&&hc(new Uint8Array(e),new Uint8Array(t))}function G4(e,t,r){let n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(!r.equals(e[n],t[n],n,n,e,t,r))return!1;return!0}function K4(e,t){return e.byteLength===t.byteLength&&hc(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}function X4(e,t){return Xi(e.getTime(),t.getTime())}function Y4(e,t,r){if(e.name!==t.name||e.message!==t.message||e.stack!==t.stack)return!1;const n=e.cause,a=t.cause;if(n!==a&&!r.equals(n,a,"cause","cause",e,t,r))return!1;const l=e.errors,u=t.errors;if(l!==u&&!r.equals(l,u,"errors","errors",e,t,r))return!1;const c=dc(e),f=dc(t);let d=c.length;if(!d&&!f.length)return!0;let v=0,p;for(;d-- >0;)if(p=c[d],!(p==="cause"||p==="errors")){if(p!==f[d]&&!Ns.call(t,p)||!r.equals(e[p],t[p],p,p,e,t,r))return!1;++v}const g=f.length-v;return!g||g===(Ns.call(t,"cause")?1:0)+(Ns.call(t,"errors")?1:0)}function Q4(e,t){return e===t}function Z4(e,t,r){return e.name===t.name&&e.message===t.message&&e.stack===t.stack&&_a(e,t,r)}function Gj(e,t,r){const n=e.size;if(n!==t.size)return!1;if(!n)return!0;const a=new Array(n),l=e.entries();let u,c,f=0;for(;(u=l.next())&&!u.done;){const d=t.entries();let v=!1,p=0;for(;(c=d.next())&&!c.done;){if(a[p]){p++;continue}const g=u.value,w=c.value;if(r.equals(g[0],w[0],f,p,e,t,r)&&r.equals(g[1],w[1],g[0],w[0],e,t,r)){v=a[p]=!0;break}p++}if(!v)return!1;f++}return!0}const J4=Xi;function e8(e,t,r){const n=dc(e),a=dc(t);let l=n.length;if(a.length!==l)return!1;const u=l<=W4;let c;for(;l-- >0;)if(c=n[l],!Gk(e,t,c)&&(c!==a[l]&&!(u?a.includes(c):Ns.call(t,c))||!r.equals(e[c],t[c],c,c,e,t,r)))return!1;return!0}function _a(e,t,r){const n=Vj(e);let a=n.length;if(Vj(t).length!==a)return!1;let l,u,c;for(;a-- >0;)if(l=n[a],!Gk(e,t,l)&&(!q4(t,l)||!r.equals(e[l],t[l],l,l,e,t,r))||(u=Yy(e,l),c=Yy(t,l),(u||c)&&(!u||!c||u.configurable!==c.configurable||u.enumerable!==c.enumerable||u.writable!==c.writable)))return!1;return!0}function t8(e,t){return Xi(e.valueOf(),t.valueOf())}function r8(e,t){return e.source===t.source&&e.flags===t.flags}function Kj(e,t,r){const n=e.size;if(n!==t.size)return!1;if(!n)return!0;const a=new Array(n),l=e.values();let u,c;for(;(u=l.next())&&!u.done;){const f=t.values();let d=!1,v=0;for(;(c=f.next())&&!c.done;){if(!a[v]&&r.equals(u.value,c.value,u.value,c.value,e,t,r)){d=a[v]=!0;break}v++}if(!d)return!1}return!0}function hc(e,t){let r=e.length;if(t.length!==r||e.byteOffset!==t.byteOffset)return!1;const n=H4.call(e);if(n==="Float64Array"||n==="Float32Array"||n==="Float16Array"){for(;r-- >0;)if(e[r]!==t[r]&&(e[r]===e[r]||t[r]===t[r]))return!1;return!0}for(;r-- >0;)if(e[r]!==t[r])return!1;return!0}function n8(e,t){return e.href===t.href?!0:e.protocol===t.protocol&&e.username===t.username&&e.password===t.password&&e.host===t.host&&e.pathname===t.pathname&&e.hash===t.hash&&i8(e.searchParams,t.searchParams)}function i8(e,t){const r=e.toString(),n=t.toString();return r===n||Xj(r)===Xj(n)}function Xj(e){return e.split("&").sort().join("&")}function Gk(e,t,r){return(r===U4||r===F4||r===z4)&&!!(e.$$typeof||t.$$typeof)}const a8="[object ArrayBuffer]",o8="[object Arguments]",l8="[object Boolean]",u8="[object DataView]",s8="[object Date]",c8="[object Error]",f8="[object Map]",d8="[object Number]",h8="[object Object]",p8="[object RegExp]",v8="[object Set]",m8="[object String]",y8={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},g8="[object URL]",b8=Object.prototype.toString;function x8({areArrayBuffersEqual:e,areArraysEqual:t,areDataViewsEqual:r,areDatesEqual:n,areErrorsEqual:a,areFunctionsEqual:l,areMapsEqual:u,areNumbersEqual:c,areObjectsEqual:f,arePrimitiveWrappersEqual:d,areRegExpsEqual:v,areSetsEqual:p,areTypedArraysEqual:g,areUrlsEqual:w,unknownTagComparators:_}){return function(b,O,P){if(b===O)return!0;if(b==null||O==null)return!1;const E=typeof b;if(E!==typeof O)return!1;if(E!=="object")return E==="number"?c(b,O,P):E==="function"?l(b,O,P):!1;const T=b.constructor;if(T!==O.constructor)return!1;if(T===Object)return f(b,O,P);if(Array.isArray(b))return t(b,O,P);if(T===Date)return n(b,O,P);if(T===RegExp)return v(b,O,P);if(T===Map)return u(b,O,P);if(T===Set)return p(b,O,P);if(T==null)return f(b,O,P);const j=b8.call(b);if(j===s8)return n(b,O,P);if(j===p8)return v(b,O,P);if(j===f8)return u(b,O,P);if(j===v8)return p(b,O,P);if(j===h8)return typeof b.then!="function"&&typeof O.then!="function"&&f(b,O,P);if(j===g8)return w(b,O,P);if(j===c8)return a(b,O,P);if(j===o8)return f(b,O,P);if(y8[j])return g(b,O,P);if(j===a8)return e(b,O,P);if(j===u8)return r(b,O,P);if(j===l8||j===d8||j===m8)return d(b,O,P);if(_){let A=_[j];if(!A){const C=B4(b);C&&(A=_[C])}if(A)return A(b,O,P)}return!1}}function w8({circular:e,createCustomConfig:t,strict:r}){let n={areArrayBuffersEqual:V4,areArraysEqual:r?_a:G4,areDataViewsEqual:K4,areDatesEqual:X4,areErrorsEqual:r?Z4:Y4,areFunctionsEqual:Q4,areMapsEqual:r?Nm(Gj,_a):Gj,areNumbersEqual:J4,areObjectsEqual:r?_a:e8,arePrimitiveWrappersEqual:t8,areRegExpsEqual:r8,areSetsEqual:r?Nm(Kj,_a):Kj,areTypedArraysEqual:r?Nm(hc,_a):hc,areUrlsEqual:n8,unknownTagComparators:void 0};if(t&&(n=Object.assign({},n,t(n))),e){const a=al(n.areArraysEqual),l=al(n.areErrorsEqual),u=al(n.areMapsEqual),c=al(n.areObjectsEqual),f=al(n.areSetsEqual);n=Object.assign({},n,{areArraysEqual:a,areErrorsEqual:l,areMapsEqual:u,areObjectsEqual:c,areSetsEqual:f})}return n}function S8(e){return function(t,r,n,a,l,u,c){return e(t,r,c)}}function _8({circular:e,comparator:t,createState:r,equals:n,strict:a}){if(r)return function(c,f){const{cache:d=e?new WeakMap:void 0,meta:v}=r();return t(c,f,{cache:d,equals:n,meta:v,strict:a})};if(e)return function(c,f){return t(c,f,{cache:new WeakMap,equals:n,meta:void 0,strict:a})};const l={cache:void 0,equals:n,meta:void 0,strict:a};return function(c,f){return t(c,f,l)}}const O8=di();di({strict:!0});di({circular:!0});di({circular:!0,strict:!0});di({createInternalComparator:()=>Xi});di({strict:!0,createInternalComparator:()=>Xi});di({circular:!0,createInternalComparator:()=>Xi});di({circular:!0,createInternalComparator:()=>Xi,strict:!0});function di(e={}){const{circular:t=!1,createInternalComparator:r,createState:n,strict:a=!1}=e,l=w8(e),u=x8(l),c=r?r(u):S8(u);return _8({circular:t,comparator:u,createState:n,equals:c,strict:a})}function j8(e){typeof requestAnimationFrame<"u"&&requestAnimationFrame(e)}function Yj(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=-1,n=function a(l){r<0&&(r=l),l-r>t?(e(l),r=-1):j8(a)};requestAnimationFrame(n)}function Qy(e){"@babel/helpers - typeof";return Qy=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},Qy(e)}function P8(e){return T8(e)||k8(e)||E8(e)||A8()}function A8(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
228
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function E8(e,t){if(e){if(typeof e=="string")return Qj(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Qj(e,t)}}function Qj(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function k8(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function T8(e){if(Array.isArray(e))return e}function C8(){var e={},t=function(){return null},r=!1,n=function a(l){if(!r){if(Array.isArray(l)){if(!l.length)return;var u=l,c=P8(u),f=c[0],d=c.slice(1);if(typeof f=="number"){Yj(a.bind(null,d),f);return}a(f),Yj(a.bind(null,d));return}Qy(l)==="object"&&(e=l,t(e)),typeof l=="function"&&l()}};return{stop:function(){r=!0},start:function(l){r=!1,n(l)},subscribe:function(l){return t=l,function(){t=function(){return null}}}}}function ql(e){"@babel/helpers - typeof";return ql=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},ql(e)}function Zj(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Jj(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Zj(Object(r),!0).forEach(function(n){Kk(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Zj(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Kk(e,t,r){return t=N8(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function N8(e){var t=M8(e,"string");return ql(t)==="symbol"?t:String(t)}function M8(e,t){if(ql(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(ql(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var I8=function(t,r){return[Object.keys(t),Object.keys(r)].reduce(function(n,a){return n.filter(function(l){return a.includes(l)})})},$8=function(t){return t},R8=function(t){return t.replace(/([A-Z])/g,function(r){return"-".concat(r.toLowerCase())})},pl=function(t,r){return Object.keys(r).reduce(function(n,a){return Jj(Jj({},n),{},Kk({},a,t(a,r[a])))},{})},eP=function(t,r,n){return t.map(function(a){return"".concat(R8(a)," ").concat(r,"ms ").concat(n)}).join(",")};function D8(e,t){return q8(e)||B8(e,t)||Xk(e,t)||L8()}function L8(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
229
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function B8(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,l,u,c=[],f=!0,d=!1;try{if(l=(r=r.call(e)).next,t!==0)for(;!(f=(n=l.call(r)).done)&&(c.push(n.value),c.length!==t);f=!0);}catch(v){d=!0,a=v}finally{try{if(!f&&r.return!=null&&(u=r.return(),Object(u)!==u))return}finally{if(d)throw a}}return c}}function q8(e){if(Array.isArray(e))return e}function z8(e){return W8(e)||U8(e)||Xk(e)||F8()}function F8(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
230
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Xk(e,t){if(e){if(typeof e=="string")return Zy(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Zy(e,t)}}function U8(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function W8(e){if(Array.isArray(e))return Zy(e)}function Zy(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var pc=1e-4,Yk=function(t,r){return[0,3*t,3*r-6*t,3*t-3*r+1]},Qk=function(t,r){return t.map(function(n,a){return n*Math.pow(r,a)}).reduce(function(n,a){return n+a})},tP=function(t,r){return function(n){var a=Yk(t,r);return Qk(a,n)}},H8=function(t,r){return function(n){var a=Yk(t,r),l=[].concat(z8(a.map(function(u,c){return u*c}).slice(1)),[0]);return Qk(l,n)}},rP=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var a=r[0],l=r[1],u=r[2],c=r[3];if(r.length===1)switch(r[0]){case"linear":a=0,l=0,u=1,c=1;break;case"ease":a=.25,l=.1,u=.25,c=1;break;case"ease-in":a=.42,l=0,u=1,c=1;break;case"ease-out":a=.42,l=0,u=.58,c=1;break;case"ease-in-out":a=0,l=0,u=.58,c=1;break;default:{var f=r[0].split("(");if(f[0]==="cubic-bezier"&&f[1].split(")")[0].split(",").length===4){var d=f[1].split(")")[0].split(",").map(function(b){return parseFloat(b)}),v=D8(d,4);a=v[0],l=v[1],u=v[2],c=v[3]}}}var p=tP(a,u),g=tP(l,c),w=H8(a,u),_=function(O){return O>1?1:O<0?0:O},S=function(O){for(var P=O>1?1:O,E=P,T=0;T<8;++T){var j=p(E)-P,A=w(E);if(Math.abs(j-P)<pc||A<pc)return g(E);E=_(E-j/A)}return g(E)};return S.isStepper=!1,S},V8=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.stiff,n=r===void 0?100:r,a=t.damping,l=a===void 0?8:a,u=t.dt,c=u===void 0?17:u,f=function(v,p,g){var w=-(v-p)*n,_=g*l,S=g+(w-_)*c/1e3,b=g*c/1e3+v;return Math.abs(b-p)<pc&&Math.abs(S)<pc?[p,0]:[b,S]};return f.isStepper=!0,f.dt=c,f},G8=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var a=r[0];if(typeof a=="string")switch(a){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return rP(a);case"spring":return V8();default:if(a.split("(")[0]==="cubic-bezier")return rP(a)}return typeof a=="function"?a:null};function zl(e){"@babel/helpers - typeof";return zl=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},zl(e)}function nP(e){return Y8(e)||X8(e)||Zk(e)||K8()}function K8(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
231
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function X8(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Y8(e){if(Array.isArray(e))return eg(e)}function iP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Mt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?iP(Object(r),!0).forEach(function(n){Jy(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):iP(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Jy(e,t,r){return t=Q8(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Q8(e){var t=Z8(e,"string");return zl(t)==="symbol"?t:String(t)}function Z8(e,t){if(zl(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(zl(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function J8(e,t){return rF(e)||tF(e,t)||Zk(e,t)||eF()}function eF(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
232
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Zk(e,t){if(e){if(typeof e=="string")return eg(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return eg(e,t)}}function eg(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function tF(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,l,u,c=[],f=!0,d=!1;try{if(l=(r=r.call(e)).next,t!==0)for(;!(f=(n=l.call(r)).done)&&(c.push(n.value),c.length!==t);f=!0);}catch(v){d=!0,a=v}finally{try{if(!f&&r.return!=null&&(u=r.return(),Object(u)!==u))return}finally{if(d)throw a}}return c}}function rF(e){if(Array.isArray(e))return e}var vc=function(t,r,n){return t+(r-t)*n},tg=function(t){var r=t.from,n=t.to;return r!==n},nF=function e(t,r,n){var a=pl(function(l,u){if(tg(u)){var c=t(u.from,u.to,u.velocity),f=J8(c,2),d=f[0],v=f[1];return Mt(Mt({},u),{},{from:d,velocity:v})}return u},r);return n<1?pl(function(l,u){return tg(u)?Mt(Mt({},u),{},{velocity:vc(u.velocity,a[l].velocity,n),from:vc(u.from,a[l].from,n)}):u},r):e(t,a,n-1)};const iF=(function(e,t,r,n,a){var l=I8(e,t),u=l.reduce(function(b,O){return Mt(Mt({},b),{},Jy({},O,[e[O],t[O]]))},{}),c=l.reduce(function(b,O){return Mt(Mt({},b),{},Jy({},O,{from:e[O],velocity:0,to:t[O]}))},{}),f=-1,d,v,p=function(){return null},g=function(){return pl(function(O,P){return P.from},c)},w=function(){return!Object.values(c).filter(tg).length},_=function(O){d||(d=O);var P=O-d,E=P/r.dt;c=nF(r,c,E),a(Mt(Mt(Mt({},e),t),g())),d=O,w()||(f=requestAnimationFrame(p))},S=function(O){v||(v=O);var P=(O-v)/n,E=pl(function(j,A){return vc.apply(void 0,nP(A).concat([r(P)]))},u);if(a(Mt(Mt(Mt({},e),t),E)),P<1)f=requestAnimationFrame(p);else{var T=pl(function(j,A){return vc.apply(void 0,nP(A).concat([r(1)]))},u);a(Mt(Mt(Mt({},e),t),T))}};return p=r.isStepper?_:S,function(){return requestAnimationFrame(p),function(){cancelAnimationFrame(f)}}});function za(e){"@babel/helpers - typeof";return za=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},za(e)}var aF=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function oF(e,t){if(e==null)return{};var r=lF(e,t),n,a;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function lF(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,l;for(l=0;l<n.length;l++)a=n[l],!(t.indexOf(a)>=0)&&(r[a]=e[a]);return r}function Mm(e){return fF(e)||cF(e)||sF(e)||uF()}function uF(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
233
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sF(e,t){if(e){if(typeof e=="string")return rg(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return rg(e,t)}}function cF(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function fF(e){if(Array.isArray(e))return rg(e)}function rg(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function aP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Lr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?aP(Object(r),!0).forEach(function(n){sl(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):aP(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function sl(e,t,r){return t=Jk(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Jk(n.key),n)}}function pF(e,t,r){return t&&hF(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Jk(e){var t=vF(e,"string");return za(t)==="symbol"?t:String(t)}function vF(e,t){if(za(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(za(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function mF(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&&ng(e,t)}function ng(e,t){return ng=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},ng(e,t)}function yF(e){var t=gF();return function(){var n=mc(e),a;if(t){var l=mc(this).constructor;a=Reflect.construct(n,arguments,l)}else a=n.apply(this,arguments);return ig(this,a)}}function ig(e,t){if(t&&(za(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ag(e)}function ag(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gF(){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 mc(e){return mc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},mc(e)}var jn=(function(e){mF(r,e);var t=yF(r);function r(n,a){var l;dF(this,r),l=t.call(this,n,a);var u=l.props,c=u.isActive,f=u.attributeName,d=u.from,v=u.to,p=u.steps,g=u.children,w=u.duration;if(l.handleStyleChange=l.handleStyleChange.bind(ag(l)),l.changeStyle=l.changeStyle.bind(ag(l)),!c||w<=0)return l.state={style:{}},typeof g=="function"&&(l.state={style:v}),ig(l);if(p&&p.length)l.state={style:p[0].style};else if(d){if(typeof g=="function")return l.state={style:d},ig(l);l.state={style:f?sl({},f,d):d}}else l.state={style:{}};return l}return pF(r,[{key:"componentDidMount",value:function(){var a=this.props,l=a.isActive,u=a.canBegin;this.mounted=!0,!(!l||!u)&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(a){var l=this.props,u=l.isActive,c=l.canBegin,f=l.attributeName,d=l.shouldReAnimate,v=l.to,p=l.from,g=this.state.style;if(c){if(!u){var w={style:f?sl({},f,v):v};this.state&&g&&(f&&g[f]!==v||!f&&g!==v)&&this.setState(w);return}if(!(O8(a.to,v)&&a.canBegin&&a.isActive)){var _=!a.canBegin||!a.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var S=_||d?p:a.to;if(this.state&&g){var b={style:f?sl({},f,S):S};(f&&g[f]!==S||!f&&g!==S)&&this.setState(b)}this.runAnimation(Lr(Lr({},this.props),{},{from:S,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var a=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),a&&a()}},{key:"handleStyleChange",value:function(a){this.changeStyle(a)}},{key:"changeStyle",value:function(a){this.mounted&&this.setState({style:a})}},{key:"runJSAnimation",value:function(a){var l=this,u=a.from,c=a.to,f=a.duration,d=a.easing,v=a.begin,p=a.onAnimationEnd,g=a.onAnimationStart,w=iF(u,c,G8(d),f,this.changeStyle),_=function(){l.stopJSAnimation=w()};this.manager.start([g,v,_,f,p])}},{key:"runStepAnimation",value:function(a){var l=this,u=a.steps,c=a.begin,f=a.onAnimationStart,d=u[0],v=d.style,p=d.duration,g=p===void 0?0:p,w=function(S,b,O){if(O===0)return S;var P=b.duration,E=b.easing,T=E===void 0?"ease":E,j=b.style,A=b.properties,C=b.onAnimationEnd,N=O>0?u[O-1]:b,B=A||Object.keys(j);if(typeof T=="function"||T==="spring")return[].concat(Mm(S),[l.runJSAnimation.bind(l,{from:N.style,to:j,duration:P,easing:T}),P]);var $=eP(B,P,T),R=Lr(Lr(Lr({},N.style),j),{},{transition:$});return[].concat(Mm(S),[R,P,C]).filter($8)};return this.manager.start([f].concat(Mm(u.reduce(w,[v,Math.max(g,c)])),[a.onAnimationEnd]))}},{key:"runAnimation",value:function(a){this.manager||(this.manager=C8());var l=a.begin,u=a.duration,c=a.attributeName,f=a.to,d=a.easing,v=a.onAnimationStart,p=a.onAnimationEnd,g=a.steps,w=a.children,_=this.manager;if(this.unSubscribe=_.subscribe(this.handleStyleChange),typeof d=="function"||typeof w=="function"||d==="spring"){this.runJSAnimation(a);return}if(g.length>1){this.runStepAnimation(a);return}var S=c?sl({},c,f):f,b=eP(Object.keys(S),u,d);_.start([v,l,Lr(Lr({},S),{},{transition:b}),u,p])}},{key:"render",value:function(){var a=this.props,l=a.children;a.begin;var u=a.duration;a.attributeName,a.easing;var c=a.isActive;a.steps,a.from,a.to,a.canBegin,a.onAnimationEnd,a.shouldReAnimate,a.onAnimationReStart;var f=oF(a,aF),d=D.Children.count(l),v=this.state.style;if(typeof l=="function")return l(v);if(!c||d===0||u<=0)return l;var p=function(w){var _=w.props,S=_.style,b=S===void 0?{}:S,O=_.className,P=D.cloneElement(w,Lr(Lr({},f),{},{style:Lr(Lr({},b),v),className:O}));return P};return d===1?p(D.Children.only(l)):U.createElement("div",null,D.Children.map(l,function(g){return p(g)}))}}]),r})(D.PureComponent);jn.displayName="Animate";jn.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};jn.propTypes={from:ze.oneOfType([ze.object,ze.string]),to:ze.oneOfType([ze.object,ze.string]),attributeName:ze.string,duration:ze.number,begin:ze.number,easing:ze.oneOfType([ze.string,ze.func]),steps:ze.arrayOf(ze.shape({duration:ze.number.isRequired,style:ze.object.isRequired,easing:ze.oneOfType([ze.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),ze.func]),properties:ze.arrayOf("string"),onAnimationEnd:ze.func})),children:ze.oneOfType([ze.node,ze.func]),isActive:ze.bool,canBegin:ze.bool,onAnimationEnd:ze.func,shouldReAnimate:ze.bool,onAnimationStart:ze.func,onAnimationReStart:ze.func};function Fl(e){"@babel/helpers - typeof";return Fl=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},Fl(e)}function yc(){return yc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},yc.apply(this,arguments)}function bF(e,t){return _F(e)||SF(e,t)||wF(e,t)||xF()}function xF(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
234
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function wF(e,t){if(e){if(typeof e=="string")return oP(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return oP(e,t)}}function oP(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function SF(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,l,u,c=[],f=!0,d=!1;try{if(l=(r=r.call(e)).next,t!==0)for(;!(f=(n=l.call(r)).done)&&(c.push(n.value),c.length!==t);f=!0);}catch(v){d=!0,a=v}finally{try{if(!f&&r.return!=null&&(u=r.return(),Object(u)!==u))return}finally{if(d)throw a}}return c}}function _F(e){if(Array.isArray(e))return e}function lP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function uP(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?lP(Object(r),!0).forEach(function(n){OF(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):lP(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function OF(e,t,r){return t=jF(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jF(e){var t=PF(e,"string");return Fl(t)=="symbol"?t:t+""}function PF(e,t){if(Fl(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Fl(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var sP=function(t,r,n,a,l){var u=Math.min(Math.abs(n)/2,Math.abs(a)/2),c=a>=0?1:-1,f=n>=0?1:-1,d=a>=0&&n>=0||a<0&&n<0?1:0,v;if(u>0&&l instanceof Array){for(var p=[0,0,0,0],g=0,w=4;g<w;g++)p[g]=l[g]>u?u:l[g];v="M".concat(t,",").concat(r+c*p[0]),p[0]>0&&(v+="A ".concat(p[0],",").concat(p[0],",0,0,").concat(d,",").concat(t+f*p[0],",").concat(r)),v+="L ".concat(t+n-f*p[1],",").concat(r),p[1]>0&&(v+="A ".concat(p[1],",").concat(p[1],",0,0,").concat(d,`,
|
|
235
|
+
`).concat(t+n,",").concat(r+c*p[1])),v+="L ".concat(t+n,",").concat(r+a-c*p[2]),p[2]>0&&(v+="A ".concat(p[2],",").concat(p[2],",0,0,").concat(d,`,
|
|
236
|
+
`).concat(t+n-f*p[2],",").concat(r+a)),v+="L ".concat(t+f*p[3],",").concat(r+a),p[3]>0&&(v+="A ".concat(p[3],",").concat(p[3],",0,0,").concat(d,`,
|
|
237
|
+
`).concat(t,",").concat(r+a-c*p[3])),v+="Z"}else if(u>0&&l===+l&&l>0){var _=Math.min(u,l);v="M ".concat(t,",").concat(r+c*_,`
|
|
238
|
+
A `).concat(_,",").concat(_,",0,0,").concat(d,",").concat(t+f*_,",").concat(r,`
|
|
239
|
+
L `).concat(t+n-f*_,",").concat(r,`
|
|
240
|
+
A `).concat(_,",").concat(_,",0,0,").concat(d,",").concat(t+n,",").concat(r+c*_,`
|
|
241
|
+
L `).concat(t+n,",").concat(r+a-c*_,`
|
|
242
|
+
A `).concat(_,",").concat(_,",0,0,").concat(d,",").concat(t+n-f*_,",").concat(r+a,`
|
|
243
|
+
L `).concat(t+f*_,",").concat(r+a,`
|
|
244
|
+
A `).concat(_,",").concat(_,",0,0,").concat(d,",").concat(t,",").concat(r+a-c*_," Z")}else v="M ".concat(t,",").concat(r," h ").concat(n," v ").concat(a," h ").concat(-n," Z");return v},AF=function(t,r){if(!t||!r)return!1;var n=t.x,a=t.y,l=r.x,u=r.y,c=r.width,f=r.height;if(Math.abs(c)>0&&Math.abs(f)>0){var d=Math.min(l,l+c),v=Math.max(l,l+c),p=Math.min(u,u+f),g=Math.max(u,u+f);return n>=d&&n<=v&&a>=p&&a<=g}return!1},EF={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},_0=function(t){var r=uP(uP({},EF),t),n=D.useRef(),a=D.useState(-1),l=bF(a,2),u=l[0],c=l[1];D.useEffect(function(){if(n.current&&n.current.getTotalLength)try{var T=n.current.getTotalLength();T&&c(T)}catch{}},[]);var f=r.x,d=r.y,v=r.width,p=r.height,g=r.radius,w=r.className,_=r.animationEasing,S=r.animationDuration,b=r.animationBegin,O=r.isAnimationActive,P=r.isUpdateAnimationActive;if(f!==+f||d!==+d||v!==+v||p!==+p||v===0||p===0)return null;var E=Re("recharts-rectangle",w);return P?U.createElement(jn,{canBegin:u>0,from:{width:v,height:p,x:f,y:d},to:{width:v,height:p,x:f,y:d},duration:S,animationEasing:_,isActive:P},function(T){var j=T.width,A=T.height,C=T.x,N=T.y;return U.createElement(jn,{canBegin:u>0,from:"0px ".concat(u===-1?1:u,"px"),to:"".concat(u,"px 0px"),attributeName:"strokeDasharray",begin:b,duration:S,isActive:O,easing:_},U.createElement("path",yc({},Ne(r,!0),{className:E,d:sP(C,N,j,A,g),ref:n})))}):U.createElement("path",yc({},Ne(r,!0),{className:E,d:sP(f,d,v,p,g)}))};function og(){return og=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},og.apply(this,arguments)}var O0=function(t){var r=t.cx,n=t.cy,a=t.r,l=t.className,u=Re("recharts-dot",l);return r===+r&&n===+n&&a===+a?D.createElement("circle",og({},Ne(t,!1),Rs(t),{className:u,cx:r,cy:n,r:a})):null};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)}var kF=["x","y","top","left","width","height","className"];function lg(){return lg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},lg.apply(this,arguments)}function cP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function TF(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?cP(Object(r),!0).forEach(function(n){CF(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):cP(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function CF(e,t,r){return t=NF(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function NF(e){var t=MF(e,"string");return Ul(t)=="symbol"?t:t+""}function MF(e,t){if(Ul(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Ul(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function IF(e,t){if(e==null)return{};var r=$F(e,t),n,a;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function $F(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var RF=function(t,r,n,a,l,u){return"M".concat(t,",").concat(l,"v").concat(a,"M").concat(u,",").concat(r,"h").concat(n)},DF=function(t){var r=t.x,n=r===void 0?0:r,a=t.y,l=a===void 0?0:a,u=t.top,c=u===void 0?0:u,f=t.left,d=f===void 0?0:f,v=t.width,p=v===void 0?0:v,g=t.height,w=g===void 0?0:g,_=t.className,S=IF(t,kF),b=TF({x:n,y:l,top:c,left:d,width:p,height:w},S);return!ce(n)||!ce(l)||!ce(p)||!ce(w)||!ce(c)||!ce(d)?null:U.createElement("path",lg({},Ne(b,!0),{className:Re("recharts-cross",_),d:RF(n,l,p,w,c,d)}))},Im,fP;function LF(){if(fP)return Im;fP=1;var e=bE(),t=e(Object.getPrototypeOf,Object);return Im=t,Im}var $m,dP;function BF(){if(dP)return $m;dP=1;var e=Pn(),t=LF(),r=An(),n="[object Object]",a=Function.prototype,l=Object.prototype,u=a.toString,c=l.hasOwnProperty,f=u.call(Object);function d(v){if(!r(v)||e(v)!=n)return!1;var p=t(v);if(p===null)return!0;var g=c.call(p,"constructor")&&p.constructor;return typeof g=="function"&&g instanceof g&&u.call(g)==f}return $m=d,$m}var qF=BF();const zF=We(qF);var Rm,hP;function FF(){if(hP)return Rm;hP=1;var e=Pn(),t=An(),r="[object Boolean]";function n(a){return a===!0||a===!1||t(a)&&e(a)==r}return Rm=n,Rm}var UF=FF();const WF=We(UF);function Wl(e){"@babel/helpers - typeof";return Wl=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},Wl(e)}function gc(){return gc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},gc.apply(this,arguments)}function HF(e,t){return XF(e)||KF(e,t)||GF(e,t)||VF()}function VF(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
245
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function GF(e,t){if(e){if(typeof e=="string")return pP(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return pP(e,t)}}function pP(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function KF(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,l,u,c=[],f=!0,d=!1;try{if(l=(r=r.call(e)).next,t!==0)for(;!(f=(n=l.call(r)).done)&&(c.push(n.value),c.length!==t);f=!0);}catch(v){d=!0,a=v}finally{try{if(!f&&r.return!=null&&(u=r.return(),Object(u)!==u))return}finally{if(d)throw a}}return c}}function XF(e){if(Array.isArray(e))return e}function vP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function mP(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?vP(Object(r),!0).forEach(function(n){YF(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vP(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function YF(e,t,r){return t=QF(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function QF(e){var t=ZF(e,"string");return Wl(t)=="symbol"?t:t+""}function ZF(e,t){if(Wl(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Wl(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var yP=function(t,r,n,a,l){var u=n-a,c;return c="M ".concat(t,",").concat(r),c+="L ".concat(t+n,",").concat(r),c+="L ".concat(t+n-u/2,",").concat(r+l),c+="L ".concat(t+n-u/2-a,",").concat(r+l),c+="L ".concat(t,",").concat(r," Z"),c},JF={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},eU=function(t){var r=mP(mP({},JF),t),n=D.useRef(),a=D.useState(-1),l=HF(a,2),u=l[0],c=l[1];D.useEffect(function(){if(n.current&&n.current.getTotalLength)try{var E=n.current.getTotalLength();E&&c(E)}catch{}},[]);var f=r.x,d=r.y,v=r.upperWidth,p=r.lowerWidth,g=r.height,w=r.className,_=r.animationEasing,S=r.animationDuration,b=r.animationBegin,O=r.isUpdateAnimationActive;if(f!==+f||d!==+d||v!==+v||p!==+p||g!==+g||v===0&&p===0||g===0)return null;var P=Re("recharts-trapezoid",w);return O?U.createElement(jn,{canBegin:u>0,from:{upperWidth:0,lowerWidth:0,height:g,x:f,y:d},to:{upperWidth:v,lowerWidth:p,height:g,x:f,y:d},duration:S,animationEasing:_,isActive:O},function(E){var T=E.upperWidth,j=E.lowerWidth,A=E.height,C=E.x,N=E.y;return U.createElement(jn,{canBegin:u>0,from:"0px ".concat(u===-1?1:u,"px"),to:"".concat(u,"px 0px"),attributeName:"strokeDasharray",begin:b,duration:S,easing:_},U.createElement("path",gc({},Ne(r,!0),{className:P,d:yP(C,N,T,j,A),ref:n})))}):U.createElement("g",null,U.createElement("path",gc({},Ne(r,!0),{className:P,d:yP(f,d,v,p,g)})))},tU=["option","shapeType","propTransformer","activeClassName","isActive"];function Hl(e){"@babel/helpers - typeof";return Hl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Hl(e)}function rU(e,t){if(e==null)return{};var r=nU(e,t),n,a;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function nU(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function gP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function bc(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?gP(Object(r),!0).forEach(function(n){iU(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):gP(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function iU(e,t,r){return t=aU(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function aU(e){var t=oU(e,"string");return Hl(t)=="symbol"?t:t+""}function oU(e,t){if(Hl(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Hl(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function lU(e,t){return bc(bc({},t),e)}function uU(e,t){return e==="symbols"}function bP(e){var t=e.shapeType,r=e.elementProps;switch(t){case"rectangle":return U.createElement(_0,r);case"trapezoid":return U.createElement(eU,r);case"sector":return U.createElement(Vk,r);case"symbols":if(uU(t))return U.createElement(Fg,r);break;default:return null}}function sU(e){return D.isValidElement(e)?e.props:e}function cU(e){var t=e.option,r=e.shapeType,n=e.propTransformer,a=n===void 0?lU:n,l=e.activeClassName,u=l===void 0?"recharts-active-shape":l,c=e.isActive,f=rU(e,tU),d;if(D.isValidElement(t))d=D.cloneElement(t,bc(bc({},f),sU(t)));else if(Ee(t))d=t(f);else if(zF(t)&&!WF(t)){var v=a(t,f);d=U.createElement(bP,{shapeType:r,elementProps:v})}else{var p=f;d=U.createElement(bP,{shapeType:r,elementProps:p})}return c?U.createElement(ot,{className:u},d):d}function of(e,t){return t!=null&&"trapezoids"in e.props}function lf(e,t){return t!=null&&"sectors"in e.props}function Vl(e,t){return t!=null&&"points"in e.props}function fU(e,t){var r,n,a=e.x===(t==null||(r=t.labelViewBox)===null||r===void 0?void 0:r.x)||e.x===t.x,l=e.y===(t==null||(n=t.labelViewBox)===null||n===void 0?void 0:n.y)||e.y===t.y;return a&&l}function dU(e,t){var r=e.endAngle===t.endAngle,n=e.startAngle===t.startAngle;return r&&n}function hU(e,t){var r=e.x===t.x,n=e.y===t.y,a=e.z===t.z;return r&&n&&a}function pU(e,t){var r;return of(e,t)?r=fU:lf(e,t)?r=dU:Vl(e,t)&&(r=hU),r}function vU(e,t){var r;return of(e,t)?r="trapezoids":lf(e,t)?r="sectors":Vl(e,t)&&(r="points"),r}function mU(e,t){if(of(e,t)){var r;return(r=t.tooltipPayload)===null||r===void 0||(r=r[0])===null||r===void 0||(r=r.payload)===null||r===void 0?void 0:r.payload}if(lf(e,t)){var n;return(n=t.tooltipPayload)===null||n===void 0||(n=n[0])===null||n===void 0||(n=n.payload)===null||n===void 0?void 0:n.payload}return Vl(e,t)?t.payload:{}}function yU(e){var t=e.activeTooltipItem,r=e.graphicalItem,n=e.itemData,a=vU(r,t),l=mU(r,t),u=n.filter(function(f,d){var v=kl(l,f),p=r.props[a].filter(function(_){var S=pU(r,t);return S(_,t)}),g=r.props[a].indexOf(p[p.length-1]),w=d===g;return v&&w}),c=n.indexOf(u[u.length-1]);return c}var Dm,xP;function gU(){if(xP)return Dm;xP=1;var e=Math.ceil,t=Math.max;function r(n,a,l,u){for(var c=-1,f=t(e((a-n)/(l||1)),0),d=Array(f);f--;)d[u?f:++c]=n,n+=l;return d}return Dm=r,Dm}var Lm,wP;function eT(){if(wP)return Lm;wP=1;var e=$E(),t=1/0,r=17976931348623157e292;function n(a){if(!a)return a===0?a:0;if(a=e(a),a===t||a===-t){var l=a<0?-1:1;return l*r}return a===a?a:0}return Lm=n,Lm}var Bm,SP;function bU(){if(SP)return Bm;SP=1;var e=gU(),t=Kc(),r=eT();function n(a){return function(l,u,c){return c&&typeof c!="number"&&t(l,u,c)&&(u=c=void 0),l=r(l),u===void 0?(u=l,l=0):u=r(u),c=c===void 0?l<u?1:-1:r(c),e(l,u,c,a)}}return Bm=n,Bm}var qm,_P;function xU(){if(_P)return qm;_P=1;var e=bU(),t=e();return qm=t,qm}var wU=xU();const xc=We(wU);function Gl(e){"@babel/helpers - typeof";return Gl=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},Gl(e)}function OP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function jP(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?OP(Object(r),!0).forEach(function(n){tT(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):OP(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function tT(e,t,r){return t=SU(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function SU(e){var t=_U(e,"string");return Gl(t)=="symbol"?t:t+""}function _U(e,t){if(Gl(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Gl(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var OU=["Webkit","Moz","O","ms"],jU=function(t,r){var n=t.replace(/(\w)/,function(l){return l.toUpperCase()}),a=OU.reduce(function(l,u){return jP(jP({},l),{},tT({},u+n,r))},{});return a[t]=r,a};function Fa(e){"@babel/helpers - typeof";return Fa=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},Fa(e)}function wc(){return wc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},wc.apply(this,arguments)}function PP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function zm(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?PP(Object(r),!0).forEach(function(n){cr(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):PP(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function PU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,nT(n.key),n)}}function AU(e,t,r){return t&&AP(e.prototype,t),r&&AP(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function EU(e,t,r){return t=Sc(t),kU(e,rT()?Reflect.construct(t,r||[],Sc(e).constructor):t.apply(e,r))}function kU(e,t){if(t&&(Fa(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return TU(e)}function TU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(rT=function(){return!!e})()}function Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Sc(e)}function CU(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&&ug(e,t)}function ug(e,t){return ug=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},ug(e,t)}function cr(e,t,r){return t=nT(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nT(e){var t=NU(e,"string");return Fa(t)=="symbol"?t:t+""}function NU(e,t){if(Fa(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Fa(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var MU=function(t){var r=t.data,n=t.startIndex,a=t.endIndex,l=t.x,u=t.width,c=t.travellerWidth;if(!r||!r.length)return{};var f=r.length,d=fl().domain(xc(0,f)).range([l,l+u-c]),v=d.domain().map(function(p){return d(p)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:d(n),endX:d(a),scale:d,scaleValues:v}},EP=function(t){return t.changedTouches&&!!t.changedTouches.length},Ua=(function(e){function t(r){var n;return PU(this,t),n=EU(this,t,[r]),cr(n,"handleDrag",function(a){n.leaveTimer&&(clearTimeout(n.leaveTimer),n.leaveTimer=null),n.state.isTravellerMoving?n.handleTravellerMove(a):n.state.isSlideMoving&&n.handleSlideDrag(a)}),cr(n,"handleTouchMove",function(a){a.changedTouches!=null&&a.changedTouches.length>0&&n.handleDrag(a.changedTouches[0])}),cr(n,"handleDragEnd",function(){n.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var a=n.props,l=a.endIndex,u=a.onDragEnd,c=a.startIndex;u==null||u({endIndex:l,startIndex:c})}),n.detachDragEndListener()}),cr(n,"handleLeaveWrapper",function(){(n.state.isTravellerMoving||n.state.isSlideMoving)&&(n.leaveTimer=window.setTimeout(n.handleDragEnd,n.props.leaveTimeOut))}),cr(n,"handleEnterSlideOrTraveller",function(){n.setState({isTextActive:!0})}),cr(n,"handleLeaveSlideOrTraveller",function(){n.setState({isTextActive:!1})}),cr(n,"handleSlideDragStart",function(a){var l=EP(a)?a.changedTouches[0]:a;n.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:l.pageX}),n.attachDragEndListener()}),n.travellerDragStartHandlers={startX:n.handleTravellerDragStart.bind(n,"startX"),endX:n.handleTravellerDragStart.bind(n,"endX")},n.state={},n}return CU(t,e),AU(t,[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(n){var a=n.startX,l=n.endX,u=this.state.scaleValues,c=this.props,f=c.gap,d=c.data,v=d.length-1,p=Math.min(a,l),g=Math.max(a,l),w=t.getIndexInRange(u,p),_=t.getIndexInRange(u,g);return{startIndex:w-w%f,endIndex:_===v?v:_-_%f}}},{key:"getTextOfTick",value:function(n){var a=this.props,l=a.data,u=a.tickFormatter,c=a.dataKey,f=hr(l[n],c,n);return Ee(u)?u(f,n):f}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(n){var a=this.state,l=a.slideMoveStartX,u=a.startX,c=a.endX,f=this.props,d=f.x,v=f.width,p=f.travellerWidth,g=f.startIndex,w=f.endIndex,_=f.onChange,S=n.pageX-l;S>0?S=Math.min(S,d+v-p-c,d+v-p-u):S<0&&(S=Math.max(S,d-u,d-c));var b=this.getIndex({startX:u+S,endX:c+S});(b.startIndex!==g||b.endIndex!==w)&&_&&_(b),this.setState({startX:u+S,endX:c+S,slideMoveStartX:n.pageX})}},{key:"handleTravellerDragStart",value:function(n,a){var l=EP(a)?a.changedTouches[0]:a;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:n,brushMoveStartX:l.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(n){var a=this.state,l=a.brushMoveStartX,u=a.movingTravellerId,c=a.endX,f=a.startX,d=this.state[u],v=this.props,p=v.x,g=v.width,w=v.travellerWidth,_=v.onChange,S=v.gap,b=v.data,O={startX:this.state.startX,endX:this.state.endX},P=n.pageX-l;P>0?P=Math.min(P,p+g-w-d):P<0&&(P=Math.max(P,p-d)),O[u]=d+P;var E=this.getIndex(O),T=E.startIndex,j=E.endIndex,A=function(){var N=b.length-1;return u==="startX"&&(c>f?T%S===0:j%S===0)||c<f&&j===N||u==="endX"&&(c>f?j%S===0:T%S===0)||c>f&&j===N};this.setState(cr(cr({},u,d+P),"brushMoveStartX",n.pageX),function(){_&&A()&&_(E)})}},{key:"handleTravellerMoveKeyboard",value:function(n,a){var l=this,u=this.state,c=u.scaleValues,f=u.startX,d=u.endX,v=this.state[a],p=c.indexOf(v);if(p!==-1){var g=p+n;if(!(g===-1||g>=c.length)){var w=c[g];a==="startX"&&w>=d||a==="endX"&&w<=f||this.setState(cr({},a,w),function(){l.props.onChange(l.getIndex({startX:l.state.startX,endX:l.state.endX}))})}}}},{key:"renderBackground",value:function(){var n=this.props,a=n.x,l=n.y,u=n.width,c=n.height,f=n.fill,d=n.stroke;return U.createElement("rect",{stroke:d,fill:f,x:a,y:l,width:u,height:c})}},{key:"renderPanorama",value:function(){var n=this.props,a=n.x,l=n.y,u=n.width,c=n.height,f=n.data,d=n.children,v=n.padding,p=D.Children.only(d);return p?U.cloneElement(p,{x:a,y:l,width:u,height:c,margin:v,compact:!0,data:f}):null}},{key:"renderTravellerLayer",value:function(n,a){var l,u,c=this,f=this.props,d=f.y,v=f.travellerWidth,p=f.height,g=f.traveller,w=f.ariaLabel,_=f.data,S=f.startIndex,b=f.endIndex,O=Math.max(n,this.props.x),P=zm(zm({},Ne(this.props,!1)),{},{x:O,y:d,width:v,height:p}),E=w||"Min value: ".concat((l=_[S])===null||l===void 0?void 0:l.name,", Max value: ").concat((u=_[b])===null||u===void 0?void 0:u.name);return U.createElement(ot,{tabIndex:0,role:"slider","aria-label":E,"aria-valuenow":n,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[a],onTouchStart:this.travellerDragStartHandlers[a],onKeyDown:function(j){["ArrowLeft","ArrowRight"].includes(j.key)&&(j.preventDefault(),j.stopPropagation(),c.handleTravellerMoveKeyboard(j.key==="ArrowRight"?1:-1,a))},onFocus:function(){c.setState({isTravellerFocused:!0})},onBlur:function(){c.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},t.renderTraveller(g,P))}},{key:"renderSlide",value:function(n,a){var l=this.props,u=l.y,c=l.height,f=l.stroke,d=l.travellerWidth,v=Math.min(n,a)+d,p=Math.max(Math.abs(a-n)-d,0);return U.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:f,fillOpacity:.2,x:v,y:u,width:p,height:c})}},{key:"renderText",value:function(){var n=this.props,a=n.startIndex,l=n.endIndex,u=n.y,c=n.height,f=n.travellerWidth,d=n.stroke,v=this.state,p=v.startX,g=v.endX,w=5,_={pointerEvents:"none",fill:d};return U.createElement(ot,{className:"recharts-brush-texts"},U.createElement(Ks,wc({textAnchor:"end",verticalAnchor:"middle",x:Math.min(p,g)-w,y:u+c/2},_),this.getTextOfTick(a)),U.createElement(Ks,wc({textAnchor:"start",verticalAnchor:"middle",x:Math.max(p,g)+f+w,y:u+c/2},_),this.getTextOfTick(l)))}},{key:"render",value:function(){var n=this.props,a=n.data,l=n.className,u=n.children,c=n.x,f=n.y,d=n.width,v=n.height,p=n.alwaysShowText,g=this.state,w=g.startX,_=g.endX,S=g.isTextActive,b=g.isSlideMoving,O=g.isTravellerMoving,P=g.isTravellerFocused;if(!a||!a.length||!ce(c)||!ce(f)||!ce(d)||!ce(v)||d<=0||v<=0)return null;var E=Re("recharts-brush",l),T=U.Children.count(u)===1,j=jU("userSelect","none");return U.createElement(ot,{className:E,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:j},this.renderBackground(),T&&this.renderPanorama(),this.renderSlide(w,_),this.renderTravellerLayer(w,"startX"),this.renderTravellerLayer(_,"endX"),(S||b||O||P||p)&&this.renderText())}}],[{key:"renderDefaultTraveller",value:function(n){var a=n.x,l=n.y,u=n.width,c=n.height,f=n.stroke,d=Math.floor(l+c/2)-1;return U.createElement(U.Fragment,null,U.createElement("rect",{x:a,y:l,width:u,height:c,fill:f,stroke:"none"}),U.createElement("line",{x1:a+1,y1:d,x2:a+u-1,y2:d,fill:"none",stroke:"#fff"}),U.createElement("line",{x1:a+1,y1:d+2,x2:a+u-1,y2:d+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(n,a){var l;return U.isValidElement(n)?l=U.cloneElement(n,a):Ee(n)?l=n(a):l=t.renderDefaultTraveller(a),l}},{key:"getDerivedStateFromProps",value:function(n,a){var l=n.data,u=n.width,c=n.x,f=n.travellerWidth,d=n.updateId,v=n.startIndex,p=n.endIndex;if(l!==a.prevData||d!==a.prevUpdateId)return zm({prevData:l,prevTravellerWidth:f,prevUpdateId:d,prevX:c,prevWidth:u},l&&l.length?MU({data:l,width:u,x:c,travellerWidth:f,startIndex:v,endIndex:p}):{scale:null,scaleValues:null});if(a.scale&&(u!==a.prevWidth||c!==a.prevX||f!==a.prevTravellerWidth)){a.scale.range([c,c+u-f]);var g=a.scale.domain().map(function(w){return a.scale(w)});return{prevData:l,prevTravellerWidth:f,prevUpdateId:d,prevX:c,prevWidth:u,startX:a.scale(n.startIndex),endX:a.scale(n.endIndex),scaleValues:g}}return null}},{key:"getIndexInRange",value:function(n,a){for(var l=n.length,u=0,c=l-1;c-u>1;){var f=Math.floor((u+c)/2);n[f]>a?c=f:u=f}return a>=n[c]?c:u}}])})(D.PureComponent);cr(Ua,"displayName","Brush");cr(Ua,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1});var Fm,kP;function IU(){if(kP)return Fm;kP=1;var e=Xg();function t(r,n){var a;return e(r,function(l,u,c){return a=n(l,u,c),!a}),!!a}return Fm=t,Fm}var Um,TP;function $U(){if(TP)return Um;TP=1;var e=dE(),t=si(),r=IU(),n=ir(),a=Kc();function l(u,c,f){var d=n(u)?e:r;return f&&a(u,c,f)&&(c=void 0),d(u,t(c,3))}return Um=l,Um}var RU=$U();const DU=We(RU);var en=function(t,r){var n=t.alwaysShow,a=t.ifOverflow;return n&&(a="extendDomain"),a===r},Wm,CP;function LU(){if(CP)return Wm;CP=1;var e=TE();function t(r,n,a){n=="__proto__"&&e?e(r,n,{configurable:!0,enumerable:!0,value:a,writable:!0}):r[n]=a}return Wm=t,Wm}var Hm,NP;function BU(){if(NP)return Hm;NP=1;var e=LU(),t=EE(),r=si();function n(a,l){var u={};return l=r(l,3),t(a,function(c,f,d){e(u,f,l(c,f,d))}),u}return Hm=n,Hm}var qU=BU();const zU=We(qU);var Vm,MP;function FU(){if(MP)return Vm;MP=1;function e(t,r){for(var n=-1,a=t==null?0:t.length;++n<a;)if(!r(t[n],n,t))return!1;return!0}return Vm=e,Vm}var Gm,IP;function UU(){if(IP)return Gm;IP=1;var e=Xg();function t(r,n){var a=!0;return e(r,function(l,u,c){return a=!!n(l,u,c),a}),a}return Gm=t,Gm}var Km,$P;function WU(){if($P)return Km;$P=1;var e=FU(),t=UU(),r=si(),n=ir(),a=Kc();function l(u,c,f){var d=n(u)?e:t;return f&&a(u,c,f)&&(c=void 0),d(u,r(c,3))}return Km=l,Km}var HU=WU();const iT=We(HU);var VU=["x","y"];function Kl(e){"@babel/helpers - typeof";return Kl=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},Kl(e)}function sg(){return sg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},sg.apply(this,arguments)}function RP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function ol(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?RP(Object(r),!0).forEach(function(n){GU(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):RP(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function GU(e,t,r){return t=KU(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function KU(e){var t=XU(e,"string");return Kl(t)=="symbol"?t:t+""}function XU(e,t){if(Kl(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Kl(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function YU(e,t){if(e==null)return{};var r=QU(e,t),n,a;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function QU(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function ZU(e,t){var r=e.x,n=e.y,a=YU(e,VU),l="".concat(r),u=parseInt(l,10),c="".concat(n),f=parseInt(c,10),d="".concat(t.height||a.height),v=parseInt(d,10),p="".concat(t.width||a.width),g=parseInt(p,10);return ol(ol(ol(ol(ol({},t),a),u?{x:u}:{}),f?{y:f}:{}),{},{height:v,width:g,name:t.name,radius:t.radius})}function DP(e){return U.createElement(cU,sg({shapeType:"rectangle",propTransformer:ZU,activeClassName:"recharts-active-bar"},e))}var JU=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return function(n,a){if(typeof t=="number")return t;var l=ce(n)||tI(n);return l?t(n,a):(l||Ui(),r)}},e6=["value","background"],aT;function Wa(e){"@babel/helpers - typeof";return Wa=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},Wa(e)}function t6(e,t){if(e==null)return{};var r=r6(e,t),n,a;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function r6(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function _c(){return _c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_c.apply(this,arguments)}function LP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function pt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?LP(Object(r),!0).forEach(function(n){ni(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):LP(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function n6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,lT(n.key),n)}}function i6(e,t,r){return t&&BP(e.prototype,t),r&&BP(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function a6(e,t,r){return t=Oc(t),o6(e,oT()?Reflect.construct(t,r||[],Oc(e).constructor):t.apply(e,r))}function o6(e,t){if(t&&(Wa(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return l6(e)}function l6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(oT=function(){return!!e})()}function Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Oc(e)}function u6(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&&cg(e,t)}function cg(e,t){return cg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},cg(e,t)}function ni(e,t,r){return t=lT(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lT(e){var t=s6(e,"string");return Wa(t)=="symbol"?t:t+""}function s6(e,t){if(Wa(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Wa(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var lu=(function(e){function t(){var r;n6(this,t);for(var n=arguments.length,a=new Array(n),l=0;l<n;l++)a[l]=arguments[l];return r=a6(this,t,[].concat(a)),ni(r,"state",{isAnimationFinished:!1}),ni(r,"id",tu("recharts-bar-")),ni(r,"handleAnimationEnd",function(){var u=r.props.onAnimationEnd;r.setState({isAnimationFinished:!0}),u&&u()}),ni(r,"handleAnimationStart",function(){var u=r.props.onAnimationStart;r.setState({isAnimationFinished:!1}),u&&u()}),r}return u6(t,e),i6(t,[{key:"renderRectanglesStatically",value:function(n){var a=this,l=this.props,u=l.shape,c=l.dataKey,f=l.activeIndex,d=l.activeBar,v=Ne(this.props,!1);return n&&n.map(function(p,g){var w=g===f,_=w?d:u,S=pt(pt(pt({},v),p),{},{isActive:w,option:_,index:g,dataKey:c,onAnimationStart:a.handleAnimationStart,onAnimationEnd:a.handleAnimationEnd});return U.createElement(ot,_c({className:"recharts-bar-rectangle"},Ds(a.props,p,g),{key:"rectangle-".concat(p==null?void 0:p.x,"-").concat(p==null?void 0:p.y,"-").concat(p==null?void 0:p.value,"-").concat(g)}),U.createElement(DP,S))})}},{key:"renderRectanglesWithAnimation",value:function(){var n=this,a=this.props,l=a.data,u=a.layout,c=a.isAnimationActive,f=a.animationBegin,d=a.animationDuration,v=a.animationEasing,p=a.animationId,g=this.state.prevData;return U.createElement(jn,{begin:f,duration:d,isActive:c,easing:v,from:{t:0},to:{t:1},key:"bar-".concat(p),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(w){var _=w.t,S=l.map(function(b,O){var P=g&&g[O];if(P){var E=jr(P.x,b.x),T=jr(P.y,b.y),j=jr(P.width,b.width),A=jr(P.height,b.height);return pt(pt({},b),{},{x:E(_),y:T(_),width:j(_),height:A(_)})}if(u==="horizontal"){var C=jr(0,b.height),N=C(_);return pt(pt({},b),{},{y:b.y+b.height-N,height:N})}var B=jr(0,b.width),$=B(_);return pt(pt({},b),{},{width:$})});return U.createElement(ot,null,n.renderRectanglesStatically(S))})}},{key:"renderRectangles",value:function(){var n=this.props,a=n.data,l=n.isAnimationActive,u=this.state.prevData;return l&&a&&a.length&&(!u||!kl(u,a))?this.renderRectanglesWithAnimation():this.renderRectanglesStatically(a)}},{key:"renderBackground",value:function(){var n=this,a=this.props,l=a.data,u=a.dataKey,c=a.activeIndex,f=Ne(this.props.background,!1);return l.map(function(d,v){d.value;var p=d.background,g=t6(d,e6);if(!p)return null;var w=pt(pt(pt(pt(pt({},g),{},{fill:"#eee"},p),f),Ds(n.props,d,v)),{},{onAnimationStart:n.handleAnimationStart,onAnimationEnd:n.handleAnimationEnd,dataKey:u,index:v,className:"recharts-bar-background-rectangle"});return U.createElement(DP,_c({key:"background-bar-".concat(v),option:n.props.background,isActive:v===c},w))})}},{key:"renderErrorBar",value:function(n,a){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var l=this.props,u=l.data,c=l.xAxis,f=l.yAxis,d=l.layout,v=l.children,p=Ur(v,af);if(!p)return null;var g=d==="vertical"?u[0].height/2:u[0].width/2,w=function(b,O){var P=Array.isArray(b.value)?b.value[1]:b.value;return{x:b.x,y:b.y,value:P,errorVal:hr(b,O)}},_={clipPath:n?"url(#clipPath-".concat(a,")"):null};return U.createElement(ot,_,p.map(function(S){return U.cloneElement(S,{key:"error-bar-".concat(a,"-").concat(S.props.dataKey),data:u,xAxis:c,yAxis:f,layout:d,offset:g,dataPointFormatter:w})}))}},{key:"render",value:function(){var n=this.props,a=n.hide,l=n.data,u=n.className,c=n.xAxis,f=n.yAxis,d=n.left,v=n.top,p=n.width,g=n.height,w=n.isAnimationActive,_=n.background,S=n.id;if(a||!l||!l.length)return null;var b=this.state.isAnimationFinished,O=Re("recharts-bar",u),P=c&&c.allowDataOverflow,E=f&&f.allowDataOverflow,T=P||E,j=Me(S)?this.id:S;return U.createElement(ot,{className:O},P||E?U.createElement("defs",null,U.createElement("clipPath",{id:"clipPath-".concat(j)},U.createElement("rect",{x:P?d:d-p/2,y:E?v:v-g/2,width:P?p:p*2,height:E?g:g*2}))):null,U.createElement(ot,{className:"recharts-bar-rectangles",clipPath:T?"url(#clipPath-".concat(j,")"):null},_?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(T,j),(!w||b)&&oi.renderCallByParent(this.props,l))}}],[{key:"getDerivedStateFromProps",value:function(n,a){return n.animationId!==a.prevAnimationId?{prevAnimationId:n.animationId,curData:n.data,prevData:a.curData}:n.data!==a.curData?{curData:n.data}:null}}])})(D.PureComponent);aT=lu;ni(lu,"displayName","Bar");ni(lu,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!oo.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"});ni(lu,"getComposedData",function(e){var t=e.props,r=e.item,n=e.barPosition,a=e.bandSize,l=e.xAxis,u=e.yAxis,c=e.xAxisTicks,f=e.yAxisTicks,d=e.stackedData,v=e.dataStartIndex,p=e.displayedData,g=e.offset,w=xz(n,r);if(!w)return null;var _=t.layout,S=r.type.defaultProps,b=S!==void 0?pt(pt({},S),r.props):r.props,O=b.dataKey,P=b.children,E=b.minPointSize,T=_==="horizontal"?u:l,j=d?T.scale.domain():null,A=Ez({numericAxis:T}),C=Ur(P,LE),N=p.map(function(B,$){var R,q,H,X,Q,ee;d?R=wz(d[v+$],j):(R=hr(B,O),Array.isArray(R)||(R=[A,R]));var te=JU(E,aT.defaultProps.minPointSize)(R[1],$);if(_==="horizontal"){var L,V=[u.scale(R[0]),u.scale(R[1])],Z=V[0],I=V[1];q=Pj({axis:l,ticks:c,bandSize:a,offset:w.offset,entry:B,index:$}),H=(L=I??Z)!==null&&L!==void 0?L:void 0,X=w.size;var W=Z-I;if(Q=Number.isNaN(W)?0:W,ee={x:q,y:u.y,width:X,height:u.height},Math.abs(te)>0&&Math.abs(Q)<Math.abs(te)){var ue=Fr(Q||te)*(Math.abs(te)-Math.abs(Q));H-=ue,Q+=ue}}else{var ve=[l.scale(R[0]),l.scale(R[1])],we=ve[0],je=ve[1];if(q=we,H=Pj({axis:u,ticks:f,bandSize:a,offset:w.offset,entry:B,index:$}),X=je-we,Q=w.size,ee={x:l.x,y:H,width:l.width,height:Q},Math.abs(te)>0&&Math.abs(X)<Math.abs(te)){var Te=Fr(X||te)*(Math.abs(te)-Math.abs(X));X+=Te}}return pt(pt(pt({},B),{},{x:q,y:H,width:X,height:Q,value:d?R:R[1],payload:B,background:ee},C&&C[$]&&C[$].props),{},{tooltipPayload:[Uk(r,B)],tooltipPosition:{x:q+X/2,y:H+Q/2}})});return pt({data:N,layout:_},g)});function Xl(e){"@babel/helpers - typeof";return Xl=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},Xl(e)}function c6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,uT(n.key),n)}}function f6(e,t,r){return t&&qP(e.prototype,t),r&&qP(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function zP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function qr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?zP(Object(r),!0).forEach(function(n){uf(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zP(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function uf(e,t,r){return t=uT(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uT(e){var t=d6(e,"string");return Xl(t)=="symbol"?t:t+""}function d6(e,t){if(Xl(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Xl(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var h6=function(t,r,n,a,l){var u=t.width,c=t.height,f=t.layout,d=t.children,v=Object.keys(r),p={left:n.left,leftMirror:n.left,right:u-n.right,rightMirror:u-n.right,top:n.top,topMirror:n.top,bottom:c-n.bottom,bottomMirror:c-n.bottom},g=!!fr(d,lu);return v.reduce(function(w,_){var S=r[_],b=S.orientation,O=S.domain,P=S.padding,E=P===void 0?{}:P,T=S.mirror,j=S.reversed,A="".concat(b).concat(T?"Mirror":""),C,N,B,$,R;if(S.type==="number"&&(S.padding==="gap"||S.padding==="no-gap")){var q=O[1]-O[0],H=1/0,X=S.categoricalDomain.sort(iI);if(X.forEach(function(ve,we){we>0&&(H=Math.min((ve||0)-(X[we-1]||0),H))}),Number.isFinite(H)){var Q=H/q,ee=S.layout==="vertical"?n.height:n.width;if(S.padding==="gap"&&(C=Q*ee/2),S.padding==="no-gap"){var te=zi(t.barCategoryGap,Q*ee),L=Q*ee/2;C=L-te-(L-te)/ee*te}}}a==="xAxis"?N=[n.left+(E.left||0)+(C||0),n.left+n.width-(E.right||0)-(C||0)]:a==="yAxis"?N=f==="horizontal"?[n.top+n.height-(E.bottom||0),n.top+(E.top||0)]:[n.top+(E.top||0)+(C||0),n.top+n.height-(E.bottom||0)-(C||0)]:N=S.range,j&&(N=[N[1],N[0]]);var V=gz(S,l,g),Z=V.scale,I=V.realScaleType;Z.domain(O).range(N),bz(Z);var W=Az(Z,qr(qr({},S),{},{realScaleType:I}));a==="xAxis"?(R=b==="top"&&!T||b==="bottom"&&T,B=n.left,$=p[A]-R*S.height):a==="yAxis"&&(R=b==="left"&&!T||b==="right"&&T,B=p[A]-R*S.width,$=n.top);var ue=qr(qr(qr({},S),W),{},{realScaleType:I,x:B,y:$,scale:Z,width:a==="xAxis"?n.width:S.width,height:a==="yAxis"?n.height:S.height});return ue.bandSize=sc(ue,W),!S.hide&&a==="xAxis"?p[A]+=(R?-1:1)*ue.height:S.hide||(p[A]+=(R?-1:1)*ue.width),qr(qr({},w),{},uf({},_,ue))},{})},sT=function(t,r){var n=t.x,a=t.y,l=r.x,u=r.y;return{x:Math.min(n,l),y:Math.min(a,u),width:Math.abs(l-n),height:Math.abs(u-a)}},p6=function(t){var r=t.x1,n=t.y1,a=t.x2,l=t.y2;return sT({x:r,y:n},{x:a,y:l})},cT=(function(){function e(t){c6(this,e),this.scale=t}return f6(e,[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.bandAware,l=n.position;if(r!==void 0){if(l)switch(l){case"start":return this.scale(r);case"middle":{var u=this.bandwidth?this.bandwidth()/2:0;return this.scale(r)+u}case"end":{var c=this.bandwidth?this.bandwidth():0;return this.scale(r)+c}default:return this.scale(r)}if(a){var f=this.bandwidth?this.bandwidth()/2:0;return this.scale(r)+f}return this.scale(r)}}},{key:"isInRange",value:function(r){var n=this.range(),a=n[0],l=n[n.length-1];return a<=l?r>=a&&r<=l:r>=l&&r<=a}}],[{key:"create",value:function(r){return new e(r)}}])})();uf(cT,"EPS",1e-4);var j0=function(t){var r=Object.keys(t).reduce(function(n,a){return qr(qr({},n),{},uf({},a,cT.create(t[a])))},{});return qr(qr({},r),{},{apply:function(a){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=l.bandAware,c=l.position;return zU(a,function(f,d){return r[d].apply(f,{bandAware:u,position:c})})},isInRange:function(a){return iT(a,function(l,u){return r[u].isInRange(l)})}})};function v6(e){return(e%180+180)%180}var m6=function(t){var r=t.width,n=t.height,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,l=v6(a),u=l*Math.PI/180,c=Math.atan(n/r),f=u>c&&u<Math.PI-c?n/Math.sin(u):r/Math.cos(u);return Math.abs(f)},Xm,FP;function y6(){if(FP)return Xm;FP=1;var e=si(),t=ru(),r=Vc();function n(a){return function(l,u,c){var f=Object(l);if(!t(l)){var d=e(u,3);l=r(l),u=function(p){return d(f[p],p,f)}}var v=a(l,u,c);return v>-1?f[d?l[v]:v]:void 0}}return Xm=n,Xm}var Ym,UP;function g6(){if(UP)return Ym;UP=1;var e=eT();function t(r){var n=e(r),a=n%1;return n===n?a?n-a:n:0}return Ym=t,Ym}var Qm,WP;function b6(){if(WP)return Qm;WP=1;var e=_E(),t=si(),r=g6(),n=Math.max;function a(l,u,c){var f=l==null?0:l.length;if(!f)return-1;var d=c==null?0:r(c);return d<0&&(d=n(f+d,0)),e(l,t(u,3),d)}return Qm=a,Qm}var Zm,HP;function x6(){if(HP)return Zm;HP=1;var e=y6(),t=b6(),r=e(t);return Zm=r,Zm}var w6=x6();const S6=We(w6);var _6=BA();const O6=We(_6);var j6=O6(function(e){return{x:e.left,y:e.top,width:e.width,height:e.height}},function(e){return["l",e.left,"t",e.top,"w",e.width,"h",e.height].join("")}),P0=D.createContext(void 0),A0=D.createContext(void 0),fT=D.createContext(void 0),dT=D.createContext({}),hT=D.createContext(void 0),pT=D.createContext(0),vT=D.createContext(0),VP=function(t){var r=t.state,n=r.xAxisMap,a=r.yAxisMap,l=r.offset,u=t.clipPathId,c=t.children,f=t.width,d=t.height,v=j6(l);return U.createElement(P0.Provider,{value:n},U.createElement(A0.Provider,{value:a},U.createElement(dT.Provider,{value:l},U.createElement(fT.Provider,{value:v},U.createElement(hT.Provider,{value:u},U.createElement(pT.Provider,{value:d},U.createElement(vT.Provider,{value:f},c)))))))},P6=function(){return D.useContext(hT)},mT=function(t){var r=D.useContext(P0);r==null&&Ui();var n=r[t];return n==null&&Ui(),n},A6=function(){var t=D.useContext(P0);return Jn(t)},E6=function(){var t=D.useContext(A0),r=S6(t,function(n){return iT(n.domain,Number.isFinite)});return r||Jn(t)},yT=function(t){var r=D.useContext(A0);r==null&&Ui();var n=r[t];return n==null&&Ui(),n},k6=function(){var t=D.useContext(fT);return t},T6=function(){return D.useContext(dT)},E0=function(){return D.useContext(vT)},k0=function(){return D.useContext(pT)};function Ha(e){"@babel/helpers - typeof";return Ha=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},Ha(e)}function C6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N6(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,bT(n.key),n)}}function M6(e,t,r){return t&&N6(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function I6(e,t,r){return t=jc(t),$6(e,gT()?Reflect.construct(t,r||[],jc(e).constructor):t.apply(e,r))}function $6(e,t){if(t&&(Ha(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return R6(e)}function R6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(gT=function(){return!!e})()}function jc(e){return jc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},jc(e)}function D6(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&&fg(e,t)}function fg(e,t){return fg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},fg(e,t)}function GP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function KP(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?GP(Object(r),!0).forEach(function(n){T0(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):GP(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function T0(e,t,r){return t=bT(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bT(e){var t=L6(e,"string");return Ha(t)=="symbol"?t:t+""}function L6(e,t){if(Ha(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Ha(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function B6(e,t){return U6(e)||F6(e,t)||z6(e,t)||q6()}function q6(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
246
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function z6(e,t){if(e){if(typeof e=="string")return XP(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return XP(e,t)}}function XP(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function F6(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,l,u,c=[],f=!0,d=!1;try{if(l=(r=r.call(e)).next,t!==0)for(;!(f=(n=l.call(r)).done)&&(c.push(n.value),c.length!==t);f=!0);}catch(v){d=!0,a=v}finally{try{if(!f&&r.return!=null&&(u=r.return(),Object(u)!==u))return}finally{if(d)throw a}}return c}}function U6(e){if(Array.isArray(e))return e}function dg(){return dg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},dg.apply(this,arguments)}var W6=function(t,r){var n;return U.isValidElement(t)?n=U.cloneElement(t,r):Ee(t)?n=t(r):n=U.createElement("line",dg({},r,{className:"recharts-reference-line-line"})),n},H6=function(t,r,n,a,l,u,c,f,d){var v=l.x,p=l.y,g=l.width,w=l.height;if(n){var _=d.y,S=t.y.apply(_,{position:u});if(en(d,"discard")&&!t.y.isInRange(S))return null;var b=[{x:v+g,y:S},{x:v,y:S}];return f==="left"?b.reverse():b}if(r){var O=d.x,P=t.x.apply(O,{position:u});if(en(d,"discard")&&!t.x.isInRange(P))return null;var E=[{x:P,y:p+w},{x:P,y:p}];return c==="top"?E.reverse():E}if(a){var T=d.segment,j=T.map(function(A){return t.apply(A,{position:u})});return en(d,"discard")&&DU(j,function(A){return!t.isInRange(A)})?null:j}return null};function V6(e){var t=e.x,r=e.y,n=e.segment,a=e.xAxisId,l=e.yAxisId,u=e.shape,c=e.className,f=e.alwaysShow,d=P6(),v=mT(a),p=yT(l),g=k6();if(!d||!g)return null;xn(f===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var w=j0({x:v.scale,y:p.scale}),_=St(t),S=St(r),b=n&&n.length===2,O=H6(w,_,S,b,g,e.position,v.orientation,p.orientation,e);if(!O)return null;var P=B6(O,2),E=P[0],T=E.x,j=E.y,A=P[1],C=A.x,N=A.y,B=en(e,"hidden")?"url(#".concat(d,")"):void 0,$=KP(KP({clipPath:B},Ne(e,!0)),{},{x1:T,y1:j,x2:C,y2:N});return U.createElement(ot,{className:Re("recharts-reference-line",c)},W6(u,$),Ut.renderCallByParent(e,p6({x1:T,y1:j,x2:C,y2:N})))}var C0=(function(e){function t(){return C6(this,t),I6(this,t,arguments)}return D6(t,e),M6(t,[{key:"render",value:function(){return U.createElement(V6,this.props)}}])})(U.Component);T0(C0,"displayName","ReferenceLine");T0(C0,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});function hg(){return hg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},hg.apply(this,arguments)}function Va(e){"@babel/helpers - typeof";return Va=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},Va(e)}function YP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function QP(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?YP(Object(r),!0).forEach(function(n){sf(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):YP(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function G6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K6(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,wT(n.key),n)}}function X6(e,t,r){return t&&K6(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Y6(e,t,r){return t=Pc(t),Q6(e,xT()?Reflect.construct(t,r||[],Pc(e).constructor):t.apply(e,r))}function Q6(e,t){if(t&&(Va(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Z6(e)}function Z6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(xT=function(){return!!e})()}function Pc(e){return Pc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Pc(e)}function J6(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&&pg(e,t)}function pg(e,t){return pg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},pg(e,t)}function sf(e,t,r){return t=wT(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wT(e){var t=e5(e,"string");return Va(t)=="symbol"?t:t+""}function e5(e,t){if(Va(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Va(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var t5=function(t){var r=t.x,n=t.y,a=t.xAxis,l=t.yAxis,u=j0({x:a.scale,y:l.scale}),c=u.apply({x:r,y:n},{bandAware:!0});return en(t,"discard")&&!u.isInRange(c)?null:c},cf=(function(e){function t(){return G6(this,t),Y6(this,t,arguments)}return J6(t,e),X6(t,[{key:"render",value:function(){var n=this.props,a=n.x,l=n.y,u=n.r,c=n.alwaysShow,f=n.clipPathId,d=St(a),v=St(l);if(xn(c===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!d||!v)return null;var p=t5(this.props);if(!p)return null;var g=p.x,w=p.y,_=this.props,S=_.shape,b=_.className,O=en(this.props,"hidden")?"url(#".concat(f,")"):void 0,P=QP(QP({clipPath:O},Ne(this.props,!0)),{},{cx:g,cy:w});return U.createElement(ot,{className:Re("recharts-reference-dot",b)},t.renderDot(S,P),Ut.renderCallByParent(this.props,{x:g-u,y:w-u,width:2*u,height:2*u}))}}])})(U.Component);sf(cf,"displayName","ReferenceDot");sf(cf,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1});sf(cf,"renderDot",function(e,t){var r;return U.isValidElement(e)?r=U.cloneElement(e,t):Ee(e)?r=e(t):r=U.createElement(O0,hg({},t,{cx:t.cx,cy:t.cy,className:"recharts-reference-dot-dot"})),r});function vg(){return vg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},vg.apply(this,arguments)}function Ga(e){"@babel/helpers - typeof";return Ga=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},Ga(e)}function ZP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function JP(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ZP(Object(r),!0).forEach(function(n){ff(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ZP(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function r5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n5(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,_T(n.key),n)}}function i5(e,t,r){return t&&n5(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function a5(e,t,r){return t=Ac(t),o5(e,ST()?Reflect.construct(t,r||[],Ac(e).constructor):t.apply(e,r))}function o5(e,t){if(t&&(Ga(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return l5(e)}function l5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ST(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ST=function(){return!!e})()}function Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ac(e)}function u5(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&&mg(e,t)}function mg(e,t){return mg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},mg(e,t)}function ff(e,t,r){return t=_T(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _T(e){var t=s5(e,"string");return Ga(t)=="symbol"?t:t+""}function s5(e,t){if(Ga(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Ga(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var c5=function(t,r,n,a,l){var u=l.x1,c=l.x2,f=l.y1,d=l.y2,v=l.xAxis,p=l.yAxis;if(!v||!p)return null;var g=j0({x:v.scale,y:p.scale}),w={x:t?g.x.apply(u,{position:"start"}):g.x.rangeMin,y:n?g.y.apply(f,{position:"start"}):g.y.rangeMin},_={x:r?g.x.apply(c,{position:"end"}):g.x.rangeMax,y:a?g.y.apply(d,{position:"end"}):g.y.rangeMax};return en(l,"discard")&&(!g.isInRange(w)||!g.isInRange(_))?null:sT(w,_)},df=(function(e){function t(){return r5(this,t),a5(this,t,arguments)}return u5(t,e),i5(t,[{key:"render",value:function(){var n=this.props,a=n.x1,l=n.x2,u=n.y1,c=n.y2,f=n.className,d=n.alwaysShow,v=n.clipPathId;xn(d===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var p=St(a),g=St(l),w=St(u),_=St(c),S=this.props.shape;if(!p&&!g&&!w&&!_&&!S)return null;var b=c5(p,g,w,_,this.props);if(!b&&!S)return null;var O=en(this.props,"hidden")?"url(#".concat(v,")"):void 0;return U.createElement(ot,{className:Re("recharts-reference-area",f)},t.renderRect(S,JP(JP({clipPath:O},Ne(this.props,!0)),b)),Ut.renderCallByParent(this.props,b))}}])})(U.Component);ff(df,"displayName","ReferenceArea");ff(df,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1});ff(df,"renderRect",function(e,t){var r;return U.isValidElement(e)?r=U.cloneElement(e,t):Ee(e)?r=e(t):r=U.createElement(_0,vg({},t,{className:"recharts-reference-area-rect"})),r});function OT(e,t,r){if(t<1)return[];if(t===1&&r===void 0)return e;for(var n=[],a=0;a<e.length;a+=t)n.push(e[a]);return n}function f5(e,t,r){var n={width:e.width+t.width,height:e.height+t.height};return m6(n,r)}function d5(e,t,r){var n=r==="width",a=e.x,l=e.y,u=e.width,c=e.height;return t===1?{start:n?a:l,end:n?a+u:l+c}:{start:n?a+u:l+c,end:n?a:l}}function Ec(e,t,r,n,a){if(e*t<e*n||e*t>e*a)return!1;var l=r();return e*(t-e*l/2-n)>=0&&e*(t+e*l/2-a)<=0}function h5(e,t){return OT(e,t+1)}function p5(e,t,r,n,a){for(var l=(n||[]).slice(),u=t.start,c=t.end,f=0,d=1,v=u,p=function(){var _=n==null?void 0:n[f];if(_===void 0)return{v:OT(n,d)};var S=f,b,O=function(){return b===void 0&&(b=r(_,S)),b},P=_.coordinate,E=f===0||Ec(e,P,O,v,c);E||(f=0,v=u,d+=1),E&&(v=P+e*(O()/2+a),f+=d)},g;d<=l.length;)if(g=p(),g)return g.v;return[]}function Yl(e){"@babel/helpers - typeof";return Yl=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},Yl(e)}function eA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function zt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?eA(Object(r),!0).forEach(function(n){v5(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eA(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function v5(e,t,r){return t=m5(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m5(e){var t=y5(e,"string");return Yl(t)=="symbol"?t:t+""}function y5(e,t){if(Yl(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Yl(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function g5(e,t,r,n,a){for(var l=(n||[]).slice(),u=l.length,c=t.start,f=t.end,d=function(g){var w=l[g],_,S=function(){return _===void 0&&(_=r(w,g)),_};if(g===u-1){var b=e*(w.coordinate+e*S()/2-f);l[g]=w=zt(zt({},w),{},{tickCoord:b>0?w.coordinate-b*e:w.coordinate})}else l[g]=w=zt(zt({},w),{},{tickCoord:w.coordinate});var O=Ec(e,w.tickCoord,S,c,f);O&&(f=w.tickCoord-e*(S()/2+a),l[g]=zt(zt({},w),{},{isShow:!0}))},v=u-1;v>=0;v--)d(v);return l}function b5(e,t,r,n,a,l){var u=(n||[]).slice(),c=u.length,f=t.start,d=t.end;if(l){var v=n[c-1],p=r(v,c-1),g=e*(v.coordinate+e*p/2-d);u[c-1]=v=zt(zt({},v),{},{tickCoord:g>0?v.coordinate-g*e:v.coordinate});var w=Ec(e,v.tickCoord,function(){return p},f,d);w&&(d=v.tickCoord-e*(p/2+a),u[c-1]=zt(zt({},v),{},{isShow:!0}))}for(var _=l?c-1:c,S=function(P){var E=u[P],T,j=function(){return T===void 0&&(T=r(E,P)),T};if(P===0){var A=e*(E.coordinate-e*j()/2-f);u[P]=E=zt(zt({},E),{},{tickCoord:A<0?E.coordinate-A*e:E.coordinate})}else u[P]=E=zt(zt({},E),{},{tickCoord:E.coordinate});var C=Ec(e,E.tickCoord,j,f,d);C&&(f=E.tickCoord+e*(j()/2+a),u[P]=zt(zt({},E),{},{isShow:!0}))},b=0;b<_;b++)S(b);return u}function N0(e,t,r){var n=e.tick,a=e.ticks,l=e.viewBox,u=e.minTickGap,c=e.orientation,f=e.interval,d=e.tickFormatter,v=e.unit,p=e.angle;if(!a||!a.length||!n)return[];if(ce(f)||oo.isSsr)return h5(a,typeof f=="number"&&ce(f)?f:0);var g=[],w=c==="top"||c==="bottom"?"width":"height",_=v&&w==="width"?cl(v,{fontSize:t,letterSpacing:r}):{width:0,height:0},S=function(E,T){var j=Ee(d)?d(E.value,T):E.value;return w==="width"?f5(cl(j,{fontSize:t,letterSpacing:r}),_,p):cl(j,{fontSize:t,letterSpacing:r})[w]},b=a.length>=2?Fr(a[1].coordinate-a[0].coordinate):1,O=d5(l,b,w);return f==="equidistantPreserveStart"?p5(b,O,S,a,u):(f==="preserveStart"||f==="preserveStartEnd"?g=b5(b,O,S,a,u,f==="preserveStartEnd"):g=g5(b,O,S,a,u),g.filter(function(P){return P.isShow}))}var x5=["viewBox"],w5=["viewBox"],S5=["ticks"];function Ka(e){"@babel/helpers - typeof";return Ka=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},Ka(e)}function ja(){return ja=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ja.apply(this,arguments)}function tA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function xt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?tA(Object(r),!0).forEach(function(n){M0(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tA(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Jm(e,t){if(e==null)return{};var r=_5(e,t),n,a;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function _5(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function O5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,PT(n.key),n)}}function j5(e,t,r){return t&&rA(e.prototype,t),r&&rA(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function P5(e,t,r){return t=kc(t),A5(e,jT()?Reflect.construct(t,r||[],kc(e).constructor):t.apply(e,r))}function A5(e,t){if(t&&(Ka(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return E5(e)}function E5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(jT=function(){return!!e})()}function kc(e){return kc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},kc(e)}function k5(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&&yg(e,t)}function yg(e,t){return yg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},yg(e,t)}function M0(e,t,r){return t=PT(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function PT(e){var t=T5(e,"string");return Ka(t)=="symbol"?t:t+""}function T5(e,t){if(Ka(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Ka(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var co=(function(e){function t(r){var n;return O5(this,t),n=P5(this,t,[r]),n.state={fontSize:"",letterSpacing:""},n}return k5(t,e),j5(t,[{key:"shouldComponentUpdate",value:function(n,a){var l=n.viewBox,u=Jm(n,x5),c=this.props,f=c.viewBox,d=Jm(c,w5);return!Ea(l,f)||!Ea(u,d)||!Ea(a,this.state)}},{key:"componentDidMount",value:function(){var n=this.layerReference;if(n){var a=n.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];a&&this.setState({fontSize:window.getComputedStyle(a).fontSize,letterSpacing:window.getComputedStyle(a).letterSpacing})}}},{key:"getTickLineCoord",value:function(n){var a=this.props,l=a.x,u=a.y,c=a.width,f=a.height,d=a.orientation,v=a.tickSize,p=a.mirror,g=a.tickMargin,w,_,S,b,O,P,E=p?-1:1,T=n.tickSize||v,j=ce(n.tickCoord)?n.tickCoord:n.coordinate;switch(d){case"top":w=_=n.coordinate,b=u+ +!p*f,S=b-E*T,P=S-E*g,O=j;break;case"left":S=b=n.coordinate,_=l+ +!p*c,w=_-E*T,O=w-E*g,P=j;break;case"right":S=b=n.coordinate,_=l+ +p*c,w=_+E*T,O=w+E*g,P=j;break;default:w=_=n.coordinate,b=u+ +p*f,S=b+E*T,P=S+E*g,O=j;break}return{line:{x1:w,y1:S,x2:_,y2:b},tick:{x:O,y:P}}}},{key:"getTickTextAnchor",value:function(){var n=this.props,a=n.orientation,l=n.mirror,u;switch(a){case"left":u=l?"start":"end";break;case"right":u=l?"end":"start";break;default:u="middle";break}return u}},{key:"getTickVerticalAnchor",value:function(){var n=this.props,a=n.orientation,l=n.mirror,u="end";switch(a){case"left":case"right":u="middle";break;case"top":u=l?"start":"end";break;default:u=l?"end":"start";break}return u}},{key:"renderAxisLine",value:function(){var n=this.props,a=n.x,l=n.y,u=n.width,c=n.height,f=n.orientation,d=n.mirror,v=n.axisLine,p=xt(xt(xt({},Ne(this.props,!1)),Ne(v,!1)),{},{fill:"none"});if(f==="top"||f==="bottom"){var g=+(f==="top"&&!d||f==="bottom"&&d);p=xt(xt({},p),{},{x1:a,y1:l+g*c,x2:a+u,y2:l+g*c})}else{var w=+(f==="left"&&!d||f==="right"&&d);p=xt(xt({},p),{},{x1:a+w*u,y1:l,x2:a+w*u,y2:l+c})}return U.createElement("line",ja({},p,{className:Re("recharts-cartesian-axis-line",Ar(v,"className"))}))}},{key:"renderTicks",value:function(n,a,l){var u=this,c=this.props,f=c.tickLine,d=c.stroke,v=c.tick,p=c.tickFormatter,g=c.unit,w=N0(xt(xt({},this.props),{},{ticks:n}),a,l),_=this.getTickTextAnchor(),S=this.getTickVerticalAnchor(),b=Ne(this.props,!1),O=Ne(v,!1),P=xt(xt({},b),{},{fill:"none"},Ne(f,!1)),E=w.map(function(T,j){var A=u.getTickLineCoord(T),C=A.line,N=A.tick,B=xt(xt(xt(xt({textAnchor:_,verticalAnchor:S},b),{},{stroke:"none",fill:d},O),N),{},{index:j,payload:T,visibleTicksCount:w.length,tickFormatter:p});return U.createElement(ot,ja({className:"recharts-cartesian-axis-tick",key:"tick-".concat(T.value,"-").concat(T.coordinate,"-").concat(T.tickCoord)},Ds(u.props,T,j)),f&&U.createElement("line",ja({},P,C,{className:Re("recharts-cartesian-axis-tick-line",Ar(f,"className"))})),v&&t.renderTickItem(v,B,"".concat(Ee(p)?p(T.value,j):T.value).concat(g||"")))});return U.createElement("g",{className:"recharts-cartesian-axis-ticks"},E)}},{key:"render",value:function(){var n=this,a=this.props,l=a.axisLine,u=a.width,c=a.height,f=a.ticksGenerator,d=a.className,v=a.hide;if(v)return null;var p=this.props,g=p.ticks,w=Jm(p,S5),_=g;return Ee(f)&&(_=g&&g.length>0?f(this.props):f(w)),u<=0||c<=0||!_||!_.length?null:U.createElement(ot,{className:Re("recharts-cartesian-axis",d),ref:function(b){n.layerReference=b}},l&&this.renderAxisLine(),this.renderTicks(_,this.state.fontSize,this.state.letterSpacing),Ut.renderCallByParent(this.props))}}],[{key:"renderTickItem",value:function(n,a,l){var u,c=Re(a.className,"recharts-cartesian-axis-tick-value");return U.isValidElement(n)?u=U.cloneElement(n,xt(xt({},a),{},{className:c})):Ee(n)?u=n(xt(xt({},a),{},{className:c})):u=U.createElement(Ks,ja({},a,{className:"recharts-cartesian-axis-tick-value"}),l),u}}])})(D.Component);M0(co,"displayName","CartesianAxis");M0(co,"defaultProps",{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"});var C5=["x1","y1","x2","y2","key"],N5=["offset"];function Wi(e){"@babel/helpers - typeof";return Wi=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},Wi(e)}function nA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Wt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?nA(Object(r),!0).forEach(function(n){M5(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nA(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function M5(e,t,r){return t=I5(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function I5(e){var t=$5(e,"string");return Wi(t)=="symbol"?t:t+""}function $5(e,t){if(Wi(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Wi(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function $i(){return $i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},$i.apply(this,arguments)}function iA(e,t){if(e==null)return{};var r=R5(e,t),n,a;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function R5(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var D5=function(t){var r=t.fill;if(!r||r==="none")return null;var n=t.fillOpacity,a=t.x,l=t.y,u=t.width,c=t.height,f=t.ry;return U.createElement("rect",{x:a,y:l,ry:f,width:u,height:c,stroke:"none",fill:r,fillOpacity:n,className:"recharts-cartesian-grid-bg"})};function AT(e,t){var r;if(U.isValidElement(e))r=U.cloneElement(e,t);else if(Ee(e))r=e(t);else{var n=t.x1,a=t.y1,l=t.x2,u=t.y2,c=t.key,f=iA(t,C5),d=Ne(f,!1);d.offset;var v=iA(d,N5);r=U.createElement("line",$i({},v,{x1:n,y1:a,x2:l,y2:u,fill:"none",key:c}))}return r}function L5(e){var t=e.x,r=e.width,n=e.horizontal,a=n===void 0?!0:n,l=e.horizontalPoints;if(!a||!l||!l.length)return null;var u=l.map(function(c,f){var d=Wt(Wt({},e),{},{x1:t,y1:c,x2:t+r,y2:c,key:"line-".concat(f),index:f});return AT(a,d)});return U.createElement("g",{className:"recharts-cartesian-grid-horizontal"},u)}function B5(e){var t=e.y,r=e.height,n=e.vertical,a=n===void 0?!0:n,l=e.verticalPoints;if(!a||!l||!l.length)return null;var u=l.map(function(c,f){var d=Wt(Wt({},e),{},{x1:c,y1:t,x2:c,y2:t+r,key:"line-".concat(f),index:f});return AT(a,d)});return U.createElement("g",{className:"recharts-cartesian-grid-vertical"},u)}function q5(e){var t=e.horizontalFill,r=e.fillOpacity,n=e.x,a=e.y,l=e.width,u=e.height,c=e.horizontalPoints,f=e.horizontal,d=f===void 0?!0:f;if(!d||!t||!t.length)return null;var v=c.map(function(g){return Math.round(g+a-a)}).sort(function(g,w){return g-w});a!==v[0]&&v.unshift(0);var p=v.map(function(g,w){var _=!v[w+1],S=_?a+u-g:v[w+1]-g;if(S<=0)return null;var b=w%t.length;return U.createElement("rect",{key:"react-".concat(w),y:g,x:n,height:S,width:l,stroke:"none",fill:t[b],fillOpacity:r,className:"recharts-cartesian-grid-bg"})});return U.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},p)}function z5(e){var t=e.vertical,r=t===void 0?!0:t,n=e.verticalFill,a=e.fillOpacity,l=e.x,u=e.y,c=e.width,f=e.height,d=e.verticalPoints;if(!r||!n||!n.length)return null;var v=d.map(function(g){return Math.round(g+l-l)}).sort(function(g,w){return g-w});l!==v[0]&&v.unshift(0);var p=v.map(function(g,w){var _=!v[w+1],S=_?l+c-g:v[w+1]-g;if(S<=0)return null;var b=w%n.length;return U.createElement("rect",{key:"react-".concat(w),x:g,y:u,width:S,height:f,stroke:"none",fill:n[b],fillOpacity:a,className:"recharts-cartesian-grid-bg"})});return U.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},p)}var F5=function(t,r){var n=t.xAxis,a=t.width,l=t.height,u=t.offset;return zk(N0(Wt(Wt(Wt({},co.defaultProps),n),{},{ticks:gn(n,!0),viewBox:{x:0,y:0,width:a,height:l}})),u.left,u.left+u.width,r)},U5=function(t,r){var n=t.yAxis,a=t.width,l=t.height,u=t.offset;return zk(N0(Wt(Wt(Wt({},co.defaultProps),n),{},{ticks:gn(n,!0),viewBox:{x:0,y:0,width:a,height:l}})),u.top,u.top+u.height,r)},Sa={horizontal:!0,vertical:!0,stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function I0(e){var t,r,n,a,l,u,c=E0(),f=k0(),d=T6(),v=Wt(Wt({},e),{},{stroke:(t=e.stroke)!==null&&t!==void 0?t:Sa.stroke,fill:(r=e.fill)!==null&&r!==void 0?r:Sa.fill,horizontal:(n=e.horizontal)!==null&&n!==void 0?n:Sa.horizontal,horizontalFill:(a=e.horizontalFill)!==null&&a!==void 0?a:Sa.horizontalFill,vertical:(l=e.vertical)!==null&&l!==void 0?l:Sa.vertical,verticalFill:(u=e.verticalFill)!==null&&u!==void 0?u:Sa.verticalFill,x:ce(e.x)?e.x:d.left,y:ce(e.y)?e.y:d.top,width:ce(e.width)?e.width:d.width,height:ce(e.height)?e.height:d.height}),p=v.x,g=v.y,w=v.width,_=v.height,S=v.syncWithTicks,b=v.horizontalValues,O=v.verticalValues,P=A6(),E=E6();if(!ce(w)||w<=0||!ce(_)||_<=0||!ce(p)||p!==+p||!ce(g)||g!==+g)return null;var T=v.verticalCoordinatesGenerator||F5,j=v.horizontalCoordinatesGenerator||U5,A=v.horizontalPoints,C=v.verticalPoints;if((!A||!A.length)&&Ee(j)){var N=b&&b.length,B=j({yAxis:E?Wt(Wt({},E),{},{ticks:N?b:E.ticks}):void 0,width:c,height:f,offset:d},N?!0:S);xn(Array.isArray(B),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(Wi(B),"]")),Array.isArray(B)&&(A=B)}if((!C||!C.length)&&Ee(T)){var $=O&&O.length,R=T({xAxis:P?Wt(Wt({},P),{},{ticks:$?O:P.ticks}):void 0,width:c,height:f,offset:d},$?!0:S);xn(Array.isArray(R),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(Wi(R),"]")),Array.isArray(R)&&(C=R)}return U.createElement("g",{className:"recharts-cartesian-grid"},U.createElement(D5,{fill:v.fill,fillOpacity:v.fillOpacity,x:v.x,y:v.y,width:v.width,height:v.height,ry:v.ry}),U.createElement(L5,$i({},v,{offset:d,horizontalPoints:A,xAxis:P,yAxis:E})),U.createElement(B5,$i({},v,{offset:d,verticalPoints:C,xAxis:P,yAxis:E})),U.createElement(q5,$i({},v,{horizontalPoints:A})),U.createElement(z5,$i({},v,{verticalPoints:C})))}I0.displayName="CartesianGrid";var W5=["layout","type","stroke","connectNulls","isRange","ref"],H5=["key"],ET;function Xa(e){"@babel/helpers - typeof";return Xa=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},Xa(e)}function kT(e,t){if(e==null)return{};var r=V5(e,t),n,a;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function V5(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function Ri(){return Ri=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ri.apply(this,arguments)}function aA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Qn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?aA(Object(r),!0).forEach(function(n){Zr(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):aA(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function G5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,CT(n.key),n)}}function K5(e,t,r){return t&&oA(e.prototype,t),r&&oA(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function X5(e,t,r){return t=Tc(t),Y5(e,TT()?Reflect.construct(t,r||[],Tc(e).constructor):t.apply(e,r))}function Y5(e,t){if(t&&(Xa(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Q5(e)}function Q5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(TT=function(){return!!e})()}function Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Tc(e)}function Z5(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&&gg(e,t)}function gg(e,t){return gg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},gg(e,t)}function Zr(e,t,r){return t=CT(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function CT(e){var t=J5(e,"string");return Xa(t)=="symbol"?t:t+""}function J5(e,t){if(Xa(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Xa(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Wr=(function(e){function t(){var r;G5(this,t);for(var n=arguments.length,a=new Array(n),l=0;l<n;l++)a[l]=arguments[l];return r=X5(this,t,[].concat(a)),Zr(r,"state",{isAnimationFinished:!0}),Zr(r,"id",tu("recharts-area-")),Zr(r,"handleAnimationEnd",function(){var u=r.props.onAnimationEnd;r.setState({isAnimationFinished:!0}),Ee(u)&&u()}),Zr(r,"handleAnimationStart",function(){var u=r.props.onAnimationStart;r.setState({isAnimationFinished:!1}),Ee(u)&&u()}),r}return Z5(t,e),K5(t,[{key:"renderDots",value:function(n,a,l){var u=this.props.isAnimationActive,c=this.state.isAnimationFinished;if(u&&!c)return null;var f=this.props,d=f.dot,v=f.points,p=f.dataKey,g=Ne(this.props,!1),w=Ne(d,!0),_=v.map(function(b,O){var P=Qn(Qn(Qn({key:"dot-".concat(O),r:3},g),w),{},{index:O,cx:b.x,cy:b.y,dataKey:p,value:b.value,payload:b.payload,points:v});return t.renderDotItem(d,P)}),S={clipPath:n?"url(#clipPath-".concat(a?"":"dots-").concat(l,")"):null};return U.createElement(ot,Ri({className:"recharts-area-dots"},S),_)}},{key:"renderHorizontalRect",value:function(n){var a=this.props,l=a.baseLine,u=a.points,c=a.strokeWidth,f=u[0].x,d=u[u.length-1].x,v=n*Math.abs(f-d),p=ri(u.map(function(g){return g.y||0}));return ce(l)&&typeof l=="number"?p=Math.max(l,p):l&&Array.isArray(l)&&l.length&&(p=Math.max(ri(l.map(function(g){return g.y||0})),p)),ce(p)?U.createElement("rect",{x:f<d?f:f-v,y:0,width:v,height:Math.floor(p+(c?parseInt("".concat(c),10):1))}):null}},{key:"renderVerticalRect",value:function(n){var a=this.props,l=a.baseLine,u=a.points,c=a.strokeWidth,f=u[0].y,d=u[u.length-1].y,v=n*Math.abs(f-d),p=ri(u.map(function(g){return g.x||0}));return ce(l)&&typeof l=="number"?p=Math.max(l,p):l&&Array.isArray(l)&&l.length&&(p=Math.max(ri(l.map(function(g){return g.x||0})),p)),ce(p)?U.createElement("rect",{x:0,y:f<d?f:f-v,width:p+(c?parseInt("".concat(c),10):1),height:Math.floor(v)}):null}},{key:"renderClipRect",value:function(n){var a=this.props.layout;return a==="vertical"?this.renderVerticalRect(n):this.renderHorizontalRect(n)}},{key:"renderAreaStatically",value:function(n,a,l,u){var c=this.props,f=c.layout,d=c.type,v=c.stroke,p=c.connectNulls,g=c.isRange;c.ref;var w=kT(c,W5);return U.createElement(ot,{clipPath:l?"url(#clipPath-".concat(u,")"):null},U.createElement(hl,Ri({},Ne(w,!0),{points:n,connectNulls:p,type:d,baseLine:a,layout:f,stroke:"none",className:"recharts-area-area"})),v!=="none"&&U.createElement(hl,Ri({},Ne(this.props,!1),{className:"recharts-area-curve",layout:f,type:d,connectNulls:p,fill:"none",points:n})),v!=="none"&&g&&U.createElement(hl,Ri({},Ne(this.props,!1),{className:"recharts-area-curve",layout:f,type:d,connectNulls:p,fill:"none",points:a})))}},{key:"renderAreaWithAnimation",value:function(n,a){var l=this,u=this.props,c=u.points,f=u.baseLine,d=u.isAnimationActive,v=u.animationBegin,p=u.animationDuration,g=u.animationEasing,w=u.animationId,_=this.state,S=_.prevPoints,b=_.prevBaseLine;return U.createElement(jn,{begin:v,duration:p,isActive:d,easing:g,from:{t:0},to:{t:1},key:"area-".concat(w),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(O){var P=O.t;if(S){var E=S.length/c.length,T=c.map(function(N,B){var $=Math.floor(B*E);if(S[$]){var R=S[$],q=jr(R.x,N.x),H=jr(R.y,N.y);return Qn(Qn({},N),{},{x:q(P),y:H(P)})}return N}),j;if(ce(f)&&typeof f=="number"){var A=jr(b,f);j=A(P)}else if(Me(f)||io(f)){var C=jr(b,0);j=C(P)}else j=f.map(function(N,B){var $=Math.floor(B*E);if(b[$]){var R=b[$],q=jr(R.x,N.x),H=jr(R.y,N.y);return Qn(Qn({},N),{},{x:q(P),y:H(P)})}return N});return l.renderAreaStatically(T,j,n,a)}return U.createElement(ot,null,U.createElement("defs",null,U.createElement("clipPath",{id:"animationClipPath-".concat(a)},l.renderClipRect(P))),U.createElement(ot,{clipPath:"url(#animationClipPath-".concat(a,")")},l.renderAreaStatically(c,f,n,a)))})}},{key:"renderArea",value:function(n,a){var l=this.props,u=l.points,c=l.baseLine,f=l.isAnimationActive,d=this.state,v=d.prevPoints,p=d.prevBaseLine,g=d.totalLength;return f&&u&&u.length&&(!v&&g>0||!kl(v,u)||!kl(p,c))?this.renderAreaWithAnimation(n,a):this.renderAreaStatically(u,c,n,a)}},{key:"render",value:function(){var n,a=this.props,l=a.hide,u=a.dot,c=a.points,f=a.className,d=a.top,v=a.left,p=a.xAxis,g=a.yAxis,w=a.width,_=a.height,S=a.isAnimationActive,b=a.id;if(l||!c||!c.length)return null;var O=this.state.isAnimationFinished,P=c.length===1,E=Re("recharts-area",f),T=p&&p.allowDataOverflow,j=g&&g.allowDataOverflow,A=T||j,C=Me(b)?this.id:b,N=(n=Ne(u,!1))!==null&&n!==void 0?n:{r:3,strokeWidth:2},B=N.r,$=B===void 0?3:B,R=N.strokeWidth,q=R===void 0?2:R,H=hI(u)?u:{},X=H.clipDot,Q=X===void 0?!0:X,ee=$*2+q;return U.createElement(ot,{className:E},T||j?U.createElement("defs",null,U.createElement("clipPath",{id:"clipPath-".concat(C)},U.createElement("rect",{x:T?v:v-w/2,y:j?d:d-_/2,width:T?w:w*2,height:j?_:_*2})),!Q&&U.createElement("clipPath",{id:"clipPath-dots-".concat(C)},U.createElement("rect",{x:v-ee/2,y:d-ee/2,width:w+ee,height:_+ee}))):null,P?null:this.renderArea(A,C),(u||P)&&this.renderDots(A,Q,C),(!S||O)&&oi.renderCallByParent(this.props,c))}}],[{key:"getDerivedStateFromProps",value:function(n,a){return n.animationId!==a.prevAnimationId?{prevAnimationId:n.animationId,curPoints:n.points,curBaseLine:n.baseLine,prevPoints:a.curPoints,prevBaseLine:a.curBaseLine}:n.points!==a.curPoints||n.baseLine!==a.curBaseLine?{curPoints:n.points,curBaseLine:n.baseLine}:null}}])})(D.PureComponent);ET=Wr;Zr(Wr,"displayName","Area");Zr(Wr,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!oo.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"});Zr(Wr,"getBaseValue",function(e,t,r,n){var a=e.layout,l=e.baseValue,u=t.props.baseValue,c=u??l;if(ce(c)&&typeof c=="number")return c;var f=a==="horizontal"?n:r,d=f.scale.domain();if(f.type==="number"){var v=Math.max(d[0],d[1]),p=Math.min(d[0],d[1]);return c==="dataMin"?p:c==="dataMax"||v<0?v:Math.max(Math.min(d[0],d[1]),0)}return c==="dataMin"?d[0]:c==="dataMax"?d[1]:d[0]});Zr(Wr,"getComposedData",function(e){var t=e.props,r=e.item,n=e.xAxis,a=e.yAxis,l=e.xAxisTicks,u=e.yAxisTicks,c=e.bandSize,f=e.dataKey,d=e.stackedData,v=e.dataStartIndex,p=e.displayedData,g=e.offset,w=t.layout,_=d&&d.length,S=ET.getBaseValue(t,r,n,a),b=w==="horizontal",O=!1,P=p.map(function(T,j){var A;_?A=d[v+j]:(A=hr(T,f),Array.isArray(A)?O=!0:A=[S,A]);var C=A[1]==null||_&&hr(T,f)==null;return b?{x:jj({axis:n,ticks:l,bandSize:c,entry:T,index:j}),y:C?null:a.scale(A[1]),value:A,payload:T}:{x:C?null:n.scale(A[1]),y:jj({axis:a,ticks:u,bandSize:c,entry:T,index:j}),value:A,payload:T}}),E;return _||O?E=P.map(function(T){var j=Array.isArray(T.value)?T.value[0]:null;return b?{x:T.x,y:j!=null&&T.y!=null?a.scale(j):null}:{x:j!=null?n.scale(j):null,y:T.y}}):E=b?a.scale(S):n.scale(S),Qn({points:P,baseLine:E,layout:w,isRange:O},g)});Zr(Wr,"renderDotItem",function(e,t){var r;if(U.isValidElement(e))r=U.cloneElement(e,t);else if(Ee(e))r=e(t);else{var n=Re("recharts-area-dot",typeof e!="boolean"?e.className:""),a=t.key,l=kT(t,H5);r=U.createElement(O0,Ri({},l,{key:a,className:n}))}return r});function Ya(e){"@babel/helpers - typeof";return Ya=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},Ya(e)}function eW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tW(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,IT(n.key),n)}}function rW(e,t,r){return t&&tW(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function nW(e,t,r){return t=Cc(t),iW(e,NT()?Reflect.construct(t,r||[],Cc(e).constructor):t.apply(e,r))}function iW(e,t){if(t&&(Ya(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return aW(e)}function aW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(NT=function(){return!!e})()}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Cc(e)}function oW(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&&bg(e,t)}function bg(e,t){return bg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},bg(e,t)}function MT(e,t,r){return t=IT(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function IT(e){var t=lW(e,"string");return Ya(t)=="symbol"?t:t+""}function lW(e,t){if(Ya(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Ya(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function xg(){return xg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},xg.apply(this,arguments)}function uW(e){var t=e.xAxisId,r=E0(),n=k0(),a=mT(t);return a==null?null:D.createElement(co,xg({},a,{className:Re("recharts-".concat(a.axisType," ").concat(a.axisType),a.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(u){return gn(u,!0)}}))}var uu=(function(e){function t(){return eW(this,t),nW(this,t,arguments)}return oW(t,e),rW(t,[{key:"render",value:function(){return D.createElement(uW,this.props)}}])})(D.Component);MT(uu,"displayName","XAxis");MT(uu,"defaultProps",{allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0});function Qa(e){"@babel/helpers - typeof";return Qa=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},Qa(e)}function sW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cW(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,DT(n.key),n)}}function fW(e,t,r){return t&&cW(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function dW(e,t,r){return t=Nc(t),hW(e,$T()?Reflect.construct(t,r||[],Nc(e).constructor):t.apply(e,r))}function hW(e,t){if(t&&(Qa(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return pW(e)}function pW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $T(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return($T=function(){return!!e})()}function Nc(e){return Nc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Nc(e)}function vW(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&&wg(e,t)}function wg(e,t){return wg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},wg(e,t)}function RT(e,t,r){return t=DT(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function DT(e){var t=mW(e,"string");return Qa(t)=="symbol"?t:t+""}function mW(e,t){if(Qa(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Qa(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function Sg(){return Sg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Sg.apply(this,arguments)}var yW=function(t){var r=t.yAxisId,n=E0(),a=k0(),l=yT(r);return l==null?null:D.createElement(co,Sg({},l,{className:Re("recharts-".concat(l.axisType," ").concat(l.axisType),l.className),viewBox:{x:0,y:0,width:n,height:a},ticksGenerator:function(c){return gn(c,!0)}}))},su=(function(e){function t(){return sW(this,t),dW(this,t,arguments)}return vW(t,e),fW(t,[{key:"render",value:function(){return D.createElement(yW,this.props)}}])})(D.Component);RT(su,"displayName","YAxis");RT(su,"defaultProps",{allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1});function lA(e){return wW(e)||xW(e)||bW(e)||gW()}function gW(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
247
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function bW(e,t){if(e){if(typeof e=="string")return _g(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _g(e,t)}}function xW(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function wW(e){if(Array.isArray(e))return _g(e)}function _g(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Og=function(t,r,n,a,l){var u=Ur(t,C0),c=Ur(t,cf),f=[].concat(lA(u),lA(c)),d=Ur(t,df),v="".concat(a,"Id"),p=a[0],g=r;if(f.length&&(g=f.reduce(function(S,b){if(b.props[v]===n&&en(b.props,"extendDomain")&&ce(b.props[p])){var O=b.props[p];return[Math.min(S[0],O),Math.max(S[1],O)]}return S},g)),d.length){var w="".concat(p,"1"),_="".concat(p,"2");g=d.reduce(function(S,b){if(b.props[v]===n&&en(b.props,"extendDomain")&&ce(b.props[w])&&ce(b.props[_])){var O=b.props[w],P=b.props[_];return[Math.min(S[0],O,P),Math.max(S[1],O,P)]}return S},g)}return l&&l.length&&(g=l.reduce(function(S,b){return ce(b)?[Math.min(S[0],b),Math.max(S[1],b)]:S},g)),g},ey={exports:{}},uA;function SW(){return uA||(uA=1,(function(e){var t=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function a(f,d,v){this.fn=f,this.context=d,this.once=v||!1}function l(f,d,v,p,g){if(typeof v!="function")throw new TypeError("The listener must be a function");var w=new a(v,p||f,g),_=r?r+d:d;return f._events[_]?f._events[_].fn?f._events[_]=[f._events[_],w]:f._events[_].push(w):(f._events[_]=w,f._eventsCount++),f}function u(f,d){--f._eventsCount===0?f._events=new n:delete f._events[d]}function c(){this._events=new n,this._eventsCount=0}c.prototype.eventNames=function(){var d=[],v,p;if(this._eventsCount===0)return d;for(p in v=this._events)t.call(v,p)&&d.push(r?p.slice(1):p);return Object.getOwnPropertySymbols?d.concat(Object.getOwnPropertySymbols(v)):d},c.prototype.listeners=function(d){var v=r?r+d:d,p=this._events[v];if(!p)return[];if(p.fn)return[p.fn];for(var g=0,w=p.length,_=new Array(w);g<w;g++)_[g]=p[g].fn;return _},c.prototype.listenerCount=function(d){var v=r?r+d:d,p=this._events[v];return p?p.fn?1:p.length:0},c.prototype.emit=function(d,v,p,g,w,_){var S=r?r+d:d;if(!this._events[S])return!1;var b=this._events[S],O=arguments.length,P,E;if(b.fn){switch(b.once&&this.removeListener(d,b.fn,void 0,!0),O){case 1:return b.fn.call(b.context),!0;case 2:return b.fn.call(b.context,v),!0;case 3:return b.fn.call(b.context,v,p),!0;case 4:return b.fn.call(b.context,v,p,g),!0;case 5:return b.fn.call(b.context,v,p,g,w),!0;case 6:return b.fn.call(b.context,v,p,g,w,_),!0}for(E=1,P=new Array(O-1);E<O;E++)P[E-1]=arguments[E];b.fn.apply(b.context,P)}else{var T=b.length,j;for(E=0;E<T;E++)switch(b[E].once&&this.removeListener(d,b[E].fn,void 0,!0),O){case 1:b[E].fn.call(b[E].context);break;case 2:b[E].fn.call(b[E].context,v);break;case 3:b[E].fn.call(b[E].context,v,p);break;case 4:b[E].fn.call(b[E].context,v,p,g);break;default:if(!P)for(j=1,P=new Array(O-1);j<O;j++)P[j-1]=arguments[j];b[E].fn.apply(b[E].context,P)}}return!0},c.prototype.on=function(d,v,p){return l(this,d,v,p,!1)},c.prototype.once=function(d,v,p){return l(this,d,v,p,!0)},c.prototype.removeListener=function(d,v,p,g){var w=r?r+d:d;if(!this._events[w])return this;if(!v)return u(this,w),this;var _=this._events[w];if(_.fn)_.fn===v&&(!g||_.once)&&(!p||_.context===p)&&u(this,w);else{for(var S=0,b=[],O=_.length;S<O;S++)(_[S].fn!==v||g&&!_[S].once||p&&_[S].context!==p)&&b.push(_[S]);b.length?this._events[w]=b.length===1?b[0]:b:u(this,w)}return this},c.prototype.removeAllListeners=function(d){var v;return d?(v=r?r+d:d,this._events[v]&&u(this,v)):(this._events=new n,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=r,c.EventEmitter=c,e.exports=c})(ey)),ey.exports}var _W=SW();const OW=We(_W);var ty=new OW,ry="recharts.syncMouseEvents";function Ql(e){"@babel/helpers - typeof";return Ql=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},Ql(e)}function jW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PW(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,LT(n.key),n)}}function AW(e,t,r){return t&&PW(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function ny(e,t,r){return t=LT(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function LT(e){var t=EW(e,"string");return Ql(t)=="symbol"?t:t+""}function EW(e,t){if(Ql(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Ql(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var kW=(function(){function e(){jW(this,e),ny(this,"activeIndex",0),ny(this,"coordinateList",[]),ny(this,"layout","horizontal")}return AW(e,[{key:"setDetails",value:function(r){var n,a=r.coordinateList,l=a===void 0?null:a,u=r.container,c=u===void 0?null:u,f=r.layout,d=f===void 0?null:f,v=r.offset,p=v===void 0?null:v,g=r.mouseHandlerCallback,w=g===void 0?null:g;this.coordinateList=(n=l??this.coordinateList)!==null&&n!==void 0?n:[],this.container=c??this.container,this.layout=d??this.layout,this.offset=p??this.offset,this.mouseHandlerCallback=w??this.mouseHandlerCallback,this.activeIndex=Math.min(Math.max(this.activeIndex,0),this.coordinateList.length-1)}},{key:"focus",value:function(){this.spoofMouse()}},{key:"keyboardEvent",value:function(r){if(this.coordinateList.length!==0)switch(r.key){case"ArrowRight":{if(this.layout!=="horizontal")return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break}case"ArrowLeft":{if(this.layout!=="horizontal")return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse();break}}}},{key:"setIndex",value:function(r){this.activeIndex=r}},{key:"spoofMouse",value:function(){var r,n;if(this.layout==="horizontal"&&this.coordinateList.length!==0){var a=this.container.getBoundingClientRect(),l=a.x,u=a.y,c=a.height,f=this.coordinateList[this.activeIndex].coordinate,d=((r=window)===null||r===void 0?void 0:r.scrollX)||0,v=((n=window)===null||n===void 0?void 0:n.scrollY)||0,p=l+f+d,g=u+this.offset.top+c/2+v;this.mouseHandlerCallback({pageX:p,pageY:g})}}}])})();function TW(e,t,r){if(r==="number"&&t===!0&&Array.isArray(e)){var n=e==null?void 0:e[0],a=e==null?void 0:e[1];if(n&&a&&ce(n)&&ce(a))return!0}return!1}function CW(e,t,r,n){var a=n/2;return{stroke:"none",fill:"#ccc",x:e==="horizontal"?t.x-a:r.left+.5,y:e==="horizontal"?r.top+.5:t.y-a,width:e==="horizontal"?n:r.width-1,height:e==="horizontal"?r.height-1:n}}function BT(e){var t=e.cx,r=e.cy,n=e.radius,a=e.startAngle,l=e.endAngle,u=It(t,r,n,a),c=It(t,r,n,l);return{points:[u,c],cx:t,cy:r,radius:n,startAngle:a,endAngle:l}}function NW(e,t,r){var n,a,l,u;if(e==="horizontal")n=t.x,l=n,a=r.top,u=r.top+r.height;else if(e==="vertical")a=t.y,u=a,n=r.left,l=r.left+r.width;else if(t.cx!=null&&t.cy!=null)if(e==="centric"){var c=t.cx,f=t.cy,d=t.innerRadius,v=t.outerRadius,p=t.angle,g=It(c,f,d,p),w=It(c,f,v,p);n=g.x,a=g.y,l=w.x,u=w.y}else return BT(t);return[{x:n,y:a},{x:l,y:u}]}function Zl(e){"@babel/helpers - typeof";return Zl=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},Zl(e)}function sA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function ks(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?sA(Object(r),!0).forEach(function(n){MW(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):sA(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function MW(e,t,r){return t=IW(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function IW(e){var t=$W(e,"string");return Zl(t)=="symbol"?t:t+""}function $W(e,t){if(Zl(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Zl(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function RW(e){var t,r,n=e.element,a=e.tooltipEventType,l=e.isActive,u=e.activeCoordinate,c=e.activePayload,f=e.offset,d=e.activeTooltipIndex,v=e.tooltipAxisBandSize,p=e.layout,g=e.chartName,w=(t=n.props.cursor)!==null&&t!==void 0?t:(r=n.type.defaultProps)===null||r===void 0?void 0:r.cursor;if(!n||!w||!l||!u||g!=="ScatterChart"&&a!=="axis")return null;var _,S=hl;if(g==="ScatterChart")_=u,S=DF;else if(g==="BarChart")_=CW(p,u,f,v),S=_0;else if(p==="radial"){var b=BT(u),O=b.cx,P=b.cy,E=b.radius,T=b.startAngle,j=b.endAngle;_={cx:O,cy:P,startAngle:T,endAngle:j,innerRadius:E,outerRadius:E},S=Vk}else _={points:NW(p,u,f)},S=hl;var A=ks(ks(ks(ks({stroke:"#ccc",pointerEvents:"none"},f),_),Ne(w,!1)),{},{payload:c,payloadIndex:d,className:Re("recharts-tooltip-cursor",w.className)});return D.isValidElement(w)?D.cloneElement(w,A):D.createElement(S,A)}var DW=["item"],LW=["children","className","width","height","style","compact","title","desc"];function Za(e){"@babel/helpers - typeof";return Za=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},Za(e)}function Pa(){return Pa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Pa.apply(this,arguments)}function cA(e,t){return zW(e)||qW(e,t)||zT(e,t)||BW()}function BW(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
248
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qW(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,l,u,c=[],f=!0,d=!1;try{if(l=(r=r.call(e)).next,t!==0)for(;!(f=(n=l.call(r)).done)&&(c.push(n.value),c.length!==t);f=!0);}catch(v){d=!0,a=v}finally{try{if(!f&&r.return!=null&&(u=r.return(),Object(u)!==u))return}finally{if(d)throw a}}return c}}function zW(e){if(Array.isArray(e))return e}function fA(e,t){if(e==null)return{};var r=FW(e,t),n,a;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function FW(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function UW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WW(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,FT(n.key),n)}}function HW(e,t,r){return t&&WW(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function VW(e,t,r){return t=Mc(t),GW(e,qT()?Reflect.construct(t,r||[],Mc(e).constructor):t.apply(e,r))}function GW(e,t){if(t&&(Za(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return KW(e)}function KW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(qT=function(){return!!e})()}function Mc(e){return Mc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Mc(e)}function XW(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&&jg(e,t)}function jg(e,t){return jg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},jg(e,t)}function Ja(e){return ZW(e)||QW(e)||zT(e)||YW()}function YW(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
249
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zT(e,t){if(e){if(typeof e=="string")return Pg(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Pg(e,t)}}function QW(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ZW(e){if(Array.isArray(e))return Pg(e)}function Pg(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function dA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function re(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?dA(Object(r),!0).forEach(function(n){Oe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dA(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Oe(e,t,r){return t=FT(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function FT(e){var t=JW(e,"string");return Za(t)=="symbol"?t:t+""}function JW(e,t){if(Za(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Za(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var e9={xAxis:["bottom","top"],yAxis:["left","right"]},t9={width:"100%",height:"100%"},UT={x:0,y:0};function Ts(e){return e}var r9=function(t,r){return r==="horizontal"?t.x:r==="vertical"?t.y:r==="centric"?t.angle:t.radius},n9=function(t,r,n,a){var l=r.find(function(v){return v&&v.index===n});if(l){if(t==="horizontal")return{x:l.coordinate,y:a.y};if(t==="vertical")return{x:a.x,y:l.coordinate};if(t==="centric"){var u=l.coordinate,c=a.radius;return re(re(re({},a),It(a.cx,a.cy,c,u)),{},{angle:u,radius:c})}var f=l.coordinate,d=a.angle;return re(re(re({},a),It(a.cx,a.cy,f,d)),{},{angle:d,radius:f})}return UT},hf=function(t,r){var n=r.graphicalItems,a=r.dataStartIndex,l=r.dataEndIndex,u=(n??[]).reduce(function(c,f){var d=f.props.data;return d&&d.length?[].concat(Ja(c),Ja(d)):c},[]);return u.length>0?u:t&&t.length&&ce(a)&&ce(l)?t.slice(a,l+1):[]};function WT(e){return e==="number"?[0,"auto"]:void 0}var Ag=function(t,r,n,a){var l=t.graphicalItems,u=t.tooltipAxis,c=hf(r,t);return n<0||!l||!l.length||n>=c.length?null:l.reduce(function(f,d){var v,p=(v=d.props.data)!==null&&v!==void 0?v:r;p&&t.dataStartIndex+t.dataEndIndex!==0&&t.dataEndIndex-t.dataStartIndex>=n&&(p=p.slice(t.dataStartIndex,t.dataEndIndex+1));var g;if(u.dataKey&&!u.allowDuplicatedCategory){var w=p===void 0?c:p;g=$s(w,u.dataKey,a)}else g=p&&p[n]||c[n];return g?[].concat(Ja(f),[Uk(d,g)]):f},[])},hA=function(t,r,n,a){var l=a||{x:t.chartX,y:t.chartY},u=r9(l,n),c=t.orderedTooltipTicks,f=t.tooltipAxis,d=t.tooltipTicks,v=dz(u,c,d,f);if(v>=0&&d){var p=d[v]&&d[v].value,g=Ag(t,r,v,p),w=n9(n,c,v,l);return{activeTooltipIndex:v,activeLabel:p,activePayload:g,activeCoordinate:w}}return null},i9=function(t,r){var n=r.axes,a=r.graphicalItems,l=r.axisType,u=r.axisIdKey,c=r.stackGroups,f=r.dataStartIndex,d=r.dataEndIndex,v=t.layout,p=t.children,g=t.stackOffset,w=qk(v,l);return n.reduce(function(_,S){var b,O=S.type.defaultProps!==void 0?re(re({},S.type.defaultProps),S.props):S.props,P=O.type,E=O.dataKey,T=O.allowDataOverflow,j=O.allowDuplicatedCategory,A=O.scale,C=O.ticks,N=O.includeHidden,B=O[u];if(_[B])return _;var $=hf(t.data,{graphicalItems:a.filter(function(W){var ue,ve=u in W.props?W.props[u]:(ue=W.type.defaultProps)===null||ue===void 0?void 0:ue[u];return ve===B}),dataStartIndex:f,dataEndIndex:d}),R=$.length,q,H,X;TW(O.domain,T,P)&&(q=Hy(O.domain,null,T),w&&(P==="number"||A!=="auto")&&(X=dl($,E,"category")));var Q=WT(P);if(!q||q.length===0){var ee,te=(ee=O.domain)!==null&&ee!==void 0?ee:Q;if(E){if(q=dl($,E,P),P==="category"&&w){var L=nI(q);j&&L?(H=q,q=xc(0,R)):j||(q=kj(te,q,S).reduce(function(W,ue){return W.indexOf(ue)>=0?W:[].concat(Ja(W),[ue])},[]))}else if(P==="category")j?q=q.filter(function(W){return W!==""&&!Me(W)}):q=kj(te,q,S).reduce(function(W,ue){return W.indexOf(ue)>=0||ue===""||Me(ue)?W:[].concat(Ja(W),[ue])},[]);else if(P==="number"){var V=yz($,a.filter(function(W){var ue,ve,we=u in W.props?W.props[u]:(ue=W.type.defaultProps)===null||ue===void 0?void 0:ue[u],je="hide"in W.props?W.props.hide:(ve=W.type.defaultProps)===null||ve===void 0?void 0:ve.hide;return we===B&&(N||!je)}),E,l,v);V&&(q=V)}w&&(P==="number"||A!=="auto")&&(X=dl($,E,"category"))}else w?q=xc(0,R):c&&c[B]&&c[B].hasStack&&P==="number"?q=g==="expand"?[0,1]:Fk(c[B].stackGroups,f,d):q=Bk($,a.filter(function(W){var ue=u in W.props?W.props[u]:W.type.defaultProps[u],ve="hide"in W.props?W.props.hide:W.type.defaultProps.hide;return ue===B&&(N||!ve)}),P,v,!0);if(P==="number")q=Og(p,q,B,l,C),te&&(q=Hy(te,q,T));else if(P==="category"&&te){var Z=te,I=q.every(function(W){return Z.indexOf(W)>=0});I&&(q=Z)}}return re(re({},_),{},Oe({},B,re(re({},O),{},{axisType:l,domain:q,categoricalDomain:X,duplicateDomain:H,originalDomain:(b=O.domain)!==null&&b!==void 0?b:Q,isCategorical:w,layout:v})))},{})},a9=function(t,r){var n=r.graphicalItems,a=r.Axis,l=r.axisType,u=r.axisIdKey,c=r.stackGroups,f=r.dataStartIndex,d=r.dataEndIndex,v=t.layout,p=t.children,g=hf(t.data,{graphicalItems:n,dataStartIndex:f,dataEndIndex:d}),w=g.length,_=qk(v,l),S=-1;return n.reduce(function(b,O){var P=O.type.defaultProps!==void 0?re(re({},O.type.defaultProps),O.props):O.props,E=P[u],T=WT("number");if(!b[E]){S++;var j;return _?j=xc(0,w):c&&c[E]&&c[E].hasStack?(j=Fk(c[E].stackGroups,f,d),j=Og(p,j,E,l)):(j=Hy(T,Bk(g,n.filter(function(A){var C,N,B=u in A.props?A.props[u]:(C=A.type.defaultProps)===null||C===void 0?void 0:C[u],$="hide"in A.props?A.props.hide:(N=A.type.defaultProps)===null||N===void 0?void 0:N.hide;return B===E&&!$}),"number",v),a.defaultProps.allowDataOverflow),j=Og(p,j,E,l)),re(re({},b),{},Oe({},E,re(re({axisType:l},a.defaultProps),{},{hide:!0,orientation:Ar(e9,"".concat(l,".").concat(S%2),null),domain:j,originalDomain:T,isCategorical:_,layout:v})))}return b},{})},o9=function(t,r){var n=r.axisType,a=n===void 0?"xAxis":n,l=r.AxisComp,u=r.graphicalItems,c=r.stackGroups,f=r.dataStartIndex,d=r.dataEndIndex,v=t.children,p="".concat(a,"Id"),g=Ur(v,l),w={};return g&&g.length?w=i9(t,{axes:g,graphicalItems:u,axisType:a,axisIdKey:p,stackGroups:c,dataStartIndex:f,dataEndIndex:d}):u&&u.length&&(w=a9(t,{Axis:l,graphicalItems:u,axisType:a,axisIdKey:p,stackGroups:c,dataStartIndex:f,dataEndIndex:d})),w},l9=function(t){var r=Jn(t),n=gn(r,!1,!0);return{tooltipTicks:n,orderedTooltipTicks:Yg(n,function(a){return a.coordinate}),tooltipAxis:r,tooltipAxisBandSize:sc(r,n)}},pA=function(t){var r=t.children,n=t.defaultShowTooltip,a=fr(r,Ua),l=0,u=0;return t.data&&t.data.length!==0&&(u=t.data.length-1),a&&a.props&&(a.props.startIndex>=0&&(l=a.props.startIndex),a.props.endIndex>=0&&(u=a.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:l,dataEndIndex:u,activeTooltipIndex:-1,isTooltipActive:!!n}},u9=function(t){return!t||!t.length?!1:t.some(function(r){var n=bn(r&&r.type);return n&&n.indexOf("Bar")>=0})},vA=function(t){return t==="horizontal"?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:t==="vertical"?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:t==="centric"?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},s9=function(t,r){var n=t.props,a=t.graphicalItems,l=t.xAxisMap,u=l===void 0?{}:l,c=t.yAxisMap,f=c===void 0?{}:c,d=n.width,v=n.height,p=n.children,g=n.margin||{},w=fr(p,Ua),_=fr(p,Di),S=Object.keys(f).reduce(function(j,A){var C=f[A],N=C.orientation;return!C.mirror&&!C.hide?re(re({},j),{},Oe({},N,j[N]+C.width)):j},{left:g.left||0,right:g.right||0}),b=Object.keys(u).reduce(function(j,A){var C=u[A],N=C.orientation;return!C.mirror&&!C.hide?re(re({},j),{},Oe({},N,Ar(j,"".concat(N))+C.height)):j},{top:g.top||0,bottom:g.bottom||0}),O=re(re({},b),S),P=O.bottom;w&&(O.bottom+=w.props.height||Ua.defaultProps.height),_&&r&&(O=vz(O,a,n,r));var E=d-O.left-O.right,T=v-O.top-O.bottom;return re(re({brushBottom:P},O),{},{width:Math.max(E,0),height:Math.max(T,0)})},c9=function(t,r){if(r==="xAxis")return t[r].width;if(r==="yAxis")return t[r].height},f9=function(t){var r=t.chartName,n=t.GraphicalChild,a=t.defaultTooltipEventType,l=a===void 0?"axis":a,u=t.validateTooltipEventTypes,c=u===void 0?["axis"]:u,f=t.axisComponents,d=t.legendContent,v=t.formatAxisMap,p=t.defaultProps,g=function(O,P){var E=P.graphicalItems,T=P.stackGroups,j=P.offset,A=P.updateId,C=P.dataStartIndex,N=P.dataEndIndex,B=O.barSize,$=O.layout,R=O.barGap,q=O.barCategoryGap,H=O.maxBarSize,X=vA($),Q=X.numericAxisName,ee=X.cateAxisName,te=u9(E),L=[];return E.forEach(function(V,Z){var I=hf(O.data,{graphicalItems:[V],dataStartIndex:C,dataEndIndex:N}),W=V.type.defaultProps!==void 0?re(re({},V.type.defaultProps),V.props):V.props,ue=W.dataKey,ve=W.maxBarSize,we=W["".concat(Q,"Id")],je=W["".concat(ee,"Id")],Te={},Pe=f.reduce(function(jt,yt){var pr=P["".concat(yt.axisType,"Map")],hi=W["".concat(yt.axisType,"Id")];pr&&pr[hi]||yt.axisType==="zAxis"||Ui();var pi=pr[hi];return re(re({},jt),{},Oe(Oe({},yt.axisType,pi),"".concat(yt.axisType,"Ticks"),gn(pi)))},Te),oe=Pe[ee],xe=Pe["".concat(ee,"Ticks")],be=T&&T[we]&&T[we].hasStack&&kz(V,T[we].stackGroups),ne=bn(V.type).indexOf("Bar")>=0,De=sc(oe,xe),ke=[],He=te&&hz({barSize:B,stackGroups:T,totalSize:c9(Pe,ee)});if(ne){var Ve,ct,$t=Me(ve)?H:ve,ar=(Ve=(ct=sc(oe,xe,!0))!==null&&ct!==void 0?ct:$t)!==null&&Ve!==void 0?Ve:0;ke=pz({barGap:R,barCategoryGap:q,bandSize:ar!==De?ar:De,sizeList:He[je],maxBarSize:$t}),ar!==De&&(ke=ke.map(function(jt){return re(re({},jt),{},{position:re(re({},jt.position),{},{offset:jt.position.offset-ar/2})})}))}var Rt=V&&V.type&&V.type.getComposedData;Rt&&L.push({props:re(re({},Rt(re(re({},Pe),{},{displayedData:I,props:O,dataKey:ue,item:V,bandSize:De,barPosition:ke,offset:j,stackedData:be,layout:$,dataStartIndex:C,dataEndIndex:N}))),{},Oe(Oe(Oe({key:V.key||"item-".concat(Z)},Q,Pe[Q]),ee,Pe[ee]),"animationId",A)),childIndex:mI(V,O.children),item:V})}),L},w=function(O,P){var E=O.props,T=O.dataStartIndex,j=O.dataEndIndex,A=O.updateId;if(!Uw({props:E}))return null;var C=E.children,N=E.layout,B=E.stackOffset,$=E.data,R=E.reverseStackOrder,q=vA(N),H=q.numericAxisName,X=q.cateAxisName,Q=Ur(C,n),ee=Pz($,Q,"".concat(H,"Id"),"".concat(X,"Id"),B,R),te=f.reduce(function(W,ue){var ve="".concat(ue.axisType,"Map");return re(re({},W),{},Oe({},ve,o9(E,re(re({},ue),{},{graphicalItems:Q,stackGroups:ue.axisType===H&&ee,dataStartIndex:T,dataEndIndex:j}))))},{}),L=s9(re(re({},te),{},{props:E,graphicalItems:Q}),P==null?void 0:P.legendBBox);Object.keys(te).forEach(function(W){te[W]=v(E,te[W],L,W.replace("Map",""),r)});var V=te["".concat(X,"Map")],Z=l9(V),I=g(E,re(re({},te),{},{dataStartIndex:T,dataEndIndex:j,updateId:A,graphicalItems:Q,stackGroups:ee,offset:L}));return re(re({formattedGraphicalItems:I,graphicalItems:Q,offset:L,stackGroups:ee},Z),te)},_=(function(b){function O(P){var E,T,j;return UW(this,O),j=VW(this,O,[P]),Oe(j,"eventEmitterSymbol",Symbol("rechartsEventEmitter")),Oe(j,"accessibilityManager",new kW),Oe(j,"handleLegendBBoxUpdate",function(A){if(A){var C=j.state,N=C.dataStartIndex,B=C.dataEndIndex,$=C.updateId;j.setState(re({legendBBox:A},w({props:j.props,dataStartIndex:N,dataEndIndex:B,updateId:$},re(re({},j.state),{},{legendBBox:A}))))}}),Oe(j,"handleReceiveSyncEvent",function(A,C,N){if(j.props.syncId===A){if(N===j.eventEmitterSymbol&&typeof j.props.syncMethod!="function")return;j.applySyncEvent(C)}}),Oe(j,"handleBrushChange",function(A){var C=A.startIndex,N=A.endIndex;if(C!==j.state.dataStartIndex||N!==j.state.dataEndIndex){var B=j.state.updateId;j.setState(function(){return re({dataStartIndex:C,dataEndIndex:N},w({props:j.props,dataStartIndex:C,dataEndIndex:N,updateId:B},j.state))}),j.triggerSyncEvent({dataStartIndex:C,dataEndIndex:N})}}),Oe(j,"handleMouseEnter",function(A){var C=j.getMouseInfo(A);if(C){var N=re(re({},C),{},{isTooltipActive:!0});j.setState(N),j.triggerSyncEvent(N);var B=j.props.onMouseEnter;Ee(B)&&B(N,A)}}),Oe(j,"triggeredAfterMouseMove",function(A){var C=j.getMouseInfo(A),N=C?re(re({},C),{},{isTooltipActive:!0}):{isTooltipActive:!1};j.setState(N),j.triggerSyncEvent(N);var B=j.props.onMouseMove;Ee(B)&&B(N,A)}),Oe(j,"handleItemMouseEnter",function(A){j.setState(function(){return{isTooltipActive:!0,activeItem:A,activePayload:A.tooltipPayload,activeCoordinate:A.tooltipPosition||{x:A.cx,y:A.cy}}})}),Oe(j,"handleItemMouseLeave",function(){j.setState(function(){return{isTooltipActive:!1}})}),Oe(j,"handleMouseMove",function(A){A.persist(),j.throttleTriggeredAfterMouseMove(A)}),Oe(j,"handleMouseLeave",function(A){j.throttleTriggeredAfterMouseMove.cancel();var C={isTooltipActive:!1};j.setState(C),j.triggerSyncEvent(C);var N=j.props.onMouseLeave;Ee(N)&&N(C,A)}),Oe(j,"handleOuterEvent",function(A){var C=vI(A),N=Ar(j.props,"".concat(C));if(C&&Ee(N)){var B,$;/.*touch.*/i.test(C)?$=j.getMouseInfo(A.changedTouches[0]):$=j.getMouseInfo(A),N((B=$)!==null&&B!==void 0?B:{},A)}}),Oe(j,"handleClick",function(A){var C=j.getMouseInfo(A);if(C){var N=re(re({},C),{},{isTooltipActive:!0});j.setState(N),j.triggerSyncEvent(N);var B=j.props.onClick;Ee(B)&&B(N,A)}}),Oe(j,"handleMouseDown",function(A){var C=j.props.onMouseDown;if(Ee(C)){var N=j.getMouseInfo(A);C(N,A)}}),Oe(j,"handleMouseUp",function(A){var C=j.props.onMouseUp;if(Ee(C)){var N=j.getMouseInfo(A);C(N,A)}}),Oe(j,"handleTouchMove",function(A){A.changedTouches!=null&&A.changedTouches.length>0&&j.throttleTriggeredAfterMouseMove(A.changedTouches[0])}),Oe(j,"handleTouchStart",function(A){A.changedTouches!=null&&A.changedTouches.length>0&&j.handleMouseDown(A.changedTouches[0])}),Oe(j,"handleTouchEnd",function(A){A.changedTouches!=null&&A.changedTouches.length>0&&j.handleMouseUp(A.changedTouches[0])}),Oe(j,"handleDoubleClick",function(A){var C=j.props.onDoubleClick;if(Ee(C)){var N=j.getMouseInfo(A);C(N,A)}}),Oe(j,"handleContextMenu",function(A){var C=j.props.onContextMenu;if(Ee(C)){var N=j.getMouseInfo(A);C(N,A)}}),Oe(j,"triggerSyncEvent",function(A){j.props.syncId!==void 0&&ty.emit(ry,j.props.syncId,A,j.eventEmitterSymbol)}),Oe(j,"applySyncEvent",function(A){var C=j.props,N=C.layout,B=C.syncMethod,$=j.state.updateId,R=A.dataStartIndex,q=A.dataEndIndex;if(A.dataStartIndex!==void 0||A.dataEndIndex!==void 0)j.setState(re({dataStartIndex:R,dataEndIndex:q},w({props:j.props,dataStartIndex:R,dataEndIndex:q,updateId:$},j.state)));else if(A.activeTooltipIndex!==void 0){var H=A.chartX,X=A.chartY,Q=A.activeTooltipIndex,ee=j.state,te=ee.offset,L=ee.tooltipTicks;if(!te)return;if(typeof B=="function")Q=B(L,A);else if(B==="value"){Q=-1;for(var V=0;V<L.length;V++)if(L[V].value===A.activeLabel){Q=V;break}}var Z=re(re({},te),{},{x:te.left,y:te.top}),I=Math.min(H,Z.x+Z.width),W=Math.min(X,Z.y+Z.height),ue=L[Q]&&L[Q].value,ve=Ag(j.state,j.props.data,Q),we=L[Q]?{x:N==="horizontal"?L[Q].coordinate:I,y:N==="horizontal"?W:L[Q].coordinate}:UT;j.setState(re(re({},A),{},{activeLabel:ue,activeCoordinate:we,activePayload:ve,activeTooltipIndex:Q}))}else j.setState(A)}),Oe(j,"renderCursor",function(A){var C,N=j.state,B=N.isTooltipActive,$=N.activeCoordinate,R=N.activePayload,q=N.offset,H=N.activeTooltipIndex,X=N.tooltipAxisBandSize,Q=j.getTooltipEventType(),ee=(C=A.props.active)!==null&&C!==void 0?C:B,te=j.props.layout,L=A.key||"_recharts-cursor";return U.createElement(RW,{key:L,activeCoordinate:$,activePayload:R,activeTooltipIndex:H,chartName:r,element:A,isActive:ee,layout:te,offset:q,tooltipAxisBandSize:X,tooltipEventType:Q})}),Oe(j,"renderPolarAxis",function(A,C,N){var B=Ar(A,"type.axisType"),$=Ar(j.state,"".concat(B,"Map")),R=A.type.defaultProps,q=R!==void 0?re(re({},R),A.props):A.props,H=$&&$[q["".concat(B,"Id")]];return D.cloneElement(A,re(re({},H),{},{className:Re(B,H.className),key:A.key||"".concat(C,"-").concat(N),ticks:gn(H,!0)}))}),Oe(j,"renderPolarGrid",function(A){var C=A.props,N=C.radialLines,B=C.polarAngles,$=C.polarRadius,R=j.state,q=R.radiusAxisMap,H=R.angleAxisMap,X=Jn(q),Q=Jn(H),ee=Q.cx,te=Q.cy,L=Q.innerRadius,V=Q.outerRadius;return D.cloneElement(A,{polarAngles:Array.isArray(B)?B:gn(Q,!0).map(function(Z){return Z.coordinate}),polarRadius:Array.isArray($)?$:gn(X,!0).map(function(Z){return Z.coordinate}),cx:ee,cy:te,innerRadius:L,outerRadius:V,key:A.key||"polar-grid",radialLines:N})}),Oe(j,"renderLegend",function(){var A=j.state.formattedGraphicalItems,C=j.props,N=C.children,B=C.width,$=C.height,R=j.props.margin||{},q=B-(R.left||0)-(R.right||0),H=Dk({children:N,formattedGraphicalItems:A,legendWidth:q,legendContent:d});if(!H)return null;var X=H.item,Q=fA(H,DW);return D.cloneElement(X,re(re({},Q),{},{chartWidth:B,chartHeight:$,margin:R,onBBoxUpdate:j.handleLegendBBoxUpdate}))}),Oe(j,"renderTooltip",function(){var A,C=j.props,N=C.children,B=C.accessibilityLayer,$=fr(N,Br);if(!$)return null;var R=j.state,q=R.isTooltipActive,H=R.activeCoordinate,X=R.activePayload,Q=R.activeLabel,ee=R.offset,te=(A=$.props.active)!==null&&A!==void 0?A:q;return D.cloneElement($,{viewBox:re(re({},ee),{},{x:ee.left,y:ee.top}),active:te,label:Q,payload:te?X:[],coordinate:H,accessibilityLayer:B})}),Oe(j,"renderBrush",function(A){var C=j.props,N=C.margin,B=C.data,$=j.state,R=$.offset,q=$.dataStartIndex,H=$.dataEndIndex,X=$.updateId;return D.cloneElement(A,{key:A.key||"_recharts-brush",onChange:Ps(j.handleBrushChange,A.props.onChange),data:B,x:ce(A.props.x)?A.props.x:R.left,y:ce(A.props.y)?A.props.y:R.top+R.height+R.brushBottom-(N.bottom||0),width:ce(A.props.width)?A.props.width:R.width,startIndex:q,endIndex:H,updateId:"brush-".concat(X)})}),Oe(j,"renderReferenceElement",function(A,C,N){if(!A)return null;var B=j,$=B.clipPathId,R=j.state,q=R.xAxisMap,H=R.yAxisMap,X=R.offset,Q=A.type.defaultProps||{},ee=A.props,te=ee.xAxisId,L=te===void 0?Q.xAxisId:te,V=ee.yAxisId,Z=V===void 0?Q.yAxisId:V;return D.cloneElement(A,{key:A.key||"".concat(C,"-").concat(N),xAxis:q[L],yAxis:H[Z],viewBox:{x:X.left,y:X.top,width:X.width,height:X.height},clipPathId:$})}),Oe(j,"renderActivePoints",function(A){var C=A.item,N=A.activePoint,B=A.basePoint,$=A.childIndex,R=A.isRange,q=[],H=C.props.key,X=C.item.type.defaultProps!==void 0?re(re({},C.item.type.defaultProps),C.item.props):C.item.props,Q=X.activeDot,ee=X.dataKey,te=re(re({index:$,dataKey:ee,cx:N.x,cy:N.y,r:4,fill:S0(C.item),strokeWidth:2,stroke:"#fff",payload:N.payload,value:N.value},Ne(Q,!1)),Rs(Q));return q.push(O.renderActiveDot(Q,te,"".concat(H,"-activePoint-").concat($))),B?q.push(O.renderActiveDot(Q,re(re({},te),{},{cx:B.x,cy:B.y}),"".concat(H,"-basePoint-").concat($))):R&&q.push(null),q}),Oe(j,"renderGraphicChild",function(A,C,N){var B=j.filterFormatItem(A,C,N);if(!B)return null;var $=j.getTooltipEventType(),R=j.state,q=R.isTooltipActive,H=R.tooltipAxis,X=R.activeTooltipIndex,Q=R.activeLabel,ee=j.props.children,te=fr(ee,Br),L=B.props,V=L.points,Z=L.isRange,I=L.baseLine,W=B.item.type.defaultProps!==void 0?re(re({},B.item.type.defaultProps),B.item.props):B.item.props,ue=W.activeDot,ve=W.hide,we=W.activeBar,je=W.activeShape,Te=!!(!ve&&q&&te&&(ue||we||je)),Pe={};$!=="axis"&&te&&te.props.trigger==="click"?Pe={onClick:Ps(j.handleItemMouseEnter,A.props.onClick)}:$!=="axis"&&(Pe={onMouseLeave:Ps(j.handleItemMouseLeave,A.props.onMouseLeave),onMouseEnter:Ps(j.handleItemMouseEnter,A.props.onMouseEnter)});var oe=D.cloneElement(A,re(re({},B.props),Pe));function xe(yt){return typeof H.dataKey=="function"?H.dataKey(yt.payload):null}if(Te)if(X>=0){var be,ne;if(H.dataKey&&!H.allowDuplicatedCategory){var De=typeof H.dataKey=="function"?xe:"payload.".concat(H.dataKey.toString());be=$s(V,De,Q),ne=Z&&I&&$s(I,De,Q)}else be=V==null?void 0:V[X],ne=Z&&I&&I[X];if(je||we){var ke=A.props.activeIndex!==void 0?A.props.activeIndex:X;return[D.cloneElement(A,re(re(re({},B.props),Pe),{},{activeIndex:ke})),null,null]}if(!Me(be))return[oe].concat(Ja(j.renderActivePoints({item:B,activePoint:be,basePoint:ne,childIndex:X,isRange:Z})))}else{var He,Ve=(He=j.getItemByXY(j.state.activeCoordinate))!==null&&He!==void 0?He:{graphicalItem:oe},ct=Ve.graphicalItem,$t=ct.item,ar=$t===void 0?A:$t,Rt=ct.childIndex,jt=re(re(re({},B.props),Pe),{},{activeIndex:Rt});return[D.cloneElement(ar,jt),null,null]}return Z?[oe,null,null]:[oe,null]}),Oe(j,"renderCustomized",function(A,C,N){return D.cloneElement(A,re(re({key:"recharts-customized-".concat(N)},j.props),j.state))}),Oe(j,"renderMap",{CartesianGrid:{handler:Ts,once:!0},ReferenceArea:{handler:j.renderReferenceElement},ReferenceLine:{handler:Ts},ReferenceDot:{handler:j.renderReferenceElement},XAxis:{handler:Ts},YAxis:{handler:Ts},Brush:{handler:j.renderBrush,once:!0},Bar:{handler:j.renderGraphicChild},Line:{handler:j.renderGraphicChild},Area:{handler:j.renderGraphicChild},Radar:{handler:j.renderGraphicChild},RadialBar:{handler:j.renderGraphicChild},Scatter:{handler:j.renderGraphicChild},Pie:{handler:j.renderGraphicChild},Funnel:{handler:j.renderGraphicChild},Tooltip:{handler:j.renderCursor,once:!0},PolarGrid:{handler:j.renderPolarGrid,once:!0},PolarAngleAxis:{handler:j.renderPolarAxis},PolarRadiusAxis:{handler:j.renderPolarAxis},Customized:{handler:j.renderCustomized}}),j.clipPathId="".concat((E=P.id)!==null&&E!==void 0?E:tu("recharts"),"-clip"),j.throttleTriggeredAfterMouseMove=RE(j.triggeredAfterMouseMove,(T=P.throttleDelay)!==null&&T!==void 0?T:1e3/60),j.state={},j}return XW(O,b),HW(O,[{key:"componentDidMount",value:function(){var E,T;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:(E=this.props.margin.left)!==null&&E!==void 0?E:0,top:(T=this.props.margin.top)!==null&&T!==void 0?T:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var E=this.props,T=E.children,j=E.data,A=E.height,C=E.layout,N=fr(T,Br);if(N){var B=N.props.defaultIndex;if(!(typeof B!="number"||B<0||B>this.state.tooltipTicks.length-1)){var $=this.state.tooltipTicks[B]&&this.state.tooltipTicks[B].value,R=Ag(this.state,j,B,$),q=this.state.tooltipTicks[B].coordinate,H=(this.state.offset.top+A)/2,X=C==="horizontal",Q=X?{x:q,y:H}:{y:q,x:H},ee=this.state.formattedGraphicalItems.find(function(L){var V=L.item;return V.type.name==="Scatter"});ee&&(Q=re(re({},Q),ee.props.points[B].tooltipPosition),R=ee.props.points[B].tooltipPayload);var te={activeTooltipIndex:B,isTooltipActive:!0,activeLabel:$,activePayload:R,activeCoordinate:Q};this.setState(te),this.renderCursor(N),this.accessibilityManager.setIndex(B)}}}},{key:"getSnapshotBeforeUpdate",value:function(E,T){if(!this.props.accessibilityLayer)return null;if(this.state.tooltipTicks!==T.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==E.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==E.margin){var j,A;this.accessibilityManager.setDetails({offset:{left:(j=this.props.margin.left)!==null&&j!==void 0?j:0,top:(A=this.props.margin.top)!==null&&A!==void 0?A:0}})}return null}},{key:"componentDidUpdate",value:function(E){hy([fr(E.children,Br)],[fr(this.props.children,Br)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var E=fr(this.props.children,Br);if(E&&typeof E.props.shared=="boolean"){var T=E.props.shared?"axis":"item";return c.indexOf(T)>=0?T:l}return l}},{key:"getMouseInfo",value:function(E){if(!this.container)return null;var T=this.container,j=T.getBoundingClientRect(),A=rL(j),C={chartX:Math.round(E.pageX-A.left),chartY:Math.round(E.pageY-A.top)},N=j.width/T.offsetWidth||1,B=this.inRange(C.chartX,C.chartY,N);if(!B)return null;var $=this.state,R=$.xAxisMap,q=$.yAxisMap,H=this.getTooltipEventType(),X=hA(this.state,this.props.data,this.props.layout,B);if(H!=="axis"&&R&&q){var Q=Jn(R).scale,ee=Jn(q).scale,te=Q&&Q.invert?Q.invert(C.chartX):null,L=ee&&ee.invert?ee.invert(C.chartY):null;return re(re({},C),{},{xValue:te,yValue:L},X)}return X?re(re({},C),X):null}},{key:"inRange",value:function(E,T){var j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,A=this.props.layout,C=E/j,N=T/j;if(A==="horizontal"||A==="vertical"){var B=this.state.offset,$=C>=B.left&&C<=B.left+B.width&&N>=B.top&&N<=B.top+B.height;return $?{x:C,y:N}:null}var R=this.state,q=R.angleAxisMap,H=R.radiusAxisMap;if(q&&H){var X=Jn(q);return Nj({x:C,y:N},X)}return null}},{key:"parseEventsOfWrapper",value:function(){var E=this.props.children,T=this.getTooltipEventType(),j=fr(E,Br),A={};j&&T==="axis"&&(j.props.trigger==="click"?A={onClick:this.handleClick}:A={onMouseEnter:this.handleMouseEnter,onDoubleClick:this.handleDoubleClick,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,onContextMenu:this.handleContextMenu});var C=Rs(this.props,this.handleOuterEvent);return re(re({},C),A)}},{key:"addListener",value:function(){ty.on(ry,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){ty.removeListener(ry,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(E,T,j){for(var A=this.state.formattedGraphicalItems,C=0,N=A.length;C<N;C++){var B=A[C];if(B.item===E||B.props.key===E.key||T===bn(B.item.type)&&j===B.childIndex)return B}return null}},{key:"renderClipPath",value:function(){var E=this.clipPathId,T=this.state.offset,j=T.left,A=T.top,C=T.height,N=T.width;return U.createElement("defs",null,U.createElement("clipPath",{id:E},U.createElement("rect",{x:j,y:A,height:C,width:N})))}},{key:"getXScales",value:function(){var E=this.state.xAxisMap;return E?Object.entries(E).reduce(function(T,j){var A=cA(j,2),C=A[0],N=A[1];return re(re({},T),{},Oe({},C,N.scale))},{}):null}},{key:"getYScales",value:function(){var E=this.state.yAxisMap;return E?Object.entries(E).reduce(function(T,j){var A=cA(j,2),C=A[0],N=A[1];return re(re({},T),{},Oe({},C,N.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(E){var T;return(T=this.state.xAxisMap)===null||T===void 0||(T=T[E])===null||T===void 0?void 0:T.scale}},{key:"getYScaleByAxisId",value:function(E){var T;return(T=this.state.yAxisMap)===null||T===void 0||(T=T[E])===null||T===void 0?void 0:T.scale}},{key:"getItemByXY",value:function(E){var T=this.state,j=T.formattedGraphicalItems,A=T.activeItem;if(j&&j.length)for(var C=0,N=j.length;C<N;C++){var B=j[C],$=B.props,R=B.item,q=R.type.defaultProps!==void 0?re(re({},R.type.defaultProps),R.props):R.props,H=bn(R.type);if(H==="Bar"){var X=($.data||[]).find(function(L){return AF(E,L)});if(X)return{graphicalItem:B,payload:X}}else if(H==="RadialBar"){var Q=($.data||[]).find(function(L){return Nj(E,L)});if(Q)return{graphicalItem:B,payload:Q}}else if(of(B,A)||lf(B,A)||Vl(B,A)){var ee=yU({graphicalItem:B,activeTooltipItem:A,itemData:q.data}),te=q.activeIndex===void 0?ee:q.activeIndex;return{graphicalItem:re(re({},B),{},{childIndex:te}),payload:Vl(B,A)?q.data[ee]:B.props.data[ee]}}}return null}},{key:"render",value:function(){var E=this;if(!Uw(this))return null;var T=this.props,j=T.children,A=T.className,C=T.width,N=T.height,B=T.style,$=T.compact,R=T.title,q=T.desc,H=fA(T,LW),X=Ne(H,!1);if($)return U.createElement(VP,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},U.createElement(vy,Pa({},X,{width:C,height:N,title:R,desc:q}),this.renderClipPath(),Hw(j,this.renderMap)));if(this.props.accessibilityLayer){var Q,ee;X.tabIndex=(Q=this.props.tabIndex)!==null&&Q!==void 0?Q:0,X.role=(ee=this.props.role)!==null&&ee!==void 0?ee:"application",X.onKeyDown=function(L){E.accessibilityManager.keyboardEvent(L)},X.onFocus=function(){E.accessibilityManager.focus()}}var te=this.parseEventsOfWrapper();return U.createElement(VP,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},U.createElement("div",Pa({className:Re("recharts-wrapper",A),style:re({position:"relative",cursor:"default",width:C,height:N},B)},te,{ref:function(V){E.container=V}}),U.createElement(vy,Pa({},X,{width:C,height:N,title:R,desc:q,style:t9}),this.renderClipPath(),Hw(j,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}])})(D.Component);Oe(_,"displayName",r),Oe(_,"defaultProps",re({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},p)),Oe(_,"getDerivedStateFromProps",function(b,O){var P=b.dataKey,E=b.data,T=b.children,j=b.width,A=b.height,C=b.layout,N=b.stackOffset,B=b.margin,$=O.dataStartIndex,R=O.dataEndIndex;if(O.updateId===void 0){var q=pA(b);return re(re(re({},q),{},{updateId:0},w(re(re({props:b},q),{},{updateId:0}),O)),{},{prevDataKey:P,prevData:E,prevWidth:j,prevHeight:A,prevLayout:C,prevStackOffset:N,prevMargin:B,prevChildren:T})}if(P!==O.prevDataKey||E!==O.prevData||j!==O.prevWidth||A!==O.prevHeight||C!==O.prevLayout||N!==O.prevStackOffset||!Ea(B,O.prevMargin)){var H=pA(b),X={chartX:O.chartX,chartY:O.chartY,isTooltipActive:O.isTooltipActive},Q=re(re({},hA(O,E,C)),{},{updateId:O.updateId+1}),ee=re(re(re({},H),X),Q);return re(re(re({},ee),w(re({props:b},ee),O)),{},{prevDataKey:P,prevData:E,prevWidth:j,prevHeight:A,prevLayout:C,prevStackOffset:N,prevMargin:B,prevChildren:T})}if(!hy(T,O.prevChildren)){var te,L,V,Z,I=fr(T,Ua),W=I&&(te=(L=I.props)===null||L===void 0?void 0:L.startIndex)!==null&&te!==void 0?te:$,ue=I&&(V=(Z=I.props)===null||Z===void 0?void 0:Z.endIndex)!==null&&V!==void 0?V:R,ve=W!==$||ue!==R,we=!Me(E),je=we&&!ve?O.updateId:O.updateId+1;return re(re({updateId:je},w(re(re({props:b},O),{},{updateId:je,dataStartIndex:W,dataEndIndex:ue}),O)),{},{prevChildren:T,dataStartIndex:W,dataEndIndex:ue})}return null}),Oe(_,"renderActiveDot",function(b,O,P){var E;return D.isValidElement(b)?E=D.cloneElement(b,O):Ee(b)?E=b(O):E=U.createElement(O0,O),U.createElement(ot,{className:"recharts-active-dot",key:P},E)});var S=D.forwardRef(function(O,P){return U.createElement(_,Pa({},O,{ref:P}))});return S.displayName=_.displayName,S},HT=f9({chartName:"AreaChart",GraphicalChild:Wr,axisComponents:[{axisType:"xAxis",AxisComp:uu},{axisType:"yAxis",AxisComp:su}],formatAxisMap:h6});async function Ye(e,t){const r=await fetch(e,t),n=await r.json().catch(()=>null);if(!r.ok)throw new Error((n==null?void 0:n.detail)??`Request failed (HTTP ${r.status})`);return n}function d9({auth:e,onSuccess:t}){const[r,n]=D.useState(""),[a,l]=D.useState(""),[u,c]=D.useState(""),[f,d]=D.useState(""),[v,p]=D.useState(!1),[g,w]=D.useState(""),_=e.setup_required,S=!!(e.authenticated&&e.must_change_password),b=async O=>{O.preventDefault(),p(!0),w("");try{if(S){if(a!==u)throw new Error("The new passwords do not match.");await Ye("/api/v1/auth/change-password",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({new_password:a})})}else await Ye(_?"/api/v1/auth/setup":"/api/v1/auth/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(_?{setup_token:f,username:r,password:a}:{username:r,password:a})});t()}catch(P){w(P instanceof Error?P.message:"Sign in failed")}finally{p(!1)}};return y.jsx("main",{className:"auth-screen",children:y.jsxs("form",{className:"panel auth-card",onSubmit:b,children:[y.jsx("div",{className:"brand-icon",children:y.jsx(kg,{size:21})}),y.jsx("h1",{children:S?"Set your new password":_?"Secure your Synfull dashboard":"Welcome back"}),y.jsx("p",{children:S?"The default local admin password must be changed before you can continue.":_?"Create the first administrator account. The one-time setup token is stored in the Synfull state directory.":"Sign in to access host monitoring and management."}),_&&y.jsxs(y.Fragment,{children:[y.jsx("label",{className:"form-label",htmlFor:"setup-token",children:"One-time setup token"}),y.jsx("input",{id:"setup-token",className:"form-input",type:"password",autoComplete:"off",value:f,onChange:O=>d(O.target.value),required:!0}),y.jsx("small",{children:e.setup_instructions})]}),!S&&y.jsxs(y.Fragment,{children:[y.jsx("label",{className:"form-label",htmlFor:"admin-user",children:"Username"}),y.jsx("input",{id:"admin-user",className:"form-input",autoComplete:"username",value:r,onChange:O=>n(O.target.value),required:!0}),y.jsx("label",{className:"form-label",htmlFor:"admin-password",children:"Password"})]}),y.jsx("input",{id:"admin-password","aria-label":S?"New password":"Password",className:"form-input",type:"password",autoComplete:_||S?"new-password":"current-password",minLength:_||S?12:void 0,placeholder:S?"New password (12+ characters)":"",value:a,onChange:O=>l(O.target.value),required:!0}),S&&y.jsxs(y.Fragment,{children:[y.jsx("label",{className:"form-label",htmlFor:"confirm-password",children:"Confirm new password"}),y.jsx("input",{id:"confirm-password",className:"form-input",type:"password",autoComplete:"new-password",minLength:12,value:u,onChange:O=>c(O.target.value),required:!0}),y.jsx("small",{children:"Choose at least 12 characters. You must change this password before accessing the dashboard."})]}),_&&y.jsx("small",{children:"Use at least 12 characters. Your password is stored as a salted scrypt hash."}),!_&&!S&&e.default_login_available&&y.jsxs("small",{children:["First local sign-in: username ",y.jsx("strong",{children:"admin"}),", password ",y.jsx("strong",{children:"admin"}),". You will be required to change it before continuing."]}),g&&y.jsx("div",{className:"alert",role:"alert",children:g}),y.jsxs("button",{className:"console-button auth-submit",disabled:v||!!(S&&(a.length<12||a!==u)),children:[v?"Please wait…":S?"Change password":_?"Create administrator":"Sign in"," ",y.jsx(iM,{size:14})]})]})})}const pn={services:["Services","Service status and allowlisted controls.","/api/v1/management/services"],jobs:["Scheduled jobs","Windows Task Scheduler, systemd timers, and available cron entries.","/api/v1/management/jobs"],network:["Network","Configured endpoint availability and TLS certificate expiry.","/api/v1/management/endpoints"],storage:["Storage & backups","Volume capacity, SMART health, and configured backup freshness checks.","/api/v1/management/backups"],history:["History & alerts","Persistent CPU, memory, and disk history with threshold notifications.","/api/v1/management/metrics/history?hours=24"],audit:["Audit log","Recent administrator sign-ins and management actions.","/api/v1/management/audit"],security:["Security","Session status, remote access posture, and service action allowlist.","/api/v1/management/security"],logs:["System logs","Search recent Windows System or Linux journal entries.","/api/v1/management/logs"],settings:["Settings","Choose your dashboard theme and manage user accounts.","/api/v1/management/users"]};function vn({kind:e,auth:t,onThemeChange:r}){const[n,a]=D.useState([]),[l,u]=D.useState([]),[c,f]=D.useState([]),[d,v]=D.useState({cpu_percent:90,memory_percent:90,disk_percent:90}),[p,g]=D.useState([]),[w,_]=D.useState([]),[S,b]=D.useState(""),[O,P]=D.useState(""),[E,T]=D.useState(""),[j,A]=D.useState(48),[C,N]=D.useState(""),[B,$]=D.useState(""),[R,q]=D.useState(!1),[H,X]=D.useState([]),[Q,ee]=D.useState({}),[te,L]=D.useState(""),[V,Z]=D.useState(""),[I,W]=D.useState("guest"),[ue,ve]=D.useState([]),[we,je]=D.useState("synfull"),[Te,Pe]=D.useState({}),[oe,xe]=D.useState(t==null?void 0:t.role),[be,ne]=D.useState(null),[De,ke]=D.useState(""),[He,Ve]=D.useState(!1),[ct,$t]=D.useState(""),[ar,Rt]=D.useState("");D.useEffect(()=>{t!=null&&t.role&&xe(t.role)},[t==null?void 0:t.role]);const jt=oe??(t==null?void 0:t.role),yt=async()=>{$("");try{if(e==="history"){const[G,fe]=await Promise.all([Ye(pn[e][2]),Ye("/api/v1/management/metrics/alerts")]);a(G),v(fe.thresholds)}else if(e==="storage"){const[G,fe,Ie]=await Promise.all([Ye(pn[e][2]),Ye("/api/v1/management/storage/smart"),Ye("/api/v1/system")]);a(G),_(G),u(fe),f(Ie.disks)}else if(e==="security"){const[G,fe]=await Promise.all([Ye(pn[e][2]),Ye("/api/v1/management/services")]);a([G]),g(G.service_allowlist),u(fe)}else if(e==="network"){const G=await Ye(pn[e][2]);a(G),_(G)}else if(e==="settings"){const G=await Ye("/api/v1/auth/preferences");if(xe(G.role),r==null||r(G.theme),G.role==="admin"){const[fe,Ie]=await Promise.all([Ye(pn[e][2]),Ye("/api/v1/management/users/permissions")]);X(fe),ee(Ie.permissions)}else X([])}else if(e==="audit"){const G=await Ye(pn[e][2]);if(!Array.isArray(G)||G.some(fe=>!fe||typeof fe!="object"||fe.id==null||fe.timestamp==null||fe.username==null||fe.action==null))throw new Error("The audit API returned an unexpected response. Confirm the dashboard and Synfull server are running the same version.");a(G)}else a(e==="logs"?await Ye(`${pn[e][2]}?query=${encodeURIComponent(S)}`):await Ye(pn[e][2]))}catch(G){e==="audit"&&a([]),$(G instanceof Error?G.message:"Unable to load this section")}};D.useEffect(()=>{yt();const G=window.setInterval(()=>void yt(),e==="history"?5e3:6e4);return()=>window.clearInterval(G)},[e,t==null?void 0:t.role]),D.useEffect(()=>{if(e!=="history")return;let G=!0;return Ye("/api/v1/management/metrics/discord").then(fe=>{G&&ne(fe)}).catch(fe=>{G&&Rt(fe instanceof Error?fe.message:"Unable to load webhook settings")}),()=>{G=!1}},[e]),D.useEffect(()=>{e==="logs"&&yt()},[S]);const pr=async(G,fe,Ie)=>{q(!0),$(""),N("");try{await Ye(G,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(fe)}),N(Ie),await yt()}catch(Ge){$(Ge instanceof Error?Ge.message:"Unable to save settings")}finally{q(!1)}},hi=async()=>{if(be){Ve(!0),Rt(""),$t("");try{const G=await Ye("/api/v1/management/metrics/discord",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({enabled:be.enabled,webhook_url:De||null,webhook_username:be.webhook_username,avatar_url:be.avatar_url})});ne(G),ke(""),$t("History & Alerts webhook settings saved.")}catch(G){Rt(G instanceof Error?G.message:"Could not save webhook settings")}finally{Ve(!1)}}},pi=async()=>{Ve(!0),Rt(""),$t("");try{const G=await Ye("/api/v1/management/metrics/discord/test",{method:"POST"});$t(G.message)}catch(G){Rt(G instanceof Error?G.message:"Test message could not be sent")}finally{Ve(!1)}},fo=async(G,fe)=>{if(window.confirm(fe)){q(!0),$(""),N("");try{if(e==="network"&&G==="/api/v1/management/endpoints/check"){const Ie=await Ye("/api/v1/management/endpoints",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({targets:n.map(Tr=>({name:Tr.name,url:Tr.url}))})});_(Ie.targets),a(Ie.targets);const Ge=await Ye(G,{method:"POST"});a(Ge);const Ht=Ge.filter(Tr=>Tr.status==="healthy").length;N(`Checked ${Ge.length} endpoint(s): ${Ht} healthy, ${Ge.length-Ht} unhealthy.`)}else await Ye(G,{method:"POST"}),N("Action completed."),await yt()}catch(Ie){$(Ie instanceof Error?Ie.message:"Action failed")}finally{q(!1)}}},ho=async()=>{q(!0),$(""),N("");try{await Ye("/api/v1/management/users",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({username:te,password:V,role:I,permissions:I==="admin"?["*"]:ue,theme:we})}),L(""),Z(""),N("User account created."),await yt()}catch(G){$(G instanceof Error?G.message:"Could not create user")}finally{q(!1)}},nn=async(G,fe)=>{q(!0),$(""),N("");try{const Ie=await Ye(`/api/v1/management/users/${G.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({role:G.role,enabled:G.enabled,permissions:G.permissions,theme:G.theme,...fe})});X(Ge=>Ge.map(Ht=>Ht.id===Ie.id?Ie:Ht)),N("Account settings saved."),Pe(Ge=>({...Ge,[String(G.id)]:""}))}catch(Ie){$(Ie instanceof Error?Ie.message:"Could not update user")}finally{q(!1)}},po=()=>{if(!O.trim()||!E.trim())return;const G=e==="network"?{name:O.trim(),url:E.trim()}:{name:O.trim(),path:E.trim(),max_age_hours:j};a(fe=>[...fe,G]),P(""),T("")},kn=(G,fe)=>{var Tr;const Ie=fe==="network"?"/api/v1/management/endpoints":"/api/v1/management/backups",Ge=w;if(!((Tr=n[G])!=null&&Tr.id)){a(vr=>vr.filter((Yi,Tn)=>Tn!==G));return}const Ht=Ge.filter((vr,Yi)=>Yi!==G).map(vr=>fe==="network"?{name:vr.name,url:vr.url}:{name:vr.name,path:vr.path,max_age_hours:vr.max_age_hours??48});pr(Ie,{targets:Ht},fe==="network"?"Endpoint removed.":"Backup check removed.")},[vi,pf]=pn[e];return y.jsxs("section",{className:"route-page",children:[y.jsxs("section",{className:"page-heading",children:[y.jsxs("div",{children:[y.jsx("h1",{children:vi}),y.jsx("p",{children:pf})]}),y.jsxs("button",{className:"console-button secondary-button",onClick:()=>void yt(),disabled:R,children:[y.jsx(dM,{size:13})," Refresh"]})]}),e==="network"&&y.jsxs("section",{className:"panel config-panel",children:[y.jsx("h2",{children:"Configure endpoint checks"}),y.jsx("p",{className:"muted",children:"Only URLs you add here are checked. HTTPS certificate expiry is included."}),y.jsxs("div",{className:"form-row",children:[y.jsx("input",{className:"form-input",placeholder:"Name, e.g. Main website",value:O,onChange:G=>P(G.target.value)}),y.jsx("input",{className:"form-input",placeholder:"https://example.com/health",value:E,onChange:G=>T(G.target.value)}),y.jsx("button",{className:"console-button",onClick:po,children:"Add"})]}),y.jsx("button",{className:"console-button save-button",disabled:R,onClick:()=>void pr("/api/v1/management/endpoints",{targets:n.map(G=>({name:G.name,url:G.url}))},"Endpoint checks saved."),children:"Save targets"}),y.jsx("button",{className:"console-button",disabled:R||!n.length,onClick:()=>void fo("/api/v1/management/endpoints/check","Check all configured endpoints now?"),children:"Check now"})]}),e==="storage"&&y.jsxs("section",{className:"panel config-panel",children:[y.jsx("h2",{children:"Configure backup freshness"}),y.jsx("p",{className:"muted",children:"Monitor a file or directory; Synfull reports the newest file timestamp and does not run backup commands."}),y.jsxs("div",{className:"form-row",children:[y.jsx("input",{className:"form-input",placeholder:"Backup name",value:O,onChange:G=>P(G.target.value)}),y.jsx("input",{className:"form-input",placeholder:"Local file or directory path",value:E,onChange:G=>T(G.target.value)}),y.jsx("input",{className:"form-input small-input",type:"number",min:1,max:8760,"aria-label":"Maximum backup age in hours",value:j,onChange:G=>A(Number(G.target.value))}),y.jsx("button",{className:"console-button",onClick:po,children:"Add"})]}),y.jsx("button",{className:"console-button save-button",disabled:R,onClick:()=>void pr("/api/v1/management/backups",{targets:n.map(G=>({name:G.name,path:G.path,max_age_hours:G.max_age_hours??48}))},"Backup checks saved."),children:"Save backup checks"})]}),e==="security"&&n[0]&&y.jsxs("section",{className:"panel config-panel",children:[y.jsxs("div",{className:"security-summary",children:[y.jsx(kg,{size:20})," ",y.jsxs("div",{children:[y.jsx("strong",{children:n[0].is_local_only?"Local-only listener":"Network listener"}),y.jsxs("p",{className:"muted",children:["Listening on ",n[0].bind_host,":",n[0].bind_port," · ",n[0].transport_is_https?"HTTPS":"HTTP (use HTTPS via a trusted reverse proxy for LAN access)"," · HttpOnly session cookie"]})]})]}),y.jsx("h2",{children:"Service action allowlist"}),y.jsx("p",{className:"muted",children:"Only services added here can be started, stopped, or restarted. Each action still asks for confirmation."}),y.jsxs("div",{className:"form-row",children:[y.jsx("input",{className:"form-input",placeholder:"Service name / unit (e.g. nginx.service)",value:O,onChange:G=>P(G.target.value)}),y.jsx("button",{className:"console-button",onClick:()=>{O.trim()&&g(G=>[...new Set([...G,O.trim()])]),P("")},children:"Add service"}),y.jsx("button",{className:"console-button save-button",disabled:R,onClick:()=>void pr("/api/v1/management/services/allowlist",{services:p},"Service allowlist saved."),children:"Save allowlist"})]}),y.jsx("div",{className:"chip-list",children:p.map(G=>y.jsxs("button",{className:"target-chip",onClick:()=>g(fe=>fe.filter(Ie=>Ie!==G)),children:[G," ×"]},G))}),y.jsx("h2",{children:"Available services"}),y.jsx(Yn,{rows:l,columns:["name","display_name","status","startup_type","allowlisted"]})]}),e==="history"&&y.jsxs(y.Fragment,{children:[y.jsxs("section",{className:"panel history-chart",children:[y.jsxs("div",{className:"panel-head",children:[y.jsxs("div",{children:[y.jsx("h2",{children:"Resource history"}),y.jsx("p",{children:"Stored in Synfull's local SQLite database; retention follows settings."})]}),y.jsx(ti,{size:17})]}),!n.length&&y.jsx("div",{className:"unsupported",children:"No samples have been stored yet. History begins as soon as the API is running."}),y.jsx("div",{className:"chart",children:y.jsx(DE,{width:"100%",height:"100%",children:y.jsxs(HT,{data:n,children:[y.jsx(I0,{stroke:"#232d3c",vertical:!1}),y.jsx(uu,{dataKey:"timestamp",tickFormatter:G=>new Date(Number(G)*1e3).toLocaleTimeString(),tick:{fill:"#728096",fontSize:9}}),y.jsx(su,{domain:[0,100],tick:{fill:"#728096",fontSize:9},tickFormatter:G=>`${G}%`}),y.jsx(Br,{labelFormatter:G=>new Date(Number(G)*1e3).toLocaleString(),contentStyle:{background:"#121b29",border:"1px solid #293548"}}),y.jsx(Di,{}),y.jsx(Wr,{dataKey:"cpu_percent",name:"CPU",stroke:"#8997ff",fill:"#8997ff",fillOpacity:.12,isAnimationActive:!1}),y.jsx(Wr,{dataKey:"memory_percent",name:"Memory",stroke:"#c097ff",fill:"#c097ff",fillOpacity:.08,isAnimationActive:!1}),y.jsx(Wr,{dataKey:"disk_percent",name:"Disk",stroke:"#55d7a1",fill:"#55d7a1",fillOpacity:.05,isAnimationActive:!1})]})})})]})," ",y.jsxs("section",{className:"panel config-panel",children:[y.jsx("h2",{children:"Alert thresholds"}),y.jsx("p",{className:"muted",children:"Discord notifications are sent on threshold crossings and endpoint health issues using this page's independent webhook."}),y.jsx("div",{className:"threshold-grid",children:Object.entries(d).map(([G,fe])=>y.jsxs("label",{className:"form-label",children:[G.replace("_percent","").toUpperCase(),y.jsxs("div",{className:"threshold-input",children:[y.jsx("input",{className:"form-input",type:"number",min:1,max:100,value:fe,onChange:Ie=>v(Ge=>({...Ge,[G]:Number(Ie.target.value)}))}),y.jsx("span",{children:"%"})]})]},G))}),y.jsx("button",{className:"console-button save-button",disabled:R,onClick:()=>void pr("/api/v1/management/metrics/thresholds",{thresholds:d},"Thresholds saved."),children:"Save thresholds"})]}),y.jsxs("section",{className:"panel config-panel",children:[y.jsx("h2",{children:"History & Alerts Discord webhook"}),y.jsx("p",{className:"muted",children:"A separate webhook for metric threshold and endpoint health notifications. Docker container alerts use their own webhook."}),be?y.jsxs(y.Fragment,{children:[y.jsxs("div",{className:"webhook-field",children:[y.jsx("label",{htmlFor:"history-discord-webhook",children:"Webhook URL"}),y.jsxs("div",{className:"webhook-input-row",children:[y.jsx("input",{id:"history-discord-webhook",className:"form-input",type:"password",autoComplete:"new-password",placeholder:be.configured?be.webhook_url_masked:"https://discord.com/api/webhooks/…",value:De,onChange:G=>ke(G.target.value)}),y.jsx("button",{className:"console-button secondary-button",disabled:He||!be.configured&&!De,onClick:()=>void pi(),children:"Send test"})]}),y.jsx("small",{children:"Stored locally and never returned by the API. Leave blank to keep the saved URL."})]}),y.jsxs("div",{className:"form-row",children:[y.jsxs("label",{className:"form-label",children:["Webhook name",y.jsx("input",{className:"form-input",maxLength:80,value:be.webhook_username,onChange:G=>ne(fe=>fe&&{...fe,webhook_username:G.target.value})})]}),y.jsxs("label",{className:"form-label",children:["Avatar image URL",y.jsx("input",{className:"form-input",type:"url",placeholder:"https://example.com/avatar.png",value:be.avatar_url,onChange:G=>ne(fe=>fe&&{...fe,avatar_url:G.target.value})})]})]}),y.jsxs("label",{className:"toggle-control",children:[y.jsx("input",{type:"checkbox",checked:be.enabled,disabled:He||!be.configured&&!De,onChange:G=>ne(fe=>fe&&{...fe,enabled:G.target.checked})}),y.jsx("span",{className:"toggle-track"}),y.jsx("span",{className:"toggle-label",children:be.enabled?"Enabled":"Disabled"})]}),y.jsx("button",{className:"console-button save-alert-button",disabled:He||!be.webhook_username.trim(),onClick:()=>void hi(),children:He?"Saving…":"Save webhook settings"})]}):y.jsx("div",{className:"unsupported",children:"Loading webhook settings…"}),ct&&y.jsx("div",{className:"alert-success",role:"status",children:ct}),ar&&y.jsx("div",{className:"alert console-alert",role:"alert",children:ar})]})]}),e==="services"&&y.jsxs("div",{className:"panel table-panel",children:[y.jsx("div",{className:"panel-head",children:y.jsxs("div",{children:[y.jsx("h2",{children:"Host services"}),y.jsx("p",{children:"Actions require explicit allowlisting in Security."})]})}),y.jsx(Yn,{rows:n,columns:["name","display_name","status","startup_type","allowlisted"],renderAction:G=>y.jsx("div",{className:"container-actions",children:["start","stop","restart"].map(fe=>y.jsx("button",{className:"console-button",disabled:R||!G.allowlisted,onClick:()=>void fo(`/api/v1/management/services/${encodeURIComponent(String(G.name))}/${fe}`,`${fe[0].toUpperCase()+fe.slice(1)} service ${G.name}?`),children:fe},fe))})})]}),e==="jobs"&&y.jsxs("section",{className:"panel table-panel",children:[y.jsx("div",{className:"panel-head",children:y.jsxs("div",{children:[y.jsx("h2",{children:"Scheduled jobs"}),y.jsx("p",{children:"Read-only job and timer inventory."})]})}),y.jsx(Yn,{rows:n,columns:["name","schedule","status","last_run","next_run","last_result"]})]}),e==="storage"&&y.jsxs(y.Fragment,{children:[y.jsx("section",{className:"info-grid storage-volume-grid",children:c.map(G=>y.jsxs("article",{className:"panel info-card",children:[y.jsx("div",{className:"panel-head",children:y.jsxs("div",{children:[y.jsx("h2",{children:String(G.mountpoint)}),y.jsxs("p",{children:[String(G.device??"Volume")," · ",String(G.filesystem??"")]})]})}),y.jsx("div",{className:"volume-bar",children:y.jsx("span",{style:{width:`${Math.min(100,Number(G.total)?Number(G.used)/Number(G.total)*100:0)}%`}})}),y.jsxs("div",{className:"volume-caption",children:[(Number(G.used)/1024**3).toFixed(1)," GB used · ",(Number(G.free)/1024**3).toFixed(1)," GB free of ",(Number(G.total)/1024**3).toFixed(1)," GB"]})]},String(G.mountpoint)))}),y.jsxs("section",{className:"panel table-panel",children:[y.jsx("div",{className:"panel-head",children:y.jsxs("div",{children:[y.jsx("h2",{children:"Configured backup checks"}),y.jsx("p",{children:"Freshness is determined from the newest file in each configured path."})]})}),y.jsx(Yn,{rows:n,columns:["name","path","status","age_hours","max_age_hours","message"],renderAction:(G,fe)=>y.jsx("button",{className:"console-button",disabled:R,onClick:()=>kn(fe,"storage"),children:"Remove"})})]}),y.jsxs("section",{className:"panel table-panel",children:[y.jsx("div",{className:"panel-head",children:y.jsxs("div",{children:[y.jsx("h2",{children:"Disk health (SMART)"}),y.jsx("p",{children:"Requires smartmontools and permissions to inspect disks."})]})}),y.jsx(Yn,{rows:l,columns:["device","status","message"]})]})]}),e==="network"&&y.jsxs("section",{className:"panel table-panel",children:[y.jsx("div",{className:"panel-head",children:y.jsxs("div",{children:[y.jsx("h2",{children:"Endpoint status"}),y.jsx("p",{children:"Checks run every minute while Synfull is running."})]})}),C&&y.jsx("div",{className:"alert-success",role:"status",children:C}),B&&y.jsx("div",{className:"alert",role:"alert",children:B}),y.jsx(Yn,{rows:n,columns:["name","url","status","response_code","response_ms","tls_days_remaining","message"],renderAction:(G,fe)=>y.jsx("button",{className:"console-button",disabled:R,onClick:()=>kn(fe,"network"),children:"Remove"})})]}),e==="settings"&&y.jsxs(y.Fragment,{children:[y.jsxs("section",{className:"panel config-panel",children:[y.jsx("h2",{children:"Dashboard theme"}),y.jsx("p",{className:"muted",children:"Themes are saved to your account and follow you when you sign in."}),y.jsx("div",{className:"theme-grid",children:[["synfull","Synfull Dark","The original glass dashboard theme."],["monochrome","Monochrome","A restrained grayscale interface with subtle contrast."],["hacker","Hacker Terminal","A high-contrast green terminal-inspired interface."],["light","Light","A clean, bright interface for well-lit environments."],["oled","OLED Black","Near-black surfaces for OLED displays."]].map(([G,fe,Ie])=>y.jsxs("button",{className:`theme-choice${(t==null?void 0:t.theme)===G?" selected":""}`,onClick:async()=>{$("");try{await Ye("/api/v1/auth/preferences/theme",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({theme:G})}),r==null||r(G),N(`${fe} theme saved.`)}catch(Ge){$(Ge instanceof Error?Ge.message:"Could not save theme")}},children:[y.jsx("strong",{children:fe}),y.jsx("span",{children:Ie})]},G))})]}),jt==="admin"&&y.jsxs("section",{className:"panel config-panel",children:[y.jsx("h2",{children:"User accounts"}),y.jsx("p",{className:"muted",children:"Create administrators or guests and configure what each guest can view or change."}),y.jsxs("div",{className:"form-row",children:[y.jsx("input",{className:"form-input",placeholder:"Username",value:te,onChange:G=>L(G.target.value)}),y.jsx("input",{className:"form-input",type:"password",placeholder:"Temporary password (12+ characters)",value:V,onChange:G=>Z(G.target.value)}),y.jsxs("select",{className:"form-input",value:I,onChange:G=>W(G.target.value),children:[y.jsx("option",{value:"guest",children:"Guest"}),y.jsx("option",{value:"admin",children:"Admin"})]}),y.jsxs("select",{className:"form-input",value:we,onChange:G=>je(G.target.value),children:[y.jsx("option",{value:"synfull",children:"Synfull Dark"}),y.jsx("option",{value:"monochrome",children:"Monochrome"}),y.jsx("option",{value:"hacker",children:"Hacker Terminal"}),y.jsx("option",{value:"light",children:"Light"}),y.jsx("option",{value:"oled",children:"OLED Black"})]}),y.jsx("button",{className:"console-button",disabled:R||te.trim().length===0||V.length<12,onClick:()=>void ho(),children:"Create account"})]}),I==="guest"&&y.jsx("div",{className:"permission-grid",children:Object.entries(Q).map(([G,fe])=>y.jsxs("label",{className:"alert-option",children:[y.jsx("input",{type:"checkbox",checked:ue.includes(G),onChange:Ie=>ve(Ge=>Ie.target.checked?[...Ge,G]:Ge.filter(Ht=>Ht!==G))}),y.jsx("span",{className:"check-ui"}),y.jsx("span",{children:fe})]},G))})]}),jt==="admin"&&y.jsxs("section",{className:"panel table-panel",children:[y.jsx("div",{className:"panel-head",children:y.jsxs("div",{children:[y.jsx("h2",{children:"Existing accounts"}),y.jsx("p",{children:"Disabling an account revokes its active sessions."})]})}),y.jsx("div",{className:"user-list",children:H.map(G=>y.jsxs("article",{className:"user-card",children:[y.jsxs("div",{className:"user-card-heading",children:[y.jsx("strong",{children:String(G.username)}),y.jsxs("span",{children:[String(G.role)," · ",G.enabled?"Enabled":"Disabled"]})]}),y.jsxs("div",{className:"form-row",children:[y.jsxs("select",{className:"form-input",value:String(G.role),onChange:fe=>void nn(G,{role:fe.target.value,permissions:fe.target.value==="admin"?["*"]:G.role==="admin"?[]:G.permissions}),children:[y.jsx("option",{value:"admin",children:"Admin"}),y.jsx("option",{value:"guest",children:"Guest"})]}),y.jsxs("select",{className:"form-input",value:String(G.theme),onChange:fe=>void nn(G,{theme:fe.target.value}),children:[y.jsx("option",{value:"synfull",children:"Synfull Dark"}),y.jsx("option",{value:"monochrome",children:"Monochrome"}),y.jsx("option",{value:"hacker",children:"Hacker Terminal"}),y.jsx("option",{value:"light",children:"Light"}),y.jsx("option",{value:"oled",children:"OLED Black"})]}),y.jsx("input",{className:"form-input",type:"password",placeholder:"New password (optional)",value:Te[String(G.id)]??"",onChange:fe=>Pe(Ie=>({...Ie,[String(G.id)]:fe.target.value}))}),y.jsx("button",{className:"console-button",disabled:R||!!(Te[String(G.id)]&&Te[String(G.id)].length<12),onClick:()=>void nn(G,{enabled:!G.enabled,password:Te[String(G.id)]||void 0}),children:G.enabled?"Disable / save":"Enable / save"})]}),G.role==="guest"&&y.jsx("div",{className:"permission-grid",children:Object.entries(Q).map(([fe,Ie])=>y.jsxs("label",{className:"alert-option",children:[y.jsx("input",{type:"checkbox",checked:G.permissions.includes(fe),onChange:Ge=>void nn(G,{permissions:Ge.target.checked?[...G.permissions,fe]:G.permissions.filter(Ht=>Ht!==fe)})}),y.jsx("span",{className:"check-ui"}),y.jsx("span",{children:Ie})]},fe))})]},String(G.id)))})]}),jt!=="admin"&&y.jsxs("section",{className:"panel config-panel",children:[y.jsx("h2",{children:"User accounts"}),y.jsx("p",{className:"muted",children:"Account management is available to administrator accounts only."})]})]}),e==="audit"&&y.jsxs("section",{className:"panel table-panel",children:[y.jsx("div",{className:"panel-head",children:y.jsxs("div",{children:[y.jsx("h2",{children:"Administrator activity"}),y.jsx("p",{children:"Latest 200 events, newest first."})]})}),B&&y.jsx("div",{className:"alert",role:"alert",children:B}),y.jsx(Yn,{rows:n,columns:["timestamp","username","action","target","outcome","details"]})]}),e==="logs"&&y.jsxs("section",{className:"panel table-panel",children:[y.jsx("div",{className:"panel-head",children:y.jsxs("div",{children:[y.jsx("h2",{children:"Host event records"}),y.jsx("p",{children:"Search matches the retrieved recent entries."})]})}),y.jsx("div",{className:"form-row log-search",children:y.jsx("input",{className:"form-input",placeholder:"Filter logs…",value:S,onChange:G=>b(G.target.value)})}),y.jsx(Yn,{rows:n,columns:["timestamp","level","source","message"]})]}),C&&y.jsxs("div",{className:"alert-success",role:"status",children:[y.jsx(oM,{size:13})," ",C]}),B&&y.jsx("div",{className:"alert",role:"alert",children:B})]})}function Yn({rows:e,columns:t,renderAction:r}){return y.jsxs("div",{className:"table-scroll",children:[y.jsxs("table",{children:[y.jsx("thead",{children:y.jsxs("tr",{children:[t.map(n=>y.jsx("th",{children:n.replace(/_/g," ")},n)),r&&y.jsx("th",{children:"ACTION"})]})}),y.jsx("tbody",{children:e.map((n,a)=>y.jsxs("tr",{children:[t.map(l=>y.jsx("td",{children:l==="timestamp"&&typeof n[l]=="number"?new Date(Number(n[l])*1e3).toLocaleString():String(n[l]??"—")},l)),r&&y.jsx("td",{children:r(n,a)})]},String(n.id??n.name??a)))})]}),!e.length&&y.jsx("div",{className:"empty",children:"No entries yet."})]})}const Ft=e=>e==null?"Unavailable":`${(e/1024**3).toFixed(1)} GB`,VT=e=>e==null?"Unavailable":`${e.toFixed(1)}%`;function h9(){var N,B;const[e,t]=D.useState(null),[r,n]=D.useState(!0),[a,l]=D.useState(null),[u,c]=D.useState([]),[f,d]=D.useState(!0),[v,p]=D.useState(!0),[g,w]=D.useState(""),[_,S]=D.useState(null),[b,O]=D.useState(null),[P,E]=D.useState([]),T=to(),j=D.useCallback(async()=>{n(!0);try{const $=await fetch("/api/v1/auth/status");if(!$.ok)throw new Error("Could not verify administrator session");const R=await $.json();if(R.authenticated&&!R.must_change_password){const q=await fetch("/api/v1/auth/preferences");if(q.ok){const H=await q.json();R.role=H.role,R.theme=H.theme,R.permissions=H.permissions}}t(R)}catch($){w($ instanceof Error?$.message:"Authentication check failed")}finally{n(!1)}},[]);D.useEffect(()=>{j()},[j]),D.useEffect(()=>{document.documentElement.dataset.theme=(e==null?void 0:e.theme)??"synfull"},[e==null?void 0:e.theme]),D.useEffect(()=>{if(!(e!=null&&e.authenticated))return;let $=!0,R=!1;const q=async()=>{if(!R){R=!0;try{const X=await fetch("/api/v1/system");if(!X.ok)throw new Error("The monitoring API is unavailable");const Q=await X.json();if(!$)return;l(Q),w(""),p(!1),E(ee=>[...ee,{time:new Date().toLocaleTimeString(),cpu:Q.cpu_percent??0}].slice(-24))}catch(X){$&&(w(X instanceof Error?X.message:"Unable to load metrics"),p(!1))}finally{R=!1}}};q();const H=window.setInterval(q,5e3);return()=>{$=!1,window.clearInterval(H)}},[e==null?void 0:e.authenticated]),D.useEffect(()=>{if(!(e!=null&&e.authenticated)||!["/","/processes"].includes(T.pathname))return;let $=!0,R=!1,q=!1;const H=async()=>{if(!R){R=!0;try{const ee=await fetch("/api/v1/processes");if(!ee.ok)throw new Error("Could not load process data");const te=await ee.json();$&&(c(te),d(!1),q=!0)}catch(ee){$&&(w(ee instanceof Error?ee.message:"Could not load process data"),d(!1),q=!0)}finally{R=!1}}},X=window.setTimeout(()=>void H(),q?0:1e3),Q=window.setInterval(H,15e3);return()=>{$=!1,window.clearTimeout(X),window.clearInterval(Q)}},[e==null?void 0:e.authenticated,T.pathname]),D.useEffect(()=>{if(!(e!=null&&e.authenticated)||!a)return;let $=!0;return fetch("/api/v1/integrations").then(R=>R.ok?R.json():Promise.reject(new Error("Could not load integrations"))).then(R=>{$&&S(R)}).catch(()=>{}),()=>{$=!1}},[e==null?void 0:e.authenticated,!!a]),D.useEffect(()=>{if(!(e!=null&&e.authenticated)||T.pathname!=="/system-info")return;let $=!0;return fetch("/api/v1/settings").then(R=>R.ok?R.json():Promise.reject(new Error("Could not load settings"))).then(R=>{$&&O(R)}).catch(()=>{}),()=>{$=!1}},[e==null?void 0:e.authenticated,T.pathname]),D.useEffect(()=>{e!=null&&e.authenticated&&w("")},[T.pathname,e==null?void 0:e.authenticated]);const A=a!=null&&a.memory_total&&a.memory_used!=null?a.memory_used/a.memory_total*100:null;if(r)return y.jsx("main",{className:"auth-screen",children:y.jsx("div",{className:"panel auth-card",children:"Checking secure session…"})});if(!(e!=null&&e.authenticated)||e.must_change_password)return y.jsx(d9,{auth:e??{setup_required:!1,authenticated:!1,username:null,setup_instructions:null},onSuccess:()=>void j()});const C=async()=>{await fetch("/api/v1/auth/logout",{method:"POST"}),t($=>$&&{...$,authenticated:!1,username:null})};return y.jsxs("div",{className:"app-shell",children:[y.jsxs("aside",{className:"sidebar",children:[y.jsxs("div",{className:"brand",children:[y.jsx("div",{className:"brand-icon",children:y.jsx(ti,{size:21})}),y.jsx("span",{children:"synfull"})]}),y.jsx("div",{className:"nav-label",children:"MONITORING"}),y.jsxs(Kt,{end:!0,className:({isActive:$})=>`nav-item${$?" active":""}`,to:"/",children:[y.jsx($A,{size:17}),y.jsx("span",{children:"Overview"})]}),y.jsxs(Kt,{className:({isActive:$})=>`nav-item${$?" active":""}`,to:"/processes",children:[y.jsx(pM,{size:17}),y.jsx("span",{children:"Processes"})]}),y.jsxs(Kt,{className:({isActive:$})=>`nav-item${$?" active":""}`,to:"/system-info",children:[y.jsx(cy,{size:17}),y.jsx("span",{children:"System Info"})]}),y.jsxs(Kt,{className:({isActive:$})=>`nav-item${$?" active":""}`,to:"/history",children:[y.jsx(sM,{size:17}),y.jsx("span",{children:"History & Alerts"})]}),y.jsx("div",{className:"nav-label integration-label",children:"OPERATIONS"}),y.jsxs(Kt,{className:({isActive:$})=>`nav-item${$?" active":""}`,to:"/services",children:[y.jsx(cM,{size:17}),y.jsx("span",{children:"Services"})]}),y.jsxs(Kt,{className:({isActive:$})=>`nav-item${$?" active":""}`,to:"/jobs",children:[y.jsx(uM,{size:17}),y.jsx("span",{children:"Scheduled jobs"})]}),y.jsxs(Kt,{className:({isActive:$})=>`nav-item${$?" active":""}`,to:"/network",children:[y.jsx(sy,{size:17}),y.jsx("span",{children:"Network"})]}),y.jsxs(Kt,{className:({isActive:$})=>`nav-item${$?" active":""}`,to:"/storage",children:[y.jsx(uy,{size:17}),y.jsx("span",{children:"Storage & backups"})]}),y.jsx("div",{className:"nav-label integration-label",children:"SECURITY"}),y.jsxs(Kt,{className:({isActive:$})=>`nav-item${$?" active":""}`,to:"/security",children:[y.jsx(hM,{size:17}),y.jsx("span",{children:"Security"})]}),y.jsxs(Kt,{className:({isActive:$})=>`nav-item${$?" active":""}`,to:"/audit",children:[y.jsx(kg,{size:17}),y.jsx("span",{children:"Audit log"})]}),y.jsxs(Kt,{className:({isActive:$})=>`nav-item${$?" active":""}`,to:"/logs",children:[y.jsx(fM,{size:17}),y.jsx("span",{children:"System logs"})]}),y.jsxs(Kt,{className:({isActive:$})=>`nav-item${$?" active":""}`,to:"/settings",children:[y.jsx(cy,{size:17}),y.jsx("span",{children:"Settings"})]}),((_==null?void 0:_.pm2.installed)||(_==null?void 0:_.docker.installed))&&y.jsx("div",{className:"nav-label integration-label",children:"INTEGRATIONS"}),(_==null?void 0:_.pm2.installed)&&y.jsxs(Kt,{className:({isActive:$})=>`nav-item integration-nav${$?" active":""}`,to:"/pm2",children:[y.jsx(ti,{size:17}),y.jsx("span",{children:"PM2"}),y.jsx("span",{className:`nav-badge ${_.pm2.available?"online":""}`,children:_.pm2.available?_.pm2.running??0:"!"})]}),(_==null?void 0:_.docker.installed)&&y.jsxs(Kt,{className:({isActive:$})=>`nav-item integration-nav${$?" active":""}`,to:"/docker",children:[y.jsx(Cs,{size:17}),y.jsx("span",{children:"Docker"}),y.jsx("span",{className:`nav-badge ${_.docker.available?"online":""}`,children:_.docker.available?_.docker.running??0:"!"})]}),y.jsxs("div",{className:"sidebar-bottom",children:[y.jsx("span",{className:"live-dot"}),"Agent online ",y.jsx("small",{children:(a==null?void 0:a.platform)??"Connecting"})]})]}),y.jsxs("main",{className:"main",children:[y.jsxs("header",{className:"topbar",children:[y.jsxs("div",{children:[y.jsx("span",{className:"eyebrow",children:"INFRASTRUCTURE /"})," ",y.jsx("span",{children:(a==null?void 0:a.hostname)??"Host overview"})]}),y.jsxs("div",{className:"topbar-actions",children:[y.jsxs("span",{className:"connection",children:[y.jsx("span",{className:"live-dot"}),g?"Connection issue":"Live monitoring"]}),y.jsx("span",{className:"user-chip",children:e==null?void 0:e.username}),y.jsx("button",{className:"console-button",onClick:()=>void C(),children:"Sign out"})]})]}),g&&y.jsxs("div",{className:"alert",children:[g,". Ensure the Synfull API is running on port 8000."]}),y.jsxs(qN,{children:[y.jsx(Xt,{path:"/",element:y.jsxs(y.Fragment,{children:[y.jsxs("section",{className:"page-heading",children:[y.jsxs("div",{children:[y.jsx("h1",{children:"System overview"}),y.jsx("p",{children:"Live health and performance for this host."})]}),y.jsxs("div",{className:"host-pill",children:[y.jsx("span",{className:"live-dot"}),(a==null?void 0:a.hostname)??"Discovering host"]})]}),v&&!a?y.jsx(v9,{}):y.jsxs(y.Fragment,{children:[y.jsxs("section",{className:"metric-grid",children:[y.jsx(Aa,{icon:y.jsx(lM,{}),title:"CPU usage",value:VT((a==null?void 0:a.cpu_percent)??null),note:`${((N=a==null?void 0:a.per_cpu_percent)==null?void 0:N.length)??"—"} logical cores`,tone:"blue"}),y.jsx(Aa,{icon:y.jsx(IA,{}),title:"Memory",value:A==null?"Unavailable":`${A.toFixed(1)}%`,note:`${Ft((a==null?void 0:a.memory_used)??null)} of ${Ft((a==null?void 0:a.memory_total)??null)}`,tone:"violet"}),y.jsx(Aa,{icon:y.jsx(uy,{}),title:"Storage",value:a!=null&&a.disks.length?`${(a.disks.reduce(($,R)=>$+R.used,0)/Math.max(1,a.disks.reduce(($,R)=>$+R.total,0))*100).toFixed(1)}%`:"Unavailable",note:`${(a==null?void 0:a.disks.length)??0} accessible volumes`,tone:"green"}),y.jsx(Aa,{icon:y.jsx(sy,{}),title:"Network interfaces",value:`${(a==null?void 0:a.networks.length)??"—"}`,note:"Host interfaces detected",tone:"amber"})]}),y.jsxs("section",{className:"content-grid",children:[y.jsxs("article",{className:"panel chart-panel",children:[y.jsxs("div",{className:"panel-head",children:[y.jsxs("div",{children:[y.jsx("h2",{children:"CPU performance"}),y.jsx("p",{children:"Recent utilization"})]}),y.jsx("span",{className:"live-tag",children:"● LIVE"})]}),y.jsx("div",{className:"chart",children:y.jsx(DE,{width:"100%",height:"100%",children:y.jsxs(HT,{data:P,children:[y.jsx("defs",{children:y.jsxs("linearGradient",{id:"fillCpu",x1:"0",y1:"0",x2:"0",y2:"1",children:[y.jsx("stop",{offset:"0%",stopColor:"#7c8cff",stopOpacity:.35}),y.jsx("stop",{offset:"100%",stopColor:"#7c8cff",stopOpacity:0})]})}),y.jsx(I0,{stroke:"#232d3c",vertical:!1}),y.jsx(uu,{dataKey:"time",tick:{fill:"#728096",fontSize:10},axisLine:!1,tickLine:!1}),y.jsx(su,{domain:[0,100],tick:{fill:"#728096",fontSize:10},axisLine:!1,tickLine:!1,tickFormatter:$=>`${$}%`}),y.jsx(Br,{contentStyle:{background:"#121b29",border:"1px solid #293548",borderRadius:8}}),y.jsx(Wr,{type:"monotone",dataKey:"cpu",stroke:"#8997ff",strokeWidth:2,fill:"url(#fillCpu)",isAnimationActive:!1})]})})})]}),y.jsxs("article",{className:"panel details-panel",children:[y.jsx("div",{className:"panel-head",children:y.jsxs("div",{children:[y.jsx("h2",{children:"Host details"}),y.jsx("p",{children:"System information"})]})}),y.jsx(rt,{label:"Operating system",value:(a==null?void 0:a.platform)??"—"}),y.jsx(rt,{label:"Uptime",value:(a==null?void 0:a.uptime_seconds)==null?"Unavailable":`${Math.floor(a.uptime_seconds/86400)} days, ${Math.floor(a.uptime_seconds%86400/3600)} hours`}),y.jsx(rt,{label:"Swap used",value:a!=null&&a.swap_total?`${Ft(a.swap_used)} / ${Ft(a.swap_total)}`:"Unavailable"}),y.jsx(rt,{label:"Load average",value:((B=a==null?void 0:a.load_average)==null?void 0:B.map($=>$.toFixed(2)).join(" · "))??"Unsupported"}),y.jsx(rt,{label:"Temperature sensors",value:(a==null?void 0:a.temperatures)==null?"Unsupported":`${a.temperatures.length} available`})]})]}),y.jsxs("section",{className:"panel table-panel",children:[y.jsxs("div",{className:"panel-head",children:[y.jsxs("div",{children:[y.jsx("h2",{children:"Top processes"}),y.jsx("p",{children:"Live process inspection"})]}),y.jsx(Kt,{className:"text-link",to:"/processes",children:"View all →"})]}),y.jsx(yA,{rows:[...u].sort(($,R)=>(R.cpu_percent??0)-($.cpu_percent??0)).slice(0,6)})]})]})]})})," ",y.jsx(Xt,{path:"/processes",element:y.jsxs("section",{className:"route-page",children:[y.jsxs("section",{className:"page-heading",children:[y.jsxs("div",{children:[y.jsx("h1",{children:"Processes"}),y.jsx("p",{children:"Running processes and resource usage."})]}),y.jsx("span",{className:"host-pill",children:f?"Loading…":`${u.length} processes`})]}),f?y.jsx(m9,{}):y.jsx("div",{className:"process-full",children:y.jsx(yA,{rows:[...u].sort(($,R)=>(R.cpu_percent??0)-($.cpu_percent??0))})})]})}),y.jsx(Xt,{path:"/system-info",element:y.jsx(p9,{system:a,settings:b})}),y.jsx(Xt,{path:"/history",element:y.jsx(vn,{kind:"history"})}),y.jsx(Xt,{path:"/services",element:y.jsx(vn,{kind:"services"})}),y.jsx(Xt,{path:"/jobs",element:y.jsx(vn,{kind:"jobs"})}),y.jsx(Xt,{path:"/network",element:y.jsx(vn,{kind:"network"})}),y.jsx(Xt,{path:"/storage",element:y.jsx(vn,{kind:"storage"})}),y.jsx(Xt,{path:"/security",element:y.jsx(vn,{kind:"security"})}),y.jsx(Xt,{path:"/audit",element:y.jsx(vn,{kind:"audit"})}),y.jsx(Xt,{path:"/logs",element:y.jsx(vn,{kind:"logs"})}),y.jsx(Xt,{path:"/settings",element:y.jsx(vn,{kind:"settings",auth:e??void 0,onThemeChange:$=>t(R=>R&&{...R,theme:$})})}),y.jsx(Xt,{path:"/pm2",element:y.jsx(mA,{title:"PM2 monitoring",type:"PM2",integration:(_==null?void 0:_.pm2)??null})}),y.jsx(Xt,{path:"/docker",element:y.jsx(mA,{title:"Docker monitoring",type:"Docker",integration:(_==null?void 0:_.docker)??null,onRefresh:async()=>{const $=await fetch("/api/v1/integrations");$.ok&&S(await $.json())},onDockerAction:async($,R)=>{const q=await fetch(`/api/v1/docker/containers/${encodeURIComponent($)}/${R}`,{method:"POST"});if(!q.ok)throw new Error(await q.text());const H=await fetch("/api/v1/integrations");H.ok&&S(await H.json())}})})]}),y.jsxs("footer",{children:["Synfull ",y.jsx("span",{children:"Cross-platform host monitoring"})]})]})]})}function p9({system:e,settings:t}){var r;return e?y.jsxs("section",{className:"route-page",children:[y.jsxs("section",{className:"page-heading",children:[y.jsxs("div",{children:[y.jsx("h1",{children:"System information"}),y.jsx("p",{children:"Host hardware, operating system, storage and Synfull configuration."})]}),y.jsxs("div",{className:"host-pill",children:[y.jsx("span",{className:"live-dot"}),(e==null?void 0:e.hostname)??"Loading host"]})]}),y.jsxs("div",{className:"info-grid",children:[y.jsxs("article",{className:"panel info-card",children:[y.jsxs("div",{className:"panel-head",children:[y.jsxs("div",{children:[y.jsx("h2",{children:"Host & operating system"}),y.jsx("p",{children:"Machine identity and runtime"})]}),y.jsx($A,{size:18})]}),y.jsx(rt,{label:"Hostname",value:(e==null?void 0:e.hostname)??"Unavailable"}),y.jsx(rt,{label:"Operating system",value:(e==null?void 0:e.platform)??"Unavailable"}),y.jsx(rt,{label:"Uptime",value:(e==null?void 0:e.uptime_seconds)==null?"Unavailable":b9(e.uptime_seconds)}),y.jsx(rt,{label:"CPU threads",value:e!=null&&e.per_cpu_percent?`${e.per_cpu_percent.length} logical processors`:"Unavailable"}),y.jsx(rt,{label:"CPU load average",value:((r=e==null?void 0:e.load_average)==null?void 0:r.map(n=>n.toFixed(2)).join(" · "))??"Unsupported on this platform"})]}),y.jsxs("article",{className:"panel info-card",children:[y.jsxs("div",{className:"panel-head",children:[y.jsxs("div",{children:[y.jsx("h2",{children:"Memory"}),y.jsx("p",{children:"Physical and virtual memory"})]}),y.jsx(IA,{size:18})]}),y.jsx(rt,{label:"Physical total",value:Ft((e==null?void 0:e.memory_total)??null)}),y.jsx(rt,{label:"Physical used",value:Ft((e==null?void 0:e.memory_used)??null)}),y.jsx(rt,{label:"Available",value:Ft((e==null?void 0:e.memory_available)??null)}),y.jsx(rt,{label:"Swap total",value:Ft((e==null?void 0:e.swap_total)??null)}),y.jsx(rt,{label:"Swap used",value:Ft((e==null?void 0:e.swap_used)??null)})]}),y.jsxs("article",{className:"panel info-card",children:[y.jsxs("div",{className:"panel-head",children:[y.jsxs("div",{children:[y.jsx("h2",{children:"Storage volumes"}),y.jsxs("p",{children:[(e==null?void 0:e.disks.length)??0," accessible volumes"]})]}),y.jsx(uy,{size:18})]}),e==null?void 0:e.disks.map(n=>y.jsxs("div",{className:"volume-card",children:[y.jsxs("div",{className:"volume-title",children:[y.jsx("strong",{children:n.mountpoint}),y.jsx("span",{children:n.device||"Volume"})]}),y.jsx("div",{className:"volume-bar",children:y.jsx("span",{style:{width:`${n.total?Math.min(100,n.used/n.total*100):0}%`}})}),y.jsxs("div",{className:"volume-caption",children:[Ft(n.used)," used of ",Ft(n.total)," · ",Ft(n.free)," free"]})]},`${n.device}-${n.mountpoint}`)),e&&e.disks.length===0&&y.jsx("div",{className:"empty",children:"No accessible volumes reported."})]}),y.jsxs("article",{className:"panel info-card",children:[y.jsxs("div",{className:"panel-head",children:[y.jsxs("div",{children:[y.jsx("h2",{children:"Network interfaces"}),y.jsx("p",{children:"Host interface counters"})]}),y.jsx(sy,{size:18})]}),e==null?void 0:e.networks.map(n=>y.jsxs("div",{className:"network-card",children:[y.jsx("strong",{children:n.name}),y.jsx(rt,{label:"Received",value:Ft(n.bytes_received)}),y.jsx(rt,{label:"Sent",value:Ft(n.bytes_sent)})]},n.name)),e&&e.networks.length===0&&y.jsx("div",{className:"empty",children:"No interfaces reported."})]}),y.jsxs("article",{className:"panel info-card",children:[y.jsxs("div",{className:"panel-head",children:[y.jsxs("div",{children:[y.jsx("h2",{children:"Temperature sensors"}),y.jsx("p",{children:"Platform sensors, when available"})]}),y.jsx(ti,{size:18})]}),(e==null?void 0:e.temperatures)==null?y.jsx("div",{className:"unsupported",children:"Temperature sensors are not supported or available on this host."}):e.temperatures.length===0?y.jsx("div",{className:"unsupported",children:"No temperature sensors detected."}):e.temperatures.map(n=>y.jsx(rt,{label:`${n.sensor} · ${n.label}`,value:`${n.current.toFixed(1)} °C`},`${n.sensor}-${n.label}`))]}),y.jsxs("article",{className:"panel info-card",children:[y.jsxs("div",{className:"panel-head",children:[y.jsxs("div",{children:[y.jsx("h2",{children:"Synfull configuration"}),y.jsx("p",{children:"Runtime paths and collection settings"})]}),y.jsx(cy,{size:18})]}),y.jsx(rt,{label:"Listen address",value:t?`${t.bind_host}:${t.bind_port}`:"Unavailable"}),y.jsx(rt,{label:"State directory",value:(t==null?void 0:t.state_dir)??"Unavailable"}),y.jsx(rt,{label:"Database",value:(t==null?void 0:t.database_path)??"Unavailable"}),y.jsx(rt,{label:"Log directory",value:(t==null?void 0:t.log_dir)??"Unavailable"}),y.jsx(rt,{label:"Collection interval",value:t?`${t.collection_interval_seconds} seconds`:"Unavailable"}),y.jsx(rt,{label:"Retention policy",value:t?`${t.metric_retention_days} days`:"Unavailable"})]})]})]}):y.jsxs("section",{className:"route-page",children:[y.jsx("section",{className:"page-heading",children:y.jsxs("div",{children:[y.jsx("h1",{children:"System information"}),y.jsx("p",{children:"Host hardware, operating system, storage and Synfull configuration."})]})}),y.jsx(y9,{})]})}function mA({title:e,type:t,integration:r,onRefresh:n,onDockerAction:a}){var Q,ee,te;const l=(r==null?void 0:r.available)??!1,u=(r==null?void 0:r.running)??0,[c,f]=D.useState(null),[d,v]=D.useState(null),[p,g]=D.useState(!1),[w,_]=D.useState(null),[S,b]=D.useState(""),[O,P]=D.useState(null),[E,T]=D.useState(""),[j,A]=D.useState(!1),[C,N]=D.useState(""),[B,$]=D.useState("");D.useEffect(()=>{if(t!=="Docker")return;let L=!0;return fetch("/api/v1/docker/alerts/discord").then(async V=>{var Z;if(!V.ok){const I=await V.json().catch(()=>null);throw new Error((I==null?void 0:I.detail)??((Z=I==null?void 0:I.error)==null?void 0:Z.message)??`Unable to load Discord alert settings (HTTP ${V.status})`)}return V.json()}).then(V=>{L&&P(V)}).catch(V=>{L&&$(V instanceof Error?V.message:"Unable to load alert settings")}),()=>{L=!1}},[t]);const R=async()=>{if(O){A(!0),$(""),N("");try{const L=await fetch("/api/v1/docker/alerts/discord",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({enabled:O.enabled,events:O.events,minimum_interval_seconds:O.minimum_interval_seconds,webhook_url:E||null,webhook_username:O.webhook_username,avatar_url:O.avatar_url})}),V=await L.json();if(!L.ok)throw new Error(V.detail??"Could not save Discord alert settings");P(V),T(""),N("Discord alert settings saved.")}catch(L){$(L instanceof Error?L.message:"Could not save Discord alert settings")}finally{A(!1)}}},q=async()=>{A(!0),$(""),N("");try{const L=await fetch("/api/v1/docker/alerts/discord/test",{method:"POST"}),V=await L.json();if(!L.ok)throw new Error(V.detail??"Test message could not be sent");N(V.message)}catch(L){$(L instanceof Error?L.message:"Test message could not be sent")}finally{A(!1)}},H=D.useCallback(async(L,V=!1)=>{f(L),V||g(!0),b("");try{const Z=await fetch(`/api/v1/docker/containers/${encodeURIComponent(L.id)}/logs?tail=300`);if(!Z.ok)throw new Error((await Z.json()).detail??"Unable to retrieve container logs");v(await Z.json())}catch(Z){b(Z instanceof Error?Z.message:"Unable to retrieve container logs")}finally{V||g(!1)}},[]);D.useEffect(()=>{if(t!=="Docker"||!c)return;const L=window.setInterval(()=>void H(c,!0),3e3);return()=>window.clearInterval(L)},[t,c,H]);const X=async(L,V)=>{var I;const Z=V==="restart"?"Restart":V[0].toUpperCase()+V.slice(1);if(window.confirm(`${Z} container “${L.name}”?`)){_(L.id),b("");try{await(a==null?void 0:a(L.id,V));const W=(I=r==null?void 0:r.containers)==null?void 0:I.find(ue=>ue.id===L.id);W&&(c==null?void 0:c.id)===L.id&&await H(W)}catch(W){b(W instanceof Error?W.message:"Container action failed")}finally{_(null)}}};return y.jsxs("section",{className:"route-page",children:[y.jsxs("section",{className:"page-heading",children:[y.jsxs("div",{children:[y.jsx("h1",{children:e}),y.jsxs("p",{children:["Live status and resource metrics from the local ",t," integration."]})]}),y.jsxs("span",{className:`integration-state ${l?"state-online":"state-offline"}`,children:[y.jsx("span",{className:"live-dot"}),l?"Connected":r!=null&&r.installed?"Installed · unavailable":"Detecting"]})]}),r?r.installed?l?y.jsxs(y.Fragment,{children:[y.jsxs("section",{className:"metric-grid integration-metrics",children:[y.jsx(Aa,{icon:t==="Docker"?y.jsx(Cs,{}):y.jsx(ti,{}),title:"Running",value:`${u}`,note:`of ${t==="Docker"?"containers":"processes"} running`,tone:"green"}),y.jsx(Aa,{icon:y.jsx(ti,{}),title:"Integration",value:"Connected",note:"Status refreshes every 5 seconds",tone:"blue"})]}),y.jsxs("section",{className:"panel table-panel integration-table",children:[y.jsxs("div",{className:"panel-head",children:[y.jsxs("div",{children:[y.jsx("h2",{children:t==="Docker"?"Containers":"PM2 processes"}),y.jsxs("p",{children:[((Q=r[t==="Docker"?"containers":"processes"])==null?void 0:Q.length)??0," entries reported by ",t]})]}),y.jsx("button",{className:"console-button secondary-button",onClick:()=>void(n==null?void 0:n()),children:"Refresh status"})]}),t==="Docker"?y.jsxs("div",{className:"table-scroll",children:[y.jsxs("table",{children:[y.jsx("thead",{children:y.jsxs("tr",{children:[y.jsx("th",{children:"CONTAINER"}),y.jsx("th",{children:"ID"}),y.jsx("th",{children:"IMAGE"}),y.jsx("th",{children:"STATE"}),y.jsx("th",{children:"CPU"}),y.jsx("th",{children:"MEMORY"}),y.jsx("th",{children:"ACTIONS"})]})}),y.jsx("tbody",{children:(r.containers??[]).map(L=>y.jsxs("tr",{children:[y.jsx("td",{className:"process-name",children:y.jsx("button",{className:"container-link",onClick:()=>void H(L),children:L.name})}),y.jsx("td",{children:L.id}),y.jsx("td",{children:L.image}),y.jsx("td",{children:y.jsx("span",{className:`status ${L.state==="running"?"":"status-stopped"}`,children:L.state})}),y.jsx("td",{children:L.cpu_percent==null?"—":typeof L.cpu_percent=="number"?`${L.cpu_percent.toFixed(1)}%`:L.cpu_percent}),y.jsxs("td",{children:[L.memory_usage??"—",L.memory_percent!=null?` (${L.memory_percent}%)`:""]}),y.jsx("td",{children:y.jsxs("div",{className:"container-actions",children:[y.jsx("button",{className:"console-button",disabled:w===L.id||L.state==="running",onClick:()=>void X(L,"start"),children:"Start"}),y.jsx("button",{className:"console-button",disabled:w===L.id||L.state!=="running",onClick:()=>void X(L,"stop"),children:"Stop"}),y.jsx("button",{className:"console-button",disabled:w===L.id||L.state!=="running",onClick:()=>void X(L,"restart"),children:"Restart"})]})})]},L.id))})]}),!((ee=r.containers)!=null&&ee.length)&&y.jsx("div",{className:"empty",children:"No containers found."})]}):y.jsxs("div",{className:"table-scroll",children:[y.jsxs("table",{children:[y.jsx("thead",{children:y.jsxs("tr",{children:[y.jsx("th",{children:"PROCESS"}),y.jsx("th",{children:"ID"}),y.jsx("th",{children:"STATUS"}),y.jsx("th",{children:"CPU"}),y.jsx("th",{children:"MEMORY"})]})}),y.jsx("tbody",{children:(r.processes??[]).map(L=>y.jsxs("tr",{children:[y.jsx("td",{className:"process-name",children:L.name}),y.jsx("td",{children:L.id}),y.jsx("td",{children:y.jsx("span",{className:`status ${L.status==="online"?"":"status-stopped"}`,children:L.status})}),y.jsx("td",{children:L.cpu_percent==null?"Unavailable":`${L.cpu_percent.toFixed(1)}%`}),y.jsx("td",{children:Ft(L.memory_bytes)})]},L.id))})]}),!((te=r.processes)!=null&&te.length)&&y.jsx("div",{className:"empty",children:"No PM2 processes found."})]}),t==="Docker"&&y.jsxs("section",{className:"discord-alert-panel",children:[y.jsxs("div",{className:"discord-alert-heading",children:[y.jsx("div",{className:"metric-icon violet",children:y.jsx(aM,{size:16})}),y.jsxs("div",{children:[y.jsx("h3",{children:"Discord webhook alerts"}),y.jsx("p",{children:"Choose which Docker container events send notifications to Discord."})]}),y.jsxs("label",{className:"toggle-control",children:[y.jsx("input",{type:"checkbox",checked:(O==null?void 0:O.enabled)??!1,disabled:!O||j||!O.configured&&!E,onChange:L=>P(V=>V&&{...V,enabled:L.target.checked})}),y.jsx("span",{className:"toggle-track"}),y.jsx("span",{className:"toggle-label",children:O!=null&&O.enabled?"Enabled":"Disabled"})]})]}),O?y.jsxs(y.Fragment,{children:[y.jsxs("div",{className:"webhook-field",children:[y.jsx("label",{htmlFor:"discord-webhook",children:"Webhook URL"}),y.jsxs("div",{className:"webhook-input-row",children:[y.jsx("input",{id:"discord-webhook",type:"password",autoComplete:"new-password",placeholder:O.configured?O.webhook_url_masked:"https://discord.com/api/webhooks/…",value:E,onChange:L=>T(L.target.value)}),y.jsx("button",{className:"console-button secondary-button",onClick:()=>void q(),disabled:j||!O.configured&&!E,children:"Send test"})]}),y.jsx("small",{children:"The URL is stored locally and never returned in API responses. Leave blank to keep the saved URL."})]}),y.jsxs("div",{className:"form-row",children:[y.jsxs("label",{className:"form-label",children:["Webhook name",y.jsx("input",{className:"form-input",maxLength:80,value:O.webhook_username,onChange:L=>P(V=>V&&{...V,webhook_username:L.target.value})})]}),y.jsxs("label",{className:"form-label",children:["Avatar image URL",y.jsx("input",{className:"form-input",type:"url",placeholder:"https://example.com/avatar.png",value:O.avatar_url,onChange:L=>P(V=>V&&{...V,avatar_url:L.target.value})})]})]}),y.jsxs("div",{className:"alert-options",children:[y.jsx("span",{className:"alert-options-title",children:"Notify me when a container"}),[["start","Starts"],["stop","Stops"],["crash","Crashes unexpectedly"],["restart","Restarts"]].map(([L,V])=>y.jsxs("label",{className:"alert-option",children:[y.jsx("input",{type:"checkbox",checked:O.events[L],onChange:Z=>P(I=>I&&{...I,events:{...I.events,[L]:Z.target.checked}})}),y.jsx("span",{className:"check-ui"}),y.jsx("span",{children:V})]},L))]}),y.jsxs("div",{className:"alert-form-footer",children:[y.jsxs("label",{className:"throttle-field",children:["Minimum repeat interval ",y.jsxs("select",{value:O.minimum_interval_seconds,onChange:L=>P(V=>V&&{...V,minimum_interval_seconds:Number(L.target.value)}),children:[y.jsx("option",{value:0,children:"No limit"}),y.jsx("option",{value:30,children:"30 seconds"}),y.jsx("option",{value:60,children:"1 minute"}),y.jsx("option",{value:300,children:"5 minutes"}),y.jsx("option",{value:900,children:"15 minutes"})]})]}),y.jsx("button",{className:"console-button save-alert-button",onClick:()=>void R(),disabled:j,children:j?"Saving…":"Save alert settings"})]})]}):y.jsx("div",{className:"unsupported",children:"Loading alert configuration…"}),C&&y.jsx("div",{className:"alert-success",role:"status",children:C}),B&&y.jsx("div",{className:"alert console-alert",role:"alert",children:B})]}),t==="Docker"&&y.jsxs("div",{className:"docker-console",children:[y.jsxs("div",{className:"console-header",children:[y.jsxs("div",{children:[y.jsx("h3",{children:c?`${c.name} · console`:"Container console"}),y.jsx("p",{children:c?"Recent output (latest 300 lines)":"Select a container name to inspect its logs."})]}),c&&y.jsx("button",{className:"console-button secondary-button",disabled:p,onClick:()=>void H(c),children:"Refresh logs"})]}),S&&y.jsx("div",{className:"alert console-alert",children:S}),c?p?y.jsx("div",{className:"console-placeholder",children:"Loading container logs…"}):y.jsx("pre",{className:"log-output",children:(d==null?void 0:d.logs)||"No log output returned."}):y.jsx("div",{className:"console-placeholder",children:"Choose a container above to view its recent logs."})]})]})]}):y.jsxs("div",{className:"panel integration-message",children:[y.jsx("div",{className:"metric-icon amber",children:t==="Docker"?y.jsx(Cs,{}):y.jsx(ti,{})}),y.jsxs("h2",{children:[t," is installed but not reachable"]}),y.jsx("p",{children:r.message})]}):y.jsxs("div",{className:"panel integration-message",children:[y.jsx("div",{className:"metric-icon amber",children:t==="Docker"?y.jsx(Cs,{}):y.jsx(ti,{})}),y.jsxs("h2",{children:[t," is not installed"]}),y.jsxs("p",{children:["Synfull checks integrations independently. Install and configure ",t," to see live status here."]})]}):y.jsx(g9,{})]})}function vt({className:e=""}){return y.jsx("div",{"aria-hidden":"true",className:`skeleton ${e}`})}function v9(){return y.jsxs("div",{className:"dashboard-skeleton","aria-label":"Loading system metrics",children:[y.jsx("div",{className:"skeleton-metric-grid",children:[0,1,2,3].map(e=>y.jsxs("div",{className:"skeleton-card metric-skeleton",children:[y.jsx(vt,{className:"skeleton-icon"}),y.jsx(vt,{className:"skeleton-line short"}),y.jsx(vt,{className:"skeleton-line value-line"}),y.jsx(vt,{className:"skeleton-line medium"})]},e))}),y.jsxs("div",{className:"skeleton-content-grid",children:[y.jsxs("div",{className:"skeleton-card chart-skeleton",children:[y.jsx(vt,{className:"skeleton-line medium"}),y.jsx(vt,{className:"skeleton-chart"})]}),y.jsxs("div",{className:"skeleton-card detail-skeleton",children:[y.jsx(vt,{className:"skeleton-line medium"}),[0,1,2,3,4].map(e=>y.jsx(vt,{className:"skeleton-line full"},e))]})]}),y.jsxs("div",{className:"skeleton-card table-skeleton",children:[y.jsx(vt,{className:"skeleton-line medium"}),[0,1,2].map(e=>y.jsx(vt,{className:"skeleton-row"},e))]})]})}function m9(){return y.jsx("div",{className:"skeleton-card process-skeleton",children:[0,1,2,3,4,5,6].map(e=>y.jsxs("div",{className:"skeleton-row",children:[y.jsx(vt,{className:"skeleton-line medium"}),y.jsx(vt,{className:"skeleton-line short"}),y.jsx(vt,{className:"skeleton-line medium"})]},e))})}function y9(){return y.jsx("div",{className:"info-grid",children:[0,1,2,3].map(e=>y.jsxs("div",{className:"skeleton-card info-skeleton",children:[y.jsx(vt,{className:"skeleton-line medium"}),[0,1,2,3,4].map(t=>y.jsx(vt,{className:"skeleton-line full"},t))]},e))})}function g9(){return y.jsxs("div",{className:"dashboard-skeleton",children:[y.jsx("div",{className:"skeleton-metric-grid two-columns",children:[0,1].map(e=>y.jsxs("div",{className:"skeleton-card metric-skeleton",children:[y.jsx(vt,{className:"skeleton-icon"}),y.jsx(vt,{className:"skeleton-line short"}),y.jsx(vt,{className:"skeleton-line value-line"})]},e))}),y.jsxs("div",{className:"skeleton-card table-skeleton",children:[y.jsx(vt,{className:"skeleton-line medium"}),[0,1,2,3].map(e=>y.jsx(vt,{className:"skeleton-row"},e))]})]})}function b9(e){const t=Math.floor(e/86400),r=Math.floor(e%86400/3600),n=Math.floor(e%3600/60);return[t?`${t}d`:null,r?`${r}h`:null,`${n}m`].filter(Boolean).join(" ")}function Aa({icon:e,title:t,value:r,note:n,tone:a}){return y.jsxs("article",{className:"metric-card",children:[y.jsx("div",{className:`metric-icon ${a}`,children:e}),y.jsx("div",{className:"metric-title",children:t}),y.jsx("div",{className:"metric-value",children:r}),y.jsx("div",{className:"metric-note",children:n})]})}function rt({label:e,value:t}){return y.jsxs("div",{className:"detail-row",children:[y.jsx("span",{children:e}),y.jsx("strong",{children:t})]})}function yA({rows:e}){return y.jsxs("div",{className:"table-scroll",children:[y.jsxs("table",{children:[y.jsx("thead",{children:y.jsxs("tr",{children:[y.jsx("th",{children:"Process"}),y.jsx("th",{children:"PID"}),y.jsx("th",{children:"USER"}),y.jsx("th",{children:"CPU"}),y.jsx("th",{children:"MEMORY"}),y.jsx("th",{children:"STATUS"})]})}),y.jsx("tbody",{children:e.map(t=>y.jsxs("tr",{children:[y.jsxs("td",{className:"process-name",children:[t.name??"Unknown",y.jsx("small",{children:t.executable??"Executable unavailable"})]}),y.jsx("td",{children:t.pid}),y.jsx("td",{children:t.username??"—"}),y.jsx("td",{children:VT(t.cpu_percent)}),y.jsx("td",{children:Ft(t.memory_bytes)}),y.jsx("td",{children:y.jsx("span",{className:"status",children:t.status??"unknown"})})]},t.pid))})]}),e.length===0&&y.jsx("div",{className:"empty",children:"Waiting for process data…"})]})}Q2.createRoot(document.getElementById("root")).render(y.jsx(U.StrictMode,{children:y.jsx(KN,{children:y.jsx(h9,{})})}));
|