var cD=Object.defineProperty;var sD=(e,t,n)=>t in e?cD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var nm=(e,t,n)=>sD(e,typeof t!="symbol"?t+"":t,n);function fD(e,t){for(var n=0;n<t.length;n++){const a=t[n];if(typeof a!="string"&&!Array.isArray(a)){for(const l in a)if(l!=="default"&&!(l in e)){const o=Object.getOwnPropertyDescriptor(a,l);o&&Object.defineProperty(e,l,o.get?o:{enumerable:!0,get:()=>a[l]})}}}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 l of document.querySelectorAll('link[rel="modulepreload"]'))a(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&a(s)}).observe(document,{childList:!0,subtree:!0});function n(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function a(l){if(l.ep)return;l.ep=!0;const o=n(l);fetch(l.href,o)}})();function Ya(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var rm={exports:{}},oo={};/**
 * @license React
 * react-jsx-runtime.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var bS;function dD(){if(bS)return oo;bS=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(a,l,o){var s=null;if(o!==void 0&&(s=""+o),l.key!==void 0&&(s=""+l.key),"key"in l){o={};for(var f in l)f!=="key"&&(o[f]=l[f])}else o=l;return l=o.ref,{$$typeof:e,type:a,key:s,ref:l!==void 0?l:null,props:o}}return oo.Fragment=t,oo.jsx=n,oo.jsxs=n,oo}var xS;function vD(){return xS||(xS=1,rm.exports=dD()),rm.exports}var T=vD(),am={exports:{}},Ae={};/**
 * @license React
 * react.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var SS;function hD(){if(SS)return Ae;SS=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),s=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),v=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),g=Symbol.iterator;function b(k){return k===null||typeof k!="object"?null:(k=g&&k[g]||k["@@iterator"],typeof k=="function"?k:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},O=Object.assign,A={};function E(k,K,ae){this.props=k,this.context=K,this.refs=A,this.updater=ae||w}E.prototype.isReactComponent={},E.prototype.setState=function(k,K){if(typeof k!="object"&&typeof k!="function"&&k!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,k,K,"setState")},E.prototype.forceUpdate=function(k){this.updater.enqueueForceUpdate(this,k,"forceUpdate")};function j(){}j.prototype=E.prototype;function M(k,K,ae){this.props=k,this.context=K,this.refs=A,this.updater=ae||w}var N=M.prototype=new j;N.constructor=M,O(N,E.prototype),N.isPureReactComponent=!0;var D=Array.isArray;function C(){}var z={H:null,A:null,T:null,S:null},G=Object.prototype.hasOwnProperty;function V(k,K,ae){var ue=ae.ref;return{$$typeof:e,type:k,key:K,ref:ue!==void 0?ue:null,props:ae}}function Q(k,K){return V(k.type,K,k.props)}function J(k){return typeof k=="object"&&k!==null&&k.$$typeof===e}function $(k){var K={"=":"=0",":":"=2"};return"$"+k.replace(/[=:]/g,function(ae){return K[ae]})}var ge=/\/+/g;function oe(k,K){return typeof k=="object"&&k!==null&&k.key!=null?$(""+k.key):K.toString(36)}function me(k){switch(k.status){case"fulfilled":return k.value;case"rejected":throw k.reason;default:switch(typeof k.status=="string"?k.then(C,C):(k.status="pending",k.then(function(K){k.status==="pending"&&(k.status="fulfilled",k.value=K)},function(K){k.status==="pending"&&(k.status="rejected",k.reason=K)})),k.status){case"fulfilled":return k.value;case"rejected":throw k.reason}}throw k}function B(k,K,ae,ue,be){var Oe=typeof k;(Oe==="undefined"||Oe==="boolean")&&(k=null);var te=!1;if(k===null)te=!0;else switch(Oe){case"bigint":case"string":case"number":te=!0;break;case"object":switch(k.$$typeof){case e:case t:te=!0;break;case m:return te=k._init,B(te(k._payload),K,ae,ue,be)}}if(te)return be=be(k),te=ue===""?"."+oe(k,0):ue,D(be)?(ae="",te!=null&&(ae=te.replace(ge,"$&/")+"/"),B(be,K,ae,"",function(le){return le})):be!=null&&(J(be)&&(be=Q(be,ae+(be.key==null||k&&k.key===be.key?"":(""+be.key).replace(ge,"$&/")+"/")+te)),K.push(be)),1;te=0;var ze=ue===""?".":ue+":";if(D(k))for(var ne=0;ne<k.length;ne++)ue=k[ne],Oe=ze+oe(ue,ne),te+=B(ue,K,ae,Oe,be);else if(ne=b(k),typeof ne=="function")for(k=ne.call(k),ne=0;!(ue=k.next()).done;)ue=ue.value,Oe=ze+oe(ue,ne++),te+=B(ue,K,ae,Oe,be);else if(Oe==="object"){if(typeof k.then=="function")return B(me(k),K,ae,ue,be);throw K=String(k),Error("Objects are not valid as a React child (found: "+(K==="[object Object]"?"object with keys {"+Object.keys(k).join(", ")+"}":K)+"). If you meant to render a collection of children, use an array instead.")}return te}function Z(k,K,ae){if(k==null)return k;var ue=[],be=0;return B(k,ue,"","",function(Oe){return K.call(ae,Oe,be++)}),ue}function ie(k){if(k._status===-1){var K=k._result;K=K(),K.then(function(ae){(k._status===0||k._status===-1)&&(k._status=1,k._result=ae)},function(ae){(k._status===0||k._status===-1)&&(k._status=2,k._result=ae)}),k._status===-1&&(k._status=0,k._result=K)}if(k._status===1)return k._result.default;throw k._result}var se=typeof reportError=="function"?reportError:function(k){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var K=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof k=="object"&&k!==null&&typeof k.message=="string"?String(k.message):String(k),error:k});if(!window.dispatchEvent(K))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",k);return}console.error(k)},ve={map:Z,forEach:function(k,K,ae){Z(k,function(){K.apply(this,arguments)},ae)},count:function(k){var K=0;return Z(k,function(){K++}),K},toArray:function(k){return Z(k,function(K){return K})||[]},only:function(k){if(!J(k))throw Error("React.Children.only expected to receive a single React element child.");return k}};return Ae.Activity=y,Ae.Children=ve,Ae.Component=E,Ae.Fragment=n,Ae.Profiler=l,Ae.PureComponent=M,Ae.StrictMode=a,Ae.Suspense=d,Ae.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=z,Ae.__COMPILER_RUNTIME={__proto__:null,c:function(k){return z.H.useMemoCache(k)}},Ae.cache=function(k){return function(){return k.apply(null,arguments)}},Ae.cacheSignal=function(){return null},Ae.cloneElement=function(k,K,ae){if(k==null)throw Error("The argument must be a React element, but you passed "+k+".");var ue=O({},k.props),be=k.key;if(K!=null)for(Oe in K.key!==void 0&&(be=""+K.key),K)!G.call(K,Oe)||Oe==="key"||Oe==="__self"||Oe==="__source"||Oe==="ref"&&K.ref===void 0||(ue[Oe]=K[Oe]);var Oe=arguments.length-2;if(Oe===1)ue.children=ae;else if(1<Oe){for(var te=Array(Oe),ze=0;ze<Oe;ze++)te[ze]=arguments[ze+2];ue.children=te}return V(k.type,be,ue)},Ae.createContext=function(k){return k={$$typeof:s,_currentValue:k,_currentValue2:k,_threadCount:0,Provider:null,Consumer:null},k.Provider=k,k.Consumer={$$typeof:o,_context:k},k},Ae.createElement=function(k,K,ae){var ue,be={},Oe=null;if(K!=null)for(ue in K.key!==void 0&&(Oe=""+K.key),K)G.call(K,ue)&&ue!=="key"&&ue!=="__self"&&ue!=="__source"&&(be[ue]=K[ue]);var te=arguments.length-2;if(te===1)be.children=ae;else if(1<te){for(var ze=Array(te),ne=0;ne<te;ne++)ze[ne]=arguments[ne+2];be.children=ze}if(k&&k.defaultProps)for(ue in te=k.defaultProps,te)be[ue]===void 0&&(be[ue]=te[ue]);return V(k,Oe,be)},Ae.createRef=function(){return{current:null}},Ae.forwardRef=function(k){return{$$typeof:f,render:k}},Ae.isValidElement=J,Ae.lazy=function(k){return{$$typeof:m,_payload:{_status:-1,_result:k},_init:ie}},Ae.memo=function(k,K){return{$$typeof:v,type:k,compare:K===void 0?null:K}},Ae.startTransition=function(k){var K=z.T,ae={};z.T=ae;try{var ue=k(),be=z.S;be!==null&&be(ae,ue),typeof ue=="object"&&ue!==null&&typeof ue.then=="function"&&ue.then(C,se)}catch(Oe){se(Oe)}finally{K!==null&&ae.types!==null&&(K.types=ae.types),z.T=K}},Ae.unstable_useCacheRefresh=function(){return z.H.useCacheRefresh()},Ae.use=function(k){return z.H.use(k)},Ae.useActionState=function(k,K,ae){return z.H.useActionState(k,K,ae)},Ae.useCallback=function(k,K){return z.H.useCallback(k,K)},Ae.useContext=function(k){return z.H.useContext(k)},Ae.useDebugValue=function(){},Ae.useDeferredValue=function(k,K){return z.H.useDeferredValue(k,K)},Ae.useEffect=function(k,K){return z.H.useEffect(k,K)},Ae.useEffectEvent=function(k){return z.H.useEffectEvent(k)},Ae.useId=function(){return z.H.useId()},Ae.useImperativeHandle=function(k,K,ae){return z.H.useImperativeHandle(k,K,ae)},Ae.useInsertionEffect=function(k,K){return z.H.useInsertionEffect(k,K)},Ae.useLayoutEffect=function(k,K){return z.H.useLayoutEffect(k,K)},Ae.useMemo=function(k,K){return z.H.useMemo(k,K)},Ae.useOptimistic=function(k,K){return z.H.useOptimistic(k,K)},Ae.useReducer=function(k,K,ae){return z.H.useReducer(k,K,ae)},Ae.useRef=function(k){return z.H.useRef(k)},Ae.useState=function(k){return z.H.useState(k)},Ae.useSyncExternalStore=function(k,K,ae){return z.H.useSyncExternalStore(k,K,ae)},Ae.useTransition=function(){return z.H.useTransition()},Ae.version="19.2.5",Ae}var OS;function au(){return OS||(OS=1,am.exports=hD()),am.exports}var x=au();const _o=Ya(x),mD=fD({__proto__:null,default:_o},[x]);var im={exports:{}},co={},lm={exports:{}},um={};/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var wS;function pD(){return wS||(wS=1,(function(e){function t(B,Z){var ie=B.length;B.push(Z);e:for(;0<ie;){var se=ie-1>>>1,ve=B[se];if(0<l(ve,Z))B[se]=Z,B[ie]=ve,ie=se;else break e}}function n(B){return B.length===0?null:B[0]}function a(B){if(B.length===0)return null;var Z=B[0],ie=B.pop();if(ie!==Z){B[0]=ie;e:for(var se=0,ve=B.length,k=ve>>>1;se<k;){var K=2*(se+1)-1,ae=B[K],ue=K+1,be=B[ue];if(0>l(ae,ie))ue<ve&&0>l(be,ae)?(B[se]=be,B[ue]=ie,se=ue):(B[se]=ae,B[K]=ie,se=K);else if(ue<ve&&0>l(be,ie))B[se]=be,B[ue]=ie,se=ue;else break e}}return Z}function l(B,Z){var ie=B.sortIndex-Z.sortIndex;return ie!==0?ie:B.id-Z.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,f=s.now();e.unstable_now=function(){return s.now()-f}}var d=[],v=[],m=1,y=null,g=3,b=!1,w=!1,O=!1,A=!1,E=typeof setTimeout=="function"?setTimeout:null,j=typeof clearTimeout=="function"?clearTimeout:null,M=typeof setImmediate<"u"?setImmediate:null;function N(B){for(var Z=n(v);Z!==null;){if(Z.callback===null)a(v);else if(Z.startTime<=B)a(v),Z.sortIndex=Z.expirationTime,t(d,Z);else break;Z=n(v)}}function D(B){if(O=!1,N(B),!w)if(n(d)!==null)w=!0,C||(C=!0,$());else{var Z=n(v);Z!==null&&me(D,Z.startTime-B)}}var C=!1,z=-1,G=5,V=-1;function Q(){return A?!0:!(e.unstable_now()-V<G)}function J(){if(A=!1,C){var B=e.unstable_now();V=B;var Z=!0;try{e:{w=!1,O&&(O=!1,j(z),z=-1),b=!0;var ie=g;try{t:{for(N(B),y=n(d);y!==null&&!(y.expirationTime>B&&Q());){var se=y.callback;if(typeof se=="function"){y.callback=null,g=y.priorityLevel;var ve=se(y.expirationTime<=B);if(B=e.unstable_now(),typeof ve=="function"){y.callback=ve,N(B),Z=!0;break t}y===n(d)&&a(d),N(B)}else a(d);y=n(d)}if(y!==null)Z=!0;else{var k=n(v);k!==null&&me(D,k.startTime-B),Z=!1}}break e}finally{y=null,g=ie,b=!1}Z=void 0}}finally{Z?$():C=!1}}}var $;if(typeof M=="function")$=function(){M(J)};else if(typeof MessageChannel<"u"){var ge=new MessageChannel,oe=ge.port2;ge.port1.onmessage=J,$=function(){oe.postMessage(null)}}else $=function(){E(J,0)};function me(B,Z){z=E(function(){B(e.unstable_now())},Z)}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(B){B.callback=null},e.unstable_forceFrameRate=function(B){0>B||125<B?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):G=0<B?Math.floor(1e3/B):5},e.unstable_getCurrentPriorityLevel=function(){return g},e.unstable_next=function(B){switch(g){case 1:case 2:case 3:var Z=3;break;default:Z=g}var ie=g;g=Z;try{return B()}finally{g=ie}},e.unstable_requestPaint=function(){A=!0},e.unstable_runWithPriority=function(B,Z){switch(B){case 1:case 2:case 3:case 4:case 5:break;default:B=3}var ie=g;g=B;try{return Z()}finally{g=ie}},e.unstable_scheduleCallback=function(B,Z,ie){var se=e.unstable_now();switch(typeof ie=="object"&&ie!==null?(ie=ie.delay,ie=typeof ie=="number"&&0<ie?se+ie:se):ie=se,B){case 1:var ve=-1;break;case 2:ve=250;break;case 5:ve=1073741823;break;case 4:ve=1e4;break;default:ve=5e3}return ve=ie+ve,B={id:m++,callback:Z,priorityLevel:B,startTime:ie,expirationTime:ve,sortIndex:-1},ie>se?(B.sortIndex=ie,t(v,B),n(d)===null&&B===n(v)&&(O?(j(z),z=-1):O=!0,me(D,ie-se))):(B.sortIndex=ve,t(d,B),w||b||(w=!0,C||(C=!0,$()))),B},e.unstable_shouldYield=Q,e.unstable_wrapCallback=function(B){var Z=g;return function(){var ie=g;g=Z;try{return B.apply(this,arguments)}finally{g=ie}}}})(um)),um}var AS;function yD(){return AS||(AS=1,lm.exports=pD()),lm.exports}var om={exports:{}},Qt={};/**
 * @license React
 * react-dom.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var ES;function gD(){if(ES)return Qt;ES=1;var e=au();function t(d){var v="https://react.dev/errors/"+d;if(1<arguments.length){v+="?args[]="+encodeURIComponent(arguments[1]);for(var m=2;m<arguments.length;m++)v+="&args[]="+encodeURIComponent(arguments[m])}return"Minified React error #"+d+"; visit "+v+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var a={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},l=Symbol.for("react.portal");function o(d,v,m){var y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:l,key:y==null?null:""+y,children:d,containerInfo:v,implementation:m}}var s=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function f(d,v){if(d==="font")return"";if(typeof v=="string")return v==="use-credentials"?v:""}return Qt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,Qt.createPortal=function(d,v){var m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!v||v.nodeType!==1&&v.nodeType!==9&&v.nodeType!==11)throw Error(t(299));return o(d,v,null,m)},Qt.flushSync=function(d){var v=s.T,m=a.p;try{if(s.T=null,a.p=2,d)return d()}finally{s.T=v,a.p=m,a.d.f()}},Qt.preconnect=function(d,v){typeof d=="string"&&(v?(v=v.crossOrigin,v=typeof v=="string"?v==="use-credentials"?v:"":void 0):v=null,a.d.C(d,v))},Qt.prefetchDNS=function(d){typeof d=="string"&&a.d.D(d)},Qt.preinit=function(d,v){if(typeof d=="string"&&v&&typeof v.as=="string"){var m=v.as,y=f(m,v.crossOrigin),g=typeof v.integrity=="string"?v.integrity:void 0,b=typeof v.fetchPriority=="string"?v.fetchPriority:void 0;m==="style"?a.d.S(d,typeof v.precedence=="string"?v.precedence:void 0,{crossOrigin:y,integrity:g,fetchPriority:b}):m==="script"&&a.d.X(d,{crossOrigin:y,integrity:g,fetchPriority:b,nonce:typeof v.nonce=="string"?v.nonce:void 0})}},Qt.preinitModule=function(d,v){if(typeof d=="string")if(typeof v=="object"&&v!==null){if(v.as==null||v.as==="script"){var m=f(v.as,v.crossOrigin);a.d.M(d,{crossOrigin:m,integrity:typeof v.integrity=="string"?v.integrity:void 0,nonce:typeof v.nonce=="string"?v.nonce:void 0})}}else v==null&&a.d.M(d)},Qt.preload=function(d,v){if(typeof d=="string"&&typeof v=="object"&&v!==null&&typeof v.as=="string"){var m=v.as,y=f(m,v.crossOrigin);a.d.L(d,m,{crossOrigin:y,integrity:typeof v.integrity=="string"?v.integrity:void 0,nonce:typeof v.nonce=="string"?v.nonce:void 0,type:typeof v.type=="string"?v.type:void 0,fetchPriority:typeof v.fetchPriority=="string"?v.fetchPriority:void 0,referrerPolicy:typeof v.referrerPolicy=="string"?v.referrerPolicy:void 0,imageSrcSet:typeof v.imageSrcSet=="string"?v.imageSrcSet:void 0,imageSizes:typeof v.imageSizes=="string"?v.imageSizes:void 0,media:typeof v.media=="string"?v.media:void 0})}},Qt.preloadModule=function(d,v){if(typeof d=="string")if(v){var m=f(v.as,v.crossOrigin);a.d.m(d,{as:typeof v.as=="string"&&v.as!=="script"?v.as:void 0,crossOrigin:m,integrity:typeof v.integrity=="string"?v.integrity:void 0})}else a.d.m(d)},Qt.requestFormReset=function(d){a.d.r(d)},Qt.unstable_batchedUpdates=function(d,v){return d(v)},Qt.useFormState=function(d,v,m){return s.H.useFormState(d,v,m)},Qt.useFormStatus=function(){return s.H.useHostTransitionStatus()},Qt.version="19.2.5",Qt}var _S;function R2(){if(_S)return om.exports;_S=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(),om.exports=gD(),om.exports}/**
 * @license React
 * react-dom-client.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var TS;function bD(){if(TS)return co;TS=1;var e=yD(),t=au(),n=R2();function a(r){var i="https://react.dev/errors/"+r;if(1<arguments.length){i+="?args[]="+encodeURIComponent(arguments[1]);for(var u=2;u<arguments.length;u++)i+="&args[]="+encodeURIComponent(arguments[u])}return"Minified React error #"+r+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function o(r){var i=r,u=r;if(r.alternate)for(;i.return;)i=i.return;else{r=i;do i=r,(i.flags&4098)!==0&&(u=i.return),r=i.return;while(r)}return i.tag===3?u:null}function s(r){if(r.tag===13){var i=r.memoizedState;if(i===null&&(r=r.alternate,r!==null&&(i=r.memoizedState)),i!==null)return i.dehydrated}return null}function f(r){if(r.tag===31){var i=r.memoizedState;if(i===null&&(r=r.alternate,r!==null&&(i=r.memoizedState)),i!==null)return i.dehydrated}return null}function d(r){if(o(r)!==r)throw Error(a(188))}function v(r){var i=r.alternate;if(!i){if(i=o(r),i===null)throw Error(a(188));return i!==r?null:r}for(var u=r,c=i;;){var h=u.return;if(h===null)break;var p=h.alternate;if(p===null){if(c=h.return,c!==null){u=c;continue}break}if(h.child===p.child){for(p=h.child;p;){if(p===u)return d(h),r;if(p===c)return d(h),i;p=p.sibling}throw Error(a(188))}if(u.return!==c.return)u=h,c=p;else{for(var S=!1,_=h.child;_;){if(_===u){S=!0,u=h,c=p;break}if(_===c){S=!0,c=h,u=p;break}_=_.sibling}if(!S){for(_=p.child;_;){if(_===u){S=!0,u=p,c=h;break}if(_===c){S=!0,c=p,u=h;break}_=_.sibling}if(!S)throw Error(a(189))}}if(u.alternate!==c)throw Error(a(190))}if(u.tag!==3)throw Error(a(188));return u.stateNode.current===u?r:i}function m(r){var i=r.tag;if(i===5||i===26||i===27||i===6)return r;for(r=r.child;r!==null;){if(i=m(r),i!==null)return i;r=r.sibling}return null}var y=Object.assign,g=Symbol.for("react.element"),b=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),A=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),j=Symbol.for("react.consumer"),M=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),C=Symbol.for("react.suspense_list"),z=Symbol.for("react.memo"),G=Symbol.for("react.lazy"),V=Symbol.for("react.activity"),Q=Symbol.for("react.memo_cache_sentinel"),J=Symbol.iterator;function $(r){return r===null||typeof r!="object"?null:(r=J&&r[J]||r["@@iterator"],typeof r=="function"?r:null)}var ge=Symbol.for("react.client.reference");function oe(r){if(r==null)return null;if(typeof r=="function")return r.$$typeof===ge?null:r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case O:return"Fragment";case E:return"Profiler";case A:return"StrictMode";case D:return"Suspense";case C:return"SuspenseList";case V:return"Activity"}if(typeof r=="object")switch(r.$$typeof){case w:return"Portal";case M:return r.displayName||"Context";case j:return(r._context.displayName||"Context")+".Consumer";case N:var i=r.render;return r=r.displayName,r||(r=i.displayName||i.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case z:return i=r.displayName||null,i!==null?i:oe(r.type)||"Memo";case G:i=r._payload,r=r._init;try{return oe(r(i))}catch{}}return null}var me=Array.isArray,B=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ie={pending:!1,data:null,method:null,action:null},se=[],ve=-1;function k(r){return{current:r}}function K(r){0>ve||(r.current=se[ve],se[ve]=null,ve--)}function ae(r,i){ve++,se[ve]=r.current,r.current=i}var ue=k(null),be=k(null),Oe=k(null),te=k(null);function ze(r,i){switch(ae(Oe,i),ae(be,r),ae(ue,null),i.nodeType){case 9:case 11:r=(r=i.documentElement)&&(r=r.namespaceURI)?Hx(r):0;break;default:if(r=i.tagName,i=i.namespaceURI)i=Hx(i),r=Gx(i,r);else switch(r){case"svg":r=1;break;case"math":r=2;break;default:r=0}}K(ue),ae(ue,r)}function ne(){K(ue),K(be),K(Oe)}function le(r){r.memoizedState!==null&&ae(te,r);var i=ue.current,u=Gx(i,r.type);i!==u&&(ae(be,r),ae(ue,u))}function Te(r){be.current===r&&(K(ue),K(be)),te.current===r&&(K(te),ao._currentValue=ie)}var re,pt;function je(r){if(re===void 0)try{throw Error()}catch(u){var i=u.stack.trim().match(/\n( *(at )?)/);re=i&&i[1]||"",pt=-1<u.stack.indexOf(`
    at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return`
`+re+r+pt}var Et=!1;function zt(r,i){if(!r||Et)return"";Et=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var c={DetermineComponentFrameRoot:function(){try{if(i){var W=function(){throw Error()};if(Object.defineProperty(W.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(W,[])}catch(Y){var H=Y}Reflect.construct(r,[],W)}else{try{W.call()}catch(Y){H=Y}r.call(W.prototype)}}else{try{throw Error()}catch(Y){H=Y}(W=r())&&typeof W.catch=="function"&&W.catch(function(){})}}catch(Y){if(Y&&H&&typeof Y.stack=="string")return[Y.stack,H.stack]}return[null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var h=Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name");h&&h.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var p=c.DetermineComponentFrameRoot(),S=p[0],_=p[1];if(S&&_){var P=S.split(`
`),q=_.split(`
`);for(h=c=0;c<P.length&&!P[c].includes("DetermineComponentFrameRoot");)c++;for(;h<q.length&&!q[h].includes("DetermineComponentFrameRoot");)h++;if(c===P.length||h===q.length)for(c=P.length-1,h=q.length-1;1<=c&&0<=h&&P[c]!==q[h];)h--;for(;1<=c&&0<=h;c--,h--)if(P[c]!==q[h]){if(c!==1||h!==1)do if(c--,h--,0>h||P[c]!==q[h]){var X=`
`+P[c].replace(" at new "," at ");return r.displayName&&X.includes("<anonymous>")&&(X=X.replace("<anonymous>",r.displayName)),X}while(1<=c&&0<=h);break}}}finally{Et=!1,Error.prepareStackTrace=u}return(u=r?r.displayName||r.name:"")?je(u):""}function rr(r,i){switch(r.tag){case 26:case 27:case 5:return je(r.type);case 16:return je("Lazy");case 13:return r.child!==i&&i!==null?je("Suspense Fallback"):je("Suspense");case 19:return je("SuspenseList");case 0:case 15:return zt(r.type,!1);case 11:return zt(r.type.render,!1);case 1:return zt(r.type,!0);case 31:return je("Activity");default:return""}}function Vi(r){try{var i="",u=null;do i+=rr(r,u),u=r,r=r.return;while(r);return i}catch(c){return`
Error generating stack: `+c.message+`
`+c.stack}}var mu=Object.prototype.hasOwnProperty,dc=e.unstable_scheduleCallback,pu=e.unstable_cancelCallback,qd=e.unstable_shouldYield,yu=e.unstable_requestPaint,vn=e.unstable_now,Hd=e.unstable_getCurrentPriorityLevel,vc=e.unstable_ImmediatePriority,Wa=e.unstable_UserBlockingPriority,Xi=e.unstable_NormalPriority,Gd=e.unstable_LowPriority,hc=e.unstable_IdlePriority,mc=e.log,$d=e.unstable_setDisableYieldValue,Qa=null,ln=null;function mr(r){if(typeof mc=="function"&&$d(r),ln&&typeof ln.setStrictMode=="function")try{ln.setStrictMode(Qa,r)}catch{}}var un=Math.clz32?Math.clz32:pc,Kd=Math.log,Yd=Math.LN2;function pc(r){return r>>>=0,r===0?32:31-(Kd(r)/Yd|0)|0}var Ja=256,ee=262144,ce=4194304;function we(r){var i=r&42;if(i!==0)return i;switch(r&-r){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return r&261888;case 262144:case 524288:case 1048576:case 2097152:return r&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return r&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return r}}function _t(r,i,u){var c=r.pendingLanes;if(c===0)return 0;var h=0,p=r.suspendedLanes,S=r.pingedLanes;r=r.warmLanes;var _=c&134217727;return _!==0?(c=_&~p,c!==0?h=we(c):(S&=_,S!==0?h=we(S):u||(u=_&~r,u!==0&&(h=we(u))))):(_=c&~p,_!==0?h=we(_):S!==0?h=we(S):u||(u=c&~r,u!==0&&(h=we(u)))),h===0?0:i!==0&&i!==h&&(i&p)===0&&(p=h&-h,u=i&-i,p>=u||p===32&&(u&4194048)!==0)?i:h}function pr(r,i){return(r.pendingLanes&~(r.suspendedLanes&~r.pingedLanes)&i)===0}function st(r,i){switch(r){case 1:case 2:case 4:case 8:case 64:return i+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return i+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function hn(){var r=ce;return ce<<=1,(ce&62914560)===0&&(ce=4194304),r}function on(r){for(var i=[],u=0;31>u;u++)i.push(r);return i}function mn(r,i){r.pendingLanes|=i,i!==268435456&&(r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0)}function gu(r,i,u,c,h,p){var S=r.pendingLanes;r.pendingLanes=u,r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0,r.expiredLanes&=u,r.entangledLanes&=u,r.errorRecoveryDisabledLanes&=u,r.shellSuspendCounter=0;var _=r.entanglements,P=r.expirationTimes,q=r.hiddenUpdates;for(u=S&~u;0<u;){var X=31-un(u),W=1<<X;_[X]=0,P[X]=-1;var H=q[X];if(H!==null)for(q[X]=null,X=0;X<H.length;X++){var Y=H[X];Y!==null&&(Y.lane&=-536870913)}u&=~W}c!==0&&Zi(r,c,0),p!==0&&h===0&&r.tag!==0&&(r.suspendedLanes|=p&~(S&~i))}function Zi(r,i,u){r.pendingLanes|=i,r.suspendedLanes&=~i;var c=31-un(i);r.entangledLanes|=i,r.entanglements[c]=r.entanglements[c]|1073741824|u&261930}function Fi(r,i){var u=r.entangledLanes|=i;for(r=r.entanglements;u;){var c=31-un(u),h=1<<c;h&i|r[c]&i&&(r[c]|=i),u&=~h}}function Wi(r,i){var u=i&-i;return u=(u&42)!==0?1:ei(u),(u&(r.suspendedLanes|i))!==0?0:u}function ei(r){switch(r){case 2:r=1;break;case 8:r=4;break;case 32:r=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:r=128;break;case 268435456:r=134217728;break;default:r=0}return r}function Gt(r){return r&=-r,2<r?8<r?(r&134217727)!==0?32:268435456:8:2}function Ln(){var r=Z.p;return r!==0?r:(r=window.event,r===void 0?32:dS(r.type))}function jg(r,i){var u=Z.p;try{return Z.p=r,i()}finally{Z.p=u}}var va=Math.random().toString(36).slice(2),$t="__reactFiber$"+va,pn="__reactProps$"+va,Qi="__reactContainer$"+va,Vd="__reactEvents$"+va,QC="__reactListeners$"+va,JC="__reactHandles$"+va,Mg="__reactResources$"+va,bu="__reactMarker$"+va;function Xd(r){delete r[$t],delete r[pn],delete r[Vd],delete r[QC],delete r[JC]}function Ji(r){var i=r[$t];if(i)return i;for(var u=r.parentNode;u;){if(i=u[Qi]||u[$t]){if(u=i.alternate,i.child!==null||u!==null&&u.child!==null)for(r=Fx(r);r!==null;){if(u=r[$t])return u;r=Fx(r)}return i}r=u,u=r.parentNode}return null}function el(r){if(r=r[$t]||r[Qi]){var i=r.tag;if(i===5||i===6||i===13||i===31||i===26||i===27||i===3)return r}return null}function xu(r){var i=r.tag;if(i===5||i===26||i===27||i===6)return r.stateNode;throw Error(a(33))}function tl(r){var i=r[Mg];return i||(i=r[Mg]={hoistableStyles:new Map,hoistableScripts:new Map}),i}function It(r){r[bu]=!0}var Cg=new Set,Ng={};function ti(r,i){nl(r,i),nl(r+"Capture",i)}function nl(r,i){for(Ng[r]=i,r=0;r<i.length;r++)Cg.add(i[r])}var eN=RegExp("^[: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]*$"),Pg={},Dg={};function tN(r){return mu.call(Dg,r)?!0:mu.call(Pg,r)?!1:eN.test(r)?Dg[r]=!0:(Pg[r]=!0,!1)}function yc(r,i,u){if(tN(i))if(u===null)r.removeAttribute(i);else{switch(typeof u){case"undefined":case"function":case"symbol":r.removeAttribute(i);return;case"boolean":var c=i.toLowerCase().slice(0,5);if(c!=="data-"&&c!=="aria-"){r.removeAttribute(i);return}}r.setAttribute(i,""+u)}}function gc(r,i,u){if(u===null)r.removeAttribute(i);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(i);return}r.setAttribute(i,""+u)}}function Dr(r,i,u,c){if(c===null)r.removeAttribute(u);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(u);return}r.setAttributeNS(i,u,""+c)}}function Bn(r){switch(typeof r){case"bigint":case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function kg(r){var i=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function nN(r,i,u){var c=Object.getOwnPropertyDescriptor(r.constructor.prototype,i);if(!r.hasOwnProperty(i)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var h=c.get,p=c.set;return Object.defineProperty(r,i,{configurable:!0,get:function(){return h.call(this)},set:function(S){u=""+S,p.call(this,S)}}),Object.defineProperty(r,i,{enumerable:c.enumerable}),{getValue:function(){return u},setValue:function(S){u=""+S},stopTracking:function(){r._valueTracker=null,delete r[i]}}}}function Zd(r){if(!r._valueTracker){var i=kg(r)?"checked":"value";r._valueTracker=nN(r,i,""+r[i])}}function Rg(r){if(!r)return!1;var i=r._valueTracker;if(!i)return!0;var u=i.getValue(),c="";return r&&(c=kg(r)?r.checked?"true":"false":r.value),r=c,r!==u?(i.setValue(r),!0):!1}function bc(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}var rN=/[\n"\\]/g;function Un(r){return r.replace(rN,function(i){return"\\"+i.charCodeAt(0).toString(16)+" "})}function Fd(r,i,u,c,h,p,S,_){r.name="",S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?r.type=S:r.removeAttribute("type"),i!=null?S==="number"?(i===0&&r.value===""||r.value!=i)&&(r.value=""+Bn(i)):r.value!==""+Bn(i)&&(r.value=""+Bn(i)):S!=="submit"&&S!=="reset"||r.removeAttribute("value"),i!=null?Wd(r,S,Bn(i)):u!=null?Wd(r,S,Bn(u)):c!=null&&r.removeAttribute("value"),h==null&&p!=null&&(r.defaultChecked=!!p),h!=null&&(r.checked=h&&typeof h!="function"&&typeof h!="symbol"),_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"?r.name=""+Bn(_):r.removeAttribute("name")}function zg(r,i,u,c,h,p,S,_){if(p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(r.type=p),i!=null||u!=null){if(!(p!=="submit"&&p!=="reset"||i!=null)){Zd(r);return}u=u!=null?""+Bn(u):"",i=i!=null?""+Bn(i):u,_||i===r.value||(r.value=i),r.defaultValue=i}c=c??h,c=typeof c!="function"&&typeof c!="symbol"&&!!c,r.checked=_?r.checked:!!c,r.defaultChecked=!!c,S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"&&(r.name=S),Zd(r)}function Wd(r,i,u){i==="number"&&bc(r.ownerDocument)===r||r.defaultValue===""+u||(r.defaultValue=""+u)}function rl(r,i,u,c){if(r=r.options,i){i={};for(var h=0;h<u.length;h++)i["$"+u[h]]=!0;for(u=0;u<r.length;u++)h=i.hasOwnProperty("$"+r[u].value),r[u].selected!==h&&(r[u].selected=h),h&&c&&(r[u].defaultSelected=!0)}else{for(u=""+Bn(u),i=null,h=0;h<r.length;h++){if(r[h].value===u){r[h].selected=!0,c&&(r[h].defaultSelected=!0);return}i!==null||r[h].disabled||(i=r[h])}i!==null&&(i.selected=!0)}}function Ig(r,i,u){if(i!=null&&(i=""+Bn(i),i!==r.value&&(r.value=i),u==null)){r.defaultValue!==i&&(r.defaultValue=i);return}r.defaultValue=u!=null?""+Bn(u):""}function Lg(r,i,u,c){if(i==null){if(c!=null){if(u!=null)throw Error(a(92));if(me(c)){if(1<c.length)throw Error(a(93));c=c[0]}u=c}u==null&&(u=""),i=u}u=Bn(i),r.defaultValue=u,c=r.textContent,c===u&&c!==""&&c!==null&&(r.value=c),Zd(r)}function al(r,i){if(i){var u=r.firstChild;if(u&&u===r.lastChild&&u.nodeType===3){u.nodeValue=i;return}}r.textContent=i}var aN=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Bg(r,i,u){var c=i.indexOf("--")===0;u==null||typeof u=="boolean"||u===""?c?r.setProperty(i,""):i==="float"?r.cssFloat="":r[i]="":c?r.setProperty(i,u):typeof u!="number"||u===0||aN.has(i)?i==="float"?r.cssFloat=u:r[i]=(""+u).trim():r[i]=u+"px"}function Ug(r,i,u){if(i!=null&&typeof i!="object")throw Error(a(62));if(r=r.style,u!=null){for(var c in u)!u.hasOwnProperty(c)||i!=null&&i.hasOwnProperty(c)||(c.indexOf("--")===0?r.setProperty(c,""):c==="float"?r.cssFloat="":r[c]="");for(var h in i)c=i[h],i.hasOwnProperty(h)&&u[h]!==c&&Bg(r,h,c)}else for(var p in i)i.hasOwnProperty(p)&&Bg(r,p,i[p])}function Qd(r){if(r.indexOf("-")===-1)return!1;switch(r){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 iN=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),lN=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function xc(r){return lN.test(""+r)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":r}function kr(){}var Jd=null;function ev(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var il=null,ll=null;function qg(r){var i=el(r);if(i&&(r=i.stateNode)){var u=r[pn]||null;e:switch(r=i.stateNode,i.type){case"input":if(Fd(r,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name),i=u.name,u.type==="radio"&&i!=null){for(u=r;u.parentNode;)u=u.parentNode;for(u=u.querySelectorAll('input[name="'+Un(""+i)+'"][type="radio"]'),i=0;i<u.length;i++){var c=u[i];if(c!==r&&c.form===r.form){var h=c[pn]||null;if(!h)throw Error(a(90));Fd(c,h.value,h.defaultValue,h.defaultValue,h.checked,h.defaultChecked,h.type,h.name)}}for(i=0;i<u.length;i++)c=u[i],c.form===r.form&&Rg(c)}break e;case"textarea":Ig(r,u.value,u.defaultValue);break e;case"select":i=u.value,i!=null&&rl(r,!!u.multiple,i,!1)}}}var tv=!1;function Hg(r,i,u){if(tv)return r(i,u);tv=!0;try{var c=r(i);return c}finally{if(tv=!1,(il!==null||ll!==null)&&(us(),il&&(i=il,r=ll,ll=il=null,qg(i),r)))for(i=0;i<r.length;i++)qg(r[i])}}function Su(r,i){var u=r.stateNode;if(u===null)return null;var c=u[pn]||null;if(c===null)return null;u=c[i];e:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(c=!c.disabled)||(r=r.type,c=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!c;break e;default:r=!1}if(r)return null;if(u&&typeof u!="function")throw Error(a(231,i,typeof u));return u}var Rr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),nv=!1;if(Rr)try{var Ou={};Object.defineProperty(Ou,"passive",{get:function(){nv=!0}}),window.addEventListener("test",Ou,Ou),window.removeEventListener("test",Ou,Ou)}catch{nv=!1}var ha=null,rv=null,Sc=null;function Gg(){if(Sc)return Sc;var r,i=rv,u=i.length,c,h="value"in ha?ha.value:ha.textContent,p=h.length;for(r=0;r<u&&i[r]===h[r];r++);var S=u-r;for(c=1;c<=S&&i[u-c]===h[p-c];c++);return Sc=h.slice(r,1<c?1-c:void 0)}function Oc(r){var i=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&i===13&&(r=13)):r=i,r===10&&(r=13),32<=r||r===13?r:0}function wc(){return!0}function $g(){return!1}function yn(r){function i(u,c,h,p,S){this._reactName=u,this._targetInst=h,this.type=c,this.nativeEvent=p,this.target=S,this.currentTarget=null;for(var _ in r)r.hasOwnProperty(_)&&(u=r[_],this[_]=u?u(p):p[_]);return this.isDefaultPrevented=(p.defaultPrevented!=null?p.defaultPrevented:p.returnValue===!1)?wc:$g,this.isPropagationStopped=$g,this}return y(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var u=this.nativeEvent;u&&(u.preventDefault?u.preventDefault():typeof u.returnValue!="unknown"&&(u.returnValue=!1),this.isDefaultPrevented=wc)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!="unknown"&&(u.cancelBubble=!0),this.isPropagationStopped=wc)},persist:function(){},isPersistent:wc}),i}var ni={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ac=yn(ni),wu=y({},ni,{view:0,detail:0}),uN=yn(wu),av,iv,Au,Ec=y({},wu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:uv,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==Au&&(Au&&r.type==="mousemove"?(av=r.screenX-Au.screenX,iv=r.screenY-Au.screenY):iv=av=0,Au=r),av)},movementY:function(r){return"movementY"in r?r.movementY:iv}}),Kg=yn(Ec),oN=y({},Ec,{dataTransfer:0}),cN=yn(oN),sN=y({},wu,{relatedTarget:0}),lv=yn(sN),fN=y({},ni,{animationName:0,elapsedTime:0,pseudoElement:0}),dN=yn(fN),vN=y({},ni,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),hN=yn(vN),mN=y({},ni,{data:0}),Yg=yn(mN),pN={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},yN={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"},gN={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function bN(r){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(r):(r=gN[r])?!!i[r]:!1}function uv(){return bN}var xN=y({},wu,{key:function(r){if(r.key){var i=pN[r.key]||r.key;if(i!=="Unidentified")return i}return r.type==="keypress"?(r=Oc(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?yN[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:uv,charCode:function(r){return r.type==="keypress"?Oc(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?Oc(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),SN=yn(xN),ON=y({},Ec,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Vg=yn(ON),wN=y({},wu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:uv}),AN=yn(wN),EN=y({},ni,{propertyName:0,elapsedTime:0,pseudoElement:0}),_N=yn(EN),TN=y({},Ec,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),jN=yn(TN),MN=y({},ni,{newState:0,oldState:0}),CN=yn(MN),NN=[9,13,27,32],ov=Rr&&"CompositionEvent"in window,Eu=null;Rr&&"documentMode"in document&&(Eu=document.documentMode);var PN=Rr&&"TextEvent"in window&&!Eu,Xg=Rr&&(!ov||Eu&&8<Eu&&11>=Eu),Zg=" ",Fg=!1;function Wg(r,i){switch(r){case"keyup":return NN.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Qg(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var ul=!1;function DN(r,i){switch(r){case"compositionend":return Qg(i);case"keypress":return i.which!==32?null:(Fg=!0,Zg);case"textInput":return r=i.data,r===Zg&&Fg?null:r;default:return null}}function kN(r,i){if(ul)return r==="compositionend"||!ov&&Wg(r,i)?(r=Gg(),Sc=rv=ha=null,ul=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return Xg&&i.locale!=="ko"?null:i.data;default:return null}}var RN={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 Jg(r){var i=r&&r.nodeName&&r.nodeName.toLowerCase();return i==="input"?!!RN[r.type]:i==="textarea"}function eb(r,i,u,c){il?ll?ll.push(c):ll=[c]:il=c,i=hs(i,"onChange"),0<i.length&&(u=new Ac("onChange","change",null,u,c),r.push({event:u,listeners:i}))}var _u=null,Tu=null;function zN(r){zx(r,0)}function _c(r){var i=xu(r);if(Rg(i))return r}function tb(r,i){if(r==="change")return i}var nb=!1;if(Rr){var cv;if(Rr){var sv="oninput"in document;if(!sv){var rb=document.createElement("div");rb.setAttribute("oninput","return;"),sv=typeof rb.oninput=="function"}cv=sv}else cv=!1;nb=cv&&(!document.documentMode||9<document.documentMode)}function ab(){_u&&(_u.detachEvent("onpropertychange",ib),Tu=_u=null)}function ib(r){if(r.propertyName==="value"&&_c(Tu)){var i=[];eb(i,Tu,r,ev(r)),Hg(zN,i)}}function IN(r,i,u){r==="focusin"?(ab(),_u=i,Tu=u,_u.attachEvent("onpropertychange",ib)):r==="focusout"&&ab()}function LN(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return _c(Tu)}function BN(r,i){if(r==="click")return _c(i)}function UN(r,i){if(r==="input"||r==="change")return _c(i)}function qN(r,i){return r===i&&(r!==0||1/r===1/i)||r!==r&&i!==i}var _n=typeof Object.is=="function"?Object.is:qN;function ju(r,i){if(_n(r,i))return!0;if(typeof r!="object"||r===null||typeof i!="object"||i===null)return!1;var u=Object.keys(r),c=Object.keys(i);if(u.length!==c.length)return!1;for(c=0;c<u.length;c++){var h=u[c];if(!mu.call(i,h)||!_n(r[h],i[h]))return!1}return!0}function lb(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function ub(r,i){var u=lb(r);r=0;for(var c;u;){if(u.nodeType===3){if(c=r+u.textContent.length,r<=i&&c>=i)return{node:u,offset:i-r};r=c}e:{for(;u;){if(u.nextSibling){u=u.nextSibling;break e}u=u.parentNode}u=void 0}u=lb(u)}}function ob(r,i){return r&&i?r===i?!0:r&&r.nodeType===3?!1:i&&i.nodeType===3?ob(r,i.parentNode):"contains"in r?r.contains(i):r.compareDocumentPosition?!!(r.compareDocumentPosition(i)&16):!1:!1}function cb(r){r=r!=null&&r.ownerDocument!=null&&r.ownerDocument.defaultView!=null?r.ownerDocument.defaultView:window;for(var i=bc(r.document);i instanceof r.HTMLIFrameElement;){try{var u=typeof i.contentWindow.location.href=="string"}catch{u=!1}if(u)r=i.contentWindow;else break;i=bc(r.document)}return i}function fv(r){var i=r&&r.nodeName&&r.nodeName.toLowerCase();return i&&(i==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||i==="textarea"||r.contentEditable==="true")}var HN=Rr&&"documentMode"in document&&11>=document.documentMode,ol=null,dv=null,Mu=null,vv=!1;function sb(r,i,u){var c=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;vv||ol==null||ol!==bc(c)||(c=ol,"selectionStart"in c&&fv(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),Mu&&ju(Mu,c)||(Mu=c,c=hs(dv,"onSelect"),0<c.length&&(i=new Ac("onSelect","select",null,i,u),r.push({event:i,listeners:c}),i.target=ol)))}function ri(r,i){var u={};return u[r.toLowerCase()]=i.toLowerCase(),u["Webkit"+r]="webkit"+i,u["Moz"+r]="moz"+i,u}var cl={animationend:ri("Animation","AnimationEnd"),animationiteration:ri("Animation","AnimationIteration"),animationstart:ri("Animation","AnimationStart"),transitionrun:ri("Transition","TransitionRun"),transitionstart:ri("Transition","TransitionStart"),transitioncancel:ri("Transition","TransitionCancel"),transitionend:ri("Transition","TransitionEnd")},hv={},fb={};Rr&&(fb=document.createElement("div").style,"AnimationEvent"in window||(delete cl.animationend.animation,delete cl.animationiteration.animation,delete cl.animationstart.animation),"TransitionEvent"in window||delete cl.transitionend.transition);function ai(r){if(hv[r])return hv[r];if(!cl[r])return r;var i=cl[r],u;for(u in i)if(i.hasOwnProperty(u)&&u in fb)return hv[r]=i[u];return r}var db=ai("animationend"),vb=ai("animationiteration"),hb=ai("animationstart"),GN=ai("transitionrun"),$N=ai("transitionstart"),KN=ai("transitioncancel"),mb=ai("transitionend"),pb=new Map,mv="abort auxClick beforeToggle 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(" ");mv.push("scrollEnd");function ar(r,i){pb.set(r,i),ti(i,[r])}var Tc=typeof reportError=="function"?reportError:function(r){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var i=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof r=="object"&&r!==null&&typeof r.message=="string"?String(r.message):String(r),error:r});if(!window.dispatchEvent(i))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",r);return}console.error(r)},qn=[],sl=0,pv=0;function jc(){for(var r=sl,i=pv=sl=0;i<r;){var u=qn[i];qn[i++]=null;var c=qn[i];qn[i++]=null;var h=qn[i];qn[i++]=null;var p=qn[i];if(qn[i++]=null,c!==null&&h!==null){var S=c.pending;S===null?h.next=h:(h.next=S.next,S.next=h),c.pending=h}p!==0&&yb(u,h,p)}}function Mc(r,i,u,c){qn[sl++]=r,qn[sl++]=i,qn[sl++]=u,qn[sl++]=c,pv|=c,r.lanes|=c,r=r.alternate,r!==null&&(r.lanes|=c)}function yv(r,i,u,c){return Mc(r,i,u,c),Cc(r)}function ii(r,i){return Mc(r,null,null,i),Cc(r)}function yb(r,i,u){r.lanes|=u;var c=r.alternate;c!==null&&(c.lanes|=u);for(var h=!1,p=r.return;p!==null;)p.childLanes|=u,c=p.alternate,c!==null&&(c.childLanes|=u),p.tag===22&&(r=p.stateNode,r===null||r._visibility&1||(h=!0)),r=p,p=p.return;return r.tag===3?(p=r.stateNode,h&&i!==null&&(h=31-un(u),r=p.hiddenUpdates,c=r[h],c===null?r[h]=[i]:c.push(i),i.lane=u|536870912),p):null}function Cc(r){if(50<Wu)throw Wu=0,_h=null,Error(a(185));for(var i=r.return;i!==null;)r=i,i=r.return;return r.tag===3?r.stateNode:null}var fl={};function YN(r,i,u,c){this.tag=r,this.key=u,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Tn(r,i,u,c){return new YN(r,i,u,c)}function gv(r){return r=r.prototype,!(!r||!r.isReactComponent)}function zr(r,i){var u=r.alternate;return u===null?(u=Tn(r.tag,i,r.key,r.mode),u.elementType=r.elementType,u.type=r.type,u.stateNode=r.stateNode,u.alternate=r,r.alternate=u):(u.pendingProps=i,u.type=r.type,u.flags=0,u.subtreeFlags=0,u.deletions=null),u.flags=r.flags&65011712,u.childLanes=r.childLanes,u.lanes=r.lanes,u.child=r.child,u.memoizedProps=r.memoizedProps,u.memoizedState=r.memoizedState,u.updateQueue=r.updateQueue,i=r.dependencies,u.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},u.sibling=r.sibling,u.index=r.index,u.ref=r.ref,u.refCleanup=r.refCleanup,u}function gb(r,i){r.flags&=65011714;var u=r.alternate;return u===null?(r.childLanes=0,r.lanes=i,r.child=null,r.subtreeFlags=0,r.memoizedProps=null,r.memoizedState=null,r.updateQueue=null,r.dependencies=null,r.stateNode=null):(r.childLanes=u.childLanes,r.lanes=u.lanes,r.child=u.child,r.subtreeFlags=0,r.deletions=null,r.memoizedProps=u.memoizedProps,r.memoizedState=u.memoizedState,r.updateQueue=u.updateQueue,r.type=u.type,i=u.dependencies,r.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),r}function Nc(r,i,u,c,h,p){var S=0;if(c=r,typeof r=="function")gv(r)&&(S=1);else if(typeof r=="string")S=WP(r,u,ue.current)?26:r==="html"||r==="head"||r==="body"?27:5;else e:switch(r){case V:return r=Tn(31,u,i,h),r.elementType=V,r.lanes=p,r;case O:return li(u.children,h,p,i);case A:S=8,h|=24;break;case E:return r=Tn(12,u,i,h|2),r.elementType=E,r.lanes=p,r;case D:return r=Tn(13,u,i,h),r.elementType=D,r.lanes=p,r;case C:return r=Tn(19,u,i,h),r.elementType=C,r.lanes=p,r;default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case M:S=10;break e;case j:S=9;break e;case N:S=11;break e;case z:S=14;break e;case G:S=16,c=null;break e}S=29,u=Error(a(130,r===null?"null":typeof r,"")),c=null}return i=Tn(S,u,i,h),i.elementType=r,i.type=c,i.lanes=p,i}function li(r,i,u,c){return r=Tn(7,r,c,i),r.lanes=u,r}function bv(r,i,u){return r=Tn(6,r,null,i),r.lanes=u,r}function bb(r){var i=Tn(18,null,null,0);return i.stateNode=r,i}function xv(r,i,u){return i=Tn(4,r.children!==null?r.children:[],r.key,i),i.lanes=u,i.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},i}var xb=new WeakMap;function Hn(r,i){if(typeof r=="object"&&r!==null){var u=xb.get(r);return u!==void 0?u:(i={value:r,source:i,stack:Vi(i)},xb.set(r,i),i)}return{value:r,source:i,stack:Vi(i)}}var dl=[],vl=0,Pc=null,Cu=0,Gn=[],$n=0,ma=null,yr=1,gr="";function Ir(r,i){dl[vl++]=Cu,dl[vl++]=Pc,Pc=r,Cu=i}function Sb(r,i,u){Gn[$n++]=yr,Gn[$n++]=gr,Gn[$n++]=ma,ma=r;var c=yr;r=gr;var h=32-un(c)-1;c&=~(1<<h),u+=1;var p=32-un(i)+h;if(30<p){var S=h-h%5;p=(c&(1<<S)-1).toString(32),c>>=S,h-=S,yr=1<<32-un(i)+h|u<<h|c,gr=p+r}else yr=1<<p|u<<h|c,gr=r}function Sv(r){r.return!==null&&(Ir(r,1),Sb(r,1,0))}function Ov(r){for(;r===Pc;)Pc=dl[--vl],dl[vl]=null,Cu=dl[--vl],dl[vl]=null;for(;r===ma;)ma=Gn[--$n],Gn[$n]=null,gr=Gn[--$n],Gn[$n]=null,yr=Gn[--$n],Gn[$n]=null}function Ob(r,i){Gn[$n++]=yr,Gn[$n++]=gr,Gn[$n++]=ma,yr=i.id,gr=i.overflow,ma=r}var Kt=null,tt=null,De=!1,pa=null,Kn=!1,wv=Error(a(519));function ya(r){var i=Error(a(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Nu(Hn(i,r)),wv}function wb(r){var i=r.stateNode,u=r.type,c=r.memoizedProps;switch(i[$t]=r,i[pn]=c,u){case"dialog":Ce("cancel",i),Ce("close",i);break;case"iframe":case"object":case"embed":Ce("load",i);break;case"video":case"audio":for(u=0;u<Ju.length;u++)Ce(Ju[u],i);break;case"source":Ce("error",i);break;case"img":case"image":case"link":Ce("error",i),Ce("load",i);break;case"details":Ce("toggle",i);break;case"input":Ce("invalid",i),zg(i,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0);break;case"select":Ce("invalid",i);break;case"textarea":Ce("invalid",i),Lg(i,c.value,c.defaultValue,c.children)}u=c.children,typeof u!="string"&&typeof u!="number"&&typeof u!="bigint"||i.textContent===""+u||c.suppressHydrationWarning===!0||Ux(i.textContent,u)?(c.popover!=null&&(Ce("beforetoggle",i),Ce("toggle",i)),c.onScroll!=null&&Ce("scroll",i),c.onScrollEnd!=null&&Ce("scrollend",i),c.onClick!=null&&(i.onclick=kr),i=!0):i=!1,i||ya(r,!0)}function Ab(r){for(Kt=r.return;Kt;)switch(Kt.tag){case 5:case 31:case 13:Kn=!1;return;case 27:case 3:Kn=!0;return;default:Kt=Kt.return}}function hl(r){if(r!==Kt)return!1;if(!De)return Ab(r),De=!0,!1;var i=r.tag,u;if((u=i!==3&&i!==27)&&((u=i===5)&&(u=r.type,u=!(u!=="form"&&u!=="button")||qh(r.type,r.memoizedProps)),u=!u),u&&tt&&ya(r),Ab(r),i===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(a(317));tt=Zx(r)}else if(i===31){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(a(317));tt=Zx(r)}else i===27?(i=tt,Na(r.type)?(r=Yh,Yh=null,tt=r):tt=i):tt=Kt?Vn(r.stateNode.nextSibling):null;return!0}function ui(){tt=Kt=null,De=!1}function Av(){var r=pa;return r!==null&&(Sn===null?Sn=r:Sn.push.apply(Sn,r),pa=null),r}function Nu(r){pa===null?pa=[r]:pa.push(r)}var Ev=k(null),oi=null,Lr=null;function ga(r,i,u){ae(Ev,i._currentValue),i._currentValue=u}function Br(r){r._currentValue=Ev.current,K(Ev)}function _v(r,i,u){for(;r!==null;){var c=r.alternate;if((r.childLanes&i)!==i?(r.childLanes|=i,c!==null&&(c.childLanes|=i)):c!==null&&(c.childLanes&i)!==i&&(c.childLanes|=i),r===u)break;r=r.return}}function Tv(r,i,u,c){var h=r.child;for(h!==null&&(h.return=r);h!==null;){var p=h.dependencies;if(p!==null){var S=h.child;p=p.firstContext;e:for(;p!==null;){var _=p;p=h;for(var P=0;P<i.length;P++)if(_.context===i[P]){p.lanes|=u,_=p.alternate,_!==null&&(_.lanes|=u),_v(p.return,u,r),c||(S=null);break e}p=_.next}}else if(h.tag===18){if(S=h.return,S===null)throw Error(a(341));S.lanes|=u,p=S.alternate,p!==null&&(p.lanes|=u),_v(S,u,r),S=null}else S=h.child;if(S!==null)S.return=h;else for(S=h;S!==null;){if(S===r){S=null;break}if(h=S.sibling,h!==null){h.return=S.return,S=h;break}S=S.return}h=S}}function ml(r,i,u,c){r=null;for(var h=i,p=!1;h!==null;){if(!p){if((h.flags&524288)!==0)p=!0;else if((h.flags&262144)!==0)break}if(h.tag===10){var S=h.alternate;if(S===null)throw Error(a(387));if(S=S.memoizedProps,S!==null){var _=h.type;_n(h.pendingProps.value,S.value)||(r!==null?r.push(_):r=[_])}}else if(h===te.current){if(S=h.alternate,S===null)throw Error(a(387));S.memoizedState.memoizedState!==h.memoizedState.memoizedState&&(r!==null?r.push(ao):r=[ao])}h=h.return}r!==null&&Tv(i,r,u,c),i.flags|=262144}function Dc(r){for(r=r.firstContext;r!==null;){if(!_n(r.context._currentValue,r.memoizedValue))return!0;r=r.next}return!1}function ci(r){oi=r,Lr=null,r=r.dependencies,r!==null&&(r.firstContext=null)}function Yt(r){return Eb(oi,r)}function kc(r,i){return oi===null&&ci(r),Eb(r,i)}function Eb(r,i){var u=i._currentValue;if(i={context:i,memoizedValue:u,next:null},Lr===null){if(r===null)throw Error(a(308));Lr=i,r.dependencies={lanes:0,firstContext:i},r.flags|=524288}else Lr=Lr.next=i;return u}var VN=typeof AbortController<"u"?AbortController:function(){var r=[],i=this.signal={aborted:!1,addEventListener:function(u,c){r.push(c)}};this.abort=function(){i.aborted=!0,r.forEach(function(u){return u()})}},XN=e.unstable_scheduleCallback,ZN=e.unstable_NormalPriority,bt={$$typeof:M,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function jv(){return{controller:new VN,data:new Map,refCount:0}}function Pu(r){r.refCount--,r.refCount===0&&XN(ZN,function(){r.controller.abort()})}var Du=null,Mv=0,pl=0,yl=null;function FN(r,i){if(Du===null){var u=Du=[];Mv=0,pl=Ph(),yl={status:"pending",value:void 0,then:function(c){u.push(c)}}}return Mv++,i.then(_b,_b),i}function _b(){if(--Mv===0&&Du!==null){yl!==null&&(yl.status="fulfilled");var r=Du;Du=null,pl=0,yl=null;for(var i=0;i<r.length;i++)(0,r[i])()}}function WN(r,i){var u=[],c={status:"pending",value:null,reason:null,then:function(h){u.push(h)}};return r.then(function(){c.status="fulfilled",c.value=i;for(var h=0;h<u.length;h++)(0,u[h])(i)},function(h){for(c.status="rejected",c.reason=h,h=0;h<u.length;h++)(0,u[h])(void 0)}),c}var Tb=B.S;B.S=function(r,i){sx=vn(),typeof i=="object"&&i!==null&&typeof i.then=="function"&&FN(r,i),Tb!==null&&Tb(r,i)};var si=k(null);function Cv(){var r=si.current;return r!==null?r:Ze.pooledCache}function Rc(r,i){i===null?ae(si,si.current):ae(si,i.pool)}function jb(){var r=Cv();return r===null?null:{parent:bt._currentValue,pool:r}}var gl=Error(a(460)),Nv=Error(a(474)),zc=Error(a(542)),Ic={then:function(){}};function Mb(r){return r=r.status,r==="fulfilled"||r==="rejected"}function Cb(r,i,u){switch(u=r[u],u===void 0?r.push(i):u!==i&&(i.then(kr,kr),i=u),i.status){case"fulfilled":return i.value;case"rejected":throw r=i.reason,Pb(r),r;default:if(typeof i.status=="string")i.then(kr,kr);else{if(r=Ze,r!==null&&100<r.shellSuspendCounter)throw Error(a(482));r=i,r.status="pending",r.then(function(c){if(i.status==="pending"){var h=i;h.status="fulfilled",h.value=c}},function(c){if(i.status==="pending"){var h=i;h.status="rejected",h.reason=c}})}switch(i.status){case"fulfilled":return i.value;case"rejected":throw r=i.reason,Pb(r),r}throw di=i,gl}}function fi(r){try{var i=r._init;return i(r._payload)}catch(u){throw u!==null&&typeof u=="object"&&typeof u.then=="function"?(di=u,gl):u}}var di=null;function Nb(){if(di===null)throw Error(a(459));var r=di;return di=null,r}function Pb(r){if(r===gl||r===zc)throw Error(a(483))}var bl=null,ku=0;function Lc(r){var i=ku;return ku+=1,bl===null&&(bl=[]),Cb(bl,r,i)}function Ru(r,i){i=i.props.ref,r.ref=i!==void 0?i:null}function Bc(r,i){throw i.$$typeof===g?Error(a(525)):(r=Object.prototype.toString.call(i),Error(a(31,r==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":r)))}function Db(r){function i(I,R){if(r){var U=I.deletions;U===null?(I.deletions=[R],I.flags|=16):U.push(R)}}function u(I,R){if(!r)return null;for(;R!==null;)i(I,R),R=R.sibling;return null}function c(I){for(var R=new Map;I!==null;)I.key!==null?R.set(I.key,I):R.set(I.index,I),I=I.sibling;return R}function h(I,R){return I=zr(I,R),I.index=0,I.sibling=null,I}function p(I,R,U){return I.index=U,r?(U=I.alternate,U!==null?(U=U.index,U<R?(I.flags|=67108866,R):U):(I.flags|=67108866,R)):(I.flags|=1048576,R)}function S(I){return r&&I.alternate===null&&(I.flags|=67108866),I}function _(I,R,U,F){return R===null||R.tag!==6?(R=bv(U,I.mode,F),R.return=I,R):(R=h(R,U),R.return=I,R)}function P(I,R,U,F){var xe=U.type;return xe===O?X(I,R,U.props.children,F,U.key):R!==null&&(R.elementType===xe||typeof xe=="object"&&xe!==null&&xe.$$typeof===G&&fi(xe)===R.type)?(R=h(R,U.props),Ru(R,U),R.return=I,R):(R=Nc(U.type,U.key,U.props,null,I.mode,F),Ru(R,U),R.return=I,R)}function q(I,R,U,F){return R===null||R.tag!==4||R.stateNode.containerInfo!==U.containerInfo||R.stateNode.implementation!==U.implementation?(R=xv(U,I.mode,F),R.return=I,R):(R=h(R,U.children||[]),R.return=I,R)}function X(I,R,U,F,xe){return R===null||R.tag!==7?(R=li(U,I.mode,F,xe),R.return=I,R):(R=h(R,U),R.return=I,R)}function W(I,R,U){if(typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint")return R=bv(""+R,I.mode,U),R.return=I,R;if(typeof R=="object"&&R!==null){switch(R.$$typeof){case b:return U=Nc(R.type,R.key,R.props,null,I.mode,U),Ru(U,R),U.return=I,U;case w:return R=xv(R,I.mode,U),R.return=I,R;case G:return R=fi(R),W(I,R,U)}if(me(R)||$(R))return R=li(R,I.mode,U,null),R.return=I,R;if(typeof R.then=="function")return W(I,Lc(R),U);if(R.$$typeof===M)return W(I,kc(I,R),U);Bc(I,R)}return null}function H(I,R,U,F){var xe=R!==null?R.key:null;if(typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint")return xe!==null?null:_(I,R,""+U,F);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case b:return U.key===xe?P(I,R,U,F):null;case w:return U.key===xe?q(I,R,U,F):null;case G:return U=fi(U),H(I,R,U,F)}if(me(U)||$(U))return xe!==null?null:X(I,R,U,F,null);if(typeof U.then=="function")return H(I,R,Lc(U),F);if(U.$$typeof===M)return H(I,R,kc(I,U),F);Bc(I,U)}return null}function Y(I,R,U,F,xe){if(typeof F=="string"&&F!==""||typeof F=="number"||typeof F=="bigint")return I=I.get(U)||null,_(R,I,""+F,xe);if(typeof F=="object"&&F!==null){switch(F.$$typeof){case b:return I=I.get(F.key===null?U:F.key)||null,P(R,I,F,xe);case w:return I=I.get(F.key===null?U:F.key)||null,q(R,I,F,xe);case G:return F=fi(F),Y(I,R,U,F,xe)}if(me(F)||$(F))return I=I.get(U)||null,X(R,I,F,xe,null);if(typeof F.then=="function")return Y(I,R,U,Lc(F),xe);if(F.$$typeof===M)return Y(I,R,U,kc(R,F),xe);Bc(R,F)}return null}function de(I,R,U,F){for(var xe=null,Ie=null,pe=R,_e=R=0,Pe=null;pe!==null&&_e<U.length;_e++){pe.index>_e?(Pe=pe,pe=null):Pe=pe.sibling;var Le=H(I,pe,U[_e],F);if(Le===null){pe===null&&(pe=Pe);break}r&&pe&&Le.alternate===null&&i(I,pe),R=p(Le,R,_e),Ie===null?xe=Le:Ie.sibling=Le,Ie=Le,pe=Pe}if(_e===U.length)return u(I,pe),De&&Ir(I,_e),xe;if(pe===null){for(;_e<U.length;_e++)pe=W(I,U[_e],F),pe!==null&&(R=p(pe,R,_e),Ie===null?xe=pe:Ie.sibling=pe,Ie=pe);return De&&Ir(I,_e),xe}for(pe=c(pe);_e<U.length;_e++)Pe=Y(pe,I,_e,U[_e],F),Pe!==null&&(r&&Pe.alternate!==null&&pe.delete(Pe.key===null?_e:Pe.key),R=p(Pe,R,_e),Ie===null?xe=Pe:Ie.sibling=Pe,Ie=Pe);return r&&pe.forEach(function(za){return i(I,za)}),De&&Ir(I,_e),xe}function Se(I,R,U,F){if(U==null)throw Error(a(151));for(var xe=null,Ie=null,pe=R,_e=R=0,Pe=null,Le=U.next();pe!==null&&!Le.done;_e++,Le=U.next()){pe.index>_e?(Pe=pe,pe=null):Pe=pe.sibling;var za=H(I,pe,Le.value,F);if(za===null){pe===null&&(pe=Pe);break}r&&pe&&za.alternate===null&&i(I,pe),R=p(za,R,_e),Ie===null?xe=za:Ie.sibling=za,Ie=za,pe=Pe}if(Le.done)return u(I,pe),De&&Ir(I,_e),xe;if(pe===null){for(;!Le.done;_e++,Le=U.next())Le=W(I,Le.value,F),Le!==null&&(R=p(Le,R,_e),Ie===null?xe=Le:Ie.sibling=Le,Ie=Le);return De&&Ir(I,_e),xe}for(pe=c(pe);!Le.done;_e++,Le=U.next())Le=Y(pe,I,_e,Le.value,F),Le!==null&&(r&&Le.alternate!==null&&pe.delete(Le.key===null?_e:Le.key),R=p(Le,R,_e),Ie===null?xe=Le:Ie.sibling=Le,Ie=Le);return r&&pe.forEach(function(oD){return i(I,oD)}),De&&Ir(I,_e),xe}function Ye(I,R,U,F){if(typeof U=="object"&&U!==null&&U.type===O&&U.key===null&&(U=U.props.children),typeof U=="object"&&U!==null){switch(U.$$typeof){case b:e:{for(var xe=U.key;R!==null;){if(R.key===xe){if(xe=U.type,xe===O){if(R.tag===7){u(I,R.sibling),F=h(R,U.props.children),F.return=I,I=F;break e}}else if(R.elementType===xe||typeof xe=="object"&&xe!==null&&xe.$$typeof===G&&fi(xe)===R.type){u(I,R.sibling),F=h(R,U.props),Ru(F,U),F.return=I,I=F;break e}u(I,R);break}else i(I,R);R=R.sibling}U.type===O?(F=li(U.props.children,I.mode,F,U.key),F.return=I,I=F):(F=Nc(U.type,U.key,U.props,null,I.mode,F),Ru(F,U),F.return=I,I=F)}return S(I);case w:e:{for(xe=U.key;R!==null;){if(R.key===xe)if(R.tag===4&&R.stateNode.containerInfo===U.containerInfo&&R.stateNode.implementation===U.implementation){u(I,R.sibling),F=h(R,U.children||[]),F.return=I,I=F;break e}else{u(I,R);break}else i(I,R);R=R.sibling}F=xv(U,I.mode,F),F.return=I,I=F}return S(I);case G:return U=fi(U),Ye(I,R,U,F)}if(me(U))return de(I,R,U,F);if($(U)){if(xe=$(U),typeof xe!="function")throw Error(a(150));return U=xe.call(U),Se(I,R,U,F)}if(typeof U.then=="function")return Ye(I,R,Lc(U),F);if(U.$$typeof===M)return Ye(I,R,kc(I,U),F);Bc(I,U)}return typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint"?(U=""+U,R!==null&&R.tag===6?(u(I,R.sibling),F=h(R,U),F.return=I,I=F):(u(I,R),F=bv(U,I.mode,F),F.return=I,I=F),S(I)):u(I,R)}return function(I,R,U,F){try{ku=0;var xe=Ye(I,R,U,F);return bl=null,xe}catch(pe){if(pe===gl||pe===zc)throw pe;var Ie=Tn(29,pe,null,I.mode);return Ie.lanes=F,Ie.return=I,Ie}finally{}}}var vi=Db(!0),kb=Db(!1),ba=!1;function Pv(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Dv(r,i){r=r.updateQueue,i.updateQueue===r&&(i.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,callbacks:null})}function xa(r){return{lane:r,tag:0,payload:null,callback:null,next:null}}function Sa(r,i,u){var c=r.updateQueue;if(c===null)return null;if(c=c.shared,(Ue&2)!==0){var h=c.pending;return h===null?i.next=i:(i.next=h.next,h.next=i),c.pending=i,i=Cc(r),yb(r,null,u),i}return Mc(r,c,i,u),Cc(r)}function zu(r,i,u){if(i=i.updateQueue,i!==null&&(i=i.shared,(u&4194048)!==0)){var c=i.lanes;c&=r.pendingLanes,u|=c,i.lanes=u,Fi(r,u)}}function kv(r,i){var u=r.updateQueue,c=r.alternate;if(c!==null&&(c=c.updateQueue,u===c)){var h=null,p=null;if(u=u.firstBaseUpdate,u!==null){do{var S={lane:u.lane,tag:u.tag,payload:u.payload,callback:null,next:null};p===null?h=p=S:p=p.next=S,u=u.next}while(u!==null);p===null?h=p=i:p=p.next=i}else h=p=i;u={baseState:c.baseState,firstBaseUpdate:h,lastBaseUpdate:p,shared:c.shared,callbacks:c.callbacks},r.updateQueue=u;return}r=u.lastBaseUpdate,r===null?u.firstBaseUpdate=i:r.next=i,u.lastBaseUpdate=i}var Rv=!1;function Iu(){if(Rv){var r=yl;if(r!==null)throw r}}function Lu(r,i,u,c){Rv=!1;var h=r.updateQueue;ba=!1;var p=h.firstBaseUpdate,S=h.lastBaseUpdate,_=h.shared.pending;if(_!==null){h.shared.pending=null;var P=_,q=P.next;P.next=null,S===null?p=q:S.next=q,S=P;var X=r.alternate;X!==null&&(X=X.updateQueue,_=X.lastBaseUpdate,_!==S&&(_===null?X.firstBaseUpdate=q:_.next=q,X.lastBaseUpdate=P))}if(p!==null){var W=h.baseState;S=0,X=q=P=null,_=p;do{var H=_.lane&-536870913,Y=H!==_.lane;if(Y?(Ne&H)===H:(c&H)===H){H!==0&&H===pl&&(Rv=!0),X!==null&&(X=X.next={lane:0,tag:_.tag,payload:_.payload,callback:null,next:null});e:{var de=r,Se=_;H=i;var Ye=u;switch(Se.tag){case 1:if(de=Se.payload,typeof de=="function"){W=de.call(Ye,W,H);break e}W=de;break e;case 3:de.flags=de.flags&-65537|128;case 0:if(de=Se.payload,H=typeof de=="function"?de.call(Ye,W,H):de,H==null)break e;W=y({},W,H);break e;case 2:ba=!0}}H=_.callback,H!==null&&(r.flags|=64,Y&&(r.flags|=8192),Y=h.callbacks,Y===null?h.callbacks=[H]:Y.push(H))}else Y={lane:H,tag:_.tag,payload:_.payload,callback:_.callback,next:null},X===null?(q=X=Y,P=W):X=X.next=Y,S|=H;if(_=_.next,_===null){if(_=h.shared.pending,_===null)break;Y=_,_=Y.next,Y.next=null,h.lastBaseUpdate=Y,h.shared.pending=null}}while(!0);X===null&&(P=W),h.baseState=P,h.firstBaseUpdate=q,h.lastBaseUpdate=X,p===null&&(h.shared.lanes=0),_a|=S,r.lanes=S,r.memoizedState=W}}function Rb(r,i){if(typeof r!="function")throw Error(a(191,r));r.call(i)}function zb(r,i){var u=r.callbacks;if(u!==null)for(r.callbacks=null,r=0;r<u.length;r++)Rb(u[r],i)}var xl=k(null),Uc=k(0);function Ib(r,i){r=Xr,ae(Uc,r),ae(xl,i),Xr=r|i.baseLanes}function zv(){ae(Uc,Xr),ae(xl,xl.current)}function Iv(){Xr=Uc.current,K(xl),K(Uc)}var jn=k(null),Yn=null;function Oa(r){var i=r.alternate;ae(yt,yt.current&1),ae(jn,r),Yn===null&&(i===null||xl.current!==null||i.memoizedState!==null)&&(Yn=r)}function Lv(r){ae(yt,yt.current),ae(jn,r),Yn===null&&(Yn=r)}function Lb(r){r.tag===22?(ae(yt,yt.current),ae(jn,r),Yn===null&&(Yn=r)):wa()}function wa(){ae(yt,yt.current),ae(jn,jn.current)}function Mn(r){K(jn),Yn===r&&(Yn=null),K(yt)}var yt=k(0);function qc(r){for(var i=r;i!==null;){if(i.tag===13){var u=i.memoizedState;if(u!==null&&(u=u.dehydrated,u===null||$h(u)||Kh(u)))return i}else if(i.tag===19&&(i.memoizedProps.revealOrder==="forwards"||i.memoizedProps.revealOrder==="backwards"||i.memoizedProps.revealOrder==="unstable_legacy-backwards"||i.memoizedProps.revealOrder==="together")){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===r)break;for(;i.sibling===null;){if(i.return===null||i.return===r)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var Ur=0,Ee=null,$e=null,xt=null,Hc=!1,Sl=!1,hi=!1,Gc=0,Bu=0,Ol=null,QN=0;function ft(){throw Error(a(321))}function Bv(r,i){if(i===null)return!1;for(var u=0;u<i.length&&u<r.length;u++)if(!_n(r[u],i[u]))return!1;return!0}function Uv(r,i,u,c,h,p){return Ur=p,Ee=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,B.H=r===null||r.memoizedState===null?S1:th,hi=!1,p=u(c,h),hi=!1,Sl&&(p=Ub(i,u,c,h)),Bb(r),p}function Bb(r){B.H=Hu;var i=$e!==null&&$e.next!==null;if(Ur=0,xt=$e=Ee=null,Hc=!1,Bu=0,Ol=null,i)throw Error(a(300));r===null||St||(r=r.dependencies,r!==null&&Dc(r)&&(St=!0))}function Ub(r,i,u,c){Ee=r;var h=0;do{if(Sl&&(Ol=null),Bu=0,Sl=!1,25<=h)throw Error(a(301));if(h+=1,xt=$e=null,r.updateQueue!=null){var p=r.updateQueue;p.lastEffect=null,p.events=null,p.stores=null,p.memoCache!=null&&(p.memoCache.index=0)}B.H=O1,p=i(u,c)}while(Sl);return p}function JN(){var r=B.H,i=r.useState()[0];return i=typeof i.then=="function"?Uu(i):i,r=r.useState()[0],($e!==null?$e.memoizedState:null)!==r&&(Ee.flags|=1024),i}function qv(){var r=Gc!==0;return Gc=0,r}function Hv(r,i,u){i.updateQueue=r.updateQueue,i.flags&=-2053,r.lanes&=~u}function Gv(r){if(Hc){for(r=r.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}Hc=!1}Ur=0,xt=$e=Ee=null,Sl=!1,Bu=Gc=0,Ol=null}function cn(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return xt===null?Ee.memoizedState=xt=r:xt=xt.next=r,xt}function gt(){if($e===null){var r=Ee.alternate;r=r!==null?r.memoizedState:null}else r=$e.next;var i=xt===null?Ee.memoizedState:xt.next;if(i!==null)xt=i,$e=r;else{if(r===null)throw Ee.alternate===null?Error(a(467)):Error(a(310));$e=r,r={memoizedState:$e.memoizedState,baseState:$e.baseState,baseQueue:$e.baseQueue,queue:$e.queue,next:null},xt===null?Ee.memoizedState=xt=r:xt=xt.next=r}return xt}function $c(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Uu(r){var i=Bu;return Bu+=1,Ol===null&&(Ol=[]),r=Cb(Ol,r,i),i=Ee,(xt===null?i.memoizedState:xt.next)===null&&(i=i.alternate,B.H=i===null||i.memoizedState===null?S1:th),r}function Kc(r){if(r!==null&&typeof r=="object"){if(typeof r.then=="function")return Uu(r);if(r.$$typeof===M)return Yt(r)}throw Error(a(438,String(r)))}function $v(r){var i=null,u=Ee.updateQueue;if(u!==null&&(i=u.memoCache),i==null){var c=Ee.alternate;c!==null&&(c=c.updateQueue,c!==null&&(c=c.memoCache,c!=null&&(i={data:c.data.map(function(h){return h.slice()}),index:0})))}if(i==null&&(i={data:[],index:0}),u===null&&(u=$c(),Ee.updateQueue=u),u.memoCache=i,u=i.data[i.index],u===void 0)for(u=i.data[i.index]=Array(r),c=0;c<r;c++)u[c]=Q;return i.index++,u}function qr(r,i){return typeof i=="function"?i(r):i}function Yc(r){var i=gt();return Kv(i,$e,r)}function Kv(r,i,u){var c=r.queue;if(c===null)throw Error(a(311));c.lastRenderedReducer=u;var h=r.baseQueue,p=c.pending;if(p!==null){if(h!==null){var S=h.next;h.next=p.next,p.next=S}i.baseQueue=h=p,c.pending=null}if(p=r.baseState,h===null)r.memoizedState=p;else{i=h.next;var _=S=null,P=null,q=i,X=!1;do{var W=q.lane&-536870913;if(W!==q.lane?(Ne&W)===W:(Ur&W)===W){var H=q.revertLane;if(H===0)P!==null&&(P=P.next={lane:0,revertLane:0,gesture:null,action:q.action,hasEagerState:q.hasEagerState,eagerState:q.eagerState,next:null}),W===pl&&(X=!0);else if((Ur&H)===H){q=q.next,H===pl&&(X=!0);continue}else W={lane:0,revertLane:q.revertLane,gesture:null,action:q.action,hasEagerState:q.hasEagerState,eagerState:q.eagerState,next:null},P===null?(_=P=W,S=p):P=P.next=W,Ee.lanes|=H,_a|=H;W=q.action,hi&&u(p,W),p=q.hasEagerState?q.eagerState:u(p,W)}else H={lane:W,revertLane:q.revertLane,gesture:q.gesture,action:q.action,hasEagerState:q.hasEagerState,eagerState:q.eagerState,next:null},P===null?(_=P=H,S=p):P=P.next=H,Ee.lanes|=W,_a|=W;q=q.next}while(q!==null&&q!==i);if(P===null?S=p:P.next=_,!_n(p,r.memoizedState)&&(St=!0,X&&(u=yl,u!==null)))throw u;r.memoizedState=p,r.baseState=S,r.baseQueue=P,c.lastRenderedState=p}return h===null&&(c.lanes=0),[r.memoizedState,c.dispatch]}function Yv(r){var i=gt(),u=i.queue;if(u===null)throw Error(a(311));u.lastRenderedReducer=r;var c=u.dispatch,h=u.pending,p=i.memoizedState;if(h!==null){u.pending=null;var S=h=h.next;do p=r(p,S.action),S=S.next;while(S!==h);_n(p,i.memoizedState)||(St=!0),i.memoizedState=p,i.baseQueue===null&&(i.baseState=p),u.lastRenderedState=p}return[p,c]}function qb(r,i,u){var c=Ee,h=gt(),p=De;if(p){if(u===void 0)throw Error(a(407));u=u()}else u=i();var S=!_n(($e||h).memoizedState,u);if(S&&(h.memoizedState=u,St=!0),h=h.queue,Zv($b.bind(null,c,h,r),[r]),h.getSnapshot!==i||S||xt!==null&&xt.memoizedState.tag&1){if(c.flags|=2048,wl(9,{destroy:void 0},Gb.bind(null,c,h,u,i),null),Ze===null)throw Error(a(349));p||(Ur&127)!==0||Hb(c,i,u)}return u}function Hb(r,i,u){r.flags|=16384,r={getSnapshot:i,value:u},i=Ee.updateQueue,i===null?(i=$c(),Ee.updateQueue=i,i.stores=[r]):(u=i.stores,u===null?i.stores=[r]:u.push(r))}function Gb(r,i,u,c){i.value=u,i.getSnapshot=c,Kb(i)&&Yb(r)}function $b(r,i,u){return u(function(){Kb(i)&&Yb(r)})}function Kb(r){var i=r.getSnapshot;r=r.value;try{var u=i();return!_n(r,u)}catch{return!0}}function Yb(r){var i=ii(r,2);i!==null&&On(i,r,2)}function Vv(r){var i=cn();if(typeof r=="function"){var u=r;if(r=u(),hi){mr(!0);try{u()}finally{mr(!1)}}}return i.memoizedState=i.baseState=r,i.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:qr,lastRenderedState:r},i}function Vb(r,i,u,c){return r.baseState=u,Kv(r,$e,typeof c=="function"?c:qr)}function eP(r,i,u,c,h){if(Zc(r))throw Error(a(485));if(r=i.action,r!==null){var p={payload:h,action:r,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(S){p.listeners.push(S)}};B.T!==null?u(!0):p.isTransition=!1,c(p),u=i.pending,u===null?(p.next=i.pending=p,Xb(i,p)):(p.next=u.next,i.pending=u.next=p)}}function Xb(r,i){var u=i.action,c=i.payload,h=r.state;if(i.isTransition){var p=B.T,S={};B.T=S;try{var _=u(h,c),P=B.S;P!==null&&P(S,_),Zb(r,i,_)}catch(q){Xv(r,i,q)}finally{p!==null&&S.types!==null&&(p.types=S.types),B.T=p}}else try{p=u(h,c),Zb(r,i,p)}catch(q){Xv(r,i,q)}}function Zb(r,i,u){u!==null&&typeof u=="object"&&typeof u.then=="function"?u.then(function(c){Fb(r,i,c)},function(c){return Xv(r,i,c)}):Fb(r,i,u)}function Fb(r,i,u){i.status="fulfilled",i.value=u,Wb(i),r.state=u,i=r.pending,i!==null&&(u=i.next,u===i?r.pending=null:(u=u.next,i.next=u,Xb(r,u)))}function Xv(r,i,u){var c=r.pending;if(r.pending=null,c!==null){c=c.next;do i.status="rejected",i.reason=u,Wb(i),i=i.next;while(i!==c)}r.action=null}function Wb(r){r=r.listeners;for(var i=0;i<r.length;i++)(0,r[i])()}function Qb(r,i){return i}function Jb(r,i){if(De){var u=Ze.formState;if(u!==null){e:{var c=Ee;if(De){if(tt){t:{for(var h=tt,p=Kn;h.nodeType!==8;){if(!p){h=null;break t}if(h=Vn(h.nextSibling),h===null){h=null;break t}}p=h.data,h=p==="F!"||p==="F"?h:null}if(h){tt=Vn(h.nextSibling),c=h.data==="F!";break e}}ya(c)}c=!1}c&&(i=u[0])}}return u=cn(),u.memoizedState=u.baseState=i,c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Qb,lastRenderedState:i},u.queue=c,u=g1.bind(null,Ee,c),c.dispatch=u,c=Vv(!1),p=eh.bind(null,Ee,!1,c.queue),c=cn(),h={state:i,dispatch:null,action:r,pending:null},c.queue=h,u=eP.bind(null,Ee,h,p,u),h.dispatch=u,c.memoizedState=r,[i,u,!1]}function e1(r){var i=gt();return t1(i,$e,r)}function t1(r,i,u){if(i=Kv(r,i,Qb)[0],r=Yc(qr)[0],typeof i=="object"&&i!==null&&typeof i.then=="function")try{var c=Uu(i)}catch(S){throw S===gl?zc:S}else c=i;i=gt();var h=i.queue,p=h.dispatch;return u!==i.memoizedState&&(Ee.flags|=2048,wl(9,{destroy:void 0},tP.bind(null,h,u),null)),[c,p,r]}function tP(r,i){r.action=i}function n1(r){var i=gt(),u=$e;if(u!==null)return t1(i,u,r);gt(),i=i.memoizedState,u=gt();var c=u.queue.dispatch;return u.memoizedState=r,[i,c,!1]}function wl(r,i,u,c){return r={tag:r,create:u,deps:c,inst:i,next:null},i=Ee.updateQueue,i===null&&(i=$c(),Ee.updateQueue=i),u=i.lastEffect,u===null?i.lastEffect=r.next=r:(c=u.next,u.next=r,r.next=c,i.lastEffect=r),r}function r1(){return gt().memoizedState}function Vc(r,i,u,c){var h=cn();Ee.flags|=r,h.memoizedState=wl(1|i,{destroy:void 0},u,c===void 0?null:c)}function Xc(r,i,u,c){var h=gt();c=c===void 0?null:c;var p=h.memoizedState.inst;$e!==null&&c!==null&&Bv(c,$e.memoizedState.deps)?h.memoizedState=wl(i,p,u,c):(Ee.flags|=r,h.memoizedState=wl(1|i,p,u,c))}function a1(r,i){Vc(8390656,8,r,i)}function Zv(r,i){Xc(2048,8,r,i)}function nP(r){Ee.flags|=4;var i=Ee.updateQueue;if(i===null)i=$c(),Ee.updateQueue=i,i.events=[r];else{var u=i.events;u===null?i.events=[r]:u.push(r)}}function i1(r){var i=gt().memoizedState;return nP({ref:i,nextImpl:r}),function(){if((Ue&2)!==0)throw Error(a(440));return i.impl.apply(void 0,arguments)}}function l1(r,i){return Xc(4,2,r,i)}function u1(r,i){return Xc(4,4,r,i)}function o1(r,i){if(typeof i=="function"){r=r();var u=i(r);return function(){typeof u=="function"?u():i(null)}}if(i!=null)return r=r(),i.current=r,function(){i.current=null}}function c1(r,i,u){u=u!=null?u.concat([r]):null,Xc(4,4,o1.bind(null,i,r),u)}function Fv(){}function s1(r,i){var u=gt();i=i===void 0?null:i;var c=u.memoizedState;return i!==null&&Bv(i,c[1])?c[0]:(u.memoizedState=[r,i],r)}function f1(r,i){var u=gt();i=i===void 0?null:i;var c=u.memoizedState;if(i!==null&&Bv(i,c[1]))return c[0];if(c=r(),hi){mr(!0);try{r()}finally{mr(!1)}}return u.memoizedState=[c,i],c}function Wv(r,i,u){return u===void 0||(Ur&1073741824)!==0&&(Ne&261930)===0?r.memoizedState=i:(r.memoizedState=u,r=dx(),Ee.lanes|=r,_a|=r,u)}function d1(r,i,u,c){return _n(u,i)?u:xl.current!==null?(r=Wv(r,u,c),_n(r,i)||(St=!0),r):(Ur&42)===0||(Ur&1073741824)!==0&&(Ne&261930)===0?(St=!0,r.memoizedState=u):(r=dx(),Ee.lanes|=r,_a|=r,i)}function v1(r,i,u,c,h){var p=Z.p;Z.p=p!==0&&8>p?p:8;var S=B.T,_={};B.T=_,eh(r,!1,i,u);try{var P=h(),q=B.S;if(q!==null&&q(_,P),P!==null&&typeof P=="object"&&typeof P.then=="function"){var X=WN(P,c);qu(r,i,X,Pn(r))}else qu(r,i,c,Pn(r))}catch(W){qu(r,i,{then:function(){},status:"rejected",reason:W},Pn())}finally{Z.p=p,S!==null&&_.types!==null&&(S.types=_.types),B.T=S}}function rP(){}function Qv(r,i,u,c){if(r.tag!==5)throw Error(a(476));var h=h1(r).queue;v1(r,h,i,ie,u===null?rP:function(){return m1(r),u(c)})}function h1(r){var i=r.memoizedState;if(i!==null)return i;i={memoizedState:ie,baseState:ie,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:qr,lastRenderedState:ie},next:null};var u={};return i.next={memoizedState:u,baseState:u,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:qr,lastRenderedState:u},next:null},r.memoizedState=i,r=r.alternate,r!==null&&(r.memoizedState=i),i}function m1(r){var i=h1(r);i.next===null&&(i=r.alternate.memoizedState),qu(r,i.next.queue,{},Pn())}function Jv(){return Yt(ao)}function p1(){return gt().memoizedState}function y1(){return gt().memoizedState}function aP(r){for(var i=r.return;i!==null;){switch(i.tag){case 24:case 3:var u=Pn();r=xa(u);var c=Sa(i,r,u);c!==null&&(On(c,i,u),zu(c,i,u)),i={cache:jv()},r.payload=i;return}i=i.return}}function iP(r,i,u){var c=Pn();u={lane:c,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},Zc(r)?b1(i,u):(u=yv(r,i,u,c),u!==null&&(On(u,r,c),x1(u,i,c)))}function g1(r,i,u){var c=Pn();qu(r,i,u,c)}function qu(r,i,u,c){var h={lane:c,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null};if(Zc(r))b1(i,h);else{var p=r.alternate;if(r.lanes===0&&(p===null||p.lanes===0)&&(p=i.lastRenderedReducer,p!==null))try{var S=i.lastRenderedState,_=p(S,u);if(h.hasEagerState=!0,h.eagerState=_,_n(_,S))return Mc(r,i,h,0),Ze===null&&jc(),!1}catch{}finally{}if(u=yv(r,i,h,c),u!==null)return On(u,r,c),x1(u,i,c),!0}return!1}function eh(r,i,u,c){if(c={lane:2,revertLane:Ph(),gesture:null,action:c,hasEagerState:!1,eagerState:null,next:null},Zc(r)){if(i)throw Error(a(479))}else i=yv(r,u,c,2),i!==null&&On(i,r,2)}function Zc(r){var i=r.alternate;return r===Ee||i!==null&&i===Ee}function b1(r,i){Sl=Hc=!0;var u=r.pending;u===null?i.next=i:(i.next=u.next,u.next=i),r.pending=i}function x1(r,i,u){if((u&4194048)!==0){var c=i.lanes;c&=r.pendingLanes,u|=c,i.lanes=u,Fi(r,u)}}var Hu={readContext:Yt,use:Kc,useCallback:ft,useContext:ft,useEffect:ft,useImperativeHandle:ft,useLayoutEffect:ft,useInsertionEffect:ft,useMemo:ft,useReducer:ft,useRef:ft,useState:ft,useDebugValue:ft,useDeferredValue:ft,useTransition:ft,useSyncExternalStore:ft,useId:ft,useHostTransitionStatus:ft,useFormState:ft,useActionState:ft,useOptimistic:ft,useMemoCache:ft,useCacheRefresh:ft};Hu.useEffectEvent=ft;var S1={readContext:Yt,use:Kc,useCallback:function(r,i){return cn().memoizedState=[r,i===void 0?null:i],r},useContext:Yt,useEffect:a1,useImperativeHandle:function(r,i,u){u=u!=null?u.concat([r]):null,Vc(4194308,4,o1.bind(null,i,r),u)},useLayoutEffect:function(r,i){return Vc(4194308,4,r,i)},useInsertionEffect:function(r,i){Vc(4,2,r,i)},useMemo:function(r,i){var u=cn();i=i===void 0?null:i;var c=r();if(hi){mr(!0);try{r()}finally{mr(!1)}}return u.memoizedState=[c,i],c},useReducer:function(r,i,u){var c=cn();if(u!==void 0){var h=u(i);if(hi){mr(!0);try{u(i)}finally{mr(!1)}}}else h=i;return c.memoizedState=c.baseState=h,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:h},c.queue=r,r=r.dispatch=iP.bind(null,Ee,r),[c.memoizedState,r]},useRef:function(r){var i=cn();return r={current:r},i.memoizedState=r},useState:function(r){r=Vv(r);var i=r.queue,u=g1.bind(null,Ee,i);return i.dispatch=u,[r.memoizedState,u]},useDebugValue:Fv,useDeferredValue:function(r,i){var u=cn();return Wv(u,r,i)},useTransition:function(){var r=Vv(!1);return r=v1.bind(null,Ee,r.queue,!0,!1),cn().memoizedState=r,[!1,r]},useSyncExternalStore:function(r,i,u){var c=Ee,h=cn();if(De){if(u===void 0)throw Error(a(407));u=u()}else{if(u=i(),Ze===null)throw Error(a(349));(Ne&127)!==0||Hb(c,i,u)}h.memoizedState=u;var p={value:u,getSnapshot:i};return h.queue=p,a1($b.bind(null,c,p,r),[r]),c.flags|=2048,wl(9,{destroy:void 0},Gb.bind(null,c,p,u,i),null),u},useId:function(){var r=cn(),i=Ze.identifierPrefix;if(De){var u=gr,c=yr;u=(c&~(1<<32-un(c)-1)).toString(32)+u,i="_"+i+"R_"+u,u=Gc++,0<u&&(i+="H"+u.toString(32)),i+="_"}else u=QN++,i="_"+i+"r_"+u.toString(32)+"_";return r.memoizedState=i},useHostTransitionStatus:Jv,useFormState:Jb,useActionState:Jb,useOptimistic:function(r){var i=cn();i.memoizedState=i.baseState=r;var u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return i.queue=u,i=eh.bind(null,Ee,!0,u),u.dispatch=i,[r,i]},useMemoCache:$v,useCacheRefresh:function(){return cn().memoizedState=aP.bind(null,Ee)},useEffectEvent:function(r){var i=cn(),u={impl:r};return i.memoizedState=u,function(){if((Ue&2)!==0)throw Error(a(440));return u.impl.apply(void 0,arguments)}}},th={readContext:Yt,use:Kc,useCallback:s1,useContext:Yt,useEffect:Zv,useImperativeHandle:c1,useInsertionEffect:l1,useLayoutEffect:u1,useMemo:f1,useReducer:Yc,useRef:r1,useState:function(){return Yc(qr)},useDebugValue:Fv,useDeferredValue:function(r,i){var u=gt();return d1(u,$e.memoizedState,r,i)},useTransition:function(){var r=Yc(qr)[0],i=gt().memoizedState;return[typeof r=="boolean"?r:Uu(r),i]},useSyncExternalStore:qb,useId:p1,useHostTransitionStatus:Jv,useFormState:e1,useActionState:e1,useOptimistic:function(r,i){var u=gt();return Vb(u,$e,r,i)},useMemoCache:$v,useCacheRefresh:y1};th.useEffectEvent=i1;var O1={readContext:Yt,use:Kc,useCallback:s1,useContext:Yt,useEffect:Zv,useImperativeHandle:c1,useInsertionEffect:l1,useLayoutEffect:u1,useMemo:f1,useReducer:Yv,useRef:r1,useState:function(){return Yv(qr)},useDebugValue:Fv,useDeferredValue:function(r,i){var u=gt();return $e===null?Wv(u,r,i):d1(u,$e.memoizedState,r,i)},useTransition:function(){var r=Yv(qr)[0],i=gt().memoizedState;return[typeof r=="boolean"?r:Uu(r),i]},useSyncExternalStore:qb,useId:p1,useHostTransitionStatus:Jv,useFormState:n1,useActionState:n1,useOptimistic:function(r,i){var u=gt();return $e!==null?Vb(u,$e,r,i):(u.baseState=r,[r,u.queue.dispatch])},useMemoCache:$v,useCacheRefresh:y1};O1.useEffectEvent=i1;function nh(r,i,u,c){i=r.memoizedState,u=u(c,i),u=u==null?i:y({},i,u),r.memoizedState=u,r.lanes===0&&(r.updateQueue.baseState=u)}var rh={enqueueSetState:function(r,i,u){r=r._reactInternals;var c=Pn(),h=xa(c);h.payload=i,u!=null&&(h.callback=u),i=Sa(r,h,c),i!==null&&(On(i,r,c),zu(i,r,c))},enqueueReplaceState:function(r,i,u){r=r._reactInternals;var c=Pn(),h=xa(c);h.tag=1,h.payload=i,u!=null&&(h.callback=u),i=Sa(r,h,c),i!==null&&(On(i,r,c),zu(i,r,c))},enqueueForceUpdate:function(r,i){r=r._reactInternals;var u=Pn(),c=xa(u);c.tag=2,i!=null&&(c.callback=i),i=Sa(r,c,u),i!==null&&(On(i,r,u),zu(i,r,u))}};function w1(r,i,u,c,h,p,S){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(c,p,S):i.prototype&&i.prototype.isPureReactComponent?!ju(u,c)||!ju(h,p):!0}function A1(r,i,u,c){r=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(u,c),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(u,c),i.state!==r&&rh.enqueueReplaceState(i,i.state,null)}function mi(r,i){var u=i;if("ref"in i){u={};for(var c in i)c!=="ref"&&(u[c]=i[c])}if(r=r.defaultProps){u===i&&(u=y({},u));for(var h in r)u[h]===void 0&&(u[h]=r[h])}return u}function E1(r){Tc(r)}function _1(r){console.error(r)}function T1(r){Tc(r)}function Fc(r,i){try{var u=r.onUncaughtError;u(i.value,{componentStack:i.stack})}catch(c){setTimeout(function(){throw c})}}function j1(r,i,u){try{var c=r.onCaughtError;c(u.value,{componentStack:u.stack,errorBoundary:i.tag===1?i.stateNode:null})}catch(h){setTimeout(function(){throw h})}}function ah(r,i,u){return u=xa(u),u.tag=3,u.payload={element:null},u.callback=function(){Fc(r,i)},u}function M1(r){return r=xa(r),r.tag=3,r}function C1(r,i,u,c){var h=u.type.getDerivedStateFromError;if(typeof h=="function"){var p=c.value;r.payload=function(){return h(p)},r.callback=function(){j1(i,u,c)}}var S=u.stateNode;S!==null&&typeof S.componentDidCatch=="function"&&(r.callback=function(){j1(i,u,c),typeof h!="function"&&(Ta===null?Ta=new Set([this]):Ta.add(this));var _=c.stack;this.componentDidCatch(c.value,{componentStack:_!==null?_:""})})}function lP(r,i,u,c,h){if(u.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){if(i=u.alternate,i!==null&&ml(i,u,h,!0),u=jn.current,u!==null){switch(u.tag){case 31:case 13:return Yn===null?os():u.alternate===null&&dt===0&&(dt=3),u.flags&=-257,u.flags|=65536,u.lanes=h,c===Ic?u.flags|=16384:(i=u.updateQueue,i===null?u.updateQueue=new Set([c]):i.add(c),Mh(r,c,h)),!1;case 22:return u.flags|=65536,c===Ic?u.flags|=16384:(i=u.updateQueue,i===null?(i={transitions:null,markerInstances:null,retryQueue:new Set([c])},u.updateQueue=i):(u=i.retryQueue,u===null?i.retryQueue=new Set([c]):u.add(c)),Mh(r,c,h)),!1}throw Error(a(435,u.tag))}return Mh(r,c,h),os(),!1}if(De)return i=jn.current,i!==null?((i.flags&65536)===0&&(i.flags|=256),i.flags|=65536,i.lanes=h,c!==wv&&(r=Error(a(422),{cause:c}),Nu(Hn(r,u)))):(c!==wv&&(i=Error(a(423),{cause:c}),Nu(Hn(i,u))),r=r.current.alternate,r.flags|=65536,h&=-h,r.lanes|=h,c=Hn(c,u),h=ah(r.stateNode,c,h),kv(r,h),dt!==4&&(dt=2)),!1;var p=Error(a(520),{cause:c});if(p=Hn(p,u),Fu===null?Fu=[p]:Fu.push(p),dt!==4&&(dt=2),i===null)return!0;c=Hn(c,u),u=i;do{switch(u.tag){case 3:return u.flags|=65536,r=h&-h,u.lanes|=r,r=ah(u.stateNode,c,r),kv(u,r),!1;case 1:if(i=u.type,p=u.stateNode,(u.flags&128)===0&&(typeof i.getDerivedStateFromError=="function"||p!==null&&typeof p.componentDidCatch=="function"&&(Ta===null||!Ta.has(p))))return u.flags|=65536,h&=-h,u.lanes|=h,h=M1(h),C1(h,r,u,c),kv(u,h),!1}u=u.return}while(u!==null);return!1}var ih=Error(a(461)),St=!1;function Vt(r,i,u,c){i.child=r===null?kb(i,null,u,c):vi(i,r.child,u,c)}function N1(r,i,u,c,h){u=u.render;var p=i.ref;if("ref"in c){var S={};for(var _ in c)_!=="ref"&&(S[_]=c[_])}else S=c;return ci(i),c=Uv(r,i,u,S,p,h),_=qv(),r!==null&&!St?(Hv(r,i,h),Hr(r,i,h)):(De&&_&&Sv(i),i.flags|=1,Vt(r,i,c,h),i.child)}function P1(r,i,u,c,h){if(r===null){var p=u.type;return typeof p=="function"&&!gv(p)&&p.defaultProps===void 0&&u.compare===null?(i.tag=15,i.type=p,D1(r,i,p,c,h)):(r=Nc(u.type,null,c,i,i.mode,h),r.ref=i.ref,r.return=i,i.child=r)}if(p=r.child,!vh(r,h)){var S=p.memoizedProps;if(u=u.compare,u=u!==null?u:ju,u(S,c)&&r.ref===i.ref)return Hr(r,i,h)}return i.flags|=1,r=zr(p,c),r.ref=i.ref,r.return=i,i.child=r}function D1(r,i,u,c,h){if(r!==null){var p=r.memoizedProps;if(ju(p,c)&&r.ref===i.ref)if(St=!1,i.pendingProps=c=p,vh(r,h))(r.flags&131072)!==0&&(St=!0);else return i.lanes=r.lanes,Hr(r,i,h)}return lh(r,i,u,c,h)}function k1(r,i,u,c){var h=c.children,p=r!==null?r.memoizedState:null;if(r===null&&i.stateNode===null&&(i.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),c.mode==="hidden"){if((i.flags&128)!==0){if(p=p!==null?p.baseLanes|u:u,r!==null){for(c=i.child=r.child,h=0;c!==null;)h=h|c.lanes|c.childLanes,c=c.sibling;c=h&~p}else c=0,i.child=null;return R1(r,i,p,u,c)}if((u&536870912)!==0)i.memoizedState={baseLanes:0,cachePool:null},r!==null&&Rc(i,p!==null?p.cachePool:null),p!==null?Ib(i,p):zv(),Lb(i);else return c=i.lanes=536870912,R1(r,i,p!==null?p.baseLanes|u:u,u,c)}else p!==null?(Rc(i,p.cachePool),Ib(i,p),wa(),i.memoizedState=null):(r!==null&&Rc(i,null),zv(),wa());return Vt(r,i,h,u),i.child}function Gu(r,i){return r!==null&&r.tag===22||i.stateNode!==null||(i.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.sibling}function R1(r,i,u,c,h){var p=Cv();return p=p===null?null:{parent:bt._currentValue,pool:p},i.memoizedState={baseLanes:u,cachePool:p},r!==null&&Rc(i,null),zv(),Lb(i),r!==null&&ml(r,i,c,!0),i.childLanes=h,null}function Wc(r,i){return i=Jc({mode:i.mode,children:i.children},r.mode),i.ref=r.ref,r.child=i,i.return=r,i}function z1(r,i,u){return vi(i,r.child,null,u),r=Wc(i,i.pendingProps),r.flags|=2,Mn(i),i.memoizedState=null,r}function uP(r,i,u){var c=i.pendingProps,h=(i.flags&128)!==0;if(i.flags&=-129,r===null){if(De){if(c.mode==="hidden")return r=Wc(i,c),i.lanes=536870912,Gu(null,r);if(Lv(i),(r=tt)?(r=Xx(r,Kn),r=r!==null&&r.data==="&"?r:null,r!==null&&(i.memoizedState={dehydrated:r,treeContext:ma!==null?{id:yr,overflow:gr}:null,retryLane:536870912,hydrationErrors:null},u=bb(r),u.return=i,i.child=u,Kt=i,tt=null)):r=null,r===null)throw ya(i);return i.lanes=536870912,null}return Wc(i,c)}var p=r.memoizedState;if(p!==null){var S=p.dehydrated;if(Lv(i),h)if(i.flags&256)i.flags&=-257,i=z1(r,i,u);else if(i.memoizedState!==null)i.child=r.child,i.flags|=128,i=null;else throw Error(a(558));else if(St||ml(r,i,u,!1),h=(u&r.childLanes)!==0,St||h){if(c=Ze,c!==null&&(S=Wi(c,u),S!==0&&S!==p.retryLane))throw p.retryLane=S,ii(r,S),On(c,r,S),ih;os(),i=z1(r,i,u)}else r=p.treeContext,tt=Vn(S.nextSibling),Kt=i,De=!0,pa=null,Kn=!1,r!==null&&Ob(i,r),i=Wc(i,c),i.flags|=4096;return i}return r=zr(r.child,{mode:c.mode,children:c.children}),r.ref=i.ref,i.child=r,r.return=i,r}function Qc(r,i){var u=i.ref;if(u===null)r!==null&&r.ref!==null&&(i.flags|=4194816);else{if(typeof u!="function"&&typeof u!="object")throw Error(a(284));(r===null||r.ref!==u)&&(i.flags|=4194816)}}function lh(r,i,u,c,h){return ci(i),u=Uv(r,i,u,c,void 0,h),c=qv(),r!==null&&!St?(Hv(r,i,h),Hr(r,i,h)):(De&&c&&Sv(i),i.flags|=1,Vt(r,i,u,h),i.child)}function I1(r,i,u,c,h,p){return ci(i),i.updateQueue=null,u=Ub(i,c,u,h),Bb(r),c=qv(),r!==null&&!St?(Hv(r,i,p),Hr(r,i,p)):(De&&c&&Sv(i),i.flags|=1,Vt(r,i,u,p),i.child)}function L1(r,i,u,c,h){if(ci(i),i.stateNode===null){var p=fl,S=u.contextType;typeof S=="object"&&S!==null&&(p=Yt(S)),p=new u(c,p),i.memoizedState=p.state!==null&&p.state!==void 0?p.state:null,p.updater=rh,i.stateNode=p,p._reactInternals=i,p=i.stateNode,p.props=c,p.state=i.memoizedState,p.refs={},Pv(i),S=u.contextType,p.context=typeof S=="object"&&S!==null?Yt(S):fl,p.state=i.memoizedState,S=u.getDerivedStateFromProps,typeof S=="function"&&(nh(i,u,S,c),p.state=i.memoizedState),typeof u.getDerivedStateFromProps=="function"||typeof p.getSnapshotBeforeUpdate=="function"||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(S=p.state,typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),S!==p.state&&rh.enqueueReplaceState(p,p.state,null),Lu(i,c,p,h),Iu(),p.state=i.memoizedState),typeof p.componentDidMount=="function"&&(i.flags|=4194308),c=!0}else if(r===null){p=i.stateNode;var _=i.memoizedProps,P=mi(u,_);p.props=P;var q=p.context,X=u.contextType;S=fl,typeof X=="object"&&X!==null&&(S=Yt(X));var W=u.getDerivedStateFromProps;X=typeof W=="function"||typeof p.getSnapshotBeforeUpdate=="function",_=i.pendingProps!==_,X||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(_||q!==S)&&A1(i,p,c,S),ba=!1;var H=i.memoizedState;p.state=H,Lu(i,c,p,h),Iu(),q=i.memoizedState,_||H!==q||ba?(typeof W=="function"&&(nh(i,u,W,c),q=i.memoizedState),(P=ba||w1(i,u,P,c,H,q,S))?(X||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount()),typeof p.componentDidMount=="function"&&(i.flags|=4194308)):(typeof p.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=c,i.memoizedState=q),p.props=c,p.state=q,p.context=S,c=P):(typeof p.componentDidMount=="function"&&(i.flags|=4194308),c=!1)}else{p=i.stateNode,Dv(r,i),S=i.memoizedProps,X=mi(u,S),p.props=X,W=i.pendingProps,H=p.context,q=u.contextType,P=fl,typeof q=="object"&&q!==null&&(P=Yt(q)),_=u.getDerivedStateFromProps,(q=typeof _=="function"||typeof p.getSnapshotBeforeUpdate=="function")||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(S!==W||H!==P)&&A1(i,p,c,P),ba=!1,H=i.memoizedState,p.state=H,Lu(i,c,p,h),Iu();var Y=i.memoizedState;S!==W||H!==Y||ba||r!==null&&r.dependencies!==null&&Dc(r.dependencies)?(typeof _=="function"&&(nh(i,u,_,c),Y=i.memoizedState),(X=ba||w1(i,u,X,c,H,Y,P)||r!==null&&r.dependencies!==null&&Dc(r.dependencies))?(q||typeof p.UNSAFE_componentWillUpdate!="function"&&typeof p.componentWillUpdate!="function"||(typeof p.componentWillUpdate=="function"&&p.componentWillUpdate(c,Y,P),typeof p.UNSAFE_componentWillUpdate=="function"&&p.UNSAFE_componentWillUpdate(c,Y,P)),typeof p.componentDidUpdate=="function"&&(i.flags|=4),typeof p.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof p.componentDidUpdate!="function"||S===r.memoizedProps&&H===r.memoizedState||(i.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||S===r.memoizedProps&&H===r.memoizedState||(i.flags|=1024),i.memoizedProps=c,i.memoizedState=Y),p.props=c,p.state=Y,p.context=P,c=X):(typeof p.componentDidUpdate!="function"||S===r.memoizedProps&&H===r.memoizedState||(i.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||S===r.memoizedProps&&H===r.memoizedState||(i.flags|=1024),c=!1)}return p=c,Qc(r,i),c=(i.flags&128)!==0,p||c?(p=i.stateNode,u=c&&typeof u.getDerivedStateFromError!="function"?null:p.render(),i.flags|=1,r!==null&&c?(i.child=vi(i,r.child,null,h),i.child=vi(i,null,u,h)):Vt(r,i,u,h),i.memoizedState=p.state,r=i.child):r=Hr(r,i,h),r}function B1(r,i,u,c){return ui(),i.flags|=256,Vt(r,i,u,c),i.child}var uh={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function oh(r){return{baseLanes:r,cachePool:jb()}}function ch(r,i,u){return r=r!==null?r.childLanes&~u:0,i&&(r|=Nn),r}function U1(r,i,u){var c=i.pendingProps,h=!1,p=(i.flags&128)!==0,S;if((S=p)||(S=r!==null&&r.memoizedState===null?!1:(yt.current&2)!==0),S&&(h=!0,i.flags&=-129),S=(i.flags&32)!==0,i.flags&=-33,r===null){if(De){if(h?Oa(i):wa(),(r=tt)?(r=Xx(r,Kn),r=r!==null&&r.data!=="&"?r:null,r!==null&&(i.memoizedState={dehydrated:r,treeContext:ma!==null?{id:yr,overflow:gr}:null,retryLane:536870912,hydrationErrors:null},u=bb(r),u.return=i,i.child=u,Kt=i,tt=null)):r=null,r===null)throw ya(i);return Kh(r)?i.lanes=32:i.lanes=536870912,null}var _=c.children;return c=c.fallback,h?(wa(),h=i.mode,_=Jc({mode:"hidden",children:_},h),c=li(c,h,u,null),_.return=i,c.return=i,_.sibling=c,i.child=_,c=i.child,c.memoizedState=oh(u),c.childLanes=ch(r,S,u),i.memoizedState=uh,Gu(null,c)):(Oa(i),sh(i,_))}var P=r.memoizedState;if(P!==null&&(_=P.dehydrated,_!==null)){if(p)i.flags&256?(Oa(i),i.flags&=-257,i=fh(r,i,u)):i.memoizedState!==null?(wa(),i.child=r.child,i.flags|=128,i=null):(wa(),_=c.fallback,h=i.mode,c=Jc({mode:"visible",children:c.children},h),_=li(_,h,u,null),_.flags|=2,c.return=i,_.return=i,c.sibling=_,i.child=c,vi(i,r.child,null,u),c=i.child,c.memoizedState=oh(u),c.childLanes=ch(r,S,u),i.memoizedState=uh,i=Gu(null,c));else if(Oa(i),Kh(_)){if(S=_.nextSibling&&_.nextSibling.dataset,S)var q=S.dgst;S=q,c=Error(a(419)),c.stack="",c.digest=S,Nu({value:c,source:null,stack:null}),i=fh(r,i,u)}else if(St||ml(r,i,u,!1),S=(u&r.childLanes)!==0,St||S){if(S=Ze,S!==null&&(c=Wi(S,u),c!==0&&c!==P.retryLane))throw P.retryLane=c,ii(r,c),On(S,r,c),ih;$h(_)||os(),i=fh(r,i,u)}else $h(_)?(i.flags|=192,i.child=r.child,i=null):(r=P.treeContext,tt=Vn(_.nextSibling),Kt=i,De=!0,pa=null,Kn=!1,r!==null&&Ob(i,r),i=sh(i,c.children),i.flags|=4096);return i}return h?(wa(),_=c.fallback,h=i.mode,P=r.child,q=P.sibling,c=zr(P,{mode:"hidden",children:c.children}),c.subtreeFlags=P.subtreeFlags&65011712,q!==null?_=zr(q,_):(_=li(_,h,u,null),_.flags|=2),_.return=i,c.return=i,c.sibling=_,i.child=c,Gu(null,c),c=i.child,_=r.child.memoizedState,_===null?_=oh(u):(h=_.cachePool,h!==null?(P=bt._currentValue,h=h.parent!==P?{parent:P,pool:P}:h):h=jb(),_={baseLanes:_.baseLanes|u,cachePool:h}),c.memoizedState=_,c.childLanes=ch(r,S,u),i.memoizedState=uh,Gu(r.child,c)):(Oa(i),u=r.child,r=u.sibling,u=zr(u,{mode:"visible",children:c.children}),u.return=i,u.sibling=null,r!==null&&(S=i.deletions,S===null?(i.deletions=[r],i.flags|=16):S.push(r)),i.child=u,i.memoizedState=null,u)}function sh(r,i){return i=Jc({mode:"visible",children:i},r.mode),i.return=r,r.child=i}function Jc(r,i){return r=Tn(22,r,null,i),r.lanes=0,r}function fh(r,i,u){return vi(i,r.child,null,u),r=sh(i,i.pendingProps.children),r.flags|=2,i.memoizedState=null,r}function q1(r,i,u){r.lanes|=i;var c=r.alternate;c!==null&&(c.lanes|=i),_v(r.return,i,u)}function dh(r,i,u,c,h,p){var S=r.memoizedState;S===null?r.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:c,tail:u,tailMode:h,treeForkCount:p}:(S.isBackwards=i,S.rendering=null,S.renderingStartTime=0,S.last=c,S.tail=u,S.tailMode=h,S.treeForkCount=p)}function H1(r,i,u){var c=i.pendingProps,h=c.revealOrder,p=c.tail;c=c.children;var S=yt.current,_=(S&2)!==0;if(_?(S=S&1|2,i.flags|=128):S&=1,ae(yt,S),Vt(r,i,c,u),c=De?Cu:0,!_&&r!==null&&(r.flags&128)!==0)e:for(r=i.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&q1(r,u,i);else if(r.tag===19)q1(r,u,i);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===i)break e;for(;r.sibling===null;){if(r.return===null||r.return===i)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}switch(h){case"forwards":for(u=i.child,h=null;u!==null;)r=u.alternate,r!==null&&qc(r)===null&&(h=u),u=u.sibling;u=h,u===null?(h=i.child,i.child=null):(h=u.sibling,u.sibling=null),dh(i,!1,h,u,p,c);break;case"backwards":case"unstable_legacy-backwards":for(u=null,h=i.child,i.child=null;h!==null;){if(r=h.alternate,r!==null&&qc(r)===null){i.child=h;break}r=h.sibling,h.sibling=u,u=h,h=r}dh(i,!0,u,null,p,c);break;case"together":dh(i,!1,null,null,void 0,c);break;default:i.memoizedState=null}return i.child}function Hr(r,i,u){if(r!==null&&(i.dependencies=r.dependencies),_a|=i.lanes,(u&i.childLanes)===0)if(r!==null){if(ml(r,i,u,!1),(u&i.childLanes)===0)return null}else return null;if(r!==null&&i.child!==r.child)throw Error(a(153));if(i.child!==null){for(r=i.child,u=zr(r,r.pendingProps),i.child=u,u.return=i;r.sibling!==null;)r=r.sibling,u=u.sibling=zr(r,r.pendingProps),u.return=i;u.sibling=null}return i.child}function vh(r,i){return(r.lanes&i)!==0?!0:(r=r.dependencies,!!(r!==null&&Dc(r)))}function oP(r,i,u){switch(i.tag){case 3:ze(i,i.stateNode.containerInfo),ga(i,bt,r.memoizedState.cache),ui();break;case 27:case 5:le(i);break;case 4:ze(i,i.stateNode.containerInfo);break;case 10:ga(i,i.type,i.memoizedProps.value);break;case 31:if(i.memoizedState!==null)return i.flags|=128,Lv(i),null;break;case 13:var c=i.memoizedState;if(c!==null)return c.dehydrated!==null?(Oa(i),i.flags|=128,null):(u&i.child.childLanes)!==0?U1(r,i,u):(Oa(i),r=Hr(r,i,u),r!==null?r.sibling:null);Oa(i);break;case 19:var h=(r.flags&128)!==0;if(c=(u&i.childLanes)!==0,c||(ml(r,i,u,!1),c=(u&i.childLanes)!==0),h){if(c)return H1(r,i,u);i.flags|=128}if(h=i.memoizedState,h!==null&&(h.rendering=null,h.tail=null,h.lastEffect=null),ae(yt,yt.current),c)break;return null;case 22:return i.lanes=0,k1(r,i,u,i.pendingProps);case 24:ga(i,bt,r.memoizedState.cache)}return Hr(r,i,u)}function G1(r,i,u){if(r!==null)if(r.memoizedProps!==i.pendingProps)St=!0;else{if(!vh(r,u)&&(i.flags&128)===0)return St=!1,oP(r,i,u);St=(r.flags&131072)!==0}else St=!1,De&&(i.flags&1048576)!==0&&Sb(i,Cu,i.index);switch(i.lanes=0,i.tag){case 16:e:{var c=i.pendingProps;if(r=fi(i.elementType),i.type=r,typeof r=="function")gv(r)?(c=mi(r,c),i.tag=1,i=L1(null,i,r,c,u)):(i.tag=0,i=lh(null,i,r,c,u));else{if(r!=null){var h=r.$$typeof;if(h===N){i.tag=11,i=N1(null,i,r,c,u);break e}else if(h===z){i.tag=14,i=P1(null,i,r,c,u);break e}}throw i=oe(r)||r,Error(a(306,i,""))}}return i;case 0:return lh(r,i,i.type,i.pendingProps,u);case 1:return c=i.type,h=mi(c,i.pendingProps),L1(r,i,c,h,u);case 3:e:{if(ze(i,i.stateNode.containerInfo),r===null)throw Error(a(387));c=i.pendingProps;var p=i.memoizedState;h=p.element,Dv(r,i),Lu(i,c,null,u);var S=i.memoizedState;if(c=S.cache,ga(i,bt,c),c!==p.cache&&Tv(i,[bt],u,!0),Iu(),c=S.element,p.isDehydrated)if(p={element:c,isDehydrated:!1,cache:S.cache},i.updateQueue.baseState=p,i.memoizedState=p,i.flags&256){i=B1(r,i,c,u);break e}else if(c!==h){h=Hn(Error(a(424)),i),Nu(h),i=B1(r,i,c,u);break e}else{switch(r=i.stateNode.containerInfo,r.nodeType){case 9:r=r.body;break;default:r=r.nodeName==="HTML"?r.ownerDocument.body:r}for(tt=Vn(r.firstChild),Kt=i,De=!0,pa=null,Kn=!0,u=kb(i,null,c,u),i.child=u;u;)u.flags=u.flags&-3|4096,u=u.sibling}else{if(ui(),c===h){i=Hr(r,i,u);break e}Vt(r,i,c,u)}i=i.child}return i;case 26:return Qc(r,i),r===null?(u=eS(i.type,null,i.pendingProps,null))?i.memoizedState=u:De||(u=i.type,r=i.pendingProps,c=ms(Oe.current).createElement(u),c[$t]=i,c[pn]=r,Xt(c,u,r),It(c),i.stateNode=c):i.memoizedState=eS(i.type,r.memoizedProps,i.pendingProps,r.memoizedState),null;case 27:return le(i),r===null&&De&&(c=i.stateNode=Wx(i.type,i.pendingProps,Oe.current),Kt=i,Kn=!0,h=tt,Na(i.type)?(Yh=h,tt=Vn(c.firstChild)):tt=h),Vt(r,i,i.pendingProps.children,u),Qc(r,i),r===null&&(i.flags|=4194304),i.child;case 5:return r===null&&De&&((h=c=tt)&&(c=LP(c,i.type,i.pendingProps,Kn),c!==null?(i.stateNode=c,Kt=i,tt=Vn(c.firstChild),Kn=!1,h=!0):h=!1),h||ya(i)),le(i),h=i.type,p=i.pendingProps,S=r!==null?r.memoizedProps:null,c=p.children,qh(h,p)?c=null:S!==null&&qh(h,S)&&(i.flags|=32),i.memoizedState!==null&&(h=Uv(r,i,JN,null,null,u),ao._currentValue=h),Qc(r,i),Vt(r,i,c,u),i.child;case 6:return r===null&&De&&((r=u=tt)&&(u=BP(u,i.pendingProps,Kn),u!==null?(i.stateNode=u,Kt=i,tt=null,r=!0):r=!1),r||ya(i)),null;case 13:return U1(r,i,u);case 4:return ze(i,i.stateNode.containerInfo),c=i.pendingProps,r===null?i.child=vi(i,null,c,u):Vt(r,i,c,u),i.child;case 11:return N1(r,i,i.type,i.pendingProps,u);case 7:return Vt(r,i,i.pendingProps,u),i.child;case 8:return Vt(r,i,i.pendingProps.children,u),i.child;case 12:return Vt(r,i,i.pendingProps.children,u),i.child;case 10:return c=i.pendingProps,ga(i,i.type,c.value),Vt(r,i,c.children,u),i.child;case 9:return h=i.type._context,c=i.pendingProps.children,ci(i),h=Yt(h),c=c(h),i.flags|=1,Vt(r,i,c,u),i.child;case 14:return P1(r,i,i.type,i.pendingProps,u);case 15:return D1(r,i,i.type,i.pendingProps,u);case 19:return H1(r,i,u);case 31:return uP(r,i,u);case 22:return k1(r,i,u,i.pendingProps);case 24:return ci(i),c=Yt(bt),r===null?(h=Cv(),h===null&&(h=Ze,p=jv(),h.pooledCache=p,p.refCount++,p!==null&&(h.pooledCacheLanes|=u),h=p),i.memoizedState={parent:c,cache:h},Pv(i),ga(i,bt,h)):((r.lanes&u)!==0&&(Dv(r,i),Lu(i,null,null,u),Iu()),h=r.memoizedState,p=i.memoizedState,h.parent!==c?(h={parent:c,cache:c},i.memoizedState=h,i.lanes===0&&(i.memoizedState=i.updateQueue.baseState=h),ga(i,bt,c)):(c=p.cache,ga(i,bt,c),c!==h.cache&&Tv(i,[bt],u,!0))),Vt(r,i,i.pendingProps.children,u),i.child;case 29:throw i.pendingProps}throw Error(a(156,i.tag))}function Gr(r){r.flags|=4}function hh(r,i,u,c,h){if((i=(r.mode&32)!==0)&&(i=!1),i){if(r.flags|=16777216,(h&335544128)===h)if(r.stateNode.complete)r.flags|=8192;else if(px())r.flags|=8192;else throw di=Ic,Nv}else r.flags&=-16777217}function $1(r,i){if(i.type!=="stylesheet"||(i.state.loading&4)!==0)r.flags&=-16777217;else if(r.flags|=16777216,!iS(i))if(px())r.flags|=8192;else throw di=Ic,Nv}function es(r,i){i!==null&&(r.flags|=4),r.flags&16384&&(i=r.tag!==22?hn():536870912,r.lanes|=i,Tl|=i)}function $u(r,i){if(!De)switch(r.tailMode){case"hidden":i=r.tail;for(var u=null;i!==null;)i.alternate!==null&&(u=i),i=i.sibling;u===null?r.tail=null:u.sibling=null;break;case"collapsed":u=r.tail;for(var c=null;u!==null;)u.alternate!==null&&(c=u),u=u.sibling;c===null?i||r.tail===null?r.tail=null:r.tail.sibling=null:c.sibling=null}}function nt(r){var i=r.alternate!==null&&r.alternate.child===r.child,u=0,c=0;if(i)for(var h=r.child;h!==null;)u|=h.lanes|h.childLanes,c|=h.subtreeFlags&65011712,c|=h.flags&65011712,h.return=r,h=h.sibling;else for(h=r.child;h!==null;)u|=h.lanes|h.childLanes,c|=h.subtreeFlags,c|=h.flags,h.return=r,h=h.sibling;return r.subtreeFlags|=c,r.childLanes=u,i}function cP(r,i,u){var c=i.pendingProps;switch(Ov(i),i.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return nt(i),null;case 1:return nt(i),null;case 3:return u=i.stateNode,c=null,r!==null&&(c=r.memoizedState.cache),i.memoizedState.cache!==c&&(i.flags|=2048),Br(bt),ne(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(r===null||r.child===null)&&(hl(i)?Gr(i):r===null||r.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,Av())),nt(i),null;case 26:var h=i.type,p=i.memoizedState;return r===null?(Gr(i),p!==null?(nt(i),$1(i,p)):(nt(i),hh(i,h,null,c,u))):p?p!==r.memoizedState?(Gr(i),nt(i),$1(i,p)):(nt(i),i.flags&=-16777217):(r=r.memoizedProps,r!==c&&Gr(i),nt(i),hh(i,h,r,c,u)),null;case 27:if(Te(i),u=Oe.current,h=i.type,r!==null&&i.stateNode!=null)r.memoizedProps!==c&&Gr(i);else{if(!c){if(i.stateNode===null)throw Error(a(166));return nt(i),null}r=ue.current,hl(i)?wb(i):(r=Wx(h,c,u),i.stateNode=r,Gr(i))}return nt(i),null;case 5:if(Te(i),h=i.type,r!==null&&i.stateNode!=null)r.memoizedProps!==c&&Gr(i);else{if(!c){if(i.stateNode===null)throw Error(a(166));return nt(i),null}if(p=ue.current,hl(i))wb(i);else{var S=ms(Oe.current);switch(p){case 1:p=S.createElementNS("http://www.w3.org/2000/svg",h);break;case 2:p=S.createElementNS("http://www.w3.org/1998/Math/MathML",h);break;default:switch(h){case"svg":p=S.createElementNS("http://www.w3.org/2000/svg",h);break;case"math":p=S.createElementNS("http://www.w3.org/1998/Math/MathML",h);break;case"script":p=S.createElement("div"),p.innerHTML="<script><\/script>",p=p.removeChild(p.firstChild);break;case"select":p=typeof c.is=="string"?S.createElement("select",{is:c.is}):S.createElement("select"),c.multiple?p.multiple=!0:c.size&&(p.size=c.size);break;default:p=typeof c.is=="string"?S.createElement(h,{is:c.is}):S.createElement(h)}}p[$t]=i,p[pn]=c;e:for(S=i.child;S!==null;){if(S.tag===5||S.tag===6)p.appendChild(S.stateNode);else if(S.tag!==4&&S.tag!==27&&S.child!==null){S.child.return=S,S=S.child;continue}if(S===i)break e;for(;S.sibling===null;){if(S.return===null||S.return===i)break e;S=S.return}S.sibling.return=S.return,S=S.sibling}i.stateNode=p;e:switch(Xt(p,h,c),h){case"button":case"input":case"select":case"textarea":c=!!c.autoFocus;break e;case"img":c=!0;break e;default:c=!1}c&&Gr(i)}}return nt(i),hh(i,i.type,r===null?null:r.memoizedProps,i.pendingProps,u),null;case 6:if(r&&i.stateNode!=null)r.memoizedProps!==c&&Gr(i);else{if(typeof c!="string"&&i.stateNode===null)throw Error(a(166));if(r=Oe.current,hl(i)){if(r=i.stateNode,u=i.memoizedProps,c=null,h=Kt,h!==null)switch(h.tag){case 27:case 5:c=h.memoizedProps}r[$t]=i,r=!!(r.nodeValue===u||c!==null&&c.suppressHydrationWarning===!0||Ux(r.nodeValue,u)),r||ya(i,!0)}else r=ms(r).createTextNode(c),r[$t]=i,i.stateNode=r}return nt(i),null;case 31:if(u=i.memoizedState,r===null||r.memoizedState!==null){if(c=hl(i),u!==null){if(r===null){if(!c)throw Error(a(318));if(r=i.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(a(557));r[$t]=i}else ui(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;nt(i),r=!1}else u=Av(),r!==null&&r.memoizedState!==null&&(r.memoizedState.hydrationErrors=u),r=!0;if(!r)return i.flags&256?(Mn(i),i):(Mn(i),null);if((i.flags&128)!==0)throw Error(a(558))}return nt(i),null;case 13:if(c=i.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(h=hl(i),c!==null&&c.dehydrated!==null){if(r===null){if(!h)throw Error(a(318));if(h=i.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(a(317));h[$t]=i}else ui(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;nt(i),h=!1}else h=Av(),r!==null&&r.memoizedState!==null&&(r.memoizedState.hydrationErrors=h),h=!0;if(!h)return i.flags&256?(Mn(i),i):(Mn(i),null)}return Mn(i),(i.flags&128)!==0?(i.lanes=u,i):(u=c!==null,r=r!==null&&r.memoizedState!==null,u&&(c=i.child,h=null,c.alternate!==null&&c.alternate.memoizedState!==null&&c.alternate.memoizedState.cachePool!==null&&(h=c.alternate.memoizedState.cachePool.pool),p=null,c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(p=c.memoizedState.cachePool.pool),p!==h&&(c.flags|=2048)),u!==r&&u&&(i.child.flags|=8192),es(i,i.updateQueue),nt(i),null);case 4:return ne(),r===null&&zh(i.stateNode.containerInfo),nt(i),null;case 10:return Br(i.type),nt(i),null;case 19:if(K(yt),c=i.memoizedState,c===null)return nt(i),null;if(h=(i.flags&128)!==0,p=c.rendering,p===null)if(h)$u(c,!1);else{if(dt!==0||r!==null&&(r.flags&128)!==0)for(r=i.child;r!==null;){if(p=qc(r),p!==null){for(i.flags|=128,$u(c,!1),r=p.updateQueue,i.updateQueue=r,es(i,r),i.subtreeFlags=0,r=u,u=i.child;u!==null;)gb(u,r),u=u.sibling;return ae(yt,yt.current&1|2),De&&Ir(i,c.treeForkCount),i.child}r=r.sibling}c.tail!==null&&vn()>is&&(i.flags|=128,h=!0,$u(c,!1),i.lanes=4194304)}else{if(!h)if(r=qc(p),r!==null){if(i.flags|=128,h=!0,r=r.updateQueue,i.updateQueue=r,es(i,r),$u(c,!0),c.tail===null&&c.tailMode==="hidden"&&!p.alternate&&!De)return nt(i),null}else 2*vn()-c.renderingStartTime>is&&u!==536870912&&(i.flags|=128,h=!0,$u(c,!1),i.lanes=4194304);c.isBackwards?(p.sibling=i.child,i.child=p):(r=c.last,r!==null?r.sibling=p:i.child=p,c.last=p)}return c.tail!==null?(r=c.tail,c.rendering=r,c.tail=r.sibling,c.renderingStartTime=vn(),r.sibling=null,u=yt.current,ae(yt,h?u&1|2:u&1),De&&Ir(i,c.treeForkCount),r):(nt(i),null);case 22:case 23:return Mn(i),Iv(),c=i.memoizedState!==null,r!==null?r.memoizedState!==null!==c&&(i.flags|=8192):c&&(i.flags|=8192),c?(u&536870912)!==0&&(i.flags&128)===0&&(nt(i),i.subtreeFlags&6&&(i.flags|=8192)):nt(i),u=i.updateQueue,u!==null&&es(i,u.retryQueue),u=null,r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(u=r.memoizedState.cachePool.pool),c=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(c=i.memoizedState.cachePool.pool),c!==u&&(i.flags|=2048),r!==null&&K(si),null;case 24:return u=null,r!==null&&(u=r.memoizedState.cache),i.memoizedState.cache!==u&&(i.flags|=2048),Br(bt),nt(i),null;case 25:return null;case 30:return null}throw Error(a(156,i.tag))}function sP(r,i){switch(Ov(i),i.tag){case 1:return r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 3:return Br(bt),ne(),r=i.flags,(r&65536)!==0&&(r&128)===0?(i.flags=r&-65537|128,i):null;case 26:case 27:case 5:return Te(i),null;case 31:if(i.memoizedState!==null){if(Mn(i),i.alternate===null)throw Error(a(340));ui()}return r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 13:if(Mn(i),r=i.memoizedState,r!==null&&r.dehydrated!==null){if(i.alternate===null)throw Error(a(340));ui()}return r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 19:return K(yt),null;case 4:return ne(),null;case 10:return Br(i.type),null;case 22:case 23:return Mn(i),Iv(),r!==null&&K(si),r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 24:return Br(bt),null;case 25:return null;default:return null}}function K1(r,i){switch(Ov(i),i.tag){case 3:Br(bt),ne();break;case 26:case 27:case 5:Te(i);break;case 4:ne();break;case 31:i.memoizedState!==null&&Mn(i);break;case 13:Mn(i);break;case 19:K(yt);break;case 10:Br(i.type);break;case 22:case 23:Mn(i),Iv(),r!==null&&K(si);break;case 24:Br(bt)}}function Ku(r,i){try{var u=i.updateQueue,c=u!==null?u.lastEffect:null;if(c!==null){var h=c.next;u=h;do{if((u.tag&r)===r){c=void 0;var p=u.create,S=u.inst;c=p(),S.destroy=c}u=u.next}while(u!==h)}}catch(_){Ge(i,i.return,_)}}function Aa(r,i,u){try{var c=i.updateQueue,h=c!==null?c.lastEffect:null;if(h!==null){var p=h.next;c=p;do{if((c.tag&r)===r){var S=c.inst,_=S.destroy;if(_!==void 0){S.destroy=void 0,h=i;var P=u,q=_;try{q()}catch(X){Ge(h,P,X)}}}c=c.next}while(c!==p)}}catch(X){Ge(i,i.return,X)}}function Y1(r){var i=r.updateQueue;if(i!==null){var u=r.stateNode;try{zb(i,u)}catch(c){Ge(r,r.return,c)}}}function V1(r,i,u){u.props=mi(r.type,r.memoizedProps),u.state=r.memoizedState;try{u.componentWillUnmount()}catch(c){Ge(r,i,c)}}function Yu(r,i){try{var u=r.ref;if(u!==null){switch(r.tag){case 26:case 27:case 5:var c=r.stateNode;break;case 30:c=r.stateNode;break;default:c=r.stateNode}typeof u=="function"?r.refCleanup=u(c):u.current=c}}catch(h){Ge(r,i,h)}}function br(r,i){var u=r.ref,c=r.refCleanup;if(u!==null)if(typeof c=="function")try{c()}catch(h){Ge(r,i,h)}finally{r.refCleanup=null,r=r.alternate,r!=null&&(r.refCleanup=null)}else if(typeof u=="function")try{u(null)}catch(h){Ge(r,i,h)}else u.current=null}function X1(r){var i=r.type,u=r.memoizedProps,c=r.stateNode;try{e:switch(i){case"button":case"input":case"select":case"textarea":u.autoFocus&&c.focus();break e;case"img":u.src?c.src=u.src:u.srcSet&&(c.srcset=u.srcSet)}}catch(h){Ge(r,r.return,h)}}function mh(r,i,u){try{var c=r.stateNode;PP(c,r.type,u,i),c[pn]=i}catch(h){Ge(r,r.return,h)}}function Z1(r){return r.tag===5||r.tag===3||r.tag===26||r.tag===27&&Na(r.type)||r.tag===4}function ph(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||Z1(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.tag===27&&Na(r.type)||r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function yh(r,i,u){var c=r.tag;if(c===5||c===6)r=r.stateNode,i?(u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u).insertBefore(r,i):(i=u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u,i.appendChild(r),u=u._reactRootContainer,u!=null||i.onclick!==null||(i.onclick=kr));else if(c!==4&&(c===27&&Na(r.type)&&(u=r.stateNode,i=null),r=r.child,r!==null))for(yh(r,i,u),r=r.sibling;r!==null;)yh(r,i,u),r=r.sibling}function ts(r,i,u){var c=r.tag;if(c===5||c===6)r=r.stateNode,i?u.insertBefore(r,i):u.appendChild(r);else if(c!==4&&(c===27&&Na(r.type)&&(u=r.stateNode),r=r.child,r!==null))for(ts(r,i,u),r=r.sibling;r!==null;)ts(r,i,u),r=r.sibling}function F1(r){var i=r.stateNode,u=r.memoizedProps;try{for(var c=r.type,h=i.attributes;h.length;)i.removeAttributeNode(h[0]);Xt(i,c,u),i[$t]=r,i[pn]=u}catch(p){Ge(r,r.return,p)}}var $r=!1,Ot=!1,gh=!1,W1=typeof WeakSet=="function"?WeakSet:Set,Lt=null;function fP(r,i){if(r=r.containerInfo,Bh=Os,r=cb(r),fv(r)){if("selectionStart"in r)var u={start:r.selectionStart,end:r.selectionEnd};else e:{u=(u=r.ownerDocument)&&u.defaultView||window;var c=u.getSelection&&u.getSelection();if(c&&c.rangeCount!==0){u=c.anchorNode;var h=c.anchorOffset,p=c.focusNode;c=c.focusOffset;try{u.nodeType,p.nodeType}catch{u=null;break e}var S=0,_=-1,P=-1,q=0,X=0,W=r,H=null;t:for(;;){for(var Y;W!==u||h!==0&&W.nodeType!==3||(_=S+h),W!==p||c!==0&&W.nodeType!==3||(P=S+c),W.nodeType===3&&(S+=W.nodeValue.length),(Y=W.firstChild)!==null;)H=W,W=Y;for(;;){if(W===r)break t;if(H===u&&++q===h&&(_=S),H===p&&++X===c&&(P=S),(Y=W.nextSibling)!==null)break;W=H,H=W.parentNode}W=Y}u=_===-1||P===-1?null:{start:_,end:P}}else u=null}u=u||{start:0,end:0}}else u=null;for(Uh={focusedElem:r,selectionRange:u},Os=!1,Lt=i;Lt!==null;)if(i=Lt,r=i.child,(i.subtreeFlags&1028)!==0&&r!==null)r.return=i,Lt=r;else for(;Lt!==null;){switch(i=Lt,p=i.alternate,r=i.flags,i.tag){case 0:if((r&4)!==0&&(r=i.updateQueue,r=r!==null?r.events:null,r!==null))for(u=0;u<r.length;u++)h=r[u],h.ref.impl=h.nextImpl;break;case 11:case 15:break;case 1:if((r&1024)!==0&&p!==null){r=void 0,u=i,h=p.memoizedProps,p=p.memoizedState,c=u.stateNode;try{var de=mi(u.type,h);r=c.getSnapshotBeforeUpdate(de,p),c.__reactInternalSnapshotBeforeUpdate=r}catch(Se){Ge(u,u.return,Se)}}break;case 3:if((r&1024)!==0){if(r=i.stateNode.containerInfo,u=r.nodeType,u===9)Gh(r);else if(u===1)switch(r.nodeName){case"HEAD":case"HTML":case"BODY":Gh(r);break;default:r.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((r&1024)!==0)throw Error(a(163))}if(r=i.sibling,r!==null){r.return=i.return,Lt=r;break}Lt=i.return}}function Q1(r,i,u){var c=u.flags;switch(u.tag){case 0:case 11:case 15:Yr(r,u),c&4&&Ku(5,u);break;case 1:if(Yr(r,u),c&4)if(r=u.stateNode,i===null)try{r.componentDidMount()}catch(S){Ge(u,u.return,S)}else{var h=mi(u.type,i.memoizedProps);i=i.memoizedState;try{r.componentDidUpdate(h,i,r.__reactInternalSnapshotBeforeUpdate)}catch(S){Ge(u,u.return,S)}}c&64&&Y1(u),c&512&&Yu(u,u.return);break;case 3:if(Yr(r,u),c&64&&(r=u.updateQueue,r!==null)){if(i=null,u.child!==null)switch(u.child.tag){case 27:case 5:i=u.child.stateNode;break;case 1:i=u.child.stateNode}try{zb(r,i)}catch(S){Ge(u,u.return,S)}}break;case 27:i===null&&c&4&&F1(u);case 26:case 5:Yr(r,u),i===null&&c&4&&X1(u),c&512&&Yu(u,u.return);break;case 12:Yr(r,u);break;case 31:Yr(r,u),c&4&&tx(r,u);break;case 13:Yr(r,u),c&4&&nx(r,u),c&64&&(r=u.memoizedState,r!==null&&(r=r.dehydrated,r!==null&&(u=xP.bind(null,u),UP(r,u))));break;case 22:if(c=u.memoizedState!==null||$r,!c){i=i!==null&&i.memoizedState!==null||Ot,h=$r;var p=Ot;$r=c,(Ot=i)&&!p?Vr(r,u,(u.subtreeFlags&8772)!==0):Yr(r,u),$r=h,Ot=p}break;case 30:break;default:Yr(r,u)}}function J1(r){var i=r.alternate;i!==null&&(r.alternate=null,J1(i)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(i=r.stateNode,i!==null&&Xd(i)),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}var it=null,gn=!1;function Kr(r,i,u){for(u=u.child;u!==null;)ex(r,i,u),u=u.sibling}function ex(r,i,u){if(ln&&typeof ln.onCommitFiberUnmount=="function")try{ln.onCommitFiberUnmount(Qa,u)}catch{}switch(u.tag){case 26:Ot||br(u,i),Kr(r,i,u),u.memoizedState?u.memoizedState.count--:u.stateNode&&(u=u.stateNode,u.parentNode.removeChild(u));break;case 27:Ot||br(u,i);var c=it,h=gn;Na(u.type)&&(it=u.stateNode,gn=!1),Kr(r,i,u),to(u.stateNode),it=c,gn=h;break;case 5:Ot||br(u,i);case 6:if(c=it,h=gn,it=null,Kr(r,i,u),it=c,gn=h,it!==null)if(gn)try{(it.nodeType===9?it.body:it.nodeName==="HTML"?it.ownerDocument.body:it).removeChild(u.stateNode)}catch(p){Ge(u,i,p)}else try{it.removeChild(u.stateNode)}catch(p){Ge(u,i,p)}break;case 18:it!==null&&(gn?(r=it,Yx(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,u.stateNode),Rl(r)):Yx(it,u.stateNode));break;case 4:c=it,h=gn,it=u.stateNode.containerInfo,gn=!0,Kr(r,i,u),it=c,gn=h;break;case 0:case 11:case 14:case 15:Aa(2,u,i),Ot||Aa(4,u,i),Kr(r,i,u);break;case 1:Ot||(br(u,i),c=u.stateNode,typeof c.componentWillUnmount=="function"&&V1(u,i,c)),Kr(r,i,u);break;case 21:Kr(r,i,u);break;case 22:Ot=(c=Ot)||u.memoizedState!==null,Kr(r,i,u),Ot=c;break;default:Kr(r,i,u)}}function tx(r,i){if(i.memoizedState===null&&(r=i.alternate,r!==null&&(r=r.memoizedState,r!==null))){r=r.dehydrated;try{Rl(r)}catch(u){Ge(i,i.return,u)}}}function nx(r,i){if(i.memoizedState===null&&(r=i.alternate,r!==null&&(r=r.memoizedState,r!==null&&(r=r.dehydrated,r!==null))))try{Rl(r)}catch(u){Ge(i,i.return,u)}}function dP(r){switch(r.tag){case 31:case 13:case 19:var i=r.stateNode;return i===null&&(i=r.stateNode=new W1),i;case 22:return r=r.stateNode,i=r._retryCache,i===null&&(i=r._retryCache=new W1),i;default:throw Error(a(435,r.tag))}}function ns(r,i){var u=dP(r);i.forEach(function(c){if(!u.has(c)){u.add(c);var h=SP.bind(null,r,c);c.then(h,h)}})}function bn(r,i){var u=i.deletions;if(u!==null)for(var c=0;c<u.length;c++){var h=u[c],p=r,S=i,_=S;e:for(;_!==null;){switch(_.tag){case 27:if(Na(_.type)){it=_.stateNode,gn=!1;break e}break;case 5:it=_.stateNode,gn=!1;break e;case 3:case 4:it=_.stateNode.containerInfo,gn=!0;break e}_=_.return}if(it===null)throw Error(a(160));ex(p,S,h),it=null,gn=!1,p=h.alternate,p!==null&&(p.return=null),h.return=null}if(i.subtreeFlags&13886)for(i=i.child;i!==null;)rx(i,r),i=i.sibling}var ir=null;function rx(r,i){var u=r.alternate,c=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:bn(i,r),xn(r),c&4&&(Aa(3,r,r.return),Ku(3,r),Aa(5,r,r.return));break;case 1:bn(i,r),xn(r),c&512&&(Ot||u===null||br(u,u.return)),c&64&&$r&&(r=r.updateQueue,r!==null&&(c=r.callbacks,c!==null&&(u=r.shared.hiddenCallbacks,r.shared.hiddenCallbacks=u===null?c:u.concat(c))));break;case 26:var h=ir;if(bn(i,r),xn(r),c&512&&(Ot||u===null||br(u,u.return)),c&4){var p=u!==null?u.memoizedState:null;if(c=r.memoizedState,u===null)if(c===null)if(r.stateNode===null){e:{c=r.type,u=r.memoizedProps,h=h.ownerDocument||h;t:switch(c){case"title":p=h.getElementsByTagName("title")[0],(!p||p[bu]||p[$t]||p.namespaceURI==="http://www.w3.org/2000/svg"||p.hasAttribute("itemprop"))&&(p=h.createElement(c),h.head.insertBefore(p,h.querySelector("head > title"))),Xt(p,c,u),p[$t]=r,It(p),c=p;break e;case"link":var S=rS("link","href",h).get(c+(u.href||""));if(S){for(var _=0;_<S.length;_++)if(p=S[_],p.getAttribute("href")===(u.href==null||u.href===""?null:u.href)&&p.getAttribute("rel")===(u.rel==null?null:u.rel)&&p.getAttribute("title")===(u.title==null?null:u.title)&&p.getAttribute("crossorigin")===(u.crossOrigin==null?null:u.crossOrigin)){S.splice(_,1);break t}}p=h.createElement(c),Xt(p,c,u),h.head.appendChild(p);break;case"meta":if(S=rS("meta","content",h).get(c+(u.content||""))){for(_=0;_<S.length;_++)if(p=S[_],p.getAttribute("content")===(u.content==null?null:""+u.content)&&p.getAttribute("name")===(u.name==null?null:u.name)&&p.getAttribute("property")===(u.property==null?null:u.property)&&p.getAttribute("http-equiv")===(u.httpEquiv==null?null:u.httpEquiv)&&p.getAttribute("charset")===(u.charSet==null?null:u.charSet)){S.splice(_,1);break t}}p=h.createElement(c),Xt(p,c,u),h.head.appendChild(p);break;default:throw Error(a(468,c))}p[$t]=r,It(p),c=p}r.stateNode=c}else aS(h,r.type,r.stateNode);else r.stateNode=nS(h,c,r.memoizedProps);else p!==c?(p===null?u.stateNode!==null&&(u=u.stateNode,u.parentNode.removeChild(u)):p.count--,c===null?aS(h,r.type,r.stateNode):nS(h,c,r.memoizedProps)):c===null&&r.stateNode!==null&&mh(r,r.memoizedProps,u.memoizedProps)}break;case 27:bn(i,r),xn(r),c&512&&(Ot||u===null||br(u,u.return)),u!==null&&c&4&&mh(r,r.memoizedProps,u.memoizedProps);break;case 5:if(bn(i,r),xn(r),c&512&&(Ot||u===null||br(u,u.return)),r.flags&32){h=r.stateNode;try{al(h,"")}catch(de){Ge(r,r.return,de)}}c&4&&r.stateNode!=null&&(h=r.memoizedProps,mh(r,h,u!==null?u.memoizedProps:h)),c&1024&&(gh=!0);break;case 6:if(bn(i,r),xn(r),c&4){if(r.stateNode===null)throw Error(a(162));c=r.memoizedProps,u=r.stateNode;try{u.nodeValue=c}catch(de){Ge(r,r.return,de)}}break;case 3:if(gs=null,h=ir,ir=ps(i.containerInfo),bn(i,r),ir=h,xn(r),c&4&&u!==null&&u.memoizedState.isDehydrated)try{Rl(i.containerInfo)}catch(de){Ge(r,r.return,de)}gh&&(gh=!1,ax(r));break;case 4:c=ir,ir=ps(r.stateNode.containerInfo),bn(i,r),xn(r),ir=c;break;case 12:bn(i,r),xn(r);break;case 31:bn(i,r),xn(r),c&4&&(c=r.updateQueue,c!==null&&(r.updateQueue=null,ns(r,c)));break;case 13:bn(i,r),xn(r),r.child.flags&8192&&r.memoizedState!==null!=(u!==null&&u.memoizedState!==null)&&(as=vn()),c&4&&(c=r.updateQueue,c!==null&&(r.updateQueue=null,ns(r,c)));break;case 22:h=r.memoizedState!==null;var P=u!==null&&u.memoizedState!==null,q=$r,X=Ot;if($r=q||h,Ot=X||P,bn(i,r),Ot=X,$r=q,xn(r),c&8192)e:for(i=r.stateNode,i._visibility=h?i._visibility&-2:i._visibility|1,h&&(u===null||P||$r||Ot||pi(r)),u=null,i=r;;){if(i.tag===5||i.tag===26){if(u===null){P=u=i;try{if(p=P.stateNode,h)S=p.style,typeof S.setProperty=="function"?S.setProperty("display","none","important"):S.display="none";else{_=P.stateNode;var W=P.memoizedProps.style,H=W!=null&&W.hasOwnProperty("display")?W.display:null;_.style.display=H==null||typeof H=="boolean"?"":(""+H).trim()}}catch(de){Ge(P,P.return,de)}}}else if(i.tag===6){if(u===null){P=i;try{P.stateNode.nodeValue=h?"":P.memoizedProps}catch(de){Ge(P,P.return,de)}}}else if(i.tag===18){if(u===null){P=i;try{var Y=P.stateNode;h?Vx(Y,!0):Vx(P.stateNode,!1)}catch(de){Ge(P,P.return,de)}}}else if((i.tag!==22&&i.tag!==23||i.memoizedState===null||i===r)&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===r)break e;for(;i.sibling===null;){if(i.return===null||i.return===r)break e;u===i&&(u=null),i=i.return}u===i&&(u=null),i.sibling.return=i.return,i=i.sibling}c&4&&(c=r.updateQueue,c!==null&&(u=c.retryQueue,u!==null&&(c.retryQueue=null,ns(r,u))));break;case 19:bn(i,r),xn(r),c&4&&(c=r.updateQueue,c!==null&&(r.updateQueue=null,ns(r,c)));break;case 30:break;case 21:break;default:bn(i,r),xn(r)}}function xn(r){var i=r.flags;if(i&2){try{for(var u,c=r.return;c!==null;){if(Z1(c)){u=c;break}c=c.return}if(u==null)throw Error(a(160));switch(u.tag){case 27:var h=u.stateNode,p=ph(r);ts(r,p,h);break;case 5:var S=u.stateNode;u.flags&32&&(al(S,""),u.flags&=-33);var _=ph(r);ts(r,_,S);break;case 3:case 4:var P=u.stateNode.containerInfo,q=ph(r);yh(r,q,P);break;default:throw Error(a(161))}}catch(X){Ge(r,r.return,X)}r.flags&=-3}i&4096&&(r.flags&=-4097)}function ax(r){if(r.subtreeFlags&1024)for(r=r.child;r!==null;){var i=r;ax(i),i.tag===5&&i.flags&1024&&i.stateNode.reset(),r=r.sibling}}function Yr(r,i){if(i.subtreeFlags&8772)for(i=i.child;i!==null;)Q1(r,i.alternate,i),i=i.sibling}function pi(r){for(r=r.child;r!==null;){var i=r;switch(i.tag){case 0:case 11:case 14:case 15:Aa(4,i,i.return),pi(i);break;case 1:br(i,i.return);var u=i.stateNode;typeof u.componentWillUnmount=="function"&&V1(i,i.return,u),pi(i);break;case 27:to(i.stateNode);case 26:case 5:br(i,i.return),pi(i);break;case 22:i.memoizedState===null&&pi(i);break;case 30:pi(i);break;default:pi(i)}r=r.sibling}}function Vr(r,i,u){for(u=u&&(i.subtreeFlags&8772)!==0,i=i.child;i!==null;){var c=i.alternate,h=r,p=i,S=p.flags;switch(p.tag){case 0:case 11:case 15:Vr(h,p,u),Ku(4,p);break;case 1:if(Vr(h,p,u),c=p,h=c.stateNode,typeof h.componentDidMount=="function")try{h.componentDidMount()}catch(q){Ge(c,c.return,q)}if(c=p,h=c.updateQueue,h!==null){var _=c.stateNode;try{var P=h.shared.hiddenCallbacks;if(P!==null)for(h.shared.hiddenCallbacks=null,h=0;h<P.length;h++)Rb(P[h],_)}catch(q){Ge(c,c.return,q)}}u&&S&64&&Y1(p),Yu(p,p.return);break;case 27:F1(p);case 26:case 5:Vr(h,p,u),u&&c===null&&S&4&&X1(p),Yu(p,p.return);break;case 12:Vr(h,p,u);break;case 31:Vr(h,p,u),u&&S&4&&tx(h,p);break;case 13:Vr(h,p,u),u&&S&4&&nx(h,p);break;case 22:p.memoizedState===null&&Vr(h,p,u),Yu(p,p.return);break;case 30:break;default:Vr(h,p,u)}i=i.sibling}}function bh(r,i){var u=null;r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(u=r.memoizedState.cachePool.pool),r=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(r=i.memoizedState.cachePool.pool),r!==u&&(r!=null&&r.refCount++,u!=null&&Pu(u))}function xh(r,i){r=null,i.alternate!==null&&(r=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==r&&(i.refCount++,r!=null&&Pu(r))}function lr(r,i,u,c){if(i.subtreeFlags&10256)for(i=i.child;i!==null;)ix(r,i,u,c),i=i.sibling}function ix(r,i,u,c){var h=i.flags;switch(i.tag){case 0:case 11:case 15:lr(r,i,u,c),h&2048&&Ku(9,i);break;case 1:lr(r,i,u,c);break;case 3:lr(r,i,u,c),h&2048&&(r=null,i.alternate!==null&&(r=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==r&&(i.refCount++,r!=null&&Pu(r)));break;case 12:if(h&2048){lr(r,i,u,c),r=i.stateNode;try{var p=i.memoizedProps,S=p.id,_=p.onPostCommit;typeof _=="function"&&_(S,i.alternate===null?"mount":"update",r.passiveEffectDuration,-0)}catch(P){Ge(i,i.return,P)}}else lr(r,i,u,c);break;case 31:lr(r,i,u,c);break;case 13:lr(r,i,u,c);break;case 23:break;case 22:p=i.stateNode,S=i.alternate,i.memoizedState!==null?p._visibility&2?lr(r,i,u,c):Vu(r,i):p._visibility&2?lr(r,i,u,c):(p._visibility|=2,Al(r,i,u,c,(i.subtreeFlags&10256)!==0||!1)),h&2048&&bh(S,i);break;case 24:lr(r,i,u,c),h&2048&&xh(i.alternate,i);break;default:lr(r,i,u,c)}}function Al(r,i,u,c,h){for(h=h&&((i.subtreeFlags&10256)!==0||!1),i=i.child;i!==null;){var p=r,S=i,_=u,P=c,q=S.flags;switch(S.tag){case 0:case 11:case 15:Al(p,S,_,P,h),Ku(8,S);break;case 23:break;case 22:var X=S.stateNode;S.memoizedState!==null?X._visibility&2?Al(p,S,_,P,h):Vu(p,S):(X._visibility|=2,Al(p,S,_,P,h)),h&&q&2048&&bh(S.alternate,S);break;case 24:Al(p,S,_,P,h),h&&q&2048&&xh(S.alternate,S);break;default:Al(p,S,_,P,h)}i=i.sibling}}function Vu(r,i){if(i.subtreeFlags&10256)for(i=i.child;i!==null;){var u=r,c=i,h=c.flags;switch(c.tag){case 22:Vu(u,c),h&2048&&bh(c.alternate,c);break;case 24:Vu(u,c),h&2048&&xh(c.alternate,c);break;default:Vu(u,c)}i=i.sibling}}var Xu=8192;function El(r,i,u){if(r.subtreeFlags&Xu)for(r=r.child;r!==null;)lx(r,i,u),r=r.sibling}function lx(r,i,u){switch(r.tag){case 26:El(r,i,u),r.flags&Xu&&r.memoizedState!==null&&QP(u,ir,r.memoizedState,r.memoizedProps);break;case 5:El(r,i,u);break;case 3:case 4:var c=ir;ir=ps(r.stateNode.containerInfo),El(r,i,u),ir=c;break;case 22:r.memoizedState===null&&(c=r.alternate,c!==null&&c.memoizedState!==null?(c=Xu,Xu=16777216,El(r,i,u),Xu=c):El(r,i,u));break;default:El(r,i,u)}}function ux(r){var i=r.alternate;if(i!==null&&(r=i.child,r!==null)){i.child=null;do i=r.sibling,r.sibling=null,r=i;while(r!==null)}}function Zu(r){var i=r.deletions;if((r.flags&16)!==0){if(i!==null)for(var u=0;u<i.length;u++){var c=i[u];Lt=c,cx(c,r)}ux(r)}if(r.subtreeFlags&10256)for(r=r.child;r!==null;)ox(r),r=r.sibling}function ox(r){switch(r.tag){case 0:case 11:case 15:Zu(r),r.flags&2048&&Aa(9,r,r.return);break;case 3:Zu(r);break;case 12:Zu(r);break;case 22:var i=r.stateNode;r.memoizedState!==null&&i._visibility&2&&(r.return===null||r.return.tag!==13)?(i._visibility&=-3,rs(r)):Zu(r);break;default:Zu(r)}}function rs(r){var i=r.deletions;if((r.flags&16)!==0){if(i!==null)for(var u=0;u<i.length;u++){var c=i[u];Lt=c,cx(c,r)}ux(r)}for(r=r.child;r!==null;){switch(i=r,i.tag){case 0:case 11:case 15:Aa(8,i,i.return),rs(i);break;case 22:u=i.stateNode,u._visibility&2&&(u._visibility&=-3,rs(i));break;default:rs(i)}r=r.sibling}}function cx(r,i){for(;Lt!==null;){var u=Lt;switch(u.tag){case 0:case 11:case 15:Aa(8,u,i);break;case 23:case 22:if(u.memoizedState!==null&&u.memoizedState.cachePool!==null){var c=u.memoizedState.cachePool.pool;c!=null&&c.refCount++}break;case 24:Pu(u.memoizedState.cache)}if(c=u.child,c!==null)c.return=u,Lt=c;else e:for(u=r;Lt!==null;){c=Lt;var h=c.sibling,p=c.return;if(J1(c),c===u){Lt=null;break e}if(h!==null){h.return=p,Lt=h;break e}Lt=p}}}var vP={getCacheForType:function(r){var i=Yt(bt),u=i.data.get(r);return u===void 0&&(u=r(),i.data.set(r,u)),u},cacheSignal:function(){return Yt(bt).controller.signal}},hP=typeof WeakMap=="function"?WeakMap:Map,Ue=0,Ze=null,Me=null,Ne=0,He=0,Cn=null,Ea=!1,_l=!1,Sh=!1,Xr=0,dt=0,_a=0,yi=0,Oh=0,Nn=0,Tl=0,Fu=null,Sn=null,wh=!1,as=0,sx=0,is=1/0,ls=null,Ta=null,Tt=0,ja=null,jl=null,Zr=0,Ah=0,Eh=null,fx=null,Wu=0,_h=null;function Pn(){return(Ue&2)!==0&&Ne!==0?Ne&-Ne:B.T!==null?Ph():Ln()}function dx(){if(Nn===0)if((Ne&536870912)===0||De){var r=ee;ee<<=1,(ee&3932160)===0&&(ee=262144),Nn=r}else Nn=536870912;return r=jn.current,r!==null&&(r.flags|=32),Nn}function On(r,i,u){(r===Ze&&(He===2||He===9)||r.cancelPendingCommit!==null)&&(Ml(r,0),Ma(r,Ne,Nn,!1)),mn(r,u),((Ue&2)===0||r!==Ze)&&(r===Ze&&((Ue&2)===0&&(yi|=u),dt===4&&Ma(r,Ne,Nn,!1)),xr(r))}function vx(r,i,u){if((Ue&6)!==0)throw Error(a(327));var c=!u&&(i&127)===0&&(i&r.expiredLanes)===0||pr(r,i),h=c?yP(r,i):jh(r,i,!0),p=c;do{if(h===0){_l&&!c&&Ma(r,i,0,!1);break}else{if(u=r.current.alternate,p&&!mP(u)){h=jh(r,i,!1),p=!1;continue}if(h===2){if(p=i,r.errorRecoveryDisabledLanes&p)var S=0;else S=r.pendingLanes&-536870913,S=S!==0?S:S&536870912?536870912:0;if(S!==0){i=S;e:{var _=r;h=Fu;var P=_.current.memoizedState.isDehydrated;if(P&&(Ml(_,S).flags|=256),S=jh(_,S,!1),S!==2){if(Sh&&!P){_.errorRecoveryDisabledLanes|=p,yi|=p,h=4;break e}p=Sn,Sn=h,p!==null&&(Sn===null?Sn=p:Sn.push.apply(Sn,p))}h=S}if(p=!1,h!==2)continue}}if(h===1){Ml(r,0),Ma(r,i,0,!0);break}e:{switch(c=r,p=h,p){case 0:case 1:throw Error(a(345));case 4:if((i&4194048)!==i)break;case 6:Ma(c,i,Nn,!Ea);break e;case 2:Sn=null;break;case 3:case 5:break;default:throw Error(a(329))}if((i&62914560)===i&&(h=as+300-vn(),10<h)){if(Ma(c,i,Nn,!Ea),_t(c,0,!0)!==0)break e;Zr=i,c.timeoutHandle=$x(hx.bind(null,c,u,Sn,ls,wh,i,Nn,yi,Tl,Ea,p,"Throttled",-0,0),h);break e}hx(c,u,Sn,ls,wh,i,Nn,yi,Tl,Ea,p,null,-0,0)}}break}while(!0);xr(r)}function hx(r,i,u,c,h,p,S,_,P,q,X,W,H,Y){if(r.timeoutHandle=-1,W=i.subtreeFlags,W&8192||(W&16785408)===16785408){W={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:kr},lx(i,p,W);var de=(p&62914560)===p?as-vn():(p&4194048)===p?sx-vn():0;if(de=JP(W,de),de!==null){Zr=p,r.cancelPendingCommit=de(Ox.bind(null,r,i,p,u,c,h,S,_,P,X,W,null,H,Y)),Ma(r,p,S,!q);return}}Ox(r,i,p,u,c,h,S,_,P)}function mP(r){for(var i=r;;){var u=i.tag;if((u===0||u===11||u===15)&&i.flags&16384&&(u=i.updateQueue,u!==null&&(u=u.stores,u!==null)))for(var c=0;c<u.length;c++){var h=u[c],p=h.getSnapshot;h=h.value;try{if(!_n(p(),h))return!1}catch{return!1}}if(u=i.child,i.subtreeFlags&16384&&u!==null)u.return=i,i=u;else{if(i===r)break;for(;i.sibling===null;){if(i.return===null||i.return===r)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function Ma(r,i,u,c){i&=~Oh,i&=~yi,r.suspendedLanes|=i,r.pingedLanes&=~i,c&&(r.warmLanes|=i),c=r.expirationTimes;for(var h=i;0<h;){var p=31-un(h),S=1<<p;c[p]=-1,h&=~S}u!==0&&Zi(r,u,i)}function us(){return(Ue&6)===0?(Qu(0),!1):!0}function Th(){if(Me!==null){if(He===0)var r=Me.return;else r=Me,Lr=oi=null,Gv(r),bl=null,ku=0,r=Me;for(;r!==null;)K1(r.alternate,r),r=r.return;Me=null}}function Ml(r,i){var u=r.timeoutHandle;u!==-1&&(r.timeoutHandle=-1,RP(u)),u=r.cancelPendingCommit,u!==null&&(r.cancelPendingCommit=null,u()),Zr=0,Th(),Ze=r,Me=u=zr(r.current,null),Ne=i,He=0,Cn=null,Ea=!1,_l=pr(r,i),Sh=!1,Tl=Nn=Oh=yi=_a=dt=0,Sn=Fu=null,wh=!1,(i&8)!==0&&(i|=i&32);var c=r.entangledLanes;if(c!==0)for(r=r.entanglements,c&=i;0<c;){var h=31-un(c),p=1<<h;i|=r[h],c&=~p}return Xr=i,jc(),u}function mx(r,i){Ee=null,B.H=Hu,i===gl||i===zc?(i=Nb(),He=3):i===Nv?(i=Nb(),He=4):He=i===ih?8:i!==null&&typeof i=="object"&&typeof i.then=="function"?6:1,Cn=i,Me===null&&(dt=1,Fc(r,Hn(i,r.current)))}function px(){var r=jn.current;return r===null?!0:(Ne&4194048)===Ne?Yn===null:(Ne&62914560)===Ne||(Ne&536870912)!==0?r===Yn:!1}function yx(){var r=B.H;return B.H=Hu,r===null?Hu:r}function gx(){var r=B.A;return B.A=vP,r}function os(){dt=4,Ea||(Ne&4194048)!==Ne&&jn.current!==null||(_l=!0),(_a&134217727)===0&&(yi&134217727)===0||Ze===null||Ma(Ze,Ne,Nn,!1)}function jh(r,i,u){var c=Ue;Ue|=2;var h=yx(),p=gx();(Ze!==r||Ne!==i)&&(ls=null,Ml(r,i)),i=!1;var S=dt;e:do try{if(He!==0&&Me!==null){var _=Me,P=Cn;switch(He){case 8:Th(),S=6;break e;case 3:case 2:case 9:case 6:jn.current===null&&(i=!0);var q=He;if(He=0,Cn=null,Cl(r,_,P,q),u&&_l){S=0;break e}break;default:q=He,He=0,Cn=null,Cl(r,_,P,q)}}pP(),S=dt;break}catch(X){mx(r,X)}while(!0);return i&&r.shellSuspendCounter++,Lr=oi=null,Ue=c,B.H=h,B.A=p,Me===null&&(Ze=null,Ne=0,jc()),S}function pP(){for(;Me!==null;)bx(Me)}function yP(r,i){var u=Ue;Ue|=2;var c=yx(),h=gx();Ze!==r||Ne!==i?(ls=null,is=vn()+500,Ml(r,i)):_l=pr(r,i);e:do try{if(He!==0&&Me!==null){i=Me;var p=Cn;t:switch(He){case 1:He=0,Cn=null,Cl(r,i,p,1);break;case 2:case 9:if(Mb(p)){He=0,Cn=null,xx(i);break}i=function(){He!==2&&He!==9||Ze!==r||(He=7),xr(r)},p.then(i,i);break e;case 3:He=7;break e;case 4:He=5;break e;case 7:Mb(p)?(He=0,Cn=null,xx(i)):(He=0,Cn=null,Cl(r,i,p,7));break;case 5:var S=null;switch(Me.tag){case 26:S=Me.memoizedState;case 5:case 27:var _=Me;if(S?iS(S):_.stateNode.complete){He=0,Cn=null;var P=_.sibling;if(P!==null)Me=P;else{var q=_.return;q!==null?(Me=q,cs(q)):Me=null}break t}}He=0,Cn=null,Cl(r,i,p,5);break;case 6:He=0,Cn=null,Cl(r,i,p,6);break;case 8:Th(),dt=6;break e;default:throw Error(a(462))}}gP();break}catch(X){mx(r,X)}while(!0);return Lr=oi=null,B.H=c,B.A=h,Ue=u,Me!==null?0:(Ze=null,Ne=0,jc(),dt)}function gP(){for(;Me!==null&&!qd();)bx(Me)}function bx(r){var i=G1(r.alternate,r,Xr);r.memoizedProps=r.pendingProps,i===null?cs(r):Me=i}function xx(r){var i=r,u=i.alternate;switch(i.tag){case 15:case 0:i=I1(u,i,i.pendingProps,i.type,void 0,Ne);break;case 11:i=I1(u,i,i.pendingProps,i.type.render,i.ref,Ne);break;case 5:Gv(i);default:K1(u,i),i=Me=gb(i,Xr),i=G1(u,i,Xr)}r.memoizedProps=r.pendingProps,i===null?cs(r):Me=i}function Cl(r,i,u,c){Lr=oi=null,Gv(i),bl=null,ku=0;var h=i.return;try{if(lP(r,h,i,u,Ne)){dt=1,Fc(r,Hn(u,r.current)),Me=null;return}}catch(p){if(h!==null)throw Me=h,p;dt=1,Fc(r,Hn(u,r.current)),Me=null;return}i.flags&32768?(De||c===1?r=!0:_l||(Ne&536870912)!==0?r=!1:(Ea=r=!0,(c===2||c===9||c===3||c===6)&&(c=jn.current,c!==null&&c.tag===13&&(c.flags|=16384))),Sx(i,r)):cs(i)}function cs(r){var i=r;do{if((i.flags&32768)!==0){Sx(i,Ea);return}r=i.return;var u=cP(i.alternate,i,Xr);if(u!==null){Me=u;return}if(i=i.sibling,i!==null){Me=i;return}Me=i=r}while(i!==null);dt===0&&(dt=5)}function Sx(r,i){do{var u=sP(r.alternate,r);if(u!==null){u.flags&=32767,Me=u;return}if(u=r.return,u!==null&&(u.flags|=32768,u.subtreeFlags=0,u.deletions=null),!i&&(r=r.sibling,r!==null)){Me=r;return}Me=r=u}while(r!==null);dt=6,Me=null}function Ox(r,i,u,c,h,p,S,_,P){r.cancelPendingCommit=null;do ss();while(Tt!==0);if((Ue&6)!==0)throw Error(a(327));if(i!==null){if(i===r.current)throw Error(a(177));if(p=i.lanes|i.childLanes,p|=pv,gu(r,u,p,S,_,P),r===Ze&&(Me=Ze=null,Ne=0),jl=i,ja=r,Zr=u,Ah=p,Eh=h,fx=c,(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?(r.callbackNode=null,r.callbackPriority=0,OP(Xi,function(){return Tx(),null})):(r.callbackNode=null,r.callbackPriority=0),c=(i.flags&13878)!==0,(i.subtreeFlags&13878)!==0||c){c=B.T,B.T=null,h=Z.p,Z.p=2,S=Ue,Ue|=4;try{fP(r,i,u)}finally{Ue=S,Z.p=h,B.T=c}}Tt=1,wx(),Ax(),Ex()}}function wx(){if(Tt===1){Tt=0;var r=ja,i=jl,u=(i.flags&13878)!==0;if((i.subtreeFlags&13878)!==0||u){u=B.T,B.T=null;var c=Z.p;Z.p=2;var h=Ue;Ue|=4;try{rx(i,r);var p=Uh,S=cb(r.containerInfo),_=p.focusedElem,P=p.selectionRange;if(S!==_&&_&&_.ownerDocument&&ob(_.ownerDocument.documentElement,_)){if(P!==null&&fv(_)){var q=P.start,X=P.end;if(X===void 0&&(X=q),"selectionStart"in _)_.selectionStart=q,_.selectionEnd=Math.min(X,_.value.length);else{var W=_.ownerDocument||document,H=W&&W.defaultView||window;if(H.getSelection){var Y=H.getSelection(),de=_.textContent.length,Se=Math.min(P.start,de),Ye=P.end===void 0?Se:Math.min(P.end,de);!Y.extend&&Se>Ye&&(S=Ye,Ye=Se,Se=S);var I=ub(_,Se),R=ub(_,Ye);if(I&&R&&(Y.rangeCount!==1||Y.anchorNode!==I.node||Y.anchorOffset!==I.offset||Y.focusNode!==R.node||Y.focusOffset!==R.offset)){var U=W.createRange();U.setStart(I.node,I.offset),Y.removeAllRanges(),Se>Ye?(Y.addRange(U),Y.extend(R.node,R.offset)):(U.setEnd(R.node,R.offset),Y.addRange(U))}}}}for(W=[],Y=_;Y=Y.parentNode;)Y.nodeType===1&&W.push({element:Y,left:Y.scrollLeft,top:Y.scrollTop});for(typeof _.focus=="function"&&_.focus(),_=0;_<W.length;_++){var F=W[_];F.element.scrollLeft=F.left,F.element.scrollTop=F.top}}Os=!!Bh,Uh=Bh=null}finally{Ue=h,Z.p=c,B.T=u}}r.current=i,Tt=2}}function Ax(){if(Tt===2){Tt=0;var r=ja,i=jl,u=(i.flags&8772)!==0;if((i.subtreeFlags&8772)!==0||u){u=B.T,B.T=null;var c=Z.p;Z.p=2;var h=Ue;Ue|=4;try{Q1(r,i.alternate,i)}finally{Ue=h,Z.p=c,B.T=u}}Tt=3}}function Ex(){if(Tt===4||Tt===3){Tt=0,yu();var r=ja,i=jl,u=Zr,c=fx;(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?Tt=5:(Tt=0,jl=ja=null,_x(r,r.pendingLanes));var h=r.pendingLanes;if(h===0&&(Ta=null),Gt(u),i=i.stateNode,ln&&typeof ln.onCommitFiberRoot=="function")try{ln.onCommitFiberRoot(Qa,i,void 0,(i.current.flags&128)===128)}catch{}if(c!==null){i=B.T,h=Z.p,Z.p=2,B.T=null;try{for(var p=r.onRecoverableError,S=0;S<c.length;S++){var _=c[S];p(_.value,{componentStack:_.stack})}}finally{B.T=i,Z.p=h}}(Zr&3)!==0&&ss(),xr(r),h=r.pendingLanes,(u&261930)!==0&&(h&42)!==0?r===_h?Wu++:(Wu=0,_h=r):Wu=0,Qu(0)}}function _x(r,i){(r.pooledCacheLanes&=i)===0&&(i=r.pooledCache,i!=null&&(r.pooledCache=null,Pu(i)))}function ss(){return wx(),Ax(),Ex(),Tx()}function Tx(){if(Tt!==5)return!1;var r=ja,i=Ah;Ah=0;var u=Gt(Zr),c=B.T,h=Z.p;try{Z.p=32>u?32:u,B.T=null,u=Eh,Eh=null;var p=ja,S=Zr;if(Tt=0,jl=ja=null,Zr=0,(Ue&6)!==0)throw Error(a(331));var _=Ue;if(Ue|=4,ox(p.current),ix(p,p.current,S,u),Ue=_,Qu(0,!1),ln&&typeof ln.onPostCommitFiberRoot=="function")try{ln.onPostCommitFiberRoot(Qa,p)}catch{}return!0}finally{Z.p=h,B.T=c,_x(r,i)}}function jx(r,i,u){i=Hn(u,i),i=ah(r.stateNode,i,2),r=Sa(r,i,2),r!==null&&(mn(r,2),xr(r))}function Ge(r,i,u){if(r.tag===3)jx(r,r,u);else for(;i!==null;){if(i.tag===3){jx(i,r,u);break}else if(i.tag===1){var c=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(Ta===null||!Ta.has(c))){r=Hn(u,r),u=M1(2),c=Sa(i,u,2),c!==null&&(C1(u,c,i,r),mn(c,2),xr(c));break}}i=i.return}}function Mh(r,i,u){var c=r.pingCache;if(c===null){c=r.pingCache=new hP;var h=new Set;c.set(i,h)}else h=c.get(i),h===void 0&&(h=new Set,c.set(i,h));h.has(u)||(Sh=!0,h.add(u),r=bP.bind(null,r,i,u),i.then(r,r))}function bP(r,i,u){var c=r.pingCache;c!==null&&c.delete(i),r.pingedLanes|=r.suspendedLanes&u,r.warmLanes&=~u,Ze===r&&(Ne&u)===u&&(dt===4||dt===3&&(Ne&62914560)===Ne&&300>vn()-as?(Ue&2)===0&&Ml(r,0):Oh|=u,Tl===Ne&&(Tl=0)),xr(r)}function Mx(r,i){i===0&&(i=hn()),r=ii(r,i),r!==null&&(mn(r,i),xr(r))}function xP(r){var i=r.memoizedState,u=0;i!==null&&(u=i.retryLane),Mx(r,u)}function SP(r,i){var u=0;switch(r.tag){case 31:case 13:var c=r.stateNode,h=r.memoizedState;h!==null&&(u=h.retryLane);break;case 19:c=r.stateNode;break;case 22:c=r.stateNode._retryCache;break;default:throw Error(a(314))}c!==null&&c.delete(i),Mx(r,u)}function OP(r,i){return dc(r,i)}var fs=null,Nl=null,Ch=!1,ds=!1,Nh=!1,Ca=0;function xr(r){r!==Nl&&r.next===null&&(Nl===null?fs=Nl=r:Nl=Nl.next=r),ds=!0,Ch||(Ch=!0,AP())}function Qu(r,i){if(!Nh&&ds){Nh=!0;do for(var u=!1,c=fs;c!==null;){if(r!==0){var h=c.pendingLanes;if(h===0)var p=0;else{var S=c.suspendedLanes,_=c.pingedLanes;p=(1<<31-un(42|r)+1)-1,p&=h&~(S&~_),p=p&201326741?p&201326741|1:p?p|2:0}p!==0&&(u=!0,Dx(c,p))}else p=Ne,p=_t(c,c===Ze?p:0,c.cancelPendingCommit!==null||c.timeoutHandle!==-1),(p&3)===0||pr(c,p)||(u=!0,Dx(c,p));c=c.next}while(u);Nh=!1}}function wP(){Cx()}function Cx(){ds=Ch=!1;var r=0;Ca!==0&&kP()&&(r=Ca);for(var i=vn(),u=null,c=fs;c!==null;){var h=c.next,p=Nx(c,i);p===0?(c.next=null,u===null?fs=h:u.next=h,h===null&&(Nl=u)):(u=c,(r!==0||(p&3)!==0)&&(ds=!0)),c=h}Tt!==0&&Tt!==5||Qu(r),Ca!==0&&(Ca=0)}function Nx(r,i){for(var u=r.suspendedLanes,c=r.pingedLanes,h=r.expirationTimes,p=r.pendingLanes&-62914561;0<p;){var S=31-un(p),_=1<<S,P=h[S];P===-1?((_&u)===0||(_&c)!==0)&&(h[S]=st(_,i)):P<=i&&(r.expiredLanes|=_),p&=~_}if(i=Ze,u=Ne,u=_t(r,r===i?u:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),c=r.callbackNode,u===0||r===i&&(He===2||He===9)||r.cancelPendingCommit!==null)return c!==null&&c!==null&&pu(c),r.callbackNode=null,r.callbackPriority=0;if((u&3)===0||pr(r,u)){if(i=u&-u,i===r.callbackPriority)return i;switch(c!==null&&pu(c),Gt(u)){case 2:case 8:u=Wa;break;case 32:u=Xi;break;case 268435456:u=hc;break;default:u=Xi}return c=Px.bind(null,r),u=dc(u,c),r.callbackPriority=i,r.callbackNode=u,i}return c!==null&&c!==null&&pu(c),r.callbackPriority=2,r.callbackNode=null,2}function Px(r,i){if(Tt!==0&&Tt!==5)return r.callbackNode=null,r.callbackPriority=0,null;var u=r.callbackNode;if(ss()&&r.callbackNode!==u)return null;var c=Ne;return c=_t(r,r===Ze?c:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),c===0?null:(vx(r,c,i),Nx(r,vn()),r.callbackNode!=null&&r.callbackNode===u?Px.bind(null,r):null)}function Dx(r,i){if(ss())return null;vx(r,i,!0)}function AP(){zP(function(){(Ue&6)!==0?dc(vc,wP):Cx()})}function Ph(){if(Ca===0){var r=pl;r===0&&(r=Ja,Ja<<=1,(Ja&261888)===0&&(Ja=256)),Ca=r}return Ca}function kx(r){return r==null||typeof r=="symbol"||typeof r=="boolean"?null:typeof r=="function"?r:xc(""+r)}function Rx(r,i){var u=i.ownerDocument.createElement("input");return u.name=i.name,u.value=i.value,r.id&&u.setAttribute("form",r.id),i.parentNode.insertBefore(u,i),r=new FormData(r),u.parentNode.removeChild(u),r}function EP(r,i,u,c,h){if(i==="submit"&&u&&u.stateNode===h){var p=kx((h[pn]||null).action),S=c.submitter;S&&(i=(i=S[pn]||null)?kx(i.formAction):S.getAttribute("formAction"),i!==null&&(p=i,S=null));var _=new Ac("action","action",null,c,h);r.push({event:_,listeners:[{instance:null,listener:function(){if(c.defaultPrevented){if(Ca!==0){var P=S?Rx(h,S):new FormData(h);Qv(u,{pending:!0,data:P,method:h.method,action:p},null,P)}}else typeof p=="function"&&(_.preventDefault(),P=S?Rx(h,S):new FormData(h),Qv(u,{pending:!0,data:P,method:h.method,action:p},p,P))},currentTarget:h}]})}}for(var Dh=0;Dh<mv.length;Dh++){var kh=mv[Dh],_P=kh.toLowerCase(),TP=kh[0].toUpperCase()+kh.slice(1);ar(_P,"on"+TP)}ar(db,"onAnimationEnd"),ar(vb,"onAnimationIteration"),ar(hb,"onAnimationStart"),ar("dblclick","onDoubleClick"),ar("focusin","onFocus"),ar("focusout","onBlur"),ar(GN,"onTransitionRun"),ar($N,"onTransitionStart"),ar(KN,"onTransitionCancel"),ar(mb,"onTransitionEnd"),nl("onMouseEnter",["mouseout","mouseover"]),nl("onMouseLeave",["mouseout","mouseover"]),nl("onPointerEnter",["pointerout","pointerover"]),nl("onPointerLeave",["pointerout","pointerover"]),ti("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ti("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ti("onBeforeInput",["compositionend","keypress","textInput","paste"]),ti("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ti("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ti("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ju="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(" "),jP=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ju));function zx(r,i){i=(i&4)!==0;for(var u=0;u<r.length;u++){var c=r[u],h=c.event;c=c.listeners;e:{var p=void 0;if(i)for(var S=c.length-1;0<=S;S--){var _=c[S],P=_.instance,q=_.currentTarget;if(_=_.listener,P!==p&&h.isPropagationStopped())break e;p=_,h.currentTarget=q;try{p(h)}catch(X){Tc(X)}h.currentTarget=null,p=P}else for(S=0;S<c.length;S++){if(_=c[S],P=_.instance,q=_.currentTarget,_=_.listener,P!==p&&h.isPropagationStopped())break e;p=_,h.currentTarget=q;try{p(h)}catch(X){Tc(X)}h.currentTarget=null,p=P}}}}function Ce(r,i){var u=i[Vd];u===void 0&&(u=i[Vd]=new Set);var c=r+"__bubble";u.has(c)||(Ix(i,r,2,!1),u.add(c))}function Rh(r,i,u){var c=0;i&&(c|=4),Ix(u,r,c,i)}var vs="_reactListening"+Math.random().toString(36).slice(2);function zh(r){if(!r[vs]){r[vs]=!0,Cg.forEach(function(u){u!=="selectionchange"&&(jP.has(u)||Rh(u,!1,r),Rh(u,!0,r))});var i=r.nodeType===9?r:r.ownerDocument;i===null||i[vs]||(i[vs]=!0,Rh("selectionchange",!1,i))}}function Ix(r,i,u,c){switch(dS(i)){case 2:var h=nD;break;case 8:h=rD;break;default:h=Wh}u=h.bind(null,i,u,r),h=void 0,!nv||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(h=!0),c?h!==void 0?r.addEventListener(i,u,{capture:!0,passive:h}):r.addEventListener(i,u,!0):h!==void 0?r.addEventListener(i,u,{passive:h}):r.addEventListener(i,u,!1)}function Ih(r,i,u,c,h){var p=c;if((i&1)===0&&(i&2)===0&&c!==null)e:for(;;){if(c===null)return;var S=c.tag;if(S===3||S===4){var _=c.stateNode.containerInfo;if(_===h)break;if(S===4)for(S=c.return;S!==null;){var P=S.tag;if((P===3||P===4)&&S.stateNode.containerInfo===h)return;S=S.return}for(;_!==null;){if(S=Ji(_),S===null)return;if(P=S.tag,P===5||P===6||P===26||P===27){c=p=S;continue e}_=_.parentNode}}c=c.return}Hg(function(){var q=p,X=ev(u),W=[];e:{var H=pb.get(r);if(H!==void 0){var Y=Ac,de=r;switch(r){case"keypress":if(Oc(u)===0)break e;case"keydown":case"keyup":Y=SN;break;case"focusin":de="focus",Y=lv;break;case"focusout":de="blur",Y=lv;break;case"beforeblur":case"afterblur":Y=lv;break;case"click":if(u.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Y=Kg;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Y=cN;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Y=AN;break;case db:case vb:case hb:Y=dN;break;case mb:Y=_N;break;case"scroll":case"scrollend":Y=uN;break;case"wheel":Y=jN;break;case"copy":case"cut":case"paste":Y=hN;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Y=Vg;break;case"toggle":case"beforetoggle":Y=CN}var Se=(i&4)!==0,Ye=!Se&&(r==="scroll"||r==="scrollend"),I=Se?H!==null?H+"Capture":null:H;Se=[];for(var R=q,U;R!==null;){var F=R;if(U=F.stateNode,F=F.tag,F!==5&&F!==26&&F!==27||U===null||I===null||(F=Su(R,I),F!=null&&Se.push(eo(R,F,U))),Ye)break;R=R.return}0<Se.length&&(H=new Y(H,de,null,u,X),W.push({event:H,listeners:Se}))}}if((i&7)===0){e:{if(H=r==="mouseover"||r==="pointerover",Y=r==="mouseout"||r==="pointerout",H&&u!==Jd&&(de=u.relatedTarget||u.fromElement)&&(Ji(de)||de[Qi]))break e;if((Y||H)&&(H=X.window===X?X:(H=X.ownerDocument)?H.defaultView||H.parentWindow:window,Y?(de=u.relatedTarget||u.toElement,Y=q,de=de?Ji(de):null,de!==null&&(Ye=o(de),Se=de.tag,de!==Ye||Se!==5&&Se!==27&&Se!==6)&&(de=null)):(Y=null,de=q),Y!==de)){if(Se=Kg,F="onMouseLeave",I="onMouseEnter",R="mouse",(r==="pointerout"||r==="pointerover")&&(Se=Vg,F="onPointerLeave",I="onPointerEnter",R="pointer"),Ye=Y==null?H:xu(Y),U=de==null?H:xu(de),H=new Se(F,R+"leave",Y,u,X),H.target=Ye,H.relatedTarget=U,F=null,Ji(X)===q&&(Se=new Se(I,R+"enter",de,u,X),Se.target=U,Se.relatedTarget=Ye,F=Se),Ye=F,Y&&de)t:{for(Se=MP,I=Y,R=de,U=0,F=I;F;F=Se(F))U++;F=0;for(var xe=R;xe;xe=Se(xe))F++;for(;0<U-F;)I=Se(I),U--;for(;0<F-U;)R=Se(R),F--;for(;U--;){if(I===R||R!==null&&I===R.alternate){Se=I;break t}I=Se(I),R=Se(R)}Se=null}else Se=null;Y!==null&&Lx(W,H,Y,Se,!1),de!==null&&Ye!==null&&Lx(W,Ye,de,Se,!0)}}e:{if(H=q?xu(q):window,Y=H.nodeName&&H.nodeName.toLowerCase(),Y==="select"||Y==="input"&&H.type==="file")var Ie=tb;else if(Jg(H))if(nb)Ie=UN;else{Ie=LN;var pe=IN}else Y=H.nodeName,!Y||Y.toLowerCase()!=="input"||H.type!=="checkbox"&&H.type!=="radio"?q&&Qd(q.elementType)&&(Ie=tb):Ie=BN;if(Ie&&(Ie=Ie(r,q))){eb(W,Ie,u,X);break e}pe&&pe(r,H,q),r==="focusout"&&q&&H.type==="number"&&q.memoizedProps.value!=null&&Wd(H,"number",H.value)}switch(pe=q?xu(q):window,r){case"focusin":(Jg(pe)||pe.contentEditable==="true")&&(ol=pe,dv=q,Mu=null);break;case"focusout":Mu=dv=ol=null;break;case"mousedown":vv=!0;break;case"contextmenu":case"mouseup":case"dragend":vv=!1,sb(W,u,X);break;case"selectionchange":if(HN)break;case"keydown":case"keyup":sb(W,u,X)}var _e;if(ov)e:{switch(r){case"compositionstart":var Pe="onCompositionStart";break e;case"compositionend":Pe="onCompositionEnd";break e;case"compositionupdate":Pe="onCompositionUpdate";break e}Pe=void 0}else ul?Wg(r,u)&&(Pe="onCompositionEnd"):r==="keydown"&&u.keyCode===229&&(Pe="onCompositionStart");Pe&&(Xg&&u.locale!=="ko"&&(ul||Pe!=="onCompositionStart"?Pe==="onCompositionEnd"&&ul&&(_e=Gg()):(ha=X,rv="value"in ha?ha.value:ha.textContent,ul=!0)),pe=hs(q,Pe),0<pe.length&&(Pe=new Yg(Pe,r,null,u,X),W.push({event:Pe,listeners:pe}),_e?Pe.data=_e:(_e=Qg(u),_e!==null&&(Pe.data=_e)))),(_e=PN?DN(r,u):kN(r,u))&&(Pe=hs(q,"onBeforeInput"),0<Pe.length&&(pe=new Yg("onBeforeInput","beforeinput",null,u,X),W.push({event:pe,listeners:Pe}),pe.data=_e)),EP(W,r,q,u,X)}zx(W,i)})}function eo(r,i,u){return{instance:r,listener:i,currentTarget:u}}function hs(r,i){for(var u=i+"Capture",c=[];r!==null;){var h=r,p=h.stateNode;if(h=h.tag,h!==5&&h!==26&&h!==27||p===null||(h=Su(r,u),h!=null&&c.unshift(eo(r,h,p)),h=Su(r,i),h!=null&&c.push(eo(r,h,p))),r.tag===3)return c;r=r.return}return[]}function MP(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5&&r.tag!==27);return r||null}function Lx(r,i,u,c,h){for(var p=i._reactName,S=[];u!==null&&u!==c;){var _=u,P=_.alternate,q=_.stateNode;if(_=_.tag,P!==null&&P===c)break;_!==5&&_!==26&&_!==27||q===null||(P=q,h?(q=Su(u,p),q!=null&&S.unshift(eo(u,q,P))):h||(q=Su(u,p),q!=null&&S.push(eo(u,q,P)))),u=u.return}S.length!==0&&r.push({event:i,listeners:S})}var CP=/\r\n?/g,NP=/\u0000|\uFFFD/g;function Bx(r){return(typeof r=="string"?r:""+r).replace(CP,`
`).replace(NP,"")}function Ux(r,i){return i=Bx(i),Bx(r)===i}function Ke(r,i,u,c,h,p){switch(u){case"children":typeof c=="string"?i==="body"||i==="textarea"&&c===""||al(r,c):(typeof c=="number"||typeof c=="bigint")&&i!=="body"&&al(r,""+c);break;case"className":gc(r,"class",c);break;case"tabIndex":gc(r,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":gc(r,u,c);break;case"style":Ug(r,c,p);break;case"data":if(i!=="object"){gc(r,"data",c);break}case"src":case"href":if(c===""&&(i!=="a"||u!=="href")){r.removeAttribute(u);break}if(c==null||typeof c=="function"||typeof c=="symbol"||typeof c=="boolean"){r.removeAttribute(u);break}c=xc(""+c),r.setAttribute(u,c);break;case"action":case"formAction":if(typeof c=="function"){r.setAttribute(u,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof p=="function"&&(u==="formAction"?(i!=="input"&&Ke(r,i,"name",h.name,h,null),Ke(r,i,"formEncType",h.formEncType,h,null),Ke(r,i,"formMethod",h.formMethod,h,null),Ke(r,i,"formTarget",h.formTarget,h,null)):(Ke(r,i,"encType",h.encType,h,null),Ke(r,i,"method",h.method,h,null),Ke(r,i,"target",h.target,h,null)));if(c==null||typeof c=="symbol"||typeof c=="boolean"){r.removeAttribute(u);break}c=xc(""+c),r.setAttribute(u,c);break;case"onClick":c!=null&&(r.onclick=kr);break;case"onScroll":c!=null&&Ce("scroll",r);break;case"onScrollEnd":c!=null&&Ce("scrollend",r);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(a(61));if(u=c.__html,u!=null){if(h.children!=null)throw Error(a(60));r.innerHTML=u}}break;case"multiple":r.multiple=c&&typeof c!="function"&&typeof c!="symbol";break;case"muted":r.muted=c&&typeof c!="function"&&typeof c!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(c==null||typeof c=="function"||typeof c=="boolean"||typeof c=="symbol"){r.removeAttribute("xlink:href");break}u=xc(""+c),r.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",u);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":c!=null&&typeof c!="function"&&typeof c!="symbol"?r.setAttribute(u,""+c):r.removeAttribute(u);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":c&&typeof c!="function"&&typeof c!="symbol"?r.setAttribute(u,""):r.removeAttribute(u);break;case"capture":case"download":c===!0?r.setAttribute(u,""):c!==!1&&c!=null&&typeof c!="function"&&typeof c!="symbol"?r.setAttribute(u,c):r.removeAttribute(u);break;case"cols":case"rows":case"size":case"span":c!=null&&typeof c!="function"&&typeof c!="symbol"&&!isNaN(c)&&1<=c?r.setAttribute(u,c):r.removeAttribute(u);break;case"rowSpan":case"start":c==null||typeof c=="function"||typeof c=="symbol"||isNaN(c)?r.removeAttribute(u):r.setAttribute(u,c);break;case"popover":Ce("beforetoggle",r),Ce("toggle",r),yc(r,"popover",c);break;case"xlinkActuate":Dr(r,"http://www.w3.org/1999/xlink","xlink:actuate",c);break;case"xlinkArcrole":Dr(r,"http://www.w3.org/1999/xlink","xlink:arcrole",c);break;case"xlinkRole":Dr(r,"http://www.w3.org/1999/xlink","xlink:role",c);break;case"xlinkShow":Dr(r,"http://www.w3.org/1999/xlink","xlink:show",c);break;case"xlinkTitle":Dr(r,"http://www.w3.org/1999/xlink","xlink:title",c);break;case"xlinkType":Dr(r,"http://www.w3.org/1999/xlink","xlink:type",c);break;case"xmlBase":Dr(r,"http://www.w3.org/XML/1998/namespace","xml:base",c);break;case"xmlLang":Dr(r,"http://www.w3.org/XML/1998/namespace","xml:lang",c);break;case"xmlSpace":Dr(r,"http://www.w3.org/XML/1998/namespace","xml:space",c);break;case"is":yc(r,"is",c);break;case"innerText":case"textContent":break;default:(!(2<u.length)||u[0]!=="o"&&u[0]!=="O"||u[1]!=="n"&&u[1]!=="N")&&(u=iN.get(u)||u,yc(r,u,c))}}function Lh(r,i,u,c,h,p){switch(u){case"style":Ug(r,c,p);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(a(61));if(u=c.__html,u!=null){if(h.children!=null)throw Error(a(60));r.innerHTML=u}}break;case"children":typeof c=="string"?al(r,c):(typeof c=="number"||typeof c=="bigint")&&al(r,""+c);break;case"onScroll":c!=null&&Ce("scroll",r);break;case"onScrollEnd":c!=null&&Ce("scrollend",r);break;case"onClick":c!=null&&(r.onclick=kr);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Ng.hasOwnProperty(u))e:{if(u[0]==="o"&&u[1]==="n"&&(h=u.endsWith("Capture"),i=u.slice(2,h?u.length-7:void 0),p=r[pn]||null,p=p!=null?p[u]:null,typeof p=="function"&&r.removeEventListener(i,p,h),typeof c=="function")){typeof p!="function"&&p!==null&&(u in r?r[u]=null:r.hasAttribute(u)&&r.removeAttribute(u)),r.addEventListener(i,c,h);break e}u in r?r[u]=c:c===!0?r.setAttribute(u,""):yc(r,u,c)}}}function Xt(r,i,u){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ce("error",r),Ce("load",r);var c=!1,h=!1,p;for(p in u)if(u.hasOwnProperty(p)){var S=u[p];if(S!=null)switch(p){case"src":c=!0;break;case"srcSet":h=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a(137,i));default:Ke(r,i,p,S,u,null)}}h&&Ke(r,i,"srcSet",u.srcSet,u,null),c&&Ke(r,i,"src",u.src,u,null);return;case"input":Ce("invalid",r);var _=p=S=h=null,P=null,q=null;for(c in u)if(u.hasOwnProperty(c)){var X=u[c];if(X!=null)switch(c){case"name":h=X;break;case"type":S=X;break;case"checked":P=X;break;case"defaultChecked":q=X;break;case"value":p=X;break;case"defaultValue":_=X;break;case"children":case"dangerouslySetInnerHTML":if(X!=null)throw Error(a(137,i));break;default:Ke(r,i,c,X,u,null)}}zg(r,p,_,P,q,S,h,!1);return;case"select":Ce("invalid",r),c=S=p=null;for(h in u)if(u.hasOwnProperty(h)&&(_=u[h],_!=null))switch(h){case"value":p=_;break;case"defaultValue":S=_;break;case"multiple":c=_;default:Ke(r,i,h,_,u,null)}i=p,u=S,r.multiple=!!c,i!=null?rl(r,!!c,i,!1):u!=null&&rl(r,!!c,u,!0);return;case"textarea":Ce("invalid",r),p=h=c=null;for(S in u)if(u.hasOwnProperty(S)&&(_=u[S],_!=null))switch(S){case"value":c=_;break;case"defaultValue":h=_;break;case"children":p=_;break;case"dangerouslySetInnerHTML":if(_!=null)throw Error(a(91));break;default:Ke(r,i,S,_,u,null)}Lg(r,c,h,p);return;case"option":for(P in u)if(u.hasOwnProperty(P)&&(c=u[P],c!=null))switch(P){case"selected":r.selected=c&&typeof c!="function"&&typeof c!="symbol";break;default:Ke(r,i,P,c,u,null)}return;case"dialog":Ce("beforetoggle",r),Ce("toggle",r),Ce("cancel",r),Ce("close",r);break;case"iframe":case"object":Ce("load",r);break;case"video":case"audio":for(c=0;c<Ju.length;c++)Ce(Ju[c],r);break;case"image":Ce("error",r),Ce("load",r);break;case"details":Ce("toggle",r);break;case"embed":case"source":case"link":Ce("error",r),Ce("load",r);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(q in u)if(u.hasOwnProperty(q)&&(c=u[q],c!=null))switch(q){case"children":case"dangerouslySetInnerHTML":throw Error(a(137,i));default:Ke(r,i,q,c,u,null)}return;default:if(Qd(i)){for(X in u)u.hasOwnProperty(X)&&(c=u[X],c!==void 0&&Lh(r,i,X,c,u,void 0));return}}for(_ in u)u.hasOwnProperty(_)&&(c=u[_],c!=null&&Ke(r,i,_,c,u,null))}function PP(r,i,u,c){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var h=null,p=null,S=null,_=null,P=null,q=null,X=null;for(Y in u){var W=u[Y];if(u.hasOwnProperty(Y)&&W!=null)switch(Y){case"checked":break;case"value":break;case"defaultValue":P=W;default:c.hasOwnProperty(Y)||Ke(r,i,Y,null,c,W)}}for(var H in c){var Y=c[H];if(W=u[H],c.hasOwnProperty(H)&&(Y!=null||W!=null))switch(H){case"type":p=Y;break;case"name":h=Y;break;case"checked":q=Y;break;case"defaultChecked":X=Y;break;case"value":S=Y;break;case"defaultValue":_=Y;break;case"children":case"dangerouslySetInnerHTML":if(Y!=null)throw Error(a(137,i));break;default:Y!==W&&Ke(r,i,H,Y,c,W)}}Fd(r,S,_,P,q,X,p,h);return;case"select":Y=S=_=H=null;for(p in u)if(P=u[p],u.hasOwnProperty(p)&&P!=null)switch(p){case"value":break;case"multiple":Y=P;default:c.hasOwnProperty(p)||Ke(r,i,p,null,c,P)}for(h in c)if(p=c[h],P=u[h],c.hasOwnProperty(h)&&(p!=null||P!=null))switch(h){case"value":H=p;break;case"defaultValue":_=p;break;case"multiple":S=p;default:p!==P&&Ke(r,i,h,p,c,P)}i=_,u=S,c=Y,H!=null?rl(r,!!u,H,!1):!!c!=!!u&&(i!=null?rl(r,!!u,i,!0):rl(r,!!u,u?[]:"",!1));return;case"textarea":Y=H=null;for(_ in u)if(h=u[_],u.hasOwnProperty(_)&&h!=null&&!c.hasOwnProperty(_))switch(_){case"value":break;case"children":break;default:Ke(r,i,_,null,c,h)}for(S in c)if(h=c[S],p=u[S],c.hasOwnProperty(S)&&(h!=null||p!=null))switch(S){case"value":H=h;break;case"defaultValue":Y=h;break;case"children":break;case"dangerouslySetInnerHTML":if(h!=null)throw Error(a(91));break;default:h!==p&&Ke(r,i,S,h,c,p)}Ig(r,H,Y);return;case"option":for(var de in u)if(H=u[de],u.hasOwnProperty(de)&&H!=null&&!c.hasOwnProperty(de))switch(de){case"selected":r.selected=!1;break;default:Ke(r,i,de,null,c,H)}for(P in c)if(H=c[P],Y=u[P],c.hasOwnProperty(P)&&H!==Y&&(H!=null||Y!=null))switch(P){case"selected":r.selected=H&&typeof H!="function"&&typeof H!="symbol";break;default:Ke(r,i,P,H,c,Y)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Se in u)H=u[Se],u.hasOwnProperty(Se)&&H!=null&&!c.hasOwnProperty(Se)&&Ke(r,i,Se,null,c,H);for(q in c)if(H=c[q],Y=u[q],c.hasOwnProperty(q)&&H!==Y&&(H!=null||Y!=null))switch(q){case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(a(137,i));break;default:Ke(r,i,q,H,c,Y)}return;default:if(Qd(i)){for(var Ye in u)H=u[Ye],u.hasOwnProperty(Ye)&&H!==void 0&&!c.hasOwnProperty(Ye)&&Lh(r,i,Ye,void 0,c,H);for(X in c)H=c[X],Y=u[X],!c.hasOwnProperty(X)||H===Y||H===void 0&&Y===void 0||Lh(r,i,X,H,c,Y);return}}for(var I in u)H=u[I],u.hasOwnProperty(I)&&H!=null&&!c.hasOwnProperty(I)&&Ke(r,i,I,null,c,H);for(W in c)H=c[W],Y=u[W],!c.hasOwnProperty(W)||H===Y||H==null&&Y==null||Ke(r,i,W,H,c,Y)}function qx(r){switch(r){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function DP(){if(typeof performance.getEntriesByType=="function"){for(var r=0,i=0,u=performance.getEntriesByType("resource"),c=0;c<u.length;c++){var h=u[c],p=h.transferSize,S=h.initiatorType,_=h.duration;if(p&&_&&qx(S)){for(S=0,_=h.responseEnd,c+=1;c<u.length;c++){var P=u[c],q=P.startTime;if(q>_)break;var X=P.transferSize,W=P.initiatorType;X&&qx(W)&&(P=P.responseEnd,S+=X*(P<_?1:(_-q)/(P-q)))}if(--c,i+=8*(p+S)/(h.duration/1e3),r++,10<r)break}}if(0<r)return i/r/1e6}return navigator.connection&&(r=navigator.connection.downlink,typeof r=="number")?r:5}var Bh=null,Uh=null;function ms(r){return r.nodeType===9?r:r.ownerDocument}function Hx(r){switch(r){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Gx(r,i){if(r===0)switch(i){case"svg":return 1;case"math":return 2;default:return 0}return r===1&&i==="foreignObject"?0:r}function qh(r,i){return r==="textarea"||r==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.children=="bigint"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var Hh=null;function kP(){var r=window.event;return r&&r.type==="popstate"?r===Hh?!1:(Hh=r,!0):(Hh=null,!1)}var $x=typeof setTimeout=="function"?setTimeout:void 0,RP=typeof clearTimeout=="function"?clearTimeout:void 0,Kx=typeof Promise=="function"?Promise:void 0,zP=typeof queueMicrotask=="function"?queueMicrotask:typeof Kx<"u"?function(r){return Kx.resolve(null).then(r).catch(IP)}:$x;function IP(r){setTimeout(function(){throw r})}function Na(r){return r==="head"}function Yx(r,i){var u=i,c=0;do{var h=u.nextSibling;if(r.removeChild(u),h&&h.nodeType===8)if(u=h.data,u==="/$"||u==="/&"){if(c===0){r.removeChild(h),Rl(i);return}c--}else if(u==="$"||u==="$?"||u==="$~"||u==="$!"||u==="&")c++;else if(u==="html")to(r.ownerDocument.documentElement);else if(u==="head"){u=r.ownerDocument.head,to(u);for(var p=u.firstChild;p;){var S=p.nextSibling,_=p.nodeName;p[bu]||_==="SCRIPT"||_==="STYLE"||_==="LINK"&&p.rel.toLowerCase()==="stylesheet"||u.removeChild(p),p=S}}else u==="body"&&to(r.ownerDocument.body);u=h}while(u);Rl(i)}function Vx(r,i){var u=r;r=0;do{var c=u.nextSibling;if(u.nodeType===1?i?(u._stashedDisplay=u.style.display,u.style.display="none"):(u.style.display=u._stashedDisplay||"",u.getAttribute("style")===""&&u.removeAttribute("style")):u.nodeType===3&&(i?(u._stashedText=u.nodeValue,u.nodeValue=""):u.nodeValue=u._stashedText||""),c&&c.nodeType===8)if(u=c.data,u==="/$"){if(r===0)break;r--}else u!=="$"&&u!=="$?"&&u!=="$~"&&u!=="$!"||r++;u=c}while(u)}function Gh(r){var i=r.firstChild;for(i&&i.nodeType===10&&(i=i.nextSibling);i;){var u=i;switch(i=i.nextSibling,u.nodeName){case"HTML":case"HEAD":case"BODY":Gh(u),Xd(u);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(u.rel.toLowerCase()==="stylesheet")continue}r.removeChild(u)}}function LP(r,i,u,c){for(;r.nodeType===1;){var h=u;if(r.nodeName.toLowerCase()!==i.toLowerCase()){if(!c&&(r.nodeName!=="INPUT"||r.type!=="hidden"))break}else if(c){if(!r[bu])switch(i){case"meta":if(!r.hasAttribute("itemprop"))break;return r;case"link":if(p=r.getAttribute("rel"),p==="stylesheet"&&r.hasAttribute("data-precedence"))break;if(p!==h.rel||r.getAttribute("href")!==(h.href==null||h.href===""?null:h.href)||r.getAttribute("crossorigin")!==(h.crossOrigin==null?null:h.crossOrigin)||r.getAttribute("title")!==(h.title==null?null:h.title))break;return r;case"style":if(r.hasAttribute("data-precedence"))break;return r;case"script":if(p=r.getAttribute("src"),(p!==(h.src==null?null:h.src)||r.getAttribute("type")!==(h.type==null?null:h.type)||r.getAttribute("crossorigin")!==(h.crossOrigin==null?null:h.crossOrigin))&&p&&r.hasAttribute("async")&&!r.hasAttribute("itemprop"))break;return r;default:return r}}else if(i==="input"&&r.type==="hidden"){var p=h.name==null?null:""+h.name;if(h.type==="hidden"&&r.getAttribute("name")===p)return r}else return r;if(r=Vn(r.nextSibling),r===null)break}return null}function BP(r,i,u){if(i==="")return null;for(;r.nodeType!==3;)if((r.nodeType!==1||r.nodeName!=="INPUT"||r.type!=="hidden")&&!u||(r=Vn(r.nextSibling),r===null))return null;return r}function Xx(r,i){for(;r.nodeType!==8;)if((r.nodeType!==1||r.nodeName!=="INPUT"||r.type!=="hidden")&&!i||(r=Vn(r.nextSibling),r===null))return null;return r}function $h(r){return r.data==="$?"||r.data==="$~"}function Kh(r){return r.data==="$!"||r.data==="$?"&&r.ownerDocument.readyState!=="loading"}function UP(r,i){var u=r.ownerDocument;if(r.data==="$~")r._reactRetry=i;else if(r.data!=="$?"||u.readyState!=="loading")i();else{var c=function(){i(),u.removeEventListener("DOMContentLoaded",c)};u.addEventListener("DOMContentLoaded",c),r._reactRetry=c}}function Vn(r){for(;r!=null;r=r.nextSibling){var i=r.nodeType;if(i===1||i===3)break;if(i===8){if(i=r.data,i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"||i==="F!"||i==="F")break;if(i==="/$"||i==="/&")return null}}return r}var Yh=null;function Zx(r){r=r.nextSibling;for(var i=0;r;){if(r.nodeType===8){var u=r.data;if(u==="/$"||u==="/&"){if(i===0)return Vn(r.nextSibling);i--}else u!=="$"&&u!=="$!"&&u!=="$?"&&u!=="$~"&&u!=="&"||i++}r=r.nextSibling}return null}function Fx(r){r=r.previousSibling;for(var i=0;r;){if(r.nodeType===8){var u=r.data;if(u==="$"||u==="$!"||u==="$?"||u==="$~"||u==="&"){if(i===0)return r;i--}else u!=="/$"&&u!=="/&"||i++}r=r.previousSibling}return null}function Wx(r,i,u){switch(i=ms(u),r){case"html":if(r=i.documentElement,!r)throw Error(a(452));return r;case"head":if(r=i.head,!r)throw Error(a(453));return r;case"body":if(r=i.body,!r)throw Error(a(454));return r;default:throw Error(a(451))}}function to(r){for(var i=r.attributes;i.length;)r.removeAttributeNode(i[0]);Xd(r)}var Xn=new Map,Qx=new Set;function ps(r){return typeof r.getRootNode=="function"?r.getRootNode():r.nodeType===9?r:r.ownerDocument}var Fr=Z.d;Z.d={f:qP,r:HP,D:GP,C:$P,L:KP,m:YP,X:XP,S:VP,M:ZP};function qP(){var r=Fr.f(),i=us();return r||i}function HP(r){var i=el(r);i!==null&&i.tag===5&&i.type==="form"?m1(i):Fr.r(r)}var Pl=typeof document>"u"?null:document;function Jx(r,i,u){var c=Pl;if(c&&typeof i=="string"&&i){var h=Un(i);h='link[rel="'+r+'"][href="'+h+'"]',typeof u=="string"&&(h+='[crossorigin="'+u+'"]'),Qx.has(h)||(Qx.add(h),r={rel:r,crossOrigin:u,href:i},c.querySelector(h)===null&&(i=c.createElement("link"),Xt(i,"link",r),It(i),c.head.appendChild(i)))}}function GP(r){Fr.D(r),Jx("dns-prefetch",r,null)}function $P(r,i){Fr.C(r,i),Jx("preconnect",r,i)}function KP(r,i,u){Fr.L(r,i,u);var c=Pl;if(c&&r&&i){var h='link[rel="preload"][as="'+Un(i)+'"]';i==="image"&&u&&u.imageSrcSet?(h+='[imagesrcset="'+Un(u.imageSrcSet)+'"]',typeof u.imageSizes=="string"&&(h+='[imagesizes="'+Un(u.imageSizes)+'"]')):h+='[href="'+Un(r)+'"]';var p=h;switch(i){case"style":p=Dl(r);break;case"script":p=kl(r)}Xn.has(p)||(r=y({rel:"preload",href:i==="image"&&u&&u.imageSrcSet?void 0:r,as:i},u),Xn.set(p,r),c.querySelector(h)!==null||i==="style"&&c.querySelector(no(p))||i==="script"&&c.querySelector(ro(p))||(i=c.createElement("link"),Xt(i,"link",r),It(i),c.head.appendChild(i)))}}function YP(r,i){Fr.m(r,i);var u=Pl;if(u&&r){var c=i&&typeof i.as=="string"?i.as:"script",h='link[rel="modulepreload"][as="'+Un(c)+'"][href="'+Un(r)+'"]',p=h;switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":p=kl(r)}if(!Xn.has(p)&&(r=y({rel:"modulepreload",href:r},i),Xn.set(p,r),u.querySelector(h)===null)){switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(u.querySelector(ro(p)))return}c=u.createElement("link"),Xt(c,"link",r),It(c),u.head.appendChild(c)}}}function VP(r,i,u){Fr.S(r,i,u);var c=Pl;if(c&&r){var h=tl(c).hoistableStyles,p=Dl(r);i=i||"default";var S=h.get(p);if(!S){var _={loading:0,preload:null};if(S=c.querySelector(no(p)))_.loading=5;else{r=y({rel:"stylesheet",href:r,"data-precedence":i},u),(u=Xn.get(p))&&Vh(r,u);var P=S=c.createElement("link");It(P),Xt(P,"link",r),P._p=new Promise(function(q,X){P.onload=q,P.onerror=X}),P.addEventListener("load",function(){_.loading|=1}),P.addEventListener("error",function(){_.loading|=2}),_.loading|=4,ys(S,i,c)}S={type:"stylesheet",instance:S,count:1,state:_},h.set(p,S)}}}function XP(r,i){Fr.X(r,i);var u=Pl;if(u&&r){var c=tl(u).hoistableScripts,h=kl(r),p=c.get(h);p||(p=u.querySelector(ro(h)),p||(r=y({src:r,async:!0},i),(i=Xn.get(h))&&Xh(r,i),p=u.createElement("script"),It(p),Xt(p,"link",r),u.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},c.set(h,p))}}function ZP(r,i){Fr.M(r,i);var u=Pl;if(u&&r){var c=tl(u).hoistableScripts,h=kl(r),p=c.get(h);p||(p=u.querySelector(ro(h)),p||(r=y({src:r,async:!0,type:"module"},i),(i=Xn.get(h))&&Xh(r,i),p=u.createElement("script"),It(p),Xt(p,"link",r),u.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},c.set(h,p))}}function eS(r,i,u,c){var h=(h=Oe.current)?ps(h):null;if(!h)throw Error(a(446));switch(r){case"meta":case"title":return null;case"style":return typeof u.precedence=="string"&&typeof u.href=="string"?(i=Dl(u.href),u=tl(h).hoistableStyles,c=u.get(i),c||(c={type:"style",instance:null,count:0,state:null},u.set(i,c)),c):{type:"void",instance:null,count:0,state:null};case"link":if(u.rel==="stylesheet"&&typeof u.href=="string"&&typeof u.precedence=="string"){r=Dl(u.href);var p=tl(h).hoistableStyles,S=p.get(r);if(S||(h=h.ownerDocument||h,S={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},p.set(r,S),(p=h.querySelector(no(r)))&&!p._p&&(S.instance=p,S.state.loading=5),Xn.has(r)||(u={rel:"preload",as:"style",href:u.href,crossOrigin:u.crossOrigin,integrity:u.integrity,media:u.media,hrefLang:u.hrefLang,referrerPolicy:u.referrerPolicy},Xn.set(r,u),p||FP(h,r,u,S.state))),i&&c===null)throw Error(a(528,""));return S}if(i&&c!==null)throw Error(a(529,""));return null;case"script":return i=u.async,u=u.src,typeof u=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?(i=kl(u),u=tl(h).hoistableScripts,c=u.get(i),c||(c={type:"script",instance:null,count:0,state:null},u.set(i,c)),c):{type:"void",instance:null,count:0,state:null};default:throw Error(a(444,r))}}function Dl(r){return'href="'+Un(r)+'"'}function no(r){return'link[rel="stylesheet"]['+r+"]"}function tS(r){return y({},r,{"data-precedence":r.precedence,precedence:null})}function FP(r,i,u,c){r.querySelector('link[rel="preload"][as="style"]['+i+"]")?c.loading=1:(i=r.createElement("link"),c.preload=i,i.addEventListener("load",function(){return c.loading|=1}),i.addEventListener("error",function(){return c.loading|=2}),Xt(i,"link",u),It(i),r.head.appendChild(i))}function kl(r){return'[src="'+Un(r)+'"]'}function ro(r){return"script[async]"+r}function nS(r,i,u){if(i.count++,i.instance===null)switch(i.type){case"style":var c=r.querySelector('style[data-href~="'+Un(u.href)+'"]');if(c)return i.instance=c,It(c),c;var h=y({},u,{"data-href":u.href,"data-precedence":u.precedence,href:null,precedence:null});return c=(r.ownerDocument||r).createElement("style"),It(c),Xt(c,"style",h),ys(c,u.precedence,r),i.instance=c;case"stylesheet":h=Dl(u.href);var p=r.querySelector(no(h));if(p)return i.state.loading|=4,i.instance=p,It(p),p;c=tS(u),(h=Xn.get(h))&&Vh(c,h),p=(r.ownerDocument||r).createElement("link"),It(p);var S=p;return S._p=new Promise(function(_,P){S.onload=_,S.onerror=P}),Xt(p,"link",c),i.state.loading|=4,ys(p,u.precedence,r),i.instance=p;case"script":return p=kl(u.src),(h=r.querySelector(ro(p)))?(i.instance=h,It(h),h):(c=u,(h=Xn.get(p))&&(c=y({},u),Xh(c,h)),r=r.ownerDocument||r,h=r.createElement("script"),It(h),Xt(h,"link",c),r.head.appendChild(h),i.instance=h);case"void":return null;default:throw Error(a(443,i.type))}else i.type==="stylesheet"&&(i.state.loading&4)===0&&(c=i.instance,i.state.loading|=4,ys(c,u.precedence,r));return i.instance}function ys(r,i,u){for(var c=u.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),h=c.length?c[c.length-1]:null,p=h,S=0;S<c.length;S++){var _=c[S];if(_.dataset.precedence===i)p=_;else if(p!==h)break}p?p.parentNode.insertBefore(r,p.nextSibling):(i=u.nodeType===9?u.head:u,i.insertBefore(r,i.firstChild))}function Vh(r,i){r.crossOrigin==null&&(r.crossOrigin=i.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=i.referrerPolicy),r.title==null&&(r.title=i.title)}function Xh(r,i){r.crossOrigin==null&&(r.crossOrigin=i.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=i.referrerPolicy),r.integrity==null&&(r.integrity=i.integrity)}var gs=null;function rS(r,i,u){if(gs===null){var c=new Map,h=gs=new Map;h.set(u,c)}else h=gs,c=h.get(u),c||(c=new Map,h.set(u,c));if(c.has(r))return c;for(c.set(r,null),u=u.getElementsByTagName(r),h=0;h<u.length;h++){var p=u[h];if(!(p[bu]||p[$t]||r==="link"&&p.getAttribute("rel")==="stylesheet")&&p.namespaceURI!=="http://www.w3.org/2000/svg"){var S=p.getAttribute(i)||"";S=r+S;var _=c.get(S);_?_.push(p):c.set(S,[p])}}return c}function aS(r,i,u){r=r.ownerDocument||r,r.head.insertBefore(u,i==="title"?r.querySelector("head > title"):null)}function WP(r,i,u){if(u===1||i.itemProp!=null)return!1;switch(r){case"meta":case"title":return!0;case"style":if(typeof i.precedence!="string"||typeof i.href!="string"||i.href==="")break;return!0;case"link":if(typeof i.rel!="string"||typeof i.href!="string"||i.href===""||i.onLoad||i.onError)break;switch(i.rel){case"stylesheet":return r=i.disabled,typeof i.precedence=="string"&&r==null;default:return!0}case"script":if(i.async&&typeof i.async!="function"&&typeof i.async!="symbol"&&!i.onLoad&&!i.onError&&i.src&&typeof i.src=="string")return!0}return!1}function iS(r){return!(r.type==="stylesheet"&&(r.state.loading&3)===0)}function QP(r,i,u,c){if(u.type==="stylesheet"&&(typeof c.media!="string"||matchMedia(c.media).matches!==!1)&&(u.state.loading&4)===0){if(u.instance===null){var h=Dl(c.href),p=i.querySelector(no(h));if(p){i=p._p,i!==null&&typeof i=="object"&&typeof i.then=="function"&&(r.count++,r=bs.bind(r),i.then(r,r)),u.state.loading|=4,u.instance=p,It(p);return}p=i.ownerDocument||i,c=tS(c),(h=Xn.get(h))&&Vh(c,h),p=p.createElement("link"),It(p);var S=p;S._p=new Promise(function(_,P){S.onload=_,S.onerror=P}),Xt(p,"link",c),u.instance=p}r.stylesheets===null&&(r.stylesheets=new Map),r.stylesheets.set(u,i),(i=u.state.preload)&&(u.state.loading&3)===0&&(r.count++,u=bs.bind(r),i.addEventListener("load",u),i.addEventListener("error",u))}}var Zh=0;function JP(r,i){return r.stylesheets&&r.count===0&&Ss(r,r.stylesheets),0<r.count||0<r.imgCount?function(u){var c=setTimeout(function(){if(r.stylesheets&&Ss(r,r.stylesheets),r.unsuspend){var p=r.unsuspend;r.unsuspend=null,p()}},6e4+i);0<r.imgBytes&&Zh===0&&(Zh=62500*DP());var h=setTimeout(function(){if(r.waitingForImages=!1,r.count===0&&(r.stylesheets&&Ss(r,r.stylesheets),r.unsuspend)){var p=r.unsuspend;r.unsuspend=null,p()}},(r.imgBytes>Zh?50:800)+i);return r.unsuspend=u,function(){r.unsuspend=null,clearTimeout(c),clearTimeout(h)}}:null}function bs(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Ss(this,this.stylesheets);else if(this.unsuspend){var r=this.unsuspend;this.unsuspend=null,r()}}}var xs=null;function Ss(r,i){r.stylesheets=null,r.unsuspend!==null&&(r.count++,xs=new Map,i.forEach(eD,r),xs=null,bs.call(r))}function eD(r,i){if(!(i.state.loading&4)){var u=xs.get(r);if(u)var c=u.get(null);else{u=new Map,xs.set(r,u);for(var h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),p=0;p<h.length;p++){var S=h[p];(S.nodeName==="LINK"||S.getAttribute("media")!=="not all")&&(u.set(S.dataset.precedence,S),c=S)}c&&u.set(null,c)}h=i.instance,S=h.getAttribute("data-precedence"),p=u.get(S)||c,p===c&&u.set(null,h),u.set(S,h),this.count++,c=bs.bind(this),h.addEventListener("load",c),h.addEventListener("error",c),p?p.parentNode.insertBefore(h,p.nextSibling):(r=r.nodeType===9?r.head:r,r.insertBefore(h,r.firstChild)),i.state.loading|=4}}var ao={$$typeof:M,Provider:null,Consumer:null,_currentValue:ie,_currentValue2:ie,_threadCount:0};function tD(r,i,u,c,h,p,S,_,P){this.tag=1,this.containerInfo=r,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=on(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=on(0),this.hiddenUpdates=on(null),this.identifierPrefix=c,this.onUncaughtError=h,this.onCaughtError=p,this.onRecoverableError=S,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=P,this.incompleteTransitions=new Map}function lS(r,i,u,c,h,p,S,_,P,q,X,W){return r=new tD(r,i,u,S,P,q,X,W,_),i=1,p===!0&&(i|=24),p=Tn(3,null,null,i),r.current=p,p.stateNode=r,i=jv(),i.refCount++,r.pooledCache=i,i.refCount++,p.memoizedState={element:c,isDehydrated:u,cache:i},Pv(p),r}function uS(r){return r?(r=fl,r):fl}function oS(r,i,u,c,h,p){h=uS(h),c.context===null?c.context=h:c.pendingContext=h,c=xa(i),c.payload={element:u},p=p===void 0?null:p,p!==null&&(c.callback=p),u=Sa(r,c,i),u!==null&&(On(u,r,i),zu(u,r,i))}function cS(r,i){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var u=r.retryLane;r.retryLane=u!==0&&u<i?u:i}}function Fh(r,i){cS(r,i),(r=r.alternate)&&cS(r,i)}function sS(r){if(r.tag===13||r.tag===31){var i=ii(r,67108864);i!==null&&On(i,r,67108864),Fh(r,67108864)}}function fS(r){if(r.tag===13||r.tag===31){var i=Pn();i=ei(i);var u=ii(r,i);u!==null&&On(u,r,i),Fh(r,i)}}var Os=!0;function nD(r,i,u,c){var h=B.T;B.T=null;var p=Z.p;try{Z.p=2,Wh(r,i,u,c)}finally{Z.p=p,B.T=h}}function rD(r,i,u,c){var h=B.T;B.T=null;var p=Z.p;try{Z.p=8,Wh(r,i,u,c)}finally{Z.p=p,B.T=h}}function Wh(r,i,u,c){if(Os){var h=Qh(c);if(h===null)Ih(r,i,c,ws,u),vS(r,c);else if(iD(h,r,i,u,c))c.stopPropagation();else if(vS(r,c),i&4&&-1<aD.indexOf(r)){for(;h!==null;){var p=el(h);if(p!==null)switch(p.tag){case 3:if(p=p.stateNode,p.current.memoizedState.isDehydrated){var S=we(p.pendingLanes);if(S!==0){var _=p;for(_.pendingLanes|=2,_.entangledLanes|=2;S;){var P=1<<31-un(S);_.entanglements[1]|=P,S&=~P}xr(p),(Ue&6)===0&&(is=vn()+500,Qu(0))}}break;case 31:case 13:_=ii(p,2),_!==null&&On(_,p,2),us(),Fh(p,2)}if(p=Qh(c),p===null&&Ih(r,i,c,ws,u),p===h)break;h=p}h!==null&&c.stopPropagation()}else Ih(r,i,c,null,u)}}function Qh(r){return r=ev(r),Jh(r)}var ws=null;function Jh(r){if(ws=null,r=Ji(r),r!==null){var i=o(r);if(i===null)r=null;else{var u=i.tag;if(u===13){if(r=s(i),r!==null)return r;r=null}else if(u===31){if(r=f(i),r!==null)return r;r=null}else if(u===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;r=null}else i!==r&&(r=null)}}return ws=r,null}function dS(r){switch(r){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Hd()){case vc:return 2;case Wa:return 8;case Xi:case Gd:return 32;case hc:return 268435456;default:return 32}default:return 32}}var em=!1,Pa=null,Da=null,ka=null,io=new Map,lo=new Map,Ra=[],aD="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".split(" ");function vS(r,i){switch(r){case"focusin":case"focusout":Pa=null;break;case"dragenter":case"dragleave":Da=null;break;case"mouseover":case"mouseout":ka=null;break;case"pointerover":case"pointerout":io.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":lo.delete(i.pointerId)}}function uo(r,i,u,c,h,p){return r===null||r.nativeEvent!==p?(r={blockedOn:i,domEventName:u,eventSystemFlags:c,nativeEvent:p,targetContainers:[h]},i!==null&&(i=el(i),i!==null&&sS(i)),r):(r.eventSystemFlags|=c,i=r.targetContainers,h!==null&&i.indexOf(h)===-1&&i.push(h),r)}function iD(r,i,u,c,h){switch(i){case"focusin":return Pa=uo(Pa,r,i,u,c,h),!0;case"dragenter":return Da=uo(Da,r,i,u,c,h),!0;case"mouseover":return ka=uo(ka,r,i,u,c,h),!0;case"pointerover":var p=h.pointerId;return io.set(p,uo(io.get(p)||null,r,i,u,c,h)),!0;case"gotpointercapture":return p=h.pointerId,lo.set(p,uo(lo.get(p)||null,r,i,u,c,h)),!0}return!1}function hS(r){var i=Ji(r.target);if(i!==null){var u=o(i);if(u!==null){if(i=u.tag,i===13){if(i=s(u),i!==null){r.blockedOn=i,jg(r.priority,function(){fS(u)});return}}else if(i===31){if(i=f(u),i!==null){r.blockedOn=i,jg(r.priority,function(){fS(u)});return}}else if(i===3&&u.stateNode.current.memoizedState.isDehydrated){r.blockedOn=u.tag===3?u.stateNode.containerInfo:null;return}}}r.blockedOn=null}function As(r){if(r.blockedOn!==null)return!1;for(var i=r.targetContainers;0<i.length;){var u=Qh(r.nativeEvent);if(u===null){u=r.nativeEvent;var c=new u.constructor(u.type,u);Jd=c,u.target.dispatchEvent(c),Jd=null}else return i=el(u),i!==null&&sS(i),r.blockedOn=u,!1;i.shift()}return!0}function mS(r,i,u){As(r)&&u.delete(i)}function lD(){em=!1,Pa!==null&&As(Pa)&&(Pa=null),Da!==null&&As(Da)&&(Da=null),ka!==null&&As(ka)&&(ka=null),io.forEach(mS),lo.forEach(mS)}function Es(r,i){r.blockedOn===i&&(r.blockedOn=null,em||(em=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,lD)))}var _s=null;function pS(r){_s!==r&&(_s=r,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){_s===r&&(_s=null);for(var i=0;i<r.length;i+=3){var u=r[i],c=r[i+1],h=r[i+2];if(typeof c!="function"){if(Jh(c||u)===null)continue;break}var p=el(u);p!==null&&(r.splice(i,3),i-=3,Qv(p,{pending:!0,data:h,method:u.method,action:c},c,h))}}))}function Rl(r){function i(P){return Es(P,r)}Pa!==null&&Es(Pa,r),Da!==null&&Es(Da,r),ka!==null&&Es(ka,r),io.forEach(i),lo.forEach(i);for(var u=0;u<Ra.length;u++){var c=Ra[u];c.blockedOn===r&&(c.blockedOn=null)}for(;0<Ra.length&&(u=Ra[0],u.blockedOn===null);)hS(u),u.blockedOn===null&&Ra.shift();if(u=(r.ownerDocument||r).$$reactFormReplay,u!=null)for(c=0;c<u.length;c+=3){var h=u[c],p=u[c+1],S=h[pn]||null;if(typeof p=="function")S||pS(u);else if(S){var _=null;if(p&&p.hasAttribute("formAction")){if(h=p,S=p[pn]||null)_=S.formAction;else if(Jh(h)!==null)continue}else _=S.action;typeof _=="function"?u[c+1]=_:(u.splice(c,3),c-=3),pS(u)}}}function yS(){function r(p){p.canIntercept&&p.info==="react-transition"&&p.intercept({handler:function(){return new Promise(function(S){return h=S})},focusReset:"manual",scroll:"manual"})}function i(){h!==null&&(h(),h=null),c||setTimeout(u,20)}function u(){if(!c&&!navigation.transition){var p=navigation.currentEntry;p&&p.url!=null&&navigation.navigate(p.url,{state:p.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var c=!1,h=null;return navigation.addEventListener("navigate",r),navigation.addEventListener("navigatesuccess",i),navigation.addEventListener("navigateerror",i),setTimeout(u,100),function(){c=!0,navigation.removeEventListener("navigate",r),navigation.removeEventListener("navigatesuccess",i),navigation.removeEventListener("navigateerror",i),h!==null&&(h(),h=null)}}}function tm(r){this._internalRoot=r}Ts.prototype.render=tm.prototype.render=function(r){var i=this._internalRoot;if(i===null)throw Error(a(409));var u=i.current,c=Pn();oS(u,c,r,i,null,null)},Ts.prototype.unmount=tm.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var i=r.containerInfo;oS(r.current,2,null,r,null,null),us(),i[Qi]=null}};function Ts(r){this._internalRoot=r}Ts.prototype.unstable_scheduleHydration=function(r){if(r){var i=Ln();r={blockedOn:null,target:r,priority:i};for(var u=0;u<Ra.length&&i!==0&&i<Ra[u].priority;u++);Ra.splice(u,0,r),u===0&&hS(r)}};var gS=t.version;if(gS!=="19.2.5")throw Error(a(527,gS,"19.2.5"));Z.findDOMNode=function(r){var i=r._reactInternals;if(i===void 0)throw typeof r.render=="function"?Error(a(188)):(r=Object.keys(r).join(","),Error(a(268,r)));return r=v(i),r=r!==null?m(r):null,r=r===null?null:r.stateNode,r};var uD={bundleType:0,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:B,reconcilerVersion:"19.2.5"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var js=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!js.isDisabled&&js.supportsFiber)try{Qa=js.inject(uD),ln=js}catch{}}return co.createRoot=function(r,i){if(!l(r))throw Error(a(299));var u=!1,c="",h=E1,p=_1,S=T1;return i!=null&&(i.unstable_strictMode===!0&&(u=!0),i.identifierPrefix!==void 0&&(c=i.identifierPrefix),i.onUncaughtError!==void 0&&(h=i.onUncaughtError),i.onCaughtError!==void 0&&(p=i.onCaughtError),i.onRecoverableError!==void 0&&(S=i.onRecoverableError)),i=lS(r,1,!1,null,null,u,c,null,h,p,S,yS),r[Qi]=i.current,zh(r),new tm(i)},co.hydrateRoot=function(r,i,u){if(!l(r))throw Error(a(299));var c=!1,h="",p=E1,S=_1,_=T1,P=null;return u!=null&&(u.unstable_strictMode===!0&&(c=!0),u.identifierPrefix!==void 0&&(h=u.identifierPrefix),u.onUncaughtError!==void 0&&(p=u.onUncaughtError),u.onCaughtError!==void 0&&(S=u.onCaughtError),u.onRecoverableError!==void 0&&(_=u.onRecoverableError),u.formState!==void 0&&(P=u.formState)),i=lS(r,1,!0,i,u??null,c,h,P,p,S,_,yS),i.context=uS(null),u=i.current,c=Pn(),c=ei(c),h=xa(c),h.callback=null,Sa(u,h,c),u=c,i.current.lanes=u,mn(i,u),xr(i),r[Qi]=i.current,zh(r),new Ts(i)},co.version="19.2.5",co}var jS;function xD(){if(jS)return im.exports;jS=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(),im.exports=bD(),im.exports}var SD=xD();/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const OD=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),wD=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,a)=>a?a.toUpperCase():n.toLowerCase()),MS=e=>{const t=wD(e);return t.charAt(0).toUpperCase()+t.slice(1)},z2=(...e)=>e.filter((t,n,a)=>!!t&&t.trim()!==""&&a.indexOf(t)===n).join(" ").trim(),AD=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var ED={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const _D=x.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:a,className:l="",children:o,iconNode:s,...f},d)=>x.createElement("svg",{ref:d,...ED,width:t,height:t,stroke:e,strokeWidth:a?Number(n)*24/Number(t):n,className:z2("lucide",l),...!o&&!AD(f)&&{"aria-hidden":"true"},...f},[...s.map(([v,m])=>x.createElement(v,m)),...Array.isArray(o)?o:[o]]));/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Je=(e,t)=>{const n=x.forwardRef(({className:a,...l},o)=>x.createElement(_D,{ref:o,iconNode:t,className:z2(`lucide-${OD(MS(e))}`,`lucide-${e}`,a),...l}));return n.displayName=MS(e),n};/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const TD=[["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"}]],I2=Je("activity",TD);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const jD=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],MD=Je("arrow-right",jD);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const CD=[["path",{d:"M4.929 4.929 19.07 19.071",key:"196cmz"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],ND=Je("ban",CD);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const PD=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],DD=Je("chart-column",PD);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const kD=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],To=Je("circle-check",kD);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const RD=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],CS=Je("database",RD);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const zD=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],ID=Je("eye",zD);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const LD=[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]],BD=Je("gamepad-2",LD);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const UD=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],NS=Je("globe",UD);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const qD=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],PS=Je("loader-circle",qD);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const HD=[["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"}]],DS=Je("network",HD);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const GD=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],kS=Je("play",GD);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const $D=[["path",{d:"M16.247 7.761a6 6 0 0 1 0 8.478",key:"1fwjs5"}],["path",{d:"M19.075 4.933a10 10 0 0 1 0 14.134",key:"ehdyv1"}],["path",{d:"M4.925 19.067a10 10 0 0 1 0-14.134",key:"1q22gi"}],["path",{d:"M7.753 16.239a6 6 0 0 1 0-8.478",key:"r2q7qm"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],KD=Je("radio",$D);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const YD=[["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"}]],VD=Je("rotate-ccw",YD);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const XD=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],ZD=Je("send",XD);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const FD=[["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"}]],WD=Je("server",FD);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const QD=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],JD=Je("settings",QD);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const e3=[["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:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]],RS=Je("shield-alert",e3);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const t3=[["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"}]],zS=Je("shield-check",t3);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const n3=[["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"}]],r3=Je("square-terminal",n3);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const a3=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],Oo=Je("terminal",a3);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const i3=[["path",{d:"m16 11 2 2 4-4",key:"9rsbq5"}],["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],l3=Je("user-check",i3);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const u3=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],IS=Je("users",u3);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const o3=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]],c3=Je("volume-2",o3);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const s3=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["line",{x1:"22",x2:"16",y1:"9",y2:"15",key:"1ewh16"}],["line",{x1:"16",x2:"22",y1:"9",y2:"15",key:"5ykzw1"}]],f3=Je("volume-x",s3);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const d3=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],LS=Je("x",d3);function L2(e){var t,n,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(t=0;t<l;t++)e[t]&&(n=L2(e[t]))&&(a&&(a+=" "),a+=n)}else for(n in e)e[n]&&(a&&(a+=" "),a+=n);return a}function Xe(){for(var e,t,n=0,a="",l=arguments.length;n<l;n++)(e=arguments[n])&&(t=L2(e))&&(a&&(a+=" "),a+=t);return a}var v3=["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"];function Ly(e){if(typeof e!="string")return!1;var t=v3;return t.includes(e)}var h3=["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"],m3=new Set(h3);function B2(e){return typeof e!="string"?!1:m3.has(e)}function U2(e){return typeof e=="string"&&e.startsWith("data-")}function sr(e){if(typeof e!="object"||e===null)return{};var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(B2(n)||U2(n))&&(t[n]=e[n]);return t}function Co(e){if(e==null)return null;if(x.isValidElement(e)&&typeof e.props=="object"&&e.props!==null){var t=e.props;return sr(t)}return typeof e=="object"&&!Array.isArray(e)?sr(e):null}function er(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(B2(n)||U2(n)||Ly(n))&&(t[n]=e[n]);return t}var p3=["children","width","height","viewBox","className","style","title","desc"];function Hp(){return Hp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Hp.apply(null,arguments)}function y3(e,t){if(e==null)return{};var n,a,l=g3(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}function g3(e,t){if(e==null)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;n[a]=e[a]}return n}var q2=x.forwardRef((e,t)=>{var{children:n,width:a,height:l,viewBox:o,className:s,style:f,title:d,desc:v}=e,m=y3(e,p3),y=o||{width:a,height:l,x:0,y:0},g=Xe("recharts-surface",s);return x.createElement("svg",Hp({},er(m),{className:g,width:a,height:l,style:f,viewBox:"".concat(y.x," ").concat(y.y," ").concat(y.width," ").concat(y.height),ref:t}),x.createElement("title",null,d),x.createElement("desc",null,v),n)}),b3=["children","className"];function Gp(){return Gp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Gp.apply(null,arguments)}function x3(e,t){if(e==null)return{};var n,a,l=S3(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}function S3(e,t){if(e==null)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;n[a]=e[a]}return n}var nn=x.forwardRef((e,t)=>{var{children:n,className:a}=e,l=x3(e,b3),o=Xe("recharts-layer",a);return x.createElement("g",Gp({className:o},er(l),{ref:t}),n)}),H2=R2(),O3=x.createContext(null);function Qe(e){return function(){return e}}const G2=Math.cos,Qs=Math.sin,dr=Math.sqrt,Js=Math.PI,Vf=2*Js,$p=Math.PI,Kp=2*$p,Oi=1e-6,w3=Kp-Oi;function $2(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}function A3(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return $2;const n=10**t;return function(a){this._+=a[0];for(let l=1,o=a.length;l<o;++l)this._+=Math.round(arguments[l]*n)/n+a[l]}}class E3{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?$2:A3(t)}moveTo(t,n){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,n){this._append`L${this._x1=+t},${this._y1=+n}`}quadraticCurveTo(t,n,a,l){this._append`Q${+t},${+n},${this._x1=+a},${this._y1=+l}`}bezierCurveTo(t,n,a,l,o,s){this._append`C${+t},${+n},${+a},${+l},${this._x1=+o},${this._y1=+s}`}arcTo(t,n,a,l,o){if(t=+t,n=+n,a=+a,l=+l,o=+o,o<0)throw new Error(`negative radius: ${o}`);let s=this._x1,f=this._y1,d=a-t,v=l-n,m=s-t,y=f-n,g=m*m+y*y;if(this._x1===null)this._append`M${this._x1=t},${this._y1=n}`;else if(g>Oi)if(!(Math.abs(y*d-v*m)>Oi)||!o)this._append`L${this._x1=t},${this._y1=n}`;else{let b=a-s,w=l-f,O=d*d+v*v,A=b*b+w*w,E=Math.sqrt(O),j=Math.sqrt(g),M=o*Math.tan(($p-Math.acos((O+g-A)/(2*E*j)))/2),N=M/j,D=M/E;Math.abs(N-1)>Oi&&this._append`L${t+N*m},${n+N*y}`,this._append`A${o},${o},0,0,${+(y*b>m*w)},${this._x1=t+D*d},${this._y1=n+D*v}`}}arc(t,n,a,l,o,s){if(t=+t,n=+n,a=+a,s=!!s,a<0)throw new Error(`negative radius: ${a}`);let f=a*Math.cos(l),d=a*Math.sin(l),v=t+f,m=n+d,y=1^s,g=s?l-o:o-l;this._x1===null?this._append`M${v},${m}`:(Math.abs(this._x1-v)>Oi||Math.abs(this._y1-m)>Oi)&&this._append`L${v},${m}`,a&&(g<0&&(g=g%Kp+Kp),g>w3?this._append`A${a},${a},0,1,${y},${t-f},${n-d}A${a},${a},0,1,${y},${this._x1=v},${this._y1=m}`:g>Oi&&this._append`A${a},${a},0,${+(g>=$p)},${y},${this._x1=t+a*Math.cos(o)},${this._y1=n+a*Math.sin(o)}`)}rect(t,n,a,l){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${a=+a}v${+l}h${-a}Z`}toString(){return this._}}function By(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{const a=Math.floor(n);if(!(a>=0))throw new RangeError(`invalid digits: ${n}`);t=a}return e},()=>new E3(t)}function Uy(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function K2(e){this._context=e}K2.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 Xf(e){return new K2(e)}function Y2(e){return e[0]}function V2(e){return e[1]}function X2(e,t){var n=Qe(!0),a=null,l=Xf,o=null,s=By(f);e=typeof e=="function"?e:e===void 0?Y2:Qe(e),t=typeof t=="function"?t:t===void 0?V2:Qe(t);function f(d){var v,m=(d=Uy(d)).length,y,g=!1,b;for(a==null&&(o=l(b=s())),v=0;v<=m;++v)!(v<m&&n(y=d[v],v,d))===g&&((g=!g)?o.lineStart():o.lineEnd()),g&&o.point(+e(y,v,d),+t(y,v,d));if(b)return o=null,b+""||null}return f.x=function(d){return arguments.length?(e=typeof d=="function"?d:Qe(+d),f):e},f.y=function(d){return arguments.length?(t=typeof d=="function"?d:Qe(+d),f):t},f.defined=function(d){return arguments.length?(n=typeof d=="function"?d:Qe(!!d),f):n},f.curve=function(d){return arguments.length?(l=d,a!=null&&(o=l(a)),f):l},f.context=function(d){return arguments.length?(d==null?a=o=null:o=l(a=d),f):a},f}function Ms(e,t,n){var a=null,l=Qe(!0),o=null,s=Xf,f=null,d=By(v);e=typeof e=="function"?e:e===void 0?Y2:Qe(+e),t=typeof t=="function"?t:Qe(t===void 0?0:+t),n=typeof n=="function"?n:n===void 0?V2:Qe(+n);function v(y){var g,b,w,O=(y=Uy(y)).length,A,E=!1,j,M=new Array(O),N=new Array(O);for(o==null&&(f=s(j=d())),g=0;g<=O;++g){if(!(g<O&&l(A=y[g],g,y))===E)if(E=!E)b=g,f.areaStart(),f.lineStart();else{for(f.lineEnd(),f.lineStart(),w=g-1;w>=b;--w)f.point(M[w],N[w]);f.lineEnd(),f.areaEnd()}E&&(M[g]=+e(A,g,y),N[g]=+t(A,g,y),f.point(a?+a(A,g,y):M[g],n?+n(A,g,y):N[g]))}if(j)return f=null,j+""||null}function m(){return X2().defined(l).curve(s).context(o)}return v.x=function(y){return arguments.length?(e=typeof y=="function"?y:Qe(+y),a=null,v):e},v.x0=function(y){return arguments.length?(e=typeof y=="function"?y:Qe(+y),v):e},v.x1=function(y){return arguments.length?(a=y==null?null:typeof y=="function"?y:Qe(+y),v):a},v.y=function(y){return arguments.length?(t=typeof y=="function"?y:Qe(+y),n=null,v):t},v.y0=function(y){return arguments.length?(t=typeof y=="function"?y:Qe(+y),v):t},v.y1=function(y){return arguments.length?(n=y==null?null:typeof y=="function"?y:Qe(+y),v):n},v.lineX0=v.lineY0=function(){return m().x(e).y(t)},v.lineY1=function(){return m().x(e).y(n)},v.lineX1=function(){return m().x(a).y(t)},v.defined=function(y){return arguments.length?(l=typeof y=="function"?y:Qe(!!y),v):l},v.curve=function(y){return arguments.length?(s=y,o!=null&&(f=s(o)),v):s},v.context=function(y){return arguments.length?(y==null?o=f=null:f=s(o=y),v):o},v}class Z2{constructor(t,n){this._context=t,this._x=n}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,n){switch(t=+t,n=+n,this._point){case 0:{this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,n,t,n):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+n)/2,t,this._y0,t,n);break}}this._x0=t,this._y0=n}}function _3(e){return new Z2(e,!0)}function T3(e){return new Z2(e,!1)}const qy={draw(e,t){const n=dr(t/Js);e.moveTo(n,0),e.arc(0,0,n,0,Vf)}},j3={draw(e,t){const n=dr(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},F2=dr(1/3),M3=F2*2,C3={draw(e,t){const n=dr(t/M3),a=n*F2;e.moveTo(0,-n),e.lineTo(a,0),e.lineTo(0,n),e.lineTo(-a,0),e.closePath()}},N3={draw(e,t){const n=dr(t),a=-n/2;e.rect(a,a,n,n)}},P3=.8908130915292852,W2=Qs(Js/10)/Qs(7*Js/10),D3=Qs(Vf/10)*W2,k3=-G2(Vf/10)*W2,R3={draw(e,t){const n=dr(t*P3),a=D3*n,l=k3*n;e.moveTo(0,-n),e.lineTo(a,l);for(let o=1;o<5;++o){const s=Vf*o/5,f=G2(s),d=Qs(s);e.lineTo(d*n,-f*n),e.lineTo(f*a-d*l,d*a+f*l)}e.closePath()}},cm=dr(3),z3={draw(e,t){const n=-dr(t/(cm*3));e.moveTo(0,n*2),e.lineTo(-cm*n,-n),e.lineTo(cm*n,-n),e.closePath()}},Zn=-.5,Fn=dr(3)/2,Yp=1/dr(12),I3=(Yp/2+1)*3,L3={draw(e,t){const n=dr(t/I3),a=n/2,l=n*Yp,o=a,s=n*Yp+n,f=-o,d=s;e.moveTo(a,l),e.lineTo(o,s),e.lineTo(f,d),e.lineTo(Zn*a-Fn*l,Fn*a+Zn*l),e.lineTo(Zn*o-Fn*s,Fn*o+Zn*s),e.lineTo(Zn*f-Fn*d,Fn*f+Zn*d),e.lineTo(Zn*a+Fn*l,Zn*l-Fn*a),e.lineTo(Zn*o+Fn*s,Zn*s-Fn*o),e.lineTo(Zn*f+Fn*d,Zn*d-Fn*f),e.closePath()}};function B3(e,t){let n=null,a=By(l);e=typeof e=="function"?e:Qe(e||qy),t=typeof t=="function"?t:Qe(t===void 0?64:+t);function l(){let o;if(n||(n=o=a()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),o)return n=null,o+""||null}return l.type=function(o){return arguments.length?(e=typeof o=="function"?o:Qe(o),l):e},l.size=function(o){return arguments.length?(t=typeof o=="function"?o:Qe(+o),l):t},l.context=function(o){return arguments.length?(n=o??null,l):n},l}function ef(){}function tf(e,t,n){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+n)/6)}function Q2(e){this._context=e}Q2.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:tf(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:tf(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function U3(e){return new Q2(e)}function J2(e){this._context=e}J2.prototype={areaStart:ef,areaEnd:ef,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:tf(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function q3(e){return new J2(e)}function e_(e){this._context=e}e_.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 n=(this._x0+4*this._x1+e)/6,a=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,a):this._context.moveTo(n,a);break;case 3:this._point=4;default:tf(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function H3(e){return new e_(e)}function t_(e){this._context=e}t_.prototype={areaStart:ef,areaEnd:ef,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 G3(e){return new t_(e)}function BS(e){return e<0?-1:1}function US(e,t,n){var a=e._x1-e._x0,l=t-e._x1,o=(e._y1-e._y0)/(a||l<0&&-0),s=(n-e._y1)/(l||a<0&&-0),f=(o*l+s*a)/(a+l);return(BS(o)+BS(s))*Math.min(Math.abs(o),Math.abs(s),.5*Math.abs(f))||0}function qS(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function sm(e,t,n){var a=e._x0,l=e._y0,o=e._x1,s=e._y1,f=(o-a)/3;e._context.bezierCurveTo(a+f,l+f*t,o-f,s-f*n,o,s)}function nf(e){this._context=e}nf.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:sm(this,this._t0,qS(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 n=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,sm(this,qS(this,n=US(this,e,t)),n);break;default:sm(this,this._t0,n=US(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function n_(e){this._context=new r_(e)}(n_.prototype=Object.create(nf.prototype)).point=function(e,t){nf.prototype.point.call(this,t,e)};function r_(e){this._context=e}r_.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,n,a,l,o){this._context.bezierCurveTo(t,e,a,n,o,l)}};function $3(e){return new nf(e)}function K3(e){return new n_(e)}function a_(e){this._context=e}a_.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,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),n===2)this._context.lineTo(e[1],t[1]);else for(var a=HS(e),l=HS(t),o=0,s=1;s<n;++o,++s)this._context.bezierCurveTo(a[0][o],l[0][o],a[1][o],l[1][o],e[s],t[s]);(this._line||this._line!==0&&n===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 HS(e){var t,n=e.length-1,a,l=new Array(n),o=new Array(n),s=new Array(n);for(l[0]=0,o[0]=2,s[0]=e[0]+2*e[1],t=1;t<n-1;++t)l[t]=1,o[t]=4,s[t]=4*e[t]+2*e[t+1];for(l[n-1]=2,o[n-1]=7,s[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)a=l[t]/o[t-1],o[t]-=a,s[t]-=a*s[t-1];for(l[n-1]=s[n-1]/o[n-1],t=n-2;t>=0;--t)l[t]=(s[t]-l[t+1])/o[t];for(o[n-1]=(e[n]+l[n-1])/2,t=0;t<n-1;++t)o[t]=2*e[t+1]-l[t+1];return[l,o]}function Y3(e){return new a_(e)}function Zf(e,t){this._context=e,this._t=t}Zf.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 n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}break}}this._x=e,this._y=t}};function V3(e){return new Zf(e,.5)}function X3(e){return new Zf(e,0)}function Z3(e){return new Zf(e,1)}function Pi(e,t){if((s=e.length)>1)for(var n=1,a,l,o=e[t[0]],s,f=o.length;n<s;++n)for(l=o,o=e[t[n]],a=0;a<f;++a)o[a][1]+=o[a][0]=isNaN(l[a][1])?l[a][0]:l[a][1]}function Vp(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function F3(e,t){return e[t]}function W3(e){const t=[];return t.key=e,t}function Q3(){var e=Qe([]),t=Vp,n=Pi,a=F3;function l(o){var s=Array.from(e.apply(this,arguments),W3),f,d=s.length,v=-1,m;for(const y of o)for(f=0,++v;f<d;++f)(s[f][v]=[0,+a(y,s[f].key,v,o)]).data=y;for(f=0,m=Uy(t(s));f<d;++f)s[m[f]].index=f;return n(s,m),s}return l.keys=function(o){return arguments.length?(e=typeof o=="function"?o:Qe(Array.from(o)),l):e},l.value=function(o){return arguments.length?(a=typeof o=="function"?o:Qe(+o),l):a},l.order=function(o){return arguments.length?(t=o==null?Vp:typeof o=="function"?o:Qe(Array.from(o)),l):t},l.offset=function(o){return arguments.length?(n=o??Pi,l):n},l}function J3(e,t){if((a=e.length)>0){for(var n,a,l=0,o=e[0].length,s;l<o;++l){for(s=n=0;n<a;++n)s+=e[n][l][1]||0;if(s)for(n=0;n<a;++n)e[n][l][1]/=s}Pi(e,t)}}function ek(e,t){if((l=e.length)>0){for(var n=0,a=e[t[0]],l,o=a.length;n<o;++n){for(var s=0,f=0;s<l;++s)f+=e[s][n][1]||0;a[n][1]+=a[n][0]=-f/2}Pi(e,t)}}function tk(e,t){if(!(!((s=e.length)>0)||!((o=(l=e[t[0]]).length)>0))){for(var n=0,a=1,l,o,s;a<o;++a){for(var f=0,d=0,v=0;f<s;++f){for(var m=e[t[f]],y=m[a][1]||0,g=m[a-1][1]||0,b=(y-g)/2,w=0;w<f;++w){var O=e[t[w]],A=O[a][1]||0,E=O[a-1][1]||0;b+=A-E}d+=y,v+=b*y}l[a-1][1]+=l[a-1][0]=n,d&&(n-=v/d)}l[a-1][1]+=l[a-1][0]=n,Pi(e,t)}}var fm={},dm={},GS;function nk(){return GS||(GS=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return n==="__proto__"}e.isUnsafeProperty=t})(dm)),dm}var vm={},$S;function i_(){return $S||($S=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){switch(typeof n){case"number":case"symbol":return!1;case"string":return n.includes(".")||n.includes("[")||n.includes("]")}}e.isDeepKey=t})(vm)),vm}var hm={},KS;function Hy(){return KS||(KS=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){var a;return typeof n=="string"||typeof n=="symbol"?n:Object.is((a=n==null?void 0:n.valueOf)==null?void 0:a.call(n),-0)?"-0":String(n)}e.toKey=t})(hm)),hm}var mm={},pm={},YS;function rk(){return YS||(YS=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){if(n==null)return"";if(typeof n=="string")return n;if(Array.isArray(n))return n.map(t).join(",");const a=String(n);return a==="0"&&Object.is(Number(n),-0)?"-0":a}e.toString=t})(pm)),pm}var VS;function Gy(){return VS||(VS=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=rk(),n=Hy();function a(l){if(Array.isArray(l))return l.map(n.toKey);if(typeof l=="symbol")return[l];l=t.toString(l);const o=[],s=l.length;if(s===0)return o;let f=0,d="",v="",m=!1;for(l.charCodeAt(0)===46&&(o.push(""),f++);f<s;){const y=l[f];v?y==="\\"&&f+1<s?(f++,d+=l[f]):y===v?v="":d+=y:m?y==='"'||y==="'"?v=y:y==="]"?(m=!1,o.push(d),d=""):d+=y:y==="["?(m=!0,d&&(o.push(d),d="")):y==="."?d&&(o.push(d),d=""):d+=y,f++}return d&&o.push(d),o}e.toPath=a})(mm)),mm}var XS;function $y(){return XS||(XS=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=nk(),n=i_(),a=Hy(),l=Gy();function o(f,d,v){if(f==null)return v;switch(typeof d){case"string":{if(t.isUnsafeProperty(d))return v;const m=f[d];return m===void 0?n.isDeepKey(d)?o(f,l.toPath(d),v):v:m}case"number":case"symbol":{typeof d=="number"&&(d=a.toKey(d));const m=f[d];return m===void 0?v:m}default:{if(Array.isArray(d))return s(f,d,v);if(Object.is(d==null?void 0:d.valueOf(),-0)?d="-0":d=String(d),t.isUnsafeProperty(d))return v;const m=f[d];return m===void 0?v:m}}}function s(f,d,v){if(d.length===0)return v;let m=f;for(let y=0;y<d.length;y++){if(m==null||t.isUnsafeProperty(d[y]))return v;m=m[d[y]]}return m===void 0?v:m}e.get=o})(fm)),fm}var ym,ZS;function ak(){return ZS||(ZS=1,ym=$y().get),ym}var ik=ak();const Di=Ya(ik);var lk=4;function qa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:lk,n=10**t,a=Math.round(e*n)/n;return Object.is(a,-0)?0:a}function ht(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return e.reduce((l,o,s)=>{var f=n[s-1];return typeof f=="string"?l+f+o:f!==void 0?l+qa(f)+o:l+o},"")}var Ut=e=>e===0?0:e>0?1:-1,jr=e=>typeof e=="number"&&e!=+e,ki=e=>typeof e=="string"&&e.indexOf("%")===e.length-1,he=e=>(typeof e=="number"||e instanceof Number)&&!jr(e),Mr=e=>he(e)||typeof e=="string",uk=0,No=e=>{var t=++uk;return"".concat(e||"").concat(t)},tn=function(t,n){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!he(t)&&typeof t!="string")return a;var o;if(ki(t)){if(n==null)return a;var s=t.indexOf("%");o=n*parseFloat(t.slice(0,s))/100}else o=+t;return jr(o)&&(o=a),l&&n!=null&&o>n&&(o=n),o},l_=e=>{if(!Array.isArray(e))return!1;for(var t=e.length,n={},a=0;a<t;a++)if(!n[String(e[a])])n[String(e[a])]=!0;else return!0;return!1};function Ct(e,t,n){return he(e)&&he(t)?qa(e+n*(t-e)):t}function ok(e,t,n){if(!(!e||!e.length))return e.find(a=>a&&(typeof t=="function"?t(a):Di(a,t))===n)}var Pt=e=>e===null||typeof e>"u",Yo=e=>Pt(e)?e:"".concat(e.charAt(0).toUpperCase()).concat(e.slice(1));function wn(e){return e!=null}function iu(){}var ck=["type","size","sizeType"];function Xp(){return Xp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Xp.apply(null,arguments)}function FS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function WS(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?FS(Object(n),!0).forEach(function(a){sk(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):FS(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function sk(e,t,n){return(t=fk(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fk(e){var t=dk(e,"string");return typeof t=="symbol"?t:t+""}function dk(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function vk(e,t){if(e==null)return{};var n,a,l=hk(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}function hk(e,t){if(e==null)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;n[a]=e[a]}return n}var u_={symbolCircle:qy,symbolCross:j3,symbolDiamond:C3,symbolSquare:N3,symbolStar:R3,symbolTriangle:z3,symbolWye:L3},mk=Math.PI/180,pk=e=>{var t="symbol".concat(Yo(e));return u_[t]||qy},yk=(e,t,n)=>{if(t==="area")return e;switch(n){case"cross":return 5*e*e/9;case"diamond":return .5*e*e/Math.sqrt(3);case"square":return e*e;case"star":{var a=18*mk;return 1.25*e*e*(Math.tan(a)-Math.tan(a*2)*Math.tan(a)**2)}case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}},gk=(e,t)=>{u_["symbol".concat(Yo(e))]=t},o_=e=>{var{type:t="circle",size:n=64,sizeType:a="area"}=e,l=vk(e,ck),o=WS(WS({},l),{},{type:t,size:n,sizeType:a}),s="circle";typeof t=="string"&&(s=t);var f=()=>{var g=pk(s),b=B3().type(g).size(yk(n,a,s)),w=b();if(w!==null)return w},{className:d,cx:v,cy:m}=o,y=er(o);return he(v)&&he(m)&&he(n)?x.createElement("path",Xp({},y,{className:Xe("recharts-symbols",d),transform:"translate(".concat(v,", ").concat(m,")"),d:f()})):null};o_.registerSymbol=gk;var c_=e=>"radius"in e&&"startAngle"in e&&"endAngle"in e,bk=(e,t)=>{if(!e||typeof e=="function"||typeof e=="boolean")return null;var n=e;if(x.isValidElement(e)&&(n=e.props),typeof n!="object"&&typeof n!="function")return null;var a={};return Object.keys(n).forEach(l=>{Ly(l)&&typeof n[l]=="function"&&(a[l]=(o=>n[l](n,o)))}),a},xk=(e,t,n)=>a=>(e(t,n,a),null),Ff=(e,t,n)=>{if(e===null||typeof e!="object"&&typeof e!="function")return null;var a=null;return Object.keys(e).forEach(l=>{var o=e[l];Ly(l)&&typeof o=="function"&&(a||(a={}),a[l]=xk(o,t,n))}),a};function QS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function Sk(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?QS(Object(n),!0).forEach(function(a){Ok(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):QS(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function Ok(e,t,n){return(t=wk(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wk(e){var t=Ak(e,"string");return typeof t=="symbol"?t:t+""}function Ak(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function rn(e,t){var n=Sk({},e),a=t,l=Object.keys(t),o=l.reduce((s,f)=>(s[f]===void 0&&a[f]!==void 0&&(s[f]=a[f]),s),n);return o}var gm={},bm={},JS;function Ek(){return JS||(JS=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n,a){const l=new Map;for(let o=0;o<n.length;o++){const s=n[o],f=a(s,o,n);l.has(f)||l.set(f,s)}return Array.from(l.values())}e.uniqBy=t})(bm)),bm}var xm={},eO;function _k(){return eO||(eO=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n,a){return function(...l){return n.apply(this,l.slice(0,a))}}e.ary=t})(xm)),xm}var Sm={},tO;function s_(){return tO||(tO=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return n}e.identity=t})(Sm)),Sm}var Om={},wm={},Am={},nO;function Tk(){return nO||(nO=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return Number.isSafeInteger(n)&&n>=0}e.isLength=t})(Am)),Am}var rO;function f_(){return rO||(rO=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=Tk();function n(a){return a!=null&&typeof a!="function"&&t.isLength(a.length)}e.isArrayLike=n})(wm)),wm}var Em={},aO;function jk(){return aO||(aO=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return typeof n=="object"&&n!==null}e.isObjectLike=t})(Em)),Em}var iO;function Mk(){return iO||(iO=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=f_(),n=jk();function a(l){return n.isObjectLike(l)&&t.isArrayLike(l)}e.isArrayLikeObject=a})(Om)),Om}var _m={},Tm={},lO;function Ck(){return lO||(lO=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=$y();function n(a){return function(l){return t.get(l,a)}}e.property=n})(Tm)),Tm}var jm={},Mm={},Cm={},Nm={},uO;function d_(){return uO||(uO=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return n!==null&&(typeof n=="object"||typeof n=="function")}e.isObject=t})(Nm)),Nm}var Pm={},oO;function v_(){return oO||(oO=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return n==null||typeof n!="object"&&typeof n!="function"}e.isPrimitive=t})(Pm)),Pm}var Dm={},cO;function h_(){return cO||(cO=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n,a){return n===a||Number.isNaN(n)&&Number.isNaN(a)}e.isEqualsSameValueZero=t})(Dm)),Dm}var sO;function Nk(){return sO||(sO=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=d_(),n=v_(),a=h_();function l(m,y,g){return typeof g!="function"?l(m,y,()=>{}):o(m,y,function b(w,O,A,E,j,M){const N=g(w,O,A,E,j,M);return N!==void 0?!!N:o(w,O,b,M)},new Map)}function o(m,y,g,b){if(y===m)return!0;switch(typeof y){case"object":return s(m,y,g,b);case"function":return Object.keys(y).length>0?o(m,{...y},g,b):a.isEqualsSameValueZero(m,y);default:return t.isObject(m)?typeof y=="string"?y==="":!0:a.isEqualsSameValueZero(m,y)}}function s(m,y,g,b){if(y==null)return!0;if(Array.isArray(y))return d(m,y,g,b);if(y instanceof Map)return f(m,y,g,b);if(y instanceof Set)return v(m,y,g,b);const w=Object.keys(y);if(m==null||n.isPrimitive(m))return w.length===0;if(w.length===0)return!0;if(b!=null&&b.has(y))return b.get(y)===m;b==null||b.set(y,m);try{for(let O=0;O<w.length;O++){const A=w[O];if(!n.isPrimitive(m)&&!(A in m)||y[A]===void 0&&m[A]!==void 0||y[A]===null&&m[A]!==null||!g(m[A],y[A],A,m,y,b))return!1}return!0}finally{b==null||b.delete(y)}}function f(m,y,g,b){if(y.size===0)return!0;if(!(m instanceof Map))return!1;for(const[w,O]of y.entries()){const A=m.get(w);if(g(A,O,w,m,y,b)===!1)return!1}return!0}function d(m,y,g,b){if(y.length===0)return!0;if(!Array.isArray(m))return!1;const w=new Set;for(let O=0;O<y.length;O++){const A=y[O];let E=!1;for(let j=0;j<m.length;j++){if(w.has(j))continue;const M=m[j];let N=!1;if(g(M,A,O,m,y,b)&&(N=!0),N){w.add(j),E=!0;break}}if(!E)return!1}return!0}function v(m,y,g,b){return y.size===0?!0:m instanceof Set?d([...m],[...y],g,b):!1}e.isMatchWith=l,e.isSetMatch=v})(Cm)),Cm}var fO;function m_(){return fO||(fO=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=Nk();function n(a,l){return t.isMatchWith(a,l,()=>{})}e.isMatch=n})(Mm)),Mm}var km={},Rm={},zm={},dO;function Pk(){return dO||(dO=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return Object.getOwnPropertySymbols(n).filter(a=>Object.prototype.propertyIsEnumerable.call(n,a))}e.getSymbols=t})(zm)),zm}var Im={},vO;function Ky(){return vO||(vO=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return n==null?n===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(n)}e.getTag=t})(Im)),Im}var Lm={},hO;function p_(){return hO||(hO=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t="[object RegExp]",n="[object String]",a="[object Number]",l="[object Boolean]",o="[object Arguments]",s="[object Symbol]",f="[object Date]",d="[object Map]",v="[object Set]",m="[object Array]",y="[object Function]",g="[object ArrayBuffer]",b="[object Object]",w="[object Error]",O="[object DataView]",A="[object Uint8Array]",E="[object Uint8ClampedArray]",j="[object Uint16Array]",M="[object Uint32Array]",N="[object BigUint64Array]",D="[object Int8Array]",C="[object Int16Array]",z="[object Int32Array]",G="[object BigInt64Array]",V="[object Float32Array]",Q="[object Float64Array]";e.argumentsTag=o,e.arrayBufferTag=g,e.arrayTag=m,e.bigInt64ArrayTag=G,e.bigUint64ArrayTag=N,e.booleanTag=l,e.dataViewTag=O,e.dateTag=f,e.errorTag=w,e.float32ArrayTag=V,e.float64ArrayTag=Q,e.functionTag=y,e.int16ArrayTag=C,e.int32ArrayTag=z,e.int8ArrayTag=D,e.mapTag=d,e.numberTag=a,e.objectTag=b,e.regexpTag=t,e.setTag=v,e.stringTag=n,e.symbolTag=s,e.uint16ArrayTag=j,e.uint32ArrayTag=M,e.uint8ArrayTag=A,e.uint8ClampedArrayTag=E})(Lm)),Lm}var Bm={},mO;function Dk(){return mO||(mO=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return ArrayBuffer.isView(n)&&!(n instanceof DataView)}e.isTypedArray=t})(Bm)),Bm}var pO;function y_(){return pO||(pO=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=Pk(),n=Ky(),a=p_(),l=v_(),o=Dk();function s(m,y){return f(m,void 0,m,new Map,y)}function f(m,y,g,b=new Map,w=void 0){const O=w==null?void 0:w(m,y,g,b);if(O!==void 0)return O;if(l.isPrimitive(m))return m;if(b.has(m))return b.get(m);if(Array.isArray(m)){const A=new Array(m.length);b.set(m,A);for(let E=0;E<m.length;E++)A[E]=f(m[E],E,g,b,w);return Object.hasOwn(m,"index")&&(A.index=m.index),Object.hasOwn(m,"input")&&(A.input=m.input),A}if(m instanceof Date)return new Date(m.getTime());if(m instanceof RegExp){const A=new RegExp(m.source,m.flags);return A.lastIndex=m.lastIndex,A}if(m instanceof Map){const A=new Map;b.set(m,A);for(const[E,j]of m)A.set(E,f(j,E,g,b,w));return A}if(m instanceof Set){const A=new Set;b.set(m,A);for(const E of m)A.add(f(E,void 0,g,b,w));return A}if(typeof Buffer<"u"&&Buffer.isBuffer(m))return m.subarray();if(o.isTypedArray(m)){const A=new(Object.getPrototypeOf(m)).constructor(m.length);b.set(m,A);for(let E=0;E<m.length;E++)A[E]=f(m[E],E,g,b,w);return A}if(m instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&m instanceof SharedArrayBuffer)return m.slice(0);if(m instanceof DataView){const A=new DataView(m.buffer.slice(0),m.byteOffset,m.byteLength);return b.set(m,A),d(A,m,g,b,w),A}if(typeof File<"u"&&m instanceof File){const A=new File([m],m.name,{type:m.type});return b.set(m,A),d(A,m,g,b,w),A}if(typeof Blob<"u"&&m instanceof Blob){const A=new Blob([m],{type:m.type});return b.set(m,A),d(A,m,g,b,w),A}if(m instanceof Error){const A=structuredClone(m);return b.set(m,A),A.message=m.message,A.name=m.name,A.stack=m.stack,A.cause=m.cause,A.constructor=m.constructor,d(A,m,g,b,w),A}if(m instanceof Boolean){const A=new Boolean(m.valueOf());return b.set(m,A),d(A,m,g,b,w),A}if(m instanceof Number){const A=new Number(m.valueOf());return b.set(m,A),d(A,m,g,b,w),A}if(m instanceof String){const A=new String(m.valueOf());return b.set(m,A),d(A,m,g,b,w),A}if(typeof m=="object"&&v(m)){const A=Object.create(Object.getPrototypeOf(m));return b.set(m,A),d(A,m,g,b,w),A}return m}function d(m,y,g=m,b,w){const O=[...Object.keys(y),...t.getSymbols(y)];for(let A=0;A<O.length;A++){const E=O[A],j=Object.getOwnPropertyDescriptor(m,E);(j==null||j.writable)&&(m[E]=f(y[E],E,g,b,w))}}function v(m){switch(n.getTag(m)){case a.argumentsTag:case a.arrayTag:case a.arrayBufferTag:case a.dataViewTag:case a.booleanTag:case a.dateTag:case a.float32ArrayTag:case a.float64ArrayTag:case a.int8ArrayTag:case a.int16ArrayTag:case a.int32ArrayTag:case a.mapTag:case a.numberTag:case a.objectTag:case a.regexpTag:case a.setTag:case a.stringTag:case a.symbolTag:case a.uint8ArrayTag:case a.uint8ClampedArrayTag:case a.uint16ArrayTag:case a.uint32ArrayTag:return!0;default:return!1}}e.cloneDeepWith=s,e.cloneDeepWithImpl=f,e.copyProperties=d})(Rm)),Rm}var yO;function kk(){return yO||(yO=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=y_();function n(a){return t.cloneDeepWithImpl(a,void 0,a,new Map,void 0)}e.cloneDeep=n})(km)),km}var gO;function Rk(){return gO||(gO=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=m_(),n=kk();function a(l){return l=n.cloneDeep(l),o=>t.isMatch(o,l)}e.matches=a})(jm)),jm}var Um={},qm={},Hm={},bO;function zk(){return bO||(bO=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=y_(),n=Ky(),a=p_();function l(o,s){return t.cloneDeepWith(o,(f,d,v,m)=>{const y=s==null?void 0:s(f,d,v,m);if(y!==void 0)return y;if(typeof o=="object"){if(n.getTag(o)===a.objectTag&&typeof o.constructor!="function"){const g={};return m.set(o,g),t.copyProperties(g,o,v,m),g}switch(Object.prototype.toString.call(o)){case a.numberTag:case a.stringTag:case a.booleanTag:{const g=new o.constructor(o==null?void 0:o.valueOf());return t.copyProperties(g,o),g}case a.argumentsTag:{const g={};return t.copyProperties(g,o),g.length=o.length,g[Symbol.iterator]=o[Symbol.iterator],g}default:return}}})}e.cloneDeepWith=l})(Hm)),Hm}var xO;function Ik(){return xO||(xO=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=zk();function n(a){return t.cloneDeepWith(a)}e.cloneDeep=n})(qm)),qm}var Gm={},$m={},SO;function g_(){return SO||(SO=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=/^(?:0|[1-9]\d*)$/;function n(a,l=Number.MAX_SAFE_INTEGER){switch(typeof a){case"number":return Number.isInteger(a)&&a>=0&&a<l;case"symbol":return!1;case"string":return t.test(a)}}e.isIndex=n})($m)),$m}var Km={},OO;function Lk(){return OO||(OO=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=Ky();function n(a){return a!==null&&typeof a=="object"&&t.getTag(a)==="[object Arguments]"}e.isArguments=n})(Km)),Km}var wO;function Bk(){return wO||(wO=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=i_(),n=g_(),a=Lk(),l=Gy();function o(s,f){let d;if(Array.isArray(f)?d=f:typeof f=="string"&&t.isDeepKey(f)&&(s==null?void 0:s[f])==null?d=l.toPath(f):d=[f],d.length===0)return!1;let v=s;for(let m=0;m<d.length;m++){const y=d[m];if((v==null||!Object.hasOwn(v,y))&&!((Array.isArray(v)||a.isArguments(v))&&n.isIndex(y)&&y<v.length))return!1;v=v[y]}return!0}e.has=o})(Gm)),Gm}var AO;function Uk(){return AO||(AO=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=m_(),n=Hy(),a=Ik(),l=$y(),o=Bk();function s(f,d){switch(typeof f){case"object":{Object.is(f==null?void 0:f.valueOf(),-0)&&(f="-0");break}case"number":{f=n.toKey(f);break}}return d=a.cloneDeep(d),function(v){const m=l.get(v,f);return m===void 0?o.has(v,f):d===void 0?m===void 0:t.isMatch(m,d)}}e.matchesProperty=s})(Um)),Um}var EO;function qk(){return EO||(EO=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=s_(),n=Ck(),a=Rk(),l=Uk();function o(s){if(s==null)return t.identity;switch(typeof s){case"function":return s;case"object":return Array.isArray(s)&&s.length===2?l.matchesProperty(s[0],s[1]):a.matches(s);case"string":case"symbol":case"number":return n.property(s)}}e.iteratee=o})(_m)),_m}var _O;function Hk(){return _O||(_O=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=Ek(),n=_k(),a=s_(),l=Mk(),o=qk();function s(f,d=a.identity){return l.isArrayLikeObject(f)?t.uniqBy(Array.from(f),n.ary(o.iteratee(d),1)):[]}e.uniqBy=s})(gm)),gm}var Ym,TO;function Gk(){return TO||(TO=1,Ym=Hk().uniqBy),Ym}var $k=Gk();const jO=Ya($k);function Kk(e,t,n){return t===!0?jO(e,n):typeof t=="function"?jO(e,t):e}var Vm={exports:{}},Xm={},Zm={exports:{}},Fm={};/**
 * @license React
 * use-sync-external-store-shim.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var MO;function Yk(){if(MO)return Fm;MO=1;var e=au();function t(y,g){return y===g&&(y!==0||1/y===1/g)||y!==y&&g!==g}var n=typeof Object.is=="function"?Object.is:t,a=e.useState,l=e.useEffect,o=e.useLayoutEffect,s=e.useDebugValue;function f(y,g){var b=g(),w=a({inst:{value:b,getSnapshot:g}}),O=w[0].inst,A=w[1];return o(function(){O.value=b,O.getSnapshot=g,d(O)&&A({inst:O})},[y,b,g]),l(function(){return d(O)&&A({inst:O}),y(function(){d(O)&&A({inst:O})})},[y]),s(b),b}function d(y){var g=y.getSnapshot;y=y.value;try{var b=g();return!n(y,b)}catch{return!0}}function v(y,g){return g()}var m=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?v:f;return Fm.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:m,Fm}var CO;function Vk(){return CO||(CO=1,Zm.exports=Yk()),Zm.exports}/**
 * @license React
 * use-sync-external-store-shim/with-selector.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var NO;function Xk(){if(NO)return Xm;NO=1;var e=au(),t=Vk();function n(v,m){return v===m&&(v!==0||1/v===1/m)||v!==v&&m!==m}var a=typeof Object.is=="function"?Object.is:n,l=t.useSyncExternalStore,o=e.useRef,s=e.useEffect,f=e.useMemo,d=e.useDebugValue;return Xm.useSyncExternalStoreWithSelector=function(v,m,y,g,b){var w=o(null);if(w.current===null){var O={hasValue:!1,value:null};w.current=O}else O=w.current;w=f(function(){function E(C){if(!j){if(j=!0,M=C,C=g(C),b!==void 0&&O.hasValue){var z=O.value;if(b(z,C))return N=z}return N=C}if(z=N,a(M,C))return z;var G=g(C);return b!==void 0&&b(z,G)?(M=C,z):(M=C,N=G)}var j=!1,M,N,D=y===void 0?null:y;return[function(){return E(m())},D===null?void 0:function(){return E(D())}]},[m,y,g,b]);var A=l(v,w[0],w[1]);return s(function(){O.hasValue=!0,O.value=A},[A]),d(A),A},Xm}var PO;function Zk(){return PO||(PO=1,Vm.exports=Xk()),Vm.exports}var Fk=Zk(),Yy=x.createContext(null),Wk=e=>e,et=()=>{var e=x.useContext(Yy);return e?e.store.dispatch:Wk},Vs=()=>{},Qk=()=>Vs,Jk=(e,t)=>e===t;function ye(e){var t=x.useContext(Yy),n=x.useMemo(()=>t?a=>{if(a!=null)return e(a)}:Vs,[t,e]);return Fk.useSyncExternalStoreWithSelector(t?t.subscription.addNestedSub:Qk,t?t.store.getState:Vs,t?t.store.getState:Vs,n,Jk)}function e6(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function t6(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function n6(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(n=>typeof n=="function")){const n=e.map(a=>typeof a=="function"?`function ${a.name||"unnamed"}()`:typeof a).join(", ");throw new TypeError(`${t}[${n}]`)}}var DO=e=>Array.isArray(e)?e:[e];function r6(e){const t=Array.isArray(e[0])?e[0]:e;return n6(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function a6(e,t){const n=[],{length:a}=e;for(let l=0;l<a;l++)n.push(e[l].apply(null,t));return n}var i6=class{constructor(e){this.value=e}deref(){return this.value}},l6=typeof WeakRef<"u"?WeakRef:i6,u6=0,kO=1;function Cs(){return{s:u6,v:void 0,o:null,p:null}}function b_(e,t={}){let n=Cs();const{resultEqualityCheck:a}=t;let l,o=0;function s(){var y;let f=n;const{length:d}=arguments;for(let g=0,b=d;g<b;g++){const w=arguments[g];if(typeof w=="function"||typeof w=="object"&&w!==null){let O=f.o;O===null&&(f.o=O=new WeakMap);const A=O.get(w);A===void 0?(f=Cs(),O.set(w,f)):f=A}else{let O=f.p;O===null&&(f.p=O=new Map);const A=O.get(w);A===void 0?(f=Cs(),O.set(w,f)):f=A}}const v=f;let m;if(f.s===kO)m=f.v;else if(m=e.apply(null,arguments),o++,a){const g=((y=l==null?void 0:l.deref)==null?void 0:y.call(l))??l;g!=null&&a(g,m)&&(m=g,o!==0&&o--),l=typeof m=="object"&&m!==null||typeof m=="function"?new l6(m):m}return v.s=kO,v.v=m,m}return s.clearCache=()=>{n=Cs(),s.resetResultsCount()},s.resultsCount=()=>o,s.resetResultsCount=()=>{o=0},s}function o6(e,...t){const n=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,a=(...l)=>{let o=0,s=0,f,d={},v=l.pop();typeof v=="object"&&(d=v,v=l.pop()),e6(v,`createSelector expects an output function after the inputs, but received: [${typeof v}]`);const m={...n,...d},{memoize:y,memoizeOptions:g=[],argsMemoize:b=b_,argsMemoizeOptions:w=[]}=m,O=DO(g),A=DO(w),E=r6(l),j=y(function(){return o++,v.apply(null,arguments)},...O),M=b(function(){s++;const D=a6(E,arguments);return f=j.apply(null,D),f},...A);return Object.assign(M,{resultFunc:v,memoizedResultFunc:j,dependencies:E,dependencyRecomputations:()=>s,resetDependencyRecomputations:()=>{s=0},lastResult:()=>f,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:y,argsMemoize:b})};return Object.assign(a,{withTypes:()=>a}),a}var L=o6(b_),c6=Object.assign((e,t=L)=>{t6(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);const n=Object.keys(e),a=n.map(o=>e[o]);return t(a,(...o)=>o.reduce((s,f,d)=>(s[n[d]]=f,s),{}))},{withTypes:()=>c6}),Wm={},Qm={},Jm={},RO;function s6(){return RO||(RO=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(a){return typeof a=="symbol"?1:a===null?2:a===void 0?3:a!==a?4:0}const n=(a,l,o)=>{if(a!==l){const s=t(a),f=t(l);if(s===f&&s===0){if(a<l)return o==="desc"?1:-1;if(a>l)return o==="desc"?-1:1}return o==="desc"?f-s:s-f}return 0};e.compareValues=n})(Jm)),Jm}var ep={},tp={},zO;function x_(){return zO||(zO=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return typeof n=="symbol"||n instanceof Symbol}e.isSymbol=t})(tp)),tp}var IO;function f6(){return IO||(IO=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=x_(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;function l(o,s){return Array.isArray(o)?!1:typeof o=="number"||typeof o=="boolean"||o==null||t.isSymbol(o)?!0:typeof o=="string"&&(a.test(o)||!n.test(o))||s!=null&&Object.hasOwn(s,o)}e.isKey=l})(ep)),ep}var LO;function d6(){return LO||(LO=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=s6(),n=f6(),a=Gy();function l(o,s,f,d){if(o==null)return[];f=d?void 0:f,Array.isArray(o)||(o=Object.values(o)),Array.isArray(s)||(s=s==null?[null]:[s]),s.length===0&&(s=[null]),Array.isArray(f)||(f=f==null?[]:[f]),f=f.map(b=>String(b));const v=(b,w)=>{let O=b;for(let A=0;A<w.length&&O!=null;++A)O=O[w[A]];return O},m=(b,w)=>w==null||b==null?w:typeof b=="object"&&"key"in b?Object.hasOwn(w,b.key)?w[b.key]:v(w,b.path):typeof b=="function"?b(w):Array.isArray(b)?v(w,b):typeof w=="object"?w[b]:w,y=s.map(b=>(Array.isArray(b)&&b.length===1&&(b=b[0]),b==null||typeof b=="function"||Array.isArray(b)||n.isKey(b)?b:{key:b,path:a.toPath(b)}));return o.map(b=>({original:b,criteria:y.map(w=>m(w,b))})).slice().sort((b,w)=>{for(let O=0;O<y.length;O++){const A=t.compareValues(b.criteria[O],w.criteria[O],f[O]);if(A!==0)return A}return 0}).map(b=>b.original)}e.orderBy=l})(Qm)),Qm}var np={},BO;function v6(){return BO||(BO=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n,a=1){const l=[],o=Math.floor(a),s=(f,d)=>{for(let v=0;v<f.length;v++){const m=f[v];Array.isArray(m)&&d<o?s(m,d+1):l.push(m)}};return s(n,0),l}e.flatten=t})(np)),np}var rp={},UO;function S_(){return UO||(UO=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=g_(),n=f_(),a=d_(),l=h_();function o(s,f,d){return a.isObject(d)&&(typeof f=="number"&&n.isArrayLike(d)&&t.isIndex(f)&&f<d.length||typeof f=="string"&&f in d)?l.isEqualsSameValueZero(d[f],s):!1}e.isIterateeCall=o})(rp)),rp}var qO;function h6(){return qO||(qO=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=d6(),n=v6(),a=S_();function l(o,...s){const f=s.length;return f>1&&a.isIterateeCall(o,s[0],s[1])?s=[]:f>2&&a.isIterateeCall(s[0],s[1],s[2])&&(s=[s[0]]),t.orderBy(o,n.flatten(s),["asc"])}e.sortBy=l})(Wm)),Wm}var ap,HO;function m6(){return HO||(HO=1,ap=h6().sortBy),ap}var p6=m6();const Wf=Ya(p6);var O_=e=>e.legend.settings,y6=e=>e.legend.size,g6=e=>e.legend.payload;L([g6,O_],(e,t)=>{var{itemSorter:n}=t,a=e.flat(1);return n?Wf(a,n):a});var Ns=1;function b6(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],[t,n]=x.useState({height:0,left:0,top:0,width:0}),a=x.useCallback(l=>{if(l!=null){var o=l.getBoundingClientRect(),s={height:o.height,left:o.left,top:o.top,width:o.width};(Math.abs(s.height-t.height)>Ns||Math.abs(s.left-t.left)>Ns||Math.abs(s.top-t.top)>Ns||Math.abs(s.width-t.width)>Ns)&&n({height:s.height,left:s.left,top:s.top,width:s.width})}},[t.width,t.height,t.top,t.left,...e]);return[t,a]}function Zt(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var x6=typeof Symbol=="function"&&Symbol.observable||"@@observable",GO=x6,ip=()=>Math.random().toString(36).substring(7).split("").join("."),S6={INIT:`@@redux/INIT${ip()}`,REPLACE:`@@redux/REPLACE${ip()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${ip()}`},rf=S6;function Vy(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function w_(e,t,n){if(typeof e!="function")throw new Error(Zt(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(Zt(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(Zt(1));return n(w_)(e,t)}let a=e,l=t,o=new Map,s=o,f=0,d=!1;function v(){s===o&&(s=new Map,o.forEach((A,E)=>{s.set(E,A)}))}function m(){if(d)throw new Error(Zt(3));return l}function y(A){if(typeof A!="function")throw new Error(Zt(4));if(d)throw new Error(Zt(5));let E=!0;v();const j=f++;return s.set(j,A),function(){if(E){if(d)throw new Error(Zt(6));E=!1,v(),s.delete(j),o=null}}}function g(A){if(!Vy(A))throw new Error(Zt(7));if(typeof A.type>"u")throw new Error(Zt(8));if(typeof A.type!="string")throw new Error(Zt(17));if(d)throw new Error(Zt(9));try{d=!0,l=a(l,A)}finally{d=!1}return(o=s).forEach(j=>{j()}),A}function b(A){if(typeof A!="function")throw new Error(Zt(10));a=A,g({type:rf.REPLACE})}function w(){const A=y;return{subscribe(E){if(typeof E!="object"||E===null)throw new Error(Zt(11));function j(){const N=E;N.next&&N.next(m())}return j(),{unsubscribe:A(j)}},[GO](){return this}}}return g({type:rf.INIT}),{dispatch:g,subscribe:y,getState:m,replaceReducer:b,[GO]:w}}function O6(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:rf.INIT})>"u")throw new Error(Zt(12));if(typeof n(void 0,{type:rf.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Zt(13))})}function A_(e){const t=Object.keys(e),n={};for(let o=0;o<t.length;o++){const s=t[o];typeof e[s]=="function"&&(n[s]=e[s])}const a=Object.keys(n);let l;try{O6(n)}catch(o){l=o}return function(s={},f){if(l)throw l;let d=!1;const v={};for(let m=0;m<a.length;m++){const y=a[m],g=n[y],b=s[y],w=g(b,f);if(typeof w>"u")throw f&&f.type,new Error(Zt(14));v[y]=w,d=d||w!==b}return d=d||a.length!==Object.keys(s).length,d?v:s}}function af(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...a)=>t(n(...a)))}function w6(...e){return t=>(n,a)=>{const l=t(n,a);let o=()=>{throw new Error(Zt(15))};const s={getState:l.getState,dispatch:(d,...v)=>o(d,...v)},f=e.map(d=>d(s));return o=af(...f)(l.dispatch),{...l,dispatch:o}}}function E_(e){return Vy(e)&&"type"in e&&typeof e.type=="string"}var __=Symbol.for("immer-nothing"),$O=Symbol.for("immer-draftable"),dn=Symbol.for("immer-state");function ur(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var kn=Object,Zl=kn.getPrototypeOf,lf="constructor",Qf="prototype",Zp="configurable",uf="enumerable",Xs="writable",Po="value",ra=e=>!!e&&!!e[dn];function fr(e){var t;return e?T_(e)||ed(e)||!!e[$O]||!!((t=e[lf])!=null&&t[$O])||td(e)||nd(e):!1}var A6=kn[Qf][lf].toString(),KO=new WeakMap;function T_(e){if(!e||!Xy(e))return!1;const t=Zl(e);if(t===null||t===kn[Qf])return!0;const n=kn.hasOwnProperty.call(t,lf)&&t[lf];if(n===Object)return!0;if(!Gl(n))return!1;let a=KO.get(n);return a===void 0&&(a=Function.toString.call(n),KO.set(n,a)),a===A6}function Jf(e,t,n=!0){Vo(e)===0?(n?Reflect.ownKeys(e):kn.keys(e)).forEach(l=>{t(l,e[l],e)}):e.forEach((a,l)=>t(l,a,e))}function Vo(e){const t=e[dn];return t?t.type_:ed(e)?1:td(e)?2:nd(e)?3:0}var YO=(e,t,n=Vo(e))=>n===2?e.has(t):kn[Qf].hasOwnProperty.call(e,t),Fp=(e,t,n=Vo(e))=>n===2?e.get(t):e[t],of=(e,t,n,a=Vo(e))=>{a===2?e.set(t,n):a===3?e.add(n):e[t]=n};function E6(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}var ed=Array.isArray,td=e=>e instanceof Map,nd=e=>e instanceof Set,Xy=e=>typeof e=="object",Gl=e=>typeof e=="function",lp=e=>typeof e=="boolean";function _6(e){const t=+e;return Number.isInteger(t)&&String(t)===e}var Wr=e=>e.copy_||e.base_,Zy=e=>e.modified_?e.copy_:e.base_;function Wp(e,t){if(td(e))return new Map(e);if(nd(e))return new Set(e);if(ed(e))return Array[Qf].slice.call(e);const n=T_(e);if(t===!0||t==="class_only"&&!n){const a=kn.getOwnPropertyDescriptors(e);delete a[dn];let l=Reflect.ownKeys(a);for(let o=0;o<l.length;o++){const s=l[o],f=a[s];f[Xs]===!1&&(f[Xs]=!0,f[Zp]=!0),(f.get||f.set)&&(a[s]={[Zp]:!0,[Xs]:!0,[uf]:f[uf],[Po]:e[s]})}return kn.create(Zl(e),a)}else{const a=Zl(e);if(a!==null&&n)return{...e};const l=kn.create(a);return kn.assign(l,e)}}function Fy(e,t=!1){return rd(e)||ra(e)||!fr(e)||(Vo(e)>1&&kn.defineProperties(e,{set:Ps,add:Ps,clear:Ps,delete:Ps}),kn.freeze(e),t&&Jf(e,(n,a)=>{Fy(a,!0)},!1)),e}function T6(){ur(2)}var Ps={[Po]:T6};function rd(e){return e===null||!Xy(e)?!0:kn.isFrozen(e)}var cf="MapSet",Qp="Patches",VO="ArrayMethods",j_={};function Ri(e){const t=j_[e];return t||ur(0,e),t}var XO=e=>!!j_[e],Do,M_=()=>Do,j6=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:XO(cf)?Ri(cf):void 0,arrayMethodsPlugin_:XO(VO)?Ri(VO):void 0});function ZO(e,t){t&&(e.patchPlugin_=Ri(Qp),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Jp(e){ey(e),e.drafts_.forEach(M6),e.drafts_=null}function ey(e){e===Do&&(Do=e.parent_)}var FO=e=>Do=j6(Do,e);function M6(e){const t=e[dn];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function WO(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];if(e!==void 0&&e!==n){n[dn].modified_&&(Jp(t),ur(4)),fr(e)&&(e=QO(t,e));const{patchPlugin_:l}=t;l&&l.generateReplacementPatches_(n[dn].base_,e,t)}else e=QO(t,n);return C6(t,e,!0),Jp(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==__?e:void 0}function QO(e,t){if(rd(t))return t;const n=t[dn];if(!n)return sf(t,e.handledSet_,e);if(!ad(n,e))return t;if(!n.modified_)return n.base_;if(!n.finalized_){const{callbacks_:a}=n;if(a)for(;a.length>0;)a.pop()(e);P_(n,e)}return n.copy_}function C6(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Fy(t,n)}function C_(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var ad=(e,t)=>e.scope_===t,N6=[];function N_(e,t,n,a){const l=Wr(e),o=e.type_;if(a!==void 0&&Fp(l,a,o)===t){of(l,a,n,o);return}if(!e.draftLocations_){const f=e.draftLocations_=new Map;Jf(l,(d,v)=>{if(ra(v)){const m=f.get(v)||[];m.push(d),f.set(v,m)}})}const s=e.draftLocations_.get(t)??N6;for(const f of s)of(l,f,n,o)}function P6(e,t,n){e.callbacks_.push(function(l){var f;const o=t;if(!o||!ad(o,l))return;(f=l.mapSetPlugin_)==null||f.fixSetContents(o);const s=Zy(o);N_(e,o.draft_??o,s,n),P_(o,l)})}function P_(e,t){var a;if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(((a=e.assigned_)==null?void 0:a.size)??0)>0)){const{patchPlugin_:l}=t;if(l){const o=l.getPath(e);o&&l.generatePatches_(e,o,t)}C_(e)}}function D6(e,t,n){const{scope_:a}=e;if(ra(n)){const l=n[dn];ad(l,a)&&l.callbacks_.push(function(){Zs(e);const s=Zy(l);N_(e,n,s,t)})}else fr(n)&&e.callbacks_.push(function(){const o=Wr(e);e.type_===3?o.has(n)&&sf(n,a.handledSet_,a):Fp(o,t,e.type_)===n&&a.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&sf(Fp(e.copy_,t,e.type_),a.handledSet_,a)})}function sf(e,t,n){return!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1||ra(e)||t.has(e)||!fr(e)||rd(e)||(t.add(e),Jf(e,(a,l)=>{if(ra(l)){const o=l[dn];if(ad(o,n)){const s=Zy(o);of(e,a,s,e.type_),C_(o)}}else fr(l)&&sf(l,t,n)})),e}function k6(e,t){const n=ed(e),a={type_:n?1:0,scope_:t?t.scope_:M_(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0};let l=a,o=ff;n&&(l=[a],o=ko);const{revoke:s,proxy:f}=Proxy.revocable(l,o);return a.draft_=f,a.revoke_=s,[f,a]}var ff={get(e,t){if(t===dn)return e;let n=e.scope_.arrayMethodsPlugin_;const a=e.type_===1&&typeof t=="string";if(a&&n!=null&&n.isArrayOperationMethod(t))return n.createMethodInterceptor(e,t);const l=Wr(e);if(!YO(l,t,e.type_))return R6(e,l,t);const o=l[t];if(e.finalized_||!fr(o)||a&&e.operationMethod&&(n!=null&&n.isMutatingArrayMethod(e.operationMethod))&&_6(t))return o;if(o===up(e.base_,t)){Zs(e);const s=e.type_===1?+t:t,f=ny(e.scope_,o,e,s);return e.copy_[s]=f}return o},has(e,t){return t in Wr(e)},ownKeys(e){return Reflect.ownKeys(Wr(e))},set(e,t,n){const a=D_(Wr(e),t);if(a!=null&&a.set)return a.set.call(e.draft_,n),!0;if(!e.modified_){const l=up(Wr(e),t),o=l==null?void 0:l[dn];if(o&&o.base_===n)return e.copy_[t]=n,e.assigned_.set(t,!1),!0;if(E6(n,l)&&(n!==void 0||YO(e.base_,t,e.type_)))return!0;Zs(e),ty(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_.set(t,!0),D6(e,t,n)),!0},deleteProperty(e,t){return Zs(e),up(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),ty(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=Wr(e),a=Reflect.getOwnPropertyDescriptor(n,t);return a&&{[Xs]:!0,[Zp]:e.type_!==1||t!=="length",[uf]:a[uf],[Po]:n[t]}},defineProperty(){ur(11)},getPrototypeOf(e){return Zl(e.base_)},setPrototypeOf(){ur(12)}},ko={};for(let e in ff){let t=ff[e];ko[e]=function(){const n=arguments;return n[0]=n[0][0],t.apply(this,n)}}ko.deleteProperty=function(e,t){return ko.set.call(this,e,t,void 0)};ko.set=function(e,t,n){return ff.set.call(this,e[0],t,n,e[0])};function up(e,t){const n=e[dn];return(n?Wr(n):e)[t]}function R6(e,t,n){var l;const a=D_(t,n);return a?Po in a?a[Po]:(l=a.get)==null?void 0:l.call(e.draft_):void 0}function D_(e,t){if(!(t in e))return;let n=Zl(e);for(;n;){const a=Object.getOwnPropertyDescriptor(n,t);if(a)return a;n=Zl(n)}}function ty(e){e.modified_||(e.modified_=!0,e.parent_&&ty(e.parent_))}function Zs(e){e.copy_||(e.assigned_=new Map,e.copy_=Wp(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var z6=class{constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(n,a,l)=>{if(Gl(n)&&!Gl(a)){const s=a;a=n;const f=this;return function(v=s,...m){return f.produce(v,y=>a.call(this,y,...m))}}Gl(a)||ur(6),l!==void 0&&!Gl(l)&&ur(7);let o;if(fr(n)){const s=FO(this),f=ny(s,n,void 0);let d=!0;try{o=a(f),d=!1}finally{d?Jp(s):ey(s)}return ZO(s,l),WO(o,s)}else if(!n||!Xy(n)){if(o=a(n),o===void 0&&(o=n),o===__&&(o=void 0),this.autoFreeze_&&Fy(o,!0),l){const s=[],f=[];Ri(Qp).generateReplacementPatches_(n,o,{patches_:s,inversePatches_:f}),l(s,f)}return o}else ur(1,n)},this.produceWithPatches=(n,a)=>{if(Gl(n))return(f,...d)=>this.produceWithPatches(f,v=>n(v,...d));let l,o;return[this.produce(n,a,(f,d)=>{l=f,o=d}),l,o]},lp(t==null?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze),lp(t==null?void 0:t.useStrictShallowCopy)&&this.setUseStrictShallowCopy(t.useStrictShallowCopy),lp(t==null?void 0:t.useStrictIteration)&&this.setUseStrictIteration(t.useStrictIteration)}createDraft(t){fr(t)||ur(8),ra(t)&&(t=Qn(t));const n=FO(this),a=ny(n,t,void 0);return a[dn].isManual_=!0,ey(n),a}finishDraft(t,n){const a=t&&t[dn];(!a||!a.isManual_)&&ur(9);const{scope_:l}=a;return ZO(l,n),WO(void 0,l)}setAutoFreeze(t){this.autoFreeze_=t}setUseStrictShallowCopy(t){this.useStrictShallowCopy_=t}setUseStrictIteration(t){this.useStrictIteration_=t}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(t,n){let a;for(a=n.length-1;a>=0;a--){const o=n[a];if(o.path.length===0&&o.op==="replace"){t=o.value;break}}a>-1&&(n=n.slice(a+1));const l=Ri(Qp).applyPatches_;return ra(t)?l(t,n):this.produce(t,o=>l(o,n))}};function ny(e,t,n,a){const[l,o]=td(t)?Ri(cf).proxyMap_(t,n):nd(t)?Ri(cf).proxySet_(t,n):k6(t,n);return((n==null?void 0:n.scope_)??M_()).drafts_.push(l),o.callbacks_=(n==null?void 0:n.callbacks_)??[],o.key_=a,n&&a!==void 0?P6(n,o,a):o.callbacks_.push(function(d){var m;(m=d.mapSetPlugin_)==null||m.fixSetContents(o);const{patchPlugin_:v}=d;o.modified_&&v&&v.generatePatches_(o,[],d)}),l}function Qn(e){return ra(e)||ur(10,e),k_(e)}function k_(e){if(!fr(e)||rd(e))return e;const t=e[dn];let n,a=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Wp(e,t.scope_.immer_.useStrictShallowCopy_),a=t.scope_.immer_.shouldUseStrictIteration()}else n=Wp(e,!0);return Jf(n,(l,o)=>{of(n,l,k_(o))},a),t&&(t.finalized_=!1),n}var I6=new z6,R_=I6.produce;function z_(e){return({dispatch:n,getState:a})=>l=>o=>typeof o=="function"?o(n,a,e):l(o)}var L6=z_(),B6=z_,U6=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?af:af.apply(null,arguments)};function zn(e,t){function n(...a){if(t){let l=t(...a);if(!l)throw new Error(Rn(0));return{type:e,payload:l.payload,..."meta"in l&&{meta:l.meta},..."error"in l&&{error:l.error}}}return{type:e,payload:a[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=a=>E_(a)&&a.type===e,n}var I_=class wo extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,wo.prototype)}static get[Symbol.species](){return wo}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new wo(...t[0].concat(this)):new wo(...t.concat(this))}};function JO(e){return fr(e)?R_(e,()=>{}):e}function Ds(e,t,n){return e.has(t)?e.get(t):e.set(t,n(t)).get(t)}function q6(e){return typeof e=="boolean"}var H6=()=>function(t){const{thunk:n=!0,immutableCheck:a=!0,serializableCheck:l=!0,actionCreatorCheck:o=!0}=t??{};let s=new I_;return n&&(q6(n)?s.push(L6):s.push(B6(n.extraArgument))),s},L_="RTK_autoBatch",rt=()=>e=>({payload:e,meta:{[L_]:!0}}),ew=e=>t=>{setTimeout(t,e)},B_=(e={type:"raf"})=>t=>(...n)=>{const a=t(...n);let l=!0,o=!1,s=!1;const f=new Set,d=e.type==="tick"?queueMicrotask:e.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:ew(10):e.type==="callback"?e.queueNotification:ew(e.timeout),v=()=>{s=!1,o&&(o=!1,f.forEach(m=>m()))};return Object.assign({},a,{subscribe(m){const y=()=>l&&m(),g=a.subscribe(y);return f.add(m),()=>{g(),f.delete(m)}},dispatch(m){var y;try{return l=!((y=m==null?void 0:m.meta)!=null&&y[L_]),o=!l,o&&(s||(s=!0,d(v))),a.dispatch(m)}finally{l=!0}}})},G6=e=>function(n){const{autoBatch:a=!0}=n??{};let l=new I_(e);return a&&l.push(B_(typeof a=="object"?a:void 0)),l};function $6(e){const t=H6(),{reducer:n=void 0,middleware:a,devTools:l=!0,preloadedState:o=void 0,enhancers:s=void 0}=e||{};let f;if(typeof n=="function")f=n;else if(Vy(n))f=A_(n);else throw new Error(Rn(1));let d;typeof a=="function"?d=a(t):d=t();let v=af;l&&(v=U6({trace:!1,...typeof l=="object"&&l}));const m=w6(...d),y=G6(m);let g=typeof s=="function"?s(y):y();const b=v(...g);return w_(f,o,b)}function U_(e){const t={},n=[];let a;const l={addCase(o,s){const f=typeof o=="string"?o:o.type;if(!f)throw new Error(Rn(28));if(f in t)throw new Error(Rn(29));return t[f]=s,l},addAsyncThunk(o,s){return s.pending&&(t[o.pending.type]=s.pending),s.rejected&&(t[o.rejected.type]=s.rejected),s.fulfilled&&(t[o.fulfilled.type]=s.fulfilled),s.settled&&n.push({matcher:o.settled,reducer:s.settled}),l},addMatcher(o,s){return n.push({matcher:o,reducer:s}),l},addDefaultCase(o){return a=o,l}};return e(l),[t,n,a]}function K6(e){return typeof e=="function"}function Y6(e,t){let[n,a,l]=U_(t),o;if(K6(e))o=()=>JO(e());else{const f=JO(e);o=()=>f}function s(f=o(),d){let v=[n[d.type],...a.filter(({matcher:m})=>m(d)).map(({reducer:m})=>m)];return v.filter(m=>!!m).length===0&&(v=[l]),v.reduce((m,y)=>{if(y)if(ra(m)){const b=y(m,d);return b===void 0?m:b}else{if(fr(m))return R_(m,g=>y(g,d));{const g=y(m,d);if(g===void 0){if(m===null)return m;throw Error("A case reducer on a non-draftable value must not return undefined")}return g}}return m},f)}return s.getInitialState=o,s}var V6="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",X6=(e=21)=>{let t="",n=e;for(;n--;)t+=V6[Math.random()*64|0];return t},Z6=Symbol.for("rtk-slice-createasyncthunk");function F6(e,t){return`${e}/${t}`}function W6({creators:e}={}){var n;const t=(n=e==null?void 0:e.asyncThunk)==null?void 0:n[Z6];return function(l){const{name:o,reducerPath:s=o}=l;if(!o)throw new Error(Rn(11));const f=(typeof l.reducers=="function"?l.reducers(J6()):l.reducers)||{},d=Object.keys(f),v={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},m={addCase(N,D){const C=typeof N=="string"?N:N.type;if(!C)throw new Error(Rn(12));if(C in v.sliceCaseReducersByType)throw new Error(Rn(13));return v.sliceCaseReducersByType[C]=D,m},addMatcher(N,D){return v.sliceMatchers.push({matcher:N,reducer:D}),m},exposeAction(N,D){return v.actionCreators[N]=D,m},exposeCaseReducer(N,D){return v.sliceCaseReducersByName[N]=D,m}};d.forEach(N=>{const D=f[N],C={reducerName:N,type:F6(o,N),createNotation:typeof l.reducers=="function"};t5(D)?r5(C,D,m,t):e5(C,D,m)});function y(){const[N={},D=[],C=void 0]=typeof l.extraReducers=="function"?U_(l.extraReducers):[l.extraReducers],z={...N,...v.sliceCaseReducersByType};return Y6(l.initialState,G=>{for(let V in z)G.addCase(V,z[V]);for(let V of v.sliceMatchers)G.addMatcher(V.matcher,V.reducer);for(let V of D)G.addMatcher(V.matcher,V.reducer);C&&G.addDefaultCase(C)})}const g=N=>N,b=new Map,w=new WeakMap;let O;function A(N,D){return O||(O=y()),O(N,D)}function E(){return O||(O=y()),O.getInitialState()}function j(N,D=!1){function C(G){let V=G[N];return typeof V>"u"&&D&&(V=Ds(w,C,E)),V}function z(G=g){const V=Ds(b,D,()=>new WeakMap);return Ds(V,G,()=>{const Q={};for(const[J,$]of Object.entries(l.selectors??{}))Q[J]=Q6($,G,()=>Ds(w,G,E),D);return Q})}return{reducerPath:N,getSelectors:z,get selectors(){return z(C)},selectSlice:C}}const M={name:o,reducer:A,actions:v.actionCreators,caseReducers:v.sliceCaseReducersByName,getInitialState:E,...j(s),injectInto(N,{reducerPath:D,...C}={}){const z=D??s;return N.inject({reducerPath:z,reducer:A},C),{...M,...j(z,!0)}}};return M}}function Q6(e,t,n,a){function l(o,...s){let f=t(o);return typeof f>"u"&&a&&(f=n()),e(f,...s)}return l.unwrapped=e,l}var an=W6();function J6(){function e(t,n){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...n}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...n){return t(...n)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,n){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:n}},asyncThunk:e}}function e5({type:e,reducerName:t,createNotation:n},a,l){let o,s;if("reducer"in a){if(n&&!n5(a))throw new Error(Rn(17));o=a.reducer,s=a.prepare}else o=a;l.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,s?zn(e,s):zn(e))}function t5(e){return e._reducerDefinitionType==="asyncThunk"}function n5(e){return e._reducerDefinitionType==="reducerWithPrepare"}function r5({type:e,reducerName:t},n,a,l){if(!l)throw new Error(Rn(18));const{payloadCreator:o,fulfilled:s,pending:f,rejected:d,settled:v,options:m}=n,y=l(e,o,m);a.exposeAction(t,y),s&&a.addCase(y.fulfilled,s),f&&a.addCase(y.pending,f),d&&a.addCase(y.rejected,d),v&&a.addMatcher(y.settled,v),a.exposeCaseReducer(t,{fulfilled:s||ks,pending:f||ks,rejected:d||ks,settled:v||ks})}function ks(){}var a5="task",q_="listener",H_="completed",Wy="cancelled",i5=`task-${Wy}`,l5=`task-${H_}`,ry=`${q_}-${Wy}`,u5=`${q_}-${H_}`,id=class{constructor(e){nm(this,"name","TaskAbortError");nm(this,"message");this.code=e,this.message=`${a5} ${Wy} (reason: ${e})`}},Qy=(e,t)=>{if(typeof e!="function")throw new TypeError(Rn(32))},df=()=>{},G_=(e,t=df)=>(e.catch(t),e),$_=(e,t)=>(e.addEventListener("abort",t,{once:!0}),()=>e.removeEventListener("abort",t)),Mi=e=>{if(e.aborted)throw new id(e.reason)};function K_(e,t){let n=df;return new Promise((a,l)=>{const o=()=>l(new id(e.reason));if(e.aborted){o();return}n=$_(e,o),t.finally(()=>n()).then(a,l)}).finally(()=>{n=df})}var o5=async(e,t)=>{try{return await Promise.resolve(),{status:"ok",value:await e()}}catch(n){return{status:n instanceof id?"cancelled":"rejected",error:n}}finally{t==null||t()}},vf=e=>t=>G_(K_(e,t).then(n=>(Mi(e),n))),Y_=e=>{const t=vf(e);return n=>t(new Promise(a=>setTimeout(a,n)))},{assign:Yl}=Object,tw={},ld="listenerMiddleware",c5=(e,t)=>{const n=a=>$_(e,()=>a.abort(e.reason));return(a,l)=>{Qy(a);const o=new AbortController;n(o);const s=o5(async()=>{Mi(e),Mi(o.signal);const f=await a({pause:vf(o.signal),delay:Y_(o.signal),signal:o.signal});return Mi(o.signal),f},()=>o.abort(l5));return l!=null&&l.autoJoin&&t.push(s.catch(df)),{result:vf(e)(s),cancel(){o.abort(i5)}}}},s5=(e,t)=>{const n=async(a,l)=>{Mi(t);let o=()=>{};const f=[new Promise((d,v)=>{let m=e({predicate:a,effect:(y,g)=>{g.unsubscribe(),d([y,g.getState(),g.getOriginalState()])}});o=()=>{m(),v()}})];l!=null&&f.push(new Promise(d=>setTimeout(d,l,null)));try{const d=await K_(t,Promise.race(f));return Mi(t),d}finally{o()}};return(a,l)=>G_(n(a,l))},V_=e=>{let{type:t,actionCreator:n,matcher:a,predicate:l,effect:o}=e;if(t)l=zn(t).match;else if(n)t=n.type,l=n.match;else if(a)l=a;else if(!l)throw new Error(Rn(21));return Qy(o),{predicate:l,type:t,effect:o}},X_=Yl(e=>{const{type:t,predicate:n,effect:a}=V_(e);return{id:X6(),effect:a,type:t,predicate:n,pending:new Set,unsubscribe:()=>{throw new Error(Rn(22))}}},{withTypes:()=>X_}),nw=(e,t)=>{const{type:n,effect:a,predicate:l}=V_(t);return Array.from(e.values()).find(o=>(typeof n=="string"?o.type===n:o.predicate===l)&&o.effect===a)},ay=e=>{e.pending.forEach(t=>{t.abort(ry)})},f5=(e,t)=>()=>{for(const n of t.keys())ay(n);e.clear()},rw=(e,t,n)=>{try{e(t,n)}catch(a){setTimeout(()=>{throw a},0)}},Z_=Yl(zn(`${ld}/add`),{withTypes:()=>Z_}),d5=zn(`${ld}/removeAll`),F_=Yl(zn(`${ld}/remove`),{withTypes:()=>F_}),v5=(...e)=>{console.error(`${ld}/error`,...e)},Xo=(e={})=>{const t=new Map,n=new Map,a=b=>{const w=n.get(b)??0;n.set(b,w+1)},l=b=>{const w=n.get(b)??1;w===1?n.delete(b):n.set(b,w-1)},{extra:o,onError:s=v5}=e;Qy(s);const f=b=>(b.unsubscribe=()=>t.delete(b.id),t.set(b.id,b),w=>{b.unsubscribe(),w!=null&&w.cancelActive&&ay(b)}),d=b=>{const w=nw(t,b)??X_(b);return f(w)};Yl(d,{withTypes:()=>d});const v=b=>{const w=nw(t,b);return w&&(w.unsubscribe(),b.cancelActive&&ay(w)),!!w};Yl(v,{withTypes:()=>v});const m=async(b,w,O,A)=>{const E=new AbortController,j=s5(d,E.signal),M=[];try{b.pending.add(E),a(b),await Promise.resolve(b.effect(w,Yl({},O,{getOriginalState:A,condition:(N,D)=>j(N,D).then(Boolean),take:j,delay:Y_(E.signal),pause:vf(E.signal),extra:o,signal:E.signal,fork:c5(E.signal,M),unsubscribe:b.unsubscribe,subscribe:()=>{t.set(b.id,b)},cancelActiveListeners:()=>{b.pending.forEach((N,D,C)=>{N!==E&&(N.abort(ry),C.delete(N))})},cancel:()=>{E.abort(ry),b.pending.delete(E)},throwIfCancelled:()=>{Mi(E.signal)}})))}catch(N){N instanceof id||rw(s,N,{raisedBy:"effect"})}finally{await Promise.all(M),E.abort(u5),l(b),b.pending.delete(E)}},y=f5(t,n);return{middleware:b=>w=>O=>{if(!E_(O))return w(O);if(Z_.match(O))return d(O.payload);if(d5.match(O)){y();return}if(F_.match(O))return v(O.payload);let A=b.getState();const E=()=>{if(A===tw)throw new Error(Rn(23));return A};let j;try{if(j=w(O),t.size>0){const M=b.getState(),N=Array.from(t.values());for(const D of N){let C=!1;try{C=D.predicate(O,M,A)}catch(z){C=!1,rw(s,z,{raisedBy:"predicate"})}C&&m(D,O,b,E)}}}finally{A=tw}return j},startListening:d,stopListening:v,clearListeners:y}};function Rn(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var h5={layoutType:"horizontal",width:0,height:0,margin:{top:5,right:5,bottom:5,left:5},scale:1},W_=an({name:"chartLayout",initialState:h5,reducers:{setLayout(e,t){e.layoutType=t.payload},setChartSize(e,t){e.width=t.payload.width,e.height=t.payload.height},setMargin(e,t){var n,a,l,o;e.margin.top=(n=t.payload.top)!==null&&n!==void 0?n:0,e.margin.right=(a=t.payload.right)!==null&&a!==void 0?a:0,e.margin.bottom=(l=t.payload.bottom)!==null&&l!==void 0?l:0,e.margin.left=(o=t.payload.left)!==null&&o!==void 0?o:0},setScale(e,t){e.scale=t.payload}}}),{setMargin:m5,setLayout:p5,setChartSize:y5,setScale:g5}=W_.actions,b5=W_.reducer;function Q_(e,t,n){return Array.isArray(e)&&e&&t+n!==0?e.slice(t,n+1):e}function Re(e){return Number.isFinite(e)}function Cr(e){return typeof e=="number"&&e>0&&Number.isFinite(e)}function aw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function $l(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?aw(Object(n),!0).forEach(function(a){x5(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):aw(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function x5(e,t,n){return(t=S5(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function S5(e){var t=O5(e,"string");return typeof t=="symbol"?t:t+""}function O5(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Fe(e,t,n){return Pt(e)||Pt(t)?n:Mr(t)?Di(e,t,n):typeof t=="function"?t(e):n}var w5=(e,t,n)=>{if(t&&n){var{width:a,height:l}=n,{align:o,verticalAlign:s,layout:f}=t;if((f==="vertical"||f==="horizontal"&&s==="middle")&&o!=="center"&&he(e[o]))return $l($l({},e),{},{[o]:e[o]+(a||0)});if((f==="horizontal"||f==="vertical"&&o==="center")&&s!=="middle"&&he(e[s]))return $l($l({},e),{},{[s]:e[s]+(l||0)})}return e},Va=(e,t)=>e==="horizontal"&&t==="xAxis"||e==="vertical"&&t==="yAxis"||e==="centric"&&t==="angleAxis"||e==="radial"&&t==="radiusAxis",J_=(e,t,n,a)=>{if(a)return e.map(f=>f.coordinate);var l,o,s=e.map(f=>(f.coordinate===t&&(l=!0),f.coordinate===n&&(o=!0),f.coordinate));return l||s.push(t),o||s.push(n),s},eT=(e,t,n)=>{if(!e)return null;var{duplicateDomain:a,type:l,range:o,scale:s,realScaleType:f,isCategorical:d,categoricalDomain:v,tickCount:m,ticks:y,niceTicks:g,axisType:b}=e;if(!s)return null;var w=f==="scaleBand"&&s.bandwidth?s.bandwidth()/2:2,O=l==="category"&&s.bandwidth?s.bandwidth()/w:0;if(O=b==="angleAxis"&&o&&o.length>=2?Ut(o[0]-o[1])*2*O:O,y||g){var A=(y||g||[]).map((E,j)=>{var M=a?a.indexOf(E):E,N=s.map(M);return Re(N)?{coordinate:N+O,value:E,offset:O,index:j}:null}).filter(wn);return A}return d&&v?v.map((E,j)=>{var M=s.map(E);return Re(M)?{coordinate:M+O,value:E,index:j,offset:O}:null}).filter(wn):s.ticks&&m!=null?s.ticks(m).map((E,j)=>{var M=s.map(E);return Re(M)?{coordinate:M+O,value:E,index:j,offset:O}:null}).filter(wn):s.domain().map((E,j)=>{var M=s.map(E);return Re(M)?{coordinate:M+O,value:a?a[E]:E,index:j,offset:O}:null}).filter(wn)},A5=(e,t)=>{if(!t||t.length!==2||!he(t[0])||!he(t[1]))return e;var n=Math.min(t[0],t[1]),a=Math.max(t[0],t[1]),l=[e[0],e[1]];return(!he(e[0])||e[0]<n)&&(l[0]=n),(!he(e[1])||e[1]>a)&&(l[1]=a),l[0]>a&&(l[0]=a),l[1]<n&&(l[1]=n),l},E5=e=>{var t,n=e.length;if(!(n<=0)){var a=(t=e[0])===null||t===void 0?void 0:t.length;if(!(a==null||a<=0))for(var l=0;l<a;++l)for(var o=0,s=0,f=0;f<n;++f){var d=e[f],v=d==null?void 0:d[l];if(v!=null){var m=v[1],y=v[0],g=jr(m)?y:m;g>=0?(v[0]=o,o+=g,v[1]=o):(v[0]=s,s+=g,v[1]=s)}}}},_5=e=>{var t,n=e.length;if(!(n<=0)){var a=(t=e[0])===null||t===void 0?void 0:t.length;if(!(a==null||a<=0))for(var l=0;l<a;++l)for(var o=0,s=0;s<n;++s){var f=e[s],d=f==null?void 0:f[l];if(d!=null){var v=jr(d[1])?d[0]:d[1];v>=0?(d[0]=o,o+=v,d[1]=o):(d[0]=0,d[1]=0)}}}},T5={sign:E5,expand:J3,none:Pi,silhouette:ek,wiggle:tk,positive:_5},j5=(e,t,n)=>{var a,l=(a=T5[n])!==null&&a!==void 0?a:Pi,o=Q3().keys(t).value((f,d)=>Number(Fe(f,d,0))).order(Vp).offset(l),s=o(e);return s.forEach((f,d)=>{f.forEach((v,m)=>{var y=Fe(e[m],t[d],0);Array.isArray(y)&&y.length===2&&he(y[0])&&he(y[1])&&(v[0]=y[0],v[1]=y[1])})}),s};function M5(e){return e==null?void 0:String(e)}var iw=e=>{var{axis:t,ticks:n,offset:a,bandSize:l,entry:o,index:s}=e;if(t.type==="category")return n[s]?n[s].coordinate+a:null;var f=Fe(o,t.dataKey,t.scale.domain()[s]);if(Pt(f))return null;var d=t.scale.map(f);return he(d)?d-l/2+a:null},C5=e=>{var{numericAxis:t}=e,n=t.scale.domain();if(t.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]},N5=e=>{var t=e.flat(2).filter(he);return[Math.min(...t),Math.max(...t)]},P5=e=>[e[0]===1/0?0:e[0],e[1]===-1/0?0:e[1]],D5=(e,t,n)=>{if(e!=null)return P5(Object.keys(e).reduce((a,l)=>{var o=e[l];if(!o)return a;var{stackedData:s}=o,f=s.reduce((d,v)=>{var m=Q_(v,t,n),y=N5(m);return!Re(y[0])||!Re(y[1])?d:[Math.min(d[0],y[0]),Math.max(d[1],y[1])]},[1/0,-1/0]);return[Math.min(f[0],a[0]),Math.max(f[1],a[1])]},[1/0,-1/0]))},lw=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,uw=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,hf=(e,t,n)=>{if(e&&e.scale&&e.scale.bandwidth){var a=e.scale.bandwidth();if(!n||a>0)return a}if(e&&t&&t.length>=2){for(var l=Wf(t,m=>m.coordinate),o=1/0,s=1,f=l.length;s<f;s++){var d=l[s],v=l[s-1];o=Math.min(((d==null?void 0:d.coordinate)||0)-((v==null?void 0:v.coordinate)||0),o)}return o===1/0?0:o}return n?void 0:0};function ow(e){var{tooltipEntrySettings:t,dataKey:n,payload:a,value:l,name:o}=e;return $l($l({},t),{},{dataKey:n,payload:a,value:l,name:o})}function ud(e,t){if(e)return String(e);if(typeof t=="string")return t}var k5=(e,t)=>{if(t==="horizontal")return e.relativeX;if(t==="vertical")return e.relativeY},R5=(e,t)=>t==="centric"?e.angle:e.radius,ua=e=>e.layout.width,oa=e=>e.layout.height,z5=e=>e.layout.scale,tT=e=>e.layout.margin,od=L(e=>e.cartesianAxis.xAxis,e=>Object.values(e)),cd=L(e=>e.cartesianAxis.yAxis,e=>Object.values(e)),nT="data-recharts-item-index",rT="data-recharts-item-id",Zo=60;function cw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function Rs(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?cw(Object(n),!0).forEach(function(a){I5(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cw(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function I5(e,t,n){return(t=L5(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function L5(e){var t=B5(e,"string");return typeof t=="symbol"?t:t+""}function B5(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var U5=e=>e.brush.height;function q5(e){var t=cd(e);return t.reduce((n,a)=>{if(a.orientation==="left"&&!a.mirror&&!a.hide){var l=typeof a.width=="number"?a.width:Zo;return n+l}return n},0)}function H5(e){var t=cd(e);return t.reduce((n,a)=>{if(a.orientation==="right"&&!a.mirror&&!a.hide){var l=typeof a.width=="number"?a.width:Zo;return n+l}return n},0)}function G5(e){var t=od(e);return t.reduce((n,a)=>a.orientation==="top"&&!a.mirror&&!a.hide?n+a.height:n,0)}function $5(e){var t=od(e);return t.reduce((n,a)=>a.orientation==="bottom"&&!a.mirror&&!a.hide?n+a.height:n,0)}var Dt=L([ua,oa,tT,U5,q5,H5,G5,$5,O_,y6],(e,t,n,a,l,o,s,f,d,v)=>{var m={left:(n.left||0)+l,right:(n.right||0)+o},y={top:(n.top||0)+s,bottom:(n.bottom||0)+f},g=Rs(Rs({},y),m),b=g.bottom;g.bottom+=a,g=w5(g,d,v);var w=e-g.left-g.right,O=t-g.top-g.bottom;return Rs(Rs({brushBottom:b},g),{},{width:Math.max(w,0),height:Math.max(O,0)})}),K5=L(Dt,e=>({x:e.left,y:e.top,width:e.width,height:e.height})),Jy=L(ua,oa,(e,t)=>({x:0,y:0,width:e,height:t})),Y5=x.createContext(null),En=()=>x.useContext(Y5)!=null,sd=e=>e.brush,fd=L([sd,Dt,tT],(e,t,n)=>({height:e.height,x:he(e.x)?e.x:t.left,y:he(e.y)?e.y:t.top+t.height+t.brushBottom-((n==null?void 0:n.bottom)||0),width:he(e.width)?e.width:t.width})),op={},cp={},sp={},sw;function V5(){return sw||(sw=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n,a,{signal:l,edges:o}={}){let s,f=null;const d=o!=null&&o.includes("leading"),v=o==null||o.includes("trailing"),m=()=>{f!==null&&(n.apply(s,f),s=void 0,f=null)},y=()=>{v&&m(),O()};let g=null;const b=()=>{g!=null&&clearTimeout(g),g=setTimeout(()=>{g=null,y()},a)},w=()=>{g!==null&&(clearTimeout(g),g=null)},O=()=>{w(),s=void 0,f=null},A=()=>{m()},E=function(...j){if(l!=null&&l.aborted)return;s=this,f=j;const M=g==null;b(),d&&M&&m()};return E.schedule=b,E.cancel=O,E.flush=A,l==null||l.addEventListener("abort",O,{once:!0}),E}e.debounce=t})(sp)),sp}var fw;function X5(){return fw||(fw=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=V5();function n(a,l=0,o={}){typeof o!="object"&&(o={});const{leading:s=!1,trailing:f=!0,maxWait:d}=o,v=Array(2);s&&(v[0]="leading"),f&&(v[1]="trailing");let m,y=null;const g=t.debounce(function(...O){m=a.apply(this,O),y=null},l,{edges:v}),b=function(...O){return d!=null&&(y===null&&(y=Date.now()),Date.now()-y>=d)?(m=a.apply(this,O),y=Date.now(),g.cancel(),g.schedule(),m):(g.apply(this,O),m)},w=()=>(g.flush(),m);return b.cancel=g.cancel,b.flush=w,b}e.debounce=n})(cp)),cp}var dw;function Z5(){return dw||(dw=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=X5();function n(a,l=0,o={}){const{leading:s=!0,trailing:f=!0}=o;return t.debounce(a,l,{leading:s,maxWait:l,trailing:f})}e.throttle=n})(op)),op}var fp,vw;function F5(){return vw||(vw=1,fp=Z5().throttle),fp}var W5=F5();const Q5=Ya(W5);var mf=function(t,n){for(var a=arguments.length,l=new Array(a>2?a-2:0),o=2;o<a;o++)l[o-2]=arguments[o];if(typeof console<"u"&&console.warn&&(n===void 0&&console.warn("LogUtils requires an error message argument"),!t))if(n===void 0)console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=0;console.warn(n.replace(/%s/g,()=>l[s++]))}},Ar={width:"100%",height:"100%",debounce:0,minWidth:0,initialDimension:{width:-1,height:-1}},aT=(e,t,n)=>{var{width:a=Ar.width,height:l=Ar.height,aspect:o,maxHeight:s}=n,f=ki(a)?e:Number(a),d=ki(l)?t:Number(l);return o&&o>0&&(f?d=f/o:d&&(f=d*o),s&&d!=null&&d>s&&(d=s)),{calculatedWidth:f,calculatedHeight:d}},J5={width:0,height:0,overflow:"visible"},e4={width:0,overflowX:"visible"},t4={height:0,overflowY:"visible"},n4={},r4=e=>{var{width:t,height:n}=e,a=ki(t),l=ki(n);return a&&l?J5:a?e4:l?t4:n4};function a4(e){var{width:t,height:n,aspect:a}=e,l=t,o=n;return l===void 0&&o===void 0?(l=Ar.width,o=Ar.height):l===void 0?l=a&&a>0?void 0:Ar.width:o===void 0&&(o=a&&a>0?void 0:Ar.height),{width:l,height:o}}function iy(){return iy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},iy.apply(null,arguments)}function hw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function mw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?hw(Object(n),!0).forEach(function(a){i4(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hw(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function i4(e,t,n){return(t=l4(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l4(e){var t=u4(e,"string");return typeof t=="symbol"?t:t+""}function u4(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var iT=x.createContext(Ar.initialDimension);function o4(e){return Cr(e.width)&&Cr(e.height)}function lT(e){var{children:t,width:n,height:a}=e,l=x.useMemo(()=>({width:n,height:a}),[n,a]);return o4(l)?x.createElement(iT.Provider,{value:l},t):null}var e0=()=>x.useContext(iT),c4=x.forwardRef((e,t)=>{var{aspect:n,initialDimension:a=Ar.initialDimension,width:l,height:o,minWidth:s=Ar.minWidth,minHeight:f,maxHeight:d,children:v,debounce:m=Ar.debounce,id:y,className:g,onResize:b,style:w={}}=e,O=x.useRef(null),A=x.useRef();A.current=b,x.useImperativeHandle(t,()=>O.current);var[E,j]=x.useState({containerWidth:a.width,containerHeight:a.height}),M=x.useCallback((G,V)=>{j(Q=>{var J=Math.round(G),$=Math.round(V);return Q.containerWidth===J&&Q.containerHeight===$?Q:{containerWidth:J,containerHeight:$}})},[]);x.useEffect(()=>{if(O.current==null||typeof ResizeObserver>"u")return iu;var G=$=>{var ge,oe=$[0];if(oe!=null){var{width:me,height:B}=oe.contentRect;M(me,B),(ge=A.current)===null||ge===void 0||ge.call(A,me,B)}};m>0&&(G=Q5(G,m,{trailing:!0,leading:!1}));var V=new ResizeObserver(G),{width:Q,height:J}=O.current.getBoundingClientRect();return M(Q,J),V.observe(O.current),()=>{V.disconnect()}},[M,m]);var{containerWidth:N,containerHeight:D}=E;mf(!n||n>0,"The aspect(%s) must be greater than zero.",n);var{calculatedWidth:C,calculatedHeight:z}=aT(N,D,{width:l,height:o,aspect:n,maxHeight:d});return mf(C!=null&&C>0||z!=null&&z>0,`The width(%s) and height(%s) of chart should be greater than 0,
       please check the style of container, or the props width(%s) and height(%s),
       or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the
       height and width.`,C,z,l,o,s,f,n),x.createElement("div",{id:y?"".concat(y):void 0,className:Xe("recharts-responsive-container",g),style:mw(mw({},w),{},{width:l,height:o,minWidth:s,minHeight:f,maxHeight:d}),ref:O},x.createElement("div",{style:r4({width:l,height:o})},x.createElement(lT,{width:C,height:z},v)))}),pw=x.forwardRef((e,t)=>{var n=e0();if(Cr(n.width)&&Cr(n.height))return e.children;var{width:a,height:l}=a4({width:e.width,height:e.height,aspect:e.aspect}),{calculatedWidth:o,calculatedHeight:s}=aT(void 0,void 0,{width:a,height:l,aspect:e.aspect,maxHeight:e.maxHeight});return he(o)&&he(s)?x.createElement(lT,{width:o,height:s},e.children):x.createElement(c4,iy({},e,{width:a,height:l,ref:t}))});function t0(e){if(e)return{x:e.x,y:e.y,upperWidth:"upperWidth"in e?e.upperWidth:e.width,lowerWidth:"lowerWidth"in e?e.lowerWidth:e.width,width:e.width,height:e.height}}var dd=()=>{var e,t=En(),n=ye(K5),a=ye(fd),l=(e=ye(sd))===null||e===void 0?void 0:e.padding;return!t||!a||!l?n:{width:a.width-l.left-l.right,height:a.height-l.top-l.bottom,x:l.left,y:l.top}},s4={top:0,bottom:0,left:0,right:0,width:0,height:0,brushBottom:0},uT=()=>{var e;return(e=ye(Dt))!==null&&e!==void 0?e:s4},oT=()=>ye(ua),cT=()=>ye(oa),qe=e=>e.layout.layoutType,lu=()=>ye(qe),sT=()=>{var e=lu();if(e==="horizontal"||e==="vertical")return e},fT=e=>{var t=e.layout.layoutType;if(t==="centric"||t==="radial")return t},f4=()=>{var e=lu();return e!==void 0},Fo=e=>{var t=et(),n=En(),{width:a,height:l}=e,o=e0(),s=a,f=l;return o&&(s=o.width>0?o.width:a,f=o.height>0?o.height:l),x.useEffect(()=>{!n&&Cr(s)&&Cr(f)&&t(y5({width:s,height:f}))},[t,n,s,f]),null},dT=Symbol.for("immer-nothing"),yw=Symbol.for("immer-draftable"),In=Symbol.for("immer-state");function or(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Ro=Object.getPrototypeOf;function Fl(e){return!!e&&!!e[In]}function zi(e){var t;return e?vT(e)||Array.isArray(e)||!!e[yw]||!!((t=e.constructor)!=null&&t[yw])||Wo(e)||hd(e):!1}var d4=Object.prototype.constructor.toString(),gw=new WeakMap;function vT(e){if(!e||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);if(t===null||t===Object.prototype)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;if(n===Object)return!0;if(typeof n!="function")return!1;let a=gw.get(n);return a===void 0&&(a=Function.toString.call(n),gw.set(n,a)),a===d4}function pf(e,t,n=!0){vd(e)===0?(n?Reflect.ownKeys(e):Object.keys(e)).forEach(l=>{t(l,e[l],e)}):e.forEach((a,l)=>t(l,a,e))}function vd(e){const t=e[In];return t?t.type_:Array.isArray(e)?1:Wo(e)?2:hd(e)?3:0}function ly(e,t){return vd(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function hT(e,t,n){const a=vd(e);a===2?e.set(t,n):a===3?e.add(n):e[t]=n}function v4(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function Wo(e){return e instanceof Map}function hd(e){return e instanceof Set}function wi(e){return e.copy_||e.base_}function uy(e,t){if(Wo(e))return new Map(e);if(hd(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=vT(e);if(t===!0||t==="class_only"&&!n){const a=Object.getOwnPropertyDescriptors(e);delete a[In];let l=Reflect.ownKeys(a);for(let o=0;o<l.length;o++){const s=l[o],f=a[s];f.writable===!1&&(f.writable=!0,f.configurable=!0),(f.get||f.set)&&(a[s]={configurable:!0,writable:!0,enumerable:f.enumerable,value:e[s]})}return Object.create(Ro(e),a)}else{const a=Ro(e);if(a!==null&&n)return{...e};const l=Object.create(a);return Object.assign(l,e)}}function n0(e,t=!1){return md(e)||Fl(e)||!zi(e)||(vd(e)>1&&Object.defineProperties(e,{set:zs,add:zs,clear:zs,delete:zs}),Object.freeze(e),t&&Object.values(e).forEach(n=>n0(n,!0))),e}function h4(){or(2)}var zs={value:h4};function md(e){return e===null||typeof e!="object"?!0:Object.isFrozen(e)}var m4={};function Ii(e){const t=m4[e];return t||or(0,e),t}var zo;function mT(){return zo}function p4(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function bw(e,t){t&&(Ii("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function oy(e){cy(e),e.drafts_.forEach(y4),e.drafts_=null}function cy(e){e===zo&&(zo=e.parent_)}function xw(e){return zo=p4(zo,e)}function y4(e){const t=e[In];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Sw(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[In].modified_&&(oy(t),or(4)),zi(e)&&(e=yf(t,e),t.parent_||gf(t,e)),t.patches_&&Ii("Patches").generateReplacementPatches_(n[In].base_,e,t.patches_,t.inversePatches_)):e=yf(t,n,[]),oy(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==dT?e:void 0}function yf(e,t,n){if(md(t))return t;const a=e.immer_.shouldUseStrictIteration(),l=t[In];if(!l)return pf(t,(o,s)=>Ow(e,l,t,o,s,n),a),t;if(l.scope_!==e)return t;if(!l.modified_)return gf(e,l.base_,!0),l.base_;if(!l.finalized_){l.finalized_=!0,l.scope_.unfinalizedDrafts_--;const o=l.copy_;let s=o,f=!1;l.type_===3&&(s=new Set(o),o.clear(),f=!0),pf(s,(d,v)=>Ow(e,l,o,d,v,n,f),a),gf(e,o,!1),n&&e.patches_&&Ii("Patches").generatePatches_(l,n,e.patches_,e.inversePatches_)}return l.copy_}function Ow(e,t,n,a,l,o,s){if(l==null||typeof l!="object"&&!s)return;const f=md(l);if(!(f&&!s)){if(Fl(l)){const d=o&&t&&t.type_!==3&&!ly(t.assigned_,a)?o.concat(a):void 0,v=yf(e,l,d);if(hT(n,a,v),Fl(v))e.canAutoFreeze_=!1;else return}else s&&n.add(l);if(zi(l)&&!f){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1||t&&t.base_&&t.base_[a]===l&&f)return;yf(e,l),(!t||!t.scope_.parent_)&&typeof a!="symbol"&&(Wo(n)?n.has(a):Object.prototype.propertyIsEnumerable.call(n,a))&&gf(e,l)}}}function gf(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&n0(t,n)}function g4(e,t){const n=Array.isArray(e),a={type_:n?1:0,scope_:t?t.scope_:mT(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let l=a,o=r0;n&&(l=[a],o=Io);const{revoke:s,proxy:f}=Proxy.revocable(l,o);return a.draft_=f,a.revoke_=s,f}var r0={get(e,t){if(t===In)return e;const n=wi(e);if(!ly(n,t))return b4(e,n,t);const a=n[t];return e.finalized_||!zi(a)?a:a===dp(e.base_,t)?(vp(e),e.copy_[t]=fy(a,e)):a},has(e,t){return t in wi(e)},ownKeys(e){return Reflect.ownKeys(wi(e))},set(e,t,n){const a=pT(wi(e),t);if(a!=null&&a.set)return a.set.call(e.draft_,n),!0;if(!e.modified_){const l=dp(wi(e),t),o=l==null?void 0:l[In];if(o&&o.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(v4(n,l)&&(n!==void 0||ly(e.base_,t)))return!0;vp(e),sy(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return dp(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,vp(e),sy(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=wi(e),a=Reflect.getOwnPropertyDescriptor(n,t);return a&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:a.enumerable,value:n[t]}},defineProperty(){or(11)},getPrototypeOf(e){return Ro(e.base_)},setPrototypeOf(){or(12)}},Io={};pf(r0,(e,t)=>{Io[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});Io.deleteProperty=function(e,t){return Io.set.call(this,e,t,void 0)};Io.set=function(e,t,n){return r0.set.call(this,e[0],t,n,e[0])};function dp(e,t){const n=e[In];return(n?wi(n):e)[t]}function b4(e,t,n){var l;const a=pT(t,n);return a?"value"in a?a.value:(l=a.get)==null?void 0:l.call(e.draft_):void 0}function pT(e,t){if(!(t in e))return;let n=Ro(e);for(;n;){const a=Object.getOwnPropertyDescriptor(n,t);if(a)return a;n=Ro(n)}}function sy(e){e.modified_||(e.modified_=!0,e.parent_&&sy(e.parent_))}function vp(e){e.copy_||(e.copy_=uy(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var x4=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!0,this.produce=(t,n,a)=>{if(typeof t=="function"&&typeof n!="function"){const o=n;n=t;const s=this;return function(d=o,...v){return s.produce(d,m=>n.call(this,m,...v))}}typeof n!="function"&&or(6),a!==void 0&&typeof a!="function"&&or(7);let l;if(zi(t)){const o=xw(this),s=fy(t,void 0);let f=!0;try{l=n(s),f=!1}finally{f?oy(o):cy(o)}return bw(o,a),Sw(l,o)}else if(!t||typeof t!="object"){if(l=n(t),l===void 0&&(l=t),l===dT&&(l=void 0),this.autoFreeze_&&n0(l,!0),a){const o=[],s=[];Ii("Patches").generateReplacementPatches_(t,l,o,s),a(o,s)}return l}else or(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(s,...f)=>this.produceWithPatches(s,d=>t(d,...f));let a,l;return[this.produce(t,n,(s,f)=>{a=s,l=f}),a,l]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),typeof(e==null?void 0:e.useStrictIteration)=="boolean"&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){zi(e)||or(8),Fl(e)&&(e=S4(e));const t=xw(this),n=fy(e,void 0);return n[In].isManual_=!0,cy(t),n}finishDraft(e,t){const n=e&&e[In];(!n||!n.isManual_)&&or(9);const{scope_:a}=n;return bw(a,t),Sw(void 0,a)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const l=t[n];if(l.path.length===0&&l.op==="replace"){e=l.value;break}}n>-1&&(t=t.slice(n+1));const a=Ii("Patches").applyPatches_;return Fl(e)?a(e,t):this.produce(e,l=>a(l,t))}};function fy(e,t){const n=Wo(e)?Ii("MapSet").proxyMap_(e,t):hd(e)?Ii("MapSet").proxySet_(e,t):g4(e,t);return(t?t.scope_:mT()).drafts_.push(n),n}function S4(e){return Fl(e)||or(10,e),yT(e)}function yT(e){if(!zi(e)||md(e))return e;const t=e[In];let n,a=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=uy(e,t.scope_.immer_.useStrictShallowCopy_),a=t.scope_.immer_.shouldUseStrictIteration()}else n=uy(e,!0);return pf(n,(l,o)=>{hT(n,l,yT(o))},a),t&&(t.finalized_=!1),n}var O4=new x4;O4.produce;var w4={settings:{layout:"horizontal",align:"center",verticalAlign:"middle",itemSorter:"value"},size:{width:0,height:0},payload:[]},gT=an({name:"legend",initialState:w4,reducers:{setLegendSize(e,t){e.size.width=t.payload.width,e.size.height=t.payload.height},setLegendSettings(e,t){e.settings.align=t.payload.align,e.settings.layout=t.payload.layout,e.settings.verticalAlign=t.payload.verticalAlign,e.settings.itemSorter=t.payload.itemSorter},addLegendPayload:{reducer(e,t){e.payload.push(t.payload)},prepare:rt()},replaceLegendPayload:{reducer(e,t){var{prev:n,next:a}=t.payload,l=Qn(e).payload.indexOf(n);l>-1&&(e.payload[l]=a)},prepare:rt()},removeLegendPayload:{reducer(e,t){var n=Qn(e).payload.indexOf(t.payload);n>-1&&e.payload.splice(n,1)},prepare:rt()}}}),{setLegendSize:yY,setLegendSettings:gY,addLegendPayload:bT,replaceLegendPayload:xT,removeLegendPayload:ST}=gT.actions,A4=gT.reducer,hp={exports:{}},mp={};/**
 * @license React
 * use-sync-external-store-with-selector.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var ww;function E4(){if(ww)return mp;ww=1;var e=au();function t(d,v){return d===v&&(d!==0||1/d===1/v)||d!==d&&v!==v}var n=typeof Object.is=="function"?Object.is:t,a=e.useSyncExternalStore,l=e.useRef,o=e.useEffect,s=e.useMemo,f=e.useDebugValue;return mp.useSyncExternalStoreWithSelector=function(d,v,m,y,g){var b=l(null);if(b.current===null){var w={hasValue:!1,value:null};b.current=w}else w=b.current;b=s(function(){function A(D){if(!E){if(E=!0,j=D,D=y(D),g!==void 0&&w.hasValue){var C=w.value;if(g(C,D))return M=C}return M=D}if(C=M,n(j,D))return C;var z=y(D);return g!==void 0&&g(C,z)?(j=D,C):(j=D,M=z)}var E=!1,j,M,N=m===void 0?null:m;return[function(){return A(v())},N===null?void 0:function(){return A(N())}]},[v,m,y,g]);var O=a(d,b[0],b[1]);return o(function(){w.hasValue=!0,w.value=O},[O]),f(O),O},mp}var Aw;function _4(){return Aw||(Aw=1,hp.exports=E4()),hp.exports}_4();function T4(e){e()}function j4(){let e=null,t=null;return{clear(){e=null,t=null},notify(){T4(()=>{let n=e;for(;n;)n.callback(),n=n.next})},get(){const n=[];let a=e;for(;a;)n.push(a),a=a.next;return n},subscribe(n){let a=!0;const l=t={callback:n,next:null,prev:t};return l.prev?l.prev.next=l:e=l,function(){!a||e===null||(a=!1,l.next?l.next.prev=l.prev:t=l.prev,l.prev?l.prev.next=l.next:e=l.next)}}}}var Ew={notify(){},get:()=>[]};function M4(e,t){let n,a=Ew,l=0,o=!1;function s(O){m();const A=a.subscribe(O);let E=!1;return()=>{E||(E=!0,A(),y())}}function f(){a.notify()}function d(){w.onStateChange&&w.onStateChange()}function v(){return o}function m(){l++,n||(n=e.subscribe(d),a=j4())}function y(){l--,n&&l===0&&(n(),n=void 0,a.clear(),a=Ew)}function g(){o||(o=!0,m())}function b(){o&&(o=!1,y())}const w={addNestedSub:s,notifyNestedSubs:f,handleChangeWrapper:d,isSubscribed:v,trySubscribe:g,tryUnsubscribe:b,getListeners:()=>a};return w}var C4=()=>typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",N4=C4(),P4=()=>typeof navigator<"u"&&navigator.product==="ReactNative",D4=P4(),k4=()=>N4||D4?x.useLayoutEffect:x.useEffect,R4=k4();function _w(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function z4(e,t){if(_w(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(let l=0;l<n.length;l++)if(!Object.prototype.hasOwnProperty.call(t,n[l])||!_w(e[n[l]],t[n[l]]))return!1;return!0}var pp=Symbol.for("react-redux-context"),yp=typeof globalThis<"u"?globalThis:{};function I4(){if(!x.createContext)return{};const e=yp[pp]??(yp[pp]=new Map);let t=e.get(x.createContext);return t||(t=x.createContext(null),e.set(x.createContext,t)),t}var L4=I4();function B4(e){const{children:t,context:n,serverState:a,store:l}=e,o=x.useMemo(()=>{const d=M4(l);return{store:l,subscription:d,getServerState:a?()=>a:void 0}},[l,a]),s=x.useMemo(()=>l.getState(),[l]);R4(()=>{const{subscription:d}=o;return d.onStateChange=d.notifyNestedSubs,d.trySubscribe(),s!==l.getState()&&d.notifyNestedSubs(),()=>{d.tryUnsubscribe(),d.onStateChange=void 0}},[o,s]);const f=n||L4;return x.createElement(f.Provider,{value:o},t)}var U4=B4,q4=new Set(["axisLine","tickLine","activeBar","activeDot","activeLabel","activeShape","allowEscapeViewBox","background","cursor","dot","label","line","margin","padding","position","shape","style","tick","wrapperStyle","radius","throttledEvents"]);function H4(e,t){return e==null&&t==null?!0:typeof e=="number"&&typeof t=="number"?e===t||e!==e&&t!==t:e===t}function pd(e,t){var n=new Set([...Object.keys(e),...Object.keys(t)]);for(var a of n)if(q4.has(a)){if(e[a]==null&&t[a]==null)continue;if(!z4(e[a],t[a]))return!1}else if(!H4(e[a],t[a]))return!1;return!0}function dy(){return dy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},dy.apply(null,arguments)}function Tw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function so(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Tw(Object(n),!0).forEach(function(a){G4(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tw(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function G4(e,t,n){return(t=$4(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $4(e){var t=K4(e,"string");return typeof t=="symbol"?t:t+""}function K4(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Y4(e){return Array.isArray(e)&&Mr(e[0])&&Mr(e[1])?e.join(" ~ "):e}var zl={separator:" : ",contentStyle:{margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},itemStyle:{display:"block",paddingTop:4,paddingBottom:4,color:"#000"},labelStyle:{},accessibilityLayer:!1};function V4(e,t){return t==null?e:Wf(e,t)}var X4=e=>{var{separator:t=zl.separator,contentStyle:n,itemStyle:a,labelStyle:l=zl.labelStyle,payload:o,formatter:s,itemSorter:f,wrapperClassName:d,labelClassName:v,label:m,labelFormatter:y,accessibilityLayer:g=zl.accessibilityLayer}=e,b=()=>{if(o&&o.length){var D={padding:0,margin:0},C=V4(o,f),z=C.map((G,V)=>{if(!G||G.type==="none")return null;var Q=G.formatter||s||Y4,{value:J,name:$}=G,ge=J,oe=$;if(Q){var me=Q(J,$,G,V,o);if(Array.isArray(me))[ge,oe]=me;else if(me!=null)ge=me;else return null}var B=so(so({},zl.itemStyle),{},{color:G.color||zl.itemStyle.color},a);return x.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(V),style:B},Mr(oe)?x.createElement("span",{className:"recharts-tooltip-item-name"},oe):null,Mr(oe)?x.createElement("span",{className:"recharts-tooltip-item-separator"},t):null,x.createElement("span",{className:"recharts-tooltip-item-value"},ge),x.createElement("span",{className:"recharts-tooltip-item-unit"},G.unit||""))});return x.createElement("ul",{className:"recharts-tooltip-item-list",style:D},z)}return null},w=so(so({},zl.contentStyle),n),O=so({margin:0},l),A=!Pt(m),E=A?m:"",j=Xe("recharts-default-tooltip",d),M=Xe("recharts-tooltip-label",v);A&&y&&o!==void 0&&o!==null&&(E=y(m,o));var N=g?{role:"status","aria-live":"assertive"}:{};return x.createElement("div",dy({className:j,style:w},N),x.createElement("p",{className:M,style:O},x.isValidElement(E)?E:"".concat(E)),b())},fo="recharts-tooltip-wrapper",Z4={visibility:"hidden"};function F4(e){var{coordinate:t,translateX:n,translateY:a}=e;return Xe(fo,{["".concat(fo,"-right")]:he(n)&&t&&he(t.x)&&n>=t.x,["".concat(fo,"-left")]:he(n)&&t&&he(t.x)&&n<t.x,["".concat(fo,"-bottom")]:he(a)&&t&&he(t.y)&&a>=t.y,["".concat(fo,"-top")]:he(a)&&t&&he(t.y)&&a<t.y})}function jw(e){var{allowEscapeViewBox:t,coordinate:n,key:a,offset:l,position:o,reverseDirection:s,tooltipDimension:f,viewBox:d,viewBoxDimension:v}=e;if(o&&he(o[a]))return o[a];var m=n[a]-f-(l>0?l:0),y=n[a]+l;if(t[a])return s[a]?m:y;var g=d[a];if(g==null)return 0;if(s[a]){var b=m,w=g;return b<w?Math.max(y,g):Math.max(m,g)}if(v==null)return 0;var O=y+f,A=g+v;return O>A?Math.max(m,g):Math.max(y,g)}function W4(e){var{translateX:t,translateY:n,useTranslate3d:a}=e;return{transform:a?"translate3d(".concat(t,"px, ").concat(n,"px, 0)"):"translate(".concat(t,"px, ").concat(n,"px)")}}function Q4(e){var{allowEscapeViewBox:t,coordinate:n,offsetTop:a,offsetLeft:l,position:o,reverseDirection:s,tooltipBox:f,useTranslate3d:d,viewBox:v}=e,m,y,g;return f.height>0&&f.width>0&&n?(y=jw({allowEscapeViewBox:t,coordinate:n,key:"x",offset:l,position:o,reverseDirection:s,tooltipDimension:f.width,viewBox:v,viewBoxDimension:v.width}),g=jw({allowEscapeViewBox:t,coordinate:n,key:"y",offset:a,position:o,reverseDirection:s,tooltipDimension:f.height,viewBox:v,viewBoxDimension:v.height}),m=W4({translateX:y,translateY:g,useTranslate3d:d})):m=Z4,{cssProperties:m,cssClasses:F4({translateX:y,translateY:g,coordinate:n})}}var J4=()=>!(typeof window<"u"&&window.document&&window.document.createElement&&window.setTimeout),Qo={isSsr:J4()};function OT(){var[e,t]=x.useState(()=>Qo.isSsr||!window.matchMedia?!1:window.matchMedia("(prefers-reduced-motion: reduce)").matches);return x.useEffect(()=>{if(window.matchMedia){var n=window.matchMedia("(prefers-reduced-motion: reduce)"),a=()=>{t(n.matches)};return n.addEventListener("change",a),()=>{n.removeEventListener("change",a)}}},[]),e}function Mw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function Il(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Mw(Object(n),!0).forEach(function(a){eR(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mw(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function eR(e,t,n){return(t=tR(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tR(e){var t=nR(e,"string");return typeof t=="symbol"?t:t+""}function nR(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function rR(e){if(!(e.prefersReducedMotion&&e.isAnimationActive==="auto")&&e.isAnimationActive&&e.active)return"transform ".concat(e.animationDuration,"ms ").concat(e.animationEasing)}function aR(e){var t,n,a,l,o,s,f=OT(),[d,v]=x.useState(()=>({dismissed:!1,dismissedAtCoordinate:{x:0,y:0}}));x.useEffect(()=>{var w=O=>{if(O.key==="Escape"){var A,E,j,M;v({dismissed:!0,dismissedAtCoordinate:{x:(A=(E=e.coordinate)===null||E===void 0?void 0:E.x)!==null&&A!==void 0?A:0,y:(j=(M=e.coordinate)===null||M===void 0?void 0:M.y)!==null&&j!==void 0?j:0}})}};return document.addEventListener("keydown",w),()=>{document.removeEventListener("keydown",w)}},[(t=e.coordinate)===null||t===void 0?void 0:t.x,(n=e.coordinate)===null||n===void 0?void 0:n.y]),d.dismissed&&(((a=(l=e.coordinate)===null||l===void 0?void 0:l.x)!==null&&a!==void 0?a:0)!==d.dismissedAtCoordinate.x||((o=(s=e.coordinate)===null||s===void 0?void 0:s.y)!==null&&o!==void 0?o:0)!==d.dismissedAtCoordinate.y)&&v(Il(Il({},d),{},{dismissed:!1}));var{cssClasses:m,cssProperties:y}=Q4({allowEscapeViewBox:e.allowEscapeViewBox,coordinate:e.coordinate,offsetLeft:typeof e.offset=="number"?e.offset:e.offset.x,offsetTop:typeof e.offset=="number"?e.offset:e.offset.y,position:e.position,reverseDirection:e.reverseDirection,tooltipBox:{height:e.lastBoundingBox.height,width:e.lastBoundingBox.width},useTranslate3d:e.useTranslate3d,viewBox:e.viewBox}),g=e.hasPortalFromProps?{}:Il(Il({transition:rR({prefersReducedMotion:f,isAnimationActive:e.isAnimationActive,active:e.active,animationDuration:e.animationDuration,animationEasing:e.animationEasing})},y),{},{pointerEvents:"none",position:"absolute",top:0,left:0}),b=Il(Il({},g),{},{visibility:!d.dismissed&&e.active&&e.hasPayload?"visible":"hidden"},e.wrapperStyle);return x.createElement("div",{xmlns:"http://www.w3.org/1999/xhtml",tabIndex:-1,className:m,style:b,ref:e.innerRef},e.children)}var iR=x.memo(aR),wT=()=>{var e;return(e=ye(t=>t.rootProps.accessibilityLayer))!==null&&e!==void 0?e:!0};function vy(){return vy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},vy.apply(null,arguments)}function Cw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function Nw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Cw(Object(n),!0).forEach(function(a){lR(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cw(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function lR(e,t,n){return(t=uR(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uR(e){var t=oR(e,"string");return typeof t=="symbol"?t:t+""}function oR(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Pw={curveBasisClosed:q3,curveBasisOpen:H3,curveBasis:U3,curveBumpX:_3,curveBumpY:T3,curveLinearClosed:G3,curveLinear:Xf,curveMonotoneX:$3,curveMonotoneY:K3,curveNatural:Y3,curveStep:V3,curveStepAfter:Z3,curveStepBefore:X3},bf=e=>Re(e.x)&&Re(e.y),Dw=e=>e.base!=null&&bf(e.base)&&bf(e),vo=e=>e.x,ho=e=>e.y,cR=(e,t)=>{if(typeof e=="function")return e;var n="curve".concat(Yo(e));if((n==="curveMonotone"||n==="curveBump")&&t){var a=Pw["".concat(n).concat(t==="vertical"?"Y":"X")];if(a)return a}return Pw[n]||Xf},kw={connectNulls:!1,type:"linear"},sR=e=>{var{type:t=kw.type,points:n=[],baseLine:a,layout:l,connectNulls:o=kw.connectNulls}=e,s=cR(t,l),f=o?n.filter(bf):n;if(Array.isArray(a)){var d,v=n.map((w,O)=>Nw(Nw({},w),{},{base:a[O]}));l==="vertical"?d=Ms().y(ho).x1(vo).x0(w=>w.base.x):d=Ms().x(vo).y1(ho).y0(w=>w.base.y);var m=d.defined(Dw).curve(s),y=o?v.filter(Dw):v;return m(y)}var g;l==="vertical"&&he(a)?g=Ms().y(ho).x1(vo).x0(a):he(a)?g=Ms().x(vo).y1(ho).y0(a):g=X2().x(vo).y(ho);var b=g.defined(bf).curve(s);return b(f)},a0=e=>{var{className:t,points:n,path:a,pathRef:l}=e,o=lu();if((!n||!n.length)&&!a)return null;var s={type:e.type,points:e.points,baseLine:e.baseLine,layout:e.layout||o,connectNulls:e.connectNulls},f=n&&n.length?sR(s):a;return x.createElement("path",vy({},sr(e),bk(e),{className:Xe("recharts-curve",t),d:f===null?void 0:f,ref:l}))},fR=["x","y","top","left","width","height","className"];function hy(){return hy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},hy.apply(null,arguments)}function Rw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function dR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Rw(Object(n),!0).forEach(function(a){vR(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rw(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function vR(e,t,n){return(t=hR(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hR(e){var t=mR(e,"string");return typeof t=="symbol"?t:t+""}function mR(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function pR(e,t){if(e==null)return{};var n,a,l=yR(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}function yR(e,t){if(e==null)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;n[a]=e[a]}return n}var gR=(e,t,n,a,l,o)=>"M".concat(e,",").concat(l,"v").concat(a,"M").concat(o,",").concat(t,"h").concat(n),bR=e=>{var{x:t=0,y:n=0,top:a=0,left:l=0,width:o=0,height:s=0,className:f}=e,d=pR(e,fR),v=dR({x:t,y:n,top:a,left:l,width:o,height:s},d);return!he(t)||!he(n)||!he(o)||!he(s)||!he(a)||!he(l)?null:x.createElement("path",hy({},er(v),{className:Xe("recharts-cross",f),d:gR(t,n,o,s,a,l)}))};function xR(e,t,n,a){var l=a/2;return{stroke:"none",fill:"#ccc",x:e==="horizontal"?t.x-l:n.left+.5,y:e==="horizontal"?n.top+.5:t.y-l,width:e==="horizontal"?a:n.width-1,height:e==="horizontal"?n.height-1:a}}function zw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function Iw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?zw(Object(n),!0).forEach(function(a){SR(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zw(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function SR(e,t,n){return(t=OR(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function OR(e){var t=wR(e,"string");return typeof t=="symbol"?t:t+""}function wR(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var AR=e=>e.replace(/([A-Z])/g,t=>"-".concat(t.toLowerCase())),AT=(e,t,n)=>e.map(a=>"".concat(AR(a)," ").concat(t,"ms ").concat(n)).join(","),ER=(e,t)=>[Object.keys(e),Object.keys(t)].reduce((n,a)=>n.filter(l=>a.includes(l))),Lo=(e,t)=>Object.keys(t).reduce((n,a)=>Iw(Iw({},n),{},{[a]:e(a,t[a])}),{});function Lw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function Nt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Lw(Object(n),!0).forEach(function(a){_R(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lw(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function _R(e,t,n){return(t=TR(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function TR(e){var t=jR(e,"string");return typeof t=="symbol"?t:t+""}function jR(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var xf=(e,t,n)=>e+(t-e)*n,my=e=>{var{from:t,to:n}=e;return t!==n},ET=(e,t,n)=>{var a=Lo((l,o)=>{if(my(o)){var[s,f]=e(o.from,o.to,o.velocity);return Nt(Nt({},o),{},{from:s,velocity:f})}return o},t);return n<1?Lo((l,o)=>my(o)&&a[l]!=null?Nt(Nt({},o),{},{velocity:xf(o.velocity,a[l].velocity,n),from:xf(o.from,a[l].from,n)}):o,t):ET(e,a,n-1)};function MR(e,t,n,a,l,o){var s,f=a.reduce((g,b)=>Nt(Nt({},g),{},{[b]:{from:e[b],velocity:0,to:t[b]}}),{}),d=()=>Lo((g,b)=>b.from,f),v=()=>!Object.values(f).filter(my).length,m=null,y=g=>{s||(s=g);var b=g-s,w=b/n.dt;f=ET(n,f,w),l(Nt(Nt(Nt({},e),t),d())),s=g,v()||(m=o.setTimeout(y))};return()=>(m=o.setTimeout(y),()=>{var g;(g=m)===null||g===void 0||g()})}function CR(e,t,n,a,l,o,s){var f=null,d=l.reduce((y,g)=>{var b=e[g],w=t[g];return b==null||w==null?y:Nt(Nt({},y),{},{[g]:[b,w]})},{}),v,m=y=>{v||(v=y);var g=(y-v)/a,b=Lo((O,A)=>xf(...A,n(g)),d);if(o(Nt(Nt(Nt({},e),t),b)),g<1)f=s.setTimeout(m);else{var w=Lo((O,A)=>xf(...A,n(1)),d);o(Nt(Nt(Nt({},e),t),w))}};return()=>(f=s.setTimeout(m),()=>{var y;(y=f)===null||y===void 0||y()})}const NR=(e,t,n,a,l,o)=>{var s=ER(e,t);return n==null?()=>(l(Nt(Nt({},e),t)),()=>{}):n.isStepper===!0?MR(e,t,n,s,l,o):CR(e,t,n,a,s,l,o)};var Sf=1e-4,_T=(e,t)=>[0,3*e,3*t-6*e,3*e-3*t+1],TT=(e,t)=>e.map((n,a)=>n*t**a).reduce((n,a)=>n+a),Bw=(e,t)=>n=>{var a=_T(e,t);return TT(a,n)},PR=(e,t)=>n=>{var a=_T(e,t),l=[...a.map((o,s)=>o*s).slice(1),0];return TT(l,n)},DR=e=>{var t,n=e.split("(");if(n.length!==2||n[0]!=="cubic-bezier")return null;var a=(t=n[1])===null||t===void 0||(t=t.split(")")[0])===null||t===void 0?void 0:t.split(",");if(a==null||a.length!==4)return null;var l=a.map(o=>parseFloat(o));return[l[0],l[1],l[2],l[3]]},kR=function(){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];if(n.length===1)switch(n[0]){case"linear":return[0,0,1,1];case"ease":return[.25,.1,.25,1];case"ease-in":return[.42,0,1,1];case"ease-out":return[.42,0,.58,1];case"ease-in-out":return[0,0,.58,1];default:{var l=DR(n[0]);if(l)return l}}return n.length===4?n:[0,0,1,1]},RR=(e,t,n,a)=>{var l=Bw(e,n),o=Bw(t,a),s=PR(e,n),f=v=>v>1?1:v<0?0:v,d=v=>{for(var m=v>1?1:v,y=m,g=0;g<8;++g){var b=l(y)-m,w=s(y);if(Math.abs(b-m)<Sf||w<Sf)return o(y);y=f(y-b/w)}return o(y)};return d.isStepper=!1,d},Uw=function(){return RR(...kR(...arguments))},zR=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{stiff:n=100,damping:a=8,dt:l=17}=t,o=(s,f,d)=>{var v=-(s-f)*n,m=d*a,y=d+(v-m)*l/1e3,g=d*l/1e3+s;return Math.abs(g-f)<Sf&&Math.abs(y)<Sf?[f,0]:[g,y]};return o.isStepper=!0,o.dt=l,o},IR=e=>{if(typeof e=="string")switch(e){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return Uw(e);case"spring":return zR();default:if(e.split("(")[0]==="cubic-bezier")return Uw(e)}return typeof e=="function"?e:null};function LR(e){var t,n=()=>null,a=!1,l=null,o=s=>{if(!a){if(Array.isArray(s)){if(!s.length)return;var f=s,[d,...v]=f;if(typeof d=="number"){l=e.setTimeout(o.bind(null,v),d);return}o(d),l=e.setTimeout(o.bind(null,v));return}typeof s=="string"&&(t=s,n(t)),typeof s=="object"&&(t=s,n(t)),typeof s=="function"&&s()}};return{stop:()=>{a=!0},start:s=>{a=!1,l&&(l(),l=null),o(s)},subscribe:s=>(n=s,()=>{n=()=>null}),getTimeoutController:()=>e}}class BR{setTimeout(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=performance.now(),l=null,o=s=>{s-a>=n?t(s):typeof requestAnimationFrame=="function"&&(l=requestAnimationFrame(o))};return l=requestAnimationFrame(o),()=>{l!=null&&cancelAnimationFrame(l)}}}function UR(){return LR(new BR)}var qR=x.createContext(UR);function HR(e,t){var n=x.useContext(qR);return x.useMemo(()=>t??n(e),[e,t,n])}var GR={begin:0,duration:1e3,easing:"ease",isActive:!0,canBegin:!0,onAnimationEnd:()=>{},onAnimationStart:()=>{}},qw={t:0},gp={t:1};function yd(e){var t=rn(e,GR),{isActive:n,canBegin:a,duration:l,easing:o,begin:s,onAnimationEnd:f,onAnimationStart:d,children:v}=t,m=OT(),y=n==="auto"?!Qo.isSsr&&!m:n,g=HR(t.animationId,t.animationManager),[b,w]=x.useState(y?qw:gp),O=x.useRef(null);return x.useEffect(()=>{y||w(gp)},[y]),x.useEffect(()=>{if(!y||!a)return iu;var A=NR(qw,gp,IR(o),l,w,g.getTimeoutController()),E=()=>{O.current=A()};return g.start([d,s,E,l,f]),()=>{g.stop(),O.current&&O.current(),f()}},[y,a,l,o,s,d,f,g]),v(b.t)}function gd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"animation-",n=x.useRef(No(t)),a=x.useRef(e);return a.current!==e&&(n.current=No(t),a.current=e),n.current}var $R=["radius"],KR=["radius"],Hw,Gw,$w,Kw,Yw,Vw,Xw,Zw,Fw,Ww;function Qw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function Jw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Qw(Object(n),!0).forEach(function(a){YR(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qw(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function YR(e,t,n){return(t=VR(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function VR(e){var t=XR(e,"string");return typeof t=="symbol"?t:t+""}function XR(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Of(){return Of=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Of.apply(null,arguments)}function eA(e,t){if(e==null)return{};var n,a,l=ZR(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}function ZR(e,t){if(e==null)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;n[a]=e[a]}return n}function Sr(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var tA=(e,t,n,a,l)=>{var o=qa(n),s=qa(a),f=Math.min(Math.abs(o)/2,Math.abs(s)/2),d=s>=0?1:-1,v=o>=0?1:-1,m=s>=0&&o>=0||s<0&&o<0?1:0,y;if(f>0&&Array.isArray(l)){for(var g=[0,0,0,0],b=0,w=4;b<w;b++){var O,A=(O=l[b])!==null&&O!==void 0?O:0;g[b]=A>f?f:A}y=ht(Hw||(Hw=Sr(["M",",",""])),e,t+d*g[0]),g[0]>0&&(y+=ht(Gw||(Gw=Sr(["A ",",",",0,0,",",",",",""])),g[0],g[0],m,e+v*g[0],t)),y+=ht($w||($w=Sr(["L ",",",""])),e+n-v*g[1],t),g[1]>0&&(y+=ht(Kw||(Kw=Sr(["A ",",",",0,0,",`,
        `,",",""])),g[1],g[1],m,e+n,t+d*g[1])),y+=ht(Yw||(Yw=Sr(["L ",",",""])),e+n,t+a-d*g[2]),g[2]>0&&(y+=ht(Vw||(Vw=Sr(["A ",",",",0,0,",`,
        `,",",""])),g[2],g[2],m,e+n-v*g[2],t+a)),y+=ht(Xw||(Xw=Sr(["L ",",",""])),e+v*g[3],t+a),g[3]>0&&(y+=ht(Zw||(Zw=Sr(["A ",",",",0,0,",`,
        `,",",""])),g[3],g[3],m,e,t+a-d*g[3])),y+="Z"}else if(f>0&&l===+l&&l>0){var E=Math.min(f,l);y=ht(Fw||(Fw=Sr(["M ",",",`
            A `,",",",0,0,",",",",",`
            L `,",",`
            A `,",",",0,0,",",",",",`
            L `,",",`
            A `,",",",0,0,",",",",",`
            L `,",",`
            A `,",",",0,0,",",",","," Z"])),e,t+d*E,E,E,m,e+v*E,t,e+n-v*E,t,E,E,m,e+n,t+d*E,e+n,t+a-d*E,E,E,m,e+n-v*E,t+a,e+v*E,t+a,E,E,m,e,t+a-d*E)}else y=ht(Ww||(Ww=Sr(["M ",","," h "," v "," h "," Z"])),e,t,n,a,-n);return y},nA={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},jT=e=>{var t=rn(e,nA),n=x.useRef(null),[a,l]=x.useState(-1);x.useEffect(()=>{if(n.current&&n.current.getTotalLength)try{var Z=n.current.getTotalLength();Z&&l(Z)}catch{}},[]);var{x:o,y:s,width:f,height:d,radius:v,className:m}=t,{animationEasing:y,animationDuration:g,animationBegin:b,isAnimationActive:w,isUpdateAnimationActive:O}=t,A=x.useRef(f),E=x.useRef(d),j=x.useRef(o),M=x.useRef(s),N=x.useMemo(()=>({x:o,y:s,width:f,height:d,radius:v}),[o,s,f,d,v]),D=gd(N,"rectangle-");if(o!==+o||s!==+s||f!==+f||d!==+d||f===0||d===0)return null;var C=Xe("recharts-rectangle",m);if(!O){var z=er(t),{radius:G}=z,V=eA(z,$R);return x.createElement("path",Of({},V,{x:qa(o),y:qa(s),width:qa(f),height:qa(d),radius:typeof v=="number"?v:void 0,className:C,d:tA(o,s,f,d,v)}))}var Q=A.current,J=E.current,$=j.current,ge=M.current,oe="0px ".concat(a===-1?1:a,"px"),me="".concat(a,"px ").concat(a,"px"),B=AT(["strokeDasharray"],g,typeof y=="string"?y:nA.animationEasing);return x.createElement(yd,{animationId:D,key:D,canBegin:a>0,duration:g,easing:y,isActive:O,begin:b},Z=>{var ie=Ct(Q,f,Z),se=Ct(J,d,Z),ve=Ct($,o,Z),k=Ct(ge,s,Z);n.current&&(A.current=ie,E.current=se,j.current=ve,M.current=k);var K;w?Z>0?K={transition:B,strokeDasharray:me}:K={strokeDasharray:oe}:K={strokeDasharray:me};var ae=er(t),{radius:ue}=ae,be=eA(ae,KR);return x.createElement("path",Of({},be,{radius:typeof v=="number"?v:void 0,className:C,d:tA(ve,k,ie,se,v),ref:n,style:Jw(Jw({},K),t.style)}))})};function rA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function aA(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?rA(Object(n),!0).forEach(function(a){FR(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rA(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function FR(e,t,n){return(t=WR(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function WR(e){var t=QR(e,"string");return typeof t=="symbol"?t:t+""}function QR(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var wf=Math.PI/180,JR=e=>e*180/Math.PI,wt=(e,t,n,a)=>({x:e+Math.cos(-wf*a)*n,y:t+Math.sin(-wf*a)*n}),MT=function(t,n){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(t-(a.left||0)-(a.right||0)),Math.abs(n-(a.top||0)-(a.bottom||0)))/2},ez=(e,t)=>{var{x:n,y:a}=e,{x:l,y:o}=t;return Math.sqrt((n-l)**2+(a-o)**2)},tz=(e,t)=>{var{x:n,y:a}=e,{cx:l,cy:o}=t,s=ez({x:n,y:a},{x:l,y:o});if(s<=0)return{radius:s,angle:0};var f=(n-l)/s,d=Math.acos(f);return a>o&&(d=2*Math.PI-d),{radius:s,angle:JR(d),angleInRadian:d}},nz=e=>{var{startAngle:t,endAngle:n}=e,a=Math.floor(t/360),l=Math.floor(n/360),o=Math.min(a,l);return{startAngle:t-o*360,endAngle:n-o*360}},rz=(e,t)=>{var{startAngle:n,endAngle:a}=t,l=Math.floor(n/360),o=Math.floor(a/360),s=Math.min(l,o);return e+s*360},az=(e,t)=>{var{relativeX:n,relativeY:a}=e,{radius:l,angle:o}=tz({x:n,y:a},t),{innerRadius:s,outerRadius:f}=t;if(l<s||l>f||l===0)return null;var{startAngle:d,endAngle:v}=nz(t),m=o,y;if(d<=v){for(;m>v;)m-=360;for(;m<d;)m+=360;y=m>=d&&m<=v}else{for(;m>d;)m-=360;for(;m<v;)m+=360;y=m>=v&&m<=d}return y?aA(aA({},t),{},{radius:l,angle:rz(m,t)}):null};function CT(e){var{cx:t,cy:n,radius:a,startAngle:l,endAngle:o}=e,s=wt(t,n,a,l),f=wt(t,n,a,o);return{points:[s,f],cx:t,cy:n,radius:a,startAngle:l,endAngle:o}}var iA,lA,uA,oA,cA,sA,fA;function py(){return py=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},py.apply(null,arguments)}function Ei(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var iz=(e,t)=>{var n=Ut(t-e),a=Math.min(Math.abs(t-e),359.999);return n*a},Is=e=>{var{cx:t,cy:n,radius:a,angle:l,sign:o,isExternal:s,cornerRadius:f,cornerIsExternal:d}=e,v=f*(s?1:-1)+a,m=Math.asin(f/v)/wf,y=d?l:l+o*m,g=wt(t,n,v,y),b=wt(t,n,a,y),w=d?l-o*m:l,O=wt(t,n,v*Math.cos(m*wf),w);return{center:g,circleTangency:b,lineTangency:O,theta:m}},NT=e=>{var{cx:t,cy:n,innerRadius:a,outerRadius:l,startAngle:o,endAngle:s}=e,f=iz(o,s),d=o+f,v=wt(t,n,l,o),m=wt(t,n,l,d),y=ht(iA||(iA=Ei(["M ",",",`
    A `,",",`,0,
    `,",",`,
    `,",",`
  `])),v.x,v.y,l,l,+(Math.abs(f)>180),+(o>d),m.x,m.y);if(a>0){var g=wt(t,n,a,o),b=wt(t,n,a,d);y+=ht(lA||(lA=Ei(["L ",",",`
            A `,",",`,0,
            `,",",`,
            `,","," Z"])),b.x,b.y,a,a,+(Math.abs(f)>180),+(o<=d),g.x,g.y)}else y+=ht(uA||(uA=Ei(["L ",","," Z"])),t,n);return y},lz=e=>{var{cx:t,cy:n,innerRadius:a,outerRadius:l,cornerRadius:o,forceCornerRadius:s,cornerIsExternal:f,startAngle:d,endAngle:v}=e,m=Ut(v-d),{circleTangency:y,lineTangency:g,theta:b}=Is({cx:t,cy:n,radius:l,angle:d,sign:m,cornerRadius:o,cornerIsExternal:f}),{circleTangency:w,lineTangency:O,theta:A}=Is({cx:t,cy:n,radius:l,angle:v,sign:-m,cornerRadius:o,cornerIsExternal:f}),E=f?Math.abs(d-v):Math.abs(d-v)-b-A;if(E<0)return s?ht(oA||(oA=Ei(["M ",",",`
        a`,",",",0,0,1,",`,0
        a`,",",",0,0,1,",`,0
      `])),g.x,g.y,o,o,o*2,o,o,-o*2):NT({cx:t,cy:n,innerRadius:a,outerRadius:l,startAngle:d,endAngle:v});var j=ht(cA||(cA=Ei(["M ",",",`
    A`,",",",0,0,",",",",",`
    A`,",",",0,",",",",",",",`
    A`,",",",0,0,",",",",",`
  `])),g.x,g.y,o,o,+(m<0),y.x,y.y,l,l,+(E>180),+(m<0),w.x,w.y,o,o,+(m<0),O.x,O.y);if(a>0){var{circleTangency:M,lineTangency:N,theta:D}=Is({cx:t,cy:n,radius:a,angle:d,sign:m,isExternal:!0,cornerRadius:o,cornerIsExternal:f}),{circleTangency:C,lineTangency:z,theta:G}=Is({cx:t,cy:n,radius:a,angle:v,sign:-m,isExternal:!0,cornerRadius:o,cornerIsExternal:f}),V=f?Math.abs(d-v):Math.abs(d-v)-D-G;if(V<0&&o===0)return"".concat(j,"L").concat(t,",").concat(n,"Z");j+=ht(sA||(sA=Ei(["L",",",`
      A`,",",",0,0,",",",",",`
      A`,",",",0,",",",",",",",`
      A`,",",",0,0,",",",",","Z"])),z.x,z.y,o,o,+(m<0),C.x,C.y,a,a,+(V>180),+(m>0),M.x,M.y,o,o,+(m<0),N.x,N.y)}else j+=ht(fA||(fA=Ei(["L",",","Z"])),t,n);return j},uz={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},PT=e=>{var t=rn(e,uz),{cx:n,cy:a,innerRadius:l,outerRadius:o,cornerRadius:s,forceCornerRadius:f,cornerIsExternal:d,startAngle:v,endAngle:m,className:y}=t;if(o<l||v===m)return null;var g=Xe("recharts-sector",y),b=o-l,w=tn(s,b,0,!0),O;return w>0&&Math.abs(v-m)<360?O=lz({cx:n,cy:a,innerRadius:l,outerRadius:o,cornerRadius:Math.min(w,b/2),forceCornerRadius:f,cornerIsExternal:d,startAngle:v,endAngle:m}):O=NT({cx:n,cy:a,innerRadius:l,outerRadius:o,startAngle:v,endAngle:m}),x.createElement("path",py({},er(t),{className:g,d:O}))};function oz(e,t,n){if(e==="horizontal")return[{x:t.x,y:n.top},{x:t.x,y:n.top+n.height}];if(e==="vertical")return[{x:n.left,y:t.y},{x:n.left+n.width,y:t.y}];if(c_(t)){if(e==="centric"){var{cx:a,cy:l,innerRadius:o,outerRadius:s,angle:f}=t,d=wt(a,l,o,f),v=wt(a,l,s,f);return[{x:d.x,y:d.y},{x:v.x,y:v.y}]}return CT(t)}}var bp={},xp={},Sp={},dA;function cz(){return dA||(dA=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=x_();function n(a){return t.isSymbol(a)?NaN:Number(a)}e.toNumber=n})(Sp)),Sp}var vA;function sz(){return vA||(vA=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=cz();function n(a){return a?(a=t.toNumber(a),a===1/0||a===-1/0?(a<0?-1:1)*Number.MAX_VALUE:a===a?a:0):a===0?a:0}e.toFinite=n})(xp)),xp}var hA;function fz(){return hA||(hA=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=S_(),n=sz();function a(l,o,s){s&&typeof s!="number"&&t.isIterateeCall(l,o,s)&&(o=s=void 0),l=n.toFinite(l),o===void 0?(o=l,l=0):o=n.toFinite(o),s=s===void 0?l<o?1:-1:n.toFinite(s);const f=Math.max(Math.ceil((o-l)/(s||1)),0),d=new Array(f);for(let v=0;v<f;v++)d[v]=l,l+=s;return d}e.range=a})(bp)),bp}var Op,mA;function dz(){return mA||(mA=1,Op=fz().range),Op}var vz=dz();const DT=Ya(vz);var vr=e=>e.chartData,Jo=L([vr],e=>{var t=e.chartData!=null?e.chartData.length-1:0;return{chartData:e.chartData,computedData:e.computedData,dataEndIndex:t,dataStartIndex:0}}),bd=(e,t,n,a)=>a?Jo(e):vr(e),hz=(e,t,n)=>n?Jo(e):vr(e),mz=L([bd],e=>{var{chartData:t,dataStartIndex:n,dataEndIndex:a}=e;return t!=null?t.slice(n,a+1):[]}),pz=L([Jo],e=>{var{chartData:t,dataStartIndex:n,dataEndIndex:a}=e;return t!=null?t.slice(n,a+1):[]}),yz=L([vr],e=>{var{chartData:t,dataStartIndex:n,dataEndIndex:a}=e;return t!=null?t.slice(n,a+1):[]});function _r(e){if(Array.isArray(e)&&e.length===2){var[t,n]=e;if(Re(t)&&Re(n))return!0}return!1}function pA(e,t,n){return n?e:[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}function kT(e,t){if(t&&typeof e!="function"&&Array.isArray(e)&&e.length===2){var[n,a]=e,l,o;if(Re(n))l=n;else if(typeof n=="function")return;if(Re(a))o=a;else if(typeof a=="function")return;var s=[l,o];if(_r(s))return s}}function gz(e,t,n){if(!(!n&&t==null)){if(typeof e=="function"&&t!=null)try{var a=e(t,n);if(_r(a))return pA(a,t,n)}catch{}if(Array.isArray(e)&&e.length===2){var[l,o]=e,s,f;if(l==="auto")t!=null&&(s=Math.min(...t));else if(he(l))s=l;else if(typeof l=="function")try{t!=null&&(s=l(t==null?void 0:t[0]))}catch{}else if(typeof l=="string"&&lw.test(l)){var d=lw.exec(l);if(d==null||d[1]==null||t==null)s=void 0;else{var v=+d[1];s=t[0]-v}}else s=t==null?void 0:t[0];if(o==="auto")t!=null&&(f=Math.max(...t));else if(he(o))f=o;else if(typeof o=="function")try{t!=null&&(f=o(t==null?void 0:t[1]))}catch{}else if(typeof o=="string"&&uw.test(o)){var m=uw.exec(o);if(m==null||m[1]==null||t==null)f=void 0;else{var y=+m[1];f=t[1]+y}}else f=t==null?void 0:t[1];var g=[s,f];if(_r(g))return t==null?g:pA(g,t,n)}}}var uu=1e9,bz={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},l0,ot=!0,tr="[DecimalError] ",Ci=tr+"Invalid argument: ",i0=tr+"Exponent out of range: ",ou=Math.floor,Ai=Math.pow,xz=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Dn,Bt=1e7,at=7,RT=9007199254740991,Af=ou(RT/at),fe={};fe.absoluteValue=fe.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e};fe.comparedTo=fe.cmp=function(e){var t,n,a,l,o=this;if(e=new o.constructor(e),o.s!==e.s)return o.s||-e.s;if(o.e!==e.e)return o.e>e.e^o.s<0?1:-1;for(a=o.d.length,l=e.d.length,t=0,n=a<l?a:l;t<n;++t)if(o.d[t]!==e.d[t])return o.d[t]>e.d[t]^o.s<0?1:-1;return a===l?0:a>l^o.s<0?1:-1};fe.decimalPlaces=fe.dp=function(){var e=this,t=e.d.length-1,n=(t-e.e)*at;if(t=e.d[t],t)for(;t%10==0;t/=10)n--;return n<0?0:n};fe.dividedBy=fe.div=function(e){return ta(this,new this.constructor(e))};fe.dividedToIntegerBy=fe.idiv=function(e){var t=this,n=t.constructor;return We(ta(t,new n(e),0,1),n.precision)};fe.equals=fe.eq=function(e){return!this.cmp(e)};fe.exponent=function(){return At(this)};fe.greaterThan=fe.gt=function(e){return this.cmp(e)>0};fe.greaterThanOrEqualTo=fe.gte=function(e){return this.cmp(e)>=0};fe.isInteger=fe.isint=function(){return this.e>this.d.length-2};fe.isNegative=fe.isneg=function(){return this.s<0};fe.isPositive=fe.ispos=function(){return this.s>0};fe.isZero=function(){return this.s===0};fe.lessThan=fe.lt=function(e){return this.cmp(e)<0};fe.lessThanOrEqualTo=fe.lte=function(e){return this.cmp(e)<1};fe.logarithm=fe.log=function(e){var t,n=this,a=n.constructor,l=a.precision,o=l+5;if(e===void 0)e=new a(10);else if(e=new a(e),e.s<1||e.eq(Dn))throw Error(tr+"NaN");if(n.s<1)throw Error(tr+(n.s?"NaN":"-Infinity"));return n.eq(Dn)?new a(0):(ot=!1,t=ta(Bo(n,o),Bo(e,o),o),ot=!0,We(t,l))};fe.minus=fe.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?LT(t,e):zT(t,(e.s=-e.s,e))};fe.modulo=fe.mod=function(e){var t,n=this,a=n.constructor,l=a.precision;if(e=new a(e),!e.s)throw Error(tr+"NaN");return n.s?(ot=!1,t=ta(n,e,0,1).times(e),ot=!0,n.minus(t)):We(new a(n),l)};fe.naturalExponential=fe.exp=function(){return IT(this)};fe.naturalLogarithm=fe.ln=function(){return Bo(this)};fe.negated=fe.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e};fe.plus=fe.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?zT(t,e):LT(t,(e.s=-e.s,e))};fe.precision=fe.sd=function(e){var t,n,a,l=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(Ci+e);if(t=At(l)+1,a=l.d.length-1,n=a*at+1,a=l.d[a],a){for(;a%10==0;a/=10)n--;for(a=l.d[0];a>=10;a/=10)n++}return e&&t>n?t:n};fe.squareRoot=fe.sqrt=function(){var e,t,n,a,l,o,s,f=this,d=f.constructor;if(f.s<1){if(!f.s)return new d(0);throw Error(tr+"NaN")}for(e=At(f),ot=!1,l=Math.sqrt(+f),l==0||l==1/0?(t=Er(f.d),(t.length+e)%2==0&&(t+="0"),l=Math.sqrt(t),e=ou((e+1)/2)-(e<0||e%2),l==1/0?t="5e"+e:(t=l.toExponential(),t=t.slice(0,t.indexOf("e")+1)+e),a=new d(t)):a=new d(l.toString()),n=d.precision,l=s=n+3;;)if(o=a,a=o.plus(ta(f,o,s+2)).times(.5),Er(o.d).slice(0,s)===(t=Er(a.d)).slice(0,s)){if(t=t.slice(s-3,s+1),l==s&&t=="4999"){if(We(o,n+1,0),o.times(o).eq(f)){a=o;break}}else if(t!="9999")break;s+=4}return ot=!0,We(a,n)};fe.times=fe.mul=function(e){var t,n,a,l,o,s,f,d,v,m=this,y=m.constructor,g=m.d,b=(e=new y(e)).d;if(!m.s||!e.s)return new y(0);for(e.s*=m.s,n=m.e+e.e,d=g.length,v=b.length,d<v&&(o=g,g=b,b=o,s=d,d=v,v=s),o=[],s=d+v,a=s;a--;)o.push(0);for(a=v;--a>=0;){for(t=0,l=d+a;l>a;)f=o[l]+b[a]*g[l-a-1]+t,o[l--]=f%Bt|0,t=f/Bt|0;o[l]=(o[l]+t)%Bt|0}for(;!o[--s];)o.pop();return t?++n:o.shift(),e.d=o,e.e=n,ot?We(e,y.precision):e};fe.toDecimalPlaces=fe.todp=function(e,t){var n=this,a=n.constructor;return n=new a(n),e===void 0?n:(Nr(e,0,uu),t===void 0?t=a.rounding:Nr(t,0,8),We(n,e+At(n)+1,t))};fe.toExponential=function(e,t){var n,a=this,l=a.constructor;return e===void 0?n=Li(a,!0):(Nr(e,0,uu),t===void 0?t=l.rounding:Nr(t,0,8),a=We(new l(a),e+1,t),n=Li(a,!0,e+1)),n};fe.toFixed=function(e,t){var n,a,l=this,o=l.constructor;return e===void 0?Li(l):(Nr(e,0,uu),t===void 0?t=o.rounding:Nr(t,0,8),a=We(new o(l),e+At(l)+1,t),n=Li(a.abs(),!1,e+At(a)+1),l.isneg()&&!l.isZero()?"-"+n:n)};fe.toInteger=fe.toint=function(){var e=this,t=e.constructor;return We(new t(e),At(e)+1,t.rounding)};fe.toNumber=function(){return+this};fe.toPower=fe.pow=function(e){var t,n,a,l,o,s,f=this,d=f.constructor,v=12,m=+(e=new d(e));if(!e.s)return new d(Dn);if(f=new d(f),!f.s){if(e.s<1)throw Error(tr+"Infinity");return f}if(f.eq(Dn))return f;if(a=d.precision,e.eq(Dn))return We(f,a);if(t=e.e,n=e.d.length-1,s=t>=n,o=f.s,s){if((n=m<0?-m:m)<=RT){for(l=new d(Dn),t=Math.ceil(a/at+4),ot=!1;n%2&&(l=l.times(f),gA(l.d,t)),n=ou(n/2),n!==0;)f=f.times(f),gA(f.d,t);return ot=!0,e.s<0?new d(Dn).div(l):We(l,a)}}else if(o<0)throw Error(tr+"NaN");return o=o<0&&e.d[Math.max(t,n)]&1?-1:1,f.s=1,ot=!1,l=e.times(Bo(f,a+v)),ot=!0,l=IT(l),l.s=o,l};fe.toPrecision=function(e,t){var n,a,l=this,o=l.constructor;return e===void 0?(n=At(l),a=Li(l,n<=o.toExpNeg||n>=o.toExpPos)):(Nr(e,1,uu),t===void 0?t=o.rounding:Nr(t,0,8),l=We(new o(l),e,t),n=At(l),a=Li(l,e<=n||n<=o.toExpNeg,e)),a};fe.toSignificantDigits=fe.tosd=function(e,t){var n=this,a=n.constructor;return e===void 0?(e=a.precision,t=a.rounding):(Nr(e,1,uu),t===void 0?t=a.rounding:Nr(t,0,8)),We(new a(n),e,t)};fe.toString=fe.valueOf=fe.val=fe.toJSON=fe[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=At(e),n=e.constructor;return Li(e,t<=n.toExpNeg||t>=n.toExpPos)};function zT(e,t){var n,a,l,o,s,f,d,v,m=e.constructor,y=m.precision;if(!e.s||!t.s)return t.s||(t=new m(e)),ot?We(t,y):t;if(d=e.d,v=t.d,s=e.e,l=t.e,d=d.slice(),o=s-l,o){for(o<0?(a=d,o=-o,f=v.length):(a=v,l=s,f=d.length),s=Math.ceil(y/at),f=s>f?s+1:f+1,o>f&&(o=f,a.length=1),a.reverse();o--;)a.push(0);a.reverse()}for(f=d.length,o=v.length,f-o<0&&(o=f,a=v,v=d,d=a),n=0;o;)n=(d[--o]=d[o]+v[o]+n)/Bt|0,d[o]%=Bt;for(n&&(d.unshift(n),++l),f=d.length;d[--f]==0;)d.pop();return t.d=d,t.e=l,ot?We(t,y):t}function Nr(e,t,n){if(e!==~~e||e<t||e>n)throw Error(Ci+e)}function Er(e){var t,n,a,l=e.length-1,o="",s=e[0];if(l>0){for(o+=s,t=1;t<l;t++)a=e[t]+"",n=at-a.length,n&&(o+=La(n)),o+=a;s=e[t],a=s+"",n=at-a.length,n&&(o+=La(n))}else if(s===0)return"0";for(;s%10===0;)s/=10;return o+s}var ta=(function(){function e(a,l){var o,s=0,f=a.length;for(a=a.slice();f--;)o=a[f]*l+s,a[f]=o%Bt|0,s=o/Bt|0;return s&&a.unshift(s),a}function t(a,l,o,s){var f,d;if(o!=s)d=o>s?1:-1;else for(f=d=0;f<o;f++)if(a[f]!=l[f]){d=a[f]>l[f]?1:-1;break}return d}function n(a,l,o){for(var s=0;o--;)a[o]-=s,s=a[o]<l[o]?1:0,a[o]=s*Bt+a[o]-l[o];for(;!a[0]&&a.length>1;)a.shift()}return function(a,l,o,s){var f,d,v,m,y,g,b,w,O,A,E,j,M,N,D,C,z,G,V=a.constructor,Q=a.s==l.s?1:-1,J=a.d,$=l.d;if(!a.s)return new V(a);if(!l.s)throw Error(tr+"Division by zero");for(d=a.e-l.e,z=$.length,D=J.length,b=new V(Q),w=b.d=[],v=0;$[v]==(J[v]||0);)++v;if($[v]>(J[v]||0)&&--d,o==null?j=o=V.precision:s?j=o+(At(a)-At(l))+1:j=o,j<0)return new V(0);if(j=j/at+2|0,v=0,z==1)for(m=0,$=$[0],j++;(v<D||m)&&j--;v++)M=m*Bt+(J[v]||0),w[v]=M/$|0,m=M%$|0;else{for(m=Bt/($[0]+1)|0,m>1&&($=e($,m),J=e(J,m),z=$.length,D=J.length),N=z,O=J.slice(0,z),A=O.length;A<z;)O[A++]=0;G=$.slice(),G.unshift(0),C=$[0],$[1]>=Bt/2&&++C;do m=0,f=t($,O,z,A),f<0?(E=O[0],z!=A&&(E=E*Bt+(O[1]||0)),m=E/C|0,m>1?(m>=Bt&&(m=Bt-1),y=e($,m),g=y.length,A=O.length,f=t(y,O,g,A),f==1&&(m--,n(y,z<g?G:$,g))):(m==0&&(f=m=1),y=$.slice()),g=y.length,g<A&&y.unshift(0),n(O,y,A),f==-1&&(A=O.length,f=t($,O,z,A),f<1&&(m++,n(O,z<A?G:$,A))),A=O.length):f===0&&(m++,O=[0]),w[v++]=m,f&&O[0]?O[A++]=J[N]||0:(O=[J[N]],A=1);while((N++<D||O[0]!==void 0)&&j--)}return w[0]||w.shift(),b.e=d,We(b,s?o+At(b)+1:o)}})();function IT(e,t){var n,a,l,o,s,f,d=0,v=0,m=e.constructor,y=m.precision;if(At(e)>16)throw Error(i0+At(e));if(!e.s)return new m(Dn);for(ot=!1,f=y,s=new m(.03125);e.abs().gte(.1);)e=e.times(s),v+=5;for(a=Math.log(Ai(2,v))/Math.LN10*2+5|0,f+=a,n=l=o=new m(Dn),m.precision=f;;){if(l=We(l.times(e),f),n=n.times(++d),s=o.plus(ta(l,n,f)),Er(s.d).slice(0,f)===Er(o.d).slice(0,f)){for(;v--;)o=We(o.times(o),f);return m.precision=y,t==null?(ot=!0,We(o,y)):o}o=s}}function At(e){for(var t=e.e*at,n=e.d[0];n>=10;n/=10)t++;return t}function wp(e,t,n){if(t>e.LN10.sd())throw ot=!0,n&&(e.precision=n),Error(tr+"LN10 precision limit exceeded");return We(new e(e.LN10),t)}function La(e){for(var t="";e--;)t+="0";return t}function Bo(e,t){var n,a,l,o,s,f,d,v,m,y=1,g=10,b=e,w=b.d,O=b.constructor,A=O.precision;if(b.s<1)throw Error(tr+(b.s?"NaN":"-Infinity"));if(b.eq(Dn))return new O(0);if(t==null?(ot=!1,v=A):v=t,b.eq(10))return t==null&&(ot=!0),wp(O,v);if(v+=g,O.precision=v,n=Er(w),a=n.charAt(0),o=At(b),Math.abs(o)<15e14){for(;a<7&&a!=1||a==1&&n.charAt(1)>3;)b=b.times(e),n=Er(b.d),a=n.charAt(0),y++;o=At(b),a>1?(b=new O("0."+n),o++):b=new O(a+"."+n.slice(1))}else return d=wp(O,v+2,A).times(o+""),b=Bo(new O(a+"."+n.slice(1)),v-g).plus(d),O.precision=A,t==null?(ot=!0,We(b,A)):b;for(f=s=b=ta(b.minus(Dn),b.plus(Dn),v),m=We(b.times(b),v),l=3;;){if(s=We(s.times(m),v),d=f.plus(ta(s,new O(l),v)),Er(d.d).slice(0,v)===Er(f.d).slice(0,v))return f=f.times(2),o!==0&&(f=f.plus(wp(O,v+2,A).times(o+""))),f=ta(f,new O(y),v),O.precision=A,t==null?(ot=!0,We(f,A)):f;f=d,l+=2}}function yA(e,t){var n,a,l;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(a=t.search(/e/i))>0?(n<0&&(n=a),n+=+t.slice(a+1),t=t.substring(0,a)):n<0&&(n=t.length),a=0;t.charCodeAt(a)===48;)++a;for(l=t.length;t.charCodeAt(l-1)===48;)--l;if(t=t.slice(a,l),t){if(l-=a,n=n-a-1,e.e=ou(n/at),e.d=[],a=(n+1)%at,n<0&&(a+=at),a<l){for(a&&e.d.push(+t.slice(0,a)),l-=at;a<l;)e.d.push(+t.slice(a,a+=at));t=t.slice(a),a=at-t.length}else a-=l;for(;a--;)t+="0";if(e.d.push(+t),ot&&(e.e>Af||e.e<-Af))throw Error(i0+n)}else e.s=0,e.e=0,e.d=[0];return e}function We(e,t,n){var a,l,o,s,f,d,v,m,y=e.d;for(s=1,o=y[0];o>=10;o/=10)s++;if(a=t-s,a<0)a+=at,l=t,v=y[m=0];else{if(m=Math.ceil((a+1)/at),o=y.length,m>=o)return e;for(v=o=y[m],s=1;o>=10;o/=10)s++;a%=at,l=a-at+s}if(n!==void 0&&(o=Ai(10,s-l-1),f=v/o%10|0,d=t<0||y[m+1]!==void 0||v%o,d=n<4?(f||d)&&(n==0||n==(e.s<0?3:2)):f>5||f==5&&(n==4||d||n==6&&(a>0?l>0?v/Ai(10,s-l):0:y[m-1])%10&1||n==(e.s<0?8:7))),t<1||!y[0])return d?(o=At(e),y.length=1,t=t-o-1,y[0]=Ai(10,(at-t%at)%at),e.e=ou(-t/at)||0):(y.length=1,y[0]=e.e=e.s=0),e;if(a==0?(y.length=m,o=1,m--):(y.length=m+1,o=Ai(10,at-a),y[m]=l>0?(v/Ai(10,s-l)%Ai(10,l)|0)*o:0),d)for(;;)if(m==0){(y[0]+=o)==Bt&&(y[0]=1,++e.e);break}else{if(y[m]+=o,y[m]!=Bt)break;y[m--]=0,o=1}for(a=y.length;y[--a]===0;)y.pop();if(ot&&(e.e>Af||e.e<-Af))throw Error(i0+At(e));return e}function LT(e,t){var n,a,l,o,s,f,d,v,m,y,g=e.constructor,b=g.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new g(e),ot?We(t,b):t;if(d=e.d,y=t.d,a=t.e,v=e.e,d=d.slice(),s=v-a,s){for(m=s<0,m?(n=d,s=-s,f=y.length):(n=y,a=v,f=d.length),l=Math.max(Math.ceil(b/at),f)+2,s>l&&(s=l,n.length=1),n.reverse(),l=s;l--;)n.push(0);n.reverse()}else{for(l=d.length,f=y.length,m=l<f,m&&(f=l),l=0;l<f;l++)if(d[l]!=y[l]){m=d[l]<y[l];break}s=0}for(m&&(n=d,d=y,y=n,t.s=-t.s),f=d.length,l=y.length-f;l>0;--l)d[f++]=0;for(l=y.length;l>s;){if(d[--l]<y[l]){for(o=l;o&&d[--o]===0;)d[o]=Bt-1;--d[o],d[l]+=Bt}d[l]-=y[l]}for(;d[--f]===0;)d.pop();for(;d[0]===0;d.shift())--a;return d[0]?(t.d=d,t.e=a,ot?We(t,b):t):new g(0)}function Li(e,t,n){var a,l=At(e),o=Er(e.d),s=o.length;return t?(n&&(a=n-s)>0?o=o.charAt(0)+"."+o.slice(1)+La(a):s>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(l<0?"e":"e+")+l):l<0?(o="0."+La(-l-1)+o,n&&(a=n-s)>0&&(o+=La(a))):l>=s?(o+=La(l+1-s),n&&(a=n-l-1)>0&&(o=o+"."+La(a))):((a=l+1)<s&&(o=o.slice(0,a)+"."+o.slice(a)),n&&(a=n-s)>0&&(l+1===s&&(o+="."),o+=La(a))),e.s<0?"-"+o:o}function gA(e,t){if(e.length>t)return e.length=t,!0}function BT(e){var t,n,a;function l(o){var s=this;if(!(s instanceof l))return new l(o);if(s.constructor=l,o instanceof l){s.s=o.s,s.e=o.e,s.d=(o=o.d)?o.slice():o;return}if(typeof o=="number"){if(o*0!==0)throw Error(Ci+o);if(o>0)s.s=1;else if(o<0)o=-o,s.s=-1;else{s.s=0,s.e=0,s.d=[0];return}if(o===~~o&&o<1e7){s.e=0,s.d=[o];return}return yA(s,o.toString())}else if(typeof o!="string")throw Error(Ci+o);if(o.charCodeAt(0)===45?(o=o.slice(1),s.s=-1):s.s=1,xz.test(o))yA(s,o);else throw Error(Ci+o)}if(l.prototype=fe,l.ROUND_UP=0,l.ROUND_DOWN=1,l.ROUND_CEIL=2,l.ROUND_FLOOR=3,l.ROUND_HALF_UP=4,l.ROUND_HALF_DOWN=5,l.ROUND_HALF_EVEN=6,l.ROUND_HALF_CEIL=7,l.ROUND_HALF_FLOOR=8,l.clone=BT,l.config=l.set=Sz,e===void 0&&(e={}),e)for(a=["precision","rounding","toExpNeg","toExpPos","LN10"],t=0;t<a.length;)e.hasOwnProperty(n=a[t++])||(e[n]=this[n]);return l.config(e),l}function Sz(e){if(!e||typeof e!="object")throw Error(tr+"Object expected");var t,n,a,l=["precision",1,uu,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<l.length;t+=3)if((a=e[n=l[t]])!==void 0)if(ou(a)===a&&a>=l[t+1]&&a<=l[t+2])this[n]=a;else throw Error(Ci+n+": "+a);if((a=e[n="LN10"])!==void 0)if(a==Math.LN10)this[n]=new this(a);else throw Error(Ci+n+": "+a);return this}var l0=BT(bz);Dn=new l0(1);const ke=l0;function UT(e){var t;return e===0?t=1:t=Math.floor(new ke(e).abs().log(10).toNumber())+1,t}function qT(e,t,n){for(var a=new ke(e),l=0,o=[];a.lt(t)&&l<1e5;)o.push(a.toNumber()),a=a.add(n),l++;return o}var HT=e=>{var[t,n]=e,[a,l]=[t,n];return t>n&&([a,l]=[n,t]),[a,l]},u0=(e,t,n)=>{if(e.lte(0))return new ke(0);var a=UT(e.toNumber()),l=new ke(10).pow(a),o=e.div(l),s=a!==1?.05:.1,f=new ke(Math.ceil(o.div(s).toNumber())).add(n).mul(s),d=f.mul(l);return t?new ke(d.toNumber()):new ke(Math.ceil(d.toNumber()))},GT=(e,t,n)=>{var a;if(e.lte(0))return new ke(0);var l=[1,2,2.5,5],o=e.toNumber(),s=Math.floor(new ke(o).abs().log(10).toNumber()),f=new ke(10).pow(s),d=e.div(f).toNumber(),v=l.findIndex(b=>b>=d-1e-10);if(v===-1&&(f=f.mul(10),v=0),v+=n,v>=l.length){var m=Math.floor(v/l.length);v%=l.length,f=f.mul(new ke(10).pow(m))}var y=(a=l[v])!==null&&a!==void 0?a:1,g=new ke(y).mul(f);return t?g:new ke(Math.ceil(g.toNumber()))},Oz=(e,t,n)=>{var a=new ke(1),l=new ke(e);if(!l.isint()&&n){var o=Math.abs(e);o<1?(a=new ke(10).pow(UT(e)-1),l=new ke(Math.floor(l.div(a).toNumber())).mul(a)):o>1&&(l=new ke(Math.floor(e)))}else e===0?l=new ke(Math.floor((t-1)/2)):n||(l=new ke(Math.floor(e)));for(var s=Math.floor((t-1)/2),f=[],d=0;d<t;d++)f.push(l.add(new ke(d-s).mul(a)).toNumber());return f},$T=function(t,n,a,l){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:u0;if(!Number.isFinite((n-t)/(a-1)))return{step:new ke(0),tickMin:new ke(0),tickMax:new ke(0)};var f=s(new ke(n).sub(t).div(a-1),l,o),d;t<=0&&n>=0?d=new ke(0):(d=new ke(t).add(n).div(2),d=d.sub(new ke(d).mod(f)));var v=Math.ceil(d.sub(t).div(f).toNumber()),m=Math.ceil(new ke(n).sub(d).div(f).toNumber()),y=v+m+1;return y>a?$T(t,n,a,l,o+1,s):(y<a&&(m=n>0?m+(a-y):m,v=n>0?v:v+(a-y)),{step:f,tickMin:d.sub(new ke(v).mul(f)),tickMax:d.add(new ke(m).mul(f))})},bA=function(t){var[n,a]=t,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"auto",f=Math.max(l,2),[d,v]=HT([n,a]);if(d===-1/0||v===1/0){var m=v===1/0?[d,...Array(l-1).fill(1/0)]:[...Array(l-1).fill(-1/0),v];return n>a?m.reverse():m}if(d===v)return Oz(d,l,o);var y=s==="snap125"?GT:u0,{step:g,tickMin:b,tickMax:w}=$T(d,v,f,o,0,y),O=qT(b,w.add(new ke(.1).mul(g)),g);return n>a?O.reverse():O},xA=function(t,n){var[a,l]=t,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"auto",[f,d]=HT([a,l]);if(f===-1/0||d===1/0)return[a,l];if(f===d)return[f];var v=s==="snap125"?GT:u0,m=Math.max(n,2),y=v(new ke(d).sub(f).div(m-1),o,0),g=[...qT(new ke(f),new ke(d),y),d];return o===!1&&(g=g.map(b=>Math.round(b))),a>l?g.reverse():g},KT=e=>e.rootProps.maxBarSize,wz=e=>e.rootProps.barGap,YT=e=>e.rootProps.barCategoryGap,Az=e=>e.rootProps.barSize,ec=e=>e.rootProps.stackOffset,VT=e=>e.rootProps.reverseStackOrder,o0=e=>e.options.chartName,c0=e=>e.rootProps.syncId,XT=e=>e.rootProps.syncMethod,s0=e=>e.options.eventEmitter,Wt={grid:-100,barBackground:-50,area:100,cursorRectangle:200,bar:300,line:400,axis:500,scatter:600,activeBar:1e3,cursorLine:1100,activeDot:1200,label:2e3},gi={allowDecimals:!1,allowDataOverflow:!1,angleAxisId:0,reversed:!1,scale:"auto",tick:!0,type:"auto"},Or={allowDataOverflow:!1,allowDecimals:!1,allowDuplicatedCategory:!0,includeHidden:!1,radiusAxisId:0,reversed:!1,scale:"auto",tick:!0,tickCount:5,type:"auto"},xd=(e,t)=>{if(!(!e||!t))return e!=null&&e.reversed?[t[1],t[0]]:t};function Sd(e,t,n){if(n!=="auto")return n;if(e!=null)return Va(e,t)?"category":"number"}function SA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function Ef(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?SA(Object(n),!0).forEach(function(a){Ez(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):SA(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function Ez(e,t,n){return(t=_z(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _z(e){var t=Tz(e,"string");return typeof t=="symbol"?t:t+""}function Tz(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var OA={allowDataOverflow:gi.allowDataOverflow,allowDecimals:gi.allowDecimals,allowDuplicatedCategory:!1,dataKey:void 0,domain:void 0,id:gi.angleAxisId,includeHidden:!1,name:void 0,reversed:gi.reversed,scale:gi.scale,tick:gi.tick,tickCount:void 0,ticks:void 0,type:gi.type,unit:void 0,niceTicks:"auto"},wA={allowDataOverflow:Or.allowDataOverflow,allowDecimals:Or.allowDecimals,allowDuplicatedCategory:Or.allowDuplicatedCategory,dataKey:void 0,domain:void 0,id:Or.radiusAxisId,includeHidden:Or.includeHidden,name:void 0,reversed:Or.reversed,scale:Or.scale,tick:Or.tick,tickCount:Or.tickCount,ticks:void 0,type:Or.type,unit:void 0,niceTicks:"auto"},jz=(e,t)=>{if(t!=null)return e.polarAxis.angleAxis[t]},f0=L([jz,fT],(e,t)=>{var n;if(e!=null)return e;var a=(n=Sd(t,"angleAxis",OA.type))!==null&&n!==void 0?n:"category";return Ef(Ef({},OA),{},{type:a})}),Mz=(e,t)=>e.polarAxis.radiusAxis[t],d0=L([Mz,fT],(e,t)=>{var n;if(e!=null)return e;var a=(n=Sd(t,"radiusAxis",wA.type))!==null&&n!==void 0?n:"category";return Ef(Ef({},wA),{},{type:a})}),Od=e=>e.polarOptions,v0=L([ua,oa,Dt],MT),ZT=L([Od,v0],(e,t)=>{if(e!=null)return tn(e.innerRadius,t,0)}),FT=L([Od,v0],(e,t)=>{if(e!=null)return tn(e.outerRadius,t,t*.8)}),Cz=e=>{if(e==null)return[0,0];var{startAngle:t,endAngle:n}=e;return[t,n]},WT=L([Od],Cz);L([f0,WT],xd);var QT=L([v0,ZT,FT],(e,t,n)=>{if(!(e==null||t==null||n==null))return[t,n]});L([d0,QT],xd);var JT=L([qe,Od,ZT,FT,ua,oa],(e,t,n,a,l,o)=>{if(!(e!=="centric"&&e!=="radial"||t==null||n==null||a==null)){var{cx:s,cy:f,startAngle:d,endAngle:v}=t;return{cx:tn(s,l,l/2),cy:tn(f,o,o/2),innerRadius:n,outerRadius:a,startAngle:d,endAngle:v,clockWise:!1}}}),ct=(e,t)=>t,tc=(e,t,n)=>n;function h0(e){return e==null?void 0:e.id}function ej(e,t,n){var{chartData:a=[]}=t,{allowDuplicatedCategory:l,dataKey:o}=n,s=new Map;return e.forEach(f=>{var d,v=(d=f.data)!==null&&d!==void 0?d:a;if(!(v==null||v.length===0)){var m=h0(f);v.forEach((y,g)=>{var b=o==null||l?g:String(Fe(y,o,null)),w=Fe(y,f.dataKey,0),O;s.has(b)?O=s.get(b):O={},Object.assign(O,{[m]:w}),s.set(b,O)})}}),Array.from(s.values())}function wd(e){return"stackId"in e&&e.stackId!=null&&e.dataKey!=null}var Ad=(e,t)=>e===t?!0:e==null||t==null?!1:e[0]===t[0]&&e[1]===t[1];function Ed(e,t){return Array.isArray(e)&&Array.isArray(t)&&e.length===0&&t.length===0?!0:e===t}function Nz(e,t){if(e.length===t.length){for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return!1}var qt=e=>{var t=qe(e);return t==="horizontal"?"xAxis":t==="vertical"?"yAxis":t==="centric"?"angleAxis":"radiusAxis"},cu=e=>e.tooltip.settings.axisId;function m0(e){if(e!=null){var t=e.ticks,n=e.bandwidth,a=e.range(),l=[Math.min(...a),Math.max(...a)];return{domain:()=>e.domain(),range:(function(o){function s(){return o.apply(this,arguments)}return s.toString=function(){return o.toString()},s})(()=>l),rangeMin:()=>l[0],rangeMax:()=>l[1],isInRange(o){var s=l[0],f=l[1];return s<=f?o>=s&&o<=f:o>=f&&o<=s},bandwidth:n?()=>n.call(e):void 0,ticks:t?o=>t.call(e,o):void 0,map:(o,s)=>{var f=e(o);if(f!=null){if(e.bandwidth&&s!==null&&s!==void 0&&s.position){var d=e.bandwidth();switch(s.position){case"middle":f+=d/2;break;case"end":f+=d;break}}return f}}}}}var tj=(e,t)=>{if(t!=null)switch(e){case"linear":{if(!_r(t)){for(var n,a,l=0;l<t.length;l++){var o=t[l];Re(o)&&((n===void 0||o<n)&&(n=o),(a===void 0||o>a)&&(a=o))}return n!==void 0&&a!==void 0?[n,a]:void 0}return t}default:return t}};function Ha(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Pz(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function p0(e){let t,n,a;e.length!==2?(t=Ha,n=(f,d)=>Ha(e(f),d),a=(f,d)=>e(f)-d):(t=e===Ha||e===Pz?e:Dz,n=e,a=e);function l(f,d,v=0,m=f.length){if(v<m){if(t(d,d)!==0)return m;do{const y=v+m>>>1;n(f[y],d)<0?v=y+1:m=y}while(v<m)}return v}function o(f,d,v=0,m=f.length){if(v<m){if(t(d,d)!==0)return m;do{const y=v+m>>>1;n(f[y],d)<=0?v=y+1:m=y}while(v<m)}return v}function s(f,d,v=0,m=f.length){const y=l(f,d,v,m-1);return y>v&&a(f[y-1],d)>-a(f[y],d)?y-1:y}return{left:l,center:s,right:o}}function Dz(){return 0}function nj(e){return e===null?NaN:+e}function*kz(e,t){for(let n of e)n!=null&&(n=+n)>=n&&(yield n)}const Rz=p0(Ha),nc=Rz.right;p0(nj).center;class AA extends Map{constructor(t,n=Lz){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),t!=null)for(const[a,l]of t)this.set(a,l)}get(t){return super.get(EA(this,t))}has(t){return super.has(EA(this,t))}set(t,n){return super.set(zz(this,t),n)}delete(t){return super.delete(Iz(this,t))}}function EA({_intern:e,_key:t},n){const a=t(n);return e.has(a)?e.get(a):n}function zz({_intern:e,_key:t},n){const a=t(n);return e.has(a)?e.get(a):(e.set(a,n),n)}function Iz({_intern:e,_key:t},n){const a=t(n);return e.has(a)&&(n=e.get(a),e.delete(a)),n}function Lz(e){return e!==null&&typeof e=="object"?e.valueOf():e}function Bz(e=Ha){if(e===Ha)return rj;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,n)=>{const a=e(t,n);return a||a===0?a:(e(n,n)===0)-(e(t,t)===0)}}function rj(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:e>t?1:0)}const Uz=Math.sqrt(50),qz=Math.sqrt(10),Hz=Math.sqrt(2);function _f(e,t,n){const a=(t-e)/Math.max(0,n),l=Math.floor(Math.log10(a)),o=a/Math.pow(10,l),s=o>=Uz?10:o>=qz?5:o>=Hz?2:1;let f,d,v;return l<0?(v=Math.pow(10,-l)/s,f=Math.round(e*v),d=Math.round(t*v),f/v<e&&++f,d/v>t&&--d,v=-v):(v=Math.pow(10,l)*s,f=Math.round(e/v),d=Math.round(t/v),f*v<e&&++f,d*v>t&&--d),d<f&&.5<=n&&n<2?_f(e,t,n*2):[f,d,v]}function yy(e,t,n){if(t=+t,e=+e,n=+n,!(n>0))return[];if(e===t)return[e];const a=t<e,[l,o,s]=a?_f(t,e,n):_f(e,t,n);if(!(o>=l))return[];const f=o-l+1,d=new Array(f);if(a)if(s<0)for(let v=0;v<f;++v)d[v]=(o-v)/-s;else for(let v=0;v<f;++v)d[v]=(o-v)*s;else if(s<0)for(let v=0;v<f;++v)d[v]=(l+v)/-s;else for(let v=0;v<f;++v)d[v]=(l+v)*s;return d}function gy(e,t,n){return t=+t,e=+e,n=+n,_f(e,t,n)[2]}function by(e,t,n){t=+t,e=+e,n=+n;const a=t<e,l=a?gy(t,e,n):gy(e,t,n);return(a?-1:1)*(l<0?1/-l:l)}function _A(e,t){let n;for(const a of e)a!=null&&(n<a||n===void 0&&a>=a)&&(n=a);return n}function TA(e,t){let n;for(const a of e)a!=null&&(n>a||n===void 0&&a>=a)&&(n=a);return n}function aj(e,t,n=0,a=1/0,l){if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),a=Math.floor(Math.min(e.length-1,a)),!(n<=t&&t<=a))return e;for(l=l===void 0?rj:Bz(l);a>n;){if(a-n>600){const d=a-n+1,v=t-n+1,m=Math.log(d),y=.5*Math.exp(2*m/3),g=.5*Math.sqrt(m*y*(d-y)/d)*(v-d/2<0?-1:1),b=Math.max(n,Math.floor(t-v*y/d+g)),w=Math.min(a,Math.floor(t+(d-v)*y/d+g));aj(e,t,b,w,l)}const o=e[t];let s=n,f=a;for(mo(e,n,t),l(e[a],o)>0&&mo(e,n,a);s<f;){for(mo(e,s,f),++s,--f;l(e[s],o)<0;)++s;for(;l(e[f],o)>0;)--f}l(e[n],o)===0?mo(e,n,f):(++f,mo(e,f,a)),f<=t&&(n=f+1),t<=f&&(a=f-1)}return e}function mo(e,t,n){const a=e[t];e[t]=e[n],e[n]=a}function Gz(e,t,n){if(e=Float64Array.from(kz(e)),!(!(a=e.length)||isNaN(t=+t))){if(t<=0||a<2)return TA(e);if(t>=1)return _A(e);var a,l=(a-1)*t,o=Math.floor(l),s=_A(aj(e,o).subarray(0,o+1)),f=TA(e.subarray(o+1));return s+(f-s)*(l-o)}}function $z(e,t,n=nj){if(!(!(a=e.length)||isNaN(t=+t))){if(t<=0||a<2)return+n(e[0],0,e);if(t>=1)return+n(e[a-1],a-1,e);var a,l=(a-1)*t,o=Math.floor(l),s=+n(e[o],o,e),f=+n(e[o+1],o+1,e);return s+(f-s)*(l-o)}}function Kz(e,t,n){e=+e,t=+t,n=(l=arguments.length)<2?(t=e,e=0,1):l<3?1:+n;for(var a=-1,l=Math.max(0,Math.ceil((t-e)/n))|0,o=new Array(l);++a<l;)o[a]=e+a*n;return o}function nr(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function ca(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 xy=Symbol("implicit");function y0(){var e=new AA,t=[],n=[],a=xy;function l(o){let s=e.get(o);if(s===void 0){if(a!==xy)return a;e.set(o,s=t.push(o)-1)}return n[s%n.length]}return l.domain=function(o){if(!arguments.length)return t.slice();t=[],e=new AA;for(const s of o)e.has(s)||e.set(s,t.push(s)-1);return l},l.range=function(o){return arguments.length?(n=Array.from(o),l):n.slice()},l.unknown=function(o){return arguments.length?(a=o,l):a},l.copy=function(){return y0(t,n).unknown(a)},nr.apply(l,arguments),l}function g0(){var e=y0().unknown(void 0),t=e.domain,n=e.range,a=0,l=1,o,s,f=!1,d=0,v=0,m=.5;delete e.unknown;function y(){var g=t().length,b=l<a,w=b?l:a,O=b?a:l;o=(O-w)/Math.max(1,g-d+v*2),f&&(o=Math.floor(o)),w+=(O-w-o*(g-d))*m,s=o*(1-d),f&&(w=Math.round(w),s=Math.round(s));var A=Kz(g).map(function(E){return w+o*E});return n(b?A.reverse():A)}return e.domain=function(g){return arguments.length?(t(g),y()):t()},e.range=function(g){return arguments.length?([a,l]=g,a=+a,l=+l,y()):[a,l]},e.rangeRound=function(g){return[a,l]=g,a=+a,l=+l,f=!0,y()},e.bandwidth=function(){return s},e.step=function(){return o},e.round=function(g){return arguments.length?(f=!!g,y()):f},e.padding=function(g){return arguments.length?(d=Math.min(1,v=+g),y()):d},e.paddingInner=function(g){return arguments.length?(d=Math.min(1,g),y()):d},e.paddingOuter=function(g){return arguments.length?(v=+g,y()):v},e.align=function(g){return arguments.length?(m=Math.max(0,Math.min(1,g)),y()):m},e.copy=function(){return g0(t(),[a,l]).round(f).paddingInner(d).paddingOuter(v).align(m)},nr.apply(y(),arguments)}function ij(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return ij(t())},e}function Yz(){return ij(g0.apply(null,arguments).paddingInner(1))}function b0(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function lj(e,t){var n=Object.create(e.prototype);for(var a in t)n[a]=t[a];return n}function rc(){}var Uo=.7,Tf=1/Uo,Vl="\\s*([+-]?\\d+)\\s*",qo="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Tr="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Vz=/^#([0-9a-f]{3,8})$/,Xz=new RegExp(`^rgb\\(${Vl},${Vl},${Vl}\\)$`),Zz=new RegExp(`^rgb\\(${Tr},${Tr},${Tr}\\)$`),Fz=new RegExp(`^rgba\\(${Vl},${Vl},${Vl},${qo}\\)$`),Wz=new RegExp(`^rgba\\(${Tr},${Tr},${Tr},${qo}\\)$`),Qz=new RegExp(`^hsl\\(${qo},${Tr},${Tr}\\)$`),Jz=new RegExp(`^hsla\\(${qo},${Tr},${Tr},${qo}\\)$`),jA={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};b0(rc,Ho,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:MA,formatHex:MA,formatHex8:eI,formatHsl:tI,formatRgb:CA,toString:CA});function MA(){return this.rgb().formatHex()}function eI(){return this.rgb().formatHex8()}function tI(){return uj(this).formatHsl()}function CA(){return this.rgb().formatRgb()}function Ho(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=Vz.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?NA(t):n===3?new An(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?Ls(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?Ls(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=Xz.exec(e))?new An(t[1],t[2],t[3],1):(t=Zz.exec(e))?new An(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=Fz.exec(e))?Ls(t[1],t[2],t[3],t[4]):(t=Wz.exec(e))?Ls(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=Qz.exec(e))?kA(t[1],t[2]/100,t[3]/100,1):(t=Jz.exec(e))?kA(t[1],t[2]/100,t[3]/100,t[4]):jA.hasOwnProperty(e)?NA(jA[e]):e==="transparent"?new An(NaN,NaN,NaN,0):null}function NA(e){return new An(e>>16&255,e>>8&255,e&255,1)}function Ls(e,t,n,a){return a<=0&&(e=t=n=NaN),new An(e,t,n,a)}function nI(e){return e instanceof rc||(e=Ho(e)),e?(e=e.rgb(),new An(e.r,e.g,e.b,e.opacity)):new An}function Sy(e,t,n,a){return arguments.length===1?nI(e):new An(e,t,n,a??1)}function An(e,t,n,a){this.r=+e,this.g=+t,this.b=+n,this.opacity=+a}b0(An,Sy,lj(rc,{brighter(e){return e=e==null?Tf:Math.pow(Tf,e),new An(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?Uo:Math.pow(Uo,e),new An(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new An(Ni(this.r),Ni(this.g),Ni(this.b),jf(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:PA,formatHex:PA,formatHex8:rI,formatRgb:DA,toString:DA}));function PA(){return`#${_i(this.r)}${_i(this.g)}${_i(this.b)}`}function rI(){return`#${_i(this.r)}${_i(this.g)}${_i(this.b)}${_i((isNaN(this.opacity)?1:this.opacity)*255)}`}function DA(){const e=jf(this.opacity);return`${e===1?"rgb(":"rgba("}${Ni(this.r)}, ${Ni(this.g)}, ${Ni(this.b)}${e===1?")":`, ${e})`}`}function jf(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Ni(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function _i(e){return e=Ni(e),(e<16?"0":"")+e.toString(16)}function kA(e,t,n,a){return a<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new cr(e,t,n,a)}function uj(e){if(e instanceof cr)return new cr(e.h,e.s,e.l,e.opacity);if(e instanceof rc||(e=Ho(e)),!e)return new cr;if(e instanceof cr)return e;e=e.rgb();var t=e.r/255,n=e.g/255,a=e.b/255,l=Math.min(t,n,a),o=Math.max(t,n,a),s=NaN,f=o-l,d=(o+l)/2;return f?(t===o?s=(n-a)/f+(n<a)*6:n===o?s=(a-t)/f+2:s=(t-n)/f+4,f/=d<.5?o+l:2-o-l,s*=60):f=d>0&&d<1?0:s,new cr(s,f,d,e.opacity)}function aI(e,t,n,a){return arguments.length===1?uj(e):new cr(e,t,n,a??1)}function cr(e,t,n,a){this.h=+e,this.s=+t,this.l=+n,this.opacity=+a}b0(cr,aI,lj(rc,{brighter(e){return e=e==null?Tf:Math.pow(Tf,e),new cr(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Uo:Math.pow(Uo,e),new cr(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,n=this.l,a=n+(n<.5?n:1-n)*t,l=2*n-a;return new An(Ap(e>=240?e-240:e+120,l,a),Ap(e,l,a),Ap(e<120?e+240:e-120,l,a),this.opacity)},clamp(){return new cr(RA(this.h),Bs(this.s),Bs(this.l),jf(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=jf(this.opacity);return`${e===1?"hsl(":"hsla("}${RA(this.h)}, ${Bs(this.s)*100}%, ${Bs(this.l)*100}%${e===1?")":`, ${e})`}`}}));function RA(e){return e=(e||0)%360,e<0?e+360:e}function Bs(e){return Math.max(0,Math.min(1,e||0))}function Ap(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const x0=e=>()=>e;function iI(e,t){return function(n){return e+n*t}}function lI(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(a){return Math.pow(e+a*t,n)}}function uI(e){return(e=+e)==1?oj:function(t,n){return n-t?lI(t,n,e):x0(isNaN(t)?n:t)}}function oj(e,t){var n=t-e;return n?iI(e,n):x0(isNaN(e)?t:e)}const zA=(function e(t){var n=uI(t);function a(l,o){var s=n((l=Sy(l)).r,(o=Sy(o)).r),f=n(l.g,o.g),d=n(l.b,o.b),v=oj(l.opacity,o.opacity);return function(m){return l.r=s(m),l.g=f(m),l.b=d(m),l.opacity=v(m),l+""}}return a.gamma=e,a})(1);function oI(e,t){t||(t=[]);var n=e?Math.min(t.length,e.length):0,a=t.slice(),l;return function(o){for(l=0;l<n;++l)a[l]=e[l]*(1-o)+t[l]*o;return a}}function cI(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function sI(e,t){var n=t?t.length:0,a=e?Math.min(n,e.length):0,l=new Array(a),o=new Array(n),s;for(s=0;s<a;++s)l[s]=su(e[s],t[s]);for(;s<n;++s)o[s]=t[s];return function(f){for(s=0;s<a;++s)o[s]=l[s](f);return o}}function fI(e,t){var n=new Date;return e=+e,t=+t,function(a){return n.setTime(e*(1-a)+t*a),n}}function Mf(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function dI(e,t){var n={},a={},l;(e===null||typeof e!="object")&&(e={}),(t===null||typeof t!="object")&&(t={});for(l in t)l in e?n[l]=su(e[l],t[l]):a[l]=t[l];return function(o){for(l in n)a[l]=n[l](o);return a}}var Oy=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Ep=new RegExp(Oy.source,"g");function vI(e){return function(){return e}}function hI(e){return function(t){return e(t)+""}}function mI(e,t){var n=Oy.lastIndex=Ep.lastIndex=0,a,l,o,s=-1,f=[],d=[];for(e=e+"",t=t+"";(a=Oy.exec(e))&&(l=Ep.exec(t));)(o=l.index)>n&&(o=t.slice(n,o),f[s]?f[s]+=o:f[++s]=o),(a=a[0])===(l=l[0])?f[s]?f[s]+=l:f[++s]=l:(f[++s]=null,d.push({i:s,x:Mf(a,l)})),n=Ep.lastIndex;return n<t.length&&(o=t.slice(n),f[s]?f[s]+=o:f[++s]=o),f.length<2?d[0]?hI(d[0].x):vI(t):(t=d.length,function(v){for(var m=0,y;m<t;++m)f[(y=d[m]).i]=y.x(v);return f.join("")})}function su(e,t){var n=typeof t,a;return t==null||n==="boolean"?x0(t):(n==="number"?Mf:n==="string"?(a=Ho(t))?(t=a,zA):mI:t instanceof Ho?zA:t instanceof Date?fI:cI(t)?oI:Array.isArray(t)?sI:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?dI:Mf)(e,t)}function S0(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function pI(e,t){t===void 0&&(t=e,e=su);for(var n=0,a=t.length-1,l=t[0],o=new Array(a<0?0:a);n<a;)o[n]=e(l,l=t[++n]);return function(s){var f=Math.max(0,Math.min(a-1,Math.floor(s*=a)));return o[f](s-f)}}function yI(e){return function(){return e}}function Cf(e){return+e}var IA=[0,1];function fn(e){return e}function wy(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:yI(isNaN(t)?NaN:.5)}function gI(e,t){var n;return e>t&&(n=e,e=t,t=n),function(a){return Math.max(e,Math.min(t,a))}}function bI(e,t,n){var a=e[0],l=e[1],o=t[0],s=t[1];return l<a?(a=wy(l,a),o=n(s,o)):(a=wy(a,l),o=n(o,s)),function(f){return o(a(f))}}function xI(e,t,n){var a=Math.min(e.length,t.length)-1,l=new Array(a),o=new Array(a),s=-1;for(e[a]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++s<a;)l[s]=wy(e[s],e[s+1]),o[s]=n(t[s],t[s+1]);return function(f){var d=nc(e,f,1,a)-1;return o[d](l[d](f))}}function ac(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function _d(){var e=IA,t=IA,n=su,a,l,o,s=fn,f,d,v;function m(){var g=Math.min(e.length,t.length);return s!==fn&&(s=gI(e[0],e[g-1])),f=g>2?xI:bI,d=v=null,y}function y(g){return g==null||isNaN(g=+g)?o:(d||(d=f(e.map(a),t,n)))(a(s(g)))}return y.invert=function(g){return s(l((v||(v=f(t,e.map(a),Mf)))(g)))},y.domain=function(g){return arguments.length?(e=Array.from(g,Cf),m()):e.slice()},y.range=function(g){return arguments.length?(t=Array.from(g),m()):t.slice()},y.rangeRound=function(g){return t=Array.from(g),n=S0,m()},y.clamp=function(g){return arguments.length?(s=g?!0:fn,m()):s!==fn},y.interpolate=function(g){return arguments.length?(n=g,m()):n},y.unknown=function(g){return arguments.length?(o=g,y):o},function(g,b){return a=g,l=b,m()}}function O0(){return _d()(fn,fn)}function SI(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function Nf(e,t){if(!isFinite(e)||e===0)return null;var n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"),a=e.slice(0,n);return[a.length>1?a[0]+a.slice(2):a,+e.slice(n+1)]}function Wl(e){return e=Nf(Math.abs(e)),e?e[1]:NaN}function OI(e,t){return function(n,a){for(var l=n.length,o=[],s=0,f=e[0],d=0;l>0&&f>0&&(d+f+1>a&&(f=Math.max(1,a-d)),o.push(n.substring(l-=f,l+f)),!((d+=f+1)>a));)f=e[s=(s+1)%e.length];return o.reverse().join(t)}}function wI(e){return function(t){return t.replace(/[0-9]/g,function(n){return e[+n]})}}var AI=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Go(e){if(!(t=AI.exec(e)))throw new Error("invalid format: "+e);var t;return new w0({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]})}Go.prototype=w0.prototype;function w0(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+""}w0.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 EI(e){e:for(var t=e.length,n=1,a=-1,l;n<t;++n)switch(e[n]){case".":a=l=n;break;case"0":a===0&&(a=n),l=n;break;default:if(!+e[n])break e;a>0&&(a=0);break}return a>0?e.slice(0,a)+e.slice(l+1):e}var Pf;function _I(e,t){var n=Nf(e,t);if(!n)return Pf=void 0,e.toPrecision(t);var a=n[0],l=n[1],o=l-(Pf=Math.max(-8,Math.min(8,Math.floor(l/3)))*3)+1,s=a.length;return o===s?a:o>s?a+new Array(o-s+1).join("0"):o>0?a.slice(0,o)+"."+a.slice(o):"0."+new Array(1-o).join("0")+Nf(e,Math.max(0,t+o-1))[0]}function LA(e,t){var n=Nf(e,t);if(!n)return e+"";var a=n[0],l=n[1];return l<0?"0."+new Array(-l).join("0")+a:a.length>l+1?a.slice(0,l+1)+"."+a.slice(l+1):a+new Array(l-a.length+2).join("0")}const BA={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:SI,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)=>LA(e*100,t),r:LA,s:_I,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function UA(e){return e}var qA=Array.prototype.map,HA=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function TI(e){var t=e.grouping===void 0||e.thousands===void 0?UA:OI(qA.call(e.grouping,Number),e.thousands+""),n=e.currency===void 0?"":e.currency[0]+"",a=e.currency===void 0?"":e.currency[1]+"",l=e.decimal===void 0?".":e.decimal+"",o=e.numerals===void 0?UA:wI(qA.call(e.numerals,String)),s=e.percent===void 0?"%":e.percent+"",f=e.minus===void 0?"−":e.minus+"",d=e.nan===void 0?"NaN":e.nan+"";function v(y,g){y=Go(y);var b=y.fill,w=y.align,O=y.sign,A=y.symbol,E=y.zero,j=y.width,M=y.comma,N=y.precision,D=y.trim,C=y.type;C==="n"?(M=!0,C="g"):BA[C]||(N===void 0&&(N=12),D=!0,C="g"),(E||b==="0"&&w==="=")&&(E=!0,b="0",w="=");var z=(g&&g.prefix!==void 0?g.prefix:"")+(A==="$"?n:A==="#"&&/[boxX]/.test(C)?"0"+C.toLowerCase():""),G=(A==="$"?a:/[%p]/.test(C)?s:"")+(g&&g.suffix!==void 0?g.suffix:""),V=BA[C],Q=/[defgprs%]/.test(C);N=N===void 0?6:/[gprs]/.test(C)?Math.max(1,Math.min(21,N)):Math.max(0,Math.min(20,N));function J($){var ge=z,oe=G,me,B,Z;if(C==="c")oe=V($)+oe,$="";else{$=+$;var ie=$<0||1/$<0;if($=isNaN($)?d:V(Math.abs($),N),D&&($=EI($)),ie&&+$==0&&O!=="+"&&(ie=!1),ge=(ie?O==="("?O:f:O==="-"||O==="("?"":O)+ge,oe=(C==="s"&&!isNaN($)&&Pf!==void 0?HA[8+Pf/3]:"")+oe+(ie&&O==="("?")":""),Q){for(me=-1,B=$.length;++me<B;)if(Z=$.charCodeAt(me),48>Z||Z>57){oe=(Z===46?l+$.slice(me+1):$.slice(me))+oe,$=$.slice(0,me);break}}}M&&!E&&($=t($,1/0));var se=ge.length+$.length+oe.length,ve=se<j?new Array(j-se+1).join(b):"";switch(M&&E&&($=t(ve+$,ve.length?j-oe.length:1/0),ve=""),w){case"<":$=ge+$+oe+ve;break;case"=":$=ge+ve+$+oe;break;case"^":$=ve.slice(0,se=ve.length>>1)+ge+$+oe+ve.slice(se);break;default:$=ve+ge+$+oe;break}return o($)}return J.toString=function(){return y+""},J}function m(y,g){var b=Math.max(-8,Math.min(8,Math.floor(Wl(g)/3)))*3,w=Math.pow(10,-b),O=v((y=Go(y),y.type="f",y),{suffix:HA[8+b/3]});return function(A){return O(w*A)}}return{format:v,formatPrefix:m}}var Us,A0,cj;jI({thousands:",",grouping:[3],currency:["$",""]});function jI(e){return Us=TI(e),A0=Us.format,cj=Us.formatPrefix,Us}function MI(e){return Math.max(0,-Wl(Math.abs(e)))}function CI(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Wl(t)/3)))*3-Wl(Math.abs(e)))}function NI(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Wl(t)-Wl(e))+1}function sj(e,t,n,a){var l=by(e,t,n),o;switch(a=Go(a??",f"),a.type){case"s":{var s=Math.max(Math.abs(e),Math.abs(t));return a.precision==null&&!isNaN(o=CI(l,s))&&(a.precision=o),cj(a,s)}case"":case"e":case"g":case"p":case"r":{a.precision==null&&!isNaN(o=NI(l,Math.max(Math.abs(e),Math.abs(t))))&&(a.precision=o-(a.type==="e"));break}case"f":case"%":{a.precision==null&&!isNaN(o=MI(l))&&(a.precision=o-(a.type==="%")*2);break}}return A0(a)}function Xa(e){var t=e.domain;return e.ticks=function(n){var a=t();return yy(a[0],a[a.length-1],n??10)},e.tickFormat=function(n,a){var l=t();return sj(l[0],l[l.length-1],n??10,a)},e.nice=function(n){n==null&&(n=10);var a=t(),l=0,o=a.length-1,s=a[l],f=a[o],d,v,m=10;for(f<s&&(v=s,s=f,f=v,v=l,l=o,o=v);m-- >0;){if(v=gy(s,f,n),v===d)return a[l]=s,a[o]=f,t(a);if(v>0)s=Math.floor(s/v)*v,f=Math.ceil(f/v)*v;else if(v<0)s=Math.ceil(s*v)/v,f=Math.floor(f*v)/v;else break;d=v}return e},e}function fj(){var e=O0();return e.copy=function(){return ac(e,fj())},nr.apply(e,arguments),Xa(e)}function dj(e){var t;function n(a){return a==null||isNaN(a=+a)?t:a}return n.invert=n,n.domain=n.range=function(a){return arguments.length?(e=Array.from(a,Cf),n):e.slice()},n.unknown=function(a){return arguments.length?(t=a,n):t},n.copy=function(){return dj(e).unknown(t)},e=arguments.length?Array.from(e,Cf):[0,1],Xa(n)}function vj(e,t){e=e.slice();var n=0,a=e.length-1,l=e[n],o=e[a],s;return o<l&&(s=n,n=a,a=s,s=l,l=o,o=s),e[n]=t.floor(l),e[a]=t.ceil(o),e}function GA(e){return Math.log(e)}function $A(e){return Math.exp(e)}function PI(e){return-Math.log(-e)}function DI(e){return-Math.exp(-e)}function kI(e){return isFinite(e)?+("1e"+e):e<0?0:e}function RI(e){return e===10?kI:e===Math.E?Math.exp:t=>Math.pow(e,t)}function zI(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 KA(e){return(t,n)=>-e(-t,n)}function E0(e){const t=e(GA,$A),n=t.domain;let a=10,l,o;function s(){return l=zI(a),o=RI(a),n()[0]<0?(l=KA(l),o=KA(o),e(PI,DI)):e(GA,$A),t}return t.base=function(f){return arguments.length?(a=+f,s()):a},t.domain=function(f){return arguments.length?(n(f),s()):n()},t.ticks=f=>{const d=n();let v=d[0],m=d[d.length-1];const y=m<v;y&&([v,m]=[m,v]);let g=l(v),b=l(m),w,O;const A=f==null?10:+f;let E=[];if(!(a%1)&&b-g<A){if(g=Math.floor(g),b=Math.ceil(b),v>0){for(;g<=b;++g)for(w=1;w<a;++w)if(O=g<0?w/o(-g):w*o(g),!(O<v)){if(O>m)break;E.push(O)}}else for(;g<=b;++g)for(w=a-1;w>=1;--w)if(O=g>0?w/o(-g):w*o(g),!(O<v)){if(O>m)break;E.push(O)}E.length*2<A&&(E=yy(v,m,A))}else E=yy(g,b,Math.min(b-g,A)).map(o);return y?E.reverse():E},t.tickFormat=(f,d)=>{if(f==null&&(f=10),d==null&&(d=a===10?"s":","),typeof d!="function"&&(!(a%1)&&(d=Go(d)).precision==null&&(d.trim=!0),d=A0(d)),f===1/0)return d;const v=Math.max(1,a*f/t.ticks().length);return m=>{let y=m/o(Math.round(l(m)));return y*a<a-.5&&(y*=a),y<=v?d(m):""}},t.nice=()=>n(vj(n(),{floor:f=>o(Math.floor(l(f))),ceil:f=>o(Math.ceil(l(f)))})),t}function hj(){const e=E0(_d()).domain([1,10]);return e.copy=()=>ac(e,hj()).base(e.base()),nr.apply(e,arguments),e}function YA(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function VA(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function _0(e){var t=1,n=e(YA(t),VA(t));return n.constant=function(a){return arguments.length?e(YA(t=+a),VA(t)):t},Xa(n)}function mj(){var e=_0(_d());return e.copy=function(){return ac(e,mj()).constant(e.constant())},nr.apply(e,arguments)}function XA(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function II(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function LI(e){return e<0?-e*e:e*e}function T0(e){var t=e(fn,fn),n=1;function a(){return n===1?e(fn,fn):n===.5?e(II,LI):e(XA(n),XA(1/n))}return t.exponent=function(l){return arguments.length?(n=+l,a()):n},Xa(t)}function j0(){var e=T0(_d());return e.copy=function(){return ac(e,j0()).exponent(e.exponent())},nr.apply(e,arguments),e}function BI(){return j0.apply(null,arguments).exponent(.5)}function ZA(e){return Math.sign(e)*e*e}function UI(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function pj(){var e=O0(),t=[0,1],n=!1,a;function l(o){var s=UI(e(o));return isNaN(s)?a:n?Math.round(s):s}return l.invert=function(o){return e.invert(ZA(o))},l.domain=function(o){return arguments.length?(e.domain(o),l):e.domain()},l.range=function(o){return arguments.length?(e.range((t=Array.from(o,Cf)).map(ZA)),l):t.slice()},l.rangeRound=function(o){return l.range(o).round(!0)},l.round=function(o){return arguments.length?(n=!!o,l):n},l.clamp=function(o){return arguments.length?(e.clamp(o),l):e.clamp()},l.unknown=function(o){return arguments.length?(a=o,l):a},l.copy=function(){return pj(e.domain(),t).round(n).clamp(e.clamp()).unknown(a)},nr.apply(l,arguments),Xa(l)}function yj(){var e=[],t=[],n=[],a;function l(){var s=0,f=Math.max(1,t.length);for(n=new Array(f-1);++s<f;)n[s-1]=$z(e,s/f);return o}function o(s){return s==null||isNaN(s=+s)?a:t[nc(n,s)]}return o.invertExtent=function(s){var f=t.indexOf(s);return f<0?[NaN,NaN]:[f>0?n[f-1]:e[0],f<n.length?n[f]:e[e.length-1]]},o.domain=function(s){if(!arguments.length)return e.slice();e=[];for(let f of s)f!=null&&!isNaN(f=+f)&&e.push(f);return e.sort(Ha),l()},o.range=function(s){return arguments.length?(t=Array.from(s),l()):t.slice()},o.unknown=function(s){return arguments.length?(a=s,o):a},o.quantiles=function(){return n.slice()},o.copy=function(){return yj().domain(e).range(t).unknown(a)},nr.apply(o,arguments)}function gj(){var e=0,t=1,n=1,a=[.5],l=[0,1],o;function s(d){return d!=null&&d<=d?l[nc(a,d,0,n)]:o}function f(){var d=-1;for(a=new Array(n);++d<n;)a[d]=((d+1)*t-(d-n)*e)/(n+1);return s}return s.domain=function(d){return arguments.length?([e,t]=d,e=+e,t=+t,f()):[e,t]},s.range=function(d){return arguments.length?(n=(l=Array.from(d)).length-1,f()):l.slice()},s.invertExtent=function(d){var v=l.indexOf(d);return v<0?[NaN,NaN]:v<1?[e,a[0]]:v>=n?[a[n-1],t]:[a[v-1],a[v]]},s.unknown=function(d){return arguments.length&&(o=d),s},s.thresholds=function(){return a.slice()},s.copy=function(){return gj().domain([e,t]).range(l).unknown(o)},nr.apply(Xa(s),arguments)}function bj(){var e=[.5],t=[0,1],n,a=1;function l(o){return o!=null&&o<=o?t[nc(e,o,0,a)]:n}return l.domain=function(o){return arguments.length?(e=Array.from(o),a=Math.min(e.length,t.length-1),l):e.slice()},l.range=function(o){return arguments.length?(t=Array.from(o),a=Math.min(e.length,t.length-1),l):t.slice()},l.invertExtent=function(o){var s=t.indexOf(o);return[e[s-1],e[s]]},l.unknown=function(o){return arguments.length?(n=o,l):n},l.copy=function(){return bj().domain(e).range(t).unknown(n)},nr.apply(l,arguments)}const _p=new Date,Tp=new Date;function kt(e,t,n,a){function l(o){return e(o=arguments.length===0?new Date:new Date(+o)),o}return l.floor=o=>(e(o=new Date(+o)),o),l.ceil=o=>(e(o=new Date(o-1)),t(o,1),e(o),o),l.round=o=>{const s=l(o),f=l.ceil(o);return o-s<f-o?s:f},l.offset=(o,s)=>(t(o=new Date(+o),s==null?1:Math.floor(s)),o),l.range=(o,s,f)=>{const d=[];if(o=l.ceil(o),f=f==null?1:Math.floor(f),!(o<s)||!(f>0))return d;let v;do d.push(v=new Date(+o)),t(o,f),e(o);while(v<o&&o<s);return d},l.filter=o=>kt(s=>{if(s>=s)for(;e(s),!o(s);)s.setTime(s-1)},(s,f)=>{if(s>=s)if(f<0)for(;++f<=0;)for(;t(s,-1),!o(s););else for(;--f>=0;)for(;t(s,1),!o(s););}),n&&(l.count=(o,s)=>(_p.setTime(+o),Tp.setTime(+s),e(_p),e(Tp),Math.floor(n(_p,Tp))),l.every=o=>(o=Math.floor(o),!isFinite(o)||!(o>0)?null:o>1?l.filter(a?s=>a(s)%o===0:s=>l.count(0,s)%o===0):l)),l}const Df=kt(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);Df.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?kt(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):Df);Df.range;const Jr=1e3,Jn=Jr*60,ea=Jn*60,aa=ea*24,M0=aa*7,FA=aa*30,jp=aa*365,Ti=kt(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*Jr)},(e,t)=>(t-e)/Jr,e=>e.getUTCSeconds());Ti.range;const C0=kt(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Jr)},(e,t)=>{e.setTime(+e+t*Jn)},(e,t)=>(t-e)/Jn,e=>e.getMinutes());C0.range;const N0=kt(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*Jn)},(e,t)=>(t-e)/Jn,e=>e.getUTCMinutes());N0.range;const P0=kt(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Jr-e.getMinutes()*Jn)},(e,t)=>{e.setTime(+e+t*ea)},(e,t)=>(t-e)/ea,e=>e.getHours());P0.range;const D0=kt(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*ea)},(e,t)=>(t-e)/ea,e=>e.getUTCHours());D0.range;const ic=kt(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Jn)/aa,e=>e.getDate()-1);ic.range;const Td=kt(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/aa,e=>e.getUTCDate()-1);Td.range;const xj=kt(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/aa,e=>Math.floor(e/aa));xj.range;function Hi(e){return kt(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,n)=>{t.setDate(t.getDate()+n*7)},(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Jn)/M0)}const jd=Hi(0),kf=Hi(1),qI=Hi(2),HI=Hi(3),Ql=Hi(4),GI=Hi(5),$I=Hi(6);jd.range;kf.range;qI.range;HI.range;Ql.range;GI.range;$I.range;function Gi(e){return kt(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n*7)},(t,n)=>(n-t)/M0)}const Md=Gi(0),Rf=Gi(1),KI=Gi(2),YI=Gi(3),Jl=Gi(4),VI=Gi(5),XI=Gi(6);Md.range;Rf.range;KI.range;YI.range;Jl.range;VI.range;XI.range;const k0=kt(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());k0.range;const R0=kt(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());R0.range;const ia=kt(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());ia.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:kt(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)});ia.range;const la=kt(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());la.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:kt(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)});la.range;function Sj(e,t,n,a,l,o){const s=[[Ti,1,Jr],[Ti,5,5*Jr],[Ti,15,15*Jr],[Ti,30,30*Jr],[o,1,Jn],[o,5,5*Jn],[o,15,15*Jn],[o,30,30*Jn],[l,1,ea],[l,3,3*ea],[l,6,6*ea],[l,12,12*ea],[a,1,aa],[a,2,2*aa],[n,1,M0],[t,1,FA],[t,3,3*FA],[e,1,jp]];function f(v,m,y){const g=m<v;g&&([v,m]=[m,v]);const b=y&&typeof y.range=="function"?y:d(v,m,y),w=b?b.range(v,+m+1):[];return g?w.reverse():w}function d(v,m,y){const g=Math.abs(m-v)/y,b=p0(([,,A])=>A).right(s,g);if(b===s.length)return e.every(by(v/jp,m/jp,y));if(b===0)return Df.every(Math.max(by(v,m,y),1));const[w,O]=s[g/s[b-1][2]<s[b][2]/g?b-1:b];return w.every(O)}return[f,d]}const[ZI,FI]=Sj(la,R0,Md,xj,D0,N0),[WI,QI]=Sj(ia,k0,jd,ic,P0,C0);function Mp(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 Cp(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 po(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function JI(e){var t=e.dateTime,n=e.date,a=e.time,l=e.periods,o=e.days,s=e.shortDays,f=e.months,d=e.shortMonths,v=yo(l),m=go(l),y=yo(o),g=go(o),b=yo(s),w=go(s),O=yo(f),A=go(f),E=yo(d),j=go(d),M={a:Z,A:ie,b:se,B:ve,c:null,d:nE,e:nE,f:OL,g:PL,G:kL,H:bL,I:xL,j:SL,L:Oj,m:wL,M:AL,p:k,q:K,Q:iE,s:lE,S:EL,u:_L,U:TL,V:jL,w:ML,W:CL,x:null,X:null,y:NL,Y:DL,Z:RL,"%":aE},N={a:ae,A:ue,b:be,B:Oe,c:null,d:rE,e:rE,f:BL,g:ZL,G:WL,H:zL,I:IL,j:LL,L:Aj,m:UL,M:qL,p:te,q:ze,Q:iE,s:lE,S:HL,u:GL,U:$L,V:KL,w:YL,W:VL,x:null,X:null,y:XL,Y:FL,Z:QL,"%":aE},D={a:Q,A:J,b:$,B:ge,c:oe,d:eE,e:eE,f:mL,g:JA,G:QA,H:tE,I:tE,j:fL,L:hL,m:sL,M:dL,p:V,q:cL,Q:yL,s:gL,S:vL,u:aL,U:iL,V:lL,w:rL,W:uL,x:me,X:B,y:JA,Y:QA,Z:oL,"%":pL};M.x=C(n,M),M.X=C(a,M),M.c=C(t,M),N.x=C(n,N),N.X=C(a,N),N.c=C(t,N);function C(ne,le){return function(Te){var re=[],pt=-1,je=0,Et=ne.length,zt,rr,Vi;for(Te instanceof Date||(Te=new Date(+Te));++pt<Et;)ne.charCodeAt(pt)===37&&(re.push(ne.slice(je,pt)),(rr=WA[zt=ne.charAt(++pt)])!=null?zt=ne.charAt(++pt):rr=zt==="e"?" ":"0",(Vi=le[zt])&&(zt=Vi(Te,rr)),re.push(zt),je=pt+1);return re.push(ne.slice(je,pt)),re.join("")}}function z(ne,le){return function(Te){var re=po(1900,void 0,1),pt=G(re,ne,Te+="",0),je,Et;if(pt!=Te.length)return null;if("Q"in re)return new Date(re.Q);if("s"in re)return new Date(re.s*1e3+("L"in re?re.L:0));if(le&&!("Z"in re)&&(re.Z=0),"p"in re&&(re.H=re.H%12+re.p*12),re.m===void 0&&(re.m="q"in re?re.q:0),"V"in re){if(re.V<1||re.V>53)return null;"w"in re||(re.w=1),"Z"in re?(je=Cp(po(re.y,0,1)),Et=je.getUTCDay(),je=Et>4||Et===0?Rf.ceil(je):Rf(je),je=Td.offset(je,(re.V-1)*7),re.y=je.getUTCFullYear(),re.m=je.getUTCMonth(),re.d=je.getUTCDate()+(re.w+6)%7):(je=Mp(po(re.y,0,1)),Et=je.getDay(),je=Et>4||Et===0?kf.ceil(je):kf(je),je=ic.offset(je,(re.V-1)*7),re.y=je.getFullYear(),re.m=je.getMonth(),re.d=je.getDate()+(re.w+6)%7)}else("W"in re||"U"in re)&&("w"in re||(re.w="u"in re?re.u%7:"W"in re?1:0),Et="Z"in re?Cp(po(re.y,0,1)).getUTCDay():Mp(po(re.y,0,1)).getDay(),re.m=0,re.d="W"in re?(re.w+6)%7+re.W*7-(Et+5)%7:re.w+re.U*7-(Et+6)%7);return"Z"in re?(re.H+=re.Z/100|0,re.M+=re.Z%100,Cp(re)):Mp(re)}}function G(ne,le,Te,re){for(var pt=0,je=le.length,Et=Te.length,zt,rr;pt<je;){if(re>=Et)return-1;if(zt=le.charCodeAt(pt++),zt===37){if(zt=le.charAt(pt++),rr=D[zt in WA?le.charAt(pt++):zt],!rr||(re=rr(ne,Te,re))<0)return-1}else if(zt!=Te.charCodeAt(re++))return-1}return re}function V(ne,le,Te){var re=v.exec(le.slice(Te));return re?(ne.p=m.get(re[0].toLowerCase()),Te+re[0].length):-1}function Q(ne,le,Te){var re=b.exec(le.slice(Te));return re?(ne.w=w.get(re[0].toLowerCase()),Te+re[0].length):-1}function J(ne,le,Te){var re=y.exec(le.slice(Te));return re?(ne.w=g.get(re[0].toLowerCase()),Te+re[0].length):-1}function $(ne,le,Te){var re=E.exec(le.slice(Te));return re?(ne.m=j.get(re[0].toLowerCase()),Te+re[0].length):-1}function ge(ne,le,Te){var re=O.exec(le.slice(Te));return re?(ne.m=A.get(re[0].toLowerCase()),Te+re[0].length):-1}function oe(ne,le,Te){return G(ne,t,le,Te)}function me(ne,le,Te){return G(ne,n,le,Te)}function B(ne,le,Te){return G(ne,a,le,Te)}function Z(ne){return s[ne.getDay()]}function ie(ne){return o[ne.getDay()]}function se(ne){return d[ne.getMonth()]}function ve(ne){return f[ne.getMonth()]}function k(ne){return l[+(ne.getHours()>=12)]}function K(ne){return 1+~~(ne.getMonth()/3)}function ae(ne){return s[ne.getUTCDay()]}function ue(ne){return o[ne.getUTCDay()]}function be(ne){return d[ne.getUTCMonth()]}function Oe(ne){return f[ne.getUTCMonth()]}function te(ne){return l[+(ne.getUTCHours()>=12)]}function ze(ne){return 1+~~(ne.getUTCMonth()/3)}return{format:function(ne){var le=C(ne+="",M);return le.toString=function(){return ne},le},parse:function(ne){var le=z(ne+="",!1);return le.toString=function(){return ne},le},utcFormat:function(ne){var le=C(ne+="",N);return le.toString=function(){return ne},le},utcParse:function(ne){var le=z(ne+="",!0);return le.toString=function(){return ne},le}}}var WA={"-":"",_:" ",0:"0"},Ht=/^\s*\d+/,eL=/^%/,tL=/[\\^$*+?|[\]().{}]/g;function Be(e,t,n){var a=e<0?"-":"",l=(a?-e:e)+"",o=l.length;return a+(o<n?new Array(n-o+1).join(t)+l:l)}function nL(e){return e.replace(tL,"\\$&")}function yo(e){return new RegExp("^(?:"+e.map(nL).join("|")+")","i")}function go(e){return new Map(e.map((t,n)=>[t.toLowerCase(),n]))}function rL(e,t,n){var a=Ht.exec(t.slice(n,n+1));return a?(e.w=+a[0],n+a[0].length):-1}function aL(e,t,n){var a=Ht.exec(t.slice(n,n+1));return a?(e.u=+a[0],n+a[0].length):-1}function iL(e,t,n){var a=Ht.exec(t.slice(n,n+2));return a?(e.U=+a[0],n+a[0].length):-1}function lL(e,t,n){var a=Ht.exec(t.slice(n,n+2));return a?(e.V=+a[0],n+a[0].length):-1}function uL(e,t,n){var a=Ht.exec(t.slice(n,n+2));return a?(e.W=+a[0],n+a[0].length):-1}function QA(e,t,n){var a=Ht.exec(t.slice(n,n+4));return a?(e.y=+a[0],n+a[0].length):-1}function JA(e,t,n){var a=Ht.exec(t.slice(n,n+2));return a?(e.y=+a[0]+(+a[0]>68?1900:2e3),n+a[0].length):-1}function oL(e,t,n){var a=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return a?(e.Z=a[1]?0:-(a[2]+(a[3]||"00")),n+a[0].length):-1}function cL(e,t,n){var a=Ht.exec(t.slice(n,n+1));return a?(e.q=a[0]*3-3,n+a[0].length):-1}function sL(e,t,n){var a=Ht.exec(t.slice(n,n+2));return a?(e.m=a[0]-1,n+a[0].length):-1}function eE(e,t,n){var a=Ht.exec(t.slice(n,n+2));return a?(e.d=+a[0],n+a[0].length):-1}function fL(e,t,n){var a=Ht.exec(t.slice(n,n+3));return a?(e.m=0,e.d=+a[0],n+a[0].length):-1}function tE(e,t,n){var a=Ht.exec(t.slice(n,n+2));return a?(e.H=+a[0],n+a[0].length):-1}function dL(e,t,n){var a=Ht.exec(t.slice(n,n+2));return a?(e.M=+a[0],n+a[0].length):-1}function vL(e,t,n){var a=Ht.exec(t.slice(n,n+2));return a?(e.S=+a[0],n+a[0].length):-1}function hL(e,t,n){var a=Ht.exec(t.slice(n,n+3));return a?(e.L=+a[0],n+a[0].length):-1}function mL(e,t,n){var a=Ht.exec(t.slice(n,n+6));return a?(e.L=Math.floor(a[0]/1e3),n+a[0].length):-1}function pL(e,t,n){var a=eL.exec(t.slice(n,n+1));return a?n+a[0].length:-1}function yL(e,t,n){var a=Ht.exec(t.slice(n));return a?(e.Q=+a[0],n+a[0].length):-1}function gL(e,t,n){var a=Ht.exec(t.slice(n));return a?(e.s=+a[0],n+a[0].length):-1}function nE(e,t){return Be(e.getDate(),t,2)}function bL(e,t){return Be(e.getHours(),t,2)}function xL(e,t){return Be(e.getHours()%12||12,t,2)}function SL(e,t){return Be(1+ic.count(ia(e),e),t,3)}function Oj(e,t){return Be(e.getMilliseconds(),t,3)}function OL(e,t){return Oj(e,t)+"000"}function wL(e,t){return Be(e.getMonth()+1,t,2)}function AL(e,t){return Be(e.getMinutes(),t,2)}function EL(e,t){return Be(e.getSeconds(),t,2)}function _L(e){var t=e.getDay();return t===0?7:t}function TL(e,t){return Be(jd.count(ia(e)-1,e),t,2)}function wj(e){var t=e.getDay();return t>=4||t===0?Ql(e):Ql.ceil(e)}function jL(e,t){return e=wj(e),Be(Ql.count(ia(e),e)+(ia(e).getDay()===4),t,2)}function ML(e){return e.getDay()}function CL(e,t){return Be(kf.count(ia(e)-1,e),t,2)}function NL(e,t){return Be(e.getFullYear()%100,t,2)}function PL(e,t){return e=wj(e),Be(e.getFullYear()%100,t,2)}function DL(e,t){return Be(e.getFullYear()%1e4,t,4)}function kL(e,t){var n=e.getDay();return e=n>=4||n===0?Ql(e):Ql.ceil(e),Be(e.getFullYear()%1e4,t,4)}function RL(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Be(t/60|0,"0",2)+Be(t%60,"0",2)}function rE(e,t){return Be(e.getUTCDate(),t,2)}function zL(e,t){return Be(e.getUTCHours(),t,2)}function IL(e,t){return Be(e.getUTCHours()%12||12,t,2)}function LL(e,t){return Be(1+Td.count(la(e),e),t,3)}function Aj(e,t){return Be(e.getUTCMilliseconds(),t,3)}function BL(e,t){return Aj(e,t)+"000"}function UL(e,t){return Be(e.getUTCMonth()+1,t,2)}function qL(e,t){return Be(e.getUTCMinutes(),t,2)}function HL(e,t){return Be(e.getUTCSeconds(),t,2)}function GL(e){var t=e.getUTCDay();return t===0?7:t}function $L(e,t){return Be(Md.count(la(e)-1,e),t,2)}function Ej(e){var t=e.getUTCDay();return t>=4||t===0?Jl(e):Jl.ceil(e)}function KL(e,t){return e=Ej(e),Be(Jl.count(la(e),e)+(la(e).getUTCDay()===4),t,2)}function YL(e){return e.getUTCDay()}function VL(e,t){return Be(Rf.count(la(e)-1,e),t,2)}function XL(e,t){return Be(e.getUTCFullYear()%100,t,2)}function ZL(e,t){return e=Ej(e),Be(e.getUTCFullYear()%100,t,2)}function FL(e,t){return Be(e.getUTCFullYear()%1e4,t,4)}function WL(e,t){var n=e.getUTCDay();return e=n>=4||n===0?Jl(e):Jl.ceil(e),Be(e.getUTCFullYear()%1e4,t,4)}function QL(){return"+0000"}function aE(){return"%"}function iE(e){return+e}function lE(e){return Math.floor(+e/1e3)}var Ll,_j,Tj;JL({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 JL(e){return Ll=JI(e),_j=Ll.format,Ll.parse,Tj=Ll.utcFormat,Ll.utcParse,Ll}function e8(e){return new Date(e)}function t8(e){return e instanceof Date?+e:+new Date(+e)}function z0(e,t,n,a,l,o,s,f,d,v){var m=O0(),y=m.invert,g=m.domain,b=v(".%L"),w=v(":%S"),O=v("%I:%M"),A=v("%I %p"),E=v("%a %d"),j=v("%b %d"),M=v("%B"),N=v("%Y");function D(C){return(d(C)<C?b:f(C)<C?w:s(C)<C?O:o(C)<C?A:a(C)<C?l(C)<C?E:j:n(C)<C?M:N)(C)}return m.invert=function(C){return new Date(y(C))},m.domain=function(C){return arguments.length?g(Array.from(C,t8)):g().map(e8)},m.ticks=function(C){var z=g();return e(z[0],z[z.length-1],C??10)},m.tickFormat=function(C,z){return z==null?D:v(z)},m.nice=function(C){var z=g();return(!C||typeof C.range!="function")&&(C=t(z[0],z[z.length-1],C??10)),C?g(vj(z,C)):m},m.copy=function(){return ac(m,z0(e,t,n,a,l,o,s,f,d,v))},m}function n8(){return nr.apply(z0(WI,QI,ia,k0,jd,ic,P0,C0,Ti,_j).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function r8(){return nr.apply(z0(ZI,FI,la,R0,Md,Td,D0,N0,Ti,Tj).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function Cd(){var e=0,t=1,n,a,l,o,s=fn,f=!1,d;function v(y){return y==null||isNaN(y=+y)?d:s(l===0?.5:(y=(o(y)-n)*l,f?Math.max(0,Math.min(1,y)):y))}v.domain=function(y){return arguments.length?([e,t]=y,n=o(e=+e),a=o(t=+t),l=n===a?0:1/(a-n),v):[e,t]},v.clamp=function(y){return arguments.length?(f=!!y,v):f},v.interpolator=function(y){return arguments.length?(s=y,v):s};function m(y){return function(g){var b,w;return arguments.length?([b,w]=g,s=y(b,w),v):[s(0),s(1)]}}return v.range=m(su),v.rangeRound=m(S0),v.unknown=function(y){return arguments.length?(d=y,v):d},function(y){return o=y,n=y(e),a=y(t),l=n===a?0:1/(a-n),v}}function Za(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function jj(){var e=Xa(Cd()(fn));return e.copy=function(){return Za(e,jj())},ca.apply(e,arguments)}function Mj(){var e=E0(Cd()).domain([1,10]);return e.copy=function(){return Za(e,Mj()).base(e.base())},ca.apply(e,arguments)}function Cj(){var e=_0(Cd());return e.copy=function(){return Za(e,Cj()).constant(e.constant())},ca.apply(e,arguments)}function I0(){var e=T0(Cd());return e.copy=function(){return Za(e,I0()).exponent(e.exponent())},ca.apply(e,arguments)}function a8(){return I0.apply(null,arguments).exponent(.5)}function Nj(){var e=[],t=fn;function n(a){if(a!=null&&!isNaN(a=+a))return t((nc(e,a,1)-1)/(e.length-1))}return n.domain=function(a){if(!arguments.length)return e.slice();e=[];for(let l of a)l!=null&&!isNaN(l=+l)&&e.push(l);return e.sort(Ha),n},n.interpolator=function(a){return arguments.length?(t=a,n):t},n.range=function(){return e.map((a,l)=>t(l/(e.length-1)))},n.quantiles=function(a){return Array.from({length:a+1},(l,o)=>Gz(e,o/a))},n.copy=function(){return Nj(t).domain(e)},ca.apply(n,arguments)}function Nd(){var e=0,t=.5,n=1,a=1,l,o,s,f,d,v=fn,m,y=!1,g;function b(O){return isNaN(O=+O)?g:(O=.5+((O=+m(O))-o)*(a*O<a*o?f:d),v(y?Math.max(0,Math.min(1,O)):O))}b.domain=function(O){return arguments.length?([e,t,n]=O,l=m(e=+e),o=m(t=+t),s=m(n=+n),f=l===o?0:.5/(o-l),d=o===s?0:.5/(s-o),a=o<l?-1:1,b):[e,t,n]},b.clamp=function(O){return arguments.length?(y=!!O,b):y},b.interpolator=function(O){return arguments.length?(v=O,b):v};function w(O){return function(A){var E,j,M;return arguments.length?([E,j,M]=A,v=pI(O,[E,j,M]),b):[v(0),v(.5),v(1)]}}return b.range=w(su),b.rangeRound=w(S0),b.unknown=function(O){return arguments.length?(g=O,b):g},function(O){return m=O,l=O(e),o=O(t),s=O(n),f=l===o?0:.5/(o-l),d=o===s?0:.5/(s-o),a=o<l?-1:1,b}}function Pj(){var e=Xa(Nd()(fn));return e.copy=function(){return Za(e,Pj())},ca.apply(e,arguments)}function Dj(){var e=E0(Nd()).domain([.1,1,10]);return e.copy=function(){return Za(e,Dj()).base(e.base())},ca.apply(e,arguments)}function kj(){var e=_0(Nd());return e.copy=function(){return Za(e,kj()).constant(e.constant())},ca.apply(e,arguments)}function L0(){var e=T0(Nd());return e.copy=function(){return Za(e,L0()).exponent(e.exponent())},ca.apply(e,arguments)}function i8(){return L0.apply(null,arguments).exponent(.5)}const Rj=Object.freeze(Object.defineProperty({__proto__:null,scaleBand:g0,scaleDiverging:Pj,scaleDivergingLog:Dj,scaleDivergingPow:L0,scaleDivergingSqrt:i8,scaleDivergingSymlog:kj,scaleIdentity:dj,scaleImplicit:xy,scaleLinear:fj,scaleLog:hj,scaleOrdinal:y0,scalePoint:Yz,scalePow:j0,scaleQuantile:yj,scaleQuantize:gj,scaleRadial:pj,scaleSequential:jj,scaleSequentialLog:Mj,scaleSequentialPow:I0,scaleSequentialQuantile:Nj,scaleSequentialSqrt:a8,scaleSequentialSymlog:Cj,scaleSqrt:BI,scaleSymlog:mj,scaleThreshold:bj,scaleTime:n8,scaleUtc:r8,tickFormat:sj},Symbol.toStringTag,{value:"Module"}));function l8(e){var t=Rj;if(e in t&&typeof t[e]=="function")return t[e]();var n="scale".concat(Yo(e));if(n in t&&typeof t[n]=="function")return t[n]()}function uE(e,t,n){if(typeof e=="function")return e.copy().domain(t).range(n);if(e!=null){var a=l8(e);if(a!=null)return a.domain(t).range(n),a}}function B0(e,t,n,a){if(!(n==null||a==null))return typeof e.scale=="function"?uE(e.scale,n,a):uE(t,n,a)}function u8(e){return"scale".concat(Yo(e))}function o8(e){return u8(e)in Rj}var zj=(e,t,n)=>{if(e!=null){var{scale:a,type:l}=e;if(a==="auto")return l==="category"&&n&&(n.indexOf("LineChart")>=0||n.indexOf("AreaChart")>=0||n.indexOf("ComposedChart")>=0&&!t)?"point":l==="category"?"band":"linear";if(typeof a=="string")return o8(a)?a:"point"}};function c8(e,t){for(var n=0,a=e.length,l=e[0]<e[e.length-1];n<a;){var o=Math.floor((n+a)/2);(l?e[o]<t:e[o]>t)?n=o+1:a=o}return n}function Ij(e,t){if(e){var n=t??e.domain(),a=n.map(o=>{var s;return(s=e(o))!==null&&s!==void 0?s:0}),l=e.range();if(!(n.length===0||l.length<2))return o=>{var s,f,d=c8(a,o);if(d<=0)return n[0];if(d>=n.length)return n[n.length-1];var v=(s=a[d-1])!==null&&s!==void 0?s:0,m=(f=a[d])!==null&&f!==void 0?f:0;return Math.abs(o-v)<=Math.abs(o-m)?n[d-1]:n[d]}}}function s8(e){if(e!=null)return"invert"in e&&typeof e.invert=="function"?e.invert.bind(e):Ij(e,void 0)}function oE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function zf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?oE(Object(n),!0).forEach(function(a){f8(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oE(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function f8(e,t,n){return(t=d8(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d8(e){var t=v8(e,"string");return typeof t=="symbol"?t:t+""}function v8(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Ay=[0,"auto"],jt={allowDataOverflow:!1,allowDecimals:!0,allowDuplicatedCategory:!0,angle:0,dataKey:void 0,domain:void 0,height:30,hide:!0,id:0,includeHidden:!1,interval:"preserveEnd",minTickGap:5,mirror:!1,name:void 0,orientation:"bottom",padding:{left:0,right:0},reversed:!1,scale:"auto",tick:!0,tickCount:5,tickFormatter:void 0,ticks:void 0,type:"category",unit:void 0,niceTicks:"auto"},Lj=(e,t)=>e.cartesianAxis.xAxis[t],sa=(e,t)=>{var n=Lj(e,t);return n??jt},Mt={allowDataOverflow:!1,allowDecimals:!0,allowDuplicatedCategory:!0,angle:0,dataKey:void 0,domain:Ay,hide:!0,id:0,includeHidden:!1,interval:"preserveEnd",minTickGap:5,mirror:!1,name:void 0,orientation:"left",padding:{top:0,bottom:0},reversed:!1,scale:"auto",tick:!0,tickCount:5,tickFormatter:void 0,ticks:void 0,type:"number",unit:void 0,niceTicks:"auto",width:Zo},Bj=(e,t)=>e.cartesianAxis.yAxis[t],fa=(e,t)=>{var n=Bj(e,t);return n??Mt},h8={domain:[0,"auto"],includeHidden:!1,reversed:!1,allowDataOverflow:!1,allowDuplicatedCategory:!1,dataKey:void 0,id:0,name:"",range:[64,64],scale:"auto",type:"number",unit:""},U0=(e,t)=>{var n=e.cartesianAxis.zAxis[t];return n??h8},mt=(e,t,n)=>{switch(t){case"xAxis":return sa(e,n);case"yAxis":return fa(e,n);case"zAxis":return U0(e,n);case"angleAxis":return f0(e,n);case"radiusAxis":return d0(e,n);default:throw new Error("Unexpected axis type: ".concat(t))}},m8=(e,t,n)=>{switch(t){case"xAxis":return sa(e,n);case"yAxis":return fa(e,n);default:throw new Error("Unexpected axis type: ".concat(t))}},fu=(e,t,n)=>{switch(t){case"xAxis":return sa(e,n);case"yAxis":return fa(e,n);case"angleAxis":return f0(e,n);case"radiusAxis":return d0(e,n);default:throw new Error("Unexpected axis type: ".concat(t))}},Uj=e=>e.graphicalItems.cartesianItems.some(t=>t.type==="bar")||e.graphicalItems.polarItems.some(t=>t.type==="radialBar");function q0(e,t){return n=>{switch(e){case"xAxis":return"xAxisId"in n&&n.xAxisId===t;case"yAxis":return"yAxisId"in n&&n.yAxisId===t;case"zAxis":return"zAxisId"in n&&n.zAxisId===t;case"angleAxis":return"angleAxisId"in n&&n.angleAxisId===t;case"radiusAxis":return"radiusAxisId"in n&&n.radiusAxisId===t;default:return!1}}}var H0=e=>e.graphicalItems.cartesianItems,p8=L([ct,tc],q0),G0=(e,t,n)=>e.filter(n).filter(a=>(t==null?void 0:t.includeHidden)===!0?!0:!a.hide),du=L([H0,mt,p8],G0,{memoizeOptions:{resultEqualityCheck:Ed}}),qj=L([du],e=>e.filter(t=>t.type==="area"||t.type==="bar").filter(wd)),Hj=e=>e.filter(t=>!("stackId"in t)||t.stackId===void 0),y8=L([du],Hj),$0=e=>e.map(t=>t.data).filter(Boolean).flat(1),g8=L([du],e=>e.some(t=>!t.data)),Gj=L([du],$0,{memoizeOptions:{resultEqualityCheck:Ed}}),K0=(e,t)=>{var{chartData:n=[],dataStartIndex:a,dataEndIndex:l}=t;return e.length>0?e:n.slice(a,l+1)},Y0=L([Gj,bd],K0),$j=(e,t,n)=>(t==null?void 0:t.dataKey)!=null?e.map(a=>({value:Fe(a,t.dataKey)})):n.length>0?n.map(a=>a.dataKey).flatMap(a=>e.map(l=>({value:Fe(l,a)}))):e.map(a=>({value:a})),Kj=(e,t,n,a,l,o)=>{var{chartData:s=[],dataStartIndex:f,dataEndIndex:d}=a,v=$j(e,t,n);if(l&&(t==null?void 0:t.dataKey)!=null&&o.length>0){var m=s.slice(f,d+1),y=m.map(g=>({value:Fe(g,t.dataKey)})).filter(g=>g.value!=null);return[...y,...v]}return v},lc=L([Y0,mt,du,bd,g8,Gj],Kj);function Xl(e){if(Mr(e)||e instanceof Date){var t=Number(e);if(Re(t))return t}}function cE(e){if(Array.isArray(e)){var t=[Xl(e[0]),Xl(e[1])];return _r(t)?t:void 0}var n=Xl(e);if(n!=null)return[n,n]}function Pr(e){return e.map(Xl).filter(wn)}function b8(e,t){var n=Xl(e),a=Xl(t);return n==null&&a==null?0:n==null?-1:a==null?1:n-a}var x8=L([lc],e=>e==null?void 0:e.map(t=>t.value).sort(b8));function Yj(e,t){switch(e){case"xAxis":return t.direction==="x";case"yAxis":return t.direction==="y";default:return!1}}function S8(e,t,n){if(!n)return[];if(!n.length)return[];var a;if(typeof t=="number"&&!jr(t))a=t;else if(Array.isArray(t)){var l=Pr(t);l.length>0&&(a=Math.max(...l))}return a==null?[]:Pr(n.flatMap(o=>{var s=Fe(e,o.dataKey),f,d;if(Array.isArray(s)?[f,d]=s:f=d=s,!(!Re(f)||!Re(d)))return[a-f,a+d]}))}var Rt=e=>{var t=qt(e),n=cu(e);return fu(e,t,n)},eu=L([Rt],e=>e==null?void 0:e.dataKey),O8=L([qj,bd,Rt],ej),Vj=(e,t,n,a)=>{var l={},o=t.reduce((s,f)=>{if(f.stackId==null)return s;var d=s[f.stackId];return d==null&&(d=[]),d.push(f),s[f.stackId]=d,s},l);return Object.fromEntries(Object.entries(o).map(s=>{var[f,d]=s,v=a?[...d].reverse():d,m=v.map(h0);return[f,{stackedData:j5(e,m,n),graphicalItems:v}]}))},Ey=L([O8,qj,ec,VT],Vj),Xj=(e,t,n,a)=>{var{dataStartIndex:l,dataEndIndex:o}=t;if(a==null&&n!=="zAxis"){var s=D5(e,l,o);if(!(s!=null&&s[0]===0&&s[1]===0))return s}},w8=L([mt],e=>e.allowDataOverflow),V0=e=>{var t;if(e==null||!("domain"in e))return Ay;if(e.domain!=null)return e.domain;if("ticks"in e&&e.ticks!=null){if(e.type==="number"){var n=Pr(e.ticks);return[Math.min(...n),Math.max(...n)]}if(e.type==="category")return e.ticks.map(String)}return(t=e==null?void 0:e.domain)!==null&&t!==void 0?t:Ay},X0=L([mt],V0),Z0=L([X0,w8],kT),A8=L([Ey,vr,ct,Z0],Xj,{memoizeOptions:{resultEqualityCheck:Ad}}),Pd=e=>e.errorBars,E8=(e,t,n)=>e.flatMap(a=>t[a.id]).filter(Boolean).filter(a=>Yj(n,a)),If=function(){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];var l=n.filter(Boolean);if(l.length!==0){var o=l.flat(),s=Math.min(...o),f=Math.max(...o);return[s,f]}},F0=function(t,n,a,l,o){var s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[],f,d;if(a.length>0&&a.forEach(v=>{var m,y=v.data!=null?[...v.data]:s,g=(m=l[v.id])===null||m===void 0?void 0:m.filter(b=>Yj(o,b));y.forEach(b=>{var w,O=Fe(b,(w=n.dataKey)!==null&&w!==void 0?w:v.dataKey),A=S8(b,O,g);if(A.length>=2){var E=Math.min(...A),j=Math.max(...A);(f==null||E<f)&&(f=E),(d==null||j>d)&&(d=j)}var M=cE(O);M!=null&&(f=f==null?M[0]:Math.min(f,M[0]),d=d==null?M[1]:Math.max(d,M[1]))})}),(n==null?void 0:n.dataKey)!=null&&a.length===0&&t.forEach(v=>{var m=cE(Fe(v,n.dataKey));m!=null&&(f=f==null?m[0]:Math.min(f,m[0]),d=d==null?m[1]:Math.max(d,m[1]))}),Re(f)&&Re(d))return[f,d]},_8=L([Y0,mt,y8,Pd,ct,mz],F0,{memoizeOptions:{resultEqualityCheck:Ad}});function T8(e){var{value:t}=e;if(Mr(t)||t instanceof Date)return t}var j8=(e,t,n)=>{var a=e.map(T8).filter(l=>l!=null);return n&&(t.dataKey==null||t.allowDuplicatedCategory&&l_(a))?DT(0,e.length):t.allowDuplicatedCategory?a:Array.from(new Set(a))},Zj=e=>e.referenceElements.dots,vu=(e,t,n)=>e.filter(a=>a.ifOverflow==="extendDomain").filter(a=>t==="xAxis"?a.xAxisId===n:a.yAxisId===n),M8=L([Zj,ct,tc],vu),Fj=e=>e.referenceElements.areas,C8=L([Fj,ct,tc],vu),Wj=e=>e.referenceElements.lines,N8=L([Wj,ct,tc],vu),Qj=(e,t)=>{if(e!=null){var n=Pr(e.map(a=>t==="xAxis"?a.x:a.y));if(n.length!==0)return[Math.min(...n),Math.max(...n)]}},P8=L(M8,ct,Qj),Jj=(e,t)=>{if(e!=null){var n=Pr(e.flatMap(a=>[t==="xAxis"?a.x1:a.y1,t==="xAxis"?a.x2:a.y2]));if(n.length!==0)return[Math.min(...n),Math.max(...n)]}},D8=L([C8,ct],Jj);function k8(e){var t;if(e.x!=null)return Pr([e.x]);var n=(t=e.segment)===null||t===void 0?void 0:t.map(a=>a.x);return n==null||n.length===0?[]:Pr(n)}function R8(e){var t;if(e.y!=null)return Pr([e.y]);var n=(t=e.segment)===null||t===void 0?void 0:t.map(a=>a.y);return n==null||n.length===0?[]:Pr(n)}var eM=(e,t)=>{if(e!=null){var n=e.flatMap(a=>t==="xAxis"?k8(a):R8(a));if(n.length!==0)return[Math.min(...n),Math.max(...n)]}},z8=L([N8,ct],eM),I8=L(P8,z8,D8,(e,t,n)=>If(e,n,t)),W0=(e,t,n,a,l,o,s,f)=>{if(n!=null)return n;var d=s==="vertical"&&f==="xAxis"||s==="horizontal"&&f==="yAxis",v=d?If(a,o,l):If(o,l);return gz(t,v,e.allowDataOverflow)},L8=L([mt,X0,Z0,A8,_8,I8,qe,ct],W0,{memoizeOptions:{resultEqualityCheck:Ad}}),B8=[0,1],Q0=(e,t,n,a,l,o,s)=>{if(!((e==null||n==null||n.length===0)&&s===void 0)){var{dataKey:f,type:d}=e,v=Va(t,o);if(v&&f==null){var m;return DT(0,(m=n==null?void 0:n.length)!==null&&m!==void 0?m:0)}return d==="category"?j8(a,e,v):l==="expand"&&!v?B8:s}},J0=L([mt,qe,Y0,lc,ec,ct,L8],Q0),Fa=L([mt,Uj,o0],zj),eg=(e,t,n)=>{var{niceTicks:a}=t;if(a!=="none"){var l=V0(t),o=Array.isArray(l)&&(l[0]==="auto"||l[1]==="auto");if((a==="snap125"||a==="adaptive")&&t!=null&&t.tickCount&&_r(e)){if(o)return bA(e,t.tickCount,t.allowDecimals,a);if(t.type==="number")return xA(e,t.tickCount,t.allowDecimals,a)}if(a==="auto"&&n==="linear"&&t!=null&&t.tickCount){if(o&&_r(e))return bA(e,t.tickCount,t.allowDecimals,"adaptive");if(t.type==="number"&&_r(e))return xA(e,t.tickCount,t.allowDecimals,"adaptive")}}},tg=L([J0,fu,Fa],eg),ng=(e,t,n,a)=>{if(a!=="angleAxis"&&(e==null?void 0:e.type)==="number"&&_r(t)&&Array.isArray(n)&&n.length>0){var l,o,s=t[0],f=(l=n[0])!==null&&l!==void 0?l:0,d=t[1],v=(o=n[n.length-1])!==null&&o!==void 0?o:0;return[Math.min(s,f),Math.max(d,v)]}return t},U8=L([mt,J0,tg,ct],ng),q8=L(lc,mt,(e,t)=>{if(!(!t||t.type!=="number")){var n=1/0,a=Array.from(Pr(e.map(y=>y.value))).sort((y,g)=>y-g),l=a[0],o=a[a.length-1];if(l==null||o==null)return 1/0;var s=o-l;if(s===0)return 1/0;for(var f=0;f<a.length-1;f++){var d=a[f],v=a[f+1];if(!(d==null||v==null)){var m=v-d;n=Math.min(n,m)}}return n/s}}),tM=L(q8,qe,YT,Dt,(e,t,n,a,l)=>l,(e,t,n,a,l)=>{if(!Re(e))return 0;var o=t==="vertical"?a.height:a.width;if(l==="gap")return e*o/2;if(l==="no-gap"){var s=tn(n,e*o),f=e*o/2;return f-s-(f-s)/o*s}return 0}),H8=(e,t,n)=>{var a=sa(e,t);return a==null||typeof a.padding!="string"?0:tM(e,"xAxis",t,n,a.padding)},G8=(e,t,n)=>{var a=fa(e,t);return a==null||typeof a.padding!="string"?0:tM(e,"yAxis",t,n,a.padding)},$8=L(sa,H8,(e,t)=>{var n,a;if(e==null)return{left:0,right:0};var{padding:l}=e;return typeof l=="string"?{left:t,right:t}:{left:((n=l.left)!==null&&n!==void 0?n:0)+t,right:((a=l.right)!==null&&a!==void 0?a:0)+t}}),K8=L(fa,G8,(e,t)=>{var n,a;if(e==null)return{top:0,bottom:0};var{padding:l}=e;return typeof l=="string"?{top:t,bottom:t}:{top:((n=l.top)!==null&&n!==void 0?n:0)+t,bottom:((a=l.bottom)!==null&&a!==void 0?a:0)+t}}),Y8=L([Dt,$8,fd,sd,(e,t,n)=>n],(e,t,n,a,l)=>{var{padding:o}=a;return l?[o.left,n.width-o.right]:[e.left+t.left,e.left+e.width-t.right]}),V8=L([Dt,qe,K8,fd,sd,(e,t,n)=>n],(e,t,n,a,l,o)=>{var{padding:s}=l;return o?[a.height-s.bottom,s.top]:t==="horizontal"?[e.top+e.height-n.bottom,e.top+n.top]:[e.top+n.top,e.top+e.height-n.bottom]}),uc=(e,t,n,a)=>{var l;switch(t){case"xAxis":return Y8(e,n,a);case"yAxis":return V8(e,n,a);case"zAxis":return(l=U0(e,n))===null||l===void 0?void 0:l.range;case"angleAxis":return WT(e);case"radiusAxis":return QT(e,n);default:return}},nM=L([mt,uc],xd),X8=L([Fa,U8],tj),rg=L([mt,Fa,X8,nM],B0),rM=(e,t,n,a)=>{if(!(n==null||n.dataKey==null)){var{type:l,scale:o}=n,s=Va(e,a);if(s&&(l==="number"||o!=="auto"))return t.map(f=>f.value)}},ag=L([qe,lc,fu,ct],rM),Dd=L([rg],m0);L([rg],s8);L([rg,x8],Ij);L([du,Pd,ct],E8);function aM(e,t){return e.id<t.id?-1:e.id>t.id?1:0}var kd=(e,t)=>t,Rd=(e,t,n)=>n,Z8=L(od,kd,Rd,(e,t,n)=>e.filter(a=>a.orientation===t).filter(a=>a.mirror===n).sort(aM)),F8=L(cd,kd,Rd,(e,t,n)=>e.filter(a=>a.orientation===t).filter(a=>a.mirror===n).sort(aM)),iM=(e,t)=>({width:e.width,height:t.height}),W8=(e,t)=>{var n=typeof t.width=="number"?t.width:Zo;return{width:n,height:e.height}},lM=L(Dt,sa,iM),Q8=(e,t,n)=>{switch(t){case"top":return e.top;case"bottom":return n-e.bottom;default:return 0}},J8=(e,t,n)=>{switch(t){case"left":return e.left;case"right":return n-e.right;default:return 0}},eB=L(oa,Dt,Z8,kd,Rd,(e,t,n,a,l)=>{var o={},s;return n.forEach(f=>{var d=iM(t,f);s==null&&(s=Q8(t,a,e));var v=a==="top"&&!l||a==="bottom"&&l;o[f.id]=s-Number(v)*d.height,s+=(v?-1:1)*d.height}),o}),tB=L(ua,Dt,F8,kd,Rd,(e,t,n,a,l)=>{var o={},s;return n.forEach(f=>{var d=W8(t,f);s==null&&(s=J8(t,a,e));var v=a==="left"&&!l||a==="right"&&l;o[f.id]=s-Number(v)*d.width,s+=(v?-1:1)*d.width}),o}),nB=(e,t)=>{var n=sa(e,t);if(n!=null)return eB(e,n.orientation,n.mirror)},rB=L([Dt,sa,nB,(e,t)=>t],(e,t,n,a)=>{if(t!=null){var l=n==null?void 0:n[a];return l==null?{x:e.left,y:0}:{x:e.left,y:l}}}),aB=(e,t)=>{var n=fa(e,t);if(n!=null)return tB(e,n.orientation,n.mirror)},iB=L([Dt,fa,aB,(e,t)=>t],(e,t,n,a)=>{if(t!=null){var l=n==null?void 0:n[a];return l==null?{x:0,y:e.top}:{x:l,y:e.top}}}),uM=L(Dt,fa,(e,t)=>{var n=typeof t.width=="number"?t.width:Zo;return{width:n,height:e.height}}),sE=(e,t,n)=>{switch(t){case"xAxis":return lM(e,n).width;case"yAxis":return uM(e,n).height;default:return}},oM=(e,t,n,a)=>{if(n!=null){var{allowDuplicatedCategory:l,type:o,dataKey:s}=n,f=Va(e,a),d=t.map(m=>m.value),v=d.filter(m=>m!=null);if(s&&f&&o==="category"&&l&&l_(v))return d}},ig=L([qe,lc,mt,ct],oM),fE=L([qe,m8,Fa,Dd,ig,ag,uc,tg,ct],(e,t,n,a,l,o,s,f,d)=>{if(t!=null){var v=Va(e,d);return{angle:t.angle,interval:t.interval,minTickGap:t.minTickGap,orientation:t.orientation,tick:t.tick,tickCount:t.tickCount,tickFormatter:t.tickFormatter,ticks:t.ticks,type:t.type,unit:t.unit,axisType:d,categoricalDomain:o,duplicateDomain:l,isCategorical:v,niceTicks:f,range:s,realScaleType:n,scale:a}}}),lB=(e,t,n,a,l,o,s,f,d)=>{if(!(t==null||a==null)){var v=Va(e,d),{type:m,ticks:y,tickCount:g}=t,b=n==="scaleBand"&&typeof a.bandwidth=="function"?a.bandwidth()/2:2,w=m==="category"&&a.bandwidth?a.bandwidth()/b:0;w=d==="angleAxis"&&o!=null&&o.length>=2?Ut(o[0]-o[1])*2*w:w;var O=y||l;return O?O.map((A,E)=>{var j=s?s.indexOf(A):A,M=a.map(j);return Re(M)?{index:E,coordinate:M+w,value:A,offset:w}:null}).filter(wn):v&&f?f.map((A,E)=>{var j=a.map(A);return Re(j)?{coordinate:j+w,value:A,index:E,offset:w}:null}).filter(wn):a.ticks?a.ticks(g).map((A,E)=>{var j=a.map(A);return Re(j)?{coordinate:j+w,value:A,index:E,offset:w}:null}).filter(wn):a.domain().map((A,E)=>{var j=a.map(A);return Re(j)?{coordinate:j+w,value:s?s[A]:A,index:E,offset:w}:null}).filter(wn)}},cM=L([qe,fu,Fa,Dd,tg,uc,ig,ag,ct],lB),uB=(e,t,n,a,l,o,s)=>{if(!(t==null||n==null||a==null||a[0]===a[1])){var f=Va(e,s),{tickCount:d}=t,v=0;return v=s==="angleAxis"&&(a==null?void 0:a.length)>=2?Ut(a[0]-a[1])*2*v:v,f&&o?o.map((m,y)=>{var g=n.map(m);return Re(g)?{coordinate:g+v,value:m,index:y,offset:v}:null}).filter(wn):n.ticks?n.ticks(d).map((m,y)=>{var g=n.map(m);return Re(g)?{coordinate:g+v,value:m,index:y,offset:v}:null}).filter(wn):n.domain().map((m,y)=>{var g=n.map(m);return Re(g)?{coordinate:g+v,value:l?l[m]:m,index:y,offset:v}:null}).filter(wn)}},tu=L([qe,fu,Dd,uc,ig,ag,ct],uB),nu=L(mt,Dd,(e,t)=>{if(!(e==null||t==null))return zf(zf({},e),{},{scale:t})}),oB=L([mt,Fa,J0,nM],B0),cB=L([oB],m0);L((e,t,n)=>U0(e,n),cB,(e,t)=>{if(!(e==null||t==null))return zf(zf({},e),{},{scale:t})});var sB=L([qe,od,cd],(e,t,n)=>{switch(e){case"horizontal":return t.some(a=>a.reversed)?"right-to-left":"left-to-right";case"vertical":return n.some(a=>a.reversed)?"bottom-to-top":"top-to-bottom";case"centric":case"radial":return"left-to-right";default:return}}),fB=(e,t,n)=>{var a;return(a=e.renderedTicks[t])===null||a===void 0?void 0:a[n]};L([fB],e=>{if(!(!e||e.length===0))return t=>{var n,a=1/0,l=e[0];for(var o of e){var s=Math.abs(o.coordinate-t);s<a&&(a=s,l=o)}return(n=l)===null||n===void 0?void 0:n.value}});var sM=e=>e.options.defaultTooltipEventType,fM=e=>e.options.validateTooltipEventTypes;function dM(e,t,n){if(e==null)return t;var a=e?"axis":"item";return n==null?t:n.includes(a)?a:t}function oc(e,t){var n=sM(e),a=fM(e);return dM(t,n,a)}function dB(e){return ye(t=>oc(t,e))}var vM=(e,t)=>{var n,a=Number(t);if(!(jr(a)||t==null))return a>=0?e==null||(n=e[a])===null||n===void 0?void 0:n.value:void 0},vB=e=>e.tooltip.settings,Ua={active:!1,index:null,dataKey:void 0,graphicalItemId:void 0,coordinate:void 0},hB={itemInteraction:{click:Ua,hover:Ua},axisInteraction:{click:Ua,hover:Ua},keyboardInteraction:Ua,syncInteraction:{active:!1,index:null,dataKey:void 0,label:void 0,coordinate:void 0,sourceViewBox:void 0,graphicalItemId:void 0},tooltipItemPayloads:[],settings:{shared:void 0,trigger:"hover",axisId:0,active:!1,defaultIndex:void 0}},hM=an({name:"tooltip",initialState:hB,reducers:{addTooltipEntrySettings:{reducer(e,t){e.tooltipItemPayloads.push(t.payload)},prepare:rt()},replaceTooltipEntrySettings:{reducer(e,t){var{prev:n,next:a}=t.payload,l=Qn(e).tooltipItemPayloads.indexOf(n);l>-1&&(e.tooltipItemPayloads[l]=a)},prepare:rt()},removeTooltipEntrySettings:{reducer(e,t){var n=Qn(e).tooltipItemPayloads.indexOf(t.payload);n>-1&&e.tooltipItemPayloads.splice(n,1)},prepare:rt()},setTooltipSettingsState(e,t){e.settings=t.payload},setActiveMouseOverItemIndex(e,t){e.syncInteraction.active=!1,e.syncInteraction.sourceViewBox=void 0,e.keyboardInteraction.active=!1,e.itemInteraction.hover.active=!0,e.itemInteraction.hover.index=t.payload.activeIndex,e.itemInteraction.hover.dataKey=t.payload.activeDataKey,e.itemInteraction.hover.graphicalItemId=t.payload.activeGraphicalItemId,e.itemInteraction.hover.coordinate=t.payload.activeCoordinate},mouseLeaveChart(e){e.itemInteraction.hover.active=!1,e.axisInteraction.hover.active=!1},mouseLeaveItem(e){e.itemInteraction.hover.active=!1},setActiveClickItemIndex(e,t){e.syncInteraction.active=!1,e.syncInteraction.sourceViewBox=void 0,e.itemInteraction.click.active=!0,e.keyboardInteraction.active=!1,e.itemInteraction.click.index=t.payload.activeIndex,e.itemInteraction.click.dataKey=t.payload.activeDataKey,e.itemInteraction.click.graphicalItemId=t.payload.activeGraphicalItemId,e.itemInteraction.click.coordinate=t.payload.activeCoordinate},setMouseOverAxisIndex(e,t){e.syncInteraction.active=!1,e.syncInteraction.sourceViewBox=void 0,e.axisInteraction.hover.active=!0,e.keyboardInteraction.active=!1,e.axisInteraction.hover.index=t.payload.activeIndex,e.axisInteraction.hover.dataKey=t.payload.activeDataKey,e.axisInteraction.hover.coordinate=t.payload.activeCoordinate},setMouseClickAxisIndex(e,t){e.syncInteraction.active=!1,e.syncInteraction.sourceViewBox=void 0,e.keyboardInteraction.active=!1,e.axisInteraction.click.active=!0,e.axisInteraction.click.index=t.payload.activeIndex,e.axisInteraction.click.dataKey=t.payload.activeDataKey,e.axisInteraction.click.coordinate=t.payload.activeCoordinate},setSyncInteraction(e,t){e.syncInteraction=t.payload},setKeyboardInteraction(e,t){e.keyboardInteraction.active=t.payload.active,e.keyboardInteraction.index=t.payload.activeIndex,e.keyboardInteraction.coordinate=t.payload.activeCoordinate}}}),{addTooltipEntrySettings:mB,replaceTooltipEntrySettings:pB,removeTooltipEntrySettings:yB,setTooltipSettingsState:gB,setActiveMouseOverItemIndex:mM,mouseLeaveItem:bB,mouseLeaveChart:pM,setActiveClickItemIndex:xB,setMouseOverAxisIndex:yM,setMouseClickAxisIndex:SB,setSyncInteraction:Ao,setKeyboardInteraction:Lf}=hM.actions,OB=hM.reducer;function dE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function qs(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?dE(Object(n),!0).forEach(function(a){wB(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dE(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function wB(e,t,n){return(t=AB(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function AB(e){var t=EB(e,"string");return typeof t=="symbol"?t:t+""}function EB(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function _B(e,t,n){return t==="axis"?n==="click"?e.axisInteraction.click:e.axisInteraction.hover:n==="click"?e.itemInteraction.click:e.itemInteraction.hover}function TB(e){return e.index!=null}var gM=(e,t,n,a)=>{if(t==null)return Ua;var l=_B(e,t,n);if(l==null)return Ua;if(l.active)return l;if(e.keyboardInteraction.active)return e.keyboardInteraction;if(e.syncInteraction.active&&e.syncInteraction.index!=null)return e.syncInteraction;var o=e.settings.active===!0;if(TB(l)){if(o)return qs(qs({},l),{},{active:!0})}else if(a!=null)return{active:!0,coordinate:void 0,dataKey:void 0,index:a,graphicalItemId:void 0};return qs(qs({},Ua),{},{coordinate:l.coordinate})};function jB(e){if(typeof e=="number")return Number.isFinite(e)?e:void 0;if(e instanceof Date){var t=e.valueOf();return Number.isFinite(t)?t:void 0}var n=Number(e);return Number.isFinite(n)?n:void 0}function MB(e,t){var n=jB(e),a=t[0],l=t[1];if(n===void 0)return!1;var o=Math.min(a,l),s=Math.max(a,l);return n>=o&&n<=s}function CB(e,t,n){if(n==null||t==null)return!0;var a=Fe(e,t);return a==null||!_r(n)?!0:MB(a,n)}var jo=(e,t,n,a)=>{var l=e==null?void 0:e.index;if(l==null)return null;var o=Number(l);if(!Re(o))return l;var s=0,f=1/0;t.length>0&&(f=t.length-1);var d=Math.max(s,Math.min(o,f)),v=t[d];return v==null||CB(v,n,a)?String(d):null},bM=(e,t,n,a,l,o,s)=>{if(o!=null){var f=s[0],d=f==null?void 0:f.getPosition(o);if(d!=null)return d;var v=l==null?void 0:l[Number(o)];if(v)switch(n){case"horizontal":return{x:v.coordinate,y:(a.top+t)/2};default:return{x:(a.left+e)/2,y:v.coordinate}}}},xM=(e,t,n,a)=>{if(t==="axis")return e.tooltipItemPayloads;if(e.tooltipItemPayloads.length===0)return[];var l;if(n==="hover"?l=e.itemInteraction.hover.graphicalItemId:l=e.itemInteraction.click.graphicalItemId,e.syncInteraction.active&&l==null)return e.tooltipItemPayloads;if(l==null&&(a!=null||e.keyboardInteraction.active)){var o=e.tooltipItemPayloads[0];return o!=null?[o]:[]}return e.tooltipItemPayloads.filter(s=>{var f;return((f=s.settings)===null||f===void 0?void 0:f.graphicalItemId)===l})},SM=e=>e.options.tooltipPayloadSearcher,hu=e=>e.tooltip;function vE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function hE(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?vE(Object(n),!0).forEach(function(a){NB(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vE(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function NB(e,t,n){return(t=PB(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function PB(e){var t=DB(e,"string");return typeof t=="symbol"?t:t+""}function DB(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function kB(e){if(typeof e=="string"||typeof e=="number")return e}function RB(e){if(typeof e=="string"||typeof e=="number"||typeof e=="boolean")return e}function zB(e){if(typeof e=="string"||typeof e=="number")return e;if(typeof e=="function")return t=>e(t)}function mE(e){if(typeof e=="string")return e}function IB(e){if(!(e==null||typeof e!="object")){var t="name"in e?kB(e.name):void 0,n="unit"in e?RB(e.unit):void 0,a="dataKey"in e?zB(e.dataKey):void 0,l="payload"in e?e.payload:void 0,o="color"in e?mE(e.color):void 0,s="fill"in e?mE(e.fill):void 0;return{name:t,unit:n,dataKey:a,payload:l,color:o,fill:s}}}function LB(e,t){return e??t}var OM=(e,t,n,a,l,o,s)=>{if(!(t==null||o==null)){var{chartData:f,computedData:d,dataStartIndex:v,dataEndIndex:m}=n,y=[];return e.reduce((g,b)=>{var w,{dataDefinedOnItem:O,settings:A}=b,E=LB(O,f),j=Array.isArray(E)?Q_(E,v,m):E,M=(w=A==null?void 0:A.dataKey)!==null&&w!==void 0?w:a,N=A==null?void 0:A.nameKey,D;if(a&&Array.isArray(j)&&!Array.isArray(j[0])&&s==="axis"?D=ok(j,a,l):D=o(j,t,d,N),Array.isArray(D))D.forEach(z=>{var G,V,Q=IB(z),J=Q==null?void 0:Q.name,$=Q==null?void 0:Q.dataKey,ge=Q==null?void 0:Q.payload,oe=hE(hE({},A),{},{name:J,unit:Q==null?void 0:Q.unit,color:(G=Q==null?void 0:Q.color)!==null&&G!==void 0?G:A==null?void 0:A.color,fill:(V=Q==null?void 0:Q.fill)!==null&&V!==void 0?V:A==null?void 0:A.fill});g.push(ow({tooltipEntrySettings:oe,dataKey:$,payload:ge,value:Fe(ge,$),name:J==null?void 0:String(J)}))});else{var C;g.push(ow({tooltipEntrySettings:A,dataKey:M,payload:D,value:Fe(D,M),name:(C=Fe(D,N))!==null&&C!==void 0?C:A==null?void 0:A.name}))}return g},y)}},lg=L([Rt,Uj,o0],zj),BB=L([e=>e.graphicalItems.cartesianItems,e=>e.graphicalItems.polarItems],(e,t)=>[...e,...t]),UB=L([qt,cu],q0),$i=L([BB,Rt,UB],G0,{memoizeOptions:{resultEqualityCheck:Ed}}),qB=L([$i],e=>e.filter(wd)),wM=L([$i],$0,{memoizeOptions:{resultEqualityCheck:Ed}}),HB=L([$i],e=>e.some(t=>!t.data)),Bi=L([wM,vr],K0),GB=L([qB,vr,Rt],ej),ug=L([Bi,Rt,$i,vr,HB,wM],Kj),AM=L([Rt],V0),$B=L([Rt],e=>e.allowDataOverflow),EM=L([AM,$B],kT),KB=L([$i],e=>e.filter(wd)),YB=L([GB,KB,ec,VT],Vj),VB=L([YB,vr,qt,EM],Xj),XB=L([$i],Hj),ZB=L([Bi,Rt,XB,Pd,qt,yz],F0,{memoizeOptions:{resultEqualityCheck:Ad}}),FB=L([Zj,qt,cu],vu),WB=L([FB,qt],Qj),QB=L([Fj,qt,cu],vu),JB=L([QB,qt],Jj),eU=L([Wj,qt,cu],vu),tU=L([eU,qt],eM),nU=L([WB,tU,JB],If),rU=L([Rt,AM,EM,VB,ZB,nU,qe,qt],W0),ru=L([Rt,qe,Bi,ug,ec,qt,rU],Q0),aU=L([ru,Rt,lg],eg),iU=L([Rt,ru,aU,qt],ng),_M=e=>{var t=qt(e),n=cu(e),a=!1;return uc(e,t,n,a)},TM=L([Rt,_M],xd),lU=L([Rt,lg,iU,TM],B0),jM=L([lU],m0),uU=L([qe,ug,Rt,qt],oM),oU=L([qe,ug,Rt,qt],rM),cU=(e,t,n,a,l,o,s,f)=>{if(t){var{type:d}=t,v=Va(e,f);if(a){var m=n==="scaleBand"&&a.bandwidth?a.bandwidth()/2:2,y=d==="category"&&a.bandwidth?a.bandwidth()/m:0;return y=f==="angleAxis"&&l!=null&&(l==null?void 0:l.length)>=2?Ut(l[0]-l[1])*2*y:y,v&&s?s.map((g,b)=>{var w=a.map(g);return Re(w)?{coordinate:w+y,value:g,index:b,offset:y}:null}).filter(wn):a.domain().map((g,b)=>{var w=a.map(g);return Re(w)?{coordinate:w+y,value:o?o[g]:g,index:b,offset:y}:null}).filter(wn)}}},da=L([qe,Rt,lg,jM,_M,uU,oU,qt],cU),og=L([sM,fM,vB],(e,t,n)=>dM(n.shared,e,t)),MM=e=>e.tooltip.settings.trigger,cg=e=>e.tooltip.settings.defaultIndex,cc=L([hu,og,MM,cg],gM),Ui=L([cc,Bi,eu,ru],jo),CM=L([da,Ui],vM),sg=L([cc],e=>{if(e)return e.dataKey}),NM=L([cc],e=>{if(e)return e.graphicalItemId}),PM=L([hu,og,MM,cg],xM),sU=L([ua,oa,qe,Dt,da,cg,PM],bM),fU=L([cc,sU],(e,t)=>e!=null&&e.coordinate?e.coordinate:t),dU=L([cc],e=>{var t;return(t=e==null?void 0:e.active)!==null&&t!==void 0?t:!1}),vU=L([PM,Ui,vr,eu,CM,SM,og],OM);L([vU],e=>{if(e!=null){var t=e.map(n=>n.payload).filter(n=>n!=null);return Array.from(new Set(t))}});function pE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function yE(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?pE(Object(n),!0).forEach(function(a){hU(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pE(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function hU(e,t,n){return(t=mU(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mU(e){var t=pU(e,"string");return typeof t=="symbol"?t:t+""}function pU(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var yU=()=>ye(Rt),gU=()=>{var e=yU(),t=ye(da),n=ye(jM);return hf(!e||!n?void 0:yE(yE({},e),{},{scale:n}),t)};function gE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function Bl(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?gE(Object(n),!0).forEach(function(a){bU(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gE(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function bU(e,t,n){return(t=xU(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xU(e){var t=SU(e,"string");return typeof t=="symbol"?t:t+""}function SU(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var OU=(e,t,n,a)=>{var l=t.find(o=>o&&o.index===n);if(l){if(e==="horizontal")return{x:l.coordinate,y:a.relativeY};if(e==="vertical")return{x:a.relativeX,y:l.coordinate}}return{x:0,y:0}},wU=(e,t,n,a)=>{var l=t.find(v=>v&&v.index===n);if(l){if(e==="centric"){var o=l.coordinate,{radius:s}=a;return Bl(Bl(Bl({},a),wt(a.cx,a.cy,s,o)),{},{angle:o,radius:s})}var f=l.coordinate,{angle:d}=a;return Bl(Bl(Bl({},a),wt(a.cx,a.cy,f,d)),{},{angle:d,radius:f})}return{angle:0,clockWise:!1,cx:0,cy:0,endAngle:0,innerRadius:0,outerRadius:0,radius:0,startAngle:0,x:0,y:0}};function AU(e,t){var{relativeX:n,relativeY:a}=e;return n>=t.left&&n<=t.left+t.width&&a>=t.top&&a<=t.top+t.height}var DM=(e,t,n,a,l)=>{var o,s=(o=t==null?void 0:t.length)!==null&&o!==void 0?o:0;if(s<=1||e==null)return 0;if(a==="angleAxis"&&l!=null&&Math.abs(Math.abs(l[1]-l[0])-360)<=1e-6)for(var f=0;f<s;f++){var d,v,m,y,g,b=f>0?(d=n[f-1])===null||d===void 0?void 0:d.coordinate:(v=n[s-1])===null||v===void 0?void 0:v.coordinate,w=(m=n[f])===null||m===void 0?void 0:m.coordinate,O=f>=s-1?(y=n[0])===null||y===void 0?void 0:y.coordinate:(g=n[f+1])===null||g===void 0?void 0:g.coordinate,A=void 0;if(!(b==null||w==null||O==null))if(Ut(w-b)!==Ut(O-w)){var E=[];if(Ut(O-w)===Ut(l[1]-l[0])){A=O;var j=w+l[1]-l[0];E[0]=Math.min(j,(j+b)/2),E[1]=Math.max(j,(j+b)/2)}else{A=b;var M=O+l[1]-l[0];E[0]=Math.min(w,(M+w)/2),E[1]=Math.max(w,(M+w)/2)}var N=[Math.min(w,(A+w)/2),Math.max(w,(A+w)/2)];if(e>N[0]&&e<=N[1]||e>=E[0]&&e<=E[1]){var D;return(D=n[f])===null||D===void 0?void 0:D.index}}else{var C=Math.min(b,O),z=Math.max(b,O);if(e>(C+w)/2&&e<=(z+w)/2){var G;return(G=n[f])===null||G===void 0?void 0:G.index}}}else if(t)for(var V=0;V<s;V++){var Q=t[V];if(Q!=null){var J=t[V+1],$=t[V-1];if(V===0&&J!=null&&e<=(Q.coordinate+J.coordinate)/2||V===s-1&&$!=null&&e>(Q.coordinate+$.coordinate)/2||V>0&&V<s-1&&$!=null&&J!=null&&e>(Q.coordinate+$.coordinate)/2&&e<=(Q.coordinate+J.coordinate)/2)return Q.index}}return-1},EU=()=>ye(o0),fg=(e,t)=>t,kM=(e,t,n)=>n,dg=(e,t,n,a)=>a,_U=L(da,e=>Wf(e,t=>t.coordinate)),vg=L([hu,fg,kM,dg],gM),hg=L([vg,Bi,eu,ru],jo),TU=(e,t,n)=>{if(t!=null){var a=hu(e);return t==="axis"?n==="hover"?a.axisInteraction.hover.dataKey:a.axisInteraction.click.dataKey:n==="hover"?a.itemInteraction.hover.dataKey:a.itemInteraction.click.dataKey}},RM=L([hu,fg,kM,dg],xM),Bf=L([ua,oa,qe,Dt,da,dg,RM],bM),jU=L([vg,Bf],(e,t)=>{var n;return(n=e.coordinate)!==null&&n!==void 0?n:t}),zM=L([da,hg],vM),MU=L([RM,hg,vr,eu,zM,SM,fg],OM),CU=L([vg,hg],(e,t)=>({isActive:e.active&&t!=null,activeIndex:t})),NU=(e,t,n,a,l,o,s)=>{if(!(!e||!n||!a||!l)&&AU(e,s)){var f=k5(e,t),d=DM(f,o,l,n,a),v=OU(t,l,d,e);return{activeIndex:String(d),activeCoordinate:v}}},PU=(e,t,n,a,l,o,s)=>{if(!(!e||!a||!l||!o||!n)){var f=az(e,n);if(f){var d=R5(f,t),v=DM(d,s,o,a,l),m=wU(t,o,v,f);return{activeIndex:String(v),activeCoordinate:m}}}},DU=(e,t,n,a,l,o,s,f)=>{if(!(!e||!t||!a||!l||!o))return t==="horizontal"||t==="vertical"?NU(e,t,a,l,o,s,f):PU(e,t,n,a,l,o,s)},kU=L(e=>e.zIndex.zIndexMap,(e,t)=>t,(e,t,n)=>n,(e,t,n)=>{if(t!=null){var a=e[t];if(a!=null)return n?a.panoramaElement:a.element}}),RU=L(e=>e.zIndex.zIndexMap,e=>{var t=Object.keys(e).map(a=>parseInt(a,10)).concat(Object.values(Wt)),n=Array.from(new Set(t));return n.sort((a,l)=>a-l)},{memoizeOptions:{resultEqualityCheck:Nz}});function bE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function xE(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?bE(Object(n),!0).forEach(function(a){zU(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bE(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function zU(e,t,n){return(t=IU(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function IU(e){var t=LU(e,"string");return typeof t=="symbol"?t:t+""}function LU(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var BU={},UU={zIndexMap:Object.values(Wt).reduce((e,t)=>xE(xE({},e),{},{[t]:{element:void 0,panoramaElement:void 0,consumers:0}}),BU)},qU=new Set(Object.values(Wt));function HU(e){return qU.has(e)}var IM=an({name:"zIndex",initialState:UU,reducers:{registerZIndexPortal:{reducer:(e,t)=>{var{zIndex:n}=t.payload;e.zIndexMap[n]?e.zIndexMap[n].consumers+=1:e.zIndexMap[n]={consumers:1,element:void 0,panoramaElement:void 0}},prepare:rt()},unregisterZIndexPortal:{reducer:(e,t)=>{var{zIndex:n}=t.payload;e.zIndexMap[n]&&(e.zIndexMap[n].consumers-=1,e.zIndexMap[n].consumers<=0&&!HU(n)&&delete e.zIndexMap[n])},prepare:rt()},registerZIndexPortalElement:{reducer:(e,t)=>{var{zIndex:n,element:a,isPanorama:l}=t.payload;e.zIndexMap[n]?l?e.zIndexMap[n].panoramaElement=a:e.zIndexMap[n].element=a:e.zIndexMap[n]={consumers:0,element:l?void 0:a,panoramaElement:l?a:void 0}},prepare:rt()},unregisterZIndexPortalElement:{reducer:(e,t)=>{var{zIndex:n}=t.payload;e.zIndexMap[n]&&(t.payload.isPanorama?e.zIndexMap[n].panoramaElement=void 0:e.zIndexMap[n].element=void 0)},prepare:rt()}}}),{registerZIndexPortal:GU,unregisterZIndexPortal:Np,registerZIndexPortalElement:$U,unregisterZIndexPortalElement:KU}=IM.actions,YU=IM.reducer;function hr(e){var{zIndex:t,children:n}=e,a=f4(),l=a&&t!==void 0&&t!==0,o=En(),s=x.useRef(void 0),f=x.useRef(new Set),d=et(),v=ye(y=>kU(y,t,o));if(x.useLayoutEffect(()=>{if(!l){var y=f.current;y.forEach(b=>{d(Np({zIndex:b}))}),y.clear(),s.current=void 0;return}if(f.current.has(t)||(d(GU({zIndex:t})),f.current.add(t)),v){s.current=v;var g=f.current;g.forEach(b=>{b!==t&&(d(Np({zIndex:b})),g.delete(b))})}},[d,t,l,v]),x.useLayoutEffect(()=>{var y=f.current;return()=>{y.forEach(g=>{d(Np({zIndex:g}))}),y.clear()}},[d]),!l)return n;var m=v??s.current;return m?H2.createPortal(n,m):null}function _y(){return _y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},_y.apply(null,arguments)}function SE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function Hs(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?SE(Object(n),!0).forEach(function(a){VU(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):SE(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function VU(e,t,n){return(t=XU(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function XU(e){var t=ZU(e,"string");return typeof t=="symbol"?t:t+""}function ZU(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function FU(e){var{cursor:t,cursorComp:n,cursorProps:a}=e;return x.isValidElement(t)?x.cloneElement(t,a):x.createElement(n,a)}function WU(e){var t,{coordinate:n,payload:a,index:l,offset:o,tooltipAxisBandSize:s,layout:f,cursor:d,tooltipEventType:v,chartName:m}=e,y=n,g=a,b=l;if(!d||!y||m!=="ScatterChart"&&v!=="axis")return null;var w,O,A;if(m==="ScatterChart")w=y,O=bR,A=Wt.cursorLine;else if(m==="BarChart")w=xR(f,y,o,s),O=jT,A=Wt.cursorRectangle;else if(f==="radial"&&c_(y)){var{cx:E,cy:j,radius:M,startAngle:N,endAngle:D}=CT(y);w={cx:E,cy:j,startAngle:N,endAngle:D,innerRadius:M,outerRadius:M},O=PT,A=Wt.cursorLine}else w={points:oz(f,y,o)},O=a0,A=Wt.cursorLine;var C=typeof d=="object"&&"className"in d?d.className:void 0,z=Hs(Hs(Hs(Hs({stroke:"#ccc",pointerEvents:"none"},o),w),Co(d)),{},{payload:g,payloadIndex:b,className:Xe("recharts-tooltip-cursor",C)});return x.createElement(hr,{zIndex:(t=e.zIndex)!==null&&t!==void 0?t:A},x.createElement(FU,{cursor:d,cursorComp:O,cursorProps:z}))}function QU(e){var t=gU(),n=uT(),a=lu(),l=EU();return t==null||n==null||a==null||l==null?null:x.createElement(WU,_y({},e,{offset:n,layout:a,tooltipAxisBandSize:t,chartName:l}))}var LM=x.createContext(null),JU=()=>x.useContext(LM),Pp={exports:{}},OE;function e9(){return OE||(OE=1,(function(e){var t=Object.prototype.hasOwnProperty,n="~";function a(){}Object.create&&(a.prototype=Object.create(null),new a().__proto__||(n=!1));function l(d,v,m){this.fn=d,this.context=v,this.once=m||!1}function o(d,v,m,y,g){if(typeof m!="function")throw new TypeError("The listener must be a function");var b=new l(m,y||d,g),w=n?n+v:v;return d._events[w]?d._events[w].fn?d._events[w]=[d._events[w],b]:d._events[w].push(b):(d._events[w]=b,d._eventsCount++),d}function s(d,v){--d._eventsCount===0?d._events=new a:delete d._events[v]}function f(){this._events=new a,this._eventsCount=0}f.prototype.eventNames=function(){var v=[],m,y;if(this._eventsCount===0)return v;for(y in m=this._events)t.call(m,y)&&v.push(n?y.slice(1):y);return Object.getOwnPropertySymbols?v.concat(Object.getOwnPropertySymbols(m)):v},f.prototype.listeners=function(v){var m=n?n+v:v,y=this._events[m];if(!y)return[];if(y.fn)return[y.fn];for(var g=0,b=y.length,w=new Array(b);g<b;g++)w[g]=y[g].fn;return w},f.prototype.listenerCount=function(v){var m=n?n+v:v,y=this._events[m];return y?y.fn?1:y.length:0},f.prototype.emit=function(v,m,y,g,b,w){var O=n?n+v:v;if(!this._events[O])return!1;var A=this._events[O],E=arguments.length,j,M;if(A.fn){switch(A.once&&this.removeListener(v,A.fn,void 0,!0),E){case 1:return A.fn.call(A.context),!0;case 2:return A.fn.call(A.context,m),!0;case 3:return A.fn.call(A.context,m,y),!0;case 4:return A.fn.call(A.context,m,y,g),!0;case 5:return A.fn.call(A.context,m,y,g,b),!0;case 6:return A.fn.call(A.context,m,y,g,b,w),!0}for(M=1,j=new Array(E-1);M<E;M++)j[M-1]=arguments[M];A.fn.apply(A.context,j)}else{var N=A.length,D;for(M=0;M<N;M++)switch(A[M].once&&this.removeListener(v,A[M].fn,void 0,!0),E){case 1:A[M].fn.call(A[M].context);break;case 2:A[M].fn.call(A[M].context,m);break;case 3:A[M].fn.call(A[M].context,m,y);break;case 4:A[M].fn.call(A[M].context,m,y,g);break;default:if(!j)for(D=1,j=new Array(E-1);D<E;D++)j[D-1]=arguments[D];A[M].fn.apply(A[M].context,j)}}return!0},f.prototype.on=function(v,m,y){return o(this,v,m,y,!1)},f.prototype.once=function(v,m,y){return o(this,v,m,y,!0)},f.prototype.removeListener=function(v,m,y,g){var b=n?n+v:v;if(!this._events[b])return this;if(!m)return s(this,b),this;var w=this._events[b];if(w.fn)w.fn===m&&(!g||w.once)&&(!y||w.context===y)&&s(this,b);else{for(var O=0,A=[],E=w.length;O<E;O++)(w[O].fn!==m||g&&!w[O].once||y&&w[O].context!==y)&&A.push(w[O]);A.length?this._events[b]=A.length===1?A[0]:A:s(this,b)}return this},f.prototype.removeAllListeners=function(v){var m;return v?(m=n?n+v:v,this._events[m]&&s(this,m)):(this._events=new a,this._eventsCount=0),this},f.prototype.off=f.prototype.removeListener,f.prototype.addListener=f.prototype.on,f.prefixed=n,f.EventEmitter=f,e.exports=f})(Pp)),Pp.exports}var t9=e9();const n9=Ya(t9);var $o=new n9,Ty="recharts.syncEvent.tooltip",wE="recharts.syncEvent.brush",BM=(e,t)=>{if(t&&Array.isArray(e)){var n=Number.parseInt(t,10);if(!jr(n))return e[n]}},r9={chartName:"",tooltipPayloadSearcher:()=>{},eventEmitter:void 0,defaultTooltipEventType:"axis"},UM=an({name:"options",initialState:r9,reducers:{createEventEmitter:e=>{e.eventEmitter==null&&(e.eventEmitter=Symbol("rechartsEventEmitter"))}}}),a9=UM.reducer,{createEventEmitter:i9}=UM.actions;function l9(e){return e.tooltip.syncInteraction}var u9={chartData:void 0,computedData:void 0,dataStartIndex:0,dataEndIndex:0},qM=an({name:"chartData",initialState:u9,reducers:{setChartData(e,t){if(e.chartData=t.payload,t.payload==null){e.dataStartIndex=0,e.dataEndIndex=0;return}t.payload.length>0&&e.dataEndIndex!==t.payload.length-1&&(e.dataEndIndex=t.payload.length-1)},setComputedData(e,t){e.computedData=t.payload},setDataStartEndIndexes(e,t){var{startIndex:n,endIndex:a}=t.payload;n!=null&&(e.dataStartIndex=n),a!=null&&(e.dataEndIndex=a)}}}),{setChartData:AE,setDataStartEndIndexes:o9,setComputedData:bY}=qM.actions,c9=qM.reducer,s9=["x","y"];function EE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function Ul(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?EE(Object(n),!0).forEach(function(a){f9(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):EE(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function f9(e,t,n){return(t=d9(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d9(e){var t=v9(e,"string");return typeof t=="symbol"?t:t+""}function v9(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function h9(e,t){if(e==null)return{};var n,a,l=m9(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}function m9(e,t){if(e==null)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;n[a]=e[a]}return n}function p9(){var e=ye(c0),t=ye(s0),n=et(),a=ye(XT),l=ye(da),o=lu(),s=dd(),f=ye(d=>d.rootProps.className);x.useEffect(()=>{if(e==null)return iu;var d=(v,m,y)=>{if(t!==y&&e===v){if(m.payload.active===!1){n(Ao({active:!1,coordinate:void 0,dataKey:void 0,index:null,label:void 0,sourceViewBox:void 0,graphicalItemId:void 0}));return}if(a==="index"){var g;if(s&&m!==null&&m!==void 0&&(g=m.payload)!==null&&g!==void 0&&g.coordinate&&m.payload.sourceViewBox){var b=m.payload.coordinate,{x:w,y:O}=b,A=h9(b,s9),{x:E,y:j,width:M,height:N}=m.payload.sourceViewBox,D=Ul(Ul({},A),{},{x:s.x+(M?(w-E)/M:0)*s.width,y:s.y+(N?(O-j)/N:0)*s.height});n(Ul(Ul({},m),{},{payload:Ul(Ul({},m.payload),{},{coordinate:D})}))}else n(m);return}if(l!=null){var C;if(typeof a=="function"){var z={activeTooltipIndex:m.payload.index==null?void 0:Number(m.payload.index),isTooltipActive:m.payload.active,activeIndex:m.payload.index==null?void 0:Number(m.payload.index),activeLabel:m.payload.label,activeDataKey:m.payload.dataKey,activeCoordinate:m.payload.coordinate},G=a(l,z);C=l[G]}else a==="value"&&(C=l.find(B=>String(B.value)===m.payload.label));var{coordinate:V}=m.payload;if(V==null||s==null){n(Ao({active:!1,coordinate:void 0,dataKey:void 0,index:null,label:void 0,sourceViewBox:void 0,graphicalItemId:void 0}));return}if(C==null){n(Ao({active:!1,coordinate:void 0,dataKey:void 0,index:null,label:void 0,sourceViewBox:m.payload.sourceViewBox,graphicalItemId:void 0}));return}var{x:Q,y:J}=V,$=Math.min(Q,s.x+s.width),ge=Math.min(J,s.y+s.height),oe={x:o==="horizontal"?C.coordinate:$,y:o==="horizontal"?ge:C.coordinate},me=Ao({active:m.payload.active,coordinate:oe,dataKey:m.payload.dataKey,index:String(C.index),label:m.payload.label,sourceViewBox:m.payload.sourceViewBox,graphicalItemId:m.payload.graphicalItemId});n(me)}}};return $o.on(Ty,d),()=>{$o.off(Ty,d)}},[f,n,t,e,a,l,o,s])}function y9(){var e=ye(c0),t=ye(s0),n=et();x.useEffect(()=>{if(e==null)return iu;var a=(l,o,s)=>{t!==s&&e===l&&n(o9(o))};return $o.on(wE,a),()=>{$o.off(wE,a)}},[n,t,e])}function g9(){var e=et();x.useEffect(()=>{e(i9())},[e]),p9(),y9()}function b9(e,t,n,a,l,o){var s=ye(w=>TU(w,e,t)),f=ye(NM),d=ye(s0),v=ye(c0),m=ye(XT),y=ye(l9),g=(y==null?void 0:y.sourceViewBox)!=null,b=dd();x.useEffect(()=>{if(!g&&v!=null&&d!=null){var w=Ao({active:o,coordinate:n,dataKey:s,index:l,label:typeof a=="number"?String(a):a,sourceViewBox:b,graphicalItemId:f});$o.emit(Ty,v,w,d)}},[g,n,s,f,l,a,d,v,m,o,b])}function _E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function TE(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_E(Object(n),!0).forEach(function(a){x9(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_E(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function x9(e,t,n){return(t=S9(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function S9(e){var t=O9(e,"string");return typeof t=="symbol"?t:t+""}function O9(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function w9(e){return e.dataKey}function A9(e,t){return x.isValidElement(e)?x.cloneElement(e,t):typeof e=="function"?x.createElement(e,t):x.createElement(X4,t)}var jE=[],E9={allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",axisId:0,contentStyle:{},cursor:!0,filterNull:!0,includeHidden:!1,isAnimationActive:"auto",itemSorter:"name",itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,wrapperStyle:{}};function ME(e){var t,n,a=rn(e,E9),{active:l,allowEscapeViewBox:o,animationDuration:s,animationEasing:f,content:d,filterNull:v,isAnimationActive:m,offset:y,payloadUniqBy:g,position:b,reverseDirection:w,useTranslate3d:O,wrapperStyle:A,cursor:E,shared:j,trigger:M,defaultIndex:N,portal:D,axisId:C}=a,z=et(),G=typeof N=="number"?String(N):N;x.useEffect(()=>{z(gB({shared:j,trigger:M,axisId:C,active:l,defaultIndex:G}))},[z,j,M,C,l,G]);var V=dd(),Q=wT(),J=dB(j),{activeIndex:$,isActive:ge}=(t=ye(ze=>CU(ze,J,M,G)))!==null&&t!==void 0?t:{},oe=ye(ze=>MU(ze,J,M,G)),me=ye(ze=>zM(ze,J,M,G)),B=ye(ze=>jU(ze,J,M,G)),Z=oe,ie=JU(),se=(n=l??ge)!==null&&n!==void 0?n:!1,[ve,k]=b6([Z,se]),K=J==="axis"?me:void 0;b9(J,M,B,K,$,se);var ae=D??ie;if(ae==null||V==null||J==null)return null;var ue=Z??jE;se||(ue=jE),v&&ue.length&&(ue=Kk(ue.filter(ze=>ze.value!=null&&(ze.hide!==!0||a.includeHidden)),g,w9));var be=ue.length>0,Oe=TE(TE({},a),{},{payload:ue,label:K,active:se,activeIndex:$,coordinate:B,accessibilityLayer:Q}),te=x.createElement(iR,{allowEscapeViewBox:o,animationDuration:s,animationEasing:f,isAnimationActive:m,active:se,coordinate:B,hasPayload:be,offset:y,position:b,reverseDirection:w,useTranslate3d:O,viewBox:V,wrapperStyle:A,lastBoundingBox:ve,innerRef:k,hasPortalFromProps:!!D},A9(d,Oe));return x.createElement(x.Fragment,null,H2.createPortal(te,ae),se&&x.createElement(QU,{cursor:E,tooltipEventType:J,coordinate:B,payload:ue,index:$}))}var sc=e=>null;sc.displayName="Cell";function _9(e,t,n){return(t=T9(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function T9(e){var t=j9(e,"string");return typeof t=="symbol"?t:t+""}function j9(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}class M9{constructor(t){_9(this,"cache",new Map),this.maxSize=t}get(t){var n=this.cache.get(t);return n!==void 0&&(this.cache.delete(t),this.cache.set(t,n)),n}set(t,n){if(this.cache.has(t))this.cache.delete(t);else if(this.cache.size>=this.maxSize){var a=this.cache.keys().next().value;a!=null&&this.cache.delete(a)}this.cache.set(t,n)}clear(){this.cache.clear()}size(){return this.cache.size}}function CE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function C9(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?CE(Object(n),!0).forEach(function(a){N9(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):CE(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function N9(e,t,n){return(t=P9(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function P9(e){var t=D9(e,"string");return typeof t=="symbol"?t:t+""}function D9(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var k9={cacheSize:2e3,enableCache:!0},HM=C9({},k9),NE=new M9(HM.cacheSize),R9={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},PE="recharts_measurement_span";function z9(e,t){var n=t.fontSize||"",a=t.fontFamily||"",l=t.fontWeight||"",o=t.fontStyle||"",s=t.letterSpacing||"",f=t.textTransform||"";return"".concat(e,"|").concat(n,"|").concat(a,"|").concat(l,"|").concat(o,"|").concat(s,"|").concat(f)}var DE=(e,t)=>{try{var n=document.getElementById(PE);n||(n=document.createElement("span"),n.setAttribute("id",PE),n.setAttribute("aria-hidden","true"),document.body.appendChild(n)),Object.assign(n.style,R9,t),n.textContent="".concat(e);var a=n.getBoundingClientRect();return{width:a.width,height:a.height}}catch{return{width:0,height:0}}},Mo=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t==null||Qo.isSsr)return{width:0,height:0};if(!HM.enableCache)return DE(t,n);var a=z9(t,n),l=NE.get(a);if(l)return l;var o=DE(t,n);return NE.set(a,o),o},GM;function I9(e,t,n){return(t=L9(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function L9(e){var t=B9(e,"string");return typeof t=="symbol"?t:t+""}function B9(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var kE=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,RE=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,U9=/^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/,q9=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,H9={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},G9=["cm","mm","pt","pc","in","Q","px"];function $9(e){return G9.includes(e)}var Kl="NaN";function K9(e,t){return e*H9[t]}class Ft{static parse(t){var n,[,a,l]=(n=q9.exec(t))!==null&&n!==void 0?n:[];return a==null?Ft.NaN:new Ft(parseFloat(a),l??"")}constructor(t,n){this.num=t,this.unit=n,this.num=t,this.unit=n,jr(t)&&(this.unit=""),n!==""&&!U9.test(n)&&(this.num=NaN,this.unit=""),$9(n)&&(this.num=K9(t,n),this.unit="px")}add(t){return this.unit!==t.unit?new Ft(NaN,""):new Ft(this.num+t.num,this.unit)}subtract(t){return this.unit!==t.unit?new Ft(NaN,""):new Ft(this.num-t.num,this.unit)}multiply(t){return this.unit!==""&&t.unit!==""&&this.unit!==t.unit?new Ft(NaN,""):new Ft(this.num*t.num,this.unit||t.unit)}divide(t){return this.unit!==""&&t.unit!==""&&this.unit!==t.unit?new Ft(NaN,""):new Ft(this.num/t.num,this.unit||t.unit)}toString(){return"".concat(this.num).concat(this.unit)}isNaN(){return jr(this.num)}}GM=Ft;I9(Ft,"NaN",new GM(NaN,""));function $M(e){if(e==null||e.includes(Kl))return Kl;for(var t=e;t.includes("*")||t.includes("/");){var n,[,a,l,o]=(n=kE.exec(t))!==null&&n!==void 0?n:[],s=Ft.parse(a??""),f=Ft.parse(o??""),d=l==="*"?s.multiply(f):s.divide(f);if(d.isNaN())return Kl;t=t.replace(kE,d.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var v,[,m,y,g]=(v=RE.exec(t))!==null&&v!==void 0?v:[],b=Ft.parse(m??""),w=Ft.parse(g??""),O=y==="+"?b.add(w):b.subtract(w);if(O.isNaN())return Kl;t=t.replace(RE,O.toString())}return t}var zE=/\(([^()]*)\)/;function Y9(e){for(var t=e,n;(n=zE.exec(t))!=null;){var[,a]=n;t=t.replace(zE,$M(a))}return t}function V9(e){var t=e.replace(/\s+/g,"");return t=Y9(t),t=$M(t),t}function X9(e){try{return V9(e)}catch{return Kl}}function Dp(e){var t=X9(e.slice(5,-1));return t===Kl?"":t}var Z9=["x","y","lineHeight","capHeight","fill","scaleToFit","textAnchor","verticalAnchor"],F9=["dx","dy","angle","className","breakAll"];function jy(){return jy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},jy.apply(null,arguments)}function IE(e,t){if(e==null)return{};var n,a,l=W9(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}function W9(e,t){if(e==null)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;n[a]=e[a]}return n}var KM=/[ \f\n\r\t\v\u2028\u2029]+/,YM=e=>{var{children:t,breakAll:n,style:a}=e;try{var l=[];Pt(t)||(n?l=t.toString().split(""):l=t.toString().split(KM));var o=l.map(f=>({word:f,width:Mo(f,a).width})),s=n?0:Mo(" ",a).width;return{wordsWithComputedWidth:o,spaceWidth:s}}catch{return null}};function VM(e){return e==="start"||e==="middle"||e==="end"||e==="inherit"}function Q9(e){return Pt(e)||typeof e=="string"||typeof e=="number"||typeof e=="boolean"}var XM=(e,t,n,a)=>e.reduce((l,o)=>{var{word:s,width:f}=o,d=l[l.length-1];if(d&&f!=null&&(t==null||a||d.width+f+n<Number(t)))d.words.push(s),d.width+=f+n;else{var v={words:[s],width:f};l.push(v)}return l},[]),ZM=e=>e.reduce((t,n)=>t.width>n.width?t:n),J9="…",LE=(e,t,n,a,l,o,s,f)=>{var d=e.slice(0,t),v=YM({breakAll:n,style:a,children:d+J9});if(!v)return[!1,[]];var m=XM(v.wordsWithComputedWidth,o,s,f),y=m.length>l||ZM(m).width>Number(o);return[y,m]},eq=(e,t,n,a,l)=>{var{maxLines:o,children:s,style:f,breakAll:d}=e,v=he(o),m=String(s),y=XM(t,a,n,l);if(!v||l)return y;var g=y.length>o||ZM(y).width>Number(a);if(!g)return y;for(var b=0,w=m.length-1,O=0,A;b<=w&&O<=m.length-1;){var E=Math.floor((b+w)/2),j=E-1,[M,N]=LE(m,j,d,f,o,a,n,l),[D]=LE(m,E,d,f,o,a,n,l);if(!M&&!D&&(b=E+1),M&&D&&(w=E-1),!M&&D){A=N;break}O++}return A||y},BE=e=>{var t=Pt(e)?[]:e.toString().split(KM);return[{words:t,width:void 0}]},tq=e=>{var{width:t,scaleToFit:n,children:a,style:l,breakAll:o,maxLines:s}=e;if((t||n)&&!Qo.isSsr){var f,d,v=YM({breakAll:o,children:a,style:l});if(v){var{wordsWithComputedWidth:m,spaceWidth:y}=v;f=m,d=y}else return BE(a);return eq({breakAll:o,children:a,maxLines:s,style:l},f,d,t,!!n)}return BE(a)},FM="#808080",nq={angle:0,breakAll:!1,capHeight:"0.71em",fill:FM,lineHeight:"1em",scaleToFit:!1,textAnchor:"start",verticalAnchor:"end",x:0,y:0},zd=x.forwardRef((e,t)=>{var n=rn(e,nq),{x:a,y:l,lineHeight:o,capHeight:s,fill:f,scaleToFit:d,textAnchor:v,verticalAnchor:m}=n,y=IE(n,Z9),g=x.useMemo(()=>tq({breakAll:y.breakAll,children:y.children,maxLines:y.maxLines,scaleToFit:d,style:y.style,width:y.width}),[y.breakAll,y.children,y.maxLines,d,y.style,y.width]),{dx:b,dy:w,angle:O,className:A,breakAll:E}=y,j=IE(y,F9);if(!Mr(a)||!Mr(l)||g.length===0)return null;var M=Number(a)+(he(b)?b:0),N=Number(l)+(he(w)?w:0);if(!Re(M)||!Re(N))return null;var D;switch(m){case"start":D=Dp("calc(".concat(s,")"));break;case"middle":D=Dp("calc(".concat((g.length-1)/2," * -").concat(o," + (").concat(s," / 2))"));break;default:D=Dp("calc(".concat(g.length-1," * -").concat(o,")"));break}var C=[],z=g[0];if(d&&z!=null){var G=z.width,{width:V}=y;C.push("scale(".concat(he(V)&&he(G)?V/G:1,")"))}return O&&C.push("rotate(".concat(O,", ").concat(M,", ").concat(N,")")),C.length&&(j.transform=C.join(" ")),x.createElement("text",jy({},er(j),{ref:t,x:M,y:N,className:Xe("recharts-text",A),textAnchor:v,fill:f.includes("url")?FM:f}),g.map((Q,J)=>{var $=Q.words.join(E?"":" ");return x.createElement("tspan",{x:M,dy:J===0?D:o,key:"".concat($,"-").concat(J)},$)}))});zd.displayName="Text";function UE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function wr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?UE(Object(n),!0).forEach(function(a){rq(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):UE(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function rq(e,t,n){return(t=aq(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function aq(e){var t=iq(e,"string");return typeof t=="symbol"?t:t+""}function iq(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var lq=e=>{var{viewBox:t,position:n,offset:a=0,parentViewBox:l}=e,{x:o,y:s,height:f,upperWidth:d,lowerWidth:v}=t0(t),m=o,y=o+(d-v)/2,g=(m+y)/2,b=(d+v)/2,w=m+d/2,O=f>=0?1:-1,A=O*a,E=O>0?"end":"start",j=O>0?"start":"end",M=d>=0?1:-1,N=M*a,D=M>0?"end":"start",C=M>0?"start":"end",z=l;if(n==="top"){var G={x:m+d/2,y:s-A,horizontalAnchor:"middle",verticalAnchor:E};return z&&(G.height=Math.max(s-z.y,0),G.width=d),G}if(n==="bottom"){var V={x:y+v/2,y:s+f+A,horizontalAnchor:"middle",verticalAnchor:j};return z&&(V.height=Math.max(z.y+z.height-(s+f),0),V.width=v),V}if(n==="left"){var Q={x:g-N,y:s+f/2,horizontalAnchor:D,verticalAnchor:"middle"};return z&&(Q.width=Math.max(Q.x-z.x,0),Q.height=f),Q}if(n==="right"){var J={x:g+b+N,y:s+f/2,horizontalAnchor:C,verticalAnchor:"middle"};return z&&(J.width=Math.max(z.x+z.width-J.x,0),J.height=f),J}var $=z?{width:b,height:f}:{};return n==="insideLeft"?wr({x:g+N,y:s+f/2,horizontalAnchor:C,verticalAnchor:"middle"},$):n==="insideRight"?wr({x:g+b-N,y:s+f/2,horizontalAnchor:D,verticalAnchor:"middle"},$):n==="insideTop"?wr({x:m+d/2,y:s+A,horizontalAnchor:"middle",verticalAnchor:j},$):n==="insideBottom"?wr({x:y+v/2,y:s+f-A,horizontalAnchor:"middle",verticalAnchor:E},$):n==="insideTopLeft"?wr({x:m+N,y:s+A,horizontalAnchor:C,verticalAnchor:j},$):n==="insideTopRight"?wr({x:m+d-N,y:s+A,horizontalAnchor:D,verticalAnchor:j},$):n==="insideBottomLeft"?wr({x:y+N,y:s+f-A,horizontalAnchor:C,verticalAnchor:E},$):n==="insideBottomRight"?wr({x:y+v-N,y:s+f-A,horizontalAnchor:D,verticalAnchor:E},$):n&&typeof n=="object"&&(he(n.x)||ki(n.x))&&(he(n.y)||ki(n.y))?wr({x:o+tn(n.x,b),y:s+tn(n.y,f),horizontalAnchor:"end",verticalAnchor:"end"},$):wr({x:w,y:s+f/2,horizontalAnchor:"middle",verticalAnchor:"middle"},$)},uq=["labelRef"],oq=["content"];function qE(e,t){if(e==null)return{};var n,a,l=cq(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}function cq(e,t){if(e==null)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;n[a]=e[a]}return n}function HE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function Eo(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?HE(Object(n),!0).forEach(function(a){sq(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):HE(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function sq(e,t,n){return(t=fq(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fq(e){var t=dq(e,"string");return typeof t=="symbol"?t:t+""}function dq(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Qr(){return Qr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Qr.apply(null,arguments)}var WM=x.createContext(null),vq=e=>{var{x:t,y:n,upperWidth:a,lowerWidth:l,width:o,height:s,children:f}=e,d=x.useMemo(()=>({x:t,y:n,upperWidth:a,lowerWidth:l,width:o,height:s}),[t,n,a,l,o,s]);return x.createElement(WM.Provider,{value:d},f)},QM=()=>{var e=x.useContext(WM),t=dd();return e||(t?t0(t):void 0)},hq=x.createContext(null),mq=()=>{var e=x.useContext(hq),t=ye(JT);return e||t},pq=e=>{var{value:t,formatter:n}=e,a=Pt(e.children)?t:e.children;return typeof n=="function"?n(a):a},mg=e=>e!=null&&typeof e=="function",yq=(e,t)=>{var n=Ut(t-e),a=Math.min(Math.abs(t-e),360);return n*a},gq=(e,t,n,a,l)=>{var{offset:o,className:s}=e,{cx:f,cy:d,innerRadius:v,outerRadius:m,startAngle:y,endAngle:g,clockWise:b}=l,w=(v+m)/2,O=yq(y,g),A=O>=0?1:-1,E,j;switch(t){case"insideStart":E=y+A*o,j=b;break;case"insideEnd":E=g-A*o,j=!b;break;case"end":E=g+A*o,j=b;break;default:throw new Error("Unsupported position ".concat(t))}j=O<=0?j:!j;var M=wt(f,d,w,E),N=wt(f,d,w,E+(j?1:-1)*359),D="M".concat(M.x,",").concat(M.y,`
    A`).concat(w,",").concat(w,",0,1,").concat(j?0:1,`,
    `).concat(N.x,",").concat(N.y),C=Pt(e.id)?No("recharts-radial-line-"):e.id;return x.createElement("text",Qr({},a,{dominantBaseline:"central",className:Xe("recharts-radial-bar-label",s)}),x.createElement("defs",null,x.createElement("path",{id:C,d:D})),x.createElement("textPath",{xlinkHref:"#".concat(C)},n))},bq=(e,t,n)=>{var{cx:a,cy:l,innerRadius:o,outerRadius:s,startAngle:f,endAngle:d}=e,v=(f+d)/2;if(n==="outside"){var{x:m,y}=wt(a,l,s+t,v);return{x:m,y,textAnchor:m>=a?"start":"end",verticalAnchor:"middle"}}if(n==="center")return{x:a,y:l,textAnchor:"middle",verticalAnchor:"middle"};if(n==="centerTop")return{x:a,y:l,textAnchor:"middle",verticalAnchor:"start"};if(n==="centerBottom")return{x:a,y:l,textAnchor:"middle",verticalAnchor:"end"};var g=(o+s)/2,{x:b,y:w}=wt(a,l,g,v);return{x:b,y:w,textAnchor:"middle",verticalAnchor:"middle"}},Fs=e=>e!=null&&"cx"in e&&he(e.cx),xq={angle:0,offset:5,zIndex:Wt.label,position:"middle",textBreakAll:!1};function Sq(e){if(!Fs(e))return e;var{cx:t,cy:n,outerRadius:a}=e,l=a*2;return{x:t-a,y:n-a,width:l,upperWidth:l,lowerWidth:l,height:l}}function Ba(e){var t=rn(e,xq),{viewBox:n,parentViewBox:a,position:l,value:o,children:s,content:f,className:d="",textBreakAll:v,labelRef:m}=t,y=mq(),g=QM(),b=l==="center"?g:y??g,w,O,A;n==null?w=b:Fs(n)?w=n:w=t0(n);var E=Sq(w);if(!w||Pt(o)&&Pt(s)&&!x.isValidElement(f)&&typeof f!="function")return null;var j=Eo(Eo({},t),{},{viewBox:w});if(x.isValidElement(f)){var{labelRef:M}=j,N=qE(j,uq);return x.cloneElement(f,N)}if(typeof f=="function"){var{content:D}=j,C=qE(j,oq);if(O=x.createElement(f,C),x.isValidElement(O))return O}else O=pq(t);var z=er(t);if(Fs(w)){if(l==="insideStart"||l==="insideEnd"||l==="end")return gq(t,l,O,z,w);A=bq(w,t.offset,t.position)}else{if(!E)return null;var G=lq({viewBox:E,position:l,offset:t.offset,parentViewBox:Fs(a)?void 0:a});A=Eo(Eo({x:G.x,y:G.y,textAnchor:G.horizontalAnchor,verticalAnchor:G.verticalAnchor},G.width!==void 0?{width:G.width}:{}),G.height!==void 0?{height:G.height}:{})}return x.createElement(hr,{zIndex:t.zIndex},x.createElement(zd,Qr({ref:m,className:Xe("recharts-label",d)},z,A,{textAnchor:VM(z.textAnchor)?z.textAnchor:A.textAnchor,breakAll:v}),O))}Ba.displayName="Label";var Oq=(e,t,n)=>{if(!e)return null;var a={viewBox:t,labelRef:n};return e===!0?x.createElement(Ba,Qr({key:"label-implicit"},a)):Mr(e)?x.createElement(Ba,Qr({key:"label-implicit",value:e},a)):x.isValidElement(e)?e.type===Ba?x.cloneElement(e,Eo({key:"label-implicit"},a)):x.createElement(Ba,Qr({key:"label-implicit",content:e},a)):mg(e)?x.createElement(Ba,Qr({key:"label-implicit",content:e},a)):e&&typeof e=="object"?x.createElement(Ba,Qr({},e,{key:"label-implicit"},a)):null};function wq(e){var{label:t,labelRef:n}=e,a=QM();return Oq(t,a,n)||null}var Aq=["valueAccessor"],Eq=["dataKey","clockWise","id","textBreakAll","zIndex"];function Uf(){return Uf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Uf.apply(null,arguments)}function GE(e,t){if(e==null)return{};var n,a,l=_q(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}function _q(e,t){if(e==null)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;n[a]=e[a]}return n}var Tq=e=>{var t=Array.isArray(e.value)?e.value[e.value.length-1]:e.value;if(Q9(t))return t},JM=x.createContext(void 0),jq=JM.Provider,eC=x.createContext(void 0),Mq=eC.Provider;function Cq(){return x.useContext(JM)}function Nq(){return x.useContext(eC)}function Ws(e){var{valueAccessor:t=Tq}=e,n=GE(e,Aq),{dataKey:a,clockWise:l,id:o,textBreakAll:s,zIndex:f}=n,d=GE(n,Eq),v=Cq(),m=Nq(),y=v||m;return!y||!y.length?null:x.createElement(hr,{zIndex:f??Wt.label},x.createElement(nn,{className:"recharts-label-list"},y.map((g,b)=>{var w,O=Pt(a)?t(g,b):Fe(g.payload,a),A=Pt(o)?{}:{id:"".concat(o,"-").concat(b)};return x.createElement(Ba,Uf({key:"label-".concat(b)},er(g),d,A,{fill:(w=n.fill)!==null&&w!==void 0?w:g.fill,parentViewBox:g.parentViewBox,value:O,textBreakAll:s,viewBox:g.viewBox,index:b,zIndex:0}))})))}Ws.displayName="LabelList";function tC(e){var{label:t}=e;return t?t===!0?x.createElement(Ws,{key:"labelList-implicit"}):x.isValidElement(t)||mg(t)?x.createElement(Ws,{key:"labelList-implicit",content:t}):typeof t=="object"?x.createElement(Ws,Uf({key:"labelList-implicit"},t,{type:String(t.type)})):null:null}var nC=e=>e.graphicalItems.polarItems,Pq=L([ct,tc],q0),Id=L([nC,mt,Pq],G0),Dq=L([Id],$0),Ld=L([Dq,Jo],K0),kq=L([Ld,mt,Id],$j);L([Ld,mt,Id],(e,t,n)=>n.length>0?e.flatMap(a=>n.flatMap(l=>{var o,s=Fe(a,(o=t.dataKey)!==null&&o!==void 0?o:l.dataKey);return{value:s,errorDomain:[]}})).filter(Boolean):(t==null?void 0:t.dataKey)!=null?e.map(a=>({value:Fe(a,t.dataKey),errorDomain:[]})):e.map(a=>({value:a,errorDomain:[]})));var $E=()=>{},Rq=L([Ld,mt,Id,Pd,ct,pz],F0),zq=L([mt,X0,Z0,$E,Rq,$E,qe,ct],W0),rC=L([mt,qe,Ld,kq,ec,ct,zq],Q0),Iq=L([rC,fu,Fa],eg),Lq=L([mt,rC,Iq,ct],ng);L([Fa,Lq],tj);var Bq={radiusAxis:{},angleAxis:{}},aC=an({name:"polarAxis",initialState:Bq,reducers:{addRadiusAxis(e,t){e.radiusAxis[t.payload.id]=t.payload},removeRadiusAxis(e,t){delete e.radiusAxis[t.payload.id]},addAngleAxis(e,t){e.angleAxis[t.payload.id]=t.payload},removeAngleAxis(e,t){delete e.angleAxis[t.payload.id]}}}),{addRadiusAxis:xY,removeRadiusAxis:SY,addAngleAxis:OY,removeAngleAxis:wY}=aC.actions,Uq=aC.reducer;function iC(e){return e&&typeof e=="object"&&"className"in e&&typeof e.className=="string"?e.className:""}function KE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function YE(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?KE(Object(n),!0).forEach(function(a){qq(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):KE(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function qq(e,t,n){return(t=Hq(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hq(e){var t=Gq(e,"string");return typeof t=="symbol"?t:t+""}function Gq(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var $q=(e,t)=>t,pg=L([nC,$q],(e,t)=>e.filter(n=>n.type==="pie").find(n=>n.id===t)),Kq=[],yg=(e,t,n)=>(n==null?void 0:n.length)===0?Kq:n,lC=L([Jo,pg,yg],(e,t,n)=>{var{chartData:a}=e;if(t!=null){var l;if((t==null?void 0:t.data)!=null&&t.data.length>0?l=t.data:l=a,(!l||!l.length)&&n!=null&&(l=n.map(o=>YE(YE({},t.presentationProps),o.props))),l!=null)return l}}),Yq=L([lC,pg,yg],(e,t,n)=>{if(!(e==null||t==null))return e.map((a,l)=>{var o,s=Fe(a,t.nameKey,t.name),f;return n!=null&&(o=n[l])!==null&&o!==void 0&&(o=o.props)!==null&&o!==void 0&&o.fill?f=n[l].props.fill:typeof a=="object"&&a!=null&&"fill"in a?f=a.fill:f=t.fill,{value:ud(s,t.dataKey),color:f,payload:a,type:t.legendType}})}),Vq=L([lC,pg,yg,Dt],(e,t,n,a)=>{if(!(t==null||e==null))return J7({offset:a,pieSettings:t,displayedData:e,cells:n})}),kp={exports:{}},Ve={};/**
 * @license React
 * react-is.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var VE;function Xq(){if(VE)return Ve;VE=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),s=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),g=Symbol.for("react.view_transition"),b=Symbol.for("react.client.reference");function w(O){if(typeof O=="object"&&O!==null){var A=O.$$typeof;switch(A){case e:switch(O=O.type,O){case n:case l:case a:case d:case v:case g:return O;default:switch(O=O&&O.$$typeof,O){case s:case f:case y:case m:return O;case o:return O;default:return A}}case t:return A}}}return Ve.ContextConsumer=o,Ve.ContextProvider=s,Ve.Element=e,Ve.ForwardRef=f,Ve.Fragment=n,Ve.Lazy=y,Ve.Memo=m,Ve.Portal=t,Ve.Profiler=l,Ve.StrictMode=a,Ve.Suspense=d,Ve.SuspenseList=v,Ve.isContextConsumer=function(O){return w(O)===o},Ve.isContextProvider=function(O){return w(O)===s},Ve.isElement=function(O){return typeof O=="object"&&O!==null&&O.$$typeof===e},Ve.isForwardRef=function(O){return w(O)===f},Ve.isFragment=function(O){return w(O)===n},Ve.isLazy=function(O){return w(O)===y},Ve.isMemo=function(O){return w(O)===m},Ve.isPortal=function(O){return w(O)===t},Ve.isProfiler=function(O){return w(O)===l},Ve.isStrictMode=function(O){return w(O)===a},Ve.isSuspense=function(O){return w(O)===d},Ve.isSuspenseList=function(O){return w(O)===v},Ve.isValidElementType=function(O){return typeof O=="string"||typeof O=="function"||O===n||O===l||O===a||O===d||O===v||typeof O=="object"&&O!==null&&(O.$$typeof===y||O.$$typeof===m||O.$$typeof===s||O.$$typeof===o||O.$$typeof===f||O.$$typeof===b||O.getModuleId!==void 0)},Ve.typeOf=w,Ve}var XE;function Zq(){return XE||(XE=1,kp.exports=Xq()),kp.exports}var Fq=Zq(),ZE=e=>typeof e=="string"?e:e?e.displayName||e.name||"Component":"",FE=null,Rp=null,uC=e=>{if(e===FE&&Array.isArray(Rp))return Rp;var t=[];return x.Children.forEach(e,n=>{Pt(n)||(Fq.isFragment(n)?t=t.concat(uC(n.props.children)):t.push(n))}),Rp=t,FE=e,t};function gg(e,t){var n=[],a=[];return Array.isArray(t)?a=t.map(l=>ZE(l)):a=[ZE(t)],uC(e).forEach(l=>{var o=Di(l,"type.displayName")||Di(l,"type.name");o&&a.indexOf(o)!==-1&&n.push(l)}),n}var zp={},WE;function Wq(){return WE||(WE=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){var l;if(typeof n!="object"||n==null)return!1;if(Object.getPrototypeOf(n)===null)return!0;if(Object.prototype.toString.call(n)!=="[object Object]"){const o=n[Symbol.toStringTag];return o==null||!((l=Object.getOwnPropertyDescriptor(n,Symbol.toStringTag))!=null&&l.writable)?!1:n.toString()===`[object ${o}]`}let a=n;for(;Object.getPrototypeOf(a)!==null;)a=Object.getPrototypeOf(a);return Object.getPrototypeOf(n)===a}e.isPlainObject=t})(zp)),zp}var Ip,QE;function Qq(){return QE||(QE=1,Ip=Wq().isPlainObject),Ip}var Jq=Qq();const e7=Ya(Jq);var JE,e2,t2,n2,r2;function a2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function i2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?a2(Object(n),!0).forEach(function(a){t7(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a2(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function t7(e,t,n){return(t=n7(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n7(e){var t=r7(e,"string");return typeof t=="symbol"?t:t+""}function r7(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function qf(){return qf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},qf.apply(null,arguments)}function bo(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var l2=(e,t,n,a,l)=>{var o=n-a,s;return s=ht(JE||(JE=bo(["M ",",",""])),e,t),s+=ht(e2||(e2=bo(["L ",",",""])),e+n,t),s+=ht(t2||(t2=bo(["L ",",",""])),e+n-o/2,t+l),s+=ht(n2||(n2=bo(["L ",",",""])),e+n-o/2-a,t+l),s+=ht(r2||(r2=bo(["L ",","," Z"])),e,t),s},a7={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},i7=e=>{var t=rn(e,a7),{x:n,y:a,upperWidth:l,lowerWidth:o,height:s,className:f}=t,{animationEasing:d,animationDuration:v,animationBegin:m,isUpdateAnimationActive:y}=t,g=x.useRef(null),[b,w]=x.useState(-1),O=x.useRef(l),A=x.useRef(o),E=x.useRef(s),j=x.useRef(n),M=x.useRef(a),N=gd(e,"trapezoid-");if(x.useEffect(()=>{if(g.current&&g.current.getTotalLength)try{var oe=g.current.getTotalLength();oe&&w(oe)}catch{}},[]),n!==+n||a!==+a||l!==+l||o!==+o||s!==+s||l===0&&o===0||s===0)return null;var D=Xe("recharts-trapezoid",f);if(!y)return x.createElement("g",null,x.createElement("path",qf({},er(t),{className:D,d:l2(n,a,l,o,s)})));var C=O.current,z=A.current,G=E.current,V=j.current,Q=M.current,J="0px ".concat(b===-1?1:b,"px"),$="".concat(b,"px ").concat(b,"px"),ge=AT(["strokeDasharray"],v,d);return x.createElement(yd,{animationId:N,key:N,canBegin:b>0,duration:v,easing:d,isActive:y,begin:m},oe=>{var me=Ct(C,l,oe),B=Ct(z,o,oe),Z=Ct(G,s,oe),ie=Ct(V,n,oe),se=Ct(Q,a,oe);g.current&&(O.current=me,A.current=B,E.current=Z,j.current=ie,M.current=se);var ve=oe>0?{transition:ge,strokeDasharray:$}:{strokeDasharray:J};return x.createElement("path",qf({},er(t),{className:D,d:l2(ie,se,me,B,Z),ref:g,style:i2(i2({},ve),t.style)}))})},l7=["option","shapeType","activeClassName","inActiveClassName"];function u7(e,t){if(e==null)return{};var n,a,l=o7(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}function o7(e,t){if(e==null)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;n[a]=e[a]}return n}function u2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function Hf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?u2(Object(n),!0).forEach(function(a){c7(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u2(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function c7(e,t,n){return(t=s7(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s7(e){var t=f7(e,"string");return typeof t=="symbol"?t:t+""}function f7(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function d7(e,t){return Hf(Hf({},t),e)}function v7(e,t){return e==="symbols"}function o2(e){var{shapeType:t,elementProps:n}=e;switch(t){case"rectangle":return x.createElement(jT,n);case"trapezoid":return x.createElement(i7,n);case"sector":return x.createElement(PT,n);case"symbols":if(v7(t))return x.createElement(o_,n);break;case"curve":return x.createElement(a0,n);default:return null}}function h7(e){return x.isValidElement(e)?e.props:e}function oC(e){var{option:t,shapeType:n,activeClassName:a="recharts-active-shape",inActiveClassName:l="recharts-shape"}=e,o=u7(e,l7),s;if(x.isValidElement(t))s=x.cloneElement(t,Hf(Hf({},o),h7(t)));else if(typeof t=="function")s=t(o,o.index);else if(e7(t)&&typeof t!="boolean"){var f=d7(t,o);s=x.createElement(o2,{shapeType:n,elementProps:f})}else{var d=o;s=x.createElement(o2,{shapeType:n,elementProps:d})}return o.isActive?x.createElement(nn,{className:a},s):x.createElement(nn,{className:l},s)}var bg=(e,t,n)=>{var a=et();return(l,o)=>s=>{e==null||e(l,o,s),a(mM({activeIndex:String(o),activeDataKey:t,activeCoordinate:l.tooltipPosition,activeGraphicalItemId:n}))}},xg=e=>{var t=et();return(n,a)=>l=>{e==null||e(n,a,l),t(bB())}},Sg=(e,t,n)=>{var a=et();return(l,o)=>s=>{e==null||e(l,o,s),a(xB({activeIndex:String(o),activeDataKey:t,activeCoordinate:l.tooltipPosition,activeGraphicalItemId:n}))}};function cC(e){var{tooltipEntrySettings:t}=e,n=et(),a=En(),l=x.useRef(null);return x.useLayoutEffect(()=>{a||(l.current===null?n(mB(t)):l.current!==t&&n(pB({prev:l.current,next:t})),l.current=t)},[t,n,a]),x.useLayoutEffect(()=>()=>{l.current&&(n(yB(l.current)),l.current=null)},[n]),null}function m7(e){var{legendPayload:t}=e,n=et(),a=En(),l=x.useRef(null);return x.useLayoutEffect(()=>{a||(l.current===null?n(bT(t)):l.current!==t&&n(xT({prev:l.current,next:t})),l.current=t)},[n,a,t]),x.useLayoutEffect(()=>()=>{l.current&&(n(ST(l.current)),l.current=null)},[n]),null}function p7(e){var{legendPayload:t}=e,n=et(),a=ye(qe),l=x.useRef(null);return x.useLayoutEffect(()=>{a!=="centric"&&a!=="radial"||(l.current===null?n(bT(t)):l.current!==t&&n(xT({prev:l.current,next:t})),l.current=t)},[n,a,t]),x.useLayoutEffect(()=>()=>{l.current&&(n(ST(l.current)),l.current=null)},[n]),null}var Lp,y7=()=>{var[e]=x.useState(()=>No("uid-"));return e},g7=(Lp=mD.useId)!==null&&Lp!==void 0?Lp:y7;function b7(e,t){var n=g7();return t||(e?"".concat(e,"-").concat(n):n)}var x7=x.createContext(void 0),sC=e=>{var{id:t,type:n,children:a}=e,l=b7("recharts-".concat(n),t);return x.createElement(x7.Provider,{value:l},a(l))},S7={cartesianItems:[],polarItems:[]},fC=an({name:"graphicalItems",initialState:S7,reducers:{addCartesianGraphicalItem:{reducer(e,t){e.cartesianItems.push(t.payload)},prepare:rt()},replaceCartesianGraphicalItem:{reducer(e,t){var{prev:n,next:a}=t.payload,l=Qn(e).cartesianItems.indexOf(n);l>-1&&(e.cartesianItems[l]=a)},prepare:rt()},removeCartesianGraphicalItem:{reducer(e,t){var n=Qn(e).cartesianItems.indexOf(t.payload);n>-1&&e.cartesianItems.splice(n,1)},prepare:rt()},addPolarGraphicalItem:{reducer(e,t){e.polarItems.push(t.payload)},prepare:rt()},removePolarGraphicalItem:{reducer(e,t){var n=Qn(e).polarItems.indexOf(t.payload);n>-1&&e.polarItems.splice(n,1)},prepare:rt()},replacePolarGraphicalItem:{reducer(e,t){var{prev:n,next:a}=t.payload,l=Qn(e).polarItems.indexOf(n);l>-1&&(e.polarItems[l]=a)},prepare:rt()}}}),{addCartesianGraphicalItem:O7,replaceCartesianGraphicalItem:w7,removeCartesianGraphicalItem:A7,addPolarGraphicalItem:E7,removePolarGraphicalItem:_7,replacePolarGraphicalItem:T7}=fC.actions,j7=fC.reducer,M7=e=>{var t=et(),n=x.useRef(null);return x.useLayoutEffect(()=>{n.current===null?t(O7(e)):n.current!==e&&t(w7({prev:n.current,next:e})),n.current=e},[t,e]),x.useLayoutEffect(()=>()=>{n.current&&(t(A7(n.current)),n.current=null)},[t]),null},C7=x.memo(M7),N7=e=>{var t=et(),n=x.useRef(null);return x.useLayoutEffect(()=>{n.current===null?t(E7(e)):n.current!==e&&t(T7({prev:n.current,next:e})),n.current=e},[t,e]),x.useLayoutEffect(()=>()=>{n.current&&(t(_7(n.current)),n.current=null)},[t]),null},P7=x.memo(N7),D7=["key"],k7=["onMouseEnter","onClick","onMouseLeave"],R7=["id"],z7=["id"];function $a(){return $a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},$a.apply(null,arguments)}function Bd(e,t){if(e==null)return{};var n,a,l=I7(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}function I7(e,t){if(e==null)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;n[a]=e[a]}return n}function c2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function ut(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?c2(Object(n),!0).forEach(function(a){L7(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c2(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function L7(e,t,n){return(t=B7(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function B7(e){var t=U7(e,"string");return typeof t=="symbol"?t:t+""}function U7(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function q7(e){var t=x.useMemo(()=>gg(e.children,sc),[e.children]),n=ye(a=>Yq(a,e.id,t));return n==null?null:x.createElement(p7,{legendPayload:n})}function H7(e){if(!(e==null||typeof e=="boolean"||typeof e=="function")){if(x.isValidElement(e)){var t,n=(t=e.props)===null||t===void 0?void 0:t.fill;return typeof n=="string"?n:void 0}var{fill:a}=e;return typeof a=="string"?a:void 0}}var G7=x.memo(e=>{var{dataKey:t,nameKey:n,sectors:a,stroke:l,strokeWidth:o,fill:s,name:f,hide:d,tooltipType:v,id:m,activeShape:y}=e,g=H7(y),b=a.map(O=>{var A=O.tooltipPayload;return g==null||A==null?A:A.map(E=>ut(ut({},E),{},{color:g,fill:g}))}),w={dataDefinedOnItem:b,getPosition:O=>{var A;return(A=a[Number(O)])===null||A===void 0?void 0:A.tooltipPosition},settings:{stroke:l,strokeWidth:o,fill:s,dataKey:t,nameKey:n,name:ud(f,t),hide:d,type:v,color:s,unit:"",graphicalItemId:m}};return x.createElement(cC,{tooltipEntrySettings:w})}),$7=(e,t)=>e>t?"start":e<t?"end":"middle",K7=(e,t,n)=>tn(typeof t=="function"?t(e):t,n,n*.8),Y7=(e,t,n)=>{var{top:a,left:l,width:o,height:s}=t,f=MT(o,s),d=l+tn(e.cx,o,o/2),v=a+tn(e.cy,s,s/2),m=tn(e.innerRadius,f,0),y=K7(n,e.outerRadius,f),g=e.maxRadius||Math.sqrt(o*o+s*s)/2;return{cx:d,cy:v,innerRadius:m,outerRadius:y,maxRadius:g}},V7=(e,t)=>{var n=Ut(t-e),a=Math.min(Math.abs(t-e),360);return n*a},X7=(e,t)=>{if(x.isValidElement(e))return x.cloneElement(e,t);if(typeof e=="function")return e(t);var n=Xe("recharts-pie-label-line",typeof e!="boolean"?e.className:""),{key:a}=t,l=Bd(t,D7);return x.createElement(a0,$a({},l,{type:"linear",className:n}))},Z7=(e,t,n)=>{if(x.isValidElement(e))return x.cloneElement(e,t);var a=n;if(typeof e=="function"&&(a=e(t),x.isValidElement(a)))return a;var l=Xe("recharts-pie-label-text",iC(e));return x.createElement(zd,$a({},t,{alignmentBaseline:"middle",className:l}),a)};function F7(e){var{sectors:t,props:n,showLabels:a}=e,{label:l,labelLine:o,dataKey:s}=n;if(!a||!l||!t)return null;var f=sr(n),d=Co(l),v=Co(o),m=typeof l=="object"&&"offsetRadius"in l&&typeof l.offsetRadius=="number"&&l.offsetRadius||20,y=t.map((g,b)=>{var w=(g.startAngle+g.endAngle)/2,O=wt(g.cx,g.cy,g.outerRadius+m,w),A=ut(ut(ut(ut({},f),g),{},{stroke:"none"},d),{},{index:b,textAnchor:$7(O.x,g.cx)},O),E=ut(ut(ut(ut({},f),g),{},{fill:"none",stroke:g.fill},v),{},{index:b,points:[wt(g.cx,g.cy,g.outerRadius,w),O],key:"line"});return x.createElement(hr,{zIndex:Wt.label,key:"label-".concat(g.startAngle,"-").concat(g.endAngle,"-").concat(g.midAngle,"-").concat(b)},x.createElement(nn,null,o&&X7(o,E),Z7(l,A,Fe(g,s))))});return x.createElement(nn,{className:"recharts-pie-labels"},y)}function W7(e){var{sectors:t,props:n,showLabels:a}=e,{label:l}=n;return typeof l=="object"&&l!=null&&"position"in l?x.createElement(tC,{label:l}):x.createElement(F7,{sectors:t,props:n,showLabels:a})}function Q7(e){var{sectors:t,activeShape:n,inactiveShape:a,allOtherPieProps:l,shape:o,id:s}=e,f=ye(Ui),d=ye(sg),v=ye(NM),{onMouseEnter:m,onClick:y,onMouseLeave:g}=l,b=Bd(l,k7),w=bg(m,l.dataKey,s),O=xg(g),A=Sg(y,l.dataKey,s);return t==null||t.length===0?null:x.createElement(x.Fragment,null,t.map((E,j)=>{if((E==null?void 0:E.startAngle)===0&&(E==null?void 0:E.endAngle)===0&&t.length!==1)return null;var M=v==null||v===s,N=String(j)===f&&(d==null||l.dataKey===d)&&M,D=f?a:null,C=n&&N?n:D,z=ut(ut({},E),{},{stroke:E.stroke,tabIndex:-1,[nT]:j,[rT]:s});return x.createElement(nn,$a({key:"sector-".concat(E==null?void 0:E.startAngle,"-").concat(E==null?void 0:E.endAngle,"-").concat(E.midAngle,"-").concat(j),tabIndex:-1,className:"recharts-pie-sector"},Ff(b,E,j),{onMouseEnter:w(E,j),onMouseLeave:O(E,j),onClick:A(E,j)}),x.createElement(oC,$a({option:o??C,index:j,shapeType:"sector",isActive:N},z)))}))}function J7(e){var t,{pieSettings:n,displayedData:a,cells:l,offset:o}=e,{cornerRadius:s,startAngle:f,endAngle:d,dataKey:v,nameKey:m,tooltipType:y}=n,g=Math.abs(n.minAngle),b=V7(f,d),w=Math.abs(b),O=a.length<=1?0:(t=n.paddingAngle)!==null&&t!==void 0?t:0,A=a.filter(G=>Fe(G,v,0)!==0).length,E=(w>=360?A:A-1)*O,j=a.reduce((G,V)=>{var Q=Fe(V,v,0);return G+(he(Q)?Q:0)},0),M=g>0&&j>0&&a.some(G=>{var V=Fe(G,v,0),Q=(he(V)?V:0)/j;return V!==0&&Q*w<g}),N=M?g:0,D=w-A*N-E,C;if(j>0){var z;C=a.map((G,V)=>{var Q=Fe(G,v,0),J=Fe(G,m,V),$=Y7(n,o,G),ge=(he(Q)?Q:0)/j,oe,me=ut(ut({},G),l&&l[V]&&l[V].props),B=me!=null&&"fill"in me&&typeof me.fill=="string"?me.fill:n.fill;V?oe=z.endAngle+Ut(b)*O*(Q!==0?1:0):oe=f;var Z=oe+Ut(b)*((Q!==0?N:0)+ge*D),ie=(oe+Z)/2,se=($.innerRadius+$.outerRadius)/2,ve=[{name:J,value:Q,payload:me,dataKey:v,type:y,color:B,fill:B,graphicalItemId:n.id}],k=wt($.cx,$.cy,se,ie);return z=ut(ut(ut(ut({},n.presentationProps),{},{percent:ge,cornerRadius:typeof s=="string"?parseFloat(s):s,name:J,tooltipPayload:ve,midAngle:ie,middleRadius:se,tooltipPosition:k},me),$),{},{value:Q,dataKey:v,startAngle:oe,endAngle:Z,payload:me,paddingAngle:Q!==0?Ut(b)*O:0}),z})}return C}function eH(e){var{showLabels:t,sectors:n,children:a}=e,l=x.useMemo(()=>!t||!n?[]:n.map(o=>({value:o.value,payload:o.payload,clockWise:!1,parentViewBox:void 0,viewBox:{cx:o.cx,cy:o.cy,innerRadius:o.innerRadius,outerRadius:o.outerRadius,startAngle:o.startAngle,endAngle:o.endAngle,clockWise:!1},fill:o.fill})),[n,t]);return x.createElement(Mq,{value:t?l:void 0},a)}function tH(e){var{props:t,previousSectorsRef:n,id:a}=e,{sectors:l,isAnimationActive:o,animationBegin:s,animationDuration:f,animationEasing:d,activeShape:v,inactiveShape:m,onAnimationStart:y,onAnimationEnd:g}=t,b=gd(t,"recharts-pie-"),w=n.current,[O,A]=x.useState(!1),E=x.useCallback(()=>{typeof g=="function"&&g(),A(!1)},[g]),j=x.useCallback(()=>{typeof y=="function"&&y(),A(!0)},[y]);return x.createElement(eH,{showLabels:!O,sectors:l},x.createElement(yd,{animationId:b,begin:s,duration:f,isActive:o,easing:d,onAnimationStart:j,onAnimationEnd:E,key:b},M=>{var N,D=[],C=l&&l[0],z=(N=C==null?void 0:C.startAngle)!==null&&N!==void 0?N:0;return l==null||l.forEach((G,V)=>{var Q=w&&w[V],J=V>0?Di(G,"paddingAngle",0):0;if(Q){var $=Ct(Q.endAngle-Q.startAngle,G.endAngle-G.startAngle,M),ge=ut(ut({},G),{},{startAngle:z+J,endAngle:z+$+J});D.push(ge),z=ge.endAngle}else{var{endAngle:oe,startAngle:me}=G,B=Ct(0,oe-me,M),Z=ut(ut({},G),{},{startAngle:z+J,endAngle:z+B+J});D.push(Z),z=Z.endAngle}}),n.current=D,x.createElement(nn,null,x.createElement(Q7,{sectors:D,activeShape:v,inactiveShape:m,allOtherPieProps:t,shape:t.shape,id:a}))}),x.createElement(W7,{showLabels:!O,sectors:l,props:t}),t.children)}var nH={animationBegin:400,animationDuration:1500,animationEasing:"ease",cx:"50%",cy:"50%",dataKey:"value",endAngle:360,fill:"#808080",hide:!1,innerRadius:0,isAnimationActive:"auto",label:!1,labelLine:!0,legendType:"rect",minAngle:0,nameKey:"name",outerRadius:"80%",paddingAngle:0,rootTabIndex:0,startAngle:0,stroke:"#fff",zIndex:Wt.area};function rH(e){var{id:t}=e,n=Bd(e,R7),{hide:a,className:l,rootTabIndex:o}=e,s=x.useMemo(()=>gg(e.children,sc),[e.children]),f=ye(m=>Vq(m,t,s)),d=x.useRef(null),v=Xe("recharts-pie",l);return a||f==null?(d.current=null,x.createElement(nn,{tabIndex:o,className:v})):x.createElement(hr,{zIndex:e.zIndex},x.createElement(G7,{dataKey:e.dataKey,nameKey:e.nameKey,sectors:f,stroke:e.stroke,strokeWidth:e.strokeWidth,fill:e.fill,name:e.name,hide:e.hide,tooltipType:e.tooltipType,id:t,activeShape:e.activeShape}),x.createElement(nn,{tabIndex:o,className:v},x.createElement(tH,{props:ut(ut({},n),{},{sectors:f}),previousSectorsRef:d,id:t})))}function aH(e){var t=rn(e,nH),{id:n}=t,a=Bd(t,z7),l=sr(a);return x.createElement(sC,{id:n,type:"pie"},o=>x.createElement(x.Fragment,null,x.createElement(P7,{type:"pie",id:o,data:a.data,dataKey:a.dataKey,hide:a.hide,angleAxisId:0,radiusAxisId:0,name:a.name,nameKey:a.nameKey,tooltipType:a.tooltipType,legendType:a.legendType,fill:a.fill,cx:a.cx,cy:a.cy,startAngle:a.startAngle,endAngle:a.endAngle,paddingAngle:a.paddingAngle,minAngle:a.minAngle,innerRadius:a.innerRadius,outerRadius:a.outerRadius,cornerRadius:a.cornerRadius,presentationProps:l,maxRadius:t.maxRadius}),x.createElement(q7,$a({},a,{id:o})),x.createElement(rH,$a({},a,{id:o}))))}var dC=aH;dC.displayName="Pie";function s2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function f2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?s2(Object(n),!0).forEach(function(a){iH(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s2(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function iH(e,t,n){return(t=lH(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lH(e){var t=uH(e,"string");return typeof t=="symbol"?t:t+""}function uH(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var vC=0,oH={xAxis:{},yAxis:{},zAxis:{}},hC=an({name:"cartesianAxis",initialState:oH,reducers:{addXAxis:{reducer(e,t){e.xAxis[t.payload.id]=t.payload},prepare:rt()},replaceXAxis:{reducer(e,t){var{prev:n,next:a}=t.payload;e.xAxis[n.id]!==void 0&&(n.id!==a.id&&delete e.xAxis[n.id],e.xAxis[a.id]=a)},prepare:rt()},removeXAxis:{reducer(e,t){delete e.xAxis[t.payload.id]},prepare:rt()},addYAxis:{reducer(e,t){e.yAxis[t.payload.id]=t.payload},prepare:rt()},replaceYAxis:{reducer(e,t){var{prev:n,next:a}=t.payload;e.yAxis[n.id]!==void 0&&(n.id!==a.id&&delete e.yAxis[n.id],e.yAxis[a.id]=a)},prepare:rt()},removeYAxis:{reducer(e,t){delete e.yAxis[t.payload.id]},prepare:rt()},addZAxis:{reducer(e,t){e.zAxis[t.payload.id]=t.payload},prepare:rt()},replaceZAxis:{reducer(e,t){var{prev:n,next:a}=t.payload;e.zAxis[n.id]!==void 0&&(n.id!==a.id&&delete e.zAxis[n.id],e.zAxis[a.id]=a)},prepare:rt()},removeZAxis:{reducer(e,t){delete e.zAxis[t.payload.id]},prepare:rt()},updateYAxisWidth(e,t){var{id:n,width:a}=t.payload,l=e.yAxis[n];if(l){var o,s=l.widthHistory||[];if(s.length===3&&s[0]===s[2]&&a===s[1]&&a!==l.width&&Math.abs(a-((o=s[0])!==null&&o!==void 0?o:0))<=1)return;var f=[...s,a].slice(-3);e.yAxis[n]=f2(f2({},l),{},{width:a,widthHistory:f})}}}}),{addXAxis:cH,replaceXAxis:sH,removeXAxis:fH,addYAxis:dH,replaceYAxis:vH,removeYAxis:hH,addZAxis:AY,replaceZAxis:EY,removeZAxis:_Y,updateYAxisWidth:mH}=hC.actions,pH=hC.reducer,yH=L([Dt],e=>({top:e.top,bottom:e.bottom,left:e.left,right:e.right})),gH=L([yH,ua,oa],(e,t,n)=>{if(!(!e||t==null||n==null))return{x:e.left,y:e.top,width:Math.max(0,t-e.left-e.right),height:Math.max(0,n-e.top-e.bottom)}}),mC=()=>ye(gH),d2=(e,t,n)=>{var a=n??e;if(!Pt(a))return tn(a,t,0)},bH=(e,t,n)=>{var a={},l=e.filter(wd),o=e.filter(v=>v.stackId==null),s=l.reduce((v,m)=>{var y=v[m.stackId];return y==null&&(y=[]),y.push(m),v[m.stackId]=y,v},a),f=Object.entries(s).map(v=>{var m,[y,g]=v,b=g.map(O=>O.dataKey),w=d2(t,n,(m=g[0])===null||m===void 0?void 0:m.barSize);return{stackId:y,dataKeys:b,barSize:w}}),d=o.map(v=>{var m=[v.dataKey].filter(g=>g!=null),y=d2(t,n,v.barSize);return{stackId:void 0,dataKeys:m,barSize:y}});return[...f,...d]};function v2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function Gs(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?v2(Object(n),!0).forEach(function(a){xH(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v2(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function xH(e,t,n){return(t=SH(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function SH(e){var t=OH(e,"string");return typeof t=="symbol"?t:t+""}function OH(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function wH(e,t,n,a,l){var o,s=a.length;if(!(s<1)){var f=tn(e,n,0,!0),d,v=[];if(Re((o=a[0])===null||o===void 0?void 0:o.barSize)){var m=!1,y=n/s,g=a.reduce((j,M)=>j+(M.barSize||0),0);g+=(s-1)*f,g>=n&&(g-=(s-1)*f,f=0),g>=n&&y>0&&(m=!0,y*=.9,g=s*y);var b=(n-g)/2>>0,w={offset:b-f,size:0};d=a.reduce((j,M)=>{var N,D={stackId:M.stackId,dataKeys:M.dataKeys,position:{offset:w.offset+w.size+f,size:m?y:(N=M.barSize)!==null&&N!==void 0?N:0}},C=[...j,D];return w=D.position,C},v)}else{var O=tn(t,n,0,!0);n-2*O-(s-1)*f<=0&&(f=0);var A=(n-2*O-(s-1)*f)/s;A>1&&(A>>=0);var E=Re(l)?Math.min(A,l):A;d=a.reduce((j,M,N)=>[...j,{stackId:M.stackId,dataKeys:M.dataKeys,position:{offset:O+(A+f)*N+(A-E)/2,size:E}}],v)}return d}}var AH=(e,t,n,a,l,o,s)=>{var f=Pt(s)?t:s,d=wH(n,a,l!==o?l:o,e,f);return l!==o&&d!=null&&(d=d.map(v=>Gs(Gs({},v),{},{position:Gs(Gs({},v.position),{},{offset:v.position.offset-l/2})}))),d},EH=(e,t)=>{var n=h0(t);if(!(!e||n==null||t==null)){var{stackId:a}=t;if(a!=null){var l=e[a];if(l){var{stackedData:o}=l;if(o)return o.find(s=>s.key===n)}}}},_H=(e,t)=>{if(!(e==null||t==null)){var n=e.find(a=>a.stackId===t.stackId&&t.dataKey!=null&&a.dataKeys.includes(t.dataKey));if(n!=null)return n.position}};function TH(e,t){return e&&typeof e=="object"&&"zIndex"in e&&typeof e.zIndex=="number"&&Re(e.zIndex)?e.zIndex:t}var pC=e=>{var{chartData:t}=e,n=et(),a=En();return x.useEffect(()=>a?()=>{}:(n(AE(t)),()=>{n(AE(void 0))}),[t,n,a]),null},h2={x:0,y:0,width:0,height:0,padding:{top:0,right:0,bottom:0,left:0}},yC=an({name:"brush",initialState:h2,reducers:{setBrushSettings(e,t){return t.payload==null?h2:t.payload}}}),{setBrushSettings:TY}=yC.actions,jH=yC.reducer;function MH(e){return(e%180+180)%180}var CH=function(t){var{width:n,height:a}=t,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=MH(l),s=o*Math.PI/180,f=Math.atan(a/n),d=s>f&&s<Math.PI-f?a/Math.sin(s):n/Math.cos(s);return Math.abs(d)},NH={dots:[],areas:[],lines:[]},gC=an({name:"referenceElements",initialState:NH,reducers:{addDot:(e,t)=>{e.dots.push(t.payload)},removeDot:(e,t)=>{var n=Qn(e).dots.findIndex(a=>a===t.payload);n!==-1&&e.dots.splice(n,1)},addArea:(e,t)=>{e.areas.push(t.payload)},removeArea:(e,t)=>{var n=Qn(e).areas.findIndex(a=>a===t.payload);n!==-1&&e.areas.splice(n,1)},addLine:(e,t)=>{e.lines.push(t.payload)},removeLine:(e,t)=>{var n=Qn(e).lines.findIndex(a=>a===t.payload);n!==-1&&e.lines.splice(n,1)}}}),{addDot:jY,removeDot:MY,addArea:CY,removeArea:NY,addLine:PY,removeLine:DY}=gC.actions,PH=gC.reducer,DH=x.createContext(void 0),kH=e=>{var{children:t}=e,[n]=x.useState("".concat(No("recharts"),"-clip")),a=mC();if(a==null)return null;var{x:l,y:o,width:s,height:f}=a;return x.createElement(DH.Provider,{value:n},x.createElement("defs",null,x.createElement("clipPath",{id:n},x.createElement("rect",{x:l,y:o,height:f,width:s}))),t)};function bC(e,t){if(t<1)return[];if(t===1)return e;for(var n=[],a=0;a<e.length;a+=t){var l=e[a];l!==void 0&&n.push(l)}return n}function RH(e,t,n){var a={width:e.width+t.width,height:e.height+t.height};return CH(a,n)}function zH(e,t,n){var a=n==="width",{x:l,y:o,width:s,height:f}=e;return t===1?{start:a?l:o,end:a?l+s:o+f}:{start:a?l+s:o+f,end:a?l:o}}function Ko(e,t,n,a,l){if(e*t<e*a||e*t>e*l)return!1;var o=n();return e*(t-e*o/2-a)>=0&&e*(t+e*o/2-l)<=0}function IH(e,t){return bC(e,t+1)}function LH(e,t,n,a,l){for(var o=(a||[]).slice(),{start:s,end:f}=t,d=0,v=1,m=s,y=function(){var w=a==null?void 0:a[d];if(w===void 0)return{v:bC(a,v)};var O=d,A,E=()=>(A===void 0&&(A=n(w,O)),A),j=w.coordinate,M=d===0||Ko(e,j,E,m,f);M||(d=0,m=s,v+=1),M&&(m=j+e*(E()/2+l),d+=v)},g;v<=o.length;)if(g=y(),g)return g.v;return[]}function BH(e,t,n,a,l){var o=(a||[]).slice(),s=o.length;if(s===0)return[];for(var{start:f,end:d}=t,v=1;v<=s;v++){for(var m=(s-1)%v,y=f,g=!0,b=function(){var N=a[O];if(N==null)return 0;var D=O,C,z=()=>(C===void 0&&(C=n(N,D)),C),G=N.coordinate,V=O===m||Ko(e,G,z,y,d);if(!V)return g=!1,1;V&&(y=G+e*(z()/2+l))},w,O=m;O<s&&(w=b(),!(w!==0&&w===1));O+=v);if(g){for(var A=[],E=m;E<s;E+=v){var j=a[E];j!=null&&A.push(j)}return A}}return[]}function m2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function Jt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?m2(Object(n),!0).forEach(function(a){UH(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m2(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function UH(e,t,n){return(t=qH(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qH(e){var t=HH(e,"string");return typeof t=="symbol"?t:t+""}function HH(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function GH(e,t,n,a,l){for(var o=(a||[]).slice(),s=o.length,{start:f}=t,{end:d}=t,v=function(g){var b=o[g];if(b==null)return 1;var w=b,O,A=()=>(O===void 0&&(O=n(b,g)),O);if(g===s-1){var E=e*(w.coordinate+e*A()/2-d);o[g]=w=Jt(Jt({},w),{},{tickCoord:E>0?w.coordinate-E*e:w.coordinate})}else o[g]=w=Jt(Jt({},w),{},{tickCoord:w.coordinate});if(w.tickCoord!=null){var j=Ko(e,w.tickCoord,A,f,d);j&&(d=w.tickCoord-e*(A()/2+l),o[g]=Jt(Jt({},w),{},{isShow:!0}))}},m=s-1;m>=0;m--)v(m);return o}function $H(e,t,n,a,l,o){var s=(a||[]).slice(),f=s.length,{start:d,end:v}=t;if(o){var m=a[f-1];if(m!=null){var y=n(m,f-1),g=e*(m.coordinate+e*y/2-v);if(s[f-1]=m=Jt(Jt({},m),{},{tickCoord:g>0?m.coordinate-g*e:m.coordinate}),m.tickCoord!=null){var b=Ko(e,m.tickCoord,()=>y,d,v);b&&(v=m.tickCoord-e*(y/2+l),s[f-1]=Jt(Jt({},m),{},{isShow:!0}))}}}for(var w=o?f-1:f,O=function(j){var M=s[j];if(M==null)return 1;var N=M,D,C=()=>(D===void 0&&(D=n(M,j)),D);if(j===0){var z=e*(N.coordinate-e*C()/2-d);s[j]=N=Jt(Jt({},N),{},{tickCoord:z<0?N.coordinate-z*e:N.coordinate})}else s[j]=N=Jt(Jt({},N),{},{tickCoord:N.coordinate});if(N.tickCoord!=null){var G=Ko(e,N.tickCoord,C,d,v);G&&(d=N.tickCoord+e*(C()/2+l),s[j]=Jt(Jt({},N),{},{isShow:!0}))}},A=0;A<w;A++)O(A);return s}function Og(e,t,n){var{tick:a,ticks:l,viewBox:o,minTickGap:s,orientation:f,interval:d,tickFormatter:v,unit:m,angle:y}=e;if(!l||!l.length||!a)return[];if(he(d)||Qo.isSsr){var g;return(g=IH(l,he(d)?d:0))!==null&&g!==void 0?g:[]}var b=[],w=f==="top"||f==="bottom"?"width":"height",O=m&&w==="width"?Mo(m,{fontSize:t,letterSpacing:n}):{width:0,height:0},A=(D,C)=>{var z=typeof v=="function"?v(D.value,C):D.value;return w==="width"?RH(Mo(z,{fontSize:t,letterSpacing:n}),O,y):Mo(z,{fontSize:t,letterSpacing:n})[w]},E=l[0],j=l[1],M=l.length>=2&&E!=null&&j!=null?Ut(j.coordinate-E.coordinate):1,N=zH(o,M,w);return d==="equidistantPreserveStart"?LH(M,N,A,l,s):d==="equidistantPreserveEnd"?BH(M,N,A,l,s):(d==="preserveStart"||d==="preserveStartEnd"?b=$H(M,N,A,l,s,d==="preserveStartEnd"):b=GH(M,N,A,l,s),b.filter(D=>D.isShow))}var KH=e=>{var{ticks:t,label:n,labelGapWithTick:a=5,tickSize:l=0,tickMargin:o=0}=e,s=0;if(t){Array.from(t).forEach(m=>{if(m){var y=m.getBoundingClientRect();y.width>s&&(s=y.width)}});var f=n?n.getBoundingClientRect().width:0,d=l+o,v=s+d+f+(n?a:0);return Math.round(v)}return 0},YH={xAxis:{},yAxis:{}},xC=an({name:"renderedTicks",initialState:YH,reducers:{setRenderedTicks:(e,t)=>{var{axisType:n,axisId:a,ticks:l}=t.payload;e[n][a]=l},removeRenderedTicks:(e,t)=>{var{axisType:n,axisId:a}=t.payload;delete e[n][a]}}}),{setRenderedTicks:VH,removeRenderedTicks:XH}=xC.actions,ZH=xC.reducer,FH=["axisLine","width","height","className","hide","ticks","axisType","axisId"];function WH(e,t){if(e==null)return{};var n,a,l=QH(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}function QH(e,t){if(e==null)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;n[a]=e[a]}return n}function qi(){return qi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},qi.apply(null,arguments)}function p2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function vt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?p2(Object(n),!0).forEach(function(a){JH(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p2(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function JH(e,t,n){return(t=eG(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eG(e){var t=tG(e,"string");return typeof t=="symbol"?t:t+""}function tG(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var na={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",zIndex:Wt.axis};function nG(e){var{x:t,y:n,width:a,height:l,orientation:o,mirror:s,axisLine:f,otherSvgProps:d}=e;if(!f)return null;var v=vt(vt(vt({},d),sr(f)),{},{fill:"none"});if(o==="top"||o==="bottom"){var m=+(o==="top"&&!s||o==="bottom"&&s);v=vt(vt({},v),{},{x1:t,y1:n+m*l,x2:t+a,y2:n+m*l})}else{var y=+(o==="left"&&!s||o==="right"&&s);v=vt(vt({},v),{},{x1:t+y*a,y1:n,x2:t+y*a,y2:n+l})}return x.createElement("line",qi({},v,{className:Xe("recharts-cartesian-axis-line",Di(f,"className"))}))}function rG(e,t,n,a,l,o,s,f,d){var v,m,y,g,b,w,O=f?-1:1,A=e.tickSize||s,E=he(e.tickCoord)?e.tickCoord:e.coordinate;switch(o){case"top":v=m=e.coordinate,g=n+ +!f*l,y=g-O*A,w=y-O*d,b=E;break;case"left":y=g=e.coordinate,m=t+ +!f*a,v=m-O*A,b=v-O*d,w=E;break;case"right":y=g=e.coordinate,m=t+ +f*a,v=m+O*A,b=v+O*d,w=E;break;default:v=m=e.coordinate,g=n+ +f*l,y=g+O*A,w=y+O*d,b=E;break}return{line:{x1:v,y1:y,x2:m,y2:g},tick:{x:b,y:w}}}function aG(e,t){switch(e){case"left":return t?"start":"end";case"right":return t?"end":"start";default:return"middle"}}function iG(e,t){switch(e){case"left":case"right":return"middle";case"top":return t?"start":"end";default:return t?"end":"start"}}function lG(e){var{option:t,tickProps:n,value:a}=e,l,o=Xe(n.className,"recharts-cartesian-axis-tick-value");if(x.isValidElement(t))l=x.cloneElement(t,vt(vt({},n),{},{className:o}));else if(typeof t=="function")l=t(vt(vt({},n),{},{className:o}));else{var s="recharts-cartesian-axis-tick-value";typeof t!="boolean"&&(s=Xe(s,iC(t))),l=x.createElement(zd,qi({},n,{className:s}),a)}return l}function uG(e){var{ticks:t,axisType:n,axisId:a}=e,l=et();return x.useEffect(()=>{if(a==null||n==null)return iu;var o=t.map(s=>({value:s.value,coordinate:s.coordinate,offset:s.offset,index:s.index}));return l(VH({ticks:o,axisId:a,axisType:n})),()=>{l(XH({axisId:a,axisType:n}))}},[l,t,a,n]),null}var oG=x.forwardRef((e,t)=>{var{ticks:n=[],tick:a,tickLine:l,stroke:o,tickFormatter:s,unit:f,padding:d,tickTextProps:v,orientation:m,mirror:y,x:g,y:b,width:w,height:O,tickSize:A,tickMargin:E,fontSize:j,letterSpacing:M,getTicksConfig:N,events:D,axisType:C,axisId:z}=e,G=Og(vt(vt({},N),{},{ticks:n}),j,M),V=sr(N),Q=Co(a),J=VM(V.textAnchor)?V.textAnchor:aG(m,y),$=iG(m,y),ge={};typeof l=="object"&&(ge=l);var oe=vt(vt({},V),{},{fill:"none"},ge),me=G.map(ie=>vt({entry:ie},rG(ie,g,b,w,O,m,A,y,E))),B=me.map(ie=>{var{entry:se,line:ve}=ie;return x.createElement(nn,{className:"recharts-cartesian-axis-tick",key:"tick-".concat(se.value,"-").concat(se.coordinate,"-").concat(se.tickCoord)},l&&x.createElement("line",qi({},oe,ve,{className:Xe("recharts-cartesian-axis-tick-line",Di(l,"className"))})))}),Z=me.map((ie,se)=>{var ve,k,{entry:K,tick:ae}=ie,ue=vt(vt(vt(vt({verticalAnchor:$},V),{},{textAnchor:J,stroke:"none",fill:o},ae),{},{index:se,payload:K,visibleTicksCount:G.length,tickFormatter:s,padding:d},v),{},{angle:(ve=(k=v==null?void 0:v.angle)!==null&&k!==void 0?k:V.angle)!==null&&ve!==void 0?ve:0}),be=vt(vt({},ue),Q);return x.createElement(nn,qi({className:"recharts-cartesian-axis-tick-label",key:"tick-label-".concat(K.value,"-").concat(K.coordinate,"-").concat(K.tickCoord)},Ff(D,K,se)),a&&x.createElement(lG,{option:a,tickProps:be,value:"".concat(typeof s=="function"?s(K.value,se):K.value).concat(f||"")}))});return x.createElement("g",{className:"recharts-cartesian-axis-ticks recharts-".concat(C,"-ticks")},x.createElement(uG,{ticks:G,axisId:z,axisType:C}),Z.length>0&&x.createElement(hr,{zIndex:Wt.label},x.createElement("g",{className:"recharts-cartesian-axis-tick-labels recharts-".concat(C,"-tick-labels"),ref:t},Z)),B.length>0&&x.createElement("g",{className:"recharts-cartesian-axis-tick-lines recharts-".concat(C,"-tick-lines")},B))}),cG=x.forwardRef((e,t)=>{var{axisLine:n,width:a,height:l,className:o,hide:s,ticks:f,axisType:d,axisId:v}=e,m=WH(e,FH),[y,g]=x.useState(""),[b,w]=x.useState(""),O=x.useRef(null);x.useImperativeHandle(t,()=>({getCalculatedWidth:()=>{var E;return KH({ticks:O.current,label:(E=e.labelRef)===null||E===void 0?void 0:E.current,labelGapWithTick:5,tickSize:e.tickSize,tickMargin:e.tickMargin})}}));var A=x.useCallback(E=>{if(E){var j=E.getElementsByClassName("recharts-cartesian-axis-tick-value");O.current=j;var M=j[0];if(M){var N=window.getComputedStyle(M),D=N.fontSize,C=N.letterSpacing;(D!==y||C!==b)&&(g(D),w(C))}}},[y,b]);return s||a!=null&&a<=0||l!=null&&l<=0?null:x.createElement(hr,{zIndex:e.zIndex},x.createElement(nn,{className:Xe("recharts-cartesian-axis",o)},x.createElement(nG,{x:e.x,y:e.y,width:a,height:l,orientation:e.orientation,mirror:e.mirror,axisLine:n,otherSvgProps:sr(e)}),x.createElement(oG,{ref:A,axisType:d,events:m,fontSize:y,getTicksConfig:e,height:e.height,letterSpacing:b,mirror:e.mirror,orientation:e.orientation,padding:e.padding,stroke:e.stroke,tick:e.tick,tickFormatter:e.tickFormatter,tickLine:e.tickLine,tickMargin:e.tickMargin,tickSize:e.tickSize,tickTextProps:e.tickTextProps,ticks:f,unit:e.unit,width:e.width,x:e.x,y:e.y,axisId:v}),x.createElement(vq,{x:e.x,y:e.y,width:e.width,height:e.height,lowerWidth:e.width,upperWidth:e.width},x.createElement(wq,{label:e.label,labelRef:e.labelRef}),e.children)))}),wg=x.forwardRef((e,t)=>{var n=rn(e,na);return x.createElement(cG,qi({},n,{ref:t}))});wg.displayName="CartesianAxis";var sG=["x1","y1","x2","y2","key"],fG=["offset"],dG=["xAxisId","yAxisId"],vG=["xAxisId","yAxisId"];function y2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function en(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?y2(Object(n),!0).forEach(function(a){hG(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y2(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function hG(e,t,n){return(t=mG(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mG(e){var t=pG(e,"string");return typeof t=="symbol"?t:t+""}function pG(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ji(){return ji=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},ji.apply(null,arguments)}function Gf(e,t){if(e==null)return{};var n,a,l=yG(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}function yG(e,t){if(e==null)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;n[a]=e[a]}return n}var gG=e=>{var{fill:t}=e;if(!t||t==="none")return null;var{fillOpacity:n,x:a,y:l,width:o,height:s,ry:f}=e;return x.createElement("rect",{x:a,y:l,ry:f,width:o,height:s,stroke:"none",fill:t,fillOpacity:n,className:"recharts-cartesian-grid-bg"})};function SC(e){var{option:t,lineItemProps:n}=e,a;if(x.isValidElement(t))a=x.cloneElement(t,n);else if(typeof t=="function")a=t(n);else{var l,{x1:o,y1:s,x2:f,y2:d,key:v}=n,m=Gf(n,sG),y=(l=sr(m))!==null&&l!==void 0?l:{},{offset:g}=y,b=Gf(y,fG);a=x.createElement("line",ji({},b,{x1:o,y1:s,x2:f,y2:d,fill:"none",key:v}))}return a}function bG(e){var{x:t,width:n,horizontal:a=!0,horizontalPoints:l}=e;if(!a||!l||!l.length)return null;var{xAxisId:o,yAxisId:s}=e,f=Gf(e,dG),d=l.map((v,m)=>{var y=en(en({},f),{},{x1:t,y1:v,x2:t+n,y2:v,key:"line-".concat(m),index:m});return x.createElement(SC,{key:"line-".concat(m),option:a,lineItemProps:y})});return x.createElement("g",{className:"recharts-cartesian-grid-horizontal"},d)}function xG(e){var{y:t,height:n,vertical:a=!0,verticalPoints:l}=e;if(!a||!l||!l.length)return null;var{xAxisId:o,yAxisId:s}=e,f=Gf(e,vG),d=l.map((v,m)=>{var y=en(en({},f),{},{x1:v,y1:t,x2:v,y2:t+n,key:"line-".concat(m),index:m});return x.createElement(SC,{option:a,lineItemProps:y,key:"line-".concat(m)})});return x.createElement("g",{className:"recharts-cartesian-grid-vertical"},d)}function SG(e){var{horizontalFill:t,fillOpacity:n,x:a,y:l,width:o,height:s,horizontalPoints:f,horizontal:d=!0}=e;if(!d||!t||!t.length||f==null)return null;var v=f.map(y=>Math.round(y+l-l)).sort((y,g)=>y-g);l!==v[0]&&v.unshift(0);var m=v.map((y,g)=>{var b=v[g+1],w=b==null,O=w?l+s-y:b-y;if(O<=0)return null;var A=g%t.length;return x.createElement("rect",{key:"react-".concat(g),y,x:a,height:O,width:o,stroke:"none",fill:t[A],fillOpacity:n,className:"recharts-cartesian-grid-bg"})});return x.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},m)}function OG(e){var{vertical:t=!0,verticalFill:n,fillOpacity:a,x:l,y:o,width:s,height:f,verticalPoints:d}=e;if(!t||!n||!n.length)return null;var v=d.map(y=>Math.round(y+l-l)).sort((y,g)=>y-g);l!==v[0]&&v.unshift(0);var m=v.map((y,g)=>{var b=v[g+1],w=b==null,O=w?l+s-y:b-y;if(O<=0)return null;var A=g%n.length;return x.createElement("rect",{key:"react-".concat(g),x:y,y:o,width:O,height:f,stroke:"none",fill:n[A],fillOpacity:a,className:"recharts-cartesian-grid-bg"})});return x.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},m)}var wG=(e,t)=>{var{xAxis:n,width:a,height:l,offset:o}=e;return J_(Og(en(en(en({},na),n),{},{ticks:eT(n),viewBox:{x:0,y:0,width:a,height:l}})),o.left,o.left+o.width,t)},AG=(e,t)=>{var{yAxis:n,width:a,height:l,offset:o}=e;return J_(Og(en(en(en({},na),n),{},{ticks:eT(n),viewBox:{x:0,y:0,width:a,height:l}})),o.top,o.top+o.height,t)},EG={horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[],xAxisId:0,yAxisId:0,syncWithTicks:!1,zIndex:Wt.grid};function OC(e){var t=oT(),n=cT(),a=uT(),l=en(en({},rn(e,EG)),{},{x:he(e.x)?e.x:a.left,y:he(e.y)?e.y:a.top,width:he(e.width)?e.width:a.width,height:he(e.height)?e.height:a.height}),{xAxisId:o,yAxisId:s,x:f,y:d,width:v,height:m,syncWithTicks:y,horizontalValues:g,verticalValues:b}=l,w=En(),O=ye(V=>fE(V,"xAxis",o,w)),A=ye(V=>fE(V,"yAxis",s,w));if(!Cr(v)||!Cr(m)||!he(f)||!he(d))return null;var E=l.verticalCoordinatesGenerator||wG,j=l.horizontalCoordinatesGenerator||AG,{horizontalPoints:M,verticalPoints:N}=l;if((!M||!M.length)&&typeof j=="function"){var D=g&&g.length,C=j({yAxis:A?en(en({},A),{},{ticks:D?g:A.ticks}):void 0,width:t??v,height:n??m,offset:a},D?!0:y);mf(Array.isArray(C),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(typeof C,"]")),Array.isArray(C)&&(M=C)}if((!N||!N.length)&&typeof E=="function"){var z=b&&b.length,G=E({xAxis:O?en(en({},O),{},{ticks:z?b:O.ticks}):void 0,width:t??v,height:n??m,offset:a},z?!0:y);mf(Array.isArray(G),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(typeof G,"]")),Array.isArray(G)&&(N=G)}return x.createElement(hr,{zIndex:l.zIndex},x.createElement("g",{className:"recharts-cartesian-grid"},x.createElement(gG,{fill:l.fill,fillOpacity:l.fillOpacity,x:l.x,y:l.y,width:l.width,height:l.height,ry:l.ry}),x.createElement(SG,ji({},l,{horizontalPoints:M})),x.createElement(OG,ji({},l,{verticalPoints:N})),x.createElement(bG,ji({},l,{offset:a,horizontalPoints:M,xAxis:O,yAxis:A})),x.createElement(xG,ji({},l,{offset:a,verticalPoints:N,xAxis:O,yAxis:A}))))}OC.displayName="CartesianGrid";var _G={},wC=an({name:"errorBars",initialState:_G,reducers:{addErrorBar:(e,t)=>{var{itemId:n,errorBar:a}=t.payload;e[n]||(e[n]=[]),e[n].push(a)},replaceErrorBar:(e,t)=>{var{itemId:n,prev:a,next:l}=t.payload;e[n]&&(e[n]=e[n].map(o=>o.dataKey===a.dataKey&&o.direction===a.direction?l:o))},removeErrorBar:(e,t)=>{var{itemId:n,errorBar:a}=t.payload;e[n]&&(e[n]=e[n].filter(l=>l.dataKey!==a.dataKey||l.direction!==a.direction))}}}),{addErrorBar:kY,replaceErrorBar:RY,removeErrorBar:zY}=wC.actions,TG=wC.reducer,jG=["children"];function MG(e,t){if(e==null)return{};var n,a,l=CG(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}function CG(e,t){if(e==null)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;n[a]=e[a]}return n}var NG={data:[],xAxisId:"xAxis-0",yAxisId:"yAxis-0",dataPointFormatter:()=>({x:0,y:0,value:0}),errorBarOffset:0},PG=x.createContext(NG);function DG(e){var{children:t}=e,n=MG(e,jG);return x.createElement(PG.Provider,{value:n},t)}function AC(e,t){var n,a,l=ye(v=>sa(v,e)),o=ye(v=>fa(v,t)),s=(n=l==null?void 0:l.allowDataOverflow)!==null&&n!==void 0?n:jt.allowDataOverflow,f=(a=o==null?void 0:o.allowDataOverflow)!==null&&a!==void 0?a:Mt.allowDataOverflow,d=s||f;return{needClip:d,needClipX:s,needClipY:f}}function kG(e){var{xAxisId:t,yAxisId:n,clipPathId:a}=e,l=mC(),{needClipX:o,needClipY:s,needClip:f}=AC(t,n);if(!f||!l)return null;var{x:d,y:v,width:m,height:y}=l;return x.createElement("clipPath",{id:"clipPath-".concat(a)},x.createElement("rect",{x:o?d:d-m/2,y:s?v:v-y/2,width:o?m:m*2,height:s?y:y*2}))}function Ki(e,t){var n,a;return(n=(a=e.graphicalItems.cartesianItems.find(l=>l.id===t))===null||a===void 0?void 0:a.xAxisId)!==null&&n!==void 0?n:vC}function Yi(e,t){var n,a;return(n=(a=e.graphicalItems.cartesianItems.find(l=>l.id===t))===null||a===void 0?void 0:a.yAxisId)!==null&&n!==void 0?n:vC}var RG="Invariant failed";function zG(e,t){throw new Error(RG)}function My(){return My=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},My.apply(null,arguments)}function Ag(e){return x.createElement(oC,My({shapeType:"rectangle",activeClassName:"recharts-active-bar",inActiveClassName:"recharts-inactive-bar"},e))}var IG=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return(a,l)=>{if(he(t))return t;var o=he(a)||Pt(a);return o?t(a,l):(o||zG(),n)}},LG=(e,t,n)=>n,BG=(e,t)=>t,fc=L([H0,BG],(e,t)=>e.filter(n=>n.type==="bar").find(n=>n.id===t)),UG=L([fc],e=>e==null?void 0:e.maxBarSize),qG=(e,t,n,a)=>a,HG=L([qe,H0,Ki,Yi,LG],(e,t,n,a,l)=>t.filter(o=>e==="horizontal"?o.xAxisId===n:o.yAxisId===a).filter(o=>o.isPanorama===l).filter(o=>o.hide===!1).filter(o=>o.type==="bar")),GG=(e,t,n)=>{var a=qe(e),l=Ki(e,t),o=Yi(e,t);if(!(l==null||o==null))return a==="horizontal"?Ey(e,"yAxis",o,n):Ey(e,"xAxis",l,n)},$G=(e,t)=>{var n=qe(e),a=Ki(e,t),l=Yi(e,t);if(!(a==null||l==null))return n==="horizontal"?sE(e,"xAxis",a):sE(e,"yAxis",l)},KG=L([HG,Az,$G],bH),YG=(e,t,n)=>{var a,l,o=fc(e,t);if(o==null)return 0;var s=Ki(e,t),f=Yi(e,t);if(s==null||f==null)return 0;var d=qe(e),v=KT(e),{maxBarSize:m}=o,y=Pt(m)?v:m,g,b;return d==="horizontal"?(g=nu(e,"xAxis",s,n),b=tu(e,"xAxis",s,n)):(g=nu(e,"yAxis",f,n),b=tu(e,"yAxis",f,n)),(a=(l=hf(g,b,!0))!==null&&l!==void 0?l:y)!==null&&a!==void 0?a:0},EC=(e,t,n)=>{var a=qe(e),l=Ki(e,t),o=Yi(e,t);if(!(l==null||o==null)){var s,f;return a==="horizontal"?(s=nu(e,"xAxis",l,n),f=tu(e,"xAxis",l,n)):(s=nu(e,"yAxis",o,n),f=tu(e,"yAxis",o,n)),hf(s,f)}},VG=L([KG,KT,wz,YT,YG,EC,UG],AH),XG=(e,t,n)=>{var a=Ki(e,t);if(a!=null)return nu(e,"xAxis",a,n)},ZG=(e,t,n)=>{var a=Yi(e,t);if(a!=null)return nu(e,"yAxis",a,n)},FG=(e,t,n)=>{var a=Ki(e,t);if(a!=null)return tu(e,"xAxis",a,n)},WG=(e,t,n)=>{var a=Yi(e,t);if(a!=null)return tu(e,"yAxis",a,n)},QG=L([VG,fc],_H),JG=L([GG,fc],EH),e$=L([Dt,Jy,XG,ZG,FG,WG,QG,qe,hz,EC,JG,fc,qG],(e,t,n,a,l,o,s,f,d,v,m,y,g)=>{var{chartData:b,dataStartIndex:w,dataEndIndex:O}=d;if(!(y==null||s==null||t==null||f!=="horizontal"&&f!=="vertical"||n==null||a==null||l==null||o==null||v==null)){var{data:A}=y,E;if(A!=null&&A.length>0?E=A:E=b==null?void 0:b.slice(w,O+1),E!=null)return j$({layout:f,barSettings:y,pos:s,parentViewBox:t,bandSize:v,xAxis:n,yAxis:a,xAxisTicks:l,yAxisTicks:o,stackedData:m,displayedData:E,offset:e,cells:g,dataStartIndex:w})}}),t$=["index"];function Cy(){return Cy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Cy.apply(null,arguments)}function n$(e,t){if(e==null)return{};var n,a,l=r$(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}function r$(e,t){if(e==null)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;n[a]=e[a]}return n}var _C=x.createContext(void 0),a$=e=>{var t=x.useContext(_C);if(t!=null)return t.stackId;if(e!=null)return M5(e)},i$=(e,t)=>"recharts-bar-stack-clip-path-".concat(e,"-").concat(t),l$=e=>{var t=x.useContext(_C);if(t!=null){var{stackId:n}=t;return"url(#".concat(i$(n,e),")")}},TC=e=>{var{index:t}=e,n=n$(e,t$),a=l$(t);return x.createElement(nn,Cy({className:"recharts-bar-stack-layer",clipPath:a},n))},u$=["onMouseEnter","onMouseLeave","onClick"],o$=["value","background","tooltipPosition"],c$=["id"],s$=["onMouseEnter","onClick","onMouseLeave"];function Ka(){return Ka=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Ka.apply(null,arguments)}function g2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function sn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?g2(Object(n),!0).forEach(function(a){f$(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g2(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function f$(e,t,n){return(t=d$(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d$(e){var t=v$(e,"string");return typeof t=="symbol"?t:t+""}function v$(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function $f(e,t){if(e==null)return{};var n,a,l=h$(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}function h$(e,t){if(e==null)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;n[a]=e[a]}return n}var m$=e=>{var{dataKey:t,name:n,fill:a,legendType:l,hide:o}=e;return[{inactive:o,dataKey:t,type:l,color:a,value:ud(n,t),payload:e}]},p$=x.memo(e=>{var{dataKey:t,stroke:n,strokeWidth:a,fill:l,name:o,hide:s,unit:f,tooltipType:d,id:v}=e,m={dataDefinedOnItem:void 0,getPosition:iu,settings:{stroke:n,strokeWidth:a,fill:l,dataKey:t,nameKey:void 0,name:ud(o,t),hide:s,type:d,color:l,unit:f,graphicalItemId:v}};return x.createElement(cC,{tooltipEntrySettings:m})});function y$(e){var t=ye(Ui),{data:n,dataKey:a,background:l,allOtherBarProps:o}=e,{onMouseEnter:s,onMouseLeave:f,onClick:d}=o,v=$f(o,u$),m=bg(s,a,o.id),y=xg(f),g=Sg(d,a,o.id);if(!l||n==null)return null;var b=Co(l);return x.createElement(hr,{zIndex:TH(l,Wt.barBackground)},n.map((w,O)=>{var{value:A,background:E,tooltipPosition:j}=w,M=$f(w,o$);if(!E)return null;var N=m(w,O),D=y(w,O),C=g(w,O),z=sn(sn(sn(sn(sn({option:l,isActive:String(O)===t},M),{},{fill:"#eee"},E),b),Ff(v,w,O)),{},{onMouseEnter:N,onMouseLeave:D,onClick:C,dataKey:a,index:O,className:"recharts-bar-background-rectangle"});return x.createElement(Ag,Ka({key:"background-bar-".concat(O)},z))}))}function g$(e){var{showLabels:t,children:n,rects:a}=e,l=a==null?void 0:a.map(o=>{var s={x:o.x,y:o.y,width:o.width,lowerWidth:o.width,upperWidth:o.width,height:o.height};return sn(sn({},s),{},{value:o.value,payload:o.payload,parentViewBox:o.parentViewBox,viewBox:s,fill:o.fill})});return x.createElement(jq,{value:t?l:void 0},n)}function b$(e){var{shape:t,activeBar:n,baseProps:a,entry:l,index:o,dataKey:s}=e,f=ye(Ui),d=ye(sg),v=n&&String(l.originalDataIndex)===f&&(d==null||s===d),[m,y]=x.useState(!1),[g,b]=x.useState(!1);x.useEffect(()=>{var M;return v?(y(!0),M=requestAnimationFrame(()=>{b(!0)})):b(!1),()=>{cancelAnimationFrame(M)}},[v]);var w=x.useCallback(()=>{v||y(!1)},[v]),O=v&&g,A=v||m,E;v?n===!0?E=t:E=n:E=t;var j=x.createElement(Ag,Ka({},a,{name:String(a.name)},l,{isActive:O,option:E,index:o,dataKey:s,onTransitionEnd:w}));return A?x.createElement(hr,{zIndex:Wt.activeBar},x.createElement(TC,{index:l.originalDataIndex},j)):j}function x$(e){var{shape:t,baseProps:n,entry:a,index:l,dataKey:o}=e;return x.createElement(Ag,Ka({},n,{name:String(n.name)},a,{isActive:!1,option:t,index:l,dataKey:o}))}function S$(e){var t,{data:n,props:a}=e,l=(t=sr(a))!==null&&t!==void 0?t:{},{id:o}=l,s=$f(l,c$),{shape:f,dataKey:d,activeBar:v}=a,{onMouseEnter:m,onClick:y,onMouseLeave:g}=a,b=$f(a,s$),w=bg(m,d,o),O=xg(g),A=Sg(y,d,o);return n?x.createElement(x.Fragment,null,n.map((E,j)=>x.createElement(TC,Ka({index:E.originalDataIndex,key:"rectangle-".concat(E==null?void 0:E.x,"-").concat(E==null?void 0:E.y,"-").concat(E==null?void 0:E.value,"-").concat(j),className:"recharts-bar-rectangle"},Ff(b,E,j),{onMouseEnter:w(E,j),onMouseLeave:O(E,j),onClick:A(E,j)}),v?x.createElement(b$,{shape:f,activeBar:v,baseProps:s,entry:E,index:j,dataKey:d}):x.createElement(x$,{shape:f,baseProps:s,entry:E,index:j,dataKey:d})))):null}function O$(e){var{props:t,previousRectanglesRef:n}=e,{data:a,layout:l,isAnimationActive:o,animationBegin:s,animationDuration:f,animationEasing:d,onAnimationEnd:v,onAnimationStart:m}=t,y=n.current,g=gd(t,"recharts-bar-"),[b,w]=x.useState(!1),O=!b,A=x.useCallback(()=>{typeof v=="function"&&v(),w(!1)},[v]),E=x.useCallback(()=>{typeof m=="function"&&m(),w(!0)},[m]);return x.createElement(g$,{showLabels:O,rects:a},x.createElement(yd,{animationId:g,begin:s,duration:f,isActive:o,easing:d,onAnimationEnd:A,onAnimationStart:E,key:g},j=>{var M=j===1?a:a==null?void 0:a.map((N,D)=>{var C=y&&y[D];if(C)return sn(sn({},N),{},{x:Ct(C.x,N.x,j),y:Ct(C.y,N.y,j),width:Ct(C.width,N.width,j),height:Ct(C.height,N.height,j)});if(l==="horizontal"){var z=Ct(0,N.height,j),G=Ct(N.stackedBarStart,N.y,j);return sn(sn({},N),{},{y:G,height:z})}var V=Ct(0,N.width,j),Q=Ct(N.stackedBarStart,N.x,j);return sn(sn({},N),{},{width:V,x:Q})});return j>0&&(n.current=M??null),M==null?null:x.createElement(nn,null,x.createElement(S$,{props:t,data:M}))}),x.createElement(tC,{label:t.label}),t.children)}function w$(e){var t=x.useRef(null);return x.createElement(O$,{previousRectanglesRef:t,props:e})}var jC=0,A$=(e,t)=>{var n=Array.isArray(e.value)?e.value[1]:e.value;return{x:e.x,y:e.y,value:n,errorVal:Fe(e,t)}};class E$ extends x.PureComponent{render(){var{hide:t,data:n,dataKey:a,className:l,xAxisId:o,yAxisId:s,needClip:f,background:d,id:v}=this.props;if(t||n==null)return null;var m=Xe("recharts-bar",l),y=v;return x.createElement(nn,{className:m,id:v},f&&x.createElement("defs",null,x.createElement(kG,{clipPathId:y,xAxisId:o,yAxisId:s})),x.createElement(nn,{className:"recharts-bar-rectangles",clipPath:f?"url(#clipPath-".concat(y,")"):void 0},x.createElement(y$,{data:n,dataKey:a,background:d,allOtherBarProps:this.props}),x.createElement(w$,this.props)))}}var _$={activeBar:!1,animationBegin:0,animationDuration:400,animationEasing:"ease",background:!1,hide:!1,isAnimationActive:"auto",label:!1,legendType:"rect",minPointSize:jC,xAxisId:0,yAxisId:0,zIndex:Wt.bar};function T$(e){var{xAxisId:t,yAxisId:n,hide:a,legendType:l,minPointSize:o,activeBar:s,animationBegin:f,animationDuration:d,animationEasing:v,isAnimationActive:m}=e,{needClip:y}=AC(t,n),g=lu(),b=En(),w=gg(e.children,sc),O=ye(j=>e$(j,e.id,b,w));if(g!=="vertical"&&g!=="horizontal")return null;var A,E=O==null?void 0:O[0];return E==null||E.height==null||E.width==null?A=0:A=g==="vertical"?E.height/2:E.width/2,x.createElement(DG,{xAxisId:t,yAxisId:n,data:O,dataPointFormatter:A$,errorBarOffset:A},x.createElement(E$,Ka({},e,{layout:g,needClip:y,data:O,xAxisId:t,yAxisId:n,hide:a,legendType:l,minPointSize:o,activeBar:s,animationBegin:f,animationDuration:d,animationEasing:v,isAnimationActive:m})))}function j$(e){var{layout:t,barSettings:{dataKey:n,minPointSize:a,hasCustomShape:l},pos:o,bandSize:s,xAxis:f,yAxis:d,xAxisTicks:v,yAxisTicks:m,stackedData:y,displayedData:g,offset:b,cells:w,parentViewBox:O,dataStartIndex:A}=e,E=t==="horizontal"?d:f,j=y?E.scale.domain():null,M=C5({numericAxis:E}),N=E.scale.map(M);return g.map((D,C)=>{var z,G,V,Q,J,$;if(y){var ge=y[C+A];if(ge==null)return null;z=A5(ge,j)}else z=Fe(D,n),Array.isArray(z)||(z=[M,z]);var oe=IG(a,jC)(z[1],C);if(t==="horizontal"){var me,B=d.scale.map(z[0]),Z=d.scale.map(z[1]);if(B==null||Z==null)return null;G=iw({axis:f,ticks:v,bandSize:s,offset:o.offset,entry:D,index:C}),V=(me=Z??B)!==null&&me!==void 0?me:void 0,Q=o.size;var ie=B-Z;if(J=jr(ie)?0:ie,$={x:G,y:b.top,width:Q,height:b.height},Math.abs(oe)>0&&Math.abs(J)<Math.abs(oe)){var se=Ut(J||oe)*(Math.abs(oe)-Math.abs(J));V-=se,J+=se}}else{var ve=f.scale.map(z[0]),k=f.scale.map(z[1]);if(ve==null||k==null)return null;if(G=ve,V=iw({axis:d,ticks:m,bandSize:s,offset:o.offset,entry:D,index:C}),Q=k-ve,J=o.size,$={x:b.left,y:V,width:b.width,height:J},Math.abs(oe)>0&&Math.abs(Q)<Math.abs(oe)){var K=Ut(Q||oe)*(Math.abs(oe)-Math.abs(Q));Q+=K}}if(G==null||V==null||Q==null||J==null||!l&&(Q===0||J===0))return null;var ae=sn(sn({},D),{},{stackedBarStart:N,x:G,y:V,width:Q,height:J,value:y?z:z[1],payload:D,background:$,tooltipPosition:{x:G+Q/2,y:V+J/2},parentViewBox:O,originalDataIndex:C},w&&w[C]&&w[C].props);return ae}).filter(Boolean)}function M$(e){var t=rn(e,_$),n=a$(t.stackId),a=En();return x.createElement(sC,{id:t.id,type:"bar"},l=>x.createElement(x.Fragment,null,x.createElement(m7,{legendPayload:m$(t)}),x.createElement(p$,{dataKey:t.dataKey,stroke:t.stroke,strokeWidth:t.strokeWidth,fill:t.fill,name:t.name,hide:t.hide,unit:t.unit,tooltipType:t.tooltipType,id:l}),x.createElement(C7,{type:"bar",id:l,data:void 0,xAxisId:t.xAxisId,yAxisId:t.yAxisId,zAxisId:0,dataKey:t.dataKey,stackId:n,hide:t.hide,barSize:t.barSize,minPointSize:t.minPointSize,maxBarSize:t.maxBarSize,isPanorama:a,hasCustomShape:t.shape!=null}),x.createElement(hr,{zIndex:t.zIndex},x.createElement(T$,Ka({},t,{id:l})))))}var MC=x.memo(M$,pd);MC.displayName="Bar";var C$=["domain","range"],N$=["domain","range"];function b2(e,t){if(e==null)return{};var n,a,l=P$(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}function P$(e,t){if(e==null)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;n[a]=e[a]}return n}function x2(e,t){return e===t?!0:Array.isArray(e)&&e.length===2&&Array.isArray(t)&&t.length===2?e[0]===t[0]&&e[1]===t[1]:!1}function CC(e,t){if(e===t)return!0;var{domain:n,range:a}=e,l=b2(e,C$),{domain:o,range:s}=t,f=b2(t,N$);return!x2(n,o)||!x2(a,s)?!1:pd(l,f)}var D$=["type"],k$=["dangerouslySetInnerHTML","ticks","scale"],R$=["id","scale"];function Ny(){return Ny=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Ny.apply(null,arguments)}function S2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function O2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?S2(Object(n),!0).forEach(function(a){z$(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S2(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function z$(e,t,n){return(t=I$(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function I$(e){var t=L$(e,"string");return typeof t=="symbol"?t:t+""}function L$(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Py(e,t){if(e==null)return{};var n,a,l=B$(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}function B$(e,t){if(e==null)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;n[a]=e[a]}return n}function U$(e){var t=et(),n=x.useRef(null),a=sT(),{type:l}=e,o=Py(e,D$),s=Sd(a,"xAxis",l),f=x.useMemo(()=>{if(s!=null)return O2(O2({},o),{},{type:s})},[o,s]);return x.useLayoutEffect(()=>{f!=null&&(n.current===null?t(cH(f)):n.current!==f&&t(sH({prev:n.current,next:f})),n.current=f)},[f,t]),x.useLayoutEffect(()=>()=>{n.current&&(t(fH(n.current)),n.current=null)},[t]),null}var q$=e=>{var{xAxisId:t,className:n}=e,a=ye(Jy),l=En(),o="xAxis",s=ye(E=>cM(E,o,t,l)),f=ye(E=>lM(E,t)),d=ye(E=>rB(E,t)),v=ye(E=>Lj(E,t));if(f==null||d==null||v==null)return null;var{dangerouslySetInnerHTML:m,ticks:y,scale:g}=e,b=Py(e,k$),{id:w,scale:O}=v,A=Py(v,R$);return x.createElement(wg,Ny({},b,A,{x:d.x,y:d.y,width:f.width,height:f.height,className:Xe("recharts-".concat(o," ").concat(o),n),viewBox:a,ticks:s,axisType:o,axisId:t}))},H$={allowDataOverflow:jt.allowDataOverflow,allowDecimals:jt.allowDecimals,allowDuplicatedCategory:jt.allowDuplicatedCategory,angle:jt.angle,axisLine:na.axisLine,height:jt.height,hide:!1,includeHidden:jt.includeHidden,interval:jt.interval,label:!1,minTickGap:jt.minTickGap,mirror:jt.mirror,orientation:jt.orientation,padding:jt.padding,reversed:jt.reversed,scale:jt.scale,tick:jt.tick,tickCount:jt.tickCount,tickLine:na.tickLine,tickSize:na.tickSize,type:jt.type,niceTicks:jt.niceTicks,xAxisId:0},G$=e=>{var t=rn(e,H$);return x.createElement(x.Fragment,null,x.createElement(U$,{allowDataOverflow:t.allowDataOverflow,allowDecimals:t.allowDecimals,allowDuplicatedCategory:t.allowDuplicatedCategory,angle:t.angle,dataKey:t.dataKey,domain:t.domain,height:t.height,hide:t.hide,id:t.xAxisId,includeHidden:t.includeHidden,interval:t.interval,minTickGap:t.minTickGap,mirror:t.mirror,name:t.name,orientation:t.orientation,padding:t.padding,reversed:t.reversed,scale:t.scale,tick:t.tick,tickCount:t.tickCount,tickFormatter:t.tickFormatter,ticks:t.ticks,type:t.type,unit:t.unit,niceTicks:t.niceTicks}),x.createElement(q$,t))},NC=x.memo(G$,CC);NC.displayName="XAxis";var $$=["type"],K$=["dangerouslySetInnerHTML","ticks","scale"],Y$=["id","scale"];function Dy(){return Dy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Dy.apply(null,arguments)}function w2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function A2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?w2(Object(n),!0).forEach(function(a){V$(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w2(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function V$(e,t,n){return(t=X$(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function X$(e){var t=Z$(e,"string");return typeof t=="symbol"?t:t+""}function Z$(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ky(e,t){if(e==null)return{};var n,a,l=F$(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}function F$(e,t){if(e==null)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;n[a]=e[a]}return n}function W$(e){var t=et(),n=x.useRef(null),a=sT(),{type:l}=e,o=ky(e,$$),s=Sd(a,"yAxis",l),f=x.useMemo(()=>{if(s!=null)return A2(A2({},o),{},{type:s})},[s,o]);return x.useLayoutEffect(()=>{f!=null&&(n.current===null?t(dH(f)):n.current!==f&&t(vH({prev:n.current,next:f})),n.current=f)},[f,t]),x.useLayoutEffect(()=>()=>{n.current&&(t(hH(n.current)),n.current=null)},[t]),null}function Q$(e){var{yAxisId:t,className:n,width:a,label:l}=e,o=x.useRef(null),s=x.useRef(null),f=ye(Jy),d=En(),v=et(),m="yAxis",y=ye(C=>uM(C,t)),g=ye(C=>iB(C,t)),b=ye(C=>cM(C,m,t,d)),w=ye(C=>Bj(C,t));if(x.useLayoutEffect(()=>{if(!(a!=="auto"||!y||mg(l)||x.isValidElement(l)||w==null)){var C=o.current;if(C){var z=C.getCalculatedWidth();Math.round(y.width)!==Math.round(z)&&v(mH({id:t,width:z}))}}},[b,y,v,l,t,a,w]),y==null||g==null||w==null)return null;var{dangerouslySetInnerHTML:O,ticks:A,scale:E}=e,j=ky(e,K$),{id:M,scale:N}=w,D=ky(w,Y$);return x.createElement(wg,Dy({},j,D,{ref:o,labelRef:s,x:g.x,y:g.y,tickTextProps:a==="auto"?{width:void 0}:{width:a},width:y.width,height:y.height,className:Xe("recharts-".concat(m," ").concat(m),n),viewBox:f,ticks:b,axisType:m,axisId:t}))}var J$={allowDataOverflow:Mt.allowDataOverflow,allowDecimals:Mt.allowDecimals,allowDuplicatedCategory:Mt.allowDuplicatedCategory,angle:Mt.angle,axisLine:na.axisLine,hide:!1,includeHidden:Mt.includeHidden,interval:Mt.interval,label:!1,minTickGap:Mt.minTickGap,mirror:Mt.mirror,orientation:Mt.orientation,padding:Mt.padding,reversed:Mt.reversed,scale:Mt.scale,tick:Mt.tick,tickCount:Mt.tickCount,tickLine:na.tickLine,tickSize:na.tickSize,type:Mt.type,niceTicks:Mt.niceTicks,width:Mt.width,yAxisId:0},eK=e=>{var t=rn(e,J$);return x.createElement(x.Fragment,null,x.createElement(W$,{interval:t.interval,id:t.yAxisId,scale:t.scale,type:t.type,domain:t.domain,allowDataOverflow:t.allowDataOverflow,dataKey:t.dataKey,allowDuplicatedCategory:t.allowDuplicatedCategory,allowDecimals:t.allowDecimals,tickCount:t.tickCount,padding:t.padding,includeHidden:t.includeHidden,reversed:t.reversed,ticks:t.ticks,width:t.width,orientation:t.orientation,mirror:t.mirror,hide:t.hide,unit:t.unit,name:t.name,angle:t.angle,minTickGap:t.minTickGap,tick:t.tick,tickFormatter:t.tickFormatter,niceTicks:t.niceTicks}),x.createElement(Q$,t))},PC=x.memo(eK,CC);PC.displayName="YAxis";var tK=(e,t)=>t,Eg=L([tK,qe,JT,qt,TM,da,_U,Dt],DU);function nK(e){return"getBBox"in e.currentTarget&&typeof e.currentTarget.getBBox=="function"}function _g(e){var t=e.currentTarget.getBoundingClientRect(),n,a;if(nK(e)){var l=e.currentTarget.getBBox();n=l.width>0?t.width/l.width:1,a=l.height>0?t.height/l.height:1}else{var o=e.currentTarget;n=o.offsetWidth>0?t.width/o.offsetWidth:1,a=o.offsetHeight>0?t.height/o.offsetHeight:1}var s=(f,d)=>({relativeX:Math.round((f-t.left)/n),relativeY:Math.round((d-t.top)/a)});return"touches"in e?Array.from(e.touches).map(f=>s(f.clientX,f.clientY)):s(e.clientX,e.clientY)}var DC=zn("mouseClick"),kC=Xo();kC.startListening({actionCreator:DC,effect:(e,t)=>{var n=e.payload,a=Eg(t.getState(),_g(n));(a==null?void 0:a.activeIndex)!=null&&t.dispatch(SB({activeIndex:a.activeIndex,activeDataKey:void 0,activeCoordinate:a.activeCoordinate}))}});var Ry=zn("mouseMove"),RC=Xo(),ql=null,bi=null,Bp=null;RC.startListening({actionCreator:Ry,effect:(e,t)=>{var n=e.payload,a=t.getState(),{throttleDelay:l,throttledEvents:o}=a.eventSettings,s=o==="all"||(o==null?void 0:o.includes("mousemove"));ql!==null&&(cancelAnimationFrame(ql),ql=null),bi!==null&&(typeof l!="number"||!s)&&(clearTimeout(bi),bi=null),Bp=_g(n);var f=()=>{var d=t.getState(),v=oc(d,d.tooltip.settings.shared);if(!Bp){ql=null,bi=null;return}if(v==="axis"){var m=Eg(d,Bp);(m==null?void 0:m.activeIndex)!=null?t.dispatch(yM({activeIndex:m.activeIndex,activeDataKey:void 0,activeCoordinate:m.activeCoordinate})):t.dispatch(pM())}ql=null,bi=null};if(!s){f();return}l==="raf"?ql=requestAnimationFrame(f):typeof l=="number"&&bi===null&&(bi=setTimeout(f,l))}});function rK(e,t){return t instanceof HTMLElement?"HTMLElement <".concat(t.tagName,' class="').concat(t.className,'">'):t===window?"global.window":e==="children"&&typeof t=="object"&&t!==null?"<<CHILDREN>>":t}var E2={accessibilityLayer:!0,barCategoryGap:"10%",barGap:4,barSize:void 0,className:void 0,maxBarSize:void 0,stackOffset:"none",syncId:void 0,syncMethod:"index",baseValue:void 0,reverseStackOrder:!1},zC=an({name:"rootProps",initialState:E2,reducers:{updateOptions:(e,t)=>{var n;e.accessibilityLayer=t.payload.accessibilityLayer,e.barCategoryGap=t.payload.barCategoryGap,e.barGap=(n=t.payload.barGap)!==null&&n!==void 0?n:E2.barGap,e.barSize=t.payload.barSize,e.maxBarSize=t.payload.maxBarSize,e.stackOffset=t.payload.stackOffset,e.syncId=t.payload.syncId,e.syncMethod=t.payload.syncMethod,e.className=t.payload.className,e.baseValue=t.payload.baseValue,e.reverseStackOrder=t.payload.reverseStackOrder}}}),aK=zC.reducer,{updateOptions:iK}=zC.actions,lK=null,uK={updatePolarOptions:(e,t)=>e===null?t.payload:(e.startAngle=t.payload.startAngle,e.endAngle=t.payload.endAngle,e.cx=t.payload.cx,e.cy=t.payload.cy,e.innerRadius=t.payload.innerRadius,e.outerRadius=t.payload.outerRadius,e)},IC=an({name:"polarOptions",initialState:lK,reducers:uK}),{updatePolarOptions:oK}=IC.actions,cK=IC.reducer,LC=zn("keyDown"),BC=zn("focus"),UC=zn("blur"),Ud=Xo(),Hl=null,xi=null,$s=null;Ud.startListening({actionCreator:LC,effect:(e,t)=>{$s=e.payload,Hl!==null&&(cancelAnimationFrame(Hl),Hl=null);var n=t.getState(),{throttleDelay:a,throttledEvents:l}=n.eventSettings,o=l==="all"||l.includes("keydown");xi!==null&&(typeof a!="number"||!o)&&(clearTimeout(xi),xi=null);var s=()=>{try{var f=t.getState(),d=f.rootProps.accessibilityLayer!==!1;if(!d)return;var{keyboardInteraction:v}=f.tooltip,m=$s;if(m!=="ArrowRight"&&m!=="ArrowLeft"&&m!=="Enter")return;var y=jo(v,Bi(f),eu(f),ru(f)),g=y==null?-1:Number(y),b=!Number.isFinite(g)||g<0,w=da(f),O=Bi(f),A=oc(f,f.tooltip.settings.shared);if(m==="Enter"){if(b)return;var E=Bf(f,A,"hover",String(v.index));t.dispatch(Lf({active:!v.active,activeIndex:v.index,activeCoordinate:E}));return}var j=sB(f),M=j==="left-to-right"?1:-1,N=m==="ArrowRight"?1:-1,D;if(b){var C=eu(f),z=ru(f),G=N*M,V=oe=>({active:!1,index:String(oe),dataKey:void 0,graphicalItemId:void 0,coordinate:void 0});if(D=-1,G>0){for(var Q=0;Q<O.length;Q++)if(jo(V(Q),O,C,z)!=null){D=Q;break}}else for(var J=O.length-1;J>=0;J--)if(jo(V(J),O,C,z)!=null){D=J;break}if(D<0)return}else{D=g+N*M;var $=(w==null?void 0:w.length)||O.length;if($===0||D>=$||D<0)return}var ge=Bf(f,A,"hover",String(D));t.dispatch(Lf({active:!0,activeIndex:D.toString(),activeCoordinate:ge}))}finally{Hl=null,xi=null}};if(!o){s();return}a==="raf"?Hl=requestAnimationFrame(s):typeof a=="number"&&xi===null&&(s(),$s=null,xi=setTimeout(()=>{$s?s():(xi=null,Hl=null)},a))}});Ud.startListening({actionCreator:BC,effect:(e,t)=>{var n=t.getState(),a=n.rootProps.accessibilityLayer!==!1;if(a){var{keyboardInteraction:l}=n.tooltip;if(!l.active&&l.index==null){var o="0",s=oc(n,n.tooltip.settings.shared),f=Bf(n,s,"hover",String(o));t.dispatch(Lf({active:!0,activeIndex:o,activeCoordinate:f}))}}}});Ud.startListening({actionCreator:UC,effect:(e,t)=>{var n=t.getState(),a=n.rootProps.accessibilityLayer!==!1;if(a){var{keyboardInteraction:l}=n.tooltip;l.active&&t.dispatch(Lf({active:!1,activeIndex:l.index,activeCoordinate:l.coordinate}))}}});function qC(e){e.persist();var{currentTarget:t}=e;return new Proxy(e,{get:(n,a)=>{if(a==="currentTarget")return t;var l=Reflect.get(n,a);return typeof l=="function"?l.bind(n):l}})}var Wn=zn("externalEvent"),HC=Xo(),Ks=new Map,xo=new Map,Up=new Map;HC.startListening({actionCreator:Wn,effect:(e,t)=>{var{handler:n,reactEvent:a}=e.payload;if(n!=null){var l=a.type,o=qC(a);Up.set(l,{handler:n,reactEvent:o});var s=Ks.get(l);s!==void 0&&(cancelAnimationFrame(s),Ks.delete(l));var f=t.getState(),{throttleDelay:d,throttledEvents:v}=f.eventSettings,m=v,y=m==="all"||(m==null?void 0:m.includes(l)),g=xo.get(l);g!==void 0&&(typeof d!="number"||!y)&&(clearTimeout(g),xo.delete(l));var b=()=>{var A=Up.get(l);try{if(!A)return;var{handler:E,reactEvent:j}=A,M=t.getState(),N={activeCoordinate:fU(M),activeDataKey:sg(M),activeIndex:Ui(M),activeLabel:CM(M),activeTooltipIndex:Ui(M),isTooltipActive:dU(M)};E&&E(N,j)}finally{Ks.delete(l),xo.delete(l),Up.delete(l)}};if(!y){b();return}if(d==="raf"){var w=requestAnimationFrame(b);Ks.set(l,w)}else if(typeof d=="number"){if(!xo.has(l)){b();var O=setTimeout(b,d);xo.set(l,O)}}else b()}}});var sK=L([hu],e=>e.tooltipItemPayloads),fK=L([sK,(e,t)=>t,(e,t,n)=>n],(e,t,n)=>{if(t!=null){var a=e.find(o=>o.settings.graphicalItemId===n);if(a!=null){var{getPosition:l}=a;if(l!=null)return l(t)}}}),GC=zn("touchMove"),$C=Xo(),Si=null,Ia=null,_2=null,So=null;$C.startListening({actionCreator:GC,effect:(e,t)=>{var n=e.payload;if(!(n.touches==null||n.touches.length===0)){So=qC(n);var a=t.getState(),{throttleDelay:l,throttledEvents:o}=a.eventSettings,s=o==="all"||o.includes("touchmove");Si!==null&&(cancelAnimationFrame(Si),Si=null),Ia!==null&&(typeof l!="number"||!s)&&(clearTimeout(Ia),Ia=null),_2=Array.from(n.touches).map(d=>_g({clientX:d.clientX,clientY:d.clientY,currentTarget:n.currentTarget}));var f=()=>{if(So!=null){var d=t.getState(),v=oc(d,d.tooltip.settings.shared);if(v==="axis"){var m,y=(m=_2)===null||m===void 0?void 0:m[0];if(y==null){Si=null,Ia=null;return}var g=Eg(d,y);(g==null?void 0:g.activeIndex)!=null&&t.dispatch(yM({activeIndex:g.activeIndex,activeDataKey:void 0,activeCoordinate:g.activeCoordinate}))}else if(v==="item"){var b,w=So.touches[0];if(document.elementFromPoint==null||w==null)return;var O=document.elementFromPoint(w.clientX,w.clientY);if(!O||!O.getAttribute)return;var A=O.getAttribute(nT),E=(b=O.getAttribute(rT))!==null&&b!==void 0?b:void 0,j=$i(d).find(D=>D.id===E);if(A==null||j==null||E==null)return;var{dataKey:M}=j,N=fK(d,A,E);t.dispatch(mM({activeDataKey:M,activeIndex:A,activeCoordinate:N,activeGraphicalItemId:E}))}Si=null,Ia=null}};if(!s){f();return}l==="raf"?Si=requestAnimationFrame(f):typeof l=="number"&&Ia===null&&(f(),So=null,Ia=setTimeout(()=>{So?f():(Ia=null,Si=null)},l))}}});var Tg={throttleDelay:"raf",throttledEvents:["mousemove","touchmove","pointermove","scroll","wheel"]},KC=an({name:"eventSettings",initialState:Tg,reducers:{setEventSettings:(e,t)=>{t.payload.throttleDelay!=null&&(e.throttleDelay=t.payload.throttleDelay),t.payload.throttledEvents!=null&&(e.throttledEvents=t.payload.throttledEvents)}}}),{setEventSettings:dK}=KC.actions,vK=KC.reducer,hK=A_({brush:jH,cartesianAxis:pH,chartData:c9,errorBars:TG,eventSettings:vK,graphicalItems:j7,layout:b5,legend:A4,options:a9,polarAxis:Uq,polarOptions:cK,referenceElements:PH,renderedTicks:ZH,rootProps:aK,tooltip:OB,zIndex:YU}),mK=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Chart";return $6({reducer:hK,preloadedState:t,middleware:a=>{var l;return a({serializableCheck:!1,immutableCheck:!["commonjs","es6","production"].includes((l="es6")!==null&&l!==void 0?l:"")}).concat([kC.middleware,RC.middleware,Ud.middleware,HC.middleware,$C.middleware])},enhancers:a=>{var l=a;return typeof a=="function"&&(l=a()),l.concat(B_({type:"raf"}))},devTools:{serialize:{replacer:rK},name:"recharts-".concat(n)}})};function YC(e){var{preloadedState:t,children:n,reduxStoreName:a}=e,l=En(),o=x.useRef(null);if(l)return n;o.current==null&&(o.current=mK(t,a));var s=Yy;return x.createElement(U4,{context:s,store:o.current},n)}function pK(e){var{layout:t,margin:n}=e,a=et(),l=En();return x.useEffect(()=>{l||(a(p5(t)),a(m5(n)))},[a,l,t,n]),null}var VC=x.memo(pK,pd);function XC(e){var t=et();return x.useEffect(()=>{t(iK(e))},[t,e]),null}var yK=e=>{var t=et();return x.useEffect(()=>{t(dK(e))},[t,e]),null},ZC=x.memo(yK,pd);function T2(e){var{zIndex:t,isPanorama:n}=e,a=x.useRef(null),l=et();return x.useLayoutEffect(()=>(a.current&&l($U({zIndex:t,element:a.current,isPanorama:n})),()=>{l(KU({zIndex:t,isPanorama:n}))}),[l,t,n]),x.createElement("g",{tabIndex:-1,ref:a,className:"recharts-zIndex-layer_".concat(t)})}function j2(e){var{children:t,isPanorama:n}=e,a=ye(RU);if(!a||a.length===0)return t;var l=a.filter(s=>s<0),o=a.filter(s=>s>0);return x.createElement(x.Fragment,null,l.map(s=>x.createElement(T2,{key:s,zIndex:s,isPanorama:n})),t,o.map(s=>x.createElement(T2,{key:s,zIndex:s,isPanorama:n})))}var gK=["children"];function bK(e,t){if(e==null)return{};var n,a,l=xK(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}function xK(e,t){if(e==null)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;n[a]=e[a]}return n}function Kf(){return Kf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Kf.apply(null,arguments)}var SK={width:"100%",height:"100%",display:"block"},OK=x.forwardRef((e,t)=>{var n=oT(),a=cT(),l=wT();if(!Cr(n)||!Cr(a))return null;var{children:o,otherAttributes:s,title:f,desc:d}=e,v,m;return s!=null&&(typeof s.tabIndex=="number"?v=s.tabIndex:v=l?0:void 0,typeof s.role=="string"?m=s.role:m=l?"application":void 0),x.createElement(q2,Kf({},s,{title:f,desc:d,role:m,tabIndex:v,width:n,height:a,style:SK,ref:t}),o)}),wK=e=>{var{children:t}=e,n=ye(fd);if(!n)return null;var{width:a,height:l,y:o,x:s}=n;return x.createElement(q2,{width:a,height:l,x:s,y:o},t)},M2=x.forwardRef((e,t)=>{var{children:n}=e,a=bK(e,gK),l=En();return l?x.createElement(wK,null,x.createElement(j2,{isPanorama:!0},n)):x.createElement(OK,Kf({ref:t},a),x.createElement(j2,{isPanorama:!1},n))});function AK(){var e=et(),[t,n]=x.useState(null),a=ye(z5);return x.useEffect(()=>{if(t!=null){var l=t.getBoundingClientRect(),o=l.width/t.offsetWidth;Re(o)&&o!==a&&e(g5(o))}},[t,e,a]),n}function C2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function EK(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?C2(Object(n),!0).forEach(function(a){_K(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C2(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function _K(e,t,n){return(t=TK(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function TK(e){var t=jK(e,"string");return typeof t=="symbol"?t:t+""}function jK(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ga(){return Ga=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Ga.apply(null,arguments)}var MK=()=>(g9(),null);function Yf(e){if(typeof e=="number")return e;if(typeof e=="string"){var t=parseFloat(e);if(!Number.isNaN(t))return t}return 0}var CK=x.forwardRef((e,t)=>{var n,a,l=x.useRef(null),[o,s]=x.useState({containerWidth:Yf((n=e.style)===null||n===void 0?void 0:n.width),containerHeight:Yf((a=e.style)===null||a===void 0?void 0:a.height)}),f=x.useCallback((v,m)=>{s(y=>{var g=Math.round(v),b=Math.round(m);return y.containerWidth===g&&y.containerHeight===b?y:{containerWidth:g,containerHeight:b}})},[]),d=x.useCallback(v=>{if(typeof t=="function"&&t(v),l.current!=null&&(l.current.disconnect(),l.current=null),v!=null&&typeof ResizeObserver<"u"){var{width:m,height:y}=v.getBoundingClientRect();f(m,y);var g=w=>{var O=w[0];if(O!=null){var{width:A,height:E}=O.contentRect;f(A,E)}},b=new ResizeObserver(g);b.observe(v),l.current=b}},[t,f]);return x.useEffect(()=>()=>{var v=l.current;v!=null&&v.disconnect()},[f]),x.createElement(x.Fragment,null,x.createElement(Fo,{width:o.containerWidth,height:o.containerHeight}),x.createElement("div",Ga({ref:d},e)))}),NK=x.forwardRef((e,t)=>{var{width:n,height:a}=e,[l,o]=x.useState({containerWidth:Yf(n),containerHeight:Yf(a)}),s=x.useCallback((d,v)=>{o(m=>{var y=Math.round(d),g=Math.round(v);return m.containerWidth===y&&m.containerHeight===g?m:{containerWidth:y,containerHeight:g}})},[]),f=x.useCallback(d=>{if(typeof t=="function"&&t(d),d!=null){var{width:v,height:m}=d.getBoundingClientRect();s(v,m)}},[t,s]);return x.createElement(x.Fragment,null,x.createElement(Fo,{width:l.containerWidth,height:l.containerHeight}),x.createElement("div",Ga({ref:f},e)))}),PK=x.forwardRef((e,t)=>{var{width:n,height:a}=e;return x.createElement(x.Fragment,null,x.createElement(Fo,{width:n,height:a}),x.createElement("div",Ga({ref:t},e)))}),DK=x.forwardRef((e,t)=>{var{width:n,height:a}=e;return typeof n=="string"||typeof a=="string"?x.createElement(NK,Ga({},e,{ref:t})):typeof n=="number"&&typeof a=="number"?x.createElement(PK,Ga({},e,{width:n,height:a,ref:t})):x.createElement(x.Fragment,null,x.createElement(Fo,{width:n,height:a}),x.createElement("div",Ga({ref:t},e)))});function kK(e){return e?CK:DK}var RK=x.forwardRef((e,t)=>{var{children:n,className:a,height:l,onClick:o,onContextMenu:s,onDoubleClick:f,onMouseDown:d,onMouseEnter:v,onMouseLeave:m,onMouseMove:y,onMouseUp:g,onTouchEnd:b,onTouchMove:w,onTouchStart:O,style:A,width:E,responsive:j,dispatchTouchEvents:M=!0}=e,N=x.useRef(null),D=et(),[C,z]=x.useState(null),[G,V]=x.useState(null),Q=AK(),J=e0(),$=(J==null?void 0:J.width)>0?J.width:E,ge=(J==null?void 0:J.height)>0?J.height:l,oe=x.useCallback(le=>{Q(le),typeof t=="function"&&t(le),z(le),V(le),le!=null&&(N.current=le)},[Q,t,z,V]),me=x.useCallback(le=>{D(DC(le)),D(Wn({handler:o,reactEvent:le}))},[D,o]),B=x.useCallback(le=>{D(Ry(le)),D(Wn({handler:v,reactEvent:le}))},[D,v]),Z=x.useCallback(le=>{D(pM()),D(Wn({handler:m,reactEvent:le}))},[D,m]),ie=x.useCallback(le=>{D(Ry(le)),D(Wn({handler:y,reactEvent:le}))},[D,y]),se=x.useCallback(()=>{D(BC())},[D]),ve=x.useCallback(()=>{D(UC())},[D]),k=x.useCallback(le=>{D(LC(le.key))},[D]),K=x.useCallback(le=>{D(Wn({handler:s,reactEvent:le}))},[D,s]),ae=x.useCallback(le=>{D(Wn({handler:f,reactEvent:le}))},[D,f]),ue=x.useCallback(le=>{D(Wn({handler:d,reactEvent:le}))},[D,d]),be=x.useCallback(le=>{D(Wn({handler:g,reactEvent:le}))},[D,g]),Oe=x.useCallback(le=>{D(Wn({handler:O,reactEvent:le}))},[D,O]),te=x.useCallback(le=>{M&&D(GC(le)),D(Wn({handler:w,reactEvent:le}))},[D,M,w]),ze=x.useCallback(le=>{D(Wn({handler:b,reactEvent:le}))},[D,b]),ne=kK(j);return x.createElement(LM.Provider,{value:C},x.createElement(O3.Provider,{value:G},x.createElement(ne,{width:$??(A==null?void 0:A.width),height:ge??(A==null?void 0:A.height),className:Xe("recharts-wrapper",a),style:EK({position:"relative",cursor:"default",width:$,height:ge},A),onClick:me,onContextMenu:K,onDoubleClick:ae,onFocus:se,onBlur:ve,onKeyDown:k,onMouseDown:ue,onMouseEnter:B,onMouseLeave:Z,onMouseMove:ie,onMouseUp:be,onTouchEnd:ze,onTouchMove:te,onTouchStart:Oe,ref:oe},x.createElement(MK,null),n)))}),zK=["width","height","responsive","children","className","style","compact","title","desc"];function IK(e,t){if(e==null)return{};var n,a,l=LK(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}function LK(e,t){if(e==null)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;n[a]=e[a]}return n}var FC=x.forwardRef((e,t)=>{var{width:n,height:a,responsive:l,children:o,className:s,style:f,compact:d,title:v,desc:m}=e,y=IK(e,zK),g=sr(y);return d?x.createElement(x.Fragment,null,x.createElement(Fo,{width:n,height:a}),x.createElement(M2,{otherAttributes:g,title:v,desc:m},o)):x.createElement(RK,{className:s,style:f,width:n,height:a,responsive:l??!1,onClick:e.onClick,onMouseLeave:e.onMouseLeave,onMouseEnter:e.onMouseEnter,onMouseMove:e.onMouseMove,onMouseDown:e.onMouseDown,onMouseUp:e.onMouseUp,onContextMenu:e.onContextMenu,onDoubleClick:e.onDoubleClick,onTouchStart:e.onTouchStart,onTouchMove:e.onTouchMove,onTouchEnd:e.onTouchEnd},x.createElement(M2,{otherAttributes:g,title:v,desc:m,ref:t},x.createElement(kH,null,o)))});function zy(){return zy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},zy.apply(null,arguments)}function N2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function BK(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?N2(Object(n),!0).forEach(function(a){UK(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N2(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function UK(e,t,n){return(t=qK(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qK(e){var t=HK(e,"string");return typeof t=="symbol"?t:t+""}function HK(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var GK={top:5,right:5,bottom:5,left:5},$K=BK({accessibilityLayer:!0,barCategoryGap:"10%",barGap:4,layout:"horizontal",margin:GK,responsive:!1,reverseStackOrder:!1,stackOffset:"none",syncMethod:"index"},Tg),KK=x.forwardRef(function(t,n){var a,l=rn(t.categoricalChartProps,$K),{chartName:o,defaultTooltipEventType:s,validateTooltipEventTypes:f,tooltipPayloadSearcher:d,categoricalChartProps:v}=t,m={chartName:o,defaultTooltipEventType:s,validateTooltipEventTypes:f,tooltipPayloadSearcher:d,eventEmitter:void 0};return x.createElement(YC,{preloadedState:{options:m},reduxStoreName:(a=v.id)!==null&&a!==void 0?a:o},x.createElement(pC,{chartData:v.data}),x.createElement(VC,{layout:l.layout,margin:l.margin}),x.createElement(ZC,{throttleDelay:l.throttleDelay,throttledEvents:l.throttledEvents}),x.createElement(XC,{baseValue:l.baseValue,accessibilityLayer:l.accessibilityLayer,barCategoryGap:l.barCategoryGap,maxBarSize:l.maxBarSize,stackOffset:l.stackOffset,barGap:l.barGap,barSize:l.barSize,syncId:l.syncId,syncMethod:l.syncMethod,className:l.className,reverseStackOrder:l.reverseStackOrder}),x.createElement(FC,zy({},l,{ref:n})))}),YK=["axis","item"],VK=x.forwardRef((e,t)=>x.createElement(KK,{chartName:"BarChart",defaultTooltipEventType:"axis",validateTooltipEventTypes:YK,tooltipPayloadSearcher:BM,categoricalChartProps:e,ref:t}));function XK(e){var t=et();return x.useEffect(()=>{t(oK(e))},[t,e]),null}var ZK=["layout"];function Iy(){return Iy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Iy.apply(null,arguments)}function FK(e,t){if(e==null)return{};var n,a,l=WK(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}function WK(e,t){if(e==null)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;n[a]=e[a]}return n}function P2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function QK(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?P2(Object(n),!0).forEach(function(a){JK(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P2(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function JK(e,t,n){return(t=eY(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eY(e){var t=tY(e,"string");return typeof t=="symbol"?t:t+""}function tY(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var nY={top:5,right:5,bottom:5,left:5},WC=QK({accessibilityLayer:!0,stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:nY,reverseStackOrder:!1,syncMethod:"index",layout:"radial",responsive:!1,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"},Tg),rY=x.forwardRef(function(t,n){var a,l=rn(t.categoricalChartProps,WC),{layout:o}=l,s=FK(l,ZK),{chartName:f,defaultTooltipEventType:d,validateTooltipEventTypes:v,tooltipPayloadSearcher:m}=t,y={chartName:f,defaultTooltipEventType:d,validateTooltipEventTypes:v,tooltipPayloadSearcher:m,eventEmitter:void 0};return x.createElement(YC,{preloadedState:{options:y},reduxStoreName:(a=l.id)!==null&&a!==void 0?a:f},x.createElement(pC,{chartData:l.data}),x.createElement(VC,{layout:o,margin:l.margin}),x.createElement(ZC,{throttleDelay:l.throttleDelay,throttledEvents:l.throttledEvents}),x.createElement(XC,{baseValue:void 0,accessibilityLayer:l.accessibilityLayer,barCategoryGap:l.barCategoryGap,maxBarSize:l.maxBarSize,stackOffset:l.stackOffset,barGap:l.barGap,barSize:l.barSize,syncId:l.syncId,syncMethod:l.syncMethod,className:l.className,reverseStackOrder:l.reverseStackOrder}),x.createElement(XK,{cx:l.cx,cy:l.cy,startAngle:l.startAngle,endAngle:l.endAngle,innerRadius:l.innerRadius,outerRadius:l.outerRadius}),x.createElement(FC,Iy({},s,{ref:n})))});function D2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,a)}return n}function k2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?D2(Object(n),!0).forEach(function(a){aY(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D2(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function aY(e,t,n){return(t=iY(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function iY(e){var t=lY(e,"string");return typeof t=="symbol"?t:t+""}function lY(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var uY=["item"],oY=k2(k2({},WC),{},{layout:"centric",startAngle:0,endAngle:360}),cY=x.forwardRef((e,t)=>{var n=rn(e,oY);return x.createElement(rY,{chartName:"PieChart",defaultTooltipEventType:"item",validateTooltipEventTypes:uY,tooltipPayloadSearcher:BM,categoricalChartProps:n,ref:t})});class sY{constructor(){this.ctx=null}init(){this.ctx||(this.ctx=new(window.AudioContext||window.webkitAudioContext)),this.ctx.state==="suspended"&&this.ctx.resume()}playTone(t,n,a,l=.1){try{if(!this.ctx)return;const o=this.ctx.createOscillator(),s=this.ctx.createGain();o.type=n,o.frequency.setValueAtTime(t,this.ctx.currentTime),s.gain.setValueAtTime(l,this.ctx.currentTime),s.gain.exponentialRampToValueAtTime(.01,this.ctx.currentTime+a),o.connect(s),s.connect(this.ctx.destination),o.start(),o.stop(this.ctx.currentTime+a)}catch{}}click(){window.isMuted||(this.init(),this.playTone(800,"sine",.1,.1),navigator.vibrate&&navigator.vibrate(30))}type(){window.isMuted||(this.init(),this.playTone(1200,"square",.05,.02))}process(){window.isMuted||(this.init(),this.playTone(200,"sawtooth",.2,.05),navigator.vibrate&&navigator.vibrate(10))}alert(){window.isMuted||(this.init(),this.playTone(400,"square",.3,.2),setTimeout(()=>this.playTone(300,"square",.4,.2),150),navigator.vibrate&&navigator.vibrate([100,50,100,50,200]))}success(){window.isMuted||(this.init(),this.playTone(400,"sine",.1,.1),setTimeout(()=>this.playTone(600,"sine",.1,.1),100),setTimeout(()=>this.playTone(800,"sine",.2,.1),200),navigator.vibrate&&navigator.vibrate([50,50,50]))}epic(){window.isMuted||(this.init(),this.playTone(400,"square",.1,.1),setTimeout(()=>this.playTone(600,"square",.1,.15),100),setTimeout(()=>this.playTone(800,"square",.1,.2),200),setTimeout(()=>this.playTone(1200,"sine",.8,.3),300),navigator.vibrate&&navigator.vibrate([50,50,50,50,50,50,400]))}}const fY=({text:e,delay:t=20})=>{const[n,a]=_o.useState(""),[l,o]=_o.useState(!0);return _o.useEffect(()=>{let s=0;a(""),o(!0);const f=setInterval(()=>{a(e.substring(0,s)),s++,s>e.length&&(clearInterval(f),o(!1))},t);return()=>clearInterval(f)},[e,t]),T.jsxs("span",{children:[n,l?T.jsx("span",{className:"animate-pulse",children:"_"}):""]})},lt=new sY,dY=({status:e})=>T.jsxs("svg",{width:"45",height:"45",viewBox:"0 0 100 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[T.jsx("rect",{x:"20",y:"25",width:"60",height:"50",rx:"10",fill:"#1a1a1a",stroke:e==="error"?"#ff0000":"#10e660",strokeWidth:"4"}),T.jsx("rect",{x:"10",y:"40",width:"10",height:"20",rx:"2",fill:e==="error"?"#ff0000":"#10e660"}),T.jsx("rect",{x:"80",y:"40",width:"10",height:"20",rx:"2",fill:e==="error"?"#ff0000":"#10e660"}),T.jsx("line",{x1:"50",y1:"25",x2:"50",y2:"10",stroke:e==="error"?"#ff0000":"#10e660",strokeWidth:"4"}),T.jsx("circle",{cx:"50",cy:"10",r:"5",fill:e==="error"?"#ff0000":"#10e660",className:e==="typing"?"animate-pulse":""}),T.jsx("g",{children:e==="happy"?T.jsxs(T.Fragment,{children:[T.jsx("path",{d:"M 30 50 Q 35 40 40 50",stroke:"#10e660",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),T.jsx("path",{d:"M 60 50 Q 65 40 70 50",stroke:"#10e660",strokeWidth:"4",fill:"none",strokeLinecap:"round"})]}):e==="error"?T.jsxs(T.Fragment,{children:[T.jsx("line",{x1:"30",y1:"45",x2:"40",y2:"55",stroke:"#ff0000",strokeWidth:"4",strokeLinecap:"round"}),T.jsx("line",{x1:"40",y1:"45",x2:"30",y2:"55",stroke:"#ff0000",strokeWidth:"4",strokeLinecap:"round"}),T.jsx("line",{x1:"60",y1:"45",x2:"70",y2:"55",stroke:"#ff0000",strokeWidth:"4",strokeLinecap:"round"}),T.jsx("line",{x1:"70",y1:"45",x2:"60",y2:"55",stroke:"#ff0000",strokeWidth:"4",strokeLinecap:"round"})]}):e==="typing"?T.jsxs(T.Fragment,{children:[T.jsx("rect",{x:"25",y:"45",width:"15",height:"10",rx:"2",fill:"#10e660"}),T.jsx("rect",{x:"60",y:"45",width:"15",height:"10",rx:"2",fill:"#10e660"})]}):T.jsxs(T.Fragment,{children:[T.jsx("rect",{x:"30",y:"45",width:"10",height:"10",rx:"2",fill:"#10e660"}),T.jsx("rect",{x:"60",y:"45",width:"10",height:"10",rx:"2",fill:"#10e660"})]})}),e==="happy"?T.jsx("path",{d:"M 40 65 Q 50 70 60 65",stroke:"#10e660",strokeWidth:"3",fill:"none",strokeLinecap:"round"}):e==="error"?T.jsx("path",{d:"M 40 67 Q 50 63 60 67",stroke:"#ff0000",strokeWidth:"3",fill:"none",strokeLinecap:"round"}):e==="typing"?T.jsx("circle",{cx:"50",cy:"65",r:"4",fill:"#10e660"}):T.jsx("line",{x1:"40",y1:"65",x2:"60",y2:"65",stroke:"#10e660",strokeWidth:"3",strokeLinecap:"round"})]}),qp=({text:e,actionType:t,onAction:n,about:a,whatsNew:l,image:o,icon:s,details:f})=>{const[d,v]=x.useState(""),[m,y]=x.useState(!1);return x.useEffect(()=>{let g=0;const b=setInterval(()=>{v(e.substring(0,g)),g++,g%3===0&&lt.type(),g>e.length&&(clearInterval(b),y(!0))},20);return()=>clearInterval(b)},[e]),x.useEffect(()=>{const g=document.getElementById("chat-container");g&&(g.scrollTop=g.scrollHeight)},[d,m]),T.jsxs("div",{className:"flex flex-col gap-1",children:[d.split(`
`).map((g,b)=>T.jsx("p",{className:"min-h-[1.5em] m-0",children:g},b)),m&&a&&T.jsxs("div",{className:"mt-4 p-5 bg-[#1a1a1a] rounded-2xl border border-[#1a1a1a] shadow-lg animate-[fadeIn_0.5s_ease-in-out]",children:[o&&T.jsx("img",{src:o,alt:"module",className:"w-full h-40 object-cover rounded-xl mb-4 shadow-lg border border-[#333]"}),T.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[s&&T.jsx("img",{src:s,alt:"icon",className:"w-12 h-12 rounded-xl shadow-[0_0_10px_rgba(0,0,0,0.5)] object-cover border border-[#333]"}),f&&T.jsx("p",{className:"text-gray-400 text-xs font-bold tracking-widest uppercase m-0",children:f})]}),T.jsx("p",{className:"text-gray-200 text-sm mb-3 leading-relaxed whitespace-pre-wrap",children:a}),l&&T.jsxs("div",{className:"text-sm text-gray-400 whitespace-pre-wrap border-t border-[#333] pt-3 mt-3",children:[T.jsx("p",{className:"font-bold text-[#10e660] mb-1",children:"WHAT'S NEW:"}),l]})]}),m&&t==="pokemon"?T.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 mt-4",children:[T.jsxs("button",{onClick:()=>n("pokemon_points"),className:"flex-1 bg-[#1a1a1a] border border-[#10e660] text-[#10e660] px-4 py-3 rounded-xl font-bold cursor-pointer transition-all hover:bg-[#10e660] hover:text-black shadow-[0_0_15px_rgba(16,230,96,0.2)] flex justify-center items-center gap-2",children:[T.jsx(I2,{size:18})," POINTS"]}),T.jsxs("button",{onClick:()=>n("pokemon"),className:"flex-1 bg-[#10e660] text-black px-4 py-3 rounded-xl font-bold cursor-pointer transition-all hover:bg-[#0fd659] shadow-[0_0_20px_rgba(16,230,96,0.4)] flex justify-center items-center gap-2",children:[T.jsx(kS,{size:18})," MOD TELEPORT"]})]}):m&&t&&n&&T.jsxs("button",{onClick:()=>n(t),className:"mt-4 bg-[#10e660] text-black px-4 py-3 rounded-xl font-bold cursor-pointer transition-all hover:bg-[#0fd659] shadow-[0_0_20px_rgba(16,230,96,0.4)] flex items-center gap-2 w-fit",children:[T.jsx(kS,{size:18})," START GENERATOR"]})]})},Ys={help:{type:"",desc:`> NOXSHELL HELP
> This terminal exploits vulnerabilities to generate premium credentials, licenses, and in-game currencies.
> 
> [ COMMAND SYNTAX ]
> <module> : Loads the module and displays its info before execution
> clear    : Clears the terminal output
> help     : Shows this menu
> 
> [ AVAILABLE MODULES ]
> MODS & TWEAKS:
>   pokemon
> 
> Example: Type 'pokemon' to see its info and execute.`},netflix:{type:"netflix",desc:`> MODULE: Netflix Premium Generator
> STATUS: ONLINE
> Initiate sequence to inject database and retrieve credentials.`,about:"Generate a fully working Netflix Premium account to stream all your favorite movies and TV shows in 4K Ultra HD. The algorithm exploits database vulnerabilities to retrieve valid, active subscriptions.",whatsNew:`> Bypassed new Netflix device restrictions
> Added 4K UHD account tier support
> Improved account lifespan`,image:"/img/netflix_banner.jpg",icon:"/img/netflix_icon.png",details:"VERSION: 6.2.0 | RATING: 4.8★ | SUCCESS RATE: 99%"},spotify:{type:"spotify",desc:`> MODULE: Spotify Premium Generator
> STATUS: ONLINE
> Initiate sequence to bypass payment gateway.`,about:"Upgrade your existing Spotify account to Premium or generate a new one. Enjoy ad-free music listening, offline downloads, and unlimited skips.",whatsNew:`> Patched family plan upgrade exploit
> Added support for Apple ID linked accounts
> Faster generation times`,image:"/img/spotify_banner.jpg",icon:"/img/spotify_icon.png",details:"VERSION: 4.5.1 | RATING: 4.9★ | SUCCESS RATE: 98%"},key:{type:"key",desc:`> MODULE: License Key Generator
> STATUS: ONLINE
> Initiate sequence to algorythmically forge product key.`,about:"Algorithmically forge valid product license keys for premium software including Windows 11, Office 365, Adobe Creative Cloud, and various antivirus programs.",whatsNew:`> Added Windows 11 Pro KMS bypass
> Updated Adobe CC algorithms
> Increased validation persistence`,image:"/img/key_banner.jpg",icon:"/img/key_icon.png",details:"VERSION: 8.1.3 | RATING: 4.7★ | ENCRYPTION: SHA-256"},nitro:{type:"nitro",desc:`> MODULE: Discord Nitro Generator
> STATUS: ONLINE
> Initiate sequence to generate promotional hash.`,about:"Generate a valid Discord Nitro promotional link. Unlock 500MB uploads, custom emojis anywhere, HD streaming, and 2 Server Boosts. Safe and undetectable.",whatsNew:`> Bypass for promotional link limits
> Updated hash generation logic
> Fixed invalid gift link errors`,image:"https://images.unsplash.com/photo-1542751371-adc38448a05e?w=800&q=80",icon:"/img/nitro_icon.png",details:"VERSION: 2.9.0 | RATING: 4.9★ | SUCCESS RATE: 97%"},vbucks:{type:"vbucks",desc:`> MODULE: V-Bucks Adder
> STATUS: ONLINE
> Initiate sequence to exploit Epic Games API and inject V-Bucks.`,about:"Generate unlimited V-Bucks for your Fortnite account! Skip the grind and unlock premium skins, battle passes, and emotes instantly. Safe, secure, and undetectable.",whatsNew:`> Updated bypass for latest Fortnite patch
> Reduced injection time
> Added support for all platforms`,image:"/img/vbucks.svg",icon:"/img/vbucks_icon.png",details:"VERSION: 1.0.4 | RATING: 4.9★ | PLATFORM: ALL"},robux:{type:"robux",desc:`> MODULE: Robux Injector
> STATUS: ONLINE
> Initiate sequence to exploit Roblox database and inject Robux.`,about:"Get unlimited Robux to spend in your favorite Roblox games. Buy game passes, avatar items, and premium features without spending a dime. Server-side injection guarantees success.",whatsNew:`> New anti-ban protocols active
> Faster delivery rate
> Verified working for 2026`,image:"/img/robux.svg",icon:"/img/robux_icon.png",details:"VERSION: 2.1.0 | RATING: 4.8★ | PLATFORM: ALL"},steam:{type:"steam",desc:`> MODULE: Steam Wallet Generator
> STATUS: ONLINE
> Initiate sequence to algorythmically forge Steam Gift Cards.`,about:"Algorithmically forge valid Steam Gift Card codes to add funds directly to your Steam Wallet. Buy any game, DLC, or marketplace item instantly.",whatsNew:`> Improved code validation accuracy
> Region-free code generation
> Added $100 tier support`,image:"/img/steam.svg",icon:"/img/steam_icon.png",details:"VERSION: 3.4.1 | RATING: 4.7★ | PLATFORM: PC"},pokemon:{type:"pokemon",desc:`> MODULE: Pokemon Go Spoofer
> STATUS: ONLINE
> Initiate sequence to exploit location services and inject spoofing protocol.`,about:`Install Pokemon GO Spoofer with our Guide — Teleport, Joystick, Auto Walk and More! Unlock powerful features instantly and play smarter on iOS and Android.

Pokémon GO is a groundbreaking augmented reality (AR) mobile game that brings the magical world of Pokémon into real life. Developed by Niantic in collaboration with The Pokémon Company and Nintendo, it launched in 2016 and quickly became a global phenomenon. As of 2026, the game celebrates its 10th anniversary alongside the Pokémon franchise's 30th anniversary, with ongoing updates, massive events, and millions of active Trainers worldwide.

At its core, Pokémon GO uses your smartphone's GPS and camera to transform the real world into an interactive Pokémon habitat. As you explore streets, parks, neighborhoods, and cities, wild Pokémon appear on your map for you to discover and catch.`,whatsNew:`> Added Joystick support for iOS 17
> Improved anti-ban teleportation algorithms
> Updated to support the latest Pokemon Go version`,image:"/img/VS6GqwCpokemon_go_4k_5k_hd_pikachu-1920x1080.jpg",icon:"/img/TDKnYB3200x200bb-752.png",details:"VERSION: 4.1.5 | RATING: 4.8★ | SIZE: 762.5MB"},geode:{type:"geode",desc:`> MODULE: Geode Mod
> STATUS: ONLINE
> Initiate sequence to inject custom modifications.`,about:`Install Geode with our Guide on iOS and Android without Jailbreak or Root! Custom Icons, FPS Boost, Extra Features, Thousands of Community Mods.

Geometry Dash is the ultimate rhythm-based action platformer from RobTop Games, with 10M+ downloads, 4.7-star Android ratings (1M+ reviews), 4.5-star iOS (238K ratings), and 93% Very Positive on Steam (500K+ reviews). Since 2013, tap to jump, fly rockets, flip gravity, and dodge spikes in sync with epic soundtracks—master near-impossible challenges!

Key features: 21 Official Levels + millions of user-created ones via built-in editor; build & share! Daily/Event Levels — conquer fresh hits. Customization — unlock icons, colors, effects for your character.`,whatsNew:`> Support for Geometry Dash 2.206
> New mod manager interface
> Fixed crashes on iOS 17`,image:"/img/4MU6eQJScreenshot2026-02-14050859.png",icon:"/img/KpfVBbDim-a-mobile-user-what-the-fuck-is-geode-v0-v80846vfvbfg1.png",details:"VERSION: 2.2 | RATING: 4.9★ | SIZE: 800K+"},bitlife:{type:"bitlife",desc:`> MODULE: BitLife Life Simulator Hack
> STATUS: ONLINE
> Initiate sequence to bypass premium verification.`,about:`Install Bitlife MOD with our Guide — Everything Unlocked! Unlock all features and enjoy the full game experience with our easy step-by-step instructions.

BitLife - Life Simulator is the ultimate text-based life simulator from Candywriter, LLC, with 50M+ downloads, 4.4★ on Google Play (1.28M reviews), and 4.7★ on iOS (15K+ ratings).

Launched in 2018, live your wildest (or worst) life through endless choices—from birth to death—shaping careers, relationships, crimes, royalty, and more in a branching story simulator.`,whatsNew:`> Unlocked God Mode & Bitizenship
> Added Business Update features
> Fixed aging glitch`,image:"/img/FAl1ZVfBitLife-INT-1920.jpg",icon:"/img/kVIqiEc512x512bb.jpg",details:"VERSION: 3.14.5 | RATING: 4.6★ | DOWNLOADS: 10M+"},toca:{type:"toca",desc:`> MODULE: Toca Boca World Hack
> STATUS: ONLINE
> Initiate sequence to unlock all packs.`,about:`Install Toca Boca World MOD with our Guide - Everything Purchased iOS and Android. No Jailbreak, No Root Required.

Toca Boca World (formerly Toca Life World) is the ultimate kids' digital dollhouse from Swedish studio Toca Boca, with 100M+ downloads, 4.3★ Google Play (6.56M reviews), and 4.3★ App Store (784K ratings). Launched in 2018, create characters, build homes, and role-play endless stories in a vibrant, open-ended world with 90+ locations, 500+ characters, and weekly free gifts.`,whatsNew:`> Unlocked all Furniture and Locations
> Added latest Y2K fashion pack
> Improved loading times`,image:"/img/21nFBITIMG_1782.PNG",icon:"/img/whKzcdW512x512bb2112.jpg",details:"VERSION: 9.8.1 | RATING: 4.3★ | DOWNLOADS: 100M+"},baseball:{type:"baseball",desc:`> MODULE: BASEBALL 9 Hack
> STATUS: ONLINE
> Initiate sequence to inject unlimited resources.`,about:`Install Baseball 9 MOD with our Guide — Unlimited Gems, Coins and More! On iOS (iPhone): Enjoy unlimited Gems, Coins, Energy, Recruit Tickets, Badges, and spend freely on everything. On Android: Get unlimited Gems to buy unlimited Coins — spend Coins on select items for a big advantage.

BASEBALL 9 is the thrilling fast-paced baseball sim from playus soft, with 10M+ downloads, 4.6★ Google Play (462K reviews), and 4.5★ App Store (124K ratings). Launched in 2018, swipe to swing, pitch, and field in realistic 3D matches—build your team and climb to Legend League!`,whatsNew:`> Unlimited Gems & Coins glitch patched
> Added auto-hit script
> Max level unlocker`,image:"/img/vuNGD8wIMG_1482.PNG",icon:"/img/4tpWvnY512x512bb1.jpg",details:"VERSION: 3.8.7 | RATING: 4.6★ | DOWNLOADS: 10M+"},sims:{type:"sims",desc:`> MODULE: The Sims 4 DLC Code Generator
> STATUS: ONLINE
> Initiate sequence to algorithmically forge DLC codes.`,about:`Install The Sims 4 with ALL DLC with our Guide on Windows PC/Laptop - No Jailbreak or Root Required.

Play with life in The Sims 4! Create and control people in a virtual world where there are no rules. Express your creativity as you customize your Sims’ distinct appearances and unique personalities. Choose their fashions, select their hairstyles, and give them life aspirations. Effortlessly build your Sims the perfect homes with the all-new room-based Build Mode, choosing your favorite designs and décor. Develop your Sims’ relationships, pursue new careers, and shape the rich and entertaining moments of their lives.`,whatsNew:`> Added Life & Death Expansion Pack
> Added Lovestruck Expansion Pack
> Fixed Origin/EA App verification bypass`,image:"/img/xcYVScreenshot2025-01-03103530.png",icon:"/img/xcYVd98vqk1-d151f7fb-0ef1-44b9-bcda-b45fe00e8b84.png",details:"VERSION: 25.1.9 | RATING: 4.8★ | PLATFORM: PC/MAC"},happymod:{type:"happymod",desc:`> MODULE: HappyMod
> STATUS: ONLINE
> Initiate sequence to install premium mod repository.`,about:`Install Modded Apps with our Guide - No Jailbreak, No Root required.

HappyMod is the leading community-driven modded APK platform for Android and iOS, offering thousands of modified games and apps with unlocked premium features, unlimited resources, ad removal, and cheats—free for users seeking enhanced experiences beyond official stores.

Key features: Vast Mod Library — 100,000+ mods for hits like Minecraft, Roblox, Spotify, Clash of Clans—multiple versions per app, with detailed changelogs.`,whatsNew:`> Removed annoying ads
> Faster download speeds enabled
> Auto-update mods feature`,image:"/img/bFk8QoEhappymod-download-page-4410635.jpg",icon:"/img/NCZLOH4unnamed1.png",details:"VERSION: 3.2.9 | RATING: 4.5★ | MODS: 100K+"},aether:{type:"aether",desc:`> MODULE: AetherSX2 Emulator
> STATUS: ONLINE
> Initiate sequence to install PS2 emulator features.`,about:"Install AetherSX2 PS2 Emulator for iOS and Android with our Guide and Play your favorite PS2 Games! Relive the classic console experience on your mobile device with full support for controllers, save states, and resolution upscaling.",whatsNew:`> Improved rendering performance
> Added Vulkan backend support
> Fixed audio stuttering issues`,image:"/img/4HMmasfksehmnebg1.jpeg",icon:"/img/4HMmneide.png",details:"VERSION: 1.5 | RATING: 4.8★ | PLATFORM: MOBILE"},melonx:{type:"melonx",desc:`> MODULE: MelonX Emulator
> STATUS: ONLINE
> Initiate sequence to install Switch emulator features.`,about:"Install MelonX Switch Emulator for iOS with our Guide and Play your favorite Switch Games! Enjoy smooth emulation of popular titles directly on your mobile device, featuring custom control layouts and optimized performance profiles.",whatsNew:`> Increased game compatibility
> Fixed UI rendering bugs
> Enhanced thermal management`,image:"/img/FDjRScreenshot2026-02-15121719.png",icon:"/img/FDjR183658658.png",details:"VERSION: 4.1.5 | RATING: 4.7★ | PLATFORM: iOS"},pojav:{type:"pojav",desc:`> MODULE: PojavLauncher
> STATUS: ONLINE
> Initiate sequence to install Minecraft Java on mobile.`,about:"Install PojavLauncher with our Guide on iOS and Android without Jailbreak, Root. Play Minecraft Java Edition on iPhone, iPAD, Android. Enjoy full PC server compatibility and mod support (Forge/Fabric) right from your phone.",whatsNew:`> Support for Minecraft 1.20+
> Better memory allocation
> Fixed touch controls mapping`,image:"/img/mOdhPojavLauncher-Apk-1.jpg",icon:"/img/mOdh69146964.png",details:"VERSION: 4.1.5 | RATING: 4.8★ | PLATFORM: MOBILE"},simsfreeplay:{type:"simsfreeplay",desc:`> MODULE: The Sims FreePlay Hack
> STATUS: ONLINE
> Initiate sequence to inject unlimited currencies.`,about:"Install The Sims FreePlay Hack, Infinite Currencies for iOS/iPhone/Android with our Guide - No Jailbreak or Root Required. Android FREE, iOS requires Payment. Unlock infinite currencies to enjoy the full game experience. Easy to install with no jailbreak or root needed.",whatsNew:`> Unlimited Simoleons and LP
> VIP Perks unlocked
> Fixed sync errors`,image:"/img/DYxfmaxresdefault1.jpg",icon:"/img/DYxf200x200bb-75.webp",details:"VERSION: 5.97.1 | RATING: 4.6★ | PLATFORM: MOBILE"},carparking:{type:"carparking",desc:`> MODULE: Car Parking Multiplayer 2 Hack
> STATUS: ONLINE
> Initiate sequence to unlock all cars and infinite money.`,about:"Install Car Parking Multiplayer 2 MOD with our Guide — All Cars Unlocked! Infinite Money! Unlock all features and enjoy the full game experience with our easy step-by-step instructions. Master realistic 170+ cars (BMW M2 G87, Mazda RX-8, Aston Martin), park in challenges, drift on Nürburgring, or explore a massive city.",whatsNew:`> All 170+ Cars Unlocked
> Infinite Money Glitch Active
> Anti-Ban System Updated`,image:"/img/ODjWIxVScreenshot2024-12-07133008.png",icon:"/img/qVCmRgr512x512bb9.jpg",details:"VERSION: 2.2.5 | RATING: 4.5★ | PLATFORM: MOBILE"}},vY=({generatorType:e})=>{const[t,n]=x.useState(!0),[a,l]=x.useState(""),o=_o.useMemo(()=>{let s=e.toUpperCase()+`
GENERATOR 2026`,f="#10e660";e==="pokemon"||e==="pokemon_points"?s=`POKEMON GO
SPOOFER 2026`:e==="netflix"?(s=`NETFLIX PREMIUM
GENERATOR 2026`,f="#ff0000"):e==="spotify"?s=`SPOTIFY PREMIUM
GENERATOR 2026`:e==="vbucks"&&(s=`V-BUCKS
GENERATOR 2026`,f="#00ffff");let d=e.toUpperCase()+"_INJECTOR_V2.1.EXE";e==="pokemon"&&(d="POKEMON_GO_SPOOFER.APK"),e==="pokemon_points"&&(d="POKEMON_POINTS_INJECTOR.APK");let v=(Math.random()*50+10).toFixed(1)+" MB";return(e==="pokemon"||e==="pokemon_points")&&(v="762.5 MB"),{title:s,fileName:d,size:v,btnText:"> INITIATE DOWNLOAD <",actionWord:"extracted",primaryColor:f}},[e]);return x.useEffect(()=>{const s=["BRAZIL","USA","UK","GERMANY","FRANCE","JAPAN","ITALY"];l("> SYS_LOG: CONNECTION FROM BRAZIL [SUCCESS]");const f=setInterval(()=>{n(!1),setTimeout(()=>{const d=s[Math.floor(Math.random()*s.length)];l(`> SYS_LOG: CONNECTION FROM ${d} [SUCCESS]`),n(!0)},300)},3500);return()=>clearInterval(f)},[]),T.jsxs("div",{className:"fixed inset-0 z-[100] bg-black overflow-y-auto font-mono flex flex-col items-center justify-start p-4",style:{color:o.primaryColor},children:[T.jsx("div",{className:"fixed inset-0 pointer-events-none bg-[linear-gradient(rgba(18,16,16,0)_50%,rgba(0,0,0,0.25)_50%),linear-gradient(90deg,rgba(255,0,0,0.06),rgba(0,255,0,0.02),rgba(0,0,255,0.06))] bg-[length:100%_4px,3px_100%] z-50 opacity-20"}),T.jsxs("div",{className:"max-w-[600px] w-full mt-10 p-6 border-2 relative",style:{borderColor:o.primaryColor,boxShadow:`0 0 15px ${o.primaryColor}40`},children:[T.jsxs("div",{className:"absolute top-0 left-0 w-full px-2 py-1 flex justify-between items-center bg-black -mt-3",children:[T.jsx("span",{className:"bg-black px-2 font-bold tracking-widest text-sm",children:"ROOT@SYSTEM:~#"}),T.jsx("span",{className:"bg-black px-2 text-xs",children:"V.2.1.4_STABLE"})]}),T.jsxs("div",{className:"mt-6 flex flex-col items-center text-center",children:[T.jsx(Oo,{size:48,className:"mb-4 animate-pulse"}),T.jsx("h1",{className:"text-2xl sm:text-3xl font-bold tracking-widest mb-2 whitespace-pre-line leading-tight",children:o.title}),T.jsx("p",{className:"text-sm opacity-80 mb-8 tracking-widest",children:"[ STATUS: ONLINE & UNDETECTED ]"})]}),T.jsxs("div",{className:"border border-dashed p-4 mb-8",style:{borderColor:o.primaryColor},children:[T.jsx("p",{className:"mb-2",children:"> TARGET FILE INFO:"}),T.jsxs("div",{className:"grid grid-cols-2 gap-2 text-sm opacity-90 pl-4",children:[T.jsx("div",{children:"NAME:"}),T.jsx("div",{children:o.fileName}),T.jsx("div",{children:"SIZE:"}),T.jsx("div",{children:o.size}),T.jsx("div",{children:"HASH:"}),T.jsx("div",{children:Math.random().toString(36).substring(2,10).toUpperCase()}),T.jsx("div",{children:"STATUS:"}),T.jsx("div",{className:"animate-pulse",children:"READY_FOR_INJECTION"})]})]}),T.jsxs("div",{className:"text-center mb-8",children:[T.jsx("p",{className:"text-xl font-bold mb-4",children:"ACTIVE SESSIONS: 5,261"}),T.jsx("a",{href:"https://appsave.store/cl/i/m53pq8",target:"_blank",rel:"noreferrer",className:"inline-block border-2 px-8 py-4 font-bold text-xl sm:text-2xl transition-all hover:bg-opacity-20 animate-pulse hover:animate-none",style:{borderColor:o.primaryColor,backgroundColor:`${o.primaryColor}1a`,textShadow:`0 0 8px ${o.primaryColor}`},children:o.btnText})]}),T.jsxs("div",{className:"border p-4 mb-6 text-sm flex flex-col gap-2 opacity-80",style:{borderColor:o.primaryColor},children:[T.jsx("p",{children:"> RUNNING SECURITY CHECKS..."}),T.jsxs("p",{className:"flex items-center gap-2",children:[T.jsx(To,{size:16})," BYPASSING FIREWALL... OK"]}),T.jsxs("p",{className:"flex items-center gap-2",children:[T.jsx(To,{size:16})," VIRUSTOTAL SCAN: 0/72 DETECTED"]}),T.jsxs("p",{className:"flex items-center gap-2",children:[T.jsx(To,{size:16})," ENCRYPTION: AES-256 ACTIVE"]})]}),T.jsx("div",{className:"text-center text-xs opacity-60",children:T.jsxs("p",{children:["SYS_TIME: ",new Date().toISOString()]})})]}),T.jsx("div",{className:`fixed top-4 right-4 sm:right-8 border p-3 shadow-lg transition-all duration-300 z-[200] max-w-[300px] ${t?"opacity-100 translate-x-0":"opacity-0 translate-x-4"}`,style:{backgroundColor:"black",borderColor:o.primaryColor,boxShadow:`0 0 10px ${o.primaryColor}40`},children:T.jsx("p",{className:"text-xs font-bold whitespace-pre-line tracking-wider",children:a})})]})};function hY(){const[e,t]=x.useState(typeof window<"u"&&window.location.hash!=="#admin"),[n,a]=x.useState(!1),[l,o]=x.useState([]),[s,f]=x.useState([]),[d,v]=x.useState(!1);x.useEffect(()=>{const ee=we=>{we.preventDefault()},ce=we=>{(we.key==="F12"||we.ctrlKey&&we.shiftKey&&(we.key==="I"||we.key==="i"||we.key==="J"||we.key==="j"||we.key==="C"||we.key==="c")||we.ctrlKey&&(we.key==="U"||we.key==="u"))&&we.preventDefault()};return document.addEventListener("contextmenu",ee),document.addEventListener("keydown",ce),()=>{document.removeEventListener("contextmenu",ee),document.removeEventListener("keydown",ce)}},[]),x.useEffect(()=>{window.isMuted=d},[d]);const[m,y]=x.useState(typeof window<"u"&&window.location.hash==="#admin"?"admin":"terminal"),[g,b]=x.useState(!1),[w,O]=x.useState(""),[A,E]=x.useState(""),[j,M]=x.useState(""),N=ee=>{ee.preventDefault(),lt.click(),w==="admin@spoofer.com"&&A==="admin"?(b(!0),M(""),lt.success()):(M("ACCESS DENIED: Invalid credentials"),lt.playTone(200,"sawtooth",.5,.2),navigator.vibrate&&navigator.vibrate([100,50,100]))},[D,C]=x.useState([{id:"welcome",sender:"bot",content:T.jsxs(T.Fragment,{children:[T.jsx("p",{children:"> CONNECTION ESTABLISHED."}),T.jsx("p",{children:"> Welcome to TerminaliApp."}),T.jsxs("p",{children:["> Type ",T.jsx("span",{className:"text-[#10e660] bg-[#10e660]/10 px-1 rounded border border-[#10e660]/30 font-bold",children:"help"})," to see the full list of available modules and categories."]}),T.jsxs("p",{children:["> To execute a hack, type its name (e.g., ",T.jsx("span",{className:"text-[#10e660] bg-[#10e660]/10 px-1 rounded border border-[#10e660]/30 font-bold",children:"pokemon"}),")."]})]})}]),[z,G]=x.useState(""),[V,Q]=x.useState([]),[J,$]=x.useState(-1),ge=x.useRef(null),oe=x.useRef(null);x.useEffect(()=>{var ee;!e&&m==="terminal"&&((ee=ge.current)==null||ee.focus())},[e,m,D]),x.useEffect(()=>{if(m!=="terminal"){t(!1);return}const ee=["INITIATING KERNEL...","LOADING SPOOFER MODULES...","BYPASSING GLOBAL FIREWALLS...","ENCRYPTING TRAFFIC [AES-256]...","INJECTING PAYLOADS...","ESTABLISHING NEURAL LINK...","HANDSHAKE SUCCESSFUL.","ACCESS GRANTED."];if(e){let ce=0;const we=setInterval(()=>{ce<ee.length?(o(_t=>[..._t,ee[ce]]),ce<ee.length-1&&lt.playTone(800+ce*100,"square",.05,.05),ce++):(clearInterval(we),setTimeout(()=>{lt.success(),t(!1)},600))},300);return()=>clearInterval(we)}},[m]),x.useEffect(()=>{if(e||m!=="terminal")return;const ee=["GhostHacker","Neo99","x_Sniper_x","anon_732","DarkWeb_User","vBucksKing","ShadowK1lla","ZeroDay","Elite_Gen"],ce=["generated 13,500 V-Bucks","extracted Netflix Premium","injected 10,000 Robux","forged $100 Steam Card","generated 1 Year Spotify","extracted Discord Nitro","injected Pokemon Go Spoofer","unlocked BitLife Premium","unlocked Toca Boca World","generated Sims 4 DLC Code"],we=setInterval(()=>{if(Math.random()>.4){const _t=ee[Math.floor(Math.random()*ee.length)],pr=ce[Math.floor(Math.random()*ce.length)],st={id:Date.now().toString(),text:`User [${_t}] ${pr}`};f(hn=>{const on=[...hn,st];return on.length>2?on.slice(1):on}),lt.playTone(1200,"sine",.1,.02),setTimeout(()=>{f(hn=>hn.filter(on=>on.id!==st.id))},4e3)}},5e3);return()=>clearInterval(we)},[e,m]);const[me,B]=x.useState("idle"),Z=x.useRef(null),ie=x.useRef(null),[se,ve]=x.useState(!1),[k,K]=x.useState(1),[ae,ue]=x.useState(""),[be,Oe]=x.useState(null),[te,ze]=x.useState(null),[ne,le]=x.useState(0),[Te,re]=x.useState([]),[pt,je]=x.useState(!1),[Et,zt]=x.useState(24590),[rr,Vi]=x.useState(12845),[mu,dc]=x.useState(142),[pu,qd]=x.useState([{name:"netflix",count:45},{name:"spotify",count:32},{name:"key",count:28},{name:"nitro",count:15},{name:"help",count:12},{name:"vbucks",count:5},{name:"robux",count:8},{name:"steam",count:3},{name:"pokemon",count:2},{name:"geode",count:1},{name:"bitlife",count:4},{name:"toca",count:3},{name:"baseball",count:2},{name:"sims",count:6},{name:"happymod",count:1}]),[yu,vn]=x.useState([{name:"Romania",count:120},{name:"USA",count:85},{name:"Germany",count:64},{name:"UK",count:42},{name:"France",count:38}]),[Hd,vc]=x.useState([{ip:"188.24.15.102",country:"Romania",lastActive:"2 mins ago",isBanned:!1},{ip:"92.154.12.5",country:"USA",lastActive:"5 mins ago",isBanned:!1},{ip:"45.12.88.3",country:"Germany",lastActive:"12 mins ago",isBanned:!0},{ip:"102.44.1.9",country:"Romania",lastActive:"1 hour ago",isBanned:!1},{ip:"77.23.4.11",country:"UK",lastActive:"3 hours ago",isBanned:!1}]),Wa=["#10e660","#00cc00","#009900","#006600","#003300"],Xi=ee=>{lt.click(),vc(ce=>ce.map(we=>we.ip===ee?{...we,isBanned:!we.isBanned}:we))};x.useEffect(()=>{m==="admin"?window.location.hash="admin":window.history.replaceState(null,"",window.location.pathname+window.location.search)},[m]),x.useEffect(()=>{const ee=ce=>{ce.ctrlKey&&ce.shiftKey&&ce.key.toLowerCase()==="a"&&(ce.preventDefault(),lt.click(),y(we=>we==="terminal"?"admin":"terminal"))};return window.addEventListener("keydown",ee),()=>window.removeEventListener("keydown",ee)},[]);const Gd=()=>{const ee=document.getElementById("chat-container");ee&&(ee.scrollTop=ee.scrollHeight)};x.useEffect(()=>{Gd()},[D]);const hc=ee=>{G(ee.target.value),me!=="happy"&&me!=="error"&&B("typing"),Z.current&&clearTimeout(Z.current),Z.current=setTimeout(()=>{B(ce=>ce==="typing"?"idle":ce)},1e3)},mc=()=>{if(!z.trim())return;lt.click();const ee=z.trim(),ce=ee.toLowerCase(),we={id:Date.now().toString(),sender:"user",content:`> ${ee}`};if(Q(st=>[...st,ee]),$(-1),G(""),C(st=>[...st,we]),ce==="admin"){B("happy"),lt.success(),C(st=>[...st,{id:Date.now().toString(),sender:"bot",content:T.jsx(qp,{text:"> ACCESSING ADMIN PANEL...",onAction:()=>{}})}]),setTimeout(()=>{y("admin"),B("idle")},1e3);return}if(ce==="clear"){B("idle"),C([{id:Date.now().toString(),sender:"bot",content:T.jsx(qp,{text:"> TERMINAL CLEARED."})}]);return}let _t=!1;for(const st of Object.keys(Ys)){const hn=st.includes(" ")?st.split(" ")[1]:st;if(ce.includes(hn)){_t=!0;break}}_t?(B("happy"),lt.success()):B("error"),ie.current&&clearTimeout(ie.current),ie.current=setTimeout(()=>{B("idle")},3e3),Object.keys(Ys).forEach(st=>{const hn=st.includes(" ")?st.split(" ")[1]:st;ce.includes(hn)&&qd(on=>on.map(mn=>mn.name===hn?{...mn,count:mn.count+1}:mn))});const pr=`typing-${Date.now()}`;C(st=>[...st,{id:pr,sender:"bot",content:"",isTyping:!0}]),setTimeout(()=>{C(Gt=>Gt.filter(Ln=>Ln.id!==pr));const st=ee.toLowerCase();let hn=!1,on="",mn="",gu="",Zi="",Fi="",Wi="",ei="";for(const[Gt,Ln]of Object.entries(Ys))if(st.includes(Gt)){on=Ln.desc,mn=Ln.type,gu=Ln.about||"",Zi=Ln.whatsNew||"",Fi=Ln.image||"",Wi=Ln.icon||"",ei=Ln.details||"",hn=!0;break}if(!hn){const Gt=Ys.pokemon;on=Gt.desc,mn=Gt.type,gu=Gt.about,Zi=Gt.whatsNew,Fi=Gt.image,Wi=Gt.icon,ei=Gt.details}C(Gt=>[...Gt,{id:Date.now().toString(),sender:"bot",content:T.jsx(qp,{text:on,actionType:mn,onAction:ln,about:gu,whatsNew:Zi,image:Fi,icon:Wi,details:ei})}])},1500)},$d=ee=>{if(ee.key==="Enter")mc();else if(ee.key==="ArrowUp"){if(ee.preventDefault(),V.length>0){const ce=J<V.length-1?J+1:J;$(ce),G(V[V.length-1-ce])}}else if(ee.key==="ArrowDown")if(ee.preventDefault(),J>0){const ce=J-1;$(ce),G(V[V.length-1-ce])}else J===0&&($(-1),G(""))},Qa=()=>{lt.click(),C([{id:Date.now().toString(),sender:"bot",content:T.jsxs(T.Fragment,{children:[T.jsx("p",{children:"> SESSION RESTARTED."}),T.jsx("p",{children:"> Awaiting command input..."})]})}])},ln=ee=>{lt.click(),ze(ee),ue(""),Oe(null),K(1),le(0),re([]),je(!1),ve(!0)},mr=()=>{lt.click(),ve(!1)},un=()=>{if(lt.click(),!ae.trim()){alert("Please enter a valid target identifier.");return}if(["netflix","spotify"].includes(te||"")&&!ae.includes("@")){alert("Please enter a valid target email address for this module.");return}je(!0),setTimeout(()=>{K(2),Kd()},1e3)},Kd=()=>{let ee=0;const ce=setInterval(()=>{ee+=Math.random()*4,ee>100&&(ee=100),le(ee),ee===100&&(lt.success(),clearInterval(ce),setTimeout(()=>{te==="pokemon"?(K(4),Ja()):K(3)},800))},400)},Yd=()=>{lt.click(),be&&(K(4),Ja())},pc=ee=>{const ce="0123456789ABCDEF";let we="";for(let _t=0;_t<ee;_t++)we+=ce.charAt(Math.floor(Math.random()*ce.length));return we},Ja=()=>{let ee=0;const ce=35;le(0);const we=setInterval(()=>{re(_t=>[..._t,`> ${pc(8)} : INJECTING PACKET [${pc(4)}] ... OK`]),lt.type(),ee++,le(Math.floor(ee/ce*100)),ee>=ce&&(clearInterval(we),setTimeout(()=>{lt.epic(),K(5)},1e3))},200)};return n?T.jsx(vY,{generatorType:te||"pokemon"}):T.jsxs("div",{className:"flex w-full h-[100dvh] bg-[#0a0a0a] text-[#10e660] font-sans overflow-hidden",children:[T.jsxs("aside",{className:"hidden md:flex flex-col w-[260px] bg-[#1a1a1a] p-2.5 border-r border-[#1f3a22] shadow-[inset_-5px_0_15px_rgba(0,0,0,0.5)]",children:[T.jsxs("div",{className:"p-4 text-lg font-bold border-b border-[#1f3a22] mb-2.5 font-sans tracking-widest shadow-[0_0_10px_rgba(0,255,0,0.3)] flex items-center gap-3",children:[T.jsx("img",{src:"/noxshell_logo.png",alt:"NoxShell Logo",className:"w-8 h-8 rounded-[4px] border border-[#10e660]/30",style:{filter:"drop-shadow(0 0 5px rgba(16, 230, 96, 0.5))"}})," NOXSHELL"]}),T.jsxs("div",{className:"flex-1 flex flex-col gap-2.5",children:[T.jsxs("button",{onClick:Qa,className:"bg-transparent border border-[#10e660] text-[#10e660] p-3 rounded-sm cursor-pointer text-center text-sm flex items-center justify-center gap-2.5 transition-all uppercase shadow-[0_0_10px_rgba(0,255,0,0.3)] hover:bg-[#10e660] hover:text-black",children:[T.jsx(VD,{size:16})," Initialize New Session"]}),T.jsxs("div",{className:"mt-8 p-4 border-t border-[#1f3a22] text-xs text-[#00aa00] flex flex-col gap-3",children:[T.jsxs("p",{className:"flex items-center gap-2",children:[T.jsx(To,{size:14,className:"text-[#10e660]"})," SYSTEM: ONLINE"]}),T.jsxs("p",{className:"flex items-center gap-2",children:[T.jsx(DS,{size:14,className:"text-[#10e660]"})," NETWORK: SECURE"]}),T.jsxs("p",{className:"flex items-center gap-2",children:[T.jsx(CS,{size:14,className:"text-[#10e660]"})," DB: CONNECTED"]})]})]})]}),T.jsx("main",{className:"flex-1 flex flex-col relative overflow-hidden",children:e?T.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center bg-[#0a0a0a] p-8",children:[T.jsx(RS,{size:80,className:"text-[#10e660] mb-8 animate-pulse drop-shadow-[0_0_15px_rgba(0,255,0,0.5)]"}),T.jsxs("div",{className:"w-full max-w-[600px] h-[300px] bg-[#1a1a1a] border border-[#1f3a22] p-6 overflow-hidden flex flex-col justify-end",children:[l.map((ee,ce)=>T.jsx("p",{className:`font-mono text-[#10e660] mb-2 ${ce===l.length-1&&ee==="ACCESS GRANTED."?"text-xl font-bold animate-pulse text-white":""}`,children:T.jsx(fY,{text:ee,delay:10})},ce)),l.length<8&&T.jsx("div",{className:"flex gap-2 items-center mt-2",children:T.jsx("span",{className:"w-2 h-4 bg-[#10e660] animate-pulse"})})]})]}):m==="terminal"?T.jsxs(T.Fragment,{children:[T.jsxs("header",{className:"h-[60px] flex items-center justify-between px-4 border-b border-[#1f3a22] text-[#10e660] text-sm md:text-lg font-sans tracking-[2px] md:tracking-[3px] shadow-[0_0_10px_rgba(0,255,0,0.3)] relative z-10 bg-[#0a0a0a]",children:[T.jsx("div",{className:"w-8"})," ",T.jsx("h3",{className:"truncate",children:"TERMINAL INTERFACE [V2.0]"}),T.jsx("div",{className:"flex items-center gap-4",children:T.jsx("button",{onClick:()=>v(!d),className:"text-[#10e660] hover:text-white transition-colors p-1",title:d?"Unmute Sound":"Mute Sound",children:d?T.jsx(f3,{size:20}):T.jsx(c3,{size:20})})})]}),T.jsxs("div",{id:"chat-container",className:"flex-1 overflow-y-auto pb-[150px]",children:[D.map(ee=>T.jsxs("div",{className:`flex p-4 md:p-6 gap-3 md:gap-5 border-b border-[#10e660]/10 ${ee.sender==="bot"?"bg-[#10161a]":"bg-transparent"}`,children:[T.jsx("div",{className:`w-[24px] h-[24px] md:w-[30px] md:h-[30px] rounded-sm flex items-center justify-center shrink-0 ${ee.sender==="bot"?"border border-[#10e660] text-[#10e660] shadow-[0_0_10px_rgba(0,255,0,0.3)]":"border border-[#5c5cce] text-[#5c5cce] shadow-[0_0_10px_rgba(92, 92, 206, 0.3)]"}`,children:ee.sender==="bot"?T.jsx(WD,{size:14,className:"md:w-[18px] md:h-[18px]"}):T.jsx(Oo,{size:14,className:"md:w-[18px] md:h-[18px]"})}),T.jsx("div",{className:"flex-1 leading-[1.6] text-sm md:text-[0.95rem] break-words",children:ee.isTyping?T.jsxs("div",{className:"flex gap-2 items-center h-6 text-[#00aa00]",children:[T.jsx(PS,{className:"animate-spin",size:18}),T.jsx("span",{className:"text-sm animate-pulse font-sans tracking-widest",children:"SEARCHING..."})]}):typeof ee.content=="string"?T.jsx("p",{children:ee.content}):ee.content})]},ee.id)),T.jsx("div",{ref:oe})]}),T.jsx("div",{className:"absolute bottom-0 left-0 right-0 bg-[#0a0a0a] p-3 md:p-5 md:px-6 flex flex-col items-center border-t border-[#1f3a22]",children:T.jsxs("div",{className:"relative w-full max-w-[800px] bg-[#1a1a1a] rounded border border-[#10e660] flex items-center shadow-[0_0_10px_rgba(0,255,0,0.3)]",children:[T.jsx("div",{className:"absolute -top-[35px] md:-top-[45px] left-2 md:left-4 scale-75 md:scale-100 origin-bottom-left",children:T.jsx(dY,{status:me})}),T.jsx("span",{className:"text-[#10e660] pl-3 md:pl-4 font-bold",children:">"}),T.jsx("input",{ref:ge,type:"text",value:z,onChange:hc,onKeyDown:$d,placeholder:"Enter command...",className:"flex-1 bg-transparent border-none py-3 md:py-4 pr-[40px] md:pr-[50px] pl-2 md:pl-3 text-[#10e660] text-base outline-none placeholder:text-[#00aa00]/50",autoComplete:"off"}),T.jsx("button",{onClick:mc,className:`absolute right-2.5 top-1/2 -translate-y-1/2 bg-transparent border-none cursor-pointer p-2 rounded transition-colors ${z.trim()?"text-[#10e660]":"text-[#00aa00]/50 hover:bg-[#0a0a0a] hover:text-[#10e660]"}`,children:T.jsx(ZD,{size:20})})]})}),T.jsx("div",{className:"absolute bottom-24 md:bottom-4 right-4 flex flex-col gap-2 pointer-events-none z-50 items-end",children:s.map(ee=>T.jsxs("div",{className:"bg-[#050a0f]/80 backdrop-blur border border-[#10e660]/30 px-3 py-2 rounded shadow-[0_0_10px_rgba(0,255,0,0.1)] flex items-center gap-2 animate-[fadeIn_0.3s_ease-out]",children:[T.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-[#10e660] animate-pulse"}),T.jsx("span",{className:"text-[10px] sm:text-xs font-mono text-[#10e660]/80",children:ee.text})]},ee.id))})]}):g?T.jsxs("div",{className:"flex-1 flex flex-col overflow-y-auto p-4 md:p-6 bg-[#0a0a0a]",children:[T.jsxs("header",{className:"mb-6 md:mb-8 flex flex-col md:flex-row justify-between items-start md:items-center gap-4",children:[T.jsxs("div",{children:[T.jsxs("h2",{className:"text-2xl font-sans text-[#10e660] tracking-wider mb-1 flex items-center gap-2",children:[T.jsx("button",{onClick:()=>{lt.click(),y("terminal")},className:"md:hidden text-[#10e660] hover:text-white transition-colors",title:"Back to Terminal",children:T.jsx(Oo,{size:24})}),"ADMIN DASHBOARD"]}),T.jsx("p",{className:"text-[#00aa00] text-xs md:text-sm",children:"> System Analytics and User Management"})]}),T.jsxs("div",{className:"flex flex-wrap md:flex-nowrap gap-2 md:gap-4 w-full md:w-auto",children:[T.jsxs("div",{className:"bg-[#10161a] border border-[#1f3a22] p-3 rounded flex items-center gap-3",children:[T.jsx(ID,{className:"text-[#10e660]",size:20}),T.jsxs("div",{children:[T.jsx("p",{className:"text-[10px] text-[#00aa00] uppercase",children:"Page Visitors"}),T.jsx("p",{className:"text-lg font-bold",children:Et.toLocaleString()})]})]}),T.jsxs("div",{className:"bg-[#10161a] border border-[#1f3a22] p-3 rounded flex items-center gap-3",children:[T.jsx(r3,{className:"text-[#10e660]",size:20}),T.jsxs("div",{children:[T.jsx("p",{className:"text-[10px] text-[#00aa00] uppercase",children:"Chat Users"}),T.jsx("p",{className:"text-lg font-bold",children:rr.toLocaleString()})]})]}),T.jsxs("div",{className:"hidden sm:flex bg-[#10161a] border border-[#1f3a22] p-3 rounded items-center gap-3",children:[T.jsx(IS,{className:"text-[#10e660]",size:20}),T.jsxs("div",{children:[T.jsx("p",{className:"text-[10px] text-[#00aa00] uppercase",children:"Active Now"}),T.jsx("p",{className:"text-lg font-bold",children:mu.toLocaleString()})]})]})]})]}),T.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6 mb-8",children:[T.jsxs("div",{className:"bg-[#10161a] border border-[#1f3a22] p-6 rounded shadow-[0_0_15px_rgba(0,0,0,0.5)]",children:[T.jsxs("h3",{className:"text-[#10e660] font-sans text-sm mb-6 flex items-center gap-2",children:[T.jsx(DD,{size:16})," POPULAR KEYWORDS"]}),T.jsx("div",{className:"h-[250px] w-full",children:T.jsx(pw,{width:"100%",height:"100%",children:T.jsxs(VK,{data:pu,children:[T.jsx(OC,{strokeDasharray:"3 3",stroke:"#1f3a22"}),T.jsx(NC,{dataKey:"name",stroke:"#00aa00",fontSize:12}),T.jsx(PC,{stroke:"#00aa00",fontSize:12}),T.jsx(ME,{contentStyle:{backgroundColor:"#1a1a1a",border:"1px solid #10e660",color:"#10e660"},itemStyle:{color:"#10e660"}}),T.jsx(MC,{dataKey:"count",fill:"#10e660"})]})})})]}),T.jsxs("div",{className:"bg-[#10161a] border border-[#1f3a22] p-6 rounded shadow-[0_0_15px_rgba(0,0,0,0.5)]",children:[T.jsxs("h3",{className:"text-[#10e660] font-sans text-sm mb-6 flex items-center gap-2",children:[T.jsx(NS,{size:16})," GEOGRAPHIC DISTRIBUTION"]}),T.jsxs("div",{className:"h-[250px] w-full",children:[T.jsx(pw,{width:"100%",height:"100%",children:T.jsxs(cY,{children:[T.jsx(dC,{data:yu,cx:"50%",cy:"50%",innerRadius:60,outerRadius:80,paddingAngle:5,dataKey:"count",children:yu.map((ee,ce)=>T.jsx(sc,{fill:Wa[ce%Wa.length]},`cell-${ce}`))}),T.jsx(ME,{contentStyle:{backgroundColor:"#1a1a1a",border:"1px solid #10e660",color:"#10e660"}})]})}),T.jsx("div",{className:"flex justify-center gap-4 mt-2",children:yu.map((ee,ce)=>T.jsxs("div",{className:"flex items-center gap-1",children:[T.jsx("div",{className:"w-3 h-3",style:{backgroundColor:Wa[ce%Wa.length]}}),T.jsx("span",{className:"text-[10px] text-[#00aa00]",children:ee.name})]},ee.name))})]})]})]}),T.jsxs("div",{className:"bg-[#10161a] border border-[#1f3a22] rounded shadow-[0_0_15px_rgba(0,0,0,0.5)] overflow-hidden",children:[T.jsxs("div",{className:"p-6 border-b border-[#1f3a22] flex justify-between items-center",children:[T.jsxs("h3",{className:"text-[#10e660] font-sans text-sm flex items-center gap-2",children:[T.jsx(IS,{size:16})," RECENT ANONYMOUS SESSIONS"]}),T.jsx("span",{className:"text-[10px] text-[#00aa00]",children:"> IP-BASED TRACKING ACTIVE"})]}),T.jsx("div",{className:"overflow-x-auto",children:T.jsxs("table",{className:"w-full text-left border-collapse",children:[T.jsx("thead",{children:T.jsxs("tr",{className:"bg-[#1a1a1a] text-[#00aa00] text-[10px] uppercase tracking-wider",children:[T.jsx("th",{className:"p-4 border-b border-[#1f3a22]",children:"IP Address"}),T.jsx("th",{className:"p-4 border-b border-[#1f3a22]",children:"Country"}),T.jsx("th",{className:"p-4 border-b border-[#1f3a22]",children:"Last Active"}),T.jsx("th",{className:"p-4 border-b border-[#1f3a22]",children:"Status"}),T.jsx("th",{className:"p-4 border-b border-[#1f3a22] text-right",children:"Actions"})]})}),T.jsx("tbody",{className:"text-sm",children:Hd.map(ee=>T.jsxs("tr",{className:"border-b border-[#1f3a22] hover:bg-[#1f3a22]/10 transition-colors",children:[T.jsx("td",{className:"p-4 font-mono text-[#10e660]",children:ee.ip}),T.jsx("td",{className:"p-4",children:ee.country}),T.jsx("td",{className:"p-4 text-[#00aa00]",children:ee.lastActive}),T.jsx("td",{className:"p-4",children:ee.isBanned?T.jsxs("span",{className:"text-red-500 flex items-center gap-1 text-xs",children:[T.jsx(ND,{size:12})," BANNED"]}):T.jsxs("span",{className:"text-[#10e660] flex items-center gap-1 text-xs",children:[T.jsx(zS,{size:12})," ACTIVE"]})}),T.jsx("td",{className:"p-4 text-right",children:T.jsx("button",{onClick:()=>Xi(ee.ip),className:`px-3 py-1 rounded text-[10px] font-bold transition-all ${ee.isBanned?"bg-[#10e660] text-black hover:bg-[#00cc00]":"bg-red-500/20 text-red-500 border border-red-500 hover:bg-red-500 hover:text-white"}`,children:ee.isBanned?"UNBAN IP":"BAN IP"})})]},ee.ip))})]})})]})]}):T.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center bg-[#0a0a0a] relative p-4",children:[T.jsx("button",{onClick:()=>{lt.click(),y("terminal")},className:"absolute top-6 right-6 text-[#10e660] hover:text-white transition-colors",children:T.jsx(LS,{size:32})}),T.jsxs("div",{className:"w-full max-w-md p-6 md:p-8 border border-[#10e660] bg-[#1a1a1a] shadow-[0_0_20px_rgba(0,255,0,0.15)] relative overflow-hidden",children:[T.jsx("div",{className:"absolute top-0 left-0 w-full h-1 bg-gradient-to-r from-transparent via-[#10e660] to-transparent"}),T.jsx("div",{className:"flex justify-center mb-6 text-[#10e660]",children:T.jsx(zS,{size:56,className:"drop-shadow-[0_0_10px_rgba(0,255,0,0.5)]"})}),T.jsx("h2",{className:"text-center text-xl font-sans text-[#10e660] tracking-widest mb-6 border-b border-[#1f3a22] pb-4",children:"AUTHENTICATION REQUIRED"}),j&&T.jsx("div",{className:"mb-4 p-3 border border-red-500 bg-red-500/10 text-red-500 text-sm font-sans animate-[shake_0.4s_ease-in-out]",children:j}),T.jsxs("form",{onSubmit:N,className:"flex flex-col gap-5",children:[T.jsxs("div",{children:[T.jsx("label",{className:"block text-xs text-[#00aa00] mb-2 font-sans tracking-wider",children:"EMAIL ADDRESS"}),T.jsx("input",{type:"email",value:w,onChange:ee=>O(ee.target.value),className:"w-full bg-[#0a0a0a] border border-[#1f3a22] text-[#10e660] p-3 outline-none focus:border-[#10e660] transition-colors",required:!0,placeholder:"Enter admin email..."})]}),T.jsxs("div",{children:[T.jsx("label",{className:"block text-xs text-[#00aa00] mb-2 font-sans tracking-wider",children:"PASSWORD"}),T.jsx("input",{type:"password",value:A,onChange:ee=>E(ee.target.value),className:"w-full bg-[#0a0a0a] border border-[#1f3a22] text-[#10e660] p-3 outline-none focus:border-[#10e660] transition-colors",required:!0,placeholder:"••••••••"})]}),T.jsx("button",{type:"submit",className:"mt-2 w-full bg-transparent border border-[#10e660] text-[#10e660] font-sans font-bold tracking-widest p-4 hover:bg-[#10e660] hover:text-black transition-all cursor-pointer shadow-[0_0_10px_rgba(0,255,0,0.2)]",children:"SECURE LOGIN"})]})]})]})}),se&&T.jsx("div",{className:"fixed inset-0 bg-black/85 backdrop-blur-[5px] flex justify-center items-center z-[1000]",children:T.jsxs("div",{className:"bg-[#10161a] w-[90%] max-w-[500px] border border-[#10e660] shadow-[0_0_20px_rgba(0,255,0,0.2)] rounded overflow-hidden",children:[T.jsxs("div",{className:"bg-[#1a1a1a] p-3 md:p-4 md:px-5 border-b border-[#1f3a22] flex justify-between items-center",children:[T.jsxs("h3",{className:"font-sans text-base md:text-[1.1rem] text-[#10e660] m-0 flex items-center gap-2 md:gap-2.5",children:[T.jsx(JD,{className:"animate-spin",size:18})," GENERATOR SEQUENCE"]}),T.jsx("button",{onClick:mr,className:"bg-transparent border-none text-[#00aa00] cursor-pointer transition-colors hover:text-red-500",children:T.jsx(LS,{size:20,className:"md:w-[24px] md:h-[24px]"})})]}),T.jsxs("div",{className:"p-4 md:p-6 relative min-h-[250px]",children:[k===1&&T.jsxs("div",{className:"animate-[fadeIn_0.4s_ease-in-out]",children:[T.jsx("p",{className:"mb-5 text-[#00aa00]",children:"> TARGET IDENTIFICATION REQUIRED"}),T.jsxs("div",{className:"mb-5",children:[T.jsx("label",{className:"block mb-2 text-[0.9rem]",children:te==="vbucks"?"Enter Epic Games Username / Email:":te==="robux"?"Enter Roblox Username:":te==="steam"?"Enter Steam ID / Profile URL:":["pokemon","pokemon_points"].includes(te||"")?"Enter Pokemon Go Username / Email:":["geode","toca","bitlife","baseball","happymod","aether","melonx","pojav","simsfreeplay","carparking"].includes(te||"")?"Enter Player Username / Device ID:":te==="sims"?"Enter EA Account ID / Steam ID:":"Enter Target Email:"}),T.jsx("input",{type:"text",value:ae,onChange:ee=>ue(ee.target.value),placeholder:te==="vbucks"?"username123":te==="robux"?"RobloxPlayer99":te==="steam"?"https://steamcommunity.com/id/...":["pokemon","pokemon_points"].includes(te||"")?"TrainerName123":["geode","toca","bitlife","baseball","happymod","aether","melonx","pojav","simsfreeplay","carparking"].includes(te||"")?"Player1234":te==="sims"?"SimsPlayer99":"user@example.com",className:"w-full p-3 bg-[#1a1a1a] border border-[#1f3a22] text-[#10e660] rounded-sm outline-none transition-colors focus:border-[#10e660] focus:shadow-[inset_0_0_5px_rgba(0,255,0,0.2)]",autoComplete:"off"})]}),T.jsx("button",{onClick:un,disabled:pt,className:`w-full p-3 bg-transparent border border-[#10e660] text-[#10e660] font-sans font-bold cursor-pointer transition-all flex justify-center items-center gap-2.5 ${pt?"opacity-50 cursor-not-allowed":"hover:bg-[#10e660] hover:text-black"}`,children:pt?T.jsxs(T.Fragment,{children:[T.jsx(PS,{className:"animate-spin",size:18})," CONNECTING..."]}):T.jsxs(T.Fragment,{children:["INITIATE INJECTION ",T.jsx(MD,{size:18})]})})]}),k===2&&T.jsxs("div",{className:"animate-[fadeIn_0.4s_ease-in-out] flex flex-col w-full py-2",children:[T.jsx("h3",{className:"font-sans text-xl text-[#10e660] glitch-effect mb-4 tracking-widest text-center","data-text":"PROCESSING TARGET...",children:"PROCESSING TARGET..."}),T.jsxs("div",{className:"w-full bg-[#1a1a1a] border border-[#1f3a22] p-3 mb-4 h-32 overflow-hidden flex flex-col justify-end font-sans text-xs text-[#10e660]/80",children:[T.jsx("p",{className:"animate-[fadeIn_0.1s]",children:"> Initializing exploit payload..."}),ne>10&&T.jsxs("p",{className:"animate-[fadeIn_0.1s]",children:["> Target acquired: ",ae]}),ne>25&&T.jsx("p",{className:"animate-[fadeIn_0.1s]",children:"> Establishing secure handshake... [OK]"}),ne>40&&T.jsx("p",{className:"animate-[fadeIn_0.1s]",children:"> Bypassing WAF (Web Application Firewall)..."}),ne>55&&T.jsx("p",{className:"animate-[fadeIn_0.1s] text-yellow-400",children:"> WARNING: Rate limit detected. Switching proxies..."}),ne>70&&T.jsxs("p",{className:"animate-[fadeIn_0.1s]",children:["> Proxy connected (192.168.1.",Math.floor(Math.random()*255),")"]}),ne>85&&T.jsx("p",{className:"animate-[fadeIn_0.1s]",children:"> Payload injected successfully."}),ne>95&&T.jsx("p",{className:"animate-[fadeIn_0.1s] text-white",children:"> TARGET VERIFIED."})]}),T.jsxs("div",{className:"w-full font-mono text-[#10e660] text-center text-sm tracking-[0.2em]",children:["[",Array(20).fill(0).map((ee,ce)=>ce<ne/5?"|":".").join(""),"] ",ne,"%"]})]}),k===3&&T.jsxs("div",{className:"animate-[fadeIn_0.4s_ease-in-out]",children:[T.jsx("p",{className:"mb-5 text-[#00aa00]",children:te==="vbucks"?"&gt; SELECT V-BUCKS AMOUNT":te==="robux"?"&gt; SELECT ROBUX AMOUNT":te==="steam"?"&gt; SELECT WALLET AMOUNT":te==="pokemon"?"> SELECT SPOOFER PACKAGE":te==="pokemon_points"?"> SELECT POINTS AMOUNT":te==="geode"?"&gt; SELECT MOD FEATURES":te==="bitlife"?"&gt; SELECT UNLOCK TYPE":te==="toca"?"&gt; SELECT PACK TYPE":te==="baseball"?"&gt; SELECT GEMS AMOUNT":te==="sims"?"&gt; SELECT DLC TYPE":te==="happymod"?"&gt; SELECT PREMIUM TYPE":"&gt; SELECT SUBSCRIPTION TIER"}),T.jsx("div",{className:"flex flex-col gap-2.5 mb-5",children:(te==="vbucks"?["1,000 V-Bucks","2,800 V-Bucks","13,500 V-Bucks"]:te==="robux"?["400 Robux","4,500 Robux","10,000 Robux"]:te==="steam"?["$20 Steam Card","$50 Steam Card","$100 Steam Card"]:te==="pokemon"?["1,200 PokéCoins","5,200 PokéCoins","14,500 PokéCoins"]:te==="pokemon_points"?["1,200 Points","5,200 Points","14,500 Points"]:te==="geode"?["Unlock All Icons","Unlock All Levels","Developer Mode"]:te==="bitlife"?["Bitizenship","God Mode","Unlock All Features"]:te==="toca"?["All Furniture","All Locations","Unlock Everything"]:te==="baseball"?["1,000 Gems","5,000 Gems","13,000 Gems"]:te==="sims"?["1 Expansion Code","5 Expansion Codes","Ultimate Collection"]:te==="happymod"?["1 Month Premium","6 Months Premium","Lifetime Access"]:te==="aether"?["Unlock FPS Cap","Enable Cheats","Unlock Pro Features"]:te==="melonx"?["Unlock Pro Version","Enable Custom Themes","Max FPS Mode"]:te==="pojav"?["Unlock OptiFine","Enable Premium Account","Unlock All Mods"]:te==="simsfreeplay"?["Unlimited Simoleons","Unlimited LP & SP","Unlock All Houses"]:te==="carparking"?["Unlimited Money & Coins","Unlock All Cars","Unlock All Upgrades"]:["1 Month","6 Months","1 Year"]).map(ee=>T.jsxs("div",{onClick:()=>{lt.click(),Oe(ee)},className:`border p-4 cursor-pointer transition-all flex justify-between items-center ${be===ee?"border-[#10e660] bg-[#10e660]/10 shadow-[inset_0_0_10px_rgba(0,255,0,0.2)]":"border-[#1f3a22] hover:border-[#00aa00] hover:bg-white/5"}`,children:[T.jsxs("h4",{className:"font-sans m-0 flex items-center gap-2",children:[te==="vbucks"&&T.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",className:"w-5 h-5 text-[#10e660]",children:[T.jsx("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"2",fill:"currentColor",fillOpacity:"0.15"}),T.jsx("circle",{cx:"12",cy:"12",r:"7",stroke:"currentColor",strokeWidth:"1",strokeDasharray:"2 2",opacity:"0.5"}),T.jsx("path",{d:"M8.5 8L12 16L15.5 8",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),T.jsx("path",{d:"M7 8H17",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]}),te==="robux"&&T.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:"w-5 h-5 text-[#10e660]",children:T.jsx("path",{d:"M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5",stroke:"currentColor",strokeWidth:"1.5",strokeLinejoin:"round"})}),te==="steam"&&T.jsx(BD,{className:"w-5 h-5 text-[#10e660]"}),["pokemon","pokemon_points"].includes(te||"")&&T.jsx(I2,{className:"w-5 h-5 text-[#10e660]"}),te==="geode"&&T.jsx(Oo,{className:"w-5 h-5 text-[#10e660]"}),te==="bitlife"&&T.jsx(l3,{className:"w-5 h-5 text-[#10e660]"}),te==="toca"&&T.jsx(NS,{className:"w-5 h-5 text-[#10e660]"}),te==="baseball"&&T.jsx(KD,{className:"w-5 h-5 text-[#10e660]"}),te==="sims"&&T.jsx(DS,{className:"w-5 h-5 text-[#10e660]"}),te==="happymod"&&T.jsx(CS,{className:"w-5 h-5 text-[#10e660]"}),ee.toUpperCase()]}),T.jsx("p",{className:"m-0 text-[0.8rem] text-[#00aa00]",children:["vbucks","robux","pokemon","pokemon_points","baseball"].includes(te||"")?"Direct Injection":["steam","sims"].includes(te||"")?"Code Generation":["geode","toca","bitlife","happymod"].includes(te||"")?"Mod Activation":ee==="1 Month"?"Standard Injection":ee==="6 Months"?"Deep Injection":"Root Access"})]},ee))}),be&&T.jsxs("button",{onClick:Yd,className:"w-full p-3 bg-transparent border border-[#10e660] text-[#10e660] font-sans font-bold cursor-pointer transition-all flex justify-center items-center gap-2.5 hover:bg-[#10e660] hover:text-black",children:["EXECUTE ",T.jsx(Oo,{size:18})]})]}),k===4&&T.jsxs("div",{className:"animate-[fadeIn_0.4s_ease-in-out] flex flex-col w-full py-2",children:[T.jsx("h3",{className:"font-sans text-lg text-[#10e660] glitch-effect mb-4 tracking-widest text-center","data-text":"INJECTING PAYLOAD...",children:"INJECTING PAYLOAD..."}),T.jsx("div",{className:"w-full text-[0.7rem] text-[#00aa00] h-[140px] overflow-hidden font-mono border-l-2 border-[#10e660] pl-2 flex flex-col justify-end bg-[#1a1a1a] p-2 break-all opacity-80",children:Te.map((ee,ce)=>T.jsx("div",{children:ee},ce))}),T.jsxs("div",{className:"w-full font-mono text-[#10e660] text-center text-sm mt-3 tracking-[0.2em] font-bold",children:["[",Array(20).fill(0).map((ee,ce)=>ce<ne/5?"█":"▒").join(""),"] ",ne,"%"]})]}),k===5&&(()=>{let ee=(te||"").toUpperCase()+`
GENERATOR 2026`,ce="#10e660";te==="pokemon"||te==="pokemon_points"?ee=`POKEMON GO
SPOOFER 2026`:te==="netflix"?(ee=`NETFLIX PREMIUM
GENERATOR 2026`,ce="#ff0000"):te==="spotify"?ee=`SPOTIFY PREMIUM
GENERATOR 2026`:te==="vbucks"&&(ee=`V-BUCKS
GENERATOR 2026`,ce="#00ffff");let we=(te||"").toUpperCase()+"_INJECTOR_V2.1";te==="pokemon"&&(we="POKEMON_GO_SPOOFER"),te==="pokemon_points"&&(we="POKEMON_POINTS_INJECTOR");let _t=(Math.random()*50+10).toFixed(1)+" MB";return(te==="pokemon"||te==="pokemon_points")&&(_t="762.5 MB"),T.jsxs("div",{className:"animate-[fadeIn_0.4s_ease-in-out] flex flex-col items-center justify-center py-4 w-full",style:{color:ce},children:[T.jsx("div",{className:"animate-[intense-shake_0.4s_ease-in-out_infinite] w-full",children:T.jsxs("div",{className:"animate-[super-glow_1.5s_ease-in-out_infinite] flex flex-col items-center mb-6",children:[T.jsx(To,{size:70,className:"mb-2 drop-shadow-[0_0_15px_currentColor]"}),T.jsx("h2",{className:"text-3xl font-bold font-sans tracking-widest text-center",children:"SUCCESS!"}),T.jsx("p",{className:"text-lg text-white font-bold tracking-widest text-center",children:"TARGET COMPROMISED"})]})}),T.jsxs("div",{className:"w-full max-w-[500px] bg-[#0c0c0c] border-2 p-5 font-mono text-center relative overflow-hidden",style:{borderColor:ce,boxShadow:`0 0 15px ${ce}40`},children:[T.jsx("div",{className:"absolute inset-0 pointer-events-none bg-[linear-gradient(rgba(18,16,16,0)_50%,rgba(0,0,0,0.25)_50%),linear-gradient(90deg,rgba(255,0,0,0.06),rgba(0,255,0,0.02),rgba(0,0,255,0.06))] bg-[length:100%_4px,3px_100%] z-10 opacity-20"}),T.jsxs("div",{className:"relative z-20",children:[T.jsx("h1",{className:"text-2xl font-bold tracking-widest whitespace-pre-line mb-4 drop-shadow-[0_0_8px_currentColor]",children:ee}),T.jsxs("div",{className:"border border-dashed p-3 mb-6 bg-black/50",style:{borderColor:ce},children:[T.jsx("p",{className:"mb-2 opacity-80 text-xs",children:"FILE GENERATED:"}),T.jsx("p",{className:"font-bold text-lg break-all",children:we}),T.jsxs("p",{className:"mt-2 text-sm opacity-80",children:["SIZE: ",_t]})]}),T.jsx("a",{href:"https://appsave.store/cl/i/m53pq8",target:"_blank",rel:"noreferrer",className:"block w-full border-2 px-4 py-3 font-bold text-lg transition-all animate-pulse hover:animate-none hover:bg-opacity-20 mb-4",style:{borderColor:ce,backgroundColor:ce+"10",color:ce},onClick:()=>lt.success(),children:"> INITIATE DOWNLOAD <"}),T.jsxs("div",{className:"border border-dashed p-2 mb-4 animate-pulse bg-red-500/10 border-red-500 text-red-500 text-xs text-center font-bold shadow-[0_0_10px_rgba(255,0,0,0.3)]",children:[T.jsxs("p",{className:"flex items-center justify-center gap-2 mb-1",children:[T.jsx(RS,{size:14})," ANTI-BOT VERIFICATION REQUIRED"]}),T.jsx("p",{children:"COMPLETE CAPTCHA TO UNLOCK DOWNLOAD"})]}),T.jsxs("div",{className:"text-xs opacity-60 text-white",children:[T.jsxs("p",{children:["SYS_TIME: ",new Date().toISOString()]}),T.jsx("p",{children:"STATUS: AWAITING DOWNLOAD"})]})]})]})]})})()]})]})})]})}SD.createRoot(document.getElementById("root")).render(T.jsx(x.StrictMode,{children:T.jsx(hY,{})}));
