229 lines
283 KiB
JavaScript
229 lines
283 KiB
JavaScript
var Sh=Object.defineProperty;var Th=(r,E,z)=>E in r?Sh(r,E,{enumerable:!0,configurable:!0,writable:!0,value:z}):r[E]=z;var Li=(r,E,z)=>Th(r,typeof E!="symbol"?E+"":E,z);(function(){const E=document.createElement("link").relList;if(E&&E.supports&&E.supports("modulepreload"))return;for(const C of document.querySelectorAll('link[rel="modulepreload"]'))d(C);new MutationObserver(C=>{for(const B of C)if(B.type==="childList")for(const M of B.addedNodes)M.tagName==="LINK"&&M.rel==="modulepreload"&&d(M)}).observe(document,{childList:!0,subtree:!0});function z(C){const B={};return C.integrity&&(B.integrity=C.integrity),C.referrerPolicy&&(B.referrerPolicy=C.referrerPolicy),C.crossOrigin==="use-credentials"?B.credentials="include":C.crossOrigin==="anonymous"?B.credentials="omit":B.credentials="same-origin",B}function d(C){if(C.ep)return;C.ep=!0;const B=z(C);fetch(C.href,B)}})();var As={exports:{}},dn={};/**
|
||
* @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 sm;function Nh(){if(sm)return dn;sm=1;var r=Symbol.for("react.transitional.element"),E=Symbol.for("react.fragment");function z(d,C,B){var M=null;if(B!==void 0&&(M=""+B),C.key!==void 0&&(M=""+C.key),"key"in C){B={};for(var ut in C)ut!=="key"&&(B[ut]=C[ut])}else B=C;return C=B.ref,{$$typeof:r,type:d,key:M,ref:C!==void 0?C:null,props:B}}return dn.Fragment=E,dn.jsx=z,dn.jsxs=z,dn}var rm;function Eh(){return rm||(rm=1,As.exports=Nh()),As.exports}var f=Eh(),js={exports:{}},nt={};/**
|
||
* @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 om;function zh(){if(om)return nt;om=1;var r=Symbol.for("react.transitional.element"),E=Symbol.for("react.portal"),z=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),B=Symbol.for("react.consumer"),M=Symbol.for("react.context"),ut=Symbol.for("react.forward_ref"),tt=Symbol.for("react.suspense"),V=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),T=Symbol.for("react.activity"),Z=Symbol.for("react.view_transition"),$=Symbol.iterator;function it(o){return o===null||typeof o!="object"?null:(o=$&&o[$]||o["@@iterator"],typeof o=="function"?o:null)}var Ut={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Y=Object.assign,vt={};function pt(o,N,w){this.props=o,this.context=N,this.refs=vt,this.updater=w||Ut}pt.prototype.isReactComponent={},pt.prototype.setState=function(o,N){if(typeof o!="object"&&typeof o!="function"&&o!=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,o,N,"setState")},pt.prototype.forceUpdate=function(o){this.updater.enqueueForceUpdate(this,o,"forceUpdate")};function Ct(){}Ct.prototype=pt.prototype;function Ft(o,N,w){this.props=o,this.context=N,this.refs=vt,this.updater=w||Ut}var St=Ft.prototype=new Ct;St.constructor=Ft,Y(St,pt.prototype),St.isPureReactComponent=!0;var J=Array.isArray;function K(){}var k={H:null,A:null,T:null,S:null},_t=Object.prototype.hasOwnProperty;function qt(o,N,w){var G=w.ref;return{$$typeof:r,type:o,key:N,ref:G!==void 0?G:null,props:w}}function Zt(o,N){return qt(o.type,N,o.props)}function Tt(o){return typeof o=="object"&&o!==null&&o.$$typeof===r}function Jt(o){var N={"=":"=0",":":"=2"};return"$"+o.replace(/[=:]/g,function(w){return N[w]})}var al=/\/+/g;function Qt(o,N){return typeof o=="object"&&o!==null&&o.key!=null?Jt(""+o.key):N.toString(36)}function U(o){switch(o.status){case"fulfilled":return o.value;case"rejected":throw o.reason;default:switch(typeof o.status=="string"?o.then(K,K):(o.status="pending",o.then(function(N){o.status==="pending"&&(o.status="fulfilled",o.value=N)},function(N){o.status==="pending"&&(o.status="rejected",o.reason=N)})),o.status){case"fulfilled":return o.value;case"rejected":throw o.reason}}throw o}function F(o,N,w,G,ot){var x=typeof o;(x==="undefined"||x==="boolean")&&(o=null);var j=!1;if(o===null)j=!0;else switch(x){case"bigint":case"string":case"number":j=!0;break;case"object":switch(o.$$typeof){case r:case E:j=!0;break;case R:return j=o._init,F(j(o._payload),N,w,G,ot)}}if(j)return ot=ot(o),j=G===""?"."+Qt(o,0):G,J(ot)?(w="",j!=null&&(w=j.replace(al,"$&/")+"/"),F(ot,N,w,"",function(lt){return lt})):ot!=null&&(Tt(ot)&&(ot=Zt(ot,w+(ot.key==null||o&&o.key===ot.key?"":(""+ot.key).replace(al,"$&/")+"/")+j)),N.push(ot)),1;j=0;var p=G===""?".":G+":";if(J(o))for(var A=0;A<o.length;A++)G=o[A],x=p+Qt(G,A),j+=F(G,N,w,x,ot);else if(A=it(o),typeof A=="function")for(o=A.call(o),A=0;!(G=o.next()).done;)G=G.value,x=p+Qt(G,A++),j+=F(G,N,w,x,ot);else if(x==="object"){if(typeof o.then=="function")return F(U(o),N,w,G,ot);throw N=String(o),Error("Objects are not valid as a React child (found: "+(N==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":N)+"). If you meant to render a collection of children, use an array instead.")}return j}function I(o,N,w){if(o==null)return o;var G=[],ot=0;return F(o,G,"","",function(x){return N.call(w,x,ot++)}),G}function gt(o){if(o._status===-1){var N=o._result,w=N();w.then(function(G){(o._status===0||o._status===-1)&&(o._status=1,o._result=G,w.status===void 0&&(w.status="fulfilled",w.value=G))},function(G){(o._status===0||o._status===-1)&&(o._status=2,o._result=G,w.status===void 0&&(w.status="rejected",w.reason=G))}),o._status===-1&&(o._status=0,o._result=w)}if(o._status===1)return o._result.default;throw o._result}var H=typeof reportError=="function"?reportError:function(o){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var N=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof o=="object"&&o!==null&&typeof o.message=="string"?String(o.message):String(o),error:o});if(!window.dispatchEvent(N))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",o);return}console.error(o)};function at(o){var N=k.T,w={};w.types=N!==null?N.types:null,k.T=w;try{var G=o(),ot=k.S;ot!==null&&ot(w,G),typeof G=="object"&&G!==null&&typeof G.then=="function"&&G.then(K,H)}catch(x){H(x)}finally{N!==null&&w.types!==null&&(N.types=w.types),k.T=N}}function st(o){var N=k.T;if(N!==null){var w=N.types;w===null?N.types=[o]:w.indexOf(o)===-1&&w.push(o)}else at(st.bind(null,o))}var Bt={map:I,forEach:function(o,N,w){I(o,function(){N.apply(this,arguments)},w)},count:function(o){var N=0;return I(o,function(){N++}),N},toArray:function(o){return I(o,function(N){return N})||[]},only:function(o){if(!Tt(o))throw Error("React.Children.only expected to receive a single React element child.");return o}};return nt.Activity=T,nt.Children=Bt,nt.Component=pt,nt.Fragment=z,nt.Profiler=C,nt.PureComponent=Ft,nt.StrictMode=d,nt.Suspense=tt,nt.ViewTransition=Z,nt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=k,nt.__COMPILER_RUNTIME={__proto__:null,c:function(o){return k.H.useMemoCache(o)}},nt.addTransitionType=st,nt.cache=function(o){return function(){return o.apply(null,arguments)}},nt.cacheSignal=function(){return null},nt.cloneElement=function(o,N,w){if(o==null)throw Error("The argument must be a React element, but you passed "+o+".");var G=Y({},o.props),ot=o.key;if(N!=null)for(x in N.key!==void 0&&(ot=""+N.key),N)!_t.call(N,x)||x==="key"||x==="__self"||x==="__source"||x==="ref"&&N.ref===void 0||(G[x]=N[x]);var x=arguments.length-2;if(x===1)G.children=w;else if(1<x){for(var j=Array(x),p=0;p<x;p++)j[p]=arguments[p+2];G.children=j}return qt(o.type,ot,G)},nt.createContext=function(o){return o={$$typeof:M,_currentValue:o,_currentValue2:o,_threadCount:0,Provider:null,Consumer:null},o.Provider=o,o.Consumer={$$typeof:B,_context:o},o},nt.createElement=function(o,N,w){var G,ot={},x=null;if(N!=null)for(G in N.key!==void 0&&(x=""+N.key),N)_t.call(N,G)&&G!=="key"&&G!=="__self"&&G!=="__source"&&(ot[G]=N[G]);var j=arguments.length-2;if(j===1)ot.children=w;else if(1<j){for(var p=Array(j),A=0;A<j;A++)p[A]=arguments[A+2];ot.children=p}if(o&&o.defaultProps)for(G in j=o.defaultProps,j)ot[G]===void 0&&(ot[G]=j[G]);return qt(o,x,ot)},nt.createRef=function(){return{current:null}},nt.forwardRef=function(o){return{$$typeof:ut,render:o}},nt.isValidElement=Tt,nt.lazy=function(o){return{$$typeof:R,_payload:{_status:-1,_result:o},_init:gt}},nt.memo=function(o,N){return{$$typeof:V,type:o,compare:N===void 0?null:N}},nt.startTransition=at,nt.unstable_useCacheRefresh=function(){return k.H.useCacheRefresh()},nt.use=function(o){return k.H.use(o)},nt.useActionState=function(o,N,w){return k.H.useActionState(o,N,w)},nt.useCallback=function(o,N){return k.H.useCallback(o,N)},nt.useContext=function(o){return k.H.useContext(o)},nt.useDebugValue=function(){},nt.useDeferredValue=function(o,N){return k.H.useDeferredValue(o,N)},nt.useEffect=function(o,N){return k.H.useEffect(o,N)},nt.useEffectEvent=function(o){return k.H.useEffectEvent(o)},nt.useId=function(){return k.H.useId()},nt.useImperativeHandle=function(o,N,w){return k.H.useImperativeHandle(o,N,w)},nt.useInsertionEffect=function(o,N){return k.H.useInsertionEffect(o,N)},nt.useLayoutEffect=function(o,N){return k.H.useLayoutEffect(o,N)},nt.useMemo=function(o,N){return k.H.useMemo(o,N)},nt.useOptimistic=function(o,N){return k.H.useOptimistic(o,N)},nt.useReducer=function(o,N,w){return k.H.useReducer(o,N,w)},nt.useRef=function(o){return k.H.useRef(o)},nt.useState=function(o){return k.H.useState(o)},nt.useSyncExternalStore=function(o,N,w){return k.H.useSyncExternalStore(o,N,w)},nt.useTransition=function(){return k.H.useTransition()},nt.version="19.3.1",nt}var dm;function qs(){return dm||(dm=1,js.exports=zh()),js.exports}var X=qs(),Ms={exports:{}},mn={},Cs={exports:{}},Ds={};/**
|
||
* @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 mm;function _h(){return mm||(mm=1,(function(r){function E(U,F){var I=U.length;U.push(F);t:for(;0<I;){var gt=I-1>>>1,H=U[gt];if(0<C(H,F))U[gt]=F,U[I]=H,I=gt;else break t}}function z(U){return U.length===0?null:U[0]}function d(U){if(U.length===0)return null;var F=U[0],I=U.pop();if(I!==F){U[0]=I;t:for(var gt=0,H=U.length,at=H>>>1;gt<at;){var st=2*(gt+1)-1,Bt=U[st],o=st+1,N=U[o];if(0>C(Bt,I))o<H&&0>C(N,Bt)?(U[gt]=N,U[o]=I,gt=o):(U[gt]=Bt,U[st]=I,gt=st);else if(o<H&&0>C(N,I))U[gt]=N,U[o]=I,gt=o;else break t}}return F}function C(U,F){var I=U.sortIndex-F.sortIndex;return I!==0?I:U.id-F.id}if(r.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var B=performance;r.unstable_now=function(){return B.now()}}else{var M=Date,ut=M.now();r.unstable_now=function(){return M.now()-ut}}var tt=[],V=[],R=1,T=null,Z=3,$=!1,it=!1,Ut=!1,Y=!1,vt=typeof setTimeout=="function"?setTimeout:null,pt=typeof clearTimeout=="function"?clearTimeout:null,Ct=typeof setImmediate<"u"?setImmediate:null;function Ft(U){for(var F=z(V);F!==null;){if(F.callback===null)d(V);else if(F.startTime<=U)d(V),F.sortIndex=F.expirationTime,E(tt,F);else break;F=z(V)}}function St(U){if(Ut=!1,Ft(U),!it)if(z(tt)!==null)it=!0,J||(J=!0,Tt());else{var F=z(V);F!==null&&Qt(St,F.startTime-U)}}var J=!1,K=-1,k=5,_t=-1;function qt(){return Y?!0:!(r.unstable_now()-_t<k)}function Zt(){if(Y=!1,J){var U=r.unstable_now();_t=U;var F=!0;try{t:{it=!1,Ut&&(Ut=!1,pt(K),K=-1),$=!0;var I=Z;try{l:{for(Ft(U),T=z(tt);T!==null&&!(T.expirationTime>U&&qt());){var gt=T.callback;if(typeof gt=="function"){T.callback=null,Z=T.priorityLevel;var H=gt(T.expirationTime<=U);if(U=r.unstable_now(),typeof H=="function"){T.callback=H,Ft(U),F=!0;break l}T===z(tt)&&d(tt),Ft(U)}else d(tt);T=z(tt)}if(T!==null)F=!0;else{var at=z(V);at!==null&&Qt(St,at.startTime-U),F=!1}}break t}finally{T=null,Z=I,$=!1}F=void 0}}finally{F?Tt():J=!1}}}var Tt;if(typeof Ct=="function")Tt=function(){Ct(Zt)};else if(typeof MessageChannel<"u"){var Jt=new MessageChannel,al=Jt.port2;Jt.port1.onmessage=Zt,Tt=function(){al.postMessage(null)}}else Tt=function(){vt(Zt,0)};function Qt(U,F){K=vt(function(){U(r.unstable_now())},F)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(U){U.callback=null},r.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):k=0<U?Math.floor(1e3/U):5},r.unstable_getCurrentPriorityLevel=function(){return Z},r.unstable_next=function(U){switch(Z){case 1:case 2:case 3:var F=3;break;default:F=Z}var I=Z;Z=F;try{return U()}finally{Z=I}},r.unstable_requestPaint=function(){Y=!0},r.unstable_runWithPriority=function(U,F){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var I=Z;Z=U;try{return F()}finally{Z=I}},r.unstable_scheduleCallback=function(U,F,I){var gt=r.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?gt+I:gt):I=gt,U){case 1:var H=-1;break;case 2:H=250;break;case 5:H=1073741823;break;case 4:H=1e4;break;default:H=5e3}return H=I+H,U={id:R++,callback:F,priorityLevel:U,startTime:I,expirationTime:H,sortIndex:-1},I>gt?(U.sortIndex=I,E(V,U),z(tt)===null&&U===z(V)&&(Ut?(pt(K),K=-1):Ut=!0,Qt(St,I-gt))):(U.sortIndex=H,E(tt,U),it||$||(it=!0,J||(J=!0,Tt()))),U},r.unstable_shouldYield=qt,r.unstable_wrapCallback=function(U){var F=Z;return function(){var I=Z;Z=F;try{return U.apply(this,arguments)}finally{Z=I}}}})(Ds)),Ds}var ym;function Oh(){return ym||(ym=1,Cs.exports=_h()),Cs.exports}var Us={exports:{}},yl={};/**
|
||
* @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 hm;function Ah(){if(hm)return yl;hm=1;var r=qs();function E(R){var T="https://react.dev/errors/"+R;if(1<arguments.length){T+="?args[]="+encodeURIComponent(arguments[1]);for(var Z=2;Z<arguments.length;Z++)T+="&args[]="+encodeURIComponent(arguments[Z])}return"Minified React error #"+R+"; visit "+T+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function z(){}var d={d:{f:z,r:function(){throw Error(E(522))},D:z,C:z,L:z,m:z,X:z,S:z,M:z},p:0,findDOMNode:null},C=Symbol.for("react.portal"),B=Symbol.for("react.recoverable"),M=Symbol.for("react.optimistic_key");function ut(R,T,Z){var $=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:C,key:$==null?null:$===M?M:""+$,children:R,containerInfo:T,implementation:Z}}var tt=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function V(R,T){if(R==="font")return"";if(typeof T=="string")return T==="use-credentials"?T:""}return yl.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=d,yl.browser=function(R){return{$$typeof:B,_reason:R}},yl.createPortal=function(R,T){var Z=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!T||T.nodeType!==1&&T.nodeType!==9&&T.nodeType!==11)throw Error(E(299));return ut(R,T,null,Z)},yl.flushSync=function(R){var T=tt.T,Z=d.p;try{if(tt.T=null,d.p=2,R)return R()}finally{tt.T=T,d.p=Z,d.d.f()}},yl.preconnect=function(R,T){typeof R=="string"&&(T?(T=T.crossOrigin,T=typeof T=="string"?T==="use-credentials"?T:"":void 0):T=null,d.d.C(R,T))},yl.prefetchDNS=function(R){typeof R=="string"&&d.d.D(R)},yl.preinit=function(R,T){if(typeof R=="string"&&T&&typeof T.as=="string"){var Z=T.as,$=V(Z,T.crossOrigin),it=typeof T.integrity=="string"?T.integrity:void 0,Ut=typeof T.fetchPriority=="string"?T.fetchPriority:void 0;Z==="style"?d.d.S(R,typeof T.precedence=="string"?T.precedence:void 0,{crossOrigin:$,integrity:it,fetchPriority:Ut}):Z==="script"&&d.d.X(R,{crossOrigin:$,integrity:it,fetchPriority:Ut,nonce:typeof T.nonce=="string"?T.nonce:void 0})}},yl.preinitModule=function(R,T){if(typeof R=="string")if(typeof T=="object"&&T!==null){if(T.as==null||T.as==="script"){var Z=V(T.as,T.crossOrigin);d.d.M(R,{crossOrigin:Z,integrity:typeof T.integrity=="string"?T.integrity:void 0,nonce:typeof T.nonce=="string"?T.nonce:void 0,fetchPriority:typeof T.fetchPriority=="string"?T.fetchPriority:void 0})}}else T==null&&d.d.M(R)},yl.preload=function(R,T){if(typeof R=="string"&&typeof T=="object"&&T!==null&&typeof T.as=="string"){var Z=T.as,$=V(Z,T.crossOrigin);d.d.L(R,Z,{crossOrigin:$,integrity:typeof T.integrity=="string"?T.integrity:void 0,nonce:typeof T.nonce=="string"?T.nonce:void 0,type:typeof T.type=="string"?T.type:void 0,fetchPriority:typeof T.fetchPriority=="string"?T.fetchPriority:void 0,referrerPolicy:typeof T.referrerPolicy=="string"?T.referrerPolicy:void 0,imageSrcSet:typeof T.imageSrcSet=="string"?T.imageSrcSet:void 0,imageSizes:typeof T.imageSizes=="string"?T.imageSizes:void 0,media:typeof T.media=="string"?T.media:void 0})}},yl.preloadModule=function(R,T){if(typeof R=="string")if(T){var Z=V(T.as,T.crossOrigin);d.d.m(R,{as:typeof T.as=="string"&&T.as!=="script"?T.as:void 0,crossOrigin:Z,integrity:typeof T.integrity=="string"?T.integrity:void 0,nonce:typeof T.nonce=="string"?T.nonce:void 0,fetchPriority:typeof T.fetchPriority=="string"?T.fetchPriority:void 0})}else d.d.m(R)},yl.requestFormReset=function(R){d.d.r(R)},yl.unstable_batchedUpdates=function(R,T){return R(T)},yl.useFormState=function(R,T,Z){return tt.H.useFormState(R,T,Z)},yl.useFormStatus=function(){return tt.H.useHostTransitionStatus()},yl.version="19.3.1",yl}var vm;function jh(){if(vm)return Us.exports;vm=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(E){console.error(E)}}return r(),Us.exports=Ah(),Us.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 gm;function Mh(){if(gm)return mn;gm=1;var r=Oh(),E=qs(),z=jh();function d(t){var l="https://react.dev/errors/"+t;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var e=2;e<arguments.length;e++)l+="&args[]="+encodeURIComponent(arguments[e])}return"Minified React error #"+t+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function C(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function B(t){for(var l=t,e=l;e&&!e.alternate;)l=e,(l.flags&4098)!==0&&(t=l.return),e=l.return;for(;l.return;)l=l.return;return l.tag===3?t:null}function M(t){if(t.tag===13){var l=t.memoizedState;if(l===null&&(t=t.alternate,t!==null&&(l=t.memoizedState)),l!==null)return l.dehydrated}return null}function ut(t){if(t.tag===31){var l=t.memoizedState;if(l===null&&(t=t.alternate,t!==null&&(l=t.memoizedState)),l!==null)return l.dehydrated}return null}function tt(t){if(B(t)!==t)throw Error(d(188))}function V(t){var l=t.alternate;if(!l){if(l=B(t),l===null)throw Error(d(188));return l!==t?null:t}for(var e=t,a=l;;){var u=e.return;if(u===null)break;var n=u.alternate;if(n===null){if(a=u.return,a!==null){e=a;continue}break}if(u.child===n.child){for(n=u.child;n;){if(n===e)return tt(u),t;if(n===a)return tt(u),l;n=n.sibling}throw Error(d(188))}if(e.return!==a.return)e=u,a=n;else{for(var i=!1,c=u.child;c;){if(c===e){i=!0,e=u,a=n;break}if(c===a){i=!0,a=u,e=n;break}c=c.sibling}if(!i){for(c=n.child;c;){if(c===e){i=!0,e=n,a=u;break}if(c===a){i=!0,a=n,e=u;break}c=c.sibling}if(!i)throw Error(d(189))}}if(e.alternate!==a)throw Error(d(190))}if(e.tag!==3)throw Error(d(188));return e.stateNode.current===e?t:l}function R(t){var l=t.tag;if(l===5||l===26||l===27||l===6)return t;for(t=t.child;t!==null;){if(l=R(t),l!==null)return l;t=t.sibling}return null}function T(t,l,e,a,u,n){for(;t!==null;){if((t.tag===5||t.tag===27||t.tag===6)&&e(t,a,u,n)||(t.tag!==22||t.memoizedState===null)&&(l||t.tag!==5&&t.tag!==27)&&T(t.child,l,e,a,u,n))return!0;t=t.sibling}return!1}function Z(t){for(t=t.return;t!==null;){if(t.tag===3||t.tag===5||t.tag===27)return t;t=t.return}return null}function $(t){var l=!1;for(t=t.return;t!==null&&(t.tag===4&&(l=!0),!(t.tag===3||t.tag===5||t.tag===27));)t=t.return;return l}function it(t){var l=[null,null],e=Z(t);return e===null||Ut(l,t,e.child,{foundSelf:!1}),l}function Ut(t,l,e,a){for(;e!==null;){if(e===l)a.foundSelf=!0;else if(e.tag===5||e.tag===27||e.tag===6){if(a.foundSelf)return t[1]=e,!0;t[0]=e}else if((e.tag!==22||e.memoizedState===null)&&Ut(t,l,e.child,a))return!0;e=e.sibling}return!1}function Y(t){switch(t.tag){case 5:case 27:case 6:return t.stateNode;case 3:return t.stateNode.containerInfo;default:throw Error(d(559))}}var vt=null,pt=null;function Ct(t,l,e){return t===e?!0:t===l?(vt=t,!0):!1}function Ft(t,l,e){return t===e?(pt=t,!1):t===l?(pt!==null&&(vt=t),!0):!1}function St(t){if(t===null)return null;do t=t===null?null:t.return;while(t&&t.tag!==5&&t.tag!==27&&t.tag!==3);return t||null}function J(t,l,e){for(var a=0,u=t;u;u=e(u))a++;u=0;for(var n=l;n;n=e(n))u++;for(;0<a-u;)t=e(t),a--;for(;0<u-a;)l=e(l),u--;for(;a--;){if(t===l||l!==null&&t===l.alternate)return t;t=e(t),l=e(l)}return null}var K=Object.assign,k=Symbol.for("react.element"),_t=Symbol.for("react.transitional.element"),qt=Symbol.for("react.portal"),Zt=Symbol.for("react.fragment"),Tt=Symbol.for("react.strict_mode"),Jt=Symbol.for("react.profiler"),al=Symbol.for("react.consumer"),Qt=Symbol.for("react.context"),U=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),I=Symbol.for("react.suspense_list"),gt=Symbol.for("react.memo"),H=Symbol.for("react.lazy"),at=Symbol.for("react.activity"),st=Symbol.for("react.legacy_hidden"),Bt=Symbol.for("react.memo_cache_sentinel"),o=Symbol.for("react.view_transition"),N=Symbol.for("react.recoverable"),w=Symbol.iterator;function G(t){return t===null||typeof t!="object"?null:(t=w&&t[w]||t["@@iterator"],typeof t=="function"?t:null)}var ot=Symbol.for("react.client.reference");function x(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===ot?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case Zt:return"Fragment";case Jt:return"Profiler";case Tt:return"StrictMode";case F:return"Suspense";case I:return"SuspenseList";case at:return"Activity";case o:return"ViewTransition"}if(typeof t=="object")switch(t.$$typeof){case qt:return"Portal";case Qt:return t.displayName||"Context";case al:return(t._context.displayName||"Context")+".Consumer";case U:var l=t.render;return t=t.displayName,t||(t=l.displayName||l.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case gt:return l=t.displayName||null,l!==null?l:x(t.type)||"Memo";case H:l=t._payload,t=t._init;try{return x(t(l))}catch{}}return null}var j=Array.isArray,p=E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,A=z.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,lt={pending:!1,data:null,method:null,action:null},P=[],q=-1;function Yt(t){return{current:t}}function Rt(t){0>q||(t.current=P[q],P[q]=null,q--)}function Nt(t,l){q++,P[q]=t.current,t.current=l}var te=Yt(null),gu=Yt(null),je=Yt(null),hn=Yt(null);function vn(t,l){switch(Nt(je,l),Nt(gu,t),Nt(te,null),l.nodeType){case 9:case 11:t=(t=l.documentElement)&&(t=t.namespaceURI)?b0(t):0;break;default:if(t=l.tagName,l=l.namespaceURI)l=b0(l),t=x0(l,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Rt(te),Nt(te,t)}function Oa(){Rt(te),Rt(gu),Rt(je)}function Ji(t){var l=t.memoizedState;l!==null&&(yu._currentValue=l.memoizedState,Nt(hn,t)),l=te.current;var e=x0(l,t.type);l!==e&&(Nt(gu,t),Nt(te,e))}function gn(t){gu.current===t&&(Rt(te),Rt(gu)),hn.current===t&&(Rt(hn),yu._currentValue=lt)}var ki,Ys;function Me(t){if(ki===void 0)try{throw Error()}catch(e){var l=e.stack.trim().match(/\n( *(at )?)/);ki=l&&l[1]||"",Ys=-1<e.stack.indexOf(`
|
||
at`)?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return`
|
||
`+ki+t+Ys}var $i=!1;function Fi(t,l){if(!t||$i)return"";$i=!0;var e=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(l){var O=function(){throw Error()};if(Object.defineProperty(O.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(O,[])}catch(D){var y=D}Reflect.construct(t,[],O)}else{try{O.call()}catch(D){y=D}O=!1;try{var b=Object.getOwnPropertyDescriptor(t.prototype,"props");Object.defineProperty(t.prototype,"props",{configurable:!0,set:function(){throw Error()}}),O=!0,new t}finally{O&&(b!==void 0?Object.defineProperty(t.prototype,"props",b):delete t.prototype.props)}}}else{try{throw Error()}catch(D){y=D}(O=t())&&typeof O.catch=="function"&&O.catch(function(){})}}catch(D){if(D&&y&&typeof D.stack=="string")return[D.stack,y.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var n=a.DetermineComponentFrameRoot(),i=n[0],c=n[1];if(i&&c){var s=i.split(`
|
||
`),v=c.split(`
|
||
`);for(u=a=0;a<s.length&&!s[a].includes("DetermineComponentFrameRoot");)a++;for(;u<v.length&&!v[u].includes("DetermineComponentFrameRoot");)u++;if(a===s.length||u===v.length)for(a=s.length-1,u=v.length-1;1<=a&&0<=u&&s[a]!==v[u];)u--;for(;1<=a&&0<=u;a--,u--)if(s[a]!==v[u]){if(a!==1||u!==1)do if(a--,u--,0>u||s[a]!==v[u]){var S=`
|
||
`+s[a].replace(" at new "," at ");return t.displayName&&S.includes("<anonymous>")&&(S=S.replace("<anonymous>",t.displayName)),S}while(1<=a&&0<=u);break}}}finally{$i=!1,Error.prepareStackTrace=e}return(e=t?t.displayName||t.name:"")?Me(e):""}function zm(t,l){switch(t.tag){case 26:case 27:case 5:return Me(t.type);case 16:return Me("Lazy");case 13:return t.child!==l&&l!==null?Me("Suspense Fallback"):Me("Suspense");case 19:return Me("SuspenseList");case 0:case 15:return Fi(t.type,!1);case 11:return Fi(t.type.render,!1);case 1:return Fi(t.type,!0);case 31:return Me("Activity");case 30:return Me("ViewTransition");default:return""}}function ws(t){try{var l="",e=null;do l+=zm(t,e),e=t,t=t.return;while(t);return l}catch(a){return`
|
||
Error generating stack: `+a.message+`
|
||
`+a.stack}}var Wi=Object.prototype.hasOwnProperty,Ii=r.unstable_scheduleCallback,Pi=r.unstable_cancelCallback,_m=r.unstable_shouldYield,Om=r.unstable_requestPaint,Ol=r.unstable_now,Am=r.unstable_getCurrentPriorityLevel,Gs=r.unstable_ImmediatePriority,Qs=r.unstable_UserBlockingPriority,bn=r.unstable_NormalPriority,jm=r.unstable_LowPriority,Xs=r.unstable_IdlePriority,Mm=r.log,Cm=r.unstable_setDisableYieldValue,bu=null,Al=null;function Ce(t){if(typeof Mm=="function"&&Cm(t),Al&&typeof Al.setStrictMode=="function")try{Al.setStrictMode(bu,t)}catch{}}var jl=Math.clz32?Math.clz32:Rm,Dm=Math.log,Um=Math.LN2;function Rm(t){return t>>>=0,t===0?32:31-(Dm(t)/Um|0)|0}var xn=256,pn=262144,Sn=4194304;function ua(t){var l=t&42;if(l!==0)return l;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&-t;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Tn(t,l,e){var a=t.pendingLanes;if(a===0)return 0;var u=0,n=t.suspendedLanes,i=t.pingedLanes;t=t.warmLanes;var c=a&134217727;return c!==0?(a=c&~n,a!==0?u=ua(a):(i&=c,i!==0?u=ua(i):e||(e=c&~t,e!==0&&(u=ua(e))))):(c=a&~n,c!==0?u=ua(c):i!==0?u=ua(i):e||(e=a&~t,e!==0&&(u=ua(e)))),u===0?0:l!==0&&l!==u&&(l&n)===0&&(n=u&-u,e=l&-l,n>=e||n===32&&(e&4194048)!==0)?l:u}function xu(t,l){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&l)===0}function Vs(t,l){(l&8)!==0&&(l|=l&32);var e=t.entangledLanes;if(e!==0)for(t=t.entanglements,e&=l;0<e;){var a=31-jl(e),u=1<<a;l|=t[a],e&=~u}return l}function Hm(t,l){switch(t){case 1:case 2:case 4:case 8:case 64:return l+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 l+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 Zs(){var t=Sn;return Sn<<=1,(Sn&62914560)===0&&(Sn=4194304),t}function tc(t){for(var l=[],e=0;31>e;e++)l.push(t);return l}function pu(t,l){t.pendingLanes|=l,l!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function qm(t,l,e,a,u,n){var i=t.pendingLanes;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=e,t.entangledLanes&=e,t.errorRecoveryDisabledLanes&=e,t.shellSuspendCounter=0;var c=t.entanglements,s=t.expirationTimes,v=t.hiddenUpdates;for(e=i&~e;0<e;){var S=31-jl(e),O=1<<S;c[S]=0,s[S]=-1;var y=v[S];if(y!==null)for(v[S]=null,S=0;S<y.length;S++){var b=y[S];b!==null&&(b.lane&=-536870913)}e&=~O}a!==0&&Ls(t,a,0),n!==0&&u===0&&t.tag!==0&&(t.suspendedLanes|=n&~(i&~l))}function Ls(t,l,e){t.pendingLanes|=l,t.suspendedLanes&=~l;var a=31-jl(l);t.entangledLanes|=l,t.entanglements[a]=t.entanglements[a]|1073741824|e&261930}function Ks(t,l){var e=t.entangledLanes|=l;for(t=t.entanglements;e;){var a=31-jl(e),u=1<<a;u&l|t[a]&l&&(t[a]|=l),e&=~u}}function Js(t,l){var e=l&-l;return e=(e&42)!==0?1:lc(e),(e&(t.suspendedLanes|l))!==0?0:e}function lc(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function ec(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function ks(){var t=A.p;return t!==0?t:(t=window.event,t===void 0?32:em(t.type))}function $s(t,l){var e=A.p;try{return A.p=t,l()}finally{A.p=e}}var me=Math.random().toString(36).slice(2),fl="__reactFiber$"+me,Sl="__reactProps$"+me,Aa="__reactContainer$"+me,Fs="__reactEvents$"+me,Bm="__reactListeners$"+me,Ym="__reactHandles$"+me,Ws="__reactResources$"+me,Su="__reactMarker$"+me,Nn="__reactLoad$"+me;function En(t){delete t[fl],delete t[Sl],delete t[Bm],delete t[Ym]}function na(t){var l;if(l=t[fl])return l;for(var e=t.parentNode;e;){if(l=e[Aa]||e[fl]){if(e=l.alternate,l.child!==null||e!==null&&e.child!==null)for(t=q0(t);t!==null;){if(e=t[fl])return e;t=q0(t)}return l}t=e,e=t.parentNode}return null}function ja(t){if(t=t[fl]||t[Aa]){var l=t.tag;if(l===5||l===6||l===13||l===31||l===26||l===27||l===3)return t}return null}function Tu(t){var l=t.tag;if(l===5||l===26||l===27||l===6)return t.stateNode;throw Error(d(33))}function Ma(t){var l=t[Ws];return l||(l=t[Ws]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function ul(t){t[Su]=!0}function Is(t){t[Nn]=void 0}var Ps=new Set,tr={};function ia(t,l){Ca(t,l),Ca(t+"Capture",l)}function Ca(t,l){for(tr[t]=l,t=0;t<l.length;t++)Ps.add(l[t])}var wm=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]*$"),lr={},er={};function Gm(t){return Wi.call(er,t)?!0:Wi.call(lr,t)?!1:wm.test(t)?er[t]=!0:(lr[t]=!0,!1)}var xt=!1;function ar(){var t=xt;return xt=!1,t}function zn(t,l,e){if(Gm(l))if(e===null)t.removeAttribute(l);else{switch(typeof e){case"undefined":case"function":case"symbol":t.removeAttribute(l);return;case"boolean":var a=l.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){t.removeAttribute(l);return}}t.setAttribute(l,e)}}function _n(t,l,e){if(e===null)t.removeAttribute(l);else{switch(typeof e){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttribute(l,e)}}function ye(t,l,e,a){if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttributeNS(l,e,a)}}function Ml(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function ur(t){var l=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function Qm(t,l,e){var a=Object.getOwnPropertyDescriptor(t.constructor.prototype,l);if(!t.hasOwnProperty(l)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var u=a.get,n=a.set;return Object.defineProperty(t,l,{configurable:!0,get:function(){return u.call(this)},set:function(i){e=""+i,n.call(this,i)}}),Object.defineProperty(t,l,{enumerable:a.enumerable}),{getValue:function(){return e},setValue:function(i){e=""+i},stopTracking:function(){t._valueTracker=null,delete t[l]}}}}function ac(t){if(!t._valueTracker){var l=ur(t)?"checked":"value";t._valueTracker=Qm(t,l,""+t[l])}}function nr(t){if(!t)return!1;var l=t._valueTracker;if(!l)return!0;var e=l.getValue(),a="";return t&&(a=ur(t)?t.checked?"true":"false":t.value),t=a,t!==e?(l.setValue(t),!0):!1}var Xm=/[\n"\\]/g;function Yl(t){return t.replace(Xm,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function uc(t,l,e,a,u,n,i,c){t.name="",i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?t.type=i:t.removeAttribute("type"),l!=null?i==="number"?(l===0&&t.value===""||t.value!=l)&&(t.value=""+Ml(l)):t.value!==""+Ml(l)&&(t.value=""+Ml(l)):i!=="submit"&&i!=="reset"||t.removeAttribute("value"),l!=null?i==="number"&&t.value==l?nc(t,Ml(t.value)):nc(t,Ml(l)):e!=null?nc(t,Ml(e)):a!=null&&t.removeAttribute("value"),u==null&&n!=null&&(t.defaultChecked=!!n),u!=null&&(t.checked=u&&typeof u!="function"&&typeof u!="symbol"),c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?t.name=""+Ml(c):t.removeAttribute("name")}function ir(t,l,e,a,u,n,i,c){if(n!=null&&typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"&&(t.type=n),l!=null||e!=null){if(!(n!=="submit"&&n!=="reset"||l!=null)){ac(t);return}e=e!=null?""+Ml(e):"",l=l!=null?""+Ml(l):e,c||l===t.value||(t.value=l),t.defaultValue=l}a=a??u,a=typeof a!="function"&&typeof a!="symbol"&&!!a,t.checked=c?t.checked:!!a,t.defaultChecked=!!a,i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(t.name=i),ac(t)}function nc(t,l){t.defaultValue!==""+l&&(t.defaultValue=""+l)}function Da(t,l,e,a){if(t=t.options,l){l={};for(var u=0;u<e.length;u++)l["$"+e[u]]=!0;for(e=0;e<t.length;e++)u=l.hasOwnProperty("$"+t[e].value),t[e].selected!==u&&(t[e].selected=u),u&&a&&(t[e].defaultSelected=!0)}else{for(e=""+Ml(e),l=null,u=0;u<t.length;u++){if(t[u].value===e){t[u].selected=!0,a&&(t[u].defaultSelected=!0);return}l!==null||t[u].disabled||(l=t[u])}l!==null&&(l.selected=!0)}}function cr(t,l,e){if(l!=null&&(l=""+Ml(l),l!==t.value&&(t.value=l),e==null)){t.defaultValue!==l&&(t.defaultValue=l);return}t.defaultValue=e!=null?""+Ml(e):""}function fr(t,l,e,a){if(l==null){if(a!=null){if(e!=null)throw Error(d(92));if(j(a)){if(1<a.length)throw Error(d(93));a=a[0]}e=a}e==null&&(e=""),l=e}e=Ml(l),t.defaultValue=e,a=t.textContent,a===e&&a!==""&&a!==null&&(t.value=a),ac(t)}function Ua(t,l){if(l){var e=t.firstChild;if(e&&e===t.lastChild&&e.nodeType===3){e.nodeValue=l;return}}t.textContent=l}var Vm=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 sr(t,l,e){var a=l.indexOf("--")===0;e==null||typeof e=="boolean"||e===""?a?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="":a?t.setProperty(l,e):typeof e!="number"||e===0||Vm.has(l)?l==="float"?t.cssFloat=e:t[l]=(""+e).trim():t[l]=e+"px"}function rr(t,l,e){if(l!=null&&typeof l!="object")throw Error(d(62));if(t=t.style,e!=null){for(var a in e)!e.hasOwnProperty(a)||l!=null&&l.hasOwnProperty(a)||(a.indexOf("--")===0?t.setProperty(a,""):a==="float"?t.cssFloat="":t[a]="",xt=!0);for(var u in l)a=l[u],l.hasOwnProperty(u)&&e[u]!==a&&(sr(t,u,a),xt=!0)}else for(var n in l)l.hasOwnProperty(n)&&sr(t,n,l[n])}function ic(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Zm=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"]]),Lm=/^[\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 On(t){return Lm.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function le(){}var cc=null;function fc(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Ra=null,Ha=null;function or(t){var l=ja(t);if(l&&(t=l.stateNode)){var e=t[Sl]||null;t:switch(t=l.stateNode,l.type){case"input":if(uc(t,e.value,e.defaultValue,e.defaultValue,e.checked,e.defaultChecked,e.type,e.name),l=e.name,e.type==="radio"&&l!=null){for(e=t;e.parentNode;)e=e.parentNode;for(e=e.querySelectorAll('input[name="'+Yl(""+l)+'"][type="radio"]'),l=0;l<e.length;l++){var a=e[l];if(a!==t&&a.form===t.form){var u=a[Sl]||null;if(!u)throw Error(d(90));uc(a,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(l=0;l<e.length;l++)a=e[l],a.form===t.form&&nr(a)}break t;case"textarea":cr(t,e.value,e.defaultValue);break t;case"select":l=e.value,l!=null&&Da(t,!!e.multiple,l,!1)}}}var sc=!1;function dr(t,l,e){if(sc)return t(l,e);sc=!0;try{var a=t(l);return a}finally{if(sc=!1,(Ra!==null||Ha!==null)&&(Oi(),Ra&&(l=Ra,t=Ha,Ha=Ra=null,or(l),t)))for(l=0;l<t.length;l++)or(t[l])}}function Nu(t,l){var e=t.stateNode;if(e===null)return null;var a=e[Sl]||null;if(a===null)return null;e=a[l];t:switch(l){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(t=t.type,a=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!a;break t;default:t=!1}if(t)return null;if(e&&typeof e!="function")throw Error(d(231,l,typeof e));return e}var he=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),rc=!1;if(he)try{var Eu={};Object.defineProperty(Eu,"passive",{get:function(){rc=!0}}),window.addEventListener("test",Eu,Eu),window.removeEventListener("test",Eu,Eu)}catch{rc=!1}var De=null,oc=null,An=null;function mr(){if(An)return An;var t,l=oc,e=l.length,a,u="value"in De?De.value:De.textContent,n=u.length;for(t=0;t<e&&l[t]===u[t];t++);var i=e-t;for(a=1;a<=i&&l[e-a]===u[n-a];a++);return An=u.slice(t,1<a?1-a:void 0)}function jn(t){var l=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&l===13&&(t=13)):t=l,t===10&&(t=13),32<=t||t===13?t:0}function Mn(){return!0}function yr(){return!1}function gl(t){function l(e,a,u,n,i){this._reactName=e,this._targetInst=u,this.type=a,this.nativeEvent=n,this.target=i,this.currentTarget=null;for(var c in t)t.hasOwnProperty(c)&&(e=t[c],this[c]=e?e(n):n[c]);return this.isDefaultPrevented=(n.defaultPrevented!=null?n.defaultPrevented:n.returnValue===!1)?Mn:yr,this.isPropagationStopped=yr,this}return K(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!="unknown"&&(e.returnValue=!1),this.isDefaultPrevented=Mn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!="unknown"&&(e.cancelBubble=!0),this.isPropagationStopped=Mn)},persist:function(){},isPersistent:Mn}),l}var Ue={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Cn=gl(Ue),zu=K({},Ue,{view:0,detail:0}),Km=gl(zu),dc,mc,_u,Dn=K({},zu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:hc,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==_u&&(_u&&t.type==="mousemove"?(dc=t.screenX-_u.screenX,mc=t.screenY-_u.screenY):mc=dc=0,_u=t),dc)},movementY:function(t){return"movementY"in t?t.movementY:mc}}),hr=gl(Dn),Jm=K({},Dn,{dataTransfer:0}),km=gl(Jm),$m=K({},zu,{relatedTarget:0}),yc=gl($m),Fm=K({},Ue,{animationName:0,elapsedTime:0,pseudoElement:0}),Wm=gl(Fm),Im=K({},Ue,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Pm=gl(Im),t1=K({},Ue,{data:0}),vr=gl(t1),l1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},e1={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"},a1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function u1(t){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(t):(t=a1[t])?!!l[t]:!1}function hc(){return u1}var n1=K({},zu,{key:function(t){if(t.key){var l=l1[t.key]||t.key;if(l!=="Unidentified")return l}return t.type==="keypress"?(t=jn(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?e1[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:hc,charCode:function(t){return t.type==="keypress"?jn(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?jn(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),i1=gl(n1),c1=K({},Dn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),gr=gl(c1),f1=K({},Ue,{submitter:0}),s1=gl(f1),r1=K({},zu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:hc}),o1=gl(r1),d1=K({},Ue,{propertyName:0,elapsedTime:0,pseudoElement:0}),m1=gl(d1),y1=K({},Dn,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),h1=gl(y1),v1=K({},Ue,{newState:0,oldState:0,source:0}),g1=gl(v1),b1=[9,13,27,32],vc=he&&"CompositionEvent"in window,Ou=null;he&&"documentMode"in document&&(Ou=document.documentMode);var x1=he&&"TextEvent"in window&&!Ou,br=he&&(!vc||Ou&&8<Ou&&11>=Ou),xr=" ",pr=!1;function Sr(t,l){switch(t){case"keyup":return b1.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Tr(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var qa=!1;function p1(t,l){switch(t){case"compositionend":return Tr(l);case"keypress":return l.which!==32?null:(pr=!0,xr);case"textInput":return t=l.data,t===xr&&pr?null:t;default:return null}}function S1(t,l){if(qa)return t==="compositionend"||!vc&&Sr(t,l)?(t=mr(),An=oc=De=null,qa=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1<l.char.length)return l.char;if(l.which)return String.fromCharCode(l.which)}return null;case"compositionend":return br&&l.locale!=="ko"?null:l.data;default:return null}}var T1={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 Nr(t){var l=t&&t.nodeName&&t.nodeName.toLowerCase();return l==="input"?!!T1[t.type]:l==="textarea"}function Er(t,l,e,a){Ra?Ha?Ha.push(a):Ha=[a]:Ra=a,l=Ui(l,"onChange"),0<l.length&&(e=new Cn("onChange","change",null,e,a),t.push({event:e,listeners:l}))}var Au=null,ju=null;function N1(t){d0(t,0)}function Un(t){var l=Tu(t);if(nr(l))return t}function zr(t,l){if(t==="change")return l}var _r=!1;if(he){var gc;if(he){var bc="oninput"in document;if(!bc){var Or=document.createElement("div");Or.setAttribute("oninput","return;"),bc=typeof Or.oninput=="function"}gc=bc}else gc=!1;_r=gc&&(!document.documentMode||9<document.documentMode)}function Ar(){Au&&(Au.detachEvent("onpropertychange",jr),ju=Au=null)}function jr(t){if(t.propertyName==="value"&&Un(ju)){var l=[];Er(l,ju,t,fc(t)),dr(N1,l)}}function E1(t,l,e){t==="focusin"?(Ar(),Au=l,ju=e,Au.attachEvent("onpropertychange",jr)):t==="focusout"&&Ar()}function z1(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Un(ju)}function _1(t,l){if(t==="click")return Un(l)}function O1(t,l){if(t==="input"||t==="change")return Un(l)}function A1(t,l){return t===l&&(t!==0||1/t===1/l)||t!==t&&l!==l}var Cl=typeof Object.is=="function"?Object.is:A1;function Mu(t,l){if(Cl(t,l))return!0;if(typeof t!="object"||t===null||typeof l!="object"||l===null)return!1;var e=Object.keys(t),a=Object.keys(l);if(e.length!==a.length)return!1;for(a=0;a<e.length;a++){var u=e[a];if(!Wi.call(l,u)||!Cl(t[u],l[u]))return!1}return!0}function xc(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function Mr(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Cr(t,l){var e=Mr(t);t=0;for(var a;e;){if(e.nodeType===3){if(a=t+e.textContent.length,t<=l&&a>=l)return{node:e,offset:l-t};t=a}t:{for(;e;){if(e.nextSibling){e=e.nextSibling;break t}e=e.parentNode}e=void 0}e=Mr(e)}}function Dr(t,l){return t&&l?t===l?!0:t&&t.nodeType===3?!1:l&&l.nodeType===3?Dr(t,l.parentNode):"contains"in t?t.contains(l):t.compareDocumentPosition?!!(t.compareDocumentPosition(l)&16):!1:!1}function Ur(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var l=xc(t.document);l instanceof t.HTMLIFrameElement;){try{var e=typeof l.contentWindow.location.href=="string"}catch{e=!1}if(e)t=l.contentWindow;else break;l=xc(t.document)}return l}function pc(t){var l=t&&t.nodeName&&t.nodeName.toLowerCase();return l&&(l==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||l==="textarea"||t.contentEditable==="true")}var j1=he&&"documentMode"in document&&11>=document.documentMode,Ba=null,Sc=null,Cu=null,Tc=!1;function Rr(t,l,e){var a=e.window===e?e.document:e.nodeType===9?e:e.ownerDocument;Tc||Ba==null||Ba!==xc(a)||(a=Ba,"selectionStart"in a&&pc(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}),Cu&&Mu(Cu,a)||(Cu=a,a=Ui(Sc,"onSelect"),0<a.length&&(l=new Cn("onSelect","select",null,l,e),t.push({event:l,listeners:a}),l.target=Ba)))}function ca(t,l){var e={};return e[t.toLowerCase()]=l.toLowerCase(),e["Webkit"+t]="webkit"+l,e["Moz"+t]="moz"+l,e}var Ya={animationend:ca("Animation","AnimationEnd"),animationiteration:ca("Animation","AnimationIteration"),animationstart:ca("Animation","AnimationStart"),transitionrun:ca("Transition","TransitionRun"),transitionstart:ca("Transition","TransitionStart"),transitioncancel:ca("Transition","TransitionCancel"),transitionend:ca("Transition","TransitionEnd")},Nc={},Hr={};he&&(Hr=document.createElement("div").style,"AnimationEvent"in window||(delete Ya.animationend.animation,delete Ya.animationiteration.animation,delete Ya.animationstart.animation),"TransitionEvent"in window||delete Ya.transitionend.transition);function fa(t){if(Nc[t])return Nc[t];if(!Ya[t])return t;var l=Ya[t],e;for(e in l)if(l.hasOwnProperty(e)&&e in Hr)return Nc[t]=l[e];return t}var qr=fa("animationend"),Br=fa("animationiteration"),Yr=fa("animationstart"),M1=fa("transitionrun"),C1=fa("transitionstart"),D1=fa("transitioncancel"),wr=fa("transitionend"),Gr=new Map,Ec="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(" ");Ec.push("scrollEnd");function Jl(t,l){Gr.set(t,l),ia(l,[t])}var U1=0;function ve(t,l){if(t.name!=null&&t.name!=="auto")return t.name;if(l.autoName!==null)return l.autoName;t=Wl.identifierPrefix;var e=U1++;return t="_"+t+"t_"+e.toString(32)+"_",l.autoName=t}function Qr(t){if(t==null||typeof t=="string")return t;var l=null,e=uu;if(e!==null)for(var a=0;a<e.length;a++){var u=t[e[a]];if(u!=null){if(u==="none")return"none";l=l==null?u:l+(" "+u)}}return l??t.default}function ge(t,l){return t=Qr(t),l=Qr(l),l==null?t==="auto"?null:t:l==="auto"?null:l}var Rn=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var l=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(l))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},wl=[],wa=0,zc=0;function Hn(){for(var t=wa,l=zc=wa=0;l<t;){var e=wl[l];wl[l++]=null;var a=wl[l];wl[l++]=null;var u=wl[l];wl[l++]=null;var n=wl[l];if(wl[l++]=null,a!==null&&u!==null){var i=a.pending;i===null?u.next=u:(u.next=i.next,i.next=u),a.pending=u}n!==0&&Xr(e,u,n)}}function qn(t,l,e,a){wl[wa++]=t,wl[wa++]=l,wl[wa++]=e,wl[wa++]=a,zc|=a,t.lanes|=a,t=t.alternate,t!==null&&(t.lanes|=a)}function _c(t,l,e,a){return qn(t,l,e,a),Bn(t)}function sa(t,l){return qn(t,null,null,l),Bn(t)}function Xr(t,l,e){t.lanes|=e;var a=t.alternate;a!==null&&(a.lanes|=e);for(var u=!1,n=t.return;n!==null;)n.childLanes|=e,a=n.alternate,a!==null&&(a.childLanes|=e),n.tag===22&&(t=n.stateNode,t===null||t._visibility&1||(u=!0)),t=n,n=n.return;return t.tag===3?(n=t.stateNode,u&&l!==null&&(u=31-jl(e),t=n.hiddenUpdates,a=t[u],a===null?t[u]=[l]:a.push(l),l.lane=e|536870912),n):null}function Bn(t){if(50<Pu)throw Pu=0,_i=null,Error(d(185));for(var l=t.return;l!==null;)t=l,l=t.return;return t.tag===3?t.stateNode:null}var Ga={};function R1(t,l,e,a){this.tag=t,this.key=e,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=l,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 Tl(t,l,e,a){return new R1(t,l,e,a)}function Oc(t){return t=t.prototype,!(!t||!t.isReactComponent)}function be(t,l){var e=t.alternate;return e===null?(e=Tl(t.tag,l,t.key,t.mode),e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.alternate=t,t.alternate=e):(e.pendingProps=l,e.type=t.type,e.flags=0,e.subtreeFlags=0,e.deletions=null),e.flags=t.flags&1206910976,e.childLanes=t.childLanes,e.lanes=t.lanes,e.child=t.child,e.memoizedProps=t.memoizedProps,e.memoizedState=t.memoizedState,e.updateQueue=t.updateQueue,l=t.dependencies,e.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.refCleanup=t.refCleanup,e}function Vr(t,l){t.flags&=1206910978;var e=t.alternate;return e===null?(t.childLanes=0,t.lanes=l,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,t.type=e.type,l=e.dependencies,t.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),t}function Yn(t,l,e,a,u,n){var i=0;if(a=t,typeof a=="function")Oc(a)&&(i=1);else if(typeof a=="string")i=fh(t,e,te.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(a){case at:return t=Tl(31,e,l,u),t.elementType=at,t.lanes=n,t;case Zt:return ra(e.children,u,n,l);case Tt:i=8,u|=24;break;case Jt:return t=Tl(12,e,l,u|2),t.elementType=Jt,t.lanes=n,t;case F:return t=Tl(13,e,l,u),t.elementType=F,t.lanes=n,t;case I:return t=Tl(19,e,l,u),t.elementType=I,t.lanes=n,t;case st:case o:return t=u|32,t=Tl(30,e,l,t),t.elementType=o,t.lanes=n,t.stateNode={autoName:null,paired:null,clones:null,ref:null},t;default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case Qt:i=10;break t;case al:i=9;break t;case U:i=11;break t;case gt:i=14;break t;case H:i=16,a=null;break t}i=29,e=Error(d(130,t===null?"null":typeof t,"")),a=null}return l=Tl(i,e,l,u),l.elementType=t,l.type=a,l.lanes=n,l}function ra(t,l,e,a){return t=Tl(7,t,a,l),t.lanes=e,t}function Ac(t,l,e){return t=Tl(6,t,null,l),t.lanes=e,t}function Zr(t){var l=Tl(18,null,null,0);return l.stateNode=t,l}function jc(t,l,e){return l=Tl(4,t.children!==null?t.children:[],t.key,l),l.lanes=e,l.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},l}var Lr=new WeakMap;function Gl(t,l){if(typeof t=="object"&&t!==null){var e=Lr.get(t);return e!==void 0?e:(l={value:t,source:l,stack:ws(l)},Lr.set(t,l),l)}return{value:t,source:l,stack:ws(l)}}var Qa=[],Xa=0,wn=null,Du=0,Ql=[],Xl=0,Re=null,ee=1,ae="";function xe(t,l){Qa[Xa++]=Du,Qa[Xa++]=wn,wn=t,Du=l}function Kr(t,l,e){Ql[Xl++]=ee,Ql[Xl++]=ae,Ql[Xl++]=Re,Re=t;var a=ee;t=ae;var u=32-jl(a)-1;a&=~(1<<u),e+=1;var n=32-jl(l)+u;if(30<n){var i=u-u%5;n=(a&(1<<i)-1).toString(32),a>>=i,u-=i,ee=1<<32-jl(l)+u|e<<u|a,ae=n+t}else ee=1<<n|e<<u|a,ae=t}function Gn(t){t.return!==null&&(xe(t,1),Kr(t,1,0))}function Mc(t){for(;t===wn;)wn=Qa[--Xa],Qa[Xa]=null,Du=Qa[--Xa],Qa[Xa]=null;for(;t===Re;)Re=Ql[--Xl],Ql[Xl]=null,ae=Ql[--Xl],Ql[Xl]=null,ee=Ql[--Xl],Ql[Xl]=null}function Jr(t,l){Ql[Xl++]=ee,Ql[Xl++]=ae,Ql[Xl++]=Re,ee=l.id,ae=l.overflow,Re=t}var nl=null,wt=null,rt=!1,He=null,Vl=!1,Cc=Error(d(519));function qe(t){var l=Error(d(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Uu(Gl(l,t)),Cc}function kr(t){var l=t.stateNode,e=t.type,a=t.memoizedProps;switch(l[fl]=t,l[Sl]=a,e){case"dialog":mt("cancel",l),mt("close",l);break;case"iframe":case"object":case"embed":mt("load",l);break;case"video":case"audio":for(e=0;e<ln.length;e++)mt(ln[e],l);break;case"source":mt("error",l);break;case"img":case"image":case"link":mt("error",l),mt("load",l);break;case"details":mt("toggle",l);break;case"input":mt("invalid",l),ir(l,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":mt("invalid",l);break;case"textarea":mt("invalid",l),fr(l,a.value,a.defaultValue,a.children)}e=a.children,typeof e!="string"&&typeof e!="number"&&typeof e!="bigint"||l.textContent===""+e||a.suppressHydrationWarning===!0||v0(l.textContent,e)?(a.popover!=null&&(mt("beforetoggle",l),mt("toggle",l)),a.onScroll!=null&&mt("scroll",l),a.onScrollEnd!=null&&mt("scrollend",l),a.onClick!=null&&(l.onclick=le),l=!0):l=!1,l||qe(t,!0)}function Qn(t){for(nl=t.return;nl;)switch(nl.tag){case 5:case 31:case 13:Vl=!1;return;case 27:case 3:Vl=!0;return;default:nl=nl.return}}function Va(t){if(t!==nl)return!1;if(!rt)return Qn(t),rt=!0,!1;var l=t.tag,e;if((e=l!==3&&l!==27)&&((e=l===5)&&(e=t.type,e=!(e!=="form"&&e!=="button")||fs(t.type,t.memoizedProps)),e=!e),e&&wt&&qe(t),Qn(t),l===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(d(317));wt=H0(t)}else if(l===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(d(317));wt=H0(t)}else l===27?(l=wt,Ie(t.type)?(t=gs,gs=null,wt=t):wt=l):wt=nl?Ll(t.stateNode.nextSibling):null;return!0}function oa(){wt=nl=null,rt=!1}function Dc(){var t=He;return t!==null&&(zl===null?zl=t:zl.push.apply(zl,t),He=null),t}function Uu(t){He===null?He=[t]:He.push(t)}var Uc=Yt(null),da=null,pe=null;function Be(t,l,e){Nt(Uc,l._currentValue),l._currentValue=e}function Se(t){t._currentValue=Uc.current,Rt(Uc)}function Xn(t,l,e){for(;t!==null;){var a=t.alternate;if((t.childLanes&l)!==l?(t.childLanes|=l,a!==null&&(a.childLanes|=l)):a!==null&&(a.childLanes&l)!==l&&(a.childLanes|=l),t===e)break;t=t.return}}function Rc(t,l,e,a){var u=t.child;for(u!==null&&(u.return=t);u!==null;){var n=u.dependencies;if(n!==null){var i=u.child;n=n.firstContext;t:for(;n!==null;){var c=n;n=u;for(var s=0;s<l.length;s++)if(c.context===l[s]){n.lanes|=e,c=n.alternate,c!==null&&(c.lanes|=e),Xn(n.return,e,t),a||(i=null);break t}n=c.next}}else if(u.tag===18){if(i=u.return,i===null)throw Error(d(341));i.lanes|=e,n=i.alternate,n!==null&&(n.lanes|=e),Xn(i,e,t),i=null}else u.tag===13&&u.memoizedState!==null&&u.memoizedState.dehydrated===null?(u.lanes|=e,i=u.alternate,i!==null&&(i.lanes|=e),Xn(u.return,e,t),i=u.child,i=i!==null?i.sibling:null):i=u.child;if(i!==null)i.return=u;else for(i=u;i!==null;){if(i===t){i=null;break}if(u=i.sibling,u!==null){u.return=i.return,i=u;break}i=i.return}u=i}}function ma(t,l,e,a){t=null;for(var u=l,n=!1;u!==null;){if(!n){if((u.flags&524288)!==0)n=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var i=u.alternate;if(i===null)throw Error(d(387));if(i=i.memoizedProps,i!==null){var c=u.type;Cl(u.pendingProps.value,i.value)||(t!==null?t.push(c):t=[c])}}else if(u===hn.current){if(i=u.alternate,i===null)throw Error(d(387));i.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(t!==null?t.push(yu):t=[yu])}u=u.return}return t!==null&&Rc(l,t,e,a),l.flags|=262144,t!==null}function Vn(t){for(t=t.firstContext;t!==null;){if(!Cl(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function ya(t){da=t,pe=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function sl(t){return $r(da,t)}function Zn(t,l){return da===null&&ya(t),$r(t,l)}function $r(t,l){var e=l._currentValue;if(l={context:l,memoizedValue:e,next:null},pe===null){if(t===null)throw Error(d(308));pe=l,t.dependencies={lanes:0,firstContext:l},t.flags|=524288}else pe=pe.next=l;return e}var H1=typeof AbortController<"u"?AbortController:function(){var t=[],l=this.signal={aborted:!1,addEventListener:function(e,a){t.push(a)}};this.abort=function(){l.aborted=!0,t.forEach(function(e){return e()})}},q1=r.unstable_scheduleCallback,B1=r.unstable_NormalPriority,It={$$typeof:Qt,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Hc(){return{controller:new H1,data:new Map,refCount:0}}function Ru(t){t.refCount--,t.refCount===0&&q1(B1,function(){t.controller.abort()})}function Fr(t,l){if((t.pendingLanes&4194048)!==0){var e=t.transitionTypes;for(e===null&&(e=t.transitionTypes=[]),t=0;t<l.length;t++){var a=l[t];e.indexOf(a)===-1&&e.push(a)}}}var Hu=null;function Y1(t){var l=t.transitionTypes;return t.transitionTypes=null,l}var qu=null,qc=0,ha=0,Za=null;function w1(t,l){if(qu===null){var e=qu=[];qc=0,ha=Pf(),Za={status:"pending",value:void 0,then:function(a){e.push(a)}}}return qc++,l.then(Wr,Wr),l}function Wr(){if(--qc===0&&(Hu=null,qu!==null)){Za!==null&&(Za.status="fulfilled");var t=qu;qu=null,ha=0,Za=null;for(var l=0;l<t.length;l++)(0,t[l])()}}function G1(t,l){var e=[],a={status:"pending",value:null,reason:null,then:function(u){e.push(u)}};return t.then(function(){a.status="fulfilled",a.value=l;for(var u=0;u<e.length;u++)(0,e[u])(l)},function(u){for(a.status="rejected",a.reason=u,u=0;u<e.length;u++)(0,e[u])(void 0)}),a}var Ir=p.S;p.S=function(t,l){if(Ld=Ol(),typeof l=="object"&&l!==null&&typeof l.then=="function"&&w1(t,l),Hu!==null)for(var e=fu;e!==null;)Fr(e,Hu),e=e.next;if(e=t.types,e!==null){for(var a=fu;a!==null;)Fr(a,e),a=a.next;if(ha!==0){a=Hu,a===null&&(a=Hu=[]);for(var u=0;u<e.length;u++){var n=e[u];a.indexOf(n)===-1&&a.push(n)}}}Ir!==null&&Ir(t,l)};var va=Yt(null);function Bc(){var t=va.current;return t!==null?t:Ht.pooledCache}function Ln(t,l){l===null?Nt(va,va.current):Nt(va,l.pool)}function Pr(){var t=Bc();return t===null?null:{parent:It._currentValue,pool:t}}var La=Error(d(460)),Yc=Error(d(474)),Kn=Error(d(542)),Jn={then:function(){}};function to(t){return t=t.status,t==="fulfilled"||t==="rejected"}function lo(t,l,e){switch(e=t[e],e===void 0?t.push(l):e!==l&&(l.then(le,le),l=e),l.status){case"fulfilled":return l.value;case"rejected":throw t=l.reason,ao(t),t===void 0&&!("reason"in l)?Error(d(600)):t;default:if(typeof l.status=="string")l.then(le,le);else{if(t=Ht,t!==null&&100<t.shellSuspendCounter)throw Error(d(482));t=l,t.status="pending",t.then(function(a){if(l.status==="pending"){var u=l;u.status="fulfilled",u.value=a}},function(a){if(l.status==="pending"){var u=l;u.status="rejected",u.reason=a}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw t=l.reason,ao(t),t}throw ba=l,La}}function ga(t){try{var l=t._init;return l(t._payload)}catch(e){throw e!==null&&typeof e=="object"&&typeof e.then=="function"?(ba=e,La):e}}var ba=null;function eo(){if(ba===null)throw Error(d(459));var t=ba;return ba=null,t}function ao(t){if(t===La||t===Kn)throw Error(d(483))}var Ka=null,Bu=0;function kn(t){var l=Bu;return Bu+=1,Ka===null&&(Ka=[]),lo(Ka,t,l)}function Ye(t,l){l=l.props.ref,t.ref=l!==void 0?l:null}function $n(t,l){throw l.$$typeof===k?Error(d(525)):(t=Object.prototype.toString.call(l),Error(d(31,t==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":t)))}function uo(t){function l(h,m){if(t){var g=h.deletions;g===null?(h.deletions=[m],h.flags|=16):g.push(m)}}function e(h,m){if(!t)return null;for(;m!==null;)l(h,m),m=m.sibling;return null}function a(h){for(var m=new Map;h!==null;)h.key===null?m.set(h.index,h):m.set(h.key,h),h=h.sibling;return m}function u(h,m){return h=be(h,m),h.index=0,h.sibling=null,h}function n(h,m,g){return h.index=g,t?(g=h.alternate,g!==null?(g=g.index,g<m?(h.flags|=2,m):g):(h.flags|=134217730,m)):(h.flags|=1048576,m)}function i(h){return t&&h.alternate===null&&(h.flags|=134217730),h}function c(h,m,g,_){return m===null||m.tag!==6?(m=Ac(g,h.mode,_),m.return=h,m):(m=u(m,g),m.return=h,m)}function s(h,m,g,_){var Q=g.type;return Q===Zt?(h=S(h,m,g.props.children,_,g.key),Ye(h,g),h):m!==null&&(m.elementType===Q||typeof Q=="object"&&Q!==null&&Q.$$typeof===H&&ga(Q)===m.type)?(m=u(m,g.props),Ye(m,g),m.return=h,m):(m=Yn(g.type,g.key,g.props,null,h.mode,_),Ye(m,g),m.return=h,m)}function v(h,m,g,_){return m===null||m.tag!==4||m.stateNode.containerInfo!==g.containerInfo||m.stateNode.implementation!==g.implementation?(m=jc(g,h.mode,_),m.return=h,m):(m=u(m,g.children||[]),m.return=h,m)}function S(h,m,g,_,Q){return m===null||m.tag!==7?(m=ra(g,h.mode,_,Q),m.return=h,m):(m=u(m,g),m.return=h,m)}function O(h,m,g){if(typeof m=="string"&&m!==""||typeof m=="number"||typeof m=="bigint")return m=Ac(""+m,h.mode,g),m.return=h,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case _t:return g=Yn(m.type,m.key,m.props,null,h.mode,g),Ye(g,m),g.return=h,g;case qt:return m=jc(m,h.mode,g),m.return=h,m;case H:return m=ga(m),O(h,m,g)}if(j(m)||G(m))return m=ra(m,h.mode,g,null),m.return=h,m;if(typeof m.then=="function")return O(h,kn(m),g);if(m.$$typeof===Qt)return O(h,Zn(h,m),g);$n(h,m)}return null}function y(h,m,g,_){var Q=m!==null?m.key:null;if(typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint")return Q!==null?null:c(h,m,""+g,_);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case _t:return g.key===Q?s(h,m,g,_):null;case qt:return g.key===Q?v(h,m,g,_):null;case H:return g=ga(g),y(h,m,g,_)}if(j(g)||G(g))return Q!==null?null:S(h,m,g,_,null);if(typeof g.then=="function")return y(h,m,kn(g),_);if(g.$$typeof===Qt)return y(h,m,Zn(h,g),_);$n(h,g)}return null}function b(h,m,g,_,Q){if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return h=h.get(g)||null,c(m,h,""+_,Q);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case _t:return h=h.get(_.key===null?g:_.key)||null,s(m,h,_,Q);case qt:return h=h.get(_.key===null?g:_.key)||null,v(m,h,_,Q);case H:return _=ga(_),b(h,m,g,_,Q)}if(j(_)||G(_))return h=h.get(g)||null,S(m,h,_,Q,null);if(typeof _.then=="function")return b(h,m,g,kn(_),Q);if(_.$$typeof===Qt)return b(h,m,g,Zn(m,_),Q);$n(m,_)}return null}function D(h,m,g,_){for(var Q=null,ht=null,W=m,et=m=0,ll=null;W!==null&&et<g.length;et++){W.index>et?(ll=W,W=null):ll=W.sibling;var bt=y(h,W,g[et],_);if(bt===null){W===null&&(W=ll);break}t&&W&&bt.alternate===null&&l(h,W),m=n(bt,m,et),ht===null?Q=bt:ht.sibling=bt,ht=bt,W=ll}if(et===g.length)return e(h,W),rt&&xe(h,et),Q;if(W===null){for(;et<g.length;et++)W=O(h,g[et],_),W!==null&&(m=n(W,m,et),ht===null?Q=W:ht.sibling=W,ht=W);return rt&&xe(h,et),Q}for(W=a(W);et<g.length;et++)ll=b(W,h,et,g[et],_),ll!==null&&(t&&(bt=ll.alternate,bt!==null&&W.delete(bt.key===null?et:bt.key)),m=n(ll,m,et),ht===null?Q=ll:ht.sibling=ll,ht=ll);return t&&W.forEach(function(aa){return l(h,aa)}),rt&&xe(h,et),Q}function L(h,m,g,_){if(g==null)throw Error(d(151));for(var Q=null,ht=null,W=m,et=m=0,ll=null,bt=g.next();W!==null&&!bt.done;et++,bt=g.next()){W.index>et?(ll=W,W=null):ll=W.sibling;var aa=y(h,W,bt.value,_);if(aa===null){W===null&&(W=ll);break}t&&W&&aa.alternate===null&&l(h,W),m=n(aa,m,et),ht===null?Q=aa:ht.sibling=aa,ht=aa,W=ll}if(bt.done)return e(h,W),rt&&xe(h,et),Q;if(W===null){for(;!bt.done;et++,bt=g.next())bt=O(h,bt.value,_),bt!==null&&(m=n(bt,m,et),ht===null?Q=bt:ht.sibling=bt,ht=bt);return rt&&xe(h,et),Q}for(W=a(W);!bt.done;et++,bt=g.next())bt=b(W,h,et,bt.value,_),bt!==null&&(t&&(ll=bt.alternate,ll!==null&&W.delete(ll.key===null?et:ll.key)),m=n(bt,m,et),ht===null?Q=bt:ht.sibling=bt,ht=bt);return t&&W.forEach(function(ph){return l(h,ph)}),rt&&xe(h,et),Q}function ft(h,m,g,_){if(typeof g=="object"&&g!==null&&g.type===Zt&&g.key===null&&g.props.ref===void 0&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case _t:t:{for(var Q=g.key;m!==null;){if(m.key===Q){if(Q=g.type,Q===Zt){if(m.tag===7){e(h,m.sibling),_=u(m,g.props.children),Ye(_,g),_.return=h,h=_;break t}}else if(m.elementType===Q||typeof Q=="object"&&Q!==null&&Q.$$typeof===H&&ga(Q)===m.type){e(h,m.sibling),_=u(m,g.props),Ye(_,g),_.return=h,h=_;break t}e(h,m);break}else l(h,m);m=m.sibling}g.type===Zt?(_=ra(g.props.children,h.mode,_,g.key),Ye(_,g),_.return=h,h=_):(_=Yn(g.type,g.key,g.props,null,h.mode,_),Ye(_,g),_.return=h,h=_)}return i(h);case qt:t:{for(Q=g.key;m!==null;){if(m.key===Q)if(m.tag===4&&m.stateNode.containerInfo===g.containerInfo&&m.stateNode.implementation===g.implementation){e(h,m.sibling),_=u(m,g.children||[]),_.return=h,h=_;break t}else{e(h,m);break}else l(h,m);m=m.sibling}_=jc(g,h.mode,_),_.return=h,h=_}return i(h);case H:return g=ga(g),ft(h,m,g,_)}if(j(g))return D(h,m,g,_);if(G(g)){if(Q=G(g),typeof Q!="function")throw Error(d(150));return g=Q.call(g),L(h,m,g,_)}if(typeof g.then=="function")return ft(h,m,kn(g),_);if(g.$$typeof===Qt)return ft(h,m,Zn(h,g),_);$n(h,g)}return typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint"?(g=""+g,m!==null&&m.tag===6?(e(h,m.sibling),_=u(m,g),_.return=h,h=_):(e(h,m),_=Ac(g,h.mode,_),_.return=h,h=_),i(h)):e(h,m)}return function(h,m,g,_){try{Bu=0;var Q=ft(h,m,g,_);return Ka=null,Q}catch(W){if(W===La||W===Kn)throw W;var ht=Tl(29,W,null,h.mode);return ht.lanes=_,ht.return=h,ht}finally{}}}var xa=uo(!0),no=uo(!1),we=!1;function wc(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Gc(t,l){t=t.updateQueue,l.updateQueue===t&&(l.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function Ge(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Qe(t,l,e){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(Et&2)!==0){var u=a.pending;return u===null?l.next=l:(l.next=u.next,u.next=l),a.pending=l,l=Bn(t),Xr(t,null,e),l}return qn(t,a,l,e),Bn(t)}function Yu(t,l,e){if(l=l.updateQueue,l!==null&&(l=l.shared,(e&4194048)!==0)){var a=l.lanes;a&=t.pendingLanes,e|=a,l.lanes=e,Ks(t,e)}}function Qc(t,l){var e=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,e===a)){var u=null,n=null;if(e=e.firstBaseUpdate,e!==null){do{var i={lane:e.lane,tag:e.tag,payload:e.payload,callback:null,next:null};n===null?u=n=i:n=n.next=i,e=e.next}while(e!==null);n===null?u=n=l:n=n.next=l}else u=n=l;e={baseState:a.baseState,firstBaseUpdate:u,lastBaseUpdate:n,shared:a.shared,callbacks:a.callbacks},t.updateQueue=e;return}t=e.lastBaseUpdate,t===null?e.firstBaseUpdate=l:t.next=l,e.lastBaseUpdate=l}var Xc=!1;function wu(){if(Xc){var t=Za;if(t!==null)throw t}}function Gu(t,l,e,a){Xc=!1;var u=t.updateQueue;we=!1;var n=u.firstBaseUpdate,i=u.lastBaseUpdate,c=u.shared.pending;if(c!==null){u.shared.pending=null;var s=c,v=s.next;s.next=null,i===null?n=v:i.next=v,i=s;var S=t.alternate;S!==null&&(S=S.updateQueue,c=S.lastBaseUpdate,c!==i&&(c===null?S.firstBaseUpdate=v:c.next=v,S.lastBaseUpdate=s))}if(n!==null){var O=u.baseState;i=0,S=v=s=null,c=n;do{var y=c.lane&-536870913,b=y!==c.lane;if(b?(yt&y)===y:(a&y)===y){y!==0&&y===ha&&(Xc=!0),S!==null&&(S=S.next={lane:0,tag:c.tag,payload:c.payload,callback:null,next:null});t:{var D=t,L=c;y=l;var ft=e;switch(L.tag){case 1:if(D=L.payload,typeof D=="function"){O=D.call(ft,O,y);break t}O=D;break t;case 3:D.flags=D.flags&-65537|128;case 0:if(D=L.payload,y=typeof D=="function"?D.call(ft,O,y):D,y==null)break t;O=K({},O,y);break t;case 2:we=!0}}y=c.callback,y!==null&&(t.flags|=64,b&&(t.flags|=8192),b=u.callbacks,b===null?u.callbacks=[y]:b.push(y))}else b={lane:y,tag:c.tag,payload:c.payload,callback:c.callback,next:null},S===null?(v=S=b,s=O):S=S.next=b,i|=y;if(c=c.next,c===null){if(c=u.shared.pending,c===null)break;b=c,c=b.next,b.next=null,u.lastBaseUpdate=b,u.shared.pending=null}}while(!0);S===null&&(s=O),u.baseState=s,u.firstBaseUpdate=v,u.lastBaseUpdate=S,n===null&&(u.shared.lanes=0),ke|=i,t.lanes=i,t.memoizedState=O}}function io(t,l){if(typeof t!="function")throw Error(d(191,t));t.call(l)}function co(t,l){var e=t.callbacks;if(e!==null)for(t.callbacks=null,t=0;t<e.length;t++)io(e[t],l)}var Xe=Yt(null),Fn=Yt(0);function fo(t,l){t=_e,Nt(Fn,t),Nt(Xe,l),_e=t|l.baseLanes}function Vc(){Nt(Fn,_e),Nt(Xe,Xe.current)}function Zc(){_e=Fn.current,Rt(Xe),Rt(Fn)}var rl=Yt(null),hl=null;function Ve(t){var l=t.alternate;Nt(ol,ol.current&1),Nt(rl,t),hl===null&&(l===null||Xe.current!==null||l.memoizedState!==null)&&(hl=t)}function Lc(t){Nt(ol,ol.current),Nt(rl,t),hl===null&&(hl=t)}function so(t){t.tag===22?(Nt(ol,ol.current),Nt(rl,t),hl===null&&(hl=t)):Ze()}function Ze(){Nt(ol,ol.current),Nt(rl,rl.current)}function Dl(t){Rt(rl),hl===t&&(hl=null),Rt(ol)}var ol=Yt(0);function Qu(t,l){Nt(rl,rl.current),Nt(ol,l)}function Kc(t){Rt(ol),Rt(rl),hl===t&&(hl=null)}function Wn(t){for(var l=t;l!==null;){if(l.tag===13){var e=l.memoizedState;if(e!==null&&(e=e.dehydrated,e===null||hs(e)||vs(e)))return l}else if(l.tag===19&&l.memoizedProps.revealOrder!=="independent"){if((l.flags&128)!==0)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break;for(;l.sibling===null;){if(l.return===null||l.return===t)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var Te=0,ct=null,Dt=null,Pt=null,In=!1,Ja=!1,pa=!1,Pn=0,Xu=0,ka=null,Q1=0;function kt(){throw Error(d(321))}function Jc(t,l){if(l===null)return!1;for(var e=0;e<l.length&&e<t.length;e++)if(!Cl(t[e],l[e]))return!1;return!0}function kc(t,l,e,a,u,n){return Te=n,ct=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,p.H=t===null||t.memoizedState===null?Jo:ko,pa=!1,n=e(a,u),pa=!1,Ja&&(n=oo(l,e,a,u)),ro(t),n}function ro(t){p.H=ii;var l=Dt!==null&&Dt.next!==null;if(Te=0,Pt=Dt=ct=null,In=!1,Xu=0,ka=null,l)throw Error(d(300));t===null||tl||(t=t.dependencies,t!==null&&Vn(t)&&(tl=!0))}function oo(t,l,e,a){ct=t;var u=0;do{if(Ja&&(ka=null),Xu=0,Ja=!1,25<=u)throw Error(d(301));if(u+=1,Pt=Dt=null,t.updateQueue!=null){var n=t.updateQueue;n.lastEffect=null,n.events=null,n.stores=null,n.memoCache!=null&&(n.memoCache.index=0)}p.H=$1,n=l(e,a)}while(Ja);return n}function X1(){var t=p.H,l=t.useState()[0];return l=typeof l.then=="function"?Vu(l):l,t=t.useState()[0],(Dt!==null?Dt.memoizedState:null)!==t&&(ct.flags|=1024),l}function $c(){var t=Pn!==0;return Pn=0,t}function Fc(t,l,e){l.updateQueue=t.updateQueue,l.flags&=-2053,t.lanes&=~e}function Wc(t){if(In){for(t=t.memoizedState;t!==null;){var l=t.queue;l!==null&&(l.pending=null),t=t.next}In=!1}Te=0,Pt=Dt=ct=null,Ja=!1,Xu=Pn=0,ka=null}function bl(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Pt===null?ct.memoizedState=Pt=t:Pt=Pt.next=t,Pt}function Wt(){if(Dt===null){var t=ct.alternate;t=t!==null?t.memoizedState:null}else t=Dt.next;var l=Pt===null?ct.memoizedState:Pt.next;if(l!==null)Pt=l,Dt=t;else{if(t===null)throw ct.alternate===null?Error(d(467)):Error(d(310));Dt=t,t={memoizedState:Dt.memoizedState,baseState:Dt.baseState,baseQueue:Dt.baseQueue,queue:Dt.queue,next:null},Pt===null?ct.memoizedState=Pt=t:Pt=Pt.next=t}return Pt}function ti(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Vu(t){var l=Xu;return Xu+=1,ka===null&&(ka=[]),t=lo(ka,t,l),l=ct,(Pt===null?l.memoizedState:Pt.next)===null&&(l=l.alternate,p.H=l===null||l.memoizedState===null?Jo:ko),t}function li(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Vu(t);if(t.$$typeof===N)return;if(t.$$typeof===Qt)return sl(t)}throw Error(d(438,String(t)))}function Ic(t){var l=null,e=ct.updateQueue;if(e!==null&&(l=e.memoCache),l==null){var a=ct.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(l={data:a.data.map(function(u){return u.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),e===null&&(e=ti(),ct.updateQueue=e),e.memoCache=l,e=l.data[l.index],e===void 0)for(e=l.data[l.index]=Array(t),a=0;a<t;a++)e[a]=Bt;return l.index++,e}function Ne(t,l){return typeof l=="function"?l(t):l}function ei(t){var l=Wt();return Pc(l,Dt,t)}function Pc(t,l,e){var a=t.queue;if(a===null)throw Error(d(311));a.lastRenderedReducer=e;var u=t.baseQueue,n=a.pending;if(n!==null){if(u!==null){var i=u.next;u.next=n.next,n.next=i}l.baseQueue=u=n,a.pending=null}if(n=t.baseState,u===null)t.memoizedState=n;else{l=u.next;var c=i=null,s=null,v=l,S=!1;do{var O=v.lane&-536870913;if(O!==v.lane?(yt&O)===O:(Te&O)===O){var y=v.revertLane;if(y===0)s!==null&&(s=s.next={lane:0,revertLane:0,gesture:null,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null}),O===ha&&(S=!0);else if((Te&y)===y){v=v.next,y===ha&&(S=!0);continue}else O={lane:0,revertLane:v.revertLane,gesture:null,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null},s===null?(c=s=O,i=n):s=s.next=O,ct.lanes|=y,ke|=y;O=v.action,pa&&e(n,O),n=v.hasEagerState?v.eagerState:e(n,O)}else y={lane:O,revertLane:v.revertLane,gesture:v.gesture,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null},s===null?(c=s=y,i=n):s=s.next=y,ct.lanes|=O,ke|=O;v=v.next}while(v!==null&&v!==l);if(s===null?i=n:s.next=c,!Cl(n,t.memoizedState)&&(tl=!0,S&&(e=Za,e!==null)))throw e;t.memoizedState=n,t.baseState=i,t.baseQueue=s,a.lastRenderedState=n}return u===null&&(a.lanes=0),[t.memoizedState,a.dispatch]}function tf(t){var l=Wt(),e=l.queue;if(e===null)throw Error(d(311));e.lastRenderedReducer=t;var a=e.dispatch,u=e.pending,n=l.memoizedState;if(u!==null){e.pending=null;var i=u=u.next;do n=t(n,i.action),i=i.next;while(i!==u);Cl(n,l.memoizedState)||(tl=!0),l.memoizedState=n,l.baseQueue===null&&(l.baseState=n),e.lastRenderedState=n}return[n,a]}function mo(t,l,e){var a=ct,u=Wt(),n=rt;if(n){if(e===void 0)throw Error(d(407));e=e()}else e=l();var i=!Cl((Dt||u).memoizedState,e);if(i&&(u.memoizedState=e,tl=!0),u=u.queue,af(vo.bind(null,a,u,t),[t]),t=u.getSnapshot!==l||i||Pt!==null&&(Pt.memoizedState.tag&1)!==0,$a(t?9:8,{destroy:void 0},ho.bind(null,a,u,e,l),null),t){if(a.flags|=2048,Ht===null)throw Error(d(349));n||(Te&127)!==0||yo(a,l,e)}return e}function yo(t,l,e){t.flags|=16384,t={getSnapshot:l,value:e},l=ct.updateQueue,l===null?(l=ti(),ct.updateQueue=l,l.stores=[t]):(e=l.stores,e===null?l.stores=[t]:e.push(t))}function ho(t,l,e,a){l.value=e,l.getSnapshot=a,go(l)&&bo(t)}function vo(t,l,e){return e(function(){go(l)&&bo(t)})}function go(t){var l=t.getSnapshot;t=t.value;try{var e=l();return!Cl(t,e)}catch{return!0}}function bo(t){var l=sa(t,2);l!==null&&_l(l,t,2)}function lf(t){var l=bl();if(typeof t=="function"){var e=t;if(t=e(),pa){Ce(!0);try{e()}finally{Ce(!1)}}}return l.memoizedState=l.baseState=t,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ne,lastRenderedState:t},l}function xo(t,l,e,a){return t.baseState=e,Pc(t,Dt,typeof a=="function"?a:Ne)}function V1(t,l,e,a,u){if(ni(t))throw Error(d(485));if(t=l.action,t!==null){var n={payload:u,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(i){n.listeners.push(i)}};p.T!==null?e(!0):n.isTransition=!1,a(n),e=l.pending,e===null?(n.next=l.pending=n,po(l,n)):(n.next=e.next,l.pending=e.next=n)}}function po(t,l){var e=l.action,a=l.payload,u=t.state;if(l.isTransition){var n=p.T,i={};i.types=n!==null?n.types:null,p.T=i;try{var c=e(u,a),s=p.S;s!==null&&s(i,c),So(t,l,c)}catch(v){ef(t,l,v)}finally{n!==null&&i.types!==null&&(n.types=i.types),p.T=n}}else try{n=e(u,a),So(t,l,n)}catch(v){ef(t,l,v)}}function So(t,l,e){e!==null&&typeof e=="object"&&typeof e.then=="function"?e.then(function(a){To(t,l,a)},function(a){return ef(t,l,a)}):To(t,l,e)}function To(t,l,e){l.status="fulfilled",l.value=e,No(l),t.state=e,l=t.pending,l!==null&&(e=l.next,e===l?t.pending=null:(e=e.next,l.next=e,po(t,e)))}function ef(t,l,e){var a=t.pending;if(t.pending=null,a!==null){a=a.next;do l.status="rejected",l.reason=e,No(l),l=l.next;while(l!==a)}t.action=null}function No(t){t=t.listeners;for(var l=0;l<t.length;l++)(0,t[l])()}function Eo(t,l){return l}function zo(t,l){if(rt){var e=Ht.formState;if(e!==null){t:{var a=ct;if(rt){if(wt){l:{for(var u=wt,n=Vl;u.nodeType!==8;){if(!n){u=null;break l}if(u=Ll(u.nextSibling),u===null){u=null;break l}}n=u.data,u=n==="F!"||n==="F"?u:null}if(u){wt=Ll(u.nextSibling),a=u.data==="F!";break t}}qe(a)}a=!1}a&&(l=e[0])}}return e=bl(),e.memoizedState=e.baseState=l,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Eo,lastRenderedState:l},e.queue=a,e=Zo.bind(null,ct,a),a.dispatch=e,a=lf(!1),n=sf.bind(null,ct,!1,a.queue),a=bl(),u={state:l,dispatch:null,action:t,pending:null},a.queue=u,e=V1.bind(null,ct,u,n,e),u.dispatch=e,a.memoizedState=t,[l,e,!1]}function _o(t){var l=Wt();return Oo(l,Dt,t)}function Oo(t,l,e){if(l=Pc(t,l,Eo)[0],t=ei(Ne)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var a=Vu(l)}catch(i){throw i===La?Kn:i}else a=l;l=Wt();var u=l.queue,n=u.dispatch;return e!==l.memoizedState&&(ct.flags|=2048,$a(9,{destroy:void 0},Z1.bind(null,u,e),null)),[a,n,t]}function Z1(t,l){t.action=l}function Ao(t){var l=Wt(),e=Dt;if(e!==null)return Oo(l,e,t);Wt(),l=l.memoizedState,e=Wt();var a=e.queue.dispatch;return e.memoizedState=t,[l,a,!1]}function $a(t,l,e,a){return t={tag:t,create:e,deps:a,inst:l,next:null},l=ct.updateQueue,l===null&&(l=ti(),ct.updateQueue=l),e=l.lastEffect,e===null?l.lastEffect=t.next=t:(a=e.next,e.next=t,t.next=a,l.lastEffect=t),t}function jo(){return Wt().memoizedState}function ai(t,l,e,a){var u=bl();ct.flags|=t,u.memoizedState=$a(1|l,{destroy:void 0},e,a===void 0?null:a)}function ui(t,l,e,a){var u=Wt();a=a===void 0?null:a;var n=u.memoizedState.inst;Dt!==null&&a!==null&&Jc(a,Dt.memoizedState.deps)?u.memoizedState=$a(l,n,e,a):(ct.flags|=t,u.memoizedState=$a(1|l,n,e,a))}function Mo(t,l){ai(8390656,8,t,l)}function af(t,l){ui(2048,8,t,l)}function L1(t){ct.flags|=4;var l=ct.updateQueue;if(l===null)l=ti(),ct.updateQueue=l,l.events=[t];else{var e=l.events;e===null?l.events=[t]:e.push(t)}}function Co(t){var l=Wt().memoizedState;return L1({ref:l,nextImpl:t}),function(){if((Et&2)!==0)throw Error(d(440));return l.impl.apply(void 0,arguments)}}function Do(t,l){return ui(4,2,t,l)}function Uo(t,l){return ui(4,4,t,l)}function Ro(t,l){if(typeof l=="function"){t=t();var e=l(t);return function(){typeof e=="function"?e():l(null)}}if(l!=null)return t=t(),l.current=t,function(){l.current=null}}function Ho(t,l,e){e=e!=null?e.concat([t]):null,ui(4,4,Ro.bind(null,l,t),e)}function uf(){}function qo(t,l){var e=Wt();l=l===void 0?null:l;var a=e.memoizedState;return l!==null&&Jc(l,a[1])?a[0]:(e.memoizedState=[t,l],t)}function Bo(t,l){var e=Wt();l=l===void 0?null:l;var a=e.memoizedState;if(l!==null&&Jc(l,a[1]))return a[0];if(a=t(),pa){Ce(!0);try{t()}finally{Ce(!1)}}return e.memoizedState=[a,l],a}function nf(t,l,e){return e===void 0||(Te&1073741824)!==0&&(yt&261930)===0?t.memoizedState=l:(t.memoizedState=e,t=Jd(),ct.lanes|=t,ke|=t,e)}function Yo(t,l,e,a){return Cl(e,l)?e:Xe.current!==null?(t=nf(t,e,a),Cl(t,l)||(tl=!0),t):(Te&106)===0||(Te&1073741824)!==0&&(yt&261930)===0?(tl=!0,t.memoizedState=e):(t=Jd(),ct.lanes|=t,ke|=t,l)}function wo(t,l,e,a,u){var n=A.p;A.p=n!==0&&8>n?n:8;var i=p.T,c={};c.types=i!==null?i.types:null,p.T=c,sf(t,!1,l,e);try{var s=u(),v=p.S;if(v!==null&&v(c,s),s!==null&&typeof s=="object"&&typeof s.then=="function"){var S=G1(s,a);Zu(t,l,S,ql(t))}else Zu(t,l,a,ql(t))}catch(O){Zu(t,l,{then:function(){},status:"rejected",reason:O},ql())}finally{A.p=n,i!==null&&c.types!==null&&(i.types=c.types),p.T=i}}function K1(){}function cf(t,l,e,a){if(t.tag!==5)throw Error(d(476));var u=Go(t).queue;wo(t,u,l,lt,e===null?K1:function(){return Qo(t),e(a)})}function Go(t){var l=t.memoizedState;if(l!==null)return l;l={memoizedState:lt,baseState:lt,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ne,lastRenderedState:lt},next:null};var e={};return l.next={memoizedState:e,baseState:e,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ne,lastRenderedState:e},next:null},t.memoizedState=l,t=t.alternate,t!==null&&(t.memoizedState=l),l}function Qo(t){var l=Go(t);l.next===null&&(l=t.alternate.memoizedState),Zu(t,l.next.queue,{},ql())}function ff(){return sl(yu)}function Xo(){return Wt().memoizedState}function Vo(){return Wt().memoizedState}function J1(t){for(var l=t.return;l!==null;){switch(l.tag){case 24:case 3:var e=ql();t=Ge(e);var a=Qe(l,t,e);a!==null&&(_l(a,l,e),Yu(a,l,e)),l={cache:Hc()},t.payload=l;return}l=l.return}}function k1(t,l,e){var a=ql();e={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null},ni(t)?Lo(l,e):(e=_c(t,l,e,a),e!==null&&(_l(e,t,a),Ko(e,l,a)))}function Zo(t,l,e){var a=ql();Zu(t,l,e,a)}function Zu(t,l,e,a){var u={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null};if(ni(t))Lo(l,u);else{var n=t.alternate;if(t.lanes===0&&(n===null||n.lanes===0)&&(n=l.lastRenderedReducer,n!==null))try{var i=l.lastRenderedState,c=n(i,e);if(u.hasEagerState=!0,u.eagerState=c,Cl(c,i))return qn(t,l,u,0),Ht===null&&Hn(),!1}catch{}finally{}if(e=_c(t,l,u,a),e!==null)return _l(e,t,a),Ko(e,l,a),!0}return!1}function sf(t,l,e,a){if(a={lane:2,revertLane:Pf(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},ni(t)){if(l)throw Error(d(479))}else l=_c(t,e,a,2),l!==null&&_l(l,t,2)}function ni(t){var l=t.alternate;return t===ct||l!==null&&l===ct}function Lo(t,l){Ja=In=!0;var e=t.pending;e===null?l.next=l:(l.next=e.next,e.next=l),t.pending=l}function Ko(t,l,e){if((e&4194048)!==0){var a=l.lanes;a&=t.pendingLanes,e|=a,l.lanes=e,Ks(t,e)}}var ii={readContext:sl,use:li,useCallback:kt,useContext:kt,useEffect:kt,useImperativeHandle:kt,useLayoutEffect:kt,useInsertionEffect:kt,useMemo:kt,useReducer:kt,useRef:kt,useState:kt,useDebugValue:kt,useDeferredValue:kt,useTransition:kt,useSyncExternalStore:kt,useId:kt,useHostTransitionStatus:kt,useFormState:kt,useActionState:kt,useOptimistic:kt,useMemoCache:kt,useCacheRefresh:kt,useEffectEvent:kt},Jo={readContext:sl,use:li,useCallback:function(t,l){return bl().memoizedState=[t,l===void 0?null:l],t},useContext:sl,useEffect:Mo,useImperativeHandle:function(t,l,e){e=e!=null?e.concat([t]):null,ai(4194308,4,Ro.bind(null,l,t),e)},useLayoutEffect:function(t,l){return ai(4194308,4,t,l)},useInsertionEffect:function(t,l){ai(4,2,t,l)},useMemo:function(t,l){var e=bl();l=l===void 0?null:l;var a=t();if(pa){Ce(!0);try{t()}finally{Ce(!1)}}return e.memoizedState=[a,l],a},useReducer:function(t,l,e){var a=bl();if(e!==void 0){var u=e(l);if(pa){Ce(!0);try{e(l)}finally{Ce(!1)}}}else u=l;return a.memoizedState=a.baseState=u,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:u},a.queue=t,t=t.dispatch=k1.bind(null,ct,t),[a.memoizedState,t]},useRef:function(t){var l=bl();return t={current:t},l.memoizedState=t},useState:function(t){t=lf(t);var l=t.queue,e=Zo.bind(null,ct,l);return l.dispatch=e,[t.memoizedState,e]},useDebugValue:uf,useDeferredValue:function(t,l){var e=bl();return nf(e,t,l)},useTransition:function(){var t=lf(!1);return t=wo.bind(null,ct,t.queue,!0,!1),bl().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,l,e){var a=ct,u=bl();if(rt){if(e===void 0)throw Error(d(407));e=e()}else{if(e=l(),Ht===null)throw Error(d(349));(yt&127)!==0||yo(a,l,e)}u.memoizedState=e;var n={value:e,getSnapshot:l};return u.queue=n,Mo(vo.bind(null,a,n,t),[t]),a.flags|=2048,$a(9,{destroy:void 0},ho.bind(null,a,n,e,l),null),e},useId:function(){var t=bl(),l=Ht.identifierPrefix;if(rt){var e=ae,a=ee;e=(a&~(1<<32-jl(a)-1)).toString(32)+e,l="_"+l+"R_"+e,e=Pn++,0<e&&(l+="H"+e.toString(32)),l+="_"}else e=Q1++,l="_"+l+"r_"+e.toString(32)+"_";return t.memoizedState=l},useHostTransitionStatus:ff,useFormState:zo,useActionState:zo,useOptimistic:function(t){var l=bl();l.memoizedState=l.baseState=t;var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=e,l=sf.bind(null,ct,!0,e),e.dispatch=l,[t,l]},useMemoCache:Ic,useCacheRefresh:function(){return bl().memoizedState=J1.bind(null,ct)},useEffectEvent:function(t){var l=bl(),e={impl:t};return l.memoizedState=e,function(){if((Et&2)!==0)throw Error(d(440));return e.impl.apply(void 0,arguments)}}},ko={readContext:sl,use:li,useCallback:qo,useContext:sl,useEffect:af,useImperativeHandle:Ho,useInsertionEffect:Do,useLayoutEffect:Uo,useMemo:Bo,useReducer:ei,useRef:jo,useState:function(){return ei(Ne)},useDebugValue:uf,useDeferredValue:function(t,l){var e=Wt();return Yo(e,Dt.memoizedState,t,l)},useTransition:function(){var t=ei(Ne)[0],l=Wt().memoizedState;return[typeof t=="boolean"?t:Vu(t),l]},useSyncExternalStore:mo,useId:Xo,useHostTransitionStatus:ff,useFormState:_o,useActionState:_o,useOptimistic:function(t,l){var e=Wt();return xo(e,Dt,t,l)},useMemoCache:Ic,useCacheRefresh:Vo,useEffectEvent:Co},$1={readContext:sl,use:li,useCallback:qo,useContext:sl,useEffect:af,useImperativeHandle:Ho,useInsertionEffect:Do,useLayoutEffect:Uo,useMemo:Bo,useReducer:tf,useRef:jo,useState:function(){return tf(Ne)},useDebugValue:uf,useDeferredValue:function(t,l){var e=Wt();return Dt===null?nf(e,t,l):Yo(e,Dt.memoizedState,t,l)},useTransition:function(){var t=tf(Ne)[0],l=Wt().memoizedState;return[typeof t=="boolean"?t:Vu(t),l]},useSyncExternalStore:mo,useId:Xo,useHostTransitionStatus:ff,useFormState:Ao,useActionState:Ao,useOptimistic:function(t,l){var e=Wt();return Dt!==null?xo(e,Dt,t,l):(e.baseState=t,[t,e.queue.dispatch])},useMemoCache:Ic,useCacheRefresh:Vo,useEffectEvent:Co};function rf(t,l,e,a){l=t.memoizedState,e=e(a,l),e=e==null?l:K({},l,e),t.memoizedState=e,t.lanes===0&&(t.updateQueue.baseState=e)}var of={enqueueSetState:function(t,l,e){t=t._reactInternals;var a=ql(),u=Ge(a);u.payload=l,e!=null&&(u.callback=e),l=Qe(t,u,a),l!==null&&(_l(l,t,a),Yu(l,t,a))},enqueueReplaceState:function(t,l,e){t=t._reactInternals;var a=ql(),u=Ge(a);u.tag=1,u.payload=l,e!=null&&(u.callback=e),l=Qe(t,u,a),l!==null&&(_l(l,t,a),Yu(l,t,a))},enqueueForceUpdate:function(t,l){t=t._reactInternals;var e=ql(),a=Ge(e);a.tag=2,l!=null&&(a.callback=l),l=Qe(t,a,e),l!==null&&(_l(l,t,e),Yu(l,t,e))}};function $o(t,l,e,a,u,n,i){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(a,n,i):l.prototype&&l.prototype.isPureReactComponent?!Mu(e,a)||!Mu(u,n):!0}function Fo(t,l,e,a){t=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(e,a),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(e,a),l.state!==t&&of.enqueueReplaceState(l,l.state,null)}function Sa(t,l){var e=l;if("ref"in l){e={};for(var a in l)a!=="ref"&&(e[a]=l[a])}if(t=t.defaultProps){e===l&&(e=K({},e));for(var u in t)e[u]===void 0&&(e[u]=t[u])}return e}function Wo(t){Rn(t)}function Io(t){console.error(t)}function Po(t){Rn(t)}function ci(t,l){try{var e=t.onUncaughtError;e(l.value,{componentStack:l.stack})}catch(a){setTimeout(function(){throw a})}}function td(t,l,e){try{var a=t.onCaughtError;a(e.value,{componentStack:e.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function df(t,l,e){return e=Ge(e),e.tag=3,e.payload={element:null},e.callback=function(){ci(t,l)},e}function ld(t){return t=Ge(t),t.tag=3,t}function ed(t,l,e,a){var u=e.type.getDerivedStateFromError;if(typeof u=="function"){var n=a.value;t.payload=function(){return u(n)},t.callback=function(){td(l,e,a)}}var i=e.stateNode;i!==null&&typeof i.componentDidCatch=="function"&&(t.callback=function(){td(l,e,a),typeof u!="function"&&($e===null?$e=new Set([this]):$e.add(this));var c=a.stack;this.componentDidCatch(a.value,{componentStack:c!==null?c:""})})}function F1(t,l,e,a,u){if(e.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(l=e.alternate,l!==null&&ma(l,e,u,!0),e=rl.current,e!==null){switch(e.tag){case 31:case 13:case 19:return hl===null?Ai():e.alternate===null&&$t===0&&($t=3),e.flags&=-257,e.flags|=65536,e.lanes=u,a===Jn?e.flags|=16384:(l=e.updateQueue,l===null?e.updateQueue=new Set([a]):l.add(a),Ff(t,a,u)),!1;case 22:return e.flags|=65536,a===Jn?e.flags|=16384:(l=e.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([a])},e.updateQueue=l):(e=l.retryQueue,e===null?l.retryQueue=new Set([a]):e.add(a)),Ff(t,a,u)),!1}throw Error(d(435,e.tag))}return Ff(t,a,u),Ai(),!1}if(rt)return l=rl.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=u,a!==Cc&&(t=Error(d(422),{cause:a}),Uu(Gl(t,e)))):(a!==Cc&&(l=Error(d(423),{cause:a}),Uu(Gl(l,e))),t=t.current.alternate,t.flags|=65536,u&=-u,t.lanes|=u,a=Gl(a,e),u=df(t.stateNode,a,u),Qc(t,u),$t!==4&&($t=2)),!1;var n=Error(d(520),{cause:a});if(n=Gl(n,e),Iu===null?Iu=[n]:Iu.push(n),$t!==4&&($t=2),l===null)return!0;a=Gl(a,e),e=l;do{switch(e.tag){case 3:return e.flags|=65536,t=u&-u,e.lanes|=t,t=df(e.stateNode,a,t),Qc(e,t),!1;case 1:if(l=e.type,n=e.stateNode,(e.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||n!==null&&typeof n.componentDidCatch=="function"&&($e===null||!$e.has(n))))return e.flags|=65536,u&=-u,e.lanes|=u,u=ld(u),ed(u,t,e,a),Qc(e,u),!1;break;case 22:if(e.memoizedState!==null)return e.flags|=65536,!1}e=e.return}while(e!==null);return!1}var mf=Error(d(461)),tl=!1;function el(t,l,e,a){l.child=t===null?no(l,null,e,a):xa(l,t.child,e,a)}function ad(t,l,e,a,u){e=e.render;var n=l.ref;if("ref"in a){var i={};for(var c in a)c!=="ref"&&(i[c]=a[c])}else i=a;return ya(l),a=kc(t,l,e,i,n,u),c=$c(),t!==null&&!tl?(Fc(t,l,u),Ee(t,l,u)):(rt&&c&&Gn(l),l.flags|=1,el(t,l,a,u),l.child)}function ud(t,l,e,a,u){if(t===null){var n=e.type;return typeof n=="function"&&!Oc(n)&&n.defaultProps===void 0&&e.compare===null?(l.tag=15,l.type=n,nd(t,l,n,a,u)):(t=Yn(e.type,null,a,l,l.mode,u),t.ref=l.ref,t.return=l,l.child=t)}if(n=t.child,!Sf(t,u)){var i=n.memoizedProps;if(e=e.compare,e=e!==null?e:Mu,e(i,a)&&t.ref===l.ref)return Ee(t,l,u)}return l.flags|=1,t=be(n,a),t.ref=l.ref,t.return=l,l.child=t}function nd(t,l,e,a,u){if(t!==null){var n=t.memoizedProps;if(Mu(n,a)&&t.ref===l.ref)if(tl=!1,l.pendingProps=a=n,Sf(t,u))(t.flags&131072)!==0&&(tl=!0);else return l.lanes=t.lanes,Ee(t,l,u)}return yf(t,l,e,a,u)}function id(t,l,e,a){var u=a.children,n=t!==null?t.memoizedState:null;if(t===null&&l.stateNode===null&&(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((l.flags&128)!==0){if(n=n!==null?n.baseLanes|e:e,t!==null){for(a=l.child=t.child,u=0;a!==null;)u=u|a.lanes|a.childLanes,a=a.sibling;a=u&~n}else a=0,l.child=null;return cd(t,l,n,e,a)}if((e&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},t!==null&&Ln(l,n!==null?n.cachePool:null),n!==null?fo(l,n):Vc(),so(l);else return a=l.lanes=536870912,cd(t,l,n!==null?n.baseLanes|e:e,e,a)}else n!==null?(Ln(l,n.cachePool),fo(l,n),Ze(),l.memoizedState=null):(t!==null&&Ln(l,null),Vc(),Ze());return el(t,l,u,e),l.child}function Lu(t,l){return t!==null&&t.tag===22||l.stateNode!==null||(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.sibling}function cd(t,l,e,a,u){var n=Bc();return n=n===null?null:{parent:It._currentValue,pool:n},l.memoizedState={baseLanes:e,cachePool:n},t!==null&&Ln(l,null),Vc(),so(l),t!==null&&ma(t,l,a,!0),l.childLanes=u,null}function fi(t,l){return l=si({mode:l.mode,children:l.children},t.mode),l.ref=t.ref,t.child=l,l.return=t,l}function fd(t,l,e){return xa(l,t.child,null,e),t=fi(l,l.pendingProps),t.flags|=2,Dl(l),l.memoizedState=null,t}function W1(t,l,e){var a=l.pendingProps,u=(l.flags&128)!==0;if(l.flags&=-129,t===null){if(rt){if(a.mode==="hidden")return t=fi(l,a),l.lanes=536870912,t.memoizedState={baseLanes:0,cachePool:null},Lu(null,t);if(Lc(l),(t=wt)?(t=R0(t,Vl),t=t!==null&&t.data==="&"?t:null,t!==null&&(l.memoizedState={dehydrated:t,treeContext:Re!==null?{id:ee,overflow:ae}:null,retryLane:536870912,hydrationErrors:null},e=Zr(t),e.return=l,l.child=e,nl=l,wt=null)):t=null,t===null)throw qe(l);return l.lanes=536870912,null}return fi(l,a)}var n=t.memoizedState;if(n!==null){var i=n.dehydrated;if(Lc(l),u)if(l.flags&256)l.flags&=-257,l=fd(t,l,e);else if(l.memoizedState!==null)l.child=t.child,l.flags|=128,l=null;else throw Error(d(558));else if(tl||ma(t,l,e,!1),u=(e&t.childLanes)!==0,tl||u){if(Xe.current===null){if(a=Ht,a!==null&&(i=Js(a,e),i!==0&&i!==n.retryLane))throw n.retryLane=i,sa(t,i),_l(a,t,i),mf;Ai()}l=fd(t,l,e)}else t=n.treeContext,wt=Ll(i.nextSibling),nl=l,rt=!0,He=null,Vl=!1,t!==null&&Jr(l,t),l=fi(l,a),l.flags|=134221824;return l}return t=be(t.child,{mode:a.mode,children:a.children}),t.ref=l.ref,l.child=t,t.return=l,t}function Fa(t,l){var e=l.ref;if(e===null)t!==null&&t.ref!==null&&(l.flags|=4194816);else{if(typeof e!="function"&&typeof e!="object")throw Error(d(284));(t===null||t.ref!==e)&&(l.flags|=4194816)}}function yf(t,l,e,a,u){return ya(l),e=kc(t,l,e,a,void 0,u),a=$c(),t!==null&&!tl?(Fc(t,l,u),Ee(t,l,u)):(rt&&a&&Gn(l),l.flags|=1,el(t,l,e,u),l.child)}function sd(t,l,e,a,u,n){return ya(l),l.updateQueue=null,e=oo(l,a,e,u),ro(t),a=$c(),t!==null&&!tl?(Fc(t,l,n),Ee(t,l,n)):(rt&&a&&Gn(l),l.flags|=1,el(t,l,e,n),l.child)}function rd(t,l,e,a,u){if(ya(l),l.stateNode===null){var n=Ga,i=e.contextType;typeof i=="object"&&i!==null&&(n=sl(i)),n=new e(a,n),l.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=of,l.stateNode=n,n._reactInternals=l,n=l.stateNode,n.props=a,n.state=l.memoizedState,n.refs={},wc(l),i=e.contextType,n.context=typeof i=="object"&&i!==null?sl(i):Ga,n.state=l.memoizedState,i=e.getDerivedStateFromProps,typeof i=="function"&&(rf(l,e,i,a),n.state=l.memoizedState),typeof e.getDerivedStateFromProps=="function"||typeof n.getSnapshotBeforeUpdate=="function"||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(i=n.state,typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),i!==n.state&&of.enqueueReplaceState(n,n.state,null),Gu(l,a,n,u),wu(),n.state=l.memoizedState),typeof n.componentDidMount=="function"&&(l.flags|=4194308),a=!0}else if(t===null){n=l.stateNode;var c=l.memoizedProps,s=Sa(e,c);n.props=s;var v=n.context,S=e.contextType;i=Ga,typeof S=="object"&&S!==null&&(i=sl(S));var O=e.getDerivedStateFromProps;S=typeof O=="function"||typeof n.getSnapshotBeforeUpdate=="function",c=l.pendingProps!==c,S||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(c||v!==i)&&Fo(l,n,a,i),we=!1;var y=l.memoizedState;n.state=y,Gu(l,a,n,u),wu(),v=l.memoizedState,c||y!==v||we?(typeof O=="function"&&(rf(l,e,O,a),v=l.memoizedState),(s=we||$o(l,e,s,a,y,v,i))?(S||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount()),typeof n.componentDidMount=="function"&&(l.flags|=4194308)):(typeof n.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=a,l.memoizedState=v),n.props=a,n.state=v,n.context=i,a=s):(typeof n.componentDidMount=="function"&&(l.flags|=4194308),a=!1)}else{n=l.stateNode,Gc(t,l),i=l.memoizedProps,S=Sa(e,i),n.props=S,O=l.pendingProps,y=n.context,v=e.contextType,s=Ga,typeof v=="object"&&v!==null&&(s=sl(v)),c=e.getDerivedStateFromProps,(v=typeof c=="function"||typeof n.getSnapshotBeforeUpdate=="function")||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(i!==O||y!==s)&&Fo(l,n,a,s),we=!1,y=l.memoizedState,n.state=y,Gu(l,a,n,u),wu();var b=l.memoizedState;i!==O||y!==b||we||t!==null&&t.dependencies!==null&&Vn(t.dependencies)?(typeof c=="function"&&(rf(l,e,c,a),b=l.memoizedState),(S=we||$o(l,e,S,a,y,b,s)||t!==null&&t.dependencies!==null&&Vn(t.dependencies))?(v||typeof n.UNSAFE_componentWillUpdate!="function"&&typeof n.componentWillUpdate!="function"||(typeof n.componentWillUpdate=="function"&&n.componentWillUpdate(a,b,s),typeof n.UNSAFE_componentWillUpdate=="function"&&n.UNSAFE_componentWillUpdate(a,b,s)),typeof n.componentDidUpdate=="function"&&(l.flags|=4),typeof n.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof n.componentDidUpdate!="function"||i===t.memoizedProps&&y===t.memoizedState||(l.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||i===t.memoizedProps&&y===t.memoizedState||(l.flags|=1024),l.memoizedProps=a,l.memoizedState=b),n.props=a,n.state=b,n.context=s,a=S):(typeof n.componentDidUpdate!="function"||i===t.memoizedProps&&y===t.memoizedState||(l.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||i===t.memoizedProps&&y===t.memoizedState||(l.flags|=1024),a=!1)}return n=a,Fa(t,l),a=(l.flags&128)!==0,n||a?(n=l.stateNode,e=a&&typeof e.getDerivedStateFromError!="function"?null:n.render(),l.flags|=1,t!==null&&a?(l.child=xa(l,t.child,null,u),l.child=xa(l,null,e,u)):el(t,l,e,u),l.memoizedState=n.state,t=l.child):t=Ee(t,l,u),t}function od(t,l,e,a){return oa(),l.flags|=256,el(t,l,e,a),l.child}var hf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function vf(t){return{baseLanes:t,cachePool:Pr()}}function gf(t,l,e){return t=t!==null?t.childLanes&~e:0,l&&(t|=Hl),t}function dd(t,l,e){var a=l.pendingProps,u=!1,n=(l.flags&128)!==0,i;if((i=n)||(i=t!==null&&t.memoizedState===null?!1:(ol.current&2)!==0),i&&(u=!0,l.flags&=-129),i=(l.flags&32)!==0,l.flags&=-33,t===null){if(rt){if(u?Ve(l):Ze(),(t=wt)?(t=R0(t,Vl),t=t!==null&&t.data!=="&"?t:null,t!==null&&(l.memoizedState={dehydrated:t,treeContext:Re!==null?{id:ee,overflow:ae}:null,retryLane:536870912,hydrationErrors:null},e=Zr(t),e.return=l,l.child=e,nl=l,wt=null)):t=null,t===null)throw qe(l);return vs(t)?l.lanes=32:l.lanes=536870912,null}return n=a.children,a=a.fallback,u?(Ze(),u=l.mode,n=si({mode:"hidden",children:n},u),a=ra(a,u,e,null),n.return=l,a.return=l,n.sibling=a,l.child=n,a=l.child,a.memoizedState=vf(e),a.childLanes=gf(t,i,e),l.memoizedState=hf,Lu(null,a)):(Ve(l),bf(l,n))}var c=t.memoizedState;if(c!==null){var s=c.dehydrated;if(s!==null)return I1(t,l,n,i,a,s,c,e)}return u?(Ze(),u=a.fallback,n=l.mode,c=t.child,s=c.sibling,a=be(c,{mode:"hidden",children:a.children}),a.subtreeFlags=c.subtreeFlags&1206910976,s!==null?u=be(s,u):(u=ra(u,n,e,null),u.flags|=2),u.return=l,a.return=l,a.sibling=u,l.child=a,Lu(null,a),a=l.child,u=t.child.memoizedState,u===null?u=vf(e):(n=u.cachePool,n!==null?(c=It._currentValue,n=n.parent!==c?{parent:c,pool:c}:n):n=Pr(),u={baseLanes:u.baseLanes|e,cachePool:n}),a.memoizedState=u,a.childLanes=gf(t,i,e),l.memoizedState=hf,Lu(t.child,a)):(Ve(l),e=t.child,t=e.sibling,e=be(e,{mode:"visible",children:a.children}),e.return=l,e.sibling=null,t!==null&&(i=l.deletions,i===null?(l.deletions=[t],l.flags|=16):i.push(t)),l.child=e,l.memoizedState=null,e)}function bf(t,l){return l=si({mode:"visible",children:l},t.mode),l.return=t,t.child=l}function si(t,l){return t=Tl(22,t,null,l),t.lanes=0,t}function ri(t,l,e){return xa(l,t.child,null,e),t=bf(l,l.pendingProps.children),t.flags|=2,l.memoizedState=null,t}function I1(t,l,e,a,u,n,i,c){if(e)return l.flags&256?(Ve(l),l.flags&=-257,ri(t,l,c)):l.memoizedState!==null?(Ze(),l.child=t.child,l.flags|=128,null):(Ze(),n=u.fallback,i=l.mode,u=si({mode:"visible",children:u.children},i),n=ra(n,i,c,null),n.flags|=2,u.return=l,n.return=l,u.sibling=n,l.child=u,xa(l,t.child,null,c),u=l.child,u.memoizedState=vf(c),u.childLanes=gf(t,a,c),l.memoizedState=hf,Lu(null,u));if(Ve(l),vs(n)){if(a=n.nextSibling&&n.nextSibling.dataset,a)var s=a.dgst;return a=s,a!==""&&(u=Error(d(419)),u.stack="",u.digest=a,Uu({value:u,source:null,stack:null})),ri(t,l,c)}if(tl||ma(t,l,c,!1),a=(c&t.childLanes)!==0,tl||a){if(Xe.current!==null)return ri(t,l,c);if(a=Ht,a!==null&&(u=Js(a,c),u!==0&&u!==i.retryLane))throw i.retryLane=u,sa(t,u),_l(a,t,u),mf;return hs(n)||Ai(),ri(t,l,c)}return hs(n)?(l.flags|=192,l.child=t.child,null):(t=i.treeContext,wt=Ll(n.nextSibling),nl=l,rt=!0,He=null,Vl=!1,t!==null&&Jr(l,t),l=bf(l,u.children),l.flags|=134221824,l)}function md(t,l,e){t.lanes|=l;var a=t.alternate;a!==null&&(a.lanes|=l),Xn(t.return,l,e)}function yd(t){for(var l=null;t!==null;){var e=t.alternate;e!==null&&Wn(e)===null&&(l=t),t=t.sibling}return l}function oi(t,l,e,a,u,n){var i=t.memoizedState;i===null?t.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:a,tail:e,tailMode:u,treeForkCount:n}:(i.isBackwards=l,i.rendering=null,i.renderingStartTime=0,i.last=a,i.tail=e,i.tailMode=u,i.treeForkCount=n)}function xf(t){var l=t.child;for(t.child=null;l!==null;){var e=l.sibling;l.sibling=t.child,t.child=l,l=e}}function pf(t,l,e){var a=l.pendingProps,u=a.revealOrder,n=a.tail;a=a.children;var i=ol.current;if(l.flags&128)return Qu(l,i),null;var c=(i&2)!==0;if(c?(i=i&1|2,l.flags|=128):i&=1,Qu(l,i),u==="backwards"&&t!==null?(xf(t),el(t,l,a,e),xf(t)):el(t,l,a,e),a=rt?Du:0,!c&&t!==null&&(t.flags&128)!==0)t:for(t=l.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&md(t,e,l);else if(t.tag===19)md(t,e,l);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===l)break t;for(;t.sibling===null;){if(t.return===null||t.return===l)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(u){case"backwards":e=yd(l.child),e===null?(u=l.child,l.child=null):(u=e.sibling,e.sibling=null,xf(l)),oi(l,!0,u,null,n,a);break;case"unstable_legacy-backwards":for(e=null,u=l.child,l.child=null;u!==null;){if(t=u.alternate,t!==null&&Wn(t)===null){l.child=u;break}t=u.sibling,u.sibling=e,e=u,u=t}oi(l,!0,e,null,n,a);break;case"together":oi(l,!1,null,null,void 0,a);break;case"independent":l.memoizedState=null;break;default:e=yd(l.child),e===null?(u=l.child,l.child=null):(u=e.sibling,e.sibling=null),oi(l,!1,u,e,n,a)}return l.child}function hd(t,l,e){var a=l.pendingProps;return Be(l,l.type,a.value),el(t,l,a.children,e),l.child}function Ee(t,l,e){if(t!==null&&(l.dependencies=t.dependencies),ke|=l.lanes,(e&l.childLanes)===0)if(t!==null){if(ma(t,l,e,!1),(e&l.childLanes)===0)return null}else return null;if(t!==null&&l.child!==t.child)throw Error(d(153));if(l.child!==null){for(t=l.child,e=be(t,t.pendingProps),l.child=e,e.return=l;t.sibling!==null;)t=t.sibling,e=e.sibling=be(t,t.pendingProps),e.return=l;e.sibling=null}return l.child}function Sf(t,l){return(t.lanes&l)!==0?!0:(t=t.dependencies,!!(t!==null&&Vn(t)))}function P1(t,l,e){switch(l.tag){case 3:vn(l,l.stateNode.containerInfo),Be(l,It,t.memoizedState.cache),oa();break;case 27:case 5:Ji(l);break;case 4:vn(l,l.stateNode.containerInfo);break;case 10:Be(l,l.type,l.memoizedProps.value);break;case 31:if(l.memoizedState!==null)return l.flags|=128,Lc(l),null;break;case 13:var a=l.memoizedState;if(a!==null){if(a.dehydrated!==null)return Ve(l),l.flags|=128,null;a=ma(t,l,e,!1);var u=l.child.childLanes;return a||(e&u)!==0?dd(t,l,e):(Ve(l),t=Ee(t,l,e),t!==null?t.sibling:null)}Ve(l);break;case 19:if(l.flags&128)return pf(t,l,e);if(u=(t.flags&128)!==0,a=(e&l.childLanes)!==0,a||(ma(t,l,e,!1),a=(e&l.childLanes)!==0),u){if(a)return pf(t,l,e);l.flags|=128}if(u=l.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),Qu(l,ol.current),a)break;return null;case 22:return l.lanes=0,id(t,l,e,l.pendingProps);case 24:Be(l,It,t.memoizedState.cache)}return Ee(t,l,e)}function vd(t,l,e){if(t!==null)if(t.memoizedProps!==l.pendingProps)tl=!0;else{if(!Sf(t,e)&&(l.flags&128)===0)return tl=!1,P1(t,l,e);tl=(t.flags&131072)!==0}else tl=!1,rt&&(l.flags&1048576)!==0&&Kr(l,Du,l.index);switch(l.lanes=0,l.tag){case 16:t:{var a=l.pendingProps;if(t=ga(l.elementType),l.type=t,typeof t=="function")Oc(t)?(a=Sa(t,a),l.tag=1,l=rd(null,l,t,a,e)):(l.tag=0,l=yf(null,l,t,a,e));else{if(t!=null){var u=t.$$typeof;if(u===U){l.tag=11,l=ad(null,l,t,a,e);break t}else if(u===gt){l.tag=14,l=ud(null,l,t,a,e);break t}else if(u===Qt){l.tag=10,l.type=t,l=hd(null,l,e);break t}}throw l=x(t)||t,Error(d(306,l,""))}}return l;case 0:return yf(t,l,l.type,l.pendingProps,e);case 1:return a=l.type,u=Sa(a,l.pendingProps),rd(t,l,a,u,e);case 3:t:{if(vn(l,l.stateNode.containerInfo),t===null)throw Error(d(387));a=l.pendingProps;var n=l.memoizedState;u=n.element,Gc(t,l),Gu(l,a,null,e);var i=l.memoizedState;if(a=i.cache,Be(l,It,a),a!==n.cache&&Rc(l,[It],e,!0),wu(),a=i.element,n.isDehydrated)if(n={element:a,isDehydrated:!1,cache:i.cache},l.updateQueue.baseState=n,l.memoizedState=n,l.flags&256){l=od(t,l,a,e);break t}else if(a!==u){u=Gl(Error(d(424)),l),Uu(u),l=od(t,l,a,e);break t}else{switch(t=l.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(wt=Ll(t.firstChild),nl=l,rt=!0,He=null,Vl=!0,e=no(l,null,a,e),l.child=e;e;)e.flags=e.flags&-3|134221824,e=e.sibling}else{if(oa(),a===u){l=Ee(t,l,e);break t}el(t,l,a,e)}l=l.child}return l;case 26:return Fa(t,l),t===null?(e=Q0(l.type,null,l.pendingProps,null))?l.memoizedState=e:rt||(l.stateNode=p0(l.type,l.pendingProps,je.current,l)):l.memoizedState=Q0(l.type,t.memoizedProps,l.pendingProps,t.memoizedState),null;case 27:return Ji(l),t===null&&rt&&(a=l.stateNode=B0(l.type,l.pendingProps,je.current),nl=l,Vl=!0,u=wt,Ie(l.type)?(gs=u,wt=Ll(a.firstChild)):wt=u),el(t,l,l.pendingProps.children,e),Fa(t,l),t===null&&(l.flags|=4194304),l.child;case 5:return t===null&&rt&&((u=a=wt)&&(a=Jy(a,l.type,l.pendingProps,Vl),a!==null?(l.stateNode=a,nl=l,wt=Ll(a.firstChild),Vl=!1,u=!0):u=!1),u||qe(l)),Ji(l),u=l.type,n=l.pendingProps,i=t!==null?t.memoizedProps:null,a=n.children,fs(u,n)?a=null:i!==null&&fs(u,i)&&(l.flags|=32),l.memoizedState!==null&&(u=kc(t,l,X1,null,null,e),yu._currentValue=u),Fa(t,l),el(t,l,a,e),l.child;case 6:return t===null&&rt&&((t=e=wt)&&(e=ky(e,l.pendingProps,Vl),e!==null?(l.stateNode=e,nl=l,wt=null,t=!0):t=!1),t||qe(l)),null;case 13:return dd(t,l,e);case 4:return vn(l,l.stateNode.containerInfo),a=l.pendingProps,t===null?l.child=xa(l,null,a,e):el(t,l,a,e),l.child;case 11:return ad(t,l,l.type,l.pendingProps,e);case 7:return a=l.pendingProps,Fa(t,l),el(t,l,a,e),l.child;case 8:return el(t,l,l.pendingProps.children,e),l.child;case 12:return el(t,l,l.pendingProps.children,e),l.child;case 10:return hd(t,l,e);case 9:return u=l.type._context,a=l.pendingProps.children,ya(l),u=sl(u),a=a(u),l.flags|=1,el(t,l,a,e),l.child;case 14:return ud(t,l,l.type,l.pendingProps,e);case 15:return nd(t,l,l.type,l.pendingProps,e);case 19:return pf(t,l,e);case 31:return W1(t,l,e);case 22:return id(t,l,e,l.pendingProps);case 24:return ya(l),a=sl(It),t===null?(u=Bc(),u===null&&(u=Ht,n=Hc(),u.pooledCache=n,n.refCount++,n!==null&&(u.pooledCacheLanes|=e),u=n),l.memoizedState={parent:a,cache:u},wc(l),Be(l,It,u)):((t.lanes&e)!==0&&(Gc(t,l),Gu(l,null,null,e),wu()),u=t.memoizedState,n=l.memoizedState,u.parent!==a?(u={parent:a,cache:a},l.memoizedState=u,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=u),Be(l,It,a)):(a=n.cache,Be(l,It,a),a!==u.cache&&Rc(l,[It],e,!0))),el(t,l,l.pendingProps.children,e),l.child;case 30:return l.stateNode===null&&(l.stateNode={autoName:null,paired:null,clones:null,ref:null}),a=l.pendingProps,a.name!=null&&a.name!=="auto"?l.flags|=t===null?18882560:18874368:rt&&Gn(l),t!==null&&t.memoizedProps.name!==a.name?l.flags|=4194816:Fa(t,l),el(t,l,a.children,e),l.child;case 29:throw l.pendingProps}throw Error(d(156,l.tag))}function ze(t){t.flags|=4}function Tf(t,l,e,a,u){var n;if((n=(t.mode&32)!==0)&&(n=e===null?L0(l,a):L0(l,a)&&(a.src!==e.src||a.srcSet!==e.srcSet)),n){if(t.flags|=16777216,(u&335544128)===u)if(t.stateNode.complete)t.flags|=8192;else if(Wd())t.flags|=8192;else throw ba=Jn,Yc}else t.flags&=-16777217}function gd(t,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!K0(l))if(Wd())t.flags|=8192;else throw ba=Jn,Yc}function di(t,l){l!==null&&(t.flags|=4),t.flags&16384&&(l=t.tag!==22?Zs():536870912,t.lanes|=l,lu|=l)}function Ku(t,l){if(!rt)switch(t.tailMode){case"visible":break;case"collapsed":for(var e=t.tail,a=null;e!==null;)e.alternate!==null&&(a=e),e=e.sibling;a===null?l||t.tail===null?t.tail=null:t.tail.sibling=null:a.sibling=null;break;default:for(l=t.tail,e=null;l!==null;)l.alternate!==null&&(e=l),l=l.sibling;e===null?t.tail=null:e.sibling=null}}function Gt(t){var l=t.alternate!==null&&t.alternate.child===t.child,e=0,a=0;if(l)for(var u=t.child;u!==null;)e|=u.lanes|u.childLanes,a|=u.subtreeFlags&1206910976,a|=u.flags&1206910976,u.return=t,u=u.sibling;else for(u=t.child;u!==null;)e|=u.lanes|u.childLanes,a|=u.subtreeFlags,a|=u.flags,u.return=t,u=u.sibling;return t.subtreeFlags|=a,t.childLanes=e,l}function ty(t,l,e){var a=l.pendingProps;switch(Mc(l),l.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Gt(l),null;case 1:return Gt(l),null;case 3:return e=l.stateNode,a=null,t!==null&&(a=t.memoizedState.cache),l.memoizedState.cache!==a&&(l.flags|=2048),Se(It),Oa(),e.pendingContext&&(e.context=e.pendingContext,e.pendingContext=null),(t===null||t.child===null)&&(Va(l)?ze(l):t===null||t.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,Dc())),Gt(l),null;case 26:var u=l.type,n=l.memoizedState;return t===null?(ze(l),n!==null?(Gt(l),gd(l,n)):(Gt(l),Tf(l,u,null,a,e))):n?n!==t.memoizedState?(ze(l),Gt(l),gd(l,n)):(Gt(l),l.flags&=-16777217):(t=t.memoizedProps,t!==a&&ze(l),Gt(l),Tf(l,u,t,a,e)),null;case 27:if(gn(l),e=je.current,u=l.type,t!==null&&l.stateNode!=null)t.memoizedProps!==a&&ze(l);else{if(!a){if(l.stateNode===null)throw Error(d(166));return Gt(l),l.subtreeFlags&=-33554433,null}t=te.current,Va(l)?kr(l):(t=B0(u,a,e),l.stateNode=t,ze(l))}return Gt(l),l.subtreeFlags&=-33554433,null;case 5:if(gn(l),u=l.type,t!==null&&l.stateNode!=null)t.memoizedProps!==a&&ze(l);else{if(!a){if(l.stateNode===null)throw Error(d(166));return Gt(l),l.subtreeFlags&=-33554433,null}if(n=te.current,Va(l))kr(l);else{var i=an(je.current);switch(n){case 1:n=i.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:n=i.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":n=i.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":n=i.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":n=i.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild);break;case"select":n=typeof a.is=="string"?i.createElement("select",{is:a.is}):i.createElement("select"),a.multiple?n.multiple=!0:a.size&&(n.size=a.size);break;default:n=typeof a.is=="string"?i.createElement(u,{is:a.is}):i.createElement(u)}}n[fl]=l,n[Sl]=a;t:for(i=l.child;i!==null;){if(i.tag===5||i.tag===6)n.appendChild(i.stateNode);else if(i.tag!==4&&i.tag!==27&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===l)break t;for(;i.sibling===null;){if(i.return===null||i.return===l)break t;i=i.return}i.sibling.return=i.return,i=i.sibling}l.stateNode=n;t:switch(ml(n,u,a),u){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break t;case"img":a=!0;break t;default:a=!1}a&&ze(l)}}return Gt(l),l.subtreeFlags&=-33554433,Tf(l,l.type,t===null?null:t.memoizedProps,l.pendingProps,e),null;case 6:if(t&&l.stateNode!=null)t.memoizedProps!==a&&ze(l);else{if(typeof a!="string"&&l.stateNode===null)throw Error(d(166));if(t=je.current,Va(l)){if(t=l.stateNode,e=l.memoizedProps,a=null,u=nl,u!==null)switch(u.tag){case 27:case 5:a=u.memoizedProps}t[fl]=l,t=!!(t.nodeValue===e||a!==null&&a.suppressHydrationWarning===!0||v0(t.nodeValue,e)),t||qe(l,!0)}else t=an(t).createTextNode(a),t[fl]=l,l.stateNode=t}return Gt(l),null;case 31:if(e=l.memoizedState,t===null||t.memoizedState!==null){if(a=Va(l),e!==null){if(t===null){if(!a)throw Error(d(318));if(t=l.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(d(557));t[fl]=l}else oa(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Gt(l),t=!1}else e=Dc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=e),t=!0;if(!t)return l.flags&256?(Dl(l),l):(Dl(l),null);if((l.flags&128)!==0)throw Error(d(558))}return Gt(l),null;case 13:if(a=l.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(u=Va(l),a!==null&&a.dehydrated!==null){if(t===null){if(!u)throw Error(d(318));if(u=l.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(d(317));u[fl]=l}else oa(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Gt(l),u=!1}else u=Dc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=u),u=!0;if(!u)return l.flags&256?(Dl(l),l):(Dl(l),null)}return Dl(l),(l.flags&128)!==0?(l.lanes=e,l):(e=a!==null,t=t!==null&&t.memoizedState!==null,e&&(a=l.child,u=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(u=a.alternate.memoizedState.cachePool.pool),n=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(n=a.memoizedState.cachePool.pool),n!==u&&(a.flags|=2048)),e!==t&&e&&(l.child.flags|=8192),di(l,l.updateQueue),Gt(l),null);case 4:return Oa(),t===null&&as(l.stateNode.containerInfo),l.flags|=67108864,Gt(l),null;case 10:return Se(l.type),Gt(l),null;case 19:if(Kc(l),a=l.memoizedState,a===null)return Gt(l),null;if(u=(l.flags&128)!==0,n=a.rendering,n===null)if(u)Ku(a,!1);else{if($t!==0||t!==null&&(t.flags&128)!==0)for(t=l.child;t!==null;){if(n=Wn(t),n!==null){for(l.flags|=128,Ku(a,!1),t=n.updateQueue,l.updateQueue=t,di(l,t),l.subtreeFlags=0,t=e,e=l.child;e!==null;)Vr(e,t),e=e.sibling;return Qu(l,ol.current&1|2),rt&&xe(l,a.treeForkCount),l.child}t=t.sibling}a.tail!==null&&Ol()>Ei&&(l.flags|=128,u=!0,Ku(a,!1),l.lanes=4194304)}else{if(!u)if(t=Wn(n),t!==null){if(l.flags|=128,u=!0,t=t.updateQueue,l.updateQueue=t,di(l,t),Ku(a,!0),a.tail===null&&a.tailMode!=="collapsed"&&a.tailMode!=="visible"&&!n.alternate&&!rt)return Gt(l),null}else 2*Ol()-a.renderingStartTime>Ei&&e!==536870912&&(l.flags|=128,u=!0,Ku(a,!1),l.lanes=4194304);a.isBackwards?(n.sibling=l.child,l.child=n):(t=a.last,t!==null?t.sibling=n:l.child=n,a.last=n)}if(a.tail!==null){t=a.tail;t:{for(e=t;e!==null;){if(e.alternate!==null){e=!1;break t}e=e.sibling}e=!0}return a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ol(),t.sibling=null,n=ol.current,n=u?n&1|2:n&1,a.tailMode==="visible"||a.tailMode==="collapsed"||!e||rt?Qu(l,n):(e=n,Nt(rl,l),Nt(ol,e),hl===null&&(hl=l)),rt&&xe(l,a.treeForkCount),t}return Gt(l),null;case 22:case 23:return Dl(l),Zc(),a=l.memoizedState!==null,t!==null?t.memoizedState!==null!==a&&(l.flags|=8192):a&&(l.flags|=8192),a?(e&536870912)!==0&&(l.flags&128)===0&&(Gt(l),l.subtreeFlags&6&&(l.flags|=8192)):Gt(l),e=l.updateQueue,e!==null&&di(l,e.retryQueue),e=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),a=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(a=l.memoizedState.cachePool.pool),a!==e&&(l.flags|=2048),t!==null&&Rt(va),null;case 24:return e=null,t!==null&&(e=t.memoizedState.cache),l.memoizedState.cache!==e&&(l.flags|=2048),Se(It),Gt(l),null;case 25:return null;case 30:return l.flags|=33554432,Gt(l),null}throw Error(d(156,l.tag))}function ly(t,l){switch(Mc(l),l.tag){case 1:return t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 3:return Se(It),Oa(),t=l.flags,(t&65536)!==0&&(t&128)===0?(l.flags=t&-65537|128,l):null;case 26:case 27:case 5:return gn(l),null;case 31:if(l.memoizedState!==null){if(Dl(l),l.alternate===null)throw Error(d(340));oa()}return t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 13:if(Dl(l),t=l.memoizedState,t!==null&&t.dehydrated!==null){if(l.alternate===null)throw Error(d(340));oa()}return t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 19:return Kc(l),t=l.flags,t&65536?(l.flags=t&-65537|128,t=l.memoizedState,t!==null&&(t.rendering=null,t.tail=null),l.flags|=4,l):null;case 4:return Oa(),null;case 10:return Se(l.type),null;case 22:case 23:return Dl(l),Zc(),t!==null&&Rt(va),t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 24:return Se(It),null;case 25:return null;default:return null}}function bd(t,l){switch(Mc(l),l.tag){case 3:Se(It),Oa();break;case 26:case 27:case 5:gn(l);break;case 4:Oa();break;case 31:l.memoizedState!==null&&Dl(l);break;case 13:Dl(l);break;case 19:Kc(l);break;case 10:Se(l.type);break;case 22:case 23:Dl(l),Zc(),t!==null&&Rt(va);break;case 24:Se(It)}}function Ju(t,l){try{var e=l.updateQueue,a=e!==null?e.lastEffect:null;if(a!==null){var u=a.next;e=u;do{if((e.tag&t)===t){a=void 0;var n=e.create,i=e.inst;a=n(),i.destroy=a}e=e.next}while(e!==u)}}catch(c){jt(l,l.return,c)}}function Le(t,l,e){try{var a=l.updateQueue,u=a!==null?a.lastEffect:null;if(u!==null){var n=u.next;a=n;do{if((a.tag&t)===t){var i=a.inst,c=i.destroy;if(c!==void 0){i.destroy=void 0,u=l;var s=e,v=c;try{v()}catch(S){jt(u,s,S)}}}a=a.next}while(a!==n)}}catch(S){jt(l,l.return,S)}}function xd(t){var l=t.updateQueue;if(l!==null){var e=t.stateNode;try{co(l,e)}catch(a){jt(t,t.return,a)}}}function pd(t,l,e){e.props=Sa(t.type,t.memoizedProps),e.state=t.memoizedState;try{e.componentWillUnmount()}catch(a){jt(t,l,a)}}function ue(t,l){try{var e=t.ref;if(e!==null){switch(t.tag){case 26:case 27:case 5:var a=t.stateNode;break;case 30:var u=t.stateNode,n=ve(t.memoizedProps,u);(u.ref===null||u.ref.name!==n)&&(u.ref=O0(n)),a=u.ref;break;case 7:if(t.stateNode===null){var i=new Bl(t);T(t.child,!1,Ly,i,void 0,void 0),t.stateNode=i}a=t.stateNode;break;default:a=t.stateNode}typeof e=="function"?t.refCleanup=e(a):e.current=a}}catch(c){jt(t,l,c)}}function dl(t,l){var e=t.ref,a=t.refCleanup;if(e!==null)if(typeof a=="function")try{a()}catch(u){jt(t,l,u)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof e=="function")try{e(null)}catch(u){jt(t,l,u)}else e.current=null}function mi(t,l){if((t.tag===5||t.tag===27||t.tag===6)&&t.alternate===null&&l!==null)for(var e=0;e<l.length;e++)U0(t.stateNode,l[e])}function Sd(t){for(var l=t.return;l!==null&&(Ef(l)&&U0(t.stateNode,l.stateNode),!Nf(l));)l=l.return}function ku(t){for(var l=t.return;l!==null&&(Ef(l)&&Ky(t.stateNode,l.stateNode),!Nf(l));)l=l.return}function Nf(t){return t.tag===5||t.tag===3||t.tag===27}function Ef(t){return t&&t.tag===7&&t.stateNode!==null}function zf(t){var l=t.type,e=t.memoizedProps,a=t.stateNode;try{t:switch(l){case"button":case"input":case"select":case"textarea":e.autoFocus&&a.focus();break t;case"img":e.src?a.src=e.src:e.srcSet&&(a.srcset=e.srcSet)}}catch(u){jt(t,t.return,u)}}function _f(t,l,e){try{var a=t.stateNode;Oy(a,t.type,e,l),a[Sl]=l}catch(u){jt(t,t.return,u)}}function Td(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Ie(t.type)||t.tag===4}function Of(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Td(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&Ie(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Af(t,l,e,a){var u=t.tag;if(u===5||u===6)u=t.stateNode,l?(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).insertBefore(u,l):(l=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.appendChild(u),e=e._reactRootContainer,e!=null||l.onclick!==null||(l.onclick=le)),mi(t,a),xt=!0;else if(u!==4&&(u===27&&(mi(t,a),a=null,Ie(t.type)&&(e=t.stateNode,l=null)),t=t.child,t!==null))for(Af(t,l,e,a),t=t.sibling;t!==null;)Af(t,l,e,a),t=t.sibling}function yi(t,l,e,a){var u=t.tag;if(u===5||u===6)u=t.stateNode,l?e.insertBefore(u,l):e.appendChild(u),mi(t,a),xt=!0;else if(u!==4&&(u===27&&(mi(t,a),a=null,Ie(t.type)&&(e=t.stateNode)),t=t.child,t!==null))for(yi(t,l,e,a),t=t.sibling;t!==null;)yi(t,l,e,a),t=t.sibling}function Nd(t){var l=t.stateNode,e=t.memoizedProps;try{for(var a=t.type,u=l.attributes;u.length;)l.removeAttributeNode(u[0]);ml(l,a,e),l[fl]=t,l[Sl]=e}catch(n){jt(t,t.return,n)}}var hi=!1,Ul=null;function Ed(t){(t.tag===30||(t.subtreeFlags&33554432)!==0)&&(hi=!0)}var ne=null;function zd(){var t=ne;return ne=null,t}var Nl=0;function Wa(t,l,e,a,u){return Nl=0,_d(t.child,l,e,a,u)}function _d(t,l,e,a,u){for(var n=!1;t!==null;){if(t.tag===5){var i=t.stateNode;if(a!==null){var c=os(i);a.push(c),c.view&&(n=!0)}else n||os(i).view&&(n=!0);hi=!0,z0(i,Nl===0?l:l+"_"+Nl,e),Nl++}else(t.tag!==22||t.memoizedState===null)&&(t.tag===30&&u||_d(t.child,l,e,a,u)&&(n=!0));t=t.sibling}return n}function ie(t,l){for(;t!==null;)t.tag===5?_0(t.stateNode,t.memoizedProps):(t.tag!==22||t.memoizedState===null)&&(t.tag===30&&l||ie(t.child,l)),t=t.sibling}function vi(t){if((t.subtreeFlags&18874368)!==0)for(t=t.child;t!==null;){if((t.tag!==22||t.memoizedState===null)&&(vi(t),t.tag===30&&(t.flags&18874368)!==0&&t.stateNode.paired)){var l=t.memoizedProps;if(l.name==null||l.name==="auto")throw Error(d(544));var e=l.name;l=ge(l.default,l.share),l!=="none"&&(Wa(t,e,l,null,!1)||ie(t.child,!1))}t=t.sibling}}function jf(t,l){if(t.tag===30){var e=t.stateNode,a=t.memoizedProps,u=ve(a,e),n=ge(a.default,e.paired?a.share:a.enter);n!=="none"?Wa(t,u,n,null,!1)?(vi(t),e.paired||l||nu(t,a.onEnter)):ie(t.child,!1):vi(t)}else if((t.subtreeFlags&33554432)!==0)for(t=t.child;t!==null;)jf(t,l),t=t.sibling;else vi(t)}function Mf(t){if(Ul!==null&&Ul.size!==0){var l=Ul;if((t.subtreeFlags&18874368)!==0)for(t=t.child;t!==null;){if(t.tag!==22||t.memoizedState===null){if(t.tag===30&&(t.flags&18874368)!==0){var e=t.memoizedProps,a=e.name;if(a!=null&&a!=="auto"){var u=l.get(a);if(u!==void 0){var n=ge(e.default,e.share);if(n!=="none"&&(Wa(t,a,n,null,!1)?(n=t.stateNode,u.paired=n,n.paired=u,nu(t,e.onShare)):ie(t.child,!1)),l.delete(a),l.size===0)break}}}Mf(t)}t=t.sibling}}}function Cf(t){if(t.tag===30){var l=t.memoizedProps,e=ve(l,t.stateNode),a=Ul!==null?Ul.get(e):void 0,u=ge(l.default,a!==void 0?l.share:l.exit);u!=="none"&&(Wa(t,e,u,null,!1)?a!==void 0?(u=t.stateNode,a.paired=u,u.paired=a,Ul.delete(e),nu(t,l.onShare)):nu(t,l.onExit):ie(t.child,!1)),Ul!==null&&Mf(t)}else if((t.subtreeFlags&33554432)!==0)for(t=t.child;t!==null;)Cf(t),t=t.sibling;else Ul!==null&&Mf(t)}function Od(t){for(t=t.child;t!==null;){if(t.tag===30){var l=t.memoizedProps,e=ve(l,t.stateNode);l=ge(l.default,l.update),t.flags&=-5,l!=="none"&&Wa(t,e,l,t.memoizedState=[],!1)}else(t.subtreeFlags&33554432)!==0&&Od(t);t=t.sibling}}function Df(t){if((t.subtreeFlags&18874368)!==0)for(t=t.child;t!==null;){if(t.tag!==22||t.memoizedState===null){if(t.tag===30&&(t.flags&18874368)!==0){var l=t.stateNode;l.paired!==null&&(l.paired=null,ie(t.child,!1))}Df(t)}t=t.sibling}}function gi(t){if(t.tag===30)t.stateNode.paired=null,ie(t.child,!1),Df(t);else if((t.subtreeFlags&33554432)!==0)for(t=t.child;t!==null;)gi(t),t=t.sibling;else Df(t)}function Ad(t){for(t=t.child;t!==null;)t.tag===30?ie(t.child,!1):(t.subtreeFlags&33554432)!==0&&Ad(t),t=t.sibling}function Uf(t,l,e,a,u,n,i){for(var c=!1;l!==null;){if(l.tag===5){var s=l.stateNode;if(n!==null&&Nl<n.length){var v=n[Nl],S=os(s);(v.view||S.view)&&(c=!0);var O;if(O=(t.flags&4)===0)if(S.clip)O=!0;else{O=v.rect;var y=S.rect;O=O.y!==y.y||O.x!==y.x||O.height!==y.height||O.width!==y.width}O&&(t.flags|=4),S.abs?S=!v.abs:(v=v.rect,S=S.rect,S=v.height!==S.height||v.width!==S.width),S&&(t.flags|=32)}else t.flags|=32;(t.flags&4)!==0&&z0(s,Nl===0?e:e+"_"+Nl,u),c&&(t.flags&4)!==0||(ne===null&&(ne=[]),ne.push(s,Nl===0?a:a+"_"+Nl,l.memoizedProps)),Nl++}else(l.tag!==22||l.memoizedState===null)&&(l.tag===30&&i?t.flags|=l.flags&32:Uf(t,l.child,e,a,u,n,i)&&(c=!0));l=l.sibling}return c}function jd(t,l){for(t=t.child;t!==null;){if(t.tag===30){var e=t.memoizedProps,a=t.stateNode,u=ve(e,a),n=ge(e.default,e.update),i;i=t.memoizedState,t.memoizedState=null,a=t;var c=t.child;Nl=0,u=Uf(a,c,u,u,n,i,!1),(t.flags&4)!==0&&u&&nu(t,e.onUpdate)}else(t.subtreeFlags&33554432)!==0&&jd(t);t=t.sibling}}var il=!1,Ot=!1,ce=!1,Rf=!1,Md=typeof WeakSet=="function"?WeakSet:Set,cl=null,fe=!1,$u=!1,bi=!1,Hf=!1;function ey(t,l,e){if(t=t.containerInfo,is=hu,t=Ur(t),pc(t)){if("selectionStart"in t)var a={start:t.selectionStart,end:t.selectionEnd};else t:{a=(a=t.ownerDocument)&&a.defaultView||window;var u=a.getSelection&&a.getSelection();if(u&&u.rangeCount!==0){a=u.anchorNode;var n=u.anchorOffset,i=u.focusNode;u=u.focusOffset;try{a.nodeType,i.nodeType}catch{a=null;break t}var c=0,s=-1,v=-1,S=0,O=0,y=t,b=null;l:for(;;){for(var D;y!==a||n!==0&&y.nodeType!==3||(s=c+n),y!==i||u!==0&&y.nodeType!==3||(v=c+u),y.nodeType===3&&(c+=y.nodeValue.length),(D=y.firstChild)!==null;)b=y,y=D;for(;;){if(y===t)break l;if(b===a&&++S===n&&(s=c),b===i&&++O===u&&(v=c),(D=y.nextSibling)!==null)break;y=b,b=y.parentNode}y=D}a=s===-1||v===-1?null:{start:s,end:v}}else a=null}a=a||{start:0,end:0}}else a=null;for(cs={focusedElem:t,selectionRange:a},hu=!1,e=(e&335544064)===e,cl=l,l=e?9270:1024;cl!==null;){if(t=cl,e&&(a=t.deletions,a!==null))for(n=0;n<a.length;n++)e&&Cf(a[n]);if(t.alternate===null&&(t.flags&2)!==0)e&&Ed(t),xi(e);else{if(t.tag===22){if(a=t.alternate,t.memoizedState!==null){a!==null&&a.memoizedState===null&&e&&Cf(a),xi(e);continue}else if(a!==null&&a.memoizedState!==null){e&&Ed(t),xi(e);continue}}a=t.child,(t.subtreeFlags&l)!==0&&a!==null?(a.return=t,cl=a):(e&&Od(t),xi(e))}}Ul=null}function xi(t){for(;cl!==null;){var l=cl,e=t,a=l.alternate,u=l.flags;switch(l.tag){case 0:case 11:case 15:break;case 1:if((u&1024)!==0&&a!==null){e=void 0,u=a.memoizedProps,a=a.memoizedState;var n=l.stateNode;try{var i=Sa(l.type,u);e=n.getSnapshotBeforeUpdate(i,a),n.__reactInternalSnapshotBeforeUpdate=e}catch(c){jt(l,l.return,c)}}break;case 3:if((u&1024)!==0){if(a=l.stateNode.containerInfo,e=a.nodeType,e===9)ys(a);else if(e===1)switch(a.nodeName){case"HEAD":case"HTML":case"BODY":ys(a);break;default:a.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:e&&a!==null&&(e=ve(a.memoizedProps,a.stateNode),u=l.memoizedProps,u=ge(u.default,u.update),u!=="none"&&Wa(a,e,u,a.memoizedState=[],!0));break;default:if((u&1024)!==0)throw Error(d(163))}if(a=l.sibling,a!==null){a.return=l.return,cl=a;break}cl=l.return}}function Cd(t,l,e){var a=e.flags;switch(e.tag){case 0:case 11:case 15:se(t,e),a&4&&Ju(5,e);break;case 1:if(se(t,e),a&4)if(t=e.stateNode,l===null)try{t.componentDidMount()}catch(i){jt(e,e.return,i)}else{var u=Sa(e.type,l.memoizedProps);l=l.memoizedState;try{t.componentDidUpdate(u,l,t.__reactInternalSnapshotBeforeUpdate)}catch(i){jt(e,e.return,i)}}a&64&&xd(e),a&512&&ue(e,e.return);break;case 3:if(se(t,e),a&64&&(t=e.updateQueue,t!==null)){if(l=null,e.child!==null)switch(e.child.tag){case 27:case 5:l=e.child.stateNode;break;case 1:l=e.child.stateNode}try{co(t,l)}catch(i){jt(e,e.return,i)}}break;case 27:l===null&&a&4&&Nd(e);case 26:case 5:se(t,e),l===null&&a&4&&zf(e),a&512&&ue(e,e.return);break;case 12:se(t,e);break;case 31:se(t,e),a&4&&Hd(t,e);break;case 13:se(t,e),a&4&&qd(t,e),a&64&&(t=e.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(e=yy.bind(null,e),$y(t,e))));break;case 22:if(a=e.memoizedState!==null||il,!a){var n=l!==null&&l.memoizedState!==null||Ot;l=il,u=Ot,il=a,(Ot=n)&&!u?(a=2,(e.subtreeFlags&8772)!==0&&(a|=1),Fl(t,e,a)):se(t,e),il=l,Ot=u}break;case 30:se(t,e),a&512&&ue(e,e.return);break;case 7:a&512&&ue(e,e.return);default:se(t,e)}}function qf(t,l){for(t=t.child;t!==null;)Dd(t,l),t=t.sibling}function Dd(t,l){switch(t.tag){case 5:case 26:try{var e=t.stateNode;if(l){var a=e.style;typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none"}else{var u=t.stateNode,n=t.memoizedProps.style,i=n!=null&&n.hasOwnProperty("display")?n.display:null;u.style.display=i==null||typeof i=="boolean"?"":(""+i).trim()}}catch(s){jt(t,t.return,s)}Bf(t,l);break;case 6:try{t.stateNode.nodeValue=l?"":t.memoizedProps,xt=!0}catch(s){jt(t,t.return,s)}break;case 18:try{var c=t.stateNode;l?E0(c,!0):E0(t.stateNode,!1)}catch(s){jt(t,t.return,s)}break;case 22:case 23:t.memoizedState===null&&qf(t,l);break;default:qf(t,l)}}function Bf(t,l){if(t.subtreeFlags&67108864)for(t=t.child;t!==null;){t:{var e=t,a=l;switch(e.tag){case 4:Dd(e,a);break t;case 22:e.memoizedState===null&&Bf(e,a);break t;default:Bf(e,a)}}t=t.sibling}}function Ud(t){var l=t.alternate;l!==null&&(t.alternate=null,Ud(l)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(l=t.stateNode,l!==null&&En(l)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Xt=null,El=!1;function kl(t,l,e){for(e=e.child;e!==null;)Rd(t,l,e),e=e.sibling}function Rd(t,l,e){if(Al&&typeof Al.onCommitFiberUnmount=="function")try{Al.onCommitFiberUnmount(bu,e)}catch{}switch(e.tag){case 26:Ot||dl(e,l),kl(t,l,e),e.memoizedState?e.memoizedState.count--:e.stateNode&&!Ot&&(e=e.stateNode,e.parentNode.removeChild(e));break;case 27:Ot||dl(e,l),ku(e);var a=Xt,u=El;Ie(e.type)&&(Xt=e.stateNode,El=!1),kl(t,l,e),Y0(e.stateNode,e.type,e.memoizedProps),Xt=a,El=u;break;case 5:Ot||dl(e,l),ku(e);case 6:if(e.tag===6&&ku(e),a=Xt,u=El,Xt=null,kl(t,l,e),Xt=a,El=u,Xt!==null)if(El)try{(Xt.nodeType===9?Xt.body:Xt.nodeName==="HTML"?Xt.ownerDocument.body:Xt).removeChild(e.stateNode),xt=!0}catch(n){jt(e,l,n)}else try{Xt.removeChild(e.stateNode),xt=!0}catch(n){jt(e,l,n)}break;case 18:Xt!==null&&(El?(t=Xt,N0(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,e.stateNode),vu(t)):N0(Xt,e.stateNode));break;case 4:a=Xt,u=El,Xt=e.stateNode.containerInfo,El=!0,kl(t,l,e),Xt=a,El=u;break;case 0:case 11:case 14:case 15:Le(2,e,l),Ot||Le(4,e,l),kl(t,l,e);break;case 1:Ot||(dl(e,l),a=e.stateNode,typeof a.componentWillUnmount=="function"&&pd(e,l,a)),kl(t,l,e);break;case 21:kl(t,l,e);break;case 22:Ot=(a=Ot)||e.memoizedState!==null,kl(t,l,e),Ot=a;break;case 30:dl(e,l),kl(t,l,e);break;case 7:Ot||dl(e,l),kl(t,l,e);break;default:kl(t,l,e)}}function Hd(t,l){if(l.memoizedState===null&&(t=l.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{vu(t)}catch(e){jt(l,l.return,e)}}}function qd(t,l){if(l.memoizedState===null&&(t=l.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{vu(t)}catch(e){jt(l,l.return,e)}}function ay(t){switch(t.tag){case 31:case 13:case 19:var l=t.stateNode;return l===null&&(l=t.stateNode=new Md),l;case 22:return t=t.stateNode,l=t._retryCache,l===null&&(l=t._retryCache=new Md),l;default:throw Error(d(435,t.tag))}}function pi(t,l){var e=ay(t);l.forEach(function(a){if(!e.has(a)){e.add(a);var u=hy.bind(null,t,a);a.then(u,u)}})}function xl(t,l,e){var a=l.deletions;if(a!==null)for(var u=0;u<a.length;u++){var n=a[u],i=t,c=l,s=c;t:for(;s!==null;){switch(s.tag){case 27:if(Ie(s.type)){Xt=s.stateNode,El=!1;break t}break;case 5:Xt=s.stateNode,El=!1;break t;case 3:case 4:Xt=s.stateNode.containerInfo,El=!0;break t}s=s.return}if(Xt===null)throw Error(d(160));Rd(i,c,n),Xt=null,El=!1,i=n.alternate,i!==null&&(i.return=null),n.return=null}if(l.subtreeFlags&13886)for(l=l.child;l!==null;)Bd(l,t,e),l=l.sibling}var $l=null;function Bd(t,l,e){var a=t.alternate,u=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(u&4&&(a=t.updateQueue,a=a!==null?a.events:null,a!==null))for(var n=0;n<a.length;n++){var i=a[n];i.ref.impl=i.nextImpl}xl(l,t,e),pl(t),u&4&&(Le(3,t,t.return),Ju(3,t),Le(5,t,t.return));break;case 1:xl(l,t,e),pl(t),u&512&&(Ot||a===null||dl(a,a.return)),u&64&&il&&(t=t.updateQueue,t!==null&&(l=t.callbacks,l!==null&&(e=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=e===null?l:e.concat(l))));break;case 26:if(n=$l,xl(l,t,e),pl(t),u&512&&(Ot||a===null||dl(a,a.return)),u&4)if(u=a!==null?a.memoizedState:null,e=t.memoizedState,a===null)if(e===null)if(t.stateNode===null)if(il)t.stateNode=p0(t.type,t.memoizedProps,l.containerInfo,t);else{t:{l=t.type,e=t.memoizedProps,u=n.ownerDocument||n;l:switch(l){case"title":a=u.getElementsByTagName("title")[0],(!a||a[Su]||a[fl]||a.namespaceURI==="http://www.w3.org/2000/svg"||a.hasAttribute("itemprop"))&&(a=u.createElement(l),u.head.insertBefore(a,u.querySelector("head > title"))),ml(a,l,e),a[fl]=t,ul(a),l=a;break t;case"link":if(n=Z0("link","href",u).get(l+(e.href||""))){for(i=0;i<n.length;i++)if(a=n[i],a.getAttribute("href")===(e.href==null||e.href===""?null:e.href)&&a.getAttribute("rel")===(e.rel==null?null:e.rel)&&a.getAttribute("title")===(e.title==null?null:e.title)&&a.getAttribute("crossorigin")===(e.crossOrigin==null?null:e.crossOrigin)){n.splice(i,1);break l}}a=u.createElement(l),ml(a,l,e),u.head.appendChild(a);break;case"meta":if(n=Z0("meta","content",u).get(l+(e.content||""))){for(i=0;i<n.length;i++)if(a=n[i],a.getAttribute("content")===(e.content==null?null:""+e.content)&&a.getAttribute("name")===(e.name==null?null:e.name)&&a.getAttribute("property")===(e.property==null?null:e.property)&&a.getAttribute("http-equiv")===(e.httpEquiv==null?null:e.httpEquiv)&&a.getAttribute("charset")===(e.charSet==null?null:e.charSet)){n.splice(i,1);break l}}a=u.createElement(l),ml(a,l,e),u.head.appendChild(a);break;default:throw Error(d(468,l))}a[fl]=t,ul(a),l=a}t.stateNode=l}else il||Ss(n,t.type,t.stateNode);else t.stateNode=V0(n,e,t.memoizedProps);else u!==e?(u===null?(l=a.stateNode,l===null||Ot||l.parentNode.removeChild(l)):u.count--,e===null?il||Ss(n,t.type,t.stateNode):V0(n,e,t.memoizedProps)):e===null&&t.stateNode!==null&&_f(t,t.memoizedProps,a.memoizedProps);break;case 27:xl(l,t,e),pl(t),u&512&&(Ot||a===null||dl(a,a.return)),a!==null&&u&4&&_f(t,t.memoizedProps,a.memoizedProps);break;case 5:if(n=ce,ce=!1,xl(l,t,e),ce=n,pl(t),u&512&&(Ot||a===null||dl(a,a.return)),t.flags&32){l=t.stateNode;try{Ua(l,""),xt=!0}catch(S){jt(t,t.return,S)}}u&4&&t.stateNode!=null&&(l=t.memoizedProps,_f(t,l,a!==null?a.memoizedProps:l)),u&1024&&(Rf=!0);break;case 6:if(xl(l,t,e),pl(t),u&4){if(t.stateNode===null)throw Error(d(162));l=t.memoizedProps,e=t.stateNode;try{e.nodeValue=l,xt=!0}catch(S){jt(t,t.return,S)}}break;case 3:if(xt=!1,Hi=null,n=$l,$l=un(l.containerInfo),xl(l,t,e),$l=n,pl(t),u&4&&a!==null&&a.memoizedState.isDehydrated)try{vu(l.containerInfo)}catch(S){jt(t,t.return,S)}Rf&&(Rf=!1,Yd(t)),xt=!1;break;case 4:u=ce,ce=il,a=ar(),n=$l,$l=un(t.stateNode.containerInfo),xl(l,t,e),pl(t),$l=n,xt&&$u&&(bi=!0),xt=a,ce=u;break;case 12:xl(l,t,e),pl(t);break;case 31:xl(l,t,e),pl(t),u&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,pi(t,l)));break;case 13:xl(l,t,e),pl(t),t.child.flags&8192&&t.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(Ni=Ol()),u&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,pi(t,l)));break;case 22:n=t.memoizedState!==null,i=a!==null&&a.memoizedState!==null;var c=il,s=Ot,v=ce;il=c||n,ce=v||n,Ot=s||i,xl(l,t,e),Ot=s,ce=v,il=c,pl(t),u&8192&&(l=t.stateNode,l._visibility=n?l._visibility&-2:l._visibility|1,!n||a===null||i||il||Ot||(l=i||Ot,e=il,a=Ot,il=n||il,Ot=l,Ke(t,2),il=e,Ot=a),!n&&ce||qf(t,n)),u&4&&(l=t.updateQueue,l!==null&&(e=l.retryQueue,e!==null&&(l.retryQueue=null,pi(t,e))));break;case 19:xl(l,t,e),pl(t),u&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,pi(t,l)));break;case 30:u&512&&(Ot||a===null||dl(a,a.return)),u=ar(),n=$u,i=(e&335544064)===e,c=t.memoizedProps,$u=i&&ge(c.default,c.update)!=="none",xl(l,t,e),pl(t),i&&a!==null&&xt&&(t.flags|=4),$u=n,xt=u;break;case 21:break;case 7:u&512&&(Ot||a===null||dl(a,a.return)),a&&a.stateNode!==null&&(a.stateNode._fragmentFiber=t);default:xl(l,t,e),pl(t)}}function pl(t){var l=t.flags;if(l&2){try{for(var e,a=t.return;a!==null;){if(Td(a)){e=a;break}a=a.return}a=null;for(var u=t.return;u!==null;){if(Ef(u)){var n=u.stateNode;a===null?a=[n]:a.push(n)}if(Nf(u))break;u=u.return}var i=a;if(e==null)throw Error(d(160));switch(e.tag){case 27:var c=e.stateNode,s=Of(t);yi(t,s,c,i);break;case 5:var v=e.stateNode;e.flags&32&&(Ua(v,""),e.flags&=-33);var S=Of(t);yi(t,S,v,i);break;case 3:case 4:var O=e.stateNode.containerInfo,y=Of(t);Af(t,y,O,i);break;default:throw Error(d(161))}}catch(b){jt(t,t.return,b)}t.flags&=-3}l&4096&&(t.flags&=-4097)}function Yd(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var l=t;Yd(l),l.tag===5&&l.flags&1024&&(l=l.stateNode,hu=!0,l.reset(),hu=!1),t=t.sibling}}function Ia(t,l){if(l.subtreeFlags&9270)for(l=l.child;l!==null;)wd(l,t),l=l.sibling;else jd(l)}function wd(t,l){var e=t.alternate;if(e===null)jf(t,!1);else switch(t.tag){case 3:if(Hf=fe=!1,zd(),Ia(l,t),!fe&&!bi){if(t=ne,t!==null)for(var a=0;a<t.length;a+=3){e=t[a];var u=t[a+1];_0(e,t[a+2]),e=e.ownerDocument.documentElement,e!==null&&e.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+u+")"})}t=l.containerInfo,t=t.nodeType===9?t.documentElement:t.ownerDocument.documentElement,t!==null&&t.style.viewTransitionName===""&&(t.style.viewTransitionName="none",t.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),t.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),Hf=!0}ne=null;break;case 5:Ia(l,t);break;case 4:a=fe,fe=!1,Ia(l,t),fe&&(bi=!0),fe=a;break;case 22:t.memoizedState===null&&(e.memoizedState!==null?jf(t,!1):Ia(l,t));break;case 30:a=fe,u=zd(),fe=!1,Ia(l,t),fe&&(t.flags|=4);var n=t.memoizedProps,i=t.stateNode;l=ve(n,i),i=ve(e.memoizedProps,i);var c=ge(n.default,n.update);c==="none"?l=!1:(n=e.memoizedState,e.memoizedState=null,e=t.child,Nl=0,l=Uf(t,e,l,i,c,n,!0),Nl!==(n===null?0:n.length)&&(t.flags|=32)),(t.flags&4)!==0&&l?(nu(t,t.memoizedProps.onUpdate),ne=u):u!==null&&(u.push.apply(u,ne),ne=u),fe=(t.flags&32)!==0?!0:a;break;default:Ia(l,t)}}function se(t,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)Cd(t,l.alternate,l),l=l.sibling}function Ke(t,l){for(t=t.child;t!==null;){var e=t,a=l;switch(e.tag){case 0:case 11:case 14:case 15:Le(4,e,e.return),Ke(e,a);break;case 1:dl(e,e.return);var u=e.stateNode;typeof u.componentWillUnmount=="function"&&pd(e,e.return,u),Ke(e,a);break;case 27:(a&2)!==0&&Y0(e.stateNode,e.type,e.memoizedProps);case 5:dl(e,e.return),e.tag!==5&&e.tag!==27||ku(e),Ke(e,a);break;case 6:ku(e);break;case 26:dl(e,e.return),u=e.stateNode,e.memoizedState!==null||u===null||Ot||u.parentNode.removeChild(u),Ke(e,a);break;case 22:e.memoizedState===null&&Ke(e,a);break;case 30:dl(e,e.return),Ke(e,a);break;case 7:dl(e,e.return);default:Ke(e,a)}t=t.sibling}}function Fl(t,l,e){for(e=(l.subtreeFlags&8772)!==0?e:e&-2,l=l.child;l!==null;){var a=l.alternate,u=t,n=l,i=n.flags,c=(e&1)!==0;switch(n.tag){case 0:case 11:case 15:Fl(u,n,e),Ju(4,n);break;case 1:if(Fl(u,n,e),a=n,u=a.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(S){jt(a,a.return,S)}if(a=n,u=a.updateQueue,u!==null){var s=a.stateNode;try{var v=u.shared.hiddenCallbacks;if(v!==null)for(u.shared.hiddenCallbacks=null,u=0;u<v.length;u++)io(v[u],s)}catch(S){jt(a,a.return,S)}}c&&i&64&&xd(n),ue(n,n.return);break;case 27:(e&2)!==0&&Nd(n);case 5:n.tag!==5&&n.tag!==27||Sd(n),Fl(u,n,e),c&&a===null&&i&4&&zf(n),ue(n,n.return);break;case 6:Sd(n);break;case 26:s=n.stateNode,n.memoizedState!==null||s===null||il||Ss(un(s.ownerDocument),n.type,s),Fl(u,n,e),c&&a===null&&i&4&&zf(n),ue(n,n.return);break;case 12:Fl(u,n,e);break;case 31:Fl(u,n,e),c&&i&4&&Hd(u,n);break;case 13:Fl(u,n,e),c&&i&4&&qd(u,n);break;case 22:n.memoizedState===null&&Fl(u,n,e),ue(n,n.return);break;case 30:Fl(u,n,e),ue(n,n.return);break;case 7:ue(n,n.return);default:Fl(u,n,e)}l=l.sibling}}function Yf(t,l){var e=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),t=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(t=l.memoizedState.cachePool.pool),t!==e&&(t!=null&&t.refCount++,e!=null&&Ru(e))}function wf(t,l){t=null,l.alternate!==null&&(t=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==t&&(l.refCount++,t!=null&&Ru(t))}function Zl(t,l,e,a){var u=(e&335544064)===e;if(l.subtreeFlags&(u?10262:10256))for(l=l.child;l!==null;)Gd(t,l,e,a),l=l.sibling;else u&&Ad(l)}function Gd(t,l,e,a){var u=(e&335544064)===e;u&&l.alternate===null&&l.return!==null&&l.return.alternate!==null&&gi(l);var n=l.flags;switch(l.tag){case 0:case 11:case 15:Zl(t,l,e,a),n&2048&&Ju(9,l);break;case 1:Zl(t,l,e,a);break;case 3:Zl(t,l,e,a),u&&Hf&&(t=t.containerInfo,t=t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,t.style.viewTransitionName==="root"&&(t.style.viewTransitionName=""),t=t.ownerDocument.documentElement,t!==null&&t.style.viewTransitionName==="none"&&(t.style.viewTransitionName="")),n&2048&&(n=null,l.alternate!==null&&(n=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==n&&(l.refCount++,n!=null&&Ru(n)));break;case 12:if(n&2048){Zl(t,l,e,a),n=l.stateNode;try{var i=l.memoizedProps,c=i.id,s=i.onPostCommit;typeof s=="function"&&s(c,l.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(v){jt(l,l.return,v)}}else Zl(t,l,e,a);break;case 31:Zl(t,l,e,a);break;case 13:Zl(t,l,e,a);break;case 23:break;case 22:i=l.stateNode,c=l.alternate,l.memoizedState!==null?(u&&c!==null&&c.memoizedState===null&&gi(c),i._visibility&2?Zl(t,l,e,a):Fu(t,l)):(u&&c!==null&&c.memoizedState!==null&&gi(l),i._visibility&2?Zl(t,l,e,a):(i._visibility|=2,Pa(t,l,e,a,(l.subtreeFlags&10256)!==0||!1))),n&2048&&Yf(c,l);break;case 24:Zl(t,l,e,a),n&2048&&wf(l.alternate,l);break;case 30:u&&(n=l.alternate,n!==null&&(ie(n.child,!0),ie(l.child,!0))),Zl(t,l,e,a);break;default:Zl(t,l,e,a)}}function Pa(t,l,e,a,u){for(u=u&&((l.subtreeFlags&10256)!==0||!1),l=l.child;l!==null;){var n=t,i=l,c=e,s=a,v=i.flags;switch(i.tag){case 0:case 11:case 15:Pa(n,i,c,s,u),Ju(8,i);break;case 23:break;case 22:var S=i.stateNode;i.memoizedState!==null?S._visibility&2?Pa(n,i,c,s,u):Fu(n,i):(S._visibility|=2,Pa(n,i,c,s,u)),u&&v&2048&&Yf(i.alternate,i);break;case 24:Pa(n,i,c,s,u),u&&v&2048&&wf(i.alternate,i);break;default:Pa(n,i,c,s,u)}l=l.sibling}}function Fu(t,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var e=t,a=l,u=a.flags;switch(a.tag){case 22:Fu(e,a),u&2048&&Yf(a.alternate,a);break;case 24:Fu(e,a),u&2048&&wf(a.alternate,a);break;default:Fu(e,a)}l=l.sibling}}var Ta=8192;function Na(t,l,e){if(t.subtreeFlags&Ta)for(t=t.child;t!==null;)Qd(t,l,e),t=t.sibling}function Qd(t,l,e){switch(t.tag){case 26:Na(t,l,e),t.flags&Ta&&(t.memoizedState!==null?sh(e,$l,t.memoizedState,t.memoizedProps):(t=t.stateNode,(l&335544128)===l&&k0(e,t)));break;case 5:Na(t,l,e),t.flags&Ta&&(t=t.stateNode,(l&335544128)===l&&k0(e,t));break;case 3:case 4:var a=$l;$l=un(t.stateNode.containerInfo),Na(t,l,e),$l=a;break;case 22:t.memoizedState===null&&(a=t.alternate,a!==null&&a.memoizedState!==null?(a=Ta,Ta=16777216,Na(t,l,e),Ta=a):Na(t,l,e));break;case 30:if((t.flags&Ta)!==0&&(a=t.memoizedProps.name,a!=null&&a!=="auto")){var u=t.stateNode;u.paired=null,Ul===null&&(Ul=new Map),Ul.set(a,u)}Na(t,l,e);break;default:Na(t,l,e)}}function Xd(t){var l=t.alternate;if(l!==null&&(t=l.child,t!==null)){l.child=null;do l=t.sibling,t.sibling=null,t=l;while(t!==null)}}function Wu(t){var l=t.deletions;if((t.flags&16)!==0){if(l!==null)for(var e=0;e<l.length;e++){var a=l[e];cl=a,Zd(a,t)}Xd(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Vd(t),t=t.sibling}function Vd(t){switch(t.tag){case 0:case 11:case 15:Wu(t),t.flags&2048&&Le(9,t,t.return);break;case 3:Wu(t);break;case 12:Wu(t);break;case 22:var l=t.stateNode;t.memoizedState!==null&&l._visibility&2&&(t.return===null||t.return.tag!==13)?(l._visibility&=-3,Si(t)):Wu(t);break;default:Wu(t)}}function Si(t){var l=t.deletions;if((t.flags&16)!==0){if(l!==null)for(var e=0;e<l.length;e++){var a=l[e];cl=a,Zd(a,t)}Xd(t)}for(t=t.child;t!==null;){switch(l=t,l.tag){case 0:case 11:case 15:Le(8,l,l.return),Si(l);break;case 22:e=l.stateNode,e._visibility&2&&(e._visibility&=-3,Si(l));break;default:Si(l)}t=t.sibling}}function Zd(t,l){for(;cl!==null;){var e=cl;switch(e.tag){case 0:case 11:case 15:Le(8,e,l);break;case 23:case 22:if(e.memoizedState!==null&&e.memoizedState.cachePool!==null){var a=e.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:Ru(e.memoizedState.cache)}if(a=e.child,a!==null)a.return=e,cl=a;else t:for(e=t;cl!==null;){a=cl;var u=a.sibling,n=a.return;if(Ud(a),a===e){cl=null;break t}if(u!==null){u.return=n,cl=u;break t}cl=n}}}var uy={getCacheForType:function(t){var l=sl(It),e=l.data.get(t);return e===void 0&&(e=t(),l.data.set(t,e)),e},cacheSignal:function(){return sl(It).controller.signal}},ny=typeof WeakMap=="function"?WeakMap:Map,Et=0,Ht=null,dt=null,yt=0,At=0,Rl=null,Je=!1,tu=!1,Gf=!1,_e=0,$t=0,ke=0,Ea=0,Ti=0,Hl=0,lu=0,Iu=null,zl=null,Qf=!1,Ni=0,Ld=0,Ei=1/0,zi=null,$e=null,Lt=0,Wl=null,za=null,re=0,Xf=0,Vf=null,Kd=null,eu=null,au=null,uu=null,Pu=0,_i=null;function ql(){return(Et&2)!==0&&yt!==0?yt&-yt:p.T!==null?Pf():ks()}function Jd(){if(Hl===0)if((yt&536870912)===0||rt){var t=pn;pn<<=1,(pn&3932160)===0&&(pn=262144),Hl=t}else Hl=536870912;return t=rl.current,t!==null&&(t.flags|=32),Hl}function nu(t,l){if(l!=null){var e=t.stateNode,a=e.ref;a===null&&(a=e.ref=O0(ve(t.memoizedProps,e))),au===null&&(au=[]),au.push(l.bind(null,a))}}function _l(t,l,e){(t===Ht&&(At===2||At===9)||t.cancelPendingCommit!==null)&&(iu(t,0),Fe(t,yt,Hl,!1)),pu(t,e),((Et&2)===0||t!==Ht)&&(t===Ht&&((Et&2)===0&&(Ea|=e),$t===4&&Fe(t,yt,Hl,!1)),oe(t))}function kd(t,l,e){if((Et&6)!==0)throw Error(d(327));var a=!e&&(l&127)===0&&(l&t.expiredLanes)===0||xu(t,l),u=a?fy(t,l):Lf(t,l,!0),n=a;do{if(u===0){tu&&!a&&Fe(t,l,0,!1);break}else{if(e=t.current.alternate,n&&!iy(e)){u=Lf(t,l,!1),n=!1;continue}if(u===2){if(n=l,t.errorRecoveryDisabledLanes&n)var i=0;else i=t.pendingLanes&-536870913,i=i!==0?i:i&536870912?536870912:0;if(i!==0){l=i;t:{var c=t;u=Iu;var s=c.current.memoizedState.isDehydrated;if(s&&(iu(c,i).flags|=256),i=Lf(c,i,!1),i!==2&&i!==6){if(Gf&&!s){c.errorRecoveryDisabledLanes|=n,Ea|=n,u=4;break t}n=zl,zl=u,n!==null&&(zl===null?zl=n:zl.push.apply(zl,n))}u=i}if(n=!1,u!==2)continue}}if(u===1){iu(t,0),Fe(t,l,0,!0);break}t:{switch(a=t,n=u,n){case 0:case 1:throw Error(d(345));case 4:if((l&4194048)!==l&&(l&62914560)!==l)break;case 6:Fe(a,l,Hl,!Je);break t;case 2:zl=null;break;case 3:case 5:break;default:throw Error(d(329))}if((l&62914560)===l&&(u=Ni+300-Ol(),10<u)){if(Fe(a,l,Hl,!Je),Tn(a,0,!0)!==0)break t;re=l,a.timeoutHandle=rs($d.bind(null,a,e,zl,zi,Qf,l,Hl,Ea,lu,Je,n,"Throttled",-0,0),u);break t}$d(a,e,zl,zi,Qf,l,Hl,Ea,lu,Je,n,null,-0,0)}}break}while(!0);oe(t)}function $d(t,l,e,a,u,n,i,c,s,v,S,O,y,b){t.timeoutHandle=-1;var D=l.subtreeFlags,L=(n&335544064)===n;if(O=null,(L||D&8192||(D&16785408)===16785408)&&(O={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:le},Ul=null,Qd(l,n,O),L&&(D=O,L=t.containerInfo,L=(L.nodeType===9?L:L.ownerDocument).__reactViewTransition,L!=null&&(D.count++,D.waitingForViewTransition=!0,D=fn.bind(D),L.finished.then(D,D))),D=(n&62914560)===n?Ni-Ol():(n&4194048)===n?Ld-Ol():0,D=rh(O,D),D!==null)){re=n,t.cancelPendingCommit=D(a0.bind(null,t,l,n,e,a,u,i,c,s,v,S,O,null,y,b)),Fe(t,n,i,!v);return}a0(t,l,n,e,a,u,i,c,s,v,S,O)}function iy(t){for(var l=t;;){var e=l.tag;if((e===0||e===11||e===15)&&l.flags&16384&&(e=l.updateQueue,e!==null&&(e=e.stores,e!==null)))for(var a=0;a<e.length;a++){var u=e[a],n=u.getSnapshot;u=u.value;try{if(!Cl(n(),u))return!1}catch{return!1}}if(e=l.child,l.subtreeFlags&16384&&e!==null)e.return=l,l=e;else{if(l===t)break;for(;l.sibling===null;){if(l.return===null||l.return===t)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function Fe(t,l,e,a){l=Vs(t,l),l&=~Ti,l&=~Ea,t.suspendedLanes|=l,t.pingedLanes&=~l,a&&(t.warmLanes|=l),a=t.expirationTimes;for(var u=l;0<u;){var n=31-jl(u),i=1<<n;a[n]=-1,u&=~i}e!==0&&Ls(t,e,l)}function Oi(){return(Et&6)===0?(tn(0),!1):!0}function Zf(){if(dt!==null){if(At===0)var t=dt.return;else t=dt,pe=da=null,Wc(t),Ka=null,Bu=0,t=dt;for(;t!==null;)bd(t.alternate,t),t=t.return;dt=null}}function iu(t,l){var e=t.timeoutHandle;return e!==-1&&(t.timeoutHandle=-1,My(e)),e=t.cancelPendingCommit,e!==null&&(t.cancelPendingCommit=null,e()),re=0,Zf(),Ht=t,dt=e=be(t.current,null),yt=l,At=0,Rl=null,Je=!1,tu=xu(t,l),Gf=!1,lu=Hl=Ti=Ea=ke=$t=0,zl=Iu=null,Qf=!1,_e=Vs(t,l),Hn(),e}function Fd(t,l){ct=null,p.H=ii,l===La||l===Kn?(l=eo(),At=3):l===Yc?(l=eo(),At=4):At=l===mf?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,Rl=l,dt===null&&($t=1,ci(t,Gl(l,t.current)))}function Wd(){var t=rl.current;return t===null?!0:(yt&4194048)===yt?hl===null:(yt&62914560)===yt||(yt&536870912)!==0?t===hl:!1}function Id(){var t=p.H;return p.H=ii,t===null?ii:t}function Pd(){var t=p.A;return p.A=uy,t}function Ai(){$t=4,Je||(yt&4194048)!==yt&&rl.current!==null||(tu=!0),(ke&134217727)===0&&(Ea&134217727)===0||Ht===null||Fe(Ht,yt,Hl,!1)}function Lf(t,l,e){var a=Et;Et|=2;var u=Id(),n=Pd();(Ht!==t||yt!==l)&&(zi=null,iu(t,l)),l=!1;var i=$t;t:do try{if(At!==0&&dt!==null){var c=dt,s=Rl;switch(At){case 8:Zf(),i=6;break t;case 3:case 2:case 9:case 6:rl.current===null&&(l=!0);var v=At;if(At=0,Rl=null,cu(t,c,s,v),e&&tu){i=0;break t}break;default:v=At,At=0,Rl=null,cu(t,c,s,v)}}cy(),i=$t;break}catch(S){Fd(t,S)}while(!0);return l&&t.shellSuspendCounter++,pe=da=null,Et=a,p.H=u,p.A=n,dt===null&&(Ht=null,yt=0,Hn()),i}function cy(){for(;dt!==null;)t0(dt)}function fy(t,l){var e=Et;Et|=2;var a=Id(),u=Pd();Ht!==t||yt!==l?(zi=null,Ei=Ol()+500,iu(t,l)):tu=xu(t,l);t:do try{if(At!==0&&dt!==null){l=dt;var n=Rl;l:switch(At){case 1:At=0,Rl=null,cu(t,l,n,1);break;case 2:case 9:if(to(n)){At=0,Rl=null,l0(l);break}l=function(){At!==2&&At!==9||Ht!==t||(At=7),oe(t)},n.then(l,l);break t;case 3:At=7;break t;case 4:At=5;break t;case 7:to(n)?(At=0,Rl=null,l0(l)):(At=0,Rl=null,cu(t,l,n,7));break;case 5:var i=null;switch(dt.tag){case 26:i=dt.memoizedState;case 5:case 27:var c=dt;if(i?K0(i):c.stateNode.complete){At=0,Rl=null;var s=c.sibling;if(s!==null)dt=s;else{var v=c.return;v!==null?(dt=v,ji(v)):dt=null}break l}}At=0,Rl=null,cu(t,l,n,5);break;case 6:At=0,Rl=null,cu(t,l,n,6);break;case 8:Zf(),$t=6;break t;default:throw Error(d(462))}}sy();break}catch(S){Fd(t,S)}while(!0);return pe=da=null,p.H=a,p.A=u,Et=e,dt!==null?0:(Ht=null,yt=0,Hn(),$t)}function sy(){for(;dt!==null&&!_m();)t0(dt)}function t0(t){var l=vd(t.alternate,t,_e);t.memoizedProps=t.pendingProps,l===null?ji(t):dt=l}function l0(t){var l=t,e=l.alternate;switch(l.tag){case 15:case 0:l=sd(e,l,l.pendingProps,l.type,void 0,yt);break;case 11:l=sd(e,l,l.pendingProps,l.type.render,l.ref,yt);break;case 5:Wc(l);var a=l;a===nl&&(rt?(Qn(a),a.tag===5&&a.stateNode!=null&&(wt=a.stateNode)):(Qn(a),rt=!0));default:bd(e,l),l=dt=Vr(l,_e),l=vd(e,l,_e)}t.memoizedProps=t.pendingProps,l===null?ji(t):dt=l}function cu(t,l,e,a){pe=da=null,Wc(l),Ka=null,Bu=0;var u=l.return;try{if(F1(t,u,l,e,yt)){$t=1,ci(t,Gl(e,t.current)),dt=null;return}}catch(n){if(u!==null)throw dt=u,n;$t=1,ci(t,Gl(e,t.current)),dt=null;return}l.flags&32768?(rt||a===1?t=!0:tu||(yt&536870912)!==0?t=!1:(Je=t=!0,(a===2||a===9||a===3||a===6)&&(a=rl.current,a!==null&&a.tag===13&&(a.flags|=16384))),e0(l,t)):ji(l)}function ji(t){var l=t;do{if((l.flags&32768)!==0){e0(l,Je);return}t=l.return;var e=ty(l.alternate,l,_e);if(e!==null){dt=e;return}if(l=l.sibling,l!==null){dt=l;return}dt=l=t}while(l!==null);$t===0&&($t=5)}function e0(t,l){do{var e=ly(t.alternate,t);if(e!==null){e.flags&=32767,dt=e;return}if(e=t.return,e!==null&&(e.flags|=32768,e.subtreeFlags=0,e.deletions=null),!l&&(t=t.sibling,t!==null)){dt=t;return}dt=t=e}while(t!==null);$t=6,dt=null}function a0(t,l,e,a,u,n,i,c,s,v,S,O){t.cancelPendingCommit=null;do Mi();while(Lt!==0);if((Et&6)!==0)throw Error(d(327));if(l!==null){if(l===t.current)throw Error(d(177));t===Ht&&(dt=Ht=null,yt=0),za=l,Wl=t,re=e,Vf=u,Kd=a,ry(t,l,e,i,c,s,O)}}function ry(t,l,e,a,u,n,i){var c=l.lanes|l.childLanes;if(Xf=c,c|=zc,qm(t,e,c,a,u,n),au=null,(e&335544064)===e?(uu=Y1(t),a=10262):(uu=null,a=10256),(l.subtreeFlags&a)!==0||(l.flags&a)!==0?(t.callbackNode=null,t.callbackPriority=0,vy(bn,function(){return $f(),null})):(t.callbackNode=null,t.callbackPriority=0),hi=!1,a=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||a){a=p.T,p.T=null,u=A.p,A.p=2,n=Et,Et|=4;try{ey(t,l,e)}finally{Et=n,A.p=u,p.T=a}}Lt=1,hi?eu=qy(i,t.containerInfo,uu,Kf,Jf,dy,kf,$f,oy):(Kf(),Jf(),kf())}function oy(t){if(Lt!==0){var l=Wl.onRecoverableError;l(t,{componentStack:null})}}function dy(){Lt===3&&(Lt=0,wd(za,Wl),Lt=4)}function Kf(){if(Lt===1){Lt=0;var t=Wl,l=za,e=re,a=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||a){a=p.T,p.T=null;var u=A.p;A.p=2;var n=Et;Et|=4;try{$u=bi=!1,Bd(l,t,e),e=cs;var i=Ur(t.containerInfo),c=e.focusedElem,s=e.selectionRange;if(i!==c&&c&&c.ownerDocument&&Dr(c.ownerDocument.documentElement,c)){if(s!==null&&pc(c)){var v=s.start,S=s.end;if(S===void 0&&(S=v),"selectionStart"in c)c.selectionStart=v,c.selectionEnd=Math.min(S,c.value.length);else{var O=c.ownerDocument||document,y=O&&O.defaultView||window;if(y.getSelection){var b=y.getSelection(),D=c.textContent.length,L=Math.min(s.start,D),ft=s.end===void 0?L:Math.min(s.end,D);!b.extend&&L>ft&&(i=ft,ft=L,L=i);var h=Cr(c,L),m=Cr(c,ft);if(h&&m&&(b.rangeCount!==1||b.anchorNode!==h.node||b.anchorOffset!==h.offset||b.focusNode!==m.node||b.focusOffset!==m.offset)){var g=O.createRange();g.setStart(h.node,h.offset),b.removeAllRanges(),L>ft?(b.addRange(g),b.extend(m.node,m.offset)):(g.setEnd(m.node,m.offset),b.addRange(g))}}}}for(O=[],b=c;b=b.parentNode;)b.nodeType===1&&O.push({element:b,left:b.scrollLeft,top:b.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c<O.length;c++){var _=O[c];_.element.scrollLeft=_.left,_.element.scrollTop=_.top}}hu=!!is,cs=is=null}finally{Et=n,A.p=u,p.T=a}}t.current=l,Lt=2}}function Jf(){if(Lt===2){Lt=0;var t=Wl,l=za,e=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||e){e=p.T,p.T=null;var a=A.p;A.p=2;var u=Et;Et|=4;try{Cd(t,l.alternate,l)}finally{Et=u,A.p=a,p.T=e}}Lt=3}}function kf(){if(Lt===4||Lt===3){Lt=0;var t=eu;eu=null,Om();var l=Wl,e=za,a=re,u=Kd,n=(a&335544064)===a?10262:10256;if((e.subtreeFlags&n)!==0||(e.flags&n)!==0?Lt=5:(Lt=0,za=Wl=null,u0(l,l.pendingLanes)),n=l.pendingLanes,n===0&&($e=null),ec(a),e=e.stateNode,Al&&typeof Al.onCommitFiberRoot=="function")try{Al.onCommitFiberRoot(bu,e,void 0,(e.current.flags&128)===128)}catch{}if(u!==null){e=p.T,n=A.p,A.p=2,p.T=null;try{for(var i=l.onRecoverableError,c=0;c<u.length;c++){var s=u[c];i(s.value,{componentStack:s.stack})}}finally{p.T=e,A.p=n}}if(u=au,i=uu,uu=null,u!==null&&(au=null,i===null&&(i=[]),t!==null))for(s=0;s<u.length;s++)e=(0,u[s])(i),e!==void 0&&t.finished.finally(e);(re&3)!==0&&Mi(),oe(l),n=l.pendingLanes,(a&261930)!==0&&(n&42)!==0?l===_i?Pu++:(Pu=0,_i=l):(Pu=0,_i=null),tn(0)}}function u0(t,l){(t.pooledCacheLanes&=l)===0&&(l=t.pooledCache,l!=null&&(t.pooledCache=null,Ru(l)))}function Mi(){return eu!==null&&(eu.skipTransition(),eu=null),Kf(),Jf(),kf(),$f()}function $f(){if(Lt!==5)return!1;var t=Wl,l=Xf;Xf=0;var e=ec(re),a=p.T,u=A.p;try{A.p=32>e?32:e,p.T=null,e=Vf,Vf=null;var n=Wl,i=re;if(Lt=0,za=Wl=null,re=0,(Et&6)!==0)throw Error(d(331));var c=Et;if(Et|=4,Vd(n.current),Gd(n,n.current,i,e),Et=c,tn(0,!1),Al&&typeof Al.onPostCommitFiberRoot=="function")try{Al.onPostCommitFiberRoot(bu,n)}catch{}return!0}finally{A.p=u,p.T=a,u0(t,l)}}function n0(t,l,e){l=Gl(e,l),l=df(t.stateNode,l,2),t=Qe(t,l,2),t!==null&&(pu(t,2),oe(t))}function jt(t,l,e){if(t.tag===3)n0(t,t,e);else for(;l!==null;){if(l.tag===3){n0(l,t,e);break}else if(l.tag===1){var a=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&($e===null||!$e.has(a))){t=Gl(e,t),e=ld(2),a=Qe(l,e,2),a!==null&&(ed(e,a,l,t),pu(a,2),oe(a));break}}l=l.return}}function Ff(t,l,e){var a=t.pingCache;if(a===null){a=t.pingCache=new ny;var u=new Set;a.set(l,u)}else u=a.get(l),u===void 0&&(u=new Set,a.set(l,u));u.has(e)||(Gf=!0,u.add(e),t=my.bind(null,t,l,e),l.then(t,t))}function my(t,l,e){var a=t.pingCache;a!==null&&a.delete(l),t.pingedLanes|=t.suspendedLanes&e,t.warmLanes&=~e,Ht===t&&(yt&e)===e&&(($t===4||$t===3&&(yt&62914560)===yt&&300>Ol()-Ni)&&(Et&2)===0?iu(t,0):Ti|=e,lu===yt&&(lu=0)),oe(t)}function i0(t,l){l===0&&(l=Zs()),t=sa(t,l),t!==null&&(pu(t,l),oe(t))}function yy(t){var l=t.memoizedState,e=0;l!==null&&(e=l.retryLane),i0(t,e)}function hy(t,l){var e=0;switch(t.tag){case 31:case 13:var a=t.stateNode,u=t.memoizedState;u!==null&&(e=u.retryLane);break;case 19:a=t.stateNode;break;case 22:a=t.stateNode._retryCache;break;default:throw Error(d(314))}a!==null&&a.delete(l),i0(t,e)}function vy(t,l){return Ii(t,l)}var fu=null,su=null,Wf=!1,Ci=!1,If=!1,We=0;function oe(t){t!==su&&t.next===null&&(su===null?fu=su=t:su=su.next=t),Ci=!0,Wf||(Wf=!0,by())}function tn(t,l){if(!If&&Ci){If=!0;do for(var e=!1,a=fu;a!==null;){if(t!==0){var u=a.pendingLanes;if(u===0)var n=0;else{var i=a.suspendedLanes,c=a.pingedLanes;n=(1<<31-jl(42|t)+1)-1,n&=u&~(i&~c),n=n&201326741?n&201326741|1:n?n|2:0}n!==0&&(e=!0,r0(a,n))}else n=yt,n=Tn(a,a===Ht?n:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(n&3)===0||xu(a,n)||(e=!0,r0(a,n));a=a.next}while(e);If=!1}}function gy(){c0()}function c0(){Ci=Wf=!1;var t=0;We!==0&&jy()&&(t=We);for(var l=Ol(),e=null,a=fu;a!==null;){var u=a.next,n=f0(a,l);n===0?(a.next=null,e===null?fu=u:e.next=u,u===null&&(su=e)):(e=a,(t!==0||(n&3)!==0)&&(Ci=!0)),a=u}Lt!==0&&Lt!==5||tn(t),We!==0&&(We=0)}function f0(t,l){for(var e=t.suspendedLanes,a=t.pingedLanes,u=t.expirationTimes,n=t.pendingLanes&-62914561;0<n;){var i=31-jl(n),c=1<<i,s=u[i];s===-1?((c&e)===0||(c&a)!==0)&&(u[i]=Hm(c,l)):s<=l&&(t.expiredLanes|=c),n&=~c}if(l=Ht,e=yt,e=Tn(t,t===l?e:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a=t.callbackNode,e===0||t===l&&(At===2||At===9)||t.cancelPendingCommit!==null)return a!==null&&a!==null&&Pi(a),t.callbackNode=null,t.callbackPriority=0;if((e&3)===0||xu(t,e)){if(l=e&-e,l===t.callbackPriority)return l;switch(a!==null&&Pi(a),ec(e)){case 2:case 8:e=Qs;break;case 32:e=bn;break;case 268435456:e=Xs;break;default:e=bn}return a=s0.bind(null,t),e=Ii(e,a),t.callbackPriority=l,t.callbackNode=e,l}return a!==null&&a!==null&&Pi(a),t.callbackPriority=2,t.callbackNode=null,2}function s0(t,l){if(Lt!==0&&Lt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var e=t.callbackNode;if(Mi()&&t.callbackNode!==e)return null;var a=yt;return a=Tn(t,t===Ht?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a===0?null:(kd(t,a,l),f0(t,Ol()),t.callbackNode!=null&&t.callbackNode===e?s0.bind(null,t):null)}function r0(t,l){if(Mi())return null;kd(t,l,!0)}function by(){Cy(function(){(Et&6)!==0?Ii(Gs,gy):c0()})}function Pf(){if(We===0){var t=ha;t===0&&(t=xn,xn<<=1,(xn&261888)===0&&(xn=256)),We=t}return We}function o0(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:On(t)}function xy(t,l,e,a,u){if(l==="submit"&&e&&e.stateNode===u){var n=o0((u[Sl]||null).action),i=a.submitter;i&&(l=(l=i[Sl]||null)?o0(l.formAction):i.getAttribute("formAction"),l!==null&&(n=l,i=null));var c=new Cn("action","action",null,a,u);t.push({event:c,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(We!==0){var s=new FormData(u,i);cf(e,{pending:!0,data:s,method:u.method,action:n},null,s)}}else typeof n=="function"&&(c.preventDefault(),s=new FormData(u,i),cf(e,{pending:!0,data:s,method:u.method,action:n},n,s))},currentTarget:u}]})}}for(var ts=0;ts<Ec.length;ts++){var ls=Ec[ts],py=ls.toLowerCase(),Sy=ls[0].toUpperCase()+ls.slice(1);Jl(py,"on"+Sy)}Jl(qr,"onAnimationEnd"),Jl(Br,"onAnimationIteration"),Jl(Yr,"onAnimationStart"),Jl("dblclick","onDoubleClick"),Jl("focusin","onFocus"),Jl("focusout","onBlur"),Jl(M1,"onTransitionRun"),Jl(C1,"onTransitionStart"),Jl(D1,"onTransitionCancel"),Jl(wr,"onTransitionEnd"),Ca("onMouseEnter",["mouseout","mouseover"]),Ca("onMouseLeave",["mouseout","mouseover"]),Ca("onPointerEnter",["pointerout","pointerover"]),Ca("onPointerLeave",["pointerout","pointerover"]),ia("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ia("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ia("onBeforeInput",["compositionend","keypress","textInput","paste"]),ia("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ia("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ia("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ln="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(" "),Ty=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ln));function d0(t,l){l=(l&4)!==0;for(var e=0;e<t.length;e++){var a=t[e],u=a.event;a=a.listeners;t:{var n=void 0;if(l)for(var i=a.length-1;0<=i;i--){var c=a[i],s=c.instance,v=c.currentTarget;if(c=c.listener,s!==n&&u.isPropagationStopped())break t;n=c,u.currentTarget=v;try{n(u)}catch(S){Rn(S)}u.currentTarget=null,n=s}else for(i=0;i<a.length;i++){if(c=a[i],s=c.instance,v=c.currentTarget,c=c.listener,s!==n&&u.isPropagationStopped())break t;n=c,u.currentTarget=v;try{n(u)}catch(S){Rn(S)}u.currentTarget=null,n=s}}}}function mt(t,l){var e=l[Fs];e===void 0&&(e=l[Fs]=new Set);var a=t+"__bubble";e.has(a)||(m0(l,t,2,!1),e.add(a))}function es(t,l,e){var a=0;l&&(a|=4),m0(e,t,a,l)}var Di="_reactListening"+Math.random().toString(36).slice(2);function as(t){if(!t[Di]){t[Di]=!0,Ps.forEach(function(e){e!=="selectionchange"&&(Ty.has(e)||es(e,!1,t),es(e,!0,t))});var l=t.nodeType===9?t:t.ownerDocument;l===null||l[Di]||(l[Di]=!0,es("selectionchange",!1,l))}}function m0(t,l,e,a){switch(em(l)){case 2:var u=yh;break;case 8:u=hh;break;default:u=Ns}e=u.bind(null,l,e,t),u=void 0,!rc||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(u=!0),a?u!==void 0?t.addEventListener(l,e,{capture:!0,passive:u}):t.addEventListener(l,e,!0):u!==void 0?t.addEventListener(l,e,{passive:u}):t.addEventListener(l,e,!1)}function us(t,l,e,a,u){var n=a;if((l&1)===0&&(l&2)===0&&a!==null)t:for(;;){if(a===null)return;var i=a.tag;if(i===3||i===4){var c=a.stateNode.containerInfo;if(c===u)break;if(i===4)for(i=a.return;i!==null;){var s=i.tag;if((s===3||s===4)&&i.stateNode.containerInfo===u)return;i=i.return}for(;c!==null;){if(i=na(c),i===null)return;if(s=i.tag,s===5||s===6||s===26||s===27){a=n=i;continue t}c=c.parentNode}}a=a.return}dr(function(){var v=n,S=fc(e),O=[];t:{var y=Gr.get(t);if(y!==void 0){var b=Cn,D=t;switch(t){case"keypress":if(jn(e)===0)break t;case"keydown":case"keyup":b=i1;break;case"focusin":D="focus",b=yc;break;case"focusout":D="blur",b=yc;break;case"beforeblur":case"afterblur":b=yc;break;case"click":if(e.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":b=hr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":b=km;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":b=o1;break;case qr:case Br:case Yr:b=Wm;break;case wr:b=m1;break;case"scroll":case"scrollend":b=Km;break;case"wheel":b=h1;break;case"copy":case"cut":case"paste":b=Pm;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":b=gr;break;case"submit":b=s1;break;case"toggle":case"beforetoggle":b=g1}var L=(l&4)!==0,ft=!L&&(t==="scroll"||t==="scrollend"),h=L?y!==null?y+"Capture":null:y;L=[];for(var m=v,g;m!==null;){var _=m;if(g=_.stateNode,_=_.tag,_!==5&&_!==26&&_!==27||g===null||h===null||(_=Nu(m,h),_!=null&&L.push(en(m,_,g))),ft)break;m=m.return}0<L.length&&(y=new b(y,D,null,e,S),O.push({event:y,listeners:L}))}}if((l&7)===0){t:{if(b=t==="mouseover"||t==="pointerover",y=t==="mouseout"||t==="pointerout",b&&e!==cc&&(D=e.relatedTarget||e.fromElement)&&(na(D)||D[Aa]))break t;(y||b)&&(D=S.window===S?S:(b=S.ownerDocument)?b.defaultView||b.parentWindow:window,y?(b=e.relatedTarget||e.toElement,y=v,b=b?na(b):null,b!==null&&(ft=B(b),L=b.tag,b!==ft||L!==5&&L!==27&&L!==6)&&(b=null)):(y=null,b=v),y!==b&&(L=hr,_="onMouseLeave",h="onMouseEnter",m="mouse",(t==="pointerout"||t==="pointerover")&&(L=gr,_="onPointerLeave",h="onPointerEnter",m="pointer"),ft=y==null?D:Tu(y),g=b==null?D:Tu(b),D=new L(_,m+"leave",y,e,S),D.target=ft,D.relatedTarget=g,_=null,na(S)===v&&(L=new L(h,m+"enter",b,e,S),L.target=g,L.relatedTarget=ft,_=L),ft=_,L=y&&b?J(y,b,Ny):null,y!==null&&y0(O,D,y,L,!1),b!==null&&ft!==null&&y0(O,ft,b,L,!0)))}t:{if(y=v?Tu(v):window,b=y.nodeName&&y.nodeName.toLowerCase(),b==="select"||b==="input"&&y.type==="file")var Q=zr;else if(Nr(y))if(_r)Q=O1;else{Q=z1;var ht=E1}else b=y.nodeName,!b||b.toLowerCase()!=="input"||y.type!=="checkbox"&&y.type!=="radio"?v&&ic(v.elementType)&&(Q=zr):Q=_1;if(Q&&(Q=Q(t,v))){Er(O,Q,e,S);break t}ht&&ht(t,y,v)}switch(ht=v?Tu(v):window,t){case"focusin":(Nr(ht)||ht.contentEditable==="true")&&(Ba=ht,Sc=v,Cu=null);break;case"focusout":Cu=Sc=Ba=null;break;case"mousedown":Tc=!0;break;case"contextmenu":case"mouseup":case"dragend":Tc=!1,Rr(O,e,S);break;case"selectionchange":if(j1)break;case"keydown":case"keyup":Rr(O,e,S)}var W;if(vc)t:{switch(t){case"compositionstart":var et="onCompositionStart";break t;case"compositionend":et="onCompositionEnd";break t;case"compositionupdate":et="onCompositionUpdate";break t}et=void 0}else qa?Sr(t,e)&&(et="onCompositionEnd"):t==="keydown"&&e.keyCode===229&&(et="onCompositionStart");et&&(br&&e.locale!=="ko"&&(qa||et!=="onCompositionStart"?et==="onCompositionEnd"&&qa&&(W=mr()):(De=S,oc="value"in De?De.value:De.textContent,qa=!0)),ht=Ui(v,et),0<ht.length&&(et=new vr(et,t,null,e,S),O.push({event:et,listeners:ht}),W?et.data=W:(W=Tr(e),W!==null&&(et.data=W)))),(W=x1?p1(t,e):S1(t,e))&&(et=Ui(v,"onBeforeInput"),0<et.length&&(ht=new vr("onBeforeInput","beforeinput",null,e,S),O.push({event:ht,listeners:et}),ht.data=W)),xy(O,t,v,e,S)}d0(O,l)})}function en(t,l,e){return{instance:t,listener:l,currentTarget:e}}function Ui(t,l){for(var e=l+"Capture",a=[];t!==null;){var u=t,n=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||n===null||(u=Nu(t,e),u!=null&&a.unshift(en(t,u,n)),u=Nu(t,l),u!=null&&a.push(en(t,u,n))),t.tag===3)return a;t=t.return}return[]}function Ny(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function y0(t,l,e,a,u){for(var n=l._reactName,i=[];e!==null&&e!==a;){var c=e,s=c.alternate,v=c.stateNode;if(c=c.tag,s!==null&&s===a)break;c!==5&&c!==26&&c!==27||v===null||(s=v,u?(v=Nu(e,n),v!=null&&i.unshift(en(e,v,s))):u||(v=Nu(e,n),v!=null&&i.push(en(e,v,s)))),e=e.return}i.length!==0&&t.push({event:l,listeners:i})}var Ey=/\r\n?/g,zy=/\u0000|\uFFFD/g;function h0(t){return(typeof t=="string"?t:""+t).replace(Ey,`
|
||
`).replace(zy,"")}function v0(t,l){return l=h0(l),h0(t)===l}function Mt(t,l,e,a,u,n){switch(e){case"children":if(typeof a=="string")l==="body"||l==="textarea"&&a===""||Ua(t,a);else if(typeof a=="number"||typeof a=="bigint")l!=="body"&&Ua(t,""+a);else return;break;case"className":_n(t,"class",a);break;case"tabIndex":_n(t,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":_n(t,e,a);break;case"style":rr(t,a,n);return;case"data":if(l!=="object"){_n(t,"data",a);break}case"src":case"href":if(a===""&&(l!=="a"||e!=="href")){t.removeAttribute(e);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(e);break}a=On(a),t.setAttribute(e,a);break;case"action":case"formAction":if(typeof a=="function"){t.setAttribute(e,"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 n=="function"&&(e==="formAction"?(l!=="input"&&Mt(t,l,"name",u.name,u,null),Mt(t,l,"formEncType",u.formEncType,u,null),Mt(t,l,"formMethod",u.formMethod,u,null),Mt(t,l,"formTarget",u.formTarget,u,null)):(Mt(t,l,"encType",u.encType,u,null),Mt(t,l,"method",u.method,u,null),Mt(t,l,"target",u.target,u,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(e);break}a=On(a),t.setAttribute(e,a);break;case"onClick":a!=null&&(t.onclick=le);return;case"onScroll":a!=null&&mt("scroll",t);return;case"onScrollEnd":a!=null&&mt("scrollend",t);return;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(d(61));if(e=a.__html,e!=null){if(u.children!=null)throw Error(d(60));(n!=null?n.__html:void 0)!==e&&(t.innerHTML=e)}}break;case"multiple":t.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":t.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){t.removeAttribute("xlink:href");break}e=On(a),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",e);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(e,a):t.removeAttribute(e);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"?t.setAttribute(e,""):t.removeAttribute(e);break;case"capture":case"download":a===!0?t.setAttribute(e,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(e,a):t.removeAttribute(e);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?t.setAttribute(e,a):t.removeAttribute(e);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?t.removeAttribute(e):t.setAttribute(e,a);break;case"popover":mt("beforetoggle",t),mt("toggle",t),zn(t,"popover",a);break;case"xlinkActuate":ye(t,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":ye(t,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":ye(t,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":ye(t,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":ye(t,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":ye(t,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":ye(t,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":ye(t,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":ye(t,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":zn(t,"is",a);break;case"innerText":case"textContent":return;default:if(!(2<e.length)||e[0]!=="o"&&e[0]!=="O"||e[1]!=="n"&&e[1]!=="N")e=Zm.get(e)||e,zn(t,e,a);else return}xt=!0}function ns(t,l,e,a,u,n){switch(e){case"style":rr(t,a,n);return;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(d(61));if(e=a.__html,e!=null){if(u.children!=null)throw Error(d(60));(n!=null?n.__html:void 0)!==e&&(t.innerHTML=e)}}break;case"children":if(typeof a=="string")Ua(t,a);else if(typeof a=="number"||typeof a=="bigint")Ua(t,""+a);else return;break;case"onScroll":a!=null&&mt("scroll",t);return;case"onScrollEnd":a!=null&&mt("scrollend",t);return;case"onClick":a!=null&&(t.onclick=le);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":return;case"innerText":case"textContent":return;default:if(!tr.hasOwnProperty(e))t:{if(e[0]==="o"&&e[1]==="n"&&(u=e.endsWith("Capture"),n=e.slice(2,u?e.length-7:void 0),l=t[Sl]||null,l=l!=null?l[e]:null,typeof l=="function"&&t.removeEventListener(n,l,u),typeof a=="function")){typeof l!="function"&&l!==null&&(e in t?t[e]=null:t.hasAttribute(e)&&t.removeAttribute(e)),t.addEventListener(n,a,u);break t}xt=!0,e in t?t[e]=a:a===!0?t.setAttribute(e,""):zn(t,e,a)}return}xt=!0}function ml(t,l,e){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":mt("error",t),mt("load",t);var a=!1,u=!1,n;for(n in e)if(e.hasOwnProperty(n)){var i=e[n];if(i!=null)switch(n){case"src":a=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(d(137,l));default:Mt(t,l,n,i,e,null)}}u&&Mt(t,l,"srcSet",e.srcSet,e,null),a&&Mt(t,l,"src",e.src,e,null);return;case"input":mt("invalid",t);var c=n=i=u=null,s=null,v=null;for(a in e)if(e.hasOwnProperty(a)){var S=e[a];if(S!=null)switch(a){case"name":u=S;break;case"type":i=S;break;case"checked":s=S;break;case"defaultChecked":v=S;break;case"value":n=S;break;case"defaultValue":c=S;break;case"children":case"dangerouslySetInnerHTML":if(S!=null)throw Error(d(137,l));break;default:Mt(t,l,a,S,e,null)}}ir(t,n,c,s,v,i,u,!1);return;case"select":mt("invalid",t),a=i=n=null;for(u in e)if(e.hasOwnProperty(u)&&(c=e[u],c!=null))switch(u){case"value":n=c;break;case"defaultValue":i=c;break;case"multiple":a=c;default:Mt(t,l,u,c,e,null)}l=n,e=i,t.multiple=!!a,l!=null?Da(t,!!a,l,!1):e!=null&&Da(t,!!a,e,!0);return;case"textarea":mt("invalid",t),n=u=a=null;for(i in e)if(e.hasOwnProperty(i)&&(c=e[i],c!=null))switch(i){case"value":a=c;break;case"defaultValue":u=c;break;case"children":n=c;break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(d(91));break;default:Mt(t,l,i,c,e,null)}fr(t,a,u,n);return;case"option":for(s in e)if(e.hasOwnProperty(s)&&(a=e[s],a!=null))switch(s){case"selected":t.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:Mt(t,l,s,a,e,null)}return;case"dialog":mt("beforetoggle",t),mt("toggle",t),mt("cancel",t),mt("close",t);break;case"iframe":case"object":mt("load",t);break;case"video":case"audio":for(a=0;a<ln.length;a++)mt(ln[a],t);break;case"image":mt("error",t),mt("load",t);break;case"details":mt("toggle",t);break;case"embed":case"source":case"link":mt("error",t),mt("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(v in e)if(e.hasOwnProperty(v)&&(a=e[v],a!=null))switch(v){case"children":case"dangerouslySetInnerHTML":throw Error(d(137,l));default:Mt(t,l,v,a,e,null)}return;default:if(ic(l)){for(S in e)e.hasOwnProperty(S)&&(a=e[S],a!==void 0&&ns(t,l,S,a,e,void 0));return}}for(c in e)e.hasOwnProperty(c)&&(a=e[c],a!=null&&Mt(t,l,c,a,e,null))}var _y={};function Oy(t,l,e,a){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,n=null,i=null,c=null,s=null,v=null,S=null;for(b in e){var O=e[b];if(e.hasOwnProperty(b)&&O!=null)switch(b){case"checked":break;case"value":break;case"defaultValue":s=O;default:a.hasOwnProperty(b)||Mt(t,l,b,null,a,O)}}for(var y in a){var b=a[y];if(O=e[y],a.hasOwnProperty(y)&&(b!=null||O!=null))switch(y){case"type":b!==O&&(xt=!0),n=b;break;case"name":b!==O&&(xt=!0),u=b;break;case"checked":b!==O&&(xt=!0),v=b;break;case"defaultChecked":b!==O&&(xt=!0),S=b;break;case"value":b!==O&&(xt=!0),i=b;break;case"defaultValue":b!==O&&(xt=!0),c=b;break;case"children":case"dangerouslySetInnerHTML":if(b!=null)throw Error(d(137,l));break;default:b!==O&&Mt(t,l,y,b,a,O)}}uc(t,i,c,s,v,S,n,u);return;case"select":b=i=c=y=null;for(n in e)if(s=e[n],e.hasOwnProperty(n)&&s!=null)switch(n){case"value":break;case"multiple":b=s;default:a.hasOwnProperty(n)||Mt(t,l,n,null,a,s)}for(u in a)if(n=a[u],s=e[u],a.hasOwnProperty(u)&&(n!=null||s!=null))switch(u){case"value":n!==s&&(xt=!0),y=n;break;case"defaultValue":n!==s&&(xt=!0),c=n;break;case"multiple":n!==s&&(xt=!0),i=n;default:n!==s&&Mt(t,l,u,n,a,s)}l=c,e=i,a=b,y!=null?Da(t,!!e,y,!1):!!a!=!!e&&(l!=null?Da(t,!!e,l,!0):Da(t,!!e,e?[]:"",!1));return;case"textarea":b=y=null;for(c in e)if(u=e[c],e.hasOwnProperty(c)&&u!=null&&!a.hasOwnProperty(c))switch(c){case"value":break;case"children":break;default:Mt(t,l,c,null,a,u)}for(i in a)if(u=a[i],n=e[i],a.hasOwnProperty(i)&&(u!=null||n!=null))switch(i){case"value":u!==n&&(xt=!0),y=u;break;case"defaultValue":u!==n&&(xt=!0),b=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(d(91));break;default:u!==n&&Mt(t,l,i,u,a,n)}cr(t,y,b);return;case"option":for(var D in e)if(y=e[D],e.hasOwnProperty(D)&&y!=null&&!a.hasOwnProperty(D))switch(D){case"selected":t.selected=!1;break;default:Mt(t,l,D,null,a,y)}for(s in a)if(y=a[s],b=e[s],a.hasOwnProperty(s)&&y!==b&&(y!=null||b!=null))switch(s){case"selected":y!==b&&(xt=!0),t.selected=y&&typeof y!="function"&&typeof y!="symbol";break;default:Mt(t,l,s,y,a,b)}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 L in e)y=e[L],e.hasOwnProperty(L)&&y!=null&&!a.hasOwnProperty(L)&&Mt(t,l,L,null,a,y);for(v in a)if(y=a[v],b=e[v],a.hasOwnProperty(v)&&y!==b&&(y!=null||b!=null))switch(v){case"children":case"dangerouslySetInnerHTML":if(y!=null)throw Error(d(137,l));break;default:Mt(t,l,v,y,a,b)}return;default:if(ic(l)){for(var ft in e)y=e[ft],e.hasOwnProperty(ft)&&y!==void 0&&!a.hasOwnProperty(ft)&&ns(t,l,ft,void 0,a,y);for(S in a)y=a[S],b=e[S],!a.hasOwnProperty(S)||y===b||y===void 0&&b===void 0||ns(t,l,S,y,a,b);return}}for(var h in e)y=e[h],e.hasOwnProperty(h)&&y!=null&&!a.hasOwnProperty(h)&&Mt(t,l,h,null,a,y);for(O in a)y=a[O],b=e[O],!a.hasOwnProperty(O)||y===b||y==null&&b==null||Mt(t,l,O,y,a,b)}function g0(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Ay(){if(typeof performance.getEntriesByType=="function"){for(var t=0,l=0,e=performance.getEntriesByType("resource"),a=0;a<e.length;a++){var u=e[a],n=u.transferSize,i=u.initiatorType,c=u.duration;if(n&&c&&g0(i)){for(i=0,c=u.responseEnd,a+=1;a<e.length;a++){var s=e[a],v=s.startTime;if(v>c)break;var S=s.transferSize,O=s.initiatorType;S&&g0(O)&&(s=s.responseEnd,i+=S*(s<c?1:(c-v)/(s-v)))}if(--a,l+=8*(n+i)/(u.duration/1e3),t++,10<t)break}}if(0<t)return l/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var is=null,cs=null;function an(t){return t.nodeType===9?t:t.ownerDocument}function b0(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function x0(t,l){if(t===0)switch(l){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&l==="foreignObject"?0:t}function p0(t,l,e,a){return e=an(e).createElement(t),e[fl]=a,e[Sl]=l,ml(e,t,l),ul(e),e}function fs(t,l){return t==="textarea"||t==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.children=="bigint"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var ss=null;function jy(){var t=window.event;return t&&t.type==="popstate"?t===ss?!1:(ss=t,!0):(ss=null,!1)}var rs=typeof setTimeout=="function"?setTimeout:void 0,My=typeof clearTimeout=="function"?clearTimeout:void 0,S0=typeof Promise=="function"?Promise:void 0,T0=typeof requestAnimationFrame=="function"?requestAnimationFrame:rs,Cy=typeof queueMicrotask=="function"?queueMicrotask:typeof S0<"u"?function(t){return S0.resolve(null).then(t).catch(Dy)}:rs;function Dy(t){setTimeout(function(){throw t})}function Ie(t){return t==="head"}function N0(t,l){var e=l,a=0;do{var u=e.nextSibling;if(t.removeChild(e),u&&u.nodeType===8)if(e=u.data,e==="/$"||e==="/&"){if(a===0){t.removeChild(u),vu(l);return}a--}else if(e==="$"||e==="$?"||e==="$~"||e==="$!"||e==="&")a++;else if(e==="html")bs(t.ownerDocument.documentElement);else if(e==="head"){e=t.ownerDocument.head,bs(e);for(var n=e.firstChild;n;){var i=n.nextSibling,c=n.nodeName;n[Su]||c==="SCRIPT"||c==="STYLE"||c==="LINK"&&n.rel.toLowerCase()==="stylesheet"||e.removeChild(n),n=i}}else e==="body"&&bs(t.ownerDocument.body);e=u}while(e);vu(l)}function E0(t,l){var e=t;t=0;do{var a=e.nextSibling;if(e.nodeType===1?l?(e._stashedDisplay=e.style.display,e.style.display="none"):(e.style.display=e._stashedDisplay||"",e.getAttribute("style")===""&&e.removeAttribute("style")):e.nodeType===3&&(l?(e._stashedText=e.nodeValue,e.nodeValue=""):e.nodeValue=e._stashedText||""),a&&a.nodeType===8)if(e=a.data,e==="/$"){if(t===0)break;t--}else e!=="$"&&e!=="$?"&&e!=="$~"&&e!=="$!"||t++;e=a}while(e)}function z0(t,l,e){if(l=CSS.escape(l)!==l?"r-"+btoa(l).replace(/=/g,""):l,t.style.viewTransitionName=l,e!=null&&(t.style.viewTransitionClass=e),e=getComputedStyle(t),e.display==="inline"){if(l=t.getClientRects(),l.length===1)var a=1;else for(var u=a=0;u<l.length;u++){var n=l[u];0<n.width&&0<n.height&&a++}a===1&&(t=t.style,t.display=l.length===1?"inline-block":"block",t.marginTop="-"+e.paddingTop,t.marginBottom="-"+e.paddingBottom)}}function _0(t,l){t=t.style,l=l.style;var e=l!=null?l.hasOwnProperty("viewTransitionName")?l.viewTransitionName:l.hasOwnProperty("view-transition-name")?l["view-transition-name"]:null:null;t.viewTransitionName=e==null||typeof e=="boolean"?"":(""+e).trim(),e=l!=null?l.hasOwnProperty("viewTransitionClass")?l.viewTransitionClass:l.hasOwnProperty("view-transition-class")?l["view-transition-class"]:null:null,t.viewTransitionClass=e==null||typeof e=="boolean"?"":(""+e).trim(),t.display==="inline-block"&&(l==null?t.display=t.margin="":(e=l.display,t.display=e==null||typeof e=="boolean"?"":e,e=l.margin,e!=null?t.margin=e:(e=l.hasOwnProperty("marginTop")?l.marginTop:l["margin-top"],t.marginTop=e==null||typeof e=="boolean"?"":e,l=l.hasOwnProperty("marginBottom")?l.marginBottom:l["margin-bottom"],t.marginBottom=l==null||typeof l=="boolean"?"":l)))}function Uy(t,l,e){return e=e.ownerDocument.defaultView,{rect:t,abs:l.position==="absolute"||l.position==="fixed",clip:l.clipPath!=="none"||l.overflow!=="visible"||l.filter!=="none"||l.mask!=="none"||l.mask!=="none"||l.borderRadius!=="0px",view:0<=t.bottom&&0<=t.right&&t.top<=e.innerHeight&&t.left<=e.innerWidth}}function os(t){var l=t.getBoundingClientRect(),e=getComputedStyle(t);return Uy(l,e,t)}function Ry(t){return t.documentElement.clientHeight}function Hy(t){this.addEventListener("load",t),this.addEventListener("error",t)}function qy(t,l,e,a,u,n,i,c,s){var v=l.nodeType===9?l:l.ownerDocument;try{var S=v.startViewTransition({update:function(){var y=v.defaultView,b=y.navigation&&y.navigation.transition,D=v.fonts.status;a();var L=[];if(D==="loaded"&&(Ry(v),v.fonts.status==="loading"&&L.push(v.fonts.ready)),D=L.length,t!==null)for(var ft=t.suspenseyImages,h=0,m=0;m<ft.length;m++){var g=ft[m];if(!g.complete){var _=g.getBoundingClientRect();if(0<_.bottom&&0<_.right&&_.top<y.innerHeight&&_.left<y.innerWidth){if(h+=J0(g),h>qi){L.length=D;break}g=new Promise(Hy.bind(g)),L.push(g)}}}if(0<L.length)return y=Promise.race([Promise.all(L),new Promise(function(Q){return setTimeout(Q,500)})]).then(u,u),(b?Promise.allSettled([b.finished,y]):y).then(n,n);if(u(),b)return b.finished.then(n,n);n()},types:e});v.__reactViewTransition=S;var O=[];return S.ready.then(function(){for(var y=v.documentElement.getAnimations({subtree:!0}),b=0;b<y.length;b++){var D=y[b],L=D.effect,ft=L.pseudoElement;if(ft!=null&&ft.startsWith("::view-transition")){O.push(D),D=L.getKeyframes();for(var h=ft=void 0,m=!0,g=0;g<D.length;g++){var _=D[g],Q=_.width;if(ft===void 0)ft=Q;else if(ft!==Q){m=!1;break}if(Q=_.height,h===void 0)h=Q;else if(h!==Q){m=!1;break}delete _.width,delete _.height,_.transform==="none"&&delete _.transform}m&&ft!==void 0&&h!==void 0&&(L.setKeyframes(D),m=getComputedStyle(L.target,L.pseudoElement),m.width!==ft||m.height!==h)&&(m=D[0],m.width=ft,m.height=h,m=D[D.length-1],m.width=ft,m.height=h,L.setKeyframes(D))}}i()},function(y){v.__reactViewTransition===S&&(v.__reactViewTransition=null);try{if(typeof y=="object"&&y!==null)switch(y.name){case"InvalidStateError":(y.message==="View transition was skipped because document visibility state is hidden."||y.message==="Skipping view transition because document visibility state has become hidden."||y.message==="Skipping view transition because viewport size changed."||y.message==="Transition was aborted because of invalid state")&&(y=null)}y!==null&&s(y)}finally{a(),u(),i()}}),S.finished.finally(function(){for(var y=0;y<O.length;y++)O[y].cancel();v.__reactViewTransition===S&&(v.__reactViewTransition=null),c()}),S}catch{return a(),u(),i(),null}}function _a(t,l){this._scope=document.documentElement,this._selector="::view-transition-"+t+"("+l+")"}_a.prototype.animate=function(t,l){return l=typeof l=="number"?{duration:l}:K({},l),l.pseudoElement=this._selector,this._scope.animate(t,l)},_a.prototype.getAnimations=function(){for(var t=this._scope,l=this._selector,e=t.getAnimations({subtree:!0}),a=[],u=0;u<e.length;u++){var n=e[u].effect;n!==null&&n.target===t&&n.pseudoElement===l&&a.push(e[u])}return a},_a.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};function O0(t){return{name:t,group:new _a("group",t),imagePair:new _a("image-pair",t),old:new _a("old",t),new:new _a("new",t)}}function Bl(t){this._fragmentFiber=t,this._observers=this._eventListeners=null}Bl.prototype.addEventListener=function(t,l,e){var a=null,u=null;if(!(e!=null&&typeof e!="boolean"&&(a=e.signal||null,a!==null&&a.aborted))){this._eventListeners===null&&(this._eventListeners=[]);var n=this._eventListeners;if(j0(n,t,l,e)===-1){var i=this,c=l;e!=null&&typeof e!="boolean"&&e.once===!0&&(c=function(s){i.removeEventListener(t,l,e),typeof l=="function"?l.call(this,s):l.handleEvent(s)}),a!==null&&(u=i.removeEventListener.bind(i,t,l,e),a.addEventListener("abort",u,{once:!0}),u=a.removeEventListener.bind(a,"abort",u)),a=ru(e),n.push({type:t,listener:l,optionsOrUseCapture:e,attachedListener:c,cleanup:u}),T(this._fragmentFiber.child,!1,By,t,c,a)}this._eventListeners=n}};function By(t,l,e,a){return Y(t).addEventListener(l,e,a),!1}Bl.prototype.removeEventListener=function(t,l,e){var a=this._eventListeners;if(a!==null&&(l=j0(a,t,l,e),l!==-1)){var u=a[l];e=u.attachedListener;var n=u.cleanup;u=ru(u.optionsOrUseCapture),T(this._fragmentFiber.child,!1,Yy,t,e,u),a.splice(l,1),n!==null&&n()}};function Yy(t,l,e,a){return Y(t).removeEventListener(l,e,a),!1}function ru(t){return t!=null&&typeof t!="boolean"&&(t.once===!0||t.signal instanceof AbortSignal)?{capture:t.capture,passive:t.passive}:t}function A0(t){return t==null?"c=0":typeof t=="boolean"?"c="+(t?"1":"0"):"c="+(t.capture?"1":"0")}function j0(t,l,e,a){if(t.length===0)return-1;a=A0(a);for(var u=0;u<t.length;u++){var n=t[u];if(n.type===l&&n.listener===e&&A0(n.optionsOrUseCapture)===a)return u}return-1}Bl.prototype.dispatchEvent=function(t){var l=Z(this._fragmentFiber);if(l===null)return!0;l=Y(l);var e=this._eventListeners;if(e!==null&&0<e.length||!t.bubbles){var a=l.nodeType===9?l.createComment(""):document.createTextNode("");if(e)for(var u=0;u<e.length;u++){var n=e[u];a.addEventListener(n.type,n.attachedListener,ru(n.optionsOrUseCapture))}if(l.appendChild(a),t=a.dispatchEvent(t),e)for(u=0;u<e.length;u++)n=e[u],a.removeEventListener(n.type,n.attachedListener,ru(n.optionsOrUseCapture));return l.removeChild(a),t}return l.dispatchEvent(t)},Bl.prototype.focus=function(t){T(this._fragmentFiber.child,!0,M0,t,void 0,void 0)};function M0(t,l){return t.tag===6?!1:(t=Y(t),Fy(t,l))}Bl.prototype.focusLast=function(t){var l=[];T(this._fragmentFiber.child,!0,ds,l,void 0,void 0);for(var e=l.length-1;0<=e&&!M0(l[e],t);e--);};function ds(t,l){return l.push(t),!1}Bl.prototype.blur=function(){var t=Z(this._fragmentFiber);t!==null&&(t=Y(t),t=an(t).activeElement,t!==null&&T(this._fragmentFiber.child,!1,wy,t,void 0,void 0))};function wy(t,l){return t.tag===6?!1:(t=Y(t),t===l||t.contains(l)?(l.blur(),!0):!1)}Bl.prototype.observeUsing=function(t){this._observers===null&&(this._observers=new Set),this._observers.add(t),T(this._fragmentFiber.child,!1,Gy,t,void 0,void 0)};function Gy(t,l){return t.tag===6||(t=Y(t),l.observe(t)),!1}Bl.prototype.unobserveUsing=function(t){var l=this._observers;if(l!==null&&l.has(t)){l.delete(t),T(this._fragmentFiber.child,!1,Qy,t,void 0,void 0);for(var e=l=0;e<Il.length;e++){var a=Il[e];a.fragmentInstance===this&&a.observer===t?t.unobserve(a.instance):Il[l++]=a}Il.length=l}};function Qy(t,l){return t.tag===6||(t=Y(t),l.unobserve(t)),!1}var Il=[],ms=!1;function Xy(t,l,e){Il.push({fragmentInstance:t,observer:l,instance:e}),ms||(ms=!0,Wy(function(){ms=!1;var a=Il;Il=[];for(var u=0;u<a.length;u++){var n=a[u];n.observer.unobserve(n.instance)}}))}Bl.prototype.getClientRects=function(){var t=[];return T(this._fragmentFiber.child,!1,Vy,t,void 0,void 0),t};function Vy(t,l){if(t.tag===6){t=t.stateNode;var e=t.ownerDocument.createRange();e.selectNodeContents(t),l.push.apply(l,e.getClientRects())}else t=Y(t),l.push.apply(l,t.getClientRects());return!1}Bl.prototype.getRootNode=function(t){var l=Z(this._fragmentFiber);return l===null?this:Y(l).getRootNode(t)},Bl.prototype.compareDocumentPosition=function(t){var l=Z(this._fragmentFiber);if(l===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var e=[];T(this._fragmentFiber.child,!1,ds,e,void 0,void 0);var a=Y(l);if(e.length===0){if(e=a,$(this._fragmentFiber)){t:{for(l=this._fragmentFiber.return;l!==null;){if(l.tag===4){l=l.stateNode.containerInfo;break t}if(l.tag===3||l.tag===5||l.tag===27)break;l=l.return}l=null}l!=null&&(e=l)}l=this._fragmentFiber;var u=a=e.compareDocumentPosition(t);return e===t?u=Node.DOCUMENT_POSITION_CONTAINS:a&Node.DOCUMENT_POSITION_CONTAINED_BY&&(e=it(l)[1],e===null?u=Node.DOCUMENT_POSITION_PRECEDING:(t=Y(e).compareDocumentPosition(t),u=t===0||t&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),u|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}l=Y(e[0]),u=Y(e[e.length-1]);var n=$(this._fragmentFiber)?l.parentElement:a;if(n==null)return Node.DOCUMENT_POSITION_DISCONNECTED;a=n.compareDocumentPosition(l)&Node.DOCUMENT_POSITION_CONTAINED_BY,n=n.compareDocumentPosition(u)&Node.DOCUMENT_POSITION_CONTAINED_BY;var i=l.compareDocumentPosition(t),c=u.compareDocumentPosition(t),s=i&Node.DOCUMENT_POSITION_CONTAINED_BY||c&Node.DOCUMENT_POSITION_CONTAINED_BY;return c=a&&n&&i&Node.DOCUMENT_POSITION_FOLLOWING&&c&Node.DOCUMENT_POSITION_PRECEDING,l=a&&l===t||n&&u===t||s||c?Node.DOCUMENT_POSITION_CONTAINED_BY:!a&&l===t||!n&&u===t?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:i,l&Node.DOCUMENT_POSITION_DISCONNECTED||l&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||Zy(l,this._fragmentFiber,e[0],e[e.length-1],t)?l:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function Zy(t,l,e,a,u){var n=na(u);if(t&Node.DOCUMENT_POSITION_CONTAINED_BY){if(e=!!n)t:{for(;n!==null;){if(n.tag===7&&(n===l||n.alternate===l)){e=!0;break t}n=n.return}e=!1}return e}if(t&Node.DOCUMENT_POSITION_CONTAINS){if(n===null)return n=u.ownerDocument,u===n||u===n.documentElement||u===n.body;t:{for(n=l,l=Z(l);n!==null;){if(!(n.tag!==5&&n.tag!==3&&n.tag!==27||n!==l&&n.alternate!==l)){n=!0;break t}n=n.return}n=!1}return n}return t&Node.DOCUMENT_POSITION_PRECEDING?((l=!!n)&&!(l=n===e)&&(l=J(e,n,St),l===null?l=!1:(T(l,!0,Ct,n,e),n=vt,vt=null,l=n!==null)),l):t&Node.DOCUMENT_POSITION_FOLLOWING?((l=!!n)&&!(l=n===a)&&(l=J(a,n,St),l===null?l=!1:(T(l,!0,Ft,n,a),n=vt,pt=vt=null,l=n!==null)),l):!1}function C0(t,l){var e=t.ownerDocument.createRange();e.selectNodeContents(t),t=e.getBoundingClientRect(),window.scrollTo(window.scrollX+t.left,l?window.scrollY+t.top:window.scrollY+t.bottom-window.innerHeight)}Bl.prototype.scrollIntoView=function(t){if(typeof t=="object")throw Error(d(566));var l=[];T(this._fragmentFiber.child,!1,ds,l,void 0,void 0);var e=t!==!1;if(l.length===0){var a=it(this._fragmentFiber);if(a=e?a[1]||a[0]||Z(this._fragmentFiber):a[0]||a[1],a===null)return;if(a.tag===6){t=Y(a),C0(t,e);return}if(a=Y(a),a.nodeType!==9){if(a.nodeType===11){e="host"in a?a.host:null,e!==null&&e.scrollIntoView(t);return}a.scrollIntoView(t)}}for(a=e?l.length-1:0;a!==(e?-1:l.length);){var u=l[a];u.tag===6?(u=Y(u),C0(u,e)):Y(u).scrollIntoView(t),a+=e?-1:1}};function Ly(t,l){return t=Y(t),D0(t,l),!1}function D0(t,l){t.reactFragments==null&&(t.reactFragments=new Set),t.reactFragments.add(l)}function U0(t,l){var e=l._eventListeners;if(e!==null)for(var a=0;a<e.length;a++){var u=e[a];t.addEventListener(u.type,u.attachedListener,ru(u.optionsOrUseCapture))}t.nodeType!==3&&(e=l._observers,e!==null&&e.forEach(function(n){for(var i=0,c=0;c<Il.length;c++){var s=Il[c];(s.fragmentInstance!==l||s.observer!==n||s.instance!==t)&&(Il[i++]=s)}Il.length=i,n.observe(t)}),D0(t,l))}function Ky(t,l){var e=l._eventListeners;if(e!==null)for(var a=0;a<e.length;a++){var u=e[a];t.removeEventListener(u.type,u.attachedListener,ru(u.optionsOrUseCapture))}t.nodeType!==3&&(e=l._observers,e!==null&&e.forEach(function(n){typeof n.rootMargin=="string"?Xy(l,n,t):n.unobserve(t)}),t.reactFragments!=null&&t.reactFragments.delete(l))}function ys(t){var l=t.firstChild;for(l&&l.nodeType===10&&(l=l.nextSibling);l;){var e=l;switch(l=l.nextSibling,e.nodeName){case"HTML":case"HEAD":case"BODY":ys(e),En(e);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(e.rel.toLowerCase()==="stylesheet")continue}t.removeChild(e)}}function Jy(t,l,e,a){for(;t.nodeType===1;){var u=e;if(t.nodeName.toLowerCase()!==l.toLowerCase()){if(!a&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(a){if(!t[Su])switch(l){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(n=t.getAttribute("rel"),n==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(n!==u.rel||t.getAttribute("href")!==(u.href==null||u.href===""?null:u.href)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||t.getAttribute("title")!==(u.title==null?null:u.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(n=t.getAttribute("src"),(n!==(u.src==null?null:u.src)||t.getAttribute("type")!==(u.type==null?null:u.type)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&n&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(l==="input"&&t.type==="hidden"){var n=u.name==null?null:""+u.name;if(u.type==="hidden"&&t.getAttribute("name")===n)return t}else return t;if(t=Ll(t.nextSibling),t===null)break}return null}function ky(t,l,e){if(l==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Ll(t.nextSibling),t===null))return null;return t}function R0(t,l){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=Ll(t.nextSibling),t===null))return null;return t}function hs(t){return t.data==="$?"||t.data==="$~"}function vs(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function $y(t,l){var e=t.ownerDocument;if(t.data==="$~")t._reactRetry=l;else if(t.data!=="$?"||e.readyState!=="loading")l();else{var a=function(){l(),e.removeEventListener("DOMContentLoaded",a)};e.addEventListener("DOMContentLoaded",a),t._reactRetry=a}}function Ll(t){for(;t!=null;t=t.nextSibling){var l=t.nodeType;if(l===1||l===3)break;if(l===8){if(l=t.data,l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"||l==="F!"||l==="F")break;if(l==="/$"||l==="/&")return null}}return t}var gs=null;function H0(t){t=t.nextSibling;for(var l=0;t;){if(t.nodeType===8){var e=t.data;if(e==="/$"||e==="/&"){if(l===0)return Ll(t.nextSibling);l--}else e!=="$"&&e!=="$!"&&e!=="$?"&&e!=="$~"&&e!=="&"||l++}t=t.nextSibling}return null}function q0(t){t=t.previousSibling;for(var l=0;t;){if(t.nodeType===8){var e=t.data;if(e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"){if(l===0)return t;l--}else e!=="/$"&&e!=="/&"||l++}t=t.previousSibling}return null}function Fy(t,l){function e(){a=!0}if(t.ownerDocument.activeElement===t)return!0;var a=!1;try{t.ownerDocument.addEventListener("focus",e,!0),(t.focus||HTMLElement.prototype.focus).call(t,l)}finally{t.ownerDocument.removeEventListener("focus",e,!0)}return a}function Wy(t){T0(function(){T0(function(l){return t(l)})})}function B0(t,l,e){switch(l=an(e),t){case"html":if(t=l.documentElement,!t)throw Error(d(452));return t;case"head":if(t=l.head,!t)throw Error(d(453));return t;case"body":if(t=l.body,!t)throw Error(d(454));return t;default:throw Error(d(451))}}function Y0(t,l,e){for(var a in e){var u=e[a];e.hasOwnProperty(a)&&u!=null&&Mt(t,l,a,null,_y,u)}e.dangerouslySetInnerHTML!=null&&(t.textContent=""),t.onclick===le&&(t.onclick=null),En(t)}function bs(t){for(var l=t.attributes;l.length;)t.removeAttributeNode(l[0]);En(t)}var Kl=new Map,w0=new Set;function un(t){if(typeof t.getRootNode=="function"){var l=t.getRootNode();if(l.nodeType===9||l.nodeType===11)return l}return t.nodeType===9?t:t.ownerDocument}var Oe=A.d;A.d={f:Iy,r:Py,D:th,C:lh,L:eh,m:ah,X:nh,S:uh,M:ih};function Iy(){var t=Oe.f(),l=Oi();return t||l}function Py(t){var l=ja(t);l!==null&&l.tag===5&&l.type==="form"?Qo(l):Oe.r(t)}var ou=typeof document>"u"?null:document;function G0(t,l,e){var a=ou;if(a&&typeof l=="string"&&l){var u=Yl(l);u='link[rel="'+t+'"][href="'+u+'"]',typeof e=="string"&&(u+='[crossorigin="'+e+'"]'),w0.has(u)||(w0.add(u),t={rel:t,crossOrigin:e,href:l},a.querySelector(u)===null&&(l=a.createElement("link"),ml(l,"link",t),ul(l),a.head.appendChild(l)))}}function th(t){Oe.D(t),G0("dns-prefetch",t,null)}function lh(t,l){Oe.C(t,l),G0("preconnect",t,l)}function eh(t,l,e){Oe.L(t,l,e);var a=ou;if(a&&t&&l){var u='link[rel="preload"][as="'+Yl(l)+'"]';l==="image"&&e&&e.imageSrcSet?(u+='[imagesrcset="'+Yl(e.imageSrcSet)+'"]',typeof e.imageSizes=="string"&&(u+='[imagesizes="'+Yl(e.imageSizes)+'"]')):u+='[href="'+Yl(t)+'"]';var n=u;switch(l){case"style":n=du(t);break;case"script":n=mu(t)}if(!(Kl.has(n)||(t=K({rel:"preload",href:l==="image"&&e&&e.imageSrcSet?void 0:t,as:l},e),Kl.set(n,t),a.querySelector(u)!==null||l==="style"&&a.querySelector(nn(n))||l==="script"&&a.querySelector(cn(n))))){var i=a.createElement("link");ml(i,"link",t),l==="style"&&(i[Nn]=!0,i.onload=i.onerror=function(){Is(i)}),ul(i),a.head.appendChild(i)}}}function ah(t,l){Oe.m(t,l);var e=ou;if(e&&t){var a=l&&typeof l.as=="string"?l.as:"script",u='link[rel="modulepreload"][as="'+Yl(a)+'"][href="'+Yl(t)+'"]',n=u;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":n=mu(t)}if(!Kl.has(n)&&(t=K({rel:"modulepreload",href:t},l),Kl.set(n,t),e.querySelector(u)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(e.querySelector(cn(n)))return}a=e.createElement("link"),ml(a,"link",t),ul(a),e.head.appendChild(a)}}}function uh(t,l,e){Oe.S(t,l,e);var a=ou;if(a&&t){var u=Ma(a).hoistableStyles,n=du(t);l=l||"default";var i=u.get(n);if(!i){var c={loading:0,preload:null};if(i=a.querySelector(nn(n)))c.loading=5;else{t=K({rel:"stylesheet",href:t,"data-precedence":l},e),(e=Kl.get(n))&&xs(t,e);var s=i=a.createElement("link");ul(s),ml(s,"link",t),s._p=new Promise(function(v,S){s.onload=v,s.onerror=S}),s.addEventListener("load",function(){c.loading|=1}),s.addEventListener("error",function(){c.loading|=2}),c.loading|=4,Ri(i,l,a)}i={type:"stylesheet",instance:i,count:1,state:c},u.set(n,i)}}}function nh(t,l){Oe.X(t,l);var e=ou;if(e&&t){var a=Ma(e).hoistableScripts,u=mu(t),n=a.get(u);n||(n=e.querySelector(cn(u)),n||(t=K({src:t,async:!0},l),(l=Kl.get(u))&&ps(t,l),n=e.createElement("script"),ul(n),ml(n,"link",t),e.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},a.set(u,n))}}function ih(t,l){Oe.M(t,l);var e=ou;if(e&&t){var a=Ma(e).hoistableScripts,u=mu(t),n=a.get(u);n||(n=e.querySelector(cn(u)),n||(t=K({src:t,async:!0,type:"module"},l),(l=Kl.get(u))&&ps(t,l),n=e.createElement("script"),ul(n),ml(n,"link",t),e.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},a.set(u,n))}}function Q0(t,l,e,a){var u=(u=je.current)?un(u):null;if(!u)throw Error(d(446));switch(t){case"meta":case"title":return null;case"style":return typeof e.precedence=="string"&&typeof e.href=="string"?(e=du(e.href),l=Ma(u).hoistableStyles,a=l.get(e),a||(a={type:"style",instance:null,count:0,state:null},l.set(e,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(e.rel==="stylesheet"&&typeof e.href=="string"&&typeof e.precedence=="string"){t=du(e.href);var n=Ma(u).hoistableStyles,i=n.get(t);if(i||(u=u.ownerDocument||u,i={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},n.set(t,i),(n=u.querySelector(nn(t)))?n._p||(i.instance=n,i.state.loading=5):(n=Kl.get(t),n||(n={rel:"preload",as:"style",href:e.href,crossOrigin:e.crossOrigin,integrity:e.integrity,media:e.media,hrefLang:e.hrefLang,referrerPolicy:e.referrerPolicy},Kl.set(t,n)),ch(u,t,n,i.state))),l&&a===null)throw Error(d(528,""));return i}if(l&&a!==null)throw Error(d(529,""));return null;case"script":return l=e.async,e=e.src,typeof e=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(e=mu(e),l=Ma(u).hoistableScripts,a=l.get(e),a||(a={type:"script",instance:null,count:0,state:null},l.set(e,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(d(444,t))}}function du(t){return'href="'+Yl(t)+'"'}function nn(t){return'link[rel="stylesheet"]['+t+"]"}function X0(t){return K({},t,{"data-precedence":t.precedence,precedence:null})}function ch(t,l,e,a){if(l=t.querySelector('link[rel="preload"][as="style"]['+l+"]")){if(l[Nn]!==!0){a.loading=1;return}}else l=t.createElement("link"),l[Nn]=!0,l.onload=l.onerror=Is.bind(null,l),ml(l,"link",e),ul(l),t.head.appendChild(l);a.preload=l,l.addEventListener("load",function(){return a.loading|=1}),l.addEventListener("error",function(){return a.loading|=2})}function mu(t){return'[src="'+Yl(t)+'"]'}function cn(t){return"script[async]"+t}function V0(t,l,e){if(l.count++,l.instance===null)switch(l.type){case"style":var a=t.querySelector('style[data-href~="'+Yl(e.href)+'"]');if(a)return l.instance=a,ul(a),a;var u=K({},e,{"data-href":e.href,"data-precedence":e.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),ul(a),ml(a,"style",u),Ri(a,e.precedence,t),l.instance=a;case"stylesheet":u=du(e.href);var n=t.querySelector(nn(u));if(n)return l.state.loading|=4,l.instance=n,ul(n),n;a=X0(e),(u=Kl.get(u))&&xs(a,u),n=(t.ownerDocument||t).createElement("link"),ul(n);var i=n;return i._p=new Promise(function(c,s){i.onload=c,i.onerror=s}),ml(n,"link",a),l.state.loading|=4,Ri(n,e.precedence,t),l.instance=n;case"script":return n=mu(e.src),(u=t.querySelector(cn(n)))?(l.instance=u,ul(u),u):(a=e,(u=Kl.get(n))&&(a=K({},e),ps(a,u)),t=t.ownerDocument||t,u=t.createElement("script"),ul(u),ml(u,"link",a),t.head.appendChild(u),l.instance=u);case"void":return null;default:throw Error(d(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(a=l.instance,l.state.loading|=4,Ri(a,e.precedence,t));return l.instance}function Ri(t,l,e){for(var a=e.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=a.length?a[a.length-1]:null,n=u,i=0;i<a.length;i++){var c=a[i];if(c.dataset.precedence===l)n=c;else if(n!==u)break}n?n.parentNode.insertBefore(t,n.nextSibling):(l=e.nodeType===9?e.head:e,l.insertBefore(t,l.firstChild))}function xs(t,l){t.crossOrigin==null&&(t.crossOrigin=l.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=l.referrerPolicy),t.title==null&&(t.title=l.title)}function ps(t,l){t.crossOrigin==null&&(t.crossOrigin=l.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=l.referrerPolicy),t.integrity==null&&(t.integrity=l.integrity)}var Hi=null;function Z0(t,l,e){if(Hi===null){var a=new Map,u=Hi=new Map;u.set(e,a)}else u=Hi,a=u.get(e),a||(a=new Map,u.set(e,a));if(a.has(t))return a;for(a.set(t,null),e=e.getElementsByTagName(t),u=0;u<e.length;u++){var n=e[u];if(!(n[Su]||n[fl]||t==="link"&&n.getAttribute("rel")==="stylesheet")&&n.namespaceURI!=="http://www.w3.org/2000/svg"){var i=n.getAttribute(l)||"";i=t+i;var c=a.get(i);c?c.push(n):a.set(i,[n])}}return a}function Ss(t,l,e){t=t.ownerDocument||t,t.head.insertBefore(e,l==="title"?t.querySelector("head > title"):null)}function fh(t,l,e){if(e===1||l.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;switch(l.rel){case"stylesheet":return t=l.disabled,typeof l.precedence=="string"&&t==null;default:return!0}case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function L0(t,l){return t==="img"&&l.src!=null&&l.src!==""&&l.onLoad==null&&l.loading!=="lazy"}function K0(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function J0(t){return(t.width||100)*(t.height||100)*(typeof devicePixelRatio=="number"?devicePixelRatio:1)*.25}function k0(t,l){typeof l.decode=="function"&&(t.imgCount++,l.complete||(t.imgBytes+=J0(l),t.suspenseyImages.push(l)),t=oh.bind(t),l.decode().then(t,t))}function sh(t,l,e,a){if(e.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(e.state.loading&4)===0){if(e.instance===null){var u=du(a.href),n=l.querySelector(nn(u));if(n){l=n._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(t.count++,t=fn.bind(t),l.then(t,t)),e.state.loading|=4,e.instance=n,ul(n);return}n=l.ownerDocument||l,a=X0(a),(u=Kl.get(u))&&xs(a,u),n=n.createElement("link"),ul(n);var i=n;i._p=new Promise(function(c,s){i.onload=c,i.onerror=s}),ml(n,"link",a),e.instance=n}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(e,l),(l=e.state.preload)&&(e.state.loading&3)===0&&(t.count++,e=fn.bind(t),l.addEventListener("load",e),l.addEventListener("error",e))}}var qi=0;function rh(t,l){return t.stylesheets&&t.count===0&&Yi(t,t.stylesheets),0<t.count||0<t.imgCount?function(e){var a=setTimeout(function(){if(t.stylesheets&&Yi(t,t.stylesheets),t.unsuspend){var n=t.unsuspend;t.unsuspend=null,n()}},6e4+l);0<t.imgBytes&&qi===0&&(qi=62500*Ay());var u=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Yi(t,t.stylesheets),t.unsuspend)){var n=t.unsuspend;t.unsuspend=null,n()}},(t.imgBytes>qi?50:800)+l);return t.unsuspend=e,function(){t.unsuspend=null,clearTimeout(a),clearTimeout(u)}}:null}function $0(t){if(t.count===0&&(t.imgCount===0||!t.waitingForImages)){if(t.stylesheets)Yi(t,t.stylesheets);else if(t.unsuspend){var l=t.unsuspend;t.unsuspend=null,l()}}}function fn(){this.count--,$0(this)}function oh(){this.imgCount--,$0(this)}var Bi=null;function Yi(t,l){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Bi=new Map,l.forEach(dh,t),Bi=null,fn.call(t))}function dh(t,l){if(!(l.state.loading&4)){var e=Bi.get(t);if(e)var a=e.get(null);else{e=new Map,Bi.set(t,e);for(var u=t.querySelectorAll("link[data-precedence],style[data-precedence]"),n=0;n<u.length;n++){var i=u[n];(i.nodeName==="LINK"||i.getAttribute("media")!=="not all")&&(e.set(i.dataset.precedence,i),a=i)}a&&e.set(null,a)}u=l.instance,i=u.getAttribute("data-precedence"),n=e.get(i)||a,n===a&&e.set(null,u),e.set(i,u),this.count++,a=fn.bind(this),u.addEventListener("load",a),u.addEventListener("error",a),n?n.parentNode.insertBefore(u,n.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(u,t.firstChild)),l.state.loading|=4}}var yu={$$typeof:Qt,Provider:null,Consumer:null,_currentValue:lt,_currentValue2:lt,_threadCount:0};function mh(t,l,e,a,u,n,i,c,s){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=tc(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=tc(0),this.hiddenUpdates=tc(null),this.identifierPrefix=a,this.onUncaughtError=u,this.onCaughtError=n,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.transitionTypes=null,this.incompleteTransitions=new Map}function F0(t,l,e,a,u,n,i,c,s,v,S,O){return t=new mh(t,l,e,i,s,v,S,O,c),l=1,n===!0&&(l|=24),n=Tl(3,null,null,l),t.current=n,n.stateNode=t,l=Hc(),l.refCount++,t.pooledCache=l,l.refCount++,n.memoizedState={element:a,isDehydrated:e,cache:l},wc(n),t}function W0(t){return t?(t=Ga,t):Ga}function I0(t,l,e,a,u,n){u=W0(u),a.context===null?a.context=u:a.pendingContext=u,a=Ge(l),a.payload={element:e},n=n===void 0?null:n,n!==null&&(a.callback=n),e=Qe(t,a,l),e!==null&&(_l(e,t,l),Yu(e,t,l))}function P0(t,l){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var e=t.retryLane;t.retryLane=e!==0&&e<l?e:l}}function Ts(t,l){P0(t,l),(t=t.alternate)&&P0(t,l)}function tm(t){if(t.tag===13||t.tag===31){var l=sa(t,67108864);l!==null&&_l(l,t,67108864),Ts(t,67108864)}}function lm(t){if(t.tag===13||t.tag===31){var l=ql();l=lc(l);var e=sa(t,l);e!==null&&_l(e,t,l),Ts(t,l)}}var hu=!0;function yh(t,l,e,a){var u=p.T;p.T=null;var n=A.p;try{A.p=2,Ns(t,l,e,a)}finally{A.p=n,p.T=u}}function hh(t,l,e,a){var u=p.T;p.T=null;var n=A.p;try{A.p=8,Ns(t,l,e,a)}finally{A.p=n,p.T=u}}function Ns(t,l,e,a){if(hu){var u=Es(a);if(u===null)us(t,l,a,wi,e),am(t,a);else if(gh(u,t,l,e,a))a.stopPropagation();else if(am(t,a),l&4&&-1<vh.indexOf(t)){for(;u!==null;){var n=ja(u);if(n!==null)switch(n.tag){case 3:if(n=n.stateNode,n.current.memoizedState.isDehydrated){var i=ua(n.pendingLanes);if(i!==0){var c=n;for(c.pendingLanes|=2,c.entangledLanes|=2;i;){var s=1<<31-jl(i);c.entanglements[1]|=s,i&=~s}oe(n),(Et&6)===0&&(Ei=Ol()+500,tn(0))}}break;case 31:case 13:c=sa(n,2),c!==null&&_l(c,n,2),Oi(),Ts(n,2)}if(n=Es(a),n===null&&us(t,l,a,wi,e),n===u)break;u=n}u!==null&&a.stopPropagation()}else us(t,l,a,null,e)}}function Es(t){return t=fc(t),zs(t)}var wi=null;function zs(t){if(wi=null,t=na(t),t!==null){var l=B(t);if(l===null)t=null;else{var e=l.tag;if(e===13){if(t=M(l),t!==null)return t;t=null}else if(e===31){if(t=ut(l),t!==null)return t;t=null}else if(e===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;t=null}else l!==t&&(t=null)}}return wi=t,null}function em(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"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(Am()){case Gs:return 2;case Qs:return 8;case bn:case jm:return 32;case Xs:return 268435456;default:return 32}default:return 32}}var _s=!1,Pe=null,ta=null,la=null,sn=new Map,rn=new Map,ea=[],vh="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 am(t,l){switch(t){case"focusin":case"focusout":Pe=null;break;case"dragenter":case"dragleave":ta=null;break;case"mouseover":case"mouseout":la=null;break;case"pointerover":case"pointerout":sn.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":rn.delete(l.pointerId)}}function on(t,l,e,a,u,n){return t===null||t.nativeEvent!==n?(t={blockedOn:l,domEventName:e,eventSystemFlags:a,nativeEvent:n,targetContainers:[u]},l!==null&&(l=ja(l),l!==null&&tm(l)),t):(t.eventSystemFlags|=a,l=t.targetContainers,u!==null&&l.indexOf(u)===-1&&l.push(u),t)}function gh(t,l,e,a,u){switch(l){case"focusin":return Pe=on(Pe,t,l,e,a,u),!0;case"dragenter":return ta=on(ta,t,l,e,a,u),!0;case"mouseover":return la=on(la,t,l,e,a,u),!0;case"pointerover":var n=u.pointerId;return sn.set(n,on(sn.get(n)||null,t,l,e,a,u)),!0;case"gotpointercapture":return n=u.pointerId,rn.set(n,on(rn.get(n)||null,t,l,e,a,u)),!0}return!1}function um(t){var l=na(t.target);if(l!==null){var e=B(l);if(e!==null){if(l=e.tag,l===13){if(l=M(e),l!==null){t.blockedOn=l,$s(t.priority,function(){lm(e)});return}}else if(l===31){if(l=ut(e),l!==null){t.blockedOn=l,$s(t.priority,function(){lm(e)});return}}else if(l===3&&e.stateNode.current.memoizedState.isDehydrated){t.blockedOn=e.tag===3?e.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Gi(t){if(t.blockedOn!==null)return!1;for(var l=t.targetContainers;0<l.length;){var e=Es(t.nativeEvent);if(e===null){e=t.nativeEvent;var a=new e.constructor(e.type,e);cc=a,e.target.dispatchEvent(a),cc=null}else return l=ja(e),l!==null&&tm(l),t.blockedOn=e,!1;l.shift()}return!0}function nm(t,l,e){Gi(t)&&e.delete(l)}function bh(){_s=!1,Pe!==null&&Gi(Pe)&&(Pe=null),ta!==null&&Gi(ta)&&(ta=null),la!==null&&Gi(la)&&(la=null),sn.forEach(nm),rn.forEach(nm)}function Qi(t,l){t.blockedOn===l&&(t.blockedOn=null,_s||(_s=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,bh)))}var Xi=null;function im(t){Xi!==t&&(Xi=t,r.unstable_scheduleCallback(r.unstable_NormalPriority,function(){Xi===t&&(Xi=null);for(var l=0;l<t.length;l+=3){var e=t[l],a=t[l+1],u=t[l+2];if(typeof a!="function"){if(zs(a||e)===null)continue;break}var n=ja(e);n!==null&&(t.splice(l,3),l-=3,cf(n,{pending:!0,data:u,method:e.method,action:a},a,u))}}))}function vu(t){function l(s){return Qi(s,t)}Pe!==null&&Qi(Pe,t),ta!==null&&Qi(ta,t),la!==null&&Qi(la,t),sn.forEach(l),rn.forEach(l);for(var e=0;e<ea.length;e++){var a=ea[e];a.blockedOn===t&&(a.blockedOn=null)}for(;0<ea.length&&(e=ea[0],e.blockedOn===null);)um(e),e.blockedOn===null&&ea.shift();if(e=(t.ownerDocument||t).$$reactFormReplay,e!=null)for(a=0;a<e.length;a+=3){var u=e[a],n=e[a+1],i=u[Sl]||null;if(typeof n=="function")i||im(e);else if(i){var c=null;if(n&&n.hasAttribute("formAction")){if(u=n,i=n[Sl]||null)c=i.formAction;else if(zs(u)!==null)continue}else c=i.action;typeof c=="function"?e[a+1]=c:(e.splice(a,3),a-=3),im(e)}}}function cm(){function t(n){n.canIntercept&&n.info==="react-transition"&&n.intercept({handler:function(){return new Promise(function(i){return u=i})},focusReset:"manual",scroll:"manual"})}function l(){u!==null&&(u(),u=null),a||setTimeout(e,20)}function e(){if(!a&&!navigation.transition){var n=navigation.currentEntry;n&&n.url!=null&&navigation.navigate(n.url,{state:n.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,u=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",l),navigation.addEventListener("navigateerror",l),setTimeout(e,100),function(){a=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",l),navigation.removeEventListener("navigateerror",l),u!==null&&(u(),u=null)}}}function Os(t){this._internalRoot=t}Vi.prototype.render=Os.prototype.render=function(t){var l=this._internalRoot;if(l===null)throw Error(d(409));var e=l.current,a=ql();I0(e,a,t,l,null,null)},Vi.prototype.unmount=Os.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var l=t.containerInfo;I0(t.current,2,null,t,null,null),Oi(),l[Aa]=null}};function Vi(t){this._internalRoot=t}Vi.prototype.unstable_scheduleHydration=function(t){if(t){var l=ks();t={blockedOn:null,target:t,priority:l};for(var e=0;e<ea.length&&l!==0&&l<ea[e].priority;e++);ea.splice(e,0,t),e===0&&um(t)}};var fm=E.version;if(fm!=="19.3.1")throw Error(d(527,fm,"19.3.1"));A.findDOMNode=function(t){var l=t._reactInternals;if(l===void 0)throw typeof t.render=="function"?Error(d(188)):(t=Object.keys(t).join(","),Error(d(268,t)));return t=V(l),t=t!==null?R(t):null,t=t===null?null:t.stateNode,t};var xh={bundleType:0,version:"19.3.1",rendererPackageName:"react-dom",currentDispatcherRef:p,reconcilerVersion:"19.3.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Zi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Zi.isDisabled&&Zi.supportsFiber)try{bu=Zi.inject(xh),Al=Zi}catch{}}return mn.createRoot=function(t,l){if(!C(t))throw Error(d(299));var e=!1,a="",u=Wo,n=Io,i=Po;return l!=null&&(l.unstable_strictMode===!0&&(e=!0),l.identifierPrefix!==void 0&&(a=l.identifierPrefix),l.onUncaughtError!==void 0&&(u=l.onUncaughtError),l.onCaughtError!==void 0&&(n=l.onCaughtError),l.onRecoverableError!==void 0&&(i=l.onRecoverableError)),l=F0(t,1,!1,null,null,e,a,null,u,n,i,cm),t[Aa]=l.current,as(t),new Os(l)},mn.hydrateRoot=function(t,l,e){if(!C(t))throw Error(d(299));var a=!1,u="",n=Wo,i=Io,c=Po,s=null;return e!=null&&(e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(u=e.identifierPrefix),e.onUncaughtError!==void 0&&(n=e.onUncaughtError),e.onCaughtError!==void 0&&(i=e.onCaughtError),e.onRecoverableError!==void 0&&(c=e.onRecoverableError),e.formState!==void 0&&(s=e.formState)),l=F0(t,1,!0,l,e??null,a,u,s,n,i,c,cm),l.context=W0(null),e=l.current,a=ql(),a=lc(a),u=Ge(a),u.callback=null,Qe(e,u,a),e=a,l.current.lanes=e,pu(l,e),oe(l),t[Aa]=l.current,as(t),new Vi(l)},mn.version="19.3.1",mn}var bm;function Ch(){if(bm)return Ms.exports;bm=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(E){console.error(E)}}return r(),Ms.exports=Mh(),Ms.exports}var Dh=Ch();/**
|
||
* @license lucide-react v0.468.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=r=>r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),pm=(...r)=>r.filter((E,z,d)=>!!E&&E.trim()!==""&&d.indexOf(E)===z).join(" ").trim();/**
|
||
* @license lucide-react v0.468.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/var Rh={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
||
* @license lucide-react v0.468.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=X.forwardRef(({color:r="currentColor",size:E=24,strokeWidth:z=2,absoluteStrokeWidth:d,className:C="",children:B,iconNode:M,...ut},tt)=>X.createElement("svg",{ref:tt,...Rh,width:E,height:E,stroke:r,strokeWidth:d?Number(z)*24/Number(E):z,className:pm("lucide",C),...ut},[...M.map(([V,R])=>X.createElement(V,R)),...Array.isArray(B)?B:[B]]));/**
|
||
* @license lucide-react v0.468.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const zt=(r,E)=>{const z=X.forwardRef(({className:d,...C},B)=>X.createElement(Hh,{ref:B,iconNode:E,className:pm(`lucide-${Uh(r)}`,d),...C}));return z.displayName=`${r}`,z};/**
|
||
* @license lucide-react v0.468.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const qh=zt("Activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);/**
|
||
* @license lucide-react v0.468.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Bh=zt("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);/**
|
||
* @license lucide-react v0.468.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Yh=zt("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
|
||
* @license lucide-react v0.468.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const wh=zt("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
|
||
* @license lucide-react v0.468.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Gh=zt("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
|
||
* @license lucide-react v0.468.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Qh=zt("CircleStop",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["rect",{x:"9",y:"9",width:"6",height:"6",rx:"1",key:"1ssd4o"}]]);/**
|
||
* @license lucide-react v0.468.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=zt("ClipboardCheck",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]]);/**
|
||
* @license lucide-react v0.468.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=zt("Cpu",[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]]);/**
|
||
* @license lucide-react v0.468.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Zh=zt("Ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]]);/**
|
||
* @license lucide-react v0.468.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=zt("Gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]);/**
|
||
* @license lucide-react v0.468.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Kh=zt("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);/**
|
||
* @license lucide-react v0.468.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Jh=zt("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
|
||
* @license lucide-react v0.468.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const kh=zt("KeyRound",[["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"}]]);/**
|
||
* @license lucide-react v0.468.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const $h=zt("ListVideo",[["path",{d:"M12 12H3",key:"18klou"}],["path",{d:"M16 6H3",key:"1wxfjs"}],["path",{d:"M12 18H3",key:"11ftsu"}],["path",{d:"m16 12 5 3-5 3v-6Z",key:"zpskkp"}]]);/**
|
||
* @license lucide-react v0.468.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=zt("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
|
||
* @license lucide-react v0.468.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Wh=zt("LogIn",[["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}],["polyline",{points:"10 17 15 12 10 7",key:"1ail0h"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}]]);/**
|
||
* @license lucide-react v0.468.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Ih=zt("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
|
||
* @license lucide-react v0.468.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Sm=zt("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
|
||
* @license lucide-react v0.468.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Bs=zt("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/**
|
||
* @license lucide-react v0.468.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Ph=zt("RotateCcw",[["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"}]]);/**
|
||
* @license lucide-react v0.468.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const tv=zt("ScrollText",[["path",{d:"M15 12h-5",key:"r7krc0"}],["path",{d:"M15 8h-5",key:"1khuty"}],["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",key:"1ph1d7"}]]);/**
|
||
* @license lucide-react v0.468.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const lv=zt("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/**
|
||
* @license lucide-react v0.468.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const ev=zt("ServerCog",[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"M4.5 10H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-.5",key:"tn8das"}],["path",{d:"M4.5 14H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-.5",key:"1g2pve"}],["path",{d:"M6 6h.01",key:"1utrut"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"m15.7 13.4-.9-.3",key:"1jwmzr"}],["path",{d:"m9.2 10.9-.9-.3",key:"qapnim"}],["path",{d:"m10.6 15.7.3-.9",key:"quwk0k"}],["path",{d:"m13.6 15.7-.4-1",key:"cb9xp7"}],["path",{d:"m10.8 9.3-.4-1",key:"1uaiz5"}],["path",{d:"m8.3 13.6 1-.4",key:"s6srou"}],["path",{d:"m14.7 10.8 1-.4",key:"4d31cq"}],["path",{d:"m13.4 8.3-.3.9",key:"1bm987"}]]);/**
|
||
* @license lucide-react v0.468.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const av=zt("Settings2",[["path",{d:"M20 7h-9",key:"3s1dr2"}],["path",{d:"M14 17H5",key:"gfn3mx"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]]);/**
|
||
* @license lucide-react v0.468.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const uv=zt("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
|
||
* @license lucide-react v0.468.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const nv=zt("Square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);/**
|
||
* @license lucide-react v0.468.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const iv=zt("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/**
|
||
* @license lucide-react v0.468.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Tm=zt("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
|
||
* @license lucide-react v0.468.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const cv=zt("Video",[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]);/**
|
||
* @license lucide-react v0.468.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const fv=zt("WifiOff",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/**
|
||
* @license lucide-react v0.468.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const sv=zt("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function Nm(r){var E,z,d="";if(typeof r=="string"||typeof r=="number")d+=r;else if(typeof r=="object")if(Array.isArray(r)){var C=r.length;for(E=0;E<C;E++)r[E]&&(z=Nm(r[E]))&&(d&&(d+=" "),d+=z)}else for(z in r)r[z]&&(d&&(d+=" "),d+=z);return d}function rv(){for(var r,E,z=0,d="",C=arguments.length;z<C;z++)(r=arguments[z])&&(E=Nm(r))&&(d&&(d+=" "),d+=E);return d}const vl=(...r)=>rv(r),Pl="w-full rounded-lg border border-line bg-white px-3 py-2 text-[13px] text-slate-900 placeholder:text-slate-400 transition focus:border-brand-500 focus:outline-none focus:ring-3 focus:ring-brand-500/15 disabled:cursor-not-allowed disabled:bg-slate-50";function xm(r){if(!r)return"—";const E=Math.floor((Date.now()-r)/6e4);return E<1?"刚刚":E<60?`${E} 分钟前`:`${Math.floor(E/60)} 小时前`}function Rs(r=[]){return{total:r.length,studyable:r.filter(E=>E.in_study!==!1).length}}function yn(r){return String(r||"").split("#").filter(Boolean)}const ov={"01":"单选","02":"多选","03":"判断","04":"问答"};function de(r){return r instanceof Error?r.message:String(r)}const dv={neutral:"bg-slate-100 text-slate-600 ring-slate-200",brand:"bg-brand-50 text-brand-700 ring-brand-100",success:"bg-emerald-50 text-emerald-700 ring-emerald-100",warning:"bg-amber-50 text-amber-700 ring-amber-100",danger:"bg-red-50 text-red-700 ring-red-100",running:"bg-sky-50 text-sky-700 ring-sky-100"};function Hs({tone:r="neutral",children:E,dot:z=!1,className:d}){return f.jsxs("span",{className:vl("inline-flex items-center gap-1.5 rounded-full px-2 py-0.5 text-[11px] font-medium ring-1 ring-inset",dv[r],d),children:[z&&f.jsx("span",{className:"size-1.5 rounded-full bg-current opacity-70"}),E]})}const mv={primary:"border-brand-500 bg-brand-500 text-white shadow-sm shadow-brand-500/25 hover:border-brand-600 hover:bg-brand-600",secondary:"border-line bg-white text-slate-700 hover:border-slate-300 hover:bg-slate-50",ghost:"border-transparent bg-transparent text-slate-600 hover:bg-slate-100",danger:"border-transparent bg-transparent text-red-600 hover:bg-red-50",soft:"border-brand-100 bg-brand-50 text-brand-700 hover:border-brand-200 hover:bg-brand-100"},yv={sm:"h-8 gap-1.5 rounded-lg px-2.5 text-xs",md:"h-9 gap-1.5 rounded-lg px-3.5 text-[13px]",icon:"h-9 w-9 rounded-lg"};function Kt({variant:r="secondary",size:E="md",loading:z=!1,icon:d,className:C,children:B,disabled:M,type:ut="button",...tt}){return f.jsxs("button",{type:ut,disabled:M||z,className:vl("inline-flex shrink-0 items-center justify-center border font-medium transition","focus-visible:outline-none focus-visible:ring-3 focus-visible:ring-brand-500/20","disabled:cursor-not-allowed disabled:opacity-50",mv[r],yv[E],C),...tt,children:[z?f.jsx(Fh,{className:"size-3.5 animate-spin"}):d,B]})}function hv(r,E){var B,M;const z=E==="login"||r.status==="logging"||((B=r.run)==null?void 0:B.status)==="logging"?"logging":((M=r.run)==null?void 0:M.status)||r.status||"idle",C={discovering:{label:"发现课程中",tone:"running",pulse:!0},studying:{label:"学习中",tone:"running",pulse:!0},finished:{label:"已完成",tone:"success"},stopped:{label:"已停止",tone:"warning"},error:{label:"出错",tone:"danger"},interrupted:{label:"已中断",tone:"warning"},logging:{label:"登录中",tone:"running",pulse:!0},logged_in:{label:"已登录",tone:"success"},login_failed:{label:"登录失败",tone:"danger"},idle:{label:"未登录",tone:"neutral"}}[z]||{label:z,tone:"neutral"};return{label:C.label,tone:C.tone,pulse:!!C.pulse}}function vv({account:r,course:E,disabled:z,onToggle:d}){var B;const C=(B=r.selected)==null?void 0:B.includes(E.plan_id);return f.jsxs("label",{className:vl("flex cursor-pointer items-start gap-2.5 rounded-lg border border-transparent px-2 py-1.5 transition","hover:border-line hover:bg-slate-50",z&&"pointer-events-none opacity-60"),children:[f.jsx("input",{type:"checkbox",className:"mt-0.5 size-3.5 shrink-0 accent-brand-500",checked:!!C,disabled:z,onChange:M=>d(E.plan_id,M.target.checked)}),f.jsxs("span",{className:"min-w-0 flex-1",children:[f.jsx("span",{className:"block truncate text-[12.5px] font-medium text-slate-700",children:E.name||E.plan_id}),f.jsx("span",{className:"mt-0.5 block truncate text-[11px] text-slate-400",children:[E.section,E.status_label,E.info].filter(Boolean).join(" · ")||"—"})]}),f.jsx("span",{className:"shrink-0 pt-0.5 text-[11px] tabular-nums text-slate-500",children:E.progress||""})]})}function gv({account:r,platformLabel:E,pending:z,openLog:d,logLines:C,onToggleLog:B,onLogin:M,onRefresh:ut,onStudy:tt,onStop:V,onCapture:R,onStopCapture:T,onQuiz:Z,onDelete:$,onToggleCourse:it,onSelectAll:Ut,onClearSelection:Y,onToggleOption:vt}){var gt,H,at,st,Bt,o,N,w,G,ot,x,j,p,A,lt,P;const[pt,Ct]=X.useState(!1),Ft=X.useRef(null),St=X.useRef(null),J=X.useRef(!0);X.useEffect(()=>{if(!pt)return;const q=Yt=>{var Rt;(Rt=Ft.current)!=null&&Rt.contains(Yt.target)||Ct(!1)};return document.addEventListener("pointerdown",q),()=>document.removeEventListener("pointerdown",q)},[pt]),X.useEffect(()=>{const q=St.current;q&&J.current&&(q.scrollTop=q.scrollHeight)},[C,d]);const K=hv(r,z),k=!!z||r.status==="logging"||((gt=r.run)==null?void 0:gt.status)==="logging",_t=r.courses||[],qt=_t.filter(q=>q.in_study!==!1),Zt=_t.filter(q=>q.in_study===!1),Tt=Rs(_t),Jt=((H=r.run)==null?void 0:H.done)||0,al=((at=r.run)==null?void 0:at.total)||0,Qt=al?Math.round(Jt/al*100):0,U=["discovering","studying"].includes(((st=r.run)==null?void 0:st.status)||""),F=((Bt=r.selected)==null?void 0:Bt.length)||0,I=F>0&&(((o=r.cookies)==null?void 0:o.length)||0)>0;return f.jsxs("article",{"data-id":r.id,className:"card-shadow flex min-w-0 flex-col rounded-2xl border border-line bg-white transition-colors hover:border-slate-300/80",children:[f.jsxs("header",{className:"flex items-start gap-3 px-4 pt-4",children:[f.jsxs("div",{className:"relative mt-0.5 grid size-10 shrink-0 place-items-center rounded-xl bg-gradient-to-br from-brand-50 to-sky-50 text-[13px] font-semibold text-brand-700 ring-1 ring-brand-100",children:[(r.user||r.username||"?").slice(0,1).toUpperCase(),f.jsx("span",{className:vl("absolute -bottom-0.5 -right-0.5 size-3 rounded-full border-2 border-white",K.tone==="success"?"bg-emerald-500":K.tone==="danger"?"bg-red-500":K.tone==="running"?"bg-sky-500":K.tone==="warning"?"bg-amber-500":"bg-slate-300",K.pulse&&"animate-pulse")})]}),f.jsxs("div",{className:"min-w-0 flex-1",children:[f.jsxs("div",{className:"flex items-center gap-2",children:[f.jsx("h2",{className:"truncate text-[13.5px] font-semibold text-slate-900",children:r.user||r.username}),f.jsx(Hs,{tone:K.tone,dot:!0,children:K.label})]}),f.jsxs("div",{className:"mt-1 flex flex-wrap items-center gap-x-2 gap-y-0.5 text-[11px] text-slate-400",children:[f.jsx("span",{className:"truncate",children:r.username}),r.note&&f.jsxs("span",{className:"truncate",children:["· ",r.note]}),f.jsxs("span",{children:["· ",xm(r.updated||r.loginAt)]})]})]}),f.jsx(Hs,{tone:"brand",className:"mt-0.5 shrink-0",children:E})]}),f.jsxs("div",{className:"px-4 pt-3",children:[f.jsxs("div",{className:"flex items-center justify-between gap-2",children:[f.jsxs("div",{className:"text-[11.5px] text-slate-500",children:["共 ",f.jsx("b",{className:"font-semibold text-slate-700",children:Tt.total})," 门 · 可学"," ",f.jsx("b",{className:"font-semibold text-slate-700",children:Tt.studyable}),Zt.length>0&&f.jsxs("span",{className:"text-slate-400",children:[" · 已完成 ",Zt.length]})]}),qt.length>0&&f.jsxs("div",{className:"flex items-center gap-1",children:[f.jsx("button",{type:"button",disabled:k,className:"rounded px-1.5 py-0.5 text-[11px] text-brand-600 transition hover:bg-brand-50 disabled:opacity-40",onClick:Ut,children:"全选"}),f.jsx("button",{type:"button",disabled:k||F===0,className:"rounded px-1.5 py-0.5 text-[11px] text-slate-500 transition hover:bg-slate-100 disabled:opacity-40",onClick:Y,children:"清空"})]})]}),f.jsx("div",{className:"scrollbar-thin mt-1.5 max-h-[196px] min-h-[70px] overflow-y-auto pr-0.5",children:_t.length===0?f.jsx("div",{className:"grid min-h-[70px] place-items-center rounded-lg border border-dashed border-line text-[12px] text-slate-400",children:"还没有课程,先登录或刷新课程"}):f.jsxs(f.Fragment,{children:[qt.map(q=>f.jsx(vv,{account:r,course:q,disabled:k,onToggle:it},q.plan_id)),Zt.length>0&&f.jsx("div",{className:"mt-1 border-t border-dashed border-line pt-1",children:Zt.map(q=>f.jsxs("div",{className:"flex items-start gap-2.5 rounded-lg px-2 py-1.5 text-slate-400",children:[f.jsx("span",{className:"mt-0.5 grid size-3.5 shrink-0 place-items-center rounded-full bg-emerald-50 text-[9px] text-emerald-600",children:"✓"}),f.jsxs("span",{className:"min-w-0 flex-1",children:[f.jsx("span",{className:"block truncate text-[12px]",children:q.name||q.plan_id}),f.jsx("span",{className:"mt-0.5 block truncate text-[10.5px] opacity-80",children:[q.section,q.info].filter(Boolean).join(" · ")})]}),f.jsx("span",{className:"shrink-0 text-[10.5px]",children:q.status_label||"已结束"})]},q.plan_id))})]})})]}),f.jsxs("div",{className:"mt-3 flex flex-wrap items-center gap-x-4 gap-y-1.5 border-t border-line/70 px-4 py-2.5",children:[f.jsxs("label",{className:"flex cursor-pointer items-center gap-1.5 text-[11.5px] text-slate-600",children:[f.jsx("input",{type:"checkbox",className:"size-3.5 accent-brand-500",checked:r.optQuiz===!0,disabled:k,onChange:q=>vt("quiz",q.target.checked)}),"自动交测验"]}),f.jsxs("label",{className:"flex cursor-pointer items-center gap-1.5 text-[11.5px] text-slate-600",children:[f.jsx("input",{type:"checkbox",className:"size-3.5 accent-brand-500",checked:r.optFeedback!==!1,disabled:k,onChange:q=>vt("feedback",q.target.checked)}),"自动交反馈表"]}),f.jsx("div",{className:"flex-1"}),f.jsx("span",{className:"text-[11px] tabular-nums text-slate-400",children:F>0?`已选 ${F} 门`:"未选择课程"})]}),f.jsxs("div",{className:"flex flex-wrap items-center gap-1.5 border-t border-line/70 px-4 py-2.5",children:[f.jsx(Kt,{size:"sm",variant:"soft",loading:z==="login"||r.status==="logging"||((N=r.run)==null?void 0:N.status)==="logging",disabled:k,icon:f.jsx(Wh,{className:"size-3.5"}),onClick:M,children:(w=r.cookies)!=null&&w.length?"重新登录":"登录"}),f.jsx(Kt,{size:"sm",loading:z==="refresh",disabled:k||!((G=r.cookies)!=null&&G.length),icon:f.jsx(Bs,{className:"size-3.5"}),onClick:ut,children:"刷新课程"}),f.jsx(Kt,{size:"sm",variant:"primary",loading:z==="study",disabled:k||!I,icon:f.jsx(Ih,{className:"size-3.5"}),onClick:tt,children:"开始学习"}),f.jsx("div",{className:"flex-1"}),U&&f.jsx(Kt,{size:"icon",variant:"danger",loading:z==="stop",onClick:V,title:"停止学习","aria-label":"停止学习",children:f.jsx(Qh,{className:"size-4"})}),f.jsxs("div",{className:"relative",ref:Ft,children:[f.jsx(Kt,{size:"icon",variant:"ghost",onClick:()=>Ct(q=>!q),"aria-label":"更多操作",title:"更多操作",children:f.jsx(Zh,{className:"size-4"})}),pt&&f.jsx("div",{className:"absolute bottom-10 right-0 z-20 w-40 overflow-hidden rounded-xl border border-line bg-white py-1 shadow-xl shadow-slate-900/10",children:[{label:"课程日志",icon:$h,action:B},{label:"打开测验",icon:Xh,action:Z},(ot=r.run)!=null&&ot.capturing?{label:"停止抓包",icon:nv,action:T}:{label:"抓包 10 分钟",icon:cv,action:R},{label:"删除账号",icon:iv,action:$,danger:!0}].map(q=>f.jsxs("button",{type:"button",className:vl("flex w-full items-center gap-2 px-3 py-2 text-left text-[12px] transition hover:bg-slate-50",q.danger?"text-red-600":"text-slate-700"),onClick:()=>{Ct(!1),q.action()},children:[f.jsx(q.icon,{className:"size-3.5 opacity-70"}),q.label]},q.label))})]})]}),(al>0||((x=r.run)==null?void 0:x.error))&&f.jsxs("div",{className:"border-t border-line/70 px-4 py-3",children:[f.jsxs("div",{className:"mb-1.5 flex items-center justify-between gap-2 text-[11px] text-slate-500",children:[f.jsx("span",{className:"truncate",children:((j=r.run)==null?void 0:j.course)||((p=r.run)==null?void 0:p.status)||"学习进度"}),f.jsxs("span",{className:"shrink-0 tabular-nums",children:[Jt," / ",al,al>0&&f.jsxs("span",{className:"ml-1 text-slate-400",children:["(",Qt,"%)"]})]})]}),f.jsx("div",{className:"h-1.5 overflow-hidden rounded-full bg-slate-100",children:f.jsx("div",{className:vl("h-full rounded-full transition-all duration-500",((A=r.run)==null?void 0:A.status)==="error"?"bg-red-500":((lt=r.run)==null?void 0:lt.status)==="finished"?"bg-emerald-500":"bg-gradient-to-r from-brand-500 to-sky-400"),style:{width:`${Math.min(100,Qt)}%`}})}),((P=r.run)==null?void 0:P.error)&&f.jsx("p",{className:"mt-2 rounded-lg bg-red-50 px-2.5 py-1.5 text-[11px] leading-relaxed text-red-700",children:r.run.error})]}),r.lastError&&f.jsx("div",{className:"border-t border-line/70 px-4 py-2.5",children:f.jsxs("p",{className:"rounded-lg bg-red-50/80 px-2.5 py-1.5 text-[11px] leading-relaxed text-red-700",children:[r.lastError,r.lastErrorAt?f.jsxs("span",{className:"ml-1 text-red-400",children:["· ",xm(r.lastErrorAt)]}):null]})}),f.jsxs("div",{className:vl("border-t border-line/70",d?"block":"hidden"),children:[f.jsxs("div",{className:"flex items-center gap-2 px-4 pt-2.5 text-[11px] text-slate-400",children:[f.jsx("span",{className:"font-medium text-slate-500",children:"课程日志"}),f.jsxs("span",{className:"tabular-nums",children:["(",C.length,")"]}),f.jsx("div",{className:"flex-1"}),f.jsx("button",{type:"button",onClick:B,className:"rounded px-1.5 py-0.5 text-[11px] text-slate-500 transition hover:bg-slate-100",children:"收起"})]}),f.jsx("pre",{ref:St,onScroll:q=>{const Yt=q.currentTarget;J.current=Yt.scrollHeight-Yt.scrollTop-Yt.clientHeight<24},className:vl("scrollbar-thin mx-4 mb-3 mt-2 max-h-56 overflow-auto rounded-lg bg-slate-950/95 p-3","font-mono text-[11px] leading-relaxed text-slate-300",C.length===0&&"text-slate-500"),children:C.length?C.join(`
|
||
`):"暂无日志 · 开始学习后这里会实时显示"})]}),f.jsxs("button",{type:"button",onClick:B,className:"flex items-center justify-center gap-1 border-t border-line/70 py-1.5 text-[10.5px] text-slate-400 transition hover:bg-slate-50 hover:text-slate-600","aria-expanded":d,children:[f.jsx(Yh,{className:vl("size-3 transition-transform",d&&"rotate-180")}),d?"收起课程日志":"展开课程日志"]})]})}const bv={md:"max-w-xl",lg:"max-w-3xl",xl:"max-w-6xl"};function Ki({open:r,onClose:E,title:z,subtitle:d,size:C="md",footer:B,children:M,bodyClassName:ut}){return X.useEffect(()=>{if(!r)return;const tt=R=>{R.key==="Escape"&&E()};window.addEventListener("keydown",tt);const V=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{window.removeEventListener("keydown",tt),document.body.style.overflow=V}},[r,E]),r?f.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4",children:[f.jsx("div",{className:"absolute inset-0 bg-slate-900/40 backdrop-blur-[2px]",onClick:E}),f.jsxs("div",{role:"dialog","aria-modal":"true",className:vl("relative flex max-h-[calc(100vh-2rem)] w-full flex-col overflow-hidden rounded-2xl","border border-line bg-white shadow-2xl shadow-slate-900/20",bv[C]),children:[f.jsxs("header",{className:"flex items-start gap-3 border-b border-line px-5 py-4",children:[f.jsxs("div",{className:"min-w-0 flex-1",children:[f.jsx("h2",{className:"truncate text-[15px] font-semibold text-slate-900",children:z}),d&&f.jsx("p",{className:"mt-0.5 truncate text-xs text-slate-500",children:d})]}),f.jsx("button",{type:"button",onClick:E,className:"-mr-1 rounded-lg p-1.5 text-slate-400 transition hover:bg-slate-100 hover:text-slate-600","aria-label":"关闭",children:f.jsx(sv,{className:"size-4"})})]}),f.jsx("div",{className:vl("min-h-0 flex-1 overflow-auto px-5 py-4",ut),children:M}),B&&f.jsx("footer",{className:"flex flex-wrap items-center justify-end gap-2 border-t border-line bg-slate-50/70 px-5 py-3",children:B})]})]}):null}function xv({open:r,onClose:E,onSubmit:z}){const[d,C]=X.useState(""),[B,M]=X.useState(""),[ut,tt]=X.useState(""),[V,R]=X.useState(!1),[T,Z]=X.useState("");X.useEffect(()=>{r&&(C(""),M(""),tt(""),Z(""),R(!1))},[r]);async function $(){if(!d.trim()||!B){Z("请填写账号和密码");return}R(!0),Z("");try{await z({username:d.trim(),password:B,note:ut.trim()}),E()}catch(it){Z(it instanceof Error?it.message:String(it))}finally{R(!1)}}return f.jsx(Ki,{open:r,onClose:E,title:"添加账号",subtitle:"账号密码保存在本机 SQLite,用于会话失效时自动重新登录",footer:f.jsxs(f.Fragment,{children:[f.jsx(Kt,{onClick:E,disabled:V,children:"取消"}),f.jsx(Kt,{variant:"primary",loading:V,onClick:$,children:"保存并登录"})]}),children:f.jsxs("div",{className:"space-y-4",children:[f.jsxs("div",{children:[f.jsx("label",{className:"mb-1.5 block text-[12px] font-medium text-slate-600",children:"登录账号"}),f.jsx("input",{className:Pl,value:d,autoFocus:!0,placeholder:"手机号 / 身份证号 / 教师账号",onChange:it=>C(it.target.value),onKeyDown:it=>it.key==="Enter"&&$()})]}),f.jsxs("div",{children:[f.jsx("label",{className:"mb-1.5 block text-[12px] font-medium text-slate-600",children:"密码"}),f.jsx("input",{className:Pl,type:"password",value:B,autoComplete:"off",placeholder:"平台登录密码",onChange:it=>M(it.target.value),onKeyDown:it=>it.key==="Enter"&&$()})]}),f.jsxs("div",{children:[f.jsxs("label",{className:"mb-1.5 block text-[12px] font-medium text-slate-600",children:["备注 ",f.jsx("span",{className:"font-normal text-slate-400",children:"(可选)"})]}),f.jsx("input",{className:Pl,value:ut,placeholder:"例如:张三 · 语文",onChange:it=>tt(it.target.value)})]}),f.jsx("p",{className:"rounded-lg border border-line bg-slate-50 px-3 py-2 text-[11.5px] leading-relaxed text-slate-500",children:"保存后会自动尝试登录一次。若密码错误或需要验证码,卡片上会保留「登录」按钮,可手动重试。"}),T&&f.jsx("p",{className:"rounded-lg bg-red-50 px-3 py-2 text-[12px] text-red-700",children:T})]})})}class Ae extends Error{constructor(z,d={}){super(z);Li(this,"offline",!1);Li(this,"status");Li(this,"code");this.name="ApiError",Object.assign(this,d)}}async function Vt(r,E={}){let z;try{z=await fetch(r,{...E,headers:{"Content-Type":"application/json",...E.headers||{}}})}catch{throw new Ae("后端未连接",{offline:!0})}if(z.status===401)throw new Ae("需要访问令牌:请用 /?token=<AUTH_TOKEN> 打开一次",{status:401});if(!z.ok)throw new Ae(`HTTP ${z.status}`,{status:z.status});return await z.json()}async function pv(r,E,z){let d;try{d=await fetch(r,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(E)})}catch{throw new Ae("后端未连接",{offline:!0})}if(d.status===401)throw new Ae("需要访问令牌:请用 /?token=<AUTH_TOKEN> 打开一次");if(!d.ok)throw new Ae(`HTTP ${d.status}`);if(!d.body)throw new Ae("浏览器不支持流式响应");const C=d.body.getReader(),B=new TextDecoder;let M="";for(;;){const{value:ut,done:tt}=await C.read();if(tt)break;M+=B.decode(ut,{stream:!0});const V=M.split(`
|
||
|
||
`);M=V.pop()||"";for(const R of V){const T=R.trim();if(T.startsWith("data:"))try{z(JSON.parse(T.slice(5).trim()))}catch{}}}}function Sv(r){const E=String((r==null?void 0:r.text)||"").replace(/\s+/g," ").trim();return E.length>24?`${E.slice(0,24)}…`:E}function Tv({open:r,account:E,course:z,onClose:d,notify:C,onSubmitted:B}){const[M,ut]=X.useState(null),[tt,V]=X.useState({}),[R,T]=X.useState(!1),[Z,$]=X.useState(!1),[it,Ut]=X.useState(!1),[Y,vt]=X.useState(!1),[pt,Ct]=X.useState(""),[Ft,St]=X.useState("info"),J=X.useRef(0);async function K(H=!1){if(!E||!z)return!1;T(!0),Ct(H?"正在生成新答卷…":"取题中…"),St("info");try{const at={cookies:E.cookies,plan_id:z.plan_id,project_id:z.project_id,name:z.name||""};H&&(at.retake=!0,at.period_id=(M==null?void 0:M.period_id)||"");const st=await Vt("/api/quiz",{method:"POST",body:JSON.stringify(at)});if(!st.ok)return ut(null),Ct(st.error||"取题失败"),St("error"),!1;ut(st),V(Object.fromEntries((st.questions||[]).map(o=>[o.no,o.picked||""])));const Bt=[];if(st.done){const o=st.surplus_exam_count;o!=null?Bt.push(`剩 ${o} 次`):st.allow_exam_count&&Bt.push(`共 ${st.allow_exam_count} 次`),st.show_answers?Bt.push("已显示标准答案"):st.exam_after_watch_answer==="0"&&Bt.push("本测验不开放答案"),Ct(`已交卷${Bt.length?` · ${Bt.join(" · ")}`:""}`),St("success")}else Ct(st.started?"已自动创建答卷(限时考试已开始计时)":""),St("info");return!0}catch(at){return Ct(at instanceof Error?at.message:"取题失败"),St("error"),!1}finally{T(!1)}}if(X.useEffect(()=>{!r||!E||!z||(ut(null),V({}),vt(!1),K(!1))},[r,E==null?void 0:E.id,z==null?void 0:z.plan_id]),!E||!z)return null;const k=(M==null?void 0:M.questions)||[],_t=!!(M!=null&&M.done),qt=!!(M!=null&&M.show_answers),Zt=!!(M!=null&&M.can_retake),Tt=M==null?void 0:M.surplus_exam_count,Jt=_t||R||Z||Y;function al(H,at){V(st=>({...st,[H]:at}))}function Qt(H,at,st){V(Bt=>{const o=yn(Bt[H]),N=st?[...o,at]:o.filter(w=>w!==at);return N.sort(),{...Bt,[H]:N.join("#")}})}async function U(){if(!M||!E)return;const H=k.filter(at=>!tt[at.no]).length;if(!(H&&!window.confirm(`还有 ${H} 题没作答,确定提交?`))){$(!0),Ct("提交中…"),St("info");try{const at=await Vt("/api/quiz/submit",{method:"POST",body:JSON.stringify({cookies:E.cookies,plan_id:M.plan_id,object_id:M.object_id,generation:M.generation||"legacy",result_id:M.result_id||"",answers:tt})});if(!at.ok){at.code==="already_finished"&&await K(),Ct(at.error||"提交失败"),St("error");return}C({message:`测验已提交${at.score?`,得分 ${at.score}`:""}`,tone:"success"}),await K(),B()}catch(at){Ct(at instanceof Error?at.message:"提交失败"),St("error")}finally{$(!1)}}}async function F(){if(!M)return;if(!M.can_retake){C({message:"没有剩余考试机会",tone:"error"});return}const H=Tt!=null?`(剩余 ${Tt} 次)`:"";if(window.confirm(`再考一次会消耗 1 次机会${H};限时考试会立即开始计时,确定?`)){Ut(!0);try{await K(!0)&&C({message:"已生成新答卷,可以重新答题了",tone:"success"})}finally{Ut(!1)}}}async function I(){if(!M||!E)return;if(M.done){C({message:"已交卷,点「再考一次」生成新答卷后再 AI 答题",tone:"error"});return}vt(!0),J.current=0;const H=Date.now();let at=0,st="";const Bt=window.setInterval(()=>{Ct(`AI 答题中… ${Math.round((Date.now()-H)/1e3)}s · 已填 ${J.current}/${k.length} 题`),St("info")},1e3);Ct(`AI 答题中… 已填 0/${k.length} 题`);try{await pv("/api/quiz/answer",{questions:M.questions,account_id:E.id},o=>{const N=o.answers;if(N&&typeof N=="object"){const w=Object.keys(N).length;w&&(J.current+=w,V(G=>({...G,...N})))}o.error&&(st=String(o.error)),o.done&&typeof o.failed=="number"&&(at=o.failed)}),J.current?at?(Ct(`AI 已填 ${J.current} 题,${at} 题失败${st?`:${st}`:""}`),St("error")):(Ct(`AI 已填 ${J.current} 题`),St("success")):(Ct(st?`AI 答题失败:${st}`:"AI 没有返回答案"),St("error"))}catch(o){Ct(o instanceof Error?o.message:"AI 答题失败"),St("error")}finally{window.clearInterval(Bt),vt(!1)}}const gt=Zt?`再考一次${Tt!=null?`(剩 ${Tt} 次)`:""}`:Tt===0?"考试机会已用完":"再考一次";return f.jsx(Ki,{open:r,onClose:d,title:`测验 · ${z.name||z.plan_id}`,subtitle:pt||"取题后可手动作答,或让大模型逐批填写",size:"xl",footer:f.jsxs(f.Fragment,{children:[f.jsx("span",{className:vl("mr-auto max-w-[50%] truncate text-[11.5px]",Ft==="error"?"text-red-600":Ft==="success"?"text-emerald-600":"text-slate-500"),children:pt}),_t&&f.jsx(Kt,{size:"sm",loading:it,disabled:R||!Zt,icon:f.jsx(Ph,{className:"size-3.5"}),onClick:F,children:gt}),f.jsx(Kt,{size:"sm",onClick:d,children:"关闭"}),f.jsx(Kt,{size:"sm",variant:"soft",loading:Y,disabled:Jt||!k.length,icon:f.jsx(Bh,{className:"size-3.5"}),onClick:I,children:"AI 答题"}),f.jsx(Kt,{size:"sm",variant:"primary",loading:Z,disabled:Jt||!k.length,icon:f.jsx(lv,{className:"size-3.5"}),onClick:U,children:"提交"})]}),children:R&&!k.length?f.jsx("div",{className:"py-16 text-center text-[13px] text-slate-400",children:"正在打开课程页取题…"}):k.length?f.jsx("div",{className:"space-y-2.5",children:k.map(H=>{const at=H.options||[],st=tt[H.no]||"",Bt=H.type==="02",o=at.length>0;return f.jsxs("div",{className:"rounded-xl border border-line px-3.5 py-3",children:[f.jsxs("div",{className:"flex items-start gap-2",children:[f.jsx("span",{className:"mt-0.5 grid size-5 shrink-0 place-items-center rounded-md bg-slate-100 text-[10.5px] font-semibold tabular-nums text-slate-500",children:H.no}),f.jsx(Hs,{tone:"neutral",className:"mt-0.5 shrink-0",children:ov[H.type||""]||"题目"}),f.jsx("p",{className:"min-w-0 flex-1 text-[13px] leading-relaxed text-slate-800",children:H.title||`第 ${H.no} 题`}),qt&&H.is_correct!==void 0&&f.jsx("span",{className:vl("shrink-0 text-[12px] font-semibold",H.is_correct?"text-emerald-600":"text-red-500"),children:H.is_correct?"✓":"✗"})]}),o&&f.jsx("div",{className:"mt-2 flex flex-wrap gap-1.5 pl-7",children:at.map(N=>{const w=qt&&yn(H.correct).includes(N.key),G=qt&&yn(H.picked).includes(N.key)&&!yn(H.correct).includes(N.key);return f.jsxs("span",{className:vl("max-w-full rounded-lg border px-2 py-1 text-[11.5px] leading-snug",w?"border-emerald-200 bg-emerald-50 text-emerald-800":G?"border-red-200 bg-red-50 text-red-700":"border-line bg-slate-50/70 text-slate-600"),children:[f.jsx("b",{className:"mr-1 font-semibold",children:N.key}),Sv(N)]},N.key)})}),f.jsxs("div",{className:"mt-2.5 flex flex-wrap items-center gap-2 pl-7",children:[Bt?f.jsx("div",{className:"flex flex-wrap gap-1.5",children:at.map(N=>{const w=yn(st);return f.jsxs("label",{title:`${N.key}. ${N.text||""}`,className:vl("flex cursor-pointer items-center gap-1 rounded-lg border px-2 py-1 text-[11.5px] transition",w.includes(N.key)?"border-brand-300 bg-brand-50 text-brand-700":"border-line text-slate-600 hover:border-slate-300",Jt&&"pointer-events-none opacity-60"),children:[f.jsx("input",{type:"checkbox",className:"size-3 accent-brand-500",checked:w.includes(N.key),disabled:Jt,onChange:G=>Qt(H.no,N.key,G.target.checked)}),N.key]},N.key)})}):o?f.jsxs("select",{className:"h-8 w-full max-w-[320px] rounded-lg border border-line bg-white px-2 text-[12px] text-slate-700 focus:border-brand-500 focus:outline-none disabled:bg-slate-50 disabled:text-slate-400",value:st,disabled:Jt,onChange:N=>al(H.no,N.target.value),children:[f.jsx("option",{value:"",children:"未选"}),at.map(N=>f.jsxs("option",{value:N.key,children:[N.key,". ",N.text||""]},N.key))]}):f.jsx("input",{className:"h-8 w-full max-w-[320px] rounded-lg border border-line bg-white px-2 text-[12px] text-slate-700 focus:border-brand-500 focus:outline-none disabled:bg-slate-50 disabled:text-slate-400",value:st,placeholder:"填写答案",disabled:Jt,onChange:N=>al(H.no,N.target.value)}),qt&&H.correct&&f.jsxs("span",{className:"text-[11.5px] text-slate-500",children:["标准答案:",f.jsx("b",{className:"font-semibold text-slate-700",children:H.correct})]})]}),qt&&H.analysis&&f.jsxs("p",{className:"mt-2 rounded-lg bg-slate-50 px-2.5 py-1.5 text-[11.5px] leading-relaxed text-slate-500",children:["解析:",H.analysis]})]},H.no)})}):f.jsx("div",{className:"py-16 text-center text-[13px] text-red-600",children:pt||"没有题目"})})}function Nv({open:r,onClose:E,notify:z}){const[d,C]=X.useState(!1),[B,M]=X.useState(!1),[ut,tt]=X.useState(!1),[V,R]=X.useState({base_url:"",api_key:"",model:"",temperature:"0.2",timeout:"120",prompt:"",study_mode:"fast",study_parallel:"2"}),[T,Z]=X.useState("sk-...");X.useEffect(()=>{r&&(C(!0),Vt("/api/settings").then(Y=>{const vt=Y.llm||{},pt=Y.study||{};R({base_url:vt.base_url||"",api_key:"",model:vt.model||"",temperature:String(vt.temperature??.2),timeout:String(vt.timeout??120),prompt:vt.prompt||"",study_mode:pt.mode||"fast",study_parallel:String(pt.parallel||2)}),Z(vt.has_key?`已保存 ${vt.key_hint||""},留空不修改`:"sk-...")}).catch(Y=>z({message:`读取设置失败:${Y.message}`,tone:"error"})).finally(()=>C(!1)))},[r,z]);function $(Y,vt){R(pt=>({...pt,[Y]:vt}))}async function it(){M(!0);try{await Vt("/api/settings",{method:"POST",body:JSON.stringify({base_url:V.base_url.trim(),api_key:V.api_key.trim(),model:V.model.trim(),temperature:Number.parseFloat(V.temperature)||.2,timeout:Number.parseInt(V.timeout,10)||120,prompt:V.prompt,study_mode:V.study_mode,study_parallel:Number.parseInt(V.study_parallel,10)||0})}),z({message:"设置已保存",tone:"success"}),E()}catch(Y){z({message:`保存失败:${Y instanceof Error?Y.message:Y}`,tone:"error"})}finally{M(!1)}}async function Ut(){tt(!0);try{const Y=await Vt("/api/llm/test",{method:"POST",body:JSON.stringify({base_url:V.base_url.trim(),api_key:V.api_key.trim(),model:V.model.trim()})});z({message:Y.ok?`连接正常(${Y.ms} ms):${Y.reply||""}`:`连接失败:${Y.error||"未知错误"}`,tone:Y.ok?"success":"error"})}catch(Y){z({message:`连接失败:${Y instanceof Error?Y.message:Y}`,tone:"error"})}finally{tt(!1)}}return f.jsx(Ki,{open:r,onClose:E,title:"系统设置",subtitle:"大模型接口、答题提示词与学习模式",size:"lg",footer:f.jsxs(f.Fragment,{children:[f.jsx(Kt,{loading:ut,onClick:Ut,icon:f.jsx(Vh,{className:"size-3.5"}),children:"测试连接"}),f.jsx(Kt,{onClick:E,disabled:B,children:"取消"}),f.jsx(Kt,{variant:"primary",loading:B,onClick:it,disabled:d,children:"保存"})]}),children:d?f.jsx("div",{className:"py-10 text-center text-[12.5px] text-slate-400",children:"读取设置…"}):f.jsxs("div",{className:"space-y-6",children:[f.jsxs("section",{children:[f.jsxs("div",{className:"mb-3 flex items-center gap-2 text-[12.5px] font-semibold text-slate-700",children:[f.jsx(ev,{className:"size-4 text-brand-500"}),"大模型(OpenAI 兼容)"]}),f.jsxs("div",{className:"space-y-3",children:[f.jsxs("div",{children:[f.jsxs("label",{className:"mb-1.5 block text-[12px] text-slate-600",children:["接口地址 ",f.jsx("span",{className:"text-slate-400",children:"(写到 /v1 为止)"})]}),f.jsx("input",{className:Pl,value:V.base_url,placeholder:"https://api.openai.com/v1",onChange:Y=>$("base_url",Y.target.value)})]}),f.jsxs("div",{className:"grid gap-3 sm:grid-cols-2",children:[f.jsxs("div",{children:[f.jsx("label",{className:"mb-1.5 block text-[12px] text-slate-600",children:"API Key"}),f.jsxs("div",{className:"relative",children:[f.jsx(kh,{className:"pointer-events-none absolute left-2.5 top-1/2 size-3.5 -translate-y-1/2 text-slate-400"}),f.jsx("input",{className:`${Pl} pl-8`,type:"password",autoComplete:"off",value:V.api_key,placeholder:T,onChange:Y=>$("api_key",Y.target.value)})]})]}),f.jsxs("div",{children:[f.jsx("label",{className:"mb-1.5 block text-[12px] text-slate-600",children:"模型"}),f.jsx("input",{className:Pl,value:V.model,placeholder:"gpt-4o-mini / deepseek-chat / qwen-plus",onChange:Y=>$("model",Y.target.value)})]})]}),f.jsxs("div",{className:"grid gap-3 sm:grid-cols-2",children:[f.jsxs("div",{children:[f.jsx("label",{className:"mb-1.5 block text-[12px] text-slate-600",children:"温度"}),f.jsx("input",{className:Pl,type:"number",min:0,max:2,step:.1,value:V.temperature,onChange:Y=>$("temperature",Y.target.value)})]}),f.jsxs("div",{children:[f.jsx("label",{className:"mb-1.5 block text-[12px] text-slate-600",children:"超时(秒)"}),f.jsx("input",{className:Pl,type:"number",min:10,max:600,value:V.timeout,onChange:Y=>$("timeout",Y.target.value)})]})]}),f.jsxs("div",{children:[f.jsxs("label",{className:"mb-1.5 block text-[12px] text-slate-600",children:["答题提示词 ",f.jsx("span",{className:"text-slate-400",children:"(留空使用内置)"})]}),f.jsx("textarea",{className:`${Pl} min-h-24 resize-y`,value:V.prompt,placeholder:'只输出 JSON {"answers":{"题号":"答案"}}',onChange:Y=>$("prompt",Y.target.value)})]})]})]}),f.jsxs("section",{className:"border-t border-line pt-5",children:[f.jsxs("div",{className:"mb-3 flex items-center gap-2 text-[12.5px] font-semibold text-slate-700",children:[f.jsx(Lh,{className:"size-4 text-brand-500"}),"学习模式"]}),f.jsxs("div",{className:"grid gap-3 sm:grid-cols-2",children:[f.jsxs("div",{children:[f.jsx("label",{className:"mb-1.5 block text-[12px] text-slate-600",children:"模式"}),f.jsxs("select",{className:Pl,value:V.study_mode,onChange:Y=>$("study_mode",Y.target.value),children:[f.jsx("option",{value:"fast",children:"快速学习(只调接口上报)"}),f.jsx("option",{value:"normal",children:"常规学习(真实播放视频)"})]})]}),f.jsxs("div",{children:[f.jsx("label",{className:"mb-1.5 block text-[12px] text-slate-600",children:"常规模式并发数"}),f.jsx("input",{className:Pl,type:"number",min:1,max:5,value:V.study_parallel,onChange:Y=>$("study_parallel",Y.target.value)})]})]}),f.jsxs("p",{className:"mt-3 rounded-lg bg-slate-50 px-3 py-2 text-[11.5px] leading-relaxed text-slate-500",children:["常规学习会开多个无头浏览器同时播视频;平台若按课节顺序放行,会被弹回并自动降为 1 路。快速学习只调用 ",f.jsx("code",{className:"rounded bg-white px-1 ring-1 ring-line",children:"period/study/log"}),",不启动浏览器。"]})]})]})})}function Ev({accounts:r}){const E=r.filter(M=>{var ut;return((ut=M.cookies)==null?void 0:ut.length)>0||["logged_in","studying"].includes(M.status||"")}).length,z=r.filter(M=>{var ut;return["discovering","studying"].includes(((ut=M.run)==null?void 0:ut.status)||"")}).length,d=r.reduce((M,ut)=>{var tt;return M+(((tt=ut.run)==null?void 0:tt.done)||0)},0),C=r.reduce((M,ut)=>{var tt;return M+(((tt=ut.run)==null?void 0:tt.total)||0)},0),B=[{label:"账号",value:r.length,hint:"已添加",icon:Tm,tone:"text-brand-600 bg-brand-50"},{label:"已登录",value:E,hint:r.length?`共 ${r.length} 个`:"等待添加",icon:uv,tone:"text-emerald-600 bg-emerald-50"},{label:"学习中",value:z,hint:z?"正在跑课":"空闲",icon:qh,tone:"text-sky-600 bg-sky-50"},{label:"课程进度",value:C?`${d}/${C}`:"—",hint:C?`${Math.round(d/C*100)}%`:"暂无任务",icon:Kh,tone:"text-amber-600 bg-amber-50"}];return f.jsx("section",{className:"grid grid-cols-2 gap-3 lg:grid-cols-4",children:B.map(M=>f.jsxs("div",{className:"flex items-center gap-3 rounded-xl border border-line bg-white px-4 py-3",children:[f.jsx("span",{className:`grid size-9 shrink-0 place-items-center rounded-lg ${M.tone}`,children:f.jsx(M.icon,{className:"size-4"})}),f.jsxs("div",{className:"min-w-0",children:[f.jsx("div",{className:"text-[11px] text-slate-400",children:M.label}),f.jsxs("div",{className:"flex items-baseline gap-1.5",children:[f.jsx("span",{className:"text-[17px] font-semibold tabular-nums leading-tight text-slate-900",children:M.value}),f.jsx("span",{className:"truncate text-[10.5px] text-slate-400",children:M.hint})]})]})]},M.label))})}function zv({open:r,onClose:E}){const[z,d]=X.useState([]),[C,B]=X.useState(!1),M=X.useRef(null),ut=X.useRef(!0);X.useEffect(()=>{if(!r)return;let V=!0;const R=async()=>{try{const Z=await Vt("/api/log/history?key=system&tail=500");V&&d(Z.lines||[])}catch{}};d([]),R();const T=window.setInterval(()=>{document.hidden||R()},2500);return()=>{V=!1,window.clearInterval(T)}},[r]),X.useEffect(()=>{const V=M.current;V&&ut.current&&(V.scrollTop=V.scrollHeight)},[z,r]);async function tt(){B(!0);try{await Vt("/api/log/history?key=system",{method:"DELETE"}),d([])}finally{B(!1)}}return f.jsx(Ki,{open:r,onClose:E,title:"系统日志",subtitle:"全局事件与系统级错误,实时刷新",size:"xl",footer:f.jsxs(f.Fragment,{children:[f.jsxs("span",{className:"mr-auto text-[11px] text-slate-400",children:["共 ",z.length," 行 · 保留最近 500 行"]}),f.jsx(Kt,{variant:"danger",size:"sm",loading:C,onClick:tt,children:"清空"}),f.jsx(Kt,{size:"sm",onClick:E,children:"关闭"})]}),bodyClassName:"bg-slate-950 p-0",children:f.jsx("pre",{ref:M,onScroll:V=>{const R=V.currentTarget;ut.current=R.scrollHeight-R.scrollTop-R.clientHeight<24},className:"scrollbar-thin h-[60vh] overflow-auto whitespace-pre-wrap break-words p-4 font-mono text-[11.5px] leading-relaxed text-slate-300",children:z.length?z.join(`
|
||
`):"暂无系统日志"})})}function _v({toast:r}){if(!r)return null;const E=r.tone||"info",z=E==="error"?wh:E==="success"?Gh:Jh;return f.jsxs("div",{role:"status",className:vl("animate-toast-in fixed bottom-7 left-1/2 z-[60] flex max-w-[85vw] -translate-x-1/2 items-center gap-2","rounded-xl px-4 py-2.5 text-[12.5px] font-medium shadow-xl shadow-slate-900/20",E==="error"?"bg-red-600 text-white":E==="success"?"bg-emerald-600 text-white":"bg-slate-900 text-white"),children:[f.jsx(z,{className:"size-4 shrink-0 opacity-90"}),f.jsx("span",{className:"break-words",children:r.message})]})}function Ov({refreshing:r,onRefresh:E,onSettings:z,onSystemLog:d,onAdd:C}){return f.jsx("header",{className:"sticky top-0 z-30 border-b border-line/80 bg-white/85 backdrop-blur-xl",children:f.jsxs("div",{className:"mx-auto flex h-16 max-w-[1320px] items-center gap-3 px-4 sm:px-6",children:[f.jsxs("div",{className:"flex min-w-0 items-center gap-3",children:[f.jsx("div",{className:"grid size-9 shrink-0 place-items-center rounded-xl bg-gradient-to-br from-brand-500 to-sky-400 text-[15px] font-bold text-white shadow-md shadow-brand-500/30",children:"学"}),f.jsxs("div",{className:"min-w-0",children:[f.jsxs("div",{className:"flex items-center gap-2",children:[f.jsx("h1",{className:"truncate text-[15px] font-semibold tracking-tight text-slate-900",children:"莞易学"}),f.jsx("span",{className:"hidden rounded-md bg-slate-100 px-1.5 py-0.5 text-[10px] font-medium text-slate-500 sm:inline",children:"多账号学习控制台"})]}),f.jsx("p",{className:"truncate text-[11.5px] text-slate-500",children:"东莞市教师培训平台 · 新旧版课程自动识别"})]})]}),f.jsx("div",{className:"flex-1"}),f.jsxs("div",{className:"flex items-center gap-1.5",children:[f.jsx(Kt,{variant:"ghost",size:"icon",onClick:E,loading:r,title:"刷新列表","aria-label":"刷新列表",children:f.jsx(Bs,{className:"size-4"})}),f.jsx(Kt,{variant:"ghost",size:"icon",onClick:d,title:"系统日志","aria-label":"系统日志",children:f.jsx(tv,{className:"size-4"})}),f.jsx(Kt,{variant:"ghost",size:"icon",onClick:z,title:"系统设置","aria-label":"系统设置",children:f.jsx(av,{className:"size-4"})}),f.jsx(Kt,{variant:"primary",className:"ml-1",icon:f.jsx(Sm,{className:"size-4"}),onClick:C,children:f.jsx("span",{className:"hidden sm:inline",children:"添加账号"})})]})]})})}const Em="guanyixue.inlineLogsOpen";function Av(){try{const r=JSON.parse(localStorage.getItem(Em)||"[]");return new Set(Array.isArray(r)?r.filter(E=>typeof E=="string"):[])}catch{return new Set}}function jv(r){try{localStorage.setItem(Em,JSON.stringify([...r]))}catch{}}function Mv(r){return{id:r.id,username:r.username,note:r.note||"",user:r.user||"",cookies:r.cookies||[],courses:r.courses||[],selected:r.selected||[],status:r.status||"idle",lastError:r.lastError||"",lastErrorAt:r.lastErrorAt||0,optQuiz:r.optQuiz===!0,optFeedback:r.optFeedback!==!1,loginAt:r.loginAt||0}}function Cv(){const[r,E]=X.useState([]),z=X.useRef(r),[d,C]=X.useState({guanyixue:"莞易学"}),[B,M]=X.useState(!1),[ut,tt]=X.useState(null),[V,R]=X.useState({}),[T,Z]=X.useState(!1),[$,it]=X.useState(null),[Ut,Y]=X.useState(()=>Av()),vt=X.useRef(Ut),[pt,Ct]=X.useState({}),Ft=X.useRef(pt),St=X.useRef(void 0);X.useEffect(()=>{z.current=r},[r]),X.useEffect(()=>{Ft.current=pt},[pt]),X.useEffect(()=>{vt.current=Ut,jv(Ut)},[Ut]),X.useEffect(()=>()=>window.clearTimeout(St.current),[]);const J=X.useCallback(x=>{tt(x),window.clearTimeout(St.current),St.current=window.setTimeout(()=>tt(null),3800)},[]),K=X.useCallback(async x=>{const j=await Vt("/api/accounts",{method:"POST",body:JSON.stringify(Mv(x))});if(j.ok===!1)throw new Error(j.error||"保存失败");return j},[]),k=X.useCallback(x=>{E(j=>{const A=j.some(lt=>lt.id===x.id)?j.map(lt=>lt.id===x.id?x:lt):[...j,x];return z.current=A,A})},[]),_t=X.useCallback(async(x=!0)=>{var j;try{const[p,A]=await Promise.all([Vt("/api/runs"),Vt("/api/accounts")]),lt=(A.accounts||[]).map(P=>({...P,run:p[P.id]||null})).sort((P,q)=>(P.created||0)-(q.created||0));E(lt),z.current=lt,M(!1);for(const P of lt){const q=(j=P.run)==null?void 0:j.cookies;if(q&&q.length&&JSON.stringify(q)!==JSON.stringify(P.cookies||[])){const Yt={...P,cookies:q};P.cookies=q,K(Yt).catch(()=>{})}}}catch(p){p instanceof Ae&&p.offline?M(!0):x||J({message:`读取账号失败:${de(p)}`,tone:"error"})}},[J,K]);X.useEffect(()=>{_t();const x=window.setInterval(()=>{document.hidden||_t()},5e3);return()=>window.clearInterval(x)},[_t]),X.useEffect(()=>{Vt("/api/platforms").then(x=>{const j={};for(const p of x.platforms||[])j[p.id]=p.label;Object.keys(j).length&&C(j)}).catch(()=>{})},[]);const qt=X.useCallback(async x=>{var lt;const j=Ft.current[x]||{lines:[],since:0,busy:!1,historyTried:!1};if(j.busy)return;const p={...j,busy:!0},A=P=>{Ft.current={...Ft.current,[x]:P},Ct(q=>({...q,[x]:P}))};A(p);try{let P=await Vt(`/api/log?key=${encodeURIComponent(x)}&since=${p.since}`);typeof P.next=="number"&&P.next<p.since&&(p.lines=[],p.since=0,P=await Vt(`/api/log?key=${encodeURIComponent(x)}&since=0`));let q=P.lines||[];if(!q.length&&!P.status&&!p.historyTried){p.historyTried=!0;try{const Rt=await Vt(`/api/log/history?key=${encodeURIComponent(x)}&tail=300`);(lt=Rt.lines)!=null&<.length&&(q=Rt.lines)}catch{}}q.length&&(p.lines=[...p.lines,...q].slice(-600)),typeof P.next=="number"&&(p.since=Math.max(p.since,P.next));const Yt=P.cookies;if(Yt!=null&&Yt.length){const Rt=z.current.find(Nt=>Nt.id===x);if(Rt&&JSON.stringify(Rt.cookies||[])!==JSON.stringify(Yt)){const Nt={...Rt,cookies:Yt};k(Nt),K(Nt).catch(()=>{})}}}catch{}finally{p.busy=!1,A(p)}},[k,K]);X.useEffect(()=>{const x=window.setInterval(()=>{document.hidden||vt.current.forEach(j=>void qt(j))},1500);return()=>window.clearInterval(x)},[qt]);const Zt=X.useCallback((x,j)=>{const p=j===void 0?!vt.current.has(x):j,A=new Set(vt.current);p?A.add(x):A.delete(x),vt.current=A,Y(A),p&&qt(x)},[qt]);async function Tt(x,j,p){R(A=>({...A,[x]:j}));try{return await p()}finally{R(A=>{const lt={...A};return delete lt[x],lt})}}async function Jt(x,j=!1){return Tt(x.id,"login",async()=>{k({...x,status:"logging",lastError:""});try{await K({...x,status:"logging",lastError:""});const p=await Vt("/api/login",{method:"POST",body:JSON.stringify({account_id:x.id})});if(!p.ok){const P={...x,status:"login_failed",lastError:p.error||`HTTP ${p.code||"失败"}`,lastErrorAt:Date.now(),run:null};return k(P),await K(P).catch(()=>{}),j||J({message:`登录失败:${P.lastError}`,tone:"error"}),!1}const A=p.courses||[],lt={...x,status:"logged_in",cookies:p.cookies||[],user:p.user||x.user||"",courses:A,selected:(x.selected||[]).filter(P=>A.some(q=>q.plan_id===P)),loginAt:Date.now(),updated:Date.now(),lastError:"",lastErrorAt:0,run:null};return k(lt),await K(lt).catch(()=>{}),j||J({message:p.warn?`登录成功,但课程读取异常:${p.warn}`:`登录成功:${lt.user||lt.username},读到 ${Rs(A).total} 门`,tone:p.warn?"info":"success"}),_t(),!0}catch(p){const A={...x,status:"login_failed",lastError:de(p),lastErrorAt:Date.now()};return k(A),await K(A).catch(()=>{}),j||J({message:`登录失败:${A.lastError}`,tone:"error"}),p instanceof Ae&&p.offline&&M(!0),!1}})}async function al(x){return Tt(x.id,"refresh",async()=>{var j;try{let p=await Vt("/api/courses",{method:"POST",body:JSON.stringify({cookies:x.cookies})});if(!p.ok&&p.code==="session_expired"){if(J({message:"会话已失效,正在自动重新登录…"}),!await Jt(x,!0))return;const P=z.current.find(q=>q.id===x.id);if(!P)return;p=await Vt("/api/courses",{method:"POST",body:JSON.stringify({cookies:P.cookies})})}if(!p.ok){J({message:`读取失败:${p.error||p.code||"未知错误"}`,tone:"error"});return}const A=z.current.find(P=>P.id===x.id)||x,lt={...A,courses:p.courses||[],user:p.user||A.user,cookies:(j=p.cookies)!=null&&j.length?p.cookies:A.cookies,status:"logged_in",updated:Date.now(),lastError:"",lastErrorAt:0};k(lt),await K(lt).catch(()=>{}),J({message:`已刷新,读到 ${Rs(lt.courses).total} 门`,tone:"success"})}catch(p){J({message:`读取失败:${de(p)}`,tone:"error"})}})}async function Qt(x){var A;const j=x.selected||[],p=(x.courses||[]).filter(lt=>j.includes(lt.plan_id)&<.in_study!==!1);if(!p.length){J({message:"请先勾选要学习的课程",tone:"error"});return}if(!((A=x.cookies)!=null&&A.length)){J({message:"请先登录",tone:"error"});return}return Tt(x.id,"study",async()=>{var lt,P;try{const q=await Vt("/api/study",{method:"POST",body:JSON.stringify({key:x.id,username:x.user||x.username,cookies:x.cookies,courses:p,workers:40,cap_minutes:90,enable_quiz:x.optQuiz===!0,enable_feedback:x.optFeedback!==!1})});if(!q.ok){J({message:`启动失败:${q.error||"未知错误"}`,tone:"error"});return}const Yt=((lt=q.study)==null?void 0:lt.mode)==="normal"?`常规真播 ${((P=q.study)==null?void 0:P.parallel)||1} 路并发`:"快速模式(只调接口)";J({message:`已开始 ${p.length} 门课程 · ${Yt}${x.optQuiz?" · 含自动答题":" · 测验需手动作答"}`,tone:"success"}),Zt(x.id,!0),_t()}catch(q){J({message:`启动失败:${de(q)}`,tone:"error"})}})}async function U(x){return Tt(x.id,"stop",async()=>{try{await Vt("/api/stop",{method:"POST",body:JSON.stringify({key:x.id})}),J({message:"已请求停止"}),_t()}catch(j){J({message:`停止失败:${de(j)}`,tone:"error"})}})}async function F(x){var j;if(!((j=x.cookies)!=null&&j.length)){J({message:"请先登录",tone:"error"});return}return Tt(x.id,"capture",async()=>{try{const p=await Vt("/api/capture",{method:"POST",body:JSON.stringify({key:x.id,cookies:x.cookies,minutes:10})});if(!p.ok){J({message:`抓包失败:${p.error||"未知错误"}`,tone:"error"});return}J({message:"已打开浏览器,请手动走一遍课程页;最多记录 10 分钟",tone:"success"})}catch(p){J({message:`抓包失败:${de(p)}`,tone:"error"})}})}async function I(x){return Tt(x.id,"capture",async()=>{try{await Vt("/api/capture/stop",{method:"POST",body:JSON.stringify({key:x.id})}),J({message:"已请求停止抓包"}),_t()}catch(j){J({message:`停止抓包失败:${de(j)}`,tone:"error"})}})}async function gt(x){if(window.confirm(`删除账号「${x.user||x.username}」?课程缓存和日志不会自动清理。`))try{await Vt(`/api/accounts/${encodeURIComponent(x.id)}`,{method:"DELETE"}),E(j=>{const p=j.filter(A=>A.id!==x.id);return z.current=p,p}),J({message:"账号已删除"})}catch(j){J({message:`删除失败:${de(j)}`,tone:"error"})}}async function H(x,j){const p={...x,selected:j};k(p);try{await K(p)}catch(A){J({message:`保存勾选失败:${de(A)}`,tone:"error"})}}function at(x,j,p){const A=x.selected||[];H(x,p?[...new Set([...A,j])]:A.filter(lt=>lt!==j))}function st(x){const j=(x.courses||[]).filter(p=>p.in_study!==!1).map(p=>p.plan_id);H(x,[...new Set([...x.selected||[],...j])])}async function Bt(x,j,p){const A=j==="quiz"?{...x,optQuiz:p}:{...x,optFeedback:p};k(A);try{await K(A),J({message:j==="quiz"?p?"已开启自动交测验(注意正确率)":"已关闭自动交测验":p?"已开启自动交反馈表":"已关闭自动交反馈表"})}catch(lt){J({message:`保存失败:${de(lt)}`,tone:"error"})}}async function o(x){const j=await Vt("/api/accounts",{method:"POST",body:JSON.stringify({username:x.username,password:x.password,note:x.note,cookies:[],courses:[],selected:[],status:"idle",created:Date.now()})});if(j.ok===!1)throw new Error(j.error||"保存失败");const p=await Vt("/api/accounts"),A=j.account||(p.accounts||[]).find(q=>q.username===x.username);if(!A){J({message:"已保存,但列表里没有找到新账号,请刷新页面",tone:"error"}),await _t();return}J({message:"已保存,正在尝试首次登录…"});const lt=await Jt(A,!0),P=z.current.find(q=>q.id===A.id);J(lt?{message:`登录成功:${(P==null?void 0:P.user)||x.username}`,tone:"success"}:{message:`登录失败:${(P==null?void 0:P.lastError)||"未知原因"}(请手动点击「登录」重试)`,tone:"error"}),await _t()}async function N(){Z(!0);try{await _t(!1)}finally{Z(!1)}}function w(x){var p;const j=(p=(x.courses||[]).find(A=>A.platform))==null?void 0:p.platform;return j&&d[j]||"莞易学"}const G=($==null?void 0:$.type)==="quiz"&&r.find(x=>x.id===$.accountId)||null,ot=($==null?void 0:$.type)==="quiz"?(G==null?void 0:G.courses.find(x=>x.plan_id===$.course.plan_id))||$.course:null;return f.jsxs("div",{className:"min-h-screen",children:[f.jsx(Ov,{refreshing:T,onRefresh:()=>void N(),onSettings:()=>it({type:"settings"}),onSystemLog:()=>it({type:"system"}),onAdd:()=>it({type:"add"})}),f.jsxs("main",{className:"mx-auto max-w-[1320px] px-4 pb-16 pt-5 sm:px-6",children:[B&&f.jsxs("div",{className:"mb-4 flex flex-wrap items-center gap-2.5 rounded-xl border border-red-200 bg-red-50 px-4 py-2.5 text-[12.5px] text-red-700",children:[f.jsx(fv,{className:"size-4 shrink-0"}),f.jsx("span",{className:"font-medium",children:"后端未连接"}),f.jsx("span",{className:"text-red-500",children:"页面显示的是上一次数据,请确认服务已启动、端口没有变化。"}),f.jsx("div",{className:"flex-1"}),f.jsx(Kt,{size:"sm",variant:"secondary",loading:T,onClick:()=>void N(),children:"重试"})]}),f.jsx(Ev,{accounts:r}),f.jsxs("div",{className:"mb-3 mt-6 flex items-end justify-between gap-3",children:[f.jsxs("div",{children:[f.jsx("h2",{className:"text-[14px] font-semibold text-slate-900",children:"账号列表"}),f.jsx("p",{className:"mt-0.5 text-[11.5px] text-slate-400",children:"新旧版课程自动识别为「莞易学」,每 5 秒自动刷新状态"})]}),r.length>0&&f.jsx(Kt,{size:"sm",variant:"secondary",icon:f.jsx(Bs,{className:"size-3.5"}),loading:T,onClick:()=>void N(),children:"刷新"})]}),r.length===0?f.jsxs("div",{className:"card-shadow grid place-items-center rounded-2xl border border-dashed border-slate-300 bg-white px-6 py-16 text-center",children:[f.jsx("div",{className:"grid size-12 place-items-center rounded-2xl bg-brand-50 text-brand-600",children:f.jsx(Tm,{className:"size-6"})}),f.jsx("h3",{className:"mt-4 text-[14px] font-semibold text-slate-800",children:"还没有账号"}),f.jsx("p",{className:"mt-1.5 max-w-md text-[12.5px] leading-relaxed text-slate-500",children:"添加东莞市教师培训平台账号后,可自动读取课程、勾选学习、提交反馈表与测验。 新旧版课程页会统一识别为「莞易学」。"}),f.jsx(Kt,{variant:"primary",className:"mt-5",icon:f.jsx(Sm,{className:"size-4"}),onClick:()=>it({type:"add"}),children:"添加第一个账号"})]}):f.jsx("div",{className:"grid items-start gap-4 md:grid-cols-2 xl:grid-cols-3",children:r.map(x=>{var j;return f.jsx(gv,{account:x,platformLabel:w(x),pending:V[x.id],openLog:Ut.has(x.id),logLines:((j=pt[x.id])==null?void 0:j.lines)||[],onToggleLog:()=>Zt(x.id),onLogin:()=>void Jt(x),onRefresh:()=>void al(x),onStudy:()=>void Qt(x),onStop:()=>void U(x),onCapture:()=>void F(x),onStopCapture:()=>void I(x),onDelete:()=>void gt(x),onQuiz:()=>{var lt;const p=(x.courses||[]).filter(P=>P.in_study!==!1),A=p.find(P=>{var q;return(q=x.selected)==null?void 0:q.includes(P.plan_id)})||p[0];if(!A){J({message:"这门课还没有课程数据,先点「刷新课程」",tone:"error"});return}if(!((lt=x.cookies)!=null&<.length)){J({message:"请先登录",tone:"error"});return}it({type:"quiz",accountId:x.id,course:A})},onToggleCourse:(p,A)=>at(x,p,A),onSelectAll:()=>st(x),onClearSelection:()=>void H(x,[]),onToggleOption:(p,A)=>void Bt(x,p,A)},x.id)})})]}),f.jsx("footer",{className:"border-t border-line/70 py-5 text-center text-[11px] text-slate-400",children:"莞易学 · 多账号学习控制台 · 数据保存在本机"}),f.jsx(xv,{open:($==null?void 0:$.type)==="add",onClose:()=>it(null),onSubmit:o}),f.jsx(Nv,{open:($==null?void 0:$.type)==="settings",onClose:()=>it(null),notify:J}),f.jsx(zv,{open:($==null?void 0:$.type)==="system",onClose:()=>it(null)}),f.jsx(Tv,{open:($==null?void 0:$.type)==="quiz"&&!!G,account:G,course:ot,onClose:()=>it(null),notify:J,onSubmitted:()=>void _t()}),f.jsx(_v,{toast:ut})]})}Dh.createRoot(document.getElementById("root")).render(f.jsx(X.StrictMode,{children:f.jsx(Cv,{})}));
|