index.html 342 KB
<!doctype html>
<html lang="zh">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>H3 Console - AI Video Studio</title>
    <script>
      window.__H3_BASE__ = "__H3_BASE_PATH__";
    </script>
    <script type="module" crossorigin>(function(){const p=document.createElement("link").relList;if(p&&p.supports&&p.supports("modulepreload"))return;for(const T of document.querySelectorAll('link[rel="modulepreload"]'))r(T);new MutationObserver(T=>{for(const M of T)if(M.type==="childList")for(const $ of M.addedNodes)$.tagName==="LINK"&&$.rel==="modulepreload"&&r($)}).observe(document,{childList:!0,subtree:!0});function O(T){const M={};return T.integrity&&(M.integrity=T.integrity),T.referrerPolicy&&(M.referrerPolicy=T.referrerPolicy),T.crossOrigin==="use-credentials"?M.credentials="include":T.crossOrigin==="anonymous"?M.credentials="omit":M.credentials="same-origin",M}function r(T){if(T.ep)return;T.ep=!0;const M=O(T);fetch(T.href,M)}})();function Om(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var Mf={exports:{}},su={};/**
 * @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 vm;function yx(){if(vm)return su;vm=1;var o=Symbol.for("react.transitional.element"),p=Symbol.for("react.fragment");function O(r,T,M){var $=null;if(M!==void 0&&($=""+M),T.key!==void 0&&($=""+T.key),"key"in T){M={};for(var q in T)q!=="key"&&(M[q]=T[q])}else M=T;return T=M.ref,{$$typeof:o,type:r,key:$,ref:T!==void 0?T:null,props:M}}return su.Fragment=p,su.jsx=O,su.jsxs=O,su}var xm;function gx(){return xm||(xm=1,Mf.exports=yx()),Mf.exports}var c=gx(),Df={exports:{}},te={};/**
 * @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 ym;function bx(){if(ym)return te;ym=1;var o=Symbol.for("react.transitional.element"),p=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),T=Symbol.for("react.profiler"),M=Symbol.for("react.consumer"),$=Symbol.for("react.context"),q=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),I=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),S=Symbol.for("react.activity"),j=Symbol.for("react.view_transition"),X=Symbol.iterator;function le(m){return m===null||typeof m!="object"?null:(m=X&&m[X]||m["@@iterator"],typeof m=="function"?m:null)}var ie={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},F=Object.assign,De={};function ve(m,E,V){this.props=m,this.context=E,this.refs=De,this.updater=V||ie}ve.prototype.isReactComponent={},ve.prototype.setState=function(m,E){if(typeof m!="object"&&typeof m!="function"&&m!=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,m,E,"setState")},ve.prototype.forceUpdate=function(m){this.updater.enqueueForceUpdate(this,m,"forceUpdate")};function Re(){}Re.prototype=ve.prototype;function Z(m,E,V){this.props=m,this.context=E,this.refs=De,this.updater=V||ie}var R=Z.prototype=new Re;R.constructor=Z,F(R,ve.prototype),R.isPureReactComponent=!0;var se=Array.isArray;function Q(){}var P={H:null,A:null,T:null,S:null},Ve=Object.prototype.hasOwnProperty;function qe(m,E,V){var N=V.ref;return{$$typeof:o,type:m,key:E,ref:N!==void 0?N:null,props:V}}function Ae(m,E){return qe(m.type,E,m.props)}function Ne(m){return typeof m=="object"&&m!==null&&m.$$typeof===o}function Le(m){var E={"=":"=0",":":"=2"};return"$"+m.replace(/[=:]/g,function(V){return E[V]})}var Ye=/\/+/g;function je(m,E){return typeof m=="object"&&m!==null&&m.key!=null?Le(""+m.key):E.toString(36)}function A(m){switch(m.status){case"fulfilled":return m.value;case"rejected":throw m.reason;default:switch(typeof m.status=="string"?m.then(Q,Q):(m.status="pending",m.then(function(E){m.status==="pending"&&(m.status="fulfilled",m.value=E)},function(E){m.status==="pending"&&(m.status="rejected",m.reason=E)})),m.status){case"fulfilled":return m.value;case"rejected":throw m.reason}}throw m}function K(m,E,V,N,fe){var ae=typeof m;(ae==="undefined"||ae==="boolean")&&(m=null);var ce=!1;if(m===null)ce=!0;else switch(ae){case"bigint":case"string":case"number":ce=!0;break;case"object":switch(m.$$typeof){case o:case p:ce=!0;break;case D:return ce=m._init,K(ce(m._payload),E,V,N,fe)}}if(ce)return fe=fe(m),ce=N===""?"."+je(m,0):N,se(fe)?(V="",ce!=null&&(V=ce.replace(Ye,"$&/")+"/"),K(fe,E,V,"",function(cl){return cl})):fe!=null&&(Ne(fe)&&(fe=Ae(fe,V+(fe.key==null||m&&m.key===fe.key?"":(""+fe.key).replace(Ye,"$&/")+"/")+ce)),E.push(fe)),1;ce=0;var B=N===""?".":N+":";if(se(m))for(var ee=0;ee<m.length;ee++)N=m[ee],ae=B+je(N,ee),ce+=K(N,E,V,ae,fe);else if(ee=le(m),typeof ee=="function")for(m=ee.call(m),ee=0;!(N=m.next()).done;)N=N.value,ae=B+je(N,ee++),ce+=K(N,E,V,ae,fe);else if(ae==="object"){if(typeof m.then=="function")return K(A(m),E,V,N,fe);throw E=String(m),Error("Objects are not valid as a React child (found: "+(E==="[object Object]"?"object with keys {"+Object.keys(m).join(", ")+"}":E)+"). If you meant to render a collection of children, use an array instead.")}return ce}function J(m,E,V){if(m==null)return m;var N=[],fe=0;return K(m,N,"","",function(ae){return E.call(V,ae,fe++)}),N}function de(m){if(m._status===-1){var E=m._result,V=E();V.then(function(N){(m._status===0||m._status===-1)&&(m._status=1,m._result=N,V.status===void 0&&(V.status="fulfilled",V.value=N))},function(N){(m._status===0||m._status===-1)&&(m._status=2,m._result=N,V.status===void 0&&(V.status="rejected",V.reason=N))}),m._status===-1&&(m._status=0,m._result=V)}if(m._status===1)return m._result.default;throw m._result}var w=typeof reportError=="function"?reportError:function(m){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var E=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof m=="object"&&m!==null&&typeof m.message=="string"?String(m.message):String(m),error:m});if(!window.dispatchEvent(E))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",m);return}console.error(m)};function G(m){var E=P.T,V={};V.types=E!==null?E.types:null,P.T=V;try{var N=m(),fe=P.S;fe!==null&&fe(V,N),typeof N=="object"&&N!==null&&typeof N.then=="function"&&N.then(Q,w)}catch(ae){w(ae)}finally{E!==null&&V.types!==null&&(E.types=V.types),P.T=E}}function Ee(m){var E=P.T;if(E!==null){var V=E.types;V===null?E.types=[m]:V.indexOf(m)===-1&&V.push(m)}else G(Ee.bind(null,m))}var il={map:J,forEach:function(m,E,V){J(m,function(){E.apply(this,arguments)},V)},count:function(m){var E=0;return J(m,function(){E++}),E},toArray:function(m){return J(m,function(E){return E})||[]},only:function(m){if(!Ne(m))throw Error("React.Children.only expected to receive a single React element child.");return m}};return te.Activity=S,te.Children=il,te.Component=ve,te.Fragment=O,te.Profiler=T,te.PureComponent=Z,te.StrictMode=r,te.Suspense=k,te.ViewTransition=j,te.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=P,te.__COMPILER_RUNTIME={__proto__:null,c:function(m){return P.H.useMemoCache(m)}},te.addTransitionType=Ee,te.cache=function(m){return function(){return m.apply(null,arguments)}},te.cacheSignal=function(){return null},te.cloneElement=function(m,E,V){if(m==null)throw Error("The argument must be a React element, but you passed "+m+".");var N=F({},m.props),fe=m.key;if(E!=null)for(ae in E.key!==void 0&&(fe=""+E.key),E)!Ve.call(E,ae)||ae==="key"||ae==="__self"||ae==="__source"||ae==="ref"&&E.ref===void 0||(N[ae]=E[ae]);var ae=arguments.length-2;if(ae===1)N.children=V;else if(1<ae){for(var ce=Array(ae),B=0;B<ae;B++)ce[B]=arguments[B+2];N.children=ce}return qe(m.type,fe,N)},te.createContext=function(m){return m={$$typeof:$,_currentValue:m,_currentValue2:m,_threadCount:0,Provider:null,Consumer:null},m.Provider=m,m.Consumer={$$typeof:M,_context:m},m},te.createElement=function(m,E,V){var N,fe={},ae=null;if(E!=null)for(N in E.key!==void 0&&(ae=""+E.key),E)Ve.call(E,N)&&N!=="key"&&N!=="__self"&&N!=="__source"&&(fe[N]=E[N]);var ce=arguments.length-2;if(ce===1)fe.children=V;else if(1<ce){for(var B=Array(ce),ee=0;ee<ce;ee++)B[ee]=arguments[ee+2];fe.children=B}if(m&&m.defaultProps)for(N in ce=m.defaultProps,ce)fe[N]===void 0&&(fe[N]=ce[N]);return qe(m,ae,fe)},te.createRef=function(){return{current:null}},te.forwardRef=function(m){return{$$typeof:q,render:m}},te.isValidElement=Ne,te.lazy=function(m){return{$$typeof:D,_payload:{_status:-1,_result:m},_init:de}},te.memo=function(m,E){return{$$typeof:I,type:m,compare:E===void 0?null:E}},te.startTransition=G,te.unstable_useCacheRefresh=function(){return P.H.useCacheRefresh()},te.use=function(m){return P.H.use(m)},te.useActionState=function(m,E,V){return P.H.useActionState(m,E,V)},te.useCallback=function(m,E){return P.H.useCallback(m,E)},te.useContext=function(m){return P.H.useContext(m)},te.useDebugValue=function(){},te.useDeferredValue=function(m,E){return P.H.useDeferredValue(m,E)},te.useEffect=function(m,E){return P.H.useEffect(m,E)},te.useEffectEvent=function(m){return P.H.useEffectEvent(m)},te.useId=function(){return P.H.useId()},te.useImperativeHandle=function(m,E,V){return P.H.useImperativeHandle(m,E,V)},te.useInsertionEffect=function(m,E){return P.H.useInsertionEffect(m,E)},te.useLayoutEffect=function(m,E){return P.H.useLayoutEffect(m,E)},te.useMemo=function(m,E){return P.H.useMemo(m,E)},te.useOptimistic=function(m,E){return P.H.useOptimistic(m,E)},te.useReducer=function(m,E,V){return P.H.useReducer(m,E,V)},te.useRef=function(m){return P.H.useRef(m)},te.useState=function(m){return P.H.useState(m)},te.useSyncExternalStore=function(m,E,V){return P.H.useSyncExternalStore(m,E,V)},te.useTransition=function(){return P.H.useTransition()},te.version="19.3.1",te}var gm;function Xf(){return gm||(gm=1,Df.exports=bx()),Df.exports}var H=Xf();const px=Om(H);var Cf={exports:{}},fu={},wf={exports:{}},Uf={};/**
 * @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 bm;function Sx(){return bm||(bm=1,(function(o){function p(A,K){var J=A.length;A.push(K);e:for(;0<J;){var de=J-1>>>1,w=A[de];if(0<T(w,K))A[de]=K,A[J]=w,J=de;else break e}}function O(A){return A.length===0?null:A[0]}function r(A){if(A.length===0)return null;var K=A[0],J=A.pop();if(J!==K){A[0]=J;e:for(var de=0,w=A.length,G=w>>>1;de<G;){var Ee=2*(de+1)-1,il=A[Ee],m=Ee+1,E=A[m];if(0>T(il,J))m<w&&0>T(E,il)?(A[de]=E,A[m]=J,de=m):(A[de]=il,A[Ee]=J,de=Ee);else if(m<w&&0>T(E,J))A[de]=E,A[m]=J,de=m;else break e}}return K}function T(A,K){var J=A.sortIndex-K.sortIndex;return J!==0?J:A.id-K.id}if(o.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var M=performance;o.unstable_now=function(){return M.now()}}else{var $=Date,q=$.now();o.unstable_now=function(){return $.now()-q}}var k=[],I=[],D=1,S=null,j=3,X=!1,le=!1,ie=!1,F=!1,De=typeof setTimeout=="function"?setTimeout:null,ve=typeof clearTimeout=="function"?clearTimeout:null,Re=typeof setImmediate<"u"?setImmediate:null;function Z(A){for(var K=O(I);K!==null;){if(K.callback===null)r(I);else if(K.startTime<=A)r(I),K.sortIndex=K.expirationTime,p(k,K);else break;K=O(I)}}function R(A){if(ie=!1,Z(A),!le)if(O(k)!==null)le=!0,se||(se=!0,Ne());else{var K=O(I);K!==null&&je(R,K.startTime-A)}}var se=!1,Q=-1,P=5,Ve=-1;function qe(){return F?!0:!(o.unstable_now()-Ve<P)}function Ae(){if(F=!1,se){var A=o.unstable_now();Ve=A;var K=!0;try{e:{le=!1,ie&&(ie=!1,ve(Q),Q=-1),X=!0;var J=j;try{t:{for(Z(A),S=O(k);S!==null&&!(S.expirationTime>A&&qe());){var de=S.callback;if(typeof de=="function"){S.callback=null,j=S.priorityLevel;var w=de(S.expirationTime<=A);if(A=o.unstable_now(),typeof w=="function"){S.callback=w,Z(A),K=!0;break t}S===O(k)&&r(k),Z(A)}else r(k);S=O(k)}if(S!==null)K=!0;else{var G=O(I);G!==null&&je(R,G.startTime-A),K=!1}}break e}finally{S=null,j=J,X=!1}K=void 0}}finally{K?Ne():se=!1}}}var Ne;if(typeof Re=="function")Ne=function(){Re(Ae)};else if(typeof MessageChannel<"u"){var Le=new MessageChannel,Ye=Le.port2;Le.port1.onmessage=Ae,Ne=function(){Ye.postMessage(null)}}else Ne=function(){De(Ae,0)};function je(A,K){Q=De(function(){A(o.unstable_now())},K)}o.unstable_IdlePriority=5,o.unstable_ImmediatePriority=1,o.unstable_LowPriority=4,o.unstable_NormalPriority=3,o.unstable_Profiling=null,o.unstable_UserBlockingPriority=2,o.unstable_cancelCallback=function(A){A.callback=null},o.unstable_forceFrameRate=function(A){0>A||125<A?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<A?Math.floor(1e3/A):5},o.unstable_getCurrentPriorityLevel=function(){return j},o.unstable_next=function(A){switch(j){case 1:case 2:case 3:var K=3;break;default:K=j}var J=j;j=K;try{return A()}finally{j=J}},o.unstable_requestPaint=function(){F=!0},o.unstable_runWithPriority=function(A,K){switch(A){case 1:case 2:case 3:case 4:case 5:break;default:A=3}var J=j;j=A;try{return K()}finally{j=J}},o.unstable_scheduleCallback=function(A,K,J){var de=o.unstable_now();switch(typeof J=="object"&&J!==null?(J=J.delay,J=typeof J=="number"&&0<J?de+J:de):J=de,A){case 1:var w=-1;break;case 2:w=250;break;case 5:w=1073741823;break;case 4:w=1e4;break;default:w=5e3}return w=J+w,A={id:D++,callback:K,priorityLevel:A,startTime:J,expirationTime:w,sortIndex:-1},J>de?(A.sortIndex=J,p(I,A),O(k)===null&&A===O(I)&&(ie?(ve(Q),Q=-1):ie=!0,je(R,J-de))):(A.sortIndex=w,p(k,A),le||X||(le=!0,se||(se=!0,Ne()))),A},o.unstable_shouldYield=qe,o.unstable_wrapCallback=function(A){var K=j;return function(){var J=j;j=K;try{return A.apply(this,arguments)}finally{j=J}}}})(Uf)),Uf}var pm;function Nx(){return pm||(pm=1,wf.exports=Sx()),wf.exports}var Rf={exports:{}},ct={};/**
 * @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 Sm;function zx(){if(Sm)return ct;Sm=1;var o=Xf();function p(D){var S="https://react.dev/errors/"+D;if(1<arguments.length){S+="?args[]="+encodeURIComponent(arguments[1]);for(var j=2;j<arguments.length;j++)S+="&args[]="+encodeURIComponent(arguments[j])}return"Minified React error #"+D+"; visit "+S+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function O(){}var r={d:{f:O,r:function(){throw Error(p(522))},D:O,C:O,L:O,m:O,X:O,S:O,M:O},p:0,findDOMNode:null},T=Symbol.for("react.portal"),M=Symbol.for("react.recoverable"),$=Symbol.for("react.optimistic_key");function q(D,S,j){var X=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:T,key:X==null?null:X===$?$:""+X,children:D,containerInfo:S,implementation:j}}var k=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function I(D,S){if(D==="font")return"";if(typeof S=="string")return S==="use-credentials"?S:""}return ct.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,ct.browser=function(D){return{$$typeof:M,_reason:D}},ct.createPortal=function(D,S){var j=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!S||S.nodeType!==1&&S.nodeType!==9&&S.nodeType!==11)throw Error(p(299));return q(D,S,null,j)},ct.flushSync=function(D){var S=k.T,j=r.p;try{if(k.T=null,r.p=2,D)return D()}finally{k.T=S,r.p=j,r.d.f()}},ct.preconnect=function(D,S){typeof D=="string"&&(S?(S=S.crossOrigin,S=typeof S=="string"?S==="use-credentials"?S:"":void 0):S=null,r.d.C(D,S))},ct.prefetchDNS=function(D){typeof D=="string"&&r.d.D(D)},ct.preinit=function(D,S){if(typeof D=="string"&&S&&typeof S.as=="string"){var j=S.as,X=I(j,S.crossOrigin),le=typeof S.integrity=="string"?S.integrity:void 0,ie=typeof S.fetchPriority=="string"?S.fetchPriority:void 0;j==="style"?r.d.S(D,typeof S.precedence=="string"?S.precedence:void 0,{crossOrigin:X,integrity:le,fetchPriority:ie}):j==="script"&&r.d.X(D,{crossOrigin:X,integrity:le,fetchPriority:ie,nonce:typeof S.nonce=="string"?S.nonce:void 0})}},ct.preinitModule=function(D,S){if(typeof D=="string")if(typeof S=="object"&&S!==null){if(S.as==null||S.as==="script"){var j=I(S.as,S.crossOrigin);r.d.M(D,{crossOrigin:j,integrity:typeof S.integrity=="string"?S.integrity:void 0,nonce:typeof S.nonce=="string"?S.nonce:void 0,fetchPriority:typeof S.fetchPriority=="string"?S.fetchPriority:void 0})}}else S==null&&r.d.M(D)},ct.preload=function(D,S){if(typeof D=="string"&&typeof S=="object"&&S!==null&&typeof S.as=="string"){var j=S.as,X=I(j,S.crossOrigin);r.d.L(D,j,{crossOrigin:X,integrity:typeof S.integrity=="string"?S.integrity:void 0,nonce:typeof S.nonce=="string"?S.nonce:void 0,type:typeof S.type=="string"?S.type:void 0,fetchPriority:typeof S.fetchPriority=="string"?S.fetchPriority:void 0,referrerPolicy:typeof S.referrerPolicy=="string"?S.referrerPolicy:void 0,imageSrcSet:typeof S.imageSrcSet=="string"?S.imageSrcSet:void 0,imageSizes:typeof S.imageSizes=="string"?S.imageSizes:void 0,media:typeof S.media=="string"?S.media:void 0})}},ct.preloadModule=function(D,S){if(typeof D=="string")if(S){var j=I(S.as,S.crossOrigin);r.d.m(D,{as:typeof S.as=="string"&&S.as!=="script"?S.as:void 0,crossOrigin:j,integrity:typeof S.integrity=="string"?S.integrity:void 0,nonce:typeof S.nonce=="string"?S.nonce:void 0,fetchPriority:typeof S.fetchPriority=="string"?S.fetchPriority:void 0})}else r.d.m(D)},ct.requestFormReset=function(D){r.d.r(D)},ct.unstable_batchedUpdates=function(D,S){return D(S)},ct.useFormState=function(D,S,j){return k.H.useFormState(D,S,j)},ct.useFormStatus=function(){return k.H.useHostTransitionStatus()},ct.version="19.3.1",ct}var Nm;function _x(){if(Nm)return Rf.exports;Nm=1;function o(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(o)}catch(p){console.error(p)}}return o(),Rf.exports=zx(),Rf.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 zm;function Tx(){if(zm)return fu;zm=1;var o=Nx(),p=Xf(),O=_x();function r(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)t+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function T(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function M(e){for(var t=e,l=t;l&&!l.alternate;)t=l,(t.flags&4098)!==0&&(e=t.return),l=t.return;for(;t.return;)t=t.return;return t.tag===3?e:null}function $(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function q(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function k(e){if(M(e)!==e)throw Error(r(188))}function I(e){var t=e.alternate;if(!t){if(t=M(e),t===null)throw Error(r(188));return t!==e?null:e}for(var l=e,a=t;;){var n=l.return;if(n===null)break;var u=n.alternate;if(u===null){if(a=n.return,a!==null){l=a;continue}break}if(n.child===u.child){for(u=n.child;u;){if(u===l)return k(n),e;if(u===a)return k(n),t;u=u.sibling}throw Error(r(188))}if(l.return!==a.return)l=n,a=u;else{for(var i=!1,s=n.child;s;){if(s===l){i=!0,l=n,a=u;break}if(s===a){i=!0,a=n,l=u;break}s=s.sibling}if(!i){for(s=u.child;s;){if(s===l){i=!0,l=u,a=n;break}if(s===a){i=!0,a=u,l=n;break}s=s.sibling}if(!i)throw Error(r(189))}}if(l.alternate!==a)throw Error(r(190))}if(l.tag!==3)throw Error(r(188));return l.stateNode.current===l?e:t}function D(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=D(e),t!==null)return t;e=e.sibling}return null}function S(e,t,l,a,n,u){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&l(e,a,n,u)||(e.tag!==22||e.memoizedState===null)&&(t||e.tag!==5&&e.tag!==27)&&S(e.child,t,l,a,n,u))return!0;e=e.sibling}return!1}function j(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function X(e){var t=!1;for(e=e.return;e!==null&&(e.tag===4&&(t=!0),!(e.tag===3||e.tag===5||e.tag===27));)e=e.return;return t}function le(e){var t=[null,null],l=j(e);return l===null||ie(t,e,l.child,{foundSelf:!1}),t}function ie(e,t,l,a){for(;l!==null;){if(l===t)a.foundSelf=!0;else if(l.tag===5||l.tag===27||l.tag===6){if(a.foundSelf)return e[1]=l,!0;e[0]=l}else if((l.tag!==22||l.memoizedState===null)&&ie(e,t,l.child,a))return!0;l=l.sibling}return!1}function F(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(r(559))}}var De=null,ve=null;function Re(e,t,l){return e===l?!0:e===t?(De=e,!0):!1}function Z(e,t,l){return e===l?(ve=e,!1):e===t?(ve!==null&&(De=e),!0):!1}function R(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e||null}function se(e,t,l){for(var a=0,n=e;n;n=l(n))a++;n=0;for(var u=t;u;u=l(u))n++;for(;0<a-n;)e=l(e),a--;for(;0<n-a;)t=l(t),n--;for(;a--;){if(e===t||t!==null&&e===t.alternate)return e;e=l(e),t=l(t)}return null}var Q=Object.assign,P=Symbol.for("react.element"),Ve=Symbol.for("react.transitional.element"),qe=Symbol.for("react.portal"),Ae=Symbol.for("react.fragment"),Ne=Symbol.for("react.strict_mode"),Le=Symbol.for("react.profiler"),Ye=Symbol.for("react.consumer"),je=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),K=Symbol.for("react.suspense"),J=Symbol.for("react.suspense_list"),de=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),G=Symbol.for("react.activity"),Ee=Symbol.for("react.legacy_hidden"),il=Symbol.for("react.memo_cache_sentinel"),m=Symbol.for("react.view_transition"),E=Symbol.for("react.recoverable"),V=Symbol.iterator;function N(e){return e===null||typeof e!="object"?null:(e=V&&e[V]||e["@@iterator"],typeof e=="function"?e:null)}var fe=Symbol.for("react.client.reference");function ae(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===fe?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ae:return"Fragment";case Le:return"Profiler";case Ne:return"StrictMode";case K:return"Suspense";case J:return"SuspenseList";case G:return"Activity";case m:return"ViewTransition"}if(typeof e=="object")switch(e.$$typeof){case qe:return"Portal";case je:return e.displayName||"Context";case Ye:return(e._context.displayName||"Context")+".Consumer";case A:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case de:return t=e.displayName||null,t!==null?t:ae(e.type)||"Memo";case w:t=e._payload,e=e._init;try{return ae(e(t))}catch{}}return null}var ce=Array.isArray,B=p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ee=O.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,cl={pending:!1,data:null,method:null,action:null},ki=[],Na=-1;function Kt(e){return{current:e}}function et(e){0>Na||(e.current=ki[Na],ki[Na]=null,Na--)}function Ce(e,t){Na++,ki[Na]=e.current,e.current=t}var Jt=Kt(null),hn=Kt(null),zl=Kt(null),du=Kt(null);function mu(e,t){switch(Ce(zl,t),Ce(hn,e),Ce(Jt,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?_0(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=_0(t),e=T0(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}et(Jt),Ce(Jt,e)}function za(){et(Jt),et(hn),et(zl)}function $i(e){var t=e.memoizedState;t!==null&&(rn._currentValue=t.memoizedState,Ce(du,e)),t=Jt.current;var l=T0(t,e.type);t!==l&&(Ce(hn,e),Ce(Jt,l))}function hu(e){hn.current===e&&(et(Jt),et(hn)),du.current===e&&(et(du),rn._currentValue=cl)}var Fi,Lf;function _l(e){if(Fi===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);Fi=t&&t[1]||"",Lf=-1<l.stack.indexOf(`
    at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Fi+e+Lf}var Wi=!1;function Ii(e,t){if(!e||Wi)return"";Wi=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var _=function(){throw Error()};if(Object.defineProperty(_.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(_,[])}catch(C){var h=C}Reflect.construct(e,[],_)}else{try{_.call()}catch(C){h=C}_=!1;try{var g=Object.getOwnPropertyDescriptor(e.prototype,"props");Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),_=!0,new e}finally{_&&(g!==void 0?Object.defineProperty(e.prototype,"props",g):delete e.prototype.props)}}}else{try{throw Error()}catch(C){h=C}(_=e())&&typeof _.catch=="function"&&_.catch(function(){})}}catch(C){if(C&&h&&typeof C.stack=="string")return[C.stack,h.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=a.DetermineComponentFrameRoot(),i=u[0],s=u[1];if(i&&s){var f=i.split(`
`),x=s.split(`
`);for(n=a=0;a<f.length&&!f[a].includes("DetermineComponentFrameRoot");)a++;for(;n<x.length&&!x[n].includes("DetermineComponentFrameRoot");)n++;if(a===f.length||n===x.length)for(a=f.length-1,n=x.length-1;1<=a&&0<=n&&f[a]!==x[n];)n--;for(;1<=a&&0<=n;a--,n--)if(f[a]!==x[n]){if(a!==1||n!==1)do if(a--,n--,0>n||f[a]!==x[n]){var b=`
`+f[a].replace(" at new "," at ");return e.displayName&&b.includes("<anonymous>")&&(b=b.replace("<anonymous>",e.displayName)),b}while(1<=a&&0<=n);break}}}finally{Wi=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?_l(l):""}function Sh(e,t){switch(e.tag){case 26:case 27:case 5:return _l(e.type);case 16:return _l("Lazy");case 13:return e.child!==t&&t!==null?_l("Suspense Fallback"):_l("Suspense");case 19:return _l("SuspenseList");case 0:case 15:return Ii(e.type,!1);case 11:return Ii(e.type.render,!1);case 1:return Ii(e.type,!0);case 31:return _l("Activity");case 30:return _l("ViewTransition");default:return""}}function Zf(e){try{var t="",l=null;do t+=Sh(e,l),l=e,e=e.return;while(e);return t}catch(a){return`
Error generating stack: `+a.message+`
`+a.stack}}var Pi=Object.prototype.hasOwnProperty,ec=o.unstable_scheduleCallback,tc=o.unstable_cancelCallback,Nh=o.unstable_shouldYield,zh=o.unstable_requestPaint,bt=o.unstable_now,_h=o.unstable_getCurrentPriorityLevel,Kf=o.unstable_ImmediatePriority,Jf=o.unstable_UserBlockingPriority,vu=o.unstable_NormalPriority,Th=o.unstable_LowPriority,kf=o.unstable_IdlePriority,jh=o.log,Eh=o.unstable_setDisableYieldValue,vn=null,pt=null;function Tl(e){if(typeof jh=="function"&&Eh(e),pt&&typeof pt.setStrictMode=="function")try{pt.setStrictMode(vn,e)}catch{}}var St=Math.clz32?Math.clz32:Mh,Oh=Math.log,Ah=Math.LN2;function Mh(e){return e>>>=0,e===0?32:31-(Oh(e)/Ah|0)|0}var xu=256,yu=262144,gu=4194304;function Il(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function bu(e,t,l){var a=e.pendingLanes;if(a===0)return 0;var n=0,u=e.suspendedLanes,i=e.pingedLanes;e=e.warmLanes;var s=a&134217727;return s!==0?(a=s&~u,a!==0?n=Il(a):(i&=s,i!==0?n=Il(i):l||(l=s&~e,l!==0&&(n=Il(l))))):(s=a&~u,s!==0?n=Il(s):i!==0?n=Il(i):l||(l=a&~e,l!==0&&(n=Il(l)))),n===0?0:t!==0&&t!==n&&(t&u)===0&&(u=n&-n,l=t&-t,u>=l||u===32&&(l&4194048)!==0)?t:n}function xn(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function $f(e,t){(t&8)!==0&&(t|=t&32);var l=e.entangledLanes;if(l!==0)for(e=e.entanglements,l&=t;0<l;){var a=31-St(l),n=1<<a;t|=e[a],l&=~n}return t}function Dh(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+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 t+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 Ff(){var e=gu;return gu<<=1,(gu&62914560)===0&&(gu=4194304),e}function lc(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function yn(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ch(e,t,l,a,n,u){var i=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var s=e.entanglements,f=e.expirationTimes,x=e.hiddenUpdates;for(l=i&~l;0<l;){var b=31-St(l),_=1<<b;s[b]=0,f[b]=-1;var h=x[b];if(h!==null)for(x[b]=null,b=0;b<h.length;b++){var g=h[b];g!==null&&(g.lane&=-536870913)}l&=~_}a!==0&&Wf(e,a,0),u!==0&&n===0&&e.tag!==0&&(e.suspendedLanes|=u&~(i&~t))}function Wf(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-St(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|l&261930}function If(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var a=31-St(l),n=1<<a;n&t|e[a]&t&&(e[a]|=t),l&=~n}}function Pf(e,t){var l=t&-t;return l=(l&42)!==0?1:ac(l),(l&(e.suspendedLanes|t))!==0?0:l}function ac(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function nc(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function eo(){var e=ee.p;return e!==0?e:(e=window.event,e===void 0?32:sm(e.type))}function to(e,t){var l=ee.p;try{return ee.p=e,t()}finally{ee.p=l}}var sl=Math.random().toString(36).slice(2),tt="__reactFiber$"+sl,mt="__reactProps$"+sl,_a="__reactContainer$"+sl,lo="__reactEvents$"+sl,wh="__reactListeners$"+sl,Uh="__reactHandles$"+sl,ao="__reactResources$"+sl,gn="__reactMarker$"+sl,pu="__reactLoad$"+sl;function Su(e){delete e[tt],delete e[mt],delete e[wh],delete e[Uh]}function Pl(e){var t;if(t=e[tt])return t;for(var l=e.parentNode;l;){if(t=l[_a]||l[tt]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=X0(e);e!==null;){if(l=e[tt])return l;e=X0(e)}return t}e=l,l=e.parentNode}return null}function Ta(e){if(e=e[tt]||e[_a]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function bn(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(r(33))}function ja(e){var t=e[ao];return t||(t=e[ao]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Fe(e){e[gn]=!0}function no(e){e[pu]=void 0}var uo=new Set,io={};function ea(e,t){Ea(e,t),Ea(e+"Capture",t)}function Ea(e,t){for(io[e]=t,e=0;e<t.length;e++)uo.add(t[e])}var Rh=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]*$"),co={},so={};function Hh(e){return Pi.call(so,e)?!0:Pi.call(co,e)?!1:Rh.test(e)?so[e]=!0:(co[e]=!0,!1)}var be=!1;function fo(){var e=be;return be=!1,e}function Nu(e,t,l){if(Hh(t))if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,l)}}function zu(e,t,l){if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,l)}}function fl(e,t,l,a){if(a===null)e.removeAttribute(l);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(l);return}e.setAttributeNS(t,l,a)}}function Nt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function oo(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function qh(e,t,l){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var n=a.get,u=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(i){l=""+i,u.call(this,i)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return l},setValue:function(i){l=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function uc(e){if(!e._valueTracker){var t=oo(e)?"checked":"value";e._valueTracker=qh(e,t,""+e[t])}}function ro(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),a="";return e&&(a=oo(e)?e.checked?"true":"false":e.value),e=a,e!==l?(t.setValue(e),!0):!1}var Bh=/[\n"\\]/g;function Mt(e){return e.replace(Bh,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function ic(e,t,l,a,n,u,i,s){e.name="",i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?e.type=i:e.removeAttribute("type"),t!=null?i==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Nt(t)):e.value!==""+Nt(t)&&(e.value=""+Nt(t)):i!=="submit"&&i!=="reset"||e.removeAttribute("value"),t!=null?i==="number"&&e.value==t?cc(e,Nt(e.value)):cc(e,Nt(t)):l!=null?cc(e,Nt(l)):a!=null&&e.removeAttribute("value"),n==null&&u!=null&&(e.defaultChecked=!!u),n!=null&&(e.checked=n&&typeof n!="function"&&typeof n!="symbol"),s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?e.name=""+Nt(s):e.removeAttribute("name")}function mo(e,t,l,a,n,u,i,s){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(e.type=u),t!=null||l!=null){if(!(u!=="submit"&&u!=="reset"||t!=null)){uc(e);return}l=l!=null?""+Nt(l):"",t=t!=null?""+Nt(t):l,s||t===e.value||(e.value=t),e.defaultValue=t}a=a??n,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=s?e.checked:!!a,e.defaultChecked=!!a,i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(e.name=i),uc(e)}function cc(e,t){e.defaultValue!==""+t&&(e.defaultValue=""+t)}function Oa(e,t,l,a){if(e=e.options,t){t={};for(var n=0;n<l.length;n++)t["$"+l[n]]=!0;for(l=0;l<e.length;l++)n=t.hasOwnProperty("$"+e[l].value),e[l].selected!==n&&(e[l].selected=n),n&&a&&(e[l].defaultSelected=!0)}else{for(l=""+Nt(l),t=null,n=0;n<e.length;n++){if(e[n].value===l){e[n].selected=!0,a&&(e[n].defaultSelected=!0);return}t!==null||e[n].disabled||(t=e[n])}t!==null&&(t.selected=!0)}}function ho(e,t,l){if(t!=null&&(t=""+Nt(t),t!==e.value&&(e.value=t),l==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=l!=null?""+Nt(l):""}function vo(e,t,l,a){if(t==null){if(a!=null){if(l!=null)throw Error(r(92));if(ce(a)){if(1<a.length)throw Error(r(93));a=a[0]}l=a}l==null&&(l=""),t=l}l=Nt(t),e.defaultValue=l,a=e.textContent,a===l&&a!==""&&a!==null&&(e.value=a),uc(e)}function Aa(e,t){if(t){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=t;return}}e.textContent=t}var Yh=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 xo(e,t,l){var a=t.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,l):typeof l!="number"||l===0||Yh.has(t)?t==="float"?e.cssFloat=l:e[t]=(""+l).trim():e[t]=l+"px"}function yo(e,t,l){if(t!=null&&typeof t!="object")throw Error(r(62));if(e=e.style,l!=null){for(var a in l)!l.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="",be=!0);for(var n in t)a=t[n],t.hasOwnProperty(n)&&l[n]!==a&&(xo(e,n,a),be=!0)}else for(var u in t)t.hasOwnProperty(u)&&xo(e,u,t[u])}function sc(e){if(e.indexOf("-")===-1)return!1;switch(e){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 Gh=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"],["maskType","mask-type"],["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"]]),Qh=/^[\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 _u(e){return Qh.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function kt(){}var fc=null;function oc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ma=null,Da=null;function go(e){var t=Ta(e);if(t&&(e=t.stateNode)){var l=e[mt]||null;e:switch(e=t.stateNode,t.type){case"input":if(ic(e,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),t=l.name,l.type==="radio"&&t!=null){for(l=e;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+Mt(""+t)+'"][type="radio"]'),t=0;t<l.length;t++){var a=l[t];if(a!==e&&a.form===e.form){var n=a[mt]||null;if(!n)throw Error(r(90));ic(a,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(t=0;t<l.length;t++)a=l[t],a.form===e.form&&ro(a)}break e;case"textarea":ho(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&Oa(e,!!l.multiple,t,!1)}}}var rc=!1;function bo(e,t,l){if(rc)return e(t,l);rc=!0;try{var a=e(t);return a}finally{if(rc=!1,(Ma!==null||Da!==null)&&(_i(),Ma&&(t=Ma,e=Da,Da=Ma=null,go(t),e)))for(t=0;t<e.length;t++)go(e[t])}}function pn(e,t){var l=e.stateNode;if(l===null)return null;var a=l[mt]||null;if(a===null)return null;l=a[t];e:switch(t){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)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(l&&typeof l!="function")throw Error(r(231,t,typeof l));return l}var ol=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),dc=!1;if(ol)try{var Sn={};Object.defineProperty(Sn,"passive",{get:function(){dc=!0}}),window.addEventListener("test",Sn,Sn),window.removeEventListener("test",Sn,Sn)}catch{dc=!1}var jl=null,mc=null,Tu=null;function po(){if(Tu)return Tu;var e,t=mc,l=t.length,a,n="value"in jl?jl.value:jl.textContent,u=n.length;for(e=0;e<l&&t[e]===n[e];e++);var i=l-e;for(a=1;a<=i&&t[l-a]===n[u-a];a++);return Tu=n.slice(e,1<a?1-a:void 0)}function ju(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Eu(){return!0}function So(){return!1}function ft(e){function t(l,a,n,u,i){this._reactName=l,this._targetInst=n,this.type=a,this.nativeEvent=u,this.target=i,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(l=e[s],this[s]=l?l(u):u[s]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?Eu:So,this.isPropagationStopped=So,this}return Q(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Eu)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Eu)},persist:function(){},isPersistent:Eu}),t}var El={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ou=ft(El),Nn=Q({},El,{view:0,detail:0}),Xh=ft(Nn),hc,vc,zn,Au=Q({},Nn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:yc,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==zn&&(zn&&e.type==="mousemove"?(hc=e.screenX-zn.screenX,vc=e.screenY-zn.screenY):vc=hc=0,zn=e),hc)},movementY:function(e){return"movementY"in e?e.movementY:vc}}),No=ft(Au),Vh=Q({},Au,{dataTransfer:0}),Lh=ft(Vh),Zh=Q({},Nn,{relatedTarget:0}),xc=ft(Zh),Kh=Q({},El,{animationName:0,elapsedTime:0,pseudoElement:0}),Jh=ft(Kh),kh=Q({},El,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),$h=ft(kh),Fh=Q({},El,{data:0}),zo=ft(Fh),Wh={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ih={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"},Ph={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function e1(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Ph[e])?!!t[e]:!1}function yc(){return e1}var t1=Q({},Nn,{key:function(e){if(e.key){var t=Wh[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ju(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Ih[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:yc,charCode:function(e){return e.type==="keypress"?ju(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ju(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),l1=ft(t1),a1=Q({},Au,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),_o=ft(a1),n1=Q({},El,{submitter:0}),u1=ft(n1),i1=Q({},Nn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:yc}),c1=ft(i1),s1=Q({},El,{propertyName:0,elapsedTime:0,pseudoElement:0}),f1=ft(s1),o1=Q({},Au,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),r1=ft(o1),d1=Q({},El,{newState:0,oldState:0,source:0}),m1=ft(d1),h1=[9,13,27,32],gc=ol&&"CompositionEvent"in window,_n=null;ol&&"documentMode"in document&&(_n=document.documentMode);var v1=ol&&"TextEvent"in window&&!_n,To=ol&&(!gc||_n&&8<_n&&11>=_n),jo=" ",Eo=!1;function Oo(e,t){switch(e){case"keyup":return h1.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ao(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ca=!1;function x1(e,t){switch(e){case"compositionend":return Ao(t);case"keypress":return t.which!==32?null:(Eo=!0,jo);case"textInput":return e=t.data,e===jo&&Eo?null:e;default:return null}}function y1(e,t){if(Ca)return e==="compositionend"||!gc&&Oo(e,t)?(e=po(),Tu=mc=jl=null,Ca=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return To&&t.locale!=="ko"?null:t.data;default:return null}}var g1={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 Mo(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!g1[e.type]:t==="textarea"}function Do(e,t,l,a){Ma?Da?Da.push(a):Da=[a]:Ma=a,t=Mi(t,"onChange"),0<t.length&&(l=new Ou("onChange","change",null,l,a),e.push({event:l,listeners:t}))}var Tn=null,jn=null;function b1(e){g0(e,0)}function Mu(e){var t=bn(e);if(ro(t))return e}function Co(e,t){if(e==="change")return t}var wo=!1;if(ol){var bc;if(ol){var pc="oninput"in document;if(!pc){var Uo=document.createElement("div");Uo.setAttribute("oninput","return;"),pc=typeof Uo.oninput=="function"}bc=pc}else bc=!1;wo=bc&&(!document.documentMode||9<document.documentMode)}function Ro(){Tn&&(Tn.detachEvent("onpropertychange",Ho),jn=Tn=null)}function Ho(e){if(e.propertyName==="value"&&Mu(jn)){var t=[];Do(t,jn,e,oc(e)),bo(b1,t)}}function p1(e,t,l){e==="focusin"?(Ro(),Tn=t,jn=l,Tn.attachEvent("onpropertychange",Ho)):e==="focusout"&&Ro()}function S1(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Mu(jn)}function N1(e,t){if(e==="click")return Mu(t)}function z1(e,t){if(e==="input"||e==="change")return Mu(t)}function _1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var zt=typeof Object.is=="function"?Object.is:_1;function En(e,t){if(zt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var l=Object.keys(e),a=Object.keys(t);if(l.length!==a.length)return!1;for(a=0;a<l.length;a++){var n=l[a];if(!Pi.call(t,n)||!zt(e[n],t[n]))return!1}return!0}function Sc(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function qo(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Bo(e,t){var l=qo(e);e=0;for(var a;l;){if(l.nodeType===3){if(a=e+l.textContent.length,e<=t&&a>=t)return{node:l,offset:t-e};e=a}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=qo(l)}}function Yo(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Yo(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Go(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Sc(e.document);t instanceof e.HTMLIFrameElement;){try{var l=typeof t.contentWindow.location.href=="string"}catch{l=!1}if(l)e=t.contentWindow;else break;t=Sc(e.document)}return t}function Nc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var T1=ol&&"documentMode"in document&&11>=document.documentMode,wa=null,zc=null,On=null,_c=!1;function Qo(e,t,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;_c||wa==null||wa!==Sc(a)||(a=wa,"selectionStart"in a&&Nc(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}),On&&En(On,a)||(On=a,a=Mi(zc,"onSelect"),0<a.length&&(t=new Ou("onSelect","select",null,t,l),e.push({event:t,listeners:a}),t.target=wa)))}function ta(e,t){var l={};return l[e.toLowerCase()]=t.toLowerCase(),l["Webkit"+e]="webkit"+t,l["Moz"+e]="moz"+t,l}var Ua={animationend:ta("Animation","AnimationEnd"),animationiteration:ta("Animation","AnimationIteration"),animationstart:ta("Animation","AnimationStart"),transitionrun:ta("Transition","TransitionRun"),transitionstart:ta("Transition","TransitionStart"),transitioncancel:ta("Transition","TransitionCancel"),transitionend:ta("Transition","TransitionEnd")},Tc={},Xo={};ol&&(Xo=document.createElement("div").style,"AnimationEvent"in window||(delete Ua.animationend.animation,delete Ua.animationiteration.animation,delete Ua.animationstart.animation),"TransitionEvent"in window||delete Ua.transitionend.transition);function la(e){if(Tc[e])return Tc[e];if(!Ua[e])return e;var t=Ua[e],l;for(l in t)if(t.hasOwnProperty(l)&&l in Xo)return Tc[e]=t[l];return e}var Vo=la("animationend"),Lo=la("animationiteration"),Zo=la("animationstart"),j1=la("transitionrun"),E1=la("transitionstart"),O1=la("transitioncancel"),Ko=la("transitionend"),Jo=new Map,jc="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError 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(" ");jc.push("scrollEnd");function Yt(e,t){Jo.set(e,t),ea(t,[e])}var A1=0;function rl(e,t){if(e.name!=null&&e.name!=="auto")return e.name;if(t.autoName!==null)return t.autoName;e=Vt.identifierPrefix;var l=A1++;return e="_"+e+"t_"+l.toString(32)+"_",t.autoName=e}function ko(e){if(e==null||typeof e=="string")return e;var t=null,l=en;if(l!==null)for(var a=0;a<l.length;a++){var n=e[l[a]];if(n!=null){if(n==="none")return"none";t=t==null?n:t+(" "+n)}}return t??e.default}function dl(e,t){return e=ko(e),t=ko(t),t==null?e==="auto"?null:e:t==="auto"?null:t}var Du=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Dt=[],Ra=0,Ec=0;function Cu(){for(var e=Ra,t=Ec=Ra=0;t<e;){var l=Dt[t];Dt[t++]=null;var a=Dt[t];Dt[t++]=null;var n=Dt[t];Dt[t++]=null;var u=Dt[t];if(Dt[t++]=null,a!==null&&n!==null){var i=a.pending;i===null?n.next=n:(n.next=i.next,i.next=n),a.pending=n}u!==0&&$o(l,n,u)}}function wu(e,t,l,a){Dt[Ra++]=e,Dt[Ra++]=t,Dt[Ra++]=l,Dt[Ra++]=a,Ec|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function Oc(e,t,l,a){return wu(e,t,l,a),Uu(e)}function aa(e,t){return wu(e,null,null,t),Uu(e)}function $o(e,t,l){e.lanes|=l;var a=e.alternate;a!==null&&(a.lanes|=l);for(var n=!1,u=e.return;u!==null;)u.childLanes|=l,a=u.alternate,a!==null&&(a.childLanes|=l),u.tag===22&&(e=u.stateNode,e===null||e._visibility&1||(n=!0)),e=u,u=u.return;return e.tag===3?(u=e.stateNode,n&&t!==null&&(n=31-St(l),e=u.hiddenUpdates,a=e[n],a===null?e[n]=[t]:a.push(t),t.lane=l|536870912),u):null}function Uu(e){if(50<Fn)throw Fn=0,zi=null,Error(r(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Ha={};function M1(e,t,l,a){this.tag=e,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,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 ht(e,t,l,a){return new M1(e,t,l,a)}function Ac(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ml(e,t){var l=e.alternate;return l===null?(l=ht(e.tag,t,e.key,e.mode),l.elementType=e.elementType,l.type=e.type,l.stateNode=e.stateNode,l.alternate=e,e.alternate=l):(l.pendingProps=t,l.type=e.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=e.flags&1206910976,l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,t=e.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},l.sibling=e.sibling,l.index=e.index,l.ref=e.ref,l.refCleanup=e.refCleanup,l}function Fo(e,t){e.flags&=1206910978;var l=e.alternate;return l===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,e.type=l.type,t=l.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Ru(e,t,l,a,n,u){var i=0;if(a=e,typeof a=="function")Ac(a)&&(i=1);else if(typeof a=="string")i=nx(e,l,Jt.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(a){case G:return e=ht(31,l,t,n),e.elementType=G,e.lanes=u,e;case Ae:return na(l.children,n,u,t);case Ne:i=8,n|=24;break;case Le:return e=ht(12,l,t,n|2),e.elementType=Le,e.lanes=u,e;case K:return e=ht(13,l,t,n),e.elementType=K,e.lanes=u,e;case J:return e=ht(19,l,t,n),e.elementType=J,e.lanes=u,e;case Ee:case m:return e=n|32,e=ht(30,l,t,e),e.elementType=m,e.lanes=u,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case je:i=10;break e;case Ye:i=9;break e;case A:i=11;break e;case de:i=14;break e;case w:i=16,a=null;break e}i=29,l=Error(r(130,e===null?"null":typeof e,"")),a=null}return t=ht(i,l,t,n),t.elementType=e,t.type=a,t.lanes=u,t}function na(e,t,l,a){return e=ht(7,e,a,t),e.lanes=l,e}function Mc(e,t,l){return e=ht(6,e,null,t),e.lanes=l,e}function Wo(e){var t=ht(18,null,null,0);return t.stateNode=e,t}function Dc(e,t,l){return t=ht(4,e.children!==null?e.children:[],e.key,t),t.lanes=l,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Io=new WeakMap;function Ct(e,t){if(typeof e=="object"&&e!==null){var l=Io.get(e);return l!==void 0?l:(t={value:e,source:t,stack:Zf(t)},Io.set(e,t),t)}return{value:e,source:t,stack:Zf(t)}}var qa=[],Ba=0,Hu=null,An=0,wt=[],Ut=0,Ol=null,$t=1,Ft="";function hl(e,t){qa[Ba++]=An,qa[Ba++]=Hu,Hu=e,An=t}function Po(e,t,l){wt[Ut++]=$t,wt[Ut++]=Ft,wt[Ut++]=Ol,Ol=e;var a=$t;e=Ft;var n=32-St(a)-1;a&=~(1<<n),l+=1;var u=32-St(t)+n;if(30<u){var i=n-n%5;u=(a&(1<<i)-1).toString(32),a>>=i,n-=i,$t=1<<32-St(t)+n|l<<n|a,Ft=u+e}else $t=1<<u|l<<n|a,Ft=e}function qu(e){e.return!==null&&(hl(e,1),Po(e,1,0))}function Cc(e){for(;e===Hu;)Hu=qa[--Ba],qa[Ba]=null,An=qa[--Ba],qa[Ba]=null;for(;e===Ol;)Ol=wt[--Ut],wt[Ut]=null,Ft=wt[--Ut],wt[Ut]=null,$t=wt[--Ut],wt[Ut]=null}function er(e,t){wt[Ut++]=$t,wt[Ut++]=Ft,wt[Ut++]=Ol,$t=t.id,Ft=t.overflow,Ol=e}var We=null,we=null,oe=!1,Al=null,Rt=!1,wc=Error(r(519));function Ml(e){var t=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Mn(Ct(t,e)),wc}function tr(e){var t=e.stateNode,l=e.type,a=e.memoizedProps;switch(t[tt]=e,t[mt]=a,l){case"dialog":he("cancel",t),he("close",t);break;case"iframe":case"object":case"embed":he("load",t);break;case"video":case"audio":for(l=0;l<In.length;l++)he(In[l],t);break;case"source":he("error",t);break;case"img":case"image":case"link":he("error",t),he("load",t);break;case"details":he("toggle",t);break;case"input":he("invalid",t),mo(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":he("invalid",t);break;case"textarea":he("invalid",t),vo(t,a.value,a.defaultValue,a.children)}l=a.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||t.textContent===""+l||a.suppressHydrationWarning===!0||N0(t.textContent,l)?(a.popover!=null&&(he("beforetoggle",t),he("toggle",t)),a.onScroll!=null&&he("scroll",t),a.onScrollEnd!=null&&he("scrollend",t),a.onClick!=null&&(t.onclick=kt),t=!0):t=!1,t||Ml(e,!0)}function Bu(e){for(We=e.return;We;)switch(We.tag){case 5:case 31:case 13:Rt=!1;return;case 27:case 3:Rt=!0;return;default:We=We.return}}function Ya(e){if(e!==We)return!1;if(!oe)return Bu(e),oe=!0,!1;var t=e.tag,l;if((l=t!==3&&t!==27)&&((l=t===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||of(e.type,e.memoizedProps)),l=!l),l&&we&&Ml(e),Bu(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));we=Q0(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));we=Q0(e)}else t===27?(t=we,Kl(e.type)?(e=bf,bf=null,we=e):we=t):we=We?qt(e.stateNode.nextSibling):null;return!0}function ua(){we=We=null,oe=!1}function Uc(){var e=Al;return e!==null&&(yt===null?yt=e:yt.push.apply(yt,e),Al=null),e}function Mn(e){Al===null?Al=[e]:Al.push(e)}var Rc=Kt(null),ia=null,vl=null;function Dl(e,t,l){Ce(Rc,t._currentValue),t._currentValue=l}function xl(e){e._currentValue=Rc.current,et(Rc)}function Yu(e,t,l){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===l)break;e=e.return}}function Hc(e,t,l,a){var n=e.child;for(n!==null&&(n.return=e);n!==null;){var u=n.dependencies;if(u!==null){var i=n.child;u=u.firstContext;e:for(;u!==null;){var s=u;u=n;for(var f=0;f<t.length;f++)if(s.context===t[f]){u.lanes|=l,s=u.alternate,s!==null&&(s.lanes|=l),Yu(u.return,l,e),a||(i=null);break e}u=s.next}}else if(n.tag===18){if(i=n.return,i===null)throw Error(r(341));i.lanes|=l,u=i.alternate,u!==null&&(u.lanes|=l),Yu(i,l,e),i=null}else n.tag===13&&n.memoizedState!==null&&n.memoizedState.dehydrated===null?(n.lanes|=l,i=n.alternate,i!==null&&(i.lanes|=l),Yu(n.return,l,e),i=n.child,i=i!==null?i.sibling:null):i=n.child;if(i!==null)i.return=n;else for(i=n;i!==null;){if(i===e){i=null;break}if(n=i.sibling,n!==null){n.return=i.return,i=n;break}i=i.return}n=i}}function ca(e,t,l,a){e=null;for(var n=t,u=!1;n!==null;){if(!u){if((n.flags&524288)!==0)u=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var i=n.alternate;if(i===null)throw Error(r(387));if(i=i.memoizedProps,i!==null){var s=n.type;zt(n.pendingProps.value,i.value)||(e!==null?e.push(s):e=[s])}}else if(n===du.current){if(i=n.alternate,i===null)throw Error(r(387));i.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(e!==null?e.push(rn):e=[rn])}n=n.return}return e!==null&&Hc(t,e,l,a),t.flags|=262144,e!==null}function Gu(e){for(e=e.firstContext;e!==null;){if(!zt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function sa(e){ia=e,vl=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function lt(e){return lr(ia,e)}function Qu(e,t){return ia===null&&sa(e),lr(e,t)}function lr(e,t){var l=t._currentValue;if(t={context:t,memoizedValue:l,next:null},vl===null){if(e===null)throw Error(r(308));vl=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else vl=vl.next=t;return l}var D1=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(l,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(l){return l()})}},C1=o.unstable_scheduleCallback,w1=o.unstable_NormalPriority,Ze={$$typeof:je,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function qc(){return{controller:new D1,data:new Map,refCount:0}}function Dn(e){e.refCount--,e.refCount===0&&C1(w1,function(){e.controller.abort()})}function ar(e,t){if((e.pendingLanes&4194048)!==0){var l=e.transitionTypes;for(l===null&&(l=e.transitionTypes=[]),e=0;e<t.length;e++){var a=t[e];l.indexOf(a)===-1&&l.push(a)}}}var Cn=null;function U1(e){var t=e.transitionTypes;return e.transitionTypes=null,t}var wn=null,Bc=0,fa=0,Ga=null;function R1(e,t){if(wn===null){var l=wn=[];Bc=0,fa=ef(),Ga={status:"pending",value:void 0,then:function(a){l.push(a)}}}return Bc++,t.then(nr,nr),t}function nr(){if(--Bc===0&&(Cn=null,wn!==null)){Ga!==null&&(Ga.status="fulfilled");var e=wn;wn=null,fa=0,Ga=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function H1(e,t){var l=[],a={status:"pending",value:null,reason:null,then:function(n){l.push(n)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var n=0;n<l.length;n++)(0,l[n])(t)},function(n){for(a.status="rejected",a.reason=n,n=0;n<l.length;n++)(0,l[n])(void 0)}),a}var ur=B.S;B.S=function(e,t){if(Wd=bt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&R1(e,t),Cn!==null)for(var l=nn;l!==null;)ar(l,Cn),l=l.next;if(l=e.types,l!==null){for(var a=nn;a!==null;)ar(a,l),a=a.next;if(fa!==0){a=Cn,a===null&&(a=Cn=[]);for(var n=0;n<l.length;n++){var u=l[n];a.indexOf(u)===-1&&a.push(u)}}}ur!==null&&ur(e,t)};var oa=Kt(null);function Yc(){var e=oa.current;return e!==null?e:Me.pooledCache}function Xu(e,t){t===null?Ce(oa,oa.current):Ce(oa,t.pool)}function ir(){var e=Yc();return e===null?null:{parent:Ze._currentValue,pool:e}}var Qa=Error(r(460)),Gc=Error(r(474)),Vu=Error(r(542)),Lu={then:function(){}};function cr(e){return e=e.status,e==="fulfilled"||e==="rejected"}function sr(e,t,l){switch(l=e[l],l===void 0?e.push(t):l!==t&&(t.then(kt,kt),t=l),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,or(e),e===void 0&&!("reason"in t)?Error(r(600)):e;default:if(typeof t.status=="string")t.then(kt,kt);else{if(e=Me,e!==null&&100<e.shellSuspendCounter)throw Error(r(482));e=t,e.status="pending",e.then(function(a){if(t.status==="pending"){var n=t;n.status="fulfilled",n.value=a}},function(a){if(t.status==="pending"){var n=t;n.status="rejected",n.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,or(e),e}throw da=t,Qa}}function ra(e){try{var t=e._init;return t(e._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(da=l,Qa):l}}var da=null;function fr(){if(da===null)throw Error(r(459));var e=da;return da=null,e}function or(e){if(e===Qa||e===Vu)throw Error(r(483))}var Xa=null,Un=0;function Zu(e){var t=Un;return Un+=1,Xa===null&&(Xa=[]),sr(Xa,e,t)}function Cl(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Ku(e,t){throw t.$$typeof===P?Error(r(525)):(e=Object.prototype.toString.call(t),Error(r(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function rr(e){function t(v,d){if(e){var y=v.deletions;y===null?(v.deletions=[d],v.flags|=16):y.push(d)}}function l(v,d){if(!e)return null;for(;d!==null;)t(v,d),d=d.sibling;return null}function a(v){for(var d=new Map;v!==null;)v.key===null?d.set(v.index,v):d.set(v.key,v),v=v.sibling;return d}function n(v,d){return v=ml(v,d),v.index=0,v.sibling=null,v}function u(v,d,y){return v.index=y,e?(y=v.alternate,y!==null?(y=y.index,y<d?(v.flags|=2,d):y):(v.flags|=134217730,d)):(v.flags|=1048576,d)}function i(v){return e&&v.alternate===null&&(v.flags|=134217730),v}function s(v,d,y,z){return d===null||d.tag!==6?(d=Mc(y,v.mode,z),d.return=v,d):(d=n(d,y),d.return=v,d)}function f(v,d,y,z){var U=y.type;return U===Ae?(v=b(v,d,y.props.children,z,y.key),Cl(v,y),v):d!==null&&(d.elementType===U||typeof U=="object"&&U!==null&&U.$$typeof===w&&ra(U)===d.type)?(d=n(d,y.props),Cl(d,y),d.return=v,d):(d=Ru(y.type,y.key,y.props,null,v.mode,z),Cl(d,y),d.return=v,d)}function x(v,d,y,z){return d===null||d.tag!==4||d.stateNode.containerInfo!==y.containerInfo||d.stateNode.implementation!==y.implementation?(d=Dc(y,v.mode,z),d.return=v,d):(d=n(d,y.children||[]),d.return=v,d)}function b(v,d,y,z,U){return d===null||d.tag!==7?(d=na(y,v.mode,z,U),d.return=v,d):(d=n(d,y),d.return=v,d)}function _(v,d,y){if(typeof d=="string"&&d!==""||typeof d=="number"||typeof d=="bigint")return d=Mc(""+d,v.mode,y),d.return=v,d;if(typeof d=="object"&&d!==null){switch(d.$$typeof){case Ve:return y=Ru(d.type,d.key,d.props,null,v.mode,y),Cl(y,d),y.return=v,y;case qe:return d=Dc(d,v.mode,y),d.return=v,d;case w:return d=ra(d),_(v,d,y)}if(ce(d)||N(d))return d=na(d,v.mode,y,null),d.return=v,d;if(typeof d.then=="function")return _(v,Zu(d),y);if(d.$$typeof===je)return _(v,Qu(v,d),y);Ku(v,d)}return null}function h(v,d,y,z){var U=d!==null?d.key:null;if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return U!==null?null:s(v,d,""+y,z);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Ve:return y.key===U?f(v,d,y,z):null;case qe:return y.key===U?x(v,d,y,z):null;case w:return y=ra(y),h(v,d,y,z)}if(ce(y)||N(y))return U!==null?null:b(v,d,y,z,null);if(typeof y.then=="function")return h(v,d,Zu(y),z);if(y.$$typeof===je)return h(v,d,Qu(v,y),z);Ku(v,y)}return null}function g(v,d,y,z,U){if(typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint")return v=v.get(y)||null,s(d,v,""+z,U);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case Ve:return v=v.get(z.key===null?y:z.key)||null,f(d,v,z,U);case qe:return v=v.get(z.key===null?y:z.key)||null,x(d,v,z,U);case w:return z=ra(z),g(v,d,y,z,U)}if(ce(z)||N(z))return v=v.get(y)||null,b(d,v,z,U,null);if(typeof z.then=="function")return g(v,d,y,Zu(z),U);if(z.$$typeof===je)return g(v,d,y,Qu(d,z),U);Ku(d,z)}return null}function C(v,d,y,z){for(var U=null,ye=null,L=d,W=d=0,ke=null;L!==null&&W<y.length;W++){L.index>W?(ke=L,L=null):ke=L.sibling;var ge=h(v,L,y[W],z);if(ge===null){L===null&&(L=ke);break}e&&L&&ge.alternate===null&&t(v,L),d=u(ge,d,W),ye===null?U=ge:ye.sibling=ge,ye=ge,L=ke}if(W===y.length)return l(v,L),oe&&hl(v,W),U;if(L===null){for(;W<y.length;W++)L=_(v,y[W],z),L!==null&&(d=u(L,d,W),ye===null?U=L:ye.sibling=L,ye=L);return oe&&hl(v,W),U}for(L=a(L);W<y.length;W++)ke=g(L,v,W,y[W],z),ke!==null&&(e&&(ge=ke.alternate,ge!==null&&L.delete(ge.key===null?W:ge.key)),d=u(ke,d,W),ye===null?U=ke:ye.sibling=ke,ye=ke);return e&&L.forEach(function(Wl){return t(v,Wl)}),oe&&hl(v,W),U}function Y(v,d,y,z){if(y==null)throw Error(r(151));for(var U=null,ye=null,L=d,W=d=0,ke=null,ge=y.next();L!==null&&!ge.done;W++,ge=y.next()){L.index>W?(ke=L,L=null):ke=L.sibling;var Wl=h(v,L,ge.value,z);if(Wl===null){L===null&&(L=ke);break}e&&L&&Wl.alternate===null&&t(v,L),d=u(Wl,d,W),ye===null?U=Wl:ye.sibling=Wl,ye=Wl,L=ke}if(ge.done)return l(v,L),oe&&hl(v,W),U;if(L===null){for(;!ge.done;W++,ge=y.next())ge=_(v,ge.value,z),ge!==null&&(d=u(ge,d,W),ye===null?U=ge:ye.sibling=ge,ye=ge);return oe&&hl(v,W),U}for(L=a(L);!ge.done;W++,ge=y.next())ge=g(L,v,W,ge.value,z),ge!==null&&(e&&(ke=ge.alternate,ke!==null&&L.delete(ke.key===null?W:ke.key)),d=u(ge,d,W),ye===null?U=ge:ye.sibling=ge,ye=ge);return e&&L.forEach(function(xx){return t(v,xx)}),oe&&hl(v,W),U}function ue(v,d,y,z){if(typeof y=="object"&&y!==null&&y.type===Ae&&y.key===null&&y.props.ref===void 0&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case Ve:e:{for(var U=y.key;d!==null;){if(d.key===U){if(U=y.type,U===Ae){if(d.tag===7){l(v,d.sibling),z=n(d,y.props.children),Cl(z,y),z.return=v,v=z;break e}}else if(d.elementType===U||typeof U=="object"&&U!==null&&U.$$typeof===w&&ra(U)===d.type){l(v,d.sibling),z=n(d,y.props),Cl(z,y),z.return=v,v=z;break e}l(v,d);break}else t(v,d);d=d.sibling}y.type===Ae?(z=na(y.props.children,v.mode,z,y.key),Cl(z,y),z.return=v,v=z):(z=Ru(y.type,y.key,y.props,null,v.mode,z),Cl(z,y),z.return=v,v=z)}return i(v);case qe:e:{for(U=y.key;d!==null;){if(d.key===U)if(d.tag===4&&d.stateNode.containerInfo===y.containerInfo&&d.stateNode.implementation===y.implementation){l(v,d.sibling),z=n(d,y.children||[]),z.return=v,v=z;break e}else{l(v,d);break}else t(v,d);d=d.sibling}z=Dc(y,v.mode,z),z.return=v,v=z}return i(v);case w:return y=ra(y),ue(v,d,y,z)}if(ce(y))return C(v,d,y,z);if(N(y)){if(U=N(y),typeof U!="function")throw Error(r(150));return y=U.call(y),Y(v,d,y,z)}if(typeof y.then=="function")return ue(v,d,Zu(y),z);if(y.$$typeof===je)return ue(v,d,Qu(v,y),z);Ku(v,y)}return typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint"?(y=""+y,d!==null&&d.tag===6?(l(v,d.sibling),z=n(d,y),z.return=v,v=z):(l(v,d),z=Mc(y,v.mode,z),z.return=v,v=z),i(v)):l(v,d)}return function(v,d,y,z){try{Un=0;var U=ue(v,d,y,z);return Xa=null,U}catch(L){if(L===Qa||L===Vu)throw L;var ye=ht(29,L,null,v.mode);return ye.lanes=z,ye.return=v,ye}finally{}}}var ma=rr(!0),dr=rr(!1),wl=!1;function Qc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Xc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ul(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Rl(e,t,l){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(pe&2)!==0){var n=a.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),a.pending=t,t=Uu(e),$o(e,null,l),t}return wu(e,a,t,l),Uu(e)}function Rn(e,t,l){if(t=t.updateQueue,t!==null&&(t=t.shared,(l&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,If(e,l)}}function Vc(e,t){var l=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,l===a)){var n=null,u=null;if(l=l.firstBaseUpdate,l!==null){do{var i={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};u===null?n=u=i:u=u.next=i,l=l.next}while(l!==null);u===null?n=u=t:u=u.next=t}else n=u=t;l={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:u,shared:a.shared,callbacks:a.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=t:e.next=t,l.lastBaseUpdate=t}var Lc=!1;function Hn(){if(Lc){var e=Ga;if(e!==null)throw e}}function qn(e,t,l,a){Lc=!1;var n=e.updateQueue;wl=!1;var u=n.firstBaseUpdate,i=n.lastBaseUpdate,s=n.shared.pending;if(s!==null){n.shared.pending=null;var f=s,x=f.next;f.next=null,i===null?u=x:i.next=x,i=f;var b=e.alternate;b!==null&&(b=b.updateQueue,s=b.lastBaseUpdate,s!==i&&(s===null?b.firstBaseUpdate=x:s.next=x,b.lastBaseUpdate=f))}if(u!==null){var _=n.baseState;i=0,b=x=f=null,s=u;do{var h=s.lane&-536870913,g=h!==s.lane;if(g?(xe&h)===h:(a&h)===h){h!==0&&h===fa&&(Lc=!0),b!==null&&(b=b.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var C=e,Y=s;h=t;var ue=l;switch(Y.tag){case 1:if(C=Y.payload,typeof C=="function"){_=C.call(ue,_,h);break e}_=C;break e;case 3:C.flags=C.flags&-65537|128;case 0:if(C=Y.payload,h=typeof C=="function"?C.call(ue,_,h):C,h==null)break e;_=Q({},_,h);break e;case 2:wl=!0}}h=s.callback,h!==null&&(e.flags|=64,g&&(e.flags|=8192),g=n.callbacks,g===null?n.callbacks=[h]:g.push(h))}else g={lane:h,tag:s.tag,payload:s.payload,callback:s.callback,next:null},b===null?(x=b=g,f=_):b=b.next=g,i|=h;if(s=s.next,s===null){if(s=n.shared.pending,s===null)break;g=s,s=g.next,g.next=null,n.lastBaseUpdate=g,n.shared.pending=null}}while(!0);b===null&&(f=_),n.baseState=f,n.firstBaseUpdate=x,n.lastBaseUpdate=b,u===null&&(n.shared.lanes=0),Xl|=i,e.lanes=i,e.memoizedState=_}}function mr(e,t){if(typeof e!="function")throw Error(r(191,e));e.call(t)}function hr(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)mr(l[e],t)}var Hl=Kt(null),Ju=Kt(0);function vr(e,t){e=Sl,Ce(Ju,e),Ce(Hl,t),Sl=e|t.baseLanes}function Zc(){Ce(Ju,Sl),Ce(Hl,Hl.current)}function Kc(){Sl=Ju.current,et(Hl),et(Ju)}var at=Kt(null),st=null;function ql(e){var t=e.alternate;Ce(nt,nt.current&1),Ce(at,e),st===null&&(t===null||Hl.current!==null||t.memoizedState!==null)&&(st=e)}function Jc(e){Ce(nt,nt.current),Ce(at,e),st===null&&(st=e)}function xr(e){e.tag===22?(Ce(nt,nt.current),Ce(at,e),st===null&&(st=e)):Bl()}function Bl(){Ce(nt,nt.current),Ce(at,at.current)}function _t(e){et(at),st===e&&(st=null),et(nt)}var nt=Kt(0);function Bn(e,t){Ce(at,at.current),Ce(nt,t)}function kc(e){et(nt),et(at),st===e&&(st=null)}function ku(e){for(var t=e;t!==null;){if(t.tag===13){var l=t.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||yf(l)||gf(l)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!=="independent"){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var yl=0,ne=null,Oe=null,Ke=null,$u=!1,Va=!1,ha=!1,Fu=0,Yn=0,La=null,q1=0;function Ge(){throw Error(r(321))}function $c(e,t){if(t===null)return!1;for(var l=0;l<t.length&&l<e.length;l++)if(!zt(e[l],t[l]))return!1;return!0}function Fc(e,t,l,a,n,u){return yl=u,ne=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,B.H=e===null||e.memoizedState===null?Pr:ed,ha=!1,u=l(a,n),ha=!1,Va&&(u=gr(t,l,a,n)),yr(e),u}function yr(e){B.H=ai;var t=Oe!==null&&Oe.next!==null;if(yl=0,Ke=Oe=ne=null,$u=!1,Yn=0,La=null,t)throw Error(r(300));e===null||Je||(e=e.dependencies,e!==null&&Gu(e)&&(Je=!0))}function gr(e,t,l,a){ne=e;var n=0;do{if(Va&&(La=null),Yn=0,Va=!1,25<=n)throw Error(r(301));if(n+=1,Ke=Oe=null,e.updateQueue!=null){var u=e.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}B.H=Z1,u=t(l,a)}while(Va);return u}function B1(){var e=B.H,t=e.useState()[0];return t=typeof t.then=="function"?Gn(t):t,e=e.useState()[0],(Oe!==null?Oe.memoizedState:null)!==e&&(ne.flags|=1024),t}function Wc(){var e=Fu!==0;return Fu=0,e}function Ic(e,t,l){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l}function Pc(e){if($u){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}$u=!1}yl=0,Ke=Oe=ne=null,Va=!1,Yn=Fu=0,La=null}function ot(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ke===null?ne.memoizedState=Ke=e:Ke=Ke.next=e,Ke}function Xe(){if(Oe===null){var e=ne.alternate;e=e!==null?e.memoizedState:null}else e=Oe.next;var t=Ke===null?ne.memoizedState:Ke.next;if(t!==null)Ke=t,Oe=e;else{if(e===null)throw ne.alternate===null?Error(r(467)):Error(r(310));Oe=e,e={memoizedState:Oe.memoizedState,baseState:Oe.baseState,baseQueue:Oe.baseQueue,queue:Oe.queue,next:null},Ke===null?ne.memoizedState=Ke=e:Ke=Ke.next=e}return Ke}function Wu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Gn(e){var t=Yn;return Yn+=1,La===null&&(La=[]),e=sr(La,e,t),t=ne,(Ke===null?t.memoizedState:Ke.next)===null&&(t=t.alternate,B.H=t===null||t.memoizedState===null?Pr:ed),e}function Iu(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Gn(e);if(e.$$typeof===E)return;if(e.$$typeof===je)return lt(e)}throw Error(r(438,String(e)))}function es(e){var t=null,l=ne.updateQueue;if(l!==null&&(t=l.memoCache),t==null){var a=ne.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(n){return n.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),l===null&&(l=Wu(),ne.updateQueue=l),l.memoCache=t,l=t.data[t.index],l===void 0)for(l=t.data[t.index]=Array(e),a=0;a<e;a++)l[a]=il;return t.index++,l}function gl(e,t){return typeof t=="function"?t(e):t}function Pu(e){var t=Xe();return ts(t,Oe,e)}function ts(e,t,l){var a=e.queue;if(a===null)throw Error(r(311));a.lastRenderedReducer=l;var n=e.baseQueue,u=a.pending;if(u!==null){if(n!==null){var i=n.next;n.next=u.next,u.next=i}t.baseQueue=n=u,a.pending=null}if(u=e.baseState,n===null)e.memoizedState=u;else{t=n.next;var s=i=null,f=null,x=t,b=!1;do{var _=x.lane&-536870913;if(_!==x.lane?(xe&_)===_:(yl&_)===_){var h=x.revertLane;if(h===0)f!==null&&(f=f.next={lane:0,revertLane:0,gesture:null,action:x.action,hasEagerState:x.hasEagerState,eagerState:x.eagerState,next:null}),_===fa&&(b=!0);else if((yl&h)===h){x=x.next,h===fa&&(b=!0);continue}else _={lane:0,revertLane:x.revertLane,gesture:null,action:x.action,hasEagerState:x.hasEagerState,eagerState:x.eagerState,next:null},f===null?(s=f=_,i=u):f=f.next=_,ne.lanes|=h,Xl|=h;_=x.action,ha&&l(u,_),u=x.hasEagerState?x.eagerState:l(u,_)}else h={lane:_,revertLane:x.revertLane,gesture:x.gesture,action:x.action,hasEagerState:x.hasEagerState,eagerState:x.eagerState,next:null},f===null?(s=f=h,i=u):f=f.next=h,ne.lanes|=_,Xl|=_;x=x.next}while(x!==null&&x!==t);if(f===null?i=u:f.next=s,!zt(u,e.memoizedState)&&(Je=!0,b&&(l=Ga,l!==null)))throw l;e.memoizedState=u,e.baseState=i,e.baseQueue=f,a.lastRenderedState=u}return n===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function ls(e){var t=Xe(),l=t.queue;if(l===null)throw Error(r(311));l.lastRenderedReducer=e;var a=l.dispatch,n=l.pending,u=t.memoizedState;if(n!==null){l.pending=null;var i=n=n.next;do u=e(u,i.action),i=i.next;while(i!==n);zt(u,t.memoizedState)||(Je=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),l.lastRenderedState=u}return[u,a]}function br(e,t,l){var a=ne,n=Xe(),u=oe;if(u){if(l===void 0)throw Error(r(407));l=l()}else l=t();var i=!zt((Oe||n).memoizedState,l);if(i&&(n.memoizedState=l,Je=!0),n=n.queue,us(Nr.bind(null,a,n,e),[e]),e=n.getSnapshot!==t||i||Ke!==null&&(Ke.memoizedState.tag&1)!==0,Za(e?9:8,{destroy:void 0},Sr.bind(null,a,n,l,t),null),e){if(a.flags|=2048,Me===null)throw Error(r(349));u||(yl&127)!==0||pr(a,t,l)}return l}function pr(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=ne.updateQueue,t===null?(t=Wu(),ne.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function Sr(e,t,l,a){t.value=l,t.getSnapshot=a,zr(t)&&_r(e)}function Nr(e,t,l){return l(function(){zr(t)&&_r(e)})}function zr(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!zt(e,l)}catch{return!0}}function _r(e){var t=aa(e,2);t!==null&&gt(t,e,2)}function as(e){var t=ot();if(typeof e=="function"){var l=e;if(e=l(),ha){Tl(!0);try{l()}finally{Tl(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:gl,lastRenderedState:e},t}function Tr(e,t,l,a){return e.baseState=l,ts(e,Oe,typeof a=="function"?a:gl)}function Y1(e,t,l,a,n){if(li(e))throw Error(r(485));if(e=t.action,e!==null){var u={payload:n,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(i){u.listeners.push(i)}};B.T!==null?l(!0):u.isTransition=!1,a(u),l=t.pending,l===null?(u.next=t.pending=u,jr(t,u)):(u.next=l.next,t.pending=l.next=u)}}function jr(e,t){var l=t.action,a=t.payload,n=e.state;if(t.isTransition){var u=B.T,i={};i.types=u!==null?u.types:null,B.T=i;try{var s=l(n,a),f=B.S;f!==null&&f(i,s),Er(e,t,s)}catch(x){ns(e,t,x)}finally{u!==null&&i.types!==null&&(u.types=i.types),B.T=u}}else try{u=l(n,a),Er(e,t,u)}catch(x){ns(e,t,x)}}function Er(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(a){Or(e,t,a)},function(a){return ns(e,t,a)}):Or(e,t,l)}function Or(e,t,l){t.status="fulfilled",t.value=l,Ar(t),e.state=l,t=e.pending,t!==null&&(l=t.next,l===t?e.pending=null:(l=l.next,t.next=l,jr(e,l)))}function ns(e,t,l){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=l,Ar(t),t=t.next;while(t!==a)}e.action=null}function Ar(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Mr(e,t){return t}function Dr(e,t){if(oe){var l=Me.formState;if(l!==null){e:{var a=ne;if(oe){if(we){t:{for(var n=we,u=Rt;n.nodeType!==8;){if(!u){n=null;break t}if(n=qt(n.nextSibling),n===null){n=null;break t}}u=n.data,n=u==="F!"||u==="F"?n:null}if(n){we=qt(n.nextSibling),a=n.data==="F!";break e}}Ml(a)}a=!1}a&&(t=l[0])}}return l=ot(),l.memoizedState=l.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mr,lastRenderedState:t},l.queue=a,l=Fr.bind(null,ne,a),a.dispatch=l,a=as(!1),u=os.bind(null,ne,!1,a.queue),a=ot(),n={state:t,dispatch:null,action:e,pending:null},a.queue=n,l=Y1.bind(null,ne,n,u,l),n.dispatch=l,a.memoizedState=e,[t,l,!1]}function Cr(e){var t=Xe();return wr(t,Oe,e)}function wr(e,t,l){if(t=ts(e,t,Mr)[0],e=Pu(gl)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=Gn(t)}catch(i){throw i===Qa?Vu:i}else a=t;t=Xe();var n=t.queue,u=n.dispatch;return l!==t.memoizedState&&(ne.flags|=2048,Za(9,{destroy:void 0},G1.bind(null,n,l),null)),[a,u,e]}function G1(e,t){e.action=t}function Ur(e){var t=Xe(),l=Oe;if(l!==null)return wr(t,l,e);Xe(),t=t.memoizedState,l=Xe();var a=l.queue.dispatch;return l.memoizedState=e,[t,a,!1]}function Za(e,t,l,a){return e={tag:e,create:l,deps:a,inst:t,next:null},t=ne.updateQueue,t===null&&(t=Wu(),ne.updateQueue=t),l=t.lastEffect,l===null?t.lastEffect=e.next=e:(a=l.next,l.next=e,e.next=a,t.lastEffect=e),e}function Rr(){return Xe().memoizedState}function ei(e,t,l,a){var n=ot();ne.flags|=e,n.memoizedState=Za(1|t,{destroy:void 0},l,a===void 0?null:a)}function ti(e,t,l,a){var n=Xe();a=a===void 0?null:a;var u=n.memoizedState.inst;Oe!==null&&a!==null&&$c(a,Oe.memoizedState.deps)?n.memoizedState=Za(t,u,l,a):(ne.flags|=e,n.memoizedState=Za(1|t,u,l,a))}function Hr(e,t){ei(8390656,8,e,t)}function us(e,t){ti(2048,8,e,t)}function Q1(e){ne.flags|=4;var t=ne.updateQueue;if(t===null)t=Wu(),ne.updateQueue=t,t.events=[e];else{var l=t.events;l===null?t.events=[e]:l.push(e)}}function qr(e){var t=Xe().memoizedState;return Q1({ref:t,nextImpl:e}),function(){if((pe&2)!==0)throw Error(r(440));return t.impl.apply(void 0,arguments)}}function Br(e,t){return ti(4,2,e,t)}function Yr(e,t){return ti(4,4,e,t)}function Gr(e,t){if(typeof t=="function"){e=e();var l=t(e);return function(){typeof l=="function"?l():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Qr(e,t,l){l=l!=null?l.concat([e]):null,ti(4,4,Gr.bind(null,t,e),l)}function is(){}function Xr(e,t){var l=Xe();t=t===void 0?null:t;var a=l.memoizedState;return t!==null&&$c(t,a[1])?a[0]:(l.memoizedState=[e,t],e)}function Vr(e,t){var l=Xe();t=t===void 0?null:t;var a=l.memoizedState;if(t!==null&&$c(t,a[1]))return a[0];if(a=e(),ha){Tl(!0);try{e()}finally{Tl(!1)}}return l.memoizedState=[a,t],a}function cs(e,t,l){return l===void 0||(yl&1073741824)!==0&&(xe&261930)===0?e.memoizedState=t:(e.memoizedState=l,e=Pd(),ne.lanes|=e,Xl|=e,l)}function Lr(e,t,l,a){return zt(l,t)?l:Hl.current!==null?(e=cs(e,l,a),zt(e,t)||(Je=!0),e):(yl&106)===0||(yl&1073741824)!==0&&(xe&261930)===0?(Je=!0,e.memoizedState=l):(e=Pd(),ne.lanes|=e,Xl|=e,t)}function Zr(e,t,l,a,n){var u=ee.p;ee.p=u!==0&&8>u?u:8;var i=B.T,s={};s.types=i!==null?i.types:null,B.T=s,os(e,!1,t,l);try{var f=n(),x=B.S;if(x!==null&&x(s,f),f!==null&&typeof f=="object"&&typeof f.then=="function"){var b=H1(f,a);Qn(e,t,b,Ot(e))}else Qn(e,t,a,Ot(e))}catch(_){Qn(e,t,{then:function(){},status:"rejected",reason:_},Ot())}finally{ee.p=u,i!==null&&s.types!==null&&(i.types=s.types),B.T=i}}function X1(){}function ss(e,t,l,a){if(e.tag!==5)throw Error(r(476));var n=Kr(e).queue;Zr(e,n,t,cl,l===null?X1:function(){return Jr(e),l(a)})}function Kr(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:cl,baseState:cl,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:gl,lastRenderedState:cl},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:gl,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Jr(e){var t=Kr(e);t.next===null&&(t=e.alternate.memoizedState),Qn(e,t.next.queue,{},Ot())}function fs(){return lt(rn)}function kr(){return Xe().memoizedState}function $r(){return Xe().memoizedState}function V1(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=Ot();e=Ul(l);var a=Rl(t,e,l);a!==null&&(gt(a,t,l),Rn(a,t,l)),t={cache:qc()},e.payload=t;return}t=t.return}}function L1(e,t,l){var a=Ot();l={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},li(e)?Wr(t,l):(l=Oc(e,t,l,a),l!==null&&(gt(l,e,a),Ir(l,t,a)))}function Fr(e,t,l){var a=Ot();Qn(e,t,l,a)}function Qn(e,t,l,a){var n={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(li(e))Wr(t,n);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var i=t.lastRenderedState,s=u(i,l);if(n.hasEagerState=!0,n.eagerState=s,zt(s,i))return wu(e,t,n,0),Me===null&&Cu(),!1}catch{}finally{}if(l=Oc(e,t,n,a),l!==null)return gt(l,e,a),Ir(l,t,a),!0}return!1}function os(e,t,l,a){if(a={lane:2,revertLane:ef(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},li(e)){if(t)throw Error(r(479))}else t=Oc(e,l,a,2),t!==null&&gt(t,e,2)}function li(e){var t=e.alternate;return e===ne||t!==null&&t===ne}function Wr(e,t){Va=$u=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function Ir(e,t,l){if((l&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,If(e,l)}}var ai={readContext:lt,use:Iu,useCallback:Ge,useContext:Ge,useEffect:Ge,useImperativeHandle:Ge,useLayoutEffect:Ge,useInsertionEffect:Ge,useMemo:Ge,useReducer:Ge,useRef:Ge,useState:Ge,useDebugValue:Ge,useDeferredValue:Ge,useTransition:Ge,useSyncExternalStore:Ge,useId:Ge,useHostTransitionStatus:Ge,useFormState:Ge,useActionState:Ge,useOptimistic:Ge,useMemoCache:Ge,useCacheRefresh:Ge,useEffectEvent:Ge},Pr={readContext:lt,use:Iu,useCallback:function(e,t){return ot().memoizedState=[e,t===void 0?null:t],e},useContext:lt,useEffect:Hr,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,ei(4194308,4,Gr.bind(null,t,e),l)},useLayoutEffect:function(e,t){return ei(4194308,4,e,t)},useInsertionEffect:function(e,t){ei(4,2,e,t)},useMemo:function(e,t){var l=ot();t=t===void 0?null:t;var a=e();if(ha){Tl(!0);try{e()}finally{Tl(!1)}}return l.memoizedState=[a,t],a},useReducer:function(e,t,l){var a=ot();if(l!==void 0){var n=l(t);if(ha){Tl(!0);try{l(t)}finally{Tl(!1)}}}else n=t;return a.memoizedState=a.baseState=n,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},a.queue=e,e=e.dispatch=L1.bind(null,ne,e),[a.memoizedState,e]},useRef:function(e){var t=ot();return e={current:e},t.memoizedState=e},useState:function(e){e=as(e);var t=e.queue,l=Fr.bind(null,ne,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:is,useDeferredValue:function(e,t){var l=ot();return cs(l,e,t)},useTransition:function(){var e=as(!1);return e=Zr.bind(null,ne,e.queue,!0,!1),ot().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var a=ne,n=ot();if(oe){if(l===void 0)throw Error(r(407));l=l()}else{if(l=t(),Me===null)throw Error(r(349));(xe&127)!==0||pr(a,t,l)}n.memoizedState=l;var u={value:l,getSnapshot:t};return n.queue=u,Hr(Nr.bind(null,a,u,e),[e]),a.flags|=2048,Za(9,{destroy:void 0},Sr.bind(null,a,u,l,t),null),l},useId:function(){var e=ot(),t=Me.identifierPrefix;if(oe){var l=Ft,a=$t;l=(a&~(1<<32-St(a)-1)).toString(32)+l,t="_"+t+"R_"+l,l=Fu++,0<l&&(t+="H"+l.toString(32)),t+="_"}else l=q1++,t="_"+t+"r_"+l.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:fs,useFormState:Dr,useActionState:Dr,useOptimistic:function(e){var t=ot();t.memoizedState=t.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=l,t=os.bind(null,ne,!0,l),l.dispatch=t,[e,t]},useMemoCache:es,useCacheRefresh:function(){return ot().memoizedState=V1.bind(null,ne)},useEffectEvent:function(e){var t=ot(),l={impl:e};return t.memoizedState=l,function(){if((pe&2)!==0)throw Error(r(440));return l.impl.apply(void 0,arguments)}}},ed={readContext:lt,use:Iu,useCallback:Xr,useContext:lt,useEffect:us,useImperativeHandle:Qr,useInsertionEffect:Br,useLayoutEffect:Yr,useMemo:Vr,useReducer:Pu,useRef:Rr,useState:function(){return Pu(gl)},useDebugValue:is,useDeferredValue:function(e,t){var l=Xe();return Lr(l,Oe.memoizedState,e,t)},useTransition:function(){var e=Pu(gl)[0],t=Xe().memoizedState;return[typeof e=="boolean"?e:Gn(e),t]},useSyncExternalStore:br,useId:kr,useHostTransitionStatus:fs,useFormState:Cr,useActionState:Cr,useOptimistic:function(e,t){var l=Xe();return Tr(l,Oe,e,t)},useMemoCache:es,useCacheRefresh:$r,useEffectEvent:qr},Z1={readContext:lt,use:Iu,useCallback:Xr,useContext:lt,useEffect:us,useImperativeHandle:Qr,useInsertionEffect:Br,useLayoutEffect:Yr,useMemo:Vr,useReducer:ls,useRef:Rr,useState:function(){return ls(gl)},useDebugValue:is,useDeferredValue:function(e,t){var l=Xe();return Oe===null?cs(l,e,t):Lr(l,Oe.memoizedState,e,t)},useTransition:function(){var e=ls(gl)[0],t=Xe().memoizedState;return[typeof e=="boolean"?e:Gn(e),t]},useSyncExternalStore:br,useId:kr,useHostTransitionStatus:fs,useFormState:Ur,useActionState:Ur,useOptimistic:function(e,t){var l=Xe();return Oe!==null?Tr(l,Oe,e,t):(l.baseState=e,[e,l.queue.dispatch])},useMemoCache:es,useCacheRefresh:$r,useEffectEvent:qr};function rs(e,t,l,a){t=e.memoizedState,l=l(a,t),l=l==null?t:Q({},t,l),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}var ds={enqueueSetState:function(e,t,l){e=e._reactInternals;var a=Ot(),n=Ul(a);n.payload=t,l!=null&&(n.callback=l),t=Rl(e,n,a),t!==null&&(gt(t,e,a),Rn(t,e,a))},enqueueReplaceState:function(e,t,l){e=e._reactInternals;var a=Ot(),n=Ul(a);n.tag=1,n.payload=t,l!=null&&(n.callback=l),t=Rl(e,n,a),t!==null&&(gt(t,e,a),Rn(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=Ot(),a=Ul(l);a.tag=2,t!=null&&(a.callback=t),t=Rl(e,a,l),t!==null&&(gt(t,e,l),Rn(t,e,l))}};function td(e,t,l,a,n,u,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,u,i):t.prototype&&t.prototype.isPureReactComponent?!En(l,a)||!En(n,u):!0}function ld(e,t,l,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(l,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(l,a),t.state!==e&&ds.enqueueReplaceState(t,t.state,null)}function va(e,t){var l=t;if("ref"in t){l={};for(var a in t)a!=="ref"&&(l[a]=t[a])}if(e=e.defaultProps){l===t&&(l=Q({},l));for(var n in e)l[n]===void 0&&(l[n]=e[n])}return l}function ad(e){Du(e)}function nd(e){console.error(e)}function ud(e){Du(e)}function ni(e,t){try{var l=e.onUncaughtError;l(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function id(e,t,l){try{var a=e.onCaughtError;a(l.value,{componentStack:l.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function ms(e,t,l){return l=Ul(l),l.tag=3,l.payload={element:null},l.callback=function(){ni(e,t)},l}function cd(e){return e=Ul(e),e.tag=3,e}function sd(e,t,l,a){var n=l.type.getDerivedStateFromError;if(typeof n=="function"){var u=a.value;e.payload=function(){return n(u)},e.callback=function(){id(t,l,a)}}var i=l.stateNode;i!==null&&typeof i.componentDidCatch=="function"&&(e.callback=function(){id(t,l,a),typeof n!="function"&&(Vl===null?Vl=new Set([this]):Vl.add(this));var s=a.stack;this.componentDidCatch(a.value,{componentStack:s!==null?s:""})})}function K1(e,t,l,a,n){if(l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=l.alternate,t!==null&&ca(t,l,n,!0),l=at.current,l!==null){switch(l.tag){case 31:case 13:case 19:return st===null?Ti():l.alternate===null&&Qe===0&&(Qe=3),l.flags&=-257,l.flags|=65536,l.lanes=n,a===Lu?l.flags|=16384:(t=l.updateQueue,t===null?l.updateQueue=new Set([a]):t.add(a),Ws(e,a,n)),!1;case 22:return l.flags|=65536,a===Lu?l.flags|=16384:(t=l.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},l.updateQueue=t):(l=t.retryQueue,l===null?t.retryQueue=new Set([a]):l.add(a)),Ws(e,a,n)),!1}throw Error(r(435,l.tag))}return Ws(e,a,n),Ti(),!1}if(oe)return t=at.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,a!==wc&&(e=Error(r(422),{cause:a}),Mn(Ct(e,l)))):(a!==wc&&(t=Error(r(423),{cause:a}),Mn(Ct(t,l))),e=e.current.alternate,e.flags|=65536,n&=-n,e.lanes|=n,a=Ct(a,l),n=ms(e.stateNode,a,n),Vc(e,n),Qe!==4&&(Qe=2)),!1;var u=Error(r(520),{cause:a});if(u=Ct(u,l),$n===null?$n=[u]:$n.push(u),Qe!==4&&(Qe=2),t===null)return!0;a=Ct(a,l),l=t;do{switch(l.tag){case 3:return l.flags|=65536,e=n&-n,l.lanes|=e,e=ms(l.stateNode,a,e),Vc(l,e),!1;case 1:if(t=l.type,u=l.stateNode,(l.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(Vl===null||!Vl.has(u))))return l.flags|=65536,n&=-n,l.lanes|=n,n=cd(n),sd(n,e,l,a),Vc(l,n),!1;break;case 22:if(l.memoizedState!==null)return l.flags|=65536,!1}l=l.return}while(l!==null);return!1}var hs=Error(r(461)),Je=!1;function $e(e,t,l,a){t.child=e===null?dr(t,null,l,a):ma(t,e.child,l,a)}function fd(e,t,l,a,n){l=l.render;var u=t.ref;if("ref"in a){var i={};for(var s in a)s!=="ref"&&(i[s]=a[s])}else i=a;return sa(t),a=Fc(e,t,l,i,u,n),s=Wc(),e!==null&&!Je?(Ic(e,t,n),bl(e,t,n)):(oe&&s&&qu(t),t.flags|=1,$e(e,t,a,n),t.child)}function od(e,t,l,a,n){if(e===null){var u=l.type;return typeof u=="function"&&!Ac(u)&&u.defaultProps===void 0&&l.compare===null?(t.tag=15,t.type=u,rd(e,t,u,a,n)):(e=Ru(l.type,null,a,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!Ns(e,n)){var i=u.memoizedProps;if(l=l.compare,l=l!==null?l:En,l(i,a)&&e.ref===t.ref)return bl(e,t,n)}return t.flags|=1,e=ml(u,a),e.ref=t.ref,e.return=t,t.child=e}function rd(e,t,l,a,n){if(e!==null){var u=e.memoizedProps;if(En(u,a)&&e.ref===t.ref)if(Je=!1,t.pendingProps=a=u,Ns(e,n))(e.flags&131072)!==0&&(Je=!0);else return t.lanes=e.lanes,bl(e,t,n)}return vs(e,t,l,a,n)}function dd(e,t,l,a){var n=a.children,u=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(u=u!==null?u.baseLanes|l:l,e!==null){for(a=t.child=e.child,n=0;a!==null;)n=n|a.lanes|a.childLanes,a=a.sibling;a=n&~u}else a=0,t.child=null;return md(e,t,u,l,a)}if((l&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Xu(t,u!==null?u.cachePool:null),u!==null?vr(t,u):Zc(),xr(t);else return a=t.lanes=536870912,md(e,t,u!==null?u.baseLanes|l:l,l,a)}else u!==null?(Xu(t,u.cachePool),vr(t,u),Bl(),t.memoizedState=null):(e!==null&&Xu(t,null),Zc(),Bl());return $e(e,t,n,l),t.child}function Xn(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function md(e,t,l,a,n){var u=Yc();return u=u===null?null:{parent:Ze._currentValue,pool:u},t.memoizedState={baseLanes:l,cachePool:u},e!==null&&Xu(t,null),Zc(),xr(t),e!==null&&ca(e,t,a,!0),t.childLanes=n,null}function ui(e,t){return t=ii({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function hd(e,t,l){return ma(t,e.child,null,l),e=ui(t,t.pendingProps),e.flags|=2,_t(t),t.memoizedState=null,e}function J1(e,t,l){var a=t.pendingProps,n=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(oe){if(a.mode==="hidden")return e=ui(t,a),t.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},Xn(null,e);if(Jc(t),(e=we)?(e=G0(e,Rt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ol!==null?{id:$t,overflow:Ft}:null,retryLane:536870912,hydrationErrors:null},l=Wo(e),l.return=t,t.child=l,We=t,we=null)):e=null,e===null)throw Ml(t);return t.lanes=536870912,null}return ui(t,a)}var u=e.memoizedState;if(u!==null){var i=u.dehydrated;if(Jc(t),n)if(t.flags&256)t.flags&=-257,t=hd(e,t,l);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(r(558));else if(Je||ca(e,t,l,!1),n=(l&e.childLanes)!==0,Je||n){if(Hl.current===null){if(a=Me,a!==null&&(i=Pf(a,l),i!==0&&i!==u.retryLane))throw u.retryLane=i,aa(e,i),gt(a,e,i),hs;Ti()}t=hd(e,t,l)}else e=u.treeContext,we=qt(i.nextSibling),We=t,oe=!0,Al=null,Rt=!1,e!==null&&er(t,e),t=ui(t,a),t.flags|=134221824;return t}return e=ml(e.child,{mode:a.mode,children:a.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Ka(e,t){var l=t.ref;if(l===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(r(284));(e===null||e.ref!==l)&&(t.flags|=4194816)}}function vs(e,t,l,a,n){return sa(t),l=Fc(e,t,l,a,void 0,n),a=Wc(),e!==null&&!Je?(Ic(e,t,n),bl(e,t,n)):(oe&&a&&qu(t),t.flags|=1,$e(e,t,l,n),t.child)}function vd(e,t,l,a,n,u){return sa(t),t.updateQueue=null,l=gr(t,a,l,n),yr(e),a=Wc(),e!==null&&!Je?(Ic(e,t,u),bl(e,t,u)):(oe&&a&&qu(t),t.flags|=1,$e(e,t,l,u),t.child)}function xd(e,t,l,a,n){if(sa(t),t.stateNode===null){var u=Ha,i=l.contextType;typeof i=="object"&&i!==null&&(u=lt(i)),u=new l(a,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=ds,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=a,u.state=t.memoizedState,u.refs={},Qc(t),i=l.contextType,u.context=typeof i=="object"&&i!==null?lt(i):Ha,u.state=t.memoizedState,i=l.getDerivedStateFromProps,typeof i=="function"&&(rs(t,l,i,a),u.state=t.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(i=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),i!==u.state&&ds.enqueueReplaceState(u,u.state,null),qn(t,a,u,n),Hn(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){u=t.stateNode;var s=t.memoizedProps,f=va(l,s);u.props=f;var x=u.context,b=l.contextType;i=Ha,typeof b=="object"&&b!==null&&(i=lt(b));var _=l.getDerivedStateFromProps;b=typeof _=="function"||typeof u.getSnapshotBeforeUpdate=="function",s=t.pendingProps!==s,b||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(s||x!==i)&&ld(t,u,a,i),wl=!1;var h=t.memoizedState;u.state=h,qn(t,a,u,n),Hn(),x=t.memoizedState,s||h!==x||wl?(typeof _=="function"&&(rs(t,l,_,a),x=t.memoizedState),(f=wl||td(t,l,f,a,h,x,i))?(b||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(t.flags|=4194308)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=x),u.props=a,u.state=x,u.context=i,a=f):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{u=t.stateNode,Xc(e,t),i=t.memoizedProps,b=va(l,i),u.props=b,_=t.pendingProps,h=u.context,x=l.contextType,f=Ha,typeof x=="object"&&x!==null&&(f=lt(x)),s=l.getDerivedStateFromProps,(x=typeof s=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(i!==_||h!==f)&&ld(t,u,a,f),wl=!1,h=t.memoizedState,u.state=h,qn(t,a,u,n),Hn();var g=t.memoizedState;i!==_||h!==g||wl||e!==null&&e.dependencies!==null&&Gu(e.dependencies)?(typeof s=="function"&&(rs(t,l,s,a),g=t.memoizedState),(b=wl||td(t,l,b,a,h,g,f)||e!==null&&e.dependencies!==null&&Gu(e.dependencies))?(x||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,g,f),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,g,f)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||i===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||i===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=g),u.props=a,u.state=g,u.context=f,a=b):(typeof u.componentDidUpdate!="function"||i===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||i===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),a=!1)}return u=a,Ka(e,t),a=(t.flags&128)!==0,u||a?(u=t.stateNode,l=a&&typeof l.getDerivedStateFromError!="function"?null:u.render(),t.flags|=1,e!==null&&a?(t.child=ma(t,e.child,null,n),t.child=ma(t,null,l,n)):$e(e,t,l,n),t.memoizedState=u.state,e=t.child):e=bl(e,t,n),e}function yd(e,t,l,a){return ua(),t.flags|=256,$e(e,t,l,a),t.child}var xs={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function ys(e){return{baseLanes:e,cachePool:ir()}}function gs(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=Et),e}function gd(e,t,l){var a=t.pendingProps,n=!1,u=(t.flags&128)!==0,i;if((i=u)||(i=e!==null&&e.memoizedState===null?!1:(nt.current&2)!==0),i&&(n=!0,t.flags&=-129),i=(t.flags&32)!==0,t.flags&=-33,e===null){if(oe){if(n?ql(t):Bl(),(e=we)?(e=G0(e,Rt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ol!==null?{id:$t,overflow:Ft}:null,retryLane:536870912,hydrationErrors:null},l=Wo(e),l.return=t,t.child=l,We=t,we=null)):e=null,e===null)throw Ml(t);return gf(e)?t.lanes=32:t.lanes=536870912,null}return u=a.children,a=a.fallback,n?(Bl(),n=t.mode,u=ii({mode:"hidden",children:u},n),a=na(a,n,l,null),u.return=t,a.return=t,u.sibling=a,t.child=u,a=t.child,a.memoizedState=ys(l),a.childLanes=gs(e,i,l),t.memoizedState=xs,Xn(null,a)):(ql(t),bs(t,u))}var s=e.memoizedState;if(s!==null){var f=s.dehydrated;if(f!==null)return k1(e,t,u,i,a,f,s,l)}return n?(Bl(),n=a.fallback,u=t.mode,s=e.child,f=s.sibling,a=ml(s,{mode:"hidden",children:a.children}),a.subtreeFlags=s.subtreeFlags&1206910976,f!==null?n=ml(f,n):(n=na(n,u,l,null),n.flags|=2),n.return=t,a.return=t,a.sibling=n,t.child=a,Xn(null,a),a=t.child,n=e.child.memoizedState,n===null?n=ys(l):(u=n.cachePool,u!==null?(s=Ze._currentValue,u=u.parent!==s?{parent:s,pool:s}:u):u=ir(),n={baseLanes:n.baseLanes|l,cachePool:u}),a.memoizedState=n,a.childLanes=gs(e,i,l),t.memoizedState=xs,Xn(e.child,a)):(ql(t),l=e.child,e=l.sibling,l=ml(l,{mode:"visible",children:a.children}),l.return=t,l.sibling=null,e!==null&&(i=t.deletions,i===null?(t.deletions=[e],t.flags|=16):i.push(e)),t.child=l,t.memoizedState=null,l)}function bs(e,t){return t=ii({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function ii(e,t){return e=ht(22,e,null,t),e.lanes=0,e}function ci(e,t,l){return ma(t,e.child,null,l),e=bs(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function k1(e,t,l,a,n,u,i,s){if(l)return t.flags&256?(ql(t),t.flags&=-257,ci(e,t,s)):t.memoizedState!==null?(Bl(),t.child=e.child,t.flags|=128,null):(Bl(),u=n.fallback,i=t.mode,n=ii({mode:"visible",children:n.children},i),u=na(u,i,s,null),u.flags|=2,n.return=t,u.return=t,n.sibling=u,t.child=n,ma(t,e.child,null,s),n=t.child,n.memoizedState=ys(s),n.childLanes=gs(e,a,s),t.memoizedState=xs,Xn(null,n));if(ql(t),gf(u)){if(a=u.nextSibling&&u.nextSibling.dataset,a)var f=a.dgst;return a=f,a!==""&&(n=Error(r(419)),n.stack="",n.digest=a,Mn({value:n,source:null,stack:null})),ci(e,t,s)}if(Je||ca(e,t,s,!1),a=(s&e.childLanes)!==0,Je||a){if(Hl.current!==null)return ci(e,t,s);if(a=Me,a!==null&&(n=Pf(a,s),n!==0&&n!==i.retryLane))throw i.retryLane=n,aa(e,n),gt(a,e,n),hs;return yf(u)||Ti(),ci(e,t,s)}return yf(u)?(t.flags|=192,t.child=e.child,null):(e=i.treeContext,we=qt(u.nextSibling),We=t,oe=!0,Al=null,Rt=!1,e!==null&&er(t,e),t=bs(t,n.children),t.flags|=134221824,t)}function bd(e,t,l){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),Yu(e.return,t,l)}function pd(e){for(var t=null;e!==null;){var l=e.alternate;l!==null&&ku(l)===null&&(t=e),e=e.sibling}return t}function si(e,t,l,a,n,u){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:l,tailMode:n,treeForkCount:u}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=a,i.tail=l,i.tailMode=n,i.treeForkCount=u)}function ps(e){var t=e.child;for(e.child=null;t!==null;){var l=t.sibling;t.sibling=e.child,e.child=t,t=l}}function Ss(e,t,l){var a=t.pendingProps,n=a.revealOrder,u=a.tail;a=a.children;var i=nt.current;if(t.flags&128)return Bn(t,i),null;var s=(i&2)!==0;if(s?(i=i&1|2,t.flags|=128):i&=1,Bn(t,i),n==="backwards"&&e!==null?(ps(e),$e(e,t,a,l),ps(e)):$e(e,t,a,l),a=oe?An:0,!s&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&bd(e,l,t);else if(e.tag===19)bd(e,l,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(n){case"backwards":l=pd(t.child),l===null?(n=t.child,t.child=null):(n=l.sibling,l.sibling=null,ps(t)),si(t,!0,n,null,u,a);break;case"unstable_legacy-backwards":for(l=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&&ku(e)===null){t.child=n;break}e=n.sibling,n.sibling=l,l=n,n=e}si(t,!0,l,null,u,a);break;case"together":si(t,!1,null,null,void 0,a);break;case"independent":t.memoizedState=null;break;default:l=pd(t.child),l===null?(n=t.child,t.child=null):(n=l.sibling,l.sibling=null),si(t,!1,n,l,u,a)}return t.child}function Sd(e,t,l){var a=t.pendingProps;return Dl(t,t.type,a.value),$e(e,t,a.children,l),t.child}function bl(e,t,l){if(e!==null&&(t.dependencies=e.dependencies),Xl|=t.lanes,(l&t.childLanes)===0)if(e!==null){if(ca(e,t,l,!1),(l&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(r(153));if(t.child!==null){for(e=t.child,l=ml(e,e.pendingProps),t.child=l,l.return=t;e.sibling!==null;)e=e.sibling,l=l.sibling=ml(e,e.pendingProps),l.return=t;l.sibling=null}return t.child}function Ns(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Gu(e)))}function $1(e,t,l){switch(t.tag){case 3:mu(t,t.stateNode.containerInfo),Dl(t,Ze,e.memoizedState.cache),ua();break;case 27:case 5:$i(t);break;case 4:mu(t,t.stateNode.containerInfo);break;case 10:Dl(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Jc(t),null;break;case 13:var a=t.memoizedState;if(a!==null){if(a.dehydrated!==null)return ql(t),t.flags|=128,null;a=ca(e,t,l,!1);var n=t.child.childLanes;return a||(l&n)!==0?gd(e,t,l):(ql(t),e=bl(e,t,l),e!==null?e.sibling:null)}ql(t);break;case 19:if(t.flags&128)return Ss(e,t,l);if(n=(e.flags&128)!==0,a=(l&t.childLanes)!==0,a||(ca(e,t,l,!1),a=(l&t.childLanes)!==0),n){if(a)return Ss(e,t,l);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),Bn(t,nt.current),a)break;return null;case 22:return t.lanes=0,dd(e,t,l,t.pendingProps);case 24:Dl(t,Ze,e.memoizedState.cache)}return bl(e,t,l)}function Nd(e,t,l){if(e!==null)if(e.memoizedProps!==t.pendingProps)Je=!0;else{if(!Ns(e,l)&&(t.flags&128)===0)return Je=!1,$1(e,t,l);Je=(e.flags&131072)!==0}else Je=!1,oe&&(t.flags&1048576)!==0&&Po(t,An,t.index);switch(t.lanes=0,t.tag){case 16:e:{var a=t.pendingProps;if(e=ra(t.elementType),t.type=e,typeof e=="function")Ac(e)?(a=va(e,a),t.tag=1,t=xd(null,t,e,a,l)):(t.tag=0,t=vs(null,t,e,a,l));else{if(e!=null){var n=e.$$typeof;if(n===A){t.tag=11,t=fd(null,t,e,a,l);break e}else if(n===de){t.tag=14,t=od(null,t,e,a,l);break e}else if(n===je){t.tag=10,t.type=e,t=Sd(null,t,l);break e}}throw t=ae(e)||e,Error(r(306,t,""))}}return t;case 0:return vs(e,t,t.type,t.pendingProps,l);case 1:return a=t.type,n=va(a,t.pendingProps),xd(e,t,a,n,l);case 3:e:{if(mu(t,t.stateNode.containerInfo),e===null)throw Error(r(387));a=t.pendingProps;var u=t.memoizedState;n=u.element,Xc(e,t),qn(t,a,null,l);var i=t.memoizedState;if(a=i.cache,Dl(t,Ze,a),a!==u.cache&&Hc(t,[Ze],l,!0),Hn(),a=i.element,u.isDehydrated)if(u={element:a,isDehydrated:!1,cache:i.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=yd(e,t,a,l);break e}else if(a!==n){n=Ct(Error(r(424)),t),Mn(n),t=yd(e,t,a,l);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(we=qt(e.firstChild),We=t,oe=!0,Al=null,Rt=!0,l=dr(t,null,a,l),t.child=l;l;)l.flags=l.flags&-3|134221824,l=l.sibling}else{if(ua(),a===n){t=bl(e,t,l);break e}$e(e,t,a,l)}t=t.child}return t;case 26:return Ka(e,t),e===null?(l=J0(t.type,null,t.pendingProps,null))?t.memoizedState=l:oe||(t.stateNode=j0(t.type,t.pendingProps,zl.current,t)):t.memoizedState=J0(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return $i(t),e===null&&oe&&(a=t.stateNode=V0(t.type,t.pendingProps,zl.current),We=t,Rt=!0,n=we,Kl(t.type)?(bf=n,we=qt(a.firstChild)):we=n),$e(e,t,t.pendingProps.children,l),Ka(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&oe&&((n=a=we)&&(a=Vv(a,t.type,t.pendingProps,Rt),a!==null?(t.stateNode=a,We=t,we=qt(a.firstChild),Rt=!1,n=!0):n=!1),n||Ml(t)),$i(t),n=t.type,u=t.pendingProps,i=e!==null?e.memoizedProps:null,a=u.children,of(n,u)?a=null:i!==null&&of(n,i)&&(t.flags|=32),t.memoizedState!==null&&(n=Fc(e,t,B1,null,null,l),rn._currentValue=n),Ka(e,t),$e(e,t,a,l),t.child;case 6:return e===null&&oe&&((e=l=we)&&(l=Lv(l,t.pendingProps,Rt),l!==null?(t.stateNode=l,We=t,we=null,e=!0):e=!1),e||Ml(t)),null;case 13:return gd(e,t,l);case 4:return mu(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=ma(t,null,a,l):$e(e,t,a,l),t.child;case 11:return fd(e,t,t.type,t.pendingProps,l);case 7:return a=t.pendingProps,Ka(e,t),$e(e,t,a,l),t.child;case 8:return $e(e,t,t.pendingProps.children,l),t.child;case 12:return $e(e,t,t.pendingProps.children,l),t.child;case 10:return Sd(e,t,l);case 9:return n=t.type._context,a=t.pendingProps.children,sa(t),n=lt(n),a=a(n),t.flags|=1,$e(e,t,a,l),t.child;case 14:return od(e,t,t.type,t.pendingProps,l);case 15:return rd(e,t,t.type,t.pendingProps,l);case 19:return Ss(e,t,l);case 31:return J1(e,t,l);case 22:return dd(e,t,l,t.pendingProps);case 24:return sa(t),a=lt(Ze),e===null?(n=Yc(),n===null&&(n=Me,u=qc(),n.pooledCache=u,u.refCount++,u!==null&&(n.pooledCacheLanes|=l),n=u),t.memoizedState={parent:a,cache:n},Qc(t),Dl(t,Ze,n)):((e.lanes&l)!==0&&(Xc(e,t),qn(t,null,null,l),Hn()),n=e.memoizedState,u=t.memoizedState,n.parent!==a?(n={parent:a,cache:a},t.memoizedState=n,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=n),Dl(t,Ze,a)):(a=u.cache,Dl(t,Ze,a),a!==n.cache&&Hc(t,[Ze],l,!0))),$e(e,t,t.pendingProps.children,l),t.child;case 30:return t.stateNode===null&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),a=t.pendingProps,a.name!=null&&a.name!=="auto"?t.flags|=e===null?18882560:18874368:oe&&qu(t),e!==null&&e.memoizedProps.name!==a.name?t.flags|=4194816:Ka(e,t),$e(e,t,a.children,l),t.child;case 29:throw t.pendingProps}throw Error(r(156,t.tag))}function pl(e){e.flags|=4}function zs(e,t,l,a,n){var u;if((u=(e.mode&32)!==0)&&(u=l===null?W0(t,a):W0(t,a)&&(a.src!==l.src||a.srcSet!==l.srcSet)),u){if(e.flags|=16777216,(n&335544128)===n)if(e.stateNode.complete)e.flags|=8192;else if(a0())e.flags|=8192;else throw da=Lu,Gc}else e.flags&=-16777217}function zd(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!I0(t))if(a0())e.flags|=8192;else throw da=Lu,Gc}function fi(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Ff():536870912,e.lanes|=t,Wa|=t)}function Vn(e,t){if(!oe)switch(e.tailMode){case"visible":break;case"collapsed":for(var l=e.tail,a=null;l!==null;)l.alternate!==null&&(a=l),l=l.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null;break;default:for(t=e.tail,l=null;t!==null;)t.alternate!==null&&(l=t),t=t.sibling;l===null?e.tail=null:l.sibling=null}}function Ue(e){var t=e.alternate!==null&&e.alternate.child===e.child,l=0,a=0;if(t)for(var n=e.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags&1206910976,a|=n.flags&1206910976,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=a,e.childLanes=l,t}function F1(e,t,l){var a=t.pendingProps;switch(Cc(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ue(t),null;case 1:return Ue(t),null;case 3:return l=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),xl(Ze),za(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(Ya(t)?pl(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Uc())),Ue(t),null;case 26:var n=t.type,u=t.memoizedState;return e===null?(pl(t),u!==null?(Ue(t),zd(t,u)):(Ue(t),zs(t,n,null,a,l))):u?u!==e.memoizedState?(pl(t),Ue(t),zd(t,u)):(Ue(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&pl(t),Ue(t),zs(t,n,e,a,l)),null;case 27:if(hu(t),l=zl.current,n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&pl(t);else{if(!a){if(t.stateNode===null)throw Error(r(166));return Ue(t),t.subtreeFlags&=-33554433,null}e=Jt.current,Ya(t)?tr(t):(e=V0(n,a,l),t.stateNode=e,pl(t))}return Ue(t),t.subtreeFlags&=-33554433,null;case 5:if(hu(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&pl(t);else{if(!a){if(t.stateNode===null)throw Error(r(166));return Ue(t),t.subtreeFlags&=-33554433,null}if(u=Jt.current,Ya(t))tr(t);else{var i=eu(zl.current);switch(u){case 1:u=i.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:u=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":u=i.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":u=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":u=i.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof a.is=="string"?i.createElement("select",{is:a.is}):i.createElement("select"),a.multiple?u.multiple=!0:a.size&&(u.size=a.size);break;default:u=typeof a.is=="string"?i.createElement(n,{is:a.is}):i.createElement(n)}}u[tt]=t,u[mt]=a;e:for(i=t.child;i!==null;){if(i.tag===5||i.tag===6)u.appendChild(i.stateNode);else if(i.tag!==4&&i.tag!==27&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===t)break e;for(;i.sibling===null;){if(i.return===null||i.return===t)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}t.stateNode=u;e:switch(it(u,n,a),n){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&pl(t)}}return Ue(t),t.subtreeFlags&=-33554433,zs(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,l),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&pl(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(r(166));if(e=zl.current,Ya(t)){if(e=t.stateNode,l=t.memoizedProps,a=null,n=We,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}e[tt]=t,e=!!(e.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||N0(e.nodeValue,l)),e||Ml(t,!0)}else e=eu(e).createTextNode(a),e[tt]=t,t.stateNode=e}return Ue(t),null;case 31:if(l=t.memoizedState,e===null||e.memoizedState!==null){if(a=Ya(t),l!==null){if(e===null){if(!a)throw Error(r(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(557));e[tt]=t}else ua(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ue(t),e=!1}else l=Uc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return t.flags&256?(_t(t),t):(_t(t),null);if((t.flags&128)!==0)throw Error(r(558))}return Ue(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n=Ya(t),a!==null&&a.dehydrated!==null){if(e===null){if(!n)throw Error(r(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(r(317));n[tt]=t}else ua(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ue(t),n=!1}else n=Uc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(_t(t),t):(_t(t),null)}return _t(t),(t.flags&128)!==0?(t.lanes=l,t):(l=a!==null,e=e!==null&&e.memoizedState!==null,l&&(a=t.child,n=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(n=a.alternate.memoizedState.cachePool.pool),u=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==n&&(a.flags|=2048)),l!==e&&l&&(t.child.flags|=8192),fi(t,t.updateQueue),Ue(t),null);case 4:return za(),e===null&&nf(t.stateNode.containerInfo),t.flags|=67108864,Ue(t),null;case 10:return xl(t.type),Ue(t),null;case 19:if(kc(t),a=t.memoizedState,a===null)return Ue(t),null;if(n=(t.flags&128)!==0,u=a.rendering,u===null)if(n)Vn(a,!1);else{if(Qe!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=ku(e),u!==null){for(t.flags|=128,Vn(a,!1),e=u.updateQueue,t.updateQueue=e,fi(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)Fo(l,e),l=l.sibling;return Bn(t,nt.current&1|2),oe&&hl(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&bt()>Si&&(t.flags|=128,n=!0,Vn(a,!1),t.lanes=4194304)}else{if(!n)if(e=ku(u),e!==null){if(t.flags|=128,n=!0,e=e.updateQueue,t.updateQueue=e,fi(t,e),Vn(a,!0),a.tail===null&&a.tailMode!=="collapsed"&&a.tailMode!=="visible"&&!u.alternate&&!oe)return Ue(t),null}else 2*bt()-a.renderingStartTime>Si&&l!==536870912&&(t.flags|=128,n=!0,Vn(a,!1),t.lanes=4194304);a.isBackwards?(u.sibling=t.child,t.child=u):(e=a.last,e!==null?e.sibling=u:t.child=u,a.last=u)}if(a.tail!==null){e=a.tail;e:{for(l=e;l!==null;){if(l.alternate!==null){l=!1;break e}l=l.sibling}l=!0}return a.rendering=e,a.tail=e.sibling,a.renderingStartTime=bt(),e.sibling=null,u=nt.current,u=n?u&1|2:u&1,a.tailMode==="visible"||a.tailMode==="collapsed"||!l||oe?Bn(t,u):(l=u,Ce(at,t),Ce(nt,l),st===null&&(st=t)),oe&&hl(t,a.treeForkCount),e}return Ue(t),null;case 22:case 23:return _t(t),Kc(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(l&536870912)!==0&&(t.flags&128)===0&&(Ue(t),t.subtreeFlags&6&&(t.flags|=8192)):Ue(t),l=t.updateQueue,l!==null&&fi(t,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==l&&(t.flags|=2048),e!==null&&et(oa),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),xl(Ze),Ue(t),null;case 25:return null;case 30:return t.flags|=33554432,Ue(t),null}throw Error(r(156,t.tag))}function W1(e,t){switch(Cc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return xl(Ze),za(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return hu(t),null;case 31:if(t.memoizedState!==null){if(_t(t),t.alternate===null)throw Error(r(340));ua()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(_t(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));ua()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return kc(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return za(),null;case 10:return xl(t.type),null;case 22:case 23:return _t(t),Kc(),e!==null&&et(oa),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return xl(Ze),null;case 25:return null;default:return null}}function _d(e,t){switch(Cc(t),t.tag){case 3:xl(Ze),za();break;case 26:case 27:case 5:hu(t);break;case 4:za();break;case 31:t.memoizedState!==null&&_t(t);break;case 13:_t(t);break;case 19:kc(t);break;case 10:xl(t.type);break;case 22:case 23:_t(t),Kc(),e!==null&&et(oa);break;case 24:xl(Ze)}}function Ln(e,t){try{var l=t.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var n=a.next;l=n;do{if((l.tag&e)===e){a=void 0;var u=l.create,i=l.inst;a=u(),i.destroy=a}l=l.next}while(l!==n)}}catch(s){_e(t,t.return,s)}}function Yl(e,t,l){try{var a=t.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var u=n.next;a=u;do{if((a.tag&e)===e){var i=a.inst,s=i.destroy;if(s!==void 0){i.destroy=void 0,n=t;var f=l,x=s;try{x()}catch(b){_e(n,f,b)}}}a=a.next}while(a!==u)}}catch(b){_e(t,t.return,b)}}function Td(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{hr(t,l)}catch(a){_e(e,e.return,a)}}}function jd(e,t,l){l.props=va(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(a){_e(e,t,a)}}function Wt(e,t){try{var l=e.ref;if(l!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:var n=e.stateNode,u=rl(e.memoizedProps,n);(n.ref===null||n.ref.name!==u)&&(n.ref=w0(u)),a=n.ref;break;case 7:if(e.stateNode===null){var i=new At(e);S(e.child,!1,Qv,i,void 0,void 0),e.stateNode=i}a=e.stateNode;break;default:a=e.stateNode}typeof l=="function"?e.refCleanup=l(a):l.current=a}}catch(s){_e(e,t,s)}}function ut(e,t){var l=e.ref,a=e.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(n){_e(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(n){_e(e,t,n)}else l.current=null}function oi(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var l=0;l<t.length;l++)Y0(e.stateNode,t[l])}function Ed(e){for(var t=e.return;t!==null&&(Ts(t)&&Y0(e.stateNode,t.stateNode),!_s(t));)t=t.return}function Zn(e){for(var t=e.return;t!==null&&(Ts(t)&&Xv(e.stateNode,t.stateNode),!_s(t));)t=t.return}function _s(e){return e.tag===5||e.tag===3||e.tag===27}function Ts(e){return e&&e.tag===7&&e.stateNode!==null}function js(e){var t=e.type,l=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&a.focus();break e;case"img":l.src?a.src=l.src:l.srcSet&&(a.srcset=l.srcSet)}}catch(n){_e(e,e.return,n)}}function Es(e,t,l){try{var a=e.stateNode;zv(a,e.type,l,t),a[mt]=t}catch(n){_e(e,e.return,n)}}function Od(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Kl(e.type)||e.tag===4}function Os(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Od(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Kl(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function As(e,t,l,a){var n=e.tag;if(n===5||n===6)n=e.stateNode,t?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(n,t):(t=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.appendChild(n),l=l._reactRootContainer,l!=null||t.onclick!==null||(t.onclick=kt)),oi(e,a),be=!0;else if(n!==4&&(n===27&&(oi(e,a),a=null,Kl(e.type)&&(l=e.stateNode,t=null)),e=e.child,e!==null))for(As(e,t,l,a),e=e.sibling;e!==null;)As(e,t,l,a),e=e.sibling}function ri(e,t,l,a){var n=e.tag;if(n===5||n===6)n=e.stateNode,t?l.insertBefore(n,t):l.appendChild(n),oi(e,a),be=!0;else if(n!==4&&(n===27&&(oi(e,a),a=null,Kl(e.type)&&(l=e.stateNode)),e=e.child,e!==null))for(ri(e,t,l,a),e=e.sibling;e!==null;)ri(e,t,l,a),e=e.sibling}function Ad(e){var t=e.stateNode,l=e.memoizedProps;try{for(var a=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);it(t,a,l),t[tt]=e,t[mt]=l}catch(u){_e(e,e.return,u)}}var di=!1,Tt=null;function Md(e){(e.tag===30||(e.subtreeFlags&33554432)!==0)&&(di=!0)}var It=null;function Dd(){var e=It;return It=null,e}var vt=0;function Ja(e,t,l,a,n){return vt=0,Cd(e.child,t,l,a,n)}function Cd(e,t,l,a,n){for(var u=!1;e!==null;){if(e.tag===5){var i=e.stateNode;if(a!==null){var s=mf(i);a.push(s),s.view&&(u=!0)}else u||mf(i).view&&(u=!0);di=!0,D0(i,vt===0?t:t+"_"+vt,l),vt++}else(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&n||Cd(e.child,t,l,a,n)&&(u=!0));e=e.sibling}return u}function Pt(e,t){for(;e!==null;)e.tag===5?C0(e.stateNode,e.memoizedProps):(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&t||Pt(e.child,t)),e=e.sibling}function mi(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if((e.tag!==22||e.memoizedState===null)&&(mi(e),e.tag===30&&(e.flags&18874368)!==0&&e.stateNode.paired)){var t=e.memoizedProps;if(t.name==null||t.name==="auto")throw Error(r(544));var l=t.name;t=dl(t.default,t.share),t!=="none"&&(Ja(e,l,t,null,!1)||Pt(e.child,!1))}e=e.sibling}}function Ms(e,t){if(e.tag===30){var l=e.stateNode,a=e.memoizedProps,n=rl(a,l),u=dl(a.default,l.paired?a.share:a.enter);u!=="none"?Ja(e,n,u,null,!1)?(mi(e),l.paired||t||tn(e,a.onEnter)):Pt(e.child,!1):mi(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)Ms(e,t),e=e.sibling;else mi(e)}function Ds(e){if(Tt!==null&&Tt.size!==0){var t=Tt;if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var l=e.memoizedProps,a=l.name;if(a!=null&&a!=="auto"){var n=t.get(a);if(n!==void 0){var u=dl(l.default,l.share);if(u!=="none"&&(Ja(e,a,u,null,!1)?(u=e.stateNode,n.paired=u,u.paired=n,tn(e,l.onShare)):Pt(e.child,!1)),t.delete(a),t.size===0)break}}}Ds(e)}e=e.sibling}}}function Cs(e){if(e.tag===30){var t=e.memoizedProps,l=rl(t,e.stateNode),a=Tt!==null?Tt.get(l):void 0,n=dl(t.default,a!==void 0?t.share:t.exit);n!=="none"&&(Ja(e,l,n,null,!1)?a!==void 0?(n=e.stateNode,a.paired=n,n.paired=a,Tt.delete(l),tn(e,t.onShare)):tn(e,t.onExit):Pt(e.child,!1)),Tt!==null&&Ds(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)Cs(e),e=e.sibling;else Tt!==null&&Ds(e)}function wd(e){for(e=e.child;e!==null;){if(e.tag===30){var t=e.memoizedProps,l=rl(t,e.stateNode);t=dl(t.default,t.update),e.flags&=-5,t!=="none"&&Ja(e,l,t,e.memoizedState=[],!1)}else(e.subtreeFlags&33554432)!==0&&wd(e);e=e.sibling}}function ws(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var t=e.stateNode;t.paired!==null&&(t.paired=null,Pt(e.child,!1))}ws(e)}e=e.sibling}}function hi(e){if(e.tag===30)e.stateNode.paired=null,Pt(e.child,!1),ws(e);else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)hi(e),e=e.sibling;else ws(e)}function Ud(e){for(e=e.child;e!==null;)e.tag===30?Pt(e.child,!1):(e.subtreeFlags&33554432)!==0&&Ud(e),e=e.sibling}function Us(e,t,l,a,n,u,i){for(var s=!1;t!==null;){if(t.tag===5){var f=t.stateNode;if(u!==null&&vt<u.length){var x=u[vt],b=mf(f);(x.view||b.view)&&(s=!0);var _;if(_=(e.flags&4)===0)if(b.clip)_=!0;else{_=x.rect;var h=b.rect;_=_.y!==h.y||_.x!==h.x||_.height!==h.height||_.width!==h.width}_&&(e.flags|=4),b.abs?b=!x.abs:(x=x.rect,b=b.rect,b=x.height!==b.height||x.width!==b.width),b&&(e.flags|=32)}else e.flags|=32;(e.flags&4)!==0&&D0(f,vt===0?l:l+"_"+vt,n),s&&(e.flags&4)!==0||(It===null&&(It=[]),It.push(f,vt===0?a:a+"_"+vt,t.memoizedProps)),vt++}else(t.tag!==22||t.memoizedState===null)&&(t.tag===30&&i?e.flags|=t.flags&32:Us(e,t.child,l,a,n,u,i)&&(s=!0));t=t.sibling}return s}function Rd(e,t){for(e=e.child;e!==null;){if(e.tag===30){var l=e.memoizedProps,a=e.stateNode,n=rl(l,a),u=dl(l.default,l.update),i;i=e.memoizedState,e.memoizedState=null,a=e;var s=e.child;vt=0,n=Us(a,s,n,n,u,i,!1),(e.flags&4)!==0&&n&&tn(e,l.onUpdate)}else(e.subtreeFlags&33554432)!==0&&Rd(e);e=e.sibling}}var Ie=!1,Se=!1,el=!1,Rs=!1,Hd=typeof WeakSet=="function"?WeakSet:Set,Pe=null,tl=!1,Kn=!1,vi=!1,Hs=!1;function I1(e,t,l){if(e=e.containerInfo,sf=dn,e=Go(e),Nc(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var n=a.getSelection&&a.getSelection();if(n&&n.rangeCount!==0){a=n.anchorNode;var u=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{a.nodeType,i.nodeType}catch{a=null;break e}var s=0,f=-1,x=-1,b=0,_=0,h=e,g=null;t:for(;;){for(var C;h!==a||u!==0&&h.nodeType!==3||(f=s+u),h!==i||n!==0&&h.nodeType!==3||(x=s+n),h.nodeType===3&&(s+=h.nodeValue.length),(C=h.firstChild)!==null;)g=h,h=C;for(;;){if(h===e)break t;if(g===a&&++b===u&&(f=s),g===i&&++_===n&&(x=s),(C=h.nextSibling)!==null)break;h=g,g=h.parentNode}h=C}a=f===-1||x===-1?null:{start:f,end:x}}else a=null}a=a||{start:0,end:0}}else a=null;for(ff={focusedElem:e,selectionRange:a},dn=!1,l=(l&335544064)===l,Pe=t,t=l?9270:1024;Pe!==null;){if(e=Pe,l&&(a=e.deletions,a!==null))for(u=0;u<a.length;u++)l&&Cs(a[u]);if(e.alternate===null&&(e.flags&2)!==0)l&&Md(e),xi(l);else{if(e.tag===22){if(a=e.alternate,e.memoizedState!==null){a!==null&&a.memoizedState===null&&l&&Cs(a),xi(l);continue}else if(a!==null&&a.memoizedState!==null){l&&Md(e),xi(l);continue}}a=e.child,(e.subtreeFlags&t)!==0&&a!==null?(a.return=e,Pe=a):(l&&wd(e),xi(l))}}Tt=null}function xi(e){for(;Pe!==null;){var t=Pe,l=e,a=t.alternate,n=t.flags;switch(t.tag){case 0:case 11:case 15:break;case 1:if((n&1024)!==0&&a!==null){l=void 0,n=a.memoizedProps,a=a.memoizedState;var u=t.stateNode;try{var i=va(t.type,n);l=u.getSnapshotBeforeUpdate(i,a),u.__reactInternalSnapshotBeforeUpdate=l}catch(s){_e(t,t.return,s)}}break;case 3:if((n&1024)!==0){if(a=t.stateNode.containerInfo,l=a.nodeType,l===9)xf(a);else if(l===1)switch(a.nodeName){case"HEAD":case"HTML":case"BODY":xf(a);break;default:a.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:l&&a!==null&&(l=rl(a.memoizedProps,a.stateNode),n=t.memoizedProps,n=dl(n.default,n.update),n!=="none"&&Ja(a,l,n,a.memoizedState=[],!0));break;default:if((n&1024)!==0)throw Error(r(163))}if(a=t.sibling,a!==null){a.return=t.return,Pe=a;break}Pe=t.return}}function qd(e,t,l){var a=l.flags;switch(l.tag){case 0:case 11:case 15:ll(e,l),a&4&&Ln(5,l);break;case 1:if(ll(e,l),a&4)if(e=l.stateNode,t===null)try{e.componentDidMount()}catch(i){_e(l,l.return,i)}else{var n=va(l.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(n,t,e.__reactInternalSnapshotBeforeUpdate)}catch(i){_e(l,l.return,i)}}a&64&&Td(l),a&512&&Wt(l,l.return);break;case 3:if(ll(e,l),a&64&&(e=l.updateQueue,e!==null)){if(t=null,l.child!==null)switch(l.child.tag){case 27:case 5:t=l.child.stateNode;break;case 1:t=l.child.stateNode}try{hr(e,t)}catch(i){_e(l,l.return,i)}}break;case 27:t===null&&a&4&&Ad(l);case 26:case 5:ll(e,l),t===null&&a&4&&js(l),a&512&&Wt(l,l.return);break;case 12:ll(e,l);break;case 31:ll(e,l),a&4&&Qd(e,l);break;case 13:ll(e,l),a&4&&Xd(e,l),a&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=ov.bind(null,l),Zv(e,l))));break;case 22:if(a=l.memoizedState!==null||Ie,!a){var u=t!==null&&t.memoizedState!==null||Se;t=Ie,n=Se,Ie=a,(Se=u)&&!n?(a=2,(l.subtreeFlags&8772)!==0&&(a|=1),Xt(e,l,a)):ll(e,l),Ie=t,Se=n}break;case 30:ll(e,l),a&512&&Wt(l,l.return);break;case 7:a&512&&Wt(l,l.return);default:ll(e,l)}}function qs(e,t){for(e=e.child;e!==null;)Bd(e,t),e=e.sibling}function Bd(e,t){switch(e.tag){case 5:case 26:try{var l=e.stateNode;if(t){var a=l.style;typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none"}else{var n=e.stateNode,u=e.memoizedProps.style,i=u!=null&&u.hasOwnProperty("display")?u.display:null;n.style.display=i==null||typeof i=="boolean"?"":(""+i).trim()}}catch(f){_e(e,e.return,f)}Bs(e,t);break;case 6:try{e.stateNode.nodeValue=t?"":e.memoizedProps,be=!0}catch(f){_e(e,e.return,f)}break;case 18:try{var s=e.stateNode;t?M0(s,!0):M0(e.stateNode,!1)}catch(f){_e(e,e.return,f)}break;case 22:case 23:e.memoizedState===null&&qs(e,t);break;default:qs(e,t)}}function Bs(e,t){if(e.subtreeFlags&67108864)for(e=e.child;e!==null;){e:{var l=e,a=t;switch(l.tag){case 4:Bd(l,a);break e;case 22:l.memoizedState===null&&Bs(l,a);break e;default:Bs(l,a)}}e=e.sibling}}function Yd(e){var t=e.alternate;t!==null&&(e.alternate=null,Yd(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Su(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var He=null,xt=!1;function Gt(e,t,l){for(l=l.child;l!==null;)Gd(e,t,l),l=l.sibling}function Gd(e,t,l){if(pt&&typeof pt.onCommitFiberUnmount=="function")try{pt.onCommitFiberUnmount(vn,l)}catch{}switch(l.tag){case 26:Se||ut(l,t),Gt(e,t,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&!Se&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Se||ut(l,t),Zn(l);var a=He,n=xt;Kl(l.type)&&(He=l.stateNode,xt=!1),Gt(e,t,l),L0(l.stateNode,l.type,l.memoizedProps),He=a,xt=n;break;case 5:Se||ut(l,t),Zn(l);case 6:if(l.tag===6&&Zn(l),a=He,n=xt,He=null,Gt(e,t,l),He=a,xt=n,He!==null)if(xt)try{(He.nodeType===9?He.body:He.nodeName==="HTML"?He.ownerDocument.body:He).removeChild(l.stateNode),be=!0}catch(u){_e(l,t,u)}else try{He.removeChild(l.stateNode),be=!0}catch(u){_e(l,t,u)}break;case 18:He!==null&&(xt?(e=He,A0(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),mn(e)):A0(He,l.stateNode));break;case 4:a=He,n=xt,He=l.stateNode.containerInfo,xt=!0,Gt(e,t,l),He=a,xt=n;break;case 0:case 11:case 14:case 15:Yl(2,l,t),Se||Yl(4,l,t),Gt(e,t,l);break;case 1:Se||(ut(l,t),a=l.stateNode,typeof a.componentWillUnmount=="function"&&jd(l,t,a)),Gt(e,t,l);break;case 21:Gt(e,t,l);break;case 22:Se=(a=Se)||l.memoizedState!==null,Gt(e,t,l),Se=a;break;case 30:ut(l,t),Gt(e,t,l);break;case 7:Se||ut(l,t),Gt(e,t,l);break;default:Gt(e,t,l)}}function Qd(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{mn(e)}catch(l){_e(t,t.return,l)}}}function Xd(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{mn(e)}catch(l){_e(t,t.return,l)}}function P1(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Hd),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Hd),t;default:throw Error(r(435,e.tag))}}function yi(e,t){var l=P1(e);t.forEach(function(a){if(!l.has(a)){l.add(a);var n=rv.bind(null,e,a);a.then(n,n)}})}function rt(e,t,l){var a=t.deletions;if(a!==null)for(var n=0;n<a.length;n++){var u=a[n],i=e,s=t,f=s;e:for(;f!==null;){switch(f.tag){case 27:if(Kl(f.type)){He=f.stateNode,xt=!1;break e}break;case 5:He=f.stateNode,xt=!1;break e;case 3:case 4:He=f.stateNode.containerInfo,xt=!0;break e}f=f.return}if(He===null)throw Error(r(160));Gd(i,s,u),He=null,xt=!1,i=u.alternate,i!==null&&(i.return=null),u.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Vd(t,e,l),t=t.sibling}var Qt=null;function Vd(e,t,l){var a=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(n&4&&(a=e.updateQueue,a=a!==null?a.events:null,a!==null))for(var u=0;u<a.length;u++){var i=a[u];i.ref.impl=i.nextImpl}rt(t,e,l),dt(e),n&4&&(Yl(3,e,e.return),Ln(3,e),Yl(5,e,e.return));break;case 1:rt(t,e,l),dt(e),n&512&&(Se||a===null||ut(a,a.return)),n&64&&Ie&&(e=e.updateQueue,e!==null&&(t=e.callbacks,t!==null&&(l=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=l===null?t:l.concat(t))));break;case 26:if(u=Qt,rt(t,e,l),dt(e),n&512&&(Se||a===null||ut(a,a.return)),n&4)if(n=a!==null?a.memoizedState:null,l=e.memoizedState,a===null)if(l===null)if(e.stateNode===null)if(Ie)e.stateNode=j0(e.type,e.memoizedProps,t.containerInfo,e);else{e:{t=e.type,l=e.memoizedProps,n=u.ownerDocument||u;t:switch(t){case"title":a=n.getElementsByTagName("title")[0],(!a||a[gn]||a[tt]||a.namespaceURI==="http://www.w3.org/2000/svg"||a.hasAttribute("itemprop"))&&(a=n.createElement(t),n.head.insertBefore(a,n.querySelector("head > title"))),it(a,t,l),a[tt]=e,Fe(a),t=a;break e;case"link":if(u=F0("link","href",n).get(t+(l.href||""))){for(i=0;i<u.length;i++)if(a=u[i],a.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&a.getAttribute("rel")===(l.rel==null?null:l.rel)&&a.getAttribute("title")===(l.title==null?null:l.title)&&a.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){u.splice(i,1);break t}}a=n.createElement(t),it(a,t,l),n.head.appendChild(a);break;case"meta":if(u=F0("meta","content",n).get(t+(l.content||""))){for(i=0;i<u.length;i++)if(a=u[i],a.getAttribute("content")===(l.content==null?null:""+l.content)&&a.getAttribute("name")===(l.name==null?null:l.name)&&a.getAttribute("property")===(l.property==null?null:l.property)&&a.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&a.getAttribute("charset")===(l.charSet==null?null:l.charSet)){u.splice(i,1);break t}}a=n.createElement(t),it(a,t,l),n.head.appendChild(a);break;default:throw Error(r(468,t))}a[tt]=e,Fe(a),t=a}e.stateNode=t}else Ie||zf(u,e.type,e.stateNode);else e.stateNode=$0(u,l,e.memoizedProps);else n!==l?(n===null?(t=a.stateNode,t===null||Se||t.parentNode.removeChild(t)):n.count--,l===null?Ie||zf(u,e.type,e.stateNode):$0(u,l,e.memoizedProps)):l===null&&e.stateNode!==null&&Es(e,e.memoizedProps,a.memoizedProps);break;case 27:rt(t,e,l),dt(e),n&512&&(Se||a===null||ut(a,a.return)),a!==null&&n&4&&Es(e,e.memoizedProps,a.memoizedProps);break;case 5:if(u=el,el=!1,rt(t,e,l),el=u,dt(e),n&512&&(Se||a===null||ut(a,a.return)),e.flags&32){t=e.stateNode;try{Aa(t,""),be=!0}catch(b){_e(e,e.return,b)}}n&4&&e.stateNode!=null&&(t=e.memoizedProps,Es(e,t,a!==null?a.memoizedProps:t)),n&1024&&(Rs=!0);break;case 6:if(rt(t,e,l),dt(e),n&4){if(e.stateNode===null)throw Error(r(162));t=e.memoizedProps,l=e.stateNode;try{l.nodeValue=t,be=!0}catch(b){_e(e,e.return,b)}}break;case 3:if(be=!1,Ci=null,u=Qt,Qt=tu(t.containerInfo),rt(t,e,l),Qt=u,dt(e),n&4&&a!==null&&a.memoizedState.isDehydrated)try{mn(t.containerInfo)}catch(b){_e(e,e.return,b)}Rs&&(Rs=!1,Ld(e)),be=!1;break;case 4:n=el,el=Ie,a=fo(),u=Qt,Qt=tu(e.stateNode.containerInfo),rt(t,e,l),dt(e),Qt=u,be&&Kn&&(vi=!0),be=a,el=n;break;case 12:rt(t,e,l),dt(e);break;case 31:rt(t,e,l),dt(e),n&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,yi(e,t)));break;case 13:rt(t,e,l),dt(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(pi=bt()),n&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,yi(e,t)));break;case 22:u=e.memoizedState!==null,i=a!==null&&a.memoizedState!==null;var s=Ie,f=Se,x=el;Ie=s||u,el=x||u,Se=f||i,rt(t,e,l),Se=f,el=x,Ie=s,dt(e),n&8192&&(t=e.stateNode,t._visibility=u?t._visibility&-2:t._visibility|1,!u||a===null||i||Ie||Se||(t=i||Se,l=Ie,a=Se,Ie=u||Ie,Se=t,Gl(e,2),Ie=l,Se=a),!u&&el||qs(e,u)),n&4&&(t=e.updateQueue,t!==null&&(l=t.retryQueue,l!==null&&(t.retryQueue=null,yi(e,l))));break;case 19:rt(t,e,l),dt(e),n&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,yi(e,t)));break;case 30:n&512&&(Se||a===null||ut(a,a.return)),n=fo(),u=Kn,i=(l&335544064)===l,s=e.memoizedProps,Kn=i&&dl(s.default,s.update)!=="none",rt(t,e,l),dt(e),i&&a!==null&&be&&(e.flags|=4),Kn=u,be=n;break;case 21:break;case 7:n&512&&(Se||a===null||ut(a,a.return)),a&&a.stateNode!==null&&(a.stateNode._fragmentFiber=e);default:rt(t,e,l),dt(e)}}function dt(e){var t=e.flags;if(t&2){try{for(var l,a=e.return;a!==null;){if(Od(a)){l=a;break}a=a.return}a=null;for(var n=e.return;n!==null;){if(Ts(n)){var u=n.stateNode;a===null?a=[u]:a.push(u)}if(_s(n))break;n=n.return}var i=a;if(l==null)throw Error(r(160));switch(l.tag){case 27:var s=l.stateNode,f=Os(e);ri(e,f,s,i);break;case 5:var x=l.stateNode;l.flags&32&&(Aa(x,""),l.flags&=-33);var b=Os(e);ri(e,b,x,i);break;case 3:case 4:var _=l.stateNode.containerInfo,h=Os(e);As(e,h,_,i);break;default:throw Error(r(161))}}catch(g){_e(e,e.return,g)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Ld(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Ld(t),t.tag===5&&t.flags&1024&&(t=t.stateNode,dn=!0,t.reset(),dn=!1),e=e.sibling}}function ka(e,t){if(t.subtreeFlags&9270)for(t=t.child;t!==null;)Zd(t,e),t=t.sibling;else Rd(t)}function Zd(e,t){var l=e.alternate;if(l===null)Ms(e,!1);else switch(e.tag){case 3:if(Hs=tl=!1,Dd(),ka(t,e),!tl&&!vi){if(e=It,e!==null)for(var a=0;a<e.length;a+=3){l=e[a];var n=e[a+1];C0(l,e[a+2]),l=l.ownerDocument.documentElement,l!==null&&l.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+n+")"})}e=t.containerInfo,e=e.nodeType===9?e.documentElement:e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===""&&(e.style.viewTransitionName="none",e.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),Hs=!0}It=null;break;case 5:ka(t,e);break;case 4:a=tl,tl=!1,ka(t,e),tl&&(vi=!0),tl=a;break;case 22:e.memoizedState===null&&(l.memoizedState!==null?Ms(e,!1):ka(t,e));break;case 30:a=tl,n=Dd(),tl=!1,ka(t,e),tl&&(e.flags|=4);var u=e.memoizedProps,i=e.stateNode;t=rl(u,i),i=rl(l.memoizedProps,i);var s=dl(u.default,u.update);s==="none"?t=!1:(u=l.memoizedState,l.memoizedState=null,l=e.child,vt=0,t=Us(e,l,t,i,s,u,!0),vt!==(u===null?0:u.length)&&(e.flags|=32)),(e.flags&4)!==0&&t?(tn(e,e.memoizedProps.onUpdate),It=n):n!==null&&(n.push.apply(n,It),It=n),tl=(e.flags&32)!==0?!0:a;break;default:ka(t,e)}}function ll(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)qd(e,t.alternate,t),t=t.sibling}function Gl(e,t){for(e=e.child;e!==null;){var l=e,a=t;switch(l.tag){case 0:case 11:case 14:case 15:Yl(4,l,l.return),Gl(l,a);break;case 1:ut(l,l.return);var n=l.stateNode;typeof n.componentWillUnmount=="function"&&jd(l,l.return,n),Gl(l,a);break;case 27:(a&2)!==0&&L0(l.stateNode,l.type,l.memoizedProps);case 5:ut(l,l.return),l.tag!==5&&l.tag!==27||Zn(l),Gl(l,a);break;case 6:Zn(l);break;case 26:ut(l,l.return),n=l.stateNode,l.memoizedState!==null||n===null||Se||n.parentNode.removeChild(n),Gl(l,a);break;case 22:l.memoizedState===null&&Gl(l,a);break;case 30:ut(l,l.return),Gl(l,a);break;case 7:ut(l,l.return);default:Gl(l,a)}e=e.sibling}}function Xt(e,t,l){for(l=(t.subtreeFlags&8772)!==0?l:l&-2,t=t.child;t!==null;){var a=t.alternate,n=e,u=t,i=u.flags,s=(l&1)!==0;switch(u.tag){case 0:case 11:case 15:Xt(n,u,l),Ln(4,u);break;case 1:if(Xt(n,u,l),a=u,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(b){_e(a,a.return,b)}if(a=u,n=a.updateQueue,n!==null){var f=a.stateNode;try{var x=n.shared.hiddenCallbacks;if(x!==null)for(n.shared.hiddenCallbacks=null,n=0;n<x.length;n++)mr(x[n],f)}catch(b){_e(a,a.return,b)}}s&&i&64&&Td(u),Wt(u,u.return);break;case 27:(l&2)!==0&&Ad(u);case 5:u.tag!==5&&u.tag!==27||Ed(u),Xt(n,u,l),s&&a===null&&i&4&&js(u),Wt(u,u.return);break;case 6:Ed(u);break;case 26:f=u.stateNode,u.memoizedState!==null||f===null||Ie||zf(tu(f.ownerDocument),u.type,f),Xt(n,u,l),s&&a===null&&i&4&&js(u),Wt(u,u.return);break;case 12:Xt(n,u,l);break;case 31:Xt(n,u,l),s&&i&4&&Qd(n,u);break;case 13:Xt(n,u,l),s&&i&4&&Xd(n,u);break;case 22:u.memoizedState===null&&Xt(n,u,l),Wt(u,u.return);break;case 30:Xt(n,u,l),Wt(u,u.return);break;case 7:Wt(u,u.return);default:Xt(n,u,l)}t=t.sibling}}function Ys(e,t){var l=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==l&&(e!=null&&e.refCount++,l!=null&&Dn(l))}function Gs(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Dn(e))}function Ht(e,t,l,a){var n=(l&335544064)===l;if(t.subtreeFlags&(n?10262:10256))for(t=t.child;t!==null;)Kd(e,t,l,a),t=t.sibling;else n&&Ud(t)}function Kd(e,t,l,a){var n=(l&335544064)===l;n&&t.alternate===null&&t.return!==null&&t.return.alternate!==null&&hi(t);var u=t.flags;switch(t.tag){case 0:case 11:case 15:Ht(e,t,l,a),u&2048&&Ln(9,t);break;case 1:Ht(e,t,l,a);break;case 3:Ht(e,t,l,a),n&&Hs&&(e=e.containerInfo,e=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,e.style.viewTransitionName==="root"&&(e.style.viewTransitionName=""),e=e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName==="none"&&(e.style.viewTransitionName="")),u&2048&&(u=null,t.alternate!==null&&(u=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==u&&(t.refCount++,u!=null&&Dn(u)));break;case 12:if(u&2048){Ht(e,t,l,a),u=t.stateNode;try{var i=t.memoizedProps,s=i.id,f=i.onPostCommit;typeof f=="function"&&f(s,t.alternate===null?"mount":"update",u.passiveEffectDuration,-0)}catch(x){_e(t,t.return,x)}}else Ht(e,t,l,a);break;case 31:Ht(e,t,l,a);break;case 13:Ht(e,t,l,a);break;case 23:break;case 22:i=t.stateNode,s=t.alternate,t.memoizedState!==null?(n&&s!==null&&s.memoizedState===null&&hi(s),i._visibility&2?Ht(e,t,l,a):Jn(e,t)):(n&&s!==null&&s.memoizedState!==null&&hi(t),i._visibility&2?Ht(e,t,l,a):(i._visibility|=2,$a(e,t,l,a,(t.subtreeFlags&10256)!==0||!1))),u&2048&&Ys(s,t);break;case 24:Ht(e,t,l,a),u&2048&&Gs(t.alternate,t);break;case 30:n&&(u=t.alternate,u!==null&&(Pt(u.child,!0),Pt(t.child,!0))),Ht(e,t,l,a);break;default:Ht(e,t,l,a)}}function $a(e,t,l,a,n){for(n=n&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var u=e,i=t,s=l,f=a,x=i.flags;switch(i.tag){case 0:case 11:case 15:$a(u,i,s,f,n),Ln(8,i);break;case 23:break;case 22:var b=i.stateNode;i.memoizedState!==null?b._visibility&2?$a(u,i,s,f,n):Jn(u,i):(b._visibility|=2,$a(u,i,s,f,n)),n&&x&2048&&Ys(i.alternate,i);break;case 24:$a(u,i,s,f,n),n&&x&2048&&Gs(i.alternate,i);break;default:$a(u,i,s,f,n)}t=t.sibling}}function Jn(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var l=e,a=t,n=a.flags;switch(a.tag){case 22:Jn(l,a),n&2048&&Ys(a.alternate,a);break;case 24:Jn(l,a),n&2048&&Gs(a.alternate,a);break;default:Jn(l,a)}t=t.sibling}}var xa=8192;function ya(e,t,l){if(e.subtreeFlags&xa)for(e=e.child;e!==null;)Jd(e,t,l),e=e.sibling}function Jd(e,t,l){switch(e.tag){case 26:ya(e,t,l),e.flags&xa&&(e.memoizedState!==null?ux(l,Qt,e.memoizedState,e.memoizedProps):(e=e.stateNode,(t&335544128)===t&&em(l,e)));break;case 5:ya(e,t,l),e.flags&xa&&(e=e.stateNode,(t&335544128)===t&&em(l,e));break;case 3:case 4:var a=Qt;Qt=tu(e.stateNode.containerInfo),ya(e,t,l),Qt=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=xa,xa=16777216,ya(e,t,l),xa=a):ya(e,t,l));break;case 30:if((e.flags&xa)!==0&&(a=e.memoizedProps.name,a!=null&&a!=="auto")){var n=e.stateNode;n.paired=null,Tt===null&&(Tt=new Map),Tt.set(a,n)}ya(e,t,l);break;default:ya(e,t,l)}}function kd(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function kn(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var a=t[l];Pe=a,Fd(a,e)}kd(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)$d(e),e=e.sibling}function $d(e){switch(e.tag){case 0:case 11:case 15:kn(e),e.flags&2048&&Yl(9,e,e.return);break;case 3:kn(e);break;case 12:kn(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,gi(e)):kn(e);break;default:kn(e)}}function gi(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var a=t[l];Pe=a,Fd(a,e)}kd(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Yl(8,t,t.return),gi(t);break;case 22:l=t.stateNode,l._visibility&2&&(l._visibility&=-3,gi(t));break;default:gi(t)}e=e.sibling}}function Fd(e,t){for(;Pe!==null;){var l=Pe;switch(l.tag){case 0:case 11:case 15:Yl(8,l,t);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var a=l.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:Dn(l.memoizedState.cache)}if(a=l.child,a!==null)a.return=l,Pe=a;else e:for(l=e;Pe!==null;){a=Pe;var n=a.sibling,u=a.return;if(Yd(a),a===l){Pe=null;break e}if(n!==null){n.return=u,Pe=n;break e}Pe=u}}}var ev={getCacheForType:function(e){var t=lt(Ze),l=t.data.get(e);return l===void 0&&(l=e(),t.data.set(e,l)),l},cacheSignal:function(){return lt(Ze).controller.signal}},tv=typeof WeakMap=="function"?WeakMap:Map,pe=0,Me=null,me=null,xe=0,ze=0,jt=null,Ql=!1,Fa=!1,Qs=!1,Sl=0,Qe=0,Xl=0,ga=0,bi=0,Et=0,Wa=0,$n=null,yt=null,Xs=!1,pi=0,Wd=0,Si=1/0,Ni=null,Vl=null,Be=0,Vt=null,ba=null,al=0,Vs=0,Ls=null,Id=null,Ia=null,Pa=null,en=null,Fn=0,zi=null;function Ot(){return(pe&2)!==0&&xe!==0?xe&-xe:B.T!==null?ef():eo()}function Pd(){if(Et===0)if((xe&536870912)===0||oe){var e=yu;yu<<=1,(yu&3932160)===0&&(yu=262144),Et=e}else Et=536870912;return e=at.current,e!==null&&(e.flags|=32),Et}function tn(e,t){if(t!=null){var l=e.stateNode,a=l.ref;a===null&&(a=l.ref=w0(rl(e.memoizedProps,l))),Pa===null&&(Pa=[]),Pa.push(t.bind(null,a))}}function gt(e,t,l){(e===Me&&(ze===2||ze===9)||e.cancelPendingCommit!==null)&&(ln(e,0),Ll(e,xe,Et,!1)),yn(e,l),((pe&2)===0||e!==Me)&&(e===Me&&((pe&2)===0&&(ga|=l),Qe===4&&Ll(e,xe,Et,!1)),nl(e))}function e0(e,t,l){if((pe&6)!==0)throw Error(r(327));var a=!l&&(t&127)===0&&(t&e.expiredLanes)===0||xn(e,t),n=a?nv(e,t):Ks(e,t,!0),u=a;do{if(n===0){Fa&&!a&&Ll(e,t,0,!1);break}else{if(l=e.current.alternate,u&&!lv(l)){n=Ks(e,t,!1),u=!1;continue}if(n===2){if(u=t,e.errorRecoveryDisabledLanes&u)var i=0;else i=e.pendingLanes&-536870913,i=i!==0?i:i&536870912?536870912:0;if(i!==0){t=i;e:{var s=e;n=$n;var f=s.current.memoizedState.isDehydrated;if(f&&(ln(s,i).flags|=256),i=Ks(s,i,!1),i!==2&&i!==6){if(Qs&&!f){s.errorRecoveryDisabledLanes|=u,ga|=u,n=4;break e}u=yt,yt=n,u!==null&&(yt===null?yt=u:yt.push.apply(yt,u))}n=i}if(u=!1,n!==2)continue}}if(n===1){ln(e,0),Ll(e,t,0,!0);break}e:{switch(a=e,u=n,u){case 0:case 1:throw Error(r(345));case 4:if((t&4194048)!==t&&(t&62914560)!==t)break;case 6:Ll(a,t,Et,!Ql);break e;case 2:yt=null;break;case 3:case 5:break;default:throw Error(r(329))}if((t&62914560)===t&&(n=pi+300-bt(),10<n)){if(Ll(a,t,Et,!Ql),bu(a,0,!0)!==0)break e;al=t,a.timeoutHandle=df(t0.bind(null,a,l,yt,Ni,Xs,t,Et,ga,Wa,Ql,u,"Throttled",-0,0),n);break e}t0(a,l,yt,Ni,Xs,t,Et,ga,Wa,Ql,u,null,-0,0)}}break}while(!0);nl(e)}function t0(e,t,l,a,n,u,i,s,f,x,b,_,h,g){e.timeoutHandle=-1;var C=t.subtreeFlags,Y=(u&335544064)===u;if(_=null,(Y||C&8192||(C&16785408)===16785408)&&(_={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:kt},Tt=null,Jd(t,u,_),Y&&(C=_,Y=e.containerInfo,Y=(Y.nodeType===9?Y:Y.ownerDocument).__reactViewTransition,Y!=null&&(C.count++,C.waitingForViewTransition=!0,C=nu.bind(C),Y.finished.then(C,C))),C=(u&62914560)===u?pi-bt():(u&4194048)===u?Wd-bt():0,C=ix(_,C),C!==null)){al=u,e.cancelPendingCommit=C(f0.bind(null,e,t,u,l,a,n,i,s,f,x,b,_,null,h,g)),Ll(e,u,i,!x);return}f0(e,t,u,l,a,n,i,s,f,x,b,_)}function lv(e){for(var t=e;;){var l=t.tag;if((l===0||l===11||l===15)&&t.flags&16384&&(l=t.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var a=0;a<l.length;a++){var n=l[a],u=n.getSnapshot;n=n.value;try{if(!zt(u(),n))return!1}catch{return!1}}if(l=t.child,t.subtreeFlags&16384&&l!==null)l.return=t,t=l;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Ll(e,t,l,a){t=$f(e,t),t&=~bi,t&=~ga,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var n=t;0<n;){var u=31-St(n),i=1<<u;a[u]=-1,n&=~i}l!==0&&Wf(e,l,t)}function _i(){return(pe&6)===0?(Wn(0),!1):!0}function Zs(){if(me!==null){if(ze===0)var e=me.return;else e=me,vl=ia=null,Pc(e),Xa=null,Un=0,e=me;for(;e!==null;)_d(e.alternate,e),e=e.return;me=null}}function ln(e,t){var l=e.timeoutHandle;return l!==-1&&(e.timeoutHandle=-1,jv(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),al=0,Zs(),Me=e,me=l=ml(e.current,null),xe=t,ze=0,jt=null,Ql=!1,Fa=xn(e,t),Qs=!1,Wa=Et=bi=ga=Xl=Qe=0,yt=$n=null,Xs=!1,Sl=$f(e,t),Cu(),l}function l0(e,t){ne=null,B.H=ai,t===Qa||t===Vu?(t=fr(),ze=3):t===Gc?(t=fr(),ze=4):ze=t===hs?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,jt=t,me===null&&(Qe=1,ni(e,Ct(t,e.current)))}function a0(){var e=at.current;return e===null?!0:(xe&4194048)===xe?st===null:(xe&62914560)===xe||(xe&536870912)!==0?e===st:!1}function n0(){var e=B.H;return B.H=ai,e===null?ai:e}function u0(){var e=B.A;return B.A=ev,e}function Ti(){Qe=4,Ql||(xe&4194048)!==xe&&at.current!==null||(Fa=!0),(Xl&134217727)===0&&(ga&134217727)===0||Me===null||Ll(Me,xe,Et,!1)}function Ks(e,t,l){var a=pe;pe|=2;var n=n0(),u=u0();(Me!==e||xe!==t)&&(Ni=null,ln(e,t)),t=!1;var i=Qe;e:do try{if(ze!==0&&me!==null){var s=me,f=jt;switch(ze){case 8:Zs(),i=6;break e;case 3:case 2:case 9:case 6:at.current===null&&(t=!0);var x=ze;if(ze=0,jt=null,an(e,s,f,x),l&&Fa){i=0;break e}break;default:x=ze,ze=0,jt=null,an(e,s,f,x)}}av(),i=Qe;break}catch(b){l0(e,b)}while(!0);return t&&e.shellSuspendCounter++,vl=ia=null,pe=a,B.H=n,B.A=u,me===null&&(Me=null,xe=0,Cu()),i}function av(){for(;me!==null;)i0(me)}function nv(e,t){var l=pe;pe|=2;var a=n0(),n=u0();Me!==e||xe!==t?(Ni=null,Si=bt()+500,ln(e,t)):Fa=xn(e,t);e:do try{if(ze!==0&&me!==null){t=me;var u=jt;t:switch(ze){case 1:ze=0,jt=null,an(e,t,u,1);break;case 2:case 9:if(cr(u)){ze=0,jt=null,c0(t);break}t=function(){ze!==2&&ze!==9||Me!==e||(ze=7),nl(e)},u.then(t,t);break e;case 3:ze=7;break e;case 4:ze=5;break e;case 7:cr(u)?(ze=0,jt=null,c0(t)):(ze=0,jt=null,an(e,t,u,7));break;case 5:var i=null;switch(me.tag){case 26:i=me.memoizedState;case 5:case 27:var s=me;if(i?I0(i):s.stateNode.complete){ze=0,jt=null;var f=s.sibling;if(f!==null)me=f;else{var x=s.return;x!==null?(me=x,ji(x)):me=null}break t}}ze=0,jt=null,an(e,t,u,5);break;case 6:ze=0,jt=null,an(e,t,u,6);break;case 8:Zs(),Qe=6;break e;default:throw Error(r(462))}}uv();break}catch(b){l0(e,b)}while(!0);return vl=ia=null,B.H=a,B.A=n,pe=l,me!==null?0:(Me=null,xe=0,Cu(),Qe)}function uv(){for(;me!==null&&!Nh();)i0(me)}function i0(e){var t=Nd(e.alternate,e,Sl);e.memoizedProps=e.pendingProps,t===null?ji(e):me=t}function c0(e){var t=e,l=t.alternate;switch(t.tag){case 15:case 0:t=vd(l,t,t.pendingProps,t.type,void 0,xe);break;case 11:t=vd(l,t,t.pendingProps,t.type.render,t.ref,xe);break;case 5:Pc(t);var a=t;a===We&&(oe?(Bu(a),a.tag===5&&a.stateNode!=null&&(we=a.stateNode)):(Bu(a),oe=!0));default:_d(l,t),t=me=Fo(t,Sl),t=Nd(l,t,Sl)}e.memoizedProps=e.pendingProps,t===null?ji(e):me=t}function an(e,t,l,a){vl=ia=null,Pc(t),Xa=null,Un=0;var n=t.return;try{if(K1(e,n,t,l,xe)){Qe=1,ni(e,Ct(l,e.current)),me=null;return}}catch(u){if(n!==null)throw me=n,u;Qe=1,ni(e,Ct(l,e.current)),me=null;return}t.flags&32768?(oe||a===1?e=!0:Fa||(xe&536870912)!==0?e=!1:(Ql=e=!0,(a===2||a===9||a===3||a===6)&&(a=at.current,a!==null&&a.tag===13&&(a.flags|=16384))),s0(t,e)):ji(t)}function ji(e){var t=e;do{if((t.flags&32768)!==0){s0(t,Ql);return}e=t.return;var l=F1(t.alternate,t,Sl);if(l!==null){me=l;return}if(t=t.sibling,t!==null){me=t;return}me=t=e}while(t!==null);Qe===0&&(Qe=5)}function s0(e,t){do{var l=W1(e.alternate,e);if(l!==null){l.flags&=32767,me=l;return}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!t&&(e=e.sibling,e!==null)){me=e;return}me=e=l}while(e!==null);Qe=6,me=null}function f0(e,t,l,a,n,u,i,s,f,x,b,_){e.cancelPendingCommit=null;do Ei();while(Be!==0);if((pe&6)!==0)throw Error(r(327));if(t!==null){if(t===e.current)throw Error(r(177));e===Me&&(me=Me=null,xe=0),ba=t,Vt=e,al=l,Ls=n,Id=a,iv(e,t,l,i,s,f,_)}}function iv(e,t,l,a,n,u,i){var s=t.lanes|t.childLanes;if(Vs=s,s|=Ec,Ch(e,l,s,a,n,u),Pa=null,(l&335544064)===l?(en=U1(e),a=10262):(en=null,a=10256),(t.subtreeFlags&a)!==0||(t.flags&a)!==0?(e.callbackNode=null,e.callbackPriority=0,dv(vu,function(){return Fs(),null})):(e.callbackNode=null,e.callbackPriority=0),di=!1,a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=B.T,B.T=null,n=ee.p,ee.p=2,u=pe,pe|=4;try{I1(e,t,l)}finally{pe=u,ee.p=n,B.T=a}}Be=1,di?Ia=Cv(i,e.containerInfo,en,Js,ks,sv,$s,Fs,cv):(Js(),ks(),$s())}function cv(e){if(Be!==0){var t=Vt.onRecoverableError;t(e,{componentStack:null})}}function sv(){Be===3&&(Be=0,Zd(ba,Vt),Be=4)}function Js(){if(Be===1){Be=0;var e=Vt,t=ba,l=al,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=B.T,B.T=null;var n=ee.p;ee.p=2;var u=pe;pe|=4;try{Kn=vi=!1,Vd(t,e,l),l=ff;var i=Go(e.containerInfo),s=l.focusedElem,f=l.selectionRange;if(i!==s&&s&&s.ownerDocument&&Yo(s.ownerDocument.documentElement,s)){if(f!==null&&Nc(s)){var x=f.start,b=f.end;if(b===void 0&&(b=x),"selectionStart"in s)s.selectionStart=x,s.selectionEnd=Math.min(b,s.value.length);else{var _=s.ownerDocument||document,h=_&&_.defaultView||window;if(h.getSelection){var g=h.getSelection(),C=s.textContent.length,Y=Math.min(f.start,C),ue=f.end===void 0?Y:Math.min(f.end,C);!g.extend&&Y>ue&&(i=ue,ue=Y,Y=i);var v=Bo(s,Y),d=Bo(s,ue);if(v&&d&&(g.rangeCount!==1||g.anchorNode!==v.node||g.anchorOffset!==v.offset||g.focusNode!==d.node||g.focusOffset!==d.offset)){var y=_.createRange();y.setStart(v.node,v.offset),g.removeAllRanges(),Y>ue?(g.addRange(y),g.extend(d.node,d.offset)):(y.setEnd(d.node,d.offset),g.addRange(y))}}}}for(_=[],g=s;g=g.parentNode;)g.nodeType===1&&_.push({element:g,left:g.scrollLeft,top:g.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<_.length;s++){var z=_[s];z.element.scrollLeft=z.left,z.element.scrollTop=z.top}}dn=!!sf,ff=sf=null}finally{pe=u,ee.p=n,B.T=a}}e.current=t,Be=2}}function ks(){if(Be===2){Be=0;var e=Vt,t=ba,l=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||l){l=B.T,B.T=null;var a=ee.p;ee.p=2;var n=pe;pe|=4;try{qd(e,t.alternate,t)}finally{pe=n,ee.p=a,B.T=l}}Be=3}}function $s(){if(Be===4||Be===3){Be=0;var e=Ia;Ia=null,zh();var t=Vt,l=ba,a=al,n=Id,u=(a&335544064)===a?10262:10256;if((l.subtreeFlags&u)!==0||(l.flags&u)!==0?Be=5:(Be=0,ba=Vt=null,o0(t,t.pendingLanes)),u=t.pendingLanes,u===0&&(Vl=null),nc(a),l=l.stateNode,pt&&typeof pt.onCommitFiberRoot=="function")try{pt.onCommitFiberRoot(vn,l,void 0,(l.current.flags&128)===128)}catch{}if(n!==null){l=B.T,u=ee.p,ee.p=2,B.T=null;try{for(var i=t.onRecoverableError,s=0;s<n.length;s++){var f=n[s];i(f.value,{componentStack:f.stack})}}finally{B.T=l,ee.p=u}}if(n=Pa,i=en,en=null,n!==null&&(Pa=null,i===null&&(i=[]),e!==null))for(f=0;f<n.length;f++)l=(0,n[f])(i),l!==void 0&&e.finished.finally(l);(al&3)!==0&&Ei(),nl(t),u=t.pendingLanes,(a&261930)!==0&&(u&42)!==0?t===zi?Fn++:(Fn=0,zi=t):(Fn=0,zi=null),Wn(0)}}function o0(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Dn(t)))}function Ei(){return Ia!==null&&(Ia.skipTransition(),Ia=null),Js(),ks(),$s(),Fs()}function Fs(){if(Be!==5)return!1;var e=Vt,t=Vs;Vs=0;var l=nc(al),a=B.T,n=ee.p;try{ee.p=32>l?32:l,B.T=null,l=Ls,Ls=null;var u=Vt,i=al;if(Be=0,ba=Vt=null,al=0,(pe&6)!==0)throw Error(r(331));var s=pe;if(pe|=4,$d(u.current),Kd(u,u.current,i,l),pe=s,Wn(0,!1),pt&&typeof pt.onPostCommitFiberRoot=="function")try{pt.onPostCommitFiberRoot(vn,u)}catch{}return!0}finally{ee.p=n,B.T=a,o0(e,t)}}function r0(e,t,l){t=Ct(l,t),t=ms(e.stateNode,t,2),e=Rl(e,t,2),e!==null&&(yn(e,2),nl(e))}function _e(e,t,l){if(e.tag===3)r0(e,e,l);else for(;t!==null;){if(t.tag===3){r0(t,e,l);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Vl===null||!Vl.has(a))){e=Ct(l,e),l=cd(2),a=Rl(t,l,2),a!==null&&(sd(l,a,t,e),yn(a,2),nl(a));break}}t=t.return}}function Ws(e,t,l){var a=e.pingCache;if(a===null){a=e.pingCache=new tv;var n=new Set;a.set(t,n)}else n=a.get(t),n===void 0&&(n=new Set,a.set(t,n));n.has(l)||(Qs=!0,n.add(l),e=fv.bind(null,e,t,l),t.then(e,e))}function fv(e,t,l){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Me===e&&(xe&l)===l&&((Qe===4||Qe===3&&(xe&62914560)===xe&&300>bt()-pi)&&(pe&2)===0?ln(e,0):bi|=l,Wa===xe&&(Wa=0)),nl(e)}function d0(e,t){t===0&&(t=Ff()),e=aa(e,t),e!==null&&(yn(e,t),nl(e))}function ov(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),d0(e,l)}function rv(e,t){var l=0;switch(e.tag){case 31:case 13:var a=e.stateNode,n=e.memoizedState;n!==null&&(l=n.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(r(314))}a!==null&&a.delete(t),d0(e,l)}function dv(e,t){return ec(e,t)}var nn=null,un=null,Is=!1,Oi=!1,Ps=!1,Zl=0;function nl(e){e!==un&&e.next===null&&(un===null?nn=un=e:un=un.next=e),Oi=!0,Is||(Is=!0,hv())}function Wn(e,t){if(!Ps&&Oi){Ps=!0;do for(var l=!1,a=nn;a!==null;){if(e!==0){var n=a.pendingLanes;if(n===0)var u=0;else{var i=a.suspendedLanes,s=a.pingedLanes;u=(1<<31-St(42|e)+1)-1,u&=n&~(i&~s),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(l=!0,x0(a,u))}else u=xe,u=bu(a,a===Me?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||xn(a,u)||(l=!0,x0(a,u));a=a.next}while(l);Ps=!1}}function mv(){m0()}function m0(){Oi=Is=!1;var e=0;Zl!==0&&Tv()&&(e=Zl);for(var t=bt(),l=null,a=nn;a!==null;){var n=a.next,u=h0(a,t);u===0?(a.next=null,l===null?nn=n:l.next=n,n===null&&(un=l)):(l=a,(e!==0||(u&3)!==0)&&(Oi=!0)),a=n}Be!==0&&Be!==5||Wn(e),Zl!==0&&(Zl=0)}function h0(e,t){for(var l=e.suspendedLanes,a=e.pingedLanes,n=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var i=31-St(u),s=1<<i,f=n[i];f===-1?((s&l)===0||(s&a)!==0)&&(n[i]=Dh(s,t)):f<=t&&(e.expiredLanes|=s),u&=~s}if(t=Me,l=xe,l=bu(e,e===t?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,l===0||e===t&&(ze===2||ze===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&tc(a),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||xn(e,l)){if(t=l&-l,t===e.callbackPriority)return t;switch(a!==null&&tc(a),nc(l)){case 2:case 8:l=Jf;break;case 32:l=vu;break;case 268435456:l=kf;break;default:l=vu}return a=v0.bind(null,e),l=ec(l,a),e.callbackPriority=t,e.callbackNode=l,t}return a!==null&&a!==null&&tc(a),e.callbackPriority=2,e.callbackNode=null,2}function v0(e,t){if(Be!==0&&Be!==5)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(Ei()&&e.callbackNode!==l)return null;var a=xe;return a=bu(e,e===Me?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(e0(e,a,t),h0(e,bt()),e.callbackNode!=null&&e.callbackNode===l?v0.bind(null,e):null)}function x0(e,t){if(Ei())return null;e0(e,t,!0)}function hv(){Ev(function(){(pe&6)!==0?ec(Kf,mv):m0()})}function ef(){if(Zl===0){var e=fa;e===0&&(e=xu,xu<<=1,(xu&261888)===0&&(xu=256)),Zl=e}return Zl}function y0(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:_u(e)}function vv(e,t,l,a,n){if(t==="submit"&&l&&l.stateNode===n){var u=y0((n[mt]||null).action),i=a.submitter;i&&(t=(t=i[mt]||null)?y0(t.formAction):i.getAttribute("formAction"),t!==null&&(u=t,i=null));var s=new Ou("action","action",null,a,n);e.push({event:s,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Zl!==0){var f=new FormData(n,i);ss(l,{pending:!0,data:f,method:n.method,action:u},null,f)}}else typeof u=="function"&&(s.preventDefault(),f=new FormData(n,i),ss(l,{pending:!0,data:f,method:n.method,action:u},u,f))},currentTarget:n}]})}}for(var tf=0;tf<jc.length;tf++){var lf=jc[tf],xv=lf.toLowerCase(),yv=lf[0].toUpperCase()+lf.slice(1);Yt(xv,"on"+yv)}Yt(Vo,"onAnimationEnd"),Yt(Lo,"onAnimationIteration"),Yt(Zo,"onAnimationStart"),Yt("dblclick","onDoubleClick"),Yt("focusin","onFocus"),Yt("focusout","onBlur"),Yt(j1,"onTransitionRun"),Yt(E1,"onTransitionStart"),Yt(O1,"onTransitionCancel"),Yt(Ko,"onTransitionEnd"),Ea("onMouseEnter",["mouseout","mouseover"]),Ea("onMouseLeave",["mouseout","mouseover"]),Ea("onPointerEnter",["pointerout","pointerover"]),Ea("onPointerLeave",["pointerout","pointerover"]),ea("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ea("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ea("onBeforeInput",["compositionend","keypress","textInput","paste"]),ea("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ea("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ea("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var In="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(" "),gv=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(In));function g0(e,t){t=(t&4)!==0;for(var l=0;l<e.length;l++){var a=e[l],n=a.event;a=a.listeners;e:{var u=void 0;if(t)for(var i=a.length-1;0<=i;i--){var s=a[i],f=s.instance,x=s.currentTarget;if(s=s.listener,f!==u&&n.isPropagationStopped())break e;u=s,n.currentTarget=x;try{u(n)}catch(b){Du(b)}n.currentTarget=null,u=f}else for(i=0;i<a.length;i++){if(s=a[i],f=s.instance,x=s.currentTarget,s=s.listener,f!==u&&n.isPropagationStopped())break e;u=s,n.currentTarget=x;try{u(n)}catch(b){Du(b)}n.currentTarget=null,u=f}}}}function he(e,t){var l=t[lo];l===void 0&&(l=t[lo]=new Set);var a=e+"__bubble";l.has(a)||(b0(t,e,2,!1),l.add(a))}function af(e,t,l){var a=0;t&&(a|=4),b0(l,e,a,t)}var Ai="_reactListening"+Math.random().toString(36).slice(2);function nf(e){if(!e[Ai]){e[Ai]=!0,uo.forEach(function(l){l!=="selectionchange"&&(gv.has(l)||af(l,!1,e),af(l,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ai]||(t[Ai]=!0,af("selectionchange",!1,t))}}function b0(e,t,l,a){switch(sm(t)){case 2:var n=ox;break;case 8:n=rx;break;default:n=Tf}l=n.bind(null,t,l,e),n=void 0,!dc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),a?n!==void 0?e.addEventListener(t,l,{capture:!0,passive:n}):e.addEventListener(t,l,!0):n!==void 0?e.addEventListener(t,l,{passive:n}):e.addEventListener(t,l,!1)}function uf(e,t,l,a,n){var u=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var i=a.tag;if(i===3||i===4){var s=a.stateNode.containerInfo;if(s===n)break;if(i===4)for(i=a.return;i!==null;){var f=i.tag;if((f===3||f===4)&&i.stateNode.containerInfo===n)return;i=i.return}for(;s!==null;){if(i=Pl(s),i===null)return;if(f=i.tag,f===5||f===6||f===26||f===27){a=u=i;continue e}s=s.parentNode}}a=a.return}bo(function(){var x=u,b=oc(l),_=[];e:{var h=Jo.get(e);if(h!==void 0){var g=Ou,C=e;switch(e){case"keypress":if(ju(l)===0)break e;case"keydown":case"keyup":g=l1;break;case"focusin":C="focus",g=xc;break;case"focusout":C="blur",g=xc;break;case"beforeblur":case"afterblur":g=xc;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g=No;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=Lh;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=c1;break;case Vo:case Lo:case Zo:g=Jh;break;case Ko:g=f1;break;case"scroll":case"scrollend":g=Xh;break;case"wheel":g=r1;break;case"copy":case"cut":case"paste":g=$h;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=_o;break;case"submit":g=u1;break;case"toggle":case"beforetoggle":g=m1}var Y=(t&4)!==0,ue=!Y&&(e==="scroll"||e==="scrollend"),v=Y?h!==null?h+"Capture":null:h;Y=[];for(var d=x,y;d!==null;){var z=d;if(y=z.stateNode,z=z.tag,z!==5&&z!==26&&z!==27||y===null||v===null||(z=pn(d,v),z!=null&&Y.push(Pn(d,z,y))),ue)break;d=d.return}0<Y.length&&(h=new g(h,C,null,l,b),_.push({event:h,listeners:Y}))}}if((t&7)===0){e:{if(g=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",g&&l!==fc&&(C=l.relatedTarget||l.fromElement)&&(Pl(C)||C[_a]))break e;(h||g)&&(C=b.window===b?b:(g=b.ownerDocument)?g.defaultView||g.parentWindow:window,h?(g=l.relatedTarget||l.toElement,h=x,g=g?Pl(g):null,g!==null&&(ue=M(g),Y=g.tag,g!==ue||Y!==5&&Y!==27&&Y!==6)&&(g=null)):(h=null,g=x),h!==g&&(Y=No,z="onMouseLeave",v="onMouseEnter",d="mouse",(e==="pointerout"||e==="pointerover")&&(Y=_o,z="onPointerLeave",v="onPointerEnter",d="pointer"),ue=h==null?C:bn(h),y=g==null?C:bn(g),C=new Y(z,d+"leave",h,l,b),C.target=ue,C.relatedTarget=y,z=null,Pl(b)===x&&(Y=new Y(v,d+"enter",g,l,b),Y.target=y,Y.relatedTarget=ue,z=Y),ue=z,Y=h&&g?se(h,g,bv):null,h!==null&&p0(_,C,h,Y,!1),g!==null&&ue!==null&&p0(_,ue,g,Y,!0)))}e:{if(h=x?bn(x):window,g=h.nodeName&&h.nodeName.toLowerCase(),g==="select"||g==="input"&&h.type==="file")var U=Co;else if(Mo(h))if(wo)U=z1;else{U=S1;var ye=p1}else g=h.nodeName,!g||g.toLowerCase()!=="input"||h.type!=="checkbox"&&h.type!=="radio"?x&&sc(x.elementType)&&(U=Co):U=N1;if(U&&(U=U(e,x))){Do(_,U,l,b);break e}ye&&ye(e,h,x)}switch(ye=x?bn(x):window,e){case"focusin":(Mo(ye)||ye.contentEditable==="true")&&(wa=ye,zc=x,On=null);break;case"focusout":On=zc=wa=null;break;case"mousedown":_c=!0;break;case"contextmenu":case"mouseup":case"dragend":_c=!1,Qo(_,l,b);break;case"selectionchange":if(T1)break;case"keydown":case"keyup":Qo(_,l,b)}var L;if(gc)e:{switch(e){case"compositionstart":var W="onCompositionStart";break e;case"compositionend":W="onCompositionEnd";break e;case"compositionupdate":W="onCompositionUpdate";break e}W=void 0}else Ca?Oo(e,l)&&(W="onCompositionEnd"):e==="keydown"&&l.keyCode===229&&(W="onCompositionStart");W&&(To&&l.locale!=="ko"&&(Ca||W!=="onCompositionStart"?W==="onCompositionEnd"&&Ca&&(L=po()):(jl=b,mc="value"in jl?jl.value:jl.textContent,Ca=!0)),ye=Mi(x,W),0<ye.length&&(W=new zo(W,e,null,l,b),_.push({event:W,listeners:ye}),L?W.data=L:(L=Ao(l),L!==null&&(W.data=L)))),(L=v1?x1(e,l):y1(e,l))&&(W=Mi(x,"onBeforeInput"),0<W.length&&(ye=new zo("onBeforeInput","beforeinput",null,l,b),_.push({event:ye,listeners:W}),ye.data=L)),vv(_,e,x,l,b)}g0(_,t)})}function Pn(e,t,l){return{instance:e,listener:t,currentTarget:l}}function Mi(e,t){for(var l=t+"Capture",a=[];e!==null;){var n=e,u=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||u===null||(n=pn(e,l),n!=null&&a.unshift(Pn(e,n,u)),n=pn(e,t),n!=null&&a.push(Pn(e,n,u))),e.tag===3)return a;e=e.return}return[]}function bv(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function p0(e,t,l,a,n){for(var u=t._reactName,i=[];l!==null&&l!==a;){var s=l,f=s.alternate,x=s.stateNode;if(s=s.tag,f!==null&&f===a)break;s!==5&&s!==26&&s!==27||x===null||(f=x,n?(x=pn(l,u),x!=null&&i.unshift(Pn(l,x,f))):n||(x=pn(l,u),x!=null&&i.push(Pn(l,x,f)))),l=l.return}i.length!==0&&e.push({event:t,listeners:i})}var pv=/\r\n?/g,Sv=/\u0000|\uFFFD/g;function S0(e){return(typeof e=="string"?e:""+e).replace(pv,`
`).replace(Sv,"")}function N0(e,t){return t=S0(t),S0(e)===t}function Te(e,t,l,a,n,u){switch(l){case"children":if(typeof a=="string")t==="body"||t==="textarea"&&a===""||Aa(e,a);else if(typeof a=="number"||typeof a=="bigint")t!=="body"&&Aa(e,""+a);else return;break;case"className":zu(e,"class",a);break;case"tabIndex":zu(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":zu(e,l,a);break;case"style":yo(e,a,u);return;case"data":if(t!=="object"){zu(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||l!=="href")){e.removeAttribute(l);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(l);break}a=_u(a),e.setAttribute(l,a);break;case"action":case"formAction":if(typeof a=="function"){e.setAttribute(l,"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 u=="function"&&(l==="formAction"?(t!=="input"&&Te(e,t,"name",n.name,n,null),Te(e,t,"formEncType",n.formEncType,n,null),Te(e,t,"formMethod",n.formMethod,n,null),Te(e,t,"formTarget",n.formTarget,n,null)):(Te(e,t,"encType",n.encType,n,null),Te(e,t,"method",n.method,n,null),Te(e,t,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(l);break}a=_u(a),e.setAttribute(l,a);break;case"onClick":a!=null&&(e.onclick=kt);return;case"onScroll":a!=null&&he("scroll",e);return;case"onScrollEnd":a!=null&&he("scrollend",e);return;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(r(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(r(60));u?.__html!==l&&(e.innerHTML=l)}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.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"){e.removeAttribute("xlink:href");break}l=_u(a),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);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"?e.setAttribute(l,a):e.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":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"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":a===!0?e.setAttribute(l,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,a):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(l,a):e.removeAttribute(l);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(l):e.setAttribute(l,a);break;case"popover":he("beforetoggle",e),he("toggle",e),Nu(e,"popover",a);break;case"xlinkActuate":fl(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":fl(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":fl(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":fl(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":fl(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":fl(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":fl(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":fl(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":fl(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Nu(e,"is",a);break;case"innerText":case"textContent":return;default:if(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")l=Gh.get(l)||l,Nu(e,l,a);else return}be=!0}function cf(e,t,l,a,n,u){switch(l){case"style":yo(e,a,u);return;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(r(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(r(60));u?.__html!==l&&(e.innerHTML=l)}}break;case"children":if(typeof a=="string")Aa(e,a);else if(typeof a=="number"||typeof a=="bigint")Aa(e,""+a);else return;break;case"onScroll":a!=null&&he("scroll",e);return;case"onScrollEnd":a!=null&&he("scrollend",e);return;case"onClick":a!=null&&(e.onclick=kt);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":return;case"innerText":case"textContent":return;default:if(!io.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(n=l.endsWith("Capture"),u=l.slice(2,n?l.length-7:void 0),t=e[mt]||null,t=t!=null?t[l]:null,typeof t=="function"&&e.removeEventListener(u,t,n),typeof a=="function")){typeof t!="function"&&t!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(u,a,n);break e}be=!0,l in e?e[l]=a:a===!0?e.setAttribute(l,""):Nu(e,l,a)}return}be=!0}function it(e,t,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":he("error",e),he("load",e);var a=!1,n=!1,u;for(u in l)if(l.hasOwnProperty(u)){var i=l[u];if(i!=null)switch(u){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:Te(e,t,u,i,l,null)}}n&&Te(e,t,"srcSet",l.srcSet,l,null),a&&Te(e,t,"src",l.src,l,null);return;case"input":he("invalid",e);var s=u=i=n=null,f=null,x=null;for(a in l)if(l.hasOwnProperty(a)){var b=l[a];if(b!=null)switch(a){case"name":n=b;break;case"type":i=b;break;case"checked":f=b;break;case"defaultChecked":x=b;break;case"value":u=b;break;case"defaultValue":s=b;break;case"children":case"dangerouslySetInnerHTML":if(b!=null)throw Error(r(137,t));break;default:Te(e,t,a,b,l,null)}}mo(e,u,s,f,x,i,n,!1);return;case"select":he("invalid",e),a=i=u=null;for(n in l)if(l.hasOwnProperty(n)&&(s=l[n],s!=null))switch(n){case"value":u=s;break;case"defaultValue":i=s;break;case"multiple":a=s;default:Te(e,t,n,s,l,null)}t=u,l=i,e.multiple=!!a,t!=null?Oa(e,!!a,t,!1):l!=null&&Oa(e,!!a,l,!0);return;case"textarea":he("invalid",e),u=n=a=null;for(i in l)if(l.hasOwnProperty(i)&&(s=l[i],s!=null))switch(i){case"value":a=s;break;case"defaultValue":n=s;break;case"children":u=s;break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(r(91));break;default:Te(e,t,i,s,l,null)}vo(e,a,n,u);return;case"option":for(f in l)if(l.hasOwnProperty(f)&&(a=l[f],a!=null))switch(f){case"selected":e.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:Te(e,t,f,a,l,null)}return;case"dialog":he("beforetoggle",e),he("toggle",e),he("cancel",e),he("close",e);break;case"iframe":case"object":he("load",e);break;case"video":case"audio":for(a=0;a<In.length;a++)he(In[a],e);break;case"image":he("error",e),he("load",e);break;case"details":he("toggle",e);break;case"embed":case"source":case"link":he("error",e),he("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(x in l)if(l.hasOwnProperty(x)&&(a=l[x],a!=null))switch(x){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:Te(e,t,x,a,l,null)}return;default:if(sc(t)){for(b in l)l.hasOwnProperty(b)&&(a=l[b],a!==void 0&&cf(e,t,b,a,l,void 0));return}}for(s in l)l.hasOwnProperty(s)&&(a=l[s],a!=null&&Te(e,t,s,a,l,null))}var Nv={};function zv(e,t,l,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,u=null,i=null,s=null,f=null,x=null,b=null;for(g in l){var _=l[g];if(l.hasOwnProperty(g)&&_!=null)switch(g){case"checked":break;case"value":break;case"defaultValue":f=_;default:a.hasOwnProperty(g)||Te(e,t,g,null,a,_)}}for(var h in a){var g=a[h];if(_=l[h],a.hasOwnProperty(h)&&(g!=null||_!=null))switch(h){case"type":g!==_&&(be=!0),u=g;break;case"name":g!==_&&(be=!0),n=g;break;case"checked":g!==_&&(be=!0),x=g;break;case"defaultChecked":g!==_&&(be=!0),b=g;break;case"value":g!==_&&(be=!0),i=g;break;case"defaultValue":g!==_&&(be=!0),s=g;break;case"children":case"dangerouslySetInnerHTML":if(g!=null)throw Error(r(137,t));break;default:g!==_&&Te(e,t,h,g,a,_)}}ic(e,i,s,f,x,b,u,n);return;case"select":g=i=s=h=null;for(u in l)if(f=l[u],l.hasOwnProperty(u)&&f!=null)switch(u){case"value":break;case"multiple":g=f;default:a.hasOwnProperty(u)||Te(e,t,u,null,a,f)}for(n in a)if(u=a[n],f=l[n],a.hasOwnProperty(n)&&(u!=null||f!=null))switch(n){case"value":u!==f&&(be=!0),h=u;break;case"defaultValue":u!==f&&(be=!0),s=u;break;case"multiple":u!==f&&(be=!0),i=u;default:u!==f&&Te(e,t,n,u,a,f)}t=s,l=i,a=g,h!=null?Oa(e,!!l,h,!1):!!a!=!!l&&(t!=null?Oa(e,!!l,t,!0):Oa(e,!!l,l?[]:"",!1));return;case"textarea":g=h=null;for(s in l)if(n=l[s],l.hasOwnProperty(s)&&n!=null&&!a.hasOwnProperty(s))switch(s){case"value":break;case"children":break;default:Te(e,t,s,null,a,n)}for(i in a)if(n=a[i],u=l[i],a.hasOwnProperty(i)&&(n!=null||u!=null))switch(i){case"value":n!==u&&(be=!0),h=n;break;case"defaultValue":n!==u&&(be=!0),g=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(r(91));break;default:n!==u&&Te(e,t,i,n,a,u)}ho(e,h,g);return;case"option":for(var C in l)if(h=l[C],l.hasOwnProperty(C)&&h!=null&&!a.hasOwnProperty(C))switch(C){case"selected":e.selected=!1;break;default:Te(e,t,C,null,a,h)}for(f in a)if(h=a[f],g=l[f],a.hasOwnProperty(f)&&h!==g&&(h!=null||g!=null))switch(f){case"selected":h!==g&&(be=!0),e.selected=h&&typeof h!="function"&&typeof h!="symbol";break;default:Te(e,t,f,h,a,g)}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 Y in l)h=l[Y],l.hasOwnProperty(Y)&&h!=null&&!a.hasOwnProperty(Y)&&Te(e,t,Y,null,a,h);for(x in a)if(h=a[x],g=l[x],a.hasOwnProperty(x)&&h!==g&&(h!=null||g!=null))switch(x){case"children":case"dangerouslySetInnerHTML":if(h!=null)throw Error(r(137,t));break;default:Te(e,t,x,h,a,g)}return;default:if(sc(t)){for(var ue in l)h=l[ue],l.hasOwnProperty(ue)&&h!==void 0&&!a.hasOwnProperty(ue)&&cf(e,t,ue,void 0,a,h);for(b in a)h=a[b],g=l[b],!a.hasOwnProperty(b)||h===g||h===void 0&&g===void 0||cf(e,t,b,h,a,g);return}}for(var v in l)h=l[v],l.hasOwnProperty(v)&&h!=null&&!a.hasOwnProperty(v)&&Te(e,t,v,null,a,h);for(_ in a)h=a[_],g=l[_],!a.hasOwnProperty(_)||h===g||h==null&&g==null||Te(e,t,_,h,a,g)}function z0(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function _v(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,l=performance.getEntriesByType("resource"),a=0;a<l.length;a++){var n=l[a],u=n.transferSize,i=n.initiatorType,s=n.duration;if(u&&s&&z0(i)){for(i=0,s=n.responseEnd,a+=1;a<l.length;a++){var f=l[a],x=f.startTime;if(x>s)break;var b=f.transferSize,_=f.initiatorType;b&&z0(_)&&(f=f.responseEnd,i+=b*(f<s?1:(s-x)/(f-x)))}if(--a,t+=8*(u+i)/(n.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var sf=null,ff=null;function eu(e){return e.nodeType===9?e:e.ownerDocument}function _0(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function T0(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function j0(e,t,l,a){return l=eu(l).createElement(e),l[tt]=a,l[mt]=t,it(l,e,t),Fe(l),l}function of(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var rf=null;function Tv(){var e=window.event;return e&&e.type==="popstate"?e===rf?!1:(rf=e,!0):(rf=null,!1)}var df=typeof setTimeout=="function"?setTimeout:void 0,jv=typeof clearTimeout=="function"?clearTimeout:void 0,E0=typeof Promise=="function"?Promise:void 0,O0=typeof requestAnimationFrame=="function"?requestAnimationFrame:df,Ev=typeof queueMicrotask=="function"?queueMicrotask:typeof E0<"u"?function(e){return E0.resolve(null).then(e).catch(Ov)}:df;function Ov(e){setTimeout(function(){throw e})}function Kl(e){return e==="head"}function A0(e,t){var l=t,a=0;do{var n=l.nextSibling;if(e.removeChild(l),n&&n.nodeType===8)if(l=n.data,l==="/$"||l==="/&"){if(a===0){e.removeChild(n),mn(t);return}a--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")a++;else if(l==="html")pf(e.ownerDocument.documentElement);else if(l==="head"){l=e.ownerDocument.head,pf(l);for(var u=l.firstChild;u;){var i=u.nextSibling,s=u.nodeName;u[gn]||s==="SCRIPT"||s==="STYLE"||s==="LINK"&&u.rel.toLowerCase()==="stylesheet"||l.removeChild(u),u=i}}else l==="body"&&pf(e.ownerDocument.body);l=n}while(l);mn(t)}function M0(e,t){var l=e;e=0;do{var a=l.nextSibling;if(l.nodeType===1?t?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(t?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),a&&a.nodeType===8)if(l=a.data,l==="/$"){if(e===0)break;e--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||e++;l=a}while(l)}function D0(e,t,l){if(t=CSS.escape(t)!==t?"r-"+btoa(t).replace(/=/g,""):t,e.style.viewTransitionName=t,l!=null&&(e.style.viewTransitionClass=l),l=getComputedStyle(e),l.display==="inline"){if(t=e.getClientRects(),t.length===1)var a=1;else for(var n=a=0;n<t.length;n++){var u=t[n];0<u.width&&0<u.height&&a++}a===1&&(e=e.style,e.display=t.length===1?"inline-block":"block",e.marginTop="-"+l.paddingTop,e.marginBottom="-"+l.paddingBottom)}}function C0(e,t){e=e.style,t=t.style;var l=t!=null?t.hasOwnProperty("viewTransitionName")?t.viewTransitionName:t.hasOwnProperty("view-transition-name")?t["view-transition-name"]:null:null;e.viewTransitionName=l==null||typeof l=="boolean"?"":(""+l).trim(),l=t!=null?t.hasOwnProperty("viewTransitionClass")?t.viewTransitionClass:t.hasOwnProperty("view-transition-class")?t["view-transition-class"]:null:null,e.viewTransitionClass=l==null||typeof l=="boolean"?"":(""+l).trim(),e.display==="inline-block"&&(t==null?e.display=e.margin="":(l=t.display,e.display=l==null||typeof l=="boolean"?"":l,l=t.margin,l!=null?e.margin=l:(l=t.hasOwnProperty("marginTop")?t.marginTop:t["margin-top"],e.marginTop=l==null||typeof l=="boolean"?"":l,t=t.hasOwnProperty("marginBottom")?t.marginBottom:t["margin-bottom"],e.marginBottom=t==null||typeof t=="boolean"?"":t)))}function Av(e,t,l){return l=l.ownerDocument.defaultView,{rect:e,abs:t.position==="absolute"||t.position==="fixed",clip:t.clipPath!=="none"||t.overflow!=="visible"||t.filter!=="none"||t.mask!=="none"||t.mask!=="none"||t.borderRadius!=="0px",view:0<=e.bottom&&0<=e.right&&e.top<=l.innerHeight&&e.left<=l.innerWidth}}function mf(e){var t=e.getBoundingClientRect(),l=getComputedStyle(e);return Av(t,l,e)}function Mv(e){return e.documentElement.clientHeight}function Dv(e){this.addEventListener("load",e),this.addEventListener("error",e)}function Cv(e,t,l,a,n,u,i,s,f){var x=t.nodeType===9?t:t.ownerDocument;try{var b=x.startViewTransition({update:function(){var h=x.defaultView,g=h.navigation&&h.navigation.transition,C=x.fonts.status;a();var Y=[];if(C==="loaded"&&(Mv(x),x.fonts.status==="loading"&&Y.push(x.fonts.ready)),C=Y.length,e!==null)for(var ue=e.suspenseyImages,v=0,d=0;d<ue.length;d++){var y=ue[d];if(!y.complete){var z=y.getBoundingClientRect();if(0<z.bottom&&0<z.right&&z.top<h.innerHeight&&z.left<h.innerWidth){if(v+=P0(y),v>wi){Y.length=C;break}y=new Promise(Dv.bind(y)),Y.push(y)}}}if(0<Y.length)return h=Promise.race([Promise.all(Y),new Promise(function(U){return setTimeout(U,500)})]).then(n,n),(g?Promise.allSettled([g.finished,h]):h).then(u,u);if(n(),g)return g.finished.then(u,u);u()},types:l});x.__reactViewTransition=b;var _=[];return b.ready.then(function(){for(var h=x.documentElement.getAnimations({subtree:!0}),g=0;g<h.length;g++){var C=h[g],Y=C.effect,ue=Y.pseudoElement;if(ue!=null&&ue.startsWith("::view-transition")){_.push(C),C=Y.getKeyframes();for(var v=ue=void 0,d=!0,y=0;y<C.length;y++){var z=C[y],U=z.width;if(ue===void 0)ue=U;else if(ue!==U){d=!1;break}if(U=z.height,v===void 0)v=U;else if(v!==U){d=!1;break}delete z.width,delete z.height,z.transform==="none"&&delete z.transform}d&&ue!==void 0&&v!==void 0&&(Y.setKeyframes(C),d=getComputedStyle(Y.target,Y.pseudoElement),d.width!==ue||d.height!==v)&&(d=C[0],d.width=ue,d.height=v,d=C[C.length-1],d.width=ue,d.height=v,Y.setKeyframes(C))}}i()},function(h){x.__reactViewTransition===b&&(x.__reactViewTransition=null);try{if(typeof h=="object"&&h!==null)switch(h.name){case"InvalidStateError":(h.message==="View transition was skipped because document visibility state is hidden."||h.message==="Skipping view transition because document visibility state has become hidden."||h.message==="Skipping view transition because viewport size changed."||h.message==="Transition was aborted because of invalid state")&&(h=null)}h!==null&&f(h)}finally{a(),n(),i()}}),b.finished.finally(function(){for(var h=0;h<_.length;h++)_[h].cancel();x.__reactViewTransition===b&&(x.__reactViewTransition=null),s()}),b}catch{return a(),n(),i(),null}}function pa(e,t){this._scope=document.documentElement,this._selector="::view-transition-"+e+"("+t+")"}pa.prototype.animate=function(e,t){return t=typeof t=="number"?{duration:t}:Q({},t),t.pseudoElement=this._selector,this._scope.animate(e,t)},pa.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,l=e.getAnimations({subtree:!0}),a=[],n=0;n<l.length;n++){var u=l[n].effect;u!==null&&u.target===e&&u.pseudoElement===t&&a.push(l[n])}return a},pa.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};function w0(e){return{name:e,group:new pa("group",e),imagePair:new pa("image-pair",e),old:new pa("old",e),new:new pa("new",e)}}function At(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}At.prototype.addEventListener=function(e,t,l){var a=null,n=null;if(!(l!=null&&typeof l!="boolean"&&(a=l.signal||null,a!==null&&a.aborted))){this._eventListeners===null&&(this._eventListeners=[]);var u=this._eventListeners;if(R0(u,e,t,l)===-1){var i=this,s=t;l!=null&&typeof l!="boolean"&&l.once===!0&&(s=function(f){i.removeEventListener(e,t,l),typeof t=="function"?t.call(this,f):t.handleEvent(f)}),a!==null&&(n=i.removeEventListener.bind(i,e,t,l),a.addEventListener("abort",n,{once:!0}),n=a.removeEventListener.bind(a,"abort",n)),a=cn(l),u.push({type:e,listener:t,optionsOrUseCapture:l,attachedListener:s,cleanup:n}),S(this._fragmentFiber.child,!1,wv,e,s,a)}this._eventListeners=u}};function wv(e,t,l,a){return F(e).addEventListener(t,l,a),!1}At.prototype.removeEventListener=function(e,t,l){var a=this._eventListeners;if(a!==null&&(t=R0(a,e,t,l),t!==-1)){var n=a[t];l=n.attachedListener;var u=n.cleanup;n=cn(n.optionsOrUseCapture),S(this._fragmentFiber.child,!1,Uv,e,l,n),a.splice(t,1),u!==null&&u()}};function Uv(e,t,l,a){return F(e).removeEventListener(t,l,a),!1}function cn(e){return e!=null&&typeof e!="boolean"&&(e.once===!0||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function U0(e){return e==null?"c=0":typeof e=="boolean"?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")}function R0(e,t,l,a){if(e.length===0)return-1;a=U0(a);for(var n=0;n<e.length;n++){var u=e[n];if(u.type===t&&u.listener===l&&U0(u.optionsOrUseCapture)===a)return n}return-1}At.prototype.dispatchEvent=function(e){var t=j(this._fragmentFiber);if(t===null)return!0;t=F(t);var l=this._eventListeners;if(l!==null&&0<l.length||!e.bubbles){var a=t.nodeType===9?t.createComment(""):document.createTextNode("");if(l)for(var n=0;n<l.length;n++){var u=l[n];a.addEventListener(u.type,u.attachedListener,cn(u.optionsOrUseCapture))}if(t.appendChild(a),e=a.dispatchEvent(e),l)for(n=0;n<l.length;n++)u=l[n],a.removeEventListener(u.type,u.attachedListener,cn(u.optionsOrUseCapture));return t.removeChild(a),e}return t.dispatchEvent(e)},At.prototype.focus=function(e){S(this._fragmentFiber.child,!0,H0,e,void 0,void 0)};function H0(e,t){return e.tag===6?!1:(e=F(e),Kv(e,t))}At.prototype.focusLast=function(e){var t=[];S(this._fragmentFiber.child,!0,hf,t,void 0,void 0);for(var l=t.length-1;0<=l&&!H0(t[l],e);l--);};function hf(e,t){return t.push(e),!1}At.prototype.blur=function(){var e=j(this._fragmentFiber);e!==null&&(e=F(e),e=eu(e).activeElement,e!==null&&S(this._fragmentFiber.child,!1,Rv,e,void 0,void 0))};function Rv(e,t){return e.tag===6?!1:(e=F(e),e===t||e.contains(t)?(t.blur(),!0):!1)}At.prototype.observeUsing=function(e){this._observers===null&&(this._observers=new Set),this._observers.add(e),S(this._fragmentFiber.child,!1,Hv,e,void 0,void 0)};function Hv(e,t){return e.tag===6||(e=F(e),t.observe(e)),!1}At.prototype.unobserveUsing=function(e){var t=this._observers;if(t!==null&&t.has(e)){t.delete(e),S(this._fragmentFiber.child,!1,qv,e,void 0,void 0);for(var l=t=0;l<Lt.length;l++){var a=Lt[l];a.fragmentInstance===this&&a.observer===e?e.unobserve(a.instance):Lt[t++]=a}Lt.length=t}};function qv(e,t){return e.tag===6||(e=F(e),t.unobserve(e)),!1}var Lt=[],vf=!1;function Bv(e,t,l){Lt.push({fragmentInstance:e,observer:t,instance:l}),vf||(vf=!0,Jv(function(){vf=!1;var a=Lt;Lt=[];for(var n=0;n<a.length;n++){var u=a[n];u.observer.unobserve(u.instance)}}))}At.prototype.getClientRects=function(){var e=[];return S(this._fragmentFiber.child,!1,Yv,e,void 0,void 0),e};function Yv(e,t){if(e.tag===6){e=e.stateNode;var l=e.ownerDocument.createRange();l.selectNodeContents(e),t.push.apply(t,l.getClientRects())}else e=F(e),t.push.apply(t,e.getClientRects());return!1}At.prototype.getRootNode=function(e){var t=j(this._fragmentFiber);return t===null?this:F(t).getRootNode(e)},At.prototype.compareDocumentPosition=function(e){var t=j(this._fragmentFiber);if(t===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var l=[];S(this._fragmentFiber.child,!1,hf,l,void 0,void 0);var a=F(t);if(l.length===0){if(l=a,X(this._fragmentFiber)){e:{for(t=this._fragmentFiber.return;t!==null;){if(t.tag===4){t=t.stateNode.containerInfo;break e}if(t.tag===3||t.tag===5||t.tag===27)break;t=t.return}t=null}t!=null&&(l=t)}t=this._fragmentFiber;var n=a=l.compareDocumentPosition(e);return l===e?n=Node.DOCUMENT_POSITION_CONTAINS:a&Node.DOCUMENT_POSITION_CONTAINED_BY&&(l=le(t)[1],l===null?n=Node.DOCUMENT_POSITION_PRECEDING:(e=F(l).compareDocumentPosition(e),n=e===0||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),n|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=F(l[0]),n=F(l[l.length-1]);var u=X(this._fragmentFiber)?t.parentElement:a;if(u==null)return Node.DOCUMENT_POSITION_DISCONNECTED;a=u.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,u=u.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY;var i=t.compareDocumentPosition(e),s=n.compareDocumentPosition(e),f=i&Node.DOCUMENT_POSITION_CONTAINED_BY||s&Node.DOCUMENT_POSITION_CONTAINED_BY;return s=a&&u&&i&Node.DOCUMENT_POSITION_FOLLOWING&&s&Node.DOCUMENT_POSITION_PRECEDING,t=a&&t===e||u&&n===e||f||s?Node.DOCUMENT_POSITION_CONTAINED_BY:!a&&t===e||!u&&n===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:i,t&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||Gv(t,this._fragmentFiber,l[0],l[l.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function Gv(e,t,l,a,n){var u=Pl(n);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(l=!!u)e:{for(;u!==null;){if(u.tag===7&&(u===t||u.alternate===t)){l=!0;break e}u=u.return}l=!1}return l}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(u===null)return u=n.ownerDocument,n===u||n===u.documentElement||n===u.body;e:{for(u=t,t=j(t);u!==null;){if(!(u.tag!==5&&u.tag!==3&&u.tag!==27||u!==t&&u.alternate!==t)){u=!0;break e}u=u.return}u=!1}return u}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!u)&&!(t=u===l)&&(t=se(l,u,R),t===null?t=!1:(S(t,!0,Re,u,l),u=De,De=null,t=u!==null)),t):e&Node.DOCUMENT_POSITION_FOLLOWING?((t=!!u)&&!(t=u===a)&&(t=se(a,u,R),t===null?t=!1:(S(t,!0,Z,u,a),u=De,ve=De=null,t=u!==null)),t):!1}function q0(e,t){var l=e.ownerDocument.createRange();l.selectNodeContents(e),e=l.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,t?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}At.prototype.scrollIntoView=function(e){if(typeof e=="object")throw Error(r(566));var t=[];S(this._fragmentFiber.child,!1,hf,t,void 0,void 0);var l=e!==!1;if(t.length===0){var a=le(this._fragmentFiber);if(a=l?a[1]||a[0]||j(this._fragmentFiber):a[0]||a[1],a===null)return;if(a.tag===6){e=F(a),q0(e,l);return}if(a=F(a),a.nodeType!==9){if(a.nodeType===11){l="host"in a?a.host:null,l!==null&&l.scrollIntoView(e);return}a.scrollIntoView(e)}}for(a=l?t.length-1:0;a!==(l?-1:t.length);){var n=t[a];n.tag===6?(n=F(n),q0(n,l)):F(n).scrollIntoView(e),a+=l?-1:1}};function Qv(e,t){return e=F(e),B0(e,t),!1}function B0(e,t){e.reactFragments==null&&(e.reactFragments=new Set),e.reactFragments.add(t)}function Y0(e,t){var l=t._eventListeners;if(l!==null)for(var a=0;a<l.length;a++){var n=l[a];e.addEventListener(n.type,n.attachedListener,cn(n.optionsOrUseCapture))}e.nodeType!==3&&(l=t._observers,l!==null&&l.forEach(function(u){for(var i=0,s=0;s<Lt.length;s++){var f=Lt[s];(f.fragmentInstance!==t||f.observer!==u||f.instance!==e)&&(Lt[i++]=f)}Lt.length=i,u.observe(e)}),B0(e,t))}function Xv(e,t){var l=t._eventListeners;if(l!==null)for(var a=0;a<l.length;a++){var n=l[a];e.removeEventListener(n.type,n.attachedListener,cn(n.optionsOrUseCapture))}e.nodeType!==3&&(l=t._observers,l!==null&&l.forEach(function(u){typeof u.rootMargin=="string"?Bv(t,u,e):u.unobserve(e)}),e.reactFragments!=null&&e.reactFragments.delete(t))}function xf(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var l=t;switch(t=t.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":xf(l),Su(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function Vv(e,t,l,a){for(;e.nodeType===1;){var n=l;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[gn])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(u=e.getAttribute("rel"),u==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(u!==n.rel||e.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||e.getAttribute("title")!==(n.title==null?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(u=e.getAttribute("src"),(u!==(n.src==null?null:n.src)||e.getAttribute("type")!==(n.type==null?null:n.type)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&u&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var u=n.name==null?null:""+n.name;if(n.type==="hidden"&&e.getAttribute("name")===u)return e}else return e;if(e=qt(e.nextSibling),e===null)break}return null}function Lv(e,t,l){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=qt(e.nextSibling),e===null))return null;return e}function G0(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=qt(e.nextSibling),e===null))return null;return e}function yf(e){return e.data==="$?"||e.data==="$~"}function gf(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function Zv(e,t){var l=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||l.readyState!=="loading")t();else{var a=function(){t(),l.removeEventListener("DOMContentLoaded",a)};l.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function qt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var bf=null;function Q0(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="/$"||l==="/&"){if(t===0)return qt(e.nextSibling);t--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||t++}e=e.nextSibling}return null}function X0(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(t===0)return e;t--}else l!=="/$"&&l!=="/&"||t++}e=e.previousSibling}return null}function Kv(e,t){function l(){a=!0}if(e.ownerDocument.activeElement===e)return!0;var a=!1;try{e.ownerDocument.addEventListener("focus",l,!0),(e.focus||HTMLElement.prototype.focus).call(e,t)}finally{e.ownerDocument.removeEventListener("focus",l,!0)}return a}function Jv(e){O0(function(){O0(function(t){return e(t)})})}function V0(e,t,l){switch(t=eu(l),e){case"html":if(e=t.documentElement,!e)throw Error(r(452));return e;case"head":if(e=t.head,!e)throw Error(r(453));return e;case"body":if(e=t.body,!e)throw Error(r(454));return e;default:throw Error(r(451))}}function L0(e,t,l){for(var a in l){var n=l[a];l.hasOwnProperty(a)&&n!=null&&Te(e,t,a,null,Nv,n)}l.dangerouslySetInnerHTML!=null&&(e.textContent=""),e.onclick===kt&&(e.onclick=null),Su(e)}function pf(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Su(e)}var Bt=new Map,Z0=new Set;function tu(e){if(typeof e.getRootNode=="function"){var t=e.getRootNode();if(t.nodeType===9||t.nodeType===11)return t}return e.nodeType===9?e:e.ownerDocument}var Nl=ee.d;ee.d={f:kv,r:$v,D:Fv,C:Wv,L:Iv,m:Pv,X:tx,S:ex,M:lx};function kv(){var e=Nl.f(),t=_i();return e||t}function $v(e){var t=Ta(e);t!==null&&t.tag===5&&t.type==="form"?Jr(t):Nl.r(e)}var sn=typeof document>"u"?null:document;function K0(e,t,l){var a=sn;if(a&&typeof t=="string"&&t){var n=Mt(t);n='link[rel="'+e+'"][href="'+n+'"]',typeof l=="string"&&(n+='[crossorigin="'+l+'"]'),Z0.has(n)||(Z0.add(n),e={rel:e,crossOrigin:l,href:t},a.querySelector(n)===null&&(t=a.createElement("link"),it(t,"link",e),Fe(t),a.head.appendChild(t)))}}function Fv(e){Nl.D(e),K0("dns-prefetch",e,null)}function Wv(e,t){Nl.C(e,t),K0("preconnect",e,t)}function Iv(e,t,l){Nl.L(e,t,l);var a=sn;if(a&&e&&t){var n='link[rel="preload"][as="'+Mt(t)+'"]';t==="image"&&l&&l.imageSrcSet?(n+='[imagesrcset="'+Mt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(n+='[imagesizes="'+Mt(l.imageSizes)+'"]')):n+='[href="'+Mt(e)+'"]';var u=n;switch(t){case"style":u=fn(e);break;case"script":u=on(e)}if(!(Bt.has(u)||(e=Q({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),Bt.set(u,e),a.querySelector(n)!==null||t==="style"&&a.querySelector(lu(u))||t==="script"&&a.querySelector(au(u))))){var i=a.createElement("link");it(i,"link",e),t==="style"&&(i[pu]=!0,i.onload=i.onerror=function(){no(i)}),Fe(i),a.head.appendChild(i)}}}function Pv(e,t){Nl.m(e,t);var l=sn;if(l&&e){var a=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+Mt(a)+'"][href="'+Mt(e)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=on(e)}if(!Bt.has(u)&&(e=Q({rel:"modulepreload",href:e},t),Bt.set(u,e),l.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(au(u)))return}a=l.createElement("link"),it(a,"link",e),Fe(a),l.head.appendChild(a)}}}function ex(e,t,l){Nl.S(e,t,l);var a=sn;if(a&&e){var n=ja(a).hoistableStyles,u=fn(e);t=t||"default";var i=n.get(u);if(!i){var s={loading:0,preload:null};if(i=a.querySelector(lu(u)))s.loading=5;else{e=Q({rel:"stylesheet",href:e,"data-precedence":t},l),(l=Bt.get(u))&&Sf(e,l);var f=i=a.createElement("link");Fe(f),it(f,"link",e),f._p=new Promise(function(x,b){f.onload=x,f.onerror=b}),f.addEventListener("load",function(){s.loading|=1}),f.addEventListener("error",function(){s.loading|=2}),s.loading|=4,Di(i,t,a)}i={type:"stylesheet",instance:i,count:1,state:s},n.set(u,i)}}}function tx(e,t){Nl.X(e,t);var l=sn;if(l&&e){var a=ja(l).hoistableScripts,n=on(e),u=a.get(n);u||(u=l.querySelector(au(n)),u||(e=Q({src:e,async:!0},t),(t=Bt.get(n))&&Nf(e,t),u=l.createElement("script"),Fe(u),it(u,"link",e),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function lx(e,t){Nl.M(e,t);var l=sn;if(l&&e){var a=ja(l).hoistableScripts,n=on(e),u=a.get(n);u||(u=l.querySelector(au(n)),u||(e=Q({src:e,async:!0,type:"module"},t),(t=Bt.get(n))&&Nf(e,t),u=l.createElement("script"),Fe(u),it(u,"link",e),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function J0(e,t,l,a){var n=(n=zl.current)?tu(n):null;if(!n)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(l=fn(l.href),t=ja(n).hoistableStyles,a=t.get(l),a||(a={type:"style",instance:null,count:0,state:null},t.set(l,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=fn(l.href);var u=ja(n).hoistableStyles,i=u.get(e);if(i||(n=n.ownerDocument||n,i={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,i),(u=n.querySelector(lu(e)))?u._p||(i.instance=u,i.state.loading=5):(u=Bt.get(e),u||(u={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Bt.set(e,u)),ax(n,e,u,i.state))),t&&a===null)throw Error(r(528,""));return i}if(t&&a!==null)throw Error(r(529,""));return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(l=on(l),t=ja(n).hoistableScripts,a=t.get(l),a||(a={type:"script",instance:null,count:0,state:null},t.set(l,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function fn(e){return'href="'+Mt(e)+'"'}function lu(e){return'link[rel="stylesheet"]['+e+"]"}function k0(e){return Q({},e,{"data-precedence":e.precedence,precedence:null})}function ax(e,t,l,a){if(t=e.querySelector('link[rel="preload"][as="style"]['+t+"]")){if(t[pu]!==!0){a.loading=1;return}}else t=e.createElement("link"),t[pu]=!0,t.onload=t.onerror=no.bind(null,t),it(t,"link",l),Fe(t),e.head.appendChild(t);a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2})}function on(e){return'[src="'+Mt(e)+'"]'}function au(e){return"script[async]"+e}function $0(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+Mt(l.href)+'"]');if(a)return t.instance=a,Fe(a),a;var n=Q({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),Fe(a),it(a,"style",n),Di(a,l.precedence,e),t.instance=a;case"stylesheet":n=fn(l.href);var u=e.querySelector(lu(n));if(u)return t.state.loading|=4,t.instance=u,Fe(u),u;a=k0(l),(n=Bt.get(n))&&Sf(a,n),u=(e.ownerDocument||e).createElement("link"),Fe(u);var i=u;return i._p=new Promise(function(s,f){i.onload=s,i.onerror=f}),it(u,"link",a),t.state.loading|=4,Di(u,l.precedence,e),t.instance=u;case"script":return u=on(l.src),(n=e.querySelector(au(u)))?(t.instance=n,Fe(n),n):(a=l,(n=Bt.get(u))&&(a=Q({},l),Nf(a,n)),e=e.ownerDocument||e,n=e.createElement("script"),Fe(n),it(n,"link",a),e.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(r(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Di(a,l.precedence,e));return t.instance}function Di(e,t,l){for(var a=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,u=n,i=0;i<a.length;i++){var s=a[i];if(s.dataset.precedence===t)u=s;else if(u!==n)break}u?u.parentNode.insertBefore(e,u.nextSibling):(t=l.nodeType===9?l.head:l,t.insertBefore(e,t.firstChild))}function Sf(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Nf(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Ci=null;function F0(e,t,l){if(Ci===null){var a=new Map,n=Ci=new Map;n.set(l,a)}else n=Ci,a=n.get(l),a||(a=new Map,n.set(l,a));if(a.has(e))return a;for(a.set(e,null),l=l.getElementsByTagName(e),n=0;n<l.length;n++){var u=l[n];if(!(u[gn]||u[tt]||e==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var i=u.getAttribute(t)||"";i=e+i;var s=a.get(i);s?s.push(u):a.set(i,[u])}}return a}function zf(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function nx(e,t,l){if(l===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function W0(e,t){return e==="img"&&t.src!=null&&t.src!==""&&t.onLoad==null&&t.loading!=="lazy"}function I0(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function P0(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio=="number"?devicePixelRatio:1)*.25}function em(e,t){typeof t.decode=="function"&&(e.imgCount++,t.complete||(e.imgBytes+=P0(t),e.suspenseyImages.push(t)),e=cx.bind(e),t.decode().then(e,e))}function ux(e,t,l,a){if(l.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var n=fn(a.href),u=t.querySelector(lu(n));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=nu.bind(e),t.then(e,e)),l.state.loading|=4,l.instance=u,Fe(u);return}u=t.ownerDocument||t,a=k0(a),(n=Bt.get(n))&&Sf(a,n),u=u.createElement("link"),Fe(u);var i=u;i._p=new Promise(function(s,f){i.onload=s,i.onerror=f}),it(u,"link",a),l.instance=u}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(l,t),(t=l.state.preload)&&(l.state.loading&3)===0&&(e.count++,l=nu.bind(e),t.addEventListener("load",l),t.addEventListener("error",l))}}var wi=0;function ix(e,t){return e.stylesheets&&e.count===0&&Ri(e,e.stylesheets),0<e.count||0<e.imgCount?function(l){var a=setTimeout(function(){if(e.stylesheets&&Ri(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4+t);0<e.imgBytes&&wi===0&&(wi=62500*_v());var n=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Ri(e,e.stylesheets),e.unsuspend)){var u=e.unsuspend;e.unsuspend=null,u()}},(e.imgBytes>wi?50:800)+t);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(n)}}:null}function tm(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)Ri(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function nu(){this.count--,tm(this)}function cx(){this.imgCount--,tm(this)}var Ui=null;function Ri(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Ui=new Map,t.forEach(sx,e),Ui=null,nu.call(e))}function sx(e,t){if(!(t.state.loading&4)){var l=Ui.get(e);if(l)var a=l.get(null);else{l=new Map,Ui.set(e,l);for(var n=e.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<n.length;u++){var i=n[u];(i.nodeName==="LINK"||i.getAttribute("media")!=="not all")&&(l.set(i.dataset.precedence,i),a=i)}a&&l.set(null,a)}n=t.instance,i=n.getAttribute("data-precedence"),u=l.get(i)||a,u===a&&l.set(null,n),l.set(i,n),this.count++,a=nu.bind(this),n.addEventListener("load",a),n.addEventListener("error",a),u?u.parentNode.insertBefore(n,u.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(n,e.firstChild)),t.state.loading|=4}}var rn={$$typeof:je,Provider:null,Consumer:null,_currentValue:cl,_currentValue2:cl,_threadCount:0};function fx(e,t,l,a,n,u,i,s,f){this.tag=1,this.containerInfo=e,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=lc(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=lc(0),this.hiddenUpdates=lc(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=u,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=f,this.transitionTypes=null,this.incompleteTransitions=new Map}function lm(e,t,l,a,n,u,i,s,f,x,b,_){return e=new fx(e,t,l,i,f,x,b,_,s),t=1,u===!0&&(t|=24),u=ht(3,null,null,t),e.current=u,u.stateNode=e,t=qc(),t.refCount++,e.pooledCache=t,t.refCount++,u.memoizedState={element:a,isDehydrated:l,cache:t},Qc(u),e}function am(e){return e?(e=Ha,e):Ha}function nm(e,t,l,a,n,u){n=am(n),a.context===null?a.context=n:a.pendingContext=n,a=Ul(t),a.payload={element:l},u=u===void 0?null:u,u!==null&&(a.callback=u),l=Rl(e,a,t),l!==null&&(gt(l,e,t),Rn(l,e,t))}function um(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<t?l:t}}function _f(e,t){um(e,t),(e=e.alternate)&&um(e,t)}function im(e){if(e.tag===13||e.tag===31){var t=aa(e,67108864);t!==null&&gt(t,e,67108864),_f(e,67108864)}}function cm(e){if(e.tag===13||e.tag===31){var t=Ot();t=ac(t);var l=aa(e,t);l!==null&&gt(l,e,t),_f(e,t)}}var dn=!0;function ox(e,t,l,a){var n=B.T;B.T=null;var u=ee.p;try{ee.p=2,Tf(e,t,l,a)}finally{ee.p=u,B.T=n}}function rx(e,t,l,a){var n=B.T;B.T=null;var u=ee.p;try{ee.p=8,Tf(e,t,l,a)}finally{ee.p=u,B.T=n}}function Tf(e,t,l,a){if(dn){var n=jf(a);if(n===null)uf(e,t,a,Hi,l),fm(e,a);else if(mx(n,e,t,l,a))a.stopPropagation();else if(fm(e,a),t&4&&-1<dx.indexOf(e)){for(;n!==null;){var u=Ta(n);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var i=Il(u.pendingLanes);if(i!==0){var s=u;for(s.pendingLanes|=2,s.entangledLanes|=2;i;){var f=1<<31-St(i);s.entanglements[1]|=f,i&=~f}nl(u),(pe&6)===0&&(Si=bt()+500,Wn(0))}}break;case 31:case 13:s=aa(u,2),s!==null&&gt(s,u,2),_i(),_f(u,2)}if(u=jf(a),u===null&&uf(e,t,a,Hi,l),u===n)break;n=u}n!==null&&a.stopPropagation()}else uf(e,t,a,null,l)}}function jf(e){return e=oc(e),Ef(e)}var Hi=null;function Ef(e){if(Hi=null,e=Pl(e),e!==null){var t=M(e);if(t===null)e=null;else{var l=t.tag;if(l===13){if(e=$(t),e!==null)return e;e=null}else if(l===31){if(e=q(t),e!==null)return e;e=null}else if(l===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Hi=e,null}function sm(e){switch(e){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"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"fullscreenerror":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"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(_h()){case Kf:return 2;case Jf:return 8;case vu:case Th:return 32;case kf:return 268435456;default:return 32}default:return 32}}var Of=!1,Jl=null,kl=null,$l=null,uu=new Map,iu=new Map,Fl=[],dx="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 fm(e,t){switch(e){case"focusin":case"focusout":Jl=null;break;case"dragenter":case"dragleave":kl=null;break;case"mouseover":case"mouseout":$l=null;break;case"pointerover":case"pointerout":uu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":iu.delete(t.pointerId)}}function cu(e,t,l,a,n,u){return e===null||e.nativeEvent!==u?(e={blockedOn:t,domEventName:l,eventSystemFlags:a,nativeEvent:u,targetContainers:[n]},t!==null&&(t=Ta(t),t!==null&&im(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function mx(e,t,l,a,n){switch(t){case"focusin":return Jl=cu(Jl,e,t,l,a,n),!0;case"dragenter":return kl=cu(kl,e,t,l,a,n),!0;case"mouseover":return $l=cu($l,e,t,l,a,n),!0;case"pointerover":var u=n.pointerId;return uu.set(u,cu(uu.get(u)||null,e,t,l,a,n)),!0;case"gotpointercapture":return u=n.pointerId,iu.set(u,cu(iu.get(u)||null,e,t,l,a,n)),!0}return!1}function om(e){var t=Pl(e.target);if(t!==null){var l=M(t);if(l!==null){if(t=l.tag,t===13){if(t=$(l),t!==null){e.blockedOn=t,to(e.priority,function(){cm(l)});return}}else if(t===31){if(t=q(l),t!==null){e.blockedOn=t,to(e.priority,function(){cm(l)});return}}else if(t===3&&l.stateNode.current.memoizedState.isDehydrated){e.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}e.blockedOn=null}function qi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var l=jf(e.nativeEvent);if(l===null){l=e.nativeEvent;var a=new l.constructor(l.type,l);fc=a,l.target.dispatchEvent(a),fc=null}else return t=Ta(l),t!==null&&im(t),e.blockedOn=l,!1;t.shift()}return!0}function rm(e,t,l){qi(e)&&l.delete(t)}function hx(){Of=!1,Jl!==null&&qi(Jl)&&(Jl=null),kl!==null&&qi(kl)&&(kl=null),$l!==null&&qi($l)&&($l=null),uu.forEach(rm),iu.forEach(rm)}function Bi(e,t){e.blockedOn===t&&(e.blockedOn=null,Of||(Of=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,hx)))}var Yi=null;function dm(e){Yi!==e&&(Yi=e,o.unstable_scheduleCallback(o.unstable_NormalPriority,function(){Yi===e&&(Yi=null);for(var t=0;t<e.length;t+=3){var l=e[t],a=e[t+1],n=e[t+2];if(typeof a!="function"){if(Ef(a||l)===null)continue;break}var u=Ta(l);u!==null&&(e.splice(t,3),t-=3,ss(u,{pending:!0,data:n,method:l.method,action:a},a,n))}}))}function mn(e){function t(f){return Bi(f,e)}Jl!==null&&Bi(Jl,e),kl!==null&&Bi(kl,e),$l!==null&&Bi($l,e),uu.forEach(t),iu.forEach(t);for(var l=0;l<Fl.length;l++){var a=Fl[l];a.blockedOn===e&&(a.blockedOn=null)}for(;0<Fl.length&&(l=Fl[0],l.blockedOn===null);)om(l),l.blockedOn===null&&Fl.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(a=0;a<l.length;a+=3){var n=l[a],u=l[a+1],i=n[mt]||null;if(typeof u=="function")i||dm(l);else if(i){var s=null;if(u&&u.hasAttribute("formAction")){if(n=u,i=u[mt]||null)s=i.formAction;else if(Ef(n)!==null)continue}else s=i.action;typeof s=="function"?l[a+1]=s:(l.splice(a,3),a-=3),dm(l)}}}function mm(){function e(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(i){return n=i})},focusReset:"manual",scroll:"manual"})}function t(){n!==null&&(n(),n=null),a||setTimeout(l,20)}function l(){if(!a&&!navigation.transition){var u=navigation.currentEntry;u&&u.url!=null&&navigation.navigate(u.url,{state:u.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,n=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(l,100),function(){a=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),n!==null&&(n(),n=null)}}}function Af(e){this._internalRoot=e}Gi.prototype.render=Af.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(r(409));var l=t.current,a=Ot();nm(l,a,e,t,null,null)},Gi.prototype.unmount=Af.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;nm(e.current,2,null,e,null,null),_i(),t[_a]=null}};function Gi(e){this._internalRoot=e}Gi.prototype.unstable_scheduleHydration=function(e){if(e){var t=eo();e={blockedOn:null,target:e,priority:t};for(var l=0;l<Fl.length&&t!==0&&t<Fl[l].priority;l++);Fl.splice(l,0,e),l===0&&om(e)}};var hm=p.version;if(hm!=="19.3.1")throw Error(r(527,hm,"19.3.1"));ee.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(r(188)):(e=Object.keys(e).join(","),Error(r(268,e)));return e=I(t),e=e!==null?D(e):null,e=e===null?null:e.stateNode,e};var vx={bundleType:0,version:"19.3.1",rendererPackageName:"react-dom",currentDispatcherRef:B,reconcilerVersion:"19.3.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Qi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Qi.isDisabled&&Qi.supportsFiber)try{vn=Qi.inject(vx),pt=Qi}catch{}}return fu.createRoot=function(e,t){if(!T(e))throw Error(r(299));var l=!1,a="",n=ad,u=nd,i=ud;return t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(n=t.onUncaughtError),t.onCaughtError!==void 0&&(u=t.onCaughtError),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=lm(e,1,!1,null,null,l,a,null,n,u,i,mm),e[_a]=t.current,nf(e),new Af(t)},fu.hydrateRoot=function(e,t,l){if(!T(e))throw Error(r(299));var a=!1,n="",u=ad,i=nd,s=ud,f=null;return l!=null&&(l.unstable_strictMode===!0&&(a=!0),l.identifierPrefix!==void 0&&(n=l.identifierPrefix),l.onUncaughtError!==void 0&&(u=l.onUncaughtError),l.onCaughtError!==void 0&&(i=l.onCaughtError),l.onRecoverableError!==void 0&&(s=l.onRecoverableError),l.formState!==void 0&&(f=l.formState)),t=lm(e,1,!0,t,l??null,a,n,f,u,i,s,mm),t.context=am(null),l=t.current,a=Ot(),a=ac(a),n=Ul(a),n.callback=null,Rl(l,n,a),l=a,t.current.lanes=l,yn(t,l),nl(t),e[_a]=t.current,nf(e),new Gi(t)},fu.version="19.3.1",fu}var _m;function jx(){if(_m)return Cf.exports;_m=1;function o(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(o)}catch(p){console.error(p)}}return o(),Cf.exports=Tx(),Cf.exports}var Ex=jx();const Ox=Om(Ex);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ax=o=>o?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */function Mx(o,p,O=[]){if(p==null)throw new Error("[lucide]: iconNode is required when icon name is used");return{name:Ax(o),size:24,node:p,...O.length>0?{aliases:O}:{}}}/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Dx=o=>{let p="",O=!1;for(const r of o){if(r==="-"||r==="_"||r<=" "){O=p.length>0;continue}p.length===0?p+=r.toLowerCase():p+=O?r.toUpperCase():r,O=!1}return p};/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Cx=o=>{const p=Dx(o);return p.charAt(0).toUpperCase()+p.slice(1)};/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Bf=(...o)=>o.filter((p,O,r)=>!!p&&p.trim()!==""&&r.indexOf(p)===O).join(" ").trim();/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Sa={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */function Hf(o){return o!=null}function wx(o,p={}){const O=p.attributeNames??{},r=j=>O[j]??j,T=o.size??o.width??Sa.width,M=o.size??o.height??Sa.height,$=o.aliases?.filter(j=>typeof j=="string"&&j.trim()!=="").map(j=>`lucide-${j}`)??[],q=[...o.name?[`lucide-${o.name}`]:[],...$],k=p.className?.split(" ").filter(Boolean)??[],I=p.includeDefaultClasses===!1?Bf(...k):Bf("lucide",...q,...k),D=p.absoluteStrokeWidth?Number(p.strokeWidth??Sa["stroke-width"])*Number(o.size??o.width??Sa.width)/Number(p.size??p.width??Sa.width):p.strokeWidth??Sa["stroke-width"];return["svg",{...Object.entries(Sa).reduce((j,[X,le])=>(j[r(X)]=le,j),{}),..."color"in p&&p.color&&{[r("stroke")]:p.color},..."size"in p&&Hf(p.size)&&{[r("width")]:p.size,[r("height")]:p.size},..."width"in p&&Hf(p.width)&&{[r("width")]:p.width},..."height"in p&&Hf(p.height)&&{[r("height")]:p.height},[r("stroke-width")]:D,...I&&{[r("class")]:I},[r("viewBox")]:`0 0 ${T} ${M}`,...p.hasA11yProp===!1?{[r("aria-hidden")]:"true"}:{},..."attributes"in p&&p.attributes},o.node.map(j=>{const[X,le,ie]=j,F=p.nonScalingStroke?{[r("vector-effect")]:"non-scaling-stroke",...le}:le;return ie?[X,F,ie]:[X,F]})]}/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */function Ux(o,p={}){return wx(o,{...p,attributeNames:{...p.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Rx=o=>{for(const p in o)if(p.startsWith("aria-")||p==="role"||p==="title")return!0;return!1},Hx=H.createContext({}),qx=()=>H.useContext(Hx),Bx=H.forwardRef(({color:o,size:p,width:O,height:r,strokeWidth:T,absoluteStrokeWidth:M,nonScalingStroke:$,className:q="",children:k,iconNode:I=[],icon:D={node:I,aliases:[],size:24},...S},j)=>{const{size:X=24,strokeWidth:le=2,absoluteStrokeWidth:ie=!1,nonScalingStroke:F=!1,color:De="currentColor",className:ve=""}=qx()??{},Re=!!k||Rx(S),[Z,R,se=[]]=Ux(D,{color:o??De,width:O??p??X,height:r??p??X,strokeWidth:T??le,absoluteStrokeWidth:M??ie,nonScalingStroke:$??F,className:Bf(ve,q),hasA11yProp:Re,attributes:S});return H.createElement(Z,{ref:j,...R},[...se.map(([Q,P])=>H.createElement(Q,P)),...Array.isArray(k)?k:[k]])});/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */function re(o,p=[],O=[]){const r=typeof o=="string"?Mx(o,p,O):o,T=H.forwardRef(({className:M,...$},q)=>H.createElement(Bx,{ref:q,icon:r,className:M,...$}));return r.name&&(T.displayName=Cx(r.name)),T}/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Am={name:"activity",size:24,node:[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]};Am.node;const Yx=re(Am);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Mm={name:"arrow-left",size:24,node:[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]};Mm.node;const Gx=re(Mm);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Dm={name:"arrow-up-down",size:24,node:[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]]};Dm.node;const Qx=re(Dm);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Cm={name:"arrow-up-to-line",size:24,node:[["path",{d:"M5 3h14",key:"7usisc"}],["path",{d:"m18 13-6-6-6 6",key:"1kf1n9"}],["path",{d:"M12 7v14",key:"1akyts"}]]};Cm.node;const wm=re(Cm);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Um={name:"check",size:24,node:[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]};Um.node;const Xx=re(Um);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Rm={name:"chevron-down",size:24,node:[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]};Rm.node;const Vx=re(Rm);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Hm={name:"chevron-left",size:24,node:[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]};Hm.node;const Lx=re(Hm);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const qm={name:"chevron-right",size:24,node:[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]};qm.node;const Zx=re(qm);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Bm={name:"chevron-up",size:24,node:[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]};Bm.node;const Kx=re(Bm);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ym={name:"circle-alert",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],aliases:["alert-circle"]};Ym.node;const Yf=re(Ym);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Gm={name:"circle-check",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 9-5.5 5.5L8 12",key:"xofnsj"}]],aliases:["check-circle-2"]};Gm.node;const Jx=re(Gm);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Qm={name:"circle-stop",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["rect",{x:"9",y:"9",width:"6",height:"6",rx:"1",key:"1ssd4o"}]],aliases:["stop-circle"]};Qm.node;const kx=re(Qm);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Xm={name:"circle-x",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],aliases:["x-circle"]};Xm.node;const $x=re(Xm);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Vm={name:"clock",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]};Vm.node;const Li=re(Vm);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Lm={name:"code",size:24,node:[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]]};Lm.node;const Fx=re(Lm);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Zm={name:"copy",size:24,node:[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]};Zm.node;const Wx=re(Zm);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Km={name:"cpu",size:24,node:[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]]};Km.node;const Ix=re(Km);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Jm={name:"download",size:24,node:[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]};Jm.node;const Px=re(Jm);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const km={name:"eighth-notes",size:24,node:[["path",{d:"M21 16V3a1 1 0 0 0-1.28-.96l-10 2.917a1 1 0 0 0-.72.96V19",key:"uy6ho8"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}],["circle",{cx:"6",cy:"19",r:"3",key:"1kj8tv"}]],aliases:["music"]};km.node;const ey=re(km);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const $m={name:"ellipsis-vertical",size:24,node:[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]],aliases:["more-vertical"]};$m.node;const ty=re($m);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Fm={name:"external-link",size:24,node:[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]};Fm.node;const ly=re(Fm);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Wm={name:"info",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]};Wm.node;const ay=re(Wm);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Im={name:"key-round",size:24,node:[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]};Im.node;const ny=re(Im);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Pm={name:"layers",size:24,node:[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],aliases:["layers-3"]};Pm.node;const uy=re(Pm);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const eh={name:"link",size:24,node:[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]};eh.node;const iy=re(eh);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const th={name:"play",size:24,node:[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]};th.node;const cy=re(th);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const lh={name:"plus",size:24,node:[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]};lh.node;const sy=re(lh);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ah={name:"refresh-cw",size:24,node:[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]};ah.node;const nh=re(ah);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const uh={name:"rotate-ccw",size:24,node:[["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"}]]};uh.node;const ih=re(uh);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ch={name:"search",size:24,node:[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]};ch.node;const fy=re(ch);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const sh={name:"send",size:24,node:[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]};sh.node;const oy=re(sh);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const fh={name:"server",size:24,node:[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]};fh.node;const ry=re(fh);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const oh={name:"shield-alert",size:24,node:[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]]};oh.node;const dy=re(oh);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const rh={name:"sliders-vertical",size:24,node:[["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M12 21v-9",key:"17s77i"}],["path",{d:"M12 8V3",key:"13r4qs"}],["path",{d:"M17 16h4",key:"h1uq16"}],["path",{d:"M19 12V3",key:"o1uvq1"}],["path",{d:"M19 21v-5",key:"qua636"}],["path",{d:"M3 14h4",key:"bcjad9"}],["path",{d:"M5 10V3",key:"cb8scm"}],["path",{d:"M5 21v-7",key:"1w1uti"}]],aliases:["sliders"]};rh.node;const my=re(rh);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const dh={name:"sparkles",size:24,node:[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],aliases:["stars"]};dh.node;const hy=re(dh);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const mh={name:"trash",size:24,node:[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],aliases:["trash-2"]};mh.node;const Gf=re(mh);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const hh={name:"triangle-alert",size:24,node:[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],aliases:["alert-triangle"]};hh.node;const vy=re(hh);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const vh={name:"upload",size:24,node:[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]]};vh.node;const xy=re(vh);/**
 * @license lucide-react v1.64.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const xh={name:"x",size:24,node:[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]};xh.node;const Vf=re(xh);function ul(){return typeof window<"u"&&window.__H3_BASE__!==void 0?window.__H3_BASE__:""}function Ki(){return typeof window>"u"?"":localStorage.getItem("h3_console_token")||""}function Qf(o){typeof window>"u"||(o?localStorage.setItem("h3_console_token",o.trim()):localStorage.removeItem("h3_console_token"))}function yy(o){if(!o)return"—";const p=Date.now()/1e3,O=Math.max(0,Math.round(p-o));return O<60?`${O}秒前`:O<3600?`${Math.round(O/60)}分钟前`:O<86400?`${Math.round(O/3600)}小时前`:`${Math.round(O/86400)}天前`}function gy(o){return o?new Date(o*1e3).toLocaleString("zh-CN",{hour12:!1,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):"—"}function by(o){if(!o||o<=0)return"0 B";const p=["B","KB","MB","GB"],O=Math.floor(Math.log(o)/Math.log(1024));return`${(o/Math.pow(1024,O)).toFixed(1)} ${p[O]}`}function py(o){if(!o)return"";try{const p=decodeURIComponent(o.split("/").pop().split("?")[0]),O=p.match(/^[0-9a-f]{16}__(.+)$/);return O?O[1]:p}catch{return o}}function Zi(o){const p=o&&o.match(/\/assets\/([0-9a-f]{16}__[^/?#]*)$/);return p?ul()+"/assets/"+p[1]:o}function ru(o){if(!o)return o;o=Zi(o);const p=o.indexOf("/assets/");return p===-1?o:o.slice(0,p)+"/thumbs/"+o.slice(p+8)}function yh(o){if(!o)return"";const p=Ki();return p?`${o}${o.includes("?")?"&":"?"}token=${encodeURIComponent(p)}`:o}function Sy(o={}){return o.first_frame_url||o.last_frame_url?{key:"fl2va",label:"首尾帧"}:(o.reference_image_urls||[]).length||(o.reference_video_urls||[]).length||(o.reference_audio_urls||[]).length?{key:"ref2va",label:"参考图"}:{key:"text",label:"文生"}}function Ny({job:o,isSelected:p,onSelect:O,onRerun:r,onPrioritize:T,onDelete:M}){const[$,q]=H.useState(!1),[k,I]=H.useState(!1),D=H.useRef(null),S=o.req||{},j=Sy(S),X=o.status==="done",le=o.status==="running",ie=o.status==="queued",F=o.status==="failed",De=o.status==="cancelled",ve=o.step||0,Re=o.total_steps||S.steps||20,Z=Re>0?Math.min(100,Math.max(ve>0?5:2,Math.round(ve/Re*100))):0,R=()=>{q(!0),X&&D.current&&(D.current.currentTime=0,D.current.play().catch(()=>{}))},se=()=>{q(!1),I(!1),X&&D.current&&D.current.pause()},Q=X?yh(`${ul()}/v1/videos/${o.id}/file`):null,P=S.first_frame_url||(S.reference_image_urls||[])[0];return c.jsxs("div",{onClick:()=>O(o.id),onMouseEnter:R,onMouseLeave:se,className:`group relative p-3 rounded-2xl border transition-all duration-200 cursor-pointer flex flex-col gap-2 ${p?"bg-emerald-50/80 border-emerald-500 ring-1 ring-emerald-500/40 shadow-xs":"bg-white border-slate-200/90 hover:bg-slate-50/80 hover:border-slate-300 shadow-xs"}`,children:[c.jsxs("div",{className:"flex gap-3.5",children:[c.jsxs("div",{className:"relative w-24 h-32 shrink-0 rounded-xl overflow-hidden bg-slate-100 border border-slate-200 flex items-center justify-center",children:[X&&Q?c.jsx("video",{ref:D,src:Q,muted:!0,loop:!0,playsInline:!0,preload:"metadata",className:"w-full h-full object-cover"}):P?c.jsx("img",{src:ru(P),alt:"",loading:"lazy",className:"w-full h-full object-cover"}):c.jsxs("div",{className:"flex flex-col items-center justify-center text-slate-400 text-[11px] gap-1 p-2 text-center",children:[c.jsx("span",{className:"font-semibold text-slate-600",children:j.label}),c.jsx("span",{className:"text-[10px] opacity-70",children:o.partition||"H3"})]}),X&&c.jsx("div",{className:"absolute top-1.5 left-1.5 p-1 bg-emerald-600/90 rounded-md backdrop-blur-md text-white shadow-xs",children:c.jsx(cy,{className:"w-2.5 h-2.5 fill-current"})}),le&&c.jsx("div",{className:"absolute inset-0 bg-emerald-950/20 backdrop-blur-[1px] flex flex-col items-center justify-center gap-1",children:c.jsxs("span",{className:"text-xs font-bold text-emerald-700 bg-white/90 px-1.5 py-0.5 rounded shadow-xs font-mono",children:[Z,"%"]})}),ie&&c.jsx("div",{className:"absolute bottom-1.5 left-1.5 px-1.5 py-0.5 bg-blue-600/90 text-white text-[10px] rounded font-mono shadow-xs",children:o.queue_position?`#${o.queue_position}`:"排队中"})]}),c.jsxs("div",{className:"flex-1 min-w-0 flex flex-col justify-between py-0.5",children:[c.jsxs("div",{children:[c.jsxs("div",{className:"flex items-center justify-between gap-2",children:[c.jsxs("span",{className:"text-xs font-mono font-bold text-slate-600 group-hover:text-slate-900 transition-colors",children:["#",o.id.substring(0,8)]}),c.jsxs("div",{className:"flex items-center gap-1.5",children:[X&&c.jsx("span",{className:"px-2 py-0.5 text-[10px] font-semibold bg-emerald-50 text-emerald-700 border border-emerald-200 rounded-full",children:"已完成"}),le&&c.jsxs("span",{className:"px-2 py-0.5 text-[10px] font-semibold bg-emerald-50 text-emerald-700 border border-emerald-200 rounded-full flex items-center gap-1",children:[c.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-emerald-500 animate-ping"}),"采样 ",ve,"/",Re,"步"]}),ie&&c.jsx("span",{className:"px-2 py-0.5 text-[10px] font-semibold bg-slate-100 text-slate-700 border border-slate-200 rounded-full",children:"排队中"}),F&&c.jsx("span",{className:"px-2 py-0.5 text-[10px] font-semibold bg-rose-50 text-rose-700 border border-rose-200 rounded-full",children:"失败"}),De&&c.jsx("span",{className:"px-2 py-0.5 text-[10px] font-semibold bg-slate-100 text-slate-500 border border-slate-200 rounded-full",children:"已取消"})]})]}),c.jsx("p",{className:"mt-1.5 text-xs text-slate-700 line-clamp-3 leading-relaxed break-words font-normal",children:S.prompt||"(无 prompt 描述)"})]}),c.jsxs("div",{className:"mt-2 pt-2 border-t border-slate-100 flex items-center justify-between text-[11px] text-slate-500",children:[c.jsxs("div",{className:"flex items-center gap-2",children:[c.jsxs("span",{className:"px-1.5 py-0.5 bg-slate-100 rounded text-slate-600 font-mono text-[10px]",children:[j.label," · ",S.width?`${S.width}p`:""]}),c.jsxs("span",{className:"flex items-center gap-1 text-slate-400",children:[c.jsx(Li,{className:"w-3 h-3"}),c.jsx("span",{children:yy(o.created_at)})]})]}),c.jsxs("div",{className:"relative",onClick:Ve=>Ve.stopPropagation(),children:[c.jsx("button",{onClick:()=>I(!k),className:"p-1 hover:bg-slate-100 rounded-md text-slate-400 hover:text-slate-700 transition-colors cursor-pointer",children:c.jsx(ty,{className:"w-3.5 h-3.5"})}),k&&c.jsxs("div",{className:"absolute right-0 bottom-full mb-1.5 w-32 py-1 bg-white border border-slate-200 rounded-xl shadow-xl z-30 text-xs flex flex-col",children:[c.jsxs("button",{onClick:()=>{I(!1),r(o)},className:"px-3 py-1.5 flex items-center gap-2 text-slate-700 hover:bg-slate-50 transition-colors cursor-pointer",children:[c.jsx(ih,{className:"w-3.5 h-3.5 text-emerald-600"}),c.jsx("span",{children:"复用重跑"})]}),ie&&c.jsxs("button",{onClick:()=>{I(!1),T(o.id)},className:"px-3 py-1.5 flex items-center gap-2 text-slate-700 hover:bg-slate-50 transition-colors cursor-pointer",children:[c.jsx(wm,{className:"w-3.5 h-3.5 text-indigo-600"}),c.jsx("span",{children:"优先插队"})]}),c.jsx("div",{className:"my-1 border-t border-slate-100"}),c.jsxs("button",{onClick:()=>{I(!1),M(o.id)},className:"px-3 py-1.5 flex items-center gap-2 text-rose-600 hover:bg-rose-50 transition-colors cursor-pointer",children:[c.jsx(Gf,{className:"w-3.5 h-3.5"}),c.jsx("span",{children:"移入回收站"})]})]})]})]})]})]}),le&&c.jsx("div",{className:"w-full bg-slate-100 rounded-full h-1.5 overflow-hidden mt-1 border border-slate-200/60",children:c.jsx("div",{className:"bg-emerald-500 h-full transition-all duration-300 rounded-full",style:{width:`${Z}%`}})})]})}async function Zt(o,p={}){const O=ul(),r=o.startsWith("http")?o:`${O}${o}`,T=Ki(),M={...p.headers||{}};T&&(M.Authorization=`Bearer ${T}`);const $=await fetch(r,{...p,headers:M});if($.status===401){Qf("");const q=window.prompt("H3 访问令牌 (Token) 已过期或无效,请输入新令牌:");if(q)return Qf(q),M.Authorization=`Bearer ${q}`,fetch(r,{...p,headers:M})}return $}async function Tm({page:o=1,limit:p=20,q:O="",status:r="",kind:T="",sort:M="desc",trash:$=!1}={}){const q=new URLSearchParams;$?(q.set("trash","true"),q.set("limit","50")):(q.set("page",String(o)),q.set("limit",String(p)),O&&q.set("q",O),r&&q.set("status",r),T&&q.set("kind",T),M&&q.set("sort",M));const k=await Zt(`/v1/videos?${q.toString()}`);if(!k.ok)throw new Error(await k.text());return k.json()}async function zy(o){const p=await Zt(`/v1/videos/${o}`);if(!p.ok)throw new Error(await p.text());return p.json()}async function _y(o){const p=await Zt("/v1/videos",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(o)});if(!p.ok)throw new Error(await p.text());return p.json()}async function Ty(o){const p=new FormData;p.append("file",o);const O=await Zt("/v1/assets",{method:"POST",body:p});if(!O.ok)throw new Error(await O.text());return O.json()}async function gh(o){const p=await Zt(`/v1/videos/${o}/prioritize`,{method:"POST"});if(!p.ok)throw new Error(await p.text());return p.json()}async function jy(o){const p=await Zt(`/v1/videos/${o}`,{method:"DELETE"});if(!p.ok)throw new Error(await p.text());return p.json()}async function Ey(o){const p=await Zt(`/v1/videos/${o}/restore`,{method:"POST"});if(!p.ok)throw new Error(await p.text());return p.json()}async function Oy(o){const p=await Zt(`/v1/videos/${o}/cancel`,{method:"POST"});if(!p.ok)throw new Error(await p.text());return p.json()}async function Ay(){const o=await Zt("/v1/admin/reset-gpu",{method:"POST"});if(!o.ok)throw new Error(await o.text());return o.json()}async function My(){const o=await Zt("/v1/backends");return o.ok?o.json():null}async function Dy(o){const p=await Zt(`/v1/videos/${o}/comfy-history`);if(!p.ok)throw new Error(await p.text());return p.json()}const bh=H.createContext(null);function Cy({children:o}){const[p,O]=H.useState([]),r=H.useCallback((M,$="info",q=3e3)=>{const k=Date.now()+Math.random().toString(36).substring(2,6);O(I=>[...I,{id:k,msg:M,type:$}]),q>0&&setTimeout(()=>{O(I=>I.filter(D=>D.id!==k))},q)},[]),T=H.useCallback(M=>{O($=>$.filter(q=>q.id!==M))},[]);return c.jsxs(bh.Provider,{value:{addToast:r},children:[o,c.jsx("div",{className:"fixed top-4 right-4 z-50 flex flex-col gap-2 pointer-events-none",children:p.map(M=>c.jsxs("div",{className:`pointer-events-auto flex items-center gap-3 px-4 py-3 rounded-xl shadow-2xl border backdrop-blur-md transition-all duration-300 animate-in slide-in-from-top-2 ${M.type==="success"?"bg-emerald-950/90 border-emerald-500/40 text-emerald-200 shadow-emerald-950/50":M.type==="error"?"bg-rose-950/90 border-rose-500/40 text-rose-200 shadow-rose-950/50":"bg-zinc-900/95 border-zinc-700/60 text-zinc-200 shadow-black/60"}`,children:[M.type==="success"&&c.jsx(Jx,{className:"w-5 h-5 text-emerald-400 shrink-0"}),M.type==="error"&&c.jsx(Yf,{className:"w-5 h-5 text-rose-400 shrink-0"}),M.type==="info"&&c.jsx(ay,{className:"w-5 h-5 text-indigo-400 shrink-0"}),c.jsx("span",{className:"text-sm font-medium",children:M.msg}),c.jsx("button",{onClick:()=>T(M.id),className:"ml-2 text-zinc-400 hover:text-white p-0.5 rounded-lg hover:bg-white/10 transition-colors",children:c.jsx(Vf,{className:"w-4 h-4"})})]},M.id))})]})}function Ji(){const o=H.useContext(bh);if(!o)throw new Error("useToast must be used within ToastProvider");return o}function ph({isOpen:o,title:p,content:O,confirmText:r="确定",cancelText:T="取消",isDanger:M=!1,onConfirm:$,onCancel:q}){return o?c.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/70 backdrop-blur-sm animate-in fade-in duration-200",children:c.jsxs("div",{className:"relative w-full max-w-md p-6 bg-zinc-900 border border-zinc-800 rounded-2xl shadow-2xl text-zinc-100 animate-in zoom-in-95 duration-200",children:[c.jsxs("div",{className:"flex items-start gap-4",children:[c.jsx("div",{className:`p-3 rounded-xl shrink-0 ${M?"bg-rose-500/10 text-rose-400":"bg-indigo-500/10 text-indigo-400"}`,children:c.jsx(vy,{className:"w-6 h-6"})}),c.jsxs("div",{className:"flex-1",children:[c.jsx("h3",{className:"text-base font-semibold text-zinc-100",children:p}),c.jsx("div",{className:"mt-2 text-sm text-zinc-400 leading-relaxed whitespace-pre-wrap",children:O})]}),c.jsx("button",{onClick:q,className:"text-zinc-500 hover:text-zinc-300 p-1 rounded-lg hover:bg-zinc-800 transition-colors",children:c.jsx(Vf,{className:"w-5 h-5"})})]}),c.jsxs("div",{className:"flex justify-end gap-3 mt-6",children:[c.jsx("button",{onClick:q,className:"px-4 py-2 text-sm font-medium text-zinc-300 bg-zinc-800 hover:bg-zinc-700/80 rounded-xl transition-colors cursor-pointer",children:T}),c.jsx("button",{onClick:$,className:`px-4 py-2 text-sm font-medium text-white rounded-xl transition-all cursor-pointer shadow-lg ${M?"bg-rose-600 hover:bg-rose-500 shadow-rose-950/50":"bg-emerald-600 hover:bg-emerald-500 shadow-emerald-950/50"}`,children:r})]})]})}):null}function wy({selectedId:o,onSelectTask:p,onCreateTask:O,onRerunTask:r,backendInfo:T,onRefreshBackends:M,onManageToken:$}){const{addToast:q}=Ji(),[k,I]=H.useState([]),[D,S]=H.useState(0),[j,X]=H.useState(1),[le,ie]=H.useState(""),[F,De]=H.useState(""),[ve,Re]=H.useState(""),[Z,R]=H.useState("desc"),[se,Q]=H.useState(!1),[P,Ve]=H.useState([]),[qe,Ae]=H.useState(!1),[Ne,Le]=H.useState({isOpen:!1,title:"",content:"",isDanger:!1,onConfirm:null}),Ye=async(w=j)=>{Ae(!0);try{if(se){const G=await Tm({trash:!0});Ve(G.jobs||[])}else{const G=await Tm({page:w,limit:20,q:le.trim(),status:F,kind:ve,sort:Z});I(G.jobs||[]),S(G.total||0)}}catch(G){console.error(G)}finally{Ae(!1)}};H.useEffect(()=>{Ye(1),X(1)},[le,F,ve,Z,se]),H.useEffect(()=>{const w=setInterval(()=>{se||Ye(j)},5e3);return()=>clearInterval(w)},[j,le,F,ve,Z,se]);const je=async w=>{try{const G=await gh(w);q(`任务 #${w.substring(0,8)} 已插队到第 ${G.queue_position} 位`,"success"),Ye(j)}catch(G){q("插队失败: "+G.message,"error")}},A=async w=>{try{await jy(w),q("已将任务移入回收站","info"),o===w&&O(),Ye(j)}catch(G){q("删除失败: "+G.message,"error")}},K=async w=>{try{await Ey(w),q("任务已从回收站恢复","success"),Ye()}catch(G){q("恢复失败: "+G.message,"error")}},J=()=>{Le({isOpen:!0,title:"重置整个服务的 GPU 显存",content:`确定要触发硬重启?
这会打断当前正在执行的任务(如果有),并重启后端的 Ray 与推理进程以回收显存泄露。
大约需要耗时 15-20 秒,重置完成前无法提交新任务。`,isDanger:!0,onConfirm:async()=>{Le(w=>({...w,isOpen:!1}));try{await Ay(),q("已触发 GPU 重启,正在回收显存…","info"),M&&M()}catch(w){q("重置失败: "+w.message,"error")}}})},de=Math.max(1,Math.ceil(D/20));return c.jsxs("aside",{className:"w-full md:w-[390px] lg:w-[420px] shrink-0 border-r border-slate-200 bg-white flex flex-col h-full select-none shadow-xs",children:[c.jsxs("div",{className:"p-4 border-b border-slate-200 flex flex-col gap-3",children:[c.jsxs("div",{className:"flex items-center justify-between",children:[c.jsxs("div",{className:"flex items-center gap-2",children:[c.jsx("div",{className:"w-2.5 h-2.5 rounded-full bg-emerald-500 shadow-xs shadow-emerald-500/50"}),c.jsx("h1",{className:"text-sm font-bold tracking-wide text-slate-800",children:"H3 Console"})]}),c.jsx("span",{className:"text-[11px] font-mono text-slate-400",children:"AI Video Studio"})]}),c.jsxs("button",{onClick:O,className:`w-full py-2.5 px-4 rounded-xl text-xs font-semibold flex items-center justify-center gap-2 transition-all cursor-pointer shadow-xs ${!se&&!o?"bg-emerald-600 hover:bg-emerald-700 text-white shadow-emerald-600/30":"bg-slate-50 hover:bg-slate-100 text-slate-700 border border-slate-200"}`,children:[c.jsx(sy,{className:"w-4 h-4 text-emerald-500"}),c.jsx("span",{children:"新建生成任务"})]})]}),se?c.jsxs("div",{className:"p-3 border-b border-slate-200 flex items-center justify-between bg-slate-100/70",children:[c.jsxs("span",{className:"text-xs font-semibold text-slate-700 flex items-center gap-1.5",children:[c.jsx(Gf,{className:"w-4 h-4 text-rose-500"}),c.jsx("span",{children:"回收站视图"})]}),c.jsx("button",{onClick:()=>Q(!1),className:"text-xs text-emerald-600 hover:underline cursor-pointer font-medium",children:"← 返回列表"})]}):c.jsxs("div",{className:"p-3 border-b border-slate-200 flex flex-col gap-2 bg-slate-50/60",children:[c.jsxs("div",{className:"relative",children:[c.jsx(fy,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-3.5 h-3.5 text-slate-400"}),c.jsx("input",{type:"text",placeholder:"搜索 Prompt 或任务 ID…",value:le,onChange:w=>ie(w.target.value),className:"w-full pl-8 pr-3 py-1.5 bg-white border border-slate-200 rounded-xl text-xs text-slate-800 placeholder-slate-400 outline-none focus:border-emerald-500 focus:ring-1 focus:ring-emerald-500/20 transition-all"})]}),c.jsxs("div",{className:"flex items-center gap-1.5",children:[c.jsxs("select",{value:F,onChange:w=>De(w.target.value),className:"flex-1 bg-white border border-slate-200 rounded-xl px-2 py-1.5 text-xs text-slate-700 outline-none focus:border-emerald-500 cursor-pointer",children:[c.jsx("option",{value:"",children:"全部状态"}),c.jsx("option",{value:"queued",children:"排队中"}),c.jsx("option",{value:"running",children:"运行中"}),c.jsx("option",{value:"done",children:"已完成"}),c.jsx("option",{value:"failed",children:"失败"}),c.jsx("option",{value:"cancelled",children:"已取消"})]}),c.jsxs("select",{value:ve,onChange:w=>Re(w.target.value),className:"flex-1 bg-white border border-slate-200 rounded-xl px-2 py-1.5 text-xs text-slate-700 outline-none focus:border-emerald-500 cursor-pointer",children:[c.jsx("option",{value:"",children:"全部类型"}),c.jsx("option",{value:"text",children:"文生视频"}),c.jsx("option",{value:"fl2va",children:"首尾帧"}),c.jsx("option",{value:"ref2va",children:"多参考图"})]}),c.jsx("button",{onClick:()=>R(Z==="desc"?"asc":"desc"),className:"p-1.5 bg-white hover:bg-slate-100 border border-slate-200 rounded-xl text-slate-600 transition-colors cursor-pointer shrink-0",title:"切换排序",children:c.jsx(Qx,{className:"w-3.5 h-3.5"})})]})]}),c.jsx("div",{className:"flex-1 overflow-y-auto p-3 flex flex-col gap-2.5 bg-slate-50/40",children:se?P.length>0?P.map(w=>c.jsxs("div",{className:"p-3 bg-white border border-slate-200 rounded-xl flex items-center justify-between text-xs shadow-xs",children:[c.jsxs("div",{className:"min-w-0 flex-1 pr-2",children:[c.jsxs("span",{className:"font-mono text-slate-500 font-semibold",children:["#",w.id.substring(0,8)]}),c.jsx("p",{className:"text-slate-700 truncate mt-0.5",children:w.req?.prompt||"(无 prompt)"})]}),c.jsx("button",{onClick:()=>K(w.id),className:"px-3 py-1 bg-emerald-50 hover:bg-emerald-100 text-emerald-700 border border-emerald-200 rounded-lg shrink-0 cursor-pointer transition-colors font-medium",children:"恢复"})]},w.id)):c.jsx("div",{className:"py-12 text-center text-xs text-slate-400",children:"回收站是空的"}):k.length>0?k.map(w=>c.jsx(Ny,{job:w,isSelected:o===w.id,onSelect:p,onRerun:r,onPrioritize:je,onDelete:A},w.id)):c.jsx("div",{className:"py-12 text-center text-xs text-slate-400",children:qe?"正在加载任务…":"暂无符合筛选条件的任务"})}),!se&&D>0&&c.jsxs("div",{className:"p-3 border-t border-slate-200 bg-white flex items-center justify-between text-xs text-slate-600",children:[c.jsxs("div",{className:"flex items-center gap-1",children:[c.jsx("button",{disabled:j<=1,onClick:()=>{const w=j-1;X(w),Ye(w)},className:"p-1 hover:bg-slate-100 disabled:opacity-30 rounded-lg cursor-pointer transition-colors",children:c.jsx(Lx,{className:"w-4 h-4"})}),c.jsxs("span",{className:"font-medium",children:[j," / ",de]}),c.jsx("button",{disabled:j>=de,onClick:()=>{const w=j+1;X(w),Ye(w)},className:"p-1 hover:bg-slate-100 disabled:opacity-30 rounded-lg cursor-pointer transition-colors",children:c.jsx(Zx,{className:"w-4 h-4"})})]}),c.jsxs("span",{className:"text-[11px] text-slate-400",children:["共 ",D," 条记录"]})]}),c.jsxs("div",{className:"p-3 border-t border-slate-200 bg-slate-50/80 flex flex-col gap-2",children:[T&&c.jsxs("div",{className:"flex items-center justify-between text-[11px] text-slate-600 bg-white px-2.5 py-1.5 rounded-lg border border-slate-200 font-mono shadow-xs",children:[c.jsxs("div",{className:"flex items-center gap-1.5",children:[c.jsx(ry,{className:"w-3.5 h-3.5 text-emerald-600"}),c.jsxs("span",{className:"font-semibold",children:["GPU: ",T.ready,"/",T.total," 就绪"]})]}),c.jsxs("span",{className:"text-slate-400",children:["fl2va: ",T.partitions?.fl2va||0," | ref2va: ",T.partitions?.ref2va||0]})]}),c.jsxs("div",{className:"flex items-center gap-3 text-[11px] text-slate-500",children:[c.jsx("a",{href:`${ul()}/docs/api.md`,target:"_blank",rel:"noreferrer",className:"hover:text-slate-800 underline-offset-2 hover:underline",children:"API 文档"}),c.jsx("a",{href:`${ul()}/skill.md`,target:"_blank",rel:"noreferrer",className:"hover:text-slate-800 underline-offset-2 hover:underline",children:"skill.md"})]}),c.jsxs("div",{className:"flex items-center justify-between pt-1 text-[11px]",children:[c.jsxs("button",{onClick:()=>Q(!se),className:"flex items-center gap-1 text-slate-500 hover:text-slate-800 transition-colors cursor-pointer",children:[c.jsx(Gf,{className:"w-3.5 h-3.5"}),c.jsx("span",{children:"回收站"})]}),c.jsxs("button",{onClick:$,className:"flex items-center gap-1 text-slate-500 hover:text-slate-800 transition-colors cursor-pointer font-mono",title:"点击配置访问令牌",children:[c.jsx(ny,{className:"w-3.5 h-3.5 text-emerald-600"}),c.jsx("span",{children:Ki()?"Token:已配":"Token:未设"})]}),c.jsxs("button",{onClick:J,className:"flex items-center gap-1 text-amber-600 hover:text-amber-700 transition-colors cursor-pointer font-medium",title:"硬重启服务打断任务并回收显存",children:[c.jsx(nh,{className:"w-3.5 h-3.5"}),c.jsx("span",{children:"重置显存"})]})]})]}),c.jsx(ph,{isOpen:Ne.isOpen,title:Ne.title,content:Ne.content,isDanger:Ne.isDanger,onConfirm:Ne.onConfirm,onCancel:()=>Le(w=>({...w,isOpen:!1}))})]})}function ou({label:o,accept:p="image/*",type:O="image",multiple:r=!1,maxCount:T=99,value:M,onChange:$,hint:q}){const[k,I]=H.useState(""),[D,S]=H.useState(!1),[j,X]=H.useState(!1),le=H.useRef(null),ie=r?Array.isArray(M)?M:[]:M?[M]:[],F=async Z=>{if(!(!Z||Z.length===0)){S(!0);try{const R=[];for(const se of Array.from(Z)){if(ie.length+R.length>=T)break;const Q=await Ty(se);Q.url&&R.push(Q.url)}r?$([...ie,...R].slice(0,T)):R.length>0&&$(R[0])}catch(R){alert("上传失败: "+R.message)}finally{S(!1),le.current&&(le.current.value="")}}},De=Z=>{if(Z.key==="Enter"){Z.preventDefault();const R=k.trim();if(!R)return;if(r){if(ie.length>=T){alert(`最多只允许添加 ${T} 个`);return}$([...ie,R])}else $(R);I("")}},ve=Z=>{if(r){const R=ie.filter((se,Q)=>Q!==Z);$(R)}else $(null)},Re=Z=>{const R=Z.clipboardData?.files;R&&R.length>0&&(Z.preventDefault(),F(R))};return c.jsxs("div",{className:"flex flex-col gap-2.5",onPaste:Re,children:[c.jsxs("div",{className:"flex items-center justify-between",children:[c.jsxs("label",{className:"text-xs font-semibold uppercase tracking-wider text-zinc-300",children:[o," ",T<99&&c.jsxs("span",{className:"text-zinc-500 font-normal",children:["(",ie.length,"/",T,")"]})]}),q&&c.jsx("span",{className:"text-xs text-zinc-500",children:q})]}),(ie.length<T||!r)&&c.jsxs("div",{onDragOver:Z=>{Z.preventDefault(),X(!0)},onDragLeave:()=>X(!1),onDrop:Z=>{Z.preventDefault(),X(!1),F(Z.dataTransfer.files)},className:`relative border-2 border-dashed rounded-xl p-3.5 transition-all flex flex-col sm:flex-row items-center gap-3 bg-zinc-900/60 ${j?"border-emerald-500 bg-emerald-950/20 shadow-inner":"border-zinc-800 hover:border-zinc-700"}`,children:[c.jsx("input",{type:"file",ref:le,accept:p,multiple:r,className:"hidden",onChange:Z=>F(Z.target.files)}),c.jsxs("button",{type:"button",disabled:D,onClick:()=>le.current?.click(),className:"w-full sm:w-auto px-4 py-2 bg-zinc-800 hover:bg-zinc-700/80 text-zinc-200 text-xs font-medium rounded-lg flex items-center justify-center gap-2 border border-zinc-700/60 transition-colors shrink-0 cursor-pointer shadow-sm disabled:opacity-50",children:[c.jsx(xy,{className:"w-4 h-4 text-emerald-400"}),c.jsx("span",{children:D?"正在上传…":"选择或拖拽文件"})]}),c.jsxs("div",{className:"relative flex-1 w-full",children:[c.jsx(iy,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-3.5 h-3.5 text-zinc-500"}),c.jsx("input",{type:"url",placeholder:"或粘贴 URL,回车添加(支持 Ctrl+V 粘贴截图)",value:k,onChange:Z=>I(Z.target.value),onKeyDown:De,className:"w-full pl-9 pr-3 py-1.5 bg-zinc-950/60 border border-zinc-800 focus:border-emerald-500/60 focus:ring-1 focus:ring-emerald-500/40 rounded-lg text-xs text-zinc-200 placeholder-zinc-500 outline-none transition-all"})]})]}),ie.length>0&&c.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-3 mt-1",children:ie.map((Z,R)=>{const se=py(Z);return c.jsxs("div",{className:"group relative bg-zinc-900 border border-zinc-800 rounded-xl overflow-hidden flex flex-col shadow-md hover:border-zinc-700 transition-all",children:[c.jsxs("div",{className:"relative aspect-video bg-black flex items-center justify-center overflow-hidden",children:[O==="image"&&c.jsx("img",{src:ru(Z),alt:se,className:"w-full h-full object-cover transition-transform group-hover:scale-105 duration-300"}),O==="video"&&c.jsx("video",{src:Zi(Z),controls:!0,className:"w-full h-full object-contain bg-black"}),O==="audio"&&c.jsxs("div",{className:"p-2 w-full flex flex-col items-center justify-center gap-1 text-zinc-400",children:[c.jsx(ey,{className:"w-6 h-6 text-emerald-400 mb-1"}),c.jsx("audio",{src:Zi(Z),controls:!0,className:"w-full h-8"})]}),c.jsxs("div",{className:"absolute top-1.5 right-1.5 flex gap-1 z-10",children:[c.jsx("a",{href:Z,target:"_blank",rel:"noreferrer",className:"p-1 bg-black/60 hover:bg-black/90 text-zinc-300 hover:text-white rounded-md backdrop-blur-md transition-colors",title:"打开原图",children:c.jsx(ly,{className:"w-3.5 h-3.5"})}),c.jsx("button",{type:"button",onClick:()=>ve(R),className:"p-1 bg-rose-950/80 hover:bg-rose-600 text-rose-300 hover:text-white rounded-md backdrop-blur-md transition-colors cursor-pointer",title:"删除",children:c.jsx(Vf,{className:"w-3.5 h-3.5"})})]})]}),c.jsx("div",{className:"px-2.5 py-1.5 bg-zinc-900/90 text-[11px] text-zinc-400 truncate border-t border-zinc-800/80 font-mono",title:se,children:se||"媒体文件"})]},R)})})]})}const Xi=[{value:"1344x768",width:1344,height:768,label:"1344×768 (横屏 · 官方默认)",maxFrames:412,isLandscape:!0,aspect:"16:9"},{value:"768x1344",width:768,height:1344,label:"768×1344 (竖屏 · 官方默认)",maxFrames:412,isLandscape:!1,aspect:"9:16"},{value:"832x480",width:832,height:480,label:"832×480 (横屏 · 标准)",maxFrames:1125,isLandscape:!0,aspect:"16:9"},{value:"480x832",width:480,height:832,label:"480×832 (竖屏 · 推荐短剧)",maxFrames:1125,isLandscape:!1,aspect:"9:16"},{value:"1024x576",width:1024,height:576,label:"1024×576 (横屏 · 高清)",maxFrames:743,isLandscape:!0,aspect:"16:9"},{value:"576x1024",width:576,height:1024,label:"576×1024 (竖屏 · 高清)",maxFrames:743,isLandscape:!1,aspect:"9:16"},{value:"448x256",width:448,height:256,label:"448×256 (横屏 · 超长)",maxFrames:1200,isLandscape:!0,aspect:"16:9"},{value:"256x448",width:256,height:448,label:"256×448 (竖屏 · 超长)",maxFrames:1200,isLandscape:!1,aspect:"9:16"}],jm="480x832",qf="243",Vi=[{value:"124",frames:124,label:"5秒 (124帧)"},{value:"243",frames:243,label:"10秒 (243帧 · 默认)"},{value:"362",frames:362,label:"15秒 (362帧)"},{value:"412",frames:412,label:"17秒 (412帧 · 1344上限)"},{value:"600",frames:600,label:"25秒 (600帧)"},{value:"743",frames:743,label:"31秒 (743帧 · 1024上限)"},{value:"900",frames:900,label:"37.5秒 (900帧)"},{value:"1125",frames:1125,label:"47秒 (1125帧 · 832上限)"},{value:"1200",frames:1200,label:"50秒 (1200帧 · 256画质上限)"}],Uy={true:[{value:"4",label:"4 步 (极速推荐 · LoRA 蒸馏)"},{value:"8",label:"8 步 (上限)"}],false:[{value:"20",label:"20 步 (平衡标准)"},{value:"50",label:"50 步 (全质量 · 约9.6倍耗时)"}]},Ry=[{value:"0",label:"0 (默认固定)"},{value:"42",label:"42"},{value:"123",label:"123"},{value:"2024",label:"2024"},{value:"random",label:"🎲 随机 Seed"}];function Hy({initialValues:o,onCreated:p}){const{addToast:O}=Ji(),[r,T]=H.useState("text"),[M,$]=H.useState(""),[q,k]=H.useState(jm),[I,D]=H.useState(qf),[S,j]=H.useState(!1),[X,le]=H.useState("20"),[ie,F]=H.useState("0"),[De,ve]=H.useState(""),[Re,Z]=H.useState(""),[R,se]=H.useState(!1),[Q,P]=H.useState(!1),[Ve,qe]=H.useState(""),[Ae,Ne]=H.useState(null),[Le,Ye]=H.useState(null),[je,A]=H.useState([]),[K,J]=H.useState([]),[de,w]=H.useState([]);H.useEffect(()=>{if(!o)return;const N=o;N.first_frame_url||N.last_frame_url?(T("fl2va"),Ne(N.first_frame_url||null),Ye(N.last_frame_url||null)):(N.reference_image_urls||[]).length||(N.reference_video_urls||[]).length||(N.reference_audio_urls||[]).length?(T("ref2va"),A(N.reference_image_urls||[]),J(N.reference_video_urls||[]),w(N.reference_audio_urls||[])):T("text"),$(N.prompt||"");const fe=Xi.find(B=>B.width===N.width&&B.height===N.height);fe&&k(fe.value);const ae=Vi.find(B=>B.frames===N.frames);ae&&D(ae.value);const ce=N.turbo!==!1;j(ce),N.steps!=null&&le(String(N.steps)),N.seed!=null&&F(String(N.seed)),N.cfg_scale!=null&&ve(String(N.cfg_scale)),N.negative_prompt&&Z(N.negative_prompt)},[o]);const G=Xi.find(N=>N.value===q)||Xi[0],Ee=Vi.filter(N=>N.frames<=G.maxFrames),il=Vi.filter(N=>N.frames>G.maxFrames);H.useEffect(()=>{Ee.some(N=>N.value===I)||D(Ee[0]?.value||qf)},[q]);const m=Uy[S];H.useEffect(()=>{m.some(N=>N.value===X)||le(m[0].value)},[S]);const E=()=>{confirm("确定清空当前表单所有内容?")&&($(""),k(jm),D(qf),j(!1),le("20"),F("0"),ve(""),Z(""),Ne(null),Ye(null),A([]),J([]),w([]),qe(""),O("已恢复默认配置","info"))},V=async N=>{if(N.preventDefault(),qe(""),!M.trim()){qe("请填写 Prompt 提示词");return}const fe=Vi.find(ce=>ce.value===I),ae={prompt:M.trim(),width:G.width,height:G.height,frames:fe?fe.frames:243,turbo:S,steps:parseInt(X,10),seed:ie==="random"?Math.floor(Math.random()*2**31):parseInt(ie,10)};if(De.trim()!==""&&(ae.cfg_scale=parseFloat(De)),Re.trim()!==""&&(ae.negative_prompt=Re.trim()),r==="fl2va"){if(!Ae){qe("首尾帧模式下必须上传【首帧图】");return}ae.first_frame_url=Ae,Le&&(ae.last_frame_url=Le)}else if(r==="ref2va"){if(je.length===0&&K.length===0&&de.length===0){qe("参考模式下至少需要上传 1 张参考图、1 段参考视频或 1 个音频");return}ae.reference_image_urls=je,ae.reference_video_urls=K,ae.reference_audio_urls=de}P(!0);try{const ce=await _y(ae);O(`任务提交成功 (#${ce.id.substring(0,8)})`,"success"),p(ce.id)}catch(ce){qe("提交失败: "+ce.message),O("提交失败: "+ce.message,"error")}finally{P(!1)}};return c.jsxs("div",{className:"max-w-4xl mx-auto py-6 px-4 sm:px-8",children:[c.jsx("div",{className:"flex items-center gap-1.5 p-1.5 bg-slate-100 dark:bg-zinc-900 border border-slate-200 dark:border-zinc-800 rounded-2xl w-fit shadow-xs mb-6",children:[{key:"text",label:"文生视频",desc:"Text to Video"},{key:"fl2va",label:"首尾帧生视频",desc:"FL2VA"},{key:"ref2va",label:"多参考图生视频",desc:"Ref2VA"}].map(N=>c.jsxs("button",{onClick:()=>T(N.key),className:`flex flex-col items-start px-4 py-2 rounded-xl text-xs transition-all cursor-pointer ${r===N.key?"bg-emerald-600 text-white font-semibold shadow-sm":"text-slate-600 hover:text-slate-900 hover:bg-white/80 dark:text-zinc-400 dark:hover:text-zinc-200 dark:hover:bg-zinc-800/60"}`,children:[c.jsx("span",{children:N.label}),c.jsx("span",{className:`text-[10px] ${r===N.key?"text-emerald-100":"text-slate-400 dark:text-zinc-500"}`,children:N.desc})]},N.key))}),c.jsxs("form",{onSubmit:V,className:"flex flex-col gap-6",children:[c.jsxs("div",{className:"bg-white dark:bg-zinc-900 border border-slate-200 dark:border-zinc-800 rounded-2xl p-5 shadow-xs",children:[c.jsxs("div",{className:"flex items-center justify-between mb-2.5",children:[c.jsxs("label",{className:"text-xs font-bold uppercase tracking-wider text-slate-700 dark:text-zinc-300 flex items-center gap-2",children:[c.jsx(hy,{className:"w-3.5 h-3.5 text-emerald-600 dark:text-emerald-400"}),c.jsx("span",{children:"Prompt 提示词"})]}),c.jsxs("span",{className:"text-xs text-slate-400 dark:text-zinc-500",children:[M.length," 字"]})]}),c.jsx("textarea",{rows:5,value:M,onChange:N=>$(N.target.value),placeholder:r==="fl2va"?"描述首帧到尾帧之间的动态演变过程,例如:女子缓缓端起茶杯,轻轻抿了一口,微风拂动发丝...":"描述您想要生成的电影级视频画面、光影运镜与角色动作...",className:"w-full bg-slate-50 dark:bg-zinc-950/70 border border-slate-200 dark:border-zinc-800 focus:bg-white focus:border-emerald-500 focus:ring-1 focus:ring-emerald-500/20 rounded-xl p-3.5 text-sm text-slate-900 dark:text-zinc-100 placeholder-slate-400 dark:placeholder-zinc-500 outline-none transition-all resize-y min-h-[120px] leading-relaxed"})]}),r==="fl2va"&&c.jsxs("div",{className:"bg-white dark:bg-zinc-900 border border-slate-200 dark:border-zinc-800 rounded-2xl p-5 shadow-xs flex flex-col gap-5",children:[c.jsx(ou,{label:"首帧图片 (必填)",accept:"image/*",type:"image",value:Ae,onChange:Ne,hint:"视频起始画面"}),c.jsx("div",{className:"border-t border-slate-100 dark:border-zinc-800/80 pt-4",children:c.jsx(ou,{label:"尾帧图片 (可选)",accept:"image/*",type:"image",value:Le,onChange:Ye,hint:"视频结束画面,不填则自由发散"})})]}),r==="ref2va"&&c.jsxs("div",{className:"bg-white dark:bg-zinc-900 border border-slate-200 dark:border-zinc-800 rounded-2xl p-5 shadow-xs flex flex-col gap-5",children:[c.jsx(ou,{label:"参考图片 (可多选)",accept:"image/*",type:"image",multiple:!0,value:je,onChange:A,hint:"角色/场景设定图,无数量限制"}),c.jsx("div",{className:"border-t border-slate-100 dark:border-zinc-800/80 pt-4",children:c.jsx(ou,{label:"参考视频 (可选 · 最多3段)",accept:"video/*",type:"video",multiple:!0,maxCount:3,value:K,onChange:J,hint:"2-15秒动态参考,自动保留音轨"})}),c.jsx("div",{className:"border-t border-slate-100 dark:border-zinc-800/80 pt-4",children:c.jsx(ou,{label:"独立音频参考 (可选 · 最多3首)",accept:"audio/*",type:"audio",multiple:!0,maxCount:3,value:de,onChange:w,hint:"背景音乐或台词声音参考"})})]}),c.jsxs("div",{className:"bg-white dark:bg-zinc-900 border border-slate-200 dark:border-zinc-800 rounded-2xl p-5 shadow-xs flex flex-col gap-5",children:[c.jsxs("div",{className:"flex items-center gap-2 text-xs font-bold uppercase tracking-wider text-slate-700 dark:text-zinc-300",children:[c.jsx(my,{className:"w-3.5 h-3.5 text-emerald-600 dark:text-emerald-400"}),c.jsx("span",{children:"生成参数与画质规格"})]}),c.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[c.jsxs("div",{className:"flex flex-col gap-1.5",children:[c.jsx("label",{className:"text-xs text-slate-600 dark:text-zinc-400 font-medium",children:"分辨率与画幅"}),c.jsx("select",{value:q,onChange:N=>k(N.target.value),className:"bg-slate-50 dark:bg-zinc-950/80 border border-slate-200 dark:border-zinc-800 rounded-xl px-3 py-2.5 text-xs text-slate-800 dark:text-zinc-200 outline-none focus:border-emerald-500 cursor-pointer",children:Xi.map(N=>c.jsx("option",{value:N.value,children:N.label},N.value))})]}),c.jsxs("div",{className:"flex flex-col gap-1.5",children:[c.jsx("label",{className:"text-xs text-slate-600 dark:text-zinc-400 font-medium",children:"生成时长 (帧数)"}),c.jsx("select",{value:I,onChange:N=>D(N.target.value),className:"bg-slate-50 dark:bg-zinc-950/80 border border-slate-200 dark:border-zinc-800 rounded-xl px-3 py-2.5 text-xs text-slate-800 dark:text-zinc-200 outline-none focus:border-emerald-500 cursor-pointer",children:Ee.map(N=>c.jsx("option",{value:N.value,children:N.label},N.value))})]})]}),il.length>0&&c.jsxs("div",{className:"flex items-center gap-2 p-2.5 bg-amber-50 border border-amber-200 dark:bg-amber-950/30 dark:border-amber-600/30 rounded-xl text-xs text-amber-800 dark:text-amber-300",children:[c.jsx(Yf,{className:"w-4 h-4 shrink-0 text-amber-600 dark:text-amber-400"}),c.jsxs("span",{children:[G.label," 实测上限 ",G.maxFrames," 帧,已自动过滤超出显存承受的超长档位。"]})]}),c.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4 pt-3 border-t border-slate-100 dark:border-zinc-800/80 items-center",children:[c.jsxs("div",{className:"flex flex-col gap-1.5",children:[c.jsx("label",{className:"text-xs text-slate-600 dark:text-zinc-400 font-medium",children:"Turbo 加速 LoRA"}),c.jsxs("div",{className:"flex p-1 bg-slate-100 dark:bg-zinc-950/80 border border-slate-200 dark:border-zinc-800 rounded-xl",children:[c.jsx("button",{type:"button",onClick:()=>j(!1),className:`flex-1 py-1.5 text-xs font-medium rounded-lg transition-colors cursor-pointer ${S?"text-slate-500 dark:text-zinc-400 hover:text-slate-800":"bg-white dark:bg-zinc-800 text-slate-800 dark:text-white shadow-xs"}`,children:"关 (稳健多步)"}),c.jsx("button",{type:"button",onClick:()=>j(!0),className:`flex-1 py-1.5 text-xs font-medium rounded-lg transition-colors cursor-pointer ${S?"bg-emerald-600 text-white shadow-xs":"text-slate-500 dark:text-zinc-400 hover:text-slate-800"}`,children:"开 (4步极速)"})]})]}),c.jsxs("div",{className:"flex flex-col gap-1.5",children:[c.jsx("label",{className:"text-xs text-slate-600 dark:text-zinc-400 font-medium",children:"采样步数 (Steps)"}),c.jsx("select",{value:X,onChange:N=>le(N.target.value),className:"bg-slate-50 dark:bg-zinc-950/80 border border-slate-200 dark:border-zinc-800 rounded-xl px-3 py-2 text-xs text-slate-800 dark:text-zinc-200 outline-none focus:border-emerald-500 cursor-pointer",children:m.map(N=>c.jsx("option",{value:N.value,children:N.label},N.value))})]}),c.jsxs("div",{className:"flex flex-col gap-1.5",children:[c.jsx("label",{className:"text-xs text-slate-600 dark:text-zinc-400 font-medium",children:"随机种子 (Seed)"}),c.jsx("select",{value:ie,onChange:N=>F(N.target.value),className:"bg-slate-50 dark:bg-zinc-950/80 border border-slate-200 dark:border-zinc-800 rounded-xl px-3 py-2 text-xs text-slate-800 dark:text-zinc-200 outline-none focus:border-emerald-500 cursor-pointer",children:Ry.map(N=>c.jsx("option",{value:N.value,children:N.label},N.value))})]})]}),c.jsxs("div",{className:"pt-2",children:[c.jsxs("button",{type:"button",onClick:()=>se(!R),className:"flex items-center gap-1.5 text-xs font-medium text-slate-600 dark:text-zinc-400 hover:text-slate-900 dark:hover:text-zinc-200 transition-colors cursor-pointer",children:[c.jsx("span",{children:"高级调参 (CFG / 负面提示词)"}),R?c.jsx(Kx,{className:"w-3.5 h-3.5"}):c.jsx(Vx,{className:"w-3.5 h-3.5"})]}),R&&c.jsxs("div",{className:"mt-3 p-4 bg-slate-50 dark:bg-zinc-950/50 border border-slate-200 dark:border-zinc-800/80 rounded-xl flex flex-col gap-4",children:[c.jsxs("div",{className:"flex flex-col gap-1.5",children:[c.jsx("label",{className:"text-xs text-slate-600 dark:text-zinc-400",children:"CFG Scale (留空默认 1.0)"}),c.jsx("input",{type:"number",step:"0.1",min:"0",placeholder:"留空 = 1.0 (蒸馏 LoRA 调太高易出伪影)",value:De,onChange:N=>ve(N.target.value),className:"bg-white dark:bg-zinc-900 border border-slate-200 dark:border-zinc-800 rounded-xl px-3 py-2 text-xs text-slate-800 dark:text-zinc-200 outline-none focus:border-emerald-500"})]}),c.jsxs("div",{className:"flex flex-col gap-1.5",children:[c.jsx("label",{className:"text-xs text-slate-600 dark:text-zinc-400",children:"负面提示词 Negative Prompt"}),c.jsx("textarea",{rows:2,placeholder:"例如:模糊,低画质,肢体变形,拖影,五官扭曲",value:Re,onChange:N=>Z(N.target.value),className:"bg-white dark:bg-zinc-900 border border-slate-200 dark:border-zinc-800 rounded-xl p-2.5 text-xs text-slate-800 dark:text-zinc-200 outline-none focus:border-emerald-500 resize-none"})]})]})]})]}),Ve&&c.jsxs("div",{className:"p-3 bg-rose-50 border border-rose-200 dark:bg-rose-950/60 dark:border-rose-500/40 rounded-xl text-xs text-rose-700 dark:text-rose-300 flex items-center gap-2",children:[c.jsx(Yf,{className:"w-4 h-4 shrink-0 text-rose-500"}),c.jsx("span",{children:Ve})]}),c.jsxs("div",{className:"flex items-center justify-end gap-3 pb-8",children:[c.jsx("button",{type:"button",onClick:E,className:"px-5 py-2.5 bg-slate-100 hover:bg-slate-200 dark:bg-zinc-800 dark:hover:bg-zinc-700 text-slate-700 dark:text-zinc-300 text-xs font-medium rounded-xl transition-colors cursor-pointer border border-slate-200 dark:border-zinc-700",children:"清空表单"}),c.jsxs("button",{type:"submit",disabled:Q,className:"px-7 py-2.5 bg-emerald-600 hover:bg-emerald-700 text-white text-xs font-semibold rounded-xl transition-all shadow-md shadow-emerald-600/30 flex items-center gap-2 cursor-pointer disabled:opacity-50",children:[Q?c.jsx(nh,{className:"w-4 h-4 animate-spin"}):c.jsx(oy,{className:"w-4 h-4"}),c.jsx("span",{children:Q?"正在提交…":"立即生成视频"})]})]})]})]})}function qy({taskId:o,onBack:p,onRerun:O}){const{addToast:r}=Ji(),[T,M]=H.useState(null),[$,q]=H.useState(!0),[k,I]=H.useState(!1),[D,S]=H.useState(null),[j,X]=H.useState(!1),[le,ie]=H.useState(!1),[F,De]=H.useState(!1),[ve,Re]=H.useState({isOpen:!1,title:"",content:"",isDanger:!1,onConfirm:null}),Z=async()=>{try{const G=await zy(o);M(G)}catch(G){console.error(G)}finally{q(!1)}};if(H.useEffect(()=>{Z();const G=setInterval(()=>{T&&(T.status==="queued"||T.status==="running")&&Z()},2500);return()=>clearInterval(G)},[o,T?.status]),$&&!T)return c.jsx("div",{className:"flex-1 flex items-center justify-center text-slate-500 text-sm",children:c.jsxs("div",{className:"flex items-center gap-2",children:[c.jsx("div",{className:"w-5 h-5 border-2 border-emerald-500 border-t-transparent rounded-full animate-spin"}),c.jsx("span",{children:"正在加载任务详情…"})]})});if(!T)return c.jsxs("div",{className:"p-8 text-center flex flex-col items-center gap-4 text-slate-500",children:[c.jsx("p",{children:"未找到该任务或已被彻底删除"}),c.jsx("button",{onClick:p,className:"px-4 py-2 bg-slate-100 hover:bg-slate-200 text-xs rounded-xl text-slate-700 cursor-pointer font-medium",children:"返回创建视图"})]});const R=T.req||{},se=T.status==="done",Q=T.status==="running",P=T.status==="queued",Ve=T.status==="failed",qe=T.status==="cancelled",Ae=T.step||0,Ne=T.total_steps||R.steps||20,Le=Ne>0?Math.min(100,Math.max(Ae>0?5:2,Math.round(Ae/Ne*100))):0,Ye=T.elapsed_seconds||0;let je=null;if(Ae>0&&Ne>Ae){const G=Ye/Ae,Ee=Math.round(G*(Ne-Ae));je=Ee>60?`约 ${Math.round(Ee/60)} 分钟`:`约 ${Ee} 秒`}const A=se?yh(`${ul()}/v1/videos/${T.id}/file`):null,K=()=>{R.prompt&&(navigator.clipboard.writeText(R.prompt),I(!0),r("已复制 Prompt 提示词到剪贴板","success"),setTimeout(()=>I(!1),2e3))},J=async()=>{try{const G=await gh(T.id);r(`已成功插队至第 ${G.queue_position} 位`,"success"),Z()}catch(G){r("插队失败: "+G.message,"error")}},de=G=>{Re({isOpen:!0,title:G?"停止正在运行的任务":"取消排队任务",content:G?`确定停止当前正在运行的任务?
这会硬重启后台 Raylight 服务以释放 GPU 显存(约耗时 15-20 秒),重启完成前将暂时无法提交新任务。`:"确定取消这条排队中的任务?",isDanger:G,onConfirm:async()=>{Re(Ee=>({...Ee,isOpen:!1}));try{await Oy(T.id),r(G?"已发出停止与 GPU 重置指令":"已取消任务","info"),Z()}catch(Ee){r("操作失败: "+Ee.message,"error")}}})},w=async()=>{if(!le&&!D){X(!0);try{const G=await Dy(T.id);S(G)}catch(G){r("获取 ComfyUI History 失败: "+G.message,"error")}finally{X(!1)}}ie(!le)};return c.jsxs("div",{className:"max-w-5xl mx-auto py-6 px-4 sm:px-8 flex flex-col gap-6",children:[c.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-4 pb-4 border-b border-slate-200",children:[c.jsxs("div",{className:"flex items-center gap-3",children:[c.jsx("button",{onClick:p,className:"p-2 hover:bg-slate-100 rounded-xl text-slate-500 hover:text-slate-800 transition-colors cursor-pointer",title:"返回新建",children:c.jsx(Gx,{className:"w-5 h-5"})}),c.jsxs("div",{children:[c.jsxs("div",{className:"flex items-center gap-2.5",children:[c.jsxs("h2",{className:"text-base font-mono font-bold text-slate-800",children:["#",T.id]}),se&&c.jsx("span",{className:"px-2.5 py-0.5 text-xs font-semibold bg-emerald-50 text-emerald-700 border border-emerald-200 rounded-full",children:"已完成"}),Q&&c.jsxs("span",{className:"px-2.5 py-0.5 text-xs font-semibold bg-emerald-50 text-emerald-700 border border-emerald-200 rounded-full flex items-center gap-1.5 animate-pulse",children:[c.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-emerald-500"}),"正在采样 · ",Le,"%"]}),P&&c.jsxs("span",{className:"px-2.5 py-0.5 text-xs font-semibold bg-slate-100 text-slate-700 border border-slate-200 rounded-full",children:["排队中 ",T.queue_position?`(第 ${T.queue_position} 位)`:""]}),Ve&&c.jsx("span",{className:"px-2.5 py-0.5 text-xs font-semibold bg-rose-50 text-rose-700 border border-rose-200 rounded-full",children:"执行失败"}),qe&&c.jsx("span",{className:"px-2.5 py-0.5 text-xs font-semibold bg-slate-100 text-slate-500 border border-slate-200 rounded-full",children:"已取消"})]}),c.jsxs("div",{className:"text-xs text-slate-400 mt-0.5",children:["创建于 ",gy(T.created_at)]})]})]}),c.jsxs("div",{className:"flex items-center gap-2",children:[c.jsxs("button",{onClick:()=>O(T),className:"px-3.5 py-2 bg-slate-50 hover:bg-slate-100 text-slate-700 text-xs font-medium rounded-xl flex items-center gap-1.5 transition-colors cursor-pointer border border-slate-200 shadow-xs",children:[c.jsx(ih,{className:"w-3.5 h-3.5 text-emerald-600"}),c.jsx("span",{children:"复用此任务重跑"})]}),P&&c.jsxs(c.Fragment,{children:[c.jsxs("button",{onClick:J,className:"px-3.5 py-2 bg-indigo-50 hover:bg-indigo-100 text-indigo-700 border border-indigo-200 text-xs font-medium rounded-xl flex items-center gap-1.5 transition-colors cursor-pointer",children:[c.jsx(wm,{className:"w-3.5 h-3.5"}),c.jsx("span",{children:"优先插队"})]}),c.jsxs("button",{onClick:()=>de(!1),className:"px-3.5 py-2 bg-slate-50 hover:bg-slate-100 text-slate-600 text-xs font-medium rounded-xl flex items-center gap-1.5 transition-colors cursor-pointer border border-slate-200",children:[c.jsx($x,{className:"w-3.5 h-3.5"}),c.jsx("span",{children:"取消"})]})]}),Q&&c.jsxs("button",{onClick:()=>de(!0),className:"px-3.5 py-2 bg-rose-50 hover:bg-rose-100 text-rose-700 border border-rose-200 text-xs font-medium rounded-xl flex items-center gap-1.5 transition-colors cursor-pointer shadow-xs",children:[c.jsx(kx,{className:"w-3.5 h-3.5"}),c.jsx("span",{children:"强行终止任务"})]})]})]}),c.jsx("div",{className:"relative bg-slate-900 border border-slate-200 rounded-2xl overflow-hidden shadow-xs flex flex-col items-center justify-center min-h-[360px]",children:se&&A?c.jsxs("div",{className:"w-full flex flex-col items-center p-4",children:[c.jsx("video",{src:A,controls:!0,autoPlay:!0,loop:!0,playsInline:!0,className:"max-h-[560px] w-auto max-w-full rounded-xl shadow-xl bg-black"}),c.jsxs("div",{className:"w-full flex items-center justify-between mt-3 px-2",children:[c.jsxs("span",{className:"text-xs text-slate-400 font-mono",children:["规格:",R.width,"×",R.height," · ",R.frames," 帧 (约 ",(R.frames/24).toFixed(1),"s)"]}),c.jsxs("a",{href:A,download:`h3_${T.id.substring(0,8)}.mp4`,className:"px-4 py-2 bg-emerald-600 hover:bg-emerald-700 text-white text-xs font-medium rounded-xl flex items-center gap-2 transition-all shadow-sm",children:[c.jsx(Px,{className:"w-4 h-4"}),c.jsxs("span",{children:["下载 MP4 视频 ",T.size_bytes?`(${by(T.size_bytes)})`:""]})]})]})]}):Q?c.jsxs("div",{className:"w-full max-w-2xl p-8 flex flex-col items-center gap-6",children:[c.jsxs("div",{className:"flex items-center gap-2 text-emerald-400 text-xs font-bold uppercase tracking-wider bg-emerald-950/60 px-3 py-1 rounded-full border border-emerald-500/30",children:[c.jsx(Yx,{className:"w-3.5 h-3.5 animate-spin"}),c.jsx("span",{children:"GPU 扩散采样中 · 实时推演"})]}),c.jsxs("div",{className:"flex flex-col items-center",children:[c.jsxs("div",{className:"text-5xl font-extrabold font-mono text-white tracking-tight flex items-baseline gap-1",children:[c.jsx("span",{children:Le}),c.jsx("span",{className:"text-2xl text-emerald-400 font-semibold",children:"%"})]}),c.jsxs("p",{className:"text-xs text-slate-400 mt-1",children:["正在执行第 ",c.jsx("span",{className:"text-white font-mono font-bold",children:Ae})," 步 / 共 ",c.jsx("span",{className:"text-slate-300 font-mono",children:Ne})," 步"]})]}),c.jsxs("div",{className:"w-full flex flex-col gap-2",children:[c.jsx("div",{className:"w-full bg-slate-800/90 h-3.5 rounded-full overflow-hidden p-0.5 border border-slate-700 shadow-inner",children:c.jsx("div",{className:"bg-gradient-to-r from-emerald-500 to-teal-400 h-full rounded-full transition-all duration-300 relative overflow-hidden",style:{width:`${Le}%`},children:c.jsx("div",{className:"absolute inset-0 bg-white/25 animate-pulse"})})}),c.jsxs("div",{className:"flex items-center justify-between text-xs text-slate-400 px-1 font-mono",children:[c.jsxs("span",{className:"flex items-center gap-1 text-slate-300",children:[c.jsx(Li,{className:"w-3.5 h-3.5 text-emerald-400"}),c.jsxs("span",{children:["已耗时: ",Ye," 秒"]})]}),je&&c.jsxs("span",{className:"text-emerald-400 font-medium",children:["预计还需: ",je]})]})]}),c.jsxs("div",{className:"grid grid-cols-4 w-full gap-2 pt-4 border-t border-slate-800 text-center",children:[c.jsxs("div",{className:"flex flex-col items-center gap-1",children:[c.jsx("div",{className:"w-6 h-6 rounded-full bg-emerald-500/20 text-emerald-400 text-xs font-bold flex items-center justify-center border border-emerald-500/40",children:"✓"}),c.jsx("span",{className:"text-[11px] text-slate-400",children:"1. 排队调度"})]}),c.jsxs("div",{className:"flex flex-col items-center gap-1",children:[c.jsx("div",{className:"w-6 h-6 rounded-full bg-emerald-500/20 text-emerald-400 text-xs font-bold flex items-center justify-center border border-emerald-500/40",children:"✓"}),c.jsx("span",{className:"text-[11px] text-slate-400",children:"2. 模型装载"})]}),c.jsxs("div",{className:"flex flex-col items-center gap-1",children:[c.jsx("div",{className:"w-6 h-6 rounded-full bg-emerald-500 text-white text-xs font-bold flex items-center justify-center shadow-md animate-pulse",children:"3"}),c.jsx("span",{className:"text-[11px] text-white font-semibold",children:"3. 扩散计算"})]}),c.jsxs("div",{className:"flex flex-col items-center gap-1 opacity-40",children:[c.jsx("div",{className:"w-6 h-6 rounded-full bg-slate-800 text-slate-400 text-xs font-bold flex items-center justify-center border border-slate-700",children:"4"}),c.jsx("span",{className:"text-[11px] text-slate-400",children:"4. 压制出片"})]})]})]}):P?c.jsxs("div",{className:"p-12 flex flex-col items-center gap-3 text-center",children:[c.jsx(Li,{className:"w-10 h-10 text-blue-400 animate-pulse"}),c.jsxs("div",{children:[c.jsxs("h3",{className:"text-base font-semibold text-blue-300",children:["正在等待空闲的 ",T.partition||"GPU"," 后端…"]}),c.jsxs("p",{className:"text-xs text-slate-400 mt-1",children:["当前排队第 ",T.queue_position||1," 位,空闲节点就绪后将自动调度启动"]})]})]}):c.jsxs("div",{className:"p-12 flex flex-col items-center gap-3 text-center max-w-lg",children:[c.jsx(dy,{className:"w-10 h-10 text-rose-400"}),c.jsx("h3",{className:"text-base font-semibold text-rose-300",children:Ve?"生成失败":"任务已取消"}),c.jsx("div",{className:"p-3 bg-rose-950/40 border border-rose-500/30 rounded-xl text-xs text-rose-200/90 font-mono text-left w-full max-h-48 overflow-y-auto whitespace-pre-wrap",children:T.error||"无详细错误日志"})]})}),c.jsxs("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-3.5",children:[c.jsxs("div",{className:"p-4 bg-white border border-slate-200 rounded-xl flex flex-col gap-1 shadow-xs",children:[c.jsxs("span",{className:"text-[11px] uppercase tracking-wider text-slate-500 font-semibold flex items-center gap-1.5",children:[c.jsx(Li,{className:"w-3.5 h-3.5 text-emerald-600"}),c.jsx("span",{children:"生成耗时"})]}),c.jsx("span",{className:"text-sm font-bold font-mono text-slate-800",children:T.started_at&&T.finished_at?`${(T.finished_at-T.started_at).toFixed(1)} 秒`:Q?`${T.elapsed_seconds||0} 秒 (进行中)`:"—"})]}),c.jsxs("div",{className:"p-4 bg-white border border-slate-200 rounded-xl flex flex-col gap-1 shadow-xs",children:[c.jsxs("span",{className:"text-[11px] uppercase tracking-wider text-slate-500 font-semibold flex items-center gap-1.5",children:[c.jsx(Ix,{className:"w-3.5 h-3.5 text-indigo-600"}),c.jsx("span",{children:"峰值显存"})]}),c.jsx("span",{className:"text-sm font-bold font-mono text-slate-800",children:T.peak_vram_gb?`${T.peak_vram_gb} GB`:"—"})]}),c.jsxs("div",{className:"p-4 bg-white border border-slate-200 rounded-xl flex flex-col gap-1 shadow-xs",children:[c.jsxs("span",{className:"text-[11px] uppercase tracking-wider text-slate-500 font-semibold flex items-center gap-1.5",children:[c.jsx(uy,{className:"w-3.5 h-3.5 text-amber-600"}),c.jsx("span",{children:"分配后端卡"})]}),c.jsx("span",{className:"text-sm font-bold font-mono text-slate-800 truncate",children:T.backend||"自动弹性调度"})]}),c.jsxs("div",{className:"p-4 bg-white border border-slate-200 rounded-xl flex flex-col gap-1 shadow-xs",children:[c.jsxs("span",{className:"text-[11px] uppercase tracking-wider text-slate-500 font-semibold flex items-center gap-1.5",children:[c.jsx(Fx,{className:"w-3.5 h-3.5 text-teal-600"}),c.jsx("span",{children:"采样规格"})]}),c.jsxs("span",{className:"text-sm font-bold font-mono text-slate-800",children:[R.turbo===!1?"常规":"Turbo"," · ",R.steps??"?","步 · seed=",R.seed??0]})]})]}),c.jsxs("div",{className:"p-5 bg-white border border-slate-200 rounded-2xl flex flex-col gap-3 shadow-xs",children:[c.jsxs("div",{className:"flex items-center justify-between",children:[c.jsx("span",{className:"text-xs font-bold uppercase tracking-wider text-slate-600",children:"Prompt 提示词"}),c.jsxs("button",{onClick:K,className:"flex items-center gap-1.5 text-xs text-slate-500 hover:text-emerald-600 transition-colors cursor-pointer",children:[k?c.jsx(Xx,{className:"w-3.5 h-3.5 text-emerald-600"}):c.jsx(Wx,{className:"w-3.5 h-3.5"}),c.jsx("span",{children:k?"已复制":"复制文本"})]})]}),c.jsx("p",{className:"text-sm text-slate-800 leading-relaxed font-normal bg-slate-50 p-3.5 rounded-xl border border-slate-200 whitespace-pre-wrap",children:R.prompt||"(无提示词)"}),R.negative_prompt&&c.jsxs("div",{className:"text-xs text-slate-600 flex flex-col gap-1 pt-1",children:[c.jsx("span",{className:"font-semibold text-slate-500",children:"负面提示词:"}),c.jsx("span",{className:"bg-slate-50 p-2.5 rounded-xl border border-slate-200 text-slate-600",children:R.negative_prompt})]})]}),(R.first_frame_url||R.last_frame_url||(R.reference_image_urls||[]).length>0||(R.reference_video_urls||[]).length>0||(R.reference_audio_urls||[]).length>0)&&c.jsxs("div",{className:"p-5 bg-white border border-slate-200 rounded-2xl flex flex-col gap-3.5 shadow-xs",children:[c.jsx("span",{className:"text-xs font-bold uppercase tracking-wider text-slate-600",children:"输入素材与参考源"}),c.jsxs("div",{className:"grid grid-cols-2 sm:grid-cols-4 md:grid-cols-6 gap-3",children:[R.first_frame_url&&c.jsxs("div",{className:"relative group bg-slate-100 rounded-xl overflow-hidden border border-slate-200 shadow-xs",children:[c.jsx("img",{src:ru(R.first_frame_url),alt:"首帧",className:"w-full aspect-square object-cover"}),c.jsx("div",{className:"absolute bottom-0 inset-x-0 bg-slate-900/80 px-2 py-1 text-[10px] text-white font-medium text-center",children:"首帧"})]}),R.last_frame_url&&c.jsxs("div",{className:"relative group bg-slate-100 rounded-xl overflow-hidden border border-slate-200 shadow-xs",children:[c.jsx("img",{src:ru(R.last_frame_url),alt:"尾帧",className:"w-full aspect-square object-cover"}),c.jsx("div",{className:"absolute bottom-0 inset-x-0 bg-slate-900/80 px-2 py-1 text-[10px] text-white font-medium text-center",children:"尾帧"})]}),(R.reference_image_urls||[]).map((G,Ee)=>c.jsxs("div",{className:"relative group bg-slate-100 rounded-xl overflow-hidden border border-slate-200 shadow-xs",children:[c.jsx("img",{src:ru(G),alt:`参考图${Ee+1}`,className:"w-full aspect-square object-cover"}),c.jsxs("div",{className:"absolute bottom-0 inset-x-0 bg-slate-900/80 px-2 py-1 text-[10px] text-white font-medium text-center truncate",children:["参考图 ",Ee+1]})]},Ee)),(R.reference_video_urls||[]).map((G,Ee)=>c.jsxs("div",{className:"relative group bg-slate-100 rounded-xl overflow-hidden border border-slate-200 shadow-xs",children:[c.jsx("video",{src:Zi(G),controls:!0,className:"w-full aspect-square object-cover"}),c.jsxs("div",{className:"absolute bottom-0 inset-x-0 bg-slate-900/80 px-2 py-1 text-[10px] text-white font-medium text-center truncate",children:["参考视频 ",Ee+1]})]},Ee))]})]}),c.jsxs("div",{className:"flex flex-col gap-3 pt-2 pb-12",children:[c.jsxs("div",{className:"border border-slate-200 rounded-xl overflow-hidden bg-slate-50/60",children:[c.jsxs("button",{onClick:()=>De(!F),className:"w-full px-4 py-3 text-left text-xs font-mono text-slate-600 hover:text-slate-900 hover:bg-slate-100 flex items-center justify-between cursor-pointer",children:[c.jsx("span",{children:"用户提交的原始请求参数 (JSON)"}),c.jsx("span",{className:"text-[11px] text-slate-400",children:F?"收起":"展开"})]}),F&&c.jsx("pre",{className:"p-4 text-[11px] font-mono text-slate-700 overflow-x-auto border-t border-slate-200 bg-white leading-relaxed",children:JSON.stringify(R,null,2)})]}),T.comfy_prompt_id&&c.jsxs("div",{className:"border border-slate-200 rounded-xl overflow-hidden bg-slate-50/60",children:[c.jsxs("button",{onClick:w,className:"w-full px-4 py-3 text-left text-xs font-mono text-slate-600 hover:text-slate-900 hover:bg-slate-100 flex items-center justify-between cursor-pointer",children:[c.jsx("span",{children:"ComfyUI 执行图谱与日志 (History)"}),c.jsx("span",{className:"text-[11px] text-slate-400",children:le?"收起":"展开"})]}),le&&c.jsx("pre",{className:"p-4 text-[11px] font-mono text-slate-700 overflow-x-auto border-t border-slate-200 bg-white leading-relaxed max-h-96",children:j?"正在拉取 ComfyUI History…":D?JSON.stringify(D,null,2):"无可用数据"})]})]}),c.jsx(ph,{isOpen:ve.isOpen,title:ve.title,content:ve.content,isDanger:ve.isDanger,onConfirm:ve.onConfirm,onCancel:()=>Re(G=>({...G,isOpen:!1}))})]})}function Em(){if(typeof window>"u")return null;let o=window.location.pathname;const p=ul();p&&o.startsWith(p)&&(o=o.slice(p.length));const O=o.match(/^\/task\.html\/(.+)$/);return O?decodeURIComponent(O[1]):null}function By(){const{addToast:o}=Ji(),[p,O]=H.useState(()=>Em()),[r,T]=H.useState(null),[M,$]=H.useState(null);H.useEffect(()=>{const j=()=>{const X=Em();O(X)};return window.addEventListener("popstate",j),()=>window.removeEventListener("popstate",j)},[]);const q=async()=>{const j=await My();j&&$(j)};H.useEffect(()=>{q();const j=setInterval(q,6e3);return()=>clearInterval(j)},[]);const k=j=>{O(j);const X=ul();window.history.pushState(null,"",`${X}/task.html/${encodeURIComponent(j)}`)},I=()=>{O(null),T(null);const j=ul();window.history.pushState(null,"",`${j}/newtask.html`)},D=j=>{O(null),T(j.req||{});const X=ul();window.history.pushState(null,"",`${X}/newtask.html`),o("已将历史任务参数灌入表单,可直接微调或提交","info")},S=()=>{const j=Ki(),X=window.prompt("设置 H3 访问令牌 (Access Token),留空清除:",j);X!==null&&(Qf(X),o(X?"令牌已保存":"令牌已清除","info"))};return c.jsxs("div",{className:"flex h-screen w-screen overflow-hidden bg-slate-50 text-slate-800 font-sans",children:[c.jsx(wy,{selectedId:p,onSelectTask:k,onCreateTask:I,onRerunTask:D,backendInfo:M,onRefreshBackends:q,onManageToken:S}),c.jsx("main",{className:"flex-1 h-full overflow-y-auto relative flex flex-col bg-white",children:c.jsx("div",{className:"flex-1 w-full",children:p?c.jsx(qy,{taskId:p,onBack:I,onRerun:D}):c.jsx(Hy,{initialValues:r,onCreated:k})})})]})}function Yy(){return c.jsx(Cy,{children:c.jsx(By,{})})}Ox.createRoot(document.getElementById("root")).render(c.jsx(px.StrictMode,{children:c.jsx(Yy,{})}));</script>
    <style rel="stylesheet" crossorigin>/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-amber-50:oklch(98.7% .022 95.277);--color-amber-200:oklch(92.4% .12 95.746);--color-amber-300:oklch(87.9% .169 91.605);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-600:oklch(66.6% .179 58.318);--color-amber-700:oklch(55.5% .163 48.998);--color-amber-800:oklch(47.3% .137 46.201);--color-amber-950:oklch(27.9% .077 45.635);--color-emerald-50:oklch(97.9% .021 166.113);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-200:oklch(90.5% .093 164.15);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-600:oklch(60% .118 184.704);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-600:oklch(54.6% .245 262.881);--color-indigo-50:oklch(96.2% .018 272.314);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-200:oklch(87% .065 274.039);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-600:oklch(51.1% .262 276.966);--color-indigo-700:oklch(45.7% .24 277.023);--color-rose-50:oklch(96.9% .015 12.422);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-400:oklch(71.2% .194 13.428);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-700:oklch(51.4% .222 16.935);--color-rose-950:oklch(27.1% .105 12.094);--color-slate-50:oklch(98.4% .003 247.858);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-300:oklch(86.9% .022 252.894);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-500:oklch(55.4% .046 257.417);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-800:oklch(27.9% .041 260.031);--color-slate-900:oklch(20.8% .042 265.755);--color-zinc-100:oklch(96.7% .001 286.375);--color-zinc-200:oklch(92% .004 286.32);--color-zinc-300:oklch(87.1% .006 286.286);--color-zinc-400:oklch(70.5% .015 286.067);--color-zinc-500:oklch(55.2% .016 285.938);--color-zinc-700:oklch(37% .013 285.805);--color-zinc-800:oklch(27.4% .006 286.033);--color-zinc-900:oklch(21% .006 285.885);--color-zinc-950:oklch(14.1% .005 285.823);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-md:28rem;--container-lg:32rem;--container-2xl:42rem;--container-4xl:56rem;--container-5xl:64rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--text-5xl:3rem;--text-5xl--line-height:1;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-extrabold:800;--tracking-tight:-.025em;--tracking-wide:.025em;--tracking-wider:.05em;--leading-relaxed:1.625;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--animate-spin:spin 1s linear infinite;--animate-ping:ping 1s cubic-bezier(0, 0, .2, 1) infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-sm:8px;--blur-md:12px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:0}.inset-x-0{inset-inline:0}.top-1\.5{top:calc(var(--spacing) * 1.5)}.top-1\/2{top:50%}.top-4{top:calc(var(--spacing) * 4)}.right-0{right:0}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-4{right:calc(var(--spacing) * 4)}.bottom-0{bottom:0}.bottom-1\.5{bottom:calc(var(--spacing) * 1.5)}.bottom-full{bottom:100%}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-3{left:calc(var(--spacing) * 3)}.z-10{z-index:10}.z-30{z-index:30}.z-50{z-index:50}.mx-auto{margin-inline:auto}.my-1{margin-block:var(--spacing)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mb-1{margin-bottom:var(--spacing)}.mb-1\.5{margin-bottom:calc(var(--spacing) * 1.5)}.mb-2\.5{margin-bottom:calc(var(--spacing) * 2.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.ml-2{margin-left:calc(var(--spacing) * 2)}.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.flex{display:flex}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-8{height:calc(var(--spacing) * 8)}.h-10{height:calc(var(--spacing) * 10)}.h-32{height:calc(var(--spacing) * 32)}.h-full{height:100%}.h-screen{height:100vh}.max-h-48{max-height:calc(var(--spacing) * 48)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-\[560px\]{max-height:560px}.min-h-\[120px\]{min-height:120px}.min-h-\[360px\]{min-height:360px}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-3{width:calc(var(--spacing) * 3)}.w-3\.5{width:calc(var(--spacing) * 3.5)}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-10{width:calc(var(--spacing) * 10)}.w-24{width:calc(var(--spacing) * 24)}.w-32{width:calc(var(--spacing) * 32)}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.w-screen{width:100vw}.max-w-2xl{max-width:var(--container-2xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-5xl{max-width:var(--container-5xl)}.max-w-full{max-width:100%}.max-w-lg{max-width:var(--container-lg)}.max-w-md{max-width:var(--container-md)}.min-w-0{min-width:0}.flex-1{flex:1}.shrink-0{flex-shrink:0}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.animate-ping{animation:var(--animate-ping)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.resize-none{resize:none}.resize-y{resize:vertical}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-3\.5{gap:calc(var(--spacing) * 3.5)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-amber-200{border-color:var(--color-amber-200)}.border-emerald-200{border-color:var(--color-emerald-200)}.border-emerald-500{border-color:var(--color-emerald-500)}.border-emerald-500\/30{border-color:#00bb7f4d}@supports (color:color-mix(in lab,red,red)){.border-emerald-500\/30{border-color:color-mix(in oklab,var(--color-emerald-500) 30%,transparent)}}.border-emerald-500\/40{border-color:#00bb7f66}@supports (color:color-mix(in lab,red,red)){.border-emerald-500\/40{border-color:color-mix(in oklab,var(--color-emerald-500) 40%,transparent)}}.border-indigo-200{border-color:var(--color-indigo-200)}.border-rose-200{border-color:var(--color-rose-200)}.border-rose-500\/30{border-color:#ff23574d}@supports (color:color-mix(in lab,red,red)){.border-rose-500\/30{border-color:color-mix(in oklab,var(--color-rose-500) 30%,transparent)}}.border-rose-500\/40{border-color:#ff235766}@supports (color:color-mix(in lab,red,red)){.border-rose-500\/40{border-color:color-mix(in oklab,var(--color-rose-500) 40%,transparent)}}.border-slate-100{border-color:var(--color-slate-100)}.border-slate-200{border-color:var(--color-slate-200)}.border-slate-200\/60{border-color:#e2e8f099}@supports (color:color-mix(in lab,red,red)){.border-slate-200\/60{border-color:color-mix(in oklab,var(--color-slate-200) 60%,transparent)}}.border-slate-200\/90{border-color:#e2e8f0e6}@supports (color:color-mix(in lab,red,red)){.border-slate-200\/90{border-color:color-mix(in oklab,var(--color-slate-200) 90%,transparent)}}.border-slate-700{border-color:var(--color-slate-700)}.border-slate-800{border-color:var(--color-slate-800)}.border-zinc-700\/60{border-color:#3f3f4699}@supports (color:color-mix(in lab,red,red)){.border-zinc-700\/60{border-color:color-mix(in oklab,var(--color-zinc-700) 60%,transparent)}}.border-zinc-800{border-color:var(--color-zinc-800)}.border-zinc-800\/80{border-color:#27272acc}@supports (color:color-mix(in lab,red,red)){.border-zinc-800\/80{border-color:color-mix(in oklab,var(--color-zinc-800) 80%,transparent)}}.border-t-transparent{border-top-color:#0000}.bg-amber-50{background-color:var(--color-amber-50)}.bg-black{background-color:var(--color-black)}.bg-black\/60{background-color:#0009}@supports (color:color-mix(in lab,red,red)){.bg-black\/60{background-color:color-mix(in oklab,var(--color-black) 60%,transparent)}}.bg-black\/70{background-color:#000000b3}@supports (color:color-mix(in lab,red,red)){.bg-black\/70{background-color:color-mix(in oklab,var(--color-black) 70%,transparent)}}.bg-blue-600\/90{background-color:#155dfce6}@supports (color:color-mix(in lab,red,red)){.bg-blue-600\/90{background-color:color-mix(in oklab,var(--color-blue-600) 90%,transparent)}}.bg-emerald-50{background-color:var(--color-emerald-50)}.bg-emerald-50\/80{background-color:#ecfdf5cc}@supports (color:color-mix(in lab,red,red)){.bg-emerald-50\/80{background-color:color-mix(in oklab,var(--color-emerald-50) 80%,transparent)}}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-emerald-500\/20{background-color:#00bb7f33}@supports (color:color-mix(in lab,red,red)){.bg-emerald-500\/20{background-color:color-mix(in oklab,var(--color-emerald-500) 20%,transparent)}}.bg-emerald-600{background-color:var(--color-emerald-600)}.bg-emerald-600\/90{background-color:#009767e6}@supports (color:color-mix(in lab,red,red)){.bg-emerald-600\/90{background-color:color-mix(in oklab,var(--color-emerald-600) 90%,transparent)}}.bg-emerald-950\/20{background-color:#002c2233}@supports (color:color-mix(in lab,red,red)){.bg-emerald-950\/20{background-color:color-mix(in oklab,var(--color-emerald-950) 20%,transparent)}}.bg-emerald-950\/60{background-color:#002c2299}@supports (color:color-mix(in lab,red,red)){.bg-emerald-950\/60{background-color:color-mix(in oklab,var(--color-emerald-950) 60%,transparent)}}.bg-emerald-950\/90{background-color:#002c22e6}@supports (color:color-mix(in lab,red,red)){.bg-emerald-950\/90{background-color:color-mix(in oklab,var(--color-emerald-950) 90%,transparent)}}.bg-indigo-50{background-color:var(--color-indigo-50)}.bg-indigo-500\/10{background-color:#625fff1a}@supports (color:color-mix(in lab,red,red)){.bg-indigo-500\/10{background-color:color-mix(in oklab,var(--color-indigo-500) 10%,transparent)}}.bg-rose-50{background-color:var(--color-rose-50)}.bg-rose-500\/10{background-color:#ff23571a}@supports (color:color-mix(in lab,red,red)){.bg-rose-500\/10{background-color:color-mix(in oklab,var(--color-rose-500) 10%,transparent)}}.bg-rose-600{background-color:var(--color-rose-600)}.bg-rose-950\/40{background-color:#4d021866}@supports (color:color-mix(in lab,red,red)){.bg-rose-950\/40{background-color:color-mix(in oklab,var(--color-rose-950) 40%,transparent)}}.bg-rose-950\/80{background-color:#4d0218cc}@supports (color:color-mix(in lab,red,red)){.bg-rose-950\/80{background-color:color-mix(in oklab,var(--color-rose-950) 80%,transparent)}}.bg-rose-950\/90{background-color:#4d0218e6}@supports (color:color-mix(in lab,red,red)){.bg-rose-950\/90{background-color:color-mix(in oklab,var(--color-rose-950) 90%,transparent)}}.bg-slate-50{background-color:var(--color-slate-50)}.bg-slate-50\/40{background-color:#f8fafc66}@supports (color:color-mix(in lab,red,red)){.bg-slate-50\/40{background-color:color-mix(in oklab,var(--color-slate-50) 40%,transparent)}}.bg-slate-50\/60{background-color:#f8fafc99}@supports (color:color-mix(in lab,red,red)){.bg-slate-50\/60{background-color:color-mix(in oklab,var(--color-slate-50) 60%,transparent)}}.bg-slate-50\/80{background-color:#f8fafccc}@supports (color:color-mix(in lab,red,red)){.bg-slate-50\/80{background-color:color-mix(in oklab,var(--color-slate-50) 80%,transparent)}}.bg-slate-100{background-color:var(--color-slate-100)}.bg-slate-100\/70{background-color:#f1f5f9b3}@supports (color:color-mix(in lab,red,red)){.bg-slate-100\/70{background-color:color-mix(in oklab,var(--color-slate-100) 70%,transparent)}}.bg-slate-800{background-color:var(--color-slate-800)}.bg-slate-800\/90{background-color:#1d293de6}@supports (color:color-mix(in lab,red,red)){.bg-slate-800\/90{background-color:color-mix(in oklab,var(--color-slate-800) 90%,transparent)}}.bg-slate-900{background-color:var(--color-slate-900)}.bg-slate-900\/80{background-color:#0f172bcc}@supports (color:color-mix(in lab,red,red)){.bg-slate-900\/80{background-color:color-mix(in oklab,var(--color-slate-900) 80%,transparent)}}.bg-white{background-color:var(--color-white)}.bg-white\/25{background-color:#ffffff40}@supports (color:color-mix(in lab,red,red)){.bg-white\/25{background-color:color-mix(in oklab,var(--color-white) 25%,transparent)}}.bg-white\/90{background-color:#ffffffe6}@supports (color:color-mix(in lab,red,red)){.bg-white\/90{background-color:color-mix(in oklab,var(--color-white) 90%,transparent)}}.bg-zinc-800{background-color:var(--color-zinc-800)}.bg-zinc-900{background-color:var(--color-zinc-900)}.bg-zinc-900\/60{background-color:#18181b99}@supports (color:color-mix(in lab,red,red)){.bg-zinc-900\/60{background-color:color-mix(in oklab,var(--color-zinc-900) 60%,transparent)}}.bg-zinc-900\/90{background-color:#18181be6}@supports (color:color-mix(in lab,red,red)){.bg-zinc-900\/90{background-color:color-mix(in oklab,var(--color-zinc-900) 90%,transparent)}}.bg-zinc-900\/95{background-color:#18181bf2}@supports (color:color-mix(in lab,red,red)){.bg-zinc-900\/95{background-color:color-mix(in oklab,var(--color-zinc-900) 95%,transparent)}}.bg-zinc-950\/60{background-color:#09090b99}@supports (color:color-mix(in lab,red,red)){.bg-zinc-950\/60{background-color:color-mix(in oklab,var(--color-zinc-950) 60%,transparent)}}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-emerald-500{--tw-gradient-from:var(--color-emerald-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-teal-400{--tw-gradient-to:var(--color-teal-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.fill-current{fill:currentColor}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0\.5{padding:calc(var(--spacing) * .5)}.p-1{padding:var(--spacing)}.p-1\.5{padding:calc(var(--spacing) * 1.5)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-3\.5{padding:calc(var(--spacing) * 3.5)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-8{padding:calc(var(--spacing) * 8)}.p-12{padding:calc(var(--spacing) * 12)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-3\.5{padding-inline:calc(var(--spacing) * 3.5)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-7{padding-inline:calc(var(--spacing) * 7)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-12{padding-block:calc(var(--spacing) * 12)}.pt-1{padding-top:var(--spacing)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-8{padding-bottom:calc(var(--spacing) * 8)}.pb-12{padding-bottom:calc(var(--spacing) * 12)}.pl-8{padding-left:calc(var(--spacing) * 8)}.pl-9{padding-left:calc(var(--spacing) * 9)}.text-center{text-align:center}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-5xl{font-size:var(--text-5xl);line-height:var(--tw-leading,var(--text-5xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-extrabold{--tw-font-weight:var(--font-weight-extrabold);font-weight:var(--font-weight-extrabold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.break-words{overflow-wrap:break-word}.whitespace-pre-wrap{white-space:pre-wrap}.text-amber-600{color:var(--color-amber-600)}.text-amber-800{color:var(--color-amber-800)}.text-blue-300{color:var(--color-blue-300)}.text-blue-400{color:var(--color-blue-400)}.text-emerald-100{color:var(--color-emerald-100)}.text-emerald-200{color:var(--color-emerald-200)}.text-emerald-400{color:var(--color-emerald-400)}.text-emerald-500{color:var(--color-emerald-500)}.text-emerald-600{color:var(--color-emerald-600)}.text-emerald-700{color:var(--color-emerald-700)}.text-indigo-400{color:var(--color-indigo-400)}.text-indigo-600{color:var(--color-indigo-600)}.text-indigo-700{color:var(--color-indigo-700)}.text-rose-200{color:var(--color-rose-200)}.text-rose-200\/90{color:#ffccd3e6}@supports (color:color-mix(in lab,red,red)){.text-rose-200\/90{color:color-mix(in oklab,var(--color-rose-200) 90%,transparent)}}.text-rose-300{color:var(--color-rose-300)}.text-rose-400{color:var(--color-rose-400)}.text-rose-500{color:var(--color-rose-500)}.text-rose-600{color:var(--color-rose-600)}.text-rose-700{color:var(--color-rose-700)}.text-slate-300{color:var(--color-slate-300)}.text-slate-400{color:var(--color-slate-400)}.text-slate-500{color:var(--color-slate-500)}.text-slate-600{color:var(--color-slate-600)}.text-slate-700{color:var(--color-slate-700)}.text-slate-800{color:var(--color-slate-800)}.text-slate-900{color:var(--color-slate-900)}.text-teal-600{color:var(--color-teal-600)}.text-white{color:var(--color-white)}.text-zinc-100{color:var(--color-zinc-100)}.text-zinc-200{color:var(--color-zinc-200)}.text-zinc-300{color:var(--color-zinc-300)}.text-zinc-400{color:var(--color-zinc-400)}.text-zinc-500{color:var(--color-zinc-500)}.uppercase{text-transform:uppercase}.underline-offset-2{text-underline-offset:2px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.placeholder-slate-400::placeholder{color:var(--color-slate-400)}.placeholder-zinc-500::placeholder{color:var(--color-zinc-500)}.opacity-40{opacity:.4}.opacity-70{opacity:.7}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-inner{--tw-shadow:inset 0 2px 4px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-black\/60{--tw-shadow-color:#0009}@supports (color:color-mix(in lab,red,red)){.shadow-black\/60{--tw-shadow-color:color-mix(in oklab, color-mix(in oklab, var(--color-black) 60%, transparent) var(--tw-shadow-alpha), transparent)}}.shadow-emerald-500\/50{--tw-shadow-color:#00bb7f80}@supports (color:color-mix(in lab,red,red)){.shadow-emerald-500\/50{--tw-shadow-color:color-mix(in oklab, color-mix(in oklab, var(--color-emerald-500) 50%, transparent) var(--tw-shadow-alpha), transparent)}}.shadow-emerald-600\/30{--tw-shadow-color:#0097674d}@supports (color:color-mix(in lab,red,red)){.shadow-emerald-600\/30{--tw-shadow-color:color-mix(in oklab, color-mix(in oklab, var(--color-emerald-600) 30%, transparent) var(--tw-shadow-alpha), transparent)}}.shadow-emerald-950\/50{--tw-shadow-color:#002c2280}@supports (color:color-mix(in lab,red,red)){.shadow-emerald-950\/50{--tw-shadow-color:color-mix(in oklab, color-mix(in oklab, var(--color-emerald-950) 50%, transparent) var(--tw-shadow-alpha), transparent)}}.shadow-rose-950\/50{--tw-shadow-color:#4d021880}@supports (color:color-mix(in lab,red,red)){.shadow-rose-950\/50{--tw-shadow-color:color-mix(in oklab, color-mix(in oklab, var(--color-rose-950) 50%, transparent) var(--tw-shadow-alpha), transparent)}}.ring-emerald-500\/40{--tw-ring-color:#00bb7f66}@supports (color:color-mix(in lab,red,red)){.ring-emerald-500\/40{--tw-ring-color:color-mix(in oklab, var(--color-emerald-500) 40%, transparent)}}.backdrop-blur-\[1px\]{--tw-backdrop-blur:blur(1px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-md{--tw-backdrop-blur:blur(var(--blur-md));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}@media(hover:hover){.group-hover\:scale-105:is(:where(.group):hover *){--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}.group-hover\:text-slate-900:is(:where(.group):hover *){color:var(--color-slate-900)}.hover\:border-slate-300:hover{border-color:var(--color-slate-300)}.hover\:border-zinc-700:hover{border-color:var(--color-zinc-700)}.hover\:bg-black\/90:hover{background-color:#000000e6}@supports (color:color-mix(in lab,red,red)){.hover\:bg-black\/90:hover{background-color:color-mix(in oklab,var(--color-black) 90%,transparent)}}.hover\:bg-emerald-100:hover{background-color:var(--color-emerald-100)}.hover\:bg-emerald-500:hover{background-color:var(--color-emerald-500)}.hover\:bg-emerald-700:hover{background-color:var(--color-emerald-700)}.hover\:bg-indigo-100:hover{background-color:var(--color-indigo-100)}.hover\:bg-rose-50:hover{background-color:var(--color-rose-50)}.hover\:bg-rose-100:hover{background-color:var(--color-rose-100)}.hover\:bg-rose-500:hover{background-color:var(--color-rose-500)}.hover\:bg-rose-600:hover{background-color:var(--color-rose-600)}.hover\:bg-slate-50:hover{background-color:var(--color-slate-50)}.hover\:bg-slate-50\/80:hover{background-color:#f8fafccc}@supports (color:color-mix(in lab,red,red)){.hover\:bg-slate-50\/80:hover{background-color:color-mix(in oklab,var(--color-slate-50) 80%,transparent)}}.hover\:bg-slate-100:hover{background-color:var(--color-slate-100)}.hover\:bg-slate-200:hover{background-color:var(--color-slate-200)}.hover\:bg-white\/10:hover{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-white\/10:hover{background-color:color-mix(in oklab,var(--color-white) 10%,transparent)}}.hover\:bg-white\/80:hover{background-color:#fffc}@supports (color:color-mix(in lab,red,red)){.hover\:bg-white\/80:hover{background-color:color-mix(in oklab,var(--color-white) 80%,transparent)}}.hover\:bg-zinc-700\/80:hover{background-color:#3f3f46cc}@supports (color:color-mix(in lab,red,red)){.hover\:bg-zinc-700\/80:hover{background-color:color-mix(in oklab,var(--color-zinc-700) 80%,transparent)}}.hover\:bg-zinc-800:hover{background-color:var(--color-zinc-800)}.hover\:text-amber-700:hover{color:var(--color-amber-700)}.hover\:text-emerald-600:hover{color:var(--color-emerald-600)}.hover\:text-slate-700:hover{color:var(--color-slate-700)}.hover\:text-slate-800:hover{color:var(--color-slate-800)}.hover\:text-slate-900:hover{color:var(--color-slate-900)}.hover\:text-white:hover{color:var(--color-white)}.hover\:text-zinc-300:hover{color:var(--color-zinc-300)}.hover\:underline:hover{text-decoration-line:underline}}.focus\:border-emerald-500:focus{border-color:var(--color-emerald-500)}.focus\:border-emerald-500\/60:focus{border-color:#00bb7f99}@supports (color:color-mix(in lab,red,red)){.focus\:border-emerald-500\/60:focus{border-color:color-mix(in oklab,var(--color-emerald-500) 60%,transparent)}}.focus\:bg-white:focus{background-color:var(--color-white)}.focus\:ring-1:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-emerald-500\/20:focus{--tw-ring-color:#00bb7f33}@supports (color:color-mix(in lab,red,red)){.focus\:ring-emerald-500\/20:focus{--tw-ring-color:color-mix(in oklab, var(--color-emerald-500) 20%, transparent)}}.focus\:ring-emerald-500\/40:focus{--tw-ring-color:#00bb7f66}@supports (color:color-mix(in lab,red,red)){.focus\:ring-emerald-500\/40:focus{--tw-ring-color:color-mix(in oklab, var(--color-emerald-500) 40%, transparent)}}.disabled\:opacity-30:disabled{opacity:.3}.disabled\:opacity-50:disabled{opacity:.5}@media(min-width:40rem){.sm\:w-auto{width:auto}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:px-8{padding-inline:calc(var(--spacing) * 8)}}@media(min-width:48rem){.md\:w-\[390px\]{width:390px}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@media(min-width:64rem){.lg\:w-\[420px\]{width:420px}}@media(prefers-color-scheme:dark){.dark\:border-amber-600\/30{border-color:#dd74004d}@supports (color:color-mix(in lab,red,red)){.dark\:border-amber-600\/30{border-color:color-mix(in oklab,var(--color-amber-600) 30%,transparent)}}.dark\:border-rose-500\/40{border-color:#ff235766}@supports (color:color-mix(in lab,red,red)){.dark\:border-rose-500\/40{border-color:color-mix(in oklab,var(--color-rose-500) 40%,transparent)}}.dark\:border-zinc-700{border-color:var(--color-zinc-700)}.dark\:border-zinc-800{border-color:var(--color-zinc-800)}.dark\:border-zinc-800\/80{border-color:#27272acc}@supports (color:color-mix(in lab,red,red)){.dark\:border-zinc-800\/80{border-color:color-mix(in oklab,var(--color-zinc-800) 80%,transparent)}}.dark\:bg-amber-950\/30{background-color:#4619014d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-amber-950\/30{background-color:color-mix(in oklab,var(--color-amber-950) 30%,transparent)}}.dark\:bg-rose-950\/60{background-color:#4d021899}@supports (color:color-mix(in lab,red,red)){.dark\:bg-rose-950\/60{background-color:color-mix(in oklab,var(--color-rose-950) 60%,transparent)}}.dark\:bg-zinc-800{background-color:var(--color-zinc-800)}.dark\:bg-zinc-900{background-color:var(--color-zinc-900)}.dark\:bg-zinc-950\/50{background-color:#09090b80}@supports (color:color-mix(in lab,red,red)){.dark\:bg-zinc-950\/50{background-color:color-mix(in oklab,var(--color-zinc-950) 50%,transparent)}}.dark\:bg-zinc-950\/70{background-color:#09090bb3}@supports (color:color-mix(in lab,red,red)){.dark\:bg-zinc-950\/70{background-color:color-mix(in oklab,var(--color-zinc-950) 70%,transparent)}}.dark\:bg-zinc-950\/80{background-color:#09090bcc}@supports (color:color-mix(in lab,red,red)){.dark\:bg-zinc-950\/80{background-color:color-mix(in oklab,var(--color-zinc-950) 80%,transparent)}}.dark\:text-amber-300{color:var(--color-amber-300)}.dark\:text-amber-400{color:var(--color-amber-400)}.dark\:text-emerald-400{color:var(--color-emerald-400)}.dark\:text-rose-300{color:var(--color-rose-300)}.dark\:text-white{color:var(--color-white)}.dark\:text-zinc-100{color:var(--color-zinc-100)}.dark\:text-zinc-200{color:var(--color-zinc-200)}.dark\:text-zinc-300{color:var(--color-zinc-300)}.dark\:text-zinc-400{color:var(--color-zinc-400)}.dark\:text-zinc-500,.dark\:placeholder-zinc-500::placeholder{color:var(--color-zinc-500)}@media(hover:hover){.dark\:hover\:bg-zinc-700:hover{background-color:var(--color-zinc-700)}.dark\:hover\:bg-zinc-800\/60:hover{background-color:#27272a99}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-zinc-800\/60:hover{background-color:color-mix(in oklab,var(--color-zinc-800) 60%,transparent)}}.dark\:hover\:text-zinc-200:hover{color:var(--color-zinc-200)}}}}:root{--bg-app:#f8fafc;--bg-surface:#fff;--bg-subtle:#f1f5f9;--border-color:#e2e8f0;--text-main:#0f172a;--text-muted:#64748b;--primary:#059669}.dark{--bg-app:#090a0f;--bg-surface:#13151c;--bg-subtle:#1c1f2b;--border-color:#272c3d;--text-main:#f8fafc;--text-muted:#94a3b8;--primary:#10b981}body{background-color:var(--bg-app);color:var(--text-main);height:100vh;margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,PingFang SC,sans-serif;overflow:hidden}.theme-surface{background-color:var(--bg-surface);border-color:var(--border-color);color:var(--text-main)}.theme-subtle{background-color:var(--bg-subtle);border-color:var(--border-color);color:var(--text-main)}.theme-border{border-color:var(--border-color)}.theme-text-muted{color:var(--text-muted)}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}@keyframes ping{75%,to{opacity:0;transform:scale(2)}}@keyframes pulse{50%{opacity:.5}}</style>
  </head>
  <body class="bg-slate-50 text-slate-800 antialiased overflow-hidden">
    <div id="root"></div>
  </body>
</html>