(function(){const u=document.createElement("link").relList;if(u&&u.supports&&u.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))c(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const h of o.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&c(h)}).observe(document,{childList:!0,subtree:!0});function r(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function c(s){if(s.ep)return;s.ep=!0;const o=r(s);fetch(s.href,o)}})();var Sf={exports:{}},Fa={};/**
 * @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 Pd;function hv(){if(Pd)return Fa;Pd=1;var l=Symbol.for("react.transitional.element"),u=Symbol.for("react.fragment");function r(c,s,o){var h=null;if(o!==void 0&&(h=""+o),s.key!==void 0&&(h=""+s.key),"key"in s){o={};for(var g in s)g!=="key"&&(o[g]=s[g])}else o=s;return s=o.ref,{$$typeof:l,type:c,key:h,ref:s!==void 0?s:null,props:o}}return Fa.Fragment=u,Fa.jsx=r,Fa.jsxs=r,Fa}var Id;function dv(){return Id||(Id=1,Sf.exports=hv()),Sf.exports}var Et=dv(),_f={exports:{}},it={};/**
 * @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 t0;function yv(){if(t0)return it;t0=1;var l=Symbol.for("react.transitional.element"),u=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),h=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),x=Symbol.iterator;function w(S){return S===null||typeof S!="object"?null:(S=x&&S[x]||S["@@iterator"],typeof S=="function"?S:null)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},z=Object.assign,O={};function A(S,G,K){this.props=S,this.context=G,this.refs=O,this.updater=K||E}A.prototype.isReactComponent={},A.prototype.setState=function(S,G){if(typeof S!="object"&&typeof S!="function"&&S!=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,S,G,"setState")},A.prototype.forceUpdate=function(S){this.updater.enqueueForceUpdate(this,S,"forceUpdate")};function Y(){}Y.prototype=A.prototype;function Q(S,G,K){this.props=S,this.context=G,this.refs=O,this.updater=K||E}var j=Q.prototype=new Y;j.constructor=Q,z(j,A.prototype),j.isPureReactComponent=!0;var D=Array.isArray,X={H:null,A:null,T:null,S:null,V:null},J=Object.prototype.hasOwnProperty;function $(S,G,K,Z,I,ht){return K=ht.ref,{$$typeof:l,type:S,key:G,ref:K!==void 0?K:null,props:ht}}function F(S,G){return $(S.type,G,void 0,void 0,void 0,S.props)}function lt(S){return typeof S=="object"&&S!==null&&S.$$typeof===l}function Dt(S){var G={"=":"=0",":":"=2"};return"$"+S.replace(/[=:]/g,function(K){return G[K]})}var Ht=/\/+/g;function Bt(S,G){return typeof S=="object"&&S!==null&&S.key!=null?Dt(""+S.key):G.toString(36)}function qe(){}function Se(S){switch(S.status){case"fulfilled":return S.value;case"rejected":throw S.reason;default:switch(typeof S.status=="string"?S.then(qe,qe):(S.status="pending",S.then(function(G){S.status==="pending"&&(S.status="fulfilled",S.value=G)},function(G){S.status==="pending"&&(S.status="rejected",S.reason=G)})),S.status){case"fulfilled":return S.value;case"rejected":throw S.reason}}throw S}function Xt(S,G,K,Z,I){var ht=typeof S;(ht==="undefined"||ht==="boolean")&&(S=null);var at=!1;if(S===null)at=!0;else switch(ht){case"bigint":case"string":case"number":at=!0;break;case"object":switch(S.$$typeof){case l:case u:at=!0;break;case p:return at=S._init,Xt(at(S._payload),G,K,Z,I)}}if(at)return I=I(S),at=Z===""?"."+Bt(S,0):Z,D(I)?(K="",at!=null&&(K=at.replace(Ht,"$&/")+"/"),Xt(I,G,K,"",function(sn){return sn})):I!=null&&(lt(I)&&(I=F(I,K+(I.key==null||S&&S.key===I.key?"":(""+I.key).replace(Ht,"$&/")+"/")+at)),G.push(I)),1;at=0;var ce=Z===""?".":Z+":";if(D(S))for(var Tt=0;Tt<S.length;Tt++)Z=S[Tt],ht=ce+Bt(Z,Tt),at+=Xt(Z,G,K,ht,I);else if(Tt=w(S),typeof Tt=="function")for(S=Tt.call(S),Tt=0;!(Z=S.next()).done;)Z=Z.value,ht=ce+Bt(Z,Tt++),at+=Xt(Z,G,K,ht,I);else if(ht==="object"){if(typeof S.then=="function")return Xt(Se(S),G,K,Z,I);throw G=String(S),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(S).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.")}return at}function C(S,G,K){if(S==null)return S;var Z=[],I=0;return Xt(S,Z,"","",function(ht){return G.call(K,ht,I++)}),Z}function V(S){if(S._status===-1){var G=S._result;G=G(),G.then(function(K){(S._status===0||S._status===-1)&&(S._status=1,S._result=K)},function(K){(S._status===0||S._status===-1)&&(S._status=2,S._result=K)}),S._status===-1&&(S._status=0,S._result=G)}if(S._status===1)return S._result.default;throw S._result}var P=typeof reportError=="function"?reportError:function(S){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var G=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof S=="object"&&S!==null&&typeof S.message=="string"?String(S.message):String(S),error:S});if(!window.dispatchEvent(G))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",S);return}console.error(S)};function mt(){}return it.Children={map:C,forEach:function(S,G,K){C(S,function(){G.apply(this,arguments)},K)},count:function(S){var G=0;return C(S,function(){G++}),G},toArray:function(S){return C(S,function(G){return G})||[]},only:function(S){if(!lt(S))throw Error("React.Children.only expected to receive a single React element child.");return S}},it.Component=A,it.Fragment=r,it.Profiler=s,it.PureComponent=Q,it.StrictMode=c,it.Suspense=v,it.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=X,it.__COMPILER_RUNTIME={__proto__:null,c:function(S){return X.H.useMemoCache(S)}},it.cache=function(S){return function(){return S.apply(null,arguments)}},it.cloneElement=function(S,G,K){if(S==null)throw Error("The argument must be a React element, but you passed "+S+".");var Z=z({},S.props),I=S.key,ht=void 0;if(G!=null)for(at in G.ref!==void 0&&(ht=void 0),G.key!==void 0&&(I=""+G.key),G)!J.call(G,at)||at==="key"||at==="__self"||at==="__source"||at==="ref"&&G.ref===void 0||(Z[at]=G[at]);var at=arguments.length-2;if(at===1)Z.children=K;else if(1<at){for(var ce=Array(at),Tt=0;Tt<at;Tt++)ce[Tt]=arguments[Tt+2];Z.children=ce}return $(S.type,I,void 0,void 0,ht,Z)},it.createContext=function(S){return S={$$typeof:h,_currentValue:S,_currentValue2:S,_threadCount:0,Provider:null,Consumer:null},S.Provider=S,S.Consumer={$$typeof:o,_context:S},S},it.createElement=function(S,G,K){var Z,I={},ht=null;if(G!=null)for(Z in G.key!==void 0&&(ht=""+G.key),G)J.call(G,Z)&&Z!=="key"&&Z!=="__self"&&Z!=="__source"&&(I[Z]=G[Z]);var at=arguments.length-2;if(at===1)I.children=K;else if(1<at){for(var ce=Array(at),Tt=0;Tt<at;Tt++)ce[Tt]=arguments[Tt+2];I.children=ce}if(S&&S.defaultProps)for(Z in at=S.defaultProps,at)I[Z]===void 0&&(I[Z]=at[Z]);return $(S,ht,void 0,void 0,null,I)},it.createRef=function(){return{current:null}},it.forwardRef=function(S){return{$$typeof:g,render:S}},it.isValidElement=lt,it.lazy=function(S){return{$$typeof:p,_payload:{_status:-1,_result:S},_init:V}},it.memo=function(S,G){return{$$typeof:y,type:S,compare:G===void 0?null:G}},it.startTransition=function(S){var G=X.T,K={};X.T=K;try{var Z=S(),I=X.S;I!==null&&I(K,Z),typeof Z=="object"&&Z!==null&&typeof Z.then=="function"&&Z.then(mt,P)}catch(ht){P(ht)}finally{X.T=G}},it.unstable_useCacheRefresh=function(){return X.H.useCacheRefresh()},it.use=function(S){return X.H.use(S)},it.useActionState=function(S,G,K){return X.H.useActionState(S,G,K)},it.useCallback=function(S,G){return X.H.useCallback(S,G)},it.useContext=function(S){return X.H.useContext(S)},it.useDebugValue=function(){},it.useDeferredValue=function(S,G){return X.H.useDeferredValue(S,G)},it.useEffect=function(S,G,K){var Z=X.H;if(typeof K=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return Z.useEffect(S,G)},it.useId=function(){return X.H.useId()},it.useImperativeHandle=function(S,G,K){return X.H.useImperativeHandle(S,G,K)},it.useInsertionEffect=function(S,G){return X.H.useInsertionEffect(S,G)},it.useLayoutEffect=function(S,G){return X.H.useLayoutEffect(S,G)},it.useMemo=function(S,G){return X.H.useMemo(S,G)},it.useOptimistic=function(S,G){return X.H.useOptimistic(S,G)},it.useReducer=function(S,G,K){return X.H.useReducer(S,G,K)},it.useRef=function(S){return X.H.useRef(S)},it.useState=function(S){return X.H.useState(S)},it.useSyncExternalStore=function(S,G,K){return X.H.useSyncExternalStore(S,G,K)},it.useTransition=function(){return X.H.useTransition()},it.version="19.1.0",it}var e0;function Jf(){return e0||(e0=1,_f.exports=yv()),_f.exports}var At=Jf(),xf={exports:{}},Wa={},Ef={exports:{}},Af={};/**
 * @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 n0;function mv(){return n0||(n0=1,function(l){function u(C,V){var P=C.length;C.push(V);t:for(;0<P;){var mt=P-1>>>1,S=C[mt];if(0<s(S,V))C[mt]=V,C[P]=S,P=mt;else break t}}function r(C){return C.length===0?null:C[0]}function c(C){if(C.length===0)return null;var V=C[0],P=C.pop();if(P!==V){C[0]=P;t:for(var mt=0,S=C.length,G=S>>>1;mt<G;){var K=2*(mt+1)-1,Z=C[K],I=K+1,ht=C[I];if(0>s(Z,P))I<S&&0>s(ht,Z)?(C[mt]=ht,C[I]=P,mt=I):(C[mt]=Z,C[K]=P,mt=K);else if(I<S&&0>s(ht,P))C[mt]=ht,C[I]=P,mt=I;else break t}}return V}function s(C,V){var P=C.sortIndex-V.sortIndex;return P!==0?P:C.id-V.id}if(l.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var o=performance;l.unstable_now=function(){return o.now()}}else{var h=Date,g=h.now();l.unstable_now=function(){return h.now()-g}}var v=[],y=[],p=1,x=null,w=3,E=!1,z=!1,O=!1,A=!1,Y=typeof setTimeout=="function"?setTimeout:null,Q=typeof clearTimeout=="function"?clearTimeout:null,j=typeof setImmediate<"u"?setImmediate:null;function D(C){for(var V=r(y);V!==null;){if(V.callback===null)c(y);else if(V.startTime<=C)c(y),V.sortIndex=V.expirationTime,u(v,V);else break;V=r(y)}}function X(C){if(O=!1,D(C),!z)if(r(v)!==null)z=!0,J||(J=!0,Bt());else{var V=r(y);V!==null&&Xt(X,V.startTime-C)}}var J=!1,$=-1,F=5,lt=-1;function Dt(){return A?!0:!(l.unstable_now()-lt<F)}function Ht(){if(A=!1,J){var C=l.unstable_now();lt=C;var V=!0;try{t:{z=!1,O&&(O=!1,Q($),$=-1),E=!0;var P=w;try{e:{for(D(C),x=r(v);x!==null&&!(x.expirationTime>C&&Dt());){var mt=x.callback;if(typeof mt=="function"){x.callback=null,w=x.priorityLevel;var S=mt(x.expirationTime<=C);if(C=l.unstable_now(),typeof S=="function"){x.callback=S,D(C),V=!0;break e}x===r(v)&&c(v),D(C)}else c(v);x=r(v)}if(x!==null)V=!0;else{var G=r(y);G!==null&&Xt(X,G.startTime-C),V=!1}}break t}finally{x=null,w=P,E=!1}V=void 0}}finally{V?Bt():J=!1}}}var Bt;if(typeof j=="function")Bt=function(){j(Ht)};else if(typeof MessageChannel<"u"){var qe=new MessageChannel,Se=qe.port2;qe.port1.onmessage=Ht,Bt=function(){Se.postMessage(null)}}else Bt=function(){Y(Ht,0)};function Xt(C,V){$=Y(function(){C(l.unstable_now())},V)}l.unstable_IdlePriority=5,l.unstable_ImmediatePriority=1,l.unstable_LowPriority=4,l.unstable_NormalPriority=3,l.unstable_Profiling=null,l.unstable_UserBlockingPriority=2,l.unstable_cancelCallback=function(C){C.callback=null},l.unstable_forceFrameRate=function(C){0>C||125<C?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):F=0<C?Math.floor(1e3/C):5},l.unstable_getCurrentPriorityLevel=function(){return w},l.unstable_next=function(C){switch(w){case 1:case 2:case 3:var V=3;break;default:V=w}var P=w;w=V;try{return C()}finally{w=P}},l.unstable_requestPaint=function(){A=!0},l.unstable_runWithPriority=function(C,V){switch(C){case 1:case 2:case 3:case 4:case 5:break;default:C=3}var P=w;w=C;try{return V()}finally{w=P}},l.unstable_scheduleCallback=function(C,V,P){var mt=l.unstable_now();switch(typeof P=="object"&&P!==null?(P=P.delay,P=typeof P=="number"&&0<P?mt+P:mt):P=mt,C){case 1:var S=-1;break;case 2:S=250;break;case 5:S=1073741823;break;case 4:S=1e4;break;default:S=5e3}return S=P+S,C={id:p++,callback:V,priorityLevel:C,startTime:P,expirationTime:S,sortIndex:-1},P>mt?(C.sortIndex=P,u(y,C),r(v)===null&&C===r(y)&&(O?(Q($),$=-1):O=!0,Xt(X,P-mt))):(C.sortIndex=S,u(v,C),z||E||(z=!0,J||(J=!0,Bt()))),C},l.unstable_shouldYield=Dt,l.unstable_wrapCallback=function(C){var V=w;return function(){var P=w;w=V;try{return C.apply(this,arguments)}finally{w=P}}}}(Af)),Af}var l0;function gv(){return l0||(l0=1,Ef.exports=mv()),Ef.exports}var Tf={exports:{}},Ft={};/**
 * @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 a0;function vv(){if(a0)return Ft;a0=1;var l=Jf();function u(v){var y="https://react.dev/errors/"+v;if(1<arguments.length){y+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)y+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+v+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var c={d:{f:r,r:function(){throw Error(u(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},s=Symbol.for("react.portal");function o(v,y,p){var x=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:x==null?null:""+x,children:v,containerInfo:y,implementation:p}}var h=l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function g(v,y){if(v==="font")return"";if(typeof y=="string")return y==="use-credentials"?y:""}return Ft.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=c,Ft.createPortal=function(v,y){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!y||y.nodeType!==1&&y.nodeType!==9&&y.nodeType!==11)throw Error(u(299));return o(v,y,null,p)},Ft.flushSync=function(v){var y=h.T,p=c.p;try{if(h.T=null,c.p=2,v)return v()}finally{h.T=y,c.p=p,c.d.f()}},Ft.preconnect=function(v,y){typeof v=="string"&&(y?(y=y.crossOrigin,y=typeof y=="string"?y==="use-credentials"?y:"":void 0):y=null,c.d.C(v,y))},Ft.prefetchDNS=function(v){typeof v=="string"&&c.d.D(v)},Ft.preinit=function(v,y){if(typeof v=="string"&&y&&typeof y.as=="string"){var p=y.as,x=g(p,y.crossOrigin),w=typeof y.integrity=="string"?y.integrity:void 0,E=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;p==="style"?c.d.S(v,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:x,integrity:w,fetchPriority:E}):p==="script"&&c.d.X(v,{crossOrigin:x,integrity:w,fetchPriority:E,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},Ft.preinitModule=function(v,y){if(typeof v=="string")if(typeof y=="object"&&y!==null){if(y.as==null||y.as==="script"){var p=g(y.as,y.crossOrigin);c.d.M(v,{crossOrigin:p,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0})}}else y==null&&c.d.M(v)},Ft.preload=function(v,y){if(typeof v=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){var p=y.as,x=g(p,y.crossOrigin);c.d.L(v,p,{crossOrigin:x,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,type:typeof y.type=="string"?y.type:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0,referrerPolicy:typeof y.referrerPolicy=="string"?y.referrerPolicy:void 0,imageSrcSet:typeof y.imageSrcSet=="string"?y.imageSrcSet:void 0,imageSizes:typeof y.imageSizes=="string"?y.imageSizes:void 0,media:typeof y.media=="string"?y.media:void 0})}},Ft.preloadModule=function(v,y){if(typeof v=="string")if(y){var p=g(y.as,y.crossOrigin);c.d.m(v,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:p,integrity:typeof y.integrity=="string"?y.integrity:void 0})}else c.d.m(v)},Ft.requestFormReset=function(v){c.d.r(v)},Ft.unstable_batchedUpdates=function(v,y){return v(y)},Ft.useFormState=function(v,y,p){return h.H.useFormState(v,y,p)},Ft.useFormStatus=function(){return h.H.useHostTransitionStatus()},Ft.version="19.1.0",Ft}var u0;function pv(){if(u0)return Tf.exports;u0=1;function l(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(u){console.error(u)}}return l(),Tf.exports=vv(),Tf.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 i0;function bv(){if(i0)return Wa;i0=1;var l=gv(),u=Jf(),r=pv();function c(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function o(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(n=e.return),t=e.return;while(t)}return e.tag===3?n:null}function h(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function g(t){if(o(t)!==t)throw Error(c(188))}function v(t){var e=t.alternate;if(!e){if(e=o(t),e===null)throw Error(c(188));return e!==t?null:t}for(var n=t,a=e;;){var i=n.return;if(i===null)break;var f=i.alternate;if(f===null){if(a=i.return,a!==null){n=a;continue}break}if(i.child===f.child){for(f=i.child;f;){if(f===n)return g(i),t;if(f===a)return g(i),e;f=f.sibling}throw Error(c(188))}if(n.return!==a.return)n=i,a=f;else{for(var d=!1,m=i.child;m;){if(m===n){d=!0,n=i,a=f;break}if(m===a){d=!0,a=i,n=f;break}m=m.sibling}if(!d){for(m=f.child;m;){if(m===n){d=!0,n=f,a=i;break}if(m===a){d=!0,a=f,n=i;break}m=m.sibling}if(!d)throw Error(c(189))}}if(n.alternate!==a)throw Error(c(190))}if(n.tag!==3)throw Error(c(188));return n.stateNode.current===n?t:e}function y(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=y(t),e!==null)return e;t=t.sibling}return null}var p=Object.assign,x=Symbol.for("react.element"),w=Symbol.for("react.transitional.element"),E=Symbol.for("react.portal"),z=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),Y=Symbol.for("react.provider"),Q=Symbol.for("react.consumer"),j=Symbol.for("react.context"),D=Symbol.for("react.forward_ref"),X=Symbol.for("react.suspense"),J=Symbol.for("react.suspense_list"),$=Symbol.for("react.memo"),F=Symbol.for("react.lazy"),lt=Symbol.for("react.activity"),Dt=Symbol.for("react.memo_cache_sentinel"),Ht=Symbol.iterator;function Bt(t){return t===null||typeof t!="object"?null:(t=Ht&&t[Ht]||t["@@iterator"],typeof t=="function"?t:null)}var qe=Symbol.for("react.client.reference");function Se(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===qe?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case z:return"Fragment";case A:return"Profiler";case O:return"StrictMode";case X:return"Suspense";case J:return"SuspenseList";case lt:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case E:return"Portal";case j:return(t.displayName||"Context")+".Provider";case Q:return(t._context.displayName||"Context")+".Consumer";case D:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case $:return e=t.displayName||null,e!==null?e:Se(t.type)||"Memo";case F:e=t._payload,t=t._init;try{return Se(t(e))}catch{}}return null}var Xt=Array.isArray,C=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,P={pending:!1,data:null,method:null,action:null},mt=[],S=-1;function G(t){return{current:t}}function K(t){0>S||(t.current=mt[S],mt[S]=null,S--)}function Z(t,e){S++,mt[S]=t.current,t.current=e}var I=G(null),ht=G(null),at=G(null),ce=G(null);function Tt(t,e){switch(Z(at,e),Z(ht,t),Z(I,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?wd(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=wd(e),t=Rd(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}K(I),Z(I,t)}function sn(){K(I),K(ht),K(at)}function ar(t){t.memoizedState!==null&&Z(ce,t);var e=I.current,n=Rd(e,t.type);e!==n&&(Z(ht,t),Z(I,n))}function yu(t){ht.current===t&&(K(I),K(ht)),ce.current===t&&(K(ce),Za._currentValue=P)}var ur=Object.prototype.hasOwnProperty,ir=l.unstable_scheduleCallback,rr=l.unstable_cancelCallback,Vy=l.unstable_shouldYield,Zy=l.unstable_requestPaint,Be=l.unstable_now,Ky=l.unstable_getCurrentPriorityLevel,us=l.unstable_ImmediatePriority,is=l.unstable_UserBlockingPriority,mu=l.unstable_NormalPriority,Jy=l.unstable_LowPriority,rs=l.unstable_IdlePriority,ky=l.log,$y=l.unstable_setDisableYieldValue,Il=null,fe=null;function on(t){if(typeof ky=="function"&&$y(t),fe&&typeof fe.setStrictMode=="function")try{fe.setStrictMode(Il,t)}catch{}}var se=Math.clz32?Math.clz32:Py,Fy=Math.log,Wy=Math.LN2;function Py(t){return t>>>=0,t===0?32:31-(Fy(t)/Wy|0)|0}var gu=256,vu=4194304;function qn(t){var e=t&42;if(e!==0)return e;switch(t&-t){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:case 262144:case 524288:case 1048576:case 2097152:return t&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function pu(t,e,n){var a=t.pendingLanes;if(a===0)return 0;var i=0,f=t.suspendedLanes,d=t.pingedLanes;t=t.warmLanes;var m=a&134217727;return m!==0?(a=m&~f,a!==0?i=qn(a):(d&=m,d!==0?i=qn(d):n||(n=m&~t,n!==0&&(i=qn(n))))):(m=a&~f,m!==0?i=qn(m):d!==0?i=qn(d):n||(n=a&~t,n!==0&&(i=qn(n)))),i===0?0:e!==0&&e!==i&&(e&f)===0&&(f=i&-i,n=e&-e,f>=n||f===32&&(n&4194048)!==0)?e:i}function ta(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Iy(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+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 e+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 cs(){var t=gu;return gu<<=1,(gu&4194048)===0&&(gu=256),t}function fs(){var t=vu;return vu<<=1,(vu&62914560)===0&&(vu=4194304),t}function cr(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function ea(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function tm(t,e,n,a,i,f){var d=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var m=t.entanglements,b=t.expirationTimes,N=t.hiddenUpdates;for(n=d&~n;0<n;){var q=31-se(n),L=1<<q;m[q]=0,b[q]=-1;var M=N[q];if(M!==null)for(N[q]=null,q=0;q<M.length;q++){var U=M[q];U!==null&&(U.lane&=-536870913)}n&=~L}a!==0&&ss(t,a,0),f!==0&&i===0&&t.tag!==0&&(t.suspendedLanes|=f&~(d&~e))}function ss(t,e,n){t.pendingLanes|=e,t.suspendedLanes&=~e;var a=31-se(e);t.entangledLanes|=e,t.entanglements[a]=t.entanglements[a]|1073741824|n&4194090}function os(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var a=31-se(n),i=1<<a;i&e|t[a]&e&&(t[a]|=e),n&=~i}}function fr(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function sr(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function hs(){var t=V.p;return t!==0?t:(t=window.event,t===void 0?32:Kd(t.type))}function em(t,e){var n=V.p;try{return V.p=t,e()}finally{V.p=n}}var hn=Math.random().toString(36).slice(2),kt="__reactFiber$"+hn,ee="__reactProps$"+hn,rl="__reactContainer$"+hn,or="__reactEvents$"+hn,nm="__reactListeners$"+hn,lm="__reactHandles$"+hn,ds="__reactResources$"+hn,na="__reactMarker$"+hn;function hr(t){delete t[kt],delete t[ee],delete t[or],delete t[nm],delete t[lm]}function cl(t){var e=t[kt];if(e)return e;for(var n=t.parentNode;n;){if(e=n[rl]||n[kt]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=Dd(t);t!==null;){if(n=t[kt])return n;t=Dd(t)}return e}t=n,n=t.parentNode}return null}function fl(t){if(t=t[kt]||t[rl]){var e=t.tag;if(e===5||e===6||e===13||e===26||e===27||e===3)return t}return null}function la(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(c(33))}function sl(t){var e=t[ds];return e||(e=t[ds]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function jt(t){t[na]=!0}var ys=new Set,ms={};function Bn(t,e){ol(t,e),ol(t+"Capture",e)}function ol(t,e){for(ms[t]=e,t=0;t<e.length;t++)ys.add(e[t])}var am=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]*$"),gs={},vs={};function um(t){return ur.call(vs,t)?!0:ur.call(gs,t)?!1:am.test(t)?vs[t]=!0:(gs[t]=!0,!1)}function bu(t,e,n){if(um(e))if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var a=e.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+n)}}function Su(t,e,n){if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+n)}}function Ke(t,e,n,a){if(a===null)t.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttributeNS(e,n,""+a)}}var dr,ps;function hl(t){if(dr===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);dr=e&&e[1]||"",ps=-1<n.stack.indexOf(`
    at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
`+dr+t+ps}var yr=!1;function mr(t,e){if(!t||yr)return"";yr=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(e){var L=function(){throw Error()};if(Object.defineProperty(L.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(L,[])}catch(U){var M=U}Reflect.construct(t,[],L)}else{try{L.call()}catch(U){M=U}t.call(L.prototype)}}else{try{throw Error()}catch(U){M=U}(L=t())&&typeof L.catch=="function"&&L.catch(function(){})}}catch(U){if(U&&M&&typeof U.stack=="string")return[U.stack,M.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var f=a.DetermineComponentFrameRoot(),d=f[0],m=f[1];if(d&&m){var b=d.split(`
`),N=m.split(`
`);for(i=a=0;a<b.length&&!b[a].includes("DetermineComponentFrameRoot");)a++;for(;i<N.length&&!N[i].includes("DetermineComponentFrameRoot");)i++;if(a===b.length||i===N.length)for(a=b.length-1,i=N.length-1;1<=a&&0<=i&&b[a]!==N[i];)i--;for(;1<=a&&0<=i;a--,i--)if(b[a]!==N[i]){if(a!==1||i!==1)do if(a--,i--,0>i||b[a]!==N[i]){var q=`
`+b[a].replace(" at new "," at ");return t.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",t.displayName)),q}while(1<=a&&0<=i);break}}}finally{yr=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?hl(n):""}function im(t){switch(t.tag){case 26:case 27:case 5:return hl(t.type);case 16:return hl("Lazy");case 13:return hl("Suspense");case 19:return hl("SuspenseList");case 0:case 15:return mr(t.type,!1);case 11:return mr(t.type.render,!1);case 1:return mr(t.type,!0);case 31:return hl("Activity");default:return""}}function bs(t){try{var e="";do e+=im(t),t=t.return;while(t);return e}catch(n){return`
Error generating stack: `+n.message+`
`+n.stack}}function _e(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Ss(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function rm(t){var e=Ss(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),a=""+t[e];if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,f=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(d){a=""+d,f.call(this,d)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return a},setValue:function(d){a=""+d},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function _u(t){t._valueTracker||(t._valueTracker=rm(t))}function _s(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),a="";return t&&(a=Ss(t)?t.checked?"true":"false":t.value),t=a,t!==n?(e.setValue(t),!0):!1}function xu(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var cm=/[\n"\\]/g;function xe(t){return t.replace(cm,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function gr(t,e,n,a,i,f,d,m){t.name="",d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?t.type=d:t.removeAttribute("type"),e!=null?d==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+_e(e)):t.value!==""+_e(e)&&(t.value=""+_e(e)):d!=="submit"&&d!=="reset"||t.removeAttribute("value"),e!=null?vr(t,d,_e(e)):n!=null?vr(t,d,_e(n)):a!=null&&t.removeAttribute("value"),i==null&&f!=null&&(t.defaultChecked=!!f),i!=null&&(t.checked=i&&typeof i!="function"&&typeof i!="symbol"),m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?t.name=""+_e(m):t.removeAttribute("name")}function xs(t,e,n,a,i,f,d,m){if(f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(t.type=f),e!=null||n!=null){if(!(f!=="submit"&&f!=="reset"||e!=null))return;n=n!=null?""+_e(n):"",e=e!=null?""+_e(e):n,m||e===t.value||(t.value=e),t.defaultValue=e}a=a??i,a=typeof a!="function"&&typeof a!="symbol"&&!!a,t.checked=m?t.checked:!!a,t.defaultChecked=!!a,d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(t.name=d)}function vr(t,e,n){e==="number"&&xu(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function dl(t,e,n,a){if(t=t.options,e){e={};for(var i=0;i<n.length;i++)e["$"+n[i]]=!0;for(n=0;n<t.length;n++)i=e.hasOwnProperty("$"+t[n].value),t[n].selected!==i&&(t[n].selected=i),i&&a&&(t[n].defaultSelected=!0)}else{for(n=""+_e(n),e=null,i=0;i<t.length;i++){if(t[i].value===n){t[i].selected=!0,a&&(t[i].defaultSelected=!0);return}e!==null||t[i].disabled||(e=t[i])}e!==null&&(e.selected=!0)}}function Es(t,e,n){if(e!=null&&(e=""+_e(e),e!==t.value&&(t.value=e),n==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=n!=null?""+_e(n):""}function As(t,e,n,a){if(e==null){if(a!=null){if(n!=null)throw Error(c(92));if(Xt(a)){if(1<a.length)throw Error(c(93));a=a[0]}n=a}n==null&&(n=""),e=n}n=_e(e),t.defaultValue=n,a=t.textContent,a===n&&a!==""&&a!==null&&(t.value=a)}function yl(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var fm=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 Ts(t,e,n){var a=e.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?a?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":a?t.setProperty(e,n):typeof n!="number"||n===0||fm.has(e)?e==="float"?t.cssFloat=n:t[e]=(""+n).trim():t[e]=n+"px"}function ws(t,e,n){if(e!=null&&typeof e!="object")throw Error(c(62));if(t=t.style,n!=null){for(var a in n)!n.hasOwnProperty(a)||e!=null&&e.hasOwnProperty(a)||(a.indexOf("--")===0?t.setProperty(a,""):a==="float"?t.cssFloat="":t[a]="");for(var i in e)a=e[i],e.hasOwnProperty(i)&&n[i]!==a&&Ts(t,i,a)}else for(var f in e)e.hasOwnProperty(f)&&Ts(t,f,e[f])}function pr(t){if(t.indexOf("-")===-1)return!1;switch(t){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 sm=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"]]),om=/^[\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 Eu(t){return om.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}var br=null;function Sr(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var ml=null,gl=null;function Rs(t){var e=fl(t);if(e&&(t=e.stateNode)){var n=t[ee]||null;t:switch(t=e.stateNode,e.type){case"input":if(gr(t,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),e=n.name,n.type==="radio"&&e!=null){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+xe(""+e)+'"][type="radio"]'),e=0;e<n.length;e++){var a=n[e];if(a!==t&&a.form===t.form){var i=a[ee]||null;if(!i)throw Error(c(90));gr(a,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(e=0;e<n.length;e++)a=n[e],a.form===t.form&&_s(a)}break t;case"textarea":Es(t,n.value,n.defaultValue);break t;case"select":e=n.value,e!=null&&dl(t,!!n.multiple,e,!1)}}}var _r=!1;function Os(t,e,n){if(_r)return t(e,n);_r=!0;try{var a=t(e);return a}finally{if(_r=!1,(ml!==null||gl!==null)&&(ci(),ml&&(e=ml,t=gl,gl=ml=null,Rs(e),t)))for(e=0;e<t.length;e++)Rs(t[e])}}function aa(t,e){var n=t.stateNode;if(n===null)return null;var a=n[ee]||null;if(a===null)return null;n=a[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(t=t.type,a=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!a;break t;default:t=!1}if(t)return null;if(n&&typeof n!="function")throw Error(c(231,e,typeof n));return n}var Je=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),xr=!1;if(Je)try{var ua={};Object.defineProperty(ua,"passive",{get:function(){xr=!0}}),window.addEventListener("test",ua,ua),window.removeEventListener("test",ua,ua)}catch{xr=!1}var dn=null,Er=null,Au=null;function Ns(){if(Au)return Au;var t,e=Er,n=e.length,a,i="value"in dn?dn.value:dn.textContent,f=i.length;for(t=0;t<n&&e[t]===i[t];t++);var d=n-t;for(a=1;a<=d&&e[n-a]===i[f-a];a++);return Au=i.slice(t,1<a?1-a:void 0)}function Tu(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function wu(){return!0}function Ms(){return!1}function ne(t){function e(n,a,i,f,d){this._reactName=n,this._targetInst=i,this.type=a,this.nativeEvent=f,this.target=d,this.currentTarget=null;for(var m in t)t.hasOwnProperty(m)&&(n=t[m],this[m]=n?n(f):f[m]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?wu:Ms,this.isPropagationStopped=Ms,this}return p(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=wu)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=wu)},persist:function(){},isPersistent:wu}),e}var Yn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ru=ne(Yn),ia=p({},Yn,{view:0,detail:0}),hm=ne(ia),Ar,Tr,ra,Ou=p({},ia,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Rr,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==ra&&(ra&&t.type==="mousemove"?(Ar=t.screenX-ra.screenX,Tr=t.screenY-ra.screenY):Tr=Ar=0,ra=t),Ar)},movementY:function(t){return"movementY"in t?t.movementY:Tr}}),Ds=ne(Ou),dm=p({},Ou,{dataTransfer:0}),ym=ne(dm),mm=p({},ia,{relatedTarget:0}),wr=ne(mm),gm=p({},Yn,{animationName:0,elapsedTime:0,pseudoElement:0}),vm=ne(gm),pm=p({},Yn,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),bm=ne(pm),Sm=p({},Yn,{data:0}),zs=ne(Sm),_m={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xm={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"},Em={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Am(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=Em[t])?!!e[t]:!1}function Rr(){return Am}var Tm=p({},ia,{key:function(t){if(t.key){var e=_m[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Tu(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?xm[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Rr,charCode:function(t){return t.type==="keypress"?Tu(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Tu(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),wm=ne(Tm),Rm=p({},Ou,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Us=ne(Rm),Om=p({},ia,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Rr}),Nm=ne(Om),Mm=p({},Yn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Dm=ne(Mm),zm=p({},Ou,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),Um=ne(zm),Hm=p({},Yn,{newState:0,oldState:0}),Cm=ne(Hm),qm=[9,13,27,32],Or=Je&&"CompositionEvent"in window,ca=null;Je&&"documentMode"in document&&(ca=document.documentMode);var Bm=Je&&"TextEvent"in window&&!ca,Hs=Je&&(!Or||ca&&8<ca&&11>=ca),Cs=" ",qs=!1;function Bs(t,e){switch(t){case"keyup":return qm.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ys(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var vl=!1;function Ym(t,e){switch(t){case"compositionend":return Ys(e);case"keypress":return e.which!==32?null:(qs=!0,Cs);case"textInput":return t=e.data,t===Cs&&qs?null:t;default:return null}}function Lm(t,e){if(vl)return t==="compositionend"||!Or&&Bs(t,e)?(t=Ns(),Au=Er=dn=null,vl=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return Hs&&e.locale!=="ko"?null:e.data;default:return null}}var Xm={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 Ls(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!Xm[t.type]:e==="textarea"}function Xs(t,e,n,a){ml?gl?gl.push(a):gl=[a]:ml=a,e=yi(e,"onChange"),0<e.length&&(n=new Ru("onChange","change",null,n,a),t.push({event:n,listeners:e}))}var fa=null,sa=null;function jm(t){_d(t,0)}function Nu(t){var e=la(t);if(_s(e))return t}function js(t,e){if(t==="change")return e}var Gs=!1;if(Je){var Nr;if(Je){var Mr="oninput"in document;if(!Mr){var Qs=document.createElement("div");Qs.setAttribute("oninput","return;"),Mr=typeof Qs.oninput=="function"}Nr=Mr}else Nr=!1;Gs=Nr&&(!document.documentMode||9<document.documentMode)}function Vs(){fa&&(fa.detachEvent("onpropertychange",Zs),sa=fa=null)}function Zs(t){if(t.propertyName==="value"&&Nu(sa)){var e=[];Xs(e,sa,t,Sr(t)),Os(jm,e)}}function Gm(t,e,n){t==="focusin"?(Vs(),fa=e,sa=n,fa.attachEvent("onpropertychange",Zs)):t==="focusout"&&Vs()}function Qm(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Nu(sa)}function Vm(t,e){if(t==="click")return Nu(e)}function Zm(t,e){if(t==="input"||t==="change")return Nu(e)}function Km(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var oe=typeof Object.is=="function"?Object.is:Km;function oa(t,e){if(oe(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var n=Object.keys(t),a=Object.keys(e);if(n.length!==a.length)return!1;for(a=0;a<n.length;a++){var i=n[a];if(!ur.call(e,i)||!oe(t[i],e[i]))return!1}return!0}function Ks(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Js(t,e){var n=Ks(t);t=0;for(var a;n;){if(n.nodeType===3){if(a=t+n.textContent.length,t<=e&&a>=e)return{node:n,offset:e-t};t=a}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=Ks(n)}}function ks(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?ks(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function $s(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=xu(t.document);e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=xu(t.document)}return e}function Dr(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var Jm=Je&&"documentMode"in document&&11>=document.documentMode,pl=null,zr=null,ha=null,Ur=!1;function Fs(t,e,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ur||pl==null||pl!==xu(a)||(a=pl,"selectionStart"in a&&Dr(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),ha&&oa(ha,a)||(ha=a,a=yi(zr,"onSelect"),0<a.length&&(e=new Ru("onSelect","select",null,e,n),t.push({event:e,listeners:a}),e.target=pl)))}function Ln(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var bl={animationend:Ln("Animation","AnimationEnd"),animationiteration:Ln("Animation","AnimationIteration"),animationstart:Ln("Animation","AnimationStart"),transitionrun:Ln("Transition","TransitionRun"),transitionstart:Ln("Transition","TransitionStart"),transitioncancel:Ln("Transition","TransitionCancel"),transitionend:Ln("Transition","TransitionEnd")},Hr={},Ws={};Je&&(Ws=document.createElement("div").style,"AnimationEvent"in window||(delete bl.animationend.animation,delete bl.animationiteration.animation,delete bl.animationstart.animation),"TransitionEvent"in window||delete bl.transitionend.transition);function Xn(t){if(Hr[t])return Hr[t];if(!bl[t])return t;var e=bl[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in Ws)return Hr[t]=e[n];return t}var Ps=Xn("animationend"),Is=Xn("animationiteration"),to=Xn("animationstart"),km=Xn("transitionrun"),$m=Xn("transitionstart"),Fm=Xn("transitioncancel"),eo=Xn("transitionend"),no=new Map,Cr="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(" ");Cr.push("scrollEnd");function Me(t,e){no.set(t,e),Bn(e,[t])}var lo=new WeakMap;function Ee(t,e){if(typeof t=="object"&&t!==null){var n=lo.get(t);return n!==void 0?n:(e={value:t,source:e,stack:bs(e)},lo.set(t,e),e)}return{value:t,source:e,stack:bs(e)}}var Ae=[],Sl=0,qr=0;function Mu(){for(var t=Sl,e=qr=Sl=0;e<t;){var n=Ae[e];Ae[e++]=null;var a=Ae[e];Ae[e++]=null;var i=Ae[e];Ae[e++]=null;var f=Ae[e];if(Ae[e++]=null,a!==null&&i!==null){var d=a.pending;d===null?i.next=i:(i.next=d.next,d.next=i),a.pending=i}f!==0&&ao(n,i,f)}}function Du(t,e,n,a){Ae[Sl++]=t,Ae[Sl++]=e,Ae[Sl++]=n,Ae[Sl++]=a,qr|=a,t.lanes|=a,t=t.alternate,t!==null&&(t.lanes|=a)}function Br(t,e,n,a){return Du(t,e,n,a),zu(t)}function _l(t,e){return Du(t,null,null,e),zu(t)}function ao(t,e,n){t.lanes|=n;var a=t.alternate;a!==null&&(a.lanes|=n);for(var i=!1,f=t.return;f!==null;)f.childLanes|=n,a=f.alternate,a!==null&&(a.childLanes|=n),f.tag===22&&(t=f.stateNode,t===null||t._visibility&1||(i=!0)),t=f,f=f.return;return t.tag===3?(f=t.stateNode,i&&e!==null&&(i=31-se(n),t=f.hiddenUpdates,a=t[i],a===null?t[i]=[e]:a.push(e),e.lane=n|536870912),f):null}function zu(t){if(50<Ba)throw Ba=0,Qc=null,Error(c(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var xl={};function Wm(t,e,n,a){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function he(t,e,n,a){return new Wm(t,e,n,a)}function Yr(t){return t=t.prototype,!(!t||!t.isReactComponent)}function ke(t,e){var n=t.alternate;return n===null?(n=he(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&65011712,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n.refCleanup=t.refCleanup,n}function uo(t,e){t.flags&=65011714;var n=t.alternate;return n===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=n.childLanes,t.lanes=n.lanes,t.child=n.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=n.memoizedProps,t.memoizedState=n.memoizedState,t.updateQueue=n.updateQueue,t.type=n.type,e=n.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function Uu(t,e,n,a,i,f){var d=0;if(a=t,typeof t=="function")Yr(t)&&(d=1);else if(typeof t=="string")d=Ig(t,n,I.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case lt:return t=he(31,n,e,i),t.elementType=lt,t.lanes=f,t;case z:return jn(n.children,i,f,e);case O:d=8,i|=24;break;case A:return t=he(12,n,e,i|2),t.elementType=A,t.lanes=f,t;case X:return t=he(13,n,e,i),t.elementType=X,t.lanes=f,t;case J:return t=he(19,n,e,i),t.elementType=J,t.lanes=f,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Y:case j:d=10;break t;case Q:d=9;break t;case D:d=11;break t;case $:d=14;break t;case F:d=16,a=null;break t}d=29,n=Error(c(130,t===null?"null":typeof t,"")),a=null}return e=he(d,n,e,i),e.elementType=t,e.type=a,e.lanes=f,e}function jn(t,e,n,a){return t=he(7,t,a,e),t.lanes=n,t}function Lr(t,e,n){return t=he(6,t,null,e),t.lanes=n,t}function Xr(t,e,n){return e=he(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var El=[],Al=0,Hu=null,Cu=0,Te=[],we=0,Gn=null,$e=1,Fe="";function Qn(t,e){El[Al++]=Cu,El[Al++]=Hu,Hu=t,Cu=e}function io(t,e,n){Te[we++]=$e,Te[we++]=Fe,Te[we++]=Gn,Gn=t;var a=$e;t=Fe;var i=32-se(a)-1;a&=~(1<<i),n+=1;var f=32-se(e)+i;if(30<f){var d=i-i%5;f=(a&(1<<d)-1).toString(32),a>>=d,i-=d,$e=1<<32-se(e)+i|n<<i|a,Fe=f+t}else $e=1<<f|n<<i|a,Fe=t}function jr(t){t.return!==null&&(Qn(t,1),io(t,1,0))}function Gr(t){for(;t===Hu;)Hu=El[--Al],El[Al]=null,Cu=El[--Al],El[Al]=null;for(;t===Gn;)Gn=Te[--we],Te[we]=null,Fe=Te[--we],Te[we]=null,$e=Te[--we],Te[we]=null}var Pt=null,Ot=null,yt=!1,Vn=null,Ye=!1,Qr=Error(c(519));function Zn(t){var e=Error(c(418,""));throw ma(Ee(e,t)),Qr}function ro(t){var e=t.stateNode,n=t.type,a=t.memoizedProps;switch(e[kt]=t,e[ee]=a,n){case"dialog":st("cancel",e),st("close",e);break;case"iframe":case"object":case"embed":st("load",e);break;case"video":case"audio":for(n=0;n<La.length;n++)st(La[n],e);break;case"source":st("error",e);break;case"img":case"image":case"link":st("error",e),st("load",e);break;case"details":st("toggle",e);break;case"input":st("invalid",e),xs(e,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0),_u(e);break;case"select":st("invalid",e);break;case"textarea":st("invalid",e),As(e,a.value,a.defaultValue,a.children),_u(e)}n=a.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||e.textContent===""+n||a.suppressHydrationWarning===!0||Td(e.textContent,n)?(a.popover!=null&&(st("beforetoggle",e),st("toggle",e)),a.onScroll!=null&&st("scroll",e),a.onScrollEnd!=null&&st("scrollend",e),a.onClick!=null&&(e.onclick=mi),e=!0):e=!1,e||Zn(t)}function co(t){for(Pt=t.return;Pt;)switch(Pt.tag){case 5:case 13:Ye=!1;return;case 27:case 3:Ye=!0;return;default:Pt=Pt.return}}function da(t){if(t!==Pt)return!1;if(!yt)return co(t),yt=!0,!1;var e=t.tag,n;if((n=e!==3&&e!==27)&&((n=e===5)&&(n=t.type,n=!(n!=="form"&&n!=="button")||uf(t.type,t.memoizedProps)),n=!n),n&&Ot&&Zn(t),co(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(317));t:{for(t=t.nextSibling,e=0;t;){if(t.nodeType===8)if(n=t.data,n==="/$"){if(e===0){Ot=ze(t.nextSibling);break t}e--}else n!=="$"&&n!=="$!"&&n!=="$?"||e++;t=t.nextSibling}Ot=null}}else e===27?(e=Ot,Nn(t.type)?(t=sf,sf=null,Ot=t):Ot=e):Ot=Pt?ze(t.stateNode.nextSibling):null;return!0}function ya(){Ot=Pt=null,yt=!1}function fo(){var t=Vn;return t!==null&&(ue===null?ue=t:ue.push.apply(ue,t),Vn=null),t}function ma(t){Vn===null?Vn=[t]:Vn.push(t)}var Vr=G(null),Kn=null,We=null;function yn(t,e,n){Z(Vr,e._currentValue),e._currentValue=n}function Pe(t){t._currentValue=Vr.current,K(Vr)}function Zr(t,e,n){for(;t!==null;){var a=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,a!==null&&(a.childLanes|=e)):a!==null&&(a.childLanes&e)!==e&&(a.childLanes|=e),t===n)break;t=t.return}}function Kr(t,e,n,a){var i=t.child;for(i!==null&&(i.return=t);i!==null;){var f=i.dependencies;if(f!==null){var d=i.child;f=f.firstContext;t:for(;f!==null;){var m=f;f=i;for(var b=0;b<e.length;b++)if(m.context===e[b]){f.lanes|=n,m=f.alternate,m!==null&&(m.lanes|=n),Zr(f.return,n,t),a||(d=null);break t}f=m.next}}else if(i.tag===18){if(d=i.return,d===null)throw Error(c(341));d.lanes|=n,f=d.alternate,f!==null&&(f.lanes|=n),Zr(d,n,t),d=null}else d=i.child;if(d!==null)d.return=i;else for(d=i;d!==null;){if(d===t){d=null;break}if(i=d.sibling,i!==null){i.return=d.return,d=i;break}d=d.return}i=d}}function ga(t,e,n,a){t=null;for(var i=e,f=!1;i!==null;){if(!f){if((i.flags&524288)!==0)f=!0;else if((i.flags&262144)!==0)break}if(i.tag===10){var d=i.alternate;if(d===null)throw Error(c(387));if(d=d.memoizedProps,d!==null){var m=i.type;oe(i.pendingProps.value,d.value)||(t!==null?t.push(m):t=[m])}}else if(i===ce.current){if(d=i.alternate,d===null)throw Error(c(387));d.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(t!==null?t.push(Za):t=[Za])}i=i.return}t!==null&&Kr(e,t,n,a),e.flags|=262144}function qu(t){for(t=t.firstContext;t!==null;){if(!oe(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Jn(t){Kn=t,We=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function $t(t){return so(Kn,t)}function Bu(t,e){return Kn===null&&Jn(t),so(t,e)}function so(t,e){var n=e._currentValue;if(e={context:e,memoizedValue:n,next:null},We===null){if(t===null)throw Error(c(308));We=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else We=We.next=e;return n}var Pm=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(n,a){t.push(a)}};this.abort=function(){e.aborted=!0,t.forEach(function(n){return n()})}},Im=l.unstable_scheduleCallback,tg=l.unstable_NormalPriority,Yt={$$typeof:j,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Jr(){return{controller:new Pm,data:new Map,refCount:0}}function va(t){t.refCount--,t.refCount===0&&Im(tg,function(){t.controller.abort()})}var pa=null,kr=0,Tl=0,wl=null;function eg(t,e){if(pa===null){var n=pa=[];kr=0,Tl=Fc(),wl={status:"pending",value:void 0,then:function(a){n.push(a)}}}return kr++,e.then(oo,oo),e}function oo(){if(--kr===0&&pa!==null){wl!==null&&(wl.status="fulfilled");var t=pa;pa=null,Tl=0,wl=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function ng(t,e){var n=[],a={status:"pending",value:null,reason:null,then:function(i){n.push(i)}};return t.then(function(){a.status="fulfilled",a.value=e;for(var i=0;i<n.length;i++)(0,n[i])(e)},function(i){for(a.status="rejected",a.reason=i,i=0;i<n.length;i++)(0,n[i])(void 0)}),a}var ho=C.S;C.S=function(t,e){typeof e=="object"&&e!==null&&typeof e.then=="function"&&eg(t,e),ho!==null&&ho(t,e)};var kn=G(null);function $r(){var t=kn.current;return t!==null?t:xt.pooledCache}function Yu(t,e){e===null?Z(kn,kn.current):Z(kn,e.pool)}function yo(){var t=$r();return t===null?null:{parent:Yt._currentValue,pool:t}}var ba=Error(c(460)),mo=Error(c(474)),Lu=Error(c(542)),Fr={then:function(){}};function go(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Xu(){}function vo(t,e,n){switch(n=t[n],n===void 0?t.push(e):n!==e&&(e.then(Xu,Xu),e=n),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,bo(t),t;default:if(typeof e.status=="string")e.then(Xu,Xu);else{if(t=xt,t!==null&&100<t.shellSuspendCounter)throw Error(c(482));t=e,t.status="pending",t.then(function(a){if(e.status==="pending"){var i=e;i.status="fulfilled",i.value=a}},function(a){if(e.status==="pending"){var i=e;i.status="rejected",i.reason=a}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,bo(t),t}throw Sa=e,ba}}var Sa=null;function po(){if(Sa===null)throw Error(c(459));var t=Sa;return Sa=null,t}function bo(t){if(t===ba||t===Lu)throw Error(c(483))}var mn=!1;function Wr(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Pr(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function gn(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function vn(t,e,n){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(gt&2)!==0){var i=a.pending;return i===null?e.next=e:(e.next=i.next,i.next=e),a.pending=e,e=zu(t),ao(t,null,n),e}return Du(t,a,e,n),zu(t)}function _a(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194048)!==0)){var a=e.lanes;a&=t.pendingLanes,n|=a,e.lanes=n,os(t,n)}}function Ir(t,e){var n=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var i=null,f=null;if(n=n.firstBaseUpdate,n!==null){do{var d={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};f===null?i=f=d:f=f.next=d,n=n.next}while(n!==null);f===null?i=f=e:f=f.next=e}else i=f=e;n={baseState:a.baseState,firstBaseUpdate:i,lastBaseUpdate:f,shared:a.shared,callbacks:a.callbacks},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}var tc=!1;function xa(){if(tc){var t=wl;if(t!==null)throw t}}function Ea(t,e,n,a){tc=!1;var i=t.updateQueue;mn=!1;var f=i.firstBaseUpdate,d=i.lastBaseUpdate,m=i.shared.pending;if(m!==null){i.shared.pending=null;var b=m,N=b.next;b.next=null,d===null?f=N:d.next=N,d=b;var q=t.alternate;q!==null&&(q=q.updateQueue,m=q.lastBaseUpdate,m!==d&&(m===null?q.firstBaseUpdate=N:m.next=N,q.lastBaseUpdate=b))}if(f!==null){var L=i.baseState;d=0,q=N=b=null,m=f;do{var M=m.lane&-536870913,U=M!==m.lane;if(U?(ot&M)===M:(a&M)===M){M!==0&&M===Tl&&(tc=!0),q!==null&&(q=q.next={lane:0,tag:m.tag,payload:m.payload,callback:null,next:null});t:{var nt=t,tt=m;M=e;var St=n;switch(tt.tag){case 1:if(nt=tt.payload,typeof nt=="function"){L=nt.call(St,L,M);break t}L=nt;break t;case 3:nt.flags=nt.flags&-65537|128;case 0:if(nt=tt.payload,M=typeof nt=="function"?nt.call(St,L,M):nt,M==null)break t;L=p({},L,M);break t;case 2:mn=!0}}M=m.callback,M!==null&&(t.flags|=64,U&&(t.flags|=8192),U=i.callbacks,U===null?i.callbacks=[M]:U.push(M))}else U={lane:M,tag:m.tag,payload:m.payload,callback:m.callback,next:null},q===null?(N=q=U,b=L):q=q.next=U,d|=M;if(m=m.next,m===null){if(m=i.shared.pending,m===null)break;U=m,m=U.next,U.next=null,i.lastBaseUpdate=U,i.shared.pending=null}}while(!0);q===null&&(b=L),i.baseState=b,i.firstBaseUpdate=N,i.lastBaseUpdate=q,f===null&&(i.shared.lanes=0),Tn|=d,t.lanes=d,t.memoizedState=L}}function So(t,e){if(typeof t!="function")throw Error(c(191,t));t.call(e)}function _o(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;t<n.length;t++)So(n[t],e)}var Rl=G(null),ju=G(0);function xo(t,e){t=un,Z(ju,t),Z(Rl,e),un=t|e.baseLanes}function ec(){Z(ju,un),Z(Rl,Rl.current)}function nc(){un=ju.current,K(Rl),K(ju)}var pn=0,rt=null,pt=null,Ct=null,Gu=!1,Ol=!1,$n=!1,Qu=0,Aa=0,Nl=null,lg=0;function zt(){throw Error(c(321))}function lc(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!oe(t[n],e[n]))return!1;return!0}function ac(t,e,n,a,i,f){return pn=f,rt=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,C.H=t===null||t.memoizedState===null?uh:ih,$n=!1,f=n(a,i),$n=!1,Ol&&(f=Ao(e,n,a,i)),Eo(t),f}function Eo(t){C.H=$u;var e=pt!==null&&pt.next!==null;if(pn=0,Ct=pt=rt=null,Gu=!1,Aa=0,Nl=null,e)throw Error(c(300));t===null||Gt||(t=t.dependencies,t!==null&&qu(t)&&(Gt=!0))}function Ao(t,e,n,a){rt=t;var i=0;do{if(Ol&&(Nl=null),Aa=0,Ol=!1,25<=i)throw Error(c(301));if(i+=1,Ct=pt=null,t.updateQueue!=null){var f=t.updateQueue;f.lastEffect=null,f.events=null,f.stores=null,f.memoCache!=null&&(f.memoCache.index=0)}C.H=sg,f=e(n,a)}while(Ol);return f}function ag(){var t=C.H,e=t.useState()[0];return e=typeof e.then=="function"?Ta(e):e,t=t.useState()[0],(pt!==null?pt.memoizedState:null)!==t&&(rt.flags|=1024),e}function uc(){var t=Qu!==0;return Qu=0,t}function ic(t,e,n){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~n}function rc(t){if(Gu){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}Gu=!1}pn=0,Ct=pt=rt=null,Ol=!1,Aa=Qu=0,Nl=null}function le(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ct===null?rt.memoizedState=Ct=t:Ct=Ct.next=t,Ct}function qt(){if(pt===null){var t=rt.alternate;t=t!==null?t.memoizedState:null}else t=pt.next;var e=Ct===null?rt.memoizedState:Ct.next;if(e!==null)Ct=e,pt=t;else{if(t===null)throw rt.alternate===null?Error(c(467)):Error(c(310));pt=t,t={memoizedState:pt.memoizedState,baseState:pt.baseState,baseQueue:pt.baseQueue,queue:pt.queue,next:null},Ct===null?rt.memoizedState=Ct=t:Ct=Ct.next=t}return Ct}function cc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ta(t){var e=Aa;return Aa+=1,Nl===null&&(Nl=[]),t=vo(Nl,t,e),e=rt,(Ct===null?e.memoizedState:Ct.next)===null&&(e=e.alternate,C.H=e===null||e.memoizedState===null?uh:ih),t}function Vu(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Ta(t);if(t.$$typeof===j)return $t(t)}throw Error(c(438,String(t)))}function fc(t){var e=null,n=rt.updateQueue;if(n!==null&&(e=n.memoCache),e==null){var a=rt.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(e={data:a.data.map(function(i){return i.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),n===null&&(n=cc(),rt.updateQueue=n),n.memoCache=e,n=e.data[e.index],n===void 0)for(n=e.data[e.index]=Array(t),a=0;a<t;a++)n[a]=Dt;return e.index++,n}function Ie(t,e){return typeof e=="function"?e(t):e}function Zu(t){var e=qt();return sc(e,pt,t)}function sc(t,e,n){var a=t.queue;if(a===null)throw Error(c(311));a.lastRenderedReducer=n;var i=t.baseQueue,f=a.pending;if(f!==null){if(i!==null){var d=i.next;i.next=f.next,f.next=d}e.baseQueue=i=f,a.pending=null}if(f=t.baseState,i===null)t.memoizedState=f;else{e=i.next;var m=d=null,b=null,N=e,q=!1;do{var L=N.lane&-536870913;if(L!==N.lane?(ot&L)===L:(pn&L)===L){var M=N.revertLane;if(M===0)b!==null&&(b=b.next={lane:0,revertLane:0,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null}),L===Tl&&(q=!0);else if((pn&M)===M){N=N.next,M===Tl&&(q=!0);continue}else L={lane:0,revertLane:N.revertLane,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null},b===null?(m=b=L,d=f):b=b.next=L,rt.lanes|=M,Tn|=M;L=N.action,$n&&n(f,L),f=N.hasEagerState?N.eagerState:n(f,L)}else M={lane:L,revertLane:N.revertLane,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null},b===null?(m=b=M,d=f):b=b.next=M,rt.lanes|=L,Tn|=L;N=N.next}while(N!==null&&N!==e);if(b===null?d=f:b.next=m,!oe(f,t.memoizedState)&&(Gt=!0,q&&(n=wl,n!==null)))throw n;t.memoizedState=f,t.baseState=d,t.baseQueue=b,a.lastRenderedState=f}return i===null&&(a.lanes=0),[t.memoizedState,a.dispatch]}function oc(t){var e=qt(),n=e.queue;if(n===null)throw Error(c(311));n.lastRenderedReducer=t;var a=n.dispatch,i=n.pending,f=e.memoizedState;if(i!==null){n.pending=null;var d=i=i.next;do f=t(f,d.action),d=d.next;while(d!==i);oe(f,e.memoizedState)||(Gt=!0),e.memoizedState=f,e.baseQueue===null&&(e.baseState=f),n.lastRenderedState=f}return[f,a]}function To(t,e,n){var a=rt,i=qt(),f=yt;if(f){if(n===void 0)throw Error(c(407));n=n()}else n=e();var d=!oe((pt||i).memoizedState,n);d&&(i.memoizedState=n,Gt=!0),i=i.queue;var m=Oo.bind(null,a,i,t);if(wa(2048,8,m,[t]),i.getSnapshot!==e||d||Ct!==null&&Ct.memoizedState.tag&1){if(a.flags|=2048,Ml(9,Ku(),Ro.bind(null,a,i,n,e),null),xt===null)throw Error(c(349));f||(pn&124)!==0||wo(a,e,n)}return n}function wo(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=rt.updateQueue,e===null?(e=cc(),rt.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}function Ro(t,e,n,a){e.value=n,e.getSnapshot=a,No(e)&&Mo(t)}function Oo(t,e,n){return n(function(){No(e)&&Mo(t)})}function No(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!oe(t,n)}catch{return!0}}function Mo(t){var e=_l(t,2);e!==null&&ve(e,t,2)}function hc(t){var e=le();if(typeof t=="function"){var n=t;if(t=n(),$n){on(!0);try{n()}finally{on(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ie,lastRenderedState:t},e}function Do(t,e,n,a){return t.baseState=n,sc(t,pt,typeof a=="function"?a:Ie)}function ug(t,e,n,a,i){if(ku(t))throw Error(c(485));if(t=e.action,t!==null){var f={payload:i,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(d){f.listeners.push(d)}};C.T!==null?n(!0):f.isTransition=!1,a(f),n=e.pending,n===null?(f.next=e.pending=f,zo(e,f)):(f.next=n.next,e.pending=n.next=f)}}function zo(t,e){var n=e.action,a=e.payload,i=t.state;if(e.isTransition){var f=C.T,d={};C.T=d;try{var m=n(i,a),b=C.S;b!==null&&b(d,m),Uo(t,e,m)}catch(N){dc(t,e,N)}finally{C.T=f}}else try{f=n(i,a),Uo(t,e,f)}catch(N){dc(t,e,N)}}function Uo(t,e,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(a){Ho(t,e,a)},function(a){return dc(t,e,a)}):Ho(t,e,n)}function Ho(t,e,n){e.status="fulfilled",e.value=n,Co(e),t.state=n,e=t.pending,e!==null&&(n=e.next,n===e?t.pending=null:(n=n.next,e.next=n,zo(t,n)))}function dc(t,e,n){var a=t.pending;if(t.pending=null,a!==null){a=a.next;do e.status="rejected",e.reason=n,Co(e),e=e.next;while(e!==a)}t.action=null}function Co(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function qo(t,e){return e}function Bo(t,e){if(yt){var n=xt.formState;if(n!==null){t:{var a=rt;if(yt){if(Ot){e:{for(var i=Ot,f=Ye;i.nodeType!==8;){if(!f){i=null;break e}if(i=ze(i.nextSibling),i===null){i=null;break e}}f=i.data,i=f==="F!"||f==="F"?i:null}if(i){Ot=ze(i.nextSibling),a=i.data==="F!";break t}}Zn(a)}a=!1}a&&(e=n[0])}}return n=le(),n.memoizedState=n.baseState=e,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:qo,lastRenderedState:e},n.queue=a,n=nh.bind(null,rt,a),a.dispatch=n,a=hc(!1),f=pc.bind(null,rt,!1,a.queue),a=le(),i={state:e,dispatch:null,action:t,pending:null},a.queue=i,n=ug.bind(null,rt,i,f,n),i.dispatch=n,a.memoizedState=t,[e,n,!1]}function Yo(t){var e=qt();return Lo(e,pt,t)}function Lo(t,e,n){if(e=sc(t,e,qo)[0],t=Zu(Ie)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var a=Ta(e)}catch(d){throw d===ba?Lu:d}else a=e;e=qt();var i=e.queue,f=i.dispatch;return n!==e.memoizedState&&(rt.flags|=2048,Ml(9,Ku(),ig.bind(null,i,n),null)),[a,f,t]}function ig(t,e){t.action=e}function Xo(t){var e=qt(),n=pt;if(n!==null)return Lo(e,n,t);qt(),e=e.memoizedState,n=qt();var a=n.queue.dispatch;return n.memoizedState=t,[e,a,!1]}function Ml(t,e,n,a){return t={tag:t,create:n,deps:a,inst:e,next:null},e=rt.updateQueue,e===null&&(e=cc(),rt.updateQueue=e),n=e.lastEffect,n===null?e.lastEffect=t.next=t:(a=n.next,n.next=t,t.next=a,e.lastEffect=t),t}function Ku(){return{destroy:void 0,resource:void 0}}function jo(){return qt().memoizedState}function Ju(t,e,n,a){var i=le();a=a===void 0?null:a,rt.flags|=t,i.memoizedState=Ml(1|e,Ku(),n,a)}function wa(t,e,n,a){var i=qt();a=a===void 0?null:a;var f=i.memoizedState.inst;pt!==null&&a!==null&&lc(a,pt.memoizedState.deps)?i.memoizedState=Ml(e,f,n,a):(rt.flags|=t,i.memoizedState=Ml(1|e,f,n,a))}function Go(t,e){Ju(8390656,8,t,e)}function Qo(t,e){wa(2048,8,t,e)}function Vo(t,e){return wa(4,2,t,e)}function Zo(t,e){return wa(4,4,t,e)}function Ko(t,e){if(typeof e=="function"){t=t();var n=e(t);return function(){typeof n=="function"?n():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function Jo(t,e,n){n=n!=null?n.concat([t]):null,wa(4,4,Ko.bind(null,e,t),n)}function yc(){}function ko(t,e){var n=qt();e=e===void 0?null:e;var a=n.memoizedState;return e!==null&&lc(e,a[1])?a[0]:(n.memoizedState=[t,e],t)}function $o(t,e){var n=qt();e=e===void 0?null:e;var a=n.memoizedState;if(e!==null&&lc(e,a[1]))return a[0];if(a=t(),$n){on(!0);try{t()}finally{on(!1)}}return n.memoizedState=[a,e],a}function mc(t,e,n){return n===void 0||(pn&1073741824)!==0?t.memoizedState=e:(t.memoizedState=n,t=Ph(),rt.lanes|=t,Tn|=t,n)}function Fo(t,e,n,a){return oe(n,e)?n:Rl.current!==null?(t=mc(t,n,a),oe(t,e)||(Gt=!0),t):(pn&42)===0?(Gt=!0,t.memoizedState=n):(t=Ph(),rt.lanes|=t,Tn|=t,e)}function Wo(t,e,n,a,i){var f=V.p;V.p=f!==0&&8>f?f:8;var d=C.T,m={};C.T=m,pc(t,!1,e,n);try{var b=i(),N=C.S;if(N!==null&&N(m,b),b!==null&&typeof b=="object"&&typeof b.then=="function"){var q=ng(b,a);Ra(t,e,q,ge(t))}else Ra(t,e,a,ge(t))}catch(L){Ra(t,e,{then:function(){},status:"rejected",reason:L},ge())}finally{V.p=f,C.T=d}}function rg(){}function gc(t,e,n,a){if(t.tag!==5)throw Error(c(476));var i=Po(t).queue;Wo(t,i,e,P,n===null?rg:function(){return Io(t),n(a)})}function Po(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:P,baseState:P,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ie,lastRenderedState:P},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ie,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Io(t){var e=Po(t).next.queue;Ra(t,e,{},ge())}function vc(){return $t(Za)}function th(){return qt().memoizedState}function eh(){return qt().memoizedState}function cg(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=ge();t=gn(n);var a=vn(e,t,n);a!==null&&(ve(a,e,n),_a(a,e,n)),e={cache:Jr()},t.payload=e;return}e=e.return}}function fg(t,e,n){var a=ge();n={lane:a,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},ku(t)?lh(e,n):(n=Br(t,e,n,a),n!==null&&(ve(n,t,a),ah(n,e,a)))}function nh(t,e,n){var a=ge();Ra(t,e,n,a)}function Ra(t,e,n,a){var i={lane:a,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(ku(t))lh(e,i);else{var f=t.alternate;if(t.lanes===0&&(f===null||f.lanes===0)&&(f=e.lastRenderedReducer,f!==null))try{var d=e.lastRenderedState,m=f(d,n);if(i.hasEagerState=!0,i.eagerState=m,oe(m,d))return Du(t,e,i,0),xt===null&&Mu(),!1}catch{}finally{}if(n=Br(t,e,i,a),n!==null)return ve(n,t,a),ah(n,e,a),!0}return!1}function pc(t,e,n,a){if(a={lane:2,revertLane:Fc(),action:a,hasEagerState:!1,eagerState:null,next:null},ku(t)){if(e)throw Error(c(479))}else e=Br(t,n,a,2),e!==null&&ve(e,t,2)}function ku(t){var e=t.alternate;return t===rt||e!==null&&e===rt}function lh(t,e){Ol=Gu=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function ah(t,e,n){if((n&4194048)!==0){var a=e.lanes;a&=t.pendingLanes,n|=a,e.lanes=n,os(t,n)}}var $u={readContext:$t,use:Vu,useCallback:zt,useContext:zt,useEffect:zt,useImperativeHandle:zt,useLayoutEffect:zt,useInsertionEffect:zt,useMemo:zt,useReducer:zt,useRef:zt,useState:zt,useDebugValue:zt,useDeferredValue:zt,useTransition:zt,useSyncExternalStore:zt,useId:zt,useHostTransitionStatus:zt,useFormState:zt,useActionState:zt,useOptimistic:zt,useMemoCache:zt,useCacheRefresh:zt},uh={readContext:$t,use:Vu,useCallback:function(t,e){return le().memoizedState=[t,e===void 0?null:e],t},useContext:$t,useEffect:Go,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,Ju(4194308,4,Ko.bind(null,e,t),n)},useLayoutEffect:function(t,e){return Ju(4194308,4,t,e)},useInsertionEffect:function(t,e){Ju(4,2,t,e)},useMemo:function(t,e){var n=le();e=e===void 0?null:e;var a=t();if($n){on(!0);try{t()}finally{on(!1)}}return n.memoizedState=[a,e],a},useReducer:function(t,e,n){var a=le();if(n!==void 0){var i=n(e);if($n){on(!0);try{n(e)}finally{on(!1)}}}else i=e;return a.memoizedState=a.baseState=i,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:i},a.queue=t,t=t.dispatch=fg.bind(null,rt,t),[a.memoizedState,t]},useRef:function(t){var e=le();return t={current:t},e.memoizedState=t},useState:function(t){t=hc(t);var e=t.queue,n=nh.bind(null,rt,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:yc,useDeferredValue:function(t,e){var n=le();return mc(n,t,e)},useTransition:function(){var t=hc(!1);return t=Wo.bind(null,rt,t.queue,!0,!1),le().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var a=rt,i=le();if(yt){if(n===void 0)throw Error(c(407));n=n()}else{if(n=e(),xt===null)throw Error(c(349));(ot&124)!==0||wo(a,e,n)}i.memoizedState=n;var f={value:n,getSnapshot:e};return i.queue=f,Go(Oo.bind(null,a,f,t),[t]),a.flags|=2048,Ml(9,Ku(),Ro.bind(null,a,f,n,e),null),n},useId:function(){var t=le(),e=xt.identifierPrefix;if(yt){var n=Fe,a=$e;n=(a&~(1<<32-se(a)-1)).toString(32)+n,e="«"+e+"R"+n,n=Qu++,0<n&&(e+="H"+n.toString(32)),e+="»"}else n=lg++,e="«"+e+"r"+n.toString(32)+"»";return t.memoizedState=e},useHostTransitionStatus:vc,useFormState:Bo,useActionState:Bo,useOptimistic:function(t){var e=le();e.memoizedState=e.baseState=t;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=n,e=pc.bind(null,rt,!0,n),n.dispatch=e,[t,e]},useMemoCache:fc,useCacheRefresh:function(){return le().memoizedState=cg.bind(null,rt)}},ih={readContext:$t,use:Vu,useCallback:ko,useContext:$t,useEffect:Qo,useImperativeHandle:Jo,useInsertionEffect:Vo,useLayoutEffect:Zo,useMemo:$o,useReducer:Zu,useRef:jo,useState:function(){return Zu(Ie)},useDebugValue:yc,useDeferredValue:function(t,e){var n=qt();return Fo(n,pt.memoizedState,t,e)},useTransition:function(){var t=Zu(Ie)[0],e=qt().memoizedState;return[typeof t=="boolean"?t:Ta(t),e]},useSyncExternalStore:To,useId:th,useHostTransitionStatus:vc,useFormState:Yo,useActionState:Yo,useOptimistic:function(t,e){var n=qt();return Do(n,pt,t,e)},useMemoCache:fc,useCacheRefresh:eh},sg={readContext:$t,use:Vu,useCallback:ko,useContext:$t,useEffect:Qo,useImperativeHandle:Jo,useInsertionEffect:Vo,useLayoutEffect:Zo,useMemo:$o,useReducer:oc,useRef:jo,useState:function(){return oc(Ie)},useDebugValue:yc,useDeferredValue:function(t,e){var n=qt();return pt===null?mc(n,t,e):Fo(n,pt.memoizedState,t,e)},useTransition:function(){var t=oc(Ie)[0],e=qt().memoizedState;return[typeof t=="boolean"?t:Ta(t),e]},useSyncExternalStore:To,useId:th,useHostTransitionStatus:vc,useFormState:Xo,useActionState:Xo,useOptimistic:function(t,e){var n=qt();return pt!==null?Do(n,pt,t,e):(n.baseState=t,[t,n.queue.dispatch])},useMemoCache:fc,useCacheRefresh:eh},Dl=null,Oa=0;function Fu(t){var e=Oa;return Oa+=1,Dl===null&&(Dl=[]),vo(Dl,t,e)}function Na(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function Wu(t,e){throw e.$$typeof===x?Error(c(525)):(t=Object.prototype.toString.call(e),Error(c(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function rh(t){var e=t._init;return e(t._payload)}function ch(t){function e(T,_){if(t){var R=T.deletions;R===null?(T.deletions=[_],T.flags|=16):R.push(_)}}function n(T,_){if(!t)return null;for(;_!==null;)e(T,_),_=_.sibling;return null}function a(T){for(var _=new Map;T!==null;)T.key!==null?_.set(T.key,T):_.set(T.index,T),T=T.sibling;return _}function i(T,_){return T=ke(T,_),T.index=0,T.sibling=null,T}function f(T,_,R){return T.index=R,t?(R=T.alternate,R!==null?(R=R.index,R<_?(T.flags|=67108866,_):R):(T.flags|=67108866,_)):(T.flags|=1048576,_)}function d(T){return t&&T.alternate===null&&(T.flags|=67108866),T}function m(T,_,R,B){return _===null||_.tag!==6?(_=Lr(R,T.mode,B),_.return=T,_):(_=i(_,R),_.return=T,_)}function b(T,_,R,B){var k=R.type;return k===z?q(T,_,R.props.children,B,R.key):_!==null&&(_.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===F&&rh(k)===_.type)?(_=i(_,R.props),Na(_,R),_.return=T,_):(_=Uu(R.type,R.key,R.props,null,T.mode,B),Na(_,R),_.return=T,_)}function N(T,_,R,B){return _===null||_.tag!==4||_.stateNode.containerInfo!==R.containerInfo||_.stateNode.implementation!==R.implementation?(_=Xr(R,T.mode,B),_.return=T,_):(_=i(_,R.children||[]),_.return=T,_)}function q(T,_,R,B,k){return _===null||_.tag!==7?(_=jn(R,T.mode,B,k),_.return=T,_):(_=i(_,R),_.return=T,_)}function L(T,_,R){if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return _=Lr(""+_,T.mode,R),_.return=T,_;if(typeof _=="object"&&_!==null){switch(_.$$typeof){case w:return R=Uu(_.type,_.key,_.props,null,T.mode,R),Na(R,_),R.return=T,R;case E:return _=Xr(_,T.mode,R),_.return=T,_;case F:var B=_._init;return _=B(_._payload),L(T,_,R)}if(Xt(_)||Bt(_))return _=jn(_,T.mode,R,null),_.return=T,_;if(typeof _.then=="function")return L(T,Fu(_),R);if(_.$$typeof===j)return L(T,Bu(T,_),R);Wu(T,_)}return null}function M(T,_,R,B){var k=_!==null?_.key:null;if(typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint")return k!==null?null:m(T,_,""+R,B);if(typeof R=="object"&&R!==null){switch(R.$$typeof){case w:return R.key===k?b(T,_,R,B):null;case E:return R.key===k?N(T,_,R,B):null;case F:return k=R._init,R=k(R._payload),M(T,_,R,B)}if(Xt(R)||Bt(R))return k!==null?null:q(T,_,R,B,null);if(typeof R.then=="function")return M(T,_,Fu(R),B);if(R.$$typeof===j)return M(T,_,Bu(T,R),B);Wu(T,R)}return null}function U(T,_,R,B,k){if(typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint")return T=T.get(R)||null,m(_,T,""+B,k);if(typeof B=="object"&&B!==null){switch(B.$$typeof){case w:return T=T.get(B.key===null?R:B.key)||null,b(_,T,B,k);case E:return T=T.get(B.key===null?R:B.key)||null,N(_,T,B,k);case F:var ct=B._init;return B=ct(B._payload),U(T,_,R,B,k)}if(Xt(B)||Bt(B))return T=T.get(R)||null,q(_,T,B,k,null);if(typeof B.then=="function")return U(T,_,R,Fu(B),k);if(B.$$typeof===j)return U(T,_,R,Bu(_,B),k);Wu(_,B)}return null}function nt(T,_,R,B){for(var k=null,ct=null,W=_,et=_=0,Vt=null;W!==null&&et<R.length;et++){W.index>et?(Vt=W,W=null):Vt=W.sibling;var dt=M(T,W,R[et],B);if(dt===null){W===null&&(W=Vt);break}t&&W&&dt.alternate===null&&e(T,W),_=f(dt,_,et),ct===null?k=dt:ct.sibling=dt,ct=dt,W=Vt}if(et===R.length)return n(T,W),yt&&Qn(T,et),k;if(W===null){for(;et<R.length;et++)W=L(T,R[et],B),W!==null&&(_=f(W,_,et),ct===null?k=W:ct.sibling=W,ct=W);return yt&&Qn(T,et),k}for(W=a(W);et<R.length;et++)Vt=U(W,T,et,R[et],B),Vt!==null&&(t&&Vt.alternate!==null&&W.delete(Vt.key===null?et:Vt.key),_=f(Vt,_,et),ct===null?k=Vt:ct.sibling=Vt,ct=Vt);return t&&W.forEach(function(Hn){return e(T,Hn)}),yt&&Qn(T,et),k}function tt(T,_,R,B){if(R==null)throw Error(c(151));for(var k=null,ct=null,W=_,et=_=0,Vt=null,dt=R.next();W!==null&&!dt.done;et++,dt=R.next()){W.index>et?(Vt=W,W=null):Vt=W.sibling;var Hn=M(T,W,dt.value,B);if(Hn===null){W===null&&(W=Vt);break}t&&W&&Hn.alternate===null&&e(T,W),_=f(Hn,_,et),ct===null?k=Hn:ct.sibling=Hn,ct=Hn,W=Vt}if(dt.done)return n(T,W),yt&&Qn(T,et),k;if(W===null){for(;!dt.done;et++,dt=R.next())dt=L(T,dt.value,B),dt!==null&&(_=f(dt,_,et),ct===null?k=dt:ct.sibling=dt,ct=dt);return yt&&Qn(T,et),k}for(W=a(W);!dt.done;et++,dt=R.next())dt=U(W,T,et,dt.value,B),dt!==null&&(t&&dt.alternate!==null&&W.delete(dt.key===null?et:dt.key),_=f(dt,_,et),ct===null?k=dt:ct.sibling=dt,ct=dt);return t&&W.forEach(function(ov){return e(T,ov)}),yt&&Qn(T,et),k}function St(T,_,R,B){if(typeof R=="object"&&R!==null&&R.type===z&&R.key===null&&(R=R.props.children),typeof R=="object"&&R!==null){switch(R.$$typeof){case w:t:{for(var k=R.key;_!==null;){if(_.key===k){if(k=R.type,k===z){if(_.tag===7){n(T,_.sibling),B=i(_,R.props.children),B.return=T,T=B;break t}}else if(_.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===F&&rh(k)===_.type){n(T,_.sibling),B=i(_,R.props),Na(B,R),B.return=T,T=B;break t}n(T,_);break}else e(T,_);_=_.sibling}R.type===z?(B=jn(R.props.children,T.mode,B,R.key),B.return=T,T=B):(B=Uu(R.type,R.key,R.props,null,T.mode,B),Na(B,R),B.return=T,T=B)}return d(T);case E:t:{for(k=R.key;_!==null;){if(_.key===k)if(_.tag===4&&_.stateNode.containerInfo===R.containerInfo&&_.stateNode.implementation===R.implementation){n(T,_.sibling),B=i(_,R.children||[]),B.return=T,T=B;break t}else{n(T,_);break}else e(T,_);_=_.sibling}B=Xr(R,T.mode,B),B.return=T,T=B}return d(T);case F:return k=R._init,R=k(R._payload),St(T,_,R,B)}if(Xt(R))return nt(T,_,R,B);if(Bt(R)){if(k=Bt(R),typeof k!="function")throw Error(c(150));return R=k.call(R),tt(T,_,R,B)}if(typeof R.then=="function")return St(T,_,Fu(R),B);if(R.$$typeof===j)return St(T,_,Bu(T,R),B);Wu(T,R)}return typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint"?(R=""+R,_!==null&&_.tag===6?(n(T,_.sibling),B=i(_,R),B.return=T,T=B):(n(T,_),B=Lr(R,T.mode,B),B.return=T,T=B),d(T)):n(T,_)}return function(T,_,R,B){try{Oa=0;var k=St(T,_,R,B);return Dl=null,k}catch(W){if(W===ba||W===Lu)throw W;var ct=he(29,W,null,T.mode);return ct.lanes=B,ct.return=T,ct}finally{}}}var zl=ch(!0),fh=ch(!1),Re=G(null),Le=null;function bn(t){var e=t.alternate;Z(Lt,Lt.current&1),Z(Re,t),Le===null&&(e===null||Rl.current!==null||e.memoizedState!==null)&&(Le=t)}function sh(t){if(t.tag===22){if(Z(Lt,Lt.current),Z(Re,t),Le===null){var e=t.alternate;e!==null&&e.memoizedState!==null&&(Le=t)}}else Sn()}function Sn(){Z(Lt,Lt.current),Z(Re,Re.current)}function tn(t){K(Re),Le===t&&(Le=null),K(Lt)}var Lt=G(0);function Pu(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||ff(n)))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function bc(t,e,n,a){e=t.memoizedState,n=n(a,e),n=n==null?e:p({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}var Sc={enqueueSetState:function(t,e,n){t=t._reactInternals;var a=ge(),i=gn(a);i.payload=e,n!=null&&(i.callback=n),e=vn(t,i,a),e!==null&&(ve(e,t,a),_a(e,t,a))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var a=ge(),i=gn(a);i.tag=1,i.payload=e,n!=null&&(i.callback=n),e=vn(t,i,a),e!==null&&(ve(e,t,a),_a(e,t,a))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=ge(),a=gn(n);a.tag=2,e!=null&&(a.callback=e),e=vn(t,a,n),e!==null&&(ve(e,t,n),_a(e,t,n))}};function oh(t,e,n,a,i,f,d){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(a,f,d):e.prototype&&e.prototype.isPureReactComponent?!oa(n,a)||!oa(i,f):!0}function hh(t,e,n,a){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(n,a),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(n,a),e.state!==t&&Sc.enqueueReplaceState(e,e.state,null)}function Fn(t,e){var n=e;if("ref"in e){n={};for(var a in e)a!=="ref"&&(n[a]=e[a])}if(t=t.defaultProps){n===e&&(n=p({},n));for(var i in t)n[i]===void 0&&(n[i]=t[i])}return n}var Iu=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)};function dh(t){Iu(t)}function yh(t){console.error(t)}function mh(t){Iu(t)}function ti(t,e){try{var n=t.onUncaughtError;n(e.value,{componentStack:e.stack})}catch(a){setTimeout(function(){throw a})}}function gh(t,e,n){try{var a=t.onCaughtError;a(n.value,{componentStack:n.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(i){setTimeout(function(){throw i})}}function _c(t,e,n){return n=gn(n),n.tag=3,n.payload={element:null},n.callback=function(){ti(t,e)},n}function vh(t){return t=gn(t),t.tag=3,t}function ph(t,e,n,a){var i=n.type.getDerivedStateFromError;if(typeof i=="function"){var f=a.value;t.payload=function(){return i(f)},t.callback=function(){gh(e,n,a)}}var d=n.stateNode;d!==null&&typeof d.componentDidCatch=="function"&&(t.callback=function(){gh(e,n,a),typeof i!="function"&&(wn===null?wn=new Set([this]):wn.add(this));var m=a.stack;this.componentDidCatch(a.value,{componentStack:m!==null?m:""})})}function og(t,e,n,a,i){if(n.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(e=n.alternate,e!==null&&ga(e,n,i,!0),n=Re.current,n!==null){switch(n.tag){case 13:return Le===null?Zc():n.alternate===null&&Nt===0&&(Nt=3),n.flags&=-257,n.flags|=65536,n.lanes=i,a===Fr?n.flags|=16384:(e=n.updateQueue,e===null?n.updateQueue=new Set([a]):e.add(a),Jc(t,a,i)),!1;case 22:return n.flags|=65536,a===Fr?n.flags|=16384:(e=n.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([a])},n.updateQueue=e):(n=e.retryQueue,n===null?e.retryQueue=new Set([a]):n.add(a)),Jc(t,a,i)),!1}throw Error(c(435,n.tag))}return Jc(t,a,i),Zc(),!1}if(yt)return e=Re.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=i,a!==Qr&&(t=Error(c(422),{cause:a}),ma(Ee(t,n)))):(a!==Qr&&(e=Error(c(423),{cause:a}),ma(Ee(e,n))),t=t.current.alternate,t.flags|=65536,i&=-i,t.lanes|=i,a=Ee(a,n),i=_c(t.stateNode,a,i),Ir(t,i),Nt!==4&&(Nt=2)),!1;var f=Error(c(520),{cause:a});if(f=Ee(f,n),qa===null?qa=[f]:qa.push(f),Nt!==4&&(Nt=2),e===null)return!0;a=Ee(a,n),n=e;do{switch(n.tag){case 3:return n.flags|=65536,t=i&-i,n.lanes|=t,t=_c(n.stateNode,a,t),Ir(n,t),!1;case 1:if(e=n.type,f=n.stateNode,(n.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(wn===null||!wn.has(f))))return n.flags|=65536,i&=-i,n.lanes|=i,i=vh(i),ph(i,t,n,a),Ir(n,i),!1}n=n.return}while(n!==null);return!1}var bh=Error(c(461)),Gt=!1;function Zt(t,e,n,a){e.child=t===null?fh(e,null,n,a):zl(e,t.child,n,a)}function Sh(t,e,n,a,i){n=n.render;var f=e.ref;if("ref"in a){var d={};for(var m in a)m!=="ref"&&(d[m]=a[m])}else d=a;return Jn(e),a=ac(t,e,n,d,f,i),m=uc(),t!==null&&!Gt?(ic(t,e,i),en(t,e,i)):(yt&&m&&jr(e),e.flags|=1,Zt(t,e,a,i),e.child)}function _h(t,e,n,a,i){if(t===null){var f=n.type;return typeof f=="function"&&!Yr(f)&&f.defaultProps===void 0&&n.compare===null?(e.tag=15,e.type=f,xh(t,e,f,a,i)):(t=Uu(n.type,null,a,e,e.mode,i),t.ref=e.ref,t.return=e,e.child=t)}if(f=t.child,!Nc(t,i)){var d=f.memoizedProps;if(n=n.compare,n=n!==null?n:oa,n(d,a)&&t.ref===e.ref)return en(t,e,i)}return e.flags|=1,t=ke(f,a),t.ref=e.ref,t.return=e,e.child=t}function xh(t,e,n,a,i){if(t!==null){var f=t.memoizedProps;if(oa(f,a)&&t.ref===e.ref)if(Gt=!1,e.pendingProps=a=f,Nc(t,i))(t.flags&131072)!==0&&(Gt=!0);else return e.lanes=t.lanes,en(t,e,i)}return xc(t,e,n,a,i)}function Eh(t,e,n){var a=e.pendingProps,i=a.children,f=t!==null?t.memoizedState:null;if(a.mode==="hidden"){if((e.flags&128)!==0){if(a=f!==null?f.baseLanes|n:n,t!==null){for(i=e.child=t.child,f=0;i!==null;)f=f|i.lanes|i.childLanes,i=i.sibling;e.childLanes=f&~a}else e.childLanes=0,e.child=null;return Ah(t,e,a,n)}if((n&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&Yu(e,f!==null?f.cachePool:null),f!==null?xo(e,f):ec(),sh(e);else return e.lanes=e.childLanes=536870912,Ah(t,e,f!==null?f.baseLanes|n:n,n)}else f!==null?(Yu(e,f.cachePool),xo(e,f),Sn(),e.memoizedState=null):(t!==null&&Yu(e,null),ec(),Sn());return Zt(t,e,i,n),e.child}function Ah(t,e,n,a){var i=$r();return i=i===null?null:{parent:Yt._currentValue,pool:i},e.memoizedState={baseLanes:n,cachePool:i},t!==null&&Yu(e,null),ec(),sh(e),t!==null&&ga(t,e,a,!0),null}function ei(t,e){var n=e.ref;if(n===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(c(284));(t===null||t.ref!==n)&&(e.flags|=4194816)}}function xc(t,e,n,a,i){return Jn(e),n=ac(t,e,n,a,void 0,i),a=uc(),t!==null&&!Gt?(ic(t,e,i),en(t,e,i)):(yt&&a&&jr(e),e.flags|=1,Zt(t,e,n,i),e.child)}function Th(t,e,n,a,i,f){return Jn(e),e.updateQueue=null,n=Ao(e,a,n,i),Eo(t),a=uc(),t!==null&&!Gt?(ic(t,e,f),en(t,e,f)):(yt&&a&&jr(e),e.flags|=1,Zt(t,e,n,f),e.child)}function wh(t,e,n,a,i){if(Jn(e),e.stateNode===null){var f=xl,d=n.contextType;typeof d=="object"&&d!==null&&(f=$t(d)),f=new n(a,f),e.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=Sc,e.stateNode=f,f._reactInternals=e,f=e.stateNode,f.props=a,f.state=e.memoizedState,f.refs={},Wr(e),d=n.contextType,f.context=typeof d=="object"&&d!==null?$t(d):xl,f.state=e.memoizedState,d=n.getDerivedStateFromProps,typeof d=="function"&&(bc(e,n,d,a),f.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(d=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),d!==f.state&&Sc.enqueueReplaceState(f,f.state,null),Ea(e,a,f,i),xa(),f.state=e.memoizedState),typeof f.componentDidMount=="function"&&(e.flags|=4194308),a=!0}else if(t===null){f=e.stateNode;var m=e.memoizedProps,b=Fn(n,m);f.props=b;var N=f.context,q=n.contextType;d=xl,typeof q=="object"&&q!==null&&(d=$t(q));var L=n.getDerivedStateFromProps;q=typeof L=="function"||typeof f.getSnapshotBeforeUpdate=="function",m=e.pendingProps!==m,q||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(m||N!==d)&&hh(e,f,a,d),mn=!1;var M=e.memoizedState;f.state=M,Ea(e,a,f,i),xa(),N=e.memoizedState,m||M!==N||mn?(typeof L=="function"&&(bc(e,n,L,a),N=e.memoizedState),(b=mn||oh(e,n,b,a,M,N,d))?(q||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount()),typeof f.componentDidMount=="function"&&(e.flags|=4194308)):(typeof f.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=a,e.memoizedState=N),f.props=a,f.state=N,f.context=d,a=b):(typeof f.componentDidMount=="function"&&(e.flags|=4194308),a=!1)}else{f=e.stateNode,Pr(t,e),d=e.memoizedProps,q=Fn(n,d),f.props=q,L=e.pendingProps,M=f.context,N=n.contextType,b=xl,typeof N=="object"&&N!==null&&(b=$t(N)),m=n.getDerivedStateFromProps,(N=typeof m=="function"||typeof f.getSnapshotBeforeUpdate=="function")||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(d!==L||M!==b)&&hh(e,f,a,b),mn=!1,M=e.memoizedState,f.state=M,Ea(e,a,f,i),xa();var U=e.memoizedState;d!==L||M!==U||mn||t!==null&&t.dependencies!==null&&qu(t.dependencies)?(typeof m=="function"&&(bc(e,n,m,a),U=e.memoizedState),(q=mn||oh(e,n,q,a,M,U,b)||t!==null&&t.dependencies!==null&&qu(t.dependencies))?(N||typeof f.UNSAFE_componentWillUpdate!="function"&&typeof f.componentWillUpdate!="function"||(typeof f.componentWillUpdate=="function"&&f.componentWillUpdate(a,U,b),typeof f.UNSAFE_componentWillUpdate=="function"&&f.UNSAFE_componentWillUpdate(a,U,b)),typeof f.componentDidUpdate=="function"&&(e.flags|=4),typeof f.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof f.componentDidUpdate!="function"||d===t.memoizedProps&&M===t.memoizedState||(e.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||d===t.memoizedProps&&M===t.memoizedState||(e.flags|=1024),e.memoizedProps=a,e.memoizedState=U),f.props=a,f.state=U,f.context=b,a=q):(typeof f.componentDidUpdate!="function"||d===t.memoizedProps&&M===t.memoizedState||(e.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||d===t.memoizedProps&&M===t.memoizedState||(e.flags|=1024),a=!1)}return f=a,ei(t,e),a=(e.flags&128)!==0,f||a?(f=e.stateNode,n=a&&typeof n.getDerivedStateFromError!="function"?null:f.render(),e.flags|=1,t!==null&&a?(e.child=zl(e,t.child,null,i),e.child=zl(e,null,n,i)):Zt(t,e,n,i),e.memoizedState=f.state,t=e.child):t=en(t,e,i),t}function Rh(t,e,n,a){return ya(),e.flags|=256,Zt(t,e,n,a),e.child}var Ec={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Ac(t){return{baseLanes:t,cachePool:yo()}}function Tc(t,e,n){return t=t!==null?t.childLanes&~n:0,e&&(t|=Oe),t}function Oh(t,e,n){var a=e.pendingProps,i=!1,f=(e.flags&128)!==0,d;if((d=f)||(d=t!==null&&t.memoizedState===null?!1:(Lt.current&2)!==0),d&&(i=!0,e.flags&=-129),d=(e.flags&32)!==0,e.flags&=-33,t===null){if(yt){if(i?bn(e):Sn(),yt){var m=Ot,b;if(b=m){t:{for(b=m,m=Ye;b.nodeType!==8;){if(!m){m=null;break t}if(b=ze(b.nextSibling),b===null){m=null;break t}}m=b}m!==null?(e.memoizedState={dehydrated:m,treeContext:Gn!==null?{id:$e,overflow:Fe}:null,retryLane:536870912,hydrationErrors:null},b=he(18,null,null,0),b.stateNode=m,b.return=e,e.child=b,Pt=e,Ot=null,b=!0):b=!1}b||Zn(e)}if(m=e.memoizedState,m!==null&&(m=m.dehydrated,m!==null))return ff(m)?e.lanes=32:e.lanes=536870912,null;tn(e)}return m=a.children,a=a.fallback,i?(Sn(),i=e.mode,m=ni({mode:"hidden",children:m},i),a=jn(a,i,n,null),m.return=e,a.return=e,m.sibling=a,e.child=m,i=e.child,i.memoizedState=Ac(n),i.childLanes=Tc(t,d,n),e.memoizedState=Ec,a):(bn(e),wc(e,m))}if(b=t.memoizedState,b!==null&&(m=b.dehydrated,m!==null)){if(f)e.flags&256?(bn(e),e.flags&=-257,e=Rc(t,e,n)):e.memoizedState!==null?(Sn(),e.child=t.child,e.flags|=128,e=null):(Sn(),i=a.fallback,m=e.mode,a=ni({mode:"visible",children:a.children},m),i=jn(i,m,n,null),i.flags|=2,a.return=e,i.return=e,a.sibling=i,e.child=a,zl(e,t.child,null,n),a=e.child,a.memoizedState=Ac(n),a.childLanes=Tc(t,d,n),e.memoizedState=Ec,e=i);else if(bn(e),ff(m)){if(d=m.nextSibling&&m.nextSibling.dataset,d)var N=d.dgst;d=N,a=Error(c(419)),a.stack="",a.digest=d,ma({value:a,source:null,stack:null}),e=Rc(t,e,n)}else if(Gt||ga(t,e,n,!1),d=(n&t.childLanes)!==0,Gt||d){if(d=xt,d!==null&&(a=n&-n,a=(a&42)!==0?1:fr(a),a=(a&(d.suspendedLanes|n))!==0?0:a,a!==0&&a!==b.retryLane))throw b.retryLane=a,_l(t,a),ve(d,t,a),bh;m.data==="$?"||Zc(),e=Rc(t,e,n)}else m.data==="$?"?(e.flags|=192,e.child=t.child,e=null):(t=b.treeContext,Ot=ze(m.nextSibling),Pt=e,yt=!0,Vn=null,Ye=!1,t!==null&&(Te[we++]=$e,Te[we++]=Fe,Te[we++]=Gn,$e=t.id,Fe=t.overflow,Gn=e),e=wc(e,a.children),e.flags|=4096);return e}return i?(Sn(),i=a.fallback,m=e.mode,b=t.child,N=b.sibling,a=ke(b,{mode:"hidden",children:a.children}),a.subtreeFlags=b.subtreeFlags&65011712,N!==null?i=ke(N,i):(i=jn(i,m,n,null),i.flags|=2),i.return=e,a.return=e,a.sibling=i,e.child=a,a=i,i=e.child,m=t.child.memoizedState,m===null?m=Ac(n):(b=m.cachePool,b!==null?(N=Yt._currentValue,b=b.parent!==N?{parent:N,pool:N}:b):b=yo(),m={baseLanes:m.baseLanes|n,cachePool:b}),i.memoizedState=m,i.childLanes=Tc(t,d,n),e.memoizedState=Ec,a):(bn(e),n=t.child,t=n.sibling,n=ke(n,{mode:"visible",children:a.children}),n.return=e,n.sibling=null,t!==null&&(d=e.deletions,d===null?(e.deletions=[t],e.flags|=16):d.push(t)),e.child=n,e.memoizedState=null,n)}function wc(t,e){return e=ni({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function ni(t,e){return t=he(22,t,null,e),t.lanes=0,t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},t}function Rc(t,e,n){return zl(e,t.child,null,n),t=wc(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function Nh(t,e,n){t.lanes|=e;var a=t.alternate;a!==null&&(a.lanes|=e),Zr(t.return,e,n)}function Oc(t,e,n,a,i){var f=t.memoizedState;f===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:i}:(f.isBackwards=e,f.rendering=null,f.renderingStartTime=0,f.last=a,f.tail=n,f.tailMode=i)}function Mh(t,e,n){var a=e.pendingProps,i=a.revealOrder,f=a.tail;if(Zt(t,e,a.children,n),a=Lt.current,(a&2)!==0)a=a&1|2,e.flags|=128;else{if(t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Nh(t,n,e);else if(t.tag===19)Nh(t,n,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}a&=1}switch(Z(Lt,a),i){case"forwards":for(n=e.child,i=null;n!==null;)t=n.alternate,t!==null&&Pu(t)===null&&(i=n),n=n.sibling;n=i,n===null?(i=e.child,e.child=null):(i=n.sibling,n.sibling=null),Oc(e,!1,i,n,f);break;case"backwards":for(n=null,i=e.child,e.child=null;i!==null;){if(t=i.alternate,t!==null&&Pu(t)===null){e.child=i;break}t=i.sibling,i.sibling=n,n=i,i=t}Oc(e,!0,n,null,f);break;case"together":Oc(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function en(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),Tn|=e.lanes,(n&e.childLanes)===0)if(t!==null){if(ga(t,e,n,!1),(n&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(c(153));if(e.child!==null){for(t=e.child,n=ke(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=ke(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function Nc(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&qu(t)))}function hg(t,e,n){switch(e.tag){case 3:Tt(e,e.stateNode.containerInfo),yn(e,Yt,t.memoizedState.cache),ya();break;case 27:case 5:ar(e);break;case 4:Tt(e,e.stateNode.containerInfo);break;case 10:yn(e,e.type,e.memoizedProps.value);break;case 13:var a=e.memoizedState;if(a!==null)return a.dehydrated!==null?(bn(e),e.flags|=128,null):(n&e.child.childLanes)!==0?Oh(t,e,n):(bn(e),t=en(t,e,n),t!==null?t.sibling:null);bn(e);break;case 19:var i=(t.flags&128)!==0;if(a=(n&e.childLanes)!==0,a||(ga(t,e,n,!1),a=(n&e.childLanes)!==0),i){if(a)return Mh(t,e,n);e.flags|=128}if(i=e.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Z(Lt,Lt.current),a)break;return null;case 22:case 23:return e.lanes=0,Eh(t,e,n);case 24:yn(e,Yt,t.memoizedState.cache)}return en(t,e,n)}function Dh(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps)Gt=!0;else{if(!Nc(t,n)&&(e.flags&128)===0)return Gt=!1,hg(t,e,n);Gt=(t.flags&131072)!==0}else Gt=!1,yt&&(e.flags&1048576)!==0&&io(e,Cu,e.index);switch(e.lanes=0,e.tag){case 16:t:{t=e.pendingProps;var a=e.elementType,i=a._init;if(a=i(a._payload),e.type=a,typeof a=="function")Yr(a)?(t=Fn(a,t),e.tag=1,e=wh(null,e,a,t,n)):(e.tag=0,e=xc(null,e,a,t,n));else{if(a!=null){if(i=a.$$typeof,i===D){e.tag=11,e=Sh(null,e,a,t,n);break t}else if(i===$){e.tag=14,e=_h(null,e,a,t,n);break t}}throw e=Se(a)||a,Error(c(306,e,""))}}return e;case 0:return xc(t,e,e.type,e.pendingProps,n);case 1:return a=e.type,i=Fn(a,e.pendingProps),wh(t,e,a,i,n);case 3:t:{if(Tt(e,e.stateNode.containerInfo),t===null)throw Error(c(387));a=e.pendingProps;var f=e.memoizedState;i=f.element,Pr(t,e),Ea(e,a,null,n);var d=e.memoizedState;if(a=d.cache,yn(e,Yt,a),a!==f.cache&&Kr(e,[Yt],n,!0),xa(),a=d.element,f.isDehydrated)if(f={element:a,isDehydrated:!1,cache:d.cache},e.updateQueue.baseState=f,e.memoizedState=f,e.flags&256){e=Rh(t,e,a,n);break t}else if(a!==i){i=Ee(Error(c(424)),e),ma(i),e=Rh(t,e,a,n);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(Ot=ze(t.firstChild),Pt=e,yt=!0,Vn=null,Ye=!0,n=fh(e,null,a,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(ya(),a===i){e=en(t,e,n);break t}Zt(t,e,a,n)}e=e.child}return e;case 26:return ei(t,e),t===null?(n=Cd(e.type,null,e.pendingProps,null))?e.memoizedState=n:yt||(n=e.type,t=e.pendingProps,a=gi(at.current).createElement(n),a[kt]=e,a[ee]=t,Jt(a,n,t),jt(a),e.stateNode=a):e.memoizedState=Cd(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return ar(e),t===null&&yt&&(a=e.stateNode=zd(e.type,e.pendingProps,at.current),Pt=e,Ye=!0,i=Ot,Nn(e.type)?(sf=i,Ot=ze(a.firstChild)):Ot=i),Zt(t,e,e.pendingProps.children,n),ei(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&yt&&((i=a=Ot)&&(a=Xg(a,e.type,e.pendingProps,Ye),a!==null?(e.stateNode=a,Pt=e,Ot=ze(a.firstChild),Ye=!1,i=!0):i=!1),i||Zn(e)),ar(e),i=e.type,f=e.pendingProps,d=t!==null?t.memoizedProps:null,a=f.children,uf(i,f)?a=null:d!==null&&uf(i,d)&&(e.flags|=32),e.memoizedState!==null&&(i=ac(t,e,ag,null,null,n),Za._currentValue=i),ei(t,e),Zt(t,e,a,n),e.child;case 6:return t===null&&yt&&((t=n=Ot)&&(n=jg(n,e.pendingProps,Ye),n!==null?(e.stateNode=n,Pt=e,Ot=null,t=!0):t=!1),t||Zn(e)),null;case 13:return Oh(t,e,n);case 4:return Tt(e,e.stateNode.containerInfo),a=e.pendingProps,t===null?e.child=zl(e,null,a,n):Zt(t,e,a,n),e.child;case 11:return Sh(t,e,e.type,e.pendingProps,n);case 7:return Zt(t,e,e.pendingProps,n),e.child;case 8:return Zt(t,e,e.pendingProps.children,n),e.child;case 12:return Zt(t,e,e.pendingProps.children,n),e.child;case 10:return a=e.pendingProps,yn(e,e.type,a.value),Zt(t,e,a.children,n),e.child;case 9:return i=e.type._context,a=e.pendingProps.children,Jn(e),i=$t(i),a=a(i),e.flags|=1,Zt(t,e,a,n),e.child;case 14:return _h(t,e,e.type,e.pendingProps,n);case 15:return xh(t,e,e.type,e.pendingProps,n);case 19:return Mh(t,e,n);case 31:return a=e.pendingProps,n=e.mode,a={mode:a.mode,children:a.children},t===null?(n=ni(a,n),n.ref=e.ref,e.child=n,n.return=e,e=n):(n=ke(t.child,a),n.ref=e.ref,e.child=n,n.return=e,e=n),e;case 22:return Eh(t,e,n);case 24:return Jn(e),a=$t(Yt),t===null?(i=$r(),i===null&&(i=xt,f=Jr(),i.pooledCache=f,f.refCount++,f!==null&&(i.pooledCacheLanes|=n),i=f),e.memoizedState={parent:a,cache:i},Wr(e),yn(e,Yt,i)):((t.lanes&n)!==0&&(Pr(t,e),Ea(e,null,null,n),xa()),i=t.memoizedState,f=e.memoizedState,i.parent!==a?(i={parent:a,cache:a},e.memoizedState=i,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=i),yn(e,Yt,a)):(a=f.cache,yn(e,Yt,a),a!==i.cache&&Kr(e,[Yt],n,!0))),Zt(t,e,e.pendingProps.children,n),e.child;case 29:throw e.pendingProps}throw Error(c(156,e.tag))}function nn(t){t.flags|=4}function zh(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Xd(e)){if(e=Re.current,e!==null&&((ot&4194048)===ot?Le!==null:(ot&62914560)!==ot&&(ot&536870912)===0||e!==Le))throw Sa=Fr,mo;t.flags|=8192}}function li(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?fs():536870912,t.lanes|=e,ql|=e)}function Ma(t,e){if(!yt)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;e!==null;)e.alternate!==null&&(n=e),e=e.sibling;n===null?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:a.sibling=null}}function Rt(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,a=0;if(e)for(var i=t.child;i!==null;)n|=i.lanes|i.childLanes,a|=i.subtreeFlags&65011712,a|=i.flags&65011712,i.return=t,i=i.sibling;else for(i=t.child;i!==null;)n|=i.lanes|i.childLanes,a|=i.subtreeFlags,a|=i.flags,i.return=t,i=i.sibling;return t.subtreeFlags|=a,t.childLanes=n,e}function dg(t,e,n){var a=e.pendingProps;switch(Gr(e),e.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Rt(e),null;case 1:return Rt(e),null;case 3:return n=e.stateNode,a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),Pe(Yt),sn(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(da(e)?nn(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,fo())),Rt(e),null;case 26:return n=e.memoizedState,t===null?(nn(e),n!==null?(Rt(e),zh(e,n)):(Rt(e),e.flags&=-16777217)):n?n!==t.memoizedState?(nn(e),Rt(e),zh(e,n)):(Rt(e),e.flags&=-16777217):(t.memoizedProps!==a&&nn(e),Rt(e),e.flags&=-16777217),null;case 27:yu(e),n=at.current;var i=e.type;if(t!==null&&e.stateNode!=null)t.memoizedProps!==a&&nn(e);else{if(!a){if(e.stateNode===null)throw Error(c(166));return Rt(e),null}t=I.current,da(e)?ro(e):(t=zd(i,a,n),e.stateNode=t,nn(e))}return Rt(e),null;case 5:if(yu(e),n=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==a&&nn(e);else{if(!a){if(e.stateNode===null)throw Error(c(166));return Rt(e),null}if(t=I.current,da(e))ro(e);else{switch(i=gi(at.current),t){case 1:t=i.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:t=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":t=i.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":t=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":t=i.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild);break;case"select":t=typeof a.is=="string"?i.createElement("select",{is:a.is}):i.createElement("select"),a.multiple?t.multiple=!0:a.size&&(t.size=a.size);break;default:t=typeof a.is=="string"?i.createElement(n,{is:a.is}):i.createElement(n)}}t[kt]=e,t[ee]=a;t:for(i=e.child;i!==null;){if(i.tag===5||i.tag===6)t.appendChild(i.stateNode);else if(i.tag!==4&&i.tag!==27&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)break t;for(;i.sibling===null;){if(i.return===null||i.return===e)break t;i=i.return}i.sibling.return=i.return,i=i.sibling}e.stateNode=t;t:switch(Jt(t,n,a),n){case"button":case"input":case"select":case"textarea":t=!!a.autoFocus;break t;case"img":t=!0;break t;default:t=!1}t&&nn(e)}}return Rt(e),e.flags&=-16777217,null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==a&&nn(e);else{if(typeof a!="string"&&e.stateNode===null)throw Error(c(166));if(t=at.current,da(e)){if(t=e.stateNode,n=e.memoizedProps,a=null,i=Pt,i!==null)switch(i.tag){case 27:case 5:a=i.memoizedProps}t[kt]=e,t=!!(t.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||Td(t.nodeValue,n)),t||Zn(e)}else t=gi(t).createTextNode(a),t[kt]=e,e.stateNode=t}return Rt(e),null;case 13:if(a=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(i=da(e),a!==null&&a.dehydrated!==null){if(t===null){if(!i)throw Error(c(318));if(i=e.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(c(317));i[kt]=e}else ya(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Rt(e),i=!1}else i=fo(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=i),i=!0;if(!i)return e.flags&256?(tn(e),e):(tn(e),null)}if(tn(e),(e.flags&128)!==0)return e.lanes=n,e;if(n=a!==null,t=t!==null&&t.memoizedState!==null,n){a=e.child,i=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(i=a.alternate.memoizedState.cachePool.pool);var f=null;a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(f=a.memoizedState.cachePool.pool),f!==i&&(a.flags|=2048)}return n!==t&&n&&(e.child.flags|=8192),li(e,e.updateQueue),Rt(e),null;case 4:return sn(),t===null&&tf(e.stateNode.containerInfo),Rt(e),null;case 10:return Pe(e.type),Rt(e),null;case 19:if(K(Lt),i=e.memoizedState,i===null)return Rt(e),null;if(a=(e.flags&128)!==0,f=i.rendering,f===null)if(a)Ma(i,!1);else{if(Nt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(f=Pu(t),f!==null){for(e.flags|=128,Ma(i,!1),t=f.updateQueue,e.updateQueue=t,li(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)uo(n,t),n=n.sibling;return Z(Lt,Lt.current&1|2),e.child}t=t.sibling}i.tail!==null&&Be()>ii&&(e.flags|=128,a=!0,Ma(i,!1),e.lanes=4194304)}else{if(!a)if(t=Pu(f),t!==null){if(e.flags|=128,a=!0,t=t.updateQueue,e.updateQueue=t,li(e,t),Ma(i,!0),i.tail===null&&i.tailMode==="hidden"&&!f.alternate&&!yt)return Rt(e),null}else 2*Be()-i.renderingStartTime>ii&&n!==536870912&&(e.flags|=128,a=!0,Ma(i,!1),e.lanes=4194304);i.isBackwards?(f.sibling=e.child,e.child=f):(t=i.last,t!==null?t.sibling=f:e.child=f,i.last=f)}return i.tail!==null?(e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=Be(),e.sibling=null,t=Lt.current,Z(Lt,a?t&1|2:t&1),e):(Rt(e),null);case 22:case 23:return tn(e),nc(),a=e.memoizedState!==null,t!==null?t.memoizedState!==null!==a&&(e.flags|=8192):a&&(e.flags|=8192),a?(n&536870912)!==0&&(e.flags&128)===0&&(Rt(e),e.subtreeFlags&6&&(e.flags|=8192)):Rt(e),n=e.updateQueue,n!==null&&li(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),a=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),a!==n&&(e.flags|=2048),t!==null&&K(kn),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),Pe(Yt),Rt(e),null;case 25:return null;case 30:return null}throw Error(c(156,e.tag))}function yg(t,e){switch(Gr(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Pe(Yt),sn(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return yu(e),null;case 13:if(tn(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(c(340));ya()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return K(Lt),null;case 4:return sn(),null;case 10:return Pe(e.type),null;case 22:case 23:return tn(e),nc(),t!==null&&K(kn),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return Pe(Yt),null;case 25:return null;default:return null}}function Uh(t,e){switch(Gr(e),e.tag){case 3:Pe(Yt),sn();break;case 26:case 27:case 5:yu(e);break;case 4:sn();break;case 13:tn(e);break;case 19:K(Lt);break;case 10:Pe(e.type);break;case 22:case 23:tn(e),nc(),t!==null&&K(kn);break;case 24:Pe(Yt)}}function Da(t,e){try{var n=e.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var i=a.next;n=i;do{if((n.tag&t)===t){a=void 0;var f=n.create,d=n.inst;a=f(),d.destroy=a}n=n.next}while(n!==i)}}catch(m){_t(e,e.return,m)}}function _n(t,e,n){try{var a=e.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var f=i.next;a=f;do{if((a.tag&t)===t){var d=a.inst,m=d.destroy;if(m!==void 0){d.destroy=void 0,i=e;var b=n,N=m;try{N()}catch(q){_t(i,b,q)}}}a=a.next}while(a!==f)}}catch(q){_t(e,e.return,q)}}function Hh(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{_o(e,n)}catch(a){_t(t,t.return,a)}}}function Ch(t,e,n){n.props=Fn(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(a){_t(t,e,a)}}function za(t,e){try{var n=t.ref;if(n!==null){switch(t.tag){case 26:case 27:case 5:var a=t.stateNode;break;case 30:a=t.stateNode;break;default:a=t.stateNode}typeof n=="function"?t.refCleanup=n(a):n.current=a}}catch(i){_t(t,e,i)}}function Xe(t,e){var n=t.ref,a=t.refCleanup;if(n!==null)if(typeof a=="function")try{a()}catch(i){_t(t,e,i)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(i){_t(t,e,i)}else n.current=null}function qh(t){var e=t.type,n=t.memoizedProps,a=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":n.autoFocus&&a.focus();break t;case"img":n.src?a.src=n.src:n.srcSet&&(a.srcset=n.srcSet)}}catch(i){_t(t,t.return,i)}}function Mc(t,e,n){try{var a=t.stateNode;Cg(a,t.type,n,e),a[ee]=e}catch(i){_t(t,t.return,i)}}function Bh(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Nn(t.type)||t.tag===4}function Dc(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Bh(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&Nn(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function zc(t,e,n){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(t,e):(e=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,e.appendChild(t),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=mi));else if(a!==4&&(a===27&&Nn(t.type)&&(n=t.stateNode,e=null),t=t.child,t!==null))for(zc(t,e,n),t=t.sibling;t!==null;)zc(t,e,n),t=t.sibling}function ai(t,e,n){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(a!==4&&(a===27&&Nn(t.type)&&(n=t.stateNode),t=t.child,t!==null))for(ai(t,e,n),t=t.sibling;t!==null;)ai(t,e,n),t=t.sibling}function Yh(t){var e=t.stateNode,n=t.memoizedProps;try{for(var a=t.type,i=e.attributes;i.length;)e.removeAttributeNode(i[0]);Jt(e,a,n),e[kt]=t,e[ee]=n}catch(f){_t(t,t.return,f)}}var ln=!1,Ut=!1,Uc=!1,Lh=typeof WeakSet=="function"?WeakSet:Set,Qt=null;function mg(t,e){if(t=t.containerInfo,lf=xi,t=$s(t),Dr(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{n=(n=t.ownerDocument)&&n.defaultView||window;var a=n.getSelection&&n.getSelection();if(a&&a.rangeCount!==0){n=a.anchorNode;var i=a.anchorOffset,f=a.focusNode;a=a.focusOffset;try{n.nodeType,f.nodeType}catch{n=null;break t}var d=0,m=-1,b=-1,N=0,q=0,L=t,M=null;e:for(;;){for(var U;L!==n||i!==0&&L.nodeType!==3||(m=d+i),L!==f||a!==0&&L.nodeType!==3||(b=d+a),L.nodeType===3&&(d+=L.nodeValue.length),(U=L.firstChild)!==null;)M=L,L=U;for(;;){if(L===t)break e;if(M===n&&++N===i&&(m=d),M===f&&++q===a&&(b=d),(U=L.nextSibling)!==null)break;L=M,M=L.parentNode}L=U}n=m===-1||b===-1?null:{start:m,end:b}}else n=null}n=n||{start:0,end:0}}else n=null;for(af={focusedElem:t,selectionRange:n},xi=!1,Qt=e;Qt!==null;)if(e=Qt,t=e.child,(e.subtreeFlags&1024)!==0&&t!==null)t.return=e,Qt=t;else for(;Qt!==null;){switch(e=Qt,f=e.alternate,t=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:if((t&1024)!==0&&f!==null){t=void 0,n=e,i=f.memoizedProps,f=f.memoizedState,a=n.stateNode;try{var nt=Fn(n.type,i,n.elementType===n.type);t=a.getSnapshotBeforeUpdate(nt,f),a.__reactInternalSnapshotBeforeUpdate=t}catch(tt){_t(n,n.return,tt)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,n=t.nodeType,n===9)cf(t);else if(n===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":cf(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(c(163))}if(t=e.sibling,t!==null){t.return=e.return,Qt=t;break}Qt=e.return}}function Xh(t,e,n){var a=n.flags;switch(n.tag){case 0:case 11:case 15:xn(t,n),a&4&&Da(5,n);break;case 1:if(xn(t,n),a&4)if(t=n.stateNode,e===null)try{t.componentDidMount()}catch(d){_t(n,n.return,d)}else{var i=Fn(n.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(i,e,t.__reactInternalSnapshotBeforeUpdate)}catch(d){_t(n,n.return,d)}}a&64&&Hh(n),a&512&&za(n,n.return);break;case 3:if(xn(t,n),a&64&&(t=n.updateQueue,t!==null)){if(e=null,n.child!==null)switch(n.child.tag){case 27:case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}try{_o(t,e)}catch(d){_t(n,n.return,d)}}break;case 27:e===null&&a&4&&Yh(n);case 26:case 5:xn(t,n),e===null&&a&4&&qh(n),a&512&&za(n,n.return);break;case 12:xn(t,n);break;case 13:xn(t,n),a&4&&Qh(t,n),a&64&&(t=n.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(n=Ag.bind(null,n),Gg(t,n))));break;case 22:if(a=n.memoizedState!==null||ln,!a){e=e!==null&&e.memoizedState!==null||Ut,i=ln;var f=Ut;ln=a,(Ut=e)&&!f?En(t,n,(n.subtreeFlags&8772)!==0):xn(t,n),ln=i,Ut=f}break;case 30:break;default:xn(t,n)}}function jh(t){var e=t.alternate;e!==null&&(t.alternate=null,jh(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&hr(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var wt=null,ae=!1;function an(t,e,n){for(n=n.child;n!==null;)Gh(t,e,n),n=n.sibling}function Gh(t,e,n){if(fe&&typeof fe.onCommitFiberUnmount=="function")try{fe.onCommitFiberUnmount(Il,n)}catch{}switch(n.tag){case 26:Ut||Xe(n,e),an(t,e,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Ut||Xe(n,e);var a=wt,i=ae;Nn(n.type)&&(wt=n.stateNode,ae=!1),an(t,e,n),ja(n.stateNode),wt=a,ae=i;break;case 5:Ut||Xe(n,e);case 6:if(a=wt,i=ae,wt=null,an(t,e,n),wt=a,ae=i,wt!==null)if(ae)try{(wt.nodeType===9?wt.body:wt.nodeName==="HTML"?wt.ownerDocument.body:wt).removeChild(n.stateNode)}catch(f){_t(n,e,f)}else try{wt.removeChild(n.stateNode)}catch(f){_t(n,e,f)}break;case 18:wt!==null&&(ae?(t=wt,Md(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,n.stateNode),$a(t)):Md(wt,n.stateNode));break;case 4:a=wt,i=ae,wt=n.stateNode.containerInfo,ae=!0,an(t,e,n),wt=a,ae=i;break;case 0:case 11:case 14:case 15:Ut||_n(2,n,e),Ut||_n(4,n,e),an(t,e,n);break;case 1:Ut||(Xe(n,e),a=n.stateNode,typeof a.componentWillUnmount=="function"&&Ch(n,e,a)),an(t,e,n);break;case 21:an(t,e,n);break;case 22:Ut=(a=Ut)||n.memoizedState!==null,an(t,e,n),Ut=a;break;default:an(t,e,n)}}function Qh(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{$a(t)}catch(n){_t(e,e.return,n)}}function gg(t){switch(t.tag){case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new Lh),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new Lh),e;default:throw Error(c(435,t.tag))}}function Hc(t,e){var n=gg(t);e.forEach(function(a){var i=Tg.bind(null,t,a);n.has(a)||(n.add(a),a.then(i,i))})}function de(t,e){var n=e.deletions;if(n!==null)for(var a=0;a<n.length;a++){var i=n[a],f=t,d=e,m=d;t:for(;m!==null;){switch(m.tag){case 27:if(Nn(m.type)){wt=m.stateNode,ae=!1;break t}break;case 5:wt=m.stateNode,ae=!1;break t;case 3:case 4:wt=m.stateNode.containerInfo,ae=!0;break t}m=m.return}if(wt===null)throw Error(c(160));Gh(f,d,i),wt=null,ae=!1,f=i.alternate,f!==null&&(f.return=null),i.return=null}if(e.subtreeFlags&13878)for(e=e.child;e!==null;)Vh(e,t),e=e.sibling}var De=null;function Vh(t,e){var n=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:de(e,t),ye(t),a&4&&(_n(3,t,t.return),Da(3,t),_n(5,t,t.return));break;case 1:de(e,t),ye(t),a&512&&(Ut||n===null||Xe(n,n.return)),a&64&&ln&&(t=t.updateQueue,t!==null&&(a=t.callbacks,a!==null&&(n=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=n===null?a:n.concat(a))));break;case 26:var i=De;if(de(e,t),ye(t),a&512&&(Ut||n===null||Xe(n,n.return)),a&4){var f=n!==null?n.memoizedState:null;if(a=t.memoizedState,n===null)if(a===null)if(t.stateNode===null){t:{a=t.type,n=t.memoizedProps,i=i.ownerDocument||i;e:switch(a){case"title":f=i.getElementsByTagName("title")[0],(!f||f[na]||f[kt]||f.namespaceURI==="http://www.w3.org/2000/svg"||f.hasAttribute("itemprop"))&&(f=i.createElement(a),i.head.insertBefore(f,i.querySelector("head > title"))),Jt(f,a,n),f[kt]=t,jt(f),a=f;break t;case"link":var d=Yd("link","href",i).get(a+(n.href||""));if(d){for(var m=0;m<d.length;m++)if(f=d[m],f.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&f.getAttribute("rel")===(n.rel==null?null:n.rel)&&f.getAttribute("title")===(n.title==null?null:n.title)&&f.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){d.splice(m,1);break e}}f=i.createElement(a),Jt(f,a,n),i.head.appendChild(f);break;case"meta":if(d=Yd("meta","content",i).get(a+(n.content||""))){for(m=0;m<d.length;m++)if(f=d[m],f.getAttribute("content")===(n.content==null?null:""+n.content)&&f.getAttribute("name")===(n.name==null?null:n.name)&&f.getAttribute("property")===(n.property==null?null:n.property)&&f.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&f.getAttribute("charset")===(n.charSet==null?null:n.charSet)){d.splice(m,1);break e}}f=i.createElement(a),Jt(f,a,n),i.head.appendChild(f);break;default:throw Error(c(468,a))}f[kt]=t,jt(f),a=f}t.stateNode=a}else Ld(i,t.type,t.stateNode);else t.stateNode=Bd(i,a,t.memoizedProps);else f!==a?(f===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):f.count--,a===null?Ld(i,t.type,t.stateNode):Bd(i,a,t.memoizedProps)):a===null&&t.stateNode!==null&&Mc(t,t.memoizedProps,n.memoizedProps)}break;case 27:de(e,t),ye(t),a&512&&(Ut||n===null||Xe(n,n.return)),n!==null&&a&4&&Mc(t,t.memoizedProps,n.memoizedProps);break;case 5:if(de(e,t),ye(t),a&512&&(Ut||n===null||Xe(n,n.return)),t.flags&32){i=t.stateNode;try{yl(i,"")}catch(U){_t(t,t.return,U)}}a&4&&t.stateNode!=null&&(i=t.memoizedProps,Mc(t,i,n!==null?n.memoizedProps:i)),a&1024&&(Uc=!0);break;case 6:if(de(e,t),ye(t),a&4){if(t.stateNode===null)throw Error(c(162));a=t.memoizedProps,n=t.stateNode;try{n.nodeValue=a}catch(U){_t(t,t.return,U)}}break;case 3:if(bi=null,i=De,De=vi(e.containerInfo),de(e,t),De=i,ye(t),a&4&&n!==null&&n.memoizedState.isDehydrated)try{$a(e.containerInfo)}catch(U){_t(t,t.return,U)}Uc&&(Uc=!1,Zh(t));break;case 4:a=De,De=vi(t.stateNode.containerInfo),de(e,t),ye(t),De=a;break;case 12:de(e,t),ye(t);break;case 13:de(e,t),ye(t),t.child.flags&8192&&t.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(Xc=Be()),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Hc(t,a)));break;case 22:i=t.memoizedState!==null;var b=n!==null&&n.memoizedState!==null,N=ln,q=Ut;if(ln=N||i,Ut=q||b,de(e,t),Ut=q,ln=N,ye(t),a&8192)t:for(e=t.stateNode,e._visibility=i?e._visibility&-2:e._visibility|1,i&&(n===null||b||ln||Ut||Wn(t)),n=null,e=t;;){if(e.tag===5||e.tag===26){if(n===null){b=n=e;try{if(f=b.stateNode,i)d=f.style,typeof d.setProperty=="function"?d.setProperty("display","none","important"):d.display="none";else{m=b.stateNode;var L=b.memoizedProps.style,M=L!=null&&L.hasOwnProperty("display")?L.display:null;m.style.display=M==null||typeof M=="boolean"?"":(""+M).trim()}}catch(U){_t(b,b.return,U)}}}else if(e.tag===6){if(n===null){b=e;try{b.stateNode.nodeValue=i?"":b.memoizedProps}catch(U){_t(b,b.return,U)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;n===e&&(n=null),e=e.return}n===e&&(n=null),e.sibling.return=e.return,e=e.sibling}a&4&&(a=t.updateQueue,a!==null&&(n=a.retryQueue,n!==null&&(a.retryQueue=null,Hc(t,n))));break;case 19:de(e,t),ye(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Hc(t,a)));break;case 30:break;case 21:break;default:de(e,t),ye(t)}}function ye(t){var e=t.flags;if(e&2){try{for(var n,a=t.return;a!==null;){if(Bh(a)){n=a;break}a=a.return}if(n==null)throw Error(c(160));switch(n.tag){case 27:var i=n.stateNode,f=Dc(t);ai(t,f,i);break;case 5:var d=n.stateNode;n.flags&32&&(yl(d,""),n.flags&=-33);var m=Dc(t);ai(t,m,d);break;case 3:case 4:var b=n.stateNode.containerInfo,N=Dc(t);zc(t,N,b);break;default:throw Error(c(161))}}catch(q){_t(t,t.return,q)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Zh(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Zh(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function xn(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)Xh(t,e.alternate,e),e=e.sibling}function Wn(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:_n(4,e,e.return),Wn(e);break;case 1:Xe(e,e.return);var n=e.stateNode;typeof n.componentWillUnmount=="function"&&Ch(e,e.return,n),Wn(e);break;case 27:ja(e.stateNode);case 26:case 5:Xe(e,e.return),Wn(e);break;case 22:e.memoizedState===null&&Wn(e);break;case 30:Wn(e);break;default:Wn(e)}t=t.sibling}}function En(t,e,n){for(n=n&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var a=e.alternate,i=t,f=e,d=f.flags;switch(f.tag){case 0:case 11:case 15:En(i,f,n),Da(4,f);break;case 1:if(En(i,f,n),a=f,i=a.stateNode,typeof i.componentDidMount=="function")try{i.componentDidMount()}catch(N){_t(a,a.return,N)}if(a=f,i=a.updateQueue,i!==null){var m=a.stateNode;try{var b=i.shared.hiddenCallbacks;if(b!==null)for(i.shared.hiddenCallbacks=null,i=0;i<b.length;i++)So(b[i],m)}catch(N){_t(a,a.return,N)}}n&&d&64&&Hh(f),za(f,f.return);break;case 27:Yh(f);case 26:case 5:En(i,f,n),n&&a===null&&d&4&&qh(f),za(f,f.return);break;case 12:En(i,f,n);break;case 13:En(i,f,n),n&&d&4&&Qh(i,f);break;case 22:f.memoizedState===null&&En(i,f,n),za(f,f.return);break;case 30:break;default:En(i,f,n)}e=e.sibling}}function Cc(t,e){var n=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==n&&(t!=null&&t.refCount++,n!=null&&va(n))}function qc(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&va(t))}function je(t,e,n,a){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Kh(t,e,n,a),e=e.sibling}function Kh(t,e,n,a){var i=e.flags;switch(e.tag){case 0:case 11:case 15:je(t,e,n,a),i&2048&&Da(9,e);break;case 1:je(t,e,n,a);break;case 3:je(t,e,n,a),i&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&va(t)));break;case 12:if(i&2048){je(t,e,n,a),t=e.stateNode;try{var f=e.memoizedProps,d=f.id,m=f.onPostCommit;typeof m=="function"&&m(d,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(b){_t(e,e.return,b)}}else je(t,e,n,a);break;case 13:je(t,e,n,a);break;case 23:break;case 22:f=e.stateNode,d=e.alternate,e.memoizedState!==null?f._visibility&2?je(t,e,n,a):Ua(t,e):f._visibility&2?je(t,e,n,a):(f._visibility|=2,Ul(t,e,n,a,(e.subtreeFlags&10256)!==0)),i&2048&&Cc(d,e);break;case 24:je(t,e,n,a),i&2048&&qc(e.alternate,e);break;default:je(t,e,n,a)}}function Ul(t,e,n,a,i){for(i=i&&(e.subtreeFlags&10256)!==0,e=e.child;e!==null;){var f=t,d=e,m=n,b=a,N=d.flags;switch(d.tag){case 0:case 11:case 15:Ul(f,d,m,b,i),Da(8,d);break;case 23:break;case 22:var q=d.stateNode;d.memoizedState!==null?q._visibility&2?Ul(f,d,m,b,i):Ua(f,d):(q._visibility|=2,Ul(f,d,m,b,i)),i&&N&2048&&Cc(d.alternate,d);break;case 24:Ul(f,d,m,b,i),i&&N&2048&&qc(d.alternate,d);break;default:Ul(f,d,m,b,i)}e=e.sibling}}function Ua(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var n=t,a=e,i=a.flags;switch(a.tag){case 22:Ua(n,a),i&2048&&Cc(a.alternate,a);break;case 24:Ua(n,a),i&2048&&qc(a.alternate,a);break;default:Ua(n,a)}e=e.sibling}}var Ha=8192;function Hl(t){if(t.subtreeFlags&Ha)for(t=t.child;t!==null;)Jh(t),t=t.sibling}function Jh(t){switch(t.tag){case 26:Hl(t),t.flags&Ha&&t.memoizedState!==null&&ev(De,t.memoizedState,t.memoizedProps);break;case 5:Hl(t);break;case 3:case 4:var e=De;De=vi(t.stateNode.containerInfo),Hl(t),De=e;break;case 22:t.memoizedState===null&&(e=t.alternate,e!==null&&e.memoizedState!==null?(e=Ha,Ha=16777216,Hl(t),Ha=e):Hl(t));break;default:Hl(t)}}function kh(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function Ca(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var a=e[n];Qt=a,Fh(a,t)}kh(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)$h(t),t=t.sibling}function $h(t){switch(t.tag){case 0:case 11:case 15:Ca(t),t.flags&2048&&_n(9,t,t.return);break;case 3:Ca(t);break;case 12:Ca(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,ui(t)):Ca(t);break;default:Ca(t)}}function ui(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var a=e[n];Qt=a,Fh(a,t)}kh(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:_n(8,e,e.return),ui(e);break;case 22:n=e.stateNode,n._visibility&2&&(n._visibility&=-3,ui(e));break;default:ui(e)}t=t.sibling}}function Fh(t,e){for(;Qt!==null;){var n=Qt;switch(n.tag){case 0:case 11:case 15:_n(8,n,e);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var a=n.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:va(n.memoizedState.cache)}if(a=n.child,a!==null)a.return=n,Qt=a;else t:for(n=t;Qt!==null;){a=Qt;var i=a.sibling,f=a.return;if(jh(a),a===n){Qt=null;break t}if(i!==null){i.return=f,Qt=i;break t}Qt=f}}}var vg={getCacheForType:function(t){var e=$t(Yt),n=e.data.get(t);return n===void 0&&(n=t(),e.data.set(t,n)),n}},pg=typeof WeakMap=="function"?WeakMap:Map,gt=0,xt=null,ft=null,ot=0,vt=0,me=null,An=!1,Cl=!1,Bc=!1,un=0,Nt=0,Tn=0,Pn=0,Yc=0,Oe=0,ql=0,qa=null,ue=null,Lc=!1,Xc=0,ii=1/0,ri=null,wn=null,Kt=0,Rn=null,Bl=null,Yl=0,jc=0,Gc=null,Wh=null,Ba=0,Qc=null;function ge(){if((gt&2)!==0&&ot!==0)return ot&-ot;if(C.T!==null){var t=Tl;return t!==0?t:Fc()}return hs()}function Ph(){Oe===0&&(Oe=(ot&536870912)===0||yt?cs():536870912);var t=Re.current;return t!==null&&(t.flags|=32),Oe}function ve(t,e,n){(t===xt&&(vt===2||vt===9)||t.cancelPendingCommit!==null)&&(Ll(t,0),On(t,ot,Oe,!1)),ea(t,n),((gt&2)===0||t!==xt)&&(t===xt&&((gt&2)===0&&(Pn|=n),Nt===4&&On(t,ot,Oe,!1)),Ge(t))}function Ih(t,e,n){if((gt&6)!==0)throw Error(c(327));var a=!n&&(e&124)===0&&(e&t.expiredLanes)===0||ta(t,e),i=a?_g(t,e):Kc(t,e,!0),f=a;do{if(i===0){Cl&&!a&&On(t,e,0,!1);break}else{if(n=t.current.alternate,f&&!bg(n)){i=Kc(t,e,!1),f=!1;continue}if(i===2){if(f=e,t.errorRecoveryDisabledLanes&f)var d=0;else d=t.pendingLanes&-536870913,d=d!==0?d:d&536870912?536870912:0;if(d!==0){e=d;t:{var m=t;i=qa;var b=m.current.memoizedState.isDehydrated;if(b&&(Ll(m,d).flags|=256),d=Kc(m,d,!1),d!==2){if(Bc&&!b){m.errorRecoveryDisabledLanes|=f,Pn|=f,i=4;break t}f=ue,ue=i,f!==null&&(ue===null?ue=f:ue.push.apply(ue,f))}i=d}if(f=!1,i!==2)continue}}if(i===1){Ll(t,0),On(t,e,0,!0);break}t:{switch(a=t,f=i,f){case 0:case 1:throw Error(c(345));case 4:if((e&4194048)!==e)break;case 6:On(a,e,Oe,!An);break t;case 2:ue=null;break;case 3:case 5:break;default:throw Error(c(329))}if((e&62914560)===e&&(i=Xc+300-Be(),10<i)){if(On(a,e,Oe,!An),pu(a,0,!0)!==0)break t;a.timeoutHandle=Od(td.bind(null,a,n,ue,ri,Lc,e,Oe,Pn,ql,An,f,2,-0,0),i);break t}td(a,n,ue,ri,Lc,e,Oe,Pn,ql,An,f,0,-0,0)}}break}while(!0);Ge(t)}function td(t,e,n,a,i,f,d,m,b,N,q,L,M,U){if(t.timeoutHandle=-1,L=e.subtreeFlags,(L&8192||(L&16785408)===16785408)&&(Va={stylesheets:null,count:0,unsuspend:tv},Jh(e),L=nv(),L!==null)){t.cancelPendingCommit=L(rd.bind(null,t,e,f,n,a,i,d,m,b,q,1,M,U)),On(t,f,d,!N);return}rd(t,e,f,n,a,i,d,m,b)}function bg(t){for(var e=t;;){var n=e.tag;if((n===0||n===11||n===15)&&e.flags&16384&&(n=e.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var a=0;a<n.length;a++){var i=n[a],f=i.getSnapshot;i=i.value;try{if(!oe(f(),i))return!1}catch{return!1}}if(n=e.child,e.subtreeFlags&16384&&n!==null)n.return=e,e=n;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function On(t,e,n,a){e&=~Yc,e&=~Pn,t.suspendedLanes|=e,t.pingedLanes&=~e,a&&(t.warmLanes|=e),a=t.expirationTimes;for(var i=e;0<i;){var f=31-se(i),d=1<<f;a[f]=-1,i&=~d}n!==0&&ss(t,n,e)}function ci(){return(gt&6)===0?(Ya(0),!1):!0}function Vc(){if(ft!==null){if(vt===0)var t=ft.return;else t=ft,We=Kn=null,rc(t),Dl=null,Oa=0,t=ft;for(;t!==null;)Uh(t.alternate,t),t=t.return;ft=null}}function Ll(t,e){var n=t.timeoutHandle;n!==-1&&(t.timeoutHandle=-1,Bg(n)),n=t.cancelPendingCommit,n!==null&&(t.cancelPendingCommit=null,n()),Vc(),xt=t,ft=n=ke(t.current,null),ot=e,vt=0,me=null,An=!1,Cl=ta(t,e),Bc=!1,ql=Oe=Yc=Pn=Tn=Nt=0,ue=qa=null,Lc=!1,(e&8)!==0&&(e|=e&32);var a=t.entangledLanes;if(a!==0)for(t=t.entanglements,a&=e;0<a;){var i=31-se(a),f=1<<i;e|=t[i],a&=~f}return un=e,Mu(),n}function ed(t,e){rt=null,C.H=$u,e===ba||e===Lu?(e=po(),vt=3):e===mo?(e=po(),vt=4):vt=e===bh?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,me=e,ft===null&&(Nt=1,ti(t,Ee(e,t.current)))}function nd(){var t=C.H;return C.H=$u,t===null?$u:t}function ld(){var t=C.A;return C.A=vg,t}function Zc(){Nt=4,An||(ot&4194048)!==ot&&Re.current!==null||(Cl=!0),(Tn&134217727)===0&&(Pn&134217727)===0||xt===null||On(xt,ot,Oe,!1)}function Kc(t,e,n){var a=gt;gt|=2;var i=nd(),f=ld();(xt!==t||ot!==e)&&(ri=null,Ll(t,e)),e=!1;var d=Nt;t:do try{if(vt!==0&&ft!==null){var m=ft,b=me;switch(vt){case 8:Vc(),d=6;break t;case 3:case 2:case 9:case 6:Re.current===null&&(e=!0);var N=vt;if(vt=0,me=null,Xl(t,m,b,N),n&&Cl){d=0;break t}break;default:N=vt,vt=0,me=null,Xl(t,m,b,N)}}Sg(),d=Nt;break}catch(q){ed(t,q)}while(!0);return e&&t.shellSuspendCounter++,We=Kn=null,gt=a,C.H=i,C.A=f,ft===null&&(xt=null,ot=0,Mu()),d}function Sg(){for(;ft!==null;)ad(ft)}function _g(t,e){var n=gt;gt|=2;var a=nd(),i=ld();xt!==t||ot!==e?(ri=null,ii=Be()+500,Ll(t,e)):Cl=ta(t,e);t:do try{if(vt!==0&&ft!==null){e=ft;var f=me;e:switch(vt){case 1:vt=0,me=null,Xl(t,e,f,1);break;case 2:case 9:if(go(f)){vt=0,me=null,ud(e);break}e=function(){vt!==2&&vt!==9||xt!==t||(vt=7),Ge(t)},f.then(e,e);break t;case 3:vt=7;break t;case 4:vt=5;break t;case 7:go(f)?(vt=0,me=null,ud(e)):(vt=0,me=null,Xl(t,e,f,7));break;case 5:var d=null;switch(ft.tag){case 26:d=ft.memoizedState;case 5:case 27:var m=ft;if(!d||Xd(d)){vt=0,me=null;var b=m.sibling;if(b!==null)ft=b;else{var N=m.return;N!==null?(ft=N,fi(N)):ft=null}break e}}vt=0,me=null,Xl(t,e,f,5);break;case 6:vt=0,me=null,Xl(t,e,f,6);break;case 8:Vc(),Nt=6;break t;default:throw Error(c(462))}}xg();break}catch(q){ed(t,q)}while(!0);return We=Kn=null,C.H=a,C.A=i,gt=n,ft!==null?0:(xt=null,ot=0,Mu(),Nt)}function xg(){for(;ft!==null&&!Vy();)ad(ft)}function ad(t){var e=Dh(t.alternate,t,un);t.memoizedProps=t.pendingProps,e===null?fi(t):ft=e}function ud(t){var e=t,n=e.alternate;switch(e.tag){case 15:case 0:e=Th(n,e,e.pendingProps,e.type,void 0,ot);break;case 11:e=Th(n,e,e.pendingProps,e.type.render,e.ref,ot);break;case 5:rc(e);default:Uh(n,e),e=ft=uo(e,un),e=Dh(n,e,un)}t.memoizedProps=t.pendingProps,e===null?fi(t):ft=e}function Xl(t,e,n,a){We=Kn=null,rc(e),Dl=null,Oa=0;var i=e.return;try{if(og(t,i,e,n,ot)){Nt=1,ti(t,Ee(n,t.current)),ft=null;return}}catch(f){if(i!==null)throw ft=i,f;Nt=1,ti(t,Ee(n,t.current)),ft=null;return}e.flags&32768?(yt||a===1?t=!0:Cl||(ot&536870912)!==0?t=!1:(An=t=!0,(a===2||a===9||a===3||a===6)&&(a=Re.current,a!==null&&a.tag===13&&(a.flags|=16384))),id(e,t)):fi(e)}function fi(t){var e=t;do{if((e.flags&32768)!==0){id(e,An);return}t=e.return;var n=dg(e.alternate,e,un);if(n!==null){ft=n;return}if(e=e.sibling,e!==null){ft=e;return}ft=e=t}while(e!==null);Nt===0&&(Nt=5)}function id(t,e){do{var n=yg(t.alternate,t);if(n!==null){n.flags&=32767,ft=n;return}if(n=t.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!e&&(t=t.sibling,t!==null)){ft=t;return}ft=t=n}while(t!==null);Nt=6,ft=null}function rd(t,e,n,a,i,f,d,m,b){t.cancelPendingCommit=null;do si();while(Kt!==0);if((gt&6)!==0)throw Error(c(327));if(e!==null){if(e===t.current)throw Error(c(177));if(f=e.lanes|e.childLanes,f|=qr,tm(t,n,f,d,m,b),t===xt&&(ft=xt=null,ot=0),Bl=e,Rn=t,Yl=n,jc=f,Gc=i,Wh=a,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,wg(mu,function(){return hd(),null})):(t.callbackNode=null,t.callbackPriority=0),a=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||a){a=C.T,C.T=null,i=V.p,V.p=2,d=gt,gt|=4;try{mg(t,e,n)}finally{gt=d,V.p=i,C.T=a}}Kt=1,cd(),fd(),sd()}}function cd(){if(Kt===1){Kt=0;var t=Rn,e=Bl,n=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||n){n=C.T,C.T=null;var a=V.p;V.p=2;var i=gt;gt|=4;try{Vh(e,t);var f=af,d=$s(t.containerInfo),m=f.focusedElem,b=f.selectionRange;if(d!==m&&m&&m.ownerDocument&&ks(m.ownerDocument.documentElement,m)){if(b!==null&&Dr(m)){var N=b.start,q=b.end;if(q===void 0&&(q=N),"selectionStart"in m)m.selectionStart=N,m.selectionEnd=Math.min(q,m.value.length);else{var L=m.ownerDocument||document,M=L&&L.defaultView||window;if(M.getSelection){var U=M.getSelection(),nt=m.textContent.length,tt=Math.min(b.start,nt),St=b.end===void 0?tt:Math.min(b.end,nt);!U.extend&&tt>St&&(d=St,St=tt,tt=d);var T=Js(m,tt),_=Js(m,St);if(T&&_&&(U.rangeCount!==1||U.anchorNode!==T.node||U.anchorOffset!==T.offset||U.focusNode!==_.node||U.focusOffset!==_.offset)){var R=L.createRange();R.setStart(T.node,T.offset),U.removeAllRanges(),tt>St?(U.addRange(R),U.extend(_.node,_.offset)):(R.setEnd(_.node,_.offset),U.addRange(R))}}}}for(L=[],U=m;U=U.parentNode;)U.nodeType===1&&L.push({element:U,left:U.scrollLeft,top:U.scrollTop});for(typeof m.focus=="function"&&m.focus(),m=0;m<L.length;m++){var B=L[m];B.element.scrollLeft=B.left,B.element.scrollTop=B.top}}xi=!!lf,af=lf=null}finally{gt=i,V.p=a,C.T=n}}t.current=e,Kt=2}}function fd(){if(Kt===2){Kt=0;var t=Rn,e=Bl,n=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||n){n=C.T,C.T=null;var a=V.p;V.p=2;var i=gt;gt|=4;try{Xh(t,e.alternate,e)}finally{gt=i,V.p=a,C.T=n}}Kt=3}}function sd(){if(Kt===4||Kt===3){Kt=0,Zy();var t=Rn,e=Bl,n=Yl,a=Wh;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?Kt=5:(Kt=0,Bl=Rn=null,od(t,t.pendingLanes));var i=t.pendingLanes;if(i===0&&(wn=null),sr(n),e=e.stateNode,fe&&typeof fe.onCommitFiberRoot=="function")try{fe.onCommitFiberRoot(Il,e,void 0,(e.current.flags&128)===128)}catch{}if(a!==null){e=C.T,i=V.p,V.p=2,C.T=null;try{for(var f=t.onRecoverableError,d=0;d<a.length;d++){var m=a[d];f(m.value,{componentStack:m.stack})}}finally{C.T=e,V.p=i}}(Yl&3)!==0&&si(),Ge(t),i=t.pendingLanes,(n&4194090)!==0&&(i&42)!==0?t===Qc?Ba++:(Ba=0,Qc=t):Ba=0,Ya(0)}}function od(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,va(e)))}function si(t){return cd(),fd(),sd(),hd()}function hd(){if(Kt!==5)return!1;var t=Rn,e=jc;jc=0;var n=sr(Yl),a=C.T,i=V.p;try{V.p=32>n?32:n,C.T=null,n=Gc,Gc=null;var f=Rn,d=Yl;if(Kt=0,Bl=Rn=null,Yl=0,(gt&6)!==0)throw Error(c(331));var m=gt;if(gt|=4,$h(f.current),Kh(f,f.current,d,n),gt=m,Ya(0,!1),fe&&typeof fe.onPostCommitFiberRoot=="function")try{fe.onPostCommitFiberRoot(Il,f)}catch{}return!0}finally{V.p=i,C.T=a,od(t,e)}}function dd(t,e,n){e=Ee(n,e),e=_c(t.stateNode,e,2),t=vn(t,e,2),t!==null&&(ea(t,2),Ge(t))}function _t(t,e,n){if(t.tag===3)dd(t,t,n);else for(;e!==null;){if(e.tag===3){dd(e,t,n);break}else if(e.tag===1){var a=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(wn===null||!wn.has(a))){t=Ee(n,t),n=vh(2),a=vn(e,n,2),a!==null&&(ph(n,a,e,t),ea(a,2),Ge(a));break}}e=e.return}}function Jc(t,e,n){var a=t.pingCache;if(a===null){a=t.pingCache=new pg;var i=new Set;a.set(e,i)}else i=a.get(e),i===void 0&&(i=new Set,a.set(e,i));i.has(n)||(Bc=!0,i.add(n),t=Eg.bind(null,t,e,n),e.then(t,t))}function Eg(t,e,n){var a=t.pingCache;a!==null&&a.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,xt===t&&(ot&n)===n&&(Nt===4||Nt===3&&(ot&62914560)===ot&&300>Be()-Xc?(gt&2)===0&&Ll(t,0):Yc|=n,ql===ot&&(ql=0)),Ge(t)}function yd(t,e){e===0&&(e=fs()),t=_l(t,e),t!==null&&(ea(t,e),Ge(t))}function Ag(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),yd(t,n)}function Tg(t,e){var n=0;switch(t.tag){case 13:var a=t.stateNode,i=t.memoizedState;i!==null&&(n=i.retryLane);break;case 19:a=t.stateNode;break;case 22:a=t.stateNode._retryCache;break;default:throw Error(c(314))}a!==null&&a.delete(e),yd(t,n)}function wg(t,e){return ir(t,e)}var oi=null,jl=null,kc=!1,hi=!1,$c=!1,In=0;function Ge(t){t!==jl&&t.next===null&&(jl===null?oi=jl=t:jl=jl.next=t),hi=!0,kc||(kc=!0,Og())}function Ya(t,e){if(!$c&&hi){$c=!0;do for(var n=!1,a=oi;a!==null;){if(t!==0){var i=a.pendingLanes;if(i===0)var f=0;else{var d=a.suspendedLanes,m=a.pingedLanes;f=(1<<31-se(42|t)+1)-1,f&=i&~(d&~m),f=f&201326741?f&201326741|1:f?f|2:0}f!==0&&(n=!0,pd(a,f))}else f=ot,f=pu(a,a===xt?f:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(f&3)===0||ta(a,f)||(n=!0,pd(a,f));a=a.next}while(n);$c=!1}}function Rg(){md()}function md(){hi=kc=!1;var t=0;In!==0&&(qg()&&(t=In),In=0);for(var e=Be(),n=null,a=oi;a!==null;){var i=a.next,f=gd(a,e);f===0?(a.next=null,n===null?oi=i:n.next=i,i===null&&(jl=n)):(n=a,(t!==0||(f&3)!==0)&&(hi=!0)),a=i}Ya(t)}function gd(t,e){for(var n=t.suspendedLanes,a=t.pingedLanes,i=t.expirationTimes,f=t.pendingLanes&-62914561;0<f;){var d=31-se(f),m=1<<d,b=i[d];b===-1?((m&n)===0||(m&a)!==0)&&(i[d]=Iy(m,e)):b<=e&&(t.expiredLanes|=m),f&=~m}if(e=xt,n=ot,n=pu(t,t===e?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a=t.callbackNode,n===0||t===e&&(vt===2||vt===9)||t.cancelPendingCommit!==null)return a!==null&&a!==null&&rr(a),t.callbackNode=null,t.callbackPriority=0;if((n&3)===0||ta(t,n)){if(e=n&-n,e===t.callbackPriority)return e;switch(a!==null&&rr(a),sr(n)){case 2:case 8:n=is;break;case 32:n=mu;break;case 268435456:n=rs;break;default:n=mu}return a=vd.bind(null,t),n=ir(n,a),t.callbackPriority=e,t.callbackNode=n,e}return a!==null&&a!==null&&rr(a),t.callbackPriority=2,t.callbackNode=null,2}function vd(t,e){if(Kt!==0&&Kt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var n=t.callbackNode;if(si()&&t.callbackNode!==n)return null;var a=ot;return a=pu(t,t===xt?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a===0?null:(Ih(t,a,e),gd(t,Be()),t.callbackNode!=null&&t.callbackNode===n?vd.bind(null,t):null)}function pd(t,e){if(si())return null;Ih(t,e,!0)}function Og(){Yg(function(){(gt&6)!==0?ir(us,Rg):md()})}function Fc(){return In===0&&(In=cs()),In}function bd(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Eu(""+t)}function Sd(t,e){var n=e.ownerDocument.createElement("input");return n.name=e.name,n.value=e.value,t.id&&n.setAttribute("form",t.id),e.parentNode.insertBefore(n,e),t=new FormData(t),n.parentNode.removeChild(n),t}function Ng(t,e,n,a,i){if(e==="submit"&&n&&n.stateNode===i){var f=bd((i[ee]||null).action),d=a.submitter;d&&(e=(e=d[ee]||null)?bd(e.formAction):d.getAttribute("formAction"),e!==null&&(f=e,d=null));var m=new Ru("action","action",null,a,i);t.push({event:m,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(In!==0){var b=d?Sd(i,d):new FormData(i);gc(n,{pending:!0,data:b,method:i.method,action:f},null,b)}}else typeof f=="function"&&(m.preventDefault(),b=d?Sd(i,d):new FormData(i),gc(n,{pending:!0,data:b,method:i.method,action:f},f,b))},currentTarget:i}]})}}for(var Wc=0;Wc<Cr.length;Wc++){var Pc=Cr[Wc],Mg=Pc.toLowerCase(),Dg=Pc[0].toUpperCase()+Pc.slice(1);Me(Mg,"on"+Dg)}Me(Ps,"onAnimationEnd"),Me(Is,"onAnimationIteration"),Me(to,"onAnimationStart"),Me("dblclick","onDoubleClick"),Me("focusin","onFocus"),Me("focusout","onBlur"),Me(km,"onTransitionRun"),Me($m,"onTransitionStart"),Me(Fm,"onTransitionCancel"),Me(eo,"onTransitionEnd"),ol("onMouseEnter",["mouseout","mouseover"]),ol("onMouseLeave",["mouseout","mouseover"]),ol("onPointerEnter",["pointerout","pointerover"]),ol("onPointerLeave",["pointerout","pointerover"]),Bn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Bn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Bn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Bn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Bn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Bn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var La="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(" "),zg=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(La));function _d(t,e){e=(e&4)!==0;for(var n=0;n<t.length;n++){var a=t[n],i=a.event;a=a.listeners;t:{var f=void 0;if(e)for(var d=a.length-1;0<=d;d--){var m=a[d],b=m.instance,N=m.currentTarget;if(m=m.listener,b!==f&&i.isPropagationStopped())break t;f=m,i.currentTarget=N;try{f(i)}catch(q){Iu(q)}i.currentTarget=null,f=b}else for(d=0;d<a.length;d++){if(m=a[d],b=m.instance,N=m.currentTarget,m=m.listener,b!==f&&i.isPropagationStopped())break t;f=m,i.currentTarget=N;try{f(i)}catch(q){Iu(q)}i.currentTarget=null,f=b}}}}function st(t,e){var n=e[or];n===void 0&&(n=e[or]=new Set);var a=t+"__bubble";n.has(a)||(xd(e,t,2,!1),n.add(a))}function Ic(t,e,n){var a=0;e&&(a|=4),xd(n,t,a,e)}var di="_reactListening"+Math.random().toString(36).slice(2);function tf(t){if(!t[di]){t[di]=!0,ys.forEach(function(n){n!=="selectionchange"&&(zg.has(n)||Ic(n,!1,t),Ic(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[di]||(e[di]=!0,Ic("selectionchange",!1,e))}}function xd(t,e,n,a){switch(Kd(e)){case 2:var i=uv;break;case 8:i=iv;break;default:i=mf}n=i.bind(null,e,n,t),i=void 0,!xr||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(i=!0),a?i!==void 0?t.addEventListener(e,n,{capture:!0,passive:i}):t.addEventListener(e,n,!0):i!==void 0?t.addEventListener(e,n,{passive:i}):t.addEventListener(e,n,!1)}function ef(t,e,n,a,i){var f=a;if((e&1)===0&&(e&2)===0&&a!==null)t:for(;;){if(a===null)return;var d=a.tag;if(d===3||d===4){var m=a.stateNode.containerInfo;if(m===i)break;if(d===4)for(d=a.return;d!==null;){var b=d.tag;if((b===3||b===4)&&d.stateNode.containerInfo===i)return;d=d.return}for(;m!==null;){if(d=cl(m),d===null)return;if(b=d.tag,b===5||b===6||b===26||b===27){a=f=d;continue t}m=m.parentNode}}a=a.return}Os(function(){var N=f,q=Sr(n),L=[];t:{var M=no.get(t);if(M!==void 0){var U=Ru,nt=t;switch(t){case"keypress":if(Tu(n)===0)break t;case"keydown":case"keyup":U=wm;break;case"focusin":nt="focus",U=wr;break;case"focusout":nt="blur",U=wr;break;case"beforeblur":case"afterblur":U=wr;break;case"click":if(n.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":U=Ds;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":U=ym;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":U=Nm;break;case Ps:case Is:case to:U=vm;break;case eo:U=Dm;break;case"scroll":case"scrollend":U=hm;break;case"wheel":U=Um;break;case"copy":case"cut":case"paste":U=bm;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":U=Us;break;case"toggle":case"beforetoggle":U=Cm}var tt=(e&4)!==0,St=!tt&&(t==="scroll"||t==="scrollend"),T=tt?M!==null?M+"Capture":null:M;tt=[];for(var _=N,R;_!==null;){var B=_;if(R=B.stateNode,B=B.tag,B!==5&&B!==26&&B!==27||R===null||T===null||(B=aa(_,T),B!=null&&tt.push(Xa(_,B,R))),St)break;_=_.return}0<tt.length&&(M=new U(M,nt,null,n,q),L.push({event:M,listeners:tt}))}}if((e&7)===0){t:{if(M=t==="mouseover"||t==="pointerover",U=t==="mouseout"||t==="pointerout",M&&n!==br&&(nt=n.relatedTarget||n.fromElement)&&(cl(nt)||nt[rl]))break t;if((U||M)&&(M=q.window===q?q:(M=q.ownerDocument)?M.defaultView||M.parentWindow:window,U?(nt=n.relatedTarget||n.toElement,U=N,nt=nt?cl(nt):null,nt!==null&&(St=o(nt),tt=nt.tag,nt!==St||tt!==5&&tt!==27&&tt!==6)&&(nt=null)):(U=null,nt=N),U!==nt)){if(tt=Ds,B="onMouseLeave",T="onMouseEnter",_="mouse",(t==="pointerout"||t==="pointerover")&&(tt=Us,B="onPointerLeave",T="onPointerEnter",_="pointer"),St=U==null?M:la(U),R=nt==null?M:la(nt),M=new tt(B,_+"leave",U,n,q),M.target=St,M.relatedTarget=R,B=null,cl(q)===N&&(tt=new tt(T,_+"enter",nt,n,q),tt.target=R,tt.relatedTarget=St,B=tt),St=B,U&&nt)e:{for(tt=U,T=nt,_=0,R=tt;R;R=Gl(R))_++;for(R=0,B=T;B;B=Gl(B))R++;for(;0<_-R;)tt=Gl(tt),_--;for(;0<R-_;)T=Gl(T),R--;for(;_--;){if(tt===T||T!==null&&tt===T.alternate)break e;tt=Gl(tt),T=Gl(T)}tt=null}else tt=null;U!==null&&Ed(L,M,U,tt,!1),nt!==null&&St!==null&&Ed(L,St,nt,tt,!0)}}t:{if(M=N?la(N):window,U=M.nodeName&&M.nodeName.toLowerCase(),U==="select"||U==="input"&&M.type==="file")var k=js;else if(Ls(M))if(Gs)k=Zm;else{k=Qm;var ct=Gm}else U=M.nodeName,!U||U.toLowerCase()!=="input"||M.type!=="checkbox"&&M.type!=="radio"?N&&pr(N.elementType)&&(k=js):k=Vm;if(k&&(k=k(t,N))){Xs(L,k,n,q);break t}ct&&ct(t,M,N),t==="focusout"&&N&&M.type==="number"&&N.memoizedProps.value!=null&&vr(M,"number",M.value)}switch(ct=N?la(N):window,t){case"focusin":(Ls(ct)||ct.contentEditable==="true")&&(pl=ct,zr=N,ha=null);break;case"focusout":ha=zr=pl=null;break;case"mousedown":Ur=!0;break;case"contextmenu":case"mouseup":case"dragend":Ur=!1,Fs(L,n,q);break;case"selectionchange":if(Jm)break;case"keydown":case"keyup":Fs(L,n,q)}var W;if(Or)t:{switch(t){case"compositionstart":var et="onCompositionStart";break t;case"compositionend":et="onCompositionEnd";break t;case"compositionupdate":et="onCompositionUpdate";break t}et=void 0}else vl?Bs(t,n)&&(et="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(et="onCompositionStart");et&&(Hs&&n.locale!=="ko"&&(vl||et!=="onCompositionStart"?et==="onCompositionEnd"&&vl&&(W=Ns()):(dn=q,Er="value"in dn?dn.value:dn.textContent,vl=!0)),ct=yi(N,et),0<ct.length&&(et=new zs(et,t,null,n,q),L.push({event:et,listeners:ct}),W?et.data=W:(W=Ys(n),W!==null&&(et.data=W)))),(W=Bm?Ym(t,n):Lm(t,n))&&(et=yi(N,"onBeforeInput"),0<et.length&&(ct=new zs("onBeforeInput","beforeinput",null,n,q),L.push({event:ct,listeners:et}),ct.data=W)),Ng(L,t,N,n,q)}_d(L,e)})}function Xa(t,e,n){return{instance:t,listener:e,currentTarget:n}}function yi(t,e){for(var n=e+"Capture",a=[];t!==null;){var i=t,f=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||f===null||(i=aa(t,n),i!=null&&a.unshift(Xa(t,i,f)),i=aa(t,e),i!=null&&a.push(Xa(t,i,f))),t.tag===3)return a;t=t.return}return[]}function Gl(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Ed(t,e,n,a,i){for(var f=e._reactName,d=[];n!==null&&n!==a;){var m=n,b=m.alternate,N=m.stateNode;if(m=m.tag,b!==null&&b===a)break;m!==5&&m!==26&&m!==27||N===null||(b=N,i?(N=aa(n,f),N!=null&&d.unshift(Xa(n,N,b))):i||(N=aa(n,f),N!=null&&d.push(Xa(n,N,b)))),n=n.return}d.length!==0&&t.push({event:e,listeners:d})}var Ug=/\r\n?/g,Hg=/\u0000|\uFFFD/g;function Ad(t){return(typeof t=="string"?t:""+t).replace(Ug,`
`).replace(Hg,"")}function Td(t,e){return e=Ad(e),Ad(t)===e}function mi(){}function bt(t,e,n,a,i,f){switch(n){case"children":typeof a=="string"?e==="body"||e==="textarea"&&a===""||yl(t,a):(typeof a=="number"||typeof a=="bigint")&&e!=="body"&&yl(t,""+a);break;case"className":Su(t,"class",a);break;case"tabIndex":Su(t,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Su(t,n,a);break;case"style":ws(t,a,f);break;case"data":if(e!=="object"){Su(t,"data",a);break}case"src":case"href":if(a===""&&(e!=="a"||n!=="href")){t.removeAttribute(n);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(n);break}a=Eu(""+a),t.setAttribute(n,a);break;case"action":case"formAction":if(typeof a=="function"){t.setAttribute(n,"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 f=="function"&&(n==="formAction"?(e!=="input"&&bt(t,e,"name",i.name,i,null),bt(t,e,"formEncType",i.formEncType,i,null),bt(t,e,"formMethod",i.formMethod,i,null),bt(t,e,"formTarget",i.formTarget,i,null)):(bt(t,e,"encType",i.encType,i,null),bt(t,e,"method",i.method,i,null),bt(t,e,"target",i.target,i,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(n);break}a=Eu(""+a),t.setAttribute(n,a);break;case"onClick":a!=null&&(t.onclick=mi);break;case"onScroll":a!=null&&st("scroll",t);break;case"onScrollEnd":a!=null&&st("scrollend",t);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(c(61));if(n=a.__html,n!=null){if(i.children!=null)throw Error(c(60));t.innerHTML=n}}break;case"multiple":t.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":t.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){t.removeAttribute("xlink:href");break}n=Eu(""+a),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(n,""+a):t.removeAttribute(n);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":a&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(n,""):t.removeAttribute(n);break;case"capture":case"download":a===!0?t.setAttribute(n,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(n,a):t.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?t.setAttribute(n,a):t.removeAttribute(n);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?t.removeAttribute(n):t.setAttribute(n,a);break;case"popover":st("beforetoggle",t),st("toggle",t),bu(t,"popover",a);break;case"xlinkActuate":Ke(t,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Ke(t,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Ke(t,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Ke(t,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Ke(t,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Ke(t,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Ke(t,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Ke(t,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Ke(t,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":bu(t,"is",a);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=sm.get(n)||n,bu(t,n,a))}}function nf(t,e,n,a,i,f){switch(n){case"style":ws(t,a,f);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(c(61));if(n=a.__html,n!=null){if(i.children!=null)throw Error(c(60));t.innerHTML=n}}break;case"children":typeof a=="string"?yl(t,a):(typeof a=="number"||typeof a=="bigint")&&yl(t,""+a);break;case"onScroll":a!=null&&st("scroll",t);break;case"onScrollEnd":a!=null&&st("scrollend",t);break;case"onClick":a!=null&&(t.onclick=mi);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!ms.hasOwnProperty(n))t:{if(n[0]==="o"&&n[1]==="n"&&(i=n.endsWith("Capture"),e=n.slice(2,i?n.length-7:void 0),f=t[ee]||null,f=f!=null?f[n]:null,typeof f=="function"&&t.removeEventListener(e,f,i),typeof a=="function")){typeof f!="function"&&f!==null&&(n in t?t[n]=null:t.hasAttribute(n)&&t.removeAttribute(n)),t.addEventListener(e,a,i);break t}n in t?t[n]=a:a===!0?t.setAttribute(n,""):bu(t,n,a)}}}function Jt(t,e,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":st("error",t),st("load",t);var a=!1,i=!1,f;for(f in n)if(n.hasOwnProperty(f)){var d=n[f];if(d!=null)switch(f){case"src":a=!0;break;case"srcSet":i=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(c(137,e));default:bt(t,e,f,d,n,null)}}i&&bt(t,e,"srcSet",n.srcSet,n,null),a&&bt(t,e,"src",n.src,n,null);return;case"input":st("invalid",t);var m=f=d=i=null,b=null,N=null;for(a in n)if(n.hasOwnProperty(a)){var q=n[a];if(q!=null)switch(a){case"name":i=q;break;case"type":d=q;break;case"checked":b=q;break;case"defaultChecked":N=q;break;case"value":f=q;break;case"defaultValue":m=q;break;case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(c(137,e));break;default:bt(t,e,a,q,n,null)}}xs(t,f,m,b,N,d,i,!1),_u(t);return;case"select":st("invalid",t),a=d=f=null;for(i in n)if(n.hasOwnProperty(i)&&(m=n[i],m!=null))switch(i){case"value":f=m;break;case"defaultValue":d=m;break;case"multiple":a=m;default:bt(t,e,i,m,n,null)}e=f,n=d,t.multiple=!!a,e!=null?dl(t,!!a,e,!1):n!=null&&dl(t,!!a,n,!0);return;case"textarea":st("invalid",t),f=i=a=null;for(d in n)if(n.hasOwnProperty(d)&&(m=n[d],m!=null))switch(d){case"value":a=m;break;case"defaultValue":i=m;break;case"children":f=m;break;case"dangerouslySetInnerHTML":if(m!=null)throw Error(c(91));break;default:bt(t,e,d,m,n,null)}As(t,a,i,f),_u(t);return;case"option":for(b in n)if(n.hasOwnProperty(b)&&(a=n[b],a!=null))switch(b){case"selected":t.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:bt(t,e,b,a,n,null)}return;case"dialog":st("beforetoggle",t),st("toggle",t),st("cancel",t),st("close",t);break;case"iframe":case"object":st("load",t);break;case"video":case"audio":for(a=0;a<La.length;a++)st(La[a],t);break;case"image":st("error",t),st("load",t);break;case"details":st("toggle",t);break;case"embed":case"source":case"link":st("error",t),st("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(N in n)if(n.hasOwnProperty(N)&&(a=n[N],a!=null))switch(N){case"children":case"dangerouslySetInnerHTML":throw Error(c(137,e));default:bt(t,e,N,a,n,null)}return;default:if(pr(e)){for(q in n)n.hasOwnProperty(q)&&(a=n[q],a!==void 0&&nf(t,e,q,a,n,void 0));return}}for(m in n)n.hasOwnProperty(m)&&(a=n[m],a!=null&&bt(t,e,m,a,n,null))}function Cg(t,e,n,a){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var i=null,f=null,d=null,m=null,b=null,N=null,q=null;for(U in n){var L=n[U];if(n.hasOwnProperty(U)&&L!=null)switch(U){case"checked":break;case"value":break;case"defaultValue":b=L;default:a.hasOwnProperty(U)||bt(t,e,U,null,a,L)}}for(var M in a){var U=a[M];if(L=n[M],a.hasOwnProperty(M)&&(U!=null||L!=null))switch(M){case"type":f=U;break;case"name":i=U;break;case"checked":N=U;break;case"defaultChecked":q=U;break;case"value":d=U;break;case"defaultValue":m=U;break;case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(c(137,e));break;default:U!==L&&bt(t,e,M,U,a,L)}}gr(t,d,m,b,N,q,f,i);return;case"select":U=d=m=M=null;for(f in n)if(b=n[f],n.hasOwnProperty(f)&&b!=null)switch(f){case"value":break;case"multiple":U=b;default:a.hasOwnProperty(f)||bt(t,e,f,null,a,b)}for(i in a)if(f=a[i],b=n[i],a.hasOwnProperty(i)&&(f!=null||b!=null))switch(i){case"value":M=f;break;case"defaultValue":m=f;break;case"multiple":d=f;default:f!==b&&bt(t,e,i,f,a,b)}e=m,n=d,a=U,M!=null?dl(t,!!n,M,!1):!!a!=!!n&&(e!=null?dl(t,!!n,e,!0):dl(t,!!n,n?[]:"",!1));return;case"textarea":U=M=null;for(m in n)if(i=n[m],n.hasOwnProperty(m)&&i!=null&&!a.hasOwnProperty(m))switch(m){case"value":break;case"children":break;default:bt(t,e,m,null,a,i)}for(d in a)if(i=a[d],f=n[d],a.hasOwnProperty(d)&&(i!=null||f!=null))switch(d){case"value":M=i;break;case"defaultValue":U=i;break;case"children":break;case"dangerouslySetInnerHTML":if(i!=null)throw Error(c(91));break;default:i!==f&&bt(t,e,d,i,a,f)}Es(t,M,U);return;case"option":for(var nt in n)if(M=n[nt],n.hasOwnProperty(nt)&&M!=null&&!a.hasOwnProperty(nt))switch(nt){case"selected":t.selected=!1;break;default:bt(t,e,nt,null,a,M)}for(b in a)if(M=a[b],U=n[b],a.hasOwnProperty(b)&&M!==U&&(M!=null||U!=null))switch(b){case"selected":t.selected=M&&typeof M!="function"&&typeof M!="symbol";break;default:bt(t,e,b,M,a,U)}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 tt in n)M=n[tt],n.hasOwnProperty(tt)&&M!=null&&!a.hasOwnProperty(tt)&&bt(t,e,tt,null,a,M);for(N in a)if(M=a[N],U=n[N],a.hasOwnProperty(N)&&M!==U&&(M!=null||U!=null))switch(N){case"children":case"dangerouslySetInnerHTML":if(M!=null)throw Error(c(137,e));break;default:bt(t,e,N,M,a,U)}return;default:if(pr(e)){for(var St in n)M=n[St],n.hasOwnProperty(St)&&M!==void 0&&!a.hasOwnProperty(St)&&nf(t,e,St,void 0,a,M);for(q in a)M=a[q],U=n[q],!a.hasOwnProperty(q)||M===U||M===void 0&&U===void 0||nf(t,e,q,M,a,U);return}}for(var T in n)M=n[T],n.hasOwnProperty(T)&&M!=null&&!a.hasOwnProperty(T)&&bt(t,e,T,null,a,M);for(L in a)M=a[L],U=n[L],!a.hasOwnProperty(L)||M===U||M==null&&U==null||bt(t,e,L,M,a,U)}var lf=null,af=null;function gi(t){return t.nodeType===9?t:t.ownerDocument}function wd(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Rd(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function uf(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var rf=null;function qg(){var t=window.event;return t&&t.type==="popstate"?t===rf?!1:(rf=t,!0):(rf=null,!1)}var Od=typeof setTimeout=="function"?setTimeout:void 0,Bg=typeof clearTimeout=="function"?clearTimeout:void 0,Nd=typeof Promise=="function"?Promise:void 0,Yg=typeof queueMicrotask=="function"?queueMicrotask:typeof Nd<"u"?function(t){return Nd.resolve(null).then(t).catch(Lg)}:Od;function Lg(t){setTimeout(function(){throw t})}function Nn(t){return t==="head"}function Md(t,e){var n=e,a=0,i=0;do{var f=n.nextSibling;if(t.removeChild(n),f&&f.nodeType===8)if(n=f.data,n==="/$"){if(0<a&&8>a){n=a;var d=t.ownerDocument;if(n&1&&ja(d.documentElement),n&2&&ja(d.body),n&4)for(n=d.head,ja(n),d=n.firstChild;d;){var m=d.nextSibling,b=d.nodeName;d[na]||b==="SCRIPT"||b==="STYLE"||b==="LINK"&&d.rel.toLowerCase()==="stylesheet"||n.removeChild(d),d=m}}if(i===0){t.removeChild(f),$a(e);return}i--}else n==="$"||n==="$?"||n==="$!"?i++:a=n.charCodeAt(0)-48;else a=0;n=f}while(n);$a(e)}function cf(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var n=e;switch(e=e.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":cf(n),hr(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}t.removeChild(n)}}function Xg(t,e,n,a){for(;t.nodeType===1;){var i=n;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!a&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(a){if(!t[na])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(f=t.getAttribute("rel"),f==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(f!==i.rel||t.getAttribute("href")!==(i.href==null||i.href===""?null:i.href)||t.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin)||t.getAttribute("title")!==(i.title==null?null:i.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(f=t.getAttribute("src"),(f!==(i.src==null?null:i.src)||t.getAttribute("type")!==(i.type==null?null:i.type)||t.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin))&&f&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var f=i.name==null?null:""+i.name;if(i.type==="hidden"&&t.getAttribute("name")===f)return t}else return t;if(t=ze(t.nextSibling),t===null)break}return null}function jg(t,e,n){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n||(t=ze(t.nextSibling),t===null))return null;return t}function ff(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState==="complete"}function Gg(t,e){var n=t.ownerDocument;if(t.data!=="$?"||n.readyState==="complete")e();else{var a=function(){e(),n.removeEventListener("DOMContentLoaded",a)};n.addEventListener("DOMContentLoaded",a),t._reactRetry=a}}function ze(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="F!"||e==="F")break;if(e==="/$")return null}}return t}var sf=null;function Dd(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="$"||n==="$!"||n==="$?"){if(e===0)return t;e--}else n==="/$"&&e++}t=t.previousSibling}return null}function zd(t,e,n){switch(e=gi(n),t){case"html":if(t=e.documentElement,!t)throw Error(c(452));return t;case"head":if(t=e.head,!t)throw Error(c(453));return t;case"body":if(t=e.body,!t)throw Error(c(454));return t;default:throw Error(c(451))}}function ja(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);hr(t)}var Ne=new Map,Ud=new Set;function vi(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var rn=V.d;V.d={f:Qg,r:Vg,D:Zg,C:Kg,L:Jg,m:kg,X:Fg,S:$g,M:Wg};function Qg(){var t=rn.f(),e=ci();return t||e}function Vg(t){var e=fl(t);e!==null&&e.tag===5&&e.type==="form"?Io(e):rn.r(t)}var Ql=typeof document>"u"?null:document;function Hd(t,e,n){var a=Ql;if(a&&typeof e=="string"&&e){var i=xe(e);i='link[rel="'+t+'"][href="'+i+'"]',typeof n=="string"&&(i+='[crossorigin="'+n+'"]'),Ud.has(i)||(Ud.add(i),t={rel:t,crossOrigin:n,href:e},a.querySelector(i)===null&&(e=a.createElement("link"),Jt(e,"link",t),jt(e),a.head.appendChild(e)))}}function Zg(t){rn.D(t),Hd("dns-prefetch",t,null)}function Kg(t,e){rn.C(t,e),Hd("preconnect",t,e)}function Jg(t,e,n){rn.L(t,e,n);var a=Ql;if(a&&t&&e){var i='link[rel="preload"][as="'+xe(e)+'"]';e==="image"&&n&&n.imageSrcSet?(i+='[imagesrcset="'+xe(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(i+='[imagesizes="'+xe(n.imageSizes)+'"]')):i+='[href="'+xe(t)+'"]';var f=i;switch(e){case"style":f=Vl(t);break;case"script":f=Zl(t)}Ne.has(f)||(t=p({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),Ne.set(f,t),a.querySelector(i)!==null||e==="style"&&a.querySelector(Ga(f))||e==="script"&&a.querySelector(Qa(f))||(e=a.createElement("link"),Jt(e,"link",t),jt(e),a.head.appendChild(e)))}}function kg(t,e){rn.m(t,e);var n=Ql;if(n&&t){var a=e&&typeof e.as=="string"?e.as:"script",i='link[rel="modulepreload"][as="'+xe(a)+'"][href="'+xe(t)+'"]',f=i;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":f=Zl(t)}if(!Ne.has(f)&&(t=p({rel:"modulepreload",href:t},e),Ne.set(f,t),n.querySelector(i)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Qa(f)))return}a=n.createElement("link"),Jt(a,"link",t),jt(a),n.head.appendChild(a)}}}function $g(t,e,n){rn.S(t,e,n);var a=Ql;if(a&&t){var i=sl(a).hoistableStyles,f=Vl(t);e=e||"default";var d=i.get(f);if(!d){var m={loading:0,preload:null};if(d=a.querySelector(Ga(f)))m.loading=5;else{t=p({rel:"stylesheet",href:t,"data-precedence":e},n),(n=Ne.get(f))&&of(t,n);var b=d=a.createElement("link");jt(b),Jt(b,"link",t),b._p=new Promise(function(N,q){b.onload=N,b.onerror=q}),b.addEventListener("load",function(){m.loading|=1}),b.addEventListener("error",function(){m.loading|=2}),m.loading|=4,pi(d,e,a)}d={type:"stylesheet",instance:d,count:1,state:m},i.set(f,d)}}}function Fg(t,e){rn.X(t,e);var n=Ql;if(n&&t){var a=sl(n).hoistableScripts,i=Zl(t),f=a.get(i);f||(f=n.querySelector(Qa(i)),f||(t=p({src:t,async:!0},e),(e=Ne.get(i))&&hf(t,e),f=n.createElement("script"),jt(f),Jt(f,"link",t),n.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},a.set(i,f))}}function Wg(t,e){rn.M(t,e);var n=Ql;if(n&&t){var a=sl(n).hoistableScripts,i=Zl(t),f=a.get(i);f||(f=n.querySelector(Qa(i)),f||(t=p({src:t,async:!0,type:"module"},e),(e=Ne.get(i))&&hf(t,e),f=n.createElement("script"),jt(f),Jt(f,"link",t),n.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},a.set(i,f))}}function Cd(t,e,n,a){var i=(i=at.current)?vi(i):null;if(!i)throw Error(c(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(e=Vl(n.href),n=sl(i).hoistableStyles,a=n.get(e),a||(a={type:"style",instance:null,count:0,state:null},n.set(e,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){t=Vl(n.href);var f=sl(i).hoistableStyles,d=f.get(t);if(d||(i=i.ownerDocument||i,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},f.set(t,d),(f=i.querySelector(Ga(t)))&&!f._p&&(d.instance=f,d.state.loading=5),Ne.has(t)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Ne.set(t,n),f||Pg(i,t,n,d.state))),e&&a===null)throw Error(c(528,""));return d}if(e&&a!==null)throw Error(c(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Zl(n),n=sl(i).hoistableScripts,a=n.get(e),a||(a={type:"script",instance:null,count:0,state:null},n.set(e,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(c(444,t))}}function Vl(t){return'href="'+xe(t)+'"'}function Ga(t){return'link[rel="stylesheet"]['+t+"]"}function qd(t){return p({},t,{"data-precedence":t.precedence,precedence:null})}function Pg(t,e,n,a){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?a.loading=1:(e=t.createElement("link"),a.preload=e,e.addEventListener("load",function(){return a.loading|=1}),e.addEventListener("error",function(){return a.loading|=2}),Jt(e,"link",n),jt(e),t.head.appendChild(e))}function Zl(t){return'[src="'+xe(t)+'"]'}function Qa(t){return"script[async]"+t}function Bd(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var a=t.querySelector('style[data-href~="'+xe(n.href)+'"]');if(a)return e.instance=a,jt(a),a;var i=p({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),jt(a),Jt(a,"style",i),pi(a,n.precedence,t),e.instance=a;case"stylesheet":i=Vl(n.href);var f=t.querySelector(Ga(i));if(f)return e.state.loading|=4,e.instance=f,jt(f),f;a=qd(n),(i=Ne.get(i))&&of(a,i),f=(t.ownerDocument||t).createElement("link"),jt(f);var d=f;return d._p=new Promise(function(m,b){d.onload=m,d.onerror=b}),Jt(f,"link",a),e.state.loading|=4,pi(f,n.precedence,t),e.instance=f;case"script":return f=Zl(n.src),(i=t.querySelector(Qa(f)))?(e.instance=i,jt(i),i):(a=n,(i=Ne.get(f))&&(a=p({},n),hf(a,i)),t=t.ownerDocument||t,i=t.createElement("script"),jt(i),Jt(i,"link",a),t.head.appendChild(i),e.instance=i);case"void":return null;default:throw Error(c(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(a=e.instance,e.state.loading|=4,pi(a,n.precedence,t));return e.instance}function pi(t,e,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=a.length?a[a.length-1]:null,f=i,d=0;d<a.length;d++){var m=a[d];if(m.dataset.precedence===e)f=m;else if(f!==i)break}f?f.parentNode.insertBefore(t,f.nextSibling):(e=n.nodeType===9?n.head:n,e.insertBefore(t,e.firstChild))}function of(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function hf(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var bi=null;function Yd(t,e,n){if(bi===null){var a=new Map,i=bi=new Map;i.set(n,a)}else i=bi,a=i.get(n),a||(a=new Map,i.set(n,a));if(a.has(t))return a;for(a.set(t,null),n=n.getElementsByTagName(t),i=0;i<n.length;i++){var f=n[i];if(!(f[na]||f[kt]||t==="link"&&f.getAttribute("rel")==="stylesheet")&&f.namespaceURI!=="http://www.w3.org/2000/svg"){var d=f.getAttribute(e)||"";d=t+d;var m=a.get(d);m?m.push(f):a.set(d,[f])}}return a}function Ld(t,e,n){t=t.ownerDocument||t,t.head.insertBefore(n,e==="title"?t.querySelector("head > title"):null)}function Ig(t,e,n){if(n===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Xd(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}var Va=null;function tv(){}function ev(t,e,n){if(Va===null)throw Error(c(475));var a=Va;if(e.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(e.state.loading&4)===0){if(e.instance===null){var i=Vl(n.href),f=t.querySelector(Ga(i));if(f){t=f._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(a.count++,a=Si.bind(a),t.then(a,a)),e.state.loading|=4,e.instance=f,jt(f);return}f=t.ownerDocument||t,n=qd(n),(i=Ne.get(i))&&of(n,i),f=f.createElement("link"),jt(f);var d=f;d._p=new Promise(function(m,b){d.onload=m,d.onerror=b}),Jt(f,"link",n),e.instance=f}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(e,t),(t=e.state.preload)&&(e.state.loading&3)===0&&(a.count++,e=Si.bind(a),t.addEventListener("load",e),t.addEventListener("error",e))}}function nv(){if(Va===null)throw Error(c(475));var t=Va;return t.stylesheets&&t.count===0&&df(t,t.stylesheets),0<t.count?function(e){var n=setTimeout(function(){if(t.stylesheets&&df(t,t.stylesheets),t.unsuspend){var a=t.unsuspend;t.unsuspend=null,a()}},6e4);return t.unsuspend=e,function(){t.unsuspend=null,clearTimeout(n)}}:null}function Si(){if(this.count--,this.count===0){if(this.stylesheets)df(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var _i=null;function df(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,_i=new Map,e.forEach(lv,t),_i=null,Si.call(t))}function lv(t,e){if(!(e.state.loading&4)){var n=_i.get(t);if(n)var a=n.get(null);else{n=new Map,_i.set(t,n);for(var i=t.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<i.length;f++){var d=i[f];(d.nodeName==="LINK"||d.getAttribute("media")!=="not all")&&(n.set(d.dataset.precedence,d),a=d)}a&&n.set(null,a)}i=e.instance,d=i.getAttribute("data-precedence"),f=n.get(d)||a,f===a&&n.set(null,i),n.set(d,i),this.count++,a=Si.bind(this),i.addEventListener("load",a),i.addEventListener("error",a),f?f.parentNode.insertBefore(i,f.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(i,t.firstChild)),e.state.loading|=4}}var Za={$$typeof:j,Provider:null,Consumer:null,_currentValue:P,_currentValue2:P,_threadCount:0};function av(t,e,n,a,i,f,d,m){this.tag=1,this.containerInfo=t,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=cr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=cr(0),this.hiddenUpdates=cr(null),this.identifierPrefix=a,this.onUncaughtError=i,this.onCaughtError=f,this.onRecoverableError=d,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=m,this.incompleteTransitions=new Map}function jd(t,e,n,a,i,f,d,m,b,N,q,L){return t=new av(t,e,n,d,m,b,N,L),e=1,f===!0&&(e|=24),f=he(3,null,null,e),t.current=f,f.stateNode=t,e=Jr(),e.refCount++,t.pooledCache=e,e.refCount++,f.memoizedState={element:a,isDehydrated:n,cache:e},Wr(f),t}function Gd(t){return t?(t=xl,t):xl}function Qd(t,e,n,a,i,f){i=Gd(i),a.context===null?a.context=i:a.pendingContext=i,a=gn(e),a.payload={element:n},f=f===void 0?null:f,f!==null&&(a.callback=f),n=vn(t,a,e),n!==null&&(ve(n,t,e),_a(n,t,e))}function Vd(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function yf(t,e){Vd(t,e),(t=t.alternate)&&Vd(t,e)}function Zd(t){if(t.tag===13){var e=_l(t,67108864);e!==null&&ve(e,t,67108864),yf(t,67108864)}}var xi=!0;function uv(t,e,n,a){var i=C.T;C.T=null;var f=V.p;try{V.p=2,mf(t,e,n,a)}finally{V.p=f,C.T=i}}function iv(t,e,n,a){var i=C.T;C.T=null;var f=V.p;try{V.p=8,mf(t,e,n,a)}finally{V.p=f,C.T=i}}function mf(t,e,n,a){if(xi){var i=gf(a);if(i===null)ef(t,e,a,Ei,n),Jd(t,a);else if(cv(i,t,e,n,a))a.stopPropagation();else if(Jd(t,a),e&4&&-1<rv.indexOf(t)){for(;i!==null;){var f=fl(i);if(f!==null)switch(f.tag){case 3:if(f=f.stateNode,f.current.memoizedState.isDehydrated){var d=qn(f.pendingLanes);if(d!==0){var m=f;for(m.pendingLanes|=2,m.entangledLanes|=2;d;){var b=1<<31-se(d);m.entanglements[1]|=b,d&=~b}Ge(f),(gt&6)===0&&(ii=Be()+500,Ya(0))}}break;case 13:m=_l(f,2),m!==null&&ve(m,f,2),ci(),yf(f,2)}if(f=gf(a),f===null&&ef(t,e,a,Ei,n),f===i)break;i=f}i!==null&&a.stopPropagation()}else ef(t,e,a,null,n)}}function gf(t){return t=Sr(t),vf(t)}var Ei=null;function vf(t){if(Ei=null,t=cl(t),t!==null){var e=o(t);if(e===null)t=null;else{var n=e.tag;if(n===13){if(t=h(e),t!==null)return t;t=null}else if(n===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return Ei=t,null}function Kd(t){switch(t){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(Ky()){case us:return 2;case is:return 8;case mu:case Jy:return 32;case rs:return 268435456;default:return 32}default:return 32}}var pf=!1,Mn=null,Dn=null,zn=null,Ka=new Map,Ja=new Map,Un=[],rv="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 Jd(t,e){switch(t){case"focusin":case"focusout":Mn=null;break;case"dragenter":case"dragleave":Dn=null;break;case"mouseover":case"mouseout":zn=null;break;case"pointerover":case"pointerout":Ka.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ja.delete(e.pointerId)}}function ka(t,e,n,a,i,f){return t===null||t.nativeEvent!==f?(t={blockedOn:e,domEventName:n,eventSystemFlags:a,nativeEvent:f,targetContainers:[i]},e!==null&&(e=fl(e),e!==null&&Zd(e)),t):(t.eventSystemFlags|=a,e=t.targetContainers,i!==null&&e.indexOf(i)===-1&&e.push(i),t)}function cv(t,e,n,a,i){switch(e){case"focusin":return Mn=ka(Mn,t,e,n,a,i),!0;case"dragenter":return Dn=ka(Dn,t,e,n,a,i),!0;case"mouseover":return zn=ka(zn,t,e,n,a,i),!0;case"pointerover":var f=i.pointerId;return Ka.set(f,ka(Ka.get(f)||null,t,e,n,a,i)),!0;case"gotpointercapture":return f=i.pointerId,Ja.set(f,ka(Ja.get(f)||null,t,e,n,a,i)),!0}return!1}function kd(t){var e=cl(t.target);if(e!==null){var n=o(e);if(n!==null){if(e=n.tag,e===13){if(e=h(n),e!==null){t.blockedOn=e,em(t.priority,function(){if(n.tag===13){var a=ge();a=fr(a);var i=_l(n,a);i!==null&&ve(i,n,a),yf(n,a)}});return}}else if(e===3&&n.stateNode.current.memoizedState.isDehydrated){t.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Ai(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=gf(t.nativeEvent);if(n===null){n=t.nativeEvent;var a=new n.constructor(n.type,n);br=a,n.target.dispatchEvent(a),br=null}else return e=fl(n),e!==null&&Zd(e),t.blockedOn=n,!1;e.shift()}return!0}function $d(t,e,n){Ai(t)&&n.delete(e)}function fv(){pf=!1,Mn!==null&&Ai(Mn)&&(Mn=null),Dn!==null&&Ai(Dn)&&(Dn=null),zn!==null&&Ai(zn)&&(zn=null),Ka.forEach($d),Ja.forEach($d)}function Ti(t,e){t.blockedOn===e&&(t.blockedOn=null,pf||(pf=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,fv)))}var wi=null;function Fd(t){wi!==t&&(wi=t,l.unstable_scheduleCallback(l.unstable_NormalPriority,function(){wi===t&&(wi=null);for(var e=0;e<t.length;e+=3){var n=t[e],a=t[e+1],i=t[e+2];if(typeof a!="function"){if(vf(a||n)===null)continue;break}var f=fl(n);f!==null&&(t.splice(e,3),e-=3,gc(f,{pending:!0,data:i,method:n.method,action:a},a,i))}}))}function $a(t){function e(b){return Ti(b,t)}Mn!==null&&Ti(Mn,t),Dn!==null&&Ti(Dn,t),zn!==null&&Ti(zn,t),Ka.forEach(e),Ja.forEach(e);for(var n=0;n<Un.length;n++){var a=Un[n];a.blockedOn===t&&(a.blockedOn=null)}for(;0<Un.length&&(n=Un[0],n.blockedOn===null);)kd(n),n.blockedOn===null&&Un.shift();if(n=(t.ownerDocument||t).$$reactFormReplay,n!=null)for(a=0;a<n.length;a+=3){var i=n[a],f=n[a+1],d=i[ee]||null;if(typeof f=="function")d||Fd(n);else if(d){var m=null;if(f&&f.hasAttribute("formAction")){if(i=f,d=f[ee]||null)m=d.formAction;else if(vf(i)!==null)continue}else m=d.action;typeof m=="function"?n[a+1]=m:(n.splice(a,3),a-=3),Fd(n)}}}function bf(t){this._internalRoot=t}Ri.prototype.render=bf.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(c(409));var n=e.current,a=ge();Qd(n,a,t,e,null,null)},Ri.prototype.unmount=bf.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;Qd(t.current,2,null,t,null,null),ci(),e[rl]=null}};function Ri(t){this._internalRoot=t}Ri.prototype.unstable_scheduleHydration=function(t){if(t){var e=hs();t={blockedOn:null,target:t,priority:e};for(var n=0;n<Un.length&&e!==0&&e<Un[n].priority;n++);Un.splice(n,0,t),n===0&&kd(t)}};var Wd=u.version;if(Wd!=="19.1.0")throw Error(c(527,Wd,"19.1.0"));V.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(c(188)):(t=Object.keys(t).join(","),Error(c(268,t)));return t=v(e),t=t!==null?y(t):null,t=t===null?null:t.stateNode,t};var sv={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:C,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Oi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Oi.isDisabled&&Oi.supportsFiber)try{Il=Oi.inject(sv),fe=Oi}catch{}}return Wa.createRoot=function(t,e){if(!s(t))throw Error(c(299));var n=!1,a="",i=dh,f=yh,d=mh,m=null;return e!=null&&(e.unstable_strictMode===!0&&(n=!0),e.identifierPrefix!==void 0&&(a=e.identifierPrefix),e.onUncaughtError!==void 0&&(i=e.onUncaughtError),e.onCaughtError!==void 0&&(f=e.onCaughtError),e.onRecoverableError!==void 0&&(d=e.onRecoverableError),e.unstable_transitionCallbacks!==void 0&&(m=e.unstable_transitionCallbacks)),e=jd(t,1,!1,null,null,n,a,i,f,d,m,null),t[rl]=e.current,tf(t),new bf(e)},Wa.hydrateRoot=function(t,e,n){if(!s(t))throw Error(c(299));var a=!1,i="",f=dh,d=yh,m=mh,b=null,N=null;return n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onUncaughtError!==void 0&&(f=n.onUncaughtError),n.onCaughtError!==void 0&&(d=n.onCaughtError),n.onRecoverableError!==void 0&&(m=n.onRecoverableError),n.unstable_transitionCallbacks!==void 0&&(b=n.unstable_transitionCallbacks),n.formState!==void 0&&(N=n.formState)),e=jd(t,1,!0,e,n??null,a,i,f,d,m,b,N),e.context=Gd(null),n=e.current,a=ge(),a=fr(a),i=gn(a),i.callback=null,vn(n,i,a),n=a,e.current.lanes=n,ea(e,n),Ge(e),t[rl]=e.current,tf(t),new Ri(e)},Wa.version="19.1.0",Wa}var r0;function Sv(){if(r0)return xf.exports;r0=1;function l(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(u){console.error(u)}}return l(),xf.exports=bv(),xf.exports}var _v=Sv(),xv={value:()=>{}};function Ji(){for(var l=0,u=arguments.length,r={},c;l<u;++l){if(!(c=arguments[l]+"")||c in r||/[\s.]/.test(c))throw new Error("illegal type: "+c);r[c]=[]}return new Ui(r)}function Ui(l){this._=l}function Ev(l,u){return l.trim().split(/^|\s+/).map(function(r){var c="",s=r.indexOf(".");if(s>=0&&(c=r.slice(s+1),r=r.slice(0,s)),r&&!u.hasOwnProperty(r))throw new Error("unknown type: "+r);return{type:r,name:c}})}Ui.prototype=Ji.prototype={constructor:Ui,on:function(l,u){var r=this._,c=Ev(l+"",r),s,o=-1,h=c.length;if(arguments.length<2){for(;++o<h;)if((s=(l=c[o]).type)&&(s=Av(r[s],l.name)))return s;return}if(u!=null&&typeof u!="function")throw new Error("invalid callback: "+u);for(;++o<h;)if(s=(l=c[o]).type)r[s]=c0(r[s],l.name,u);else if(u==null)for(s in r)r[s]=c0(r[s],l.name,null);return this},copy:function(){var l={},u=this._;for(var r in u)l[r]=u[r].slice();return new Ui(l)},call:function(l,u){if((s=arguments.length-2)>0)for(var r=new Array(s),c=0,s,o;c<s;++c)r[c]=arguments[c+2];if(!this._.hasOwnProperty(l))throw new Error("unknown type: "+l);for(o=this._[l],c=0,s=o.length;c<s;++c)o[c].value.apply(u,r)},apply:function(l,u,r){if(!this._.hasOwnProperty(l))throw new Error("unknown type: "+l);for(var c=this._[l],s=0,o=c.length;s<o;++s)c[s].value.apply(u,r)}};function Av(l,u){for(var r=0,c=l.length,s;r<c;++r)if((s=l[r]).name===u)return s.value}function c0(l,u,r){for(var c=0,s=l.length;c<s;++c)if(l[c].name===u){l[c]=xv,l=l.slice(0,c).concat(l.slice(c+1));break}return r!=null&&l.push({name:u,value:r}),l}var Uf="http://www.w3.org/1999/xhtml";const f0={svg:"http://www.w3.org/2000/svg",xhtml:Uf,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function ki(l){var u=l+="",r=u.indexOf(":");return r>=0&&(u=l.slice(0,r))!=="xmlns"&&(l=l.slice(r+1)),f0.hasOwnProperty(u)?{space:f0[u],local:l}:l}function Tv(l){return function(){var u=this.ownerDocument,r=this.namespaceURI;return r===Uf&&u.documentElement.namespaceURI===Uf?u.createElement(l):u.createElementNS(r,l)}}function wv(l){return function(){return this.ownerDocument.createElementNS(l.space,l.local)}}function K0(l){var u=ki(l);return(u.local?wv:Tv)(u)}function Rv(){}function kf(l){return l==null?Rv:function(){return this.querySelector(l)}}function Ov(l){typeof l!="function"&&(l=kf(l));for(var u=this._groups,r=u.length,c=new Array(r),s=0;s<r;++s)for(var o=u[s],h=o.length,g=c[s]=new Array(h),v,y,p=0;p<h;++p)(v=o[p])&&(y=l.call(v,v.__data__,p,o))&&("__data__"in v&&(y.__data__=v.__data__),g[p]=y);return new be(c,this._parents)}function Nv(l){return l==null?[]:Array.isArray(l)?l:Array.from(l)}function Mv(){return[]}function J0(l){return l==null?Mv:function(){return this.querySelectorAll(l)}}function Dv(l){return function(){return Nv(l.apply(this,arguments))}}function zv(l){typeof l=="function"?l=Dv(l):l=J0(l);for(var u=this._groups,r=u.length,c=[],s=[],o=0;o<r;++o)for(var h=u[o],g=h.length,v,y=0;y<g;++y)(v=h[y])&&(c.push(l.call(v,v.__data__,y,h)),s.push(v));return new be(c,s)}function k0(l){return function(){return this.matches(l)}}function $0(l){return function(u){return u.matches(l)}}var Uv=Array.prototype.find;function Hv(l){return function(){return Uv.call(this.children,l)}}function Cv(){return this.firstElementChild}function qv(l){return this.select(l==null?Cv:Hv(typeof l=="function"?l:$0(l)))}var Bv=Array.prototype.filter;function Yv(){return Array.from(this.children)}function Lv(l){return function(){return Bv.call(this.children,l)}}function Xv(l){return this.selectAll(l==null?Yv:Lv(typeof l=="function"?l:$0(l)))}function jv(l){typeof l!="function"&&(l=k0(l));for(var u=this._groups,r=u.length,c=new Array(r),s=0;s<r;++s)for(var o=u[s],h=o.length,g=c[s]=[],v,y=0;y<h;++y)(v=o[y])&&l.call(v,v.__data__,y,o)&&g.push(v);return new be(c,this._parents)}function F0(l){return new Array(l.length)}function Gv(){return new be(this._enter||this._groups.map(F0),this._parents)}function Li(l,u){this.ownerDocument=l.ownerDocument,this.namespaceURI=l.namespaceURI,this._next=null,this._parent=l,this.__data__=u}Li.prototype={constructor:Li,appendChild:function(l){return this._parent.insertBefore(l,this._next)},insertBefore:function(l,u){return this._parent.insertBefore(l,u)},querySelector:function(l){return this._parent.querySelector(l)},querySelectorAll:function(l){return this._parent.querySelectorAll(l)}};function Qv(l){return function(){return l}}function Vv(l,u,r,c,s,o){for(var h=0,g,v=u.length,y=o.length;h<y;++h)(g=u[h])?(g.__data__=o[h],c[h]=g):r[h]=new Li(l,o[h]);for(;h<v;++h)(g=u[h])&&(s[h]=g)}function Zv(l,u,r,c,s,o,h){var g,v,y=new Map,p=u.length,x=o.length,w=new Array(p),E;for(g=0;g<p;++g)(v=u[g])&&(w[g]=E=h.call(v,v.__data__,g,u)+"",y.has(E)?s[g]=v:y.set(E,v));for(g=0;g<x;++g)E=h.call(l,o[g],g,o)+"",(v=y.get(E))?(c[g]=v,v.__data__=o[g],y.delete(E)):r[g]=new Li(l,o[g]);for(g=0;g<p;++g)(v=u[g])&&y.get(w[g])===v&&(s[g]=v)}function Kv(l){return l.__data__}function Jv(l,u){if(!arguments.length)return Array.from(this,Kv);var r=u?Zv:Vv,c=this._parents,s=this._groups;typeof l!="function"&&(l=Qv(l));for(var o=s.length,h=new Array(o),g=new Array(o),v=new Array(o),y=0;y<o;++y){var p=c[y],x=s[y],w=x.length,E=kv(l.call(p,p&&p.__data__,y,c)),z=E.length,O=g[y]=new Array(z),A=h[y]=new Array(z),Y=v[y]=new Array(w);r(p,x,O,A,Y,E,u);for(var Q=0,j=0,D,X;Q<z;++Q)if(D=O[Q]){for(Q>=j&&(j=Q+1);!(X=A[j])&&++j<z;);D._next=X||null}}return h=new be(h,c),h._enter=g,h._exit=v,h}function kv(l){return typeof l=="object"&&"length"in l?l:Array.from(l)}function $v(){return new be(this._exit||this._groups.map(F0),this._parents)}function Fv(l,u,r){var c=this.enter(),s=this,o=this.exit();return typeof l=="function"?(c=l(c),c&&(c=c.selection())):c=c.append(l+""),u!=null&&(s=u(s),s&&(s=s.selection())),r==null?o.remove():r(o),c&&s?c.merge(s).order():s}function Wv(l){for(var u=l.selection?l.selection():l,r=this._groups,c=u._groups,s=r.length,o=c.length,h=Math.min(s,o),g=new Array(s),v=0;v<h;++v)for(var y=r[v],p=c[v],x=y.length,w=g[v]=new Array(x),E,z=0;z<x;++z)(E=y[z]||p[z])&&(w[z]=E);for(;v<s;++v)g[v]=r[v];return new be(g,this._parents)}function Pv(){for(var l=this._groups,u=-1,r=l.length;++u<r;)for(var c=l[u],s=c.length-1,o=c[s],h;--s>=0;)(h=c[s])&&(o&&h.compareDocumentPosition(o)^4&&o.parentNode.insertBefore(h,o),o=h);return this}function Iv(l){l||(l=t1);function u(x,w){return x&&w?l(x.__data__,w.__data__):!x-!w}for(var r=this._groups,c=r.length,s=new Array(c),o=0;o<c;++o){for(var h=r[o],g=h.length,v=s[o]=new Array(g),y,p=0;p<g;++p)(y=h[p])&&(v[p]=y);v.sort(u)}return new be(s,this._parents).order()}function t1(l,u){return l<u?-1:l>u?1:l>=u?0:NaN}function e1(){var l=arguments[0];return arguments[0]=this,l.apply(null,arguments),this}function n1(){return Array.from(this)}function l1(){for(var l=this._groups,u=0,r=l.length;u<r;++u)for(var c=l[u],s=0,o=c.length;s<o;++s){var h=c[s];if(h)return h}return null}function a1(){let l=0;for(const u of this)++l;return l}function u1(){return!this.node()}function i1(l){for(var u=this._groups,r=0,c=u.length;r<c;++r)for(var s=u[r],o=0,h=s.length,g;o<h;++o)(g=s[o])&&l.call(g,g.__data__,o,s);return this}function r1(l){return function(){this.removeAttribute(l)}}function c1(l){return function(){this.removeAttributeNS(l.space,l.local)}}function f1(l,u){return function(){this.setAttribute(l,u)}}function s1(l,u){return function(){this.setAttributeNS(l.space,l.local,u)}}function o1(l,u){return function(){var r=u.apply(this,arguments);r==null?this.removeAttribute(l):this.setAttribute(l,r)}}function h1(l,u){return function(){var r=u.apply(this,arguments);r==null?this.removeAttributeNS(l.space,l.local):this.setAttributeNS(l.space,l.local,r)}}function d1(l,u){var r=ki(l);if(arguments.length<2){var c=this.node();return r.local?c.getAttributeNS(r.space,r.local):c.getAttribute(r)}return this.each((u==null?r.local?c1:r1:typeof u=="function"?r.local?h1:o1:r.local?s1:f1)(r,u))}function W0(l){return l.ownerDocument&&l.ownerDocument.defaultView||l.document&&l||l.defaultView}function y1(l){return function(){this.style.removeProperty(l)}}function m1(l,u,r){return function(){this.style.setProperty(l,u,r)}}function g1(l,u,r){return function(){var c=u.apply(this,arguments);c==null?this.style.removeProperty(l):this.style.setProperty(l,c,r)}}function v1(l,u,r){return arguments.length>1?this.each((u==null?y1:typeof u=="function"?g1:m1)(l,u,r??"")):$l(this.node(),l)}function $l(l,u){return l.style.getPropertyValue(u)||W0(l).getComputedStyle(l,null).getPropertyValue(u)}function p1(l){return function(){delete this[l]}}function b1(l,u){return function(){this[l]=u}}function S1(l,u){return function(){var r=u.apply(this,arguments);r==null?delete this[l]:this[l]=r}}function _1(l,u){return arguments.length>1?this.each((u==null?p1:typeof u=="function"?S1:b1)(l,u)):this.node()[l]}function P0(l){return l.trim().split(/^|\s+/)}function $f(l){return l.classList||new I0(l)}function I0(l){this._node=l,this._names=P0(l.getAttribute("class")||"")}I0.prototype={add:function(l){var u=this._names.indexOf(l);u<0&&(this._names.push(l),this._node.setAttribute("class",this._names.join(" ")))},remove:function(l){var u=this._names.indexOf(l);u>=0&&(this._names.splice(u,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(l){return this._names.indexOf(l)>=0}};function ty(l,u){for(var r=$f(l),c=-1,s=u.length;++c<s;)r.add(u[c])}function ey(l,u){for(var r=$f(l),c=-1,s=u.length;++c<s;)r.remove(u[c])}function x1(l){return function(){ty(this,l)}}function E1(l){return function(){ey(this,l)}}function A1(l,u){return function(){(u.apply(this,arguments)?ty:ey)(this,l)}}function T1(l,u){var r=P0(l+"");if(arguments.length<2){for(var c=$f(this.node()),s=-1,o=r.length;++s<o;)if(!c.contains(r[s]))return!1;return!0}return this.each((typeof u=="function"?A1:u?x1:E1)(r,u))}function w1(){this.textContent=""}function R1(l){return function(){this.textContent=l}}function O1(l){return function(){var u=l.apply(this,arguments);this.textContent=u??""}}function N1(l){return arguments.length?this.each(l==null?w1:(typeof l=="function"?O1:R1)(l)):this.node().textContent}function M1(){this.innerHTML=""}function D1(l){return function(){this.innerHTML=l}}function z1(l){return function(){var u=l.apply(this,arguments);this.innerHTML=u??""}}function U1(l){return arguments.length?this.each(l==null?M1:(typeof l=="function"?z1:D1)(l)):this.node().innerHTML}function H1(){this.nextSibling&&this.parentNode.appendChild(this)}function C1(){return this.each(H1)}function q1(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function B1(){return this.each(q1)}function Y1(l){var u=typeof l=="function"?l:K0(l);return this.select(function(){return this.appendChild(u.apply(this,arguments))})}function L1(){return null}function X1(l,u){var r=typeof l=="function"?l:K0(l),c=u==null?L1:typeof u=="function"?u:kf(u);return this.select(function(){return this.insertBefore(r.apply(this,arguments),c.apply(this,arguments)||null)})}function j1(){var l=this.parentNode;l&&l.removeChild(this)}function G1(){return this.each(j1)}function Q1(){var l=this.cloneNode(!1),u=this.parentNode;return u?u.insertBefore(l,this.nextSibling):l}function V1(){var l=this.cloneNode(!0),u=this.parentNode;return u?u.insertBefore(l,this.nextSibling):l}function Z1(l){return this.select(l?V1:Q1)}function K1(l){return arguments.length?this.property("__data__",l):this.node().__data__}function J1(l){return function(u){l.call(this,u,this.__data__)}}function k1(l){return l.trim().split(/^|\s+/).map(function(u){var r="",c=u.indexOf(".");return c>=0&&(r=u.slice(c+1),u=u.slice(0,c)),{type:u,name:r}})}function $1(l){return function(){var u=this.__on;if(u){for(var r=0,c=-1,s=u.length,o;r<s;++r)o=u[r],(!l.type||o.type===l.type)&&o.name===l.name?this.removeEventListener(o.type,o.listener,o.options):u[++c]=o;++c?u.length=c:delete this.__on}}}function F1(l,u,r){return function(){var c=this.__on,s,o=J1(u);if(c){for(var h=0,g=c.length;h<g;++h)if((s=c[h]).type===l.type&&s.name===l.name){this.removeEventListener(s.type,s.listener,s.options),this.addEventListener(s.type,s.listener=o,s.options=r),s.value=u;return}}this.addEventListener(l.type,o,r),s={type:l.type,name:l.name,value:u,listener:o,options:r},c?c.push(s):this.__on=[s]}}function W1(l,u,r){var c=k1(l+""),s,o=c.length,h;if(arguments.length<2){var g=this.node().__on;if(g){for(var v=0,y=g.length,p;v<y;++v)for(s=0,p=g[v];s<o;++s)if((h=c[s]).type===p.type&&h.name===p.name)return p.value}return}for(g=u?F1:$1,s=0;s<o;++s)this.each(g(c[s],u,r));return this}function ny(l,u,r){var c=W0(l),s=c.CustomEvent;typeof s=="function"?s=new s(u,r):(s=c.document.createEvent("Event"),r?(s.initEvent(u,r.bubbles,r.cancelable),s.detail=r.detail):s.initEvent(u,!1,!1)),l.dispatchEvent(s)}function P1(l,u){return function(){return ny(this,l,u)}}function I1(l,u){return function(){return ny(this,l,u.apply(this,arguments))}}function tp(l,u){return this.each((typeof u=="function"?I1:P1)(l,u))}function*ep(){for(var l=this._groups,u=0,r=l.length;u<r;++u)for(var c=l[u],s=0,o=c.length,h;s<o;++s)(h=c[s])&&(yield h)}var ly=[null];function be(l,u){this._groups=l,this._parents=u}function su(){return new be([[document.documentElement]],ly)}function np(){return this}be.prototype=su.prototype={constructor:be,select:Ov,selectAll:zv,selectChild:qv,selectChildren:Xv,filter:jv,data:Jv,enter:Gv,exit:$v,join:Fv,merge:Wv,selection:np,order:Pv,sort:Iv,call:e1,nodes:n1,node:l1,size:a1,empty:u1,each:i1,attr:d1,style:v1,property:_1,classed:T1,text:N1,html:U1,raise:C1,lower:B1,append:Y1,insert:X1,remove:G1,clone:Z1,datum:K1,on:W1,dispatch:tp,[Symbol.iterator]:ep};function nl(l){return typeof l=="string"?new be([[document.querySelector(l)]],[document.documentElement]):new be([[l]],ly)}function lp(l){let u;for(;u=l.sourceEvent;)l=u;return l}function s0(l,u){if(l=lp(l),u===void 0&&(u=l.currentTarget),u){var r=u.ownerSVGElement||u;if(r.createSVGPoint){var c=r.createSVGPoint();return c.x=l.clientX,c.y=l.clientY,c=c.matrixTransform(u.getScreenCTM().inverse()),[c.x,c.y]}if(u.getBoundingClientRect){var s=u.getBoundingClientRect();return[l.clientX-s.left-u.clientLeft,l.clientY-s.top-u.clientTop]}}return[l.pageX,l.pageY]}const ap={passive:!1},au={capture:!0,passive:!1};function wf(l){l.stopImmediatePropagation()}function Jl(l){l.preventDefault(),l.stopImmediatePropagation()}function up(l){var u=l.document.documentElement,r=nl(l).on("dragstart.drag",Jl,au);"onselectstart"in u?r.on("selectstart.drag",Jl,au):(u.__noselect=u.style.MozUserSelect,u.style.MozUserSelect="none")}function ip(l,u){var r=l.document.documentElement,c=nl(l).on("dragstart.drag",null);u&&(c.on("click.drag",Jl,au),setTimeout(function(){c.on("click.drag",null)},0)),"onselectstart"in r?c.on("selectstart.drag",null):(r.style.MozUserSelect=r.__noselect,delete r.__noselect)}const Ni=l=>()=>l;function Hf(l,{sourceEvent:u,subject:r,target:c,identifier:s,active:o,x:h,y:g,dx:v,dy:y,dispatch:p}){Object.defineProperties(this,{type:{value:l,enumerable:!0,configurable:!0},sourceEvent:{value:u,enumerable:!0,configurable:!0},subject:{value:r,enumerable:!0,configurable:!0},target:{value:c,enumerable:!0,configurable:!0},identifier:{value:s,enumerable:!0,configurable:!0},active:{value:o,enumerable:!0,configurable:!0},x:{value:h,enumerable:!0,configurable:!0},y:{value:g,enumerable:!0,configurable:!0},dx:{value:v,enumerable:!0,configurable:!0},dy:{value:y,enumerable:!0,configurable:!0},_:{value:p}})}Hf.prototype.on=function(){var l=this._.on.apply(this._,arguments);return l===this._?this:l};function rp(l){return!l.ctrlKey&&!l.button}function cp(){return this.parentNode}function fp(l,u){return u??{x:l.x,y:l.y}}function sp(){return navigator.maxTouchPoints||"ontouchstart"in this}function op(){var l=rp,u=cp,r=fp,c=sp,s={},o=Ji("start","drag","end"),h=0,g,v,y,p,x=0;function w(D){D.on("mousedown.drag",E).filter(c).on("touchstart.drag",A).on("touchmove.drag",Y,ap).on("touchend.drag touchcancel.drag",Q).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function E(D,X){if(!(p||!l.call(this,D,X))){var J=j(this,u.call(this,D,X),D,X,"mouse");J&&(nl(D.view).on("mousemove.drag",z,au).on("mouseup.drag",O,au),up(D.view),wf(D),y=!1,g=D.clientX,v=D.clientY,J("start",D))}}function z(D){if(Jl(D),!y){var X=D.clientX-g,J=D.clientY-v;y=X*X+J*J>x}s.mouse("drag",D)}function O(D){nl(D.view).on("mousemove.drag mouseup.drag",null),ip(D.view,y),Jl(D),s.mouse("end",D)}function A(D,X){if(l.call(this,D,X)){var J=D.changedTouches,$=u.call(this,D,X),F=J.length,lt,Dt;for(lt=0;lt<F;++lt)(Dt=j(this,$,D,X,J[lt].identifier,J[lt]))&&(wf(D),Dt("start",D,J[lt]))}}function Y(D){var X=D.changedTouches,J=X.length,$,F;for($=0;$<J;++$)(F=s[X[$].identifier])&&(Jl(D),F("drag",D,X[$]))}function Q(D){var X=D.changedTouches,J=X.length,$,F;for(p&&clearTimeout(p),p=setTimeout(function(){p=null},500),$=0;$<J;++$)(F=s[X[$].identifier])&&(wf(D),F("end",D,X[$]))}function j(D,X,J,$,F,lt){var Dt=o.copy(),Ht=s0(lt||J,X),Bt,qe,Se;if((Se=r.call(D,new Hf("beforestart",{sourceEvent:J,target:w,identifier:F,active:h,x:Ht[0],y:Ht[1],dx:0,dy:0,dispatch:Dt}),$))!=null)return Bt=Se.x-Ht[0]||0,qe=Se.y-Ht[1]||0,function Xt(C,V,P){var mt=Ht,S;switch(C){case"start":s[F]=Xt,S=h++;break;case"end":delete s[F],--h;case"drag":Ht=s0(P||V,X),S=h;break}Dt.call(C,D,new Hf(C,{sourceEvent:V,subject:Se,target:w,identifier:F,active:S,x:Ht[0]+Bt,y:Ht[1]+qe,dx:Ht[0]-mt[0],dy:Ht[1]-mt[1],dispatch:Dt}),$)}}return w.filter=function(D){return arguments.length?(l=typeof D=="function"?D:Ni(!!D),w):l},w.container=function(D){return arguments.length?(u=typeof D=="function"?D:Ni(D),w):u},w.subject=function(D){return arguments.length?(r=typeof D=="function"?D:Ni(D),w):r},w.touchable=function(D){return arguments.length?(c=typeof D=="function"?D:Ni(!!D),w):c},w.on=function(){var D=o.on.apply(o,arguments);return D===o?w:D},w.clickDistance=function(D){return arguments.length?(x=(D=+D)*D,w):Math.sqrt(x)},w}function Ff(l,u,r){l.prototype=u.prototype=r,r.constructor=l}function ay(l,u){var r=Object.create(l.prototype);for(var c in u)r[c]=u[c];return r}function ou(){}var uu=.7,Xi=1/uu,kl="\\s*([+-]?\\d+)\\s*",iu="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Ve="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",hp=/^#([0-9a-f]{3,8})$/,dp=new RegExp(`^rgb\\(${kl},${kl},${kl}\\)$`),yp=new RegExp(`^rgb\\(${Ve},${Ve},${Ve}\\)$`),mp=new RegExp(`^rgba\\(${kl},${kl},${kl},${iu}\\)$`),gp=new RegExp(`^rgba\\(${Ve},${Ve},${Ve},${iu}\\)$`),vp=new RegExp(`^hsl\\(${iu},${Ve},${Ve}\\)$`),pp=new RegExp(`^hsla\\(${iu},${Ve},${Ve},${iu}\\)$`),o0={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};Ff(ou,ru,{copy(l){return Object.assign(new this.constructor,this,l)},displayable(){return this.rgb().displayable()},hex:h0,formatHex:h0,formatHex8:bp,formatHsl:Sp,formatRgb:d0,toString:d0});function h0(){return this.rgb().formatHex()}function bp(){return this.rgb().formatHex8()}function Sp(){return uy(this).formatHsl()}function d0(){return this.rgb().formatRgb()}function ru(l){var u,r;return l=(l+"").trim().toLowerCase(),(u=hp.exec(l))?(r=u[1].length,u=parseInt(u[1],16),r===6?y0(u):r===3?new ie(u>>8&15|u>>4&240,u>>4&15|u&240,(u&15)<<4|u&15,1):r===8?Mi(u>>24&255,u>>16&255,u>>8&255,(u&255)/255):r===4?Mi(u>>12&15|u>>8&240,u>>8&15|u>>4&240,u>>4&15|u&240,((u&15)<<4|u&15)/255):null):(u=dp.exec(l))?new ie(u[1],u[2],u[3],1):(u=yp.exec(l))?new ie(u[1]*255/100,u[2]*255/100,u[3]*255/100,1):(u=mp.exec(l))?Mi(u[1],u[2],u[3],u[4]):(u=gp.exec(l))?Mi(u[1]*255/100,u[2]*255/100,u[3]*255/100,u[4]):(u=vp.exec(l))?v0(u[1],u[2]/100,u[3]/100,1):(u=pp.exec(l))?v0(u[1],u[2]/100,u[3]/100,u[4]):o0.hasOwnProperty(l)?y0(o0[l]):l==="transparent"?new ie(NaN,NaN,NaN,0):null}function y0(l){return new ie(l>>16&255,l>>8&255,l&255,1)}function Mi(l,u,r,c){return c<=0&&(l=u=r=NaN),new ie(l,u,r,c)}function _p(l){return l instanceof ou||(l=ru(l)),l?(l=l.rgb(),new ie(l.r,l.g,l.b,l.opacity)):new ie}function Cf(l,u,r,c){return arguments.length===1?_p(l):new ie(l,u,r,c??1)}function ie(l,u,r,c){this.r=+l,this.g=+u,this.b=+r,this.opacity=+c}Ff(ie,Cf,ay(ou,{brighter(l){return l=l==null?Xi:Math.pow(Xi,l),new ie(this.r*l,this.g*l,this.b*l,this.opacity)},darker(l){return l=l==null?uu:Math.pow(uu,l),new ie(this.r*l,this.g*l,this.b*l,this.opacity)},rgb(){return this},clamp(){return new ie(ll(this.r),ll(this.g),ll(this.b),ji(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:m0,formatHex:m0,formatHex8:xp,formatRgb:g0,toString:g0}));function m0(){return`#${tl(this.r)}${tl(this.g)}${tl(this.b)}`}function xp(){return`#${tl(this.r)}${tl(this.g)}${tl(this.b)}${tl((isNaN(this.opacity)?1:this.opacity)*255)}`}function g0(){const l=ji(this.opacity);return`${l===1?"rgb(":"rgba("}${ll(this.r)}, ${ll(this.g)}, ${ll(this.b)}${l===1?")":`, ${l})`}`}function ji(l){return isNaN(l)?1:Math.max(0,Math.min(1,l))}function ll(l){return Math.max(0,Math.min(255,Math.round(l)||0))}function tl(l){return l=ll(l),(l<16?"0":"")+l.toString(16)}function v0(l,u,r,c){return c<=0?l=u=r=NaN:r<=0||r>=1?l=u=NaN:u<=0&&(l=NaN),new Ue(l,u,r,c)}function uy(l){if(l instanceof Ue)return new Ue(l.h,l.s,l.l,l.opacity);if(l instanceof ou||(l=ru(l)),!l)return new Ue;if(l instanceof Ue)return l;l=l.rgb();var u=l.r/255,r=l.g/255,c=l.b/255,s=Math.min(u,r,c),o=Math.max(u,r,c),h=NaN,g=o-s,v=(o+s)/2;return g?(u===o?h=(r-c)/g+(r<c)*6:r===o?h=(c-u)/g+2:h=(u-r)/g+4,g/=v<.5?o+s:2-o-s,h*=60):g=v>0&&v<1?0:h,new Ue(h,g,v,l.opacity)}function Ep(l,u,r,c){return arguments.length===1?uy(l):new Ue(l,u,r,c??1)}function Ue(l,u,r,c){this.h=+l,this.s=+u,this.l=+r,this.opacity=+c}Ff(Ue,Ep,ay(ou,{brighter(l){return l=l==null?Xi:Math.pow(Xi,l),new Ue(this.h,this.s,this.l*l,this.opacity)},darker(l){return l=l==null?uu:Math.pow(uu,l),new Ue(this.h,this.s,this.l*l,this.opacity)},rgb(){var l=this.h%360+(this.h<0)*360,u=isNaN(l)||isNaN(this.s)?0:this.s,r=this.l,c=r+(r<.5?r:1-r)*u,s=2*r-c;return new ie(Rf(l>=240?l-240:l+120,s,c),Rf(l,s,c),Rf(l<120?l+240:l-120,s,c),this.opacity)},clamp(){return new Ue(p0(this.h),Di(this.s),Di(this.l),ji(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 l=ji(this.opacity);return`${l===1?"hsl(":"hsla("}${p0(this.h)}, ${Di(this.s)*100}%, ${Di(this.l)*100}%${l===1?")":`, ${l})`}`}}));function p0(l){return l=(l||0)%360,l<0?l+360:l}function Di(l){return Math.max(0,Math.min(1,l||0))}function Rf(l,u,r){return(l<60?u+(r-u)*l/60:l<180?r:l<240?u+(r-u)*(240-l)/60:u)*255}const iy=l=>()=>l;function Ap(l,u){return function(r){return l+r*u}}function Tp(l,u,r){return l=Math.pow(l,r),u=Math.pow(u,r)-l,r=1/r,function(c){return Math.pow(l+c*u,r)}}function wp(l){return(l=+l)==1?ry:function(u,r){return r-u?Tp(u,r,l):iy(isNaN(u)?r:u)}}function ry(l,u){var r=u-l;return r?Ap(l,r):iy(isNaN(l)?u:l)}const b0=function l(u){var r=wp(u);function c(s,o){var h=r((s=Cf(s)).r,(o=Cf(o)).r),g=r(s.g,o.g),v=r(s.b,o.b),y=ry(s.opacity,o.opacity);return function(p){return s.r=h(p),s.g=g(p),s.b=v(p),s.opacity=y(p),s+""}}return c.gamma=l,c}(1);function Cn(l,u){return l=+l,u=+u,function(r){return l*(1-r)+u*r}}var qf=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Of=new RegExp(qf.source,"g");function Rp(l){return function(){return l}}function Op(l){return function(u){return l(u)+""}}function Np(l,u){var r=qf.lastIndex=Of.lastIndex=0,c,s,o,h=-1,g=[],v=[];for(l=l+"",u=u+"";(c=qf.exec(l))&&(s=Of.exec(u));)(o=s.index)>r&&(o=u.slice(r,o),g[h]?g[h]+=o:g[++h]=o),(c=c[0])===(s=s[0])?g[h]?g[h]+=s:g[++h]=s:(g[++h]=null,v.push({i:h,x:Cn(c,s)})),r=Of.lastIndex;return r<u.length&&(o=u.slice(r),g[h]?g[h]+=o:g[++h]=o),g.length<2?v[0]?Op(v[0].x):Rp(u):(u=v.length,function(y){for(var p=0,x;p<u;++p)g[(x=v[p]).i]=x.x(y);return g.join("")})}var S0=180/Math.PI,Bf={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function cy(l,u,r,c,s,o){var h,g,v;return(h=Math.sqrt(l*l+u*u))&&(l/=h,u/=h),(v=l*r+u*c)&&(r-=l*v,c-=u*v),(g=Math.sqrt(r*r+c*c))&&(r/=g,c/=g,v/=g),l*c<u*r&&(l=-l,u=-u,v=-v,h=-h),{translateX:s,translateY:o,rotate:Math.atan2(u,l)*S0,skewX:Math.atan(v)*S0,scaleX:h,scaleY:g}}var zi;function Mp(l){const u=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(l+"");return u.isIdentity?Bf:cy(u.a,u.b,u.c,u.d,u.e,u.f)}function Dp(l){return l==null||(zi||(zi=document.createElementNS("http://www.w3.org/2000/svg","g")),zi.setAttribute("transform",l),!(l=zi.transform.baseVal.consolidate()))?Bf:(l=l.matrix,cy(l.a,l.b,l.c,l.d,l.e,l.f))}function fy(l,u,r,c){function s(y){return y.length?y.pop()+" ":""}function o(y,p,x,w,E,z){if(y!==x||p!==w){var O=E.push("translate(",null,u,null,r);z.push({i:O-4,x:Cn(y,x)},{i:O-2,x:Cn(p,w)})}else(x||w)&&E.push("translate("+x+u+w+r)}function h(y,p,x,w){y!==p?(y-p>180?p+=360:p-y>180&&(y+=360),w.push({i:x.push(s(x)+"rotate(",null,c)-2,x:Cn(y,p)})):p&&x.push(s(x)+"rotate("+p+c)}function g(y,p,x,w){y!==p?w.push({i:x.push(s(x)+"skewX(",null,c)-2,x:Cn(y,p)}):p&&x.push(s(x)+"skewX("+p+c)}function v(y,p,x,w,E,z){if(y!==x||p!==w){var O=E.push(s(E)+"scale(",null,",",null,")");z.push({i:O-4,x:Cn(y,x)},{i:O-2,x:Cn(p,w)})}else(x!==1||w!==1)&&E.push(s(E)+"scale("+x+","+w+")")}return function(y,p){var x=[],w=[];return y=l(y),p=l(p),o(y.translateX,y.translateY,p.translateX,p.translateY,x,w),h(y.rotate,p.rotate,x,w),g(y.skewX,p.skewX,x,w),v(y.scaleX,y.scaleY,p.scaleX,p.scaleY,x,w),y=p=null,function(E){for(var z=-1,O=w.length,A;++z<O;)x[(A=w[z]).i]=A.x(E);return x.join("")}}}var zp=fy(Mp,"px, ","px)","deg)"),Up=fy(Dp,", ",")",")"),Fl=0,tu=0,Pa=0,sy=1e3,Gi,eu,Qi=0,ul=0,$i=0,cu=typeof performance=="object"&&performance.now?performance:Date,oy=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(l){setTimeout(l,17)};function Wf(){return ul||(oy(Hp),ul=cu.now()+$i)}function Hp(){ul=0}function Vi(){this._call=this._time=this._next=null}Vi.prototype=Pf.prototype={constructor:Vi,restart:function(l,u,r){if(typeof l!="function")throw new TypeError("callback is not a function");r=(r==null?Wf():+r)+(u==null?0:+u),!this._next&&eu!==this&&(eu?eu._next=this:Gi=this,eu=this),this._call=l,this._time=r,Yf()},stop:function(){this._call&&(this._call=null,this._time=1/0,Yf())}};function Pf(l,u,r){var c=new Vi;return c.restart(l,u,r),c}function Cp(){Wf(),++Fl;for(var l=Gi,u;l;)(u=ul-l._time)>=0&&l._call.call(void 0,u),l=l._next;--Fl}function _0(){ul=(Qi=cu.now())+$i,Fl=tu=0;try{Cp()}finally{Fl=0,Bp(),ul=0}}function qp(){var l=cu.now(),u=l-Qi;u>sy&&($i-=u,Qi=l)}function Bp(){for(var l,u=Gi,r,c=1/0;u;)u._call?(c>u._time&&(c=u._time),l=u,u=u._next):(r=u._next,u._next=null,u=l?l._next=r:Gi=r);eu=l,Yf(c)}function Yf(l){if(!Fl){tu&&(tu=clearTimeout(tu));var u=l-ul;u>24?(l<1/0&&(tu=setTimeout(_0,l-cu.now()-$i)),Pa&&(Pa=clearInterval(Pa))):(Pa||(Qi=cu.now(),Pa=setInterval(qp,sy)),Fl=1,oy(_0))}}function x0(l,u,r){var c=new Vi;return u=u==null?0:+u,c.restart(s=>{c.stop(),l(s+u)},u,r),c}var Yp=Ji("start","end","cancel","interrupt"),Lp=[],hy=0,E0=1,Lf=2,Hi=3,A0=4,Xf=5,Ci=6;function Fi(l,u,r,c,s,o){var h=l.__transition;if(!h)l.__transition={};else if(r in h)return;Xp(l,r,{name:u,index:c,group:s,on:Yp,tween:Lp,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:hy})}function If(l,u){var r=He(l,u);if(r.state>hy)throw new Error("too late; already scheduled");return r}function Ze(l,u){var r=He(l,u);if(r.state>Hi)throw new Error("too late; already running");return r}function He(l,u){var r=l.__transition;if(!r||!(r=r[u]))throw new Error("transition not found");return r}function Xp(l,u,r){var c=l.__transition,s;c[u]=r,r.timer=Pf(o,0,r.time);function o(y){r.state=E0,r.timer.restart(h,r.delay,r.time),r.delay<=y&&h(y-r.delay)}function h(y){var p,x,w,E;if(r.state!==E0)return v();for(p in c)if(E=c[p],E.name===r.name){if(E.state===Hi)return x0(h);E.state===A0?(E.state=Ci,E.timer.stop(),E.on.call("interrupt",l,l.__data__,E.index,E.group),delete c[p]):+p<u&&(E.state=Ci,E.timer.stop(),E.on.call("cancel",l,l.__data__,E.index,E.group),delete c[p])}if(x0(function(){r.state===Hi&&(r.state=A0,r.timer.restart(g,r.delay,r.time),g(y))}),r.state=Lf,r.on.call("start",l,l.__data__,r.index,r.group),r.state===Lf){for(r.state=Hi,s=new Array(w=r.tween.length),p=0,x=-1;p<w;++p)(E=r.tween[p].value.call(l,l.__data__,r.index,r.group))&&(s[++x]=E);s.length=x+1}}function g(y){for(var p=y<r.duration?r.ease.call(null,y/r.duration):(r.timer.restart(v),r.state=Xf,1),x=-1,w=s.length;++x<w;)s[x].call(l,p);r.state===Xf&&(r.on.call("end",l,l.__data__,r.index,r.group),v())}function v(){r.state=Ci,r.timer.stop(),delete c[u];for(var y in c)return;delete l.__transition}}function jp(l,u){var r=l.__transition,c,s,o=!0,h;if(r){u=u==null?null:u+"";for(h in r){if((c=r[h]).name!==u){o=!1;continue}s=c.state>Lf&&c.state<Xf,c.state=Ci,c.timer.stop(),c.on.call(s?"interrupt":"cancel",l,l.__data__,c.index,c.group),delete r[h]}o&&delete l.__transition}}function Gp(l){return this.each(function(){jp(this,l)})}function Qp(l,u){var r,c;return function(){var s=Ze(this,l),o=s.tween;if(o!==r){c=r=o;for(var h=0,g=c.length;h<g;++h)if(c[h].name===u){c=c.slice(),c.splice(h,1);break}}s.tween=c}}function Vp(l,u,r){var c,s;if(typeof r!="function")throw new Error;return function(){var o=Ze(this,l),h=o.tween;if(h!==c){s=(c=h).slice();for(var g={name:u,value:r},v=0,y=s.length;v<y;++v)if(s[v].name===u){s[v]=g;break}v===y&&s.push(g)}o.tween=s}}function Zp(l,u){var r=this._id;if(l+="",arguments.length<2){for(var c=He(this.node(),r).tween,s=0,o=c.length,h;s<o;++s)if((h=c[s]).name===l)return h.value;return null}return this.each((u==null?Qp:Vp)(r,l,u))}function ts(l,u,r){var c=l._id;return l.each(function(){var s=Ze(this,c);(s.value||(s.value={}))[u]=r.apply(this,arguments)}),function(s){return He(s,c).value[u]}}function dy(l,u){var r;return(typeof u=="number"?Cn:u instanceof ru?b0:(r=ru(u))?(u=r,b0):Np)(l,u)}function Kp(l){return function(){this.removeAttribute(l)}}function Jp(l){return function(){this.removeAttributeNS(l.space,l.local)}}function kp(l,u,r){var c,s=r+"",o;return function(){var h=this.getAttribute(l);return h===s?null:h===c?o:o=u(c=h,r)}}function $p(l,u,r){var c,s=r+"",o;return function(){var h=this.getAttributeNS(l.space,l.local);return h===s?null:h===c?o:o=u(c=h,r)}}function Fp(l,u,r){var c,s,o;return function(){var h,g=r(this),v;return g==null?void this.removeAttribute(l):(h=this.getAttribute(l),v=g+"",h===v?null:h===c&&v===s?o:(s=v,o=u(c=h,g)))}}function Wp(l,u,r){var c,s,o;return function(){var h,g=r(this),v;return g==null?void this.removeAttributeNS(l.space,l.local):(h=this.getAttributeNS(l.space,l.local),v=g+"",h===v?null:h===c&&v===s?o:(s=v,o=u(c=h,g)))}}function Pp(l,u){var r=ki(l),c=r==="transform"?Up:dy;return this.attrTween(l,typeof u=="function"?(r.local?Wp:Fp)(r,c,ts(this,"attr."+l,u)):u==null?(r.local?Jp:Kp)(r):(r.local?$p:kp)(r,c,u))}function Ip(l,u){return function(r){this.setAttribute(l,u.call(this,r))}}function tb(l,u){return function(r){this.setAttributeNS(l.space,l.local,u.call(this,r))}}function eb(l,u){var r,c;function s(){var o=u.apply(this,arguments);return o!==c&&(r=(c=o)&&tb(l,o)),r}return s._value=u,s}function nb(l,u){var r,c;function s(){var o=u.apply(this,arguments);return o!==c&&(r=(c=o)&&Ip(l,o)),r}return s._value=u,s}function lb(l,u){var r="attr."+l;if(arguments.length<2)return(r=this.tween(r))&&r._value;if(u==null)return this.tween(r,null);if(typeof u!="function")throw new Error;var c=ki(l);return this.tween(r,(c.local?eb:nb)(c,u))}function ab(l,u){return function(){If(this,l).delay=+u.apply(this,arguments)}}function ub(l,u){return u=+u,function(){If(this,l).delay=u}}function ib(l){var u=this._id;return arguments.length?this.each((typeof l=="function"?ab:ub)(u,l)):He(this.node(),u).delay}function rb(l,u){return function(){Ze(this,l).duration=+u.apply(this,arguments)}}function cb(l,u){return u=+u,function(){Ze(this,l).duration=u}}function fb(l){var u=this._id;return arguments.length?this.each((typeof l=="function"?rb:cb)(u,l)):He(this.node(),u).duration}function sb(l,u){if(typeof u!="function")throw new Error;return function(){Ze(this,l).ease=u}}function ob(l){var u=this._id;return arguments.length?this.each(sb(u,l)):He(this.node(),u).ease}function hb(l,u){return function(){var r=u.apply(this,arguments);if(typeof r!="function")throw new Error;Ze(this,l).ease=r}}function db(l){if(typeof l!="function")throw new Error;return this.each(hb(this._id,l))}function yb(l){typeof l!="function"&&(l=k0(l));for(var u=this._groups,r=u.length,c=new Array(r),s=0;s<r;++s)for(var o=u[s],h=o.length,g=c[s]=[],v,y=0;y<h;++y)(v=o[y])&&l.call(v,v.__data__,y,o)&&g.push(v);return new fn(c,this._parents,this._name,this._id)}function mb(l){if(l._id!==this._id)throw new Error;for(var u=this._groups,r=l._groups,c=u.length,s=r.length,o=Math.min(c,s),h=new Array(c),g=0;g<o;++g)for(var v=u[g],y=r[g],p=v.length,x=h[g]=new Array(p),w,E=0;E<p;++E)(w=v[E]||y[E])&&(x[E]=w);for(;g<c;++g)h[g]=u[g];return new fn(h,this._parents,this._name,this._id)}function gb(l){return(l+"").trim().split(/^|\s+/).every(function(u){var r=u.indexOf(".");return r>=0&&(u=u.slice(0,r)),!u||u==="start"})}function vb(l,u,r){var c,s,o=gb(u)?If:Ze;return function(){var h=o(this,l),g=h.on;g!==c&&(s=(c=g).copy()).on(u,r),h.on=s}}function pb(l,u){var r=this._id;return arguments.length<2?He(this.node(),r).on.on(l):this.each(vb(r,l,u))}function bb(l){return function(){var u=this.parentNode;for(var r in this.__transition)if(+r!==l)return;u&&u.removeChild(this)}}function Sb(){return this.on("end.remove",bb(this._id))}function _b(l){var u=this._name,r=this._id;typeof l!="function"&&(l=kf(l));for(var c=this._groups,s=c.length,o=new Array(s),h=0;h<s;++h)for(var g=c[h],v=g.length,y=o[h]=new Array(v),p,x,w=0;w<v;++w)(p=g[w])&&(x=l.call(p,p.__data__,w,g))&&("__data__"in p&&(x.__data__=p.__data__),y[w]=x,Fi(y[w],u,r,w,y,He(p,r)));return new fn(o,this._parents,u,r)}function xb(l){var u=this._name,r=this._id;typeof l!="function"&&(l=J0(l));for(var c=this._groups,s=c.length,o=[],h=[],g=0;g<s;++g)for(var v=c[g],y=v.length,p,x=0;x<y;++x)if(p=v[x]){for(var w=l.call(p,p.__data__,x,v),E,z=He(p,r),O=0,A=w.length;O<A;++O)(E=w[O])&&Fi(E,u,r,O,w,z);o.push(w),h.push(p)}return new fn(o,h,u,r)}var Eb=su.prototype.constructor;function Ab(){return new Eb(this._groups,this._parents)}function Tb(l,u){var r,c,s;return function(){var o=$l(this,l),h=(this.style.removeProperty(l),$l(this,l));return o===h?null:o===r&&h===c?s:s=u(r=o,c=h)}}function yy(l){return function(){this.style.removeProperty(l)}}function wb(l,u,r){var c,s=r+"",o;return function(){var h=$l(this,l);return h===s?null:h===c?o:o=u(c=h,r)}}function Rb(l,u,r){var c,s,o;return function(){var h=$l(this,l),g=r(this),v=g+"";return g==null&&(v=g=(this.style.removeProperty(l),$l(this,l))),h===v?null:h===c&&v===s?o:(s=v,o=u(c=h,g))}}function Ob(l,u){var r,c,s,o="style."+u,h="end."+o,g;return function(){var v=Ze(this,l),y=v.on,p=v.value[o]==null?g||(g=yy(u)):void 0;(y!==r||s!==p)&&(c=(r=y).copy()).on(h,s=p),v.on=c}}function Nb(l,u,r){var c=(l+="")=="transform"?zp:dy;return u==null?this.styleTween(l,Tb(l,c)).on("end.style."+l,yy(l)):typeof u=="function"?this.styleTween(l,Rb(l,c,ts(this,"style."+l,u))).each(Ob(this._id,l)):this.styleTween(l,wb(l,c,u),r).on("end.style."+l,null)}function Mb(l,u,r){return function(c){this.style.setProperty(l,u.call(this,c),r)}}function Db(l,u,r){var c,s;function o(){var h=u.apply(this,arguments);return h!==s&&(c=(s=h)&&Mb(l,h,r)),c}return o._value=u,o}function zb(l,u,r){var c="style."+(l+="");if(arguments.length<2)return(c=this.tween(c))&&c._value;if(u==null)return this.tween(c,null);if(typeof u!="function")throw new Error;return this.tween(c,Db(l,u,r??""))}function Ub(l){return function(){this.textContent=l}}function Hb(l){return function(){var u=l(this);this.textContent=u??""}}function Cb(l){return this.tween("text",typeof l=="function"?Hb(ts(this,"text",l)):Ub(l==null?"":l+""))}function qb(l){return function(u){this.textContent=l.call(this,u)}}function Bb(l){var u,r;function c(){var s=l.apply(this,arguments);return s!==r&&(u=(r=s)&&qb(s)),u}return c._value=l,c}function Yb(l){var u="text";if(arguments.length<1)return(u=this.tween(u))&&u._value;if(l==null)return this.tween(u,null);if(typeof l!="function")throw new Error;return this.tween(u,Bb(l))}function Lb(){for(var l=this._name,u=this._id,r=my(),c=this._groups,s=c.length,o=0;o<s;++o)for(var h=c[o],g=h.length,v,y=0;y<g;++y)if(v=h[y]){var p=He(v,u);Fi(v,l,r,y,h,{time:p.time+p.delay+p.duration,delay:0,duration:p.duration,ease:p.ease})}return new fn(c,this._parents,l,r)}function Xb(){var l,u,r=this,c=r._id,s=r.size();return new Promise(function(o,h){var g={value:h},v={value:function(){--s===0&&o()}};r.each(function(){var y=Ze(this,c),p=y.on;p!==l&&(u=(l=p).copy(),u._.cancel.push(g),u._.interrupt.push(g),u._.end.push(v)),y.on=u}),s===0&&o()})}var jb=0;function fn(l,u,r,c){this._groups=l,this._parents=u,this._name=r,this._id=c}function my(){return++jb}var cn=su.prototype;fn.prototype={constructor:fn,select:_b,selectAll:xb,selectChild:cn.selectChild,selectChildren:cn.selectChildren,filter:yb,merge:mb,selection:Ab,transition:Lb,call:cn.call,nodes:cn.nodes,node:cn.node,size:cn.size,empty:cn.empty,each:cn.each,on:pb,attr:Pp,attrTween:lb,style:Nb,styleTween:zb,text:Cb,textTween:Yb,remove:Sb,tween:Zp,delay:ib,duration:fb,ease:ob,easeVarying:db,end:Xb,[Symbol.iterator]:cn[Symbol.iterator]};function Gb(l){return((l*=2)<=1?l*l*l:(l-=2)*l*l+2)/2}var Qb={time:null,delay:0,duration:250,ease:Gb};function Vb(l,u){for(var r;!(r=l.__transition)||!(r=r[u]);)if(!(l=l.parentNode))throw new Error(`transition ${u} not found`);return r}function Zb(l){var u,r;l instanceof fn?(u=l._id,l=l._name):(u=my(),(r=Qb).time=Wf(),l=l==null?null:l+"");for(var c=this._groups,s=c.length,o=0;o<s;++o)for(var h=c[o],g=h.length,v,y=0;y<g;++y)(v=h[y])&&Fi(v,l,u,y,h,r||Vb(v,u));return new fn(c,this._parents,l,u)}su.prototype.interrupt=Gp;su.prototype.transition=Zb;function Kb(l,u){var r,c=1;l==null&&(l=0),u==null&&(u=0);function s(){var o,h=r.length,g,v=0,y=0;for(o=0;o<h;++o)g=r[o],v+=g.x,y+=g.y;for(v=(v/h-l)*c,y=(y/h-u)*c,o=0;o<h;++o)g=r[o],g.x-=v,g.y-=y}return s.initialize=function(o){r=o},s.x=function(o){return arguments.length?(l=+o,s):l},s.y=function(o){return arguments.length?(u=+o,s):u},s.strength=function(o){return arguments.length?(c=+o,s):c},s}function Jb(l){const u=+this._x.call(null,l),r=+this._y.call(null,l);return gy(this.cover(u,r),u,r,l)}function gy(l,u,r,c){if(isNaN(u)||isNaN(r))return l;var s,o=l._root,h={data:c},g=l._x0,v=l._y0,y=l._x1,p=l._y1,x,w,E,z,O,A,Y,Q;if(!o)return l._root=h,l;for(;o.length;)if((O=u>=(x=(g+y)/2))?g=x:y=x,(A=r>=(w=(v+p)/2))?v=w:p=w,s=o,!(o=o[Y=A<<1|O]))return s[Y]=h,l;if(E=+l._x.call(null,o.data),z=+l._y.call(null,o.data),u===E&&r===z)return h.next=o,s?s[Y]=h:l._root=h,l;do s=s?s[Y]=new Array(4):l._root=new Array(4),(O=u>=(x=(g+y)/2))?g=x:y=x,(A=r>=(w=(v+p)/2))?v=w:p=w;while((Y=A<<1|O)===(Q=(z>=w)<<1|E>=x));return s[Q]=o,s[Y]=h,l}function kb(l){var u,r,c=l.length,s,o,h=new Array(c),g=new Array(c),v=1/0,y=1/0,p=-1/0,x=-1/0;for(r=0;r<c;++r)isNaN(s=+this._x.call(null,u=l[r]))||isNaN(o=+this._y.call(null,u))||(h[r]=s,g[r]=o,s<v&&(v=s),s>p&&(p=s),o<y&&(y=o),o>x&&(x=o));if(v>p||y>x)return this;for(this.cover(v,y).cover(p,x),r=0;r<c;++r)gy(this,h[r],g[r],l[r]);return this}function $b(l,u){if(isNaN(l=+l)||isNaN(u=+u))return this;var r=this._x0,c=this._y0,s=this._x1,o=this._y1;if(isNaN(r))s=(r=Math.floor(l))+1,o=(c=Math.floor(u))+1;else{for(var h=s-r||1,g=this._root,v,y;r>l||l>=s||c>u||u>=o;)switch(y=(u<c)<<1|l<r,v=new Array(4),v[y]=g,g=v,h*=2,y){case 0:s=r+h,o=c+h;break;case 1:r=s-h,o=c+h;break;case 2:s=r+h,c=o-h;break;case 3:r=s-h,c=o-h;break}this._root&&this._root.length&&(this._root=g)}return this._x0=r,this._y0=c,this._x1=s,this._y1=o,this}function Fb(){var l=[];return this.visit(function(u){if(!u.length)do l.push(u.data);while(u=u.next)}),l}function Wb(l){return arguments.length?this.cover(+l[0][0],+l[0][1]).cover(+l[1][0],+l[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]}function It(l,u,r,c,s){this.node=l,this.x0=u,this.y0=r,this.x1=c,this.y1=s}function Pb(l,u,r){var c,s=this._x0,o=this._y0,h,g,v,y,p=this._x1,x=this._y1,w=[],E=this._root,z,O;for(E&&w.push(new It(E,s,o,p,x)),r==null?r=1/0:(s=l-r,o=u-r,p=l+r,x=u+r,r*=r);z=w.pop();)if(!(!(E=z.node)||(h=z.x0)>p||(g=z.y0)>x||(v=z.x1)<s||(y=z.y1)<o))if(E.length){var A=(h+v)/2,Y=(g+y)/2;w.push(new It(E[3],A,Y,v,y),new It(E[2],h,Y,A,y),new It(E[1],A,g,v,Y),new It(E[0],h,g,A,Y)),(O=(u>=Y)<<1|l>=A)&&(z=w[w.length-1],w[w.length-1]=w[w.length-1-O],w[w.length-1-O]=z)}else{var Q=l-+this._x.call(null,E.data),j=u-+this._y.call(null,E.data),D=Q*Q+j*j;if(D<r){var X=Math.sqrt(r=D);s=l-X,o=u-X,p=l+X,x=u+X,c=E.data}}return c}function Ib(l){if(isNaN(p=+this._x.call(null,l))||isNaN(x=+this._y.call(null,l)))return this;var u,r=this._root,c,s,o,h=this._x0,g=this._y0,v=this._x1,y=this._y1,p,x,w,E,z,O,A,Y;if(!r)return this;if(r.length)for(;;){if((z=p>=(w=(h+v)/2))?h=w:v=w,(O=x>=(E=(g+y)/2))?g=E:y=E,u=r,!(r=r[A=O<<1|z]))return this;if(!r.length)break;(u[A+1&3]||u[A+2&3]||u[A+3&3])&&(c=u,Y=A)}for(;r.data!==l;)if(s=r,!(r=r.next))return this;return(o=r.next)&&delete r.next,s?(o?s.next=o:delete s.next,this):u?(o?u[A]=o:delete u[A],(r=u[0]||u[1]||u[2]||u[3])&&r===(u[3]||u[2]||u[1]||u[0])&&!r.length&&(c?c[Y]=r:this._root=r),this):(this._root=o,this)}function tS(l){for(var u=0,r=l.length;u<r;++u)this.remove(l[u]);return this}function eS(){return this._root}function nS(){var l=0;return this.visit(function(u){if(!u.length)do++l;while(u=u.next)}),l}function lS(l){var u=[],r,c=this._root,s,o,h,g,v;for(c&&u.push(new It(c,this._x0,this._y0,this._x1,this._y1));r=u.pop();)if(!l(c=r.node,o=r.x0,h=r.y0,g=r.x1,v=r.y1)&&c.length){var y=(o+g)/2,p=(h+v)/2;(s=c[3])&&u.push(new It(s,y,p,g,v)),(s=c[2])&&u.push(new It(s,o,p,y,v)),(s=c[1])&&u.push(new It(s,y,h,g,p)),(s=c[0])&&u.push(new It(s,o,h,y,p))}return this}function aS(l){var u=[],r=[],c;for(this._root&&u.push(new It(this._root,this._x0,this._y0,this._x1,this._y1));c=u.pop();){var s=c.node;if(s.length){var o,h=c.x0,g=c.y0,v=c.x1,y=c.y1,p=(h+v)/2,x=(g+y)/2;(o=s[0])&&u.push(new It(o,h,g,p,x)),(o=s[1])&&u.push(new It(o,p,g,v,x)),(o=s[2])&&u.push(new It(o,h,x,p,y)),(o=s[3])&&u.push(new It(o,p,x,v,y))}r.push(c)}for(;c=r.pop();)l(c.node,c.x0,c.y0,c.x1,c.y1);return this}function uS(l){return l[0]}function iS(l){return arguments.length?(this._x=l,this):this._x}function rS(l){return l[1]}function cS(l){return arguments.length?(this._y=l,this):this._y}function vy(l,u,r){var c=new es(u??uS,r??rS,NaN,NaN,NaN,NaN);return l==null?c:c.addAll(l)}function es(l,u,r,c,s,o){this._x=l,this._y=u,this._x0=r,this._y0=c,this._x1=s,this._y1=o,this._root=void 0}function T0(l){for(var u={data:l.data},r=u;l=l.next;)r=r.next={data:l.data};return u}var te=vy.prototype=es.prototype;te.copy=function(){var l=new es(this._x,this._y,this._x0,this._y0,this._x1,this._y1),u=this._root,r,c;if(!u)return l;if(!u.length)return l._root=T0(u),l;for(r=[{source:u,target:l._root=new Array(4)}];u=r.pop();)for(var s=0;s<4;++s)(c=u.source[s])&&(c.length?r.push({source:c,target:u.target[s]=new Array(4)}):u.target[s]=T0(c));return l};te.add=Jb;te.addAll=kb;te.cover=$b;te.data=Fb;te.extent=Wb;te.find=Pb;te.remove=Ib;te.removeAll=tS;te.root=eS;te.size=nS;te.visit=lS;te.visitAfter=aS;te.x=iS;te.y=cS;function lu(l){return function(){return l}}function Kl(l){return(l()-.5)*1e-6}function fS(l){return l.index}function w0(l,u){var r=l.get(u);if(!r)throw new Error("node not found: "+u);return r}function sS(l){var u=fS,r=x,c,s=lu(30),o,h,g,v,y,p=1;l==null&&(l=[]);function x(A){return 1/Math.min(g[A.source.index],g[A.target.index])}function w(A){for(var Y=0,Q=l.length;Y<p;++Y)for(var j=0,D,X,J,$,F,lt,Dt;j<Q;++j)D=l[j],X=D.source,J=D.target,$=J.x+J.vx-X.x-X.vx||Kl(y),F=J.y+J.vy-X.y-X.vy||Kl(y),lt=Math.sqrt($*$+F*F),lt=(lt-o[j])/lt*A*c[j],$*=lt,F*=lt,J.vx-=$*(Dt=v[j]),J.vy-=F*Dt,X.vx+=$*(Dt=1-Dt),X.vy+=F*Dt}function E(){if(h){var A,Y=h.length,Q=l.length,j=new Map(h.map((X,J)=>[u(X,J,h),X])),D;for(A=0,g=new Array(Y);A<Q;++A)D=l[A],D.index=A,typeof D.source!="object"&&(D.source=w0(j,D.source)),typeof D.target!="object"&&(D.target=w0(j,D.target)),g[D.source.index]=(g[D.source.index]||0)+1,g[D.target.index]=(g[D.target.index]||0)+1;for(A=0,v=new Array(Q);A<Q;++A)D=l[A],v[A]=g[D.source.index]/(g[D.source.index]+g[D.target.index]);c=new Array(Q),z(),o=new Array(Q),O()}}function z(){if(h)for(var A=0,Y=l.length;A<Y;++A)c[A]=+r(l[A],A,l)}function O(){if(h)for(var A=0,Y=l.length;A<Y;++A)o[A]=+s(l[A],A,l)}return w.initialize=function(A,Y){h=A,y=Y,E()},w.links=function(A){return arguments.length?(l=A,E(),w):l},w.id=function(A){return arguments.length?(u=A,w):u},w.iterations=function(A){return arguments.length?(p=+A,w):p},w.strength=function(A){return arguments.length?(r=typeof A=="function"?A:lu(+A),z(),w):r},w.distance=function(A){return arguments.length?(s=typeof A=="function"?A:lu(+A),O(),w):s},w}const oS=1664525,hS=1013904223,R0=4294967296;function dS(){let l=1;return()=>(l=(oS*l+hS)%R0)/R0}function yS(l){return l.x}function mS(l){return l.y}var gS=10,vS=Math.PI*(3-Math.sqrt(5));function pS(l){var u,r=1,c=.001,s=1-Math.pow(c,1/300),o=0,h=.6,g=new Map,v=Pf(x),y=Ji("tick","end"),p=dS();l==null&&(l=[]);function x(){w(),y.call("tick",u),r<c&&(v.stop(),y.call("end",u))}function w(O){var A,Y=l.length,Q;O===void 0&&(O=1);for(var j=0;j<O;++j)for(r+=(o-r)*s,g.forEach(function(D){D(r)}),A=0;A<Y;++A)Q=l[A],Q.fx==null?Q.x+=Q.vx*=h:(Q.x=Q.fx,Q.vx=0),Q.fy==null?Q.y+=Q.vy*=h:(Q.y=Q.fy,Q.vy=0);return u}function E(){for(var O=0,A=l.length,Y;O<A;++O){if(Y=l[O],Y.index=O,Y.fx!=null&&(Y.x=Y.fx),Y.fy!=null&&(Y.y=Y.fy),isNaN(Y.x)||isNaN(Y.y)){var Q=gS*Math.sqrt(.5+O),j=O*vS;Y.x=Q*Math.cos(j),Y.y=Q*Math.sin(j)}(isNaN(Y.vx)||isNaN(Y.vy))&&(Y.vx=Y.vy=0)}}function z(O){return O.initialize&&O.initialize(l,p),O}return E(),u={tick:w,restart:function(){return v.restart(x),u},stop:function(){return v.stop(),u},nodes:function(O){return arguments.length?(l=O,E(),g.forEach(z),u):l},alpha:function(O){return arguments.length?(r=+O,u):r},alphaMin:function(O){return arguments.length?(c=+O,u):c},alphaDecay:function(O){return arguments.length?(s=+O,u):+s},alphaTarget:function(O){return arguments.length?(o=+O,u):o},velocityDecay:function(O){return arguments.length?(h=1-O,u):1-h},randomSource:function(O){return arguments.length?(p=O,g.forEach(z),u):p},force:function(O,A){return arguments.length>1?(A==null?g.delete(O):g.set(O,z(A)),u):g.get(O)},find:function(O,A,Y){var Q=0,j=l.length,D,X,J,$,F;for(Y==null?Y=1/0:Y*=Y,Q=0;Q<j;++Q)$=l[Q],D=O-$.x,X=A-$.y,J=D*D+X*X,J<Y&&(F=$,Y=J);return F},on:function(O,A){return arguments.length>1?(y.on(O,A),u):y.on(O)}}}function bS(){var l,u,r,c,s=lu(-30),o,h=1,g=1/0,v=.81;function y(E){var z,O=l.length,A=vy(l,yS,mS).visitAfter(x);for(c=E,z=0;z<O;++z)u=l[z],A.visit(w)}function p(){if(l){var E,z=l.length,O;for(o=new Array(z),E=0;E<z;++E)O=l[E],o[O.index]=+s(O,E,l)}}function x(E){var z=0,O,A,Y=0,Q,j,D;if(E.length){for(Q=j=D=0;D<4;++D)(O=E[D])&&(A=Math.abs(O.value))&&(z+=O.value,Y+=A,Q+=A*O.x,j+=A*O.y);E.x=Q/Y,E.y=j/Y}else{O=E,O.x=O.data.x,O.y=O.data.y;do z+=o[O.data.index];while(O=O.next)}E.value=z}function w(E,z,O,A){if(!E.value)return!0;var Y=E.x-u.x,Q=E.y-u.y,j=A-z,D=Y*Y+Q*Q;if(j*j/v<D)return D<g&&(Y===0&&(Y=Kl(r),D+=Y*Y),Q===0&&(Q=Kl(r),D+=Q*Q),D<h&&(D=Math.sqrt(h*D)),u.vx+=Y*E.value*c/D,u.vy+=Q*E.value*c/D),!0;if(E.length||D>=g)return;(E.data!==u||E.next)&&(Y===0&&(Y=Kl(r),D+=Y*Y),Q===0&&(Q=Kl(r),D+=Q*Q),D<h&&(D=Math.sqrt(h*D)));do E.data!==u&&(j=o[E.data.index]*c/D,u.vx+=Y*j,u.vy+=Q*j);while(E=E.next)}return y.initialize=function(E,z){l=E,r=z,p()},y.strength=function(E){return arguments.length?(s=typeof E=="function"?E:lu(+E),p(),y):s},y.distanceMin=function(E){return arguments.length?(h=E*E,y):Math.sqrt(h)},y.distanceMax=function(E){return arguments.length?(g=E*E,y):Math.sqrt(g)},y.theta=function(E){return arguments.length?(v=E*E,y):Math.sqrt(v)},y}function nu(l,u,r){this.k=l,this.x=u,this.y=r}nu.prototype={constructor:nu,scale:function(l){return l===1?this:new nu(this.k*l,this.x,this.y)},translate:function(l,u){return l===0&u===0?this:new nu(this.k,this.x+this.k*l,this.y+this.k*u)},apply:function(l){return[l[0]*this.k+this.x,l[1]*this.k+this.y]},applyX:function(l){return l*this.k+this.x},applyY:function(l){return l*this.k+this.y},invert:function(l){return[(l[0]-this.x)/this.k,(l[1]-this.y)/this.k]},invertX:function(l){return(l-this.x)/this.k},invertY:function(l){return(l-this.y)/this.k},rescaleX:function(l){return l.copy().domain(l.range().map(this.invertX,this).map(l.invert,l))},rescaleY:function(l){return l.copy().domain(l.range().map(this.invertY,this).map(l.invert,l))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};nu.prototype;function SS(l){l.append("defs").selectAll("marker").data(["end"]).enter().append("marker").attr("id",u=>u).attr("viewBox","0 -5 10 10").attr("refX",28).attr("refY",0).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto").append("path").attr("fill","#aaa").attr("d","M0,-5L10,0L0,5"),l.append("defs").selectAll("marker").data(["loop-arrow"]).enter().append("marker").attr("id",u=>u).attr("viewBox","0 -5 10 10").attr("refX",24).attr("refY",-6).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto").append("path").attr("fill","#aaa").attr("d","M0,-5L10,0L0,5")}function Nf(l,u,r){const s=l.append("defs").append("filter").attr("id",`glow-${u}`).attr("x","-50%").attr("y","-50%").attr("width","200%").attr("height","200%");s.append("feGaussianBlur").attr("in","SourceGraphic").attr("stdDeviation",r).attr("result","blur"),s.append("feFlood").attr("flood-color",u).attr("flood-opacity","1").attr("result","color"),s.append("feComposite").attr("in","color").attr("in2","blur").attr("operator","in").attr("result","coloredBlur");const o=s.append("feMerge");o.append("feMergeNode").attr("in","coloredBlur"),o.append("feMergeNode").attr("in","SourceGraphic")}function _S(l,u){return l.append("g").attr("stroke","#aaa").selectAll("path").data(u).join("path").attr("fill","none").attr("stroke-width",2).attr("marker-end",r=>r.source===r.target?"url(#loop-arrow)":"url(#end)")}function xS(l,u){return l.append("g").selectAll("text").data(u).join("text").text(r=>r.label).attr("font-size","12px").attr("font-family","sans-serif").attr("fill","#555").attr("text-anchor","middle").attr("dominant-baseline","central").attr("pointer-events","none")}function ES(l,u,r){return l.append("g").selectAll("circle").data(u).join("circle").attr("r",24).attr("fill","oklch(96.7% 0.003 264.542)").attr("stroke","oklch(37.3% 0.034 259.733)").attr("stroke-width",1.5).call(op().on("start",(c,s)=>{c.active||r.alphaTarget(.3).restart(),s.fx=s.x,s.fy=s.y}).on("drag",(c,s)=>{s.fx=c.x,s.fy=c.y}).on("end",(c,s)=>{c.active||r.alphaTarget(0),s.fx=null,s.fy=null}))}function AS(l,u,r,c){l.selectAll(".final-inner-circle").remove(),l.selectAll(".initial-arrow").remove(),c.filter(s=>r.map(o=>o.id).includes(s.id)).each(function(s){l.append("circle").datum(s).attr("class","final-inner-circle").attr("r",20).attr("fill","none").attr("stroke","oklch(37.3% 0.034 259.733)").attr("stroke-width",1.5)}),c.filter(s=>u.id==s.id).each(function(s){l.append("path").datum(s).attr("class","initial-arrow").attr("fill","oklch(37.3% 0.034 259.733)")})}function TS(l,u){return l.append("g").selectAll("text").data(u).join("text").text(r=>r.id).attr("font-size","10px").attr("font-family","sans-serif").attr("text-anchor","middle").attr("dominant-baseline","central").attr("fill","oklch(0% 0 0)").attr("pointer-events","none")}function py(l,u,r,c=.3){const s=l.x,o=l.y,h=u.x,g=u.y,v=[s,o],y=[h,g];if(!r)return{start:v,end:y};if(s===h&&o===g){const D=Math.PI/2,X=Math.PI/2,J=D-X/2,$=D+X/2,F=[s+80*Math.cos(J),o+80*Math.sin(J)],lt=[s+80*Math.cos($),o+80*Math.sin($)];return{start:v,end:y,control:F,control2:lt}}const p=h-s,x=g-o,w=Math.sqrt(p*p+x*x),E=c*w,z=-x/w,O=p/w,A=(s+h)/2+z*E,Y=(o+g)/2+O*E;return{start:v,end:y,control:[A,Y]}}function wS(l,u,r){const{start:c,end:s,control:o,control2:h}=py(l,u,r);return h?`M${c[0]},${c[1]} C${o[0]},${o[1]} ${h[0]},${h[1]} ${s[0]},${s[1]}`:o?`M${c[0]},${c[1]} Q${o[0]},${o[1]} ${s[0]},${s[1]}`:`M${c[0]},${c[1]} L${s[0]},${s[1]}`}function RS(l,u,r){const{start:c,end:s,control:o,control2:h}=py(l,u,r);if(h){const g=(c[0]+o[0]+h[0]+s[0])/4,v=(c[1]+o[1]+h[1]+s[1])/4;return[g,v]}return o||[(c[0]+s[0])/2,(c[1]+s[1])/2]}const O0=1920,N0=1080,OS=30,M0={x:-15,y:15};function NS({nodes:l,links:u,initialNode:r,finalNodes:c,highlightedNodes:s,highlightedErrorNodes:o,highlightedSuccessNodes:h}){const g=At.useRef(null);function v(E){return new Set(E.map(z=>z.id))}const y=v(s),p=v(o),x=v(h);function w({svg:E,svgNodes:z,svgLinks:O,svgNodeLabels:A,svgLinkLabels:Y,links:Q}){z.attr("cx",j=>j.x).attr("cy",j=>j.y),O.attr("d",j=>{const D=Q.some(X=>X.source===j.target&&X.target===j.source);return wS(j.source,j.target,D)}),A.attr("x",j=>j.x).attr("y",j=>j.y),Y.each(function(j){const D=Q.some($=>$.source===j.target&&$.target===j.source),[X,J]=RS(j.source,j.target,D);nl(this).attr("x",X+M0.x).attr("y",J+M0.y)}),E.selectAll(".final-inner-circle").attr("cx",j=>j.x??0).attr("cy",j=>j.y??0),E.selectAll(".initial-arrow").attr("d",j=>{const D=j.x??0,X=j.y??0,J=D-OS,$=X;return`M${J-7.5},${$-6} L${J},${$} L${J-7.5},${$+6} Z`})}return At.useEffect(()=>{if(!g.current)return;const E=nl(g.current);E.selectAll("*").remove(),E.attr("viewBox",`0 0 ${O0} ${N0}`);const z=pS(l).force("link",sS(u).id(j=>j.id).distance(350)).force("charge",bS().strength(-500)).force("center",Kb(O0/2,N0/2));Nf(E,"green",10),Nf(E,"crimson",8),Nf(E,"yellow",12);const O=_S(E,u),A=ES(E,l,z),Y=xS(E,u),Q=TS(E,l);SS(E),AS(E,r,c,A),z.on("tick",()=>{w({svg:E,svgNodes:A,svgLinks:O,svgNodeLabels:Q,svgLinkLabels:Y,links:u})})},[]),At.useEffect(()=>{if(!g.current)return;nl(g.current).selectAll("circle").attr("filter",z=>y.has(z.id)?"url(#glow-yellow)":p.has(z.id)?"url(#glow-crimson)":x.has(z.id)?"url(#glow-green)":null)},[s,o,h]),Et.jsx("svg",{ref:g,className:"absolute inset-0 z-0 w-full h-full"})}/**
 * @license lucide-react v0.487.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const MS=l=>l.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),DS=l=>l.replace(/^([A-Z])|[\s-_]+(\w)/g,(u,r,c)=>c?c.toUpperCase():r.toLowerCase()),D0=l=>{const u=DS(l);return u.charAt(0).toUpperCase()+u.slice(1)},by=(...l)=>l.filter((u,r,c)=>!!u&&u.trim()!==""&&c.indexOf(u)===r).join(" ").trim();/**
 * @license lucide-react v0.487.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var zS={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.487.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const US=At.forwardRef(({color:l="currentColor",size:u=24,strokeWidth:r=2,absoluteStrokeWidth:c,className:s="",children:o,iconNode:h,...g},v)=>At.createElement("svg",{ref:v,...zS,width:u,height:u,stroke:l,strokeWidth:c?Number(r)*24/Number(u):r,className:by("lucide",s),...g},[...h.map(([y,p])=>At.createElement(y,p)),...Array.isArray(o)?o:[o]]));/**
 * @license lucide-react v0.487.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Wi=(l,u)=>{const r=At.forwardRef(({className:c,...s},o)=>At.createElement(US,{ref:o,iconNode:u,className:by(`lucide-${MS(D0(l))}`,`lucide-${l}`,c),...s}));return r.displayName=D0(l),r};/**
 * @license lucide-react v0.487.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const HS=[["polygon",{points:"13 19 22 12 13 5 13 19",key:"587y9g"}],["polygon",{points:"2 19 11 12 2 5 2 19",key:"3pweh0"}]],CS=Wi("fast-forward",HS);/**
 * @license lucide-react v0.487.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const qS=[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]],BS=Wi("play",qS);/**
 * @license lucide-react v0.487.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const YS=[["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"}]],LS=Wi("rotate-ccw",YS);/**
 * @license lucide-react v0.487.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const XS=[["line",{x1:"6",x2:"6",y1:"4",y2:"20",key:"fy8qot"}],["polygon",{points:"10,4 20,12 10,20",key:"1mc1pf"}]],jS=Wi("step-forward",XS);function GS({onPlay:l,onNextStep:u,onFastForward:r,onReset:c,onChangeInputString:s,onChangeDelay:o}){const[h,g]=At.useState(""),[v,y]=At.useState("1.0"),[p,x]=At.useState(1),w=O=>{const A=O.target.value;/^\d*\.?\d*$/.test(A)&&(y(A),isNaN(Number(A))||x(Number(A)))},E=O=>{x(A=>{const Y=+Math.max(A+O,.05).toFixed(2);return y(Number.isInteger(Y)?`${Y}.0`:Y.toString()),Y})},z=O=>{O.key==="Enter"&&l(h)};return At.useEffect(()=>(window.addEventListener("keydown",z),s(),()=>window.removeEventListener("keydown",z)),[h]),At.useEffect(()=>{o(p)},[p]),Et.jsxs("div",{className:"absolute z-10 flex flex-col w-full h-full justify-between pointer-events-none",children:[Et.jsxs("div",{className:"flex justify-between",children:[Et.jsx("a",{href:"#",className:"pointer-events-auto",children:Et.jsx("img",{src:"pyGold.svg",className:"h-16 px-4 py-2 m-4 bg-gray-100 rounded-2xl",alt:"Mercury Logo"})}),Et.jsxs("div",{className:"flex items-center",children:[Et.jsx("input",{type:"text",className:"bg-gray-100 text-gray-700 tracking-widest font-mono rounded-2xl w-80 h-16 m-4 px-8 pointer-events-auto",placeholder:"Enter input...",value:h,onChange:O=>g(O.target.value)}),Et.jsx("button",{className:"flex items-center justify-center bg-gray-100 rounded-2xl w-16 h-16 mr-4 px-8 pointer-events-auto hover:cursor-pointer",onClick:()=>u(h),children:Et.jsx(jS,{className:"min-w-12 text-gray-600"})}),Et.jsx("button",{className:"flex items-center justify-center bg-gray-100 rounded-2xl w-16 h-16 mr-4 pointer-events-auto hover:cursor-pointer",onClick:()=>l(h),children:Et.jsx(BS,{className:"min-w-12 text-gray-600"})}),Et.jsx("button",{className:"flex items-center justify-center bg-gray-100 rounded-2xl w-16 h-16 mr-4 pointer-events-auto hover:cursor-pointer",onClick:()=>r(h),children:Et.jsx(CS,{className:"min-w-12 text-gray-600"})}),Et.jsx("button",{className:"flex items-center justify-center bg-gray-100 rounded-2xl w-16 h-16 mr-4 pointer-events-auto hover:cursor-pointer",onClick:()=>c(),children:Et.jsx(LS,{className:"min-w-12 text-gray-600"})})]})]}),Et.jsx("div",{className:"flex justify-between",children:Et.jsxs("div",{className:"flex p-4 m-4",children:[Et.jsx("button",{className:"bg-gray-100 pointer-events-auto size-8",onClick:()=>E(.05),children:"+"}),Et.jsx("input",{type:"text",inputMode:"decimal",className:" bg-gray-100 w-16 pointer-events-auto ml-4 mr-1 font-mono rounded text-center",value:v,onChange:w}),Et.jsx("span",{className:"text-center font-mono align-baseline italic mr-2 mt-1",children:"s"}),Et.jsx("button",{className:"bg-gray-100 pointer-events-auto size-8",onClick:()=>E(-.05),children:"-"})]})})]})}function Sy(l,u){return function(){return l.apply(u,arguments)}}const{toString:QS}=Object.prototype,{getPrototypeOf:ns}=Object,Pi=(l=>u=>{const r=QS.call(u);return l[r]||(l[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Ce=l=>(l=l.toLowerCase(),u=>Pi(u)===l),Ii=l=>u=>typeof u===l,{isArray:Wl}=Array,fu=Ii("undefined");function VS(l){return l!==null&&!fu(l)&&l.constructor!==null&&!fu(l.constructor)&&pe(l.constructor.isBuffer)&&l.constructor.isBuffer(l)}const _y=Ce("ArrayBuffer");function ZS(l){let u;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?u=ArrayBuffer.isView(l):u=l&&l.buffer&&_y(l.buffer),u}const KS=Ii("string"),pe=Ii("function"),xy=Ii("number"),tr=l=>l!==null&&typeof l=="object",JS=l=>l===!0||l===!1,qi=l=>{if(Pi(l)!=="object")return!1;const u=ns(l);return(u===null||u===Object.prototype||Object.getPrototypeOf(u)===null)&&!(Symbol.toStringTag in l)&&!(Symbol.iterator in l)},kS=Ce("Date"),$S=Ce("File"),FS=Ce("Blob"),WS=Ce("FileList"),PS=l=>tr(l)&&pe(l.pipe),IS=l=>{let u;return l&&(typeof FormData=="function"&&l instanceof FormData||pe(l.append)&&((u=Pi(l))==="formdata"||u==="object"&&pe(l.toString)&&l.toString()==="[object FormData]"))},t_=Ce("URLSearchParams"),[e_,n_,l_,a_]=["ReadableStream","Request","Response","Headers"].map(Ce),u_=l=>l.trim?l.trim():l.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function hu(l,u,{allOwnKeys:r=!1}={}){if(l===null||typeof l>"u")return;let c,s;if(typeof l!="object"&&(l=[l]),Wl(l))for(c=0,s=l.length;c<s;c++)u.call(null,l[c],c,l);else{const o=r?Object.getOwnPropertyNames(l):Object.keys(l),h=o.length;let g;for(c=0;c<h;c++)g=o[c],u.call(null,l[g],g,l)}}function Ey(l,u){u=u.toLowerCase();const r=Object.keys(l);let c=r.length,s;for(;c-- >0;)if(s=r[c],u===s.toLowerCase())return s;return null}const el=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Ay=l=>!fu(l)&&l!==el;function jf(){const{caseless:l}=Ay(this)&&this||{},u={},r=(c,s)=>{const o=l&&Ey(u,s)||s;qi(u[o])&&qi(c)?u[o]=jf(u[o],c):qi(c)?u[o]=jf({},c):Wl(c)?u[o]=c.slice():u[o]=c};for(let c=0,s=arguments.length;c<s;c++)arguments[c]&&hu(arguments[c],r);return u}const i_=(l,u,r,{allOwnKeys:c}={})=>(hu(u,(s,o)=>{r&&pe(s)?l[o]=Sy(s,r):l[o]=s},{allOwnKeys:c}),l),r_=l=>(l.charCodeAt(0)===65279&&(l=l.slice(1)),l),c_=(l,u,r,c)=>{l.prototype=Object.create(u.prototype,c),l.prototype.constructor=l,Object.defineProperty(l,"super",{value:u.prototype}),r&&Object.assign(l.prototype,r)},f_=(l,u,r,c)=>{let s,o,h;const g={};if(u=u||{},l==null)return u;do{for(s=Object.getOwnPropertyNames(l),o=s.length;o-- >0;)h=s[o],(!c||c(h,l,u))&&!g[h]&&(u[h]=l[h],g[h]=!0);l=r!==!1&&ns(l)}while(l&&(!r||r(l,u))&&l!==Object.prototype);return u},s_=(l,u,r)=>{l=String(l),(r===void 0||r>l.length)&&(r=l.length),r-=u.length;const c=l.indexOf(u,r);return c!==-1&&c===r},o_=l=>{if(!l)return null;if(Wl(l))return l;let u=l.length;if(!xy(u))return null;const r=new Array(u);for(;u-- >0;)r[u]=l[u];return r},h_=(l=>u=>l&&u instanceof l)(typeof Uint8Array<"u"&&ns(Uint8Array)),d_=(l,u)=>{const c=(l&&l[Symbol.iterator]).call(l);let s;for(;(s=c.next())&&!s.done;){const o=s.value;u.call(l,o[0],o[1])}},y_=(l,u)=>{let r;const c=[];for(;(r=l.exec(u))!==null;)c.push(r);return c},m_=Ce("HTMLFormElement"),g_=l=>l.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,c,s){return c.toUpperCase()+s}),z0=(({hasOwnProperty:l})=>(u,r)=>l.call(u,r))(Object.prototype),v_=Ce("RegExp"),Ty=(l,u)=>{const r=Object.getOwnPropertyDescriptors(l),c={};hu(r,(s,o)=>{let h;(h=u(s,o,l))!==!1&&(c[o]=h||s)}),Object.defineProperties(l,c)},p_=l=>{Ty(l,(u,r)=>{if(pe(l)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const c=l[r];if(pe(c)){if(u.enumerable=!1,"writable"in u){u.writable=!1;return}u.set||(u.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},b_=(l,u)=>{const r={},c=s=>{s.forEach(o=>{r[o]=!0})};return Wl(l)?c(l):c(String(l).split(u)),r},S_=()=>{},__=(l,u)=>l!=null&&Number.isFinite(l=+l)?l:u;function x_(l){return!!(l&&pe(l.append)&&l[Symbol.toStringTag]==="FormData"&&l[Symbol.iterator])}const E_=l=>{const u=new Array(10),r=(c,s)=>{if(tr(c)){if(u.indexOf(c)>=0)return;if(!("toJSON"in c)){u[s]=c;const o=Wl(c)?[]:{};return hu(c,(h,g)=>{const v=r(h,s+1);!fu(v)&&(o[g]=v)}),u[s]=void 0,o}}return c};return r(l,0)},A_=Ce("AsyncFunction"),T_=l=>l&&(tr(l)||pe(l))&&pe(l.then)&&pe(l.catch),wy=((l,u)=>l?setImmediate:u?((r,c)=>(el.addEventListener("message",({source:s,data:o})=>{s===el&&o===r&&c.length&&c.shift()()},!1),s=>{c.push(s),el.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",pe(el.postMessage)),w_=typeof queueMicrotask<"u"?queueMicrotask.bind(el):typeof process<"u"&&process.nextTick||wy,H={isArray:Wl,isArrayBuffer:_y,isBuffer:VS,isFormData:IS,isArrayBufferView:ZS,isString:KS,isNumber:xy,isBoolean:JS,isObject:tr,isPlainObject:qi,isReadableStream:e_,isRequest:n_,isResponse:l_,isHeaders:a_,isUndefined:fu,isDate:kS,isFile:$S,isBlob:FS,isRegExp:v_,isFunction:pe,isStream:PS,isURLSearchParams:t_,isTypedArray:h_,isFileList:WS,forEach:hu,merge:jf,extend:i_,trim:u_,stripBOM:r_,inherits:c_,toFlatObject:f_,kindOf:Pi,kindOfTest:Ce,endsWith:s_,toArray:o_,forEachEntry:d_,matchAll:y_,isHTMLForm:m_,hasOwnProperty:z0,hasOwnProp:z0,reduceDescriptors:Ty,freezeMethods:p_,toObjectSet:b_,toCamelCase:g_,noop:S_,toFiniteNumber:__,findKey:Ey,global:el,isContextDefined:Ay,isSpecCompliantForm:x_,toJSONObject:E_,isAsyncFn:A_,isThenable:T_,setImmediate:wy,asap:w_};function ut(l,u,r,c,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=l,this.name="AxiosError",u&&(this.code=u),r&&(this.config=r),c&&(this.request=c),s&&(this.response=s,this.status=s.status?s.status:null)}H.inherits(ut,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:H.toJSONObject(this.config),code:this.code,status:this.status}}});const Ry=ut.prototype,Oy={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(l=>{Oy[l]={value:l}});Object.defineProperties(ut,Oy);Object.defineProperty(Ry,"isAxiosError",{value:!0});ut.from=(l,u,r,c,s,o)=>{const h=Object.create(Ry);return H.toFlatObject(l,h,function(v){return v!==Error.prototype},g=>g!=="isAxiosError"),ut.call(h,l.message,u,r,c,s),h.cause=l,h.name=l.name,o&&Object.assign(h,o),h};const R_=null;function Gf(l){return H.isPlainObject(l)||H.isArray(l)}function Ny(l){return H.endsWith(l,"[]")?l.slice(0,-2):l}function U0(l,u,r){return l?l.concat(u).map(function(s,o){return s=Ny(s),!r&&o?"["+s+"]":s}).join(r?".":""):u}function O_(l){return H.isArray(l)&&!l.some(Gf)}const N_=H.toFlatObject(H,{},null,function(u){return/^is[A-Z]/.test(u)});function er(l,u,r){if(!H.isObject(l))throw new TypeError("target must be an object");u=u||new FormData,r=H.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(O,A){return!H.isUndefined(A[O])});const c=r.metaTokens,s=r.visitor||p,o=r.dots,h=r.indexes,v=(r.Blob||typeof Blob<"u"&&Blob)&&H.isSpecCompliantForm(u);if(!H.isFunction(s))throw new TypeError("visitor must be a function");function y(z){if(z===null)return"";if(H.isDate(z))return z.toISOString();if(!v&&H.isBlob(z))throw new ut("Blob is not supported. Use a Buffer instead.");return H.isArrayBuffer(z)||H.isTypedArray(z)?v&&typeof Blob=="function"?new Blob([z]):Buffer.from(z):z}function p(z,O,A){let Y=z;if(z&&!A&&typeof z=="object"){if(H.endsWith(O,"{}"))O=c?O:O.slice(0,-2),z=JSON.stringify(z);else if(H.isArray(z)&&O_(z)||(H.isFileList(z)||H.endsWith(O,"[]"))&&(Y=H.toArray(z)))return O=Ny(O),Y.forEach(function(j,D){!(H.isUndefined(j)||j===null)&&u.append(h===!0?U0([O],D,o):h===null?O:O+"[]",y(j))}),!1}return Gf(z)?!0:(u.append(U0(A,O,o),y(z)),!1)}const x=[],w=Object.assign(N_,{defaultVisitor:p,convertValue:y,isVisitable:Gf});function E(z,O){if(!H.isUndefined(z)){if(x.indexOf(z)!==-1)throw Error("Circular reference detected in "+O.join("."));x.push(z),H.forEach(z,function(Y,Q){(!(H.isUndefined(Y)||Y===null)&&s.call(u,Y,H.isString(Q)?Q.trim():Q,O,w))===!0&&E(Y,O?O.concat(Q):[Q])}),x.pop()}}if(!H.isObject(l))throw new TypeError("data must be an object");return E(l),u}function H0(l){const u={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(l).replace(/[!'()~]|%20|%00/g,function(c){return u[c]})}function ls(l,u){this._pairs=[],l&&er(l,this,u)}const My=ls.prototype;My.append=function(u,r){this._pairs.push([u,r])};My.toString=function(u){const r=u?function(c){return u.call(this,c,H0)}:H0;return this._pairs.map(function(s){return r(s[0])+"="+r(s[1])},"").join("&")};function M_(l){return encodeURIComponent(l).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Dy(l,u,r){if(!u)return l;const c=r&&r.encode||M_;H.isFunction(r)&&(r={serialize:r});const s=r&&r.serialize;let o;if(s?o=s(u,r):o=H.isURLSearchParams(u)?u.toString():new ls(u,r).toString(c),o){const h=l.indexOf("#");h!==-1&&(l=l.slice(0,h)),l+=(l.indexOf("?")===-1?"?":"&")+o}return l}class C0{constructor(){this.handlers=[]}use(u,r,c){return this.handlers.push({fulfilled:u,rejected:r,synchronous:c?c.synchronous:!1,runWhen:c?c.runWhen:null}),this.handlers.length-1}eject(u){this.handlers[u]&&(this.handlers[u]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(u){H.forEach(this.handlers,function(c){c!==null&&u(c)})}}const zy={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},D_=typeof URLSearchParams<"u"?URLSearchParams:ls,z_=typeof FormData<"u"?FormData:null,U_=typeof Blob<"u"?Blob:null,H_={isBrowser:!0,classes:{URLSearchParams:D_,FormData:z_,Blob:U_},protocols:["http","https","file","blob","url","data"]},as=typeof window<"u"&&typeof document<"u",Qf=typeof navigator=="object"&&navigator||void 0,C_=as&&(!Qf||["ReactNative","NativeScript","NS"].indexOf(Qf.product)<0),q_=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",B_=as&&window.location.href||"http://localhost",Y_=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:as,hasStandardBrowserEnv:C_,hasStandardBrowserWebWorkerEnv:q_,navigator:Qf,origin:B_},Symbol.toStringTag,{value:"Module"})),Wt={...Y_,...H_};function L_(l,u){return er(l,new Wt.classes.URLSearchParams,Object.assign({visitor:function(r,c,s,o){return Wt.isNode&&H.isBuffer(r)?(this.append(c,r.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},u))}function X_(l){return H.matchAll(/\w+|\[(\w*)]/g,l).map(u=>u[0]==="[]"?"":u[1]||u[0])}function j_(l){const u={},r=Object.keys(l);let c;const s=r.length;let o;for(c=0;c<s;c++)o=r[c],u[o]=l[o];return u}function Uy(l){function u(r,c,s,o){let h=r[o++];if(h==="__proto__")return!0;const g=Number.isFinite(+h),v=o>=r.length;return h=!h&&H.isArray(s)?s.length:h,v?(H.hasOwnProp(s,h)?s[h]=[s[h],c]:s[h]=c,!g):((!s[h]||!H.isObject(s[h]))&&(s[h]=[]),u(r,c,s[h],o)&&H.isArray(s[h])&&(s[h]=j_(s[h])),!g)}if(H.isFormData(l)&&H.isFunction(l.entries)){const r={};return H.forEachEntry(l,(c,s)=>{u(X_(c),s,r,0)}),r}return null}function G_(l,u,r){if(H.isString(l))try{return(u||JSON.parse)(l),H.trim(l)}catch(c){if(c.name!=="SyntaxError")throw c}return(r||JSON.stringify)(l)}const du={transitional:zy,adapter:["xhr","http","fetch"],transformRequest:[function(u,r){const c=r.getContentType()||"",s=c.indexOf("application/json")>-1,o=H.isObject(u);if(o&&H.isHTMLForm(u)&&(u=new FormData(u)),H.isFormData(u))return s?JSON.stringify(Uy(u)):u;if(H.isArrayBuffer(u)||H.isBuffer(u)||H.isStream(u)||H.isFile(u)||H.isBlob(u)||H.isReadableStream(u))return u;if(H.isArrayBufferView(u))return u.buffer;if(H.isURLSearchParams(u))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),u.toString();let g;if(o){if(c.indexOf("application/x-www-form-urlencoded")>-1)return L_(u,this.formSerializer).toString();if((g=H.isFileList(u))||c.indexOf("multipart/form-data")>-1){const v=this.env&&this.env.FormData;return er(g?{"files[]":u}:u,v&&new v,this.formSerializer)}}return o||s?(r.setContentType("application/json",!1),G_(u)):u}],transformResponse:[function(u){const r=this.transitional||du.transitional,c=r&&r.forcedJSONParsing,s=this.responseType==="json";if(H.isResponse(u)||H.isReadableStream(u))return u;if(u&&H.isString(u)&&(c&&!this.responseType||s)){const h=!(r&&r.silentJSONParsing)&&s;try{return JSON.parse(u)}catch(g){if(h)throw g.name==="SyntaxError"?ut.from(g,ut.ERR_BAD_RESPONSE,this,null,this.response):g}}return u}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Wt.classes.FormData,Blob:Wt.classes.Blob},validateStatus:function(u){return u>=200&&u<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};H.forEach(["delete","get","head","post","put","patch"],l=>{du.headers[l]={}});const Q_=H.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),V_=l=>{const u={};let r,c,s;return l&&l.split(`
`).forEach(function(h){s=h.indexOf(":"),r=h.substring(0,s).trim().toLowerCase(),c=h.substring(s+1).trim(),!(!r||u[r]&&Q_[r])&&(r==="set-cookie"?u[r]?u[r].push(c):u[r]=[c]:u[r]=u[r]?u[r]+", "+c:c)}),u},q0=Symbol("internals");function Ia(l){return l&&String(l).trim().toLowerCase()}function Bi(l){return l===!1||l==null?l:H.isArray(l)?l.map(Bi):String(l)}function Z_(l){const u=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let c;for(;c=r.exec(l);)u[c[1]]=c[2];return u}const K_=l=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(l.trim());function Mf(l,u,r,c,s){if(H.isFunction(c))return c.call(this,u,r);if(s&&(u=r),!!H.isString(u)){if(H.isString(c))return u.indexOf(c)!==-1;if(H.isRegExp(c))return c.test(u)}}function J_(l){return l.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(u,r,c)=>r.toUpperCase()+c)}function k_(l,u){const r=H.toCamelCase(" "+u);["get","set","has"].forEach(c=>{Object.defineProperty(l,c+r,{value:function(s,o,h){return this[c].call(this,u,s,o,h)},configurable:!0})})}let re=class{constructor(u){u&&this.set(u)}set(u,r,c){const s=this;function o(g,v,y){const p=Ia(v);if(!p)throw new Error("header name must be a non-empty string");const x=H.findKey(s,p);(!x||s[x]===void 0||y===!0||y===void 0&&s[x]!==!1)&&(s[x||v]=Bi(g))}const h=(g,v)=>H.forEach(g,(y,p)=>o(y,p,v));if(H.isPlainObject(u)||u instanceof this.constructor)h(u,r);else if(H.isString(u)&&(u=u.trim())&&!K_(u))h(V_(u),r);else if(H.isHeaders(u))for(const[g,v]of u.entries())o(v,g,c);else u!=null&&o(r,u,c);return this}get(u,r){if(u=Ia(u),u){const c=H.findKey(this,u);if(c){const s=this[c];if(!r)return s;if(r===!0)return Z_(s);if(H.isFunction(r))return r.call(this,s,c);if(H.isRegExp(r))return r.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(u,r){if(u=Ia(u),u){const c=H.findKey(this,u);return!!(c&&this[c]!==void 0&&(!r||Mf(this,this[c],c,r)))}return!1}delete(u,r){const c=this;let s=!1;function o(h){if(h=Ia(h),h){const g=H.findKey(c,h);g&&(!r||Mf(c,c[g],g,r))&&(delete c[g],s=!0)}}return H.isArray(u)?u.forEach(o):o(u),s}clear(u){const r=Object.keys(this);let c=r.length,s=!1;for(;c--;){const o=r[c];(!u||Mf(this,this[o],o,u,!0))&&(delete this[o],s=!0)}return s}normalize(u){const r=this,c={};return H.forEach(this,(s,o)=>{const h=H.findKey(c,o);if(h){r[h]=Bi(s),delete r[o];return}const g=u?J_(o):String(o).trim();g!==o&&delete r[o],r[g]=Bi(s),c[g]=!0}),this}concat(...u){return this.constructor.concat(this,...u)}toJSON(u){const r=Object.create(null);return H.forEach(this,(c,s)=>{c!=null&&c!==!1&&(r[s]=u&&H.isArray(c)?c.join(", "):c)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([u,r])=>u+": "+r).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(u){return u instanceof this?u:new this(u)}static concat(u,...r){const c=new this(u);return r.forEach(s=>c.set(s)),c}static accessor(u){const c=(this[q0]=this[q0]={accessors:{}}).accessors,s=this.prototype;function o(h){const g=Ia(h);c[g]||(k_(s,h),c[g]=!0)}return H.isArray(u)?u.forEach(o):o(u),this}};re.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);H.reduceDescriptors(re.prototype,({value:l},u)=>{let r=u[0].toUpperCase()+u.slice(1);return{get:()=>l,set(c){this[r]=c}}});H.freezeMethods(re);function Df(l,u){const r=this||du,c=u||r,s=re.from(c.headers);let o=c.data;return H.forEach(l,function(g){o=g.call(r,o,s.normalize(),u?u.status:void 0)}),s.normalize(),o}function Hy(l){return!!(l&&l.__CANCEL__)}function Pl(l,u,r){ut.call(this,l??"canceled",ut.ERR_CANCELED,u,r),this.name="CanceledError"}H.inherits(Pl,ut,{__CANCEL__:!0});function Cy(l,u,r){const c=r.config.validateStatus;!r.status||!c||c(r.status)?l(r):u(new ut("Request failed with status code "+r.status,[ut.ERR_BAD_REQUEST,ut.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function $_(l){const u=/^([-+\w]{1,25})(:?\/\/|:)/.exec(l);return u&&u[1]||""}function F_(l,u){l=l||10;const r=new Array(l),c=new Array(l);let s=0,o=0,h;return u=u!==void 0?u:1e3,function(v){const y=Date.now(),p=c[o];h||(h=y),r[s]=v,c[s]=y;let x=o,w=0;for(;x!==s;)w+=r[x++],x=x%l;if(s=(s+1)%l,s===o&&(o=(o+1)%l),y-h<u)return;const E=p&&y-p;return E?Math.round(w*1e3/E):void 0}}function W_(l,u){let r=0,c=1e3/u,s,o;const h=(y,p=Date.now())=>{r=p,s=null,o&&(clearTimeout(o),o=null),l.apply(null,y)};return[(...y)=>{const p=Date.now(),x=p-r;x>=c?h(y,p):(s=y,o||(o=setTimeout(()=>{o=null,h(s)},c-x)))},()=>s&&h(s)]}const Zi=(l,u,r=3)=>{let c=0;const s=F_(50,250);return W_(o=>{const h=o.loaded,g=o.lengthComputable?o.total:void 0,v=h-c,y=s(v),p=h<=g;c=h;const x={loaded:h,total:g,progress:g?h/g:void 0,bytes:v,rate:y||void 0,estimated:y&&g&&p?(g-h)/y:void 0,event:o,lengthComputable:g!=null,[u?"download":"upload"]:!0};l(x)},r)},B0=(l,u)=>{const r=l!=null;return[c=>u[0]({lengthComputable:r,total:l,loaded:c}),u[1]]},Y0=l=>(...u)=>H.asap(()=>l(...u)),P_=Wt.hasStandardBrowserEnv?((l,u)=>r=>(r=new URL(r,Wt.origin),l.protocol===r.protocol&&l.host===r.host&&(u||l.port===r.port)))(new URL(Wt.origin),Wt.navigator&&/(msie|trident)/i.test(Wt.navigator.userAgent)):()=>!0,I_=Wt.hasStandardBrowserEnv?{write(l,u,r,c,s,o){const h=[l+"="+encodeURIComponent(u)];H.isNumber(r)&&h.push("expires="+new Date(r).toGMTString()),H.isString(c)&&h.push("path="+c),H.isString(s)&&h.push("domain="+s),o===!0&&h.push("secure"),document.cookie=h.join("; ")},read(l){const u=document.cookie.match(new RegExp("(^|;\\s*)("+l+")=([^;]*)"));return u?decodeURIComponent(u[3]):null},remove(l){this.write(l,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function t2(l){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(l)}function e2(l,u){return u?l.replace(/\/?\/$/,"")+"/"+u.replace(/^\/+/,""):l}function qy(l,u,r){let c=!t2(u);return l&&(c||r==!1)?e2(l,u):u}const L0=l=>l instanceof re?{...l}:l;function il(l,u){u=u||{};const r={};function c(y,p,x,w){return H.isPlainObject(y)&&H.isPlainObject(p)?H.merge.call({caseless:w},y,p):H.isPlainObject(p)?H.merge({},p):H.isArray(p)?p.slice():p}function s(y,p,x,w){if(H.isUndefined(p)){if(!H.isUndefined(y))return c(void 0,y,x,w)}else return c(y,p,x,w)}function o(y,p){if(!H.isUndefined(p))return c(void 0,p)}function h(y,p){if(H.isUndefined(p)){if(!H.isUndefined(y))return c(void 0,y)}else return c(void 0,p)}function g(y,p,x){if(x in u)return c(y,p);if(x in l)return c(void 0,y)}const v={url:o,method:o,data:o,baseURL:h,transformRequest:h,transformResponse:h,paramsSerializer:h,timeout:h,timeoutMessage:h,withCredentials:h,withXSRFToken:h,adapter:h,responseType:h,xsrfCookieName:h,xsrfHeaderName:h,onUploadProgress:h,onDownloadProgress:h,decompress:h,maxContentLength:h,maxBodyLength:h,beforeRedirect:h,transport:h,httpAgent:h,httpsAgent:h,cancelToken:h,socketPath:h,responseEncoding:h,validateStatus:g,headers:(y,p,x)=>s(L0(y),L0(p),x,!0)};return H.forEach(Object.keys(Object.assign({},l,u)),function(p){const x=v[p]||s,w=x(l[p],u[p],p);H.isUndefined(w)&&x!==g||(r[p]=w)}),r}const By=l=>{const u=il({},l);let{data:r,withXSRFToken:c,xsrfHeaderName:s,xsrfCookieName:o,headers:h,auth:g}=u;u.headers=h=re.from(h),u.url=Dy(qy(u.baseURL,u.url,u.allowAbsoluteUrls),l.params,l.paramsSerializer),g&&h.set("Authorization","Basic "+btoa((g.username||"")+":"+(g.password?unescape(encodeURIComponent(g.password)):"")));let v;if(H.isFormData(r)){if(Wt.hasStandardBrowserEnv||Wt.hasStandardBrowserWebWorkerEnv)h.setContentType(void 0);else if((v=h.getContentType())!==!1){const[y,...p]=v?v.split(";").map(x=>x.trim()).filter(Boolean):[];h.setContentType([y||"multipart/form-data",...p].join("; "))}}if(Wt.hasStandardBrowserEnv&&(c&&H.isFunction(c)&&(c=c(u)),c||c!==!1&&P_(u.url))){const y=s&&o&&I_.read(o);y&&h.set(s,y)}return u},n2=typeof XMLHttpRequest<"u",l2=n2&&function(l){return new Promise(function(r,c){const s=By(l);let o=s.data;const h=re.from(s.headers).normalize();let{responseType:g,onUploadProgress:v,onDownloadProgress:y}=s,p,x,w,E,z;function O(){E&&E(),z&&z(),s.cancelToken&&s.cancelToken.unsubscribe(p),s.signal&&s.signal.removeEventListener("abort",p)}let A=new XMLHttpRequest;A.open(s.method.toUpperCase(),s.url,!0),A.timeout=s.timeout;function Y(){if(!A)return;const j=re.from("getAllResponseHeaders"in A&&A.getAllResponseHeaders()),X={data:!g||g==="text"||g==="json"?A.responseText:A.response,status:A.status,statusText:A.statusText,headers:j,config:l,request:A};Cy(function($){r($),O()},function($){c($),O()},X),A=null}"onloadend"in A?A.onloadend=Y:A.onreadystatechange=function(){!A||A.readyState!==4||A.status===0&&!(A.responseURL&&A.responseURL.indexOf("file:")===0)||setTimeout(Y)},A.onabort=function(){A&&(c(new ut("Request aborted",ut.ECONNABORTED,l,A)),A=null)},A.onerror=function(){c(new ut("Network Error",ut.ERR_NETWORK,l,A)),A=null},A.ontimeout=function(){let D=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const X=s.transitional||zy;s.timeoutErrorMessage&&(D=s.timeoutErrorMessage),c(new ut(D,X.clarifyTimeoutError?ut.ETIMEDOUT:ut.ECONNABORTED,l,A)),A=null},o===void 0&&h.setContentType(null),"setRequestHeader"in A&&H.forEach(h.toJSON(),function(D,X){A.setRequestHeader(X,D)}),H.isUndefined(s.withCredentials)||(A.withCredentials=!!s.withCredentials),g&&g!=="json"&&(A.responseType=s.responseType),y&&([w,z]=Zi(y,!0),A.addEventListener("progress",w)),v&&A.upload&&([x,E]=Zi(v),A.upload.addEventListener("progress",x),A.upload.addEventListener("loadend",E)),(s.cancelToken||s.signal)&&(p=j=>{A&&(c(!j||j.type?new Pl(null,l,A):j),A.abort(),A=null)},s.cancelToken&&s.cancelToken.subscribe(p),s.signal&&(s.signal.aborted?p():s.signal.addEventListener("abort",p)));const Q=$_(s.url);if(Q&&Wt.protocols.indexOf(Q)===-1){c(new ut("Unsupported protocol "+Q+":",ut.ERR_BAD_REQUEST,l));return}A.send(o||null)})},a2=(l,u)=>{const{length:r}=l=l?l.filter(Boolean):[];if(u||r){let c=new AbortController,s;const o=function(y){if(!s){s=!0,g();const p=y instanceof Error?y:this.reason;c.abort(p instanceof ut?p:new Pl(p instanceof Error?p.message:p))}};let h=u&&setTimeout(()=>{h=null,o(new ut(`timeout ${u} of ms exceeded`,ut.ETIMEDOUT))},u);const g=()=>{l&&(h&&clearTimeout(h),h=null,l.forEach(y=>{y.unsubscribe?y.unsubscribe(o):y.removeEventListener("abort",o)}),l=null)};l.forEach(y=>y.addEventListener("abort",o));const{signal:v}=c;return v.unsubscribe=()=>H.asap(g),v}},u2=function*(l,u){let r=l.byteLength;if(r<u){yield l;return}let c=0,s;for(;c<r;)s=c+u,yield l.slice(c,s),c=s},i2=async function*(l,u){for await(const r of r2(l))yield*u2(r,u)},r2=async function*(l){if(l[Symbol.asyncIterator]){yield*l;return}const u=l.getReader();try{for(;;){const{done:r,value:c}=await u.read();if(r)break;yield c}}finally{await u.cancel()}},X0=(l,u,r,c)=>{const s=i2(l,u);let o=0,h,g=v=>{h||(h=!0,c&&c(v))};return new ReadableStream({async pull(v){try{const{done:y,value:p}=await s.next();if(y){g(),v.close();return}let x=p.byteLength;if(r){let w=o+=x;r(w)}v.enqueue(new Uint8Array(p))}catch(y){throw g(y),y}},cancel(v){return g(v),s.return()}},{highWaterMark:2})},nr=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Yy=nr&&typeof ReadableStream=="function",c2=nr&&(typeof TextEncoder=="function"?(l=>u=>l.encode(u))(new TextEncoder):async l=>new Uint8Array(await new Response(l).arrayBuffer())),Ly=(l,...u)=>{try{return!!l(...u)}catch{return!1}},f2=Yy&&Ly(()=>{let l=!1;const u=new Request(Wt.origin,{body:new ReadableStream,method:"POST",get duplex(){return l=!0,"half"}}).headers.has("Content-Type");return l&&!u}),j0=64*1024,Vf=Yy&&Ly(()=>H.isReadableStream(new Response("").body)),Ki={stream:Vf&&(l=>l.body)};nr&&(l=>{["text","arrayBuffer","blob","formData","stream"].forEach(u=>{!Ki[u]&&(Ki[u]=H.isFunction(l[u])?r=>r[u]():(r,c)=>{throw new ut(`Response type '${u}' is not supported`,ut.ERR_NOT_SUPPORT,c)})})})(new Response);const s2=async l=>{if(l==null)return 0;if(H.isBlob(l))return l.size;if(H.isSpecCompliantForm(l))return(await new Request(Wt.origin,{method:"POST",body:l}).arrayBuffer()).byteLength;if(H.isArrayBufferView(l)||H.isArrayBuffer(l))return l.byteLength;if(H.isURLSearchParams(l)&&(l=l+""),H.isString(l))return(await c2(l)).byteLength},o2=async(l,u)=>{const r=H.toFiniteNumber(l.getContentLength());return r??s2(u)},h2=nr&&(async l=>{let{url:u,method:r,data:c,signal:s,cancelToken:o,timeout:h,onDownloadProgress:g,onUploadProgress:v,responseType:y,headers:p,withCredentials:x="same-origin",fetchOptions:w}=By(l);y=y?(y+"").toLowerCase():"text";let E=a2([s,o&&o.toAbortSignal()],h),z;const O=E&&E.unsubscribe&&(()=>{E.unsubscribe()});let A;try{if(v&&f2&&r!=="get"&&r!=="head"&&(A=await o2(p,c))!==0){let X=new Request(u,{method:"POST",body:c,duplex:"half"}),J;if(H.isFormData(c)&&(J=X.headers.get("content-type"))&&p.setContentType(J),X.body){const[$,F]=B0(A,Zi(Y0(v)));c=X0(X.body,j0,$,F)}}H.isString(x)||(x=x?"include":"omit");const Y="credentials"in Request.prototype;z=new Request(u,{...w,signal:E,method:r.toUpperCase(),headers:p.normalize().toJSON(),body:c,duplex:"half",credentials:Y?x:void 0});let Q=await fetch(z);const j=Vf&&(y==="stream"||y==="response");if(Vf&&(g||j&&O)){const X={};["status","statusText","headers"].forEach(lt=>{X[lt]=Q[lt]});const J=H.toFiniteNumber(Q.headers.get("content-length")),[$,F]=g&&B0(J,Zi(Y0(g),!0))||[];Q=new Response(X0(Q.body,j0,$,()=>{F&&F(),O&&O()}),X)}y=y||"text";let D=await Ki[H.findKey(Ki,y)||"text"](Q,l);return!j&&O&&O(),await new Promise((X,J)=>{Cy(X,J,{data:D,headers:re.from(Q.headers),status:Q.status,statusText:Q.statusText,config:l,request:z})})}catch(Y){throw O&&O(),Y&&Y.name==="TypeError"&&/fetch/i.test(Y.message)?Object.assign(new ut("Network Error",ut.ERR_NETWORK,l,z),{cause:Y.cause||Y}):ut.from(Y,Y&&Y.code,l,z)}}),Zf={http:R_,xhr:l2,fetch:h2};H.forEach(Zf,(l,u)=>{if(l){try{Object.defineProperty(l,"name",{value:u})}catch{}Object.defineProperty(l,"adapterName",{value:u})}});const G0=l=>`- ${l}`,d2=l=>H.isFunction(l)||l===null||l===!1,Xy={getAdapter:l=>{l=H.isArray(l)?l:[l];const{length:u}=l;let r,c;const s={};for(let o=0;o<u;o++){r=l[o];let h;if(c=r,!d2(r)&&(c=Zf[(h=String(r)).toLowerCase()],c===void 0))throw new ut(`Unknown adapter '${h}'`);if(c)break;s[h||"#"+o]=c}if(!c){const o=Object.entries(s).map(([g,v])=>`adapter ${g} `+(v===!1?"is not supported by the environment":"is not available in the build"));let h=u?o.length>1?`since :
`+o.map(G0).join(`
`):" "+G0(o[0]):"as no adapter specified";throw new ut("There is no suitable adapter to dispatch the request "+h,"ERR_NOT_SUPPORT")}return c},adapters:Zf};function zf(l){if(l.cancelToken&&l.cancelToken.throwIfRequested(),l.signal&&l.signal.aborted)throw new Pl(null,l)}function Q0(l){return zf(l),l.headers=re.from(l.headers),l.data=Df.call(l,l.transformRequest),["post","put","patch"].indexOf(l.method)!==-1&&l.headers.setContentType("application/x-www-form-urlencoded",!1),Xy.getAdapter(l.adapter||du.adapter)(l).then(function(c){return zf(l),c.data=Df.call(l,l.transformResponse,c),c.headers=re.from(c.headers),c},function(c){return Hy(c)||(zf(l),c&&c.response&&(c.response.data=Df.call(l,l.transformResponse,c.response),c.response.headers=re.from(c.response.headers))),Promise.reject(c)})}const jy="1.8.4",lr={};["object","boolean","number","function","string","symbol"].forEach((l,u)=>{lr[l]=function(c){return typeof c===l||"a"+(u<1?"n ":" ")+l}});const V0={};lr.transitional=function(u,r,c){function s(o,h){return"[Axios v"+jy+"] Transitional option '"+o+"'"+h+(c?". "+c:"")}return(o,h,g)=>{if(u===!1)throw new ut(s(h," has been removed"+(r?" in "+r:"")),ut.ERR_DEPRECATED);return r&&!V0[h]&&(V0[h]=!0,console.warn(s(h," has been deprecated since v"+r+" and will be removed in the near future"))),u?u(o,h,g):!0}};lr.spelling=function(u){return(r,c)=>(console.warn(`${c} is likely a misspelling of ${u}`),!0)};function y2(l,u,r){if(typeof l!="object")throw new ut("options must be an object",ut.ERR_BAD_OPTION_VALUE);const c=Object.keys(l);let s=c.length;for(;s-- >0;){const o=c[s],h=u[o];if(h){const g=l[o],v=g===void 0||h(g,o,l);if(v!==!0)throw new ut("option "+o+" must be "+v,ut.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new ut("Unknown option "+o,ut.ERR_BAD_OPTION)}}const Yi={assertOptions:y2,validators:lr},Qe=Yi.validators;let al=class{constructor(u){this.defaults=u,this.interceptors={request:new C0,response:new C0}}async request(u,r){try{return await this._request(u,r)}catch(c){if(c instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const o=s.stack?s.stack.replace(/^.+\n/,""):"";try{c.stack?o&&!String(c.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(c.stack+=`
`+o):c.stack=o}catch{}}throw c}}_request(u,r){typeof u=="string"?(r=r||{},r.url=u):r=u||{},r=il(this.defaults,r);const{transitional:c,paramsSerializer:s,headers:o}=r;c!==void 0&&Yi.assertOptions(c,{silentJSONParsing:Qe.transitional(Qe.boolean),forcedJSONParsing:Qe.transitional(Qe.boolean),clarifyTimeoutError:Qe.transitional(Qe.boolean)},!1),s!=null&&(H.isFunction(s)?r.paramsSerializer={serialize:s}:Yi.assertOptions(s,{encode:Qe.function,serialize:Qe.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Yi.assertOptions(r,{baseUrl:Qe.spelling("baseURL"),withXsrfToken:Qe.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let h=o&&H.merge(o.common,o[r.method]);o&&H.forEach(["delete","get","head","post","put","patch","common"],z=>{delete o[z]}),r.headers=re.concat(h,o);const g=[];let v=!0;this.interceptors.request.forEach(function(O){typeof O.runWhen=="function"&&O.runWhen(r)===!1||(v=v&&O.synchronous,g.unshift(O.fulfilled,O.rejected))});const y=[];this.interceptors.response.forEach(function(O){y.push(O.fulfilled,O.rejected)});let p,x=0,w;if(!v){const z=[Q0.bind(this),void 0];for(z.unshift.apply(z,g),z.push.apply(z,y),w=z.length,p=Promise.resolve(r);x<w;)p=p.then(z[x++],z[x++]);return p}w=g.length;let E=r;for(x=0;x<w;){const z=g[x++],O=g[x++];try{E=z(E)}catch(A){O.call(this,A);break}}try{p=Q0.call(this,E)}catch(z){return Promise.reject(z)}for(x=0,w=y.length;x<w;)p=p.then(y[x++],y[x++]);return p}getUri(u){u=il(this.defaults,u);const r=qy(u.baseURL,u.url,u.allowAbsoluteUrls);return Dy(r,u.params,u.paramsSerializer)}};H.forEach(["delete","get","head","options"],function(u){al.prototype[u]=function(r,c){return this.request(il(c||{},{method:u,url:r,data:(c||{}).data}))}});H.forEach(["post","put","patch"],function(u){function r(c){return function(o,h,g){return this.request(il(g||{},{method:u,headers:c?{"Content-Type":"multipart/form-data"}:{},url:o,data:h}))}}al.prototype[u]=r(),al.prototype[u+"Form"]=r(!0)});let m2=class Gy{constructor(u){if(typeof u!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(o){r=o});const c=this;this.promise.then(s=>{if(!c._listeners)return;let o=c._listeners.length;for(;o-- >0;)c._listeners[o](s);c._listeners=null}),this.promise.then=s=>{let o;const h=new Promise(g=>{c.subscribe(g),o=g}).then(s);return h.cancel=function(){c.unsubscribe(o)},h},u(function(o,h,g){c.reason||(c.reason=new Pl(o,h,g),r(c.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(u){if(this.reason){u(this.reason);return}this._listeners?this._listeners.push(u):this._listeners=[u]}unsubscribe(u){if(!this._listeners)return;const r=this._listeners.indexOf(u);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const u=new AbortController,r=c=>{u.abort(c)};return this.subscribe(r),u.signal.unsubscribe=()=>this.unsubscribe(r),u.signal}static source(){let u;return{token:new Gy(function(s){u=s}),cancel:u}}};function g2(l){return function(r){return l.apply(null,r)}}function v2(l){return H.isObject(l)&&l.isAxiosError===!0}const Kf={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Kf).forEach(([l,u])=>{Kf[u]=l});function Qy(l){const u=new al(l),r=Sy(al.prototype.request,u);return H.extend(r,al.prototype,u,{allOwnKeys:!0}),H.extend(r,u,null,{allOwnKeys:!0}),r.create=function(s){return Qy(il(l,s))},r}const Mt=Qy(du);Mt.Axios=al;Mt.CanceledError=Pl;Mt.CancelToken=m2;Mt.isCancel=Hy;Mt.VERSION=jy;Mt.toFormData=er;Mt.AxiosError=ut;Mt.Cancel=Mt.CanceledError;Mt.all=function(u){return Promise.all(u)};Mt.spread=g2;Mt.isAxiosError=v2;Mt.mergeConfig=il;Mt.AxiosHeaders=re;Mt.formToJSON=l=>Uy(H.isHTMLForm(l)?new FormData(l):l);Mt.getAdapter=Xy.getAdapter;Mt.HttpStatusCode=Kf;Mt.default=Mt;const{Axios:x2,AxiosError:E2,CanceledError:A2,isCancel:T2,CancelToken:w2,VERSION:R2,all:O2,Cancel:N2,isAxiosError:M2,spread:D2,toFormData:z2,AxiosHeaders:U2,HttpStatusCode:H2,formToJSON:C2,getAdapter:q2,mergeConfig:B2}=Mt;function p2(l){const u=structuredClone(l),r=[];return l.links.forEach(c=>{const s=r.find(o=>o.target==c.target&&o.source==c.source);s?s.label=`${s.label}, ${c.label}`:r.push(c)}),u.links=r,u}const Z0="http://localhost:8081/api";function b2(){const[l,u]=At.useState(null),[r,c]=At.useState(null),[s,o]=At.useState([]),[h,g]=At.useState([]),[v,y]=At.useState([]),[p,x]=At.useState(1),[w,E]=At.useState(null),[z,O]=At.useState(!1),A=At.useRef(null),Y=async()=>{try{const F=(await Mt.get(`${Z0}/automata`)).data,lt=p2(F);u(lt)}catch(F){console.error("Failed to fetch automata:",F)}},Q=async F=>{r?E(lt=>lt!==null?Math.min(lt+1,r.nodes.length-1):null):await X(F),O(!0)},j=async F=>{r?(E(lt=>lt!==null?Math.min(lt+1,r.nodes.length-1):null),O(!1)):await X(F)},D=async F=>{let lt=null;r||(lt=await X(F)),E(Dt=>Dt!==null?(r||lt).nodes.length:null)},X=async F=>{const lt=(await Mt.post(`${Z0}/automata/execute`,{},{params:{input_string:F}})).data;return c(lt),E(0),lt},J=()=>{o([]),y([]),g([])},$=()=>{c(null),E(null),J()};return At.useEffect(()=>{Y()},[]),At.useEffect(()=>{w===null||r===null||(J(),setTimeout(()=>{if(w>=r.nodes.length-1){const F=r.nodes[r.nodes.length-1];r.accepted?y([F]):g([F]);return}o([r.nodes[w]])},150*p))},[w,r]),At.useEffect(()=>(z&&r&&(A.current=window.setInterval(()=>{E(F=>F!==null?Math.min(F+1,r.nodes.length-1):null)},1e3*p)),()=>{A.current&&clearInterval(A.current)}),[z,r,p]),Et.jsxs("div",{className:"relative w-screen h-screen",children:[l&&Et.jsx(NS,{nodes:l.nodes,links:l.links,initialNode:l.initial_node,finalNodes:l.final_nodes,highlightedNodes:s,highlightedSuccessNodes:v,highlightedErrorNodes:h}),Et.jsx(GS,{onPlay:Q,onNextStep:j,onFastForward:D,onReset:$,onChangeInputString:$,onChangeDelay:F=>x(F)})]})}_v.createRoot(document.getElementById("root")).render(Et.jsx(At.StrictMode,{children:Et.jsx(b2,{})}));
